/* Alpha brand inputs and domain layouts. Controls, frame, dock and sheets are shared App State presentation. */
body[data-dashboard]{--accent:#13b9b1;--accent-ink:#001f1d;--link:var(--accent)}
.workspace-skip{position:fixed;top:-80px;left:12px;z-index:300;padding:12px;background:var(--raised);color:var(--ink)}.workspace-skip:focus{top:12px}
#workspace-title{font-size:20px;font-weight:500;letter-spacing:-.03em;margin:0;flex:1}#workspace-actions,.workspace-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.workspace-section-head{display:flex;align-items:center;gap:12px;margin:16px 0}.workspace-section-head h2{font-size:14px;font-weight:500;flex:1}.workspace-section-head .inp{max-width:320px}
.workspace-table{overflow-x:auto;max-width:100%;margin-bottom:20px}.workspace-table table{border-collapse:collapse;width:100%;font-size:13px}.workspace-table th,.workspace-table td{text-align:left;padding:12px;border-bottom:1px solid var(--line)}.workspace-table th{color:var(--muted);font-weight:500}.workspace-table th:first-child,.workspace-table td:first-child{padding-left:0}.workspace-table button{max-width:100%;text-align:left}
.workspace-metrics{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 20px}.workspace-metrics dd{margin:0;font-variant-numeric:tabular-nums}.workspace-metrics dt{color:var(--muted)}
.workspace-form{display:grid;gap:16px}.workspace-field{display:grid;gap:6px;font-size:12px;color:var(--muted)}.workspace-field input,.workspace-field textarea,.workspace-field select{width:100%}.workspace-field textarea{min-height:140px;resize:vertical}.workspace-detail{margin:0;display:grid;grid-template-columns:minmax(100px,1fr) minmax(0,2fr);gap:12px 20px}.workspace-detail dt{color:var(--muted)}.workspace-detail dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.workspace-login{max-width:440px;margin:12vh auto}.workspace-login h1{font-size:32px;font-weight:500;letter-spacing:-.035em}.workspace-login p{color:var(--muted);line-height:1.6}.workspace-login .workspace-actions{margin-top:24px}.workspace-more{display:flex;justify-content:center;margin:24px 0}.workspace-row-copy{display:grid;gap:4px;min-width:0}.workspace-row-copy small{color:var(--muted)}
.workspace-range{display:flex;gap:8px;margin:12px 0 20px;flex-wrap:wrap}.workspace-range label{display:flex;align-items:center;gap:8px;color:var(--muted)}
@media(max-width:699px){.workspace-detail{grid-template-columns:1fr;gap:6px}.workspace-detail dd{margin-bottom:12px}.workspace-section-head{flex-wrap:wrap}.workspace-section-head .inp{max-width:none;width:100%}}
.record-heading{display:flex;align-items:center;gap:20px;margin:0 0 24px}.record-image{width:100px;height:112px;object-fit:contain;border-radius:12px;background:var(--raised)}.record-subtitle{margin:0 0 10px;color:var(--muted);line-height:1.5}.record-status{display:inline-flex;align-items:center;border:1px solid var(--line);padding:4px 10px;border-radius:20px;font-size:12px}.record-section{margin:24px 0}.record-section h3,.report-ranking h3{font-size:14px;font-weight:600;margin:0 0 14px}.record-facts{display:grid;grid-template-columns:minmax(100px,1fr) minmax(0,2fr);gap:12px 20px;font-size:14px;margin:0}.record-facts dt{color:var(--muted)}.record-facts dd{margin:0;white-space:pre-line;overflow-wrap:anywhere}.record-wide{grid-column:1/-1}.record-prose{font-size:14px;line-height:1.65;white-space:pre-line;color:var(--ink)}.record-amount{font-size:14px;font-weight:500;white-space:nowrap}.report-period{font-size:13px;color:var(--muted);margin:4px 0 24px}.report-section{margin-bottom:40px}.report-section>h2{font-size:16px;font-weight:500;margin:0 0 16px}.report-section .stats{margin-bottom:28px}.report-chart{margin:24px 0}.report-chart figcaption{font-size:14px;font-weight:500;margin-bottom:16px}.report-chart svg{display:block;width:100%;min-height:180px;max-height:300px}.chart-grid{stroke:var(--line);stroke-width:1}.chart-axis{fill:var(--muted);font:12px system-ui}.chart-bar{fill:var(--accent);opacity:.8;cursor:pointer}.chart-bar:hover,.chart-bar:focus{opacity:1;outline:2px solid var(--ink);outline-offset:3px}.chart-selection,.report-caption{font-size:12px;color:var(--muted);line-height:1.6}.chart-selection{min-height:20px;margin:10px 0}.report-empty{display:grid;place-items:center;min-height:160px;color:var(--muted);font-size:14px;border-bottom:1px solid var(--line)}.report-data{border-top:1px solid var(--line);padding:16px 0;color:var(--muted);font-size:13px;margin-top:24px}.report-data summary{cursor:pointer;width:fit-content}.report-data .workspace-table{margin-top:16px}.report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 40px;margin:28px 0}.report-ranking{margin-bottom:24px}.ranking-row{margin:16px 0}.ranking-copy{display:flex;align-items:baseline;justify-content:space-between;gap:16px;font-size:13px}.ranking-copy span{overflow-wrap:anywhere}.ranking-copy strong{font-weight:500;white-space:nowrap;font-variant-numeric:tabular-nums}.ranking-track{height:4px;background:var(--raised);border-radius:3px;margin-top:10px;overflow:hidden}.ranking-track i{display:block;height:100%;background:var(--accent);opacity:.75;border-radius:3px}.workspace-range{margin:0 0 24px}.workspace-range label{font-size:12px}.workspace-range .inp{font-size:13px;min-height:34px}.workspace-range label>select{min-width:100px}
@media(max-width:699px){.report-grid{grid-template-columns:1fr;gap:12px}.record-facts{grid-template-columns:minmax(90px,1fr) minmax(0,1.8fr);gap:12px}.record-heading{gap:16px}.record-image{width:80px;height:96px}.workspace-range{display:grid;grid-template-columns:1fr 1fr;gap:12px}.workspace-range label{display:grid;gap:6px}.workspace-range .inp{font-size:16px;min-height:44px}.report-chart svg{min-height:200px}.report-section .stats{margin-bottom:24px}}

.workspace-shortcuts{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 28px}.workspace-range{display:flex}.workspace-range .btn{max-width:100%;white-space:normal;text-align:left}.workspace-field:has(input[type=checkbox]){display:flex;align-items:center;justify-content:space-between;gap:16px}.workspace-field input[type=checkbox]{width:20px;height:20px;accent-color:var(--accent)}

.workspace-address{border:0;padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:16px}.workspace-address legend{font-size:14px;color:var(--ink);margin-bottom:16px}.workspace-address label:nth-of-type(-n+3){grid-column:1/-1}@media(max-width:380px){.workspace-address{grid-template-columns:1fr}}

.workspace-record-row{gap:16px;align-items:center;padding-block:18px}.workspace-record-row .workspace-row-copy{flex:1;white-space:normal;overflow-wrap:anywhere}.workspace-row-copy>b{font-weight:500}.workspace-row-copy>small{line-height:1.5}.workspace-row-facts{display:grid;justify-items:end;gap:8px;flex:none}.workspace-row-facts>strong{font-size:14px;font-weight:500;font-variant-numeric:tabular-nums}.workspace-row-facts .record-status{font-size:11px;white-space:normal;text-align:right}.workspace-row-image{width:48px;height:56px;object-fit:contain;border-radius:8px;background:var(--raised)}.workspace-reference{font-size:11px;letter-spacing:.02em}
@media(max-width:699px){.workspace-record-row{gap:10px}.workspace-row-facts{max-width:34%}.workspace-record-row .chev{display:none}.workspace-row-image{width:40px;height:48px}}

.workspace-result-count{color:var(--muted);font-size:12px;margin:0 0 12px}.workspace-brand{display:block;margin-bottom:28px}.workspace-brand img{display:block;width:180px;max-width:100%;height:auto}.workspace-signin-status{font-size:14px;line-height:1.6}.workspace-signin-fine{font-size:12px;color:var(--muted)}

.workspace-brand .workspace-logo-dark{display:none}html[data-theme=dark] .workspace-brand .workspace-logo-light{display:none}html[data-theme=dark] .workspace-brand .workspace-logo-dark{display:block}

.workspace-stock-controls{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:24px}.workspace-stock-controls .workspace-field:first-child{grid-column:1/-1}.workspace-stock-controls select{width:100%;min-width:0}.workspace-stock-intro{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:20px;align-items:center}.workspace-stock-intro>div{flex:1 1 100%}.workspace-stock-intro p{margin:0;color:var(--muted)}
@media(min-width:760px){.workspace-stock-controls{grid-template-columns:2fr 1fr 1fr}.workspace-stock-controls .workspace-field:first-child{grid-column:auto}.workspace-stock-intro>div{flex-basis:45%}}
.overview-activity{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:32px;margin-bottom:40px}.overview-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}.overview-heading h2{font-size:16px;font-weight:500;margin:0}.overview-panel{min-width:0}.overview-panel .report-caption{margin:0 0 16px}.overview-sales{margin-top:32px}@media(max-width:1050px){.overview-activity{grid-template-columns:minmax(0,1fr);gap:28px}}
.affiliate-sheet{display:grid;gap:28px;min-width:0}.affiliate-section,.affiliate-history{display:grid;gap:12px;min-width:0}.affiliate-section .sect-h{padding:0}.affiliate-section .workspace-actions{margin-top:2px}
.affiliate-sheet .stats{grid-template-columns:repeat(5,minmax(0,1fr));gap:1px;margin:0;border:0;border-radius:var(--corner-radius,12px);background:var(--sheet);overflow:hidden}.affiliate-sheet .stat{gap:4px;padding:14px 16px;border:0;background:var(--soft)}.affiliate-sheet .stat .sv{font-size:20px;line-height:1.3;letter-spacing:-.3px}.affiliate-sheet .stat:first-child .sv{color:var(--accent)}
@media(max-width:699px){.affiliate-sheet{gap:24px}.affiliate-sheet .stats{grid-template-columns:repeat(2,minmax(0,1fr))}.affiliate-sheet .stat:first-child{grid-column:1/-1}.affiliate-sheet .stat:first-child .sv{font-size:26px}.affiliate-section .workspace-actions .btn{flex:1 1 0}}
.report-range{display:grid;gap:12px;margin:4px 0 12px}.report-presets{display:flex;gap:8px;flex-wrap:wrap}.report-preset{min-height:40px;padding:0 14px;white-space:nowrap;flex:none}.report-preset[aria-pressed="true"]{background:var(--ink);color:var(--bg,#000);border-color:var(--ink)}.report-dates{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:10px;align-items:end}.report-dates[hidden]{display:none}.report-dates .inp{width:100%;min-width:0;min-height:44px}.report-dates input[type=date]{-webkit-appearance:none;appearance:none}.report-dates input[type=date]::-webkit-date-and-time-value{text-align:left}.report-status{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 16px;min-height:32px}.report-status[hidden]{display:none}.report-status .btn{min-height:32px;padding:0 10px}
.report-body{transition:opacity .16s ease}.report-body.is-updating{opacity:.5;transition-delay:.12s}.report-failure{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 16px}.report-insight{margin:0 0 28px}.report-note{margin-top:8px}.report-technical{margin-top:8px}.report-technical>div{margin-top:12px}.funnel-step{display:grid;gap:6px;margin:0 0 14px}.funnel-copy{display:flex;justify-content:space-between;align-items:baseline;gap:12px}.funnel-figures{display:flex;align-items:baseline;gap:8px;font-variant-numeric:tabular-nums;white-space:nowrap}.funnel-figures small{color:var(--muted)}.funnel-track{height:10px;border-radius:5px;background:var(--raised);overflow:hidden}.funnel-track i{display:block;height:100%;background:var(--accent,#13b9b1);transition:width .2s ease}.chart-hit{fill:transparent;cursor:pointer;outline:none}.chart-hit.is-selected{fill:color-mix(in srgb,var(--ink) 9%,transparent)}.chart-hit:focus-visible{stroke:var(--ink);stroke-width:1}.chart-bar{pointer-events:none;transition:opacity .12s ease}.report-chart[data-selected="true"] .chart-bar:not(.is-selected){opacity:.45}.chart-selection{min-height:1.5em;font-variant-numeric:tabular-nums}.ranking-copy strong,.stat .sv{font-variant-numeric:tabular-nums}
@media(max-width:699px){.report-presets{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-inline:-20px;padding-inline:20px;scroll-padding-inline:20px}.report-presets::-webkit-scrollbar{display:none}.report-preset{min-height:38px;padding:0 13px}.report-dates{grid-template-columns:1fr 1fr}.report-dates .btn{grid-column:1/-1}.report-dates .workspace-field:nth-child(3){grid-column:1/-1}}
@media(prefers-reduced-motion:reduce){.report-body,.funnel-track i,.chart-bar{transition:none}}
/* The one sign-in form (site/shared/signin.mjs), in this dashboard's control roles */
.workspace-signin{margin-top:24px}.workspace-signin form{display:grid;gap:12px}.workspace-signin .hidden{display:none}.workspace-signin p{margin:0;font-size:13px}.workspace-signin label{display:grid;gap:6px;font-size:12px;color:var(--muted)}
.workspace-signin input{display:block;width:100%;min-width:0;min-height:44px;padding:6px var(--control-inset);border:1px solid var(--control-border-color,var(--line));border-radius:var(--corner-radius,var(--control-radius));background:var(--soft);color:var(--ink);font-size:16px}
.workspace-signin .codeboxes{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.workspace-signin .codeboxes input{text-align:center;font-size:22px;font-weight:600;padding:0}
.workspace-signin button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border:0;border-radius:var(--corner-radius,var(--control-radius));background:var(--soft);color:var(--ink);font-size:15px;font-weight:500;cursor:pointer}
.workspace-signin button[type=submit]{background:var(--accent);color:var(--accent-ink)}.workspace-signin button:disabled{opacity:.6;cursor:default}.workspace-signin #back-email,.workspace-signin #resend{min-height:44px;background:transparent;color:var(--link);padding-inline:0;margin-right:16px}
