/* Homegoing app styles. Phone first: one column, max 480px, sticky action bar at the bottom. */
:root {
  --plum:#4B2A4F; --plum-deep:#3C1F40; --gold:#8A6A2A; --gold-light:#D9AE5A; --night:#1E1424;
  --mist:#EFEAF2; --paper:#FBFAFC; --ink:#211B26; --muted:#6B6374; --line:#E1DAE6; --card-line:#ECE7EF;
  --check:#FCEBC4; --wa:#1F8A4C; --danger:#A32820;
  --display:"Cormorant Garamond", Georgia, "Times New Roman", serif;
  --ui:"Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing:border-box; }
[hidden] { display:none !important; }
html { background:#E9E5EE; }
body { margin:0; font-family:var(--ui); font-size:15px; line-height:1.45; color:var(--ink); }
.app { max-width:480px; min-height:100dvh; margin:0 auto; background:var(--paper); display:flex; flex-direction:column; }
.app.bare { max-width:1100px; }
a { color:var(--plum); }
button, input, select, textarea { font:inherit; color:inherit; }
:focus-visible { outline:3px solid var(--gold-light); outline-offset:2px; }

header { position:sticky; top:0; background:var(--paper); z-index:3; padding-top:env(safe-area-inset-top, 0px); }
.top { display:flex; align-items:center; gap:10px; padding:14px 18px 10px; }
.back { width:34px; height:34px; border-radius:50%; background:var(--mist); display:grid; place-items:center;
  font-weight:800; color:var(--plum); text-decoration:none; font-size:20px; line-height:1; flex:none; }
.top .t { font-weight:800; font-size:16px; }
.right { margin-left:auto; }
.steps { display:flex; gap:4px; padding:0 18px 12px; }
.steps i { flex:1; height:4px; border-radius:2px; background:#E4DEE8; }
.steps i.on { background:var(--plum); }

.body { flex:1; padding:6px 18px 22px; display:flex; flex-direction:column; gap:14px; }
.body.home { padding-top:18px; gap:16px; }
.foot { position:sticky; bottom:0; z-index:3; padding:12px 18px calc(16px + env(safe-area-inset-bottom, 0px));
  display:flex; flex-direction:column; gap:8px; background:var(--paper); border-top:1px solid var(--card-line); }
.stack { display:flex; flex-direction:column; gap:10px; }
.two { display:flex; gap:8px; } .two > * { flex:1; min-width:0; }
.grow { flex:1; min-width:0; }
.center { text-align:center; }
.gap-s { margin:2px 0 8px; }

.btn { display:block; width:100%; text-align:center; padding:14px; border-radius:14px; font-weight:800; font-size:15px;
  background:var(--plum); color:#fff; border:0; text-decoration:none; cursor:pointer; }
.btn.ghost { background:#fff; color:var(--plum); border:1.5px solid #D8CFDD; }
.btn.wa { background:var(--wa); }
.btn.small { padding:11px; font-size:14px; }
.btn.danger { color:var(--danger); }
.btn:disabled, .btn.disabled { opacity:.45; cursor:not-allowed; }
.link { background:none; border:0; padding:0; color:var(--plum); font-weight:700; text-decoration:underline; cursor:pointer; font-size:14px; }
.link.danger { color:var(--danger); }
.muted { color:var(--muted); font-size:13px; }
.h { font-family:var(--display); font-weight:600; color:var(--plum-deep); font-size:32px; line-height:1.08; margin:0; text-wrap:balance; }
.lead { margin:0; color:#4E4657; }
.label { font-size:11px; letter-spacing:.08em; text-transform:uppercase; font-weight:800; color:var(--gold); }

.card { background:#fff; border:1px solid var(--card-line); border-radius:14px; padding:12px 14px; }
.card.list { padding-block:4px; }
.center-card { text-align:center; display:flex; flex-direction:column; gap:8px; padding:20px 16px; }
.center-card p { margin:0; }
.field { display:block; background:#fff; border:1.5px solid var(--line); border-radius:12px; padding:8px 12px; }
.field:focus-within { border-color:var(--plum); }
.field small { display:block; font-size:11.5px; color:#7A7183; font-weight:600; }
.field input, .field textarea, .field select { width:100%; border:0; background:transparent; padding:2px 0; outline:none;
  font-size:16px; resize:vertical; }
fieldset.plain { border:0; padding:0; margin:0; min-width:0; }
fieldset.plain legend { padding:0; margin-bottom:6px; }
.trap { position:absolute; left:-9999px; }

.chips { display:flex; flex-wrap:wrap; gap:6px; align-items:center; }
.chips.centre { justify-content:center; }
.chip { padding:7px 12px; border-radius:999px; background:var(--mist); font-size:13px; font-weight:600; color:var(--plum-deep);
  border:0; text-decoration:none; cursor:pointer; }
.chip.on { background:var(--plum); color:#fff; }
.chip.pick { padding:0; background:none; }
.chip.pick input { position:absolute; opacity:0; }
.chip.pick span { display:block; padding:7px 12px; border-radius:999px; background:var(--mist); }
.chip.pick input:checked + span { background:var(--plum); color:#fff; }
.chip.pick input:focus-visible + span { outline:3px solid var(--gold-light); outline-offset:2px; }

.ways { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.way { background:#fff; border:1.5px solid var(--line); border-radius:12px; padding:10px; display:flex; flex-direction:column;
  gap:2px; text-align:left; text-decoration:none; color:var(--ink); cursor:pointer; }
.way.wide { grid-column:span 2; flex-direction:row; align-items:center; gap:10px; }
.way .ic { width:30px; height:30px; border-radius:9px; background:var(--mist); display:grid; place-items:center; font-weight:800;
  color:var(--plum); font-size:14px; margin-bottom:4px; flex:none; }
.way .ic.red { background:#B3261E; color:#fff; } .way .ic.green { background:var(--wa); color:#fff; }
.way b { font-size:13.5px; } .way span { font-size:12px; color:var(--muted); line-height:1.3; }

.added, .row, .trib { display:flex; align-items:center; gap:10px; padding:10px 0; border-bottom:1px solid var(--mist); font-size:13.5px; }
.card.list > :last-child, .card.list > :last-child > summary { border-bottom:0; }
.x { background:none; border:0; font-size:20px; color:var(--muted); cursor:pointer; padding:0 4px; line-height:1; }
.pill { font-size:11px; font-weight:800; border-radius:999px; padding:3px 9px; flex:none; white-space:nowrap; }
.pill.ok { background:#E2F2E8; color:#1F6B3E; } .pill.wait { background:#FFF1D6; color:#8A5A0A; } .pill.off { background:var(--mist); color:var(--muted); }
.photos { display:grid; grid-template-columns:repeat(4, 1fr); gap:6px; }
.photo { position:relative; padding:0; border:2px solid transparent; border-radius:10px; overflow:hidden; background:var(--mist);
  aspect-ratio:1 / 1; cursor:pointer; }
.photo.cover { border-color:var(--plum); }
.photo img { width:100%; height:100%; object-fit:cover; display:block; }
.photo span { position:absolute; left:4px; bottom:4px; background:var(--plum); color:#fff; font-size:10px; font-weight:800;
  padding:2px 6px; border-radius:6px; }

.notice { display:block; border-radius:12px; padding:10px 12px; font-size:13.5px; background:#FFF7E3; border:1px solid #F0D9A0; }
.notice.ok { background:#E8F5EC; border-color:#B9DEC6; } .notice.error { background:#FCEBEA; border-color:#F0BDB8; }
.story p { margin:0 0 10px; font-size:14.5px; } .story p:last-child { margin-bottom:0; }
mark { background:var(--check); color:inherit; border-bottom:2px solid #D9A63A; padding:0 2px; border-radius:2px; }

details > summary { list-style:none; cursor:pointer; } details > summary::-webkit-details-marker { display:none; }
.row .k { display:block; font-size:11px; color:var(--gold); font-weight:800; letter-spacing:.06em; text-transform:uppercase; }
.row .v { display:block; font-weight:700; } .row .s, .trib .s { display:block; font-size:12.5px; color:var(--muted); }
.swap { font-size:12px; font-weight:700; color:var(--plum); background:var(--mist); border-radius:8px; padding:5px 9px; flex:none; }
.edit { padding:4px 0 14px; }
details.card > form, details.card > .stack { margin-top:10px; }
.avatar { width:36px; height:36px; border-radius:50%; background:#E8DDEB; color:var(--plum); display:grid; place-items:center;
  font-weight:800; font-size:13px; flex:none; }

.cover { background:var(--night); color:#F2E7C9; border-radius:6px; padding:26px 18px; text-align:center; display:flex;
  flex-direction:column; align-items:center; gap:8px; position:relative; box-shadow:0 8px 18px rgba(30,20,40,.25);
  text-decoration:none; overflow:hidden; --edge:var(--gold-light); }
.cover.theme-lilac { background:#F4EEF6; color:var(--plum-deep); --edge:#8C5A96; }
.cover.theme-navy { background:#14233D; color:#F1F4F9; --edge:#B9C7DE; }
.cover .frame { position:absolute; inset:8px; border:1px solid var(--edge); opacity:.6; border-radius:3px; pointer-events:none; }
.cover .photo { width:104px; height:128px; border-radius:50% / 42%; border:2px solid var(--edge); object-fit:cover; aspect-ratio:auto;
  background:rgba(140,122,143,.35); cursor:inherit; }
.cover .c1 { font-size:10px; letter-spacing:.24em; text-transform:uppercase; color:var(--edge); }
.cover .c2 { font-family:var(--display); font-size:26px; line-height:1.05; font-weight:600; text-wrap:balance; }
.cover .c3 { font-family:var(--display); font-style:italic; font-size:16px; }
.cover .c4 { font-size:11px; opacity:.85; }
.cover .wm { position:absolute; inset:0; display:grid; place-items:center; font-weight:800; font-size:44px; letter-spacing:.12em;
  color:rgba(150,140,160,.22); transform:rotate(-24deg); pointer-events:none; }
.opts { display:flex; gap:8px; }
.opt { flex:1; border:1.5px solid var(--line); border-radius:12px; padding:10px; background:#fff; }
.opt.on { border-color:var(--plum); box-shadow:0 0 0 1px var(--plum); }
.opt b { display:block; font-size:13.5px; } .opt span { font-size:12px; color:var(--muted); }

.hero-art { height:200px; border-radius:18px; background:var(--night); position:relative; overflow:hidden; display:flex;
  align-items:flex-end; padding:16px; }
.hero-art .mini { position:absolute; right:18px; top:18px; width:110px; height:150px; background:#2B1E33; border:1px solid var(--gold-light);
  border-radius:4px; transform:rotate(5deg); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; color:#F2E7C9; }
.hero-art .mini i { width:44px; height:54px; border-radius:50% / 42%; border:1.5px solid var(--gold-light); background:#4A3A50; }
.hero-art .mini span { font-family:var(--display); font-size:12px; }
.hero-art .mini2 { position:absolute; right:96px; top:40px; width:96px; height:136px; background:#F5EEDD; border-radius:4px;
  transform:rotate(-8deg); padding:12px 10px; display:flex; flex-direction:column; gap:5px; }
.hero-art .mini2 b { display:block; height:5px; border-radius:2px; background:#C9B98F; }
.hero-art .mini2 b:first-child { width:60%; background:var(--gold); }
.logo { display:inline-flex; align-items:center; gap:8px; position:relative; }
.logo-word { font-family:var(--display); font-weight:600; font-size:24px; color:var(--plum-deep); line-height:1; }
.logo.on-dark .logo-word { color:#F2E7C9; }
.logo-mark { display:block; flex:none; }
.ticks { display:flex; flex-direction:column; gap:8px; }
.ticks div { display:flex; gap:9px; align-items:flex-start; }
.ticks div::before { content:""; width:16px; height:16px; border-radius:50%; background:var(--mist); border:4px solid var(--plum);
  flex:none; margin-top:3px; }

.sheet, .writing { position:fixed; inset:0; background:rgba(30,20,40,.55); z-index:10; display:flex; align-items:flex-end;
  justify-content:center; padding:16px; }
.writing { align-items:center; }
.sheet .card, .writing .card { width:100%; max-width:440px; display:flex; flex-direction:column; gap:12px; }
.rec { display:flex; align-items:center; gap:12px; }
.mic { width:52px; height:52px; border-radius:50%; background:#B3261E; display:grid; place-items:center; flex:none; cursor:pointer; border:0; }
.mic::after { content:""; width:14px; height:14px; border-radius:3px; background:#fff; }
.wave { flex:1; height:30px; background:repeating-linear-gradient(90deg, var(--plum) 0 3px, transparent 3px 6px); opacity:.6;
  -webkit-mask:radial-gradient(ellipse at center, #000 40%, transparent 75%); mask:radial-gradient(ellipse at center, #000 40%, transparent 75%); }
.rec b { font-variant-numeric:tabular-nums; }
.spinner { width:34px; height:34px; border-radius:50%; border:4px solid var(--mist); border-top-color:var(--plum); margin:0 auto;
  animation:spin 1s linear infinite; }
@keyframes spin { to { transform:rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation:none; } }

.admin { padding:8px 18px 40px; display:flex; flex-direction:column; gap:14px; }
.admin .top { padding-inline:0; }
.stats { display:flex; gap:10px; flex-wrap:wrap; }
.stats div { flex:1; min-width:110px; background:#fff; border:1px solid var(--card-line); border-radius:12px; padding:12px 14px; }
.stats b { display:block; font-size:24px; font-variant-numeric:tabular-nums; } .stats span { font-size:12.5px; color:var(--muted); }
.table-wrap { overflow-x:auto; background:#fff; border:1px solid var(--card-line); border-radius:12px; }
table { border-collapse:collapse; width:100%; font-size:13.5px; white-space:nowrap; }
th, td { text-align:left; padding:10px 12px; border-bottom:1px solid var(--mist); vertical-align:top; }
th { font-size:11px; letter-spacing:.06em; text-transform:uppercase; color:var(--gold); }
td.actions { display:flex; gap:12px; align-items:flex-start; }

/* ---------- service and extra pages ---------- */
.gap-top { margin-top:8px; }
.two > .narrow { flex:0 0 auto; width:auto; min-width:92px; align-self:stretch; }
.two > .field.narrow { flex:0 0 118px; }
.cap { display:flex; gap:10px; align-items:flex-start; }
.cap img { width:72px; height:72px; object-fit:cover; border-radius:10px; flex:none; background:var(--mist); }
.check { display:flex; align-items:center; gap:8px; font-size:13.5px; }
.check input { width:18px; height:18px; accent-color:var(--plum); }

/* ---------- announcement card ---------- */
.card-frame { border-radius:10px; overflow:hidden; box-shadow:0 8px 18px rgba(30,20,40,.25); }
.promo { display:flex; align-items:center; gap:12px; text-decoration:none; color:var(--ink); }
.promo b { display:block; } .promo span { font-size:12.5px; color:var(--muted); }
.promo .go { margin-left:auto; font-weight:800; color:var(--plum); font-size:20px; }

/* ---------- admin analytics ---------- */
.admin-nav { gap:18px; flex-wrap:wrap; }
.admin-nav a { font-weight:700; text-decoration:none; color:var(--muted); padding:4px 0; border-bottom:2px solid transparent; }
.admin-nav a.on { color:var(--plum); border-bottom-color:var(--plum); }
.admin-nav .logo { margin-right:8px; }
.panel { background:#fff; border:1px solid var(--card-line); border-radius:12px; padding:14px 16px; display:flex; flex-direction:column; gap:10px; min-width:0; }
.panel h2 { margin:0; font-size:15px; }
.panel .table-wrap { border:0; border-radius:0; }
.panel table { white-space:normal; }
.panel td.wrap { white-space:normal; min-width:200px; }
.cols { display:grid; grid-template-columns:repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap:14px; }
.funnel { display:flex; flex-direction:column; gap:8px; }
.frow { display:grid; grid-template-columns:minmax(120px, 210px) 1fr 52px 48px; gap:10px; align-items:center; font-size:13.5px; }
.ftrack { height:18px; }
.fbar { display:block; height:100%; min-width:2px; background:#8C5A96; border-radius:0 4px 4px 0; }
.fnum { font-weight:800; text-align:right; font-variant-numeric:tabular-nums; }
.fpct { color:var(--muted); font-size:12.5px; text-align:right; font-variant-numeric:tabular-nums; }
.chart { width:100%; height:auto; display:block; }
.chart .bar { fill:#8C5A96; }
.chart .grid { stroke:#ECE7EF; stroke-width:1; }
.chart .tick { fill:var(--muted); font-size:11px; font-family:var(--ui); }
.chart .hit { fill:transparent; }
.chart .hit:hover { fill:rgba(75,42,79,.07); }
@media (max-width:560px) { .frow { grid-template-columns:1fr 44px 44px; } .ftrack { grid-column:1 / -1; order:2; } }
.why { border-color:#F0D9A0; background:#FFFBEF; }

/* ---------- home page extras ---------- */
.h2 { font-family:var(--display); font-weight:600; color:var(--plum-deep); font-size:24px; line-height:1.15; margin:14px 0 0; }
.steps-list { margin:0; padding-left:20px; display:flex; flex-direction:column; gap:8px; color:#4E4657; }
.steps-list b { color:var(--ink); }
.faq { display:flex; flex-direction:column; gap:8px; }
.faq p { margin:8px 0 0; color:#4E4657; }
.list { display:flex; flex-direction:column; gap:8px; }
.item { display:block; background:#fff; border:1px solid var(--card-line); border-radius:12px; padding:12px 14px; text-decoration:none; color:var(--ink); }
.item b { display:block; } .item span { display:block; font-size:13px; color:var(--muted); margin-top:2px; }
.item:hover { border-color:var(--plum); }

/* ---------- public reading pages: blog, hymns, orders of service ---------- */
/* A dark header in the booklet's colours, a calm reading column, and a Start bar that stays in reach. */
body.site { background:var(--paper); font-size:16px; padding-bottom:calc(84px + env(safe-area-inset-bottom, 0px)); }
.site-hero { background:var(--night); color:#F2E7C9; position:relative; }
.site-hero::after { content:""; position:absolute; inset:10px; border:1px solid rgba(217,174,90,.5); pointer-events:none; }
.site-hero-in { max-width:760px; margin:0 auto; padding:calc(26px + env(safe-area-inset-top, 0px)) 26px 30px; position:relative; z-index:1; }
/* Logo in the middle, with the three links in one ruled row beneath it. */
.site-nav { display:flex; flex-direction:column; align-items:center; gap:14px; }
.site-nav nav { width:100%; display:flex; justify-content:center; padding:11px 0;
  border-top:1px solid rgba(201,162,75,.45); border-bottom:1px solid rgba(201,162,75,.45); }
.site-nav nav a { color:#F2E7C9; font-weight:700; font-size:13.5px; text-decoration:none; padding:0 13px; white-space:nowrap; }
.site-nav nav a + a { border-left:1px solid rgba(242,231,201,.3); }
.site-nav nav a:hover { text-decoration:underline; }
@media (max-width:360px) { .site-nav nav a { font-size:12.5px; padding:0 9px; } }
a.plain { text-decoration:none; }
.site-hero .eyebrow { font-size:11.5px; letter-spacing:.2em; text-transform:uppercase; color:var(--gold-light); font-weight:700; margin:30px 0 10px; }
.site-hero h1 { font-family:var(--display); font-weight:600; font-size:clamp(34px, 7vw, 50px); line-height:1.05; margin:0; text-wrap:balance; }
.site-hero .sub { margin:12px 0 0; font-size:14px; color:rgba(242,231,201,.78); max-width:56ch; }

.site-main { max-width:760px; margin:0 auto; padding:24px 22px 32px; display:flex; flex-direction:column; gap:14px; }
.site-main > h2 { font-family:var(--display); font-weight:600; color:var(--plum-deep); font-size:26px; margin:18px 0 0; }
.prose { max-width:66ch; font-size:16.5px; line-height:1.62; color:#2B2530; }
.prose .intro { font-family:var(--display); font-size:23px; line-height:1.3; color:var(--plum-deep); margin-bottom:18px; }
.prose h2 { font-family:var(--display); font-weight:600; color:var(--plum-deep); font-size:29px; line-height:1.12; margin:30px 0 10px;
  scroll-margin-top:16px; text-wrap:balance; }
.prose p { margin:0 0 14px; }
.prose ol { margin:0 0 16px; padding-left:24px; }
.prose ol li { margin-bottom:8px; padding-left:4px; }
.prose a { font-weight:600; }
.prose h3 { font-family:var(--display); font-weight:600; color:var(--plum-deep); font-size:23px; line-height:1.18; margin:22px 0 8px;
  scroll-margin-top:16px; text-wrap:balance; }
.prose figure { margin:6px 0 20px; }
.prose figure img { display:block; width:100%; height:auto; border-radius:14px; border:1px solid var(--card-line); background:var(--mist); }
.prose figcaption { font-size:13px; color:#6B6270; margin-top:7px; line-height:1.4; }
/* Sample wording: a page of the booklet, ready to copy. */
.prose blockquote.sample { margin:0 0 18px; padding:16px 18px 4px; background:#fff; border:1px solid var(--card-line);
  border-left:4px solid var(--gold); border-radius:12px; font-family:var(--display); font-size:20px; line-height:1.42; color:#2B2530; }
.prose blockquote.sample p { margin:0 0 12px; }
.jumps { display:flex; gap:6px; flex-wrap:wrap; align-items:center; margin-bottom:18px; }
.jumps b { flex-basis:100%; font-size:12px; letter-spacing:.14em; text-transform:uppercase; color:var(--gold); margin-bottom:2px; }
.jumps a { background:var(--mist); border-radius:999px; padding:7px 12px; font-size:13px; font-weight:600; color:var(--plum-deep); text-decoration:none; }
.jumps a:hover { background:var(--plum); color:#fff; }
/* Checklists: a soft gold box, a green tick on every line. */
.ticklist { list-style:none; margin:0 0 18px; padding:12px 16px; background:#FFFBEF; border:1px solid #F0D9A0; border-radius:14px; }
.ticklist li { position:relative; padding-left:28px; margin:7px 0; }
.ticklist li::before { content:""; position:absolute; left:2px; top:.42em; width:14px; height:8px; border-left:2.5px solid var(--wa);
  border-bottom:2.5px solid var(--wa); transform:rotate(-45deg) scale(.8); }
.verses p { white-space:pre-line; margin-bottom:18px; font-family:var(--display); font-size:21px; line-height:1.4; }
.order-list li { margin-bottom:8px; }
.item.guide .kind { font-size:11px; letter-spacing:.1em; text-transform:uppercase; font-weight:800; color:var(--gold); margin:0 0 4px; }
.item.guide b { font-family:var(--display); font-size:22px; line-height:1.15; color:var(--plum-deep); font-weight:600; }

.site-foot { border-top:1px solid var(--card-line); margin-top:8px; }
.site-foot > * { max-width:760px; margin-inline:auto; padding-inline:22px; }
.site-foot nav { display:flex; gap:16px; flex-wrap:wrap; padding-top:18px; padding-bottom:8px; }
.site-foot nav a { font-weight:700; font-size:14px; text-decoration:none; color:var(--plum); }
.site-foot p { padding-bottom:18px; margin-top:0; }
.site-bar { position:fixed; left:0; right:0; bottom:0; z-index:5; background:var(--paper); border-top:1px solid var(--card-line);
  padding:12px 18px calc(14px + env(safe-area-inset-bottom, 0px)); }
.site-bar .btn { max-width:440px; margin:0 auto; }

/* The front cover preview and the row of designs on the booklet step. */
.coverframe { display:block; position:relative; aspect-ratio:148 / 210; border-radius:6px; overflow:hidden;
  box-shadow:0 8px 18px rgba(30,20,40,.25); background:#fff; }
.coverframe iframe { position:absolute; inset:0; width:100%; height:100%; border:0; pointer-events:none; }
.tiles { display:flex; gap:10px; overflow-x:auto; padding:6px 6px 10px; scroll-snap-type:x proximity; -webkit-overflow-scrolling:touch; }
.tile { flex:none; width:78px; background:none; border:0; padding:0; font:inherit; color:var(--plum-deep); cursor:pointer;
  scroll-snap-align:center; text-align:center; }
.tile i { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:5px; height:104px; border-radius:6px;
  border:1px solid; box-shadow:0 2px 6px rgba(30,20,40,.18); background-size:cover; }
.tile i b { width:26px; height:32px; border-radius:50% / 42%; border:1.5px solid; background:rgba(140,122,143,.3); }
.tile i u { display:block; width:38px; height:3px; border-radius:2px; text-decoration:none; opacity:.9; }
.tile i u + u { width:24px; height:2px; }
.tile span { display:block; font-size:11.5px; font-weight:600; line-height:1.2; margin-top:6px; }
.tile.on i { outline:3px solid var(--plum); outline-offset:2px; }
.tile.on span { font-weight:800; }
.label.centre, .small.centre { text-align:center; }
a.chip { text-decoration:none; display:inline-block; }
.card-frame .akeep { background:#e9e5ee; gap:6px; padding:6px; }
.card-frame .akeep .acard { width:calc(50% - 3px); }
input[type="file"] { font:inherit; font-size:14px; padding:10px 0; width:100%; }
.added .heard { display:block; margin-top:3px; font-size:12.5px; line-height:1.35; }
/* contact page and the admin's messages */
.hp { position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.notice.ok { background:#E2F2E8; border:1px solid #BFE0CB; color:#17512E; border-radius:14px; padding:14px 16px; }
.admin td.msg { white-space:pre-wrap; max-width:520px; }
.legal { text-align:center; font-size:12.5px; color:var(--muted); margin:18px 0 4px; }
.legal a { color:var(--muted); }
/* keep-your-link card on the first step, and the welcome-back card on the home page */
.card.keep { background:#FFFBEF; border-color:#F0D9A0; display:flex; flex-direction:column; gap:8px; }
.card.keep p { margin:0 0 4px; font-size:13.5px; line-height:1.45; color:#4E4657; }
.card.mine { display:flex; flex-direction:column; gap:2px; }
.card.mine .row { display:flex; align-items:center; gap:10px; padding:10px 0; text-decoration:none; color:inherit; border-top:1px solid var(--card-line); }
.card.mine .label + .row { border-top:0; }
.card.mine form { margin-top:6px; }
.link.small { font-size:12.5px; }
.mailrow { display:flex; gap:8px; align-items:stretch; }
.mailrow input { flex:1; min-width:0; border:1px solid var(--card-line); border-radius:12px; padding:10px 12px; font:inherit; font-size:14.5px; background:#fff; }
.mailrow .btn { width:auto; padding-inline:16px; white-space:nowrap; }
/* the guide editor in the admin side */
.btn.inline { display:inline-block; width:auto; padding-inline:22px; text-decoration:none; }
.guide-form { max-width:760px; }
.guide-form textarea[name="body"] { font-family:ui-monospace, Menlo, Consolas, monospace; font-size:14px; line-height:1.5; }
.guide-buttons { display:flex; gap:8px; flex-wrap:wrap; }
.guide-buttons .btn { width:auto; flex:1; min-width:150px; }
