/* Staff portal (CRM) */
.side{position:sticky;top:0;align-self:flex-start;min-height:100vh;max-height:100vh;overflow-y:auto}
.me{display:inline-flex;align-items:center;gap:8px}
.av{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:var(--soft);color:var(--navy);font-size:12px;font-weight:800;flex:none}
.av.lg{width:64px;height:64px;font-size:22px}
img.av{object-fit:cover}

/* stat cards with a coloured line, like the old dashboard */
.kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin-bottom:20px}
.kpi{position:relative;background:#fff;border-radius:18px;padding:18px 20px;display:flex;align-items:center;gap:16px;box-shadow:0 4px 14px rgba(11,20,112,.05);overflow:hidden}
.kpi::after{content:"";position:absolute;left:0;right:0;bottom:0;height:4px;background:var(--c,#2E4BE0)}
.kpi .ic{width:52px;height:52px;border-radius:14px;display:flex;align-items:center;justify-content:center;background:var(--c,#2E4BE0);flex:none}
.kpi b{display:block;font-size:30px;font-weight:800;color:var(--navy);line-height:1.1}
.kpi span{font-size:13px;font-weight:700;color:var(--muted)}
.kpi small{display:block;font-size:12px;color:#8A8FAD;font-weight:600}

.grid2{display:grid;grid-template-columns:repeat(auto-fit,minmax(420px,1fr));gap:20px}
.grid2>.panel{margin-bottom:0}
.grid2+.grid2,.grid2+.panel,.panel+.grid2{margin-top:20px}
@media (max-width:520px){.grid2{grid-template-columns:1fr}}
.panel h2 .sub{font-size:13px;font-weight:600;color:var(--muted);margin-left:6px}

/* due work */
.due{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}
.due a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 16px;border-radius:14px;background:var(--bg);text-decoration:none;color:var(--ink);font-weight:700}
.due a:hover{background:var(--soft)}
.due .n{min-width:32px;height:28px;padding:0 10px;border-radius:999px;background:var(--navy);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:13px}
.due .n.red{background:#B42318}
.due .n.zero{background:#C9CCD9}

/* charts (pure CSS) */
.vbars{display:flex;align-items:flex-end;gap:10px;height:230px;padding:10px 4px 0;border-bottom:1.5px solid var(--line)}
.vbars .b{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;gap:6px}
.vbars .bar{width:100%;max-width:44px;border-radius:10px 10px 4px 4px;background:linear-gradient(180deg,#2E4BE0,#0B1470);min-height:3px;position:relative}
.vbars .v{font-size:12px;font-weight:800;color:var(--navy)}
.vlabels{display:flex;gap:10px;padding:8px 4px 0}
.vlabels span{flex:1;text-align:center;font-size:12px;font-weight:700;color:var(--muted)}
.hbars{display:grid;gap:9px}
.hbars .row{display:grid;grid-template-columns:minmax(120px,38%) 1fr 40px;align-items:center;gap:10px;font-size:13px}
.hbars .lbl{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hbars .track{display:block;height:14px;border-radius:999px;background:var(--bg);overflow:hidden}
.hbars .fill{display:block;height:100%;border-radius:999px;background:var(--c,#2E4BE0)}
.hbars .num{text-align:right;font-weight:800;color:var(--navy)}
.donut-wrap{display:flex;flex-wrap:wrap;gap:22px;align-items:center;justify-content:center}
.donut{width:200px;height:200px;border-radius:50%;position:relative;flex:none}
.donut::after{content:"";position:absolute;inset:36px;border-radius:50%;background:#fff}
.donut .mid{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:1;font-size:12px;color:var(--muted);font-weight:700}
.donut .mid b{font-size:26px;color:var(--navy)}
.legend{display:grid;gap:7px;font-size:13px;min-width:180px}
.legend span{display:flex;align-items:center;gap:8px}
.legend i{width:12px;height:12px;border-radius:4px;flex:none}
.legend em{font-style:normal;margin-left:auto;font-weight:800;color:var(--navy);padding-left:10px}
.stack{display:grid;gap:7px}
.stack .row{display:grid;grid-template-columns:86px 1fr 34px;align-items:center;gap:10px;font-size:12px;font-weight:700;color:var(--muted)}
.stack .track{display:flex;height:16px;border-radius:999px;background:var(--bg);overflow:hidden}
.stack .track i{display:block;height:100%}
.keys{display:flex;flex-wrap:wrap;gap:14px;font-size:12px;font-weight:700;color:var(--muted);margin-bottom:12px}
.keys span{display:inline-flex;align-items:center;gap:6px}
.keys i{width:12px;height:12px;border-radius:4px}
.rank td:first-child{font-weight:800;color:var(--muted);width:40px}
.who-cell{display:flex;align-items:center;gap:10px;font-weight:600}

/* file status badges */
.st{display:inline-block;font-size:12px;font-weight:700;padding:5px 10px;border-radius:999px;white-space:nowrap}
.st-early{background:#EEF0F6;color:#4B5070}
.st-admission{background:#E5E9FD;color:#0B1470}
.st-documents{background:#FFF4D6;color:#7A5200}
.st-visa{background:#E0F2FE;color:#075985}
.st-approved{background:#DCFCE7;color:#14532D}
.st-rejected{background:#FDECEC;color:#8A1C1C}
.st-closed{background:#E5E7EB;color:#374151}

/* students list */
.filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px;margin-bottom:14px}
.filters input,.filters select{font:inherit;font-size:14px;padding:10px 12px;border:1.5px solid var(--line);border-radius:10px;min-height:42px;width:100%;background:#fff}
.filters .acts{display:flex;gap:8px}
.chipbar{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}
.chipbar a{display:inline-flex;align-items:center;gap:8px;padding:7px 12px;border-radius:999px;background:var(--bg);text-decoration:none;color:var(--ink);font-size:13px;font-weight:700}
.chipbar a.on{background:var(--navy);color:#fff}
.chipbar a b{font-weight:800;color:var(--royal)}
.chipbar a.on b{color:#FFC83D}
.lsa{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-weight:700;font-size:13px}
td .sub{display:block;font-size:12px;color:var(--muted);font-weight:500}

/* student profile */
.prof{display:flex;flex-wrap:wrap;gap:20px;align-items:center;justify-content:space-between}
.prof .id{display:flex;gap:16px;align-items:center}
.prof h2{margin:0;font-size:24px}
.prof .meta{display:flex;flex-wrap:wrap;gap:6px 16px;margin-top:6px;font-size:14px;color:var(--muted);font-weight:600}
.prof form{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.prof select{font:inherit;font-size:14px;padding:9px 12px;border:1.5px solid var(--line);border-radius:10px;min-height:42px}
.facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px 20px;margin-top:18px;padding-top:18px;border-top:1px solid var(--line)}
.facts div span{display:block;font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#8A8FAD}
.facts div b{font-size:14px;font-weight:600}
.tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}
.tabs a{display:inline-flex;align-items:center;gap:8px;padding:9px 16px;border-radius:999px;background:#fff;border:1.5px solid var(--line);text-decoration:none;color:var(--ink);font-size:14px;font-weight:700}
.tabs a.on{background:var(--navy);border-color:var(--navy);color:#fff}
.tabs a i{font-style:normal;font-size:12px;background:var(--bg);color:var(--navy);border-radius:999px;padding:1px 8px}
.tabs a.on i{background:rgba(255,255,255,.18);color:#fff}
.tab-pane{display:none}.tab-pane.on{display:block}
.no-js .tab-pane{display:block}
.two{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}
.three{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px}
.ticks{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px}
.ticks .check{background:var(--bg);border-radius:12px;padding:10px 12px;font-size:14px}
.feed{display:grid;gap:12px}
.item{border:1px solid var(--line);border-radius:14px;padding:14px 16px;background:#fff}
.item.pinned{border-color:#FFC83D;background:#FFFBEB}
.item .hd{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:13px;color:var(--muted);font-weight:600;margin-bottom:6px}
.item .hd b{color:var(--ink)}
.item .bd{font-size:14.5px;line-height:1.6;white-space:pre-line;word-break:break-word}
.item .bd.html{white-space:normal}
.replies{margin:10px 0 0 18px;padding-left:12px;border-left:3px solid var(--soft);display:grid;gap:8px}
.replies .r{font-size:14px}
.replies .r b{font-size:13px}
.inline{display:flex;gap:8px;margin-top:10px}
.inline input{flex:1;font:inherit;font-size:14px;padding:9px 12px;border:1.5px solid var(--line);border-radius:10px}
.addbox{background:var(--bg);border-radius:16px;padding:16px;margin-bottom:16px}
.addbox summary{cursor:pointer;font-weight:800;color:var(--navy)}
.addbox[open] summary{margin-bottom:12px}
.pill{display:inline-block;font-size:11px;font-weight:800;padding:3px 9px;border-radius:999px;background:var(--bg);color:var(--muted);text-transform:uppercase;letter-spacing:.04em}
.pill.high{background:#FDECEC;color:#8A1C1C}
.pill.medium{background:#FFF4D6;color:#7A5200}
.pill.done{background:#DCFCE7;color:#14532D}
.pill.late{background:#B42318;color:#fff}
.apps td select,.apps td input{font:inherit;font-size:14px;padding:8px 10px;border:1.5px solid var(--line);border-radius:10px;width:100%;min-width:140px;background:#fff}
.multi{display:flex;flex-wrap:wrap;gap:6px;max-height:140px;overflow:auto;padding:8px;border:1.5px solid var(--line);border-radius:12px;background:#fff}
.multi label{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;background:var(--bg);padding:5px 10px;border-radius:999px;cursor:pointer}
.acts-row{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.nowrap{white-space:nowrap}
td a{text-decoration:none}
td a:hover{text-decoration:underline}
.apps td input[type=checkbox]{width:18px;min-width:0;padding:0}

/* Office tools */
.sub{color:var(--muted);font-size:13px;font-weight:500}
.feed .sub,.item .sub{display:block}
.clockbar{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:16px;padding:12px 16px;background:var(--bg);border-radius:14px;font-size:15px}
.clockbar form{margin:0}
.clockbar a{margin-left:auto;font-weight:700}
.clockbar.big{font-size:17px;padding:18px 20px}
.clockbar .btn.ghost{background:#fff;color:var(--navy);border:1.5px solid var(--line)}
.acts-row{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-top:10px}
.acts-row form{margin:0}
.notes-list{display:grid;gap:6px}
.nrow{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;padding:12px 14px;border-radius:12px;text-decoration:none;color:var(--ink,#10132B);border:1px solid var(--line)}
.nrow.unread{background:#EEF2FF;border-color:#C7D2FE;font-weight:700}
.nrow:hover{border-color:var(--royal)}
.narrow-feed{max-width:820px}
.post .hd .who-cell{align-items:flex-start}
.post .bd{font-size:15px;line-height:1.65}
.post-img{display:block;max-width:100%;max-height:420px;border-radius:12px;margin-top:10px}
.link.liked{color:var(--red)}
.inline-form{margin-top:14px}
.bell{position:relative;display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:12px;border:1.5px solid var(--line);background:#fff;color:var(--navy);text-decoration:none}
.bell .n{position:absolute;top:-6px;right:-6px;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:var(--red);color:#fff;font-size:11px;font-weight:800;display:flex;align-items:center;justify-content:center}
.bell .n[hidden]{display:none}
@media (max-width:640px){.nrow{grid-template-columns:1fr}.clockbar a{margin-left:0}}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* Attendance month grid */
.att-legend{display:flex;flex-wrap:wrap;gap:8px 18px;align-items:center;font-size:13px;font-weight:600;margin:0 0 12px}
.att-legend span{display:inline-flex;align-items:center;gap:6px}
.att{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:7px;font-style:normal;font-size:12px;font-weight:800;line-height:1}
.att.ok{background:#DCFCE7;color:#15803D}
.att.late{background:#FEF3C7;color:#B45309}
.att.absent{background:#FEE2E2;color:#B42318}
.att.leave{background:#DBEAFE;color:#1D4ED8}
.att.closed{background:#F1F2F6;color:#9AA3B5}
.att.notyet{background:#fff;color:#9AA3B5;border:1px dashed #C9CFDC}
.att.future{background:transparent}
.att-grid{border-collapse:collapse;font-size:13px;width:100%}
.att-grid th,.att-grid td{padding:6px 2px;text-align:center;border-bottom:1px solid var(--line);white-space:nowrap}
.att-grid th small{display:block;font-size:10px;font-weight:600;color:var(--muted)}
.att-grid th.today{background:var(--navy);color:#fff;border-radius:8px}
.att-grid th.today small{color:#DCE1FA}
.att-grid th.fri{color:var(--muted)}
.att-grid .name{text-align:left;padding-right:12px;position:sticky;left:0;background:#fff;z-index:1;min-width:160px}
.att-grid td.name .sub{display:block;font-size:11px}
.att-grid .tot{padding:6px 8px;border-left:1px solid var(--line)}
.att-grid tbody tr:hover td{background:#F7F8FC}
.side nav a .cnt{font-style:normal;background:#B42318;color:#fff;border-radius:999px;font-size:11px;font-weight:800;padding:1px 7px;margin-left:6px}
.tabs a i.red{background:#B42318;color:#fff}
/* Chat bubbles, document lists and key-value lists (staff and portals) */
.chat{display:flex;flex-direction:column;gap:10px;max-height:60vh;min-height:280px;overflow-y:auto;padding:6px 4px 12px}
.bubble{max-width:78%;padding:12px 14px;border-radius:16px;background:var(--bg);align-self:flex-start;white-space:pre-line;word-break:break-word;font-size:15px;line-height:1.5}
.bubble.mine{align-self:flex-end;background:var(--navy);color:#fff}
.bubble .who{display:block;font-size:12px;font-weight:700;opacity:.75;margin-bottom:3px}
.bubble a{color:inherit}
.chat-form{display:flex;gap:10px;align-items:flex-end;border-top:1px solid var(--line);padding-top:14px;flex-wrap:wrap}
.chat-form textarea{flex:1 1 260px;font:inherit;font-size:15px;padding:12px 14px;border:1.5px solid var(--line);border-radius:14px;resize:vertical;min-height:52px}
.chat-form .file{font-size:13px}
.doc-list{display:grid;gap:8px}
.doc{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:#fff}
.doc b{display:block}
.doc .sub{display:block}
.kv{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px 20px}
.kv div span{display:block;font-size:12px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}
.kv div b{font-weight:600}
h3.mini{margin:20px 0 10px;font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}
.staff-chat{max-height:480px;min-height:0}
@media (max-width:800px){.side{position:static;min-height:0;max-height:none}}
.grid2{grid-template-columns:repeat(auto-fit,minmax(min(420px,100%),1fr))}
.inline input{min-width:0}
.prof select,.prof form{max-width:100%}
@media (max-width:640px){.vbars,.vlabels{gap:3px}.vlabels span{font-size:10px}.vbars .v{font-size:10px}}
.item{min-width:0;overflow-wrap:anywhere}
@media (max-width:640px){.prof form,.prof select{width:100%}.prof>.prof{width:100%}}

/* ===== Students list ===== */
img.av{object-fit:cover;background:#E6E9F4}
.av.sm{width:26px;height:26px;font-size:10px}
.av.xl{width:84px;height:84px;font-size:28px}
.av.xxl{width:112px;height:112px;font-size:38px;border:4px solid #fff;box-shadow:0 8px 24px rgba(11,20,112,.18)}
.sl-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap;margin:0 0 16px}
.sl-kicker{margin:0;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.sl-total{margin:2px 0 0;font-size:32px;color:var(--navy);line-height:1.1}
.sl-total span{font-size:18px;color:var(--muted);font-weight:600}
.sl-head .ghost.on{background:var(--navy);color:#fff;border-color:var(--navy)}
.stages{display:grid;grid-template-columns:repeat(auto-fit,minmax(104px,1fr));gap:10px;margin:0 0 18px}
.stage{position:relative;display:flex;flex-direction:column;gap:4px;padding:14px 16px 14px 18px;border-radius:16px;background:#fff;text-decoration:none;color:var(--ink);border:1.5px solid transparent;box-shadow:0 1px 2px rgba(16,19,43,.05);overflow:hidden;transition:transform .15s,box-shadow .15s}
.stage::before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:var(--c)}
.stage span{font-size:13px;font-weight:700;color:var(--muted)}
.stage b{font-size:24px;font-weight:800;color:var(--c)}
.stage:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(16,19,43,.08)}
.stage.on{background:var(--c);border-color:var(--c)}
.stage.on span,.stage.on b{color:#fff}
.stage.on::before{background:rgba(255,255,255,.35)}
.sl-search{margin:0 0 14px}
.sl-main{display:grid;grid-template-columns:minmax(260px,2.2fr) repeat(4,minmax(140px,1fr)) auto;gap:10px;align-items:center}
.sl-main select,.sl-grid select{font:inherit;font-size:14px;padding:11px 12px;border:1.5px solid var(--line);border-radius:12px;background:#fff;min-height:46px;width:100%}
.sl-q{display:flex;align-items:center;gap:10px;padding:0 14px;border:1.5px solid var(--line);border-radius:12px;background:#fff;min-height:46px;color:var(--muted)}
.sl-q:focus-within{border-color:var(--royal);box-shadow:0 0 0 4px rgba(46,75,224,.12)}
.sl-q input{border:0;outline:0;font:inherit;font-size:15px;flex:1;min-width:0;background:none}
.sl-more{margin-top:10px}
.sl-more summary{cursor:pointer;font-size:14px;font-weight:700;color:var(--royal);list-style:none;display:inline-flex;align-items:center;gap:6px}
.sl-more summary::before{content:"＋";font-weight:800}
.sl-more[open] summary::before{content:"－"}
.sl-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px;margin-top:10px}
.chipbar.slim a{padding:6px 11px;font-size:12.5px}
.sl-count{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;font-size:14px;color:var(--muted);margin:4px 0 8px}
.sl-count a{font-weight:700}
.sl-table tbody tr{cursor:pointer;transition:background .12s}
.sl-table tbody tr:hover td{background:#F6F7FD}
.sl-table td{padding-top:12px;padding-bottom:12px;vertical-align:middle}
.sl-table .who-cell{text-decoration:none;color:var(--ink)}
.sl-table .who-cell .av{width:42px;height:42px;font-size:14px;flex:0 0 42px}
.sl-table .who-cell b{color:var(--navy);font-size:15px}
.sl-table .who-cell .sub{display:block;font-weight:500}
.sl-table .lsa{font-size:12px;color:var(--royal)}
.sl-table .dest{font-weight:700}
.sl-table .sub{display:block}
.tag{display:inline-block;font-size:11.5px;font-weight:700;padding:3px 9px;border-radius:999px;background:var(--bg);color:var(--muted);margin-top:4px}
.tag.partner{background:#FCE7F3;color:#9D174D}
.tag.ok{background:#DCFCE7;color:#166534}
.tag a{color:inherit}
@media (max-width:1100px){.sl-main{grid-template-columns:1fr 1fr}.sl-main .sl-q{grid-column:1/-1}}
@media (max-width:640px){.sl-main{grid-template-columns:1fr}.stages{grid-template-columns:repeat(2,1fr)}.sl-total{font-size:26px}}

/* ===== Student profile ===== */
.crumb{margin:0 0 12px;font-weight:700}
.sp-hero{position:relative;background:#fff;border-radius:22px;overflow:hidden;box-shadow:0 1px 2px rgba(16,19,43,.05);margin-bottom:18px}
.sp-band{height:92px;background:linear-gradient(120deg,#0B1470 0%,#2E4BE0 60%,var(--c) 130%)}
.sp-main{display:grid;grid-template-columns:auto 1fr auto;gap:22px;align-items:end;padding:0 26px 22px;margin-top:-56px}
.sp-photo{position:relative}
.sp-photo .av.xxl{display:flex}
.sp-photo-menu{position:absolute;right:2px;bottom:4px}
.sp-photo-menu summary{list-style:none;cursor:pointer;width:36px;height:36px;border-radius:50%;background:#fff;border:2px solid var(--line);display:flex;align-items:center;justify-content:center;font-size:16px;box-shadow:0 4px 10px rgba(0,0,0,.1)}
.sp-photo-menu summary::-webkit-details-marker{display:none}
.sp-photo-menu .pop{position:absolute;left:0;top:44px;z-index:5;width:280px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px;box-shadow:0 14px 34px rgba(16,19,43,.16);display:grid;gap:8px}
.sp-photo-menu .pop .field{margin:0}
.sp-id{padding-bottom:4px;min-width:0}
.sp-id h2{margin:0 0 8px;font-size:28px;color:var(--navy);line-height:1.15}
.sp-tags{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.sp-tags .lsa{background:#EEF2FF;color:var(--royal);padding:4px 10px;border-radius:8px}
.sp-tags .tag{margin:0}
.sp-meta{margin:8px 0 0;color:var(--muted);font-size:13.5px;font-weight:600}
.sp-actions{display:grid;gap:10px;justify-items:end}
.sp-status{display:flex;gap:8px;align-items:center}
.sp-status select{font:inherit;font-size:14px;font-weight:700;padding:10px 12px;border:1.5px solid var(--line);border-radius:12px;min-height:44px;max-width:300px;background:#fff;color:var(--navy)}
.sp-quick{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.qa{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border-radius:12px;background:var(--bg);text-decoration:none;color:var(--navy);font-weight:700;font-size:13.5px;border:1.5px solid transparent}
.qa:hover{border-color:var(--royal);background:#fff}
.sp-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:20px}
.sp-card{background:#fff;border-radius:18px;padding:18px 18px 14px;border-top:4px solid var(--c);box-shadow:0 1px 2px rgba(16,19,43,.05)}
.sp-card h3{margin:0 0 12px;font-size:15px;color:var(--c);display:flex;align-items:center;gap:8px}
.sp-card h3 i{font-style:normal;width:30px;height:30px;border-radius:10px;background:color-mix(in srgb,var(--c) 12%,#fff);display:inline-flex;align-items:center;justify-content:center;font-size:15px}
.sp-card dl{margin:0;display:grid;gap:10px}
.sp-card dt{font-size:11.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.sp-card dd{margin:2px 0 0;font-weight:600;font-size:14.5px;color:var(--ink)}
.sp-card dd.wrap{overflow-wrap:anywhere}
.sp-card dd .sub{display:inline;font-weight:500}
@media (max-width:1200px){.sp-cards{grid-template-columns:repeat(2,1fr)}}
@media (max-width:900px){.sp-main{grid-template-columns:auto 1fr}.sp-actions{grid-column:1/-1;justify-items:start}.sp-quick{justify-content:flex-start}}
@media (max-width:640px){.sp-main{grid-template-columns:1fr;padding:0 18px 18px}.sp-cards{grid-template-columns:1fr}.sp-id h2{font-size:23px}.sp-status{flex-wrap:wrap}.sp-status select{max-width:100%;width:100%}}
.tabs{padding:6px;background:#fff;border-radius:18px;box-shadow:0 1px 2px rgba(16,19,43,.05);gap:4px}
.tabs a{border:0;background:none}
.tabs a:hover{background:var(--bg)}

/* ===== Notes ===== */
.note-compose{border:1.5px solid var(--line);border-radius:18px;padding:14px;background:#FAFBFE;margin-bottom:18px}
.note-compose:focus-within{border-color:var(--royal);background:#fff}
.nc-types{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}
.nc-types label{cursor:pointer}
.nc-types input{position:absolute;opacity:0;pointer-events:none}
.nc-types span{display:inline-flex;align-items:center;gap:5px;padding:6px 11px;border-radius:999px;font-size:13px;font-weight:700;color:var(--c);background:color-mix(in srgb,var(--c) 9%,#fff);border:1.5px solid color-mix(in srgb,var(--c) 22%,#fff)}
.nc-types input:checked+span{background:var(--c);color:#fff;border-color:var(--c)}
.nc-types input:focus-visible+span{outline:3px solid color-mix(in srgb,var(--c) 40%,#fff)}
.note-compose textarea{width:100%;font:inherit;font-size:15px;line-height:1.55;padding:12px 14px;border:1.5px solid var(--line);border-radius:14px;resize:vertical;background:#fff;min-height:84px}
.nc-foot{display:flex;flex-wrap:wrap;gap:10px 18px;align-items:center;margin-top:10px}
.nc-foot .btn{margin-left:auto}
.nc-notify summary{cursor:pointer;font-size:13.5px;font-weight:700;color:var(--navy)}
.nc-notify[open]{flex-basis:100%}
.nc-notify .multi{margin-top:8px}
.note-filter{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 14px}
.note-filter button{font:inherit;font-size:13px;font-weight:700;padding:6px 12px;border-radius:999px;border:1.5px solid var(--line);background:#fff;color:var(--c,var(--navy));cursor:pointer}
.note-filter button b{font-weight:800;margin-left:2px}
.note-filter button.on{background:var(--c,var(--navy));border-color:var(--c,var(--navy));color:#fff}
.notes{display:grid;gap:14px}
.note{border-radius:16px;background:color-mix(in srgb,var(--c) 5%,#fff);border:1px solid color-mix(in srgb,var(--c) 22%,#fff);border-left:6px solid var(--c);padding:14px 18px 12px}
.note.pinned{box-shadow:0 0 0 2px color-mix(in srgb,var(--c) 45%,#fff),0 10px 22px rgba(16,19,43,.06)}
.note header{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:8px}
.note-type{font-size:12px;font-weight:800;letter-spacing:.03em;text-transform:uppercase;color:var(--c);background:color-mix(in srgb,var(--c) 13%,#fff);padding:4px 10px;border-radius:999px}
.note-pin{font-size:12px;font-weight:800;color:#92400E;background:#FEF3C7;padding:4px 10px;border-radius:999px}
.note header .tag{margin:0}
.note-pinbtn{margin-left:auto}
.note-pinbtn button{font:inherit;font-size:12.5px;font-weight:700;color:var(--muted);background:#fff;border:1px solid var(--line);border-radius:999px;padding:4px 10px;cursor:pointer}
.note-pinbtn button:hover{color:var(--navy);border-color:var(--navy)}
.note-body{font-size:15px;line-height:1.65;white-space:pre-line;overflow-wrap:anywhere;color:var(--ink)}
.note footer{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 16px;align-items:center;margin-top:12px;padding-top:10px;border-top:1px dashed color-mix(in srgb,var(--c) 25%,#fff);font-size:13px;color:var(--muted)}
.note-by{display:inline-flex;align-items:center;gap:8px}
.note-by b{color:var(--ink)}
.note-for{display:inline-flex;flex-wrap:wrap;gap:4px;align-items:center}
.note-for i{font-style:normal;font-weight:700;color:var(--navy);background:#fff;border:1px solid var(--line);border-radius:999px;padding:2px 8px;font-size:12px}
.note-replies{margin:12px 0 0 14px;padding-left:14px;border-left:3px solid color-mix(in srgb,var(--c) 30%,#fff);display:grid;gap:10px}
.nr{background:#fff;border-radius:12px;padding:9px 12px;font-size:14px}
.nr p{margin:3px 0 0;white-space:pre-line}
.nr .sub{display:inline}
.note-reply{margin-top:10px}
.note-reply summary{cursor:pointer;list-style:none;display:inline-block;font-size:13px;font-weight:700;color:var(--c)}
.note-reply summary::-webkit-details-marker{display:none}
.note-reply form{margin-top:8px}
.note[hidden]{display:none}
.stage{padding:12px 12px 12px 16px}.stage span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sl-table .tag.partner{white-space:nowrap;max-width:220px;overflow:hidden;text-overflow:ellipsis}.sl-table td .sub{white-space:nowrap}
.sp-main{margin-top:0;align-items:start}
.sp-photo{margin-top:-56px}
.sp-id,.sp-actions{padding-top:16px}
.sp-status button[hidden]{display:none}
.tabs a{padding:9px 13px}
@media (max-width:640px){.sp-id,.sp-actions{padding-top:0}}
.note-filter button.empty{opacity:.55}
.note-body.secret{white-space:normal}
.secret-cover{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-radius:12px;background:repeating-linear-gradient(135deg,#F1F5F9 0 10px,#E2E8F0 10px 20px);font-weight:700;color:#334155}
.secret-cover .btn{padding:8px 16px;min-height:0}
.secret-text{white-space:pre-line;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:14px;background:#0F172A;color:#E2E8F0;border-radius:12px;padding:12px 14px;overflow-wrap:anywhere}
.nc-secret-hint{display:none;margin:8px 0 0;font-size:13px;color:#334155;background:#F1F5F9;border-radius:10px;padding:8px 12px}
.note-compose:has(input[value="credentials"]:checked) .nc-secret-hint{display:block}
.note-compose:has(input[value="credentials"]:checked) textarea{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
/* Info cards: clear label / value contrast */
.sp-card{padding:0;overflow:hidden}
.sp-card h3{margin:0;padding:14px 18px;background:color-mix(in srgb,var(--c) 7%,#fff);border-bottom:1px solid color-mix(in srgb,var(--c) 15%,#fff)}
.sp-card dl{gap:0;padding:4px 18px 8px}
.sp-card dl>div{padding:10px 0;border-bottom:1px solid #EEF0F6}
.sp-card dl>div:last-child{border-bottom:0}
.sp-card dt{font-size:11px;font-weight:600;letter-spacing:.07em;color:#94A3B8}
.sp-card dd{margin-top:3px;font-size:15.5px;font-weight:700;color:var(--navy);line-height:1.35}
.sp-card dd a{color:var(--royal);text-decoration:none;border-bottom:1px dashed currentColor}
.sp-card dd .sub{color:#64748B;font-weight:600;font-size:13px}
/* ===== Tasks ===== */
.task-compose{border:1.5px solid var(--line);border-radius:18px;background:#FAFBFE;margin-bottom:16px}
.task-compose[open]{background:#fff;border-color:var(--royal)}
.task-compose summary{cursor:pointer;list-style:none;padding:14px 18px;font-weight:800;color:var(--navy);display:flex;align-items:center;gap:10px}
.task-compose summary::-webkit-details-marker{display:none}
.task-compose .plus{width:28px;height:28px;border-radius:9px;background:var(--navy);color:#fff;display:inline-flex;align-items:center;justify-content:center}
.task-compose form{padding:0 18px 18px}
.tc-subject{width:100%;font:inherit;font-size:16px;font-weight:600;padding:12px 14px;border:1.5px solid var(--line);border-radius:12px;margin-bottom:12px}
.tc-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px 14px}
.seg{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.seg input{position:absolute;opacity:0;pointer-events:none}
.seg span{display:inline-block;padding:7px 12px;border-radius:999px;border:1.5px solid var(--line);font-size:13px;font-weight:700;color:var(--c,var(--navy));background:#fff;cursor:pointer}
.seg input:checked+span{background:var(--c,var(--navy));border-color:var(--c,var(--navy));color:#fff}
.task-summary{display:flex;gap:16px;font-size:14px;color:var(--muted);margin:0 0 10px}
.task-summary b{color:var(--navy);font-size:16px}
.task-summary .bad b,.task-summary .bad{color:#B42318}
.tasks{display:grid;gap:10px}
.task{display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:start;padding:14px 16px;background:#fff;border:1px solid var(--line);border-left:5px solid var(--p);border-radius:14px}
.task.overdue{background:#FFF7F7;border-color:#FBD5D5;border-left-color:#DC2626}
.task.done{background:#F8FAFC;border-left-color:#16A34A}
.task.done .task-title{text-decoration:line-through;color:#94A3B8}
.task-check button{width:26px;height:26px;border-radius:8px;border:2px solid #CBD5E1;background:#fff;cursor:pointer;color:#fff;font-weight:900;font-size:14px;line-height:1;margin-top:1px}
.task-check button:hover{border-color:#16A34A;background:#F0FDF4}
.task.done .task-check button{background:#16A34A;border-color:#16A34A}
.task-title{font-weight:700;font-size:15.5px;color:var(--navy)}
.task-desc{margin-top:3px;font-size:14px;color:#475569;white-space:pre-line}
.task-meta{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.task-meta span{font-size:12.5px;font-weight:700;padding:3px 9px;border-radius:999px;background:var(--bg);color:#475569}
.task-meta .due.over{background:#FEE2E2;color:#B42318}
.task-meta .due.today{background:#FEF3C7;color:#92400E}
.task-meta .prio{color:var(--p);background:color-mix(in srgb,var(--p) 10%,#fff)}
.task-people{text-align:right;font-size:13.5px;font-weight:600;display:grid;gap:3px;justify-items:end}
.task-people .sub{font-size:12px}
.tasks-done{margin-top:16px}
.tasks-done summary{cursor:pointer;font-weight:700;color:var(--muted);margin-bottom:10px}
@media (max-width:640px){.task{grid-template-columns:auto 1fr}.task-people{grid-column:2;text-align:left;justify-items:start}}
/* ===== File progress bar (staff, student and partner) ===== */
.fp{background:#fff;border-radius:20px;padding:20px 24px 40px;margin-bottom:18px;box-shadow:0 1px 2px rgba(16,19,43,.05);position:relative;overflow:hidden}
.fp::after{content:"";position:absolute;right:-60px;top:-60px;width:200px;height:200px;border-radius:50%;background:radial-gradient(circle,rgba(46,75,224,.08),transparent 70%)}
.fp-top{display:flex;align-items:center;gap:18px;margin-bottom:22px}
.fp-ring{flex:0 0 74px;width:74px;height:74px;border-radius:50%;background:conic-gradient(#38BDF8 0,#2E4BE0 var(--pct),#E8EBF5 var(--pct));display:flex;align-items:center;justify-content:center}
.fp-ring span{width:58px;height:58px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;color:var(--muted);font-size:13px}
.fp-ring b{font-size:21px;color:var(--navy);font-weight:800}
.fp-kicker{margin:0;font-size:11.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.fp-text h3{margin:2px 0 4px;font-size:19px;color:var(--navy)}
.fp-next{margin:0;font-size:14px;color:#475569}
.fp-next b{color:var(--navy)}
.fp-track{position:relative;height:14px;border-radius:999px;background:#E8EBF5;margin:0 10px}
.fp-fill{position:absolute;left:0;top:0;bottom:0;width:var(--pct);border-radius:999px;background:linear-gradient(90deg,#38BDF8,#0EA5E9 45%,#2E4BE0);background-size:200% 100%;animation:fpflow 4s linear infinite;box-shadow:0 4px 12px rgba(46,75,224,.3)}
@keyframes fpflow{to{background-position:-200% 0}}
.fp-fill::after{content:"";position:absolute;inset:0;border-radius:inherit;background:repeating-linear-gradient(120deg,rgba(255,255,255,.22) 0 10px,transparent 10px 20px)}
.fp-plane{position:absolute;right:-14px;top:50%;transform:translateY(-55%) rotate(0deg);font-style:normal;font-size:22px;filter:drop-shadow(0 2px 3px rgba(0,0,0,.2));z-index:2}
.fp-ms{position:absolute;top:50%;transform:translate(-50%,-50%);z-index:1}
.fp-ms i{display:block;width:12px;height:12px;border-radius:50%;background:#fff;border:3px solid #CBD2E6}
.fp-ms.hit i{border-color:#fff;background:#0EA5E9}
.fp-ms em{position:absolute;top:20px;left:50%;transform:translateX(-50%);font-style:normal;font-size:11.5px;font-weight:700;color:var(--muted);white-space:nowrap}
.fp-ms.hit em{color:var(--navy)}
.fp-ms:first-of-type em{left:0;transform:none}
.fp-ms:last-child em{left:auto;right:0;transform:none}
@media (prefers-reduced-motion:reduce){.fp-fill{animation:none}}
@media (max-width:640px){.fp{padding:16px 16px 40px}.fp-ms em{font-size:10px}.fp-ms:nth-child(3) em{display:none}}

/* ===== Coloured tab bar ===== */
.tabs a{--c:var(--navy)}
.tabs a .ti{font-style:normal;width:26px;height:26px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;font-size:14px;background:color-mix(in srgb,var(--c) 12%,#fff)}
.tabs a i{background:color-mix(in srgb,var(--c) 12%,#fff);color:var(--c)}
.tabs a:hover{background:color-mix(in srgb,var(--c) 7%,#fff);color:var(--c)}
.tabs a.on{background:var(--c);border-color:var(--c);color:#fff;box-shadow:0 6px 14px color-mix(in srgb,var(--c) 35%,transparent)}
.tabs a.on .ti{background:rgba(255,255,255,.2)}
.tabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin}
.tabs a{white-space:nowrap;flex:0 0 auto;font-size:14px}
.task-meta span.due{width:auto;display:inline-block}
/* ===== Consultations ===== */
.cbook{display:grid;grid-template-columns:auto 1fr auto;gap:16px;align-items:center;padding:14px 16px;border:1px solid var(--line);border-left:5px solid var(--c);border-radius:16px;background:#fff;margin-bottom:10px}
.cb-when{width:64px;text-align:center;border-radius:14px;background:color-mix(in srgb,var(--c) 10%,#fff);padding:8px 4px;color:var(--c)}
.cb-when b{display:block;font-size:24px;line-height:1}
.cb-when span{display:block;font-size:12px;font-weight:800;text-transform:uppercase}
.cb-when em{display:block;font-style:normal;font-size:11.5px;font-weight:700;margin-top:3px;color:var(--navy)}
.cb-top{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.cb-stage{font-size:12px;font-weight:800;color:var(--c);background:color-mix(in srgb,var(--c) 12%,#fff);padding:3px 10px;border-radius:999px}
.cb-status{font-size:12px;font-weight:800;padding:3px 10px;border-radius:999px;background:var(--bg);color:var(--muted)}
.cb-status.s-requested{background:#FEF3C7;color:#92400E}
.cb-status.s-confirmed{background:#DCFCE7;color:#166534}
.cb-status.s-declined,.cb-status.s-cancelled{background:#FEE2E2;color:#991B1B}
.cb-student{display:inline-block;margin-top:6px;font-weight:800;color:var(--navy);text-decoration:none;font-size:15.5px}
.cb-topic{margin:4px 0 0;color:#475569;font-size:14px}
.cb-actions{display:grid;gap:8px;justify-items:end}
.cb-actions input{font:inherit;font-size:13px;padding:8px 10px;border:1.5px solid var(--line);border-radius:10px;width:240px}
.cb-actions div{display:flex;gap:8px}
@media (max-width:760px){.cbook{grid-template-columns:auto 1fr}.cb-actions{grid-column:1/-1;justify-items:start}.cb-actions input{width:100%}}
/* My tasks & mentions */
.task-stats{grid-template-columns:repeat(5,1fr)}
.task-filters{grid-template-columns:minmax(220px,2fr) repeat(3,minmax(140px,1fr)) auto}
.task-student{display:inline-flex;align-items:center;gap:6px;margin-top:4px;font-size:13.5px;font-weight:700;color:var(--royal);text-decoration:none}
.task-student .av{width:22px;height:22px;font-size:9px}
.note-filter a{font-size:13px;font-weight:700;padding:6px 12px;border-radius:999px;border:1.5px solid var(--line);background:#fff;color:var(--navy);text-decoration:none}
.note-filter a.on{background:var(--navy);border-color:var(--navy);color:#fff}
.note-filter .sep{width:1px;background:var(--line);margin:0 4px}
.mention header{gap:10px}
.m-who{display:inline-flex;align-items:center;gap:6px;font-size:14px;color:#475569}
.m-who a{font-weight:800}
.m-state{margin-left:auto;font-size:12px;font-weight:800;padding:4px 10px;border-radius:999px;background:#FEF3C7;color:#92400E}
.m-state.ok{background:#DCFCE7;color:#166534}
.m-state.bad{background:#FEE2E2;color:#991B1B}
.mention footer form{margin:0}
@media (max-width:900px){.task-stats{grid-template-columns:repeat(3,1fr)}.task-filters{grid-template-columns:1fr 1fr}}
.fp{padding-bottom:58px}
.fp-ms em{white-space:normal;width:130px;text-align:center;line-height:1.25}
.fp-ms:first-of-type em{text-align:left;width:90px}
.fp-ms:last-child em{text-align:right;width:110px}
@media (max-width:640px){.fp{padding-bottom:64px}.fp-ms em{width:70px;font-size:10px}.fp-ms:first-of-type em{width:50px}.fp-ms:last-child em{width:64px}}
@media (max-width:640px){.fp-ms:nth-child(5) em{display:none}}
/* Dashboard: latest on the timeline */
.tl-panel{background:linear-gradient(135deg,#E0F2FE 0%,#DBEAFE 55%,#E0E7FF 100%);border:1px solid #BAE6FD;border-radius:22px;padding:22px 24px;margin-bottom:20px}
.tl-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}
.tl-head h2{margin:0;color:#0B1470;display:flex;align-items:center;gap:10px}
.tl-ic{width:36px;height:36px;border-radius:12px;background:#2E4BE0;display:inline-flex;align-items:center;justify-content:center;font-size:18px;box-shadow:0 6px 14px rgba(46,75,224,.3)}
.tl-open{font-weight:800;color:#1D4ED8;text-decoration:none;background:#fff;padding:8px 14px;border-radius:999px;border:1px solid #BFDBFE}
.tl-open:hover{background:#1D4ED8;color:#fff}
.tl-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(360px,100%),1fr));gap:14px}
.tl-card{display:flex;flex-direction:column;gap:10px;background:#fff;border-radius:18px;padding:16px 18px;border-left:5px solid #0EA5E9;text-decoration:none;color:#0F172A;box-shadow:0 6px 18px rgba(14,165,233,.12);transition:transform .15s,box-shadow .15s}
.tl-card:hover{transform:translateY(-2px);box-shadow:0 12px 26px rgba(29,78,216,.18)}
.tl-who{display:flex;align-items:center;gap:10px}
.tl-who .av{width:40px;height:40px;font-size:13px;background:#DBEAFE;color:#1D4ED8}
.tl-who b{display:block;color:#0B1470}
.tl-who small{color:#0369A1;font-weight:600;font-size:12.5px}
.tl-text{margin:0;font-size:14.5px;line-height:1.6;color:#334155;white-space:pre-line;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.tl-foot{display:flex;gap:14px;align-items:center;font-size:13px;font-weight:700;color:#0369A1;margin-top:auto}
.tl-foot em{margin-left:auto;font-style:normal;color:#1D4ED8}
.stack .vnums{display:flex;gap:6px;justify-content:flex-end;white-space:nowrap;font-size:12px}
.stack .vnums .ok{color:#15803D}
.stack .vnums .no{color:#DC2626}
.stack .vnums .sub{color:#2E4BE0;display:inline}
.keys b{margin-left:4px;color:var(--navy)}
.vrate{margin:12px 0 0;font-size:14px;color:var(--muted)}
.vrate b{color:#15803D;font-size:18px}
.stack .row{grid-template-columns:86px 1fr minmax(34px,auto)}
/* ===== Student form ===== */
.sf{display:grid;gap:16px;max-width:1180px}
.sf-intro{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;background:linear-gradient(120deg,#0B1470,#2E4BE0);color:#fff;border-radius:20px;padding:20px 24px}
.sf-intro h2{margin:0;color:#fff;font-size:22px}
.sf-intro p{margin:4px 0 0;color:#DCE1FA;font-size:14px}
.sf-intro .req{color:#FCA5A5}
.sf-badge{background:rgba(255,255,255,.15);border-radius:999px;padding:8px 14px;font-weight:700;font-size:13px}
.req{color:#DC2626;font-weight:800}
.sf-card{background:#fff;border-radius:20px;overflow:hidden;box-shadow:0 1px 2px rgba(16,19,43,.05);border-top:4px solid var(--c)}
.sf-card header{display:flex;align-items:center;gap:12px;padding:14px 22px;background:color-mix(in srgb,var(--c) 6%,#fff);border-bottom:1px solid color-mix(in srgb,var(--c) 14%,#fff)}
.sf-card h3{margin:0;font-size:16px;color:var(--c)}
.sf-card header p{margin:2px 0 0;font-size:13px;color:#64748B}
.sf-ic{width:38px;height:38px;flex:0 0 38px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:18px;background:color-mix(in srgb,var(--c) 14%,#fff)}
.sf-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 20px;padding:20px 22px 22px}
.sf-f{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:700;color:#334155}
.sf-f.wide{grid-column:1/-1}
.sf-f input,.sf-f select,.sf-f textarea{font:inherit;font-size:15px;font-weight:500;color:var(--ink);padding:11px 13px;border:1.5px solid #E2E8F0;border-radius:12px;background:#F8FAFC;min-height:46px;width:100%;transition:border-color .15s,box-shadow .15s,background .15s}
.sf-f textarea{min-height:70px;resize:vertical}
.sf-f input:focus,.sf-f select:focus,.sf-f textarea:focus{outline:0;background:#fff;border-color:var(--c);box-shadow:0 0 0 4px color-mix(in srgb,var(--c) 15%,transparent)}
.sf-f input::placeholder,.sf-f textarea::placeholder{color:#94A3B8}
.sf-f small{font-weight:500;color:#64748B;font-size:12px}
.sf-bar{position:sticky;bottom:0;z-index:5;display:flex;justify-content:flex-end;gap:10px;padding:14px 18px;background:rgba(255,255,255,.92);backdrop-filter:blur(8px);border-radius:16px;box-shadow:0 -6px 20px rgba(16,19,43,.08)}
.sf-bar .btn{min-width:200px}
@media (max-width:900px){.sf-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.sf-grid{grid-template-columns:1fr;padding:16px}.sf-card header{padding:12px 16px}}
/* Donut charts sit in the middle of their panel */
.panel:has(> .donut-wrap){display:flex;flex-direction:column}
.panel > .donut-wrap{flex:1;align-content:center;margin:auto 0}
.stack .vnums .no{color:#475569}
.stack .vnums .sub{color:#0284C7}
.stack .vnums .ok{color:#0B1470}
.stack .vnums .no{color:#0284C7}
.stack .vnums .sub{color:#2E4BE0}
.vrate b{color:#0B1470}
/* Checklist requests on the student file */
.cl-reqs{display:grid;gap:10px}
.cl-req{border:1px solid #BAE6FD;background:#F0F9FF;border-radius:16px;padding:14px 16px}
.cl-req.open{border-color:#38BDF8;box-shadow:0 0 0 3px rgba(56,189,248,.18)}
.cl-req-head{display:flex;align-items:center;gap:12px}
.cl-req-head>div{flex:1;display:grid;gap:2px}
.cl-req-head b{color:#0B1470}
.cl-ic{width:38px;height:38px;border-radius:12px;background:#fff;display:flex;align-items:center;justify-content:center;font-size:19px}
.cl-req .pill{background:#E0F2FE;color:#0369A1;border-radius:999px;padding:4px 12px;font-size:12px;font-weight:800}
.cl-req .pill-open{background:#0B1470;color:#fff}
.cl-note{margin:10px 0 0;color:#334155;font-style:italic}
.cl-send{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.cl-send input[name=body]{flex:1;min-width:180px}
/* Partner commissions (staff) */
.cm-pick{display:grid;gap:6px;margin-top:6px;padding:10px 12px;border-radius:12px;background:#F0F9FF;border:1px solid #BAE6FD;font-weight:500}
.cm-ready{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin:0}
.cm-ready input[type=number]{width:110px;padding:6px 8px;border:1.5px solid #E2E8F0;border-radius:10px}
.cm-ready select{padding:6px;border:1.5px solid #E2E8F0;border-radius:10px}
.cm-ready .ghost{min-height:34px;padding:5px 10px}
.cm-cell{min-width:260px}
.pill.cm-paid{background:#0B1470;color:#fff}.pill.cm-await{background:#E0F2FE;color:#0369A1}
.cm-types{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
.cm-types label{display:flex;align-items:center;gap:6px;font-weight:600;padding:8px 12px;border:1.5px solid #BAE6FD;border-radius:12px;background:#F0F9FF;cursor:pointer}
.cm-types label:has(input:checked){background:#0B1470;color:#fff;border-color:#0B1470}
.av.av-logo{object-fit:contain;background:#fff;padding:4px;border:1px solid #DBEEFB;box-sizing:border-box}
.pt-name{display:inline-flex;align-items:center;gap:10px;text-decoration:none}
.pt-logo{width:36px;height:36px;flex:0 0 36px;border-radius:10px;object-fit:contain;background:#fff;border:1px solid #DBEEFB;padding:2px;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:800;color:#0B1470}
span.pt-logo{background:#E0F2FE}

/* Agency charts (same as the partner dashboard) */
.p-pipe{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(130px,100%),1fr));gap:10px}
.p-stage{position:relative;overflow:hidden;display:grid;gap:2px;padding:14px;border-radius:18px;text-decoration:none;background:#F8FBFF;border:1px solid #DBEEFB;transition:transform .2s,box-shadow .2s}
.p-stage:hover{transform:translateY(-3px);box-shadow:0 12px 24px rgba(2,132,199,.14)}
.p-stage .ic{font-size:20px}
.p-stage b{font-size:26px;color:#0B1470}
.p-stage small{font-weight:700;color:#0369A1}
.p-stage i{position:absolute;left:0;bottom:0;height:5px;background:var(--c);border-radius:0 4px 4px 0}
.p-stage::before{content:"";position:absolute;inset:0 0 auto 0;height:4px;background:var(--c)}
.p-donuts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(360px,100%),1fr));gap:16px}
.p-donut-card{display:flex;align-items:center;gap:22px;padding:18px;border-radius:20px;background:linear-gradient(160deg,#F8FBFF,#fff);border:1px solid #DBEEFB;flex-wrap:wrap}
.p-donut{--p:0;width:150px;height:150px;flex:0 0 150px;border-radius:50%;background:conic-gradient(#2E4BE0 calc(var(--p)*1%),#BAE6FD 0);display:flex;align-items:center;justify-content:center;box-shadow:0 10px 24px rgba(46,75,224,.18);margin:0 auto}
.p-donut.alt{background:conic-gradient(#0B1470 calc(var(--p)*1%),#38BDF8 0)}
.p-donut>div{width:104px;height:104px;border-radius:50%;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
.p-donut b{font-size:28px;color:#0B1470;line-height:1}
.p-donut small{font-size:11.5px;font-weight:700;color:#0369A1;margin-top:2px}
.p-donut-legend{flex:1;min-width:190px;display:grid;gap:8px}
.p-donut-legend h3{margin:0 0 2px;color:#0B1470;font-size:16px}
.p-donut-legend div{display:flex;align-items:center;gap:10px;padding:8px 12px;border-radius:12px;background:#fff;border:1px solid #E3F1FC}
.p-donut-legend i{width:12px;height:12px;border-radius:4px;flex:0 0 12px}
.p-donut-legend span{flex:1;font-weight:600;color:#334155}
.p-donut-legend b{font-size:20px;color:#0B1470}
.p-donut-legend .sub{margin:0;font-size:12.5px}
/* Staff partner page */
.ag-back{display:inline-block;margin-bottom:12px;font-weight:700;color:#0284C7;text-decoration:none}
.ag-hero{position:relative;overflow:hidden;display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;padding:26px 28px;margin-bottom:18px;border-radius:24px;color:#fff;background:linear-gradient(120deg,#0B1470 0%,#1D3BC9 55%,#0EA5E9 100%);box-shadow:0 16px 36px rgba(11,20,112,.2)}
.ag-hero::after{content:"";position:absolute;right:-70px;top:-90px;width:300px;height:300px;border-radius:50%;background:radial-gradient(circle,rgba(186,230,253,.45),transparent 70%);pointer-events:none}
.ag-hero-id{display:flex;align-items:center;gap:18px;position:relative;z-index:1;min-width:0}
.ag-logo{width:88px;height:88px;flex:0 0 88px;border-radius:26px;background:#fff;color:#0B1470;font-size:30px;font-weight:800;display:flex;align-items:center;justify-content:center;overflow:hidden;border:4px solid #BAE6FD;box-shadow:0 10px 24px rgba(0,0,0,.2)}
.ag-logo img{width:100%;height:100%;object-fit:contain;padding:6px;box-sizing:border-box}
.ag-hero h2{margin:0 0 8px;color:#fff;font-size:28px}
.ag-chips{display:flex;flex-wrap:wrap;gap:8px}
.ag-chips span{font-size:12.5px;font-weight:700;background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.25);border-radius:999px;padding:5px 11px}
.ag-chips .on{background:#38BDF8;color:#0B1470;border-color:#38BDF8}
.ag-chips .wait{background:#fff;color:#0B1470}
.ag-chips .off{background:rgba(0,0,0,.2)}
.ag-hero-acts{display:flex;gap:8px;flex-wrap:wrap;position:relative;z-index:1}
.ag-hero-acts form{margin:0}
.btn.ag-white{background:#fff;color:#0B1470}
.btn.ag-ghost{background:rgba(255,255,255,.14);color:#fff;border:1.5px solid rgba(255,255,255,.4)}
.ag-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:14px;margin-bottom:18px}
.ag-kpi{display:flex;align-items:center;gap:14px;padding:16px 18px;border-radius:20px;color:#fff;background:linear-gradient(135deg,#0B1470,#2E4BE0);box-shadow:0 10px 24px rgba(11,20,112,.15)}
.ag-kpi:nth-child(2){background:linear-gradient(135deg,#1D3BC9,#0EA5E9)}
.ag-kpi:nth-child(3){background:linear-gradient(135deg,#0284C7,#38BDF8)}
.ag-kpi:nth-child(4){background:linear-gradient(135deg,#060B4A,#14209A)}
.ag-kpi>span{width:46px;height:46px;flex:0 0 46px;border-radius:15px;background:rgba(255,255,255,.18);display:flex;align-items:center;justify-content:center;font-size:22px}
.ag-kpi small{display:block;font-size:11.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;opacity:.85}
.ag-kpi b{font-size:28px;line-height:1.15}
.ag-kpi b.money{font-size:20px;overflow-wrap:anywhere}
.ag-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(460px,100%),1fr));gap:18px;margin-bottom:18px;align-items:start}
.ag-grid .panel{margin:0}
.ag-sec{border-radius:22px;border:1px solid #DBEEFB;box-shadow:0 10px 26px rgba(2,132,199,.07)}
.ag-sec h2{color:#0B1470}
.ag-dl{margin:0;display:grid;grid-template-columns:1fr 1fr;gap:10px}
.ag-dl div{padding:10px 12px;border-radius:14px;background:#F8FBFF;border:1px solid #E3F1FC;min-width:0}
.ag-dl .wide{grid-column:1/-1}
.ag-dl .note{background:#E0F2FE}
.ag-dl dt{font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#0369A1}
.ag-dl dd{margin:2px 0 0;font-weight:700;color:#0B1470;overflow-wrap:anywhere}
.ag-docs{display:grid;gap:8px;margin-top:10px}
.ag-doc{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:14px;border:1px dashed #BAE6FD;background:#fff;flex-wrap:wrap}
.ag-doc.has{border-style:solid;background:#F0F9FF}
.ag-doc.ag-issued{border-color:#2E4BE0;border-width:1.5px}
.ag-doc .ic{width:40px;height:40px;flex:0 0 40px;border-radius:12px;background:#E0F2FE;display:flex;align-items:center;justify-content:center;font-size:19px}
.ag-doc>div{flex:1;min-width:160px;display:grid}
.ag-doc b{color:#0B1470}
.ag-doc small{color:#64748B}
.ag-miss{font-size:12px;font-weight:700;color:#64748B}
.ag-up{margin:0}
.ag-up label{cursor:pointer;min-height:36px;padding:6px 12px}
.ag-edit summary{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;cursor:pointer;list-style:none}
.ag-edit summary::-webkit-details-marker{display:none}
.ag-edit summary h2{margin:0}
.ag-edit[open] summary{margin-bottom:14px}
@media (max-width:560px){.ag-dl{grid-template-columns:1fr}.ag-hero{padding:20px}}
/* Status badges on the partner page: blues only */
.ag-sec .st{border:1px solid transparent}
.ag-sec .st-early{background:#E0F2FE;color:#0369A1}
.ag-sec .st-admission{background:#BAE6FD;color:#0B1470}
.ag-sec .st-documents{background:#7DD3FC;color:#0B1470}
.ag-sec .st-visa{background:#0284C7;color:#fff}
.ag-sec .st-approved{background:#2E4BE0;color:#fff}
.ag-sec .st-rejected{background:#0B1470;color:#fff}
.ag-sec .st-closed{background:#F1F5F9;color:#475569;border-color:#CBD5E1}
.btn.ag-dl-btn{min-height:36px;padding:6px 14px;font-size:14px}
/* Dashboard files report */
.fr{border:1px solid #DBEEFB;border-radius:22px;box-shadow:0 10px 26px rgba(2,132,199,.07)}
.fr-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap;margin-bottom:14px}
.fr-head h2{margin:0;color:#0B1470}
.fr-total{display:grid;justify-items:end;text-decoration:none;padding:8px 16px;border-radius:16px;background:#E0F2FE}
.fr-total b{font-size:28px;color:#0B1470;line-height:1}
.fr-total small{font-size:12px;font-weight:700;color:#0369A1}
.fr-top{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr));gap:12px;margin-bottom:16px}
.fr-big{display:flex;gap:12px;align-items:center;padding:16px;border-radius:18px;text-decoration:none;color:#fff;background:linear-gradient(135deg,#1D3BC9,#0EA5E9);box-shadow:0 10px 22px rgba(11,20,112,.15);transition:transform .2s}
.fr-big:hover{transform:translateY(-3px)}
.fr-big.active{background:linear-gradient(135deg,#0B1470,#2E4BE0)}
.fr-big:nth-child(3){background:linear-gradient(135deg,#0284C7,#38BDF8)}
.fr-big.closed{background:linear-gradient(135deg,#060B4A,#14209A)}
.fr-big>span{width:46px;height:46px;flex:0 0 46px;border-radius:15px;background:rgba(255,255,255,.18);display:flex;align-items:center;justify-content:center;font-size:22px}
.fr-big small{display:block;font-size:11.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;opacity:.9}
.fr-big b{display:block;font-size:30px;line-height:1.1}
.fr-big em{font-style:normal;font-size:12.5px;opacity:.9}
.fr-bar{display:flex;height:16px;border-radius:999px;overflow:hidden;background:#E0F2FE;margin-bottom:14px}
.fr-bar span{display:block;height:100%}
.fr-items{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(230px,100%),1fr));gap:10px}
.fr-item{position:relative;overflow:hidden;display:flex;align-items:center;gap:10px;padding:12px;border-radius:16px;text-decoration:none;background:#F8FBFF;border:1px solid #DBEEFB;transition:background .2s}
.fr-item:hover{background:#E0F2FE}
.fr-item i{position:absolute;left:0;top:0;bottom:0;width:5px;background:var(--c)}
.fr-item .ic{font-size:20px}
.fr-item div{display:grid}
.fr-item b{font-size:22px;color:#0B1470;line-height:1.1}
.fr-item small{font-weight:700;color:#334155;font-size:12.5px}
.fr-item em{font-style:normal;font-size:12px;font-weight:800;color:#0369A1}
.fr-explain{margin:4px 0 0;color:#334155;font-size:14px;max-width:820px}
.fr-switch{display:flex;gap:4px;padding:4px;border-radius:14px;background:#E0F2FE}
.fr-switch a{padding:8px 14px;border-radius:11px;font-weight:700;font-size:13.5px;color:#0369A1;text-decoration:none}
.fr-switch a.on{background:#0B1470;color:#fff}
.fr-big.total{background:linear-gradient(135deg,#0284C7,#38BDF8)}
.fr-big:nth-child(3){background:linear-gradient(135deg,#1D3BC9,#0EA5E9)}
.fr-sub{margin:4px 0 10px;color:#0B1470;font-size:15px}
.fr-sum{margin:10px 0 0;font-size:13px;color:#475569;text-align:right}
.fr-sum b{color:#0B1470}
.fr-inactive{display:block;margin-top:12px;padding:12px 16px;border-radius:14px;background:#F0F9FF;border:1px dashed #7DD3FC;color:#0B1470;text-decoration:none;font-size:14px}
.fr-inactive:hover{background:#E0F2FE}
/* Student list: multi-select filters, active filters, by office */
.ms{position:relative;min-width:170px}
.ms>summary{list-style:none;cursor:pointer;border:1.5px solid #E2E8F0;border-radius:12px;padding:11px 34px 11px 14px;background:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:240px;font-size:14px;position:relative}
.ms>summary::-webkit-details-marker{display:none}
.ms>summary::after{content:"▾";position:absolute;right:12px;top:50%;transform:translateY(-50%);color:#0B1470}
.ms[open]>summary{border-color:#38BDF8;box-shadow:0 0 0 3px rgba(56,189,248,.25)}
.ms-list{position:absolute;z-index:30;top:calc(100% + 6px);left:0;min-width:240px;max-height:320px;overflow:auto;background:#fff;border:1px solid #BAE6FD;border-radius:14px;box-shadow:0 16px 36px rgba(11,20,112,.18);padding:8px;display:grid;gap:2px}
.ms-list small{padding:4px 8px;color:#64748B;font-weight:700}
.ms-list label{display:flex;align-items:center;gap:8px;padding:7px 8px;border-radius:9px;cursor:pointer;font-size:14px}
.ms-list label:hover{background:#F0F9FF}
.ms-list input{accent-color:#0B1470;width:16px;height:16px}
.sl-date{display:grid;gap:4px;font-size:12px;font-weight:700;color:#475569}
.sl-date input{border:1.5px solid #E2E8F0;border-radius:12px;padding:9px 12px;font:inherit}
.sl-active,.sl-branches{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:12px 0 0}
.sl-active>span,.sl-branches>span{font-size:12.5px;font-weight:800;color:#475569;text-transform:uppercase;letter-spacing:.06em}
.sl-active a{font-size:13px;font-weight:700;text-decoration:none;color:#0B1470;background:#E0F2FE;border:1px solid #BAE6FD;border-radius:999px;padding:5px 11px}
.sl-active a:hover{background:#BAE6FD}
.sl-branches a{font-size:13px;font-weight:700;text-decoration:none;color:#0B1470;background:#fff;border:1.5px solid #BAE6FD;border-radius:12px;padding:6px 12px}
.sl-branches a b{margin-left:4px;background:#0B1470;color:#fff;border-radius:999px;padding:1px 8px;font-size:12px}
.sl-branches a.on{background:#0B1470;color:#fff}
.sl-branches a.on b{background:#38BDF8;color:#0B1470}
/* Filter row: wraps neatly with several pickers */
.sl-main{display:flex!important;flex-wrap:wrap;gap:10px;align-items:stretch}
.sl-main .sl-q{flex:2 1 200px;min-width:0}
.sl-main>select{flex:1 1 140px;min-width:0}
.sl-main .ms{flex:1 1 140px;min-width:0}
.sl-main .ms>summary{max-width:none;height:100%;box-sizing:border-box;display:flex;align-items:center}
.sl-main>.btn{flex:0 0 auto}
.sl-range{flex:2 1 300px;display:flex;align-items:center;gap:6px;border:1.5px solid #E2E8F0;border-radius:12px;padding:4px 6px 4px 12px;background:#fff;min-width:0}
.sl-range label{display:flex;align-items:center;gap:6px;flex:1 1 0;min-width:0;font-size:12.5px;font-weight:700;color:#475569;white-space:nowrap}
.sl-range input{flex:1;min-width:0;border:0;padding:6px 4px;font:inherit;font-size:14px;color:#0B1470;background:transparent}
.sl-range input:focus{outline:2px solid #38BDF8;border-radius:8px}
.sl-range:focus-within{border-color:#38BDF8;box-shadow:0 0 0 3px rgba(56,189,248,.25)}
.ms-list .ms-n{margin-left:auto;font-style:normal;font-size:12px;font-weight:800;color:#0369A1;background:#E0F2FE;border-radius:999px;padding:1px 8px}
/* Revenue */
.rv-hero{position:relative;overflow:hidden;display:flex;justify-content:space-between;align-items:flex-end;gap:18px;flex-wrap:wrap;padding:24px 26px;margin-bottom:18px;border-radius:24px;color:#fff;background:linear-gradient(120deg,#0B1470 0%,#1D3BC9 55%,#0EA5E9 100%);box-shadow:0 16px 36px rgba(11,20,112,.2)}
.rv-hero h2{margin:2px 0 6px;color:#fff;font-size:26px}
.rv-hero p{margin:0;color:#E0F2FE}
.rv-kicker{font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#BAE6FD!important}
.rv-range{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap}
.rv-range label{display:grid;gap:4px;font-size:12px;font-weight:700;color:#E0F2FE}
.rv-range input{border:0;border-radius:12px;padding:10px 12px;font:inherit;color:#0B1470}
.rv-range .btn{background:#fff;color:#0B1470}
.rv-reset{color:#fff;font-weight:700;padding:10px 4px}
.rv-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:14px;margin-bottom:18px}
.rv-kpi{display:flex;gap:14px;align-items:center;padding:18px;border-radius:20px;color:#fff;box-shadow:0 10px 24px rgba(11,20,112,.15)}
.rv-kpi.k1{background:linear-gradient(135deg,#0B1470,#2E4BE0)}
.rv-kpi.k2{background:linear-gradient(135deg,#1D3BC9,#0EA5E9)}
.rv-kpi.k3{background:linear-gradient(135deg,#0284C7,#38BDF8)}
.rv-kpi.k4{background:linear-gradient(135deg,#060B4A,#14209A)}
.rv-kpi>span{width:48px;height:48px;flex:0 0 48px;border-radius:15px;background:rgba(255,255,255,.18);display:flex;align-items:center;justify-content:center;font-size:23px}
.rv-kpi small{display:block;font-size:11.5px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;opacity:.9}
.rv-kpi b{display:block;font-size:24px;line-height:1.2;overflow-wrap:anywhere}
.rv-kpi em{font-style:normal;font-size:12.5px;opacity:.9}
.rv-sec{border:1px solid #DBEEFB;border-radius:22px;box-shadow:0 10px 26px rgba(2,132,199,.07)}
.rv-sec h2{color:#0B1470}
.rv-bars{display:grid;grid-template-columns:repeat(var(--n),1fr);gap:6px;align-items:end;height:230px}
.rv-bar{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;gap:4px;min-width:0}
.rv-bar .v{font-size:11px;font-weight:800;color:#0B1470;min-height:14px}
.rv-bar .col{width:100%;max-width:36px;border-radius:9px 9px 3px 3px;background:linear-gradient(180deg,#38BDF8,#2E4BE0)}
.rv-bar small{font-size:10.5px;font-weight:700;color:#64748B;white-space:nowrap}
.rv-row{display:grid;grid-template-columns:110px 1fr auto;gap:10px;align-items:center;margin-bottom:10px}
.rv-row span{font-weight:700;color:#0B1470}
.rv-track{height:12px;border-radius:999px;background:#E0F2FE;overflow:hidden}
.rv-track i{display:block;height:100%;background:linear-gradient(90deg,#38BDF8,#2E4BE0);border-radius:999px}
.rv-outlook{display:grid;gap:8px}
.rv-outlook div{padding:12px 14px;border-radius:14px;background:#F0F9FF;border:1px solid #DBEEFB;display:grid}
.rv-outlook small{font-size:11.5px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:#0369A1}
.rv-outlook b{font-size:20px;color:#0B1470}
.rv-outlook em{font-style:normal;font-size:12.5px;color:#64748B}
.rv-pill{background:#0B1470;color:#fff;border-radius:999px;padding:6px 14px;font-weight:800;font-size:13px}
.rv-access{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(240px,100%),1fr));gap:8px;margin:12px 0}
.rv-access label{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;border:1.5px solid #DBEEFB;background:#fff;cursor:pointer}
.rv-access label:has(input:checked){border-color:#2E4BE0;background:#F0F9FF}
.rv-access label.owner{opacity:.8;cursor:default}
.rv-access input{width:18px;height:18px;accent-color:#0B1470}
.rv-access span{display:grid}
.rv-access small{color:#64748B}
/* Service charge on the student file */
.sc-panel{border:1px solid #DBEEFB;border-radius:22px}
.sc-panel.sc-collect{border:2px solid #2E4BE0;box-shadow:0 0 0 4px rgba(56,189,248,.2)}
.sc-head{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.sc-head h2{margin:0;color:#0B1470}
.sc-flag{background:#0B1470;color:#fff;border-radius:999px;padding:6px 14px;font-weight:700;font-size:13px}
.sc-sum{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.sc-sum div{padding:12px 14px;border-radius:14px;background:#F0F9FF;border:1px solid #DBEEFB}
.sc-sum .due{background:#E0F2FE;border-color:#7DD3FC}
.sc-sum small{display:block;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.07em;color:#0369A1}
.sc-sum b{font-size:20px;color:#0B1470}
.sc-track{height:10px;border-radius:999px;background:#E0F2FE;overflow:hidden;margin:12px 0}
.sc-track i{display:block;height:100%;background:linear-gradient(90deg,#38BDF8,#2E4BE0)}
@media (max-width:600px){.sc-sum{grid-template-columns:1fr}}
.sc-sum{grid-template-columns:repeat(4,1fr)}
.sc-sum .waived{background:#F8FAFC;border-color:#CBD5E1}
.sc-track{display:flex}
.sc-track i.w{background:repeating-linear-gradient(45deg,#94A3B8 0 6px,#CBD5E1 6px 12px)}
.sc-kinds{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.sc-kinds label{display:flex;align-items:center;gap:8px;padding:9px 14px;border:1.5px solid #BAE6FD;border-radius:12px;background:#fff;font-weight:700;cursor:pointer}
.sc-kinds label:has(input:checked){background:#0B1470;color:#fff;border-color:#0B1470}
.sc-form .field>span{display:flex;gap:4px;align-items:baseline;flex-wrap:wrap}
.sc-form .req{color:#DC2626}
.sc-form .for-waive{display:none}
.sc-form.is-waiver .for-waive{display:inline}
.sc-form.is-waiver .for-pay{display:none}
.sc-form.is-waiver label.for-pay{display:none}
.sc-waive-tag{display:inline-block;background:#F1F5F9;color:#334155;border-radius:999px;padding:2px 10px;font-weight:700;font-size:12.5px}
@media (max-width:800px){.sc-sum{grid-template-columns:1fr 1fr}}
.rv-total{display:grid;grid-template-columns:2fr 1fr;gap:14px;margin-bottom:18px}
.rv-total>div{border-radius:22px;padding:20px 24px;display:grid}
.rv-total-main{background:#fff;border:2px solid #2E4BE0;box-shadow:0 12px 28px rgba(46,75,224,.15)}
.rv-total-side{background:#F0F9FF;border:1px solid #BAE6FD}
.rv-total small{font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#0369A1}
.rv-total-main b{font-size:40px;color:#0B1470;line-height:1.15}
.rv-total-side b{font-size:26px;color:#0369A1}
.rv-total em{font-style:normal;color:#64748B;font-size:13.5px}
.rv-kpi.k5{background:linear-gradient(135deg,#0369A1,#7DD3FC)}
.dash-rev{display:flex;align-items:center;gap:16px;margin:0 0 18px;padding:18px 22px;border-radius:20px;text-decoration:none;color:#fff;background:linear-gradient(120deg,#0B1470,#1D3BC9 60%,#0EA5E9);box-shadow:0 12px 28px rgba(11,20,112,.18)}
.dash-rev>span{width:50px;height:50px;flex:0 0 50px;border-radius:16px;background:rgba(255,255,255,.18);display:flex;align-items:center;justify-content:center;font-size:24px}
.dash-rev div{flex:1;display:grid}
.dash-rev small{font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#BAE6FD}
.dash-rev b{font-size:30px;line-height:1.15}
.dash-rev em{font-style:normal;font-size:13px;color:#E0F2FE}
.dash-rev i{font-style:normal;font-weight:800;background:#fff;color:#0B1470;border-radius:12px;padding:9px 14px}
@media (max-width:800px){.rv-total{grid-template-columns:1fr}.dash-rev{flex-wrap:wrap}}
.sc-sum .agreed small{display:flex;align-items:center;justify-content:space-between;gap:6px}
.sc-edit{border:0;background:#fff;color:#0284C7;font:inherit;font-size:11.5px;font-weight:800;letter-spacing:0;text-transform:none;border-radius:8px;padding:2px 8px;cursor:pointer;border:1px solid #BAE6FD}
.sc-agreed{display:flex;gap:6px;margin-top:8px}
.sc-agreed input{flex:1;min-width:0;border:1.5px solid #7DD3FC;border-radius:10px;padding:7px 10px;font:inherit}
.sc-agreed .btn{min-height:36px;padding:6px 12px}
/* Agreement fields on staff forms */
.ag-modes{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr));gap:10px;margin-bottom:14px}
.ag-mode{cursor:pointer;display:block}
.ag-mode input{position:absolute;opacity:0;width:1px;height:1px}
.ag-mode span{display:grid;gap:3px;height:100%;padding:14px 16px;border:1.5px solid #BAE6FD;border-radius:16px;background:#fff;box-sizing:border-box;transition:background .15s}
.ag-mode b{color:#0B1470;font-size:15px}
.ag-mode i{font-style:normal;font-size:13px;color:#475569}
.ag-mode input:checked+span{background:linear-gradient(135deg,#0B1470,#2E4BE0);border-color:#2E4BE0}
.ag-mode input:checked+span b,.ag-mode input:checked+span i{color:#fff}
.ag-mode input:focus-visible+span{outline:3px solid #38BDF8}
.ag-offices{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:8px;margin-top:4px}
.ag-office{cursor:pointer}
.ag-office input{position:absolute;opacity:0;width:1px;height:1px}
.ag-office span{display:grid;gap:2px;padding:10px 12px;border:1.5px solid #DBEEFB;border-radius:12px;background:#fff;height:100%;box-sizing:border-box}
.ag-office b{color:#0B1470;font-size:14px}
.ag-office i{font-style:normal;font-size:12px;color:#64748B}
.ag-office input:checked+span{border-color:#2E4BE0;background:#F0F9FF;box-shadow:0 0 0 3px rgba(56,189,248,.25)}
.ag-sub{margin:16px 0 8px;color:#0B1470;font-size:15px;display:flex;gap:8px;align-items:baseline;flex-wrap:wrap}
.ag-sub small{font-weight:600;color:#64748B;font-size:12.5px}
.ag-auto{font-weight:700;color:#0284C7;font-size:12px}
.ag-fixed{display:block;font-size:15px;color:#0B1470;padding:9px 0}
.ag-none{color:#64748B;font-size:14px}
.ag-card .sf-f>span{display:flex;gap:4px;align-items:baseline;flex-wrap:wrap}
.ag-panel{border:1px solid #DBEEFB;border-radius:22px}
.ag-list{display:grid;gap:8px}
.ag-item{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:14px;border:1px solid #DBEEFB;background:#F8FBFF;text-decoration:none;color:inherit}
.ag-item:hover{background:#E0F2FE}
.ag-item .ic{width:40px;height:40px;flex:0 0 40px;border-radius:12px;background:#fff;display:flex;align-items:center;justify-content:center;font-size:19px}
.ag-item div{flex:1;display:grid;min-width:0}
.ag-item b{color:#0B1470}
.ag-item small{color:#64748B}
.ag-st{font-size:12.5px;font-weight:800;border-radius:999px;padding:4px 11px;background:#E0F2FE;color:#0369A1;white-space:nowrap}
.ag-item.st-signed .ag-st{background:#0B1470;color:#fff}
.ag-item.st-sent .ag-st{background:#38BDF8;color:#0B1470}
.sc-sum .waived{background:#F0F9FF;border-color:#BAE6FD}
.sc-disc{flex-wrap:wrap}
.sc-disc input[name=reason]{flex:1 1 100%}
.sc-disc-note{display:block;width:100%;font-size:11.5px;color:#0369A1;font-weight:600;text-transform:none;letter-spacing:0}
.sc-err{display:block;width:100%;font-size:11.5px;color:#0B1470;background:#E0F2FE;border-radius:6px;padding:3px 6px;text-transform:none;letter-spacing:0}
/* ===== Student file: each section has its own colour (top bar + tinted heading strip, like the info cards) ===== */
.panel.sec{padding-top:0;overflow:hidden;border:1px solid color-mix(in srgb,var(--c) 18%,#fff);border-top:4px solid var(--c);border-radius:18px}
.panel.sec > h2:first-child,.panel.sec > .sc-head:first-child,.panel.sec > .panel-head:first-child{margin:0 -22px 18px;padding:14px 22px;background:color-mix(in srgb,var(--c) 8%,#fff);border-bottom:1px solid color-mix(in srgb,var(--c) 16%,#fff)}
.panel.sec > h2:first-child,.panel.sec > .sc-head:first-child h2,.panel.sec > .panel-head:first-child h2{color:var(--c);font-size:17px;margin-top:0;margin-bottom:0}
.panel.sec > .sc-head:first-child,.panel.sec > .panel-head:first-child{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.sc-panel.sec.sc-collect{border-width:2px;border-top-width:4px}
.sc-agreed[hidden]{display:none}
/* ===== Employees ===== */
.em-kpis{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;margin-bottom:18px}
.em-kpi{background:#fff;border-radius:16px;padding:12px 16px;text-decoration:none;border:1.5px solid #DBEEFB;border-top:4px solid var(--k,#2E4BE0);color:#0B1470}
.em-kpi small{display:block;font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#4A6390}
.em-kpi b{font-size:24px}
.em-kpi.on{background:#EEF4FF;border-color:var(--k,#2E4BE0)}
.r-owner{--k:#0B1470}.r-superadmin{--k:#4F46E5}.r-admin{--k:#2563EB}.r-moderator{--k:#0EA5E9}.em-kpi.off{--k:#94A3B8}
.em-name{display:flex;align-items:center;gap:10px;text-decoration:none;color:#0B1470}
.em-name img,.em-av{width:38px;height:38px;border-radius:12px;object-fit:cover;flex:none}
.em-av{display:inline-flex;align-items:center;justify-content:center;background:#E0F2FE;color:#0B1470;font-weight:800;font-size:13px}
.em-name small,.em-contact small{display:block;color:#64748B;font-size:12px;font-weight:600}
.em-role{display:inline-block;font-size:11px;font-weight:800;padding:3px 9px;border-radius:999px;background:color-mix(in srgb,var(--k) 12%,#fff);color:var(--k);margin:2px 4px 2px 0}
.em-role.off{--k:#64748B}
.em-table tr.off td{opacity:.6}
.em-head{display:flex;align-items:center;gap:14px}
.em-big{width:58px;height:58px;border-radius:16px;object-fit:cover;background:#fff;color:#0B1470;display:inline-flex;align-items:center;justify-content:center;font-weight:800;font-size:20px}
.em-roles{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:0 20px 20px}
.em-rolecard{position:relative;display:block;border:1.5px solid #D6E2F5;border-radius:14px;padding:14px;cursor:pointer;border-top:4px solid var(--k)}
.em-rolecard input{position:absolute;top:12px;right:12px;accent-color:var(--k)}
.em-rolecard b{display:block;color:var(--k);font-size:15px;margin-bottom:4px;padding-right:20px}
.em-rolecard i{display:block;font-style:normal;font-size:12.5px;color:#33508A;line-height:1.45}
.em-rolecard small{display:block;margin-top:6px;font-size:11.5px;color:#64748B;font-weight:700}
.em-rolecard:has(input:checked){background:color-mix(in srgb,var(--k) 8%,#fff);border-color:var(--k);box-shadow:0 0 0 3px color-mix(in srgb,var(--k) 15%,transparent)}
.em-rolecard.locked{opacity:.55;cursor:not-allowed}
.em-note{padding:0 20px 20px;margin:0;color:#33508A}
.em-check{flex-direction:row!important;align-items:center;gap:10px}
.em-check input[type=checkbox]{width:20px;min-height:20px;accent-color:#0B1470}
.em-pass code{font-size:17px;background:#fff;padding:2px 8px;border-radius:6px;margin:0 6px}
.em-actrow{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
@media (max-width:1100px){.em-kpis{grid-template-columns:repeat(3,1fr)}.em-roles{grid-template-columns:repeat(2,1fr)}}
a.me{text-decoration:none;color:inherit;font-weight:700}
/* Employment file */
.ed-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:14px}
.ed-cat{border:1.5px solid color-mix(in srgb,var(--k) 22%,#fff);border-top:4px solid var(--k);border-radius:16px;padding:12px 14px;background:#fff;display:flex;flex-direction:column;gap:8px}
.ed-cat-h{display:flex;align-items:flex-start;gap:10px}
.ed-cat-h b{display:block;color:var(--k);font-size:15px}
.ed-cat-h small{display:block;color:#4A6390;font-size:12px;line-height:1.4}
.ed-cat-h i{margin-left:auto;font-style:normal;font-weight:800;font-size:12px;background:color-mix(in srgb,var(--k) 12%,#fff);color:var(--k);border-radius:999px;padding:2px 9px}
.ed-ic{width:34px;height:34px;flex:none;border-radius:10px;background:color-mix(in srgb,var(--k) 10%,#fff);display:inline-flex;align-items:center;justify-content:center;font-size:17px}
.ed-doc{display:flex;gap:10px;align-items:center;background:#F6FAFF;border-radius:12px;padding:8px 10px}
.ed-ext{flex:none;width:42px;height:42px;border-radius:10px;background:var(--k);color:#fff;font-size:10.5px;font-weight:800;display:inline-flex;align-items:center;justify-content:center}
.ed-meta{min-width:0;flex:1}
.ed-meta b{display:block;color:#0B1470;font-size:13.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ed-meta small{display:block;color:#4A6390;font-size:11.5px}
.ed-meta .ed-note{color:#0B1470;font-style:italic}
.ed-acts{display:flex;flex-direction:column;align-items:flex-end;gap:2px;font-size:12.5px}
.ed-acts form{margin:0}
.ed-empty{margin:0;color:#64748B;font-size:13px}
.ed-add summary{cursor:pointer;font-weight:800;color:var(--k);font-size:13px;list-style:none}
.ed-add summary::-webkit-details-marker{display:none}
.ed-add form{display:grid;gap:8px;margin-top:8px}
.ed-two{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.ed-f{display:grid;gap:3px;font-size:12px;font-weight:700;color:#0B1470}
.ed-f input{font:inherit;font-weight:500;font-size:13px;border:1.5px solid #D6E2F5;border-radius:10px;padding:7px 9px}
/* Staff letters */
.lt-cols{display:grid;grid-template-columns:1fr 1fr;gap:18px}
@media (max-width:1000px){.lt-cols{grid-template-columns:1fr}}
.lt-h{font-size:15px;color:#0B1470;margin:0 0 10px;cursor:pointer}
.lt-ask-box{background:#F6FAFF;border:1.5px solid #D6E2F5;border-radius:16px;padding:14px 16px}
.lt-item{display:flex;align-items:center;gap:12px;border:1.5px solid #D6E2F5;border-left:4px solid #2E4BE0;border-radius:12px;padding:10px 12px;margin-bottom:8px;background:#fff}
.lt-item.wait{border-left-color:#0EA5E9;background:#F0F9FF}
.lt-ic{font-size:22px}
.lt-meta{flex:1;min-width:0}.lt-meta b{display:block;color:#0B1470}.lt-meta small{color:#4A6390;font-size:12px}
.lt-acts{display:flex;align-items:center;gap:8px}.lt-acts form{margin:0}
.lt-form{display:grid;gap:12px}
.lt-types{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.lt-type{border:1.5px solid #D6E2F5;border-radius:12px;padding:10px 12px;background:#fff;cursor:pointer;display:flex;gap:8px;align-items:flex-start}
.lt-type:has(input:checked){border-color:#2E4BE0;background:#EEF4FF}
.lt-type b{display:block;color:#0B1470;font-size:14px}.lt-type i{display:block;font-style:normal;font-size:12px;color:#4A6390}
.lt-ask{background:#fff;border:1px solid #E2EBF8;border-radius:10px;padding:8px 12px;margin-bottom:6px;font-size:13.5px}
.lt-ask b{display:block;color:#0B1470;margin-bottom:4px}
.lt-ask label{margin-right:14px;font-weight:600}
.lt-ask small{display:block;color:#4A6390;font-size:12px;margin-top:3px}
.lt-f{display:grid;gap:3px;font-size:12.5px;font-weight:700;color:#0B1470}
.lt-f input,.lt-f select{font:inherit;font-weight:500;font-size:13.5px;border:1.5px solid #D6E2F5;border-radius:10px;padding:8px 10px;background:#fff}
.lt-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.lt-wide{grid-column:1/-1}
.lt-noc{display:none}
.lt-form:has(input[name=type][value=noc]:checked) .lt-noc{display:block}
.lt-form:has(input[name=type][value=noc]:checked) .lt-poe{display:none}
.lt-pend{margin:4px 0;font-size:14px}
/* Attendance: early departure, public holidays, removing someone from the report */
.att.early{background:#E0F2FE;color:#0369A1}
.att.lateearly{background:#FEF3C7;color:#0369A1;box-shadow:inset 0 0 0 1.5px #7DD3FC}
.att.holiday{background:#EDE9FE;color:#4F46E5}
.att-grid th.hol{background:#EDE9FE;color:#4F46E5;border-radius:8px}
.att-hols{background:#F5F3FF;border:1px solid #DDD6FE;color:#3730A3;border-radius:12px;padding:8px 12px;font-size:13px;margin:0 0 12px}
.att-hide{display:inline;margin-left:6px}
.att-hide button{border:0;background:none;color:#94A3B8;font:inherit;font-size:10.5px;font-weight:700;cursor:pointer;padding:0;opacity:0}
.att-grid tr:hover .att-hide button{opacity:1}
.att-hide button:hover{color:#2E4BE0;text-decoration:underline}
.att-hidden{margin-top:12px}
.pill.early{background:#E0F2FE;color:#0369A1}
.att-hol-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:8px;margin-bottom:14px}
.att-hol{display:flex;align-items:center;gap:8px;border:1px solid #DDD6FE;background:#FAF8FF;border-radius:10px;padding:7px 10px;font-size:13px}
.att-hol b{color:#3730A3;white-space:nowrap}.att-hol span{flex:1;color:#33508A}
.att-hol form{margin:0}.att-hol.past{opacity:.55}
/* Numbered pages (all lists) */
.pg{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;margin:14px 0 4px}
.pg-nums{display:flex;gap:6px;align-items:center}
.pg-n,.pg-arrow{display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:36px;padding:0 10px;border-radius:10px;font-weight:800;font-size:14px;text-decoration:none;color:#0B1470;background:#fff;border:1.5px solid #D6E2F5}
.pg-n:hover,.pg-arrow:hover{border-color:#2E4BE0;color:#2E4BE0}
.pg-n.on{background:linear-gradient(135deg,#0B1470,#2E4BE0);border-color:transparent;color:#fff}
.pg-arrow.off{opacity:.4;pointer-events:none}
.pg-gap{color:#94A3B8;font-weight:800}
/* Revenue: commissions from portals and universities */
.cm-grand{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:14px;margin-bottom:14px}
.cm-grand>div{border-radius:22px;padding:18px 22px;display:grid;background:#fff;border:1px solid #DBEEFB}
.cm-grand>div:first-child{background:linear-gradient(120deg,#0B1470,#2E4BE0 70%,#38BDF8);color:#fff;border:0;box-shadow:0 12px 28px rgba(46,75,224,.25)}
.cm-grand small{font-size:11.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#4A6390}
.cm-grand>div:first-child small,.cm-grand>div:first-child em{color:#DCE7FF}
.cm-grand b{font-size:28px;color:#0B1470}.cm-grand>div:first-child b{color:#fff;font-size:32px}
.cm-grand em{font-style:normal;font-size:12.5px;color:#4A6390}
.cm-grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:20px;align-items:start}
.cm-h{font-size:15px;color:#0B1470;margin:0 0 10px}
.cm-row{display:grid;grid-template-columns:minmax(150px,1fr) 2fr auto;gap:12px;align-items:center;padding:9px 0;border-bottom:1px solid #EEF2F8}
.cm-name b{display:block;color:#0B1470}.cm-name small{color:#64748B;font-size:12px}
.cm-track{height:10px;border-radius:999px;background:#EEF4FF;overflow:hidden}
.cm-track i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2E4BE0,#38BDF8)}
.cm-amt{text-align:right}.cm-amt b{display:block;color:#0B1470}.cm-amt small{color:#64748B;font-size:12px}
.cm-form{background:#F6FAFF;border:1.5px solid #D6E2F5;border-radius:18px;padding:16px;display:grid;gap:10px;position:sticky;top:12px}
.cm-f{display:grid;gap:4px;font-size:12.5px;font-weight:800;color:#0B1470}
.cm-f small{font-weight:600;color:#64748B}
.cm-f input,.cm-f select{font:inherit;font-size:14px;font-weight:500;border:1.5px solid #D6E2F5;border-radius:10px;padding:8px 10px;background:#fff;min-width:0}
.cm-two{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.cm-new{display:grid;gap:10px;background:#fff;border:1px dashed #9FB2D8;border-radius:12px;padding:10px}
.cm-bdt{background:#E0F2FE;color:#0B1470;font-weight:800;font-size:18px;border-radius:12px;padding:10px 14px}
.cm-table td{vertical-align:top}
@media (max-width:1100px){.cm-grid,.cm-grand{grid-template-columns:1fr}.cm-form{position:static}}
.cm-new[hidden],.cm-f[hidden]{display:none}
.cm-table small{display:block}
.cm-docs a{display:block;font-weight:700;font-size:13px;color:#2E4BE0;text-decoration:none;white-space:nowrap}
.cm-docs a:hover{text-decoration:underline}
.cm-miss{display:block;font-size:12px;color:#94A3B8}
.cm-edit-row>td{background:#F6FAFF}
.cm-edit{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:8px 4px}
.cm-edit .cm-wide{grid-column:span 2}
.cm-edit .cm-file{grid-column:span 2}
.cm-file small{font-weight:600;color:#4A6390}
.cm-file small label{display:inline}
.cm-edit .flash,.cm-edit-acts{grid-column:1/-1}
.cm-edit-acts{display:flex;gap:8px}
.cm-up{position:relative;display:flex;gap:10px;align-items:center;border:1.5px dashed #9FB2D8;border-radius:12px;background:#fff;padding:9px 12px;cursor:pointer;font-size:13px;color:#0B1470}
.cm-up:hover{border-color:#2E4BE0}
.cm-up input{position:absolute;inset:0;opacity:0;cursor:pointer}
.cm-up>span:first-of-type{font-size:20px}
.cm-up small{color:#64748B}.cm-up em{display:block;font-style:normal;font-weight:800;color:#2E4BE0;font-size:12px}
@media (max-width:1100px){.cm-edit{grid-template-columns:1fr 1fr}}
/* Leads */
.ld-av{background:linear-gradient(135deg,var(--c,#2E4BE0),#38BDF8)!important;color:#fff!important}
.ld-av.xxl{width:96px;height:96px;font-size:32px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-weight:800;border:4px solid #fff;box-shadow:0 6px 18px rgba(11,20,112,.18)}
.ld-st{display:inline-block;font-size:12px;font-weight:800;border-radius:999px;padding:3px 10px;background:color-mix(in srgb,var(--c) 12%,#fff);color:var(--c);white-space:nowrap}
.ld-due{color:#B91C1C!important;font-weight:800}
.ld-convert{margin-top:8px}
.ld-inline{font:inherit;font-size:13.5px;border:1px solid #D6E2F5;border-radius:8px;padding:4px 6px;max-width:100%}
.ld-data{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:8px 16px;margin:0}
.ld-data dt{font-size:11px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:#64748B}.ld-data dd{margin:0;color:#0B1470}
.ld-add{background:#F6FAFF;border:1.5px solid #D6E2F5;border-radius:16px;padding:12px;margin-bottom:16px}
.ld-add>input{position:absolute;opacity:0;pointer-events:none}
.ld-add>label{display:inline-block;padding:7px 13px;border-radius:999px;font-weight:800;font-size:13.5px;color:#33508A;cursor:pointer;margin:0 4px 8px 0;background:#fff;border:1.5px solid #D6E2F5}
.ld-add>input:checked+label{background:#0B1470;color:#fff;border-color:#0B1470}
.ld-f{display:none;gap:8px}
#ld-note:checked~.ld-f-note,#ld-call:checked~.ld-f-call,#ld-task:checked~.ld-f-task,#ld-document:checked~.ld-f-document,#ld-visit:checked~.ld-f-visit{display:grid}
.ld-f textarea,.ld-f input,.ld-f select{font:inherit;font-size:14px;border:1.5px solid #D6E2F5;border-radius:10px;padding:9px 11px;background:#fff}
.ld-f .btn{justify-self:start}
.ld-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.ld-feed{display:grid;gap:10px}
.ld-item{display:flex;gap:12px;align-items:flex-start;border:1px solid #E2EBF8;border-left:4px solid #2E4BE0;border-radius:12px;padding:10px 12px;background:#fff}
.ld-item.t-call{border-left-color:#0EA5E9}.ld-item.t-task{border-left-color:#4F46E5}.ld-item.t-email{border-left-color:#0284C7}.ld-item.t-document{border-left-color:#0B1470}
.ld-item.done{opacity:.6}
.ld-ic{font-size:20px}
.ld-body{flex:1;min-width:0}
.ld-h{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}.ld-h b{color:#0B1470;font-size:14px}.ld-h span{color:#64748B;font-size:12px}
.ld-subj{margin:4px 0 0;font-weight:700;color:#0B1470}
.ld-text{margin:4px 0 0;white-space:pre-line;color:#33508A;font-size:14px}
.ld-task{margin:6px 0 0;font-size:13px;color:#4F46E5;font-weight:700}
.ld-file{display:inline-block;margin-top:6px;font-weight:700;color:#2E4BE0}
.ld-x{border:0;background:none;color:#94A3B8;cursor:pointer;font-size:14px}
.ld-onb{display:inline-block;font-size:12.5px;font-weight:800;text-decoration:none;border-radius:999px;padding:6px 12px;background:linear-gradient(90deg,#0B1470,#2E4BE0);color:#fff}
.ld-onb:hover{filter:brightness(1.15)}
.ld-onb.done{background:#E0F2FE;color:#0369A1}
.ld-conv-sub{display:block;font-size:11.5px;color:#64748B;margin-top:4px;text-align:right}
/* Lead conversion report (uses the Leave page banner styles) */
.cv-legend{display:flex;gap:18px;font-size:13px;font-weight:700;color:#33508A;margin-bottom:8px}
.cv-legend i{display:inline-block;width:12px;height:12px;border-radius:4px;margin-right:6px;vertical-align:-1px}
.cv-legend i.r,.cv-bars i.r{background:#BAE6FD}.cv-legend i.c,.cv-bars i.c{background:linear-gradient(180deg,#2E4BE0,#0B1470)}
.cv-chart{display:grid;grid-template-columns:repeat(var(--n),1fr);gap:8px;height:220px;align-items:end;margin:6px 0 18px;padding:0 4px;border-bottom:1px solid #E2EBF8}
.cv-col{display:flex;flex-direction:column;align-items:center;height:100%}
.cv-bars{flex:1;width:100%;display:flex;gap:3px;align-items:flex-end;justify-content:center}
.cv-bars i{position:relative;width:42%;max-width:26px;border-radius:6px 6px 0 0;min-height:2px}
.cv-bars em{position:absolute;top:-17px;left:50%;transform:translateX(-50%);font-style:normal;font-size:11px;font-weight:800;color:#0B1470}
.cv-col small{font-size:11.5px;color:#64748B;padding:6px 0 2px;font-weight:700}
.cv-table td,.cv-table th{white-space:nowrap}
.cv-two{display:grid;grid-template-columns:1fr 1fr;gap:16px}
@media (max-width:1100px){.cv-two{grid-template-columns:1fr}}
.cv-mini{display:inline-block;width:70px;height:6px;border-radius:999px;background:#EEF4FF;margin-left:8px;vertical-align:middle;overflow:hidden}
.cv-mini i{display:block;height:100%;background:linear-gradient(90deg,#2E4BE0,#38BDF8)}
.cv-h{font-size:14px;color:#0B1470;margin:16px 0 8px}
.cv-cons{display:flex;justify-content:space-between;padding:6px 0;border-bottom:1px solid #EEF2F8;font-size:14px}.cv-cons b{color:#2E4BE0}
.ld-task{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.ld-done-f{display:inline;margin:0}
.ld-done-btn{border:0;border-radius:999px;padding:6px 14px;font:inherit;font-size:13px;font-weight:800;color:#fff;background:linear-gradient(90deg,#0B1470,#2E4BE0);box-shadow:0 3px 10px rgba(46,75,224,.25);cursor:pointer}
.ld-done-btn:hover{filter:brightness(1.15)}
.ld-done-btn.is-done{background:#E0F2FE;color:#0369A1;box-shadow:none}

/* ---------- Invoices ---------- */
.inv-pill{display:inline-flex;align-items:center;border-radius:999px;padding:4px 11px;font-size:12px;font-weight:800;white-space:nowrap;background:#E0F2FE;color:#0369A1}
.inv-pill.s-paid{background:#0B1470;color:#fff}
.inv-pill.s-partially-paid{background:#FEF3C7;color:#92400E}
.inv-pill.s-unpaid{background:#E5E9FD;color:#2E4BE0}
.inv-pill.s-cancelled{background:#F1F5F9;color:#64748B;text-decoration:line-through}
/* on the student file */
.inv-panel .sc-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.inv-sum{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:6px 0 14px}
.inv-sum>div{background:linear-gradient(135deg,#F0F9FF,#fff);border:1px solid #DBEEFB;border-radius:16px;padding:12px 16px}
.inv-sum small{display:block;font-size:12px;font-weight:700;color:#64748B}
.inv-sum b{font-size:19px;color:#0B1470}
.inv-sum .due b{color:#0284C7}
.inv-list{display:grid;gap:8px}
.inv-item{display:grid;grid-template-columns:42px 1fr auto auto;align-items:center;gap:14px;padding:12px 16px;border:1px solid #DBEEFB;border-radius:16px;background:#fff;text-decoration:none;color:inherit;transition:border-color .15s,box-shadow .15s,transform .15s}
.inv-item:hover{border-color:#7DD3FC;box-shadow:0 8px 22px rgba(11,20,112,.08);transform:translateY(-1px)}
.inv-item .ic{width:42px;height:42px;border-radius:13px;display:flex;align-items:center;justify-content:center;background:#E0F2FE;font-size:19px}
.inv-item b{color:#0B1470;font-size:15px}
.inv-item small{display:block;color:#64748B;font-size:12.5px;margin-top:2px}
.inv-item .amt{text-align:right;font-weight:800;color:#0B1470}
.inv-item .amt small{color:#0284C7;font-weight:700}
.inv-item.s-cancelled{opacity:.6}
@media (max-width:640px){.inv-sum{grid-template-columns:1fr}.inv-item{grid-template-columns:36px 1fr}.inv-item .amt,.inv-item .inv-pill{grid-column:2;text-align:left;justify-self:start}}
/* form */
.inv-branches{display:grid;grid-template-columns:1fr 1fr 220px;gap:14px;padding:20px 22px 22px;align-items:stretch}
.inv-branch{position:relative;cursor:pointer}
.inv-branch input{position:absolute;opacity:0}
.inv-branch>span{display:flex;flex-direction:column;gap:4px;height:100%;padding:14px 16px 14px 46px;border:1.5px solid #E2E8F0;border-radius:16px;background:#F8FAFC;transition:.15s}
.inv-branch>span::before{content:"";position:absolute;left:16px;top:16px;width:18px;height:18px;box-sizing:border-box;border-radius:50%;border:2px solid #CBD5E1;background:#fff}
.inv-branch input:checked+span{border-color:#0B1470;background:#F0F9FF;box-shadow:0 0 0 4px rgba(11,20,112,.08)}
.inv-branch input:checked+span::before{border:6px solid #0B1470}
.inv-branch input:focus-visible+span{outline:2px solid #38BDF8;outline-offset:2px}
.inv-branch b{color:#0B1470}
.inv-branch small{color:#64748B;font-size:12.5px;line-height:1.4}
.inv-billed{display:flex;gap:12px;flex-wrap:wrap;align-items:center;padding:18px 22px 0}
.inv-who{display:flex;align-items:center;gap:12px;padding:10px 16px 10px 10px;background:#F0F9FF;border-radius:16px;flex:1 1 240px}
.inv-who b{display:block;color:#0B1470;font-size:16px}
.inv-who small{color:#0284C7;font-weight:700}
.inv-chip{display:flex;flex-direction:column;padding:10px 16px;border:1px solid #DBEEFB;border-radius:16px;flex:1 1 200px}
.inv-chip span{font-size:12px;font-weight:700;color:#64748B}
.inv-chip b{color:#0B1470;word-break:break-all}
.inv-lines,.inv-pays{display:grid;gap:10px;padding:18px 22px 4px}
.inv-line{display:grid;grid-template-columns:190px minmax(220px,1fr) 96px 130px 130px 120px 36px;gap:10px;align-items:start;padding:12px;border:1px solid #E0ECF8;border-radius:16px;background:#FBFDFF}
.inv-line .sf-f input,.inv-line .sf-f select,.inv-pay .sf-f input,.inv-pay .sf-f select{min-height:42px;padding:9px 11px;font-size:14px}
.inv-line .sf-f>span,.inv-pay .sf-f>span{font-size:12px}
.inv-desc .inv-detail{margin-top:6px;font-size:13px!important;min-height:36px!important;background:#fff!important}
.inv-num input{text-align:right}
.inv-line [data-ratebox].off{visibility:hidden}
.inv-bdt{display:flex;flex-direction:column;gap:6px;text-align:right}
.inv-bdt span{font-size:12px;font-weight:700;color:#64748B}
.inv-bdt b{min-height:42px;display:flex;align-items:center;justify-content:flex-end;padding:0 10px;border-radius:12px;background:#E0F2FE;color:#0B1470;font-size:15px}
.inv-del{margin-top:24px;width:36px;height:42px;border:0;border-radius:12px;background:transparent;color:#94A3B8;font-size:16px;cursor:pointer}
.inv-del:hover{background:#E0F2FE;color:#0B1470}
.inv-add{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:8px 22px 20px}
.inv-addbtn{border:1.5px dashed #7DD3FC;background:#F0F9FF;color:#0369A1;font:inherit;font-weight:800;font-size:14px;padding:10px 16px;border-radius:12px;cursor:pointer}
.inv-addbtn:hover{background:#E0F2FE;border-color:#0284C7}
.inv-pays+template+.inv-addbtn{margin:8px 22px 0}
.inv-disc{display:flex;align-items:center;gap:10px;font-weight:700;font-size:14px;color:#334155}
.inv-disc input{font:inherit;width:150px;text-align:right;padding:9px 11px;border:1.5px solid #E2E8F0;border-radius:12px;background:#F8FAFC}
.inv-pay-wrap{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:20px;padding-bottom:22px}
.inv-pay{display:grid;grid-template-columns:150px 150px 150px minmax(140px,1fr) 36px;gap:10px;align-items:start;padding:12px;border:1px solid #E0ECF8;border-radius:16px;background:#FBFDFF}
.inv-pays:empty{display:none}
.inv-bal{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:16px 22px 0;padding:16px;border-radius:16px;background:#FFFBEB;border:1px solid #FDE68A}
.inv-bal[hidden]{display:none}
.inv-bal .sf-f.wide{grid-column:1/-1}
.inv-bal [data-datebox][hidden]{display:none}
.inv-totals{margin:18px 22px 0 0;align-self:start;position:sticky;top:16px;background:linear-gradient(160deg,#0B1470,#1E3A8A);color:#fff;border-radius:20px;padding:18px 20px;display:grid;gap:10px;box-shadow:0 14px 30px rgba(11,20,112,.22)}
.inv-totals>div{display:flex;justify-content:space-between;gap:10px;font-size:14px;color:#DCE7FF}
.inv-totals>div[hidden]{display:none}
.inv-totals b{color:#fff}
.inv-totals .big{padding-top:10px;border-top:1px solid rgba(255,255,255,.18);font-size:17px}
.inv-totals .bal{padding:10px 12px;margin:2px -6px 0;border-radius:12px;background:rgba(56,189,248,.18);font-size:16px}
.inv-status{margin:4px 0 0;justify-self:start;border-radius:999px;padding:4px 12px;font-size:12px;font-weight:800;background:rgba(255,255,255,.14)}
.inv-status.s-paid{background:#38BDF8;color:#0B1470}
.inv-status.s-partially-paid{background:#FDE68A;color:#78350F}
.inv-signote{flex-direction:row!important;align-items:center;gap:14px!important}
.inv-signote img{max-height:56px;max-width:200px;padding:6px 12px;background:#F8FAFC;border:1px solid #E2E8F0;border-radius:12px}
@media (max-width:1100px){.inv-line{grid-template-columns:1fr 1fr 1fr}.inv-line .inv-desc{grid-column:1/-1;order:-1}.inv-del{margin-top:0}.inv-pay-wrap{grid-template-columns:1fr}.inv-totals{margin:0 22px;position:static}.inv-branches{grid-template-columns:1fr 1fr}.inv-branches .inv-date{grid-column:1/-1}}
@media (max-width:640px){.inv-line,.inv-pay,.inv-branches,.inv-bal{grid-template-columns:1fr}.inv-lines,.inv-pays{padding:14px}}
/* invoice page */
.inv-hero{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap;padding:24px 28px;border-radius:24px;color:#fff;background:radial-gradient(circle at 90% 0%,rgba(56,189,248,.45),transparent 50%),linear-gradient(120deg,#0B1470,#1E40AF);box-shadow:0 16px 36px rgba(11,20,112,.2)}
.inv-hero h2{margin:2px 0 4px;color:#fff;font-size:28px;letter-spacing:.02em}
.inv-eyebrow{margin:0;font-size:13px;font-weight:700;color:#BAE6FD}
.inv-meta{margin:0;color:#DCE7FF;font-size:14px}
.inv-meta a{color:#fff;font-weight:700}
.inv-hero-r{display:flex;align-items:center;gap:16px}
.inv-big{text-align:right}
.inv-big small{display:block;color:#BAE6FD;font-weight:700;font-size:12px}
.inv-big b{font-size:26px}
.inv-hero .inv-pill.s-paid{background:#38BDF8;color:#0B1470}
.inv-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:16px 0}
.inv-actions .is-off,.inv-send .is-off{opacity:.45;pointer-events:none}
.inv-pdfstate{font-size:13px;font-weight:700;color:#64748B}
.inv-pdfstate.ok{color:#0284C7}
.inv-pdfstate.busy::before{content:"";display:inline-block;width:12px;height:12px;margin-right:8px;border:2px solid #BAE6FD;border-top-color:#0284C7;border-radius:50%;animation:invspin .8s linear infinite;vertical-align:-2px}
.inv-pdfstate.err{color:#B45309}
@keyframes invspin{to{transform:rotate(360deg)}}
.inv-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:20px;align-items:start}
@media (max-width:1100px){.inv-layout{grid-template-columns:1fr}}
.inv-paper{position:relative;overflow:hidden;background:#fff;border-radius:18px;padding:30px 34px 26px;box-shadow:0 1px 2px rgba(16,19,43,.05),0 18px 40px rgba(11,20,112,.08);border-top:6px solid;border-image:linear-gradient(90deg,#002367,#1A5FD0) 1}
.inv-void{position:absolute;top:38%;left:50%;transform:translate(-50%,-50%) rotate(-24deg);font-size:84px;font-weight:900;color:rgba(185,28,28,.1);pointer-events:none;letter-spacing:.1em}
.inv-ph{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
.inv-ph img{width:150px}
.inv-ph>div{text-align:right}
.inv-ph h3{margin:0;font-size:30px;letter-spacing:.18em;color:#002367}
.inv-ph p{margin:3px 0;color:#64748B;font-size:13px}
.inv-ph p b{color:#002367;font-size:15px}
.inv-pmeta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:20px 0;padding:16px 18px;background:#F4F7FC;border:1px solid #DCE3EF;border-radius:14px}
.inv-pmeta small{display:block;font-size:11px;font-weight:800;letter-spacing:.06em;color:#1A5FD0;margin-bottom:6px}
.inv-pmeta b{display:block;color:#002367;font-size:13.5px}
.inv-pmeta span{display:block;font-size:13px;color:#1C2638;line-height:1.5}
.inv-ptable{width:100%;border-collapse:separate;border-spacing:0;font-size:13.5px}
.inv-ptable thead th{background:#002367;color:#fff;font-size:11px;letter-spacing:.05em;text-transform:uppercase;padding:9px 12px;text-align:left}
.inv-ptable thead th:first-child{border-radius:8px 0 0 8px}
.inv-ptable thead th:last-child{border-radius:0 8px 8px 0}
.inv-ptable td{padding:11px 12px;border-bottom:1px solid #E3E8F2;vertical-align:top}
.inv-ptable tbody tr:nth-child(even) td{background:#FAFBFE}
.inv-ptable td small{display:block;color:#64748B;font-size:12px}
.inv-ptable .num{text-align:right;white-space:nowrap}
.inv-pfoot{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:20px;margin-top:18px}
.inv-pboxes{display:grid;gap:9px;align-content:start}
.inv-pboxes>div{border:1px solid #DCE3EF;border-radius:12px;padding:10px 14px}
.inv-pboxes>div.due{background:#FFF8E6;border-color:#F0D58A}
.inv-pboxes small{font-size:11px;font-weight:800;letter-spacing:.05em;color:#1A5FD0}
.inv-pboxes p{margin:4px 0 0;font-size:13px}
.inv-ptotals{display:grid;gap:4px;align-content:start}
.inv-ptotals>div{display:flex;justify-content:space-between;padding:6px 0;border-bottom:1px solid #E3E8F2;font-size:13.5px}
.inv-ptotals .tot{background:#002367;color:#fff;border:0;border-radius:8px;padding:8px 12px;margin-top:4px;font-weight:800}
.inv-ptotals .bal{background:#FFF3D1;color:#7A5600;border:0;border-radius:8px;padding:8px 12px;margin-top:6px;font-weight:800}
.inv-ptotals .bal.zero{background:#E0F2FE;color:#002367}
.inv-psig{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-top:28px}
.inv-psig p{margin:0;font-weight:800;color:#002367}
.inv-psig>div:first-child small{display:block;margin-top:4px;color:#64748B;font-size:12px}
.inv-issuer{min-width:230px;padding:12px 16px;background:#F4F7FC;border:1px solid #DCE3EF;border-radius:12px}
.inv-issuer small{display:block;font-size:11px;font-weight:800;letter-spacing:.05em;color:#1A5FD0}
.inv-issuer b{display:block;color:#002367;font-size:15px}
.inv-issuer span{font-size:12px;color:#64748B}
@media (max-width:760px){.inv-pmeta,.inv-pfoot{grid-template-columns:1fr}.inv-paper{padding:20px}.inv-ptable{font-size:12.5px}}
.inv-side{display:grid;gap:14px}
.inv-card{background:#fff;border-radius:18px;padding:16px 18px;box-shadow:0 1px 2px rgba(16,19,43,.05);border-top:4px solid var(--c)}
.inv-card h3{margin:0 0 8px;font-size:15px;color:var(--c)}
.inv-card .sub{font-size:13px}
.inv-send{display:grid;gap:8px}
.inv-send input,.inv-send textarea,.inv-cancel input{font:inherit;font-size:14px;padding:10px 12px;border:1.5px solid #E2E8F0;border-radius:12px;background:#F8FAFC;width:100%;box-sizing:border-box}
.inv-send input:focus,.inv-send textarea:focus{outline:0;border-color:#0284C7;background:#fff;box-shadow:0 0 0 4px rgba(2,132,199,.12)}
.inv-hist{list-style:none;margin:0;padding:0;display:grid;gap:8px;font-size:13px}
.inv-hist li{padding:8px 12px;border-radius:10px;background:#F8FAFC;border-left:3px solid #BAE6FD}
.inv-hist li.ok{border-left-color:#0284C7;background:#F0F9FF}
.inv-hist li.warn{border-left-color:#F59E0B;background:#FFFBEB}
.inv-hist li.muted{color:#64748B}
.inv-cancel summary{cursor:pointer;font-weight:700;color:#64748B}
.inv-cancel form{display:grid;gap:8px}

/* ---------- Documents checklists ---------- */
.cl-flag{display:inline-flex;width:46px;height:46px;flex:none;border-radius:50%;overflow:hidden;border:3px solid #fff;box-shadow:0 6px 16px rgba(0,0,30,.25)}
.cl-flag svg{width:100%;height:100%;display:block}
.cl-flag.sm{width:24px;height:24px;border-width:2px;box-shadow:0 2px 6px rgba(11,20,112,.2)}
.cl-flag.lg{width:58px;height:58px}
.cl-country{display:inline-flex;align-items:center;gap:8px;padding:5px 12px 5px 5px;border-radius:999px;background:#E0F2FE;color:#0B1470;font-weight:800;font-size:13px}
.cl-asked{margin:0 0 12px;padding:10px 14px;border-radius:14px;background:#FFFBEB;border:1px solid #FDE68A;color:#78350F;font-size:14px}
.cl-kinds{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:16px}
@media (max-width:980px){.cl-kinds{grid-template-columns:1fr}}
.cl-kind{background:linear-gradient(180deg,#F0F9FF,#fff 60%);border:1px solid #DBEEFB;border-radius:18px;padding:14px;display:grid;gap:8px;align-content:start}
.cl-kind h3{margin:2px 4px 4px;font-size:14px;color:#0B1470}
.cl-tile{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;background:#fff;border:1px solid #E0ECF8;border-radius:14px;border-left:4px solid #BAE6FD;transition:box-shadow .15s}
.cl-tile:hover{box-shadow:0 8px 20px rgba(11,20,112,.07)}
.cl-tile.sug{border-left-color:#2E4BE0;background:#F5F7FF}
.cl-tile.ready{border-left-color:#F59E0B}
.cl-tile.sent{border-left-color:#0B1470}
.cl-tile-t b{display:block;color:#0B1470;font-size:14px}
.cl-tile-t small{display:block;color:#64748B;font-size:12px;margin-top:2px}
.cl-tile-t em{color:#2E4BE0;font-style:normal;font-weight:800}
.cl-tile-t .cl-st{color:#0284C7;font-weight:700}
.cl-tile.ready .cl-st{color:#B45309}
.cl-tile-a{display:flex;gap:6px;flex:none}
.cl-tile-a .btn,.cl-tile-a .ghost{padding:8px 14px;font-size:13px;min-height:0}
/* form */
.cl-intro-l{display:flex;align-items:center;gap:16px}
.cl-tnote{margin:0;padding:10px 14px;border-radius:14px;background:#FFFBEB;border:1px solid #FDE68A;color:#78350F;font-size:13px}
.cl-wrap{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:20px;padding:18px 22px 22px}
@media (max-width:980px){.cl-wrap{grid-template-columns:1fr}}
.cl-tools{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.cl-tools input{flex:1 1 220px;font:inherit;font-size:14px;padding:10px 12px;border:1.5px solid #E2E8F0;border-radius:12px;background:#F8FAFC}
.cl-tools input:focus{outline:0;border-color:#2E4BE0;background:#fff;box-shadow:0 0 0 4px rgba(46,75,224,.12)}
.cl-grp{margin-bottom:14px}
.cl-grp[hidden]{display:none}
.cl-grp h4{margin:0 0 6px;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:#1A5FD0}
.cl-doc{display:grid;grid-template-columns:22px minmax(0,1fr) auto;gap:12px;align-items:center;padding:10px 12px;margin-bottom:6px;border:1.5px solid #E2E8F0;border-radius:14px;background:#fff;cursor:pointer;transition:.12s}
.cl-doc[hidden]{display:none}
.cl-doc:hover{border-color:#BAE6FD}
.cl-doc.on{border-color:#7DD3FC;background:#F0F9FF}
.cl-doc input[type=checkbox]{width:18px;height:18px;accent-color:#0B1470}
.cl-doc-t b{display:block;font-size:14px;color:#0F172A}
.cl-doc-t small{display:block;font-size:12px;color:#64748B}
.cl-doc-r{display:flex;flex-direction:column;align-items:flex-end;gap:4px}
.cl-pri{border:0;border-radius:999px;padding:3px 10px;font:inherit;font-size:11px;font-weight:800;background:#E8EEFB;color:#0B1470;cursor:pointer;white-space:nowrap}
.cl-pri.m{background:#0B1470;color:#fff}
span.cl-pri{cursor:default}
.cl-by{font-size:11px;font-weight:700;color:#1A5FD0;white-space:nowrap}
.cl-more{margin:6px 0 14px;border:1px dashed #BAE6FD;border-radius:14px;padding:10px 12px;background:#FBFDFF}
.cl-more summary{cursor:pointer;font-weight:800;color:#0369A1}
.cl-more summary small{font-weight:600;color:#64748B;margin-left:6px}
.cl-more[open] summary{margin-bottom:10px}
.cl-crow{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) auto 36px;gap:8px;align-items:center;margin-bottom:8px}
.cl-crow input:not([type=checkbox]){font:inherit;font-size:14px;padding:9px 11px;border:1.5px solid #E2E8F0;border-radius:12px;background:#F8FAFC;width:100%;box-sizing:border-box}
.cl-cm{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:700;color:#334155;white-space:nowrap}
.cl-crow .inv-del{margin:0}
@media (max-width:640px){.cl-crow{grid-template-columns:1fr}}
.cl-sum{align-self:start;position:sticky;top:16px;display:grid;gap:6px;justify-items:start;padding:18px 20px;border-radius:20px;color:#fff;background:linear-gradient(160deg,#0B1470,#1E40AF);box-shadow:0 14px 30px rgba(11,20,112,.22)}
.cl-sum-flag{width:34px;height:34px;border-radius:50%;overflow:hidden;border:2px solid #fff}
.cl-sum-flag svg{width:100%;height:100%;display:block}
.cl-sum>b{font-size:40px;line-height:1}
.cl-sum>span{color:#BAE6FD;font-weight:700;font-size:13px}
.cl-sum-row{display:flex;align-items:center;gap:8px;font-size:14px;color:#DCE7FF}
.cl-sum-row i{width:10px;height:10px;border-radius:50%;background:#BAE6FD}
.cl-sum-row i.m{background:#fff}
.cl-sum-row b{color:#fff}
.cl-sum p{margin:6px 0 0;font-size:12px;color:#BAE6FD}
@media (max-width:980px){.cl-sum{position:static}}
/* page */
.cl-hero .cl-intro-l{gap:18px}
.cl-hero h2{font-size:24px}
.cl-hero-n{text-align:right;color:#fff}
.cl-hero-n b{display:block;font-size:40px;line-height:1}
.cl-hero-n span{font-weight:700;color:#BAE6FD}
.cl-hero-n small{display:block;color:#DCE7FF;font-size:12px;margin-top:2px}
.cl-paper{padding:26px 30px}
.cl-sendto{padding:12px 16px;margin-bottom:14px;border-radius:12px;background:#FFF4D6;border:1px solid #F0C24B;border-left:5px solid #E0A100}
.cl-sendto small{display:block;font-size:11px;font-weight:800;letter-spacing:.05em;color:#7A4B00}
.cl-sendto b{color:#002367;font-size:17px}
.cl-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 18px;padding:14px 18px;margin-bottom:14px;background:#F3F7FF;border:1px solid #DBE1EC;border-left:4px solid #1A5FD0;border-radius:12px}
.cl-facts small{display:block;font-size:10.5px;font-weight:800;letter-spacing:.05em;color:#5F6B84}
.cl-facts b{color:#13213A;font-size:14px}
@media (max-width:760px){.cl-facts{grid-template-columns:1fr 1fr}}
.cl-ph{display:flex;align-items:center;gap:10px;margin:16px 0 8px;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:#1A5FD0}
.cl-ph::after{content:"";flex:1;height:1px;background:#DBE1EC}
.cl-plist{list-style:none;margin:0;padding:0;display:grid;gap:5px}
.cl-plist li{display:grid;grid-template-columns:16px minmax(0,1fr) auto 110px;gap:12px;align-items:center;padding:9px 12px;border:1px solid #DBE1EC;border-radius:9px;position:relative}
.cl-plist li:nth-child(even){background:#F8FAFF}
.cl-plist li.m::before{content:"";position:absolute;left:0;top:6px;bottom:6px;width:3px;border-radius:2px;background:#002367}
.cl-plist .box{width:14px;height:14px;border:1.5px solid #9FB2D8;border-radius:3px;background:#fff}
.cl-plist .t b{display:block;font-size:13.5px;color:#13213A}
.cl-plist .t small{display:block;font-size:12px;color:#5F6B84;font-style:italic}
.cl-plist .cl-by{white-space:normal;text-align:right}
@media (max-width:760px){.cl-plist li{grid-template-columns:16px 1fr}.cl-plist .cl-pri,.cl-plist .cl-by{grid-column:2;justify-self:start}}
.cl-pnote{margin-top:16px;padding:12px 16px;border-radius:12px;background:#EEF6FF;border:1px solid #CFE1FB}
.cl-pnote small{font-size:11px;font-weight:800;letter-spacing:.05em;color:#1A5FD0}
.cl-pnote p{margin:4px 0 0;font-size:13.5px}
.cl-tile.sel{border:2px solid #2E4BE0;border-left-width:6px;background:linear-gradient(90deg,#EEF2FF,#fff);box-shadow:0 8px 22px rgba(46,75,224,.12)}

/* ---------- LSA Staff Tools ---------- */
.tk-hero{position:relative;display:flex;align-items:center;gap:18px;flex-wrap:wrap;padding:24px 28px;border-radius:24px;color:#fff;background:radial-gradient(circle at 92% 0%,rgba(56,189,248,.45),transparent 50%),linear-gradient(120deg,#0B1470,#1E40AF);box-shadow:0 16px 36px rgba(11,20,112,.2);margin-bottom:18px}
.tk-hero h2{margin:2px 0 4px;color:#fff;font-size:26px}
.tk-hero p{margin:0;color:#DCE7FF;font-size:14.5px;max-width:760px}
.tk-hero .tk-eyebrow{color:#BAE6FD;font-weight:800;font-size:12.5px;letter-spacing:.06em;text-transform:uppercase}
.tk-hero-sm{padding:18px 22px}
.tk-hero-sm h2{font-size:22px}
.tk-hero-sm>div{flex:1;min-width:240px}
.tk-ic{width:48px;height:48px;flex:none;border-radius:15px;display:flex;align-items:center;justify-content:center;font-size:24px;background:color-mix(in srgb,var(--c) 14%,#fff)}
.tk-ic.lg{width:58px;height:58px;font-size:28px;background:rgba(255,255,255,.16)}
.tk-switch{display:flex;gap:6px;background:rgba(255,255,255,.12);padding:5px;border-radius:14px}
.tk-switch a{width:40px;height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:19px;text-decoration:none;transition:background .15s}
.tk-switch a:hover{background:rgba(255,255,255,.18)}
.tk-switch a.on{background:#fff;box-shadow:0 4px 12px rgba(0,0,0,.15)}
.tk-note{margin:0 0 16px;padding:11px 16px;border-radius:14px;background:#FFFBEB;border:1px solid #FDE68A;color:#78350F;font-size:14px}
.tk-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px}
.tk-card{display:flex;flex-direction:column;gap:10px;padding:22px;border-radius:22px;background:#fff;border:1px solid #E0ECF8;border-top:5px solid var(--c);text-decoration:none;color:inherit;box-shadow:0 1px 2px rgba(16,19,43,.05);transition:transform .18s,box-shadow .18s}
.tk-card:hover{transform:translateY(-3px);box-shadow:0 16px 34px rgba(11,20,112,.1)}
.tk-card b{font-size:18px;color:#0B1470}
.tk-card p{margin:0;color:#475569;font-size:14px;line-height:1.55;flex:1}
.tk-foot{display:flex;justify-content:space-between;align-items:center;font-weight:800;color:var(--c);font-size:14px}
.tk-foot i{font-style:normal;font-size:12px;background:#E0F2FE;color:#0369A1;border-radius:999px;padding:3px 10px}
.tk-foot span{margin-left:auto}
/* tool content inside the portal */
.lsa-tool{border-radius:20px}
.lsa-tool .toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%) translateY(30px);opacity:0;pointer-events:none;background:#0B1470;color:#fff;border-radius:12px;padding:11px 18px;font-weight:700;z-index:90;transition:.25s;box-shadow:0 12px 30px rgba(11,20,112,.3)}
.lsa-tool .toast.on{opacity:1;transform:translateX(-50%) translateY(0)}

/* ---------- Logs & notes (tabbed) on the student file ---------- */
.lg-panel .sc-head .sub{font-size:13px;color:#64748B}
.lg-tabs{margin:0 0 4px;padding:6px;background:#F4F7FC;border:1px solid #E2E8F0;border-radius:16px;box-shadow:none}
.lg-tabs a:hover{background:#fff}
.lg-tabs a.on{background:var(--c);color:#fff;box-shadow:0 6px 16px color-mix(in srgb,var(--c) 30%,transparent)}
.lg-tabs a.on .ti{background:rgba(255,255,255,.2)}
.lg-tabs a.on i{background:rgba(255,255,255,.22);color:#fff}
.lg-pane{padding-top:14px}
.lg-pane > h2:first-child,.lg-pane > .panel-head:first-child h2,.lg-pane > .sc-head:first-child h2{font-size:15px;color:var(--c);margin:0 0 12px}
.lg-badge{display:inline-flex;align-items:center;border-radius:999px;padding:3px 10px;font-size:12px;font-weight:800;background:#FEF3C7;color:#92400E}

/* ---------- Sidebar: each menu group in its own block ---------- */
.side nav{gap:12px}
.side .ngrp{display:flex;flex-direction:column;gap:2px;padding:8px;border-radius:16px;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.08);border-left:3px solid var(--g)}
.side .ngrp .grp{display:flex;align-items:center;gap:8px;margin:2px 4px 6px;padding:0 0 8px;border-bottom:1px solid rgba(255,255,255,.1);color:var(--g);font-size:11px;letter-spacing:.12em}
.side .ngrp .gi{width:24px;height:24px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;font-size:13px;letter-spacing:0;background:color-mix(in srgb,var(--g) 22%,transparent)}
.side .ngrp a{padding:8px 10px;font-size:13.5px}
.side .ngrp a:hover{background:color-mix(in srgb,var(--g) 16%,transparent)}
.side .ngrp a.on{background:#fff;color:#0B1470;box-shadow:inset 3px 0 0 var(--g)}
.dc-count{display:inline-flex;align-items:center;margin-left:8px;border-radius:999px;padding:3px 10px;font-size:12px;font-weight:800;background:#E0F2FE;color:#0369A1;vertical-align:middle}

/* Sidebar in the LSA logo blue (#012169) with white menu text */
.side{background:linear-gradient(180deg,#012169 0%,#011B57 100%)}
.side .ngrp{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.14);border-left:1px solid rgba(255,255,255,.14)}
.side .ngrp .grp{color:#fff;border-bottom-color:rgba(255,255,255,.16)}
.side .ngrp .gi{background:rgba(255,255,255,.14)}
.side .ngrp a{color:#fff}
.side .ngrp a:hover{background:rgba(255,255,255,.12);color:#fff}
.side .ngrp a.on{background:#fff;color:#012169;box-shadow:none;font-weight:800}
/* ---------- Visa submission (compact) ---------- */
.vs-form{display:grid;gap:14px}
.vs-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 12px}
@media (max-width:1100px){.vs-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.vs-f{display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:700;color:#475569}
.vs-f input,.vs-f select,.vs-f textarea{font:inherit;font-size:14px;font-weight:500;color:var(--ink);padding:8px 10px;min-height:38px;border:1.5px solid #E2E8F0;border-radius:10px;background:#F8FAFC;width:100%;box-sizing:border-box}
.vs-f input:focus,.vs-f select:focus,.vs-f textarea:focus{outline:0;background:#fff;border-color:#2563EB;box-shadow:0 0 0 3px rgba(37,99,235,.12)}
.vs-cols{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:12px}
@media (max-width:1000px){.vs-cols{grid-template-columns:1fr}}
.vs-box{border:1px solid #DBEEFB;border-radius:14px;padding:12px 14px;background:linear-gradient(180deg,#F8FBFF,#fff)}
.vs-head{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-bottom:8px}
.vs-head b{color:#0B1470;font-size:14px}
.vs-head .dc-count{margin:0}
.vs-bar{height:6px;border-radius:99px;background:#E0F2FE;overflow:hidden;margin-bottom:10px}
.vs-bar i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#0B1470,#38BDF8);transition:width .3s}
.vs-chips{display:flex;flex-wrap:wrap;gap:6px}
.vs-chip{position:relative;cursor:pointer}
.vs-chip input{position:absolute;opacity:0;pointer-events:none}
.vs-chip span{display:inline-flex;align-items:center;gap:6px;padding:6px 11px;border-radius:999px;border:1.5px solid #DBE4F0;background:#fff;font-size:12.5px;font-weight:700;color:#334155;transition:.12s}
.vs-chip span::before{content:"";width:12px;height:12px;border-radius:4px;border:1.5px solid #94A3B8;background:#fff;flex:none}
.vs-chip:hover span{border-color:#7DD3FC}
.vs-chip input:checked+span{background:#0B1470;border-color:#0B1470;color:#fff}
.vs-chip input:checked+span::before{content:"✓";border:0;background:#38BDF8;color:#0B1470;font-size:10px;font-weight:900;display:inline-flex;align-items:center;justify-content:center}
.vs-chip input:focus-visible+span{outline:2px solid #38BDF8;outline-offset:2px}
.vs-hint{display:block;margin-top:8px;color:#64748B;font-size:12px}
.vs-foot{display:flex;align-items:flex-end;gap:12px}
.vs-note{flex:1}
.vs-note textarea{min-height:42px;resize:vertical}
.vs-foot .btn{flex:none}
@media (max-width:700px){.vs-foot{flex-direction:column;align-items:stretch}}

/* Visa submission: team strip, three status cards, bank maturity */
.vs-team{display:grid;grid-template-columns:auto repeat(3,minmax(0,1fr));gap:10px;align-items:end;padding:10px 12px;border-radius:14px;background:#F4F7FC;border:1px solid #E2E8F0}
.vs-team-t{align-self:center;font-weight:800;color:#0B1470;font-size:13px;padding-right:4px}
.vs-person{display:flex;flex-direction:column;gap:3px;font-size:11.5px;font-weight:700;color:#64748B}
.vs-person input{font:inherit;font-size:14px;font-weight:600;color:#0B1470;padding:7px 10px 7px 32px;min-height:36px;border:1.5px solid #E2E8F0;border-radius:999px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4 4-6 8-6s8 2 8 6'/%3E%3C/svg%3E") 10px center/15px no-repeat;width:100%;box-sizing:border-box}
.vs-person input:focus{outline:0;border-color:#2563EB;box-shadow:0 0 0 3px rgba(37,99,235,.12)}
@media (max-width:900px){.vs-team{grid-template-columns:1fr}}
.vs-status{display:grid;grid-template-columns:1.2fr 1.5fr 1fr;gap:12px}
@media (max-width:1100px){.vs-status{grid-template-columns:1fr}}
.vs-card{border-radius:16px;padding:12px 14px;display:flex;flex-direction:column;gap:10px}
.vs-card-h{display:flex;align-items:center;gap:10px}
.vs-card-h b{display:block;font-size:14px}
.vs-card-h small{display:block;font-size:12px;opacity:.8}
.vs-ic{width:34px;height:34px;flex:none;border-radius:11px;display:flex;align-items:center;justify-content:center;font-size:17px;background:rgba(255,255,255,.18)}
/* 1 · stage: deep navy card with a step tracker */
.vs-stage{background:linear-gradient(135deg,#0B1470,#1E40AF);color:#fff;box-shadow:0 10px 24px rgba(11,20,112,.18)}
.vs-stage small{color:#BAE6FD}
.vs-stage select{font:inherit;font-size:14px;font-weight:700;padding:8px 12px;border-radius:12px;border:0;background:#fff;color:#0B1470;min-height:38px}
.vs-steps{display:flex;gap:4px}
.vs-steps i{flex:1;height:6px;border-radius:99px;background:rgba(255,255,255,.2)}
.vs-steps i.done{background:#38BDF8}
.vs-steps i.now{background:#fff;box-shadow:0 0 0 2px rgba(56,189,248,.6)}
/* 2 · handling: light card with stage chips */
.vs-handle{background:#F0F9FF;border:1px solid #BAE6FD}
.vs-handle .vs-card-h b{color:#0369A1}
.vs-handle .vs-ic{background:#E0F2FE}
.vs-pills{display:flex;flex-wrap:wrap;gap:6px}
.vs-pill{cursor:pointer}
.vs-pill input{position:absolute;opacity:0;pointer-events:none}
.vs-pill span{display:inline-block;padding:6px 11px;border-radius:999px;background:#fff;border:1.5px solid #BAE6FD;font-size:12.5px;font-weight:700;color:#0369A1;transition:.12s}
.vs-pill input:checked+span{background:#0284C7;border-color:#0284C7;color:#fff;box-shadow:0 4px 10px rgba(2,132,199,.25)}
.vs-pill input:focus-visible+span{outline:2px solid #0B1470;outline-offset:2px}
/* 3 · documents: received / not received switch */
.vs-docs{background:#fff;border:1.5px dashed #CBD5E1}
.vs-docs .vs-card-h b{color:#0B1470}
.vs-docs .vs-ic{background:#EEF2FF}
.vs-switch{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;border-radius:14px;background:#F1F5F9}
.vs-switch label{cursor:pointer}
.vs-switch input{position:absolute;opacity:0;pointer-events:none}
.vs-switch span{display:block;text-align:center;padding:9px 6px;border-radius:10px;font-size:13px;font-weight:800;color:#64748B;transition:.12s}
.vs-switch input:checked+span.yes{background:#0B1470;color:#fff;box-shadow:0 4px 10px rgba(11,20,112,.25)}
.vs-switch input:checked+span.no{background:#FEF3C7;color:#92400E}
.vs-switch input:focus-visible+span{outline:2px solid #38BDF8}
/* bank maturity */
.vs-money{display:grid;grid-template-columns:1fr;gap:12px}
.vs-bank{display:grid;grid-template-columns:minmax(220px,300px) 1fr;gap:16px;align-items:center;padding:12px 16px;border-radius:16px;border:1.5px solid #E2E8F0;background:#F8FAFC;transition:.2s}
.vs-bank-l{display:flex;align-items:center;gap:10px}
.vs-bank .vs-ic{background:#E0F2FE}
.vs-bank-l .vs-f{flex:1}
.vs-bank-r{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px}
.vs-bank-r>b{font-size:30px;line-height:1;color:#0B1470}
.vs-bank-r>span{font-weight:700;color:#475569}
.vs-bank-r em{font-style:normal;font-weight:800;font-size:13px;padding:4px 10px;border-radius:999px;background:#FEF3C7;color:#92400E}
.vs-bank-bar{flex-basis:100%;height:6px;border-radius:99px;background:#E2E8F0;overflow:hidden}
.vs-bank-bar i{display:block;height:100%;border-radius:99px;background:#F59E0B}
.vs-bank-empty{color:#64748B;font-size:13px}
.vs-old{flex-basis:100%;color:#64748B;font-size:12px}
.vs-bank.wait{border-color:#FCD34D;background:#FFFBEB}
.vs-bank.ok{border-color:#16A34A;background:#F0FDF4}
.vs-bank.ok .vs-bank-r>b{color:#15803D}
.vs-bank.ok .vs-bank-r em{background:#16A34A;color:#fff}
.vs-bank.ok .vs-bank-bar i{background:#16A34A}
@media (max-width:760px){.vs-bank{grid-template-columns:1fr}}
.vs-head .vs-sub{display:block;font-size:12px;color:#64748B;font-weight:600;margin-top:1px}

/* Write an email from the student file */
.em-compose{margin:0 0 14px;border:1.5px solid color-mix(in srgb,#012169 25%,#fff);border-radius:16px;background:#fff;overflow:hidden}
.em-compose summary{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 16px;cursor:pointer;list-style:none;background:color-mix(in srgb,#012169 6%,#fff)}
.em-compose summary::-webkit-details-marker{display:none}
.em-compose summary b{color:#012169}
.em-compose summary small{color:#64748B;font-size:12.5px}
.em-ic{width:32px;height:32px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;background:color-mix(in srgb,#012169 14%,#fff)}
.em-form{display:grid;gap:8px;padding:14px 16px 16px}
.em-row{display:grid;grid-template-columns:70px 1fr;align-items:center;gap:10px;padding:6px 0;border-bottom:1px solid #F1F5F9;font-size:14px}
.em-row>span{font-size:12px;font-weight:800;color:#64748B;text-transform:uppercase;letter-spacing:.05em}
.em-row b{color:#0B1470;font-weight:700;word-break:break-all}
.em-row input{font:inherit;font-size:14px;border:0;outline:0;padding:4px 0;background:transparent;width:100%}
.em-form textarea{font:inherit;font-size:14.5px;line-height:1.55;min-height:150px;padding:12px;border:1.5px solid #E2E8F0;border-radius:12px;background:#F8FAFC;resize:vertical}
.em-form textarea:focus{outline:0;background:#fff;border-color:#012169;box-shadow:0 0 0 3px rgba(1,33,105,.12)}
.em-foot{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.em-foot small{color:#64748B;flex:1;min-width:200px}
.em-attach{font-weight:700;font-size:13px;color:#0B1470;display:flex;align-items:center;gap:6px}
.em-attach input{font-size:12px}
.sig-preview{padding:6px 18px 16px;border:1px dashed #BAE6FD;border-radius:14px;background:#fff;max-width:640px}

/* ---------- Dashboard: New students ---------- */
.ns-panel{margin-top:20px;background:#fff;border-radius:22px;overflow:hidden;box-shadow:0 1px 2px rgba(16,19,43,.05),0 14px 34px rgba(1,33,105,.07);border:1px solid #E0ECF8}
.ns-head{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:16px 22px;color:#fff;background:radial-gradient(circle at 92% -20%,rgba(56,189,248,.55),transparent 55%),linear-gradient(120deg,#012169,#1E40AF)}
.ns-title{display:flex;align-items:center;gap:12px}
.ns-ic{width:42px;height:42px;border-radius:13px;display:flex;align-items:center;justify-content:center;font-size:20px;background:rgba(255,255,255,.16)}
.ns-head h2{margin:0;color:#fff;font-size:18px}
.ns-head p{margin:2px 0 0;color:#BAE6FD;font-size:13px}
.ns-all{background:#fff;color:#012169;font-weight:800;font-size:13.5px;text-decoration:none;padding:9px 16px;border-radius:999px;box-shadow:0 6px 16px rgba(0,0,0,.15);transition:transform .15s}
.ns-all:hover{transform:translateX(3px)}
.ns-list{padding:8px 14px 14px}
.ns-row{display:grid;grid-template-columns:minmax(220px,1.6fr) minmax(120px,1fr) minmax(160px,1.1fr) minmax(100px,.8fr) minmax(150px,1.1fr) minmax(130px,.9fr);gap:12px;align-items:center;padding:11px 12px;border-radius:14px;text-decoration:none;color:#0F172A;transition:background .15s,box-shadow .15s,transform .15s}
a.ns-row:nth-child(odd){background:#F8FBFF}
a.ns-row:hover{background:#EEF6FF;box-shadow:inset 4px 0 0 #2E4BE0;transform:translateX(2px)}
.ns-cols{padding:8px 12px 6px;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#64748B}
.ns-who{display:flex;align-items:center;gap:11px;min-width:0}
.ns-who .av{width:38px;height:38px;flex:none;font-size:13px}
.ns-who>span{display:flex;flex-direction:column;min-width:0}
.ns-who b{font-size:14.5px;color:#012169;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ns-who code{align-self:flex-start;margin-top:2px;font-size:11.5px;font-weight:800;color:#2E4BE0;background:#E5E9FD;border-radius:6px;padding:1px 7px}
.ns-dest{display:flex;align-items:center;gap:8px;font-weight:600;font-size:14px}
.ns-flag{width:22px;height:22px;flex:none;border-radius:50%;overflow:hidden;box-shadow:0 0 0 2px #fff,0 2px 6px rgba(1,33,105,.2)}
.ns-flag svg{width:100%;height:100%;display:block}
.ns-type{font-size:13px;font-weight:700;color:#0369A1}
.ns-cons{display:flex;align-items:center;gap:8px;font-size:13.5px;font-weight:600;color:#334155;min-width:0}
.ns-cons i{font-style:normal;width:28px;height:28px;flex:none;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:800;background:#012169;color:#fff}
.ns-when b{display:block;font-size:13.5px;color:#012169}
.ns-when small{font-size:12px;color:#64748B}
@media (max-width:1100px){.ns-cols{display:none}.ns-row{grid-template-columns:1fr 1fr;row-gap:6px}.ns-who{grid-column:1/-1}}
.ns-row .st{white-space:normal;line-height:1.3;max-width:100%}
.vs-card-h .vs-clear{margin-left:auto;border:0;background:none;font:inherit;font-size:12px;font-weight:700;color:#64748B;cursor:pointer;padding:4px 8px;border-radius:8px}
.vs-card-h .vs-clear:hover{background:#E2E8F0;color:#0B1470}
/* Dashboard timeline: cards share the full width (1, 2 or 3 posts) */
.tl-panel .tl-grid{grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr))}
.tl-panel .tl-card{min-height:190px}

/* ---------- Team activity log ---------- */
.ac-hero{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap;padding:22px 26px;border-radius:22px;color:#fff;background:radial-gradient(circle at 92% 0%,rgba(56,189,248,.4),transparent 50%),linear-gradient(120deg,#012169,#1E40AF);box-shadow:0 14px 32px rgba(1,33,105,.2);margin-bottom:14px}
.ac-hero h2{margin:2px 0 4px;color:#fff;font-size:24px}
.ac-hero p{margin:0;color:#DCE7FF;font-size:14px}
.ac-eyebrow{color:#BAE6FD!important;font-weight:800;font-size:12.5px!important;letter-spacing:.06em;text-transform:uppercase}
.ac-hero-r{display:flex;flex-direction:column;align-items:flex-end;gap:6px}
.ac-hero-r small{color:#BAE6FD;font-size:12px;text-align:right;max-width:360px}
.ac-pdf{background:#fff;color:#012169;font-weight:800;text-decoration:none;padding:10px 18px;border-radius:999px;box-shadow:0 6px 16px rgba(0,0,0,.15)}
.ac-filters{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px;padding:12px 14px;margin-bottom:14px;background:#fff;border:1px solid #E0ECF8;border-radius:16px}
.ac-filters label{display:flex;flex-direction:column;gap:3px;font-size:11.5px;font-weight:800;color:#475569}
.ac-filters input,.ac-filters select{font:inherit;font-size:14px;padding:8px 10px;border:1.5px solid #E2E8F0;border-radius:10px;background:#F8FAFC;min-height:38px}
.ac-quick{display:flex;gap:4px;padding:4px;border-radius:12px;background:#F1F5F9;margin-right:auto}
.ac-quick a{padding:7px 12px;border-radius:9px;font-size:13px;font-weight:700;color:#012169;text-decoration:none}
.ac-quick a.on,.ac-quick a:hover{background:#012169;color:#fff}
.ac-people{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:12px;margin-bottom:12px}
.ac-person{display:flex;flex-direction:column;gap:10px;padding:14px 16px;border-radius:18px;background:#fff;border:1px solid #E0ECF8;text-decoration:none;color:inherit;transition:transform .15s,box-shadow .15s}
.ac-person:hover{transform:translateY(-2px);box-shadow:0 12px 26px rgba(1,33,105,.1)}
.ac-p-top{display:flex;align-items:center;gap:10px}
.ac-p-top .av{width:40px;height:40px;flex:none;font-size:13px;background:#012169;color:#fff}
.ac-p-top b{display:block;color:#012169}
.ac-p-top small{color:#64748B;font-size:12px}
.ac-n{margin-left:auto;font-size:26px;font-weight:800;color:#012169}
.ac-bar{height:6px;border-radius:99px;background:#E0F2FE;overflow:hidden}
.ac-bar i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#012169,#2232B3)}
.ac-cats{display:flex;flex-wrap:wrap;gap:5px}
.ac-cats span{font-size:11.5px;font-weight:700;padding:3px 9px;border-radius:999px;background:color-mix(in srgb,var(--c) 10%,#fff);color:var(--c)}
.ac-idle{margin:0 0 12px;padding:10px 14px;border-radius:12px;background:#FFFBEB;border:1px solid #FDE68A;color:#78350F;font-size:13.5px}
.ac-feed h2 small{font-size:13px;color:#64748B;font-weight:600;margin-left:6px}
.ac-day{margin:16px 0 8px;font-size:13px;letter-spacing:.05em;text-transform:uppercase;color:#2232B3}
.ac-list{list-style:none;margin:0;padding:0;display:grid;gap:4px}
.ac-list li{display:grid;grid-template-columns:72px 34px 1fr;gap:10px;align-items:center;padding:8px 10px;border-radius:12px;border-left:3px solid var(--c)}
.ac-list li:nth-child(odd){background:#F8FBFF}
.ac-list time{font-weight:800;font-size:13px;color:#012169}
.ac-ic{width:30px;height:30px;border-radius:9px;display:flex;align-items:center;justify-content:center;background:color-mix(in srgb,var(--c) 12%,#fff)}
.ac-list p{margin:0;font-size:14px;color:#0F172A}
.ac-list small{font-size:12px;color:#64748B}
.ac-list small b{color:#012169}
.ac-mail{display:flex;align-items:center;gap:6px;background:rgba(255,255,255,.12);padding:4px 4px 4px 12px;border-radius:999px}
.ac-mail-st{font-size:12.5px;font-weight:800;color:#fff}
.ac-mail-st.off{color:#FDE68A}
.ac-mail button{border:0;border-radius:999px;padding:6px 14px;font:inherit;font-size:12.5px;font-weight:800;background:#fff;color:#012169;cursor:pointer}

/* Logs & notes: one fixed-size box; notes, tasks, calls, documents and emails scroll inside it */
.lg-panel .lg-pane{max-height:560px;overflow-y:auto;overscroll-behavior:contain;margin-top:10px;padding:0 8px 8px 2px;scrollbar-width:thin;scrollbar-color:#BAE6FD transparent}
.lg-panel .lg-pane::-webkit-scrollbar{width:8px}
.lg-panel .lg-pane::-webkit-scrollbar-thumb{background:#BAE6FD;border-radius:8px}
.lg-pane > h2:first-child{position:sticky;top:0;z-index:2;background:#fff;padding:10px 0 8px;margin:0}
.lg-pane .note-filter{position:sticky;top:0;z-index:2;background:#fff;padding:8px 0;margin:0 0 6px}
.lg-compose{background:#fff;padding:8px 0}
.lg-compose summary{display:flex;align-items:center;gap:12px;flex-wrap:wrap;list-style:none;cursor:pointer}
.lg-compose summary::-webkit-details-marker{display:none}
.lg-c-btn{display:inline-flex;align-items:center;gap:6px;padding:9px 16px;border-radius:999px;background:#012169;color:#fff;font-weight:800;font-size:14px;box-shadow:0 6px 14px rgba(1,33,105,.2)}
.lg-compose[open] .lg-c-btn{background:#E0F2FE;color:#012169;box-shadow:none}
.lg-compose[open] .lg-c-btn::after{content:" · close";font-weight:600}
.lg-c-hint{font-size:13px;color:#64748B}
.lg-compose .note-compose{margin-top:10px}
.lg-panel .lg-pane{max-height:390px}

/* Prospective visa submission date (student file): red when close or passed */
.vs-deadline{display:grid;grid-template-columns:auto minmax(200px,260px) 1fr;gap:14px;align-items:center;padding:12px 16px;border-radius:16px;border:1.5px solid #C9CFF2;background:#F5F6FE;margin-bottom:12px}
.vs-deadline .vs-ic{background:#E5E8FB}
.vs-deadline-msg b{display:block;font-size:15px;color:#012169}
.vs-deadline-msg small{display:block;font-size:13px;color:#012169;font-weight:500}
.vs-deadline.soon{border-color:#DC2626;background:#FEF2F2;box-shadow:0 0 0 3px rgba(220,38,38,.12)}
.vs-deadline.soon .vs-ic{background:#DC2626;color:#fff}
.vs-deadline.soon .vs-deadline-msg b,.vs-deadline.soon .vs-deadline-msg small{color:#B91C1C}
.vs-deadline.late{animation:vsPulse 1.6s ease-in-out infinite}
@keyframes vsPulse{50%{box-shadow:0 0 0 6px rgba(220,38,38,.18)}}
@media (prefers-reduced-motion: reduce){.vs-deadline.late{animation:none}}
@media (max-width:760px){.vs-deadline{grid-template-columns:auto 1fr}.vs-deadline-msg{grid-column:1/-1}}
.sp-deadline{display:inline-flex;align-items:center;gap:6px;padding:4px 12px;border-radius:999px;background:#DC2626;color:#fff;font-size:12.5px;font-weight:800;text-decoration:none}
.sp-deadline:hover{background:#B91C1C}

/* Lead journey: received → called → office visit → file opened */
.lj{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 16px}
.lj-step{position:relative;display:flex;gap:12px;align-items:flex-start;padding:14px 16px;border-radius:18px;background:#fff;border:1.5px dashed #C9CFF2}
.lj-step.done{border:1.5px solid #012169;background:linear-gradient(135deg,#F3F4FE,#fff)}
.lj-n{flex:none;width:38px;height:38px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:19px;background:#EEF0FB}
.lj-step.done .lj-n{background:#012169}
.lj-step b{display:block;font-size:14.5px;color:#012169;line-height:1.3}
.lj-step small{display:block;margin-top:2px;font-size:12.5px;color:#2232B3;font-weight:600}
.lj-step small a{color:#2232B3}
.lj-act,.lj-pop>summary{display:inline-block;margin-top:8px;font-size:13px;font-weight:800;color:#2232B3;text-decoration:none;cursor:pointer;list-style:none}
.lj-pop>summary::-webkit-details-marker{display:none}
.lj-visit:not(.done) .lj-pop>summary{padding:7px 14px;border-radius:999px;background:#2232B3;color:#fff}
.lj-pop[open]>summary{color:#012169}
.lj-pop form{position:absolute;z-index:20;left:0;right:0;top:calc(100% + 6px);display:grid;gap:8px;padding:14px;border-radius:16px;background:#fff;border:1px solid #D5DAF2;box-shadow:0 18px 40px rgba(1,33,105,.18)}
.lj-pop label{display:grid;gap:3px;font-size:12px;font-weight:700;color:#012169}
.lj-pop input,.lj-pop select{font:inherit;font-size:14px;font-weight:500;padding:7px 9px;border:1.5px solid #D5DAF2;border-radius:10px}
.lj-pop .btn{background:#012169;border-color:#012169}
@media (max-width:980px){.lj{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.lj{grid-template-columns:1fr}}

.ld-eng{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.ld-eng .ld-score{width:76px}
.ld-save{border:0;background:#012169;color:#fff;font-family:inherit;font-weight:700;font-size:12px;padding:6px 10px;border-radius:8px;cursor:pointer}
.ld-band{display:inline-block;margin-top:4px;padding:2px 9px;border-radius:999px;background:#EEF0FB;color:#012169;font-size:12px;font-weight:700}
.ld-err{display:block;color:#012169;font-size:12px;font-weight:700}
.ld-visited{display:inline-block;margin-left:6px;padding:2px 8px;border-radius:999px;background:#012169;color:#fff;font-size:11px;font-weight:800}
.ld-eng select{max-width:140px}.ld-eng .ld-score{width:70px}

/* Leads → Messenger chats */
.ms-hero{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;padding:20px 24px;border-radius:22px;color:#fff;background:linear-gradient(120deg,#012169,#2232B3);margin-bottom:14px}
.ms-hero h2{margin:2px 0 4px;color:#fff;font-size:24px}.ms-hero p{margin:0;max-width:820px;color:#E6E9FF;font-size:14.5px}.ms-hero a{color:#fff}
.ms-eyebrow{font-size:12px!important;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#C9CFF7!important}
.ms-btn{background:#fff!important;color:#012169!important;border-color:#fff!important}
.ms-setup{margin-bottom:14px;padding:12px 18px;border-radius:16px;background:#fff;border:1px solid #D5DAF2}
.ms-setup summary{cursor:pointer;font-weight:800;color:#012169}.ms-setup summary small{font-weight:600;color:#2232B3;margin-left:8px}
.ms-setup ul{list-style:none;margin:12px 0 4px;padding:0;display:grid;gap:6px}
.ms-setup li{display:flex;justify-content:space-between;gap:12px;padding:8px 12px;border-radius:10px;background:#F5F6FE;font-size:14px;color:#0B1B3F}
.ms-setup li b{color:#000}.ms-setup li.on b{color:#2232B3}
.ms-setup code{font-size:13px;background:#fff;padding:2px 8px;border-radius:6px;color:#012169;user-select:all}
.ms-table td{vertical-align:top}.ms-table tr{cursor:pointer}
.ms-ok{display:inline-block;padding:3px 10px;border-radius:999px;background:#012169;color:#fff!important;font-size:12.5px;font-weight:800;text-decoration:none}
.ms-wait{display:inline-block;padding:3px 10px;border-radius:999px;background:#EEF0FB;color:#012169;font-size:12.5px;font-weight:700}
.ms-cols{display:grid;grid-template-columns:minmax(260px,360px) 1fr;gap:14px}
@media (max-width:860px){.ms-cols{grid-template-columns:1fr}}
.ms-h{margin:0 0 10px;color:#012169}
.ms-dl{display:grid;gap:8px;margin:0}.ms-dl dt{font-size:11px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:#2232B3}.ms-dl dd{margin:0;font-weight:700;color:#0B1B3F}
.ms-chat{display:flex;flex-direction:column;gap:8px;max-height:560px;overflow:auto}
.ms-msg{max-width:78%;padding:9px 13px;border-radius:16px 16px 16px 4px;background:#EEF0FB;align-self:flex-start}
.ms-msg.page{align-self:flex-end;background:#012169;border-radius:16px 16px 4px 16px}.ms-msg.page p,.ms-msg.page small{color:#fff}
.ms-msg p{margin:0;white-space:pre-line;color:#0B1B3F;font-size:14px}.ms-msg small{display:block;margin-top:3px;font-size:11px;color:#2232B3}
.ms-acts{display:flex;gap:10px;flex-wrap:wrap}
.ms-ghost{background:transparent!important;color:#fff!important;border:1.5px solid rgba(255,255,255,.7)!important}
.ms-make{display:inline-block;margin-left:6px}
.ms-make button{border:0;background:#2232B3;color:#fff;font-family:inherit;font-weight:800;font-size:12px;padding:4px 10px;border-radius:999px;cursor:pointer}
/* Leads: sections (enquiries and each free tool) */
.lsec{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}
.lsec a{display:inline-flex;align-items:center;gap:10px;padding:9px 14px;border-radius:999px;background:#fff;border:1.5px solid var(--line);text-decoration:none;color:var(--ink);font-weight:700;font-size:14px}
.lsec a i{font-style:normal}
.lsec a b{font-size:13px;font-weight:800;color:var(--navy);background:var(--bg);border-radius:999px;padding:2px 9px}
.lsec a:hover{border-color:var(--royal)}
.lsec a.on{background:var(--navy);border-color:var(--navy);color:#fff}
.lsec a.on b{background:rgba(255,255,255,.18);color:#fff}
.lsec-hint{margin:-4px 0 12px;font-size:13px;color:var(--muted)}
.ac-where{display:flex;flex-wrap:wrap;gap:4px 12px;margin:2px 0 1px;font-size:12px;font-weight:600;color:#2232B3}
/* LSA Drive folder on the student page */
.drv{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:0 0 14px;padding:12px 16px;border-radius:14px;background:#F3F5FF;border:1px solid #DDE2FA}
.drv-ic{font-size:24px}
.drv-txt{flex:1;min-width:200px}
.drv-txt b{display:block;color:#012169}
.drv-txt small{display:block;color:#4B5070;font-size:12.5px}
.drv-txt .drv-err{color:#7A5300;font-weight:600}
/* Delete a student file (super admins) */
.sf-delete{margin:24px 0 8px;border:1.5px dashed #9AA0BC;border-radius:14px;padding:12px 16px;background:#fff}
.sf-delete summary{cursor:pointer;font-weight:800;color:#0B1B3F}
.sf-delete p{font-size:13.5px;color:#0B1B3F;line-height:1.55}
.sf-delete form{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}
.sf-delete label{display:grid;gap:6px;font-size:13px;font-weight:600}
.sf-delete input{font-family:inherit;font-size:15px;padding:9px 12px;border:1.5px solid #DCDFEC;border-radius:10px;min-width:220px}
.sf-delete button{border:0;border-radius:999px;background:#0B1B3F;color:#fff;font-family:inherit;font-weight:800;font-size:14px;padding:11px 20px;cursor:pointer}
.sf-delete .err{color:#7A5300;font-weight:700;margin:0;width:100%}

/* Clickable dashboard charts: every bar, slice label and row opens the matching students */
a.kpi{color:inherit;text-decoration:none;transition:transform .15s,box-shadow .15s}
a.kpi:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(11,20,112,.12)}
.vbars a.b{text-decoration:none;border-radius:10px;cursor:pointer}
.vbars a.b:hover .bar{background:linear-gradient(180deg,#F2B51C,#C98A00)}
.vbars a.b:hover .v{color:#2E4BE0}
.hbars a.row{color:inherit;text-decoration:none;border-radius:10px;padding:3px 6px;margin:-3px -6px;transition:background .12s}
.hbars a.row:hover{background:#E5E9FD}
.hbars a.row:hover .lbl{color:#2E4BE0;text-decoration:underline}
.legend a{display:flex;align-items:center;gap:8px;color:inherit;text-decoration:none;border-radius:8px;padding:2px 6px;margin:-2px -6px}
.legend a:hover{background:#E5E9FD;color:#2E4BE0}
.keys a{display:inline-flex;align-items:center;gap:6px;color:inherit;text-decoration:none}
.keys a:hover{color:#2E4BE0;text-decoration:underline}
.stack .track a{display:block;height:100%}
.stack .track a:hover{filter:brightness(1.25)}
.stack .vnums a{text-decoration:none;font-weight:800}
.stack .vnums a:hover{text-decoration:underline}
.rank tr.go{cursor:pointer}
.rank tr.go:hover td{background:#F5F7FF}
.rank tr.go a{color:inherit;text-decoration:none;font-weight:700}
.rank tr.go:hover a{color:#2E4BE0}
