/* Hotel Sky Inn desktop dashboard — fluid, 100% browser zoom */
html,body{width:100%;max-width:100%;overflow-x:hidden;background:#fff}
.shell,.shell .main,body.page-dashboard,.shell .content{width:100%;max-width:100%;background:#fff}
.shell .sidebar{display:none!important}
.shell .main{margin-left:0!important;width:100%!important}
.shell .topbar{display:none!important}
.shell .mobile-topbar{position:sticky;top:0;z-index:25;display:flex!important;align-items:center;gap:8px;width:100%;height:56px;padding:0 8px 0 12px;background:#fff;border-bottom:1px solid #e6e8ec}
.mobile-topbar .mobile-hamburger{display:flex;flex-direction:column;justify-content:center;gap:5px;width:36px;height:36px;border:0;background:transparent}
.mobile-topbar .mobile-hamburger i{display:block;width:18px;height:2px;border-radius:2px;background:#1c1c1c}
.inn-brand{display:flex;align-items:center;gap:8px;min-width:0;flex:1}
.inn-brand img,.mobile-brand-mark{flex:0 0 36px;width:36px;height:36px;border-radius:10px;object-fit:cover}
.inn-brand strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:800 15px/1.1 Manrope,sans-serif;color:#1c1c1c}
.inn-brand small{display:block;color:#a67c42;font-size:8px;letter-spacing:.7px;font-weight:800}
.mobile-topbar .notif-trigger{position:relative;display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;margin-left:auto;border:0;background:transparent;color:#1c1c1c}
.mobile-topbar .notif-trigger .ui-icon{width:24px;height:24px}
.staff-chip,#mobileSettings{display:none!important}
.staff-avatar{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:50%;background:#f3f4f6;color:#1c1c1c;font-size:11px;font-weight:800}
.staff-meta{min-width:0}
.staff-meta b,.staff-meta small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.staff-meta b{max-width:120px;font-size:13px}
.staff-meta small{max-width:120px;color:#6b7280;font-size:11px}
.staff-chip svg{width:14px;height:14px;color:#9aa3ad}
.staff-menu{position:fixed;z-index:40;min-width:190px;padding:6px;border:1px solid #e6e8ec;border-radius:14px;background:#fff;box-shadow:0 10px 28px #10182814}
.staff-menu button{display:block;width:100%;padding:9px 10px;border:0;border-radius:8px;background:transparent;text-align:left;color:#1c1c1c}
.staff-menu button:hover{background:#f4f5f7}
.dash-tabbar{position:fixed;z-index:30;left:0;right:0;bottom:0;display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr));gap:2px;padding:6px 10px calc(6px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #e6e8ec;box-shadow:0 -6px 16px #1018280c}
.dash-tabbar button{display:grid;justify-items:center;gap:2px;min-width:0;padding:6px 2px;border:0;border-radius:12px;background:transparent;color:#8b939e;font-size:11px;font-weight:700}
.dash-tabbar svg{width:18px;height:18px}
.dash-tabbar button.active{color:#a67c42}
.shell .content{padding:12px 12px calc(76px + env(safe-area-inset-bottom))!important}
.home-dash{display:grid;gap:12px;width:min(1600px,100%);margin:0 auto}
.home-dash *{min-width:0}
.home-hero{display:grid;grid-template-columns:1fr;min-height:0;border:1px solid #e6e8ec;border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 8px 20px #1018280a}
.home-hero-photo{aspect-ratio:16/9;overflow:hidden;background:#111}
.home-hero-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 32%}
.home-hero-copy{display:flex;flex-direction:column;justify-content:center;gap:6px;padding:16px 18px;background:#fff;color:#1c1c1c}
.home-kicker{margin:0;color:#6b7280;font-size:clamp(13px,1.4vw,16px);font-weight:650}
.home-hero h1{margin:0;color:#1c1c1c;font:800 clamp(28px,3vw,42px)/1.05 Manrope,sans-serif}
.home-script{margin:0;color:#a67c42;font-family:"Snell Roundhand","Segoe Script","Apple Chancery",cursive;font-size:clamp(22px,2.4vw,34px);line-height:1.15}
.home-pills{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}
.home-pill{display:inline-flex;align-items:center;gap:5px;padding:5px 10px;border:1px solid #e6e8ec;border-radius:999px;background:#fff;color:#1c1c1c;font-size:12px;font-weight:750}
.home-pill svg{width:14px;height:14px;color:#a67c42}
.home-pill.is-off{color:#9aa3ad;background:#f8f9fb}
.home-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.home-stat,.home-action,.home-rooms-card,.home-panel,.room-card{background:#fff;border:1px solid #e6e8ec;box-shadow:0 6px 16px #1018280a}
.home-stat{display:flex;align-items:center;gap:8px;min-height:68px;padding:10px;border-radius:16px;text-align:left;color:#1c1c1c}
.home-stat .home-ico,.act-list .home-ico{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:12px}
.home-stat .home-ico svg,.act-list svg{width:18px;height:18px}
.home-stat strong,.act-list strong{display:block;font:800 clamp(16px,1.6vw,22px)/1 Manrope,sans-serif;color:#1c1c1c}
.home-stat b{display:block;margin-top:3px;font-size:12px;font-weight:800;line-height:1.2;white-space:normal}
.home-stat small,.home-action small,.home-rooms-head p,.home-check small,.act-list small{color:#6b7280}
.home-stat small{display:block;margin-top:1px;font-size:11px;line-height:1.25;white-space:normal}
.home-stat.is-available .home-ico{background:#e8f7ee;color:#17824a}
.home-stat.is-booked .home-ico{background:#fdecec;color:#d64545}
.home-stat.is-checkins .home-ico,.act-list .is-checkins{background:#e8f0ff;color:#3b6fe0}
.home-stat.is-checkouts .home-ico,.act-list .is-checkouts{background:#fff3e4;color:#e0923a}
.home-stat.is-collection .home-ico,.act-list .is-collection{background:#f3e9ff;color:#8a5ad6}
.home-stat.is-due .home-ico{background:#fdecec;color:#b94949}
.act-list .is-guests{background:#e8f7ee;color:#17824a}
.home-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.home-action{display:flex;align-items:center;gap:8px;min-height:58px;padding:8px 10px;border-radius:16px;text-align:left;color:#1c1c1c}
.home-action .qa-ico{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:10px;background:#fff;color:#a67c42;box-shadow:inset 0 0 0 1px #eadfce}
.home-action svg{width:18px;height:18px}
.home-action b{display:block;font-size:13px;font-weight:800;line-height:1.2;white-space:normal}
.home-action small{display:block;margin-top:2px;font-size:11px;line-height:1.25;white-space:normal}
.home-rooms-card,.home-panel{padding:12px;border-radius:16px}
.home-rooms-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;flex-wrap:wrap}
.home-rooms-head h2,.home-panel h2{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:0;color:#1c1c1c;font-size:clamp(15px,1.4vw,18px)}
.home-rooms-head h2 svg{width:18px;height:18px;color:#a67c42}
.home-rooms-head p{margin:3px 0 0;font-size:12px}
.home-chips{display:flex;gap:6px;flex-wrap:wrap}
.home-chips button{border:1px solid #e6e8ec;border-radius:999px;padding:6px 10px;background:#fff;color:#4b5563;font-size:12px;font-weight:750}
.home-chips button.active{border-color:#a67c42;background:#a67c42;color:#fff}
.home-rooms{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}
.room-card{display:flex;flex-direction:column;padding:0;overflow:hidden;border-radius:16px;text-align:left;color:#1c1c1c}
.room-card.is-available{box-shadow:inset 3px 0 0 #c4474a,0 6px 16px #1018280a}
.room-card.is-booked{box-shadow:inset 3px 0 0 #1a8f55,0 6px 16px #1018280a}
.room-card.is-cleaning{box-shadow:inset 3px 0 0 #7355ca,0 6px 16px #1018280a}
.room-card .room-photo{position:relative;display:block;aspect-ratio:16/10;background:#f3f4f6}
.room-card .room-photo img{width:100%;height:100%;object-fit:cover;display:block}
.room-ph{position:absolute;inset:0;display:grid;place-items:center;padding:8px;color:#9aa3ad;font-size:11px;font-weight:750;text-align:center}
.room-card-body{display:flex;flex-direction:column;gap:2px;padding:8px 8px 10px}
.room-card-top b{font:800 14px/1.2 Manrope,sans-serif;white-space:normal}
.room-card small,.room-card .room-rent,.room-status,.room-open{white-space:normal;overflow-wrap:anywhere}
.room-card small{color:#6b7280;font-size:12px;line-height:1.3}
.room-card .room-rent{font:800 14px/1.2 Manrope,sans-serif;color:#1c1c1c}
.room-status{display:inline-flex;align-items:center;gap:5px;margin-top:2px;font-size:11px;font-weight:800}
.room-card.is-available .room-status{color:#c4474a}
.room-card.is-booked .room-status{color:#127a45}
.room-card.is-cleaning .room-status{color:#7355ca}
.room-light{width:8px;height:8px;border-radius:50%;background:currentColor;box-shadow:0 0 0 3px color-mix(in srgb,currentColor 25%,transparent);flex:0 0 auto}
.room-open{display:inline-flex;align-items:center;gap:2px;margin-top:4px;color:#a67c42;font-size:12px;font-weight:800}
.room-open svg{width:14px;height:14px}
.home-lower{display:grid;grid-template-columns:1fr;gap:10px}
.cctv-live{padding:2px 7px;border-radius:999px;background:#ff4d4d;color:#fff;font-size:10px;font-weight:800}
.cctv-live[hidden]{display:none}
.home-report{margin-left:auto;border:0;background:transparent;color:#a67c42;font-size:12px;font-weight:800}
.cctv-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}
.cctv-tile{position:relative;display:block;width:100%;padding:0;overflow:hidden;border:0;border-radius:12px;background:#1b140f;color:#f4ece3;aspect-ratio:16/10;text-align:left}
.cctv-tile video{width:100%;height:100%;object-fit:cover}
.cctv-tile p{margin:0;padding:12px 8px;font-size:12px;line-height:1.35;white-space:normal}
.cctv-label{position:absolute;left:6px;bottom:6px;max-width:calc(100% - 12px);padding:2px 6px;border-radius:999px;background:#000000b3;color:#fff;font-size:11px;font-weight:700}
.home-check{display:grid;gap:10px;margin:12px 0 0;padding:0}
.home-check li{display:flex;align-items:flex-start;gap:8px;font-size:13px;line-height:1.3;list-style:none}
.home-check b{display:block;color:#1c1c1c}
.home-check small{display:block;font-size:12px;line-height:1.3;white-space:normal}
.home-mark{display:grid;place-items:center;flex:0 0 18px;width:18px;height:18px;margin-top:1px;border-radius:50%;background:#e8f7ee;color:#127a45;font-size:11px;font-weight:800}
.home-mark.off{background:#f3f4f6;color:#9aa3ad}
.home-switch{margin-left:auto;display:inline-flex;align-items:center;gap:4px;flex:0 0 auto;padding:3px 8px 3px 4px;border-radius:999px;background:#eceff3;color:#4b5563;font-size:10px;font-weight:800}
.home-switch i{width:16px;height:16px;border-radius:50%;background:#fff}
.home-switch.on{background:#1a8f55;color:#fff}
.act-list{display:grid;gap:8px;margin-top:10px}
.act-list button{display:flex;align-items:center;gap:8px;width:100%;padding:0;border:0;background:transparent;text-align:left;color:#1c1c1c}
.act-list b{font-size:13px;font-weight:750}
.act-list small{margin-left:auto;font-size:12px}
.home-skel i{display:block;height:72px;border-radius:16px;background:linear-gradient(90deg,#f3f4f6,#fff,#f3f4f6);background-size:200% 100%;animation:homeShimmer 1.2s linear infinite}
@keyframes homeShimmer{to{background-position:-200% 0}}
.home-empty{padding:14px 8px;color:#6b7280;text-align:center;font-size:13px}
.move-list{display:grid;gap:8px}
.move-list button{display:flex;justify-content:space-between;gap:8px;width:100%;padding:10px;border:1px solid #e6e8ec;border-radius:10px;background:#fff;text-align:left}
.room-image-field{display:grid;gap:8px;margin-top:12px}
.room-image-field img{width:120px;height:78px;object-fit:cover;border-radius:8px;background:#f3f4f6}
.toast{bottom:calc(78px + env(safe-area-inset-bottom))}
@media (min-width:640px){
  .home-rooms{grid-template-columns:repeat(3,minmax(0,1fr))}
  .home-actions{grid-template-columns:repeat(3,minmax(0,1fr))}
  .home-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (min-width:900px){
  .home-hero{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .home-hero-photo{aspect-ratio:auto;min-height:240px;max-height:340px;height:100%}
  .home-hero-photo img{object-position:center 38%}
  .home-rooms{grid-template-columns:repeat(4,minmax(0,1fr))}
  .home-actions{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media (min-width:1024px){
  .shell .content{padding:16px 20px calc(84px + env(safe-area-inset-bottom))!important}
  .home-lower{grid-template-columns:repeat(3,minmax(0,1fr))}
  .home-rooms{grid-template-columns:repeat(5,minmax(0,1fr))}
}
@media (min-width:1100px){
  .home-stats{grid-template-columns:repeat(6,minmax(0,1fr))}
  .home-actions{grid-template-columns:repeat(7,minmax(0,1fr))}
}
@media (min-width:1280px){
  .home-rooms{grid-template-columns:repeat(6,minmax(0,1fr))}
  .home-hero-photo{min-height:260px;max-height:360px}
}
@media (max-width:639px){
  .home-action{flex-direction:column;align-items:flex-start;gap:4px}
  .staff-meta b,.staff-meta small{max-width:72px}
}
:root[data-theme="dark"] html,
:root[data-theme="dark"] body,
:root[data-theme="dark"] .shell,
:root[data-theme="dark"] .shell .main,
:root[data-theme="dark"] .shell .content,
:root[data-theme="dark"] .shell .mobile-topbar,
:root[data-theme="dark"] .dash-tabbar,
:root[data-theme="dark"] .home-hero,
:root[data-theme="dark"] .home-hero-copy,
:root[data-theme="dark"] .home-stat,
:root[data-theme="dark"] .home-action,
:root[data-theme="dark"] .home-rooms-card,
:root[data-theme="dark"] .home-panel,
:root[data-theme="dark"] .room-card,
:root[data-theme="dark"] .staff-menu,
:root[data-theme="dark"] .home-pill{background:#1c1a17;color:#f4efe8;border-color:#3a342c}
:root[data-theme="dark"] .inn-brand strong,
:root[data-theme="dark"] .home-hero h1,
:root[data-theme="dark"] .home-stat strong,
:root[data-theme="dark"] .home-action b,
:root[data-theme="dark"] .home-rooms-head h2,
:root[data-theme="dark"] .home-panel h2,
:root[data-theme="dark"] .room-card .room-rent,
:root[data-theme="dark"] .home-check b,
:root[data-theme="dark"] .staff-chip{color:#f4efe8}
:root[data-theme="dark"] .dash-tabbar button.active{color:#e7c48a}
:root[data-theme="dark"] .mobile-topbar .mobile-hamburger i{background:#fff}
:root[data-theme="dark"] .shell .mobile-topbar .notif-trigger{color:#fff}
:root[data-theme="dark"] .home-chips button{background:#2a2622;color:#d9d3cb}
:root[data-theme="dark"] .home-chips button.active{background:#a67c42;color:#fff}
:root[data-theme="dark"] .room-card .room-photo{background:#2a2622}
@media (prefers-reduced-motion:reduce){.home-skel i,.room-light{animation:none}}
