:root {
    --forest: #2f5d50;
    --forest-dark: #1f4238;
    --sage: #e7ece8;
    --clay: #d9603b;
    --clay-dark: #bf4f2d;
    --cream: #faf7f2;
    --ink: #1d2320;
    --muted: #6b726e;
    --line: #e3e5e3;
    --white: #fff;
    --ok: #1f8a5b;
    --warn: #b7791f;
    --bad: #c0392b;
    --radius: 14px;
    --shadow: 0 6px 20px rgba(0, 0, 0, .08);
    --max: 1240px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.5;
}
h1, h2, h3, h4 { font-family: 'Space Grotesk', 'Inter', sans-serif; line-height: 1.2; margin: 0 0 .5rem; }
h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h2 { font-size: 1.4rem; }
h3 { font-size: 1.1rem; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.stack > * + * { margin-top: 1rem; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.between { justify-content: space-between; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
main { min-height: 70vh; padding-bottom: 64px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.brand { white-space: nowrap; display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--forest); font-family: 'Space Grotesk'; font-weight: 700; font-size: 1.2rem; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--forest); display: grid; place-items: center; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a, .nav button.linklike { white-space: nowrap; text-decoration: none; font-weight: 500; font-size: .92rem; padding: 10px 14px; border-radius: 999px; }
.nav a:hover, .nav button.linklike:hover { background: var(--sage); }
.nav .pill-user { border: 1px solid var(--line); display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 14px; }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--forest); color: #fff; display: grid; place-items: center; font-size: .8rem; font-weight: 600; }
.menu { position: relative; }
.menu-panel { display: none; position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); min-width: 220px; padding: 8px 0; }
.menu.open .menu-panel { display: block; }
.menu-panel a, .menu-panel button { display: block; width: 100%; text-align: left; padding: 10px 16px; border-radius: 0; background: none; border: 0; font: inherit; font-size: .92rem; cursor: pointer; text-decoration: none; }
.menu-panel a:hover, .menu-panel button:hover { background: var(--cream); }
.menu-panel hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }
.nav-hide-sm { }

/* ---------- Buttons & forms ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 10px; padding: 12px 20px; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; transition: background .15s, transform .05s; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--clay); color: #fff; }
.btn-primary:hover { background: var(--clay-dark); }
.btn-forest { background: var(--forest); color: #fff; }
.btn-forest:hover { background: var(--forest-dark); }
.btn-ghost { background: #fff; border: 1px solid var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--cream); }
.btn-sm { padding: 8px 14px; font-size: .875rem; border-radius: 8px; }
.btn-block { width: 100%; }
.btn-danger { background: #fff; color: var(--bad); border: 1px solid var(--bad); }

label { display: block; font-weight: 600; font-size: .85rem; margin-bottom: 6px; }
input[type=text], input[type=tel], input[type=search], input:not([type]), input[type=email], input[type=password], input[type=number], input[type=date], input[type=url], input[type=file], select, textarea {
    width: 100%; padding: 12px 14px; border: 1px solid #c9ccca; border-radius: 10px; font: inherit; background: #fff;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--forest); outline-offset: 1px; border-color: transparent; }
textarea { min-height: 110px; resize: vertical; }
.field { margin-bottom: 16px; }
.field-error, .validation-summary-errors { color: var(--bad); font-size: .85rem; }
.validation-summary-errors ul { margin: 0; padding-left: 18px; }
.checkbox { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.checkbox input { width: 18px; height: 18px; }

.alert { padding: 14px 16px; border-radius: 10px; margin: 16px 0; font-size: .95rem; }
.alert-ok { background: #e6f4ec; color: #145c3c; }
.alert-warn { background: #fdf3e1; color: #7a5212; }
.alert-bad { background: #fbe9e7; color: #8c2a1f; }

.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; background: var(--sage); color: var(--forest); }
.badge-clay { background: #fbe6de; color: var(--clay-dark); }
.badge-warn { background: #fdf3e1; color: var(--warn); }
.badge-bad { background: #fbe9e7; color: var(--bad); }
.badge-ok { background: #e6f4ec; color: var(--ok); }

/* ---------- Hero + search ---------- */
.hero { position: relative; color: #fff; margin-bottom: 32px; }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 35, 30, .35), rgba(20, 35, 30, .65)), url('/images/listings/dawsonville-retreat/2.jpg') center/cover; }
.hero .container { position: relative; padding-top: 88px; padding-bottom: 96px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); max-width: 720px; }
.hero p { font-size: 1.15rem; max-width: 620px; opacity: .95; }
.fee-callout { display: inline-flex; gap: 8px; align-items: center; background: rgba(255, 255, 255, .16); backdrop-filter: blur(6px); padding: 8px 14px; border-radius: 999px; font-weight: 600; margin-bottom: 18px; font-size: .9rem; }

.searchbar { margin-top: 28px; background: #fff; color: var(--ink); border-radius: 999px; box-shadow: 0 10px 30px rgba(0, 0, 0, .2); display: grid; grid-template-columns: 1.4fr 1fr 1fr .8fr auto; align-items: center; padding: 8px; max-width: 900px; }
.searchbar .seg { padding: 6px 20px; border-right: 1px solid var(--line); }
.searchbar .seg:last-of-type { border-right: 0; }
.searchbar label { font-size: .72rem; margin: 0; text-transform: uppercase; letter-spacing: .04em; }
.searchbar input, .searchbar select { border: 0; padding: 2px 0; font-size: .95rem; background: transparent; }
.searchbar input:focus, .searchbar select:focus { outline: none; }
.searchbar .btn { border-radius: 999px; padding: 14px 22px; }

/* ---------- Category chips ---------- */
.chips { display: flex; gap: 28px; overflow-x: auto; padding: 8px 0 16px; border-bottom: 1px solid var(--line); margin-bottom: 28px; scrollbar-width: none; }
.chip { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; color: var(--muted); font-size: .8rem; font-weight: 600; padding-bottom: 10px; border-bottom: 2px solid transparent; white-space: nowrap; }
.chip svg { width: 26px; height: 26px; }
.chip:hover { color: var(--ink); border-color: var(--line); }
.chip.active { color: var(--ink); border-color: var(--ink); }

/* ---------- Listing grid ---------- */
.listing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 32px 24px; }
.listing-card { text-decoration: none; color: inherit; position: relative; display: block; }
.listing-card .photo { aspect-ratio: 20 / 19; border-radius: var(--radius); overflow: hidden; background: var(--sage); position: relative; }
.listing-card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.listing-card:hover .photo img { transform: scale(1.04); }
.listing-card .meta { padding-top: 10px; font-size: .92rem; }
.listing-card .title-row { display: flex; justify-content: space-between; gap: 8px; font-weight: 600; }
.listing-card .price { margin-top: 4px; }
.listing-card .price b { font-weight: 600; }
.photo-badge { position: absolute; top: 12px; left: 12px; background: #fff; border-radius: 999px; padding: 4px 10px; font-size: .78rem; font-weight: 600; box-shadow: var(--shadow); }
.heart { position: absolute; top: 10px; right: 10px; background: none; border: 0; cursor: pointer; padding: 4px; z-index: 2; }
.heart svg { width: 28px; height: 28px; fill: rgba(0, 0, 0, .45); stroke: #fff; stroke-width: 2; }
.heart.on svg { fill: var(--clay); }

.empty { text-align: center; padding: 64px 16px; }

/* ---------- Listing detail ---------- */
.detail-head { padding-top: 28px; }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 8px; border-radius: var(--radius); overflow: hidden; margin: 20px 0 32px; }
.gallery button { padding: 0; border: 0; cursor: zoom-in; background: var(--sage); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery button:first-child { grid-row: span 2; }
.gallery button:nth-child(4) { grid-column: span 2; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 64px; }
h1, h2 { overflow-wrap: anywhere; }
.detail-layout section { padding: 28px 0; border-bottom: 1px solid var(--line); }
.detail-layout section:first-child { padding-top: 0; }
.facts { display: flex; gap: 6px; flex-wrap: wrap; color: var(--muted); }
.facts span + span::before { content: "·"; margin-right: 6px; }
.amenities { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0; list-style: none; }
.amenities li::before { content: "✓"; color: var(--forest); font-weight: 700; margin-right: 10px; }
.host-card { display: flex; align-items: center; gap: 14px; }
.host-card .avatar { width: 52px; height: 52px; font-size: 1.1rem; }
.trust-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.trust-list li { display: flex; gap: 12px; }
.trust-list svg { flex: none; width: 24px; height: 24px; color: var(--forest); }
#map { height: 320px; border-radius: var(--radius); z-index: 0; }
.description { white-space: pre-line; }

.book-box { position: sticky; top: 100px; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.book-box .price { font-size: 1.4rem; font-weight: 700; }
.date-pair { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #b0b4b1; border-radius: 10px 10px 0 0; }
.date-pair > div { padding: 10px 12px; }
.date-pair > div + div { border-left: 1px solid #b0b4b1; }
.date-pair label, .guest-box label { font-size: .7rem; text-transform: uppercase; margin: 0; }
.date-pair input, .guest-box input { border: 0; padding: 2px 0; }
.guest-box { border: 1px solid #b0b4b1; border-top: 0; border-radius: 0 0 10px 10px; padding: 10px 12px; margin-bottom: 16px; }
.quote { margin-top: 18px; font-size: .95rem; }
.quote .line { display: flex; justify-content: space-between; padding: 4px 0; }
.quote .total { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 12px; font-weight: 700; }

.reviews { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.stars { color: var(--clay); letter-spacing: 1px; }

.lightbox { position: fixed; inset: 0; background: rgba(0, 0, 0, .92); display: none; align-items: center; justify-content: center; z-index: 100; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 88vh; max-width: 92vw; border-radius: 8px; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .15); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; }
.lightbox .lb-close { top: 20px; right: 20px; }
.lightbox .lb-prev { left: 20px; }
.lightbox .lb-next { right: 20px; }
.lightbox .lb-caption { position: absolute; bottom: 24px; color: #fff; }

/* ---------- Dashboard ---------- */
.page-head { padding: 36px 0 20px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 32px; }
.stat { background: var(--cream); border-radius: var(--radius); padding: 20px; }
.stat .v { font-family: 'Space Grotesk'; font-size: 1.8rem; font-weight: 700; }
.stat .k { color: var(--muted); font-size: .85rem; }
.stat.highlight { background: var(--forest); color: #fff; }
.stat.highlight .k { color: #cfe0d9; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { background: var(--cream); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); }
tr:last-child td { border-bottom: 0; }
.thumb { width: 64px; height: 48px; object-fit: cover; border-radius: 8px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 24px; overflow-x: auto; }
.tabs a { padding: 10px 16px; text-decoration: none; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs a.active { color: var(--ink); border-color: var(--ink); }
.photo-admin { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.photo-admin figure { margin: 0; position: relative; }
.photo-admin img { aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; width: 100%; }
.photo-admin form { position: absolute; top: 6px; right: 6px; }
.copy-field { display: flex; gap: 8px; }
.copy-field input { font-family: ui-monospace, monospace; font-size: .8rem; }

/* ---------- Pricing page ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 24px 0; }
.compare .card.us { border: 2px solid var(--forest); }
.compare .big { font-family: 'Space Grotesk'; font-size: 3rem; font-weight: 700; }
.bar { height: 14px; border-radius: 999px; background: var(--sage); overflow: hidden; margin: 10px 0; }
.bar span { display: block; height: 100%; background: var(--clay); }
.compare .us .bar span { background: var(--forest); }
.feature-table td:first-child { font-weight: 600; }
.roadmap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.roadmap .card h3 { margin-top: 8px; }
input[type=range] { width: 100%; accent-color: var(--forest); }

/* ---------- Cleaners ---------- */
.cleaner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.cleaner-card .avatar { width: 48px; height: 48px; background: var(--clay); }

/* ---------- Auth ---------- */
.auth { max-width: 440px; margin: 56px auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--cream); border-top: 1px solid var(--line); padding: 40px 0; font-size: .9rem; }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; }
.site-footer h4 { font-size: .95rem; }
.site-footer a { display: block; text-decoration: none; color: var(--muted); padding: 3px 0; }
.site-footer a:hover { color: var(--ink); }

/* flatpickr tweaks */
.flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange { background: var(--ink) !important; border-color: var(--ink) !important; }
.flatpickr-day.inRange { background: var(--sage) !important; border-color: var(--sage) !important; box-shadow: -5px 0 0 var(--sage), 5px 0 0 var(--sage) !important; }
.flatpickr-day.flatpickr-disabled { text-decoration: line-through; }

@media (max-width: 960px) {
    .detail-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .book-box { position: static; margin-top: 24px; }
    .stats, .roadmap { grid-template-columns: 1fr 1fr; }
    .searchbar { grid-template-columns: 1fr 1fr; border-radius: 20px; gap: 4px; }
    .searchbar .seg { border-right: 0; border-bottom: 1px solid var(--line); }
    .searchbar .btn { grid-column: span 2; }
    .site-footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .brand { font-size: 1rem; }
    .nav a { padding: 8px 10px; }
    .container { padding: 0 16px; }
    .nav-hide-sm { display: none !important; }
    .gallery { grid-template-columns: 1fr; grid-template-rows: 260px; }
    .gallery button:not(:first-child) { display: none; }
    .gallery button:first-child { grid-row: auto; }
    .amenities, .reviews, .compare, .grid-2 { grid-template-columns: 1fr; }
    .stats, .roadmap { grid-template-columns: 1fr; }
    .hero .container { padding-top: 48px; padding-bottom: 56px; }
}

/* Admin */
.admin-stats { grid-template-columns: repeat(5, 1fr); }
.admin-stats a.stat { color: inherit; text-decoration: none; }
.admin-stats a.stat:hover { background: var(--sage); }
.stat-bad .v { color: var(--bad); }
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.log-list { list-style: none; padding: 0; margin: 12px 0 0; }
.log-list li { padding: 8px 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; }
.log-list code, .log-table code { font-size: .8rem; background: var(--cream); padding: 1px 6px; border-radius: 6px; }
.tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.tabs a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; }
.tabs a.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.log-table td { vertical-align: top; }
.log-table pre { white-space: pre-wrap; word-break: break-word; font-size: .75rem; max-height: 320px; overflow: auto; background: var(--cream); padding: 10px; border-radius: 8px; }
.captcha span[data-captcha-question] { font-weight: 700; }
@media (max-width: 900px) {
    .admin-stats { grid-template-columns: repeat(2, 1fr); }
    .admin-grid { grid-template-columns: 1fr; }
}

/* ---------- Messages: inbox + private guest ↔ host chat ---------- */
.container.narrow { max-width: 820px; }
.avatar-lg { width: 44px; height: 44px; font-size: .95rem; flex: none; }
.nav-messages { position: relative; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.nav-badge { position: absolute; top: -6px; left: 12px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #c2410c; color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: center; border: 2px solid #fff; }
.menu-label { padding: 6px 16px 2px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }

.inbox { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.inbox-row { display: flex; gap: 14px; align-items: center; padding: 16px 18px; text-decoration: none; color: inherit; border-bottom: 1px solid var(--line); }
.inbox-row:last-child { border-bottom: 0; }
.inbox-row:hover { background: #f7f8f6; }
.inbox-row.unread b { color: var(--forest); }
.inbox-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.inbox-preview { color: #3b413e; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inbox-row.unread .inbox-preview { font-weight: 600; }
.unread-dot { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--forest); color: #fff; font-size: .75rem; font-weight: 700; display: grid; place-items: center; }

.chat-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; padding-top: 24px; padding-bottom: 40px; align-items: start; }
.chat { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; display: flex; flex-direction: column; height: calc(100vh - 160px); min-height: 460px; }
.chat-head { padding: 16px 20px; border-bottom: 1px solid var(--line); }
.chat-title { font-size: 1.15rem; margin: 0; }
.chat-thread { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 10px; background: #fafaf8; }
.chat-empty { text-align: center; margin: auto; }
.bubble-row { display: flex; }
.bubble-row.mine { justify-content: flex-end; }
.bubble { max-width: min(78%, 520px); padding: 10px 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.bubble-row.mine .bubble { background: var(--forest); color: #fff; border-color: var(--forest); border-bottom-right-radius: 4px; }
.bubble-row.theirs .bubble { border-bottom-left-radius: 4px; }
.bubble-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.bubble-meta { font-size: .72rem; opacity: .7; margin-top: 4px; }
.chat-event { align-self: center; text-align: center; font-size: .8rem; color: var(--muted); background: #eef1ee; border-radius: 999px; padding: 6px 14px; max-width: 90%; }
.chat-event span { opacity: .8; }
.chat-compose { border-top: 1px solid var(--line); padding: 12px 16px; display: flex; flex-direction: column; gap: 6px; }
.chat-compose textarea { flex: 1; min-height: 46px; max-height: 160px; resize: vertical; }
.chat-side { position: sticky; top: 90px; }
.chat-side hr { border: 0; border-top: 1px solid var(--line); margin: 14px 0; }
.chat-cover { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; }

.account-type { border: 0; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.account-type legend { font-weight: 600; margin-bottom: 8px; font-size: .9rem; }
.account-type .choice { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: 12px; padding: 12px; cursor: pointer; }
.account-type .choice:has(input:checked) { border-color: var(--forest); box-shadow: 0 0 0 1px var(--forest); background: #f4f8f6; }
.account-type .choice > span { display: flex; flex-direction: column; }
.account-type input { margin-top: 3px; accent-color: var(--forest); }

@media (max-width: 860px) {
    .chat-layout { grid-template-columns: 1fr; padding-top: 12px; }
    .chat-side { position: static; order: -1; display: none; }
    .chat { height: calc(100vh - 120px); }
    .bubble { max-width: 88%; }
}

/* Crossed-out Airbnb comparison price + savings badge */
.was { color: #8a8a8a; font-weight: 400; margin-right: 4px; }
.save-badge { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: #e7f5ec; color: #1f7a45; font-size: .78rem; font-weight: 700; vertical-align: middle; }
.quote .save-line span:last-child { color: #1f7a45; font-weight: 700; }

/* Admin to-do list */
.todo-add { display: flex; gap: 8px; margin: 12px 0 8px; }
.todo-add input { flex: 1; min-width: 0; }
.todo-list { list-style: none; margin: 8px 0 0; padding: 0; }
.todo-list li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid #eee; }
.todo-list li form { margin: 0; }
.todo-text { flex: 1; overflow-wrap: anywhere; }
.todo-list li.done .todo-text { text-decoration: line-through; color: #8a8a8a; }
.todo-check { width: 22px; height: 22px; border: 2px solid #b9b9b9; border-radius: 6px; background: #fff; color: #fff; font-weight: 700; line-height: 1; cursor: pointer; padding: 0; }
.todo-list li.done .todo-check { background: #1f7a45; border-color: #1f7a45; }
.todo-delete { border: 0; background: none; color: #9a9a9a; font-size: 1.3rem; line-height: 1; cursor: pointer; padding: 0 4px; }
.todo-delete:hover { color: #c0392b; }
.link-btn { border: 0; background: none; color: inherit; text-decoration: underline; cursor: pointer; padding: 0; }

/* Admin usage card */
.usage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 14px 0; }
.usage-grid .v { font-size: 1.4rem; font-weight: 700; }
.usage-grid .warn .v { color: #c0392b; }
.usage-days { width: 100%; border-collapse: collapse; text-align: center; font-size: .85rem; margin-top: 4px; }
.usage-days th { font-weight: 500; color: #8a8a8a; padding: 2px 0; }
.usage-days td { font-weight: 700; padding: 2px 0 6px; }
@media (max-width: 600px) { .usage-grid { grid-template-columns: repeat(2, 1fr); } }
.nav-switch { font-weight: 600; }
