* { box-sizing: border-box; }
:root { --bg:#f4f5f3; --card:#fff; --text:#17212b; --muted:#667085; --border:#e1e5e2; --accent:#1f6f5c; --accent-dark:#174f43; --soft:#f4f8f6; --booked:#eceff1; }
html { scroll-behavior:smooth; }
body { margin:0; font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; background:var(--bg); color:var(--text); }
.topbar { position:sticky; top:0; z-index:20; background:rgba(255,255,255,.94); border-bottom:1px solid var(--border); backdrop-filter:blur(12px); }
.topbar-inner { width:min(1160px,94%); margin:auto; height:66px; display:flex; align-items:center; justify-content:space-between; gap:20px; }
.brand { color:var(--text); text-decoration:none; font-weight:850; font-size:1.08rem; }
nav { display:flex; gap:18px; } nav a { text-decoration:none; color:var(--muted); font-weight:650; font-size:.92rem; }
.site-shell { width:min(1160px,94%); margin:26px auto 60px; }
.card { background:var(--card); border:1px solid var(--border); border-radius:20px; padding:28px; margin-bottom:24px; box-shadow:0 12px 34px rgba(16,24,40,.055); }
.card.flush { padding:0; overflow:hidden; }
.property-cover { min-height:390px; display:grid; grid-template-columns:1.05fr .95fr; background:linear-gradient(135deg,#284e45,#77938b); color:white; }
.cover-copy { padding:54px; display:flex; flex-direction:column; align-items:flex-start; justify-content:center; }
.cover-copy h1 { font-size:clamp(2.7rem,7vw,5.1rem); line-height:.98; letter-spacing:-.055em; margin:.25rem 0 1rem; max-width:650px; }
.cover-copy p { font-size:1.15rem; max-width:500px; margin:0 0 24px; }
.photo-placeholder { margin:28px; border:1px dashed rgba(255,255,255,.55); border-radius:18px; min-height:300px; display:flex; flex-direction:column; align-items:center; justify-content:center; background:rgba(255,255,255,.08); text-align:center; }
.photo-placeholder span { font-size:1.35rem; font-weight:800; } .photo-placeholder small { opacity:.8; margin-top:6px; }
.eyebrow { text-transform:uppercase; letter-spacing:.14em; font-weight:800; font-size:.72rem; opacity:.82; }
.eyebrow.dark { color:var(--accent-dark); }
h2 { margin:.28rem 0 10px; font-size:1.8rem; letter-spacing:-.02em; } h3 { margin-top:28px; }
.listing-content { display:grid; grid-template-columns:1fr 330px; gap:36px; padding:34px; }
.lead { color:#4c5965; font-size:1.04rem; line-height:1.7; }
.property-facts { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin:28px 0; }
.property-facts div { border:1px solid var(--border); border-radius:14px; padding:18px; min-height:120px; display:flex; flex-direction:column; gap:4px; }
.fact-icon { font-size:1.35rem; } .property-facts small { color:var(--muted); }
.amenities-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:10px; }
.amenities-grid span { padding:13px 14px; border-radius:10px; background:var(--soft); color:#4f5e59; }
.rate-card { border:1px solid var(--border); border-radius:16px; padding:22px; align-self:start; position:sticky; top:92px; }
.rate-row { display:flex; justify-content:space-between; gap:16px; padding:14px 0; border-bottom:1px solid var(--border); }
.rate-row strong { font-size:1.25rem; } .rate-row.sub { border-bottom:0; }
.rate-card p { color:var(--muted); font-size:.9rem; line-height:1.55; }
.btn { border:0; border-radius:10px; padding:13px 18px; font:inherit; font-weight:780; cursor:pointer; text-decoration:none; display:inline-block; text-align:center; }
.primary { background:var(--accent); color:white; } .primary:hover { background:var(--accent-dark); } .secondary { background:#eef1ef; color:var(--text); } .full { width:100%; margin-top:18px; }
.section-heading { display:flex; align-items:center; justify-content:space-between; gap:18px; }
.muted { color:var(--muted); }
.calendar-nav { display:flex; align-items:center; gap:12px; min-width:260px; justify-content:flex-end; }
.calendar-nav strong { min-width:145px; text-align:center; }
.icon-btn { width:40px; height:40px; border-radius:50%; border:1px solid var(--border); background:white; font-size:1.6rem; cursor:pointer; }
.calendar-legend { display:flex; flex-wrap:wrap; gap:18px; margin:20px 0 14px; color:var(--muted); font-size:.9rem; }
.legend-dot { display:inline-block; width:11px; height:11px; border-radius:50%; margin-right:6px; } .legend-dot.available{background:#dff2e9}.legend-dot.selected{background:var(--accent)}.legend-dot.booked{background:#cfd5d9}
.calendar-weekdays,.calendar-grid { display:grid; grid-template-columns:repeat(7,1fr); gap:7px; }
.calendar-weekdays { margin-bottom:7px; } .calendar-weekdays span { text-align:center; color:var(--muted); font-weight:700; font-size:.8rem; padding:7px 0; }
.day { aspect-ratio:1/1; min-height:72px; border:1px solid var(--border); border-radius:12px; background:white; display:flex; flex-direction:column; justify-content:space-between; align-items:flex-start; padding:9px; cursor:pointer; transition:.15s ease; }
.day:hover:not(.disabled):not(.booked) { border-color:var(--accent); transform:translateY(-1px); }
.day .num { font-weight:800; } .day .rate { font-size:.76rem; color:var(--muted); }
.day.outside { opacity:.25; cursor:default; } .day.disabled { background:#f7f7f7; color:#a8afb4; cursor:not-allowed; }
.day.booked { background:var(--booked); color:#8b949a; cursor:not-allowed; text-decoration:line-through; }
.day.selected,.day.in-range { background:var(--accent); color:white; border-color:var(--accent); }
.day.in-range { background:#dff0ea; color:var(--text); } .day.selected .rate { color:rgba(255,255,255,.86); }
.form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
label { display:flex; flex-direction:column; gap:7px; font-weight:680; }
input,select { width:100%; padding:13px 14px; border:1px solid #cfd6dc; border-radius:10px; font:inherit; background:white; }
input:focus,select:focus { outline:2px solid rgba(31,111,92,.16); border-color:var(--accent); }
.pricing { margin-top:22px; padding:18px; background:var(--soft); border-radius:14px; }
.line { display:flex; justify-content:space-between; padding:8px 0; gap:12px; } .total { border-top:1px solid var(--border); margin-top:7px; padding-top:14px; font-size:1.1rem; } .balance { color:var(--accent-dark); font-size:1.1rem; }
.hidden { display:none; } .steps { line-height:1.85; padding-left:20px; }
.stats { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin:20px 0; }
.stats div { padding:18px; background:var(--soft); border-radius:14px; } .stats span { display:block; color:var(--muted); } .stats strong { display:block; margin-top:4px; font-size:1.65rem; }
.table-wrap { overflow-x:auto; } table { width:100%; border-collapse:collapse; min-width:820px; } th,td { padding:12px 10px; border-bottom:1px solid var(--border); text-align:left; font-size:.93rem; } th { color:var(--muted); }
.status { display:inline-block; padding:5px 9px; border-radius:999px; background:#fff4dc; font-size:.8rem; font-weight:800; }
.empty { text-align:center; color:var(--muted); padding:24px; } .message { text-align:center; font-weight:700; min-height:22px; } .success { color:var(--accent-dark); } .error { color:#b42318; }
footer { text-align:center; color:var(--muted); padding:0 16px 50px; }
@media(max-width:900px){ .property-cover,.listing-content{grid-template-columns:1fr}.photo-placeholder{min-height:230px}.rate-card{position:static}.property-facts{grid-template-columns:repeat(2,1fr)} }
@media(max-width:680px){ nav{display:none}.site-shell{width:min(94%,680px);margin-top:14px}.card{padding:20px}.cover-copy{padding:36px 24px}.photo-placeholder{margin:0 20px 20px}.listing-content{padding:22px}.form-grid,.stats,.amenities-grid{grid-template-columns:1fr}.calendar-heading{align-items:flex-start;flex-direction:column}.calendar-nav{width:100%;justify-content:space-between;min-width:0}.calendar-grid,.calendar-weekdays{gap:4px}.day{min-height:52px;padding:6px;border-radius:9px}.day .rate{font-size:.62rem}.property-facts{grid-template-columns:1fr 1fr} }

.admin-panel {
  margin: 22px 0 28px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fafbfb;
}
.admin-panel .btn { margin-top: 14px; }
.subsection-title { margin-top: 30px; }
.action-group {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.action-btn {
  border: 1px solid #cfd6dc;
  background: white;
  border-radius: 8px;
  padding: 7px 9px;
  font: inherit;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
}
.action-btn:hover { background: #f3f5f6; }
.action-btn.danger { color: #b42318; border-color: #f0b4ae; }
.status.confirmed { background: #e8f6f0; color: #175c49; }
.status.paid { background: #e8f0ff; color: #244a8f; }
.status.cancelled { background: #f1f2f4; color: #667085; }
.status.pending { background: #fff4dc; color: #8a5b00; }
.login-shell{min-height:100vh;display:grid;place-items:center;padding:24px;background:var(--bg)}
.login-card{width:min(460px,100%)}.login-card label{margin:14px 0}.admin-page{margin-top:30px}.nav-button{border:0;background:transparent;font:inherit;cursor:pointer;color:inherit}.status.confirmed{background:#e8f6f0;color:#175c49}.status.paid{background:#e8f0ff;color:#244a8f}.status.cancelled{background:#f1f2f4;color:#667085}.status.pending{background:#fff4dc;color:#8a5b00}.action-group{display:flex;flex-wrap:wrap;gap:7px}.action-btn{border:1px solid #cfd6dc;background:white;border-radius:8px;padding:7px 9px;font:inherit;font-size:.82rem;font-weight:700;cursor:pointer}.action-btn.danger{color:#b42318;border-color:#f0b4ae}

.photo-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-height:270px}.photo-gallery img{width:100%;height:100%;min-height:220px;object-fit:cover;border-radius:12px}.photo-gallery img:first-child{grid-row:span 2;min-height:448px}.confirmation-card{margin-top:20px;padding:20px;border:1px solid var(--border);border-radius:14px;background:#f8faf9}.confirmation-card h3{margin-top:0}.stacked-field{margin-top:16px}.stacked-field textarea{margin-top:7px;width:100%;padding:12px 14px;border:1px solid #cfd6dc;border-radius:10px;font:inherit;resize:vertical}@media(max-width:720px){.photo-gallery{grid-template-columns:1fr}.photo-gallery img,.photo-gallery img:first-child{min-height:240px;grid-row:auto}}

.photo-upload-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:8px}.photo-upload-row input[type=file]{flex:1;min-width:260px}.photo-manager{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:12px}.photo-admin-card{display:grid;grid-template-columns:150px 1fr;gap:14px;border:1px solid var(--border);border-radius:14px;padding:10px;background:#fff}.photo-admin-card img{width:150px;height:110px;object-fit:cover;border-radius:10px}.photo-admin-meta{display:flex;flex-direction:column;gap:7px;min-width:0}.photo-admin-meta small{color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.action-btn:disabled{opacity:.45;cursor:not-allowed}@media(max-width:760px){.photo-manager{grid-template-columns:1fr}.photo-admin-card{grid-template-columns:110px 1fr}.photo-admin-card img{width:110px;height:90px}}


/* v1.6 policies and pet booking */
.field-note{display:block;color:var(--muted);font-weight:500;font-size:.78rem;margin-top:2px}.policy-consent{display:flex;align-items:flex-start;gap:10px;margin:20px 0 16px;padding:14px 16px;border:1px solid var(--border);border-radius:12px;background:var(--soft);line-height:1.45}.policy-consent input{width:18px;height:18px;margin-top:2px;flex:0 0 auto}.policy-consent a{color:var(--accent-dark);font-weight:700}.policy-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:20px}.policy-item{border:1px solid var(--border);border-radius:14px;padding:18px;background:#fff}.policy-item h3{margin:0 0 8px;font-size:1rem}.policy-item p{margin:0;color:var(--muted);line-height:1.62}.policy-note{margin-top:16px;padding:16px 18px;border-radius:12px;background:var(--soft);line-height:1.55}.policies-card{scroll-margin-top:90px}#booking{scroll-margin-top:90px}#petFeeLine strong{white-space:nowrap}@media(max-width:680px){.policy-grid{grid-template-columns:1fr}.policy-consent{padding:13px}}
