/* =========================================================================
   Halcyon Pool Co. — shared design system
   Tier Two ("Launch + Care") demo for OptWebPro / Lynx
   Signature: calm, clear water. Deep pool teal + bright aqua + warm sand.
   Fonts: Schibsted Grotesk (display) · Figtree (body) · Space Mono (data)
   ========================================================================= */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--aqua-400); outline-offset: 2px; border-radius: 4px; }

/* ---------- Tokens ---------- */
:root {
  /* palette */
  --ink:       #0E272C;
  --ink-soft:  #3B565B;
  --ink-mute:  #6A8085;

  --teal-950:  #06343B;
  --teal-900:  #0A4A54;
  --teal-700:  #0B6E7A;
  --teal-500:  #14929F;
  --aqua-400:  #3FB3C4;
  --aqua-300:  #6DCAD6;
  --aqua-200:  #A9E2E8;
  --aqua-100:  #D6F1F3;

  --sand-50:   #FBF7EF;
  --sand-100:  #F4ECDD;
  --sand-200:  #EADEC8;
  --sand-300:  #DECEB0;

  --gold:      #E0A43A;
  --gold-soft: #F2D79B;
  --white:     #FFFFFF;

  /* status */
  --ok:        #2E9E6B;
  --ok-bg:     #E1F3EA;
  --warn:      #C9861E;
  --warn-bg:   #FBEECF;
  --due:       #C4503B;
  --due-bg:    #F8E3DD;
  --info:      #2A7DAE;
  --info-bg:   #E0EEF6;

  /* type */
  --font-display: "Schibsted Grotesk", system-ui, -apple-system, sans-serif;
  --font-body:    "Figtree", system-ui, -apple-system, sans-serif;
  --font-mono:    "Space Mono", "SFMono-Regular", ui-monospace, monospace;

  /* structure */
  --maxw: 1180px;
  --radius: 18px;
  --radius-sm: 11px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(9,52,59,.06), 0 3px 10px rgba(9,52,59,.05);
  --shadow-md: 0 10px 30px -12px rgba(9,52,59,.22), 0 4px 10px -6px rgba(9,52,59,.12);
  --shadow-lg: 0 30px 70px -28px rgba(9,52,59,.38);
  --ring: 1px solid rgba(11,110,122,.14);

  --ease: cubic-bezier(.22,.61,.36,1);

  /* caustic light texture (SVG turbulence → aqua highlights over transparent) */
  --caustic-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.011 0.026' numOctaves='2' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 0.43 0 0 0 0 0.71 0 0 0 0 0.78 0 0 0 -1.5 0.92'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand-50);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: -0.006em;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--ink);
}
h1 { font-size: clamp(2.6rem, 6.2vw, 4.7rem); }
h2 { font-size: clamp(2rem, 4vw, 3.05rem); }
h3 { font-size: clamp(1.28rem, 2.1vw, 1.7rem); }
p { color: var(--ink-soft); }

.mono { font-family: var(--font-mono); }
.eyebrow {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--teal-500);
  font-weight: 700;
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: clamp(64px, 9vw, 116px); }
.section--tight { padding-block: clamp(48px, 6vw, 76px); }
.center { text-align: center; }
.lede { font-size: clamp(1.08rem, 1.5vw, 1.28rem); color: var(--ink-soft); max-width: 62ch; }
.stack > * + * { margin-top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--teal-700); --fg: #fff; --bd: transparent;
  display: inline-flex; align-items: center; gap: .55em;
  padding: .82em 1.5em;
  background: var(--bg); color: var(--fg);
  border: 1.5px solid var(--bd);
  border-radius: 999px;
  font-weight: 600; font-size: .98rem; letter-spacing: -0.01em;
  cursor: pointer; text-decoration: none;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
  box-shadow: var(--shadow-sm);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: .98em 1.85em; font-size: 1.05rem; }
.btn--ghost { --bg: transparent; --fg: var(--teal-700); --bd: rgba(11,110,122,.28); box-shadow: none; }
.btn--ghost:hover { --bg: rgba(11,110,122,.06); box-shadow: none; }
.btn--gold { --bg: var(--gold); --fg: #2C1E05; }
.btn--white { --bg: #fff; --fg: var(--teal-900); }
.btn--sm { padding: .58em 1.05em; font-size: .86rem; }
.btn--block { display: flex; width: 100%; justify-content: center; }

/* ---------- Header / nav ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--sand-50) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.site-head.is-stuck { border-bottom-color: rgba(11,110,122,.12); box-shadow: 0 6px 24px -18px rgba(9,52,59,.4); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: .6em; text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 1.24rem; letter-spacing: -0.03em; color: var(--ink); }
.brand__mark { width: 34px; height: 34px; flex: none; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { text-decoration: none; font-weight: 500; font-size: .96rem; color: var(--ink-soft); transition: color .2s; }
.nav__links a:hover { color: var(--teal-700); }
.nav__cta { display: flex; align-items: center; gap: 12px; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle svg { width: 26px; height: 26px; }

@media (max-width: 880px) {
  .nav__links, .nav__cta .btn--ghost { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav--open .nav__links {
    display: flex; position: absolute; inset: 74px 0 auto 0; flex-direction: column;
    gap: 4px; padding: 14px 24px 26px; background: var(--sand-50);
    border-bottom: 1px solid rgba(11,110,122,.12); box-shadow: var(--shadow-md);
  }
  .nav--open .nav__links a { padding: 10px 0; font-size: 1.05rem; border-bottom: 1px solid rgba(11,110,122,.08); }
}

/* ---------- Hero + caustics ---------- */
.hero { position: relative; overflow: hidden; background: var(--teal-950); color: #eaf7f8; isolation: isolate; }
.hero__caustics {
  position: absolute; inset: -20% -10%; z-index: -2; opacity: .9;
  background:
    radial-gradient(38% 44% at 22% 30%, rgba(109,202,214,.55), transparent 60%),
    radial-gradient(34% 40% at 78% 24%, rgba(169,226,232,.42), transparent 62%),
    radial-gradient(46% 50% at 60% 78%, rgba(20,146,159,.55), transparent 64%),
    radial-gradient(40% 46% at 12% 82%, rgba(63,179,196,.40), transparent 60%);
  filter: blur(8px);
  animation: caustic-drift 26s var(--ease) infinite alternate;
}
.hero__caustics::after {
  content: ""; position: absolute; inset: 0;
  background-image: var(--caustic-noise);
  background-size: 520px 520px; opacity: .5; mix-blend-mode: screen;
  animation: caustic-shift 34s linear infinite;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(6,52,59,.28), rgba(6,52,59,.62) 60%, rgba(6,52,59,.82));
}
@keyframes caustic-drift {
  0%   { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(3%, -2.5%, 0) scale(1.12); }
}
@keyframes caustic-shift {
  0% { background-position: 0 0; } 100% { background-position: 520px 260px; }
}
.hero__inner { position: relative; padding-block: clamp(88px, 15vw, 172px); max-width: 42rem; }
.hero h1 { color: #fff; text-wrap: balance; }
.hero .eyebrow { color: var(--aqua-200); }
.hero__lede { color: #cfeef1; font-size: clamp(1.1rem, 1.7vw, 1.34rem); margin-top: 1.15rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.1rem; }
.hero__trust { margin-top: 2.6rem; display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; color: #bfe6ea; font-size: .92rem; }
.hero__trust span { display: inline-flex; align-items: center; gap: .5em; }
.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 0; color: var(--sand-50); }

/* ---------- Trust strip ---------- */
.strip { background: var(--white); border-block: 1px solid rgba(11,110,122,.1); }
.strip__row { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 22px 34px; padding-block: 30px; text-align: center; }
.strip__item { display: flex; flex-direction: column; gap: 2px; }
.strip__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem,3vw,2.2rem); color: var(--teal-700); letter-spacing: -.03em; }
.strip__lbl { font-size: .82rem; color: var(--ink-mute); font-family: var(--font-mono); letter-spacing: .04em; }

/* ---------- Service cards ---------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px) { .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: var(--ring); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm);
  transition: transform .28s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card--hover:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(63,179,196,.4); }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--aqua-100), var(--sand-100));
  color: var(--teal-700); margin-bottom: 18px; border: 1px solid rgba(11,110,122,.1);
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: .98rem; }
.card__price { font-family: var(--font-mono); color: var(--teal-500); font-size: .9rem; margin-top: 14px; font-weight: 700; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 20px; grid-template-columns: repeat(4,1fr); }
@media (max-width:900px){ .steps{ grid-template-columns: repeat(2,1fr);} }
@media (max-width:560px){ .steps{ grid-template-columns:1fr;} }
.step { position: relative; padding: 26px 22px; background: var(--sand-100); border-radius: var(--radius); border: 1px solid rgba(11,110,122,.08); }
.step::before {
  counter-increment: step; content: counter(step,decimal-leading-zero);
  font-family: var(--font-mono); font-size: .8rem; font-weight: 700; color: var(--gold);
  letter-spacing: .1em;
}
.step h3 { font-size: 1.18rem; margin: 8px 0 6px; }
.step p { font-size: .94rem; }

/* ---------- Plans ---------- */
.plans { display: grid; gap: 22px; grid-template-columns: repeat(3,1fr); align-items: stretch; }
@media (max-width: 900px){ .plans{ grid-template-columns:1fr; max-width:460px; margin-inline:auto;} }
.plan {
  display: flex; flex-direction: column; background: var(--white);
  border: var(--ring); border-radius: var(--radius-lg); padding: 32px 28px; box-shadow: var(--shadow-sm);
}
.plan--feature { background: linear-gradient(180deg, var(--teal-900), var(--teal-950)); color: #eaf7f8; border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.plan--feature h3, .plan--feature .plan__price { color: #fff; }
.plan--feature p, .plan--feature li { color: #c9ebee; }
.plan__tag { align-self: flex-start; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; background: var(--gold); color: #2C1E05; font-weight: 700; margin-bottom: 14px; }
.plan__name { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; }
.plan__price { font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; margin: 6px 0 2px; }
.plan__price small { font-family: var(--font-mono); font-size: .82rem; font-weight: 400; color: var(--ink-mute); letter-spacing: 0; }
.plan--feature .plan__price small { color: #a9d7dc; }
.plan__list { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 11px; font-size: .96rem; }
.plan__list li { display: flex; gap: .6em; align-items: flex-start; }
.plan__list li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--aqua-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230B6E7A' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat; }
.plan--feature .plan__list li::before { background-color: rgba(255,255,255,.16); }
.plan .btn { margin-top: auto; }

/* ---------- Split / feature ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px,5vw,64px); align-items: center; }
@media (max-width: 860px){ .split{ grid-template-columns:1fr; } }
.pane { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 6px solid #fff; }

/* ---------- Testimonials ---------- */
.quote { background: var(--white); border: var(--ring); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.quote p { font-size: 1.04rem; color: var(--ink); font-style: normal; }
.quote__mark { font-family: var(--font-display); font-size: 2.6rem; line-height: .5; color: var(--aqua-300); }
.quote__who { margin-top: 16px; display: flex; align-items: center; gap: 12px; }
.quote__avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(150deg,var(--aqua-300),var(--teal-700)); color:#fff; display:grid; place-items:center; font-family:var(--font-display); font-weight:700; }
.quote__name { font-weight: 600; font-size: .95rem; }
.quote__meta { font-size: .82rem; color: var(--ink-mute); font-family: var(--font-mono); }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin-inline: auto; }
.faq details { border-bottom: 1px solid rgba(11,110,122,.14); padding: 8px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 40px 16px 0; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-family: var(--font-mono); font-size: 1.4rem; color: var(--teal-500); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { padding: 0 0 18px; font-size: .98rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(140deg, var(--teal-700), var(--teal-950)); color: #eaf7f8; border-radius: var(--radius-lg); padding: clamp(40px,6vw,72px); text-align: center; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; }
.cta-band p { color: #cfeef1; max-width: 52ch; margin-inline: auto; }
.cta-band::before { content:""; position:absolute; inset:0; z-index:0; background: radial-gradient(50% 60% at 80% 10%, rgba(109,202,214,.35), transparent 60%), radial-gradient(50% 70% at 10% 100%, rgba(224,164,58,.22), transparent 60%); }
.cta-band > * { position: relative; z-index: 1; }

/* ---------- Footer ---------- */
.foot { background: var(--teal-950); color: #bfe0e4; padding-block: 60px 34px; }
.foot a { color: #bfe0e4; text-decoration: none; }
.foot a:hover { color: #fff; }
.foot__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; }
@media (max-width: 820px){ .foot__top{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px){ .foot__top{ grid-template-columns: 1fr; } }
.foot__brand { display: inline-flex; align-items: center; gap: .55em; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: #fff; }
.foot h4 { color: #eaf7f8; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; margin-bottom: 14px; }
.foot ul { list-style: none; padding: 0; display: grid; gap: 9px; font-size: .93rem; }
.foot__bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: 12px 22px; justify-content: space-between; align-items: center; font-size: .84rem; color: #8fbcc2; }
.foot__owner { font-family: var(--font-mono); font-size: .8rem; }
.foot__owner a { color: var(--aqua-200); border-bottom: 1px dotted rgba(169,226,232,.5); }

/* ---------- Demo ribbon ---------- */
.demo-ribbon {
  position: fixed; z-index: 200; bottom: 16px; left: 16px;
  display: inline-flex; align-items: center; gap: .55em;
  background: rgba(14,39,44,.92); color: #eaf7f8; backdrop-filter: blur(6px);
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .04em;
  padding: 8px 13px; border-radius: 999px; border: 1px solid rgba(169,226,232,.28);
  box-shadow: var(--shadow-md); text-decoration: none;
}
.demo-ribbon b { color: var(--gold); font-weight: 700; }
.demo-ribbon .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(224,164,58,.28); }

/* ---------- Notice banner (legal + demo) ---------- */
.notice { background: var(--warn-bg); border: 1px solid var(--warn); color: #6b4a12; border-radius: var(--radius-sm); padding: 14px 18px; font-size: .92rem; display: flex; gap: .7em; align-items: flex-start; }
.notice svg { flex: none; width: 20px; height: 20px; margin-top: 1px; }

/* ---------- Legal pages ---------- */
.legal { max-width: 760px; margin-inline: auto; }
.legal h1 { font-size: clamp(2.1rem,4vw,3rem); }
.legal .updated { font-family: var(--font-mono); font-size: .82rem; color: var(--ink-mute); margin-top: 8px; }
.legal h2 { font-size: 1.4rem; margin-top: 2.2em; margin-bottom: .5em; }
.legal h3 { font-size: 1.1rem; margin-top: 1.5em; margin-bottom: .3em; }
.legal p, .legal li { color: var(--ink-soft); font-size: 1rem; }
.legal ul { padding-left: 1.2em; display: grid; gap: 6px; margin-top: .4em; }
.legal a { color: var(--teal-700); text-decoration: underline; text-underline-offset: 2px; }

/* =========================================================================
   PORTAL / DASHBOARD (customer + owner)
   ========================================================================= */
.portal-body { background: var(--sand-100); min-height: 100vh; }

/* login */
.login-shell { min-height: 100vh; display: grid; place-items: center; padding: 34px 20px; position: relative; overflow: hidden; }
.login-shell--owner { background: var(--teal-950); }
.login-shell--customer { background: linear-gradient(160deg, var(--aqua-100), var(--sand-100)); }
.login-card { width: 100%; max-width: 420px; background: #fff; border-radius: var(--radius-lg); padding: 38px 34px; box-shadow: var(--shadow-lg); position: relative; z-index: 2; }
.login-card__brand { display: flex; align-items: center; gap: .55em; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; margin-bottom: 6px; }
.login-card h1 { font-size: 1.7rem; margin-top: 14px; }
.login-card p.sub { font-size: .95rem; margin-top: 4px; }
.field { margin-top: 16px; }
.field label { display: block; font-size: .82rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 6px; font-family: var(--font-mono); letter-spacing: .02em; }
.field input, .field select, .field textarea {
  width: 100%; padding: .74em .9em; border: 1.5px solid rgba(11,110,122,.2); border-radius: var(--radius-sm);
  background: var(--sand-50); transition: border-color .2s, box-shadow .2s; font-size: 1rem;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal-500); box-shadow: 0 0 0 3px rgba(20,146,159,.15); outline: none; }
.demo-creds { margin-top: 20px; background: var(--info-bg); border: 1px dashed var(--info); border-radius: var(--radius-sm); padding: 13px 15px; font-size: .84rem; color: #1c4c68; }
.demo-creds b { font-family: var(--font-mono); }
.demo-creds .k { font-family: var(--font-mono); background: #fff; padding: 1px 7px; border-radius: 5px; border: 1px solid rgba(42,125,174,.25); }
.login-alt { text-align: center; margin-top: 18px; font-size: .88rem; }
.login-alt a { color: var(--teal-700); font-weight: 600; text-decoration: none; }

/* app shell */
.app { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; }
@media (max-width: 820px){ .app{ grid-template-columns: 1fr; } }
.side { background: var(--teal-950); color: #cfe9ec; padding: 22px 16px; display: flex; flex-direction: column; gap: 6px; position: sticky; top: 0; height: 100vh; }
@media (max-width: 820px){ .side{ position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; padding: 12px; } }
.side__brand { display: flex; align-items: center; gap: .5em; font-family: var(--font-display); font-weight: 800; color: #fff; font-size: 1.12rem; padding: 6px 10px 18px; }
@media (max-width: 820px){ .side__brand{ padding: 6px 10px; margin-right: auto; } }
.side__nav { display: grid; gap: 3px; }
@media (max-width: 820px){ .side__nav{ display: flex; flex-wrap: wrap; gap: 4px; } }
.side__link {
  display: flex; align-items: center; gap: .7em; padding: .68em .85em; border-radius: 11px;
  color: #bcdfe3; text-decoration: none; font-size: .95rem; font-weight: 500; cursor: pointer;
  background: none; border: 0; width: 100%; text-align: left; transition: background .18s, color .18s;
}
.side__link svg { width: 19px; height: 19px; flex: none; opacity: .85; }
.side__link:hover { background: rgba(255,255,255,.06); color: #fff; }
.side__link.is-active { background: var(--teal-700); color: #fff; }
.side__foot { margin-top: auto; padding: 12px 10px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; }
@media (max-width: 820px){ .side__foot{ margin: 0; border: 0; padding: 0; width: 100%; } }
.side__user { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.side__avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(150deg,var(--aqua-300),var(--teal-500)); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: #06343B; font-size: .9rem; }

.main { padding: clamp(20px, 3vw, 38px); overflow-x: hidden; }
.main__head { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; justify-content: space-between; margin-bottom: 24px; }
.main__head h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.main__head .sub { color: var(--ink-mute); font-size: .95rem; margin-top: 2px; }

.view { display: none; }
.view.is-active { display: block; animation: fade-up .4s var(--ease); }
@keyframes fade-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* stat tiles */
.tiles { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 28px; }
@media (max-width: 900px){ .tiles{ grid-template-columns: repeat(2,1fr);} }
@media (max-width: 480px){ .tiles{ grid-template-columns: 1fr;} }
.tile { background: #fff; border-radius: var(--radius); border: var(--ring); padding: 20px; box-shadow: var(--shadow-sm); }
.tile__lbl { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); }
.tile__val { font-family: var(--font-display); font-weight: 800; font-size: 2rem; letter-spacing: -.03em; color: var(--ink); margin-top: 6px; }
.tile__val small { font-size: .9rem; font-family: var(--font-mono); font-weight: 400; color: var(--ink-mute); }
.tile__delta { font-size: .82rem; margin-top: 4px; font-family: var(--font-mono); }
.tile__delta.up { color: var(--ok); } .tile__delta.down { color: var(--due); }

/* panels */
.panel { background: #fff; border-radius: var(--radius); border: var(--ring); box-shadow: var(--shadow-sm); overflow: hidden; margin-bottom: 22px; }
.panel__head { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid rgba(11,110,122,.1); }
.panel__head h2 { font-size: 1.18rem; }
.panel__body { padding: 8px 4px; }
.panel__body--pad { padding: 22px; }

/* tables */
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 520px; }
table.data th { text-align: left; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-mute); font-weight: 700; padding: 12px 18px; border-bottom: 1px solid rgba(11,110,122,.12); }
table.data td { padding: 14px 18px; border-bottom: 1px solid rgba(11,110,122,.07); vertical-align: middle; }
table.data tr:last-child td { border-bottom: 0; }
table.data tr.clickable { cursor: pointer; transition: background .15s; }
table.data tr.clickable:hover { background: var(--aqua-100); }
.cell-strong { font-weight: 600; color: var(--ink); }
.cell-mono { font-family: var(--font-mono); font-size: .84rem; color: var(--ink-soft); }

/* badges */
.badge { display: inline-flex; align-items: center; gap: .4em; font-family: var(--font-mono); font-size: .72rem; font-weight: 700; letter-spacing: .03em; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge--ok { color: var(--ok); background: var(--ok-bg); }
.badge--warn { color: var(--warn); background: var(--warn-bg); }
.badge--due { color: var(--due); background: var(--due-bg); }
.badge--info { color: var(--info); background: var(--info-bg); }
.badge--mute { color: var(--ink-mute); background: rgba(106,128,133,.13); }

/* job-status timeline */
.timeline { list-style: none; padding: 6px 6px 6px 8px; margin: 0; }
.timeline li { position: relative; padding: 0 0 22px 30px; }
.timeline li::before { content: ""; position: absolute; left: 6px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--sand-300); border: 2px solid #fff; box-shadow: 0 0 0 1.5px var(--sand-300); z-index: 1; }
.timeline li::after { content: ""; position: absolute; left: 11px; top: 14px; bottom: 0; width: 2px; background: var(--sand-300); }
.timeline li:last-child::after { display: none; }
.timeline li.done::before { background: var(--ok); box-shadow: 0 0 0 1.5px var(--ok); }
.timeline li.done::after { background: var(--ok); }
.timeline li.current::before { background: var(--gold); box-shadow: 0 0 0 4px rgba(224,164,58,.28); animation: pulse 2s infinite; }
.timeline__t { font-weight: 600; color: var(--ink); font-size: .96rem; }
.timeline__m { font-size: .82rem; color: var(--ink-mute); font-family: var(--font-mono); margin-top: 1px; }
.timeline li.pending .timeline__t { color: var(--ink-mute); font-weight: 500; }
@keyframes pulse { 0%,100%{ box-shadow:0 0 0 4px rgba(224,164,58,.28);} 50%{ box-shadow:0 0 0 7px rgba(224,164,58,0);} }

/* invoice */
.invoice { border: 1px solid rgba(11,110,122,.15); border-radius: var(--radius); overflow: hidden; }
.invoice__head { background: var(--sand-100); padding: 20px 24px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: flex-start; }
.invoice__lines { width: 100%; border-collapse: collapse; }
.invoice__lines th, .invoice__lines td { padding: 11px 24px; text-align: left; font-size: .92rem; border-bottom: 1px solid rgba(11,110,122,.08); }
.invoice__lines th { font-family: var(--font-mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-mute); }
.invoice__lines td:last-child, .invoice__lines th:last-child { text-align: right; font-family: var(--font-mono); }
.invoice__total { display: flex; justify-content: flex-end; gap: 40px; padding: 16px 24px; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; }

/* chem readout chips */
.chem { display: flex; flex-wrap: wrap; gap: 10px; }
.chem__chip { font-family: var(--font-mono); font-size: .78rem; background: var(--aqua-100); border: 1px solid rgba(11,110,122,.14); border-radius: 9px; padding: 7px 11px; }
.chem__chip b { color: var(--teal-700); }
.chem__chip.warn { background: var(--warn-bg); border-color: rgba(201,134,30,.35); }

/* toast + modal */
.toast-wrap { position: fixed; bottom: 20px; right: 20px; z-index: 300; display: flex; flex-direction: column; gap: 10px; }
.toast { background: var(--ink); color: #fff; padding: 13px 18px; border-radius: 12px; box-shadow: var(--shadow-lg); font-size: .92rem; display: flex; align-items: center; gap: .6em; animation: fade-up .3s var(--ease); max-width: 340px; }
.toast.ok { background: var(--ok); } .toast.warn { background: var(--warn); }
.modal-back { position: fixed; inset: 0; background: rgba(6,52,59,.5); backdrop-filter: blur(3px); z-index: 250; display: none; place-items: center; padding: 20px; }
.modal-back.is-open { display: grid; }
.modal { background: #fff; border-radius: var(--radius-lg); width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg); animation: fade-up .3s var(--ease); }
.modal__head { padding: 22px 26px; border-bottom: 1px solid rgba(11,110,122,.1); display: flex; justify-content: space-between; align-items: center; }
.modal__head h2 { font-size: 1.3rem; }
.modal__body { padding: 24px 26px; }
.modal__foot { padding: 18px 26px; border-top: 1px solid rgba(11,110,122,.1); display: flex; gap: 12px; justify-content: flex-end; }
.x-btn { background: none; border: 0; cursor: pointer; color: var(--ink-mute); padding: 6px; border-radius: 8px; }
.x-btn:hover { background: var(--sand-100); color: var(--ink); }

.line-row { display: grid; grid-template-columns: 1fr 84px 96px 32px; gap: 8px; margin-bottom: 8px; align-items: center; }
.line-row input { padding: .5em .6em; font-size: .9rem; }
@media (max-width: 520px){ .line-row{ grid-template-columns: 1fr 1fr; } }

.search-box { position: relative; }
.search-box input { padding-left: 38px; }
.search-box svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--ink-mute); }

.empty { text-align: center; padding: 40px 20px; color: var(--ink-mute); }
.empty svg { width: 42px; height: 42px; margin-bottom: 10px; opacity: .5; }

.detail-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(160px,1fr)); gap: 16px; }
.detail-grid .k { font-family: var(--font-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-mute); }
.detail-grid .v { font-size: 1rem; color: var(--ink); font-weight: 500; margin-top: 3px; }

.back-link { display: inline-flex; align-items: center; gap: .4em; font-size: .9rem; color: var(--teal-700); font-weight: 600; cursor: pointer; background: none; border: 0; padding: 4px 0; margin-bottom: 14px; }

.seg { display: inline-flex; background: var(--sand-200); border-radius: 999px; padding: 4px; gap: 4px; }
.seg button { border: 0; background: none; padding: .5em 1em; border-radius: 999px; cursor: pointer; font-size: .86rem; font-weight: 600; color: var(--ink-soft); }
.seg button.is-active { background: #fff; color: var(--teal-700); box-shadow: var(--shadow-sm); }

/* bars mini chart */
.bars { display: flex; align-items: flex-end; gap: 10px; height: 150px; padding-top: 10px; }
.bars__col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; justify-content: flex-end; height: 100%; }
.bars__bar { width: 100%; max-width: 40px; border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, var(--aqua-300), var(--teal-700)); min-height: 4px; transition: height .6s var(--ease); }
.bars__lbl { font-family: var(--font-mono); font-size: .68rem; color: var(--ink-mute); }

/* booking slot picker (quote form) */
.slot-picker { display: grid; gap: 6px; max-height: 300px; overflow-y: auto; padding: 10px; border: 1.5px solid rgba(11,110,122,.2); border-radius: var(--radius-sm); background: var(--sand-50); }
.slot-day { display: grid; grid-template-columns: 118px 1fr; gap: 12px; align-items: center; padding: 6px 4px; border-bottom: 1px solid rgba(11,110,122,.07); }
.slot-day:last-child { border-bottom: 0; }
.slot-day__label { font-family: var(--font-mono); font-size: .8rem; color: var(--ink-soft); }
.slot-day__chips { display: flex; gap: 8px; flex-wrap: wrap; }
.slot-chip { border: 1.5px solid rgba(11,110,122,.24); background: #fff; border-radius: 10px; padding: 7px 12px; cursor: pointer; font-size: .86rem; font-weight: 600; text-align: left; line-height: 1.15; transition: border-color .15s, background .15s, color .15s, transform .1s; color: var(--ink); }
.slot-chip span { display: block; font-family: var(--font-mono); font-size: .66rem; font-weight: 400; color: var(--ink-mute); margin-top: 2px; }
.slot-chip:hover:not(:disabled) { border-color: var(--teal-500); background: var(--aqua-100); }
.slot-chip:active:not(:disabled) { transform: translateY(1px); }
.slot-chip.is-selected { border-color: var(--teal-700); background: var(--teal-700); color: #fff; }
.slot-chip.is-selected span { color: rgba(255,255,255,.82); }
.slot-chip:disabled, .slot-chip.is-full { opacity: .5; cursor: not-allowed; background: var(--sand-100); text-decoration: line-through; }
.slot-chip.is-full span { text-decoration: none; }
.slot-flex { display: flex; align-items: flex-start; gap: 8px; margin-top: 10px; font-size: .9rem; cursor: pointer; }
.slot-flex input { margin-top: 3px; flex: none; }
@media (max-width: 520px) { .slot-day { grid-template-columns: 1fr; gap: 4px; } }

/* owner availability manager: toggleable slot chips */
.slot-picker--manage { max-height: 460px; }
.slot-chip.is-blocked { background: var(--due-bg); border-color: rgba(196,80,59,.35); color: var(--due); }
.slot-chip.is-blocked span { color: var(--due); }
.slot-chip.is-blocked:hover { background: var(--due-bg); border-color: var(--due); }
.slot-legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: .82rem; color: var(--ink-mute); margin-top: 12px; }
.slot-legend span { display: inline-flex; align-items: center; gap: .45em; }
.slot-legend i { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }

/* profile menu (portal header) */
.profile-menu { position: relative; }
.profile-btn { display: flex; align-items: center; gap: 8px; background: #fff; border: var(--ring); border-radius: 999px; padding: 4px 12px 4px 5px; cursor: pointer; box-shadow: var(--shadow-sm); transition: box-shadow .2s, border-color .2s; }
.profile-btn:hover { box-shadow: var(--shadow-md); border-color: rgba(63,179,196,.4); }
.profile-btn .side__avatar { width: 30px; height: 30px; font-size: .82rem; }
.profile-btn svg { width: 15px; height: 15px; color: var(--ink-mute); transition: transform .2s; }
.profile-menu.open .profile-btn svg { transform: rotate(180deg); }
.profile-drop { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border: var(--ring); border-radius: 15px; box-shadow: var(--shadow-lg); min-width: 232px; padding: 8px; z-index: 80; display: none; }
.profile-menu.open .profile-drop { display: block; animation: fade-up .2s var(--ease); }
.profile-drop__head { padding: 8px 12px 12px; border-bottom: 1px solid rgba(11,110,122,.1); margin-bottom: 6px; }
.pm-item { display: flex; gap: .65em; align-items: center; width: 100%; padding: 10px 12px; border-radius: 10px; background: none; border: 0; cursor: pointer; text-align: left; font-size: .93rem; color: var(--ink-soft); text-decoration: none; font-weight: 500; }
.pm-item svg { width: 18px; height: 18px; opacity: .8; }
.pm-item:hover { background: var(--sand-100); color: var(--ink); }
.pm-item.danger { color: var(--due); }
.pm-item.danger:hover { background: var(--due-bg); }

/* toggle switch */
.switch { position: relative; display: inline-block; width: 46px; height: 26px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .track { position: absolute; inset: 0; background: var(--sand-300); border-radius: 999px; transition: background .2s; cursor: pointer; }
.switch .track::before { content: ""; position: absolute; height: 20px; width: 20px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: transform .2s; box-shadow: var(--shadow-sm); }
.switch input:checked + .track { background: var(--teal-500); }
.switch input:checked + .track::before { transform: translateX(20px); }
.switch input:focus-visible + .track { outline: 3px solid var(--aqua-400); outline-offset: 2px; }

/* settings forms + payment method */
.set-row { display: flex; gap: 14px; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid rgba(11,110,122,.08); }
.set-row:last-child { border-bottom: 0; }
.set-row__main { min-width: 0; }
.set-row__t { font-weight: 600; color: var(--ink); }
.set-row__d { font-size: .86rem; color: var(--ink-mute); margin-top: 2px; }
.pay-method { display: flex; align-items: center; gap: 14px; padding: 16px; background: var(--sand-100); border: 1px solid rgba(11,110,122,.1); border-radius: var(--radius-sm); }
.pay-method__card { width: 46px; height: 30px; border-radius: 6px; background: linear-gradient(135deg, var(--teal-700), var(--teal-950)); display: grid; place-items: center; flex: none; }
.pay-method__card svg { width: 22px; height: 22px; color: #A9E2E8; }
.form-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(11,110,122,.08); }
.inline-note { background: var(--info-bg); border: 1px solid rgba(42,125,174,.35); border-radius: var(--radius-sm); padding: 12px 15px; font-size: .88rem; color: #1c4c68; margin-top: 12px; display: flex; gap: .6em; align-items: flex-start; }
.inline-note svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.collapse { display: none; }
.collapse.open { display: block; animation: fade-up .3s var(--ease); }

/* skip link */
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--teal-700); padding: 10px 16px; border-radius: 8px; z-index: 999; font-weight: 600; }
.skip:focus { left: 8px; }

/* utility */
.mt-0{margin-top:0}.mt-1{margin-top:8px}.mt-2{margin-top:16px}.mt-3{margin-top:24px}.mt-4{margin-top:32px}
.muted{color:var(--ink-mute)} .small{font-size:.85rem} .nowrap{white-space:nowrap}
.row{display:flex;gap:12px;align-items:center;flex-wrap:wrap} .row--between{justify-content:space-between}
.hide{display:none!important}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .hero__caustics, .hero__caustics::after { animation: none; }
}

/* ---------- Schedule calendar (shared: month grid + week view) ---------- */
.cal { --tc: var(--teal-700); }
.cal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.cal__nav-group { display: flex; align-items: center; gap: 10px; }
.cal__title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--ink); margin: 0; min-width: 160px; text-align: center; }
.cal__nav { width: 34px; height: 34px; border: 1.5px solid rgba(11,110,122,.2); background: var(--sand-50); border-radius: 10px; font-size: 1.2rem; color: var(--teal-700); cursor: pointer; line-height: 1; display: flex; align-items: center; justify-content: center; }
.cal__nav:hover { background: var(--aqua-100); }
.cal__dow { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-bottom: 6px; }
.cal__dow span { font-family: var(--font-mono); font-size: .64rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-mute); text-align: center; }
.cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal__cell { min-width: 0; min-height: 104px; background: var(--sand-50); border: 1px solid var(--sand-200); border-radius: 12px; padding: 6px; display: flex; flex-direction: column; gap: 4px; }
.cal__cell--empty { background: transparent; border: 0; }
.cal__cell.is-today { border-color: var(--teal-500); box-shadow: inset 0 0 0 1.5px var(--teal-500); }
.cal__date { font-family: var(--font-mono); font-size: .78rem; font-weight: 700; color: var(--ink-soft); }
.cal__cell.is-today .cal__date { color: var(--teal-700); }
.cal__chips { display: flex; flex-direction: column; gap: 4px; }
.cal-chip { text-align: left; border: 0; cursor: pointer; background: #fff; border-left: 3px solid var(--tc); border-radius: 7px; padding: 4px 6px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 1px; position: relative; width: 100%; min-width: 0; max-width: 100%; box-sizing: border-box; }
.cal-chip:hover { background: var(--sand-100); }
.cal-chip.is-done { opacity: .55; }
.cal-chip__t { font-size: .72rem; font-weight: 600; color: var(--ink); line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-left: 11px; }
.cal-chip__s { font-family: var(--font-mono); font-size: .6rem; color: var(--ink-mute); padding-left: 11px; }
.cal-dot { position: absolute; left: 6px; top: 8px; width: 6px; height: 6px; border-radius: 50%; }
.cal-dot--static { position: static; display: inline-block; margin-right: 5px; }
.cal-legend { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--sand-200); }
.cal-legend__row { display: flex; flex-wrap: wrap; gap: 12px; }
.cal-leg { display: inline-flex; align-items: center; gap: 5px; font-size: .72rem; color: var(--ink-soft); }
.cal-leg i { width: 11px; height: 11px; border-radius: 3px; display: inline-block; }
.cal-leg i.cal-dot--static { border-radius: 50%; width: 8px; height: 8px; }
.cal--week .cal__week { display: grid; grid-template-columns: repeat(7, minmax(96px, 1fr)); gap: 6px; overflow-x: auto; }
.cal__col { background: var(--sand-50); border: 1px solid var(--sand-200); border-radius: 12px; padding: 6px; min-height: 120px; display: flex; flex-direction: column; gap: 6px; }
.cal__col.is-today { border-color: var(--teal-500); box-shadow: inset 0 0 0 1.5px var(--teal-500); }
.cal__coldate { font-family: var(--font-mono); font-size: .72rem; color: var(--ink-soft); text-align: center; }
.cal__coldate b { display: block; font-size: .62rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-mute); }
.cal__col.is-today .cal__coldate b { color: var(--teal-700); }
.cal__colchips { display: flex; flex-direction: column; gap: 5px; }
.cal__none { text-align: center; color: var(--ink-mute); font-size: .8rem; padding: 6px 0; }
@media (max-width: 720px) { .cal__cell { min-height: 76px; } .cal-chip__s { display: none; } }

/* availability picker (click a day, then a time) */
.cal--pick .cal__grid { gap: 5px; }
.cal__cell--pick { min-height: 52px; align-items: center; text-align: center; gap: 3px; position: relative; }
button.cal__cell--pick { font: inherit; }
.cal__cell--pick .cal__date { align-self: center; }
.cal__cell--pick.is-avail { cursor: pointer; border-color: rgba(11,110,122,.28); }
.cal__cell--pick.is-avail:hover { background: var(--aqua-100); border-color: var(--teal-500); }
.cal__cell--pick.is-selday { background: var(--teal-700); border-color: var(--teal-700); }
.cal__cell--pick.is-selday .cal__date { color: #fff; }
.cal__cell--pick.is-none { opacity: .45; }
.cal-avail { width: 6px; height: 6px; border-radius: 50%; background: var(--teal-500); }
.cal__cell--pick.is-selday .cal-avail { background: #fff; }
.cal-times { margin-top: 12px; border-top: 1px solid var(--sand-200); padding-top: 12px; }
.cal-times__lbl { font-family: var(--font-mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-mute); margin-bottom: 8px; }
.cal-times__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cal-slot { border: 1.5px solid rgba(11,110,122,.25); background: #fff; color: var(--teal-700); border-radius: 9px; padding: 7px 12px; font-family: var(--font-body); font-size: .82rem; font-weight: 600; cursor: pointer; line-height: 1.2; }
.cal-slot span { display: block; font-weight: 400; font-size: .68rem; color: var(--ink-mute); }
.cal-slot:hover { background: var(--aqua-100); border-color: var(--teal-500); }
.cal-slot.is-sel { background: var(--teal-700); color: #fff; border-color: var(--teal-700); }
.cal-slot.is-sel span { color: rgba(255,255,255,.75); }
.slot-flex input[type="checkbox"] { width: 17px; height: 17px; accent-color: var(--teal-700); }
