:root{--ink:#183b33;--green:#125446;--mint:#dceadf;--paper:#f7f8f3;--line:#dce3d8;--muted:#576b61;--apricot:#f4c19e;color:var(--ink);font:16px/1.48 Inter,"Segoe UI",system-ui,sans-serif;background:var(--paper)}*{box-sizing:border-box}body{margin:0}a{color:var(--green)}button,input,select,textarea{font:inherit}button,a.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:44px;padding:10px 18px;background:var(--green);color:white;border:1px solid transparent;border-radius:10px;font-weight:650;cursor:pointer;text-decoration:none}button.secondary,.btn.secondary{background:white;color:var(--green);border-color:#aac0b3}button:disabled{opacity:.6;cursor:wait}button.link{padding:4px;background:none;color:var(--green);text-decoration:underline}header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 0;border-bottom:1px solid var(--line);margin-bottom:22px}.brand{display:flex;align-items:center;gap:10px;font-size:18px;font-weight:740;letter-spacing:-.75px;text-decoration:none;color:var(--ink)}.brand img{width:36px;height:36px;border-radius:11px}.role,.pill{border:1px solid #bed5c5;border-radius:100px;padding:4px 10px;color:var(--green);background:#edf3ec;font-size:12px;font-weight:650}.shell{max-width:820px;margin:0 auto;padding:0 22px 92px}.hero{min-height:240px;padding:32px;border-radius:20px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;background:#dae3cb linear-gradient(90deg,#dae3cb,transparent);background-image:linear-gradient(90deg,#e1e6d3 1%,rgba(224,230,209,.94) 27%,transparent 69%),url(/static/hero.webp);background-position:center,center 46%;background-size:cover}.hero h1{width:54%;font-size:clamp(28px,5vw,44px);line-height:1.06;letter-spacing:-1.8px;margin:0 0 20px}.hero button{font-size:14px}.eyebrow{text-transform:uppercase;letter-spacing:1.6px;font-size:11px;font-weight:750;color:var(--green);margin:0 0 10px}h1,h2,h3,p{margin:0 0 12px}h1{font-size:31px;line-height:1.1;letter-spacing:-1.3px}h2{margin-top:26px;font-size:21px;letter-spacing:-.6px}h3{font-size:17px;letter-spacing:-.35px}.sub,small{color:var(--muted)}.card,fieldset,.tile{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px;margin:12px 0}.tile{display:flex;gap:14px;align-items:center;cursor:pointer;text-align:left;width:100%;color:var(--ink);font-weight:550;justify-content:flex-start}.tile small{display:block;font-size:13px;font-weight:450}.tile .mark{display:grid;place-items:center;width:42px;height:42px;flex-shrink:0;border-radius:12px;background:#e5eee3;font-size:20px}.tile:nth-of-type(even) .mark{background:#f8e6d5}.arrow{margin-left:auto}.row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.between{justify-content:space-between}.stack{display:grid;gap:10px}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.grid>.card{margin:0}.metric{font-size:30px;font-weight:750;letter-spacing:-1px}.dark{background:#194f43;color:#fff;border:0}.dark .sub,.dark .eyebrow{color:#d1e4d3}.dark button{background:#f2c19d;color:#273e34}.dark h1{margin:8px 0 12px}.dark{padding:25px}.card p:last-child{margin-bottom:0}label{display:grid;gap:5px;margin:12px 0;font-size:14px;font-weight:650}label.check{display:flex;gap:9px;align-items:flex-start}label.check input{width:20px;height:20px;margin:0;flex-shrink:0}input,select,textarea{width:100%;min-width:0;border:1px solid #bdccbf;border-radius:8px;padding:10px;background:white;color:var(--ink)}textarea{min-height:68px}fieldset{margin:14px 0;min-width:0}legend{font-weight:750;padding:0 6px}hr{border:0;border-top:1px solid var(--line);margin:16px 0}nav#nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(820px,100%);background:#fff;border-top:1px solid var(--line);display:flex;justify-content:space-around;padding:6px 4px max(7px,env(safe-area-inset-bottom));z-index:5}#nav button{display:grid;justify-items:center;gap:2px;min-height:46px;border:0;background:none;color:#64776c;font-size:11px;padding:4px 6px}#nav .selected{color:var(--green);background:#e6efe6}.symbol{font-size:21px;line-height:1.15}#message:not(:empty){position:fixed;z-index:10;bottom:78px;left:50%;transform:translateX(-50%);background:#273e35;color:white;max-width:min(92vw,700px);border-radius:10px;padding:12px 18px}.owner{max-width:1180px;margin:auto;padding:0 22px 40px}.ownerlayout{display:grid;grid-template-columns:230px 1fr;gap:34px}.sidebar a{display:block;padding:9px 12px;text-decoration:none;font-weight:570;border-radius:8px}.sidebar a:hover{background:var(--mint)}.sidebar .active{background:var(--mint)}.metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:10px}.metrics .card{margin:0}.metrics small{display:block}.orderrow{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding:12px 0}.note{padding:12px 15px;border-radius:10px;background:#edf2e9;font-size:14px}.mono{font-variant-numeric:tabular-nums}.actions{display:flex;flex-wrap:wrap;gap:8px}.actions button{margin-top:5px}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #d39259;outline-offset:2px}@media(max-width:650px){.shell,.owner{padding-left:16px;padding-right:16px}header{margin-bottom:15px}.hero{min-height:205px;padding:18px;background-position:center,64% center}.hero h1{font-size:28px}.ownerlayout{display:block}.sidebar{display:grid;grid-template-columns:1fr 1fr;gap:2px;border-bottom:1px solid var(--line);margin-bottom:18px}.sidebar a{font-size:13px;padding:6px}.grid{gap:8px}.tile{margin:8px 0;padding:13px}h2{margin-top:20px}}
.pinmap{height:245px;position:relative;z-index:0;border-radius:12px;margin:12px 0}.pinmap[hidden]{display:none}dialog{max-width:min(440px,94vw);border:1px solid var(--line);border-radius:16px;color:var(--ink)}dialog::backdrop{background:#142b2699}
.location-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0}.location-choices button{width:100%;padding:12px 8px;text-align:center}.location-choices button.chosen{background:var(--green);color:white}.location [hidden]{display:none!important}.location-review{margin-top:16px}.location-review .actions{margin-top:12px}.location-confirmed{margin-top:12px}@media(max-width:390px){.location-choices{grid-template-columns:1fr}}
.location-pin{background:transparent;border:0}.location-pin span{position:relative;display:block;width:30px;height:30px;background:#e53b35;border:3px solid #fff;border-radius:50% 50% 50% 0;transform:rotate(-45deg);box-shadow:0 2px 8px #1b282a80}.location-pin span:after{content:"";display:block;width:10px;height:10px;background:#fff;border-radius:50%;position:absolute;top:7px;left:7px}
.map-frame{position:relative;margin:14px 0 10px;border-radius:16px;overflow:hidden;background:#ebece7}.map-frame .pinmap{height:340px;margin:0;border-radius:0}.map-frame .map-center{position:absolute;right:12px;bottom:29px;z-index:400;width:44px;height:44px;min-height:44px;padding:0;border-radius:50%;background:#fff;color:#29433c;box-shadow:0 2px 9px #1b282a44;font-size:30px;line-height:1}.location-review .gps{display:block;margin:6px 0 14px}@media(max-width:390px){.map-frame .pinmap{height:300px}}

.booking-feedback:not(:empty) {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #edf3ec;
  scroll-margin-bottom: 76px;
}
.booking-feedback-error:not(:empty) {
  background: #fff6e9;
  border-color: #e8ceb1;
  color: #653c1e;
}
.booking-spinner {
  flex: 0 0 18px;
  height: 18px;
  border: 2px solid var(--green);
  border-right-color: transparent;
  border-radius: 50%;
  animation: booking-spin .8s linear infinite;
}
@keyframes booking-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .booking-spinner { animation: none; }
}

.rate-package > h2 { margin: 0 0 14px; }
.rate-form + .rate-form { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.rate-form h3, .rate-summary { margin-bottom: 6px; }
.rate-estimate { margin: 12px 0; padding: 10px 12px; border-radius: 8px; background: #edf3ec; font-size: 14px; }
.rate-estimate div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; }
.rate-estimate div + div { margin-top: 6px; }
.rate-estimate dd { margin: 0; font-weight: 700; }
.rate-message:not(:empty) { margin: 8px 0 0; font-size: 14px; }
.rate-message:empty { display: none; }
.rate-error { color: #773b20; }

.rate-heading { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin-bottom: 10px; }
.rate-heading h3 { margin: 0; }
.rate-badge { padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.rate-badge-active { background: #dcefe2; color: #125446; }
.rate-badge-pending, .rate-pending { background: #fff2d9; color: #6b4611; }
.rate-badge-empty { background: #edf0eb; color: #526057; }
.rate-current { border: 1px solid #cce1d3; border-radius: 10px; padding: 12px; background: #f4faf5; }
.rate-current > strong { display: block; font-size: 24px; }
.rate-current .rate-estimate { margin-bottom: 0; }
.rate-pending { margin: 10px 0 0; padding: 8px 10px; border-radius: 8px; font-size: 14px; }
.rate-editor { margin-top: 8px; }
.rate-editor summary { color: var(--green); font-weight: 650; cursor: pointer; padding: 10px 0; }

.owner-menu-toggle { display: none; }
.owner-drawer { border: 0; padding: 18px; color: var(--ink); background: var(--paper);
  margin: 0 auto 0 0; width: min(320px, 88vw); max-width: none; height: 100%; max-height: none;
  overscroll-behavior: contain; box-shadow: 6px 0 28px #183b3340; }
.owner-drawer::backdrop { background: #152b2588; }
.owner-drawer-heading { display: flex; align-items: center; justify-content: space-between;
  gap: 8px; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.owner-drawer .owner-navigation { display: grid; grid-template-columns: 1fr; border: 0; }
.owner-drawer .owner-navigation a { padding: 10px 12px; }
body:has(.owner-drawer[open]) { overflow: hidden; }
@media (max-width: 650px) {
  .owner-sidebar { display: none; }
  .owner-menu-toggle { display: inline-flex; padding-inline: 8px; font-size: 13px; flex-shrink: 0; }
  .owner-header { gap: 7px; }
  .owner-header .brand { font-size: 15px; gap: 6px; letter-spacing: -.4px; }
  .owner-header .brand img { width: 30px; height: 30px; }
}

.offer-photo-button { display: flex; flex-direction: column; gap: 4px; width: max-content;
  margin-top: 8px; padding: 5px 5px 4px; font-size: 12px; }
.offer-photo-button img { display: block; width: 96px; height: 96px; object-fit: cover;
  border-radius: 6px; background: var(--mint); }
.offer-photo-dialog, .reject-dialog {
  width: min(92vw, 560px); max-width: none; max-height: 90dvh;
  padding: 18px; overflow: auto; background: white;
}
.offer-photo-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.offer-photo-heading h3 { margin: 0; overflow-wrap: anywhere; }
.offer-photo-dialog img:not([hidden]) { display: block; width: 100%; max-height: 68dvh; object-fit: contain; }
.reject-dialog textarea { min-height: 132px; resize: vertical; font-size: 16px; }

#book input[readonly] { background: #edf3ec; border-color: #c2d2c7; color: var(--ink); cursor: default; }
.booking-account-note { margin: 0 0 12px; color: var(--muted); font-size: 14px; }

.order-status { display: inline-block; padding: 5px 9px; border-radius: 6px; background: #b50021; color: #fff; }
.order-status-history small { color: #b50021; font-weight: 700; }

dialog.incident-dialog {
  box-sizing: border-box; width: min(calc(100vw - 20px), 640px);
  max-width: none; max-height: 90dvh; padding: 20px; overflow-y: auto;
}
.incident-dialog form { display: grid; gap: 12px; }
.incident-dialog label, .incident-dialog select, .incident-dialog textarea { width: 100%; }
.incident-dialog textarea { min-height: clamp(150px, 28dvh, 240px); font-size: 16px; resize: vertical; }
.rating-good, .review-picker button[data-cmd^="good:"] { color: #008138; font-weight: 750; }
.rating-bad, .review-picker button[data-cmd^="bad:"] { color: #b50021; font-weight: 750; }
.review-picker { margin-top: 16px; border-top: 1px solid #ddd; padding-top: 12px; }
.performance li { padding-block: 4px; }
