/* University Queue — shared interface system. */
:root{--uq-teal:#0e6f6b;--uq-ink:#333a45;--uq-muted:#657480;--uq-line:#e2e9ed;--uq-surface:#fff;--uq-soft:#f3f7f8;--uq-shadow:0 4px 22px #22374308}
html body{font-family:'Vazirmatn',sans-serif!important;font-weight:400!important;color:var(--uq-ink);background:#f3f6f8!important;line-height:1.75}
body::before,body::after{display:none!important}
body a,body a:hover{text-decoration:none!important}
body :is(h1,h2,h3,h4,h5){color:var(--uq-ink);letter-spacing:0;font-weight:700;line-height:1.5}
body h1{font-size:clamp(23px,2.2vw,30px)!important}body h2{font-size:20px!important}body h3,body h5{font-size:18px!important}
body :is(input,select,textarea,button){font-family:inherit}
body :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #37a59d!important;outline-offset:3px}
body .sb-topnav{background:#fff!important;box-shadow:0 1px 0 var(--uq-line)!important;backdrop-filter:none!important}
body #main-content{padding:30px!important;min-width:0}
body .queue-wrap{max-width:1600px;width:100%;padding:0 0 24px;margin-inline:auto}
body .queue-title,body .uq-heading{margin-bottom:28px;padding-bottom:22px;border-bottom:1px solid var(--uq-line)}
body .queue-title p,body .uq-heading p{max-width:850px;margin:8px 0 0;color:var(--uq-muted);font-size:14px}
.uq-eyebrow{display:block;color:var(--uq-teal);font-size:12px;font-weight:700;margin-bottom:7px}
.uq-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
body .queue-links{gap:8px;margin:0;align-items:center}
body :is(.queue-panel,.card){background:var(--uq-surface)!important;border:1px solid var(--uq-line)!important;border-radius:18px!important;box-shadow:var(--uq-shadow)!important;overflow:visible}
body .queue-panel{padding:24px;margin-bottom:22px}
body .queue-panel h2{margin-bottom:14px}
body .card-header{background:transparent!important;border-bottom:1px solid var(--uq-line)!important;padding:18px 22px!important}
body .card-body{padding:22px!important}
body .queue-grid{gap:18px;align-items:start}
body .btn{border-radius:10px!important;padding:9px 16px!important;min-height:38px!important;font-size:13px!important;font-weight:600!important;box-shadow:none!important;transition:background .16s,border-color .16s;white-space:normal}
body .btn:hover{transform:none!important}
body :is(.btn-primary,.btn-login){background:var(--uq-teal)!important;border-color:var(--uq-teal)!important;color:white!important}
body :is(.btn-primary,.btn-login):hover{background:#095752!important;border-color:#095752!important}
body :is(.btn-outline-secondary,.btn-secondary){background:#fff!important;border:1px solid #d4dee3!important;color:var(--uq-ink)!important}
body :is(.btn-outline-secondary,.btn-secondary):hover{background:#edf3f5!important}
body .btn-danger{background:#fff1f2!important;color:#b42338!important;border:1px solid #ffdae0!important}
body .table .btn{min-width:32px!important;min-height:32px!important;padding:6px 9px!important;font-size:12px!important;border-radius:8px!important}
body :is(.form-control,.form-select,.queue-panel select,.queue-panel input[type=text]){background:#fff!important;border:1px solid #cfdbe0!important;border-radius:10px!important;min-height:44px;font-size:14px!important;color:var(--uq-ink);padding:10px 13px;box-shadow:none!important}
body :is(.form-control,.form-select):focus{border-color:var(--uq-teal)!important;box-shadow:0 0 0 3px #0e6f6b12!important}
body :is(.form-label,.queue-panel label){font-size:13px;font-weight:600;color:#435460;margin-bottom:7px}
body input[type=checkbox]{accent-color:var(--uq-teal);width:17px;height:17px;flex-shrink:0}
body .table{font-size:14px!important;color:var(--uq-ink);margin-bottom:0;border-collapse:separate;border-spacing:0}
body .table>:not(caption)>*>*{padding:15px 16px!important;vertical-align:middle;border-bottom:1px solid #eaf0f3!important;box-shadow:none!important;background:transparent}
body .table thead th{background:#f4f7f9!important;color:#63727e!important;font-size:12px!important;font-weight:700!important;border-top:0!important;white-space:nowrap}
body .table tbody tr:hover{background:#f5faf9!important}
body .table tbody tr:last-child td{border-bottom:0!important}
body .table-responsive{border-radius:12px}
body .dataTables_wrapper .dataTables_filter input{border:1px solid #d6e1e5!important;border-radius:9px!important;min-height:38px;padding:6px 12px!important}
body .dataTables_wrapper :is(.dataTables_length,.dataTables_filter,.dataTables_info,.dataTables_paginate){font-size:12px!important;color:var(--uq-muted)!important;padding-block:10px}
body .dataTables_wrapper .dataTables_paginate .paginate_button{border-radius:8px!important}
body .dataTables_wrapper .dataTables_paginate .paginate_button.current{background:#e5f2f0!important;border:1px solid #cee7e3!important;color:var(--uq-teal)!important}
body .queue-status{background:#e7f4f1;color:#0b625d;border-radius:7px;padding:5px 10px;font-size:12px;font-weight:600}
body .queue-number{background:#eef7f5;border:1px solid #d9ece7;border-radius:14px;color:var(--uq-teal);font-size:clamp(64px,7vw,108px);line-height:1.2;font-weight:800;font-variant-numeric:tabular-nums;padding:28px 16px}
body .queue-checks{background:#f8fafb;border:1px solid var(--uq-line);padding:8px;max-height:300px}
body .queue-checks label{background:#fff;border:1px solid #e5edef;border-radius:9px;margin:6px;padding:12px;cursor:pointer}
body .queue-checks label:has(input:checked){background:#eaf6f2;border-color:#a7d3c9}
body details.queue-panel{padding:0;overflow:hidden}
body details.queue-panel summary{padding:20px 24px;font-weight:600;cursor:pointer;font-size:15px;list-style-position:inside}
body details.queue-panel[open] summary{background:#f1f8f6;border-bottom:1px solid var(--uq-line);color:var(--uq-teal)}
body details.queue-panel form{padding:24px}
body .queue-muted{font-size:13px;color:var(--uq-muted);margin-top:12px}
body .queue-actions{gap:10px;align-items:center}
body .uq-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-bottom:26px}
body .uq-stat{position:relative;padding:20px!important;margin:0;border-radius:15px!important}
.uq-stat-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
body .uq-stat h2{font-size:12px!important;font-weight:600;color:var(--uq-muted);margin:0}
.uq-stat i{display:grid;place-items:center;width:34px;height:34px;background:#eaf4f1;border-radius:10px;color:var(--uq-teal);font-size:14px}
body .uq-stat strong{display:block;font-size:36px;color:var(--uq-ink);line-height:1.3;margin-top:18px;font-weight:700;font-variant-numeric:tabular-nums}
.uq-stat:last-child{border-bottom:3px solid var(--uq-teal)!important}
.uq-section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}
body .uq-section-head h2{margin:0}
.uq-caption{font-size:12px;color:var(--uq-muted)}
body .uq-empty{text-align:center;padding:34px!important;color:var(--uq-muted);font-size:14px}
body .uq-note{padding:13px 16px;background:#eaf3f4;border-inline-start:3px solid var(--uq-teal);border-radius:8px;color:#476269;font-size:13px;margin-bottom:24px}
body .uq-flow{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0 26px;padding:0;list-style:none;counter-reset:step}
.uq-flow li{display:flex;align-items:center;gap:8px;color:#597079;font-size:13px;background:#fff;border:1px solid var(--uq-line);padding:9px 14px;border-radius:40px;counter-increment:step}
.uq-flow li::before{content:counter(step);display:grid;place-items:center;border-radius:50%;width:24px;height:24px;color:var(--uq-teal);background:#e6f2ef;font-weight:700}
body .uq-issue{background:linear-gradient(110deg,#fff 30%,#edf7f4)!important;border-color:#cfe5df!important;padding:32px!important}
body .uq-issue .btn{padding:13px 24px!important;font-size:15px!important}
body #board-tickets{grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr))}
body #board-tickets .queue-panel{text-align:center;border-top:4px solid var(--uq-teal)!important}
body #board-tickets h2{font-size:clamp(22px,2.5vw,32px)!important}
body #board-status{display:inline-flex;align-items:center;gap:7px;color:var(--uq-muted);font-size:12px}
body #board-status::before{content:'';width:7px;height:7px;border-radius:50%;background:currentColor}
body .alert{border-radius:12px!important;padding:14px 18px!important;font-size:14px}
body .modal-content{border:0;border-radius:18px;box-shadow:0 20px 80px #243b5326}
body .modal-header,body .modal-footer{border-color:var(--uq-line);padding:18px 24px}
body .admin-workspace .glass-nav a{font-size:13px}
.admin-workspace .glass-nav a{color:#52636f!important;margin-bottom:4px}
.admin-workspace .glass-nav a.active{background:#e6f2f0!important;color:var(--uq-teal)!important;box-shadow:inset -3px 0 var(--uq-teal)!important}
.admin-workspace .glass-nav a:hover{background:#f0f6f5!important}
body .auth-container{border-radius:24px!important;overflow:hidden;box-shadow:0 20px 70px #1d4f5312!important;border:1px solid #dde8e9}
body .auth-brand-side{background:linear-gradient(145deg,#0e6f6b,#164a50)!important;color:#fff!important;border-radius:0!important}
body .auth-brand-side :is(h2,p,.copyright){color:#fff!important}
body .auth-form-side{background:white!important;padding:48px!important}
body .login-title{font-size:28px!important}
body .login-subtitle{font-size:14px!important;color:var(--uq-muted)!important}
body footer{background:transparent!important;color:#72818b!important;font-size:12px!important;border-top:1px solid var(--uq-line);padding:18px!important}
@media(max-width:1200px){body .uq-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:767px){body #main-content{padding:18px!important}body .queue-panel{padding:18px}body .uq-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}body .uq-stat{padding:15px!important}.uq-stat strong{font-size:30px!important}.uq-heading{align-items:flex-start}.uq-section-head{align-items:flex-start;flex-direction:column}body details.queue-panel form{padding:16px}body .auth-form-side{padding:28px!important}body .queue-title{margin-bottom:20px}.uq-flow{gap:6px!important}.uq-flow li{font-size:11px;padding:7px 10px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media print{body{background:#fff!important}body #main-content{padding:0!important}body .queue-print{box-shadow:none!important;border:0!important}body .queue-print .queue-number{background:white!important;border:0!important;color:black!important}body .queue-no-print,body .skip-link{display:none!important}}

body .queue-panel.table-responsive{overflow-x:auto!important;max-width:100%} body .queue-panel .table-responsive{overflow-x:auto;max-width:100%}


/* Campus interface refinement: scoped components and accessible interaction states. */
:root { --uq-line:#dde7e7; --uq-muted:#5c6c76; --uq-shadow:0 5px 24px rgba(32,62,64,.045); }
html body { background:#f1f5f5!important; }
body .sb-topnav { border-bottom:1px solid #dde7e7; }
body .brand-lockup { font-size:20px; gap:12px; }
body .brand-lockup small { color:#61717b; font-size:12px; margin-top:3px; }
body .logout-button { min-height:40px; background:#fff; color:#4c5c66; border-color:#dce5e7; }
body .logout-button:hover { background:#f2f6f6; }
body #layoutSidenav #layoutSidenav_content { min-width:0; }
body #main-content { padding:28px!important; }
body .queue-title, body .uq-heading { border:0; padding:0 0 8px; margin-bottom:26px; }
body .queue-title h1, body .uq-heading h1 { margin:0; font-size:clamp(23px,2.1vw,30px)!important; }
body .queue-title p, body .uq-heading p { font-size:14px; line-height:1.9; }
body .queue-panel,body .card { border-radius:16px!important; }
body .card-header { color:#333a45; font-weight:650; }
body .card-body.shadow-sm { box-shadow:none!important; }
body .breadcrumb { gap:4px; font-size:13px; color:#64747d; margin-bottom:22px; }
body .btn { min-height:42px!important; padding:9px 17px!important; border-radius:9px!important; }
body .btn-success { background:#0e6f6b!important; border-color:#0e6f6b!important; color:#fff!important; }
body .btn-success:hover { background:#095752!important; }
body .btn:active, body .recent-ticket-action:active { filter:brightness(.94); }
body .table .btn { min-width:36px!important; min-height:36px!important; }
body .queue-panel select { width:100%; }
body :is(.form-control,.form-select,.queue-panel select,.queue-panel input[type=text]) { min-height:46px; }
body :is(.form-control,.form-select,.queue-panel select,.queue-panel input):focus { border-color:#0e6f6b!important; box-shadow:0 0 0 3px #0e6f6b16!important; }
body .form-group { margin-bottom:18px; }
body .invalid-feedback,body .text-danger { color:#a3283d!important; }
body .alert-success { color:#155a48; background:#ebf6f0; border:1px solid #cee7da; }
body .alert-danger { color:#923046; background:#fff1f3; border:1px solid #f3d5dd; }
body .table thead th { color:#485c65!important; font-size:13px!important; background:#eff5f5!important; }
body .table tbody th { vertical-align:middle; }
body .table tbody td { line-height:1.7; }
body .pagination { gap:5px; flex-wrap:wrap; margin:20px 0 0; }
body .page-link { border-radius:8px!important; border-color:#dce7e6; color:#0e6f6b; min-width:38px; text-align:center; }
body .page-item.active .page-link { color:#fff; background:#0e6f6b; border-color:#0e6f6b; }
body .uq-stats { grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
body .uq-stat { padding:23px!important; border-top:3px solid #d9e9e6!important; }
body .uq-stat h2 { font-size:14px!important; color:#4d626b; }
body .uq-stat strong { font-size:40px; margin-top:16px; }
body .uq-stat i { width:42px; height:42px; font-size:17px; }
body .uq-stat:last-child { border-bottom:1px solid var(--uq-line)!important; border-top-color:#0e6f6b!important; }
body .uq-flow { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
body .uq-flow li { border-radius:12px; padding:12px 16px; font-size:13px; }
body .uq-flow li::marker { content:''; }
body .uq-flow li::before { width:28px; height:28px; flex-shrink:0; }
body .uq-flow li:first-child { color:#0e6f6b; border-color:#b7d7d2; background:#eef7f5; }
body .uq-issue { background:linear-gradient(120deg,#fff 65%,#f0f8f6)!important; border-top:3px solid #0e6f6b!important; padding:28px!important; }
body .uq-issue form { margin-top:22px; }
body .uq-issue .queue-grid { gap:24px; }
body .uq-issue .btn { margin-top:8px; }
body .queue-checks { border-radius:12px; max-height:360px; }
body details.queue-panel summary { display:flex; align-items:center; gap:12px; }
body details.queue-panel summary::before { content:'+'; display:grid; place-items:center; width:28px; height:28px; background:#eaf4f1; color:#0e6f6b; border-radius:8px; flex-shrink:0; }
body details.queue-panel[open] summary::before { content:'−'; }
body .admin-workspace .glass-nav a { min-height:46px; border-radius:10px; margin-bottom:6px; gap:12px; }
body .admin-workspace .glass-nav a i { width:22px; text-align:center; }
body .admin-workspace .glass-nav a.active { background:#e7f3f0!important; }
.campus-heading { display:flex; align-items:center; justify-content:space-between; gap:18px; flex-wrap:wrap; }
.campus-desk-grid { grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr)); }
.campus-desk-head { display:flex; justify-content:space-between; gap:16px; align-items:center; }
body .campus-desk-head h2 { margin:0; }
.campus-desk-icon { display:grid; place-items:center; width:44px; height:44px; border-radius:12px; color:#0e6f6b; background:#eaf5f2; flex-shrink:0; }
.campus-desk-counts { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:22px 0; }
.campus-desk-counts div { border:1px solid #e0e9e9; border-radius:12px; padding:12px 16px; background:#f7faf9; }
.campus-desk-counts span { display:block; color:#61727a; font-size:12px; }
.campus-desk-counts strong { display:block; color:#333a45; font-size:27px; font-variant-numeric:tabular-nums; }
.campus-desk-current { text-align:center; padding-block:8px 20px; }
.campus-desk-current > span { color:#536d75; font-size:13px; }
body .campus-desk-current .queue-number { margin-top:10px; font-size:80px; padding:20px; }
.campus-desk-idle { text-align:center; padding:28px 16px; border:1px dashed #cadcd8; border-radius:14px; background:#fafcfb; margin-bottom:20px; }
.campus-desk-idle > i { color:#0e6f6b; font-size:26px; margin-bottom:14px; }
.campus-desk-idle strong { display:block; font-size:17px; }
.campus-desk-idle p { color:#61717b; font-size:13px; margin:8px 0 0; }
body .campus-desk form .btn { width:100%; min-height:48px!important; }
body #board-tickets .queue-panel { padding:28px; }
body #board-tickets .queue-number { font-size:clamp(80px,9vw,140px); border:0; background:#edf7f4; }
body #board-tickets p { font-size:17px; color:#526771; line-height:1.8; }
body .queue-print { max-width:660px; margin-inline:auto; text-align:center; border-top:4px solid #0e6f6b!important; }
body .queue-print .queue-no-print { display:flex; flex-wrap:wrap; gap:12px; justify-content:center; margin-top:22px; }
body .auth-container .btn-login { min-height:48px; border-radius:10px; }
body .auth-container .form-control { min-height:48px; }
@media(max-width:767px) {
 body #main-content { padding:18px!important; }
 body #layoutSidenav #layoutSidenav_content { padding:0!important; }
 body .uq-stats { gap:10px; }
 body .uq-stat { padding:14px!important; }
 body .uq-stat h2 { font-size:12px!important; }
 body .uq-stat i { display:none; }
 body .uq-stat strong { font-size:30px; }
 body .uq-flow { gap:7px; }
 body .uq-flow li { padding:9px 7px; font-size:11px; gap:5px; }
 body .uq-flow li::before { width:22px; height:22px; }
 body .uq-issue { padding:20px!important; }
 body .uq-issue .queue-grid { gap:15px; }
 body .uq-issue .btn { width:100%; }
 body .brand-lockup { font-size:16px; }
 body .top-meta .account-name { display:none; }
 body .top-meta .avatar { display:none; }
 body .sb-topnav { gap:9px; padding-inline:14px!important; }
 body .queue-panel { padding:18px; }
 body #board-tickets .queue-panel { padding:20px; }
}
@media(prefers-reduced-motion:no-preference) { body :is(.btn,.logout-button,.glass-nav a,.recent-ticket-action) { transition:background-color .18s ease,border-color .18s ease,color .18s ease; } }
@media print { body .queue-print { max-width:none; border:0!important; } body .queue-print .queue-no-print { display:none!important; } }

/* Full-width university administration shell. */
body.admin-workspace { --uq-ink:#333a45; --uq-muted:#687079; --uq-line:#e0e4e7; background:#f5f6f7!important; }
body.admin-workspace .sb-topnav { position:sticky!important; top:0; z-index:1040; margin:0!important; width:100%!important; height:76px!important; border:0; border-bottom:1px solid #e0e4e7; border-radius:0!important; background:#fff!important; padding:0 26px!important; box-shadow:none!important; }
body.admin-workspace #layoutSidenav { margin:0!important; width:100%; border:0!important; border-radius:0!important; box-shadow:none!important; background:#f5f6f7!important; overflow:visible; }
body.admin-workspace #layoutSidenav #layoutSidenav_content { padding:0!important; margin:0!important; min-width:0; min-height:calc(100dvh - 76px); }
body.admin-workspace #main-content { padding:30px 32px!important; width:100%; max-width:none!important; }
body.admin-workspace .queue-wrap { width:100%; max-width:none; margin:0; padding-bottom:0; }
body.admin-workspace #layoutSidenav #layoutSidenav_nav { background:#fff!important; border-inline-end:1px solid #e0e4e7!important; border-radius:0!important; width:238px!important; flex-basis:238px!important; }
body.admin-workspace #layoutSidenav_nav .sb-sidenav { background:#fff!important; padding:26px 14px; border:0; border-radius:0; }
body.admin-workspace .sb-sidenav .nav-label { color:#7a8087!important; font-size:11px; margin:0 14px 20px; }
body.admin-workspace .glass-nav { gap:5px; }
body.admin-workspace .glass-nav a { min-height:46px; color:#555e68!important; font-size:13px; font-weight:500; padding:11px 14px; margin:0; border:0; border-radius:8px; box-shadow:none!important; }
body.admin-workspace .glass-nav a i { color:#747c84!important; font-size:15px; }
body.admin-workspace .glass-nav a:hover { background:#f2f4f5!important; color:#333a45!important; }
body.admin-workspace .glass-nav a.active { background:#edf5f4!important; color:#0e6f6b!important; box-shadow:inset -3px 0 #0e6f6b!important; font-weight:700; }
body.admin-workspace .glass-nav a.active i { color:#0e6f6b!important; }
body.admin-workspace .uq-heading { padding:0; border:0; margin:0 0 28px; gap:20px; background:none; box-shadow:none; }
body.admin-workspace .uq-heading h1 { color:#333a45!important; font-size:clamp(24px,2vw,30px)!important; font-weight:700; }
body.admin-workspace .uq-heading .uq-eyebrow { color:#0e6f6b; font-size:12px; margin-bottom:8px; }
body.admin-workspace .uq-heading p { color:#687079; font-size:13px; }
body.admin-workspace .uq-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; margin-bottom:24px; }
body.admin-workspace .uq-stat { background:#fff!important; padding:23px!important; border:1px solid #e0e4e7!important; border-radius:12px!important; box-shadow:0 2px 5px #333a4503!important; }
body.admin-workspace .uq-stat h2 { color:#687079; font-size:13px!important; font-weight:500; }
body.admin-workspace .uq-stat strong { color:#333a45; font-size:40px; line-height:1.25; margin-top:16px; font-variant-numeric:tabular-nums; }
body.admin-workspace .uq-stat i { background:#edf5f4; color:#0e6f6b; border-radius:10px; width:40px; height:40px; }
body.admin-workspace .uq-stat:last-child { border-bottom:1px solid #e0e4e7!important; }
body.admin-workspace .uq-note { background:none; padding:0; border:0; color:#747c84; font-size:12px; margin-bottom:22px; }
body.admin-workspace :is(.queue-panel,.card) { border:1px solid #e0e4e7!important; border-radius:12px!important; box-shadow:0 2px 6px #333a4503!important; }
.admin-data-grid { display:grid; grid-template-columns:minmax(0,1fr); gap:22px; align-items:start; }
.admin-data-grid > * { min-width:0; }
body.admin-workspace .admin-data-grid .queue-panel { margin-bottom:0; padding:22px; }
body.admin-workspace .uq-section-head { padding-bottom:18px; margin-bottom:18px; border-bottom:1px solid #edf0f1; }
body.admin-workspace .uq-section-head h2 { font-size:18px!important; color:#333a45; }
body.admin-workspace .uq-caption { color:#747c84; font-size:12px; }
body.admin-workspace .table thead th { background:#f1f4f4!important; color:#606973!important; border-bottom:1px solid #e0e4e7!important; font-size:12px!important; padding:13px 16px!important; }
body.admin-workspace .table tbody td { color:#444d58; font-size:13px; padding:17px 16px!important; border-bottom:1px solid #edf0f1!important; }
body.admin-workspace .table tbody tr:hover { background:#f4f9f8!important; }
body.admin-workspace section[aria-labelledby="ticket-history-title"] .table tbody td:first-child { color:#0e6f6b; font-weight:700; font-size:18px; font-variant-numeric:tabular-nums; }
body.admin-workspace .recent-ticket-status { font-size:11px; border:1px solid transparent; padding:5px 9px; }
body.admin-workspace .recent-ticket-status.is-waiting { color:#555e68; background:#edf0f2; border-color:#e0e4e7; }
body.admin-workspace .recent-ticket-status.is-serving { color:#fff; background:#0e6f6b; border-color:#0e6f6b; }
body.admin-workspace .recent-ticket-status.is-completed { color:#0e6f6b; background:#e4f0ee; border-color:#d5e7e4; }
body.admin-workspace .recent-ticket-status.is-archived { color:#747c84; background:#fff; border-color:#dce0e3; }
.admin-event-list { list-style:none; padding:0; margin:0; }
.admin-event-list li { position:relative; padding:0 20px 20px 0; border-inline-start:1px solid #e0e6e5; margin-inline-start:5px; }
.admin-event-list li::before { content:''; position:absolute; inset-inline-start:-5px; top:7px; width:9px; height:9px; border-radius:50%; background:#0e6f6b; box-shadow:0 0 0 4px #fff; }
.admin-event-list li:last-child { border-color:transparent; padding-bottom:0; }
.admin-event-list strong { display:block; font-size:13px; font-weight:600; color:#333a45; }
.admin-event-list p { color:#687079; font-size:12px; margin:4px 0; }
.admin-event-list time { color:#7a8087; font-size:11px; font-variant-numeric:tabular-nums; display:inline-block; }
.admin-event-scroll { max-height:660px; overflow:auto; scrollbar-width:thin; padding:4px; }
body.admin-workspace .card-header { background:#fff!important; border-radius:12px 12px 0 0!important; }
body.admin-workspace footer { margin-top:28px; padding:16px 32px!important; background:#fff!important; }
@media(min-width:992px) { body.admin-workspace #layoutSidenav #layoutSidenav_nav { position:sticky!important; top:76px; height:calc(100dvh - 76px)!important; max-height:calc(100dvh - 76px)!important; overflow:auto; } }
@media(min-width:1350px) { .admin-data-grid { grid-template-columns:minmax(0,1fr) 310px; } }
@media(max-width:991px) { body.admin-workspace #main-content { padding:24px!important; } body.admin-workspace.sb-sidenav-toggled #layoutSidenav #layoutSidenav_nav { position:fixed!important; top:76px!important; right:0!important; bottom:0!important; max-height:calc(100dvh - 76px)!important; height:calc(100dvh - 76px)!important; border-radius:0!important; box-shadow:-12px 0 30px #333a451a; } }
@media(max-width:600px) { body.admin-workspace .sb-topnav { padding-inline:14px!important; } body.admin-workspace #main-content { padding:20px 14px!important; } body.admin-workspace .uq-stats { gap:10px; } body.admin-workspace .uq-stat { padding:14px!important; } body.admin-workspace .uq-stat h2 { font-size:11px!important; } body.admin-workspace .uq-stat strong { font-size:29px; } body.admin-workspace .admin-data-grid .queue-panel { padding:16px; } body.admin-workspace .uq-heading .queue-links { display:flex; flex-wrap:wrap; } }
@media print { body.admin-workspace #layoutSidenav #layoutSidenav_nav,body.admin-workspace .sb-topnav { display:none!important; } .admin-data-grid { display:block; } .admin-event-scroll { max-height:none; overflow:visible; } }

@media(max-width:600px){body.admin-workspace .admin-data-grid .table{min-width:550px}body.admin-workspace .admin-data-grid .table-responsive{overflow-x:auto}}

/* Identity glass accents: preserve the white navigation and readable surfaces. */
body.admin-workspace { background:#e9f0ef!important; }
body.admin-workspace #layoutSidenav { background:radial-gradient(ellipse at 10% 0%,#0e6f6b18,transparent 48%),radial-gradient(ellipse at 90% 65%,#333a450a,transparent 50%),#edf2f1!important; }
body.admin-workspace .sb-topnav { background:rgba(255,255,255,.91)!important; backdrop-filter:blur(16px)!important; -webkit-backdrop-filter:blur(16px); box-shadow:0 3px 18px #0e6f6b0b!important; border-bottom-color:#0e6f6b22; }
body.admin-workspace #layoutSidenav #layoutSidenav_nav,body.admin-workspace #layoutSidenav_nav .sb-sidenav { background:#fff!important; }
body.admin-workspace .glass-nav a.active { background:#dcefeb!important; color:#0b5956!important; box-shadow:inset -3px 0 #0e6f6b,0 3px 12px #0e6f6b0a!important; }
body.admin-workspace .glass-nav a:hover { background:#edf6f4!important; }
body.admin-workspace .uq-heading .uq-eyebrow { display:inline-block; padding:5px 11px; background:#d8ebe7; border:1px solid #bfdcd6; border-radius:7px; color:#0b5956; }
body.admin-workspace :is(.queue-panel,.card) { background:rgba(255,255,255,.92)!important; border-color:#ffffff!important; box-shadow:0 5px 20px #0e6f6b0a,0 0 0 1px #0e6f6b0c!important; }
body.admin-workspace .uq-stat { position:relative; overflow:hidden; background:linear-gradient(125deg,#fffffff5,#dceee9f2)!important; border:1px solid #bedbd3!important; box-shadow:0 7px 24px #0e6f6b12!important; }
body.admin-workspace .uq-stat h2 { color:#385c58; }
body.admin-workspace .uq-stat strong { color:#0b5956; }
body.admin-workspace .uq-stat i { background:#0e6f6b; color:#fff; box-shadow:0 4px 14px #0e6f6b28; }
body.admin-workspace .uq-stat:nth-child(2) { background:linear-gradient(120deg,#0e6f6b,#0b5956)!important; border-color:#338c83!important; box-shadow:0 8px 26px #0e6f6b30!important; }
body.admin-workspace .uq-stat:nth-child(2) :is(h2,strong) { color:#fff!important; }
body.admin-workspace .uq-stat:nth-child(2) i { background:#ffffff24; color:#fff; border:1px solid #ffffff38; box-shadow:none; }
body.admin-workspace .uq-stat:last-child { background:linear-gradient(125deg,#333a45,#464e59)!important; border:1px solid #59616d!important; box-shadow:0 8px 24px #333a4526!important; }
body.admin-workspace .uq-stat:last-child :is(h2,strong) { color:#fff!important; }
body.admin-workspace .uq-stat:last-child i { background:#ffffff1f; color:#fff; border:1px solid #ffffff30; box-shadow:none; }
body.admin-workspace .uq-section-head h2 { color:#0b5956; }
body.admin-workspace .table thead th { background:#deeeea!important; color:#244e49!important; border-bottom-color:#b9d7cf!important; }
body.admin-workspace .table tbody tr:hover { background:#e5f2ee!important; }
body.admin-workspace .recent-ticket-status.is-waiting { background:#e4e7ec; color:#333a45; border-color:#cdd3dc; }
body.admin-workspace .recent-ticket-status.is-serving { background:#0e6f6b; color:#fff; border-color:#0e6f6b; box-shadow:0 2px 8px #0e6f6b20; }
body.admin-workspace .recent-ticket-status.is-completed { background:#cde7df; color:#0b5956; border-color:#a8d2c4; }
body.admin-workspace .btn-primary { box-shadow:0 4px 12px #0e6f6b25!important; }
body.admin-workspace .btn-primary:hover { box-shadow:0 5px 18px #0e6f6b35!important; }
body.admin-workspace .admin-event-list li::before { box-shadow:0 0 0 4px #e4f1ed,0 0 9px #0e6f6b30; }
body.admin-workspace .uq-note { color:#53645f; }
@media(prefers-reduced-transparency:reduce) { body.admin-workspace .sb-topnav,body.admin-workspace :is(.queue-panel,.card) { background:#fff!important; backdrop-filter:none!important; } }
@media print { body.admin-workspace .uq-stat,body.admin-workspace .uq-stat:nth-child(2),body.admin-workspace .uq-stat:last-child { background:#fff!important; box-shadow:none!important; } body.admin-workspace .uq-stat :is(h2,strong),body.admin-workspace .uq-stat:nth-child(2) :is(h2,strong),body.admin-workspace .uq-stat:last-child :is(h2,strong) { color:#333a45!important; } }

/* University identity belongs inside the navigation. */
body.admin-workspace .sb-sidenav .sidebar-brand { display:flex; align-items:center; gap:12px; width:100%; min-width:0; margin:0 0 24px; padding:0 8px 22px; border-bottom:1px solid #dce8e4; color:#333a45; font-size:19px; text-decoration:none!important; }
body.admin-workspace .sidebar-brand span { min-width:0; }
body.admin-workspace .sidebar-brand small { display:block; white-space:normal; font-size:10px; line-height:1.8; color:#64736e; margin-top:5px; }
body.admin-workspace .sb-topnav .top-meta { margin-inline-start:auto; }
/* Align the account bar with the workspace and let the sidebar reach the top. */
body.admin-workspace .admin-page-context { display:flex; flex-direction:column; gap:3px; min-width:0; }
body.admin-workspace .admin-page-context span { color:#65756f; font-size:10px; }
body.admin-workspace .admin-page-context strong { color:#333a45; font-size:14px; font-weight:600; }
@media(min-width:992px) {
 body.admin-workspace .sb-topnav { width:calc(100% - 238px)!important; margin-inline-start:238px!important; padding-inline:32px!important; }
 body.admin-workspace #layoutSidenav #layoutSidenav_nav { margin-top:-76px!important; top:0!important; height:100dvh!important; max-height:100dvh!important; z-index:1041; transform:none!important; }
 body.admin-workspace #layoutSidenav_nav .sb-sidenav { min-height:100%; padding-top:24px; }
}
@media(max-width:600px) {
 body.admin-workspace .admin-page-context span { display:none; }
 body.admin-workspace .admin-page-context strong { font-size:12px; }
}
/* Consistent, slightly deeper brand tint for table headings. */
body .table.table thead th, body.admin-workspace .table.table thead th { background:#c6ded9!important; color:#244e49!important; border-bottom-color:#a6c7bf!important; }
