:root { color-scheme: light; --green: #254c36; --ink: #253a30; --muted: #62685b; --paper: #fdfaf5; --cream: #fcf0e4; --border: #e8ddd0; --orange: #aa3e19; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: var(--green); text-underline-offset: 3px; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
:where(h1,h2) { margin: 0 0 12px; font: 400 clamp(1.55rem, 3.6vw, 2.65rem)/1.07 Georgia, serif; color: var(--green); letter-spacing: -.038em; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.2rem, 5.5vw, 4.3rem); }
h2 small { font: 600 .9rem/1.5 system-ui, sans-serif; color: var(--muted); }
p { overflow-wrap: anywhere; }
.page { width: min(1100px, 100% - 36px); margin-inline: auto; }
main { min-height: 72vh; padding-block: 32px 56px; }
.narrow { max-width: 630px; }
.plateau { position: sticky; top: 0; z-index: 2; background: var(--cream); border-bottom: 1px solid var(--border); }
.bar { min-height: 62px; display: flex; align-items: center; gap: clamp(10px, 3vw, 30px); }
.bar img { display: block; object-fit: contain; mix-blend-mode: multiply; }
.bar nav { display: flex; gap: 12px; font-size: .875rem; }
.bar nav a { text-decoration: none; font-weight: 650; }
.bar form { margin-left: auto; }
.territory, .quiet { font-size: .875rem; font-weight: 650; }
.quiet { border: 0; background: transparent; padding: 0; color: var(--green); cursor: pointer; }
.panel { background: white; padding: clamp(16px, 3vw, 27px); border: 1px solid var(--border); border-radius: 18px; overflow-wrap: anywhere; }
.heading, .actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.heading { justify-content: space-between; margin-bottom: 18px; }
.heading p { color: var(--muted); margin: 0 0 8px; }
.heading h1 { margin-bottom: 8px; }
.button { display: inline-flex; align-items: center; justify-content: center; text-align: center; gap: 6px; min-height: 41px; padding: 7px 14px; border-radius: 99px; border: 1px solid var(--border); background: white; color: var(--green); text-decoration: none; font-weight: 650; cursor: pointer; }
.button:hover { background: var(--cream); }
.primary, .primary:hover { background: var(--green); color: white; border-color: var(--green); }
.danger, .danger:hover { background: var(--orange); color: white; border-color: var(--orange); }
.fields p { margin: 12px 0; }
.fields label { display: block; font-size: .875rem; font-weight: 650; }
.fields :is(input:not([type=checkbox],[type=radio],[type=hidden]), textarea, select), .search-account input { display: block; margin: 3px 0 8px; width: 100%; min-height: 40px; border: 1px solid #cfcfc3; border-radius: 10px; padding: 8px 10px; background: white; }
.fields textarea { resize: vertical; }
.errorlist { color: var(--orange); }
.sections { display: grid; gap: 15px; margin-top: 16px; }
.split { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.rows { list-style: none; padding: 0; margin: 0; }
.rows li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; }
.rows li + li, .booking + .booking { border-top: 1px solid var(--border); }
.rows li > div { min-width: 0; }
.rows li > div span { display: block; color: var(--muted); font-size: .9rem; }
.badge { display: inline-block; background: #eaf0e5; border-radius: 8px; padding: 3px 8px; color: var(--green); font-size: .82rem; }
.notice { border-radius: 12px; padding: 10px 12px; background: #eaf0e5; }
.notice.error { background: var(--cream); }
.auth-links { display: flex; flex-wrap: wrap; gap: 12px; margin-block: 12px; }
.provider + .provider { margin-top: 7px; }
.footer { padding-block: 14px; border-top: 1px solid var(--border); font-size: .875rem; }
.multiline, .chat-lines p { white-space: pre-wrap; }
.price { font: 1.65rem Georgia, serif; color: var(--green); }
.offer-photo { display: block; width: 100%; max-height: 440px; object-fit: cover; border-radius: 12px; }
.spaced { margin-top: 20px; }
.chat-lines { margin: 0; padding: 0; display: grid; gap: 8px; max-height: 54vh; overflow: auto; list-style: none; }
.chat-lines li { width: min(88%, 440px); border-radius: 12px; padding: 7px 11px; background: var(--cream); }
.chat-lines .own { justify-self: end; background: #eaf0e5; }
.chat-lines p { margin: 2px 0; }
.chat-lines strong { font-size: .85rem; }
.booking { padding-block: 10px; }
.booking p { margin-block: 4px 8px; }
.metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.metrics div { padding: 14px; border-radius: 12px; background: var(--cream); }
.metrics strong, .metrics span { display: block; }
.metrics strong { color: var(--green); font: clamp(1.7rem, 5vw, 3.2rem) Georgia, serif; }
.metrics span, .pagination { font-size: .875rem; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; text-align: left; }
td, th { padding: 7px; border-bottom: 1px solid var(--border); }
.search-account { display: grid; grid-template-columns: minmax(0, 400px) auto; justify-content: start; align-items: center; gap: 6px; }
.search-account label { grid-column: 1 / -1; }
@media (max-width: 660px) {
  main { padding-top: 20px; }
  .split { grid-template-columns: 1fr; }
  .bar nav { gap: 8px; }
  .bar form button { font-size: .78rem; }
}
