/* See2ru Burj HMS — Phase 12 Luxury Design System */

:root {
    --primary: #081120;
    --secondary: #0F172A;
    --gold: #D4AF37;
    --gold-hover: #E7C45A;
    --bg: #F8FAFC;
    --card: #FFFFFF;
    --border: #E5E7EB;
    --text: #111827;
    --text-muted: #6B7280;
    --success: #22C55E;
    --danger: #EF4444;
    --warning: #F59E0B;
    --info: #3B82F6;

    --navy-900: var(--primary);
    --navy-800: var(--secondary);
    --navy-700: #1e293b;
    --gold-500: var(--gold);
    --gold-400: var(--gold-hover);
    --cream-100: var(--bg);
    --white: var(--card);
    --gray-100: #f3f4f6;
    --gray-200: var(--border);
    --gray-500: var(--text-muted);
    --gray-700: #374151;
    --gray-900: var(--text);

    --sidebar-width: 280px;
    --topbar-height: 76px;
    --radius: 24px;
    --radius-sm: 14px;
    --radius-pill: 999px;
    --shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.1);
    --transition: 0.25s ease;
    --font: 'Inter', system-ui, 'Segoe UI', sans-serif;

}

[data-theme="dark"] {
    --bg: #0B1120;
    --card: #111827;
    --border: #1f2937;
    --text: #F3F4F6;
    --text-muted: #9CA3AF;
    --gray-100: #111827;
    --gray-200: #1f2937;
    --gray-900: #F3F4F6;
    --shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.45);
}

html { font-family: var(--font); }

body.app-body,
body.luxury-app {
    background: var(--bg);
    color: var(--text);
}

/* Loader */
.app-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    background: var(--primary);
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
.app-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.app-loader-inner { text-align: center; color: #fff; }
.app-loader-inner p { margin-top: 12px; opacity: 0.7; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.72rem; }
.brand-icon-lg { width: 56px; height: 56px; margin: 0 auto; font-size: 1rem; }

/* Icons */
.icon { flex-shrink: 0; display: inline-block; vertical-align: middle; }
.icon-xs { width: 14px; height: 14px; }
.icon-xl { width: 48px; height: 48px; stroke-width: 1.5; }

/* Sidebar */
.luxury-sidebar {
    width: var(--sidebar-width);
    background: var(--primary);
    border-top-right-radius: 28px;
    border-bottom-right-radius: 28px;
    box-shadow: 8px 0 40px rgba(8, 17, 32, 0.25);
}

.luxury-sidebar .sidebar-brand {
    padding: 28px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.luxury-sidebar .brand-icon {
    background: linear-gradient(135deg, var(--gold), var(--gold-hover));
    color: var(--primary);
    border-radius: 16px;
}

.luxury-sidebar .brand-name {
    color: #ffffff;
}

.luxury-sidebar .brand-sub {
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.14em;
}

.sidebar-nav {
    padding: 20px 16px 24px;
    gap: 8px;
}

.nav-group { margin-bottom: 18px; }
.nav-group-label {
    display: block;
    padding: 0 14px 10px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
}

.luxury-sidebar .nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--radius-pill);
    color: rgba(255, 255, 255, 0.72);
    font-weight: 500;
    font-size: 0.92rem;
    transition: background var(--transition), color var(--transition), transform var(--transition);
}

.luxury-sidebar .nav-item:hover {
    background: rgba(212, 175, 55, 0.12);
    color: #fff;
}

.luxury-sidebar .nav-item.active {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.28), rgba(212, 175, 55, 0.12));
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.35);
}

.nav-icon-svg { opacity: 0.9; }
.luxury-sidebar .nav-item.active .nav-icon-svg { color: var(--gold); }

.sidebar-footer {
    padding: 16px 24px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.version-tag {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.35);
}

/* Main layout */
.luxury-main {
    margin-left: var(--sidebar-width);
    flex: 1;
    min-width: 0;
    width: calc(100% - var(--sidebar-width));
    max-width: calc(100vw - var(--sidebar-width));
}
.luxury-page-content {
    padding: 28px 32px 40px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Topbar */
.luxury-topbar {
    box-sizing: border-box;
    min-height: calc(var(--topbar-height) + var(--app-safe-top, env(safe-area-inset-top, 0px)));
    height: auto;
    padding-top: var(--app-safe-top, env(safe-area-inset-top, 0px));
    padding-right: calc(28px + var(--app-safe-right, env(safe-area-inset-right, 0px)));
    padding-left: calc(28px + var(--app-safe-left, env(safe-area-inset-left, 0px)));
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: sticky;
    top: 0;
    z-index: 900;
}

[data-theme="dark"] .luxury-topbar {
    background: rgba(17, 24, 39, 0.85);
}

.topbar-left { display: flex; align-items: center; gap: 16px; min-width: 0; }
.topbar-title-block { min-width: 0; }

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 2px;
    flex-wrap: wrap;
}

.breadcrumb a:hover { color: var(--gold); }
.breadcrumb-current { color: var(--text-muted); }
.breadcrumb-sep { display: inline-flex; opacity: 0.5; }

.topbar-page-title {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.luxury-topbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    min-width: 0;
}

.topbar-search {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 0 16px;
    height: 42px;
    min-width: 220px;
}

.topbar-search input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    font: inherit;
    color: var(--text);
}

.luxury-menu-btn {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--card);
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.topbar-btn {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--card);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--text);
    transition: var(--transition);
}

.topbar-btn:hover { border-color: var(--gold); color: var(--gold); }

.theme-icon-dark { display: none; }
[data-theme="dark"] .theme-icon-light { display: none; }
[data-theme="dark"] .theme-icon-dark { display: inline; }

.quick-actions-wrap { position: relative; flex-shrink: 0; }
.quick-actions-btn {
    gap: 0;
}
.quick-actions-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 180px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    padding: 8px;
    z-index: 100;
}
.quick-actions-menu a {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--text);
    font-weight: 500;
}
.quick-actions-menu a:hover { background: var(--bg); color: var(--gold); }

.luxury-user-menu { position: relative; }
.user-menu-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--border);
    background: var(--card);
    border-radius: var(--radius-pill);
    padding: 6px 12px 6px 6px;
    cursor: pointer;
    color: var(--text);
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-hover));
    color: var(--primary);
    display: grid;
    place-items: center;
    font-weight: 700;
}

.user-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 220px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    padding: 8px;
    z-index: 100;
}

.user-dropdown-header {
    padding: 10px 12px 12px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 6px;
}
.user-dropdown-header span { display: block; font-size: 0.82rem; color: var(--text-muted); }

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--text);
    font-weight: 500;
}
.user-dropdown a:hover { background: var(--bg); }
.user-dropdown-logout { color: var(--danger) !important; }

/* Cards global override */
.card,
.luxury-card,
.folio-card,
.stat-card {
    background: var(--card);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}

[data-theme="dark"] .card,
[data-theme="dark"] .luxury-card,
[data-theme="dark"] .stat-card {
    border-color: var(--border);
}

.card:hover,
.luxury-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.luxury-card { padding: 0; overflow: hidden; }
.luxury-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 24px 28px 0;
}
.luxury-card-header h3 { font-size: 1.05rem; font-weight: 600; }
.luxury-card-sub { font-size: 0.82rem; color: var(--text-muted); }

.card-header,
.page-header {
    border-bottom-color: var(--border);
}

.card-body { padding: 28px; }
.card-body-flush { padding: 0 28px 28px; }

/* Dashboard */
.dashboard-luxury { display: flex; flex-direction: column; gap: 28px; }

.dashboard-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.dashboard-eyebrow {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 6px;
}

.dashboard-hero-title {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
}

.dashboard-hero-sub { color: var(--text-muted); margin-top: 4px; }
.dashboard-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.luxury-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.luxury-stat-grid-compact {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.luxury-stat-card {
    padding: 28px;
    border-radius: var(--radius);
    background: var(--card);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow);
    min-width: 0;
}

.luxury-stat-card.compact { padding: 20px; }

.luxury-stat-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 14px;
}

.luxury-stat-label {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.luxury-stat-icon { color: var(--gold); opacity: 0.85; }

.luxury-stat-value {
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.luxury-stat-value.sm { font-size: 28px; }

.money-compact { cursor: help; }

.luxury-stat-meta {
    margin-top: 12px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.trend-up {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--success);
    font-weight: 600;
}

.luxury-stat-card.alert-card {
    border-color: rgba(239, 68, 68, 0.25);
    background: linear-gradient(180deg, rgba(239, 68, 68, 0.06), var(--card));
}

/* Progress ring */
.ring-stat-wrap {
    position: relative;
    width: 88px;
    height: 88px;
    margin: 8px 0 4px;
}

.progress-ring { width: 88px; height: 88px; transform: rotate(-90deg); }
.progress-ring-bg { fill: none; stroke: var(--border); stroke-width: 8; }
.progress-ring-fill {
    fill: none;
    stroke: var(--gold);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 251.2;
    transition: stroke-dashoffset 0.6s ease;
}

.ring-stat-value {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    font-weight: 700;
}

/* Charts */
.dashboard-charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.chart-card { padding-bottom: 24px; }

.css-bar-chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    height: 180px;
    padding: 0 28px 8px;
    margin-top: 20px;
}

.css-bar-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    height: 100%;
    justify-content: flex-end;
}

.css-bar {
    width: 100%;
    max-width: 36px;
    background: linear-gradient(180deg, var(--gold-hover), var(--gold));
    border-radius: 8px 8px 4px 4px;
    min-height: 4px;
    transition: height 0.4s ease;
}

.css-bar-item span {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
}

.room-status-chart { padding: 16px 28px 8px; display: flex; flex-direction: column; gap: 12px; }
.room-status-row {
    display: grid;
    grid-template-columns: 90px 1fr 36px;
    gap: 12px;
    align-items: center;
    font-size: 0.88rem;
}
.room-status-bar {
    height: 8px;
    background: var(--bg);
    border-radius: 99px;
    overflow: hidden;
}
.room-status-bar i { display: block; height: 100%; border-radius: 99px; }

.hk-progress-chart {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 20px 28px 8px;
}

.hk-progress-ring {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: conic-gradient(var(--success) calc(var(--hk-percent) * 1%), var(--border) 0);
    display: grid;
    place-items: center;
    position: relative;
}

.hk-progress-ring::before {
    content: '';
    position: absolute;
    inset: 10px;
    background: var(--card);
    border-radius: 50%;
}

.hk-progress-ring span {
    position: relative;
    font-weight: 700;
    font-size: 1.1rem;
}

.hk-progress-legend { display: flex; flex-direction: column; gap: 10px; font-size: 0.88rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 6px; }
.dot-success { background: var(--success); }
.dot-warning { background: var(--warning); }

.luxury-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.luxury-section-head h3 { font-size: 1.1rem; font-weight: 600; }
.text-link { color: var(--gold); font-weight: 600; font-size: 0.88rem; }
.text-link:hover { color: var(--gold-hover); }

.dashboard-panels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.luxury-activity-list {
    list-style: none;
    padding: 0 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.luxury-activity-list li {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.luxury-activity-list li:last-child { border-bottom: none; padding-bottom: 0; }
.luxury-activity-list strong { display: block; font-weight: 600; }
.luxury-activity-list span { display: block; color: var(--text-muted); font-size: 0.88rem; margin-top: 2px; }
.luxury-activity-list small { display: block; color: var(--text-muted); font-size: 0.78rem; margin-top: 4px; }

/* Buttons */
.btn {
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: var(--transition);
    height: 44px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border: 1px solid var(--primary);
}
.btn-primary:hover { background: var(--secondary); }

.btn-gold,
.btn-gold.btn-sm {
    background: linear-gradient(135deg, var(--gold), var(--gold-hover));
    color: var(--primary);
    border: none;
    font-weight: 700;
}
.btn-gold:hover { filter: brightness(1.05); transform: translateY(-1px); }

.btn-secondary {
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--text);
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }

/* Forms */
.form-group label {
    font-weight: 500;
    color: var(--text);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="search"],
select,
textarea {
    min-height: 48px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    padding: 0 16px;
    font: inherit;
    background: var(--card);
    color: var(--text);
    transition: box-shadow var(--transition), border-color var(--transition);
}

textarea { padding: 14px 16px; min-height: 120px; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.18);
}

/* Tables */
.table-responsive {
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: auto;
    background: var(--card);
}

.data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.data-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: var(--bg);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    color: var(--text-muted);
    padding: 16px 18px;
    border-bottom: 1px solid var(--border);
}

.data-table tbody td {
    padding: 16px 18px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.data-table tbody tr:hover { background: rgba(212, 175, 55, 0.04); }
.data-table tbody tr:last-child td { border-bottom: none; }

/* Badges — soft pills */
.badge {
    border-radius: var(--radius-pill);
    padding: 5px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.badge-success { background: rgba(34, 197, 94, 0.12); color: #15803d; }
.badge-danger { background: rgba(239, 68, 68, 0.12); color: #b91c1c; }
.badge-room-maintenance,
.badge-room-maintenance { background: rgba(245, 158, 11, 0.14); color: #b45309; }
.badge-room-available { background: rgba(34, 197, 94, 0.12); color: #15803d; }
.badge-room-occupied { background: rgba(59, 130, 246, 0.12); color: #1d4ed8; }
.badge-room-reserved { background: rgba(139, 92, 246, 0.12); color: #6d28d9; }
.badge-room-cleaning { background: rgba(245, 158, 11, 0.14); color: #b45309; }
.badge-hk-inspection { background: rgba(59, 130, 246, 0.12); color: #1d4ed8; }
.badge-role { background: rgba(212, 175, 55, 0.16); color: #92700c; }
.badge-muted { background: var(--gray-100); color: var(--text-muted); }

[data-theme="dark"] .badge-success { color: #86efac; }
[data-theme="dark"] .badge-danger { color: #fca5a5; }

/* Empty states */
.empty-state,
.empty-state-sm {
    padding: 32px;
    text-align: center;
    color: var(--text-muted);
}

.empty-state-luxury {
    text-align: center;
    padding: 48px 28px;
    color: var(--text-muted);
}

.empty-state-luxury h3 {
    color: var(--text);
    font-size: 1.1rem;
    margin: 16px 0 8px;
}

.empty-state-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    border-radius: 20px;
    background: var(--bg);
    display: grid;
    place-items: center;
    color: var(--gold);
}

/* Modals */
.modal-overlay,
.sidebar-overlay {
    backdrop-filter: blur(6px);
}

.modal-content,
.modal-dialog .card {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

/* Alerts */
.luxury-alert { border-radius: var(--radius-sm); }

/* Auth polish */
.auth-body { font-family: var(--font); background: var(--bg); }
.luxury-auth .auth-wrapper { min-height: 100vh; }
.auth-brand-panel,
.luxury-auth-brand { background: linear-gradient(160deg, var(--primary), var(--secondary)); }
.auth-card {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background: var(--card);
    border: 1px solid var(--border);
    padding: 36px;
}
.auth-logo {
    background: linear-gradient(135deg, var(--gold), var(--gold-hover));
    color: var(--primary);
}
.auth-card h2 { font-weight: 700; font-size: 1.6rem; }
.auth-subtitle { color: var(--text-muted); }
.auth-features span {
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: var(--gold-hover);
    border-radius: var(--radius-pill);
}

/* Page header */
.page-header {
    margin-bottom: 24px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.page-header h1, .topbar-title h1 { font-weight: 700; }

/* Stats grid legacy compat */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.stat-card {
    padding: 28px;
    min-width: 0;
}

.stat-value {
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

/* Mobile */
@media (max-width: 1100px) {
    .topbar-search { display: none; }
}

@media (max-width: 992px) {
    .luxury-sidebar {
        transform: translateX(-100%);
        border-radius: 0 24px 24px 0;
    }

    .luxury-sidebar.open { transform: translateX(0); }

    .luxury-main,
    .main-content {
        margin-left: 0;
        max-width: 100%;
        width: 100%;
    }

    .luxury-menu-btn { display: inline-flex; }

    .luxury-page-content,
    .page-content {
        padding: 20px 16px 32px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .luxury-topbar {
        padding-top: var(--app-safe-top, env(safe-area-inset-top, 0px));
        padding-right: calc(12px + var(--app-safe-right, env(safe-area-inset-right, 0px)));
        padding-left: calc(12px + var(--app-safe-left, env(safe-area-inset-left, 0px)));
        gap: 8px;
        min-height: calc(var(--topbar-height) + var(--app-safe-top, env(safe-area-inset-top, 0px)));
        height: auto;
    }

    .topbar-left {
        flex: 1 1 0;
        min-width: 0;
        gap: 10px;
    }

    .topbar-title-block {
        flex: 1 1 0;
        min-width: 0;
    }

    .breadcrumb {
        display: none;
    }

    .topbar-page-title {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .luxury-topbar-actions {
        gap: 6px;
        flex: 0 0 auto;
        flex-shrink: 0;
    }

    .luxury-menu-btn,
    .topbar-btn,
    .quick-actions-btn {
        width: 40px;
        height: 40px;
        min-height: 40px;
        padding: 0;
        flex-shrink: 0;
        border-radius: 12px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .quick-actions-btn span { display: none; }

    .user-info { display: none; }

    .user-menu-trigger {
        padding: 4px;
        flex-shrink: 0;
        min-width: 0;
    }

    .user-avatar {
        width: 34px;
        height: 34px;
    }

    .luxury-stat-grid,
    .stats-grid,
    .dashboard-charts-grid,
    .dashboard-panels-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .page-header-actions {
        width: 100%;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .luxury-stat-value { font-size: 30px; }
    .dashboard-hero-title { font-size: 1.4rem; }
    .topbar-page-title { font-size: 1rem; }

    .luxury-topbar {
        padding-top: calc(10px + var(--app-safe-top, env(safe-area-inset-top, 0px)));
        padding-right: calc(10px + var(--app-safe-right, env(safe-area-inset-right, 0px)));
        padding-left: calc(10px + var(--app-safe-left, env(safe-area-inset-left, 0px)));
        padding-bottom: 10px;
        gap: 6px;
    }

    .luxury-topbar-actions {
        gap: 4px;
    }

    .luxury-menu-btn,
    .topbar-btn,
    .quick-actions-btn {
        width: 38px;
        height: 38px;
        min-height: 38px;
    }

    .luxury-page-content,
    .page-content {
        padding: 16px 12px 28px;
    }

    .stat-card {
        padding: 18px 16px;
    }

    .stat-card__label {
        font-size: 0.72rem;
        letter-spacing: 0.04em;
    }
}

#laundry-items-table {
    table-layout: fixed;
}

#laundry-items-table .laundry-col-item { width: 28%; }
#laundry-items-table .laundry-col-qty { width: 88px; }
#laundry-items-table .laundry-col-money { width: 120px; }
#laundry-items-table .laundry-col-press { width: 148px; }
#laundry-items-table .laundry-col-total {
    width: 120px;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}
#laundry-items-table .laundry-col-action { width: 96px; text-align: right; }

#laundry-items-table tbody td {
    vertical-align: middle;
    padding-top: 12px;
    padding-bottom: 12px;
}

#laundry-items-table select,
#laundry-items-table input[type="number"] {
    width: 100%;
    min-height: 42px;
    height: 42px;
    margin: 0;
}

#laundry-items-table .press-wrap {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    min-height: 42px;
}

#laundry-items-table .press-wrap .press-check {
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    accent-color: var(--gold-500);
}

#laundry-items-table .press-wrap input[type="number"] {
    flex: 1 1 auto;
    min-width: 0;
}

#laundry-items-table .press-wrap.is-disabled {
    opacity: 0.45;
}

#laundry-items-table .press-wrap.is-disabled .press-check {
    cursor: not-allowed;
}

@media (max-width: 768px) {
    #laundry-items-table {
        table-layout: auto;
    }

    #laundry-items-table .laundry-col-item,
    #laundry-items-table .laundry-col-qty,
    #laundry-items-table .laundry-col-money,
    #laundry-items-table .laundry-col-press,
    #laundry-items-table .laundry-col-total,
    #laundry-items-table .laundry-col-action {
        width: auto;
    }
}

/* Print unchanged */
@media print {
    .luxury-sidebar,
    .luxury-topbar,
    .sidebar-overlay,
    .app-loader { display: none !important; }
    .luxury-main { margin-left: 0; }
}
