:root{--ink:#20352d;--green:#153f35;--muted:#75827b;--line:#e0e7df;--background:#f4f6f2;--soft:#edf2ea;--danger:#a13e31;--amber:#946a23}*{box-sizing:border-box}body{margin:0;font:14px/1.7 -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--background)}[hidden]{display:none!important}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:var(--green)}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #94b99a;outline-offset:3px}h1,h2,h3,p{margin-top:0}.muted{color:var(--muted);font-size:13px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:650;color:var(--green);margin:0 0 10px}.button{border:1px solid transparent;border-radius:5px;padding:9px 17px;line-height:1.5;font-weight:550;font-size:13px;transition:background .15s}.button.primary{background:var(--green);color:white}.button.primary:hover{background:#245b48}.button.secondary{background:white;border-color:#cfdbcf;color:var(--green)}.button.secondary:hover{background:#edf3eb}.button.danger{color:var(--danger);border-color:#e8c9c1;background:#fff9f6}.text-button{background:none;border:0;color:var(--green);padding:4px 0;font-size:12px}.text-button:hover{text-decoration:underline}.login-view{min-height:100vh;display:grid;grid-template-columns:44% 56%}.login-intro{background:var(--green);color:#e7eee3;padding:65px clamp(30px,6vw,90px);position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:center}.login-intro::before,.login-intro::after{content:"";position:absolute;border:1px solid #b2c1ab20;border-radius:50%;width:600px;height:600px;right:-300px;top:150px;pointer-events:none}.login-intro::after{width:460px;height:460px;right:-230px;top:220px}.login-brand{position:absolute;top:55px;font-size:23px;letter-spacing:3px;font-weight:650}.login-brand span{display:block;font-size:9px;font-weight:400;letter-spacing:3px;margin-top:8px;color:#b7c9b7}.login-intro h1{font-size:clamp(25px,3vw,40px);line-height:1.7;font-weight:500;letter-spacing:1px;margin-bottom:24px}.login-intro p{color:#b8cdbd;font-size:14px;line-height:2}.login-foot{position:absolute;bottom:42px;font-size:9px;color:#90af9b;letter-spacing:2px}.login-side{display:flex;justify-content:center;align-items:center;padding:45px 25px;background:#f7f8f4}.login-card{width:min(350px,100%)}.login-card h2{font-size:27px;margin:0 0 12px;font-weight:600}.login-card .muted{margin-bottom:30px}.login-card label{margin-top:18px}.login-card button{width:100%;margin-top:15px;padding:12px}.login-card small{display:block;text-align:center;color:var(--muted);font-size:11px;margin-top:20px}label{display:block;font-weight:550;font-size:12px;margin-bottom:7px}input:not([type=checkbox]),select,textarea{display:block;width:100%;border:1px solid #cfdacd;border-radius:5px;padding:10px 12px;color:var(--ink);background:white;min-width:0;transition:border .15s}input:focus,select:focus,textarea:focus{border-color:#668d6b}textarea{resize:vertical;line-height:1.8}input::placeholder,textarea::placeholder{color:#a0aaa2;font-size:12px}.inline-error{color:var(--danger);font-size:12px;margin:12px 0 0;white-space:pre-wrap}.workspace{display:flex;min-height:100vh}.sidebar{width:225px;flex-shrink:0;background:#fff;border-right:1px solid var(--line);padding:30px 18px;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;z-index:4}.brand{font-size:22px;font-weight:700;letter-spacing:2px;text-decoration:none;margin:3px 15px 36px;line-height:1.5}.brand span{display:block;font-size:10px;letter-spacing:2px;color:var(--muted);font-weight:400;margin-top:7px}.sidebar nav{display:flex;flex-direction:column;gap:7px}.nav-button{border:0;background:none;color:#66756b;border-radius:5px;padding:12px 15px;display:flex;align-items:center;gap:12px;text-align:left;font-size:13px}.nav-button>span{font-size:19px;line-height:1}.nav-button.active{color:var(--green);background:#e9f1e7;font-weight:650}.nav-button:hover{background:#f1f5ee}.sidebar-bottom{margin-top:auto;border-top:1px solid var(--line);padding:20px 15px 0}.sidebar-bottom a{display:block;text-decoration:none;font-size:12px}.sidebar-bottom span{display:block;font-size:10px;color:var(--muted);margin-top:13px}.main-workspace{margin-left:225px;min-width:0;width:calc(100% - 225px);display:flex;flex-direction:column}.topbar{height:72px;background:#fff;border-bottom:1px solid var(--line);padding:0 38px;display:flex;justify-content:space-between;align-items:center;gap:15px}.topbar-label{color:var(--muted);font-size:12px}.user-controls{display:flex;align-items:center;gap:19px;font-size:12px}.user-controls>span::before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:#638b63;margin-right:8px}.main-content{padding:35px 38px;max-width:1360px;width:100%;margin-inline:auto;flex:1}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:27px}.page-heading h1{font-size:27px;font-weight:650;letter-spacing:.5px;margin:0 0 8px;line-height:1.4}.page-heading .muted{margin:0}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:25px}.stat-card{background:white;border:1px solid var(--line);border-radius:7px;padding:20px 22px}.stat-card p{font-size:12px;color:var(--muted);margin-bottom:9px}.stat-card strong{font-size:31px;line-height:1.4;color:var(--green);font-weight:600}.stat-card small{display:block;font-size:10px;color:#9aa69b;margin-top:3px}.dashboard-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:23px;margin-bottom:23px}.panel{background:white;border:1px solid var(--line);border-radius:7px;overflow:hidden}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line);padding:16px 22px}.panel-heading h2{font-size:14px;margin:0;font-weight:650}.collection-summary{padding:23px}.collection-summary h3{font-size:15px;display:flex;gap:9px;align-items:center;margin-bottom:12px}.collection-summary p{font-size:12px;color:var(--muted);margin:7px 0}.collection-summary dl{font-size:12px;display:grid;grid-template-columns:90px 1fr;gap:9px 10px;margin:20px 0 0}.collection-summary dt{color:var(--muted)}.collection-summary dd{margin:0;overflow-wrap:anywhere}.workflow{list-style:none;padding:22px;margin:0;display:grid;gap:20px}.workflow li{display:flex;gap:14px}.workflow li>span{width:26px;height:26px;border-radius:50%;border:1px solid #cddbc9;background:#f3f7f0;color:#5b7d5c;display:grid;place-items:center;font-size:11px;flex-shrink:0}.workflow strong{font-size:12px;font-weight:600}.workflow p{font-size:11px;color:var(--muted);margin:3px 0 0}.integration-note{margin:0 22px 22px;background:#f5f7f2;padding:10px 12px;color:var(--muted);font-size:11px;border-radius:4px}.source-row{padding:14px 22px;border-bottom:1px solid #edf0e9;display:flex;align-items:center;gap:16px}.source-row:last-child{border:0}.source-row-name{flex:1;min-width:0;font-size:12px}.source-row-note{font-size:11px;color:var(--muted);min-width:0;overflow-wrap:anywhere}.badge{display:inline-block;border-radius:4px;padding:3px 8px;background:#edf2e9;color:#557c4d;font-size:10px;white-space:nowrap;font-weight:500}.badge.warning{background:#fbf3e2;color:var(--amber)}.badge.error{background:#faeee8;color:var(--danger)}.badge.neutral{background:#f0f2ee;color:#7d897f}.badge.busy{background:#e8eff8;color:#486c9b}.notice{padding:17px 20px;border:1px solid #e7dcb8;border-left:3px solid #b8954c;border-radius:4px;background:#fbf8ed;margin-bottom:24px}.notice strong{font-size:12px;color:#876622}.notice p{margin:5px 0 0;font-size:12px;color:#928263}.source-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.source-card{border:1px solid var(--line);border-radius:6px;background:white;padding:20px}.source-card-header{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}.source-card h2{font-size:15px;line-height:1.5;margin:0 0 7px;overflow-wrap:anywhere}.source-meta{color:var(--muted);font-size:11px;margin:0}.source-card .source-link{display:block;color:#668268;font-size:11px;word-break:break-all;margin-top:12px;text-decoration:none}.source-detail{margin-top:15px;padding:12px;background:#f6f8f3;border-radius:4px;color:var(--muted);font-size:11px}.source-detail p{margin:0 0 6px}.source-detail p:last-child{margin-bottom:0}.source-card-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;border-top:1px solid var(--line);padding-top:15px;margin-top:15px}.source-card-footer .button{font-size:11px;padding:6px 12px}.item-list{display:grid;gap:14px}.item-card{background:white;border:1px solid var(--line);border-radius:6px;padding:20px 23px}.item-top{display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:10px;color:var(--muted)}.item-card h2{font-size:16px;line-height:1.6;margin:12px 0 9px;overflow-wrap:anywhere;font-weight:600}.item-body{font-size:12px;color:#78847b;margin:0;white-space:pre-line;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.item-footer{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:15px}.item-footer a{font-size:11px;text-decoration:none;color:#6d866e}.item-footer .button{font-size:11px;padding:7px 13px}.item-actions{display:flex;gap:8px}.status-tabs{display:flex;gap:4px;border-bottom:1px solid var(--line);margin-bottom:20px}.status-tab{padding:11px 22px;background:none;border:0;border-bottom:2px solid transparent;color:var(--muted);font-size:12px}.status-tab.active{color:var(--green);font-weight:650;border-bottom-color:var(--green)}.pagination{margin-top:22px;display:flex;justify-content:center;align-items:center;gap:20px}.pagination .button{font-size:11px;padding:7px 13px}.workspace-footer{border-top:1px solid var(--line);padding:18px 38px;color:#96a091;font-size:10px;display:flex;justify-content:space-between}.empty-state{padding:45px 20px;text-align:center;background:white;border:1px dashed #d8e2d3;border-radius:6px;color:var(--muted)}.empty-state h3{font-size:15px;font-weight:550;color:#687e69;margin:0 0 7px}.empty-state p{font-size:12px;margin:0}.empty-state .button{margin-top:14px}.toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);z-index:40;background:#214b38;color:white;border-radius:6px;box-shadow:0 8px 30px #17362425;padding:12px 22px;font-size:13px;max-width:90vw;text-align:center}.toast.error{background:#813d31}.editor-dialog{border:0;border-radius:8px;background:white;color:var(--ink);padding:27px;width:min(790px,calc(100% - 32px));max-height:92vh;box-shadow:0 24px 80px #12271c40}.editor-dialog::backdrop,.confirm-dialog::backdrop{background:#10261c80}.editor-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid var(--line);padding-bottom:18px;margin-bottom:19px}.editor-heading .eyebrow{margin-bottom:4px}.editor-heading h2{font-size:22px;margin:0}.icon-button{border:0;background:#eef3e9;width:31px;height:31px;border-radius:50%;font-size:23px;line-height:1;color:var(--green)}.editor-dialog label:not(.checkbox-row){margin-top:17px}.editor-status{font-size:12px;color:var(--muted)}.form-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px}.required{color:#a1594b}.checkbox-row{display:flex;align-items:flex-start;gap:9px;margin:23px 0 10px;font-weight:450;font-size:12px}.checkbox-row input{margin-top:4px;accent-color:var(--green);width:15px;height:15px}.editor-notice{font-size:11px;color:var(--muted);margin:0}.editor-actions{border-top:1px solid var(--line);padding-top:20px;margin-top:23px;display:flex;justify-content:space-between;align-items:center;gap:16px}.editor-actions>div{display:flex;gap:10px;margin-left:auto}.confirm-dialog{border:0;border-radius:8px;padding:27px;width:min(430px,calc(100% - 36px));color:var(--ink)}.confirm-dialog h2{font-size:20px;margin-bottom:14px}.confirm-dialog p{font-size:13px;color:var(--muted)}.confirm-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}@media(max-width:1120px){.sidebar{width:190px;padding-inline:12px}.brand{font-size:20px;margin-inline:12px}.main-workspace{margin-left:190px;width:calc(100% - 190px)}.main-content{padding:30px 26px}.topbar{padding-inline:26px}.stat-grid{gap:12px}.stat-card{padding:17px}.dashboard-grid{grid-template-columns:1fr}.source-grid{grid-template-columns:1fr}}@media(max-width:760px){.login-view{grid-template-columns:1fr}.login-intro{min-height:200px;padding:25px;justify-content:flex-end}.login-brand{top:22px;font-size:19px}.login-brand span{font-size:8px;margin-top:3px}.login-intro h1{font-size:24px;line-height:1.4;margin:72px 0 0}.login-intro p,.login-foot{display:none}.login-side{padding:35px 25px;align-items:flex-start}.login-card h2{font-size:24px}.workspace{display:block}.sidebar{position:sticky;top:0;width:100%;height:auto;border-right:0;border-bottom:1px solid var(--line);padding:12px 15px;gap:10px;z-index:4}.brand{font-size:16px;letter-spacing:1px;margin:0;display:flex;gap:12px;align-items:center}.brand span{margin:0;font-size:9px}.sidebar nav{flex-direction:row;gap:4px}.nav-button{padding:7px 9px;font-size:11px;justify-content:center;flex:1;gap:6px}.nav-button>span{font-size:15px}.sidebar-bottom{display:none}.main-workspace{margin-left:0;width:100%}.topbar{height:48px;padding:0 20px}.topbar-label{font-size:10px}.user-controls{font-size:10px;gap:12px}.user-controls .text-button{font-size:10px}.main-content{padding:24px 18px}.page-heading{align-items:flex-start;gap:12px}.page-heading h1{font-size:23px}.page-heading .muted{font-size:11px}.page-heading>.button{font-size:11px;padding:8px 11px;white-space:nowrap;margin-top:18px}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.stat-card{padding:15px 17px}.stat-card strong{font-size:27px}.stat-card p{font-size:11px}.panel-heading{padding:15px 17px}.collection-summary,.workflow{padding:18px}.source-row{padding:13px 17px;gap:9px;flex-wrap:wrap}.source-row-note{width:100%;order:3}.source-card{padding:18px}.notice{padding:15px}.item-card{padding:17px}.item-card h2{font-size:15px}.workspace-footer{padding:16px 20px;font-size:9px;flex-wrap:wrap;gap:6px}.form-columns{grid-template-columns:1fr;gap:0}.editor-dialog{padding:20px}.editor-actions{align-items:stretch;flex-direction:column}.editor-actions>div{margin-left:0;justify-content:flex-end}.editor-actions>.button{align-self:flex-start}.status-tab{padding:10px 16px}.item-footer{flex-wrap:wrap}.item-actions{margin-left:auto}}
.candidate-validity{font-size:10px;line-height:1.8;color:#85917f;margin:8px 0 0}.editor-provenance{background:#f4f7ef;border-left:2px solid #a6b898;padding:10px 13px;margin-top:12px;font-size:11px}.editor-provenance p{margin:0 0 4px}.editor-provenance p:last-child{margin:5px 0 0;color:#96a38f}
.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}.heading-actions{display:flex;gap:9px;flex-shrink:0}.source-toolbar{display:grid;grid-template-columns:minmax(180px,1fr) 145px 145px;gap:12px}.source-toolbar input,.source-toolbar select{font-size:12px;padding:10px 12px}.source-count{font-size:11px;color:var(--muted);margin:13px 0}.source-inline-note{border-left:2px solid #bfd1b5;padding:9px 13px;background:#edf2e8;color:#6d7d65;font-size:11px;margin-bottom:22px;line-height:1.8}.source-tags{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;font-size:10px;color:#8b978a;margin-top:12px}.source-id{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.source-topic{background:#f0f4ec;border-radius:3px;padding:1px 5px;color:#73866c}.source-account{font-size:11px;color:#73816f;margin:9px 0 0;overflow-wrap:anywhere}.source-description{font-size:11px;color:#7d8976;line-height:1.8;margin:11px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.source-detail{overflow-wrap:anywhere}.source-conditions{border-top:1px solid #e3eadd;padding-top:8px;margin-top:10px;white-space:pre-wrap}.source-conditions summary{cursor:pointer;color:#5c7652;user-select:none;font-weight:550;font-size:11px;white-space:normal}.source-conditions[open] summary{margin-bottom:8px}.source-conditions p{line-height:1.8}.source-conditions a{font-size:11px;display:inline-block;margin:2px 0 5px}.source-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.source-card-footer .source-actions .button{padding:6px 10px}.source-test-result{font-weight:550;color:#547548}.source-test-result.inline-error{color:var(--danger);margin:6px 0}.source-dialog{width:min(820px,calc(100% - 32px));scrollbar-gutter:stable}.source-dialog .field-help{display:block;color:#85907d;font-size:10px;line-height:1.8;font-weight:400;margin:5px 0 0}.source-dialog input[readonly]{background:#f5f7f2;color:#7d8a74}.source-dialog .source-type-guide{border-left:2px solid #b1c3a1;background:#f2f6ed;padding:10px 13px;margin-top:18px;font-size:11px;color:#6f825f;line-height:1.8}.topic-options{display:flex;flex-wrap:wrap;gap:6px 13px;padding-top:6px}.editor-dialog .topic-options label{display:flex;align-items:center;gap:5px;font-size:11px;font-weight:400;margin:0;line-height:1.8}.topic-options input{accent-color:var(--green);margin:0;width:13px;height:13px}.authorization-fields{margin:23px 0 0;border:1px solid #dfe7d7;border-radius:5px;padding:13px 18px 18px;background:#fafbf7;min-width:0}.authorization-fields legend{font-size:13px;font-weight:600;color:#536e47;padding:0 7px}.authorization-fields>.field-help{margin:0}.authorization-checks{display:flex;gap:15px;align-items:center;padding-top:30px;flex-wrap:wrap}.authorization-checks .checkbox-row{margin:0;font-size:11px}.source-dialog .editor-actions>.editor-notice{max-width:46%;margin:0}.source-dialog .editor-actions .button{white-space:nowrap}@media(max-width:760px){.heading-actions{padding-top:18px;gap:6px}.heading-actions .button{font-size:11px;padding:8px 11px;white-space:nowrap}.source-toolbar{grid-template-columns:1fr 1fr;gap:9px}.source-search{grid-column:1/-1}.source-card-header{gap:10px}.source-card-header .badge{max-width:38%;white-space:normal;text-align:center;flex-shrink:0}.source-card-footer{gap:10px}.source-card-footer .source-actions .button{padding:6px 9px}.authorization-checks{padding-top:14px;padding-bottom:3px}.authorization-fields{padding:11px 13px 15px}.source-dialog .editor-actions>.editor-notice{max-width:none}.source-dialog .editor-actions>div{justify-content:space-between}.source-inline-note{font-size:10px;margin-bottom:18px}.source-count{font-size:10px}}
.integration-note p{margin:0}.integration-note p+p{margin-top:6px}
