/* Favorit 2 reviewed handoff: graphite/gold, density, rows, tiles and sheets. */
body.fav2-product{--bg:#191e22;--surface:#252b30;--surface2:#2d343a;--line:#3b434a;--gold:#dec18e;--ink:#f2eee6;--muted:#b4babd;background:var(--bg);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.fav2-product .app-shell{max-width:1044px;padding:12px 22px 120px}
.fav2-product .top{position:relative;display:flex;gap:12px;padding:18px max(22px,calc((100vw - 1000px)/2));background:linear-gradient(125deg,#282c2d,#191e22 60%);border-bottom:1px solid #ffffff09;box-shadow:none}
.fav2-product .top .mark{font-family:inherit;font-size:18px;letter-spacing:1.6px;font-weight:500;color:var(--gold)}
.fav2-product #account-context{display:none}.fav2-product .top #logout{font-size:12px;margin-left:auto}.fav2-product .top #header-support{display:none}
.fav2-product .top .fv-chip{order:1;max-width:168px;min-height:44px;padding:4px 10px;background:#dec18e0b;border:1px solid #dec18e2a;border-radius:14px;font-size:12px;color:var(--gold);text-align:right}
.fav2-product .tabs{position:fixed;z-index:20;bottom:0;left:0;right:0;margin:0;padding:5px max(10px,calc((100vw - 1000px)/2)) max(9px,env(safe-area-inset-bottom));display:flex;gap:3px;background:#1b2024;border-top:1px solid var(--line);border-bottom:0;box-shadow:none;overflow:visible}
.fav2-product .tabs button{flex:1 1 0;min-width:0;max-width:none;min-height:57px;padding:6px 0;border:0;border-radius:12px;display:flex;flex-direction:column;gap:5px;font-size:11px;font-weight:400;color:var(--muted);background:transparent;line-height:1.2}
.fav2-product .tabs button[hidden]{display:none}.fav2-product .tabs button.selected{background:#dec18e12;color:var(--gold);border:0}.fav2-product .tabs svg{height:20px;width:20px}
.fav2-product #app-notice:empty{display:none}.fav2-product .panel{padding-top:0}.fav2-product .panel>details{margin-top:24px;border-top:1px solid var(--line);padding-top:8px}.fav2-product .panel>details>summary{min-height:46px;padding:10px 0;font-size:13px;color:var(--muted)}
.fav2-product .fv-context{display:flex;justify-content:space-between;gap:8px;color:var(--muted);font-size:13px;margin:0 0 26px}.fv-demo{font-size:10px;letter-spacing:.7px;white-space:nowrap}
.fav2-ui{font-size:15px;line-height:1.5;color:var(--ink);overflow-wrap:anywhere}.fav2-ui *{box-sizing:border-box}.fav2-ui button,.fav2-ui input{font-family:inherit}.fav2-ui button{touch-action:manipulation;cursor:pointer}.fav2-ui button:disabled{opacity:.45;cursor:wait}.fav2-ui button:focus-visible,.fav2-ui a:focus-visible,.fav2-ui summary:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
.fav2-ui h1,.fav2-ui h2,.fav2-ui h3,.fav2-ui p{margin:0;font-family:inherit}.fav2-ui h1{font-size:27px;line-height:1.15;font-weight:500;letter-spacing:-.8px}.fav2-ui h2{font-size:21px;line-height:1.3;font-weight:500;letter-spacing:-.35px}.fav2-ui h3{font-size:16px;line-height:1.4;font-weight:500}
.fv-heading{display:flex;justify-content:space-between;gap:12px;margin:0 0 22px}.fv-heading .fv-note{margin:7px 0 0;font-size:13px}.fav2-ui .fv-note{font-size:13px;line-height:1.6;color:var(--muted);margin:13px 0}.fv-label{font-size:11px;letter-spacing:1.15px;text-transform:uppercase;color:var(--gold)}
.fv-hero{border:1px solid #dec18e46;border-radius:22px;padding:23px;background:linear-gradient(130deg,#34332e,#272d30 70%);margin-bottom:14px}.fv-hero h2{margin:12px 0 10px;max-width:580px}.fv-hero .fv-primary{margin-top:19px;width:100%}
.fav2-ui .fv-primary,.fav2-ui .fv-secondary,.fav2-ui .fv-quiet{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;border-radius:13px;padding:11px 16px;font-size:14px;font-weight:500;text-align:center;white-space:normal;max-width:100%;border:0}
.fav2-ui .fv-primary{background:var(--gold);color:#28251e}.fav2-ui .fv-secondary{background:var(--surface2);border:1px solid #515851;color:var(--ink)}.fav2-ui .fv-quiet{background:transparent;color:var(--gold);padding-left:3px;padding-right:3px}
.fv-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.fv-actions>*{flex:1;min-width:130px}
.fav2-ui .fv-row{display:flex;align-items:center;gap:12px;text-align:left;min-height:76px;padding:14px 16px;width:100%;border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:17px;margin:9px 0}
.fv-row-copy{flex:1;min-width:0}.fv-row strong{font-weight:500;font-size:15px;display:block}.fv-row small{display:block;color:var(--muted);font-size:12px;line-height:1.5;margin-top:3px}.fv-arrow{font-size:21px;color:var(--muted)}
.fv-section{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:25px 0 10px}.fv-section h2{font-size:16px}.fv-section button{font-size:13px;min-height:44px}
.fv-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0}.fav2-ui .fv-tile{background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:18px;min-height:128px;text-align:left;padding:14px 14px 12px;position:relative}
.fv-tile small{color:var(--muted);font-size:12px;display:block;padding-right:8px}.fv-tile strong{font-size:25px;line-height:1.35;letter-spacing:-.8px;font-weight:500;display:block;margin:10px 0 6px;font-variant-numeric:tabular-nums}.fv-tile-sub{display:block;font-size:11px;color:var(--muted)}.fv-tile .fv-expand{position:absolute;right:12px;top:12px;font-size:14px;color:var(--gold)}
.fv-peek{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.fv-peek .fv-tile{padding:13px 11px;min-height:85px;border-radius:15px}.fv-peek .fv-tile strong{font-size:18px;letter-spacing:-.6px}.fv-peek .fv-tile small{font-size:11px}.fv-peek .fv-expand{display:none}
.fv-pills{display:flex;gap:4px;flex-wrap:wrap;background:#12171b;border-radius:12px;padding:4px;margin:14px 0}.fv-pills button{flex:1;min-height:44px;padding:7px 9px;border:0;border-radius:9px;font-size:12px;color:var(--muted);background:transparent}.fv-pills button[aria-pressed=true]{background:#3d3b34;color:var(--gold)}
.fv-box{padding:17px;border:1px solid var(--line);border-radius:17px;background:var(--surface);margin:14px 0}.fv-big{font-size:32px;font-weight:500;line-height:1.2;letter-spacing:-1px;display:block;margin:11px 0;font-variant-numeric:tabular-nums}.fv-day-status{font-size:13px;color:var(--gold);padding:7px 0}
.fv-dl{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:0 16px;margin:8px 0 0;font-size:13px}.fv-dl dt,.fv-dl dd{padding:10px 0;border-bottom:1px solid #ffffff0a;overflow-wrap:anywhere}.fv-dl dt{color:var(--muted)}.fv-dl dd{margin:0;text-align:right;font-variant-numeric:tabular-nums}
.fav2-ui details{margin:13px 0;border-top:1px solid var(--line)}.fav2-ui summary{min-height:46px;padding:13px 4px;color:var(--gold);font-size:13px;cursor:pointer}.fav2-ui details[open]>:not(summary){animation:fv-reveal .18s ease-out}.fv-history{padding-left:20px;font-size:13px;color:var(--muted)}.fv-history li{padding:8px 0}
.fv-foot{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #ffffff0a;margin-top:25px}.fv-foot .fv-quiet{font-size:12px;color:var(--muted)}
body.fv-modal-open{overflow:hidden}.fv-dialog{--surface:#252b30;--surface2:#2d343a;--line:#3b434a;--gold:#dec18e;--ink:#f2eee6;--muted:#b4babd;background:#1e2429;color:var(--ink);padding:0 24px 24px;border:1px solid var(--line);border-radius:24px;width:min(660px,calc(100vw - 24px));max-height:88dvh;overscroll-behavior:contain;overflow-y:auto;box-shadow:0 25px 70px #0007}
.fv-dialog[open]{animation:fv-reveal .22s ease-out}.fv-dialog::backdrop{background:#070b0ec9;backdrop-filter:blur(3px)}.fv-sheet-top{position:sticky;top:0;background:#1e2429;z-index:1;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid var(--line);margin-bottom:18px}.fv-sheet-top h2{font-size:20px;flex:1}.fv-sheet-top .fv-quiet{font-size:12px;flex-shrink:0}.fv-dialog form{display:grid;gap:18px}.fv-dialog input{background:#1c2227;border:1px solid #4c555c;border-radius:11px;color:var(--ink);font-size:16px}.fv-check{display:flex;gap:10px;align-items:flex-start;margin:18px 0;font-size:13px}.fv-check input{width:20px;min-height:20px;height:20px;flex-shrink:0;margin-top:1px;accent-color:var(--gold)}
.fv-dialog table{width:100%;border-collapse:collapse;font-size:13px;table-layout:fixed}.fv-dialog th,.fv-dialog td{padding:11px 5px;text-align:left;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.fv-dialog th{color:var(--muted);font-weight:400}.fv-error{color:#edb1a7!important}
@keyframes fv-reveal{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(min-width:700px){.fv-plan-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}.fv-grid{gap:14px}.fv-hero{padding:26px}}
@media(max-width:450px){.fav2-product .app-shell{padding:12px 22px 110px}.fav2-product .top{gap:8px;padding:15px 22px}.fav2-product .top .mark{font-size:16px;letter-spacing:1px}.fav2-product .top #logout{padding:4px;font-size:11px}.fav2-product .top #logout svg{display:none}.fav2-product .top .fv-chip{max-width:105px;font-size:11px}.fv-dialog{margin:auto 0 0;width:100%;max-width:100%;max-height:92dvh;padding:0 20px 24px;border-radius:24px 24px 0 0}.fv-peek{gap:6px}.fv-peek .fv-tile{padding:12px 8px}.fv-peek .fv-tile strong{font-size:16px}.fv-sheet-top{gap:6px}.fv-sheet-top h2{font-size:18px}}
@media(prefers-reduced-motion:reduce){.fv-dialog[open],.fav2-ui details[open]>:not(summary){animation:none}html:has(.fav2-product){scroll-behavior:auto}}

body.fav2-product::before,body.fav2-product::after{display:none}

.fv-dialog{position:fixed;inset:0;margin:auto}.fv-tile strong{font-size:clamp(19px,5vw,25px)}
@media(max-width:450px){.fv-dialog{top:auto;bottom:0;margin:0}.fv-peek .fv-tile strong{font-size:16px}}

/* The whole label is the touch target, including confirmation checkboxes. */
.fav2-ui .fv-quiet{min-width:44px}.fav2-ui .fv-check{min-height:44px;align-items:center}

/* Keep the return action readable beside long owner headings. */
.fv-heading>.fv-quiet{flex-shrink:0;align-self:flex-start;white-space:nowrap}

/* AUD-023: statuses wrap at words; text scaling expands the card grid. */
.fv-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,11rem),1fr))}
.fv-peek{grid-template-columns:repeat(auto-fit,minmax(min(100%,10rem),1fr))}
.fv-tile strong{font-size:clamp(1rem,4.5vw,1.5625rem);white-space:normal;overflow-wrap:anywhere;word-break:normal;hyphens:none;min-width:0}
.fv-peek .fv-tile strong{font-size:1rem;white-space:normal;overflow-wrap:anywhere;word-break:normal}

#ordinary-visits-chart{margin:1rem 0;color:inherit}
#ordinary-visits-chart svg{display:block;width:100%;max-width:32rem;height:auto}
#ordinary-metrics .fv-tile{display:flex;flex-direction:column;gap:.5rem}
#ordinary-metrics details small,.fv-source-hash{overflow-wrap:anywhere;word-break:break-word}

#ordinary-visits-chart svg text{fill:currentColor}
#ordinary-visits-chart svg rect{fill:var(--accent,#398c91)}
