:root {
    --brand: #1D4E2A;
    --brand-deep: #153B20;
    --brand-bright: #2E7040;
    --ink: #202923;
    --muted: #68756C;
    --line: #DDE5DE;
    --canvas: #F3F6F3;
    --white: #FFFFFF;
    --signal: #BD7A27;
    --sidebar-width: 252px;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--canvas);
    font-family: "Manrope", "Segoe UI", sans-serif;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.scms-topbar {
    position: sticky;
    z-index: 1030;
    top: 0;
    min-height: 64px;
    background: var(--brand);
    color: var(--white);
    box-shadow: 0 2px 12px rgba(22, 49, 29, .14);
}
.scms-brand { color: var(--white); text-decoration: none; font-size: 16px; font-weight: 700; }
.scms-brand-mark {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.32);
    border-radius: 7px;
    color: #E2EFC5;
}
.scms-sidebar {
    position: fixed;
    z-index: 1020;
    top: 64px;
    bottom: 0;
    left: 0;
    width: var(--sidebar-width);
    overflow-y: auto;
    background: var(--brand);
    color: rgba(255,255,255,.85);
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.3) transparent;
}
.sidebar-kicker {
    padding: 23px 20px 10px;
    color: rgba(255,255,255,.52);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.scms-sidebar .nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 42px;
    padding: 9px 18px;
    border-left: 3px solid transparent;
    color: rgba(255,255,255,.82);
    font-size: 13px;
    text-decoration: none;
}
.scms-sidebar .nav-link i { width: 18px; color: #C8D9C4; font-size: 15px; text-align: center; }
.scms-sidebar .nav-link:hover, .scms-sidebar .nav-link.active {
    border-left-color: #D3DF83;
    background: var(--brand-deep);
    color: var(--white);
}
.scms-main { min-height: calc(100vh - 64px); margin-left: var(--sidebar-width); padding: 30px clamp(20px, 3vw, 44px) 48px; }
.eyebrow { margin-bottom: 5px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; }
.page-title { margin: 0; font-size: 24px; font-weight: 700; letter-spacing: 0; }
.page-subtitle { margin: 7px 0 0; color: var(--muted); }
.section-rule { height: 1px; margin: 21px 0 25px; border: 0; background: var(--line); }
.metric {
    height: 100%;
    padding: 19px 20px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--white);
}
.metric-label { color: var(--muted); font-size: 12px; font-weight: 600; }
.metric-value { margin: 11px 0 3px; color: var(--brand); font-size: 30px; font-weight: 700; line-height: 1; }
.metric-foot { color: var(--muted); font-size: 11px; }
.section-heading { margin: 0; font-size: 16px; font-weight: 700; }
.section-note { color: var(--muted); font-size: 12px; }
.panel { border: 1px solid var(--line); border-radius: 6px; background: var(--white); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 17px 19px; border-bottom: 1px solid var(--line); }
.panel-body { padding: 18px 19px; }
.module-count { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 5px; background: #EAF1E9; color: var(--brand); font-size: 12px; font-weight: 700; }
.module-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid #EDF1ED; }
.module-row:last-child { border-bottom: 0; }
.module-row-title { font-weight: 600; }
.module-row-copy { color: var(--muted); font-size: 12px; }
.dashboard-workspace-link { display: flex; height: 100%; align-items: flex-start; gap: 13px; padding: 18px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); text-decoration: none; transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.dashboard-workspace-link:hover, .dashboard-workspace-link:focus-visible { transform: translateY(-2px); border-color: #A9BDAA; box-shadow: 0 5px 16px rgba(27,60,35,.08); }
.dashboard-workspace-icon { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border-radius: 5px; background: #EAF1E9; color: var(--brand); font-size: 16px; }
.dashboard-workspace-title, .dashboard-workspace-copy { display: block; }
.dashboard-workspace-title { margin: 2px 0 5px; font-weight: 700; }
.dashboard-workspace-copy { color: var(--muted); font-size: 12px; line-height: 1.5; }
.dashboard-workspace-arrow { margin: 3px 0 0 auto; color: var(--brand-bright); }
.status-pill { padding: 4px 8px; border-radius: 20px; background: #F4F0E7; color: #795722; font-size: 10px; font-weight: 700; white-space: nowrap; }
.status-current { background: #E4F1E7; color: #205D31; }
.btn-brand { border-color: var(--brand); background: var(--brand); color: var(--white); }
.btn-brand:hover, .btn-brand:focus { border-color: var(--brand-deep); background: var(--brand-deep); color: var(--white); }
.btn-outline-brand { border-color: var(--brand); color: var(--brand); }
.btn-outline-brand:hover { background: var(--brand); color: var(--white); }
.table thead th, table.dataTable thead th { border-color: var(--brand) !important; background: var(--brand) !important; color: var(--white) !important; font-size: 12px; font-weight: 600; white-space: nowrap; }
.table tbody td { vertical-align: middle; }
.scms-footer { margin-top: 30px; color: var(--muted); font-size: 11px; }
.login-page { display: grid; min-height: 100vh; place-items: center; padding: 24px; background: linear-gradient(135deg, #E9F0E9 0%, #F8FAF7 58%, #E5ECE3 100%); }
.login-shell { width: min(100%, 440px); overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--white); box-shadow: 0 18px 50px rgba(27,60,35,.12); animation: arrive .45s ease-out both; }
.login-banner { padding: 27px 30px; background: var(--brand); color: var(--white); }
.login-form { padding: 27px 30px 30px; }
.login-mark { display: grid; width: 43px; height: 43px; margin-bottom: 19px; place-items: center; border: 1px solid rgba(255,255,255,.38); border-radius: 7px; color: #D7E8A6; font-size: 19px; }
.login-input { min-height: 44px; }
.login-foot { padding: 13px 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; text-align: center; }
.login-demo-note { padding: 10px 12px; border: 1px solid #D5E2D2; border-radius: 5px; background: #F2F7EF; color: #31513A; font-size: 11px; line-height: 1.6; overflow-wrap: anywhere; }
.login-demo-note span { color: #637268; }
.student-main { width: min(100% - 32px, 1060px); min-height: calc(100vh - 64px); margin: 0 auto; padding: 42px 0 60px; }
.student-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.student-facts > div { display: grid; min-height: 92px; align-content: center; gap: 7px; padding: 17px 20px; background: var(--white); }
.fact-label { color: var(--muted); font-size: 11px; font-weight: 600; }
.student-note { padding: 14px 16px; border-left: 3px solid var(--brand-bright); background: #EAF1E9; color: #405747; font-size: 13px; }
.password-panel { max-width: 620px; }
.academic-toolbar { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px; }
.academic-context { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; }
.academic-context .form-select { min-width: 210px; }
.academic-tabs { display: flex; gap: 4px; overflow-x: auto; padding: 4px; border: 1px solid var(--line); border-radius: 6px; background: #E9EEE9; }
.academic-tabs .nav-link { flex: 0 0 auto; border-radius: 4px; color: #536158; font-size: 12px; font-weight: 700; }
.academic-tabs .nav-link.active { background: var(--brand); color: var(--white); box-shadow: 0 2px 5px rgba(20,50,28,.14); }
.academic-workspace { animation: arrive .28s ease-out both; }
.academic-stat { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); }
.academic-stat-icon { display: grid; width: 36px; height: 36px; flex: 0 0 auto; place-items: center; border-radius: 5px; background: #E9F0E9; color: var(--brand); font-size: 16px; }
.academic-stat-value { color: var(--ink); font-size: 20px; font-weight: 800; line-height: 1.1; }
.academic-stat-label { margin-top: 3px; color: var(--muted); font-size: 11px; }
.academic-form { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 13px; align-items: end; }
.academic-form .field { grid-column: span 3; min-width: 0; }
.academic-form .field-wide { grid-column: span 4; }
.academic-form .field-action { grid-column: span 2; }
.academic-form .form-label { margin-bottom: 5px; color: #4C5B50; font-size: 11px; font-weight: 700; }
.academic-form .form-control, .academic-form .form-select { min-height: 39px; font-size: 13px; }
.academic-empty { padding: 38px 20px; color: var(--muted); text-align: center; }
.academic-empty i { display: block; margin-bottom: 9px; color: #8A9B8E; font-size: 22px; }
.academic-table { min-width: 680px; }
.academic-table tbody td { font-size: 12px; }
.syllabus-unit { padding: 15px 0; border-bottom: 1px solid var(--line); }
.syllabus-unit:last-child { border-bottom: 0; }
.mono { font-family: "IBM Plex Mono", monospace; font-size: 11px; }
.public-application { --application-width: 900px; min-height: 100vh; background: #F4F7F3; }
.application-topbar { min-height: 66px; padding: 0 clamp(18px, 5vw, 72px); border-bottom: 1px solid #DCE5DC; background: #FFFFFF; }
.application-brand { display: flex; align-items: center; gap: 11px; color: var(--brand); font-weight: 800; text-decoration: none; }
.application-content { width: min(calc(100% - 36px), var(--application-width)); margin: 0 auto; padding: 42px 0 64px; }
.application-heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.application-heading h1 { margin: 0; font-size: clamp(24px, 4vw, 32px); font-weight: 800; }
.application-form { padding-top: 24px; }
.application-section { padding: 22px 0; border-bottom: 1px solid var(--line); }
.application-section-title { display: flex; align-items: baseline; gap: 10px; margin-bottom: 18px; }
.application-section-title span { color: var(--brand-bright); font-family: "IBM Plex Mono", monospace; font-size: 11px; }
.application-section-title h2 { margin: 0; font-size: 15px; font-weight: 800; }
.application-section .form-label { color: #4C5B50; font-size: 12px; font-weight: 700; }
.application-section .form-control, .application-section .form-select { min-height: 44px; border-color: #CBD7CC; }
.application-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-top: 22px; }
.application-foot { padding: 18px; color: var(--muted); font-size: 11px; text-align: center; }
.application-success { max-width: 600px; margin: 48px auto; padding: 28px; border: 1px solid var(--line); border-radius: 6px; background: #FFFFFF; }
.application-success-mark { display: grid; width: 42px; height: 42px; margin-bottom: 16px; place-items: center; border-radius: 50%; background: #E5F2E7; color: #206235; font-size: 19px; }
.public-directory { min-height: 100vh; background: #F4F7F3; }
.directory-main { width: min(calc(100% - 36px), 1080px); margin: 0 auto; padding: 52px 0 68px; }
.directory-intro { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.directory-intro h1 { margin: 0; font-size: clamp(25px, 4vw, 34px); font-weight: 800; }
.directory-search { width: min(100%, 300px); }
.campus-list { margin-top: 22px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); }
.campus-list-head, .campus-row { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(130px, .8fr) minmax(130px, 1fr) auto; align-items: center; gap: 16px; padding: 14px 18px; }
.campus-list-head { border-bottom: 1px solid var(--line); background: #F7F9F6; color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.campus-row { min-height: 70px; border-bottom: 1px solid #EDF1ED; }
.campus-row:last-child { border-bottom: 0; }
.campus-name { font-weight: 800; }
.campus-meta { margin-top: 3px; color: var(--muted); font-size: 11px; }
.directory-footer { padding: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
@keyframes arrive { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 767.98px) {
    .scms-sidebar { position: static; width: 100%; max-height: 55vh; }
    .scms-sidebar.collapse:not(.show) { display: none; }
    .scms-main { margin-left: 0; padding: 23px 16px 38px; }
    .student-main { padding-top: 28px; }
    .student-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .scms-topbar .user-name { display: none; }
    .academic-form .field, .academic-form .field-wide { grid-column: span 6; }
    .academic-form .field-action { grid-column: span 6; }
    .application-content { padding-top: 28px; }
    .directory-main { padding-top: 30px; }
    .campus-list-head { display: none; }
    .campus-row { grid-template-columns: minmax(0, 1fr) auto; gap: 7px 12px; }
    .campus-row .campus-province, .campus-row .campus-board { grid-column: 1; }
    .campus-row .campus-apply { grid-column: 2; grid-row: 1 / span 3; }
}
@media (max-width: 479.98px) {
    .academic-form .field, .academic-form .field-wide, .academic-form .field-action { grid-column: span 12; }
}

/* Phones: page headers wrap their buttons instead of pushing the page sideways */
@media (max-width: 767.98px) {
    .scms-main .academic-toolbar > .d-flex,
    .scms-main > .d-flex.flex-wrap > .d-flex { flex-wrap: wrap; }
    .scms-main .academic-toolbar .badge { white-space: normal; text-align: left; }
    .scms-main .academic-toolbar .form-select { min-width: 0 !important; flex: 1 1 200px; }
    .scms-main .page-title { font-size: 1.45rem !important; }
}
/* Reference numbers (application no., admission no.) stay on one line inside tables */
.scms-main .table .mono { white-space: nowrap; }

/* ---------- Shared page kit: Configuration & Finance pages ---------- */
.pg-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 14px; margin-bottom: 18px; }
.pg-crumb { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; color: var(--muted); font-size: 12px; font-weight: 700; }
.pg-crumb .n { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: #E4EEDF; color: var(--brand); font-size: 11px; font-weight: 800; }
.pg-crumb a { color: inherit; text-decoration: none; }
.pg-crumb a:hover { color: var(--brand); }
.pg-head h1 { margin: 0 0 4px; font-size: 1.65rem; font-weight: 800; letter-spacing: -0.02em; }
.pg-head p { max-width: 72ch; margin: 0; color: var(--muted); }
.pg-head .pg-head-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pg-card { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.pg-card + .pg-card { margin-top: 16px; }
.pg-card > .hd { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.pg-card > .hd h2 { margin: 0; font-size: 1rem; font-weight: 800; }
.pg-card > .hd .hint { color: var(--muted); font-size: 12.5px; }
.pg-card > .bd { padding: 18px; }
.pg-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 18px; border-bottom: 1px solid var(--line); background: #FAFCF9; }
.pg-toolbar .form-select, .pg-toolbar .input-group { width: auto; min-width: 180px; flex: 0 1 240px; }
.pg-table { min-width: 640px; margin: 0; }
.pg-table td { border-color: #EEF2EC; font-size: 13px; }
.pg-table .sub { color: var(--muted); font-size: 12px; }
.pg-table tr.is-off td { color: #8A948D; }
.pg-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 16px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.pg-tabs a, .pg-tabs button { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font-size: 13px; font-weight: 700; text-decoration: none; }
.pg-tabs a:hover, .pg-tabs button:hover { background: #F1F5F0; color: var(--ink); }
.pg-tabs .active, .pg-tabs .active:hover { background: var(--brand); color: var(--white); }
.pg-tabs .count { padding: 0 7px; border-radius: 20px; background: rgba(0,0,0,.07); font-size: 11px; }
.pg-tabs .active .count { background: rgba(255,255,255,.22); }
.pg-pill { display: inline-block; padding: 3px 9px; border-radius: 20px; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.pg-pill.on { background: #E2F1E5; color: #1D6B33; }
.pg-pill.off { background: #EEF1EE; color: #66706A; }
.pg-pill.warn { background: #FFF2D6; color: #8A5A00; }
.pg-pill.bad { background: #FBE7E7; color: #A33030; }
.pg-pill.info { background: #E6EEF9; color: #2A4F86; }
.pg-actions { display: flex; flex-wrap: nowrap; justify-content: flex-end; gap: 6px; }
.pg-actions .btn { --bs-btn-padding-y: .25rem; --bs-btn-padding-x: .6rem; --bs-btn-font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.pg-empty { padding: 42px 16px; color: var(--muted); text-align: center; }
.pg-empty i { display: block; margin-bottom: 8px; color: #9AB0A0; font-size: 1.9rem; }
.pg-foot { padding: 10px 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.pg-money { font-family: "IBM Plex Mono", Consolas, monospace; font-weight: 600; white-space: nowrap; }
.pg-modal-head { background: var(--brand); color: var(--white); }
.pg-note { padding: 12px 14px; border: 1px solid #D7E3D9; border-radius: 10px; background: #F3F7F2; color: #31513A; font-size: 12.5px; }
@media (max-width: 767.98px) {
    .pg-head h1 { font-size: 1.4rem; }
    .pg-toolbar .form-select, .pg-toolbar .input-group { flex: 1 1 100%; min-width: 0; }
    .pg-card > .bd { padding: 14px; }
}

/* ===== Custom overrides — 2026-10-31 ===== */

/* 1. Sidebar: hide the step numbers on menu icons */
.sb-num > b { display: none !important; }

/* 2. Dashboard section cards */
.dashboard-workspace-link {
    box-shadow: 10px 10px 5px #A9A4A4 !important;
    border: 2px solid #2c5a39 !important;
}

/* 3. Premium green footer (admin) */
.scms-main > .scms-brand-footer {
    position: relative;
    margin: 2.5rem 0 0;
    padding: 20px 24px !important;
    background: linear-gradient(135deg, #153B20 0%, #1D4E2A 55%, #2E7040 100%);
    color: rgba(255, 255, 255, 0.88) !important;
    font-size: 13px !important;
    font-weight: 500;
    letter-spacing: 0.2px;
    border-top: 3px solid #C9A646;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -6px 20px rgba(21, 59, 32, 0.18);
}
.scms-main > .scms-brand-footer span {
    display: inline-block;
    margin-left: 6px;
    padding: 3px 12px;
    border: 1px solid rgba(201, 166, 70, 0.6);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #E9D59A;
    font-weight: 600;
}

/* 4. Admission session popup */
.scms-cycle-modal { border: 0; border-radius: 16px; box-shadow: 0 20px 50px rgba(21, 59, 32, 0.25); }
.scms-cycle-modal .adm-card { box-shadow: none; }

/* Footer sits flush at the bottom — no white space below it */
.scms-main:has(> .scms-brand-footer) {
    display: flex;
    flex-direction: column;
    padding-bottom: 0 !important;
}
.scms-main:has(> .scms-brand-footer) > * { flex-shrink: 0; }
.scms-main > .scms-brand-footer { margin-top: auto !important; margin-bottom: 0 !important; }
.scms-main:has(> .scms-brand-footer)::after { content: none; }

/* Tables fit the full card width — no horizontal scroll bar (tablet and desktop) */
@media (min-width: 768px) {
    .table-responsive > .table,
    .table-responsive > table {
        width: 100% !important;
        min-width: 0 !important;
        table-layout: auto;
    }
    .table-responsive > .table th { white-space: normal !important; }
    .table-responsive > .table td { overflow-wrap: break-word; }
}

/* Content uses the full width — slim side gutters instead of wide white space */
@media (min-width: 768px) {
    .scms-main {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    /* footer runs edge to edge */
    .scms-main > .scms-brand-footer {
        margin-left: -12px !important;
        margin-right: -12px !important;
        border-radius: 0 !important;
    }
}

/* ===== Premium cards & grids (all admin pages) ===== */
.scms-main :is(.adm-card, .pg-card, .br-card, .ec-card:not(.ec-stat), .panel, .sec-card, .pa-card, .rn-hero, .ec-provider, .msg-provider, .rp-role) {
    position: relative;
    border: 1.5px solid #2c5a39 !important;
    border-radius: 14px !important;
    background: #fff;
    box-shadow: 6px 6px 0 rgba(44, 90, 57, 0.14), 0 10px 24px -10px rgba(21, 59, 32, 0.22) !important;
    transition: box-shadow .2s ease, transform .2s ease;
}
.scms-main :is(.adm-card, .pg-card, .br-card, .ec-card:not(.ec-stat), .panel, .sec-card, .pa-card, .rn-hero, .ec-provider, .msg-provider, .rp-role):hover {
    box-shadow: 8px 8px 0 rgba(44, 90, 57, 0.18), 0 14px 30px -10px rgba(21, 59, 32, 0.28) !important;
}
/* card headers get a soft green tint and a gold underline */
.scms-main .adm-card > .hd,
.scms-main .pg-card > .hd,
.scms-main .pg-card > .card-header,
.scms-main .panel > .hd {
    background: linear-gradient(180deg, #F4F8F3 0%, #ffffff 100%);
    border-bottom: 2px solid #C9A646 !important;
}

/* Stat strips & small tiles */
.scms-main :is(.hol-stats, .pa-stats, .fd-stats, .pipeline, .academic-stat, .md-tile, .ec-stat) {
    border: 1.5px solid #2c5a39 !important;
    border-radius: 14px !important;
    box-shadow: 5px 5px 0 rgba(44, 90, 57, 0.14) !important;
    background: linear-gradient(180deg, #ffffff 0%, #F6FAF5 100%) !important;
}
.scms-main :is(.md-tile, .academic-stat, .ec-stat) { transition: transform .2s ease, box-shadow .2s ease; }
.scms-main :is(.md-tile, .academic-stat, .ec-stat):hover {
    transform: translateY(-2px);
    box-shadow: 7px 7px 0 rgba(44, 90, 57, 0.2) !important;
}

/* Table header rows inside premium cards: subtle gold line under the green bar */
.scms-main :is(.adm-card, .pg-card, .panel) table thead tr { box-shadow: inset 0 -2px 0 #C9A646; }


/* =====================================================================
   PREMIUM GREEN & GOLD — added 2026-10-31
   Backup of the previous file: dastyle-custom.bak-20261031-premium.css
   ===================================================================== */
:root {
    --gold: #C9A23A;
    --gold-soft: #F6EDD3;
    --premium-shadow: 6px 6px 0 rgba(29, 78, 42, .14);
    --premium-shadow-hover: 8px 8px 0 rgba(29, 78, 42, .20);
}

/* ---------- Admin dashboard counters ---------- */
[aria-label="System counts"] .card {
    position: relative;
    overflow: hidden;
    border: 1.5px solid var(--brand) !important;
    border-radius: 14px !important;
    padding: 20px 18px 16px !important;
    background: linear-gradient(180deg, #FFFFFF 0%, #F7FBF7 100%) !important;
    box-shadow: var(--premium-shadow) !important;
    transition: transform .18s ease, box-shadow .18s ease;
}
[aria-label="System counts"] .card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, var(--gold), #E4C46A, var(--gold));
}
[aria-label="System counts"] .card:hover {
    transform: translate(-2px, -2px);
    box-shadow: var(--premium-shadow-hover) !important;
}
[aria-label="System counts"] .metric-label {
    color: var(--brand) !important;
    letter-spacing: .08em;
    font-size: 11.5px !important;
    font-weight: 700 !important;
}
[aria-label="System counts"] .metric-value {
    color: var(--brand) !important;
    font-size: 2.1rem !important;
    font-weight: 800 !important;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

/* ---------- Student portal ---------- */
.student-main { background: var(--canvas); }
.scms-topbar { border-bottom: 3px solid var(--gold); }

.student-welcome {
    position: relative;
    overflow: hidden;
    padding: 22px 24px;
    border: 1.5px solid var(--brand);
    border-radius: 16px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F2F8F3 60%, var(--gold-soft) 100%);
    box-shadow: var(--premium-shadow);
}
.student-welcome::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, var(--gold), #E4C46A, var(--gold));
}
.student-welcome .eyebrow { color: var(--gold) !important; font-weight: 700; letter-spacing: .1em; }
.student-welcome .page-title { color: var(--brand) !important; font-weight: 800; }

.student-main .panel {
    position: relative;
    overflow: hidden;
    border: 1.5px solid var(--brand) !important;
    border-radius: 14px !important;
    background: #FFFFFF;
    box-shadow: var(--premium-shadow) !important;
    transition: transform .18s ease, box-shadow .18s ease;
}
.student-main .panel::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), #E4C46A, var(--gold));
    z-index: 1;
}
.student-main .panel:hover {
    transform: translate(-2px, -2px);
    box-shadow: var(--premium-shadow-hover) !important;
}
.student-main .panel-head {
    padding-top: 18px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, #F7FBF7 0%, #FFFFFF 100%);
}
.student-main .panel-head h2,
.student-main .panel-head h3,
.student-main .section-heading { color: var(--brand) !important; font-weight: 800; }
.student-main .panel-head .bi { color: var(--gold); }
.student-main .panel-head .eyebrow { color: var(--gold) !important; }

.student-main .status-pill {
    border: 1px solid var(--gold);
    background: var(--gold-soft) !important;
    color: #7A5A12 !important;
    font-weight: 700;
}

.student-main .student-facts > div {
    border: 1px solid var(--line);
    border-left: 4px solid var(--gold);
    border-radius: 10px;
    background: #FBFDFB;
}
.student-main .fact-label { color: var(--brand) !important; font-weight: 700; letter-spacing: .05em; }

.student-main .sp-date { color: var(--signal) !important; }
.student-main .sp-week th { color: var(--brand) !important; font-weight: 700; }
.student-main .sp-week .today { background: var(--gold-soft) !important; box-shadow: inset 0 3px 0 var(--gold); }
.student-main .sp-pill.ok { background: #E2F1E5 !important; color: var(--brand) !important; border: 1px solid #B9DCC1; }
.student-main .sp-pill.bad { border: 1px solid #F0C4C4; }

.student-main .btn-brand,
.student-main .btn-primary {
    background: var(--brand) !important;
    border-color: var(--brand) !important;
    box-shadow: 3px 3px 0 var(--gold);
    font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
    [aria-label="System counts"] .card, .student-main .panel { transition: none; }
    [aria-label="System counts"] .card:hover, .student-main .panel:hover { transform: none; }
}

.btn-gold { background: linear-gradient(135deg, #C9A23A, #E4C46A); border: 0; color: #1D2A14 !important; font-weight: 800; box-shadow: 3px 3px 0 rgba(0, 0, 0, .25); }
.btn-gold:hover, .btn-gold:focus { filter: brightness(1.06); color: #1D2A14; }

/* ===== Student portal: premium layout and motion (2026-11-05) ===== */
@keyframes scmsRise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes scmsShimmer { 0% { background-position: 0% 0; } 100% { background-position: 200% 0; } }
@keyframes scmsPop { 0% { transform: scale(.6); opacity: 0; } 70% { transform: scale(1.06); } 100% { transform: scale(1); opacity: 1; } }
.student-main > section, .student-main > div, .student-main > nav, .student-main .sp-grid > section, .student-main .sp-grid > div > section, .student-main .lms-grid > *, .student-main .lms-stats > * { animation: scmsRise .6s cubic-bezier(.2, .7, .2, 1) both; }
.student-main > :nth-child(2) { animation-delay: .05s; } .student-main > :nth-child(3) { animation-delay: .1s; } .student-main > :nth-child(4) { animation-delay: .15s; }
.student-main > :nth-child(5) { animation-delay: .2s; } .student-main > :nth-child(6) { animation-delay: .25s; } .student-main > :nth-child(n+7) { animation-delay: .3s; }
.student-main .lms-grid > :nth-child(2), .student-main .lms-stats > :nth-child(2) { animation-delay: .08s; } .student-main .lms-grid > :nth-child(3), .student-main .lms-stats > :nth-child(3) { animation-delay: .16s; } .student-main .lms-grid > :nth-child(n+4), .student-main .lms-stats > :nth-child(n+4) { animation-delay: .24s; }
.student-welcome::before, .student-main .panel::before, .lms-hero::before, .lms-cover::before, .lms-stat::before, .lms-panel::before { background-size: 200% 100% !important; background-image: linear-gradient(90deg, #C9A23A, #F3DD95, #C9A23A, #F3DD95, #C9A23A) !important; animation: scmsShimmer 5s linear infinite; }

.student-welcome.sw-flex { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 22px; }
.sw-avatar { flex: none; width: 74px; height: 74px; border-radius: 22px; display: grid; place-items: center; background: linear-gradient(135deg, #1D4E2A, #0F2A17); color: #E4C46A; font-size: 26px; font-weight: 800; letter-spacing: 1px; box-shadow: 4px 4px 0 #C9A23A; animation: scmsPop .7s .1s cubic-bezier(.2, .7, .2, 1) both; }
.sw-main { flex: 1; min-width: 220px; }
.sw-main .page-title { margin: 2px 0 8px; }
.sw-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sw-chips span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 20px; background: #fff; border: 1px solid #D6E2D7; color: #1D4E2A; font-size: 12.5px; font-weight: 700; }
.sw-chips i { color: #C9A23A; }
.sw-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.student-main .student-facts > div { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.student-main .student-facts > div:hover { transform: translateY(-3px); box-shadow: 5px 5px 0 rgba(29, 78, 42, .14); }
.student-main .student-facts strong { display: block; margin-top: 2px; font-size: 15px; color: #1F2A22; }
.student-main .sp-list li { transition: background .2s ease, padding-left .2s ease; }
.student-main .sp-list li:hover { background: #F7FBF7; padding-left: 24px; }
.student-main .sp-res summary { align-items: center; transition: background .2s ease; }
.student-main .sp-res summary:hover { background: #F7FBF7; }
.student-main .sp-res[open] summary { background: linear-gradient(90deg, #F6EDD3, #fff); }
.sp-dl { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 10px; background: linear-gradient(135deg, #C9A23A, #E4C46A); color: #1D2A14 !important; font-size: 12.5px; font-weight: 800; text-decoration: none; box-shadow: 3px 3px 0 #1D4E2A; transition: transform .15s ease, box-shadow .15s ease; }
.sp-dl:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 #1D4E2A; }
.student-main .btn { transition: transform .15s ease, box-shadow .15s ease, filter .15s ease; }
.student-main .btn:hover { transform: translateY(-1px); }
@media (max-width: 575.98px) { .sw-actions { width: 100%; } .sw-actions .btn { flex: 1; } .sw-avatar { width: 60px; height: 60px; font-size: 21px; } }
@media (prefers-reduced-motion: reduce) { .student-main *, .student-main *::before { animation: none !important; transition: none !important; } }
.sw-photo { position: relative; flex: none; }
.sw-avatar { overflow: hidden; }
.sw-avatar.has-photo { background: #fff; padding: 3px; }
.sw-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 19px; display: block; }
.sw-avatar svg { width: 70%; height: 70%; margin-top: 14%; }
.sw-avatar.saving { opacity: .5; }
.sw-cam { position: absolute; right: -8px; bottom: -8px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: linear-gradient(135deg, #C9A23A, #E4C46A); color: #1D2A14; border: 3px solid #fff; box-shadow: 0 3px 10px rgba(0, 0, 0, .18); transition: transform .15s ease; }
.sw-cam:hover { transform: scale(1.1); }
.sw-cam:focus-within { outline: 2px solid #1D4E2A; outline-offset: 2px; }
/* ===== Student timetable (premium) ===== */
.tt-badge { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 20px; background: #F6EDD3; border: 1px solid #C9A23A; color: #7A5A12; font-size: 12px; font-weight: 800; }
.tt-today { display: flex; gap: 10px; overflow-x: auto; padding: 14px 18px 4px; scrollbar-width: thin; }
.tt-chip { flex: 0 0 auto; min-width: 150px; padding: 10px 14px; border-radius: 14px; background: #fff; border: 1.5px solid color-mix(in srgb, var(--tt) 35%, #fff); border-left: 5px solid var(--tt); box-shadow: 3px 3px 0 color-mix(in srgb, var(--tt) 18%, transparent); transition: transform .2s ease; }
.tt-chip:hover { transform: translateY(-2px); }
.tt-chip small { display: block; color: #68756C; font-size: 11px; font-weight: 700; }
.tt-chip b { display: block; color: var(--tt); font-size: 14px; line-height: 1.25; margin: 2px 0; }
.tt-chip span { font-size: 11px; color: #68756C; font-weight: 600; }
.tt-chip.done { opacity: .55; }
.tt-chip.now { background: linear-gradient(135deg, #F6EDD3, #fff); border-color: #C9A23A; box-shadow: 4px 4px 0 #C9A23A; }
.tt-chip.now span { color: #A33030; font-weight: 800; }
.tt-scroll { overflow-x: auto; padding: 14px 18px 18px; }
.tt-grid { display: grid; grid-template-columns: 112px repeat(var(--days), minmax(128px, 1fr)); gap: 8px; min-width: 860px; }
.tt-head { padding: 10px 8px; border-radius: 12px; background: #1D4E2A; color: #fff; font-weight: 800; font-size: 13px; text-align: center; letter-spacing: .04em; }
.tt-head small { display: block; color: #E4C46A; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.tt-head.today { background: linear-gradient(135deg, #C9A23A, #E4C46A); color: #1D2A14; box-shadow: 0 4px 0 #1D4E2A; }
.tt-head.today small { color: #1D4E2A; }
.tt-corner { background: transparent; color: #1D4E2A; border: 1.5px dashed #C9D8CC; }
.tt-time { padding: 10px; border-radius: 12px; background: #F7FBF7; border: 1px solid #DDE5DE; display: flex; flex-direction: column; justify-content: center; }
.tt-time b { color: #1D4E2A; font-size: 13px; }
.tt-time small { color: #68756C; font-size: 11px; line-height: 1.35; }
.tt-cell { position: relative; padding: 10px 11px; border-radius: 12px; background: color-mix(in srgb, var(--tt) 7%, #fff); border: 1px solid color-mix(in srgb, var(--tt) 22%, #fff); border-left: 4px solid var(--tt); display: flex; flex-direction: column; gap: 2px; transition: transform .18s ease, box-shadow .18s ease; min-height: 74px; }
.tt-cell:hover { transform: translateY(-2px); box-shadow: 3px 3px 0 color-mix(in srgb, var(--tt) 25%, transparent); }
.tt-cell b { color: var(--tt); font-size: 13px; line-height: 1.25; }
.tt-cell small { color: #5E6B62; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tt-cell small i { color: #C9A23A; }
.tt-cell.today { outline: 2px solid #C9A23A; outline-offset: 1px; }
.tt-cell.free { background: repeating-linear-gradient(135deg, #FAFCFA, #FAFCFA 8px, #F2F6F2 8px, #F2F6F2 16px); border: 1px dashed #C9D8CC; align-items: center; justify-content: center; }
.tt-cell.free span { color: #9AA89E; font-size: 12px; font-weight: 700; }
.tt-break { grid-column: 1 / -1; padding: 8px 14px; border-radius: 12px; text-align: center; font-size: 12.5px; font-weight: 800; color: #7A5A12; letter-spacing: .05em; background: linear-gradient(90deg, #F6EDD3, #FFF9EA, #F6EDD3); border: 1px dashed #C9A23A; }
@media (prefers-reduced-motion: reduce) { .tt-cell, .tt-chip { transition: none; } }
/* ===== Document viewer (result card / fee voucher) ===== */
.sp-actions { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.sp-view { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 10px; border: 1.5px solid #1D4E2A; background: #fff; color: #1D4E2A; font-size: 12.5px; font-weight: 800; transition: transform .15s ease, background .15s ease; }
.sp-view:hover { background: #EEF5EF; transform: translateY(-1px); }
.doc-viewer { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 18px; background: rgba(10, 26, 15, .62); backdrop-filter: blur(3px); animation: scmsFade .2s ease both; }
.doc-viewer[hidden] { display: none; }
.doc-box { width: min(1120px, 100%); height: min(88vh, 900px); display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; background: #fff; border-top: 5px solid #C9A23A; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); animation: scmsRise .3s cubic-bezier(.2, .7, .2, 1) both; }
.doc-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid #DDE5DE; background: linear-gradient(180deg, #F7FBF7, #fff); }
.doc-head b { color: #1D4E2A; font-size: 15px; }
.doc-close { width: 36px; height: 36px; border-radius: 10px; border: 1px solid #DDE5DE; background: #fff; color: #1D4E2A; }
.doc-close:hover { background: #FBE7E7; color: #A33030; }
.doc-box iframe { flex: 1; width: 100%; border: 0; background: #EEF2ED; }
@keyframes scmsFade { from { opacity: 0; } to { opacity: 1; } }

/* ═══ LEAVE APPROVALS — premium ═══ */
.lv-stats{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(160px,1fr))!important;gap:14px!important;margin-bottom:20px!important}
.lv-stat{background:#fff!important;border:1px solid var(--brand,#2c5a39)!important;border-radius:14px!important;padding:18px 20px!important;box-shadow:rgba(44,90,57,.10) 4px 4px 0 0,rgba(21,59,32,.15) 0 8px 20px -10px!important;transition:transform .18s ease,box-shadow .18s ease!important}
.lv-stat:hover{transform:translateY(-2px)!important;box-shadow:rgba(44,90,57,.14) 6px 6px 0 0,rgba(21,59,32,.22) 0 12px 28px -8px!important}
.lv-stat .t{font-size:.72rem!important;font-weight:700!important;letter-spacing:.06em!important;text-transform:uppercase!important;color:var(--brand,#2c5a39)!important;opacity:.7;margin-bottom:4px!important}
.lv-stat .n{font-size:1.75rem!important;font-weight:800!important;color:var(--brand,#2c5a39)!important;line-height:1!important}
.lv-stat.text-warning .n,.lv-stat .n.text-warning{color:#e9a820!important}
.lv-bar{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:8px!important;margin-bottom:18px!important;padding:10px 0!important}
.lv-lab{font-size:.68rem!important;font-weight:700!important;letter-spacing:.08em!important;text-transform:uppercase!important;color:#8c9f8f!important;margin-right:4px!important}
.lv-tabs{display:inline-flex!important;gap:4px!important;background:#f1f5f2!important;border-radius:10px!important;padding:3px!important;border-bottom:none!important}
.lv-tabs a{display:inline-flex!important;align-items:center!important;padding:6px 16px!important;font-size:.82rem!important;font-weight:600!important;color:#4a6a50!important;text-decoration:none!important;border-radius:8px!important;transition:all .15s ease!important;border-bottom:none!important}
.lv-tabs a:hover{background:#e0ebe3!important;color:var(--brand,#2c5a39)!important}
.lv-tabs a.on{background:var(--brand,#2c5a39)!important;color:#fff!important;box-shadow:0 2px 6px rgba(44,90,57,.25)!important;border-bottom-color:transparent!important}
.lv-grid{width:100%!important;border-collapse:separate!important;border-spacing:0!important}
.lv-grid thead th{font-size:.7rem!important;font-weight:700!important;letter-spacing:.07em!important;text-transform:uppercase!important;color:#6b8a6f!important;padding:10px 14px!important;border-bottom:2px solid #d6e2d8!important;background:#f7faf8!important;white-space:nowrap!important}
.lv-grid tbody td{padding:12px 14px!important;font-size:.88rem!important;color:#2d3c2f!important;border-bottom:1px solid #eef3ef!important;vertical-align:middle!important}
.lv-grid tbody tr:hover td{background:#f5faf6!important}
.lv-grid .lv-empty td{padding:48px 14px!important;text-align:center!important;color:#9cb3a0!important;font-style:italic!important}

/* âââ TEACHERâSUBJECT OVERVIEW GRID (v2 â Inline) âââ */

/* Grid panel */
#ts-grid-panel{border:1px solid #e2ebe3!important;border-radius:14px!important;overflow:hidden!important;box-shadow:0 2px 16px rgba(44,90,57,.07)!important;background:#fff!important}

/* Table base */
.ts-overview-grid{width:100%!important;border-collapse:separate!important;border-spacing:0!important}
.ts-overview-grid thead th{font-size:.7rem!important;font-weight:700!important;letter-spacing:.07em!important;text-transform:uppercase!important;color:#6b7f6e!important;padding:14px 16px!important;background:linear-gradient(135deg,#f8faf8 0%,#f0f5f1 100%)!important;border-bottom:2px solid #e2ebe3!important}
.ts-overview-grid thead th:first-child{border-radius:0!important}
.ts-overview-grid thead th:last-child{border-radius:0!important}
.ts-overview-grid tbody td{padding:14px 16px!important;font-size:.88rem!important;color:#2d3c2f!important;border-bottom:1px solid #eef3ef!important;vertical-align:middle!important}
.ts-overview-grid tbody tr.ts-teacher-row:hover td{background:#f5faf6!important}
.ts-overview-grid tbody tr:last-child td{border-bottom:none!important}
.ts-grid-name{color:#1a2e1f!important;font-size:.92rem!important}

/* ââ Subject pills (assigned) ââ */
.ts-pills-cell{display:flex!important;flex-wrap:wrap!important;gap:6px!important;align-items:center!important}
.ts-pill{display:inline-flex!important;align-items:center!important;gap:4px!important;padding:4px 10px 4px 12px!important;border-radius:20px!important;font-size:.76rem!important;font-weight:600!important;letter-spacing:.01em!important;transition:all .2s ease!important;cursor:default!important}
.ts-pill.assigned{background:#e8f5e9!important;color:#2e7d32!important;border:1px solid #c8e6c9!important}
.ts-pill.assigned:hover{background:#c8e6c9!important;border-color:#a5d6a7!important}
.ts-pill.removing{opacity:.5!important;transform:scale(.9)!important}

/* Pill remove X button */
.ts-pill-x{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:18px!important;height:18px!important;border-radius:50%!important;border:none!important;background:rgba(46,125,50,.12)!important;color:#2e7d32!important;font-size:.85rem!important;line-height:1!important;cursor:pointer!important;padding:0!important;margin-left:2px!important;transition:all .15s!important}
.ts-pill-x:hover{background:#c62828!important;color:#fff!important}

/* No subjects placeholder */
.ts-no-subjects{font-size:.8rem!important;color:#9e9e9e!important;font-style:italic!important}

/* ââ Toggle button ââ */
.ts-toggle-btn{display:inline-flex!important;align-items:center!important;gap:5px!important;padding:6px 14px!important;border-radius:8px!important;border:1.5px solid var(--brand,#2c5a39)!important;background:transparent!important;color:var(--brand,#2c5a39)!important;font-weight:600!important;font-size:.8rem!important;cursor:pointer!important;transition:all .15s ease!important;letter-spacing:.01em!important;white-space:nowrap!important}
.ts-toggle-btn:hover{background:var(--brand,#2c5a39)!important;color:#fff!important}
.ts-toggle-btn.active{background:var(--brand,#2c5a39)!important;color:#fff!important}
.ts-toggle-icon{font-size:.7rem!important;transition:transform .15s!important}

/* ââ Expandable detail row ââ */
.ts-expand-row td{padding:0!important;background:#fafcfa!important;border-bottom:2px solid #e2ebe3!important}
.ts-expand-inner{padding:20px 24px!important;border-left:3px solid var(--brand,#2c5a39)!important;margin:0!important}

/* Loading state */
.ts-expand-loading{display:flex!important;align-items:center!important;gap:10px!important;padding:16px 0!important;color:#6b7f6e!important;font-size:.85rem!important}
.ts-spinner{width:20px!important;height:20px!important;border:2.5px solid #e2ebe3!important;border-top-color:var(--brand,#2c5a39)!important;border-radius:50%!important;animation:ts-spin .6s linear infinite!important}
@keyframes ts-spin{to{transform:rotate(360deg)}}

/* Section labels */
.ts-section{margin-bottom:12px!important}
.ts-section:last-child{margin-bottom:0!important}
.ts-section-label{font-size:.75rem!important;font-weight:700!important;text-transform:uppercase!important;letter-spacing:.06em!important;color:#1a2e1f!important;margin-bottom:10px!important}
.ts-hint{font-weight:400!important;text-transform:none!important;letter-spacing:0!important;color:#9e9e9e!important;font-size:.74rem!important}

/* ââ Available subject chips ââ */
.ts-available-list{display:flex!important;flex-wrap:wrap!important;gap:8px!important}
.ts-avail-chip{display:inline-flex!important;align-items:center!important;gap:4px!important;padding:6px 14px!important;border-radius:20px!important;border:1.5px dashed #bdbdbd!important;background:#fff!important;color:#424242!important;font-size:.78rem!important;font-weight:500!important;cursor:pointer!important;transition:all .18s ease!important}
.ts-avail-chip:hover{border-color:var(--brand,#2c5a39)!important;background:#e8f5e9!important;color:#2e7d32!important;border-style:solid!important}
.ts-avail-chip.assigning{opacity:.5!important;pointer-events:none!important}
.ts-chip-plus{font-weight:700!important;font-size:.9rem!important;color:var(--brand,#2c5a39)!important}

/* Error state */
.ts-error{padding:16px!important;color:#c62828!important;font-size:.85rem!important;font-weight:500!important}