:root{color-scheme:light;--bg: #f6f8f6;--surface: #ffffff;--surface-alt: #eef5f0;--ink: #17211c;--muted: #5d6a63;--line: #d8e2db;--accent: #1f7a4d;--accent-strong: #135f3b;--blue: #2f5d8c;--red: #b73524;--amber: #9a6500;--focus: #174f8a;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:var(--bg);color:var(--ink);font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}html{min-width:0;background:var(--bg)}body{margin:0;min-width:0;overflow-x:hidden}a{color:var(--accent-strong)}button,input,select{font:inherit}button,label.secondary-button{border:0}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,label.secondary-button:focus-visible{outline:3px solid color-mix(in srgb,var(--focus) 55%,white);outline-offset:3px}.site-shell{min-height:100vh}.site-header,.site-footer{width:min(1180px,calc(100vw - 32px));margin:0 auto}.site-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0}.brand{display:inline-flex;align-items:center;gap:10px;color:var(--ink);font-weight:800;text-decoration:none}.brand-mark{display:inline-grid;place-items:center;width:38px;height:38px;border-radius:8px;color:var(--accent);background:#e7f3eb;border:1px solid #cae0d2}.site-header nav,.footer-links,.button-row,.tool-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.site-header nav a,.footer-links a{color:var(--muted);text-decoration:none;font-weight:650}.site-header nav a:hover,.footer-links a:hover{color:var(--accent-strong)}.hero-band{display:grid;grid-template-columns:minmax(0,.78fr) minmax(520px,1.22fr);gap:28px;align-items:start;width:min(1180px,calc(100vw - 32px));margin:0 auto 48px;padding:30px 0 12px}.hero-copy{padding:22px 0 0}.eyebrow{margin:0 0 10px;color:var(--accent-strong);font-size:.78rem;font-weight:800;text-transform:uppercase}h1,h2,h3,p{overflow-wrap:anywhere}h1{margin:0;font-size:clamp(2.15rem,4vw,4.75rem);line-height:1.02;letter-spacing:0}h2{margin:0 0 12px;font-size:clamp(1.35rem,2vw,2rem);line-height:1.15;letter-spacing:0}h3{margin:0 0 8px;font-size:1rem;letter-spacing:0}.hero-copy>p:not(.eyebrow),.lede{color:var(--muted);font-size:1.08rem;line-height:1.7}.trust-list,.plain-list,.source-list{list-style:none;padding:0}.trust-list{display:grid;gap:10px;margin:22px 0 0}.trust-list li{display:flex;align-items:flex-start;gap:10px;color:#24342b;line-height:1.45}.tool-panel,.article-page{border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:0 18px 50px #17211c14}.tool-panel{padding:20px;min-width:0}.tool-head{display:flex;justify-content:space-between;gap:18px;margin-bottom:16px}.tool-head h2{font-size:1.35rem}.drop-zone{display:grid;gap:14px;padding:18px;border:1.5px dashed #9db4a6;border-radius:8px;background:#f8fbf9;min-height:190px;place-items:center;text-align:center}.drop-zone.is-active{border-color:var(--accent);background:#ecf7f0}.drop-zone strong,.drop-zone span{display:block}.drop-zone span,.status-line,.warning-line,.empty-state,.summary-strip span,.metric-grid span,.group-chip small,.column-choice small{color:var(--muted)}.primary-button,.secondary-button,.ghost-button,.primary-link,.secondary-link,.mini-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;border-radius:8px;padding:0 14px;font-weight:800;text-decoration:none;cursor:pointer;white-space:nowrap}.primary-button,.primary-link{color:#fff;background:var(--accent)}.primary-button:hover,.primary-link:hover{background:var(--accent-strong)}.primary-button:disabled{cursor:not-allowed;background:#93b29e}.secondary-button,.secondary-link{color:var(--accent-strong);background:#e7f3eb;border:1px solid #c5ddce}.ghost-button,.mini-button{color:#274033;background:#fff;border:1px solid var(--line)}.mini-button{min-height:32px;padding:0 10px;font-size:.85rem}.status-line{display:flex;align-items:center;gap:8px;min-height:38px;margin-top:14px;font-weight:700}.progress-track{height:8px;overflow:hidden;border-radius:999px;background:#e5ece8}.progress-track span{display:block;height:100%;background:var(--accent);transition:width .16s ease}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.workbook-area{display:grid;gap:18px;margin-top:18px}.summary-strip,.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.summary-strip>div,.metric-grid>div{min-width:0;padding:12px;border-radius:8px;background:var(--surface-alt);border:1px solid #d5e4d8}.summary-strip span,.summary-strip strong,.metric-grid span,.metric-grid strong{display:block}.summary-strip strong,.metric-grid strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.settings-grid{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:end}.settings-grid label{display:grid;gap:7px;font-weight:800}select{width:100%;min-height:42px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);padding:0 11px}.checkbox-row{display:inline-flex!important;align-items:center;gap:8px!important;color:#24342b;font-weight:750}.option-group{min-width:0;border:1px solid var(--line);border-radius:8px;padding:14px}.option-group legend{padding:0 6px;font-weight:900}.column-actions{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:10px}.column-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px;max-height:190px;overflow:auto;padding-right:4px}.column-choice{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;min-height:44px;padding:8px;border:1px solid #dae4de;border-radius:8px;background:#fff;cursor:pointer}.column-choice span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:750}.segmented{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.segmented label{display:flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:8px;border:1px solid var(--line);border-radius:8px;background:#fff;font-weight:800;text-align:center}.inline-options{display:flex;flex-wrap:wrap;gap:14px}.group-preview{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:8px}.group-chip{min-width:0;display:grid;gap:3px;padding:10px;border-radius:8px;border:1px solid #d9e4df;background:#fff}.group-chip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.empty-state,.warning-line,.error-box,.success-box{border-radius:8px;padding:12px}.empty-state{background:#f5f8f6;border:1px solid var(--line)}.warning-line{display:flex;gap:8px;margin:0;background:#fff8e8;border:1px solid #f0d49b;color:#513a09}.table-wrap{width:100%;max-width:100%;overflow:auto;border:1px solid var(--line);border-radius:8px}table{width:100%;min-width:720px;border-collapse:collapse;table-layout:fixed;background:#fff}th,td{border-bottom:1px solid #e3ebe6;padding:10px;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}th{position:sticky;top:0;z-index:1;background:#edf4ef;color:#263d31;font-size:.85rem}td:first-child,th:first-child{width:70px}td:nth-child(2),th:nth-child(2){width:100px}.row-remove{background:#fff2ef}.row-keep{background:#fff}.row-header{background:#f4f6f5}.row-empty{background:#fbfbfb}.row-match{background:#edf8f1}.row-unique{background:#fff}.status-pill{display:inline-flex;align-items:center;justify-content:center;min-width:62px;min-height:26px;border-radius:999px;padding:0 8px;background:#eef3ef;color:#284334;font-size:.78rem;font-weight:900}.row-remove .status-pill{color:var(--red);background:#fde7e2}.row-match .status-pill{color:var(--accent-strong);background:#daf0e2}.tool-actions{justify-content:flex-end}.error-box,.success-box{display:flex;align-items:flex-start;gap:10px;margin-top:14px}.error-box{color:#672719;background:#fff0ec;border:1px solid #efb5a6}.success-box{color:#143d29;background:#e9f7ee;border:1px solid #bfe0c8}.success-box a{display:inline-flex;gap:6px;align-items:center;margin-top:8px;font-weight:850}.compare-panel{display:grid;gap:14px;padding:14px;border:1px solid var(--line);border-radius:8px;background:#f9fbfa}.compare-panel p{margin:0;color:var(--muted);line-height:1.55}.compare-controls{display:grid;grid-template-columns:auto minmax(220px,1fr);gap:12px;align-items:end}.compare-sheet{display:grid;gap:7px;font-weight:800}.compare-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.content-band{background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:46px 0}.content-grid{width:min(1180px,calc(100vw - 32px));margin:0 auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}.content-grid article{min-width:0}.content-grid p,.article-page p,.article-page li{color:#3f4d45;line-height:1.72}.plain-list{display:grid;gap:9px;margin:0}.plain-list li{position:relative;padding-left:20px}.plain-list li:before{content:"";position:absolute;left:0;top:.75em;width:7px;height:7px;border-radius:999px;background:var(--accent)}.text-link{display:inline-flex;align-items:center;gap:6px;font-weight:850}.article-page{width:min(860px,calc(100vw - 32px));margin:28px auto 48px;padding:clamp(22px,4vw,48px)}.article-page h1{font-size:clamp(2rem,4vw,3.4rem);margin-bottom:12px}.article-page h2{margin-top:32px;font-size:1.45rem}.article-page ol{padding-left:1.35rem}.source-list{display:grid;gap:8px}.not-found{min-height:380px}.site-footer{display:flex;justify-content:space-between;gap:28px;padding:36px 0;color:var(--muted)}.site-footer p{max-width:620px;margin:8px 0 0}.footer-links{justify-content:flex-end}.footer-links a{display:inline-flex;gap:6px;align-items:center}.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}@media(max-width:920px){.hero-band{grid-template-columns:1fr}.hero-copy{padding-top:8px}.content-grid,.summary-strip,.metric-grid{grid-template-columns:1fr 1fr}}@media(max-width:640px){.site-header,.site-footer,.hero-band,.content-grid,.article-page{width:min(100vw - 24px,1180px)}.site-header,.site-footer{align-items:flex-start;flex-direction:column}.site-header nav{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.site-header nav a{text-align:center;padding:8px 4px;border:1px solid var(--line);border-radius:8px;background:#fff;font-size:.9rem}.hero-band{padding-top:12px;gap:18px}.tool-panel{padding:14px}.button-row,.tool-actions{width:100%}.primary-button,.secondary-button,.ghost-button,.primary-link,.secondary-link{width:100%;white-space:normal}.settings-grid,.content-grid,.summary-strip,.metric-grid,.segmented,.compare-controls,.compare-metrics{grid-template-columns:1fr}.inline-options{display:grid}.column-grid{grid-template-columns:1fr}table{min-width:650px}}
