/* Adapted from Loyalty: cinematic.css, navigation.css, organizer-overview.css.
   Same typography, surfaces, compact navigation and card rhythm; Wagner accent. */
:root{--canvas:#080c10;--surface:#11181d;--raised:#182127;--hover:#202c33;--line:#2b363e;--text:#f3f1ec;--muted:#b0bac1;--subtle:#87959f;--accent:#ffca32;--positive:#83d5b2;--negative:#ffae9e;--ink:var(--text);--yellow:var(--accent);--sidebar:#0b1116;color-scheme:dark;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--canvas);color:var(--text);font:14px/1.5 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}h1,h2,h3,strong,b{color:var(--text)}p,small{color:var(--muted)}h1{font-size:30px;letter-spacing:-.04em;line-height:1.2;margin:4px 0 8px}h2{font-size:18px;line-height:1.3;letter-spacing:-.02em;margin:0}h3{font-size:15px;margin:0}p{margin:0}small{font-size:12px}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}button,input,select{font:inherit}button,.button{cursor:pointer;border-radius:7px;min-height:42px;padding:9px 15px;font-weight:600;border:1px solid var(--line);background:var(--raised);color:var(--text);transition:background .15s,border-color .15s}button:hover,.button:hover{background:var(--hover);text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}input,select{min-height:42px;padding:9px 12px;border:1px solid #43505a;border-radius:6px;background:#0c1217;color:var(--text)}button.primary,.primary{background:var(--accent);border-color:var(--accent);color:#181a1d}.primary:hover{background:#f1bd29}.secondary{background:var(--raised);color:var(--text)}.quiet{background:transparent;border-color:transparent;color:var(--muted);font-size:13px}.card,.panel{background:var(--surface);border:1px solid var(--line);border-radius:8px;box-shadow:none}.overline,.eyebrow{display:block;font-size:12px;letter-spacing:.12em;color:var(--subtle);font-weight:600}.sidebar{background:var(--sidebar);width:216px;border-right:1px solid var(--line);padding:24px 12px}.logo{font-size:28px;padding:0 8px}.logo b{font-size:15px}.logo b span{font-size:10px}.navcaption{font-size:12px;letter-spacing:.1em;margin:28px 12px 10px;color:var(--subtle)}nav>a{font-size:13px;min-height:38px;padding:8px 12px;margin:2px 0;border-radius:5px;color:var(--muted);font-weight:550}nav>a.active{color:var(--text);background:#202c33;box-shadow:inset 3px 0 var(--accent)}nav>a.active:hover{background:#26343d;color:var(--text)}nav>a:hover{background:var(--raised)}nav i{background:#4a3820;color:#ffd79a;font-size:12px}.sidebarfoot,.sidebarfoot small{font-size:12px;line-height:1.6}.workspace{background:var(--canvas);margin-left:216px;min-width:0}.topbar{height:64px;border-bottom:1px solid var(--line);background:var(--canvas);padding:0 28px;font-size:13px}.topbar>div{display:flex;align-items:center;gap:18px}.topbar .timezone,.topbar .slash{color:var(--subtle)}.signed-user{color:var(--muted);font-size:13px}main{padding:24px 28px;max-width:1900px;margin:auto;min-width:0}footer{border-color:var(--line);color:var(--subtle);font-size:12px;padding:20px 28px}.desk-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}.desk-heading p{font-size:14px}.desk-actions{display:flex;gap:10px;align-items:center}.desk-actions form,.topbar form{margin:0}.schedule-info{display:flex;flex-direction:column;font-size:12px;color:var(--muted);margin-right:8px;gap:3px}.schedule-info b{font-weight:500}.desk-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--line);background:var(--surface);border-radius:8px;margin-bottom:20px}.desk-kpis article{padding:16px 20px;border-right:1px solid var(--line);display:grid;gap:5px}.desk-kpis article:last-child{border:0}.desk-kpis article>span{color:var(--muted);font-size:13px}.desk-kpis strong{font-size:30px;line-height:1.2;font-weight:600;letter-spacing:-.03em;font-variant-numeric:tabular-nums}.desk-kpis strong small{font-size:18px;font-weight:400;color:var(--subtle)}.desk-kpis p{font-size:12px}.selection-bar{display:flex;gap:22px;align-items:end;flex-wrap:wrap;padding:16px 20px;position:relative;z-index:12;margin-bottom:12px}.selection-bar label{display:block;color:var(--muted);font-size:12px;margin-bottom:6px}.product-chooser{position:relative;width:270px;flex-shrink:0}.product-toggle{display:flex;justify-content:space-between;align-items:center;width:100%;font-size:16px;border-color:#53616c}.product-popover{position:absolute;top:100%;left:0;width:340px;max-width:calc(100vw - 40px);background:var(--raised);border:1px solid #53616c;border-radius:8px;padding:10px;box-shadow:0 15px 40px #0008;z-index:25}.product-popover>input{width:100%;margin-bottom:8px}#productOptions{max-height:330px;overflow:auto}#productOptions button{display:flex;width:100%;justify-content:space-between;align-items:center;background:transparent;border:0;gap:15px;text-align:left;font-size:14px;min-height:44px}#productOptions button:hover,#productOptions button[aria-selected=true]{background:#293740}#productOptions small{font-size:12px;white-space:nowrap;color:var(--subtle)}.product-popover>small{display:block;padding:8px 5px}.period-control{flex:1;min-width:310px}.range-buttons{display:flex;flex-wrap:wrap;gap:3px}.range-buttons button{font-size:13px;background:transparent;border-color:transparent;padding:8px 12px;min-height:42px;white-space:nowrap}.range-buttons button.active{background:#ffca3220;color:var(--accent);border-color:#907226}.shop-picker{position:relative}.shop-picker summary{list-style:none;cursor:pointer;background:var(--raised);border:1px solid #43505a;border-radius:6px;padding:10px 14px;white-space:nowrap;font-size:14px}.shop-picker summary b{display:inline-block;font-size:12px;margin-left:8px;background:#2b363e;padding:0 5px;border-radius:4px}#shopOptions{position:absolute;right:0;top:calc(100% + 8px);display:grid;width:300px;gap:3px;background:var(--raised);border:1px solid #53616c;padding:10px;border-radius:8px;box-shadow:0 15px 40px #0008}#shopOptions label{display:flex;align-items:center;gap:10px;padding:7px 8px;font-size:14px;color:var(--text);margin:0}#shopOptions input{min-height:0;accent-color:var(--source-color);width:16px;height:16px}#shopOptions i,.legend-color{width:10px;height:10px;border-radius:50%;display:inline-block;flex-shrink:0}#shopOptions small{margin-left:auto}#dateControls{display:flex;align-items:end;gap:12px;flex-wrap:wrap;width:100%;padding-top:12px;border-top:1px solid var(--line)}#dateControls label{margin:0}#dateControls input{display:block}.dashboard-status{min-height:22px;color:var(--muted);font-size:12px;margin:0 2px 8px}.dashboard-status.error{color:var(--negative)}.selected-summary{display:flex;align-items:center;gap:30px;padding:12px 2px 18px}.selected-identity{display:flex;align-items:center;gap:12px;min-width:250px;flex:1}.selected-identity img{width:50px;height:50px;object-fit:contain;background:#fff;border-radius:7px;padding:3px}.selected-identity span{font-size:12px;color:var(--subtle)}.selected-summary>div:not(:first-child){min-width:135px;display:flex;flex-direction:column}.selected-summary>div>span{font-size:12px;color:var(--muted)}.selected-summary strong{font-size:22px;font-weight:550;letter-spacing:-.03em;white-space:nowrap}.selected-summary small{font-size:12px}.analysis-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(330px,1fr);gap:20px}.analysis-grid>.card{padding:18px 20px;min-width:0;overflow:hidden}.card-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.card-header .overline{font-size:12px;margin-bottom:4px}.card-header h2{font-size:18px}.card-header>.quiet{padding:4px;font-size:12px;min-height:32px;white-space:nowrap}.plot-wrap{position:relative;height:225px}.plot-wrap svg{width:100%;height:100%;display:block;touch-action:pan-y;cursor:crosshair}.plot-empty{position:absolute;inset:0;display:grid;place-items:center;text-align:center;color:var(--muted);font-size:14px;padding:30px}.chart-legend{display:flex;flex-wrap:wrap;gap:8px 16px;min-height:22px;margin-top:10px}.chart-legend button{display:flex;align-items:center;gap:7px;border:0;background:transparent;padding:3px 0;min-height:28px;font-size:13px;color:var(--muted);font-weight:400}.chart-legend button.off{opacity:.45;text-decoration:line-through}.chart-note{font-size:12px;color:var(--subtle);line-height:1.6;margin-top:8px}.difference-card{grid-column:1/-1}.difference-wrap{height:165px}.baseline-note{font-size:12px;color:var(--muted)}.current-bars{display:grid;gap:14px;max-height:285px;overflow:auto;padding-right:4px}.price-bar{position:relative}.bar-heading{display:flex;justify-content:space-between;gap:10px;font-size:13px;margin-bottom:5px}.bar-heading a{color:var(--text)}.bar-heading b{font-size:15px;font-weight:550;white-space:nowrap}.bar-track{height:7px;border-radius:2px;background:#233039;overflow:hidden}.bar-fill{height:100%;background:var(--source-color)}.bar-meta{display:flex;justify-content:space-between;gap:8px;color:var(--subtle);font-size:12px;margin-top:5px}.price-bar.stale .bar-fill{opacity:.35}.price-bar.stale .bar-heading b{color:#ddbd8f}.price-bar.unavailable .bar-fill{opacity:.35}.bar-warning{color:#ddbd8f}.watch-section{margin-top:24px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.section-heading h2 span{font-size:13px;color:var(--subtle);margin-left:5px}.section-heading p{font-size:13px;margin-top:4px}.section-heading a{font-size:13px}.watch-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.watch-card{padding:15px;text-align:left;min-width:0;font-weight:400;background:var(--surface);min-height:170px}.watch-card:hover,.watch-card.selected{border-color:#9a7a29;background:#161e22}.watch-top{display:flex;align-items:center;gap:10px;min-width:0}.watch-top img{width:38px;height:38px;background:#fff;object-fit:contain;padding:2px;border-radius:5px}.watch-top h3{font-size:14px;line-height:1.3}.watch-top>div{min-width:0;flex:1}.watch-top>div>span{font-size:12px;color:var(--subtle)}.watch-arrow{color:var(--accent);margin-left:auto}.watch-prices{display:flex;justify-content:space-between;gap:10px;margin-top:12px;font-size:12px;color:var(--muted)}.watch-prices b{display:block;font-size:15px;font-weight:550;white-space:nowrap}.daily-spark{height:32px;width:100%;display:block;margin:8px 0}.watch-card>small{font-size:12px;display:block;overflow-wrap:anywhere}.history-method{color:var(--muted);font-size:13px;margin-top:20px}.history-method summary{cursor:pointer}.history-method p{margin:12px 0;max-width:1000px}.plot-tooltip{position:fixed;z-index:100;max-width:330px;background:#243039;border:1px solid #687783;border-radius:7px;padding:12px;box-shadow:0 10px 30px #0008;font-size:13px;line-height:1.6;pointer-events:none;white-space:pre-line;color:var(--text)}[hidden]{display:none!important}.accent{color:var(--accent)}.login-page{min-height:100dvh;display:grid;place-items:center;padding:24px;background:radial-gradient(ellipse at top right,#243039 0,transparent 60%),var(--canvas)}.login-card{width:min(440px,100%);padding:32px}.login-card h1{margin:12px 0 16px}.login-card>p{margin:0 0 24px;font-size:16px}.login-card form{display:grid;gap:18px}.login-card label{display:grid;gap:7px;font-size:14px;color:var(--muted)}.login-card input{width:100%}.login-card small{display:block;margin-top:22px;font-size:12px}.login-error{color:var(--negative)}
/* Retained management and matrix views share Loyalty surfaces and readable type. */
.matrix th,.matrix td,.coveragetable th,.coveragetable td,table th,table td{border-color:var(--line);font-size:13px}.matrix .productcol,.matrix thead th,.coveragetable th:first-child,.coveragetable thead th:first-child,thead,th,.owncol{background:var(--surface)!important;color:var(--text)}.matrix tbody tr:hover td,.matrix tbody tr:hover th{background:var(--raised)!important}.matrix small,.coveragetable small,table small,.quote small,.no-offer small,.filters label,.tablefoot,.toolbar,.pageheading p{font-size:12px;color:var(--muted)}.matrix .price,.coveragetable a,.productbutton,.productbutton b{color:var(--text)}.productbutton small,.productbutton em,.productbutton b{font-size:12px}.filters,.toolbar,.drawerhead,.drawerbody,.detailoffer,.coveragepanel,.productcard,.offer{border-color:var(--line);background:var(--surface)}.drawer,dialog{background:var(--surface);color:var(--text);border-color:var(--line)}.filters select{font-size:13px;background:var(--raised);color:var(--text)}.quote+.quote{border-color:var(--line)}.coveragetable .status.pending{background:#17372b;color:#a8e6bf}.coveragepanel p,.coveragepanel h2,.status,.offer small{font-size:12px}.summarybar div>span,.summarybar a,.tablefoot,.no-offer,.no-read{font-size:12px}.topbar .reviewlink{color:var(--accent)}
@media(min-width:1750px){.watch-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.plot-wrap{height:245px}.difference-wrap{height:175px}}
@media(max-width:1250px){.desk-heading{align-items:start}.desk-actions{flex-wrap:wrap;justify-content:end;max-width:390px}.schedule-info{width:100%;text-align:right}.watch-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.selection-bar{gap:14px}.period-control{min-width:300px}.selected-summary{gap:18px}.selected-identity{min-width:190px}.selected-summary>div:not(:first-child){min-width:110px}}
@media(max-width:1000px){.analysis-grid{grid-template-columns:1fr}.difference-card{grid-column:auto}.watch-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.selected-summary{flex-wrap:wrap}.selected-identity{flex:1 1 100%}.desk-kpis article{padding:14px}.topbar{padding:0 20px}.signed-user{display:none}}
@media(max-width:650px){.sidebar{position:sticky;inset:0 0 auto;width:100%;height:60px;padding:8px 12px;flex-direction:row;border-right:0;border-bottom:1px solid var(--line)}.logo{padding:0;font-size:23px}.logo b{font-size:10px}.logo b span{font-size:8px}.navcaption,.sidebarfoot,nav i{display:none}nav{display:flex;gap:2px}nav>a{font-size:0;padding:9px;min-height:40px;margin:0}nav>a>span{font-size:19px}.workspace{margin-left:0}.topbar{height:49px;padding:0 14px;font-size:12px}.topbar>div{gap:8px}.topbar .timezone,.topbar .reviewlink{display:none}.topbar .quiet{padding:6px;min-height:36px}main{padding:18px 14px}.desk-heading{display:block;margin-bottom:16px}.desk-heading h1{font-size:28px}.desk-heading p{font-size:13px}.overline,.eyebrow{font-size:12px;letter-spacing:.06em}.desk-actions{justify-content:start;max-width:none;margin-top:14px}.schedule-info{font-size:12px;text-align:left;margin-bottom:4px;gap:2px}.desk-kpis{grid-template-columns:1fr 1fr;margin-bottom:16px}.desk-kpis article{padding:12px}.desk-kpis article:nth-child(2){border-right:0}.desk-kpis article:last-child{grid-column:1/-1;border-top:1px solid var(--line);grid-template-columns:1fr auto;align-items:center}.desk-kpis article:last-child p{grid-column:1/-1}.desk-kpis strong{font-size:26px}.desk-kpis p{font-size:12px}.desk-kpis article>span{font-size:13px}.selection-bar{padding:14px;gap:14px;align-items:start}.product-chooser{width:100%}.period-control{min-width:0;width:100%;flex-basis:100%}.range-buttons{gap:2px}.range-buttons button{font-size:13px;padding:7px 9px;min-height:38px}.shop-picker{width:100%}#shopOptions{width:100%;left:0;right:auto}.shop-picker summary{display:flex;justify-content:space-between}.selected-summary{gap:14px;padding-bottom:16px}.selected-summary>div:not(:first-child){min-width:0;flex:1 1 40%}.selected-summary strong{font-size:20px}.selected-summary>div:last-child{flex-basis:100%}.analysis-grid{gap:16px}.analysis-grid>.card{padding:15px}.card-header{align-items:start;gap:10px}.card-header h2{font-size:17px}.card-header .overline{font-size:12px}.plot-wrap{height:210px}.difference-wrap{height:170px}.difference-card .card-header{display:block}.baseline-note{display:block;margin-top:6px}.current-bars{max-height:340px}.watch-grid{grid-template-columns:1fr}.watch-card{min-height:160px}.section-heading{align-items:start;display:block}.section-heading a{display:block;margin-top:8px}.watch-top h3{font-size:16px}.watch-prices b{font-size:16px}.plot-tooltip{max-width:calc(100vw - 24px);font-size:12px}.login-card{padding:24px}.chart-legend{gap:7px 12px}.chart-legend button{font-size:12px}.schedule-info b{display:inline}.dashboard-status{font-size:12px}.topbar form button{font-size:12px}}
/* Match Loyalty's compact operational rhythm; reset inherited legacy details styles. */
.shop-picker{margin:0;padding:0;border:0}.desk-kpis article{padding:12px 20px;gap:4px}.desk-kpis strong{font-size:28px;line-height:1.1}.desk-heading>.overline{display:none}.selected-summary{padding:6px 2px 12px}.dashboard-status{margin-bottom:4px}.plot-wrap{height:185px}.difference-wrap{height:125px}.analysis-grid>.card{padding:16px 18px}.workspace main>.watch-section{padding:0;overflow:visible}
@media(min-width:1750px){.plot-wrap{height:200px}.difference-wrap{height:130px}}
@media(max-width:650px){.plot-wrap{height:210px}.difference-wrap{height:165px}.desk-kpis article{padding:12px}.desk-kpis article:last-child{grid-template-columns:1fr auto}.desk-heading .overline{display:block}}
.analysis-grid>section{margin:0}
@media(min-width:1400px){.analysis-grid{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,1fr)}.difference-card{grid-column:auto}.difference-card .card-header{display:block}.baseline-note{display:block;margin-top:6px}.difference-wrap{height:185px}}
@media(min-width:1750px){.difference-wrap{height:200px}}
.raw-details{display:block;font-size:12px;margin-top:3px}
