:root{color-scheme:light;--bg: #f3f5f5;--surface: #ffffff;--surface-2: #f7f9f9;--ink: #191818;--ink-2: #474744;--muted: #676762;--line: #e2e6e6;--line-soft: #edf0f0;--brand: #3df2f2;--brand-soft: #dcfdfd;--brand-ink: #191818;--accent-text: #007376;--focus: #00999c;--series-1: #00999c;--series-1-wash: rgba(0, 153, 156, .1);--series-2: #eb6834;--grid: #e6e9e9;--axis: #c4c9c9;--spark: #a9aeae;--good-bg: #d8f6e5;--good-ink: #0b5a33;--warn-bg: #fff0c2;--warn-ink: #5c4300;--bad-bg: #fde4e1;--bad-ink: #9b2c2c;--neutral-bg: #eceeee;--neutral-ink: #3d3d3b;--info-bg: #dff0ff;--info-ink: #0b3b7a;--delta-good: #006300;--delta-bad: #b42318;--shadow: 0 1px 2px rgba(16, 24, 40, .05);--shadow-lg: 0 12px 32px rgba(16, 24, 40, .16);--radius: 12px}@media (prefers-color-scheme: dark){:root:not([data-theme=light]){color-scheme:dark;--bg: #0f1011;--surface: #1a1b1d;--surface-2: #212225;--ink: #f0efec;--ink-2: #c9c8c2;--muted: #9d9c96;--line: #2d2e31;--line-soft: #26272a;--brand-soft: rgba(61, 242, 242, .14);--accent-text: #45d6d9;--focus: #16a7aa;--series-1: #16a7aa;--series-1-wash: rgba(22, 167, 170, .14);--series-2: #d95926;--grid: #2a2b2e;--axis: #3d3e42;--spark: #5f6064;--good-bg: rgba(12, 163, 12, .2);--good-ink: #8ce6a4;--warn-bg: rgba(250, 178, 25, .2);--warn-ink: #ffd47a;--bad-bg: rgba(208, 59, 59, .24);--bad-ink: #ffa39e;--neutral-bg: #2a2b2e;--neutral-ink: #d6d5cf;--info-bg: rgba(57, 135, 229, .22);--info-ink: #a8cdff;--delta-good: #4cc76a;--delta-bad: #ff8a80;--shadow: none;--shadow-lg: 0 12px 32px rgba(0, 0, 0, .5)}}:root[data-theme=dark]{color-scheme:dark;--bg: #0f1011;--surface: #1a1b1d;--surface-2: #212225;--ink: #f0efec;--ink-2: #c9c8c2;--muted: #9d9c96;--line: #2d2e31;--line-soft: #26272a;--brand-soft: rgba(61, 242, 242, .14);--accent-text: #45d6d9;--focus: #16a7aa;--series-1: #16a7aa;--series-1-wash: rgba(22, 167, 170, .14);--series-2: #d95926;--grid: #2a2b2e;--axis: #3d3e42;--spark: #5f6064;--good-bg: rgba(12, 163, 12, .2);--good-ink: #8ce6a4;--warn-bg: rgba(250, 178, 25, .2);--warn-ink: #ffd47a;--bad-bg: rgba(208, 59, 59, .24);--bad-ink: #ffa39e;--neutral-bg: #2a2b2e;--neutral-ink: #d6d5cf;--info-bg: rgba(57, 135, 229, .22);--info-ink: #a8cdff;--delta-good: #4cc76a;--delta-bad: #ff8a80;--shadow: none;--shadow-lg: 0 12px 32px rgba(0, 0, 0, .5)}*{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;color:var(--ink);background:var(--bg);font-size:14px;line-height:1.45}a{color:inherit;text-decoration:none}button,input,select{font-family:inherit;font-size:inherit;color:inherit}h1,h2,h3,p{margin:0}:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.muted{color:var(--muted)}.small{font-size:12px}.sr-only{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.num{font-variant-numeric:tabular-nums}.app{display:grid;grid-template-columns:248px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;overflow-y:auto;background:var(--surface);border-right:1px solid var(--line);padding:20px 14px;display:flex;flex-direction:column;gap:20px}.brand{display:flex;flex-direction:column;gap:6px;padding:4px 10px 0}.brand img{display:block;width:100%;max-width:172px;height:auto}.brand .logo-dark{display:none}.brand-tag{font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}.sidebar nav{display:flex;flex-direction:column;gap:2px}.nav-link{display:flex;align-items:center;gap:10px;min-height:40px;padding:0 10px;border-radius:8px;font-size:14px;font-weight:500;color:var(--ink-2)}.nav-link svg{flex:0 0 18px;color:var(--muted)}.nav-link:hover{background:var(--surface-2);color:var(--ink)}.nav-link.active{background:var(--brand);color:var(--brand-ink);font-weight:600}.nav-link.active svg{color:var(--brand-ink)}.sidebar-foot{margin-top:auto;display:flex;flex-direction:column;gap:10px}.sidebar-note{padding:12px;border:1px solid var(--line);border-radius:10px;font-size:13px;color:var(--ink-2);line-height:1.5;background:var(--surface-2)}.sidebar-note strong{display:block;margin-bottom:4px;color:var(--ink)}.sync-panel{display:flex;flex-direction:column;gap:6px}.sync-panel strong{margin-bottom:0;display:flex;align-items:center;gap:8px}.sync-panel .btn{margin-top:4px}.live-dot{width:8px;height:8px;border-radius:50%;background:#0ca30c;box-shadow:0 0 0 3px #0ca30c2e}.live-dot.demo{background:#fab219;box-shadow:0 0 0 3px #fab21933}.sync-error{color:var(--bad-ink);overflow-wrap:anywhere}.sync-warning{color:var(--warn-ink);overflow-wrap:anywhere}.theme-switch{display:flex;gap:2px;padding:3px;border:1px solid var(--line);border-radius:9px;background:var(--surface-2)}.theme-switch button{flex:1;min-height:30px;border:0;border-radius:6px;background:none;font-size:12px;font-weight:500;color:var(--muted);cursor:pointer}.theme-switch button[aria-pressed=true]{background:var(--surface);color:var(--ink);box-shadow:var(--shadow);font-weight:600}.main{min-width:0;padding:28px 32px 48px;display:flex;flex-direction:column;gap:20px;max-width:1440px;width:100%}.topbar,.scrim{display:none}.page-header{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-end;justify-content:space-between}.page-header h1{font-size:24px;font-weight:700;letter-spacing:-.015em}.page-header p{margin-top:4px;font-size:14px;color:var(--muted)}.page-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:0 16px;border-radius:8px;border:1px solid var(--line);background:var(--surface);font-size:14px;font-weight:500;color:var(--ink);cursor:pointer;box-shadow:var(--shadow);white-space:nowrap}.btn:hover{background:var(--surface-2)}.btn:disabled{opacity:.55;cursor:not-allowed}.btn-primary{background:var(--ink);border-color:var(--ink);color:var(--surface);font-weight:600}.btn-primary:hover{background:var(--ink-2)}.btn-brand{background:var(--brand);border-color:var(--brand);color:var(--brand-ink);font-weight:600}.btn-brand:hover{background:#2ee3e3}.btn-sm{min-height:34px;font-size:13px;padding:0 12px}.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:8px;border:1px solid var(--line);background:var(--surface);cursor:pointer}.link{font-size:13px;font-weight:600;color:var(--accent-text)}.link:hover{text-decoration:underline}button.link{background:none;border:0;padding:0;cursor:pointer}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:20px;display:flex;flex-direction:column;gap:16px;min-width:0;box-shadow:var(--shadow)}.card-flush{padding:0;gap:0;overflow:hidden}.card-head{display:flex;flex-wrap:wrap;gap:6px 12px;justify-content:space-between;align-items:baseline}.card-flush .card-head{padding:18px 20px 12px}.card-head h2{font-size:15px;font-weight:600}.card-sub{font-size:12px;color:var(--muted)}.row{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-start}.row>*{flex:1 1 300px}.row>.wide{flex:2 1 480px}.row-stretch{align-items:stretch}.kpi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}.kpi{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:18px 20px;display:flex;flex-direction:column;gap:6px;box-shadow:var(--shadow);min-width:0}.kpi-label{font-size:13px;color:var(--muted);font-weight:500}.kpi-value{font-size:28px;font-weight:700;letter-spacing:-.02em;line-height:1.15}.kpi-delta{font-size:13px;font-weight:600}.kpi-delta .muted{font-weight:400}.delta-good{color:var(--delta-good)}.delta-bad{color:var(--delta-bad)}.delta-flat{color:var(--muted)}.kpi-trend{margin-top:4px}.hero-tile{background:var(--brand);color:var(--brand-ink);border:0;border-radius:var(--radius);padding:22px 24px;display:flex;flex-direction:column;gap:6px;min-width:0}.hero-tile .kpi-label{color:var(--brand-ink);opacity:.75}.hero-tile .hero-value{font-size:48px;font-weight:700;letter-spacing:-.03em;line-height:1.05}.hero-tile .kpi-delta{color:var(--brand-ink)}.hero-tile .hero-note{font-size:13px;opacity:.8}.overview-top{display:grid;grid-template-columns:minmax(280px,1.2fr) minmax(0,3fr);gap:16px}.overview-top .kpi-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%}th{text-align:left;font-size:12px;font-weight:600;color:var(--muted);padding:10px 16px;border-bottom:1px solid var(--line);white-space:nowrap;background:var(--surface-2)}td{padding:12px 16px;border-bottom:1px solid var(--line-soft);font-size:14px;white-space:nowrap;vertical-align:middle}.wrap-cell{white-space:normal;overflow-wrap:break-word;min-width:0}tbody tr:last-child td{border-bottom:0}.row-click{cursor:pointer}.row-click:hover td{background:var(--surface-2)}.row-selected td,.row-click.row-selected:hover td{background:var(--brand-soft)}.badge{display:inline-flex;align-items:center;gap:5px;padding:2px 9px;border-radius:999px;font-size:12px;font-weight:600;white-space:nowrap}.badge-green{background:var(--good-bg);color:var(--good-ink)}.badge-amber{background:var(--warn-bg);color:var(--warn-ink)}.badge-red{background:var(--bad-bg);color:var(--bad-ink)}.badge-gray{background:var(--neutral-bg);color:var(--neutral-ink)}.badge-blue{background:var(--info-bg);color:var(--info-ink)}.badge-sample{background:var(--warn-bg);color:var(--warn-ink);padding:4px 10px}.chips{display:flex;flex-wrap:wrap;gap:8px}.chip{min-height:34px;padding:0 14px;border-radius:999px;font-size:13px;font-weight:500;border:1px solid var(--line);background:var(--surface);color:var(--ink-2);cursor:pointer}.chip:hover{background:var(--surface-2)}.chip-active,.chip-active:hover{background:var(--ink);border-color:var(--ink);color:var(--surface);font-weight:600}.segmented{display:inline-flex;padding:3px;gap:2px;border-radius:10px;background:var(--neutral-bg)}.segmented button{min-height:34px;padding:0 14px;border:0;border-radius:8px;background:none;font-size:13px;font-weight:500;color:var(--ink-2);cursor:pointer;display:inline-flex;align-items:center;gap:6px}.segmented button[aria-pressed=true]{background:var(--surface);color:var(--ink);font-weight:600;box-shadow:var(--shadow)}.segmented .count{font-size:12px;color:var(--muted);font-weight:500}.search{flex:1 1 260px;min-height:40px;padding:0 14px;border-radius:8px;border:1px solid var(--line);background:var(--surface);font-size:14px;color:var(--ink)}.select{min-height:40px;padding:0 12px;border-radius:8px;border:1px solid var(--line);background:var(--surface)}.toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.toggle{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:500;color:var(--ink-2);cursor:pointer}.toggle input{width:16px;height:16px;accent-color:var(--series-1)}.bar{height:8px;background:var(--line-soft);border-radius:4px}.bar>span{display:block;height:8px;background:var(--series-1);border-radius:4px}.stack{display:flex;flex-direction:column;gap:14px}.split{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:14px}.split-line{border-top:1px solid var(--line-soft);padding-top:12px}.avatar{flex:0 0 auto;width:34px;height:34px;border-radius:9px;background:var(--brand-soft);color:var(--ink);display:inline-flex;align-items:center;justify-content:center;font-size:13px;font-weight:700;text-transform:uppercase}.avatar-lg{width:44px;height:44px;border-radius:11px;font-size:16px}.person{display:flex;align-items:center;gap:12px;min-width:0}.dot{flex:0 0 8px;height:8px;border-radius:50%;background:var(--brand);border:1px solid var(--brand-ink);margin-top:7px}.bullets{display:flex;flex-direction:column;gap:12px}.bullet{display:flex;gap:12px;align-items:flex-start;font-size:14px;line-height:1.5}.empty{padding:24px;text-align:center;color:var(--muted)}.chart{display:block;width:100%;height:auto;overflow:visible}.chart-wrap{position:relative}.chart text{fill:var(--muted);font-size:11px;font-variant-numeric:tabular-nums}.chart .grid{stroke:var(--grid);stroke-width:1}.chart .baseline{stroke:var(--axis);stroke-width:1}.chart .series-1-line{stroke:var(--series-1);stroke-width:2;fill:none;stroke-linejoin:round;stroke-linecap:round}.chart .series-1-area{fill:var(--series-1-wash)}.chart .series-1{fill:var(--series-1)}.chart .series-2{fill:var(--series-2)}.chart .crosshair{stroke:var(--ink-2);stroke-width:1}.chart .marker{stroke:var(--surface);stroke-width:2}.chart .hit{fill:transparent;cursor:crosshair}.chart .mark-hover{opacity:.8}.chart:focus-visible{outline:2px solid var(--focus);outline-offset:4px;border-radius:4px}.axis{display:flex;justify-content:space-between;font-size:11px;color:var(--muted)}.tooltip{position:absolute;pointer-events:none;z-index:5;min-width:140px;padding:8px 10px;border-radius:8px;background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow-lg);font-size:12px;display:flex;flex-direction:column;gap:4px;transform:translate(-50%,calc(-100% - 12px));white-space:nowrap}.tooltip-title{color:var(--muted);font-size:11px}.tooltip-row{display:flex;align-items:center;gap:8px}.tooltip-row strong{font-size:13px;font-variant-numeric:tabular-nums}.key-line{width:12px;height:2px;border-radius:1px;flex:0 0 auto}.legend{display:flex;flex-wrap:wrap;gap:14px;font-size:12px;color:var(--ink-2)}.legend-item{display:inline-flex;align-items:center;gap:6px}.swatch{width:10px;height:10px;border-radius:3px}.bg-series-1{background:var(--series-1)}.bg-series-2{background:var(--series-2)}.chart-summary{display:flex;flex-wrap:wrap;gap:8px 28px;padding-top:12px;border-top:1px solid var(--line-soft)}.chart-summary div{display:flex;flex-direction:column;gap:2px;min-width:0}.chart-summary span{font-size:12px;color:var(--muted)}.chart-summary strong{font-size:16px;font-weight:600;font-variant-numeric:tabular-nums}.attention{display:flex;flex-direction:column}.attention-item{display:flex;gap:12px;align-items:flex-start;padding:12px 0;border-top:1px solid var(--line-soft)}.attention-item:first-child{border-top:0;padding-top:0}.attention-icon{flex:0 0 28px;height:28px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center}.attention-icon.bad{background:var(--bad-bg);color:var(--bad-ink)}.attention-icon.warn{background:var(--warn-bg);color:var(--warn-ink)}.attention-body{min-width:0;display:flex;flex-direction:column;gap:2px;font-size:13px}.attention-body strong{font-size:14px;overflow-wrap:anywhere}.all-clear{display:flex;gap:10px;align-items:center;color:var(--muted);font-size:13px}.status{display:inline-flex;align-items:center;gap:6px;font-weight:600;font-size:13px}.status svg{flex:0 0 auto;border-radius:50%;padding:2px;width:18px;height:18px}.status-good svg{background:var(--good-bg);color:var(--good-ink)}.status-warn svg{background:var(--warn-bg);color:var(--warn-ink)}.status-bad svg{background:var(--bad-bg);color:var(--bad-ink)}.status-unknown svg{background:var(--neutral-bg);color:var(--neutral-ink)}.health-banner{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;padding:10px 12px;border-radius:10px;margin-bottom:6px}.health-banner-lg{padding:16px 20px;margin:0}.health-banner-lg .status{font-size:15px}.health-good{background:var(--good-bg)}.health-warn{background:var(--warn-bg)}.health-bad{background:var(--bad-bg)}.health-unknown{background:var(--neutral-bg)}.health-good .status svg,.health-warn .status svg,.health-bad .status svg,.health-unknown .status svg{background:var(--surface)}.health-line{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;border-top:1px solid var(--line-soft);font-size:13px}.health-banner+.health-line{border-top:0}a.health-line{color:inherit;text-decoration:none;border-radius:6px}a.health-line:hover{background:var(--neutral-bg)}a.health-line:focus-visible{outline:2px solid var(--focus, currentColor);outline-offset:2px}.signal-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.signal{display:flex;flex-direction:column;gap:6px;padding:14px;border:1px solid var(--line);border-radius:10px}.signal strong{font-size:20px;letter-spacing:-.01em}.signal-warn{border-color:var(--warn-ink)}.signal-bad{border-color:var(--bad-ink)}.meter{height:6px;border-radius:3px;background:var(--line);overflow:hidden}.meter-fill{display:block;height:100%;border-radius:3px}.security-score{display:flex;flex-wrap:wrap;gap:4px 10px;align-items:baseline}.security-score strong{font-size:22px}.security-list{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:10px;overflow:hidden}.security-item{border-top:1px solid var(--line-soft)}.security-item:first-child{border-top:0}.security-item summary{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 12px;padding:12px 14px;cursor:pointer;list-style:none}.security-item summary::-webkit-details-marker{display:none}.security-item summary:hover{background:var(--surface-2)}.security-fail summary{background:color-mix(in srgb,var(--bad-bg) 45%,transparent)}.security-body{display:grid;gap:10px;padding:4px 14px 14px}.security-body>div{display:flex;flex-direction:column;gap:3px}.security-body code{white-space:pre-wrap;overflow-wrap:anywhere;padding:6px 8px}.alert-list{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:4px;color:var(--ink-2);font-size:13px}code{font-size:12px;background:var(--neutral-bg);padding:1px 6px;border-radius:4px}.ranking{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}.ranking-row{display:flex;gap:12px;align-items:flex-start;padding:10px 8px;margin:0 -8px;border-radius:8px}.ranking-row:hover{background:var(--surface-2)}.rank{flex:0 0 26px;height:26px;border-radius:7px;background:var(--brand-soft);display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:700}li:first-child .rank{background:var(--brand);color:var(--brand-ink)}.ranking-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}.ranking-name{display:inline-flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0;overflow-wrap:anywhere}.attention-item:hover strong{text-decoration:underline}.reason-row{display:flex;flex-direction:column;gap:6px;width:calc(100% + 16px);padding:6px 8px;margin:0 -8px;border:0;border-radius:8px;background:none;text-align:left;font:inherit;color:inherit;cursor:pointer}.reason-row:hover{background:var(--surface-2)}.reason-active,.reason-active:hover{background:var(--brand-soft)}.reasons{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:6px 24px}.store-cell{display:flex;align-items:center;gap:10px;min-width:180px}.store-cell .stack{gap:1px;min-width:0}.store-cell .wrap-cell{overflow-wrap:anywhere}.detail{position:sticky;top:20px}.detail-close{display:none}.detail-head{display:flex;gap:12px;align-items:center}.detail-head h2{font-size:16px;font-weight:600;overflow-wrap:anywhere}.reason-box{background:var(--surface-2);border:1px solid var(--line-soft);border-radius:10px;padding:12px;display:flex;flex-direction:column;gap:4px}.report-bar{background:var(--surface);border-bottom:1px solid var(--line);padding:12px 32px;display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between}.report-wrap{max-width:880px;margin:32px auto;padding:0 16px}.report{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:40px;display:flex;flex-direction:column;gap:32px}.report h2{font-size:18px;font-weight:600}.report-head{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-end;justify-content:space-between;border-bottom:1px solid var(--line-soft);padding-bottom:24px}.hero{flex:2 1 320px;background:var(--brand);color:var(--brand-ink);border-radius:var(--radius);padding:24px;display:flex;flex-direction:column;gap:8px}.hero strong{font-size:44px;letter-spacing:-.02em}.mini{border:1px solid var(--line);border-radius:var(--radius);padding:16px;display:flex;flex-direction:column;gap:4px;flex:1}.mini strong{font-size:24px;letter-spacing:-.01em}.check{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid var(--line-soft)}.check:last-child{border-bottom:0}.step{display:flex;gap:12px;align-items:flex-start;font-size:14px;line-height:1.5;padding:12px 16px;border:1px solid var(--line);border-radius:var(--radius)}.step-n{flex:0 0 28px;height:28px;border-radius:50%;background:var(--brand);color:var(--brand-ink);display:inline-flex;align-items:center;justify-content:center;font-size:13px;font-weight:700}@media (prefers-color-scheme: dark){:root:not([data-theme=light]) .brand .logo-light{display:none}:root:not([data-theme=light]) .brand .logo-dark{display:block}}:root[data-theme=dark] .brand .logo-light{display:none}:root[data-theme=dark] .brand .logo-dark{display:block}@media (max-width: 1100px){.overview-top{grid-template-columns:1fr}}@media (max-width: 900px){.app{grid-template-columns:minmax(0,1fr)}.topbar{display:flex;position:sticky;top:0;z-index:20;align-items:center;justify-content:space-between;gap:12px;padding:10px 16px;background:var(--surface);border-bottom:1px solid var(--line)}.topbar img{height:24px;width:auto;display:block}.topbar .logo-dark{display:none}.sidebar{position:fixed;z-index:40;inset:0 auto 0 0;width:min(300px,86vw);height:100%;transform:translate(-100%);transition:transform .2s ease;box-shadow:var(--shadow-lg)}.sidebar.open{transform:none}.scrim{display:block;position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;background:#00000059;opacity:0;pointer-events:none;transition:opacity .2s}.scrim.open{opacity:1;pointer-events:auto}.main{padding:20px 16px 40px}.detail{position:fixed;z-index:45;inset:auto 0 0 0;max-height:85vh;overflow-y:auto;border-radius:16px 16px 0 0;transform:translateY(105%);transition:transform .2s ease;box-shadow:var(--shadow-lg)}.detail.open{transform:none}.detail-close{display:inline-flex}}@media (max-width: 900px) and (prefers-color-scheme: dark){:root:not([data-theme=light]) .topbar .logo-light{display:none}:root:not([data-theme=light]) .topbar .logo-dark{display:block}}@media (max-width: 900px){:root[data-theme=dark] .topbar .logo-light{display:none}:root[data-theme=dark] .topbar .logo-dark{display:block}}@media (max-width: 640px){.page-header h1{font-size:21px}.kpi-grid,.overview-top .kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.kpi{padding:14px}.kpi-grid>.kpi:last-child:nth-child(odd){grid-column:1 / -1}.kpi-value{font-size:22px}.hero-tile .hero-value{font-size:40px}.report{padding:20px}.segmented{width:100%}.segmented button{flex:1;justify-content:center;padding:0 8px}}@media (prefers-reduced-motion: reduce){.sidebar,.scrim,.detail{transition:none}}.stars{color:#b07800;letter-spacing:1px;white-space:nowrap}.stars-off{color:var(--line)}.rating-hero{display:flex;align-items:center;gap:14px}.rating-value{font-size:48px;font-weight:700;letter-spacing:-.03em;line-height:1}.rating-row{display:flex;align-items:center;gap:10px;font-size:13px}.rating-row>span:first-child{width:30px}.review-list{display:flex;flex-direction:column}.review{display:flex;flex-direction:column;gap:10px;padding:16px 0;border-top:1px solid var(--line-soft)}.review:first-child{border-top:0;padding-top:0}.review-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.review-title{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.review-body{font-size:14px;line-height:1.6;white-space:pre-line}.review-body.clamped{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.review-store{display:inline-flex;flex-wrap:wrap;align-items:center;gap:4px 12px;align-self:flex-start;padding:6px 10px;border:1px solid var(--line);border-radius:8px}.review-store:hover{background:var(--surface-2)}.review-reply{border-left:3px solid var(--brand);background:var(--surface-2);border-radius:0 8px 8px 0;padding:10px 12px;display:flex;flex-direction:column;gap:4px;font-size:13px;line-height:1.55}.report-list{display:flex;flex-direction:column}.report-row{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 16px;padding:12px 0;border-top:1px solid var(--line-soft)}.report-row:first-child{border-top:0;padding-top:0}.report-info{display:flex;gap:12px;align-items:flex-start;flex:1 1 360px;min-width:0}.report-icon{flex:0 0 32px;height:32px;border-radius:8px;background:var(--brand-soft);display:inline-flex;align-items:center;justify-content:center}.report-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.plan-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}.plan-card{display:flex;flex-direction:column;gap:12px;padding:16px;border:1px solid var(--line);border-radius:10px}.plan-name{font-size:15px;font-weight:600}.plan-price{font-size:24px;font-weight:600;letter-spacing:-.01em}.auth-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px 16px;background:var(--bg)}.auth-card{width:100%;max-width:400px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:28px 24px;display:flex;flex-direction:column;gap:18px}.auth-card .logo-light,.auth-card .logo-dark{height:28px;align-self:flex-start}.auth-card .logo-dark{display:none}@media (prefers-color-scheme: dark){:root:not([data-theme=light]) .auth-card .logo-light{display:none}:root:not([data-theme=light]) .auth-card .logo-dark{display:block}}:root[data-theme=dark] .auth-card .logo-light{display:none}:root[data-theme=dark] .auth-card .logo-dark{display:block}.auth-card h1{font-size:20px;font-weight:600}.form{display:flex;flex-direction:column;gap:14px}.field{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:500;color:var(--ink-2)}.field .hint{font-weight:400;color:var(--muted);font-size:12px}.input{min-height:40px;padding:0 12px;border-radius:8px;border:1px solid var(--line);background:var(--surface);font-size:14px;color:var(--ink);width:100%}textarea.input{padding:10px 12px;min-height:64px;resize:vertical;font-family:inherit}.form-error{padding:10px 12px;border-radius:8px;background:var(--bad-bg);color:var(--bad-ink);font-size:13px}.form-ok{padding:10px 12px;border-radius:8px;background:var(--good-bg);color:var(--good-ink);font-size:13px}.form-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.btn-danger{color:var(--delta-bad)}.btn-link{background:none;border:0;box-shadow:none;padding:0;min-height:0;color:var(--accent-text);font-weight:500;cursor:pointer;font-size:13px}.btn-link:hover{text-decoration:underline;background:none}.dialog{border:1px solid var(--line);border-radius:var(--radius);padding:0;background:var(--surface);color:var(--ink);box-shadow:var(--shadow-lg);width:min(520px,calc(100vw - 32px));max-height:calc(100vh - 48px)}.dialog-wide{width:min(760px,calc(100vw - 32px))}.dialog::backdrop{background:#0f101173}.dialog-body{padding:20px;display:flex;flex-direction:column;gap:16px}.dialog-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.dialog-head h2{font-size:16px;font-weight:600}.copy-row{display:flex;gap:8px}.copy-row .input{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}.access-grid{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;align-items:center}.access-grid .hint{grid-column:1 / -1;margin-top:-6px}.level-switch{display:inline-flex;border:1px solid var(--line);border-radius:8px;overflow:hidden}.level-switch button{min-height:32px;padding:0 12px;border:0;background:var(--surface);color:var(--ink-2);font-size:13px;cursor:pointer}.level-switch button+button{border-left:1px solid var(--line)}.level-switch button[aria-pressed=true]{background:var(--ink);color:var(--surface);font-weight:600}.level-switch button:disabled{opacity:.4;cursor:not-allowed}.role-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px}.role-card{display:flex;flex-direction:column;gap:10px;padding:16px;border:1px solid var(--line);border-radius:10px}.role-card-head{display:flex;justify-content:space-between;align-items:baseline;gap:8px}.role-modules{display:flex;flex-wrap:wrap;gap:4px}.plain-fieldset{border:0;padding:0;margin:0;min-width:0;display:contents}.avatar img{width:100%;height:100%;object-fit:cover;border-radius:inherit;display:block}.account{display:flex;align-items:center;gap:4px;padding:6px;border:1px solid var(--line);border-radius:10px}.account-open{flex:1 1 auto;min-width:0;display:flex;align-items:center;gap:10px;padding:4px 6px;border:0;border-radius:8px;background:none;color:var(--ink);text-align:left;cursor:pointer}.account-open:hover{background:var(--surface-2)}.account-text{display:flex;flex-direction:column;min-width:0}.account-name{font-size:13px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account .account-out{flex:0 0 auto;display:inline-flex;width:34px;height:34px;border:0;background:none;color:var(--muted)}.account .account-out:hover{background:var(--surface-2);color:var(--ink)}.avatar-xl{width:72px;height:72px;border-radius:16px;font-size:24px}.profile{display:flex;flex-direction:column}.profile-section{display:flex;flex-direction:column;gap:12px;padding:16px 0;border-top:1px solid var(--line-soft)}.profile-section:first-child{border-top:0;padding-top:0}.profile-section:last-child{padding-bottom:0}.profile-photo{flex-direction:row;align-items:center;gap:16px}.profile-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;font-size:14px}.profile-facts>div{display:flex;flex-direction:column;gap:2px;min-width:0;overflow-wrap:anywhere}
