@import url('/static/fonts.css');
:root{--bg:#f7f8f5;--surface:#fff;--ink:#26372f;--muted:#879189;--line:#e6eae4;--green:#195c49;--soft:#eaf1e7;--lime:#dce9c6;--danger:#bc5147}*{box-sizing:border-box}body{margin:0;font:14px/1.65 -apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--bg)}button,input,select,textarea{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:var(--green);text-decoration:none}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible{outline:2px solid #558571;outline-offset:4px}button{border:0;background:none;color:inherit}.primary,.secondary,.danger-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:11px 20px;border-radius:9px;font-weight:600;font-size:13px;background:var(--green);color:white;border:1px solid var(--green);white-space:nowrap}.primary:hover{background:#134c3c}.secondary{background:#fff;color:#506555;border-color:#dce3da}.danger-button{background:#fff5f2;color:var(--danger);border-color:#efd9d4}.small{padding:7px 12px;font-size:12px}.full{width:100%}.text-button{font-size:12px;color:var(--green);padding:0}.muted{color:var(--muted)}.error{color:var(--danger);font-size:12px;min-height:18px}.eyebrow{font-size:11px;letter-spacing:2px;color:#80907c}.pill,.tag{display:inline-flex;align-items:center;gap:5px;padding:3px 9px;background:var(--soft);color:#64765b;font-size:10px;border-radius:5px}.tag.warn{background:#fff3df;color:#9d732a}.tag.bad{background:#fcebe8;color:#a64d42}.tag.gray{background:#f1f3f0;color:#84907e}.brand{display:flex;align-items:center;gap:11px;color:var(--ink);font-size:18px;letter-spacing:.5px}.brand img{width:37px;height:37px}.brand small{display:block;letter-spacing:1.4px;color:#8c9a88;font-size:9px;font-weight:400;margin-top:1px}.sidebar{width:230px;position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);padding:30px 20px 20px;display:flex;flex-direction:column;z-index:30}.sidebar .brand{padding:0 10px;margin-bottom:32px}.nav-label{font-size:10px;color:#a2aaa0;margin:20px 13px 10px;display:block;letter-spacing:1px}.nav-item{display:flex;gap:12px;align-items:center;padding:12px 15px;width:100%;text-align:left;border-radius:8px;font-size:12px;color:#798578;margin:3px 0}.nav-item>span{font-size:19px;width:18px;text-align:center;line-height:1}.nav-item.active{background:#edf3e9;color:var(--green);font-weight:600}.nav-item i{margin-left:auto;font:10px/20px inherit;border-radius:4px;padding:0 6px;background:#dce8d2}.plugin-download{display:block;margin-top:auto;padding:18px 15px;background:#f5f7f0;border-radius:10px;border:1px solid #e9eddf}.plugin-download>span{display:block;font-size:22px;line-height:1.3;color:#7c9568}.plugin-download strong{font-size:11px;display:block;margin-top:8px}.plugin-download small{font-size:10px;display:block;color:#9aa48d;margin:3px 0 12px}.plugin-download b{font-size:10px;font-weight:500}.sidebar-user{display:flex;align-items:center;gap:10px;padding:20px 3px 0;margin-top:18px;border-top:1px solid var(--line);font-size:11px}.avatar{background:#ecf0e8;color:#718368;display:grid;place-items:center;width:31px;height:31px;border-radius:50%}.sidebar-user small{display:block;font-size:9px;color:#a2aba0}.sidebar-user>button{margin-left:auto;color:#9da699;font-size:19px}.workspace{margin-left:230px;min-height:100vh}.topbar{height:71px;border-bottom:1px solid var(--line);padding:0 40px;display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#a0a79d;background:#fbfcf9}.topbar b{font-weight:400;margin:0 13px;color:#c6cdc2}.topbar strong{font-weight:500;color:#4c6051}.topbar-right{display:flex;align-items:center;gap:8px;font-size:10px;color:#809078}.status-dot{display:inline-block;width:5px;height:5px;background:#719659;border-radius:50%}.top-divider{height:14px;border-left:1px solid #dfe5db;margin:0 10px}#main{padding:36px 40px 70px;max-width:1680px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px;gap:20px}h1{font-size:27px;font-weight:600;letter-spacing:-.5px;margin:8px 0}h2{font-size:20px;line-height:1.5;margin:4px 0}.page-heading p{font-size:12px;color:#929c8c;margin:7px 0 0}.summary{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);background:#fff;border-radius:11px;margin-bottom:30px;padding:23px 0}.summary>div{padding:0 26px;border-right:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.summary>div:last-child{border-right:0}.summary span{font-size:11px;color:#8a9783}.summary strong{font-size:26px;font-weight:500;line-height:1}.toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:20px}.search{background:white;border:1px solid var(--line);border-radius:8px;display:flex;gap:10px;align-items:center;padding:0 13px;width:280px}.search span{font-size:20px;color:#99a68d}.search input{border:0!important;padding:10px 0!important;outline:none;background:none!important;width:100%}.toolbar select{max-width:170px}.toolbar .push-right{margin-left:auto}.toolbar-count{font-size:11px;color:#8d9788}.resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.resource-card{background:#fff;border:1px solid var(--line);border-radius:11px;overflow:hidden;transition:box-shadow .2s,border-color .2s}.resource-card:hover{border-color:#c6d4bf;box-shadow:0 8px 25px #354d2410}.card-cover{height:160px;background:#f0f3eb;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center}.card-cover img{height:100%;width:100%;object-fit:cover}.cover-fallback{position:relative;display:flex;gap:10px;align-items:center;color:#9dad90;font-size:12px;letter-spacing:2px}.cover-fallback b{font-size:45px;font-weight:200;opacity:.6}.card-cover input{position:absolute;top:13px;left:13px;width:16px;height:16px;accent-color:var(--green);cursor:pointer}.cover-badge{position:absolute;right:12px;top:12px;padding:2px 7px;background:#fffffff0;border-radius:4px;font-size:9px;color:#6a8057}.card-body{padding:16px 17px 12px}.card-meta{font-size:9px;color:#9aa58f;display:flex;align-items:center;justify-content:space-between;margin-bottom:7px}.card-body h3{font-size:13px;line-height:1.8;font-weight:550;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;height:47px}.card-body .tags{margin:10px 0 13px;display:flex;gap:5px}.card-bottom{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #edf0e9;padding-top:11px;font-size:10px;color:#a1ab98}.card-bottom button{font-size:10px;color:var(--green)}.pagination{display:flex;justify-content:center;align-items:center;gap:15px;margin:28px 0;font-size:11px;color:#8c9b82}.batch-bar{position:sticky;bottom:18px;z-index:15;margin:22px auto 0;background:#263f31;color:white;border-radius:10px;max-width:680px;box-shadow:0 8px 25px #1c332633;display:flex;align-items:center;justify-content:space-between;padding:13px 18px;gap:15px;font-size:12px}.batch-bar .primary{background:#e1ebce;color:#355137;border-color:#e1ebce}.empty{padding:70px 25px;text-align:center;background:#fff;border:1px dashed #d9e2d2;border-radius:12px;color:#97a38d}.empty .empty-mark{font-size:38px;color:#b4c1ab}.empty h3{font-size:15px;color:#586e50;font-weight:500;margin:10px 0}.empty p{font-size:11px;max-width:450px;margin:0 auto 20px}.surface{background:#fff;border:1px solid var(--line);border-radius:11px;padding:24px}.surface+.surface{margin-top:18px}.surface-head{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:15px}.surface-head h3{font-weight:500;font-size:15px;margin:0}.surface-head p{font-size:11px;color:#8b9982;margin:3px 0}.source-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.source-card{background:#fff;border:1px solid var(--line);border-radius:11px;padding:22px}.source-card h3{font-size:15px;margin:0;font-weight:550}.source-card small{font-size:10px;color:#98a08f}.source-heading{display:flex;justify-content:space-between;align-items:center}.source-avatar{width:38px;height:38px;border-radius:10px;background:#eef3e8;display:grid;place-items:center;color:#71845f;font-size:16px}.source-details{margin:18px 0;color:#819073;font-size:11px;line-height:2}.source-actions{display:flex;gap:8px;flex-wrap:wrap;padding-top:14px;border-top:1px solid var(--line)}input,textarea,select{border:1px solid #e0e6da;background:#fbfcf9;border-radius:7px;padding:9px 11px;color:#4b6146;min-width:0}input:focus,textarea:focus,select:focus{outline:2px solid #c9dbc0;border-color:#b4c8a8}label{display:block;font-size:12px;color:#6d7e62;margin-bottom:17px}label>input,label>textarea,label>select{display:block;width:100%;margin-top:7px}label:has(input[type=checkbox]){display:flex;gap:10px;align-items:center}label>input[type=checkbox]{width:auto;margin:0;accent-color:var(--green)}textarea{resize:vertical;min-height:100px;line-height:1.8;font-size:12px}.help{font-size:11px;color:#99a18f;margin:8px 0 18px}.form-row{display:flex;gap:15px}.form-row>*{flex:1}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:23px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:11px}th{text-align:left;color:#a0aa94;font-size:10px;font-weight:400;background:#f9faf6}td,th{padding:13px;border-bottom:1px solid #edf0e8}td.message{max-width:400px;white-space:normal;color:#8a967d}dialog{border:1px solid #e2e8dc;border-radius:16px;padding:28px;width:min(680px,calc(100vw - 30px));max-height:90vh;color:var(--ink);box-shadow:0 20px 80px #142a2940}dialog::backdrop{background:#1e302762;backdrop-filter:blur(4px)}.modal-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:24px}.icon-button{font-size:23px;color:#8b9a80;width:31px;height:31px;line-height:1;display:grid;place-items:center;border-radius:6px}.icon-button:hover{background:#f0f3ea}.article-preview{font-size:13px;line-height:1.9;max-height:330px;overflow:auto;border:1px solid var(--line);border-radius:8px;padding:18px;overflow-wrap:anywhere}.article-preview pre{white-space:pre-wrap}.article-preview table{white-space:normal}.preview-images{display:flex;gap:8px;overflow:auto;margin:12px 0 20px}.preview-images img{width:160px;height:110px;object-fit:cover;border-radius:7px}.preview-images button{padding:0}.crop-preview{max-height:300px;max-width:100%;display:block;margin:15px auto;border-radius:6px}.crop-fields{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.crop-fields input{width:100%}.tabs{display:flex;gap:15px;border-bottom:1px solid var(--line);margin-bottom:20px;font-size:12px}.tabs button{padding:8px 0 12px;color:#9aa58e}.tabs button.active{color:var(--green);border-bottom:2px solid var(--green)}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:100;background:#253d30;color:#eff5e8;padding:12px 22px;border-radius:9px;box-shadow:0 8px 25px #1a34252b;font-size:12px;max-width:90vw;display:none}#toast.show{display:block}.site-footer{display:flex;justify-content:space-between;font-size:9px;color:#a6af9d;border-top:1px solid var(--line);padding:18px 40px}#mobile-menu{display:none}.auth-page{display:flex;min-height:100vh;background:white}.auth-art{width:54%;background:#edf2e7;padding:42px 9%;position:relative;overflow:hidden;display:flex;flex-direction:column}.auth-art .brand{font-size:20px}.auth-copy{margin:auto 0;padding-top:65px}.auth-copy h1{font-size:43px;font-weight:500;letter-spacing:-1px;line-height:1.5;margin:14px 0;color:#304e39}.auth-copy>p{font-size:13px;line-height:2;color:#94a088}.auth-foot{font-size:10px;color:#99a58e;letter-spacing:1px;position:relative;z-index:1}.orbit{height:275px;position:relative;margin:20px -20px 0}.orbit:before,.orbit:after{content:'';position:absolute;inset:20px 12px;border:1px solid #d4dfc8;border-radius:50%;transform:rotate(-25deg)}.orbit:after{inset:45px 45px;transform:rotate(25deg)}.orbit-center{position:absolute;left:41%;top:30%;width:75px;height:75px;border-radius:21px;background:#476849;color:#eef4e5;display:grid;place-items:center;font:300 28px sans-serif;box-shadow:0 14px 35px #526d4126;transform:rotate(-10deg)}.orbit>span{position:absolute;padding:8px 20px;background:#ffffffcf;color:#8a9e7c;border:1px solid #e2e8da;border-radius:8px;font-size:11px;box-shadow:0 6px 15px #66765b0c}.orbit-one{top:15px;left:20%}.orbit-two{right:-3px;top:70px}.orbit-three{left:-5px;top:150px}.orbit-four{right:10%;bottom:20px;background:#d8e5c5!important;color:#5c784b!important}.auth-form{flex:1;display:flex;align-items:center;justify-content:center;padding:50px}.auth-box{width:330px}.auth-box h2{font-size:29px;margin:17px 0 6px;font-weight:500}.auth-box>p{font-size:12px;margin-bottom:29px}.auth-box form{margin-top:30px}.auth-box input{height:44px;background:#fbfcf9}.auth-box .primary{height:46px;justify-content:space-between}.auth-switch{text-align:center;font-size:11px!important;color:#9fa793;margin-top:20px}.auth-switch button{margin-left:5px}.auth-note{margin-top:48px;padding-top:22px;border-top:1px solid var(--line);font-size:10px;color:#a8b09f;text-align:center;line-height:1.9}.auth-mobile-brand{display:none}[hidden]{display:none!important}
@media(min-width:1500px){.card-cover{height:200px}}@media(max-width:1150px){.resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#main{padding:30px 26px}.topbar{padding:0 26px}.summary>div{padding:0 18px}.summary strong{font-size:22px}.source-grid{grid-template-columns:1fr}.auth-art{padding:40px 6%}.auth-copy h1{font-size:34px}}@media(max-width:780px){.sidebar{transform:translateX(-100%);transition:transform .2s}.sidebar.open{transform:translateX(0);box-shadow:10px 0 50px #18261d25}.workspace{margin-left:0}#mobile-menu{display:grid;margin-right:10px}.topbar{padding:0 18px;justify-content:flex-start;height:60px}.topbar-right{margin-left:auto}.topbar-right .status-dot,.top-divider{display:none}.topbar-right{font-size:9px}.page-heading{align-items:flex-start}.page-heading h1{font-size:21px}.page-heading .primary{font-size:11px;padding:9px 12px}.eyebrow{font-size:9px}#main{padding:25px 18px}.summary{padding:18px 0;margin-bottom:22px;grid-template-columns:repeat(2,1fr);gap:20px 0}.summary>div:nth-child(2){border:0}.summary strong{font-size:23px}.summary span{font-size:10px}.resource-grid{gap:12px}.card-cover{height:135px}.card-body{padding:12px}.card-body h3{font-size:12px}.card-meta{font-size:8px}.tag{font-size:9px;padding:2px 6px}.toolbar{gap:8px}.search{width:100%;flex-basis:100%}.toolbar select{font-size:11px;max-width:47%}.toolbar .push-right{margin-left:0}.card-bottom span{font-size:9px}.site-footer{padding:18px}.auth-art{display:none}.auth-form{min-height:100vh;padding:30px 24px;flex-direction:column}.auth-mobile-brand{display:flex;margin-bottom:45px}.auth-box{width:min(350px,100%)}.form-row{flex-wrap:wrap}.form-row>*{flex-basis:100%}.batch-bar{padding:12px;font-size:10px;gap:7px}.batch-bar select{max-width:135px;font-size:10px}.batch-bar .primary{padding:8px 10px;font-size:10px}}@media(max-width:420px){.resource-grid{grid-template-columns:1fr}.card-cover{height:190px}.card-body h3{font-size:13px;height:auto;min-height:38px}.page-heading{flex-wrap:wrap}.page-heading .primary{margin-top:-6px}.toolbar-count{display:none}.crop-fields{grid-template-columns:repeat(2,1fr)}}
/* Site-wide date scans */
.scan-start{display:flex;align-items:center;justify-content:space-between;gap:20px}.scan-start p{margin:8px 0 0;color:var(--muted,#758079);font-size:13px}.scan-intro{line-height:1.8;color:#64756a}.scan-source-choices{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:18px 0}.scan-source-choice{display:flex!important;align-items:center;gap:10px;border:1px solid #dce4d9;border-radius:8px;padding:12px;margin:0!important}.scan-source-choice input{width:auto!important}.scan-source-choice small{display:block;color:#819085;font-size:11px;margin-top:3px}.scan-advanced{margin-top:20px;border-top:1px solid #e4e9e1;padding-top:16px}.scan-advanced summary,.scan-issues summary{cursor:pointer;color:#346754;font-size:13px}.scan-run{padding:22px 0;border-top:1px solid #e4e9e1}.scan-run-heading{display:flex;justify-content:space-between;align-items:center;gap:14px}.scan-run-heading small{display:block;color:#839082;font-size:11px;margin-top:8px}.scan-run-actions{display:flex;gap:12px;align-items:center}.scan-counts{display:flex;flex-wrap:wrap;gap:14px 22px;margin:18px 0 10px;font-size:12px;color:#7c8b80}.scan-counts b{margin-left:5px;color:#214d3b;font-size:15px}.scan-current{font-size:11px;color:#8a978e;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.scan-issues{margin-top:16px}.scan-issues>div{padding:12px 0;border-bottom:1px solid #eef1eb;overflow-wrap:anywhere;font-size:12px}.scan-issues p{margin:5px 0 0;color:#98694e}.scan-empty{padding:24px 0;color:#849184;font-size:13px}@media(max-width:650px){.scan-start{align-items:stretch;flex-direction:column}.scan-run-heading{align-items:flex-start}.scan-run-actions{flex-shrink:0;gap:6px}.scan-counts{gap:12px 16px}.scan-source-choices{grid-template-columns:1fr}.scan-start .primary{align-self:flex-start}}

.source-grid > .surface { margin-top: 0; }
