/* Hostel reference theme. Scoped to avoid changing other administration modules. */
body.hostel-workspace{--hx-blue:#075cff;--hx-ink:#101a39;--hx-muted:#526180;--hx-line:#dce6f9;--hx-green:#08ae61;background:radial-gradient(ellipse at 90% 12%,#eaf2ff 0,transparent 45%),linear-gradient(120deg,#f7faff,#f2f7ff 60%,#f9fcff);color:var(--hx-ink);font-family:Inter,Arial,sans-serif;font-size:12px;line-height:1.5;margin:0}
.hostel-workspace *{box-sizing:border-box}
.hostel-workspace .cw-school-strip.erp-page-topbar{width:100%;max-width:none;margin:0;padding:10px 30px;min-height:66px;border:0;border-bottom:1px solid #dce7f8;border-radius:0;background:linear-gradient(115deg,#fff,#f3f7ff);box-shadow:0 3px 12px #365a9a0b}
.hostel-workspace .cw-school-brand{gap:14px}.hostel-workspace .cw-school-logo{width:44px;height:44px;border-radius:12px;background:linear-gradient(135deg,#1ac7da,#0061ff);box-shadow:0 4px 9px #075cff24;font-size:14px}
.hostel-workspace .cw-school-brand>div:last-child{border-left:1px solid #cbd9ef;padding-left:16px}
.hostel-workspace .cw-school-brand p{font-size:10px!important;letter-spacing:1px!important;color:#0750ef!important;margin:0!important;line-height:1.4}
.hostel-workspace .cw-school-brand h2{font-size:15px!important;line-height:1.3!important;color:#101a39!important;margin:0!important}
.hostel-workspace .cw-school-brand span{font-size:10px!important;color:#526180!important}
.hostel-workspace .cw-school-actions{display:flex;gap:12px;align-items:center}.hostel-workspace .erp-nav-chip{border:1px solid #cad9ff;background:linear-gradient(#fff,#edf2ff);border-radius:10px;color:#0049df;padding:10px 18px;font-size:12px;font-weight:650;box-shadow:0 3px 8px #075cff0a}
.hostel-workspace .ops-shell{padding:18px 28px 24px;gap:14px;max-width:1920px;margin:auto;display:grid}
.hostel-workspace #hostel-operation-status:empty{display:none}.hostel-workspace #hostel-operation-status{margin:0}
.hx-page-heading{display:flex;align-items:center;justify-content:space-between;gap:30px;min-height:64px}.hx-page-name{display:flex;align-items:center;gap:16px}.hx-page-name>span{display:grid;place-items:center;width:54px;height:54px;background:linear-gradient(135deg,#e9fff2,#d1f8ee);border-radius:16px;color:#00a561;font-size:32px}
.hx-page-name h1{font:750 28px/1.2 Inter,Arial,sans-serif;letter-spacing:-1px;margin:0 0 3px}.hostel-workspace .erp-breadcrumbs{display:flex;align-items:center;gap:10px;font-size:11px;margin:0;padding:0;background:none;border:none;box-shadow:none;width:auto;max-width:none;min-height:0}.hx-page-name .erp-breadcrumbs a{color:#294d91;text-decoration:none}.hx-page-name .erp-breadcrumbs strong{color:#101a39}
.hx-page-heading #hostel-module-setup{width:50%;max-width:740px}.hostel-workspace .campus-guide{margin:0;background:linear-gradient(115deg,#fff,#f0fcf8);border:1px solid #d3efea;border-radius:12px;box-shadow:0 4px 12px #079c6610;padding:0;overflow:hidden}
.hostel-workspace .campus-guide summary{padding:12px 16px;min-height:55px;display:flex;align-items:center;gap:12px;position:relative}.hostel-workspace .campus-guide summary:before{content:'⚙';font-size:24px;color:#06a45c;background:#ddfae9;border-radius:10px;padding:1px 8px}.hostel-workspace .campus-guide summary strong{font-size:12px;white-space:nowrap}.hostel-workspace .campus-guide summary>span{font-size:10px;color:#236651;margin-left:auto;position:relative;padding-bottom:8px}.hostel-workspace .campus-guide summary>span:after{content:'';position:absolute;left:0;right:0;bottom:0;height:5px;border-radius:4px;background:linear-gradient(90deg,#00ae5d,#60d49d)}
.hostel-workspace .campus-guide[open]{position:relative;z-index:3}.hostel-workspace .campus-guide>p,.hostel-workspace .campus-guide-tasks{margin:12px 16px}.hostel-workspace .campus-guide-task{padding:10px}
.hostel-workspace .ops-hero{border:0;border-radius:0;box-shadow:none;background:transparent;padding:0;display:grid;grid-template-columns:minmax(340px,.85fr) minmax(480px,1.15fr);gap:10px}
.hx-hero-story{position:relative;overflow:hidden;border:1px solid var(--hx-line);border-radius:16px;padding:20px;min-height:142px;display:flex;flex-direction:column;justify-content:center;background:linear-gradient(110deg,#fff 35%,#eef9f7);box-shadow:0 5px 14px #29539408}
.hx-hero-story:after{content:'';position:absolute;inset:0 24% 0 0;background:linear-gradient(90deg,#fff 65%,#ffffff00);z-index:1;pointer-events:none}.hx-hero-story>h2,.hx-hero-story>p{position:relative;z-index:2;width:73%}.hx-hero-story h2{font:750 24px/1.2 Inter,Arial,sans-serif;letter-spacing:-.8px;margin:0 0 8px}.hx-hero-story #hx-page-copy{font-size:11px;line-height:1.6;color:#33476c;margin:0}.hostel-workspace .ops-eyebrow{color:#008c50;font-size:10px;letter-spacing:1.5px;margin:0 0 7px;font-weight:750}.hx-hero-story img{position:absolute;width:48%;height:100%;right:-1%;bottom:0;object-fit:cover;object-position:68% bottom;z-index:0}
.hx-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:12px;background:linear-gradient(145deg,#ffffffeb,#f3f7ff);border:1px solid var(--hx-line);border-radius:16px;box-shadow:0 6px 15px #254e9108;align-items:stretch}
.hx-metric{display:flex;align-items:center;gap:12px;padding:14px 12px;border:1px solid var(--hx-line);background:linear-gradient(135deg,#fff,#f0fbf8);border-radius:12px;min-width:0}.hx-metric>div{min-width:0}.hx-metric-icon{display:grid;place-items:center;font-size:27px;color:#00af66;border-radius:12px;width:40px;height:40px;flex:0 0 40px;background:linear-gradient(135deg,#f3fff8,#def9ee)}.hx-metric:nth-child(2n) .hx-metric-icon{color:#075cff;background:#e8f3ff}.hx-metric span:not(.hx-metric-icon){font-size:10px;display:block;color:#1d2a50;font-weight:550}.hx-metric strong{font-size:25px;line-height:1.35;letter-spacing:-.8px;font-weight:750}.hx-metric.amber{background:linear-gradient(135deg,#fff,#fff9ea)}.hx-metric.amber .hx-metric-icon{color:#f19600;background:#fff4d9}.hx-metric.rose{background:linear-gradient(135deg,#fff,#fff2f4)}.hx-metric.rose .hx-metric-icon{color:#f13e55;background:#ffebee}.hx-metric.purple .hx-metric-icon{color:#8347f5;background:#f0eaff}
.hostel-workspace .hostel-tabs{margin:0;padding:5px 7px;gap:2px;border-radius:13px;background:linear-gradient(120deg,#fff,#f7f9ff);border:1px solid var(--hx-line);box-shadow:0 5px 12px #28559b0b;display:flex;flex-wrap:nowrap;justify-content:space-between;overflow:auto;scrollbar-width:thin}
.hostel-workspace .hostel-tab{border-radius:9px;min-height:38px;padding:9px 10px;gap:7px;white-space:nowrap;color:#1b2c54;font-size:10px;font-weight:600;flex-shrink:0;box-shadow:none}.hostel-workspace .hostel-tab i{font-size:16px}.hostel-workspace .hostel-tab.is-active{background:linear-gradient(140deg,#388bff,#0043ff);color:white;border-color:#0861ff;box-shadow:0 4px 10px #075cff30}.hostel-workspace .hostel-tab:hover:not(.is-active){background:#edf3ff;color:#075cff}
.hostel-workspace .ops-card,.hx-card{background:linear-gradient(125deg,#fff,#f8fbff);border:1px solid var(--hx-line);border-radius:14px;box-shadow:0 5px 14px #335b9e0b;padding:16px;min-width:0;margin:0}
.hostel-workspace .ops-card-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin:0 0 15px;flex-wrap:wrap}.hostel-workspace .ops-card-head h3,.hx-card h3{font:700 15px/1.35 Inter,Arial,sans-serif;letter-spacing:-.35px;margin:0;color:#101a39}.hostel-workspace .ops-card-head h3 i{color:#075cff;margin-right:5px;font-size:22px;vertical-align:middle}.hostel-workspace .ops-card-head p{font-size:10px;color:#526180;margin:3px 0 0}
.hostel-workspace .btn{font:600 11px/1.25 Inter,Arial,sans-serif;min-height:34px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:8px 13px;border-radius:7px;cursor:pointer;white-space:nowrap;box-shadow:none;transition:background .15s,box-shadow .15s}
.hostel-workspace .btn i{font-size:16px}.hostel-workspace .btn-primary{background:linear-gradient(135deg,#3487ff,#0043ff);border:1px solid #1865ff;color:#fff;box-shadow:0 4px 10px #075cff26}.hostel-workspace .btn-secondary{background:linear-gradient(#fff,#eff4ff);border:1px solid #cbd9ff;color:#183c8a}.hostel-workspace .btn-danger{border:1px solid #ffd9df;background:#fff3f5;color:#e42b46}.hostel-workspace .btn:hover{box-shadow:0 4px 10px #075cff1a;filter:brightness(.99)}.hostel-workspace .btn:disabled{opacity:.5;cursor:not-allowed}.hostel-workspace :focus-visible{outline:3px solid #75a7ff;outline-offset:2px}
.hostel-workspace .ops-form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px 14px}.hostel-workspace .ops-field{min-width:0;display:flex;flex-direction:column;gap:5px}.hostel-workspace .ops-field label{font-size:10px;font-weight:650;color:#243452;margin:0}.hostel-workspace .ops-input,.hostel-workspace .ops-select,.hostel-workspace .ops-textarea{background:linear-gradient(#fff,#f9fbff);border:1px solid #d0dbef;border-radius:6px;color:#243452;font:400 11px/1.4 Inter,Arial,sans-serif;width:100%;padding:8px 10px;min-height:34px;box-shadow:inset 0 1px 2px #16346a03;outline-offset:2px}.hostel-workspace .ops-textarea{min-height:65px;resize:vertical}.hostel-workspace .span-2{grid-column:span 2}.hostel-workspace .ops-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:14px}.hostel-workspace td.ops-actions{margin:0;display:table-cell;white-space:nowrap}.hostel-workspace td.ops-actions>.btn{margin-right:4px}.hostel-workspace .campus-combo-row{display:flex;gap:5px;align-items:center}.hostel-workspace .campus-combo-row .btn{padding:7px;font-size:10px;min-height:34px}.hostel-workspace .campus-setup-links{margin:12px 0;gap:8px}
.hx-work-grid{display:grid;grid-template-columns:minmax(0,2.25fr) minmax(280px,1fr);gap:14px;align-items:start}.hx-main-column,.hx-insights{display:grid;gap:14px;min-width:0}.hx-card>header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.hx-card>header>div{display:flex;align-items:center;gap:9px;min-width:0}.hx-card>header i{font-size:21px;color:#06ad68}.hx-card h3{font-size:13px;letter-spacing:-.25px}.hx-text-action{display:inline-flex;align-items:center;gap:4px;background:none;border:0;color:#075cff;font-size:10px;font-weight:600;cursor:pointer;white-space:nowrap;padding:0}.hx-text-action i{font-size:13px!important;color:#075cff!important}.hx-caption{font-size:10px!important;color:#61718f!important;margin:4px 0 10px!important;line-height:1.5}.hx-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:110px;text-align:center;color:#687b9f}.hx-empty i{color:#a9bfe1;font-size:30px;margin-bottom:8px}.hx-empty p{font-size:11px;margin:0;max-width:220px}
.hostel-workspace .ops-table-wrap{border:0;border-radius:7px;overflow:auto;margin-top:0;background:transparent}.hostel-workspace .ops-table{width:100%;border-collapse:collapse;font-size:10px;min-width:620px}.hostel-workspace .ops-table th{background:linear-gradient(110deg,#edf2fc,#eaf0fb);font-size:9px;color:#4b5f89;letter-spacing:.25px;font-weight:650;text-transform:uppercase;padding:9px 10px;border:0;white-space:nowrap}.hostel-workspace .ops-table td{padding:10px;border-bottom:1px solid #e3eaf6;color:#26385b;vertical-align:middle;background:transparent;font-size:11px}.hostel-workspace .ops-table tr:last-child td{border-bottom:0}.hostel-workspace .ops-table tbody tr:hover{background:#f0f6ff}.hostel-workspace .ops-table td strong{font-weight:650;color:#162749}.hostel-workspace .ops-table td .ops-subtle{font-size:9px;color:#6980a4;margin:0}.hostel-workspace .ops-table td .btn{font-size:9px;padding:4px 7px;min-height:25px;border-radius:6px}.hostel-workspace .ops-table td .btn i{font-size:13px}.hostel-workspace .ops-stage-pill,.hx-badge{display:inline-flex;align-items:center;font-size:10px;padding:3px 9px;border-radius:20px;font-weight:600;background:#e5efff;color:#075cff;white-space:nowrap}.hostel-workspace .ops-stage-pill[data-tone=green],.hx-badge{background:#ddfae9;color:#008b41}.hostel-workspace .ops-stage-pill[data-tone=rose]{background:#ffe4e9;color:#db2340}.hostel-workspace .ops-stage-pill[data-tone=amber]{background:#fff2d7;color:#b77700}.hostel-workspace .ops-empty{padding:28px;text-align:center;color:#6c7c99;font-size:11px}
.hx-record-search{display:flex;align-items:center;gap:6px;color:#6c83a8;border:1px solid #d6e1f5;border-radius:7px;padding:6px 9px;max-width:260px;background:#fff}.hx-record-search input{border:0;outline:0;width:100%;background:none;font:10px Inter,Arial,sans-serif;color:#33476c}.hx-record-card .ops-card-head{align-items:center}
.hx-directory-filters{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:16px}.hx-directory-filters>#hostel-search{grid-column:1/-1}.hx-filter-label{display:flex;flex-direction:column;gap:2px;border:1px solid #d2dff6;border-radius:8px;padding:6px 10px;background:linear-gradient(#fff,#f3f7ff)}.hx-filter-label>span{font-size:9px;font-weight:700;color:#2d4068}.hx-filter-label select{border:0!important;padding:1px 0!important;min-height:23px!important;background:none!important}.hx-directory-pager{display:flex;justify-content:space-between;align-items:center;padding-top:12px;border-top:1px solid #e5ecf7;font-size:10px;color:#526180}.hx-directory-pager>div{display:flex;gap:5px;align-items:center}.hx-directory-pager button{border:1px solid #d5e0f8;border-radius:6px;color:#075cff;background:#fff;padding:5px 9px;cursor:pointer}.hx-directory-pager button:disabled{opacity:.4}
.hx-donut-layout{display:flex;align-items:center;gap:18px;min-height:128px}.hx-donut{width:112px;height:112px;flex:0 0 112px;border-radius:50%;background:var(--segments);display:grid;place-items:center;box-shadow:inset 0 0 0 1px #ffffff}.hx-donut>div{width:82px;height:82px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fff;border-radius:50%;box-shadow:0 2px 9px #37598d0a}.hx-donut strong{font-size:22px;letter-spacing:-.7px}.hx-donut small{font-size:10px;color:#4c6184}.hx-legend{display:grid;gap:11px;flex:1;min-width:0}.hx-legend>div{display:flex;gap:12px;justify-content:space-between;font-size:10px}.hx-legend span:before{content:'';display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--dot);margin-right:7px}.hx-legend strong{font-size:11px;white-space:nowrap}
.hx-bars{display:grid;gap:12px;padding-top:4px}.hx-bars>div{display:flex;align-items:center;gap:10px}.hx-bars span{font-size:10px;width:40%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hx-bars meter{appearance:none;height:7px;flex:1;border:none;border-radius:8px;background:#e4ecf8;overflow:hidden}.hx-bars meter::-webkit-meter-bar{height:7px;background:#e4ecf8;border:0;border-radius:8px}.hx-bars meter::-webkit-meter-optimum-value{background:linear-gradient(90deg,#00aa57,#50ce8c);border-radius:8px}.hx-bars strong{font-size:11px;min-width:24px;text-align:right}
.hx-timeline{display:grid;gap:0}.hx-timeline>div{display:flex;align-items:center;gap:10px;border-bottom:1px solid #e8edf7;padding:10px 0;min-width:0}.hx-timeline>div:last-child{border:0}.hx-avatar{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;flex:0 0 30px;background:linear-gradient(135deg,#edf9ff,#cce4ff);color:#075cff;border-radius:11px;font-size:11px;font-weight:700}.hx-timeline>div>div{min-width:0;flex:1}.hx-timeline strong{display:block;font-size:11px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.hx-timeline small{display:block;color:#5f7399;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hx-timeline .hx-badge{font-size:9px;padding:3px 7px}.hx-checklist{padding:0;margin:0;list-style:none;display:grid;gap:12px}.hx-checklist li{font-size:11px;display:flex;align-items:center;gap:9px}.hx-checklist i{font-size:18px;color:#a6b5ce}.hx-checklist .done i{color:#00b25e}
.hx-trend-bars{display:flex;align-items:end;gap:7px;height:132px;border-bottom:1px solid #dbe5f7;padding:10px 8px 0;background:repeating-linear-gradient(to top,transparent 0,transparent 31px,#edf2fa 32px)}.hx-trend-bars>div{flex:1;display:flex;align-items:center;flex-direction:column;justify-content:end;position:relative;height:100%}.hx-trend-bars strong{font-size:9px;color:#219b60}.hx-trend-bars span{display:block;background:linear-gradient(#16bf73,#bdeed7);width:65%;border-radius:5px 5px 0 0}.hx-trend-bars small{font-size:8px;color:#7586a4;padding:5px 0;background:#fff;width:100%;text-align:center}.hx-big-number{font-size:38px;line-height:1.2;letter-spacing:-1.5px;font-weight:750}
.hostel-workspace .hostel-actions.hx-quick-actions{display:flex;align-items:center;gap:10px;background:linear-gradient(125deg,#fff,#f7faff);padding:12px;border:1px solid var(--hx-line);border-radius:13px;box-shadow:0 6px 14px #335b9e0b;margin:0 0 14px}.hx-quick-label{display:flex;align-items:center;gap:12px;padding:0 24px 0 4px;border-right:1px solid #cad8ef;min-width:240px}.hx-quick-label>i{font-size:26px;color:#075cff}.hx-quick-label strong{font-size:12px}.hx-quick-label small{display:block;font-size:9px;color:#657698}.hx-quick-actions>.btn{flex:1;padding:10px}.hx-dashboard-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}.hx-dashboard-grid>.hx-card:nth-last-child(-n+2){grid-column:span 2}.hx-dashboard-grid .hx-donut{width:100px;height:100px;flex-basis:100px}.hx-dashboard-grid .hx-donut>div{width:74px;height:74px}.hx-dashboard-grid .hx-card{padding:14px}.hx-dashboard-grid .hx-trend-bars{height:70px}.hx-activity-mirror{max-height:180px;overflow:auto}.hostel-workspace .hostel-list-item{border:0;border-bottom:1px solid #e5ecf7;border-radius:0;background:transparent;padding:10px 0;font-size:11px}.hostel-workspace .hostel-list{gap:0}.hostel-workspace .hostel-kpi-grid{display:none}
.hostel-workspace .hostel-room-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.hostel-workspace .hostel-mini-card{padding:12px;border:1px solid #dce6f9;border-radius:10px;background:linear-gradient(125deg,#fff,#f6faff)}.hostel-workspace .hostel-mini-card>span{font-size:10px;color:#2e4875;text-transform:none;letter-spacing:0}.hostel-workspace .hostel-mini-card>strong{font-size:15px;color:#15294f}.hostel-workspace .hostel-mini-card p{font-size:10px;margin:5px 0 8px}.hostel-workspace .hostel-mini-card .btn{font-size:9px;padding:5px 7px;min-height:26px}.hx-beds{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0}.hx-bed{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:35px;min-height:44px;padding:5px;background:#edf2fb;color:#7186a8;border-radius:7px}.hx-bed i{font-size:19px}.hx-bed.occupied{background:#dcfae8;color:#00a14c}.hx-bed.blocked{background:#ffecef;color:#ef3651}.hx-bed small{font-size:9px}.hx-selected-student{display:flex;gap:18px;align-items:center;border:1px solid var(--hx-line);background:linear-gradient(110deg,#fff,#f5f9ff);padding:14px 18px;border-radius:13px;margin-bottom:12px}.hx-selected-student>i{font-size:26px;color:#02ad64}.hx-selected-student strong{display:block;font-size:13px}.hx-selected-student small{display:block;font-size:10px;color:#647696}.hx-selected-student .hx-avatar{margin-left:20px;width:42px;height:42px}.hx-selection-hint{margin-left:auto;font-size:11px;color:#647696}
.hx-health-board{display:grid;grid-template-columns:1fr 1.4fr;gap:14px;margin-top:14px}.hostel-workspace .hostel-split{grid-template-columns:1fr 1fr;gap:14px}.hostel-workspace .hostel-split .ops-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hostel-workspace .hostel-report-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-top:14px}.hostel-workspace #hostel-audit-list{max-height:290px;overflow:auto}.hx-meal-planner{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.hx-meal-planner>div{background:#f8fbff;border:1px solid #e2eafa;border-radius:8px;padding:8px 6px;min-width:0}.hx-meal-planner strong{display:block;font-size:10px}.hx-meal-planner small{font-size:8px;color:#647696}.hx-meal-planner p{font-size:9px!important;line-height:1.5!important;color:#33476c;margin:8px 0}.hx-meal-planner b{display:inline-flex;width:17px;height:17px;align-items:center;justify-content:center;background:#deedff;color:#075cff;border-radius:50%;font-size:9px}
.hostel-workspace[data-hostel-view=mess] .hx-work-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr)}.hostel-workspace[data-hostel-view=mess] .ops-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hostel-workspace[data-hostel-view=mess] .hx-aside{min-width:0}.hostel-workspace[data-hostel-view=allocation] .hx-work-grid{grid-template-columns:minmax(0,2.6fr) minmax(280px,1fr)}.hostel-workspace[data-hostel-view=rooms] .hx-metrics{grid-template-columns:repeat(5,minmax(0,1fr))}.hostel-workspace[data-hostel-view=reports] .hx-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}
.hostel-workspace .erp-footer,.hostel-workspace .erp-global-footer{max-width:none!important;width:100%!important;border-radius:12px 12px 0 0!important;background:linear-gradient(110deg,#102444,#172647)!important;padding:14px 24px!important;margin:0!important;color:#fff!important;font-size:10px!important}.hostel-workspace footer{font-size:10px}.hostel-workspace #erpBackToTop{display:none}.hostel-workspace .erp-table-tools{font-size:9px}.hostel-workspace .hostel-drawer-card,.hostel-workspace .hostel-modal-card{background:linear-gradient(120deg,#fff,#f0f6ff);border:1px solid #d5e5ff;border-radius:18px;padding:22px}.hostel-workspace .hostel-modal,.hostel-workspace .hostel-drawer{backdrop-filter:blur(6px);background:#224b7d38}.hostel-workspace .hostel-detail-grid div{background:#f8fbff;border-color:#dce6f9}.hostel-workspace .campus-dialog{background:linear-gradient(120deg,#fff,#f2f7ff);border:1px solid #d3e3ff;border-radius:18px;box-shadow:0 20px 80px #2346793b}
.hx-loading{position:fixed;inset:0;z-index:1100;background:#eaf2fbc9;backdrop-filter:blur(7px);display:grid;place-items:center;margin:0!important}.hx-loading[hidden]{display:none}.hx-loading>div{background:linear-gradient(145deg,#fff,#e9f4ff);border:2px solid white;border-radius:24px;text-align:center;padding:42px 70px;box-shadow:0 18px 60px #234b8b20}.hx-loading>div>i{display:block;font-size:70px;color:#04ad68;margin-bottom:15px}.hx-loading h2{font-size:24px;letter-spacing:-.6px;color:#142a4b}.hx-loading p{font-size:12px;color:#627599}.hx-spinner{display:inline-block;width:38px;height:38px;border:4px solid #d7e6ff;border-top-color:#075cff;border-radius:50%;animation:hx-spin 1s linear infinite}@keyframes hx-spin{to{transform:rotate(360deg)}}
@media(min-width:1600px){.hostel-workspace .hostel-tab{font-size:12px;padding:10px 13px}.hx-metric span:not(.hx-metric-icon){font-size:12px}.hx-hero-story h2{font-size:28px}.hx-hero-story #hx-page-copy{font-size:12px}.hostel-workspace .ops-form-grid{gap:16px}.hostel-workspace .ops-card,.hx-card{padding:20px}.hostel-workspace .ops-table td{padding:12px}.hx-card h3{font-size:15px}.hx-metric strong{font-size:28px}}
@media(max-width:1200px){.hostel-workspace .ops-shell{padding:16px}.hx-metric{padding:9px;gap:7px}.hx-metric-icon{width:30px;height:32px;flex-basis:30px;font-size:23px}.hx-metric strong{font-size:22px}.hx-hero-story h2{font-size:21px}.hx-metrics{gap:7px;padding:9px}.hx-work-grid{grid-template-columns:minmax(0,2fr) minmax(260px,1fr)}.hostel-workspace .hostel-room-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hx-quick-label{min-width:180px;padding-right:12px}.hx-quick-actions>.btn{font-size:10px;padding:8px}.hx-dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hostel-workspace .hostel-report-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hx-hero-story>h2,.hx-hero-story>p{width:85%}}
@media(max-width:900px){.hx-page-heading{align-items:flex-start;gap:14px;flex-direction:column}.hx-page-heading #hostel-module-setup{width:100%;max-width:none}.hostel-workspace .ops-hero{grid-template-columns:1fr}.hx-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.hx-work-grid,.hostel-workspace[data-hostel-view=allocation] .hx-work-grid,.hostel-workspace[data-hostel-view=mess] .hx-work-grid{grid-template-columns:1fr}.hx-insights{grid-template-columns:repeat(2,minmax(0,1fr))}.hx-quick-actions{flex-wrap:wrap}.hx-quick-label{width:100%;border:0}.hostel-workspace .ops-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hostel-workspace .hostel-split,.hx-health-board{grid-template-columns:1fr}.hx-hero-story img{width:40%}.hx-hero-story>h2,.hx-hero-story>p{width:75%}.hx-selected-student{flex-wrap:wrap}.hostel-workspace[data-hostel-view=rooms] .hx-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:560px){.hostel-workspace .cw-school-strip.erp-page-topbar{padding:10px 12px}.hostel-workspace .cw-school-brand>div:last-child{padding-left:8px}.hostel-workspace .cw-school-brand p{font-size:7px!important}.hostel-workspace .cw-school-brand h2{font-size:12px!important}.hostel-workspace .cw-school-actions .erp-nav-chip{font-size:0;padding:8px}.hostel-workspace .cw-school-actions .erp-nav-chip i{font-size:16px}.hostel-workspace .ops-shell{padding:12px;gap:12px}.hx-page-name h1{font-size:24px}.hx-metrics,.hostel-workspace[data-hostel-view=rooms] .hx-metrics,.hostel-workspace[data-hostel-view=reports] .hx-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.hx-hero-story{padding:16px}.hx-hero-story h2{font-size:20px}.hx-hero-story>h2,.hx-hero-story>p{width:90%}.hx-hero-story img{opacity:.35}.hx-dashboard-grid,.hx-insights{grid-template-columns:1fr}.hx-dashboard-grid>.hx-card:nth-last-child(-n+2){grid-column:auto}.hostel-workspace .ops-form-grid{grid-template-columns:1fr}.hostel-workspace .span-2{grid-column:auto}.hx-directory-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.hostel-workspace .hostel-report-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hx-meal-planner{grid-template-columns:repeat(4,minmax(0,1fr))}.hx-loading>div{padding:30px 20px;margin:20px}.hx-loading h2{font-size:20px}.hostel-workspace .campus-guide summary{gap:6px;padding:10px}.hostel-workspace .campus-guide summary>span{font-size:8px}.hostel-workspace .campus-guide summary strong{font-size:10px}.hx-record-search{max-width:100%}}
@media(prefers-reduced-motion:reduce){.hx-spinner{animation:none}.hostel-workspace *{scroll-behavior:auto!important;transition:none!important}}
@media print{.hx-loading{display:none!important}.hostel-workspace .ops-shell{padding:0}.hostel-workspace .hx-insights{display:none}.hostel-workspace .ops-card{box-shadow:none}}

/* Override common compact-page rules only inside this workspace. */
.hostel-workspace .ops-hero{padding:0!important;margin:0!important}
.hostel-workspace .ops-hero .ops-eyebrow{font-size:10px!important;margin:0 0 7px!important;line-height:1.4!important}
.hostel-workspace .ops-hero #hx-page-copy{font-size:11px!important;line-height:1.6!important;margin:0!important}
.hostel-workspace .hx-hero-story:after{right:18%;background:linear-gradient(90deg,#fff 66%,#ffffff00)}
.hostel-workspace .hx-hero-story h2{font-size:26px}.hostel-workspace .hx-hero-story>h2,.hostel-workspace .hx-hero-story>p{width:74%}
.hostel-workspace .hostel-tabs{overflow-x:auto;justify-content:space-between}.hostel-workspace .hostel-tab{padding:8px 7px;gap:5px;font-size:10px}
.hostel-workspace .hx-dashboard-grid .hx-card{padding:13px}.hostel-workspace .hx-dashboard-grid .hx-card>header{margin-bottom:8px}.hostel-workspace .hx-dashboard-grid .hx-trend-bars{height:48px}.hostel-workspace .hx-dashboard-grid .hx-trend .hx-caption{display:none}.hostel-workspace .hx-dashboard-grid .hx-empty{min-height:90px}.hostel-workspace .hx-dashboard-grid .hx-big-number{font-size:34px}.hostel-workspace .hx-dashboard-grid .hx-donut-layout{min-height:115px}
.hostel-workspace .hx-card h3{font-size:14px}.hostel-workspace .hx-activity-mirror>.hostel-list-item:nth-child(n+5){display:none}
@media(min-width:1600px){.hostel-workspace .hostel-tab{font-size:12px;padding:9px 12px}.hostel-workspace .ops-hero #hx-page-copy{font-size:12px!important}}
@media(max-width:560px){.hostel-workspace .hx-hero-story h2{font-size:20px}.hostel-workspace .hx-hero-story>h2,.hostel-workspace .hx-hero-story>p{width:95%}}

.hostel-workspace .hx-directory-filters>div:first-child{grid-column:1/-1}.hostel-workspace .hx-directory-filters #hostel-search{min-height:34px!important}.hostel-workspace .hostel-tab>i{flex-shrink:0}.hostel-workspace .hx-record-card [hidden]{display:none!important}

.hostel-workspace .hx-dashboard-grid>.hx-card{height:172px;overflow:hidden}.hostel-workspace .hx-dashboard-grid .hx-timeline>div{padding:6px 0;gap:7px}.hostel-workspace .hx-dashboard-grid .hx-timeline>div:nth-child(n+4){display:none}.hostel-workspace .hx-dashboard-grid .hx-avatar{width:25px;height:25px;flex-basis:25px;font-size:10px}.hostel-workspace .hx-dashboard-grid .hx-bars{gap:8px}.hostel-workspace .hx-dashboard-grid>.hx-card:nth-last-child(-n+2){height:165px}.hostel-workspace .hx-dashboard-grid .hx-timeline strong{font-size:10px}.hostel-workspace .hx-dashboard-grid .hx-timeline small{font-size:9px}.hostel-workspace .hx-dashboard-grid .hx-badge{font-size:8px}
.hx-operational-alerts{margin-top:10px;border:1px solid #dce6f9;border-radius:10px;background:#fff}.hx-operational-alerts>summary{padding:9px 14px;cursor:pointer;color:#4c638d;font-size:11px}.hx-operational-alerts>.ops-card{box-shadow:none;border:0}.hx-record-pager{margin-top:12px}.hostel-workspace .hx-record-card tr[hidden],.hostel-workspace .hx-record-card .hostel-list-item[hidden]{display:none!important}
.hostel-workspace .hx-page-heading .campus-guide summary strong:after{content:'Complete the setup to unlock full hostel operations';display:block;white-space:normal;font-size:9px;font-weight:400;color:#536f82;margin-top:2px}.hostel-workspace .hx-page-heading .campus-guide summary>span:after{height:6px}.hostel-workspace .hx-page-heading .campus-guide summary>span{min-width:200px;text-align:right;padding-bottom:12px}
.hostel-workspace .hx-record-card .ops-table-wrap{min-height:0}.hostel-workspace .erp-secondary-footer,.hostel-workspace #erpGlobalFooter{margin:0!important;width:100%!important;max-width:none!important;border-radius:12px 12px 0 0!important;font-size:11px!important;padding:13px 24px!important;box-shadow:none!important}
@media(max-width:560px){.hostel-workspace .hx-page-heading .campus-guide summary>span{min-width:0}.hostel-workspace .hx-dashboard-grid>.hx-card{height:auto;min-height:160px}.hostel-workspace .hx-dashboard-grid>.hx-card:nth-last-child(-n+2){height:auto}.hostel-workspace .hx-page-heading .campus-guide summary strong:after{display:none}}

/* The shared mobile-safe input defaults are intentionally compact on desktop here. */
.hostel-workspace .ops-input,.hostel-workspace .ops-select,.hostel-workspace .hx-record-search input,.hostel-workspace .ops-filter-row input{font-size:11px!important;line-height:1.4!important;min-height:34px!important;height:34px!important;padding:7px 10px!important;border-radius:6px!important}
.hostel-workspace .ops-textarea{font-size:11px!important;line-height:1.5!important;padding:8px 10px!important;min-height:60px!important}
.hostel-workspace .hx-filter-label .ops-select{min-height:23px!important;height:23px!important;padding:0!important}
.hostel-workspace .hx-record-search input{height:24px!important;min-height:24px!important;padding:2px 3px!important;border:0!important;box-shadow:none!important}
.hostel-workspace .ops-table td{padding:8px 10px!important;line-height:1.4!important;font-size:11px!important}.hostel-workspace .ops-table th{padding:8px 10px!important;font-size:9px!important}.hostel-workspace .ops-table .ops-subtle{line-height:1.4!important}
.hostel-workspace .erp-table-tools{margin:0 0 5px;padding:0;min-height:22px}.hostel-workspace .erp-table-tools>span{display:none}.hostel-workspace .erp-table-tools>button{font-size:9px!important;min-height:22px!important;padding:3px 7px!important}
.hostel-workspace .erp-company-footer{padding:12px 0 0!important}.hostel-workspace .erp-company-footer__inner{width:100%!important;max-width:none!important;margin:0!important;padding:13px 24px!important;border-radius:12px 12px 0 0!important;box-shadow:none!important;font-size:10px!important;background:linear-gradient(110deg,#112747,#15233f)!important}.hostel-workspace .erp-company-footer__inner span,.hostel-workspace .erp-company-footer__inner a{font-size:10px!important}
.hostel-workspace .hx-insights .hx-timeline>div{padding:8px 0}.hostel-workspace .hx-insights .hx-timeline>div:nth-child(n+4){display:none}.hostel-workspace .hx-insights .hx-card{padding:15px}.hostel-workspace .hx-insights .hx-card>header{margin-bottom:8px}
@media(max-width:560px){.hostel-workspace .ops-input,.hostel-workspace .ops-select,.hostel-workspace .ops-textarea{font-size:16px!important;min-height:42px!important;height:auto!important}.hostel-workspace .hx-filter-label .ops-select{height:auto!important;min-height:30px!important;font-size:13px!important}}

.hostel-workspace .campus-guide summary>span:after{background:linear-gradient(90deg,#00ae5d,#60d49d);width:var(--setup-progress,0%);right:auto}.hostel-workspace .campus-guide summary>span{background:linear-gradient(#dcebe6,#dcebe6) left bottom/100% 6px no-repeat}

.hostel-workspace .hx-directory-filters> :has(#hostel-search){grid-column:1/-1}.hostel-workspace .hx-filter-label{min-width:0}.hostel-workspace .hx-student-cell{display:flex;gap:8px;align-items:center}.hostel-workspace .hx-student-cell .hx-avatar{width:27px;height:27px;flex-basis:27px}.hostel-workspace .hx-student-cell>div{min-width:100px;max-width:160px}.hostel-workspace .hx-student-cell strong{display:inline-block;max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom}.hostel-workspace #hostel-tab-students .ops-table{min-width:950px}.hostel-workspace #hostel-tab-students .ops-table td{font-size:10px!important;padding:8px!important}
.hostel-workspace .hostel-mini-card .hx-bed{display:flex;flex-direction:column;gap:2px;font-size:11px;line-height:1.3;padding:5px;text-transform:none;letter-spacing:0}.hostel-workspace .hostel-mini-card .hx-beds{display:flex}.hostel-workspace .hx-room-occupants{margin-top:10px}.hostel-workspace .hx-room-occupants summary{font-size:10px;color:#075cff;cursor:pointer}.hostel-workspace .hx-room-occupants .hostel-list-item span{font-size:10px;letter-spacing:0;text-transform:none}.hostel-workspace .hx-room-planner .hostel-mini-card{align-self:start}
@media(min-width:1000px){.hostel-workspace #hostel-tab-rooms .hx-main-column>.ops-card:first-child .ops-form-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.hostel-workspace #hostel-tab-rooms .hx-main-column>.ops-card:first-child .ops-actions,.hostel-workspace #hostel-tab-rooms .campus-setup-links{display:inline-flex;vertical-align:middle;margin:12px 8px 0 0}}

.hostel-workspace .hostel-tab{transition:none!important}.hostel-workspace .hx-attendance-submit{margin:0;align-self:end}.hostel-workspace .hx-attendance-submit .btn{width:100%}.hostel-workspace #hostel-tab-attendance .ops-field:has(#hostel-attendance-note){grid-column:span 3}.hostel-workspace #hostel-tab-allocation .ops-field:has(#hostel-fee-plan){grid-column:span 2}.hostel-workspace #hostel-tab-allocation .ops-field:has(#hostel-emergency){grid-column:1/-1}
.hx-workflow{list-style:none;padding:0 0 12px;margin:0 0 16px;display:grid;grid-template-columns:repeat(4,1fr);gap:10px;border-bottom:1px solid #e3ecf9}.hx-workflow li{text-align:center;position:relative}.hx-workflow li:before{content:'';position:absolute;height:2px;background:#dce7f7;top:14px;left:-50%;right:50%;z-index:0}.hx-workflow li:first-child:before{display:none}.hx-workflow span{position:relative;display:grid;place-items:center;width:30px;height:30px;border:1px solid #c8daf8;background:#f0f6ff;border-radius:50%;margin:0 auto 5px;color:#075cff;font-size:12px;font-weight:700}.hx-workflow strong{display:block;font-size:10px}.hx-workflow small{display:block;font-size:9px;color:#60769a}.hostel-workspace .hx-medical-records>.hx-card{height:100%}
@media(max-width:900px){.hostel-workspace #hostel-tab-attendance .ops-field:has(#hostel-attendance-note){grid-column:1/-1}.hostel-workspace .hx-attendance-submit{grid-column:1/-1}}@media(max-width:560px){.hostel-workspace #hostel-tab-allocation .ops-field:has(#hostel-fee-plan){grid-column:auto}.hx-workflow small{display:none}}

@media(min-width:1100px){.hostel-workspace #hostel-tab-students .hx-work-grid{grid-template-columns:minmax(0,2.8fr) minmax(280px,1fr)}.hostel-workspace #hostel-tab-allocation .hx-work-grid{grid-template-columns:minmax(0,1.6fr) minmax(440px,1fr)}.hostel-workspace #hostel-tab-allocation .hx-insights{grid-template-columns:repeat(2,minmax(0,1fr))}.hostel-workspace #hostel-tab-allocation .hx-insights>.hx-card:last-child{grid-column:1/-1}.hostel-workspace #hostel-tab-allocation .hx-donut-layout{flex-direction:column;gap:8px}.hostel-workspace #hostel-tab-allocation .hx-legend{width:100%;gap:6px}.hostel-workspace #hostel-tab-allocation .hx-insights .hx-bars>div{gap:5px}.hostel-workspace #hostel-tab-allocation .hx-insights .hx-bars span{font-size:9px}
.hostel-workspace .hostel-report-grid{grid-template-columns:repeat(30,minmax(0,1fr))}.hostel-workspace .hostel-report-grid>.hx-card{grid-column:span 6}.hostel-workspace .hostel-report-grid>.hx-card:nth-child(n+6){grid-column:span 5}.hostel-workspace .hostel-report-grid .hx-empty{min-height:45px}.hostel-workspace .hostel-report-grid .hx-bars{gap:9px}.hostel-workspace .hostel-report-grid .hx-card{padding:13px}.hostel-workspace .hostel-report-grid .hx-card h3{font-size:12px}}

.hostel-workspace .hx-page-heading:has(.campus-guide[open]){display:grid;grid-template-columns:1fr}.hostel-workspace .hx-page-heading:has(.campus-guide[open]) #hostel-module-setup{width:100%;max-width:none}.hostel-workspace .hx-page-heading .campus-guide[open] .campus-guide-tasks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.hostel-workspace .hx-page-heading .campus-guide[open] .campus-guide-task{background:#ffffffd9;border:1px solid #bde6d2;border-radius:10px;padding:14px}.hostel-workspace .hx-page-heading .campus-guide[open] .campus-completion{width:30px;height:30px;background:#ddf9e6;color:#00a85b;border-radius:50%;display:grid;place-items:center;font-size:18px}.hostel-workspace .hx-page-heading .campus-guide[open] summary>span{min-width:250px}.hostel-workspace .hx-page-heading .campus-guide[open] summary>strong{font-size:16px}
@media(max-width:900px){.hostel-workspace .hx-page-heading .campus-guide[open] .campus-guide-tasks{grid-template-columns:1fr}.hostel-workspace .hx-page-heading .campus-guide[open] summary>span{min-width:0}}
