:root {
  --ground: #f4f0e8; --paper: #fffdf9; --ink: #1f2622; --muted: #4a524d; --line: #d8d0c2; --line2: #ebe5d9;
  --pine: #1f3a31; --pine2: #2c5445; --sage: #eef3ef; --sage2: #cfdcd4;
  --warn-bg: #fbeee0; --warn-line: #d9a877; --warn-ink: #4d2a08; --rust: #8a4b12;
  --bad-bg: #f8e1df; --bad-ink: #7a1f17;
  --display: Georgia, 'Iowan Old Style', 'Palatino Linotype', serif;
  --body: system-ui, -apple-system, 'Segoe UI', Ubuntu, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 16px/1.5 var(--body); }
a { color: var(--pine2); }
a:hover { color: var(--pine); }
h1, h2 { font-family: var(--display); font-weight: 600; line-height: 1.2; }
h2 { font-size: 20px; margin: 0 0 10px; }
code { font-size: 14px; background: var(--line2); padding: 1px 5px; border-radius: 4px; word-break: break-all; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.page-title { font-size: 34px; margin: 0 0 6px; }
.lead { font-size: 17px; color: var(--muted); margin: 0 0 20px; }
.testbar { background: #5a4413; color: #fff; text-align: center; padding: 8px 12px; font-size: 14px; font-weight: 600; }

/* shop layout */
.shop-head { background: var(--pine); color: var(--ground); }
.shop-head-in { max-width: 1180px; margin: 0 auto; padding: 18px 20px; display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; }
.shop-brand { font-family: var(--display); font-size: 26px; font-weight: 600; color: var(--ground); text-decoration: none; }
.shop-head nav { display: flex; gap: 20px; }
.shop-head nav a { color: var(--ground); }
.shop-main { max-width: 1180px; margin: 0 auto; padding: 28px 20px 48px; }
.foot { text-align: center; color: var(--muted); font-size: 13px; padding: 20px; }

/* admin layout */
.admin-wrap { display: flex; min-height: 100vh; }
.side { width: 230px; flex-shrink: 0; background: var(--pine); color: var(--ground); padding: 22px 14px; display: flex; flex-direction: column; gap: 4px; }
.side .brand { font-family: var(--display); font-size: 21px; font-weight: 600; padding: 0 10px 16px; }
.side a { display: flex; align-items: center; min-height: 42px; padding: 0 10px; border-radius: 8px; color: #e4ece6; text-decoration: none; }
.side a.on { background: var(--pine2); color: #fff; font-weight: 600; }
.side a.outline { border: 1px solid #4b6c5f; }
.side .grow { flex-grow: 1; }
.side .who { font-size: 13px; color: var(--sage2); padding: 10px; }
.linkish { background: none; border: none; color: #e4ece6; text-decoration: underline; cursor: pointer; padding: 0 10px; font: inherit; }
.admin-main { flex-grow: 1; min-width: 0; padding: 28px 32px 48px; }
@media (max-width: 860px) {
  .admin-wrap { flex-direction: column; }
  .side { width: auto; flex-direction: row; flex-wrap: wrap; }
  .side .grow, .side .brand { display: none; }
  .admin-main { padding: 20px 14px; }
}

/* panels, flashes, pills */
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 20px; margin-bottom: 18px; }
.panel.narrow { max-width: 640px; }
.panel.late { border-color: var(--warn-line); }
.flash { padding: 12px 16px; border-radius: 10px; margin: 0 0 14px; }
.flash-info { background: var(--sage); border: 1px solid var(--sage2); }
.flash-bad { background: var(--bad-bg); border: 1px solid #d99a93; color: var(--bad-ink); }
.flash-warn { background: var(--warn-bg); border: 1px solid var(--warn-line); color: var(--warn-ink); }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.pill-todo { background: #efe3c8; color: #5a4413; }
.pill-built { background: #dfe9f3; color: #1d3f5e; }
.pill-done { background: #d6e7db; color: var(--pine); }
.pill-wait { background: #efe3c8; color: #5a4413; }
.pill-bad { background: var(--bad-bg); color: var(--bad-ink); }
.pill-off { background: var(--line2); color: var(--muted); }
.note { background: var(--line2); border-radius: 8px; padding: 8px 12px; }
.key { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 20px; letter-spacing: 1px; background: var(--line2); padding: 10px 14px; border-radius: 8px; }

/* buttons and forms */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border-radius: 8px; border: none; background: var(--pine); color: var(--ground); font: 600 16px var(--body); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--pine2); color: #fff; }
.btn-quiet { background: transparent; color: var(--pine); border: 1px solid #7a8f84; }
.btn-quiet:hover { background: var(--sage); color: var(--pine); }
.btn-danger { background: #9b2c20; }
.btn-danger:hover { background: #7a1f17; }
.btn-small { min-height: 38px; padding: 0 14px; font-size: 14px; }
.btn-wide { width: 100%; margin-top: 14px; }
.form { display: flex; flex-direction: column; gap: 14px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: end; }
.form-grid .span2 { grid-column: span 2; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
input:not([type=radio]):not([type=checkbox]), select, textarea { min-height: 44px; padding: 8px 12px; border: 1px solid #b9b1a3; border-radius: 8px; background: #fff; font: 16px var(--body); color: var(--ink); }
input:focus-visible, select:focus-visible, button:focus-visible, a:focus-visible, textarea:focus-visible { outline: 3px solid #7aa391; outline-offset: 2px; }
label.check { flex-direction: row; align-items: center; gap: 10px; min-height: 40px; font-weight: 400; font-size: 15px; }
label.check input { width: 20px; height: 20px; }
.row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid2.top { align-items: start; }
@media (max-width: 760px) { .grid2, .form-grid { grid-template-columns: 1fr; } .form-grid .span2 { grid-column: auto; } }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-end; margin-top: 12px; }
.inline { display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; }
.inline label { flex-direction: row; align-items: center; gap: 8px; }
.search { margin: 10px 0 16px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.perms { border: 1px solid var(--line2); border-radius: 10px; padding: 12px 16px; }
.perms .locked { color: var(--muted); margin: 6px 0; font-size: 15px; }
.weekdays { border: none; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.weekdays legend { font-weight: 600; font-size: 14px; margin-bottom: 4px; }
details summary { list-style: none; }
details summary::-webkit-details-marker { display: none; }

/* tables and facts */
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th { text-align: left; color: var(--muted); font-size: 13px; font-weight: 600; padding: 6px 8px 6px 0; }
.tbl td { border-top: 1px solid var(--line2); padding: 9px 8px 9px 0; vertical-align: top; }
.tbl tr.dim td { opacity: .6; }
.panel { overflow-x: auto; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.facts-row { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 15px; }
.facts-row em { display: block; font-style: normal; color: var(--muted); font-size: 13px; }
.tabs { display: flex; gap: 4px; padding: 4px; background: #e8e2d6; border-radius: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.tabs a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.tabs a.on { background: var(--pine); color: var(--ground); }
.right { text-align: right; }
.placement h2 { margin-bottom: 2px; }
.placement p { margin: 2px 0; }

/* dashboard */
.stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
@media (max-width: 1100px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.stat-label, .stat-note { font-size: 14px; color: var(--muted); }
.stat-num { font-family: var(--display); font-size: 36px; font-weight: 600; }
.bars { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; align-items: end; height: 170px; }
.bar-col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; height: 100%; }
.bar { width: 100%; border-radius: 6px 6px 0 0; background: var(--pine2); }
.bar.full { background: var(--rust); }
.bar.off { background: var(--line); }
.bar-n { font-size: 13px; font-weight: 600; }
.bar-d { font-size: 13px; color: var(--muted); }
.h0 { height: 6px; } .h1 { height: 12px; } .h2 { height: 24px; } .h3 { height: 36px; } .h4 { height: 48px; } .h5 { height: 60px; }
.h6 { height: 72px; } .h7 { height: 84px; } .h8 { height: 96px; } .h9 { height: 108px; } .h10 { height: 120px; }

/* schedule calendar */
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-h { font-size: 13px; font-weight: 600; color: var(--muted); text-align: center; }
.cal-d { border: 1px solid var(--line2); border-radius: 8px; padding: 6px 8px; min-height: 64px; display: flex; flex-direction: column; font-size: 13px; }
.cal-d.off { background: var(--line2); color: var(--muted); }
.cal-d.full { background: var(--warn-bg); border-color: var(--warn-line); }
.cal-d.past { opacity: .45; }
.cal-n { font-weight: 600; }
.cal-note { font-size: 12px; color: var(--rust); }

/* designs */
.design-paused { background: var(--warn-bg); border-color: var(--warn-line); }
.design-retired { opacity: .7; }
.seg { display: inline-flex; gap: 4px; padding: 4px; background: #e8e2d6; border-radius: 10px; }
.seg-btn { min-height: 40px; padding: 0 14px; border: none; border-radius: 8px; background: transparent; font: 600 14px var(--body); cursor: pointer; color: var(--ink); }
.seg-btn.on { color: #fff; }
.seg-on { background: var(--pine); } .seg-paused { background: var(--rust); } .seg-retired { background: #4a524d; }

/* order form */
.order-cols { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 32px; align-items: start; }
@media (max-width: 900px) { .order-cols { grid-template-columns: 1fr; } }
.step { border: none; padding: 0; margin: 0 0 28px; }
.step legend { font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.hint { color: var(--muted); margin: 0 0 12px; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }
.card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); cursor: pointer; font-weight: 400; }
.card input[type=radio] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.card:has(input:checked) { background: var(--sage); border: 2px solid var(--pine); box-shadow: 0 0 0 3px var(--sage2); padding: 15px; }
.card:has(input:focus-visible) { outline: 3px solid #7aa391; outline-offset: 2px; }
.card-off { opacity: .6; cursor: not-allowed; }
.card-photo { height: 110px; border-radius: 8px; background: #e6dfd2; display: flex; align-items: center; justify-content: center; color: #5b5f57; font-size: 13px; }
.card-top { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.card-name { font-family: var(--display); font-size: 20px; font-weight: 600; }
.card-price { font-weight: 600; font-size: 16px; }
.card-sub { color: var(--muted); font-size: 14px; }
.card-lasts { color: var(--pine2); font-size: 13px; font-weight: 600; }
.card-note { color: var(--rust); font-size: 13px; font-weight: 600; }
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.days-month { grid-column: 1 / -1; font-weight: 600; margin-top: 8px; }
.day { position: relative; display: flex; flex-direction: column; align-items: center; gap: 0; padding: 8px 2px; min-height: 76px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); cursor: pointer; font-weight: 400; }
.day input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.day:has(input:checked) { background: var(--pine); color: var(--ground); border-color: var(--pine); }
.day:has(input:focus-visible) { outline: 3px solid #7aa391; outline-offset: 2px; }
.day.closed, .day.full { background: #e3ddd1; color: #6b6f69; cursor: not-allowed; text-decoration: line-through; }
.day-wd { font-size: 12px; text-transform: uppercase; letter-spacing: .5px; }
.day-num { font-family: var(--display); font-size: 22px; font-weight: 600; }
.day-left { font-size: 12px; }
.summary { position: sticky; top: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.summary h2 { margin-bottom: 14px; }
.sum-row { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.sum-total { display: flex; justify-content: space-between; font-size: 18px; font-weight: 600; border-top: 1px solid var(--line); padding-top: 10px; margin-top: 6px; }
.secure { background: var(--sage); border-radius: 8px; padding: 10px 12px; font-size: 13px; color: var(--pine); margin: 12px 0 0; }
.steps li { margin-bottom: 8px; }

/* 0.2.0 additions */
.cmd { background: #1f2a24; color: #eef2ec; border-radius: 8px; padding: 10px 12px; font: 13px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre-wrap; word-break: break-all; margin: 8px 0; }
.demobar { background: #6b4e9b; }
.card-wrap { display: flex; flex-direction: column; gap: 6px; }
.card-img { width: 100%; height: 160px; object-fit: cover; border-radius: 8px; background: #e6dfd2; }
.thumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; }
.thumbs img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); }
.choice-block { margin-top: 16px; }
.choices { border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin: 14px 0 0; background: var(--paper); }
.choices legend { font-weight: 600; padding: 0 6px; }
.choices .check { display: block; margin: 6px 0; }
.passkey-box { margin: 12px 0; }
.passkey-status.bad, .field-note.bad { color: var(--rust); }
.field-note { display: block; font-size: 13px; color: var(--muted); font-weight: 400; margin-top: 4px; min-height: 1em; }
.field-note.good { color: var(--pine); }
.demo-card { border: 1px dashed var(--line); border-radius: 12px; padding: 12px 16px; margin: 12px 0; background: var(--ground); }
.demopay .actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.code-input { font: 600 24px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: 6px; max-width: 12ch; }
.photo-admin { display: flex; flex-wrap: wrap; gap: 12px; }
.photo-admin figure { margin: 0; width: 160px; }
.photo-admin img { width: 160px; height: 120px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.photo-admin figcaption { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.design-thumb { width: 88px; height: 88px; object-fit: cover; border-radius: 8px; margin-right: 12px; }
.placed-form label { font-weight: 400; font-size: 14px; }
.check-item summary { cursor: pointer; font-size: 17px; }
.check-item[open] summary { margin-bottom: 10px; }
.num { width: 5em; }
details.grave { border-bottom: 1px solid var(--line2); padding: 6px 0; }
.tabs a.on { font-weight: 600; }
.key { font: 600 20px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: 2px; }

/* 0.3.0 website */
.site-head { background: var(--pine); color: #fff; }
.site-head-in { max-width: 1180px; margin: 0 auto; padding: 14px 20px; display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; }
.site-brand { display: flex; align-items: center; gap: 14px; color: #fff; text-decoration: none; margin-right: auto; }
.site-brand:hover { color: #fff; }
.site-logo { max-height: 64px; max-width: 220px; width: auto; }
.site-name { font-family: var(--display); font-size: 26px; font-weight: 600; line-height: 1.15; display: flex; flex-direction: column; }
.site-tagline { font-family: var(--body); font-size: 14px; font-weight: 400; opacity: .9; }
.head-phone { color: #fff; font-weight: 600; white-space: nowrap; border: 1px solid rgba(255,255,255,.55); border-radius: 8px; padding: 6px 12px; text-decoration: none; }
.head-phone:hover { color: #fff; background: rgba(255,255,255,.12); }
.nav-wide { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.nav-wide a, .nav-narrow a { color: #fff; text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
.nav-wide a:hover, .nav-wide a[aria-current] { border-bottom-color: #fff; }
.nav-narrow { display: none; }
.nav-narrow[open] { width: 100%; }
.nav-narrow summary { cursor: pointer; list-style: none; font-weight: 600; border: 1px solid rgba(255,255,255,.55); border-radius: 8px; padding: 6px 12px; display: inline-block; }
.nav-narrow summary::-webkit-details-marker { display: none; }
.nav-narrow nav { display: flex; flex-direction: column; padding: 8px 0; }
.nav-narrow nav a { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
@media (max-width: 760px) {
  .nav-wide { display: none; }
  .site-brand { width: 100%; }
  .nav-narrow { display: block; }
  .site-name { font-size: 21px; }
  .site-logo { max-height: 48px; }
}
.site-foot { background: var(--pine); color: #fff; margin-top: 40px; }
.site-foot a { color: #fff; }
.site-foot-in { max-width: 1180px; margin: 0 auto; padding: 28px 20px 8px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; font-size: 15px; }
.foot-links { display: flex; flex-direction: column; gap: 6px; }
.foot-copy { text-align: center; font-size: 13px; opacity: .8; margin: 0; padding: 12px 20px 20px; }
.hero { position: relative; border-radius: 14px; overflow: hidden; background: var(--sage); margin-bottom: 24px; }
.hero-img { display: block; width: 100%; height: 420px; object-fit: cover; }
.hero-text { padding: 28px; }
.hero-photo .hero-text { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(transparent, rgba(0,0,0,.7)); color: #fff; padding-top: 80px; }
.hero h1 { font-size: 36px; margin: 0 0 8px; }
.hero-photo h1 { color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 0; }
.hero-photo .btn-quiet { background: rgba(255,255,255,.9); }
@media (max-width: 600px) { .hero-img { height: 300px; } .hero h1 { font-size: 27px; } }
.cards-3 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.card-link { text-decoration: none; color: var(--ink); }
.card-link:hover { border-color: var(--pine); }
.content { font-size: 17px; line-height: 1.65; max-width: 820px; }
.content h2 { font-size: 30px; margin-top: 0; } .content h3 { font-size: 22px; margin-top: 28px; } .content h4 { font-size: 18px; }
.content-img { display: block; max-width: 100%; height: auto; border-radius: 10px; margin: 16px 0; }
.content blockquote { border-left: 4px solid var(--pine2); margin: 16px 0; padding: 4px 18px; background: var(--sage); border-radius: 0 8px 8px 0; font-style: italic; }
.content .btn { text-decoration: none; }
.contact-facts { margin: 20px 0; }
.contact-form { margin-top: 20px; }
.edit-cols { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 20px; align-items: start; }
@media (max-width: 1000px) { .edit-cols { grid-template-columns: 1fr; } }
.page-text { font: 15px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.pick-photo { display: grid; grid-template-columns: 64px 1fr; gap: 4px 8px; align-items: center; margin-bottom: 10px; }
.pick-photo img { width: 64px; height: 48px; object-fit: cover; border-radius: 6px; grid-row: span 2; }
.pick-photo code { font-size: 12px; word-break: break-all; }
.help summary { cursor: pointer; color: var(--pine2); margin: 6px 0; }
.swatches { display: grid; gap: 8px; }
.swatch-pick { display: flex; align-items: center; gap: 10px; font-weight: 400; }
.swatch { display: inline-flex; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); }
.swatch i { display: block; width: 26px; height: 26px; }
.logo-preview img { max-height: 90px; max-width: 100%; background: repeating-conic-gradient(#ddd 0 25%, #fff 0 50%) 0 0 / 16px 16px; border-radius: 6px; }
.msg-body { white-space: normal; background: var(--ground); border-radius: 8px; padding: 12px; }
.dim { opacity: .65; }
.sw-pine i:nth-child(1) { background: #1f3a31; } .sw-pine i:nth-child(2) { background: #2c5445; } .sw-pine i:nth-child(3) { background: #f4f0e8; } .sw-pine i:nth-child(4) { background: #dfe8e1; } .sw-pine i:nth-child(5) { background: #24302b; }
.sw-forgetmenot i:nth-child(1) { background: #000080; } .sw-forgetmenot i:nth-child(2) { background: #000080; } .sw-forgetmenot i:nth-child(3) { background: #fffff0; } .sw-forgetmenot i:nth-child(4) { background: #98a869; } .sw-forgetmenot i:nth-child(5) { background: #292f33; }
.sw-navy i:nth-child(1) { background: #1c2e4a; } .sw-navy i:nth-child(2) { background: #7a5a12; } .sw-navy i:nth-child(3) { background: #f5f2ea; } .sw-navy i:nth-child(4) { background: #e6dcc4; } .sw-navy i:nth-child(5) { background: #1c2433; }
.sw-burgundy i:nth-child(1) { background: #5a1f2b; } .sw-burgundy i:nth-child(2) { background: #7a2e3c; } .sw-burgundy i:nth-child(3) { background: #f7f1ee; } .sw-burgundy i:nth-child(4) { background: #ead9da; } .sw-burgundy i:nth-child(5) { background: #2e1a1f; }
.sw-slate i:nth-child(1) { background: #2f3a45; } .sw-slate i:nth-child(2) { background: #8a3b52; } .sw-slate i:nth-child(3) { background: #f3f1f1; } .sw-slate i:nth-child(4) { background: #e2e6ea; } .sw-slate i:nth-child(5) { background: #2f3a45; }
.sw-sage i:nth-child(1) { background: #3d5a45; } .sw-sage i:nth-child(2) { background: #4f6b3a; } .sw-sage i:nth-child(3) { background: #f2f4ee; } .sw-sage i:nth-child(4) { background: #98a869; } .sw-sage i:nth-child(5) { background: #2f3a33; }
.sw-charcoal i:nth-child(1) { background: #2a2a2a; } .sw-charcoal i:nth-child(2) { background: #5a4632; } .sw-charcoal i:nth-child(3) { background: #f5f3ef; } .sw-charcoal i:nth-child(4) { background: #e4ded4; } .sw-charcoal i:nth-child(5) { background: #2a2a2a; }

/* 0.4.0: bands (both styles), blog, Classic style */
body { overflow-x: clip; }
.bleed { width: 100vw; position: relative; left: 50%; margin-left: -50vw; }
.shop-main > .bleed:first-child, .shop-main > .flash + .bleed { margin-top: -28px; }
.band { padding: 64px 20px; }
.band-in { max-width: 900px; margin: 0 auto; }
.band-light { background: var(--ground); }
.band-white { background: var(--paper); }
.band-color { background: var(--band, #dfe7c8); color: var(--band-ink, #1f2622); }
.band-dark { background: var(--dark, #2f3a45); color: #fff; }
.band-dark a:not(.btn), .band-dark h2, .band-dark h3, .band-dark h4 { color: #fff; }
.band-color h2, .band-color h3, .band-color h4, .band-color a:not(.btn) { color: var(--band-ink, #1f2622); }
.band-dark .card, .band-color .card { color: var(--ink); }
.band .content, .band-in.content { max-width: 900px; }
.band h2 { text-align: center; }
.card-cta { margin-top: auto; font-weight: 600; color: var(--pine); }
.design-cards { margin: 20px 0; }
.foot-message { max-width: 900px; margin: 0 auto; padding: 32px 20px 0; text-align: center; font-size: 18px; }
.foot-message a { color: #fff; }
.post h1 { font-size: 34px; margin: 4px 0 16px; }
.post-foot { margin-top: 28px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.post-card .card-name { font-size: 20px; }
.pager { display: flex; gap: 20px; justify-content: center; margin: 24px 0; }
.btn-second { background: var(--pine2); }
.hero-lead { font-size: 18px; }

/* Classic style: light header, full-width photo hero, bands, serif type, square capital buttons */
.style-classic { --display: 'Merriweather', Georgia, 'Times New Roman', serif; --body: 'Merriweather', Georgia, 'Times New Roman', serif; font-size: 16px; }
.style-classic .site-head { background: var(--ground); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.style-classic .site-brand, .style-classic .site-brand:hover { color: var(--ink); }
.style-classic .nav-wide a, .style-classic .nav-narrow a { color: var(--ink); }
.style-classic .nav-wide a:hover, .style-classic .nav-wide a[aria-current] { color: var(--pine); border-bottom-color: var(--pine); }
.style-classic .nav-narrow summary { border-color: var(--line); }
.style-classic .nav-narrow nav a { border-bottom-color: var(--line); }
.style-classic .head-phone { color: var(--pine); border-color: var(--pine); }
.style-classic .head-phone:hover { color: var(--pine); background: var(--sage); }
.style-classic .btn { border-radius: 0; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; font-size: 15px; padding: 0 26px; }
.style-classic .btn-quiet { background: var(--paper); }
.style-classic .hero { border-radius: 0; margin: 0; min-height: 440px; display: flex; align-items: center; justify-content: center; background: var(--sage); }
.style-classic .hero-img { position: absolute; inset: 0; height: 100%; }
.style-classic .hero-photo::after { content: ''; position: absolute; inset: 0; background: rgba(242, 242, 242, .5); }
.style-classic .hero-text, .style-classic .hero-photo .hero-text { position: relative; z-index: 1; background: none; color: var(--ink); text-align: center; max-width: 960px; padding: 80px 20px; }
.style-classic .hero h1 { color: var(--ink); font-size: 58px; font-weight: 700; line-height: 1.15; }
.style-classic .hero-lead { font-weight: 700; max-width: 660px; margin: 18px auto 0; }
.style-classic .hero-actions { justify-content: center; gap: 20px 60px; margin-top: 32px; }
@media (max-width: 700px) { .style-classic .hero h1 { font-size: 34px; } .style-classic .hero-actions .btn { width: 100%; } }
.style-classic .panel.content { background: transparent; border: none; padding: 8px 0; }
.style-classic .content h2 { font-size: 40px; font-weight: 400; }
.style-classic .band-dark h2 { text-transform: uppercase; font-size: 32px; }
.style-classic .band-color h2, .style-classic .band-color h3 { font-style: italic; font-weight: 700; }
.style-classic .content blockquote { background: none; border-left: 6px solid var(--pine); border-radius: 0; }
.style-classic .band-color blockquote { color: inherit; }
.style-classic .home-designs h2, .style-classic .page-title { font-size: 44px; font-weight: 400; text-align: center; }
.style-classic .card { border-radius: 0; background: var(--paper); }
.style-classic .site-foot { background: var(--dark, #333); }
.style-classic .foot-copy { opacity: .85; }
.style-classic .band h3, .style-classic .band p { text-align: center; }
.style-classic .band li p, .style-classic .band blockquote p { text-align: left; }
.style-classic .band ol, .style-classic .band ul { max-width: 640px; margin-left: auto; margin-right: auto; }
.shop-main:has(> .bleed:last-child) { padding-bottom: 0; }
.shop-main:has(> .bleed:last-child) + .site-foot { margin-top: 0; }

/* ===================================================================== */
/* Party Quotes: theme mapping. The theme stylesheet (index.php?r=theme)  */
/* sets --brand, --accent, --ground, --sun from Settings.                 */
/* ===================================================================== */
:root {
  --brand: #1d2a5b; --brand-soft: #e8eaef; --brand-line: #c6cad6; --accent: #c2410c;
  --sun: #ffc93c; --sun-soft: #ffe9b1; --ground: #f3f7fb; --ink: #1b1f2a; --muted: #4c5363;
  --line: #d5dae4; --line2: #e9edf3; --paper: #ffffff;
  --pine: var(--brand); --pine2: var(--brand); --sage: var(--brand-soft); --sage2: var(--brand-line);
  --round: ui-rounded, 'SF Pro Rounded', 'Nunito', 'Varela Round', 'Arial Rounded MT Bold', system-ui, sans-serif;
  --display: var(--round);
}
body { background: var(--ground); color: var(--ink); }
a { color: var(--accent); }
a:hover { color: var(--brand); }
h1, h2, h3 { font-family: var(--round); font-weight: 800; letter-spacing: -0.01em; }
h3 { font-size: 17px; margin: 18px 0 8px; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.center { text-align: center; }
.right { text-align: right; }
.plain { list-style: none; padding: 0; margin: 0 0 12px; }
.plain li { padding: 6px 0; border-bottom: 1px solid var(--line2); }
.two, .three, .four { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 700px) { .two, .three, .four { grid-template-columns: 1fr; } }
.btn { background: var(--brand); color: #fff; border-radius: 999px; }
.btn:hover { background: var(--ink); color: #fff; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn-quiet { background: transparent; color: var(--brand); border: 2px solid var(--brand-line); }
.btn-quiet:hover { background: var(--brand-soft); color: var(--brand); }
.btn-sun { background: var(--sun); color: var(--brand); font-weight: 800; }
.btn-sun:hover { background: var(--brand); color: #fff; }
.btn-danger { background: #9b2c20; }
.testbar { background: #3f2d00; }

/* ----- public header: navy band with an inflatable, scalloped bottom edge ----- */
.site-head { background: var(--brand); color: #fff; position: relative; padding-bottom: 14px; }
.site-head::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -13px; height: 14px;
  background: radial-gradient(circle at 14px 0, var(--brand) 13px, transparent 14px) 0 0 / 28px 14px repeat-x;
}
.site-head-in { max-width: 1180px; margin: 0 auto; padding: 14px 20px 6px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.site-brand { display: flex; align-items: center; text-decoration: none; color: #fff; }
.site-logo { max-height: 64px; max-width: 240px; background: #fff; border-radius: 14px; padding: 6px 10px; }
.site-name { font: 800 26px/1.1 var(--round); color: #fff; }
.head-right { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.head-phone { color: #fff; font-weight: 700; text-decoration: none; padding: 8px 12px; }
.head-phone:hover { color: var(--sun); }
.head-list { display: inline-flex; align-items: center; gap: 8px; background: var(--sun); color: var(--brand); font-weight: 800; text-decoration: none; border-radius: 999px; padding: 10px 18px; }
.head-list .count { background: var(--brand); color: #fff; border-radius: 999px; min-width: 26px; padding: 1px 8px; text-align: center; font-size: 14px; }
.head-list:hover, .head-list.on { background: #fff; color: var(--brand); }
.cat-nav { max-width: 1180px; margin: 0 auto; padding: 0 12px; overflow-x: auto; }
.cat-nav-in { display: flex; gap: 4px; white-space: nowrap; padding-bottom: 4px; }
.cat-nav a { color: #dfe4f2; text-decoration: none; padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: 15px; }
.cat-nav a:hover, .cat-nav a[aria-current] { background: rgba(255,255,255,.14); color: #fff; }
.plain-head { background: var(--brand); color: #fff; padding: 16px 20px; font: 800 20px var(--round); }
.shop-main { padding-top: 40px; }
.site-foot { background: var(--ink); color: #d5d9e3; margin-top: 40px; }
.site-foot a { color: var(--sun); }
.site-foot-in { max-width: 1180px; margin: 0 auto; padding: 28px 20px 8px; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.foot-links { display: flex; flex-direction: column; gap: 6px; }
.foot-copy { max-width: 1180px; margin: 0 auto; padding: 8px 20px 24px; color: #9aa1b2; font-size: 13px; }

/* ----- home ----- */
.hero-quote { max-width: 760px; margin: 0 0 30px; }
.hero-quote h1 { font-size: clamp(32px, 5vw, 50px); line-height: 1.05; margin: 0 0 12px; color: var(--brand); }
.hero-lead { font-size: 19px; color: var(--muted); margin: 0 0 18px; }
.how { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; counter-reset: how; }
.how li { counter-increment: how; background: var(--paper); border: 2px solid var(--brand-line); border-radius: 999px; padding: 8px 16px 8px 8px; display: flex; align-items: center; gap: 8px; }
.how li::before { content: counter(how); display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--sun); color: var(--brand); font-weight: 800; }
.tiles { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.tile { position: relative; display: block; border-radius: 22px; overflow: hidden; background: var(--brand-soft); aspect-ratio: 4 / 3; text-decoration: none; box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--brand-line); }
.tile img, .tile-blank { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile-name { position: absolute; left: 12px; bottom: 12px; background: var(--sun); color: var(--brand); font: 800 18px var(--round); padding: 6px 14px; border-radius: 999px; }
.tile:hover .tile-name { background: var(--brand); color: #fff; }

/* ----- category and item ----- */
.rentals { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.rental { display: flex; flex-direction: column; background: var(--paper); border: 2px solid var(--line); border-radius: 18px; overflow: hidden; text-decoration: none; color: var(--ink); }
.rental:hover { border-color: var(--brand); }
.rental img, .rental-blank { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: #fff; display: block; }
.rental-blank { background: var(--brand-soft); }
.rental-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; }
.rental-name { font: 800 17px/1.25 var(--round); color: var(--brand); }
.rental-facts { color: var(--muted); font-size: 14px; }
.rental-tag { align-self: flex-start; background: var(--sun-soft); color: var(--brand); border-radius: 999px; padding: 1px 10px; font-size: 13px; font-weight: 700; }
.crumb { margin: 0 0 8px; font-weight: 600; }
.item-cols { display: grid; gap: 28px; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 860px) { .item-cols { grid-template-columns: 1fr; } }
.item-main { width: 100%; border-radius: 20px; background: #fff; border: 2px solid var(--line); }
.item-noimg { aspect-ratio: 4 / 3; border-radius: 20px; background: var(--brand-soft); }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.thumb { border: 2px solid var(--line); border-radius: 10px; padding: 0; background: #fff; cursor: pointer; width: 72px; height: 72px; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { border-color: var(--brand); }
.item-info .facts { margin: 0 0 14px; }
.item-desc { margin-top: 20px; color: var(--ink); line-height: 1.6; }
.add-form { background: var(--paper); border: 2px solid var(--line); border-radius: 18px; padding: 18px; }
.choice-set { border: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.choice-set legend { font-weight: 800; margin-bottom: 8px; font-family: var(--round); }
.choice-set > p { flex-basis: 100%; margin: 0 0 4px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; }
.chip span { display: inline-block; padding: 9px 16px; border: 2px solid var(--brand-line); border-radius: 999px; background: #fff; cursor: pointer; font-weight: 600; }
.chip input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }
.qty-row { display: flex; align-items: center; gap: 10px; flex-direction: row; }
.num { width: 5.5em; }
.money { width: 7.5em; }
.note { background: var(--sun-soft); border-radius: 12px; padding: 10px 14px; }

/* ----- list and request ----- */
.list-lines { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-direction: column; gap: 10px; }
.list-line { display: grid; grid-template-columns: 72px 1fr auto auto; gap: 14px; align-items: center; background: var(--paper); border: 2px solid var(--line); border-radius: 16px; padding: 10px 14px; }
.list-line img, .list-noimg { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; background: var(--brand-soft); }
@media (max-width: 600px) { .list-line { grid-template-columns: 56px 1fr; } .list-line img, .list-noimg { width: 56px; height: 56px; } }
.list-next { margin-top: 18px; }
.request-cols { display: grid; gap: 24px; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 900px) { .request-cols { grid-template-columns: 1fr; } }
.list-aside { position: sticky; top: 16px; }
fieldset.group { border: 2px solid var(--line); border-radius: 18px; background: var(--paper); padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; margin: 0; }
fieldset.group legend { font: 800 18px var(--round); padding: 0 6px; color: var(--brand); }
.date-row { display: grid; gap: 10px; grid-template-columns: 2fr 1fr 1fr; }
.date-row.extra { display: none; }
.date-row.extra.shown { display: grid; }
.field-note.good { color: #1d6b3a; }
.field-note.bad { color: #9b2c20; }
.thanks h1 { color: var(--brand); }

/* ----- quote page ----- */
.quote-page { max-width: 900px; margin: 0 auto; }
.quote-top { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.quote-top h2 { margin: 0; color: var(--brand); }
.quote-for { text-align: right; }
.quote-lines td, .quote-lines th { vertical-align: top; }
.totals { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; max-width: 420px; margin: 12px 0 0 auto; }
.totals dt { text-align: right; color: var(--muted); }
.totals dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.totals .strong { font-weight: 800; color: var(--brand); font-size: 18px; }
.answer-cols { display: grid; gap: 18px; grid-template-columns: 1.3fr 1fr; }
@media (max-width: 760px) { .answer-cols { grid-template-columns: 1fr; } }
.demopay { text-align: center; }

/* ----- admin additions ----- */
.side { background: var(--brand); }
.side a.on { background: rgba(255,255,255,.16); }
.stats { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin-bottom: 18px; }
.stat { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; text-decoration: none; color: var(--ink); }
.stat-num { font: 800 30px var(--round); color: var(--brand); }
.stat-label { color: var(--muted); font-size: 14px; }
.stat-hot { border-color: var(--sun); box-shadow: inset 0 0 0 2px var(--sun); }
.scroll { overflow-x: auto; }
.lines-edit input:not([type=checkbox]) { min-width: 0; }
.lines-edit td { vertical-align: top; }
.add-boxes { display: grid; gap: 20px; grid-template-columns: 1fr 1fr; margin-top: 18px; border-top: 1px solid var(--line2); padding-top: 8px; }
@media (max-width: 900px) { .add-boxes { grid-template-columns: 1fr; } }
.edit-cols { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; align-items: start; }
@media (max-width: 900px) { .edit-cols { grid-template-columns: 1fr; } }
.panel.inner { background: var(--ground); }
details > summary { cursor: pointer; }
.mini { width: 44px; height: 44px; object-fit: cover; border-radius: 6px; }
.photo-admin { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.photo-admin figure { margin: 0; width: 170px; }
.photo-admin img { width: 170px; height: 130px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.allowed { display: grid; gap: 2px 14px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); max-height: 320px; overflow-y: auto; border: 1px solid var(--line2); border-radius: 8px; padding: 8px; }
.pick-photo { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pick { display: flex; flex-direction: column; align-items: center; }
.pick img { width: 90px; height: 70px; object-fit: cover; border-radius: 6px; }
.logo-preview { max-height: 90px; background: #fff; padding: 8px; border: 1px solid var(--line); border-radius: 8px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg-btn { display: flex; gap: 8px; align-items: center; border: 2px solid var(--line); border-radius: 999px; padding: 8px 14px; background: #fff; flex-direction: row; }
.inline { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.steps-list li { margin-bottom: 10px; }
.narrow-form { max-width: 520px; }
input[type=color] { height: 44px; padding: 2px; }

/* ----- calendar ----- */
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; margin-bottom: 20px; }
.cal-h { font-weight: 700; text-align: center; color: var(--muted); font-size: 13px; padding: 4px 0; }
.cal-d { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; min-height: 96px; padding: 4px; display: flex; flex-direction: column; gap: 3px; overflow: hidden; }
.cal-off { background: transparent; border-color: transparent; }
.cal-today { box-shadow: inset 0 0 0 2px var(--sun); }
.cal-n { font-weight: 700; font-size: 13px; color: var(--muted); }
.ev { display: block; font-size: 12px; line-height: 1.25; padding: 2px 5px; border-radius: 5px; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.legend .ev { display: inline-block; font-size: 13px; }
.ev-booked { background: var(--brand); color: #fff; }
.ev-accepted { background: var(--sun); color: var(--brand); }
.ev-soft { background: var(--line2); color: var(--muted); }
.ev-block { background: #f3dcd6; color: #6b1f12; }
@media (max-width: 700px) { .cal { grid-template-columns: 1fr; } .cal-h, .cal-off { display: none; } .cal-d { min-height: 0; } }

/* ----- hover colors on dark backgrounds (0.2.1) -----
   The general "a:hover { color: var(--brand) }" rule also reached links that sit ON the main
   color (the admin sidebar, booked days on the calendar, the public footer), so their text
   turned the same color as the background and vanished. These rules keep them readable. */
.side a:hover, .side a:focus-visible { background: rgba(255,255,255,.12); color: #fff; }
.side a.on:hover { background: rgba(255,255,255,.2); color: #fff; }
.side a.outline { border-color: rgba(255,255,255,.35); }
.side .linkish:hover { color: #fff; }
.ev-booked:hover { color: #fff; filter: brightness(1.25); }
.ev-accepted:hover { color: var(--brand); filter: brightness(1.05); }
.ev-soft:hover { color: var(--ink); }
.site-foot a:hover { color: #fff; }
.tabs a.on:hover { color: var(--ground); }

/* ===== 0.3.0: dates, availability, coupon, cookie bar, lost sales, sync ===== */
.when-bar { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; background: var(--paper); border: 2px solid var(--brand-line); border-radius: 16px; padding: 10px 14px; margin: 0 0 20px; }
.when-times { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.when-times label { flex-direction: column; }
.when-step { font-size: 20px; margin: 18px 0 6px; }
.cal-public { max-width: 520px; background: var(--paper); border: 2px solid var(--line); border-radius: 18px; padding: 14px; }
.cal-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-family: var(--round); font-size: 18px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-dn { text-align: center; font-size: 13px; color: var(--muted); font-weight: 700; }
.cal-day { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; border-radius: 12px; font-weight: 700; text-decoration: none; }
a.cal-day.cal-open { background: var(--brand-soft); color: var(--brand); border: 2px solid var(--brand-line); }
a.cal-day.cal-open:hover, a.cal-day.cal-open:focus-visible { background: var(--brand); color: #fff; }
.cal-day.cal-booked, .cal-day.cal-off { background: transparent; color: #a3a9b6; text-decoration: line-through; cursor: not-allowed; }
.cal-day.cal-off { text-decoration: none; }
.cal-day.cal-start { background: var(--sun); color: var(--brand); border: 2px solid var(--brand); }
.cal-key { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin: 0 4px 0 10px; }
.cal-key.cal-open { background: var(--brand-soft); border: 2px solid var(--brand-line); }
.cal-key.cal-booked { background: #e6e8ee; }
.avail { display: inline-block; font-size: 13px; font-weight: 700; border-radius: 999px; padding: 2px 10px; }
.avail-yes { background: #dff3e6; color: #17603a; }
.avail-no { background: #fdecd6; color: #8a4b05; }
.rental { position: relative; }
.rental-link { display: flex; flex-direction: column; color: var(--ink); text-decoration: none; flex: 1; }
.rental-link:hover { color: var(--ink); }
.rental-booked { background: #f4f5f8; border-style: dashed; }
.rental-booked img { filter: grayscale(.85); opacity: .6; }
.rental-booked .rental-name { color: var(--muted); }
.rental-similar { margin: 0 14px 14px; }
.booked-box { border-style: dashed; }
.list-booked { border-style: dashed; background: #fbfbfc; }
.small-row { margin-top: 6px; gap: 6px; }
.coupon-box { display: flex; flex-direction: column; gap: 6px; background: var(--sun-soft); border: 2px solid var(--sun); border-radius: 16px; padding: 14px 16px; margin: 18px 0; }
.coupon-box .inline input { min-width: 240px; }
.coupon-box.done { background: #dff3e6; border-color: #9fd6b3; }
.cookie-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; max-width: 760px; margin: 0 auto; background: var(--ink); color: #f2f4f8; border-radius: 16px; padding: 14px 18px; box-shadow: 0 10px 30px rgba(0,0,0,.25); animation: slideup .35s ease-out; display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.cookie-bar p { margin: 0; flex: 1 1 320px; font-size: 14px; }
.cookie-bar a { color: var(--sun); }
.cookie-bar .btn-quiet { color: #fff; border-color: rgba(255,255,255,.5); }
@keyframes slideup { from { transform: translateY(120%); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .cookie-bar { animation: none; } }
.lost-top { border-left: 0; }
.lost-big { font-size: 20px; margin: 0 0 6px; }
.headline p { margin: 0 0 6px; font-size: 16px; }
.headline-link { display: block; text-decoration: none; color: var(--ink); border: 2px solid var(--sun); }
.headline-link:hover { color: var(--ink); background: var(--sun-soft); }
.soft-tip { color: var(--brand); font-style: italic; }
.sync-rows { display: grid; gap: 12px; }
.sync-row h3 { margin: 6px 0; }
.row-new td { background: #fffbea; }
