@font-face{font-family:Local;src:local("Avenir Next")}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f3f2ef;color:#25282c;font:15px/1.55 Local,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button{border:1px solid var(--ims-line, #d8dce0);background:white;color:#353a3e;padding:10px 16px;border-radius:8px;min-height:44px;font-weight:600;line-height:1.3}button:hover{background:#f3efef;border-color:#bda6ac}button:disabled{opacity:.4;cursor:default}a{color:#781b30}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #ad6072;outline-offset:3px}button.primary{background:#781b30;border-color:#781b30;color:white}button.primary:hover{background:#5e1022}.text-button{border-color:transparent;background:transparent}.danger{color:#a32234}.muted{color:#6f7478}.small{font-size:13px}.eyebrow{font-size:11px;font-weight:800;letter-spacing:.15em;text-transform:uppercase;color:#781b30}h1,h2,h3,p{margin:0}h1{font-size:34px;line-height:1.2;letter-spacing:-1px;font-weight:750}h2{font-size:19px;letter-spacing:-.4px}h3{font-size:17px}input,textarea,select{width:100%;border:1px solid #dcdedc;background:#fff;border-radius:7px;padding:10px 12px;color:inherit;min-height:44px}textarea{resize:vertical;min-height:48px;line-height:1.5}input::placeholder,textarea::placeholder{color:#96999b}label.field{display:block;font-size:13px;font-weight:600;margin:14px 0}label.field input,label.field textarea,label.field select{margin-top:6px}input[type=checkbox]{min-height:20px;width:20px;height:20px;accent-color:#781b30}input[type=search]{border-radius:8px}button[hidden],[hidden]{display:none!important}.topbar{display:flex;align-items:center;justify-content:space-between;gap:26px;background:white;padding:0 30px;min-height:90px;border-bottom:1px solid var(--ims-line, #d8dce0)}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:#25282c;font-size:15px;font-weight:850;letter-spacing:1.1px;white-space:nowrap}.brand-mark{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;border:2px solid #781b30;color:#781b30;font:bold 17px Georgia,serif;letter-spacing:-1px;box-shadow:inset 0 0 0 3px white,inset 0 0 0 4px #eadce0}.brand small{display:block;font-size:8px;letter-spacing:1.3px;color:#737779;margin-top:1px}.topbar nav{display:flex;align-self:stretch;align-items:stretch;gap:24px}.topbar nav a,.topbar nav button{display:flex;align-items:center;padding:6px 0;border:0;border-radius:0;border-bottom:3px solid transparent;background:transparent;color:#777b7d;font-size:14px;font-weight:650;text-decoration:none;white-space:nowrap}.topbar nav .active{color:#781b30;border-bottom-color:#781b30}.header-right{display:flex;gap:12px;align-items:center}.season{font-size:12px;font-weight:700;letter-spacing:1px;color:#8a8c8b}.header-right button{font-size:12px;padding:8px}.workspace{max-width:1560px;margin:auto;padding:32px}.workspace-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:27px}.workspace-heading h1{margin-top:5px}.workspace-heading p{margin-top:7px;font-size:14px}.actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.save-state{font-size:12px;display:flex;align-items:center;gap:6px;color:#576e61;margin-right:9px}.save-state::before{content:"";display:block;width:6px;height:6px;border-radius:100%;background:currentColor}.save-state.error{color:#a02c36}.workspace-grid{display:grid;grid-template-columns:290px minmax(0,1fr);gap:26px;align-items:start}.sidebar{position:sticky;top:18px}.calendar-panel{background:#fff;border:1px solid #e0e1dd;border-radius:12px;overflow:hidden}.calendar-head{display:flex;justify-content:space-between;align-items:center;padding:17px 18px 7px}.calendar-head strong{font-size:15px}.calendar-head button{min-width:36px;min-height:36px;padding:4px;font-size:20px;border:0}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;padding:6px 14px 14px}.day-label{text-align:center;font-size:10px;color:#96999a;line-height:30px}.calendar-day{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:37px;padding:2px;border:0;border-radius:7px;background:transparent;font-size:12px;font-weight:500}.calendar-day.no-event{color:#b7b9b8}.calendar-day.selected{background:#781b30;color:white}.dots{display:flex;gap:3px;min-height:4px}.dot{width:4px;height:4px;background:#b5b7b6;border-radius:100%}.dot.match{background:#781b30}.dot.optional{background:#ac8546}.selected .dot{background:white}.legend{display:flex;gap:12px;padding:0 18px 18px;border-bottom:1px solid #eee;font-size:10px;color:#818687}.legend span{display:flex;align-items:center;gap:4px}.agenda-header{padding:17px 18px 10px;display:flex;align-items:center;justify-content:space-between}.agenda-header span{font-size:10px;color:#939694}.filter{padding:0 14px 10px;display:flex;gap:4px}.filter button{min-height:32px;font-size:11px;border:0;background:transparent;padding:6px 10px}.filter .active{background:#eee5e7;color:#781b30}.agenda{max-height:410px;overflow:auto;padding:0 8px 8px}.event-item{display:flex;width:100%;align-items:center;gap:12px;padding:12px 10px;text-align:left;border:1px solid transparent;background:transparent;margin:2px 0;border-radius:8px;min-height:68px}.event-item.selected{background:#f6edef;border-color:#edd7dd}.event-date{display:flex;flex-direction:column;align-items:center;min-width:34px;font-size:19px;line-height:1.2;font-weight:700}.event-date small{font-size:8px;color:#8b8d8d;letter-spacing:1px;margin-top:3px}.event-name{font-size:12px;line-height:1.4;font-weight:700;flex:1}.event-name small{display:block;margin-top:3px;color:#898b8d;font-weight:400;font-size:10px}.event-type-dot{height:6px;width:6px;border-radius:100%;background:#b7b9b8}.event-type-dot.match{background:#781b30}.planned{color:#577460;font-size:10px}.sidebar-foot{padding:15px 9px;color:#949796;font-size:11px;line-height:1.8}.sidebar-foot strong{color:#737875}.plan{min-width:0}.plan-heading{background:#fff;border:1px solid #e0e1dd;border-radius:12px;padding:26px 28px;position:relative;overflow:hidden;margin-bottom:18px;border-top:4px solid #781b30}.plan-title-row{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}.plan-heading h2{font-size:29px;margin:7px 0 8px;line-height:1.25;letter-spacing:-.8px}.badge{display:inline-flex;align-items:center;gap:6px;font-size:10px;text-transform:uppercase;letter-spacing:1px;font-weight:800;color:#781b30;background:#f4e7eb;border-radius:5px;padding:4px 8px}.badge.match{background:#781b30;color:white}.plan-meta{display:flex;gap:16px;flex-wrap:wrap;color:#828787;font-size:12px}.plan-note{font-size:12px;color:#987c49;background:#fbf7ed;border-radius:6px;padding:9px 12px;margin-top:14px}.focus-field{margin-top:20px;padding-top:17px;border-top:1px solid #eee}.focus-field label{display:block;font-size:10px;color:#838789;font-weight:750;letter-spacing:1.15px;margin-bottom:7px}.focus-field input{font-size:15px;border:0;background:#f7f7f5;min-height:44px}.plan-tools{display:flex;gap:8px;justify-content:flex-end;margin:0 0 18px}.plan-tools button{font-size:12px;min-height:36px;padding:8px 12px}.section-card{background:white;border:1px solid #e0e1dd;border-radius:11px;margin-bottom:14px;overflow:hidden}.section-title{display:flex;align-items:center;gap:14px;padding:20px 24px}.section-number{display:grid;place-items:center;min-width:30px;height:30px;background:#f3f2ef;border-radius:7px;color:#959792;font-size:12px;font-weight:650}.section-title h3{font-size:17px}.section-title p{font-size:11px;color:#959998;margin-top:2px}.section-title .grow{flex:1}.section-title button{font-size:12px;min-height:36px;padding:8px 13px}.section-body{padding:0 24px 20px}.empty-line{color:#9b9e9c;font-size:13px;padding:0 0 1px 44px}.add-line{color:#781b30;border:1px dashed #d8c7ca;background:#fff;font-size:12px;font-weight:650;min-height:40px;width:100%;margin-top:10px}.lesson-group{padding:2px 24px 20px}.lesson-group+.lesson-group{border-top:1px solid #eceeeb;padding-top:20px}.group-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}.group-title h3{font-size:13px;letter-spacing:.3px}.group-title span{font-size:11px;color:#949998;margin-left:7px;font-weight:400}.group-title button{font-size:11px;min-height:34px;padding:7px 12px}.group-empty{border:1px dashed #dedfda;border-radius:8px;padding:23px;text-align:center}.group-empty p{font-size:12px;color:#8b908e;max-width:340px;margin:0 auto 12px}.group-empty button{font-size:12px}.advanced-empty{display:flex;align-items:center;gap:12px;padding:12px 15px;background:#f8f8f5;border-radius:7px;font-size:12px;color:#89908a}.advanced-empty .everyone{font-size:20px;color:#829484}.step-list{list-style:none;padding:0;margin:0}.step-list .step-list{margin-left:18px;padding-left:14px;border-left:2px solid #e9e8e3;margin-top:9px}.step{margin:10px 0}.step-main{border:1px solid #e8e9e4;border-radius:8px;background:#fcfcfb;padding:10px 12px}.step.important>.step-main{background:#fff8e7;border-color:#e4c781;border-left:4px solid #c3922b}.step.important>.step-main .step-text{font-weight:700}.step-row{display:flex;align-items:flex-start;gap:9px}.step-num{font-size:10px;line-height:43px;min-width:17px;color:#999c98}.step-text{border:0;background:transparent;padding:9px 5px;flex:1;min-width:0;font-size:14px;resize:vertical}.step-actions{display:flex;justify-content:flex-end;gap:4px;flex-wrap:wrap;border-top:1px solid #eeeeea;margin-top:5px;padding-top:5px}.step-actions button{min-height:34px;font-size:10px;padding:5px 8px;border:0;background:transparent;color:#7c8581}.step-actions .important-button.active{background:#f6e7b8;color:#866118}.step-actions button:hover{background:#f1eee8}.step-extra{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 9px 26px}.step-extra label{font-size:10px;color:#808884}.step-extra input,.step-extra textarea{font-size:12px;background:white;margin-top:3px}.step-read-text{white-space:pre-wrap;font-size:17px;padding:8px 0}.step-read-note{white-space:pre-wrap;margin:3px 0 8px;color:#6b7470;font-size:14px}.resource-link{display:inline-flex;font-size:12px;align-items:center;gap:6px;min-height:36px;overflow-wrap:anywhere}.lesson{border:1px solid #dcded9;border-radius:9px;margin:15px 0 0;padding:18px;background:#fff}.lesson-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.lesson-title{border:0;background:#f7f7f5;font-size:18px;font-weight:700}.lesson-title-row .lesson-title{flex:1;min-width:0}.lesson-controls{display:flex;gap:4px}.lesson-controls button{padding:6px 8px;font-size:12px;min-height:36px}.lesson-video{margin:10px 0 12px}.lesson-video input{font-size:12px}.coach-row{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin:12px 0}.coach-row>span{font-size:10px;text-transform:uppercase;letter-spacing:.8px;font-weight:700;color:#828a85;margin-right:6px}.coach-row button{font-size:10px;min-height:34px;border-radius:50px;padding:6px 11px;background:#fff;color:#8a918d;border-color:#e0e5e0}.coach-row button.active{border-color:#93a599;background:#edf2ed;color:#446350}.coach-pill{font-size:12px;background:#edf2ed;border-radius:30px;padding:5px 10px;color:#446350}.library-wrap{max-width:1100px;margin:auto;padding:36px 32px}.library-tools{margin:25px 0;display:flex;gap:10px}.library-tools input{max-width:420px}.library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.library-card{background:white;border:1px solid #dfdfd9;border-radius:12px;padding:22px;display:flex;flex-direction:column;gap:14px}.library-card h2{overflow-wrap:anywhere;font-size:19px}.library-card p{font-size:12px;color:#89928a}.library-card .actions{margin-top:auto}.library-card button{font-size:12px}.empty-library{background:white;border:1px solid #dedfd9;border-radius:12px;text-align:center;padding:70px 25px}.empty-icon{font:42px Georgia,serif;color:#b89b9f;margin-bottom:16px}.empty-library h2{font-size:23px;margin-bottom:10px}.empty-library p{max-width:430px;margin:0 auto 25px;color:#93988f;font-size:14px}.login-wrap{max-width:470px;margin:8vh auto;padding:0 24px}.login-box{background:white;border:1px solid var(--ims-line, #d8dce0);border-top:4px solid #781b30;border-radius:12px;padding:34px}.login-box h1{font-size:30px;margin:10px 0}.login-box p{font-size:14px;color:#7e8580}.login-box .primary{width:100%;margin-top:8px}.login-foot{text-align:center;font-size:12px;color:#999f99;margin-top:18px}.preview-note{background:#eae8df;color:#6c6855;padding:6px 20px;text-align:center;font-size:10px;font-weight:700;letter-spacing:.6px}.error-message{color:#a22335!important;font-size:13px;padding:10px 0}.loading{text-align:center;padding:80px 24px;color:#92968e}.banner{margin-bottom:20px;border-radius:8px;border:1px solid #d7b57a;background:#fff4dc;padding:14px 18px;font-size:13px;color:#6e552f}.banner .actions{margin-top:8px}.banner button{font-size:12px}.view-mode .edit-only{display:none!important}.view-mode .step-main{background:white}.view-mode .focus-field{font-size:18px}.view-mode .lesson{padding:22px}.view-mode .step-text{font-size:18px}.view-mode .step-list .step-list{margin-left:22px}.view-mode .section-title h3{font-size:20px}.view-mode .coach-pill{font-size:13px}.view-mode .empty-line{padding-left:0}.view-mode .plan-meta{font-size:14px}.view-mode .group-title h3{font-size:16px}dialog{border:0;border-radius:14px;padding:0;box-shadow:0 20px 90px #0004;width:min(780px,calc(100vw - 32px));max-height:90vh;color:#25282c}dialog::backdrop{background:#22282d70;backdrop-filter:blur(3px)}.modal-header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:22px 26px;border-bottom:1px solid #e5e7df;background:#fff;position:sticky;top:0;z-index:2}.modal-header h2{font-size:22px}.modal-header button{border:0;padding:8px 12px;font-size:18px}.modal-body{padding:22px 26px}.modal-body>p{font-size:13px;color:#818b81}.modal-footer{display:flex;justify-content:flex-end;align-items:center;gap:10px;padding:18px 26px;border-top:1px solid #e5e7df;background:white;position:sticky;bottom:0;z-index:2}.picker-list{margin-top:16px;max-height:45vh;overflow:auto}.picker-item{display:flex;align-items:center;justify-content:space-between;padding:14px 4px;border-bottom:1px solid #ededeb;gap:14px}.picker-item p{font-size:12px;color:#8c938b}.picker-item button{font-size:12px}.modal-muted{color:#8e958d;font-size:12px}.import-review{max-height:340px;overflow:auto;border:1px solid #ddd;border-radius:8px;margin:15px 0}.import-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px;border-bottom:1px solid #eee;font-size:12px}.import-row select{max-width:115px;font-size:12px}.tools-list{display:grid;gap:12px}.tool-row{border:1px solid #e1e3dc;border-radius:8px;padding:15px;display:flex;justify-content:space-between;align-items:center;gap:15px}.tool-row h3{font-size:14px}.tool-row p{font-size:12px;color:#899183;margin-top:4px}.tool-row button{font-size:12px;white-space:nowrap}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#273e31;color:white;padding:12px 22px;border-radius:9px;box-shadow:0 6px 24px #0002;max-width:90vw;font-size:13px;z-index:20;opacity:0;pointer-events:none;transition:opacity .2s}#toast.show{opacity:1}.skip{position:absolute;top:-90px;left:10px;z-index:10;background:white;padding:10px}.skip:focus{top:10px}.blank-calendar{font-size:12px;color:#92998c;text-align:center;padding:25px}.list-count{font-size:12px;color:#8d9489;margin-top:15px}.note-text{white-space:pre-wrap;overflow-wrap:anywhere}.help-line{font-size:11px;color:#989f93;margin-top:10px}.footer-note{text-align:center;color:#a1a49c;font-size:11px;margin:30px 0 0}.saved-icon{color:#55785d}.print-title{display:none}.depth-5 .step-list{margin-left:6px;padding-left:6px}
@media(min-width:1450px){.workspace-grid{grid-template-columns:310px minmax(0,1fr)}.workspace{padding:38px 50px}}
@media(max-width:1100px){.topbar{gap:18px;padding:0 22px}.topbar nav{gap:18px}.workspace{padding:26px 22px}.workspace-grid{grid-template-columns:254px minmax(0,1fr);gap:20px}.workspace-heading h1{font-size:30px}.brand small{font-size:7px}.header-right .season{display:none}.plan-heading{padding:22px}.section-title{padding:18px}.section-body{padding:0 18px 18px}.lesson-group{padding:2px 18px 18px}.step-extra{grid-template-columns:1fr}.workspace-heading .actions{justify-content:flex-end}.library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.topbar{padding:0 18px;min-height:78px;flex-wrap:wrap;gap:0}.brand{font-size:13px;min-height:65px}.brand-mark{width:41px;height:41px;font-size:15px}.header-right{margin-left:auto}.topbar nav{order:3;width:100%;gap:26px;height:45px}.topbar nav a,.topbar nav button{font-size:13px}.workspace{padding:23px 16px}.workspace-heading{align-items:flex-start;gap:10px}.workspace-heading h1{font-size:27px}.workspace-heading p{font-size:12px}.workspace-heading>.actions{max-width:145px}.workspace-heading>.actions button{font-size:11px;min-height:38px;padding:7px 10px}.save-state{font-size:10px}.workspace-grid{grid-template-columns:218px minmax(0,1fr);gap:15px}.calendar-grid{padding:6px 8px 14px;gap:1px}.calendar-day{min-height:33px}.calendar-head{padding:14px 12px 7px}.calendar-head strong{font-size:13px}.agenda{padding:0 3px 5px}.agenda-header{padding-left:14px;padding-right:14px}.event-item{gap:7px;padding:10px 7px}.event-name{font-size:11px}.event-name small{font-size:9px}.event-date{font-size:17px;min-width:26px}.legend{gap:7px;padding:0 12px 13px;font-size:9px}.plan-heading{padding:18px}.plan-heading h2{font-size:24px}.plan-meta{gap:6px;font-size:11px;flex-direction:column}.plan-title-row{display:block}.plan-title-row .actions{margin-top:12px}.section-title{padding:16px 14px;gap:9px}.section-title h3{font-size:15px}.section-number{min-width:24px;height:24px;font-size:10px}.section-title p{font-size:10px}.section-body{padding:0 14px 16px}.section-title button{font-size:10px;padding:7px 9px}.lesson-group{padding:2px 14px 17px}.group-title span{display:block;margin:0}.group-empty{padding:20px 12px}.lesson{padding:12px}.lesson-title-row{flex-wrap:wrap}.lesson-title{font-size:16px}.step-main{padding:6px}.step-list .step-list{margin-left:7px;padding-left:7px}.empty-line{padding-left:33px;font-size:12px}.coach-row button{min-height:40px}.step-actions button{min-height:40px}.step-extra{margin-left:0}.lesson-title-row .lesson-controls{margin-left:auto}.plan-tools button{min-height:40px;font-size:10px}.advanced-empty{font-size:11px}}
@media(max-width:620px){.workspace-heading{flex-wrap:wrap}.workspace-heading>.actions{max-width:none;justify-content:flex-start;width:100%}.workspace-grid{display:block}.sidebar{position:static;margin-bottom:20px}.calendar-panel{display:grid;grid-template-columns:1fr 1fr}.calendar-head,.calendar-grid,.legend{grid-column:1}.calendar-head{grid-row:1}.calendar-grid{grid-row:2 / span 3}.legend{grid-row:5;flex-wrap:wrap}.agenda-header{grid-column:2;grid-row:1;padding:12px}.filter{grid-column:2;grid-row:2;padding:0 8px;gap:0}.filter button{font-size:9px;padding:5px 8px}.agenda{grid-column:2;grid-row:3 / span 3;max-height:208px}.sidebar-foot{display:none}.plan-heading h2{font-size:27px}.plan-title-row{display:flex}.plan-meta{font-size:12px}.section-title h3{font-size:17px}.section-title p{font-size:11px}.step-actions button{font-size:10px;padding:6px}.library-wrap{padding:26px 16px}.library-grid{grid-template-columns:1fr}.library-tools{flex-wrap:wrap}.library-tools input{max-width:none}.modal-header{padding:18px}.modal-body{padding:18px}.modal-footer{padding:15px 18px}.tool-row{flex-wrap:wrap}.preview-note{font-size:9px}.empty-line{font-size:13px}.calendar-day{min-height:31px}.calendar-grid{padding:2px 5px 12px}.lesson-group{padding:2px 16px 20px}.lesson-group+.lesson-group{padding-top:20px}}
@media print{body{background:white;font-size:12px}.topbar,.preview-note,.workspace-heading,.sidebar,.plan-tools,.edit-only,.actions,dialog,#toast,.footer-note,.banner,.skip{display:none!important}.workspace{padding:0;max-width:none}.workspace-grid{display:block}.plan-heading{border:0;border-bottom:2px solid #781b30;padding:0 0 18px}.section-card,.lesson{break-inside:avoid;border-color:#ddd}.section-title{padding:12px}.section-body{padding:0 12px 12px}.step-read-text{font-size:14px}.step-main{border:0!important}.step-list .step-list{border-left:1px solid #aaa}.resource-link{color:#222}.resource-link::after{content:" (" attr(href) ")";font-size:9px}.plan-heading h2{font-size:26px}.lesson-group{padding:0 12px 12px}.section-title h3{font-size:16px}.focus-field{font-size:14px}.print-title{display:block;font-weight:bold;color:#781b30;font-size:12px;margin-bottom:15px}@page{margin:14mm}}

.author-line{font-size:10px;color:#677e6c;line-height:1.5;margin:4px 0 7px;font-weight:500}.step-main>.author-line{margin-left:26px}.signed-in{font-size:12px;color:#781b30;white-space:nowrap;font-weight:650}.focus-field>.author-line{margin-bottom:12px}.section-title p,.empty-line,.group-empty p,.group-title span{color:#70786f}.step-actions button{min-height:44px;font-size:11px}.coach-row button{min-height:44px;font-size:11px}.section-title button{min-height:44px}.step-read-text{overflow-wrap:anywhere}.season{display:none}@media(max-width:1100px){.topbar nav{gap:16px}.topbar{gap:16px}.brand{font-size:13px}.signed-in{font-size:11px}}

/* Touch handles keep normal scrolling and text editing available everywhere else. */
button.drag-handle{flex:0 0 44px;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;display:grid;place-items:center;border:1px solid #d9ddd9;border-radius:7px;background:#f1f3ef;color:#617268;font-size:27px;line-height:1;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
button.drag-handle:active{cursor:grabbing;background:#e3ebe4}.reorder-placeholder{opacity:.3}.reorder-chosen{outline:2px solid #688a76;outline-offset:3px;border-radius:8px}.reorder-floating{opacity:.94!important;box-shadow:0 12px 35px #263e3430;z-index:100!important;list-style:none;pointer-events:none}.lesson-title-row>.drag-handle{flex-shrink:0}.step-row{gap:6px}.step-num{min-width:14px}.coach-assignment{display:flex;align-items:center;gap:6px;flex-wrap:wrap;background:#e8efff;border:1px solid #b6c8f2;border-left:4px solid #4c67b0;border-radius:7px;padding:8px 10px;margin:8px 0;color:#294580}.coach-assignment>span{font-size:10px;font-weight:700;letter-spacing:.5px;text-transform:uppercase;margin-right:3px}.coach-badge{font-size:12px;font-weight:750;line-height:1.5}.coach-badge+.coach-badge::before{content:'·';margin-right:6px;color:#6582bf}.coach-edit{margin:4px 0 8px}.assign-coaches{font-size:11px;min-height:44px;padding:7px 10px;border:0;background:transparent;color:#53699a}.coach-picker{background:#f5f7fd;border:1px solid #d7dfef;border-radius:8px;padding:10px;margin-bottom:8px}.coach-picker p{font-size:11px;color:#526588}.coach-picker .coach-row{margin:7px 0 0}.coach-picker .coach-row button.active{background:#dce6ff;border-color:#7c97d5;color:#294580}.library-card .coach-assignment{margin:0}.attendance{margin-top:20px;border-top:1px solid #eee;padding-top:16px}.attendance-row{display:flex;justify-content:space-between;gap:10px;align-items:center}.attendance-label{display:block;font-size:10px;font-weight:750;letter-spacing:.8px;text-transform:uppercase;color:#586d5f;margin-bottom:4px}.attendance-names{display:block;font-size:12px;color:#50675a;line-height:1.6}.attendance-toggle{font-size:11px;min-height:44px;flex-shrink:0}.absence-alert{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 13px;padding:12px 14px;border:1px solid #e0a0a6;border-left:4px solid #ba2637;border-radius:7px;background:#fff0f1;color:#a91f30}.absence-alert strong{font-size:11px;text-transform:uppercase;letter-spacing:.7px}.absence-alert span{font-size:15px;font-weight:750}.attendance-toggle.is-away{border-color:#e0a0a6;color:#a91f30}.view-mode .author-line{display:none}.view-mode .coach-assignment{font-size:14px;margin:10px 0}.view-mode .coach-badge{font-size:14px}.view-mode .absence-alert{background:#fff0f1}.step-main>.author-line{margin-left:0}
@media(max-width:800px){.lesson-title-row .lesson-title{flex-basis:calc(100% - 60px)}.attendance-row{align-items:flex-start;flex-wrap:wrap}.coach-assignment{padding:7px 8px}.step-row .step-num{font-size:9px}.view-mode .lesson{padding:12px}.view-mode .step-list .step-list{margin-left:7px;padding-left:7px}}
@media print{.author-line,.coach-edit,.drag-handle{display:none!important}.coach-assignment,.absence-alert{print-color-adjust:exact;-webkit-print-color-adjust:exact}}

/* Outline hierarchy: A. → i. → 1. → a. */
.step-row .step-num{flex-shrink:0;min-width:2.25em;padding:9px 0;font-size:14px;line-height:1.5;color:#353a3e;text-align:right;white-space:nowrap;font-weight:400}
.step-read-content{flex:1;min-width:0}
.outline-top>.step>.step-main .step-text,.outline-top>.step>.step-main .step-read-text{font-weight:750}
.view-mode .step-row .step-num{font-size:17px;padding:8px 0}
.step-list .step-list,.view-mode .step-list .step-list{margin-left:24px;padding-left:12px}
.depth-5 .step-list,.view-mode .depth-5 .step-list{margin-left:8px;padding-left:6px}
@media(max-width:800px){.step-list .step-list,.view-mode .step-list .step-list{margin-left:14px;padding-left:8px}.depth-5 .step-list,.view-mode .depth-5 .step-list{margin-left:4px;padding-left:4px}}
@media print{.view-mode .step-row .step-num{font-size:14px}}

/* Editing tools appear only on the item selected with a tap or keyboard focus. */
.step:not(.is-active)>.step-main>.coach-edit,.step:not(.is-active)>.step-main>.step-actions{display:none}
.step.is-active:not(.important)>.step-main{border-color:#baa1a8}

/* Compact planner: give the notes the room, and reveal metadata on selection. */
@media screen{
  .topbar{min-height:66px;padding:0 22px}
  .workspace{padding:16px 22px}
  .workspace-heading{margin-bottom:14px;gap:12px}
  .workspace-heading h1{font-size:27px;margin-top:0}
  .workspace-heading>div>p,.workspace-heading>div>.eyebrow{display:none}
  .workspace-grid{grid-template-columns:240px minmax(0,1fr);gap:16px}
  .plan-heading{padding:12px 16px;margin-bottom:8px;border-top-width:3px}
  .plan-heading h2{font-size:25px;margin:4px 0}
  .plan-meta{gap:6px 14px;line-height:1.4}
  .badge{padding:2px 6px;font-size:9px}
  .attendance{margin-top:8px;padding-top:6px}
  .attendance-row{gap:6px}
  .attendance-label,.attendance-names{display:inline;margin-right:6px}
  .attendance-label{font-size:9px}.attendance-names{font-size:11px}
  .absence-alert{padding:6px 10px;margin-bottom:6px;gap:7px}
  .absence-alert span{font-size:13px}
  .focus-field{margin-top:6px;padding-top:6px}
  .focus-field label{margin-bottom:3px;font-size:9px}
  .focus-field input{font-size:14px;min-height:40px;padding:7px 9px}
  .plan-tools{margin-bottom:8px;gap:6px}
  .section-card{margin-bottom:8px;border-radius:8px}
  .section-title{padding:6px 12px;gap:8px}
  .section-title h3,.view-mode .section-title h3{font-size:16px}
  .section-title p{display:none}
  .section-number{min-width:24px;height:24px;font-size:10px}
  .section-body{padding:0 10px 8px}
  .section-body:has(>.empty-line){display:none}
  .step{margin:2px 0}
  .step-main{padding:2px 5px;border-color:transparent;background:transparent;border-radius:5px}
  .step-list .step-list,.view-mode .step-list .step-list{margin-top:0;margin-left:16px;padding-left:8px}
  .depth-5 .step-list,.view-mode .depth-5 .step-list{margin-left:4px;padding-left:4px}
  .step-text{min-height:40px;padding:9px 3px;font-size:14px;line-height:1.4;resize:none;overflow:hidden}
  .step-row{gap:4px}
  .step-row .step-num{padding:9px 0;font-size:14px;line-height:1.4;min-width:1.9em}
  button.drag-handle{background:transparent;border-color:transparent;color:#98a09a}
  button.drag-handle:hover,button.drag-handle:focus-visible{background:#edf0ea;border-color:#cbd3ca}
  .step.is-active>.step-main{background:#fcfcfb}
  .step-main>.author-line{margin:1px 0 3px 48px}
  .coach-assignment,.view-mode .coach-assignment{padding:4px 7px;margin:3px 0;font-size:12px}
  .coach-badge,.view-mode .coach-badge{font-size:12px}
  .coach-edit{margin:0}
  .step-actions{margin-top:2px;padding-top:2px}
  .step-extra{margin:3px 0 5px 48px;gap:7px}
  .step-summary{margin-left:48px}
  .step-summary .step-read-note{margin:1px 0 3px;font-size:13px}
  .step-summary .resource-link{min-height:32px}
  .step:not(.is-active)>.step-main>.step-extra,.step.is-active>.step-main>.step-summary{display:none}
  .step-read-text{padding:5px 0;line-height:1.45}
  .step-read-note{margin:2px 0 4px;line-height:1.4}
  .view-mode .step-row .step-num{padding:5px 0;line-height:1.45}
  .lesson-group{padding:0 12px 8px}
  .lesson-group+.lesson-group{padding-top:8px}
  .group-title{margin-bottom:4px}
  .group-empty{border:0;padding:0;text-align:left}
  .group-empty p{display:none}.group-empty>button{display:none}
  .advanced-empty{padding:3px 0;background:transparent;font-size:11px;gap:5px}
  .advanced-empty .everyone{font-size:16px}
  .lesson,.view-mode .lesson{padding:10px;margin-top:6px}
  .lesson-video{margin:5px 0}.lesson-video:empty{display:none}
  .add-line{margin-top:4px}
  .event-item{padding:7px 8px;min-height:56px}
  .calendar-head{padding-top:8px}.agenda-header{padding-top:10px}
  .legend{padding-bottom:10px}.sidebar-foot{padding-top:8px}
  .footer-note{margin-top:15px}
  .author-line{display:none}
  .step.is-active>.step-main>.author-line,.lesson.is-active>.author-line,.library-card.is-active>.author-line,.focus-field.is-active>.author-line{display:block}
  .view-mode .author-line{display:none!important}
}
@media screen and (max-width:1100px){.workspace{padding:14px 16px}.workspace-grid{grid-template-columns:215px minmax(0,1fr);gap:12px}.step-extra{margin-left:0}}
@media screen and (max-width:800px){.topbar{padding:0 14px}.brand{min-height:48px}.brand-mark{width:36px;height:36px}.topbar nav{height:40px}.workspace{padding:12px}.workspace-grid{grid-template-columns:200px minmax(0,1fr);gap:10px}.workspace-heading{align-items:center}.workspace-heading h1{font-size:23px}.plan-meta{flex-direction:row}.plan-heading h2{font-size:22px}.section-body{padding:0 6px 6px}.section-title{padding:5px 9px}.step-list .step-list,.view-mode .step-list .step-list{margin-left:9px;padding-left:5px}.attendance-row{flex-wrap:nowrap;align-items:center}.step-summary{margin-left:10px}.lesson-group{padding:0 9px 7px}}
@media screen and (max-width:620px){.workspace-grid{display:block}.workspace-heading{gap:6px}.workspace-heading>.actions{width:auto;max-width:none}.sidebar{margin-bottom:10px}.plan-heading{padding:10px 12px}.plan-heading h2{font-size:24px}.attendance-row{flex-wrap:wrap}.step-extra{margin-left:0}}

/* Lesson resources sit below the title; step resources sit beside their name. */
.item-links{display:inline-flex;flex-wrap:wrap;align-items:center;gap:4px 7px;vertical-align:middle;white-space:normal;max-width:100%}
.item-links:empty{display:none}
.inline-resource{display:inline-flex;align-items:center;min-height:32px;color:#294580;font-size:12px;font-weight:650;line-height:1.3;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.inline-resource:hover{color:#781b30}.inline-resource:focus-visible{outline-offset:1px}
.lesson-links{display:flex;align-items:center;gap:5px 10px;flex-wrap:wrap;margin:3px 0 6px}
.lesson-links:has(>.item-links:empty):not(:has(button)){display:none}
.lesson-links>.link-fields{flex-basis:100%}
.edit-resource,.add-resource{font-size:11px;min-height:36px;padding:6px 8px;color:#53699a}
.link-fields{min-width:0}.link-editor-row{display:grid;grid-template-columns:minmax(95px,1fr) minmax(140px,2fr) 38px;gap:7px;align-items:end;margin:5px 0}
.link-editor-row label,.field-caption{display:block;font-size:10px;color:#66716b;font-weight:600}
.link-editor-row input{font-size:12px;min-height:40px;padding:7px 9px;margin-top:3px}
.link-editor-row>button{min-height:40px;padding:6px;font-size:18px}
.step-extra{grid-template-columns:1fr}.step-links-editor{min-width:0}
.step-heading-content{display:flex;align-items:flex-start;gap:4px 8px;flex:1;min-width:0}
.step-heading-content>.step-text{flex:1 1 150px;width:0}
.step-heading-content>.item-links{flex:0 1 auto;max-width:45%;padding-top:3px;justify-content:flex-start}
.step-read-text>.item-links{margin-left:5px}.step-read-text .inline-resource{font-size:13px}
.library-card>.item-links{margin-top:-8px}
@media(max-width:800px){.link-editor-row{grid-template-columns:minmax(0,1fr) 36px}.link-editor-row>label{grid-column:1}.link-editor-row>button{grid-column:2;grid-row:1 / span 2}.step-heading-content{gap:5px}.inline-resource{min-height:40px}.step-heading-content>.item-links{max-width:40%;padding-top:0}}
@media print{.inline-resource{font-size:10px;min-height:0}.inline-resource::after{content:' (' attr(href) ')';font-weight:400}.lesson-links .edit-resource,.link-fields{display:none!important}}

/* Paired lessons share a row, so both levels travel together. */
.lesson-phase{padding:0 10px 10px}.lesson-phase+.lesson-phase{border-top:1px solid #e7e5e0;padding-top:8px}
.phase-heading{display:flex;align-items:center;gap:9px;margin:3px 0 6px}.phase-heading h3{font-size:15px;color:#781b30}.phase-heading>span{font-size:11px;color:#828a83}.phase-heading>button{margin-left:auto;min-height:36px;padding:7px 11px;font-size:11px}
.lesson-column-heads,.lesson-pair-cells{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
.lesson-column-heads{padding:3px 9px;color:#626e66;font-size:11px;text-transform:uppercase;letter-spacing:.6px}.lesson-column-heads>strong:nth-child(2){padding-left:8px}
.paired-lesson-row{margin:5px 0 9px;border:1px solid #dadfd8;border-radius:8px;overflow:hidden;background:#fff}
.lesson-pair-cells{gap:0;align-items:stretch}.lesson-cell{min-width:0}.lesson-cell+.lesson-cell{border-left:1px solid #e1e5de}.lesson-cell>.lesson,.view-mode .lesson-cell>.lesson{border:0;border-radius:0;margin:0;padding:7px 8px;background:transparent}
.lesson-cell .lesson-title-row{flex-wrap:nowrap;gap:5px}.lesson-cell .lesson-title{font-size:16px;min-height:40px;padding:7px 9px;flex-basis:auto}.lesson-cell .lesson-title-row h3{font-size:17px;overflow-wrap:anywhere;line-height:1.4}
.lesson-cell .step-list .step-list,.view-mode .lesson-cell .step-list .step-list{margin-left:8px;padding-left:5px}.lesson-cell .step-row{gap:2px}.lesson-cell .step-text{font-size:13px}.lesson-cell .step-row .step-num{font-size:13px;min-width:1.6em}.lesson-cell .step-read-text{font-size:14px;overflow-wrap:anywhere}.lesson-cell .step-extra,.lesson-cell .step-summary{margin-left:0}.lesson-cell .step-heading-content{flex-wrap:wrap}.lesson-cell .step-heading-content>.item-links{max-width:100%}.lesson-cell .step-heading-content>.step-text{flex-basis:100%;width:100%}.lesson-cell .link-editor-row{grid-template-columns:minmax(0,1fr) 32px}.lesson-cell .link-editor-row>label{grid-column:1}.lesson-cell .link-editor-row>button{grid-column:2;grid-row:1 / span 2}
.empty-lesson-cell{padding:12px 8px;display:flex;flex-direction:column;align-items:flex-start;gap:6px}.empty-lesson-cell button{min-height:40px;font-size:12px;border-style:dashed;width:100%}.empty-lesson-cell small,.empty-lesson-cell>span{font-size:11px;color:#879087}.empty-pair{border:1px dashed #e0e2dc;border-radius:7px}
.cell-label{display:none}.pairing-control{display:block;font-size:10px;color:#69796d;margin:7px 0}.pairing-control select{min-height:40px;font-size:11px;margin-top:3px;padding:5px 8px}
.lesson-usage{color:#536d57;font-weight:700;white-space:nowrap}
.lesson:not(.is-active)>.pairing-control,.lesson:not(.is-active)>.coach-edit,.lesson:not(.is-active)>.lesson-links>.edit-resource,.lesson:not(.is-active)>.lesson-links>.link-fields,.lesson:not(.is-active)>.lesson-title-row>.lesson-controls,.lesson:not(.is-active)>button{display:none}
.lesson:not(.is-active)>.lesson-links:has(>.item-links:empty){display:none}
.calendar-toggle{display:none}.view-mode .phase-heading{min-height:30px}
@media screen and (max-width:1100px){
  .workspace-grid{display:block}.sidebar{position:static;margin-bottom:9px}.calendar-toggle{display:flex;justify-content:space-between;align-items:center;width:100%;min-height:40px;padding:8px 12px;font-size:12px}.calendar-toggle>span{color:#781b30}
  .sidebar:not(.is-open)>.calendar-panel{display:none}.sidebar-foot{display:none}
  .sidebar.is-open>.calendar-panel{display:grid;grid-template-columns:minmax(210px,1fr) minmax(0,1.6fr);margin-top:5px}.calendar-head,.calendar-grid,.legend{grid-column:1}.calendar-head{grid-row:1}.calendar-grid{grid-row:2 / span 3}.legend{grid-row:5;flex-wrap:wrap}.agenda-header{grid-column:2;grid-row:1;padding:12px}.filter{grid-column:2;grid-row:2;padding:0 8px;gap:0}.agenda{grid-column:2;grid-row:3 / span 3;max-height:240px}
  .workspace-heading>.actions{max-width:none}.workspace-heading>.actions .save-state{flex-basis:auto}
}
@media screen and (max-width:699px){
  .lesson-column-heads{display:none}.lesson-pair-cells{grid-template-columns:1fr}.lesson-cell+.lesson-cell{border-left:0;border-top:1px solid #e1e5de}.cell-label{display:block;font-size:10px;font-weight:750;color:#657567;padding:7px 10px 0;text-transform:uppercase;letter-spacing:.6px}.lesson-cell .lesson-title{font-size:17px}.sidebar.is-open>.calendar-panel{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
}
@media print{.paired-lesson-row{break-inside:avoid}.lesson-cell .lesson{break-inside:auto}}

/* Main topics are shaded headers; branches show which substeps belong together. */
.outline-top>.step{margin:5px 0}
.outline-top>.step:not(.important)>.step-main{background:#f3eef0;border-color:#e7dfe1;border-left:3px solid #8b4153;border-radius:4px}
.outline-top>.step:not(.important).is-active>.step-main{background:#f0e5e9;border-color:#c29ca7;border-left-color:#781b30}
.step:has(>.step-list)>.step-main>.step-row .step-text,.step:has(>.step-list)>.step-main>.step-row .step-read-text{font-weight:650}
.outline-top>.step>.step-main>.step-row .step-text,.outline-top>.step>.step-main>.step-row .step-read-text{font-weight:750}
.step-list .step-list,.view-mode .step-list .step-list{border-left:1.5px solid #afbdb2}
.step-list .step-list .step-list,.view-mode .step-list .step-list .step-list{border-left:1px dashed #b5c0b8}
.step-list:not(.outline-top)>.step{position:relative}
.step-list:not(.outline-top)>.step::before{content:'';position:absolute;left:-9px;top:23px;width:9px;border-top:1.5px solid #afbdb2;pointer-events:none}
.view-mode .step-list:not(.outline-top)>.step::before{top:18px}
.lesson-cell .step-list:not(.outline-top)>.step::before{left:-6px;width:6px}
.step-list:not(.outline-top)>.step:has(>.step-list)>.step-main>.step-row .step-num{color:#53665a;font-weight:650}
@media screen and (max-width:800px){.step-list:not(.outline-top)>.step::before{left:-6px;width:6px}}
@media print{.outline-top>.step>.step-main{print-color-adjust:exact;-webkit-print-color-adjust:exact}.step-list:not(.outline-top)>.step::before{top:18px}}

/* Practice phase is visible in color, symbol and text, including on every row. */
.lesson-phase[data-phase="refresher"]{--phase-ink:#276244;--phase-soft:#e9f3eb;--phase-wash:#f5faf6;--phase-border:#b6d3bf}
.lesson-phase[data-phase="new"]{--phase-ink:#284e8a;--phase-soft:#eaf1fc;--phase-wash:#f5f8fe;--phase-border:#b8cce9}
.lesson-phase{background:var(--phase-wash);padding-top:7px}
.lesson-phase+.lesson-phase{border-top:2px solid var(--phase-border);padding-top:8px}
.phase-heading{padding:4px 8px;margin-top:0;background:var(--phase-soft);border-left:4px solid var(--phase-ink);border-radius:5px}
.phase-heading h3{display:flex;align-items:center;gap:7px;color:var(--phase-ink);font-weight:800}
.phase-icon{font-size:20px;line-height:1}.phase-heading>span{color:var(--phase-ink)}
.phase-heading>button,.lesson-phase .empty-lesson-cell>button{border-color:var(--phase-border);color:var(--phase-ink)}
.lesson-phase .lesson-column-heads,.lesson-phase .cell-label{color:var(--phase-ink)}
.lesson-phase .paired-lesson-row{border-color:var(--phase-border);border-left:3px solid var(--phase-ink)}
.lesson-phase .empty-pair{background:#ffffffa6;border-color:var(--phase-border)}
.lesson-phase .lesson-title-row h3{color:var(--phase-ink)}
.lesson-phase .lesson-title{background:var(--phase-wash);color:var(--phase-ink)}
.lesson-phase .outline-top>.step:not(.important)>.step-main{background:var(--phase-wash);border-color:var(--phase-border);border-left-color:var(--phase-ink)}
.lesson-phase .outline-top>.step:not(.important).is-active>.step-main{background:var(--phase-soft)}
@media print{}

/* Reusable activities and groups. */
.activity-picker-filters{display:grid;grid-template-columns:1fr 2fr;gap:12px}.activity-picker-filters label{display:grid;gap:5px;font-size:13px}.activity-picker-filters input,.activity-picker-filters select{min-height:40px;width:100%;padding:8px;border:1px solid #c8cfc7;border-radius:6px;font:inherit;box-sizing:border-box}.add-library-item{color:#781b30;border-color:#b78c97;margin:8px 5px 8px 0}.routine-summary{overflow-wrap:anywhere}.library-card .note-text{white-space:pre-wrap}.section-title>.add-library-item{flex-shrink:0}#activity-picker .picker-item{align-items:flex-start}#activity-picker .picker-item>div{min-width:0;overflow-wrap:anywhere}#activity-picker .picker-item>button{flex-shrink:0}
@media(max-width:650px){.activity-picker-filters{grid-template-columns:1fr}.section-title:has(.add-library-item){flex-wrap:wrap}.library-tabs button{flex:1 0 auto}}
.library-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0 16px}.library-tabs .active{background:#781b30;color:#fff;border-color:#781b30}
.routine-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:12px}.routine-slot{min-width:0;border:1px solid #dce3dd;border-radius:8px;background:#fbfcfa;overflow:hidden}
.routine-slot>h4{margin:0;padding:10px 12px;background:#eef3ed;color:#36553e;font-size:14px}.routine-choice{display:flex;gap:6px;padding:10px;align-items:center}.routine-choice select{min-width:0;flex:1;min-height:44px}.routine-choice button{white-space:nowrap;min-height:44px;font-size:12px;padding:6px 9px}
.routine-day{border:0!important;margin:0!important;border-radius:0!important;padding:8px!important}.routine-day .lesson-title{font-size:16px}.routine-day .lesson-title-row h3{font-size:16px}.routine-day .step-text{font-size:14px}.routine-day .step-main{padding-right:6px}.routine-slot>.empty-line{padding:0 12px}
.routine-extra-notes{padding:0 12px 10px}.routine-notes-heading{display:flex;align-items:center;gap:10px}.routine-notes-heading h4{font-size:13px;margin:4px 0;flex:1}.routine-notes-heading button{font-size:12px;min-height:36px}
.routine-category-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:22px 0 10px}.routine-category-heading h2{font-size:20px;margin:3px 0}.routine-library-category .library-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))}.routine-library-category .library-card h3{font-size:18px;margin:0 0 12px}
.routine-summary{padding-left:21px;margin:8px 0 16px}.routine-summary li{padding:5px 0;line-height:1.5}.routine-summary .inline-resource{display:inline-block;margin-left:4px}.routine-day .item-links{display:inline}.routine-day .step-heading-content>.item-links{margin-left:6px}.routine-day .step-heading-content{display:flex;flex-wrap:wrap;align-items:baseline}.routine-day .step-heading-content .step-text{flex:1 1 120px;min-width:0}.routine-day .step-heading-content .item-links{flex:0 0 auto}
@media(max-width:650px){.routine-pair{grid-template-columns:1fr}.routine-section>.section-title{flex-wrap:wrap}.routine-section>.section-title>button{margin-left:35px}.routine-category-heading{align-items:flex-end}.library-tabs button{flex:1}}
@media print{.routine-choice,.routine-section>.section-title>button,.routine-notes-heading>button{display:none!important}.routine-pair{display:block}.routine-slot{margin-bottom:10px;break-inside:avoid}.routine-day .item-links{display:inline!important}}


/* Keep stretch and warm-up details compact; lesson teaching points retain emphasis. */
.routine-pair{gap:8px;padding:6px 10px 8px}
.routine-slot{border-radius:5px}
.routine-slot>h4{padding:5px 8px;font-size:12px}
.routine-day{padding:4px 6px!important}
.routine-day .lesson-title-row{margin-bottom:3px}
.routine-day .lesson-title-row h3{font-size:13px;font-weight:500}
.routine-day .lesson-title{font-size:13px;font-weight:400;min-height:36px;padding:5px 7px}
.routine-day .outline-top>.step{margin:2px 0}
.routine-day .outline-top>.step:not(.important)>.step-main{background:#f7f8f5;border-color:#e7ebe5;border-left:1px solid #dce3d8;border-radius:3px}
.routine-day .step-main{padding:0 4px}
.routine-day .step:not(.important)>.step-main>.step-row .step-text,.routine-day .step:not(.important)>.step-main>.step-row .step-read-text{font-size:12px;font-weight:400;line-height:1.35}
.routine-day .step-text{min-height:32px;padding:6px 2px}
.routine-day .step-row .step-num{font-size:12px;font-weight:400;line-height:1.35;min-width:1.6em;padding:6px 0}
.view-mode .routine-day .step-read-text,.view-mode .routine-day .step-row .step-num{padding:2px 0}
.routine-day .step-read-note{font-size:11px}
.routine-day .step-read-text .inline-resource{font-size:11px;font-weight:400;min-height:24px;padding:2px 3px}
.routine-day .step-heading-content>.item-links{padding-top:0;align-self:center}
.routine-day .inline-resource{font-size:11px;font-weight:400;min-height:32px}
@media print{.routine-pair{display:grid;grid-template-columns:1fr 1fr}.routine-slot{margin-bottom:0}.routine-day .step-read-text,.routine-day .step-row .step-num{padding:2px 0}}

.plan-tools{flex-wrap:wrap}

/* The library belongs to Lesson plans, beneath the main site navigation. */
.planner-subnav{display:flex;gap:8px;border-bottom:1px solid var(--ims-line, #d8dce0);margin:0 0 14px}
.planner-subnav button{min-height:44px;padding:10px 16px;margin-bottom:-1px;border:0;border-bottom:3px solid transparent;border-radius:6px 6px 0 0;background:transparent;color:#60665e;font-size:14px;font-weight:650}
.planner-subnav button:hover{background:#f0ede9;color:#781b30}
.planner-subnav button[aria-current="page"]{border-bottom-color:#781b30;background:#f2e7eb;color:#781b30}
@media(max-width:620px){.planner-subnav button{flex:1;padding:10px 12px}}
@media print{.planner-subnav{display:none!important}}

/* School logo shared with Schedule. */
.brand{flex-shrink:0}
.brand .school-logo{display:block;width:230px;max-width:100%;height:auto;object-fit:contain}
@media screen and (max-width:1100px){.brand .school-logo{width:200px}}
@media screen and (max-width:800px){.brand .school-logo{width:190px}}
@media screen and (max-width:480px){.brand .school-logo{width:170px}}


/* Compact editing fields throughout daily plans and the reusable library. */
@media screen {
  :is(.plan,.library-wrap,.modal-body) :is(input:not([type=checkbox]):not([type=file]),textarea,select) {min-height:32px;padding:4px 8px;line-height:1.4}
  .modal-body label.field {margin:8px 0}
  .modal-body label.field :is(input,textarea,select) {margin-top:3px}
  .step-main {padding:1px 4px}
  .step-row {align-items:flex-start}
  .step-row .step-text,.lesson-cell .step-text,.routine-day .step-text {min-height:32px;padding:5px 3px;line-height:1.4;resize:none;overflow:hidden}
  .step-row .step-num,.lesson-cell .step-row .step-num,.routine-day .step-row .step-num {padding:6px 0;line-height:1.4}
  .step-row>.drag-handle,.lesson-title-row>.drag-handle {flex:0 0 30px;width:30px;min-width:30px;height:32px;min-height:32px;font-size:23px;padding:0}
  .step-list:not(.outline-top)>.step::before {top:17px}
  .view-mode .step-list:not(.outline-top)>.step::before {top:18px}
  .outline-top>.step {margin:3px 0}
  .step-heading-content>.item-links {padding-top:0}
  .step-heading-content .inline-resource {min-height:30px}
  .step-extra {gap:6px;margin-bottom:5px}
  .step-extra textarea {resize:none;overflow:hidden}
  .link-editor-row {margin:3px 0;gap:5px}
  .link-editor-row>button {min-height:32px;padding:3px}
  .routine-choice {padding:6px;gap:5px}
  .routine-choice button {min-height:32px;padding:4px 8px}
  .lesson-cell .lesson-title,.routine-day .lesson-title,.focus-field input {min-height:32px;padding:4px 7px;line-height:1.4}
  .lesson-cell .lesson-title-row {align-items:flex-start;gap:3px}
  .lesson-title-row:has(>.lesson-row-controls) {background:var(--phase-wash);border-radius:6px}
  .lesson-title-row>.lesson-title {width:0;flex:1 1 0;resize:none;overflow:hidden}
  .lesson-row-controls {display:flex;align-items:center;flex:0 0 auto;gap:2px}
  .lesson-row-controls>select {width:88px;min-height:32px;padding:4px;font-size:11px;font-weight:700;color:var(--phase-ink);border-color:var(--phase-border);background:var(--phase-soft)}
  .lesson-row-controls>button {min-height:32px;min-width:28px;padding:3px 5px;border:0;background:transparent;font-size:14px;color:var(--phase-ink)}
  .lesson-controls>button {min-height:32px;padding:3px 6px}
  .view-mode .step-main {padding:2px 5px}
}
@media print {
  .lesson-row-controls,.phase-heading>button,.pairing-control,.empty-lesson-cell>button,.lesson-controls {display:none!important}
  .phase-heading {print-color-adjust:exact;-webkit-print-color-adjust:exact}
}
@media screen and (max-width:800px) {
  .topbar nav {min-width:0;max-width:100%;gap:16px;overflow-x:auto}
  .topbar nav>* {flex-shrink:0}
}

/* Nested teaching points read as a tight outline in every section and editor. */
@media screen {
  .step-list .step-list,.view-mode .step-list .step-list {margin-top:1px;margin-bottom:0}
  .step-list .step-list>.step {margin:0}
  .step-list .step-list>.step>.step-main {padding:0 4px}
  .step-list .step-list>.step>.step-main>.step-row .step-text {min-height:22px;padding:1px 3px;line-height:1.35}
  .step-list .step-list>.step>.step-main>.step-row .step-num {padding:1px 0;line-height:1.35}
  .step-list .step-list>.step>.step-main>.step-row>.drag-handle {flex-basis:24px;width:24px;min-width:24px;height:22px;min-height:22px;font-size:18px}
  .step-list .step-list>.step>.step-main>.step-row .inline-resource {min-height:22px;padding-top:0;padding-bottom:0}
  .step-list .step-list>.step::before,.view-mode .step-list .step-list>.step::before {top:12px}
  .step-list .step-list>.step>.step-main .step-read-text {padding:1px 0;line-height:1.35}
  .step-list .step-list>.step>.step-main .step-read-note {margin-top:1px;margin-bottom:2px}
  .routine-summary li {padding:1px 0;line-height:1.35}
  .routine-summary .routine-summary {margin-top:1px;margin-bottom:1px}
}

/* Every section uses the same teaching-text size as Lessons. */
@media screen {
  .plan,.modal-body {--step-font-size:13px}
  .view-mode .plan {--step-font-size:14px}
  :is(.plan,.modal-body) .step-list>.step>.step-main>.step-row :is(.step-text,.step-read-text,.step-num),
  :is(.plan,.modal-body) .step-list>.step>.step-main .step-read-note,
  :is(.plan,.modal-body) .step-extra textarea,
  .plan .focus-field :is(input,.note-text) {font-size:var(--step-font-size)}
  .routine-summary {font-size:13px}
}

/* Compact visual library. Full instructions remain in Details and the editor. */
.library-wrap{max-width:1560px;padding:22px 28px}
.library-wrap .workspace-heading{margin-bottom:14px}
.library-wrap .library-tools{margin:12px 0;align-items:center;flex-wrap:wrap}
.library-tools input{flex:1 1 220px;max-width:420px}
.library-tools select{flex:0 1 220px;width:auto}
.library-wrap .library-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr));gap:10px;align-items:start}
.library-wrap .library-card{display:grid;grid-template-columns:minmax(0,1fr) auto;min-width:0;padding:10px;border-radius:8px;gap:5px}
.library-card>.library-card-heading,.library-card>.card-meta{grid-column:1 / -1}
.library-card-heading{display:flex;align-items:center;gap:9px;min-width:0}
.library-card-heading>div{min-width:0;flex:1}
.library-wrap .library-card-heading :is(h2,h3){font-family:inherit;font-size:15px;line-height:1.3;letter-spacing:0;margin:0;overflow-wrap:anywhere}
.library-wrap .library-card .card-meta{font-size:11px;line-height:1.4;color:#626b72;margin:3px 0 0}
.activity-figure{display:block;flex:0 0 54px;width:54px;height:54px;color:#781b30;background:#f7f0f2;border-radius:7px;padding:3px}
.activity-figure .figure-motion{stroke:#a56f38;stroke-width:1.7}
.library-card .actions{grid-column:2;gap:5px;margin-top:0;justify-content:flex-end}
.library-card:not(:has(>.library-card-details))>.actions,.library-card:has(>.library-card-details[open])>.actions{grid-column:1 / -1}
.library-card .actions button{font-size:12px;min-height:32px;padding:5px 9px}
.library-card-details{grid-column:1;font-size:12px;min-width:0}
.library-card-details[open]{grid-column:1 / -1}
.library-card-details>summary{cursor:pointer;color:#781b30;font-weight:650;line-height:1.4;min-height:32px;padding:7px 0}
.library-card-details[open]>div{padding:5px 0;border-top:1px solid #eadfe2}
.library-card-details .routine-summary{margin:4px 0;padding-left:18px;font-size:12px}
.library-card-details .summary-note{white-space:pre-wrap;margin:2px 0;overflow-wrap:anywhere}
.library-card-details :is(.note-text,.author-line){font-size:12px;color:#626b72}
.library-card-details .author-line{display:block;margin:4px 0}
.library-card-details .inline-resource{font-size:12px;min-height:28px;padding:3px 0}
.library-card-details .coach-pill{font-size:11px;padding:2px 6px}
.card-visible-links{grid-column:1 / -1;display:flex;flex-direction:column;min-width:0;gap:2px}
.card-visible-links a{font-size:12px;line-height:1.35;min-height:28px;padding:5px 0;overflow-wrap:anywhere;text-decoration:underline;text-underline-offset:2px}
.card-group-activities{grid-column:1 / -1;list-style:none;padding:0;margin:2px 0;min-width:0}
.card-group-activities li{margin-left:calc(var(--activity-depth,0)*10px);font-size:12px;line-height:1.4;overflow-wrap:anywhere}
.card-group-activities :is(a,span){display:block;padding:4px 0}
.card-group-activities span{color:#30383f}
.card-group-activities a{color:#781b30;font-weight:600;text-decoration:underline;text-underline-offset:2px}
.library-card-details .note-text{white-space:pre-wrap;margin:3px 0 8px;overflow-wrap:anywhere}
.library-card-details strong{font-size:12px}
.icon-picker{margin:10px 0;border:1px solid #dfd6d9;border-radius:8px;background:#fcfafb}
.icon-picker>summary{cursor:pointer;padding:8px 10px;list-style:none;border-radius:8px;color:#781b30;font-size:13px;font-weight:650}
.icon-picker>summary::-webkit-details-marker{display:none}
#draft-icon-preview{display:flex;align-items:center;gap:10px}
#draft-icon-preview small{font-size:12px;font-weight:400;text-decoration:underline}
#draft-icon-preview .activity-figure{width:38px;height:38px;flex-basis:38px;padding:1px}
.icon-picker fieldset{border:0;border-top:1px solid #e7dfe1;margin:0;padding:10px}
.icon-picker legend{padding:0 5px;color:#626b72;font-size:12px}
.icon-filter{display:flex;align-items:center;gap:8px;font-size:12px;color:#626b72;margin-bottom:8px}
.icon-filter select{max-width:220px}
.icon-option-section>h3{font-size:13px;margin:12px 0 7px;color:#781b30}
.icon-options{display:grid;grid-template-columns:repeat(auto-fill,minmax(86px,1fr));gap:6px}
.group-icon-preview{margin:10px 0;color:#42494e;font-size:13px;font-weight:650}
.activity-figure.group-figure{background:#f4e8bd;border:1px solid #b69b4e;border-radius:50%}
.group-figure[data-pose="group-stretch"]{color:#08776a}
.group-figure[data-pose="group-warmup"]{color:#235eb2}
.group-figure[data-pose="group-workout"]{color:#75419a}
.group-figure[data-pose="group-mixed"]{color:#882737}
.icon-option{position:relative;cursor:pointer}
.icon-option input[type=radio]{position:absolute;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;margin:0;overflow:hidden;clip-path:inset(50%)}
.icon-option>span{display:flex;flex-direction:column;align-items:center;gap:3px;padding:5px;border:2px solid transparent;border-radius:6px;background:white;color:#42494e;font-size:11px;line-height:1.3;text-align:center;min-height:75px}
.icon-option .activity-figure{width:42px;height:42px;flex-basis:42px;padding:1px}
.icon-option input:checked+span{border-color:#781b30;background:#f5e9ee;color:#781b30;font-weight:750}
.icon-option input:focus-visible+span{outline:3px solid #ad6072;outline-offset:2px}
.icon-picker>.help-line{padding:0 12px 10px;font-size:12px;color:#626b72}
.compact-picker .picker-item{padding:7px 2px;gap:9px;align-items:center!important}
.compact-picker .activity-figure{flex-basis:40px;width:40px;height:40px;padding:1px}
.compact-picker .picker-copy{min-width:0;flex:1;overflow-wrap:anywhere}
.compact-picker strong{font-size:14px;line-height:1.3}
.compact-picker .picker-note{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.compact-picker button{min-height:34px;padding:5px 10px;flex-shrink:0}
@media(max-width:650px){
  .library-wrap{padding:18px 12px}
  .library-wrap .library-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,210px),1fr));gap:8px}
  .library-tools select{flex:1 1 160px}
  .library-wrap .library-tools input{max-width:none}
}
@media(pointer:coarse){
  .library-card .actions button,.library-card-details>summary,.compact-picker button,.card-visible-links a,.card-group-activities a{min-height:44px}
}
@media print{
  .library-wrap .library-card{break-inside:avoid}
  .library-card>.actions{display:none}
  .activity-figure{print-color-adjust:exact;-webkit-print-color-adjust:exact}
}

/* Completed plans and yearly library usage. */
.finished-banner{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;padding:12px;margin:12px 0;background:#e9f4ef;border:1px solid #a8cbbb;border-radius:10px}
.finished-banner>span{flex:1;min-width:200px}.finished-banner>strong{color:#22634a}
.lesson-year-picker{display:flex;align-items:center;gap:10px;margin:14px 0 0;font-weight:700}.lesson-year-picker select{width:auto}
.stats-help{font-size:12px;color:#59616a;margin:6px 0 12px}
.usage-details,.library-card>.lesson-usage{grid-column:1/-1;font-size:12px}.usage-details summary{cursor:pointer;padding:6px 0;min-height:32px}.usage-details ul{margin:0;padding:0;list-style:none}
.usage-details .text-button{font-size:12px;text-align:left;min-height:32px}.usage-details>div{margin:6px 0}
.lesson-review-list{list-style:none;margin:0;padding:0}.lesson-review-list>li{padding:8px 0;border-top:1px solid #eee}
.lesson-review-list .lesson-review-list{padding-left:14px}.lesson-review-list .lesson-review-list>li{border:0;padding:4px 0;font-size:13px}
.review-links{display:flex;flex-wrap:wrap;gap:4px 12px}.review-links a{color:#781b30;display:inline-block;padding:6px 0;overflow-wrap:anywhere}
.review-level{font-size:12px;color:#5b6067}
@media(pointer:coarse){.usage-details summary,.usage-details .text-button,.review-links a{min-height:44px}}
@media print{.finished-banner button{display:none}}
/* An empty workout still needs its add controls visible. */
.workspace:not(.view-mode) .workout-section>.section-body{display:block}
@media(max-width:650px){.workout-section>.section-title{flex-wrap:wrap}.workout-section>.section-title .grow{min-width:calc(100% - 40px)}}
@media print{.workout-section button{display:none!important}}
