/* Treatech — pannello di amministrazione */
@font-face { font-family: Inter; src: url("../fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root { --blue: #0758C2; --blue-d: #04408F; --pink: #D3161E; --night: #1E2537; --ink: #1E2537; --muted: #5A6578; --line: #E3E8EF; --soft: #F4F6FA; --tint: #EEF4FF; --ok: #177245; --okbg: #E8F7EE; --err: #B8233F; --errbg: #FDECEF; --warn: #8A5A00; --warnbg: #FFF6E0; }
* { box-sizing: border-box; }
body { margin: 0; font: 15px/1.5 Inter, system-ui, sans-serif; color: var(--ink); background: var(--soft); -webkit-font-smoothing: antialiased; }
a { color: var(--blue); text-decoration: none; } a:hover { color: var(--blue-d); }
h1, h2, h3, p { margin: 0; }
h2 { font-size: 17px; font-weight: 800; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
code { font: 13px ui-monospace, Menlo, monospace; background: var(--soft); padding: 2px 6px; border-radius: 6px; word-break: break-all; }
.ic { flex-shrink: 0; }
[hidden] { display: none !important; }
.a-body { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
.a-side { background: var(--night); color: #fff; padding: 20px 14px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.a-brand { display: flex; align-items: center; gap: 10px; padding: 6px 10px 18px; color: #fff; }
.a-brand img { height: 26px; filter: brightness(0) invert(1); }
.a-brand span { font-size: 12px; font-weight: 700; color: #A9B4C8; text-transform: uppercase; letter-spacing: .08em; }
.a-nav { display: flex; flex-direction: column; gap: 2px; }
.a-nav a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; color: #C9D2E3; font-size: 14px; font-weight: 600; }
.a-nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.a-nav a.is-active { background: var(--blue); color: #fff; }
.a-nav-h { margin: 18px 12px 6px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #A3AEC4; }
.a-badge { margin-left: auto; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: var(--pink); color: #fff; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; }
.a-main { min-width: 0; }
.a-top { position: sticky; top: 0; z-index: 10; height: 64px; background: rgba(255,255,255,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 16px; padding: 0 28px; }
.a-title { font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.a-top-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.a-user { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 600; font-size: 14px; }
.a-icon-btn { border: 0; background: transparent; color: var(--muted); padding: 8px; border-radius: 8px; cursor: pointer; display: flex; }
.a-icon-btn:hover { background: var(--soft); color: var(--ink); }
.a-burger { display: none; border: 0; background: transparent; cursor: pointer; }
.a-content { padding: 28px; max-width: 1400px; display: grid; gap: 20px; }
.a-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.a-card-flush { padding: 0; overflow: hidden; }
.a-card-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
/* Richieste: le valutazioni con l'email non ancora confermata, in una tendina sotto l'elenco */
.a-attesa { margin-top: 18px; }
.a-attesa-h { display: flex; align-items: center; gap: 10px; padding: 16px 22px; cursor: pointer; list-style: none; }
.a-attesa-h::-webkit-details-marker { display: none; }
.a-attesa-h::before { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(-45deg); transition: transform .2s; margin-right: 4px; }
.a-attesa[open] .a-attesa-h::before { transform: rotate(45deg); }
.a-attesa[open] .a-attesa-h { border-bottom: 1px solid var(--line); }
.a-attesa-t { font-weight: 700; }
.a-card-h h2 { margin: 0; }
.a-pad { padding: 18px 22px 6px; }
.a-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.a-grid-main { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.a-grid-main > div { display: grid; gap: 20px; }
.a-grid-main > aside { display: grid; gap: 20px; }
.a-sticky { position: sticky; top: 84px; }
.a-narrow { max-width: 480px; }
.a-intro { color: var(--muted); margin-bottom: 18px; max-width: 760px; }
/* la barra dei colori: resta in vista mentre si scorre il modulo */
.a-colori { position: sticky; top: 72px; z-index: 5; display: flex; flex-wrap: wrap; gap: 6px; margin: -6px 0 18px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 6px 18px rgba(7, 21, 47, .06); }
.a-colori-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font: inherit; font-size: 13px; font-weight: 600; color: var(--ink); cursor: pointer; }
.a-colori-btn:hover { border-color: var(--blue); }
.a-colori-pallino { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(7, 21, 47, .2); }
.a-colori-sotto { text-decoration: underline; text-decoration-color: var(--pink); text-decoration-thickness: 3px; }
.a-muted { color: var(--muted); } .a-small { font-size: 13px; } .a-right { text-align: right; } .a-mt { margin-top: 18px; }
.a-warn-t { color: var(--warn); font-weight: 600; }
.a-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.a-kpi { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; color: var(--muted); display: flex; flex-direction: column; font-weight: 600; transition: border-color .2s; }
.a-kpi:hover { border-color: var(--blue); color: var(--muted); }
.a-kpi-n { font-size: 38px; font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1.1; }
.a-kpi-pink .a-kpi-n { color: var(--pink); }
.a-warn, .a-info { display: flex; gap: 14px; align-items: flex-start; }
.a-warn { background: var(--warnbg); border-color: #F2DDA4; color: var(--warn); }
.a-info { background: var(--tint); border-color: #CFE0FF; }
.a-info .ic { color: var(--blue); margin-top: 2px; }
.a-shortcuts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.a-shortcuts a { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 12px; background: var(--soft); color: var(--ink); font-weight: 600; }
.a-shortcuts a:hover { background: var(--tint); }
.a-dl { display: grid; grid-template-columns: 170px 1fr; gap: 10px 16px; margin: 0; }
.a-dl dt { color: var(--muted); font-weight: 600; } .a-dl dd { margin: 0; }
.a-table { width: 100%; border-collapse: collapse; }
.a-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; padding: 12px 16px; background: var(--soft); border-bottom: 1px solid var(--line); }
.a-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.a-table tr:last-child td { border-bottom: 0; }
.a-table tr.is-new td { background: #FFFBF0; }
.a-table tr.is-new td:first-child { box-shadow: inset 3px 0 0 var(--pink); }
.a-empty { text-align: center; color: var(--muted); padding: 40px !important; }
.a-thumb { width: 88px; }
.a-thumb img { width: 72px; height: 54px; object-fit: cover; border-radius: 8px; display: block; }
.a-nophoto { width: 72px; height: 54px; border-radius: 8px; background: var(--soft); color: #AEB6C3; display: flex; align-items: center; justify-content: center; }
.a-tag { display: inline-block; padding: 3px 9px; border-radius: 99px; background: var(--soft); color: var(--muted); font-size: 12px; font-weight: 700; white-space: nowrap; }
.a-tag-sm { font-size: 10px; padding: 1px 6px; vertical-align: middle; }
.a-tag-ok, .a-tag-disponibile, .a-tag-gestita { background: var(--okbg); color: var(--ok); }
.a-tag-prenotata, .a-tag-in-corso, .a-tag-parziale, .a-tag-in { background: var(--warnbg); color: var(--warn); }
.a-tag-errore, .a-tag-venduta, .a-tag-nuova { background: var(--errbg); color: var(--err); }
.a-tag-pink { background: var(--errbg); color: var(--pink); }
.a-flash { padding: 12px 16px; border-radius: 12px; font-weight: 600; }
.a-flash-ok { background: var(--okbg); color: var(--ok); }
.a-flash-err { background: var(--errbg); color: var(--err); }
.a-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 10px; border: 1px solid transparent; font: 700 14px "Plus Jakarta Sans", sans-serif; cursor: pointer; white-space: nowrap; transition: background-color .2s, border-color .2s; text-decoration: none; }
.a-btn-sm { height: 34px; padding: 0 12px; font-size: 13px; }
.a-btn-block { width: 100%; margin-top: 8px; }
.a-btn-primary { background: var(--blue); color: #fff; } .a-btn-primary:hover { background: var(--blue-d); color: #fff; }
.a-btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); } .a-btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.a-btn-danger { background: #fff; color: var(--err); border-color: #F3C2CD; } .a-btn-danger:hover { background: var(--errbg); }
.a-push { margin-left: auto; }
.a-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.a-inline { display: inline-flex; gap: 6px; }
.a-fields { display: grid; gap: 16px; }
.a-fields-2 { grid-template-columns: 1fr 1fr; }
.a-fields-3 { grid-template-columns: repeat(3, 1fr); }
.a-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 4px; }
.a-form .a-field + .a-field { margin-top: 0; }
.a-label { font-size: 13px; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.a-help { font-size: 12.5px; color: var(--muted); }
.a-input { width: 100%; height: 42px; padding: 0 12px; border: 1px solid #D5DCE6; border-radius: 10px; background: #fff; font: 500 14px "Plus Jakarta Sans", sans-serif; color: var(--ink); }
textarea.a-input { height: auto; padding: 10px 12px; line-height: 1.5; resize: vertical; }
.a-input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(2,97,253,.15); }
.a-input-sm { height: 34px; font-size: 13px; }
.a-mono { font-family: ui-monospace, Menlo, monospace; font-size: 13px; }
.is-locked .a-input { background: #FFFBF0; border-color: #F2DDA4; }
.a-unlock { margin-left: auto; border: 0; background: var(--warnbg); color: var(--warn); font: 700 11px "Plus Jakarta Sans"; padding: 2px 8px; border-radius: 99px; cursor: pointer; display: inline-flex; gap: 4px; align-items: center; }
.a-toggle { display: flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 600; margin: 6px 0; }
.a-toggle input[type=checkbox] { position: absolute; opacity: 0; }
.a-switch { width: 40px; height: 24px; border-radius: 99px; background: #CBD3DF; position: relative; transition: background .2s; flex-shrink: 0; }
.a-switch::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 99px; background: #fff; transition: transform .25s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.a-toggle input:checked + .a-switch { background: var(--blue); }
.a-toggle input:checked + .a-switch::after { transform: translateX(16px); }
.a-toggle input:focus-visible + .a-switch { box-shadow: 0 0 0 3px rgba(2,97,253,.3); }
.a-field-toggle { justify-content: flex-end; }
.a-check { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
.a-color { display: flex; gap: 8px; }
.a-color input[type=color] { width: 48px; height: 42px; padding: 2px; border: 1px solid #D5DCE6; border-radius: 10px; background: #fff; }
.a-image { display: flex; gap: 14px; align-items: center; }
.a-image-prev { width: 140px; height: 90px; border-radius: 10px; background: var(--soft) repeating-conic-gradient(#eef1f5 0 25%, #fff 0 50%) 50% / 16px 16px; display: flex; align-items: center; justify-content: center; overflow: hidden; color: var(--muted); font-size: 12px; flex-shrink: 0; }
.a-image-prev { position: relative; }
.a-image-prev img { max-width: 100%; max-height: 100%; object-fit: contain; }
.a-image-prev.is-dark { background: var(--night); }
.a-image-tag { justify-self: start; padding: 2px 8px; border-radius: 99px; background: rgba(11, 27, 58, .78); color: #fff; font-size: 11px; font-weight: 700; }
.a-image > div:last-child { display: grid; gap: 6px; }
.a-multi { display: flex; flex-wrap: wrap; gap: 8px; }
.a-pill { cursor: pointer; }
.a-pill input { position: absolute; opacity: 0; }
.a-pill span { display: inline-block; padding: 7px 12px; border-radius: 99px; border: 1px solid #D5DCE6; font-size: 13px; font-weight: 600; background: #fff; }
.a-pill input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.a-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.a-pill-s { padding: 4px 10px; border-radius: 99px; background: var(--okbg); color: var(--ok); font-size: 12px; font-weight: 700; }
.a-field-list { grid-column: 1 / -1; }
.a-list { display: grid; gap: 10px; }
.a-list-rows { display: grid; gap: 10px; }
.a-list-row { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); }
.a-list-row.is-drag { opacity: .4; }
.a-list-handle { cursor: grab; color: #9AA3B2; padding-top: 26px; user-select: none; letter-spacing: -2px; }
.a-list-fields { flex: 1; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; align-items: end; }
.a-sub { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 700; color: var(--muted); }
.a-list-del { border: 0; background: #fff; width: 30px; height: 30px; border-radius: 8px; color: var(--err); font-size: 18px; cursor: pointer; margin-top: 20px; }
.a-savebar { position: sticky; bottom: 0; z-index: 5; display: flex; gap: 10px; align-items: center; padding: 14px 0; margin-top: 8px; background: linear-gradient(transparent, var(--soft) 30%); }
.a-form > .a-card + .a-card, .a-form .a-grid2 { margin-top: 0; }
.a-form { display: grid; gap: 20px; }
.a-filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.a-filters .a-input { width: auto; min-width: 160px; }
.a-filters input[type=search] { min-width: 260px; }
.a-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.a-toolbar .a-intro { margin: 0; }
.a-bulk { display: flex; gap: 10px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.a-bulk .a-input { width: auto; }
.a-pages { display: flex; gap: 6px; flex-wrap: wrap; }
.a-pages a { min-width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--line); background: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--ink); }
.a-pages a.is-current { background: var(--blue); color: #fff; border-color: var(--blue); }
.a-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.a-photo { position: relative; aspect-ratio: 4/3; border-radius: 8px; overflow: hidden; background: var(--soft); cursor: grab; }
.a-photo:first-child { outline: 2px solid var(--blue); outline-offset: 1px; }
.a-photo:first-child::after { content: "copertina"; position: absolute; left: 4px; bottom: 4px; background: var(--blue); color: #fff; font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 6px; }
.a-photo img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.a-photo.is-drag { opacity: .4; }
.a-photo-del { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 99px; border: 0; background: rgba(7,21,47,.7); color: #fff; cursor: pointer; }
.a-pending { font-size: 11px; color: var(--muted); display: flex; align-items: center; justify-content: center; height: 100%; }
.a-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.a-mode { cursor: pointer; }
.a-mode input { position: absolute; opacity: 0; }
.a-mode > span { display: block; height: 100%; padding: 18px; border: 2px solid var(--line); border-radius: 14px; color: var(--muted); font-size: 13.5px; transition: border-color .2s, background .2s; }
.a-mode strong { display: block; margin-bottom: 6px; color: var(--ink); font-size: 15px; }
.a-mode input:checked + span { border-color: var(--blue); background: var(--tint); }
.a-copy { display: flex; gap: 6px; }
.a-steps { margin: 18px 0 0; padding-left: 20px; display: grid; gap: 8px; color: var(--muted); }
.a-steps li::marker { color: var(--blue); font-weight: 800; }
.a-list-plain { margin: 0; padding-left: 18px; }
.a-privacy { border-color: #BFE6CF; }
.a-privacy h2 .ic { color: var(--ok); }
.a-mappick { position: relative; border-radius: 14px; overflow: hidden; background: #F2F5FA; cursor: crosshair; }
.a-mappick svg { display: block; width: 100%; height: auto; font-family: "Plus Jakarta Sans", sans-serif; }
.a-login { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: radial-gradient(80% 60% at 20% 10%, #DCE7FF, var(--soft)); padding: 20px; }
.a-login-card { width: min(420px, 100%); background: #fff; border-radius: 22px; padding: 36px; box-shadow: 0 30px 70px rgba(7,21,47,.14); display: grid; gap: 14px; }
.a-login-logo { height: 36px; justify-self: start; }
.a-login-card h1 { font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.a-back { font-size: 13px; text-align: center; color: var(--muted); }
@media (max-width: 1100px) {
  .a-body { grid-template-columns: 1fr; }
  .a-side { position: fixed; z-index: 50; left: 0; top: 0; width: 280px; transform: translateX(-100%); transition: transform .3s; }
  .a-side.is-open { transform: none; box-shadow: 0 0 60px rgba(0,0,0,.3); }
  .a-burger { display: flex; }
  .a-grid2, .a-grid-main, .a-modes { grid-template-columns: 1fr; }
  .a-kpis { grid-template-columns: 1fr 1fr; }
  .a-fields-3 { grid-template-columns: 1fr 1fr; }
  .a-sticky { position: static; }
}
@media (max-width: 700px) {
  .a-content { padding: 16px; }
  .a-top { padding: 0 16px; }
  .a-top-right .a-btn, .a-user { display: none; }
  .a-fields-2, .a-fields-3, .a-shortcuts { grid-template-columns: 1fr; }
  .a-table-cars th:nth-child(5), .a-table-cars td:nth-child(5), .a-table-cars th:nth-child(2), .a-table-cars td:nth-child(2) { display: none; }
  .a-dl { grid-template-columns: 1fr; gap: 2px; } .a-dl dd { margin-bottom: 10px; }
}

/* stato delle recensioni Google nelle impostazioni */
.a-subcard { margin-top: 22px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--soft); display: grid; gap: 10px; }
.a-subcard h3 { margin: 0; font-size: 15px; }
.a-subcard .a-btn { justify-self: start; }
.a-person { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: start; padding: 14px 0; border-top: 1px solid var(--line); }
.a-person:first-of-type { border-top: 0; }
.a-person-prev { width: 96px; height: 96px; border-radius: 99px; }
.a-person-prev img { width: 100%; height: 100%; object-fit: cover; }

/* Mappa delle filiali: avanzamento dello scaricamento */
.a-mappa-avanzamento { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.a-mappa-avanzamento[hidden] { display: none; }
.a-mappa-avanzamento progress { width: min(320px, 60%); height: 8px; }
.a-coord-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
/* lo studio dove si scattano le foto della mappa: fuori schermo, ma con le misure vere */
.a-mappa-foto-studio { position: fixed; left: -20000px; top: 0; }

/* anteprima dei titoli come in Google (Titoli delle pagine) */
.a-serp { margin: -4px 0 18px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-family: Arial, Helvetica, sans-serif; display: grid; gap: 2px; max-width: 640px; }
.a-serp[hidden] { display: none; }
.a-serp-esempio { font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.a-serp-esempio:empty { display: none; }
.a-serp-url { font-size: 12.5px; color: #4D5156; overflow-wrap: anywhere; }
.a-serp-t { font-size: 19px; line-height: 1.3; color: #1A0DAB; }
.a-serp-d { font-size: 14px; line-height: 1.5; color: #4D5156; }
.a-serp-conta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 6px; font: 600 12px/1.4 system-ui, sans-serif; color: var(--muted); }
.a-serp-conta .is-lungo { color: #C2272D; }

/* Le foto allegate a una richiesta di valutazione */
.a-foto-richiesta { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.a-foto-richiesta img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; display: block; }


/* ---------- Treatech: richieste e catalogo ---------- */
.a-st { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 99px; white-space: nowrap; }
.a-st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.a-st-blu { background: #E6EEF9; color: #0758C2; }
.a-st-giallo { background: #FFF4D6; color: #8A5A00; }
.a-st-viola { background: #EFE7FC; color: #6D28D9; }
.a-st-verde { background: #E3F4EA; color: #177245; }
.a-st-grigio { background: #ECEEF2; color: #5A6578; }
.a-pipe { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.a-pipe a { display: flex; flex-direction: column; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; color: var(--ink); }
.a-pipe a:hover, .a-pipe a.is-on { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.a-pipe .a-st { align-self: flex-start; }
.a-pipe b { font-size: 26px; line-height: 1; font-weight: 800; }
.a-pipe small { color: var(--muted); font-size: 12px; }
.a-scad { color: var(--pink); font-weight: 700; }
.a-diario { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.a-diario li { position: relative; padding: 0 0 16px 22px; border-left: 2px solid var(--line); margin-left: 6px; }
.a-diario li::before { content: ""; position: absolute; left: -7px; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); }
.a-diario li.is-stato::before { border-color: var(--muted); }
.a-diario .a-diario-h { font-size: 12px; color: var(--muted); }
.a-diario .a-diario-t { white-space: pre-wrap; }
.a-diario li.is-stato .a-diario-t { color: var(--muted); font-size: 14px; }
.a-msg { white-space: pre-wrap; background: var(--soft); border-radius: 10px; padding: 14px 16px; }
.a-prod-thumb { width: 92px; height: 58px; object-fit: cover; object-position: left top; border-radius: 6px; border: 1px solid var(--line); display: block; }
.a-swatch { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -1px; margin-right: 6px; }
.a-img-row { display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: center; }
.a-img-row .a-image-prev { width: 120px; height: 76px; }
.a-img-row .a-image-prev img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.a-sez { border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: #fff; }
@media (max-width: 900px) { .a-pipe { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.a-list-stack .a-list-fields { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: start; }
.a-list-stack .a-list-fields > :nth-child(n+3) { grid-column: 1 / -1; }
.a-list-funz .a-list-fields { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 2fr); }
.a-card > .a-label { margin: 14px 0 6px; }
.a-warn a { text-decoration: underline; text-underline-offset: 2px; }
