:root{color-scheme:light;--navy:#102831;--navy-soft:#203d46;--ink:#172d35;--muted:#586d78;--line:#dce5e9;--canvas:#f3f6f8;--white:#fff;--teal:#086c5a;--teal-dark:#075847;--green:#137252;--red:#b33e4b;--amber:#845d16;--shadow:0 3px 16px rgb(16 40 49 / 3%);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.55;font-weight:400;color:var(--ink);background:var(--canvas);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.46}a{color:var(--teal)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:3px solid #21a58b;outline-offset:4px}input:focus-visible,select:focus-visible{outline-offset:2px}button{color:inherit}h1,h2,h3,h4,p{margin:0}h1,h2,h3,h4{line-height:1.25;letter-spacing:-.025em}h1{font-size:1.35rem;font-weight:650}h2{font-size:1.9rem;font-weight:650}h3{font-size:1.13rem;font-weight:650}h4{font-size:1rem;font-weight:650}p+p{margin-top:.85rem}svg{display:block}svg text{font-family:inherit}.muted{color:var(--muted)}.positive{color:var(--green)}.negative,.danger-text{color:var(--red)}.nowrap{white-space:nowrap}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}.skip-link{position:fixed;top:-100px;left:1rem;z-index:200;background:#fff;color:var(--navy);padding:.8rem 1rem;border-radius:6px}.skip-link:focus{top:1rem}.app-shell{min-height:100vh}.sidebar{width:228px;background:var(--navy);color:#d2e1e5;position:fixed;inset:0 auto 0 0;z-index:20;display:flex;flex-direction:column;padding:32px 16px 20px}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:#fff;padding:0 7px 37px}.brand-mark{color:#84dac5;flex-shrink:0}.brand strong{display:block;font-size:1.18rem;font-weight:620;letter-spacing:-.035em;white-space:nowrap}.brand-subtitle{display:block;color:#a9c0c8;font-size:.76rem;letter-spacing:.015em;margin-top:3px;white-space:nowrap}.nav-label{font-size:.67rem;letter-spacing:.13em;font-weight:650;color:#91aab3;margin:0 12px 13px}.main-nav{display:flex;flex-direction:column;gap:6px}.nav-item{border:0;display:flex;align-items:center;gap:11px;width:100%;text-align:left;color:#c6d7dc;background:transparent;border-radius:7px;min-height:46px;padding:12px;font-size:.87rem;font-weight:500;line-height:1.3}.nav-item svg{width:19px;height:19px;stroke:currentColor;stroke-width:1.7;fill:none;flex-shrink:0}.nav-item:hover{background:#193640;color:#fff}.nav-item[aria-current="page"]{background:#24454d;color:#b0f0df;box-shadow:inset 3px 0 0 #7cd1bb}.sidebar-bottom{margin-top:auto;padding-top:28px}.privacy-note{display:flex;align-items:flex-start;gap:9px;border-top:1px solid #35505a;padding:21px 10px 3px;margin-top:21px;color:#b4c8cf;font-size:.77rem;line-height:1.5}.privacy-note svg{width:19px;height:19px;flex-shrink:0;stroke:#8bb9ac;stroke-width:1.6;fill:none;margin-top:1px}.workspace{margin-left:228px;min-height:100vh;display:flex;flex-direction:column}.topbar{background:#fff;border-bottom:1px solid var(--line);padding:24px 34px;display:flex;justify-content:space-between;align-items:center;gap:24px;min-height:109px}.eyebrow{color:var(--muted);font-size:.69rem;letter-spacing:.12em;font-weight:700;margin-bottom:9px;line-height:1.3}.page-heading .eyebrow{font-size:.61rem;color:#6a7c85;margin-bottom:5px}.page-heading>p:last-child{font-size:.87rem;color:var(--muted);margin-top:5px}.topbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-shrink:0}.data-status{font-size:.77rem;padding:6px 10px;border:1px solid var(--line);border-radius:5px;background:#f8fafb;white-space:nowrap;color:#4b626d}.button{min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:9px 15px;border:1px solid transparent;border-radius:6px;font-size:.875rem;font-weight:600;line-height:1.4;text-decoration:none;transition:background .15s,border-color .15s;white-space:nowrap}.button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;flex-shrink:0}.button-primary{background:var(--teal);color:#fff;border-color:var(--teal)}.button-primary:hover{background:var(--teal-dark);border-color:var(--teal-dark)}.button-secondary{background:#fff;color:#29434d;border-color:#cad8de}.button-secondary:hover{background:#f1f6f8;border-color:#aabdc6}.button-quiet{background:transparent;color:#48616d}.button-quiet:hover{background:#eaf0f3}.text-button{border:0;background:transparent;color:var(--teal);padding:7px 0;min-height:38px;font-size:.875rem;font-weight:600;text-align:left}.text-button:hover{text-decoration:underline}.danger-text{color:var(--red)}main{width:100%;max-width:1690px;margin:0 auto;padding:30px 34px 40px;flex:1}main:focus{outline:none}.app-message:empty{display:none}.app-message{margin-bottom:20px}.hero{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:23px}.hero h2{font-size:1.9rem}.hero p:not(.eyebrow){font-size:.94rem;max-width:740px;color:var(--muted);margin-top:10px}.hero-note{font-size:.77rem;white-space:nowrap;color:#617680;border-left:1px solid #cbd9df;padding:11px 0 11px 22px}.notice{border:1px solid #cadce1;background:#eff7f9;border-radius:7px;padding:15px 18px;font-size:.875rem;line-height:1.55}.notice strong{font-weight:650}.notice-demo{display:flex;gap:11px;align-items:flex-start;margin-bottom:22px;background:#eaf3f4;border-color:#d2e4e7;color:#365c65}.notice-demo svg{height:19px;width:19px;flex-shrink:0;stroke:#3b727b;fill:none;stroke-width:1.8;margin-top:2px}.notice-warning{border-color:#e4d7b8;background:#fff9ed;color:#71521c}.notice-error{border-color:#edcbd1;background:#fff2f4;color:#8d2e3f}.notice-success{border-color:#bddfcf;background:#eef9f3;color:#205d43}.notice ul{padding-left:20px;margin:9px 0 0}.notice li+li{margin-top:5px}.card{background:var(--white);border:1px solid var(--line);border-radius:9px;box-shadow:var(--shadow);padding:24px;margin-bottom:22px}.card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:23px}.card-header p:not(.eyebrow){color:var(--muted);font-size:.875rem;margin-top:7px}.card-header .eyebrow{margin-bottom:7px}.card-header .scope-label{font-size:.8rem}.field{min-width:0;display:flex;flex-direction:column;gap:7px}.field label{font-size:.875rem;font-weight:550;color:#415a65}.field input,.field select,select,input[type="search"]{color:#29434e;background:#fff;border:1px solid #cfdae0;border-radius:5px;min-height:42px;width:100%;padding:9px 12px;font-size:.875rem;line-height:1.5}select{appearance:none;padding-right:34px!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23566f7a' stroke-width='1.6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:10px 7px}.field input:hover,.field select:hover,select:hover,input[type="search"]:hover{border-color:#9db1bb}.field input::placeholder{color:#74858d}.filters{padding:19px 22px 14px;display:grid;grid-template-columns:1.22fr 1fr 1fr 1fr auto;gap:15px;align-items:end}.filters .button{margin-bottom:0}.check-field{display:flex;align-items:flex-start;gap:9px;font-size:.875rem;color:#4b626d;line-height:1.5;cursor:pointer}.check-field input{margin:3px 0 0;accent-color:var(--teal);width:16px;height:16px;flex-shrink:0}.comparable-field{grid-column:1/-1;font-size:.8rem;padding-top:2px}.kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:23px}.kpi{border:1px solid var(--line);border-radius:8px;background:#fff;padding:20px 21px;box-shadow:var(--shadow);min-width:0;position:relative}.kpi-label{font-size:.83rem;color:#526974;font-weight:550;margin-bottom:12px}.kpi-value{font-size:1.75rem;font-weight:650;line-height:1.15;letter-spacing:-.045em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.kpi-change{font-size:.8rem;line-height:1.45;margin-top:12px;font-variant-numeric:tabular-nums}.kpi-change span{margin-left:4px}.kpi-note{font-size:.75rem;color:var(--muted);margin-top:6px}.chart-card{padding:25px 24px 17px}.chart-card .card-header{margin-bottom:17px}.segmented-control{display:inline-flex;gap:3px;background:#f0f4f6;border:1px solid #e0e7eb;border-radius:6px;padding:3px;flex-shrink:0}.segmented-control button{background:transparent;border:1px solid transparent;border-radius:4px;padding:7px 13px;min-height:34px;color:#526873;font-size:.8rem;font-weight:600;white-space:nowrap}.segmented-control button[aria-pressed="true"]{background:#fff;color:#174a43;border-color:#d6e1e5;box-shadow:0 1px 3px rgb(16 40 49 / 7%)}.segmented-control button:hover{color:var(--teal)}.chart-legend{display:flex;gap:20px;align-items:center;flex-wrap:wrap;font-size:.77rem;color:#556d78;margin:0 0 7px}.chart-legend>span{display:flex;gap:7px;align-items:center}.legend-swatch{display:inline-block;width:9px;height:9px;border-radius:2px}.legend-total{background:#1c4b5b}.legend-positive{background:#25836c}.legend-negative{background:#c56b76}.chart-container{width:100%;overflow-x:auto;overscroll-behavior-x:contain;padding:4px 0 0}.chart-container svg{width:100%;min-width:700px;height:auto;display:block}.chart-caption{font-size:.77rem;color:var(--muted);padding:13px 0 0;border-top:1px solid #edf1f3;line-height:1.5}.overview-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:22px;align-items:start}.overview-grid .card{margin-bottom:0;min-height:100%}.small-label{font-size:.72rem;letter-spacing:.025em;color:#637981;border:1px solid #dce6e8;padding:4px 8px;border-radius:4px}.insights-card .button{margin-top:17px}.insight{font-size:.9rem;line-height:1.65;margin-bottom:15px;color:#455e69;padding-left:16px;border-left:2px solid #cfdfdf}.insight strong{color:var(--ink);font-weight:650}.insight:last-child{margin-bottom:0}.rank-item{margin-bottom:18px}.rank-item:last-child{margin-bottom:0}.rank-item-header,.rank-header,.rank-row{display:flex;justify-content:space-between;align-items:baseline;gap:16px;font-size:.875rem}.rank-item strong{font-size:.875rem;font-weight:600}.rank-item small{font-size:.75rem;color:var(--muted)}.bar-track{height:6px;background:#edf2f4;border-radius:8px;margin-top:8px;overflow:hidden}.bar-fill{height:100%;background:var(--teal);border-radius:8px;min-width:2px}.bar-fill.negative{background:var(--red)}.ranking-card .text-button{margin-top:14px}.section-intro{margin-bottom:25px;max-width:880px}.section-intro p:not(.eyebrow){color:var(--muted);font-size:.94rem;line-height:1.65;margin-top:12px}.section-intro .scope-label{font-size:.875rem}.workflow-steps{display:flex;gap:0;margin:3px 0 24px;border-bottom:1px solid var(--line)}.workflow-steps span{font-size:.875rem;color:var(--muted);padding:0 25px 14px 0;margin-right:24px;position:relative}.workflow-steps span.active{color:var(--teal);font-weight:650}.workflow-steps span.active:after{content:"";position:absolute;bottom:-1px;left:0;width:calc(100% - 25px);height:3px;background:var(--teal);border-radius:2px 2px 0 0}.import-grid{display:grid;grid-template-columns:minmax(0,2.45fr) minmax(240px,1fr);gap:23px;align-items:start}.import-main{min-width:0}.upload-card h3{margin-bottom:18px}.dropzone{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border:1.5px dashed #aebfc9;background:#f7fafb;border-radius:7px;min-height:207px;padding:22px;position:relative;cursor:pointer;gap:7px}.dropzone:hover,.dropzone.dragover{background:#edf7f5;border-color:#3c8a78}.dropzone:focus-within{outline:3px solid #21a58b;outline-offset:3px}.dropzone strong{font-size:.96rem;font-weight:600}.dropzone>span:not(.upload-icon){font-size:.8rem;color:var(--muted)}.upload-icon{background:#e6f0f1;width:43px;height:43px;padding:11px;border-radius:9px;margin-bottom:7px;color:#43756f}.upload-icon svg{width:100%;height:100%;stroke:currentColor;fill:none;stroke-width:1.7}.dropzone input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.file-info{font-size:.8rem;margin:12px 0 18px}.button-row{display:flex;flex-wrap:wrap;gap:10px}.settings-grid{display:grid;grid-template-columns:1.2fr 1.2fr 1fr;gap:15px}.mapping-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.mapping-grid .field select{min-width:0}.import-actions{display:flex;align-items:center;justify-content:space-between;gap:24px}.import-actions .check-field{max-width:590px}.import-help .card{padding:23px}.import-help .card>p{font-size:.875rem;color:var(--muted);line-height:1.6;margin-top:12px}.import-help .card>.eyebrow{font-size:.67rem;margin-top:0}.import-help h3{font-size:1.06rem;line-height:1.4}.field-glossary{margin:22px 0 0}.field-glossary dt{font-size:.83rem;font-weight:650;margin-top:15px;color:#35505a}.field-glossary dd{font-size:.82rem;color:var(--muted);margin:3px 0 0;line-height:1.55}.help-example .button{margin-top:18px;width:100%}.import-help>.text-button{font-size:.8rem;margin-top:-5px}.import-preview{margin-bottom:22px}.table-wrap{overflow:auto;width:100%;overscroll-behavior-x:contain}.data-table{border-collapse:collapse;width:100%;font-size:.83rem;font-variant-numeric:tabular-nums;line-height:1.55}.data-table th{font-size:.76rem;font-weight:650;text-align:left;color:#5b727d;background:#f5f8fa;border-top:1px solid #e5ecef;border-bottom:1px solid #dce6eb;padding:12px 14px;white-space:nowrap}.data-table td{border-bottom:1px solid #e9eef1;padding:15px 14px;vertical-align:middle}.data-table td:first-child{font-weight:550;color:#2b4651}.data-table th:first-child,.data-table td:first-child{padding-left:13px}.data-table th.numeric,.data-table td.numeric,.data-table .num{text-align:right;white-space:nowrap}.data-table tbody tr:last-child td{border-bottom:0}.data-table tbody tr:hover{background:#f9fbfc}.data-table tfoot{font-weight:650;background:#f4f8f8}.data-table tfoot td{border-top:1px solid #cfdfe0}.data-table caption{text-align:left;font-size:.8rem;color:var(--muted);padding:0 0 13px}.detail-toolbar{display:flex;gap:20px;align-items:end;margin-bottom:24px}.detail-toolbar .field{min-width:180px}.detail-toolbar .search-field{flex:1}.method-details summary{cursor:pointer;font-size:.94rem;font-weight:650;padding-right:20px}.method-details p{font-size:.875rem;max-width:900px;color:var(--muted);margin-top:14px}.method-details .text-button{margin-top:9px}.method-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:stretch}.method-grid .card{margin-bottom:0;padding:25px}.method-grid .card p{font-size:.9rem;color:#4b6370;margin-top:15px;line-height:1.7}.method-grid h3{margin-bottom:18px}.formula{border-left:3px solid #8fbdae;padding:10px 13px;background:#f0f7f5;color:#295b4e;font-size:.875rem;font-weight:550;margin-top:10px;overflow-wrap:anywhere}.method-sequence{margin:0;padding-left:23px;font-size:.9rem;color:#46616b;columns:2;column-gap:24px}.method-sequence li{padding:3px 0 7px;break-inside:avoid}.report-toolbar{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:23px}.executive-report{padding:38px 42px;max-width:1100px;margin:0 auto}.report-heading{border-bottom:1px solid var(--line);padding-bottom:24px;margin-bottom:26px}.report-heading h2{font-size:1.8rem}.report-heading p{color:var(--muted);font-size:.875rem;margin-top:9px}.report-lead{font-size:1.13rem;line-height:1.7;color:#2b4c58;margin:18px 0 28px}.executive-report h3{margin:29px 0 14px;font-size:1.12rem}.executive-report h4{margin:24px 0 12px}.executive-report p{line-height:1.75;font-size:.94rem}.executive-report ul,.executive-report ol{font-size:.94rem;line-height:1.7;padding-left:22px}.executive-report li{margin-bottom:9px}.executive-report .kpi-grid{margin-top:24px}.executive-report .kpi{box-shadow:none;background:#f7fafb}.executive-report .kpi-value{font-size:1.45rem}.executive-report .chart-container{margin:18px 0}.executive-report .notice{margin-top:20px}.report-meta{color:var(--muted);font-size:.8rem;display:flex;flex-wrap:wrap;gap:8px 20px}.report-note{border-top:1px solid var(--line);padding-top:18px;margin-top:32px;color:var(--muted);font-size:.8rem!important}.empty-state{text-align:center;padding:45px 25px;color:var(--muted);font-size:.94rem}.empty-state h3{color:var(--ink);margin-bottom:10px}.empty-state .button{margin-top:18px}.scope-label{color:var(--muted)}.workspace-footer{border-top:1px solid var(--line);padding:18px 34px;display:flex;justify-content:space-between;gap:20px;font-size:.73rem;color:#607681}.noscript-message{position:fixed;inset:15px 15px auto;background:#fff0f3;color:#8d2e3f;border:1px solid #e7b5bf;border-radius:7px;padding:20px;z-index:500}.validation-summary{margin-bottom:16px}.validation-list{padding-left:21px}.validation-list li{margin:7px 0}.scope-chip{display:inline-flex;padding:4px 8px;background:#f0f5f6;color:#4a6570;border-radius:4px;font-size:.76rem}.table-description{font-size:.8rem;color:var(--muted);margin:14px 0 0}.two-columns{display:grid;grid-template-columns:1fr 1fr;gap:20px}
@media(min-width:1600px){.hero h2{font-size:2.1rem}.topbar{padding-left:43px;padding-right:43px}main{padding-left:43px;padding-right:43px}.kpi-value{font-size:1.95rem}}
@media(max-width:1250px){.topbar{padding:21px 25px;gap:15px}.topbar-actions{gap:7px}.topbar-actions .button{padding:9px 11px}.topbar-actions .data-status{max-width:150px;overflow:hidden;text-overflow:ellipsis}.page-heading>p:last-child{max-width:320px}.hero-note{display:none}main{padding:28px 25px 35px}.filters{grid-template-columns:1.15fr 1fr 1fr 1fr;padding-left:19px;padding-right:19px}.filters #reset-filters{grid-column:4;grid-row:2;font-size:.8rem;min-height:30px;justify-self:end;padding:3px 0}.filters .comparable-field{grid-column:1/4;grid-row:2;align-self:center}.kpi-grid{gap:12px}.kpi{padding:18px 16px}.kpi-value{font-size:1.55rem}.overview-grid{gap:18px;grid-template-columns:1fr 1fr}.card{padding:21px}.import-grid{grid-template-columns:minmax(0,2.25fr) minmax(215px,1fr);gap:18px}.settings-grid{grid-template-columns:1fr 1fr}.settings-grid .field:last-child{grid-column:1/-1}.import-actions{align-items:stretch;flex-direction:column;gap:17px}.import-actions .button{align-self:flex-start}.card-header{gap:12px}.detail-toolbar{flex-wrap:wrap;gap:15px}.detail-toolbar .search-field{min-width:220px}.executive-report{padding:30px}.method-grid{gap:18px}}
@media(max-width:1050px){.sidebar{width:202px;padding:27px 12px 17px}.brand{gap:8px;padding-left:4px;padding-right:4px}.brand strong{font-size:1.05rem}.brand-subtitle{font-size:.68rem}.brand-mark svg{width:29px;height:29px}.nav-item{font-size:.8rem;gap:8px;padding:12px 10px}.nav-item svg{width:18px;height:18px}.workspace{margin-left:202px}.topbar{align-items:flex-start}.topbar-actions{flex-wrap:wrap;max-width:290px}.data-status{order:3}.page-heading>p:last-child{max-width:250px}.hero h2{font-size:1.65rem}.hero p:not(.eyebrow){font-size:.9rem}.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.kpi-value{font-size:1.85rem}.overview-grid{grid-template-columns:1fr}.card-header{flex-wrap:wrap}.import-grid{grid-template-columns:1fr}.import-help{display:grid;grid-template-columns:1.4fr 1fr;gap:18px;align-items:start}.import-help .card{margin:0}.import-help>.text-button{grid-column:1/-1}.settings-grid{grid-template-columns:1.2fr 1.2fr 1fr}.settings-grid .field:last-child{grid-column:auto}.method-grid{grid-template-columns:1fr}.method-grid .card{padding:25px}.workspace-footer{padding-left:25px;padding-right:25px}.workspace-footer span:last-child{display:none}}
@media(max-width:800px){.sidebar{position:static;width:auto;padding:18px 20px 0;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:15px}.brand{padding:0}.brand strong{font-size:1.15rem}.brand-subtitle{font-size:.72rem}.brand-mark svg{width:30px;height:30px}.nav-label{display:none}.main-nav{order:3;flex-direction:row;width:100%;overflow-x:auto;gap:4px;padding:0 0 10px}.nav-item{width:auto;flex-shrink:0;white-space:nowrap;font-size:.83rem;padding:10px 12px;min-height:41px}.nav-item svg{width:17px;height:17px}.nav-item[aria-current="page"]{box-shadow:none;background:#284b53}.sidebar-bottom{margin:0;padding:0}.sidebar-bottom .nav-item{padding:8px}.sidebar-bottom .nav-item span{display:none}.sidebar-bottom .nav-item svg{width:21px;height:21px}.privacy-note{display:none}.workspace{margin-left:0}.topbar{padding:21px 23px;align-items:center}.page-heading .eyebrow{display:none}.page-heading>p:last-child{font-size:.8rem;max-width:290px}.topbar-actions{max-width:none;flex-wrap:nowrap}.topbar-actions .data-status{display:none}.topbar-actions .button{font-size:.8rem;min-height:39px}.topbar-actions #upload-shortcut{padding-left:11px;padding-right:11px}main{padding:25px 23px 33px}.hero{margin-bottom:20px}.hero h2{font-size:1.8rem}.hero p:not(.eyebrow){font-size:.94rem}.filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.filters #reset-filters{grid-column:2;grid-row:3}.filters .comparable-field{grid-column:1;grid-row:3;align-self:start;font-size:.75rem}.notice-demo{font-size:.82rem}.section-intro h2{font-size:1.75rem}.import-help{grid-template-columns:1.3fr 1fr}.settings-grid{grid-template-columns:1fr 1fr 1fr}.settings-grid label{font-size:.8rem}.executive-report{padding:28px}.report-toolbar .button{font-size:.8rem}.method-sequence{columns:2}.workspace-footer{padding-left:23px;padding-right:23px}.chart-container svg{min-width:730px}.chart-caption{font-size:.76rem}}
@media(max-width:520px){.sidebar{padding:16px 16px 0;gap:15px}.brand strong{font-size:1.1rem}.brand-subtitle{font-size:.7rem}.main-nav{gap:3px;padding-bottom:11px}.nav-item{font-size:.81rem;padding:10px}.nav-item svg{width:16px;height:16px}.topbar{padding:19px 17px;align-items:flex-start;gap:10px}.page-heading h1{font-size:1.14rem}.page-heading>p:last-child{max-width:205px;font-size:.77rem;line-height:1.55}.topbar-actions{flex-direction:column;align-items:stretch;gap:6px}.topbar-actions .button{font-size:.75rem;min-height:34px;padding:7px 9px!important}.topbar-actions .button svg{width:15px;height:15px}main{padding:23px 16px 30px}.eyebrow{font-size:.64rem}.hero h2{font-size:1.65rem;line-height:1.3;max-width:310px}.hero p:not(.eyebrow){font-size:.875rem;line-height:1.65;margin-top:11px}.notice{padding:13px 14px;font-size:.82rem}.notice-demo{gap:9px;margin-bottom:17px}.notice-demo svg{width:17px;height:17px}.card{border-radius:7px;padding:18px;margin-bottom:17px}.filters{padding:16px;gap:13px 11px}.field{gap:6px}.field label{font-size:.79rem;line-height:1.45}.field select,.field input,select,input[type="search"]{font-size:.81rem;min-height:40px;padding:9px 10px}.filters #reset-filters{grid-row:4;grid-column:1/-1;justify-self:start;padding-left:0;font-size:.79rem}.filters .comparable-field{grid-row:3;grid-column:1/-1;align-items:flex-start;font-size:.76rem}.check-field input{width:15px;height:15px}.kpi-grid{gap:11px;margin-bottom:17px}.kpi{padding:16px 13px;border-radius:7px}.kpi-label{font-size:.76rem;line-height:1.45;min-height:34px;margin-bottom:9px}.kpi-value{font-size:1.53rem}.kpi-change{font-size:.73rem;margin-top:10px}.kpi-note{font-size:.72rem}.card-header{gap:15px;margin-bottom:18px}.card-header h3{font-size:1rem}.card-header .eyebrow{font-size:.62rem}.card-header p:not(.eyebrow){font-size:.8rem}.card-header .scope-label{font-size:.75rem}.chart-card{padding:19px 15px 14px}.chart-card .card-header{margin-bottom:16px}.chart-legend{gap:8px 14px;font-size:.7rem;margin-bottom:12px}.legend-swatch{width:8px;height:8px}.segmented-control button{font-size:.77rem;min-height:34px;padding:6px 13px}.chart-container svg{min-width:720px}.chart-caption{font-size:.73rem;line-height:1.6}.overview-grid{gap:17px}.insight{font-size:.84rem;padding-left:13px;margin-bottom:14px}.rank-item{margin-bottom:17px}.rank-item-header,.rank-header,.rank-row{font-size:.83rem}.rank-item strong{font-size:.83rem}.overview-grid .button{font-size:.8rem}.section-intro{margin-bottom:20px}.section-intro h2{font-size:1.6rem}.section-intro p:not(.eyebrow){font-size:.875rem;margin-top:10px}.workflow-steps{margin-bottom:19px}.workflow-steps span{font-size:.81rem;margin-right:23px;padding-right:10px;padding-bottom:11px}.workflow-steps span.active:after{width:calc(100% - 10px)}.import-grid{gap:17px}.dropzone{min-height:210px;padding:21px 16px}.dropzone strong{font-size:.9rem}.dropzone>span:not(.upload-icon){font-size:.74rem}.upload-card h3{font-size:1rem}.button-row{gap:7px}.button-row .button{font-size:.77rem;padding:9px 10px}.settings-grid{grid-template-columns:1fr;gap:15px}.settings-grid .field:last-child{grid-column:auto}.settings-grid label{font-size:.82rem}.mapping-grid{grid-template-columns:1fr;gap:14px}.import-help{display:block}.import-help .card{margin-bottom:17px}.import-help>.text-button{font-size:.8rem}.import-help .card h3{font-size:1rem}.import-help .card p{font-size:.82rem}.import-actions{gap:16px}.import-actions .check-field{font-size:.82rem}.import-actions .button{width:100%}.detail-toolbar{gap:15px}.detail-toolbar .field{min-width:0;flex:1 1 100%}.detail-toolbar .button{width:100%;font-size:.81rem}.data-table{font-size:.79rem}.data-table th{font-size:.73rem;padding:11px 12px}.data-table td{padding:13px 12px}.report-toolbar{display:grid;grid-template-columns:1fr 1fr;gap:8px}.report-toolbar .button{font-size:.77rem;padding:9px 10px}.report-toolbar .button-primary{grid-column:1/-1}.executive-report{padding:22px 19px}.report-heading h2{font-size:1.5rem}.report-heading p{font-size:.8rem}.report-lead{font-size:1rem;margin-bottom:23px}.executive-report h3{font-size:1.03rem;margin-top:24px}.executive-report p,.executive-report ul,.executive-report ol{font-size:.86rem}.executive-report .kpi-grid{grid-template-columns:1fr 1fr}.executive-report .kpi{padding:13px 11px}.executive-report .kpi-value{font-size:1.22rem}.executive-report .kpi-label{font-size:.73rem}.executive-report .chart-container{margin-left:-4px;width:calc(100% + 8px)}.method-grid{gap:17px}.method-grid .card{padding:21px 19px}.method-grid .card p{font-size:.86rem}.method-sequence{columns:1;font-size:.86rem}.formula{font-size:.81rem;padding:10px 11px}.workspace-footer{padding:17px 16px;font-size:.7rem}.two-columns{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
@media print{@page{size:A4;margin:15mm}body{background:#fff;color:#172d35;font-size:11pt}.sidebar,.topbar,.workspace-footer,.skip-link,.app-message,.report-toolbar,.section-intro,#view-overview,#view-import,#view-drivers,#view-details,#view-method,noscript{display:none!important}.workspace{margin:0;display:block}main{padding:0;max-width:none}#view-report{display:block!important}#executive-report{display:block!important;border:0;border-radius:0;box-shadow:none;padding:0;max-width:none;margin:0}#executive-report .chart-container{overflow:visible;width:100%}#executive-report svg{min-width:0!important;width:100%;height:auto}#executive-report h2{font-size:23pt}#executive-report h3{font-size:14pt;break-after:avoid}#executive-report p,#executive-report li{font-size:10pt;line-height:1.5}#executive-report .notice{break-inside:avoid}#executive-report .kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;break-inside:avoid}#executive-report .kpi{padding:12px 10px;print-color-adjust:exact}#executive-report .kpi-value{font-size:16pt}#executive-report .kpi-label{font-size:9pt;min-height:0}#executive-report .table-wrap{overflow:visible}#executive-report .data-table{font-size:8pt}#executive-report .data-table th,#executive-report .data-table td{padding:8px 7px}#executive-report .report-heading{padding-bottom:18px;margin-bottom:20px}a{color:inherit;text-decoration:none}button{display:none!important}svg{-webkit-print-color-adjust:exact;print-color-adjust:exact}}

/* Runtime result components and semantic numeric columns. */
.data-table .number{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.rank-label{display:flex;justify-content:space-between;align-items:baseline;gap:16px;font-size:.875rem}.rank-label>span{overflow-wrap:anywhere}.rank-label>strong{white-space:nowrap}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.report-chart{max-width:100%;overflow-x:auto}.report-chart svg{display:block;width:100%;min-width:700px;height:auto}.notice h3{font-size:1rem;margin:0 0 8px}.notice ul{margin:8px 0;padding-left:22px}.notice li{margin:5px 0}.data-table caption{text-align:left;color:var(--muted);font-size:.875rem;padding-bottom:14px}.field select:disabled{opacity:1;background-color:#f7f9fa;color:#617782;cursor:default}.mapping-grid select{max-width:100%}
@media print{#executive-report .report-chart{overflow:visible}#executive-report .report-chart svg{min-width:0!important;width:100%;height:auto}}

/* Keep task controls and essential data readable at narrow widths. */
.field label,.field select,.field input,select,input[type="search"],.check-field,.comparable-field,.kpi-label,.kpi-change{font-size:.875rem}.chart-container svg,.report-chart svg{min-width:1000px}.chart-caption{font-size:.875rem}.chart-legend{font-size:.875rem}.rank-label{font-size:.875rem}.data-table{font-size:.875rem}.data-table th{font-size:.875rem}
@media(max-width:520px){.field label,.field select,.field input,.check-field,.filters .comparable-field,.kpi-label,.kpi-change,.chart-caption,.chart-legend,.data-table,.data-table th,.rank-label{font-size:.875rem}.kpi-label{min-height:40px}.chart-container::after{content:"Desliza el gráfico para ver todos los factores";display:block;font-size:.875rem;color:var(--muted);padding:10px 0}.chart-container svg,.report-chart svg{min-width:1100px}}
@media print{#executive-report .report-chart svg{min-width:0!important}#executive-report .data-table{font-size:8pt}#executive-report .data-table th{font-size:8pt}}

/* Saved analysis library. Records live on the server; only the last opened ID is a device preference. */
.save-controls{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0}.save-status{font-size:.875rem;color:var(--muted);line-height:1.35;max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.save-status.is-saved{color:var(--teal)}.save-status.is-dirty{color:#895315}.topbar-actions{flex-wrap:wrap;justify-content:flex-end}.topbar .page-heading{flex:1;min-width:200px}.topbar-actions .button{font-size:.875rem}.library-toolbar{display:flex;gap:20px;align-items:flex-end;flex-wrap:wrap}.library-search{flex:1;min-width:220px}.library-toolbar #library-count{font-size:.875rem;padding-bottom:10px;white-space:nowrap}.library-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.library-grid>.empty-state{grid-column:1/-1}.analysis-card{margin-bottom:0;min-width:0}.analysis-card-heading{display:flex;gap:12px;align-items:flex-start;flex-wrap:wrap}.analysis-card-heading>div{flex:1;min-width:0}.analysis-card h3{overflow-wrap:anywhere;line-height:1.4}.analysis-date{font-size:.875rem;color:var(--muted);margin-top:6px}.analysis-demo,.analysis-open{display:inline-flex;font-size:.875rem;border-radius:4px;padding:3px 7px;white-space:nowrap}.analysis-demo{background:#fff4d7;color:#80530b}.analysis-open{background:#e7f4ef;color:#18614d}.analysis-scope{font-size:.875rem;color:var(--muted);line-height:1.6;margin:17px 0}.analysis-metrics{display:grid;grid-template-columns:1.4fr 1fr .7fr;gap:12px;margin:17px 0 23px}.analysis-metrics dt{font-size:.875rem;color:var(--muted);margin-bottom:5px}.analysis-metrics dd{margin:0;font-size:1.12rem;font-weight:650;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.analysis-card-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.analysis-card-actions .button{font-size:.875rem;min-height:40px}.library-pagination{text-align:center;margin:25px 0}.library-note{font-size:.875rem;line-height:1.7;margin:22px 0 0;max-width:920px}.library-dialog{padding:30px;border:1px solid var(--line);border-radius:10px;width:min(530px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow-y:auto;color:var(--ink);background:#fff;box-shadow:0 20px 80px rgb(10 34 43 / 20%)}.library-dialog::backdrop{background:rgb(12 31 43 / 52%)}.library-dialog h2{font-size:1.5rem;line-height:1.3;margin:0 0 13px}.library-dialog p:not(.eyebrow){font-size:1rem;line-height:1.6;color:var(--muted);margin-bottom:22px}.library-dialog .field{margin-top:20px}.library-dialog input{font-size:1rem}.library-dialog .dialog-error{color:#a12f43!important;margin:12px 0 0!important;font-size:.875rem!important}.dialog-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:26px}.dialog-actions .button{font-size:.875rem}.button-danger{background:#a33547!important;border-color:#a33547!important;color:#fff!important}.button-danger:hover{background:#85273a!important}.library-dialog:not([open]){display:none}
@media(max-width:1250px){.topbar{align-items:flex-start}.topbar-actions{max-width:520px}.save-controls{order:0}.topbar-actions .data-status{order:4}.library-grid{grid-template-columns:1fr}}
@media(max-width:800px){.topbar{flex-wrap:wrap;align-items:flex-start}.topbar .page-heading{min-width:170px}.topbar-actions{flex-wrap:wrap;flex:1;max-width:none;gap:8px}.save-controls{align-items:flex-start}.save-status{max-width:210px;font-size:.875rem}.topbar-actions .button{font-size:.875rem}.library-toolbar{align-items:stretch}.library-toolbar #library-count{padding-bottom:0;align-self:center}.library-search{flex-basis:100%}}
@media(max-width:520px){.topbar{display:flex;gap:14px}.topbar .page-heading{flex-basis:100%;min-width:0}.topbar .page-heading>p:last-child{max-width:none;font-size:.875rem}.topbar-actions{display:grid;grid-template-columns:1fr 1fr;width:100%;gap:8px}.save-controls{grid-column:1;grid-row:2;align-items:stretch}.save-status{max-width:100%;white-space:normal;overflow-wrap:anywhere}.topbar-actions #new-analysis-btn{grid-column:1;grid-row:1}.topbar-actions #saved-analyses-btn{grid-column:2;grid-row:1}.topbar-actions #upload-shortcut{grid-column:2;grid-row:2;align-self:start}.topbar-actions .button{font-size:.875rem!important;min-height:40px}.library-toolbar{gap:14px}.library-toolbar .button{width:100%;font-size:.875rem}.library-search{min-width:0}.library-grid{gap:16px}.analysis-card-heading{gap:8px}.analysis-metrics{grid-template-columns:1.35fr 1fr .65fr;gap:10px}.analysis-metrics dd{font-size:1rem}.analysis-card-actions{gap:8px}.analysis-card-actions .button{padding:9px 11px;font-size:.875rem}.library-dialog{padding:24px 21px}.library-dialog h2{font-size:1.4rem}.dialog-actions{flex-wrap:wrap}.dialog-actions .button{flex:1;min-width:110px}.library-note{font-size:.875rem}}
@media print{#view-library,.library-dialog{display:none!important}}

/* Reconciliation and source-profile surfaces. */
.source-cell{display:block;font-weight:400;font-size:.8125rem;color:var(--muted);margin-top:4px}.source-control-actions{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap}.source-control-actions p{margin:0}.filters.has-source-profile{grid-template-columns:repeat(3,minmax(0,1fr))}.filters.has-source-profile .comparable-field{grid-column:1/-1;grid-row:auto}.filters.has-source-profile #reset-filters{grid-column:auto;grid-row:auto}.source-preview{margin-top:18px}.source-preview td{white-space:nowrap}#forecast-import-description{margin:12px 0 20px;color:var(--muted)}#source-control-banner .notice{margin-bottom:22px}#adjustments-detail>p{margin:12px 0 20px}#adjustments-detail .table-wrap{margin-bottom:24px}.sidebar .main-nav{gap:3px}
@media(max-width:800px){.filters.has-source-profile{grid-template-columns:repeat(2,minmax(0,1fr))}.sidebar .main-nav{gap:4px}.sidebar{row-gap:10px}}
@media print{#view-reconciliation,#view-adjustments{display:none!important}#source-control-banner{display:none!important}}

@media(max-width:520px){.source-kpis .kpi-value{font-size:1.125rem;letter-spacing:-.025em;overflow-wrap:normal;word-break:normal}}

/* AI interpretation keeps source scope, computed evidence and saved responses visible. */
.ai-context{display:flex;justify-content:space-between;align-items:flex-start;gap:24px}.ai-context h3{font-size:1.12rem;overflow-wrap:anywhere}.ai-context p{margin-top:8px;font-size:.875rem;color:var(--muted)}.ai-context-status{text-align:right;max-width:46%}.ai-context-status .small-label{display:inline-block;color:var(--teal);border-color:#c7ddd7;background:#eff8f5}.ai-mode-control{display:flex;gap:6px;padding:6px;background:#e4edf0;border:1px solid #d5e1e5;border-radius:9px;margin-bottom:18px}.ai-mode-control button{flex:1;min-height:45px;border:1px solid transparent;border-radius:6px;padding:10px 16px;background:transparent;font-weight:600;font-size:.875rem;color:#47606c}.ai-mode-control button[aria-pressed="true"]{background:#fff;border-color:#cbdce1;color:#183c46;box-shadow:0 1px 3px #1028310c}.ai-mode-control button:hover{background:#f5f9fa}.ai-request-card h3{margin-bottom:9px}.ai-request-card [data-ai-panel]>p{font-size:.94rem;color:var(--muted);max-width:850px;margin-bottom:20px}.ai-request-card [data-ai-panel]>.button{margin-top:16px}.ai-request-card .notice{margin-bottom:20px}.ai-privacy-note{font-size:.8rem;line-height:1.6;color:var(--muted);border-top:1px solid var(--line);padding-top:18px;margin-top:22px!important}.ai-request-card textarea{width:100%;resize:vertical;min-height:108px;max-height:350px;padding:13px;border:1px solid #bfcfd7;border-radius:6px;background:#fff;color:var(--navy);font:inherit;font-size:.94rem;line-height:1.6}.ai-request-card textarea:focus-visible{outline:3px solid #21a58b;outline-offset:3px}.ai-request-card textarea:disabled{background:#f6f9fa}.ai-request-card .field>p{font-size:.8rem;margin-top:8px;line-height:1.6}.ai-question-examples{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.ai-question-examples button{font-size:.8rem;border:1px solid #d3e0e5;border-radius:20px;padding:7px 12px;min-height:36px;background:#f5f9fa;color:#365967}.ai-question-examples button:hover{background:#e7f2ef}.ai-comparison-fields{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:14px}.ai-comparison-fields select{max-width:100%}.ai-status-actions{display:flex;gap:10px;margin-bottom:18px}.ai-status-actions:has(>button[hidden]:first-child):has(>button[hidden]:last-child){margin-bottom:0}.ai-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:22px;align-items:start}.ai-layout>.card{min-width:0}.ai-result{padding:30px}.ai-empty{padding:32px 6px 44px;text-align:center}.ai-empty-mark{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:12px;color:var(--teal);background:#edf6f2;font-size:1.65rem;margin-bottom:18px}.ai-empty h3{font-size:1.35rem}.ai-empty p{font-size:.94rem;color:var(--muted);line-height:1.7;margin:12px auto 0;max-width:480px}.ai-is-loading{border-color:#8cbfb1}.ai-response-heading h3{font-size:1.5rem;margin-bottom:10px;overflow-wrap:anywhere}.ai-response-heading>.muted{font-size:.81rem}.ai-original-question{background:#f4f7f9;border-left:3px solid #b8cdd5;border-radius:0 5px 5px 0;padding:12px 15px;margin-top:18px;font-size:.94rem;overflow-wrap:anywhere}.ai-response-sources{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin:22px 0}.ai-response-sources>div{background:#f6f9fa;border:1px solid #dce6ea;border-radius:6px;padding:13px 15px;min-width:0;overflow-wrap:anywhere}.ai-response-sources strong{font-size:.875rem}.ai-response-sources p{font-size:.8rem;margin-top:7px;line-height:1.6}.ai-response-section{margin-top:27px}.ai-response-section h4{font-size:1.08rem;margin-bottom:13px}.ai-response-section>p{font-size:.81rem;line-height:1.6;margin-bottom:13px}.ai-response-section>ul{padding-left:21px;margin:0}.ai-response-section>ul>li{padding-left:4px;font-size:.94rem;line-height:1.7;overflow-wrap:anywhere}.ai-response-section>ul>li+li{margin-top:17px}.ai-hypotheses{border-left:3px solid #dfc185;padding-left:17px}.ai-citations{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.ai-citation{display:inline-block;max-width:100%;padding:6px 9px;background:#f0f7f4;border:1px solid #d1e5db;border-radius:5px;font-size:.75rem;line-height:1.5;color:#285c50;text-decoration:none;overflow-wrap:anywhere}.ai-citation:hover{background:#dfefe7;text-decoration:underline}.ai-citation strong{font-weight:650}.ai-evidence-table th{min-width:190px}.ai-evidence-table td:last-child{font-size:.75rem;max-width:340px;overflow-wrap:anywhere}.ai-evidence-table tr:target{background:#e6f5ee;outline:2px solid #8bc7b0;outline-offset:-2px}.ai-response-footer{border-top:1px solid var(--line);margin-top:28px;padding-top:18px;font-size:.8rem;color:var(--muted);line-height:1.7}.ai-response-footer details{margin-top:12px}.ai-response-footer summary{cursor:pointer;font-weight:600}.ai-response-footer details p{font-size:.75rem;overflow-wrap:anywhere;margin-top:8px}.ai-history{padding:21px 18px}.ai-history .card-header{gap:10px;margin-bottom:15px}.ai-history .eyebrow{font-size:.6rem}.ai-history h3{font-size:1rem}.ai-history .text-button{font-size:.75rem}.ai-history>.muted{font-size:.81rem;line-height:1.6}.ai-history-item{display:block;width:100%;text-align:left;border:1px solid var(--line);background:#fff;border-radius:6px;padding:13px 12px;margin-top:10px;color:var(--navy)}.ai-history-item:hover{background:#f2f8f6;border-color:#b0d0c4}.ai-history-item.is-open{background:#edf6f2;border-color:#a1cdbb}.ai-history-item .small-label{font-size:.64rem;display:inline-block}.ai-history-item strong{font-size:.84rem;line-height:1.5;font-weight:600;display:block;margin-top:9px;overflow-wrap:anywhere}.ai-history-item>span:last-child{display:block;font-size:.74rem;color:var(--muted);margin-top:8px;line-height:1.5}.ai-library-shortcut{margin-bottom:18px}.ai-request-card #ai-library-state{font-size:.81rem;line-height:1.6}.ai-request-card #ai-library-more{margin-right:15px}
@media(max-width:1150px){.ai-layout{grid-template-columns:minmax(0,1fr)}.ai-history #ai-history-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ai-history-item{margin-top:0}.ai-context{gap:16px}}
@media(max-width:600px){.ai-context{display:block}.ai-context-status{text-align:left;max-width:none;margin-top:17px}.ai-mode-control{display:grid;grid-template-columns:1fr;gap:4px}.ai-mode-control button{text-align:left;min-height:42px;padding:10px 12px}.ai-comparison-fields{grid-template-columns:1fr;gap:15px}.ai-request-card{padding:21px 19px}.ai-request-card .card-header{display:block}.ai-request-card .card-header>.button{margin-top:15px}.ai-request-card form>.button,.ai-request-card [data-ai-panel]>.button{width:100%}.ai-question-examples{gap:6px}.ai-question-examples button{font-size:.75rem;text-align:left}.ai-result{padding:22px 19px}.ai-response-heading h3{font-size:1.3rem}.ai-response-sources{grid-template-columns:1fr}.ai-response-section>ul>li{font-size:.875rem}.ai-citation{font-size:.73rem}.ai-history #ai-history-items{grid-template-columns:1fr}.ai-empty{padding:24px 0}.ai-empty h3{font-size:1.2rem}.ai-empty p{font-size:.875rem}.ai-response-sources strong{font-size:.84rem}.ai-layout{gap:0}.ai-context-status p{font-size:.81rem}.ai-status-actions{flex-direction:column}.ai-history .eyebrow{font-size:.65rem}}
@media print{#view-ai{display:none!important}[data-ai-start],.ai-library-shortcut{display:none!important}}

.ai-evidence-details{margin-top:14px}.ai-evidence-details>summary{cursor:pointer;color:var(--teal);font-size:.875rem;font-weight:600;padding:10px 0}.ai-evidence-details>.table-wrap{margin-top:10px}

/* Main analysis actions remain available in every view. */
.topbar-actions>button{min-width:0;white-space:normal;line-height:1.4}.topbar-actions .data-status{order:5}@media(max-width:520px){.topbar-actions>button{justify-content:center}.topbar-actions #new-analysis-btn,.topbar-actions #saved-analyses-btn{min-height:44px}}
