:root{--bg-primary: #332928;--bg-secondary: #3d3432;--bg-card: #423937;--bg-card-hover: #4a403e;--sidebar-bg: #f1f5f9;--sidebar-text: #1e293b;--sidebar-muted: #64748b;--sidebar-active: #e2e8f0;--accent: #c9a227;--accent-hover: #dbb42e;--accent-muted: rgba(201, 162, 39, .15);--text-primary: #f8f6f3;--text-secondary: #b8b0a8;--text-muted: #8a827a;--border: rgba(255, 255, 255, .08);--success: #4ade80;--warning: #fbbf24;--danger: #f87171;--radius: 12px;--radius-sm: 8px;--shadow: 0 4px 24px rgba(0, 0, 0, .25);--font-sans: "DM Sans", system-ui, sans-serif;--font-serif: "Instrument Serif", Georgia, serif;--sidebar-width: 260px;--sidebar-collapsed: 72px}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html,body,#root{height:100%}body{font-family:var(--font-sans);background:var(--sidebar-bg);color:var(--text-primary);-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button{font-family:inherit;cursor:pointer;border:none;background:none}input,select{font-family:inherit}.app-layout{display:flex;height:100vh;overflow:hidden;background:var(--sidebar-bg)}.sidebar{width:var(--sidebar-width);background:var(--sidebar-bg);color:var(--sidebar-text);display:flex;flex-direction:column;transition:width .25s ease;flex-shrink:0}.sidebar.collapsed{width:var(--sidebar-collapsed)}.sidebar-header{padding:1.5rem 1.25rem;display:flex;align-items:center;gap:.75rem;border-bottom:1px solid #e2e8f0}.sidebar-logo{width:36px;height:36px;background:var(--bg-primary);border-radius:var(--radius-sm);display:flex;align-items:center;justify-content:center;color:var(--accent);flex-shrink:0}.sidebar-title{font-family:var(--font-serif);font-size:1.35rem;font-weight:400;white-space:nowrap;overflow:hidden}.sidebar.collapsed .sidebar-title,.sidebar.collapsed .nav-label{display:none}.sidebar-nav{flex:1;padding:1rem .75rem;display:flex;flex-direction:column;gap:.25rem}.nav-item{display:flex;align-items:center;gap:.75rem;padding:.7rem 1rem;border-radius:var(--radius-sm);color:var(--sidebar-muted);font-size:.9rem;font-weight:500;transition:all .15s ease}.nav-item:hover{background:var(--sidebar-active);color:var(--sidebar-text)}.nav-item.active{background:var(--bg-primary);color:#fff}.nav-item.active svg{color:var(--accent)}.collapse-btn{margin-left:auto;padding:.4rem;border-radius:6px;color:var(--sidebar-muted)}.collapse-btn:hover{background:var(--sidebar-active)}.main-content{flex:1;min-height:0;overflow-y:auto;margin:.5rem .5rem .5rem 0;padding:2rem;background:#fff;border-radius:24px;box-shadow:0 2px 24px #0000000a;--text-primary: #1e293b;--text-secondary: #64748b;--text-muted: #94a3b8;--bg-card: #ffffff;--bg-card-hover: #f8fafc;--bg-secondary: #f8fafc;--border: #e8ecf0}.page-header{margin-bottom:2rem}.page-title{font-family:var(--font-serif);font-size:2rem;font-weight:400;margin-bottom:.35rem;color:var(--accent)}.page-subtitle{color:var(--text-secondary);font-size:.95rem}.kpi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin-bottom:1.5rem}.kpi-card{background:var(--bg-card);border:1px solid var(--border);border-radius:16px;padding:1.25rem;box-shadow:0 2px 10px #0000000d;transition:background .15s,box-shadow .15s}.kpi-card:hover{background:var(--bg-card-hover);box-shadow:0 4px 16px #00000014}.kpi-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:.75rem}.kpi-header .kpi-label{margin-bottom:0}.kpi-icon{width:36px;height:36px;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.kpi-icon-accent{background:#c9a2271f;color:var(--accent)}.kpi-icon-green{background:#22c55e1f;color:#22c55e}.kpi-icon-blue{background:#3b82f61f;color:#3b82f6}.kpi-icon-purple{background:#8b5cf61f;color:#8b5cf6}.kpi-icon-orange{background:#f973161f;color:#f97316}.kpi-label{font-size:.8rem;color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em;margin-bottom:.5rem}.kpi-value{font-size:1.75rem;font-weight:600;color:var(--text-primary)}.kpi-value.accent{color:var(--accent)}.kpi-sub{font-size:.8rem;color:var(--text-secondary);margin-top:.25rem}.card{background:var(--bg-card);border:1px solid var(--border);border-radius:16px;padding:1.5rem;margin-bottom:1.5rem;box-shadow:0 2px 10px #0000000d}.card-title{font-size:1rem;font-weight:600;margin-bottom:1rem;display:flex;align-items:center;justify-content:space-between;color:var(--accent)}.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}@media(max-width:900px){.grid-2{grid-template-columns:1fr}}.btn{display:inline-flex;align-items:center;gap:.5rem;padding:.55rem 1rem;border-radius:var(--radius-sm);font-size:.875rem;font-weight:500;transition:all .15s}.btn-primary{background:var(--accent);color:var(--bg-primary)}.btn-primary:hover{background:var(--accent-hover)}.btn-ghost{color:var(--text-secondary);border:1px solid var(--border)}.btn-ghost:hover{background:var(--bg-card-hover);color:var(--text-primary)}.btn-sm{padding:.35rem .75rem;font-size:.8rem}.table-wrap{overflow-x:auto}.data-table{width:100%;border-collapse:collapse;font-size:.875rem}.data-table th{text-align:left;padding:.75rem 1rem;color:var(--text-muted);font-weight:500;font-size:.75rem;text-transform:uppercase;letter-spacing:.04em;border-bottom:1px solid var(--border);white-space:nowrap}.data-table td{padding:.75rem 1rem;border-bottom:1px solid var(--border);color:var(--text-primary)}.data-table tbody tr{transition:background .1s;cursor:pointer}.data-table tbody tr:hover{background:var(--bg-card-hover)}.data-table tbody tr.selected{background:var(--accent-muted)}.filters-bar{display:flex;flex-wrap:wrap;gap:.75rem;margin-bottom:1rem;align-items:center}.filter-input,.filter-select{background:var(--bg-secondary);border:1px solid var(--border);border-radius:var(--radius-sm);padding:.5rem .75rem;color:var(--text-primary);font-size:.875rem;min-width:140px}.filter-input::placeholder{color:var(--text-muted)}.filter-input:focus,.filter-select:focus{outline:none;border-color:var(--accent)}.badge{display:inline-block;padding:.2rem .6rem;border-radius:999px;font-size:.75rem;font-weight:500}.badge-success{background:#4ade8026;color:var(--success)}.badge-warning{background:#fbbf2426;color:var(--warning)}.badge-danger{background:#f8717126;color:var(--danger)}.badge-accent{background:var(--accent-muted);color:var(--accent)}.detail-panel{position:fixed;top:0;right:0;width:400px;max-width:100vw;height:100vh;background:var(--bg-secondary);border-left:1px solid var(--border);padding:2rem;overflow-y:auto;z-index:100;box-shadow:var(--shadow);animation:slideIn .2s ease}@keyframes slideIn{0%{transform:translate(100%)}to{transform:translate(0)}}.detail-panel h3{font-family:var(--font-serif);font-size:1.5rem;margin-bottom:.25rem;color:var(--accent)}.detail-close{position:absolute;top:1.5rem;right:1.5rem;color:var(--text-muted);padding:.25rem}.detail-close:hover{color:var(--text-primary)}.detail-row{display:flex;justify-content:space-between;padding:.6rem 0;border-bottom:1px solid var(--border);font-size:.875rem}.detail-row .label{color:var(--text-muted)}.detail-row .value{color:var(--text-primary);text-align:right;max-width:60%}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;z-index:99}.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px}.calendar-header-cell{text-align:center;padding:.5rem;font-size:.75rem;color:var(--text-muted);font-weight:600;text-transform:uppercase}.calendar-day{min-height:100px;background:var(--bg-secondary);border-radius:var(--radius-sm);padding:.5rem;border:1px solid transparent;transition:border-color .15s}.calendar-day:hover{border-color:var(--border)}.calendar-day.other-month{opacity:.35}.calendar-day-number{font-size:.8rem;font-weight:600;color:var(--text-secondary);margin-bottom:.35rem}.calendar-day.today .calendar-day-number{color:var(--accent)}.calendar-booking{font-size:.65rem;font-weight:500;padding:.15rem .35rem;border-radius:4px;margin-bottom:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;border:1px solid transparent}.calendar-more{display:block;width:100%;text-align:left;font-size:.6rem;font-weight:600;color:var(--accent);padding:.15rem .35rem;border-radius:4px;cursor:pointer}.calendar-more:hover{background:var(--accent-muted)}.day-bookings-list{display:flex;flex-direction:column;gap:.5rem}.day-booking-item{display:flex;flex-direction:column;gap:.15rem;text-align:left;padding:.75rem .85rem;background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius-sm);transition:border-color .15s,background .15s}.day-booking-item:hover{border-color:var(--accent);background:var(--bg-card-hover)}.day-booking-guest{font-size:.9rem;font-weight:600;color:var(--text-primary)}.day-booking-meta,.day-booking-dates{font-size:.75rem;color:var(--text-muted)}.calendar-nav{display:flex;align-items:center;gap:1rem;margin-bottom:1rem}.calendar-nav h3{font-family:var(--font-serif);font-size:1.25rem;min-width:180px;text-align:center;color:var(--accent)}.health-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-bottom:1rem}.health-stat{text-align:center;padding:1rem;background:var(--bg-secondary);border-radius:var(--radius-sm)}.health-stat .num{font-size:1.5rem;font-weight:600;color:var(--text-primary)}.health-stat .lbl{font-size:.75rem;color:var(--text-muted);margin-top:.25rem}.loading{display:flex;align-items:center;justify-content:center;padding:3rem;color:var(--text-muted)}.spinner{width:24px;height:24px;border:2px solid var(--border);border-top-color:var(--accent);border-radius:50%;animation:spin .6s linear infinite;margin-right:.75rem}@keyframes spin{to{transform:rotate(360deg)}}.empty-state{text-align:center;padding:2rem;color:var(--text-muted);font-size:.9rem}.agent-color-0{background:#fef9e7;color:#92400e;border-color:#e8d48b}.agent-color-1{background:#eff6ff;color:#1e40af;border-color:#93c5fd}.agent-color-2{background:#f5f3ff;color:#5b21b6;border-color:#c4b5fd}.agent-color-3{background:#ecfdf5;color:#047857;border-color:#6ee7b7}.agent-color-4{background:#fff7ed;color:#c2410c;border-color:#fdba74}.agent-color-5{background:#fdf2f8;color:#9d174d;border-color:#f9a8d4}.agent-color-6{background:#ecfeff;color:#0e7490;border-color:#67e8f9}.agent-color-7{background:#f7fee7;color:#4d7c0f;border-color:#bef264}.overlap-warning{background:#f8717126;border:1px solid rgba(248,113,113,.3);border-radius:var(--radius-sm);padding:.75rem 1rem;margin-bottom:1rem;font-size:.875rem;color:var(--danger);display:flex;align-items:center;gap:.5rem}.sync-bar{display:flex;align-items:center;justify-content:space-between;padding:.75rem 1rem;background:var(--bg-secondary);border-radius:var(--radius-sm);margin-bottom:1.5rem;font-size:.85rem;color:var(--text-secondary)}.progress-bar{height:6px;background:var(--bg-secondary);border-radius:3px;overflow:hidden;margin-top:.5rem}.progress-fill{height:100%;background:var(--accent);border-radius:3px;transition:width .3s}.rooms-by-type{margin-bottom:0}.rooms-by-type-header{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;margin-bottom:1rem}.rooms-by-type-title{display:inline-flex;align-items:center;gap:.4rem;font-weight:600;color:var(--accent)}.rooms-by-type-date{font-size:.85rem;color:var(--text-muted)}.rooms-by-type-date-picker{width:auto;min-width:10.5rem;padding:.35rem .6rem;font-size:.8rem}.rooms-by-type-total{margin-left:auto}.room-type-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:.75rem}.room-type-chip{text-align:center;padding:1rem .75rem;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--bg-secondary)}.room-type-label{display:block;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;margin-bottom:.35rem}.room-type-count{display:block;font-size:1.75rem;font-weight:700;line-height:1}.room-type-sub{display:block;font-size:.7rem;color:var(--text-muted);margin-top:.35rem}.room-type-dbl .room-type-label,.room-type-dbl .room-type-count{color:var(--accent)}.room-type-tpl .room-type-label,.room-type-tpl .room-type-count{color:#3b82f6}.room-type-sgl .room-type-label,.room-type-sgl .room-type-count{color:#22c55e}.room-type-other .room-type-label,.room-type-other .room-type-count{color:var(--text-secondary)}.rooms-by-type-compact .room-type-grid{grid-template-columns:repeat(auto-fill,minmax(72px,1fr));gap:.35rem}.rooms-by-type-compact .room-type-chip{padding:.4rem .25rem}.rooms-by-type-compact .room-type-count{font-size:1rem}.rooms-by-type-compact .room-type-sub{display:none}.calendar-day-type-tally{display:flex;flex-wrap:wrap;gap:2px;margin-bottom:.35rem}.calendar-type-badge{font-size:.55rem;font-weight:600;padding:.1rem .25rem;border-radius:3px;background:var(--accent-muted);color:var(--accent)}
