@font-face{font-family:Noto;src:url("/assets/noto-400.ttf");font-display:swap}@font-face{font-family:Noto;src:url("/assets/noto-700.ttf");font-weight:700;font-display:swap}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;font:14px/1.65 Noto,system-ui,sans-serif;color:var(--ink);background:var(--page)}a{color:inherit;text-decoration:none;text-underline-offset:4px}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{touch-action:manipulation}button,summary{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--accent);outline-offset:4px}input,select,textarea{width:100%;min-width:0;padding:11px 12px;border:1px solid var(--line);border-radius:7px;background:var(--field,#fff);color:var(--ink);caret-color:var(--accent)}input::placeholder,textarea::placeholder{color:var(--muted);opacity:1}input:hover,select:hover,textarea:hover{border-color:var(--muted)}input:focus,select:focus,textarea:focus{border-color:var(--accent)}textarea{resize:vertical}label{display:flex;flex-direction:column;gap:6px;font-size:12px;color:var(--muted)}button{transition:background .18s,color .18s,border-color .18s}h1,h2,h3,p{overflow-wrap:anywhere}h1{font-size:28px;line-height:1.35;letter-spacing:-.03em;margin:0 0 8px}h2{font-size:19px;line-height:1.5;letter-spacing:-.02em;margin:0}h3{font-size:16px;margin:0 0 16px}[hidden]{display:none!important}::selection{background:var(--selection);color:var(--ink)}.demo-bar{display:flex;align-items:center;gap:22px;min-height:42px;padding:8px 4vw;background:var(--bar);color:var(--muted);font-size:11px;border-bottom:1px solid var(--line)}.demo-bar>a{margin-right:auto}.demo-bar>a:hover,.demo-bar button:hover{color:var(--ink)}.demo-bar button{color:inherit;border:0;background:none;padding:4px 0;text-decoration:underline;text-underline-offset:4px}.demo-info{position:relative}.demo-info summary{list-style:none;white-space:nowrap}.demo-info summary::-webkit-details-marker{display:none}.demo-info summary:after{content:" +";font-size:13px}.demo-info[open] summary:after{content:" −"}.demo-info p{position:absolute;right:0;top:25px;width:300px;max-width:calc(100vw - 32px);padding:18px;margin:0;background:var(--panel);color:var(--ink);box-shadow:0 12px 40px #0002;z-index:80;font-size:12px;line-height:1.8;border-radius:8px}.demo-info p span{display:block;margin-bottom:8px;font-weight:700}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;border:0;border-radius:7px;padding:10px 17px;background:var(--accent);color:var(--on-accent,#fff);font-weight:700;font-size:13px;white-space:nowrap}.button:hover{background:var(--hover)}.button.secondary,.button.outline{border:1px solid var(--line);color:var(--ink);background:var(--panel)}.button.secondary:hover,.button.outline:hover{background:var(--soft)}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:left;font-variant-numeric:tabular-nums}th{font-size:11px;font-weight:400;white-space:nowrap;background:var(--soft);color:var(--muted);padding:12px 16px}td{padding:17px 16px;border-bottom:1px solid var(--line);font-size:13px;vertical-align:middle}tbody tr:hover{background:var(--row-hover)}td strong{display:block;font-size:14px;font-weight:700}td small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.badge{display:inline-flex;align-items:center;font-size:11px;line-height:1.5;padding:4px 9px;border-radius:5px;white-space:nowrap}.empty{padding:32px 20px;text-align:center;color:var(--muted);background:var(--soft);font-size:13px;margin:0}#status{position:fixed;bottom:22px;right:22px;max-width:min(480px,calc(100vw - 32px));background:var(--ink);color:var(--panel);padding:12px 20px;border-radius:8px;box-shadow:0 8px 30px #0002;z-index:100;font-size:13px}#status:empty{display:none}.two,.form-row,.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.wide{grid-column:1/-1}dialog{color:var(--ink);background:var(--panel);border:0;border-radius:14px;padding:28px;width:min(520px,calc(100vw - 32px));box-shadow:0 24px 90px #0004;max-height:calc(100dvh - 32px);overflow:auto}dialog::backdrop{background:#10202780}.dialog-head,.dialog-actions{display:flex;align-items:center;justify-content:space-between;gap:16px}.dialog-head{margin-bottom:20px}.dialog-head button,.detail-top button{border:0;background:none;color:var(--muted);font-size:25px;line-height:1;padding:8px}.dialog-actions{margin-top:24px}.dialog-actions>.button{margin-left:auto}.delete{border:0;background:none;color:var(--danger);font-size:12px;text-decoration:underline;text-underline-offset:4px;padding:5px}dialog form{display:flex;flex-direction:column;gap:16px}.dialog-head,.dialog-actions{flex-shrink:0}dialog h2{font-size:20px}dialog p{font-size:13px;color:var(--muted)}@media(max-width:700px){h1{font-size:25px}.demo-bar{padding:9px 18px;gap:16px}.demo-info p{position:fixed;top:49px;left:16px;right:16px;width:auto}.form-grid,.form-row{gap:12px}.button{min-height:42px;padding:10px 14px}th,td{padding:12px}dialog{padding:22px}#status{right:16px;bottom:16px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}:root{--ink:#1e3044;--page:#fff;--panel:#fff;--muted:#5a6e83;--accent:#285fbe;--hover:#1c4892;--line:#dce4ed;--soft:#f3f6fa;--bar:#edf2f7;--selection:#c9dafa;--row-hover:#f5f8fc;--danger:#a63c3c}.masthead{display:flex;justify-content:space-between;align-items:center;gap:30px;padding:24px 4vw;border-bottom:1px solid var(--line)}.logo{position:relative;font-size:27px;font-weight:700;letter-spacing:-.03em;line-height:1.2;padding-left:32px}.pulse-mark{position:absolute;left:0;top:3px;width:23px;height:23px;fill:none;stroke:#285fbe;stroke-width:2.5;stroke-linecap:round}.logo small{display:block;font-size:11px;color:var(--muted);font-weight:400;letter-spacing:0;margin-top:5px}.masthead nav{display:flex;gap:25px;color:var(--muted);font-size:12px}.masthead nav a:hover{color:var(--accent)}.masthead .button{font-size:12px}main{max-width:1480px;margin:auto;padding:32px 4vw 48px}.report-head{display:flex;justify-content:space-between;align-items:end;gap:32px}.report-head p{font-size:12px;color:var(--muted);margin:0}.report-filters{display:flex;align-items:end;justify-content:end;flex-wrap:wrap;gap:10px}.report-filters button{border:0;padding:11px 0;background:none;color:var(--muted);font-size:11px;text-decoration:underline;text-underline-offset:4px}.report-filters button:hover{color:var(--accent)}.report-filters label{font-size:11px}.report-filters input,.report-filters select{font-size:12px;padding:9px 10px}.kpis{display:grid;grid-template-columns:repeat(4,1fr);margin:30px 0 38px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.kpis>div{padding:22px 24px;border-right:1px solid var(--line)}.kpis>div:first-child{padding-left:0}.kpis>div:last-child{border:0}.kpis span{display:block;font-size:12px;color:var(--muted);margin-bottom:6px}.kpis strong{font-size:30px;font-weight:400;letter-spacing:-.03em;font-variant-numeric:tabular-nums;display:block;line-height:1.4}.kpis>div:first-child strong{color:#285fbe}.charts{display:grid;grid-template-columns:1.6fr 1fr;gap:48px;padding-bottom:34px;border-bottom:1px solid var(--line)}.chart-title{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:21px}.charts h2{font-size:16px}.legend{display:flex;gap:12px;color:var(--muted);font-size:11px}.legend span{display:flex;align-items:center;gap:5px}.legend i{display:block;width:8px;height:8px;background:#285fbe;border-radius:2px}.legend span:nth-child(2) i{background:#7d93b3}.chart{min-height:230px}.chart svg{display:block;width:100%;height:auto}.channel-row{margin:24px 0}.channel-label{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:12px;color:var(--muted);margin-bottom:9px}.channel-label strong{font-size:13px;font-weight:700;color:var(--ink);font-variant-numeric:tabular-nums}.channel-track{height:7px;background:#e8eff8;border-radius:4px;overflow:hidden}.channel-fill{height:100%;background:#285fbe;transition:width .22s ease-out}.channel-row:nth-child(2) .channel-fill{background:#6186bd}.channel-row:nth-child(3) .channel-fill{background:#708bae}.chart-title>span{font-size:11px;color:var(--muted)}.source-section{margin-top:34px}.source-head{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:20px}.source-head p{font-size:11px;color:var(--muted);margin:7px 0 0}.source-section table{min-width:760px}.source-section td{font-size:12px}.source-section td:nth-child(n+3),.source-section th:nth-child(n+3){text-align:right}.source-section td button{border:1px solid var(--line);background:white;color:#285fbe;border-radius:6px;padding:6px 11px;font-size:11px;min-height:34px}.source-section td button:hover{background:#edf3fc}tfoot th,tfoot td{border-top:1px solid #a7bbd3;background:#eff4fa;font-weight:700;color:#2a4969}.import-section{display:grid;grid-template-columns:1fr 1.3fr;gap:64px;margin-top:44px;padding:32px;background:#f1f5fa;border-radius:12px}.import-section>div>p{color:var(--muted);font-size:13px;max-width:330px;margin:12px 0}.import-section form{display:flex;flex-direction:column;gap:15px}.import-actions{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:5px}.import-actions>button:first-child{border:0;padding:8px 0;background:none;text-decoration:underline;text-underline-offset:4px;color:#285fbe;font-size:12px}.field-guide{font-size:11px;color:var(--muted)}.field-guide summary{text-decoration:underline;text-underline-offset:4px}.field-guide p{margin:9px 0 0}.field-guide code{font:11px ui-monospace,monospace;overflow-wrap:anywhere}.import-section #import-error{font-size:12px;color:var(--danger);margin:0}#import-error:empty{display:none}input[type=file]{font-size:12px;padding:10px}input[type=file]::file-selector-button{border:0;background:#e6edf7;color:#2a4e84;padding:6px 10px;border-radius:5px;font:inherit;margin-right:10px}.dialog-actions .delete{font-size:12px}@media(max-width:1100px){.report-head{align-items:start;flex-direction:column;gap:22px}.report-filters{justify-content:start}.kpis>div{padding:20px 16px}.kpis strong{font-size:26px}.charts{gap:30px}.import-section{gap:36px}.masthead nav{gap:16px}}@media(max-width:700px){.masthead{padding:20px 18px;flex-wrap:wrap;gap:21px}.masthead nav{order:3;flex-basis:100%;justify-content:space-between;padding-top:15px;border-top:1px solid var(--line)}.masthead .button{font-size:11px;padding:9px 10px}.logo{font-size:25px}main{padding:26px 18px 38px}.report-head{gap:22px}.report-filters{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:12px}.report-filters label:last-of-type{grid-column:1}.report-filters button{text-align:right;align-self:end;min-height:42px}.kpis{grid-template-columns:1fr 1fr;margin:26px 0 30px}.kpis>div{padding:17px!important}.kpis>div:nth-child(2){border-right:0}.kpis>div:nth-child(n+3){border-top:1px solid var(--line)}.kpis strong{font-size:23px}.charts{grid-template-columns:1fr;gap:28px}.charts .channels{padding-top:24px;border-top:1px solid var(--line)}.chart{min-height:160px}.chart-title{margin-bottom:15px}.channel-row{margin:22px 0}.channel-row:last-child{margin-bottom:0}.source-head{align-items:start;flex-direction:column;gap:17px}.source-head p{max-width:270px}.source-section table{min-width:650px}.source-section td,.source-section th{font-size:11px;padding:12px 10px}.import-section{grid-template-columns:1fr;padding:24px 20px;gap:18px;margin-top:32px}.import-section>div>p{max-width:none}.import-actions{gap:12px}.import-actions .button{font-size:12px}}

/* Touch targets and passive status feedback. */
#status{pointer-events:none}@media(max-width:700px){.button{min-height:44px}.demo-bar>a,.demo-bar button,.demo-info summary{display:inline-flex;align-items:center;min-height:44px}.demo-bar{padding-top:1px;padding-bottom:1px}.dialog-head button,.detail-top button{min-width:44px;min-height:44px}}
@media(max-width:700px){.source-section td button,.import-actions>button:first-child,.report-filters button{min-height:44px}.source-section table td:last-child,.source-section table th:last-child{position:sticky;right:0;background:var(--panel);box-shadow:-6px 0 12px #1e30440a}.source-section table th:last-child{background:var(--soft)}.masthead nav a{display:flex;align-items:center;min-height:44px}}

.analysis-workspace{margin:34px 0;padding-bottom:30px;border-bottom:1px solid var(--line)}.analysis-heading,.snapshot-preview-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.analysis-heading h2{font-size:19px}.analysis-workspace h3{font-size:16px;margin:0 0 14px}.analysis-shortcuts{display:flex;gap:12px;flex-wrap:wrap}.analysis-workspace button:not(.button){min-height:44px;padding:9px 13px;border:1px solid var(--line);border-radius:7px;background:var(--panel);color:var(--accent)}.analysis-workspace button:not(.button):hover{background:var(--soft)}.comparison-block{margin-bottom:30px}.comparison-block>p,.analysis-description,.saved-report p,.saved-reports .source-head p{font-size:12px;color:var(--muted);margin:6px 0 14px}.comparison-block table{min-width:430px}.comparison-block td,.comparison-block tbody th{padding:12px 16px;font-size:13px}.comparison-block td{text-align:right}.comparison-block thead th:not(:first-child){text-align:right}.analysis-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px}.target-block form{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:end}.target-block label:first-child{grid-column:1/-1}.target-block .button{justify-self:start}.target-block #target-error{color:var(--danger);font-size:12px}.target-block #target-error:empty{display:none}#target-result{padding-top:16px;font-size:13px}#target-result p{margin:8px 0}#target-result progress{display:block;width:100%;height:12px;accent-color:var(--accent);margin:12px 0}.analysis-exception,.saved-report{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:16px 0;border-bottom:1px solid var(--line)}.analysis-exception strong,.saved-report strong{font-size:13px}.analysis-exception p{font-size:12px;color:var(--danger);margin:6px 0 0}.analysis-exception button{flex-shrink:0}.saved-reports{margin-top:32px}.saved-reports .source-head{margin-bottom:0}.saved-report p{margin:5px 0 0}.saved-report>div:last-child{display:flex;gap:10px;flex-shrink:0}#snapshot-preview{padding:22px;background:var(--soft);margin-top:20px;border-radius:10px}#snapshot-summary{font-size:12px;color:var(--muted)}#snapshot-preview .table-wrap{margin-top:18px}#snapshot-preview table{min-width:500px}#report-error{color:var(--danger)}.analysis-workspace [type=number]{font-variant-numeric:tabular-nums}@media(max-width:700px){.analysis-heading{align-items:flex-start;flex-direction:column}.analysis-columns{grid-template-columns:1fr;gap:28px}.analysis-exception{align-items:flex-start}.analysis-exception button{padding-inline:9px!important}.saved-report{align-items:flex-start;flex-direction:column}.saved-report>div:last-child{flex-wrap:wrap}.snapshot-preview-head{align-items:flex-start;flex-direction:column}#snapshot-preview{padding:16px}.target-block form{gap:12px}.analysis-shortcuts{gap:10px}}
