/* Heather: white and clean, with Heather purple kept for actions, links and what's active. */
:root {
  --bg:#FFFFFF; --card:#FFFFFF; --text:#0F1419; --muted:#65676B; --faint:#8A8D91;
  --border:#EFEFEF; --line:#DBDBDB; --soft:#F5F5F5; --softer:#FAFAFA;
  --accent:#5E4F8C;            /* Heather purple: links, icons, active marks */
  --btn:#5E4F8C; --onbtn:#FFFFFF; --btnhover:#4F4277;
  --tint:#F2EFF8;              /* the faintest purple, for selected things */
  --danger:#C62828;
  --chip:#F2F2F2; --chiptext:#3A3B3C;
  --header:#FFFFFF; --onaccent:#FFFFFF;
}
:root[data-theme="dark"] {
  --bg:#000000; --card:#000000; --text:#F5F5F5; --muted:#A8A8A8; --faint:#8E8E8E;
  --border:#262626; --line:#363636; --soft:#121212; --softer:#0A0A0A;
  --accent:#B7A8E6;
  --btn:#6A5BA8; --onbtn:#FFFFFF; --btnhover:#7666B4;
  --tint:#1B1628;
  --danger:#FF6B6B;
  --chip:#1A1A1A; --chiptext:#D6D6D6;
  --header:#000000; --onaccent:#FFFFFF;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust:100%; }
body { margin:0; background:var(--bg); color:var(--text); font:15px/1.5 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; -webkit-font-smoothing:antialiased; }
a { color:var(--accent); text-decoration:none; }
a:hover { text-decoration:underline; }
h1,h2,h3 { font-family:'Inter', system-ui, sans-serif; font-weight:700; letter-spacing:-0.01em; line-height:1.25; margin:0 0 .5em; }
h1 { font-size:24px; } h2 { font-size:18px; } h3 { font-size:16px; }
.muted { color:var(--muted); }
.ic { flex:none; display:block; }
:focus-visible { outline:2px solid var(--accent); outline-offset:2px; border-radius:6px; }

/* ---- three columns: menu, feed, extras ---- */
.shell { max-width:1180px; margin:0 auto; padding:0 20px; display:grid; grid-template-columns:232px minmax(0,600px) minmax(0,300px); gap:40px; justify-content:center; align-items:start; }
.side { position:sticky; top:0; max-height:100vh; overflow-y:auto; padding:20px 0; display:flex; flex-direction:column; gap:2px; }
.logo { display:flex; align-items:center; gap:8px; padding:6px 12px 24px; color:var(--text); text-decoration:none; font:700 23px 'Fraunces', Georgia, serif; letter-spacing:-0.01em; }
.logo:hover { text-decoration:none; }
.logo .ic { color:var(--accent); }
.navitem { display:flex; align-items:center; gap:16px; min-height:48px; padding:0 12px; border:0; border-radius:10px; background:transparent; color:var(--text); font:400 16px 'Inter', system-ui, sans-serif; text-decoration:none; cursor:pointer; text-align:left; }
.navitem:hover { background:var(--soft); text-decoration:none; }
.navitem[aria-current="page"] { font-weight:700; }
.navitem[aria-current="page"] .ic { stroke-width:2.6; color:var(--text); }
.navic { position:relative; display:inline-flex; }
.navic .badge { position:absolute; top:-7px; left:13px; border:2px solid var(--bg); }
.only-narrow { display:none; }
.only-phone { display:none; }
.writebtn { margin-top:16px; min-height:46px; font-size:15px; font-weight:600; }
.loginbtn { margin-top:8px; min-height:44px; }
.themebtn { font-size:15px; color:var(--muted); margin-top:4px; }
.acct { margin-top:auto; padding-top:20px; display:flex; align-items:center; justify-content:space-between; gap:6px; }
.me { display:inline-flex; align-items:center; gap:10px; min-width:0; color:var(--text); text-decoration:none; padding:6px 8px; border-radius:10px; }
.me:hover { background:var(--soft); text-decoration:none; }
.center { min-width:0; }
.main { min-width:0; min-height:100vh; outline:none; padding:0 0 40px; }
.main > div > h1:first-child, .main > h1:first-child { padding-top:20px; }
.main > div > .card:first-child, .main > .card:first-child, .main > .msg:first-child { margin-top:20px; }
.right { position:sticky; top:0; padding:24px 0; display:flex; flex-direction:column; gap:28px; }
.foot { text-align:center; color:var(--faint); font-size:12px; padding:24px 16px 48px; }
.foot a { color:var(--faint); }
.foot .btn { color:var(--text); }

/* ---- buttons, cards, forms ---- */
.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:40px; padding:0 16px; border-radius:8px;
  border:0; background:var(--soft); color:var(--text); font:600 14px 'Inter', system-ui, sans-serif; cursor:pointer; text-decoration:none; }
.btn:hover { background:var(--border); text-decoration:none; }
.btn.primary { background:var(--btn); color:var(--onbtn); }
.btn.primary:hover { background:var(--btnhover); }
.btn.small { min-height:34px; padding:0 14px; font-size:14px; }
.btn.danger { background:transparent; color:var(--danger); box-shadow:inset 0 0 0 1px var(--danger); }
.btn.danger:hover { background:var(--soft); }
.btn:disabled { opacity:.5; cursor:default; }
.iconbtn { width:40px; height:40px; flex:none; display:inline-flex; align-items:center; justify-content:center; border:0; background:transparent; color:var(--text); border-radius:50%; cursor:pointer; text-decoration:none; }
.iconbtn:hover { background:var(--soft); text-decoration:none; }
.card { background:var(--card); border:1px solid var(--border); border-radius:12px; padding:18px; margin-bottom:12px; }
.row { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.spread { justify-content:space-between; }
label { display:block; font-weight:600; font-size:14px; margin:16px 0 6px; }
input[type=text], input[type=email], input[type=password], input[type=date], input[type=number], input[type=search], select, textarea {
  width:100%; min-height:44px; padding:10px 14px; border-radius:8px; border:1px solid var(--line); background:var(--softer); color:var(--text); font:inherit; }
input:focus, select:focus, textarea:focus { outline:none; border-color:var(--accent); background:var(--card); }
textarea { min-height:140px; resize:vertical; line-height:1.5; }
.checks { display:grid; grid-template-columns:repeat(auto-fill,minmax(230px,1fr)); gap:4px 12px; }
.checks label { font-weight:400; margin:0; display:flex; align-items:center; gap:8px; min-height:36px; }
.checks input { width:18px; height:18px; accent-color:var(--btn); }
input[type=checkbox] { accent-color:var(--btn); }
.msg { padding:12px 14px; border-radius:10px; margin:12px 0; background:var(--soft); }
.msg.err { color:var(--danger); background:transparent; box-shadow:inset 0 0 0 1px var(--danger); }
.linkbtn { background:none; border:0; padding:6px 0; min-height:32px; color:var(--muted); font:600 13px 'Inter', system-ui, sans-serif; cursor:pointer; }
.linkbtn:hover { color:var(--text); }
.small-note { font-size:13px; color:var(--muted); }
.meta { font-size:13px; color:var(--muted); }
.chips { display:flex; flex-wrap:wrap; gap:6px; margin:8px 0 0; }
.chip { font-size:12px; padding:2px 9px; border-radius:6px; background:var(--chip); color:var(--chiptext); }
.chip.rating { background:transparent; color:var(--muted); box-shadow:inset 0 0 0 1px var(--line); font-weight:600; letter-spacing:.04em; text-transform:uppercase; font-size:11px; }
.chip.relay { background:var(--tint); color:var(--accent); font-weight:600; }
.chip.urgent { background:var(--danger); color:#FFFFFF; font-weight:700; letter-spacing:.04em; text-transform:uppercase; font-size:11px; }
.badge { display:inline-block; min-width:18px; padding:0 5px; border-radius:9px; background:var(--btn); color:var(--onbtn); font:700 11px/16px 'Inter', system-ui, sans-serif; text-align:center; }

/* ---- page tops, tabs ---- */
.feedhead { padding:20px 0 12px; }
.feedhead h1 { margin:0; font-size:24px; }
.pagebar { display:flex; align-items:center; gap:12px; padding:12px 0 4px; margin-left:-8px; }
.pagebar-title { font:700 17px 'Inter', system-ui, sans-serif; flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.pagebar-extra { font-size:14px; font-weight:600; }
.tabs { display:flex; gap:8px; margin:0 0 12px; }
.tabs a { display:inline-flex; align-items:center; padding:0 14px; min-height:34px; border-radius:8px; text-decoration:none; color:var(--text); background:var(--soft); font-size:14px; font-weight:600; }
.tabs a[aria-current="page"] { background:var(--text); color:var(--bg); }
.tabs.under { gap:0; margin:0; border-bottom:1px solid var(--border); }
.tabs.under a { flex:1; justify-content:center; border-radius:0; background:transparent; color:var(--muted); min-height:48px; }
.tabs.under a:hover { color:var(--text); }
.tabs.under a[aria-current="page"] { background:transparent; color:var(--text); box-shadow:inset 0 -2px 0 var(--text); }

/* ---- feed ---- */
.composer { display:flex; align-items:center; gap:12px; padding:14px 0; border-bottom:1px solid var(--border); text-decoration:none; }
.composer:hover { text-decoration:none; }
.composer-text { flex:1; min-height:40px; display:flex; align-items:center; padding:0 16px; border-radius:20px; background:var(--soft); font-size:15px; }
.composer:hover .composer-text { background:var(--border); }
.feed { margin:0; }
.post { display:grid; grid-template-columns:40px minmax(0,1fr); gap:12px; padding:18px 0; border-bottom:1px solid var(--border); }
.post.isrelay { }
.pbody { min-width:0; }
.phead { display:flex; align-items:center; flex-wrap:wrap; gap:0 6px; font-size:14px; min-height:20px; }
.pname, .pname a { color:var(--text); text-decoration:none; font-weight:600; }
.pname a:hover { text-decoration:underline; }
.ulink { color:inherit; }
.pcomm { font-size:14px; color:var(--muted); font-weight:500; text-decoration:none; }
.pcomm::before { content:"in "; }
.pcomm:hover { color:var(--text); text-decoration:none; }
.relaytag { margin-left:auto; font-size:12px; font-weight:600; color:var(--accent); background:var(--tint); padding:2px 8px; border-radius:6px; }
.post h2 { font:700 18px/1.3 'Inter', system-ui, sans-serif; letter-spacing:-0.01em; margin:6px 0 4px; }
.post h2 a { color:var(--text); text-decoration:none; }
.post h2 a:hover { text-decoration:underline; }
.psum { margin:0; color:var(--text); }
.pstats { display:flex; align-items:center; gap:22px; margin-top:12px; }
.stat { display:inline-flex; align-items:center; gap:6px; font-size:14px; font-weight:500; color:var(--text); text-decoration:none; }
.stat .ic { color:var(--text); }
a.stat:hover { color:var(--accent); text-decoration:none; }
a.stat:hover .ic { color:var(--accent); }
.pstats .stat:last-child { color:var(--muted); font-weight:400; }
.av { display:block; flex:none; text-decoration:none; }
.avatar { border-radius:50%; object-fit:cover; flex:none; display:inline-block; vertical-align:middle; background:var(--soft); box-shadow:0 0 0 1px rgba(0,0,0,.06); }
.avatar.blank { display:inline-flex; align-items:center; justify-content:center; font-weight:600; background:hsl(var(--h,258) 45% 92%); color:hsl(var(--h,258) 45% 30%); box-shadow:none; }
:root[data-theme="dark"] .avatar.blank { background:hsl(var(--h,212) 25% 18%); color:hsl(var(--h,212) 55% 80%); }
.avatar.sys { background:var(--btn); color:var(--onbtn); }
:root[data-theme="dark"] .avatar.sys { background:var(--btn); color:var(--onbtn); }

/* ---- story page ---- */
.authorrow { display:flex; align-items:center; gap:12px; padding:12px 0 0; }
.authorrow .pname { font-size:15px; }
.storytitle { font:800 30px/1.15 'Inter', system-ui, sans-serif; letter-spacing:-0.02em; margin:20px 0 6px; overflow-wrap:anywhere; }
.prose { font-family:'Fraunces', Georgia, serif; font-size:18px; line-height:1.75; }
.prose p { max-width:66ch; margin:0 0 1.1em; }
.storybody { margin:22px 0 0; overflow-wrap:anywhere; }
.actionbar { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px 16px; margin:16px 0 0; padding:8px 0; border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.actions { display:inline-flex; gap:8px; }
.actions .btn[aria-pressed="true"] { background:var(--tint); color:var(--accent); }
.votes { display:inline-flex; align-items:center; gap:2px; }
.votes button { width:40px; height:40px; display:inline-flex; align-items:center; justify-content:center; border:0; background:transparent; color:var(--text); border-radius:50%; cursor:pointer; }
.votes button:hover { background:var(--soft); }
.votes button[aria-pressed="true"] { color:var(--accent); background:var(--tint); }
.votes button[aria-pressed="true"] .ic { stroke-width:2.6; }
.votes b { font-size:15px; min-width:28px; text-align:center; }
.round-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:18px; background:var(--tint); border-color:transparent; }
.countdown { display:block; font:800 26px/1.1 'Inter', system-ui, sans-serif; letter-spacing:-0.02em; color:var(--accent); font-variant-numeric:tabular-nums; }
.cand .prose { font-size:17px; }
.cand.voted { border-color:var(--accent); box-shadow:inset 0 0 0 1px var(--accent); }
.canon-tag { font:600 11px 'Inter', system-ui, sans-serif; letter-spacing:.08em; text-transform:uppercase; color:var(--faint); margin:1.6em 0 .5em; padding-top:1em; border-top:1px solid var(--border); }
.canon-tag a { color:inherit; }

/* ---- comments ---- */
section[aria-label="Comments"] { margin-top:20px; }
section[aria-label="Comments"] > h2 { font-size:16px; }
.comment { display:grid; grid-template-columns:36px minmax(0,1fr); gap:12px; margin:16px 0 0; }
.cav { display:flex; flex-direction:column; align-items:center; }
.thread { flex:1; width:2px; margin-top:6px; background:var(--border); border-radius:1px; }
.cbody { min-width:0; }
.chead { display:flex; flex-wrap:wrap; align-items:baseline; gap:0 6px; font-size:14px; }
.authortag { font-size:11px; font-weight:600; color:var(--accent); background:var(--tint); padding:1px 6px; border-radius:5px; }
.comment .body { white-space:pre-wrap; overflow-wrap:anywhere; margin:2px 0 0; font-size:15px; }
.cactions { display:flex; gap:18px; align-items:flex-start; flex-wrap:wrap; }

/* ---- profile: picture left, details right, no banner ---- */
.profilehead { padding:28px 0 20px; border-bottom:1px solid var(--border); display:grid; grid-template-columns:auto minmax(0,1fr); column-gap:28px; align-items:start; }
.pbanner { display:none; }
.ptop { display:contents; }
.profilehead > * { grid-column:2; order:3; }
.profilehead > .pdisplay { order:0; }
.profilehead > .muted { order:1; }
.ptop > .pav { grid-column:1; grid-row:1 / span 9; order:0; }
.ptop > .pbtns { grid-column:2; order:2; display:flex; flex-wrap:wrap; gap:8px; margin:12px 0 6px; }
.pav .avatar { width:120px !important; height:120px !important; font-size:46px !important; }
.pdisplay { font:700 22px 'Inter', system-ui, sans-serif; margin:6px 0 0; overflow-wrap:anywhere; }

/* ---- right column ---- */
.sideform { margin:0; }
.sideform input { width:100%; min-height:42px; padding:8px 16px; border-radius:10px; border:0; background:var(--soft); color:var(--text); font:inherit; }
.sideform input:focus { box-shadow:inset 0 0 0 1px var(--accent); background:var(--card); }
.rcard { background:transparent; border:0; }
.rcard h2 { font-size:14px; font-weight:600; color:var(--muted); margin:0 0 8px; padding:0; }
.rrow { display:flex; align-items:center; gap:12px; padding:8px 0; color:var(--text); text-decoration:none; font-size:14px; }
.rrow:hover { text-decoration:none; }
.rrow:hover b { text-decoration:underline; }
.rrow[aria-current="page"] b { color:var(--accent); }
.rrow.big { padding:14px 0; border-bottom:1px solid var(--border); align-items:flex-start; }
.rmore { color:var(--accent); font-weight:600; font-size:13px; padding:6px 0; }
.rmore:hover { text-decoration:underline; }
.commic { flex:none; width:36px; height:36px; border-radius:10px; display:inline-flex; align-items:center; justify-content:center; font-weight:700; background:var(--soft); color:var(--text); }
.clip { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.rlist { margin:0; padding:0 0 0 18px; color:var(--muted); font-size:14px; }
.rlist li { margin:4px 0; }

/* ---- notifications, legal ---- */
.notif { display:flex; gap:12px; align-items:center; padding:12px 16px; color:var(--text); text-decoration:none; border-bottom:1px solid var(--border); }
.notif:last-child { border-bottom:0; }
.notif:hover { background:var(--softer); text-decoration:none; }
.notif.unread { background:var(--tint); }
.legal { max-width:680px; border:0; padding:20px 0; }
.legal h2 { font-size:17px; margin:24px 0 6px; }
.legal p, .legal li { line-height:1.65; }
.legal ul, .legal ol { padding-left:22px; }
.legal li { margin:6px 0; }

/* ---- medium screens: no right column ---- */
@media (max-width: 1100px) {
  .shell { grid-template-columns:220px minmax(0,620px); gap:32px; }
  .right { display:none; }
  .only-narrow { display:flex; }
}
/* ---- phone parts are hidden on bigger screens ---- */
.mtop, .mbar, .sheet, .strip, .only-phone-inline { display:none; }
.sheet[hidden] { display:none !important; }

/* ---- phones: an app layout (top bar, bottom tabs, menu sheet) ---- */
@media (max-width: 760px) {
  body { font-size:15px; }
  .shell { display:block; padding:0; }
  .side, .right { display:none; }
  .main { padding:0 16px 24px; min-height:70vh; }
  .center { padding-bottom:calc(64px + env(safe-area-inset-bottom)); }

  /* top bar */
  .mtop { display:flex; position:sticky; top:0; z-index:20; align-items:center; justify-content:space-between; gap:8px;
    height:52px; padding:0 8px 0 16px; padding-top:env(safe-area-inset-top); background:var(--bg); border-bottom:1px solid var(--border); }
  body[data-page="inner"] .mtop { display:none; }
  .mlogo { display:flex; align-items:center; gap:6px; color:var(--text); font:700 21px 'Fraunces', Georgia, serif; letter-spacing:-0.01em; text-decoration:none; }
  .mlogo:hover { text-decoration:none; }
  .mlogo .ic { color:var(--accent); }
  .mtop-right { display:flex; align-items:center; gap:2px; }
  .mtop-right .iconbtn { width:44px; height:44px; }
  .mbell { position:relative; }
  .mbell .badge { position:absolute; top:4px; right:2px; border:2px solid var(--bg); }

  /* bottom tabs */
  .mbar { display:flex; position:fixed; left:0; right:0; bottom:0; z-index:20; align-items:center; justify-content:space-around;
    height:calc(56px + env(safe-area-inset-bottom)); padding:0 4px env(safe-area-inset-bottom); background:var(--bg); border-top:1px solid var(--border); }
  .mtab { flex:1; height:56px; display:flex; align-items:center; justify-content:center; color:var(--text); text-decoration:none; }
  .mtab:hover { text-decoration:none; }
  .mtab .ic { stroke-width:1.9; }
  .mtab[aria-current="page"] .ic { stroke-width:2.7; }
  .mcreate .ic { color:var(--text); }
  .mav { display:inline-flex; border-radius:50%; padding:2px; box-shadow:0 0 0 1px transparent; }
  .mav.on { box-shadow:0 0 0 2px var(--text); }
  .msignup { flex:none; margin:0 8px; }

  /* menu sheet that slides up */
  .sheet:not([hidden]) { display:block; position:fixed; inset:0; z-index:50; }
  .sheet-backdrop { position:absolute; inset:0; background:rgba(0,0,0,.4); }
  .sheet-panel { position:absolute; left:0; right:0; bottom:0; max-height:85vh; overflow-y:auto; background:var(--bg); border-radius:16px 16px 0 0;
    padding:8px 8px calc(16px + env(safe-area-inset-bottom)); animation:sheetup .18s ease-out; }
  @keyframes sheetup { from { transform:translateY(24px); opacity:.6; } to { transform:none; opacity:1; } }
  @media (prefers-reduced-motion: reduce) { .sheet-panel { animation:none; } }
  .sheet-head { display:flex; align-items:center; justify-content:space-between; padding:4px 4px 8px 12px; font-size:16px; }
  .sheetrow { display:flex; align-items:center; gap:16px; width:100%; min-height:52px; padding:0 12px; border:0; border-radius:10px; background:transparent;
    color:var(--text); font:500 16px 'Inter', system-ui, sans-serif; text-align:left; text-decoration:none; cursor:pointer; }
  .sheetrow:hover, .sheetrow:focus-visible { background:var(--soft); text-decoration:none; }
  .sheetrow.danger { color:var(--danger); }
  .sheet-foot { padding:14px 12px 4px; font-size:12px; color:var(--faint); }
  .sheet-foot a { color:var(--faint); }
  body.menu-open { overflow:hidden; }

  /* communities strip on the home feed */
  .strip { display:flex; gap:14px; overflow-x:auto; margin:0 -16px; padding:14px 16px 12px; border-bottom:1px solid var(--border);
    scrollbar-width:none; -webkit-overflow-scrolling:touch; scroll-snap-type:x proximity; }
  .strip::-webkit-scrollbar { display:none; }
  .strip-item { flex:none; width:68px; display:flex; flex-direction:column; align-items:center; gap:6px; color:var(--text); font-size:12px; text-decoration:none; scroll-snap-align:start; }
  .strip-item:hover { text-decoration:none; }
  .strip-item > span:last-child { max-width:68px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .strip-ring { width:62px; height:62px; border-radius:50%; display:flex; align-items:center; justify-content:center; padding:3px;
    background:var(--accent); }
  .strip-in { width:100%; height:100%; border-radius:50%; display:flex; align-items:center; justify-content:center; background:var(--soft);
    color:var(--text); font-weight:700; font-size:20px; box-shadow:0 0 0 2px var(--bg); }
  .strip-ring.relay { background:var(--tint); color:var(--accent); }
  .strip-ring.add { background:var(--soft); color:var(--text); }

  /* page tops */
  .feedhead { display:none; }
  .main > div > .composer:first-child, .main > div > .strip:first-child { margin-top:0; }
  .pagebar { position:sticky; top:0; z-index:15; margin:0 -16px; padding:6px 8px; padding-top:calc(6px + env(safe-area-inset-top)); background:var(--bg); border-bottom:1px solid var(--border); }
  .only-phone-inline { display:inline-flex; }
  .main > div > h1:first-child, .main > h1:first-child { padding-top:16px; font-size:22px; }

  /* feed: the + tab replaces the "start a story" box */
  .composer { display:none; }
  /* comment box starts as one line and grows when tapped */
  section[aria-label="Comments"] textarea { min-height:46px; height:46px; transition:height .15s; }
  section[aria-label="Comments"] textarea:focus { height:120px; }
  .composer-text { font-size:15px; }
  .post { grid-template-columns:36px minmax(0,1fr); gap:10px; padding:14px 0; }
  .post .avatar { width:36px !important; height:36px !important; font-size:15px !important; }
  .post h2 { font-size:17px; }
  .psum { font-size:15px; }
  .pstats { gap:20px; margin-top:10px; }
  .stat { min-height:32px; }
  .tabs.under { margin:0 -16px; }
  .tabs.under a { min-height:44px; }
  .relaytag { margin-left:0; }

  /* story page */
  .authorrow { padding-top:14px; }
  .storytitle { font-size:25px; margin-top:16px; }
  .prose { font-size:17px; line-height:1.7; }
  .actionbar { margin:16px -16px 0; padding:4px 8px; }
  .actions .btn { min-height:36px; }

  /* profile */
  .profilehead { column-gap:18px; padding-top:18px; }
  .pav .avatar { width:84px !important; height:84px !important; font-size:32px !important; }
  .pdisplay { font-size:19px; }

  /* forms: 16px text stops iPhones zooming in when you tap a box */
  input[type=text], input[type=email], input[type=password], input[type=date], input[type=number], input[type=search], select, textarea { font-size:16px; }
  .card { padding:16px; border-radius:12px; }
  .btn { min-height:44px; }
  .btn.small { min-height:38px; }

  .foot { padding:20px 16px 24px; }
}

/* Heather logo mark next to the name */
.logo .logo-mark, .mlogo .logo-mark { color:var(--accent); }
.logo { gap:6px; }
.steps { padding-left:20px; line-height:1.7; }
.sheetrow.install { color:var(--accent); font-weight:600; }
