@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--ink:#183c3b;--muted:#778783;--green:#246451;--line:#dfe5dc;--paper:#f6f7f1}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:14px 'DM Sans',sans-serif}button,input,textarea{font:inherit}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}aside{width:238px;background:#edf0e7;position:fixed;height:100vh;padding:38px 25px;border-right:1px solid var(--line)}.brand{text-decoration:none;color:var(--ink);font:800 38px Manrope;display:flex;gap:12px;align-items:center}.branddot{color:#d19b4f}.school{font-size:9px;letter-spacing:1.4px;margin-top:22px;color:#7b8c7f}nav{margin-top:45px;display:grid;gap:10px}button{border:1px solid var(--line);background:white;padding:11px 17px;border-radius:7px;color:var(--ink);font-weight:600}nav button{border:0;text-align:left;background:transparent;padding:14px;font-size:13px}nav .active{background:#dae4d6;color:#235543}.aside-bottom{position:absolute;bottom:32px;font-size:11px;line-height:2;color:#6d8176}.aside-bottom small{font-size:11px;color:#96a297}.signal{display:inline-block;background:#599679;width:6px;height:6px;border-radius:100%;margin-right:6px}main{margin-left:238px;padding:0 46px;max-width:1600px}header{height:96px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}header>span{font-size:10px;letter-spacing:2px;color:var(--muted)}header button{background:transparent;font-size:12px}h1{font:700 35px Manrope;margin:0 0 12px;letter-spacing:-1.3px}h2{font:700 20px Manrope;margin:0}p{color:var(--muted);line-height:1.7;margin:0}.heading{display:flex;align-items:center;justify-content:space-between;margin:38px 0 28px}.eyebrow{color:#859479;font-size:10px;letter-spacing:1.5px;margin-bottom:12px}.badge{font-size:11px;color:#52715d;background:#e8eee1;border-radius:30px;padding:8px 12px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:29px}.stat{background:#fff;border:1px solid var(--line);border-radius:10px;padding:19px 22px;display:flex;align-items:center;gap:16px}.stat-icon{height:42px;width:42px;display:grid;place-items:center;background:#f1f3ea;border-radius:9px;font-size:21px}.stat strong{font:700 24px Manrope;margin-right:7px}.stat small{display:block;font-size:11px;color:var(--muted);margin-top:3px}.days{display:flex;gap:8px;margin-bottom:28px;flex-wrap:wrap}.day{flex:1;text-align:left;padding:14px 17px;background:transparent;min-width:115px}.day.selected{background:var(--ink);color:#fff;border-color:var(--ink)}.day small{display:block;font-size:11px;opacity:.6;margin-top:6px}.day .dot{float:right;color:#82b48f}.board{background:white;border:1px solid var(--line);border-radius:12px;padding:25px}.board-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:25px}.board-top p{font-size:12px;margin-top:6px}.primary{background:var(--green);border-color:var(--green);color:#fff}.actions{display:flex;gap:8px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.boat{border:1px solid var(--line);border-radius:9px;overflow:hidden}.boat-head{background:#f1f3ec;padding:17px;display:flex;align-items:center;gap:10px}.boat-head .number{font-size:11px;color:#7e8d80;margin-left:auto}.sail{font-size:25px}.boat-body{padding:17px}.label{font-size:9px;letter-spacing:1.2px;color:#8a968a;margin:0 0 12px}.person{display:flex;align-items:center;gap:9px;margin:10px 0;font-weight:500}.avatar{background:#e9eddf;color:#61735c;width:30px;height:30px;display:grid;place-items:center;border-radius:50%;font-size:10px;font-weight:700}.trainer{border-top:1px solid #edf0e8;margin-top:16px;padding-top:14px;color:#748177;font-size:12px}.trainer b{font-weight:500;color:#375047}.note{margin-top:20px;background:#f0f4eb;padding:14px 17px;font-size:12px;line-height:1.6;border-radius:7px;color:#648064}.empty{padding:58px 20px;text-align:center;background:#fafbf7;border:1px dashed var(--line);border-radius:8px}.empty h2{margin-bottom:10px}.empty .big{font-size:45px;margin-bottom:15px}.empty button{margin-top:22px}footer{font-size:9px;letter-spacing:1.4px;color:#93a08d;display:flex;justify-content:space-between;padding:26px 0}footer span{letter-spacing:0;font-size:11px}.settings-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.settings-grid label{font-weight:700;display:block}.settings-grid textarea{width:100%;height:260px;margin:12px 0;border:1px solid var(--line);border-radius:7px;padding:13px;line-height:1.9;resize:vertical}.settings-grid small{color:var(--muted)}input{padding:10px;border:1px solid var(--line);border-radius:6px;margin:10px}.error{color:#ac4c39;margin-top:15px}.week-day{border-top:1px solid var(--line);padding:20px 0}.week-day:first-child{border-top:0}.week-row{display:grid;grid-template-columns:1fr 2fr 1fr;padding:10px 0;border-bottom:1px solid #f1f2ec;gap:12px}.week-day>.week-row:last-child{border-bottom:0}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;padding:13px 22px;border-radius:8px;display:none}@media(max-width:1100px){aside{width:190px;padding:30px 18px}main{margin-left:190px;padding:0 25px}.cards{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){aside{position:static;width:auto;height:auto;padding:18px}.brand{font-size:27px}.school,.aside-bottom{display:none}nav{display:flex;margin-top:15px;gap:4px}nav button{font-size:11px;padding:10px}main{margin:0;padding:0 18px}header{height:65px}.heading{margin:25px 0;align-items:flex-start}h1{font-size:28px}.heading .badge{display:none}.stats{gap:7px}.stat{padding:12px;gap:8px}.stat-icon{display:none}.stat strong{font-size:22px}.stat small{font-size:10px}.day{min-width:75px;padding:10px}.cards,.settings-grid{grid-template-columns:1fr}.board{padding:16px}.board-top{align-items:flex-start;flex-direction:column}.actions{flex-wrap:wrap}footer span{display:none}}@media print{aside,header,.actions,.days,footer,button,.note{display:none!important}main{margin:0;padding:0}.cards{grid-template-columns:repeat(2,1fr)}.boat{break-inside:avoid}.board{border:0}.heading{margin:15px 0}}
.photo{object-fit:cover;flex-shrink:0}.date-fields{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-bottom:30px}.date-fields label{font-weight:600}.field-help{font-size:12px;margin:10px 0 18px}.trainee-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:22px 0 35px}.trainee-edit{display:flex;align-items:center;gap:12px;background:#f6f7f2;padding:12px;border-radius:8px}.trainee-edit .avatar{height:44px;width:44px}.trainee-edit label:not(.upload){font-size:10px;color:var(--muted);flex:1;min-width:0}.trainee-edit input:not([type=file]){width:100%;margin:5px 0 0;padding:8px}.upload{font-size:11px;cursor:pointer;color:var(--green);position:relative;overflow:hidden}.upload input{position:absolute;opacity:0;inset:0;width:100%;cursor:pointer;margin:0}.trainee-edit button{padding:5px 9px}.settings-bottom{display:grid;grid-template-columns:1fr 1fr;gap:35px}.settings-bottom textarea{width:100%;height:240px;padding:12px;border:1px solid var(--line);border-radius:7px;font:inherit;line-height:1.8}.boat-edit{display:flex;gap:12px;margin-bottom:12px}.boat-edit label{font-size:11px;color:var(--muted);flex:1}.boat-edit input,.boat-edit select{display:block;width:100%;margin:5px 0 0;padding:10px;border:1px solid var(--line);border-radius:6px;background:white;color:var(--ink);font:inherit}.boat-edit label:first-child{flex:2}button:disabled{opacity:.5;cursor:wait}.day{min-width:100px}.days{display:grid;grid-template-columns:repeat(4,1fr)}@media(min-width:1450px){.days{grid-template-columns:repeat(8,1fr)}}@media(max-width:850px){.trainee-settings,.settings-bottom{grid-template-columns:1fr}}@media(max-width:700px){.days{grid-template-columns:repeat(2,1fr)}.date-fields{gap:5px}.trainee-edit{gap:8px}}
.school-logo{width:48px;height:48px;object-fit:contain;flex-shrink:0}.brand{font-size:29px;overflow-wrap:anywhere}.brand>span{min-width:0;line-height:1.15}.identity{border-bottom:1px solid var(--line);padding-bottom:25px;margin-bottom:25px}.identity>label{font-weight:600}.logo-edit{display:flex;align-items:center;gap:18px;margin-top:15px}.logo-edit #logo-preview{width:90px;height:65px;border:1px solid var(--line);border-radius:7px;display:grid;place-items:center;font-size:35px}.logo-edit .school-logo{width:80px;height:55px}.logo-edit .upload{padding:10px;border:1px solid var(--line);border-radius:7px}.print-brand{display:none}@media print{.print-brand{display:flex!important;align-items:center;gap:12px;margin:15px 0;font-size:24px;font-weight:700}.print-brand img{width:60px;height:50px;object-fit:contain}}
.trainer-overview{margin-top:30px;scroll-margin-top:20px}.trainer-day{border-top:1px solid var(--line);padding:20px 0}.matrix-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.matrix-heading h3{margin:0;font:700 16px Manrope}.matrix-heading>div{display:flex;gap:10px;align-items:center}.badge.incomplete{background:#f8eedb;color:#987133}.copy-grid{font-size:11px;padding:8px 10px}.matrix-scroll{overflow:auto;border:1px solid var(--line);border-radius:8px}.trainer-matrix{border-collapse:collapse;width:100%;min-width:620px;table-layout:fixed}.trainer-matrix th,.trainer-matrix td{border-bottom:1px solid var(--line);border-right:1px solid var(--line);text-align:center;font-size:12px}.trainer-matrix th{padding:13px 8px;background:#f1f3eb}.trainer-matrix th:first-child{width:170px;text-align:left;position:sticky;left:0;z-index:1}.trainer-matrix tbody th{background:#fafbf7;font-weight:500}.trainer-matrix th small{display:block;font-weight:400;font-size:10px;color:var(--muted);margin-top:5px}.trainer-matrix td{padding:0}.trainer-matrix td.assigned{background:#e7f0e1}.matrix-cell{display:flex;align-items:center;justify-content:center;min-height:46px;cursor:pointer}.matrix-cell:hover{background:#edf2e6}.matrix-cell input{width:19px;height:19px;margin:0;accent-color:var(--green);cursor:pointer}.trainer-matrix tfoot td{padding:12px;font-weight:700;background:#f1f3eb}.trainer-matrix tr:last-child>*{border-bottom:0}.trainer-matrix tr>*:last-child{border-right:0}.matrix-bottom{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:15px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:700px){.matrix-heading,.matrix-bottom{align-items:flex-start;flex-direction:column}.matrix-heading>div{flex-wrap:wrap}.trainer-matrix th:first-child{width:130px}}
.draggable-person{cursor:grab;padding:7px;border:1px solid transparent;border-radius:7px;touch-action:manipulation;user-select:none}.draggable-person:hover{background:#f1f4eb;border-color:var(--line)}.draggable-person:active{cursor:grabbing}.drag-handle{margin-left:auto;color:#8a9c8e;font-size:20px}.draggable-person.dragging{opacity:.4}.draggable-person.drop-target,.draggable-person.move-selected{background:#e0edd7;border:1px solid var(--green)}.draggable-person:focus-visible{outline:2px solid var(--green);outline-offset:2px}.draggable-person img{pointer-events:none}@media print{.drag-handle,#move-status{display:none}.draggable-person{padding:0;border:0}}
#day-print{display:none}@media print{@page{size:A4 portrait;margin:14mm}body{background:#fff;color:#17312e;font-family:Arial,sans-serif;font-size:11pt}body>aside,body>main,#toast{display:none!important}#day-print{display:block!important}.day-print-heading{display:flex;gap:12px;align-items:center;margin-bottom:4mm;break-after:avoid}.day-print-heading>img{width:45px;height:45px;object-fit:contain}.day-print-school{font-size:11pt;font-weight:700;color:#52685a}.day-print-heading h1{font:700 20pt Arial,sans-serif;margin:2px 0;letter-spacing:0}.day-print-heading p{color:#304f46;font-size:12pt}.day-print-table{border-collapse:collapse;width:100%;table-layout:fixed}.day-print-table th,.day-print-table td{border:1px solid #bdc9bf;padding:2mm;text-align:left;vertical-align:middle;overflow-wrap:anywhere}.day-print-table thead th{background:#edf1e8!important;font-size:10pt;text-transform:uppercase;letter-spacing:.7px;print-color-adjust:exact;-webkit-print-color-adjust:exact}.day-print-table th:first-child{width:24%}.day-print-table th:nth-child(2){width:38%}.day-print-table th:nth-child(3){width:38%}.day-print-table tbody tr{break-inside:avoid;height:28mm}.day-print-table .person{display:flex;gap:8px;margin:4px 0;font-size:10pt;line-height:1.2}.day-print-table .avatar{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:32px;border-radius:50%;background:#e8edde!important;color:#304c39;font:700 11pt Arial,sans-serif;print-color-adjust:exact;-webkit-print-color-adjust:exact}.day-print-table img.avatar{display:block;object-fit:cover}.print-trainer{margin:7px 0;line-height:1.4}}
.progress-controls{display:flex;gap:25px;flex-wrap:wrap}.progress-controls label{font-size:12px;font-weight:600}.progress-controls select{display:block;margin:8px 0 20px;min-width:220px}.progress-controls select,.lesson-row select{border:1px solid var(--line);padding:10px;border-radius:6px;background:#fff;color:var(--ink);font:inherit}.progress-summary{display:flex;align-items:center;gap:12px;margin:15px 0}.progress-summary .avatar{height:48px;width:48px}.progress-summary>span:not(.avatar){margin-left:auto;font-size:12px;color:var(--muted)}.progress-counts{display:flex;gap:20px;background:#f0f4eb;padding:14px;border-radius:6px;flex-wrap:wrap;font-size:12px}.lesson-group{margin-top:28px}.lesson-group h3{font:700 16px Manrope;background:#edf1e6;padding:14px;border-radius:5px}.lesson-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 0;border-bottom:1px solid var(--line)}.lesson-row select{min-width:175px}.lesson-row label{line-height:1.5}@media(max-width:700px){nav{flex-wrap:wrap}.lesson-row{align-items:flex-start;flex-direction:column;gap:8px}.lesson-row select{width:100%}.progress-summary{flex-wrap:wrap}.progress-summary>span:not(.avatar){margin-left:0}}
.period-tabs{margin-bottom:22px;flex-wrap:wrap}.norm-table{border-collapse:collapse;width:100%;min-width:760px;table-layout:fixed}.norm-table th,.norm-table td{border:1px solid var(--line);padding:12px;text-align:center;font-size:12px}.norm-table th{background:#f0f3e9;line-height:1.5}.norm-table th:first-child{width:200px;text-align:left;position:sticky;left:0}.norm-table tbody th{background:#f8faf3;font-weight:500}.norm-table select{font:600 16px 'DM Sans',sans-serif;color:var(--ink);background:white;border:1px solid var(--line);padding:9px;border-radius:6px;width:65px;max-width:100%}
.lesson-subhead{font:700 14px Manrope;margin:22px 0 0;padding:12px 0 10px;border-bottom:2px solid #dbe4d3;color:var(--green)}.lesson-subhead+.lesson-row{padding-top:14px}

.lesson-row.lesson-child{padding-left:22px}

.lesson-row.lesson-variant{padding-left:44px}

.lesson-subhead.lesson-direction{margin-top:12px;padding-left:22px;border-bottom:1px solid var(--line);font-size:13px}
.day-context{background:#f5f7ef;border:1px solid var(--line);border-radius:8px;padding:18px;margin:16px 0 24px}.context-fields{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:18px}.context-fields .label{display:block;margin-bottom:7px}.context-fields strong{font-size:14px;font-weight:600}.day-context>label{display:block;font-size:12px;font-weight:600;margin-bottom:8px}.day-context textarea{width:100%;resize:vertical;border:1px solid var(--line);border-radius:6px;padding:11px;font:inherit;color:var(--ink);background:white;line-height:1.6}.day-context small{display:block;color:var(--muted);font-size:11px;margin-top:6px}@media(max-width:700px){.context-fields{grid-template-columns:1fr;gap:14px}}
.status-detail{margin-top:25px;margin-bottom:25px}.exam-overview{border-collapse:collapse;width:100%;min-width:800px}.exam-overview th,.exam-overview td{text-align:left;padding:14px 12px;border-bottom:1px solid var(--line);font-size:12px}.exam-overview thead th{background:#f1f4eb;font-weight:600}.status-person{border:0;background:transparent;padding:0;display:flex;align-items:center;gap:10px;text-align:left;font-weight:600}.status-person:hover{text-decoration:underline}.exam-overview .status-selected{background:#f0f5e9}.exam-badge{display:inline-block;border-radius:20px;padding:6px 10px;font-size:11px;white-space:nowrap}.exam-badge.passed{background:#e2efdd;color:#2d623d}.exam-badge.failed{background:#f7e8e2;color:#9b483b}.exam-badge.pending{background:#edf0e9;color:#748270}.completed-label{color:#256340;font-size:12px}.exam-total{display:flex;justify-content:space-between;align-items:center;padding:15px;background:#f1f5eb;border-radius:6px;margin:15px 0 25px}.final-result{margin-top:24px}.status-detail h3{font:700 16px Manrope;margin-top:25px}
#outstanding-list{margin-top:24px;border-top:1px solid var(--line);padding-top:20px}.outstanding-row{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:12px 0;border-bottom:1px solid var(--line);line-height:1.5}.outstanding-row small{color:var(--muted);text-align:right;min-width:150px}@media(max-width:700px){.outstanding-row{flex-direction:column;align-items:flex-start;gap:5px}.outstanding-row small{text-align:left}}

.status-period-actions{align-items:flex-start}.first-period-actions{display:flex;flex-direction:column;gap:8px}.first-period-actions button{width:100%}

#score-summary{margin-top:25px;padding-top:20px;border-top:1px solid var(--line)}.score-result{display:inline-flex;align-items:center;justify-content:center;min-width:45px;min-height:36px;border-radius:7px;font-weight:700;font-size:16px}.score-green{background:#dff0d9;color:#236337}.score-red{background:#f8dfd9;color:#a02f26}.score-yellow{background:#fff0be;color:#806100}.score-empty{color:var(--muted)}.score-count{display:block;color:var(--muted);font-size:10px;margin-top:6px}

.import-label{display:inline-flex;align-items:center;padding:11px 17px;border:1px solid var(--line);border-radius:7px;font-weight:600;cursor:pointer;position:relative;overflow:hidden}.import-label input{position:absolute;inset:0;opacity:0;margin:0;width:100%;cursor:pointer}
.locked>aside,.locked>main{display:none!important}#login-screen{min-height:100vh;display:grid;place-items:center;padding:20px}.login-card{background:white;padding:35px;border:1px solid var(--line);border-radius:12px;max-width:400px;width:100%}.login-card label,dialog label{display:block;margin-top:18px}.login-card input,dialog input{display:block;width:100%;margin:8px 0}.login-card button{width:100%;margin-top:16px}#account-bar{display:flex;gap:8px}#account-bar button{font-size:10px;padding:8px}.cloud-error{background:#ffe7d9;border:2px solid #a3472e;padding:20px;position:sticky;top:0;z-index:999}.user-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:15px 0;border-bottom:1px solid var(--line)}.user-row strong{min-width:140px}#new-user{display:flex;gap:12px;align-items:end;flex-wrap:wrap}#new-user label{display:block;font-size:12px}#new-user input,#new-user select{display:block;margin:8px 0;padding:10px;border:1px solid var(--line);border-radius:6px}.user-row select{padding:10px}dialog{border:1px solid var(--line);border-radius:10px;padding:25px;max-width:450px}dialog::backdrop{background:#193d3b88}@media(max-width:700px){header{height:auto;min-height:80px;flex-wrap:wrap;padding:12px 0}}

.discussion-inputs{display:grid;gap:10px;margin-top:18px}.discussion-inputs label{display:flex;align-items:center;gap:10px;font-size:13px;line-height:1.5;cursor:pointer}.discussion-inputs input{margin:0;width:18px;height:18px;flex-shrink:0;accent-color:var(--green)}.meeting-person{border-top:1px solid var(--line);padding:18px 0 25px}.meeting-person:first-child{border-top:0}.meeting-note{white-space:pre-wrap;background:#f2f5ec;border-radius:6px;padding:12px;margin-top:16px;font-size:12px}

.meeting-group{margin-top:25px}.meeting-group h2{font-size:17px;margin-bottom:14px}.meeting-table{width:100%;min-width:760px;border-collapse:collapse;table-layout:fixed}.meeting-table th,.meeting-table td{text-align:left;padding:14px 12px;border-bottom:1px solid var(--line);vertical-align:middle;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.meeting-table thead th{background:#f0f3e9;font-weight:600}.meeting-table th:nth-child(1){width:25%}.meeting-table th:nth-child(2){width:23%}.meeting-table th:nth-child(3){width:18%}.meeting-table th:nth-child(4){width:34%}.meeting-name{display:flex;align-items:center;gap:10px}.meeting-name .avatar{flex-shrink:0}.meeting-attention+.meeting-attention{margin-top:8px}.meeting-priority{padding-top:25px;border-top:2px solid #d9c793}.meeting-priority>h2{color:#80672d}

.plan-feedback{background:#edf4e7;border:1px solid #d7e3ce;border-radius:8px;padding:16px;margin-top:18px;font-size:12px;line-height:1.6}.plan-feedback>p{font-size:12px;margin:7px 0 0}.plan-feedback ul{padding-left:20px;margin-bottom:0}.plan-warning{background:#fff6e5;border-color:#e8d4aa}

/* Consistent navigation at every viewport width. */
body>aside{width:238px;padding:24px 18px;display:flex;flex-direction:column;gap:0}
body>aside .brand{font-size:29px;gap:10px;min-height:48px;padding:0 8px}
body>aside nav{display:grid;grid-template-columns:1fr;margin-top:22px;gap:4px;width:100%}
body>aside nav button{display:flex;align-items:center;gap:12px;width:100%;min-height:46px;padding:11px 12px;font:600 15px/1.4 'DM Sans',Arial,sans-serif;text-align:left;white-space:nowrap}
body>aside nav button[hidden]{display:none}
.nav-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 22px;width:22px;height:24px;font:400 22px/1 Arial,sans-serif}
.nav-label{display:block;min-width:0}
body>aside .aside-bottom{position:static;margin-top:auto;padding:20px 8px 0;font-size:11px;line-height:1.7}
body>main{margin-left:238px}
@media(max-width:700px){body>aside{position:static;width:100%;height:auto;padding:16px}body>aside .brand{padding:0;font-size:29px}body>aside nav{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:16px;gap:4px}body>aside nav button{font-size:15px;padding:10px;min-height:44px;gap:8px}body>aside .aside-bottom{display:none}body>main{margin-left:0}}
@media print{body>aside{display:none!important}body>main{margin-left:0}}

header:has(#account-bar){justify-content:flex-end}header:empty,header:has(>span:empty):not(:has(button)){display:none}

.norm-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.norm-card{border:1px solid var(--line);border-radius:9px;padding:18px;min-width:0}.norm-card h3{font:700 17px Manrope;margin:0 0 16px}.norm-score-row{border:0;border-top:1px solid var(--line);padding:12px 0 0;margin:12px 0 0;min-width:0}.norm-score-row legend{font-size:13px;font-weight:600;padding:0 8px 0 0;max-width:100%;line-height:1.5}.norm-options{display:flex;gap:8px;margin-top:7px}.score-choice{min-width:44px;min-height:44px;flex:1;padding:8px;font-size:17px;font-weight:600;touch-action:manipulation}.score-choice.selected{background:var(--green);border-color:var(--green);color:white}.score-choice:focus-visible{outline:3px solid #9dc68c;outline-offset:2px}.norm-save-bar{position:sticky;bottom:12px;z-index:5;background:#fff;border:1px solid var(--line);box-shadow:0 3px 18px #183c3b18;border-radius:9px;padding:12px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:20px}.norm-save-bar button{min-height:44px;min-width:120px}.norm-save-bar span{font-size:12px;color:var(--muted)}#norm-draft-totals{margin-top:20px}@media(max-width:950px){.norm-cards{grid-template-columns:1fr}}@media(max-width:700px){.norm-card{padding:14px}.norm-save-bar{bottom:8px;padding:10px}.progress-controls select{min-width:0;max-width:100%;width:100%}.progress-controls label{max-width:100%}}

#mobile-menu-toggle{display:none}.lesson-row:has(.lesson-options){flex-direction:column;align-items:flex-start;gap:10px}.lesson-options{display:flex;gap:8px}.lesson-choice{min-width:46px;min-height:44px;padding:8px 15px;font-size:16px;touch-action:manipulation}.lesson-choice.selected{background:var(--green);border-color:var(--green);color:white}.lesson-choice:focus-visible{outline:3px solid #9dc68c;outline-offset:2px}body>aside #account-bar{display:grid;gap:4px;margin-top:18px;padding-top:14px;border-top:1px solid var(--line)}body>aside #account-bar button{text-align:left;font-size:13px;padding:10px 12px;background:transparent;border:0}body>aside #account-bar button:hover{background:#e0e8d9}@media(max-width:700px){body>aside{position:relative;min-height:76px}body>aside .brand{padding-right:55px}#mobile-menu-toggle{display:flex;align-items:center;justify-content:center;position:absolute;right:16px;top:16px;width:44px;height:44px;padding:0;font:400 26px/1 Arial,sans-serif;background:transparent;border:1px solid var(--line)}body>aside nav{display:none;grid-template-columns:1fr;margin-top:14px}body>aside.menu-open nav{display:grid}body>aside #account-bar,body>aside .aside-bottom{display:none}body>aside.menu-open #account-bar{display:grid}body>aside.menu-open .aside-bottom{display:block}body>aside #account-bar button{min-height:44px;font-size:15px}.lesson-options{width:100%}.lesson-choice{flex:1}.lesson-row.lesson-variant{padding-left:30px}}@media print{#mobile-menu-toggle{display:none!important}}

.meeting-table>thead>tr>th:nth-child(1){width:23%}.meeting-table>thead>tr>th:nth-child(2){width:22%}.meeting-table>thead>tr>th:nth-child(3){width:16%}.meeting-table>thead>tr>th:nth-child(4){width:31%}.meeting-table>thead>tr>th:nth-child(5){width:8%}.meeting-table .meeting-expand-cell{text-align:center;padding:8px}.meeting-expand{width:44px;min-height:44px;padding:0;font-size:24px;line-height:1;touch-action:manipulation}.meeting-expand[aria-expanded=true]{background:var(--green);color:white}.meeting-detail-row[hidden]{display:none!important}.meeting-table .meeting-detail-row>td{padding:18px;background:#f7f9f2}.meeting-detail h3{margin:0;font:700 17px Manrope}.meeting-lesson-columns{display:grid;grid-template-columns:1fr 1fr;gap:24px}.meeting-lesson-columns h4{margin:16px 0 8px}.meeting-lesson-columns li{margin-bottom:7px;line-height:1.6}.meeting-lesson-columns ul{padding-left:18px}.meeting-sufficient{color:#326444}.meeting-table .norm-table th{width:auto}.meeting-table .norm-table th:first-child{width:200px}@media(max-width:700px){.meeting-lesson-columns{grid-template-columns:1fr;gap:12px}}

@media(max-width:700px){.meeting-table .meeting-expand-cell{position:sticky;right:0;background:#fff;z-index:2}.meeting-table>thead>tr>th:last-child{position:sticky;right:0;z-index:2}}

.reset-progress-section{margin-top:28px;border-color:#e3beb7}.danger-button{background:#ad3d32;border-color:#ad3d32;color:#fff;min-height:44px}.danger-button:hover{background:#932f26;border-color:#932f26}.danger-button:focus-visible{outline:3px solid #e3a69d;outline-offset:2px}

.print-progress-section{margin-top:28px}.progress-print{color:#183c3b}@media print{.progress-print{font-family:Arial,sans-serif;font-size:9pt}.progress-print .trainee-print{break-before:page}.progress-print .trainee-print:first-child{break-before:auto}.progress-print .progress-print-header{display:flex!important;gap:12px;align-items:center;height:auto;border:0;margin:0 0 6mm;padding:0}.progress-print-header .report-logo{width:42px;height:42px;object-fit:contain}.progress-print-header>div{flex:1}.progress-print-header h1{font:700 17pt Arial,sans-serif;letter-spacing:0;margin:4px 0}.progress-print-header p{font-size:8pt;color:#53645c}.progress-print-header .avatar{width:48px;height:48px;font-size:16px;flex-shrink:0}.progress-print h2{font:700 12pt Arial,sans-serif;margin:5mm 0 2mm;break-after:avoid}.progress-print .report-legend{font-size:8pt;margin:0 0 2mm;color:#53645c}.report-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:8pt}.report-table th,.report-table td{border:1px solid #bec9bf;padding:4px 5px;line-height:1.3;overflow-wrap:anywhere}.report-table thead{display:table-header-group}.report-table thead th{background:#e9eee2!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}.report-table tbody tr{break-inside:avoid}.report-table th{text-align:left;font-weight:500}.report-table td{text-align:center}.lesson-print th:first-child{width:55%}.lesson-print .report-group th{font-weight:700;background:#e9eee2!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}.lesson-print .report-subgroup th{font-weight:700;padding-left:12px;background:#f4f5f0!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}.lesson-print tbody tr:not(.report-group):not(.report-subgroup)>th{padding-left:12px}.score-print-section{break-before:page}.scores-print th:nth-child(1){width:24%}.scores-print thead th:nth-child(2){width:40%}.scores-print .report-manoeuvre{font-weight:700;background:#f4f5ee!important;vertical-align:top}.notes-print-section{break-before:page}.notes-print th:nth-child(1){width:20%}.notes-print th:nth-child(2){width:25%}.notes-print td{text-align:left;vertical-align:top}.report-note{white-space:pre-wrap}.report-flag{font-weight:700;font-size:8pt;margin-top:7px}.exam-print{font-size:7pt}}

@media print{.lesson-print th,.lesson-print td{padding:2px 4px;font-size:7.5pt;line-height:1.15}.scores-print th,.scores-print td{padding:3px 4px;font-size:8pt;line-height:1.15}}

.confirm-overlay{position:fixed;inset:0;background:#15383399;z-index:100000;display:flex;align-items:center;justify-content:center;padding:20px}.confirm-panel{background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 15px 70px #102e3a55;padding:26px;max-width:460px;width:100%;max-height:90dvh;overflow:auto}.confirm-panel h2{margin:0 0 14px}.confirm-panel p{line-height:1.7}.confirm-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}.confirm-actions button{min-height:46px;touch-action:manipulation}.confirm-actions button:focus-visible{outline:3px solid #7bab76;outline-offset:3px}@media(max-width:500px){.confirm-panel{padding:20px}.confirm-actions{flex-direction:column-reverse}.confirm-actions button{width:100%}}@media print{.confirm-overlay{display:none!important}}

#trainer-editor .trainee-edit{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:16px}#trainer-editor label{min-width:140px}#trainer-editor .upload{min-width:0}.user-row{flex-wrap:wrap}.user-row select{max-width:100%;min-width:150px}

.home-trainees{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:24px}.home-trainee{border:1px solid var(--line,#d9e5e1);border-radius:12px;padding:20px;min-width:0}.home-trainee details{margin:20px 0}.home-trainee summary{cursor:pointer;font-weight:600}.home-note{border-left:3px solid var(--line,#d9e5e1);padding-left:12px;margin:16px 0}.home-note p,.meeting-note{white-space:pre-wrap;overflow-wrap:anywhere}.home-boat{margin-top:24px}.demo-setting{display:flex;align-items:center;gap:10px}.demo-setting input{width:auto}

.home-trainees.home-trainees-stacked{grid-template-columns:minmax(0,1fr)}

.manual-plan-dialog{max-width:650px;width:calc(100% - 32px);max-height:85vh;overflow:auto;border:0;border-radius:16px;padding:24px}.manual-plan-dialog fieldset{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0;border:1px solid #d9e5e1;border-radius:8px}.manual-plan-dialog label{flex:1;min-width:160px}.manual-plan-dialog select{width:100%}

#boat-editor .boat-edit{display:flex;flex-wrap:wrap;align-items:end;gap:12px}#boat-editor .boat-edit label{flex:1;min-width:120px}

.settings-group{border:1px solid #d9e5e1;border-radius:12px;margin:16px 0;padding:16px;background:#fff}.settings-group>summary{cursor:pointer;font-size:1.12rem;font-weight:700;min-height:44px;align-content:center}.settings-group[open]>summary{margin-bottom:16px}.settings-group .board{border:0;box-shadow:none;padding:12px 0}.settings-group .identity{padding-top:12px}.settings-bottom{display:block}.history-entry{border-bottom:1px solid #d9e5e1;padding:12px 0;overflow-wrap:anywhere}.history-entry small{display:block}.history-entry p{white-space:pre-wrap}.registration-history{margin-top:18px}.registration-history>summary{cursor:pointer;min-height:44px;font-weight:600;align-content:center}.cloud-error{position:relative;z-index:1001}.cloud-error fieldset{margin:12px 0;min-width:0}.cloud-error fieldset label{display:flex;gap:10px;align-items:flex-start;overflow-wrap:anywhere}.cloud-error input[type=radio]{width:24px;min-width:24px;height:24px}.sync-message{white-space:pre-wrap}.sync-badge{font-weight:600}
@media(max-width:700px){input,select,textarea{font-size:16px}button,.upload,summary{touch-action:manipulation}button,.lesson-choice,.score-choice{min-height:48px}.lesson-options,.norm-options{gap:8px}.lesson-row{padding:14px 0}.norm-card{scroll-margin-top:100px}.norm-options .score-choice{min-width:48px}.norm-save-bar{padding-bottom:calc(12px + env(safe-area-inset-bottom));z-index:20}.settings-group{padding:12px}.cloud-error{padding:16px}.cloud-error .actions{display:flex;flex-wrap:wrap}.home-trainee{padding:16px}.registration-history button{width:100%}}

@media(max-width:700px){.norm-save-bar{position:fixed;left:16px;right:16px;bottom:8px;margin:0}body:has(.norm-save-bar) main{padding-bottom:120px}}

@media(max-width:700px){.norm-save-bar button{min-height:48px}}

.trainer-person{display:flex;align-items:center;gap:10px;margin:8px 0;overflow-wrap:anywhere}.trainer-person .avatar{flex-shrink:0}.own-photo-dialog{border:0;border-radius:14px;width:calc(100% - 32px);max-width:440px;padding:24px}.own-photo-dialog .photo-preview{display:flex;align-items:center;gap:12px;margin:16px 0}.own-photo-dialog .photo-preview .avatar{width:80px;height:80px}.own-photo-dialog::backdrop{background:#183c3b66}@media print{.day-print-table .trainer-person{display:flex;align-items:center;gap:8px;margin:4px 0;font-size:10pt;line-height:1.2;break-inside:avoid}.day-print-table .trainer-person .avatar{width:32px;height:32px}}

.home-controls{display:grid;grid-template-columns:minmax(220px,1.3fr) minmax(140px,.8fr) minmax(180px,1fr);gap:16px;align-items:start}.home-controls label,.home-control-label{font-size:12px;font-weight:600;display:block}.home-controls input,.home-controls select,.home-static{box-sizing:border-box;width:100%;min-width:0;min-height:48px;margin:8px 0 0;border:1px solid var(--line);border-radius:6px;padding:10px 12px;background:#fff;color:var(--ink);font:inherit}.home-static{display:flex;align-items:center;font-size:13px;line-height:1.4}.home-trainer-profile{gap:10px}.home-trainer-profile .avatar{width:28px;height:28px;flex-shrink:0}@media(max-width:1100px){.home-controls{grid-template-columns:repeat(3,minmax(0,1fr))}.home-controls input,.home-controls select{max-width:100%}}@media(max-width:700px){.home-controls{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.home-date-field{grid-column:1/-1}.home-controls input,.home-controls select{font-size:16px}.home-trainer-profile{flex-wrap:wrap}}

.coach-option{display:flex;align-items:center;gap:8px;min-height:44px}.coach-option input[type=checkbox]{width:22px;height:22px;margin:0;flex-shrink:0}.user-row .coach-option{white-space:nowrap}

#users-list{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}.user-row.user-card{display:flex;flex-direction:column;align-items:stretch;gap:12px;padding:18px;border:1px solid var(--line);border-radius:10px;max-width:600px;min-width:0}.user-identity{display:flex;align-items:center;gap:12px;min-height:40px}.user-identity strong{min-width:0;overflow-wrap:anywhere}.user-portrait{display:flex;align-items:center;justify-content:center;width:40px;height:40px;flex:0 0 40px}.user-portrait .avatar{width:40px;height:40px}.user-card .user-field{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:600;margin:0}.user-card .user-field select{width:100%;min-width:0;box-sizing:border-box;min-height:44px;font-size:14px}.user-actions{display:flex;flex-wrap:wrap;gap:10px}.user-actions button{min-height:44px}#new-user{display:grid;grid-template-columns:minmax(0,1fr);max-width:600px;gap:12px}#new-user label{margin:0}#new-user input:not([type=checkbox]),#new-user select{display:block;width:100%;min-width:0;box-sizing:border-box}#new-user .coach-option{display:flex}#new-user>button{justify-self:start}@media(max-width:700px){.user-row.user-card{padding:14px}.user-card .user-field select{font-size:16px}.user-actions{flex-direction:column}.user-actions button{width:100%}}

@media(min-width:900px){#users-list{gap:0}.user-row.user-card{display:grid;grid-template-columns:minmax(150px,1.1fr) minmax(110px,.8fr) minmax(140px,1fr) auto;align-items:center;max-width:none;padding:16px 0;border:0;border-bottom:1px solid var(--line);border-radius:0;gap:12px}.user-identity{min-width:0}.user-card>.coach-option{margin-top:20px}.user-card>.user-actions{grid-column:2/-1;flex-direction:row;justify-content:flex-start}#new-user{display:flex;flex-wrap:wrap;max-width:none;align-items:end}#new-user>.user-field,#new-user>label:not(.coach-option){flex:1 1 180px}#new-user>.coach-option{flex:0 0 auto}#new-user>button{align-self:end}}
@media(min-width:1400px){.user-row.user-card{grid-template-columns:minmax(160px,1.1fr) minmax(110px,.7fr) minmax(150px,1fr) auto minmax(160px,1fr)}.user-card>.user-actions{grid-column:auto;flex-direction:column;align-items:stretch}}

.home-heading{align-items:center;gap:16px}.home-identity{display:flex;align-items:center;gap:10px;min-width:0}.home-identity .avatar{width:48px;height:48px;flex-shrink:0}.home-identity strong{max-width:240px;overflow-wrap:anywhere}.home-date-text{display:flex;align-items:center;min-height:48px;margin-top:8px;font-size:14px;line-height:1.4}.home-controls.home-controls-personal{grid-template-columns:minmax(220px,1.3fr) minmax(140px,.8fr)}@media(max-width:700px){.home-heading{gap:12px;flex-wrap:wrap}.home-identity .avatar{width:40px;height:40px}.home-identity strong{font-size:13px;max-width:180px}.home-controls.home-controls-personal{grid-template-columns:minmax(0,1fr)}.home-controls-personal .home-date-field{grid-column:auto}}

.home-heading h1{margin:0}

/* Registration stays readable while working through a long card on a phone. */
.registration-navigator{position:sticky;top:0;z-index:15;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;margin:14px 0;background:var(--paper,#fff);border:1px solid var(--line,#ddd);border-radius:12px;box-shadow:0 3px 12px #0000000d}
.registration-navigator>div{display:flex;align-items:center;gap:10px;min-width:0}.registration-navigator strong,.registration-navigator small{display:block}.registration-navigator small{color:var(--muted);font-size:12px}.registration-navigator button{min-width:44px;min-height:44px}.registration-navigator .avatar{flex-shrink:0}
.registration-section>summary{cursor:pointer;display:flex;align-items:center;justify-content:flex-start;text-align:left;gap:12px;font-weight:700;padding:14px 4px;list-style:none}.registration-section>summary:before{content:'▸';font-size:16px}.registration-section[open]>summary:before{content:'▾'}.registration-section>summary small{margin-left:auto;font-weight:400;color:var(--muted)}
.norm-card.registration-section{display:block}.registration-section:not([open]){padding-bottom:0}.registration-section>summary::-webkit-details-marker{display:none}#central-refresh-status{display:block;margin-top:8px;font-size:11px;line-height:1.5}
@media(max-width:700px){.registration-navigator{top:0;padding:8px;gap:8px}.registration-navigator strong{font-size:15px}.registration-navigator .avatar{width:34px;height:34px}.registration-section>summary{min-height:48px}.norm-card.registration-section{padding:10px 14px}}
@media print{.registration-navigator,#central-refresh-status{display:none!important}}

.security-settings,.security-log{margin:20px 0;padding:16px;border:1px solid var(--line);border-radius:10px}.security-settings>summary,.security-log>summary{cursor:pointer;font-weight:700;text-align:left}.security-policy-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}.security-policy-grid label{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:600}.security-policy-grid .coach-option{flex-direction:row;align-items:center}.security-policy-grid input:not([type=checkbox]),.security-policy-grid select{width:100%;min-width:0;padding:10px;border:1px solid var(--line);border-radius:6px;background:#fff;font:inherit;color:var(--ink)}[data-password-requirements]{display:block;font-size:11px;line-height:1.5;margin-top:6px;font-weight:400;color:var(--muted)}.user-security-state{display:block;font-size:11px;line-height:1.5;font-weight:400;color:var(--muted)}.user-security-state.account-locked{color:#a02f26}.security-event{display:grid;gap:5px;padding:14px 0;border-bottom:1px solid var(--line);font-size:12px}.security-event time,.security-event small{color:var(--muted);font-size:11px}@media(max-width:700px){.security-policy-grid{grid-template-columns:minmax(0,1fr)}.security-policy-grid input:not([type=checkbox]),.security-policy-grid select{font-size:16px}}

#new-user input:not([type=checkbox]),#new-user select{min-height:44px;margin:8px 0 0}#new-user>.coach-option{min-height:44px;align-items:center}#new-user>button{min-height:44px}

.date-lock-controls{flex-basis:100%;grid-column:1/-1;width:100%}

.meeting-note.meeting-note-empty{background:#fff4cc;color:#68551d}

.status-notes{margin-top:28px;border-top:1px solid var(--line);padding-top:20px}.status-notes h4{margin:0 0 6px}.print-ready-dialog{width:calc(100% - 32px);max-width:460px;border:1px solid var(--line);border-radius:12px;padding:24px;color:var(--ink)}.print-ready-dialog::backdrop{background:#183c3b66}.print-ready-dialog p{margin:12px 0}.print-ready-dialog .actions{margin-top:20px}@media print{.print-ready-dialog{display:none!important}}

.status-trainee-nav{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}.status-trainee-nav button{font-size:13px;padding:10px 14px;overflow-wrap:anywhere;max-width:100%}.status-trainee-nav button[aria-pressed=true]{background:var(--green);border-color:var(--green);color:white}.status-section-content{padding:0}.status-section-content>.status-notes{margin:0;padding:0;border:0}.status-detail>.progress-summary{margin-bottom:12px}.status-section .lesson-row{padding:10px 0}.status-section .exam-total{margin:10px 0}.status-section-content>h3{margin:12px 0}@media(max-width:700px){.status-trainee-nav{gap:6px}.status-trainee-nav button{flex:1 1 120px}.status-trainee-nav #status-overview{flex-basis:100%}}

.status-period-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:12px 0}.status-period-actions button[aria-pressed=true]{background:var(--green);border-color:var(--green);color:white}.status-period-actions button[hidden]{display:none}

.status-person-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.status-person-heading>.progress-summary{margin:0;min-width:0}.status-person-heading h2{overflow-wrap:anywhere}.status-person-heading>button{flex-shrink:0}@media print{.exam-print th,.exam-print td{text-align:left}}
.exam-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.exam-group{border:1px solid var(--line);border-radius:8px;padding:14px;min-width:0}.status-detail .exam-group h3{margin:0 0 8px}.exam-result-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding:10px 0;border-bottom:1px solid var(--line)}.exam-result-row>span{font-size:13px;font-weight:600}.exam-result-row:last-child{border-bottom:0}.exam-choices{display:flex;gap:4px}.exam-choice{font-size:12px;padding:8px 9px;min-height:40px}.exam-choice.selected{box-shadow:inset 0 0 0 1px currentColor}.exam-choice-pass.selected{background:#e2efdd;border-color:#2d623d;color:#2d623d}.exam-choice-fail.selected{background:#f7e8e2;border-color:#9b483b;color:#9b483b}.exam-choice-empty.selected{background:#edf0e9;border-color:#748270;color:#53634f}.exam-choice:focus-visible{outline:3px solid #9dc68c;outline-offset:2px}.status-section .final-result{margin-top:16px;gap:16px}.exam-group .exam-total{gap:12px;font-size:13px}@media(max-width:1100px){.exam-groups{grid-template-columns:1fr}}@media(max-width:700px){.exam-groups{gap:12px}.exam-result-row{align-items:stretch}.exam-result-row>span{flex-basis:100%}.exam-choices{width:100%;gap:6px}.exam-choice{flex:1;min-width:0;min-height:48px;font-size:13px;padding:8px 6px}.exam-choice-empty{flex:0 0 48px}.status-section .final-result{align-items:flex-start;flex-wrap:wrap}}

.home-assessment-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.home-assessment-heading>.progress-summary{margin:0;min-width:0;flex:1}.home-assessment-heading h3{margin:0;overflow-wrap:anywhere}.home-assessment-heading>button{flex:0 1 190px;max-width:50%;font-size:12px;padding:10px;min-height:44px}

.meeting-controls{margin-bottom:20px}.meeting-controls label{display:flex;align-items:center;gap:12px;min-width:0}.meeting-controls select{display:inline-block;width:auto;min-width:0;margin:0;flex:1}

body>aside{overflow-y:auto;isolation:isolate}body>aside .brand{display:flex;flex-direction:column;align-items:flex-start;gap:10px;flex:0 0 auto;height:auto;min-height:0;position:relative}body>aside .brand>.school-logo{display:block;width:100%;max-width:180px;height:auto;max-height:100px;object-fit:contain;object-position:left center;flex:none}body>aside .brand>span{display:block;width:100%}body>aside nav{flex:0 0 auto;position:relative;margin-top:22px}body>aside #account-bar{flex:0 0 auto}@media(max-width:700px){body>aside .brand{max-width:calc(100% - 56px);padding-right:0}body>aside .brand>.school-logo{max-width:140px;max-height:70px}}

#sync-indicator{display:flex;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;padding:0;border-radius:50%;font-size:23px;line-height:1;flex-shrink:0;color:#246451;background:#e2efdd;border-color:#cbdcc5}#sync-indicator[data-state=waiting],#sync-indicator[data-state=draft]{background:#fff4cc;border-color:#e1cc7c;color:#785b10}#sync-indicator[data-state=error]{background:#f7e8e2;border-color:#cf9889;color:#9b483b}#sync-indicator[data-state=saving]{background:#edf0e9;color:#52685a}#sync-indicator[data-state=saving]{animation:sync-pulse 1.2s ease-in-out infinite}@keyframes sync-pulse{50%{opacity:.4}}@media(prefers-reduced-motion:reduce){#sync-indicator{animation:none!important}}@media(max-width:700px){body>main>header{position:sticky;top:0;z-index:25;height:52px;background:var(--paper);justify-content:flex-end}}@media print{#sync-indicator{display:none!important}}

.mobile-header-actions{display:contents}@media(max-width:700px){body>aside{position:sticky;top:0;z-index:40;min-height:60px;padding:8px 12px;overflow:visible}body>aside .brand{flex-direction:row;align-items:center;gap:8px;min-height:44px;max-width:calc(100% - 104px);padding:0;font-size:21px}body>aside .brand>.school-logo{width:44px;height:44px;max-width:44px;max-height:44px;flex:0 0 44px;object-position:center}body>aside .brand>span{width:auto;line-height:1.2}.mobile-header-actions{display:flex;align-items:center;gap:4px;position:absolute;right:12px;top:8px}body>aside #mobile-menu-toggle{position:static;display:flex;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;padding:0}body>aside #sync-indicator{width:44px;height:44px;min-height:44px;font-size:20px}body>main>header{display:none}.registration-navigator{top:68px}.week-row{grid-template-columns:minmax(0,1fr);gap:6px;padding:14px 0}.week-row>b{font-size:15px}.week-row>span{min-width:0}.week-row .trainer-person{overflow-wrap:normal;word-break:normal;margin:6px 0}.week-row .trainer-person>span{min-width:0;overflow-wrap:break-word}.progress-controls:not(.meeting-controls){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:16px}.progress-controls:not(.meeting-controls) label{min-width:0;max-width:100%}.progress-controls:not(.meeting-controls) select{margin:6px 0 0;width:100%;min-width:0;min-height:44px}.progress-controls .progress-person-field{grid-column:1/-1;grid-row:1}.progress-controls .progress-scope-field{grid-column:1;grid-row:2}.progress-controls .progress-day-field{grid-column:2;grid-row:2}}

.desktop-sync-slot{display:flex;justify-content:flex-start;padding:10px 8px 0;flex:0 0 auto}@media(max-width:700px){.desktop-sync-slot{display:none}}

body>aside .aside-bottom #cloud-sync-status,body>aside .aside-bottom #central-refresh-status,body>aside .aside-bottom>br{display:none}@media(min-width:701px){body>aside .desktop-sync-slot{order:1;margin-top:auto;padding:12px 8px 0}body>aside .aside-bottom{order:2;flex:0 0 auto;margin-top:0;padding:8px 8px 0;overflow-wrap:anywhere}}

@media(max-width:700px){.home-controls,.home-controls.home-controls-personal{grid-template-columns:minmax(0,1fr)}.home-controls>*,.home-controls label{min-width:0;width:100%}.home-controls .home-date-field{grid-column:1}.home-controls #home-date{display:block;box-sizing:border-box;width:100%;min-width:0;max-width:100%;inline-size:100%;min-inline-size:0;max-inline-size:100%;-webkit-appearance:none;appearance:none}.home-controls #home-date::-webkit-date-and-time-value{min-width:0;text-align:left}}

@media(max-width:700px){body>aside nav{margin-top:8px;gap:0}body>aside nav button{min-height:44px;padding:6px 12px;font-size:14px;line-height:1.25}body>aside #account-bar{margin-top:4px;padding-top:4px;gap:0}body>aside #account-bar button{min-height:36px;padding:4px 12px;font-size:14px;line-height:1.25}body>aside .aside-bottom{padding-top:8px;line-height:1.4}body>aside.menu-open{max-height:100vh;max-height:100dvh;overflow-y:auto}}

body>main{display:flow-root}@media(min-width:701px){body>aside{top:0;bottom:0;height:100vh;height:100dvh}}

@media(max-width:700px){body>aside .brand{height:44px;min-height:44px;max-height:44px;flex-wrap:nowrap}body>aside .brand>span{flex:1;min-width:0;line-height:1.5;padding:2px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}

.week-people{min-width:0}.week-column-label{display:block;font-size:11px;font-weight:700;color:var(--muted);margin-bottom:6px}
