/* IHOS workspace visual system. Local assets only; no external font requests. */
:root{color-scheme:light;--ink:#173047;--muted:#657680;--line:#e3e9e8;--paper:#f5f7f6;--green:#176b60;--nav:#132e30;--mint:#e7f2ee;--amber:#94621e;--radius:14px;font:14px/1.65 "Segoe UI","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--paper)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0}button,input,select,textarea{font:inherit}a{color:var(--green);text-decoration:none}a:hover{text-decoration:underline}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}[hidden]{display:none!important}button,a,input,select,textarea,summary{outline-offset:4px}:focus-visible{outline:3px solid #329c8e}h1,h2,h3,p{margin:0}h1{font-size:29px;line-height:1.4;font-weight:650;letter-spacing:-.7px}h2{font-size:19px;letter-spacing:-.3px}h3{font-size:15px}svg.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex:none}.muted{color:var(--muted)}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:#7a9391}.brand{display:flex;align-items:center;gap:11px;color:inherit}.brand:hover{text-decoration:none}.brand-mark{width:35px;height:35px;display:grid;grid-template-columns:repeat(2,8px);grid-template-rows:repeat(2,8px);gap:3px;place-content:center;background:#b8d8cb;border-radius:10px;transform:rotate(-5deg);flex:none}.brand-mark i{background:#17483f;border-radius:2px}.brand-mark i:last-child{background:#f2f6db}.brand-name{font-size:23px;font-weight:700;letter-spacing:2px;line-height:1.2}.brand-caption{font-size:10px;letter-spacing:1.5px;opacity:.6;margin-top:3px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);border-radius:8px;padding:9px 15px;background:#fff;color:var(--ink);white-space:nowrap;transition:background .15s,border-color .15s}.btn:hover{background:#edf3f0;border-color:#b4cfc5;text-decoration:none}.btn.primary{background:var(--green);color:#fff;border-color:var(--green)}.btn.primary:hover{background:#12554d}.btn.small{padding:6px 12px;font-size:12px}.btn.ghost{background:transparent}.pill,.tag{display:inline-flex;align-items:center;gap:6px;padding:3px 9px;font-size:11px;border-radius:5px;background:#eff3f3;color:#5a7078;line-height:1.7;max-width:100%}.pill{border-radius:20px;padding:4px 10px}.pill.good,.tag.good{background:var(--mint);color:#216c59}.pill.warn,.tag.warn{background:#fbf0dd;color:var(--amber)}.pill.bad,.tag.bad{background:#fceaea;color:#a4433d}.dot{width:6px;height:6px;border-radius:50%;background:currentColor;flex:none}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip-link{position:fixed;top:-60px;left:16px;background:#fff;z-index:100;padding:10px}.skip-link:focus{top:10px}
/* Workspace */
.sidebar{width:224px;position:fixed;inset:0 auto 0 0;background:var(--nav);color:#eef5f1;padding:32px 22px;display:flex;flex-direction:column;z-index:20}.sidebar .brand{margin:0 4px 45px}.nav-caption{font-size:10px;letter-spacing:2px;color:#94aaa7;padding:0 13px;margin-bottom:13px}.nav-links{display:grid;gap:7px}.nav-link{display:flex;align-items:center;gap:12px;color:#afc4c1;padding:12px 13px;border-radius:8px;font-size:13px}.nav-link:hover{color:#fff;background:#1c3c3d;text-decoration:none}.nav-link.active{background:#284b48;color:#fff;box-shadow:inset 3px 0 #bad9be}.nav-link .icon{width:18px;height:18px}.nav-num{font-size:10px;margin-left:auto;opacity:.5}.sidebar-bottom{margin-top:auto;padding:22px 11px 0;border-top:1px solid #2a4545}.sidebar-bottom p{font-size:12px;color:#93aaa5;margin:8px 0 15px}.sidebar-bottom .pill{background:#28453f;color:#c7dfd1}.sidebar-footer{font-size:10px;color:#91a6a0;letter-spacing:1px}.workspace{margin-left:224px;min-width:0}.topbar{height:72px;background:#ffffffed;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 38px;gap:15px;position:sticky;top:0;z-index:10;backdrop-filter:blur(12px)}.breadcrumb{display:flex;gap:12px;align-items:center;font-size:12px;color:#81918f}.breadcrumb strong{color:var(--ink);font-weight:500}.top-actions{display:flex;align-items:center;gap:16px;font-size:12px}.account{display:flex;gap:9px;align-items:center}.avatar{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#e2ece7;color:#28574c;font-size:12px;font-weight:700}.topbar .btn{font-size:12px;padding:6px 10px}.main-content{max-width:1550px;margin:auto;padding:34px 38px 20px}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:25px}.page-heading .eyebrow{margin-bottom:7px}.page-heading p{margin-top:8px;font-size:13px;color:var(--muted)}.heading-actions{display:flex;gap:9px;flex:none}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:23px}.metric{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:20px 22px;position:relative;overflow:hidden}.metric.featured{background:#eaf3ed;border-color:#d6e5dc}.metric-label{display:flex;justify-content:space-between;align-items:center;color:#60776e;font-size:12px;gap:8px}.metric-label .icon{width:17px;height:17px;opacity:.7}.metric-value{display:block;font-size:clamp(24px,2.35vw,37px);line-height:1.3;letter-spacing:-1.2px;font-variant-numeric:tabular-nums;font-weight:650;margin:13px 0 7px;color:#20493e}.metric-note{font-size:11px;color:#7b8d84;line-height:1.6}.metric-note strong{font-weight:600;color:#476d60}.overview-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(290px,1fr);gap:18px;margin-bottom:30px}.panel{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:21px 23px;min-width:0}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:19px}.panel-heading h2{font-size:15px}.panel-heading .eyebrow{font-size:9px;margin-top:2px}.batch-line{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:10px}.batch-line strong{font-weight:650;font-size:25px;letter-spacing:-.6px}.batch-line small{font-weight:400;font-size:12px;color:var(--muted);margin-left:5px;letter-spacing:0}.progress-track{height:7px;background:#edf2f0;border-radius:8px;overflow:hidden}.progress-fill{height:100%;width:0;background:#438c73;border-radius:8px;transition:width .4s}.task-meta{display:flex;justify-content:space-between;gap:12px;margin-top:9px;font-size:11px;color:var(--muted)}#collectionProgress{font-size:11px;line-height:1.9;color:#74857e;margin-top:15px;border-top:1px solid #edf0ee;padding-top:12px}#archiveProgress{font-size:12px;color:var(--green);padding-top:10px}#archiveProgress:empty{display:none}.source-metrics{display:flex;gap:35px;border-bottom:1px solid #edf0ee;padding-bottom:15px;margin-bottom:10px}.source-metrics strong{font-size:25px;font-weight:650;color:#25483d}.source-metrics span{font-size:11px;color:var(--muted);display:block}.source-mini{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;padding:5px 0}.source-mini>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.source-mini .pill{font-size:10px;padding:1px 7px}.section-heading{display:flex;justify-content:space-between;align-items:center;margin:0 0 17px;gap:15px}.section-heading p{font-size:12px;color:var(--muted);margin-top:4px}.section-heading .eyebrow{margin-bottom:3px}.library-panel{padding:0;overflow:hidden}.search-row{display:flex;gap:12px;align-items:center;padding:20px 22px 14px}.search-field{position:relative;flex:1;min-width:0}.search-field .icon{position:absolute;left:14px;top:13px;color:#7e948b;width:18px;height:18px}.search-field input{width:100%;padding-left:42px}.search-hint{font-size:11px;color:#7d8e88;white-space:nowrap}.filters{display:grid;grid-template-columns:1.4fr .8fr 1fr 1fr 1fr 1.1fr 1.2fr;gap:9px;padding:0 22px 18px;border-bottom:1px solid var(--line);background:white}.filters label{min-width:0}.filter-label{display:block;font-size:10px;color:#87948e;margin-bottom:4px}input,select,option,textarea{font:inherit;color:#173047;background:#fff;-webkit-text-fill-color:#173047;color-scheme:light;border:1px solid #dce5e0;border-radius:7px;padding:10px 12px;max-width:100%;min-width:0}select{width:100%;font-size:11px;padding:8px 7px;cursor:pointer}input::placeholder,textarea::placeholder{color:#98a69e;-webkit-text-fill-color:#98a69e}.results-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;background:#fafcfa;border-bottom:1px solid var(--line);padding:11px 22px;font-size:11px;color:var(--muted)}.results-toolbar button{border:0;background:none;color:var(--green);font-size:11px;white-space:nowrap}.document-row{display:grid;grid-template-columns:37px minmax(0,1fr) 100px;gap:16px;padding:21px 23px;border-bottom:1px solid #edf0ee;transition:background .15s;overflow-wrap:anywhere}.document-row:hover{background:#fafcfb}.doc-icon{width:35px;height:41px;border:1px solid #e0e8e3;background:#f4f8f5;border-radius:6px;display:grid;place-items:center;color:#60816f}.doc-icon .icon{width:19px;height:19px}.document-row h3{font-size:14px;line-height:1.65;font-weight:600;margin-bottom:8px;max-width:100%}.document-row h3 a{color:#253e3b}.document-tags{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:8px}.document-tags .tag{font-size:10px;padding:1px 7px}.doc-meta{color:#849189;font-size:10px;line-height:1.9}.doc-abstract{font-size:12px;color:#6c7e73;line-height:1.8;margin:7px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.doc-actions{display:flex;align-items:flex-end;flex-direction:column;gap:10px;padding-top:3px;font-size:11px}.doc-actions .btn{font-size:11px;padding:7px 11px}.doc-details{margin-top:6px;font-size:10px;color:#7b8b83}.doc-details summary{cursor:pointer}.doc-details p{margin-top:6px;overflow-wrap:anywhere}.empty-state{padding:50px 25px;text-align:center;color:var(--muted)}.empty-state .icon{width:32px;height:32px;margin-bottom:8px}.empty-state h3{color:var(--ink);margin-bottom:5px}.pagination{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:16px 22px;font-size:12px}.pagination button{background:#fff;border:1px solid var(--line);border-radius:6px;padding:7px 14px;color:var(--ink)}.pagination span{color:var(--muted)}#error:not(:empty),#message:not(:empty){padding:12px 16px;background:#fcf0e4;color:#8d5b25;border-radius:8px;margin:12px 0;overflow-wrap:anywhere}#error:empty{display:none}.quality-note{display:flex;align-items:flex-start;gap:9px;margin:14px 2px 29px;color:#7a8981;font-size:11px}.quality-note .icon{width:16px;height:16px;margin-top:1px}.channel-panel{padding:0}.channel-panel>summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;padding:21px 23px;gap:15px}.channel-panel>summary::-webkit-details-marker{display:none}.channel-panel>summary h2{font-size:16px}.channel-panel>summary p{color:var(--muted);font-size:12px;margin-top:3px}.channel-panel>summary .icon{transition:transform .2s}.channel-panel[open]>summary .chevron{transform:rotate(180deg)}.channel-content{border-top:1px solid var(--line);padding:18px 22px 22px}.channel-key{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:15px}.channel-key button{border:1px solid var(--line);background:#fff;border-radius:20px;padding:5px 12px;color:var(--muted);font-size:11px}.channel-key button.active{background:var(--mint);color:var(--green);border-color:#c6dbcf}.channel-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.source-card{border:1px solid var(--line);border-radius:10px;padding:15px;min-width:0;overflow-wrap:anywhere}.source-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin-bottom:12px}.source-card strong{font-size:12px;font-weight:600}.source-card .pill{font-size:9px;padding:2px 7px;flex:none}.source-counts{display:flex;gap:15px;flex-wrap:wrap;font-size:10px;color:var(--muted);margin:8px 0}.source-counts b{display:block;color:#3e6052;font-size:18px;font-weight:600}.source-card details{font-size:10px;color:var(--muted);margin-top:9px}.source-card summary{cursor:pointer}.source-card details p{margin-top:8px;line-height:1.7}.source-error{color:#956b39}.page-footer{display:flex;justify-content:space-between;gap:15px;font-size:10px;color:#89988e;padding:25px 0 5px}.sync-label{display:inline-flex;gap:6px;align-items:center}.sync-label .dot{background:#44866d}.sync-label.stale{color:#9b6b24}.sync-label.stale .dot{background:#b78a3f}
/* Authentication and approval */
.auth-page{min-height:100vh;background:#fbfcfa;display:grid;grid-template-columns:48% 52%}.auth-story{position:relative;overflow:hidden;background:#153c39;color:#f4f7ee;padding:44px 10% 34px 10%;display:flex;flex-direction:column;min-height:100vh}.auth-story .brand{margin-bottom:58px}.auth-story .eyebrow{color:#9abcb0}.auth-story h1{font-size:clamp(32px,3.2vw,49px);line-height:1.5;font-weight:500;letter-spacing:1px;margin:14px 0 16px}.auth-story h1 em{color:#c5dbbb;font-style:normal}.auth-story .lead{max-width:340px;font-size:13px;line-height:2;color:#acc6b9}.knowledge-art{width:100%;max-width:410px;align-self:center;flex:1;min-height:170px;max-height:310px;margin:22px 0;opacity:.95}.story-points{display:flex;gap:18px;flex-wrap:wrap;border-top:1px solid #355650;padding-top:22px;margin-top:auto;font-size:11px;color:#b9cfc3}.story-points span{display:flex;align-items:center;gap:6px}.story-points .icon{width:14px;height:14px;color:#c3d8b9}.auth-story footer{font-size:9px;letter-spacing:2px;color:#719d8d;margin-top:26px}.auth-main{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:50px 45px;min-width:0}.auth-top{position:absolute;right:38px;top:31px;display:flex;gap:8px;align-items:center;color:#83928b;font-size:11px}.auth-top .icon{width:14px;height:14px}.auth-card{max-width:365px;width:100%}.auth-card .eyebrow{color:#729483;letter-spacing:2.5px}.auth-card h2{font-size:28px;margin:11px 0 7px;font-weight:600;letter-spacing:-.7px}.auth-card .intro{color:#809087;font-size:13px;margin-bottom:31px}.auth-card label{display:block;margin:17px 0 7px;font-size:12px;font-weight:500}.auth-card input,.auth-card textarea{width:100%;padding:12px 13px;background:#fff;border-color:#d8e2db;border-radius:8px;font-size:13px}.password-field{position:relative}.password-field input{padding-right:54px}.password-toggle{position:absolute;right:8px;top:8px;border:0;background:none;color:#7d9185;padding:6px;font-size:11px}.auth-card .submit{margin-top:25px;width:100%;padding:12px;border-radius:8px}.auth-card .submit .icon{width:17px;height:17px;margin-left:auto}.auth-card .submit span{margin-left:auto}.auth-card #error{min-height:20px;font-size:12px;margin-top:10px}.auth-divider{display:flex;align-items:center;gap:12px;color:#9baa9f;font-size:10px;margin:16px 0}.auth-divider:before,.auth-divider:after{content:"";height:1px;flex:1;background:#e3e9e2}.request-link{width:100%;font-size:12px}.auth-footnote{text-align:center;color:#8a988f;font-size:10px;line-height:1.9;margin-top:18px}.back-link{display:inline-flex;align-items:center;gap:5px;font-size:12px;color:#748a7d;margin-bottom:18px}.register-page .auth-story{position:sticky;top:0;height:100vh}.register-page .auth-card{max-width:420px}.register-page .auth-main{padding-top:45px;padding-bottom:40px}.register-page .auth-card .intro{margin-bottom:17px}.register-page .auth-card h2{font-size:25px}.register-page .auth-card label{margin-top:12px}.form-hint{font-size:10px;color:#89978d;margin-top:5px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.admin-main{max-width:1120px}.admin-summary{display:flex;gap:12px;margin:22px 0}.admin-summary span{background:white;border:1px solid var(--line);border-radius:9px;padding:12px 20px;font-size:12px;color:var(--muted)}.admin-summary b{color:var(--ink);font-size:20px;margin-left:12px;font-weight:600}.user-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.user-card{background:white;border:1px solid var(--line);border-radius:12px;padding:22px;overflow-wrap:anywhere}.user-top{display:flex;gap:11px;align-items:center;margin-bottom:15px}.user-top h2{font-size:15px;font-weight:600}.user-top .muted{font-size:11px}.user-top .pill{margin-left:auto}.user-card p{font-size:12px;color:#78897e;line-height:1.9;margin:7px 0}.user-card .actions{display:flex;gap:7px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:12px;margin-top:14px}.user-card button{font-size:11px}.user-card .user-label{color:#96a299;font-size:10px;display:block}.admin-note{font-size:12px;color:var(--muted);margin:12px 0 20px}
@media(min-width:1700px){.main-content{padding-top:44px}.metric-value{font-size:39px}}
@media(max-width:1150px){.sidebar{width:190px;padding:28px 16px}.workspace{margin-left:190px}.main-content{padding:28px 25px}.topbar{padding:0 25px}.filters{grid-template-columns:repeat(4,minmax(0,1fr))}.channel-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.metric{padding:17px}.overview-grid{grid-template-columns:1.4fr 1fr}.top-actions{gap:10px}.search-hint{display:none}.auth-story{padding:36px 9%}.auth-story h1{font-size:36px}}
@media(max-width:850px){.sidebar{width:72px;padding:24px 12px}.sidebar .brand{margin:0 6px 35px}.sidebar .brand-copy,.nav-caption,.nav-link span,.sidebar-bottom{display:none}.nav-link{padding:13px;justify-content:center}.workspace{margin-left:72px}.overview-grid{grid-template-columns:1fr}.source-metrics{float:left;margin-right:24px;padding-right:24px;border-bottom:0;border-right:1px solid var(--line)}.metric-grid{gap:10px}.metric{padding:14px}.metric-value{font-size:25px}.metric-label{font-size:10px}.metric-label .icon{display:none}.heading-actions .btn{font-size:11px;padding:8px 10px}.topbar .breadcrumb>span{display:none}.auth-page{grid-template-columns:43% 57%}.auth-story{padding:30px 25px}.auth-story h1{font-size:29px}.auth-main{padding:45px 30px}.story-points{gap:10px}.story-points span{width:100%}.user-grid{grid-template-columns:1fr}}
@media(max-width:600px){html{scroll-padding-top:70px}.sidebar{position:static;width:auto;height:auto;padding:15px 18px;flex-direction:row;align-items:center;justify-content:space-between;gap:15px}.sidebar .brand{margin:0}.sidebar .brand-copy{display:block}.sidebar .brand-name{font-size:19px}.sidebar .brand-caption{font-size:8px}.sidebar .brand-mark{width:31px;height:31px}.nav-links{display:flex;gap:3px}.nav-link{padding:9px}.nav-link.active{box-shadow:none}.workspace{margin:0}.topbar{height:52px;padding:0 18px}.top-actions{gap:8px}.account span:not(.avatar){display:none}.breadcrumb{font-size:11px}.top-actions .sync-label{font-size:9px}.main-content{padding:24px 17px 14px}.page-heading{align-items:flex-start;gap:10px;margin-bottom:20px}h1{font-size:25px}.page-heading p{font-size:11px}.heading-actions{padding-top:7px}.heading-actions .secondary-action{display:none}.heading-actions .btn{font-size:10px;padding:7px 9px}.metric-grid{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:16px}.metric{padding:16px}.metric-label{font-size:11px}.metric-label .icon{display:block;width:14px;height:14px}.metric-value{font-size:28px;margin:9px 0 4px}.metric-note{font-size:10px}.panel{padding:18px}.overview-grid{gap:12px;margin-bottom:24px}.batch-line strong{font-size:23px}.task-meta{flex-wrap:wrap}.source-metrics{float:none;border-right:0;border-bottom:1px solid var(--line);margin:0 0 10px;padding:0 0 12px;gap:35px}.section-heading h2{font-size:18px}.section-heading .pill{font-size:9px}.search-row{padding:16px 15px 12px}.filters{grid-template-columns:repeat(2,minmax(0,1fr));padding:0 15px 14px;gap:9px}.filters label:last-child{grid-column:span 2}.search-field input{font-size:12px}.results-toolbar{padding:10px 15px;font-size:10px;align-items:flex-start}.document-row{grid-template-columns:27px minmax(0,1fr);gap:11px;padding:18px 15px}.doc-icon{width:27px;height:33px}.doc-icon .icon{width:15px;height:15px}.document-row h3{font-size:13px}.doc-actions{grid-column:2;flex-direction:row;align-items:center;justify-content:space-between;padding-top:0}.doc-meta{font-size:10px}.pagination{padding:14px 15px;font-size:11px;gap:8px}.pagination button{padding:7px 10px;font-size:11px}.channel-grid{grid-template-columns:1fr}.channel-content{padding:15px}.channel-panel{padding:0}.channel-panel>summary{padding:18px 16px}.page-footer{flex-direction:column;gap:5px}.auth-page{display:block;min-height:100vh}.auth-story{min-height:0;padding:26px 24px 30px}.auth-story .brand{margin-bottom:22px}.auth-story h1{font-size:28px;margin:8px 0 10px;line-height:1.4}.auth-story .lead{font-size:11px;max-width:280px}.auth-story .eyebrow{font-size:8px}.auth-story .knowledge-art,.auth-story .story-points,.auth-story footer{display:none}.auth-main{padding:29px 24px 35px}.auth-top{display:none}.auth-card{max-width:420px}.auth-card h2{font-size:25px}.auth-card .intro{margin-bottom:22px;font-size:12px}.auth-card .eyebrow{font-size:9px}.register-page .auth-story{position:static;height:auto;padding:22px 24px}.register-page .auth-story .brand{margin:0}.register-page .auth-story .story-copy{display:none}.register-page .auth-main{padding-top:25px}.field-grid{grid-template-columns:1fr;gap:0}.admin-summary{gap:8px}.admin-summary span{padding:10px 12px;font-size:10px}.admin-summary b{font-size:17px;margin-left:8px}.user-card{padding:17px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
