/* Coffee With: flat, high-contrast, maroon. System fonts only (the CSP blocks external ones).
   Palette sampled from the owner's reference (see ralph/inputs/mihs-theme.md). All colours live in :root. */
:root {
  /* brand */
  --brand: #882333;          /* primary maroon: nav bar, primary buttons */
  --brand-hover: #6f1b29;    /* pressed / hover maroon */
  --brand-deep: #7d212e;     /* large maroon feature blocks */
  --brand-tint: #f7eef0;     /* very light maroon wash */
  --accent: #2f6f8f;         /* steel blue for links, secondary buttons, focus (white text passes AA) */
  --accent-bright: #3a7c9c;  /* steel blue for the active nav tab and large/bold text */
  --accent-tint: #e9f1f5;
  --bar-gray: #666666;       /* thin utility strip */
  /* neutrals */
  --bg: #ffffff;
  --surface: #ffffff;
  --ink: #222222;
  --ink-2: #444444;
  --muted: #666666;
  --line: #e3d9db;           /* faint maroon-tinted rule */
  --line-2: #cdbfc2;
  --field-border: #857579;   /* form input outlines: 3:1 or better against white */
  /* status */
  --green: #15803d;
  --green-tint: #e8f5ec;
  --red: #b3261e;
  --red-tint: #fdecea;
  --amber-tint: #fdf3dc;
  /* shape */
  --radius: 4px;
  --radius-sm: 2px;
  --shadow-sm: none;
  --shadow-md: 0 6px 18px -8px rgba(34, 34, 34, .28);
  --font: "Open Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font: 16px/1.6 var(--font); color: var(--ink); background: var(--bg);
  min-height: 100vh; display: flex; flex-direction: column; -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--brand); }
main { width: 100%; max-width: 820px; margin: 0 auto; padding: 1.5rem 1.25rem 3rem; flex: 1; }
h1, h2, h3 { font-weight: 700; line-height: 1.2; letter-spacing: -.01em; color: var(--ink); }
h1 { font-size: 1.9rem; margin: 1.2rem 0 .5rem; }
h2 { font-size: 1.1rem; margin: 0 0 .5rem; }
:focus-visible { outline: 3px solid var(--accent-bright); outline-offset: 2px; border-radius: var(--radius-sm); }

/* ---------- header: white brand row, then a full-width maroon nav bar ---------- */
.top { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 3px solid var(--line-2); }
.top-in { display: flex; align-items: center; padding: .6rem 1.25rem; max-width: 1100px; margin: 0 auto; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.5rem; letter-spacing: -.01em; text-decoration: none; color: var(--brand); }
.brand:hover { color: var(--brand-hover); }
.brand img { width: 44px; height: 44px; flex: none; }
.brand .name { display: flex; flex-direction: column; line-height: 1.1; }
.mainnav { display: flex; flex-wrap: wrap; align-items: stretch; justify-content: center; gap: 0; background: var(--brand); padding: 0 .5rem; }
.mainnav a, .mainnav button.link {
  display: inline-flex; align-items: center; min-height: 46px; padding: 0 1.1rem; color: #fff; text-decoration: none; background: none; border: 0;
  font: inherit; font-size: .86rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; cursor: pointer; transition: background .15s;
}
.mainnav a:hover, .mainnav button.link:hover { background: var(--brand-hover); color: #fff; }
.mainnav a.on { background: var(--accent); color: #fff; }
.mainnav form.inline { display: flex; }
.badge { display: inline-block; background: #fff; color: var(--brand); border-radius: 999px; padding: 0 .5rem; margin-left: .4rem; font-size: .72rem; font-weight: 700; min-width: 1.3rem; text-align: center; line-height: 1.3rem; letter-spacing: 0; }

/* ---------- surfaces ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; margin: 1rem 0; box-shadow: var(--shadow-sm); }
.notice, .error { border-radius: var(--radius-sm); padding: .7rem 1rem; font-size: .95rem; margin: .8rem 0; border: 1px solid; border-left-width: 4px; }
.notice { background: var(--green-tint); border-color: #bfe3cb; color: #14532d; }
.error { background: var(--red-tint); border-color: #f4c7c2; color: #7a1c14; }
.muted, small { color: var(--muted); } small { display: block; font-weight: 400; font-size: .85rem; }
.foot a { display: inline-flex; align-items: center; min-height: 44px; }
.foot { text-align: center; color: var(--muted); padding: 1.5rem 1rem 2rem; font-size: .875rem; border-top: 3px solid var(--line-2); }

/* ---------- buttons ---------- */
.btn, button.btn {
  display: inline-flex; align-items: center; justify-content: center; background: var(--brand); color: #fff; border: 1px solid var(--brand);
  min-height: 44px; border-radius: var(--radius-sm); padding: .65rem 1.2rem; font: inherit; font-weight: 700; font-size: .86rem; letter-spacing: .07em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s;
}
.btn:hover { background: var(--brand-hover); border-color: var(--brand-hover); color: #fff; }
.btn.alt { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.alt:hover { background: #255b76; border-color: #255b76; color: #fff; }
.btn.warn { background: var(--red); border-color: var(--red); }
.btn.warn:hover { background: #8c1d17; border-color: #8c1d17; }
.btn.big { font-size: .95rem; padding: .85rem 1.6rem; }
button.link { display: inline-flex; align-items: center; min-height: 44px; background: none; border: 0; padding: 0 .3rem; color: var(--accent); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
form.inline { display: inline; }

/* ---------- forms ---------- */
.form label { display: block; margin: 1rem 0; font-weight: 600; font-size: .94rem; }
input, textarea, select {
  display: block; width: 100%; font: inherit; font-size: 1rem; font-weight: 400; color: var(--ink); padding: .65rem .8rem; margin-top: .35rem;
  border: 1px solid var(--field-border); border-radius: var(--radius-sm); background: var(--surface); transition: border-color .15s, box-shadow .15s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(58, 124, 156, .35); }
input[type=file] { padding: .5rem; background: var(--brand-tint); }
/* iPhone Safari draws date and time fields with their own width and centred text, so they stuck out past the card. */
input[type=date], input[type=time], input[type=datetime-local] { -webkit-appearance: none; appearance: none; min-width: 0; max-width: 100%; min-height: 2.9rem; text-align: left; }
input[type=date]::-webkit-date-and-time-value, input[type=time]::-webkit-date-and-time-value, input[type=datetime-local]::-webkit-date-and-time-value { text-align: left; min-height: 1.4em; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* The photo button: one tap opens the picker and the chosen photo uploads at once (public/app.js). */
.form .photo-pick, .photo-pick { position: relative; display: inline-flex; margin: 0; }
.photo-pick:focus-within { outline: 3px solid var(--accent-bright); outline-offset: 2px; }
.photo-pick.busy { opacity: .75; pointer-events: none; }
.photo-msg { margin: .5rem 0 0; color: var(--red); font-weight: 600; }
.photo-msg[hidden] { display: none; }
/* Drop-downs look like the other fields on every browser (macOS and iOS draw their own rounded control otherwise). */
select { -webkit-appearance: none; appearance: none; min-height: 44px; padding-right: 2.4rem; cursor: pointer;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http%3A//www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23882333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right .85rem center / .8rem auto; }
select::-ms-expand { display: none; }
input[type=checkbox] { width: auto; display: inline; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius-sm); margin: 1.1rem 0; padding: .5rem .9rem .9rem; }
legend { font-weight: 600; padding: 0 .4rem; font-size: .94rem; }
.hp { position: absolute; left: -9999px; }

/* ---------- landing ---------- */
.hero-split { display: grid; gap: 2.5rem; align-items: center; padding: 2rem 0 1rem; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: var(--brand); padding: .3rem .8rem; border-radius: var(--radius-sm); }
.hero-copy h1 { font-size: clamp(2.2rem, 7vw, 3.4rem); line-height: 1.08; letter-spacing: -.02em; font-weight: 700; margin: 1rem 0; }
.hero-copy h1 span { color: var(--brand); }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 32rem; margin: 0 0 1.6rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .7rem; }
.mock { position: relative; min-height: 270px; max-width: 420px; width: 100%; margin: 0 auto; }
.mock-card { position: absolute; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 1.1rem; }
.mock-card.a { top: 0; left: 0; width: 82%; }
.mock-card.b { bottom: 0; right: 0; width: 76%; background: var(--brand-deep); border-color: var(--brand-deep); color: #fff; }
.mock-card.b small { color: #f0d9dd; }
.mock .row2 { display: flex; align-items: center; gap: .8rem; margin-bottom: .5rem; }
.mock .init { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; flex: none; }
.mock .i1 { background: var(--brand-tint); color: var(--brand); } .mock .i2 { background: var(--accent-tint); color: var(--accent); }
.mock b { display: block; line-height: 1.25; } .mock small { margin: 0; }
.steps { display: grid; gap: 0; margin: 3rem 0 1rem; padding: 0; list-style: none; counter-reset: step; border-top: 3px solid var(--brand); }
.step { padding: 1.4rem 0; border-bottom: 1px solid var(--line); counter-increment: step; color: var(--ink-2); }
.step::before { content: "0" counter(step); display: block; font-size: .82rem; font-weight: 700; color: var(--brand); letter-spacing: .12em; margin-bottom: .35rem; }
.step b { display: block; font-size: 1.1rem; color: var(--ink); margin-bottom: .15rem; }
.band { margin: 1.5rem 0; padding: 1.4rem 1.6rem; background: var(--brand-deep); border: 0; border-radius: var(--radius); color: #fff; }
.band a { color: #fff; text-decoration: underline; }
.band p { margin: .15rem 0; }

/* ---------- member home ---------- */
.welcome-hero { display: flex; align-items: center; gap: 1.1rem; margin: .5rem 0 .6rem; }
.welcome-hero h1 { margin: 0 0 .15rem; font-size: 1.7rem; }
.welcome-hero .welcome { margin: 0; }
.welcome { color: var(--ink-2); margin: -.1rem 0 1rem; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin: 1.2rem 0 1.6rem; }
.tile { display: flex; flex-direction: column; gap: .15rem; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line-2); border-top: 4px solid var(--brand); border-radius: var(--radius); padding: 1rem 1.1rem; transition: box-shadow .2s, transform .2s; }
.tile:hover { box-shadow: var(--shadow-md); color: var(--ink); transform: translateY(-2px); }
.tile .ico { width: 38px; height: 38px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; margin-bottom: .55rem; background: var(--brand-tint); color: var(--brand); }
.tile.t2 { border-top-color: var(--accent); } .tile.t2 .ico { background: var(--accent-tint); color: var(--accent); }
.tile.t3 { border-top-color: var(--green); } .tile.t3 .ico { background: var(--green-tint); color: var(--green); }
.tile .ico svg { width: 20px; height: 20px; }
.tile b { font-weight: 700; } .tile small { color: var(--muted); }
h2.sec { font-size: 1.05rem; margin: 2rem 0 .5rem; text-transform: uppercase; letter-spacing: .08em; color: var(--brand); }
.check { list-style: none; padding: 0; margin: .6rem 0 0; }
.check li { padding: .3rem 0 .3rem 2rem; position: relative; font-weight: 500; }
.check li::before { content: ""; position: absolute; left: 0; top: .42rem; width: 1.2rem; height: 1.2rem; border-radius: 50%; border: 1.5px solid var(--line-2); }
.check li.done { color: var(--muted); }
.check li.done::before { content: "✓"; border: 0; background: var(--green); color: #fff; font-size: .72rem; text-align: center; line-height: 1.2rem; }
.mini { display: flex; align-items: center; gap: .8rem; }

/* ---------- people ---------- */
.cards { display: block; }
.avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; background: var(--brand-tint); }
.avatar.big { width: 96px; height: 96px; }
.avatar.sm { width: 44px; height: 44px; font-size: 1.05rem; }
.avatar.ph { display: flex; align-items: center; justify-content: center; background: var(--brand-tint); color: var(--brand); font-weight: 700; font-size: 1.5rem; }
.person, .photo-row { display: flex; gap: 1rem; align-items: flex-start; }
a.person { text-decoration: none; color: inherit; transition: box-shadow .2s, border-color .2s; }
a.person:hover { box-shadow: var(--shadow-md); border-color: var(--brand); }
.person h2 { margin: 0; font-size: 1.1rem; font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: .35rem; margin: .5rem 0; }
a.chip { display: inline-flex; align-items: center; min-height: 44px; } /* chips that are links (filters) are tap targets */
.chip { background: #f1eced; border-radius: var(--radius-sm); padding: .1rem .65rem; font-size: .82rem; font-weight: 600; text-decoration: none; color: var(--ink-2); }
.chip.shared, .chips .chip.shared { background: var(--brand-tint); color: var(--brand-hover); font-weight: 700; }
.free { display: inline-flex; align-items: center; gap: .4rem; color: var(--green); font-weight: 600; font-size: .85rem; line-height: 1.3; margin-top: .1rem; }
.free::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--green); flex: none; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; align-items: stretch; margin-bottom: 1rem; }
.filters input, .filters select { width: auto; margin: 0; }
.filters input, .filters select, .filters .btn { min-height: 44px; }
.empty { text-align: center; padding: 2.5rem 1rem; background: var(--surface); border: 1px dashed var(--line-2); border-radius: var(--radius); color: var(--ink-2); }
.empty p { margin: .25rem 0 0; }

/* ---------- lists, tags, availability ---------- */
.list { list-style: none; padding: 0; margin: 0; }
.list .card { margin: .6rem 0; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; text-decoration: none; color: inherit; }
a.row { transition: box-shadow .2s, border-color .2s; } a.row:hover { box-shadow: var(--shadow-md); border-color: var(--brand); }
.inline-forms { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.status { display: flex; flex-wrap: wrap; gap: .35rem; justify-content: flex-end; }
.tag { font-size: .72rem; font-weight: 700; padding: .15rem .6rem; border-radius: var(--radius-sm); background: var(--amber-tint); color: #7a4f00; text-transform: uppercase; letter-spacing: .06em; }
.tag.accepted, .tag.matched { background: var(--green-tint); color: #11692f; }
.tag.declined, .tag.closed { background: var(--red-tint); color: #9a1f17; }
.tag.expired { background: #eceaea; color: #555555; }
.avail { padding-left: 1.2rem; margin: .25rem 0; }

.grid { display: grid; grid-template-columns: 3rem repeat(3, 1fr); gap: .4rem; align-items: center; padding: .4rem 0; }
.gh { font-size: .72rem; text-align: center; color: var(--muted); font-weight: 700; text-transform: capitalize; } .gd { font-weight: 700; font-size: .9rem; }
.cell { margin: 0 !important; font-weight: 400 !important; }
.cell input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cell span { display: block; text-align: center; min-height: 44px; box-sizing: border-box; padding: .5rem 0; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--surface); font-size: 0; cursor: pointer; transition: background .12s, border-color .12s; }
.cell span::before { content: "·"; font-size: 1.2rem; color: var(--line-2); }
.cell:hover span { border-color: var(--ink-2); }
.cell input:checked + span { background: var(--brand); border-color: var(--brand); }
.cell input:checked + span::before { content: "✓"; font-size: .9rem; color: #fff; }
.cell input:focus-visible + span { outline: 3px solid var(--accent-bright); outline-offset: 2px; }

/* ---------- messages ---------- */
.msg { max-width: 82%; margin: .5rem 0; padding: .55rem .85rem; border-radius: var(--radius); background: #f1eced; overflow-wrap: anywhere; }
.msg.mine { margin-left: auto; background: var(--brand); color: #fff; }
.msg .who { font-size: .72rem; color: var(--muted); } .msg.mine .who { color: rgba(255, 255, 255, .8); }
.msg-form { display: flex; gap: .5rem; margin-top: 1rem; } .msg-form input { margin: 0; }

/* ---------- settings tabs ---------- */
.tabs { display: flex; flex-wrap: wrap; margin: 1rem 0 1.2rem; border-bottom: 3px solid var(--line-2); }
.tabs a.tab { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1rem; margin-bottom: -3px; border-bottom: 3px solid transparent; text-decoration: none; font-weight: 700; font-size: .86rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.tabs a.tab:hover { color: var(--brand); }
.tabs a.tab.on { color: var(--brand); border-bottom-color: var(--brand); }

.form .check-row { display: flex; align-items: flex-start; gap: .7rem; margin: .9rem 0; font-weight: 400; }
.check-row input[type=checkbox] { margin-top: .35rem; width: 1.1rem; height: 1.1rem; flex: none; accent-color: var(--brand); }
.check-row b { font-weight: 700; display: block; }
input[type=checkbox]:focus-visible { outline: 3px solid var(--accent-bright); outline-offset: 2px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 1.2rem 0; }

small.inline { display: inline; margin-left: .3rem; }
.table-wrap { overflow-x: auto; max-width: 100%; } /* a wide table scrolls inside its card instead of widening the page */
table.weeks { width: 100%; border-collapse: collapse; }
table.weeks th, table.weeks td { text-align: left; padding: .45rem .4rem; border-bottom: 1px solid var(--line); }
table.weeks thead th { font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
table.weeks tbody th { font-weight: 600; }
table.weeks tr:last-child th, table.weeks tr:last-child td { border-bottom: 0; }

/* ---------- misc ---------- */
.secret { font: 700 1.5rem ui-monospace, Consolas, monospace; letter-spacing: .05em; background: var(--brand-tint); border: 1px solid var(--line-2); padding: .8rem; border-radius: var(--radius-sm); text-align: center; user-select: all; }
.danger summary { color: var(--red); }
details summary { cursor: pointer; font-weight: 600; min-height: 44px; box-sizing: border-box; padding: .6rem 0; }
details[open] summary { margin-bottom: .5rem; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media (min-width: 720px) {
  .cards { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
  .hero-split { grid-template-columns: 1.15fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .step { border-bottom: 0; }
  .mainnav { justify-content: flex-start; padding: 0 max(1.25rem, calc((100vw - 1100px) / 2)); }
}
@media (max-width: 520px) {
  .brand { font-size: 1.25rem; }
  .mainnav a, .mainnav button.link { padding: 0 .8rem; font-size: .8rem; letter-spacing: .06em; }
  .tiles { grid-template-columns: 1fr; }
  .tile { flex-direction: row; align-items: center; gap: .8rem; } .tile .ico { margin: 0; } .tile small { margin-left: auto; }
  .welcome-hero h1 { font-size: 1.4rem; }
  .avatar.big { width: 72px; height: 72px; }
}

/* ---------- date and time picker (public/datepicker.js; computers only, phones keep their own) ---------- */
.dp-trigger { display: block; width: 100%; min-height: 44px; margin-top: .35rem; padding: .65rem 2.6rem .65rem .8rem; text-align: left; font: inherit; font-size: 1rem; font-weight: 400; color: var(--ink);
  border: 1px solid var(--field-border); border-radius: var(--radius-sm); cursor: pointer; transition: border-color .15s, box-shadow .15s;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http%3A//www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23882333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4.5' width='18' height='16.5' rx='2'/%3E%3Cpath d='M3 10h18M8 2.5v4M16 2.5v4'/%3E%3C/svg%3E") no-repeat right .8rem center / 1.15rem auto; }
.dp-trigger.empty { color: #6b6b6b; }
.dp-trigger:focus, .dp-trigger[aria-expanded="true"] { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(58, 124, 156, .35); }
.dp-error { display: block; margin-top: .35rem; color: var(--red); font-weight: 600; }
.dp-error[hidden] { display: none; }
.dp-pop { position: absolute; z-index: 50; width: 20rem; max-width: calc(100vw - 16px); padding: .8rem; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow-md); color: var(--ink); font-size: .95rem; }
.dp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .45rem; }
.dp-title { font-weight: 700; }
.dp-nav { width: 2.5rem; height: 2.5rem; padding: 0; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--surface); color: var(--brand); font: inherit; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.dp-nav:hover:not(:disabled) { background: var(--brand-tint); }
.dp-nav:disabled { color: #b8adb0; cursor: default; }
.dp-grid { width: 100%; border-collapse: collapse; table-layout: fixed; }
.dp-grid th { padding: .2rem 0; text-align: center; font-size: .78rem; font-weight: 700; color: var(--muted); }
.dp-grid td { padding: 1px; text-align: center; }
.dp-day { position: relative; width: 100%; height: 2.5rem; padding: 0; border: 1px solid transparent; border-radius: var(--radius-sm); background: none; color: var(--ink); font: inherit; font-size: .92rem; cursor: pointer; }
.dp-day:hover:not(:disabled) { background: var(--brand-tint); border-color: var(--line-2); }
.dp-day.out { color: #6f6568; }
.dp-day:disabled { color: #b8adb0; cursor: default; }
.dp-day.today::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--brand); }
.dp-day.sel { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 700; }
.dp-day.sel:hover:not(:disabled) { background: var(--brand-hover); }
.dp-day.sel.today::after { background: #fff; }
.dp-trigger:focus-visible, .dp-nav:focus-visible, .dp-day:focus-visible { outline: 3px solid var(--accent-bright); outline-offset: 2px; }
.dp-time { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-top: .6rem; padding-top: .7rem; border-top: 1px solid var(--line); }
.dp-time label { display: flex; align-items: center; gap: .5rem; margin: 0; font-weight: 600; }
.dp-time select { width: auto; margin: 0; }
