/* Figma 04.3 Guest Profiles — airy register, compact data rows and blue actions. */
/* Sidebar styling belongs exclusively to dashboard.css on every route. */
.v9 .nav #guest-submenu{padding:2px 0 7px 26px;display:grid;gap:3px}
.v9 .nav #guest-submenu[hidden]{display:none}
.v9 .nav #guest-submenu button{font-size:14px;line-height:1.4;min-height:34px;padding:8px 10px;margin:0;border:0;border-radius:7px;text-align:left;color:#b9cbed;white-space:normal}
.v9 .nav #guest-submenu button.selected{background:#ffffff12;color:#fff;border-left:2px solid #3384ff}
.g-card{background:#fff;border:1px solid #dee0ec;border-radius:14px;padding:20px;min-width:0;box-shadow:0 5px 10px #081c6906}
.g-card h2,.g-registration h2{font-size:19px;font-weight:600;margin:0 0 16px;color:#132044}
.g-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 16px}.g-heading h2{margin:0}
.g-res-summary{display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:18px;margin-bottom:20px}.g-mini-stats{display:grid;grid-template-columns:1fr 1fr;gap:14px}.g-mini-stats article{display:flex;flex-direction:column;gap:16px;padding:18px}.g-mini-stats strong{font-size:30px;color:#112448}.g-mini-stats span{font-size:14px;color:#758197}
.g-bars{height:175px;display:flex;align-items:flex-end;justify-content:space-around;border-bottom:1px solid #e9edf5;gap:8px;padding:0 0 25px;margin-top:15px}.g-bars>div{position:relative;flex:1;display:flex;justify-content:center}.g-bars b{display:block;background:#0f47f1;width:16px;max-height:145px;border-radius:3px 3px 0 0}.g-bars small{position:absolute;bottom:-21px;color:#778098;font-size:13px}.g-bars span{position:absolute;top:-17px;font-size:12px;color:#6a7895}.g-popular{display:flex;align-items:center;gap:16px;min-height:170px}.g-ring{width:130px;height:130px;border:18px solid #0f47f1;border-right-color:#f2e002;border-bottom-color:#abc6ff;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-direction:column;flex-shrink:0}.g-ring strong{font-size:25px}.g-ring small{font-size:11px;color:#6f7890}.g-popular>div:last-child{flex:1}.g-popular p{display:flex;gap:6px;align-items:center;margin:16px 0;font-size:13px}.g-popular b{margin-left:auto}.g-dot{width:7px;height:7px;border-radius:50%;background:#0f47f1}.g-dot.s1{background:#f2e002}.g-dot.s2{background:#abc6ff}
.g-res-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:20px}.g-selected h2{text-align:center;color:#0f47f1}.g-selected-name{display:flex;align-items:center;gap:12px;margin:20px 0}.g-selected-name strong{font-size:17px}.g-definition{display:grid;gap:0;margin:14px 0 22px}.g-definition>div{display:flex;justify-content:space-between;gap:15px;padding:12px 0;border-bottom:1px solid #edf0f7;font-size:15px}.g-definition dt{color:#718096;flex-shrink:0}.g-definition dd{text-align:right;overflow-wrap:anywhere;min-width:0}.g-stack{display:grid;gap:10px}.g-toolbar{display:flex;gap:12px;margin:12px 0}.g-toolbar>input{min-width:0;flex:1}.g-toolbar input,.g-toolbar select{font:inherit;font-size:15px;padding:11px 12px;border:1px solid #dee0ec;border-radius:10px;background:white;color:#293955}.g-secondary{border:1px solid #cbd8f7;border-radius:10px;color:#0f47f1;padding:11px 15px;background:#f8faff;font-size:15px}.g-text{color:#0f47f1;font-size:14px;padding:8px}.g-booking-table{border-collapse:collapse;width:100%;min-width:610px;font-size:14px}.g-booking-table th{padding:14px 10px;background:#fafbfe;font-size:13px;color:#6f7a90;font-weight:400;text-align:left}.g-booking-table td{padding:17px 10px;border-bottom:1px solid #edf1f6}.g-booking-table tbody tr:nth-child(odd){background:#f9fbff}.g-booking-table tr.selected{background:#edf3ff}.g-booking-table td button{text-align:left}.g-booking-table td strong,.g-booking-table td small{display:block}.g-booking-table td small{font-size:13px;color:#76829a;margin-top:6px}.g-booking-table .guest-status{font-size:13px}
.g-registration{padding:24px}.g-steps{display:flex;gap:40px;padding:0 0 28px;margin-bottom:24px;border-bottom:1px solid #edf0f5;font-size:15px;color:#7a8599}.g-steps .current{color:#0f47f1}.g-registration-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(240px,1fr);gap:40px}.g-registration section{margin-bottom:32px}.g-registration section>p{font-size:14px;color:#758197;line-height:1.6;margin:8px 0}.g-registration .form-grid{gap:15px}.g-registration .field{font-size:14px;color:#718096}.g-registration .field input,.g-registration .field select{font-size:15px;min-height:38px;border-radius:10px}.g-registration-side{padding:0 0 0 14px}.g-registration-side section{padding:10px 0 26px}.g-registration-side h3{font-size:21px;margin:20px 0}.g-registration-side button{width:100%}.g-find .g-toolbar{margin-top:16px}.g-result{display:block;width:100%;padding:12px;text-align:left;font-size:15px;color:#0f47f1;background:#f1f5ff;border-bottom:1px solid #dee6f6}.g-result:hover{background:#e4edff}
.g-profile-top{display:grid;grid-template-columns:.9fr 1.15fr 1.2fr;gap:20px}.g-person{text-align:center}.g-person>.guest-avatar{width:110px;height:110px;font-size:38px;background:#e5ecff;margin:0 auto 20px}.g-person>p{font-size:15px;color:#738198}.g-person .g-definition{text-align:left}.g-loyalty{display:grid;gap:20px}.g-loyalty strong{display:block;font-size:25px;margin:20px 0}.g-loyalty progress{width:100%;height:10px;accent-color:#0f47f1}.g-benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.g-benefits>div{background:#f7faff;border-radius:10px;padding:12px;display:flex;flex-direction:column;gap:18px;font-size:13px;line-height:1.5}.g-benefits .icon{width:26px;height:26px}.g-room-banner{min-height:115px;background:#eff5ff;border-radius:12px;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:15px;padding:20px}.g-room-banner>.icon{width:45px;height:45px}.g-room-banner>strong{font-size:25px}.g-profile-bottom{display:grid;grid-template-columns:2.5fr 1fr;gap:20px;margin-top:20px}
dialog:has(.g-modal){width:min(600px,94vw);max-width:600px}.g-modal{font-size:15px;color:#293855}.g-modal>p{margin:12px 0;line-height:1.5}.g-modal .g-definition{margin:16px 0}.g-modal .g-definition>div{padding:8px 0}.g-modal .g-actions{margin-top:22px}.g-modal h2{font-size:18px;margin:14px 0}.g-modal .field{font-size:14px}.g-modal section{margin-bottom:20px}.g-actions{display:flex;gap:12px}.g-actions>*{flex:1}.g-actions .fig-primary{white-space:normal;min-height:40px}.g-room-options{display:grid;gap:12px;max-height:260px;overflow:auto;margin:20px 0}.g-room-options label{padding:16px;background:#f7fafc;border-radius:8px;display:flex;align-items:center;gap:10px}.g-room-options label:has(input:checked){background:#f5fae0}.g-room-options input{accent-color:#0f47f1}.fig-primary:disabled,.g-secondary:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:1250px){.g-res-summary{grid-template-columns:1fr 1fr}.g-res-summary>.g-card:last-child{display:none}.g-profile-top{grid-template-columns:1fr 1fr}.g-profile-top>.g-card:last-child{grid-column:1/-1}.g-res-layout{grid-template-columns:minmax(0,1fr) 250px}}
@media(max-width:760px){.g-res-layout,.g-registration-grid,.g-profile-top,.g-profile-bottom{grid-template-columns:1fr}.g-res-summary{grid-template-columns:1fr}.g-profile-top>.g-card:last-child{grid-column:auto}.g-registration{padding:18px}.g-registration-side{padding:0}.g-steps{gap:14px;font-size:13px}.g-heading{flex-wrap:wrap}.g-selected{order:-1}.g-selected .g-stack{grid-template-columns:1fr 1fr}.g-registration .form-grid{grid-template-columns:1fr}.g-toolbar{flex-wrap:wrap}.g-toolbar input{flex-basis:100%}.g-actions{flex-wrap:wrap}.g-benefits>div{padding:10px}.g-card{padding:16px}}
.guests-page{padding-bottom:18px}.guest-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}.guest-stat{position:relative;min-height:82px;border:1px solid #dee0ec;border-radius:12px;background:#fff;padding:16px;box-shadow:0 5px 10px #081c6908;overflow:hidden}.guest-stat::before{content:"";position:absolute;inset:0 0 auto;height:4px;background:var(--stat)}.guest-stat strong{display:block;color:var(--stat);font-size:28px;line-height:1;font-weight:700}.guest-stat span{display:block;margin-top:9px;color:#7a8498;font-size:14px}.guest-stat.total{--stat:#0f47f1;background:#1648ef}.guest-stat.total strong,.guest-stat.total span{color:#fff}.guest-stat.staying{--stat:#239c51;background:#b8cdfb}.guest-stat.expected{--stat:#d77b0b;background:#e7eefb}.guest-stat.vip{--stat:#7440d7}.guest-panel{background:#fff;border:1px solid #dee0ec;border-radius:14px;min-height:642px;padding:16px;box-shadow:0 5px 10px #081c6908}.guest-panel-head h2{font-size:19px;margin:0 0 14px}.guest-filters{display:grid;grid-template-columns:minmax(235px,1fr) auto auto auto auto;gap:10px;align-items:center}.guest-search{display:flex;align-items:center;gap:8px;border:1px solid #dee0ec;border-radius:10px;padding:10px 12px;min-width:0}.guest-search .icon{width:15px;height:15px;opacity:.65}.guest-search input{border:0;outline:0;background:transparent;font:inherit;font-size:14px;width:100%;min-width:0;color:#14213d}.guest-filters select,.guest-chip{border:1px solid #0f47f1;color:#0f47f1;background:#fff;border-radius:17px;padding:9px 14px;font:inherit;font-size:13px;white-space:nowrap}.guest-filters select{appearance:auto}.guest-chip[aria-pressed=true]{background:#0f47f1;color:#fff}.guest-register{border-radius:17px;padding:10px 18px}.guest-table-wrap{overflow:auto;margin-top:14px}.guest-table{width:100%;min-width:1050px;border-collapse:separate;border-spacing:0 4px;font-size:12px}.guest-table th{text-align:left;color:#657084;font-weight:500;padding:7px 10px;border-top:1px solid #dee0ec;border-bottom:1px solid #dee0ec;white-space:nowrap}.guest-table th:first-child{border-left:1px solid #dee0ec;border-radius:15px 0 0 15px}.guest-table th:last-child{border-right:1px solid #dee0ec;border-radius:0 15px 15px 0}.guest-table td{padding:8px 10px;background:#fff;border-top:1px solid #dee0ec;border-bottom:1px solid #dee0ec;white-space:nowrap;color:#202638}.guest-table td:first-child{display:flex;align-items:center;gap:9px;border-left:1px solid #dee0ec;border-radius:16px 0 0 16px}.guest-table td:last-child{border-right:1px solid #dee0ec;border-radius:0 16px 16px 0}.guest-table tbody tr:hover td{background:#f9fbff}.guest-table td:first-child>span:last-child{display:grid;gap:3px}.guest-table td small{font-size:11px;color:#7f899c}.guest-avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;flex:0 0 auto;background:#e5defd;color:#4f38ca;font-size:13px;font-weight:600}.guest-avatar.tone-1{background:#e2ecff;color:#2159db}.guest-avatar.tone-2{background:#e4f7ee;color:#18805a}.guest-avatar.tone-3{background:#eee8ff;color:#7244df}.guest-level,.guest-status{display:inline-flex;align-items:center;justify-content:center;border-radius:13px;padding:5px 12px;font-size:11px;min-width:56px}.guest-level.l0{background:#edf0f5;color:#667285}.guest-level.l1{background:#e7efff;color:#0f47f1}.guest-level.l2{background:#fff2d9;color:#b46900}.guest-level.l3{background:#eee4ff;color:#7643dc}.guest-status.s0{background:#e1f8e9;color:#188647}.guest-status.s1{background:#fff1d9;color:#c2770a}.guest-status.s2{background:#edf0f5;color:#687286}.guest-open{background:#0f47f1;color:#fff;border-radius:14px;padding:8px 13px;font-size:12px}.guest-open:hover{background:#093cd3}.guest-demo{color:#99a2b5;font-size:12px;margin:12px 2px}.guest-profile{min-width:min(680px,75vw)}.guest-profile>header{display:flex;align-items:center;gap:15px;border:1px solid #dee0ec;background:#f9fbff;border-radius:14px;padding:16px;margin-bottom:14px}.profile-avatar{width:52px;height:52px;font-size:18px;background:#dfe8ff}.guest-profile header h3{font-size:21px;margin-bottom:7px}.guest-profile header p{font-size:13px;color:#6c778b}.guest-profile header>.guest-status{margin-left:auto}.guest-profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.guest-profile article{border:1px solid #dee0ec;border-radius:13px;padding:15px}.guest-profile h4{font-size:15px;margin-bottom:12px}.guest-profile dl{display:grid;gap:9px}.guest-profile dl div{display:flex;justify-content:space-between;gap:14px;border-bottom:1px solid #eef1f6;padding-bottom:8px;font-size:14px}.guest-profile dl div:last-child{border-bottom:0;padding-bottom:0}.guest-profile dt{color:#778197}.guest-profile dd{text-align:right}.guest-history{margin-top:14px}.guest-history>div{display:flex;align-items:center;gap:14px}.guest-history span{display:grid;gap:4px;margin-right:auto}.guest-history small{color:#778197;font-size:13px}.guest-history b{color:#188647;background:#e1f8e9;border-radius:12px;padding:5px 10px;font-size:12px}.guest-history>div>strong{font-size:15px}.guest-note{margin-top:14px;background:#f9fbff}.guest-note p{font-size:14px;color:#606b80}.guests-page+.dashboard-footer{margin-top:0}
@media(max-width:1200px){.guest-filters{grid-template-columns:minmax(220px,1fr) repeat(3,auto)}.guest-register{grid-column:4}.guest-table{font-size:11px}.guest-table td,.guest-table th{padding-left:7px;padding-right:7px}.guest-level,.guest-status{padding-left:8px;padding-right:8px}}
@media(max-width:850px){.guest-stats{grid-template-columns:repeat(2,1fr)}.guest-filters{grid-template-columns:1fr 1fr}.guest-search{grid-column:1/-1}.guest-register{grid-column:auto}.guest-panel{padding:12px}.guest-profile{min-width:0}.guest-profile-grid{grid-template-columns:1fr}}
@media(max-width:560px){.guest-stats{gap:8px}.guest-stat{min-height:72px;padding:13px}.guest-stat strong{font-size:25px}.guest-filters{grid-template-columns:1fr}.guest-search,.guest-register{grid-column:auto}.guest-filters>*{width:100%}.guest-profile>header{align-items:flex-start;flex-wrap:wrap}.guest-profile header>.guest-status{margin-left:0}.guest-history>div{align-items:flex-start;flex-wrap:wrap}}

/* Guests master/detail catalogue aligned with Rooms → Buildings & Floors. */
.g-profile-list-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:20px;align-items:start}
.g-profile-list-layout .guest-panel{min-height:642px}
.guest-table.g-profile-list{min-width:0;font-size:13px}
.guest-table.g-profile-list th,.guest-table.g-profile-list td{padding:10px 12px}
.guest-table.g-profile-list tbody tr{cursor:pointer;outline:none}
.guest-table.g-profile-list tbody tr.selected td,.guest-table.g-profile-list tbody tr:focus td{background:#edf3ff;border-color:#cbd8f7}
.guest-table.g-profile-list td:first-child{min-width:220px}
.g-profile-detail{position:sticky;top:14px;max-height:calc(100vh - 120px);overflow:auto}
.g-profile-detail-head{display:flex;align-items:center;gap:12px;padding-bottom:14px;border-bottom:1px solid #edf1f6}
.g-profile-detail-head .guest-avatar{width:44px;height:44px;font-size:15px}
.g-profile-detail-head h2{font-size:19px;margin:0 0 4px;color:#14213d}
.g-profile-detail-head p{margin:0;color:#7a8599;font-size:13px}
.g-profile-badges{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}
.g-profile-meta{margin:0 0 16px;padding:12px;border-radius:10px;background:#f8faff}
.g-profile-meta p{display:grid;gap:5px;margin:0;font-size:14px}
.g-profile-meta small{color:#7a8599;line-height:1.45;overflow-wrap:anywhere}
.g-profile-detail-title{display:flex;align-items:center;justify-content:space-between;margin:18px 0 8px}
.g-profile-detail-title h3{font-size:15px;margin:0;color:#263958}
.g-profile-detail-title span{font-size:13px;color:#748197}
.g-profile-stays{display:grid;gap:8px;margin-bottom:16px}
.g-profile-stay{display:flex;align-items:center;gap:10px;padding:10px;border:1px solid #e8edf5;border-radius:10px;background:#fff}
.g-profile-stay span{display:grid;gap:4px;min-width:0;margin-right:auto}
.g-profile-stay strong{font-size:13px}
.g-profile-stay small{font-size:12px;color:#7a8599;overflow-wrap:anywhere}
.g-profile-stay b{font-size:13px;white-space:nowrap;color:#17376f}
.g-selected-name>div{display:grid;gap:4px}
.g-selected-name small{font-size:12px;color:#7a8599}
.g-booking-table tbody tr[role="button"]{cursor:pointer;outline:none}
.g-booking-table tbody tr[role="button"]:focus{background:#edf3ff}
@media(max-width:1150px){.g-profile-list-layout{grid-template-columns:minmax(0,1fr) 300px}.g-profile-detail{position:static;max-height:none}}
@media(max-width:900px){.g-profile-list-layout{grid-template-columns:1fr}.g-profile-detail{order:-1}.guest-table.g-profile-list td:first-child{min-width:0}}


/* Desktop Guests workbench: keep navigation and detail rails visible while only the central list scrolls. */
@media(min-width:901px){
  .g-profile-list-layout{
    height:max(430px,calc(100dvh - 235px));
    max-height:calc(100dvh - 205px);
    align-items:stretch;
    overflow:hidden;
  }
  .g-profile-list-layout .guest-panel{
    min-height:0;
    height:100%;
    display:flex;
    flex-direction:column;
    overflow:hidden;
  }
  .g-profile-list-layout .guest-panel-head{
    flex:0 0 auto;
  }
  .g-profile-list-layout .guest-table-wrap{
    flex:1 1 auto;
    min-height:0;
    overflow:auto;
    overscroll-behavior:contain;
    scrollbar-gutter:stable;
  }
  .g-profile-list-layout .guest-table thead th{
    position:sticky;
    top:0;
    z-index:3;
    background:#fafbfe;
  }
  .g-profile-detail{
    position:sticky;
    top:0;
    height:100%;
    max-height:none;
    overflow:auto;
    overscroll-behavior:contain;
    scrollbar-gutter:stable;
  }

  .g-res-layout{
    height:max(330px,calc(100dvh - 390px));
    max-height:calc(100dvh - 330px);
    align-items:stretch;
    overflow:hidden;
  }
  .g-res-table{
    height:100%;
    min-height:0;
    display:flex;
    flex-direction:column;
    overflow:hidden;
  }
  .g-res-table>.g-heading,
  .g-res-table>.g-toolbar{
    flex:0 0 auto;
  }
  .g-res-table>.guest-table-wrap{
    flex:1 1 auto;
    min-height:0;
    overflow:auto;
    overscroll-behavior:contain;
    scrollbar-gutter:stable;
  }
  .g-res-table .g-booking-table thead th{
    position:sticky;
    top:0;
    z-index:3;
    background:#fafbfe;
  }
  .g-selected{
    position:sticky;
    top:0;
    height:100%;
    max-height:none;
    overflow:auto;
    overscroll-behavior:contain;
    scrollbar-gutter:stable;
  }
}
@media(min-width:901px) and (max-height:760px){
  .g-profile-list-layout{
    height:max(390px,calc(100dvh - 220px));
    max-height:none;
  }
  .g-res-layout{
    height:max(300px,calc(100dvh - 365px));
    max-height:none;
  }
}


/* Compact Guests desktop composition: shared KPIs, wider detail rail, minimal page-level scrolling. */
.g-kpi-strip{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0 0 10px;
}
.g-kpi-strip.guest-stats{margin-bottom:10px}
.g-kpi-strip>.g-card{
  min-height:62px;
  padding:10px 14px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  border-radius:12px;
}
.g-kpi-strip strong{
  display:block;
  font-size:24px;
  line-height:1;
  color:#112448;
  font-weight:700;
}
.g-kpi-strip span{
  display:block;
  color:#758197;
  font-size:13px;
  line-height:1.25;
  overflow-wrap:anywhere;
}

.g-res-summary{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:10px;
  margin-bottom:10px;
}
.g-res-summary>.g-kpi-strip{
  grid-column:1/-1;
  margin:0;
}
.g-res-summary>.g-card{
  min-height:0;
  height:108px;
  padding:10px 14px;
}
.g-res-summary>.g-card h2{
  font-size:15px;
  margin:0 0 4px;
}
.g-bars{
  height:72px;
  margin-top:2px;
  padding-bottom:18px;
}
.g-bars b{
  width:12px;
  max-height:48px;
}
.g-bars small{bottom:-16px;font-size:11px}
.g-bars span{top:-12px;font-size:11px}
.g-popular{
  min-height:72px;
  gap:12px;
}
.g-ring{
  width:72px;
  height:72px;
  border-width:10px;
}
.g-ring strong{font-size:19px}
.g-popular p{
  margin:7px 0;
  font-size:12px;
}

@media(min-width:901px){
  .g-profile-list-layout,
  .g-res-layout{
    grid-template-columns:minmax(0,1fr) clamp(360px,36vw,500px);
    gap:14px;
  }
  .g-profile-list-layout{
    height:calc(100dvh - 210px);
    min-height:430px;
    max-height:none;
  }
  .g-res-layout{
    height:calc(100dvh - 340px);
    min-height:330px;
    max-height:none;
  }
  .g-profile-detail,
  .g-selected{
    padding:16px;
  }
  .g-profile-detail .g-definition,
  .g-selected .g-definition{
    margin:10px 0 14px;
  }
  .g-profile-detail .g-definition>div,
  .g-selected .g-definition>div{
    display:grid;
    grid-template-columns:minmax(100px,.8fr) minmax(0,1.6fr);
    gap:14px;
    padding:8px 0;
    font-size:14px;
  }
  .g-profile-detail .g-definition dd,
  .g-selected .g-definition dd{
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .g-profile-detail-head{padding-bottom:10px}
  .g-profile-badges{margin:10px 0}
  .g-profile-meta{margin-bottom:10px;padding:9px 10px}
  .g-profile-detail-title{margin:12px 0 7px}
  .g-profile-stays{gap:6px;margin-bottom:10px}
  .g-profile-stay{padding:8px 9px}
  .g-selected-name{margin:12px 0}
  .g-selected .g-stack,
  .g-profile-detail .g-stack{gap:7px}
  .g-selected .fig-primary,
  .g-selected .g-secondary,
  .g-profile-detail .fig-primary,
  .g-profile-detail .g-secondary{
    padding-top:9px;
    padding-bottom:9px;
  }
}
@media(min-width:901px) and (max-width:1150px){
  .g-profile-list-layout,
  .g-res-layout{
    grid-template-columns:minmax(0,1fr) minmax(340px,42%);
  }
}
@media(min-width:901px) and (max-height:760px){
  .g-profile-list-layout{height:calc(100dvh - 198px);min-height:400px}
  .g-res-layout{height:calc(100dvh - 324px);min-height:305px}
  .g-res-summary>.g-card{height:98px}
  .g-bars{height:64px}
  .g-popular{min-height:62px}
}
@media(max-width:900px){
  .g-kpi-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
  .g-res-summary{grid-template-columns:1fr}
  .g-res-summary>.g-kpi-strip{grid-column:auto}
}


/* Guests viewport shell: header + fluid content + footer, with no page-level scrolling on desktop. */
@media(min-width:901px){
  .guests-workspace{
    height:100dvh;
    min-height:0;
    display:grid;
    grid-template-rows:auto minmax(0,1fr) auto;
    overflow:hidden;
  }
  .figma-section .guests-workspace .dashboard-header{
    margin-bottom:0;
  }
  .guests-workspace>.guests-page{
    min-height:0;
    height:100%;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    padding-top:10px;
    padding-bottom:8px;
  }
  .guests-workspace .g-kpi-strip{
    flex:0 0 auto;
    grid-template-columns:repeat(4,minmax(0,1fr));
    margin-bottom:8px;
  }
  .guests-workspace .g-kpi-strip>.g-card{
    min-height:58px;
    height:58px;
    padding:9px 13px;
  }
  .guests-workspace .g-kpi-strip strong{font-size:23px}
  .guests-workspace .g-res-summary{
    flex:0 0 auto;
    margin-bottom:8px;
  }
  .guests-workspace .g-res-summary>.g-card{
    height:92px;
    padding:9px 12px;
  }
  .guests-workspace .g-bars{height:58px;padding-bottom:15px}
  .guests-workspace .g-popular{min-height:56px}
  .guests-workspace .g-ring{width:60px;height:60px;border-width:8px}
  .guests-workspace .g-profile-list-layout,
  .guests-workspace .g-res-layout{
    flex:1 1 auto;
    height:auto;
    min-height:0;
    max-height:none;
    margin:0;
  }
  .guests-workspace .guest-panel,
  .guests-workspace .g-res-table,
  .guests-workspace .g-profile-detail,
  .guests-workspace .g-selected{
    min-height:0;
    height:100%;
  }
  .guests-workspace .guest-demo{display:none}
  .guests-workspace>.dashboard-footer{
    padding:8px 18px;
    min-height:34px;
  }
}
@media(min-width:701px) and (max-width:900px){
  .g-kpi-strip{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:700px){
  .g-kpi-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
}


/* Reservations: five compact KPI cards in one desktop row. */
.g-res-summary.g-res-kpi-strip{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:8px;
  margin:0 0 8px;
}
.g-res-summary.g-res-kpi-strip>.g-card{
  display:flex;
  min-width:0;
  height:78px;
  min-height:78px;
  padding:9px 11px;
  border-radius:12px;
  overflow:hidden;
}
.g-res-kpi{
  flex-direction:column;
  justify-content:center;
  gap:5px;
}
.g-res-kpi>strong,
.g-res-kpi-copy>strong{
  display:block;
  font-size:23px;
  line-height:1;
  color:#112448;
  font-weight:700;
  white-space:nowrap;
}
.g-res-kpi>span,
.g-res-kpi-copy>span{
  display:block;
  color:#758197;
  font-size:12px;
  line-height:1.2;
  min-width:0;
  overflow-wrap:anywhere;
}
.g-res-trend-kpi,
.g-res-popular-kpi{
  display:grid!important;
  grid-template-columns:minmax(54px,.72fr) minmax(0,1.28fr);
  gap:8px;
  align-items:center;
}
.g-res-kpi-copy{min-width:0}
.g-spark-bars{
  height:44px;
  min-width:0;
  display:flex;
  align-items:flex-end;
  gap:3px;
  padding:2px 0;
  border-bottom:1px solid #e8edf6;
}
.g-spark-bars>i{
  flex:1 1 0;
  min-width:3px;
  height:100%;
  display:flex;
  align-items:flex-end;
}
.g-spark-bars b{
  display:block;
  width:100%;
  height:var(--spark);
  min-height:4px;
  border-radius:2px 2px 0 0;
  background:#0f47f1;
}
.g-room-mini-list{
  min-width:0;
  display:grid;
  gap:3px;
}
.g-room-mini-list>div{
  min-width:0;
  display:grid;
  grid-template-columns:34px minmax(18px,1fr) 14px;
  align-items:center;
  gap:4px;
  height:9px;
}
.g-room-mini-list small{
  font-size:10px;
  line-height:1;
  color:#5f6e88;
  white-space:nowrap;
}
.g-room-mini-list i{
  height:4px;
  background:#edf2fa;
  border-radius:4px;
  overflow:hidden;
}
.g-room-mini-list i>b{
  display:block;
  height:100%;
  background:#0f47f1;
  border-radius:4px;
}
.g-room-mini-list em{
  font-style:normal;
  font-size:10px;
  line-height:1;
  color:#263958;
  text-align:right;
}
@media(min-width:901px){
  .guests-workspace .g-kpi-strip>.g-card,
  .guests-workspace .g-res-summary.g-res-kpi-strip>.g-card{
    height:78px;
    min-height:78px;
    padding:9px 11px;
  }
  .guests-workspace .g-res-summary.g-res-kpi-strip{
    grid-template-columns:repeat(5,minmax(0,1fr));
    margin-bottom:8px;
  }
}
@media(min-width:901px) and (max-width:1120px){
  .g-res-trend-kpi,
  .g-res-popular-kpi{
    grid-template-columns:minmax(46px,.65fr) minmax(0,1.35fr);
    gap:5px;
  }
  .g-res-kpi>strong,
  .g-res-kpi-copy>strong{font-size:21px}
  .g-res-kpi>span,
  .g-res-kpi-copy>span{font-size:11px}
  .g-room-mini-list>div{grid-template-columns:30px minmax(14px,1fr) 12px;gap:3px}
}
@media(max-width:900px){
  .g-res-summary.g-res-kpi-strip{grid-template-columns:repeat(3,minmax(0,1fr))}
  .g-res-summary.g-res-kpi-strip>.g-card:last-child{display:grid}
}
@media(max-width:650px){
  .g-res-summary.g-res-kpi-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
}


/* Interactive Reservations KPI row. */
.g-res-summary.g-res-kpi-strip{
  grid-template-columns:
    minmax(86px,.76fr)
    minmax(86px,.76fr)
    minmax(86px,.76fr)
    minmax(86px,.76fr)
    minmax(150px,1.28fr)
    minmax(165px,1.48fr);
}
.g-res-kpi{
  border:1px solid #dce3ef;
  background:#fff;
  text-align:left;
  font:inherit;
  color:inherit;
  cursor:pointer;
  appearance:none;
  -webkit-appearance:none;
  transition:border-color .15s ease,box-shadow .15s ease,background .15s ease,transform .15s ease;
}
.g-res-kpi:hover{
  border-color:#b8c9f4;
  box-shadow:0 5px 16px rgba(15,71,241,.07);
}
.g-res-kpi:focus-visible{
  outline:2px solid #0f47f1;
  outline-offset:2px;
}
.g-filter-kpi.active{
  border-color:#0f47f1;
  background:#f4f7ff;
  box-shadow:inset 0 0 0 1px rgba(15,71,241,.08);
}
.g-filter-kpi.active strong{color:#0f47f1}
.g-res-trend-kpi{
  grid-template-columns:minmax(70px,.72fr) minmax(0,1.6fr)!important;
}
.g-res-popular-kpi{
  grid-template-columns:minmax(74px,.7fr) minmax(0,1.55fr)!important;
}
.g-res-trend-kpi .g-res-kpi-copy span,
.g-res-popular-kpi .g-res-kpi-copy span{
  font-size:12px;
  font-weight:600;
  color:#263958;
}
.g-spark-labeled{
  height:48px;
  padding:2px 0 11px;
  overflow:visible;
}
.g-spark-labeled>i{
  position:relative;
  min-width:5px;
}
.g-spark-labeled>i>small{
  position:absolute;
  left:50%;
  bottom:-11px;
  transform:translateX(-50%);
  max-width:30px;
  font-size:10px;
  line-height:1;
  color:#7c879b;
  white-space:nowrap;
  text-transform:lowercase;
}
.g-category-mini-list>div{
  grid-template-columns:minmax(46px,.9fr) minmax(18px,1fr) 13px;
  height:12px;
}
.g-category-mini-list small{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:10px;
}

/* Detailed Reservations analytics dialogs. */
dialog:has(.g-analytics-modal){
  width:min(940px,94vw);
  max-width:940px;
}
.g-analytics-modal{
  max-height:min(72vh,720px);
  overflow:auto;
  padding-right:3px;
}
.g-analytics-periods{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  margin:0 0 14px;
}
.g-analytics-periods button{
  border:1px solid #dce3ef;
  background:#fff;
  border-radius:9px;
  min-height:32px;
  padding:6px 12px;
  font:inherit;
  font-size:13px;
  color:#506078;
  cursor:pointer;
}
.g-analytics-periods button.active{
  border-color:#0f47f1;
  color:#0f47f1;
  background:#f3f7ff;
  font-weight:600;
}
.g-analytics-totals{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
  margin-bottom:12px;
}
.g-analytics-totals>span{
  display:flex;
  flex-direction:column;
  gap:4px;
  padding:9px 10px;
  border:1px solid #e2e8f2;
  border-radius:10px;
  background:#fafbfe;
  color:#748197;
  font-size:12px;
}
.g-analytics-totals strong{
  color:#122448;
  font-size:21px;
  line-height:1;
}
.g-analytics-legend{
  display:flex;
  gap:14px;
  justify-content:flex-end;
  margin:0 0 8px;
  color:#67748b;
  font-size:12px;
}
.g-analytics-legend span{
  display:flex;
  align-items:center;
  gap:5px;
}
.g-analytics-legend span:before{
  content:'';
  width:7px;
  height:7px;
  border-radius:2px;
  background:#0f47f1;
}
.g-analytics-legend .s1:before{background:#f2c94c}
.g-analytics-legend .s2:before{background:#9eb1cf}
.g-analytics-chart{
  height:205px;
  display:flex;
  align-items:flex-end;
  gap:7px;
  padding:22px 8px 26px;
  border:1px solid #e4e9f2;
  border-radius:12px;
  background:#fbfcff;
  margin-bottom:12px;
}
.g-analytics-bar{
  flex:1 1 0;
  min-width:18px;
  height:100%;
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  align-items:center;
}
.g-analytics-bar>em{
  position:absolute;
  top:-16px;
  font-style:normal;
  font-size:11px;
  color:#42526d;
}
.g-analytics-bar>div{
  width:min(24px,75%);
  min-height:7px;
  display:flex;
  flex-direction:column-reverse;
  overflow:hidden;
  border-radius:4px 4px 1px 1px;
  background:#edf1f7;
}
.g-analytics-bar>div>i{
  display:block;
  width:100%;
  min-height:0;
}
.g-analytics-bar>div>.s0{background:#0f47f1}
.g-analytics-bar>div>.s1{background:#f2c94c}
.g-analytics-bar>div>.s2{background:#9eb1cf}
.g-analytics-bar>small{
  position:absolute;
  bottom:-20px;
  max-width:68px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#77839a;
  font-size:11px;
}
.g-analytics-table-wrap{
  overflow:auto;
  border:1px solid #e5eaf2;
  border-radius:10px;
}
.g-analytics-table{
  width:100%;
  border-collapse:collapse;
  min-width:560px;
  font-size:12px;
}
.g-analytics-table th,
.g-analytics-table td{
  padding:8px 10px;
  border-bottom:1px solid #edf1f6;
  text-align:left;
  white-space:nowrap;
}
.g-analytics-table th{
  position:sticky;
  top:0;
  background:#f8faff;
  color:#65738b;
  font-weight:600;
}
.g-analytics-table td{color:#263958}
.g-analytics-table tbody tr:last-child td{border-bottom:0}
.g-analytics-note{
  margin:0 0 10px!important;
  color:#68758b;
}
.g-category-chart{
  display:grid;
  gap:7px;
  padding:12px;
  margin-bottom:12px;
  border:1px solid #e4e9f2;
  border-radius:12px;
  background:#fbfcff;
}
.g-category-chart>div{
  display:grid;
  grid-template-columns:minmax(120px,1.1fr) minmax(180px,2.2fr) 36px 38px;
  align-items:center;
  gap:9px;
  min-width:0;
}
.g-category-chart span{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#33435f;
  font-size:12px;
}
.g-category-chart i{
  height:8px;
  background:#eaf0f8;
  border-radius:8px;
  overflow:hidden;
}
.g-category-chart i>b{
  display:block;
  height:100%;
  background:#0f47f1;
  border-radius:8px;
}
.g-category-chart strong{
  font-size:12px;
  color:#1e3153;
  text-align:right;
}
.g-category-chart em{
  font-size:11px;
  color:#7b879b;
  font-style:normal;
  text-align:right;
}
@media(min-width:901px) and (max-width:1120px){
  .g-res-summary.g-res-kpi-strip{
    grid-template-columns:
      minmax(74px,.7fr)
      minmax(74px,.7fr)
      minmax(74px,.7fr)
      minmax(74px,.7fr)
      minmax(128px,1.25fr)
      minmax(142px,1.42fr);
    gap:6px;
  }
  .g-res-summary.g-res-kpi-strip>.g-card{padding:8px}
  .g-res-trend-kpi{grid-template-columns:58px minmax(0,1fr)!important}
  .g-res-popular-kpi{grid-template-columns:64px minmax(0,1fr)!important}
  .g-spark-labeled>i>small{font-size:10px}
}
@media(max-width:900px){
  .g-res-summary.g-res-kpi-strip{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:650px){
  .g-res-summary.g-res-kpi-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
  .g-analytics-totals{grid-template-columns:repeat(2,minmax(0,1fr))}
  .g-category-chart>div{grid-template-columns:minmax(90px,1fr) minmax(90px,1.5fr) 30px 32px}
}


/* Final desktop override: six Reservations KPI cards must occupy one row. */
@media(min-width:901px){
  .guests-workspace .g-res-summary.g-res-kpi-strip{
    grid-template-columns:
      minmax(86px,.76fr)
      minmax(86px,.76fr)
      minmax(86px,.76fr)
      minmax(86px,.76fr)
      minmax(150px,1.28fr)
      minmax(165px,1.48fr);
    gap:8px;
  }
  .guests-workspace .g-res-summary.g-res-kpi-strip>.g-card:last-child{
    display:grid;
  }
}
@media(min-width:901px) and (max-width:1120px){
  .guests-workspace .g-res-summary.g-res-kpi-strip{
    grid-template-columns:
      minmax(70px,.68fr)
      minmax(70px,.68fr)
      minmax(70px,.68fr)
      minmax(70px,.68fr)
      minmax(124px,1.2fr)
      minmax(138px,1.36fr);
    gap:5px;
  }
}


/* Guest Profiles: interactive status KPIs + guest-country analytics. */
.g-profile-kpi-strip{
  grid-template-columns:
    minmax(92px,.78fr)
    minmax(92px,.78fr)
    minmax(92px,.78fr)
    minmax(92px,.78fr)
    minmax(190px,1.55fr);
  gap:8px;
}
.g-profile-kpi{
  border:1px solid #dce3ef;
  background:#fff;
  text-align:left;
  font:inherit;
  color:inherit;
  cursor:pointer;
  appearance:none;
  -webkit-appearance:none;
  min-width:0;
  transition:border-color .15s ease,box-shadow .15s ease,background .15s ease;
}
.g-profile-kpi:hover{
  border-color:#b8c9f4;
  box-shadow:0 5px 16px rgba(15,71,241,.07);
}
.g-profile-kpi:focus-visible{
  outline:2px solid #0f47f1;
  outline-offset:2px;
}
.g-profile-kpi.active{
  border-color:#0f47f1;
  background:#f4f7ff;
  box-shadow:inset 0 0 0 1px rgba(15,71,241,.08);
}
.g-profile-kpi.active strong{color:#0f47f1}
.g-country-kpi{
  display:grid!important;
  grid-template-columns:minmax(76px,.7fr) minmax(0,1.55fr);
  gap:8px;
  align-items:center;
}
.g-profile-kpi-copy{
  min-width:0;
}
.g-profile-kpi-copy strong{
  display:block;
  font-size:23px;
  line-height:1;
  color:#112448;
}
.g-profile-kpi-copy span{
  display:block;
  margin-top:5px;
  color:#263958;
  font-size:12px;
  font-weight:600;
  line-height:1.2;
}
.g-country-mini-list{
  min-width:0;
  display:grid;
  gap:4px;
}
.g-country-mini-list>div{
  min-width:0;
  display:grid;
  grid-template-columns:minmax(44px,.9fr) minmax(18px,1fr) 14px;
  align-items:center;
  gap:4px;
  height:12px;
}
.g-country-mini-list small{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:10px;
  color:#5f6e88;
}
.g-country-mini-list i{
  height:4px;
  background:#edf2fa;
  border-radius:4px;
  overflow:hidden;
}
.g-country-mini-list i>b{
  display:block;
  height:100%;
  background:#0f47f1;
  border-radius:4px;
}
.g-country-mini-list em{
  font-style:normal;
  font-size:10px;
  color:#263958;
  text-align:right;
}

/* Country filter stays compact without breaking the two-column Profiles workspace. */
.guest-filters{
  grid-template-columns:minmax(180px,1fr) auto auto minmax(112px,150px) auto auto;
}
#guest-country{
  max-width:150px;
  min-width:112px;
  text-overflow:ellipsis;
}

/* Guest-country drill-down. */
dialog:has(.g-country-analytics){
  width:min(860px,94vw);
  max-width:860px;
}
.g-country-summary{
  display:flex;
  align-items:stretch;
  gap:8px;
  margin-bottom:12px;
}
.g-country-summary>button,
.g-country-summary>span{
  min-width:130px;
  border:1px solid #e1e7f0;
  border-radius:10px;
  background:#fafbfe;
  padding:10px 12px;
  display:flex;
  flex-direction:column;
  gap:4px;
  text-align:left;
  color:#66748b;
}
.g-country-summary>button{
  font:inherit;
  cursor:pointer;
}
.g-country-summary>button.active{
  border-color:#0f47f1;
  background:#f3f7ff;
}
.g-country-summary strong{
  color:#112448;
  font-size:21px;
  line-height:1;
}
.g-country-summary span,
.g-country-summary small{
  font-size:12px;
}
.g-country-chart{
  display:grid;
  gap:6px;
  padding:12px;
  margin-bottom:12px;
  border:1px solid #e4e9f2;
  border-radius:12px;
  background:#fbfcff;
  max-height:300px;
  overflow:auto;
}
.g-country-chart>button{
  display:grid;
  grid-template-columns:minmax(130px,1.15fr) minmax(160px,2fr) 36px 38px;
  align-items:center;
  gap:9px;
  width:100%;
  min-height:28px;
  padding:4px 6px;
  border:1px solid transparent;
  border-radius:8px;
  background:transparent;
  color:inherit;
  font:inherit;
  cursor:pointer;
  text-align:left;
}
.g-country-chart>button:hover{
  background:#f4f7fd;
}
.g-country-chart>button.active{
  border-color:#0f47f1;
  background:#f3f7ff;
}
.g-country-chart span{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#33435f;
  font-size:12px;
}
.g-country-chart i{
  height:7px;
  background:#eaf0f8;
  border-radius:8px;
  overflow:hidden;
}
.g-country-chart i>b{
  display:block;
  height:100%;
  background:#0f47f1;
  border-radius:8px;
}
.g-country-chart strong{
  font-size:12px;
  color:#1e3153;
  text-align:right;
}
.g-country-chart em{
  font-size:11px;
  color:#7b879b;
  font-style:normal;
  text-align:right;
}
@media(min-width:901px){
  .guests-workspace .g-profile-kpi-strip{
    grid-template-columns:
      minmax(82px,.72fr)
      minmax(82px,.72fr)
      minmax(82px,.72fr)
      minmax(82px,.72fr)
      minmax(178px,1.5fr);
    gap:7px;
  }
  .guests-workspace .g-profile-kpi-strip>.g-card{
    height:78px;
    min-height:78px;
    padding:9px 11px;
  }
}
@media(min-width:901px) and (max-width:1180px){
  .guests-workspace .g-profile-kpi-strip{
    grid-template-columns:
      minmax(70px,.67fr)
      minmax(70px,.67fr)
      minmax(70px,.67fr)
      minmax(70px,.67fr)
      minmax(150px,1.42fr);
    gap:5px;
  }
  .g-country-kpi{
    grid-template-columns:58px minmax(0,1fr);
    gap:5px;
  }
  .guest-filters{
    grid-template-columns:minmax(150px,1fr) auto auto minmax(105px,125px) auto;
  }
  .guest-register{
    grid-column:auto;
  }
  .guest-chip{
    display:none;
  }
}
@media(max-width:900px){
  .g-profile-kpi-strip{grid-template-columns:repeat(3,minmax(0,1fr))}
  .g-country-kpi{grid-column:span 2}
}
@media(max-width:650px){
  .g-profile-kpi-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
  .g-country-kpi{grid-column:1/-1}
  .g-country-summary{flex-wrap:wrap}
  .g-country-chart>button{grid-template-columns:minmax(90px,1fr) minmax(80px,1.4fr) 28px 30px}
}

@media(min-width:901px) and (max-width:1180px){
  .guest-filters{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
  }
  .guest-search{flex:1 1 180px}
  .guest-filters select,
  .guest-chip,
  .guest-register{flex:0 0 auto}
  .guest-chip{display:inline-flex}
}


/* Cross-module master/detail alignment: Guests uses the same detail-rail proportion as Rooms. */
@media(min-width:901px){
  .guests-workspace .g-profile-list-layout,
  .guests-workspace .g-res-layout{
    grid-template-columns:minmax(0,1.7fr) minmax(310px,1fr);
    gap:14px;
  }

  /* Guest Profiles table now follows the Reservations table visual language. */
  .guest-table.g-profile-list{
    width:100%;
    min-width:0;
    border-collapse:collapse;
    border-spacing:0;
    font-size:14px;
  }
  .guest-table.g-profile-list th{
    padding:14px 10px;
    background:#fafbfe;
    color:#6f7a90;
    font-size:13px;
    font-weight:400;
    text-align:left;
    border:0;
    border-bottom:1px solid #edf1f6;
    border-radius:0;
    white-space:nowrap;
  }
  .guest-table.g-profile-list td{
    padding:17px 10px;
    color:#202638;
    background:transparent;
    border:0;
    border-bottom:1px solid #edf1f6;
    border-radius:0;
    white-space:nowrap;
    vertical-align:middle;
  }
  .guest-table.g-profile-list td:first-child{
    display:table-cell;
    min-width:0;
    border-left:0;
    border-radius:0;
  }
  .guest-table.g-profile-list td:last-child{
    border-right:0;
    border-radius:0;
  }
  .guest-table.g-profile-list td strong,
  .guest-table.g-profile-list td small{
    display:block;
  }
  .guest-table.g-profile-list td small{
    margin-top:6px;
    color:#76829a;
    font-size:13px;
  }
  .guest-table.g-profile-list tbody tr:nth-child(odd){
    background:#f9fbff;
  }
  .guest-table.g-profile-list tbody tr:hover{
    background:#f3f7ff;
  }
  .guest-table.g-profile-list tbody tr:hover td{
    background:transparent;
  }
  .guest-table.g-profile-list tbody tr.selected,
  .guest-table.g-profile-list tbody tr:focus{
    background:#edf3ff;
  }
  .guest-table.g-profile-list tbody tr.selected td,
  .guest-table.g-profile-list tbody tr:focus td{
    background:transparent;
    border-color:#dfe7f7;
  }
}
@media(min-width:901px) and (max-width:1150px){
  .guests-workspace .g-profile-list-layout,
  .guests-workspace .g-res-layout{
    grid-template-columns:minmax(0,1.55fr) minmax(300px,1fr);
    gap:12px;
  }
}


/* Match the actual compact Reservations row density inside the viewport shell. */
@media(min-width:901px){
  .guests-workspace .guest-table.g-profile-list td{
    padding:11px 10px;
  }
}

/* Phase 1 UI unification for Guests -> Registration. */
.g-registration{border-color:#dee0ec;border-radius:14px;box-shadow:0 5px 10px #081c6908}.g-registration-grid{gap:20px;align-items:start}.g-registration-grid>div{min-width:0}
.g-registration-side{padding:0;display:grid;gap:12px}.g-registration-side section{margin:0;padding:16px;border:1px solid #dee0ec;border-radius:12px;background:#f9fbff}.g-registration-side h3{margin:14px 0}
.g-registration .field input,.g-registration .field select,.g-find .g-toolbar input{min-height:38px;height:38px;border:1px solid #dee0ec;border-radius:9px;padding:9px 12px;background:#fff;color:#384967;font-size:14px;transition:border-color .15s,box-shadow .15s}
.g-registration .field input:focus,.g-registration .field select:focus,.g-find .g-toolbar input:focus{border-color:#174dff;box-shadow:0 0 0 3px #174dff1f;outline:0}
.g-registration .fig-primary,.g-registration .g-secondary{min-height:38px;border-radius:9px}.g-find{padding:16px;border:1px solid #dee0ec;border-radius:12px;background:#f9fbff}

/* Guest Profiles keeps its approved layout while sharing Room List controls. */
.guest-search,.guest-filters select,.guest-chip,.guest-register{min-height:38px;height:38px;border:1px solid #dee0ec;border-radius:9px;background:#fff;color:#384967;font-size:14px;padding:9px 12px;transition:border-color .15s,box-shadow .15s,background .15s}
.guest-search{padding:0 12px}.guest-search input{font-size:14px}.guest-search:focus-within,.guest-filters select:focus{border-color:#174dff;box-shadow:0 0 0 3px #174dff1f;outline:0}
.guest-chip:hover{border-color:#6c8eff;background:#f8faff}.guest-chip[aria-pressed=true]{border-color:#0f47f1;background:#0f47f1;color:#fff}.guest-register{border-color:#0f47f1;background:#0f47f1;color:#fff}
