/* =============================================================================
   NISTTECH Hotel PMS — theme v2 (mockup redesign)
   Loaded AFTER app.css + pos.css: overrides tokens and restyles shared
   components (cards, tables, pills, buttons, sidebar, topbar), and adds the
   new building blocks used by the redesigned screens:
   .stat-card / .stat-grid, .filterbar, .wizard-steps, .wiz-head, .seg-tabs,
   .banner-warn, .avatar-badge, .hero-empty, topbar pills and the user chip.
   ============================================================================= */

:root {
    /* cool blue-grey workspace */
    --paper:       #EDF2F9;
    --paper-deep:  #E3EAF4;
    --card:        #FFFFFF;
    --line:        #DFE6F0;
    --line-soft:   #EBF0F7;

    --ink:         #16233F;
    --ink-soft:    #51607A;
    --ink-faint:   #8694AC;

    --night:       #0E1E3E;
    --night-2:     #1629524;
    --night-line:  rgba(255,255,255,.08);

    /* amber primary (mockup buttons) */
    --brass:       #E39A1F;
    --brass-lift:  #F2B338;
    --brass-deep:  #B77A12;
    --brass-wash:  #FDF3DC;
    --brass-ink:   #231803;

    --cobalt:      #2563EB;
    --cobalt-wash: #EAF1FE;

    --clean:       #178A5B;  --clean-bg:     #E2F6EC;
    --dirty:       #D35B2A;  --dirty-bg:     #FDEAE0;
    --inspected:   #2563EB;  --inspected-bg: #E7EFFE;
    --blocked:     #64748B;  --blocked-bg:   #EDF1F6;
    --occupied:    #1D3FA4;  --occupied-bg:  #E5EAFB;
    --danger:      #D92D20;  --danger-bg:    #FDE9E7;
    --warn:        #B45309;  --warn-bg:      #FEF3DC;

    --radius:      12px;
    --radius-lg:   16px;
    --radius-xl:   20px;
    --shadow-sm:   0 1px 2px rgba(22,35,63,.05);
    --shadow:      0 1px 2px rgba(22,35,63,.04), 0 10px 28px -14px rgba(22,35,63,.14);
    --shadow-lg:   0 2px 6px rgba(22,35,63,.06), 0 28px 56px -22px rgba(22,35,63,.28);
}

body { background: var(--paper); }

/* --------------------------------------------------------------------------
   Sidebar
   -------------------------------------------------------------------------- */
.sidebar { background: linear-gradient(180deg, #11234A 0%, #0C1A38 100%); }
.brand::before { display: none; }
.brand { flex-direction: row; align-items: center; gap: 11px; padding: 20px 18px 16px; }
.brand-logo { width: 38px; height: 38px; border-radius: 10px; background: #FFF; display: grid; place-items: center; overflow: hidden; flex: 0 0 auto; }
.brand-logo img { width: 30px; height: 30px; object-fit: contain; }
.brand-txt { display: flex; flex-direction: column; }
.brand-mark, .brand-sub { margin-left: 0; }
.nav-group { color: rgba(214,222,235,.42); font-size: 10px; letter-spacing: .14em; margin: 16px 10px 6px; }
.nav-link-x { border-radius: 10px; padding: 8px 10px; font-size: 13.5px; font-weight: 600; color: #B9C6DC; gap: 11px; }
.nav-link-x .ico { width: 26px; height: 26px; border-radius: 8px; background: rgba(255,255,255,.06); color: #AEBDD6; font-size: 13px; display: inline-grid; place-items: center; }
.nav-link-x .ico svg { width: 15px; height: 15px; }
.nav-link-x.active { background: rgba(255,255,255,.10); color: #FFF; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.nav-link-x.active::before { background: linear-gradient(180deg, var(--brass-lift), var(--brass)); }
.nav-link-x.active .ico { background: rgba(242,179,56,.22); color: #FFD98A; }
.sidebar-foot { display: flex; align-items: center; gap: 10px; }
.sidebar-foot .foot-avatar {
    width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.12);
    display: grid; place-items: center; color: #DCE5F2; font-weight: 700; font-size: 13px; flex: 0 0 auto;
}

/* --------------------------------------------------------------------------
   Topbar: title + subtitle, pills, bell, user chip
   -------------------------------------------------------------------------- */
.topbar { background: #FFF; border-bottom: 1px solid var(--line); padding: 12px 24px; gap: 14px; min-height: 66px; }
.topbar .title-wrap { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.topbar h1 { font-size: 19px; }
.topbar h1::before { height: 22px; width: 4px; }
.topbar .view-sub { font-size: 12px; color: var(--ink-soft); margin-left: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.topbar-pill {
    display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 13px;
    border: 1px solid var(--line); border-radius: 11px; background: #FFF; font-size: 13px;
    font-weight: 600; color: var(--ink); white-space: nowrap;
}
.topbar-pill svg { width: 15px; height: 15px; color: var(--ink-soft); flex: 0 0 auto; }
.topbar-pill.gold { background: var(--brass-wash); border-color: #F3DFAE; color: #8A5E10; }
.topbar-pill.gold svg { color: #C08A1C; }

.topbar #propertySwitch {
    border: 0; background: transparent; font-weight: 600; font-size: 13px; color: var(--ink);
    padding: 0 18px 0 0; max-width: 300px; box-shadow: none;
}
.topbar #propertySwitch:focus { outline: none; }

.bell-btn {
    position: relative; width: 38px; height: 38px; border-radius: 11px; border: 1px solid var(--line);
    background: #FFF; display: grid; place-items: center; color: var(--ink-soft); cursor: pointer;
}
.bell-btn:hover { background: var(--paper); }
.bell-btn svg { width: 17px; height: 17px; }
.bell-btn .bell-dot {
    position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 4px;
    border-radius: 9px; background: #E5484D; color: #FFF; font-size: 10.5px; font-weight: 700;
    display: grid; place-items: center; border: 2px solid #FFF;
}

.user-chip {
    display: inline-flex; align-items: center; gap: 9px; height: 38px; padding: 0 12px 0 6px;
    border: 1px solid var(--line); border-radius: 11px; background: #FFF; cursor: pointer;
    font-size: 13px; font-weight: 700; color: var(--ink);
}
.user-chip:hover { background: var(--paper); }
.user-chip .foot-avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--paper-deep); color: var(--ink-soft); display: grid; place-items: center; font-size: 11.5px; font-weight: 700; }
.user-chip .chev { color: var(--ink-faint); font-size: 10px; }

/* --------------------------------------------------------------------------
   Stat cards
   -------------------------------------------------------------------------- */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(176px, 1fr)); gap: 14px; margin-bottom: 18px; }
.stat-card {
    position: relative; overflow: hidden; background: var(--card); border: 1px solid var(--line);
    border-radius: var(--radius-lg); padding: 15px 16px; box-shadow: var(--shadow-sm); min-height: 104px;
}
.stat-card .s-top { display: flex; align-items: center; gap: 9px; }
.stat-card .s-label { font-size: 10.5px; letter-spacing: .09em; text-transform: uppercase; font-weight: 700; color: var(--ink-faint); line-height: 1.25; }
.stat-card .s-value { font-family: var(--cond); font-size: 27px; font-weight: 800; letter-spacing: -.02em; margin-top: 7px; line-height: 1.1; color: var(--ink); }
.stat-card .s-value small { font-size: 15px; font-weight: 700; color: var(--ink-faint); }
.stat-card .s-hint { font-size: 11.5px; color: var(--ink-soft); margin-top: 3px; position: relative; }
.stat-card::after {
    content: ""; position: absolute; right: -26px; bottom: -34px; width: 120px; height: 120px;
    border-radius: 50%; background: radial-gradient(circle, var(--tone-wash, rgba(37,99,235,.10)), transparent 68%);
    pointer-events: none;
}
.icon-tile {
    width: 34px; height: 34px; border-radius: 9px; display: inline-grid; place-items: center; flex: 0 0 auto;
    background: var(--tone-wash, var(--cobalt-wash)); color: var(--tone, var(--cobalt));
}
.icon-tile svg { width: 17px; height: 17px; }
.icon-tile.lg { width: 44px; height: 44px; border-radius: 12px; }
.icon-tile.lg svg { width: 21px; height: 21px; }

.tone-blue   { --tone: #2563EB; --tone-wash: #E7EFFE; }
.tone-green  { --tone: #178A5B; --tone-wash: #E2F6EC; }
.tone-orange { --tone: #D97A16; --tone-wash: #FDEFDB; }
.tone-purple { --tone: #7C3AED; --tone-wash: #F1EAFE; }
.tone-red    { --tone: #D92D20; --tone-wash: #FDE9E7; }
.tone-gold   { --tone: #C08A1C; --tone-wash: #FDF3DC; }
.tone-teal   { --tone: #0D9488; --tone-wash: #DFF5F2; }
.tone-navy   { --tone: #1D3FA4; --tone-wash: #E5EAFB; }
.tone-slate  { --tone: #64748B; --tone-wash: #EDF1F6; }

/* --------------------------------------------------------------------------
   Cards / section headers
   -------------------------------------------------------------------------- */
.card-x { border-radius: var(--radius-lg); border-color: var(--line); box-shadow: var(--shadow-sm); }
.card-x > header { padding: 14px 18px; border-bottom: 1px solid var(--line-soft); background: #FFF; border-radius: var(--radius-lg) var(--radius-lg) 0 0; flex-wrap: wrap; gap: 10px; }
.card-x > header h2 { font-size: 16px; }
.card-x > header h2::before { display: none; }
.card-x > header .head-ico { margin-right: 2px; }
.card-x > header .head-sub { width: 100%; font-size: 12px; color: var(--ink-soft); font-weight: 400; margin: -4px 0 0 46px; }
.card-x > header .h-wrap { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.card-x > header .h-wrap .head-sub { width: auto; margin: 0; }
.card-x > header .h-line { display: flex; align-items: center; gap: 10px; }

/* tables */
table.grid thead th { background: #F6F9FD; color: #7C8AA3; border-bottom: 1px solid var(--line); font-size: 10.5px; }
table.grid tbody tr:hover { background: #F7FAFF; }
table.grid tbody td { border-bottom-color: var(--line-soft); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn { border-radius: 10px; font-weight: 700; }
.btn-brass {
    background: linear-gradient(180deg, var(--brass-lift), var(--brass));
    border: 1px solid #D08F15; color: #2B1D04;
    box-shadow: 0 1px 2px rgba(22,35,63,.12), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn-brass:hover { background: linear-gradient(180deg, #F6BC49, #E8A227); color: #2B1D04; }
.btn-outline-ink { border: 1px solid var(--line); color: var(--ink-soft); background: #FFF; }
.btn-outline-ink:hover { background: var(--paper); color: var(--ink); border-color: #C9D4E4; }
.btn .bi-svg { width: 14px; height: 14px; margin-right: 5px; vertical-align: -2px; }
.btn-danger-soft { border: 1px solid #F3C6C2; color: var(--danger); background: #FFF; }
.btn-danger-soft:hover { background: var(--danger-bg); color: var(--danger); }

/* --------------------------------------------------------------------------
   Filter bar
   -------------------------------------------------------------------------- */
.filterbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.filterbar .f-search { position: relative; flex: 1 1 240px; min-width: 200px; }
.filterbar .f-search svg { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: var(--ink-faint); }
.filterbar .f-search input { padding-left: 34px; }
.filterbar .form-select, .filterbar .form-control { min-height: 38px; border-radius: 10px; font-size: 13px; }
.filterbar .btn { height: 38px; }
.btn-filter { background: #16233F; color: #FFF; border: 1px solid #16233F; }
.btn-filter:hover { background: #22325A; color: #FFF; }

/* --------------------------------------------------------------------------
   Segmented tabs (Arrivals / Departures / In house, Members / Tiers)
   -------------------------------------------------------------------------- */
.seg-tabs { display: inline-flex; background: #FFF; border: 1px solid var(--line); border-radius: 12px; padding: 4px; gap: 4px; }
.seg-tabs .seg {
    display: inline-flex; align-items: center; gap: 7px; padding: 7px 16px; border-radius: 9px;
    font-size: 13px; font-weight: 700; color: var(--ink-soft); cursor: pointer; border: 0; background: transparent;
    position: relative;
}
.seg-tabs .seg svg { width: 14px; height: 14px; }
.seg-tabs .seg:hover { background: var(--paper); color: var(--ink); }
.seg-tabs .seg.active { background: #16233F; color: #FFF; }
.seg-tabs .seg.active::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: -5px; height: 3px;
    border-radius: 2px; background: var(--brass-lift);
}
.seg-tabs.gold .seg.active { background: linear-gradient(180deg, var(--brass-lift), var(--brass)); color: #2B1D04; }
.seg-tabs.gold .seg.active::after { display: none; }

/* --------------------------------------------------------------------------
   Banner (night audit warning)
   -------------------------------------------------------------------------- */
.banner-warn {
    display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
    background: #FFF7E8; border: 1px solid #F3DFAE; border-radius: var(--radius-lg);
    padding: 12px 16px; margin-bottom: 16px;
}
.banner-warn .b-date { display: flex; align-items: center; gap: 10px; padding-right: 16px; border-right: 1px solid #F0DCA9; }
.banner-warn .b-date .lbl { font-size: 10px; letter-spacing: .09em; text-transform: uppercase; font-weight: 700; color: #A07614; }
.banner-warn .b-date .val { font-family: var(--cond); font-weight: 800; font-size: 19px; color: #6B4E0B; }
.banner-warn .b-msg { flex: 1 1 260px; font-size: 12.5px; color: #6B4E0B; }
.banner-warn .b-msg strong { font-size: 13.5px; color: #92400E; }

/* --------------------------------------------------------------------------
   Wizard dialogs
   -------------------------------------------------------------------------- */
.wiz-head { display: flex; align-items: center; gap: 13px; }
.wiz-head .w-title { font-family: var(--cond); font-size: 19px; font-weight: 800; letter-spacing: -.01em; color: var(--ink); line-height: 1.2; }
.wiz-head .w-sub { font-size: 12.5px; color: var(--ink-soft); margin-top: 1px; }

.wizard-steps { display: flex; align-items: flex-start; margin: 4px 2px 18px; }
.wizard-steps .ws { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative; min-width: 0; }
.wizard-steps .ws .dot {
    width: 32px; height: 32px; border-radius: 50%; border: 2px solid #C9D4E4; background: #FFF;
    display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--ink-faint);
    position: relative; z-index: 1;
}
.wizard-steps .ws .lbl { font-size: 12px; font-weight: 600; color: var(--ink-faint); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.wizard-steps .ws::before, .wizard-steps .ws::after {
    content: ""; position: absolute; top: 16px; height: 2px; background: #DCE4F0; width: calc(50% - 20px);
}
.wizard-steps .ws::before { left: 0; }
.wizard-steps .ws::after  { right: 0; }
.wizard-steps .ws:first-child::before, .wizard-steps .ws:last-child::after { display: none; }
.wizard-steps .ws.active .dot { border-color: #16233F; background: #16233F; color: #FFF; box-shadow: 0 0 0 3px rgba(242,179,56,.35); }
.wizard-steps .ws.active .lbl { color: var(--ink); font-weight: 800; }
.wizard-steps .ws.active .lbl::after { content: ""; display: block; height: 3px; border-radius: 2px; background: var(--brass-lift); margin-top: 4px; }
.wizard-steps .ws.done .dot { border-color: var(--clean); background: var(--clean-bg); color: var(--clean); }

/* tabbed variant (New tenant) */
.wiz-tabs { display: flex; gap: 8px; border-bottom: 2px solid var(--line-soft); margin-bottom: 16px; flex-wrap: wrap; }
.wiz-tabs .wt {
    display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; font-size: 13.5px; font-weight: 700;
    color: var(--ink-soft); background: #F3F6FB; border: 1px solid var(--line-soft); border-bottom: 0;
    border-radius: 10px 10px 0 0; cursor: pointer; position: relative; top: 2px;
}
.wiz-tabs .wt svg { width: 15px; height: 15px; }
.wiz-tabs .wt.active { background: #16233F; color: #FFF; border-color: #16233F; }
.wiz-tabs .wt.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; background: var(--brass-lift); border-radius: 2px; }

.wiz-section { background: #F7FAFE; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 16px; }
.wiz-section .sec-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.wiz-section .sec-head .t { font-family: var(--cond); font-size: 15.5px; font-weight: 800; color: var(--ink); }
.wiz-section .sec-head .s { font-size: 12px; color: var(--ink-soft); }

.info-aside { background: var(--brass-wash); border: 1px solid #F3DFAE; border-radius: var(--radius-lg); padding: 14px 16px; font-size: 12.5px; color: #6B4E0B; }
.info-aside .t { font-weight: 800; color: #92400E; font-size: 13.5px; margin-bottom: 3px; display: flex; align-items: center; gap: 8px; }

/* modal polish */
.modal-content { border-radius: var(--radius-xl); border: 0; box-shadow: var(--shadow-lg); }
.modal-header { border-bottom: 1px solid var(--line-soft); padding: 16px 20px; }
.modal-footer { border-top: 1px solid var(--line-soft); padding: 12px 20px; }
.modal-body { padding: 18px 20px; }

/* --------------------------------------------------------------------------
   Empty states
   -------------------------------------------------------------------------- */
.empty { padding: 48px 20px 44px; }
.empty::before { display: none; }
.empty .art {
    width: 150px; height: 108px; margin: 0 auto 14px; display: block; position: relative;
}
.empty .art .cloud {
    position: absolute; inset: 0; background: #E9F0FA; border-radius: 60px 60px 48px 48px;
}
.empty .art .cloud::before { content: ""; position: absolute; width: 58px; height: 58px; border-radius: 50%; background: #E9F0FA; top: -22px; left: 18px; }
.empty .art .cloud::after  { content: ""; position: absolute; width: 74px; height: 74px; border-radius: 50%; background: #E9F0FA; top: -30px; right: 20px; }
.empty .art .glyph { position: absolute; inset: 0; display: grid; place-items: center; color: #2563EB; z-index: 1; }
.empty .art .glyph svg { width: 56px; height: 56px; }
.empty .headline { font-size: 18px; }
.empty .hint { font-size: 13px; color: var(--ink-soft); margin-top: 2px; }
.empty .btn { margin-top: 16px; }

/* --------------------------------------------------------------------------
   Misc bits used by redesigned views
   -------------------------------------------------------------------------- */
.avatar-badge {
    width: 34px; height: 34px; border-radius: 50%; display: inline-grid; place-items: center;
    font-size: 12px; font-weight: 800; flex: 0 0 auto;
    background: var(--tone-wash, var(--cobalt-wash)); color: var(--tone, var(--cobalt));
}
.cell-main { display: flex; align-items: center; gap: 10px; min-width: 0; }
.cell-main .c-title { font-weight: 700; color: var(--ink); }
.cell-main .c-sub { font-size: 11.5px; color: var(--ink-faint); font-weight: 500; }

.tag-plan {
    display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px;
    font-size: 12px; font-weight: 800; background: var(--brass-wash); color: #92400E; border: 1px solid #F3DFAE;
}
.tag-plan svg { width: 13px; height: 13px; }

.chip-id { display: inline-grid; place-items: center; min-width: 38px; height: 26px; padding: 0 8px; border-radius: 8px; background: var(--cobalt-wash); color: var(--cobalt); font-weight: 800; font-size: 12px; }

.timeline-x { padding: 6px 18px 14px; }
.timeline-x .tl-row { display: flex; gap: 13px; position: relative; padding: 10px 0; }
.timeline-x .tl-row:not(:last-child)::before { content: ""; position: absolute; left: 13px; top: 38px; bottom: -8px; width: 2px; background: var(--line-soft); }
.timeline-x .tl-ico { width: 27px; height: 27px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto; background: var(--tone-wash, var(--cobalt-wash)); color: var(--tone, var(--cobalt)); z-index: 1; }
.timeline-x .tl-ico svg { width: 13px; height: 13px; }
.timeline-x .tl-body { flex: 1; min-width: 0; display: flex; justify-content: space-between; gap: 12px; }
.timeline-x .tl-t { font-weight: 700; font-size: 13.5px; color: var(--ink); }
.timeline-x .tl-s { font-size: 12.5px; color: var(--ink-soft); }
.timeline-x .tl-when { font-size: 12px; color: var(--ink-faint); white-space: nowrap; }

.kpi-row .kpi { border-radius: var(--radius-lg); }

/* room rack floor bars + slots */
.rack-floor > .floor-label {
    display: flex; justify-content: space-between; align-items: center;
    background: #16233F; color: #DCE5F2; border-radius: 10px; padding: 8px 14px;
    font-size: 11px; letter-spacing: .1em; margin-bottom: 10px;
}
.slot { border-left-width: 4px; }
.slot .who { border-top: 0; padding-top: 4px; }
.slot.occupied { background: linear-gradient(180deg, #EFF4FE, #E8EFFC); border-color: #C9D8F4; }

/* legend dots (room rack) */
.legend-x { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: var(--ink-soft); align-items: center; }
.legend-x .lg { display: inline-flex; align-items: center; gap: 6px; }
.legend-x .lg i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }

@media (max-width: 900px) {
    .topbar .view-sub { display: none; }
    .topbar-pill.hide-sm { display: none; }
}

/* =============================================================================
   v2.1 — mockup match: dialogs + page header
   ============================================================================= */

/* ---- page header (mockup: big title, solid gold bar, subtitle, 46px pills) */
.content:focus, #view:focus, .content:focus-visible { outline: none !important; }
.topbar {
    background: #FFF; border-bottom: 1px solid #E6ECF5;
    box-shadow: 0 6px 20px -16px rgba(22,35,63,.25);
    padding: 16px 28px; min-height: 80px;
}
.topbar .title-wrap { gap: 3px; }
.topbar h1 { font-size: 26px; font-weight: 800; color: #12204A; letter-spacing: -.02em; padding-left: 18px; line-height: 1.15; }
.topbar h1::before { width: 5px; height: 30px; border-radius: 3px; background: linear-gradient(180deg, #F5BC3E, #E39A1F); }
.topbar .view-sub { font-size: 14px; color: #5B6B86; margin-left: 18px; }
.topbar .topbar-tools { gap: 12px; }
.topbar-pill, .bell-btn, .user-chip {
    height: 46px; border-radius: 13px; border-color: #E2E9F3;
    box-shadow: 0 1px 2px rgba(22,35,63,.05);
}
.topbar-pill { padding: 0 14px; font-size: 14px; font-weight: 700; }
.topbar-pill svg { width: 18px; height: 18px; color: #3B4A68; }
#propertyPill { position: relative; padding-right: 10px; }
.topbar #propertySwitch {
    font-size: 14px; font-weight: 700; color: #12204A; padding: 0 30px 0 2px;
    background-color: transparent; border: 0; height: 44px; max-width: 330px;
}
.topbar-pill.gold { background: #FEF4DF; border-color: #F6DFA8; color: #8A5E10; }
.topbar-pill.gold svg { color: #C98B12; }
.bell-btn { width: 46px; }
.bell-btn svg { width: 20px; height: 20px; color: #12204A; }
.bell-btn .bell-dot { background: #E5383B; top: -7px; right: -7px; min-width: 20px; height: 20px; font-size: 11px; }
.user-chip { padding: 0 14px 0 7px; gap: 10px; font-size: 13px; }
.user-chip .foot-avatar, .sidebar-foot .foot-avatar {
    background: linear-gradient(180deg, #3A4C74, #24345A); color: #E7EDF7; overflow: hidden;
    display: grid; place-items: end center;
}
.user-chip .foot-avatar { width: 34px; height: 34px; }
.user-chip .foot-avatar svg, .sidebar-foot .foot-avatar svg { width: 80%; height: 80%; margin-bottom: 3px; }
.sidebar-foot .foot-avatar { width: 42px; height: 42px; }
.user-chip .chev { font-size: 11px; color: #5B6B86; }

/* ---- dialog chrome ------------------------------------------------------- */
.modal-header::before { display: none !important; }
.modal-content { border-radius: 22px; }
.modal-header.dlg-head, .modal-header.gr-modal-head {
    padding: 12px 28px 12px;
    background: #FFF;
    border-bottom: 1px solid #E8EEF6;
}
.dlg-head .wiz-head, .gr-modal-head .wiz-head { gap: 18px; padding-right: 44px; }
.dlg-head .wiz-head .icon-tile.lg, .gr-modal-head .wiz-head .icon-tile.lg {
    width: 52px; height: 52px; border-radius: 10px;
    background: linear-gradient(180deg, #FFF6E2, #FDEBC4); color: #D3901A;
    box-shadow: 0 6px 16px -8px rgba(211,144,26,.55), inset 0 0 0 1px rgba(232,180,80,.35);
}
.dlg-head .wiz-head .icon-tile.lg svg, .gr-modal-head .wiz-head .icon-tile.lg svg { width: 26px; height: 26px; }
.dlg-head .w-title, .gr-modal-head .w-title { font-size: 23px; font-weight: 800; color: #12204A; letter-spacing: -.02em; }
.dlg-head .w-sub, .gr-modal-head .w-sub { font-size: 15px; color: #4F5F7C; margin-top: 3px; }
.modal-header .modal-x, .gr-modal-head .modal-x, .dlg-head .modal-x {
    top: 22px; right: 24px; width: 22px; height: 22px; opacity: .75; background-size: 15px;
}
.modal-body { padding: 22px 30px; }

/* footer: right-aligned, tall buttons; Cancel outline + gold primary */
.modal-footer { padding: 16px 30px; background: #FBFCFE; border-top: 1px solid #E8EEF6; gap: 10px; }
.modal-footer .btn { height: 46px; padding: 0 22px; font-size: 15px; border-radius: 12px; display: inline-flex; align-items: center; gap: 8px; }
.modal-footer .btn svg { width: 17px; height: 17px; }
.modal-footer .btn .bi-svg { margin-right: 0; display: inline-flex; }
.modal-footer .btn-outline-ink { color: #12204A; border-color: #D9E1EC; background: #FFF; min-width: 120px; justify-content: center; }
.modal-footer .btn-brass { min-width: 150px; justify-content: center; box-shadow: 0 8px 18px -10px rgba(227,154,31,.8), inset 0 1px 0 rgba(255,255,255,.35); }

/* ---- stepper (mockup: navy active dot + gold ring, gold underline) ------- */
.gr-modal-head .wiz-steps { margin: 20px 0 0; }
.gr-modal-head .wiz-steps .st {
    padding-top: 52px; padding-bottom: 10px; font-size: 15px; font-weight: 600; color: #3B4A68;
    font-family: var(--sans); letter-spacing: 0; text-transform: none;
}
.gr-modal-head .wiz-steps .st .dot {
    width: 42px; height: 42px; border: 2px solid #C5D0E0; background: #FFF;
    color: #12204A; font-family: var(--sans); font-size: 16px; font-weight: 700;
}
.gr-modal-head .wiz-steps .st::before, .gr-modal-head .wiz-steps .st::after { top: 21px; background: #D4DDEA; height: 2px; }
.gr-modal-head .wiz-steps .st.active {
    color: #C98B12; font-weight: 800;
    background: linear-gradient(#F2B338, #E39A1F) no-repeat 50% 100% / 64% 4px;
}
.gr-modal-head .wiz-steps .st.active .dot {
    background: #16233F; border-color: #16233F; color: #FFF;
    box-shadow: 0 0 0 4px #FFF, 0 0 0 6px #F2B338;
}
.gr-modal-head .wiz-steps .st.done { color: #12204A; }
.gr-modal-head .wiz-steps .st.done .dot { background: #E2F6EC; border-color: #178A5B; color: #178A5B; }
.gr-modal-head .wiz-steps .st.done::before, .gr-modal-head .wiz-steps .st.done::after,
.gr-modal-head .wiz-steps .st.active::before { background: #F2B338; }

/* ---- section band (mockup "Personal Details" / "Guest Details" strip) --- */
.dlg-band {
    display: flex; align-items: center; gap: 14px;
    background: linear-gradient(90deg, #EAF1FC, #F3F7FD 70%, #F7FAFE);
    border: 1px solid #E1EAF6; border-radius: 14px; padding: 12px 16px; margin: 0 0 18px;
}
.dlg-band .b-ico {
    width: 46px; height: 46px; border-radius: 50%; flex: 0 0 auto; display: grid; place-items: center;
    background: #FFF; color: #2563EB; box-shadow: 0 2px 8px -4px rgba(37,99,235,.45);
}
.dlg-band .b-ico svg { width: 22px; height: 22px; }
.dlg-band .b-t { font-family: var(--cond); font-size: 19px; font-weight: 800; color: #12204A; line-height: 1.2; }
.dlg-band .b-s { font-size: 13.5px; color: #4F5F7C; margin-top: 1px; }
.dlg-band.slim { padding: 10px 14px; }
.dlg-band.slim .b-ico { width: 38px; height: 38px; }
.dlg-band.slim .b-ico svg { width: 19px; height: 19px; }
.dlg-band.slim .b-t { font-size: 17px; }
.dlg-band.gold .b-ico { color: #D3901A; }

/* ---- form fields inside dialogs (mockup: title-case bold labels, 48px inputs) */
.modal .form-label, .modal .gr-wizard .form-label {
    text-transform: none !important; letter-spacing: 0 !important; font-family: var(--sans);
    font-size: 14.5px !important; font-weight: 700 !important; color: #12204A !important; margin-bottom: 7px;
}
.modal .form-label .req, .modal .req { color: #E5383B; }
.modal .form-control, .modal .form-select {
    min-height: 48px; border-radius: 11px; border: 1.5px solid #DCE3EE; font-size: 15px; color: #12204A;
}
.modal .form-control::placeholder { color: #8C99B0; }
.modal .form-control:focus, .modal .form-select:focus { border-color: #E39A1F; box-shadow: 0 0 0 4px rgba(242,179,56,.18); }
.modal textarea.form-control { min-height: 96px; }
.modal .field-ico .form-control, .modal .field-ico .form-select { height: 48px; padding-left: 46px; font-size: 15px; }
.modal .field-ico > .ico { left: 15px; color: #5B6B86; }
.modal .field-ico > .ico svg { width: 19px; height: 19px; }

/* Guest Reservation: Search Your Stay card + features panel */
.gr-wizard .stay-card { border: 1px solid #E1EAF6; border-radius: 16px; padding: 0 0 18px; background: #FFF; height: 100%; }
.gr-wizard .stay-card .dlg-band { border: 0; border-bottom: 1px solid #E8EEF6; border-radius: 16px 16px 0 0; background: #FFF; padding: 16px 20px; }
.gr-wizard .stay-card .dlg-band .b-ico { border-radius: 12px; background: #EEF3FB; box-shadow: none; color: #12204A; }
.gr-wizard .stay-card > .row { padding: 0 20px; }
.features-card {
    position: relative; overflow: hidden; border-radius: 16px; border: 1px solid #DCE6F4; padding: 26px 24px;
    background:
        radial-gradient(260px 220px at 100% 100%, rgba(242,179,56,.28), transparent 70%),
        radial-gradient(320px 260px at 85% 60%, rgba(255,226,170,.35), transparent 70%),
        linear-gradient(160deg, #EEF4FD 0%, #E3ECFA 100%);
}
.features-card .hotel-illus { display: none; }
.features-card .feat { padding: 14px 0; border-bottom: 1px solid rgba(186,202,226,.55); align-items: center; gap: 16px; max-width: 78%; }
.features-card .feat:last-child { border-bottom: 0; }
.features-card .feat .fi { width: 52px; height: 52px; flex: 0 0 52px; border-radius: 14px; border: 0; box-shadow: 0 4px 12px -6px rgba(22,35,63,.25); color: #D3901A; }
.features-card .feat .fi svg { width: 24px; height: 24px; }
.features-card .feat h5 { font-size: 17px; font-weight: 800; color: #12204A; }
.features-card .feat p { font-size: 14px; color: #3B4A68; }
.features-card::after {
    content: ""; position: absolute; right: 18px; bottom: 18px; width: 120px; height: 120px; border-radius: 50%;
    background: radial-gradient(circle at 50% 60%, #F6D08A 0 22%, #C98B12 23% 27%, transparent 28%),
                radial-gradient(circle at 50% 78%, #8A6A1B 0 35%, transparent 36%);
    opacity: .55;
}

/* summary card to match */
.summary-card { border-radius: 16px; border-color: #DCE6F4; }
.user-chip, .user-chip #chipName, .topbar-pill { white-space: nowrap; }
.topbar .title-wrap { flex: 1 1 auto; }
.topbar #propertySwitch {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2312204A' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important; background-position: right 6px center !important; background-size: 14px 11px !important;
    max-width: 400px;
}
.topbar .view-sub { white-space: normal; overflow: visible; }
.stat-card .s-top, .stat-card .s-value, .stat-card .s-hint { position: relative; z-index: 1; }
.stat-card .s-value { white-space: nowrap; font-size: 25px; }

/* ---- Enroll a Guest (exact mockup) -------------------------------------- */
.modal-header.enroll-dlg {
    background: #FFF;
}
.modal-header.enroll-dlg ~ .modal-body .dlg-band.slim,
.dlg-band.slim {
    background: linear-gradient(90deg, #E7EFFB, #EEF3FC 70%, #F3F7FD);
    border: 0; border-radius: 12px; padding: 10px 18px; margin-bottom: 20px;
}
.dlg-band.slim .b-ico { background: none; box-shadow: none; width: auto; height: auto; border-radius: 0; color: #2563EB; }
.dlg-band.slim .b-ico svg { width: 28px; height: 28px; }
.dlg-band.slim .b-t { font-size: 21px; }
.modal .btn-newguest {
    height: 48px; display: inline-flex; align-items: center; gap: 10px; padding: 0 22px;
    font-size: 16px; font-weight: 800; color: #12204A; border-radius: 11px;
    background: #F1F6FE; border: 1.5px solid #C9D7EE;
}
.modal .btn-newguest:hover { background: #E6EEFC; color: #12204A; }
.modal .btn-newguest svg { width: 21px; height: 21px; }
.enroll-dlg ~ .modal-body #e_search { border-color: #C9D7EE; }
.enroll-dlg ~ .modal-body .field-ico > .ico svg { width: 22px; height: 22px; }
.enroll-about {
    display: flex; gap: 18px; align-items: center; padding: 18px 20px;
    background: linear-gradient(180deg, #FFFBF1, #FFF6E2); border: 1.5px solid #F6E2B4; border-radius: 14px;
}
.enroll-about .ea-ico {
    width: 64px; height: 64px; border-radius: 50%; flex: 0 0 auto; display: grid; place-items: center;
    background: #FDEFCF; color: #D3901A;
}
.enroll-about .ea-ico svg { width: 32px; height: 32px; }
.enroll-about .ea-t { font-family: var(--cond); font-size: 19px; font-weight: 800; color: #12204A; margin-bottom: 4px; }
.enroll-about .ea-s { font-size: 15px; color: #3B4A68; line-height: 1.5; }
.enroll-dlg ~ .modal-footer { background: linear-gradient(180deg, #EEF4FD, #E8F0FC); border-top-color: #DDE7F5; }
.enroll-dlg ~ .modal-footer .btn { height: 52px; font-size: 17px; }
.enroll-dlg ~ .modal-footer .btn-outline-ink { min-width: 158px; }
.enroll-dlg ~ .modal-footer .btn-brass { min-width: 160px; background: linear-gradient(180deg, #E9A93A, #CF8A17); border-color: #C48316; color: #FFF; }
.enroll-dlg ~ .modal-footer .btn-brass svg { color: #FFF; }
.modal-dialog:has(.enroll-dlg) { max-width: 1110px; }
.enroll-dlg ~ .modal-body .field-ico select.form-select { padding-left: 50px; }
.modal-footer .enroll-go, .enroll-dlg ~ .modal-footer #saveEnrol { color: #FFF !important; }

/* =============================================================================
   Loyalty page (mockup)
   ============================================================================= */
.ly-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-bottom: 20px; }
@media (max-width: 1100px) { .ly-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ly-stat {
    position: relative; overflow: hidden; display: flex; gap: 18px; align-items: flex-start;
    padding: 20px 22px; min-height: 124px; border-radius: 18px; border: 1px solid #E4EBF5;
    background: linear-gradient(135deg, #FFF 35%, var(--tone-wash) 140%);
    box-shadow: 0 2px 4px rgba(22,35,63,.04), 0 10px 26px -18px rgba(22,35,63,.25);
}
.ly-stat-ico {
    width: 62px; height: 62px; border-radius: 50%; flex: 0 0 auto; display: grid; place-items: center;
    background: var(--tone-wash); color: var(--tone);
}
.ly-stat-ico svg { width: 30px; height: 30px; stroke-width: 2; }
.ly-stat-txt { position: relative; z-index: 1; min-width: 0; }
.ly-stat .l { font-size: 13px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; color: #12204A; }
.ly-stat .v { font-family: var(--cond); font-size: 34px; font-weight: 800; color: #12204A; line-height: 1.1; margin: 6px 0 4px; }
.ly-stat .h { font-size: 14.5px; color: #3B4A68; }
.ly-stat-ghost { position: absolute; right: 14px; bottom: 6px; color: var(--tone); opacity: .14; }
.ly-stat-ghost svg { width: 70px; height: 70px; stroke-width: 2.2; }
.ly-stat.tone-gold { background: linear-gradient(135deg, #FFF 30%, #FDF0D6 140%); }

.ly-shell { background: rgba(255,255,255,.55); border: 1px solid #E4EBF5; border-radius: 20px; padding: 18px; }
.ly-tabs { display: inline-flex; gap: 10px; margin-bottom: 18px; }
.ly-tab {
    display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 26px; border-radius: 12px;
    border: 1px solid #E1E8F2; background: #EEF2F8; color: #3B4A68; font-size: 16px; font-weight: 600; cursor: pointer;
}
.ly-tab svg { width: 20px; height: 20px; }
.ly-tab:hover { background: #E6ECF5; }
.ly-tab.active {
    background: linear-gradient(180deg, #E9A93A, #CF8A17); border-color: #C48316; color: #FFF;
    box-shadow: 0 8px 18px -10px rgba(207,138,23,.9);
}

.ly-card { background: #FFF; border: 1px solid #E4EBF5; border-radius: 18px; padding: 22px 22px 18px; }
.ly-head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.ly-head-ico { color: #D3901A; display: inline-flex; }
.ly-head-ico svg { width: 42px; height: 42px; stroke-width: 1.7; }
.ly-head h2 { font-family: var(--cond); font-size: 26px; font-weight: 800; color: #12204A; margin: 0; letter-spacing: -.01em; }
.ly-head p { font-size: 15.5px; color: #3B4A68; margin: 2px 0 0; }
.ly-cta { margin-left: auto; height: 50px; padding: 0 24px; font-size: 16.5px; border-radius: 12px;
    display: inline-flex; align-items: center; gap: 10px;
    background: linear-gradient(180deg, #E9A93A, #CF8A17) !important; border-color: #C48316 !important; color: #FFF !important; }
.ly-cta svg { width: 22px; height: 22px; }

.ly-filters { gap: 14px; margin-bottom: 22px; flex-wrap: nowrap; }
.ly-filters .f-search { flex: 1 1 auto; min-width: 260px; }
.ly-filters .f-search svg { width: 20px; height: 20px; left: 16px; color: #12204A; }
.ly-filters .f-search input { padding-left: 50px; }
.ly-filters .form-control, .ly-filters .form-select {
    height: 46px; min-height: 46px; border-radius: 11px; border: 1.5px solid #DCE3EE; font-size: 15.5px; color: #12204A;
}
.ly-filters .form-select { width: 250px; flex: 0 0 auto; }
.ly-filters .btn-filter { height: 46px; padding: 0 24px; border-radius: 11px; font-size: 16px; display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.ly-clear { font-size: 16px; font-weight: 700; color: #2563EB; text-decoration: none; }
@media (max-width: 1200px) { .ly-filters { flex-wrap: wrap; } .ly-filters .form-select { width: auto; } }

.ly-table { border: 1px solid #E8EEF6; border-radius: 14px; overflow: visible; }
.ly-table table.grid { font-size: 15px; }
.ly-table table.grid thead th {
    background: #F6F8FC; color: #5B6B86; font-size: 13px; letter-spacing: .08em; padding: 14px 16px;
}
.ly-table table.grid thead th:first-child { border-top-left-radius: 14px; }
.ly-table table.grid thead th:last-child { border-top-right-radius: 14px; text-align: right; }
.ly-table table.grid tbody td { padding: 14px 16px; color: #12204A; }
.ly-table table.grid tbody td:first-child { font-weight: 400; }
.ly-table .avatar-badge { width: 46px; height: 46px; font-size: 16px; margin-right: 6px; }
.ly-table .c-title { font-size: 16px; font-weight: 800; }
.ly-table .c-sub { font-size: 14px; color: #5B6B86; }
.ly-table .c-sub .sep { margin: 0 8px; color: #A9B4C6; }
.ly-id {
    display: inline-grid; place-items: center; min-width: 52px; height: 32px; padding: 0 10px;
    border-radius: 9px; background: #E8F0FD; color: #12204A; font-weight: 800; font-size: 15px;
}
.ly-tier {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 999px;
    font-size: 15px; font-weight: 700; white-space: nowrap;
}
.ly-tier svg { width: 18px; height: 18px; }
.ly-tier.gold     { background: #FDEFD3; color: #8A5E10; }
.ly-tier.gold svg { color: #D3901A; fill: #F2B338; }
.ly-tier.silver   { background: #E6EEFB; color: #1D3FA4; }
.ly-tier.silver svg { color: #1D3FA4; fill: #2F5BD3; }
.ly-tier.platinum { background: #EFE9FB; color: #5B32B5; }
.ly-tier.platinum svg { color: #6D3FD8; fill: #8B63E8; }
.ly-points { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; color: #12204A; }
.ly-joined { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; color: #12204A; white-space: nowrap; }
.ly-joined svg { color: #5B6B86; }
.ly-table .pill { font-size: 14.5px; padding: 5px 14px; }
.ly-actions { display: inline-flex; gap: 10px; justify-content: flex-end; align-items: center; }
.ly-adjust { height: 42px; padding: 0 16px; font-size: 15px; border-radius: 10px; color: #12204A !important; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.ly-more { width: 42px; height: 42px; padding: 0; font-size: 20px; line-height: 1; font-weight: 800; color: #12204A !important; border-radius: 10px; letter-spacing: -1px; }
.ly-more-wrap { position: relative; display: inline-block; }
.ly-menu {
    position: absolute; right: 0; top: 48px; z-index: 30; min-width: 200px; padding: 6px;
    background: #FFF; border: 1px solid #E1E8F2; border-radius: 12px; box-shadow: 0 16px 36px -14px rgba(22,35,63,.35);
}
.ly-menu button {
    display: flex; align-items: center; gap: 10px; width: 100%; border: 0; background: none;
    padding: 9px 12px; border-radius: 8px; font-size: 14px; font-weight: 600; color: #12204A; text-align: left;
}
.ly-menu button:hover { background: #F1F5FB; }
.ly-menu button svg { color: #5B6B86; }

.ly-pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.ly-count { font-size: 16px; color: #3B4A68; }
.ly-count .dot { margin: 0 10px; color: #8C99B0; }
.ly-pages { display: inline-flex; gap: 10px; align-items: center; }
.ly-pg {
    height: 46px; min-width: 46px; padding: 0 22px; border-radius: 11px; font-size: 16px; font-weight: 600;
    background: #FFF; border: 1.5px solid #DCE3EE; color: #12204A;
}
.ly-pg.num { padding: 0 14px; }
.ly-pg.current { background: #12204A; border-color: #12204A; color: #FFF; font-weight: 800; }
.ly-pg:disabled { color: #9AA7BE; background: #F7F9FC; opacity: 1; }
.ly-pg:not(:disabled):not(.current):hover { background: #F1F5FB; }
.ly-ellipsis { color: #8C99B0; padding: 0 4px; }

.ly-mini { border: 1px solid #E4EBF5; border-radius: 12px; padding: 12px 14px; background: #F8FAFE; }
.ly-mini .l { font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; color: #5B6B86; }
.ly-mini .v { font-family: var(--cond); font-size: 22px; font-weight: 800; color: #12204A; }
.ly-table .table-responsive { overflow: visible; }
.ly-table table.grid { table-layout: auto; }
.ly-table table.grid tbody td, .ly-table table.grid thead th { padding-left: 12px; padding-right: 12px; }
.ly-table .c-sub { white-space: nowrap; }
.ly-table td:last-child, .ly-table th:last-child { width: 1%; white-space: nowrap; }
.ly-points svg { width: 24px; height: 24px; flex: 0 0 auto; }
.ly-stat-ghost { opacity: .10; bottom: 4px; right: 10px; }
.ly-stat .h { position: relative; z-index: 1; }
@media (max-width: 1400px) { .ly-table .c-sub .sep, .ly-table .c-sub .ph { display: none; } }
.ly-table .c-sub { white-space: normal; }
.ly-table .c-sub .ct { white-space: nowrap; }
.ly-table .cell-main { min-width: 0; }
.ly-table .cell-main > span:last-child { min-width: 0; }
.ly-table td:nth-child(2) { min-width: 220px; }
.ly-table td:nth-child(3), .ly-table td:nth-child(5), .ly-table td:nth-child(6) { white-space: nowrap; }
@media (max-width: 1500px) {
    .ly-adjust .lbl { display: none; }
    .ly-adjust { width: 42px; padding: 0; justify-content: center; }
    .ly-tier { padding: 5px 12px; font-size: 14px; }
}
/* fixed proportional columns: always fits the container */
.ly-table table.grid { table-layout: fixed; width: 100%; }
.ly-table th:nth-child(1) { width: 7%; }
.ly-table th:nth-child(2) { width: 25%; }
.ly-table th:nth-child(3) { width: 15%; }
.ly-table th:nth-child(4) { width: 9%; }
.ly-table th:nth-child(5) { width: 12%; }
.ly-table th:nth-child(6) { width: 10%; }
.ly-table th:nth-child(7) { width: 22%; }
.ly-table td:nth-child(2) { min-width: 0; overflow: hidden; }
.ly-table .c-title { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ly-table td:nth-child(5) { white-space: normal; }
.ly-table td:last-child, .ly-table th:last-child { width: 22%; }
@media (max-width: 1500px) {
    .ly-adjust .lbl { display: inline; }
    .ly-adjust { width: auto; padding: 0 12px; font-size: 14px; }
    .ly-table .avatar-badge { width: 38px; height: 38px; font-size: 14px; }
    .ly-table table.grid { font-size: 14px; }
}
@media (max-width: 1250px) { .ly-adjust .lbl { display: none; } .ly-adjust { width: 42px; padding: 0; } }
.ly-table td:nth-child(2) .c-sub { white-space: normal !important; display: flex; flex-wrap: wrap; column-gap: 0; }
.ly-table td:nth-child(2) .c-sub .sep { margin: 0 8px; }
.ly-table td:nth-child(1), .ly-table th:nth-child(1) { padding-left: 16px; }
@media (max-width: 1500px) {
    .ly-adjust .lbl { display: none; }
    .ly-adjust { width: 42px; padding: 0; justify-content: center; }
    .ly-table th:nth-child(1) { width: 7%; }
    .ly-table th:nth-child(2) { width: 28%; }
    .ly-table th:nth-child(3) { width: 16%; }
    .ly-table th:nth-child(4) { width: 10%; }
    .ly-table th:nth-child(5) { width: 13%; }
    .ly-table th:nth-child(6) { width: 12%; }
    .ly-table td:last-child, .ly-table th:last-child { width: 14%; }
    .ly-filters { flex-wrap: wrap; }
    .ly-filters .f-search { flex: 1 1 100%; }
    .ly-filters .form-select { flex: 1 1 200px; width: auto; }
    .ly-table .pill { font-size: 13px; padding: 4px 10px; }
    .ly-joined { font-size: 14.5px; gap: 6px; white-space: nowrap; }
    .ly-points { font-size: 15px; }
}
@media (max-width: 1500px) { .ly-table table.grid thead th { letter-spacing: .04em; font-size: 12px; padding-left: 10px; padding-right: 10px; } }

/* ---- shared mockup dialog chrome (wave header + blue footer) ------------ */
.modal-header.mock-dlg {
    background: #FFF !important;
}
.mock-dlg ~ .modal-footer { background: linear-gradient(180deg, #EEF4FD, #E8F0FC); border-top-color: #DDE7F5; }
.mock-dlg ~ .modal-footer .btn { height: 52px; font-size: 17px; }
.mock-dlg ~ .modal-footer .btn-outline-ink { min-width: 150px; }
.mock-dlg ~ .modal-footer .btn-brass {
    min-width: 190px; color: #FFF !important;
    background: linear-gradient(180deg, #E9A93A, #CF8A17); border-color: #C48316;
}
.mock-dlg ~ .modal-footer .btn-brass svg { color: #FFF; }
.mock-dlg ~ .modal-body .dlg-band .b-ico {
    background: radial-gradient(circle at 40% 35%, #FFF, #E3ECFA); box-shadow: none; color: #2457D6;
}
.mock-dlg ~ .modal-body .dlg-band { background: linear-gradient(90deg, #E9F0FB, #EFF4FC 70%, #F4F7FD); border-color: #E3EBF7; }

/* phone field with dial code */
.phone-field {
    display: flex; align-items: center; height: 48px; border: 1.5px solid #DCE3EE; border-radius: 11px;
    background: #FFF; padding: 0 0 0 14px; gap: 8px;
}
.phone-field:focus-within { border-color: #E39A1F; box-shadow: 0 0 0 4px rgba(242,179,56,.18); }
.phone-field:has(.is-invalid) { border-color: var(--danger); }
.phone-field .pf-ico { color: #12204A; display: inline-flex; }
.phone-field .pf-ico svg { width: 19px; height: 19px; }
.phone-field .pf-flag { font-size: 20px; line-height: 1; }
.phone-field .pf-cc {
    border: 0; background: transparent; font-size: 15px; font-weight: 700; color: #12204A;
    padding: 0 2px; appearance: none; -webkit-appearance: none; cursor: pointer; outline: none;
    padding-right: 10px; border-right: 1.5px solid #DCE3EE; height: 30px;
}
.phone-field .pf-sep { color: #12204A; font-weight: 700; padding: 0 4px; }
.modal .phone-field .pf-num {
    border: 0 !important; box-shadow: none !important; min-height: 44px; height: 44px; padding-left: 4px;
    flex: 1; border-radius: 0 11px 11px 0;
}

/* ---- Guests page -------------------------------------------------------- */
.gs-card .ly-head { flex-wrap: wrap; }
.gs-actions { margin-left: auto; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.gs-actions .ly-cta { margin-left: 0; }
.gs-btn {
    height: 50px; padding: 0 20px; border-radius: 12px; font-size: 16px; color: #12204A !important;
    display: inline-flex; align-items: center; gap: 10px; border-color: #DCE3EE;
}
.gs-btn svg { width: 20px; height: 20px; }
.gs-filters .form-select { width: 220px; }
.gs-table th:nth-child(1) { width: 22%; }
.gs-table th:nth-child(2) { width: 21%; }
.gs-table th:nth-child(3) { width: 10%; }
.gs-table th:nth-child(4) { width: 11%; }
.gs-table th:nth-child(5) { width: 10%; }
.gs-table th:nth-child(6) { width: 11%; }
.gs-table th:nth-child(7) { width: 8%; }
.gs-table td:last-child, .gs-table th:last-child { width: 7% !important; }
.gs-table .c-title { color: #12204A; text-decoration: none; }
.gs-table .c-title:hover { color: #2563EB; }
.gs-table .c-sub .pill { font-size: 11.5px; padding: 2px 8px; margin-left: 6px; }
.gs-contact { display: flex; flex-direction: column; gap: 3px; font-size: 14px; color: #3B4A68; min-width: 0; }
.gs-contact span { display: inline-flex; align-items: center; gap: 7px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gs-contact svg { color: #8C99B0; flex: 0 0 auto; }
.gs-type { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 700; background: #EEF2F8; color: #3B4A68; }
.gs-type.t-corporate { background: #E6EEFB; color: #1D3FA4; }
.gs-type.t-vip { background: #FDEFD3; color: #8A5E10; }
.gs-type.t-group { background: #EFE9FB; color: #5B32B5; }
.gs-type.t-staff { background: #E2F6EC; color: #178A5B; }
.gs-table td:nth-child(6), .gs-table td:nth-child(5) { white-space: nowrap; }
.gs-table .ly-more svg { width: 18px; height: 18px; }

.gs-empty { text-align: center; padding: 26px 20px 34px; }
.gs-empty-art { width: 340px; max-width: 80%; height: auto; display: block; margin: 0 auto 6px; }
.gs-empty .headline { font-family: var(--cond); font-size: 26px; font-weight: 800; color: #12204A; }
.gs-empty .hint { font-size: 17px; color: #4F5F7C; margin: 4px 0 18px; }
.gs-empty .ly-cta { margin: 0 auto; }

@media (max-width: 1500px) {
    .gs-filters .form-select { flex: 1 1 180px; width: auto; }
    .gs-table th:nth-child(1) { width: 25%; }
    .gs-table th:nth-child(2) { width: 22%; }
    .gs-table th:nth-child(6) { width: 12%; }
    .gs-table th:nth-child(4) { width: 9%; }
}
.gs-table th:nth-child(1) { width: 20%; }
.gs-table th:nth-child(2) { width: 20%; }
.gs-table td:last-child, .gs-table th:last-child { width: 10% !important; }
.gs-table .ly-actions { gap: 8px; }
@media (max-width: 1500px) {
    .gs-table th:nth-child(1) { width: 23%; }
    .gs-table th:nth-child(2) { width: 21%; }
    .gs-table th:nth-child(3) { width: 9%; }
    .gs-table th:nth-child(5) { width: 9%; }
    .gs-table th:nth-child(7) { width: 8%; }
    .gs-table td:last-child, .gs-table th:last-child { width: 11% !important; }
    .gs-table .ly-more { width: 38px; height: 38px; }
}
.modal-header.mock-dlg.gr-modal-head {
    background: #FFF !important;
}
.modal-dialog:has(.gr-modal-head.mock-dlg) { max-width: 1130px; }

/* =============================================================================
   Waiting list page + dialog (mockup)
   ============================================================================= */
.wl-filters { flex-wrap: wrap; }
.wl-filters .f-search { flex: 1 1 280px; }
.wl-filters .form-select { width: 175px; flex: 0 0 auto; }
.wl-range {
    display: inline-flex; align-items: center; gap: 6px; height: 46px; padding: 0 12px;
    border: 1.5px solid #DCE3EE; border-radius: 11px; background: #FFF; color: #12204A;
}
.wl-range > svg { width: 19px; height: 19px; flex: 0 0 auto; }
.wl-range input { border: 0; outline: none; background: transparent; font-size: 15px; color: #12204A; width: 132px; }
.wl-range .dash { color: #8C99B0; }
.wl-range:focus-within { border-color: #E39A1F; box-shadow: 0 0 0 4px rgba(242,179,56,.18); }

.wl-table th:nth-child(1) { width: 21%; }
.wl-table th:nth-child(2) { width: 14%; }
.wl-table th:nth-child(3) { width: 18%; }
.wl-table th:nth-child(4) { width: 7%; }
.wl-table th:nth-child(5) { width: 9%; }
.wl-table th:nth-child(6) { width: 11%; }
.wl-table th:nth-child(7) { width: 11%; }
.wl-table td:last-child, .wl-table th:last-child { width: 9% !important; }
.wl-rt, .wl-src { display: inline-flex; align-items: center; gap: 8px; color: #12204A; }
.wl-rt svg, .wl-src svg { color: #5B6B86; flex: 0 0 auto; }
.wl-dates { white-space: nowrap; font-weight: 600; }
.wl-dates .arr { color: #8C99B0; margin: 0 2px; }
.wl-prio { display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 999px; font-weight: 800; font-size: 14px; }
.wl-prio svg { width: 13px; height: 13px; }
.wl-prio.phi  { background: #FDE9E7; color: #B42318; }
.wl-prio.pmid { background: #FDEFD3; color: #8A5E10; }
.wl-prio.plo  { background: #EEF2F8; color: #3B4A68; }

/* dialog */
.modal-dialog:has(.wl-dlg) { max-width: 1160px; }
.wl-dlg ~ .modal-body { padding: 10px 26px 16px; }
.wl-sec {
    display: flex; align-items: center; gap: 14px; margin: 10px -4px 12px; padding: 10px 14px;
    border-radius: 10px; background: linear-gradient(90deg, #EEF3FB, #F4F7FD 70%, #F8FAFE);
}
.wl-sec .ico { color: #2457D6; display: inline-flex; }
.wl-sec .ico svg { width: 28px; height: 28px; stroke-width: 1.8; }
.wl-sec .t { font-family: var(--cond); font-size: 21px; font-weight: 800; color: #12204A; }
.wl-block { padding: 0 6px 6px; }
.wl-block.row { margin-left: -6px; margin-right: -6px; }
.wl-results { margin-top: 8px; max-height: 210px; overflow: auto; display: grid; gap: 6px; }
.wl-hit {
    display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 8px 12px;
    border: 1.5px solid #E1E8F2; border-radius: 11px; background: #FFF; cursor: pointer;
}
.wl-hit:hover { border-color: #E39A1F; background: #FFFBF1; }
.wl-hit span { display: flex; flex-direction: column; }
.wl-hit strong { font-size: 15px; color: #12204A; }
.wl-hit small { font-size: 13px; color: #5B6B86; }
.wl-hit .avatar-badge { width: 36px; height: 36px; font-size: 13px; }
.wl-none { font-size: 14px; color: #5B6B86; padding: 6px 2px; }
.wl-chosen { margin-top: 8px; font-size: 14.5px; color: #12204A; min-height: 4px; }
.wl-step { position: relative; }
.wl-step .ico { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #12204A; display: inline-flex; z-index: 2; }
.wl-step .ico svg { width: 20px; height: 20px; }
.modal .wl-step .form-control { padding-left: 48px; padding-right: 36px; -moz-appearance: textfield; }
.wl-step input::-webkit-outer-spin-button, .wl-step input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.wl-step .arrows { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; }
.wl-step .arrows button { border: 0; background: none; font-size: 10px; line-height: 1; padding: 2px 4px; color: #12204A; cursor: pointer; }
.wl-step .arrows button:hover { color: #E39A1F; }
.wl-notes { position: relative; }
.modal .wl-notes textarea { min-height: 70px; padding: 12px 16px 26px; resize: vertical; }
.wl-notes .count { position: absolute; right: 22px; bottom: 14px; font-size: 13px; color: #8C99B0; }

@media (max-width: 1500px) {
    .wl-filters .form-select { flex: 1 1 160px; width: auto; }
    .wl-range input { width: 118px; }
    .wl-table th:nth-child(1) { width: 22%; }
    .wl-table th:nth-child(3) { width: 19%; }
    .wl-table th:nth-child(6) { width: 10%; }
    .wl-table td:last-child, .wl-table th:last-child { width: 10% !important; }
}
.wl-filters { flex-wrap: nowrap; gap: 10px; }
.wl-filters .f-search { flex: 1 1 200px; min-width: 180px; }
.wl-filters .form-select { width: 150px; flex: 0 1 150px; min-width: 120px; padding-right: 30px; }
.wl-range { flex: 0 0 auto; padding: 0 10px; }
.wl-range input { width: 112px; font-size: 14.5px; }
.wl-range input::-webkit-calendar-picker-indicator { margin-left: -4px; opacity: .6; cursor: pointer; }
.wl-filters .btn-filter { padding: 0 18px; flex: 0 0 auto; }
.wl-filters .ly-clear { padding: 0 4px; flex: 0 0 auto; }
@media (max-width: 1500px) {
    .wl-filters { flex-wrap: wrap; }
    .wl-filters .f-search { flex: 1 1 100%; }
    .wl-filters .form-select { flex: 1 1 140px; }
    .wl-table th:nth-child(1) { width: 21%; }
    .wl-table th:nth-child(2) { width: 13%; }
    .wl-table th:nth-child(3) { width: 19%; }
    .wl-table th:nth-child(4) { width: 7%; }
    .wl-table th:nth-child(5) { width: 9%; }
    .wl-table th:nth-child(6) { width: 11%; }
    .wl-table th:nth-child(7) { width: 10%; }
    .wl-table td:last-child, .wl-table th:last-child { width: 10% !important; }
    .wl-dates { white-space: normal; }
    .wl-table .ly-actions { gap: 6px; }
}
@media (max-width: 1500px) { .wl-table .ly-more { width: 36px; height: 36px; } .wl-table td:last-child { padding-left: 6px; padding-right: 8px; } }

/* =============================================================================
   Reservations page + Guest Reservation wizard (mockup)
   ============================================================================= */
.rv-stats { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1400px) { .rv-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rv-stats .ly-stat { padding: 18px 18px; gap: 14px; }
.rv-stats .ly-stat-ico { width: 54px; height: 54px; border-radius: 14px; }
.rv-stats .ly-stat-ico svg { width: 26px; height: 26px; }
.rv-stats .ly-stat .v { font-size: 30px; }
.rv-stats .ly-stat.tone-red { background: linear-gradient(135deg, #FFF 30%, #FDE7E5 140%); }

.rv-filters { flex-wrap: nowrap; }
.rv-filters .f-search { flex: 1 1 300px; }
.rv-filters .form-select { width: 220px; flex: 0 1 220px; }
.rv-date {
    display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 12px; flex: 0 1 210px;
    border: 1.5px solid #DCE3EE; border-radius: 11px; background: #FFF; color: #12204A;
}
.rv-date > svg { width: 18px; height: 18px; flex: 0 0 auto; color: #5B6B86; }
.rv-date input { border: 0; outline: none; background: transparent; font-size: 15px; color: #12204A; width: 100%; min-width: 0; }
.rv-date:focus-within { border-color: #E39A1F; box-shadow: 0 0 0 4px rgba(242,179,56,.18); }
@media (max-width: 1500px) {
    .rv-filters { flex-wrap: wrap; }
    .rv-filters .f-search { flex: 1 1 100%; }
    .rv-filters .form-select, .rv-date { flex: 1 1 170px; width: auto; }
}

.rv-table th:nth-child(1) { width: 11%; }
.rv-table th:nth-child(2) { width: 16%; }
.rv-table th:nth-child(3) { width: 9%; }
.rv-table th:nth-child(4) { width: 9%; }
.rv-table th:nth-child(5) { width: 6%; }
.rv-table th:nth-child(6) { width: 6%; }
.rv-table th:nth-child(7) { width: 11%; }
.rv-table th:nth-child(8) { width: 10%; }
.rv-table th:nth-child(9) { width: 8%; }
.rv-table th:nth-child(10) { width: 8%; }
.rv-table td:last-child, .rv-table th:last-child { width: 8% !important; }
.rv-table th.text-end, .rv-table td.text-end { text-align: right; }
.rv-table th.text-center, .rv-table td.text-center { text-align: center; }
.rv-table tbody td { padding-top: 11px; padding-bottom: 11px; }
.rv-no { color: #2563EB; font-weight: 800; text-decoration: none; font-size: 15px; }
.rv-no:hover { text-decoration: underline; }
.rv-av {
    display: inline-grid; place-items: center; width: 34px; height: 30px; border-radius: 8px; flex: 0 0 auto;
    font-size: 12px; font-weight: 800; background: var(--tone-wash); color: var(--tone);
}
.rv-d { white-space: nowrap; }
.rv-src { display: inline-flex; align-items: center; gap: 9px; color: #12204A; }
.rv-src svg { color: #12204A; flex: 0 0 auto; }
.rv-due { color: #12204A; font-weight: 700; }
.rv-table .ly-more { width: 40px; height: 40px; display: inline-grid; place-items: center; padding: 0; }
.rv-table .pill { white-space: nowrap; }
@media (max-width: 1500px) {
    .rv-table th:nth-child(1) { width: 12%; }
    .rv-table th:nth-child(2) { width: 15%; }
    .rv-table th:nth-child(5), .rv-table th:nth-child(6) { width: 5.5%; }
    .rv-table th:nth-child(7) { width: 10%; }
    .rv-table td:last-child, .rv-table th:last-child { width: 9% !important; }
    .rv-table .ly-more { width: 34px; height: 34px; }
    .rv-table .ly-actions { gap: 5px; }
    .rv-table table.grid { font-size: 13.5px; }
}

/* Guest Reservation wizard */
.modal-dialog:has(.gr-res-dlg) { max-width: 1500px; }
.gr-res-dlg ~ .modal-body { padding: 22px 30px; }
.gr-wizard .stay-card { border-color: #E1EAF6; }
.gr-wizard .stay-card .dlg-band .b-ico {
    width: 56px; height: 56px; border-radius: 14px; background: #EEF3FB; color: #12204A; box-shadow: none;
}
.gr-wizard .stay-card .dlg-band .b-ico svg { width: 28px; height: 28px; }
.gr-wizard .stay-card .dlg-band .b-t { font-size: 24px; }
.gr-wizard .stay-card .dlg-band .b-s { font-size: 15.5px; }
.gr-wizard .field-ico { position: relative; }
.gr-arrows { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; z-index: 2; }
.gr-arrows button { border: 0; background: none; padding: 0 2px; line-height: 0; color: #12204A; cursor: pointer; }
.gr-arrows button:hover { color: #E39A1F; }
.gr-wizard #wAd, .gr-wizard #wCh { -moz-appearance: textfield; padding-right: 40px; }
.gr-wizard #wAd::-webkit-inner-spin-button, .gr-wizard #wCh::-webkit-inner-spin-button,
.gr-wizard #wAd::-webkit-outer-spin-button, .gr-wizard #wCh::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

.features-card { padding: 26px 26px 20px; min-height: 360px; }
.features-card::after { display: none !important; }
.features-card .feat { max-width: 62%; }
.features-card .gr-bell { position: absolute; right: 6px; bottom: 6px; width: 46%; max-width: 250px; height: auto; pointer-events: none; }
@media (max-width: 1200px) { .features-card .gr-bell { width: 40%; opacity: .7; } .features-card .feat { max-width: 100%; } }
.rv-table thead th { white-space: normal; line-height: 1.25; letter-spacing: .05em; font-size: 12.5px; }
.rv-table th:nth-child(1) { width: 10%; }
.rv-table th:nth-child(2) { width: 15%; }
.rv-table th:nth-child(3), .rv-table th:nth-child(4) { width: 8.5%; }
.rv-table th:nth-child(5), .rv-table th:nth-child(6) { width: 5.5%; }
.rv-table th:nth-child(7) { width: 10.5%; }
.rv-table th:nth-child(8) { width: 9.5%; }
.rv-table th:nth-child(9), .rv-table th:nth-child(10) { width: 9%; }
.rv-table td:last-child, .rv-table th:last-child { width: 9% !important; }
.rv-table .ly-actions { gap: 6px; }
.rv-table .ly-more { width: 38px; height: 38px; }
.rv-table table.grid thead th { white-space: normal !important; }
@media (max-width: 1500px) {
    .rv-table th:nth-child(2) { width: 14%; }
    .rv-table th:nth-child(7) { width: 10%; }
    .rv-table td:last-child, .rv-table th:last-child { width: 10.5% !important; }
    .rv-table td, .rv-table th { padding-left: 8px !important; padding-right: 8px !important; }
}
@media (min-width: 1200px) { .modal-dialog.modal-xl:has(.gr-res-dlg) { max-width: min(1440px, 94vw); } }
.features-card .feat { max-width: 66%; padding: 13px 0; }
.features-card .feat h5 { font-size: 16.5px; white-space: nowrap; }
.features-card .feat p { font-size: 14px; }
.features-card .gr-bell { width: 38%; max-width: 230px; right: 4px; bottom: 4px; }

/* =============================================================================
   Room rack (mockup)
   ============================================================================= */
.rk-card { padding-bottom: 22px; }
.rk-head { flex-wrap: wrap; row-gap: 14px; }
.rk-head .ly-head-ico svg { width: 44px; height: 44px; }
.rk-tools { margin-left: auto; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.rk-tools .form-select { width: 190px; height: 48px; border-radius: 12px; border: 1.5px solid #DCE3EE; font-size: 15px; font-weight: 600; color: #12204A; }
.rk-seg { display: inline-flex; background: #FFF; border: 1.5px solid #DCE3EE; border-radius: 12px; padding: 3px; gap: 3px; }
.rk-segb {
    display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 0 18px; border: 0; border-radius: 9px;
    background: transparent; font-size: 16px; font-weight: 700; color: #12204A; cursor: pointer;
}
.rk-segb svg { width: 20px; height: 20px; }
.rk-segb.active { background: #12204A; color: #FFF; }
.rk-layout { display: inline-flex; border: 1.5px solid #DCE3EE; border-radius: 12px; overflow: hidden; background: #FFF; }
.rk-lb { width: 52px; height: 45px; border: 0; background: transparent; color: #12204A; display: grid; place-items: center; cursor: pointer; }
.rk-lb + .rk-lb { border-left: 1.5px solid #DCE3EE; }
.rk-lb.active { background: #FDEFCF; color: #D3901A; }

.rk-legend { display: flex; flex-wrap: wrap; gap: 26px; align-items: center; font-size: 15px; color: #12204A; padding: 2px 4px 16px; border-bottom: 1px solid #EEF2F8; margin-bottom: 16px; }
.rk-legend span { display: inline-flex; align-items: center; gap: 9px; }
.rk-legend i { width: 16px; height: 16px; border-radius: 50%; display: inline-block; }
.rk-legend i.hatch { background: repeating-linear-gradient(135deg, #D7DEEA 0 3px, #F4F6FA 3px 6px); border: 1px solid #D7DEEA; }

.rk-floor { margin-bottom: 18px; }
.rk-floor-bar {
    display: flex; align-items: center; gap: 12px; padding: 9px 16px; margin-bottom: 14px;
    border-radius: 10px; background: #EAF0FA; color: #12204A; font-size: 16px; text-transform: uppercase; letter-spacing: .01em;
}
.rk-floor-bar svg { color: #12204A; }
.rk-floor-bar .muted { color: #8C99B0; font-weight: 600; }
.rk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 14px; }

.rk-slot {
    position: relative; text-align: left; width: 100%; min-height: 112px; padding: 12px 14px 12px 16px; cursor: pointer;
    background: #FFF; border: 1.5px solid #E4EAF3; border-left: 4px solid var(--hk); border-radius: 14px;
    box-shadow: 0 2px 6px -3px rgba(22,35,63,.12); transition: transform .12s ease, box-shadow .15s ease;
}
.rk-slot:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -12px rgba(22,35,63,.35); }
.rk-slot:focus-visible { outline: 0; box-shadow: 0 0 0 4px rgba(242,179,56,.3); }
.rk-ico { position: absolute; top: 10px; right: 12px; color: var(--hk); }
.rk-no { font-family: var(--cond); font-size: 22px; font-weight: 800; color: #12204A; line-height: 1.1; }
.rk-type { font-size: 13px; font-weight: 600; color: #3B4A68; text-transform: uppercase; letter-spacing: .02em; margin: 2px 0 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 26px; }
.rk-pill { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 600; }
.rk-pill.vacant { background: #E2F6EC; color: #126B47; }
.rk-pill.ooo { background: #EEF1F6; color: #3B4A68; }
.rk-pill.held { background: #FDEFD3; color: #8A5E10; }
.rk-guest, .rk-out { display: flex; align-items: center; gap: 7px; font-size: 13.5px; color: #12204A; }
.rk-guest span { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rk-out { color: #3B4A68; margin-top: 3px; font-size: 13px; }
.rk-slot.is-occ { background: linear-gradient(180deg, #EDF3FE, #E5EEFD); border-color: #C9D9F4; border-left-color: var(--hk); }
.rk-slot.is-occ .rk-ico { color: #2563EB; }
.rk-slot.is-ooo { background: repeating-linear-gradient(135deg, #FFF 0 7px, #F2F4F8 7px 14px); }
.rk-slot.is-ooo .rk-ico { color: #5B6B86; }
.rk-slot.is-held { background: linear-gradient(180deg, #FFFBF1, #FFF6E2); }

.rk-list table.grid { table-layout: auto; }
.rk-row { cursor: pointer; }
.rk-row:hover td { background: #F7FAFF; }
.rk-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 10px; vertical-align: middle; }
@media (max-width: 1500px) {
    .rk-tools { margin-left: 0; width: 100%; }
    .rk-tools .form-select { flex: 1 1 160px; width: auto; }
    .rk-legend { gap: 16px; font-size: 14px; }
}

/* ---- room dialog --------------------------------------------------------- */
.modal-header.rm-dlg { position: relative; padding: 20px 26px 16px; border-bottom: 0; }
.modal-header.rm-dlg::after {
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
    background: linear-gradient(90deg, #F2B338, #E39A1F 60%, #12204A);
}
.rm-dlg .w-title { font-size: 30px !important; }
.rm-dlg ~ .modal-body { padding: 4px 26px 20px; }
.rm-info { display: flex; align-items: center; gap: 16px; border: 1.5px solid #E4EAF3; border-radius: 14px; padding: 14px 16px; height: 100%; }
.rm-info .icon-tile.lg { width: 56px; height: 56px; border-radius: 12px; }
.rm-info .icon-tile.lg svg { width: 28px; height: 28px; }
.rm-info .l { font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #3B4A68; }
.rm-info .v { font-size: 19px; font-weight: 800; color: #12204A; margin-top: 2px; }
.rm-info .rm-big { font-family: var(--cond); font-size: 30px; line-height: 1; }
.rm-info .pill { font-size: 16px; padding: 4px 14px; }
.rm-note { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid #DCE6F4; background: #F4F8FE; border-radius: 12px; padding: 12px 14px; color: #12204A; font-size: 14.5px; }
.rm-note svg { color: #2563EB; flex: 0 0 auto; margin-top: 2px; }
.rm-note .s { color: #3B4A68; font-size: 13.5px; margin-top: 2px; }
.rm-note.held { background: #FFF8E9; border-color: #F3DFAE; }
.rm-note.held svg { color: #C98B12; }
.rm-sec { display: flex; align-items: center; gap: 12px; padding-top: 18px; margin-top: 16px; border-top: 1.5px solid #E8EEF6; margin-bottom: 14px; }
.rm-sec svg { width: 30px; height: 30px; color: #D3901A; }
.rm-sec span { font-family: var(--cond); font-size: 23px; font-weight: 800; color: #12204A; }
.rm-hk { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.rm-hkb {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; border-radius: 12px;
    border: 1.5px solid #DCE3EE; background: #FFF; font-size: 17px; font-weight: 700; color: #12204A; cursor: pointer;
}
.rm-hkb svg { color: #3B4A68; }
.rm-hkb:hover:not(.current) { border-color: #E39A1F; background: #FFFBF1; }
.rm-hkb.current { background: #FDEFCF; border-color: #EDBF5F; color: #C2620F; cursor: default; }
.rm-hkb.current svg { color: #E8590C; }
.rm-hkb:disabled { opacity: .6; }
.rm-dlg ~ .modal-footer { background: #F8FAFD; border-top: 1px solid #E8EEF6; padding: 16px 26px; }
.rm-dlg ~ .modal-footer .btn { height: 52px; font-size: 17px; padding: 0 24px; }
.rm-dlg ~ .modal-footer .btn-brass { color: #FFF !important; background: linear-gradient(180deg, #E9A93A, #CF8A17); border-color: #C48316; }
.rm-dlg ~ .modal-footer .btn-outline-ink { min-width: 120px; justify-content: center; }
@media (max-width: 700px) { .rm-hk { grid-template-columns: repeat(2, 1fr); } }

/* =============================================================================
   Front desk + Dashboard (mockup v9)
   ============================================================================= */
.fd-page .ly-stat-ico, .db-page .ly-stat-ico {
    background: radial-gradient(circle, var(--tone-wash) 0%, rgba(255,255,255,0) 72%); width: 58px; height: 58px;
}
.fd-page .ly-stat-ico svg, .db-page .ly-stat-ico svg { width: 36px; height: 36px; stroke-width: 2.1; }
.fd-page .ly-stat-ghost svg { width: 86px; height: 86px; }
.fd-page .ly-stat-ghost { opacity: .13; right: 10px; bottom: 2px; }
.ly-stat.tone-blue   { background: linear-gradient(135deg, #FFF 35%, #E3ECFD 140%); }
.ly-stat.tone-purple { background: linear-gradient(135deg, #FFF 35%, #EDE4FD 140%); }
.ly-stat.tone-green  { background: linear-gradient(135deg, #FFF 35%, #DDF3E7 140%); }
.ly-stat.tone-teal   { background: linear-gradient(135deg, #FFF 35%, #DDF1FA 140%); }

/* banner */
.fd-banner {
    display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 18px;
    padding: 16px 22px; border-radius: 16px; border: 1px solid #F6D2BE;
    background: linear-gradient(90deg, #FFF4E9 0%, #FDEDE6 60%, #FCE9E4 100%);
}
.fd-banner.ok { background: #FFF; border-color: #E4EBF5; }
.fd-banner .b-date { display: flex; align-items: center; gap: 14px; padding-right: 22px; border-right: 1px solid #EBC9AE; }
.fd-banner .b-ico { width: 48px; height: 48px; display: grid; place-items: center; color: #D8941C; }
.fd-banner .b-ico svg { width: 34px; height: 34px; stroke-width: 2; }
.fd-banner .lbl { display: block; font-size: 13px; font-weight: 800; text-transform: uppercase; color: #12204A; letter-spacing: .02em; }
.fd-banner .val { display: block; font-family: var(--cond); font-size: 25px; font-weight: 800; color: #12204A; line-height: 1.15; }
.fd-banner .b-msg { flex: 1 1 320px; font-size: 15px; color: #7A3410; line-height: 1.5; }
.fd-banner .b-msg strong { font-size: 17.5px; color: #8A3A0C; }
.fd-banner.ok .b-msg, .fd-banner.ok .b-msg strong { color: #12204A; }
.fd-banner .fd-btn { margin-left: auto; }

/* buttons */
.fd-btn {
    display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 20px; border-radius: 11px;
    border: 1px solid #D9E1EE; background: #FFF; color: #12204A; font-size: 15.5px; font-weight: 700;
    box-shadow: 0 2px 6px -3px rgba(22,35,63,.2); white-space: nowrap;
}
.fd-btn svg { width: 19px; height: 19px; stroke-width: 2; }
.fd-btn:hover { background: #F4F7FC; color: #12204A; border-color: #CBD5E5; }
.fd-btn.gold, .fd-act.gold {
    background: linear-gradient(180deg, #E9A93A, #CF8A17); border-color: #C48316; color: #FFF;
    box-shadow: 0 8px 18px -10px rgba(207,138,23,.9);
}
.fd-btn.gold:hover, .fd-act.gold:hover { background: linear-gradient(180deg, #E3A232, #C27F10); color: #FFF; }

/* tab bar */
.fd-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.fd-tabs { display: inline-flex; background: #EEF2F8; border: 1px solid #E1E8F2; border-radius: 13px; padding: 0; overflow: hidden; }
.fd-tab {
    position: relative; display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 30px;
    border: 0; background: transparent; color: #12204A; font-size: 17px; font-weight: 600; cursor: pointer;
}
.fd-tab + .fd-tab { border-left: 1px solid #E1E8F2; }
.fd-tab svg { width: 24px; height: 24px; color: #3B4A68; }
.fd-tab:hover { background: #E6ECF5; }
.fd-tab.active { background: #12204A; color: #FFF; font-weight: 700; border-radius: 13px 13px 0 0; }
.fd-tab.active svg { color: #FFF; }
.fd-tab.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: #E9A93A; }
.fd-actions { margin-left: auto; display: flex; gap: 12px; flex-wrap: wrap; }

/* list card */
.fd-card { padding: 0; overflow: hidden; }
.fd-head { display: flex; align-items: center; gap: 14px; padding: 14px 22px; border-bottom: 1px solid #E8EEF6; flex-wrap: wrap; }
.fd-head-ico { width: 48px; height: 48px; display: grid; place-items: center; color: #D8941C;
    background: radial-gradient(circle, #FDF0D6 0%, rgba(255,255,255,0) 72%); }
.fd-head-ico svg { width: 32px; height: 32px; stroke-width: 2; }
.fd-head-txt h2 { font-family: var(--cond); font-size: 22px; font-weight: 800; color: #12204A; margin: 0; letter-spacing: -.01em; }
.fd-head-txt .s { font-size: 14.5px; color: #3B4A68; }
.fd-tools { margin-left: auto; display: flex; gap: 14px; flex-wrap: wrap; }
.fd-pick {
    position: relative; display: inline-flex; align-items: center; gap: 12px; height: 48px; min-width: 200px; padding: 0 16px;
    border: 1px solid #D9E1EE; border-radius: 10px; background: #FFF; color: #12204A; font-size: 16px; font-weight: 600; cursor: pointer; margin: 0;
}
.fd-pick > svg { width: 20px; height: 20px; flex: 0 0 auto; }
.fd-pick > svg:last-of-type { margin-left: auto; }
.fd-pick input[type=date] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.fd-pick input[type=date]::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.fd-sel { min-width: 180px; padding: 0; }
.fd-sel select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; height: 100%; width: 100%;
    padding: 0 44px 0 16px; font: inherit; color: inherit; cursor: pointer; outline: none; }
.fd-sel > svg { position: absolute; right: 14px; pointer-events: none; }
#list { padding: 18px 22px 0; }
#list:has(.fd-empty) { padding: 0; }
.fd-pager { padding: 0 22px 20px; }
.fd-pager:empty { display: none; }

.fd-table table.grid tbody td { vertical-align: middle; }
.fd-no { font-weight: 700; color: #1D4ED8; text-decoration: none; }
.fd-guest { display: flex; align-items: center; gap: 10px; }
.fd-guest .avatar-badge { width: 40px !important; height: 40px !important; font-size: 14px !important; }
.fd-guest .n { font-weight: 700; }
.fd-guest .p, .fd-stay .p { font-size: 13px; color: #6B7A96; }
.fd-room { display: inline-block; font-weight: 800; padding: 3px 10px; border-radius: 8px; background: #EEF3FC; color: #12204A; }
.fd-src { font-size: 13.5px; font-weight: 600; color: #3B4A68; background: #F1F4F9; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.fd-act { height: 38px; padding: 0 16px; border-radius: 9px; font-weight: 700; font-size: 14px; border: 1px solid #D9E1EE; background: #FFF; color: #12204A; white-space: nowrap; }
.fd-act:hover { background: #F4F7FC; }

.fd-empty { text-align: center; padding: 26px 20px 38px; }
.fd-empty-art { width: 230px; height: 158px; display: block; margin: 0 auto 6px; }
.fd-empty .headline { font-family: var(--cond); font-size: 24px; font-weight: 800; color: #12204A; }
.fd-empty .hint { font-size: 16px; color: #3B4A68; margin: 6px 0 18px; }

/* group check-in dialog */
.fd-gc-note { font-size: 14px; color: #3B4A68; }
.fd-gc-all { display: flex; gap: 8px; align-items: center; font-weight: 700; color: #12204A; margin-bottom: 8px; cursor: pointer; }
.fd-gc-list { border: 1px solid #E4EBF5; border-radius: 12px; max-height: 340px; overflow: auto; }
.fd-gc-row { display: grid; grid-template-columns: 22px 120px 1fr 1fr 150px; gap: 10px; align-items: center; padding: 11px 14px; margin: 0; cursor: pointer; font-size: 14px; }
.fd-gc-row + .fd-gc-row { border-top: 1px solid #EEF2F8; }
.fd-gc-row .n { font-weight: 700; color: #12204A; }
.fd-gc-row .t { color: #6B7A96; }
.fd-gc-row .r { font-size: 12.5px; font-weight: 700; text-align: right; }
.fd-gc-row .r.ok { color: #178A5B; } .fd-gc-row .r.err { color: #D92D20; } .fd-gc-row .r.busy { color: #C08A1C; }

/* dashboard */
.db-stats { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.db-stats .ly-stat { padding: 20px 16px; gap: 10px; min-height: 128px; }
.db-stats .ly-stat-ico { width: 48px; height: 48px; }
.db-stats .ly-stat-ico svg { width: 34px; height: 34px; }
.db-stats .ly-stat .l { font-size: 12.5px; }
.db-stats .ly-stat .v { font-size: 29px; white-space: nowrap; }
.db-stats .ly-stat .v .of { font-size: 29px; }
.db-stats .ly-stat .h { font-size: 13.5px; }
.db-stats .ly-stat-ghost svg { width: 66px; height: 66px; }
@media (max-width: 1500px) {
    .db-stats .ly-stat { flex-direction: column; gap: 4px; }
    .db-stats .ly-stat .v { font-size: 25px; }
}
@media (max-width: 1100px) { .db-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.db-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 18px; margin-bottom: 18px; }
@media (max-width: 1100px) { .db-grid { grid-template-columns: 1fr; } }
.db-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.db-head { display: flex; align-items: center; gap: 12px; padding: 14px 22px; border-bottom: 1px solid #E8EEF6; }
.db-head h2 { font-family: var(--cond); font-size: 21px; font-weight: 800; color: #12204A; margin: 0; }
.db-head-ico { color: var(--tone); display: grid; place-items: center; }
.db-head-ico svg { width: 28px; height: 28px; stroke-width: 2.1; }
.db-chip { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px;
    background: #EAF1FD; color: #1D4ED8; font-weight: 700; font-size: 13.5px; }
.db-chip svg { width: 18px; height: 18px; }
.db-chart { position: relative; height: 360px; padding: 16px 18px 14px; }
.db-donut-wrap { flex: 1; display: flex; align-items: center; gap: 22px; padding: 18px 22px; flex-wrap: wrap; justify-content: center; }
.db-donut { position: relative; width: 300px; height: 300px; flex: 0 0 auto; }
.db-donut-c { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; pointer-events: none; color: #12204A; }
.db-donut-c svg { width: 30px; height: 30px; margin: 0 auto; color: #3B4A68; }
.db-donut-c .n { font-family: var(--cond); font-size: 32px; font-weight: 800; line-height: 1.1; }
.db-donut-c .t { font-size: 15px; color: #3B4A68; }
.db-legend { flex: 1 1 200px; max-width: 260px; }
.db-leg { display: flex; align-items: center; gap: 12px; padding: 10px 0; font-size: 15.5px; color: #12204A; }
.db-leg i { width: 16px; height: 16px; border-radius: 3px; flex: 0 0 auto; }
.db-leg .c { margin-left: auto; white-space: nowrap; }
.db-leg .c span { color: #3B4A68; }
@media (max-width: 1500px) { .db-donut { width: 240px; height: 240px; } }

.db-minis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-bottom: 18px; }
@media (max-width: 1100px) { .db-minis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.db-mini {
    display: flex; gap: 14px; align-items: flex-start; padding: 20px 18px; min-height: 104px; border-radius: 16px;
    border: 1px solid #E4EBF5; background: linear-gradient(135deg, #FFF 10%, var(--tone-wash) 130%);
    box-shadow: 0 2px 4px rgba(22,35,63,.04), 0 10px 26px -18px rgba(22,35,63,.25);
}
.db-mini-ico { color: var(--tone); flex: 0 0 auto; }
.db-mini-ico svg { width: 36px; height: 36px; stroke-width: 2; }
.db-mini .l { font-size: 15px; font-weight: 600; color: #12204A; }
.db-mini .v { font-family: var(--cond); font-size: 30px; font-weight: 800; color: #12204A; line-height: 1.2; margin-top: 4px; white-space: nowrap; }
@media (max-width: 1500px) { .db-mini { flex-direction: column; gap: 6px; } .db-mini .v { font-size: 24px; } }
.fd-stats .ly-stat { gap: 12px; }
.fd-stats .ly-stat .v { font-size: 30px; white-space: nowrap; }
.fd-stats .ly-stat .h { font-size: 14px; }
@media (max-width: 1500px) { .fd-stats .ly-stat .v { font-size: 25px; } .fd-stats .ly-stat-ico { width: 44px; } }
.fd-table table.grid { table-layout: fixed; width: 100%; font-size: 14.5px; }
.fd-table table.grid th:nth-child(1) { width: 12%; }
.fd-table table.grid th:nth-child(2) { width: 22%; }
.fd-table table.grid th:nth-child(3) { width: 13%; }
.fd-table table.grid th:nth-child(4) { width: 14%; }
.fd-table table.grid th:nth-child(5) { width: 12%; }
.fd-table table.grid th:nth-child(6) { width: 10%; }
.fd-table table.grid th:nth-child(7) { width: 9%; text-align: right; }
.fd-table table.grid th:nth-child(8) { width: 8%; }
.fd-table table.grid thead th { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-left: 12px; padding-right: 12px; }
.fd-table table.grid tbody td { padding: 12px; overflow: hidden; }
.fd-no { white-space: nowrap; font-size: 13.5px; }
.fd-gtxt { min-width: 0; }
.fd-gtxt .n, .fd-gtxt .p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fd-guest .avatar-badge { flex: 0 0 auto; }
.fd-type, .fd-table .p { font-size: 12.5px; color: #6B7A96; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fd-type { margin-top: 4px; }
.fd-stay { white-space: nowrap; }
.fd-src { display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; }
.fd-table .pill { white-space: nowrap; }
.fd-table td.num strong { white-space: nowrap; }
.fd-act { padding: 0 12px; }
@media (max-width: 1500px) {
    .fd-table table.grid { font-size: 13.5px; }
    .fd-table table.grid th:nth-child(2) { width: 20%; }
    .fd-table table.grid th:nth-child(8) { width: 10%; }
    .fd-guest .avatar-badge { display: none !important; }
}
.fd-table table.grid th:nth-child(1) { width: 11%; }
.fd-table table.grid th:nth-child(2) { width: 21%; }
.fd-table table.grid th:nth-child(3) { width: 12%; }
.fd-table table.grid th:nth-child(4) { width: 13%; }
.fd-table table.grid th:nth-child(5) { width: 12%; }
.fd-table table.grid th:nth-child(6) { width: 11%; text-align: left; }
.fd-table table.grid th:nth-child(7) { width: 9%; text-align: right; }
.fd-table table.grid th:nth-child(8) { width: 11%; }
.fd-table table.grid td:last-child { text-align: right; }
@media (max-width: 1500px) {
    .fd-table table.grid th:nth-child(2) { width: 18%; }
    .fd-table table.grid th:nth-child(6) { width: 12%; }
    .fd-table table.grid th:nth-child(8) { width: 13%; }
    .fd-tab { padding: 0 18px; font-size: 15.5px; height: 50px; gap: 9px; }
    .fd-tab svg { width: 20px; height: 20px; }
    .fd-btn { padding: 0 13px; font-size: 14.5px; height: 44px; gap: 7px; }
    .fd-actions { gap: 8px; }
    .fd-bar { gap: 10px; }
}
.db-stats .ly-stat .v { font-size: clamp(20px, 1.6vw, 29px); }
.db-stats .ly-stat .v .of { font-size: inherit; }
@media (max-width: 2000px) {
    .db-stats .ly-stat { flex-direction: column; gap: 4px; padding: 16px 16px; }
    .db-stats .ly-stat .h { font-size: 13px; }
}
.db-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.db-chart { flex: 1 1 auto; height: auto; min-height: 360px; }
.db-donut-wrap { flex-wrap: nowrap; }
.db-legend { flex: 1 1 170px; min-width: 170px; }
@media (max-width: 1700px) { .db-donut { width: 210px; height: 210px; } .db-leg { font-size: 14.5px; gap: 9px; } .db-donut-c .n { font-size: 26px; } }
@media (max-width: 1100px) { .db-donut-wrap { flex-wrap: wrap; } }
.db-mini .v { font-size: clamp(20px, 1.6vw, 30px); }
.db-chart { padding: 0; }
.db-chart-in { position: absolute; inset: 16px 18px 14px; }
@media (max-width: 1500px) { .db-donut-wrap { flex-wrap: wrap; } .db-legend { max-width: 320px; flex-basis: 100%; } }

/* =============================================================================
   Guest feedback (mockup v10)
   ============================================================================= */
.fb-stats { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
@media (max-width: 1300px) { .fb-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fb-stat {
    display: flex; align-items: center; gap: 14px; padding: 18px 16px; min-height: 100px; border-radius: 16px;
    border: 1px solid #E4EBF5; background: linear-gradient(135deg, #FFF 15%, var(--tone-wash) 150%);
    box-shadow: 0 2px 4px rgba(22,35,63,.04), 0 10px 26px -18px rgba(22,35,63,.25); min-width: 0;
}
.fb-stat-ico { width: 54px; height: 54px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; background: var(--tone-wash); color: var(--tone); }
.fb-stat-ico svg { width: 28px; height: 28px; stroke-width: 2; }
.fb-stat .v { font-family: var(--cond); font-size: 28px; font-weight: 800; color: #12204A; line-height: 1.1; white-space: nowrap; }
.fb-stat .v small { font-size: 15px; color: #5B6B86; font-weight: 700; margin-left: 1px; }
.fb-stat .l { font-size: 15px; color: #3B4A68; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fb-stat > div { min-width: 0; }
@media (max-width: 1600px) {
    .fb-stats { gap: 12px; }
    .fb-stat { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px; }
    .fb-stat-ico { width: 44px; height: 44px; } .fb-stat-ico svg { width: 24px; height: 24px; }
    .fb-stat .v { font-size: 24px; } .fb-stat .l { font-size: 14px; }
}

.fb-filters .f-search { flex: 1 1 300px; }
.fb-filters .form-select { width: 200px; flex: 0 0 auto; }
@media (max-width: 1500px) { .fb-filters .form-select { flex: 1 1 150px; width: auto; } }

.fb-table table.grid { table-layout: fixed; width: 100%; }
.fb-table table.grid th:nth-child(1) { width: 10%; }
.fb-table table.grid th:nth-child(2) { width: 19%; }
.fb-table table.grid th:nth-child(3) { width: 10%; }
.fb-table table.grid th:nth-child(4) { width: 11%; }
.fb-table table.grid th:nth-child(5) { width: 21%; }
.fb-table table.grid th:nth-child(6) { width: 11%; }
.fb-table table.grid th:nth-child(7) { width: 9%; }
.fb-table table.grid th:nth-child(8) { width: 9%; }
.fb-table table.grid thead th { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fb-table table.grid tbody td { vertical-align: middle; overflow: hidden; }
.fb-table td:last-child { text-align: right; }
.fb-date { white-space: nowrap; }
.fb-guest { display: flex; align-items: center; gap: 10px; min-width: 0; }
.fb-guest .avatar-badge { flex: 0 0 auto; width: 40px !important; height: 40px !important; font-size: 14px !important; }
.fb-gtxt { min-width: 0; }
.fb-gtxt .n { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fb-gtxt .p { font-size: 12.5px; color: #6B7A96; }
.fb-comment { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; color: #3B4A68; }
.fb-stars { white-space: nowrap; font-size: 17px; letter-spacing: 1px; color: #D9E1EE; }
.fb-stars .on { color: #E9A93A; }
.fb-nostar { color: #8C99B0; font-size: 13.5px; }
.fb-table .pill { white-space: nowrap; }
.fb-table .fd-act { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 1500px) {
    .fb-table table.grid { font-size: 13.5px; }
    .fb-guest .avatar-badge { display: none !important; }
    .fb-table table.grid th:nth-child(5) { width: 19%; }
    .fb-table table.grid th:nth-child(8) { width: 11%; }
}

.fb-empty { text-align: center; padding: 26px 20px 30px; }
.fb-empty-art { width: 260px; height: 172px; display: block; margin: 0 auto 4px; }
.fb-empty .headline { font-family: var(--cond); font-size: 25px; font-weight: 800; color: #12204A; }
.fb-empty .hint { font-size: 16px; color: #3B4A68; margin: 6px 0 18px; }
.fb-empty .ly-cta { height: 50px; padding: 0 30px; font-size: 17px; }

/* dialogs */
.modal-dialog:has(.fb-dlg) { max-width: 980px; }
.fb-types { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 900px) { .fb-types { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fb-type {
    display: flex; align-items: center; gap: 12px; text-align: left; padding: 12px 14px; border-radius: 12px;
    border: 1.5px solid #E1E8F2; background: #FFF; cursor: pointer; color: #12204A;
}
.fb-type .ico { width: 40px; height: 40px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; background: #EEF3FB; color: #2457D6; }
.fb-type .ico svg { width: 21px; height: 21px; }
.fb-type strong { display: block; font-size: 15.5px; }
.fb-type small { display: block; font-size: 12.5px; color: #5B6B86; line-height: 1.3; }
.fb-type:hover { border-color: #C9D7EE; background: #F8FAFE; }
.fb-type.active { border-color: #E39A1F; background: #FFFBF1; box-shadow: 0 0 0 4px rgba(242,179,56,.16); }
.fb-type.t-complaint .ico { background: #FDE9E7; color: #D92D20; }
.fb-type.t-suggestion .ico { background: #FDEFDB; color: #D97A16; }
.fb-type.t-compliment .ico { background: #E2F6EC; color: #178A5B; }
.fb-type.t-review .ico { background: #FDF3DC; color: #C08A1C; }

.fb-rates { display: grid; gap: 4px; }
.fb-rates.two { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
.fb-rate-row { display: flex; align-items: center; gap: 14px; padding: 7px 4px; border-bottom: 1px dashed #E6ECF5; }
.fb-rate-row:last-child { border-bottom: 0; }
.fb-rate-row .lbl { display: inline-flex; align-items: center; gap: 10px; width: 160px; flex: 0 0 auto; font-size: 15.5px; font-weight: 700; color: #12204A; }
.fb-rate-row .lbl svg { width: 20px; height: 20px; color: #5B6B86; }
.fb-rate-row.ro { justify-content: space-between; }
.fb-rate-row.ro .lbl { width: auto; }
.fb-star-set { display: inline-flex; gap: 2px; }
.fb-star { border: 0; background: none; padding: 0 3px; font-size: 30px; line-height: 1; color: #D9E1EE; cursor: pointer; transition: transform .08s; }
.fb-star.on { color: #E9A93A; }
.fb-star.hover { color: #F2C468; }
.fb-star:hover { transform: scale(1.12); }
.fb-star:focus-visible { outline: 2px solid #2457D6; border-radius: 4px; }
.fb-rate-txt { font-size: 14px; color: #5B6B86; min-width: 130px; }
.fb-rate-clear { margin-left: auto; border: 0; background: #F1F4F9; color: #5B6B86; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; flex: 0 0 auto; }
.fb-rate-clear:hover { background: #E6ECF5; color: #12204A; }

.fb-picked { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid #BFDCC8; background: #F2FAF5; }
.fb-picked strong { display: block; font-size: 15.5px; color: #12204A; }
.fb-picked small { display: block; font-size: 13px; color: #3B4A68; }
.fb-picked .avatar-badge { width: 40px; height: 40px; font-size: 14px; flex: 0 0 auto; }
.fb-picked.big { border-color: #E3EBF7; background: linear-gradient(90deg, #F4F7FD, #FFF); margin: 4px 0 6px; }
.fb-picked.big strong { font-size: 18px; }
.fb-quote { padding: 14px 16px; border-radius: 12px; background: #F6F9FE; border-left: 4px solid #E9A93A; font-size: 15px; color: #12204A; white-space: pre-wrap; }

.fb-avgs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.fb-avg { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid #E4EBF5; border-radius: 12px; }
.fb-avg .ico { color: #C08A1C; } .fb-avg .ico svg { width: 22px; height: 22px; }
.fb-avg .l { font-size: 13px; color: #5B6B86; }
.fb-avg .v { font-family: var(--cond); font-size: 22px; font-weight: 800; color: #12204A; }
.fb-avg .v small { font-size: 13px; color: #5B6B86; }
.fb-bar { margin-bottom: 12px; padding: 0 4px; }
.fb-bar .top { display: flex; justify-content: space-between; font-size: 14.5px; color: #12204A; margin-bottom: 5px; }
.fb-bar .top small { color: #5B6B86; font-weight: 500; }
.fb-bar .track { height: 10px; border-radius: 5px; background: #EEF2F8; overflow: hidden; }
.fb-bar .track > div { height: 100%; border-radius: 5px; }
.fb-note { font-size: 13px; color: #5B6B86; margin: 8px 4px 0; }
.fb-table table.grid th:nth-child(1) { width: 10%; }
.fb-table table.grid th:nth-child(2) { width: 18%; }
.fb-table table.grid th:nth-child(3) { width: 12%; }
.fb-table table.grid th:nth-child(4) { width: 10%; }
.fb-table table.grid th:nth-child(5) { width: 18%; }
.fb-table table.grid th:nth-child(6) { width: 10%; }
.fb-table table.grid th:nth-child(7) { width: 12%; }
.fb-table table.grid th:nth-child(8) { width: 10%; }
.fb-table table.grid tbody td { padding-left: 12px; padding-right: 12px; }
.fb-table .pill { font-size: 13px; padding-left: 9px; padding-right: 9px; }
@media (max-width: 1500px) {
    .fb-table table.grid th:nth-child(2) { width: 16%; }
    .fb-table table.grid th:nth-child(3) { width: 13%; }
    .fb-table table.grid th:nth-child(5) { width: 16%; }
    .fb-table table.grid th:nth-child(7) { width: 13%; }
    .fb-table table.grid th:nth-child(8) { width: 11%; }
    .fb-table .pill { font-size: 12px; }
    .fb-stars { font-size: 15px; letter-spacing: 0; }
}
@media (max-width: 1500px) {
    .fb-filters { gap: 10px; }
    .fb-filters .f-search { flex: 1 1 200px; }
    .fb-filters .form-select { flex: 1 1 120px; min-width: 120px; }
    .fb-filters .btn-filter { padding: 0 14px; }
    .fb-filters .ly-clear { padding: 0 4px; }
}

/* =============================================================================
   Housekeeping (mockup v11)
   ============================================================================= */
.hk-stats { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 1300px) { .hk-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hk-stat .fb-stat-ico { border-radius: 16px; width: 62px; height: 62px; }
.hk-stat .fb-stat-ico svg { width: 32px; height: 32px; }
.hk-stat .v { font-size: 30px; }
.hk-stat .l { font-size: 16px; }
@media (max-width: 1600px) { .hk-stat .fb-stat-ico { width: 46px; height: 46px; border-radius: 12px; } .hk-stat .fb-stat-ico svg { width: 24px; height: 24px; } .hk-stat .v { font-size: 25px; } .hk-stat .l { font-size: 14px; } }

.hk-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 18px; align-items: start; }
@media (max-width: 1500px) { .hk-layout { grid-template-columns: minmax(0, 1fr) 300px; } }
@media (max-width: 1250px) { .hk-layout { grid-template-columns: 1fr; } }
.hk-board .ly-head { flex-wrap: wrap; }
.hk-tools { flex-wrap: wrap; gap: 10px; }
.hk-tools .gs-btn { height: 44px; font-size: 14.5px; }
.hk-date { min-width: 160px; height: 44px; font-size: 15px; }
.hk-date > svg:last-of-type { margin-left: auto; }
.hk-type { min-width: 170px; height: 44px; font-size: 15px; }

.hk-tabbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 6px 0 14px; }
.hk-tabs { display: flex; gap: 10px; flex-wrap: wrap; }
.hk-tab {
    display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 11px;
    border: 1px solid #E1E8F2; background: #EEF2F8; color: #12204A; font-size: 15.5px; font-weight: 600; cursor: pointer; white-space: nowrap;
}
.hk-tab svg { width: 18px; height: 18px; }
.hk-tab:hover { background: #E6ECF5; }
.hk-tab.active { background: linear-gradient(180deg, #E9A93A, #CF8A17); border-color: #C48316; color: #FFF; font-weight: 700; box-shadow: 0 8px 18px -10px rgba(207,138,23,.9); }
.hk-search { margin-left: auto; flex: 0 1 360px; }
.hk-search .form-control { height: 44px; }

.hk-bulk { display: none; align-items: center; gap: 10px; padding: 8px 14px; margin-bottom: 10px; border-radius: 10px; background: #FFF7E8; border: 1px solid #F3DFAE; font-size: 14.5px; color: #12204A; }
.hk-bulk.on { display: flex; }
.hk-bulk .fd-act { height: 34px; display: inline-flex; align-items: center; gap: 6px; }

.hk-table table.grid { table-layout: fixed; width: 100%; font-size: 14.5px; }
.hk-table th:nth-child(1) { width: 4%; }
.hk-table th:nth-child(2) { width: 8%; }
.hk-table th:nth-child(3) { width: 12%; }
.hk-table th:nth-child(4) { width: 17%; }
.hk-table th:nth-child(5) { width: 10%; }
.hk-table th:nth-child(6) { width: 16%; }
.hk-table th:nth-child(7) { width: 13%; }
.hk-table th:nth-child(8) { width: 10%; }
.hk-table th:nth-child(9) { width: 10%; text-align: center; }
.hk-table table.grid thead th { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-left: 10px; padding-right: 10px; }
.hk-table table.grid tbody td { padding: 11px 10px; vertical-align: middle; overflow: hidden; }
.hk-table tr.sel td { background: #FFFBF1; }
.hk-room { display: inline-block; min-width: 54px; text-align: center; padding: 4px 10px; border-radius: 999px; background: #E9EFFA; font-weight: 800; color: #12204A; }
.hk-rt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hk-task { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; color: #12204A; }
.hk-task svg { width: 20px; height: 20px; flex: 0 0 auto; color: #D8941C; }
.hk-task.t-deep_clean svg { color: #E9A93A; }
.hk-pr { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-weight: 700; font-size: 13.5px; white-space: nowrap; }
.hk-pr-hi { background: #FDE9E7; color: #C4320A; }
.hk-pr-no { background: #E7EFFE; color: #1D4ED8; }
.hk-pr-lo { background: #EEF2F8; color: #3B4A68; }
.hk-who { display: inline-flex; align-items: center; gap: 9px; min-width: 0; max-width: 100%; }
.hk-who > span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hk-who .avatar-badge { width: 32px !important; height: 32px !important; font-size: 12px !important; flex: 0 0 auto; }
.hk-st { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-weight: 700; font-size: 13.5px; white-space: nowrap; }
.hk-st svg { flex: 0 0 auto; }
.hk-st-pend { background: #FDEFD3; color: #A86509; }
.hk-st-prog { background: #E3ECFD; color: #1D4ED8; }
.hk-st-done { background: #DDF3E7; color: #137A50; }
.hk-st-insp { background: #D9EEF9; color: #0B6E99; }
.hk-st-rej  { background: #FDE9E7; color: #B42318; }
.hk-st-can  { background: #EEF2F8; color: #5B6B86; }
.hk-time b { display: block; font-weight: 700; white-space: nowrap; }
.hk-time small { font-size: 12.5px; color: #6B7A96; white-space: nowrap; }
.hk-muted { color: #8C99B0; font-size: 13.5px; }
.hk-acts { display: flex; gap: 8px; justify-content: center; }
.hk-ib { width: 40px; height: 34px; border-radius: 9px; border: 1px solid #D9E1EE; background: #FFF; color: #12204A; display: grid; place-items: center; cursor: pointer; }
.hk-ib:hover { background: #F4F7FC; }
.hk-ib.ghost { border-color: transparent; background: none; cursor: default; }
.hk-menu {
    position: absolute; z-index: 1080; min-width: 210px; padding: 6px; border-radius: 12px; background: #FFF;
    border: 1px solid #E1E8F2; box-shadow: 0 18px 40px -16px rgba(22,35,63,.35);
}
.hk-menu button { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 9px 12px; border-radius: 8px; font-size: 14.5px; color: #12204A; }
.hk-menu button:hover { background: #F1F5FB; }
.hk-menu button.danger { color: #B42318; }

@media (max-width: 1600px) {
    .hk-table table.grid { font-size: 13.5px; }
    .hk-table th:nth-child(3) { width: 11%; }
    .hk-table th:nth-child(4) { width: 18%; }
    .hk-who .avatar-badge { display: none !important; }
    .hk-tab { padding: 0 12px; font-size: 14px; height: 40px; }
    .hk-search { flex: 1 1 220px; margin-left: 0; }
    .hk-pr, .hk-st { font-size: 12.5px; padding: 3px 9px; }
}

/* side panel */
.hk-side { display: grid; gap: 16px; }
.hk-panel { background: #FFF; border: 1px solid #E4EBF5; border-radius: 18px; padding: 16px 16px 14px; }
.hk-panel h3 { display: flex; align-items: center; gap: 10px; font-family: var(--cond); font-size: 20px; font-weight: 800; color: #12204A; margin: 0 0 12px; }
.hk-panel h3 svg { color: #D8941C; }
.hk-ov { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 9px; margin-bottom: 6px; font-size: 15px; color: #12204A; }
.hk-ov svg { width: 18px; height: 18px; flex: 0 0 auto; }
.hk-ov b { margin-left: auto; font-weight: 800; }
.hk-ov.o-green { background: #EAF7F0; } .hk-ov.o-green svg { color: #178A5B; }
.hk-ov.o-blue { background: #EAF1FD; } .hk-ov.o-blue svg { color: #2563EB; }
.hk-ov.o-gold { background: #FEF5E4; } .hk-ov.o-gold svg { color: #D8941C; }
.hk-ov.o-slate { background: #F1F4F9; } .hk-ov.o-slate svg { color: #3B4A68; }
.hk-prog { height: 8px; border-radius: 4px; background: #EEF2F8; margin-top: 10px; overflow: hidden; }
.hk-prog > div { height: 100%; background: linear-gradient(90deg, #22A06B, #178A5B); border-radius: 4px; }
.hk-prog-l { font-size: 12.5px; color: #5B6B86; margin-top: 5px; }
.hk-quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 1500px) { .hk-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hk-qa {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; min-height: 86px; padding: 10px 4px;
    border-radius: 12px; border: 1px solid transparent; font-size: 12.5px; font-weight: 700; color: #12204A; cursor: pointer; text-align: center; line-height: 1.2;
}
.hk-qa svg { width: 28px; height: 28px; }
.hk-qa:hover { filter: brightness(.97); transform: translateY(-1px); }
.hk-qa.q-purple { background: #F1EAFE; border-color: #E3D6FB; } .hk-qa.q-purple svg { color: #7C3AED; }
.hk-qa.q-green { background: #E2F6EC; border-color: #C8EBD8; } .hk-qa.q-green svg { color: #178A5B; }
.hk-qa.q-red { background: #FDE9E7; border-color: #F8D2CD; } .hk-qa.q-red svg { color: #D92D20; }
.hk-qa.q-blue { background: #E7EFFE; border-color: #D2E0FB; } .hk-qa.q-blue svg { color: #2563EB; }
.hk-qa-note { font-size: 12px; color: #6B7A96; margin: 8px 2px 0; }
.hk-act { display: flex; gap: 12px; padding: 9px 2px; border-bottom: 1px solid #EEF2F8; }
.hk-act:last-child { border-bottom: 0; }
.hk-act .ico { width: 36px; height: 36px; border-radius: 50%; flex: 0 0 auto; display: grid; place-items: center; }
.hk-act .ico svg { width: 19px; height: 19px; }
.hk-act.a-g .ico { background: #E2F6EC; color: #178A5B; }
.hk-act.a-b .ico { background: #E7EFFE; color: #2563EB; }
.hk-act.a-p .ico { background: #F1EAFE; color: #7C3AED; }
.hk-act strong { display: block; font-size: 14px; color: #12204A; line-height: 1.3; }
.hk-act small { font-size: 12.5px; color: #6B7A96; }
.hk-none { font-size: 14px; color: #6B7A96; padding: 4px 2px; }

/* dialogs */
.modal-dialog:has(.hk-dlg) { max-width: 1000px; }
.modal-dialog:has(.hk-dlg-sm) { max-width: 800px; }
.modal-header.hk-dlg { border-top: 4px solid #E9A93A; }
.hk-dlg ~ .modal-body { padding: 18px 30px 22px; }
.hk-sec { position: relative; padding-left: 16px; font-family: var(--cond); font-size: 23px; font-weight: 800; color: #12204A; margin-bottom: 2px; width: 100%; }
.hk-sec::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 5px; border-radius: 3px; background: #E9A93A; }
.hk-note { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 10px; background: #EAF1FD; color: #1E3A6E; font-size: 15px; margin-top: 4px; width: 100%; }
.hk-note .i { width: 24px; height: 24px; border-radius: 50%; background: #5B8DEF; color: #FFF; font-weight: 800; font-size: 14px; display: grid; place-items: center; flex: 0 0 auto; font-family: Georgia, serif; }
.hk-dlg ~ .modal-body .form-control, .hk-dlg ~ .modal-body .form-select { height: 52px; font-size: 16.5px; }
.hk-dlg ~ .modal-footer .btn-brass svg { width: 20px; height: 20px; }
.hk-search { position: relative; min-width: 200px; }
.hk-search > svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: #5B6B86; }
.hk-search input { padding-left: 42px; }
.hk-table th:first-child, .hk-table td:first-child { text-overflow: clip !important; text-align: center; padding-left: 6px !important; padding-right: 6px !important; }
.hk-table th:nth-child(2) { width: 8%; }
.hk-table th:nth-child(3) { width: 10%; }
.hk-table th:nth-child(4) { width: 19%; }
.hk-table th:nth-child(5) { width: 10%; }
.hk-table th:nth-child(6) { width: 15%; }
.hk-table th:nth-child(7) { width: 12%; }
.hk-table th:nth-child(8) { width: 10%; }
.hk-table th:nth-child(9) { width: 12%; }
.hk-task { max-width: 100%; }
.hk-task > svg ~ * , .hk-task { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 1600px) { .hk-table th:nth-child(4) { width: 20%; } .hk-table th:nth-child(6) { width: 13%; } .hk-task svg { width: 17px; height: 17px; } }
/* housekeeping table polish (v11) */
.hk-table th:nth-child(1) { width: 4%; }
.hk-table th:nth-child(2) { width: 8%; }
.hk-table th:nth-child(3) { width: 11%; }
.hk-table th:nth-child(4) { width: 17%; }
.hk-table th:nth-child(5) { width: 9%; }
.hk-table th:nth-child(6) { width: 17%; }
.hk-table th:nth-child(7) { width: 12%; }
.hk-table th:nth-child(8) { width: 11%; }
.hk-table th:nth-child(9) { width: 11%; }
.hk-time small { white-space: normal; display: block; line-height: 1.3; }
@media (max-width: 1600px) {
    .hk-table th:nth-child(3) { width: 11%; }
    .hk-table th:nth-child(4) { width: 17%; }
    .hk-who .avatar-badge { display: inline-grid !important; width: 28px !important; height: 28px !important; font-size: 11px !important; }
    .hk-who { gap: 7px; }
    .hk-acts { gap: 6px; }
    .hk-ib { width: 36px; }
}
@media (max-width: 1400px) { .hk-who .avatar-badge { display: none !important; } }
@media (max-width: 1500px) {
    .hk-layout { grid-template-columns: minmax(0, 1fr) !important; }
    .hk-side { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
    .hk-who .avatar-badge { display: inline-grid !important; }
}
@media (max-width: 1000px) { .hk-side { grid-template-columns: 1fr; } }
@media (max-width: 1700px) {
    .hk-layout { grid-template-columns: minmax(0, 1fr) !important; }
    .hk-side { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
}
@media (max-width: 1000px) { .hk-side { grid-template-columns: 1fr; } }

/* =============================================================================
   Guest services + Maintenance (mockup v12)
   ============================================================================= */
.sv-page .ly-stat .l.sv-l { text-transform: none; font-size: 16px; letter-spacing: 0; }
.sv-page .ly-stat .v { font-size: 30px; }
.sv-filters .form-select { width: 170px; flex: 0 0 auto; }
.sv-filters .f-search { flex: 1 1 260px; }
.sv-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 16px; }
.sv-table table.grid, .mt-table table.grid, .mt-atable table.grid, .mt-ptable table.grid { table-layout: fixed; width: 100%; font-size: 14.5px; }
.sv-table th:nth-child(1) { width: 22%; } .sv-table th:nth-child(2) { width: 8%; } .sv-table th:nth-child(3) { width: 13%; }
.sv-table th:nth-child(4) { width: 9%; } .sv-table th:nth-child(5) { width: 15%; } .sv-table th:nth-child(6) { width: 13%; }
.sv-table th:nth-child(7) { width: 11%; } .sv-table th:nth-child(8) { width: 9%; }
.sv-table thead th, .mt-table thead th, .mt-atable thead th, .mt-ptable thead th { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sv-table tbody td, .mt-table tbody td, .mt-atable tbody td, .mt-ptable tbody td { vertical-align: middle; overflow: hidden; padding-left: 12px; padding-right: 12px; }
.sv-table td:last-child, .mt-table td:last-child { text-align: right; }
.sv-req strong, .sv-req small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sv-req strong { color: #12204A; }
.sv-req small { font-size: 12.5px; color: #6B7A96; }
.sv-cat { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-weight: 700; font-size: 13px; white-space: nowrap; background: #EEF2F8; color: #3B4A68; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.sv-cat.c-housekeeping { background: #FDF3DC; color: #9A6A0C; }
.sv-cat.c-maintenance, .sv-cat.c-carpentry { background: #FDEFDB; color: #B45309; }
.sv-cat.c-front_desk { background: #E7EFFE; color: #1D4ED8; }
.sv-cat.c-fnb { background: #FDE9E7; color: #B42318; }
.sv-cat.c-concierge { background: #F1EAFE; color: #6D28D9; }
.sv-cat.c-transport, .sv-cat.c-it { background: #DFF5F2; color: #0F766E; }
.sv-cat.c-hvac { background: #E3EEFD; color: #1D4ED8; }
.sv-cat.c-electrical { background: #FDF6D8; color: #A16207; }
.sv-cat.c-plumbing { background: #DDF1FA; color: #0B6E99; }
.sv-cat.c-civil { background: #EEF2F8; color: #3B4A68; }
.hk-pr-ur { background: #B42318; color: #FFF; }
.hk-st-gold { background: #FDEFD3; color: #A86509; }
.hk-st-gold .dot { width: 8px; height: 8px; border-radius: 50%; background: #D8941C; display: inline-block; }
.sv-sla { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.sv-sla.ok { color: #137A50; } .sv-sla.soon { color: #A86509; } .sv-sla.late { color: #B42318; } .sv-sla.done { color: #5B6B86; font-weight: 600; }
.sv-empty-art { width: 250px; height: 156px; display: block; margin: 0 auto 4px; }
.sv-table .fd-act, .mt-table .fd-act, .mt-atable .fd-act, .mt-ptable .fd-act { display: inline-flex; align-items: center; gap: 6px; height: 36px; }
@media (max-width: 1500px) {
    .sv-filters .form-select { flex: 1 1 140px; width: auto; }
    .sv-table table.grid { font-size: 13.5px; }
    .sv-table .hk-who .avatar-badge { display: none !important; }
    .sv-table th:nth-child(1) { width: 20%; } .sv-table th:nth-child(5) { width: 13%; } .sv-table th:nth-child(6) { width: 14%; } .sv-table th:nth-child(8) { width: 11%; }
}

/* dialogs */
.modal-dialog:has(.sv-dlg) { max-width: 920px; }
.sv-dlg ~ .modal-body { padding: 18px 28px 10px; }
.sv-ta { position: relative; }
.sv-ta > .ico { top: 16px !important; transform: none !important; align-items: flex-start; }
.sv-ta textarea { padding-left: 48px; min-height: 96px; resize: vertical; }
.sv-dlg-ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #FDF3DC; color: #C08A1C; flex: 0 0 auto; }
.mt-check { display: flex; align-items: center; gap: 10px; font-size: 15px; color: #12204A; cursor: pointer; padding: 10px 14px; border-radius: 10px; background: #F6F9FE; border: 1px solid #E3EBF7; }
.mt-check input { margin: 0; }
.mt-kvs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.mt-kv { display: flex; justify-content: space-between; gap: 12px; padding: 10px 2px; border-bottom: 1px dashed #E6ECF5; font-size: 14.5px; }
.mt-kv span { color: #5B6B86; } .mt-kv b { color: #12204A; text-align: right; }

/* maintenance page */
.mt-stats { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 1300px) { .mt-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mt-stat .l { margin: 0 0 2px; font-size: 15.5px; color: #12204A; }
.mt-stat .v { font-size: 30px; }
.mt-views { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.mt-views .hk-tab { height: 48px; padding: 0 22px; font-size: 16px; }
.mt-filters .form-select { width: 160px; flex: 0 0 auto; }
.mt-filters .f-search { flex: 1 1 240px; }
@media (max-width: 1700px) { .mt-filters .form-select { flex: 1 1 130px; width: auto; } }
.mt-table th:nth-child(1) { width: 27%; } .mt-table th:nth-child(2) { width: 12%; } .mt-table th:nth-child(3) { width: 9%; }
.mt-table th:nth-child(4) { width: 8%; } .mt-table th:nth-child(5) { width: 12%; } .mt-table th:nth-child(6) { width: 10%; }
.mt-table th:nth-child(7) { width: 10%; } .mt-table th:nth-child(8) { width: 12%; }
.mt-table tr.mt-main td { border-bottom: 0; padding-top: 14px; padding-bottom: 8px; }
.mt-table tr.mt-sub td { padding: 0 12px 12px 60px; }
.mt-table tr.mt-sub > td > div { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.mt-table tr.mt-sub .sep { width: 1px; height: 18px; background: #E1E8F2; }
.mt-wo { display: flex; align-items: center; gap: 12px; min-width: 0; }
.mt-wo > div { min-width: 0; }
.mt-wo strong, .mt-wo small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mt-wo strong { color: #12204A; }
.mt-wo small { font-size: 13px; color: #6B7A96; }
.mt-no { flex: 0 0 auto; padding: 5px 10px; border-radius: 9px; background: #E9EFFA; color: #1D3FA4; font-weight: 800; font-size: 13px; font-family: var(--mono, monospace); white-space: nowrap; }
.mt-loc { display: flex; align-items: center; gap: 10px; min-width: 0; color: #5B6B86; }
.mt-loc > div { min-width: 0; }
.mt-loc strong, .mt-loc small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mt-loc strong { color: #12204A; } .mt-loc small { font-size: 12.5px; }
.mt-who, .mt-date { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; color: #12204A; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.mt-who svg, .mt-date svg { color: #5B6B86; flex: 0 0 auto; }
.mt-acts { display: inline-flex; gap: 8px; justify-content: flex-end; }
.mt-acts .fd-act { padding: 0 11px; }
.mt-sla { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px; background: #FDF3DC; color: #9A6A0C; font-weight: 700; font-size: 13.5px; }
.mt-due { font-weight: 700; font-size: 14px; }
.mt-due.ok { color: #137A50; } .mt-due.soon { color: #A86509; } .mt-due.late { color: #B42318; }
.mt-date-b { display: inline-flex; flex-direction: column; font-weight: 700; color: #12204A; line-height: 1.25; }
.mt-date-b small { font-weight: 600; font-size: 12px; }
.mt-date-b.ok small { color: #137A50; } .mt-date-b.soon small { color: #A86509; } .mt-date-b.late small { color: #B42318; }
.mt-atable th:nth-child(1) { width: 26%; } .mt-atable th:nth-child(8) { width: 12%; }
.mt-ptable th:nth-child(1) { width: 26%; } .mt-ptable th:nth-child(7) { width: 15%; }
@media (max-width: 1600px) {
    .mt-table table.grid { font-size: 13.5px; }
    .mt-table th:nth-child(1) { width: 24%; } .mt-table th:nth-child(8) { width: 14%; }
    .mt-acts .fd-act { padding: 0 8px; font-size: 13px; }
    .mt-acts .fd-act svg { display: none; }
}
@media (max-width: 1700px) {
    .sv-filters .form-select { flex: 1 1 130px; width: auto; min-width: 120px; }
    .sv-filters .f-search { flex: 1 1 200px; }
    .sv-filters .wl-range input { width: 118px; }
}
.sv-cat svg { flex: 0 0 auto; }
.sv-filters, .mt-filters { flex-wrap: wrap; row-gap: 10px; }
.mt-filters .f-search { flex: 1 1 220px; min-width: 200px; }
.mt-table th:nth-child(1) { width: 25%; } .mt-table th:nth-child(2) { width: 11%; } .mt-table th:nth-child(5) { width: 11%; }
.mt-table th:nth-child(8) { width: 16%; }
.mt-acts { flex-wrap: nowrap; gap: 6px; }
.mt-acts .fd-act { padding: 0 10px; }
.mt-acts .hk-ib { width: 34px; flex: 0 0 auto; }
@media (max-width: 1600px) {
    .mt-table th:nth-child(1) { width: 23%; } .mt-table th:nth-child(3) { width: 9%; } .mt-table th:nth-child(6) { width: 10%; }
    .mt-table th:nth-child(8) { width: 17%; }
}
.mt-acts .fd-act svg { display: inline-block !important; }
@media (max-width: 1600px) { .mt-acts .fd-act svg { display: none !important; } }
@media (max-width: 1500px) {
    .mt-table table.grid { font-size: 13px; }
    .mt-table th:nth-child(1) { width: 25%; } .mt-table th:nth-child(2) { width: 11%; } .mt-table th:nth-child(3) { width: 10%; }
    .mt-table th:nth-child(4) { width: 9%; } .mt-table th:nth-child(5) { width: 12%; } .mt-table th:nth-child(6) { width: 10%; }
    .mt-table th:nth-child(7) { width: 12%; } .mt-table th:nth-child(8) { width: 11%; }
    .mt-loc > svg, .mt-who svg, .mt-date svg { display: none; }
    .mt-acts .fd-act .t { display: none; }
    .mt-acts .fd-act svg { display: inline-block !important; }
    .mt-acts .fd-act { width: 34px; padding: 0; justify-content: center; }
    .mt-table .sv-cat, .mt-table .hk-pr, .mt-table .hk-st { font-size: 12px; padding: 3px 8px; }
    .mt-table .sv-cat svg { display: none; }
    .mt-no { font-size: 12px; padding: 4px 7px; }
}
@media (max-width: 1500px) {
    .mt-table th:nth-child(1) { width: 23%; } .mt-table th:nth-child(8) { width: 13%; }
    .mt-table td:last-child { padding-left: 6px; padding-right: 8px; }
    .mt-acts { gap: 5px; }
    .mt-acts .hk-ib { width: 32px; }
    .mt-acts .fd-act { width: 32px; }
}
.mt-atable th:nth-child(1) { width: 22%; } .mt-atable th:nth-child(2) { width: 9%; } .mt-atable th:nth-child(3) { width: 9%; }
.mt-atable th:nth-child(4) { width: 13%; } .mt-atable th:nth-child(5) { width: 13%; } .mt-atable th:nth-child(6) { width: 10%; }
.mt-atable th:nth-child(7) { width: 11%; } .mt-atable th:nth-child(8) { width: 13%; }
.mt-ptable th:nth-child(1) { width: 24%; } .mt-ptable th:nth-child(2) { width: 9%; } .mt-ptable th:nth-child(3) { width: 13%; }
.mt-ptable th:nth-child(4) { width: 14%; } .mt-ptable th:nth-child(5) { width: 15%; } .mt-ptable th:nth-child(6) { width: 10%; } .mt-ptable th:nth-child(7) { width: 15%; }
.mt-date-b { white-space: nowrap; }
.mt-atable td:last-child, .mt-ptable td:last-child { text-align: right; }
.mt-atable .fd-act, .mt-ptable .fd-act { padding: 0 10px; white-space: nowrap; }
@media (max-width: 1500px) {
    .mt-atable table.grid, .mt-ptable table.grid { font-size: 13px; }
    .mt-atable .fd-act svg, .mt-ptable .fd-act svg { display: none; }
}

/* =============================================================================
   POS dashboard (mockup v13)
   ============================================================================= */
.pd-page { grid-column: 1 / -1; height: 100%; min-height: 0; overflow-y: auto; padding: 2px 4px 18px 2px; display: flex; flex-direction: column; gap: 18px; }
.pd-bar { display: flex; align-items: center; gap: 14px; }
.pd-outlet { display: inline-flex; align-items: center; gap: 12px; padding: 6px 8px 6px 14px; border-radius: 14px; background: #FFF; border: 1px solid #E1E8F2; }
.pd-outlet .lbl { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; color: #12204A; font-size: 15.5px; white-space: nowrap; }
.pd-outlet .lbl svg { width: 22px; height: 22px; }
.pd-osel { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 44px; min-width: 240px; padding: 0 14px; margin: 0;
    border: 1px solid #D9E1EE; border-radius: 10px; background: #FFF; cursor: pointer; }
.pd-osel > svg:first-child { width: 20px; height: 20px; color: #D8941C; flex: 0 0 auto; }
.pd-osel > svg:last-child { width: 18px; height: 18px; color: #12204A; position: absolute; right: 12px; pointer-events: none; }
.pd-osel select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; outline: none; font-weight: 700; font-size: 15.5px; color: #12204A; padding-right: 26px; width: 100%; cursor: pointer; }
.pd-refresh { margin-left: auto; display: inline-flex; align-items: center; gap: 9px; height: 48px; padding: 0 22px; border-radius: 12px; border: 1px solid #D9E1EE; background: #FFF; color: #12204A; font-weight: 700; font-size: 16px; box-shadow: 0 2px 6px -3px rgba(22,35,63,.2); }
.pd-refresh svg { width: 20px; height: 20px; }
.pd-refresh:hover { background: #F4F7FC; }

.pd-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pd-kpi { position: relative; overflow: hidden; display: flex; gap: 16px; align-items: flex-start; padding: 22px 20px 20px; border-radius: 18px; border: 1px solid #E4EBF5; min-height: 128px;
    box-shadow: 0 2px 4px rgba(22,35,63,.04), 0 10px 26px -18px rgba(22,35,63,.25); }
.pd-kpi.pd-blue { background: linear-gradient(135deg, #FFF 40%, #E6EFFD 140%); --c: #2563EB; --w: #E3ECFD; }
.pd-kpi.pd-green { background: linear-gradient(135deg, #F4FBF6 40%, #DDF3E7 140%); --c: #178A5B; --w: #DDF3E7; }
.pd-kpi.pd-purple { background: linear-gradient(135deg, #FFF 40%, #EDE4FD 140%); --c: #7C3AED; --w: #EDE4FD; }
.pd-kpi.pd-gold { background: linear-gradient(135deg, #FFFBF3 40%, #FDF0D6 140%); --c: #C08A1C; --w: #FDF0D6; }
.pd-kpi-ico { width: 60px; height: 60px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; background: var(--w); color: var(--c); }
.pd-kpi-ico svg { width: 30px; height: 30px; stroke-width: 2; }
.pd-kpi-txt { position: relative; z-index: 1; min-width: 0; }
.pd-kpi .l { font-size: 17px; font-weight: 700; color: #12204A; }
.pd-kpi .v { font-family: var(--cond); font-size: 32px; font-weight: 800; color: #12204A; line-height: 1.15; margin: 4px 0 6px; white-space: nowrap; }
.pd-delta { font-size: 14.5px; color: #3B4A68; }
.pd-delta.up { color: #137A50; } .pd-delta.down { color: #B42318; }
.pd-wave { position: absolute; right: 0; bottom: 0; width: 58%; height: 62%; pointer-events: none; }

.pd-row1 { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.pd-row2 { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.2fr) minmax(0, 1.15fr); gap: 18px; }
@media (max-width: 1500px) {
    .pd-row1 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .pd-row1 > :first-child { grid-column: 1 / -1; }
    .pd-row2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .pd-row2 > :last-child { grid-column: 1 / -1; }
    .pd-kpi .v { font-size: 27px; } .pd-kpi .l { font-size: 15.5px; } .pd-delta { font-size: 13px; }
    .pd-kpi-ico { width: 50px; height: 50px; } .pd-kpi-ico svg { width: 26px; height: 26px; }
}
@media (max-width: 1100px) { .pd-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.pd-card { background: #FFF; border: 1px solid #E4EBF5; border-radius: 18px; padding: 18px 20px; display: flex; flex-direction: column; min-width: 0;
    box-shadow: 0 2px 4px rgba(22,35,63,.03), 0 10px 26px -20px rgba(22,35,63,.25); }
.pd-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.pd-head-ico { color: #D8941C; display: grid; place-items: center; }
.pd-head-ico svg { width: 30px; height: 30px; stroke-width: 2; }
.pd-head h3 { font-family: var(--cond); font-size: 19px; font-weight: 800; color: #12204A; margin: 0; }
.pd-head small { display: block; font-size: 14px; color: #5B6B86; }
.pd-seg { margin-left: auto; display: inline-flex; border: 1px solid #E1E8F2; border-radius: 10px; padding: 3px; background: #FFF; }
.pd-seg button { border: 0; background: none; padding: 7px 18px; border-radius: 8px; font-weight: 700; font-size: 15px; color: #12204A; cursor: pointer; }
.pd-seg button.on { background: linear-gradient(180deg, #E9A93A, #CF8A17); color: #FFF; }
.pd-chart { position: relative; height: 230px; }
.pd-nodata { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 9px;
    padding: 10px 18px; border-radius: 10px; background: #EEF3FB; color: #3B4A68; font-size: 14px; white-space: nowrap; }
.pd-nodata[hidden] { display: none; }

.pd-cat { display: flex; align-items: center; gap: 18px; flex: 1; flex-wrap: wrap; justify-content: center; }
.pd-donut, .pd-pay-chart { position: relative; width: 190px; height: 190px; flex: 0 0 auto; }
.pd-pay-chart { width: 170px; height: 170px; }
.pd-donut .c, .pd-pay-chart .c { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; pointer-events: none; }
.pd-donut .c b, .pd-pay-chart .c b { font-family: var(--cond); font-size: 18px; color: #12204A; }
.pd-donut .c small, .pd-pay-chart .c small { font-size: 12.5px; color: #5B6B86; }
.pd-leg { flex: 1 1 140px; display: grid; gap: 8px; }
.pd-leg > div { display: flex; align-items: center; gap: 9px; font-size: 14px; color: #12204A; }
.pd-leg i { width: 12px; height: 12px; border-radius: 3px; flex: 0 0 auto; }
.pd-leg span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd-cat-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.pd-cat-empty .ring { width: 168px; height: 168px; border-radius: 50%; border: 24px solid #DCE4F0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #5B6B86; font-size: 14.5px; }
.pd-cat-empty p { margin: 0; color: #3B4A68; font-size: 15px; }

.pd-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; color: #3B4A68; font-size: 15px; padding: 10px; }
.pd-empty > svg { color: #7F9BC9; margin-bottom: 6px; }
.pd-empty b { font-family: var(--cond); font-size: 19px; color: #12204A; }
.pd-empty.sm { font-size: 14.5px; }
.pd-cards-art { width: 110px; height: 78px; }

.pd-top { display: grid; gap: 12px; }
.pd-top-row { display: flex; align-items: center; gap: 12px; }
.pd-top-row .rank { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px; background: #EEF2F8; color: #3B4A68; flex: 0 0 auto; }
.pd-top-row .rank.r1 { background: #FDF0D6; color: #A86509; } .pd-top-row .rank.r2 { background: #E7EFFE; color: #1D4ED8; } .pd-top-row .rank.r3 { background: #FDE9E7; color: #B42318; }
.pd-top-row .nm { flex: 1; min-width: 0; }
.pd-top-row .nm strong { display: block; font-size: 14.5px; color: #12204A; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd-top-row .bar { height: 6px; border-radius: 3px; background: #EEF2F8; margin-top: 5px; overflow: hidden; }
.pd-top-row .bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #E9A93A, #CF8A17); }
.pd-top-row .q { text-align: right; flex: 0 0 auto; }
.pd-top-row .q b { display: block; color: #12204A; } .pd-top-row .q small { font-size: 12.5px; color: #5B6B86; }

.pd-pay { display: flex; align-items: center; gap: 18px; flex: 1; }
.pd-pay > .pd-empty, .pd-pay > .pd-pay-chart { flex: 1 1 45%; }
.pd-pay-list { flex: 1 1 55%; border: 1px solid #E8EEF6; border-radius: 12px; overflow: hidden; }
.pd-pay-row { display: flex; align-items: center; gap: 10px; padding: 10px 14px; font-size: 15px; color: #12204A; }
.pd-pay-row + .pd-pay-row { border-top: 1px solid #EEF2F8; }
.pd-pay-row .pn { flex: 1; } .pd-pay-row b { font-weight: 700; }
.pd-pay-row .pi { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; flex: 0 0 auto; }
.pd-p-cash { background: #DDF3E7; color: #137A50; } .pd-p-card { background: #FDF0D6; color: #A86509; }
.pd-p-upi { background: #EDE4FD; color: #6D28D9; } .pd-p-oth { background: #E7EFFE; color: #1D4ED8; }
.pd-pay-total { display: flex; justify-content: space-between; padding: 13px 16px; background: #FDF0D6; font-family: var(--cond); font-size: 19px; font-weight: 800; color: #6B4E0B; }

.pd-orders { flex: 1; border: 1px solid #E8EEF6; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.pd-otable { width: 100%; font-size: 14px; table-layout: fixed; }
.pd-otable th { background: #F4F7FC; font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; color: #3B4A68; font-weight: 700; padding: 10px 12px; }
.pd-otable td { padding: 9px 12px; border-top: 1px solid #EEF2F8; color: #12204A; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd-st { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; }
.pd-st-open { background: #E7EFFE; color: #1D4ED8; } .pd-st-prep { background: #FDEFD3; color: #A86509; } .pd-st-serv { background: #EDE4FD; color: #6D28D9; }
.pd-st-bill { background: #DDF1FA; color: #0B6E99; } .pd-st-done { background: #DDF3E7; color: #137A50; } .pd-st-can { background: #EEF2F8; color: #5B6B86; }
.pd-ord-total { display: flex; justify-content: space-between; margin-top: 12px; padding: 12px 16px; border-radius: 10px; background: #EEF3FB; font-weight: 800; color: #12204A; font-size: 16px; }

.pd-qas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pd-qa { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 100px; padding: 14px 8px; border-radius: 14px;
    border: 1px solid #E4EBF5; background: #FFF; color: #12204A; font-weight: 700; font-size: 15px; cursor: pointer; box-shadow: 0 2px 6px -4px rgba(22,35,63,.25); }
.pd-qa:hover { transform: translateY(-1px); box-shadow: 0 10px 20px -14px rgba(22,35,63,.4); }
.pd-qa .ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; }
.pd-qa .ic svg { width: 24px; height: 24px; stroke-width: 2.1; }
.pd-qa.qa-gold { background: #FFF8EC; } .pd-qa.qa-gold .ic { background: #FDE5B6; color: #B87708; }
.qa-green .ic { background: #DDF3E7; color: #137A50; } .qa-purple .ic { background: #EDE4FD; color: #7C3AED; }
.qa-orange .ic { background: #FDEFDB; color: #D97A16; } .qa-amber .ic { background: #FDF0D6; color: #C08A1C; } .qa-gold2 .ic { background: #FDF0D6; color: #D8941C; }
.pos-wrap-flow .pd-page { height: auto; overflow: visible; padding-right: 0; }

/* =============================================================================
   POS Terminal (mockup v14) - app theme: navy #12204A + gold #D8941C
   ============================================================================= */
.pos-wrap:not(.pos-wrap-flow) .pos-body { grid-template-columns: 220px minmax(0, 1fr) 380px; gap: 16px; }
@media (min-width: 1700px) { .pos-wrap:not(.pos-wrap-flow) .pos-body { grid-template-columns: 240px minmax(0, 1fr) 420px; gap: 18px; } }
@media (max-width: 1450px) { .pos-wrap:not(.pos-wrap-flow) .pos-body { grid-template-columns: 196px minmax(0, 1fr) 340px; gap: 12px; } }

/* category rail */
.pos-wrap .pos-rail { border: 1px solid #E4EBF5; border-radius: 18px; padding: 16px 12px 12px; box-shadow: 0 10px 26px -20px rgba(22,35,63,.25); }
.pos-wrap .pos-rail-head { font-family: var(--cond); font-size: 20px; font-weight: 800; color: #12204A; text-transform: none; letter-spacing: 0; padding: 0 8px 10px; }
.pos-wrap .pos-rail-list { gap: 4px; }
.pos-wrap .pos-rail-cat { display: flex; align-items: center; gap: 11px; padding: 9px 10px; border-radius: 11px; font-size: 14.5px; font-weight: 600; color: #12204A; border: 0; background: transparent; }
.pos-wrap .pos-rail-cat:hover { background: #F4F7FC; }
.pos-wrap .pos-rail-cat.active { background: #FDF3DC; color: #12204A; font-weight: 800; box-shadow: inset 3px 0 0 #D8941C; }
.pos-wrap .pos-rail-ico { width: 22px; display: inline-grid; place-items: center; color: #3B4A68; background: none; }
.pos-wrap .pos-rail-cat.active .pos-rail-ico { color: #C08A1C; }
.pos-wrap .pos-rail-ico svg { width: 20px; height: 20px; }
.pos-wrap .pos-rail-name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pos-wrap .pos-rail-count { min-width: 26px; height: 24px; padding: 0 8px; border-radius: 999px; display: inline-grid; place-items: center; background: #EEF2F8; color: #3B4A68; font-size: 12.5px; font-weight: 700; }
.pos-wrap .pos-rail-cat.active .pos-rail-count { background: linear-gradient(180deg, #E9A93A, #CF8A17); color: #FFF; }
.pos-wrap .pos-rail-manage { border: 1px solid #D9E1EE; border-radius: 11px; background: #FFF; color: #12204A; font-weight: 700; font-size: 14px; height: 42px; display: flex; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 2px 6px -3px rgba(22,35,63,.2); }
.pos-wrap .pos-rail-manage:hover { background: #F4F7FC; }

/* toolbar */
.pos-wrap .pos-items-toolbar { gap: 12px; }
.pos-wrap .pos-outlet-pick { height: 46px; border: 1px solid #E1E8F2; border-radius: 12px; background: #FFF; padding-left: 12px; box-shadow: 0 2px 6px -4px rgba(22,35,63,.2); }
.pos-wrap .pos-outlet-ico { color: #D8941C; }
.pos-wrap .pos-outlet { font-weight: 700; font-size: 15px; color: #12204A; border: 0; box-shadow: none; }
.pos-wrap .pos-search .form-control { height: 46px; border-radius: 12px; border: 1px solid #E1E8F2; font-size: 15px; padding-left: 42px; box-shadow: 0 2px 6px -4px rgba(22,35,63,.2); }
.pos-wrap .pos-search .ico { left: 15px; color: #12204A; }
.pos-wrap .pos-filter-btn { height: 46px; padding: 0 16px; border-radius: 12px; border: 1px solid #E1E8F2; background: #FFF; color: #12204A; font-weight: 700; font-size: 14.5px; display: inline-flex; align-items: center; gap: 8px; }
.pos-wrap .pos-filter-btn.active { background: #E2F6EC; border-color: #BFDCC8; color: #137A50; }
.pos-wrap .pos-view-toggle { height: 46px; border: 1px solid #E1E8F2; border-radius: 12px; background: #FFF; padding: 4px; gap: 4px; display: inline-flex; }
.pos-wrap .pos-view-toggle button { width: 38px; border-radius: 9px; border: 0; background: none; color: #3B4A68; display: grid; place-items: center; }
.pos-wrap .pos-view-toggle button.active { background: #12204A; color: #FFF; }

/* items panel */
.pos-wrap .pos-items-panel { border: 1px solid #E4EBF5; border-radius: 18px; background: #FFF; padding: 14px 14px 10px; box-shadow: 0 10px 26px -20px rgba(22,35,63,.25); }
.pos-wrap .pos-items-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 4px 12px; text-transform: none; letter-spacing: 0; }
.pos-items-title { font-family: var(--cond); font-size: 19px; font-weight: 800; color: #12204A; }
.pos-sort { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; color: #3B4A68; font-weight: 600; }
.pos-sort select { height: 36px; border: 1px solid #E1E8F2; border-radius: 9px; padding: 0 30px 0 10px; font-weight: 700; color: #12204A; background: #FFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312204A' stroke-width='2.4'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 9px center / 14px; appearance: none; -webkit-appearance: none; cursor: pointer; }
.pos-wrap .pos-grid { grid-template-columns: repeat(auto-fill, minmax(172px, 1fr)); gap: 14px; }
.pos-wrap .pos-item { border: 1px solid #E4EBF5; border-radius: 16px; min-height: 0; box-shadow: 0 2px 6px -4px rgba(22,35,63,.2); }
.pos-wrap .pos-item:hover { box-shadow: 0 14px 26px -18px rgba(22,35,63,.45); transform: translateY(-1px); }
.pos-wrap .pos-item-img { height: 124px; padding: 6px 6px 0; background: #FFF; }
.pos-wrap .pos-item-img img { border-radius: 11px; width: 100%; height: 100%; object-fit: cover; }
.pos-wrap .pos-item-noimg { background: #F4F7FC; margin: 6px 6px 0; width: auto; border-radius: 11px; color: #9DB2D6; display: grid; place-items: center; }
.pos-wrap .pos-item-body { padding: 10px 12px 12px; gap: 4px; }
.pos-item-status { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.pos-avail { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; }
.pos-avail i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.pos-avail.yes { color: #137A50; } .pos-avail.yes i { background: #22A06B; }
.pos-avail.no { color: #B42318; } .pos-avail.no i { background: #D92D20; }
.pos-avail.later { color: #A86509; } .pos-avail.later i { background: #E9A93A; }
.pos-wrap .pos-item-name { font-size: 15px; font-weight: 800; color: #12204A; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pos-wrap .pos-item-top { min-height: 38px; }
.pos-wrap .pos-item-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 6px; }
.pos-wrap .pos-item-price { font-family: var(--cond); font-size: 17px; font-weight: 800; color: #12204A; }
.pos-wrap .pos-item-add { height: 34px; padding: 0 14px; border-radius: 9px; border: 1px solid #F0D49A; background: #FDF3DC; color: #9A6A0C; font-weight: 800; font-size: 14px; display: inline-flex; align-items: center; gap: 5px; }
.pos-wrap .pos-item-add:hover { background: linear-gradient(180deg, #E9A93A, #CF8A17); border-color: #C48316; color: #FFF; }
.pos-wrap .pos-item.off { opacity: 1; }
.pos-wrap .pos-item.off .pos-item-img img { filter: grayscale(.85); opacity: .7; }
.pos-wrap .pos-grid-list .pos-item-img { width: 96px; height: auto; padding: 6px; }
.pos-wrap .pos-grid-list .pos-item-body { flex-direction: row; align-items: center; }
.pos-wrap .pos-grid-list .pos-item-status { order: 2; }
.pos-wrap .pos-grid-list .pos-item-top { min-height: 0; order: 1; }
.pos-wrap .pos-grid-list .pos-item-foot { order: 3; gap: 16px; padding-top: 0; }

/* order panel */
.pos-wrap .pos-cart-col { border: 1px solid #E4EBF5; border-radius: 18px; box-shadow: 0 10px 26px -20px rgba(22,35,63,.25); }
.pos-wrap .pos-order-head { display: flex; align-items: center; gap: 10px; padding: 16px 18px 12px; border-bottom: 1px solid #EEF2F8; }
.pos-wrap .pos-order-title { display: flex; align-items: center; gap: 9px; flex: 1; min-width: 0; font-size: 16.5px; font-weight: 800; color: #12204A; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pos-wrap .pos-order-title svg { width: 20px; height: 20px; color: #D8941C; flex: 0 0 auto; }
.pos-order-st, .pos-order-new { padding: 4px 14px; border-radius: 999px; font-size: 13px; font-weight: 800; white-space: nowrap; background: #E7EFFE; color: #1D4ED8; }
.pos-order-new { background: #EEF2F8; color: #5B6B86; }
.pos-order-st.st-preparing { background: #FDEFD3; color: #A86509; } .pos-order-st.st-served { background: #EDE4FD; color: #6D28D9; }
.pos-order-st.st-billed { background: #DDF1FA; color: #0B6E99; } .pos-order-st.st-settled { background: #DDF3E7; color: #137A50; }
.pos-wrap .pos-order-kebab { width: 34px; height: 34px; border-radius: 9px; border: 0; background: none; color: #12204A; display: grid; place-items: center; }
.pos-wrap .pos-order-kebab:hover { background: #F4F7FC; }
.pos-wrap .pos-guest { display: flex; align-items: center; gap: 12px; padding: 12px 18px 10px; border-bottom: 0; }
.pos-wrap .pos-guest-avatar { width: 46px; height: 46px; border-radius: 50%; background: #EEF3FB; color: #12204A; display: grid; place-items: center; flex: 0 0 auto; }
.pos-wrap .pos-guest-avatar svg { width: 22px; height: 22px; }
.pos-wrap .pos-guest-name { font-size: 15.5px; font-weight: 800; color: #12204A; }
.pos-wrap .pos-guest-sub { font-size: 13px; color: #5B6B86; }
.pos-wrap .pos-guest-edit { margin-left: auto; width: 36px; height: 36px; border-radius: 9px; border: 0; background: none; color: #12204A; display: grid; place-items: center; }
.pos-wrap .pos-guest-edit:hover { background: #F4F7FC; }
.pos-meta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 18px 12px; border-bottom: 1px solid #EEF2F8; }
.pos-meta-btn { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px; border: 1px solid #E1E8F2; border-radius: 10px; background: #FFF; color: #3B4A68; font-size: 14px; min-width: 0; cursor: pointer; }
.pos-meta-btn > span { flex: 1; min-width: 0; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pos-meta-btn b { color: #12204A; }
.pos-meta-btn svg { flex: 0 0 auto; color: #12204A; }
.pos-meta-btn:hover:not(:disabled) { border-color: #E39A1F; background: #FFFBF1; }
.pos-meta-btn:disabled { opacity: .6; cursor: default; }

.pos-wrap .pos-lines-header { grid-template-columns: 1fr 96px 84px 26px; padding: 12px 18px 8px; font-size: 12px; color: #3B4A68; letter-spacing: .05em; background: #F7F9FC; border-bottom: 1px solid #EEF2F8; }
.pos-wrap .pos-lines { padding: 4px 12px; }
.pos-wrap .pos-line { grid-template-columns: 44px 1fr 96px 84px 26px; gap: 10px; padding: 10px 6px; border-bottom: 1px solid #F1F4F8; }
.pos-line-thumb { width: 44px; height: 44px; border-radius: 9px; overflow: hidden; background: #F4F7FC; display: grid; place-items: center; color: #9DB2D6; }
.pos-line-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pos-wrap .pos-line-name { font-size: 14.5px; font-weight: 800; color: #12204A; }
.pos-wrap .pos-line-price { font-size: 12.5px; color: #5B6B86; }
.pos-wrap .pos-qty { display: flex; align-items: center; justify-content: center; gap: 8px; }
.pos-wrap .pos-qbtn { width: 28px; height: 28px; border-radius: 8px; border: 1px solid #D9E1EE; background: #FFF; color: #12204A; display: grid; place-items: center; padding: 0; }
.pos-wrap .pos-qbtn:hover { border-color: #E39A1F; color: #C08A1C; }
.pos-wrap .pos-qn { min-width: 16px; text-align: center; font-weight: 800; color: #12204A; }
.pos-wrap .pos-line-amt { text-align: right; font-weight: 800; color: #12204A; font-size: 14.5px; white-space: nowrap; }
.pos-wrap .pos-line-del { border: 0; background: none; color: #D92D20; padding: 0; display: grid; place-items: center; }
.pos-wrap .pos-cart-empty { color: #8C99B0; }
.pos-wrap .pos-cart-empty p { color: #12204A; font-weight: 800; }

.pos-wrap .pos-order-foot { padding: 12px 18px 16px; border-top: 1px solid #EEF2F8; background: #FFF; }
.pos-wrap .pos-foot-row { display: flex; align-items: center; justify-content: space-between; padding: 5px 0; font-size: 15px; color: #3B4A68; border: 0; }
.pos-wrap .pos-foot-row span:last-child { color: #12204A; font-weight: 700; }
.pos-disc-btn { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px; border-radius: 8px; border: 0; background: #FDF3DC; color: #9A6A0C; font-weight: 800; font-size: 14px; }
.pos-disc-btn:hover { background: #FBE7BC; }
.pos-disc-val { min-width: 120px; text-align: right; padding: 6px 12px; border: 1px solid #E1E8F2; border-radius: 9px; }
.pos-disc-val.on { color: #137A50 !important; border-color: #BFDCC8; background: #F2FAF5; }
.pos-wrap .pos-foot-grand { display: flex; align-items: center; justify-content: space-between; margin: 10px -4px 12px; padding: 14px 16px; border-radius: 12px; background: #FDF3DC; border: 0;
    font-family: var(--cond); font-size: 19px; font-weight: 800; color: #12204A; }
.pos-wrap .pos-foot-grand span:last-child { font-size: 26px; }
.pos-wrap .pos-cart-actions { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.pos-wrap .pos-btn-save, .pos-wrap .pos-btn-clear { height: 46px; border-radius: 11px; font-weight: 800; font-size: 14.5px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; white-space: nowrap; padding: 0 8px; }
.pos-wrap .pos-btn-save { border: 1px solid #C9D3E4; background: #FFF; color: #12204A; }
.pos-wrap .pos-btn-save:first-child { border-color: #12204A; }
.pos-wrap .pos-btn-save:hover:not(:disabled) { background: #F4F7FC; }
.pos-wrap .pos-btn-clear { border: 1px solid #F3C3BE; background: #FFF; color: #D92D20; }
.pos-wrap .pos-btn-clear:hover:not(:disabled) { background: #FDE9E7; }
.pos-wrap .pos-btn-pay { width: 100%; height: 54px; border-radius: 12px; border: 0; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 17px; font-weight: 800;
    background: linear-gradient(180deg, #E9A93A, #CF8A17); color: #FFF; box-shadow: 0 10px 22px -12px rgba(207,138,23,.9); }
.pos-wrap .pos-btn-pay:disabled { background: #EEF2F8; color: #9AA7BE; box-shadow: none; }
.pos-wrap .pos-btn-pay:hover:not(:disabled) { background: linear-gradient(180deg, #E3A232, #C27F10); }
.pos-wrap .pos-btn-pay .amt { font-weight: 700; opacity: .95; }
@media (max-width: 1450px) {
    .pos-wrap .pos-line { grid-template-columns: 36px 1fr 84px 72px 22px; gap: 7px; }
    .pos-wrap .pos-lines-header { grid-template-columns: 1fr 84px 72px 22px; }
    .pos-line-thumb { width: 36px; height: 36px; }
    .pos-wrap .pos-cart-actions { grid-template-columns: 1fr 1fr; }
    .pos-wrap .pos-cart-actions > :first-child { grid-column: 1 / -1; }
    .pos-wrap .pos-btn-pay { font-size: 15.5px; }
    .pos-wrap .pos-btn-pay .amt { display: none; }
    .pos-wrap .pos-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
    .pos-wrap .pos-item-img { height: 104px; }
    .pos-wrap .pos-search { min-width: 0; }
}
.pos-wrap .pos-outlet-pick { min-width: 210px; }
.pos-wrap .pos-order-title { font-size: 15px; }
.pos-wrap .pos-lines-header { grid-template-columns: 1fr 86px 76px 20px; gap: 10px; }
.pos-wrap .pos-line { grid-template-columns: 40px minmax(0, 1fr) 86px 76px 20px; gap: 10px; }
.pos-line-thumb { width: 40px; height: 40px; }
.pos-wrap .pos-line-main { min-width: 0; }
.pos-wrap .pos-line-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.25; }
.pos-wrap .pos-line-price { white-space: nowrap; }
.pos-wrap .pos-qty { gap: 6px; }
.pos-wrap .pos-qbtn { width: 26px; height: 26px; }
.pos-wrap .pos-foot-grand span:first-child { font-size: 18px; }
@media (max-width: 1450px) {
    .pos-wrap .pos-line { grid-template-columns: 34px minmax(0, 1fr) 80px 68px 18px; gap: 7px; }
    .pos-wrap .pos-lines-header { grid-template-columns: 1fr 80px 68px 18px; gap: 7px; }
    .pos-line-thumb { width: 34px; height: 34px; }
    .pos-wrap .pos-outlet-pick { min-width: 170px; }
}
.pos-wrap .pos-outlet-pick { min-width: 230px; }
.pos-wrap .pos-outlet { width: 100%; text-overflow: ellipsis; }
.pos-wrap .pos-order-foot { flex: 0 0 auto; }
.pos-wrap .pos-lines { flex: 1 1 auto; min-height: 0; overflow-y: auto; }
.pos-wrap .pos-rail-list { flex: 1 1 auto; min-height: 0; overflow-y: auto; }
.pos-wrap .pos-rail-manage { flex: 0 0 auto; }
@media (max-width: 1450px) {
    .pos-wrap .pos-outlet-pick { min-width: 190px; }
    .pos-wrap .pos-filter-btn { padding: 0 12px; }
}
/* shorter screens: keep the order footer and Checkout on screen */
@media (max-height: 880px) {
    .pos-wrap .pos-order-head { padding: 10px 16px 8px; }
    .pos-wrap .pos-guest { padding: 8px 16px 6px; }
    .pos-wrap .pos-guest-avatar { width: 38px; height: 38px; }
    .pos-meta-row { padding: 0 16px 8px; }
    .pos-meta-btn { height: 36px; }
    .pos-wrap .pos-lines-header { padding: 8px 16px 6px; }
    .pos-wrap .pos-cart-empty { padding: 10px; }
    .pos-wrap .pos-cart-empty svg { display: none; }
    .pos-wrap .pos-order-foot { padding: 8px 16px 12px; }
    .pos-wrap .pos-foot-row { padding: 2px 0; font-size: 14px; }
    .pos-disc-val { padding: 3px 10px; }
    .pos-wrap .pos-foot-grand { margin: 6px -4px 8px; padding: 9px 14px; }
    .pos-wrap .pos-foot-grand span:first-child { font-size: 16px; }
    .pos-wrap .pos-foot-grand span:last-child { font-size: 22px; }
    .pos-wrap .pos-cart-actions { grid-template-columns: 1.4fr 1fr 1fr !important; gap: 8px; margin-bottom: 8px; }
    .pos-wrap .pos-cart-actions > :first-child { grid-column: auto !important; }
    .pos-wrap .pos-btn-save, .pos-wrap .pos-btn-clear { height: 38px; font-size: 13px; gap: 5px; padding: 0 6px; }
    .pos-wrap .pos-btn-pay { height: 46px; }
    .pos-wrap .pos-rail-cat { padding: 7px 10px; }
    .pos-wrap .pos-rail-head { font-size: 18px; padding-bottom: 6px; }
    .pos-wrap .pos-rail-manage { height: 38px; font-size: 13px; }
}
.pos-wrap.pos-wrap-flow { height: auto !important; }
.pos-wrap .pos-foot-tax span:first-child, .pos-wrap .pos-foot-taxable span:first-child { color: #3B4A68; }
.pos-wrap .pos-foot-taxable span:last-child { font-weight: 600; }
.stp-billtax { display: flex; gap: 10px; align-items: center; max-width: 720px; }
.stp-billtax .form-select { height: 44px; font-weight: 600; color: #12204A; }

/* =============================================================================
   POS dialogs: Order for / Order options / Settle (mockup v16) + GST rows
   ============================================================================= */
.pos-wrap .pos-foot-gst span:first-child { color: #12204A; font-weight: 700; }
.pos-foot-gstsplit { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 4px 6px; font-size: 12px; color: #6B7A96; margin: -2px 0 4px; }
.pos-foot-gstsplit i { font-style: normal; color: #B5C0D2; }

.modal-dialog:has(.od-dlg) { max-width: 1080px; }
.modal-dialog:has(.oo-dlg) { max-width: 1180px; }
.modal-dialog:has(.st-dlg) { max-width: 760px; }
.pos-dlg ~ .modal-body { padding: 18px 26px 14px; }
.pos-dlg ~ .modal-footer { background: linear-gradient(180deg, #F4F7FC, #EEF3FB); border-top: 1px solid #E3EBF7; padding: 14px 26px; }
.pos-dlg ~ .modal-footer .btn { height: 50px; min-width: 150px; font-size: 16.5px; font-weight: 800; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.pos-dlg ~ .modal-footer .btn-brass { background: linear-gradient(180deg, #E9A93A, #CF8A17); border-color: #C48316; color: #FFF; min-width: 180px; }
.pos-dlg ~ .modal-footer .btn-brass svg { color: #FFF; }

.od-sec { display: flex; align-items: center; gap: 12px; margin: 4px 0 12px; font-family: var(--cond); font-size: 18px; font-weight: 800; color: #12204A; }
.od-sec > svg { width: 24px; height: 24px; color: #2457D6; flex: 0 0 auto; }
.od-sep { height: 1px; background: #E6ECF5; margin: 18px 0; }
.od-tabs { gap: 14px !important; margin-bottom: 20px; }
.od-tabs .pos-ofor-tab { height: 64px; border-radius: 14px; border: 1.5px solid #D9E1EE; font-size: 18px; font-weight: 800; color: #12204A; gap: 12px; background: #FFF; }
.od-tabs .pos-ofor-tab svg { color: #12204A; }
.od-tabs .pos-ofor-tab:hover { border-color: #E39A1F; }
.od-tabs .pos-ofor-tab.active { background: #FDF0D6; border-color: #E9A93A; color: #9A6A0C; box-shadow: 0 8px 18px -12px rgba(207,138,23,.8); }
.od-tabs .pos-ofor-tab.active svg { color: #C08A1C; }
.od-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 26px; align-items: start; }
@media (max-width: 900px) { .od-grid { grid-template-columns: 1fr; } }
.od-wrap .field-ico .form-control, .od-wrap .field-ico .form-select, .oo-grid .field-ico .form-control, .oo-grid .field-ico .form-select { height: 48px; font-size: 15px; border-radius: 11px; }

.qo-card { border: 1px solid #F3DFAE; background: linear-gradient(180deg, #FFF9EC, #FFF6E3); border-radius: 16px; padding: 16px 18px 8px; }
.qo-head { display: flex; align-items: center; gap: 10px; font-family: var(--cond); font-size: 18px; font-weight: 800; color: #12204A; padding-bottom: 10px; margin-bottom: 6px; border-bottom: 1px solid #F3DFAE; }
.qo-head svg { color: #D8941C; }
.qo-row { display: flex; align-items: flex-start; gap: 12px; padding: 9px 0; cursor: pointer; margin: 0; }
.qo-row input { position: absolute; opacity: 0; pointer-events: none; }
.qo-box { width: 26px; height: 26px; border-radius: 7px; border: 1.5px solid #C9D3E4; background: #FFF; display: grid; place-items: center; flex: 0 0 auto; color: transparent; transition: background .12s; }
.qo-row input:checked + .qo-box { background: linear-gradient(180deg, #E9A93A, #CF8A17); border-color: #C48316; color: #FFF; }
.qo-row input:focus-visible + .qo-box { outline: 2px solid #2457D6; outline-offset: 2px; }
.qo-txt { font-size: 15.5px; font-weight: 600; color: #12204A; line-height: 1.3; }
.qo-txt small { display: block; font-size: 12.5px; font-weight: 500; color: #6B7A96; margin-top: 2px; }

/* order options */
.oo-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 20px; }
@media (max-width: 900px) { .oo-cards { grid-template-columns: 1fr; } }
.oo-card { position: relative; overflow: hidden; text-align: left; padding: 20px 22px 22px; min-height: 170px; border-radius: 16px; border: 1.5px solid #D9E3F2;
    background: linear-gradient(135deg, #FFF 30%, #EAF1FD 140%); cursor: pointer; display: flex; flex-direction: column; gap: 4px; }
.oo-card.oc-gold { background: linear-gradient(135deg, #FFF 30%, #FDF0D6 140%); }
.oo-card.oc-navy { background: linear-gradient(135deg, #FFF 30%, #E9EEF8 140%); }
.oo-card:hover:not(:disabled) { border-color: #E39A1F; }
.oo-card.active { border-color: #E9A93A; box-shadow: 0 0 0 3px rgba(233,169,58,.25), 0 14px 28px -18px rgba(207,138,23,.8); background: linear-gradient(135deg, #FFF8EA 30%, #FDE9C0 140%); }
.oo-card:disabled { opacity: .5; cursor: not-allowed; }
.oo-ico { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 10px; background: #E3ECFD; color: #2457D6; }
.oo-card.oc-gold .oo-ico { background: #FDE5B6; color: #B87708; }
.oo-card.oc-navy .oo-ico { background: #E5EAF5; color: #1D3FA4; }
.oo-ghost { position: absolute; right: 16px; top: 18px; opacity: .14; color: #12204A; }
.oo-ghost svg { width: 74px; height: 74px; }
.oo-tick { position: absolute; right: 12px; top: 12px; width: 30px; height: 30px; border-radius: 50%; display: none; place-items: center; background: linear-gradient(180deg, #E9A93A, #CF8A17); color: #FFF; }
.oo-card.active .oo-tick { display: grid; }
.oo-card.active .oo-ghost { display: none; }
.oo-card b { font-family: var(--cond); font-size: 22px; font-weight: 800; color: #12204A; }
.oo-card small { font-size: 15px; color: #3B4A68; line-height: 1.35; }
.oo-details { background: #F7F9FD; border: 1px solid #E6ECF5; border-radius: 16px; padding: 14px 18px; }
.oo-row { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 14px; align-items: start; padding: 8px 0; }
.oo-row > label { display: flex; align-items: center; gap: 9px; margin: 0; padding-top: 12px; font-size: 15px; font-weight: 800; color: #12204A; }
.oo-row > label svg { color: #2457D6; flex: 0 0 auto; width: 22px; height: 22px; }
.oo-row > label small { display: block; font-size: 12.5px; font-weight: 600; color: #5B6B86; }
.oo-linked { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; border: 1.5px solid #BFDCC8; background: #F2FAF5; font-size: 14.5px; color: #12204A; }
.oo-linked span { color: #5B6B86; font-size: 13px; }
.oo-linked button { margin-left: auto; border: 0; background: none; font-size: 20px; line-height: 1; color: #5B6B86; }
@media (max-width: 900px) { .oo-row { grid-template-columns: 1fr; } .oo-row > label { padding-top: 0; } }

/* settle */
.st-sec { padding: 10px 14px; border-radius: 10px; background: linear-gradient(90deg, #EEF3FB, #F4F7FD 70%, #F8FAFE); margin-bottom: 12px; }
.st-sec > svg { width: 22px; height: 22px; color: #12204A; }
.st-due { margin-left: auto; font-style: normal; font-family: var(--sans, inherit); font-size: 14px; font-weight: 600; color: #5B6B86; }
.st-due b { font-family: var(--cond); font-size: 18px; color: #12204A; margin-left: 4px; }
.st-wrap .pos-pay-grid { gap: 14px; }
.st-wrap .pos-pay-opt { min-height: 108px; border: 1.5px solid #D9E1EE; border-radius: 14px; font-size: 16.5px; font-weight: 800; color: #12204A; box-shadow: 0 2px 6px -4px rgba(22,35,63,.2); }
.st-wrap .pos-pay-opt:hover { border-color: #E39A1F; }
.st-wrap .pos-pay-opt.active { border-color: #E9A93A; background: #FDF0D6; color: #9A6A0C; box-shadow: 0 0 0 3px rgba(233,169,58,.2); }
.st-wrap .pos-pay-ico { width: 50px; height: 50px; }
.st-wrap .pos-pay-ico svg { width: 24px; height: 24px; }
.st-wrap .pp-room { background: #FDF0D6; color: #C08A1C; }
.st-wrap .pp-city { background: #E3ECFD; color: #1D3FA4; }
.st-wrap .pp-vch { background: #FDEFDB; color: #D97A16; }
.st-wrap .pp-loy { background: #DDF3E7; color: #137A50; }
.st-wrap .pp-comp { background: #DDF3E7; color: #178A5B; }
.st-wrap .pp-staff { background: #FDE9E7; color: #D92D20; }
.st-wrap .field-ico .form-control, .st-wrap .field-ico .form-select { height: 48px; font-size: 15px; border-radius: 11px; }
.st-split { width: 100%; display: flex !important; align-items: center; gap: 12px; height: 52px; margin-top: 16px; padding: 0 16px !important; border-radius: 12px !important;
    border: 1.5px dashed #C9D3E4 !important; background: #FFF !important; color: #12204A !important; font-size: 16px !important; font-weight: 700 !important; }
.st-split span { flex: 1; text-align: left; }
.st-split:hover, .st-split.active { border-color: #E39A1F !important; background: #FFFBF1 !important; }

/* =============================================================================
   POS Orders + Menu items pages, item & category dialogs (mockup v17)
   ============================================================================= */
/* orders: stat cards */
.pok-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-bottom: 18px; }
@media (max-width: 1100px) { .pok-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pok-kpi { position: relative; overflow: hidden; display: flex; gap: 16px; align-items: center; padding: 20px 22px; min-height: 112px; border-radius: 18px; border: 1px solid #E4EBF5;
    box-shadow: 0 2px 4px rgba(22,35,63,.04), 0 10px 26px -18px rgba(22,35,63,.25); }
.pok-blue { background: linear-gradient(135deg, #EDF3FD 30%, #DCE8FB 140%); --c: #2563EB; --w: #D5E3FA; }
.pok-gold { background: linear-gradient(135deg, #FFF8EA 30%, #FDEFD3 140%); --c: #C08A1C; --w: #FAE5B8; }
.pok-green { background: linear-gradient(135deg, #F0FAF4 30%, #DDF3E7 140%); --c: #178A5B; --w: #CBEBD9; }
.pok-red { background: linear-gradient(135deg, #FDF1F0 30%, #FBE3E1 140%); --c: #D92D20; --w: #F8D7D4; }
.pok-ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--w); color: var(--c); flex: 0 0 auto; }
.pok-ico svg { width: 28px; height: 28px; stroke-width: 2; }
.pok-txt .l { font-size: 16px; font-weight: 700; color: #12204A; }
.pok-txt .v { font-family: var(--cond); font-size: 32px; font-weight: 800; color: #12204A; line-height: 1.1; }
.pok-txt .h { font-size: 13.5px; color: #3B4A68; }
.pok-ghost { position: absolute; right: 10px; bottom: -8px; color: var(--c); opacity: .14; }
.pok-ghost svg { width: 80px; height: 80px; }

/* orders: tabs + new order */
.pok-tabrow { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.pok-tabs { display: flex; gap: 12px; flex-wrap: wrap; }
.pok-tab { display: inline-flex; align-items: center; gap: 9px; height: 48px; padding: 0 20px; border-radius: 12px;
    border: 1px solid #E1E8F2; background: #FFF; color: #12204A; font-size: 15px; font-weight: 700; cursor: pointer; box-shadow: 0 2px 6px -4px rgba(22,35,63,.2); }
.pok-tab svg { width: 18px; height: 18px; }
.pok-tab:hover { border-color: #E39A1F; }
.pok-tab.active { background: #12204A; border-color: #12204A; color: #FFF; }
.pok-tab.active:first-child, .pok-tab.active { background: #12204A; }
.pok-new { margin-left: auto; display: inline-flex; align-items: center; gap: 9px; height: 50px; padding: 0 24px; border-radius: 12px; border: 1px solid #C48316;
    background: linear-gradient(180deg, #E9A93A, #CF8A17); color: #FFF; font-size: 16px; font-weight: 800; box-shadow: 0 10px 22px -12px rgba(207,138,23,.9); }
.pok-new:hover { background: linear-gradient(180deg, #E3A232, #C27F10); color: #FFF; }
.pok-filters { align-items: end; }
.pok-apply { height: 46px; display: inline-flex; align-items: center; gap: 8px; border-radius: 11px; padding: 0 18px; font-weight: 700; }
.pok-refresh { height: 46px; display: inline-flex; align-items: center; gap: 8px; margin-left: 0 !important; }

/* orders: table bits */
.orb-thcell { width: 64px; }
.orb-thumb { display: inline-block; width: 52px; height: 52px; border-radius: 12px; overflow: hidden; background: #F4F7FC; }
.orb-thumb img { width: 100%; height: 100%; object-fit: cover; }
.orb-thumb.none { display: inline-grid; place-items: center; color: #9DB2D6; }
.orb-place { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: #12204A; white-space: nowrap; }
.orb-place svg { color: #5B6B86; flex: 0 0 auto; }
.orb-actrow { display: inline-flex; gap: 8px; }
.orb-ib { width: 40px; height: 38px; border-radius: 10px; border: 1px solid #D9E1EE; background: #FFF; color: #12204A; display: inline-grid; place-items: center; cursor: pointer; }
.orb-ib svg { width: 17px; height: 17px; }
.orb-ib:hover { background: #F4F7FC; border-color: #CBD5E5; }
.orb-ib-red { border-color: #F3C3BE; color: #D92D20; background: #FFF6F5; }
.orb-ib-red:hover { background: #FDE9E7; border-color: #EFA9A2; }
.orb-note { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 16px 20px; border-radius: 14px;
    background: linear-gradient(90deg, #FFF7E8, #FDF3DC); border: 1px solid #F3DFAE; color: #12204A; font-size: 15px; }
.orb-note .orb-note-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #FAE5B8; color: #B87708; flex: 0 0 auto; }
.orb-note b { font-weight: 800; }

/* menu items: stat cards */
.mis-cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-bottom: 18px; }
@media (max-width: 1100px) { .mis-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mis-card { display: flex; align-items: center; gap: 14px; padding: 18px; min-height: 96px; border-radius: 16px; border: 1px solid #E4EBF5;
    box-shadow: 0 2px 4px rgba(22,35,63,.04), 0 10px 26px -18px rgba(22,35,63,.25); }
.mis-blue { background: linear-gradient(135deg, #EDF3FD 30%, #DCE8FB 140%); --c: #2563EB; --w: #D5E3FA; }
.mis-green { background: linear-gradient(135deg, #F0FAF4 30%, #DDF3E7 140%); --c: #178A5B; --w: #CBEBD9; }
.mis-amber { background: linear-gradient(135deg, #FFF8EA 30%, #FDEFD3 140%); --c: #C08A1C; --w: #FAE5B8; }
.mis-purple { background: linear-gradient(135deg, #F4EFFD 30%, #EADFFB 140%); --c: #7C3AED; --w: #E3D6F9; }
.mis-pink { background: linear-gradient(135deg, #FDF0F4 30%, #FBE1EA 140%); --c: #D33E6D; --w: #F8D4E0; }
.mis-ico { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--w); color: var(--c); flex: 0 0 auto; }
.mis-ico svg { width: 24px; height: 24px; stroke-width: 2; }
.mis-card .v { font-family: var(--cond); font-size: 28px; font-weight: 800; color: #12204A; line-height: 1.1; white-space: nowrap; }
.mis-card .l { font-size: 14.5px; color: #3B4A68; }

/* menu items: availability + toggle + serial */
.mim-serial { width: 46px; text-align: center; color: #5B6B86; font-weight: 700; }
.mim-av { display: inline-flex; align-items: center; gap: 7px; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.mim-av i { width: 8px; height: 8px; border-radius: 50%; }
.mim-av-in { background: #DDF3E7; color: #137A50; } .mim-av-in i { background: #22A06B; }
.mim-av-low { background: #FDEFD3; color: #A86509; } .mim-av-low i { background: #E9A93A; }
.mim-av-out { background: #FDE9E7; color: #B42318; } .mim-av-out i { background: #D92D20; }
.mim-togcell { white-space: nowrap; }
.mim-tgl { vertical-align: middle; }
.mim-tgl-lbl { margin-left: 9px; font-size: 14px; font-weight: 600; color: #12204A; vertical-align: middle; }

/* item dialog */
.modal-dialog:has(.mi-dlg) { max-width: 880px; }
.mi-wrap .mi-lbl { display: block; font-size: 15.5px; font-weight: 800; color: #12204A; margin-bottom: 6px; }
.mi-wrap .mi-lbl .req { color: #D92D20; }
.mi-wrap .field-ico .form-control, .mi-wrap .field-ico .form-select { height: 48px; font-size: 15px; border-radius: 11px; }
.mi-rupee { font-size: 17px; color: #C08A1C; font-style: normal; }
.mi-imgrow { display: flex; gap: 10px; align-items: center; }
.mi-imgrow .field-ico { flex: 1; }
.mi-browse { height: 48px; padding: 0 20px; border-radius: 11px; border: 0; background: #12204A; color: #FFF; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.mi-browse:hover:not(:disabled) { background: #1B2F63; color: #FFF; }
.mi-imgprev { width: 48px; height: 48px; border-radius: 10px; overflow: hidden; background: #F4F7FC; flex: 0 0 auto; }
.mi-imgprev img { width: 100%; height: 100%; object-fit: cover; }
.mi-avail { display: flex; align-items: center; gap: 14px; margin: 18px 0 6px; padding: 14px 16px; border-radius: 12px; border: 1px solid #D9E6FA; background: #EFF4FD; cursor: pointer; }
.mi-avail-ico { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #2563EB; color: #FFF; flex: 0 0 auto; }
.mi-avail-txt { flex: 1; }
.mi-avail-txt b { font-size: 15.5px; color: #12204A; }
.mi-avail-txt small { display: block; font-size: 13px; color: #3B4A68; }

/* item quick view */
.miv-wrap { display: flex; gap: 18px; align-items: flex-start; }
.miv-img { width: 150px; height: 150px; border-radius: 14px; object-fit: cover; flex: 0 0 auto; background: #F4F7FC; }
.miv-noimg { display: grid; place-items: center; color: #9DB2D6; }
.miv-txt h4 { font-family: var(--cond); font-size: 22px; font-weight: 800; color: #12204A; margin: 0 0 4px; }
.miv-txt p { color: #3B4A68; font-size: 14.5px; margin: 0 0 8px; }
.miv-price { font-family: var(--cond); font-size: 24px; font-weight: 800; color: #12204A; margin-bottom: 8px; }

/* category manager */
.modal-dialog:has(.catm-dlg) { max-width: 760px; }
.catm-wrap .catm-addrow { display: flex; gap: 12px; }
.catm-wrap .catm-addfield { flex: 1; }
.catm-wrap .catm-addfield .form-control { height: 50px; border-radius: 12px; font-size: 15.5px; }
.catm-addbtn { height: 50px; min-width: 120px; border-radius: 12px !important; font-size: 16px !important; font-weight: 800 !important;
    background: linear-gradient(180deg, #E9A93A, #CF8A17) !important; border-color: #C48316 !important; color: #FFF !important; }
.catm-shell { margin-top: 14px; border: 1px solid #E4EBF5; border-radius: 14px; overflow: hidden; background: #FFF; }
.catm-head { display: flex; align-items: center; gap: 12px; padding: 11px 16px; background: #EFF4FB; font-size: 13px; font-weight: 800; color: #12204A; }
.catm-head .c-no { width: 26px; }
.catm-head .c-name { flex: 1; }
.catm-head .c-st { width: 110px; }
.catm-head .c-act { width: 128px; text-align: right; }
.catm-wrap .catm-list { max-height: 330px; overflow-y: auto; }
.catm-wrap .catm-row { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-top: 1px solid #EEF2F8; }
.catm-no { width: 26px; color: #5B6B86; font-weight: 700; }
.catm-wrap .catm-name { flex: 1; font-weight: 700; color: #12204A; }
.catm-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 40px 16px 44px; text-align: center; color: #3B4A68; background: #F7FAFE; }
.catm-empty .ic { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: #E3ECFD; color: #2563EB; margin-bottom: 4px; }
.catm-empty b { font-family: var(--cond); font-size: 20px; color: #12204A; }

/* =============================================================================
   POS Tables + Add table + Kitchen display (mockup v18)
   ============================================================================= */
/* stat row */
.tk-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
@media (max-width: 1100px) { .tk-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tk { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; background: #FFF; border: 1px solid #E4EBF5; box-shadow: 0 10px 26px -20px rgba(22,35,63,.25); }
.tk-ico { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--w); color: var(--c); flex: 0 0 auto; }
.tk-ico svg { width: 28px; height: 28px; stroke-width: 2.1; }
.tk-blue { --c: #2563EB; --w: #E3ECFD; } .tk-green { --c: #178A5B; --w: #DDF3E7; } .tk-gold { --c: #C08A1C; --w: #FDF0D6; }
.tk-indigo { --c: #1D4ED8; --w: #E3ECFD; } .tk-red { --c: #D92D20; --w: #FDE9E7; }
.tk .l { font-size: 15px; font-weight: 600; color: #12204A; }
.tk .v { font-family: var(--cond); font-size: 30px; font-weight: 800; color: var(--c); line-height: 1.1; }
.tk-blue .v { color: #12204A; }
.tk .h { font-size: 13.5px; color: #5B6B86; }

/* toolbar */
.tb-bar { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; padding: 14px 18px; margin-bottom: 14px; border-radius: 16px; background: #FFF; border: 1px solid #E4EBF5; }
.tb-title { display: flex; align-items: center; gap: 12px; padding-right: 18px; margin-right: 4px; border-right: 1px solid #E6ECF5; align-self: center; }
.tb-ico { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: #FDF0D6; color: #C08A1C; }
.tb-title b { display: block; font-family: var(--cond); font-size: 19px; color: #12204A; }
.tb-title small { font-size: 13px; color: #5B6B86; }
.tb-f { display: flex; flex-direction: column; gap: 4px; margin: 0; font-size: 13.5px; font-weight: 700; color: #12204A; }
.tb-f .form-select { height: 44px; min-width: 170px; border-radius: 11px; }
.tb-q { flex: 1 1 240px; }
.tb-q .pos-search .form-control { height: 44px; border-radius: 11px; }
.tb-view { display: inline-flex; border: 1px solid #E1E8F2; border-radius: 12px; padding: 4px; background: #FFF; }
.tb-view button { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border: 0; border-radius: 9px; background: none; font-weight: 700; color: #12204A; }
.tb-view button.active { background: #12204A; color: #FFF; }
.tb-add { margin-left: 0; }
.tbl3 .tbl2-chips { margin-bottom: 14px; }

/* outlet sections */
.ts-sec { background: #FFF; border: 1px solid #E4EBF5; border-radius: 18px; padding: 14px 16px 16px; margin-bottom: 16px; }
.ts-head { display: flex; align-items: center; gap: 14px; cursor: pointer; flex-wrap: wrap; }
.ts-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: #E3ECFD; color: #1D4ED8; }
.ts-name b { display: block; font-family: var(--cond); font-size: 19px; color: #12204A; }
.ts-name small { font-size: 13.5px; color: #5B6B86; }
.ts-counts { margin-left: auto; display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; color: #3B4A68; }
.ts-counts span { display: inline-flex; align-items: center; gap: 6px; }
.ts-counts i { width: 10px; height: 10px; border-radius: 50%; }
.c-v i { background: #22A06B; } .c-o i { background: #E9A93A; } .c-r i { background: #2563EB; } .c-x i { background: #E5484D; }
.ts-chev { color: #12204A; transition: transform .15s; transform: rotate(180deg); }
.ts-sec.shut .ts-chev { transform: none; }
.ts-sec.shut .ts-grid { display: none; }
.ts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 14px; margin-top: 14px; }

/* table cards */
.tc { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 14px 14px 12px; border-radius: 14px; border: 1.5px solid var(--b); background: var(--bg); cursor: pointer; min-height: 150px; outline: none; transition: box-shadow .12s, border-color .12s; }
.tc:hover, .tc:focus-within, .tc:focus { box-shadow: 0 14px 28px -18px rgba(22,35,63,.45); border-color: var(--c); }
.tc.tv { --c: #178A5B; --w: #DDF3E7; --b: #D4EADF; --bg: linear-gradient(180deg, #F4FBF7, #FFF); }
.tc.to { --c: #C08A1C; --w: #FDF0D6; --b: #F2DFB8; --bg: linear-gradient(180deg, #FFF9EE, #FFF); }
.tc.tr { --c: #1D4ED8; --w: #E3ECFD; --b: #D3DFF7; --bg: linear-gradient(180deg, #F3F7FE, #FFF); }
.tc.tx { --c: #D92D20; --w: #FDE9E7; --b: #F4D4D0; --bg: linear-gradient(180deg, #FEF5F4, #FFF); }
.tc-top { display: flex; align-items: center; gap: 12px; }
.tc-ico { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--w); color: var(--c); flex: 0 0 auto; }
.tc-id b { display: block; font-family: var(--cond); font-size: 21px; font-weight: 800; color: #12204A; line-height: 1.1; }
.tc-pill { display: inline-block; margin-top: 4px; padding: 3px 11px; border-radius: 999px; background: var(--w); color: var(--c); font-size: 13px; font-weight: 800; white-space: nowrap; }
.tc-seats { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #5B6B86; padding-left: 66px; margin-top: -4px; }
.tc-seats svg { width: 14px; height: 14px; }
.tc-info { display: grid; gap: 5px; padding-top: 8px; border-top: 1px dashed var(--b); font-size: 14px; color: #12204A; }
.tc-info div, .tc-note { display: flex; align-items: center; gap: 8px; min-width: 0; }
.tc-info span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-info svg { width: 16px; height: 16px; color: #3B4A68; flex: 0 0 auto; }
.tc-note { color: #5B6B86; }
.tc-acts { display: none; gap: 6px; margin-top: auto; padding-top: 8px; border-top: 1px solid var(--b); }
.tc:hover .tc-acts, .tc:focus-within .tc-acts, .tc:focus .tc-acts { display: flex; }
@media (hover: none) { .tc-acts { display: flex; } }
.tc-acts button { flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: 5px; height: 32px; padding: 0 8px; border-radius: 8px;
    border: 1px solid #D9E1EE; background: #FFF; color: #12204A; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.tc-acts button svg { width: 14px; height: 14px; }
.tc-acts button:hover { border-color: var(--c); }
.tc-acts button.red { color: #D92D20; border-color: #F3C3BE; background: #FFF6F5; }
.tl-tv .tl-pill { --c: #178A5B; --w: #DDF3E7; } .tl-to .tl-pill { --c: #C08A1C; --w: #FDF0D6; }
.tl-tr .tl-pill { --c: #1D4ED8; --w: #E3ECFD; } .tl-tx .tl-pill { --c: #D92D20; --w: #FDE9E7; }

/* add table dialog */
.modal-dialog:has(.tad-dlg) { max-width: 820px; }
.tad .field-ico .form-control, .tad .field-ico .form-select { height: 52px; font-size: 16px; border-radius: 12px; }
.tad .form-label { font-size: 16px; font-weight: 800; color: #12204A; }

/* kitchen display */
.kds3 .kds2-topbar { gap: 22px; padding: 16px 20px; border-radius: 18px; border-color: #E4EBF5; margin-bottom: 18px; }
.kds3 .kds2-title-ico { width: 52px; height: 52px; border-radius: 50%; background: #FDF0D6; color: #C08A1C; }
.kds3 .kds2-title-ico svg { width: 26px; height: 26px; }
.kds3 .kds2-title b { display: block; font-family: var(--cond); font-size: 19px; color: #12204A; }
.kds3 .kds2-title small { display: block; font-size: 13px; font-weight: 500; color: #5B6B86; }
.kds3 .kds2-kpi-ico { width: 46px; height: 46px; border-radius: 12px; }
.kds3 .kds2-kpi-ico svg { width: 22px; height: 22px; }
.k-blue { background: #E3ECFD; color: #2563EB; } .k-gold { background: #FDF0D6; color: #C08A1C; } .k-green { background: #DDF3E7; color: #178A5B; }
.kds3 .kds2-kpi-val { font-family: var(--cond); font-size: 24px; }
.kds2-sel { height: 46px; min-width: 210px; border-radius: 11px; font-weight: 700; }
.kds2-refresh { height: 46px; display: inline-flex; align-items: center; gap: 8px; }
.kds3 .kds2-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.kds3 .kds2-card { border-radius: 16px; border-color: #E4EBF5; box-shadow: 0 12px 26px -20px rgba(22,35,63,.35); }
.kds3 .kds2-head { background: #12204A; padding: 12px 16px; border-bottom: 3px solid #E9A93A; justify-content: flex-start; }
.kh-ico { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: rgba(255,255,255,.12); color: #FFF; flex: 0 0 auto; }
.kds3 .kds2-no { font-family: var(--cond); font-size: 18px; font-weight: 800; letter-spacing: 0; line-height: 1.15; }
.kds3 .kds2-ordno { display: block; font-family: var(--mono, monospace); font-size: 12px; font-weight: 600; color: #B9C6E0; }
.kds3 .kds2-time { margin-left: auto; font-size: 14px; padding: 5px 12px; font-weight: 800; }
.kds2-time.age-0 { background: #2563EB; } .kds2-time.age-1 { background: #E9A93A; color: #2B1D04; }
.kds2-time.age-2 { background: #EA6A2A; } .kds2-time.age-3 { background: #D92D20; }
.kds3 .kds2-where { padding: 12px 16px 8px; justify-content: flex-start; flex-wrap: wrap; gap: 8px; font-size: 15px; }
.kw-lbl { display: inline-flex; align-items: center; gap: 7px; font-weight: 800; color: #12204A; }
.kw-lbl svg { width: 18px; height: 18px; }
.kds3 .kds2-outlet { padding: 3px 10px; border-radius: 999px; background: #EEF2F8; color: #3B4A68; font-size: 12px; font-weight: 600; margin: 0; }
.kds3 .kds2-pill { margin-left: auto; font-size: 12.5px; }
.kds3 .kds2-items { padding: 6px 14px 12px; gap: 8px; }
.kds3 .kds2-item { padding: 8px 10px; border-radius: 11px; border-color: #EEF2F8; box-shadow: 0 2px 6px -4px rgba(22,35,63,.2); }
.kds3 .kds2-item-main { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; flex-wrap: wrap; }
.kds3 .kds2-qty { display: inline-grid; place-items: center; min-width: 34px; height: 28px; padding: 0 6px; border-radius: 8px; background: #FDF0D6; color: #A86509; font-size: 13px; margin: 0; }
.kds3 .kds2-mods, .kds3 .kds2-note { flex-basis: 100%; padding-left: 44px; }
.kds3 .kds2-start { background: #2563EB; padding: 8px 16px; border-radius: 9px; font-size: 14px; }
.kds3 .kds2-start:hover { background: #1D4ED8; }
.kds3 .kds2-ready { padding: 8px 16px; border-radius: 9px; font-size: 14px; }
.kds3 .kds2-serve { padding: 8px 16px; border-radius: 9px; font-size: 14px; }
.kds3 .kds2-foot { padding: 12px 16px; background: #F7F9FC; }
.kds3 .kds2-foot b { font-size: 15px; color: #12204A; }
.kds3 .kds2-reprint { width: 46px; height: 40px; border-radius: 10px; border: 1px solid #D9E1EE; background: #FFF; color: #12204A; display: grid; place-items: center; margin-left: auto; }
.kds3 .kds2-startall { height: 40px; padding: 0 18px; border-radius: 10px; background: linear-gradient(180deg, #E9A93A, #CF8A17); font-size: 14.5px; font-weight: 800; box-shadow: 0 8px 18px -12px rgba(207,138,23,.9); }
.kds2-hint { font-size: 13px; color: #5B6B86; padding: 4px 4px 0; }
.tb-bar { flex-wrap: nowrap; }
.tb-f { flex: 0 1 180px; min-width: 0; }
.tb-f .form-select { min-width: 0; width: 100%; }
.tb-q { flex: 1 1 220px; }
.tb-title { flex: 0 0 auto; padding-right: 14px; }
.tb-add { flex: 0 0 auto; height: 44px; white-space: nowrap; }
@media (max-width: 1280px) { .tb-bar { flex-wrap: wrap; } .tb-title { border-right: 0; } }
@media (max-width: 1440px) { .tb-title small { display: none; } }
.kds3 .kds2-topbar { flex-wrap: nowrap; }
.kds3 .kds2-sel { min-width: 0; width: 190px; flex: 0 1 190px; }
.kds3 .kds2-title small { white-space: nowrap; }
.kds3 .kds2-where { flex-wrap: nowrap; }
.kds3 .kw-lbl { white-space: nowrap; }
.kds3 .kds2-outlet { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kds3 .kds2-pill { flex: 0 0 auto; }
@media (max-width: 1200px) { .kds3 .kds2-topbar { flex-wrap: wrap; } }

/* =============================================================================
   POS Reports, Sales, Cash shift (mockup v19)
   ============================================================================= */
/* ---- Reports toolbar ---- */
.rt-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.rt-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.rt-chip { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px; border-radius: 12px; border: 1px solid #E1E8F2; background: #FFF;
    font-size: 15px; font-weight: 700; color: #12204A; box-shadow: 0 6px 14px -12px rgba(22,35,63,.35); }
.rt-chip svg { width: 19px; height: 19px; color: #3B4A68; }
.rt-chip:hover { border-color: #E9A93A; }
.rt-chip.active { background: linear-gradient(180deg, #E9A93A, #CF8A17); border-color: #CF8A17; color: #FFF; box-shadow: 0 10px 20px -12px rgba(207,138,23,.9); }
.rt-chip.active svg { color: #FFF; }
.rt-div { width: 1px; height: 34px; background: #DDE4EF; margin: 0 4px; }
.rt-sel, .rt-date, .rt-search { position: relative; display: inline-flex; align-items: center; height: 46px; margin: 0; border: 1px solid #E1E8F2; border-radius: 12px; background: #FFF; }
.rt-sel .ico, .rt-date .ico, .rt-search .ico { position: absolute; left: 13px; display: grid; color: #3B4A68; pointer-events: none; }
.rt-sel svg, .rt-date svg, .rt-search svg { width: 18px; height: 18px; }
.rt-sel select { height: 100%; border: 0; background: transparent; padding: 0 30px 0 42px; font-weight: 700; color: #12204A; border-radius: 12px; appearance: none; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2312204A' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center; }
.rt-date input, .rt-search input { height: 100%; border: 0; background: transparent; padding: 0 12px 0 42px; color: #12204A; border-radius: 12px; outline: none; }
.rt-date { width: 168px; } .rt-date input { width: 100%; }
.rt-search { margin-left: auto; flex: 1 1 220px; max-width: 340px; }
.rt-search input { width: 100%; }
.rt-sel:focus-within, .rt-date:focus-within, .rt-search:focus-within { border-color: #E9A93A; box-shadow: 0 0 0 3px rgba(233,169,58,.18); }
.rt-hint { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #5B6B86; margin: 0 2px 14px; }
.rt-hint svg { width: 15px; height: 15px; flex: none; }

/* ---- Report groups and cards ---- */
.rg { position: relative; background: #FFF; border: 1px solid #E4EBF5; border-radius: 18px; padding: 16px 16px 16px; margin-bottom: 16px; box-shadow: 0 12px 26px -24px rgba(22,35,63,.4); }
.rg::before { content: ''; position: absolute; left: 10px; top: 20px; width: 4px; height: 34px; border-radius: 4px; background: var(--g); }
.rg-gold { --g: #E9A93A; --gw: #FDF0D6; --gc: #C08A1C; } .rg-blue { --g: #2563EB; --gw: #E3ECFD; --gc: #2563EB; } .rg-green { --g: #178A5B; --gw: #DDF3E7; --gc: #178A5B; }
.rg-head { display: flex; align-items: center; gap: 12px; padding-left: 10px; margin-bottom: 14px; }
.rg-ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--gw); color: var(--gc); }
.rg-ico svg { width: 26px; height: 26px; }
.rg-head h3 { margin: 0; font-family: var(--cond); font-size: 21px; font-weight: 800; color: #12204A; }
.rg-head small { font-size: 13.5px; color: #5B6B86; }
.rg-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.rg-5 .rg-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1380px) { .rg-5 .rg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1180px) { .rg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rc { display: flex; align-items: center; gap: 12px; padding: 12px 12px; border: 1px solid #E6ECF5; border-radius: 14px; background: #FFF; text-align: left; min-height: 72px;
    box-shadow: 0 6px 16px -14px rgba(22,35,63,.35); transition: border-color .12s, box-shadow .12s, transform .12s; }
.rc:hover, .rc:focus-visible { border-color: #E9A93A; box-shadow: 0 14px 26px -18px rgba(22,35,63,.45); transform: translateY(-1px); outline: none; }
.rc-ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--w); color: var(--c); flex: 0 0 auto; }
.rc-ico svg { width: 26px; height: 26px; }
.rc-gold { --w: #FDF0D6; --c: #C08A1C; } .rc-blue { --w: #E3ECFD; --c: #2563EB; } .rc-green { --w: #DDF3E7; --c: #178A5B; }
.rc-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rc-txt b { font-size: 15px; font-weight: 800; color: #12204A; line-height: 1.25; }
.rc-txt small { font-size: 13px; color: #5B6B86; line-height: 1.3; }
.rc-go { color: #12204A; flex: none; display: grid; }
.rc-go svg { width: 18px; height: 18px; }
.rc:hover .rc-go { color: #CF8A17; }

/* ---- Report dialog ---- */
.modal-dialog:has(.rpt-dlgwrap).modal-xl { max-width: min(1100px, 94vw); }
.rpt-dlg .rpt-ctrl { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 14px; margin-bottom: 14px; border-radius: 14px; background: #F6F9FE; border: 1px solid #E4EBF5; }
.rpt-ctrl-lbl { display: inline-flex; align-items: center; gap: 7px; font-weight: 800; color: #12204A; margin-right: 4px; }
.rpt-ctrl-lbl svg { width: 18px; height: 18px; color: #C08A1C; }
.rpt-dlg .rpt-ctrl .form-control { width: 175px; height: 42px; border-radius: 10px; }
.rpt-dlg .rpt-ctrl .btn { height: 42px; display: inline-flex; align-items: center; gap: 7px; }
.rpt-dlg .rpt-ctrl .btn svg { width: 16px; height: 16px; color: #FFF; }
.rpt-dlg .rpt-kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; margin-bottom: 14px; }
.rpt-dlg .rpt-kpi { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; border-radius: 12px; background: #FFF; border: 1px solid #E4EBF5; border-left: 4px solid #E9A93A; }
.rpt-dlg .rpt-kpi b { font-family: var(--cond); font-size: 19px; color: #12204A; }
.rpt-dlg .rpt-sechd { font-family: var(--cond); font-size: 16px; font-weight: 800; color: #12204A; margin: 16px 0 8px; }
.rpt-dlg .rpt-tablewrap { border: 1px solid #E4EBF5; border-radius: 12px; max-height: 46vh; overflow: auto; }
.rpt-dlg .orb-table thead th { position: sticky; top: 0; background: #F2F6FC; z-index: 1; }
.rpt-dlg .sls-total td { background: #FDF3DF; font-weight: 800; color: #12204A; }
.rpt-dlg .rpt-note { margin-top: 10px; }

/* ---- Sales ---- */
.sr-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.sr-period { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: #12204A; font-size: 15px; }
.sr-period svg { width: 18px; height: 18px; color: #C08A1C; }
.sr-quick { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid #E1E8F2; border-radius: 12px; background: #FFF; }
.sr-quick button { border: 0; background: none; height: 34px; padding: 0 12px; border-radius: 9px; font-size: 13.5px; font-weight: 700; color: #3B4A68; }
.sr-quick button:hover { background: #FDF0D6; color: #A86509; }
.sr-f { display: inline-flex; align-items: center; gap: 10px; height: 46px; margin: 0; padding: 0 12px; border: 1px solid #E1E8F2; border-radius: 12px; background: #FFF; }
.sr-bar .sr-f:first-of-type { margin-left: auto; }
.sr-f span { font-size: 14px; color: #5B6B86; }
.sr-f input { border: 0; outline: none; font-weight: 700; color: #12204A; background: transparent; }
.sr-f:focus-within { border-color: #E9A93A; }
.sr-apply { height: 46px; min-width: 110px; }
.sk-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px; }
.sk { position: relative; display: flex; align-items: center; gap: 16px; padding: 16px 18px 16px 22px; background: #FFF; border: 1px solid #E4EBF5; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 24px -22px rgba(22,35,63,.4); }
.sk::before { content: ''; position: absolute; left: 0; top: 16px; bottom: 16px; width: 4px; border-radius: 0 4px 4px 0; background: var(--c); }
.sk-ico { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--w); color: var(--c); flex: none; }
.sk-ico svg { width: 28px; height: 28px; }
.sk-blue { --c: #2563EB; --w: #E3ECFD; } .sk-green { --c: #178A5B; --w: #DDF3E7; } .sk-violet { --c: #6D4FD8; --w: #EEE9FD; } .sk-gold { --c: #CF8A17; --w: #FDF0D6; }
.sk-l { font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #3B4A68; }
.sk-v { font-family: var(--cond); font-size: 28px; font-weight: 800; color: #12204A; line-height: 1.15; }
.sk-s { font-size: 13.5px; color: #5B6B86; }
.sc-mid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 14px; margin-bottom: 14px; }
@media (max-width: 1200px) { .sc-mid { grid-template-columns: 1fr; } .sk-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sc { background: #FFF; border: 1px solid #E4EBF5; border-radius: 18px; padding: 16px 18px; box-shadow: 0 12px 26px -24px rgba(22,35,63,.4); margin-bottom: 14px; }
.sc-mid .sc { margin-bottom: 0; }
.sc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.sc-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: #FDF0D6; color: #C08A1C; flex: none; }
.sc-ico svg { width: 24px; height: 24px; }
.sc-head h3 { margin: 0; font-family: var(--cond); font-size: 19px; font-weight: 800; color: #12204A; }
.sc-head small { font-size: 13px; color: #5B6B86; }
.sc-group { margin: 0 0 0 auto; display: flex; flex-direction: column; gap: 3px; font-size: 13px; color: #5B6B86; }
.sc-group .form-select { height: 42px; min-width: 150px; border-radius: 10px; font-weight: 700; color: #12204A; }
.sl-legend { display: flex; gap: 22px; font-size: 13.5px; color: #12204A; margin: 2px 0 6px 6px; }
.sl-legend span { display: inline-flex; align-items: center; gap: 7px; }
.sl-legend i { width: 10px; height: 10px; border-radius: 50%; }
.sl-chart { position: relative; }
.sl-svg { width: 100%; height: 250px; display: block; overflow: visible; }
.sl-grid { stroke: #E3E9F2; stroke-dasharray: 4 4; } .sl-grid.base { stroke: #C9D3E2; stroke-dasharray: none; }
.sl-y { font-size: 11.5px; fill: #5B6B86; text-anchor: end; }
.sl-x { font-size: 11.5px; fill: #3B4A68; text-anchor: middle; }
.sl-empty { position: absolute; left: 62px; right: 0; top: 18px; bottom: 30px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; pointer-events: none; }
.sl-empty span { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #EAF0FA; color: #3B5FA8; margin-bottom: 4px; }
.sl-empty span svg { width: 26px; height: 26px; }
.sl-empty b { font-size: 16px; color: #12204A; } .sl-empty small { font-size: 13px; color: #5B6B86; }
.sd-wrap { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 18px; align-items: center; }
.sd-box { position: relative; width: 200px; height: 200px; }
.sd-svg { width: 100%; height: 100%; }
.sd-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.sd-center b { font-family: var(--cond); font-size: 20px; color: #12204A; } .sd-center span { font-size: 13px; color: #5B6B86; }
.sd-legend { max-height: 260px; overflow: auto; }
.sd-leg { display: flex; align-items: center; gap: 10px; padding: 7px 4px; border-bottom: 1px solid #EEF2F8; }
.sd-leg:last-child { border-bottom: 0; }
.sd-leg i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.sd-leg div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sd-leg b { font-size: 14px; color: #12204A; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sd-leg small { font-size: 12px; color: #5B6B86; }
.sd-leg > span { font-weight: 700; color: #12204A; font-size: 14px; }
.st-wrap { border: 1px solid #E8EDF5; border-radius: 12px; }
.st-table thead th { background: #F2F6FC; font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; color: #3B4A68; }
.st-sort { cursor: pointer; user-select: none; white-space: nowrap; } .st-sort.on { color: #12204A; }
.st-arr { font-size: 10px; opacity: .7; }
.st-ico { width: 32px; height: 32px; border-radius: 9px; display: inline-grid; place-items: center; background: var(--w); color: var(--c); margin-right: 10px; vertical-align: middle; }
.st-ico svg { width: 18px; height: 18px; }
.sb-blue { --w: #E3ECFD; --c: #2563EB; } .sb-gold { --w: #FDF0D6; --c: #C08A1C; } .sb-violet { --w: #EEE9FD; --c: #6D4FD8; } .sb-green { --w: #DDF3E7; --c: #178A5B; }
.st-share { min-width: 170px; white-space: nowrap; }
.st-bar { display: inline-block; width: 120px; height: 8px; border-radius: 8px; background: #E7ECF5; overflow: hidden; vertical-align: middle; margin-right: 10px; }
.st-bar span { display: block; height: 100%; background: linear-gradient(90deg, #E9A93A, #CF8A17); border-radius: 8px; }
.st-pct { font-weight: 700; color: #12204A; font-size: 13.5px; }
.st-total td { background: #FDF3DF !important; font-weight: 800; font-size: 15px; color: #12204A; }

/* ---- Cash shift ---- */
.cs-head { display: flex; align-items: center; gap: 14px; padding: 16px 20px; margin-bottom: 14px; background: #FFF; border: 1px solid #E4EBF5; border-radius: 18px; }
.cs-h-ico { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: #FDF0D6; color: #C08A1C; }
.cs-h-ico svg { width: 28px; height: 28px; }
.cs-head h3 { margin: 0; font-family: var(--cond); font-size: 21px; font-weight: 800; color: #12204A; }
.cs-head small { font-size: 14px; color: #5B6B86; }
.cs-outlet { margin: 0 0 0 auto; display: flex; align-items: center; gap: 14px; font-weight: 700; color: #12204A; }
.cs-sel { position: relative; display: inline-flex; align-items: center; height: 48px; width: 290px; border: 1px solid #E1E8F2; border-radius: 12px; background: #FFF; }
.cs-sel > svg { position: absolute; left: 14px; width: 20px; height: 20px; color: #3B4A68; pointer-events: none; }
.cs-sel select { width: 100%; height: 100%; border: 0; background: transparent; padding: 0 34px 0 46px; font-weight: 700; font-size: 15px; color: #12204A; appearance: none; border-radius: 12px; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2312204A' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; }
.cs-status { border-radius: 18px; margin-bottom: 14px; overflow: hidden; border: 1px solid var(--b); background: #FFF; }
.cs-closed { --b: #F0D9AE; --t: linear-gradient(180deg, #FFF6E6, #FFF9EF); }
.cs-live { --b: #CDE9D9; --t: linear-gradient(180deg, #EEF9F3, #F6FCF8); }
.cs-st-top { display: flex; align-items: center; gap: 18px; padding: 18px 22px; background: var(--t); flex-wrap: wrap; }
.cs-st-ico { width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center; background: #DDF3E7; color: #178A5B; flex: none; }
.cs-st-ico svg { width: 30px; height: 30px; }
.cs-st-div { width: 2px; height: 48px; background: #E9A93A; opacity: .6; }
.cs-live .cs-st-div { background: #22A06B; }
.cs-st-top p { margin: 6px 0 0; font-size: 15px; color: #3B4A68; }
.cs-pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px; border-radius: 999px; font-weight: 800; font-size: 15px; }
.cs-pill i { width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.cs-pill-gold { background: #FCE7BE; color: #2B1D04; } .cs-pill-gold i { background: #CF8A17; }
.cs-pill-green { background: #D3F1E0; color: #116A45; } .cs-pill-green i { background: #22A06B; box-shadow: 0 0 0 3px rgba(34,160,107,.25); }
.cs-acts { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.cs-acts .btn { height: 46px; display: inline-flex; align-items: center; gap: 8px; }
.cs-acts svg, .cs-gold svg { width: 18px; height: 18px; }
.cs-gold { height: 50px; padding: 0 26px; border: 0; border-radius: 12px; color: #FFF; font-weight: 800; font-size: 16px; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    background: linear-gradient(180deg, #E9A93A, #CF8A17); box-shadow: 0 10px 20px -12px rgba(207,138,23,.9); }
.cs-gold:hover { color: #FFF; filter: brightness(1.04); } .cs-gold svg { color: #FFF; }
.cs-open-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) auto; gap: 22px; align-items: end; padding: 16px 22px 20px; border-top: 1px solid var(--b); background: #FFFCF6; }
@media (max-width: 1100px) { .cs-open-form { grid-template-columns: 1fr; } }
.cs-f { display: flex; flex-direction: column; gap: 7px; margin: 0; font-size: 16px; font-weight: 800; color: #12204A; }
.cs-f em { color: #D92D20; font-style: normal; }
.cs-in { display: flex; align-items: stretch; height: 52px; border: 1px solid #DCE3EE; border-radius: 12px; background: #FFF; overflow: hidden; }
.cs-in:focus-within { border-color: #E9A93A; box-shadow: 0 0 0 3px rgba(233,169,58,.18); }
.cs-add { width: 52px; display: grid; place-items: center; background: #F2F5FA; border-right: 1px solid #E1E8F2; color: #3B4A68; font-weight: 700; font-size: 17px; }
.cs-add svg { width: 20px; height: 20px; }
.cs-in input { flex: 1; min-width: 0; border: 0; outline: none; padding: 0 16px; font-size: 17px; font-weight: 600; color: #12204A; }
.cs-note { padding: 14px 22px; color: #5B6B86; border-top: 1px solid var(--b); }
.cs-ops { background: #FFF; border: 1px solid #E4EBF5; border-radius: 18px; padding: 16px 20px 20px; }
.cs-ops-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.cs-ops-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #FDF0D6; color: #C08A1C; }
.cs-ops-ico svg { width: 22px; height: 22px; }
.cs-ops-head h3 { margin: 0; font-family: var(--cond); font-size: 20px; font-weight: 800; color: #12204A; }
.cs-ops-head h3 span { font-family: var(--sans, inherit); font-weight: 600; font-size: 16px; color: #3B4A68; }
.cs-hist { margin-left: auto; height: 42px; display: inline-flex; align-items: center; gap: 8px; }
.cs-hist svg { width: 16px; height: 16px; }
.cs-k-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px; }
@media (max-width: 1100px) { .cs-k-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cs-k { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid #E6ECF5; border-radius: 14px; background: linear-gradient(180deg, #FBFCFF, #FFF); }
.cs-k-ico { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--w); color: var(--c); flex: none; }
.cs-k-ico svg { width: 28px; height: 28px; }
.ck-blue { --w: #E3ECFD; --c: #2563EB; } .ck-green { --w: #DDF3E7; --c: #178A5B; } .ck-red { --w: #FDE9E7; --c: #D92D20; } .ck-violet { --w: #EEE9FD; --c: #6D4FD8; }
.cs-k-l { font-size: 14px; font-weight: 600; color: #3B4A68; }
.cs-k-v { font-family: var(--cond); font-size: 25px; font-weight: 800; color: #12204A; line-height: 1.2; }
.cs-k-s { font-size: 12px; color: #5B6B86; }
.cs-modes { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.cs-modes-l { font-weight: 800; color: #12204A; margin-right: 4px; }
.cs-mode { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid #E6ECF5; border-radius: 12px; background: #FFF; font-size: 13.5px; }
.cs-mode b { color: #12204A; } .cs-mode small { color: #5B6B86; }
.cs-mode-tot { background: #FDF3DF; border-color: #F2DFB8; font-weight: 700; color: #12204A; }
.pm { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: var(--w); color: var(--c); white-space: nowrap; }
.pm svg { width: 14px; height: 14px; }
.pm-cash { --w: #DDF3E7; --c: #178A5B; } .pm-card { --w: #E3ECFD; --c: #2563EB; } .pm-upi { --w: #EEE9FD; --c: #6D4FD8; }
.pm-room { --w: #FDF0D6; --c: #A86509; } .pm-comp { --w: #FDE9E7; --c: #B42318; } .pm-other { --w: #EEF2F8; --c: #3B4A68; }
.cs-table { border: 1px solid #E6ECF5; border-radius: 14px; max-height: 420px; overflow: auto; }
.cs-table thead th { position: sticky; top: 0; z-index: 1; background: #F2F6FC; font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; color: #3B4A68; }
.cs-time { font-variant-numeric: tabular-nums; white-space: nowrap; color: #3B4A68; }
.cs-act { width: 30px; height: 30px; border-radius: 9px; display: inline-grid; place-items: center; margin-right: 10px; vertical-align: middle; background: #EEF2F8; color: #3B4A68; }
.cs-act svg { width: 16px; height: 16px; }
.cs-act-sale { background: #E3ECFD; color: #2563EB; } .cs-act-paid_in { background: #DDF3E7; color: #178A5B; } .cs-act-paid_out, .cs-act-refund { background: #FDE9E7; color: #D92D20; }
.cs-act-open { background: #FDF0D6; color: #C08A1C; } .cs-act-close { background: #12204A; color: #FFF; }
.cs-amt { font-weight: 800; color: #12204A; } .cs-amt.neg { color: #D92D20; }
.cs-empty { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 26px 10px; text-align: center; }
.cs-empty span { color: #8A97AE; } .cs-empty span svg { width: 48px; height: 48px; stroke-width: 1.3; }
.cs-empty b { font-size: 17px; color: #12204A; } .cs-empty small { font-size: 13.5px; color: #5B6B86; }

/* ---- Close shift dialog ---- */
.cz-sum { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 800px) { .cz-sum { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cz-s { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; border-radius: 12px; border: 1px solid #E4EBF5; background: #F8FAFD; }
.cz-s span { font-size: 12.5px; color: #5B6B86; } .cz-s b { font-family: var(--cond); font-size: 18px; color: #12204A; }
.cz-exp { background: #FDF3DF; border-color: #F2DFB8; }
.cz-diff { height: 52px; display: flex; align-items: center; padding: 0 16px; border-radius: 12px; border: 1px dashed #CBD5E3; font-family: var(--cond); font-weight: 800; font-size: 19px; color: #5B6B86; }
.cz-diff.ok { background: #DDF3E7; border: 1px solid #B9E3CB; color: #116A45; }
.cz-diff.over { background: #E3ECFD; border: 1px solid #C2D5F8; color: #1D4ED8; }
.cz-diff.short { background: #FDE9E7; border: 1px solid #F5C6C1; color: #B42318; }
.cz-den { margin-top: 14px; border: 1px solid #E4EBF5; border-radius: 12px; background: #FBFCFF; }
.cz-den summary { display: flex; align-items: center; gap: 8px; padding: 12px 14px; cursor: pointer; font-weight: 800; color: #12204A; list-style: none; }
.cz-den summary::-webkit-details-marker { display: none; }
.cz-den summary svg { width: 18px; height: 18px; color: #C08A1C; }
.cz-den-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; padding: 0 14px 14px; }
@media (max-width: 800px) { .cz-den-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cz-den-grid label { display: flex; flex-direction: column; gap: 4px; margin: 0; font-size: 12.5px; font-weight: 700; color: #3B4A68; }
.cz-den-grid input { height: 38px; border: 1px solid #DCE3EE; border-radius: 9px; padding: 0 10px; font-weight: 700; color: #12204A; }
.cz-den-grid em { font-style: normal; font-size: 12px; color: #5B6B86; }
.cs-sel { width: 330px; }
@media (max-width: 1440px) { .rt-date { width: 150px; } .rt-search { max-width: 260px; } }
.rt-search { min-width: 0; }
@media (max-width: 1440px) {
  .rt-bar { gap: 8px; flex-wrap: nowrap; }
  .rt-chips { gap: 6px; flex-wrap: nowrap; }
  .rt-chip { padding: 0 12px; gap: 6px; font-size: 14px; }
  .rt-div { margin: 0; }
  .rt-date { width: 132px; } .rt-date .ico { display: none; } .rt-date input { padding: 0 8px 0 12px; font-size: 13.5px; }
  .rt-sel select { padding-left: 38px; font-size: 14px; }
  .rt-search { flex: 1 1 140px; max-width: none; }
}
@media (max-width: 1200px) { .rt-bar { flex-wrap: wrap; } }

/* =============================================================================
   POS Setup (tabs, v20)
   ============================================================================= */
.su-head { display: flex; align-items: center; gap: 14px; padding: 16px 20px; margin-bottom: 14px; background: #FFF; border: 1px solid #E4EBF5; border-radius: 18px; flex-wrap: wrap; }
.su-h-ico { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: #FDF0D6; color: #C08A1C; }
.su-h-ico svg { width: 28px; height: 28px; }
.su-head h3 { margin: 0; font-family: var(--cond); font-size: 21px; font-weight: 800; color: #12204A; }
.su-head small { font-size: 14px; color: #5B6B86; }
.su-status { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.su-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.su-badge svg { width: 14px; height: 14px; }
.b-on { background: #DDF3E7; color: #116A45; } .b-off { background: #EEF2F8; color: #3B4A68; } .b-warn { background: #FDF0D6; color: #8A5A08; }

.su-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; padding: 6px; margin-bottom: 14px; background: #FFF; border: 1px solid #E4EBF5; border-radius: 16px; }
.su-tab { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 0; border-radius: 12px; background: none; text-align: left; min-width: 0; transition: background .12s; }
.su-tab:hover { background: #F6F9FE; }
.su-tab-ico { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: #EEF2F8; color: #3B4A68; flex: none; }
.su-tab-ico svg { width: 22px; height: 22px; }
.su-tab-txt { display: flex; flex-direction: column; min-width: 0; }
.su-tab-txt b { font-size: 15px; color: #12204A; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.su-tab-txt small { font-size: 12.5px; color: #5B6B86; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.su-tab-txt small.warn { color: #A86509; font-weight: 700; }
.su-tab.active { background: #12204A; box-shadow: 0 10px 22px -14px rgba(18,32,74,.8); }
.su-tab.active .su-tab-ico { background: linear-gradient(180deg, #E9A93A, #CF8A17); color: #FFF; }
.su-tab.active b { color: #FFF; } .su-tab.active small { color: #B9C6E0; } .su-tab.active small.warn { color: #F5C66B; }
@media (max-width: 1250px) { .su-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.su-card { background: #FFF; border: 1px solid #E4EBF5; border-radius: 18px; padding: 18px 20px; box-shadow: 0 12px 26px -24px rgba(22,35,63,.4); }
.su-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.su-bill { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
@media (max-width: 1150px) { .su-grid2, .su-bill { grid-template-columns: 1fr; } }
.su-dim > *:not(.su-sec-head):not(.su-note) { opacity: .55; }
.su-sec-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.su-sec-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.su-sec-ico svg { width: 24px; height: 24px; }
.su-gold { --w: #FDF0D6; --c: #C08A1C; } .su-green { --w: #DDF3E7; --c: #178A5B; } .su-blue { --w: #E3ECFD; --c: #2563EB; } .su-violet { --w: #EEE9FD; --c: #6D4FD8; }
.su-sec-ico.su-gold, .su-sec-ico.su-green, .su-sec-ico.su-blue, .su-sec-ico.su-violet { background: var(--w); color: var(--c); }
.su-sec-head h4 { margin: 0; font-family: var(--cond); font-size: 19px; font-weight: 800; color: #12204A; }
.su-sec-head small { font-size: 13px; color: #5B6B86; }
.su-sec-head > .su-badge, .su-sec-head > .su-head-btn, .su-sec-head > .su-mini-inline { margin-left: auto; }
.btn.su-gold { height: 46px; padding: 0 20px; border: 0; border-radius: 12px; color: #FFF; font-weight: 800; display: inline-flex; align-items: center; gap: 8px;
    background: linear-gradient(180deg, #E9A93A, #CF8A17); box-shadow: 0 10px 20px -12px rgba(207,138,23,.9); }
.btn.su-gold:hover { color: #FFF; filter: brightness(1.04); } .btn.su-gold svg { color: #FFF; width: 18px; height: 18px; }
.su-savebar { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid #EEF2F8; }
.su-savebar > span { font-size: 13px; color: #5B6B86; }
.su-savebar .btn { margin-left: auto; }
.su-note { display: flex; gap: 10px; padding: 11px 14px; margin-top: 12px; border-radius: 12px; font-size: 13.5px; color: #3B4A68; background: #F6F9FE; border: 1px solid #E4EBF5; }
.su-note > span { color: #3B5FA8; display: grid; } .su-note svg { width: 17px; height: 17px; }
.su-note.gold { background: #FFF8EA; border-color: #F2DFB8; } .su-note.gold > span { color: #C08A1C; }
.su-note.blue { background: #EEF4FE; border-color: #CFDDF8; margin: 0 0 12px; }
.su-note.red { background: #FEF3F2; border-color: #F5C6C1; color: #912018; } .su-note.red > span { color: #D92D20; }
.su-empty { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 30px 10px; text-align: center; color: #5B6B86; }
.su-empty svg { width: 40px; height: 40px; color: #8A97AE; stroke-width: 1.4; }
.su-empty b { font-size: 16px; color: #12204A; }
.su-mini { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13.5px; color: #5B6B86; margin-bottom: 14px; }
.su-mini b { color: #12204A; }
.su-mini-inline { margin-bottom: 0; gap: 8px; }
.su-stchip { padding: 4px 10px; border-radius: 999px; background: #DDF3E7; color: #116A45; font-weight: 700; font-size: 12.5px; }
.su-stchip b { margin-left: 3px; background: #FFF; border-radius: 999px; padding: 0 6px; color: #116A45; }

/* outlets */
.su-outlets { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.su-out { display: flex; flex-direction: column; gap: 12px; padding: 14px 16px; border: 1px solid #E6ECF5; border-radius: 14px; background: linear-gradient(180deg, #FBFCFF, #FFF); }
.su-out.off { background: #F7F8FA; } .su-out.off .su-out-top, .su-out.off .su-out-facts { opacity: .6; }
.su-out-top { display: flex; align-items: center; gap: 0; }
.su-out-top .st-ico { width: 44px; height: 44px; border-radius: 12px; }
.su-out-top .st-ico svg { width: 22px; height: 22px; }
.su-out-name { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.su-out-name b { font-size: 16px; color: #12204A; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.su-out-name small { font-size: 12.5px; color: #5B6B86; }
.su-out-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 12px; font-size: 13px; color: #3B4A68; }
.su-out-facts span { display: flex; align-items: center; gap: 7px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.su-out-facts svg { width: 15px; height: 15px; color: #8A97AE; flex: none; }
.su-out-facts .su-wide { grid-column: 1 / -1; }
.su-out-acts { display: flex; align-items: center; gap: 8px; padding-top: 10px; border-top: 1px dashed #E1E8F2; }
.su-out-acts .btn { margin-left: auto; }
.su-sm { height: 34px; padding: 0 12px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; border-radius: 9px; }
.su-sm svg { width: 15px; height: 15px; }

/* rows (tax map, service charge, toggles) */
.su-list { display: flex; flex-direction: column; gap: 8px; }
.su-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid #E6ECF5; border-radius: 12px; background: #FFF; margin: 0; }
.su-row.on { border-color: #B9E3CB; background: #F5FBF8; }
.su-row .st-ico { margin-right: 0; }
.su-row-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.su-row-txt b { font-size: 14.5px; color: #12204A; }
.su-row-txt em { font-style: normal; font-weight: 600; font-size: 12.5px; color: #5B6B86; margin-left: 4px; }
.su-row-txt small { font-size: 12.5px; color: #5B6B86; }
.su-rate-chip { min-width: 56px; height: 34px; padding: 0 8px; border-radius: 9px; display: grid; place-items: center; background: #FDF0D6; color: #A86509; font-weight: 800; font-size: 13.5px; }
.su-toggle-row { cursor: pointer; }
.su-pct { display: inline-flex; align-items: center; height: 40px; border: 1px solid #DCE3EE; border-radius: 10px; overflow: hidden; background: #FFF; }
.su-pct input { width: 74px; height: 100%; border: 0; padding: 0 10px; text-align: right; font-weight: 700; color: #12204A; outline: none; }
.su-pct input.is-invalid { background: #FEF3F2; }
.su-pct i { font-style: normal; width: 34px; height: 100%; display: grid; place-items: center; background: #F2F5FA; border-left: 1px solid #E1E8F2; color: #3B4A68; font-weight: 700; }
.su-pct:focus-within { border-color: #E9A93A; box-shadow: 0 0 0 3px rgba(233,169,58,.18); }

/* GST on bill options */
.su-gst { display: flex; flex-direction: column; gap: 8px; }
.su-opt { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px solid #E1E8F2; border-radius: 12px; cursor: pointer; margin: 0; transition: border-color .12s, background .12s; }
.su-opt input { position: absolute; opacity: 0; pointer-events: none; }
.su-radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #B7C2D4; flex: none; display: grid; place-items: center; }
.su-opt.on { border-color: #E9A93A; background: #FFF8EA; }
.su-opt.on .su-radio { border-color: #CF8A17; } .su-opt.on .su-radio::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: #CF8A17; }
.su-opt input:focus-visible + .su-radio { box-shadow: 0 0 0 3px rgba(233,169,58,.3); }
.su-opt div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.su-opt b { font-size: 14.5px; color: #12204A; } .su-opt small { font-size: 12.5px; color: #5B6B86; }
.su-rate { font-family: var(--cond); font-size: 20px; font-weight: 800; color: #12204A; }

/* bill preview */
.su-preview-card { position: sticky; top: 12px; }
.su-receipt { max-width: 330px; margin: 0 auto; padding: 18px 18px 16px; background: #FFF; border: 1px solid #E6ECF5; border-radius: 6px;
    font-family: var(--mono, ui-monospace, 'Courier New', monospace); font-size: 12px; color: #1B2333; box-shadow: 0 16px 30px -24px rgba(22,35,63,.6);
    background-image: linear-gradient(135deg, transparent 75%, #F2F5FA 75%), linear-gradient(225deg, transparent 75%, #F2F5FA 75%); background-size: 12px 12px; background-repeat: repeat-x; background-position: bottom left; }
.su-receipt .rc-top { text-align: center; line-height: 1.5; }
.su-receipt .rc-top b { font-size: 14px; display: block; margin-bottom: 2px; }
.su-receipt .ph { color: #A6B0C2; }
.su-receipt .rc-title { margin-top: 6px; font-weight: 800; letter-spacing: .12em; }
.su-receipt .rc-dash { border-top: 1px dashed #9AA6BA; margin: 8px 0; }
.su-receipt .rc-rowx { display: flex; justify-content: space-between; gap: 10px; line-height: 1.6; }
.su-receipt .rc-tot { font-weight: 800; font-size: 13.5px; }
.su-receipt .rc-foot { text-align: center; margin-bottom: 8px; }

/* day lock */
.su-lock { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1.5px solid #E1E8F2; border-radius: 14px; background: #FBFCFF; }
.su-lock.on { border-color: #B9E3CB; background: #F5FBF8; }
.su-lock-ico { width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; background: #EEF2F8; color: #3B4A68; flex: none; }
.su-lock.on .su-lock-ico { background: #DDF3E7; color: #178A5B; }
.su-lock-ico svg { width: 26px; height: 26px; }
.su-lock > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.su-lock b { font-size: 15.5px; color: #12204A; } .su-lock small { font-size: 13px; color: #5B6B86; }
.su-bigswitch { transform: scale(1.25); transform-origin: right center; }

/* stations */
.su-stn-wrap { display: flex; flex-direction: column; gap: 14px; }
.su-stn-grp { border: 1px solid #E6ECF5; border-radius: 14px; padding: 12px 14px; }
.su-stn-head { display: flex; align-items: center; gap: 8px; font-weight: 800; color: #12204A; margin-bottom: 10px; }
.su-stn-head svg { width: 17px; height: 17px; color: #C08A1C; }
.su-stn-head small { margin-left: auto; font-weight: 600; font-size: 12.5px; color: #5B6B86; }
.su-stn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.su-stn { display: flex; flex-direction: column; gap: 5px; margin: 0; font-size: 13px; font-weight: 700; color: #3B4A68; }
.su-stn .form-control { height: 40px; border-radius: 10px; }
.su-del { margin-right: auto; color: #B42318 !important; border-color: #F3C3BE !important; }
.su3 .form-label { text-transform: none; letter-spacing: 0; font-size: 14.5px; font-weight: 700; color: #12204A; margin-bottom: 7px; }
.su3 .form-label .req { color: #E5383B; }
.su3 .field-ico .form-control, .su3 .field-ico .form-select { height: 48px; padding-left: 46px; font-size: 15px; border-radius: 11px; border: 1.5px solid #DCE3EE; color: #12204A; }
.su3 .field-ico .form-control:focus { border-color: #E39A1F; box-shadow: 0 0 0 4px rgba(242,179,56,.18); }
.su3 .field-ico > .ico { left: 15px; color: #5B6B86; }
.su3 .field-ico > .ico svg { width: 19px; height: 19px; }
.su-stn .stn-input { width: 100% !important; max-width: none !important; }

/* =============================================================================
   Inventory dashboard (v21)
   ============================================================================= */
.idb-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 18px; margin-bottom: 14px; background: #FFF; border: 1px solid #E4EBF5; border-radius: 18px; }
.idb-title { display: flex; align-items: center; gap: 12px; }
.idb-tico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: #FDF0D6; color: #C08A1C; }
.idb-tico svg { width: 26px; height: 26px; }
.idb-title b { display: block; font-family: var(--cond); font-size: 20px; color: #12204A; }
.idb-title small { font-size: 13.5px; color: #5B6B86; }
.idb-acts { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.idb-btn { height: 44px; display: inline-flex; align-items: center; gap: 8px; border-radius: 11px; font-weight: 700; }
.idb-btn svg, .idb-gold svg { width: 17px; height: 17px; }
.btn.idb-gold { height: 44px; padding: 0 20px; border: 0; border-radius: 11px; color: #FFF; font-weight: 800; display: inline-flex; align-items: center; gap: 8px;
    background: linear-gradient(180deg, #E9A93A, #CF8A17); box-shadow: 0 10px 20px -12px rgba(207,138,23,.9); }
.btn.idb-gold:hover { color: #FFF; filter: brightness(1.04); }

.idb-krow { display: grid; grid-template-columns: 1.25fr repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px; }
@media (max-width: 1250px) { .idb-krow { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.idb-k { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 18px 16px 20px; background: #FFF; border: 1px solid #E4EBF5; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 24px -22px rgba(22,35,63,.4); }
.idb-k::before { content: ''; position: absolute; left: 0; top: 16px; bottom: 16px; width: 4px; border-radius: 0 4px 4px 0; background: var(--c); }
.idb-kico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--w); color: var(--c); flex: none; }
.idb-kico svg { width: 26px; height: 26px; }
.ik-blue { --c: #2563EB; --w: #E3ECFD; } .ik-green { --c: #178A5B; --w: #DDF3E7; } .ik-red { --c: #D92D20; --w: #FDE9E7; } .ik-gold { --c: #CF8A17; --w: #FDF0D6; }
.idb-kl { font-size: 12.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #3B4A68; }
.idb-kv { font-family: var(--cond); font-size: 20px; font-weight: 800; color: #12204A; line-height: 1.15; }
.idb-ks { font-size: 13px; color: #5B6B86; }
.idb-hero { background: linear-gradient(135deg, #12204A, #1E3270); border-color: #12204A; --c: #E9A93A; --w: rgba(233,169,58,.16); }
.idb-hero .idb-kl { color: #B9C6E0; } .idb-hero .idb-kv { color: #F5C66B; } .idb-hero .idb-ks { color: #B9C6E0; }

.idb-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px; }
@media (max-width: 1150px) { .idb-grid { grid-template-columns: 1fr; } }
.idb-grid .idb-card { margin-bottom: 0; }
.idb-card { background: #FFF; border: 1px solid #E4EBF5; border-radius: 18px; padding: 16px 18px 18px; box-shadow: 0 12px 26px -24px rgba(22,35,63,.4); margin-bottom: 14px; min-width: 0; }
.idb-ch { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid #EEF2F8; }
.idb-cico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.idb-cico svg { width: 22px; height: 22px; }
.t-gold { background: #FDF0D6; color: #C08A1C; } .t-blue { background: #E3ECFD; color: #2563EB; } .t-green { background: #DDF3E7; color: #178A5B; } .t-red { background: #FDE9E7; color: #D92D20; }
.idb-ch h3 { margin: 0; font-family: var(--cond); font-size: 18px; font-weight: 800; color: #12204A; }
.idb-ch small { font-size: 13px; color: #5B6B86; }

.idb-donut { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px; align-items: center; }
@media (max-width: 1350px) { .idb-donut { grid-template-columns: 170px minmax(0, 1fr); } }
.idb-dbox { position: relative; aspect-ratio: 1; }
.idb-dbox svg { width: 100%; height: 100%; }
.idb-dc { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.idb-dc b { font-family: var(--cond); font-size: 17px; color: #12204A; } .idb-dc span { font-size: 12px; color: #5B6B86; }
.idb-legend { display: flex; flex-direction: column; }
.idb-leg { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto auto; align-items: center; gap: 10px; padding: 7px 2px; border-bottom: 1px solid #F0F3F8; font-size: 14px; }
.idb-leg:last-child { border-bottom: 0; }
.idb-leg i { width: 10px; height: 10px; border-radius: 50%; }
.idb-leg .n { color: #12204A; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.idb-leg .p { font-size: 12.5px; font-weight: 700; color: #5B6B86; background: #F2F5FA; padding: 1px 8px; border-radius: 999px; }
.idb-leg .v { font-weight: 700; color: #12204A; min-width: 96px; text-align: right; }

.idb-bars, .idb-top { display: flex; flex-direction: column; gap: 12px; }
.idb-brow, .idb-trow { display: flex; align-items: center; gap: 12px; }
.idb-bico { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 12%, #FFF); color: var(--c); flex: none; }
.idb-bico svg { width: 20px; height: 20px; }
.idb-bmain { flex: 1; min-width: 0; }
.idb-btop { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 5px; }
.idb-btop b { font-size: 14px; color: #12204A; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.idb-btop span { font-weight: 800; color: #12204A; font-size: 14px; white-space: nowrap; }
.idb-bmain small { font-size: 12px; color: #5B6B86; }
.idb-track { height: 9px; border-radius: 9px; background: #EEF2F8; overflow: hidden; margin-bottom: 3px; }
.idb-track span { display: block; height: 100%; border-radius: 9px; background: linear-gradient(90deg, #E9A93A, #CF8A17); }
.idb-rank { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: #EEF2F8; color: #3B4A68; font-weight: 800; font-size: 13.5px; flex: none; }
.idb-rank.r1 { background: #12204A; color: #F5C66B; } .idb-rank.r2 { background: #FDF0D6; color: #A86509; } .idb-rank.r3 { background: #E3ECFD; color: #2563EB; }

.idb-mv-sum { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.idb-mv-sum span { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border: 1px solid #E6ECF5; border-radius: 11px; font-size: 13px; color: #3B4A68; }
.idb-mv-sum i { width: 10px; height: 10px; border-radius: 50%; }
.idb-mv-sum b { color: #12204A; margin-left: 4px; }
.s-in i { background: #22A06B; } .s-out i { background: #D92D20; }
.s-net { margin-left: auto; background: #FDF3DF; border-color: #F2DFB8 !important; }
.idb-mv-sum b.neg { color: #D92D20; }
.idb-chart { position: relative; }
.idb-chart > svg { width: 100%; height: 220px; display: block; overflow: visible; }
.idb-grid { } 
.idb-chart .idb-grid { stroke: #E3E9F2; stroke-dasharray: 4 4; } .idb-chart .idb-grid.base { stroke: #C9D3E2; stroke-dasharray: none; }
.idb-ay { font-size: 11px; fill: #5B6B86; text-anchor: end; } .idb-ax { font-size: 11px; fill: #3B4A68; text-anchor: middle; }
.idb-chart-empty { position: absolute; left: 56px; right: 0; top: 10px; bottom: 28px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; pointer-events: none; }
.idb-chart-empty span, .idb-empty span { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #EAF0FA; color: #3B5FA8; margin-bottom: 4px; }
.idb-chart-empty svg, .idb-empty span svg { width: 25px; height: 25px; }
.idb-chart-empty b, .idb-empty b { font-size: 15.5px; color: #12204A; } .idb-chart-empty small, .idb-empty small { font-size: 13px; color: #5B6B86; }
.idb-empty { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 24px 10px; text-align: center; }
.idb-card .t-green ~ * .idb-empty span { background: #DDF3E7; color: #178A5B; }
.idb-table { border: 1px solid #E8EDF5; border-radius: 12px; }
.idb-table thead th { background: #F2F6FC; font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; color: #3B4A68; }
.idb-lvl { display: inline-block; width: 90px; height: 8px; border-radius: 8px; background: #FDE9E7; overflow: hidden; vertical-align: middle; }
.idb-lvl span { display: block; height: 100%; background: #D92D20; border-radius: 8px; }
.idb-short { display: inline-block; padding: 2px 10px; border-radius: 999px; background: #FDE9E7; color: #B42318; font-weight: 800; }
.idb-chart .idb-gl { stroke: #E3E9F2; stroke-dasharray: 4 4; } .idb-chart .idb-gl.base { stroke: #C9D3E2; stroke-dasharray: none; }
.idb-dc b { font-size: 19px; }
.idb-top { gap: 10px; }
.idb-grid > .idb-card { display: flex; flex-direction: column; }
.idb-grid > .idb-card > .idb-cb { flex: 1; display: flex; flex-direction: column; }
.idb-chart > svg { height: 240px; }
.idb-card .idb-empty { padding: 14px 10px; }

.idb-kl, .idb-ks { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.idb-k > div { min-width: 0; }
@media (max-width: 1440px) {
  .idb-krow { gap: 10px; }
  .idb-k { gap: 10px; padding: 14px 12px 14px 16px; }
  .idb-kico { width: 42px; height: 42px; border-radius: 12px; } .idb-kico svg { width: 21px; height: 21px; }
  .idb-kv { font-size: 20px; } .idb-kl { font-size: 11.5px; } .idb-ks { font-size: 12px; }
  .idb-title small { display: none; }
  .idb-btn, .btn.idb-gold { height: 40px; font-size: 14px; padding: 0 13px; }
  .idb-acts { gap: 8px; }
  .idb-mv-sum span { padding: 5px 9px; font-size: 12.5px; }
}
@media (max-width: 1200px) { .idb-krow { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* =============================================================================
   Inventory: Stock position + Issue stock dialog (v22)
   ============================================================================= */
.sp-krow { grid-template-columns: 1.25fr repeat(4, minmax(0, 1fr)); }
.sp-alerts { align-items: start; }
.sp-list { display: flex; flex-direction: column; gap: 10px; max-height: 330px; overflow: auto; }
.sp-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid #F4D4D0; border-radius: 12px; background: #FFFAFA; }
.sp-ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.sp-ico svg { width: 19px; height: 19px; }
.sp-main { flex: 1; min-width: 0; }
.sp-top { display: flex; align-items: baseline; gap: 8px; margin-bottom: 5px; }
.sp-top b { font-size: 14.5px; color: #12204A; }
.sp-top .mono, .sp-sub { font-size: 12px; color: #5B6B86; }
.sp-main small { font-size: 12.5px; color: #5B6B86; }
.sp-red span { background: #D92D20 !important; }
.sp-side { text-align: right; } .sp-side span { display: block; font-size: 12px; color: #5B6B86; } .sp-side b { font-family: var(--cond); font-size: 18px; color: #12204A; }
.sp-exp { max-height: 330px; overflow: auto; }
.sp-exp thead th { position: sticky; top: 0; z-index: 1; }
.sp-batch { display: inline-block; padding: 2px 8px; border-radius: 7px; background: #EEF2F8; color: #3B4A68; font-family: var(--mono, monospace); font-size: 12px; }
.sp-days { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 800; white-space: nowrap; }
.d-gone { background: #D92D20; color: #FFF; } .d-red { background: #FDE9E7; color: #B42318; } .d-gold { background: #FDF0D6; color: #8A5A08; }
.sp-tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.sp-search { margin-left: 0; flex: 1 1 280px; max-width: 420px; }
.sp-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.sp-chips .rt-chip { height: 42px; padding: 0 14px; font-size: 14px; }
.sp-table td { vertical-align: middle; }
.sp-store { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: var(--w); color: var(--c); white-space: nowrap; }
.sp-store svg { width: 14px; height: 14px; }
.sp-uom { font-size: 12px; color: #5B6B86; }
.sp-share { min-width: 170px; white-space: nowrap; }
.sp-share .idb-track { display: inline-block; width: 110px; vertical-align: middle; margin: 0 8px 0 0; }
.sp-share em { font-style: normal; font-size: 12.5px; font-weight: 700; color: #3B4A68; }
.sp-table tfoot td { border-top: 2px solid #F2DFB8; }
.sp-pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.sp-count { font-size: 13.5px; color: #5B6B86; } .sp-count b { color: #12204A; }
.sp-pg { display: flex; align-items: center; gap: 8px; }
.sp-pg .form-select { height: 40px; width: auto; border-radius: 10px; }
.sp-pg .btn { width: 40px; height: 40px; padding: 0; border-radius: 10px; font-size: 20px; line-height: 1; }
.sp-pnum { font-weight: 700; color: #12204A; min-width: 52px; text-align: center; }
@media (max-width: 1440px) { .sp-krow { grid-template-columns: 1.2fr repeat(4, minmax(0, 1fr)); } }

/* issue dialog */
.isd-types { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
@media (max-width: 900px) { .isd-types { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.isd-type { position: relative; display: flex; align-items: center; gap: 10px; padding: 12px; margin: 0; border: 1.5px solid #E1E8F2; border-radius: 13px; cursor: pointer; transition: border-color .12s, background .12s; }
.isd-type input { position: absolute; opacity: 0; pointer-events: none; }
.isd-tico { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: #EEF2F8; color: #3B4A68; flex: none; }
.isd-tico svg { width: 20px; height: 20px; }
.isd-type b { display: block; font-size: 14px; color: #12204A; } .isd-type small { font-size: 12px; color: #5B6B86; }
.isd-type.on { border-color: #E9A93A; background: #FFF8EA; }
.isd-type.on .isd-tico { background: linear-gradient(180deg, #E9A93A, #CF8A17); color: #FFF; }
.isd-type input:focus-visible ~ .isd-tico { box-shadow: 0 0 0 3px rgba(233,169,58,.35); }
.isd-lines { margin-top: 18px; border: 1px solid #E4EBF5; border-radius: 14px; padding: 12px 14px 14px; background: #FBFCFF; }
.isd-lh { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.isd-lico { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: #FDF0D6; color: #C08A1C; }
.isd-lico svg { width: 18px; height: 18px; }
.isd-lh b { font-size: 15.5px; color: #12204A; } .isd-lh small { font-size: 13px; color: #5B6B86; }
.isd-sum { margin-left: auto; font-size: 13.5px; color: #3B4A68; } .isd-sum b { color: #12204A; }
.isd-tablewrap { overflow-x: auto; }
.isd-table { width: 100%; border-collapse: separate; border-spacing: 0 8px; }
.isd-table th { font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #5B6B86; padding: 0 6px; }
.isd-table td { padding: 0 6px; vertical-align: top; }
.isd-table td:first-child { min-width: 260px; }
.isd-table .form-control, .isd-table .form-select { height: 46px !important; min-height: 46px !important; }
.isd-av { width: 120px; } .isd-q { width: 170px; } .isd-v { width: 120px; } .isd-del { width: 44px; }
td.isd-av, td.isd-v { padding-top: 12px !important; }
td.isd-v { font-weight: 800; color: #12204A; white-space: nowrap; }
.isd-chip { display: inline-block; padding: 4px 10px; border-radius: 999px; background: #DDF3E7; color: #116A45; font-weight: 700; font-size: 12.5px; white-space: nowrap; }
.isd-chip.off { background: #EEF2F8; color: #8A97AE; }
.isd-qty { position: relative; }
.isd-qty input { padding-right: 52px !important; text-align: right; font-weight: 700; }
.isd-qty span { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 12.5px; color: #5B6B86; font-weight: 700; pointer-events: none; }
.isd-err { font-size: 12px; color: #B42318; font-weight: 700; min-height: 0; margin-top: 3px; }
tr.bad .i-qty, tr.bad .i-item { border-color: #F04438 !important; background: #FFFBFA; }
.isd-del .btn-linedel { width: 40px; height: 46px; border-radius: 10px; border: 1px solid #F3C3BE; background: #FFF6F5; color: #B42318; display: grid; place-items: center; }
.isd-del .btn-linedel svg { width: 17px; height: 17px; }
.isd-add { height: 42px; display: inline-flex; align-items: center; gap: 7px; border-radius: 10px; font-weight: 700; }
.isd-add svg { width: 16px; height: 16px; }
.sp-alerts { grid-template-columns: minmax(0, .85fr) minmax(0, 1.6fr); }
@media (max-width: 1150px) { .sp-alerts { grid-template-columns: 1fr; } }
.sp-exp td b, .sp-exp td { white-space: nowrap; }
.sp-exp th, .sp-exp td { padding-left: 10px !important; padding-right: 10px !important; }
tr.bad .i-item { border-color: #DCE3EE !important; background: #FFF; }
tr.dup .i-item { border-color: #F04438 !important; background: #FFFBFA; }
.sp-exp th, .sp-exp td { padding-left: 8px !important; padding-right: 8px !important; }

/* =============================================================================
   Inventory: Item master + item dialog (v23)
   ============================================================================= */
.it-krow { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.it-kpi { text-align: left; cursor: pointer; font: inherit; transition: box-shadow .12s, transform .12s; }
.it-kpi:hover { transform: translateY(-1px); box-shadow: 0 14px 26px -18px rgba(22,35,63,.45); }
.ik-grey { --c: #5B6B86; --w: #EEF2F8; }
.it-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.it-search { margin-left: 0; flex: 1 1 260px; max-width: 380px; }
.it-tools .rt-sel select { max-width: 210px; }
.it-seg { padding: 3px; } .it-seg button { height: 38px; }
.it-flag { height: 46px; } .it-flag.active { background: #12204A; border-color: #12204A; box-shadow: none; }
.it-table tbody tr { cursor: pointer; }
.it-table tbody tr:hover td { background: #FBF7EE; }
.it-table tr.it-off td { opacity: .6; }
.it-name b { font-size: 14.5px; color: #12204A; }
.it-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 3px; font-size: 12px; color: #5B6B86; }
.it-tag { display: inline-flex; align-items: center; gap: 4px; padding: 1px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 700; }
.it-tag svg { width: 12px; height: 12px; }
.t-per { background: #FDF0D6; color: #8A5A08; } .t-bat { background: #E3ECFD; color: #1D4ED8; } .t-hsn { background: #EEF2F8; color: #3B4A68; }
.it-cat { display: inline-block; padding: 3px 10px; border-radius: 999px; background: #F2F5FA; color: #12204A; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.it-none { color: #A6B0C2; }
.it-oh { display: inline-flex; flex-direction: column; align-items: flex-end; gap: 3px; min-width: 110px; }
.it-oh b { font-size: 14.5px; color: #12204A; }
.it-bar { width: 100px; height: 6px; border-radius: 6px; background: #EEF2F8; overflow: hidden; }
.it-bar span { display: block; height: 100%; background: #22A06B; border-radius: 6px; }
.it-oh small { font-size: 11.5px; font-weight: 700; color: #178A5B; }
.it-oh.low b, .it-oh.low small { color: #B42318; } .it-oh.low .it-bar span { background: #E9A93A; }
.it-oh.out b, .it-oh.out small { color: #B42318; } .it-oh.out .it-bar { background: #FDE9E7; }
.it-acts { text-align: right; white-space: nowrap; }

/* dialog */
.itd { display: flex; flex-direction: column; gap: 14px; }
.itd-sec { border: 1px solid #E8EDF5; border-radius: 14px; padding: 14px 16px 16px; background: #FFF; }
.itd-h { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-family: var(--cond); font-size: 16px; font-weight: 800; color: #12204A; }
.itd-h svg { width: 18px; height: 18px; color: #C08A1C; }
.itd-code, .itd-hint { display: flex; align-items: center; gap: 7px; margin-top: 10px; font-size: 13px; color: #5B6B86; }
.itd-code:empty, .itd-hint:empty { display: none; }
.itd-code svg { width: 15px; height: 15px; color: #C08A1C; } .itd-code b { color: #12204A; }
.itd-lock { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 9px 12px; border-radius: 10px; background: #FFF8EA; border: 1px solid #F2DFB8; font-size: 13px; color: #8A5A08; }
.itd-lock svg { width: 16px; height: 16px; }
.itd-sws { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 900px) { .itd-sws { grid-template-columns: 1fr; } }
.it-sw.on { border-color: #F2DFB8; background: #FFF8EA; }
.itd select:disabled, .itd input:disabled { background: #F2F5FA !important; color: #5B6B86; }
.it-tools { flex-wrap: nowrap; }
.it-search { flex: 1 1 160px; min-width: 150px; }
.it-tools .rt-sel { flex: 0 1 190px; min-width: 0; } .it-tools .rt-sel select { max-width: none; width: 100%; }
@media (max-width: 1440px) {
  .it-tools { gap: 8px; }
  .it-tools .rt-sel select { font-size: 13.5px; padding-left: 36px; }
  .it-flag { padding: 0 11px; font-size: 13.5px; }
  .it-seg button { padding: 0 10px; font-size: 13.5px; }
}
@media (max-width: 1250px) { .it-tools { flex-wrap: wrap; } }

/* =============================================================================
   Issue history + Procurement (v25)
   ============================================================================= */
.ik-violet { --c: #6D4FD8; --w: #EEE9FD; }
.sb-red { --w: #FDE9E7; --c: #B42318; }
.ih-krow { grid-template-columns: 1.25fr repeat(4, minmax(0, 1fr)); }
.pc-krow { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ih-tools .rt-date { width: 150px; }
.ih-to { font-size: 13px; color: #5B6B86; }
.pc-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.pc-chips .rt-chip { height: 38px; padding: 0 13px; font-size: 13.5px; }
.pc-chips .rt-chip svg { width: 15px; height: 15px; }
.pc-chips em { font-style: normal; font-size: 12px; font-weight: 800; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 999px; display: inline-grid; place-items: center; background: #EEF2F8; color: #3B4A68; }
.pc-chips .rt-chip.active em { background: rgba(255,255,255,.25); color: #FFF; }
.pc-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 320px)); gap: 8px; padding: 6px; margin-bottom: 14px; background: #FFF; border: 1px solid #E4EBF5; border-radius: 16px; width: max-content; max-width: 100%; }
.pc-tabs .su-tab-ico svg { width: 22px; height: 22px; }
.pc-table tbody tr { cursor: pointer; }
.pc-table tbody tr:hover td { background: #FBF7EE; }
.pc-person { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.pc-person .avatar-badge { width: 28px; height: 28px; font-size: 11px; }
.pc-late { color: #B42318 !important; font-weight: 700; }
.pc-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 800; white-space: nowrap; background: var(--w); color: var(--c); }
.pc-pill i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.p-grey { --w: #EEF2F8; --c: #3B4A68; } .p-gold { --w: #FDF0D6; --c: #8A5A08; } .p-green { --w: #DDF3E7; --c: #116A45; }
.p-red { --w: #FDE9E7; --c: #B42318; } .p-blue { --w: #E3ECFD; --c: #1D4ED8; } .p-violet { --w: #EEE9FD; --c: #5B3FC4; }
/* detail dialogs */
.prv-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.prv-f { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #E6ECF5; border-radius: 12px; background: #FBFCFF; min-width: 0; }
.prv-f > span { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: #FDF0D6; color: #C08A1C; flex: none; }
.prv-f > span svg { width: 17px; height: 17px; }
.prv-f small { display: block; font-size: 12px; color: #5B6B86; }
.prv-f b { font-size: 14px; color: #12204A; } .prv-f b small { display: inline; }
.prv .su-note { margin-top: 12px; }
.prv-gap { flex: 1; }
.prv-cancel { color: #B42318 !important; border-color: #F3C3BE !important; }
.mock-dlg ~ .modal-footer:has(.prv-gap) { justify-content: flex-start; }
.mock-dlg ~ .modal-footer .prv-cancel, .mock-dlg ~ .modal-footer #prPrint, .mock-dlg ~ .modal-footer #ihOnePrint { min-width: 0; }
/* new PR dialog */
.prd .isd-lines { margin-top: 16px; }
.prd-oh { width: 150px; }
td.prd-oh { padding-top: 6px !important; }
td.prd-oh small { display: block; font-size: 11.5px; color: #5B6B86; margin-top: 3px; }
.prd-lowchip { background: #FDE9E7 !important; color: #B42318 !important; }
.prd-add { display: flex; gap: 10px; flex-wrap: wrap; }
.prd-low { color: #8A5A08 !important; border-color: #F2DFB8 !important; background: #FFF8EA !important; }
.prv-facts { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.prv-f b { overflow-wrap: anywhere; }
.prv-f .pc-pill { white-space: normal; }
.mock-dlg ~ .modal-footer:has(.prv-gap) { flex-wrap: nowrap; gap: 8px; }
.mock-dlg ~ .modal-footer:has(.prv-gap) .btn { min-width: 0 !important; height: 46px; padding: 0 16px; font-size: 15px; white-space: nowrap; }

/* =============================================================================
   Stores + Vendors + dialogs (v26)
   ============================================================================= */
.ms-table tbody tr { cursor: pointer; }
.ms-table tbody tr:hover td { background: #FBF7EE; }
.ms-table tr.it-off td { opacity: .6; }
.ms-name { display: flex; align-items: center; gap: 10px; }
.ms-name .st-ico { margin: 0; width: 38px; height: 38px; border-radius: 10px; flex: none; }
.ms-name .avatar-badge { width: 38px; height: 38px; font-size: 13px; flex: none; }
.ms-name b { font-size: 14.5px; color: #12204A; }
.ms-loc { display: inline-flex; align-items: center; gap: 5px; color: #3B4A68; }
.ms-loc svg { width: 14px; height: 14px; color: #C08A1C; }
.ms-cp { display: block; font-size: 13.5px; color: #12204A; }
.ms-contact { display: flex; flex-direction: column; gap: 2px; }
.ms-contact a { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: #3B4A68; text-decoration: none; }
.ms-contact a:hover { color: #C08A1C; }
.ms-contact svg { width: 13px; height: 13px; color: #8A97AE; }
.ms-gst { font-size: 12.5px; color: #12204A; }
.it-acts .ms-act-del { margin-left: 6px; width: 34px; padding: 0; justify-content: center; color: #B42318; border-color: #F3C3BE; }
.it-acts .ms-act-del:hover { background: #FFF6F5; }
.ms-del-p { font-size: 15px; color: #3B4A68; margin: 0 0 12px; }
.mock-dlg ~ .modal-footer .ms-del-go { background: linear-gradient(180deg, #E5484D, #C4282D) !important; box-shadow: 0 10px 20px -12px rgba(196,40,45,.8) !important; }
/* vendor dialog */
.vd-tabs { display: flex; gap: 6px; padding: 5px; margin-bottom: 16px; background: #F2F5FA; border-radius: 13px; width: max-content; max-width: 100%; }
.vd-tab { position: relative; display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; border: 0; border-radius: 9px; background: none; font-weight: 700; font-size: 14px; color: #3B4A68; }
.vd-tab svg { width: 16px; height: 16px; }
.vd-tab.active { background: #FFF; color: #12204A; box-shadow: 0 4px 12px -6px rgba(22,35,63,.35); }
.vd-tab.active svg { color: #C08A1C; }
.vd-err { position: absolute; top: 7px; right: 7px; width: 8px; height: 8px; border-radius: 50%; background: #E5484D; }
.vd-types { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.sd-types { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.sd-types .isd-type { padding: 9px 10px; } .sd-types .isd-tico { width: 34px; height: 34px; } .sd-types .isd-tico svg { width: 17px; height: 17px; }
@media (max-width: 900px) { .vd-types, .sd-types { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.vd-lbl { margin: 16px 0 8px; font-size: 14.5px; font-weight: 700; color: #12204A; }
.vd-hint { margin-top: 10px; font-size: 13px; }
.vd-hint span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 9px; }
.vd-hint svg { width: 15px; height: 15px; }
.vd-hint .ok { background: #DDF3E7; color: #116A45; } .vd-hint .bad { background: #FDE9E7; color: #B42318; }
.vd .form-control.is-invalid { border-color: #F04438 !important; background-image: none; }
.ms-textkpi .idb-kv { font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* departments (v27) */
.dp-code { min-width: 52px; height: 38px; padding: 0 8px; border-radius: 10px; display: grid; place-items: center; background: #FDF0D6; color: #8A5A08; font-family: var(--mono, monospace); font-size: 12.5px; font-weight: 800; flex: none; }
.ms-tip { margin: 0 0 14px; }
.itd-lock span { line-height: 1.4; }

/* ---- v28: Folios & bills, cashier shift, accounts dashboard, receipts ---- */
.fb-shift { margin-left: 4px; padding: 2px 8px; border-radius: 20px; font-size: 11px; font-weight: 800; letter-spacing: .02em; }
.fb-shift.on { background: #DDF3E7; color: #116A45; } .fb-shift.off { background: rgba(255,255,255,.55); color: #6B4A0C; } .fb-shift:empty { display: none; }
.fb-table tbody tr { cursor: pointer; } .fb-table tbody tr:hover td { background: #FBF7EC; }
.fb-res { font-size: 12.5px; color: #12204A; }
.fb-paid { white-space: nowrap; } .fb-paid > span:first-child { display: block; font-weight: 700; color: #12204A; margin-bottom: 4px; } .fb-paid .it-bar { width: 90px; }
.fb-due { color: #B42318; } .fb-clear { color: #116A45; }
.fb-detail { margin-top: 14px; border-color: #F2DFB8; box-shadow: 0 10px 28px -18px rgba(18,32,74,.35); }
.fb-detail .idb-ch { flex-wrap: wrap; }
.fb-acts { margin-left: auto; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.fb-x { width: 38px; padding: 0 !important; justify-content: center; }
.fb-detail .prv-facts { grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 4px 18px 6px; }
@media (max-width: 1100px) { .fb-detail .prv-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fb-balf.due { background: #FDE9E7; border-color: #F5C6C1; } .fb-balf.due b, .fb-balf.due span { color: #B42318; }
.fb-balf.clear { background: #DDF3E7; border-color: #B9E3CB; } .fb-balf.clear b, .fb-balf.clear span { color: #116A45; }
.fb-sec { margin: 14px 18px 8px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #8A97AE; }
.fb-detail .idb-table, .fb-detail .idb-empty { margin: 0 18px 14px; }
.folio-line.void td { color: #9AA6BA; text-decoration: line-through; } .folio-line.void td .pc-pill { text-decoration: none; }
.cz-state { margin-bottom: 14px; }
.cz-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cz-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 4px; }
.cz-who { gap: 8px; color: #12204A; font-size: 16px; } .cz-who svg { width: 18px; height: 18px; color: #C08A1C; }
.acd-krow { grid-template-columns: 1.25fr repeat(4, minmax(0, 1fr)); }
.acd .idb-chart { position: relative; }
.acd-flat { position: absolute; top: 10px; right: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 20px; background: #F1F4F9; color: #5B6B86; font-size: 12px; font-weight: 700; }
.acd-flat svg { width: 14px; height: 14px; }
.acd-ov { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.acd-ov > div { padding: 10px 12px; border: 1px solid #E8EEF6; border-radius: 10px; background: #F8FAFD; }
.acd-ov small { display: block; font-size: 11.5px; color: #5B6B86; font-weight: 700; } .acd-ov b { font-family: var(--cond); font-size: 17px; color: #12204A; }
.acd-ov b.up { color: #116A45; } .acd-ov b.down { color: #B42318; }
.rc-tools { flex-wrap: wrap; } .rc-tools .it-search { flex: 1 1 220px; }
.rcp .pc-chips { padding: 0 0 12px; } .rcp .rt-chip em { font-style: normal; margin-left: 4px; padding: 0 6px; border-radius: 10px; background: #EEF2F8; font-size: 11px; }
.rcp .rt-chip.active em { background: rgba(255,255,255,.3); }
.rcp .cs-modes { margin: 0 18px 12px; }
.rc-table .pc-person { align-items: flex-start; } .rc-table .d-block { display: block; }

/* ---- v29: Cashier shift page, Corporate A/R, Gift vouchers ---- */
.t-violet { background: #EEE9FD; color: #6D4FD8; } .t-grey { background: #EEF2F8; color: #5B6B86; }
.sb-grey { --w: #EEF2F8; --c: #5B6B86; }
.csh-sec { display: flex; align-items: center; gap: 8px; margin: 16px 0 10px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #8A97AE; }
.csh-sec:first-child { margin-top: 0; } .csh-sec svg { width: 16px; height: 16px; color: #C08A1C; }
/* cashier: no shift */
.csh-start { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, 1fr); gap: 28px; align-items: center; padding: 26px 28px; background: linear-gradient(120deg, #FFFDF7 0%, #FFF 55%); border-color: #F2DFB8; }
@media (max-width: 1000px) { .csh-start { grid-template-columns: 1fr; } }
.csh-start-l { display: flex; gap: 20px; align-items: flex-start; }
.csh-big { width: 72px; height: 72px; flex: none; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(180deg, #FFF6E2, #FDEBC4); color: #D3901A; box-shadow: 0 10px 22px -12px rgba(211,144,26,.6), inset 0 0 0 1px rgba(232,180,80,.35); }
.csh-big svg { width: 34px; height: 34px; }
.csh-start-l h3 { margin: 10px 0 6px; font-family: var(--cond); font-size: 24px; font-weight: 800; color: #12204A; }
.csh-start-l p { margin: 0; color: #5B6B86; font-size: 14px; max-width: 520px; }
.csh-start-r { padding: 18px; border: 1px solid #E8EEF6; border-radius: 16px; background: #FFF; }
.csh-who { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #F6F8FC; border: 1px solid #E8EEF6; }
.csh-who small { display: block; font-size: 11.5px; color: #8A97AE; font-weight: 700; } .csh-who b { color: #12204A; }
.csh-when { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: #5B6B86; font-size: 13px; } .csh-when svg { width: 15px; height: 15px; }
.csh-go { height: 46px; justify-content: center; font-size: 15px; }
/* cashier: open shift */
.csh-live { border-color: #B9E3CB; }
.csh-live .idb-ch h3 { display: flex; align-items: center; gap: 10px; }
.csh-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, 1fr); gap: 22px; align-items: start; }
@media (max-width: 1100px) { .csh-grid { grid-template-columns: 1fr; } }
.csh-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1250px) { .csh-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.csh-t { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid #E4EBF5; border-radius: 14px; background: #FBFCFF; min-width: 0; }
.csh-ti { width: 40px; height: 40px; flex: none; border-radius: 11px; display: grid; place-items: center; background: var(--w, #FDF0D6); color: var(--c, #C08A1C); } .csh-ti svg { width: 20px; height: 20px; }
.csh-t small { display: block; font-size: 12px; font-weight: 700; color: #5B6B86; } .csh-t b { font-family: var(--cond); font-size: 19px; color: #12204A; white-space: nowrap; }
.csh-exp { grid-column: span 3; background: linear-gradient(120deg, #12204A, #1E3270); border-color: #12204A; padding: 18px; }
@media (max-width: 1250px) { .csh-exp { grid-column: span 2; } }
.csh-exp .csh-ti { width: 48px; height: 48px; background: rgba(233,169,58,.18); color: #E9A93A; }
.csh-exp small { color: #B9C3DA; } .csh-exp b { color: #F4C46C; font-size: 28px; } .csh-exp em { display: block; font-style: normal; font-size: 12px; color: #8E9BBA; }
.csh-close { padding: 16px; border: 1px solid #F2DFB8; border-radius: 16px; background: #FFFCF4; }
.csh-close .cz-den { margin-top: 12px; background: #FFF; }
.csh-close .cz-den-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.csh-live > .fb-sec, .csh-live > .idb-table, .csh-live > .idb-empty { margin-left: 0; margin-right: 0; }
.csh-more { margin-top: 8px; font-size: 13px; color: #5B6B86; } .csh-more a { color: #C08A1C; font-weight: 700; }
.csh-mix { white-space: nowrap; font-size: 11.5px; }
.csh-var { display: inline-block; padding: 3px 10px; border-radius: 20px; font-weight: 800; font-size: 12.5px; white-space: nowrap; }
.csh-var.ok { background: #DDF3E7; color: #116A45; } .csh-var.over { background: #E3ECFD; color: #1D4ED8; } .csh-var.short { background: #FDE9E7; color: #B42318; }
.csh-table .sp-sub svg { width: 13px; height: 13px; vertical-align: -2px; }
/* corporate a/r */
.car .idb-krow, .gv .idb-krow { grid-template-columns: 1.25fr repeat(4, minmax(0, 1fr)); }
@media (max-width: 1250px) { .car .idb-krow, .gv .idb-krow { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.car-tabs { border-bottom: 1px solid #EEF2F8; padding-bottom: 12px; margin-bottom: 12px; }
.car-tabs .it-seg button { display: inline-flex; align-items: center; gap: 6px; } .car-tabs .it-seg svg { width: 16px; height: 16px; }
.car-acc { display: flex; align-items: center; gap: 10px; min-width: 200px; }
.car-ico { width: 38px; height: 38px; flex: none; border-radius: 11px; display: grid; place-items: center; } .car-ico svg { width: 19px; height: 19px; }
.car-ico.t-gold { background: #FDF0D6; color: #C08A1C; }
.car-c { font-weight: 700; color: #12204A; }
.car-out { min-width: 150px; } .car-out b { display: block; } .car-out .it-bar { display: block; width: 120px; margin: 5px 0 3px; } .car-out small { font-size: 11.5px; color: #5B6B86; }
.it-bar.warn span { background: #E9A93A; } .it-bar.over span { background: #D92D20; } .it-bar.over { background: #FDE9E7; }
.car-settle { color: #116A45 !important; border-color: #B9E3CB !important; }
.car-types { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 1100px) { .car-types { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.car-hint { display: none; margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: #FFF6E2; border: 1px solid #F2DFB8; color: #8A5A00; font-size: 13px; }
.car-hint.on { display: block; } .car-hint svg { width: 15px; height: 15px; vertical-align: -3px; }
.car-facts { grid-template-columns: repeat(5, minmax(0, 1fr)); margin-bottom: 16px; }
@media (max-width: 1100px) { .car-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.car-stmt { max-height: 46vh; overflow: auto; }
.car-bks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
@media (max-width: 1000px) { .car-bks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.car-bk { padding: 14px; border-radius: 14px; border: 1px solid #E4EBF5; background: #FBFCFF; --c: #22A06B; }
.car-bk.b2 { --c: #E9A93A; } .car-bk.b3 { --c: #E07B2A; } .car-bk.b4 { --c: #D92D20; background: #FFF8F7; border-color: #F5D3CF; }
.car-bk small { display: block; font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #5B6B86; }
.car-bk b { display: block; font-family: var(--cond); font-size: 21px; color: #12204A; margin: 2px 0 8px; }
.car-bkbar { display: block; height: 6px; border-radius: 6px; background: #EEF2F8; overflow: hidden; } .car-bkbar span { display: block; height: 100%; background: var(--c); }
.car-bk em { display: block; margin-top: 5px; font-style: normal; font-size: 11.5px; color: #8A97AE; }
.car-tot td { background: #F6F8FC; font-weight: 800; color: #12204A; }
/* gift vouchers */
.gv .it-seg em { font-style: normal; margin-left: 4px; padding: 0 6px; border-radius: 10px; background: #EEF2F8; font-size: 11px; color: #5B6B86; }
.gv .it-seg .active em { background: rgba(255,255,255,.22); color: inherit; }
.gv-no { display: flex; align-items: center; gap: 10px; }
.gv-chip { width: 38px; height: 38px; flex: none; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(180deg, #FFF6E2, #FDEBC4); color: #D3901A; } .gv-chip svg { width: 19px; height: 19px; }
.gv-soon { color: #B26B00 !important; font-weight: 700; }
.gv-red { color: #116A45 !important; border-color: #B9E3CB !important; }
.gv-table .fb-paid .it-bar span { background: linear-gradient(90deg, #E9A93A, #CF8A17); }
.gv-quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px !important; }
.gv-quick .rt-chip { height: 32px; padding: 0 12px; font-size: 13px; }
.gv-gwrap { position: relative; }
.gv-results { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 20; max-height: 260px; overflow: auto; padding: 6px; border-radius: 12px; background: #FFF; border: 1px solid #E4EBF5; box-shadow: 0 16px 34px -16px rgba(18,32,74,.35); }
.gv-results.on { display: block; }
.gv-results button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border: 0; border-radius: 9px; background: none; text-align: left; }
.gv-results button:hover { background: #FBF5E7; }
.gv-results b, .gv-picked b { display: block; font-size: 13.5px; color: #12204A; } .gv-results small, .gv-picked small { display: block; font-size: 12px; color: #5B6B86; }
.gv-none { padding: 10px; font-size: 13px; color: #5B6B86; }
.gv-picked { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; padding: 6px 8px 6px 6px; border-radius: 12px; background: #F6F8FC; border: 1px solid #E4EBF5; }
.gv-picked button { border: 0; background: #EEF2F8; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; color: #5B6B86; margin-left: 6px; } .gv-picked button svg { width: 14px; height: 14px; }
.gv-card { position: relative; overflow: hidden; padding: 20px 22px; border-radius: 18px; color: #FFF; background: radial-gradient(120% 90% at 100% 0%, rgba(233,169,58,.35), transparent 55%), linear-gradient(135deg, #12204A, #1E3270 70%, #24397D); box-shadow: 0 18px 36px -20px rgba(18,32,74,.7); }
.gv-card::after { content: ''; position: absolute; right: -40px; bottom: -40px; width: 150px; height: 150px; border-radius: 50%; border: 22px solid rgba(233,169,58,.16); }
.gv-card-top { display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: #C9D2E6; font-weight: 700; } .gv-card-top svg { width: 22px; height: 22px; color: #E9A93A; }
.gv-card-l { margin-top: 18px; font-size: 13px; color: #C9D2E6; }
.gv-card-v { font-family: var(--cond); font-size: 38px; font-weight: 800; color: #F4C46C; line-height: 1.1; }
.gv-card-no { margin-top: 10px; font-family: ui-monospace, Menlo, monospace; letter-spacing: .1em; font-size: 14px; }
.gv-card-f { display: flex; gap: 26px; margin-top: 16px; position: relative; z-index: 1; } .gv-card-f small { display: block; font-size: 11px; color: #9AA7C4; text-transform: uppercase; letter-spacing: .06em; } .gv-card-f b { font-size: 14px; }
.gv-look { display: flex; gap: 8px; } .gv-look .field-ico { flex: 1; }
.gv-info { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid #B9E3CB; background: #F2FBF6; }
.gv-info.bad { border-color: #F5C6C1; background: #FFF6F5; } .gv-info.bad .gv-chip { background: #FDE9E7; color: #B42318; }
.gv-info b { display: block; color: #12204A; } .gv-info small { display: block; font-size: 12.5px; color: #5B6B86; }
.gv-info-r { margin-left: auto; text-align: right; } .gv-info-r b { font-family: var(--cond); font-size: 20px; color: #116A45; } .gv-info.bad .gv-info-r b { color: #B42318; }
.idb .form-label { text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 700; color: #12204A; margin-bottom: 7px; }
.idb .form-label .req { color: #E5383B; }
.idb .field-ico .form-control, .idb .field-ico .form-select { height: 46px; padding-left: 44px; font-size: 15px; border-radius: 11px; }
.idb .field-ico > .ico { left: 14px; color: #5B6B86; } .idb .field-ico > .ico svg { width: 18px; height: 18px; }
.csh-close .btn svg, .csh-go svg { width: 18px; height: 18px; }
.csh-close .dlg-btn { height: 48px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 15px; }
.csh-exp { order: -1; }
.form-control.up { text-transform: uppercase; } .form-control.up::placeholder { text-transform: none; }
.field-ico:has(textarea) > .ico { top: 24px; }
.modal .gv-results { position: static; margin-top: 6px; max-height: 220px; box-shadow: none; }
.car-table td { padding-top: 10px; padding-bottom: 10px; }
.car-table .it-acts { white-space: nowrap; width: 1%; }
.car-table .car-c { white-space: nowrap; }
.car-em { max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.car-table .car-acc { min-width: 180px; }

/* ---- v30: Day book, Night audit, Vendor bills (A/P) ---- */
.ik-violet { --c: #6D4FD8; --w: #EEE9FD; } .ik-grey { --c: #5B6B86; --w: #EEF2F8; }
.ch-legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; font-size: 12.5px; font-weight: 700; color: #5B6B86; }
.ch-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
/* day book */
.db-range { padding: 12px 18px; }
.db-range .it-tools { margin: 0; }
.db-hint { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; max-width: 420px; font-size: 12.5px; color: #5B6B86; }
.db-hint svg { width: 15px; height: 15px; flex: none; color: #C08A1C; } .db-hint a { color: #C08A1C; font-weight: 700; }
.dbk .dlg-note a { color: #8A5A00; font-weight: 800; text-decoration: underline; }
.db-rev .su-badge { font-size: 11px; }
.db-desc { font-weight: 600; color: #12204A; display: inline-block; max-width: 340px; }
.db-table td { vertical-align: top; }
.su-badge.b-warn { background: #FFF1D6; color: #8A5A00; }
/* night audit */
.na-bdate { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 12px; background: #FFF6E2; border: 1px solid #F2DFB8; color: #8A5A00; }
.na-bdate svg { width: 20px; height: 20px; color: #D3901A; } .na-bdate small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; } .na-bdate b { font-family: var(--cond); font-size: 17px; color: #12204A; }
.na-card.warn { border-color: #F2DFB8; } .na-card.ok { border-color: #B9E3CB; }
.na-checks { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1250px) { .na-checks { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.na-chk { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; border: 1px solid #DCEFE4; background: #F5FBF8; }
.na-chk.bad { border-color: #F5D3CF; background: #FFF7F6; }
.na-ci { width: 40px; height: 40px; flex: none; border-radius: 11px; display: grid; place-items: center; background: #DDF3E7; color: #178A5B; } .na-ci svg { width: 20px; height: 20px; }
.na-chk.bad .na-ci { background: #FDE9E7; color: #D92D20; }
.na-chk small { display: block; font-size: 12px; font-weight: 700; color: #5B6B86; line-height: 1.3; padding-right: 18px; }
.na-chk b { display: block; font-family: var(--cond); font-size: 24px; color: #116A45; line-height: 1.2; } .na-chk.bad b { color: #B42318; }
.na-chk em { font-style: normal; font-size: 12px; color: #8A97AE; }
.na-tick { position: absolute; top: 10px; right: 10px; color: #22A06B; } .na-chk.bad .na-tick { color: #D92D20; } .na-tick svg { width: 16px; height: 16px; }
.na-run { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, 1fr); gap: 22px; margin-top: 18px; padding-top: 16px; border-top: 1px solid #EEF2F8; }
@media (max-width: 1100px) { .na-run { grid-template-columns: 1fr; } }
.na-steps ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.na-steps li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #12204A; }
.na-steps li svg { width: 30px; height: 30px; padding: 7px; border-radius: 9px; background: #F1F4F9; color: #12204A; flex: none; }
.na-steps p { margin: 10px 0 0; font-size: 13px; color: #5B6B86; }
.na-go .dlg-note ul { margin: 4px 0 0; padding-left: 18px; } .na-go .dlg-note b { color: #8A5A00; }
.na-btn { width: 100%; height: 50px; justify-content: center; font-size: 16px; } .na-btn svg { width: 19px; height: 19px; }
.na-btn:disabled { opacity: .45; cursor: not-allowed; }
.na-done { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: #F2FBF6; border: 1px solid #B9E3CB; }
.na-done > span { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: #DDF3E7; color: #178A5B; } .na-done > span svg { width: 24px; height: 24px; }
.na-done b { display: block; font-size: 16px; color: #12204A; } .na-done small { color: #5B6B86; }
.na-occ { min-width: 130px; } .na-occ > span:first-child { display: block; font-weight: 700; color: #12204A; } .na-occ .it-bar { display: block; width: 110px; margin-top: 4px; }
.na-occ .it-bar span { background: linear-gradient(90deg, #E9A93A, #CF8A17); }
/* vendor bills */
.ap .idb-krow, .dbk .idb-krow, .nau .idb-krow { grid-template-columns: 1.25fr repeat(4, minmax(0, 1fr)); }
@media (max-width: 1250px) { .ap .idb-krow, .dbk .idb-krow, .nau .idb-krow { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ap .it-seg em { font-style: normal; margin-left: 4px; padding: 0 6px; border-radius: 10px; background: #EEF2F8; font-size: 11px; color: #5B6B86; }
.ap .it-seg .active em { background: rgba(255,255,255,.22); color: inherit; }
.ap-table tbody tr { cursor: pointer; } .ap-table tbody tr:hover td { background: #FBF7EC; }
.ap-over { color: #B42318 !important; font-weight: 700; }
.ap-cancel { color: #B42318 !important; }
.nb-tax { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.nb-lines .orb-table td { padding: 8px 8px; vertical-align: middle; }
.nb-lines .form-control, .nb-lines .form-select { height: 42px; font-size: 14px; border-radius: 10px; padding-left: 10px; }
.nb-lines .bl-amt { font-weight: 800; color: #12204A; white-space: nowrap; }
.nb-lines .bl-tax:disabled { opacity: .45; }
.nb-foot { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; margin-top: 14px; align-items: start; }
@media (max-width: 1000px) { .nb-foot { grid-template-columns: 1fr; } }
.nb-narr { width: 100%; }
.nb-tot { padding: 14px 16px; border-radius: 14px; background: #F8FAFD; border: 1px solid #E4EBF5; }
.nb-tot > div { display: flex; justify-content: space-between; padding: 4px 0; font-size: 14px; color: #5B6B86; } .nb-tot b { color: #12204A; }
.nb-tot .nb-grand { margin-top: 6px; padding-top: 10px; border-top: 1px dashed #CBD5E3; } .nb-grand span { font-weight: 800; color: #12204A; } .nb-grand b { font-family: var(--cond); font-size: 22px; color: #C08A1C; }
.nb-tot-inline { display: flex; flex-wrap: wrap; gap: 6px 26px; justify-content: flex-end; margin-top: 10px; }
.nb-tot-inline > div { gap: 8px; } .nb-tot-inline .nb-grand { margin: 0; padding: 4px 0; border: 0; }
.nb-vinfo { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px; background: #F6F8FC; border: 1px solid #E4EBF5; }
.nb-vinfo b { display: block; color: #12204A; } .nb-vinfo small { display: block; font-size: 12.5px; color: #5B6B86; }
.nb-auto { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 20px; background: #FFF6E2; color: #8A5A00; font-size: 12px; font-weight: 700; }
.nb-auto svg { width: 14px; height: 14px; }
.nb-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0 0 6px; font-size: 13px; color: #5B6B86; } .nb-meta b { color: #12204A; }
.sr-quick button { white-space: nowrap; }
.db-range .db-hint { margin: 10px 0 0; max-width: none; }
.db-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
@media (max-width: 1100px) { .db-grid { grid-template-columns: 1fr; } }
.db-rev .sp-sub { white-space: normal; }
.nb-tot-inline { align-items: baseline; }

/* ---- v31: Bank & cash book, Journal vouchers, Account ledger ---- */
.bk .idb-krow, .jv .idb-krow, .lg .idb-krow { grid-template-columns: 1.25fr repeat(4, minmax(0, 1fr)); }
@media (max-width: 1250px) { .bk .idb-krow, .jv .idb-krow, .lg .idb-krow { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.t-violet.idb-cico, .idb-cico.t-violet { background: #EEE9FD; color: #6D4FD8; }
/* journals */
.jv .it-tools + .it-tools { margin-top: -4px; }
.jv .it-seg em { font-style: normal; margin-left: 4px; padding: 0 6px; border-radius: 10px; background: #EEF2F8; font-size: 11px; color: #5B6B86; }
.jv .it-seg .active em { background: rgba(255,255,255,.22); color: inherit; }
.jv-table tbody tr { cursor: pointer; } .jv-table tbody tr:hover td { background: #FBF7EC; }
.jv-narr { display: inline-block; max-width: 360px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; font-weight: 600; color: #12204A; }
.jv-table .sp-sub svg { width: 13px; height: 13px; vertical-align: -2px; color: #C08A1C; }
.jv-types { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 1100px) { .jv-types { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.jv-types .isd-type { padding: 10px 12px; } .jv-types .isd-type small { font-size: 12px; }
.modal .jv-quick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; color: #5B6B86; }
.modal .jv-quick > span { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; } .modal .jv-quick > span svg { width: 15px; height: 15px; color: #C08A1C; }
.modal .jv-quick .rt-chip { height: 32px; padding: 0 12px; font-size: 13px; }
.jv-help { margin: 10px 0 0; font-size: 12.5px; color: #8A97AE; }
.jv-diff span { display: inline-flex; align-items: center; gap: 6px; } .jv-diff svg { width: 16px; height: 16px; }
.jv-diff.ok b, .jv-diff.ok span { color: #116A45; } .jv-diff.bad b, .jv-diff.bad span { color: #B42318; }
/* bank & cash */
.bk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; margin-bottom: 14px; }
.bk-card { display: flex; flex-direction: column; gap: 12px; text-align: left; padding: 16px 18px; border-radius: 18px; border: 1px solid #E4EBF5; background: #FFF; box-shadow: 0 12px 26px -24px rgba(22,35,63,.4); cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.bk-card:hover { border-color: #F2DFB8; }
.bk-card.on { border-color: #E9A93A; box-shadow: 0 0 0 3px rgba(233,169,58,.18), 0 12px 26px -20px rgba(22,35,63,.45); }
.bk-top { display: flex; align-items: center; gap: 10px; } .bk-top .su-badge { margin-left: auto; white-space: nowrap; }
.bk-name { min-width: 0; } .bk-name b { display: block; color: #12204A; font-size: 15px; } .bk-name small { display: block; font-size: 12.5px; color: #5B6B86; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bk-bal small { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #8A97AE; }
.bk-bal b { font-family: var(--cond); font-size: 26px; font-weight: 800; color: #12204A; }
.bk-mv { display: flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 700; }
.bk-mv span { display: inline-flex; align-items: center; gap: 4px; } .bk-mv svg { width: 15px; height: 15px; }
.bk-mv .in { color: #116A45; } .bk-mv .out { color: #B42318; } .bk-mv em { font-style: normal; font-weight: 600; color: #8A97AE; font-size: 12px; }
.bk-foot { display: flex; justify-content: space-between; gap: 10px; padding-top: 10px; border-top: 1px solid #EEF2F8; font-size: 12px; color: #8A97AE; }
.bk-foot b { color: #5B6B86; }
.bk-types { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 1100px) { .bk-types { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bk-sum { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 14px; }
.bk-rec-h { display: flex; align-items: center; gap: 8px; margin: 18px 0 8px !important; } .bk-rec-h svg { width: 16px; height: 16px; color: #C08A1C; }
.bk-rsel { min-width: 240px; height: 40px; border-radius: 10px; font-size: 13.5px; }
.bk-csv { min-height: 180px; font-size: 13px; }
.bk-prev { margin-top: 10px; display: flex; gap: 8px; }
.su-badge svg { width: 12px; height: 12px; vertical-align: -1px; }
/* ledger */
.lg-acc { min-width: 300px; } .lg-acc select { max-width: 340px; }
.lg-side { font-size: 15px; color: #C9D2E6; margin-left: 6px; font-weight: 700; }
.lg-search { min-width: 280px; }
.lg-open td { background: #F6F8FC; color: #5B6B86; }
.lg-table td { vertical-align: middle; }
.bk-bankbox .csh-sec:first-child { margin-top: 16px; }
.bk-bal b.fb-due { color: #B42318; }
.rt-sel.lg-acc { min-width: 330px; } .rt-sel.lg-acc select { width: 100%; max-width: none; }
.nb-meta span { display: inline-flex; align-items: center; gap: 6px; } .nb-meta svg { width: 15px; height: 15px; flex: none; color: #C08A1C; }

/* ---- v33: Trial balance, P&L, Balance sheet, GST summary, Chart & GL mapping ---- */
.tbx .idb-krow, .plx .idb-krow, .bsx .idb-krow, .gst .idb-krow, .glm .idb-krow { grid-template-columns: 1.25fr repeat(4, minmax(0, 1fr)); }
@media (max-width: 1250px) { .tbx .idb-krow, .plx .idb-krow, .bsx .idb-krow, .gst .idb-krow, .glm .idb-krow { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tbx .dlg-note a, .bsx .dlg-note a { color: #8A5A00; font-weight: 800; text-decoration: underline; }
.tb-grp td { background: #F6F8FC; padding-top: 10px !important; padding-bottom: 10px !important; font-weight: 800; color: #12204A; }
.tb-grp td b { margin-left: 6px; }
.tb-row, .pl-table tbody tr, .bs-table tbody tr[data-acc] { cursor: pointer; }
.tb-row:hover td, .pl-table tbody tr:hover td, .bs-table tbody tr[data-acc]:hover td { background: #FBF7EC; }
.tb-diff td { background: #FFF6E2 !important; color: #8A5A00; font-weight: 800; }
.tb-diff svg { width: 15px; height: 15px; vertical-align: -2px; color: #D3901A; }
.pl-bar { display: block; height: 5px; margin-top: 6px; max-width: 240px; border-radius: 5px; background: #EEF2F8; overflow: hidden; }
.pl-bar span { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, #E9A93A, #CF8A17); }
.pl-bar.t-blue span { background: #2563EB; } .pl-bar.t-violet span { background: #6D4FD8; } .pl-bar.t-gold span { background: #E9A93A; }
.pl-bar.t-blue, .pl-bar.t-violet, .pl-bar.t-gold { background: #EEF2F8; }
.pl-chg { display: inline-block; padding: 2px 8px; border-radius: 20px; font-size: 12px; font-weight: 800; background: #EEF2F8; color: #5B6B86; }
.pl-chg.up { background: #DDF3E7; color: #116A45; } .pl-chg.down { background: #FDE9E7; color: #B42318; } .pl-chg.new { background: #E3ECFD; color: #1D4ED8; }
.pl-net { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; padding: 16px 22px; }
.pl-net > div span { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #8A97AE; }
.pl-net > div b { font-family: var(--cond); font-size: 20px; color: #12204A; }
.pl-net > em { font-style: normal; font-size: 22px; font-weight: 800; color: #C9D2E6; }
.pl-net .pl-res { margin-left: auto; padding: 8px 16px; border-radius: 12px; }
.pl-net.ok .pl-res { background: #DDF3E7; } .pl-net.ok .pl-res span, .pl-net.ok .pl-res b { color: #116A45; }
.pl-net.bad .pl-res { background: #FDE9E7; } .pl-net.bad .pl-res span, .pl-net.bad .pl-res b { color: #B42318; }
.pl-net svg { width: 15px; height: 15px; }
.bs-comp td { background: #FBFCFF; } .bs-comp b { color: #3B4A68; }
.bs-sec { margin: 6px 0 8px !important; } .idb-card > .bs-sec:first-of-type { margin-top: 0 !important; }
.bs-empty { padding: 14px !important; }
.bs-table td { vertical-align: middle; }
.gst-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
@media (max-width: 1100px) { .gst-grid { grid-template-columns: 1fr; } }
.gst-in { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.gst-grid .gst-in { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gst-grid .gst-in .cz-exp { grid-column: span 2; }
.gst-net { margin-top: 14px; padding: 12px 14px; border: 1px solid #E4EBF5; border-radius: 14px; gap: 14px; }
.gst-net > div b { font-size: 17px; }
.gst-foot { display: flex; align-items: flex-start; gap: 8px; margin: 4px 0 14px; font-size: 12.5px; color: #5B6B86; }
.gst-foot svg { width: 15px; height: 15px; flex: none; margin-top: 2px; color: #C08A1C; }
.gst .dlg-note ul { margin: 4px 0 0; padding-left: 18px; }
.pd-future td { opacity: .55; }
.glm .car-tabs { margin-bottom: 6px; }
.glm .fb-sec { display: flex; align-items: center; gap: 8px; margin: 18px 0 10px !important; } .glm .fb-sec svg { width: 16px; height: 16px; color: #C08A1C; }
.glm-stat { margin-left: auto; }
.glm-dirty { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: #B26B00; } .glm-dirty svg { width: 15px; height: 15px; }
.glm-sel { height: 40px; border-radius: 10px; font-size: 13.5px; }
.glm-sel.glm-bad { border-color: #F5C6C1; background-color: #FFF6F5; color: #B42318; }
.glm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.glm-grid4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1250px) { .glm-grid, .glm-grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.glm-item { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 12px; border: 1px solid #E4EBF5; border-radius: 12px; background: #FBFCFF; }
.glm-item b { display: block; font-size: 13.5px; color: #12204A; } .glm-item small { display: block; font-size: 12px; color: #8A97AE; }
.coa-grp td { background: #F6F8FC; } .coa-grp td svg { width: 15px; height: 15px; color: #C08A1C; vertical-align: -2px; }
.coa-ind { display: inline-block; width: 16px; }
.coa-types { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 1200px) { .coa-types { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ac-obhint { margin-top: 30px; background: #F6F8FC; border-color: #E4EBF5; color: #5B6B86; }

/* ---- v34: NISTTECH logo, transparent background ---- */
.brand-logo { width: 54px; height: 40px; border-radius: 0; background: none; box-shadow: none; padding: 0; overflow: visible; }
.brand-logo img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)); }

/* ---- v35: Reports, Foreign guests, Employees, Roster ---- */
.rpt .idb-krow, .fcx .idb-krow, .emp .idb-krow, .rs .idb-krow { grid-template-columns: 1.25fr repeat(4, minmax(0, 1fr)); }
@media (max-width: 1250px) { .rpt .idb-krow, .fcx .idb-krow, .emp .idb-krow, .rs .idb-krow { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rpt-pick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
@media (max-width: 1200px) { .rpt-pick { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rpt .rpt-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid #E4EBF5; background: #FFF; text-align: left; cursor: pointer; box-shadow: 0 10px 22px -22px rgba(22,35,63,.45); }
.rpt .rpt-card:hover { border-color: #F2DFB8; }
.rpt .rpt-card.on { border-color: #E9A93A; background: #FFFCF4; box-shadow: 0 0 0 3px rgba(233,169,58,.16); }
.rpt .rpt-ico { width: 40px; height: 40px; border-radius: 11px; background: #EEF2F8; color: #3B4A68; margin: 0; }
.rpt .rpt-card.on .rpt-ico { background: linear-gradient(180deg, #F5BC3E, #E39A1F); color: #FFF; }
.rpt .rpt-ico svg { width: 20px; height: 20px; }
.rpt .rpt-card b { display: block; font-size: 14px; color: #12204A; } .rpt .rpt-card small { display: block; font-size: 12px; color: #8A97AE; line-height: 1.3; }
.rpt-asof { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: #5B6B86; } .rpt-asof svg { width: 16px; height: 16px; color: #C08A1C; }
.rpt-table td { vertical-align: middle; }
.rpt .idb-card > .idb-chart, .rs .idb-card .idb-chart { margin-top: 4px; }
/* employees */
.emp-table tbody tr { cursor: pointer; } .emp-table tbody tr:hover td { background: #FBF7EC; }
.emp-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
@media (max-width: 900px) { .emp-cols { grid-template-columns: 1fr; } }
.emp-kv { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-bottom: 1px dashed #E4EBF5; font-size: 14px; }
.emp-kv span { color: #5B6B86; } .emp-kv b { color: #12204A; text-align: right; }
.emp-dlg .emp-tabs { margin-bottom: 6px; } .emp-dlg .emp-tabs button { display: inline-flex; align-items: center; gap: 6px; } .emp-dlg .emp-tabs svg { width: 16px; height: 16px; }
.emp-types { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.emp-types .isd-type { padding: 10px 12px; justify-content: center; text-align: center; }
@media (max-width: 1000px) { .emp-types { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* roster */
.rs-week { display: flex; align-items: center; gap: 8px; } .rs-week b { min-width: 200px; text-align: center; font-family: var(--cond); font-size: 16px; color: #12204A; }
.rs-week .su-sm { width: 38px; height: 38px; justify-content: center; }
.rs-legend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.rs-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 20px; font-size: 12.5px; background: #F1F4F9; color: #3B4A68; border: 1px solid #E4EBF5; }
.rs-chip em { font-style: normal; color: #8A97AE; }
.rs-chip.s0, .rs-cell.s0 { background: #E3ECFD; border-color: #C2D5F8; color: #1D4ED8; }
.rs-chip.s1, .rs-cell.s1 { background: #FDF0D6; border-color: #F2DFB8; color: #8A5A00; }
.rs-chip.s2, .rs-cell.s2 { background: #EEE9FD; border-color: #D9CFF8; color: #5B3FC4; }
.rs-chip.s3, .rs-cell.s3 { background: #DDF3E7; border-color: #B9E3CB; color: #116A45; }
.rs-chip.s4, .rs-cell.s4 { background: #FDE9E7; border-color: #F5C6C1; color: #B42318; }
.rs-chip.s5, .rs-cell.s5 { background: #E6F6FA; border-color: #BFE6F0; color: #0E7490; }
.rs-chip.wo, .rs-cell.wo { background: #EEF2F8; border-color: #DCE3EE; color: #5B6B86; }
.rs-wrap { overflow-x: auto; }
.rs-table { min-width: 1080px; }
.rs-table th.rs-day { text-align: center; } .rs-table th.rs-day b { display: block; } .rs-table th.rs-day span { display: block; font-size: 11.5px; font-weight: 600; color: #8A97AE; text-transform: none; letter-spacing: 0; }
.rs-table th.today, .rs-table td.today { background: #FFFBF1 !important; } .rs-table th.today b { color: #C08A1C; }
.rs-table td { padding: 8px 6px !important; vertical-align: middle; }
.rs-emp { min-width: 210px; }
.rs-cell { height: 38px; min-width: 92px; border-radius: 10px; font-weight: 800; font-size: 13.5px; text-align: center; padding-left: 10px; }
.rs-fill { width: 150px; } .rs-fillsel { height: 38px; border-radius: 10px; font-size: 13px; }
.rs-count { text-align: center !important; }

/* ---- v36: Attendance, Leave, Designations & shifts ---- */
.hr-ib { width: 34px; height: 34px; padding: 0 !important; display: inline-flex !important; align-items: center; justify-content: center; border-radius: 9px; }
.hr-ib svg { width: 16px; height: 16px; }
.hr-ib.hr-del:hover { background: #FDE9E7 !important; border-color: #F5C6C1 !important; color: #B42318 !important; }
.ds-acts { display: inline-flex; gap: 6px; justify-content: flex-end; align-items: center; white-space: nowrap; }
.ds-acts .su-sm.btn-brass { height: 34px; padding: 0 12px; display: inline-flex; align-items: center; gap: 5px; font-weight: 800; font-size: 13px; border-radius: 9px; } .ds-acts .btn-brass svg { width: 15px; height: 15px; }
/* designations & shifts */
.ds-code { display: inline-block; padding: 4px 9px; border-radius: 8px; background: #F1F4F9; border: 1px solid #E1E8F2; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; font-weight: 700; color: #12204A; }
.ds-table tr.ds-click { cursor: pointer; } .ds-table tr.ds-click:hover td { background: #FBFCFF; }
.ds-table td { vertical-align: middle; }
.sh-list { display: flex; flex-direction: column; gap: 10px; }
.sh-row { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid #E6ECF5; border-radius: 14px; background: #FBFCFF; }
.sh-code.rs-cell { height: 44px; min-width: 52px; display: grid; place-items: center; padding: 0 10px; border: 1px solid; font-size: 15px; flex: none; }
.sh-main { flex: 1; min-width: 0; } .sh-main > b { display: flex; align-items: center; gap: 8px; color: #12204A; font-size: 14.5px; }
.sh-main .pc-pill { padding: 2px 8px; font-size: 11.5px; } .sh-main .pc-pill svg { width: 12px; height: 12px; }
.sh-time { display: flex; align-items: center; gap: 5px; font-size: 12.5px; color: #5B6B86; margin-top: 2px; } .sh-time svg { width: 13px; height: 13px; } .sh-time em { font-style: normal; color: #B8C2D3; }
.sh-bar { position: relative; height: 6px; border-radius: 6px; background: #EEF2F8; margin-top: 8px; overflow: hidden; }
.sh-bar i { position: absolute; top: 0; bottom: 0; border-radius: 6px; background: linear-gradient(90deg, #E9A93A, #CF8A17); }
.sh-bar-lg { height: 12px; }
.sh-axis { display: flex; justify-content: space-between; font-size: 11px; color: #8A97AE; margin-top: 4px; padding: 0 2px; }
.sh-side { text-align: center; min-width: 70px; } .sh-side b { display: block; font-family: var(--cond); font-size: 20px; color: #12204A; line-height: 1.1; } .sh-side small { font-size: 11.5px; color: #8A97AE; }
.sh-presets { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.sh-presets .rt-chip { border: 1px solid #E1E8F2; background: #FFF; border-radius: 20px; padding: 6px 12px; font-size: 12.5px; color: #3B4A68; cursor: pointer; }
.sh-presets .rt-chip b { color: #12204A; } .sh-presets .rt-chip.active, .sh-presets .rt-chip:hover { border-color: #E9A93A; background: #FDF3DF; }
.sh-sum, .lv-sum { grid-template-columns: repeat(4, minmax(0, 1fr)); } .ds-sum { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 800px) { .sh-sum, .lv-sum { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sh-side { display: none; } }
/* attendance */
.at-note { display: flex; align-items: center; gap: 7px; margin-top: 12px; font-size: 12.5px; color: #5B6B86; } .at-note svg { width: 15px; height: 15px; color: #C08A1C; }
.at-cnt { display: inline-block; min-width: 20px; padding: 0 6px; margin-left: 4px; border-radius: 10px; background: #EEF2F8; font-size: 11.5px; font-weight: 800; color: #5B6B86; }
.it-seg button.active .at-cnt { background: #FDF0D6; color: #8A5A08; }
.at-table td { vertical-align: middle; padding-top: 8px !important; padding-bottom: 8px !important; }
.at-table .at-c-st { width: 150px; } .at-table .at-c-tm { width: 118px; } .at-table .at-c-h { width: 96px; }
.at-table .form-select, .at-table .form-control { height: 38px; border-radius: 10px; font-size: 13.5px; }
.at-table .at-st { font-weight: 700; }
.at-st.a-green { background-color: #DDF3E7; border-color: #B9E3CB; color: #116A45; }
.at-st.a-gold { background-color: #FDF0D6; border-color: #F2DFB8; color: #8A5A08; }
.at-st.a-red { background-color: #FDE9E7; border-color: #F5C6C1; color: #B42318; }
.at-st.a-violet { background-color: #EEE9FD; border-color: #D9CFF8; color: #5B3FC4; }
.at-st.a-grey { background-color: #EEF2F8; border-color: #DCE3EE; color: #3B4A68; }
.at-st.a-blue { background-color: #E3ECFD; border-color: #C2D5F8; color: #1D4ED8; }
.at-table .form-control:disabled { background: #F6F8FB; color: #A3AEC2; }
.at-table tr.at-dirty td { background: #FFFBF1; } .at-table tr.at-dirty td:first-child { box-shadow: inset 3px 0 0 #E9A93A; }
.at-hrs { font-weight: 800; color: #12204A; white-space: nowrap; } .at-hrs small { font-weight: 600; font-size: 11px; } .at-ot { color: #1D4ED8; }
.at-table .rs-chip { padding: 4px 9px; font-size: 12px; }
.idb-kv small { font-size: 13px; font-weight: 700; color: #5B6B86; }
.am-c-pct { width: 170px; } .am-pw { display: flex; align-items: center; gap: 8px; }
.am-bar { flex: 1; height: 8px; border-radius: 8px; background: #EEF2F8; overflow: hidden; } .am-bar i { display: block; height: 100%; border-radius: 8px; background: #2E9E6B; }
.am-bar.mid i { background: #E9A93A; } .am-bar.low i { background: #D9483B; }
.am-pct { min-width: 40px; text-align: right; font-size: 13px; } .am-pct.ok { color: #116A45; } .am-pct.mid { color: #8A5A08; } .am-pct.low { color: #B42318; }
/* leave */
.lv-table td { vertical-align: middle; }
.lv-dates { display: block; color: #12204A; white-space: nowrap; }
.lv-when { display: block; font-size: 12px; color: #1D4ED8; font-weight: 700; } .lv-when.now { color: #5B3FC4; } .lv-when.past { color: #8A97AE; font-weight: 600; }
.lv-reason { max-width: 240px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #3B4A68; }
.lv-types { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.lv-types .isd-type { padding: 10px 12px; align-items: flex-start; } .lv-types .isd-type b { font-size: 13.5px; } .lv-types .isd-type small { display: block; font-size: 11.5px; line-height: 1.3; }
.lv-types .isd-type { border-left-width: 4px; }
.lv-types .lt-blue { border-left-color: #6E97F0; } .lv-types .lt-red { border-left-color: #E58A80; } .lv-types .lt-green { border-left-color: #59B987; }
.lv-types .lt-grey { border-left-color: #A9B5C8; } .lv-types .lt-violet { border-left-color: #9C86E8; } .lv-types .lt-gold { border-left-color: #E9A93A; }
.lv-taken { position: absolute; top: 8px; right: 10px; font-style: normal; font-size: 10.5px; font-weight: 800; color: #8A5A08; }
.lv-half { height: 46px; } .lv-half.off { opacity: .55; }
.lv-warn { background: #FDE9E7; border: 1px solid #F5C6C1; color: #B42318; } .lv-warn .dlg-note-ico { color: #B42318; }
@media (max-width: 900px) { .lv-types { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
#atMode button { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; } #atMode svg { width: 16px; height: 16px; }
.at-table .rs-chip, .rs-chip { white-space: nowrap; }
.at .rt-date input[type="month"] { min-width: 150px; }
.sh-time { flex-wrap: wrap; column-gap: 6px; row-gap: 0; } .sh-time span { white-space: nowrap; }
.lv-half { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 48px; padding: 0 14px; margin: 0; border: 1px solid #DCE3EE; border-radius: 12px; background: #FFF; cursor: pointer; }
.lv-half > span:first-child { display: flex; flex-direction: column; line-height: 1.2; } .lv-half b { font-size: 13.5px; color: #12204A; } .lv-half small { font-size: 11.5px; color: #8A97AE; }
/* ---- v36b: Payroll ---- */
.pr-back { width: 38px; height: 38px; justify-content: center; margin-right: 2px; flex: none; }
.pr-table td { vertical-align: middle; } .pr-table tr[data-run] { cursor: pointer; } .pr-table tr[data-run]:hover td { background: #FBFCFF; }
.pr-open { color: #B8C2D3; } .pr-open svg { width: 16px; height: 16px; } tr:hover .pr-open { color: #C08A1C; }
.pr-warn { margin-top: 12px; }
.pr-wrap { overflow-x: auto; } .pr-slips { min-width: 1240px; } .pr-slips td { vertical-align: middle; white-space: nowrap; }
.pr-slips tr.pr-click { cursor: pointer; } .pr-slips tr.pr-click:hover td { background: #FBFCFF; }
.pr-adj { display: inline-flex; color: #C08A1C; vertical-align: middle; margin-left: 2px; } .pr-adj svg { width: 12px; height: 12px; }
.pr-lop { font-size: 11px; font-weight: 800; color: #B42318; } .pr-unm { font-size: 11px; font-weight: 700; color: #8A5A08; }
.pr-sum { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 800px) { .pr-sum { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rv-table { min-width: 980px; } .rv-table td { vertical-align: middle; }
.rv-table .rv-in { width: 108px; } .rv-ipt { height: 36px; border-radius: 9px; font-size: 13px; padding: 0 10px; }
.rv-ipt:not(:placeholder-shown) { border-color: #E9A93A; background: #FFFBF1; font-weight: 700; color: #12204A; }
.rv-att { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.rv-att em { font-style: normal; font-size: 11px; font-weight: 800; padding: 2px 7px; border-radius: 9px; background: #EEF2F8; color: #5B6B86; white-space: nowrap; }
.rv-att .a-g { background: #DDF3E7; color: #116A45; } .rv-att .a-y { background: #FDF0D6; color: #8A5A08; }
.rv-att .a-r { background: #FDE9E7; color: #B42318; } .rv-att .a-v { background: #EEE9FD; color: #5B3FC4; }
.pl-lines { border: 1px solid #E6ECF5; border-radius: 12px; background: #FBFCFF; overflow: hidden; }
.pl-line { display: flex; align-items: center; gap: 10px; padding: 9px 14px; border-bottom: 1px solid #EEF2F8; font-size: 13.5px; color: #3B4A68; }
.pl-line:last-child { border-bottom: 0; } .pl-line b { margin-left: auto; color: #12204A; font-variant-numeric: tabular-nums; }
.pl-line .pc-pill { padding: 2px 9px; font-size: 11px; min-width: 40px; justify-content: center; }
/* ---- v38: Payroll settings, Property setup, Rates & offers, Taxes ---- */
.ps-table td, .rp-table td, .tx-table td { vertical-align: middle; }
.ps-table tr.ps-click, .rp-table tr.ps-click, .tx-table tr.ps-click { cursor: pointer; }
.ps-table tr.ps-click:hover td, .rp-table tr.ps-click:hover td, .tx-table tr.ps-click:hover td { background: #FBFCFF; }
.ps-occ { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; color: #12204A; white-space: nowrap; } .ps-occ svg { width: 14px; height: 14px; color: #8A97AE; }
.ps-feats span { display: inline-flex; align-items: center; gap: 2px; margin-left: 4px; padding: 1px 7px; border-radius: 8px; background: #EEF2F8; font-size: 11px; font-weight: 700; color: #5B6B86; } .ps-feats svg { width: 10px; height: 10px; }
.ps-room { display: inline-grid; place-items: center; min-width: 54px; height: 32px; padding: 0 10px; border-radius: 9px; background: #12204A; color: #FFF; font-family: var(--cond); font-weight: 800; font-size: 15px; }
#psTabs button, #rpTabs button { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; } #psTabs svg, #rpTabs svg { width: 16px; height: 16px; }
.rt-sum { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rt-desc { position: relative; } .rt-desc textarea { border-radius: 12px; padding-bottom: 22px; } .rt-count { position: absolute; right: 12px; bottom: 6px; font-size: 11px; color: #8A97AE; }
.rt-toggles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .rt-toggles .su-row { margin: 0; }
@media (max-width: 800px) { .rt-toggles, .rt-sum { grid-template-columns: 1fr 1fr; } }
/* rates */
.rp-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 3px; } .rp-tags span { font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 8px; background: #EEF2F8; color: #5B6B86; }
.rp-tags .rp-meal { background: #FDF0D6; color: #8A5A08; } .rp-tags .ok { background: #DDF3E7; color: #116A45; } .rp-tags .no { background: #FDE9E7; color: #B42318; }
.rp-val { white-space: nowrap; } .rp-table .pc-pill { margin-top: 3px; padding: 2px 9px; font-size: 11.5px; }
.rp-cov { display: flex; width: 130px; height: 7px; border-radius: 7px; background: #EEF2F8; overflow: hidden; margin-bottom: 3px; }
.rp-cov i { display: block; height: 100%; } .rp-cov .ok { background: #2E9E6B; } .rp-cov .cl { background: #D9483B; } .rp-cov.sm { width: 80px; height: 5px; margin-top: 4px; }
.rp-meals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; } .rp-meals .isd-type { padding: 10px 12px; } .rp-meals small { display: block; font-size: 11.5px; }
@media (max-width: 800px) { .rp-meals { grid-template-columns: 1fr 1fr; } }
.rp-sumline { display: flex; align-items: flex-start; gap: 8px; margin-top: 14px; padding: 11px 14px; border-radius: 12px; background: #F4F7FC; border: 1px solid #E4EBF5; font-size: 13px; color: #3B4A68; }
.rp-sumline svg { width: 16px; height: 16px; color: #C08A1C; flex: none; margin-top: 1px; } .rp-sumline b { color: #12204A; }
.rp-disc { color: #116A45; white-space: nowrap; }
.rp .rc-card { border-radius: 18px; }
/* taxes */
.tx-rate { font-family: var(--cond); font-size: 16px; color: #12204A; }
.tx-g { margin: 1px 2px 1px 0; font-size: 11.5px; padding: 2px 7px; }
.tx-groups { display: flex; flex-direction: column; gap: 10px; }
.tx-grp { padding: 12px 14px; border: 1px solid #E6ECF5; border-radius: 14px; background: #FBFCFF; } .tx-grp.off { opacity: .6; }
.tx-grp-h { display: flex; align-items: center; justify-content: space-between; } .tx-grp-rate { font-family: var(--cond); font-size: 22px; color: #C08A1C; }
.tx-grp-n { font-weight: 800; color: #12204A; margin-top: 4px; } .tx-grp-p { font-size: 12.5px; color: #5B6B86; margin-top: 2px; }
.tx-grp-f { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 12px; color: #8A97AE; } .tx-grp-f .hr-ib { margin-left: auto; width: 30px; height: 30px; }
.tx-types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.field-ico .tx-suf { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 12.5px; font-weight: 700; color: #8A97AE; pointer-events: none; }
.field-ico:has(.tx-suf) .form-control { padding-right: 58px; }
.tx-sum { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tx-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.tx-chip { position: relative; display: flex; flex-direction: column; min-width: 150px; padding: 8px 12px; margin: 0; border: 1.5px solid #E1E8F2; border-radius: 12px; cursor: pointer; }
.tx-chip input { position: absolute; opacity: 0; pointer-events: none; } .tx-chip b { font-size: 13px; color: #12204A; } .tx-chip small { font-size: 11.5px; color: #8A97AE; }
.tx-chip.on { border-color: #E9A93A; background: #FFF8EA; } .tx-chip.on::after { content: '✓'; position: absolute; top: 6px; right: 9px; font-weight: 800; color: #C08A1C; }
/* payroll settings */
.pst-card { margin-bottom: 16px; } .pst-card .form-label { margin-bottom: 6px; }
.pst-hint { display: block; margin-top: 5px; font-size: 11.5px; color: #8A97AE; }
.field-ico.pst-changed .form-control, .field-ico.pst-changed .form-select { border-color: #E9A93A; background-color: #FFFBF1; }
.pst-side { position: sticky; top: 96px; }
.pst-net { font-family: var(--cond); font-size: 18px; color: #116A45 !important; }
.rp-tags span { white-space: nowrap; }
.tx-table td:nth-child(4) { white-space: nowrap; }
.pst-side .field-ico .ico { display: none; } .pst-side .field-ico .form-control { padding-left: 12px; }
/* ---- v39: Meal plans, Settings, Users & roles ---- */
#stTabs button, #admTabs button { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; } #stTabs svg, #admTabs svg { width: 16px; height: 16px; }
.mp-basis { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; color: #3B4A68; font-weight: 600; } .mp-basis svg { width: 15px; height: 15px; color: #C08A1C; }
.mp-types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mp-types .isd-type, .st-ptypes .isd-type, .adm-rc { align-items: center; } .mp-types small { display: block; font-size: 11.5px; line-height: 1.3; }
.mp-sum { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 800px) { .mp-types, .mp-sum { grid-template-columns: 1fr; } }
.st-card { margin-bottom: 16px; }
.st-add { margin-top: 14px; padding-top: 14px; border-top: 1px dashed #E1E8F2; } .st-none { padding: 6px 2px; }
.st-val { max-width: 360px; word-break: break-all; font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; color: #3B4A68; }
.st-sum { max-width: 320px; font-size: 12.5px; color: #3B4A68; }
.su-row.pst-changed { border-color: #E9A93A !important; background: #FFFBF1 !important; }
.st-ptypes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; } .st-ptypes .isd-type { padding: 8px 10px; } .st-ptypes b { font-size: 13px; }
@media (max-width: 800px) { .st-ptypes { grid-template-columns: 1fr 1fr; } }
.rt-count.ok { color: #116A45; font-weight: 700; } .rt-count.bad { color: #B42318; font-weight: 700; }
.st-next { font-family: var(--cond); font-weight: 800; font-size: 15px; color: #C08A1C; }
.pc-pill svg { width: 13px; height: 13px; }
/* users & roles */
.adm-role { display: inline-flex; align-items: center; gap: 5px; margin: 2px 4px 2px 0; padding: 3px 9px; border-radius: 999px; background: #FDF0D6; color: #8A5A08; font-size: 12px; font-weight: 700; white-space: nowrap; }
.adm-role svg { width: 13px; height: 13px; } .adm-role.sup { background: #12204A; color: #F6C66A; }
.adm-ri { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #FDF0D6; color: #C08A1C; flex: none; } .adm-ri svg { width: 17px; height: 17px; }
.adm-roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.adm-rc { padding: 9px 11px; } .adm-rc b { font-size: 13.5px; } .adm-rc small { display: block; font-size: 11.5px; } .adm-rc .st-ico svg { width: 16px; height: 16px; }
.adm-rc.locked { opacity: .5; cursor: not-allowed; }
@media (max-width: 800px) { .adm-roles { grid-template-columns: 1fr 1fr; } }
.adm-gen { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border: 1px solid #F2DFB8; border-radius: 8px; background: #FDF3DF; color: #8A5A08; font-size: 12px; font-weight: 700; }
.adm-gen svg { width: 13px; height: 13px; } .field-ico:has(.adm-gen) .form-control { padding-right: 104px; font-family: ui-monospace, Menlo, monospace; }
.adm-pw { display: flex; flex-wrap: wrap; gap: 6px; min-height: 46px; align-items: center; }
.adm-pw span { padding: 3px 9px; border-radius: 9px; background: #EEF2F8; color: #8A97AE; font-size: 12px; font-weight: 700; } .adm-pw span.ok { background: #DDF3E7; color: #116A45; }
.adm-perms { max-height: 56vh; overflow: auto; display: flex; flex-direction: column; gap: 12px; padding-right: 4px; }
.perm-mod { border: 1px solid #E6ECF5; border-radius: 14px; padding: 12px 14px; background: #FBFCFF; }
.adm-pm-h { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; } .adm-pm-h b { color: #12204A; font-size: 14px; } .adm-pm-h .mod-all { margin-left: auto; height: 30px; padding: 0 10px; font-size: 12px; }
.adm-pm-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.perm-item { display: flex; gap: 8px; align-items: flex-start; margin: 0; padding: 8px 10px; border: 1px solid #E6ECF5; border-radius: 10px; background: #FFF; cursor: pointer; }
.perm-item b { display: block; font-size: 12.5px; color: #12204A; } .perm-item small { font-size: 11px; color: #8A97AE; font-family: ui-monospace, Menlo, monospace; }
.perm-item.on { border-color: #E9A93A; background: #FFF8EA; } .perm-item input { margin-top: 3px; accent-color: #CF8A17; }
@media (max-width: 900px) { .adm-pm-g { grid-template-columns: 1fr 1fr; } }
.adm-checks { display: flex; flex-direction: column; gap: 10px; }
.adm-check { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border: 1px solid #E6ECF5; border-radius: 14px; background: #FBFCFF; }
.adm-check > div { flex: 1; } .adm-check b { display: block; color: #12204A; } .adm-check small { font-size: 12.5px; color: #5B6B86; }
.adm-ci { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; } .adm-ci svg { width: 17px; height: 17px; }
.c-green .adm-ci { background: #DDF3E7; color: #116A45; } .c-gold .adm-ci { background: #FDF0D6; color: #8A5A08; } .c-red .adm-ci { background: #FDE9E7; color: #B42318; }
.c-red { border-color: #F5C6C1; } .c-gold { border-color: #F2DFB8; }
.adm-fix { display: flex; gap: 6px; align-items: flex-start; margin-top: 6px; font-size: 12.5px; color: #3B4A68; } .adm-fix svg { width: 14px; height: 14px; color: #C08A1C; flex: none; margin-top: 2px; }
.adm-cron { margin: 0; padding: 14px; border-radius: 12px; background: #12204A; color: #E6ECF5; font-size: 12.5px; white-space: pre-wrap; }
.st-prefs { margin-bottom: 16px; } .st-prefs .st-card { height: 100%; margin-bottom: 0; }
/* ---- v40: tabbed dialogs ---- */
.dlg-tabs { display: flex; width: 100%; margin-bottom: 8px; }
.dlg-tabs button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px; position: relative; white-space: nowrap; }
.dlg-tabs button svg { width: 16px; height: 16px; }
.dlg-tabs .dt-n { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #EEF2F8; color: #5B6B86; font-size: 11px; font-weight: 800; }
.dlg-tabs button.active .dt-n { background: #E9A93A; color: #12204A; }
.dlg-tabs .dt-err { display: none; position: absolute; top: 6px; right: 10px; width: 8px; height: 8px; border-radius: 50%; background: #D9483B; }
.dlg-tabs button.has-err .dt-err { display: block; }
.dlg-pane { min-height: 330px; }
.rp-mini th, .rp-mini td { white-space: nowrap; }
/* ---- v41: user dialog tabs ---- */
.adm-access { display: flex; flex-wrap: wrap; gap: 6px; }
.adm-mod { display: inline-flex; gap: 5px; align-items: center; padding: 4px 10px; border-radius: 999px; background: #EEF2F8; color: #5B6B86; font-size: 12px; white-space: nowrap; cursor: default; }
.adm-mod b { color: #12204A; } .adm-mod.mg { background: #FDF0D6; color: #8A5A08; }
.adm-access .pc-pill svg { width: 13px; height: 13px; }

/* ---- v42: ledger posting banner + accompanying guests ---- */
.gl-ban { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; }
.gl-ban > div { flex: 1; font-size: 13.5px; }
.gl-ban .btn { white-space: nowrap; }
.acc-row { margin-top: 6px; }
.acc-row .acc-del { line-height: 1; padding: 4px 9px; }

/* ---- v43: TDS on bills ---- */
.nb-tot .nb-net { border-top: 1px dashed #D8DCE6; margin-top: 4px; padding-top: 6px; }
.nb-tot .nb-net b { color: #0E7C4A; }
.gst .g3-net td { border-top: 2px solid #12204A; background: #F6F8FD; }

/* ---- v44: approvals inbox ---- */
.apv-rules { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: #5B6478; background: #F4F6FB; border: 1px solid #E3E7F0; border-radius: 999px; padding: 7px 14px; }
.apv-rules svg { width: 15px; height: 15px; flex: 0 0 auto; }
.apv-table .it-acts { display: flex; gap: 6px; justify-content: flex-end; align-items: center; }
.apv-table .sp-sub { max-width: 260px; }

/* ---- v45: distribution ---- */
.dst .ds-eng { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.dst .ds-eng code, .dst .ds-hook code, .ds-keybox code { background: #F4F6FB; border: 1px solid #E3E7F0; border-radius: 8px; padding: 7px 12px; font-size: 12.5px; color: #12204A; word-break: break-all; }
.dst .ds-eng .sp-sub { flex-basis: 100%; }
.dst .ds-facts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.dst .ds-facts > div { background: #F8F9FC; border: 1px solid #EEF0F5; border-radius: 10px; padding: 9px 12px; }
.dst .ds-facts small { display: block; color: #6B7385; font-size: 11.5px; font-weight: 600; }
.dst .ds-facts b { color: #12204A; font-size: 13.5px; }
.dst .ds-maps { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.dst .ds-map { font-size: 12.5px; background: #FDF6E7; border: 1px solid #F3DFB4; color: #5B4A1E; border-radius: 999px; padding: 4px 11px; }
.dst .ds-map.off { opacity: .5; text-decoration: line-through; }
.dst .ds-hook { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.dst .ds-hook small { color: #6B7385; font-weight: 600; font-size: 11.5px; }
.ds-keybox { display: flex; flex-direction: column; gap: 4px; }
.ds-keybox small { color: #6B7385; font-weight: 600; }
.ds-grid td, .ds-grid th { white-space: nowrap; font-size: 12px; padding: 6px 8px !important; }
.ds-grid td.ds-ss { background: #FBE9E7; color: #9F2A1D; }
.ds-mtable td { padding: 6px !important; }
@media (max-width: 1100px) { .dst .ds-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---- v45: amend booking ---- */
.amd .amd-room { border: 1px solid #E3E7F0; border-radius: 12px; padding: 12px; margin-bottom: 10px; background: #FBFCFE; }
.amd .amd-room.rm { opacity: .55; background: #FBEDEB; }
.amd .amd-room header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.amd .amd-room header b { color: #12204A; }
.amd .amd-diff { border-radius: 12px; background: #F4F6FB; border: 1px solid #E3E7F0; padding: 12px 14px; }
.amd .amd-diff ul { margin: 6px 0 0; padding-left: 18px; font-size: 13px; }
.amd .amd-tot { display: flex; gap: 18px; align-items: baseline; font-size: 13px; }
.amd .amd-tot b { font-size: 18px; color: #12204A; }
.amd .amd-tot .up { color: #B4232C; } .amd .amd-tot .down { color: #0E7C4A; }
.rc-restr { margin-top: 8px; }
.rc-dows { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 6px; font-size: 12.5px; font-weight: 600; color: #3A4256; }
.rc-dows label { display: inline-flex; gap: 4px; align-items: center; }
.dst .orb-table td svg { width: 15px; height: 15px; vertical-align: -3px; margin-right: 4px; }
