/* Ovra palette: Mediterranean warmth */
:root {
  /* Ovra brand: used only for Ovra itself (logo, login, emails, website) */
  --ovra-teal: #0f6e70;
  --ovra-terracotta: #d9673f;
  --ovra-saffron: #e9a93a;
  --sand: #f3f5f7;      /* light neutral page background */
  --ink: #1f2429;

  /* Meaning colours: the same meaning on every screen */
  --yes: #2e8b57;        /* green: yes, done, good */
  --care: #c98a0b;       /* amber: take care */
  --no: #c0392b;         /* red: no, stop */
  --progress: #2f6fb0;   /* blue: in progress */
  --neutral: #7a8288;    /* grey: neutral or inactive */
  --source: #138a8a;     /* teal: where they came from */
  --group: #7b5bb5;      /* purple: interests and groups */

  --brand: #1f3a5f;      /* replaced by each business's own colour */
  --brand-ink: #ffffff;
  --bg: var(--sand);
  --card: #ffffff;
  --muted: #555e67;
  --line: #e2e6ea;
  --soft: #eef1f4;
  --danger: var(--no);
  --radius: 12px;
  --shadow: 0 1px 2px rgba(31, 36, 41, .05), 0 4px 14px rgba(31, 36, 41, .05);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--ink); font: 16px/1.55 Inter, system-ui, sans-serif;
}
a { color: var(--brand); }
h1, h2, h3 { font-weight: 700; margin: 0 0 .5rem; letter-spacing: -.015em; }
h1 { font-size: 1.65rem; } h2 { font-size: 1.25rem; } h3 { font-size: 1.05rem; }
.muted { color: var(--muted); }
.small { font-size: .92rem; }

/* header in the business's colour */
.topbar { background: var(--brand); color: var(--brand-ink); position: sticky; top: 0; z-index: 5;
  background-image: linear-gradient(120deg, rgba(255,255,255,.10), rgba(0,0,0,.12)); box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.topbar-inner { max-width: 1200px; margin: 0 auto; padding: .6rem 16px; display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; }
.logo { font-weight: 700; font-size: 1.3rem; letter-spacing: .06em; color: var(--brand-ink); text-decoration: none; display: flex; align-items: center; gap: .5rem; }
.mark { display: inline-flex; gap: 3px; }
.mark i { width: 9px; height: 9px; border-radius: 50%; display: block; box-shadow: 0 0 0 1.5px rgba(255,255,255,.7); }
.mark i:nth-child(1) { background: var(--ovra-teal); } .mark i:nth-child(2) { background: var(--ovra-terracotta); } .mark i:nth-child(3) { background: var(--ovra-saffron); }
.client-logo { display: flex; align-items: center; padding-left: .75rem; border-left: 1px solid color-mix(in srgb, var(--brand-ink) 30%, transparent); }
.client-logo img { height: 34px; width: auto; display: block; }
.switcher { max-width: 300px; width: auto; background: rgba(255,255,255,.95); }
.nav { display: flex; gap: .2rem; margin-left: auto; flex-wrap: wrap; }
.nav a { padding: .4rem .75rem; border-radius: 999px; text-decoration: none; color: var(--brand-ink); opacity: .82; font-weight: 500; }
.nav a:hover { opacity: 1; background: rgba(255,255,255,.12); }
.nav a.active { opacity: 1; background: rgba(255,255,255,.22); }
main { max-width: 1200px; margin: 0 auto; padding: 1.25rem 16px 4rem; }
.row { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; }
.spread { justify-content: space-between; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 760px) { .grid2 { grid-template-columns: 1fr; } .nav { margin-left: 0; width: 100%; } }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; margin-bottom: 1rem; box-shadow: var(--shadow); }
.card.accent { border-top: 4px solid var(--brand); }
.center-card { max-width: 440px; margin: 0 auto; border-top: 5px solid var(--ovra-teal); }
.welcome { min-height: 100vh; padding: 8vh 16px; background: var(--sand); }
.welcome .brandline { display: flex; align-items: center; justify-content: center; gap: .55rem; margin-bottom: 1.25rem; font-weight: 700; font-size: 2rem; letter-spacing: .06em; color: var(--ovra-teal); }
.welcome .mark i { width: 13px; height: 13px; box-shadow: none; }
.welcome button { background: var(--ovra-teal); border-color: var(--ovra-teal); }
.welcome .tagline { text-align: center; color: var(--muted); margin: -.75rem 0 1.25rem; }

/* summary tiles */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; margin: .9rem 0 1rem; }
@media (max-width: 760px) { .tiles { grid-template-columns: 1fr 1fr; } }
.tile { border-radius: var(--radius); padding: 1rem 1.1rem; display: flex; flex-direction: column; justify-content: space-between; min-height: 6.2rem; color: #fff; box-shadow: var(--shadow); text-decoration: none; display: block; }
.tile .stat { font-size: 1.9rem; line-height: 1.15; font-weight: 700; letter-spacing: -.01em; overflow-wrap: anywhere; }
.tile .lbl { font-size: 1.02rem; font-weight: 600; letter-spacing: .01em; margin-top: .2rem; }
.tile.neutral { background: linear-gradient(135deg, #6c757c, #8a9298); }
.tile.yes { background: linear-gradient(135deg, #2e8b57, #46a36d); }
.tile.care { background: linear-gradient(135deg, #c98a0b, #dba12d); }
.tile.progress { background: linear-gradient(135deg, #2f6fb0, #4a87c4); }

/* forms */
label { display: block; font-weight: 500; font-size: .88rem; margin: .6rem 0 .25rem; }
input, select, textarea { width: 100%; font: inherit; padding: .55rem .65rem; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 2px solid color-mix(in srgb, var(--brand) 35%, transparent); border-color: var(--brand); }
input[type=checkbox] { width: auto; margin-right: .4rem; accent-color: var(--brand); }
input[type=color] { padding: 2px; height: 38px; width: 72px; }
.check { display: flex; align-items: flex-start; gap: .2rem; font-weight: 400; }
textarea { min-height: 80px; resize: vertical; }
button, .btn { font: inherit; font-weight: 600; border: 1px solid var(--brand); background: var(--brand); color: var(--brand-ink); padding: .5rem .95rem; border-radius: 999px; cursor: pointer; text-decoration: none; display: inline-block; }
button:hover, .btn:hover { filter: brightness(1.08); }
button.secondary, .btn.secondary { background: #fff; color: var(--brand); }
button.danger { background: #fff; color: var(--danger); border-color: var(--danger); }
button.link { background: none; border: none; color: var(--brand); padding: 0; font-weight: 500; }
button.tiny { padding: .15rem .55rem; font-size: .8rem; }
button:disabled { opacity: .55; cursor: default; filter: none; }
.error { color: var(--danger); font-size: .9rem; margin-top: .5rem; min-height: 1.2em; }

/* contacts table */
.filters { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: .5rem; }
@media (max-width: 760px) { .filters { grid-template-columns: 1fr 1fr; } .filters input { grid-column: 1 / -1; } }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: .6rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; }
tbody tr { cursor: pointer; transition: background .12s; }
tbody tr:hover { background: color-mix(in srgb, var(--brand) 6%, #fff); }
.avatar { width: 34px; height: 34px; border-radius: 50%; color: color-mix(in srgb, var(--brand) 85%, #000); background: color-mix(in srgb, var(--brand) 14%, #fff); border: 1px solid color-mix(in srgb, var(--brand) 25%, #fff); display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: .85rem; flex: none; }
.who { display: flex; gap: .6rem; align-items: center; }
@media (max-width: 760px) {
  thead { display: none; }
  table, tbody, tr, td { display: block; }
  tr { border-bottom: 1px solid var(--line); padding: .55rem 0; }
  td { border: none; padding: .1rem 0; }
}

/* pills: --c sets the colour */
.pill { --c: #69727b; display: inline-block; font-size: .82rem; font-weight: 600; padding: .12rem .55rem; border-radius: 999px; margin: 0 .25rem .25rem 0; white-space: nowrap;
  color: color-mix(in srgb, var(--c) 85%, #000); background: color-mix(in srgb, var(--c) 14%, #fff); border: 1px solid color-mix(in srgb, var(--c) 30%, #fff); }
.pill.solid { color: #fff; background: var(--c); border-color: var(--c); }
.pill.yes { --c: var(--yes); } .pill.care { --c: var(--care); } .pill.no { --c: var(--no); } .pill.progress { --c: var(--progress); }
.pill.neutral { --c: var(--neutral); } .pill.source { --c: var(--source); } .pill.group { --c: var(--group); }
.overdue { color: var(--care); font-weight: 600; }
.pill button { background: none; border: none; color: inherit; padding: 0 0 0 .3rem; font-weight: 700; cursor: pointer; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { padding: .6rem 0 .6rem .9rem; border-left: 3px solid var(--c, var(--line)); margin-bottom: .35rem; }
.code { background: #1f2429; color: #f1ebe0; font: 12px/1.5 ui-monospace, Menlo, monospace; padding: .8rem; border-radius: 9px; white-space: pre-wrap; word-break: break-all; max-height: 260px; overflow: auto; }
.empty { text-align: center; padding: 2rem 1rem; color: var(--muted); }

/* pipeline board */
.board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: .8rem; overflow-x: auto; padding-bottom: .75rem; scroll-snap-type: x mandatory; }
.col { --c: #4f8fc0; background: color-mix(in srgb, var(--c) 7%, #fff); border: 1px solid color-mix(in srgb, var(--c) 22%, #fff); border-top: 5px solid var(--c); border-radius: var(--radius); padding: .6rem; min-height: 200px; scroll-snap-align: start; }
.col.over { background: color-mix(in srgb, var(--c) 18%, #fff); }
.col-head { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; padding: .1rem .2rem .5rem; }
.col-head strong { color: color-mix(in srgb, var(--c) 80%, #000); }
.col-total { font-size: .8rem; color: var(--muted); }
.deal { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--c); border-radius: 10px; padding: .55rem .65rem; margin-bottom: .5rem; box-shadow: var(--shadow); cursor: grab; }
.deal:active { cursor: grabbing; }
.deal.dragging { opacity: .45; }
.deal-title { font-weight: 600; color: var(--ink); text-decoration: none; display: block; }
.deal-meta { font-size: .8rem; color: var(--muted); }
.deal-value { font-weight: 700; font-size: 1.05rem; color: color-mix(in srgb, var(--c) 75%, #000); }
.deal select { margin-top: .4rem; padding: .25rem .4rem; font-size: .8rem; border-radius: 7px; }
.steps { display: flex; flex-wrap: wrap; gap: .35rem; }
.step { --c: #4f8fc0; border: 1.5px solid var(--c); color: color-mix(in srgb, var(--c) 85%, #000); background: #fff; border-radius: 999px; padding: .3rem .8rem; font-size: .85rem; font-weight: 600; }
.step.on { background: var(--c); color: #fff; }
.stage-row { display: grid; grid-template-columns: 14px 1fr 132px auto; gap: .4rem; align-items: center; margin-bottom: .4rem; }
.stage-swatch { width: 14px; height: 14px; border-radius: 50%; background: var(--c); }
.legend { display: flex; flex-wrap: wrap; gap: .4rem .9rem; font-size: .8rem; color: var(--muted); }
.legend span::before { content: ''; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--c); margin-right: .35rem; }

#toast { position: fixed; bottom: 1rem; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 999px; opacity: 0; transition: opacity .2s; pointer-events: none; max-width: 90vw; }
#toast.show { opacity: 1; }

.colour-field { display: grid; grid-template-columns: 56px 1fr auto; gap: .5rem; align-items: center; }
.colour-field input[type=color] { width: 56px; height: 42px; padding: 3px; cursor: pointer; }
.colour-field #hexInput { font-family: ui-monospace, Menlo, monospace; text-transform: lowercase; }
.colour-field #hexInput.invalid { border-color: var(--no); outline-color: var(--no); }

.file-list { list-style: none; margin: .5rem 0 0; padding: 0; }
.file-list li { display: flex; gap: .6rem; align-items: center; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.file-list li:last-child { border-bottom: none; }
.file-icon { font-size: 1.2rem; }
.file-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.file-main a { font-weight: 600; overflow-wrap: anywhere; }
input[type=file] { padding: .45rem; background: var(--soft); }

.badge { display: inline-block; min-width: 1.35em; padding: 0 .4em; border-radius: 999px; background: var(--care); color: #fff; font-size: .78rem; font-weight: 700; text-align: center; line-height: 1.5; }
.viewonly { background: var(--soft); border-bottom: 1px solid var(--line); text-align: center; padding: .45rem 16px; font-weight: 600; color: var(--muted); }
.member-row, .request-row { display: flex; justify-content: space-between; align-items: center; gap: .75rem; flex-wrap: wrap; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.member-row:last-child, .request-row:last-child { border-bottom: none; }

/* groups, custom fields, organisations */
.avatar.org { border-radius: 10px; }
.list-link { display: block; text-decoration: none; color: inherit; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.list-link:last-child { border-bottom: none; }
.group-row, .field-row { display: grid; grid-template-columns: minmax(140px, 1fr) auto auto auto; gap: .5rem; align-items: center; padding: .45rem 0; border-bottom: 1px solid var(--line); }
.field-row { grid-template-columns: minmax(140px, 1fr) auto minmax(120px, 1fr) auto; }
@media (max-width: 760px) { .group-row, .field-row { grid-template-columns: 1fr; } }
.swatches { display: flex; gap: .3rem; flex-wrap: wrap; }
.swatch { margin: 0; cursor: pointer; }
.swatch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.swatch span { display: block; width: 24px; height: 24px; border-radius: 50%; background: var(--c); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.swatch input:checked + span { box-shadow: 0 0 0 2px var(--ink); }
.swatch input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
h4 { font-size: .95rem; font-weight: 700; }
table.map select { padding: .35rem .5rem; }
table.map tbody tr { cursor: default; }
.bar { height: 10px; border-radius: 999px; background: var(--soft); overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--progress); transition: width .2s; }

/* tasks and Today */
.tasks { list-style: none; margin: 0; padding: 0; }
.task { display: flex; gap: .6rem; align-items: flex-start; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.task:last-child { border-bottom: none; }
.task input[type=checkbox] { width: 20px; height: 20px; margin: .15rem 0 0; flex: none; accent-color: var(--yes); }
.task-main { flex: 1; min-width: 0; }
.task-title { font-weight: 600; }
.task.done .task-title { text-decoration: line-through; color: var(--muted); }
.task-form { margin-top: .75rem; padding-top: .75rem; border-top: 1px solid var(--line); }
.grid3 { display: grid; grid-template-columns: 1fr 1fr auto; gap: .6rem; }
@media (max-width: 760px) { .grid3 { grid-template-columns: 1fr; } }
.toggle { display: inline-flex; border: 1px solid var(--brand); border-radius: 999px; overflow: hidden; }
.toggle a { padding: .45rem 1rem; text-decoration: none; font-weight: 600; color: var(--brand); min-width: 7.5rem; text-align: center; }
.toggle a.on { background: var(--brand); color: var(--brand-ink); }

/* email */
textarea.compose { min-height: 260px; font-size: 1rem; line-height: 1.6; }
.notice { padding: .75rem 1rem; }
.notice.care { border-left: 5px solid var(--care); background: color-mix(in srgb, var(--care) 8%, #fff); }
.notice.yes { border-left: 5px solid var(--yes); background: color-mix(in srgb, var(--yes) 8%, #fff); }
.row.equal > button, .row.equal > .btn { flex: 1 1 0; min-width: 9rem; max-width: 14rem; text-align: center; }
.domain { border: 1px solid var(--line); border-radius: 10px; padding: .6rem .75rem; margin-top: .6rem; }
.scroll-x { overflow-x: auto; }
table.dns { margin-top: .5rem; font-size: .85rem; }
table.dns tbody tr { cursor: default; }
.mono { font-family: ui-monospace, Menlo, monospace; word-break: break-all; }
details.list-link summary { cursor: pointer; }

/* plan, setup */
.banner { text-align: center; padding: .55rem 16px; font-weight: 600; border-bottom: 1px solid var(--line); }
.banner.care { background: color-mix(in srgb, var(--care) 12%, #fff); color: color-mix(in srgb, var(--care) 70%, #000); }
.banner.no { background: color-mix(in srgb, var(--no) 10%, #fff); color: color-mix(in srgb, var(--no) 80%, #000); }
.banner a { color: inherit; }
.setups { display: grid; gap: .5rem; }
.setup-card { display: flex; gap: .6rem; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 10px; padding: .65rem .75rem; margin: 0; font-weight: 400; cursor: pointer; }
.setup-card > span { display: flex; flex-direction: column; gap: .1rem; }
.setup-card:has(input:checked) { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 5%, #fff); }
.setup-card input { margin-top: .3rem; width: auto; flex: none; accent-color: var(--brand); }
.tick { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); flex: none; display: inline-flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 700; color: #fff; }
.tick.on { background: var(--yes); border-color: var(--yes); }

/* ---------- You: avatar, your menu, profile ---------- */
.avatar { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; overflow: hidden; flex: none;
  background: var(--ink); color: #fff; font-weight: 700; letter-spacing: .02em; }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar.sm { width: 30px; height: 30px; font-size: .78rem; border: 2px solid rgba(255,255,255,.7); }
.avatar.md { width: 44px; height: 44px; font-size: 1rem; }
.avatar.xl { width: 112px; height: 112px; font-size: 2.4rem; box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--brand); }

.usermenu { position: relative; }
.usermenu > summary { list-style: none; display: flex; align-items: center; gap: .45rem; cursor: pointer; padding: .2rem .65rem .2rem .2rem;
  border-radius: 999px; color: var(--brand-ink); font-weight: 600; }
.usermenu > summary::-webkit-details-marker { display: none; }
.usermenu > summary:hover, .usermenu > summary.active, .usermenu[open] > summary { background: rgba(255,255,255,.18); }
.um-caret { font-size: .75rem; opacity: .85; }
.um-panel { position: absolute; right: 0; top: calc(100% + .4rem); width: 270px; background: #fff; color: var(--ink); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: 0 12px 30px rgba(20,30,40,.18); padding: .4rem; z-index: 20; }
.um-head { display: flex; gap: .7rem; align-items: center; padding: .6rem .6rem .75rem; border-bottom: 1px solid var(--line); margin-bottom: .3rem; }
.um-head > div { display: flex; flex-direction: column; min-width: 0; }
.um-head .small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.um-panel a { display: block; padding: .55rem .7rem; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; }
.um-panel a:hover { background: var(--soft); }
.um-panel a.um-out { border-top: 1px solid var(--line); border-radius: 0 0 8px 8px; margin-top: .3rem; color: var(--no); }

.profile-hero { display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem; align-items: center; padding: 1.6rem 1.5rem; border-top: 6px solid var(--brand); }
.profile-hero h1 { margin: 0 0 .2rem; }
.ph-title { font-size: 1.1rem; font-weight: 600; margin: 0 0 .35rem; }
.ph-text p { margin: .15rem 0; }
.ph-actions { flex-direction: column; align-self: start; }
.ph-actions label.btn { margin: 0; text-align: center; }
.ph-error { grid-column: 1 / -1; margin: 0; }
.ph-error:empty { display: none; }
@media (max-width: 760px) {
  .profile-hero { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .ph-actions { flex-direction: row; justify-content: center; }
  .um-name { display: none; }
}
@media (max-width: 760px) { .more-links { display: grid; grid-template-columns: 1fr; } .more-links > .btn { max-width: none; } }

/* Meetings */
.mt-hours { display: grid; gap: .35rem; margin-bottom: .5rem; }
.mt-day { display: grid; grid-template-columns: 9rem 8.5rem auto 8.5rem; justify-content: start; align-items: center; gap: .6rem; }
.mt-day .check { margin: 0; }
.mt-day input[type=time] { width: 100%; margin: 0; }
.mt-day input:disabled { opacity: .45; }
.mt-cancelled strong, .mt-cancelled a { text-decoration: line-through; color: var(--muted); }
.mt-cancelbox { flex-basis: 100%; }
.mt-cancelled .mt-cancelbox strong { text-decoration: none; color: inherit; }
.mt-form { margin-top: 1rem; }
details.card > summary { cursor: pointer; }
@media (max-width: 560px) { .mt-day { grid-template-columns: 1fr 1fr; } .mt-day .check { grid-column: 1 / -1; } .mt-day > span { display: none; } }

/* Forms and Sign-Ups: numbers per source (3 Dec 2026) */
.tile .sub { font-size: .92rem; font-weight: 500; opacity: .92; margin-top: .15rem; }
table.signups td { vertical-align: middle; }
table.signups .num { font-size: 1.15rem; font-weight: 700; }
table.signups .cell-lbl { display: none; }
.spark { display: inline-flex; align-items: flex-end; gap: 3px; height: 28px; width: 76px; }
.spark i { flex: 1; background: var(--brand); border-radius: 2px 2px 0 0; min-height: 2px; }
.spark i.zero { background: var(--line); }
@media (max-width: 760px) {
  table.signups td { padding: .15rem 0; }
  table.signups .cell-lbl { display: inline; color: var(--muted); font-size: .92rem; }
  table.signups .num { font-size: 1rem; }
}

/* Website visits (4 Dec 2026): warm uses Ovra's terracotta, so it never reads as yes, care or no */
:root { --warm: #c4552f; }
.pill.warm { --c: var(--warm); }
.tile.warm { background: linear-gradient(135deg, #c4552f, #d9703f); }
.tiles.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .tiles.three { grid-template-columns: 1fr; } }
.web-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin: .4rem 0 .8rem; }
.web-stats div { background: var(--soft); border-radius: 9px; padding: .5rem .7rem; }
.web-stats strong { display: block; font-size: 1.05rem; }
.web-stats span { font-size: .85rem; color: var(--muted); }
.web-visit { border-left: 3px solid var(--warm); padding: .1rem 0 .1rem .8rem; margin: 0 0 .7rem; }
.web-visit ol { margin: .2rem 0 0; padding-left: 1.1rem; }
.web-visit li { margin: .15rem 0; overflow-wrap: anywhere; }
.warm-rule { margin: .8rem 0 .2rem; font-size: .95rem; line-height: 2.2; }
.warm-rule input { width: 4.5rem; display: inline-block; padding: .3rem .4rem; margin: 0 .2rem; text-align: center; }
#web h4 { margin: 1.2rem 0 .2rem; }
#web details { margin-top: .4rem; }
.banner-preview { background: #e9edf1; border-radius: 12px; padding: 18px 16px; }
.banner-preview .bp { max-width: 560px; margin: 0 auto; background: #fff; border-radius: 14px; padding: 16px 18px; box-shadow: 0 8px 30px rgba(0,0,0,.10); }
.banner-preview .bp p { margin: 0 0 12px; font-size: .95rem; }
.banner-preview a { color: var(--brand); font-weight: 600; }
.banner-preview .bp-row { display: flex; gap: 12px; flex-wrap: wrap; }
.banner-preview .bp-row span { flex: 1 1 0; min-width: 110px; text-align: center; padding: .55rem 1rem; border-radius: 999px; background: var(--bp-btn, var(--brand)); color: #fff; font-weight: 600; }
.banner-preview a { color: var(--bp-btn, var(--brand)); }
.banner-preview.bar { padding: 60px 0 0; overflow: hidden; }
.banner-preview.bar .bp { max-width: none; border-radius: 0; border-top: 3px solid var(--bp-line, var(--brand)); display: flex; gap: 1.2rem; align-items: center; }
.banner-preview.bar .bp p { margin: 0; flex: 1; }
.banner-preview.bar .bp-row { flex: 0 0 auto; }
.banner-preview.bar .bp-row span { border-radius: 2px; text-transform: uppercase; letter-spacing: .08em; min-width: 120px; }
@media (max-width: 760px) { .banner-preview.bar .bp { flex-direction: column; align-items: stretch; } }
.warm-card { border-top: 4px solid var(--warm); }
input[type=color] { cursor: pointer; }
input[type=radio] { width: auto; margin-right: .4rem; accent-color: var(--brand); }
