:root {
    --brand: #1351a0;
    --brand-dark: #0c3f80;
    --brand-soft: #d8e8fa;
    --bg-top: #dbe6f2;
    --bg-bottom: #c9d8e8;
    --surface: #e7eef6;
    --surface-soft: #f4f7fb;
    --panel: #fff;
    --text: #1d2939;
    --title: #12365f;
    --muted: #5d6f82;
    --border: #b9c9dc;
    --border-soft: #d3deea;
    --danger: #b42318;
    --success: #16713b;
    --warning: #8a5a00;
    --shadow: 0 10px 25px rgba(25, 55, 90, .1);
    --shadow-button: 0 5px 12px rgba(18, 54, 95, .14);
}

* { box-sizing: border-box; }
html { min-height: 100%; }
body { margin: 0; min-height: 100%; background: linear-gradient(160deg, var(--bg-top), var(--bg-bottom)); background-attachment: fixed; color: var(--text); font: 15px/1.5 "Segoe UI", Tahoma, Arial, sans-serif; }
a { color: var(--brand); text-decoration: none; }
button, input, select, textarea { font: inherit; }
.ui-icon { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }

.topbar { width: min(1200px, calc(100% - 32px)); min-height: 82px; margin: 20px auto 14px; padding: 15px 20px; background: var(--panel); border: 1px solid var(--border); border-radius: 15px; box-shadow: var(--shadow); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 13px; color: var(--title); min-width: 0; }
.brand img, .brand-mark { width: 48px; height: 48px; object-fit: contain; border-radius: 12px; }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(145deg, color-mix(in srgb, var(--brand), white 14%), var(--brand)); box-shadow: 0 7px 16px color-mix(in srgb, var(--brand), transparent 70%); }
.brand-mark .ui-icon { width: 25px; height: 25px; }
.brand-copy { min-width: 0; }
.brand-copy strong { display: block; font-size: 20px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-copy small { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; font-weight: 500; }
.userbox { display: flex; align-items: center; gap: 9px; }
.user-meta { padding-right: 12px; text-align: right; border-right: 1px solid var(--border-soft); }
.user-meta strong, .user-meta small { display: block; }
.user-meta strong { color: var(--title); font-size: 14px; }
.user-meta small { color: var(--muted); font-size: 12px; }
.top-action { min-height: 38px; padding: 8px 12px; border: 1px solid #9db9da; border-radius: 9px; display: inline-flex; align-items: center; gap: 7px; color: var(--brand); background: linear-gradient(#fff, #f1f6fc); font-weight: 700; font-size: 13px; }
.top-action.danger { color: var(--danger); border-color: #e7b3b0; background: linear-gradient(#fff, #fff3f2); }

.shell { width: min(1200px, calc(100% - 32px)); margin: 0 auto; }
.sidebar { padding: 6px; margin-bottom: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.sidebar::-webkit-scrollbar { display: none; }
.sidebar a { min-height: 39px; padding: 8px 13px; border-radius: 9px; color: #294b70; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; font-size: 14px; font-weight: 600; transition: .17s ease; }
.sidebar a .ui-icon { color: #758ba3; }
.sidebar a:hover { background: #d6e4f3; color: var(--brand-dark); }
.sidebar a.active { background: color-mix(in srgb, var(--brand), white 78%); color: var(--brand-dark); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand), white 60%); }
.sidebar a.active .ui-icon { color: var(--brand); }
.sidebar .bug-report { margin-left: auto; color: #8f261f; background: #fff4f2; border: 1px solid #efc1bc; }.sidebar .bug-report .ui-icon { color: #b42318; }.sidebar .bug-report:hover, .sidebar .bug-report.active { color: #fff; background: #b42318; }.sidebar .bug-report:hover .ui-icon, .sidebar .bug-report.active .ui-icon { color: #fff; }
.module-path { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; color: var(--muted); font-size: 13px; }.module-path a { color: var(--brand); font-weight: 700; }.module-path strong { color: var(--text); }
.content { width: 100%; padding: 22px 24px 26px; background: rgba(255, 255, 255, .74); border: 1px solid var(--border); border-radius: 15px; box-shadow: var(--shadow); backdrop-filter: blur(4px); }
.site-footer { width: min(1200px, calc(100% - 32px)); margin: 11px auto 18px; text-align: center; color: var(--muted); font-size: 12px; }
.public-content { min-height: 100vh; padding: 28px 16px; display: flex; align-items: center; justify-content: center; }

.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.page-head h1 { margin: 0; color: var(--title); font-size: 25px; font-weight: 750; letter-spacing: -.02em; }
.page-head h2 { margin: 0; color: var(--title); font-size: 18px; }
.page-head p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.btn { min-height: 40px; padding: 8px 14px; border: 1px solid #a9bfd8; border-radius: 9px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 7px; color: #23496f; background: linear-gradient(180deg, #fff 0%, #edf3f9 100%); box-shadow: var(--shadow-button); font-weight: 700; font-size: 14px; transition: transform .17s ease, box-shadow .17s ease, border-color .17s ease, filter .17s ease; }
.btn:hover { transform: translateY(-1px); border-color: #759dca; filter: saturate(1.05); box-shadow: 0 8px 17px rgba(18, 54, 95, .17); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand), transparent 70%); outline-offset: 2px; }
.btn-primary { color: #fff; border-color: var(--brand-dark); background: linear-gradient(180deg, color-mix(in srgb, var(--brand), white 10%), var(--brand)); box-shadow: 0 8px 17px color-mix(in srgb, var(--brand), transparent 72%); }
.btn-primary:hover { color: #fff; background: linear-gradient(180deg, var(--brand), var(--brand-dark)); }
.btn-danger { color: #9f1d16; border-color: #efb3ae; background: linear-gradient(180deg, #fff7f6, #ffe5e2); }
.btn-sm { min-height: 34px; padding: 6px 10px; border-radius: 8px; font-size: 12px; box-shadow: 0 3px 8px rgba(18, 54, 95, .1); }
.btn-icon { width: 17px; height: 17px; display: inline-flex; }
.btn-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.card { margin-bottom: 18px; padding: 20px; background: var(--panel); border: 1px solid var(--border-soft); border-radius: 13px; box-shadow: 0 6px 16px rgba(25, 55, 90, .07); transition: transform .18s ease, box-shadow .18s ease; }
.card:hover { box-shadow: 0 9px 21px rgba(25, 55, 90, .1); }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.metric { position: relative; min-height: 118px; padding: 20px 18px 17px 76px; overflow: hidden; border-top: 4px solid var(--brand); }
.metric::before { content: ''; position: absolute; left: 18px; top: 24px; width: 40px; height: 40px; border-radius: 12px; background: color-mix(in srgb, var(--brand), white 82%); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand), white 66%); }
.metric::after { content: '✓'; position: absolute; left: 31px; top: 29px; color: var(--brand); font-size: 21px; font-weight: 900; }
.metric:nth-child(2) { border-top-color: #0b7a75; }.metric:nth-child(2)::before { background: #d8f2ef; }.metric:nth-child(2)::after { content: '●'; color: #0b7a75; }
.metric:nth-child(3) { border-top-color: #8b5e00; }.metric:nth-child(3)::before { background: #fff0cc; }.metric:nth-child(3)::after { content: '◆'; color: #8b5e00; }
.metric:nth-child(4) { border-top-color: #7047a3; }.metric:nth-child(4)::before { background: #eadff7; }.metric:nth-child(4)::after { content: '✦'; color: #7047a3; }
.metric span { display: block; margin-bottom: 7px; color: var(--muted); font-size: 13px; font-weight: 650; }
.metric strong { color: var(--title); font-size: 29px; line-height: 1; }
.section-title { margin: 0 0 17px; padding: 0 0 10px; border-bottom: 1px solid var(--border-soft); color: var(--title); font-size: 17px; font-weight: 750; }

.table-wrap { overflow: auto; border: 1px solid var(--border); border-radius: 11px; background: #fff; }
.table { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 0; }
.table th, .table td { padding: 12px 13px; text-align: left; vertical-align: middle; border-bottom: 1px solid #dce5ee; }
.table th { color: #294b70; background: var(--surface); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .045em; white-space: nowrap; }
.table tbody tr { transition: background .15s ease; }.table tbody tr:hover { background: #f5f9fd; }.table tr:last-child td { border-bottom: 0; }
.academy-name { color: var(--title); font-weight: 800; }
.photo { width: 52px; height: 52px; border: 2px solid #fff; border-radius: 50%; object-fit: cover; background: linear-gradient(145deg, #d6e3ef, #edf3f8); box-shadow: 0 0 0 1px var(--border), 0 5px 12px rgba(25, 55, 90, .12); }

.form-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.field { grid-column: span 4; }.field-6 { grid-column: span 6; }.field-8 { grid-column: span 8; }.field-12 { grid-column: span 12; }
.field label { display: block; margin-bottom: 6px; color: #29435f; font-size: 13px; font-weight: 750; }
.field input, .field select, .field textarea { width: 100%; min-height: 43px; padding: 9px 11px; color: var(--text); background: #fbfdff; border: 1px solid #bdccdc; border-radius: 9px; box-shadow: inset 0 1px 2px rgba(15, 35, 60, .035); transition: border-color .16s ease, box-shadow .16s ease, background .16s ease; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #91acc9; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; background: #fff; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand), transparent 84%); }
.field textarea { min-height: 94px; resize: vertical; }.field small { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; }
input[type="color"] { padding: 5px; cursor: pointer; }
.field input[type="file"] { padding: 5px; color: var(--muted); background: #fbfdff; }
.field input[type="file"]::file-selector-button { min-height: 31px; margin-right: 10px; padding: 5px 11px; border: 1px solid #9db8d4; border-radius: 7px; color: #244b73; background: linear-gradient(#fff, #eaf1f8); font-weight: 700; cursor: pointer; }
.filters { display: flex; align-items: end; gap: 10px; flex-wrap: wrap; }.filters .field { min-width: 190px; }
.checkbox-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.check { min-height: 48px; padding: 11px 12px; display: flex; align-items: center; gap: 9px; color: #29435f; background: var(--surface-soft); border: 1px solid var(--border-soft); border-radius: 9px; cursor: pointer; transition: .16s ease; }
.check:hover { background: #eaf2fb; border-color: #99b6d5; }.check input { accent-color: var(--brand); }

.alert { position: relative; margin-bottom: 18px; padding: 13px 15px 13px 44px; border: 1px solid #b9d0e7; border-radius: 10px; color: #1f4c77; background: #e9f3fd; box-shadow: 0 5px 13px rgba(25, 55, 90, .06); }
.alert::before { content: 'i'; position: absolute; left: 15px; top: 12px; width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--brand); font-size: 12px; font-weight: 900; }
.alert-success { color: #155d32; background: #e2f7e9; border-color: #a8ddba; }.alert-success::before { content: '✓'; background: var(--success); }
.alert-danger { color: #8d1d17; background: #fff0ef; border-color: #efbbb7; }.alert-danger::before { content: '!'; background: var(--danger); }
.alert-warning { color: #765000; background: #fff7df; border-color: #ead18d; }.alert-warning::before { content: '!'; background: #9b6900; }
.badge { padding: 5px 9px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; background: #e5edf5; color: #42586f; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .025em; }
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge-ativa, .badge-ativo, .badge-concluido { color: #166534; background: #dcfce7; }.badge-suspensa, .badge-suspenso, .badge-expirado { color: #8a5800; background: #fef3c7; }.badge-cancelada, .badge-encerrado, .badge-revogado { color: #a3231b; background: #fee2e2; }.badge-enviado, .badge-aberto, .badge-pre_cadastro { color: #1d4f91; background: #dbeafe; }
.badge-pago, .badge-assinado, .badge-resolvido { color: #166534; background: #dcfce7; }.badge-pendente, .badge-rascunho, .badge-em_analise { color: #8a5800; background: #fef3c7; }.badge-atrasado { color: #a3231b; background: #fee2e2; }
.muted { color: var(--muted); }.empty { padding: 42px 20px; text-align: center; color: var(--muted); background: var(--surface-soft); border-radius: 9px; }
.metric-link { text-decoration: none; transition: transform .17s ease, box-shadow .17s ease; }.metric-link:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(25,55,90,.14); }.metric-link strong { font-size: 21px; }
.master-module-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.master-module-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 132px;
    padding: 18px;
    color: inherit;
    text-decoration: none;
    background: var(--surface-soft);
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    transition: transform .17s ease, box-shadow .17s ease, border-color .17s ease;
}
.master-module-card:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--brand), white 45%);
    box-shadow: 0 12px 26px rgba(25, 55, 90, .12);
}
.master-module-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(145deg, var(--brand), var(--brand-dark, #0f3f82));
    border-radius: 12px;
}
.master-module-icon .ui-icon { width: 22px; height: 22px; }
.master-module-card strong { color: var(--title); font-size: 17px; }
.master-module-card small { color: var(--muted); line-height: 1.35; }
@media (max-width: 1000px) { .master-module-grid { grid-template-columns: 1fr; } }
.invite-box { padding: 14px 16px; color: #23496f; background: #edf5fd; border: 1px dashed #7fa4cb; border-radius: 9px; font-family: Consolas, monospace; word-break: break-all; }
.public-form { width: min(900px, 100%); }
.branding-editor { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 26px; align-items: center; }
.branding-preview { width: 190px; height: 190px; display: grid; place-items: center; overflow: hidden; border: 1px solid color-mix(in srgb, var(--preview-color), white 45%); border-radius: 22px; color: #fff; background: linear-gradient(145deg, color-mix(in srgb, var(--preview-color), white 15%), var(--preview-color)); box-shadow: 0 15px 32px color-mix(in srgb, var(--preview-color), transparent 72%); }
.branding-preview img { width: 100%; height: 100%; padding: 14px; object-fit: contain; background: #fff; }
.branding-preview strong { font-size: 52px; letter-spacing: -.05em; }.branding-fields { min-width: 0; }
.avatar-initial { display: inline-grid; place-items: center; color: var(--brand); font-weight: 900; }
.role-tag { margin: 2px 4px 2px 0; padding: 3px 7px; display: inline-flex; color: #27527d; background: #e4effa; border-radius: 999px; font-size: 11px; font-weight: 750; }
.wizard-progress { position: sticky; top: 8px; z-index: 18; margin-bottom: 18px; padding: 8px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; background: rgba(237, 243, 249, .96); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 8px 20px rgba(25, 55, 90, .1); backdrop-filter: blur(6px); }
.wizard-progress button { min-height: 45px; padding: 7px 10px; display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--muted); background: transparent; border: 0; border-radius: 9px; font-weight: 700; cursor: pointer; }
.wizard-progress button span { width: 25px; height: 25px; display: grid; place-items: center; color: #42617f; background: #d8e3ee; border-radius: 50%; font-size: 12px; }
.wizard-progress button.is-active { color: var(--brand-dark); background: #fff; box-shadow: 0 4px 11px rgba(25, 55, 90, .1); }.wizard-progress button.is-active span { color: #fff; background: var(--brand); }.wizard-progress button.is-complete span { color: #fff; background: var(--success); }.wizard-progress button:disabled { cursor: default; opacity: .7; }
.wizard-step { min-height: 310px; animation: wizard-in .2s ease; }.wizard-step[hidden] { display: none; }
.wizard-actions { position: sticky; bottom: 10px; z-index: 17; margin-top: 15px; padding: 11px; display: flex; align-items: center; justify-content: flex-end; gap: 9px; background: rgba(255, 255, 255, .96); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 -5px 22px rgba(25, 55, 90, .12); backdrop-filter: blur(5px); }.wizard-status { margin-right: auto; color: var(--muted); font-size: 12px; font-weight: 700; }
.choice-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }.choice-card { position: relative; min-height: 130px; padding: 22px; display: flex; align-items: center; gap: 14px; color: #29435f; background: var(--surface-soft); border: 2px solid var(--border-soft); border-radius: 13px; cursor: pointer; transition: .17s ease; }.choice-card:hover { border-color: #8caac8; transform: translateY(-1px); }.choice-card:has(input:checked) { color: var(--brand-dark); background: color-mix(in srgb, var(--brand), white 90%); border-color: var(--brand); box-shadow: 0 8px 18px color-mix(in srgb, var(--brand), transparent 84%); }.choice-card input { width: 20px; height: 20px; accent-color: var(--brand); }.choice-card strong, .choice-card small { display: block; }.choice-card strong { font-size: 18px; }.choice-card small { margin-top: 4px; color: var(--muted); }
.team-role-options { display: flex; flex-wrap: wrap; gap: 10px; }.team-role-options label { min-width: 130px; padding: 10px 14px; display: inline-flex; align-items: center; gap: 9px; color: var(--title); background: var(--surface-soft); border: 1px solid var(--border); border-radius: 9px; font-weight: 750; cursor: pointer; }.team-role-options label:has(input:checked) { color: var(--brand-dark); background: color-mix(in srgb,var(--brand),white 91%); border-color: var(--brand); }.team-role-options input { width: 17px; height: 17px; margin: 0; accent-color: var(--brand); }
@keyframes wizard-in { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: none; } }
.login-card { width: min(440px, 100%); padding: 30px; background: #fff; border: 1px solid var(--border); border-radius: 15px; box-shadow: 0 20px 50px rgba(25, 55, 90, .18); }
.login-card h1 { margin: 0 0 8px; color: var(--title); }.login-card p { margin: 0 0 22px; color: var(--muted); }.login-card .field { margin-bottom: 15px; }.login-card .btn { width: 100%; margin-top: 5px; }
.contract-sign { margin: 0 auto; }.contract-content { max-height: 430px; overflow: auto; line-height: 1.75; }.signature-wrap { margin: 14px 0 9px; padding: 8px; background: #eef3f8; border: 1px solid var(--border); border-radius: 11px; }.signature-wrap canvas { width: 100%; height: 190px; display: block; background: #fff; border: 1px dashed #829bb5; border-radius: 8px; touch-action: none; }
.assessment-note { margin: 0 0 18px; padding: 12px 14px; color: #294b70; background: #edf5fd; border-left: 4px solid var(--brand); border-radius: 8px; }.assessment-preview { margin-bottom: 18px; }.assessment-preview .metric { min-height: 105px; }.assessment-preview .metric small { color: var(--muted); }.chart-controls { margin-bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }.chart-controls select { min-width: 220px; min-height: 40px; padding: 7px 10px; border: 1px solid var(--border); border-radius: 8px; color: var(--title); background: #fff; font-weight: 700; }.chart-controls strong { color: var(--brand-dark); }.chart-canvas { min-height: 300px; padding: 8px; overflow-x: auto; background: linear-gradient(#fbfdff,#f3f7fb); border: 1px solid var(--border-soft); border-radius: 11px; }.chart-canvas svg { width: 100%; min-width: 620px; height: 300px; display: block; }.chart-grid line { stroke: #dce6f0; stroke-width: 1; }.chart-grid text, .chart-date { fill: #687d92; font-size: 11px; }.chart-line { fill: none; stroke: var(--brand); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }.chart-canvas circle { fill: #fff; stroke: var(--brand); stroke-width: 4; }
.assessment-control-card { padding-bottom: 14px; }.assessment-section-tabs { margin: 20px 0 12px; padding-top: 14px; display: grid; grid-template-columns: repeat(5, minmax(120px, 1fr)); gap: 8px; border-top: 1px solid var(--border-soft); }.assessment-section-tabs button { min-height: 54px; padding: 9px 10px; display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--muted); background: var(--surface-soft); border: 1px solid var(--border-soft); border-radius: 10px; font-weight: 750; cursor: pointer; }.assessment-section-tabs button span { width: 27px; height: 27px; flex: 0 0 27px; display: grid; place-items: center; color: #42617f; background: #d8e3ee; border-radius: 50%; font-size: 12px; }.assessment-section-tabs button.is-active { color: var(--brand-dark); background: #fff; border-color: var(--brand); box-shadow: 0 5px 14px rgba(25,55,90,.12); }.assessment-section-tabs button.is-active span { color: #fff; background: var(--brand); }.assessment-section-tabs button.is-complete span { color: #fff; background: var(--success); }.assessment-top-actions { display: flex; align-items: center; justify-content: flex-end; gap: 9px; }.assessment-top-actions > span { margin-right: auto; color: var(--muted); font-size: 12px; font-weight: 700; }.assessment-section { min-height: 300px; scroll-margin-top: 18px; animation: wizard-in .2s ease; }.assessment-section[hidden] { display: none; }.assessment-completion { margin-bottom: 18px; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; }.assessment-completion article { padding: 12px; background: var(--surface-soft); border: 1px solid var(--border-soft); border-radius: 9px; }.assessment-completion span,.assessment-completion strong { display: block; }.assessment-completion span { margin-bottom: 5px; color: var(--muted); font-size: 12px; }.assessment-completion strong { color: #7a8795; font-size: 13px; }.assessment-completion strong.is-filled { color: var(--success); }.form-subsection { margin: 22px 0 14px; padding-top: 18px; color: var(--brand-dark); border-top: 1px solid var(--border-soft); font-size: 15px; }.form-subsection:first-child { margin-top: 0; padding-top: 0; border-top: 0; }.student-form-actions { position: sticky; bottom: 8px; z-index: 17; margin-top: 16px; padding: 11px; display: flex; justify-content: flex-end; gap: 9px; background: rgba(255,255,255,.96); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 -5px 22px rgba(25,55,90,.12); backdrop-filter: blur(5px); }
.detail-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }.detail-grid > div { padding: 13px; background: var(--surface-soft); border: 1px solid var(--border-soft); border-radius: 9px; }.detail-grid span,.detail-grid strong { display: block; }.detail-grid span { margin-bottom: 4px; color: var(--muted); font-size: 12px; }.detail-grid strong { color: var(--title); }
.date-input-br { padding-right: 42px !important; background-image: linear-gradient(45deg,transparent 50%,var(--brand) 50%),linear-gradient(135deg,var(--brand) 50%,transparent 50%) !important; background-position: calc(100% - 18px) 18px,calc(100% - 12px) 18px !important; background-size: 6px 6px !important; background-repeat: no-repeat !important; }.file-native-br { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none; }.file-control-br { min-height: 43px; padding: 5px; display: flex; align-items: center; gap: 10px; overflow: hidden; color: var(--muted); background: #fbfdff; border: 1px solid #bdccdc; border-radius: 9px; }.file-control-br span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }.feedback-simple { max-width: 760px; }.feedback-simple .field { margin-bottom: 16px; }.feedback-simple textarea { min-height: 180px; }
.profile-photo-preview { width: 104px; height: 104px; margin: 0 0 10px; display: grid; place-items: center; overflow: hidden; color: var(--brand); background: linear-gradient(145deg,#f7faff,#e6eef7); border: 2px solid #fff; outline: 1px solid var(--border); border-radius: 18px; box-shadow: 0 8px 20px rgba(25,55,90,.14); }.profile-photo-preview img { width: 100%; height: 100%; display: block; object-fit: cover; }.profile-photo-preview span { font-size: 27px; font-weight: 850; }
.team-simple-form .section-title + .form-subsection { margin-top: 0; padding-top: 0; border-top: 0; }

@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); }.field, .field-6, .field-8 { grid-column: span 6; }.user-meta { display: none; } }
@media (max-width: 760px) { .topbar { width: calc(100% - 20px); margin: 10px auto; padding: 12px; }.brand-copy strong { font-size: 17px; }.brand-copy small, .top-action span { display: none; }.top-action { width: 39px; padding: 8px; }.shell { width: calc(100% - 20px); }.sidebar { position: sticky; top: 6px; z-index: 20; }.content { padding: 18px 14px; }.page-head { display: block; }.page-head .actions { margin-top: 13px; }.field, .field-6, .field-8, .field-12 { grid-column: span 12; }.checkbox-grid, .choice-cards { grid-template-columns: 1fr; }.wizard-progress { grid-template-columns: repeat(4, minmax(54px, 1fr)); overflow-x: auto; }.wizard-progress button { font-size: 0; }.wizard-progress button span { font-size: 12px; }.wizard-actions { bottom: 4px; }.wizard-status { display: none; }.assessment-section-tabs { grid-template-columns: repeat(5, minmax(68px, 1fr)); overflow-x: auto; }.assessment-section-tabs button { min-width: 68px; font-size: 0; }.assessment-section-tabs button span { font-size: 12px; }.assessment-top-actions { flex-wrap: wrap; }.assessment-top-actions > span { width: 100%; margin: 0; }.assessment-top-actions .btn { flex: 1 1 auto; }.student-form-actions .btn { flex: 1; }.branding-editor { grid-template-columns: 1fr; }.branding-preview { width: 140px; height: 140px; margin: auto; }.public-content { padding: 14px; align-items: flex-start; }.login-card { margin-top: 34px; padding: 24px; } }
@media (max-width: 460px) { .cards { grid-template-columns: 1fr; }.page-head h1 { font-size: 23px; }.brand-mark, .brand img { width: 42px; height: 42px; }.content { border-radius: 12px; } }
@media (max-width: 760px) { .detail-grid { grid-template-columns: 1fr; }.assessment-completion { grid-template-columns: repeat(2,minmax(0,1fr)); }.chart-controls { align-items: stretch; flex-direction: column; }.chart-controls select { width: 100%; } }
