:root{--bg:#F5F8FB;--nav:#fff;--panel:#fff;--panel2:#F1F6FA;--line:#DFE8F1;--ink:#16334C;--muted:#61788D;--green:#159C99;--blue:#0077BB;--pink:#CA4565;--gold:#BA801C;--purple:#7765B6;--r:14px}
*{box-sizing:border-box}html{color-scheme:light}body{margin:0;background:var(--bg);color:var(--ink);font:13px/1.65 Inter,'Segoe UI','Noto Sans KR',system-ui,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}a{color:#0077BB;text-decoration:none}a:hover{text-decoration:underline}p,h1,h2,h3,h4{margin:0}h1{font-size:26px;color:#123A56;line-height:1.28;letter-spacing:-.6px}h2{font-size:16px;color:#184462}h3{font-size:13px;color:#184462}small,.mini{font-size:11px;color:var(--muted)}input,textarea,select{width:100%;min-width:0;outline:none;border-radius:9px;background:#fff;color:#16334C;border:1px solid #C9D8E5;padding:10px 11px}textarea{min-height:94px;resize:vertical}input:focus,textarea:focus,select:focus{border-color:var(--blue);box-shadow:0 0 0 3px #0077BB22}label{display:block;font-size:11px;font-weight:700;color:#4E6881;margin-bottom:5px}.layout{display:grid;grid-template-columns:250px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;background:#fff;border-right:1px solid #E1EAF1;box-shadow:4px 0 22px #1C476407;padding:26px 15px 20px;display:flex;flex-direction:column;gap:22px;z-index:4}.brand{padding:4px 9px 17px;border-bottom:1px solid #E9EFF4}.brand-wordmark{display:flex;flex-direction:column;gap:5px}.wordmark{font-family:'Trebuchet MS','Segoe UI',sans-serif;font-style:italic;color:#0E2F48;font-size:35px;font-weight:600;line-height:1;letter-spacing:-2.1px}.brand-wordmark small{color:var(--blue);font-size:9px;letter-spacing:1px;font-weight:800}.nav-label{font-size:10px;color:#98A9BA;font-weight:800;letter-spacing:1.5px;padding:0 12px;margin-bottom:8px}.nav{display:flex;flex-direction:column;gap:3px}.nav button{background:transparent;border:1px solid transparent;border-radius:9px;text-align:left;color:#587288;font-weight:650;padding:11px 13px;display:flex;gap:11px;align-items:center;width:100%;font-size:12px}.nav button:hover{background:#F1F7FB;color:#075A90}.nav button.active{background:#E5F3FC;color:#006DAD;border-color:#B6DAF1;box-shadow:inset 3px 0 #0077BB}.nav button span.ico{font-size:16px;min-width:20px}.sidebar-bottom{margin-top:auto;background:#F4FAFD;border:1px solid #DCECF5;border-radius:10px;padding:13px;font-size:10px;line-height:1.55}.green-dot{display:inline-block;width:7px;height:7px;background:#149E99;border-radius:50%;margin-right:5px}.shell{max-width:1640px;padding:30px 34px 60px;min-width:0;width:100%;margin:0 auto}.topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;gap:15px}.breadcrumb{font-size:11px;color:#7890A5;font-weight:650;letter-spacing:.4px}.state-pill{color:#167F85;background:#E9F8F9;border:1px solid #C4EBEB;padding:6px 11px;border-radius:99px;font-size:10px;font-weight:800;white-space:nowrap}.eyebrow{text-transform:uppercase;font-size:10px;color:var(--blue);font-weight:800;letter-spacing:1.5px}.hero{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:22px}.sublead{color:#687F92;font-size:12px;margin-top:7px;max-width:720px}.hero-actions{display:flex;flex-wrap:wrap;gap:8px}.btn{background:#fff;color:#1D5275;border:1px solid #BCD4E6;border-radius:9px;padding:9px 13px;font-size:11px;font-weight:750;box-shadow:0 1px 2px #1055800A}.btn:hover{background:#EEF7FC;border-color:#83BEDF}.btn.primary{background:#0077BB;border-color:#0077BB;color:#fff;box-shadow:0 3px 8px #0077BB23}.btn.primary:hover{background:#00669F}.btn.sm{font-size:10px;padding:7px 10px}.btn.warn{color:#B6435C;border-color:#E9C0CD;background:#FFF8FA}.btn:focus-visible{outline:2px solid #0077BB}.grid{display:grid;gap:16px}.kpis{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:17px}.two{grid-template-columns:repeat(2,minmax(0,1fr))}.two-wide{grid-template-columns:1.4fr 1fr}.three{grid-template-columns:repeat(3,minmax(0,1fr))}.card{border:1px solid #DCE6EE;background:#fff;border-radius:14px;padding:21px;box-shadow:0 6px 19px #183B5E09;min-width:0}.kpi{min-height:124px}.kpi-label{color:#70879A;font-size:11px;font-weight:700}.kpi-num{color:#0D466C;font-size:28px;font-weight:800;margin-top:9px;line-height:1.2}.kpi-note{font-size:10px;color:#7890A1;margin-top:7px}.accent{width:33px;height:3px;background:#0077BB;border-radius:4px;margin-top:11px}.section-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:13px}.section-note{font-size:10px;color:#7990A4}.tag{font-size:10px;font-weight:800;border:1px solid #D2EAF7;background:#EAF5FC;color:#076B95;border-radius:7px;padding:4px 7px;display:inline-block;white-space:nowrap}.tag.blue{color:#0077BB;background:#E9F4FD;border-color:#BFDDF1}.tag.rose{color:#B6435C;background:#FFF1F4;border-color:#F4CDD6}.tag.gold{color:#93620F;background:#FFF8E8;border-color:#F2DEA9}.tag.gray{color:#617689;background:#F3F6F8;border-color:#DDE6EC}.tag.green{color:#137F7B;background:#E7F8F6;border-color:#B9E7E1}.tag.demo{color:#7955B1;background:#F5F0FF;border-color:#E3D9F6}.table-wrap{overflow-x:auto;border:1px solid #D8E4EC;border-radius:10px}.data-table{width:100%;border-collapse:collapse;font-size:11px;min-width:670px}.data-table th{background:#F0F6FB;color:#506F88;font-size:10px;text-align:left;padding:11px 12px;white-space:nowrap}.data-table td{padding:12px;border-top:1px solid #E9EFF4;color:#284B64;vertical-align:top}.data-table tr:hover td{background:#F7FAFD}.title-link{font-weight:750;color:#124467}.title-link:hover{color:#0077BB}.muted{color:#7890A4}.note{font-size:11px;color:#6C8499;line-height:1.7}.notice{padding:13px 15px;background:#EDF7FC;border:1px solid #C9E5F2;border-left:3px solid #0077BB;color:#315E7A;border-radius:9px;font-size:11px;line-height:1.7}.notice.warn{background:#FFFAED;border-color:#F1DCA7;border-left-color:#D49D35;color:#8A661D}.empty{padding:36px 20px;color:#8598AA;text-align:center;font-size:12px}.divider{height:1px;background:#E5EDF4;margin:17px 0}.stack{display:grid;gap:10px}.row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.between{justify-content:space-between}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.field-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.field-grid .span2{grid-column:span 2}.field-grid .span3{grid-column:span 3}.checkbox-row{display:flex;align-items:center;gap:7px}.checkbox-row input{width:auto}.run-step{border:1px solid #E2EBF2;background:#F8FAFC;border-radius:9px;padding:12px;display:flex;align-items:center;justify-content:space-between;gap:10px}.filter{max-width:175px}.source-card{padding:13px 14px;border:1px solid #E1EAF1;background:#FAFCFE;border-radius:10px;display:grid;grid-template-columns:1fr auto;gap:10px}.source-name{font-size:12px;font-weight:750;color:#173E5B}.source-meta{font-size:10px;color:#758CA0;margin-top:2px}.source-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.brief-item{border-left:3px solid #0077BB;border-radius:7px;padding:12px 14px;background:#F7FAFD;margin-bottom:9px}.brief-item strong{display:block;color:#194465;margin-bottom:3px}.brief-item p{color:#54718A;font-size:11px}.smallbar{display:flex;align-items:center;gap:8px;padding:8px 0}.smallbar label{width:135px;flex:none;margin:0}.track{height:9px;border-radius:6px;background:#E7EDF3;flex:1;overflow:hidden}.bar{background:linear-gradient(90deg,#0077BB,#24A4C8);height:100%;border-radius:6px}.audit-item{font-size:11px;border-bottom:1px solid #EDF1F4;padding:10px 0}.audit-item:last-child{border:0}.audit-item strong{color:#1B4668}.codeblock{background:#F7FAFC;border:1px solid #DFE8F1;padding:12px;border-radius:8px;font:11px/1.6 Consolas,'Courier New',monospace;white-space:pre-wrap;overflow-wrap:anywhere;max-height:250px;overflow:auto}.paste{height:155px;font:11px/1.6 Consolas,monospace}.footnote{font-size:10px;color:#8298A8;line-height:1.7;margin-top:24px}.footer-warning{color:#9A6C25}.toast{position:fixed;right:20px;bottom:20px;max-width:400px;padding:13px 17px;background:#EFF8FE;border:1px solid #A4D3EC;color:#185F89;border-radius:11px;box-shadow:0 12px 30px #1A486327;z-index:99;transform:translateY(12px);opacity:0;pointer-events:none;transition:all .2s}.toast.show{opacity:1;transform:translateY(0)}.toast.bad{background:#FFF1F3;border-color:#DDA5B0;color:#9E3E57}.loader{display:grid;place-items:center;min-height:90vh;color:#67879A}.hotline{display:inline-flex;align-items:center;gap:5px}.chip{border:1px solid #D5E5F0;background:#fff;color:#49718A;border-radius:99px;padding:5px 9px;font-size:10px}.chip.on{background:#0077BB;color:#fff;border-color:#0077BB}.source-inline{display:inline-flex;gap:7px;align-items:center;flex-wrap:wrap}.page-nav{display:flex;gap:7px;flex-wrap:wrap}.right{text-align:right}.mini-separator{margin:0 6px;color:#BED0DD}.summary-box{padding:13px 16px;background:#F4F9FD;border:1px solid #D9EAF5;border-radius:10px}.page-number{font-size:11px;color:#698295;font-weight:750}.details{background:#F8FBFE;border:1px solid #E0EBF3;border-radius:9px;padding:12px 14px}.details summary{cursor:pointer;font-weight:750;color:#1D567B}.details p{margin-top:8px;color:#58738A;font-size:11px}.text-link{font-size:11px;font-weight:700}.nowrap{white-space:nowrap}.mono{font-variant-numeric:tabular-nums}.hide{display:none!important}
@media(max-width:1180px){.kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.two-wide{grid-template-columns:1fr}.shell{padding:26px 25px 60px}}
@media(max-width:850px){.layout{display:block}.sidebar{position:static;height:auto;padding:12px 16px;gap:10px}.brand{padding-bottom:8px}.brand-wordmark{flex-direction:row;align-items:center;gap:10px}.wordmark{font-size:29px}.nav-label,.sidebar-bottom{display:none}.nav{flex-direction:row;overflow-x:auto}.nav button{white-space:nowrap;width:auto;padding:9px}.nav button span.ico{display:none}.shell{padding:22px 16px 55px}.hero,.topbar{align-items:flex-start;flex-wrap:wrap}.two,.three{grid-template-columns:1fr}}
@media(max-width:530px){.kpis{grid-template-columns:1fr 1fr;gap:9px}.kpi{padding:15px;min-height:100px}.kpi-num{font-size:23px}.card{padding:15px}.field-grid,.field-grid.three{grid-template-columns:1fr}.field-grid .span2,.field-grid .span3{grid-column:auto}.hero h1{font-size:22px}.source-card{grid-template-columns:1fr}.state-pill{display:none}}
@media print{.sidebar,.topbar,.btn,.hero-actions,.no-print,.footnote,.toast{display:none!important}.layout{display:block}.shell{padding:0}.card{box-shadow:none;break-inside:avoid}body{background:#fff}}

/* v0.2: identifiable logo and truthful operation progress */
.waters-logo{display:block;width:144px;max-width:100%;height:42px;object-fit:contain;object-position:left center}
.progress-panel{border:1px solid #CFDFEB;background:#fff;border-radius:14px;padding:20px 23px;margin-bottom:17px;box-shadow:0 6px 19px #183B5E08}
.progress-panel.processing{border-color:#91CFEF;background:#F7FCFF}
.progress-panel.failed{border-color:#E6CC9A;background:#FFFDF8}
.progress-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}
.progress-heading strong{color:#164C70;font-size:14px}
.progress-indicator{display:flex;align-items:center;gap:12px;min-width:0}
.progress-number{color:#0077BB;font-size:24px;font-weight:850}
.progress-track{height:16px;background:#E9F0F5;border:1px solid #D8E5EF;border-radius:100px;overflow:hidden;margin:13px 0 9px}
.progress-fill{height:100%;width:0;background:linear-gradient(90deg,#0077BB,#1AA2D1);border-radius:100px;transition:width .28s ease}
.progress-panel.failed .progress-fill{background:linear-gradient(90deg,#BD8B30,#D4AA4C)}
.progress-note{color:#6D8192;font-size:10px;line-height:1.6}
.spinner{width:27px;height:27px;border-radius:50%;border:3px solid #C4E4F7;border-top-color:#0077BB;animation:mi-spin .8s linear infinite;display:inline-block;flex-shrink:0}
.progress-check,.progress-warn{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#D5F4EE;color:#0D807D;font-weight:bold;font-size:17px}
.progress-warn{color:#99691E;background:#FFF1D5}
@keyframes mi-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.spinner{animation-duration:2s}.progress-fill{transition:none}}
@media(max-width:850px){.waters-logo{width:112px;height:35px}}

/* v0.3 — ChatGPT import workflow */
.btn[disabled]{opacity:.56;cursor:not-allowed}
.mode-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.mode-tile{background:#F6F9FC;border:1px solid #E1E9F1;border-radius:11px;padding:14px}
.mode-tile.current{background:#EBF7FF;border-color:#78C1EB;box-shadow:inset 0 0 0 1px #D2EDFC}
.mode-tile strong{color:#164E75;font-size:13px}.mode-tile .mini{margin-top:7px;line-height:1.5}
.mode-number{font-weight:850;font-size:19px;color:#0077BB;margin-top:12px}
.steps{display:grid;gap:10px}.workflow-step{display:flex;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid #F0F4F8}.workflow-step:last-child{border:0}
.workflow-step strong{font-size:12px;color:#28536C}.step-num{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#E9F4FD;color:#0077BB;font-weight:bold;font-size:12px;flex-shrink:0}
.dropzone{border:2px dashed #A6CDE6;background:#F8FCFF;border-radius:13px;min-height:193px;display:flex;align-items:center;justify-content:center;gap:9px;flex-direction:column;padding:22px;text-align:center;cursor:pointer}
.dropzone:hover,.dropzone.over{background:#EDF8FF;border-color:#0077BB}
.dropzone .drop-icon{font-size:37px;line-height:1;color:#0077BB}.dropzone strong{font-size:12px;color:#245472}.dropzone p{font-size:10px;color:#738EA5}
.filters{margin-bottom:14px}.filters input{max-width:385px;flex:1;min-width:170px}.filters select{max-width:195px}
.pager{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:14px}.pager .btn{margin-left:6px}
.event-right{display:flex;gap:7px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
@media(max-width:680px){.mode-tiles{grid-template-columns:1fr}.dropzone{min-height:155px;padding:12px}.pager{flex-wrap:wrap}.event-right{min-width:125px}}

/* v0.4 · Clickable impact and relevance explorers, in-table archive filters */
.filter-line{display:flex;align-items:flex-start;gap:13px;border-bottom:1px solid #EDF2F6;padding:10px 0}
.filter-line:last-of-type{border-bottom:0}.filter-caption{min-width:64px;flex-shrink:0;color:#627F94;font-size:11px;font-weight:800;padding-top:7px}
.filter-tabs{display:flex;flex-wrap:wrap;gap:5px;min-width:0}
.filter-tab{border:1px solid #D6E4EE;background:#F8FBFD;color:#456984;border-radius:8px;padding:6px 9px;font-size:10px;font-weight:750;white-space:nowrap;line-height:1.4;transition:background .12s,border-color .12s}
.filter-tab:hover{background:#EAF5FC;border-color:#ACD5ED}.filter-tab.active,.filter-tab[aria-pressed=true]{background:#0077BB;border-color:#0077BB;color:#fff}
.filter-tab:focus-visible,.area-bar-button:focus-visible{outline:2px solid #0077BB;outline-offset:2px}
.tab-count{font-size:9px;opacity:.85;margin-left:2px;font-weight:650}
.insight-results{margin-top:12px;max-height:560px;overflow:auto;padding-right:4px}
.area-bar-button{display:flex;align-items:center;gap:9px;width:100%;padding:10px 9px;border:1px solid transparent;border-radius:8px;background:transparent;text-align:left;cursor:pointer;color:#4E6881}
.area-bar-button:hover{background:#F3F9FD;border-color:#D6E9F5}.area-bar-button.selected{background:#EAF6FD;border-color:#96CEEC;box-shadow:inset 3px 0 #0077BB}
.area-bar-name{font-size:10px;font-weight:750;width:139px;flex-shrink:0}.area-bar-num{font-size:11px;min-width:24px;text-align:right;font-weight:800}.area-arrow{color:#0077BB;font-size:21px;line-height:1}
.area-bar-button .track{display:block}.area-bar-button .bar{display:block}
.archive-filter-panel{background:#F8FBFE;border:1px solid #DBEAF5;border-radius:12px;padding:11px 15px;margin-bottom:15px}
.filter-result-meta{padding:12px 2px 10px;color:#667F93;font-size:11px}.filter-result-meta strong{color:#0077BB}
.filter-summary{display:flex;align-items:center;justify-content:space-between;gap:13px;padding-top:10px;color:#668095;font-size:10px;flex-wrap:wrap}.filter-summary strong{color:#0077BB;font-size:12px}
.impact-top-grid{align-items:start}
@media(max-width:1180px){.area-bar-name{width:112px}.impact-top-grid{grid-template-columns:1fr}}
@media(max-width:680px){.filter-line{display:block}.filter-caption{display:block;margin-bottom:7px;padding-top:0}.filter-tabs{gap:6px}.filter-tab{white-space:normal}.area-bar-name{width:112px}.archive-filter-panel{padding:10px}.insight-results{max-height:none}}
