﻿:root{font-family:Inter,system-ui,sans-serif;color:#172033;background:#f4f6fa;line-height:1.5}*{box-sizing:border-box}body{margin:0}header{min-height:70px;background:#fff;border-bottom:1px solid #e3e7ef;display:flex;align-items:center;justify-content:space-between;padding:10px max(24px,calc((100% - 1100px)/2));gap:20px}.brand{font-size:19px;font-weight:750;color:#172033;text-decoration:none}nav{display:flex;align-items:center;gap:20px}nav>a:not(.button){color:#536079;text-decoration:none;font-weight:600}main{max-width:2400px;margin:45px auto;padding:0 28px}.button,button{display:inline-block;border:0;border-radius:9px;background:#3157d5;color:#fff;text-decoration:none;padding:11px 18px;font-weight:650;cursor:pointer;font-size:15px}.page-heading,.detail-head{display:flex;justify-content:space-between;align-items:flex-start;gap:25px;margin-bottom:30px}h1{font-size:32px;margin:0 0 6px}h2{margin-top:0}p{color:#637083}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px}.card,.empty,.form-card,.detail-head,.table-wrap{background:#fff;border:1px solid #e1e6ef;border-radius:13px;box-shadow:0 3px 14px #1720330a}.card{padding:23px;text-decoration:none;color:inherit;transition:.15s}.card:hover{transform:translateY(-2px);border-color:#3157d5}.card h2{margin-bottom:8px}.card p{margin:8px 0 20px}.card span,.meta span{font-size:14px;color:#536079;background:#f0f3f9;padding:6px 9px;border-radius:7px}.empty{grid-column:1/-1;text-align:center;padding:55px}.detail-head{padding:28px}.detail-head p{max-width:700px}.meta{display:flex;gap:9px;flex-wrap:wrap;margin-top:18px}.back{display:inline-block;margin-bottom:18px;color:#3157d5;text-decoration:none}.table-wrap{overflow-x:auto;width:100%;max-width:100%}table{width:100%;border-collapse:collapse;font-size:13.5px}th,td{text-align:left;padding:10px 14px;border-bottom:1px solid #e9edf4;border-right:1px solid #eef1f6}th:last-child,td:last-child{border-right:0}th{background:#f8f9fc;font-size:11px;letter-spacing:.04em;text-transform:uppercase;color:#637083;font-weight:750;border-bottom:2px solid #e1e6ef;white-space:nowrap}tr:last-child td{border-bottom:0}tbody tr:hover{background:#f8faff}td a{color:#3157d5;text-decoration:none}.empty-row{text-align:center;color:#7a8496;padding:35px}.truncate-cell{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.form-card{max-width:660px;margin:0 auto;padding:30px}.form-card form>div{margin-top:18px}.form-card label{display:block;font-weight:650;margin-bottom:6px}.form-card input,.form-card textarea,.form-card select{width:100%;border:1px solid #ccd3df;border-radius:8px;padding:11px 12px;font:inherit;background:#fff}.form-card input:focus,.form-card textarea:focus,.form-card select:focus{outline:2px solid #3157d530;border-color:#3157d5}.errorlist{color:#b42318;padding-left:20px}.actions{display:flex;justify-content:flex-end;align-items:center;gap:18px}.actions a{color:#637083}.message{padding:13px 16px;background:#e9f8ef;color:#176b3a;border-radius:8px;margin-bottom:22px}small{font-size:13px;background:#e8ecf7;padding:4px 8px;border-radius:20px}.row-actions{white-space:nowrap}.row-actions a{margin-right:12px}.danger{color:#b42318}.danger-button{background:#b42318}.clickable-table tbody tr{cursor:pointer}.clickable-table tbody tr:hover{background:#f7f9fd}.future-modules{margin-top:28px;padding:22px;border:1px dashed #b8c2d6;border-radius:12px}.pagination{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-top:16px;width:100%;max-width:100%}.pagination a,.pagination .disabled{display:inline-block;padding:9px 16px;border:1px solid #ccd3df;border-radius:8px;text-decoration:none;font-weight:650;font-size:14px;background:#fff;color:#3157d5}.pagination a:hover{background:#f4f7ff}.pagination .disabled{color:#b7bfcc;cursor:default}.pagination-status{color:#637083;font-size:14px}.pagination-status small{background:none;padding:0;font-size:inherit}@media(max-width:750px){header{padding:12px 16px;align-items:flex-start;flex-direction:column}.brand{font-size:16px}nav{width:100%;gap:12px;flex-wrap:wrap}nav .button{display:none}main{margin:28px auto;padding:0 16px}.detail-head,.page-heading{flex-direction:column}.detail-head .button{width:100%;text-align:center}.table-wrap{width:100%;max-width:100%;position:static;left:auto;transform:none}.pagination{width:100%;max-width:100%;position:static;left:auto;transform:none;justify-content:center;text-align:center}table{min-width:720px}}
.filter-panel{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:14px;align-items:end;background:#fff;border:1px solid #e1e6ef;border-radius:13px;padding:20px;margin-bottom:22px}.filter-panel label{display:block;font-size:13px;font-weight:650;margin-bottom:5px}.filter-panel input,.filter-panel select{width:100%;border:1px solid #ccd3df;border-radius:8px;padding:10px;font:inherit;background:#fff}.filter-actions{display:flex;align-items:center;gap:12px}.filter-actions a{color:#637083}@media(max-width:750px){.filter-panel{grid-template-columns:1fr}}
.filter-panel{display:block;background:linear-gradient(135deg,#fff 0%,#fbfcff 100%);border:1px solid #dce3ef;border-radius:16px;padding:0;margin-bottom:24px;overflow:hidden;box-shadow:0 8px 24px rgba(23,32,51,.06)}.filter-heading{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;border-bottom:1px solid #e8edf5;background:#f8faff}.filter-title{display:flex;align-items:center;gap:12px}.filter-title>div{display:flex;flex-direction:column}.filter-title strong{font-size:15px}.filter-title small{padding:0;background:none;color:#7a8496;font-size:12px}.filter-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#e9eeff;color:#3157d5;font-size:22px;font-weight:700}.result-count{font-size:12px;font-weight:700;color:#3157d5;background:#e9eeff;border-radius:20px;padding:6px 10px}.filter-grid{display:grid;grid-template-columns:1.5fr 1fr .85fr .85fr;gap:16px;padding:22px}.filter-field label{display:block;margin:0 0 7px;font-size:12px;font-weight:750;letter-spacing:.02em;color:#536079}.filter-field input,.filter-field select{width:100%;height:44px;border:1px solid #cfd7e5;border-radius:10px;padding:0 13px;font:inherit;color:#172033;background:#fff;transition:border-color .15s,box-shadow .15s}.filter-field input:hover,.filter-field select:hover{border-color:#aeb9cb}.filter-field input:focus,.filter-field select:focus{outline:none;border-color:#3157d5;box-shadow:0 0 0 3px rgba(49,87,213,.12)}.filter-search input{padding-left:14px}.filter-actions{display:flex;justify-content:flex-end;align-items:center;gap:16px;padding:0 22px 20px}.filter-actions button{display:flex;align-items:center;gap:7px;min-width:165px;justify-content:center;box-shadow:0 4px 10px rgba(49,87,213,.2)}.clear-filter{color:#637083;text-decoration:none;font-size:14px;font-weight:600}.clear-filter:hover{color:#3157d5}.filter-field .errorlist{font-size:12px;margin:5px 0 0;padding-left:16px}@media(max-width:900px){.filter-grid{grid-template-columns:1fr 1fr}.filter-search{grid-column:1/-1}}@media(max-width:560px){.filter-heading{padding:15px}.filter-title small{display:none}.filter-grid{grid-template-columns:1fr;padding:16px}.filter-search{grid-column:auto}.filter-actions{padding:0 16px 16px;justify-content:space-between}.filter-actions button{min-width:auto}.result-count{white-space:nowrap}}
.filter-grid{grid-template-columns:minmax(160px,1.3fr) minmax(125px,1fr) minmax(115px,.9fr) minmax(125px,.9fr) minmax(125px,.9fr) auto;gap:10px;align-items:end}.filter-actions{padding:0;gap:8px;white-space:nowrap}.filter-actions button{min-width:94px;height:44px;padding:0 13px}.clear-filter{padding:10px 3px}.contact-section{margin:30px 0}.section-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.section-heading p{margin-top:-10px}@media(max-width:1050px){.filter-grid{grid-template-columns:repeat(3,1fr)}.filter-actions{justify-content:flex-end}}@media(max-width:650px){.filter-grid{grid-template-columns:1fr}.filter-actions{justify-content:space-between}.section-heading{flex-direction:column}}
.hierarchy-card{background:#fff;border:1px solid #e1e6ef;border-radius:12px;padding:18px;margin:12px 0}.hierarchy-card>div{display:flex;gap:12px;align-items:center}.hierarchy-card>div span{color:#637083}.hierarchy-card>a{display:inline-block;margin-top:8px;color:#3157d5;text-decoration:none}.hierarchy-card ul{margin-bottom:0;padding-left:22px}.hierarchy-card li{margin:7px 0}
.result-control{display:flex;align-items:center;gap:8px;white-space:nowrap}.result-buttons{display:flex;gap:4px}.result-buttons form{margin:0}.result-button{width:30px;height:30px;padding:0;border-radius:8px;font-size:18px;line-height:1;box-shadow:none}.result-button.pass{background:#e8f7ee;color:#168447;border:1px solid #b9e5c9}.result-button.pass:hover{background:#168447;color:#fff}.result-button.fail{background:#fff0ef;color:#c4312b;border:1px solid #f1c3c0}.result-button.fail:hover{background:#c4312b;color:#fff}.status-badge{font-size:11px;font-weight:750;padding:5px 8px;border-radius:20px}.status-pending{background:#eef1f6;color:#667085}.status-passed{background:#e8f7ee;color:#168447}.status-failed{background:#fff0ef;color:#c4312b}.muted{color:#8a94a6;font-size:13px}
.attendance-day-list{display:flex;flex-wrap:wrap;gap:6px;min-width:210px}.attendance-day-form{margin:0}.attendance-day-form label{display:flex;align-items:center;gap:6px;border:1px solid #dfe6ef;border-radius:999px;background:#fff;padding:5px 8px;font-size:11px;font-weight:750;color:#536079;white-space:nowrap;cursor:pointer}.attendance-day-form label:has(input:checked){background:#e8f7ee;border-color:#b9e5c9;color:#168447}.attendance-day-form input{width:14px;height:14px;margin:0;accent-color:#168447}
.heading-actions{display:flex;align-items:center;gap:16px}.heading-actions>a:not(.button){color:#3157d5;text-decoration:none;font-weight:650}.group-table td{padding-top:20px;padding-bottom:20px}.group-table td:last-child{text-align:right}.count-pill{display:inline-block;padding:7px 12px;border-radius:20px;background:#edf1ff;color:#3157d5;font-size:13px;font-weight:750}
.company-form{max-width:780px}.form-section{padding:20px 0;border-top:1px solid #e8edf4}.form-section:first-of-type{margin-top:22px}.form-section h2{font-size:18px;margin-bottom:2px}.form-section>p,.section-label p{margin:0 0 15px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.section-label{display:flex;justify-content:space-between;align-items:flex-start}.section-label span{font-size:11px;font-weight:750;color:#637083;background:#eef1f6;padding:5px 9px;border-radius:15px}.company-form form>.actions{border-top:1px solid #e8edf4;padding-top:20px}@media(max-width:650px){.form-grid{grid-template-columns:1fr}}
.app-body{margin:0;background:#f3f6fb;color:#182230;font-family:Inter,system-ui,sans-serif}.app-shell{min-height:100vh;display:grid;grid-template-columns:248px minmax(0,1fr)}.app-sidebar{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;padding:24px 18px 18px;background:linear-gradient(180deg,#111b2e 0%,#17243b 100%);color:#fff;box-shadow:8px 0 28px rgba(13,24,44,.08);z-index:20}.app-logo{display:flex;align-items:center;gap:11px;color:#fff;text-decoration:none;padding:0 8px 27px}.app-logo:hover{color:#fff}.logo-mark{display:grid;place-items:center;width:40px;height:40px;border-radius:11px;background:linear-gradient(135deg,#4f7cff,#6b5cff);font-size:13px;font-weight:800;box-shadow:0 7px 18px rgba(79,124,255,.3)}.app-logo>span:last-child{display:flex;flex-direction:column;line-height:1.1}.app-logo strong{font-size:16px;letter-spacing:-.02em}.app-logo small{margin-top:4px;padding:0;background:none;color:#8fa0bc;font-size:10px;letter-spacing:.04em}.nav-caption{padding:0 12px 9px;color:#687b9b;font-size:10px;font-weight:800;letter-spacing:.13em}.side-nav{display:flex;flex-direction:column;gap:5px}.side-nav a{display:flex;align-items:center;gap:11px;min-height:44px;padding:9px 11px;border-radius:10px;color:#aebbd0;text-decoration:none;font-size:13px;font-weight:600;transition:.16s}.side-nav a:hover{color:#fff;background:rgba(255,255,255,.06)}.side-nav a.active{color:#fff;background:linear-gradient(90deg,rgba(79,124,255,.24),rgba(79,124,255,.1));box-shadow:inset 3px 0 #6d8fff}.nav-icon{display:grid;place-items:center;width:25px;height:25px;border-radius:7px;background:rgba(255,255,255,.055);font-size:15px}.side-nav a.active .nav-icon{background:#4f70df}.sidebar-spacer{flex:1}.sidebar-card{margin:18px 2px;padding:16px;border:1px solid rgba(255,255,255,.08);border-radius:13px;background:rgba(255,255,255,.045)}.sidebar-card-icon{display:grid;place-items:center;width:29px;height:29px;border-radius:8px;background:#4f70df;margin-bottom:11px}.sidebar-card strong{display:block;font-size:13px}.sidebar-card p{margin:4px 0 11px;color:#8fa0bc;font-size:11px}.sidebar-card a{color:#b9c8ff;text-decoration:none;font-size:11px;font-weight:700}.sidebar-footer{display:flex;align-items:center;gap:8px;padding:13px 9px 0;border-top:1px solid rgba(255,255,255,.07);color:#8fa0bc;font-size:11px}.status-dot{width:7px;height:7px;border-radius:50%;background:#45ce82;box-shadow:0 0 0 4px rgba(69,206,130,.1)}.app-workspace{min-width:0}.app-topbar{height:72px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;padding:0 34px!important;background:rgba(255,255,255,.92)!important;border-bottom:1px solid #e3e8f0!important;backdrop-filter:blur(14px);position:sticky;top:0;z-index:15}.app-topbar>div{display:flex;flex-direction:column}.app-topbar strong{font-size:15px}.topbar-kicker{font-size:9px;font-weight:800;letter-spacing:.13em;color:#8b98aa}.topbar-create{display:flex;align-items:center;gap:7px;padding:9px 14px;border-radius:9px;background:#3157d5;color:#fff;text-decoration:none;font-size:12px;font-weight:700;box-shadow:0 5px 12px rgba(49,87,213,.18)}.topbar-create:hover{color:#fff;background:#2749bd}.app-main{max-width:1240px!important;margin:0 auto!important;padding:36px 38px 60px!important}.app-main h1{font-weight:800;letter-spacing:-.035em;color:#172033}.app-main h2,.app-main h3,.app-main h4{letter-spacing:-.02em}.app-message{display:flex;align-items:center;gap:9px;border:1px solid #bfe5ce;box-shadow:0 4px 12px rgba(22,107,58,.06)}.app-main .button{background:linear-gradient(135deg,#3157d5,#4d6fe0);box-shadow:0 6px 14px rgba(49,87,213,.18)}.app-main .table-wrap,.app-main .form-card,.app-main .detail-head,.app-main .card{box-shadow:0 7px 24px rgba(31,45,72,.055);border-color:#dfe5ee}.app-main table tbody tr{transition:background .15s}.app-main table tbody tr:hover{background:#f8faff}.app-main .page-heading p{font-size:14px}.app-main .back{font-size:13px;font-weight:650}@media(max-width:900px){.app-shell{grid-template-columns:1fr}.app-sidebar{position:relative;height:auto;padding:14px 16px}.app-logo{padding:0 0 14px}.nav-caption,.sidebar-card,.sidebar-footer{display:none}.side-nav{flex-direction:row;overflow-x:auto;padding-bottom:2px}.side-nav a{flex:0 0 auto;min-height:39px;padding:7px 10px}.app-topbar{height:62px!important;padding:0 18px!important}.app-main{padding:26px 18px 45px!important}}@media(max-width:560px){.app-topbar strong{font-size:13px}.topbar-create{padding:8px 10px}.topbar-create span{display:none}.app-main{padding:22px 14px 40px!important}.side-nav a span:last-child{font-size:11px}}
.course-table-section{margin-bottom:34px}.table-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:14px}.table-section-heading h2{font-size:20px;margin:0 0 3px}.table-section-heading p{margin:0;font-size:13px}.table-count{font-size:12px;font-weight:750;padding:6px 10px;border-radius:20px;background:#e9eeff;color:#3157d5;white-space:nowrap}.completed-count{background:#eef1f5;color:#5d697b}.session-status{display:inline-block;padding:5px 8px;border-radius:15px;font-size:11px;font-weight:750;white-space:nowrap}.active-session{background:#e8f7ee;color:#168447}.completed-session{background:#eef1f5;color:#5d697b}.completed-section{margin-top:42px}.completed-section table tbody{color:#566174}.completed-section table tbody strong{color:#344054}@media(max-width:650px){.table-section-heading{flex-direction:column;gap:8px}}
.message.error{background:#fff0ef;color:#a52a25;border:1px solid #f1c3c0}

.system-home-body{min-height:100vh;background:radial-gradient(circle at 28% 18%,#eef3ff 0,#f8faff 40%,#fff 75%)}
.system-home-body main{width:100%!important;max-width:none!important;min-height:100vh!important;margin:0!important;padding:0!important;background:radial-gradient(circle at 28% 18%,#eef3ff 0,#f8faff 40%,#fff 75%)!important}
.system-home{max-width:1280px;min-height:100vh;margin:0 auto;padding:54px 20px 80px;display:flex;flex-direction:column;justify-content:center}
.system-home-hero{margin-bottom:30px;text-align:center}
.system-home-kicker{display:inline-flex;align-items:center;border-radius:999px;background:#eaf1ff;color:#3157d5;padding:7px 12px;font-size:12px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}
.system-home h1{margin:16px 0 10px;font-size:44px;line-height:1.05;letter-spacing:-.045em;color:#111827}
.system-home-hero p{max-width:680px;margin:0 auto;color:#536079;font-size:16px}
.system-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.system-choice-card{position:relative;min-height:290px;display:flex;flex-direction:column;justify-content:space-between;gap:24px;padding:30px;border:1px solid #dce4f2;border-radius:24px;background:#fff;color:#111827;text-decoration:none;box-shadow:0 18px 50px rgba(31,45,72,.09);overflow:hidden;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.system-choice-card:before{content:"";position:absolute;inset:auto -70px -90px auto;width:230px;height:230px;border-radius:50%;opacity:.3}
.system-choice-card:hover{transform:translateY(-4px);border-color:#3157d5;box-shadow:0 24px 60px rgba(31,45,72,.14);color:#111827}
.system-choice-card span{display:block;margin-bottom:9px;color:#667085;font-size:12px;font-weight:850;text-transform:uppercase;letter-spacing:.08em}
.system-choice-card h2{margin:0 0 10px;font-size:30px;letter-spacing:-.035em}
.system-choice-card p{max-width:460px;margin:0;color:#536079;font-size:15px;line-height:1.55}
.system-choice-card strong{align-self:flex-start;color:#3157d5;font-size:15px}
.system-choice-icon{display:grid;place-items:center;width:68px;height:68px;border-radius:18px;color:#fff;font-weight:900;letter-spacing:.04em}
.tms-choice .system-choice-icon,.tms-choice:before{background:#285f86}
.records-choice .system-choice-icon,.records-choice:before{background:#3157d5}
.proposal-choice .system-choice-icon,.proposal-choice:before{background:#7c3aed}
.records-choice .system-choice-icon{background:linear-gradient(135deg,#3157d5,#6b7cff)}
.tms-choice .system-choice-icon{background:linear-gradient(135deg,#285f86,#0f3f61)}
.proposal-choice .system-choice-icon{background:linear-gradient(135deg,#7c3aed,#3157d5)}
@media(max-width:1050px){.system-choice-grid{grid-template-columns:1fr}.system-home{max-width:720px}.system-home h1{font-size:34px}.system-choice-card{min-height:240px}}

.participant-filter-grid{grid-template-columns:minmax(150px,1.2fr) repeat(3,minmax(125px,1fr)) repeat(2,minmax(120px,.8fr)) auto}.group-badge{display:inline-block;padding:5px 8px;border-radius:7px;background:#edf1ff;color:#3157d5;font-size:11px;font-weight:750;white-space:nowrap}@media(max-width:1100px){.participant-filter-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:650px){.participant-filter-grid{grid-template-columns:1fr}}
.participant-page-body main{max-width:2400px}.participant-page-body .table-wrap{overflow-x:auto}.participant-page-body table{min-width:1430px}.participant-page-body th,.participant-page-body td{padding-left:14px;padding-right:14px}
.person-page-body main{max-width:2400px}.person-filter-grid{grid-template-columns:minmax(150px,1.2fr) repeat(3,minmax(120px,1fr)) repeat(2,minmax(120px,.8fr)) auto}.person-table-wrap{overflow-x:auto}.person-table-wrap table{min-width:1220px}.person-form-card{max-width:920px}.compact-heading{margin-bottom:18px}.person-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.person-form-grid .form-field{margin-top:0}.secondary-button{display:inline-block;border:1px solid #ccd3df;border-radius:9px;background:#fff;color:#3157d5;text-decoration:none;padding:10px 15px;font-weight:650;font-size:14px}.company-actions{display:flex;gap:14px;align-items:center}@media(max-width:1100px){.person-filter-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:650px){.person-filter-grid,.person-form-grid{grid-template-columns:1fr}.company-actions{flex-direction:column;align-items:flex-start;gap:6px}}
.proposal-filters{display:flex;gap:10px;margin-bottom:20px;padding:16px;background:#fff;border:1px solid #e1e6ef;border-radius:12px}.proposal-filters input,.proposal-filters select{min-width:220px;border:1px solid #ccd3df;border-radius:8px;padding:10px 12px}.proposal-form{max-width:900px}.proposal-form section{margin:28px 0;padding-top:22px;border-top:1px solid #e5e9f0}.proposal-form section h2{font-size:18px;margin-bottom:16px}.proposal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.proposal-field label{display:block;font-size:13px;font-weight:700;margin-bottom:6px}.proposal-field input,.proposal-field select,.proposal-field textarea{width:100%;border:1px solid #ccd3df;border-radius:8px;padding:11px 12px;font:inherit;background:#fff}.field-error{display:block;color:#b42318;font-size:12px;margin-top:5px}.calculated-total{display:flex;flex-direction:column;justify-content:center;padding:12px 15px;border-radius:9px;background:#edf1ff;color:#3157d5}.calculated-total span{font-size:12px}.calculated-total strong{font-size:19px}.proposal-status{display:inline-block;padding:5px 9px;border-radius:14px;font-size:11px;font-weight:750}.status-draft{background:#eef1f5;color:#5d697b}.status-ready{background:#fff6e0;color:#9a6b00}.status-sent{background:#e8f2ff;color:#2366b1}.status-accepted{background:#e8f7ee;color:#168447}.status-rejected{background:#fff0ef;color:#b42318}.proposal-detail-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:22px}.proposal-detail-grid .card:hover{transform:none}.proposal-detail-grid dl{display:grid;grid-template-columns:110px 1fr;gap:10px;margin:0}.proposal-detail-grid dt{color:#718096;font-size:13px}.proposal-detail-grid dd{margin:0}.proposal-price-card strong{font-size:20px;color:#168447}@media(max-width:750px){.proposal-grid,.proposal-detail-grid{grid-template-columns:1fr}.proposal-filters{flex-direction:column}.proposal-filters input,.proposal-filters select{min-width:0;width:100%}}
.proposal-discounts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:16px}.proposal-discounts .proposal-field{padding:12px 14px;border:1px solid #dfe5ee;border-radius:9px;background:#fafbfc}.proposal-discounts .proposal-field label{display:flex;align-items:center;gap:9px;margin:0;cursor:pointer}.proposal-discounts input[type=checkbox]{width:18px;height:18px;margin:0;accent-color:#3157d5}.calculated-total small{display:block;padding:0;margin-top:3px;background:none;color:#6378b6}@media(max-width:650px){.proposal-discounts{grid-template-columns:1fr}}
.course-material-section{margin-bottom:34px}.course-material-list{display:grid;gap:10px;margin-bottom:16px}.course-material-item{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 16px;border:1px solid #e1e6ef;border-radius:12px;background:#fff}.course-material-item>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.course-material-item a{font-weight:750;color:#3157d5;text-decoration:none}.course-material-item small{padding:0;background:none;color:#7a8496}.material-upload-form{display:grid;grid-template-columns:minmax(180px,1fr) minmax(220px,1.2fr) auto;gap:12px;align-items:end;padding:16px;border:1px solid #e1e6ef;border-radius:12px;background:#fbfcff}.material-upload-form label{display:block;font-size:12px;font-weight:750;color:#536079;margin-bottom:6px}.material-upload-form input{width:100%;border:1px solid #ccd3df;border-radius:8px;padding:10px;font:inherit;background:#fff}.material-type,.student-material-link span{display:inline-flex;align-items:center;border-radius:999px;padding:5px 8px;font-size:11px;font-weight:850;background:#eef1f5;color:#596579}.material-pdf span,.material-type.material-pdf{background:#fff0ef;color:#b42318}.material-presentation span,.material-type.material-presentation{background:#fff6df;color:#926100}.material-video span,.material-type.material-video{background:#e8f7ee;color:#168447}.material-document span,.material-type.material-document{background:#e8f2ff;color:#2366b1}@media(max-width:750px){.course-material-item,.material-upload-form{grid-template-columns:1fr;flex-direction:column;align-items:flex-start}.material-upload-form button{width:100%}}
.discount-lines{display:flex;flex-direction:column;gap:8px;margin-bottom:14px}.discount-line-row{display:grid;grid-template-columns:2fr 90px 130px auto;gap:8px;align-items:center;padding:10px;border:1px solid #dfe5ee;border-radius:9px;background:#fafbfc}.discount-line-row input,.discount-line-row select{border:1px solid #ccd3df;border-radius:7px;padding:9px 10px;font:inherit;background:#fff;width:100%}.discount-delete{display:flex;align-items:center;gap:6px;font-size:12px;color:#b42318;white-space:nowrap}.discount-remove-new{background:#fff0ef;color:#c4312b;border:1px solid #f1c3c0;border-radius:7px;padding:8px 10px;cursor:pointer;font-weight:650}.button-secondary{display:inline-block;border:1px solid #ccd3df;border-radius:9px;background:#fff;color:#3157d5;padding:10px 16px;font-weight:650;cursor:pointer;font-size:14px;margin-bottom:16px}#discount-line-template{display:none}@media(max-width:650px){.discount-line-row{grid-template-columns:1fr}}
.proposal-builder-body main{max-width:2400px}.builder-dashboard-group{margin-top:34px;margin-bottom:30px}.builder-dashboard-group-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:12px}.builder-dashboard-group-heading span{font-size:13px;font-weight:850;color:#3157d5;text-transform:uppercase;letter-spacing:.08em}.builder-dashboard-group-heading p{margin:0;color:#637083;font-size:14px}.builder-dashboard-admin{margin-top:18px;padding-top:22px;border-top:1px solid #dfe5ee}.builder-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.builder-stat-grid-main{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:0}.builder-stat-grid-admin{grid-template-columns:repeat(3,minmax(0,1fr))}.builder-stat-card{display:flex;flex-direction:column;gap:8px;padding:24px;border:1px solid #dfe5ee;border-radius:15px;background:#fff;text-decoration:none;color:inherit;box-shadow:0 7px 24px rgba(31,45,72,.055)}.builder-stat-card:hover{border-color:#3157d5}.builder-stat-card span{font-size:13px;font-weight:750;color:#637083;text-transform:uppercase;letter-spacing:.04em}.builder-stat-card strong{font-size:34px;line-height:1;color:#172033}.builder-stat-card small{align-self:flex-start;background:#edf1ff;color:#3157d5}.builder-stat-admin-card{background:#fbfcff;border-style:dashed;opacity:.92}.builder-stat-admin-card:hover{opacity:1}.builder-stat-admin-card strong{font-size:30px}.builder-roadmap,.builder-section,.builder-price-card{background:#fff;border:1px solid #dfe5ee;border-radius:15px;padding:24px;margin-bottom:24px;box-shadow:0 7px 24px rgba(31,45,72,.045)}.builder-roadmap-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.builder-roadmap-grid>div,.builder-mini-card{border:1px solid #e7ebf2;border-radius:12px;background:#fbfcff;padding:16px}.builder-badge{display:inline-block;margin:2px 5px 2px 0;padding:5px 8px;border-radius:999px;background:#edf1ff;color:#3157d5;font-size:11px;font-weight:750}.builder-table-wrap{overflow-x:auto}.builder-table-wrap table{min-width:980px}.builder-card-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px}.builder-mini-card div{display:flex;justify-content:space-between;gap:12px}.builder-mini-card span{font-size:12px;color:#637083}.builder-mini-card p{margin:10px 0 0;font-size:14px}.builder-price-card h3{margin:0 0 4px}.builder-instructor-card .builder-assignment-list{display:flex;gap:7px;flex-wrap:wrap;margin:15px 0}.builder-instructor-card a{display:inline-block;margin-top:8px;color:#3157d5;text-decoration:none;font-weight:650}@media(max-width:850px){.builder-dashboard-group-heading{display:block}.builder-dashboard-group-heading p{margin-top:5px}.builder-stat-grid,.builder-stat-grid-main,.builder-stat-grid-admin,.builder-roadmap-grid{grid-template-columns:1fr}}
.builder-create-body main{max-width:1600px}.builder-create-shell{display:grid;grid-template-columns:1fr 420px;gap:28px;align-items:start}.builder-hero,.builder-start-card,.builder-form-card,.builder-summary-panel,.builder-preview-card,.builder-preview-header{background:#fff;border:1px solid #dfe5ee;border-radius:18px;box-shadow:0 12px 34px rgba(31,45,72,.07)}.builder-hero{min-height:330px;padding:42px;background:radial-gradient(circle at top right,#eaf0ff 0,#fff 46%,#f8faff 100%)}.builder-kicker{display:inline-block;margin-bottom:12px;font-size:11px;font-weight:850;letter-spacing:.12em;text-transform:uppercase;color:#3157d5;background:#edf1ff;border-radius:999px;padding:7px 10px}.builder-hero h1{font-size:42px;line-height:1.05;margin-bottom:14px}.builder-hero p{font-size:16px;max-width:520px}.builder-start-card{padding:28px}.builder-choice-grid{display:grid;gap:18px;margin-bottom:22px}.builder-start-card label,.builder-form-card label{display:block;margin-bottom:7px;font-size:13px;font-weight:750;color:#536079}.builder-start-card select,.builder-form-card input,.builder-form-card select,.builder-form-card textarea{width:100%;border:1px solid #ccd3df;border-radius:10px;padding:12px 13px;font:inherit;background:#fff}.builder-start-card button{width:100%;height:48px}.builder-wizard-layout{display:grid;grid-template-columns:340px minmax(0,1fr);gap:24px}.builder-summary-panel{position:sticky;top:95px;padding:26px}.builder-summary-panel h1{font-size:42px}.builder-summary-tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}.builder-summary-tags span{font-size:12px;font-weight:750;color:#3157d5;background:#edf1ff;border-radius:999px;padding:7px 10px}.builder-form-card{padding:28px}.builder-form-card section{padding:22px 0;border-top:1px solid #e8edf5}.builder-form-card section:first-of-type{border-top:0;padding-top:0}.builder-form-card h2{font-size:20px;margin-bottom:15px}.builder-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.builder-form-grid .wide{grid-column:1/-1}.builder-preview-header{display:flex;justify-content:space-between;align-items:stretch;gap:24px;padding:28px;margin-bottom:24px}.builder-preview-header h1{font-size:40px}.builder-total-card{min-width:280px;display:flex;flex-direction:column;justify-content:center;border-radius:15px;padding:22px;background:linear-gradient(135deg,#172033,#3157d5);color:#fff}.builder-total-card span,.builder-total-card small{color:#dfe6ff;background:none;padding:0}.builder-total-card strong{font-size:32px;line-height:1.1;margin:8px 0}.builder-preview-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.builder-preview-card{padding:24px;margin-bottom:20px}.builder-preview-card dl{display:grid;grid-template-columns:120px 1fr;gap:10px;margin:0}.builder-preview-card dt{font-size:13px;color:#7a8496}.builder-preview-card dd{margin:0}.builder-total-row td{background:#edf1ff;color:#172033}.builder-section-preview-list{display:grid;gap:10px}.builder-section-preview-list details{border:1px solid #e3e8f0;border-radius:12px;background:#fbfcff;padding:14px}.builder-section-preview-list summary{cursor:pointer;font-weight:750}.builder-section-preview-list p{margin:12px 0 0;color:#344054}.builder-stat-primary{background:linear-gradient(135deg,#fff,#f7f9ff);border-color:#bdcaff}@media(max-width:900px){.builder-create-shell,.builder-wizard-layout,.builder-preview-grid,.builder-preview-header{grid-template-columns:1fr;display:grid}.builder-summary-panel{position:static}.builder-form-grid{grid-template-columns:1fr}.builder-total-card{min-width:0}.builder-hero h1{font-size:34px}}
.muted-text{margin:0 0 14px;color:#667085;font-size:14px}.price-detail-lines{margin-top:16px;border:1px solid #e3e8f0;border-radius:14px;background:#fbfcff;padding:14px}.price-detail-lines summary{cursor:pointer;font-weight:800;color:#3157d5}
.builder-preview-main{flex:1;min-width:0;display:flex;flex-direction:column}.builder-actions-row{display:flex;flex-wrap:wrap;align-items:center;gap:18px;margin-top:20px;padding-top:18px;border-top:1px solid #e8edf5}.status-update-form{display:flex;align-items:end;gap:10px}.status-update-form label{display:block;font-size:12px;font-weight:700;color:#7a8496;margin-bottom:5px}.status-update-form select{border:1px solid #ccd3df;border-radius:8px;padding:9px 10px;font:inherit;background:#fff}.heading-actions>a.danger{color:#b42318}
.builder-preview-body .builder-preview-header,.builder-preview-body .builder-preview-card{max-width:100%;width:100%}.builder-preview-body .builder-actions-row{align-items:flex-end;gap:12px}.builder-preview-body .status-update-form{display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap}.builder-preview-body .status-update-form label{height:42px;display:inline-flex;align-items:center;margin:0;font-size:12px}.builder-preview-body .status-update-form select{height:42px;min-width:126px;padding:0 12px}.builder-preview-body .status-update-form button,.builder-preview-body .heading-actions .button,.builder-preview-body .heading-actions .button-secondary,.builder-preview-body .heading-actions .inline-form button,.builder-preview-body .heading-actions .danger{height:42px;display:inline-flex;align-items:center;justify-content:center;line-height:1;padding:0 14px;border-radius:9px;font-size:14px;font-weight:750;white-space:nowrap}.builder-preview-body .heading-actions{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap}.builder-preview-body .heading-actions .inline-form{display:inline-flex;margin:0}.builder-preview-body .heading-actions .danger{border:1px solid transparent;background:#fff;color:#b42318;text-decoration:none}.builder-preview-body .heading-actions .danger:hover{background:#fff0ef;border-color:#f1c3c0}.builder-preview-body .builder-preview-card>.table-wrap{width:100%;max-width:100%;position:static;left:auto;transform:none;border-radius:12px;box-shadow:none;margin-top:10px}.builder-preview-body .builder-preview-card table{min-width:860px}.builder-preview-body .builder-preview-card h2{margin-bottom:12px}.builder-preview-body .builder-preview-card{overflow:hidden}.builder-preview-body .builder-preview-card .empty-row{padding:30px 16px}
.builder-preview-body .builder-actions-row{width:100%;display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:22px;padding:14px;border:1px solid #e3e9f4;border-radius:16px;background:#f8faff}.builder-preview-body .status-update-form{display:flex;align-items:center;gap:10px;min-width:0;flex:0 0 auto}.builder-preview-body .status-update-form label{height:auto;margin:0;color:#667085;font-size:12px;font-weight:800}.builder-preview-body .status-update-form select{height:42px;min-width:145px;border-radius:10px;background:#fff}.builder-preview-body .status-update-form .button-secondary{background:#fff;color:#3157d5;border:1px solid #cfd8ee;box-shadow:none}.builder-preview-body .heading-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0;margin-left:auto;flex:0 0 auto}.builder-preview-body .heading-actions .button{min-width:112px;box-shadow:0 8px 16px rgba(49,87,213,.18)}.builder-preview-body .heading-actions .button-secondary,.builder-preview-body .heading-actions .inline-form button{background:#fff;color:#3157d5;border:1px solid #cfd8ee;box-shadow:none}.builder-preview-body .heading-actions .inline-form button{color:#b54708;background:#fff7ed;border-color:#fed7aa}.builder-preview-body .heading-actions .danger{min-width:58px;background:#fff;color:#b42318;border:1px solid #f1c3c0}.builder-preview-body .heading-actions .danger:hover{background:#b42318;color:#fff;border-color:#b42318}@media(max-width:980px){.builder-preview-body .builder-actions-row{align-items:stretch;flex-direction:column}.builder-preview-body .heading-actions{justify-content:flex-start;margin-left:0}.builder-preview-body .heading-actions .button,.builder-preview-body .heading-actions .button-secondary,.builder-preview-body .heading-actions .inline-form button,.builder-preview-body .heading-actions .danger{flex:1 1 140px}}@media(max-width:560px){.builder-preview-body .status-update-form{display:grid;grid-template-columns:1fr}.builder-preview-body .status-update-form select,.builder-preview-body .status-update-form button{width:100%}.builder-preview-body .heading-actions{display:grid;grid-template-columns:1fr 1fr}.builder-preview-body .heading-actions .button,.builder-preview-body .heading-actions .button-secondary,.builder-preview-body .heading-actions .inline-form button,.builder-preview-body .heading-actions .danger{width:100%;min-width:0}}

/* Proposal preview action bar: intentionally simple and isolated. */
.proposal-simple-actions{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;width:100%!important;margin-top:22px!important;padding:12px!important;border:1px solid #e1e7f0!important;border-radius:14px!important;background:#f8faff!important}.proposal-simple-status,.proposal-simple-buttons{display:flex!important;align-items:center!important;gap:10px!important;margin:0!important}.proposal-simple-status{flex:0 0 auto!important}.proposal-simple-buttons{flex:0 0 auto!important;margin-left:auto!important}.proposal-simple-status label{margin:0!important;color:#667085!important;font-size:12px!important;font-weight:800!important}.proposal-simple-status select{width:145px!important;height:40px!important;padding:0 10px!important;border:1px solid #cfd7e5!important;border-radius:9px!important;background:#fff!important;font:inherit!important}.proposal-simple-actions a,.proposal-simple-actions button{display:inline-flex!important;align-items:center!important;justify-content:center!important;height:40px!important;margin:0!important;padding:0 14px!important;border-radius:9px!important;font-size:13px!important;font-weight:800!important;line-height:1!important;text-decoration:none!important;white-space:nowrap!important;box-shadow:none!important}.proposal-simple-status button,.proposal-simple-buttons a:not(.primary):not(.button):not(.danger){border:1px solid #cfd8ee!important;background:#fff!important;color:#3157d5!important}.proposal-simple-buttons .primary,.proposal-simple-buttons .button{border:1px solid #3157d5!important;background:#3157d5!important;color:#fff!important;min-width:104px!important}.proposal-simple-buttons form{display:inline-flex!important;margin:0!important}.proposal-simple-buttons form button{border:1px solid #fed7aa!important;background:#fff7ed!important;color:#b54708!important}.proposal-simple-buttons .danger{border:1px solid #f1c3c0!important;background:#fff!important;color:#b42318!important;min-width:54px!important}.proposal-simple-buttons .danger:hover{background:#b42318!important;color:#fff!important;border-color:#b42318!important}@media(max-width:900px){.proposal-simple-actions{align-items:stretch!important;flex-direction:column!important}.proposal-simple-buttons{margin-left:0!important;flex-wrap:wrap!important}.proposal-simple-buttons a,.proposal-simple-buttons form,.proposal-simple-buttons form button{flex:1 1 130px!important}}@media(max-width:560px){.proposal-simple-status{display:grid!important;grid-template-columns:1fr!important}.proposal-simple-status select,.proposal-simple-status button{width:100%!important}.proposal-simple-buttons{display:grid!important;grid-template-columns:1fr 1fr!important}.proposal-simple-buttons a,.proposal-simple-buttons form button{width:100%!important}}
.training-program-detail-body .builder-section{overflow:hidden}.training-program-detail-body .builder-section>.table-wrap,.training-program-detail-body .builder-price-card .table-wrap{width:100%;max-width:100%;position:static;left:auto;transform:none;margin-top:14px;border-radius:12px;box-shadow:none}.training-program-detail-body .builder-section table{min-width:760px}.training-program-detail-body .filter-card.horizontal-filter{width:100%;max-width:100%;margin-left:0;margin-right:0}.training-program-detail-body .builder-price-card{overflow:hidden}.training-program-detail-body .builder-price-card .heading-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.proposal-builder-body .filter-card.horizontal-filter{width:100%;max-width:100%;box-sizing:border-box}.proposal-builder-body .horizontal-filter{align-items:flex-end}.proposal-builder-body .horizontal-filter>div{flex:1 1 180px;min-width:170px}.proposal-builder-body .horizontal-filter>div input,.proposal-builder-body .horizontal-filter>div select,.proposal-builder-body .horizontal-filter>div textarea{width:100%;box-sizing:border-box}.proposal-builder-body .horizontal-filter>button{height:44px;align-self:flex-end}.proposal-builder-body .horizontal-filter>a{align-self:center;white-space:nowrap}.proposal-builder-body .builder-price-card{overflow:hidden}.proposal-builder-body .builder-price-card>.table-wrap,.builder-price-list-body .builder-price-card .table-wrap{width:100%;max-width:100%;position:static;left:auto;transform:none;margin-top:14px;border-radius:12px;box-shadow:none}.builder-price-list-body .builder-price-card table{min-width:860px}.builder-price-list-body .section-heading{align-items:center}
.filter-card{background:#fff;border:1px solid #e1e6ef;border-radius:13px;padding:18px 20px;margin-bottom:20px;box-shadow:0 3px 14px rgba(23,32,51,.04)}.horizontal-filter{display:flex;flex-wrap:wrap;align-items:end;gap:14px}.horizontal-filter>div{display:flex;flex-direction:column;gap:6px;min-width:170px}.horizontal-filter>div label{font-size:12px;font-weight:700;color:#7a8496;margin:0}.horizontal-filter>div input,.horizontal-filter>div select,.horizontal-filter>div textarea{border:1px solid #ccd3df;border-radius:8px;padding:10px;font:inherit;background:#fff;min-width:0}.horizontal-filter>label{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:650;white-space:nowrap}.horizontal-filter .wide{flex:1 1 100%;min-width:0}.horizontal-filter .wide textarea{width:100%;min-height:56px}
.inline-form{display:inline-block}.inline-form button{background:#fff0ef;color:#b42318;border:1px solid #f1c3c0;border-radius:7px;padding:6px 10px;font-size:13px;font-weight:650;cursor:pointer}
.builder-checkbox-list ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.builder-checkbox-list li{margin:0}.builder-checkbox-list label{display:flex;align-items:center;gap:10px;padding:11px 14px;border:1px solid #e3e8f0;border-radius:9px;background:#fbfcff;font-weight:600;font-size:14px;cursor:pointer}.builder-checkbox-list input{width:17px;height:17px;accent-color:#3157d5;flex-shrink:0}.attendance-sheets-section{margin-bottom:34px}.attendance-sheet-gallery{display:flex;flex-wrap:wrap;gap:16px;margin-bottom:16px}.attendance-sheet-item{width:130px}.attendance-sheet-item img,.attendance-sheet-pdf{width:130px;height:130px;border-radius:10px;border:1px solid #e1e6ef;display:block}.attendance-sheet-item img{object-fit:cover}.attendance-sheet-pdf{display:grid;place-items:center;background:#f8f9fc;color:#637083;font-weight:750;font-size:13px}.attendance-sheet-item form{margin-top:6px}.attendance-sheet-item .danger-button{width:100%;padding:7px 0;font-size:12px;border-radius:7px}.attendance-sheet-upload-form{display:flex;align-items:center;gap:12px}.attendance-sheet-upload-form input[type=file]{font-size:13px}td form{margin:0}td input[type=checkbox]{width:20px;height:20px;accent-color:#3157d5;cursor:pointer}
.content-studio{padding:30px!important;background:linear-gradient(180deg,#fff 0%,#fbfcff 100%)!important}.content-studio-header{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:24px;align-items:start;margin-bottom:24px}.content-studio-header h2{font-size:30px;margin:0 0 8px}.content-studio-header p{max-width:760px;margin:0}.content-impact-card{border:1px solid #cdd8f6;border-radius:16px;padding:18px 20px;background:linear-gradient(135deg,#eef3ff,#fff);box-shadow:0 8px 22px rgba(49,87,213,.07)}.content-impact-card strong{display:block;color:#243b7b;margin-bottom:6px}.content-impact-card p{font-size:13px;color:#5e6b86}.content-studio-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:22px;align-items:start}.content-editor-card,.content-help-panel,.content-section-card,.content-empty-state{border:1px solid #dfe6f1;border-radius:18px;background:#fff;box-shadow:0 10px 28px rgba(31,45,72,.055)}.content-editor-card{padding:24px}.editor-card-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:22px;padding-bottom:18px;border-bottom:1px solid #e8edf5}.editor-card-head h3,.content-help-panel h3,.content-list-heading h3{margin:0 0 4px}.editor-card-head p,.content-help-panel p,.content-list-heading p{margin:0;font-size:13px}.editor-status-pill{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#172033;color:#fff;font-size:12px;font-weight:800;padding:7px 11px;white-space:nowrap}.content-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.content-field{display:flex;flex-direction:column;gap:7px}.content-field-wide{grid-column:1/-1}.content-field label{font-size:12px;font-weight:800;color:#536079;letter-spacing:.02em}.content-field input,.content-field select,.content-field textarea{width:100%;border:1px solid #cfd7e5;border-radius:12px;padding:12px 13px;font:inherit;background:#fff;transition:border-color .15s,box-shadow .15s}.content-field textarea{min-height:220px;line-height:1.55;resize:vertical}.content-field input:focus,.content-field select:focus,.content-field textarea:focus{outline:none;border-color:#3157d5;box-shadow:0 0 0 4px rgba(49,87,213,.1)}.content-field small,.content-toggle-card small{display:block;padding:0;background:none;color:#7a8496;font-size:12px;border-radius:0}.content-toggle-card{display:flex;align-items:flex-start;gap:12px;border:1px solid #dfe6f1;border-radius:12px;background:#fbfcff;padding:13px 14px;cursor:pointer}.content-toggle-card input{width:18px;height:18px;margin-top:3px;accent-color:#3157d5;flex:0 0 auto}.content-toggle-card strong{display:block;font-size:13px;color:#253047}.content-editor-actions{display:flex;align-items:center;gap:15px;margin-top:20px;padding-top:18px;border-top:1px solid #e8edf5}.content-editor-actions span{font-size:13px;color:#7a8496}.content-help-panel{position:sticky;top:96px;padding:22px}.content-help-panel ol{margin:15px 0 0;padding-left:22px;color:#536079;font-size:13px}.content-help-panel li{margin-bottom:12px}.content-help-panel li strong{color:#172033}.content-warning{margin-top:18px;border:1px solid #ffd7a3;border-radius:14px;background:#fff8ec;padding:15px}.content-warning strong{display:block;color:#9a5b00;margin-bottom:4px}.content-warning p{color:#7a5416}.content-section-list{margin-top:24px}.content-list-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:14px}.content-list-heading span{border-radius:999px;background:#edf1ff;color:#3157d5;font-size:12px;font-weight:800;padding:7px 11px;white-space:nowrap}.content-section-card{display:flex;justify-content:space-between;gap:18px;padding:18px;margin-bottom:12px;transition:border-color .15s,box-shadow .15s,transform .15s}.content-section-card:hover{border-color:#b7c5e7;box-shadow:0 12px 30px rgba(31,45,72,.075);transform:translateY(-1px)}.content-section-main{display:grid;grid-template-columns:40px minmax(0,1fr);gap:14px;min-width:0}.content-section-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#edf1ff;color:#3157d5;font-weight:850}.content-section-title-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.content-section-title-row h4{margin:0;font-size:17px}.content-state{display:inline-flex;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:800}.content-state.active{background:#e8f7ee;color:#168447}.content-state.passive{background:#eef1f5;color:#667085}.content-section-meta{display:flex;flex-wrap:wrap;gap:7px;margin:8px 0}.content-section-meta span{font-size:11px;font-weight:750;border-radius:999px;background:#f1f4f9;color:#596579;padding:5px 8px}.content-section-card p{margin:0;color:#536079;font-size:14px}.content-section-actions{display:flex;align-items:center;gap:12px;flex:0 0 auto}.content-section-actions>a{color:#3157d5;text-decoration:none;font-weight:750}.content-empty-state{padding:28px;text-align:center;border-style:dashed;background:#fbfcff}.content-empty-state strong{display:block;margin-bottom:4px}.content-empty-state p{margin:0}@media(max-width:1050px){.content-studio-header,.content-studio-grid{grid-template-columns:1fr}.content-help-panel{position:static}.content-impact-card{max-width:none}}@media(max-width:680px){.content-studio{padding:20px!important}.content-form-grid{grid-template-columns:1fr}.content-editor-actions,.content-section-card,.content-list-heading{align-items:flex-start;flex-direction:column}.content-section-actions{width:100%;justify-content:flex-start}.content-section-main{grid-template-columns:32px minmax(0,1fr)}.content-section-icon{width:32px;height:32px;border-radius:10px;font-size:12px}}
.content-target-box{display:grid;gap:5px;border:1px solid #cdd8f6;border-left:4px solid #3157d5;border-radius:14px;background:linear-gradient(135deg,#f4f7ff,#fff);padding:14px 15px;margin-bottom:8px}.content-target-box strong{color:#172033;font-size:14px}.content-target-box span{color:#536079;font-size:12px;line-height:1.45}.content-target-box span b{color:#3157d5}.content-target-box .has-default{color:#176b3a;font-weight:750}.content-target-box .no-default{color:#9a5b00;font-weight:750}.content-default-button{align-self:flex-start;margin-top:2px}
.instructor-directory{display:grid;grid-template-columns:repeat(auto-fit,minmax(360px,1fr));gap:18px}.instructor-card{display:grid;grid-template-columns:74px minmax(0,1fr);gap:18px;border:1px solid #dfe6f1;border-radius:18px;background:#fff;padding:20px;box-shadow:0 10px 28px rgba(31,45,72,.055)}.instructor-avatar{display:grid;place-items:center;width:74px;height:74px;border-radius:18px;background:linear-gradient(135deg,#edf1ff,#f8faff);color:#3157d5;overflow:hidden;font-size:28px;font-weight:850;text-transform:uppercase}.instructor-avatar.large{width:92px;height:92px;border-radius:22px;font-size:34px;flex:0 0 auto}.instructor-avatar img{width:100%;height:100%;object-fit:cover}.instructor-card-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.instructor-card h2{font-size:20px;margin:0 0 3px}.instructor-card p{margin:0}.instructor-cert{display:inline-flex;margin-top:12px;border-radius:999px;background:#eef6ff;color:#2366b1;padding:6px 10px;font-size:12px;font-weight:750}.instructor-card .builder-assignment-list{display:flex;gap:7px;flex-wrap:wrap;margin:14px 0}.instructor-card .builder-assignment-list code{border-radius:8px;background:#f1f4f9;color:#344054;padding:5px 8px;font-size:12px}.instructor-card-actions{display:flex;gap:14px;flex-wrap:wrap}.instructor-card-actions a{color:#3157d5;text-decoration:none;font-weight:750;font-size:13px}.instructor-edit-layout{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:24px;align-items:start}.instructor-profile-form{max-width:none!important;margin:0!important}.instructor-program-panel{position:sticky;top:96px;border:1px solid #dfe6f1;border-radius:18px;background:#fff;padding:22px;box-shadow:0 10px 28px rgba(31,45,72,.055)}.instructor-program-form{display:grid;gap:13px;margin:18px 0 20px;padding:16px;border-radius:14px;background:#fbfcff;border:1px solid #e5ebf5}.instructor-program-form label,.instructor-program-form div label{display:block;margin-bottom:6px;font-size:12px;font-weight:800;color:#536079}.instructor-program-form input,.instructor-program-form select{width:100%;border:1px solid #cfd7e5;border-radius:10px;padding:10px 12px;font:inherit;background:#fff}.instructor-program-form>label{display:flex;align-items:center;gap:9px;margin:0}.instructor-program-form>label input{width:17px;height:17px;accent-color:#3157d5}.instructor-program-form button{width:100%}.instructor-program-list{display:grid;gap:10px}.instructor-program-list article{display:flex;justify-content:space-between;gap:14px;align-items:center;border:1px solid #e5ebf5;border-radius:13px;background:#fff;padding:13px}.instructor-program-list article>div{display:flex;flex-direction:column;min-width:0}.instructor-program-list strong{font-size:15px}.instructor-program-list span{font-size:13px;color:#536079}.instructor-program-list small{padding:0;background:none;color:#8a94a6;font-size:12px}.instructor-profile-form small{display:block;margin-top:6px;padding:0;background:none;border-radius:0}.instructor-profile-form small a{color:#3157d5;text-decoration:none;font-weight:650}@media(max-width:1050px){.instructor-edit-layout{grid-template-columns:1fr}.instructor-program-panel{position:static}}@media(max-width:620px){.instructor-directory{grid-template-columns:1fr}.instructor-card{grid-template-columns:1fr}.instructor-card-head,.instructor-program-list article{align-items:flex-start;flex-direction:column}.instructor-avatar{width:64px;height:64px;border-radius:16px}.instructor-avatar.large{width:76px;height:76px}.editor-card-head{flex-direction:column}}
.nav-logout-form{margin:0;margin-left:auto}.nav-logout-form button{background:#fff0ef;color:#b42318;border:1px solid #f1c3c0;padding:9px 13px;border-radius:9px;font-weight:750;font-size:13px}.nav-logout-form button:hover{background:#b42318;color:#fff}.student-portal-body main{max-width:1180px}.student-hero{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:24px;padding:34px;border:1px solid #dfe6f1;border-radius:20px;background:radial-gradient(circle at top right,#eaf0ff 0,#fff 48%,#f8faff 100%);box-shadow:0 12px 34px rgba(31,45,72,.06)}.student-hero h1{font-size:38px;margin-bottom:8px}.eyebrow{display:inline-block;margin-bottom:9px;font-size:11px;font-weight:850;letter-spacing:.12em;text-transform:uppercase;color:#3157d5;background:#edf1ff;border-radius:999px;padding:7px 10px}.student-course-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:18px}.student-course-card,.empty-state-card,.login-card{background:#fff;border:1px solid #dfe6f1;border-radius:18px;box-shadow:0 10px 28px rgba(31,45,72,.055)}.student-course-card{padding:24px}.student-course-card__top{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:18px}.student-course-card h2{font-size:22px;margin:0}.student-course-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0}.student-course-meta div{padding:13px;border:1px solid #e7ebf2;border-radius:13px;background:#fbfcff}.student-course-meta dt{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:#7a8496}.student-course-meta dd{margin:4px 0 0;color:#172033;font-weight:650}.student-course-description{margin-top:16px;padding-top:16px;border-top:1px solid #e8edf5}.student-course-description p{margin:6px 0 0}.empty-state-card{grid-column:1/-1;text-align:center;padding:44px}.login-page-body main{max-width:520px}.login-card{padding:34px}.login-card h1{margin-bottom:8px}.login-card form{display:grid;gap:16px;margin-top:22px}.login-card label,.form-field label{display:block;font-size:13px;font-weight:750;color:#536079;margin-bottom:7px}.login-card input{width:100%;border:1px solid #ccd3df;border-radius:10px;padding:12px 13px;font:inherit;background:#fff}.login-card input:focus{outline:none;border-color:#3157d5;box-shadow:0 0 0 4px rgba(49,87,213,.1)}.login-card button{height:48px}.portal-credentials{display:flex;flex-direction:column;gap:3px;min-width:170px}.portal-credentials strong{font-size:12px;color:#172033}.portal-credentials span{font-size:12px;color:#637083}@media(max-width:650px){.nav-logout-form{margin-left:0}.student-hero{padding:24px}.student-hero h1{font-size:30px}.student-course-card__top{flex-direction:column}.student-course-meta{grid-template-columns:1fr}}
.student-materials{margin-top:16px;padding-top:16px;border-top:1px solid #e8edf5;display:grid;gap:9px}.student-materials>strong{font-size:14px}.student-material-link{display:flex;align-items:center;gap:10px;padding:11px 12px;border:1px solid #e7ebf2;border-radius:12px;background:#fbfcff;text-decoration:none}.student-material-link em{font-style:normal;color:#172033;font-weight:700}.student-material-link:hover{border-color:#3157d5;background:#f8faff}.student-profile-card{background:#fff;border:1px solid #dfe6f1;border-radius:18px;box-shadow:0 10px 28px rgba(31,45,72,.055);padding:24px;margin-bottom:18px}.student-profile-card h2{font-size:21px;margin-bottom:16px}.student-profile-list{display:grid;gap:10px}.student-profile-list article{display:flex;flex-direction:column;gap:3px;padding:14px;border:1px solid #e7ebf2;border-radius:13px;background:#fbfcff}.student-profile-list span{color:#536079}.student-profile-list small{padding:0;background:none;color:#7a8496}

/* Modern participant portal */
.student-portal-body{background:linear-gradient(135deg,#f4fbf7 0%,#ffffff 44%,#fff6f6 100%);color:#123126}.student-portal-body header{background:rgba(255,255,255,.92);border-bottom:1px solid #dbeee4;box-shadow:0 10px 30px rgba(13,92,56,.06);backdrop-filter:blur(14px)}.student-portal-body .brand{color:#0f5f3e;font-weight:850;letter-spacing:-.02em}.student-portal-body nav>a:not(.button){color:#2f6f55;border-radius:999px;padding:8px 12px}.student-portal-body nav>a:not(.button):hover{background:#e9f8ef;color:#0b6b43}.student-portal-body .nav-logout-form button{background:#fff5f4;color:#b42318;border-color:#ffd1cc}.student-portal-body main{max-width:1380px;margin:34px auto 70px}.portal-hero{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:28px;align-items:stretch;margin-bottom:30px;padding:34px;border:1px solid #cfe8dc;border-radius:28px;background:linear-gradient(135deg,#0e6b43 0%,#148a56 46%,#ffffff 46.2%,#ffffff 100%);box-shadow:0 24px 70px rgba(13,92,56,.14)}.portal-hero:before{content:"";position:absolute;right:-120px;top:-160px;width:360px;height:360px;border-radius:50%;background:rgba(199,38,30,.10)}.portal-hero:after{content:"";position:absolute;left:34%;bottom:-110px;width:260px;height:260px;border-radius:50%;background:rgba(255,255,255,.13)}.portal-hero__content{position:relative;z-index:1;max-width:720px;color:#fff}.portal-hero__content h1{font-size:clamp(34px,5vw,58px);line-height:1;margin:8px 0 14px;letter-spacing:-.055em;color:#fff}.portal-hero__content p{max-width:640px;margin:0;color:#e7fff2;font-size:17px}.portal-kicker{display:inline-flex;align-items:center;gap:8px;width:max-content;border-radius:999px;background:#e9f8ef;color:#0b6b43;padding:7px 11px;font-size:11px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.portal-hero .portal-kicker{background:rgba(255,255,255,.16);color:#fff;border:1px solid rgba(255,255,255,.25)}.portal-hero__actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}.portal-primary-action,.portal-secondary-action{display:inline-flex;align-items:center;justify-content:center;border-radius:13px;padding:12px 17px;text-decoration:none;font-weight:850}.portal-primary-action{background:#fff;color:#0e6b43;box-shadow:0 12px 26px rgba(8,55,35,.18)}.portal-secondary-action{background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.35)}.portal-primary-action:hover{color:#0e6b43;transform:translateY(-1px)}.portal-secondary-action:hover{color:#fff;background:rgba(255,255,255,.18)}.portal-stats{position:relative;z-index:1;display:grid;grid-template-columns:1fr;gap:12px}.portal-stats article{display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid #dbeee4;border-radius:20px;background:rgba(255,255,255,.94);padding:20px;box-shadow:0 16px 40px rgba(13,92,56,.08)}.portal-stats span{color:#5a786b;font-weight:800;font-size:12px;text-transform:uppercase;letter-spacing:.08em}.portal-stats strong{font-size:34px;line-height:1;color:#0e6b43;letter-spacing:-.04em}.portal-stat-alert strong{color:#c7261e}.portal-section-heading{display:flex;justify-content:space-between;gap:20px;align-items:flex-end;margin:28px 0 16px}.portal-section-heading h2{font-size:32px;margin:8px 0 3px;letter-spacing:-.04em;color:#123126}.portal-section-heading p{margin:0;color:#62766d}.portal-course-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(380px,1fr));gap:22px;align-items:start}.portal-course-card{position:relative;overflow:hidden;border:1px solid #d6eadf;border-radius:24px;background:rgba(255,255,255,.96);box-shadow:0 18px 52px rgba(13,92,56,.08);padding:24px;transition:transform .18s,box-shadow .18s,border-color .18s}.portal-course-card:before{content:"";position:absolute;inset:0 0 auto 0;height:5px;background:linear-gradient(90deg,#0e6b43,#31b36b,#c7261e)}.portal-course-card:hover{transform:translateY(-3px);border-color:#b7dfca;box-shadow:0 28px 70px rgba(13,92,56,.14)}.portal-course-card__header{display:flex;justify-content:space-between;gap:18px;margin-bottom:18px}.portal-course-code{display:inline-flex;border-radius:999px;background:#effaf3;color:#0b6b43;padding:5px 9px;font-size:11px;font-weight:900}.portal-course-card h3{margin:9px 0 0;font-size:24px;line-height:1.12;color:#123126;letter-spacing:-.035em}.portal-status{flex:0 0 auto;height:max-content;border-radius:999px;padding:7px 10px;font-size:11px;font-weight:900}.portal-status-pending{background:#f3f6f4;color:#687970}.portal-status-passed{background:#e9f8ef;color:#0b7a49}.portal-status-failed{background:#fff0ef;color:#c7261e}.portal-course-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}.portal-course-meta div,.portal-profile-meta div{border:1px solid #e0efe7;border-radius:16px;background:#f8fcfa;padding:13px}.portal-course-meta dt,.portal-profile-meta dt{font-size:10px;font-weight:900;letter-spacing:.10em;text-transform:uppercase;color:#6c8178}.portal-course-meta dd,.portal-profile-meta dd{margin:4px 0 0;color:#123126;font-weight:800}.portal-course-description{margin-top:16px;padding:15px;border:1px solid #f0e4df;border-radius:16px;background:#fffaf8}.portal-course-description strong{color:#123126}.portal-course-description p{margin:6px 0 0;color:#5b6f66}.portal-material-panel{margin-top:17px;border:1px solid #dceee4;border-radius:20px;background:#fbfefc;overflow:hidden}.portal-material-panel__title{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;border-bottom:1px solid #e3f1e9;background:#f2fbf6}.portal-material-panel__title strong{color:#123126}.portal-material-panel__title span{border-radius:999px;background:#fff;color:#0e6b43;border:1px solid #d6eadf;padding:5px 8px;font-size:11px;font-weight:850}.portal-material-list{display:grid;gap:8px;max-height:260px;overflow:auto;padding:12px}.portal-material-item{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;border:1px solid #e5f0ea;border-radius:14px;background:#fff;padding:11px 12px;text-decoration:none;transition:.16s}.portal-material-item:hover{border-color:#0e6b43;box-shadow:0 10px 24px rgba(13,92,56,.08);transform:translateY(-1px)}.portal-material-item em{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-style:normal;color:#123126;font-weight:800}.portal-material-badge{display:inline-flex;border-radius:999px;padding:5px 8px;font-size:10px;font-weight:950;letter-spacing:.04em;text-transform:uppercase;background:#eef4f1;color:#587166}.portal-material-pdf .portal-material-badge{background:#fff0ef;color:#c7261e}.portal-material-presentation .portal-material-badge{background:#fff7df;color:#986600}.portal-material-video .portal-material-badge{background:#e8f8ee;color:#0b7a49}.portal-material-document .portal-material-badge{background:#eaf4ff;color:#2366b1}.portal-empty-material{display:grid;gap:2px;border:1px dashed #cfe8dc;border-radius:14px;background:#fff;padding:15px;color:#62766d}.portal-empty-material strong{color:#123126}.portal-empty-state{grid-column:1/-1;text-align:center;border:1px dashed #cfe8dc;border-radius:26px;background:#fff;padding:56px;box-shadow:0 18px 52px rgba(13,92,56,.06)}.portal-empty-state h2{color:#123126}.portal-profile-hero{grid-template-columns:1fr;background:linear-gradient(135deg,#0e6b43,#148a56)}.portal-profile-grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:22px;align-items:start}.portal-profile-card{border:1px solid #d6eadf;border-radius:24px;background:#fff;box-shadow:0 18px 52px rgba(13,92,56,.08);padding:24px}.portal-profile-card h2{font-size:25px;letter-spacing:-.035em;color:#123126;margin:10px 0 17px}.portal-profile-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}.portal-profile-list{display:grid;gap:10px;max-height:520px;overflow:auto}.portal-profile-list article{display:grid;gap:3px;border:1px solid #e0efe7;border-radius:16px;background:#f8fcfa;padding:14px}.portal-profile-list strong{color:#123126}.portal-profile-list span{color:#4f6b5f}.portal-profile-list small{padding:0;background:none;color:#7b8d85}.student-portal-body .secondary-button{border-color:#cfe8dc;color:#0e6b43;background:#fff}.student-portal-body .secondary-button:hover{background:#e9f8ef}@media(max-width:980px){.portal-hero,.portal-profile-grid{grid-template-columns:1fr}.portal-hero{background:linear-gradient(135deg,#0e6b43,#148a56)}.portal-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.portal-stats article{display:grid;gap:8px}.portal-course-grid{grid-template-columns:1fr}}@media(max-width:650px){.student-portal-body main{margin-top:20px;padding:0 14px}.portal-hero{padding:24px;border-radius:22px}.portal-stats{grid-template-columns:1fr}.portal-course-grid{grid-template-columns:1fr}.portal-course-card{padding:19px;border-radius:20px}.portal-course-card__header{flex-direction:column}.portal-course-meta,.portal-profile-meta{grid-template-columns:1fr}.portal-material-list{max-height:none}.portal-material-item{grid-template-columns:1fr}.portal-material-item em{white-space:normal}.portal-section-heading h2{font-size:27px}}
.nav-dropdown{position:relative;display:inline-flex;align-items:center}.nav-dropdown-toggle{height:40px;background:#f4f7ff;color:#3157d5;border:1px solid #dbe3ff;border-radius:10px;padding:0 14px;font-size:14px;font-weight:750}.nav-dropdown-toggle:after{content:"▾";font-size:11px;margin-left:7px}.nav-dropdown-menu{position:absolute;right:0;top:calc(100% + 10px);z-index:50;display:none;min-width:220px;padding:8px;border:1px solid #dfe5ee;border-radius:14px;background:#fff;box-shadow:0 18px 44px rgba(23,32,51,.14)}.nav-dropdown.is-open .nav-dropdown-menu{display:grid;gap:3px}.nav-dropdown-menu a{display:block;border-radius:9px;padding:10px 11px;color:#344054;text-decoration:none;font-size:13px;font-weight:700}.nav-dropdown-menu a:hover{background:#f4f7ff;color:#3157d5}@media(max-width:750px){.nav-dropdown{width:100%;display:block}.nav-dropdown-toggle{width:100%;text-align:left}.nav-dropdown-menu{position:static;width:100%;margin-top:8px;box-shadow:none}.nav-dropdown:not(.is-open) .nav-dropdown-menu{display:none}}

/* Keep wide filter cards aligned with their wide tables. */
.participant-page-body .filter-panel,
.person-page-body .filter-panel,
.proposal-filters,
.builder-proposal-list-body .filter-card.horizontal-filter{width:100%;max-width:100%}
@media(max-width:750px){
  .participant-page-body .filter-panel,
  .person-page-body .filter-panel,
  .proposal-filters,
  .builder-proposal-list-body .filter-card.horizontal-filter{width:100%;max-width:100%;position:static;left:auto;transform:none}
}

/* Global responsive hardening */
img,video,iframe{max-width:100%;height:auto}
input,select,textarea,button{max-width:100%}

@media(max-width:900px){
  header{min-height:auto;padding:12px 16px;align-items:stretch;gap:12px}
  header .brand{display:block;line-height:1.25}
  header nav{width:100%;display:flex;align-items:stretch;gap:8px;overflow-x:auto;padding-bottom:4px;-webkit-overflow-scrolling:touch}
  header nav>a:not(.button),
  .nav-dropdown,
  .nav-logout-form{flex:0 0 auto}
  header nav>a:not(.button){display:inline-flex;align-items:center;min-height:40px;padding:8px 10px;border:1px solid #e4e9f2;border-radius:10px;background:#fff;white-space:nowrap;font-size:13px}
  .nav-dropdown-toggle{height:40px;white-space:nowrap}
  .nav-logout-form{margin-left:0}
  .nav-logout-form button{height:40px;white-space:nowrap}

  main{width:100%;max-width:100%;margin:28px auto;padding:0 16px}
  h1{font-size:clamp(25px,8vw,32px);line-height:1.12}
  h2{font-size:clamp(21px,6vw,26px);line-height:1.18}
  .page-heading,.detail-head,.section-heading,.table-section-heading,.heading-actions,.company-actions{flex-direction:column;align-items:stretch;gap:12px}
  .page-heading .button,.detail-head .button,.detail-head .button-secondary,.section-heading .button,.heading-actions .button,.company-actions .button,.company-actions .secondary-button{width:100%;text-align:center}
  .detail-head,.form-card,.card,.student-profile-card,.portal-profile-card{padding:20px;border-radius:16px}
  .meta{gap:7px}
  .meta span{max-width:100%;overflow-wrap:anywhere}

  .grid,.form-grid,.proposal-grid,.proposal-detail-grid,.builder-form-grid,.person-form-grid,.portal-profile-grid{grid-template-columns:1fr!important}
  .actions{justify-content:stretch;gap:10px;flex-wrap:wrap}
  .actions a,.actions button{flex:1 1 150px;text-align:center}
  .form-card{width:100%;max-width:100%}

  .filter-panel,
  .proposal-filters,
  .filter-card.horizontal-filter,
  .builder-proposal-list-body .filter-card.horizontal-filter{width:100%!important;max-width:100%!important;position:static!important;left:auto!important;transform:none!important}
  .filter-heading{gap:12px}
  .filter-grid,.participant-filter-grid,.person-filter-grid{grid-template-columns:1fr!important}
  .filter-actions{width:100%;justify-content:stretch;flex-wrap:wrap;padding-left:16px;padding-right:16px}
  .filter-actions button,.filter-actions a{flex:1 1 130px;text-align:center}

  .table-wrap,.pagination,.person-table-wrap,.builder-table-wrap{width:100%!important;max-width:100%!important;position:static!important;left:auto!important;transform:none!important}
  .table-wrap{border-radius:12px;overflow-x:auto;-webkit-overflow-scrolling:touch}
  table{min-width:760px}
  th,td{padding:9px 10px}
  .row-actions{white-space:normal}
  .row-actions a{display:inline-block;margin:3px 8px 3px 0}
  .pagination{justify-content:center}

  .course-material-item,
  .instructor-program-list article,
  .builder-price-card .heading-actions{flex-direction:column;align-items:stretch}
  .material-upload-form,
  .attendance-sheet-upload-form{display:grid;grid-template-columns:1fr;gap:10px}
}

@media(max-width:650px){
  body{overflow-x:hidden}
  header{padding:10px 12px}
  header nav{gap:6px}
  header nav>a:not(.button),.nav-dropdown-toggle,.nav-logout-form button{font-size:12px;padding-left:9px;padding-right:9px}
  .nav-dropdown-menu{max-height:65vh;overflow:auto}

  main{margin:22px auto;padding:0 12px}
  .page-heading,.compact-heading{margin-bottom:18px}
  .detail-head,.form-card,.card{padding:16px}
  .form-card form>div{margin-top:14px}
  .button,button,.secondary-button{width:100%;text-align:center}
  .actions{flex-direction:column}
  .actions a,.actions button{width:100%;flex:auto}

  .filter-heading{align-items:flex-start;flex-direction:column;padding:14px}
  .filter-title{align-items:flex-start}
  .filter-grid{padding:14px}
  .filter-actions{padding:0 14px 14px;flex-direction:column}
  .filter-actions button,.filter-actions a{width:100%;flex:auto}

  table{min-width:680px;font-size:12.5px}
  th,td{padding:8px}
  .truncate-cell{max-width:160px}

  .portal-hero{grid-template-columns:1fr!important;padding:20px;border-radius:20px}
  .portal-hero__content h1{font-size:34px}
  .portal-hero__content p{font-size:15px}
  .portal-hero__actions{display:grid;grid-template-columns:1fr}
  .portal-primary-action,.portal-secondary-action{width:100%}
  .portal-stats{grid-template-columns:1fr!important}
  .portal-section-heading{align-items:flex-start;flex-direction:column}
  .portal-course-grid{grid-template-columns:minmax(0,1fr)!important}
  .portal-course-card{padding:17px}
  .portal-course-card__header{flex-direction:column}
  .portal-course-meta,.portal-profile-meta{grid-template-columns:1fr!important}
  .portal-material-panel__title{align-items:flex-start;flex-direction:column}

  .proposal-discounts,
  .builder-stat-grid,
  .builder-wizard-layout,
  .content-studio,
  .instructor-edit-layout{grid-template-columns:1fr!important}
  .builder-hero,.builder-preview-hero{padding:20px}
  .builder-form-card,.builder-preview-card,.builder-section,.content-editor-card{padding:16px}
}

@media(max-width:420px){
  main{padding:0 10px}
  h1{font-size:24px}
  .portal-hero__content h1{font-size:30px}
  .portal-course-card h3{font-size:21px}
  table{min-width:620px}
  .result-control{align-items:flex-start;flex-direction:column}
  .result-buttons{width:100%}
  .result-buttons form{flex:1}
  .result-button{width:100%}
}

/* Student portal material-focused layout */
.portal-stat-active strong{color:#0e6b43!important}
.portal-stat-active{border-color:#bfe8d0!important;background:#f4fff8!important}
.portal-material-count{flex:0 0 auto;align-self:flex-start;border:1px solid #d6eadf;border-radius:999px;background:#effaf3;color:#0b6b43;padding:7px 10px;font-size:11px;font-weight:900;white-space:nowrap}
.portal-material-course-card .portal-course-card__header{margin-bottom:14px}
.portal-material-panel--standalone{margin-top:0;background:#fff;border-color:#d6eadf;box-shadow:inset 0 1px 0 rgba(14,107,67,.04)}
.portal-material-panel--standalone .portal-material-list{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));max-height:none;padding:14px}
.portal-material-card{min-height:86px;align-content:center;border-radius:18px;padding:15px;background:linear-gradient(180deg,#fff 0%,#fbfefc 100%)}
.portal-material-card em{white-space:normal;line-height:1.25}
@media(max-width:650px){
  .portal-material-count{width:max-content}
  .portal-material-panel--standalone .portal-material-list{grid-template-columns:1fr}
}

/* LinkedIn Learning inspired participant portal */
.learning-portal-body{background:#f3f2ef}
.learning-portal-body main{max-width:none!important;margin:0!important;padding:0!important}
.learning-shell{display:grid;grid-template-columns:250px minmax(0,1fr);min-height:calc(100vh - 70px);background:#f3f2ef}
.learning-sidebar{position:sticky;top:70px;align-self:start;min-height:calc(100vh - 70px);border-right:1px solid #ddd9d2;background:#fff;padding:18px 0}
.learning-sidebar-item{display:flex;align-items:center;gap:12px;padding:14px 22px;color:#24343c;text-decoration:none;border-left:4px solid transparent;font-size:15px}
.learning-sidebar-item span{display:grid;place-items:center;width:24px;height:24px;color:#38434f;font-size:19px}
.learning-sidebar-item:hover{background:#f4f2ee;color:#0a66c2}
.learning-sidebar-item.active{border-left-color:#0a66c2;background:#e8f3ff;color:#0a66c2}
.learning-sidebar-item strong{font-weight:650}
.learning-sidebar-group{display:grid;gap:10px;margin-top:26px;padding:0 22px}
.learning-sidebar-group small{padding:0;background:none;color:#666;font-size:12px;font-weight:700}
.learning-sidebar-group a{color:#38434f;text-decoration:none;font-size:14px}
.learning-sidebar-group a:hover{color:#0a66c2}
.learning-main{min-width:0;padding-bottom:56px}
.learning-hero{display:grid;grid-template-columns:minmax(0,1fr) 360px;align-items:center;gap:42px;min-height:295px;padding:44px max(32px,calc((100vw - 1250px)/2));background:linear-gradient(90deg,#fff 0%,#fff 72%,#eaf4ff 72%,#eaf4ff 100%);border-bottom:1px solid #dedbd5}
.learning-hero-copy{max-width:760px}
.learning-hero-copy .portal-kicker{background:#eef6ff;color:#0a66c2}
.learning-hero h1{max-width:760px;margin:12px 0 12px;font-size:clamp(32px,4.2vw,52px);line-height:1.08;letter-spacing:-.045em;color:#111827}
.learning-hero p{max-width:690px;margin:0;color:#3d4752;font-size:18px}
.learning-hero .portal-primary-action{background:#0a66c2;color:#fff;border-radius:999px;box-shadow:none}
.learning-hero .portal-primary-action:hover{color:#fff;background:#004182}
.learning-hero .portal-secondary-action{background:#fff;color:#0a66c2;border:1px solid #0a66c2;border-radius:999px}
.learning-hero .portal-secondary-action:hover{background:#eef6ff;color:#004182}
.learning-hero-visual{display:flex;justify-content:center}
.learning-visual-card{position:relative;width:270px;height:190px;border-radius:50% 50% 12px 12px;background:#dceeff;display:grid;place-items:center;box-shadow:inset 0 -24px 0 rgba(255,255,255,.45)}
.learning-visual-card:before{content:"";position:absolute;bottom:34px;width:92px;height:74px;border-radius:12px;background:#24343c;box-shadow:80px -20px 0 #72b47f,-80px -10px 0 #e38f68}
.learning-visual-card span{position:absolute;top:52px;width:72px;height:52px;border-radius:10px;background:#fff;border:8px solid #637083}
.learning-visual-card strong{position:absolute;bottom:38px;color:#0a66c2;font-size:24px}
.learning-visual-card em{position:absolute;bottom:16px;font-style:normal;color:#38434f;font-size:13px;font-weight:700}
.learning-summary-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;max-width:1200px;margin:24px auto 0;padding:0 28px}
.learning-summary-row article{display:flex;align-items:center;justify-content:space-between;border:1px solid #ddd9d2;border-radius:12px;background:#fff;padding:16px 18px}
.learning-summary-row span{color:#5f6870;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.learning-summary-row strong{color:#0a66c2;font-size:28px;line-height:1}
.learning-section-heading{max-width:1200px;margin:30px auto 14px!important;padding:0 28px}
.learning-section-heading .portal-kicker{background:#eef6ff;color:#0a66c2}
.learning-section-heading h2{color:#111827}
.learning-course-rail{display:flex;gap:18px;max-width:1200px;margin:0 auto;padding:0 28px 18px;overflow-x:auto;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}
.learning-course-card{flex:0 0 285px;scroll-snap-align:start;border:1px solid #ddd9d2;border-radius:10px;background:#fff;overflow:hidden;box-shadow:0 2px 0 rgba(0,0,0,.04)}
.learning-course-cover{height:128px;background:linear-gradient(135deg,#0a66c2,#70b5f9);display:grid;place-items:center}
.learning-course-cover span{display:grid;place-items:center;width:68px;height:68px;border-radius:18px;background:rgba(255,255,255,.16);color:#fff;font-size:38px;font-weight:900;border:1px solid rgba(255,255,255,.28)}
.learning-course-body{padding:14px 14px 10px}
.learning-course-type{display:block;color:#5f6870;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.learning-course-body h3{margin:6px 0 7px;color:#111827;font-size:18px;line-height:1.2}
.learning-course-body p{margin:0;color:#5f6870;font-size:13px}
.learning-material-list{display:grid;gap:8px;padding:0 14px 14px}
.learning-material-link{display:grid;gap:7px;border:1px solid #e5e1db;border-radius:9px;background:#fff;padding:11px;text-decoration:none}
.learning-material-link:hover{border-color:#0a66c2;box-shadow:0 0 0 1px #0a66c2}
.learning-material-link strong{color:#111827;font-size:14px;line-height:1.25}
.learning-material-link .portal-material-badge{width:max-content;background:#eef6ff;color:#0a66c2}
@media(max-width:980px){
  .learning-shell{grid-template-columns:1fr}
  .learning-sidebar{position:static;min-height:auto;display:flex;gap:6px;overflow-x:auto;border-right:0;border-bottom:1px solid #ddd9d2;padding:8px 12px}
  .learning-sidebar-item{flex:0 0 auto;border-left:0;border-bottom:3px solid transparent;border-radius:8px;padding:10px 12px}
  .learning-sidebar-item.active{border-bottom-color:#0a66c2}
  .learning-sidebar-group{display:none}
  .learning-hero{grid-template-columns:1fr;padding:34px 22px;background:#fff}
  .learning-hero-visual{display:none}
  .learning-summary-row{grid-template-columns:1fr 1fr 1fr;padding:0 18px}
  .learning-section-heading{padding:0 18px}
  .learning-course-rail{padding:0 18px 18px}
}
@media(max-width:650px){
  .learning-hero{padding:28px 16px}
  .learning-hero h1{font-size:32px}
  .learning-hero p{font-size:15px}
  .learning-summary-row{grid-template-columns:1fr}
  .learning-course-card{flex-basis:82vw}
}

/* Clean education portal layout */
.edu-portal-body{background:#f3f2ef;color:#111827}
.edu-portal-body main{max-width:1200px!important;margin:34px auto 70px!important;padding:0 24px!important}
.edu-hero{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:36px;align-items:center;min-height:300px;border:1px solid #e1ded8;border-radius:18px;background:linear-gradient(90deg,#fff 0%,#fff 68%,#e8f3ff 68%,#e8f3ff 100%);box-shadow:0 10px 26px rgba(0,0,0,.06);padding:42px 48px;margin-bottom:22px}
.edu-hero-copy{position:relative;z-index:1;max-width:760px}
.edu-kicker{display:inline-flex;width:max-content;border-radius:999px;background:#eef6ff;color:#0a66c2;padding:7px 11px;font-size:11px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}
.edu-hero h1{margin:14px 0 12px;max-width:760px;color:#111827;font-size:clamp(32px,4vw,50px);line-height:1.08;letter-spacing:-.045em}
.edu-hero p{max-width:680px;margin:0;color:#4b5563;font-size:17px}
.edu-hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
.edu-hero-actions a{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:12px 18px;text-decoration:none;font-weight:800}
.edu-hero-actions a:first-child{background:#0a66c2;color:#fff}
.edu-hero-actions a:first-child:hover{background:#004182;color:#fff}
.edu-hero-actions a:last-child{background:#fff;color:#0a66c2;border:1px solid #0a66c2}
.edu-hero-actions a:last-child:hover{background:#eef6ff;color:#004182}
.edu-hero-illustration{position:relative;height:210px}
.edu-screen{position:absolute;left:34px;top:26px;width:150px;height:105px;border-radius:14px;background:#fff;border:10px solid #38434f;box-shadow:0 20px 36px rgba(56,67,79,.16)}
.edu-screen:after{content:"";position:absolute;left:48px;bottom:-42px;width:34px;height:42px;background:#38434f;border-radius:0 0 10px 10px}
.edu-person{position:absolute;right:34px;bottom:24px;width:86px;height:132px;border-radius:44px 44px 20px 20px;background:linear-gradient(#25313b 0 31%,#e3a46f 31% 64%,#48566a 64%);box-shadow:-80px 44px 0 -26px #7aae6d}
.edu-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:30px}
.edu-stats article{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #e1ded8;border-radius:14px;background:#fff;padding:18px 20px;box-shadow:0 4px 12px rgba(0,0,0,.04)}
.edu-stats span{color:#5f6870;font-size:12px;font-weight:850;text-transform:uppercase;letter-spacing:.08em}
.edu-stats strong{color:#0a66c2;font-size:31px;line-height:1}
.edu-stats .edu-active{border-color:#bfe8d0;background:#f4fff8}
.edu-stats .edu-active strong{color:#0b7a49}
.edu-library{border:1px solid #e1ded8;border-radius:18px;background:#fff;padding:24px;box-shadow:0 10px 26px rgba(0,0,0,.05)}
.edu-section-title{margin-bottom:18px}
.edu-section-title h2{margin:10px 0 4px;color:#111827;font-size:28px;letter-spacing:-.035em}
.edu-section-title p{margin:0;color:#5f6870}
.edu-course-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:18px}
.edu-course-card{overflow:hidden;border:1px solid #e4e0da;border-radius:13px;background:#fff;box-shadow:0 2px 0 rgba(0,0,0,.04);transition:transform .16s,box-shadow .16s,border-color .16s}
.edu-course-card:hover{transform:translateY(-2px);border-color:#0a66c2;box-shadow:0 12px 26px rgba(10,102,194,.12)}
.edu-course-cover{height:130px;background:linear-gradient(135deg,#0a66c2,#70b5f9);display:grid;place-items:center}
.edu-course-cover span{display:grid;place-items:center;width:70px;height:70px;border-radius:18px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.35);color:#fff;font-size:38px;font-weight:950}
.edu-course-content{padding:15px 15px 10px}
.edu-course-label{display:block;color:#5f6870;font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.08em}
.edu-course-content h3{margin:7px 0 6px;color:#111827;font-size:19px;line-height:1.2}
.edu-course-content p{margin:0;color:#5f6870;font-size:13px}
.edu-materials{display:grid;gap:8px;padding:0 15px 15px}
.edu-material-link{display:grid;gap:7px;border:1px solid #e5e1db;border-radius:10px;background:#fff;padding:11px;text-decoration:none}
.edu-material-link:hover{border-color:#0a66c2;box-shadow:0 0 0 1px #0a66c2}
.edu-material-link span{width:max-content;border-radius:999px;background:#eef6ff;color:#0a66c2;padding:5px 8px;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}
.edu-material-link strong{color:#111827;font-size:14px;line-height:1.25}
.edu-empty-material,.edu-empty-state{border:1px dashed #c9c4bd;border-radius:12px;background:#faf9f7;padding:16px;color:#5f6870}
.edu-empty-material{display:grid;gap:3px}
.edu-empty-material strong,.edu-empty-state h2{color:#111827}
.edu-empty-state{grid-column:1/-1;text-align:center;padding:42px}
@media(max-width:900px){
  .edu-portal-body main{margin:22px auto 50px!important;padding:0 16px!important}
  .edu-hero{grid-template-columns:1fr;padding:30px;background:#fff}
  .edu-hero-illustration{display:none}
  .edu-stats{grid-template-columns:1fr}
}
@media(max-width:560px){
  .edu-portal-body main{padding:0 12px!important}
  .edu-hero{padding:22px;border-radius:15px}
  .edu-hero h1{font-size:30px}
  .edu-hero p{font-size:15px}
  .edu-hero-actions{display:grid;grid-template-columns:1fr}
  .edu-library{padding:16px}
  .edu-course-grid{grid-template-columns:1fr}
}

/* Force the participant education portal to render as a designed dashboard. */
body.edu-portal-body{background:#f3f2ef!important}
body.edu-portal-body main{max-width:none!important;width:100%!important;margin:34px 0 70px!important;padding:0 28px!important}
body.edu-portal-body .edu-hero{display:grid!important;grid-template-columns:minmax(0,1fr) 340px!important;gap:36px!important;align-items:center!important;min-height:300px!important;margin-bottom:22px!important;padding:42px 48px!important;border:1px solid #e1ded8!important;border-radius:18px!important;background:linear-gradient(90deg,#fff 0%,#fff 68%,#e8f3ff 68%,#e8f3ff 100%)!important;box-shadow:0 10px 26px rgba(0,0,0,.06)!important}
body.edu-portal-body .edu-kicker{display:inline-flex!important;width:max-content!important;border-radius:999px!important;background:#eef6ff!important;color:#0a66c2!important;padding:7px 11px!important;font-size:11px!important;font-weight:900!important;letter-spacing:.1em!important;text-transform:uppercase!important}
body.edu-portal-body .edu-hero h1{margin:14px 0 12px!important;max-width:760px!important;color:#111827!important;font-size:clamp(32px,4vw,50px)!important;line-height:1.08!important;letter-spacing:-.045em!important}
body.edu-portal-body .edu-hero p{max-width:680px!important;margin:0!important;color:#4b5563!important;font-size:17px!important}
body.edu-portal-body .edu-hero-actions{display:flex!important;flex-wrap:wrap!important;gap:12px!important;margin-top:24px!important}
body.edu-portal-body .edu-hero-actions a{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;border-radius:999px!important;padding:12px 18px!important;text-decoration:none!important;font-weight:800!important}
body.edu-portal-body .edu-hero-actions a:first-child{background:#0a66c2!important;color:#fff!important}
body.edu-portal-body .edu-hero-actions a:last-child{background:#fff!important;color:#0a66c2!important;border:1px solid #0a66c2!important}
body.edu-portal-body .edu-stats{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;margin-bottom:30px!important}
body.edu-portal-body .edu-stats article{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;border:1px solid #e1ded8!important;border-radius:14px!important;background:#fff!important;padding:18px 20px!important;box-shadow:0 4px 12px rgba(0,0,0,.04)!important}
body.edu-portal-body .edu-stats span{color:#5f6870!important;font-size:12px!important;font-weight:850!important;text-transform:uppercase!important;letter-spacing:.08em!important}
body.edu-portal-body .edu-stats strong{color:#0a66c2!important;font-size:31px!important;line-height:1!important}
body.edu-portal-body .edu-stats .edu-active{border-color:#bfe8d0!important;background:#f4fff8!important}
body.edu-portal-body .edu-stats .edu-active strong{color:#0b7a49!important}
body.edu-portal-body .edu-library{display:block!important;border:1px solid #e1ded8!important;border-radius:18px!important;background:#fff!important;padding:24px!important;box-shadow:0 10px 26px rgba(0,0,0,.05)!important}
body.edu-portal-body .edu-section-title h2{margin:10px 0 4px!important;color:#111827!important;font-size:28px!important;letter-spacing:-.035em!important}
body.edu-portal-body .edu-section-title p{margin:0!important;color:#5f6870!important}
body.edu-portal-body .edu-course-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(260px,1fr))!important;gap:18px!important}
body.edu-portal-body .edu-course-card{overflow:hidden!important;border:1px solid #e4e0da!important;border-radius:13px!important;background:#fff!important;box-shadow:0 2px 0 rgba(0,0,0,.04)!important}
body.edu-portal-body .edu-course-cover{height:130px!important;background:linear-gradient(135deg,#0a66c2,#70b5f9)!important;display:grid!important;place-items:center!important}
body.edu-portal-body .edu-course-cover span{display:grid!important;place-items:center!important;width:70px!important;height:70px!important;border-radius:18px!important;background:rgba(255,255,255,.16)!important;border:1px solid rgba(255,255,255,.35)!important;color:#fff!important;font-size:38px!important;font-weight:950!important}
body.edu-portal-body .edu-course-content{padding:15px 15px 10px!important}
body.edu-portal-body .edu-course-label{display:block!important;color:#5f6870!important;font-size:11px!important;font-weight:850!important;text-transform:uppercase!important;letter-spacing:.08em!important}
body.edu-portal-body .edu-course-content h3{margin:7px 0 6px!important;color:#111827!important;font-size:19px!important;line-height:1.2!important}
body.edu-portal-body .edu-course-content p{margin:0!important;color:#5f6870!important;font-size:13px!important}
body.edu-portal-body .edu-materials{display:grid!important;gap:8px!important;padding:0 15px 15px!important}
body.edu-portal-body .edu-material-link{display:grid!important;gap:7px!important;border:1px solid #e5e1db!important;border-radius:10px!important;background:#fff!important;padding:11px!important;text-decoration:none!important}
body.edu-portal-body .edu-material-link span{width:max-content!important;border-radius:999px!important;background:#eef6ff!important;color:#0a66c2!important;padding:5px 8px!important;font-size:10px!important;font-weight:900!important;text-transform:uppercase!important;letter-spacing:.04em!important}
body.edu-portal-body .edu-material-link strong{color:#111827!important;font-size:14px!important;line-height:1.25!important}
body.edu-portal-body .edu-empty-material{display:grid!important;gap:3px!important;border:1px dashed #c9c4bd!important;border-radius:12px!important;background:#faf9f7!important;padding:16px!important;color:#5f6870!important}
body.edu-portal-body .edu-material-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(240px,1fr))!important;gap:14px!important}
body.edu-portal-body .edu-resource-card{display:grid!important;gap:10px!important;align-content:start!important;min-height:140px!important;border:1px solid #e4e0da!important;border-radius:16px!important;background:linear-gradient(180deg,#fff 0%,#fafcff 100%)!important;padding:18px!important;text-decoration:none!important;box-shadow:0 4px 12px rgba(0,0,0,.04)!important;transition:transform .16s,box-shadow .16s,border-color .16s!important}
body.edu-portal-body .edu-resource-card:hover{transform:translateY(-2px)!important;border-color:#0a66c2!important;box-shadow:0 14px 28px rgba(10,102,194,.12)!important}
body.edu-portal-body .edu-resource-type{width:max-content!important;border-radius:999px!important;background:#eef6ff!important;color:#0a66c2!important;padding:6px 9px!important;font-size:10px!important;font-weight:900!important;text-transform:uppercase!important;letter-spacing:.04em!important}
body.edu-portal-body .edu-resource-card strong{color:#111827!important;font-size:16px!important;line-height:1.28!important;overflow-wrap:anywhere!important}
body.edu-portal-body .edu-resource-card small{align-self:end!important;width:max-content!important;background:#f3f2ef!important;color:#4b5563!important;padding:5px 8px!important;border-radius:999px!important}
body.edu-portal-body .edu-course-sections{display:grid!important;gap:18px!important}
body.edu-portal-body .edu-course-section{border:1px solid #ebe7e0!important;border-radius:16px!important;padding:18px!important;background:#fff!important}
body.edu-portal-body .edu-course-section-head{display:flex!important;justify-content:space-between!important;gap:14px!important;align-items:flex-start!important;margin-bottom:14px!important}
body.edu-portal-body .edu-course-section-head h3{margin:5px 0 0!important;color:#111827!important;font-size:22px!important}
body.edu-portal-body .edu-course-section-head>span{border-radius:999px!important;background:#eef6ff!important;color:#0a66c2!important;padding:7px 10px!important;font-size:12px!important;font-weight:850!important;white-space:nowrap!important}
.material-reader{display:grid;gap:18px}.material-reader-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;border:1px solid #e1ded8;border-radius:18px;background:#fff;padding:22px;box-shadow:0 8px 22px rgba(0,0,0,.05)}.material-reader-head h1{margin:10px 0 4px;color:#111827;font-size:30px}.material-reader-head p{margin:0}.material-reader-frame{overflow:hidden;min-height:70vh;border:1px solid #e1ded8;border-radius:18px;background:#fff;box-shadow:0 8px 22px rgba(0,0,0,.05)}.material-reader-frame iframe{display:block;width:100%;height:76vh;border:0}.material-reader-frame video{display:block;width:100%;max-height:76vh;background:#000}.material-download-state{display:grid;place-items:start;gap:12px;padding:44px;max-width:760px}.material-download-state h2{margin:0;color:#111827}
@media(max-width:900px){
  body.edu-portal-body main{margin:22px auto 50px!important;padding:0 16px!important}
  body.edu-portal-body .edu-hero{grid-template-columns:1fr!important;padding:30px!important;background:#fff!important}
  body.edu-portal-body .edu-hero-illustration{display:none!important}
  body.edu-portal-body .edu-stats{grid-template-columns:1fr!important}
}
@media(max-width:560px){
  body.edu-portal-body main{padding:0 12px!important}
  body.edu-portal-body .edu-hero{padding:22px!important;border-radius:15px!important}
  body.edu-portal-body .edu-hero h1{font-size:30px!important}
  body.edu-portal-body .edu-hero p{font-size:15px!important}
  body.edu-portal-body .edu-hero-actions{display:grid!important;grid-template-columns:1fr!important}
  body.edu-portal-body .edu-hero-actions a{width:100%!important}
  body.edu-portal-body .edu-library{padding:16px!important}
  body.edu-portal-body .edu-course-grid{grid-template-columns:1fr!important}
  body.edu-portal-body .edu-material-grid{grid-template-columns:1fr!important}
  body.edu-portal-body .edu-course-section-head{flex-direction:column!important}
  .material-reader-head{flex-direction:column}.material-reader-head .secondary-button{width:100%}.material-reader-frame iframe{height:68vh}
}

/* Material library with persistent left navigation */
body.edu-portal-body .edu-hero-compact{min-height:230px!important;margin-bottom:16px!important}
body.edu-portal-body .edu-learning-shell{display:grid!important;grid-template-columns:260px minmax(0,1fr)!important;gap:20px!important;align-items:start!important;width:100%!important}
body.edu-portal-body .edu-dashboard-shell{max-width:1480px!important;margin:0 auto!important}
body.edu-portal-body .edu-learning-main{min-width:0!important;display:grid!important;gap:16px!important}
body.edu-portal-body .edu-learning-sidebar{position:sticky!important;top:92px!important;border:1px solid #e1ded8!important;border-radius:18px!important;background:#fff!important;padding:18px!important;box-shadow:0 10px 26px rgba(0,0,0,.05)!important}
body.edu-portal-body .edu-sidebar-title{padding-bottom:14px!important;margin-bottom:14px!important;border-bottom:1px solid #ebe7e0!important}
body.edu-portal-body .edu-sidebar-title h2{margin:10px 0 0!important;font-size:22px!important;color:#111827!important;letter-spacing:-.03em!important}
body.edu-portal-body .edu-type-nav{display:grid!important;gap:8px!important}
body.edu-portal-body .edu-type-nav a{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;border:1px solid transparent!important;border-radius:12px!important;padding:11px 12px!important;text-decoration:none!important;color:#38434f!important;font-weight:800!important}
body.edu-portal-body .edu-type-nav a:hover{background:#eef6ff!important;color:#0a66c2!important}
body.edu-portal-body .edu-type-nav a.is-active{background:#0a66c2!important;color:#fff!important;border-color:#0a66c2!important;box-shadow:0 8px 18px rgba(10,102,194,.20)!important}
body.edu-portal-body .edu-type-nav strong{display:inline-flex!important;min-width:30px!important;height:24px!important;align-items:center!important;justify-content:center!important;border-radius:999px!important;background:#f3f2ef!important;color:#38434f!important;font-size:12px!important}
body.edu-portal-body .edu-type-nav a.is-active strong{background:rgba(255,255,255,.20)!important;color:#fff!important}
body.edu-portal-body .edu-profile-link{display:flex!important;align-items:center!important;justify-content:center!important;margin-top:16px!important;border:1px solid #d6e8f8!important;border-radius:12px!important;padding:11px!important;color:#0a66c2!important;text-decoration:none!important;font-weight:850!important;background:#f8fbff!important}
body.edu-portal-body .edu-profile-link:hover{background:#eef6ff!important}
body.edu-portal-body .edu-library-panel{min-width:0!important;border:1px solid #e1ded8!important;border-radius:18px!important;background:#fff!important;padding:24px!important;box-shadow:0 10px 26px rgba(0,0,0,.05)!important}
body.edu-portal-body .edu-material-grid-wide{grid-template-columns:repeat(auto-fill,minmax(260px,1fr))!important}
body.edu-portal-body .edu-resource-card{position:relative!important;overflow:hidden!important}
body.edu-portal-body .edu-resource-card:before{content:""!important;position:absolute!important;left:0!important;right:0!important;top:0!important;height:5px!important;background:#0a66c2!important}
body.edu-portal-body .edu-material-pdf:before{background:#c7261e!important}
body.edu-portal-body .edu-material-html:before{background:#0b7a49!important}
body.edu-portal-body .edu-material-presentation:before{background:#f5a400!important}
body.edu-portal-body .edu-material-video:before{background:#7c3aed!important}
body.edu-portal-body .edu-material-document:before{background:#2563eb!important}
body.edu-portal-body .edu-reader-shell{min-height:calc(100vh - 170px)!important}
body.edu-portal-body .edu-reader-shell .material-reader{min-width:0!important}
body.edu-portal-body .material-reader-frame-html{min-height:calc(100vh - 230px)!important}
body.edu-portal-body .material-reader-frame-html iframe{height:calc(100vh - 230px)!important;background:#fff!important}
@media(max-width:900px){
  body.edu-portal-body main{padding:0 16px!important}
  body.edu-portal-body .edu-learning-shell{grid-template-columns:1fr!important}
  body.edu-portal-body .edu-learning-sidebar{position:static!important}
  body.edu-portal-body .edu-type-nav{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))!important}
}

/* Mobius-style TMS training partner page */
/* TMS colour tokens: every Mobius-style page reads its palette from here. */
body.tms-body{
  --tms-accent:#ff8a16;--tms-accent-hover:#e97800;
  --tms-nav-accent:#f58220;--tms-nav-accent-hover:#d86f00;
  --tms-titlebar:#285d83;--tms-text:#001f35;--tms-page-bg:#f4f4f8;--tms-surface:#fff;
  --tms-link:#004e7a;--tms-active:#428bca;
  --tms-danger:#c62828;--tms-danger-hover:#a51f1f;--tms-danger-disabled:#d8a3a3;
  --tms-border:#c9c9c9;--tms-grid-line:#cfcfcf;--tms-input-border:#c7c7c7;
}
body.tms-body{margin:0!important;background:var(--tms-page-bg)!important;color:var(--tms-text)!important;overflow:auto!important}
.tms-shell{min-height:100vh;border-top:4px solid #2b2b2b;background:var(--tms-page-bg);font-family:Arial,Helvetica,sans-serif;color:var(--tms-text)}
.tms-topbar{height:46px;display:flex;align-items:center;gap:78px;padding:0 43px;background:#fff;border-bottom:0}
.tms-logo{position:relative;display:grid;align-content:center;width:112px;height:46px;background:#fff;color:#19476b;line-height:1}
.tms-logo:before{content:"";position:absolute;left:1px;top:8px;width:34px;height:25px;border-radius:50%;border:5px solid #f28c22;transform:rotate(-25deg)}
.tms-logo strong{margin-left:43px;font-size:14px;font-weight:800}
.tms-logo span{margin-left:43px;font-size:12px;font-weight:700}
.tms-logo small{position:absolute;left:0;bottom:1px;background:#ef8a21;color:#fff;font-size:8px;padding:2px 4px;width:112px;text-align:center}
.tms-menu{display:flex;align-items:center;gap:50px;flex:1;height:46px;margin-left:150px}
.tms-menu a,.tms-menu-item>button{color:var(--tms-text);text-decoration:none;font-size:16px;font-weight:400;letter-spacing:.01em}
.tms-menu .tms-system-home-link{font-weight:700;color:var(--tms-nav-accent)}
.tms-menu .tms-system-home-link:hover{color:var(--tms-nav-accent-hover)}
.tms-menu-item{position:relative;height:46px;display:flex;align-items:center}
.tms-menu-item>button{border:0;background:transparent;padding:0;cursor:pointer;font-family:Arial,Helvetica,sans-serif}
.tms-menu-item:hover>button{color:var(--tms-nav-accent)}
.tms-tools-menu{position:absolute;top:40px;left:0;z-index:100;display:none;min-width:260px;border:1px solid var(--tms-grid-line);border-radius:3px;background:#fff;box-shadow:0 8px 16px rgba(0,0,0,.08);padding:8px 0}
.tms-menu-item:hover .tms-tools-menu{display:block}
.tms-tools-menu a{display:flex;align-items:center;justify-content:space-between;padding:7px 24px;color:#0b3554!important;font-size:16px;line-height:1.12;white-space:nowrap;text-decoration:none}
.tms-tools-menu a:hover{background:#f5f5f5}
.tms-user{margin-left:auto;margin-right:30px;font-size:14px;color:var(--tms-text);display:flex;align-items:center;gap:9px}
.tms-user span{font-size:20px;color:#074468}
.tms-titlebar{height:75px;background:var(--tms-titlebar);display:flex;align-items:center;padding:0 59px}
.tms-titlebar h1{margin:0;color:#f4f0f2;font-size:37px;font-weight:200;letter-spacing:.06em}
.tms-titlebar-compact{height:22px;padding:0}
.tms-content{width:95%;margin:0 auto;padding:40px 0 70px;background:var(--tms-page-bg)}
.tms-home{display:inline-block;margin-bottom:16px;color:#002b4a;text-decoration:none;font-size:14px}
.tms-home:hover{text-decoration:underline}
.tms-filterbar{display:flex;align-items:center;flex-wrap:wrap;gap:2px 4px;width:100%;margin-bottom:13px}
.tms-filterbar span{margin-right:2px;font-size:14px}
.tms-filterbar input,.tms-filterbar select{height:31px;border:1px solid var(--tms-input-border);border-radius:4px;background:#fff;color:#6d7780;padding:0 10px;font-size:13px;font-family:Arial,Helvetica,sans-serif;min-width:198px;box-shadow:inset 0 1px 1px rgba(0,0,0,.03)}
.tms-filterbar select{appearance:auto}
.tms-filterbar input[type=date]{min-width:162px;color:#111}
.tms-search,.tms-clear{height:31px;border:1px solid var(--tms-input-border);border-radius:4px;background:#fff;color:#00385c;padding:0 12px;text-decoration:none;font-size:13px;display:inline-flex;align-items:center}
.tms-search{background:#fff}
.tms-grid-card{width:100%;border:1px solid var(--tms-border);border-radius:4px;background:#fff;overflow:hidden}
.tms-grid-toolbar{height:52px;display:flex;align-items:center;gap:12px;padding:0 14px;border-bottom:1px solid var(--tms-border);background:#fff}
.tms-export-button{height:30px;border:1px solid var(--tms-border);border-radius:4px;background:#fff;color:var(--tms-text);padding:0 12px;text-decoration:none;font-size:13px;font-weight:600;display:inline-flex;align-items:center}
.tms-table-wrap{height:400px;overflow:auto;background:#fff}
.tms-table{border-collapse:collapse;min-width:1820px;width:100%;font-size:12px;color:#000}
.tms-table th,.tms-table td{border-right:1px solid var(--tms-grid-line);border-bottom:1px solid var(--tms-grid-line);padding:7px 8px;text-align:left;vertical-align:middle;white-space:nowrap}
.tms-table th{position:sticky;top:0;z-index:2;background:linear-gradient(#fff,#f5f5f5);font-weight:700}
.tms-table th:not(.tms-select-col):after{content:"⋮";float:right;color:#003653;font-size:18px;line-height:10px}
.tms-table td{height:34px}
.tms-table tbody tr:nth-child(even){background:#f3f3f3}
.tms-table tbody tr:hover{background:#eaf3fb}
.tms-table a{color:var(--tms-link);text-decoration:underline}
.tms-table input[type=radio]{width:14px;height:14px}
.tms-table input[type=checkbox]{width:14px;height:14px;cursor:pointer}
.tms-select-col{width:34px;text-align:center!important}
.tms-name-cell{min-width:180px}
.tms-check{display:inline-grid;place-items:center;width:15px;height:15px;border:1px solid #003653;border-radius:50%;font-size:11px;color:#003653;line-height:1}
.tms-empty{text-align:center;color:#777;padding:34px!important}
.tms-pager{height:54px;display:grid;grid-template-columns:minmax(190px,1fr) auto minmax(190px,1fr);align-items:center;column-gap:12px;padding:0 10px;border-top:1px solid var(--tms-border);background:#fff}
.tms-page-buttons{grid-column:2;display:flex;flex-wrap:nowrap;align-items:center;gap:2px;justify-self:center}
.tms-page-buttons button,.tms-page-buttons a,.tms-page-buttons span{box-sizing:border-box;text-decoration:none;font-size:13px;border-radius:3px;display:inline-grid!important;place-items:center!important;width:29px;height:29px;border:1px solid #ddd;background:#fff;color:#9ca3af;padding:0!important;line-height:1!important;text-align:center!important}
.tms-page-buttons a{color:var(--tms-text)}
.tms-page-buttons a:hover{background:#eef4fa}
.tms-page-buttons span[aria-disabled]{color:#c4c9d0;cursor:default}
.tms-page-buttons button.active,.tms-page-buttons span.active{background:var(--tms-active);color:#fff;border-color:var(--tms-active)}
.tms-pager select{grid-column:1;grid-row:1;justify-self:start;height:30px;border:1px solid var(--tms-border);border-radius:4px;background:#fff;padding:0 26px 0 10px}
.tms-pager>span{grid-column:1;grid-row:1;justify-self:start;margin-left:96px;color:#9ca3af;font-size:13px}
.tms-pager-refresh{color:inherit;text-decoration:none;margin-left:4px}
.tms-pager-refresh:hover{color:var(--tms-text)}
.tms-pager em{grid-column:3;grid-row:1;justify-self:end;margin-left:0;color:#9ca3af;font-style:normal;font-size:13px}
.tms-actions{display:flex;gap:6px;margin-top:18px}
.tms-actions button,.tms-actions a{height:33px;display:inline-flex;align-items:center;border:0;border-right:1px solid rgba(255,255,255,.35);background:var(--tms-accent);color:#fff;padding:0 13px;font-size:13px;font-weight:600;text-decoration:none;cursor:pointer}
.tms-actions button:hover,.tms-actions a:hover{background:var(--tms-accent-hover)}
.tms-actions .tms-delete-button{margin-left:auto;background:var(--tms-danger)}
.tms-actions .tms-delete-button:hover{background:var(--tms-danger-hover)}
.tms-actions .tms-delete-button:disabled{background:var(--tms-danger-disabled);cursor:not-allowed}
.tms-actions button:disabled:not(.tms-delete-button){opacity:.5;cursor:not-allowed}
.tms-actions form{margin:0;display:flex}
.tms-actions .tms-actions-end{margin-left:auto}
.tms-resend:disabled{opacity:.5;cursor:not-allowed}
/* TMS session pages (course details, attendance, exam, certificates) */
.tms-course-tabs{display:flex;flex-wrap:wrap;gap:0;margin:0 0 14px;border-bottom:2px solid var(--tms-titlebar)}
.tms-course-tabs a{padding:8px 14px;font-size:12px;font-weight:700;letter-spacing:.02em;color:var(--tms-text);text-decoration:none;border:1px solid var(--tms-border);border-bottom:0;margin-right:-1px;background:var(--tms-surface)}
.tms-course-tabs a:hover{color:var(--tms-nav-accent)}
.tms-course-tabs a.active{background:var(--tms-titlebar);border-color:var(--tms-titlebar);color:#fff}
.tms-detail-table{width:100%;border-collapse:collapse;font-size:12px}
.tms-detail-table th,.tms-detail-table td{border-bottom:1px solid var(--tms-grid-line);padding:8px 10px;text-align:left;vertical-align:top}
.tms-detail-table th{width:150px;background:#f5f5f5;font-weight:700;white-space:nowrap}
.tms-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:14px 0}
.tms-summary-tile{display:flex;flex-direction:column;gap:2px;padding:12px 14px;border:1px solid var(--tms-border);border-left:4px solid var(--tms-accent);border-radius:4px;background:var(--tms-surface);color:var(--tms-text);text-decoration:none}
.tms-summary-tile strong{font-size:20px}
.tms-summary-tile span{font-size:12px;color:#5b6570}
.tms-summary-tile:hover{border-color:var(--tms-accent)}
.tms-section-title{font-size:13px;letter-spacing:.02em;color:var(--tms-text)}
.tms-toolbar-note{font-size:12px;color:#6b7280}
.tms-section-gap{margin-top:14px}
.tms-table-wrap.tms-auto-height{height:auto;max-height:520px}
.tms-upload-form{display:flex;align-items:center;gap:8px;margin:0 0 0 auto;font-size:12px}
.tms-sheet-gallery{display:flex;flex-wrap:wrap;gap:12px;padding:14px}
.tms-sheet{margin:0;width:150px;border:1px solid var(--tms-grid-line);background:var(--tms-surface);font-size:11px}
.tms-sheet img,.tms-sheet-pdf{display:grid;place-items:center;width:100%;height:110px;object-fit:cover;background:#eef1f5;color:var(--tms-text);font-weight:800;text-decoration:none}
.tms-sheet figcaption{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:6px}
.tms-sheet form{margin:0}
.tms-sheet-gallery .tms-empty{margin:0;padding:6px 0!important}
.tms-day-col{text-align:center!important}
.tms-table.tms-table-compact{min-width:0}
.tms-result{display:inline-block;padding:2px 7px;font-size:11px;font-weight:700;border-radius:2px;background:#eef1f5;color:#475467}
.tms-result-passed{background:#e7f8ef;color:#0a5f38}
.tms-result-failed{background:#fdecec;color:#b42318}
.tms-row-actions .tms-fail-button{background:var(--tms-danger)}
.tms-row-actions .tms-fail-button:hover{background:var(--tms-danger-hover)}
.tms-row-actions button:disabled{opacity:.4;cursor:default}
.tms-danger-zone{margin-top:28px}
.tms-danger-zone .tms-delete-button{background:var(--tms-danger)}
.tms-danger-zone .tms-delete-button:hover{background:var(--tms-danger-hover)}
.tms-form-note{max-width:720px;font-size:12px;line-height:1.5;color:var(--tms-text)}
.tms-course-row-check .tms-course-field input{width:auto;min-height:0}
.tms-summary-tile.active{background:#fff5ea;border-color:var(--tms-accent)}
.tms-state-active{background:#e7f8ef;color:#0a5f38}
.tms-state-proposal{background:#eaf2fb;color:#1d4f80}
.tms-state-quiet{background:#f3f4f6;color:#6b7280}
.tms-filter-check{display:inline-flex;align-items:center;gap:4px;font-size:12px;margin:0 6px}
.tms-filter-check input{min-width:0!important;height:auto!important}
.tms-form-title{margin:0 0 10px;font-size:20px;font-weight:400;color:var(--tms-text)}
html[data-theme=dark] body.tms-body .tms-summary-tile.active{background:#2a1a0a}
html[data-theme=dark] body.tms-body .tms-state-active{background:#0d3324;color:#86efac}
html[data-theme=dark] body.tms-body .tms-state-proposal{background:#10263f;color:#93c5fd}
html[data-theme=dark] body.tms-body .tms-state-quiet{background:#182236;color:#94a3b8}
html[data-theme=dark] body.tms-body .tms-form-title{color:#dbe5f5}
.tms-proposal-panel .proposal-simple-actions,.tms-proposal-panel .proposal-simple-buttons{flex-wrap:wrap}
.tms-proposal-panel .builder-preview-main{min-width:0}
.tms-classic-panel{margin-top:8px;font-family:Arial,Helvetica,sans-serif}
.tms-classic-panel h1{font-size:22px;font-weight:400;letter-spacing:.01em}
.tms-classic-panel h2{font-size:15px}
.tms-classic-panel .form-card,.tms-classic-panel .cert-preview,.tms-classic-panel .mail-panel,.tms-classic-panel .table-wrap{border-radius:4px!important;box-shadow:none!important}
.tms-classic-panel .button,.tms-classic-panel .cert-actions button:not(.secondary-button){background:var(--tms-accent)!important;border-color:var(--tms-accent)!important;color:#fff!important;border-radius:0!important;box-shadow:none!important}
.tms-classic-panel .button:hover,.tms-classic-panel .cert-actions button:not(.secondary-button):hover{background:var(--tms-accent-hover)!important}
.tms-classic-panel .secondary-button{border-radius:0!important;box-shadow:none!important}
html[data-theme=dark] body.tms-body .tms-course-tabs a{background:#111827;border-color:#334155;color:#dbe5f5}
html[data-theme=dark] body.tms-body .tms-course-tabs a.active{background:#153a59;border-color:#153a59;color:#fff}
html[data-theme=dark] body.tms-body .tms-course-tabs{border-color:#153a59}
html[data-theme=dark] body.tms-body .tms-detail-table th{background:#182236;color:#cbd5e1}
html[data-theme=dark] body.tms-body .tms-detail-table td{color:#e5edf8}
html[data-theme=dark] body.tms-body .tms-detail-table th,html[data-theme=dark] body.tms-body .tms-detail-table td{border-color:#334155}
html[data-theme=dark] body.tms-body .tms-summary-tile,html[data-theme=dark] body.tms-body .tms-sheet{background:#111827;border-color:#334155;color:#dbe5f5}
html[data-theme=dark] body.tms-body .tms-summary-tile{border-left-color:var(--tms-accent)}
html[data-theme=dark] body.tms-body .tms-summary-tile span,html[data-theme=dark] body.tms-body .tms-toolbar-note{color:#94a3b8}
html[data-theme=dark] body.tms-body .tms-section-title,html[data-theme=dark] body.tms-body .tms-form-note{color:#dbe5f5}
html[data-theme=dark] body.tms-body .tms-sheet img,html[data-theme=dark] body.tms-body .tms-sheet-pdf{background:#182236;color:#dbe5f5}
html[data-theme=dark] body.tms-body .tms-result{background:#182236;color:#cbd5e1}
html[data-theme=dark] body.tms-body .tms-result-passed{background:#0d3324;color:#86efac}
html[data-theme=dark] body.tms-body .tms-result-failed{background:#3b1414;color:#fca5a5}
.tms-messages{display:grid;gap:6px;margin:0 0 14px}
.tms-message{padding:9px 12px;border-left:4px solid #2e7d32;background:#edf7ee;color:#1b4d1e;font-size:13px}
.tms-message-error{border-color:var(--tms-danger);background:#fdecec;color:#7f1d1d}
.tms-breadcrumb{margin:0 0 16px;color:#002b4a;font-size:14px}
.tms-breadcrumb a{color:#002b4a;text-decoration:underline}
.tms-student-content{padding-top:40px!important}
.tms-student-filter{display:grid;grid-template-columns:150px 200px 200px 200px 200px 200px 200px;gap:14px 4px;margin-bottom:16px}
.tms-student-filter input,.tms-student-filter select{height:30px;border:1px solid var(--tms-input-border);border-radius:4px;background:#fff;color:#777;padding:0 10px;font-size:12px;font-family:Arial,Helvetica,sans-serif}
.tms-student-filter button,.tms-student-filter a{width:max-content;height:30px;border:0;background:var(--tms-accent);color:#fff;padding:0 12px;font-size:13px;font-weight:600;text-decoration:none;display:inline-flex;align-items:center}
.tms-student-filter a{margin-left:-6px}
.tms-people-filter{display:grid;grid-template-columns:repeat(6,minmax(150px,1fr)) auto auto;gap:8px 4px;margin-bottom:16px;align-items:center}
.tms-people-filter input{height:30px;border:1px solid var(--tms-input-border);border-radius:4px;background:#fff;color:#777;padding:0 10px;font-size:12px;font-family:Arial,Helvetica,sans-serif}
.tms-people-filter button,.tms-people-filter a{width:max-content;height:30px;border:0;background:var(--tms-accent);color:#fff;padding:0 12px;font-size:13px;font-weight:600;text-decoration:none;display:inline-flex;align-items:center}
.tms-people-table-wrap{height:504px}
.tms-people-table{min-width:1700px}
.tms-row-actions{display:flex;align-items:center;gap:8px}
.tms-row-actions form{margin:0}
.tms-row-actions button{height:24px;border:0;background:var(--tms-accent);color:#fff;padding:0 9px;font-size:11px;font-weight:700;border-radius:0}
.tms-row-actions button:hover{background:var(--tms-accent-hover)}
.tms-student-grid{margin-top:10px}
.tms-student-table-wrap{height:504px}
.tms-student-table{min-width:1500px}
.tms-back-button{height:31px;background:var(--tms-accent);color:#fff;text-decoration:none;padding:0 12px;font-size:13px;font-weight:600;display:inline-flex;align-items:center}
.tms-back-button:hover{color:#fff;background:var(--tms-accent-hover)}
.tms-students-content{padding-top:40px!important}
.tms-course-line{margin:0 0 8px;font-size:12px;font-weight:700;color:var(--tms-text)}
.tms-course-line a{color:var(--tms-link);text-decoration:underline}
.tms-small-filter{margin:0 0 8px}
.tms-small-filter select{width:128px;height:26px;border:1px solid var(--tms-input-border);border-radius:2px;background:#fff;padding:0 8px;font-size:12px}
.tms-students-toolbar{gap:8px}
.tms-course-students-wrap{height:405px}
.tms-course-students-table{min-width:2850px;font-size:11px}
.tms-course-students-table th,.tms-course-students-table td{padding:7px 8px;white-space:nowrap}
.tms-state-button{border:0;background:transparent;padding:0;line-height:1;cursor:pointer}
.tms-course-students-table form{margin:0}
.tms-state{display:inline-grid;place-items:center;width:13px;height:13px;border-radius:50%;font-size:11px;font-weight:900;line-height:1}
.tms-state-ok{border:1px solid #0a5f38;color:#0a5f38;background:#fff}
.tms-state-bad{border:1px solid #b42318;color:#fff;background:#b42318}
.tms-state-button:hover .tms-state-ok{background:#e7f8ef}
.tms-state-button:hover .tms-state-bad{background:#8f1d16;border-color:#8f1d16}
.tms-state-button:disabled{cursor:wait;opacity:.7}
.tms-state-saving{box-shadow:0 0 0 3px rgba(49,87,213,.16)}
.tms-state-error{box-shadow:0 0 0 3px rgba(180,35,24,.22)}
.tms-resend{border:0;background:var(--tms-accent);color:#fff;height:24px;padding:0 10px;font-size:11px;font-weight:700}
.tms-resend:hover{background:var(--tms-accent-hover)}
.tms-inline-action{display:inline-flex;align-items:center;justify-content:center;height:24px;padding:0 10px;background:var(--tms-accent);color:#fff!important;text-decoration:none;font-size:11px;font-weight:700;white-space:nowrap}
.tms-inline-action:hover{background:var(--tms-accent-hover);color:#fff!important}
.tms-course-create-content{padding-top:40px!important}
.tms-course-form{display:grid;gap:7px;max-width:720px;margin-top:12px}
.tms-course-row{display:grid;grid-template-columns:300px 270px;align-items:start;gap:8px}
.tms-course-row label{font-size:12px;color:var(--tms-text);line-height:27px;margin:0}
.tms-course-row input,.tms-course-row select,.tms-course-row textarea{width:270px;min-height:27px;border:1px solid var(--tms-input-border);border-radius:4px;background:#fff;color:#111;padding:4px 9px;font-size:12px;font-family:Arial,Helvetica,sans-serif;box-sizing:border-box}
.tms-course-row select:disabled,.tms-course-row input:disabled,.tms-course-row input[readonly]{background:#f7f7f7;color:#777}
.tms-course-row textarea{height:42px;resize:vertical}
.tms-course-field{width:270px}
.tms-course-field input,.tms-course-field select,.tms-course-field textarea{width:100%}
.tms-course-field small{display:block;margin-top:4px;color:#6b7280;line-height:1.35}
.tms-date-pair{display:flex;gap:4px}
.tms-date-pair input{width:132px}
.tms-radio-pair{display:flex;align-items:center;gap:0;height:27px}
.tms-radio-pair label{display:inline-flex;align-items:center;gap:2px;margin-right:4px;line-height:1}
.tms-radio-pair input{width:auto;min-height:0;margin:0}
.tms-course-actions{display:flex;gap:10px;margin-left:308px;margin-top:10px}
.tms-course-actions button,.tms-course-actions a{height:28px;border:0;border-radius:0;background:var(--tms-accent);color:#fff;text-decoration:none;padding:0 14px;font-size:12px;font-weight:600;display:inline-flex;align-items:center;justify-content:center}
.tms-course-actions button:hover,.tms-course-actions a:hover{background:var(--tms-accent-hover);color:#fff}
.tms-course-row .errorlist{grid-column:2;color:#b42318;margin:2px 0 0;padding-left:16px;font-size:12px}
@media(max-width:900px){
  .tms-topbar{padding:0 16px;gap:16px}.tms-menu{gap:14px;overflow:auto}.tms-titlebar{padding:0 24px}.tms-content{padding:24px 14px 50px}.tms-filterbar input,.tms-filterbar select{min-width:160px}.tms-actions{flex-wrap:wrap;gap:6px}.tms-actions button{border-radius:0}
  .tms-grid-toolbar{height:auto;min-height:52px;flex-wrap:wrap;padding:8px 14px}.tms-course-tabs a{padding:7px 10px}
  .tms-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tms-upload-form{margin-left:0;flex-wrap:wrap}.tms-detail-table th{width:auto}
  .tms-pager{height:auto;grid-template-columns:1fr;row-gap:8px;padding:10px}.tms-page-buttons{grid-column:1;grid-row:1;justify-self:start}.tms-pager select,.tms-pager>span{grid-row:2}.tms-pager em{grid-column:1;grid-row:3;justify-self:start}
  .tms-course-row{grid-template-columns:1fr}.tms-course-actions{margin-left:0}.tms-course-row input,.tms-course-row select,.tms-course-row textarea,.tms-course-field{width:100%}.tms-date-pair input{width:50%}
}

/* TMS navbar: links start on the left (aligned with the page title) and share one vertical centre line. */
body.tms-body .tms-topbar{box-sizing:border-box;height:56px;min-height:56px;margin:0;padding:0 59px;display:flex;align-items:center;justify-content:flex-start;gap:24px;flex-wrap:nowrap;flex-direction:row}
body.tms-body .tms-menu{margin:0;padding:0;height:56px;flex:1 1 auto;min-width:0;display:flex;align-items:stretch;justify-content:flex-start;gap:36px}
body.tms-body .tms-menu > a,body.tms-body .tms-menu-item{display:flex;align-items:center;height:100%;margin:0;padding:0}
body.tms-body .tms-menu > a,body.tms-body .tms-menu-item > button{font-family:Arial,Helvetica,sans-serif;font-size:15px;line-height:1;letter-spacing:.02em;height:auto;margin:0;padding:0;display:inline-flex;align-items:center;gap:6px}
body.tms-body .tms-tools-menu{top:100%}
body.tms-body .tms-user{margin:0 0 0 auto;height:56px;flex:0 0 auto;display:flex;align-items:center;gap:9px;line-height:1;white-space:nowrap}
body.tms-body .tms-user .tms-theme-toggle{margin:0}
@media(max-width:900px){body.tms-body .tms-topbar{padding:0 16px;gap:12px;min-height:56px;align-items:center}body.tms-body .tms-menu{width:auto;height:56px;padding:0;gap:16px;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;align-items:stretch;scrollbar-width:none}body.tms-body .tms-menu::-webkit-scrollbar{display:none}body.tms-body .tms-menu > a{display:flex;align-items:center;min-height:0;height:100%;padding:0;border:0;border-radius:0;background:transparent;font-size:13px}body.tms-body .tms-menu-item > button{font-size:13px;height:auto}body.tms-body .tms-user{font-size:12px}}

/* TMS content width */
body.tms-body .tms-content{box-sizing:border-box!important;width:95vw!important;max-width:95vw!important;margin-left:auto!important;margin-right:auto!important;padding-left:0!important;padding-right:0!important}
body.tms-body .tms-filterbar,body.tms-body .tms-grid-card,body.tms-body .tms-actions{width:100%!important;max-width:100%!important}

/* Theme toggle + night mode */
.theme-toggle{display:inline-grid;place-items:center;width:40px;height:40px;min-width:40px;border:1px solid #dfe5ee;border-radius:999px;background:#fff;color:#172033;padding:0;font-size:17px;box-shadow:0 6px 18px rgba(23,32,51,.06)}
.theme-toggle:hover{background:#f4f7ff;color:#3157d5}
.tms-theme-toggle{width:28px;height:28px;min-width:28px;margin-right:8px;border-color:var(--tms-border);font-size:13px;box-shadow:none}

html[data-theme=dark]{color-scheme:dark;background:#0b1120}
html[data-theme=dark] body{background:#0b1120;color:#dbe5f5}
html[data-theme=dark] :root{background:#0b1120;color:#dbe5f5}
html[data-theme=dark] header{background:#0f172a;border-color:#22304a;box-shadow:0 12px 32px rgba(0,0,0,.18)}
html[data-theme=dark] .brand,html[data-theme=dark] h1,html[data-theme=dark] h2,html[data-theme=dark] h3,html[data-theme=dark] h4{color:#f8fafc}
html[data-theme=dark] p,html[data-theme=dark] .muted,html[data-theme=dark] .pagination-status{color:#9aa8bd}
html[data-theme=dark] nav>a:not(.button){color:#c6d0e1}
html[data-theme=dark] nav>a:not(.button):hover{color:#93c5fd}
html[data-theme=dark] .theme-toggle{background:#172033;color:#f8fafc;border-color:#334155;box-shadow:0 8px 22px rgba(0,0,0,.25)}
html[data-theme=dark] .theme-toggle:hover{background:#1e293b;color:#fde68a}
html[data-theme=dark] .card,html[data-theme=dark] .empty,html[data-theme=dark] .form-card,html[data-theme=dark] .detail-head,html[data-theme=dark] .table-wrap,html[data-theme=dark] .filter-panel,html[data-theme=dark] .student-profile-card,html[data-theme=dark] .builder-section,html[data-theme=dark] .builder-price-card,html[data-theme=dark] .builder-roadmap,html[data-theme=dark] .builder-mini-card,html[data-theme=dark] .proposal-filters,html[data-theme=dark] .proposal-detail-grid .card{background:#111827;border-color:#25324a;box-shadow:0 16px 42px rgba(0,0,0,.22);color:#dbe5f5}
html[data-theme=dark] .card:hover{border-color:#60a5fa}
html[data-theme=dark] .filter-heading,html[data-theme=dark] th{background:#172033;color:#b8c4d6;border-color:#2b3952}
html[data-theme=dark] td,html[data-theme=dark] th{border-color:#25324a}
html[data-theme=dark] tbody tr:hover{background:#172033}
html[data-theme=dark] input,html[data-theme=dark] select,html[data-theme=dark] textarea{background:#0b1220!important;color:#e5edf8!important;border-color:#334155!important}
html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder{color:#7f8ca3}
html[data-theme=dark] .nav-dropdown-toggle{background:#172033;color:#bfdbfe;border-color:#334155}
html[data-theme=dark] .nav-dropdown-menu{background:#111827;border-color:#334155;box-shadow:0 20px 50px rgba(0,0,0,.38)}
html[data-theme=dark] .nav-dropdown-menu a{color:#dbe5f5}
html[data-theme=dark] .nav-dropdown-menu a:hover{background:#172033;color:#93c5fd}

html[data-theme=dark] body.login-page-body{
  min-height:100vh;
  background:radial-gradient(circle at top,#172554 0,#0b1120 46%,#050914 100%)!important;
  color:#dbe5f5!important;
}
html[data-theme=dark] body.login-page-body main{
  display:grid;
  place-items:start center;
  max-width:520px!important;
  min-height:100vh;
  margin:0 auto!important;
  padding:80px 18px!important;
}
html[data-theme=dark] body.login-page-body .login-card{
  width:100%;
  background:#111827!important;
  border-color:#334155!important;
  color:#dbe5f5!important;
  box-shadow:0 24px 70px rgba(0,0,0,.38)!important;
}
html[data-theme=dark] body.login-page-body .login-card h1{
  color:#f8fafc!important;
}
html[data-theme=dark] body.login-page-body .login-card p,
html[data-theme=dark] body.login-page-body .login-card label{
  color:#cbd5e1!important;
}
html[data-theme=dark] body.login-page-body .eyebrow{
  background:#1e293b!important;
  color:#93c5fd!important;
}
html[data-theme=dark] body.login-page-body .login-card input{
  background:#0b1220!important;
  color:#e5edf8!important;
  border-color:#334155!important;
}
html[data-theme=dark] body.login-page-body .login-card input:focus{
  border-color:#60a5fa!important;
  box-shadow:0 0 0 4px rgba(96,165,250,.18)!important;
}

html[data-theme=dark] .system-home-body,
html[data-theme=dark] .system-home-body main{background:radial-gradient(circle at 28% 18%,#203b83 0,#111c35 34%,#0b1120 72%,#070b14 100%)!important}
html[data-theme=dark] .system-home-kicker{background:#172033;color:#93c5fd}
html[data-theme=dark] .system-home h1{color:#f8fafc}
html[data-theme=dark] .system-home-hero p{color:#b8c4d6}
html[data-theme=dark] .system-choice-card{background:linear-gradient(145deg,#111827,#0f172a);border-color:#2f3f5d;color:#f8fafc;box-shadow:0 24px 64px rgba(0,0,0,.36)}
html[data-theme=dark] .system-choice-card:before{opacity:.16}
html[data-theme=dark] .system-choice-card:hover{border-color:#60a5fa;color:#f8fafc}
html[data-theme=dark] .system-choice-card span{color:#93a4bd}
html[data-theme=dark] .system-choice-card p{color:#b8c4d6}
html[data-theme=dark] .system-choice-card strong{color:#93c5fd}

html[data-theme=dark] .tms-body{background:#0b1120!important;color:#dbe5f5}
html[data-theme=dark] .tms-shell{background:#111827}
html[data-theme=dark] .tms-topbar{background:#0f172a;border-color:#243044}
html[data-theme=dark] .tms-menu a,html[data-theme=dark] .tms-menu-item>button,html[data-theme=dark] .tms-user{color:#dbe5f5}
html[data-theme=dark] .tms-menu .tms-system-home-link{color:#fb923c}
html[data-theme=dark] .tms-titlebar{background:#153a59}
html[data-theme=dark] .tms-content{background:#0b1120;color:#dbe5f5}
html[data-theme=dark] .tms-home,html[data-theme=dark] .tms-breadcrumb,html[data-theme=dark] .tms-breadcrumb a,html[data-theme=dark] .tms-course-line,html[data-theme=dark] .tms-course-line a{color:#bfdbfe}
html[data-theme=dark] .tms-filterbar input,html[data-theme=dark] .tms-filterbar select,html[data-theme=dark] .tms-student-filter input,html[data-theme=dark] .tms-student-filter select,html[data-theme=dark] .tms-people-filter input,html[data-theme=dark] .tms-small-filter select,html[data-theme=dark] .tms-course-row input,html[data-theme=dark] .tms-course-row select,html[data-theme=dark] .tms-course-row textarea{background:#0f172a!important;color:#e5edf8!important;border-color:#334155!important}
html[data-theme=dark] .tms-grid-card{background:#111827;border-color:#334155}
html[data-theme=dark] .tms-table-wrap{background:#111827}
html[data-theme=dark] .tms-grid-toolbar,html[data-theme=dark] .tms-pager{background:#0f172a;border-color:#334155}
html[data-theme=dark] .tms-table th{background:linear-gradient(#182236,#101827);color:#cbd5e1;border-color:#334155}
html[data-theme=dark] .tms-table td{background:#111827;color:#e5edf8;border-color:#334155}
html[data-theme=dark] .tms-table tbody tr:nth-child(even) td{background:#172033}
html[data-theme=dark] .tms-table tbody tr:hover td{background:#1e293b}
html[data-theme=dark] .tms-table a{color:#93c5fd}
html[data-theme=dark] .tms-tools-menu{background:#111827;border-color:#334155;box-shadow:0 18px 46px rgba(0,0,0,.35)}
html[data-theme=dark] .tms-tools-menu a{color:#dbe5f5!important}
html[data-theme=dark] .tms-tools-menu a:hover{background:#172033}

/* Proposal builder night-mode repair */
html[data-theme=dark] .proposal-builder-body main{color:#dbe5f5}
html[data-theme=dark] .proposal-builder-body .builder-hero,
html[data-theme=dark] .proposal-builder-body .builder-start-card,
html[data-theme=dark] .proposal-builder-body .builder-form-card,
html[data-theme=dark] .proposal-builder-body .builder-summary-panel,
html[data-theme=dark] .proposal-builder-body .builder-preview-header,
html[data-theme=dark] .proposal-builder-body .builder-preview-card,
html[data-theme=dark] .proposal-builder-body .builder-stat-card,
html[data-theme=dark] .proposal-builder-body .builder-roadmap,
html[data-theme=dark] .proposal-builder-body .builder-roadmap-grid>div,
html[data-theme=dark] .proposal-builder-body .builder-section,
html[data-theme=dark] .proposal-builder-body .builder-price-card,
html[data-theme=dark] .proposal-builder-body .builder-mini-card,
html[data-theme=dark] .proposal-builder-body .filter-card,
html[data-theme=dark] .proposal-builder-body .instructor-card,
html[data-theme=dark] .proposal-builder-body .instructor-program-panel,
html[data-theme=dark] .proposal-builder-body .instructor-program-form,
html[data-theme=dark] .proposal-builder-body .instructor-program-list article{
  background:#111827!important;
  border-color:#2b3952!important;
  color:#dbe5f5!important;
  box-shadow:0 18px 46px rgba(0,0,0,.28)!important;
}
html[data-theme=dark] .proposal-builder-body .builder-hero{
  background:radial-gradient(circle at top right,#1e3a8a 0,#111827 42%,#0f172a 100%)!important;
}
html[data-theme=dark] .proposal-builder-body .builder-stat-primary{
  background:linear-gradient(135deg,#172033,#111827)!important;
  border-color:#3b82f6!important;
}
html[data-theme=dark] .proposal-builder-body h1,
html[data-theme=dark] .proposal-builder-body h2,
html[data-theme=dark] .proposal-builder-body h3,
html[data-theme=dark] .proposal-builder-body h4,
html[data-theme=dark] .proposal-builder-body strong,
html[data-theme=dark] .proposal-builder-body .builder-stat-card strong,
html[data-theme=dark] .proposal-builder-body .content-target-box strong,
html[data-theme=dark] .proposal-builder-body .content-toggle-card strong,
html[data-theme=dark] .proposal-builder-body .content-help-panel li strong,
html[data-theme=dark] .proposal-builder-body .instructor-program-list strong{
  color:#f8fafc!important;
}
html[data-theme=dark] .proposal-builder-body p,
html[data-theme=dark] .proposal-builder-body label,
html[data-theme=dark] .proposal-builder-body dt,
html[data-theme=dark] .proposal-builder-body dd,
html[data-theme=dark] .proposal-builder-body small,
html[data-theme=dark] .proposal-builder-body .muted-text,
html[data-theme=dark] .proposal-builder-body .builder-stat-card span,
html[data-theme=dark] .proposal-builder-body .builder-mini-card span,
html[data-theme=dark] .proposal-builder-body .builder-preview-card dt,
html[data-theme=dark] .proposal-builder-body .builder-section-preview-list p,
html[data-theme=dark] .proposal-builder-body .content-field small,
html[data-theme=dark] .proposal-builder-body .content-toggle-card small,
html[data-theme=dark] .proposal-builder-body .content-help-panel ol,
html[data-theme=dark] .proposal-builder-body .content-section-card p,
html[data-theme=dark] .proposal-builder-body .instructor-card p,
html[data-theme=dark] .proposal-builder-body .instructor-program-list span,
html[data-theme=dark] .proposal-builder-body .instructor-program-list small{
  color:#aebbd0!important;
}
html[data-theme=dark] .proposal-builder-body a:not(.button):not(.button-secondary):not(.danger),
html[data-theme=dark] .proposal-builder-body .builder-instructor-card a,
html[data-theme=dark] .proposal-builder-body .content-section-actions>a,
html[data-theme=dark] .proposal-builder-body .instructor-card-actions a{
  color:#93c5fd!important;
}
html[data-theme=dark] .proposal-builder-body .builder-kicker,
html[data-theme=dark] .proposal-builder-body .builder-badge,
html[data-theme=dark] .proposal-builder-body .builder-summary-tags span,
html[data-theme=dark] .proposal-builder-body .builder-stat-card small,
html[data-theme=dark] .proposal-builder-body .content-list-heading span,
html[data-theme=dark] .proposal-builder-body .content-section-meta span{
  background:#1e293b!important;
  color:#93c5fd!important;
}
html[data-theme=dark] .proposal-builder-body .builder-form-card section,
html[data-theme=dark] .proposal-builder-body .builder-actions-row,
html[data-theme=dark] .proposal-builder-body .editor-card-head,
html[data-theme=dark] .proposal-builder-body .content-editor-actions{
  border-color:#2b3952!important;
}
html[data-theme=dark] .proposal-builder-body .builder-preview-body .builder-actions-row,
html[data-theme=dark] .proposal-builder-body .price-detail-lines,
html[data-theme=dark] .proposal-builder-body .builder-section-preview-list details,
html[data-theme=dark] .proposal-builder-body .builder-checkbox-list label,
html[data-theme=dark] .proposal-builder-body .content-target-box,
html[data-theme=dark] .proposal-builder-body .content-impact-card,
html[data-theme=dark] .proposal-builder-body .content-editor-card,
html[data-theme=dark] .proposal-builder-body .content-help-panel,
html[data-theme=dark] .proposal-builder-body .content-section-card,
html[data-theme=dark] .proposal-builder-body .content-empty-state,
html[data-theme=dark] .proposal-builder-body .content-toggle-card{
  background:#0f172a!important;
  border-color:#334155!important;
  color:#dbe5f5!important;
}
html[data-theme=dark] .proposal-builder-body .content-studio{
  background:linear-gradient(180deg,#111827 0%,#0f172a 100%)!important;
  border-color:#2b3952!important;
}
html[data-theme=dark] .proposal-builder-body .content-warning{
  background:#261a0b!important;
  border-color:#92400e!important;
}
html[data-theme=dark] .proposal-builder-body .content-warning strong{color:#fbbf24!important}
html[data-theme=dark] .proposal-builder-body .content-warning p{color:#f5d08a!important}
html[data-theme=dark] .proposal-builder-body .builder-preview-card>.table-wrap,
html[data-theme=dark] .proposal-builder-body .builder-price-card>.table-wrap,
html[data-theme=dark] .proposal-builder-body .builder-table-wrap{
  background:#0f172a!important;
  border-color:#334155!important;
}
html[data-theme=dark] .proposal-builder-body table,
html[data-theme=dark] .proposal-builder-body tbody,
html[data-theme=dark] .proposal-builder-body td{
  background:#0f172a!important;
  color:#e5edf8!important;
  border-color:#334155!important;
}
html[data-theme=dark] .proposal-builder-body th{
  background:#172033!important;
  color:#cbd5e1!important;
  border-color:#334155!important;
}
html[data-theme=dark] .proposal-builder-body tbody tr:hover td{background:#1e293b!important}
html[data-theme=dark] .proposal-builder-body .builder-total-row td{
  background:#1e3a8a!important;
  color:#f8fafc!important;
}
html[data-theme=dark] .proposal-builder-body .builder-total-card{
  background:linear-gradient(135deg,#1e3a8a,#3157d5)!important;
  color:#fff!important;
}
html[data-theme=dark] .proposal-builder-body .builder-total-card span,
html[data-theme=dark] .proposal-builder-body .builder-total-card small,
html[data-theme=dark] .proposal-builder-body .builder-total-card strong{color:#fff!important}
html[data-theme=dark] .proposal-builder-body .button-secondary,
html[data-theme=dark] .proposal-builder-body .builder-preview-body .status-update-form .button-secondary,
html[data-theme=dark] .proposal-builder-body .builder-preview-body .heading-actions .button-secondary{
  background:#172033!important;
  color:#bfdbfe!important;
  border-color:#334155!important;
}
html[data-theme=dark] .proposal-builder-body .builder-preview-body .heading-actions .danger,
html[data-theme=dark] .proposal-builder-body .inline-form button{
  background:#2a1111!important;
  color:#fca5a5!important;
  border-color:#7f1d1d!important;
}
html[data-theme=dark] .proposal-builder-body .proposal-simple-actions{
  background:#172033!important;
  border-color:#334155!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03)!important;
}
html[data-theme=dark] .proposal-builder-body .proposal-simple-status label{
  color:#bfdbfe!important;
}
html[data-theme=dark] .proposal-builder-body .proposal-simple-status select{
  background:#0f172a!important;
  color:#f8fafc!important;
  border-color:#475569!important;
}
html[data-theme=dark] .proposal-builder-body .proposal-simple-status button,
html[data-theme=dark] .proposal-builder-body .proposal-simple-buttons a:not(.button):not(.danger),
html[data-theme=dark] .proposal-builder-body .proposal-simple-buttons form button{
  background:#111827!important;
  color:#bfdbfe!important;
  border-color:#475569!important;
}
html[data-theme=dark] .proposal-builder-body .proposal-simple-buttons .button{
  background:#3157d5!important;
  color:#fff!important;
  border-color:#3157d5!important;
}
html[data-theme=dark] .proposal-builder-body .proposal-simple-buttons .danger{
  background:#2a1111!important;
  color:#fca5a5!important;
  border-color:#7f1d1d!important;
}

/* Night mode polish pass: fix same-body selectors and leftover light islands. */
html[data-theme=dark] small,
html[data-theme=dark] .meta span,
html[data-theme=dark] .count-pill,
html[data-theme=dark] .table-count,
html[data-theme=dark] .material-type,
html[data-theme=dark] .builder-badge,
html[data-theme=dark] .proposal-status,
html[data-theme=dark] .status-badge,
html[data-theme=dark] .status-pending,
html[data-theme=dark] .status-draft{
  background:#1e293b!important;
  color:#dbeafe!important;
  border-color:#334155!important;
}
html[data-theme=dark] .status-passed,
html[data-theme=dark] .active-session,
html[data-theme=dark] .result-button.pass{
  background:#06351f!important;
  color:#86efac!important;
  border-color:#166534!important;
}
html[data-theme=dark] .status-failed,
html[data-theme=dark] .status-rejected,
html[data-theme=dark] .result-button.fail{
  background:#3b1111!important;
  color:#fca5a5!important;
  border-color:#7f1d1d!important;
}
html[data-theme=dark] .course-material-item,
html[data-theme=dark] .material-upload-form,
html[data-theme=dark] .attendance-day-form label,
html[data-theme=dark] .student-material-link,
html[data-theme=dark] .student-profile-list article,
html[data-theme=dark] .student-course-meta div,
html[data-theme=dark] .portal-profile-meta div{
  background:#111827!important;
  border-color:#334155!important;
  color:#dbe5f5!important;
}
html[data-theme=dark] .course-material-item a,
html[data-theme=dark] .student-material-link em{color:#93c5fd!important}
html[data-theme=dark] .course-material-item small{color:#aebbd0!important}
html[data-theme=dark] .attendance-day-form label:has(input:checked){
  background:#06351f!important;
  color:#86efac!important;
  border-color:#166534!important;
}

/* Participant portal night mode */
html[data-theme=dark] body.student-portal-body,
html[data-theme=dark] body.edu-portal-body{
  background:linear-gradient(135deg,#0b1120 0%,#111827 52%,#1f1013 100%)!important;
  color:#dbe5f5!important;
}
html[data-theme=dark] body.student-portal-body header{
  background:rgba(15,23,42,.94)!important;
  border-color:#22304a!important;
  box-shadow:0 12px 34px rgba(0,0,0,.28)!important;
}
html[data-theme=dark] body.student-portal-body .brand{
  color:#86efac!important;
}
html[data-theme=dark] body.student-portal-body nav>a:not(.button){
  color:#cbd5e1!important;
}
html[data-theme=dark] body.student-portal-body nav>a:not(.button):hover{
  background:#172033!important;
  color:#86efac!important;
}
html[data-theme=dark] body.student-portal-body .nav-logout-form button{
  background:#2a1111!important;
  color:#fca5a5!important;
  border-color:#7f1d1d!important;
}
html[data-theme=dark] body.student-portal-body .nav-logout-form button:hover{
  background:#7f1d1d!important;
  color:#fff!important;
}
html[data-theme=dark] body.edu-portal-body .edu-hero{
  background:linear-gradient(90deg,#111827 0%,#111827 68%,#132238 68%,#132238 100%)!important;
  border-color:#334155!important;
  box-shadow:0 18px 46px rgba(0,0,0,.30)!important;
}
html[data-theme=dark] body.edu-portal-body .edu-hero h1,
html[data-theme=dark] body.edu-portal-body .edu-section-title h2,
html[data-theme=dark] body.edu-portal-body .edu-course-content h3,
html[data-theme=dark] body.edu-portal-body .edu-course-section-head h3,
html[data-theme=dark] body.edu-portal-body .edu-resource-card strong,
html[data-theme=dark] body.edu-portal-body .edu-sidebar-title h2,
html[data-theme=dark] body.edu-portal-body .material-reader-head h1,
html[data-theme=dark] body.student-portal-body .portal-profile-card h2,
html[data-theme=dark] body.student-portal-body .portal-profile-list strong,
html[data-theme=dark] body.student-portal-body .portal-profile-meta dd{
  color:#f8fafc!important;
}
html[data-theme=dark] body.edu-portal-body .edu-hero p,
html[data-theme=dark] body.edu-portal-body .edu-section-title p,
html[data-theme=dark] body.edu-portal-body .edu-course-content p,
html[data-theme=dark] body.edu-portal-body .edu-course-label,
html[data-theme=dark] body.edu-portal-body .edu-empty-material,
html[data-theme=dark] body.edu-portal-body .edu-resource-card small,
html[data-theme=dark] body.student-portal-body .portal-profile-list span,
html[data-theme=dark] body.student-portal-body .portal-profile-list small,
html[data-theme=dark] body.student-portal-body .portal-profile-meta dt{
  color:#aebbd0!important;
}
html[data-theme=dark] body.edu-portal-body .edu-kicker,
html[data-theme=dark] body.student-portal-body .portal-kicker,
html[data-theme=dark] body.edu-portal-body .edu-resource-type,
html[data-theme=dark] body.edu-portal-body .edu-course-section-head>span{
  background:#1e293b!important;
  color:#93c5fd!important;
  border-color:#334155!important;
}
html[data-theme=dark] body.edu-portal-body .edu-stats article,
html[data-theme=dark] body.edu-portal-body .edu-library,
html[data-theme=dark] body.edu-portal-body .edu-library-panel,
html[data-theme=dark] body.edu-portal-body .edu-learning-sidebar,
html[data-theme=dark] body.edu-portal-body .edu-course-card,
html[data-theme=dark] body.edu-portal-body .edu-course-section,
html[data-theme=dark] body.edu-portal-body .edu-resource-card,
html[data-theme=dark] body.edu-portal-body .material-reader-head,
html[data-theme=dark] body.edu-portal-body .material-reader-frame,
html[data-theme=dark] body.student-portal-body .portal-profile-card,
html[data-theme=dark] body.student-portal-body .portal-profile-list article,
html[data-theme=dark] body.student-portal-body .portal-profile-meta div{
  background:#111827!important;
  border-color:#334155!important;
  color:#dbe5f5!important;
  box-shadow:0 18px 46px rgba(0,0,0,.28)!important;
}
html[data-theme=dark] body.edu-portal-body .edu-stats .edu-active{
  background:#06351f!important;
  border-color:#166534!important;
}
html[data-theme=dark] body.edu-portal-body .edu-stats strong{
  color:#93c5fd!important;
}
html[data-theme=dark] body.edu-portal-body .edu-stats .edu-active strong{
  color:#86efac!important;
}
html[data-theme=dark] body.edu-portal-body .edu-stats span{
  color:#aebbd0!important;
}
html[data-theme=dark] body.edu-portal-body .edu-screen{
  background:#0f172a!important;
  border-color:#cbd5e1!important;
}
html[data-theme=dark] body.edu-portal-body .edu-screen:after{
  background:#cbd5e1!important;
}
html[data-theme=dark] body.edu-portal-body .edu-type-nav a{
  color:#cbd5e1!important;
}
html[data-theme=dark] body.edu-portal-body .edu-type-nav a:hover{
  background:#172033!important;
  color:#93c5fd!important;
}
html[data-theme=dark] body.edu-portal-body .edu-type-nav a.is-active{
  background:#0a66c2!important;
  border-color:#60a5fa!important;
  color:#fff!important;
}
html[data-theme=dark] body.edu-portal-body .edu-type-nav strong,
html[data-theme=dark] body.edu-portal-body .edu-resource-card small{
  background:#1e293b!important;
  color:#dbeafe!important;
}
html[data-theme=dark] body.edu-portal-body .edu-profile-link,
html[data-theme=dark] body.edu-portal-body .material-download-state .button,
html[data-theme=dark] body.edu-portal-body .secondary-button{
  background:#172033!important;
  color:#bfdbfe!important;
  border-color:#334155!important;
}
html[data-theme=dark] body.edu-portal-body .edu-profile-link:hover,
html[data-theme=dark] body.edu-portal-body .secondary-button:hover{
  background:#1e293b!important;
  color:#93c5fd!important;
}
html[data-theme=dark] body.edu-portal-body .edu-empty-material,
html[data-theme=dark] body.edu-portal-body .edu-empty-state{
  background:#0f172a!important;
  border-color:#334155!important;
  color:#aebbd0!important;
}
html[data-theme=dark] body.edu-portal-body .edu-empty-material strong,
html[data-theme=dark] body.edu-portal-body .edu-empty-state h2{
  color:#f8fafc!important;
}
html[data-theme=dark] body.edu-portal-body .edu-sidebar-title{
  border-color:#334155!important;
}
html[data-theme=dark] body.edu-portal-body .material-reader-frame iframe{
  background:#fff!important;
}
html[data-theme=dark] body.student-portal-body .portal-profile-hero{
  background:linear-gradient(135deg,#0b5a38,#064e3b)!important;
  border-color:#166534!important;
}
html[data-theme=dark] body.student-portal-body header,
html[data-theme=dark] body.edu-portal-body header{
  background:#0f172a!important;
  border-bottom:1px solid #1f3f33!important;
}
html[data-theme=dark] body.student-portal-body header .brand,
html[data-theme=dark] body.edu-portal-body header .brand{
  color:#86efac!important;
}
html[data-theme=dark] body.student-portal-body header nav>a,
html[data-theme=dark] body.edu-portal-body header nav>a{
  color:#bbf7d0!important;
}
html[data-theme=dark] body.student-portal-body header nav>a:hover,
html[data-theme=dark] body.edu-portal-body header nav>a:hover{
  background:#123524!important;
  color:#ffffff!important;
}
html[data-theme=dark] body.student-portal-body .edu-kicker,
html[data-theme=dark] body.edu-portal-body .edu-kicker,
html[data-theme=dark] body.student-portal-body .portal-kicker,
html[data-theme=dark] body.edu-portal-body .portal-kicker{
  background:#123524!important;
  color:#86efac!important;
  border:1px solid #166534!important;
}
html[data-theme=dark] body.student-portal-body .edu-section-title h2,
html[data-theme=dark] body.edu-portal-body .edu-section-title h2,
html[data-theme=dark] body.student-portal-body .edu-sidebar-title h2,
html[data-theme=dark] body.edu-portal-body .edu-sidebar-title h2,
html[data-theme=dark] body.student-portal-body .portal-profile-card h2,
html[data-theme=dark] body.student-portal-body .portal-section-heading h2{
  color:#f8fafc!important;
}
html[data-theme=dark] body.student-portal-body .edu-type-nav a.is-active,
html[data-theme=dark] body.edu-portal-body .edu-type-nav a.is-active{
  background:#0f7a4f!important;
  border-color:#22c55e!important;
  color:#ffffff!important;
}
html[data-theme=dark] body.student-portal-body .edu-type-nav a:hover,
html[data-theme=dark] body.edu-portal-body .edu-type-nav a:hover,
html[data-theme=dark] body.student-portal-body .edu-profile-link:hover,
html[data-theme=dark] body.edu-portal-body .edu-profile-link:hover{
  background:#123524!important;
  color:#86efac!important;
}

html[data-theme=dark] body.builder-preview-body .builder-actions-row,
html[data-theme=dark] body.builder-preview-body .status-update-form .button-secondary,
html[data-theme=dark] body.builder-preview-body .heading-actions .button-secondary,
html[data-theme=dark] body.builder-preview-body .heading-actions .inline-form button,
html[data-theme=dark] body.builder-preview-body .heading-actions .danger{
  background:#0f172a!important;
  border-color:#334155!important;
  color:#dbe5f5!important;
}
html[data-theme=dark] body.builder-preview-body .builder-actions-row{
  box-shadow:none!important;
}
html[data-theme=dark] body.builder-preview-body .status-update-form label{color:#cbd5e1!important}
html[data-theme=dark] body.builder-preview-body .heading-actions .inline-form button{
  background:#2b1b0b!important;
  color:#fdba74!important;
  border-color:#9a3412!important;
}
html[data-theme=dark] body.builder-preview-body .heading-actions .danger{
  background:#3b1111!important;
  color:#fca5a5!important;
  border-color:#7f1d1d!important;
}
html[data-theme=dark] body.builder-preview-body .heading-actions .button{
  background:#3157d5!important;
  color:#fff!important;
}

html[data-theme=dark] body.tms-body .tms-table,
html[data-theme=dark] body.tms-body .tms-table tbody,
html[data-theme=dark] body.tms-body .tms-table tr,
html[data-theme=dark] body.tms-body .tms-empty,
html[data-theme=dark] body.tms-body .tms-student-table-wrap,
html[data-theme=dark] body.tms-body .tms-course-students-wrap{
  background:#0f172a!important;
  color:#dbe5f5!important;
}
html[data-theme=dark] body.tms-body .tms-empty{color:#cbd5e1!important}
html[data-theme=dark] body.tms-body .tms-course-row label,
html[data-theme=dark] body.tms-body .tms-course-form label,
html[data-theme=dark] body.tms-body .tms-radio-pair label{
  color:#dbe5f5!important;
}
html[data-theme=dark] body.tms-body .tms-course-row select:disabled,
html[data-theme=dark] body.tms-body .tms-course-row input:disabled,
html[data-theme=dark] body.tms-body .tms-course-row input[readonly]{
  background:#182236!important;
  color:#94a3b8!important;
}

/* TMS dark page background must be one continuous color. */
html[data-theme=dark] body.tms-body,
html[data-theme=dark] body.tms-body .tms-shell,
html[data-theme=dark] body.tms-body .tms-content,
html[data-theme=dark] body.tms-body .tms-course-create-content{
  background:#0f172a!important;
}

/* TMS table dark-mode color fixes */
html[data-theme=dark] body.tms-body .tms-table-wrap{
  background:#111827!important;
}
html[data-theme=dark] body.tms-body .tms-table{
  background:#111827!important;
}
html[data-theme=dark] body.tms-body .tms-page-buttons a,
html[data-theme=dark] body.tms-body .tms-page-buttons span,
html[data-theme=dark] body.tms-body .tms-page-buttons button{
  background:#111827!important;
  border-color:#334155!important;
  color:#cbd5e1!important;
}
html[data-theme=dark] body.tms-body .tms-page-buttons span[aria-disabled]{color:#475569!important}
html[data-theme=dark] body.tms-body .tms-page-buttons span.active,
html[data-theme=dark] body.tms-body .tms-page-buttons button.active{
  background:var(--tms-active)!important;
  border-color:var(--tms-active)!important;
  color:#fff!important;
}

/* Proposal builder price programming */
.builder-price-studio{max-width:1180px;margin:0 auto}
.builder-price-hero{background:linear-gradient(135deg,#12203a,#243f91);border:1px solid #2e4c9e;border-radius:20px;padding:34px;margin-bottom:22px;color:#fff;box-shadow:0 18px 44px rgba(18,32,58,.18)}
.builder-price-hero h1{margin:0 0 10px;color:#fff}
.builder-price-hero p{max-width:820px;color:#dbe7ff;margin:0}
.builder-price-tags{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.builder-price-tags span{display:inline-flex;align-items:center;min-height:30px;padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.12);color:#fff;font-size:12px;font-weight:800}
.builder-price-settings-card{max-width:none;margin-bottom:22px}
.builder-price-settings-card .section-heading{margin-bottom:18px}
.builder-price-settings-card .section-heading h2,.builder-price-line-composer h2{margin-bottom:4px}
.builder-switch-field{display:flex!important;align-items:center;gap:9px;min-height:46px;margin:0;font-weight:800}
.builder-switch-field input{width:auto!important}
.price-line-help-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0 18px}
.price-line-preset{display:block;text-align:left;border:1px solid #d8e0ee;border-radius:14px;background:#f8fbff;color:#172033;padding:16px;min-height:106px;box-shadow:none}
.price-line-preset strong{display:block;font-size:15px;color:#003d66;margin-bottom:6px}
.price-line-preset span{display:block;font-size:12.5px;color:#637083;line-height:1.35}
.price-line-preset:hover{border-color:#3157d5;background:#eef4ff;transform:translateY(-1px)}
.price-line-editor-card{border:1px solid #d8e0ee;border-radius:16px;background:#fff;padding:18px}
.price-line-editor-main{display:grid;grid-template-columns:170px minmax(180px,.8fr) minmax(260px,1.3fr) minmax(130px,.55fr) minmax(120px,.5fr) minmax(150px,.65fr);gap:14px;align-items:start}
.price-line-editor-field label{display:block;font-size:12px;font-weight:850;color:#536079;margin-bottom:6px}
.price-line-editor-field input,.price-line-editor-field select{width:100%;border:1px solid #ccd3df;border-radius:9px;padding:10px 11px;background:#fff;color:#172033;font:inherit}
.price-line-editor-field small,.price-line-advanced small{display:block;margin-top:6px;background:#eef2f8;color:#637083;border-radius:999px;padding:4px 8px;font-size:11px}
.price-line-advanced{margin-top:14px;border-top:1px solid #e5eaf2;padding-top:12px}
.price-line-advanced summary{cursor:pointer;color:#3157d5;font-weight:850}
.price-line-list{display:grid;gap:10px}
.price-line-card{display:grid;grid-template-columns:150px minmax(0,1fr) 170px 150px;gap:14px;align-items:center;border:1px solid #d8e0ee;border-radius:14px;background:#fff;padding:14px}
.price-line-card-type{display:inline-flex;align-items:center;justify-content:center;min-height:34px;border-radius:999px;background:#edf1ff;color:#3157d5;font-size:12px;font-weight:900}
.price-line-card-registration .price-line-card-type{background:#fff7e6;color:#a45b00}
.price-line-card-training .price-line-card-type{background:#e9f7ef;color:#147a43}
.price-line-card-exam .price-line-card-type{background:#f0ecff;color:#5b3cb7}
.price-line-card-inhouse_package .price-line-card-type{background:#e8f2ff;color:#075a9b}
.price-line-card-body strong{display:block;color:#172033}
.price-line-card-body span{display:block;margin-top:4px;color:#637083}
.price-line-card-price strong{display:block;color:#172033}
.price-line-card-price span{font-size:12px;color:#637083}
.price-line-card-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px}
.price-line-card-actions a{color:#3157d5;text-decoration:none;font-weight:800}
.price-line-card-actions button{background:#fff1f0;color:#b42318;border:1px solid #ffc9c4;padding:8px 12px;border-radius:9px}
html[data-theme=dark] .builder-price-settings-card,html[data-theme=dark] .builder-price-line-composer,html[data-theme=dark] .price-line-editor-card,html[data-theme=dark] .price-line-card{background:#121c2e;border-color:#30405b;color:#f8fbff}
html[data-theme=dark] .price-line-preset{background:#0f1828;border-color:#30405b;color:#f8fbff}
html[data-theme=dark] .price-line-preset strong,html[data-theme=dark] .price-line-card-body strong,html[data-theme=dark] .price-line-card-price strong{color:#f8fbff}
html[data-theme=dark] .price-line-preset span,html[data-theme=dark] .price-line-card-body span,html[data-theme=dark] .price-line-card-price span{color:#b8c4d8}
html[data-theme=dark] .price-line-editor-field label{color:#cbd7ee}
html[data-theme=dark] .price-line-editor-field input,html[data-theme=dark] .price-line-editor-field select{background:#0b1220;border-color:#33435f;color:#f8fbff}
html[data-theme=dark] .price-line-editor-field small,html[data-theme=dark] .price-line-advanced small{background:#1d2a40;color:#cbd7ee}
@media(max-width:1050px){.price-line-help-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.price-line-editor-main{grid-template-columns:repeat(2,minmax(0,1fr))}.price-line-editor-description{grid-column:1/-1}.price-line-card{grid-template-columns:1fr}.price-line-card-actions{justify-content:flex-start}}
@media(max-width:650px){.price-line-help-grid,.price-line-editor-main{grid-template-columns:1fr}.builder-price-hero{padding:24px}}

/* Clear automatic price line preview */
.price-line-editor-main-simple {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.price-line-auto-preview {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px dashed rgba(59, 130, 246, 0.35);
  border-radius: 14px;
  background: rgba(59, 130, 246, 0.08);
  color: #0f172a;
}
.price-line-auto-preview strong {
  color: #1d4ed8;
}
body.dark-mode .price-line-auto-preview,
.proposal-builder-body .price-line-auto-preview {
  color: #dbeafe;
  background: rgba(96, 165, 250, 0.10);
  border-color: rgba(147, 197, 253, 0.30);
}
body.dark-mode .price-line-auto-preview strong,
.proposal-builder-body .price-line-auto-preview strong {
  color: #93c5fd;
}
@media (max-width: 800px) {
  .price-line-editor-main-simple {
    grid-template-columns: 1fr;
  }
}
.course-filter-panel {
  width: 100%;
  max-width: 100%;
}
.course-filter-grid {
  grid-template-columns: minmax(200px, 1.4fr) repeat(3, minmax(140px, 1fr)) auto;
}
@media (max-width: 900px) {
  .course-filter-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 750px) {
  .course-filter-panel {
    width: 100%;
    max-width: 100%;
    position: static;
    left: auto;
    transform: none;
  }
}
@media (max-width: 560px) {
  .course-filter-grid {
    grid-template-columns: 1fr;
  }
}
.proposal-contact-filter-panel {
  width: 100%;
  max-width: 100%;
}
@media (max-width: 750px) {
  .proposal-contact-filter-panel {
    width: 100%;
    max-width: 100%;
    position: static;
    left: auto;
    transform: none;
  }
}
.training-program-form-body main {
  max-width: 1600px;
}
.training-program-form-body #info-rows .table-wrap {
  overflow-x: auto;
}
.builder-form-card input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid #ccd3df;
  border-radius: 4px;
  background: #fff;
  accent-color: #3157d5;
}
.builder-form-card label:has(input[type="checkbox"]) {
  display: flex;
  align-items: center;
  gap: 8px;
}
.unscheduled-session {
  background: #fff4e0;
  color: #9a6400;
}
.form-card input[type=checkbox]{width:18px;height:18px;accent-color:#3157d5;vertical-align:middle}.self-paced-check{display:flex;align-items:center;gap:10px;font-weight:500}.self-paced-check input{width:18px;height:18px;accent-color:#3157d5;flex-shrink:0}.session-status.self-paced-session{background:#eef4ff;color:#3157d5}

.confirm-dialog{border:0;border-radius:14px;padding:26px 28px 22px;width:min(420px,calc(100vw - 32px));background:#fff;color:#172033;box-shadow:0 24px 60px rgba(13,24,44,.35)}
.confirm-dialog::backdrop{background:rgba(13,24,44,.5)}
.confirm-dialog-title{margin:0 0 10px;font-size:19px}
.confirm-dialog-message{margin:0 0 22px;color:#536079;font-size:15px;line-height:1.5}
.confirm-dialog-actions{display:flex;justify-content:flex-end;gap:10px}
.confirm-dialog-actions button{border:0;border-radius:9px;padding:10px 18px;font:inherit;font-weight:650;cursor:pointer}
.confirm-dialog-cancel{background:#eef1f7;color:#334155}
.confirm-dialog-confirm{background:#b42318;color:#fff}
.confirm-dialog-actions button:focus-visible{outline:2px solid #3157d5;outline-offset:2px}
html[data-theme=dark] .confirm-dialog{background:#17233b;color:#dbe5f5}
html[data-theme=dark] .confirm-dialog-message{color:#9fb0cc}
html[data-theme=dark] .confirm-dialog-cancel{background:#243350;color:#dbe5f5}

.price-edit-body main{max-width:1600px}
.price-edit-intro{max-width:760px;margin:0 0 20px}
.price-edit-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(380px,1fr));gap:20px;align-items:start}
.price-edit-card{background:#fff;border:1px solid #e1e6ef;border-radius:13px;box-shadow:0 3px 14px #1720330a;padding:22px 24px}
.price-edit-card-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.price-edit-card-head h2{margin:0;font-size:18px}
.price-edit-currency{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:650;color:#536079}
.price-edit-currency select{padding:7px 9px;border:1px solid #ccd3df;border-radius:8px;font:inherit;background:#fff;color:#172033;min-width:110px}
.price-edit-row{display:grid;grid-template-columns:150px 1fr;align-items:center;gap:6px 12px;margin-bottom:12px}
.price-edit-row>label{font-weight:650}
.price-edit-input{display:flex;align-items:center;gap:8px}
.price-edit-input input,.price-extra-row input[type=number],.price-extra-row input[type=text]{width:100%;border:1px solid #ccd3df;border-radius:8px;padding:10px 12px;font:inherit;background:#fff;color:inherit}
.price-edit-input span{color:#7a8496;font-size:13px;white-space:nowrap}
.price-edit-error{grid-column:1/-1;color:#b42318;font-size:13px}
.price-edit-extra-title{margin:22px 0 10px;font-size:15px}
.price-edit-extra-title small{font-weight:400;color:#7a8496;background:none;padding:0}
.price-extra-row{display:grid;grid-template-columns:1fr 130px 34px;gap:8px;align-items:center;margin-bottom:8px}
.price-extra-row.is-cleared{opacity:.45}
.price-extra-remove{background:#eef1f7;color:#536079;padding:6px 0;border-radius:8px;font-size:18px;line-height:1}
.price-extra-add{background:none;color:#3157d5;border:1px dashed #b8c2d6;padding:8px 14px;font-size:14px}
.price-edit-card-foot{margin-top:18px;padding-top:14px;border-top:1px solid #e9edf4;font-size:13px}
.price-edit-card-foot p{margin:6px 0 0;font-size:13px}
.price-edit-actions{margin-top:22px}
.price-chip{display:inline-block;margin:2px 6px 2px 0;padding:4px 9px;border-radius:7px;background:#f0f3f9;color:#536079;font-size:13px;white-space:nowrap}
.price-chip b{color:#172033}
.price-empty{color:#9aa5b8;font-size:13px}
.price-overview-table td{vertical-align:middle}
@media(max-width:560px){.price-edit-row{grid-template-columns:1fr}.price-extra-row{grid-template-columns:1fr 100px 34px}.price-edit-grid{grid-template-columns:1fr}}
html[data-theme=dark] .price-edit-card{background:#17233b;border-color:#243350}
html[data-theme=dark] .price-edit-input input,html[data-theme=dark] .price-extra-row input[type=number],html[data-theme=dark] .price-extra-row input[type=text],html[data-theme=dark] .price-edit-currency select{background:#0f1a2e;border-color:#2c3d5c;color:#dbe5f5}
html[data-theme=dark] .price-chip{background:#243350;color:#9fb0cc}
html[data-theme=dark] .price-chip b{color:#dbe5f5}
html[data-theme=dark] .price-extra-remove{background:#243350;color:#9fb0cc}

.customers-body main{max-width:2400px}
.customer-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;margin:0 0 22px}
.customer-tile{display:flex;flex-direction:column;gap:2px;padding:16px 18px;background:#fff;border:1px solid #e1e6ef;border-radius:13px;box-shadow:0 3px 14px #1720330a;text-decoration:none;color:inherit;border-left:4px solid #c3cbdb}
.customer-tile span{font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#637083}
.customer-tile strong{font-size:28px;line-height:1.15}
.customer-tile strong.tile-date{font-size:20px;padding-top:6px}
.customer-tile small{background:none;padding:0;color:#7a8496}
a.customer-tile:hover{border-color:#3157d5;border-left-color:#3157d5}
.customer-tile.is-selected{background:#f1f5ff;border-color:#3157d5;border-left-color:#3157d5}
.customer-tile.tile-active{border-left-color:#1f9d55}
.customer-tile.tile-proposal{border-left-color:#d98a00}
.customer-tile.tile-quiet{border-left-color:#8a94a6}
.customer-filter{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 18px}
.customer-filter input[type=search],.customer-filter select{padding:10px 12px;border:1px solid #ccd3df;border-radius:9px;font:inherit;background:#fff;color:inherit;min-width:200px}
.customer-filter-all{display:flex;align-items:center;gap:7px;font-size:13px;color:#536079}
.customer-filter a{color:#637083;font-size:14px}
.customer-state{display:inline-block;padding:3px 10px;border-radius:999px;font-size:12px;font-weight:700;vertical-align:middle}
.customer-state.state-active{background:#e4f6ec;color:#15753f}
.customer-state.state-proposal{background:#fff1d6;color:#9a6400}
.customer-state.state-quiet{background:#eceff4;color:#5b6678}
.proposal-chip{display:inline-block;padding:2px 9px;border-radius:7px;font-size:12px;font-weight:650;background:#eceff4;color:#536079}
.proposal-chip.chip-ready,.proposal-chip.chip-sent{background:#e6eeff;color:#3157d5}
.proposal-chip.chip-accepted{background:#e4f6ec;color:#15753f}
.proposal-chip.chip-rejected{background:#fde8e6;color:#b42318}
.customer-accepted{color:#15753f;font-weight:650}
.customer-head{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;flex-wrap:wrap;background:#fff;border:1px solid #e1e6ef;border-radius:13px;box-shadow:0 3px 14px #1720330a;padding:24px 28px;margin-bottom:20px}
.customer-head h1{margin:0 0 8px;font-size:28px}
.customer-head .meta{margin-top:0}
.customer-notes{max-width:720px}
.customer-tab-bar{display:flex;gap:6px;border-bottom:2px solid #e1e6ef;margin-bottom:22px;flex-wrap:wrap}
.customer-tab-bar button{background:none;color:#536079;border-radius:9px 9px 0 0;padding:11px 18px;margin-bottom:-2px;border-bottom:2px solid transparent;font-weight:650}
.customer-tab-bar button.is-active{color:#3157d5;border-bottom-color:#3157d5;background:#f1f5ff}
.customer-tab-bar button small{margin-left:4px}
.customer-panel[hidden]{display:none}
.customer-panel .section-heading{margin-top:26px}
.customer-panel .section-heading:first-child{margin-top:0}
.customer-timeline{list-style:none;margin:0;padding:0 0 0 18px;border-left:2px solid #e1e6ef}
.customer-timeline li{position:relative;display:flex;gap:16px;align-items:baseline;padding:9px 0 9px 14px}
.customer-timeline li::before{content:"";position:absolute;left:-25px;top:16px;width:12px;height:12px;border-radius:50%;background:#3157d5;border:2px solid #fff}
.customer-timeline li.event-training::before{background:#1f9d55}
.customer-timeline time{min-width:86px;color:#637083;font-size:13px;font-weight:650}
.customer-timeline a{color:inherit;text-decoration:none}
.customer-timeline a:hover{color:#3157d5;text-decoration:underline}
@media(max-width:700px){.customer-timeline li{flex-direction:column;gap:2px}}
html[data-theme=dark] .customer-tile,html[data-theme=dark] .customer-head{background:#17233b;border-color:#243350}
html[data-theme=dark] .customer-tile.is-selected,html[data-theme=dark] .customer-tab-bar button.is-active{background:#1c2c4d}
html[data-theme=dark] .customer-tab-bar{border-bottom-color:#243350}
html[data-theme=dark] .customer-filter input[type=search],html[data-theme=dark] .customer-filter select{background:#0f1a2e;border-color:#2c3d5c;color:#dbe5f5}
html[data-theme=dark] .customer-state.state-active{background:#143626;color:#7ee0a8}
html[data-theme=dark] .customer-state.state-proposal{background:#41330f;color:#f3c15f}
html[data-theme=dark] .customer-state.state-quiet,html[data-theme=dark] .proposal-chip{background:#243350;color:#9fb0cc}
html[data-theme=dark] .proposal-chip.chip-accepted{background:#143626;color:#7ee0a8}
html[data-theme=dark] .proposal-chip.chip-rejected{background:#4a1d1a;color:#f19a93}
html[data-theme=dark] .customer-timeline{border-left-color:#243350}
html[data-theme=dark] .customer-timeline li::before{border-color:#0b1120}

.builder-create-shell{margin-bottom:28px}
.builder-create-shell + .builder-wizard-layout{margin-top:0}

.participant-info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:20px;margin-bottom:22px}
.participant-info-card{background:#fff;border:1px solid #e1e6ef;border-radius:13px;box-shadow:0 3px 14px #1720330a;padding:22px 24px}
.participant-info-card h2{margin:0 0 14px;font-size:17px}
.participant-info-card dl{margin:0;display:grid;grid-template-columns:150px 1fr;gap:10px 14px}
.participant-info-card dt{font-size:12px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;color:#637083;padding-top:2px}
.participant-info-card dd{margin:0;word-break:break-word}
.participant-days{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.participant-days li{display:flex;align-items:baseline;gap:12px;padding:8px 12px;border-radius:9px;background:#f4f6fa}
.participant-days li small{background:none;padding:0;color:#7a8496}
.participant-days li span{margin-left:auto;font-weight:650;color:#9a6400}
.participant-days li.is-present span{color:#15753f}
.participant-import-list{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(260px,1fr))!important;gap:12px 20px!important}
.participant-import-list>div{display:flex;flex-direction:column;gap:2px;padding:8px 0;border-bottom:1px solid #eef1f6}
html[data-theme=dark] .participant-info-card{background:#17233b;border-color:#243350}
html[data-theme=dark] .participant-days li{background:#0f1a2e}
html[data-theme=dark] .participant-days li.is-present span{color:#7ee0a8}
html[data-theme=dark] .participant-import-list>div{border-bottom-color:#243350}
@media(max-width:560px){.participant-info-card dl{grid-template-columns:1fr}}

.system-choice-icon,.moodle-choice:before{background:#f98012}
.system-choice-icon,.fis-choice:before{background:#0f9d8a}
.system-choice-card.is-soon{cursor:default;opacity:.72;border-style:dashed}
.system-choice-card.is-soon:hover{transform:none;border-color:#2f3f5d}
.system-choice-card.is-soon strong{color:#93a4bd}

.moodle-body main{max-width:2400px}
.mdl-top{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap;margin-bottom:12px}
.mdl-kicker{display:block;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#f98012;margin-bottom:8px}
.mdl-tabs{display:flex;gap:6px;flex-wrap:wrap}
.mdl-tabs a{padding:9px 16px;border-radius:9px;text-decoration:none;color:#536079;font-weight:650;background:#eef1f7}
.mdl-tabs a.is-active{background:#3157d5;color:#fff}
.mdl-draft{padding:6px 12px;border-radius:999px;background:#fff1d6;color:#9a6400;font-size:12px;font-weight:800;letter-spacing:.05em}
.mdl-draft-note{margin:0 0 22px;padding:10px 14px;border-radius:10px;background:#fff8e8;color:#7a5a12;font-size:14px;border:1px solid #f3dfae}
.mdl-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;margin:0 0 22px}
.mdl-tile{display:flex;flex-direction:column;gap:2px;padding:16px 18px;background:#fff;border:1px solid #e1e6ef;border-radius:13px;box-shadow:0 3px 14px #1720330a;border-left:4px solid #3157d5}
.mdl-tile span{font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#637083}
.mdl-tile strong{font-size:28px;line-height:1.15}
.mdl-tile small{background:none;padding:0;color:#7a8496}
.mdl-card{background:#fff;border:1px solid #e1e6ef;border-radius:13px;box-shadow:0 3px 14px #1720330a;padding:22px 24px;margin-bottom:22px}
.mdl-card h2{margin:0 0 6px;font-size:18px}
.mdl-card h2 small{font-weight:400;font-size:13px;color:#7a8496;background:none;padding:0;margin-left:6px}
.mdl-card>p.muted{margin:0 0 14px}
.mdl-two{display:grid;grid-template-columns:repeat(auto-fit,minmax(420px,1fr));gap:22px}
.mdl-two>.mdl-card{margin-bottom:22px}
.mdl-meter{display:inline-block;vertical-align:middle;width:90px;height:8px;border-radius:999px;background:#e8ecf4;overflow:hidden;margin-right:6px}
.mdl-meter.wide{width:100%;margin:0}
.mdl-meter>span{display:block;height:100%;background:linear-gradient(90deg,#3157d5,#6b7cff);border-radius:999px}
.mdl-line{width:100%;height:150px;display:block;margin-top:10px}
.mdl-line-area{fill:rgba(49,87,213,.12)}
.mdl-line-stroke{fill:none;stroke:#3157d5;stroke-width:2;vector-effect:non-scaling-stroke}
.mdl-axis{display:flex;justify-content:space-between;color:#7a8496;font-size:12px;margin-top:4px}
.mdl-heat{display:flex;flex-direction:column;gap:3px;margin-top:10px}
.mdl-heat-row,.mdl-heat-hours{display:grid;grid-template-columns:34px repeat(24,minmax(0,1fr));gap:3px;align-items:center}
.mdl-heat-row>span,.mdl-heat-hours>span{font-size:12px;color:#637083}
.mdl-heat-hours i{font-size:10px;color:#7a8496;font-style:normal;text-align:left}
.mdl-heat-row i{display:block;height:22px;border-radius:4px;background:#eef1f7}
.mdl-heat-row i.lvl-1{background:#cfdcff}.mdl-heat-row i.lvl-2{background:#9db6ff}.mdl-heat-row i.lvl-3{background:#5f84f0}.mdl-heat-row i.lvl-4{background:#2447c0}
.mdl-columns{display:flex;align-items:flex-end;gap:4px;height:150px;margin-top:12px}
.mdl-col{flex:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;height:100%;min-width:0}
.mdl-col b{display:block;width:100%;min-height:2px;background:linear-gradient(180deg,#6b7cff,#3157d5);border-radius:5px 5px 0 0}
.mdl-col span{font-size:10px;color:#7a8496;margin-top:4px}
.mdl-bars{list-style:none;margin:12px 0 0;padding:0;display:flex;flex-direction:column;gap:12px}
.mdl-bars li{display:grid;grid-template-columns:minmax(120px,1.2fr) minmax(80px,2fr) 54px minmax(90px,1fr);gap:10px;align-items:center;font-size:14px}
.mdl-bars li small{background:none;padding:0;color:#7a8496}
.mdl-people{list-style:none;margin:10px 0 0;padding:0;display:flex;flex-direction:column;gap:10px}
.mdl-people li{display:grid;grid-template-columns:minmax(120px,1fr) 2fr auto;gap:10px;align-items:baseline}
.mdl-people li small{background:none;padding:0;color:#7a8496}
.mdl-warn{color:#b42318}
.mdl-up{color:#15753f;font-weight:700}.mdl-down{color:#b42318;font-weight:700}
.mdl-pill{display:inline-block;padding:2px 10px;border-radius:999px;font-size:12px;font-weight:750;background:#eceff4;color:#536079}
.mdl-pill.ok{background:#e4f6ec;color:#15753f}.mdl-pill.warn{background:#fff1d6;color:#9a6400}
.mdl-checks{list-style:none;margin:12px 0 0;padding:0;display:flex;flex-direction:column;gap:10px}
.mdl-checks li{position:relative;padding-left:28px;line-height:1.5}
.mdl-checks li::before{content:"○";position:absolute;left:0;top:0;color:#7a8496}
.mdl-checks.done li::before{content:"✓";color:#15753f;font-weight:800}
.mdl-phases{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:22px;margin-top:10px}
.mdl-phase h3{margin:0;font-size:15px;color:#3157d5}
.mdl-questions{margin:10px 0 0;padding-left:22px;display:flex;flex-direction:column;gap:8px}
@media(max-width:700px){.mdl-bars li{grid-template-columns:1fr 1fr}.mdl-bars li .mdl-meter{grid-column:1/-1}.mdl-two{grid-template-columns:1fr}.mdl-people li{grid-template-columns:1fr}}
html[data-theme=dark] .mdl-tile,html[data-theme=dark] .mdl-card{background:#17233b;border-color:#243350}
html[data-theme=dark] .mdl-tabs a{background:#17233b;color:#9fb0cc}
html[data-theme=dark] .mdl-tabs a.is-active{background:#3157d5;color:#fff}
html[data-theme=dark] .mdl-draft-note{background:#2a2410;border-color:#4a3d12;color:#e8cf85}
html[data-theme=dark] .mdl-draft{background:#41330f;color:#f3c15f}
html[data-theme=dark] .mdl-meter{background:#243350}
html[data-theme=dark] .mdl-heat-row i{background:#1b2944}
html[data-theme=dark] .mdl-heat-row i.lvl-1{background:#25407a}html[data-theme=dark] .mdl-heat-row i.lvl-2{background:#35589f}html[data-theme=dark] .mdl-heat-row i.lvl-3{background:#4f78d6}html[data-theme=dark] .mdl-heat-row i.lvl-4{background:#7ea1ff}
html[data-theme=dark] .mdl-line-area{fill:rgba(107,124,255,.18)}
html[data-theme=dark] .mdl-line-stroke{stroke:#7ea1ff}
html[data-theme=dark] .mdl-pill{background:#243350;color:#9fb0cc}
html[data-theme=dark] .mdl-pill.ok{background:#143626;color:#7ee0a8}html[data-theme=dark] .mdl-pill.warn{background:#41330f;color:#f3c15f}
html[data-theme=dark] .mdl-phase h3{color:#7ea1ff}
html[data-theme=dark] .mdl-tile small,html[data-theme=dark] .mdl-card h2 small,html[data-theme=dark] .mdl-bars li small,html[data-theme=dark] .mdl-people li small{background:none;padding:0}
.notification-toggle{position:relative;padding:0 12px;font-size:16px}.notification-toggle:after{content:none}.notification-count{position:absolute;top:-6px;right:-6px;min-width:19px;height:19px;padding:0 5px;border-radius:10px;background:#d92d20;color:#fff;font-size:11px;font-weight:800;line-height:19px;text-align:center;box-shadow:0 0 0 2px #fff}.notification-menu{width:360px;max-width:calc(100vw - 32px);max-height:70vh;overflow:auto}.notification-menu-title{padding:6px 11px 8px;color:#667085;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.nav-dropdown-menu a.notification-item{display:grid;gap:3px;border-left:3px solid #f79009;font-weight:600}.notification-item strong{font-size:13px;color:#182230}.notification-item span{font-size:12px;line-height:1.4;color:#667085}.notification-empty{margin:0;padding:10px 11px;color:#8a94a6;font-size:13px}td small.proposal-reminder-note,.proposal-reminder-note{display:block;margin-top:5px;padding:0;background:none;border-radius:0;color:#b54708;font-size:11px;font-weight:700;line-height:1.3}
html[data-theme=dark] .notification-count{box-shadow:0 0 0 2px #111827}html[data-theme=dark] .notification-item strong{color:#e5edf8}html[data-theme=dark] .notification-item span,html[data-theme=dark] .notification-menu-title{color:#94a3b8}html[data-theme=dark] td small.proposal-reminder-note{color:#fdb022;background:none}

.participant-page-body table.fit-table{min-width:0}
.fit-table th{white-space:normal;line-height:1.3}
.fit-table th,.fit-table td{padding-left:10px;padding-right:10px}
.fit-table td.wrap-any{overflow-wrap:anywhere;word-break:break-word;min-width:150px}
.fit-table td.truncate-cell{max-width:170px}

@media(min-width:751px){
header{padding:10px max(28px,calc((100% - 2400px)/2 + 28px));gap:clamp(18px,2vw,40px)}
header .brand{white-space:nowrap;flex-shrink:0}
header nav{flex:1;justify-content:flex-end;flex-wrap:nowrap;gap:clamp(14px,1.7vw,32px)}
header nav>a,header nav .nav-dropdown-toggle,header nav .nav-logout-form button{white-space:nowrap}
header nav .nav-logout-form{margin-left:0}
}

/* Mobil üst çubuk: logo + bildirim + tema + menü butonu tek satırda, diğer bağlantılar menü açılınca liste olarak görünür. */
.mobile-menu-toggle{display:none}
@media(max-width:750px){
header.has-mobile-menu{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;align-items:center;gap:0 6px;min-height:56px;padding:8px 12px;flex-direction:row}
header.has-mobile-menu .brand{grid-column:1;grid-row:1;font-size:16px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
header.has-mobile-menu nav{display:contents}
header.has-mobile-menu nav>*{grid-column:1/-1;display:none!important}
header.has-mobile-menu.is-menu-open nav>*{display:block!important}
header.has-mobile-menu nav>.theme-toggle{grid-column:3;grid-row:1;display:inline-grid!important;width:40px;height:40px;min-width:40px;border-radius:10px;box-shadow:none;font-size:17px}
header.has-mobile-menu nav>.notification-dropdown{grid-column:2;grid-row:1;display:block!important;position:static;width:auto}
header.has-mobile-menu .notification-toggle{width:40px;height:40px;padding:0;display:grid;place-items:center;border-radius:10px;background:transparent;border:1px solid transparent;font-size:18px}
header.has-mobile-menu .notification-count{top:-2px;right:-2px}
header.has-mobile-menu .notification-dropdown .notification-menu{position:absolute;top:calc(100% + 6px);left:12px;right:12px;width:auto;max-width:none;margin:0;box-shadow:0 18px 44px rgba(23,32,51,.18)}
header.has-mobile-menu .mobile-menu-toggle{grid-column:4;grid-row:1;display:grid;place-items:center;width:40px;height:40px;padding:0;border-radius:10px;background:transparent;border:1px solid #dfe5ee;color:#172033;box-shadow:none}
header.has-mobile-menu .mobile-menu-toggle svg{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
header.has-mobile-menu .menu-icon-close,header.has-mobile-menu.is-menu-open .menu-icon-open{display:none}
header.has-mobile-menu.is-menu-open .menu-icon-close{display:inline}
header.has-mobile-menu.is-menu-open{max-height:100vh;overflow-y:auto}
header.has-mobile-menu.is-menu-open nav>a:first-of-type{margin-top:10px}
header.has-mobile-menu nav>a:not(.button),header.has-mobile-menu nav>.nav-dropdown:not(.notification-dropdown)>.nav-dropdown-toggle,header.has-mobile-menu nav>.nav-logout-form button{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:48px;margin:0;padding:12px 4px;border:0;border-top:1px solid #eef1f6;border-radius:0;background:none;box-shadow:none;color:#344054;font-size:15px;font-weight:650;text-align:left;white-space:normal}
header.has-mobile-menu nav>.nav-dropdown:not(.notification-dropdown){width:100%;position:static}
header.has-mobile-menu nav>.nav-dropdown:not(.notification-dropdown)>.nav-dropdown-toggle{color:#637083}
header.has-mobile-menu nav>.nav-dropdown:not(.notification-dropdown) .nav-dropdown-menu{position:static;margin:0 0 6px;padding:0 0 0 12px;border:0;border-radius:0;background:none;box-shadow:none;max-height:none}
header.has-mobile-menu nav>.nav-dropdown:not(.notification-dropdown) .nav-dropdown-menu a{padding:11px 8px;font-size:14px;font-weight:600;color:#536079}
header.has-mobile-menu nav>.nav-logout-form button{color:#b42318}
header.has-mobile-menu nav>.nav-logout-form button:hover{background:none;color:#912018}
html[data-theme=dark] header.has-mobile-menu .mobile-menu-toggle{border-color:#334155;color:#f8fafc}
html[data-theme=dark] header.has-mobile-menu nav>a:not(.button),html[data-theme=dark] header.has-mobile-menu nav>.nav-dropdown:not(.notification-dropdown)>.nav-dropdown-toggle,html[data-theme=dark] header.has-mobile-menu nav>.nav-logout-form button{border-top-color:#22304a;background:none;color:#dbe5f5}
html[data-theme=dark] header.has-mobile-menu nav>.nav-dropdown:not(.notification-dropdown)>.nav-dropdown-toggle{color:#9fb0cc}
html[data-theme=dark] header.has-mobile-menu nav>.nav-dropdown:not(.notification-dropdown) .nav-dropdown-menu{background:none}
html[data-theme=dark] header.has-mobile-menu nav>.nav-dropdown:not(.notification-dropdown) .nav-dropdown-menu a{color:#b8c4d8}
html[data-theme=dark] header.has-mobile-menu nav>.nav-logout-form button{color:#fda29b}
html[data-theme=dark] header.has-mobile-menu .notification-toggle{background:transparent;border-color:transparent}
}
