/* Compact weekly schedule. Scoped so other screens retain their design. */
.schedule-shell{color:#172d4b}.schedule-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:5px 0 16px}.schedule-heading .eyebrow{font-size:10px;letter-spacing:1.6px}.schedule-heading h2{font-size:24px;letter-spacing:-.7px}.schedule-heading p{font-size:13px;color:#617591;margin-top:7px}.schedule-heading p>span{margin:0 8px;color:#adbbce}.schedule-nav{display:flex;align-items:center;gap:5px;padding:4px;border:1px solid #dbe6f5;border-radius:11px;background:#fff}.schedule-nav .btn{border:0;box-shadow:none;padding:6px 12px;font-size:13px}.schedule-nav .previous{transform:rotate(180deg)}.schedule-summary{display:flex;align-items:center;flex-wrap:wrap;gap:22px;margin:0 0 19px;font-size:13px;color:#536a87}.schedule-summary>span{display:inline-flex;align-items:center;gap:6px}.schedule-summary b{color:#243f63;font-size:15px;font-variant-numeric:tabular-nums}.schedule-summary i{width:7px;height:7px;border-radius:50%}.schedule-summary .green{background:#29866e}.schedule-summary .warm{background:#c38b47}.schedule-summary .published{background:#7b98bd}.schedule-summary .schedule-hint{margin-left:auto;color:#6c809c;font-size:12px}.schedule-day-picker{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;margin-bottom:20px}.schedule-date{background:#ffffffb5;border:1px solid #dfe8f5;border-radius:13px;text-align:left;padding:13px 15px;color:#506c91;min-width:0;transition:background .15s}.schedule-date:hover{background:#f3f7ff;border-color:#a9c5f1}.schedule-date>span:first-child{display:flex;align-items:center;gap:8px;font-size:12px}.schedule-date>span:first-child>small{font-size:9px;color:#316ccd;white-space:nowrap}.schedule-date>strong{display:block;font-size:25px;letter-spacing:-.7px;color:#244570;font-variant-numeric:tabular-nums;line-height:1.4;margin:3px 0}.schedule-date-count{display:flex;align-items:center;gap:8px;font-size:12px;color:#6b7f99}.schedule-date-count i{width:5px;height:5px;border-radius:50%;background:#27856e}.schedule-date.selected{border-color:#95b9ef;background:linear-gradient(135deg,#fff,#eaf2ff);box-shadow:0 3px 12px #2b65b60a}.schedule-date.selected>strong{color:#155bd8}.schedule-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:19px;align-items:start}.schedule-overview>header{display:flex;align-items:center;justify-content:space-between;padding:17px 19px;border-bottom:1px solid #e8eef8}.schedule-overview h3{margin:0;font-size:15px}.schedule-overview>header>span{font-size:12px;color:#778aa3}.schedule-row{display:flex;gap:15px;padding:14px 16px;border-bottom:1px solid #e9eff8;min-height:116px}.schedule-row:last-child{border:0}.schedule-row.selected{background:linear-gradient(90deg,#eef5ff90,#fff)}.schedule-row-date{width:60px;flex:none;text-align:left;background:transparent;padding:3px 0;align-self:flex-start;color:#7086a5}.schedule-row-date>span{display:block;font-size:11px}.schedule-row-date>strong{font-size:16px;display:block;color:#2d507e;line-height:1.5}.schedule-row-date>small{display:block;font-size:11px;margin-top:5px}.schedule-row.selected .schedule-row-date>strong{color:#155bd8}.schedule-row-main{flex:1;min-width:0}.schedule-mini-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.schedule-mini{display:flex;flex-direction:column;justify-content:space-between;gap:9px;min-width:0;text-align:left;background:#fff;border:1px solid #e1e9f5;border-radius:9px;padding:11px 10px;min-height:87px}.schedule-mini:hover{border-color:#9ebfee;background:#f8fbff}.schedule-mini>strong{font-size:12px;line-height:1.55;color:#284563;font-weight:600;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.schedule-mini>span{display:flex;gap:5px;align-items:center;font-size:10px;color:#8b6236;line-height:1.5}.schedule-mini>span>i{width:4px;height:4px;border-radius:50%;background:currentColor;flex:none}.schedule-mini.green>span{color:#227960}.schedule-mini.purple>span{color:#765aab}.schedule-mini.muted>span{color:#77879d}.schedule-more{display:flex;align-items:center;gap:5px;margin:9px 0 0 auto;padding:0;background:transparent;color:#2963bd;font-size:11px;font-weight:550}.schedule-more .icon{width:12px;height:12px}.schedule-no-posts{font-size:12px;color:#8091a9;align-self:center;grid-column:1/-1;padding:18px 0}.schedule-detail{position:sticky;top:18px;border-color:#d0e0f6;box-shadow:0 6px 22px #345a9209}.schedule-detail>header{display:flex;align-items:center;justify-content:space-between;padding:21px 20px 17px;background:linear-gradient(130deg,#fff,#f0f6ff);border-bottom:1px solid #e0eafa}.schedule-detail>header .eyebrow{font-size:9px;color:#6f89ae;margin-bottom:5px}.schedule-detail>header h3{font-size:19px;margin:0;letter-spacing:-.3px}.schedule-total{font-size:28px;color:#2166db;font-variant-numeric:tabular-nums;line-height:1}.schedule-total>small{display:block;font-size:11px;text-align:right;margin-top:5px;color:#7088a6}.schedule-detail-summary{display:flex;gap:10px;padding:12px 20px;font-size:11px;color:#6d809d;border-bottom:1px solid #eaf0f8}.schedule-detail-summary>span:first-child{color:#227960}.schedule-detail-list{max-height:540px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#cbdaf0 transparent}.schedule-detail-card{display:block;width:100%;text-align:left;background:transparent;border-bottom:1px solid #e7eef8;padding:17px 19px}.schedule-detail-card:last-child{border:0}.schedule-detail-card:hover{background:#f8fbff}.schedule-detail-meta{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px}.schedule-detail-meta>.badge{font-size:10px;white-space:normal;line-height:1.5}.schedule-detail-meta>span:last-child{font-size:9px;color:#8a9bb3;white-space:nowrap}.schedule-detail-card>strong{display:block;font-size:14px;color:#244264;line-height:1.6;font-weight:650}.schedule-author{display:flex;align-items:center;gap:7px;font-size:12px;color:#627b9b;margin-top:11px}.schedule-author .avatar{width:23px;height:23px;font-size:8px}.schedule-service{margin-left:auto;font-size:10px;color:#7187a4}.schedule-detail-card>p{font-size:11px;line-height:1.7;color:#6e829d;margin:10px 0 0;padding-left:30px}.schedule-detail>footer{border-top:1px solid #e3ecf8;font-size:10px;color:#7e92ae;padding:12px 18px;background:#fbfdff}.schedule-footnote{font-size:11px;color:#6e819c;margin-top:15px}.schedule-empty{text-align:center;padding:45px 20px;color:#7a91af}.schedule-empty>.icon{width:29px;height:29px;color:#9bb5d9}.schedule-empty>h3{font-size:15px;margin:13px 0 6px}.schedule-empty>p{font-size:12px;line-height:1.8}
@media(min-width:1800px){.schedule-layout{grid-template-columns:minmax(0,1fr) 380px}.schedule-mini>strong{font-size:14px}.schedule-mini>span{font-size:12px}.schedule-mini{padding:12px;min-height:92px}.schedule-detail-list{max-height:650px}.schedule-detail-meta>.badge{font-size:12px}.schedule-detail-card>p{font-size:12px}.schedule-detail-meta>span:last-child{font-size:11px}}
@media(max-width:1250px){.schedule-layout{grid-template-columns:1fr}.schedule-overview{display:none}.schedule-detail{position:static}.schedule-detail-list{max-height:600px;display:grid;grid-template-columns:1fr 1fr}.schedule-detail-card{border-right:1px solid #e7eef8}.schedule-day-picker{gap:7px}.schedule-date{padding:12px}.schedule-date>span:first-child>small{display:none}.schedule-detail-meta>span:last-child{font-size:11px}.schedule-detail-meta>.badge{font-size:12px}.schedule-detail-card>p{font-size:12px}.schedule-detail>footer{font-size:12px}}
@media(max-width:760px){.schedule-heading{align-items:flex-start;gap:10px}.schedule-heading h2{font-size:21px}.schedule-heading .eyebrow{font-size:9px}.schedule-heading p{font-size:12px}.schedule-nav .btn{font-size:12px;padding:6px 8px}.schedule-nav .icon-btn{padding:6px}.schedule-summary{gap:13px;font-size:12px}.schedule-summary .schedule-hint{display:none}.schedule-day-picker{display:flex;overflow-x:auto;padding:2px 1px 8px;scrollbar-width:thin;scroll-snap-type:x proximity;margin-bottom:14px}.schedule-date{flex:0 0 72px;scroll-snap-align:start}.schedule-date>strong{font-size:23px}.schedule-date>span:first-child,.schedule-date-count{font-size:12px}.schedule-detail-list{grid-template-columns:1fr;max-height:570px}.schedule-detail>header{padding:18px}.schedule-detail-summary{font-size:12px;padding-left:18px}.schedule-detail-card{padding:17px 18px;border-right:0}.schedule-detail-card>strong{font-size:15px}.schedule-author{font-size:13px}.schedule-service{font-size:12px}.schedule-detail-card>p{padding-left:0;color:#5c7392}.schedule-detail-meta>span:last-child{font-size:10px}.schedule-detail>footer{font-size:11px;line-height:1.7}.schedule-footnote{font-size:11px;line-height:1.8}}
@media(prefers-reduced-motion:reduce){.schedule-date{transition:none}}
.priority-explained{display:flex;flex-direction:column;align-items:flex-start;gap:6px;margin-top:5px}.priority-explained>small{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:11px;line-height:1.65;color:#627995;max-width:300px;font-weight:400}.coord-summary .priority-explained>small{max-width:none;-webkit-line-clamp:unset;font-size:13px}.task-time-panel{border:1px solid #dbe6f5;border-radius:13px;padding:19px;margin:22px 0;background:linear-gradient(135deg,#fff,#f7faff)}.time-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.time-panel-head h3{font-size:16px;margin:0}.time-panel-head p{font-size:12px;color:#6d819d;margin-top:4px}.task-clocks{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:20px 0}.task-clocks>div{border-left:2px solid #dce8f8;padding-left:12px}.task-clocks span{display:block;font-size:12px;color:#617a9b}.task-clocks strong{font-size:25px;font-variant-numeric:tabular-nums;font-weight:650;letter-spacing:-.8px;color:#254f86;display:block;margin-top:5px}.task-clocks>div:nth-child(3){border-color:#86b7a4}.task-clocks>div:nth-child(3) strong{color:#227960}.time-explanation{font-size:12px;line-height:1.8;color:#6b819d;margin-bottom:18px}.time-milestones{border-top:1px solid #e3ebf8;padding-top:10px}.time-milestones>div{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px;padding:8px 0}.time-milestones span{color:#6a819f}.time-milestones time{color:#365779;font-variant-numeric:tabular-nums}.time-actions{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0 9px}.time-actions .btn{font-size:12px}@media(max-width:430px){.task-time-panel{padding:15px}.time-panel-head{flex-wrap:wrap}.task-clocks strong{font-size:22px}.task-clocks span{font-size:11px}.time-milestones>div{align-items:flex-start;flex-direction:column;gap:3px}}
.schedule-mini>strong{font-size:14px;line-height:1.5}.schedule-mini>span{font-size:12px}.schedule-mini{min-height:101px}.schedule-detail-meta>.badge{font-size:12px}.schedule-detail-meta>span:last-child{font-size:11px}.schedule-detail-card>p{font-size:12px}.schedule-row-date>span,.schedule-row-date>small{font-size:12px}.schedule-more{font-size:12px}.schedule-detail-summary{font-size:12px}
.missing-data{display:inline-flex;align-items:center;color:#aa423c;background:#fff0ee;border:1px solid #f2d4d0;border-radius:5px;padding:1px 6px;font-size:12px;font-weight:650;line-height:1.65;letter-spacing:.1px;white-space:nowrap}.task-clocks strong.missing-data{font-size:23px;padding:2px 9px;display:inline-flex;margin-top:6px}.missing-audit{margin:20px 0;border:1px solid #eddbd7;border-radius:12px;background:#fffaf9;overflow:hidden}.missing-audit>summary{cursor:pointer;padding:13px 16px;color:#785a55;font-size:13px;font-weight:550;line-height:1.8}.missing-field-list{display:grid;grid-template-columns:1fr 1fr;gap:0 20px;padding:0 16px 12px}.missing-field-list>div{display:flex;gap:9px;align-items:center;flex-wrap:wrap;border-top:1px solid #f1e5e1;padding:9px 0;font-size:12px;color:#796b68}.missing-field-list>div>span:first-child{flex:1;min-width:100px}.missing-field-list small{display:block;width:100%;color:#92827d;font-size:11px}.missing-audit>p{font-size:11px;color:#8a7974;margin:0;padding:0 16px 14px;line-height:1.8}.audit-summary{margin-bottom:22px}.audit-table{max-height:470px;overflow:auto}.audit-table table{min-width:650px}.audit-table thead{position:sticky;top:0;z-index:1}.audit-table td:first-child{width:35%}.audit-table .text-btn{font-size:13px}.audit-table .missing-data{font-size:11px}@media(max-width:600px){.missing-field-list{grid-template-columns:1fr}.missing-audit>summary{font-size:12px}}

/* Cảnh báo lịch xuất bản; luôn tách khỏi trạng thái deadline sản xuất. */
.publication-warnings{margin-bottom:22px;border-color:#f2c9b5}
.publication-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:12px;padding:0 24px 24px}
.publication-item{display:flex;align-items:flex-start;flex-direction:column;gap:9px;padding:18px;border:1px solid #f0d7be;border-radius:14px;background:#fffbf5;text-align:left;color:#233858;cursor:pointer}
.publication-item.danger{background:#fff6f5;border-color:#efc6c4}
.publication-item>span:not(.badge),.publication-item small{font-size:12px;line-height:1.6;color:#6a7890}
.badge.danger{background:#fde6e3;color:#b3443e}

.task-clocks small{display:block;margin-top:7px;font-size:11px;line-height:1.7;color:#617a9b}
