:root{--navy:#12223d;--navy-2:#1a3153;--blue:#3276df;--blue-dark:#2462c6;--ink:#1c2b40;--muted:#758297;--line:#e8edf3;--surface:#fff;--canvas:#f5f7fa;--green:#23966c;--amber:#b97911;--red:#c34a55;--shadow:0 8px 28px rgba(25,46,77,.055)}
*{box-sizing:border-box}body{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--canvas);font-size:14px;line-height:1.55}a{color:var(--blue);text-decoration:none}a:hover{color:var(--blue-dark)}button,input,select,textarea{font:inherit}.form-control,.form-select{border:1px solid #dbe2ec;border-radius:8px;min-height:44px;color:#27374d;font-size:14px;padding:.62rem .82rem;box-shadow:none!important}.form-control:focus,.form-select:focus{border-color:#73a1eb;outline:3px solid rgba(50,118,223,.12)}textarea.form-control{min-height:unset}.form-label{font-weight:650;font-size:13px;color:#34445a;margin-bottom:7px}.form-text,.muted{color:var(--muted)!important}.form-text{font-size:12px}.btn{border-radius:8px;font-size:13px;font-weight:650;padding:.64rem .95rem}.btn-primary{background:var(--blue);border-color:var(--blue)}.btn-primary:hover,.btn-primary:focus{background:var(--blue-dark);border-color:var(--blue-dark)}.btn-outline-primary{color:var(--blue);border-color:#b9d0f5}.btn-outline-primary:hover{background:var(--blue);border-color:var(--blue);color:white}.btn-lg{padding:.78rem 1rem;font-size:14px}.btn-light{color:#1e4f9a;background:#fff;border-color:rgba(255,255,255,.6)}.btn-light:hover{background:#f3f7ff;color:#173f79}
.sidebar{background:var(--navy);color:#cbd4e0;position:fixed;inset:0 auto 0 0;width:248px;display:flex;flex-direction:column;padding:26px 17px 20px;z-index:30}.brand{display:flex;align-items:center;gap:11px;color:#fff;font-size:19px;font-weight:750;letter-spacing:-.5px;padding:1px 11px 35px;line-height:1.1}.brand:hover{color:#fff}.brand-icon{width:35px;height:35px;display:inline-grid;place-items:center;flex:0 0 35px;border-radius:11px;background:linear-gradient(145deg,#55a0ff,#2774e2);color:#fff;font-size:19px;box-shadow:0 4px 12px #08162a66}.brand-light{color:#92bcff}.brand small{display:block;font-size:8px;font-weight:700;letter-spacing:1.45px;color:#8090a8;margin-top:6px}.nav-label{font-size:9px;font-weight:750;letter-spacing:1.45px;color:#687994;padding:0 12px 10px}.side-nav{display:flex;flex-direction:column;gap:5px}.side-nav a{height:43px;display:flex;align-items:center;gap:12px;padding:0 12px;color:#acb9cc;border-radius:8px;font-weight:550;font-size:13px;transition:background .15s,color .15s}.side-nav a span{width:17px;text-align:center;font-size:17px;line-height:1;color:#8192aa}.side-nav a:hover{background:#ffffff0d;color:#fff}.side-nav a.active{color:#fff;background:#2e6fc84d;box-shadow:inset 3px 0 #65a2ff}.side-nav a.active span{color:#83b5ff}.sidebar-bottom{margin-top:auto}.support-card{background:#ffffff0a;border:1px solid #ffffff10;padding:15px 14px;border-radius:11px}.support-card-icon{color:#83b5ff;font-size:18px}.support-card strong{display:block;margin-top:6px;font-size:12px;color:#e9eef6}.support-card p{font-size:11px;line-height:1.55;color:#8797af;margin:5px 0 0}
.page-shell{margin-left:248px;min-height:100vh;display:flex;flex-direction:column}.topbar{height:72px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px;position:sticky;top:0;z-index:20}.breadcrumb-label{font-size:12px;color:#64738a;font-weight:550}.breadcrumb-label span{padding:0 9px;color:#c0c9d4}.top-user{display:flex;align-items:center;gap:10px}.avatar{display:inline-grid;place-items:center;border-radius:50%;width:35px;height:35px;flex:0 0 35px;background:#e8f0ff;color:#2867c0;font-weight:750;font-size:14px}.top-user-name{font-size:12px;font-weight:650;color:#2c3a4d;line-height:1.25}.top-user-name small{display:block;color:#8591a3;font-size:10px;font-weight:500;margin-top:3px}.logout-form{margin-left:5px}.btn-signout{border:0;background:none;color:#7c8a9d;font-size:19px;border-radius:7px;width:34px;height:34px}.btn-signout:hover{background:#f1f4f8;color:#234875}.menu-toggle{display:none;border:0;background:transparent;color:var(--ink);font-size:20px}.content-area{width:min(100%,1480px);margin:0 auto;padding:31px 38px 42px;flex:1}.app-footer{display:flex;justify-content:space-between;color:#98a2b1;font-size:10px;padding:13px 38px 18px;border-top:1px solid #e9edf3;background:#f7f8fa}.flash-stack{max-width:1000px;margin:0 auto}.alert{border:0;border-radius:9px;box-shadow:var(--shadow);font-size:13px}.alert-success{background:#e8f6ef;color:#25714f}.alert-danger{background:#fff0f0;color:#a83742}.alert-info{background:#eaf3ff;color:#305f9c}
.welcome-banner{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;min-height:170px;padding:28px 32px;border-radius:13px;color:#fff;background:linear-gradient(112deg,#174584,#276dc9 72%,#3980dc);box-shadow:0 10px 22px #236ac026;margin-bottom:22px}.welcome-banner .eyebrow{color:#b7d5ff}.welcome-banner h1{font-size:26px;letter-spacing:-.65px;font-weight:720;margin:6px 0}.welcome-banner p:not(.eyebrow){color:#d4e6ff;margin:0;font-size:13px}.welcome-banner .btn{position:relative;z-index:1;font-size:12px;padding:.72rem 1rem}.banner-shape{position:absolute;right:22%;top:-95px;width:250px;height:250px;border:1px solid #ffffff1c;border-radius:50%;box-shadow:0 0 0 25px #ffffff08,0 0 0 50px #ffffff06;pointer-events:none}.page-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:22px}.page-heading h1,.case-heading h1{font-size:25px;letter-spacing:-.5px;font-weight:730;color:#1d2d44;margin:4px 0 5px}.page-heading p{margin:0}.page-heading .btn{margin-bottom:2px}.eyebrow{font-size:9px;font-weight:780;color:#6680a1;letter-spacing:1.35px;margin:0 0 6px}.stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:22px}.stat-grid-5{grid-template-columns:repeat(5,minmax(0,1fr))}.stat-card{min-height:91px;background:#fff;border:1px solid #ebeff4;border-radius:10px;box-shadow:0 3px 12px #1e3b6205;padding:17px 16px;display:flex;align-items:center;gap:13px}.stat-icon{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;flex:0 0 38px;font-size:17px;font-weight:700}.stat-icon.blue{background:#edf4ff;color:#4b83d8}.stat-icon.amber{background:#fff6e7;color:#c28a29}.stat-icon.green{background:#e9f7f0;color:#31956c}.stat-card p{margin:0 0 1px;color:#8490a0;font-size:11px;font-weight:550}.stat-card strong{font-size:21px;line-height:1.1;color:#253850;font-weight:740}.stat-card small{display:block;color:#9ba5b3;font-size:9px;margin-top:3px}
.panel{background:var(--surface);border:1px solid #e8edf3;border-radius:11px;box-shadow:var(--shadow);margin-bottom:20px;overflow:hidden}.panel>h2{font-size:14px;font-weight:700;margin:0 0 7px;color:#27384e}.panel-heading{display:flex;align-items:center;justify-content:space-between;padding:19px 21px 14px}.panel-heading h2{font-size:14px;font-weight:720;margin:0 0 4px;color:#26384f}.panel-heading p{font-size:11px;color:#8995a5;margin:0}.text-link{font-size:11px;font-weight:700}.text-link span{margin-left:4px}.table{margin:0;color:#48566a;font-size:11px}.support-table thead th{font-size:9px;letter-spacing:.75px;font-weight:760;color:#91a0b1;background:#fafbfd;border-top:1px solid #eef1f5;border-bottom:1px solid #eef1f5;padding:11px 14px;white-space:nowrap}.support-table tbody td{padding:12px 14px;border-bottom:1px solid #eff2f6;white-space:nowrap}.support-table tbody tr:last-child td{border-bottom:0}.support-table tbody tr:hover{background:#fbfcfe}.ref-cell{font-size:10px;font-weight:730;color:#6283b0;letter-spacing:.2px}.ref-cell a{color:#5075a8}.table-link{font-size:11px;color:#31445e;font-weight:650}.table-link:hover{color:var(--blue)}.table-sub{display:block;font-size:10px;color:#929eae;margin-top:3px}.date-cell{font-size:10px;color:#8491a1}.row-arrow{color:#8499b6;font-size:17px}.status-badge,.priority,.role-pill{display:inline-flex;align-items:center;white-space:nowrap;border-radius:30px;padding:4px 9px;font-size:9px;font-weight:720;line-height:1.2}.status-new,.status-open{background:#edf4ff;color:#4778c0}.status-in_progress{background:#fff4e4;color:#a97920}.status-waiting_student{background:#fff7e8;color:#a77921}.status-resolved{background:#e7f6ed;color:#288054}.status-closed{background:#eff1f4;color:#727e8f}.status-large{font-size:10px;padding:7px 12px}.priority-low{background:#eff3f7;color:#748295}.priority-normal{background:#edf4ff;color:#557cb7}.priority-high{background:#fff4e2;color:#ae771b}.priority-urgent{background:#fff0ef;color:#bd4950}.priority{padding:4px 8px}.help-strip{background:#edf4ff;border:1px solid #dfeaff;display:flex;align-items:center;gap:13px;border-radius:10px;padding:14px 17px;margin:20px 0}.help-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:#dceaff;color:#4984d7;font-size:16px;flex:0 0 32px}.help-strip div{flex:1}.help-strip strong{font-size:11px;color:#34557f}.help-strip p{font-size:10px;color:#70839e;margin:2px 0 0}.help-strip>a{font-size:10px;font-weight:700;white-space:nowrap}
.empty-state{text-align:center;padding:44px 20px 48px}.empty-icon{display:inline-grid;place-items:center;width:45px;height:45px;border-radius:14px;background:#eff5ff;color:#6490d2;font-size:20px;margin-bottom:11px}.empty-state h3{font-size:15px;font-weight:700;color:#34445a;margin:0 0 5px}.empty-state p{font-size:11px;color:#8a96a5;margin:0 auto 14px;max-width:360px}.empty-state .btn{font-size:11px}.panel-form{padding:23px;max-width:740px}.form-layout{display:grid;grid-template-columns:minmax(0,740px) minmax(210px,280px);gap:19px;align-items:start}.form-aside{background:#eaf2ff;border:1px solid #dce9ff;border-radius:11px;padding:20px;color:#385b88}.form-aside-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#d7e7ff;color:#4d83ce;font-size:18px}.form-aside h3{font-size:13px;font-weight:750;margin:13px 0 5px}.form-aside p{font-size:11px;line-height:1.65;color:#667f9f;margin:0}.form-aside strong{display:block;font-size:11px;margin-bottom:5px}.aside-divider{border-top:1px solid #cfdef2;margin:16px 0}.form-actions{display:flex;justify-content:flex-end;gap:9px;border-top:1px solid #edf0f4;padding-top:17px}.case-back{margin-bottom:14px}.case-back a{font-size:11px;font-weight:650;color:#718199}.case-heading{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px}.case-heading .muted{font-size:11px}.case-grid{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:18px;align-items:start}.case-main>.panel,.case-aside>.panel{padding:0}.case-description .panel-heading{border-bottom:1px solid #eff2f6}.case-body{padding:18px 21px 23px;margin:0;color:#4b596b;line-height:1.8;white-space:pre-wrap;font-size:12px}.count-pill{display:grid;place-items:center;border-radius:20px;min-width:23px;height:23px;padding:0 7px;background:#f0f4fa;color:#71839d;font-size:10px;font-weight:700}.comment-list{padding:2px 21px}.comment{display:flex;gap:11px;padding:17px 0;border-bottom:1px solid #f0f2f5}.comment-avatar{width:29px;height:29px;flex:0 0 29px;font-size:11px}.comment-content{min-width:0;flex:1}.comment-head{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.comment-head strong{font-size:11px;color:#35465e}.comment-head time{font-size:9px;color:#98a3b2;margin-left:auto}.role-caption{font-size:9px;color:#8392a6;background:#f2f5f8;padding:3px 6px;border-radius:10px}.comment-content>p{font-size:11px;color:#5d6a7b;line-height:1.7;white-space:pre-wrap;margin:7px 0 0}.empty-inline{padding:18px 0;color:#929dac;font-size:11px}.comment-form{padding:14px 21px 19px;border-top:1px solid #eff2f6}.comment-submit{display:flex;justify-content:space-between;align-items:center;margin-top:9px;gap:12px}.comment-submit .btn{font-size:10px}.case-meta{padding:19px!important}.case-aside h2{font-size:13px;font-weight:730;margin:0 0 15px}.case-meta dl{margin:0}.case-meta dt{font-size:9px;letter-spacing:.3px;color:#91a0b1;font-weight:650;margin-top:13px}.case-meta dd{font-size:11px;font-weight:620;color:#42536b;margin:3px 0 0}.case-aside>.panel:not(.case-meta){padding:18px!important}.small-note{font-size:10px!important;line-height:1.55;margin:0 0 12px}.history-list{border-left:1px solid #dfe6ef;margin:3px 0 0 5px;padding-left:14px}.history-entry{position:relative;padding-bottom:12px}.history-dot{position:absolute;left:-18px;top:4px;width:7px;height:7px;border-radius:50%;background:#79a6e8;border:2px solid white;box-shadow:0 0 0 1px #a9c5eb}.history-entry p{font-size:10px;color:#5c6c81;margin:0;line-height:1.5}.history-entry small{font-size:9px;color:#8b98a8}.history-entry time{display:block;color:#a1aab6;font-size:9px;margin-top:3px}
.role-form,.assign-form{display:flex;align-items:center;gap:6px;min-width:205px}.role-form .form-select,.assign-form .form-select{min-height:31px;padding:4px 25px 4px 8px;font-size:10px;max-width:145px}.role-form .btn,.assign-form .btn{font-size:9px;padding:6px 8px}.role-pill{background:#eff3f8;color:#586b83}.role-admin{background:#f2ecff;color:#7451ac}.role-support_officer{background:#eaf4ff;color:#4774ae}.user-cell-avatar{display:inline-grid;place-items:center;background:#ecf2fa;color:#5680b9;width:26px;height:26px;border-radius:50%;font-size:10px;font-weight:700;margin-right:8px}.audit-details{white-space:normal!important;max-width:260px;color:#7d8a9c;font-size:10px}.audit-details span{display:block}.action-code{font-size:10px;color:#4f70a5;background:#f2f5fa;padding:3px 6px;border-radius:5px}.auth-page{background:#f4f7fc}.page-shell-auth{margin-left:0;min-height:100vh}.content-auth{width:100%;padding:0;display:grid;place-items:center}.auth-wrap{width:min(100%,960px);min-height:580px;display:grid;grid-template-columns:1fr 1fr;background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 20px 65px #24416b16;margin:36px 24px}.auth-intro{background:linear-gradient(145deg,#153a70,#2469c2);color:#fff;padding:48px 43px;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}.auth-intro:after{content:"";position:absolute;width:270px;height:270px;right:-110px;bottom:-110px;border-radius:50%;border:1px solid #ffffff30;box-shadow:0 0 0 24px #ffffff0c,0 0 0 48px #ffffff08}.auth-brand{position:absolute;top:37px;left:31px}.auth-intro .eyebrow{color:#afd1ff;margin-top:50px}.auth-intro h1{font-size:31px;line-height:1.22;letter-spacing:-.8px;font-weight:730;margin:8px 0 13px}.auth-copy{color:#d2e3fa;font-size:13px;line-height:1.75;max-width:350px}.auth-points{display:flex;flex-direction:column;gap:10px;color:#e0edfc;font-size:11px;margin-top:22px}.auth-card{padding:50px 43px;display:flex;flex-direction:column;justify-content:center}.auth-card h2{font-size:22px;letter-spacing:-.4px;font-weight:730;color:#25364d;margin:4px 0 6px}.auth-card .muted{font-size:12px;margin-bottom:24px}.auth-switch{text-align:center;margin:21px 0 0;color:#7d8a9c;font-size:11px}.auth-switch a{font-weight:700;margin-left:3px}.auth-note{display:flex;gap:8px;align-items:center;border-top:1px solid #edf0f4;margin-top:24px;padding-top:15px;color:#929dac;font-size:10px}.auth-note span{color:#6b98d9}.auth-mobile-brand{display:none}.auth-wrap-single{max-width:510px;min-height:unset;display:block}.auth-card-wide{padding:38px 42px}.auth-brand-inline{position:static;color:var(--navy);padding:0;margin-bottom:28px}.auth-brand-inline:hover{color:var(--navy)}.auth-brand-inline .brand-light{color:#4382d5}.auth-brand-inline small{color:#8190a5}.error-state{text-align:center;background:#fff;border:1px solid #e8edf3;box-shadow:var(--shadow);border-radius:14px;padding:54px 28px;max-width:570px;margin:80px auto}.error-code{font-size:58px;font-weight:780;letter-spacing:-3px;color:#dfe8f5;line-height:1}.error-state .eyebrow{margin:13px 0 7px}.error-state h1{font-size:21px;font-weight:730}.error-state .muted{font-size:12px;margin:8px 0 20px}
@media(max-width:1100px){.sidebar{width:220px}.page-shell{margin-left:220px}.content-area{padding-left:25px;padding-right:25px}.topbar{padding:0 25px}.stat-grid-5{grid-template-columns:repeat(3,minmax(0,1fr))}.stat-grid-5 .stat-card:nth-child(n+4){min-height:78px}.case-grid{grid-template-columns:minmax(0,1fr) 250px}}
@media(max-width:800px){.sidebar{transform:translateX(-100%);transition:transform .2s ease;width:250px;box-shadow:8px 0 26px #10223d22}.sidebar.sidebar-open{transform:translateX(0)}.page-shell{margin-left:0}.menu-toggle{display:inline-flex;align-items:center;justify-content:center}.topbar{height:64px;padding:0 18px;gap:10px}.breadcrumb-label{margin-right:auto}.content-area{padding:23px 18px 32px}.app-footer{padding:13px 18px;gap:15px}.form-layout{grid-template-columns:minmax(0,1fr)}.form-aside{max-width:740px}.case-grid{grid-template-columns:minmax(0,1fr)}.case-aside{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.case-aside>.panel{margin:0}.case-meta{grid-row:span 2}.welcome-banner{padding:24px}.welcome-banner h1{font-size:23px}.auth-wrap{margin:20px;min-height:unset}.auth-intro{padding:42px 29px}.auth-card{padding:38px 29px}}
@media(max-width:600px){.top-user-name{display:none}.top-user{gap:5px}.topbar{padding:0 13px}.breadcrumb-label{font-size:10px}.breadcrumb-label span{padding:0 5px}.content-area{padding:18px 13px 25px}.page-heading{align-items:flex-start;flex-direction:column}.page-heading h1,.case-heading h1{font-size:22px}.page-heading .btn{align-self:flex-start}.welcome-banner{align-items:flex-start;flex-direction:column;gap:17px;padding:21px}.welcome-banner h1{font-size:21px}.banner-shape{right:-80px}.stat-grid,.stat-grid-5{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.stat-card{min-height:78px;padding:12px 10px;gap:9px}.stat-icon{width:32px;height:32px;flex-basis:32px;font-size:14px}.stat-card strong{font-size:18px}.stat-card p{font-size:10px}.stat-card small{font-size:8px}.help-strip{align-items:flex-start;flex-wrap:wrap;padding:12px}.help-strip div{min-width:calc(100% - 50px)}.help-strip>a{margin-left:45px}.app-footer{font-size:9px;flex-direction:column;gap:3px}.case-heading{gap:10px}.case-heading .status-badge{margin-top:5px}.case-aside{grid-template-columns:minmax(0,1fr)}.case-meta{grid-row:auto}.panel-form{padding:17px}.form-actions{justify-content:stretch}.form-actions>*{flex:1}.auth-wrap{grid-template-columns:1fr;margin:12px;border-radius:13px}.auth-intro{display:none}.auth-card{padding:28px 23px}.auth-mobile-brand{display:flex;align-items:center;gap:9px;color:#223957;font-size:17px;font-weight:750;margin-bottom:28px}.auth-mobile-brand .brand-icon{font-size:16px}.auth-wrap-single{max-width:480px}.auth-card-wide{padding:25px 22px}.auth-brand-inline{display:none}.auth-card h2{font-size:20px}.error-state{margin:38px 5px;padding:43px 18px}.comment-head time{margin-left:0}.comment-submit{align-items:flex-end;flex-direction:column}.support-table td,.support-table th{padding-left:11px;padding-right:11px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
