:root {
    --gh-navy: #0a0f1c;
    --gh-navy-mid: #111827;
    --gh-sidebar-bg: var(--gh-navy);
    --gh-sidebar-width: 248px;
    --gh-teal: #0d9488;
    --gh-teal-bright: #14b8a6;
    --gh-teal-mid: #0d9488;
    --gh-teal-dark: #0f766e;
    --gh-teal-soft: rgba(13, 148, 136, 0.12);
    --gh-gold: #b8952e;
    --gh-gold-soft: rgba(184, 149, 46, 0.14);
    --gh-navy-soft: rgba(17, 24, 39, 0.08);
    --gh-slate-soft: rgba(100, 116, 139, 0.12);
    --gh-page-bg: #eceff4;
    --gh-card-bg: #ffffff;
    --gh-text: #0f172a;
    --gh-text-muted: #64748b;
    --gh-border: #dde3ec;
    --gh-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 10px 28px rgba(15, 23, 42, 0.07);
    --gh-radius: 16px;
    --gh-radius-sm: 12px;
    --gh-font: "Inter", system-ui, -apple-system, sans-serif;
    --gh-success: #059669;
    --gh-warning: #d97706;
    --gh-danger: #dc2626;
}

* {
    box-sizing: border-box;
}

body.gh-body {
    margin: 0;
    font-family: var(--gh-font);
    background: var(--gh-page-bg);
    color: var(--gh-text);
    font-size: 14px;
    line-height: 1.45;
}

.gh-app {
    display: flex;
    min-height: 100vh;
}

/* —— Sidebar —— */
.gh-sidebar {
    width: var(--gh-sidebar-width);
    background: var(--gh-sidebar-bg);
    color: #94a3b8;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1040;
    padding: 22px 16px 18px;
}

.gh-brand {
    display: block;
    padding: 0 6px 28px;
    text-decoration: none;
}

.gh-brand img {
    height: auto;
    width: 100%;
    display: block;
    max-width: 100%;
}

.gh-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    overflow-y: auto;
}

.gh-nav-item a {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 14px;
    border-radius: 10px;
    color: #8b9cb3;
    text-decoration: none;
    font-weight: 500;
    font-size: 13.5px;
    margin-bottom: 2px;
    transition: background 0.18s, color 0.18s;
}

.gh-nav-item a i {
    width: 18px;
    text-align: center;
    font-size: 15px;
}

.gh-nav-item a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
}

.gh-nav-item.active a {
    background: linear-gradient(135deg, var(--gh-teal-bright) 0%, var(--gh-teal-mid) 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.32);
}

.gh-nav-badge {
    margin-left: auto;
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 20px;
    min-width: 20px;
    text-align: center;
}

.gh-sidebar-footer {
    margin-top: auto;
}

.gh-sidebar-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 14px 4px;
}

.gh-hotel-switch {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--gh-radius-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
    cursor: pointer;
    transition: background 0.15s;
}

.gh-hotel-switch:hover {
    background: rgba(255, 255, 255, 0.08);
}

.gh-hotel-switch img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.gh-hotel-switch .meta {
    flex: 1;
    min-width: 0;
}

.gh-hotel-switch .name {
    color: #f1f5f9;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gh-hotel-switch .location {
    color: #64748b;
    font-size: 11px;
    margin-top: 2px;
}

.gh-hotel-switch .chevron {
    color: #64748b;
    font-size: 11px;
    flex-shrink: 0;
}

.gh-user {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 6px 4px;
}

.gh-user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #14b8a6, #0d9488);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
    overflow: hidden;
}

.gh-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gh-user-info {
    flex: 1;
    min-width: 0;
}

.gh-user-info .name {
    color: #f1f5f9;
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gh-user-info .role {
    color: #64748b;
    font-size: 11px;
}

.gh-user-menu {
    border: none;
    background: transparent;
    color: #64748b;
    padding: 4px 6px;
    cursor: pointer;
    border-radius: 6px;
}

.gh-user-menu:hover {
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.06);
}

/* —— Main —— */
.gh-main {
    margin-left: var(--gh-sidebar-width);
    flex: 1;
    min-width: 0;
    padding: 22px 26px 32px;
}

.gh-mobile-bar {
    display: none;
    align-items: center;
    justify-content: space-between;
    margin: -6px 0 16px;
    gap: 12px;
}

.gh-mobile-toggle {
    border: 1px solid var(--gh-border);
    background: #fff;
    border-radius: 10px;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--gh-text);
}

.gh-sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1035;
}

.gh-sidebar-backdrop.show {
    display: block;
}

/* —— Header —— */
.gh-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 16px;
}

.gh-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--gh-teal);
    text-transform: uppercase;
    margin: 0 0 6px;
}

.gh-header h1 {
    margin: 0 0 5px;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--gh-text);
}

.gh-header .subtitle {
    margin: 0;
    color: var(--gh-text-muted);
    font-size: 13.5px;
    max-width: 520px;
}

.gh-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    padding-top: 18px;
}

.gh-date-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--gh-card-bg);
    border: 1px solid var(--gh-border);
    border-radius: 10px;
    padding: 9px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gh-text);
    white-space: nowrap;
}

.gh-date-pill i {
    color: var(--gh-text-muted);
    font-size: 14px;
}

.gh-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--gh-border);
    background: var(--gh-card-bg);
    color: var(--gh-text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    font-size: 15px;
}

.gh-icon-btn:hover {
    border-color: var(--gh-teal);
    color: var(--gh-teal);
}

/* —— Cards —— */
.gh-card {
    background: var(--gh-card-bg);
    border-radius: var(--gh-radius);
    box-shadow: var(--gh-shadow);
    border: 1px solid rgba(226, 232, 240, 0.85);
    padding: 18px 20px;
    height: 100%;
}

.gh-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.gh-card-head-left {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.gh-card-head-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.gh-card-head-icon.teal {
    background: var(--gh-teal-soft);
    color: var(--gh-teal);
}

.gh-card-head-icon.gold {
    background: var(--gh-gold-soft);
    color: #d97706;
}

.gh-card-title {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 2px;
    color: var(--gh-text);
}

.gh-card-sub {
    font-size: 12px;
    color: var(--gh-text-muted);
    margin: 0;
}

.gh-select-pill {
    border: 1px solid var(--gh-border);
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 500;
    color: var(--gh-text-muted);
    background: #f8fafc;
    white-space: nowrap;
}

/* —— KPI cards —— */
.gh-kpi-card {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 12px;
    min-height: 108px;
}

.gh-kpi-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.gh-kpi-icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}

.gh-kpi-icon.teal {
    background: var(--gh-teal-soft);
    color: var(--gh-teal);
}

.gh-kpi-icon.teal2 {
    background: rgba(6, 182, 212, 0.14);
    color: #0891b2;
}

.gh-kpi-icon.gold {
    background: var(--gh-gold-soft);
    color: #d97706;
}

.gh-kpi-icon.navy {
    background: var(--gh-navy-soft);
    color: #1e3a5f;
}

.gh-kpi-value {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--gh-text);
}

.gh-kpi-label {
    font-size: 12.5px;
    font-weight: 500;
    color: var(--gh-text-muted);
}

.gh-kpi-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 8px;
    min-width: 88px;
}

.gh-kpi-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.gh-kpi-badge.up-teal {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
}

.gh-kpi-badge.up-gold {
    background: rgba(249, 115, 22, 0.12);
    color: #ea580c;
}

.gh-kpi-badge.up-navy {
    background: var(--gh-navy-soft);
    color: #1e3a5f;
}

.gh-sparkline {
    width: 86px;
    height: 36px;
}

/* —— Split chart cards —— */
.gh-split-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.gh-split-chart {
    flex: 0 0 48%;
    max-width: 200px;
}

.gh-split-stats {
    flex: 1;
    min-width: 0;
}

.gh-stat-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 12.5px;
}

.gh-stat-line:last-child {
    border-bottom: none;
}

.gh-stat-line .label {
    color: var(--gh-text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.gh-stat-line .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.gh-stat-line .val {
    font-weight: 700;
    color: var(--gh-text);
    font-size: 13px;
}

.gh-resolution-box {
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: var(--gh-radius-sm);
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.08), rgba(20, 184, 166, 0.03));
    border: 1px solid rgba(20, 184, 166, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.gh-resolution-box .title {
    font-size: 12px;
    font-weight: 600;
    color: var(--gh-text);
}

.gh-resolution-box .pct {
    font-size: 22px;
    font-weight: 700;
    color: var(--gh-teal-dark);
}

.gh-progress-bar {
    height: 5px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 8px;
}

.gh-progress-bar .fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gh-teal), var(--gh-teal-mid));
    border-radius: 10px;
}

.gh-total-rooms-box {
    margin-top: 14px;
    text-align: center;
    padding: 10px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid var(--gh-border);
    font-size: 12px;
    font-weight: 600;
    color: var(--gh-text-muted);
}

.gh-total-rooms-box strong {
    color: var(--gh-text);
    font-size: 13px;
}

/* —— Requests list —— */
.gh-request-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.gh-request-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid #f1f5f9;
}

.gh-request-list li:last-child {
    border-bottom: none;
}

.gh-request-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
}

.gh-request-icon.dining {
    background: rgba(20, 184, 166, 0.12);
    color: var(--gh-teal);
}

.gh-request-icon.hk {
    background: rgba(59, 130, 246, 0.12);
    color: #3b82f6;
}

.gh-request-icon.transport {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
}

.gh-request-icon.maint {
    background: rgba(249, 115, 22, 0.12);
    color: #f97316;
}

.gh-request-icon.default {
    background: var(--gh-teal-soft);
    color: var(--gh-teal);
}

.gh-request-body {
    flex: 1;
    min-width: 0;
}

.gh-request-body .title {
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 2px;
}

.gh-request-body .room {
    font-size: 11px;
    color: var(--gh-teal);
    font-weight: 600;
}

.gh-request-body .desc {
    color: var(--gh-text-muted);
    font-size: 12px;
    margin-top: 2px;
}

.gh-request-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
}

.gh-request-time {
    font-size: 11px;
    color: #94a3b8;
    white-space: nowrap;
}

.gh-badge {
    font-size: 10.5px;
    font-weight: 600;
    padding: 4px 9px;
    border-radius: 20px;
    white-space: nowrap;
}

.gh-badge-new {
    background: var(--gh-teal-soft);
    color: var(--gh-teal-dark);
}

.gh-badge-progress {
    background: rgba(59, 130, 246, 0.12);
    color: #2563eb;
}

.gh-badge-confirmed {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
}

.gh-badge-assigned {
    background: rgba(249, 115, 22, 0.12);
    color: #ea580c;
}

.gh-badge-default {
    background: #f1f5f9;
    color: #475569;
}

.gh-badge-cancelled {
    background: rgba(220, 38, 38, 0.12);
    color: #b91c1c;
}

/* —— Revenue —— */
.gh-revenue-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
}

.gh-revenue-total {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 4px 0;
}

.gh-revenue-growth {
    font-size: 11.5px;
    font-weight: 600;
    color: #059669;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.gh-revenue-compare {
    font-size: 11px;
    color: var(--gh-text-muted);
    margin-bottom: 10px;
}

.gh-chart-area {
    min-height: 0;
}

.gh-chart-mid {
    height: 248px;
}

.gh-chart-sm {
    height: 168px;
}

.gh-dashboard-grid {
    --bs-gutter-x: 14px;
    --bs-gutter-y: 14px;
}

/* —— Responsive —— */
@media (max-width: 1199.98px) {
    .gh-split-chart {
        flex: 0 0 42%;
    }
}

@media (max-width: 991.98px) {
    .gh-sidebar {
        transform: translateX(-100%);
        transition: transform 0.28s ease;
    }

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

    .gh-main {
        margin-left: 0;
        padding: 16px 16px 28px;
    }

    .gh-mobile-bar {
        display: flex;
    }

    .gh-header-actions {
        padding-top: 0;
    }

    .gh-header {
        flex-direction: column;
        align-items: stretch;
    }

    .gh-header-actions {
        flex-wrap: wrap;
    }

    .gh-split-row {
        flex-direction: column;
        align-items: stretch;
    }

    .gh-split-chart {
        flex: none;
        max-width: none;
        margin: 0 auto;
    }
}

@media (max-width: 575.98px) {
    .gh-kpi-card {
        min-height: 0;
    }

    .gh-kpi-value {
        font-size: 24px;
    }

    .gh-date-pill span.txt {
        display: none;
    }
}

.gh-nav-badge-gold {
    background: var(--gh-gold);
    color: #1a1200;
}

/* —— Inbox / Conversations workspace —— */
.gh-inbox-topbar {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.gh-inbox-property {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--gh-border);
    border-radius: 12px;
    padding: 8px 12px;
    min-width: 220px;
}

.gh-inbox-property img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
}

.gh-inbox-search {
    flex: 1;
    min-width: 200px;
    position: relative;
}

.gh-inbox-search input {
    width: 100%;
    border: 1px solid var(--gh-border);
    border-radius: 999px;
    padding: 10px 16px 10px 40px;
    font-size: 13px;
    background: #fff;
}

.gh-inbox-search i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

.gh-inbox-top-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.gh-inbox-user {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--gh-border);
    border-radius: 12px;
    padding: 6px 12px 6px 6px;
}

.gh-inbox-user img,
.gh-inbox-user .av {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #14b8a6, #0d9488);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.gh-inbox-kpi-row .gh-card {
    padding: 14px 16px;
}

.gh-inbox-stat-val {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.1;
}

.gh-inbox-stat-lbl {
    font-size: 11.5px;
    color: var(--gh-text-muted);
}

.gh-inbox-stat-trend {
    font-size: 11px;
    color: #059669;
    font-weight: 600;
}

.gh-inbox-stars {
    color: #c9a227;
    font-size: 12px;
}

.gh-inbox-workspace {
    display: grid;
    grid-template-columns: minmax(260px, 320px) 1fr minmax(260px, 300px);
    gap: 14px;
    min-height: 560px;
}

.gh-inbox-panel {
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--gh-radius);
    box-shadow: var(--gh-shadow);
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

.gh-inbox-panel-head {
    padding: 14px 16px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.gh-inbox-filters {
    display: flex;
    gap: 6px;
    padding: 10px 12px;
    border-bottom: 1px solid #f1f5f9;
    flex-wrap: wrap;
}

.gh-filter-pill {
    font-size: 11px;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 20px;
    border: 1px solid var(--gh-border);
    color: var(--gh-text-muted);
    text-decoration: none;
    background: #fff;
}

.gh-filter-pill.active {
    background: rgba(20, 184, 166, 0.12);
    border-color: rgba(20, 184, 166, 0.35);
    color: var(--gh-teal-dark);
}

.gh-conv-list {
    overflow-y: auto;
    flex: 1;
}

.gh-conv-item {
    display: block;
    padding: 12px 14px;
    border-bottom: 1px solid #f8fafc;
    text-decoration: none;
    color: inherit;
    transition: background 0.12s;
}

.gh-conv-item:hover,
.gh-conv-item.active {
    background: #f8fafc;
}

.gh-conv-item.active {
    border-left: 3px solid var(--gh-teal);
    padding-left: 11px;
}

.gh-conv-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.gh-conv-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #475569;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.gh-conv-avatar .wa {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #22c55e;
    color: #fff;
    font-size: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

.gh-conv-meta {
    flex: 1;
    min-width: 0;
}

.gh-conv-name {
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.gh-conv-preview {
    font-size: 12px;
    color: var(--gh-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
}

.gh-conv-room {
    font-size: 11px;
    color: var(--gh-teal);
    font-weight: 600;
}

.gh-conv-time {
    font-size: 10px;
    color: #94a3b8;
}

.gh-badge-ai {
    background: rgba(20, 184, 166, 0.12);
    color: #0f766e;
}

.gh-badge-human {
    background: rgba(59, 130, 246, 0.12);
    color: #2563eb;
}

.gh-badge-resolved {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
}

.gh-badge-priority {
    background: rgba(239, 68, 68, 0.12);
    color: #dc2626;
}

.gh-chat-head {
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.gh-chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
}

.gh-msg {
    max-width: 78%;
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 1.45;
}

.gh-msg.guest {
    background: #f1f5f9;
    color: var(--gh-text);
    padding: 10px 12px;
    border-radius: 14px 14px 14px 4px;
}

.gh-msg.ai {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.18), rgba(20, 184, 166, 0.08));
    border: 1px solid rgba(20, 184, 166, 0.2);
    padding: 10px 12px;
    border-radius: 14px 14px 4px 14px;
    margin-left: auto;
}

.gh-msg-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--gh-teal-dark);
    margin-bottom: 4px;
}

.gh-msg-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.gh-msg-actions button {
    border: 1px solid rgba(20, 184, 166, 0.35);
    background: #fff;
    color: var(--gh-teal-dark);
    border-radius: 8px;
    padding: 5px 8px;
    font-size: 11px;
    font-weight: 600;
}

.gh-chat-compose {
    border-top: 1px solid #f1f5f9;
    padding: 12px;
}

.gh-chat-input {
    display: flex;
    gap: 8px;
    align-items: center;
    border: 1px solid var(--gh-border);
    border-radius: 999px;
    padding: 6px 10px;
    background: #fff;
}

.gh-chat-input input {
    border: none;
    flex: 1;
    font-size: 13px;
    outline: none;
}

.gh-chat-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.gh-chat-quick button {
    border: 1px solid var(--gh-border);
    background: #f8fafc;
    border-radius: 8px;
    padding: 5px 10px;
    font-size: 11px;
    color: var(--gh-text-muted);
}

.gh-guest-card {
    padding: 16px;
    border-bottom: 1px solid #f1f5f9;
    text-align: center;
}

.gh-guest-card .avatar-lg {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    margin: 0 auto 10px;
    background: linear-gradient(135deg, #14b8a6, #0d9488);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 700;
}

.gh-guest-mini-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 12px;
}

.gh-guest-mini-stats .cell {
    background: #f8fafc;
    border-radius: 10px;
    padding: 8px;
    font-size: 11px;
}

.gh-guest-mini-stats strong {
    display: block;
    font-size: 15px;
}

.gh-queue-list {
    padding: 0 12px 12px;
    overflow-y: auto;
}

.gh-queue-item {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f8fafc;
    font-size: 12px;
}

@media (max-width: 1199.98px) {
    .gh-inbox-workspace {
        grid-template-columns: 1fr;
    }

    .gh-inbox-panel {
        min-height: 320px;
    }
}

/* —— Floating Support AI Chat —— */
.gh-support-wrap {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1060;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    pointer-events: none;
}

.gh-support-wrap * { pointer-events: auto; }

.gh-support-panel {
    width: min(380px, calc(100vw - 32px));
    height: 520px;
    max-height: calc(100vh - 120px);
    background: #fff;
    border-radius: 18px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform-origin: bottom right;
    transform: translateY(16px) scale(0.92);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease, visibility 0.28s;
}

.gh-support-wrap.is-open .gh-support-panel {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
}

.gh-support-head {
    background: linear-gradient(135deg, #0f766e 0%, #14b8a6 55%, #2dd4bf 100%);
    color: #fff;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.gh-support-head .title {
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gh-support-head .sub { font-size: 11px; opacity: 0.9; }

.gh-support-actions button {
    border: none;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
}

.gh-support-actions button:hover { background: rgba(255, 255, 255, 0.28); }

.gh-support-quick {
    display: flex;
    gap: 6px;
    padding: 10px 12px;
    border-bottom: 1px solid #f1f5f9;
    flex-wrap: wrap;
}

.gh-support-quick button {
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 600;
    color: #0f766e;
    cursor: pointer;
}

.gh-support-quick button:hover {
    border-color: #99f6e4;
    background: #f0fdfa;
}

.gh-support-messages {
    flex: 1;
    overflow-y: auto;
    padding: 14px 12px;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 40%);
}

.gh-support-msg {
    margin-bottom: 10px;
    max-width: 88%;
    font-size: 13px;
    line-height: 1.45;
    white-space: pre-wrap;
    word-break: break-word;
}

.gh-support-msg.user {
    margin-left: auto;
    background: #0f766e;
    color: #fff;
    padding: 9px 12px;
    border-radius: 14px 14px 4px 14px;
}

.gh-support-msg.assistant {
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 9px 12px;
    border-radius: 14px 14px 14px 4px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.gh-support-compose {
    border-top: 1px solid #f1f5f9;
    padding: 10px 12px 12px;
    display: flex;
    gap: 8px;
    align-items: flex-end;
    background: #fff;
}

.gh-support-compose textarea {
    flex: 1;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 13px;
    resize: none;
    min-height: 42px;
    max-height: 100px;
}

.gh-support-compose button.send {
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #14b8a6, #0d9488);
    color: #fff;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.15s;
}

.gh-support-compose button.send:hover { transform: scale(1.05); }

.gh-support-fab {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
    box-shadow: 0 12px 28px rgba(20, 184, 166, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s;
    animation: gh-support-pulse 2.4s ease-in-out infinite;
}

.gh-support-wrap.is-open .gh-support-fab {
    animation: none;
    transform: rotate(90deg) scale(1.02);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.25);
}

.gh-support-fab .fab-close { display: none; }
.gh-support-wrap.is-open .gh-support-fab .fab-open { display: none; }
.gh-support-wrap.is-open .gh-support-fab .fab-close { display: inline; }

.gh-support-typing {
    font-size: 11px;
    color: #64748b;
    padding: 0 14px 8px;
    display: none;
}

.gh-support-typing.show { display: block; }

@keyframes gh-support-pulse {
    0%, 100% {
        box-shadow: 0 12px 28px rgba(20, 184, 166, 0.4), 0 0 0 0 rgba(20, 184, 166, 0.35);
    }
    50% {
        box-shadow: 0 14px 32px rgba(20, 184, 166, 0.5), 0 0 0 10px rgba(20, 184, 166, 0);
    }
}

@media (max-width: 575.98px) {
    .gh-support-panel { height: min(520px, calc(100vh - 100px)); }
    .gh-support-wrap { right: 14px; bottom: 14px; }
}

/* —— Listing pages: stat strip + data table —— */
.gh-list-stats { --bs-gutter-x: 14px; --bs-gutter-y: 14px; margin-bottom: 16px; }

.gh-list-stat-card {
    background: var(--gh-card-bg);
    border: 1px solid var(--gh-border);
    border-radius: var(--gh-radius-sm);
    box-shadow: var(--gh-shadow);
    padding: 16px 18px;
    height: 100%;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.gh-list-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
}

.gh-list-stat-card.tone-teal .gh-list-stat-icon { background: var(--gh-teal-soft); color: var(--gh-teal-dark); }
.gh-list-stat-card.tone-gold .gh-list-stat-icon { background: var(--gh-gold-soft); color: var(--gh-gold); }
.gh-list-stat-card.tone-navy .gh-list-stat-icon { background: var(--gh-navy-soft); color: #1e3a5f; }
.gh-list-stat-card.tone-slate .gh-list-stat-icon { background: var(--gh-slate-soft); color: #475569; }

.gh-list-stat-value {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--gh-text);
}

.gh-list-stat-label {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--gh-text);
    margin-top: 2px;
}

.gh-list-stat-hint {
    font-size: 11px;
    color: var(--gh-text-muted);
    margin-top: 4px;
}

.gh-table-card {
    background: var(--gh-card-bg);
    border: 1px solid var(--gh-border);
    border-radius: var(--gh-radius);
    box-shadow: var(--gh-shadow);
    padding: 18px 20px 8px;
}

.gh-table-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.gh-table-card-head h2 {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
}

.gh-table-card-head p {
    margin: 0;
    font-size: 12px;
    color: var(--gh-text-muted);
}

.gh-table-card .dataTables_wrapper .dataTables_filter input,
.gh-table-card .dataTables_wrapper .dataTables_length select {
    border: 1px solid var(--gh-border);
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 13px;
}

.gh-table-card table.dataTable thead th {
    background: #f8fafc;
    border-bottom: 1px solid var(--gh-border);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--gh-text-muted);
    padding: 12px 14px;
}

.gh-table-card table.dataTable tbody td {
    font-size: 13px;
    padding: 12px 14px;
    vertical-align: middle;
    border-bottom-color: #f1f5f9;
}

.gh-table-card table.dataTable tbody tr:hover {
    background-color: #f8fafc;
}

.gh-sidebar-platform {
    background: linear-gradient(180deg, #0a0f1c 0%, #111827 100%);
}

.gh-nav-section {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    padding: 14px 20px 6px;
    list-style: none;
}

.gh-sidebar:not(.gh-sidebar-platform) .gh-nav-section {
    color: rgba(255, 255, 255, 0.38);
}

.gh-room-pill {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
}

.gh-room-pill.occupied {
    background: rgba(16, 185, 129, 0.14);
    color: #059669;
}

.gh-room-pill.available {
    background: rgba(59, 130, 246, 0.12);
    color: #2563eb;
}

.gh-room-pill.oos {
    background: rgba(220, 38, 38, 0.1);
    color: #b91c1c;
}

.gh-room-tabs .nav-link.active {
    color: var(--gh-teal-dark);
    font-weight: 600;
}

.gh-room-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
    gap: 12px;
}

.gh-room-tile {
    background: var(--gh-card-bg);
    border: 1px solid var(--gh-border);
    border-radius: 12px;
    padding: 12px;
    box-shadow: var(--gh-shadow);
    min-height: 108px;
}

.gh-room-tile .num {
    font-size: 18px;
    font-weight: 700;
}

.gh-room-tile .meta,
.gh-room-tile .st,
.gh-room-tile .guest {
    font-size: 11px;
    color: var(--gh-text-muted);
    margin-top: 4px;
    text-transform: capitalize;
}

.gh-room-tile.status-occupied { border-left: 4px solid #059669; }
.gh-room-tile.status-available { border-left: 4px solid #2563eb; }
.gh-room-tile.status-cleaning { border-left: 4px solid #ea580c; }
.gh-room-tile.status-maintenance { border-left: 4px solid #d97706; }
.gh-room-tile.status-out_of_service { border-left: 4px solid #b91c1c; }

.gh-platform-tag {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin: 0 20px 12px;
}

.gh-sidebar-foot {
    margin-top: auto;
    padding: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.gh-body-platform .gh-main {
    background: var(--gh-page-bg);
}

.gh-card-compact {
    padding: 18px 20px;
}

.btn-teal {
    background: linear-gradient(135deg, #14b8a6, #0d9488);
    border: none;
    color: #fff;
}

.btn-teal:hover {
    color: #fff;
    filter: brightness(1.05);
}

.gh-impersonation-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0 0 14px;
    padding: 10px 14px;
    border-radius: 10px;
    background: linear-gradient(90deg, rgba(184, 149, 46, 0.18), rgba(13, 148, 136, 0.12));
    border: 1px solid rgba(184, 149, 46, 0.35);
    color: #1e3a5f;
    font-size: 13px;
}

.gh-property-switcher {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px;
    max-width: 360px;
}

.gh-property-switcher .form-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--gh-text-muted);
    white-space: nowrap;
}
