:root {
    --hotel-primary: #0f766e;
    --hotel-primary-dark: #115e59;
    --hotel-primary-soft: #ccfbf1;
    --hotel-secondary: #7c3aed;
    --hotel-secondary-soft: #ede9fe;
    --hotel-accent: #f59e0b;
    --hotel-accent-soft: #fef3c7;
    --hotel-success: #16a34a;
    --hotel-danger: #dc2626;
    --hotel-warning: #ea580c;
    --hotel-info: #0284c7;
    --hotel-bg: #f6f8fb;
    --hotel-surface: #ffffff;
    --hotel-surface-soft: #f8fafc;
    --hotel-text: #172033;
    --hotel-text-muted: #64748b;
    --hotel-border: #e2e8f0;
    --hotel-radius-sm: 10px;
    --hotel-radius-md: 16px;
    --hotel-radius-lg: 22px;
    --hotel-shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.06);
    --hotel-shadow-md: 0 14px 40px rgba(15, 23, 42, 0.10);
    --bg: var(--hotel-bg);
    --panel: var(--hotel-surface);
    --ink: var(--hotel-text);
    --muted: var(--hotel-text-muted);
    --line: var(--hotel-border);
    --primary: var(--hotel-primary);
    --primary-dark: var(--hotel-primary-dark);
    --gold: var(--hotel-accent);
    --danger: var(--hotel-danger);
    --success: var(--hotel-success);
    --warning: var(--hotel-warning);
    --radius: var(--hotel-radius-sm);
}

* { box-sizing: border-box; }
body { margin: 0; font-family: Inter, Segoe UI, Arial, sans-serif; color: var(--ink); background: var(--bg); }
a { color: inherit; text-decoration: none; }
.app-shell { display: flex; min-height: 100vh; }
.sidebar { width: 292px; flex: 0 0 292px; background: linear-gradient(180deg, #10211f, #14213d); color: #eef2ff; padding: 18px 14px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.brand { display: flex; gap: 12px; align-items: center; padding: 8px 10px 18px; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 12px; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 8px; background: var(--gold); color: #fff; font-weight: 800; }
.brand small { display: block; color: #aeb8cc; margin-top: 2px; }
.menu { display: grid; gap: 3px; }
.menu a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; color: #dbe4f7; font-size: 14px; }
.menu a:hover { background: rgba(255,255,255,.08); color: #fff; }
.menu span { width: 24px; text-align: center; color: #f7c66b; }
.main-content { min-width: 0; flex: 1; display: flex; flex-direction: column; min-height: 100vh; }
.topbar { min-height: 78px; background: rgba(255,255,255,.92); border-bottom: 1px solid var(--line); display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 14px 24px; position: sticky; top: 0; z-index: 10; backdrop-filter: blur(10px); }
.topbar h1 { margin: 2px 0 0; font-size: 22px; letter-spacing: 0; }
.breadcrumb { color: var(--muted); font-size: 12px; }
.topbar-user, .topbar-controls { display: flex; align-items: center; gap: 12px; }
.selector-pill { border: 1px solid var(--line); background: var(--hotel-surface-soft); border-radius: 14px; padding: 8px 12px; min-width: 150px; }
.selector-pill small { display: block; color: var(--muted); font-size: 11px; }
.selector-pill strong { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 190px; }
.page-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.page-header { display: flex; justify-content: space-between; gap: 16px; align-items: end; margin-bottom: 18px; }
.page-header h2 { margin: 0; font-size: 24px; }
.page-header p { color: var(--muted); margin: 6px 0 0; }
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.content-card, .stat-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--hotel-radius-md); box-shadow: var(--hotel-shadow-sm); }
.content-card { padding: 18px; margin-bottom: 16px; }
.stat-card { padding: 16px; }
.stat-card small { color: var(--muted); display: block; margin-bottom: 8px; }
.stat-card strong { font-size: 26px; }
.stat-card .trend { color: var(--primary); margin-top: 8px; font-size: 13px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th, .data-table td { padding: 11px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.data-table th { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; background: #f8fafc; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 10px 11px; font: inherit; background: #fff; color: var(--ink); }
textarea { min-height: 90px; resize: vertical; }
input[type=number], .money { text-align: right; }
.btn { border: 0; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 14px; font-weight: 700; cursor: pointer; min-height: 40px; }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-warning { background: #f59e0b; color: #111827; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-success { background: var(--success); color: #fff; }
.btn-ghost { background: #eef2f7; color: #1f2937; }
.icon-btn { border: 1px solid var(--line); background: #fff; border-radius: 10px; width: 40px; height: 40px; display: none; }
.icon-btn.visible { display: inline-grid; place-items: center; }
.status-badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 4px 9px; font-size: 12px; font-weight: 800; background: #e0f2fe; color: #075985; }
.status-badge.success { background: #dcfce7; color: #166534; }
.status-badge.warning { background: #fef3c7; color: #92400e; }
.status-badge.danger { background: #ffedd5; color: #9a3412; }
.alert { border-radius: 8px; padding: 12px 14px; margin-bottom: 14px; border: 1px solid var(--line); }
.alert-danger { background: #fff7ed; color: #9a3412; border-color: #fed7aa; }
.empty-state { padding: 36px; text-align: center; color: var(--muted); }
.login-page { min-height: 100vh; display: grid; place-items: center; background: linear-gradient(135deg, #132238, #0f766e); padding: 18px; }
.login-card { width: min(420px, 100%); background: #fff; border-radius: 8px; padding: 28px; box-shadow: 0 24px 70px rgba(0,0,0,.24); }
.login-card h1 { margin: 0 0 8px; }
.login-card p { color: var(--muted); margin: 0 0 22px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.text-right { text-align: right; }
.pagination-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 14px; color: var(--muted); }
.modal-backdrop { position: fixed; inset: 0; background: rgba(15, 23, 42, .46); z-index: 100; display: grid; place-items: center; padding: 18px; }
.modal-backdrop[hidden] { display: none; }
.modal-panel { width: min(760px, 100%); max-height: calc(100vh - 36px); overflow: auto; background: var(--hotel-surface); border-radius: var(--hotel-radius-lg); box-shadow: var(--hotel-shadow-md); padding: 18px; }
.modal-lg { width: min(980px, 100%); }
.modal-xl { width: min(1120px, 100%); }
.modal-header { display: flex; justify-content: space-between; gap: 16px; align-items: start; border-bottom: 1px solid var(--line); margin-bottom: 16px; padding-bottom: 12px; }
.modal-header h3 { margin: 0 0 4px; }
.modal-header p { margin: 0; color: var(--muted); }
.modal-actions { justify-content: flex-end; }
.browse-toolbar { display: flex; gap: 10px; margin-bottom: 12px; }
.browse-table-wrap { max-height: 58vh; overflow: auto; border: 1px solid var(--line); border-radius: 12px; }
tr.is-selected { background: var(--hotel-primary-soft); outline: 2px solid var(--hotel-primary); }
.loading-state { padding: 12px; color: var(--muted); }
.browse-field { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.detail-grid div { background: var(--hotel-surface-soft); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.detail-grid small { color: var(--muted); display: block; margin-bottom: 4px; }
.benefit-panel, .summary-panel { background: linear-gradient(180deg, #ffffff, #f8fffd); border: 1px solid #bdeee5; border-radius: var(--hotel-radius-md); padding: 16px; box-shadow: var(--hotel-shadow-sm); }
.benefit-item { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.benefit-item:last-child { border-bottom: 0; }
.summary-line { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; }
.summary-line.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; font-weight: 800; font-size: 18px; }
.room-rack { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.room-card { border-radius: 16px; padding: 14px; color: #fff; min-height: 116px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: var(--hotel-shadow-sm); }
.room-card.available { background: linear-gradient(135deg, #0f766e, #16a34a); }
.room-card.booked { background: linear-gradient(135deg, #7c3aed, #4f46e5); }
.room-card.occupied { background: linear-gradient(135deg, #1e3a8a, #0284c7); }
.room-card.dirty { background: linear-gradient(135deg, #ea580c, #f59e0b); }
.room-card.maintenance { background: linear-gradient(135deg, #dc2626, #991b1b); }
.room-card.blocked { background: linear-gradient(135deg, #475569, #334155); }
.room-card strong { font-size: 24px; }
.room-extra-row td { background: #fbfdfc; border-bottom: 1px solid var(--line); }
.room-master-extra { display: flex; justify-content: space-between; gap: 14px; align-items: center; color: var(--muted); }
.room-photo-strip { display: flex; gap: 8px; flex-wrap: wrap; }
.room-photo-strip img { width: 64px; height: 46px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.room-tab-panel { border: 1px solid var(--line); border-radius: var(--hotel-radius-md); padding: 14px; background: var(--hotel-surface-soft); }
.room-tab-panel h4 { margin: 0 0 4px; }
.room-tab-panel p { margin: 0 0 12px; color: var(--muted); }
.facility-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px; }
.facility-grid label { margin: 0; font-weight: 600; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
.upload-preview { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.upload-preview div { width: 118px; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 8px; }
.upload-preview img { width: 100%; height: 76px; object-fit: cover; border-radius: 8px; display: block; margin-bottom: 6px; }
.upload-preview small { display: block; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.room-inventory-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); gap: 18px; align-items: stretch; }
.luxury-room-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: 0 18px 48px rgba(15, 23, 42, .10); transition: transform .18s ease, box-shadow .18s ease; cursor: pointer; }
.luxury-room-card:hover { transform: translateY(-3px); box-shadow: 0 24px 60px rgba(15, 23, 42, .14); }
.luxury-room-media { position: relative; min-height: 190px; background: linear-gradient(135deg, #0f766e, #7c3aed); overflow: hidden; }
.luxury-room-media img { width: 100%; height: 220px; object-fit: cover; display: block; }
.room-media-empty { min-height: 220px; display: grid; place-items: center; color: #fff; font-size: 22px; font-weight: 800; background: linear-gradient(135deg, #0f766e, #14213d); }
.room-status-pill { position: absolute; top: 14px; right: 14px; border-radius: 999px; padding: 7px 12px; color: #fff; font-size: 12px; font-weight: 900; letter-spacing: .02em; box-shadow: 0 10px 22px rgba(0,0,0,.20); }
.room-status-pill.ready { background: #16a34a; }
.room-status-pill.reserved { background: #7c3aed; }
.room-status-pill.occupied { background: #1e3a8a; }
.room-status-pill.cleaning { background: #ea580c; }
.room-status-pill.renovation { background: #dc2626; }
.room-status-pill.blocked { background: #475569; }
.luxury-room-body { padding: 18px; }
.luxury-room-title { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.luxury-room-title small { display: block; color: var(--muted); font-weight: 800; text-transform: uppercase; font-size: 11px; letter-spacing: .06em; }
.luxury-room-title h3 { margin: 2px 0 0; font-size: 30px; letter-spacing: 0; }
.luxury-room-title strong { color: var(--hotel-primary); white-space: nowrap; margin-top: 4px; }
.room-spec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.room-spec-grid div { border: 1px solid var(--line); background: var(--hotel-surface-soft); border-radius: 14px; padding: 10px; min-height: 66px; }
.room-spec-grid small { display: block; color: var(--muted); margin-bottom: 4px; }
.room-spec-grid b { display: block; font-size: 13px; }
.room-facility-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.room-facility-chips span { border-radius: 999px; background: var(--hotel-primary-soft); color: #115e59; padding: 6px 10px; font-weight: 800; font-size: 12px; }
.room-card-meta { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.room-card-meta span { background: #f8fafc; border: 1px solid var(--line); border-radius: 999px; padding: 5px 9px; }
.room-card-actions { margin-top: 14px; align-items: center; }
.room-card-actions form { display: inline-flex; }

@media (max-width: 960px) {
    .sidebar { position: fixed; left: -280px; transition: left .2s ease; z-index: 30; }
    .sidebar.open { left: 0; }
    .icon-btn { display: inline-grid; place-items: center; }
    .grid-4, .grid-3, .grid-2, .form-grid { grid-template-columns: 1fr; }
    .topbar { padding: 12px 16px; align-items: flex-start; }
    .topbar-user, .topbar-controls { flex-direction: column; align-items: flex-end; gap: 6px; }
    .topbar-controls { display: none; }
    .page-body { padding: 16px; }
    .detail-grid { grid-template-columns: 1fr; }
    .pagination-bar, .browse-toolbar { flex-direction: column; align-items: stretch; }
    .room-inventory-grid { grid-template-columns: 1fr; }
    .room-spec-grid { grid-template-columns: 1fr; }
}

/* Five Star Hotel Theme Override */
html { scroll-behavior: smooth; }
body {
    background:
        linear-gradient(180deg, rgba(15, 118, 110, .07), rgba(246, 248, 251, 0) 260px),
        linear-gradient(115deg, rgba(245, 158, 11, .08), rgba(255,255,255,0) 420px),
        var(--hotel-bg);
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
}

.app-shell { background: transparent; align-items: stretch; }
.sidebar {
    background:
        linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,0) 160px),
        linear-gradient(180deg, #09201d 0%, #10243a 58%, #101827 100%);
    border-right: 1px solid rgba(255,255,255,.08);
    box-shadow: 18px 0 48px rgba(15, 23, 42, .18);
    padding: 18px 14px 22px;
}
.sidebar::-webkit-scrollbar { width: 8px; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,.18); border-radius: 999px; }
.brand {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 18px;
    padding: 12px;
    margin-bottom: 16px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f59e0b, #f7c66b);
    color: #10211f;
    box-shadow: 0 14px 28px rgba(245, 158, 11, .24);
}
.brand strong { letter-spacing: 0; font-size: 14px; }
.brand small { color: #b8c7d8; font-size: 12px; }
.menu { gap: 8px; }
.menu-group {
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.09);
    background: rgba(255,255,255,.035);
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.045);
}
.menu-group summary {
    min-height: 50px;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 9px;
    padding: 8px 10px;
    cursor: pointer;
    color: #f8fbff;
    list-style: none;
}
.menu-group summary::-webkit-details-marker { display: none; }
.menu-group summary strong {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .035em;
    line-height: 1.22;
    overflow-wrap: anywhere;
}
.menu-group summary b {
    width: 18px;
    height: 18px;
    display: inline-grid;
    place-items: center;
}
.menu-group summary b::before {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    color: #f7c66b;
    transition: transform .18s ease;
}
.menu-group[open] summary b::before { transform: rotate(225deg) translate(-2px, -2px); }
.menu-group-icon {
    width: 34px !important;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(245,158,11,.22), rgba(15,118,110,.20));
    color: #f7c66b;
    border: 1px solid rgba(255,255,255,.06);
}
.menu-group-icon svg,
.menu-item-icon svg {
    width: 18px;
    height: 18px;
    display: block;
}
.menu-group-items {
    display: grid;
    gap: 3px;
    padding: 0 8px 10px;
}
.menu a {
    min-height: 42px;
    padding: 8px 9px 8px 8px;
    border-radius: 12px;
    color: #d9e7ee;
    border: 1px solid transparent;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 750;
    transition: background .18s ease, color .18s ease, transform .18s ease, border-color .18s ease;
}
.menu a .menu-item-icon {
    width: 32px !important;
    height: 32px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 32px;
    border-radius: 11px;
    background: rgba(245, 158, 11, .105);
    color: #f7c66b;
    border: 1px solid rgba(245,158,11,.08);
}
.menu a:hover, .menu a.active {
    background: rgba(255,255,255,.095);
    color: #fff;
    border-color: rgba(255,255,255,.12);
    transform: translateX(1px);
}
.menu a.active .menu-item-icon {
    background: linear-gradient(135deg, #f59e0b, #f7c66b);
    color: #11201f;
    box-shadow: 0 10px 22px rgba(245,158,11,.20);
}
.menu-group[open] {
    background: rgba(255,255,255,.052);
}

.topbar {
    min-height: 86px;
    background: rgba(255,255,255,.84);
    border-bottom: 1px solid rgba(226, 232, 240, .82);
    box-shadow: 0 18px 46px rgba(15, 23, 42, .06);
    backdrop-filter: blur(18px);
}
.breadcrumb {
    color: #718096;
    font-weight: 700;
    letter-spacing: .01em;
}
.topbar h1 {
    font-size: 24px;
    font-weight: 900;
    color: #111827;
}
.selector-pill {
    background: rgba(255,255,255,.88);
    border-color: rgba(15,118,110,.12);
    box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
}
.selector-pill small { color: #0f766e; font-weight: 900; }
.notification-btn { position: relative; }
.notification-btn span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #10211f;
    display: block;
}
.notification-btn::after {
    content: "";
    position: absolute;
    top: 8px;
    right: 8px;
    width: 9px;
    height: 9px;
    background: #f59e0b;
    border: 2px solid #fff;
    border-radius: 999px;
}
.user-avatar {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, #0f766e, #115e59);
    color: #fff;
    font-weight: 900;
}

.page-body { padding: 28px 24px 18px; }
.page-header {
    background:
        linear-gradient(135deg, rgba(15,118,110,.10), rgba(245,158,11,.08)),
        rgba(255,255,255,.78);
    border: 1px solid rgba(226,232,240,.88);
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 18px 44px rgba(15, 23, 42, .07);
}
.page-header h2 {
    font-size: 28px;
    font-weight: 950;
    color: #0f172a;
}
.page-header p { font-size: 15px; color: #526277; }

.content-card, .stat-card, .benefit-panel, .summary-panel {
    border: 1px solid rgba(226,232,240,.88);
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.96)),
        #fff;
    box-shadow: 0 18px 48px rgba(15, 23, 42, .075);
}
.content-card { padding: 22px; }
.content-card h3, .benefit-panel h3, .summary-panel h3 {
    margin-top: 0;
    color: #111827;
    font-weight: 950;
}
.stat-card {
    position: relative;
    overflow: hidden;
    padding: 20px;
}
.stat-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, #0f766e, #f59e0b);
}
.stat-card small { color: #667085; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.stat-card strong { color: #0f172a; font-weight: 950; }

.data-table {
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
}
.data-table th {
    background: linear-gradient(180deg, #f8fafc, #eef7f5);
    color: #334155;
    font-weight: 950;
    border-bottom: 1px solid var(--line);
}
.data-table td {
    background: #fff;
    border-bottom: 1px solid #edf2f7;
}
.data-table tbody tr:hover td { background: #f8fffd; }
.data-table th:first-child, .data-table td:first-child { border-left: 1px solid #edf2f7; }
.data-table th:last-child, .data-table td:last-child { border-right: 1px solid #edf2f7; }
.data-table thead th:first-child { border-top-left-radius: 16px; }
.data-table thead th:last-child { border-top-right-radius: 16px; }

label {
    color: #223047;
    font-weight: 900;
}
input, select, textarea {
    min-height: 44px;
    border-radius: 14px;
    border-color: #dbe4ee;
    background: linear-gradient(180deg, #fff, #fbfdff);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: rgba(15,118,110,.62);
    box-shadow: 0 0 0 4px rgba(15,118,110,.12);
    background: #fff;
}
input[readonly] { background: #f8fafc; color: #475569; }

.btn {
    border-radius: 14px;
    min-height: 42px;
    font-weight: 950;
    box-shadow: 0 10px 22px rgba(15,23,42,.08);
    transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 28px rgba(15,23,42,.12); }
.btn:active { transform: translateY(0); }
.btn-primary { background: linear-gradient(135deg, #0f766e, #0b8277); }
.btn-warning { background: linear-gradient(135deg, #f59e0b, #f7c66b); color: #132018; }
.btn-danger { background: linear-gradient(135deg, #dc2626, #b91c1c); }
.btn-success { background: linear-gradient(135deg, #16a34a, #15803d); }
.btn-ghost { background: linear-gradient(180deg, #f8fafc, #edf2f7); color: #152238; border: 1px solid #dbe4ee; }
.actions a:not(.btn) { color: var(--hotel-primary); font-weight: 900; }

.status-badge {
    padding: 6px 11px;
    border-radius: 999px;
    font-weight: 950;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.54);
}
.alert { border-radius: 16px; font-weight: 800; }
.empty-state {
    border: 1px dashed #cbd5e1;
    border-radius: 18px;
    background: #fbfdff;
}

.modal-backdrop { background: rgba(7, 19, 32, .58); backdrop-filter: blur(8px); }
.modal-panel {
    border: 1px solid rgba(255,255,255,.82);
    background:
        linear-gradient(180deg, #fff, #f8fafc);
    box-shadow: 0 30px 90px rgba(2, 6, 23, .32);
}
.modal-header {
    background: linear-gradient(135deg, rgba(15,118,110,.10), rgba(245,158,11,.09));
    border: 1px solid rgba(226,232,240,.9);
    border-radius: 18px;
    padding: 16px;
}
.modal-header h3 { font-weight: 950; color: #0f172a; }
.browse-table-wrap { border-radius: 18px; box-shadow: inset 0 1px 0 rgba(255,255,255,.7); }
tr.is-selected td { background: #ccfbf1 !important; }
.detail-grid div {
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15,23,42,.04);
}
.detail-grid small { font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }

.login-page {
    background:
        radial-gradient(circle at 14% 18%, rgba(250,204,21,.36), transparent 22%),
        radial-gradient(circle at 88% 12%, rgba(56,189,248,.34), transparent 24%),
        radial-gradient(circle at 80% 82%, rgba(244,114,182,.30), transparent 24%),
        linear-gradient(135deg, rgba(6,95,70,.78), rgba(30,64,175,.78) 48%, rgba(124,58,237,.72)),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1400' height='900' viewBox='0 0 1400 900'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' x2='1' y1='0' y2='1'%3E%3Cstop stop-color='%23111827'/%3E%3Cstop offset='.52' stop-color='%230f3d3a'/%3E%3Cstop offset='1' stop-color='%231f2937'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='1400' height='900' fill='url(%23g)'/%3E%3Cpath d='M0 680 C180 610 270 730 460 650 C690 552 820 620 1010 548 C1190 480 1290 506 1400 452 L1400 900 L0 900Z' fill='%23091817' opacity='.54'/%3E%3Cpath d='M90 214 L540 78 L1010 210 L1010 268 L90 268Z' fill='%23f7c66b' opacity='.18'/%3E%3Cpath d='M170 268 H930 V700 H170Z' fill='%23ffffff' opacity='.08'/%3E%3Cg fill='%23ffffff' opacity='.18'%3E%3Crect x='238' y='326' width='62' height='86' rx='6'/%3E%3Crect x='360' y='326' width='62' height='86' rx='6'/%3E%3Crect x='482' y='326' width='62' height='86' rx='6'/%3E%3Crect x='604' y='326' width='62' height='86' rx='6'/%3E%3Crect x='726' y='326' width='62' height='86' rx='6'/%3E%3Crect x='238' y='466' width='62' height='86' rx='6'/%3E%3Crect x='360' y='466' width='62' height='86' rx='6'/%3E%3Crect x='482' y='466' width='62' height='86' rx='6'/%3E%3Crect x='604' y='466' width='62' height='86' rx='6'/%3E%3Crect x='726' y='466' width='62' height='86' rx='6'/%3E%3C/g%3E%3C/svg%3E");
    background-size: cover;
    background-position: center;
    padding: 28px;
    overflow: hidden;
}
.login-stage {
    position: relative;
    width: min(1080px, 100%);
    min-height: min(720px, calc(100vh - 56px));
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr);
    align-items: stretch;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 40px 120px rgba(2, 6, 23, .42), 0 0 0 1px rgba(255,255,255,.08) inset;
    background: rgba(8, 20, 32, .42);
    backdrop-filter: blur(18px);
}
.login-stage::before {
    content: "";
    position: absolute;
    inset: -35%;
    background: conic-gradient(from 120deg, rgba(20,184,166,.26), rgba(250,204,21,.18), rgba(244,114,182,.20), rgba(59,130,246,.26), rgba(20,184,166,.26));
    animation: loginAura 18s linear infinite;
    opacity: .7;
}
.login-stage > *:not(.login-bubbles) {
    position: relative;
    z-index: 1;
}
.login-bubbles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}
.login-bubbles span {
    position: absolute;
    display: block;
    width: var(--size, 90px);
    height: var(--size, 90px);
    border-radius: 999px;
    background:
        radial-gradient(circle at 28% 24%, rgba(255,255,255,.95), rgba(255,255,255,.16) 36%, rgba(255,255,255,0) 70%),
        linear-gradient(135deg, rgba(45,212,191,.26), rgba(250,204,21,.18));
    border: 1px solid rgba(255,255,255,.24);
    box-shadow: 0 18px 44px rgba(2,6,23,.16);
    animation: bubbleFloat var(--duration, 12s) ease-in-out infinite;
    opacity: .86;
}
.login-bubbles span:nth-child(1) { --size: 92px; --duration: 11s; left: 6%; bottom: 9%; }
.login-bubbles span:nth-child(2) { --size: 58px; --duration: 13s; left: 28%; top: 10%; animation-delay: -4s; }
.login-bubbles span:nth-child(3) { --size: 128px; --duration: 16s; right: 36%; bottom: -18px; animation-delay: -8s; }
.login-bubbles span:nth-child(4) { --size: 70px; --duration: 12s; right: 10%; top: 13%; animation-delay: -2s; }
.login-bubbles span:nth-child(5) { --size: 42px; --duration: 10s; right: 22%; bottom: 28%; animation-delay: -6s; }
.login-bubbles span:nth-child(6) { --size: 105px; --duration: 15s; left: 48%; top: 34%; animation-delay: -10s; }
.login-hero {
    padding: 44px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
    background:
        linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,0) 34%),
        linear-gradient(135deg, rgba(14,165,233,.32), rgba(16,185,129,.36) 48%, rgba(250,204,21,.16));
}
.login-monogram {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    background: linear-gradient(135deg, #f59e0b, #f7c66b);
    color: #10211f;
    font-size: 34px;
    font-weight: 950;
    box-shadow: 0 24px 54px rgba(245,158,11,.24);
    margin-bottom: auto;
    overflow: hidden;
    animation: logoPulse 3.4s ease-in-out infinite;
}
.login-monogram img,
.login-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.login-hero p {
    margin: 0 0 8px;
    color: #f7c66b;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.login-hero h1 {
    margin: 0;
    max-width: 620px;
    font-size: clamp(40px, 6vw, 76px);
    line-height: .95;
    letter-spacing: 0;
}
.login-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}
.login-hero-meta span {
    border: 1px solid rgba(255,255,255,.28);
    background: rgba(255,255,255,.10);
    border-radius: 999px;
    padding: 9px 12px;
    font-weight: 850;
}
.login-card {
    width: 100%;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 24px;
    border: 0;
    box-shadow: none;
    background:
        linear-gradient(180deg, rgba(255,255,255,.98), rgba(240,253,250,.94)),
        rgba(255,255,255,.96);
    padding: 44px;
    position: relative;
    overflow: hidden;
}
.login-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 7px;
    background: linear-gradient(90deg, #14b8a6, #38bdf8, #facc15, #fb7185);
}
.login-card::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    right: -86px;
    top: -82px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(56,189,248,.22), rgba(56,189,248,0) 70%);
}
.login-card > * {
    position: relative;
    z-index: 1;
}
.login-card-logo {
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    border-radius: 22px;
    margin-bottom: 18px;
    background:
        linear-gradient(135deg, rgba(250,204,21,.98), rgba(45,212,191,.92));
    color: #10211f;
    font-size: 34px;
    font-weight: 950;
    box-shadow: 0 20px 40px rgba(15,118,110,.18), 0 0 0 8px rgba(20,184,166,.08);
    overflow: hidden;
}
.login-card-head span {
    color: #0ea5e9;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.login-card h2 {
    margin: 8px 0 8px;
    color: #0f172a;
    font-size: 34px;
    font-weight: 950;
}
.login-card p { margin-bottom: 24px; }
.login-card input {
    border-color: rgba(20,184,166,.28);
    background: rgba(255,255,255,.92);
    box-shadow: 0 10px 24px rgba(15,23,42,.035);
}
.login-card .btn-primary {
    background: linear-gradient(135deg, #0ea5e9, #14b8a6 52%, #f59e0b);
    box-shadow: 0 18px 34px rgba(14,165,233,.22);
}
.login-note {
    margin: 18px 0 0;
    padding: 12px 14px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    font-size: 13px;
}
@keyframes loginAura {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.05); }
    100% { transform: rotate(360deg) scale(1); }
}
@keyframes bubbleFloat {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    35% { transform: translate3d(24px, -34px, 0) scale(1.08); }
    70% { transform: translate3d(-18px, 18px, 0) scale(.94); }
}
@keyframes logoPulse {
    0%, 100% { transform: translateY(0); box-shadow: 0 24px 54px rgba(245,158,11,.24); }
    50% { transform: translateY(-4px); box-shadow: 0 30px 64px rgba(45,212,191,.26); }
}
@media (prefers-reduced-motion: reduce) {
    .login-stage::before,
    .login-bubbles span,
    .login-monogram {
        animation: none;
    }
}

.room-rack, .room-inventory-grid { align-items: stretch; }
.luxury-room-card {
    border-radius: 26px;
    box-shadow: 0 22px 64px rgba(15, 23, 42, .12);
}
.luxury-room-media { background: linear-gradient(135deg, #0f766e 0%, #143a4b 55%, #111827 100%); }
.room-media-empty { background: linear-gradient(135deg, #0f766e 0%, #143a4b 55%, #111827 100%); }
.room-status-pill { padding: 8px 14px; }
.room-facility-chips span { background: linear-gradient(180deg, #ccfbf1, #e6fffa); }
.room-filter-card { position: sticky; top: 98px; z-index: 8; }

.app-footer {
    margin-top: auto;
    padding: 16px 20px;
    border-radius: 20px;
    color: #64748b;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(226,232,240,.82);
}
.app-footer strong { color: #0f766e; }

.swal2-popup.hotel-swal {
    border-radius: 24px !important;
    border: 1px solid rgba(226,232,240,.9) !important;
    box-shadow: 0 30px 90px rgba(2, 6, 23, .28) !important;
    padding: 1.4rem !important;
}
.swal2-title { color: #0f172a !important; font-weight: 950 !important; }
.swal2-html-container { color: #475569 !important; font-weight: 700 !important; }
.swal2-confirm.hotel-confirm {
    border-radius: 14px !important;
    background: linear-gradient(135deg, #0f766e, #0b8277) !important;
    font-weight: 950 !important;
}
.swal2-cancel.hotel-cancel {
    border-radius: 14px !important;
    background: #edf2f7 !important;
    color: #334155 !important;
    font-weight: 950 !important;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    display: block;
}
.btn:not(.icon-btn) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.btn:not(.icon-btn)::before {
    content: ">";
    width: 18px;
    height: 18px;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 18px;
    font-size: 11px;
    font-weight: 950;
    background: rgba(255,255,255,.25);
    color: currentColor;
    border: 1px solid rgba(255,255,255,.35);
}
.btn-ghost:not(.icon-btn)::before { content: "i"; background: rgba(15,118,110,.10); }
.btn-primary:not(.icon-btn)::before { content: "+"; }
.btn-warning:not(.icon-btn)::before { content: "*"; }
.btn-danger:not(.icon-btn)::before { content: "!"; }
.btn-success:not(.icon-btn)::before { content: "ok"; font-size: 9px; }

.reservation-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
    gap: 20px;
    align-items: start;
}
.reservation-form .compact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    padding: 16px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(240,253,250,.82), rgba(255,255,255,.92));
    border: 1px solid rgba(45,212,191,.24);
}
.guest-mode-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.guest-mode-tabs label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.95);
    font-weight: 900;
    color: #0f172a;
}
.field-note {
    display: block;
    margin-top: 6px;
    color: #0f766e;
    font-weight: 850;
}
.reservation-options {
    padding: 16px;
    border-radius: 18px;
    background: #fbfdff;
    border: 1px solid rgba(226,232,240,.9);
}
.reservation-options h3 {
    margin: 0 0 12px;
    color: #0f172a;
    font-size: 17px;
    font-weight: 950;
}
.option-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.option-tile {
    display: grid;
    grid-template-columns: auto 1fr 74px;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.96);
    box-shadow: 0 10px 24px rgba(15,23,42,.04);
}
.option-tile b { display: block; color: #0f172a; font-weight: 950; }
.option-tile small { color: #64748b; font-weight: 800; }
.option-tile input[type="number"] { min-width: 0; padding: 9px 8px; }
.reservation-room-panel {
    position: sticky;
    top: 96px;
    overflow: hidden;
}
.room-info-empty {
    min-height: 300px;
    display: grid;
    align-content: center;
    text-align: center;
    color: #64748b;
}
.room-info-empty h3 { color: #0f172a; font-weight: 950; }
.reservation-room-cover {
    height: 230px;
    margin: -18px -18px 0;
    background: linear-gradient(135deg, #0f766e, #143a4b 60%, #111827);
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 950;
}
.reservation-room-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.reservation-room-content {
    padding-top: 16px;
}
.reservation-room-content > small {
    color: #0f766e;
    text-transform: uppercase;
    font-weight: 950;
    letter-spacing: .08em;
}
.reservation-room-content h3 {
    margin: 4px 0 10px;
    color: #0f172a;
    font-size: 24px;
    font-weight: 950;
}
.room-inventory-note {
    margin: 14px 0;
    color: #475569;
    font-weight: 700;
    line-height: 1.55;
}
.room-detail-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}
.room-detail-gallery img,
.room-detail-gallery .room-media-empty {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    object-fit: cover;
}
.room-detail-swal .swal2-html-container {
    text-align: left !important;
}
.dashboard-hero {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-end;
    padding: 24px;
    margin-bottom: 18px;
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(15,118,110,.94), rgba(17,24,39,.94)),
        #0f766e;
    color: #fff;
    box-shadow: 0 24px 60px rgba(15,23,42,.18);
}
.dashboard-hero small {
    color: #f7c66b;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.dashboard-hero h2 {
    margin: 6px 0;
    font-size: 34px;
    font-weight: 950;
}
.dashboard-hero p {
    margin: 0;
    color: rgba(255,255,255,.82);
    font-weight: 750;
}
.dashboard-hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.dashboard-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}
.kpi-room {
    grid-column: span 2;
}
.kpi-split {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}
.kpi-split span {
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid var(--line);
    color: #475569;
    padding: 6px 9px;
    font-size: 12px;
    font-weight: 900;
}
.dashboard-main-grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, .45fr);
    align-items: stretch;
}
.section-title-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 14px;
}
.section-title-row h3 {
    margin-bottom: 4px;
}
.section-title-row p {
    margin: 0;
    color: var(--muted);
}
.section-title-row > strong {
    white-space: nowrap;
    color: var(--hotel-primary);
}
.dashboard-room-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
    max-height: 640px;
    overflow: auto;
    padding-right: 4px;
}
.dash-room-card {
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 12px;
    padding: 10px;
    border: 1px solid rgba(226,232,240,.95);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(15,23,42,.055);
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.dash-room-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(15,23,42,.10);
    border-color: rgba(15,118,110,.30);
}
.dash-room-photo {
    width: 86px;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #0f766e, #111827);
    color: #fff;
    font-weight: 950;
}
.dash-room-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.dash-room-info {
    min-width: 0;
}
.dash-room-info div {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    align-items: flex-start;
}
.dash-room-info strong {
    font-size: 24px;
    color: #0f172a;
}
.dash-room-info span {
    border-radius: 999px;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 950;
    background: #ecfdf5;
    color: #047857;
}
.dash-room-card.occupied .dash-room-info span { background: #dbeafe; color: #1d4ed8; }
.dash-room-card.booked .dash-room-info span { background: #ede9fe; color: #6d28d9; }
.dash-room-card.dirty .dash-room-info span { background: #ffedd5; color: #c2410c; }
.dash-room-card.maintenance .dash-room-info span,
.dash-room-card.blocked .dash-room-info span { background: #fee2e2; color: #b91c1c; }
.dash-room-info p {
    margin: 4px 0;
    color: #334155;
    font-weight: 850;
}
.dash-room-info small {
    display: block;
    color: var(--muted);
    line-height: 1.35;
}
.dashboard-insight-panel {
    display: flex;
    flex-direction: column;
}
.insight-stack {
    display: grid;
    gap: 10px;
}
.insight-stack div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid var(--line);
}
.insight-stack span {
    color: #64748b;
    font-weight: 850;
}
.insight-stack strong {
    color: #0f172a;
    text-align: right;
}
.compact-inline-form {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    padding: 14px;
    border: 1px solid rgba(226,232,240,.9);
    border-radius: 18px;
    background: #fff;
}
.checkin-tools {
    display: grid;
    gap: 12px;
}
.folio-picker-card .browse-field {
    max-width: 760px;
}
.housekeeping-board {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 16px;
}
.housekeeping-card {
    margin-bottom: 0;
}
.housekeeping-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px;
}
.housekeeping-head small {
    color: var(--hotel-primary);
    font-weight: 950;
}
.housekeeping-head h3 {
    margin: 2px 0 0;
}
.housekeeping-checklist {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}
.housekeeping-checklist label {
    margin: 0;
    padding: 9px 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    font-weight: 800;
}
.housekeeping-actions {
    margin-top: 12px;
}

@media (max-width: 960px) {
    .page-header { padding: 16px; border-radius: 20px; }
    .page-header h2 { font-size: 24px; }
    .app-footer { flex-direction: column; }
    .room-filter-card { position: static; }
    .reservation-layout,
    .reservation-form .compact-grid,
    .option-grid {
        grid-template-columns: 1fr;
    }
    .reservation-room-panel { position: static; }
    .option-tile { grid-template-columns: auto 1fr; }
    .option-tile input[type="number"] { grid-column: 2; }
    .room-detail-gallery { grid-template-columns: 1fr; }
    .dashboard-hero {
        align-items: stretch;
        flex-direction: column;
    }
    .dashboard-hero h2 { font-size: 28px; }
    .dashboard-hero-actions { justify-content: flex-start; }
    .dashboard-kpi-grid,
    .dashboard-main-grid {
        grid-template-columns: 1fr;
    }
    .kpi-room { grid-column: auto; }
    .dashboard-room-grid { max-height: none; }
    .dash-room-card { grid-template-columns: 74px 1fr; }
    .dash-room-photo { width: 74px; }
    .login-page { padding: 16px; }
    .login-stage {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .login-hero {
        min-height: 280px;
        padding: 28px;
    }
    .login-monogram {
        width: 56px;
        height: 56px;
        font-size: 26px;
    }
    .login-hero h1 { font-size: 42px; }
    .login-card {
        padding: 28px;
        border-radius: 0;
    }
}
