:root{--forest:#214e40;--forest-dark:#173d32;--ink:#24483d;--text:#384b43;--muted:#6e7d71;--paper:#f6f5ed;--white:#fffef9;--line:#dce1d4;--sage:#d9e5ce;--sage-light:#edf2e7;--accent:#b5684f;--amber:#8f6b2e;--red:#a44737;font-family:"Microsoft YaHei UI","PingFang SC",system-ui,sans-serif;color:var(--text);background:var(--paper);font-size:14px;line-height:1.65;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #85a38b}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.52}a{color:var(--forest)}button{color:inherit}h1,h2,h3,h4,p{margin:0}h1,h2,h3{color:var(--ink)}img{display:block;max-width:100%}button img{pointer-events:none}.app-shell{display:flex;min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:226px;background:var(--forest);color:#d9e3d2;padding:29px 18px 21px;display:flex;flex-direction:column;z-index:10}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:#f4f1de;padding:0 10px}.brand>img{width:35px;height:35px;filter:invert(92%) sepia(20%) saturate(218%) hue-rotate(39deg)}.brand>span{font-family:SimSun,"Songti SC",serif;font-size:24px;letter-spacing:2px;line-height:1.3}.brand small{display:block;font-family:"Microsoft YaHei UI",sans-serif;font-size:14px;letter-spacing:1px;color:#b9cebc;margin-top:7px}.sidebar-caption{font-size:14px;color:#a7c0ad;padding:32px 14px 13px}nav{display:flex;flex-direction:column;gap:7px}.nav-item{display:flex;align-items:center;gap:14px;border:0;background:transparent;color:#dce7d9;text-align:left;min-height:49px;padding:11px 15px;border-radius:8px;font-size:15px}.nav-item img{width:21px;height:21px;filter:invert(88%) sepia(11%) saturate(251%) hue-rotate(43deg)}.nav-item:hover{background:#2c5c4c}.nav-item[aria-current=page]{background:#d4e0c3;color:var(--forest-dark);font-weight:600}.nav-item[aria-current=page] img{filter:none}.sidebar-bottom{margin-top:auto;padding:25px 10px 0;color:#b0c8b7;font-size:14px}.sidebar-bottom>img{height:139px;width:170px;object-fit:contain;margin:0 auto 12px}.sidebar-bottom>p{font-family:KaiTi,STKaiti,serif;font-size:16px;line-height:1.7}.sidebar-divider{height:1px;background:#567664;margin:21px 0 15px}.sidebar-bottom>span{font-size:14px}.main-shell{margin-left:226px;min-width:0;width:calc(100% - 226px)}.topbar{height:69px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 35px;background:#fafaf5}.topbar-brand{font-weight:600}.topbar-separator{color:#afb7a6;padding:0 16px}#breadcrumb{color:var(--muted)}.topbar-right{display:flex;align-items:center;gap:19px;color:var(--muted);font-size:14px}.topbar-right #connection-state:before{content:"";display:inline-block;width:7px;height:7px;background:#7da38a;border-radius:50%;margin-right:7px}.topbar-right #connection-state.offline:before{background:var(--accent)}.text-button{background:none;border:none;padding:3px 0;color:var(--forest);font-size:14px}.text-button:hover{text-decoration:underline}.text-button.danger{color:var(--red)}main{max-width:1500px;margin:0 auto;padding:31px 35px 28px;min-height:calc(100vh - 126px)}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:25px}.eyebrow{font-size:14px;letter-spacing:1px;color:var(--muted);margin-bottom:8px}.page-heading h1{font-family:SimSun,"Songti SC",serif;font-size:30px;font-weight:600;line-height:1.35;letter-spacing:1px}.page-heading .subtitle{color:var(--muted);margin-top:10px;max-width:730px}.button-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.button{border:1px solid #c6d2c0;background:var(--white);padding:9px 17px;min-height:42px;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;gap:8px;color:var(--forest);white-space:nowrap;text-decoration:none;font-size:14px}.button img{width:17px;height:17px}.button:hover{border-color:#729a7c;background:#eff4e9}.button.primary{background:var(--forest);border-color:var(--forest);color:#fffef5}.button.primary:hover{background:#326550}.button.primary img{filter:invert(100%)}.button.danger{color:var(--red);border-color:#d8b4a9}.button.small{min-height:34px;padding:5px 11px}.button.ghost{background:none;border-color:transparent}.button.ghost:hover{border-color:var(--line)}.preview-notice{display:flex;align-items:center;gap:12px;padding:11px 15px;background:#eeefe1;border:1px solid #dce0c9;border-radius:6px;color:#667254;margin-bottom:23px;font-size:14px}.preview-notice>img{width:18px;height:18px;flex-shrink:0}.metrics-strip{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:17px 0;margin-bottom:29px}.metric{padding:0 24px;border-left:1px solid var(--line);display:flex;align-items:baseline;gap:12px}.metric:first-child{padding-left:0;border-left:0}.metric strong{font-family:Georgia,serif;font-size:30px;font-weight:500;line-height:1.2;color:var(--forest)}.metric span{color:var(--muted)}.section-header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:15px}.section-header h2{font-size:18px;font-weight:600;letter-spacing:.5px}.section-header .meta{font-size:14px;color:var(--muted);margin-left:10px}.section-header>div{display:flex;align-items:baseline}.today-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px;margin-bottom:29px}.content-card{background:var(--white);border:1px solid #d9dfd0;border-radius:9px;overflow:hidden;display:flex;flex-direction:column;min-width:0}.card-top{display:flex;align-items:center;justify-content:space-between;padding:16px 19px 0;gap:8px}.card-kind{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:14px}.card-kind img{width:17px;height:17px;opacity:.7}.tag{display:inline-flex;align-items:center;white-space:nowrap;border-radius:4px;padding:2px 8px;font-size:14px;line-height:1.6;background:#edf1e6;color:#577353}.tag.published,.tag.succeeded{background:#e7efdf;color:#4e714f}.tag.draft,.tag.queued{background:#f2ecdd;color:#8e743e}.tag.scheduled,.tag.running{background:#e5ece7;color:#527965}.tag.withdrawn,.tag.failed,.tag.blocked{background:#f4e8e0;color:#a2644c}.card-art{height:170px;margin:8px 17px 0;display:flex;align-items:center;justify-content:center;background-color:#faf9f0;background-image:url('/static/assets/paper.png');background-size:480px;border-radius:5px;overflow:hidden}.card-art>img{height:155px;width:93%;object-fit:contain}.card-art.season>img{height:159px;width:60%;object-position:50% 44%}.card-body{padding:16px 19px 18px;flex:1}.card-body h3{font-family:SimSun,"Songti SC",serif;font-size:23px;font-weight:600;line-height:1.45;margin-bottom:8px}.card-body p{font-size:14px;color:#778272;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:46px}.card-foot{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #e7eadf;margin:0 19px;padding:12px 0;color:var(--muted);font-size:14px;gap:8px}.card-foot .text-button{font-weight:500}.card-foot .text-button img{display:inline;width:15px;vertical-align:middle;margin-left:5px}.overview-bottom{display:grid;grid-template-columns:minmax(0,1.58fr) minmax(295px,1fr);gap:26px}.content-section{min-width:0}.panel{background:#fffef8;border:1px solid var(--line);border-radius:8px;padding:20px}.calendar-overview{width:100%;border-collapse:collapse;table-layout:fixed}.calendar-overview th{text-align:left;font-size:14px;font-weight:400;color:var(--muted);padding:10px 0;border-bottom:1px solid var(--line)}.calendar-overview td{padding:10px 0;border-bottom:1px solid #eceee5;font-size:14px}.calendar-overview tbody tr:last-child td{border:0}.calendar-overview th:first-child{width:33%}.calendar-overview th:not(:first-child),.calendar-overview td:not(:first-child){text-align:center}.calendar-cell{border:0;background:none;padding:2px 5px;border-radius:3px;color:#426b50;font-size:14px}.calendar-cell.empty{color:#9aa392}.calendar-cell:hover{background:#edf1e5}.calendar-overview .today{font-weight:600;color:var(--forest)}.subtle{color:var(--muted);font-size:14px}.provider-box{background:#f2f2e6;border-radius:6px;padding:14px 16px;margin-bottom:16px}.provider-line{display:flex;align-items:center;justify-content:space-between;gap:15px}.provider-box h3{font-size:15px;font-weight:600}.provider-box p{font-size:14px;color:var(--muted);margin-top:7px}.provider-parts{display:flex;gap:12px;margin-top:10px;flex-wrap:wrap}.provider-parts span{font-size:14px;color:#7e775f}.job-list{display:flex;flex-direction:column}.job-line{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:12px 0;border-top:1px solid #e7eadf}.job-line:first-child{border-top:0;padding-top:0}.job-line p{font-size:14px;color:var(--muted);margin-top:3px;overflow-wrap:anywhere}.job-line strong{font-size:14px;font-weight:500}.empty-state{text-align:center;color:var(--muted);padding:38px 22px}.empty-state>img{width:35px;height:35px;opacity:.5;margin:0 auto 14px}.empty-state h3{font-size:17px;margin-bottom:8px;font-weight:500}.empty-state p{font-size:14px}.empty-state .button{margin-top:15px}.compact-empty{text-align:left;padding:12px 0 8px;font-size:14px;color:var(--muted)}.recent-publish{margin-top:25px;padding-top:23px;border-top:1px solid var(--line)}.recent-line{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 0;border-top:1px solid #e2e6d8}.recent-line:first-child{border-top:0}.recent-line p{font-size:14px;color:var(--muted)}.recent-line strong{font-size:14px;font-weight:500}.page-footer{padding:15px 35px 23px;display:flex;justify-content:space-between;color:#8a9384;font-size:14px;gap:18px}.filter-bar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:14px 0 18px}.filter-bar input[type=search]{flex:1;min-width:220px;max-width:420px}.filter-bar select{min-width:140px}.field input,.field select,.field textarea,.filter-bar input,.filter-bar select,.calendar-control input{background:#fffefb;border:1px solid #cfd8c8;border-radius:5px;padding:9px 11px;width:100%;min-height:42px;color:var(--text)}.field textarea{resize:vertical;min-height:108px;line-height:1.7}.field input:focus,.field select:focus,.field textarea:focus{border-color:#698773}.field{display:block;margin-bottom:20px}.field>span,.field>label{display:block;font-size:14px;font-weight:500;color:var(--ink);margin-bottom:7px}.field small{display:block;color:var(--muted);margin-top:6px;font-size:14px}.fields-two{display:grid;grid-template-columns:1fr 1fr;gap:18px}.field-row{display:flex;align-items:center;gap:10px}.field-row>label{font-size:14px}.field input[type=checkbox]{width:17px;min-height:17px;height:17px;accent-color:var(--forest)}.check-field{display:flex;align-items:flex-start;gap:10px;font-size:14px;cursor:pointer;padding:8px 0}.check-field input{width:17px;height:17px;accent-color:var(--forest);flex-shrink:0;margin-top:3px}.check-field small{display:block;font-size:14px;color:var(--muted);margin-top:3px}.table-wrap{overflow-x:auto;border:1px solid var(--line);background:var(--white);border-radius:7px}.data-table{border-collapse:collapse;width:100%;min-width:700px}.data-table th{text-align:left;padding:13px 16px;background:#eff2e8;color:#6d7c6d;font-size:14px;font-weight:500;white-space:nowrap}.data-table td{padding:16px;border-top:1px solid #e2e7d9;vertical-align:middle;font-size:14px}.data-table tbody tr:hover{background:#f6f8ef}.data-table .row-title{font-weight:500;color:var(--forest);border:0;background:none;padding:0;text-align:left;font-size:15px;display:block}.data-table .row-title:hover{text-decoration:underline}.data-table .row-description{max-width:340px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:var(--muted);font-size:14px;margin-top:4px}.row-thumb{width:46px;height:46px;object-fit:contain;background:#f4f4e9;border-radius:4px}.row-main{display:flex;align-items:center;gap:13px}.calendar-control{display:flex;align-items:center;gap:12px}.calendar-control input{width:155px}.calendar-board{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border:1px solid var(--line);background:var(--white);border-radius:7px;overflow:hidden}.day-column{border-left:1px solid var(--line);min-width:0;padding:14px 9px;min-height:380px}.day-column:first-child{border-left:0}.day-heading{text-align:center;padding-bottom:15px;border-bottom:1px solid var(--line);margin-bottom:12px}.day-heading span{display:block;font-size:14px;color:var(--muted)}.day-heading strong{font-family:Georgia,serif;font-size:27px;font-weight:400;color:var(--forest)}.day-heading.today{background:#ecf0e2;border-radius:4px}.day-item{display:block;border:1px solid #dde3d3;border-radius:4px;background:#f9faf1;text-align:left;padding:10px 8px;width:100%;margin-bottom:9px;min-height:91px;overflow-wrap:anywhere;font-size:14px}.day-item:hover{background:#edf2e4;border-color:#90ab8a}.day-item .day-kind{display:block;font-size:14px;color:#8b9681;margin-bottom:6px}.day-item.empty{background:none;border-style:dashed;color:#96a18d;min-height:77px}.day-item .tag{margin-top:7px;font-size:14px;padding:0 5px}.calendar-legend{margin-top:16px;color:var(--muted);font-size:14px}.two-columns{display:grid;grid-template-columns:minmax(350px,1.2fr) minmax(330px,1fr);gap:24px;align-items:start}.form-title{font-size:18px;font-weight:600;margin-bottom:20px}.helper-note{padding:13px 16px;background:#f0f2e8;border-left:3px solid #8da885;color:var(--muted);font-size:14px;margin:15px 0 20px}.source-list{display:grid;gap:15px}.source-card{padding:21px 23px;background:var(--white);border:1px solid var(--line);border-radius:6px}.source-card>div{display:flex;align-items:center;gap:12px;justify-content:space-between}.source-card h3{font-size:17px;font-weight:500}.source-card p{margin:11px 0 9px;color:var(--muted);font-size:14px;max-width:930px}.source-card a{font-size:14px;overflow-wrap:anywhere}.settings-form{max-width:900px}.setting-row{display:flex;justify-content:space-between;align-items:center;gap:25px;padding:21px 0;border-top:1px solid var(--line)}.setting-row:first-of-type{border-top:0;padding-top:5px}.setting-copy h3{font-size:16px;font-weight:500;margin-bottom:4px}.setting-copy p{font-size:14px;color:var(--muted)}.setting-row input[type=checkbox]{appearance:none;flex-shrink:0;width:45px;height:25px;border:1px solid #b7c4ad;background:#dbe2d2;border-radius:20px;position:relative;cursor:pointer}.setting-row input[type=checkbox]:after{content:"";position:absolute;left:3px;top:3px;width:17px;height:17px;border-radius:50%;background:white;box-shadow:0 1px 2px #99a78b}.setting-row input[type=checkbox]:checked{background:var(--forest);border-color:var(--forest)}.setting-row input[type=checkbox]:checked:after{left:23px}.setting-times{padding-top:23px;border-top:1px solid var(--line);margin-top:5px}.setting-footer{display:flex;justify-content:space-between;align-items:center;padding-top:18px;border-top:1px solid var(--line);gap:20px}.editor-dialog{border:0;border-left:1px solid #c9d1bf;width:min(720px,calc(100vw - 45px));height:100dvh;max-height:100dvh;max-width:none;margin:0 0 0 auto;background:var(--paper);padding:0;color:var(--text)}dialog::backdrop{background:rgb(27 49 37 / 39%)}.dialog-header{position:sticky;top:0;z-index:2;background:#f6f5ed;border-bottom:1px solid var(--line);padding:21px 27px;display:flex;align-items:center;justify-content:space-between;gap:14px}.dialog-header h2{font-family:SimSun,"Songti SC",serif;font-size:25px;font-weight:600}.dialog-header p{font-size:14px;color:var(--muted);margin-top:3px}.close-button{border:1px solid #c8d0bf;border-radius:4px;background:none;font-size:14px;padding:6px 11px}.dialog-body{padding:24px 27px 30px}.dialog-tabs{display:flex;gap:22px;border-bottom:1px solid var(--line);margin-bottom:23px}.dialog-tab{border:0;border-bottom:2px solid transparent;background:none;padding:0 0 11px;font-size:15px;color:var(--muted)}.dialog-tab[aria-selected=true]{border-bottom-color:var(--forest);color:var(--forest);font-weight:500}.dialog-footer{position:sticky;bottom:0;background:#f6f5ed;border-top:1px solid var(--line);padding:16px 27px;display:flex;gap:10px;flex-wrap:wrap;align-items:center;justify-content:space-between}.dialog-footer .button-row{gap:8px}.form-error{border:1px solid #dbbcb0;background:#f5e8e0;color:#8f4d3c;border-radius:4px;padding:11px 14px;margin-bottom:17px;font-size:14px}.form-error:empty{display:none}.source-checks{border:1px solid var(--line);background:var(--white);padding:7px 13px;border-radius:5px;max-height:190px;overflow:auto}.source-checks .check-field{border-top:1px solid #e9ebdf}.source-checks .check-field:first-child{border:0}.source-checks .tag{margin-left:8px;padding:0 5px}.image-preview{height:115px;width:150px;object-fit:contain;background:#f1f2e6;border-radius:4px;margin-top:9px}.small-dialog{border:1px solid #c6d1be;border-radius:9px;background:var(--paper);color:var(--text);width:min(530px,calc(100vw - 30px));padding:0;max-height:90dvh}.small-dialog .dialog-body{padding-bottom:20px}.preview-article{border:1px solid var(--line);background:var(--white);border-radius:7px;padding:25px}.preview-article .preview-image{width:100%;height:220px;object-fit:contain;background:#f8f7ed;margin:12px 0 21px}.preview-article h3{font-family:SimSun,"Songti SC",serif;font-size:28px;line-height:1.45;margin:12px 0}.preview-article .summary{color:#72816b;line-height:1.8;margin-bottom:18px}.preview-article .body-copy{white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.9}.preview-sources{border-top:1px solid var(--line);padding-top:18px;margin-top:23px;font-size:14px}.preview-sources a{display:block;margin-top:8px}.login-form{max-width:480px;margin:55px auto;padding:35px;background:var(--white);border:1px solid var(--line);border-radius:8px}.login-form h1{font-family:SimSun,serif;font-size:30px;margin-bottom:10px}.login-form>p{font-size:14px;color:var(--muted);margin-bottom:24px}#toast{position:fixed;z-index:1000;bottom:26px;left:calc(50% + 113px);transform:translateX(-50%);background:var(--forest-dark);color:#fff;padding:12px 22px;border-radius:6px;max-width:calc(100vw - 35px);box-shadow:0 6px 20px #213f3320;font-size:14px}.initial-loading{padding:70px 20px;text-align:center;color:var(--muted)}.skip-link{position:fixed;left:15px;top:-80px;background:white;padding:12px;z-index:2000}.skip-link:focus{top:15px}.loading-bar{opacity:.6;pointer-events:none}.inline-error{padding:13px 16px;background:#f5e8e0;color:#924e3b;border:1px solid #d7b6a9;border-radius:6px;margin-bottom:20px}.footnote{font-size:14px;color:var(--muted);margin-top:14px}.soft-divider{height:1px;background:var(--line);margin:23px 0}.busy{cursor:progress!important;opacity:.7}.loading-line{font-size:14px;color:var(--muted);padding:17px 0}.section-hint{font-size:14px;color:var(--muted);margin:0 0 21px}.editor-meta{font-size:14px;color:var(--muted);margin-bottom:18px}.schedule-input{width:100%;background:#fffefb;border:1px solid #cfd8c8;border-radius:4px;min-height:42px;padding:9px 11px;font:inherit}.wide-button{width:100%}[hidden]{display:none!important}@media(min-width:1500px){main{padding:38px 48px}.topbar{padding:0 48px}.card-art{height:190px}.card-art>img{height:179px}.card-art.season>img{height:175px}}@media(max-width:1199px){.sidebar{width:205px;padding-left:14px;padding-right:14px}.main-shell{margin-left:205px;width:calc(100% - 205px)}main{padding:27px 24px}.topbar{padding:0 24px}.page-heading h1{font-size:26px}.card-top{padding:14px 14px 0}.card-body{padding:14px}.card-body h3{font-size:21px}.card-foot{margin:0 14px;align-items:flex-start}.card-foot>span{max-width:48%}.card-art{height:151px;margin-left:13px;margin-right:13px}.card-art>img{height:141px}.card-art.season>img{height:141px}.overview-bottom{grid-template-columns:minmax(0,1.25fr) minmax(290px,1fr);gap:20px}.metric{padding:0 15px;gap:9px}.metric strong{font-size:27px}.today-grid{gap:13px}.two-columns{grid-template-columns:1fr 1fr;gap:18px}.day-column{padding:10px 6px}.page-footer{padding-left:24px;padding-right:24px}#toast{left:calc(50% + 102px)}}@media(max-width:999px){.sidebar{width:172px;padding:23px 10px}.brand{gap:8px;padding:0 8px}.brand>span{font-size:21px;letter-spacing:1px}.brand>img{width:29px;height:29px}.brand small{font-size:14px;letter-spacing:0}.nav-item{gap:10px;padding:11px 12px;font-size:14px}.sidebar-caption{font-size:14px;padding-left:10px;padding-right:0}.sidebar-bottom{padding:20px 8px 0}.sidebar-bottom>img{height:115px}.sidebar-bottom>p{font-size:15px}.main-shell{margin-left:172px;width:calc(100% - 172px)}.page-heading{align-items:flex-start}.page-heading h1{font-size:25px}.page-heading .subtitle{max-width:450px}.page-heading .button-row{flex-shrink:0}.overview-bottom{grid-template-columns:1fr}.metrics-strip{grid-template-columns:repeat(4,minmax(0,1fr))}.metric{display:block;padding:0 13px}.metric span{display:block;margin-top:3px}.today-grid{gap:12px}.card-top{flex-wrap:wrap;gap:5px}.card-art{height:125px}.card-art>img,.card-art.season>img{height:117px}.card-body h3{font-size:20px}.card-body p{-webkit-line-clamp:3;min-height:69px}.card-foot{flex-wrap:wrap;gap:6px}.card-foot>span{max-width:none}.two-columns{grid-template-columns:1fr}.calendar-board{grid-template-columns:repeat(7,minmax(105px,1fr));overflow:visible}.calendar-scroll{overflow-x:auto}.page-footer{flex-direction:column;gap:3px}.section-header .meta{display:none}#toast{left:calc(50% + 86px)}}@media(max-width:799px){.sidebar{width:155px}.main-shell{margin-left:155px;width:calc(100% - 155px)}.brand>img{width:24px;height:24px}.brand>span{font-size:19px}.sidebar-caption{font-size:14px;padding-top:24px}.sidebar-bottom>p{font-size:14px}.topbar{padding:0 19px;height:62px}.topbar-brand{display:none}.topbar-separator{display:none}.topbar-right{gap:12px}.page-heading{flex-direction:column;gap:15px}.page-heading h1{font-size:25px}main{padding:24px 19px}.today-grid{grid-template-columns:1fr}.content-card{display:grid;grid-template-columns:160px 1fr;position:relative}.card-top{grid-column:1/-1;padding:14px 16px 0}.card-art{grid-column:1;height:133px;margin:9px 0 13px 13px}.card-art>img{height:125px}.card-body{grid-column:2;padding:14px 15px}.card-body h3{font-size:22px}.card-body p{-webkit-line-clamp:3;min-height:0}.card-foot{grid-column:1/-1;margin:0 16px;flex-wrap:nowrap}.metric{padding:0 10px}.metric strong{font-size:26px}.metric span{font-size:14px}.metrics-strip{padding:14px 0}.fields-two{gap:12px}.button{padding:8px 13px}.sidebar-bottom>img{height:95px}.preview-notice{align-items:flex-start}.page-footer{padding:12px 19px 20px}#toast{left:calc(50% + 77px)}}@media(max-width:600px){.sidebar{position:static;width:100%;padding:16px;display:block}.app-shell{display:block}.brand{margin-bottom:17px}.brand>span{font-size:22px}.brand small{display:inline;margin-left:12px}.sidebar-caption,.sidebar-bottom{display:none}nav{display:flex;flex-direction:row;overflow-x:auto;gap:4px}.nav-item{white-space:nowrap;min-height:40px;padding:7px 10px}.nav-item img{width:18px;height:18px}.main-shell{margin-left:0;width:100%}.topbar{height:53px}.metrics-strip{grid-template-columns:repeat(2,1fr);gap:16px}.metric:nth-child(3){padding-left:0;border:0}.page-heading h1{font-size:26px}.section-header{flex-wrap:wrap}.calendar-control{flex-wrap:wrap}.fields-two{grid-template-columns:1fr;gap:0}.editor-dialog{width:100vw}.dialog-body,.dialog-header,.dialog-footer{padding-left:20px;padding-right:20px}.content-card{grid-template-columns:125px 1fr}.card-art{height:122px}.card-art>img{height:115px}.filter-bar input[type=search]{min-width:100%;max-width:none}.filter-bar select{min-width:125px;width:calc(50% - 6px)}.setting-row{align-items:flex-start;gap:18px}.setting-footer{align-items:flex-start;flex-direction:column}#toast{left:50%}.data-table td,.data-table th{padding-left:13px;padding-right:13px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* Short desktop windows keep navigation reachable without shrinking text. */
.sidebar{overflow-y:auto}
@media(min-width:601px) and (max-height:850px){.sidebar-bottom>img{height:85px}.sidebar-bottom{padding-top:18px}.sidebar-divider{margin:14px 0 12px}.sidebar-caption{padding-top:23px}.nav-item{min-height:44px}.sidebar nav{gap:5px}}

/* Keep seven calendar days readable; overflow belongs to the calendar only. */
.calendar-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;padding-bottom:5px}
.calendar-board{grid-template-columns:repeat(7,minmax(168px,1fr));min-width:1176px;width:100%;overflow:hidden}
.day-column{min-width:0;padding-left:12px;padding-right:12px}
.day-item{min-width:0;height:auto;overflow-wrap:anywhere}
.day-item .tag{display:inline-block;max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.5}
/* Narrow workspaces use one generous illustration-and-copy row per slot. */
@media(max-width:800px){.today-grid{grid-template-columns:minmax(0,1fr)}.content-card{display:grid;grid-template-columns:160px minmax(0,1fr);position:relative}.card-top{grid-column:1/-1;padding:14px 16px 0;flex-wrap:nowrap}.card-art{grid-column:1;height:133px;margin:9px 0 13px 13px}.card-art>img,.card-art.season>img{height:125px}.card-body{grid-column:2;padding:14px 17px}.card-body h3{font-size:22px}.card-body p{-webkit-line-clamp:3;min-height:0;font-size:14px}.card-foot{grid-column:1/-1;margin:0 16px;flex-wrap:wrap;gap:8px}.card-foot>span{max-width:none}}
@media(max-width:600px){.content-card{grid-template-columns:125px minmax(0,1fr)}.card-art{height:122px}.card-art>img,.card-art.season>img{height:115px}}

/* Normal-size secondary text keeps at least 4.5:1 contrast on its paper surface. */
:root{--muted:#606f62}
.card-body p,.preview-article .summary{color:#62705e}
.calendar-cell.empty,.day-item.empty,.day-item .day-kind{color:#65715f}
.page-footer{color:#667060}
.tag.draft,.tag.queued{color:#7b602f}
.tag.scheduled,.tag.running{color:#476b57}
.tag.withdrawn,.tag.failed,.tag.blocked{color:#90533d}
.provider-parts span{color:#706548}
.data-table th{color:#606f62}
.preview-notice{color:#5f6c50}


/* Uploading a reusable image never submits the surrounding content editor. */
.image-upload-panel{margin-top:15px;padding:15px 16px;background:#eff3e8;border:1px solid #d4decb;border-radius:6px}
.image-upload-panel .upload-label{display:block;font-size:15px;font-weight:600;color:var(--ink);margin-bottom:5px}
.image-upload-intro,.image-upload-limits,.image-upload-status{font-size:14px;color:var(--muted);line-height:1.7;overflow-wrap:anywhere}
.image-upload-intro{margin-bottom:11px}
.field input.image-upload-file{padding:7px;width:100%;min-width:0;max-width:100%;background:var(--white);font-size:14px}
.image-upload-file::file-selector-button{border:1px solid #c6d2c0;border-radius:4px;background:#f7f9f1;color:var(--forest);padding:6px 10px;margin-right:10px;font:inherit;cursor:pointer}
.image-upload-limits{margin-top:8px}
.upload-source-label{display:block;font-size:14px;color:var(--ink);font-weight:500;margin:12px 0 6px}
.image-upload-actions{display:flex;align-items:center;gap:12px;margin-top:13px}
.image-upload-status{margin-top:9px}
.image-upload-status.is-error{color:#8f4d3c}
.image-upload-status.is-success{color:#315d3d}
@media(max-width:600px){.image-upload-panel{padding:13px}.image-upload-file::file-selector-button{padding:6px 8px;margin-right:7px}}


/* Evidence-led wellness operations share the existing paper and forest palette. */
.knowledge-tabs{display:flex;gap:25px;border-bottom:1px solid var(--line);margin:0 0 22px}
.knowledge-tab{font:inherit;font-size:15px;border:0;border-bottom:2px solid transparent;background:none;padding:9px 2px 12px;color:var(--muted)}
.knowledge-tab[aria-selected=true]{border-bottom-color:var(--forest);color:var(--forest);font-weight:600}
.knowledge-counts{display:flex;gap:30px;flex-wrap:wrap;color:var(--muted);font-size:14px;padding:2px 0 4px}
.knowledge-counts strong{font-family:Georgia,serif;font-size:25px;color:var(--forest);font-weight:500;margin-right:6px}
.knowledge-rule{border-top:1px solid var(--line);padding-top:17px;margin-top:22px;color:var(--muted);font-size:14px;line-height:1.85}
.knowledge-dates{max-width:165px;overflow-wrap:anywhere;font-size:14px}
.knowledge-table td{vertical-align:top}.knowledge-table .tag{max-width:145px;white-space:normal;overflow-wrap:anywhere}
.knowledge-term-grid,.knowledge-topic-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px 10px;padding:9px 13px;border:1px solid var(--line);background:var(--white);border-radius:5px}
.knowledge-term-grid{max-height:214px;overflow-y:auto}.knowledge-term-grid .check-field,.knowledge-topic-grid .check-field{padding:6px 0;margin:0}
.knowledge-review{padding:14px;background:#edf2e7;border:1px solid #d3decb;border-radius:5px;margin-top:20px}
.knowledge-preview-points{margin-top:20px;line-height:1.9;font-size:15px}.knowledge-preview-points h4{font-size:16px;color:var(--forest)}.knowledge-preview-points ul{padding-left:23px;margin:9px 0}.knowledge-preview-points.cautions{background:#f4efe2;padding:14px 17px;border-radius:5px}
.knowledge-ai-review{padding:16px 17px;margin-bottom:24px;border:1px solid #d4dec9;border-radius:6px;background:#eff3e8;font-size:14px;line-height:1.8}.knowledge-ai-review h3{font-size:16px;margin-bottom:7px}.knowledge-ai-review>p{color:var(--muted)}.knowledge-ai-review .knowledge-ai-reason{margin-top:10px;color:var(--text)}.knowledge-evidence{margin-top:12px;padding-top:12px;border-top:1px solid #d9e1d0}.knowledge-evidence strong{font-size:14px;font-weight:500}.knowledge-evidence blockquote{margin:7px 0 0;padding-left:13px;border-left:3px solid #8fa883;white-space:pre-wrap;overflow-wrap:anywhere;color:#43573e}
.source-bulk{display:flex;align-items:center;gap:16px;flex-wrap:wrap;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:10px 0;margin-bottom:12px}.source-bulk>.button{margin-left:auto}.source-bulk .check-field{margin:0}.source-title-row{display:flex;align-items:flex-start;gap:11px;min-width:0}.source-title-row>input{width:17px;height:17px;accent-color:var(--forest);margin-top:5px;flex-shrink:0}.source-title-row h3{overflow-wrap:anywhere}.source-card .source-excerpt-meta{margin-bottom:0;font-size:14px}.source-card .button-row{flex-shrink:0}.job-source-list{font-size:14px;line-height:1.9;max-height:180px;overflow:auto;padding-left:23px}.wellness-tasks{max-width:1080px}
@media(max-width:1000px){.source-card>div{align-items:flex-start;flex-wrap:wrap}.source-card .button-row{gap:12px}.knowledge-counts{gap:22px}}
@media(max-width:600px){.knowledge-term-grid,.knowledge-topic-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:0 7px}.knowledge-tabs{gap:19px}.source-bulk>.button{margin-left:0;width:100%}.source-card{padding:16px}.knowledge-ai-review{padding:13px}}

/* Staff access stays visible without taking space from editorial content. */
.account-identity{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}
.permission-note{padding:13px 16px;background:#eef2e8;border-left:3px solid #829e7d;color:var(--muted);font-size:14px;line-height:1.8;margin:16px 0}
.account-role-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:0 0 25px}
.account-role{border-top:2px solid #86a17d;padding:16px 19px;background:#eff2e7;border-radius:0 0 5px 5px}
.account-role h2{font-family:SimSun,"Songti SC",serif;font-size:22px;margin-bottom:8px}
.account-role p{color:var(--muted);font-size:14px;line-height:1.85}
.account-setup-form{max-width:850px}.account-row-actions{display:flex;gap:7px 14px;flex-wrap:wrap;min-width:130px}
.accounts-table{min-width:760px}.accounts-table strong{font-weight:500;font-size:15px}.accounts-audit{min-width:680px}
.account-current{padding:12px 14px;background:#eff3e8;color:var(--forest);border-radius:5px;margin-bottom:22px;overflow-wrap:anywhere;font-size:14px}
.password-change-form{max-width:550px;margin-top:30px}.password-change-form h1{font-size:28px}.password-change-form>.button{width:100%}
input[readonly],textarea[readonly]{background:#f4f5ef;color:var(--muted)}
@media(max-width:1199px){.topbar{min-height:69px;height:auto;padding-top:12px;padding-bottom:12px;gap:14px;align-items:flex-start}.topbar-right{gap:8px 14px;flex-wrap:wrap;justify-content:flex-end}.account-identity{max-width:185px}.topbar-brand,.topbar-separator{display:none}}
@media(max-width:799px){.account-role-grid{grid-template-columns:1fr;gap:12px}.account-role{padding:13px 16px}.topbar-right #connection-state{display:none}.account-identity{max-width:155px}.login-form{padding:25px;margin-top:22px}}

/* Wardrobe drafts show real art and explicit weights, before commerce opens. */
.wardrobe-version-bar{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap;padding:5px 0 21px;color:var(--muted);font-size:14px}
.wardrobe-table{min-width:790px}.wardrobe-no-image{width:46px;min-width:46px;height:46px;display:flex;align-items:center;justify-content:center;border:1px dashed #bdc9b3;border-radius:4px;font-size:14px;color:var(--muted);line-height:1.5;text-align:center}
.wardrobe-tier{display:inline-block;white-space:nowrap;font-size:14px;color:#50674b}.wardrobe-tier.rare{color:#685b35}.wardrobe-tier.legendary{color:#81543c}
.wardrobe-item-preview{border:1px solid var(--line);border-radius:7px;padding:22px;background:var(--white);margin-top:22px;overflow-wrap:anywhere}
.wardrobe-item-preview>img{width:100%;height:225px;object-fit:contain;margin-bottom:20px;background:#f3f3e9}.wardrobe-item-preview h3{font-family:SimSun,"Songti SC",serif;font-size:27px;margin:8px 0 13px}.wardrobe-item-preview>p{white-space:pre-wrap;font-size:14px;line-height:1.85}
.wardrobe-preview-empty{height:150px;background:#f1f3e9;display:flex;align-items:center;justify-content:center;padding:20px;color:var(--muted);font-size:14px;margin-bottom:19px;text-align:center}
.wardrobe-weight-list{border-top:1px solid var(--line)}.wardrobe-weight-row{display:grid;grid-template-columns:minmax(0,1fr) 90px 76px;gap:13px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line)}.wardrobe-weight-row .check-field{margin:0;padding:0;overflow-wrap:anywhere}
.wardrobe-weight-field>span{display:block;font-size:14px;color:var(--muted);margin-bottom:4px}.wardrobe-weight-field input{width:100%;min-width:0;background:var(--white);border:1px solid #cfd8c8;border-radius:4px;padding:7px;font-size:14px;color:var(--text)}
.wardrobe-probability{color:var(--forest);font-size:14px;text-align:right;font-variant-numeric:tabular-nums}.wardrobe-probability-summary{color:var(--muted);font-size:14px;line-height:1.8;margin-top:16px}
@media(max-width:600px){.wardrobe-weight-row{grid-template-columns:minmax(0,1fr) 72px 64px;gap:9px}.wardrobe-item-preview{padding:16px}.wardrobe-item-preview>img{height:190px}}

/* Product source claims stay separate from the reviewed material used in reports. */
.sidebar{overflow-y:auto}.sidebar>nav,.sidebar-bottom{flex-shrink:0}
.products-version-bar{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;color:var(--muted);font-size:14px;margin-bottom:18px}
.products-table{min-width:810px}.products-table td{vertical-align:top}.products-table td:first-child{width:30%}.products-table td:nth-child(2){width:34%}.products-table .subtle{overflow-wrap:anywhere}.products-table .tag{white-space:normal;max-width:240px}
.product-missing{font-size:14px;color:var(--muted);line-height:1.75;max-width:340px;margin-top:7px;overflow-wrap:anywhere}
.products-original{padding:17px 19px;border-left:3px solid #a6b698;background:#edf1e6;margin:8px 0 25px;border-radius:0 5px 5px 0}.products-original h3{font-size:16px;margin-bottom:9px}.products-original>p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.85}
.products-import-preview{margin-top:20px}.products-import-counts{display:flex;gap:28px;flex-wrap:wrap;padding:17px 0;border-top:1px solid var(--line);font-size:14px;color:var(--muted)}.products-import-counts strong{font-family:Georgia,serif;font-size:27px;color:var(--forest);font-weight:500;margin-right:8px}
.products-import-warnings{padding:14px 17px;margin-bottom:18px;background:#f4eedf;border:1px solid #e1d5b9;border-radius:5px;font-size:14px;line-height:1.8}.products-import-warnings h3{font-size:16px}.products-import-warnings ul{margin:8px 0 0;padding-left:20px;max-height:220px;overflow:auto}
.products-preview-scroll{max-height:470px;overflow:auto}.products-preview-table{min-width:730px}.products-preview-table th{position:sticky;top:0;z-index:1}.products-preview-table td{vertical-align:top;white-space:pre-wrap;overflow-wrap:anywhere}.products-preview-table td:nth-child(2){min-width:145px}.products-preview-table td:nth-child(3),.products-preview-table td:nth-child(4){min-width:215px;max-width:270px}
.products-review-title{font-size:17px;font-weight:600;color:var(--forest);margin-bottom:5px}.products-review-copy{margin-top:18px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:15px 0}.products-review-copy section+section{margin-top:13px}.products-review-copy h3{font-size:14px;font-weight:600}.products-review-copy p{font-size:14px;color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere;margin-top:4px;line-height:1.8}
.commerce-steps{list-style:none;display:flex;flex-wrap:wrap;gap:12px 24px;padding:18px 20px;margin:0 0 24px;background:#edf1e6;border:1px solid var(--line);border-radius:7px;font-size:14px;color:var(--forest)}.commerce-steps li{display:flex;align-items:center;gap:8px}.commerce-steps li>span{display:inline-flex;align-items:center;justify-content:center;width:23px;height:23px;background:#d4dfc8;border-radius:50%;font-size:13px}
.commerce-fieldset{min-width:0;border:1px solid var(--line);border-radius:7px;padding:20px;margin:26px 0;background:#fbfbf4}.commerce-fieldset legend{font-size:17px;font-weight:600;padding:0 9px}.commerce-fieldset .field:last-child{margin-bottom:0}.commerce-fieldset>.subtle{margin:12px 0}
.commerce-fit-grid{display:grid;grid-template-columns:192px minmax(0,1fr);gap:20px;align-items:center;margin-top:20px}.commerce-fit-stage{position:relative;isolation:isolate;aspect-ratio:192/208;background:repeating-conic-gradient(#e8ecdf 0% 25%,#f9faf3 0% 50%) 50%/16px 16px;border:1px solid #d4ddcb;overflow:hidden}.commerce-fit-base{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;z-index:1}.commerce-fit-overlay{position:absolute;object-fit:fill;pointer-events:none}.commerce-fit-grid .fields-two{gap:10px}.commerce-fit-grid .field{margin-bottom:12px}
.commerce-readiness{margin:4px 0 24px}.commerce-checklist{padding-left:21px;font-size:14px;line-height:1.85;margin:14px 0 0}.commerce-order-filters{padding:20px;border:1px solid var(--line);background:var(--white);border-radius:7px;margin-bottom:23px}.commerce-filter-dates{display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:18px}.commerce-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.commerce-metrics>div{border:1px solid var(--line);padding:17px;background:var(--white);border-radius:6px;display:flex;flex-direction:column;gap:4px}.commerce-metrics strong{color:var(--forest);font-size:26px;font-weight:500;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.commerce-metrics span{color:var(--muted);font-size:14px}.commerce-orders td{vertical-align:top}.commerce-orders td:first-child{max-width:190px;overflow-wrap:anywhere}.commerce-code{overflow-wrap:anywhere}.commerce-orders .button-row{gap:7px;flex-wrap:wrap}
.commerce-order-detail{display:grid;grid-template-columns:125px minmax(0,1fr);gap:11px 17px;padding-bottom:24px;margin-bottom:24px;border-bottom:1px solid var(--line);font-size:14px}.commerce-order-detail dt{color:var(--muted)}.commerce-order-detail dd{margin:0;overflow-wrap:anywhere;white-space:pre-wrap}.commerce-event-list{padding:0;list-style:none}.commerce-event-list>li{padding:15px 0;border-bottom:1px solid var(--line)}.commerce-event-list time{display:block;font-size:14px;color:var(--muted);margin-top:3px}.commerce-event-list p{white-space:pre-wrap;overflow-wrap:anywhere}.commerce-refund{margin-top:28px;border-top:1px solid var(--line);padding-top:23px}.commerce-refund .field{margin-top:18px}
.list-pager{display:flex;justify-content:space-between;align-items:center;gap:13px;flex-wrap:wrap;padding:15px 0 19px}.list-pager .button-row{gap:8px}.knowledge-tabs{overflow-x:auto;flex-shrink:0}.knowledge-tab{white-space:nowrap}.source-checks+.list-pager,.source-checks+div>.list-pager{padding-bottom:5px}
.commerce-reconciliation{margin:0 0 24px;border:1px solid var(--line);border-radius:6px;background:var(--white);padding:14px 17px}.commerce-reconciliation>summary{cursor:pointer;color:var(--forest);font-size:15px;font-weight:500}.commerce-reconciliation[open]>summary{margin-bottom:16px}.commerce-reconciliation .commerce-code{display:block;max-width:215px}
@media(max-width:700px){.commerce-filter-dates{grid-template-columns:1fr}.commerce-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.commerce-fit-grid{grid-template-columns:1fr}.commerce-fit-stage{width:192px;justify-self:center}.commerce-fieldset{padding:15px}.commerce-order-detail{grid-template-columns:100px minmax(0,1fr)}.commerce-order-filters{padding:16px}}
@media(max-width:600px){.sidebar{overflow-y:visible}.products-original{padding:14px}.products-version-bar{gap:5px}.products-import-counts{gap:20px}}

