:root{--navy:#0d1b70;--blue:#075bd8;--line:#d4e3fa;--ink:#11265b}*{box-sizing:border-box}body.classic-admin{margin:0;background:#fff;color:var(--ink);font:13px/1.45 Arial,sans-serif}.workspace{display:block;min-height:100vh}.topbar{position:fixed;top:0;left:0;right:0;height:48px;background:var(--navy);color:white;z-index:20;display:flex;align-items:center;justify-content:center;padding:0 18px;border:0}.topbar .classic-brand{position:absolute;left:50%;transform:translateX(-50%);color:white;font-size:18px;font-weight:500;white-space:nowrap}.topbar .classic-brand img,.topbar .global-search,.topbar #sync-status,.topbar #notifications{display:none}.topbar #profile{margin-left:auto;color:white;background:transparent}.topbar #profile .avatar{background:transparent}#navigation{position:fixed;top:48px;bottom:0;left:0;width:160px;background:linear-gradient(#14375f,#072345);padding:12px 10px;overflow:auto;z-index:15;border:0}.sidebar-brand{display:flex;align-items:center;flex-direction:column;color:white;margin-bottom:14px;text-decoration:none;text-align:center;font-size:11px}.sidebar-brand img{width:65px;height:65px;object-fit:cover}.sidebar-brand small{font-size:9px}.nav-link{display:flex;align-items:center;gap:7px;border-radius:7px;padding:10px 7px;font-size:11px;font-weight:700;color:#eaf2ff;margin:3px 0;text-decoration:none}.nav-link svg{width:15px;height:15px;flex:none}.nav-link.active,.nav-link:hover{background:#0772ed;color:white}.partner-card{margin:24px 0 0;border:1px solid #41628d;border-radius:10px;padding:18px 10px;color:white;background:linear-gradient(#0e5194,#082a50);text-align:center;font-size:11px}.partner-card img{width:75px}.partner-card strong{display:block}.partner-card p{font-weight:700}#classic-main{margin-left:160px;padding:65px 18px 40px;min-width:0}#content{max-width:none;padding:0;margin:0;min-height:200px}.app-footer{display:none}.classic-welcome{position:relative;border:1px solid var(--line);border-radius:12px;background:linear-gradient(100deg,#f1f8ff,#e8f5ff 55%,#edf0ed);padding:22px;min-height:145px;box-shadow:0 8px 24px #193f6b0b}.classic-welcome small{font-weight:700;color:#42628b}.classic-welcome h1{font-size:25px;margin:6px 0;font-weight:750;color:var(--navy)}#classic-logout{position:absolute;right:18px;top:18px;font-size:10px}.classic-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.classic-metrics article{display:flex;gap:8px;align-items:flex-start;padding:14px 12px;min-height:110px;background:white;border:1px solid var(--line);border-radius:10px;box-shadow:0 7px 15px #112c5510}.classic-metrics article>b{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;background:#dbeaff;color:#176bdd;font-size:16px}.classic-metrics article:nth-child(2)>b{background:#daf6e9;color:#16a36a}.classic-metrics article:nth-child(3)>b{background:#ece0ff;color:#9d67ee}.classic-metrics article:nth-child(4)>b{background:#ffdee8;color:#f2588d}.classic-metrics small,.classic-metrics strong,.classic-metrics em{display:block;font-style:normal}.classic-metrics small{font-weight:700;font-size:10px}.classic-metrics strong{font-size:21px;color:var(--navy)}.classic-metrics em{color:#10a168;font-size:9px;font-weight:700}.classic-new{background:#fff;border:1px solid var(--line);border-radius:11px;padding:20px;margin-top:14px;box-shadow:0 9px 22px #112c5510}.classic-new>small{color:var(--blue);font-weight:800;font-size:10px}.classic-new h2{font-size:16px;margin:2px 0 20px}.classic-steps{list-style:none;margin:0 0 18px;padding:18px 0 0;border-top:1px solid #e0e7ec;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.classic-steps li{display:flex;align-items:center;gap:5px;padding:13px 8px;border:1px solid var(--line);border-radius:7px;font-size:11px;font-weight:700}.classic-steps b{border-radius:50%;display:grid;place-items:center;width:22px;height:22px;background:#e7f0ff;color:#3c75b9}.classic-steps .active{background:linear-gradient(110deg,#0865df,#0747b9);color:#fff;box-shadow:0 7px 12px #0448a52a}.classic-new h3{font-size:13px;margin:18px 0}.classic-types{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.classic-types button{display:flex;align-items:center;text-align:left;gap:7px;border:1px solid var(--line);border-radius:7px;background:white;padding:11px 9px;color:var(--ink);min-height:52px}.classic-types b{display:grid;place-items:center;background:#eaf2ff;color:#1a73ea;border-radius:6px;width:28px;height:28px;font-size:17px;flex:none}.classic-types small{font-size:10px}.classic-types strong{font-size:11px}.classic-types em{margin-left:auto;font-size:22px;font-style:normal}.classic-types .selected{background:linear-gradient(100deg,#0862da,#0647b5);color:white}.classic-types .selected b{background:#ffffff30;color:white}.classic-new>.actions-right{margin-top:24px}.classic-downloads{display:flex;gap:7px;flex-wrap:wrap;margin:38px 0}.classic-downloads button,.classic-downloads a{font-size:10px;padding:8px 10px}.classic-downloads a:first-child{background:#fff8e9;border-color:#e9bd6b;color:#885412}.classic-search{display:flex;align-items:center;border:1px solid var(--line);border-radius:7px;padding:22px 15px;gap:14px;margin:0 0 12px;min-height:80px}.classic-search strong{font-size:11px;border-right:1px solid #ddd;padding-right:14px}.classic-search input{border:0;box-shadow:none;flex:1;width:100%;font-size:12px}.classic-table-card{border:1px solid var(--line);border-radius:10px;padding:12px;background:white;box-shadow:0 7px 20px #112c5510}.classic-table-actions{display:flex;align-items:center;gap:8px;margin-bottom:8px}.classic-table-actions h2{font-size:14px;margin:0}.table-wrap{width:100%;overflow:auto;border:1px solid var(--line);border-radius:8px;background:white}#content table{border-collapse:collapse;min-width:100%;font-size:11px;text-align:left}#classic-properties{min-width:2500px}#content th{background:#edf4ff;color:#183773;font-size:10px;padding:12px 8px;border:0;white-space:normal}#content td{padding:16px 9px;border-bottom:1px solid #e7eefb;max-width:250px;vertical-align:top}#content tr:last-child td{border-bottom:0}#content td button,#content td a{font-size:10px;padding:6px 9px;white-space:nowrap}#content .page-heading h1{font-size:17px}#content .breadcrumb{display:none}#content .page-heading{margin:18px 0 12px}button,a.secondary,a.primary{cursor:pointer}.primary{background:var(--navy);border-color:var(--navy)}input,select,textarea{border:1px solid #c9dcfa;border-radius:7px;min-height:34px}button{min-height:32px}.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.fields input,.fields select,.fields textarea{width:100%;background:#fff}.field{font-size:12px;font-weight:700}.wide{grid-column:1/-1}.classic-form-section{margin:18px 0}.surface-toolbar{display:flex;gap:8px;flex-wrap:wrap;padding:14px 0}.surface-toolbar input,.surface-toolbar select{flex:1;min-width:140px}.signed-in #classic-overview{display:block}body:not(.signed-in) #classic-overview{display:none}.adding-property #classic-new{display:none}.editing-property:after{content:'';position:fixed;inset:48px 0 0;background:#10263f88;z-index:30}.editing-property #content{position:fixed;z-index:31;top:65px;bottom:18px;left:50%;transform:translateX(-50%);width:min(900px,94vw);overflow:auto;background:white;border:2px solid #0765d5;border-radius:16px;padding:16px;box-shadow:0 16px 55px #112b5b50}.editing-property #content .page-heading{margin:0 0 10px}.editing-property .property-editor-hero{background:linear-gradient(110deg,#0c194b,#1b3c8a);color:white;border-radius:12px;padding:22px;display:flex;align-items:center;justify-content:space-between}.editing-property .property-editor-hero h2{color:white;font-size:29px}.editing-property .property-editor-hero a{background:white;color:var(--navy)}.editing-property .form-surface{padding:0;border:0;box-shadow:none}.editing-property .property-editor-fields{padding:14px 0}.editing-property #dashboard-property-editor>.actions-right{position:sticky;bottom:0;background:#f5f9ff;border:1px solid var(--line);padding:14px;z-index:3}.notice{background:#fff8e8;border:1px solid #efd598;border-radius:10px;padding:12px;font-size:12px}dialog{max-width:min(94vw,600px);border:1px solid var(--line);border-radius:14px;padding:25px}dialog::backdrop{background:#071d4777}.error{color:#ad251b}.classic-form-section .amenities{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.classic-form-section .room{padding:15px;border:1px solid var(--line);border-radius:8px}.classic-form-section .room-heading{display:flex;align-items:center;justify-content:space-between}
@media(min-width:1800px){#navigation{width:190px}#classic-main{margin-left:190px}.classic-welcome{min-height:170px}.classic-metrics article{min-height:135px}.classic-new{padding:24px}.classic-types button{min-height:60px}.classic-downloads{margin:45px 0}.classic-search{min-height:95px}}
@media(max-width:900px){#navigation{width:135px}#classic-main{margin-left:135px;padding:60px 10px 20px}.classic-types{grid-template-columns:repeat(2,minmax(0,1fr))}.classic-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.classic-steps li{font-size:10px;padding:8px 5px}.classic-steps b{width:18px;height:18px;flex:none}.topbar .classic-brand{font-size:14px}}
@media(max-width:600px){.topbar .classic-brand{position:static;transform:none;margin-right:auto}#navigation{position:sticky;top:48px;display:flex;width:100%;height:auto;padding:5px;overflow:auto;white-space:nowrap;gap:4px;background:#12365d}.sidebar-brand,.partner-card{display:none!important}.nav-link{padding:9px;font-size:10px;flex:none}.nav-link svg{width:13px}#classic-main{margin:0;padding:55px 10px 20px}.classic-welcome{min-height:125px;padding:15px}.classic-welcome h1{font-size:20px;padding-right:40px}.classic-welcome small{font-size:10px;display:block;max-width:80%}.classic-new{padding:14px}.classic-steps{grid-template-columns:repeat(2,1fr)}.classic-types{grid-template-columns:1fr}.classic-metrics article{min-height:90px}.classic-downloads{margin:25px 0}.fields{grid-template-columns:1fr}.fields .wide{grid-column:1}.classic-table-actions{flex-wrap:wrap}.editing-property #content{top:55px;padding:10px;width:96vw}.editing-property .property-editor-hero{padding:14px;display:block}.editing-property .property-editor-hero h2{font-size:23px}.classic-form-section .amenities{grid-template-columns:repeat(2,1fr)}#classic-properties{min-width:2300px}.classic-search{padding:15px 10px}.topbar{padding:0 10px}#profile-label{display:none}.classic-table-card{padding:8px}}
body.classic-admin .workspace{margin:0;width:100%;max-width:none;padding:0}body.classic-admin .topbar{left:0}#classic-main{width:auto}#classic-overview .classic-downloads{justify-content:flex-start}#classic-overview .classic-new>.actions-right{justify-content:flex-end}#classic-overview .danger-soft{background:#fff2ed;border:1px solid #ffd4c6;border-radius:7px;color:#a83320;padding:6px 10px}#navigation .sidebar-brand{padding:0;border:0;background:none}#navigation .partner-card{border:1px solid #41628d;background:linear-gradient(#0e5194,#082a50)}
.classic-publish{margin:18px 0;padding:16px;border:1px solid #c9dcfa;border-radius:10px}.classic-publish summary{cursor:pointer;font-weight:700;color:#102c71}.classic-publish label{font-size:12px;font-weight:700}.classic-publish input,.classic-publish select,.classic-publish textarea{width:100%}.classic-publish .publish-check{display:flex;align-items:center;gap:10px;padding:8px 0}.classic-publish .publish-check input{width:16px;min-height:16px;flex:none}.classic-publish button{margin:10px 0}.classic-publish .fields{margin:15px 0}

/* Property List only: preserve a real, horizontally scrollable table at every width. */
#content .property-table-hint {
  margin: 8px 0 12px;
  color: #526583;
  font-size: 13px;
}
#content .property-table-wrapper {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  isolation: isolate;
  border: 1px solid #d4e3fa;
  border-radius: 8px;
}
#content .property-table-wrapper:focus-visible {
  outline: 2px solid #075bd8;
  outline-offset: 3px;
}
#content #classic-properties.property-table {
  display: table;
  width: max-content;
  min-width: 100%;
  max-width: none;
  table-layout: auto;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  color: #11265b;
}
#content #classic-properties thead { display: table-header-group; }
#content #classic-properties tbody { display: table-row-group; }
#content #classic-properties tr {
  display: table-row;
  padding: 0;
  border: 0;
}
#content #classic-properties th,
#content #classic-properties td {
  display: table-cell;
  box-sizing: border-box;
  min-width: 120px;
  max-width: 280px;
  padding: 14px 16px;
  border: 0;
  border-bottom: 1px solid #e5edf9;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
  text-align: left;
  font-size: 13px;
}
#content #classic-properties th {
  background: #edf4ff;
  color: #15366c;
  font-weight: 600;
  line-height: 1.4;
  vertical-align: middle;
  word-break: keep-all;
}
#content #classic-properties td {
  background: #fff;
  line-height: 1.5;
  vertical-align: top;
}
#content #classic-properties td::before { content: none; display: none; }
#content #classic-properties th.short-heading { white-space: nowrap; }
#content #classic-properties .property-select {
  position: sticky;
  left: 0;
  z-index: 3;
  width: 48px;
  min-width: 48px;
  max-width: 48px;
  padding: 14px;
  text-align: center;
}
#content #classic-properties .property-select input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 0;
  vertical-align: middle;
  cursor: pointer;
}
#content #classic-properties .property-id {
  width: 180px;
  min-width: 180px;
  max-width: 180px;
}
#content #classic-properties td.property-id { overflow-wrap: anywhere; }
#content #classic-properties .property-name {
  position: sticky;
  left: 48px;
  z-index: 2;
  width: 250px;
  min-width: 250px;
  max-width: 280px;
  box-shadow: 1px 0 0 #d4e3fa;
}
#content #classic-properties td.property-name { font-weight: 600; }
#content #classic-properties th.property-select { z-index: 6; }
#content #classic-properties th.property-name { z-index: 5; }
#content #classic-properties .property-address {
  width: 300px;
  min-width: 300px;
  max-width: 340px;
}
#content #classic-properties .property-state { min-width: 156px; }
#content #classic-properties .property-promotion { min-width: 180px; }
#content #classic-properties .property-existing { min-width: 155px; }
#content #classic-properties .property-occupancy,
#content #classic-properties .property-category-rates {
  width: 280px;
  min-width: 280px;
  max-width: 320px;
}
#content #classic-properties .property-sale { min-width: 180px; }
#content #classic-properties .property-category-rooms { min-width: 220px; }
#content #classic-properties .property-taxes { min-width: 200px; }
#content #classic-properties .property-final-price { min-width: 240px; }
#content #classic-properties .property-room-size,
#content #classic-properties .property-bed { min-width: 190px; }
#content #classic-properties .property-meals { min-width: 160px; }
#content #classic-properties .property-inventory { min-width: 190px; }
#content #classic-properties .property-number {
  min-width: 135px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
#content #classic-properties .property-action {
  min-width: 135px;
  white-space: nowrap;
  text-align: center;
  vertical-align: middle;
}
#content #classic-properties .property-action a,
#content #classic-properties .property-action button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  min-height: 36px;
  padding: 8px 14px;
  border: 1px solid #d3e0f3;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  word-break: normal;
  text-decoration: none;
}
#content #classic-properties .property-action .danger-soft {
  background: #fff0ed;
  border-color: #f3d0c8;
  color: #a33025;
}
#content #classic-properties .property-status {
  display: inline-block;
  padding: 4px 8px;
  border: 1px solid #d8e1ed;
  border-radius: 5px;
  background: #f0f4fa;
  color: #344868;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}
#content #classic-properties .property-status[data-state="PUBLISHED"] {
  background: #e9f8ee;
  border-color: #c8e9d3;
  color: #18663b;
}
#content #classic-properties .property-status[data-state="UNPUBLISHED"],
#content #classic-properties .property-status[data-state="DRAFT"] {
  background: #fff7e7;
  border-color: #efddb3;
  color: #805a0c;
}
#content #classic-properties tbody tr:hover td { background: #f3f8ff; }
#content #classic-properties tbody tr:last-child td { border-bottom: 0; }
@media (prefers-reduced-motion: reduce) {
  #content .property-table-wrapper { scroll-behavior: auto; }
}
/* On phones, reserve the frozen area for selection so data columns remain readable. */
@media (max-width: 600px) {
  #content #classic-properties .property-name {
    position: static;
    z-index: auto;
    box-shadow: none;
  }
}
#content #classic-properties .property-status { font-size: 13px; }
#content .property-list-card .classic-table-actions {
  align-items: center;
  flex-wrap: wrap;
}
#content .property-list-card .classic-table-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid #d3e0f3;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}
#content .property-list-card .classic-table-actions .danger-soft {
  background: #fff0ed;
  border-color: #f3d0c8;
  color: #a33025;
}
#content .property-table-wrapper { scroll-padding-inline-start: 298px; }
@media (max-width: 600px) {
  #content .property-table-wrapper { scroll-padding-inline-start: 48px; }
}

/* Edit Property is a dedicated page in the admin workspace. */
body.editing-property::after { content: none; display: none; }
body.editing-property #classic-overview { display: none; }
body.editing-property #content {
  position: static;
  inset: auto;
  transform: none;
  width: 100%;
  max-width: none;
  min-width: 0;
  overflow: visible;
  background: white;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}
body.editing-property #content .page-heading { margin-bottom: 20px; }
body.editing-property .property-editor-hero { gap: 20px; }
body.editing-property .property-editor-hero > * { min-width: 0; }
body.editing-property .property-editor-hero h2,
body.editing-property .property-editor-hero p { overflow-wrap: anywhere; }
@media (max-width: 600px) {
  body.editing-property #content .page-heading { gap: 12px; flex-wrap: wrap; }
  body.editing-property .property-editor-hero a { display: inline-flex; margin-top: 12px; }
  body.editing-property #dashboard-property-editor > .actions-right { flex-wrap: wrap; }
}

/* Compact photo managers on the full-page property editor. */
body.editing-property #dashboard-property-editor .photo-editor-section {
  min-width: 0;
  margin-block: 20px;
}
body.editing-property #dashboard-property-editor .photo-editor-section .builder-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
body.editing-property #dashboard-property-editor .room-photo-upload {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}
body.editing-property #dashboard-property-editor input[type="file"] { max-width: 100%; }
body.editing-property #dashboard-property-editor .editable-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr));
  gap: 14px;
  min-width: 0;
  align-items: start;
}
body.editing-property #dashboard-property-editor .editable-photo-card {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid #d5e2f5;
  border-radius: 10px;
  background: #fff;
}
body.editing-property #dashboard-property-editor .editable-photo-card > img {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: contain;
  background: #f0f5fb;
}
body.editing-property #dashboard-property-editor .main-photo-selected { border: 2px solid #0765d5; }
body.editing-property #dashboard-property-editor .editable-photo-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 10px;
}
body.editing-property #dashboard-property-editor .editable-photo-actions button,
body.editing-property #dashboard-property-editor .replace-photo-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin: 0;
  padding: 6px 9px;
  font-size: 12px;
  line-height: 1.3;
  border: 1px solid #d5e2f5;
  border-radius: 6px;
  background: #f5f8ff;
  color: #12265a;
  cursor: pointer;
}
body.editing-property #dashboard-property-editor .replace-photo-button { position: relative; overflow: hidden; }
body.editing-property #dashboard-property-editor .replace-photo-button input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
body.editing-property #dashboard-property-editor .replace-photo-button:focus-within { outline: 2px solid #0765d5; outline-offset: 2px; }
body.editing-property #dashboard-property-editor .editable-photo-actions button:disabled { opacity: .45; cursor: default; }
@media (max-width: 600px) {
  body.editing-property #dashboard-property-editor .editable-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  body.editing-property #dashboard-property-editor .editable-photo-card > img { height: 110px; }
  body.editing-property #dashboard-property-editor .editable-photo-actions { padding: 7px; gap: 5px; }
}
@media (max-width: 340px) {
  body.editing-property #dashboard-property-editor .editable-photo-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Clear, responsive room editing sections with contained form fields. */
body.editing-property #dashboard-property-editor .property-editor-section { margin-top: 28px; }
body.editing-property #dashboard-property-editor .section-title-row,
body.editing-property #dashboard-property-editor .room-rate-card-head {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
}
body.editing-property #dashboard-property-editor .section-title-row h2 { margin: 0; font-size: 22px; }
body.editing-property #dashboard-property-editor .section-helper { color: #64748b; font-size: 14px; line-height: 1.6; margin: 10px 0 20px; }
body.editing-property #dashboard-property-editor .room-rate-list { display: grid; gap: 24px; }
body.editing-property #dashboard-property-editor .room-rate-card {
  min-width: 0; border: 1px solid #dce6f4; border-radius: 16px; background: #fff;
  overflow: hidden; box-shadow: 0 4px 18px #18386608;
}
body.editing-property #dashboard-property-editor .room-rate-card-head { padding: 20px 24px; background: #edf4ff; border-bottom: 1px solid #dce6f4; }
body.editing-property #dashboard-property-editor .room-rate-card-head p { margin: 0 0 5px; color: #62758f; font-size: 12px; }
body.editing-property #dashboard-property-editor .room-rate-card-head strong { font-size: 13px; overflow-wrap: anywhere; }
body.editing-property #dashboard-property-editor .room-rate-card-head > div { min-width: 0; }
body.editing-property #dashboard-property-editor .room-rate-card-head > span { background: #fff; padding: 8px 12px; border-radius: 8px; font-weight: 600; }
body.editing-property #dashboard-property-editor .room-rate-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; padding: 24px; align-items: start; }
body.editing-property #dashboard-property-editor .room-rate-main { min-width: 0; display: grid; gap: 24px; }
body.editing-property #dashboard-property-editor .room-rate-main > .room-rate-section { min-width: 0; margin: 0; padding: 0 0 24px; border-bottom: 1px solid #e7edf5; }
body.editing-property #dashboard-property-editor .room-rate-section h3,
body.editing-property #dashboard-property-editor .rate-preview-card h3 { margin: 0 0 18px; font-size: 16px; color: #12265a; }
body.editing-property #dashboard-property-editor .room-rate-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 16px; }
body.editing-property #dashboard-property-editor .room-rate-grid > label,
body.editing-property #dashboard-property-editor .preview-inputs > label {
  display: flex; flex-direction: column; align-items: stretch; gap: 8px; min-width: 0; margin: 0; font-size: 13px; font-weight: 500; line-height: 1.5; color: #344563;
}
body.editing-property #dashboard-property-editor .room-rate-grid > label > span { min-height: 39px; display: flex; align-items: end; }
body.editing-property #dashboard-property-editor .room-rate-grid > .wide { grid-column: 1 / -1; }
body.editing-property #dashboard-property-editor .room-rate-grid .wide > span { min-height: 0; }
body.editing-property #dashboard-property-editor .room-rate-grid input,
body.editing-property #dashboard-property-editor .room-rate-grid select,
body.editing-property #dashboard-property-editor .room-rate-grid textarea,
body.editing-property #dashboard-property-editor .preview-inputs input {
  box-sizing: border-box; width: 100%; max-width: 100%; min-width: 0; margin: 0; padding: 10px 12px; min-height: 44px;
  border: 1px solid #cfdaeb; border-radius: 8px; background: #fff; color: #142640; font-size: 14px; line-height: 1.5;
}
body.editing-property #dashboard-property-editor .room-rate-grid textarea { min-height: 90px; resize: vertical; }
body.editing-property #dashboard-property-editor .room-rate-grid :is(input,select,textarea):focus,
body.editing-property #dashboard-property-editor .preview-inputs input:focus { outline: 2px solid #98bfff; outline-offset: 2px; border-color: #0765d5; }
body.editing-property #dashboard-property-editor .rate-preview-card { min-width: 0; padding: 20px; background: #f4f8fe; border: 1px solid #dce6f4; border-radius: 12px; }
body.editing-property #dashboard-property-editor .preview-inputs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
body.editing-property #dashboard-property-editor .rate-preview-card dl { margin: 20px 0 0; }
body.editing-property #dashboard-property-editor .rate-preview-card dl > div { display: flex; justify-content: space-between; align-items: start; gap: 12px; padding: 10px 0; border-bottom: 1px solid #e0e9f5; font-size: 13px; }
body.editing-property #dashboard-property-editor .rate-preview-card dt { color: #52657e; }
body.editing-property #dashboard-property-editor .rate-preview-card dd { margin: 0; font-weight: 600; text-align: right; white-space: nowrap; }
body.editing-property #dashboard-property-editor .rate-preview-card .total { font-weight: 700; color: #102e70; }
body.editing-property #dashboard-property-editor .empty-photo-note { grid-column: 1 / -1; padding: 20px; margin: 0; border: 1px dashed #ccd9eb; border-radius: 10px; color: #64748b; font-size: 14px; line-height: 1.6; background: #f8faff; }
@media (max-width: 1200px) {
  body.editing-property #dashboard-property-editor .room-rate-layout { grid-template-columns: minmax(0,1fr); }
  body.editing-property #dashboard-property-editor .rate-preview-card { max-width: none; }
}
@media (max-width: 800px) {
  body.editing-property #dashboard-property-editor .room-rate-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body.editing-property #dashboard-property-editor .room-rate-layout { padding: 18px; }
}
@media (max-width: 500px) {
  body.editing-property #dashboard-property-editor .room-rate-grid { grid-template-columns: minmax(0,1fr); }
  body.editing-property #dashboard-property-editor .room-rate-grid > label > span { min-height: 0; }
  body.editing-property #dashboard-property-editor .room-rate-card-head { padding: 16px; }
  body.editing-property #dashboard-property-editor .room-rate-layout { padding: 16px; gap: 20px; }
}
body.editing-property #dashboard-property-editor .photo-category-field { display: flex; flex-direction: column; gap: 6px; padding: 10px 10px 0; margin: 0; min-width: 0; font-size: 12px; color: #52657e; }
body.editing-property #dashboard-property-editor .photo-category-field select { box-sizing: border-box; width: 100%; min-width: 0; min-height: 38px; padding: 8px; border: 1px solid #cfdaeb; border-radius: 6px; color: #12265a; background: #fff; font-size: 13px; }
body.editing-property #dashboard-property-editor .category-toolbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
body.editing-property #dashboard-property-editor .category-toolbar > span { color: #64748b; font-size: 14px; }
body.editing-property #dashboard-property-editor .room-rate-card { scroll-margin-top: 70px; }
#admin-app-settings { max-width: 560px; width: calc(100% - 32px); padding: 24px; border: 1px solid #d5e2f5; border-radius: 16px; color: #12265a; }
#admin-app-settings::backdrop { background: #10263f88; }
#admin-app-settings p { font-size: 14px; line-height: 1.6; color: #52657e; }
.admin-app-update { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 100; background: #10216e; color: #fff; padding: 16px; border-radius: 12px; display: flex; align-items: center; gap: 12px; max-width: calc(100% - 24px); box-shadow: 0 8px 32px #10263f44; }
.admin-app-update button { white-space: nowrap; background: #fff; color: #10216e; border-radius: 6px; padding: 8px 12px; }
.topbar .admin-app-open { margin-left: 8px; font-size: 12px; white-space: nowrap; padding: 7px 10px; }
@media(max-width:600px){ .topbar .admin-app-open { font-size: 11px; padding: 6px; } .admin-app-update { flex-wrap: wrap; width: calc(100% - 30px); box-sizing: border-box; } }
