:root {
  --ink:#111827; --muted:#68747d; --canvas:#f7f8f8; --surface:#fff; --line:#dce2e3;
  --line-soft:#edf0f1; --pine:#075c54; --pine-dark:#06453f; --pine-soft:#e7f4f1;
  --warning:#b56f00; --warning-soft:#fff1ce; --danger:#c83d3d; --danger-soft:#fde7e7;
  --radius:6px; font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--ink); background:var(--canvas);
}
* { box-sizing:border-box; }
body { margin:0; min-width:320px; background:var(--canvas); color:var(--ink); }
button,input,select,textarea { font:inherit; letter-spacing:0; }
button { cursor:pointer; } svg { flex:0 0 auto; }

.shell { min-height:100vh; display:grid; grid-template-columns:224px minmax(0,1fr); }
.sidebar { position:sticky; top:0; height:100vh; overflow:auto; background:#074e48; color:#eef8f6; padding:20px 12px 16px; display:flex; flex-direction:column; }
.brand { display:flex; align-items:center; gap:10px; padding:2px 8px 20px; font-family:Georgia,"Times New Roman",serif; font-size:20px; font-weight:700; }
.brand-mark { width:34px; height:34px; display:grid; place-items:center; color:#06453f; background:#70d4c6; border-radius:5px; font-family:Inter,sans-serif; font-weight:900; }
.brand small { display:block; margin-top:2px; color:#acd6cf; font-family:Inter,sans-serif; font-size:10px; font-weight:500; }
.nav-label { margin:4px 10px 7px; color:#83b9b1; font-size:10px; font-weight:800; text-transform:uppercase; }
.nav { display:grid; gap:2px; }
.nav-item { min-height:39px; display:flex; align-items:center; gap:11px; border:0; border-left:2px solid transparent; background:transparent; color:#d8ece8; text-align:left; padding:9px 10px; border-radius:4px; font-size:13px; }
.nav-item:hover { background:#0d6058; color:#fff; }
.nav-item.active { background:#126b62; border-left-color:#62d7c5; color:#fff; }
.property-card { margin-top:auto; border:1px solid #29756d; border-radius:5px; overflow:hidden; background:#06453f; }
.property-card img { display:block; width:100%; aspect-ratio:16/9; object-fit:cover; }
.property-card div { padding:10px; }.property-card strong,.property-card span { display:block; }
.property-card strong { font-size:12px; }.property-card span { margin-top:3px; color:#9ecbc4; font-size:10px; }
.sidebar-footer { padding:13px 8px 0; color:#a8d0c9; font-size:11px; }
.sidebar-footer span { display:inline-block; width:7px; height:7px; margin-right:7px; border-radius:50%; background:#52d69d; }

.main { min-width:0; background:#fff; }
.utility-bar { min-height:58px; display:flex; align-items:center; gap:16px; padding:8px 24px; border-bottom:1px solid var(--line); background:#fff; }
.utility-bar label { display:flex; align-items:center; gap:8px; color:var(--muted); font-size:11px; }
.utility-bar select { width:230px; border:1px solid var(--line); border-radius:4px; background:#fff; padding:8px 30px 8px 10px; color:var(--ink); font-size:12px; }
.utility-date { display:flex; align-items:center; gap:7px; padding-left:14px; border-left:1px solid var(--line); white-space:nowrap; color:#34444b; font-size:12px; }
.global-search { max-width:360px; min-width:190px; margin-left:auto; display:flex; align-items:center; gap:8px; border:1px solid var(--line); border-radius:4px; padding:0 10px; color:var(--muted); }
.global-search input { width:100%; border:0; outline:0; padding:8px 0; color:var(--ink); font-size:12px; }
.icon-button { position:relative; width:34px; height:34px; display:grid; place-items:center; border:0; border-radius:4px; background:transparent; color:#42545c; }
.icon-button:hover { background:#f0f3f3; color:var(--pine); }.icon-button.bordered { border:1px solid var(--line); background:#fff; }
.icon-button b { position:absolute; top:5px; right:5px; width:6px; height:6px; border-radius:50%; background:var(--danger); }
.identity { display:flex; align-items:center; gap:9px; padding-left:3px; }.identity > span,.identity strong,.identity small { display:block; }
.identity strong { max-width:125px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:12px; }.identity small { margin-top:1px; color:var(--muted); font-size:10px; }
.avatar { width:32px; height:32px; display:grid; place-items:center; border-radius:50%; background:var(--pine); color:#fff; font-size:11px; font-weight:800; }
.topbar { min-height:92px; display:flex; justify-content:space-between; align-items:center; gap:20px; padding:18px 24px; border-bottom:1px solid var(--line); }
.topbar h1 { margin:0; font-size:27px; line-height:1.15; letter-spacing:0; }.topbar p { margin:6px 0 0; color:var(--muted); font-size:13px; }
.period { display:flex; align-items:center; overflow:hidden; border:1px solid var(--line); border-radius:4px; }
.period button { width:34px; height:32px; display:grid; place-items:center; border:0; background:#fff; color:#405159; }
.period button:hover { background:#f1f4f4; }.period span { min-width:120px; padding:0 10px; text-align:center; font-size:11px; font-weight:700; }

.summary-strip { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); margin:0 24px; border-bottom:1px solid var(--line); }
.summary-strip > div { min-width:0; display:grid; grid-template-columns:auto auto; justify-content:start; align-items:center; gap:0 12px; padding:17px 18px; border-right:1px solid var(--line); color:var(--pine); }
.summary-strip > div:first-child { padding-left:0; }.summary-strip > div:last-child { border-right:0; }
.summary-strip span strong,.summary-strip span small { display:block; }.summary-strip span strong { color:var(--ink); font-size:18px; white-space:nowrap; }
.summary-strip span small { margin-top:2px; color:#4e5d64; font-size:11px; }.summary-strip em { grid-column:2; margin-top:4px; color:var(--muted); font-size:10px; font-style:normal; white-space:nowrap; }
.summary-strip .warning { color:var(--danger); }

.dashboard-grid { display:grid; grid-template-columns:minmax(0,1.65fr) minmax(300px,.9fr); padding:0 24px 28px; }
.panel { min-width:0; background:#fff; border:0; border-bottom:1px solid var(--line); }.attention-panel,.occupancy-panel,.bookings-panel { border-right:1px solid var(--line); }
.collection-panel { grid-column:2; grid-row:1 / span 2; }.readiness-panel { grid-column:2; }
.panel-head { min-height:72px; padding:17px 0; display:flex; align-items:flex-start; justify-content:space-between; gap:12px; border-bottom:1px solid var(--line-soft); }
.attention-panel .panel-head,.occupancy-panel .panel-head,.bookings-panel .panel-head { padding-right:18px; }
.collection-panel .panel-head,.collection-panel .panel-body,.readiness-panel .panel-head,.readiness-panel .panel-body { padding-left:18px; }
.panel-head h2 { margin:0; font-size:14px; }.panel-head p { margin:4px 0 0; color:var(--muted); font-size:11px; }.panel-body { padding:0 18px 16px 0; }
.text-button { display:inline-flex; align-items:center; gap:4px; border:0; background:transparent; color:var(--pine); padding:2px; font-size:11px; font-weight:700; white-space:nowrap; }
.page-panel { width:100%; overflow:auto; }.data-table { width:100%; border-collapse:collapse; font-size:11px; }
.data-table th { padding:10px 9px; border-bottom:1px solid var(--line); background:#f6f8f8; color:#536168; font-size:10px; font-weight:750; text-align:left; white-space:nowrap; }
.data-table td { padding:10px 9px; border-bottom:1px solid var(--line-soft); vertical-align:middle; }.data-table tbody tr:hover { background:#fbfcfc; }
.data-table td strong,.data-table td small { display:block; }.data-table td small { margin-top:3px; color:var(--muted); font-size:10px; }.attention-table { min-width:620px; table-layout:auto; }.attention-table th:last-child,.attention-table td:last-child { width:54px; padding-left:4px; padding-right:4px; }
.priority { display:inline-flex; align-items:center; gap:6px; white-space:nowrap; }.priority i { width:7px; height:7px; border-radius:50%; background:#829097; }.priority.high i { background:#df3d3d; }.priority.medium i { background:#efa916; }
.status { display:inline-flex; align-items:center; gap:5px; padding:4px 7px; border-radius:4px; background:var(--pine-soft); color:#117052; font-size:10px; font-weight:750; white-space:nowrap; }
.status-dot { width:5px; height:5px; border-radius:50%; background:currentColor; }.status.pending,.status.under-review,.status.unpaid { background:var(--warning-soft); color:#8c5a00; }
.status.rejected,.status.overdue { background:var(--danger-soft); color:#b12d2d; }.status.cancelled,.status.inactive,.status.void { background:#eceff0; color:#59676d; }.status.paid,.status.completed,.status.approved,.status.active { background:#e3f5eb; color:#14724a; }
.table-action { min-height:29px; border:1px solid #ccd5d7; border-radius:4px; background:#fff; color:#26383f; padding:5px 9px; font-size:10px; font-weight:650; white-space:nowrap; }.table-action:hover { border-color:var(--pine); color:var(--pine); }

.collection-kpis { display:grid; grid-template-columns:1.4fr .7fr; gap:12px; padding:17px 0 14px; }.collection-kpis > div + div { padding-left:14px; border-left:1px solid var(--line); }
.collection-kpis strong,.collection-kpis span { display:block; }.collection-kpis strong { font-size:19px; }.collection-kpis span { margin-top:4px; color:var(--muted); font-size:10px; }
.comparison-bars { display:grid; gap:9px; padding:13px 0 17px; border-top:1px solid var(--line-soft); border-bottom:1px solid var(--line-soft); }.comparison-bars label { display:grid; grid-template-columns:75px 1fr; align-items:center; gap:8px; color:#4e5c62; font-size:10px; }
.comparison-bars i,.method-list i { height:7px; display:block; overflow:hidden; background:#e8edef; }.comparison-bars b,.method-list b { height:100%; display:block; background:#0c746a; }.comparison-bars b.outstanding { background:#e0a336; }
.collection-panel h3 { margin:17px 0 10px; font-size:11px; }.method-list { display:grid; gap:10px; }.method-list > div { display:grid; grid-template-columns:minmax(80px,1fr) auto 30px; align-items:center; gap:7px; font-size:10px; }
.method-list strong { font-size:10px; }.method-list small { color:var(--muted); text-align:right; }.method-list i { grid-column:1 / -1; height:5px; }

.occupancy-line { display:grid; grid-template-columns:auto 1fr; align-items:end; gap:4px 8px; padding:18px 0 15px; }.occupancy-line strong { color:var(--pine); font-size:27px; line-height:1; }.occupancy-line span { color:var(--muted); font-size:11px; }
.occupancy-line i { grid-column:1 / -1; height:9px; margin-top:9px; background:#e6ebec; overflow:hidden; }.occupancy-line b { display:block; height:100%; background:var(--pine); }
.mini-stats { display:grid; grid-template-columns:repeat(3,1fr); border-top:1px solid var(--line-soft); }.mini-stats div { padding:13px 12px; border-right:1px solid var(--line-soft); }.mini-stats div:first-child { padding-left:0; }.mini-stats div:last-child { border:0; }
.mini-stats strong,.mini-stats span { display:block; }.mini-stats strong { font-size:16px; }.mini-stats span { margin-top:3px; color:var(--muted); font-size:9px; }
.booking-list > div { display:grid; grid-template-columns:108px 1fr auto; gap:10px; align-items:center; padding:10px 0; border-bottom:1px solid var(--line-soft); font-size:10px; }.booking-list > div:last-child { border:0; }
.booking-list time,.booking-list strong,.booking-list small { display:block; }.booking-list time { font-weight:700; }.booking-list time small,.booking-list span small { margin-top:3px; color:var(--muted); font-weight:400; }
.readiness-list { list-style:none; margin:0; padding:10px 0 0; }
.readiness-list li { display:grid; grid-template-columns:18px minmax(0,1fr) auto; align-items:center; gap:7px; min-height:36px; border-bottom:1px solid var(--line-soft); color:#758188; font-size:10px; }
.readiness-list li:last-child { border:0; }.readiness-list li.done { color:#14865f; }.readiness-list li.active { color:var(--warning); }
.readiness-list li span { color:#26373e; }.readiness-list li small { color:var(--muted); text-align:right; }

.registry-panel { margin:0 24px 28px; border:1px solid var(--line); border-radius:var(--radius); }.registry-head { padding:15px 17px; }.registry-toolbar { display:flex; align-items:center; gap:9px; padding:11px 17px; border-bottom:1px solid var(--line); background:#fbfcfc; }
.registry-visual { position:relative; height:180px; margin:0; overflow:hidden; border-bottom:1px solid var(--line); background:#dce7e4; }
.registry-visual img { width:100%; height:100%; display:block; object-fit:cover; object-position:center 58%; }
.registry-visual figcaption { position:absolute; left:0; bottom:0; display:flex; align-items:baseline; gap:12px; padding:10px 15px; color:#fff; background:rgba(4,48,44,.86); }
.registry-visual strong,.registry-visual span { display:block; }.registry-visual strong { font-size:13px; }.registry-visual span { color:#d4ebe6; font-size:10px; }
.search-control { min-width:260px; flex:1; display:flex; align-items:center; gap:8px; padding:0 9px; border:1px solid var(--line); border-radius:4px; background:#fff; color:var(--muted); }.search-control input { width:100%; padding:8px 0; border:0; outline:0; font-size:11px; }
.registry-toolbar select { min-width:140px; padding:8px 28px 8px 9px; border:1px solid var(--line); border-radius:4px; background:#fff; font-size:11px; }.record-count { color:var(--muted); font-size:10px; white-space:nowrap; }
.registry-table .data-table { min-width:740px; }.registry-table .data-table th,.registry-table .data-table td { padding:12px 14px; }.table-footer { display:flex; justify-content:space-between; align-items:center; padding:10px 14px; border-top:1px solid var(--line); color:var(--muted); font-size:10px; }
.table-footer div { display:flex; gap:4px; }.table-footer button { width:28px; height:26px; display:grid; place-items:center; border:1px solid var(--line); border-radius:3px; background:#fff; color:#536168; }.table-footer button.current { background:var(--pine); color:#fff; border-color:var(--pine); }.table-footer button:disabled { opacity:.45; cursor:default; }
.button { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:34px; border:1px solid var(--pine); border-radius:4px; background:var(--pine); color:#fff; padding:7px 11px; font-size:11px; font-weight:750; }.button:hover { background:var(--pine-dark); }.button.secondary { background:#fff; color:var(--pine); }.button.small { min-height:29px; padding:5px 8px; font-size:10px; }
.empty { color:var(--muted); padding:28px 10px; text-align:center; }.empty.compact { padding:15px 0; font-size:10px; }.empty-state { min-height:200px; display:flex; flex-direction:column; align-items:center; justify-content:center; color:var(--pine); }.empty-state strong { margin-top:10px; font-size:13px; }.empty-state span { margin-top:4px; color:var(--muted); font-size:10px; }

.modal-backdrop { position:fixed; inset:0; z-index:10; display:grid; place-items:center; padding:18px; background:rgba(9,30,28,.52); }.modal { width:min(560px,100%); max-height:calc(100vh - 36px); overflow:auto; border:1px solid var(--line); border-radius:6px; background:#fff; }
.modal-head { display:flex; justify-content:space-between; align-items:flex-start; padding:17px 18px; border-bottom:1px solid var(--line); }.modal-head h2 { margin:0; font-size:15px; }.modal-head p { margin:4px 0 0; color:var(--muted); font-size:10px; }
.modal-body { display:grid; gap:3px; padding:16px 18px 20px; }.modal-actions { display:flex; justify-content:flex-end; gap:8px; padding:12px 18px; border-top:1px solid var(--line); }
.field { display:grid; gap:6px; margin-top:12px; }.field label { font-size:11px; font-weight:750; }.field input,.field select,.field textarea { width:100%; min-height:37px; padding:8px 9px; border:1px solid #bec9cc; border-radius:4px; background:#fff; color:var(--ink); font-size:12px; }.field textarea { min-height:90px; resize:vertical; }.check { margin-top:10px; color:#44555c; font-size:11px; }
.form-error { color:var(--danger); margin:10px 0 0; font-size:11px; }.toast { position:fixed; right:18px; bottom:18px; z-index:20; max-width:360px; display:flex; align-items:center; gap:9px; border-radius:5px; background:#812f2f; color:#fff; padding:11px 14px; box-shadow:0 9px 24px rgba(0,0,0,.18); font-size:11px; }

.auth { min-height:100vh; display:grid; grid-template-columns:minmax(360px,1.15fr) minmax(420px,.85fr); background:#fff; }.auth-visual { position:relative; min-height:100vh; overflow:hidden; background:#074e48; }.auth-visual img { width:100%; height:100%; display:block; object-fit:cover; }
.auth-visual::after { content:""; position:absolute; inset:auto 0 0; height:34%; background:linear-gradient(transparent,rgba(4,48,44,.78)); pointer-events:none; }.auth-visual div { position:absolute; z-index:1; left:38px; right:38px; bottom:36px; color:#fff; }
.auth-visual span,.auth-visual strong { display:block; }.auth-visual span { font-size:12px; }.auth-visual strong { max-width:520px; margin-top:7px; font-family:Georgia,"Times New Roman",serif; font-size:31px; line-height:1.15; }
.auth-panel { display:grid; place-items:center; padding:34px; }.auth-card { width:min(390px,100%); }.auth-brand { padding:0 0 35px; color:var(--ink); }.auth-brand small { color:var(--muted); }
.auth-card h1 { margin:0; font-size:26px; }.auth-card > p { margin:7px 0 23px; color:var(--muted); font-size:12px; line-height:1.55; }.form-submit { width:100%; margin-top:19px; min-height:40px; }.auth-foot { display:block; margin-top:24px; color:#869197; font-size:9px; text-align:center; }
.mobile-nav { display:none; }

@media (max-width:1180px) {
  .summary-strip { grid-template-columns:repeat(3,1fr); }.summary-strip > div:nth-child(3) { border-right:0; }.summary-strip > div:nth-child(n+4) { border-top:1px solid var(--line); }
  .dashboard-grid { grid-template-columns:1fr; }.attention-panel,.occupancy-panel,.bookings-panel { border-right:0; }.collection-panel,.readiness-panel { grid-column:1; grid-row:auto; }.collection-panel .panel-head,.collection-panel .panel-body,.readiness-panel .panel-head,.readiness-panel .panel-body { padding-left:0; }
  .global-search { display:none; }
}
@media (max-width:820px) {
  .shell { display:block; }.sidebar { display:none; }.utility-bar { padding:8px 14px; }.utility-bar label,.utility-date { display:none; }.global-search { display:flex; margin-left:0; max-width:none; flex:1; }.identity > span { display:none; }
  .mobile-nav { display:flex; gap:6px; overflow:auto; padding:9px 14px; border-bottom:1px solid var(--line); background:#fff; }.mobile-nav .nav-item { min-height:32px; flex:0 0 auto; border:1px solid var(--line); border-radius:4px; color:#45565d; padding:6px 9px; }.mobile-nav .nav-item.active { border-color:var(--pine); background:var(--pine); color:#fff; }
  .topbar { min-height:82px; padding:16px 14px; }.topbar h1 { font-size:22px; }.period { display:none; }.summary-strip { margin:0 14px; grid-template-columns:repeat(2,1fr); }.summary-strip > div { padding:14px 10px; }.summary-strip > div:nth-child(2n) { border-right:0; }.summary-strip > div:nth-child(3) { border-right:1px solid var(--line); }.summary-strip > div:nth-child(n+3) { border-top:1px solid var(--line); }
  .dashboard-grid { padding:0 14px 22px; }.panel-head { min-height:66px; }.panel-body { padding-right:0; }.registry-panel { margin:0 14px 22px; }.registry-toolbar { flex-wrap:wrap; }.search-control { min-width:100%; }.record-count { margin-left:auto; }.registry-visual { height:140px; }.registry-visual figcaption { right:0; align-items:flex-start; flex-direction:column; gap:2px; }
  .auth { grid-template-columns:1fr; }.auth-visual { display:none; }.auth-panel { min-height:100vh; padding:26px 20px; }
}
@media (max-width:520px) {
  .summary-strip { grid-template-columns:1fr; }.summary-strip > div { border-right:0 !important; border-top:1px solid var(--line); padding-left:0; }.summary-strip > div:first-child { border-top:0; }
  .topbar p { max-width:260px; }.booking-list > div { grid-template-columns:92px 1fr; }.booking-list .status { grid-column:2; justify-self:start; }.mini-stats { grid-template-columns:1fr; }.mini-stats div { border-right:0; border-bottom:1px solid var(--line-soft); padding-left:0; }
}
