.hub-page { max-width:1100px; margin:0 auto; padding-bottom:30px; }
.hub-filters { display:flex; flex-wrap:wrap; align-items:end; gap:12px; padding:15px; border:1px solid #dbe3ed; border-radius:12px; background:#fff; }
.hub-filters label { display:flex; flex-direction:column; gap:5px; font-size:13px; font-weight:650; color:#374151; }
.hub-filters select,.hub-filters input { min-width:145px; max-width:100%; border:1px solid #cbd5e1; border-radius:8px; padding:10px; background:#fff; font:inherit; color:#111827; }
.hub-filters form { display:flex; flex:1 1 300px; gap:8px; align-items:end; }
.hub-filters form label { flex:1; }
.hub-filters form input { width:100%; }
.hub-filters button { min-height:40px; }
.hub-results-bar { display:flex; align-items:center; justify-content:space-between; gap:10px; margin:14px 0; }
.hub-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr)); gap:12px; }
.hub-request-card { background:#fff; border:1px solid #d9e2eb; border-radius:12px; padding:16px; display:flex; flex-direction:column; gap:8px; min-width:0; }
.hub-card-head,.hub-card-actions { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.hub-card-meta { font-size:13px; color:#64748b; margin:0; overflow-wrap:anywhere; }
.hub-card-detail { font-weight:700; font-size:15px; overflow-wrap:anywhere; }
.hub-card-reason { margin:0; font-size:14px; white-space:pre-wrap; overflow-wrap:anywhere; }
.hub-card-reply { margin:0; font-size:13px; color:#425466; background:#f3f5f8; padding:8px; border-radius:6px; }
.hub-card-actions { margin-top:auto; padding-top:7px; }
.hub-card-actions button { width:auto; margin-left:auto; }
.hub-status { flex:none; padding:5px 9px; border-radius:99px; background:#f1f5f9; font-size:12px; font-weight:700; }
.hub-status.PENDING { background:#fff3dc; color:#92400e; }
.hub-status.APPROVED { background:#e8f6ef; color:#166534; }
.hub-status.REJECTED,.hub-status.CANCELLED { background:#f1f5f9; color:#475569; }
.hub-pages { display:flex; justify-content:center; align-items:center; gap:14px; margin-top:18px; }
.hub-empty,.hub-error { margin:0; padding:22px; border:1px dashed #cbd5e1; border-radius:10px; color:#64748b; grid-column:1/-1; }
.hub-error { color:#b91c1c; }
#admin-technician-request-summary { background:#fff; border:1px solid #dbe3ed; border-radius:13px; padding:14px; margin:12px 0 18px; }
.hub-summary-head { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:12px; }
.hub-summary-head h2 { font-size:17px; font-weight:750; margin:0; }
.hub-summary-numbers { display:flex; gap:10px; margin-bottom:12px; }
.hub-summary-numbers >div { flex:1; min-width:0; background:#f6f8fa; border-radius:8px; padding:10px; }
.hub-summary-numbers small { display:block; color:#64748b; }
.hub-summary-numbers strong { display:block; font-size:25px; margin-top:3px; }
.hub-summary-item { width:100%; text-align:left; display:flex; justify-content:space-between; align-items:center; gap:10px; border:1px solid #e2e8f0; border-radius:7px; background:#fff; padding:9px; margin:6px 0; color:#334155; }
.hub-summary-item span { color:#64748b; font-size:12px; }
.admin-nav-count-badge[data-technician-request-pending] { margin-left:5px; }
@media (max-width:650px) {
 .hub-filters { display:grid; grid-template-columns:1fr 1fr; gap:10px; padding:11px; }
 .hub-filters form { grid-column:1 / -1; }
 .hub-filters select,.hub-filters input { width:100%; min-width:0; }
 .hub-request-card { padding:13px; }
 .hub-summary-item { flex-direction:column; align-items:flex-start; }
 .hub-summary-head h2 { font-size:16px; }
}

/* Standalone quick entry: visible below Dashboard even with Work collapsed. */
.layout aside nav > .hub-direct-nav,
.mobile-menu-nav > .hub-direct-nav {
  display:flex;
  align-items:center;
  min-height:42px;
  padding:10px 12px;
  border-radius:7px;
  font-size:14px;
  font-weight:700;
  text-align:left;
  width:100%;
}
.layout aside nav > .hub-direct-nav::before,
.mobile-menu-nav > .hub-direct-nav::before {
  content:"";
  display:inline-block;
  width:8px;
  height:8px;
  margin-right:10px;
  border-radius:50%;
  background:#ea9a4a;
  flex-shrink:0;
}
.layout aside nav > .hub-direct-nav {
  background:rgba(255,255,255,.12);
  color:#fff;
}
.mobile-menu-nav > .hub-direct-nav {
  background:#eaf0f6;
  color:#1d3c59;
}

/* Standalone menu badge; keep it invisible when no pending requests. */
.hub-direct-nav .admin-nav-count-badge[hidden] { display:none !important; }
.hub-direct-nav .admin-nav-count-badge { margin-left:auto; }

/* Inline review of room and wallpaper changes: buttons use existing review APIs. */
.hub-review-dialog {
  box-sizing:border-box; width:min(560px,calc(100vw - 20px)); max-width:calc(100vw - 20px);
  max-height:90dvh; margin:auto; padding:0; border:1px solid #d4e2ee;
  border-radius:16px; background:#f8fafc; color:#18364d; overflow:hidden;
  box-shadow:0 22px 60px rgba(10,30,48,.3);
}
.hub-review-dialog::backdrop { background:rgba(8,27,43,.6); }
.hub-review-shell { max-height:90dvh; display:flex; flex-direction:column; overflow:hidden; }
.hub-review-heading {
  flex:0 0 auto; display:flex; justify-content:space-between; align-items:center;
  gap:10px; padding:15px 18px; background:#fff; border-bottom:1px solid #dce6ee;
}
.hub-review-heading h2 { margin:0; font-size:18px; }
.hub-review-close { min-height:40px; padding:8px 14px; border:1px solid #c8d7e5; border-radius:8px; background:#fff; font-weight:700; color:#244d6a; cursor:pointer; }
.hub-review-content { flex:1 1 auto; min-height:0; overflow-y:auto; padding:18px; -webkit-overflow-scrolling:touch; }
.hub-review-loading { margin:0; color:#596e82; }
.hub-review-summary,.hub-review-price { margin:0 0 15px; padding:12px; border:1px solid #dce5ee; border-radius:10px; background:#fff; }
.hub-review-pair { display:grid; grid-template-columns:minmax(96px,35%) minmax(0,1fr); gap:12px; padding:8px 0; border-bottom:1px solid #edf1f5; font-size:13px; }
.hub-review-pair:last-child { border-bottom:0; }
.hub-review-pair dt { font-weight:700; color:#4f6173; }
.hub-review-pair dd { margin:0; font-weight:700; color:#163954; overflow-wrap:anywhere; white-space:pre-wrap; }
.hub-review-price h3 { margin:0 0 7px; font-size:15px; }
.hub-review-caution { margin:9px 0 0; color:#607487; font-size:12px; line-height:1.6; }
.hub-review-error { margin:10px 0; color:#b91c1c; font-weight:700; line-height:1.55; }
.hub-review-note-label { display:grid; gap:9px; color:#375169; font-weight:700; font-size:13px; }
.hub-review-note { width:100%; min-height:80px; padding:12px; border:1px solid #cbd5e1; border-radius:8px; font:inherit; color:#111827; box-sizing:border-box; resize:vertical; }
.hub-review-feedback { flex:0 0 auto; padding:0 18px; font-size:13px; font-weight:700; color:#1b6b4b; white-space:pre-wrap; }
.hub-review-feedback.error { color:#b91c1c; }
.hub-review-actions { display:flex; flex:0 0 auto; gap:10px; padding:14px 18px; border-top:1px solid #dce6ee; background:#fff; }
.hub-review-actions button { flex:1; min-height:46px; border-radius:9px; font-size:14px; font-weight:800; cursor:pointer; }
.hub-review-reject { background:#fff; color:#9d2f29; border:1px solid #e1a39d; }
.hub-review-approve { background:#205f87; color:#fff; border:1px solid #205f87; }
.hub-review-actions button:disabled { opacity:.45; cursor:not-allowed; }
.hub-review-actions button:focus-visible,.hub-review-close:focus-visible { outline:3px solid #1671a5; outline-offset:2px; }
@media(max-width:650px){
 .hub-review-heading,.hub-review-content { padding:13px; }
 .hub-review-actions { padding:12px 13px; }
 .hub-review-pair { grid-template-columns:minmax(88px,38%) minmax(0,1fr); gap:8px; }
}
