:root {
  font-family: 'DM Sans', Arial, sans-serif;
  color: #0b2d26;
  background: #f4f6f3;
  --green: #12372d;
  --green-dark: #0b2d26;
  --gold: #d3a34c;
  --line: #e2e8e1;
  --soft: #71847d;
}
body { background: #f4f6f3; color: #0b2d26; }
button, input, select, textarea { font-family: 'DM Sans', Arial, sans-serif; }
a { color: #1e5a49; }
.icon { width: 19px; height: 19px; flex: none; }
.brand { display: flex; align-items: center; gap: 12px; font-family: 'Playfair Display', Georgia, serif; letter-spacing: 0; font-size: 19px; font-weight: 600; line-height: 1.05; }
.brand small { margin-top: 5px; font: 600 9px/1 'DM Sans', sans-serif; letter-spacing: .24em; opacity: .8; }
.brand-mark { width: 40px; height: 40px; display: grid; place-items: center; flex: none; background: var(--gold); color: #fff; border-radius: 11px; font: 600 18px/1 'Playfair Display', Georgia, serif; }

.login { grid-template-columns: minmax(0, 1fr) minmax(400px, 44%); background: #f7f5ef; }
.hero { background: linear-gradient(90deg, #12372de0, #12372d80), url('/images/hero.jpg') center/cover; padding: 44px 54px; }
.hero:after { display: none; }
.hero .brand { position: relative; z-index: 1; }
.hero-copy { position: relative; z-index: 1; }
.hero-copy .eyebrow { color: #f0c777; margin-bottom: 20px; }
.hero h1 { font-family: 'Playfair Display', Georgia, serif; font-weight: 500; font-size: clamp(44px, 4.4vw, 72px); letter-spacing: -.035em; line-height: 1.08; }
.hero h1 em { color: #efd39a; font-weight: 500; }
.hero p { color: #f5f6f2; }
.hero-link { display: inline-flex; align-items: center; gap: 8px; color: #f2d18b; font-size: 13px; font-weight: 700; text-decoration: none; position: relative; z-index: 1; }
.hero-link:hover { text-decoration: underline; }
.hero-link .icon { width: 16px; }
.login-side { background: #f7f5ef; }
.login-card { background: #fff; border-color: var(--line); box-shadow: 0 20px 60px #12372d14; }
.login-card .eyebrow { margin-bottom: 16px; color: #bd8835; }
.login-card h2 { font-family: 'Playfair Display', Georgia, serif; font-size: 32px; font-weight: 600; letter-spacing: -.02em; }
.login-card .btn .icon { width: 16px; vertical-align: middle; margin-left: 6px; }

.shell { grid-template-columns: 255px minmax(0, 1fr); }
.sidebar { height: 100vh; position: sticky; top: 0; overflow-y: auto; background: var(--green); color: #e9f1eb; padding: 28px 20px 20px; }
.sidebar .brand { padding: 0 8px; margin-bottom: 40px; color: #fff; }
.sidebar nav { gap: 5px; }
.nav-item { display: flex; align-items: center; gap: 13px; width: 100%; min-height: 45px; padding: 11px 16px; color: #b8cbc2; font-size: 14px; font-weight: 500; }
.nav-item .icon { width: 18px; height: 18px; }
.nav-item:hover, .nav-item.active { background: #ffffff1b; color: #fff; }
.nav-item.active { font-weight: 700; }
.sidebar-bottom { padding: 0; border: 0; }
.site-card { background: #ffffff12; border-radius: 15px; padding: 16px; margin-bottom: 20px; }
.site-card strong { font-size: 13px; color: #fff; }
.site-card p { color: #b9c9c2; font-size: 12px; line-height: 1.6; margin: 5px 0 10px; }
.site-card a { color: #e9bd6a; text-decoration: none; font-size: 12px; font-weight: 700; }
.site-card a span { font-size: 18px; margin-left: 8px; vertical-align: -1px; }
.staff-card { display: flex; align-items: center; gap: 10px; border-top: 1px solid #ffffff1a; padding-top: 20px; }
.staff-avatar { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 50%; background: #e9bd6a; color: #12372d; font-size: 11px; font-weight: 800; }
.staff-card strong { display: block; color: #fff; font-size: 13px; }
.staff-card small { display: block; color: #9eb8ac; font-size: 11px; margin-top: 3px; }
.staff-account { position: relative; }
.sidebar .staff-card { width: 100%; margin: 0; padding: 18px 8px 8px; border: 0; border-top: 1px solid #ffffff1a; border-radius: 0 0 10px 10px; background: transparent; color: inherit; text-align: left; }
.sidebar .staff-card:hover, .sidebar .staff-card[aria-expanded="true"] { background: #ffffff0c; }
.staff-copy { flex: 1; min-width: 0; }
.staff-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.staff-chevron { width: 17px; height: 17px; flex: none; color: #b8cbc2; transition: transform .15s ease; }
.staff-card[aria-expanded="true"] .staff-chevron { transform: rotate(180deg); }
.staff-menu { position: absolute; left: 0; right: 0; bottom: calc(100% + 10px); z-index: 40; padding: 7px; border: 1px solid #dfe6e1; border-radius: 13px; background: #fff; box-shadow: 0 12px 35px #071c2340; }
.staff-menu[hidden] { display: none; }
.staff-menu-title { padding: 8px 10px; color: #71847d; font-size: 11px; font-weight: 600; }
.sidebar .staff-menu-item { display: flex; align-items: center; gap: 10px; width: 100%; margin: 0; padding: 11px 10px; border: 0; border-radius: 8px; background: transparent; color: #194638; font-size: 12px; font-weight: 600; text-align: left; }
.staff-menu-item .icon { width: 17px; height: 17px; flex: none; }
.sidebar .staff-menu-item:hover, .sidebar .staff-menu-item:focus-visible { background: #edf3ef; }
.sidebar .staff-menu-logout { margin-top: 4px; border-top: 1px solid #edf0ec; border-radius: 0 0 8px 8px; color: #a44532; }
.sidebar .staff-menu-logout:hover, .sidebar .staff-menu-logout:focus-visible { background: #fff1eb; }
.workspace { background: #f4f6f3; }
.topbar { height: 80px; border-color: #dfe6e1; padding: 0 32px; }
.topbar-title { display: grid; gap: 2px; }
.topbar-title small { color: #7a9288; font-size: 12px; text-transform: capitalize; }
.topbar-title strong { font-size: 19px; font-weight: 700; letter-spacing: -.025em; }
.topbar-tools { display: flex; align-items: center; gap: 12px; }
.global-search { width: 220px; display: flex; align-items: center; gap: 9px; background: #f3f6f3; border-radius: 13px; padding: 0 14px; color: #77978a; }
.global-search .icon { width: 17px; }
.global-search input { border: 0; box-shadow: none; background: transparent; padding: 11px 0; font-size: 12px; }
.global-search input:focus { border: 0; box-shadow: none; }
.global-search input::placeholder { color: #9bab9f; }
.bell-button { position: relative; width: 42px; height: 42px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); border-radius: 13px; color: var(--green); }
.notifications { position: relative; }
.bell-button .notification-count { position: absolute; right: -5px; top: -5px; min-width: 20px; height: 20px; padding: 0 4px; display: grid; place-items: center; background: #a44532; color: #fff; border: 2px solid #fff; border-radius: 99px; font-size: 10px; font-weight: 700; }
.bell-button .notification-count[hidden], .notification-panel[hidden] { display: none; }
.notification-panel { position: absolute; z-index: 60; right: 0; top: calc(100% + 12px); width: min(390px, calc(100vw - 32px)); border: 1px solid #dfe6e1; border-radius: 16px; background: #fff; box-shadow: 0 15px 45px #0b2d2633; overflow: hidden; }
.notification-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 17px; border-bottom: 1px solid #edf0ec; }
.notification-heading h2 { margin: 0; font-size: 17px; }
.notification-heading p { margin: 4px 0 0; font-size: 12px; color: #71847d; }
.notification-panel [data-notification-refresh] { border: 0; border-radius: 8px; background: #edf3ef; color: #194638; font-size: 12px; padding: 9px; }
.notification-panel button:disabled { opacity: .6; cursor: wait; }
#notification-content { max-height: min(420px, 50vh); overflow-y: auto; }
.notification-item { display: flex; align-items: center; width: 100%; gap: 12px; padding: 15px 17px; background: #fff; border: 0; border-bottom: 1px solid #edf0ec; text-align: left; color: #12372d; }
.notification-item:hover, .notification-item:focus-visible { background: #f3f6f2; }
.notification-symbol { display: grid; place-items: center; width: 34px; height: 34px; flex: none; background: #edf3ef; border-radius: 10px; }
.notification-symbol .icon { width: 18px; height: 18px; }
.notification-copy { flex: 1; min-width: 0; }
.topbar .notification-copy strong { display: block; font-size: 13px; letter-spacing: normal; }
.notification-copy small { display: block; margin-top: 5px; color: #71847d; font-size: 11px; line-height: 1.5; }
.notification-item b { color: #194638; background: #edf3ef; border-radius: 99px; padding: 4px 8px; font-size: 12px; }
.notification-item.urgent .notification-symbol, .notification-item.urgent b { background: #fff1eb; color: #a44532; }
.notification-empty, .notification-error { padding: 22px 17px; font-size: 13px; line-height: 1.6; }
.notification-error { color: #a44532; overflow-wrap: anywhere; }
.notification-error button { display: block; margin-top: 10px; }
.notification-updated { margin: 0; padding: 12px 17px; background: #fafbf9; font-size: 10px; color: #71847d; }
.main { max-width: 1600px; padding: 32px; }
.page-head { align-items: center; margin-bottom: 27px; }
.page-head .eyebrow { color: #c18d3d; font-size: 10px; letter-spacing: .18em; }
.page-head h1 { font: 500 31px/1.3 'Playfair Display', Georgia, serif; letter-spacing: -.025em; margin: 5px 0 0; }
.page-head p { color: #71847d; font-size: 13px; }
.dashboard-head { min-height: 60px; }
.dashboard-head p { margin: 0 0 4px; color: #638176; }
.dashboard-head h1 { font-size: 30px; margin: 0; }
.btn { background: #edf2ed; color: #194638; border-radius: 11px; font-weight: 700; }
.btn:hover { filter: brightness(.95); }
.btn.primary { background: var(--green); color: #fff; box-shadow: 0 2px 4px #12372d14; }
.btn.danger { background: #fff1eb; color: #a44532; }
.btn.small { font-size: 12px; }
.badge { background: #edf2ed; color: #4b8057; font-weight: 600; }
.badge.good { background: #eaf5ed; color: #4b8057; }
.badge.warn { background: #fff2dc; color: #b47a21; }
.badge.bad { background: #ffeded; color: #b34a48; }
.muted { color: #71847d; }
label { color: #3d5d51; }
input, select, textarea { border-color: #dbe4dc; color: #0b2d26; }
input:focus, select:focus, textarea:focus { border-color: #5e927d; box-shadow: 0 0 0 3px #5e927d24; }
.toolbar { margin-bottom: 18px; }
.toolbar input, .toolbar select { background: #fff; }
.toolbar.booking-filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 14px; }
.booking-filters label { margin: 0; min-width: 0; }
.toolbar.booking-filters input, .toolbar.booking-filters select { width: 100%; min-width: 0; margin-top: 7px; }
.booking-filter-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.booking-filter-help { grid-column: 1 / -1; margin: 0; color: #71847d; font-size: 12px; line-height: 1.6; }
#booking-filter-error { grid-column: 1 / -1; margin: 0; }
.panel { border-color: var(--line); box-shadow: 0 8px 28px #19362d0a; }
th, td { border-color: #edf0ec; }
th { background: #fafbf9; color: #81928c; font-weight: 700; }
.pager { border-color: #edf0ec; color: #71847d; }
.cards { gap: 16px; margin-bottom: 24px; }
.card { min-height: 158px; padding: 20px; border-color: var(--line); border-radius: 16px; box-shadow: 0 8px 28px #19362d0a; }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.metric-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: #edf3ef; color: #1e5a49; }
.metric-icon.gold { background: #f9edda; color: #c68a2b; }
.card .metric-icon { color: #1e5a49; }
.card .metric-icon.gold { color: #c68a2b; }
.metric-icon .icon { width: 19px; }
.card-top small { background: #f4f6f3; border-radius: 99px; padding: 4px 9px; color: #638176; font-size: 11px; }
.card-label { color: #71847d !important; font-size: 13px; }
.card strong { margin: 4px 0 0; font-size: 25px; letter-spacing: -.04em; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(320px, .95fr); gap: 24px; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 24px; border-bottom: 1px solid #edf0ec; }
.panel-heading h2 { margin: 0; font-size: 16px; font-weight: 700; }
.panel-heading p { margin: 3px 0 0; font-size: 11px; color: #8a9b91; }
.text-link { background: none; border: 0; color: #1e5a49; font-weight: 700; font-size: 12px; }
.text-link:hover { text-decoration: underline; }
.dashboard-table { min-width: 650px; }
.dashboard-table td { height: 72px; }
.dashboard-table td:nth-child(4) { white-space: nowrap; font-weight: 600; }
.guest-name { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.table-avatar { display: grid; place-items: center; width: 37px; height: 37px; flex: none; border-radius: 50%; background: #edf3ef; color: #1e5a49; font-size: 11px; }
.occupancy-panel .panel-heading { border-bottom: 0; }
.donut { display: grid; place-items: center; width: 162px; height: 162px; margin: 28px auto; border-radius: 50%; background: conic-gradient(#1e5a49 0 var(--occupied), #d3a34c var(--occupied) calc(var(--occupied) + var(--maintenance)), #779fbb calc(var(--occupied) + var(--maintenance)) calc(var(--occupied) + var(--maintenance) + var(--cleaning)), #dfe6e1 calc(var(--occupied) + var(--maintenance) + var(--cleaning)) 100%); }
.donut > div { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 116px; height: 116px; border-radius: 50%; background: #fff; }
.donut strong { font-size: 28px; line-height: 1.1; }
.donut small { font-size: 11px; color: #81928c; }
.room-legend { padding: 0 24px 24px; display: grid; gap: 13px; }
.room-legend > div, .room-legend span { display: flex; align-items: center; }
.room-legend > div { justify-content: space-between; gap: 12px; font-size: 12px; }
.room-legend span { color: #71847d; gap: 10px; }
.room-legend strong { font-size: 12px; }
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot.occupied { background: #1e5a49; }
.dot.maintenance { background: #d3a34c; }
.dot.cleaning { background: #779fbb; }
.dot.available { background: #dfe6e1; }
.settings-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 24px; }
.settings-tile { position: relative; text-align: left; min-height: 120px; padding: 23px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 8px 28px #19362d0a; }
.settings-tile strong, .settings-tile span { display: block; }
.settings-tile strong { color: #12372d; font-size: 16px; margin-bottom: 8px; }
.settings-tile span { max-width: 240px; color: #71847d; font-size: 12px; }
.settings-tile b { position: absolute; right: 20px; top: 20px; color: #d3a34c; }
.settings-tile:hover { border-color: #8eb4a2; }
.account-panel { max-width: 560px; }
.account-actions { display: flex; gap: 8px; margin-top: 18px; }
.reports-layout { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.reports-layout > div, .reports-metrics .card { min-width: 0; }
.reports-layout .table-wrap { max-width: 100%; }
.reports-layout .list-row { gap: 12px; }
.reports-layout .list-row > span { min-width: 0; overflow-wrap: anywhere; }
.reports-layout .list-row > strong { max-width: 55%; text-align: right; overflow-wrap: anywhere; }
.reports-metrics .card strong { overflow-wrap: anywhere; }
.section-title { color: #12372d; }
.list-row { border-color: #edf0ec; }
dialog { border: 1px solid var(--line); box-shadow: 0 28px 90px #0b2d2660; }
dialog::backdrop { background: #0b2d2680; }
.modal-head, .modal-foot { border-color: #edf0ec; }
.modal-head h2 { font-family: 'Playfair Display', Georgia, serif; font-size: 23px; }
#toast { background: #12372d; }
#toast.bad { background: #a44532; }
.error { color: #a44532; background: #fff3ed; border-color: #f4d0bd; }
:focus-visible { outline: 3px solid #d3a34c; outline-offset: 2px; }
@media (max-width: 1100px) {
  .dashboard-grid { grid-template-columns: 1fr; }
  .settings-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 950px) {
  .toolbar.booking-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reports-layout { grid-template-columns: minmax(0, 1fr); }
  .shell { grid-template-columns: 210px minmax(0, 1fr); }
  .sidebar { padding: 22px 12px; }
  .sidebar .brand { margin-bottom: 24px; }
  .main { padding: 24px; }
}
@media (max-width: 680px) {
  .toolbar.booking-filters { grid-template-columns: minmax(0, 1fr); }
  #report-form input { flex: 1 1 140px; min-width: 0; max-width: 100%; }
  #report-form .btn { width: 100%; }
  .login { grid-template-columns: 1fr; }
  .hero { min-height: 230px; padding: 26px; }
  .hero h1 { font-size: 32px; }
  .hero-link { display: none; }
  .shell { display: block; }
  .sidebar { position: static; width: 100%; height: auto; overflow: visible; padding: 12px; }
  .sidebar .brand { margin: 0 0 12px; padding: 0 5px; }
  .sidebar nav { display: flex; overflow-x: auto; padding-bottom: 2px; }
  .nav-item { flex: none; width: auto; min-height: 40px; padding: 9px 12px; }
  .nav-item span { white-space: nowrap; }
  .sidebar-bottom { display: block; margin-top: 10px; }
  .sidebar-bottom .site-card { display: none; }
  .sidebar .staff-card { padding: 10px 8px 0; }
  .staff-menu { top: calc(100% + 8px); bottom: auto; }
  .topbar { padding: 0 16px; height: 65px; }
  .global-search { display: none; }
  .main { padding: 20px 14px; }
  .dashboard-head h1 { font-size: 25px; }
  .dashboard-head .btn { font-size: 11px; padding: 9px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .card { min-height: 145px; padding: 14px; }
  .card strong { font-size: 20px; }
  .card-top small { font-size: 9px; }
  .settings-grid { grid-template-columns: 1fr; }
}

.rp-images{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.rp-image{min-width:0;border:1px solid #dfe6e1;border-radius:10px;overflow:hidden}.rp-image img{width:100%;height:120px;object-fit:cover}.rp-image>div{display:flex;align-items:center;justify-content:space-between;gap:5px;flex-wrap:wrap;padding:8px}.rp-image strong{font-size:12px;color:#194638}@media(max-width:420px){.rp-images{grid-template-columns:minmax(0,1fr)}}
