.daily-lines{display:grid;grid-template-columns:1fr 1fr;gap:25px;padding:20px 25px;margin-bottom:22px;border-left:3px solid #7e9c81;background:#edf2e9;border-radius:4px 10px 10px 4px}.daily-lines p{font-size:15px;margin:0 0 5px}.daily-lines p[lang=en]{font-family:Georgia,serif;font-size:16px}.daily-lines small{font-size:10px;color:#7c8c74}.format-layout{display:grid;grid-template-columns:minmax(330px,.95fr) minmax(350px,1.25fr);gap:23px;align-items:start}.preview-panel{position:sticky;top:100px}.live-paper{padding:35px 30px;background:white;border:1px solid #e1e6da;max-height:75vh;overflow:auto;font-family:'仿宋_GB2312','FangSong',serif;color:#111;box-shadow:0 4px 18px #23362008}.doc-paragraph{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9;margin:0;min-height:14px;font-size:16px}.doc-body{text-indent:2em}.doc-title{font-family:'方正小标宋简体',serif;text-align:center;font-size:23px;margin:0 0 20px;text-indent:0}.doc-h1{font-family:'黑体','Microsoft YaHei',sans-serif;font-size:17px;margin-top:15px}.doc-h2{font-family:'楷体_GB2312','KaiTi',serif;font-size:17px;margin-top:10px}.doc-h3{font-size:16px;margin-top:8px}.doc-paragraph img{display:block;max-width:100%;height:auto;margin:24px auto}.preview-table{overflow:auto;margin:18px 0}.preview-table td{border:1px solid #cbd3c6;font-size:12px;padding:8px}.direct-drop input[type=file]{max-width:100%;width:100%;font-size:11px}.drag-active{border-color:#1e654a;background:#e2f1e6}.selected-file{background:#eef4e9;padding:12px;border-radius:7px;margin:16px 0;overflow-wrap:anywhere}.selected-file small{display:block;color:#83947c;font-size:10px}.outline-panel{margin:12px 0}.outline-panel summary,details summary{cursor:pointer;color:#557451;font-size:12px;padding:10px 0}.outline-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid #edf0e7}.outline-row span{font-size:11px;max-width:65%;overflow-wrap:anywhere}.outline-row select{padding:6px;min-width:90px}.review-issue{border:1px solid #e7e8da;border-radius:8px;padding:13px;margin:12px 0;font-size:12px}.review-issue p{margin:8px 0}.review-issue .check-label{margin-top:10px}.issue-original{color:#9a654e;background:#fcf4ed;padding:8px;border-radius:5px}.material-chip{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #edf0e7;gap:8px;padding:10px 0;font-size:12px}.material-chip span{overflow-wrap:anywhere}.stage-buttons{display:flex;gap:15px;justify-content:flex-end;margin-top:24px}.draft-editor{font-family:'仿宋_GB2312','FangSong',serif;font-size:15px;line-height:1.9;min-height:490px;width:100%;background:#fbfcf8}.local-row{padding:18px 0;border-bottom:1px solid #e5eadf;display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap}.local-row small{font-size:11px;color:#819477}.local-row details{width:100%}#excel-result{margin-top:15px}#excel-mapping-form .form-grid{margin:16px 0}#format-status,#composition-status{font-size:12px;color:#688362;margin-top:12px}#composition-download{margin-top:15px}@media(max-width:1150px){.format-layout{grid-template-columns:1fr}.preview-panel{position:static}.live-paper{max-height:700px}}@media(max-width:700px){.daily-lines{grid-template-columns:1fr;gap:12px}.stage-buttons{flex-direction:column}.format-layout{display:block}.live-paper{padding:23px 18px}.draft-editor{min-height:360px}.local-row{display:block}.local-row .toolbar-controls{margin-top:12px}}

.live-paper{padding:0!important;background:#f1f2ee}.word-paper{box-sizing:border-box;background:white;min-height:297mm;transform-origin:top left}.word-paper .doc-paragraph{min-height:0;font-size:16pt;overflow-wrap:normal;word-break:normal}.word-paper .doc-paragraph img{max-width:100%}.word-paper table{border-collapse:collapse;width:100%}.word-paper td{font-family:"仿宋_GB2312",serif;font-size:16pt}.font-warning{padding:12px;background:#fff3d9;color:#805e24;font:12px/1.7 sans-serif;position:sticky;top:0;z-index:1}
.pub-entry{display:grid;grid-template-columns:1.2fr 1fr;gap:24px}.pub-watch{padding:12px;border:1px solid #e1e6da;border-radius:8px;margin:10px 0;overflow-wrap:anywhere;font-size:12px}.pub-watch .btn{margin-right:8px}#pub-year{width:90px}#pub-upload{display:block;width:100%;margin-top:15px}#pub-review-form fieldset{border:1px solid #dbe4d5;margin:18px 0;padding:14px;border-radius:8px}#pub-review-form legend{font-size:13px}#pub-status{font-size:12px;padding:8px;color:#476f58}@media(max-width:800px){.pub-entry{grid-template-columns:1fr}}
.pub-entry label.dropzone{display:block;box-sizing:border-box;width:100%;padding:24px;margin:0}.pub-entry>div{min-width:0}.pub-entry h3{margin:10px 0 16px}
.search-shortcuts{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.exchange-phases section{border-bottom:1px solid #e1e6da;padding:10px 0}.event-photo-upload{padding:18px;background:#f3f6ef;border-radius:8px;margin:20px 0}.event-photo-upload input[type=file]{max-width:100%}.exchange-phases .detail-grid p{white-space:pre-wrap;overflow-wrap:anywhere}
/* Publicity layout: structure first; statistics intentionally await supplied data. */
.pub-dashboard{display:grid;grid-template-columns:minmax(0,2.1fr) minmax(300px,1fr);gap:16px;align-items:start}.pub-main-column,.pub-side-column,.pub-middle-column{min-width:0}.pub-metrics{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.pub-metrics .metric{padding:16px 12px}.pub-summary-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(200px,1fr);gap:16px}.pub-dashboard .panel{padding:18px;margin-bottom:16px}.pub-dashboard h2{font-size:16px}.pub-dashboard .panel-head{gap:10px;flex-wrap:wrap}.pub-side-column .pub-entry{grid-template-columns:1fr;gap:12px}.pub-side-column .tabs{flex-wrap:wrap}.pub-side-column .tab{padding:10px}.pub-side-column .row-between{gap:10px;align-items:start}.pub-placeholder{min-height:120px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;color:var(--muted,#7b867d);text-align:center;border:1px dashed #dbe3d9;margin:16px 0;padding:18px}.pub-summary .pub-placeholder{min-height:300px}.pub-placeholder small{font-size:12px}.pub-middle-column .btn{display:block;width:100%;margin:12px 0;text-align:left;box-sizing:border-box}.pub-scan-result{font-size:12px;line-height:1.7;background:#edf4ed;padding:10px;white-space:pre-wrap}.pub-ledger .toolbar-controls{margin-bottom:12px;flex-wrap:wrap}.pub-ledger #table-filter{flex:1;min-width:180px}.pub-dashboard .toolbar-controls{flex-wrap:wrap}.pub-dashboard table{white-space:nowrap}.pub-dashboard .metric-label{font-size:12px}
@media(max-width:1250px){.pub-dashboard{grid-template-columns:minmax(0,1.7fr) minmax(290px,1fr)}.pub-summary-grid{grid-template-columns:1fr}.pub-middle-column{display:grid;grid-template-columns:1fr 1fr;gap:12px}.pub-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.pub-dashboard{grid-template-columns:1fr}.pub-middle-column{grid-template-columns:1fr 1fr}.pub-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.pub-summary .pub-placeholder{min-height:160px}}
@media(max-width:560px){.pub-middle-column{grid-template-columns:1fr}.pub-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
.pub-dashboard.pub-dashboard-wide{display:block}
.pub-dashboard-wide .pub-metrics{grid-template-columns:repeat(5,minmax(0,1fr));margin-bottom:16px}
.pub-operations{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1fr) minmax(0,1.15fr) minmax(0,1.3fr);gap:16px;align-items:start}
.pub-operations>.panel{min-width:0;overflow-wrap:anywhere}
.pub-operations .tabs,.pub-operations .toolbar-controls{flex-wrap:wrap}
.pub-operations .tab{padding:10px}
.pub-operations .pub-entry{grid-template-columns:1fr;gap:12px}
.pub-reminders>.btn{display:block;width:100%;box-sizing:border-box;margin:12px 0;text-align:left}
.pub-summary{min-width:0;width:100%;box-sizing:border-box}
.pub-summary>.panel-head,.pub-summary>.toolbar-controls{flex-wrap:wrap;gap:10px}
.pub-summary table{white-space:nowrap;min-width:1080px}
.pub-import-notice{padding:16px;margin-bottom:16px;background:#edf4ed;border:1px solid #dbe3d9;border-radius:8px}
.pub-import-notice .row-between{gap:12px;flex-wrap:wrap;margin-top:8px}
@media(max-width:1350px){.pub-operations{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.pub-dashboard-wide .pub-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.pub-operations{grid-template-columns:minmax(0,1fr)}}
/* Publicity: task-first overview, progressive disclosure, readable ledger. */
.pub-operations.pub-operations-compact{grid-template-columns:minmax(210px,.85fr) minmax(280px,1.15fr) minmax(300px,1fr);align-items:stretch}
.pub-operations-compact>.panel{margin-bottom:0}
.pub-dashboard-wide{margin-bottom:20px}
.pub-dashboard-wide .metric{border-top:3px solid #b7cbbf}
.pub-dashboard-wide .metric:nth-child(2){border-top-color:#b56c31;background:#fffbf6}
.pub-dashboard-wide .metric:nth-child(2) .metric-value{color:#9a531e}
.pub-tool-details{border-top:1px solid #e3e9e5;padding:12px 0;margin-top:12px}
.pub-tool-details>summary,.pub-full-summary>summary{cursor:pointer;font-weight:600;line-height:1.6;padding:4px 0}
.pub-tool-details summary span{font-size:12px;color:var(--muted);float:right}
.pub-tool-details .panel{padding:12px 0;margin:0;border:0;box-shadow:none}
.pub-operations .pub-placeholder{min-height:50px;margin:8px 0}
.pub-focus-heading{display:flex;justify-content:space-between;align-items:start;gap:18px;margin:18px 0 12px}
.pub-focus-heading h3{margin:0 0 6px;font-size:15px}
.pub-focus-heading select{min-width:145px}
.pub-focus-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:14px}
.pub-focus-card{border:1px solid #e1e8e3;border-radius:10px;padding:16px;background:#fafcfb;min-width:0}
.pub-focus-card .row-between{gap:10px;align-items:start}
.pub-focus-card .work-title{font-size:14px;line-height:1.5;text-align:left}
.pub-focus-card progress{display:block;width:100%;height:7px;margin:14px 0 10px;accent-color:#357b63}
.pub-gap{color:#9a531e;white-space:nowrap;font-size:14px}.pub-done{color:#28745a;white-space:nowrap;font-size:13px}
.pub-full-summary{border-top:1px solid #e1e8e3;padding-top:12px;margin-top:16px}
.pub-full-summary>.table-wrap{margin-top:12px;max-height:520px;overflow:auto}
.pub-month-chart{display:flex;gap:5px;justify-content:space-between;height:140px;margin:18px 0 0}
.pub-month{position:relative;flex:1;text-align:center;min-width:0;font-variant-numeric:tabular-nums;font-size:12px}
.pub-month>span{display:block;height:20px;color:#266951}.pub-month>small{position:absolute;bottom:0;left:0;right:0;color:var(--muted)}
.pub-month-bar{position:absolute;top:72px;left:50%;width:88px;height:9px;transform:translate(-50%,-50%) rotate(-90deg);accent-color:#357b63;border:0}
.pub-month-bar{-webkit-appearance:none;appearance:none;border-radius:5px;background:#e8efeb}
.pub-month-bar::-webkit-progress-bar{background:#e8efeb;border-radius:5px}
.pub-month-bar::-webkit-progress-value{background:#357b63;border-radius:5px}
.pub-detail-scroll{max-width:100%;overflow:auto;max-height:820px;border:1px solid #e1e8e3;border-radius:8px}
.pub-article-table{table-layout:fixed!important;min-width:1390px;width:100%;font-size:13px}
.pub-article-table.pub-all-columns{min-width:1820px}
.pub-article-table th,.pub-article-table td{padding:14px 12px;vertical-align:top;word-break:normal!important;overflow-wrap:break-word;line-height:1.65}
.pub-article-table th{position:sticky;top:0;z-index:2;background:#f1f5f2;font-size:12px;color:#52675a;font-weight:600;white-space:nowrap}
.pub-article-table th:nth-child(1){width:255px}.pub-article-table th:nth-child(2){width:145px}.pub-article-table th:nth-child(3){width:125px}
.pub-article-table th:nth-child(4){width:120px}.pub-article-table th:nth-child(5){width:100px}.pub-article-table th:nth-child(6){width:112px}
.pub-article-table th:nth-child(7){width:88px}.pub-article-table th:nth-child(8),.pub-article-table th:nth-child(9){width:100px}
.pub-article-table th:last-child{width:170px;right:0;z-index:4}
.pub-article-table .pub-title-cell{position:sticky;left:0;z-index:1;background:white;box-shadow:1px 0 #e4e9e5}
.pub-article-table th:first-child{left:0;z-index:4}
.pub-article-table .pub-actions-cell{position:sticky;right:0;z-index:1;background:white;box-shadow:-1px 0 #e4e9e5}
.pub-article-table tr:hover td{background:#f5faf7}
.pub-clamp{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-height:3.4em;line-height:1.65}
.pub-article-table .work-title{font-size:14px;font-weight:600;text-align:left;color:#214f3e}
.pub-channel-label{display:block;line-height:27px;white-space:nowrap}
.pub-status-badge{display:block;width:max-content;border-radius:5px;padding:1px 8px;line-height:23px;margin-bottom:2px;font-size:12px;background:#f0f2f1;color:#5e6c63}
.pub-status-badge.adopted{background:#e8f4ec;color:#236544}.pub-status-badge.pending{background:#fff3df;color:#815820}
.pub-date-cell{font-variant-numeric:tabular-nums}.pub-pagination{display:flex;justify-content:space-between;align-items:center;padding-top:16px;font-size:13px;color:#607369}
.pub-ledger .toolbar{flex-wrap:wrap;gap:12px}.pub-ledger .toolbar-controls{gap:8px}.pub-ledger #pub-department{max-width:230px}
.pub-image-gallery figure{margin:0 0 18px;padding:12px;background:#f4f7f5;border-radius:8px}
.pub-image-gallery img{display:block;max-width:100%;max-height:65vh;width:auto;height:auto;object-fit:contain;margin:auto}
.pub-image-gallery figcaption{font-size:12px;color:#52675a;margin-top:10px}
@media(max-width:1150px){.pub-operations.pub-operations-compact{grid-template-columns:1fr 1fr}.pub-tools{grid-column:1/-1}.pub-focus-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.pub-operations.pub-operations-compact,.pub-focus-grid{grid-template-columns:1fr}.pub-focus-heading{flex-direction:column}.pub-tools{grid-column:auto}.pub-article-table .pub-title-cell,.pub-article-table th:first-child{position:static}.pub-pagination{gap:10px;flex-wrap:wrap}}

.pub-article-table{min-width:1150px}.pub-article-table th{white-space:nowrap}.pub-article-table td:nth-child(2){min-width:230px;max-width:340px}.pub-article-table td:nth-child(5){min-width:150px}.pub-article-table td:last-child{min-width:190px}
.pub-operations.pub-operations-compact{align-items:start}
.pub-operations-compact>.pub-tools{grid-column:1/-1}
.pub-operations-compact .pub-tools .pub-entry{display:grid;grid-template-columns:1fr 1fr;gap:28px}
.pub-line-chart{display:block;width:100%;height:auto;max-height:230px;margin:14px 0}
.pub-line-chart text{font:11px sans-serif;fill:#577469}
.pub-brief-panel .tabs{display:flex;flex-wrap:wrap}
@media(max-width:700px){.pub-operations-compact .pub-tools .pub-entry{grid-template-columns:1fr}}
.pub-operations.pub-operations-compact{align-items:start}
.pub-operations-compact>.pub-collection-entry{grid-column:1}
.pub-operations-compact>.pub-tools{grid-column:2/-1;padding:20px}
.pub-chart-legend{display:flex;gap:12px;flex-wrap:wrap;font-size:12px}
.pub-trend-panel .pub-line-chart{max-height:170px;margin:8px 0}
.pub-collection-entry .btn{margin:8px 8px 0 0}
@media(max-width:700px){.pub-operations-compact>.pub-tools,.pub-operations-compact>.pub-collection-entry{grid-column:1/-1}}
.pub-summary>.panel-head{justify-content:flex-start;gap:12px;flex-wrap:wrap}.pub-summary>.panel-head h2{margin-right:auto}
.pub-integrated-summary{margin-top:20px;border:1px solid #dce7e1;border-radius:12px;overflow:hidden}
.pub-summary-strip{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;background:#edf4f0;padding:22px 24px;gap:26px;align-items:center}
.pub-summary-strip>div{display:flex;flex-direction:column;gap:8px}.pub-summary-strip span{font-size:13px;color:#536d61}.pub-summary-strip strong{font-size:28px;font-variant-numeric:tabular-nums}.pub-summary-strip small{font-size:12px;color:#71867a;font-weight:400}
.pub-overall-progress progress{width:100%;height:8px;accent-color:#287c64}
.pub-integrated-summary .pub-focus-heading{padding:18px 22px;margin:0;align-items:center}.pub-focus-heading h3{margin:0}
.pub-progress-matrix{max-height:570px;overflow:auto}.pub-progress-matrix table{min-width:900px;width:100%;font-variant-numeric:tabular-nums}.pub-progress-matrix th{position:sticky;top:0;background:#f3f7f4;z-index:1;white-space:nowrap}.pub-progress-matrix td{padding:13px 16px}.pub-progress-matrix th:first-child{width:24%}.pub-progress-matrix th:nth-child(2){width:24%}.pub-progress-matrix td:not(:first-child){white-space:nowrap}.pub-progress-matrix tr:hover td{background:#f5f9f6}.pub-progress-matrix small{color:#88988f}
.pub-progress-inline{display:flex;align-items:center;gap:12px}.pub-progress-inline progress{width:140px;height:8px;accent-color:#287c64;appearance:none;border:0;border-radius:4px;overflow:hidden}.pub-progress-inline progress::-webkit-progress-bar{background:#e7eeea}.pub-progress-inline progress::-webkit-progress-value{background:#287c64}.pub-progress-inline span{font-size:12px;min-width:42px}.pub-integrated-summary>p{padding:0 22px}
@media(max-width:700px){.pub-summary-strip{grid-template-columns:1fr 1fr;gap:18px;padding:18px}.pub-summary-strip strong{font-size:23px}}
.pub-dashboard-wide .pub-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.pub-channel-metric{background:white;border:1px solid #dce6df;border-top:3px solid #43846d;border-radius:10px;padding:20px;display:flex;flex-direction:column;gap:12px;font-variant-numeric:tabular-nums}
.pub-channel-metric>span{font-weight:600}.pub-channel-metric strong{font-size:30px;color:#214b3d}.pub-channel-metric small{font-size:12px;font-weight:400;color:#748579}.pub-channel-metric strong small{font-size:18px}.pub-channel-metric progress{width:100%;height:6px;accent-color:#287c64}.pub-channel-metric:nth-child(2){border-top-color:#437dd0}.pub-channel-metric:nth-child(3){border-top-color:#d99236}
.pub-article-table{width:1450px}.pub-article-table.pub-all-columns{width:1880px}
.pub-article-table th.pub-serial,.pub-article-table td.pub-serial{width:60px;min-width:60px;position:sticky;left:0;background:#f5f8f6;z-index:3;text-align:center}
.pub-article-table th.pub-col-0{width:255px;left:60px;z-index:4}.pub-article-table .pub-title-cell{left:60px}
.pub-article-table th.pub-col-1{width:145px}.pub-article-table th.pub-col-2{width:125px}.pub-article-table th.pub-col-3{width:120px}.pub-article-table th.pub-col-4{width:100px}.pub-article-table th.pub-col-5{width:112px}.pub-article-table th.pub-col-6{width:88px}.pub-article-table th.pub-col-7,.pub-article-table th.pub-col-8{width:100px}
@media(max-width:850px){.pub-dashboard-wide .pub-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
.pub-top-label{background:#fff;border:1px solid #e3e2dc;border-radius:9px;padding:14px 17px;display:flex;flex-direction:column;gap:5px;min-height:124px;font-variant-numeric:tabular-nums}.pub-top-label>span{font-size:12px;color:#89918b}.pub-top-label>span:before{content:'';display:inline-block;width:8px;height:8px;border-radius:50%;background:#158055;margin-right:6px}.pub-top-label.media>span:before{background:#c35a09}.pub-top-label.wechat>span:before{background:#258275}.pub-top-label.topic>span:before{background:#aaa99d}.pub-top-label strong{font-size:24px;font-weight:500;color:#193c33;line-height:1.35}.pub-top-label strong small{font-size:13px;color:#999b94;font-weight:400}.pub-top-label p{font-size:12px;color:#78847b;margin:0}.pub-top-label p b{color:#187861;font-weight:500}.pub-top-label progress,.pub-top-track{width:100%;height:6px;border:0;appearance:none;border-radius:4px;background:#ecebe6;overflow:hidden;margin:4px 0}.pub-top-label progress::-webkit-progress-bar{background:#ecebe6}.pub-top-label progress::-webkit-progress-value{background:#177e54;border-radius:4px}.pub-top-label.media progress::-webkit-progress-value{background:#c35a09}
.pub-summary-switchbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:20px 0 14px}.pub-summary-switchbar .tabs{border:0}.pub-summary-switchbar select{width:auto;min-width:165px}.pub-department-bars{max-height:740px;overflow:auto}.pub-department-bars table{width:100%;min-width:850px;border-collapse:separate;border-spacing:0;table-layout:fixed}.pub-department-bars th{font-size:12px;color:#8d948d;font-weight:400;background:#fff;position:sticky;top:0;z-index:2}.pub-department-bars th:nth-child(1){width:5%}.pub-department-bars th:nth-child(2){width:25%}.pub-department-bars th:nth-child(3){width:29%}.pub-department-bars th:nth-child(4){width:15%}.pub-department-bars th:nth-child(5){width:17%}.pub-department-bars th:nth-child(6){width:9%}.pub-department-bars td{padding:9px 12px;border-bottom:1px solid #efefeb;font-size:13px;vertical-align:middle}.pub-department-bars td:first-child{color:#a0a79f;text-align:center}.pub-department-bars th:first-child{text-align:center}.pub-department-bars td:nth-child(2){text-align:left}.pub-department-bars .work-title{font-size:13px;font-weight:400;line-height:1.5}.pub-department-bars tr:hover td{background:#edf5f0}.pub-department-bars small{color:#969c95;font-size:11px}.pub-department-bars .pub-gap{color:#df721e}.pub-track{height:23px;position:relative;border-radius:20px;overflow:hidden;background:#eeede8}.pub-track progress{position:absolute;inset:0;width:100%;height:100%;appearance:none;border:0}.pub-track progress::-webkit-progress-bar{background:#eeede8}.pub-track progress::-webkit-progress-value{border-radius:20px;background:#f9e3d2}.pub-track.progressing progress::-webkit-progress-value{background:#bfdfce}.pub-track.complete progress::-webkit-progress-value{background:#137d51}.pub-track span{position:relative;display:block;text-align:center;line-height:23px;color:#cb722f;font-size:13px}.pub-track.progressing span{color:#2d5b50}.pub-track.complete span{color:white}.pub-no-goal{color:#858e87;font-variant-numeric:tabular-nums}.pub-summary{scroll-margin-top:90px}@media(max-width:650px){.pub-summary-switchbar{gap:8px;flex-wrap:wrap}}

/* Keep annual summary editing reachable while scrolling wide statistics. */
.pub-full-summary th:last-child,.pub-full-summary td:last-child{position:sticky;right:0;min-width:74px;background:#fff;box-shadow:-1px 0 0 var(--line);z-index:1;text-align:center}.pub-full-summary th:last-child{background:#f6f8f5;z-index:2}


/* Unified operations grid; annual metrics sit directly above department progress. */
.pub-operations.pub-operations-compact{grid-template-areas:"reminders trend brief" "collection tools tools";gap:16px;align-items:stretch}
.pub-operations-compact>.panel{padding:20px;min-width:0;border-radius:12px}
.pub-operations-compact>.pub-reminders{grid-area:reminders}
.pub-operations-compact>.pub-trend-panel{grid-area:trend}
.pub-operations-compact>.pub-brief-panel{grid-area:brief}
.pub-operations-compact>.pub-collection-entry{grid-area:collection}
.pub-operations-compact>.pub-tools{grid-area:tools}
.pub-operations-compact .panel-head{min-height:26px;margin-bottom:16px;align-items:center}
.pub-operations-compact .pub-brief-panel>h2,.pub-operations-compact .pub-collection-entry>h2{min-height:26px;margin-bottom:16px}
.pub-operations-compact .pub-brief-panel>.tabs{display:flex;gap:0;justify-content:space-between;overflow-x:auto;white-space:nowrap}
.pub-operations-compact .pub-brief-panel>.tabs .tab{padding:9px 8px;flex-shrink:0}
.pub-operations-compact .btn{min-height:36px;display:inline-flex;align-items:center;justify-content:center}
.pub-operations-compact .pub-reminders>.btn{display:flex;justify-content:flex-start;margin:10px 0}
.pub-operations-compact .pub-tools>p{font-size:12px;color:var(--muted);margin-bottom:14px}
.pub-operations-compact .pub-collection-entry .btn{margin:0 8px 0 0}
.pub-operations-compact .pub-collection-entry>p{margin-bottom:14px}
.pub-summary-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0 0 16px}
.pub-summary-metrics .pub-top-label{min-height:132px;padding:16px 18px;border-radius:12px}
.pub-summary-metrics .pub-top-label>p{margin-top:auto}
.pub-summary>.toolbar-controls{align-items:center}
.pub-summary>.toolbar-controls select,.pub-summary>.toolbar-controls input{height:40px;box-sizing:border-box}
.pub-full-summary td:last-child .btn{margin:2px}
@media(max-width:1150px){.pub-operations.pub-operations-compact{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"reminders collection" "trend brief" "tools tools"}.pub-summary-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.pub-operations.pub-operations-compact{grid-template-columns:minmax(0,1fr);grid-template-areas:"reminders" "collection" "trend" "brief" "tools"}.pub-operations-compact>.panel{padding:16px}.pub-summary-metrics{gap:10px}.pub-summary-metrics .pub-top-label{padding:14px;min-height:130px}}
@media(max-width:420px){.pub-summary-metrics{grid-template-columns:minmax(0,1fr)}}

.pub-collection-count,.pub-collection-reminders h3 span{font-size:12px;font-weight:400;color:var(--muted);margin-left:8px}
.pub-collection-list{max-height:210px;overflow:auto;margin:8px 0 16px}
.pub-collection-row{display:flex;width:100%;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border:0;border-bottom:1px solid var(--line);background:transparent;text-align:left}
.pub-collection-row:hover{background:#f1f6f2}.pub-collection-row>span{min-width:0}.pub-collection-row b{display:block;font-size:13px;font-weight:500;overflow-wrap:anywhere}.pub-collection-row small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.pub-collection-row em{font-style:normal;font-size:12px;white-space:nowrap;color:var(--green)}.pub-collection-row em.urgent{color:#ad5b1a}.pub-collection-reminders{border:1px solid var(--line);border-radius:7px;padding:10px 12px;margin:10px 0}.pub-collection-reminders h3{font-size:12px}.pub-collection-reminders .pub-collection-list{margin:4px 0 0;max-height:170px}.pub-collection-reminders .hint{margin:6px 0 0}
/* Embedded policy radar: dark feed, scoped to the home widget. */
.policy-radar{background:#151b24;color:#e6edf5;border-color:#2d3744;min-width:0}.policy-radar .panel-head{align-items:start;gap:12px;margin-bottom:12px}.policy-radar h2{font-size:16px;color:#f2f5fa}.radar-meta,.radar-intro{font-size:12px;color:#a9b7c8;margin:6px 0}.radar-count{font-size:12px;white-space:nowrap;color:#8bc0ff}.radar-chips{display:flex;gap:6px;flex-wrap:wrap;margin:16px 0}.policy-radar button,.radar-actions label{background:#202b39;color:#bdcbdc;border:1px solid #39485b;border-radius:6px;padding:6px 9px;font-size:12px;cursor:pointer}.radar-chips button.selected{background:#254669;border-color:#569ee9;color:#fff}.radar-feed{max-height:570px;overflow:auto}.radar-day h3{position:sticky;top:0;background:#151b24;padding:12px 0;color:#d8e4f2;z-index:1}.radar-day h3 small{font-size:11px;color:#a9b7c8;font-weight:400}.radar-day article{border-left:3px solid var(--radar-category);padding:12px;background:#1d2632;border-radius:5px;margin:0 0 10px}.radar-label{color:var(--radar-category);font-size:11px}.radar-day article p{margin:6px 0 10px;font-size:13px;overflow-wrap:anywhere}.radar-day article>div{display:flex;align-items:center;gap:16px}.radar-day a{color:#9fcbff;font-size:12px}.radar-day button{padding:3px 8px}.radar-empty{padding:24px 0;color:#a9b7c8;font-size:13px}.radar-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:16px}.radar-actions label input{display:block;width:100%;max-width:220px;font-size:11px;margin-top:6px}.radar-help{border-top:1px solid #354050;margin-top:16px;padding-top:12px;color:#a9b7c8;font-size:11px}.radar-help summary{cursor:pointer}.radar-help p{margin:10px 0}
.radar-actions label{position:relative;display:inline-flex;align-items:center;min-height:33px;overflow:hidden}.radar-actions label input{position:absolute;inset:0;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}.radar-actions label:focus-within{outline:2px solid #8bc0ff;outline-offset:2px}.radar-help summary{color:#a9b7c8}
.home-priorities{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.home-priority{text-align:left;cursor:pointer;display:flex;flex-direction:column;transition:border-color .15s,background .15s}.home-priority.active{border-color:#287f65;background:#eef6f1;box-shadow:inset 0 3px #287f65}.home-priority:hover{border-color:#287f65}.home-priority:focus-visible{outline:2px solid #287f65;outline-offset:3px}.home-priority .metric-number{display:block}.home-priorities+.home-columns #work-list{min-height:110px}@media(max-width:600px){.home-priorities{gap:8px}.home-priority{padding:14px 10px}.home-priority .metric-number{font-size:25px}}
/* Today: restrained landscape header and a single action-focused workspace. */
.today-workspace{--today-line:#dfe8e1;--today-soft:#f1f6f2}
.today-intro{position:relative;display:grid;grid-template-columns:minmax(230px,.8fr) minmax(420px,1.7fr);align-items:center;gap:30px;min-height:130px;margin-bottom:18px;padding:20px 0;background-position:right center;background-repeat:no-repeat;background-size:auto 100%;border-radius:12px}
.today-intro .page-heading{display:block;margin:0;position:relative;z-index:1}
.today-intro h1{font-size:30px;letter-spacing:2px;margin-bottom:8px}
.today-intro .page-heading p{font-size:13px;margin:0}
.today-intro .date-tag{font-size:11px;margin-top:10px;color:#667c6d}
.today-intro .daily-lines{position:relative;z-index:1;display:grid;grid-template-columns:1fr 1.25fr;gap:24px;background:transparent;border:0;border-left:3px solid #4b8270;border-radius:0;padding:8px 22px;margin:0 16% 0 0}
.today-intro .daily-lines>div+div{border-left:1px solid #a9c2b5;padding-left:24px}
.today-intro .daily-lines p{font-size:14px;color:#294c3d;line-height:1.7}
.today-intro .daily-lines p[lang=en]{font-family:"Times New Roman",Georgia,serif;font-size:16px;letter-spacing:normal;word-spacing:normal}
.today-intro .daily-lines .quote-translation{font-size:13px;margin:7px 0;color:#657d6e}
.today-intro .daily-lines small{font-size:11px;line-height:1.7;color:#657d6e}
.today-workspace .home-priorities{background:#fff;border:1px solid var(--today-line);border-radius:12px;padding:14px;gap:14px;margin-bottom:18px}
.today-workspace .home-priority{position:relative;min-height:104px;padding:15px 22px;border:1px solid var(--today-line);border-radius:8px;box-shadow:none;background:#fcfdfb;display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;align-items:center;gap:4px 20px}
.today-workspace .home-priority.active{background:#edf5ef;border-color:#609680;box-shadow:inset 3px 0 #397b61}
.today-workspace .home-priority:hover{background:#f1f6f2;border-color:#609680}
.today-workspace .metric-label{font-size:14px;font-weight:600;color:var(--ink)}
.today-workspace .metric-number{grid-column:2;grid-row:1 / 3;font-size:32px;line-height:1.2;margin:0;font-variant-numeric:tabular-nums}
.today-workspace .metric-number small{font-size:12px;margin-left:6px}
.today-workspace .metric-note{font-size:11px;color:#6f8174}
.today-workspace .home-columns{grid-template-columns:minmax(0,1.7fr) minmax(340px,1fr);gap:18px;align-items:stretch;margin-bottom:18px}
.today-workspace .home-columns>div{min-width:0;display:flex;flex-direction:column;gap:14px}
.today-workspace .panel{border-color:var(--today-line);border-radius:12px;padding:23px;margin-bottom:0}
.today-workspace .panel-head{gap:12px;margin-bottom:15px;align-items:center}
.today-workspace .panel h2{font-size:17px;letter-spacing:.3px}
.today-workspace .today-list{flex:1;min-height:355px}
.today-workspace .work-row{display:flex;gap:13px;align-items:center;padding:20px 0;border-top:1px solid #edf0e9;border-bottom:0}
.today-workspace .work-row-body{min-width:0;flex:1}
.today-workspace .work-title{font-size:14px;font-weight:550;text-align:left;line-height:1.6}
.today-workspace .work-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:7px;font-size:11px;color:#748677}
.today-workspace .work-open{color:var(--green);border-color:#91b2a2;padding:7px 12px}
.today-workspace .work-check{flex-shrink:0}
.today-workspace .today-milestones{padding:8px 22px;background:#f9fbf8}
.today-workspace .today-milestones summary{font-size:12px}
.today-workspace .today-report{padding:20px 24px}
.today-workspace .today-report .panel-head{margin:0}
.today-workspace .today-report .hint{margin:5px 0 0;font-size:12px}
.today-workspace .policy-radar{background:#fff;color:var(--ink);height:100%;display:flex;flex-direction:column}
.today-workspace .policy-radar h2{color:var(--ink);font-size:17px}
.today-workspace .radar-meta,.today-workspace .radar-intro{color:#728575;font-size:11px}
.today-workspace .radar-intro{margin:0}
.today-workspace .radar-count{color:#437b60}
.today-workspace .radar-chips{gap:6px;margin:14px 0}
.today-workspace .policy-radar button,.today-workspace .radar-actions label{background:#f5f8f3;color:#52705f;border-color:#e0e8df;padding:6px 9px;font-size:11px}
.today-workspace .radar-chips button.selected{background:#235e48;border-color:#235e48;color:#fff}
.today-workspace .radar-feed{flex:1;max-height:420px;min-height:125px}
.today-workspace .radar-day h3{background:#fff;color:#425f4e;font-size:12px;padding:8px 0}
.today-workspace .radar-day h3 small{color:#758479}
.today-workspace .radar-day article{background:#fafcf9;padding:10px 12px;border-radius:4px;margin-bottom:8px}
.today-workspace .radar-day article p{font-size:12px;color:#344c3c}
.today-workspace .radar-day a{color:#28644b}
.today-workspace .radar-empty{color:#78887b;font-size:12px;line-height:1.9;padding:22px 8px}
.today-workspace .radar-actions{border-top:1px solid #e7ece4;padding-top:12px;justify-content:flex-end;margin-top:12px}
.today-workspace .radar-help{color:#778779;border-color:#e7ece4;padding-top:4px;margin-top:10px}
.today-workspace .radar-help summary{color:#778779;font-size:11px}
@media(max-width:1250px){.today-intro{grid-template-columns:1fr;gap:18px}.today-intro .page-heading{display:flex;justify-content:space-between;align-items:center}.today-intro .daily-lines{margin-right:16%;padding-left:16px}.today-workspace .home-columns{grid-template-columns:minmax(0,1.4fr) minmax(300px,1fr)}.today-workspace .work-row{flex-wrap:wrap}.today-workspace .work-open{margin-left:auto}}
@media(max-width:950px){.today-workspace .home-columns{grid-template-columns:1fr}.today-workspace .today-list{min-height:220px}.today-intro .daily-lines{margin-right:0}.today-workspace .radar-feed{min-height:80px}.today-workspace .home-priority{padding:14px}.today-workspace .metric-number{font-size:27px}}
@media(max-width:600px){.today-intro{padding:10px 0}.today-intro h1{font-size:25px}.today-intro .daily-lines{grid-template-columns:1fr;gap:12px;padding:8px 12px}.today-intro .daily-lines>div+div{border:0;padding:0}.today-workspace .home-priorities{padding:8px;gap:6px}.today-workspace .home-priority{display:flex;min-height:126px;padding:12px 8px;gap:7px}.today-workspace .metric-label{font-size:12px}.today-workspace .metric-note{font-size:10px}.today-workspace .panel{padding:17px}.today-workspace .today-report .panel-head{align-items:flex-start;flex-direction:column}.today-workspace .work-row{gap:9px}.today-workspace .work-row-body{flex-basis:75%}}

.today-intro{background-image:url(/today-landscape.png)}
/* Keep the summary and its task list on one shared left-column edge. */
body:has(.today-workspace) .topbar [data-action="new-task"]{display:inline-flex}
.today-workspace .home-columns>div:first-child{gap:18px}
.today-workspace .home-columns .home-priorities{margin:0;flex-shrink:0}
.today-workspace .today-list>.panel-head{justify-content:flex-start;flex-wrap:wrap}
.today-workspace .today-list>.panel-head h2{margin:0}
.today-workspace .today-list>.panel-head>.link-btn{margin-left:auto}
.today-workspace .today-new-task{padding:6px 12px}
.today-workspace .home-priority{column-gap:10px;padding:14px 16px}
@media(max-width:1100px){.today-workspace .home-priority{padding:12px 10px}.today-workspace .metric-note{font-size:10px}.today-workspace .metric-number{font-size:26px}}
.library-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:20px;align-items:start}.library-tree{background:#f0f5ef;border:1px solid #dde7dc;border-radius:10px;padding:18px;position:sticky;top:100px}.library-tree h3{margin:0 0 14px}.library-tree summary{display:flex;padding:2px 0}.library-tree button{border:0;background:transparent;text-align:left;padding:10px;width:100%;display:flex;gap:8px;justify-content:space-between;border-radius:6px;font-size:12px}.library-tree button.selected{background:#dfece1;color:#174c3d;font-weight:600}.library-tree small{color:#738473}.library-tree .library-branch{padding-left:24px;border-left:1px solid #cad9ca;margin-left:8px;width:calc(100% - 8px);font-size:11px}.library-content{min-width:0}.library-content td:first-child{min-width:230px}.library-content .work-title{overflow-wrap:anywhere;text-align:left}@media(max-width:850px){.library-layout{grid-template-columns:1fr}.library-tree{position:static}.library-tree details{display:inline-block;vertical-align:top;min-width:125px}}

.radar-filter-bar{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.radar-filter-bar input{flex:1;min-width:140px;width:100%;font-size:12px}.radar-filter-bar select{max-width:180px;font-size:12px}.today-workspace .radar-day article>div{justify-content:space-between;gap:8px}.today-workspace .radar-day article a{overflow-wrap:anywhere;min-width:0}.today-workspace .radar-day article button{flex-shrink:0}

/* Unified task entry and due-date-first status table. */
.home-create-bar{display:flex;align-items:center;gap:14px;flex-wrap:wrap;background:#fff;border:1px solid #dbe5dc;padding:16px;border-radius:12px}
.today-workspace .home-priorities{grid-template-columns:repeat(4,minmax(0,1fr))}
.today-task-table{width:100%;min-width:570px}.today-task-table th{white-space:nowrap}.today-task-table td{vertical-align:middle}.today-task-table td:first-child{white-space:nowrap;border-left:4px solid var(--urgency);padding-left:12px}
.today-task-table .urgency-red{--urgency:#b73d35;background:#fff7f5}.today-task-table .urgency-orange{--urgency:#a65d09;background:#fffaf0}.today-task-table .urgency-green{--urgency:#28704a;background:#f6faf7}
.today-task-table .urgency-label,.today-task-table time{color:var(--urgency);font-weight:600}.task-title-line{display:flex;align-items:center;gap:9px}.task-title-line .work-title{text-align:left;overflow-wrap:anywhere}.task-title-line .work-check{flex:0 0 20px;margin:0}.task-title-line .is-done{background:#28704a;color:white;border-color:#28704a}.task-status{min-width:104px;cursor:pointer;font-size:12px}.today-task-table .work-meta{margin-top:8px;gap:8px}
@media(max-width:650px){.today-workspace .home-priorities{grid-template-columns:repeat(2,minmax(0,1fr))}.today-workspace .home-priority{min-height:100px}}

/* Full task text and controls remain visible without horizontal scrolling. */
.today-workspace .home-priorities{grid-template-columns:repeat(3,minmax(0,1fr))}
.today-task-table{min-width:0;table-layout:fixed}.today-task-table th:nth-child(1){width:112px}.today-task-table th:nth-child(3){width:118px}.today-task-table th:nth-child(4){width:66px}
.today-task-table .work-title{white-space:normal;overflow:visible;text-overflow:clip;word-break:break-word;line-height:1.7;max-width:100%}.today-task-table .work-meta{white-space:normal;overflow-wrap:anywhere}
.today-task-table .urgency-label{display:inline-block;border:1px solid currentColor;border-radius:5px;padding:2px 7px;white-space:normal;font-size:11px}.today-task-table .task-status{display:block;width:100%;min-width:0;border:1px solid #628b78;background:#fff;padding:8px 4px;border-radius:6px;color:#174c3d;appearance:auto}
@media(max-width:650px){.today-task-table,.today-task-table tbody{display:block}.today-task-table thead{display:none}.today-task-table tr{display:grid;grid-template-columns:minmax(0,1fr) 110px;gap:8px;margin:10px 0;padding:12px}.today-task-table td{display:block;width:auto;border:0;padding:4px}.today-task-table td:first-child{grid-column:1/-1}.today-task-table td:nth-child(2){grid-column:1/-1}.today-task-table td:nth-child(4){text-align:right}.today-task-table .work-meta{display:flex;flex-wrap:wrap}.today-workspace .home-priorities{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Compact single-line task rows; narrow screens scroll rather than wrap. */
.today-task-table{display:table!important;table-layout:auto;width:100%;min-width:660px}.today-task-table thead{display:table-header-group!important}.today-task-table tbody{display:table-row-group!important}.today-task-table tr{display:table-row!important;padding:0!important;margin:0!important}.today-task-table th,.today-task-table td{display:table-cell!important;padding:8px 10px!important;vertical-align:middle;white-space:nowrap!important;width:auto!important}.today-task-table th:nth-child(2),.today-task-table td:nth-child(2){width:100%!important}.today-task-table .task-title-line{display:flex;flex-wrap:nowrap;gap:8px}.today-task-table .work-title{white-space:nowrap!important;word-break:normal;line-height:1.4;overflow:visible!important}.today-task-table .urgency-label{flex-shrink:0;white-space:nowrap;padding:1px 5px;line-height:1.5}.today-task-table .task-status{width:96px;min-width:96px;padding:5px 4px}.today-task-table .btn.small{padding:4px 8px}.today-task-table .task-time{font-size:11px}.today-task-table .work-check{width:17px;height:17px;flex-basis:17px}.today-list .table-wrap{overflow-x:auto}

.today-workspace .today-list>.panel-head{gap:12px}.today-workspace .today-list>.panel-head h2{order:-1}.daily-lines small{line-height:1.6}

.report-paper{background:white;border:1px solid #ddd;box-shadow:0 3px 16px #0000000c;padding:36px 40px;margin:12px 0;max-height:65vh;overflow:auto;font-family:SimSun,"Songti SC",serif;font-size:16px;line-height:1.8;color:#202020}.report-paper h1{text-align:center;font-size:24px;margin:0 0 18px}.report-paper h2{font-size:19px;margin:20px 0 10px}.report-paper h3{font-size:17px;margin:14px 0 6px}.report-paper p{margin:6px 0;white-space:pre-wrap}.report-paper table{border-collapse:collapse;width:100%;font-size:14px}.report-paper th,.report-paper td{border:1px solid #aaa;padding:8px;white-space:normal}.report-paper [contenteditable]{min-width:1em;outline:none;white-space:pre-wrap;overflow-wrap:anywhere}.report-paper [contenteditable]:focus{background:#f2f7f2;outline:1px dashed #8eac98}.report-gap{height:6px}.report-list-marker{user-select:none}.report-table-wrap{overflow-x:auto}@media(max-width:650px){.report-paper{padding:20px 16px;font-size:15px}}

.format-parameters{margin:16px 0;padding:16px;border:1px solid #d8e3db;border-radius:8px;background:#f8fbf8}.format-parameters h3{margin:0 0 12px}.format-parameters summary{cursor:pointer;margin:14px 0}.format-parameters .form-grid{gap:10px}
.task-description{font-size:12px;color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere;font-weight:400}
.task-title-line{flex-wrap:wrap}
.collection-feedback{padding:16px;margin:8px 0 20px;background:#f4f8f5;border:1px solid #d8e3da;border-radius:8px}
.collection-feedback[hidden]{display:none}
.collection-feedback textarea{display:block;width:100%;min-height:90px}
.collection-feedback [data-feedback-files]{max-height:220px;overflow:auto}
.feedback-text{white-space:pre-wrap;overflow-wrap:anywhere}
[data-plan-row] input,[data-plan-row] textarea{min-width:110px;width:100%}

/* Collection work occupies two columns; tools remain compact. */
.pub-operations.pub-operations-compact{grid-template-areas:"reminders trend brief" "collection collection tools"}
.pub-collection-entry .pub-collection-list{max-height:360px;overflow-y:auto;margin-bottom:16px}
.pub-collection-row span{min-width:0;overflow-wrap:anywhere}
.pub-collection-row em{flex-shrink:0;white-space:nowrap}
.pub-operations-compact .pub-tools .pub-entry{grid-template-columns:minmax(0,1fr)}
@media(max-width:1150px){.pub-operations.pub-operations-compact{grid-template-areas:"reminders trend" "brief tools" "collection collection"}}
@media(max-width:700px){.pub-operations.pub-operations-compact{grid-template-areas:"reminders" "collection" "trend" "brief" "tools"}}

/* Responsive task copy and compact collection overview. */
.today-task-table{table-layout:fixed;min-width:0}
.today-task-table th,.today-task-table td{white-space:normal!important;vertical-align:top;padding:10px 8px!important}
.today-task-table th:nth-child(1),.today-task-table td:nth-child(1){width:104px!important}
.today-task-table th:nth-child(2),.today-task-table td:nth-child(2){width:auto!important}
.today-task-table th:nth-child(3),.today-task-table td:nth-child(3){width:104px!important}
.today-task-table th:nth-child(4),.today-task-table td:nth-child(4){width:62px!important}
.today-task-table .task-title-line{display:grid;grid-template-columns:auto 17px minmax(0,1fr);align-items:start;gap:7px}
.today-task-table .task-copy{grid-column:3;min-width:0;line-height:1.65;overflow-wrap:anywhere}
.today-task-table .work-title{display:inline;white-space:normal!important;word-break:normal;overflow-wrap:anywhere;line-height:inherit;font-weight:600}
.today-task-table .task-description{display:inline;margin-left:8px;white-space:pre-wrap;line-height:1.65;color:#728277}
.today-task-table .work-check{margin-top:3px}
.today-task-table .task-time{display:block}
.today-task-table .task-status{width:100%;min-width:0}
.pub-operations.pub-operations-compact{align-items:start}
.pub-collection-entry .panel-head{flex-wrap:wrap;gap:10px;margin-bottom:8px}
.pub-collection-entry .panel-head h2{margin:0}
.pub-collection-entry .pub-collection-list{margin:0;max-height:330px}
.pub-collection-entry .pub-collection-row{display:grid;grid-template-columns:minmax(0,1fr) 144px 70px 72px;gap:14px;padding:12px 0;align-items:center}
.pub-collection-entry .pub-collection-row:last-child{border-bottom:0}
.pub-collection-entry .pub-collection-title{font-size:13px;line-height:1.55}
.pub-collection-entry .pub-collection-row small{margin:0 0 3px;font-size:10px}
.pub-collection-due time{font-size:12px;white-space:nowrap}
.pub-collection-feedback{font-size:12px}
.pub-collection-entry .pub-collection-row em{text-align:right}
.pub-collection-reminders h3{display:flex;justify-content:space-between;align-items:center;margin:0}
.pub-collection-reminders h3 span{font-size:13px;color:var(--green)}
@media(max-width:1250px){.pub-collection-entry .pub-collection-row{grid-template-columns:minmax(0,1fr) 142px 68px;gap:10px}.pub-collection-feedback{grid-column:1;grid-row:2}.pub-collection-entry .pub-collection-feedback small{display:inline;margin-right:6px}.pub-collection-entry .pub-collection-row em{grid-column:3;grid-row:1}.pub-collection-due{grid-column:2;grid-row:1/3}}
@media(max-width:600px){
 .today-task-table,.today-task-table tbody{display:block!important}
 .today-task-table thead{display:none!important}
 .today-task-table tr{display:grid!important;grid-template-columns:minmax(0,1fr) 104px;gap:4px;margin:8px 0!important;padding:10px!important;border-radius:7px}
 .today-task-table td{display:block!important;width:auto!important;border:0;padding:4px!important}
 .today-task-table td:nth-child(1){width:auto!important;grid-column:1;grid-row:1}
 .today-task-table td:nth-child(2){width:auto!important;grid-column:1/-1;grid-row:2}
 .today-task-table td:nth-child(3){width:auto!important;grid-column:2;grid-row:1}
 .today-task-table td:nth-child(4){width:auto!important;grid-column:2;grid-row:3;text-align:right}
 .today-task-table .task-time{display:inline}
 .pub-collection-entry .pub-collection-row{grid-template-columns:minmax(0,1fr) 74px;gap:6px 10px}
 .pub-collection-entry .pub-collection-title{grid-column:1/-1}
 .pub-collection-due{grid-column:1;grid-row:2}
 .pub-collection-entry .pub-collection-row em{grid-column:2;grid-row:2}
 .pub-collection-feedback{grid-column:1/-1;grid-row:3}
 .pub-collection-entry .pub-collection-due small{display:inline;margin-right:6px}
}
@media(max-width:1250px){.today-workspace .home-columns{grid-template-columns:minmax(0,1fr)}}

.pub-operations-compact .pub-reminders>.pub-review-reminder{width:100%;justify-content:space-between}.pub-review-reminder>span:last-child{color:var(--green)}.pub-ledger{scroll-margin-top:90px}.pub-ledger:focus{outline:2px solid #85aa95;outline-offset:3px}

/* Align the overview cards without stretching the collection/tools row. */
.pub-operations-compact>.pub-reminders,
.pub-operations-compact>.pub-trend-panel,
.pub-operations-compact>.pub-brief-panel{align-self:stretch;display:flex;flex-direction:column}
.pub-operations-compact>.pub-reminders>.panel-head,
.pub-operations-compact>.pub-trend-panel>.panel-head{flex:none;min-height:26px;margin:0 0 16px}
.pub-operations-compact>.pub-brief-panel>h2{flex:none;min-height:26px;margin:0 0 16px}
.pub-operations-compact>.pub-reminders>.hint{margin:auto 0 0;padding-top:12px}
.pub-operations-compact>.pub-trend-panel>.hint{margin:auto 0 0;padding-top:8px}
.pub-trend-panel .pub-chart-legend{display:flex;gap:14px;flex-wrap:wrap;align-items:center;margin:0 0 8px;font-size:12px}
.pub-trend-panel .pub-chart-legend span{display:inline-flex;gap:5px;align-items:center}
.pub-trend-panel .pub-chart-legend span::before{content:"";width:7px;height:7px;border-radius:50%;background:#26836c}
.pub-trend-panel .pub-chart-legend span:nth-child(2)::before{background:#437dd0}
.pub-trend-panel .pub-chart-legend span:nth-child(3)::before{background:#d99236}
.pub-trend-panel .pub-line-chart{display:block;flex:none;width:100%;height:160px;max-height:none;margin:0}
.pub-operations-compact>.pub-brief-panel>.tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;overflow:visible;white-space:normal;margin:0 0 12px}
.pub-operations-compact>.pub-brief-panel>.tabs .tab{min-width:0;padding:8px 2px;text-align:center;font-size:12px;white-space:normal}
.pub-brief-panel>#pub-brief-content{display:flex;flex:1;min-width:0}
.pub-brief-panel>#pub-brief-content>.pub-placeholder{width:100%;min-height:92px;margin:0;padding:14px;gap:8px}
.pub-brief-panel>.hint{margin:10px 0 8px}
.pub-brief-panel>.btn{align-self:flex-start}
@media(max-width:700px){
 .pub-operations-compact>.pub-reminders,.pub-operations-compact>.pub-trend-panel,.pub-operations-compact>.pub-brief-panel{align-self:start}
 .pub-trend-panel .pub-line-chart{height:auto;min-height:130px}
 .pub-operations-compact>.pub-brief-panel>.tabs .tab{font-size:11px}
}

/* Collection details: full-width requirements and compact department cards. */
dialog.collection-detail-modal{width:1080px}
.collection-detail-modal .modal-head{position:sticky;top:0;z-index:2;background:var(--paper,#fff);gap:20px}
.collection-detail-modal .modal-head h2{min-width:0;overflow-wrap:anywhere;line-height:1.5}
.collection-detail-modal .close{flex-shrink:0}
.collection-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding:16px 18px;background:#f4f7f3;border-radius:8px}
.collection-meta small{color:#7d8c81;font-size:11px}
.collection-meta p{margin:5px 0 0;font-size:13px;overflow-wrap:anywhere}
.collection-detail section{margin-top:22px}
.collection-detail h3{font-size:14px;margin:0 0 12px}
.collection-requirements .feedback-text{font-size:13px;line-height:1.85}
.collection-feedback-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.collection-feedback-heading h3{margin:0}
.collection-feedback-heading>span{font-size:12px;color:#7d8c81}
.collection-department-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-items:start}
.collection-department{min-width:0;padding:12px 14px;border:1px solid var(--line);border-radius:8px;background:#fff}
.collection-department-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.collection-department-head strong{min-width:0;overflow-wrap:anywhere;font-size:12px;font-weight:500}
.collection-department-head .badge{flex-shrink:0;white-space:nowrap}
.collection-department>small{display:block;margin-top:5px;font-size:11px;color:#7d8c81}
.collection-department .feedback-text{font-size:12px;line-height:1.7;margin:10px 0 0}
.collection-file-links{display:flex;flex-wrap:wrap;gap:8px 16px;font-size:12px;margin-top:8px}
.collection-file-links a{max-width:100%;overflow-wrap:anywhere}
@media(max-width:900px){.collection-department-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.collection-meta{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.collection-department-grid{grid-template-columns:minmax(0,1fr)}.collection-meta{gap:14px;padding:14px}.collection-detail-modal .modal-body{padding:18px}.collection-detail-modal .modal-head{padding:18px}}

.pbr-highlights{width:100%;min-width:0;max-height:146px;overflow:auto;font-size:12px;line-height:1.65}.pbr-highlights small{color:#7b8c80}.pbr-highlights ul{padding-left:17px;margin:6px 0}.pbr-highlights li{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin:4px 0}.pbr-home-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.pbr-controls{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin-bottom:16px}.pbr-controls label{display:flex;flex-direction:column;gap:6px}#pbr-edit textarea[name=content]{min-height:500px;width:100%;line-height:1.8}#pbr-edit textarea[name=highlights]{min-height:110px;width:100%}#pbr-edit .field{display:block;margin:16px 0}#pbr-edit input{width:100%}

.pbr-highlights li.pbr-meeting-item{display:block;margin:8px 0;padding-bottom:8px;border-bottom:1px solid var(--line)}.pbr-meeting-item a{display:block}.pbr-meeting-title{display:block;font-weight:500}.pbr-meeting-summary{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-wrap;overflow-wrap:anywhere;color:#667b70;font-size:12px;margin-top:3px}

/* Quality review navigation does not modify document content. */
.issue-locate{margin-left:8px;text-decoration:underline;text-underline-offset:3px}
#live-preview [data-source-paragraph]{scroll-margin-block:110px;white-space:pre-wrap}
#live-preview .format-source-active{background-color:#fff0bd;outline:2px solid #ac7338;outline-offset:4px;border-radius:2px}
