/* Schedule-only presentation. Existing Soracco surfaces and tokens remain untouched. */
.schedule-overview{display:grid;grid-template-columns:minmax(0,1fr);min-width:0;gap:15px}
.schedule-overview>*{min-width:0}
.schedule-tab-content{min-width:0}
.schedule-banner>div{min-width:0;overflow-wrap:anywhere}
.schedule-banner{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:15px 17px;border:1px solid #dce4ef;border-left:3px solid var(--navy,#15212f);border-radius:8px;background:#f5f7fb;color:#526174;font-size:11px;line-height:1.65}
.schedule-banner strong{display:block;color:#283b58;font-size:12px;margin-bottom:2px}
.schedule-banner.warning{border-left-color:#b98b39;background:#fbf7ed}
.schedule-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.schedule-kpi{padding:12px 14px;border:1px solid #e4e8ed;border-radius:8px;background:#fbfcfd}
.schedule-kpi span{display:block;color:#8491a0;font-size:9px;letter-spacing:.55px;text-transform:uppercase}
.schedule-kpi strong{display:block;margin-top:5px;color:#283b58;font-size:18px;font-weight:650}
.schedule-section{border:1px solid #e3e8ee;border-radius:9px;background:#fff;overflow:hidden}
.schedule-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid #e7ebef}
.schedule-section-head h3{margin:0;color:#30445e;font-size:12px}
.schedule-section-head p{margin:3px 0 0;color:#929daa;font-size:10px}
.schedule-scroll{overflow:auto;max-height:430px}
.schedule-history,.schedule-table{width:100%;border-collapse:collapse;font-size:10px}
.schedule-history th,.schedule-table th{position:sticky;top:0;z-index:1;background:#f7f9fb;color:#8995a3;text-align:left;font-size:9px;letter-spacing:.4px;text-transform:uppercase;white-space:nowrap}
.schedule-history th,.schedule-history td,.schedule-table th,.schedule-table td{padding:10px 12px;border-bottom:1px solid #edf0f3;vertical-align:top}
.schedule-history td,.schedule-table td{color:#536277}
.schedule-history tr:last-child td,.schedule-table tr:last-child td{border-bottom:0}
.schedule-link{padding:0;border:0;background:none;color:#304e7a;font:inherit;font-weight:650;text-align:left;text-decoration:underline;text-underline-offset:2px;cursor:pointer}
.schedule-tree{min-width:780px}
.schedule-task-name{display:flex;align-items:flex-start;gap:6px}
.schedule-indent{flex:0 0 auto}
.schedule-task-name strong{color:#354b66;font-weight:600}
.schedule-task-name .schedule-kind{display:inline-block;margin-left:5px;padding:2px 5px;border-radius:3px;background:#f0f3f6;color:#7d8a99;font-size:8px;letter-spacing:.3px;text-transform:uppercase;white-space:nowrap}
.schedule-row-summary td{background:#fafbfd}
.schedule-row-summary strong{font-weight:700}
.schedule-progress{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.schedule-progress i{display:block;width:46px;height:4px;border-radius:8px;background:#e8edf2;overflow:hidden}
.schedule-progress i b{display:block;height:100%;background:#5a759c}
.schedule-timeline{display:grid;gap:8px;padding:13px 15px}
.schedule-timeline-row{display:grid;grid-template-columns:minmax(145px,1.1fr) minmax(190px,2fr) minmax(100px,.8fr);gap:12px;align-items:center;font-size:9px}
.schedule-timeline-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#56677d}
.schedule-track{position:relative;height:20px;border-radius:4px;background:repeating-linear-gradient(90deg,#f5f7f9 0,#f5f7f9 calc(25% - 1px),#e6ebf0 calc(25% - 1px),#e6ebf0 25%)}
.schedule-bar{position:absolute;top:5px;height:10px;min-width:4px;border-radius:3px;background:#45658f}
.schedule-bar.lookahead{background:#738ba9}
.schedule-bar.milestone{top:4px;width:12px!important;height:12px;border-radius:2px;background:#bd8a35;transform:rotate(45deg)}
.schedule-today{position:absolute;z-index:1;top:0;bottom:0;width:1px;background:#bf735f}
.schedule-date-pair{color:#8b97a5;line-height:1.5}
.schedule-legend{display:flex;gap:13px;flex-wrap:wrap;padding:0 15px 13px;color:#8b97a5;font-size:9px}
.schedule-legend span{display:inline-flex;align-items:center;gap:5px}
.schedule-legend i{width:9px;height:9px;border-radius:2px;background:#45658f}
.schedule-legend i.base{background:#c8d0da}
.schedule-legend i.actual{background:#8b7553}
.schedule-activity{display:grid;gap:8px;padding:12px 15px}
.schedule-activity-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:9px 0;border-bottom:1px solid #edf0f3;font-size:10px}
.schedule-activity-row:last-child{border-bottom:0}
.schedule-activity-row strong{color:#3e526c;font-weight:600}
.schedule-activity-row p{margin:4px 0 0;color:#8592a1;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}
.schedule-raw{display:grid;gap:8px;padding:12px 15px}
.schedule-raw details{border:1px solid #edf0f3;border-radius:6px;background:#fbfcfd}
.schedule-raw summary{padding:10px 12px;color:#52647a;font-size:10px;font-weight:600;cursor:pointer}
.schedule-raw pre{max-height:240px;overflow:auto;margin:0;padding:11px 12px;border-top:1px solid #edf0f3;color:#647287;font:9px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere}
.schedule-diff{display:flex;gap:7px;flex-wrap:wrap;padding:12px 15px}
.schedule-diff span{padding:5px 7px;border-radius:4px;background:#f1f4f7;color:#627187;font-size:9px}
.schedule-diff .added{background:#edf5ee;color:#52735a}.schedule-diff .removed{background:#faf0ee;color:#945e55}.schedule-diff .changed{background:#f7f3e9;color:#8c713e}
.schedule-form-note{grid-column:1/-1}
.schedule-xml-hint{display:none}
.schedule-xml-hint.show{display:block}
.schedule-loading{display:grid;gap:7px;margin:12px 0}
.schedule-loading div{height:13px;border-radius:4px;background:linear-gradient(90deg,#eef1f4,#f8f9fa,#eef1f4);background-size:200% 100%;animation:schedule-shimmer 1.4s ease-in-out infinite}
.schedule-loading div:nth-child(2){width:86%}.schedule-loading div:nth-child(3){width:72%}
.schedule-empty{padding:17px;color:#8491a0;font-size:10px;line-height:1.6}
.schedule-empty strong{display:block;color:#455b76;font-size:12px}
.schedule-empty p{margin:6px 0 0}
.schedule-tabs{display:flex;gap:4px;overflow-x:auto;border-bottom:1px solid #e7ebef}
.schedule-tab{flex:0 0 auto;padding:9px 11px;border:0;border-bottom:2px solid transparent;background:transparent;color:#8390a0;font:inherit;font-size:10px;cursor:pointer}
.schedule-tab.active{border-color:#344e76;color:#344e76;font-weight:650}
.schedule-tab-content{min-height:60px}
.schedule-table-controls{display:flex;justify-content:flex-end;padding:9px 12px}
.schedule-date-control{display:inline-flex;align-items:center;gap:7px;color:#748397;font-size:9px}
.schedule-date-control input,.schedule-date-control select{max-width:145px;padding:6px 7px;border:1px solid #dce2e8;border-radius:5px;background:#fff;color:#4f6177;font:inherit;font-size:10px}
.schedule-activity-meta{color:#68788e;font-size:9px;line-height:1.55}
.schedule-activity-notes{grid-column:1/-1;margin:0!important;color:#8793a1;font-size:9px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
.schedule-footer-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%}
.schedule-footer-actions .modal-footer-actions{justify-content:flex-end}
.schedule-footer-actions a.btn{text-decoration:none}
.schedule-current-approved{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px;border:1px solid #dfe7e1;border-left:3px solid #658474;border-radius:8px;background:#f6faf7}
.schedule-current-approved strong,.schedule-current-approved span{display:block}
.schedule-current-approved strong{color:#3e5b4c;font-size:11px}
.schedule-current-approved span{margin-top:3px;color:#7e9085;font-size:9px}
.schedule-source-restricted{display:block;margin-left:auto;color:#8b7b64;font-size:10px}
.schedule-date-review{padding:12px 15px;border:1px solid #eee3cc;border-radius:6px;background:#fcf9f2;color:#7d7158;font-size:9px}
.schedule-date-review>strong{display:block;margin-bottom:7px;color:#816d48;font-size:10px}
.schedule-date-review>div{display:grid;grid-template-columns:minmax(100px,.8fr) minmax(180px,1.5fr);gap:10px;padding:5px 0;border-top:1px solid #efe7d6}
.schedule-date-review>div span:first-child{color:#5f6f83}
.schedule-date-review>p{margin-top:6px}
.schedule-display-limit{padding:0 15px 9px;color:#8a7652;font-size:9px}
.schedule-source-value{color:#866f45;font-size:9px;overflow-wrap:anywhere}
@keyframes schedule-shimmer{to{background-position:-200% 0}}
@media(max-width:760px){
 .schedule-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
 .schedule-banner{display:block}
 .schedule-timeline-row{grid-template-columns:minmax(95px,.9fr) minmax(120px,1.4fr);gap:7px}
 .schedule-date-pair{grid-column:1/-1}
 .schedule-section-head{align-items:flex-start}
 .schedule-tree{min-width:710px}
 .schedule-footer-actions{align-items:flex-start;flex-direction:column}
 .schedule-footer-actions .modal-footer-actions{justify-content:flex-start;flex-wrap:wrap}
 .schedule-current-approved{align-items:flex-start;flex-direction:column}
 .schedule-date-review>div{grid-template-columns:1fr}
}
@media(max-width:420px){.schedule-summary{gap:6px}.schedule-kpi{padding:10px}.schedule-kpi strong{font-size:16px}}
