:root{color-scheme:light;--bg:#f5f6fb;--bg-tint:radial-gradient(1200px 600px at 100% -10%,#eef0ff 0%,rgba(238,240,255,0) 55%);--surface:#ffffff;--surface-muted:#f8f9fc;--foreground:#1b2030;--muted:#6b7280;--line:#e7e9f2;--line-strong:#d6d9e8;--brand:#6366f1;--brand-strong:#4f46e5;--brand-contrast:#ffffff;--brand-soft:#eef0fe;--accent:#ff8a5b;--accent-soft:#fff0ea;--danger:#e23b54;--danger-soft:#fde7eb;--warning:#d98324;--warning-soft:#fdf0dd;--success:#0f9d72;--success-soft:#d9f5ec;--radius:14px;--radius-sm:10px;--shadow-sm:0 1px 2px rgba(27,32,48,0.06),0 1px 3px rgba(27,32,48,0.04);--shadow-md:0 6px 20px rgba(27,32,48,0.08);--shadow-lg:0 24px 60px rgba(27,32,48,0.18)}*{box-sizing:border-box}body,html{margin:0}html{scrollbar-gutter:stable}body{background:var(--bg);background-image:var(--bg-tint);background-attachment:fixed;color:var(--foreground);font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:15px;line-height:1.5;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit;color:inherit}a{color:var(--brand-strong);text-decoration:none}a:hover{text-decoration:underline}h1,h2,h3{letter-spacing:-.01em}.shell{min-height:100vh;display:grid;grid-template-columns:256px 1fr}.sidebar{position:-webkit-sticky;position:sticky;top:0;align-self:start;height:100vh;background:linear-gradient(185deg,#2b2a6b,#1d1c4a 60%,#181734);color:#e7e9ff;padding:22px 18px;display:flex;flex-direction:column;gap:26px}.brand{display:flex;align-items:center;gap:12px;padding:4px 6px}.brand-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:linear-gradient(135deg,var(--brand) 0,var(--accent) 100%);color:#fff;font-weight:800;font-size:15px;letter-spacing:.02em;box-shadow:0 6px 16px rgba(99,102,241,.45)}.brand-name{font-size:19px;font-weight:700;color:#fff}.nav{display:grid;grid-gap:4px;gap:4px}.nav a{display:flex;align-items:center;gap:10px;color:#c7c9ef;padding:11px 13px;border-radius:var(--radius-sm);font-weight:600;font-size:14.5px;transition:background .15s ease,color .15s ease}.nav a,.nav a:hover{text-decoration:none}.nav a:hover{background:rgba(255,255,255,.07);color:#fff}.nav a.active{background:linear-gradient(135deg,rgba(99,102,241,.95),rgba(99,102,241,.7));color:#fff;box-shadow:0 8px 20px rgba(79,70,229,.35)}.app-topbar{display:none;position:-webkit-sticky;position:sticky;top:0;z-index:30;align-items:center;gap:12px;height:56px;padding:0 14px;background:#1d1c4a;color:#fff}.app-topbar-brand{font-size:17px;font-weight:700}.nav-close,.nav-toggle{display:inline-grid;place-items:center;padding:6px;border:0;border-radius:var(--radius-sm);background:transparent;color:inherit;cursor:pointer}.nav-close:hover,.nav-toggle:hover{background:rgba(255,255,255,.12)}.nav-close{margin-left:auto;color:#c7c9ef}.nav-close,.sidebar-backdrop{display:none}.content{padding:36px 40px 56px;max-width:1240px;width:100%}.content-wide{max-width:none}.email-copy{border:0;background:none;padding:0;margin:0;font:inherit;color:var(--brand-strong);cursor:pointer;text-align:left}.email-copy:hover{text-decoration:underline}.sidebar-footer{margin-top:auto;display:flex;flex-direction:column;gap:8px;padding-top:16px;border-top:1px solid rgba(255,255,255,.12)}.sidebar-user{font-size:13px;font-weight:600;color:#c7c9ef;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-logout{border:1px solid rgba(255,255,255,.2);background:transparent;color:#e7e9ff;border-radius:var(--radius-sm);padding:9px 13px;font-weight:600;font-size:14px;cursor:pointer;transition:background .15s ease}.sidebar-logout:hover{background:rgba(255,255,255,.1)}.sidebar-logout:disabled{opacity:.6;cursor:not-allowed}.login-page{min-height:100vh;display:grid;place-items:center;padding:24px}.login-card{width:100%;max-width:380px;display:flex;flex-direction:column;gap:16px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:32px;box-shadow:var(--shadow-md)}.login-brand{display:flex;align-items:center;gap:12px}.login-card h1{margin:0;font-size:22px;font-weight:800}.login-card label{display:grid;grid-gap:6px;gap:6px;font-weight:600;font-size:14px}.login-card input{border:1px solid var(--line-strong);border-radius:var(--radius-sm);padding:10px 12px;background:var(--surface)}.login-card input:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-soft)}.login-card .button.primary{justify-content:center}.login-error{margin:0;color:var(--danger);font-size:14px;font-weight:600}.account-form{display:flex;flex-direction:column;gap:16px;max-width:420px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:24px;box-shadow:var(--shadow-sm)}.account-form label{display:grid;grid-gap:6px;gap:6px;font-weight:600;font-size:14px}.account-form input{border:1px solid var(--line-strong);border-radius:var(--radius-sm);padding:10px 12px;background:var(--surface)}.account-form input:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-soft)}.account-feedback-ok{margin:0;color:var(--success);font-size:14px;font-weight:600}.page-header{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:28px}.page-header h1{margin:0 0 6px;font-size:30px;font-weight:800}.page-header p{margin:0;color:var(--muted);max-width:70ch}.year-select{display:flex;flex-direction:column;gap:4px;flex-shrink:0;font-size:13px;font-weight:600;color:var(--muted)}.year-select select{font:inherit;font-size:14px;color:var(--foreground);padding:8px 12px;border:1px solid var(--line-strong);border-radius:var(--radius);background:var(--surface);cursor:pointer}.toolbar{display:flex;gap:10px}.button{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--line-strong);border-radius:var(--radius-sm);background:var(--surface);padding:10px 16px;color:var(--foreground);font-weight:600;cursor:pointer;transition:transform .05s ease,box-shadow .15s ease,background .15s ease,border-color .15s ease}.button:hover{border-color:var(--brand);color:var(--brand-strong);text-decoration:none;box-shadow:var(--shadow-sm)}.button:active{transform:translateY(1px)}.button.primary{background:linear-gradient(135deg,var(--brand) 0,var(--brand-strong) 100%);border-color:transparent;color:var(--brand-contrast);box-shadow:0 8px 18px rgba(79,70,229,.28)}.button.primary:hover{color:#fff;filter:brightness(1.05)}.button.danger{border-color:var(--danger);color:var(--danger);background:var(--surface)}.button.danger:hover{background:var(--danger-soft);color:var(--danger)}.button:disabled{opacity:.55;cursor:not-allowed;box-shadow:none;transform:none}.stats{display:grid;grid-template-columns:repeat(4,minmax(160px,1fr));grid-gap:16px;gap:16px;margin-bottom:24px}.stat{position:relative;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:18px 18px 18px 22px;box-shadow:var(--shadow-sm);overflow:hidden}.stat:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:linear-gradient(180deg,var(--brand),var(--accent))}.stat span{color:var(--muted);font-size:13px;font-weight:600}.stat strong{display:block;margin-top:8px;font-size:30px;font-weight:800;color:var(--foreground)}.acceptance{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:20px 24px;margin-bottom:24px;box-shadow:var(--shadow-sm)}.acceptance-title{margin:0 0 16px;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--muted)}.acceptance-list{display:grid;grid-gap:12px;gap:12px;margin:0;padding:0;list-style:none}.acceptance-item{display:grid;grid-template-columns:minmax(120px,200px) 1fr 60px;align-items:center;grid-gap:14px;gap:14px}.acceptance-promo{font-weight:600}.acceptance-bar{height:10px;background:var(--surface-muted);border-radius:999px;overflow:hidden}.acceptance-fill{display:block;height:100%;border-radius:999px;transition:width .3s ease}.acceptance-pct{text-align:right;font-weight:700;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.missioned-hint{margin:0 0 12px;font-size:13px;color:var(--muted)}.missioned-list{display:flex;flex-wrap:wrap;gap:10px;margin:0;padding:0;list-style:none}.missioned-chip{display:inline-flex;align-items:center;padding:8px 14px;border:1px solid var(--line-strong);border-radius:999px;background:var(--surface);color:var(--foreground);font:inherit;font-weight:600;font-size:14px;text-decoration:none;cursor:pointer;transition:background .15s ease,border-color .15s ease,transform .05s ease}.missioned-chip:hover{background:var(--brand-soft);border-color:var(--brand)}.missioned-chip:active{transform:translateY(1px)}.missioned-chip.is-active{background:var(--brand);border-color:var(--brand);color:#fff}.missioned-chip.is-sent{border-color:var(--success);background:var(--success-soft);color:var(--success)}.missioned-chip.is-sent.is-active{background:var(--brand);border-color:var(--brand);color:#fff}.missioned-chip-icon{margin-left:8px;font-size:13px;line-height:1}.email-panel{margin-top:16px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-muted);padding:16px;overflow:hidden;animation:email-slide .18s ease}@keyframes email-slide{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}.email-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.email-panel-title{margin:0;font-size:15px;font-weight:700}.email-panel-head-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.mission-sent-toggle.is-sent{border-color:var(--success);background:var(--success-soft);color:var(--success)}.mission-sent-toggle:disabled{opacity:.6;cursor:progress}.email-panel-status{margin:0;color:var(--muted);font-size:14px}.email-toolbar{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}.email-toolbar button{min-width:34px;padding:6px 10px;border:1px solid var(--line-strong);border-radius:var(--radius-sm);background:var(--surface);color:var(--foreground);font-size:13px;cursor:pointer;transition:background .15s ease,border-color .15s ease}.email-toolbar button:hover{background:var(--brand-soft);border-color:var(--brand)}.email-editor{min-height:280px;padding:16px 18px;border:1px solid var(--line-strong);border-radius:var(--radius-sm);background:var(--surface);font-size:14px;line-height:1.6;outline:none}.email-editor:focus{border-color:var(--brand)}.email-editor p{margin:0 0 12px}.email-editor ul{margin:0 0 12px;padding-left:22px}.email-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}.trainer-comment{max-width:220px;white-space:pre-wrap;word-break:break-word;color:var(--muted);font-size:13px}.planning{width:100%;border-collapse:separate;border-spacing:0;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-sm)}.planning td,.planning th{padding:14px 16px;text-align:left;border-bottom:1px solid var(--line)}.planning th{font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);background:var(--surface-muted);font-weight:700}.planning tbody tr:last-child td{border-bottom:none}.planning tbody tr:hover td{background:var(--brand-soft)}.conflict-panel{display:grid;grid-template-columns:1fr 280px;grid-gap:16px;gap:16px;align-items:center;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:20px;margin-bottom:24px;box-shadow:var(--shadow-sm)}.conflict-panel h2{margin:0 0 6px;font-size:18px}.conflict-panel p{margin:0;color:var(--muted)}.conflict-panel select{border:1px solid var(--line-strong);border-radius:var(--radius-sm);padding:10px 12px;background:var(--surface)}.conflict-alert,.conflict-ok{grid-column:1/-1;border-radius:var(--radius-sm);padding:12px 14px;font-weight:700}.conflict-alert{background:var(--danger-soft);color:var(--danger)}.conflict-ok{background:var(--success-soft);color:var(--success)}.status{display:inline-flex;align-items:center;gap:6px;min-width:110px;justify-content:center;border-radius:999px;padding:5px 12px;font-size:12.5px;font-weight:700}.status:before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}.status.red{background:var(--danger-soft);color:var(--danger)}.status.orange{background:var(--warning-soft);color:var(--warning)}.status.green{background:var(--success-soft);color:var(--success)}.trainer-tip{position:relative;display:inline-flex}.trainer-info{display:inline-flex;align-items:center;justify-content:center;padding:0;background:none;border:none;cursor:pointer;font-size:12px;line-height:1}.trainer-tip-bubble{bottom:calc(100% + 8px);z-index:30;width:max-content;max-width:240px;padding:7px 11px;border-radius:8px;background:var(--foreground);color:var(--surface);font-size:12px;font-weight:600;line-height:1.35;text-align:center;white-space:normal;box-shadow:var(--shadow-md);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .12s ease}.trainer-tip-bubble,.trainer-tip-bubble:after{position:absolute;left:50%;transform:translateX(-50%)}.trainer-tip-bubble:after{content:"";top:100%;border:5px solid transparent;border-top:5px solid var(--foreground)}.trainer-info:focus-visible+.trainer-tip-bubble,.trainer-tip-bubble.open,.trainer-tip:hover .trainer-tip-bubble{opacity:1;visibility:visible}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(220px,1fr));grid-gap:16px;gap:16px;margin-bottom:24px;max-width:980px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:22px;box-shadow:var(--shadow-sm)}.form-grid.wide{grid-template-columns:repeat(3,minmax(220px,1fr));max-width:none}.form-grid label{display:grid;grid-gap:6px;gap:6px;font-weight:600;font-size:14px}.form-grid input,.form-grid select,.form-grid textarea{width:100%;border:1px solid var(--line-strong);border-radius:var(--radius-sm);padding:10px 12px;background:var(--surface);transition:border-color .15s ease,box-shadow .15s ease}.filters input:focus,.filters select:focus,.form-grid input:focus,.form-grid select:focus,.form-grid textarea:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-soft)}.form-actions{grid-column:1/-1;display:flex;gap:10px}.form-feedback{margin:-8px 0 24px;color:var(--brand-strong);font-weight:600}.empty-row{text-align:center;color:var(--muted);padding:22px}.row-actions{display:flex;gap:8px}.row-actions .button{padding:6px 12px;font-size:13px}.export-actions{display:flex;flex-wrap:wrap;gap:12px}.filters{display:grid;grid-template-columns:260px 1fr;grid-gap:16px;gap:16px;margin-bottom:24px;max-width:720px}.filters label{display:grid;grid-gap:6px;gap:6px;font-weight:600;font-size:14px}.filters input,.filters select{border:1px solid var(--line-strong);border-radius:var(--radius-sm);padding:10px 12px;background:var(--surface)}.filters-trainers{grid-template-columns:1fr 200px 180px 170px;max-width:1040px}.filters-courses{grid-template-columns:240px 200px 1fr;max-width:860px}.filters-planning{grid-template-columns:repeat(4,minmax(150px,1fr));max-width:1040px}.trainer-edit{display:grid;grid-template-columns:repeat(3,minmax(160px,1fr));grid-gap:14px;gap:14px;padding:6px 0;align-items:end}.trainer-edit label{display:grid;grid-gap:6px;gap:6px;font-weight:600;font-size:13px}.trainer-edit input,.trainer-edit select{border:1px solid var(--line-strong);border-radius:var(--radius-sm);padding:9px 11px;background:var(--surface);font:inherit}.trainer-edit-actions{grid-column:1/-1;display:flex;gap:10px}.row-editing td{background:var(--brand-soft)}.filters-programming{display:flex;flex-direction:column;gap:12px;max-width:none}.programming-selectors{display:flex;flex-wrap:wrap;gap:16px}.programming-selectors>label{flex:1 1;min-width:240px;max-width:320px}.filters-action{display:flex;gap:12px}.filters-action>.button{flex:1 1;justify-content:center}.planning td select{width:100%;min-width:160px;border:1px solid var(--line-strong);border-radius:var(--radius-sm);padding:8px 10px;background:var(--surface)}.planning td select:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-soft)}.schedule-input{border:1px solid var(--line-strong);border-radius:var(--radius-sm);padding:7px 9px;background:var(--surface);font:inherit}.schedule-input:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-soft)}.schedule-times{gap:6px}.saved-flag,.schedule-times{display:inline-flex;align-items:center;white-space:nowrap}.saved-flag{color:var(--success);font-size:12.5px;font-weight:700}.status-toggle{display:inline-flex;gap:4px;background:var(--surface-muted);border:1px solid var(--line);border-radius:999px;padding:3px}.status-emoji{border:none;background:none;cursor:pointer;font-size:17px;line-height:1;padding:4px 7px;border-radius:999px;filter:grayscale(1) opacity(.45);transition:filter .12s ease,background .12s ease,transform .05s ease}.status-emoji:hover{filter:grayscale(0) opacity(.85);background:rgba(99,102,241,.08)}.status-emoji.active{filter:none;background:var(--surface);box-shadow:var(--shadow-sm)}.status-emoji:active{transform:scale(.92)}.conflict-banner{background:var(--danger-soft);color:var(--danger);border:1px solid #f6c9d1;border-radius:var(--radius-sm);padding:12px 16px;margin:0 0 18px;font-weight:700}.planning select.needs-value{border-color:var(--danger);box-shadow:0 0 0 1px var(--danger) inset}.planning tr.has-conflict>td{border-bottom:none}.planning tr.conflict-row>td{padding-top:0}.conflict-note{display:flex;flex-wrap:wrap;align-items:center;gap:12px;background:var(--danger-soft);color:var(--danger);border:1px solid #f6c9d1;border-radius:var(--radius-sm);padding:10px 14px;font-size:13px;font-weight:600}.conflict-note .button.forcing{margin-left:auto;background:var(--danger);color:#fff;border-color:var(--danger);padding:6px 14px;font-size:12px;white-space:nowrap}.conflict-note .button.forcing:hover{filter:brightness(.94)}.blacklist-toggle{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:600;cursor:pointer;white-space:nowrap}.blacklist-toggle input{width:16px;height:16px;accent-color:var(--danger);cursor:pointer}.row-blacklisted td{background:var(--danger-soft)}.row-blacklisted td:first-child{color:var(--danger);font-weight:700}.tags{display:flex;flex-wrap:wrap;gap:6px}.tag{display:inline-flex;align-items:center;background:var(--brand-soft);color:var(--brand-strong);border:1px solid #dfe1fb;border-radius:999px;padding:3px 10px;font-size:12.5px;font-weight:600;white-space:nowrap}.course-list{list-style:none;margin:0;padding:0;display:grid;grid-gap:12px;gap:12px}.course-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:visible;box-shadow:var(--shadow-sm);transition:box-shadow .15s ease,border-color .15s ease}.course-card:hover{box-shadow:var(--shadow-md);border-color:var(--line-strong)}.course-row{justify-content:space-between;padding-right:20px}.course-head,.course-row{display:flex;align-items:center;gap:16px}.course-head{flex:1 1 auto;min-width:0;padding:16px 20px;background:none;border:none;border-top-left-radius:var(--radius);text-align:left;cursor:pointer}.course-head:hover{background:var(--surface-muted)}.course-title{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.course-title strong{font-size:16px}.course-group{background:var(--brand-soft);color:var(--brand-strong);font-weight:800;letter-spacing:.02em}.course-group,.course-year{display:inline-flex;align-items:center;border-radius:8px;padding:4px 10px;font-size:12px}.course-year{background:var(--accent-soft);color:#b4502b;font-weight:700}.course-spec{color:var(--muted);font-size:13px}.edit-row{display:grid;grid-template-columns:1fr 200px;grid-gap:14px;gap:14px}@media (max-width:720px){.edit-row{grid-template-columns:1fr}}.course-badges{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.course-hours{font-weight:700;font-size:13px;color:var(--foreground);border:1px solid var(--line);border-radius:999px;padding:4px 12px}.course-detail,.course-hours{background:var(--surface-muted)}.course-detail{border-top:1px solid var(--line);border-bottom-left-radius:var(--radius);border-bottom-right-radius:var(--radius);padding:20px;display:grid;grid-gap:16px;gap:16px}.objective-block{border:1px solid var(--line);border-radius:var(--radius-sm);padding:16px;background:var(--surface)}.objective-hours{display:inline-flex;background:linear-gradient(135deg,var(--brand),var(--brand-strong));color:#fff;border-radius:999px;padding:4px 14px;font-weight:700;font-size:13px;margin-bottom:14px}.objective-fields{margin:0;display:grid;grid-template-columns:repeat(2,minmax(220px,1fr));grid-gap:14px;gap:14px}.objective-field dt{font-weight:700;font-size:12px;text-transform:uppercase;letter-spacing:.03em;color:var(--brand-strong);margin-bottom:4px}.objective-field dd{margin:0;white-space:pre-wrap;color:var(--foreground)}.objective-field dd.missing{color:var(--danger);font-style:italic;font-weight:600}.course-detail-actions{display:flex;justify-content:flex-end;gap:10px}.courses-summary{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:16px}.courses-summary .course-hours{font-size:14px;background:linear-gradient(135deg,var(--brand),var(--brand-strong));color:#fff;border-color:transparent}.courses-summary-count{font-size:13px;color:var(--muted,var(--foreground))}.bulk-actions{display:flex;justify-content:flex-end;margin-bottom:16px}.add-toggle{margin-bottom:20px}.course-add{border-color:var(--brand)}.edit-title{display:grid;grid-gap:6px;gap:6px;font-weight:700;font-size:14px}.edit-title input{border:1px solid var(--line-strong);border-radius:var(--radius-sm);padding:10px 12px;background:var(--surface)}.objective-field-edit{display:grid;grid-gap:6px;gap:6px;font-weight:700;font-size:12px;text-transform:uppercase;letter-spacing:.03em;color:var(--brand-strong)}.objective-field-edit textarea{border:1px solid var(--line-strong);border-radius:var(--radius-sm);padding:10px 12px;background:var(--surface);font:inherit;text-transform:none;letter-spacing:normal;color:var(--foreground);font-weight:400}.edit-title input:focus,.objective-field-edit textarea:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-soft)}.modal-overlay{position:fixed;inset:0;background:rgba(24,23,52,.5);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;padding:20px;z-index:50}.modal{background:var(--surface);border-radius:18px;width:min(560px,100%);max-height:90vh;overflow-y:auto;padding:26px;box-shadow:var(--shadow-lg)}.modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:8px}.modal-head h2{margin:0;font-size:20px;font-weight:800}.modal-close{border:none;background:none;font-size:26px;line-height:1;cursor:pointer;color:var(--muted)}.modal-close:hover{color:var(--foreground)}.modal-desc{margin:0 0 12px;color:var(--muted)}.modal-columns{margin:0 0 16px;font-size:13px;color:var(--muted);background:var(--surface-muted);border:1px solid var(--line);border-radius:var(--radius-sm);padding:10px 12px}.modal-steps{margin:0 0 16px;padding-left:20px;display:grid;grid-gap:12px;gap:12px}.modal-file{display:grid;grid-gap:6px;gap:6px;font-size:14px}.modal-file span{color:var(--muted);font-size:13px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:8px}@media (max-width:900px){.shell{grid-template-columns:1fr}.app-topbar{display:flex}.sidebar{position:fixed;top:0;left:0;height:100vh;width:264px;padding:18px;z-index:50;transform:translateX(-100%);transition:transform .22s ease}.sidebar.open{transform:translateX(0)}.nav-close{display:inline-grid}.sidebar-backdrop{display:block;position:fixed;inset:0;z-index:40;background:rgba(15,14,40,.5)}.nav{grid-template-columns:1fr}.content{padding:20px 16px 40px;overflow-x:auto}.page-header{align-items:flex-start;flex-direction:column}.stats{grid-template-columns:repeat(2,minmax(140px,1fr))}.conflict-panel{grid-template-columns:1fr}.filters,.filters-courses,.filters-planning,.filters-trainers,.form-grid,.form-grid.wide,.objective-fields,.trainer-edit{grid-template-columns:1fr;max-width:none}.programming-selectors>label{max-width:none}.filters-action{flex-wrap:wrap}.course-row{flex-direction:column;align-items:flex-start;gap:0;padding-right:0}.course-badges{padding:0 20px 16px}}