/* DeeDee Beaupre Salon: customer site, request form, client portal and owner view. */
:root {
  --teal: #0e6b76; --teal-2: #1f97a0; --teal-soft: #dff1f1; --sea: #3fa9ad;
  --peach: #f3b9a6; --peach-soft: #fbe6dc; --sun: #e9a04e; --sun-soft: #fbecd2;
  --copper: #b9764f; --sandc: #f1e2c6; --sand-2: #e7d0a8; --leaf: #2f6b46; --grape: #7d4a66;
}
body { background: var(--paper); overflow-x: hidden; }
.wrap { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
@media (max-width: 600px) { .wrap { width: calc(100% - 32px); } }
h1, h2, h3 { font-family: var(--serif); }
.script { font-family: var(--serif); font-style: italic; font-weight: 500; }
.eyebrow { font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; color: var(--teal); }
.eyebrow.dots::before, .eyebrow.dots::after { content: "\2022"; margin: 0 10px; color: var(--copper); }

/* ---------- Nav ---------- */
.nav { position: sticky; top: var(--bar-h); z-index: 100; background: rgba(253, 249, 244, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-2); }
.nav .wrap { display: flex; align-items: center; gap: 20px; height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo img { width: 62px; height: 62px; border-radius: 50%; }
.logo span { display: flex; flex-direction: column; line-height: 1.05; }
.logo b { font-family: var(--serif); font-style: italic; font-size: 21px; font-weight: 600; }
.logo small { font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { text-decoration: none; padding: 9px 13px; border-radius: 999px; font-weight: 600; font-size: 14.5px; color: var(--ink-2); }
.nav-links a:hover { background: var(--teal-soft); color: var(--teal); }
.nav-cta { display: flex; gap: 8px; }
@media (max-width: 900px) { .nav-links { display: none; } .nav-cta { margin-left: auto; } .nav-cta .btn.ghost { display: none; } .logo small { display: none; } .logo b { font-size: 18px; } .logo img { width: 50px; height: 50px; } .nav .wrap { height: 64px; } }

/* ---------- Hero with the animated beach ---------- */
.hero { position: relative; min-height: min(820px, calc(100vh - var(--bar-h) - 40px)); display: flex; align-items: flex-start; justify-content: center; text-align: center; overflow: hidden; background: #f6c3b0; }
.scene { position: absolute; inset: 0; }
.scene svg { width: 100%; height: 100%; display: block; }
.hero-copy { position: relative; z-index: 2; padding: clamp(36px, 7vh, 80px) 20px 360px; max-width: 640px; }
.hero-copy h1 { font-size: clamp(38px, 5.6vw, 70px); font-weight: 500; letter-spacing: -.02em; line-height: 1.02; margin: 16px 0 14px; color: var(--ink); }
.hero-copy h1 em { font-style: italic; color: var(--teal); }
.hero-copy p { font-size: clamp(16.5px, 1.6vw, 19px); color: #2e2a28; max-width: 540px; margin: 0 auto 24px; font-weight: 500; }
.hero-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.hero .btn.light { box-shadow: var(--shadow); }
@media (max-width: 700px) { .hero { min-height: 760px; } .hero-copy { padding: 30px 34px 380px; } .hero-copy p { font-size: 16px; } }

/* scene motion */
.frond { animation: frond var(--d, 5s) ease-in-out var(--dl, 0s) infinite; }
@keyframes frond { 0%, 100% { transform: rotate(0deg); } 18% { transform: rotate(var(--a)); } 34% { transform: rotate(calc(var(--a) * .35)); } 56% { transform: rotate(calc(var(--a) * 1.35)); } 78% { transform: rotate(calc(var(--a) * -.3)); } }
.palm { animation: palm var(--d, 8s) ease-in-out var(--dl, 0s) infinite; }
@keyframes palm { 0%, 100% { transform: rotate(-.5deg); } 50% { transform: rotate(1.1deg); } }
.gleaf { animation: gleaf var(--d, 4s) ease-in-out var(--dl, 0s) infinite; }
@keyframes gleaf { 0%, 100% { transform: rotate(calc(var(--a) * -.4)); } 30% { transform: rotate(var(--a)); } 60% { transform: rotate(calc(var(--a) * .2)); } }
.oat { animation: oat var(--d, 3s) ease-in-out var(--dl, 0s) infinite; }
@keyframes oat { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(7deg); } }
.wave { animation: wave 9s linear infinite; }
.wave.w2 { animation-duration: 13s; animation-direction: reverse; }
.wave.w3 { animation-duration: 7s; }
@keyframes wave { to { transform: translateX(240px); } }
.rays { animation: rays 6s ease-in-out infinite; }
@keyframes rays { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
.birds { animation: birds 38s linear infinite; }
@keyframes birds { from { transform: translate(-80px, 150px); } to { transform: translate(2200px, 70px); } }
.foam { animation: foam 5s ease-in-out infinite; }
@keyframes foam { 0%, 100% { transform: translateY(0); opacity: .7; } 50% { transform: translateY(5px); opacity: .35; } }
.scene.is-paused * { animation-play-state: paused !important; }

/* ---------- Sections ---------- */
.section { padding: clamp(60px, 9vw, 104px) 0; position: relative; overflow-x: clip; }
.section.sand { background: linear-gradient(180deg, #f6e9d2, #f1e2c6); }
.section.sand::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(150, 110, 60, .13) 1px, transparent 1.4px), radial-gradient(rgba(255, 255, 255, .5) 1px, transparent 1.4px); background-size: 9px 9px, 13px 13px; background-position: 0 0, 4px 6px; pointer-events: none; }
.section.sea { background: linear-gradient(180deg, #0f7480, #0a565f); color: #fff; }
.section > .wrap { position: relative; z-index: 1; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 500; margin: 12px 0 12px; }
.section-head h2 em { color: var(--teal); }
.sea .section-head h2 em, .sea .eyebrow { color: #ffd9a8; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }
.sea .section-head p { color: #cfe7e8; }
.sprig { position: absolute; width: clamp(140px, 20vw, 280px); top: -40px; right: -30px; z-index: 0; opacity: .95; pointer-events: none; }
.sprig.left { right: auto; left: -30px; }
@media (max-width: 700px) { .sprig { opacity: .5; top: -20px; } }
.wave-div { display: block; width: 100%; height: 46px; margin-bottom: -1px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { background: #fff; border: 1px solid var(--line-2); border-radius: 20px; padding: 28px 24px; box-shadow: var(--shadow); position: relative; }
.step .n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal); font-family: var(--serif); font-size: 21px; font-weight: 600; margin-bottom: 16px; }
.step h3 { font-size: 21px; font-weight: 600; margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; font-size: 15.5px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.menu { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 40px; }
.menu-cat { grid-column: 1 / -1; font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--teal); margin-top: 14px; border-bottom: 1px solid var(--sand-2); padding-bottom: 6px; }
.menu-cat:first-child { margin-top: 0; }
.menu-item { display: flex; align-items: baseline; gap: 10px; padding: 8px 0; text-decoration: none; border-radius: 8px; }
.menu-item b { font-weight: 700; font-size: 16.5px; }
.menu-item i { flex: 1; border-bottom: 2px dotted #c9b48c; transform: translateY(-4px); }
.menu-item span { color: var(--ink-2); font-size: 14.5px; white-space: nowrap; }
.menu-item:hover b { color: var(--teal); }
@media (max-width: 760px) { .menu { grid-template-columns: 1fr; } }
.note { display: inline-flex; gap: 8px; align-items: center; font-size: 13.5px; color: var(--ink-2); background: rgba(255, 255, 255, .7); border: 1px dashed #c9b48c; padding: 8px 12px; border-radius: 10px; margin-top: 24px; }

.about { display: grid; grid-template-columns: 5fr 6fr; gap: 48px; align-items: center; }
.about-photo { aspect-ratio: 4 / 5; border-radius: 240px 240px 24px 24px; background: linear-gradient(180deg, var(--peach) 0%, #f8d4b4 45%, var(--sea) 46%, var(--teal) 100%); display: grid; place-items: center; text-align: center; color: #fff; font-weight: 700; padding: 30px; box-shadow: var(--shadow-lg); border: 6px solid #fff; }
.about-photo span { background: rgba(20, 24, 28, .55); padding: 10px 14px; border-radius: 12px; font-size: 14px; }
.about h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 500; margin: 12px 0 16px; }
.about p { color: var(--ink-2); font-size: 17px; }
.about .placeholder { border-left: 3px solid var(--copper); padding: 4px 0 4px 16px; color: var(--muted); font-style: italic; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: 28px; } .about-photo { max-width: 340px; margin: 0 auto; width: 100%; } }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery div { aspect-ratio: 3 / 4; border-radius: 16px; display: grid; place-items: end start; padding: 12px; font-size: 12.5px; font-weight: 700; color: #fff; }
.gallery div:nth-child(4n+1) { background: linear-gradient(160deg, #f3b9a6, #e9a04e); }
.gallery div:nth-child(4n+2) { background: linear-gradient(160deg, #3fa9ad, #0e6b76); }
.gallery div:nth-child(4n+3) { background: linear-gradient(160deg, #e7d0a8, #b9764f); }
.gallery div:nth-child(4n+4) { background: linear-gradient(160deg, #5a9a55, #2f6b46); }
.gallery span { background: rgba(20, 24, 28, .5); padding: 5px 9px; border-radius: 8px; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; } }

.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.perk { background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .18); border-radius: 18px; padding: 22px; }
.perk h3 { font-size: 19px; margin-bottom: 6px; }
.perk p { margin: 0; color: #cfe7e8; font-size: 14.5px; }
@media (max-width: 900px) { .perks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .perks { grid-template-columns: 1fr; } }

.cta { text-align: center; }
.cta h2 { font-size: clamp(32px, 4.6vw, 54px); font-weight: 500; margin: 10px 0 14px; }
.cta p { color: var(--muted); max-width: 520px; margin: 0 auto 24px; font-size: 17px; }
.footer { background: var(--ink); color: #d9d4cb; padding: 44px 0 30px; font-size: 14.5px; }
.footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.footer .logo b { color: #fff; }
.footer a { color: #fff; }
.footer small { display: block; width: 100%; color: #948e84; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 18px; margin-top: 8px; font-size: 12.5px; }

/* ---------- Forms ---------- */
.page-head { background: linear-gradient(180deg, #f6c3b0, #fbe3bd); position: relative; overflow: hidden; }
.page-head .scene { opacity: .95; }
.page-head .wrap { position: relative; z-index: 2; padding: 44px 0 150px; text-align: center; }
.page-head h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 500; margin: 10px 0 8px; }
.page-head h1 em { color: var(--teal); }
.page-head p { max-width: 560px; margin: 0 auto; color: #2e2a28; font-weight: 500; }
.form-layout { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; margin-top: -70px; position: relative; z-index: 3; padding-bottom: 80px; }
@media (max-width: 940px) { .form-layout { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line-2); border-radius: 20px; box-shadow: var(--shadow); padding: 26px; }
.card h2 { font-size: 22px; font-weight: 600; }
.card h3 { font-size: 18px; font-weight: 600; }
.fgroup { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
.fgroup legend { font-family: var(--serif); font-size: 21px; font-weight: 600; padding: 0; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.fgroup legend span { width: 30px; height: 30px; border-radius: 50%; background: var(--teal-soft); color: var(--teal); display: inline-grid; place-items: center; font-size: 15px; font-family: var(--sans); font-weight: 800; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .frow { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; margin-bottom: 14px; min-width: 0; }
.field label, .flabel { font-weight: 700; font-size: 14px; }
.field label small, .flabel small { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; padding: 12px 13px; border: 1.5px solid #d9d2c5; border-radius: 12px; background: #fff; color: var(--ink); width: 100%; min-width: 0; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(14, 107, 118, .18); }
.field .err { color: var(--danger); font-size: 13px; font-weight: 600; display: none; }
.field.bad .err { display: block; }
.field.bad input, .field.bad select { border-color: var(--danger); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.chip span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1.5px solid #d9d2c5; font-weight: 600; font-size: 14px; background: #fff; }
.chip input:checked + span { background: var(--teal); border-color: var(--teal); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.chip input:disabled + span { opacity: .4; text-decoration: line-through; }
.svc-info { background: var(--teal-soft); color: #0a565f; border-radius: 12px; padding: 10px 14px; font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.drop { border: 2px dashed #cdbfa3; border-radius: 16px; padding: 20px; text-align: center; background: #fdf8ef; position: relative; }
.drop input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.drop:focus-within { border-color: var(--teal); }
.drop b { display: block; }
.drop small { color: var(--muted); }
.thumbs { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.thumb { position: relative; width: 96px; height: 96px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb button { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(20, 24, 28, .75); color: #fff; cursor: pointer; font-size: 16px; line-height: 1; }
.side-card { position: sticky; top: calc(var(--bar-h) + 20px); display: grid; gap: 16px; }
.side-card ol { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 10px; color: var(--ink-2); font-size: 15px; }
.demo-info { background: var(--sun-soft); border: 1px solid #efd9a8; color: #6b4a0e; border-radius: 14px; padding: 12px 14px; font-size: 13.5px; }
.success { text-align: center; padding: 20px 6px; }
.success .big { width: 76px; height: 76px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; font-size: 36px; margin: 0 auto 16px; }
.success h2 { font-size: 30px; font-weight: 500; margin-bottom: 8px; }
.summary { text-align: left; background: var(--stone); border-radius: 14px; padding: 16px; margin: 18px 0; display: grid; gap: 6px; font-size: 15px; }
.summary div { display: flex; justify-content: space-between; gap: 14px; }
.summary div span:first-child { color: var(--muted); }
.summary div span:last-child { font-weight: 700; text-align: right; }

/* ---------- App views (portal and owner) ---------- */
.app-head { background: linear-gradient(180deg, #f6c3b0, #fbe3bd); position: relative; overflow: hidden; }
.app-head .wrap { position: relative; z-index: 2; display: flex; align-items: center; gap: 18px; padding: 26px 0 96px; flex-wrap: wrap; }
.app-head img { width: 74px; height: 74px; border-radius: 50%; border: 3px solid #fff; box-shadow: var(--shadow); }
.app-head h1 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 500; }
.app-head p { margin: 2px 0 0; color: #2e2a28; font-weight: 500; }
.app-head .right { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.app-head select { font: inherit; font-weight: 600; padding: 9px 12px; border-radius: 999px; border: 1.5px solid rgba(20, 24, 28, .2); background: rgba(255, 255, 255, .85); max-width: 100%; }
.app { margin-top: -62px; position: relative; z-index: 3; padding-bottom: 80px; display: grid; gap: 20px; }
.grid2 { display: grid; grid-template-columns: 3fr 2fr; gap: 20px; align-items: start; }
@media (max-width: 940px) { .grid2 { grid-template-columns: 1fr; } }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { background: #fff; border: 1px solid var(--line-2); border-radius: 18px; padding: 18px; box-shadow: var(--shadow); text-decoration: none; display: block; }
.stat b { display: block; font-family: var(--serif); font-size: 34px; font-weight: 500; line-height: 1; }
.stat span { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.stat.hot { background: var(--teal); color: #fff; border-color: var(--teal); }
.stat.hot span { color: #cfe7e8; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.card-head p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.empty { color: var(--muted); text-align: center; padding: 26px 10px; border: 1px dashed var(--line); border-radius: 14px; }

.req { border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: grid; grid-template-columns: 110px 1fr; gap: 16px; margin-bottom: 14px; background: #fff; }
.req:last-child { margin-bottom: 0; }
.req.is-new { border-color: var(--teal-2); box-shadow: 0 0 0 3px rgba(31, 151, 160, .15); }
.req-photo { width: 110px; height: 132px; border-radius: 14px; overflow: hidden; background: linear-gradient(160deg, #e7d0a8, #b9764f); display: grid; place-items: center; text-align: center; color: #fff; font-size: 11.5px; font-weight: 700; padding: 8px; border: 0; cursor: pointer; }
.req-photo img { width: 100%; height: 100%; object-fit: cover; }
.req-photo.none { background: var(--stone); color: var(--muted); cursor: default; }
.req h3 { font-family: var(--sans); font-size: 17px; font-weight: 800; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.req .meta { color: var(--ink-2); font-size: 14.5px; margin: 4px 0; }
.req .meta b { color: var(--ink); }
.req blockquote { margin: 8px 0; padding: 8px 12px; background: var(--stone); border-radius: 10px; font-size: 14.5px; color: var(--ink-2); }
.req .check { font-size: 13.5px; font-weight: 700; padding: 7px 11px; border-radius: 10px; display: inline-block; margin: 4px 0 10px; }
.check.ok { background: var(--ok-soft); color: var(--ok); }
.check.bad { background: var(--danger-soft); color: var(--danger); }
.req-actions { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 560px) { .req { grid-template-columns: 1fr; } .req-photo { width: 100%; height: 150px; } }

/* week calendar */
.cal-nav { display: flex; gap: 6px; align-items: center; }
.cal-nav button { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; cursor: pointer; font-size: 16px; }
.cal-nav b { font-size: 14.5px; min-width: 130px; text-align: center; }
.cal { display: grid; grid-template-columns: 52px repeat(6, 1fr); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.cal-h { padding: 8px 4px; text-align: center; font-size: 12.5px; font-weight: 800; background: var(--stone); border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); }
.cal-h:first-child { border-left: 0; }
.cal-h small { display: block; font-weight: 600; color: var(--muted); }
.cal-h.today { background: var(--teal-soft); color: var(--teal); }
.cal-times, .cal-col { position: relative; height: 468px; }
.cal-col { border-left: 1px solid var(--line); background-image: linear-gradient(var(--line-2) 1px, transparent 1px); background-size: 100% 52px; }
.cal-col.closed { background-color: #f6f2ea; background-image: repeating-linear-gradient(135deg, transparent 0 8px, rgba(0, 0, 0, .035) 8px 9px); }
.cal-times span { position: absolute; right: 6px; font-size: 11px; color: var(--muted); transform: translateY(-50%); }
.ev { position: absolute; left: 3px; right: 3px; border-radius: 9px; padding: 4px 6px; font-size: 11.5px; line-height: 1.2; overflow: hidden; background: var(--teal); color: #fff; border: 1.5px solid #fff; text-align: left; cursor: pointer; font-family: inherit; }
.ev b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev.req-ev { background: repeating-linear-gradient(135deg, #fbecd2 0 8px, #f7dfb4 8px 16px); color: #6b4a0e; outline: 1.5px dashed #c99a3c; outline-offset: -2px; }
.ev.block { background: #d8d2c6; color: var(--ink-2); }
.ev.is-new { box-shadow: 0 0 0 3px rgba(233, 160, 78, .7); }
.agenda { display: none; }
.agenda h4 { font-family: var(--sans); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 16px 0 8px; }
.agenda h4:first-child { margin-top: 0; }
.agenda button { display: flex; gap: 12px; width: 100%; text-align: left; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--teal); border-radius: 12px; padding: 10px 12px; margin-bottom: 6px; cursor: pointer; font-size: 14.5px; }
.agenda button.req-ev { border-left-color: var(--sun); background: var(--sun-soft); }
.agenda button.block { border-left-color: #b9b2a4; }
.agenda button time { font-weight: 800; min-width: 74px; }
.agenda p { color: var(--muted); font-size: 14px; margin: 0 0 6px; }
@media (max-width: 760px) { .cal { display: none; } .agenda { display: block; } }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); margin-top: 12px; font-weight: 600; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 6px; vertical-align: -1px; background: var(--teal); }
.legend i.r { background: #f7dfb4; outline: 1.5px dashed #c99a3c; }
.legend i.b { background: #d8d2c6; }

.list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.list li { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-2); font-size: 14.5px; align-items: flex-start; }
.list li:last-child { border-bottom: 0; }
.list .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--teal-2); margin-top: 6px; flex: 0 0 auto; }
.list .dot.pay { background: var(--ok); } .list .dot.request { background: var(--sun); } .list .dot.offer { background: var(--grape); } .list .dot.msg { background: var(--copper); }
.list small { color: var(--muted); display: block; }
.list .grow { flex: 1; min-width: 0; }
.switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.switch:last-of-type { border-bottom: 0; }
.switch b { display: block; font-size: 15px; }
.switch small { color: var(--muted); }
.switch input { appearance: none; -webkit-appearance: none; width: 46px; height: 28px; border-radius: 999px; background: #cfc8ba; position: relative; cursor: pointer; flex: 0 0 auto; transition: background .2s; margin: 0; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.switch input:checked { background: var(--teal); }
.switch input:checked::after { transform: translateX(18px); }

/* portal */
.appt { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; margin-bottom: 14px; background: #fff; }
.appt:last-child { margin-bottom: 0; }
.appt-top { display: flex; gap: 16px; padding: 18px; align-items: center; flex-wrap: wrap; }
.datebox { width: 74px; flex: 0 0 auto; text-align: center; border-radius: 14px; background: var(--teal); color: #fff; padding: 8px 4px; }
.datebox small { display: block; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.datebox b { display: block; font-family: var(--serif); font-size: 32px; font-weight: 500; line-height: 1; }
.datebox.wait { background: var(--sun-soft); color: #6b4a0e; }
.appt-top h3 { font-family: var(--sans); font-weight: 800; font-size: 18px; }
.appt-top p { margin: 3px 0 0; color: var(--ink-2); font-size: 15px; }
.appt-top .grow { flex: 1; min-width: 200px; }
.appt-body { padding: 0 18px 18px; }
.appt-body .msg { background: var(--stone); border-radius: 12px; padding: 12px 14px; font-size: 14.5px; margin-bottom: 12px; }
.offer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin-bottom: 12px; }
.offer-btn { border: 2px solid var(--teal); background: #fff; border-radius: 14px; padding: 14px; cursor: pointer; text-align: left; transition: background .15s, transform .15s; }
.offer-btn:hover { background: var(--teal-soft); transform: translateY(-2px); }
.offer-btn b { display: block; font-size: 16px; }
.offer-btn span { color: var(--teal); font-weight: 700; font-size: 14px; }
.appt-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.paybar { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--sun-soft); border: 1px solid #efd9a8; border-radius: 12px; padding: 12px 14px; margin-bottom: 12px; flex-wrap: wrap; }
.paybar.done { background: var(--ok-soft); border-color: #c4e2cf; color: var(--ok); font-weight: 700; }
.thread { display: grid; gap: 8px; max-height: 240px; overflow: auto; margin-bottom: 12px; }
.bubble { max-width: 85%; padding: 9px 13px; border-radius: 14px; font-size: 14.5px; background: var(--stone); justify-self: start; }
.bubble.me { background: var(--teal); color: #fff; justify-self: end; }
.bubble small { display: block; opacity: .7; font-size: 11.5px; }
.msgbox { display: flex; gap: 8px; }
.msgbox input { flex: 1; min-width: 0; font: inherit; padding: 11px 13px; border: 1.5px solid #d9d2c5; border-radius: 999px; }
.slot-pick { display: grid; gap: 14px; }
.slot-day b { display: block; margin-bottom: 6px; font-size: 14.5px; }
.lightbox img { max-width: 100%; max-height: 70vh; margin: 0 auto; border-radius: 12px; }
.ph-sample { aspect-ratio: 4 / 5; max-width: 320px; margin: 0 auto; border-radius: 14px; background: linear-gradient(160deg, #e7d0a8, #b9764f); display: grid; place-items: center; color: #fff; font-weight: 700; text-align: center; padding: 20px; }

@media (max-width: 700px) { .app-head .wrap { padding-bottom: 130px; } .app-head .right { margin-left: 0; width: 100%; } .page-head .wrap { padding-bottom: 190px; } }
