.aggregate-workspace{font-size:14px;color:#263f58}.aggregate-workspace .workbench-head{margin-top:14px}.aggregate-workspace .workbench-head p{max-width:76ch}.aggregate-workspace .card-head p{margin:6px 0 0;font-size:13px;color:#586c80}.aggregate-workspace .workbench-stat{display:block;text-align:left}.aggregate-workspace .workbench-stat>span{font-size:13px}.aggregate-workspace .workbench-stat strong small{font-size:17px;font-weight:400}.aggregate-workspace .workbench-stat>small{font-size:12px;line-height:1.5}.aggregate-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.aggregate-actions .btn{min-height:40px;white-space:normal;max-width:340px}.aggregate-actions p{margin:0;line-height:1.6}.aggregate-filters{display:flex;gap:20px;align-items:end;padding:14px 18px;border-bottom:1px solid #e2eaf1}.aggregate-filters>div{flex:1;max-width:420px}.aggregate-filters label:not(.aggregate-checkbox){display:block;margin-bottom:6px}.aggregate-filters input[type=search]{width:100%}.aggregate-checkbox{display:flex;align-items:flex-start;gap:9px;line-height:1.6;font-size:13px!important}.aggregate-checkbox input{width:17px!important;min-width:17px;height:17px;margin-top:3px}.aggregate-table{width:100%;min-width:720px;table-layout:fixed}.aggregate-table th,.aggregate-table td{font-size:13px;line-height:1.5;padding:13px 16px!important;white-space:normal;overflow-wrap:anywhere}.aggregate-table th:first-child{width:28%}.aggregate-table small{display:block;color:#5d6e80;font-size:12px;margin-top:5px}.aggregate-table .btn{white-space:normal}.aggregate-progress{height:5px;background:#e3ebf3;border-radius:3px;margin-top:9px;max-width:150px;overflow:hidden}.aggregate-progress span{display:block;height:100%;background:#3579b7}.aggregate-distribution{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.aggregate-distribution>span{padding:8px 14px;border-right:1px solid #e3ebf2;color:#50667d}.aggregate-distribution strong{display:block;color:#244d73;font-size:23px;margin-bottom:4px}.aggregate-distribution>span:last-child{border:0}.aggregate-footnote{font-size:12px;color:#5d6e80;line-height:1.7;margin:14px 0 0}.aggregate-appendix{margin-bottom:16px}.aggregate-appendix>summary{padding:16px 18px;cursor:pointer;font-weight:600;color:#254e74}.aggregate-appendix .aggregate-footnote{padding:0 18px 12px}.aggregate-appendix table{min-width:620px}.aggregate-appendix td small,.submission-preview-appendix td small{display:block;color:#637387;margin-top:4px}.aggregate-row-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.aggregate-row-head h2{font-size:19px;margin:0}.review-request{padding:14px 0;border-bottom:1px solid #e1e9f0;line-height:1.65}.review-request:first-child{padding-top:0}.review-request:last-child{border:0}.review-request small{display:block;color:#657387}.review-request .actions{margin:12px 0}.review-request details{font-size:12px;color:#4d6179}.review-request summary{cursor:pointer}.review-request blockquote,.submission-confirm blockquote{margin:12px 0;padding:10px 14px;border-left:3px solid #87aacb;background:#f4f8fc}.exception-case{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:15px 0;border-bottom:1px solid #e1e9f0}.exception-case:last-child{border:0}.exception-case .badge{margin-left:10px}.exception-case ul{margin:10px 0 0;padding-left:20px;line-height:1.8}.exception-link{color:#87520f!important;border-color:#dfc59e!important;background:#fffaf0!important}.submission-row{padding:17px 18px;border-bottom:1px solid #e4ebf1;display:flex;align-items:center;justify-content:space-between;gap:20px}.submission-row:last-child{border:0}.submission-row small{display:block;color:#5a7085;margin-top:6px;line-height:1.6}.submission-detail .card-body{line-height:1.8}.submission-detail .mono{overflow-wrap:anywhere;white-space:normal}.submission-counts{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:16px;background:#f1f6fb;border:1px solid #d5e2ee;border-radius:5px}.submission-counts span{font-size:12px;color:#526a80}.submission-counts strong{display:block;font-size:25px;color:#245985;margin-bottom:5px}.submission-confirm{gap:14px!important}.submission-confirm table{min-width:540px}.submission-confirm th,.submission-confirm td{padding:11px 13px;white-space:normal;line-height:1.5}.submission-preview-appendix,.submission-remaining{border:1px solid #dce5ee;border-radius:4px;padding:12px}.submission-preview-appendix summary,.submission-remaining summary{cursor:pointer;font-weight:600;color:#2e5e8b}.submission-preview-appendix .table-wrap{max-height:310px;overflow:auto;margin:12px 0}.submission-remaining li{line-height:1.7}.submission-remaining small{color:#5c6f83}.legacy-ack{padding:12px;border:1px solid #e6d7b9;background:#fffaf0;border-radius:4px}.class-handoff{display:flex;justify-content:space-between;gap:20px;align-items:center;border-left:4px solid #3479b7;padding:18px;margin:16px 0}.class-handoff h2{font-size:17px;margin:0 0 8px;color:#224c73}.class-handoff p{margin:0 0 7px}.class-handoff small{color:#5c7085;line-height:1.6}.class-handoff .actions{max-width:310px;justify-content:flex-end}.class-handoff .btn{white-space:normal}.aggregate-breadcrumb{display:flex;gap:8px;margin-top:12px}.sync-message{padding:12px 14px;background:#f3f7fb;border-left:3px solid #427fb4;line-height:1.6}.sync-message.warning{background:#fff9ec;border-color:#b77d2c}.aggregate-workspace a:focus-visible,.aggregate-workspace button:focus-visible,summary:focus-visible{outline:3px solid #d89025;outline-offset:3px}.submission-confirm .dialog-footer{position:sticky;bottom:-24px;background:#fff;padding-top:12px;border-top:1px solid #e0e8ef}
@media(max-width:767px){.aggregate-workspace .workbench-stats{gap:8px}.aggregate-workspace .workbench-stat{padding:12px}.aggregate-workspace .workbench-stat>span{font-size:12px}.aggregate-workspace .workbench-stat>small{font-size:11px}.aggregate-actions{display:grid;grid-template-columns:1fr}.aggregate-actions .btn{max-width:none;width:100%}.aggregate-filters{display:block;padding:14px}.aggregate-filters>div{max-width:none;margin-bottom:12px}.aggregate-table{min-width:0;table-layout:auto}.aggregate-table thead{display:none}.aggregate-table,.aggregate-table tbody,.aggregate-table tr,.aggregate-table td{display:block;width:100%}.aggregate-table tr{padding:12px 14px;border-bottom:1px solid #dce5ee}.aggregate-table td{border:0!important;padding:5px 0!important}.aggregate-table td[data-label]:not(:first-child){display:flex;gap:10px;flex-wrap:wrap;align-items:center}.aggregate-table td[data-label]:not(:first-child)::before{content:attr(data-label) ": ";color:#61758a;min-width:103px;font-size:12px}.aggregate-table small{display:inline;font-size:11px}.aggregate-table td:first-child small{display:block}.aggregate-table .aggregate-progress{display:none}.aggregate-distribution{grid-template-columns:repeat(3,1fr);gap:8px}.aggregate-distribution>span{border:0;padding:7px}.aggregate-distribution strong{font-size:21px}.exception-case{display:block}.exception-case .badge{margin:7px 0 0;display:table}.exception-case .btn{margin-top:12px}.submission-row{display:block}.submission-row .btn{margin-top:10px}.class-handoff{display:block;padding:15px}.class-handoff .actions{max-width:none;justify-content:flex-start;margin-top:14px}.class-handoff .btn.primary{width:100%}.submission-counts{grid-template-columns:repeat(2,1fr)}.submission-counts strong{font-size:22px}.submission-confirm .table-wrap{max-width:100%;overflow:auto}.submission-confirm .dialog-footer{bottom:-18px}.aggregate-row-head{align-items:flex-start}.aggregate-workspace .pagination{flex-wrap:wrap;gap:10px}.aggregate-breadcrumb{flex-wrap:wrap}}
.print-only{display:none}.verification-axes{margin:14px 0}.verification-axes dt{font-weight:600;margin-top:12px}.verification-axes dd{margin:5px 0 0;line-height:1.65}.verification-axes .badge{margin-left:6px}
@media print{.aggregate-actions,.aggregate-filters,.aggregate-breadcrumb,.submission-detail .actions{display:none!important}.aggregate-table{min-width:0}.aggregate-appendix{break-inside:auto}.aggregate-workspace .card{box-shadow:none}.submission-detail details>*{display:block!important}.submission-detail .print-only{display:block;font-size:10px;margin:12px 0}.printing-submission .round-picker,.printing-submission .round-switcher,.printing-submission .sync-message{display:none!important}.printing-submission .submission-detail .card{break-inside:auto}.printing-submission .submission-detail tr{break-inside:avoid}.printing-submission .submission-detail th:last-child,.printing-submission .submission-detail td:last-child{display:none}.printing-submission .submission-detail table{min-width:0;width:100%}.printing-submission .submission-detail thead{display:table-header-group}.printing-submission .submission-detail .table-wrap{overflow:visible}}

.submission-source{margin-bottom:8px}.submission-source:last-child{margin-bottom:0}
@media print{.printing-submission .submission-detail .card{margin-bottom:10px!important}.printing-submission .submission-detail .card-head{padding:10px 14px}.printing-submission .submission-detail .card-body{padding:10px 14px;line-height:1.55}.printing-submission .submission-detail .aggregate-appendix>summary{padding:10px 14px}.printing-submission .submission-detail td,.printing-submission .submission-detail th{padding:10px 14px!important}.printing-submission .submission-detail>details:last-of-type{break-inside:avoid}.printing-submission .submission-detail .submission-source .print-only{font-size:9px;line-height:1.4;margin:4px 0 8px}.printing-submission .submission-detail .workbench-section{margin-top:10px}}

/* Giám sát toàn trường (Ban Giám hiệu) */
.oversight .bar-row{grid-template-columns:minmax(0,250px) 1fr 42px;gap:16px;margin:14px 0}
.oversight .bar-row>span{line-height:1.5;color:#3d5268}
.oversight .bar-row>strong{text-align:right;font-size:14px;color:#244d73}
.oversight .progress-track{max-width:none}
.oversight .workbench-stat strong{white-space:nowrap}
.oversight-table th:first-child{width:28%}
.oversight-table td:last-child .btn{white-space:nowrap}
.oversight-table .is-current{background:#f4f9ff}
.oversight-signals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}
.oversight-signal{background:#fff;border:1px solid #d7e2ec;border-left:4px solid #3579b7;border-radius:6px;padding:13px 16px}
.oversight-signal>span{display:block;font-size:12px;font-weight:600;color:#54697f;text-transform:uppercase;letter-spacing:.02em}
.oversight-signal>strong{display:block;font-size:19px;color:#173d60;margin:4px 0 6px}
.oversight-signal>p{margin:0;font-size:12.5px;line-height:1.55;color:#4a6076}
.oversight-signal.is-danger{border-left-color:#c63737;background:#fffafa}
.oversight-signal.is-danger>strong{color:#9d2424}
.oversight-signal.is-warn{border-left-color:#c67d1b;background:#fffdf6}
.oversight-signal.is-warn>strong{color:#8c540b}
.oversight-signal.is-ok{border-left-color:#1e8554;background:#f7fcf9}
.oversight-signal.is-ok>strong{color:#166640}
.oversight-signal.is-primary{border-left-color:#1d639b;background:#f4f9ff}
.oversight-signal.is-neutral{border-left-color:#93a6b9;background:#f8fafc}
.oversight-decision-note{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:11px 14px;margin-bottom:12px;background:#f2f8ff;border:1px solid #bfd8f0;border-left:4px solid #1d639b;border-radius:5px;font-size:13px;line-height:1.55}
.oversight-plan-hint{margin:0 0 10px;font-size:12.5px;color:#53697e}
.oversight-filter-bar{display:flex;flex-wrap:wrap;gap:8px;padding:12px 18px;border-bottom:1px solid #e2eaf1;background:#f9fbfd}
.oversight-pill{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;border:1px solid #cddbe8;background:#fff;color:#2e4a66;font-size:12.5px;font-weight:500;cursor:pointer;transition:background .15s,border-color .15s,color .15s}
.oversight-pill em{font-style:normal;font-size:11.5px;font-weight:700;padding:1px 7px;border-radius:999px;background:#edf3f9;color:#274c70}
.oversight-pill:hover{border-color:#8cb3d6;background:#f4f8fc}
.oversight-pill.is-active{background:#184e7e;border-color:#184e7e;color:#fff}
.oversight-pill.is-active em{background:rgba(255,255,255,.2);color:#fff}
.oversight-pct{font-size:12px;color:#5a6e82;font-weight:500}
.oversight-shortfall{color:#b02a2a!important;font-weight:600}
.oversight-ok{color:#1b7348!important}
.aggregate-progress span.is-shortfall{background:#d44646}
.aggregate-progress span.is-complete{background:#1e8554}
.oversight-empty-filter{padding:18px;margin:0;text-align:center;color:#586e82;font-size:13px}
@media(max-width:960px){.oversight-signals{grid-template-columns:1fr}}
@media(max-width:860px){.oversight .bar-row{grid-template-columns:minmax(0,1fr) 42px;gap:8px}.oversight .bar-row .progress-track{grid-column:1 / -1;max-width:none}}
@media(max-width:767px){.oversight-filter-bar{padding:10px 12px;gap:6px}.oversight-pill{font-size:12px;padding:5px 10px}}

/* === Airy Light USMART Unified Skin — Toàn hệ thống 8 nhóm tác nhân + QT (1 font, 1 nền #f8fafc, thẻ bo 10px, bảng không viền dọc) === */
:root{--blue:#2d74be;--navy:#2563a8;--ink:#1e293b;--muted:#64748b;--line:#e6ebf1;--bg:#f8fafc}
body,body.staff-workspace,.student-mode,.student-mode .content,.staff-workspace .content{background:#f8fafc;color:#1e293b;font-family:system-ui,-apple-system,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif}
.portal-topbar{height:58px;background:#2d74be;box-shadow:none;border-bottom:1px solid #2565a8}
.portal-brand-block{width:255px;height:58px;border-right:1px solid rgba(255,255,255,.2)}
.portal-brand img{width:36px;height:36px}
.portal-brand strong{font-size:14px;font-weight:600;letter-spacing:0}
.portal-brand small{font-size:9.5px;opacity:.92}
.portal-top-search{height:34px;min-width:170px;max-width:290px;background:#fff;border:1px solid rgba(255,255,255,.35);border-radius:4px;color:#1e293b}
.portal-top-search input{background:#fff;color:#1e293b;font-size:13px;height:32px;padding:4px 10px;border-radius:4px 0 0 4px}
.portal-top-search input::placeholder{color:#94a3b8}
.portal-top-search button{background:#fff;border-left:0;color:#475569;width:34px;border-radius:0 4px 4px 0}
.portal-user{max-height:44px;padding:4px 8px;border-radius:6px;font-weight:500}
.portal-user img{width:32px;height:32px}
.portal-sidebar{top:58px;width:255px;border-right:1px solid #eaeff5;box-shadow:none;background:#fff}
.portal-side-title{height:48px;padding:0 16px;font-size:13.5px;font-weight:600;color:#2563a8;border-bottom:1px solid #f1f5f9}
.portal-nav-scroll{padding:8px 0 18px}
.portal-nav-link,.portal-nav-group>summary{min-height:38px;padding:8px 12px;margin:2px 10px;border-radius:6px;font-size:13.5px;color:#334155;line-height:1.45}
.portal-nav-link.sub{padding-left:28px;font-size:13px;color:#475569}
.portal-nav-link:hover,.portal-nav-group>summary:hover{background:#f3f7fc;color:#2563a8}
.portal-nav-link.active,.portal-nav-group[open]>summary{background:#eef4fb;color:#2563a8;font-weight:600}
.portal-nav-find{border-top:1px solid #f1f5f9;padding:0 12px;height:38px}
.app-layout{padding:58px 0 0 255px}
.staff-workspace .content,.student-mode .content{padding:18px 28px 34px;min-height:calc(100vh - 58px);background:#f8fafc}

/* Unified Airy Surfaces — 10px radius, 1px #e6ebf1 border, subtle whisper shadow */
.card,.workbench-stat,.stat,.criteria-group,.student-round,.conduct-overview,.student-score-card,.info-box,.pki-sandbox-item{border-radius:10px;border:1px solid #e6ebf1;background:#fff;box-shadow:0 1px 2px rgba(15,23,42,.03)}
.card-head{padding:14px 20px;background:#fff;border-bottom:1px solid #eef2f6}
.card-head h2{font-size:15px;font-weight:600;color:#1e293b;margin:0}
.card-head p{font-size:12.5px;color:#64748b;margin-top:3px}
.card-body{padding:16px 20px}
.btn{border-radius:6px;border:1px solid #dce3ec;background:#fff;color:#334155;font-weight:500;min-height:34px;padding:6px 13px;font-size:13px;box-shadow:none;transition:background .15s,border-color .15s,color .15s}
.btn:hover{background:#f8fbff;border-color:#bfd4ec;color:#2563a8}
.btn.primary{background:#2b72bd;border-color:#2b72bd;color:#fff;font-weight:500}
.btn.primary:hover{background:#225fa0;border-color:#225fa0;color:#fff}
.btn.danger{background:#fff;border-color:#eccaca;color:#b93838}
.btn.danger:hover{background:#fdf7f7;border-color:#dfaaaa;color:#991b1b}
.btn.ghost{border-color:transparent;background:transparent;color:#2563a8}
.btn.ghost:hover{background:#eef4fb;text-decoration:none}
.btn.small{min-height:30px;padding:4px 10px;font-size:12.5px}

/* Soft pastel USMART badges (gentle pill look matching reference mockups) */
.badge{display:inline-flex;align-items:center;gap:4px;padding:2px 9px;border-radius:6px;font-size:12px;font-weight:500;line-height:1.45;border:1px solid #e2e8f0;background:#f8fafc;color:#475569}
.badge:before{display:none}
.badge.info{background:#edf5fe;border-color:#d0e3f8;color:#2563a8}
.badge.success{background:#eef9f2;border-color:#cdebd7;color:#1b7444}
.badge.warning{background:#fef9ea;border-color:#f3e1b4;color:#925a12}
.badge.danger{background:#fef2f2;border-color:#f5d0d0;color:#b93838}

/* Soft neutral info boxes */
.info-box{background:#f5f9fe;border:1px solid #dce8f6;color:#334155;padding:12px 16px;font-size:13px;border-radius:8px}
.info-box.success{background:#f3fbf6;border-color:#cdebd7;border-left:3px solid #1b7444;color:#1e293b}
.info-box.warning{background:#fefaf0;border-color:#f2dfb0;border-left:3px solid #b47318;color:#5c4214}
.info-box.danger{background:#fef5f5;border-color:#f4d2d2;border-left:3px solid #b93838;color:#7f1d1d}

/* Airy borderless-vertical data tables across the entire system */
table{font-size:13.5px;color:#334155;border-collapse:collapse}
.table-wrap table th,.aggregate-table th,.conduct-table th{background:#f8fafc;color:#475569;font-size:12.5px;font-weight:500;text-transform:none;letter-spacing:0;border:0;border-bottom:1px solid #eef2f6;padding:10px 18px!important}
.table-wrap table td,.aggregate-table td,.conduct-table td{border:0;border-bottom:1px solid #f1f5f9;padding:11px 18px!important;color:#334155;vertical-align:middle}
.table-wrap tbody tr:nth-child(even),.aggregate-table tbody tr:nth-child(even),.conduct-table tbody tr:nth-child(even){background:#fff}
.table-wrap tbody tr:hover,.aggregate-table tbody tr:hover,.conduct-table tbody tr:hover{background:#f8fbff}
.table-wrap tbody tr:last-child td,.aggregate-table tbody tr:last-child td,.conduct-table tbody tr:last-child td{border-bottom:0}
.table-wrap td small,.aggregate-table small{color:#64748b;font-size:12px;margin-top:2px}

/* Unified 4-column Airy KPI Strip (.workbench-stats & .stats) matching all 9 mockups */
.stats{gap:12px;margin-bottom:16px}
.stat{padding:16px 20px}
.stat-icon{width:34px;height:34px;background:#eef4fb;color:#2d74be;border-radius:50%;display:grid;place-items:center}
.stat-value{font-size:24px;font-weight:700;color:#2563a8;letter-spacing:-.02em;margin:6px 0 2px}
.workbench-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:0 0 16px;background:#fff;border:1px solid #e6ebf1;border-radius:10px;box-shadow:0 1px 2px rgba(15,23,42,.03);overflow:hidden}
.workbench-stat{border:0!important;border-right:1px solid #eef2f6!important;border-radius:0!important;box-shadow:none!important;background:#fff!important;padding:16px 20px;display:flex;flex-direction:column;justify-content:center;text-align:left;transition:background .15s}
.workbench-stat:last-child{border-right:0!important}
.workbench-stat:hover{background:#f8fbff!important;text-decoration:none}
.workbench-stat.has-lead-icon{display:grid;grid-template-columns:46px minmax(0,1fr);gap:0 14px;align-items:center}
.workbench-stat-icon{grid-row:1/4;width:46px;height:46px;border-radius:50%;background:#eef4fb;color:#2d74be;display:grid;place-items:center}
.workbench-stat-icon .icon{width:21px;height:21px;stroke-width:1.9}
.workbench-stat>span{font-size:12.5px;color:#475569;font-weight:500}
.workbench-stat strong{font-size:24px;font-weight:700;color:#2563a8;margin:4px 0 2px;line-height:1.15;letter-spacing:-.02em}
.workbench-stat strong small{font-size:15px;font-weight:600;color:#64748b}
.workbench-stat.is-warning strong{color:#b93838}
.workbench-stat>small{font-size:11.5px;color:#64748b}

/* Unified Context Bar & Tabs */
.workspace-context-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:8px;margin-bottom:10px;border-bottom:0;min-height:36px}
.workspace-context-bar .round-picker{margin:0;gap:8px;flex:1 1 auto;min-width:0}
.workspace-context-bar .round-picker label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.workspace-context-bar .round-picker select{height:34px;min-height:34px;padding:4px 10px;border-radius:6px;border:1px solid #dbe3ec;font-size:13px;font-weight:500;color:#1e293b;min-width:0;max-width:340px;background:#fff}
.workspace-context-bar .round-picker>span{margin-left:0;font-size:12px;font-weight:500;padding:3px 10px;border-radius:6px;border:1px solid #d0e3f8;background:#edf5fe;color:#2563a8;white-space:nowrap}
.workspace-context-bar .portal-demo.workbench-demo{margin:0;padding:0;min-height:30px;max-height:36px;border:0;background:transparent;gap:8px;flex-shrink:0}
.workspace-context-bar .portal-demo-text{color:#64748b;font-size:12px}
.workspace-context-bar .portal-demo button{border-radius:6px;padding:4px 10px;font-size:12px;font-weight:500;border:1px solid #dbe3ec;background:#fff;color:#334155}
.workspace-context-bar .portal-demo button:hover{border-color:#bfd4ec;color:#2563a8;background:#f8fbff}

.portal-module-tabs{border-bottom:1px solid #e6ebf1;margin:0 0 16px;padding:0;gap:20px;background:transparent;border-radius:0}
.portal-module-tabs a{padding:7px 2px 11px;font-size:13.5px;color:#64748b;font-weight:500;border-bottom:2px solid transparent;border-radius:0;background:transparent}
.portal-module-tabs a:hover{color:#2563a8;background:transparent}
.portal-module-tabs a.active{color:#2563a8;border-bottom-color:#2d74be;font-weight:600;background:transparent}
.portal-module-tabs a .nav-count{background:#eef4fb;color:#2563a8;font-size:11px;font-weight:600;border-radius:99px;padding:1px 6px}
.portal-module-tabs a.active .nav-count{background:#2d74be;color:#fff}

/* Headings */
.staff-workspace .page-head,.oversight .workbench-head,.aggregate-workspace .workbench-head{margin:0 0 14px;align-items:center}
.staff-workspace .page-head h1,.oversight .workbench-head h1,.aggregate-workspace .workbench-head h1,.student-overview .student-heading h1,.student-form-h1-row h1{font-size:22px;font-weight:600;color:#1e293b;margin:0;letter-spacing:-.01em}
.staff-workspace .page-head p,.aggregate-workspace .workbench-head p,.student-overview .student-heading p{color:#64748b;font-size:13px;margin-top:3px}

/* Shared Role Banners & Action Strips for Management Roles (TL/HD/TDV, PCN, TTR, HDT, BGH) */
.role-title-row{display:flex;align-items:center;gap:10px}
.role-title-icon{display:inline-flex;align-items:center;justify-content:center;color:#2d74be;flex-shrink:0}
.role-title-icon .icon{width:22px;height:22px;stroke-width:1.9}
.role-context-strip{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:14px 20px;margin:0 0 16px;background:#fff;border:1px solid #e6ebf1;border-radius:10px;box-shadow:0 1px 2px rgba(15,23,42,.03)}
.role-context-strip.is-soft-blue{background:#f2f7fd;border-color:#d5e5f6;box-shadow:none}
.role-context-meta{display:flex;align-items:center;gap:14px;flex-wrap:wrap;min-width:0;font-size:13px;color:#475569}
.role-context-meta .icon{width:17px;height:17px;color:#2d74be;flex-shrink:0}
.role-context-meta strong{color:#1e293b;font-weight:600}
.role-context-divider{width:1px;height:18px;background:#e2e8f0}
.role-process-card{padding:18px 22px;margin:0 0 16px}
.role-process-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;flex-wrap:wrap}
.role-process-head h2{display:flex;align-items:center;gap:9px;font-size:15px;font-weight:600;color:#1e293b;margin:0}
.role-process-head h2 .icon{width:17px;height:17px;color:#2d74be}
.role-process-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-top:14px;border-top:1px solid #f1f5f9;font-size:13px;color:#475569}
.role-process-foot>span{display:inline-flex;align-items:center;gap:7px}
.role-process-foot .icon{width:15px;height:15px;color:#64748b}
.role-bottom-split{display:grid;grid-template-columns:1.15fr 1fr;gap:16px;margin-bottom:16px}
.role-bottom-split .workbench-section{margin-bottom:0}
.role-round-footer{padding:16px 22px;margin:16px 0 0;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.role-round-cols{display:flex;align-items:center;gap:28px;flex-wrap:wrap}
.role-round-cols>div small{display:block;font-size:12px;color:#64748b;margin-bottom:2px}
.role-round-cols>div strong{font-size:14.5px;color:#1e293b;font-weight:600}
.role-round-cols>div strong.is-blue{color:#2563a8}

/* Executive BGH — Airy Light USMART style */
.oversight-signals{display:grid;grid-template-columns:1.1fr .95fr 1.25fr;gap:0;margin:0 0 16px;background:#fff;border:1px solid #e6ebf1;border-radius:10px;box-shadow:0 1px 2px rgba(15,23,42,.03);overflow:hidden}
.oversight-signal{background:#fff!important;border:0!important;border-radius:0!important;border-right:1px solid #eef2f6!important;padding:14px 18px}
.oversight-signal:last-child{border-right:0!important}
.oversight-signal>span,.oversight-signal>div>span{display:block;font-size:12px;font-weight:500;color:#64748b;text-transform:none;letter-spacing:0}
.oversight-signal>strong,.oversight-signal>div>strong{display:block;font-size:16px;margin:3px 0;font-weight:600;color:#1e293b}
.oversight-signal>p{font-size:12.5px;color:#64748b;line-height:1.45}
.oversight-signal.is-danger>strong{color:#b93838}
.oversight-signal.is-warn>strong{color:#925a12}
.oversight-signal.is-primary>strong,.oversight-signal.is-primary>div>strong{color:#2563a8}
.oversight-signal-action{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;background:#f8fbff!important}
.oversight-signal-action .aggregate-actions .btn{min-height:34px;padding:6px 14px;font-size:13px}
.aggregate-table th:last-child,.aggregate-table td:last-child{width:154px;text-align:right;white-space:nowrap}
.aggregate-table td:last-child .btn{white-space:nowrap}
.oversight-table th:last-child,.oversight-table td:last-child{width:92px}
.oversight-table-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:14px 20px!important;background:#fff}
.oversight-table-head h2 small{font-weight:400;font-size:12.5px;color:#64748b;margin-left:6px}
.oversight-table-head .oversight-filter-bar{padding:0;border:0;background:transparent;gap:6px}
.oversight-pill{padding:5px 11px;font-size:12.5px;border-radius:6px;border:1px solid #dce6f2;background:#fff;color:#475569;font-weight:500}
.oversight-pill em{background:#eef4fb;color:#2563a8;border-radius:99px;padding:1px 6px;font-size:11px;font-weight:600}
.oversight-pill:hover{background:#f3f7fc;border-color:#bfd4ec;color:#2563a8}
.oversight-pill.is-active{background:#2b72bd;border-color:#2b72bd;color:#fff}
.oversight-pill.is-active em{background:rgba(255,255,255,.22);color:#fff}
.oversight-shortfall{color:#b93838!important;font-weight:500}
.oversight-ok{color:#1b7444!important}
.aggregate-progress{height:7px;background:#e8eff7;border-radius:99px;margin-top:6px;overflow:hidden}
.aggregate-progress span{background:#2d74be;border-radius:99px}
.aggregate-progress span.is-shortfall{background:#d96b6b}
.aggregate-progress span.is-complete{background:#2d74be}
.oversight-bottom-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:16px}
.oversight .workbench-section,.aggregate-workspace .workbench-section{margin-bottom:16px}

/* Harmonize PKI signature cards with Airy Light USMART style */
.nd30-stamp-grid{align-items:stretch}
.nd30-stamp-grid>div{display:flex;flex-direction:column}
.nd30-stamp-grid>div>.nd30-stamp{flex:1;border-radius:8px}
.nd30-badge{background:#eef9f2;border:1px solid #cdebd7;color:#1b7444;font-weight:500;border-radius:6px}
.nd30-stamp.nd30-initial{border:1px dashed #2d74be;background:#f8fbff}
.nd30-stamp.nd30-official{border:1.5px solid #c95353;background:#fffcfc}

/* Clean search/filter strip inside cards */
.aggregate-filters{padding:12px 20px;border-bottom:1px solid #eef2f6;background:#fff}
.aggregate-filters input[type=search]{border-radius:6px;border:1px solid #dbe3ec;height:36px;padding:6px 12px}
.aggregate-workspace .pagination{padding:12px 20px;border-top:1px solid #f1f5f9}

/* Deep-page precision polish: 8-col matrix button spacing, dense tables fit 1440px cleanly, 6-step readiness 3x2 grid */
.table-wrap table.usmart-matrix-table th,.table-wrap table.usmart-matrix-table td{padding:6px 4px!important}
.usmart-matrix-table .col-tier{width:52px}
.usmart-matrix-table .col-evidence{width:130px}
.usmart-matrix-table .matrix-ev-actions .btn{padding:3px 6px;min-height:26px;font-size:11px;gap:4px;white-space:nowrap;max-width:100%}
.usmart-matrix-table .matrix-ev-actions .btn svg{width:13px;height:13px;flex:0 0 auto}
.table-wrap table.compact-data-table{width:100%;min-width:0;table-layout:fixed}
.table-wrap table.compact-data-table th,.table-wrap table.compact-data-table td{padding:10px 12px!important;white-space:normal;overflow-wrap:anywhere;word-break:break-word}
@media(min-width:768px){.readiness-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}}

@media(min-width:1101px){body.portal-sidebar-collapsed .app-layout{padding-left:0}}
@media(max-width:1100px){
  .app-layout{padding-left:0}
  .portal-topbar .portal-brand-block{width:255px}
  .oversight-bottom-grid,.role-bottom-split{grid-template-columns:1fr}
}
@media(max-width:960px){
  .workbench-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .workbench-stat{border-bottom:1px solid #eef2f6!important}
  .workbench-stat:nth-child(even){border-right:0!important}
  .workbench-stat:nth-last-child(-n+2){border-bottom:0!important}
  .oversight-signals{grid-template-columns:1fr}
  .oversight-signal{border-right:0!important;border-bottom:1px solid #eef2f6!important}
  .oversight-signal:last-child{border-bottom:0!important}
  .workspace-context-bar{flex-wrap:wrap}
}
@media(max-width:767px){
  .staff-workspace .content,.student-mode .content{padding:14px 14px 82px}
  .workspace-context-bar{gap:6px;margin-bottom:10px;padding-bottom:6px}
  .workspace-context-bar .round-picker select{width:100%;max-width:100%}
  .workspace-context-bar .portal-demo.workbench-demo{width:100%;max-height:none}
  .student-status-row{flex-direction:column;gap:8px}
  .student-status-row .student-readiness-box,.student-status-row .student-drive-banner{flex:0 0 auto;flex-basis:auto;width:100%}
  .student-form-topbar{margin-bottom:10px}
  .oversight-table-head .oversight-filter-bar{width:100%}
  .role-context-divider{display:none}
}

/* === Airy Light USMART Student & Class Officer Skin (Đồng bộ 100% 1 font, 1 nền, 1 hệ thẻ/bảng cho SV, LT, BT) === */
body.student-mode,body.student-mode .content{background:#f8fafc;color:#1e293b;font-family:system-ui,-apple-system,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif}
body.student-mode .content{padding:18px 28px 34px}
body.student-mode .portal-topbar{background:#2d74be;border-bottom:1px solid #2565a8}
body.student-mode .portal-top-search{border-radius:4px;border-color:rgba(255,255,255,.35);height:34px}
body.student-mode .portal-top-search input{height:32px;border-radius:4px 0 0 4px}
body.student-mode .portal-top-search button{border-radius:0 4px 4px 0;background:#fff;border-left:0;color:#475569}
body.student-mode .portal-sidebar{border-right:1px solid #eaeff5;background:#fff}
body.student-mode .portal-side-title{border-bottom:1px solid #f1f5f9;color:#2563a8;font-weight:600}
body.student-mode .portal-nav-link,body.student-mode .portal-nav-group>summary{margin:2px 10px;border-radius:6px;padding:8px 12px;color:#334155;font-size:13.5px}
body.student-mode .portal-nav-link.sub{padding-left:28px;font-size:13px;color:#475569}
body.student-mode .portal-nav-link:hover,body.student-mode .portal-nav-group>summary:hover{background:#f3f7fc;color:#2563a8}
body.student-mode .portal-nav-link.active,body.student-mode .portal-nav-group[open]>summary{background:#eef4fb;color:#2563a8;font-weight:600}
body.student-mode .portal-nav-find{border-top:1px solid #f1f5f9}

/* Breadcrumb & Page Title */
.sv-breadcrumb{display:flex;align-items:center;gap:7px;font-size:12.5px;color:#64748b;margin:0 0 10px;flex-wrap:wrap}
.sv-breadcrumb a{display:inline-flex;align-items:center;gap:5px;color:#64748b;text-decoration:none}
.sv-breadcrumb a:hover{color:#2563a8;text-decoration:underline}
.sv-breadcrumb .icon{width:13px;height:13px;color:#64748b}
.sv-breadcrumb .sep{color:#cbd5e1;font-size:14px;line-height:1}
.sv-breadcrumb [aria-current="page"]{color:#475569}

.sv-page-title{display:flex;align-items:center;gap:10px;margin:0 0 18px}
.sv-title-icon{display:inline-flex;align-items:center;justify-content:center;color:#2d74be}
.sv-title-icon .icon{width:22px;height:22px;stroke-width:1.9}
.sv-page-title h1{font-size:22px;font-weight:600;color:#1e293b;margin:0;letter-spacing:-.01em}

/* Shared Student Portal Surfaces — soft 10px radius, airy spacing, whisper border */
body.student-mode .student-overview,
body.student-mode .student-home,
body.student-mode .student-results,
body.student-mode .officer-dashboard{max-width:1100px;margin:0}
body.student-mode .conduct-overview,
body.student-mode .student-round,
body.student-mode .conduct-terms,
body.student-mode .card,
body.student-mode .student-score-card,
body.student-mode .criteria-group,
body.student-mode .student-form-support,
body.student-mode .officer-kpi-strip{border:1px solid #e6ebf1;border-radius:10px;background:#fff;box-shadow:0 1px 2px rgba(15,23,42,.03)}

/* Student Portal Context Bar & Tabs (LT/BT) — sleek, light, matching Student Portal */
body.student-mode .officer-context-bar{border-bottom:0;padding-bottom:0;margin-bottom:10px;min-height:34px;max-width:1100px}
body.student-mode .officer-context-bar .round-picker select{border-radius:6px;border-color:#dbe3ec;height:34px;min-height:34px;padding:4px 10px;font-size:13px;color:#1e293b}
body.student-mode .officer-context-bar .round-picker>span{border-radius:6px;border-color:#e2e8f0;background:#fff;color:#475569;font-size:12px}
body.student-mode .officer-context-bar .portal-demo button{border-radius:6px;border-color:#dbe3ec;color:#334155;font-size:12px}
body.student-mode .student-tabs{max-width:1100px;border-bottom:1px solid #e6ebf1;margin-bottom:16px;gap:22px}
body.student-mode .student-tabs a{padding:6px 2px 11px;font-size:13.5px;color:#64748b;font-weight:500}
body.student-mode .student-tabs a.active{color:#2563a8;border-bottom:2px solid #2d74be;font-weight:600}
body.student-mode .student-tabs a .nav-count{background:#eef4fb;color:#2563a8;font-weight:600;font-size:11px}
body.student-mode .student-tabs a.active .nav-count{background:#2d74be;color:#fff}

/* Card 1 (SV): Conduct Overview */
body.student-mode .conduct-overview{display:grid;grid-template-columns:minmax(0,300px) minmax(0,1fr);gap:20px;align-items:center;padding:20px 24px;margin-bottom:16px}
.conduct-overview-main{display:flex;align-items:center;gap:16px;min-width:0}
.conduct-overview-icon{width:50px;height:50px;border-radius:50%;background:#eef4fb;color:#2d74be;display:grid;place-items:center;flex-shrink:0}
.conduct-overview-icon .icon{width:22px;height:22px;stroke-width:1.9}
.conduct-overview-copy{min-width:0}
.conduct-overview-label{display:block;font-size:11.5px;font-weight:600;color:#334155;letter-spacing:.01em;line-height:1.35}
body.student-mode .conduct-overview-score{display:flex;align-items:baseline;gap:6px;margin:4px 0 3px}
body.student-mode .conduct-overview-score strong{font-size:28px;font-weight:700;color:#2563a8;letter-spacing:-.02em;line-height:1.1}
body.student-mode .conduct-overview-score span{font-size:17px;font-weight:600;color:#2563a8;opacity:.85}
body.student-mode .conduct-overview-main p{margin:0;font-size:12px;color:#64748b;line-height:1.4}
body.student-mode .conduct-overview-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:0;border-left:1px solid #eef2f6;padding-left:0}
body.student-mode .conduct-overview-stats>div{padding:4px 18px;border-right:1px solid #eef2f6;min-width:0}
body.student-mode .conduct-overview-stats>div:last-child{border-right:0;padding-right:4px}
body.student-mode .conduct-overview-stats dt{font-size:12.5px;color:#475569;font-weight:500;line-height:1.4}
body.student-mode .conduct-overview-stats dd{margin:6px 0 3px;font-size:24px;font-weight:600;color:#0f172a;line-height:1.15}
body.student-mode .conduct-overview-stats small{font-size:11.5px;color:#64748b}

/* Card 2 (SV) & Shared 3-step Progress */
body.student-mode .student-overview .student-round{padding:20px 24px;margin-bottom:16px}
body.student-mode .student-overview .student-round-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.sv-round-title{display:flex;align-items:center;gap:10px;min-width:0;flex-wrap:wrap}
.sv-round-icon{display:inline-flex;align-items:center;justify-content:center;color:#2d74be}
.sv-round-icon .icon{width:18px;height:18px;stroke-width:2}
body.student-mode .student-overview .student-round h2{font-size:15.5px;font-weight:600;color:#1e293b;margin:0}
.sv-soft-btn{display:inline-flex;align-items:center;gap:6px;padding:6px 13px;border-radius:6px;border:1px solid #dce6f2;background:#f8fbff;color:#2563a8;font-size:13px;font-weight:500;text-decoration:none;white-space:nowrap;transition:background .15s,border-color .15s}
.sv-soft-btn:hover{background:#edf4fc;border-color:#bfd4ec;text-decoration:none;color:#1d528d}
.sv-soft-btn .icon{width:14px;height:14px}
.sv-outline-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:7px 15px;min-height:36px;border-radius:6px;border:1px solid #dce3ec;background:#fff;color:#334155;font-size:13px;font-weight:500;text-decoration:none;white-space:nowrap;cursor:pointer;transition:background .15s,border-color .15s,color .15s}
.sv-outline-btn:hover{background:#f8fbff;border-color:#bfd4ec;color:#2563a8;text-decoration:none}
.sv-outline-btn .icon{width:15px;height:15px;color:#475569}
.sv-outline-btn:hover .icon{color:#2563a8}
body.student-mode .student-progress{margin:18px 0 22px;padding:0 24px;display:flex;align-items:center}
body.student-mode .student-progress li{font-size:13px;color:#64748b;gap:10px}
body.student-mode .student-progress li>span{width:26px;height:26px;font-size:12px;font-weight:600;border-color:#cbd5e1;color:#64748b}
body.student-mode .student-progress li.current{color:#2563a8;font-weight:600}
body.student-mode .student-progress li.current>span{background:#2d74be;border-color:#2d74be;color:#fff}
body.student-mode .student-progress li.complete{color:#334155;font-weight:500}
body.student-mode .student-progress li.complete>span{background:#eef4fb;border-color:#bfd4ec;color:#2563a8}
body.student-mode .student-progress li:not(:last-child):after{background:#e2e8f0;margin:0 18px}
body.student-mode .student-overview .student-round-bottom{padding-top:16px;border-top:1px solid #f1f5f9;display:flex;align-items:center;justify-content:space-between;gap:12px}
body.student-mode .student-round-bottom>span{font-size:13px;color:#475569;gap:8px}
body.student-mode .student-round-bottom>span .icon{width:15px;height:15px;color:#64748b}
.sv-primary-btn{background:#2b72bd!important;border-color:#2b72bd!important;color:#fff!important;border-radius:6px!important;padding:8px 18px!important;min-height:36px!important;font-size:13.5px!important;font-weight:500!important;gap:7px}
.sv-primary-btn:hover{background:#225fa0!important;border-color:#225fa0!important}

/* Shared Borderless-Vertical Clean Tables inside Student Portal (SV, LT, BT) */
body.student-mode .conduct-terms,
body.student-mode .officer-list-card{margin-top:0;overflow:hidden}
body.student-mode .sv-terms-head{background:#fff;border-bottom:1px solid #eef2f6;padding:14px 22px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.sv-table-title{display:flex;align-items:center;gap:9px}
.sv-table-title .icon{width:17px;height:17px;color:#475569}
body.student-mode .sv-table-title h2{font-size:15px;font-weight:600;color:#1e293b;margin:0}
.sv-terms-links{display:flex;align-items:center;gap:8px;font-size:12.5px;color:#cbd5e1}
.sv-terms-links a{color:#64748b;text-decoration:none}
.sv-terms-links a:hover{color:#2563a8;text-decoration:underline}
body.student-mode .table-wrap table{border-collapse:collapse;width:100%}
body.student-mode .table-wrap table th,
body.student-mode .conduct-table th{background:#f8fafc;color:#475569;font-size:12.5px;font-weight:500;border:0;border-bottom:1px solid #eef2f6;padding:10px 20px!important}
body.student-mode .table-wrap table td,
body.student-mode .conduct-table td{border:0;border-bottom:1px solid #f1f5f9;padding:10px 20px!important;color:#334155;font-size:13.5px;vertical-align:middle}
body.student-mode .table-wrap tbody tr:nth-child(even),
body.student-mode .conduct-table tbody tr:nth-child(even){background:#fff}
body.student-mode .table-wrap tbody tr:hover,
body.student-mode .conduct-table tbody tr:hover{background:#f8fbff}
body.student-mode .table-wrap tbody tr:last-child td,
body.student-mode .conduct-table tbody tr:last-child td{border-bottom:0}
body.student-mode .conduct-table .is-current{background:#fff!important}
body.student-mode .conduct-table .is-current:hover{background:#f8fbff!important}
.sv-term-name{display:block;font-weight:600;color:#1e293b;font-size:13.5px}
.sv-term-year{display:block;font-size:12px;color:#64748b;margin-top:2px}
body.student-mode .conduct-table .conduct-score{font-size:14px;font-weight:600;color:#2563a8}
body.student-mode .conduct-table .conduct-score.is-empty{color:#94a3b8;font-weight:400}
.sv-dash{color:#94a3b8}
.sv-outcome{display:inline-block;font-size:12.5px;font-weight:500}
.sv-outcome.is-pass{color:#1d7a4c}
.sv-outcome.is-fail{color:#b93838}
.sv-state-text{font-size:13px;color:#475569}
.sv-state-text.is-draft{color:#2563a8;font-weight:500}
.sv-term-action{text-align:right;white-space:nowrap}
.sv-text-link{color:#2563a8;font-size:13px;font-weight:500;text-decoration:none;background:none;border:0;padding:0;cursor:pointer;font-family:inherit}
.sv-text-link:hover{text-decoration:underline;color:#1a4f8a}

/* === Class Officer (LT / BCS / BT) Dashboard — Matches Student Portal Airy Skin 1:1 === */
.officer-header{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:16px;flex-wrap:wrap}
.officer-header h1{font-size:22px;font-weight:600;color:#1e293b;margin:0;letter-spacing:-.01em}
.officer-subtitle{margin:4px 0 0;font-size:13px;color:#64748b}
.officer-subtitle strong{color:#334155;font-weight:600}

.officer-kpi-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:14px;overflow:hidden}
.officer-kpi-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 20px;border-right:1px solid #eef2f6;color:#334155;text-decoration:none;transition:background .15s}
.officer-kpi-item:last-child{border-right:0}
.officer-kpi-item:hover{background:#f8fbff;text-decoration:none}
.officer-kpi-left{display:flex;align-items:center;gap:9px;font-size:13px;color:#475569;min-width:0}
.officer-kpi-left .icon{width:17px;height:17px;color:#64748b;flex-shrink:0}
.officer-kpi-val{font-size:20px;font-weight:700;color:#0f172a;white-space:nowrap}
.officer-kpi-val.is-text{font-size:14.5px;font-weight:600;color:#1e293b}

.officer-mid-grid{display:grid;grid-template-columns:1.55fr 1fr;gap:14px;margin-bottom:14px}
.officer-progress-card,.officer-own-card{padding:18px 22px;display:flex;flex-direction:column;justify-content:space-between}
.officer-card-title{display:flex;align-items:center;gap:9px;margin-bottom:12px}
.officer-card-title .icon{width:17px;height:17px;color:#475569}
.officer-card-title h2{font-size:14.5px;font-weight:600;color:#1e293b;margin:0}
body.student-mode .officer-progress{margin:10px 0 14px;padding:0 8px}
.officer-deadline-line{display:flex;align-items:center;gap:7px;margin:0;font-size:12.5px;color:#64748b}
.officer-deadline-line .icon{width:14px;height:14px;color:#64748b}
.officer-deadline-line strong{color:#334155;font-weight:600}

.officer-own-meta{display:flex;align-items:center;gap:16px;padding:6px 0 14px;font-size:13px;color:#64748b;flex-wrap:wrap}
.officer-own-meta>div{display:flex;align-items:center;gap:5px}
.officer-own-meta>div:first-child{padding-right:16px;border-right:1px solid #eef2f6}
.officer-own-meta strong{color:#0f172a;font-weight:600}
.officer-own-meta strong.is-blue{color:#2563a8}
.officer-own-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.officer-own-btn{flex:1 1 auto}
.officer-sod-link{font-size:12.5px;white-space:nowrap}

.officer-action-row{display:flex;align-items:center;gap:10px;margin-bottom:14px;flex-wrap:wrap}

.officer-mssv{font-variant-numeric:tabular-nums;color:#475569;font-size:13px}
.officer-sv-name{font-weight:500;color:#1e293b;font-size:13.5px}
.officer-status{font-size:13px;font-weight:500;color:#475569}
.officer-status.is-primary{color:#2563a8}
.officer-status.is-warn{color:#9a5b13}
.officer-status.is-pass{color:#1d7a4c}
.officer-status.is-info{color:#2563a8}
.officer-status.is-muted{color:#64748b;font-weight:400}
.officer-issue{color:#475569;font-size:13px}
.officer-action-head,.officer-action-cell{text-align:right;white-space:nowrap}
.officer-open-link{display:inline-flex;align-items:center;gap:5px}
.officer-open-link .icon{width:14px;height:14px}

.officer-pki-bar{margin-top:14px;padding:13px 20px;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.officer-pki-left{display:flex;align-items:center;gap:14px;flex-wrap:wrap;min-width:0}
.officer-pki-title{display:inline-flex;align-items:center;gap:8px;color:#1e293b;font-size:13.5px;padding-right:14px;border-right:1px solid #eef2f6}
.officer-pki-title .icon{width:15px;height:15px;color:#2d74be}
.officer-pki-desc{font-size:13px;color:#64748b}

/* Harmonize Student Form (#form), LT/BT Queue (#queue), Batch Bar & Secondary Pages */
.student-form-topbar{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.student-form-title{display:flex;flex-direction:column;gap:2px}
/* Authentic USMART Student Portal root dashboard (#portal) matching congsv.vinhuni.edu.vn/sv/main/dashboard */
body.student-mode .portal-side-title{text-transform:uppercase;letter-spacing:.2px;font-size:13px;font-weight:700;color:#2866a7}
body.is-portal-home,body.is-portal-home .content{background:#ffffff!important}
body.is-portal-home .content{display:flex;flex-direction:column;min-height:calc(100vh - 60px);padding:0 24px 16px}
.usmart-portal-welcome{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:48px 16px 64px;max-width:none;margin:0}
.usmart-portal-welcome-icon{width:56px;height:56px;border-radius:8px;background:#2f80ed;color:#ffffff;display:grid;place-items:center;margin-bottom:18px;box-shadow:0 4px 14px rgba(47,128,237,.18)}
.usmart-portal-welcome-sub{margin:0 0 6px;font-size:21px;font-weight:400;line-height:1.35;color:#2f80ed}
.usmart-portal-welcome-title{margin:0 0 14px!important;font-size:27px!important;font-weight:700!important;line-height:1.3!important;letter-spacing:.3px;color:#2f80ed!important;text-transform:uppercase}
.usmart-portal-welcome-back{display:inline-flex;align-items:center;gap:6px;font-size:13.5px;font-weight:400;color:#3b82f6;text-decoration:none;padding:4px 10px;border-radius:6px}
.usmart-portal-welcome-back:hover{background:#eff6ff;text-decoration:none;color:#1d4ed8}
body.is-portal-home .footer{border-top:0;margin-top:auto;opacity:.65}
@media(max-width:767px){
  .usmart-portal-welcome-sub{font-size:18px}
  .usmart-portal-welcome-title{font-size:22px!important}
}

.student-form-h1-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.student-status-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;margin-bottom:12px}
.student-status-row .student-readiness-box{margin:0;padding:8px 14px;border:1px solid #e6ebf1;border-radius:8px;background:#fff;box-shadow:none;gap:6px 10px;color:#475569}
.student-status-row .student-drive-banner{margin:0;padding:7px 14px;border:1px solid #e6ebf1;border-radius:8px;background:#fff;box-shadow:none;gap:10px}
.student-status-row .student-drive-banner.is-attached{grid-column:1/-1}
@media(max-width:767px){.student-status-row{grid-template-columns:1fr;gap:8px}}
.readiness-pill{padding:2px 9px;border-radius:6px;border:1px solid #e2e8f0;background:#f8fafc;color:#475569;font-size:12px;font-weight:500}
.readiness-pill.is-warn{background:#fef9ea;border-color:#f3e1b4;color:#925a12}
.readiness-pill.is-ok{background:#eef9f2;border-color:#cdebd7;color:#1b7444}
.readiness-pill.is-danger{background:#fef2f2;border-color:#f5d0d0;color:#b93838}
@media(min-width:768px){.student-editor-layout .student-score-card{top:72px}}
body.student-mode .student-form-view{max-width:1100px;margin:0}
body.student-mode .student-form-h1-row h1,
body.student-mode .workbench-head h1,
body.student-mode .page-head h1{font-size:21px;font-weight:600;color:#1e293b}
body.student-mode .student-status-row .student-readiness-box,
body.student-mode .student-status-row .student-drive-banner{border-radius:8px;border-color:#e6ebf1;background:#fff}
body.student-mode .student-status-row .student-readiness-box.is-ready,
body.student-mode .student-status-row .student-drive-banner.is-attached{border-color:#cde5d7;background:#f5fbf7}
body.student-mode .criteria-group{border-radius:8px;margin-bottom:8px;overflow:hidden}
body.student-mode .criteria-group summary{padding:12px 16px;background:#fff}
body.student-mode .criteria-group[open]>summary{background:#f8fafc;border-bottom:1px solid #eef2f6}
body.student-mode .group-number{border-radius:6px!important;background:#eef4fb!important;border:0;color:#2563a8!important;font-weight:600}
body.student-mode .student-score-card{padding:20px;border-radius:10px}
body.student-mode .student-score-actions .btn{border-radius:6px;min-height:38px}
body.student-mode .student-form-support>summary{background:#fff;border-radius:10px;padding:12px 16px}
body.student-mode .card-head{background:#fff;border-bottom:1px solid #eef2f6;padding:14px 20px}
body.student-mode .card-head h2{font-size:15px;font-weight:600;color:#1e293b}
body.student-mode .btn{border-radius:6px}
body.student-mode .btn.primary{background:#2b72bd;border-color:#2b72bd}
body.student-mode .btn.primary:hover{background:#225fa0;border-color:#225fa0}
body.student-mode .badge{border-radius:4px}
body.student-mode .class-handoff{border-left:3px solid #2d74be;padding:16px 20px;margin:0 0 14px;max-width:1100px}
body.student-mode .class-handoff h2{font-size:15.5px;font-weight:600;color:#1e293b;margin-bottom:4px}
body.student-mode .batch-bar{background:#f8fafc;border-bottom:1px solid #eef2f6;border-radius:0;padding:12px 18px}
body.student-mode .queue-primary-filter{border-bottom:1px solid #eef2f6;padding:14px 20px}
body.student-mode .queue-filter-more{border-bottom:1px solid #eef2f6}
body.student-mode .usmart-roster-table{table-layout:auto;min-width:0;width:100%}
body.student-mode .usmart-roster-table .check-col{width:44px;padding-left:16px!important;padding-right:8px!important}
body.student-mode .usmart-roster-table .action-col{white-space:nowrap;width:142px;text-align:right}
body.student-mode .usmart-roster-table .action-col .btn{white-space:nowrap;min-height:32px;padding:5px 12px}

@media(max-width:960px){
  body.student-mode .conduct-overview{grid-template-columns:1fr;gap:16px}
  body.student-mode .conduct-overview-stats{border-left:0;border-top:1px solid #eef2f6;padding-top:14px;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  body.student-mode .conduct-overview-stats>div{border-right:0;padding:4px 8px}
  body.student-mode .student-progress{padding:0}
  .officer-kpi-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
  .officer-kpi-item{border-bottom:1px solid #eef2f6}
  .officer-kpi-item:nth-child(even){border-right:0}
  .officer-kpi-item:nth-last-child(-n+2){border-bottom:0}
  .officer-mid-grid{grid-template-columns:1fr}
}
@media(max-width:767px){
  body.student-mode .content{padding:14px 14px 82px}
  body.student-mode .conduct-overview,
  body.student-mode .student-overview .student-round,
  .officer-progress-card,.officer-own-card{padding:16px}
  body.student-mode .student-progress{align-items:flex-start}
  body.student-mode .student-progress li{text-align:center}
  body.student-mode .sv-terms-head{padding:14px 16px}
  body.student-mode .conduct-table th,
  body.student-mode .conduct-table td{padding:8px 0!important}
  .sv-term-action,.officer-action-cell{text-align:left}
  .officer-pki-title{border-right:0;padding-right:0}
  .officer-own-meta>div:first-child{border-right:0;padding-right:0}
}
