/* unvelt website v1: ported from the approved comps (docs/prototypes/website-v1/site.css). Class names kept. */
@font-face { font-family: "Instrument Sans"; font-weight: 400 700; font-stretch: 75% 100%;
  src: url("/static/fonts/instrument-sans-latin-standard-normal.woff2") format("woff2-variations"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400;
  src: url("/static/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }

:root {
  --paper: #fbfbf9; --ink: #101010; --ink-2: #6e6e6b; --rule: #d8d8d4; --mid: #9a9a97;
  --sleep: #f0f0ee; --sepia: #704214;
  --sans: "Instrument Sans", Arial, sans-serif; --mono: "IBM Plex Mono", monospace;
  --max: 1248px; --pad: max(20px, calc((100vw - var(--max)) / 2));
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); }
body { position: relative; }
a { color: inherit; }
.mono { font-family: var(--mono); }
.caps { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }

/* the member: one fixed hairline at the right edge, graduated, as Kanishak kept it (25 Sep) */
body::before { content: ""; position: absolute; top: 0; bottom: 0; right: calc(var(--pad) - 24px); width: 1px; background: var(--ink); }
body::after { content: ""; position: absolute; top: 0; bottom: 0; right: calc(var(--pad) - 24px); width: 6px;
  background: repeating-linear-gradient(to bottom, var(--ink) 0 1px, transparent 1px 48px); }

.wrap { width: min(var(--max), calc(100vw - 2 * var(--pad))); margin: 0 auto; padding-right: 32px; }

/* header */
header.top { display: flex; align-items: center; justify-content: space-between; padding: 28px 0 0; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 500; text-decoration: none; }
.brand svg { width: 24px; height: 24px; }
nav.links { display: flex; align-items: center; gap: 28px; font-size: 15px; }
nav.links a { text-decoration: none; }
nav.links a.here { text-decoration: underline; text-underline-offset: 5px; }

/* the chamfered button: one 45-degree corner, from the seal */
.btn { display: inline-block; background: var(--ink); color: var(--paper); text-decoration: none; font-size: 15px; font-weight: 500;
  padding: 13px 22px 13px 20px; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%); }
.btn.ghost { background: none; color: var(--ink); padding: 0; clip-path: none; text-decoration: underline; text-underline-offset: 5px; font-weight: 400; }
.btn.big { font-size: 17px; padding: 16px 28px 16px 24px; }

h1 { font-size: 112px; line-height: .95; letter-spacing: -.035em; font-weight: 600; margin: 0; }
h2 { font-size: 56px; line-height: 1.02; letter-spacing: -.025em; font-weight: 500; margin: 0; }
h3 { font-size: 24px; line-height: 1.2; letter-spacing: -.01em; font-weight: 500; margin: 0; }
p.lede { font-size: 22px; line-height: 1.4; color: var(--ink-2); max-width: 560px; margin: 24px 0 0; }
p.body { font-size: 19px; line-height: 1.5; color: var(--ink-2); max-width: 520px; margin: 18px 0 0; }
p.body b, p.lede b { color: var(--ink); font-weight: 500; }
section { padding: 120px 0 0; }
.label { margin-bottom: 20px; }

/* fragment band (02e, kept) */
.band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 64px 0 18px; border-bottom: 1px solid var(--ink); }
.band .k { font-size: 11px; font-family: var(--mono); letter-spacing: .08em; color: var(--ink-2); margin-bottom: 10px; }
.band .v { font-family: var(--mono); font-size: 14px; line-height: 1.5; }
.band .v.said { font-family: var(--sans); font-size: 16px; }

/* app cards: the Atlas v4 Day card at web scale */
.card { display: grid; grid-template-columns: 76px 1fr 40px; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.card .t { font-family: var(--mono); font-size: 14px; line-height: 1.55; }
.card .t span { display: block; color: var(--mid); }
.card .what { font-size: 22px; font-weight: 500; letter-spacing: -.01em; line-height: 1.2; }
.card .how { font-size: 16px; line-height: 1.45; color: var(--ink-2); margin-top: 6px; }
.card .ic { justify-self: end; color: var(--ink-2); }
.card.sleep { background: var(--sleep); margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
.card.sepia .what, .card.sepia .how { color: var(--sepia); }
.chip { display: inline-flex; vertical-align: -3px; align-items: center; justify-content: center; width: 26px; height: 22px;
  border: 1px solid var(--rule); border-radius: 3px; background: #f3f3f0; margin: 0 2px; }
.chip svg { width: 13px; height: 13px; }
.words { font-size: 24px; line-height: 1.55; letter-spacing: -.005em; }

/* layout grids, collapsing on the phone */
.g { display: grid; gap: 72px; }
.g-hero { grid-template-columns: 1fr 560px; gap: 56px; align-items: start; margin-top: 96px; }
.g-hero h1 { font-size: 84px; }
.panel { padding: 26px 28px 8px; }
.paneltitle { font-size: 28px; font-weight: 500; letter-spacing: -.02em; }
.panel .card { padding: 14px 0; } .panel .card .what { font-size: 19px; } .panel .card .how { font-size: 14.5px; }
.cite { border: 1px solid var(--rule); background: #f3f3f0; padding: 5px 10px; font-size: 14px; display: inline-flex; gap: 8px; align-items: center; border-radius: 3px; }
.g-conn { grid-template-columns: 1.1fr 1fr; gap: 40px; }
.conn { }
.bubble { font-size: 17px; line-height: 1.5; padding: 12px 16px; margin: 0 0 10px; max-width: 92%; }
.bubble.me { background: var(--ink); color: var(--paper); margin-left: auto; width: fit-content; }
.bubble.them { border: 1px solid var(--rule); }
.bubble.muted { color: var(--ink-2); }
.perm { display: flex; justify-content: space-between; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--rule); font-size: 17px; }
.perm.last { border-bottom: 0; }
.sw { width: 34px; height: 18px; border: 1px solid var(--ink); position: relative; display: inline-block; }
.sw i { position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; background: var(--mid); }
.sw.on { background: var(--ink); } .sw.on i { left: 18px; background: var(--paper); }
.g-day { grid-template-columns: 400px 1fr; }
.g-2 { grid-template-columns: 1fr 1fr; align-items: start; }
.g-3 { grid-template-columns: 1fr 1fr 1fr; gap: 40px; }
.g-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 40px; gap: 24px; }
.ruled { border-top: 1px solid var(--ink); padding-top: 40px; gap: 28px 64px; }
.aside { text-align: right; color: var(--ink-2); font-size: 16px; line-height: 1.5; }
.heroseal { text-align: right; } .heroseal svg { width: 220px; height: 220px; display: block; margin: 0 0 28px auto; }
.card.row2 { grid-template-columns: 260px 1fr; }
/* one 45-degree chamfer per module, with the cut edge drawn */
.cham { position: relative; border: 1px solid var(--ink); clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%); }
.cham::after { content: ""; position: absolute; top: -1px; left: calc(100% - 20px); width: 28.9px; height: 1px; background: var(--ink); transform-origin: 0 0; transform: rotate(45deg); }

/* connector v2: build your own */
.g-build { grid-template-columns: 1.15fr 1fr; gap: 40px; margin-top: 8px; }
.prompt { border-left: 2px solid var(--ink); padding: 4px 0 4px 18px; margin-bottom: 22px; }
.app { padding: 24px 26px 18px; }
.prow { display: grid; grid-template-columns: 130px 90px 1fr; gap: 14px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.pname { font-size: 18px; font-weight: 500; } .pwhen { font-size: 12px; color: var(--ink-2); letter-spacing: .06em; }
.pwhat { font-size: 15px; color: var(--ink-2); display: flex; gap: 8px; align-items: center; }
.grant { display: flex; justify-content: space-between; gap: 16px; font-size: 13.5px; color: var(--ink-2); padding-top: 14px; }
.tile { padding: 18px 20px 12px; margin-bottom: 16px; }
.tbefore { font-size: 14px; color: var(--mid); margin-bottom: 8px; }
.trow { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid var(--rule); font-size: 15px; }
.trow .mono { font-size: 12.5px; letter-spacing: .04em; }

/* connector v3: your AI, with your life */
.g-conn3 { grid-template-columns: 1fr 460px; gap: 72px; align-items: center; }
.knows { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; border-top: 1px solid var(--rule); padding-top: 16px; font-size: 16px; line-height: 1.45; }
.knows .caps { margin-bottom: 6px; } .knows > div:last-child > div:last-child { color: var(--ink); font-weight: 500; }
.ais { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 28px 0 6px; }
.ais span { border: 1px solid var(--ink); padding: 7px 14px; font-size: 16px; }
.ais span:last-child { border-style: dashed; color: var(--ink-2); }
.thread { background: #f3f3f0; padding: 24px 22px 18px; }
.tnote { text-align: center; font-size: 13.5px; color: var(--ink-2); margin-bottom: 16px; }
.msg { font-size: 16.5px; line-height: 1.45; padding: 12px 15px; margin-bottom: 10px; max-width: 86%; }
.msg.them { background: var(--paper); border: 1px solid var(--rule); }
.msg.me { background: var(--ink); color: var(--paper); margin-left: auto; width: fit-content; }
.mcite { margin-top: 10px; font-size: 13px; color: var(--ink-2); display: flex; gap: 6px; align-items: center; border-top: 1px solid var(--rule); padding-top: 8px; }

/* showcase */
.story { padding: 28px 30px 26px; }
.story .q { font-size: 28px; line-height: 1.2; }
.ans { font-size: 18px; line-height: 1.55; margin: 14px 0 0; }
.g-jour { grid-template-columns: 380px 1fr; gap: 48px; margin-top: 24px; align-items: start; }
.g-jour .card { padding: 11px 0; grid-template-columns: 56px 1fr 20px; } .g-jour .card .what { font-size: 17px; } .g-jour .card .how { font-size: 14.5px; }
.g-2s { grid-template-columns: 1fr 1fr; gap: 24px; } .g-3s { grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.g-3s .thread { padding: 18px 16px 10px; } .g-3s .msg { font-size: 15px; max-width: 94%; }
.rwhead { font-size: 56px; line-height: 1; letter-spacing: -.03em; font-weight: 600; margin: 6px 0 22px; }
.rwgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
.rwgrid b { display: block; font-size: 44px; font-weight: 500; letter-spacing: -.02em; } .rwgrid span { font-size: 15px; color: var(--ink-2); }
.bar { display: grid; grid-template-columns: 1fr 110px 64px; gap: 10px; align-items: center; padding: 6px 0; font-size: 15px; }
.bar i { display: block; height: 8px; background: var(--ink); } .bar b { font-weight: 400; font-size: 12.5px; text-align: right; }
.mrow { display: grid; grid-template-columns: 1fr 1.2fr 70px; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 15.5px; }
.mrow span:first-child { font-weight: 500; } .mrow .mono { font-size: 12.5px; text-align: right; color: var(--ink-2); }

/* plans */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.plan { padding: 32px 32px 36px; }
.plan .price { font-size: 56px; font-weight: 500; letter-spacing: -.03em; margin-top: 18px; }
.plan .price small { font-size: 17px; color: var(--ink-2); font-weight: 400; letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 24px 0 0; border-top: 1px solid var(--rule); }
.plan li { padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 16px; line-height: 1.4; }
.plan .was { text-decoration: line-through; color: var(--mid); font-size: 22px; margin-left: 10px; font-weight: 400; }
.toggle { display: inline-flex; border: 1px solid var(--ink); font-size: 15px; }
.toggle span { padding: 9px 18px; } .toggle span.on { background: var(--ink); color: var(--paper); }

footer.foot { margin-top: 140px; padding: 28px 0 48px; border-top: 1px solid var(--ink); display: flex; flex-wrap: wrap; justify-content: space-between; font-size: 15px; color: var(--ink-2); }
footer.foot .attr { flex-basis: 100%; margin-top: 18px; font-size: 12.5px; color: var(--mid); }
footer.foot a { margin-left: 22px; }

/* sample labels on illustrative data */
.sample { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--mid); }

/* policy pages */
.policy { display: grid; grid-template-columns: 220px 1fr; gap: 64px; }
.toc { position: sticky; top: 24px; align-self: start; font-size: 15px; line-height: 2; }
.toc a { display: block; text-decoration: none; color: var(--ink-2); } .toc a.on { color: var(--ink); }
.prose h2 { font-size: 32px; margin: 48px 0 0; }
.prose p, .prose li { font-size: 18px; line-height: 1.55; color: #2a2a28; max-width: 680px; }
.prose ul { padding-left: 20px; }
.short { padding: 24px 28px; margin-top: 32px; max-width: 720px; }
.short li { font-size: 18px; line-height: 1.5; margin: 6px 0; }
.flag { font-family: var(--mono); font-size: 11px; color: var(--paper); background: var(--ink-2); padding: 1px 5px; letter-spacing: .05em; vertical-align: 2px; }

@media (max-width: 600px) {
  body::before, body::after { display: none; }
  .wrap { padding-right: 18px; }
  h1 { font-size: 54px; } h2 { font-size: 34px; } p.lede { font-size: 18px; } p.body { font-size: 17px; }
  nav.links a:not(.btn) { display: none; }
  .band { grid-template-columns: 1fr 1fr; gap: 18px 16px; padding-top: 40px; }
  section { padding-top: 80px; }
  .card { grid-template-columns: 56px 1fr 24px; gap: 12px; }
  .card .what { font-size: 18px; } .card .how { font-size: 14.5px; } .card .t { font-size: 12.5px; }
  .words { font-size: 19px; }
  .plans, .g-hero, .g-day, .g-2, .g-3, .g-conn, .g-build, .g-conn3, .g-jour, .g-2s, .g-3s { grid-template-columns: 1fr; gap: 40px; }
  .g-hero { margin-top: 48px; } .g-hero h1 { font-size: 54px; } .panel { padding: 20px 18px 4px; } .paneltitle { font-size: 22px; }
  .g-head { display: block; } .aside { text-align: left; margin-top: 16px; }
  .heroseal { display: none; } .card.row2 { grid-template-columns: 1fr; gap: 6px; }
  .band .v { font-size: 12.5px; } .plan { padding: 24px 22px 28px; }
  .plan .price { font-size: 44px; }
  .policy { grid-template-columns: 1fr; } .toc { display: none; }
  footer.foot { flex-direction: column; gap: 14px; } footer.foot a { margin: 0 16px 0 0; display: inline-block; white-space: nowrap; line-height: 1.9; }
  .prow { grid-template-columns: 1fr auto; } .pwhat { grid-column: 1 / -1; }
}

/* journey map (stories): pre-rendered image + overlay */
.jmap-wrap{position:relative;border:1px solid var(--rule);background:var(--sleep);overflow:hidden}
.jmain{position:relative} .jmain>img,.jinset>img{display:block;width:100%;height:auto}
.jmain svg,.jinset svg{position:absolute;inset:0;width:100%;height:100%}
.jinset{position:absolute;right:10px;top:10px;width:46%;border:1px solid var(--ink);background:var(--paper)}
.jcap{position:absolute;left:0;top:0;background:var(--paper);padding:2px 6px;font-size:10px;border-bottom:1px solid var(--rule);border-right:1px solid var(--rule)}
.jfoot{background:var(--paper);padding:7px 10px;border-top:1px solid var(--rule)}
.jlab{position:absolute;white-space:nowrap;pointer-events:none;line-height:1.15}
.jlab b{display:block;font-weight:500;font-size:13px;color:var(--ink);text-shadow:0 0 3px #FBFBF9,0 0 3px #FBFBF9,0 0 3px #FBFBF9}
.jlab span{display:block;font-family:"IBM Plex Mono",monospace;font-size:10.5px;color:var(--ink-2);text-shadow:0 0 3px #FBFBF9,0 0 3px #FBFBF9}
.jlab-r{transform:translate(12px,-50%)} .jlab-l{transform:translate(calc(-100% - 12px),-50%);text-align:right}
.jlab-t{transform:translate(-50%,calc(-100% - 10px));text-align:center} .jlab-b{transform:translate(-50%,10px);text-align:center} .jlab-bl{transform:translate(calc(-100% + 8px),10px);text-align:right}
@media (max-width:600px){
  /* phone: the map runs to the card edges, and the Edinburgh inset becomes its own panel under it */
  .jmap-wrap{margin:0 -30px;border-left:0;border-right:0}
  .jinset{position:relative;right:auto;top:auto;width:auto;border:0;border-top:1px solid var(--rule)}
  .jinset .jcap{border-right:0}
}
/* rewind v2 */
.g-rw { grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 28px; }
.rwnote { font-size: 22px; line-height: 1.4; margin: 0; max-width: 460px; justify-self: end; }
.rhythm { display: grid; grid-template-columns: repeat(52, 1fr); gap: 3px; height: 96px; align-items: end; border-bottom: 1px solid var(--ink); }
.wk { position: relative; height: 100%; display: flex; align-items: end; }
.wk i { display: block; width: 100%; background: var(--ink); }
.wk em { position: absolute; bottom: calc(100% + 4px); left: 50%; transform: translateX(-50%); font-style: normal; font-family: "IBM Plex Mono", monospace; font-size: 10px; letter-spacing: .06em; color: var(--ink-2); white-space: nowrap; }
.rhythm { margin-top: 26px; }
.rmonths { display: grid; grid-template-columns: repeat(12, 1fr); margin-top: 6px; font-size: 10.5px; }
.chapters { display: grid; grid-template-columns: repeat(52, 1fr); margin-top: 10px; }
.chapters div { border-left: 1px solid var(--ink); padding: 2px 8px 0; font-size: 14px; line-height: 1.3; }
.moments { margin-top: 40px; gap: 0 24px; }
.moment { border-top: 1px solid var(--rule); padding: 18px 0 22px; }
.moment .src { font-size: 10.5px; color: var(--ink-2); }
.moment .big { font-size: 22px; line-height: 1.25; font-weight: 500; letter-spacing: -.01em; margin-top: 8px; }
.moment p { margin: 8px 0 0; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
/* my people app */
.papp { border: 1px solid var(--ink); background: var(--paper); padding: 18px 22px 14px; }
.papp-top { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.prow { display: grid; grid-template-columns: 220px 1fr 88px 48px; gap: 20px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.prow b { display: block; font-weight: 500; font-size: 16px; } .prow div > span { font-size: 13.5px; color: var(--ink-2); }
.prow .mono { font-size: 12px; letter-spacing: .04em; text-align: right; }
.phead { padding: 10px 0 6px; font-size: 10.5px; } .phead > span { text-align: right; }
.pmonths { display: grid; grid-template-columns: repeat(12, 1fr); }
.pstrip { display: grid; grid-template-columns: repeat(52, 1fr); gap: 2px; }
.pstrip i { display: block; height: 16px; background: var(--sleep); }
.pstrip i.on { background: var(--ink); } .pstrip i.fut { background: transparent; outline: 1px dotted var(--rule); outline-offset: -1px; }
.pfoot { font-size: 13.5px; color: var(--ink-2); padding-top: 12px; }
@media (max-width: 600px) {
  .g-rw { grid-template-columns: 1fr; gap: 12px; } .rwnote { justify-self: start; font-size: 18px; }
  .rhythm { gap: 1px; height: 72px; } .wk em { font-size: 8.5px; }
  .chapters { grid-template-columns: 1fr 1fr; gap: 6px 0; } .chapters div { grid-column: auto !important; font-size: 13px; }
  .moments { grid-template-columns: 1fr; }
  .prow { grid-template-columns: 1fr 70px 30px; gap: 10px; } .prow .pstrip { grid-column: 1 / -1; grid-row: 2; gap: 1px; } .pstrip i { height: 12px; }
  .phead { display: none; }
}
.papp-top { flex-wrap: wrap; gap: 4px 12px; }

/* rewind v3: story cards */
.rwcards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rwc { aspect-ratio: 9 / 14; border: 1px solid var(--ink); padding: 18px 18px 16px; display: flex; flex-direction: column; background: var(--paper); }
.rwc.ink { background: var(--ink); color: var(--paper); } .rwc.ink .caps { color: #b9b9b5; } .rwc.ink .rwbody { color: #d9d9d5; }
.rwc .caps { font-size: 10.5px; }
.rwbig { font-size: 30px; line-height: 1.08; font-weight: 600; letter-spacing: -.02em; margin-top: 14px; }
.rwbody { margin-top: auto; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.rwrow { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-top: 1px solid currentColor; border-color: rgba(128,128,128,.35); font-size: 14px; }
.rwrow .mono { font-size: 11.5px; letter-spacing: .04em; } .rwrow b.mono { margin-right: 6px; font-weight: 400; }
/* music: old songs chart */
.oldc { display: grid; grid-template-columns: repeat(42, 1fr); gap: 3px; height: 150px; align-items: end; border-bottom: 1px solid var(--ink); margin-top: 22px; }
.ob { position: relative; height: 100%; display: flex; align-items: end; } .ob i { display: block; width: 100%; background: var(--rule); }
.ob.dl i { background: var(--ink); }
.ob em { position: absolute; bottom: calc(100% + 4px); left: 50%; transform: translateX(-50%); font-style: normal; font-family: "IBM Plex Mono", monospace; font-size: 10px; letter-spacing: .06em; color: var(--ink-2); }
.oldc .ob:nth-child(n) i { min-height: 2px; }
.oldaxis { display: flex; justify-content: space-between; margin-top: 6px; font-size: 10.5px; }
/* timesheet app */
.tsrow { display: grid; grid-template-columns: 260px repeat(7, 1fr) 70px; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.tsrow b { display: block; font-weight: 500; font-size: 16px; } .tsrow div > span { font-size: 13.5px; color: var(--ink-2); }
.tsrow .mono { font-size: 13px; text-align: center; } .tsrow .tot { text-align: right; font-weight: 500; color: var(--ink); }
.tshead { padding: 10px 0 6px; font-size: 10.5px; } .tshead span { text-align: center; } .tshead span:last-child { text-align: right; }
.tsfoot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 14px; font-size: 14.5px; color: var(--ink-2); }
.tsfoot b { color: var(--ink); font-weight: 500; } .tsbtn { border: 1px solid var(--ink); color: var(--ink); padding: 7px 14px; font-size: 14px; white-space: nowrap; }
@media (max-width: 600px) {
  .rwcards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-right: -16px; padding-right: 16px; }
  .rwc { flex: 0 0 84%; scroll-snap-align: start; } .rwrow .mono { white-space: nowrap; }
  .oldc { gap: 1px; height: 120px; }
  /* phone: client and week total on one line, the seven days in a row under it */
  .tsrow { grid-template-columns: repeat(7, 1fr); gap: 6px 2px; } .tsrow > div { grid-column: 1 / 6; grid-row: 1; }
  .tsrow .tot { grid-column: 6 / 8; grid-row: 1; font-size: 15px; } .tsrow .mono { font-size: 11.5px; } .tsrow div > span { font-size: 13px; }
  .tshead > span:first-child, .tshead > span:last-child { display: none; } .tshead { font-size: 10px; }
  .tsfoot { flex-direction: column; align-items: flex-start; }
}

/* build your own: other apps as plain requests (c6) */
.asks { margin-top: 28px; } .asks .caps { margin-bottom: 12px; }
.asks-row { display: flex; flex-wrap: wrap; gap: 10px; }
.askp { border: 1px solid var(--rule); background: var(--paper); padding: 8px 14px; font-size: 15.5px; color: var(--ink); border-radius: 3px; }
@media (max-width: 600px) { .askp { font-size: 14.5px; } }

/* invite form (legal round 5): email, country, a US-only state, one question */
.g-invite { display: grid; grid-template-columns: 1fr 520px; gap: 72px; align-items: start; }
.ret { font-size: 14.5px; line-height: 1.5; color: var(--mid); margin-top: 28px; max-width: 420px; }
.invite { padding: 30px 30px 28px; background: var(--paper); display: grid; gap: 22px; }
.fld { display: grid; gap: 8px; }
.fl { font-size: 15px; color: var(--ink); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; } .fhint { color: var(--mid); white-space: nowrap; }
.fld input, .fld textarea, .fld select { font: inherit; font-size: 17px; color: var(--ink); background: var(--paper); border: 1px solid var(--ink); border-radius: 0; padding: 12px 14px; width: 100%; box-sizing: border-box; }
.fld textarea { resize: vertical; line-height: 1.45; }
.fld input:focus, .fld textarea:focus, .fld select:focus { outline: 2px solid var(--ink); outline-offset: 2px; }
.sel { position: relative; display: block; } .sel select { appearance: none; padding-right: 40px; }
.sel::after { content: ""; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.fld.bad input, .fld.bad textarea, .fld.bad select { border-width: 2px; padding: 11px 13px; }
.ferr { font-size: 14px; color: var(--ink); font-weight: 500; padding-left: 10px; border-left: 2px solid var(--ink); }
.iact { padding-top: 4px; } .iact .btn { border: 0; cursor: pointer; }
.closed { margin: 0; padding: 14px 16px; border: 1px solid var(--rule); background: var(--sleep); font-size: 15.5px; line-height: 1.5; color: var(--ink); }
.invite.sent { padding: 40px 32px 36px; } .invite.sent h3 { font-size: 30px; font-weight: 500; margin: 0; letter-spacing: -.01em; }
.sentmark { color: var(--ink); }
@media (max-width: 600px) {
  .g-invite { grid-template-columns: 1fr; gap: 32px; } .g-invite h2 { font-size: 44px !important; }
  .invite { padding: 22px 20px 22px; gap: 18px; } .ret { margin-top: 18px; }
}

/* shell (W1) */
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.btn:focus-visible { outline-offset: 3px; }
main { display: block; }
button.btn { border: 0; font-family: inherit; cursor: pointer; }
footer.foot a.mono { margin-left: 0; text-decoration: none; }
p.disclose { font-size: 13px; line-height: 1.5; color: var(--mid); max-width: 720px; margin: 32px 0 0; }
footer.foot .attr a { margin: 0; color: inherit; display: inline; white-space: normal; text-underline-offset: 2px; }
.ph { padding-top: 96px; }
.ph h1 { font-size: 72px; }
@media (max-width: 600px) { .ph { padding-top: 48px; } .ph h1 { font-size: 44px; } }
