:root{--navy:#0b3d52;--teal:#0b8178;--teal2:#30b69b;--orange:#ed8b2f;--ink:#173542;--muted:#667c86;--line:#d9e7e8;--bg:#f2f7f6;--white:#fff;--shadow:0 16px 45px rgba(9,68,76,.12)}*{box-sizing:border-box}[hidden]{display:none!important}html{scroll-behavior:smooth}body{margin:0;font-family:Cairo,Tahoma,sans-serif;background:var(--bg);color:var(--ink)}button,input,select{font:inherit}button{cursor:pointer}.access-gate{min-height:100vh;display:grid;place-items:center;text-align:center;background:linear-gradient(145deg,#063d50,#0b8178);color:#fff;padding:30px}.gate-spinner{width:50px;height:50px;border:5px solid rgba(255,255,255,.25);border-top-color:#fff;border-radius:50%;animation:spin 1s linear infinite;margin:auto}@keyframes spin{to{transform:rotate(360deg)}}.access-gate strong{font-size:20px}.access-gate p{color:#d5eeea}.gate-error a{color:#fff;font-weight:900}.unified-platform-bar{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.97);border-bottom:1px solid #dce9ea;box-shadow:0 8px 26px rgba(7,70,75,.08);backdrop-filter:blur(14px)}.unified-nav-shell{width:min(1390px,calc(100% - 28px));margin:auto;min-height:76px;display:grid;grid-template-columns:minmax(190px,.8fr) minmax(610px,2.5fr) minmax(195px,.8fr);gap:14px;align-items:center}.portal-home-link{display:flex;align-items:center;gap:9px;text-decoration:none;color:var(--navy)}.home-icon{width:42px;height:42px;border-radius:13px;background:linear-gradient(145deg,var(--teal),#07585d);color:#fff;display:grid;place-items:center;font-size:20px}.portal-home-link strong,.portal-home-link small{display:block}.portal-home-link strong{font-size:12px}.portal-home-link small{font-size:9px;color:var(--muted)}.platform-switcher{display:flex;gap:7px;overflow-x:auto;padding:7px}.platform-tab{min-width:112px;border:1px solid #deeaeb;border-radius:13px;padding:8px 9px;display:flex;align-items:center;gap:7px;text-decoration:none;color:var(--ink);background:#fff}.platform-tab.current{background:#e9f8f5;border-color:#9fd8ce}.platform-tab.locked,.platform-tab.coming{opacity:.55}.platform-tab-icon{width:30px;height:30px;border-radius:9px;background:#e8f3f3;color:var(--teal);display:grid;place-items:center;flex:none}.platform-tab-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.platform-tab strong,.platform-tab small{display:block;white-space:nowrap}.platform-tab strong{font-size:10px}.platform-tab small{font-size:8px;color:var(--muted)}.platform-plan-badge{display:flex;align-items:center;gap:8px;background:#f2f8f7;border:1px solid #dceae8;border-radius:13px;padding:8px 10px}.plan-dot{width:10px;height:10px;border-radius:50%;background:#24b887;box-shadow:0 0 0 4px #dff5ed}.platform-plan-badge small,.platform-plan-badge strong,.platform-plan-badge em{display:block}.platform-plan-badge small{font-size:8px;color:var(--muted)}.platform-plan-badge strong{font-size:10px}.platform-plan-badge em{font-size:8px;color:var(--muted);font-style:normal}.plan-header{position:relative;background:linear-gradient(135deg,#073c4c,#0b8178 58%,#55b894);color:#fff;overflow:hidden}.header-pattern{position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);background-size:38px 38px;mask-image:linear-gradient(to bottom,#000,transparent)}.plan-header-inner{width:min(1250px,calc(100% - 36px));margin:auto;min-height:235px;display:grid;grid-template-columns:1fr 1.6fr .55fr;gap:30px;align-items:center;position:relative;z-index:1;padding:34px 0}.school-brand{display:flex;align-items:center;gap:14px}.school-logo-box{width:78px;height:78px;border-radius:22px;background:#fff;display:grid;place-items:center;overflow:hidden;box-shadow:0 14px 35px rgba(0,0,0,.18)}.school-logo-box img{width:100%;height:100%;object-fit:contain;padding:6px}.school-logo-box span{font-size:31px;color:var(--teal);font-weight:900}.school-brand>div>span{font-size:11px;color:#baf4e6;font-weight:800}.school-brand h1{font-size:23px;margin:4px 0}.school-brand p{margin:0;color:#dbf1ed;font-size:12px}.header-copy .eyebrow{color:#c1ffe8;font-size:11px;font-weight:900}.header-copy h2{font-size:29px;line-height:1.45;margin:7px 0}.header-copy h2 b{color:#bcffe0}.header-copy p{margin:0;color:#ddf1ee;line-height:1.9;font-size:13px}.header-stat{text-align:center;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.21);border-radius:21px;padding:17px}.header-stat span,.header-stat strong,.header-stat small{display:block}.header-stat span{font-size:10px}.header-stat strong{font-size:42px}.header-stat small{font-size:9px;color:#e1f2ee}.main-shell{width:min(1250px,calc(100% - 36px));margin:22px auto 50px;display:grid;gap:18px}.workspace-toolbar,.setup-card,.holidays-panel,.generate-panel,.saved-plans-section,.plan-preview-section{background:#fff;border:1px solid #dfeaea;border-radius:22px;box-shadow:var(--shadow)}.workspace-toolbar{padding:21px 23px;display:flex;justify-content:space-between;align-items:center;gap:20px}.section-kicker{display:block;color:var(--teal);font-size:10px;font-weight:900;letter-spacing:.04em}.workspace-toolbar h2,.panel-heading h2,.generate-panel h2,.preview-heading h2{margin:4px 0;font-size:22px}.workspace-toolbar p,.panel-heading p,.generate-panel p,.preview-heading p{margin:0;color:var(--muted);font-size:12px;line-height:1.8}.toolbar-actions{display:flex;gap:9px;flex-wrap:wrap}.primary-button,.secondary-button,.ghost-button,.danger-button,.generate-button{border:0;border-radius:12px;padding:10px 16px;font-weight:900;display:inline-flex;align-items:center;justify-content:center;gap:8px}.primary-button{background:linear-gradient(135deg,var(--teal),var(--teal2));color:#fff}.secondary-button{background:#e8f6f3;color:#086c64}.ghost-button{background:#fff;border:1px solid #d9e7e8;color:var(--muted)}.danger-button{background:#fff0f0;color:#a63d43}.primary-button:disabled,.secondary-button:disabled{opacity:.45;cursor:not-allowed}.setup-grid{display:grid;grid-template-columns:1.3fr .7fr;gap:18px}.setup-card{padding:21px}.card-heading{display:flex;gap:12px;align-items:center;border-bottom:1px solid #e5eeee;padding-bottom:13px;margin-bottom:16px}.card-heading>span{width:38px;height:38px;border-radius:12px;background:linear-gradient(135deg,var(--teal),var(--teal2));color:#fff;display:grid;place-items:center;font-weight:900}.card-heading h3{margin:0;font-size:17px}.card-heading p{margin:2px 0 0;color:var(--muted);font-size:10px}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.form-grid label,.holiday-form label{display:grid;gap:6px}.form-grid label span,.holiday-form label span{font-size:10px;color:#536d75;font-weight:900}.form-grid input,.form-grid select,.holiday-form input,.holiday-form select{width:100%;border:1px solid #d6e5e6;background:#fbfdfd;border-radius:11px;padding:10px 11px;outline:none;color:var(--ink)}.form-grid input:focus,.form-grid select:focus,.holiday-form input:focus,.holiday-form select:focus{border-color:#69c4b5;box-shadow:0 0 0 3px #e1f5f0}.calendar-fields{grid-template-columns:1fr}.calendar-note{margin-top:14px;border-radius:13px;background:#f0f8f6;border:1px solid #d8ebe7;padding:12px;color:#597078;font-size:10px;line-height:1.8}.holidays-panel,.saved-plans-section,.plan-preview-section{padding:22px}.panel-heading,.preview-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:16px}.holiday-count,.preview-meta{min-width:95px;text-align:center;background:#edf8f5;border:1px solid #d6ece6;border-radius:14px;padding:9px}.holiday-count strong,.holiday-count small,.preview-meta strong,.preview-meta small{display:block}.holiday-count strong,.preview-meta strong{font-size:22px;color:var(--teal)}.holiday-count small,.preview-meta small{font-size:9px;color:var(--muted)}.holiday-form{display:grid;grid-template-columns:.8fr 1.5fr 1fr 1fr auto;gap:10px;align-items:end;background:#f8fbfb;border:1px solid #e1ebeb;border-radius:15px;padding:13px}.holiday-list{display:grid;grid-template-columns:repeat(2,1fr);gap:9px;margin-top:12px}.holiday-item{display:flex;justify-content:space-between;align-items:center;gap:15px;border:1px solid #dce8e8;border-radius:13px;padding:11px;background:#fff}.holiday-item span,.holiday-item strong,.holiday-item small{display:block}.holiday-item span{font-size:9px;color:var(--teal);font-weight:900}.holiday-item strong{font-size:12px}.holiday-item small{font-size:9px;color:var(--muted);margin-top:3px}.holiday-item button{border:0;background:#fff0f0;color:#a93e44;border-radius:9px;padding:7px 10px;font-weight:900;font-size:9px}.empty-inline,.loading-line{grid-column:1/-1;border:1px dashed #b9d0d0;border-radius:13px;text-align:center;color:var(--muted);padding:18px;font-size:11px}.generate-panel{padding:22px;display:flex;justify-content:space-between;align-items:center;gap:20px;background:linear-gradient(135deg,#fff,#f0faf7)}.generate-button{min-width:210px;background:linear-gradient(135deg,#ed8b2f,#f3a94d);color:#fff;justify-content:space-between;box-shadow:0 12px 25px rgba(226,126,32,.22)}.generate-button b{font-size:20px}.status-box{grid-column:1/-1;padding:10px 12px;border-radius:11px;background:#e8f7ef;color:#167452;font-size:11px}.status-box.error{background:#fff0f0;color:#aa3b41}.saved-plans-list{display:grid;gap:10px}.saved-plan-item{border:1px solid #dce8e8;border-radius:15px;padding:13px;display:flex;justify-content:space-between;align-items:center;gap:16px}.saved-plan-item span{color:var(--teal);font-size:9px;font-weight:900}.saved-plan-item h3{font-size:14px;margin:3px 0}.saved-plan-item p,.saved-plan-item small{display:block;margin:0;color:var(--muted);font-size:9px}.saved-plan-item>div:last-child{display:flex;gap:7px}.plan-preview-section{background:#edf4f2}.plan-document{display:grid;gap:20px}.print-page{width:100%;aspect-ratio:1.414/1;background:#fff;border:1px solid #d8e4e3;border-radius:18px;box-shadow:0 14px 35px rgba(9,60,67,.10);padding:28px;position:relative;overflow:hidden}.cover-page{background:linear-gradient(145deg,#fff,#f6fbfa)}.cover-orb{position:absolute;border-radius:50%;opacity:.13}.orb-a{width:420px;height:420px;background:#0d9585;right:-170px;top:-190px}.orb-b{width:330px;height:330px;background:#efa054;left:-140px;bottom:-180px}.print-page header,.weekly-header{display:flex;justify-content:space-between;align-items:center;position:relative;z-index:1}.print-brand{display:flex;align-items:center;gap:10px}.print-logo{width:58px;height:58px;border-radius:15px;border:1px solid #dce7e5;background:#fff;display:grid;place-items:center;overflow:hidden}.print-logo img{width:100%;height:100%;object-fit:contain;padding:4px}.print-logo span{font-size:24px;color:var(--teal);font-weight:900}.print-brand strong,.print-brand span,.ministry-mark b,.ministry-mark span{display:block}.print-brand strong{font-size:11px}.print-brand span{font-size:8px;color:var(--muted)}.ministry-mark{text-align:left}.ministry-mark b{font-size:11px;color:var(--teal)}.ministry-mark span{font-size:8px;color:var(--muted)}.cover-content{height:68%;display:grid;place-content:center;text-align:center;position:relative;z-index:1}.cover-content>span{color:var(--teal);font-size:11px;font-weight:900}.cover-content h1{font-size:36px;max-width:780px;margin:12px auto;color:#174352}.cover-content h2{font-size:21px;color:#e5832a;margin:0}.cover-dates{display:flex;justify-content:center;gap:18px;margin-top:22px}.cover-dates b,.cover-dates strong{padding:8px 14px;border-radius:999px;background:#eef7f4;color:#17675f;font-size:10px}.cover-footer{display:grid;grid-template-columns:1fr 1fr;gap:20px;border-top:2px solid #0c8176;padding-top:13px;position:relative;z-index:1}.cover-footer div{text-align:center}.cover-footer span,.cover-footer strong{display:block}.cover-footer span{font-size:8px;color:var(--muted)}.cover-footer strong{font-size:11px}.intro-content{width:86%;margin:45px auto 0}.page-kicker{color:var(--orange);font-weight:900;font-size:11px}.intro-content h2{font-size:26px;margin:4px 0 16px}.editable-intro{border:1px dashed #b5d2cd;border-radius:14px;background:#fbfefd;padding:20px;font-size:13px;line-height:2.25;min-height:190px;outline:none;text-align:justify}.calendar-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-top:18px}.calendar-summary div{background:#f1f7f5;border-radius:11px;padding:10px;text-align:center}.calendar-summary span,.calendar-summary strong{display:block}.calendar-summary span{font-size:8px;color:var(--muted)}.calendar-summary strong{font-size:9px;margin-top:3px}.signature-line{text-align:left;margin-top:25px}.signature-line span,.signature-line strong{display:block}.signature-line span{font-size:8px;color:var(--muted)}.signature-line strong{font-size:11px}.weekly-page{padding:20px 24px}.week-title{text-align:center;margin:9px 0}.week-title>span{display:block;color:#df7d26;font-size:20px;font-weight:900}.week-title div{display:flex;justify-content:center;gap:10px;align-items:center;font-size:9px}.week-title div i{font-style:normal;color:var(--muted)}.week-title small{font-size:8px;color:var(--muted)}.weekly-layout{display:grid;grid-template-columns:1.65fr .72fr;grid-template-rows:auto auto;gap:12px}.tasks-section table,.emerging-section table{width:100%;border-collapse:collapse;table-layout:fixed}.tasks-section th,.tasks-section td,.emerging-section th,.emerging-section td{border:1px solid #aebabb;padding:3px;text-align:center;font-size:7px}.tasks-section th,.emerging-section th{background:#efb783;color:#44352b;font-weight:900}.tasks-section th:nth-child(1){width:5%}.tasks-section th:nth-child(3),.tasks-section th:nth-child(4){width:7%}.tasks-section th:nth-child(5){width:20%}.tasks-section td:nth-child(2){text-align:right}.editable-cell{min-height:16px;outline:none;text-align:right;line-height:1.4}.task-note{text-align:center}.fixed-mark{display:block;color:#0c9b88;font-size:5px}.tasks-section input,.emerging-section input,.special-checks input{accent-color:#df7d26;width:12px;height:12px}.side-sections{display:grid;gap:10px}.programs-box,.special-box{border:1px solid #aebabb}.programs-box h3,.special-box h3{margin:0;background:#efb783;padding:5px;text-align:center;font-size:8px}.programs-box>div,.special-box>div[data-special-note-index]{border-top:1px solid #b7c2c2;padding:4px;min-height:23px}.programs-box h4{margin:0;background:#c8df9b;text-align:center;padding:4px;font-size:7px}.week-note{color:#c34a4f;min-height:62px;padding:7px!important;font-size:7px;line-height:1.6}.special-checks{display:flex;gap:4px;padding:6px!important;justify-content:center;font-size:6px;flex-wrap:wrap}.special-checks label{display:flex;align-items:center;gap:2px}.emerging-section{grid-column:1/2}.emerging-section th:nth-child(1){width:7%}.emerging-section th:nth-child(3),.emerging-section th:nth-child(4){width:9%}.weekly-footer{position:absolute;bottom:13px;left:24px;right:24px;border-top:1px solid #d3dfdd;padding-top:5px;display:flex;justify-content:space-between;gap:12px}.weekly-footer p{margin:0;color:#1d7d91;font-size:5.5px;line-height:1.5}.weekly-footer span{font-size:6px;color:#4c696f;white-space:nowrap}.holiday-page{background:linear-gradient(145deg,#fff,#f8fbfa)}.holiday-page-content{height:75%;display:grid;place-content:center;text-align:center}.holiday-symbol{width:90px;height:90px;border-radius:50%;display:grid;place-items:center;margin:auto;background:#fff1de;color:#df7d26;font-size:42px}.holiday-page-content>span{font-size:10px;color:var(--teal);font-weight:900;margin-top:16px}.holiday-page-content h2{font-size:28px;margin:6px 0}.holiday-page-content p{font-size:12px;color:#45666c}.holiday-page-content small{color:var(--muted);font-size:9px}.site-footer{background:#073f4d;color:#d7ebea;padding:18px max(18px,calc((100% - 1250px)/2));display:flex;justify-content:space-between;font-size:10px}.toast{position:fixed;left:22px;bottom:22px;background:#143c49;color:#fff;border-radius:13px;padding:12px 16px;z-index:100;font-size:11px;box-shadow:0 12px 30px rgba(0,0,0,.2)}.toast.error{background:#9c343a}
@media(max-width:1050px){.unified-nav-shell{grid-template-columns:180px 1fr}.platform-plan-badge{display:none}.plan-header-inner{grid-template-columns:1fr 1.5fr}.header-stat{display:none}.setup-grid{grid-template-columns:1fr}.holiday-form{grid-template-columns:1fr 1fr}.holiday-title-field{grid-column:span 2}.holiday-form button{grid-column:span 2}.weekly-layout{grid-template-columns:1fr}.emerging-section{grid-column:auto}.print-page{aspect-ratio:auto;min-height:720px}}
@media(max-width:680px){.unified-nav-shell{display:block;padding:8px}.portal-home-link{margin-bottom:5px}.plan-header-inner{grid-template-columns:1fr;padding:22px 0}.header-copy h2{font-size:23px}.workspace-toolbar,.generate-panel,.panel-heading,.preview-heading{align-items:stretch;flex-direction:column}.form-grid,.holiday-form,.holiday-list{grid-template-columns:1fr}.holiday-title-field,.holiday-form button{grid-column:auto}.saved-plan-item{align-items:flex-start;flex-direction:column}.saved-plan-item>div:last-child{width:100%}.saved-plan-item button{flex:1}.print-page{padding:16px}.calendar-summary{grid-template-columns:1fr 1fr}.cover-content h1{font-size:28px}.weekly-footer{position:static;margin-top:9px}.site-footer{flex-direction:column;gap:5px}}
@page{size:A4 landscape;margin:7mm}@media print{body{background:#fff}.no-print,.unified-platform-bar,.plan-header,.site-footer,.support-chat-toggle,.support-chat-panel,.toast{display:none!important}.main-shell{width:auto;margin:0;display:block}.plan-preview-section{display:block!important;padding:0;border:0;box-shadow:none;background:#fff}.preview-heading{display:none}.plan-document{display:block}.print-page{width:100%;height:196mm;min-height:0;aspect-ratio:auto;border:0;border-radius:0;box-shadow:none;margin:0;page-break-after:always;break-after:page;padding:9mm;overflow:hidden}.print-page:last-child{page-break-after:auto}.editable-cell,.editable-intro{border:0;background:transparent}.editable-intro{font-size:12pt;line-height:2.1}.weekly-page{padding:6mm 8mm}.weekly-footer{bottom:5mm;left:8mm;right:8mm}.tasks-section th,.tasks-section td,.emerging-section th,.emerging-section td{font-size:6.8pt;padding:2.5px}.programs-box h3,.special-box h3{font-size:7pt}.week-title>span{font-size:17pt}.cover-content h1{font-size:30pt}.holiday-page-content h2{font-size:24pt}}

/* V13 — electronic editing, holiday editing, and progress tracking */
.holiday-form-actions{display:flex;gap:7px;align-items:center}.holiday-item-actions{display:flex;gap:6px}.holiday-item-actions button.edit{background:#e9f7f4;color:#08746b}.plan-progress-dashboard{display:grid;grid-template-columns:1.2fr 1fr;gap:14px;margin-bottom:15px}.overall-progress-card,.progress-metrics,.week-control-panel{background:#fff;border:1px solid #dbe9e7;border-radius:18px;box-shadow:0 10px 28px rgba(7,70,75,.07)}.overall-progress-card{padding:17px;display:flex;align-items:center;gap:17px}.progress-ring{--progress:0deg;width:112px;height:112px;border-radius:50%;display:grid;place-items:center;align-content:center;flex:none;background:conic-gradient(#15a589 var(--progress),#e7f0ee 0);position:relative}.progress-ring:before{content:"";position:absolute;inset:10px;border-radius:50%;background:#fff}.progress-ring strong,.progress-ring span{position:relative;z-index:1;display:block;text-align:center}.progress-ring strong{font-size:24px;color:#087b70}.progress-ring span{font-size:8px;color:var(--muted)}.overall-progress-copy{flex:1}.overall-progress-copy>span{font-size:9px;color:var(--teal);font-weight:900}.overall-progress-copy h3{margin:3px 0;font-size:17px}.overall-progress-copy p{margin:0;color:var(--muted);font-size:9px;line-height:1.7}.overall-progress-bar,.week-editor-progress-bar{height:9px;border-radius:999px;background:#e8f0ee;overflow:hidden;margin-top:10px}.overall-progress-bar i,.week-editor-progress-bar i{height:100%;display:block;background:linear-gradient(90deg,#0c8d7f,#43c39d);border-radius:inherit;transition:width .25s}.progress-metrics{padding:12px;display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.progress-metrics article{border:1px solid #e1ecea;border-radius:13px;padding:10px;background:#fbfdfd}.progress-metrics span,.progress-metrics strong,.progress-metrics small{display:block}.progress-metrics span{font-size:8px;color:#5f747a}.progress-metrics strong{font-size:20px;color:#234854}.progress-metrics small{font-size:7px;color:#87979c}.progress-metrics article.completed strong{color:#118363}.progress-metrics article.failed strong{color:#b84950}.progress-metrics article.pending strong{color:#d17b26}.week-control-panel{padding:15px;margin-bottom:16px}.week-control-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:11px}.week-control-heading span{font-size:8px;color:var(--teal);font-weight:900}.week-control-heading h3{font-size:15px;margin:2px 0}.week-control-heading small{font-size:8px;color:var(--muted)}.week-navigator{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.week-nav-card{border:1px solid #dae8e6;background:#fff;border-radius:13px;padding:10px;text-align:right;color:var(--ink);transition:.18s}.week-nav-card:hover{transform:translateY(-2px);border-color:#6cc2b3;box-shadow:0 9px 22px rgba(9,89,83,.10)}.week-nav-card span,.week-nav-card strong,.week-nav-card small,.week-nav-card em{display:block}.week-nav-card span{font-size:8px;color:var(--teal);font-weight:900}.week-nav-card strong{font-size:18px;margin:2px 0;color:#174b54}.week-nav-card>div{height:6px;background:#e6efed;border-radius:999px;overflow:hidden}.week-nav-card>div i{display:block;height:100%;background:linear-gradient(90deg,#0b8e7f,#4ac59f)}.week-nav-card small{font-size:7px;color:var(--muted);margin-top:5px}.week-nav-card em{font-style:normal;font-size:7px;color:#4a666d;margin-top:2px}.edit-week-button{border:0;border-radius:9px;background:#e9f7f4;color:#08756c;padding:7px 10px;font-size:8px;font-weight:900}.week-progress-strip{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;background:#f2f8f6;border:1px solid #dceae7;border-radius:9px;padding:5px 8px;margin:0 0 7px}.week-progress-strip>div:first-child{display:flex;gap:4px;align-items:center}.week-progress-strip span,.week-progress-strip small{font-size:6px;color:#62787e}.week-progress-strip strong{font-size:8px;color:#08786e}.week-progress-track{height:5px;background:#dfeae8;border-radius:999px;overflow:hidden}.week-progress-track i{display:block;height:100%;background:#1caa87}.program-progress-row{display:grid!important;grid-template-columns:1fr auto auto;gap:3px;align-items:center}.program-progress-row>div{border:0!important;padding:0!important;min-height:16px}.program-progress-row label{font-size:6px;display:flex;align-items:center;gap:1px}.program-progress-row input{width:10px;height:10px;accent-color:#df7d26}.progress-summary-page{background:linear-gradient(145deg,#fff,#f5faf8)}.print-progress-head{margin:30px auto 16px;width:88%;text-align:center}.print-progress-head>span{color:var(--teal);font-size:10px;font-weight:900}.print-progress-head h2{font-size:26px;margin:4px 0}.print-progress-head p{font-size:9px;color:var(--muted)}.print-progress-overall{width:88%;margin:auto;background:#f2f8f6;border:1px solid #d9e8e5;border-radius:16px;padding:16px}.print-progress-overall>div:first-child{display:flex;justify-content:space-between;align-items:center}.print-progress-overall span{font-size:10px;color:#4b686d}.print-progress-overall strong{font-size:27px;color:#08796e}.print-progress-main-bar{height:11px;background:#dfeae7;border-radius:999px;overflow:hidden;margin:8px 0}.print-progress-main-bar i{display:block;height:100%;background:linear-gradient(90deg,#078779,#4dc5a0)}.print-progress-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.print-progress-stats b{text-align:center;background:#fff;border-radius:9px;padding:7px;font-size:8px}.print-progress-weeks{width:88%;margin:15px auto;display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.print-progress-week{border:1px solid #dce8e6;border-radius:11px;padding:8px;background:#fff}.print-progress-week span,.print-progress-week strong,.print-progress-week small{display:block}.print-progress-week span{font-size:7px;color:var(--teal)}.print-progress-week strong{font-size:15px}.print-progress-week>div{height:5px;background:#e5eeec;border-radius:999px;overflow:hidden}.print-progress-week>div i{display:block;height:100%;background:#24a985}.print-progress-week small{font-size:6px;color:var(--muted);margin-top:3px}.saved-plan-progress{display:grid;grid-template-columns:1fr auto auto;gap:7px;align-items:center;margin:6px 0;max-width:420px}.saved-plan-progress>div{height:6px;background:#e4eeec;border-radius:999px;overflow:hidden}.saved-plan-progress>div i{display:block;height:100%;background:#1eaa87}.saved-plan-progress strong{font-size:9px;color:#08786e}.saved-plan-progress small{font-size:7px!important}.modal{position:fixed;inset:0;z-index:120;display:grid;place-items:center;padding:18px}.modal-backdrop{position:absolute;inset:0;background:rgba(2,24,31,.62);backdrop-filter:blur(5px)}.week-editor-card{position:relative;width:min(1050px,100%);max-height:92vh;background:#f4f8f7;border-radius:22px;box-shadow:0 30px 80px rgba(0,0,0,.28);display:flex;flex-direction:column;overflow:hidden}.week-editor-header{display:flex;justify-content:space-between;align-items:flex-start;background:linear-gradient(135deg,#074d5b,#0b8b7d);color:#fff;padding:18px 22px}.week-editor-header span{font-size:9px;color:#bff6e8;font-weight:900}.week-editor-header h2{margin:3px 0;font-size:22px}.week-editor-header p{margin:0;color:#d9eeeb;font-size:10px}.modal-close{border:0;width:38px;height:38px;border-radius:12px;background:rgba(255,255,255,.13);color:#fff;font-size:25px}.week-editor-progress{display:grid;grid-template-columns:auto 1fr;gap:15px;align-items:center;background:#fff;padding:10px 22px;border-bottom:1px solid #dde9e7}.week-editor-progress>div:first-child{display:flex;gap:8px;align-items:center}.week-editor-progress span{font-size:9px;color:var(--muted)}.week-editor-progress strong{font-size:17px;color:#08786e}.week-editor-progress-bar{margin:0}.week-editor-body{padding:17px 20px;overflow:auto;display:grid;gap:12px}.week-editor-section{background:#fff;border:1px solid #dce8e6;border-radius:15px;padding:13px}.editor-section-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px}.editor-section-heading span{font-size:8px;color:var(--teal);font-weight:900}.editor-section-heading h3{font-size:14px;margin:2px 0}.mini-button{border:1px solid #b9dcd5;background:#eaf7f4;color:#08766c;border-radius:9px;padding:6px 9px;font-size:8px;font-weight:900}.editor-date-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.editor-date-grid label,.editor-wide-label{display:grid;gap:5px}.editor-date-grid label span,.editor-wide-label span{font-size:8px;color:#5c7379;font-weight:900}.editor-date-grid input,.editor-wide-label textarea,.week-editor-row input,.week-editor-row select{width:100%;border:1px solid #d4e3e2;border-radius:9px;padding:8px 9px;font:inherit;font-size:10px;outline:none;background:#fbfdfd}.week-editor-list{display:grid;gap:7px}.week-editor-row{display:grid;grid-template-columns:1fr 145px 34px;gap:7px;align-items:center}.editor-row-main{display:grid;grid-template-columns:1.4fr .8fr;gap:7px}.remove-editor-row{border:0;width:32px;height:32px;border-radius:9px;background:#fff0f0;color:#a43c43;font-size:18px}.editor-special-checks{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:10px}.editor-special-checks label{font-size:10px;font-weight:800}.editor-special-checks input{accent-color:#0b8b7d}.week-editor-footer{display:flex;justify-content:flex-end;gap:8px;background:#fff;padding:13px 20px;border-top:1px solid #dce8e6}
@media(max-width:980px){.plan-progress-dashboard{grid-template-columns:1fr}.week-navigator{grid-template-columns:repeat(2,1fr)}.week-editor-row{grid-template-columns:1fr 120px 34px}}
@media(max-width:620px){.week-navigator{grid-template-columns:1fr}.overall-progress-card{align-items:flex-start;flex-direction:column}.progress-ring{width:94px;height:94px}.week-editor-row{grid-template-columns:1fr 34px}.week-editor-row select{grid-column:1}.editor-row-main,.editor-date-grid{grid-template-columns:1fr}.week-control-heading{align-items:flex-start;flex-direction:column}}
@media print{.progress-summary-page{display:block}.week-progress-strip{grid-template-columns:auto 1fr auto;padding:3px 6px;margin-bottom:4px}.week-progress-strip span,.week-progress-strip small{font-size:5.5pt}.week-progress-strip strong{font-size:7pt}.program-progress-row{grid-template-columns:1fr auto auto}.program-progress-row label{font-size:5pt}.print-progress-weeks{grid-template-columns:repeat(4,1fr)}.print-progress-week{break-inside:avoid}.weekly-header .edit-week-button{display:none!important}}
