/* Porfa. Brand colors stay the same; spacing runs on an 8px scale (4, 8, 12, 16, 24, 32). */
:root{--peach:#FFC9A8;--peach2:#FFE2D0;--red:#D0121F;--ink:#3A0A12;--cream:#FFF4EC;--white:#FFFCFA;--muted:#6B2A2A;--deep:#FFB088;--link:#A60D18;--green:#1F8552;--amber:#A35F00;--line:rgba(58,10,18,.2);--r:18px;--sh:none}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%}
body{background:var(--peach);color:var(--ink);font:500 16px/1.45 'DM Sans',system-ui,sans-serif;-webkit-tap-highlight-color:transparent;-webkit-font-smoothing:antialiased}
body.red{background:var(--red)}
button{font-family:inherit}
:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
.red :focus-visible{outline-color:var(--cream)}
#app{max-width:480px;margin:0 auto;min-height:100dvh;display:flex;flex-direction:column}
.page{flex:1;padding:calc(32px + env(safe-area-inset-top)) max(20px,env(safe-area-inset-right)) calc(40px + env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left));display:flex;flex-direction:column;gap:28px}

/* Type */
h1{font:400 34px/1.08 'Archivo Black',sans-serif;margin:0;overflow-wrap:anywhere}
.logo{font:400 26px/1 'Abril Fatface',Georgia,serif;color:var(--red)}
.greet{display:flex;flex-direction:column;gap:8px}
.sub{margin:0;font-size:17px;font-weight:700;color:var(--muted)}
.lab{font-size:14px;font-weight:700;color:var(--muted)}
.hint{display:flex;align-items:center;gap:8px;margin:0;font-size:14px;color:var(--muted)}
.hint.spicy{color:#B5121B;font-weight:700}
.meta{font-size:13px;line-height:1.35;color:var(--muted)}
.t{font-weight:900;font-size:17px;line-height:1.25;overflow-wrap:anywhere}
.blur{filter:blur(6px)}
.ic{display:inline-flex;flex:none}
.ic svg{display:block}

/* Layout */
.row{display:flex;align-items:center;justify-content:space-between;gap:10px}
.col{display:flex;flex-direction:column;gap:12px}
.stack{display:flex;flex-direction:column;gap:14px}
.center{align-items:center;text-align:center}
.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
/* Sections: each one a tinted block with an ink border and a colored header tag.
   --bg is the tint, --ac the accent for the tag. Content inside sits on the tint, not in a second box. */
.sec{--bg:var(--white);--ac:var(--ink);display:flex;flex-direction:column;gap:14px;padding:16px 16px 18px;border-radius:22px;background:var(--bg);border:2px solid var(--ink);box-shadow:var(--sh)}
.sec-h{align-self:flex-start;margin:0 0 2px;padding:6px 12px;border-radius:99px;background:var(--ac);color:#fff;font:800 12px/1.2 'DM Sans',sans-serif;letter-spacing:.08em;text-transform:uppercase}
.tone-sky{--bg:#E4EEFA;--ac:#2563A8}
.tone-mint{--bg:#DFF2E6;--ac:#1A7046}
.tone-lilac{--bg:#EEE6F7;--ac:#7B3FA6}
.tone-rose{--bg:#FBE4EE;--ac:#B02A6E}
.tone-butter{--bg:#FFF0CC;--ac:#8F5300}
.tone-peach{--bg:#FFE2D0;--ac:#B5121B}
.tone-plain{--bg:var(--white);--ac:var(--ink)}
.sec .panel,.sec .trade{padding:0;border:0;border-radius:0;background:none}
.sec .panel.row{padding:4px 0}
.sec .badge.sm{background:#fff}
.panel{display:flex;flex-direction:column;gap:18px;padding:18px;border-radius:var(--r);background:var(--cream)}
.panel.row{flex-direction:row;padding:14px 18px}
hr{width:100%;margin:0;border:0;border-top:1.5px solid var(--line)}

/* Top bar: back on the left, title in the middle, actions on the right */
.top{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;min-height:52px;margin-bottom:4px}
.top-l{display:flex}
.top-r{display:flex;justify-content:flex-end;gap:8px}
.top-t{font-size:22px;text-align:center}
.back{display:inline-flex;align-items:center;gap:2px;min-height:44px;padding:0 16px 0 10px;border-radius:99px;border:0;background:var(--cream);color:var(--ink);font-weight:800;font-size:15px;cursor:pointer;white-space:nowrap}
.back:not(:has(.ic)){padding:0 16px}
.pillbtn{min-height:40px;padding:0 16px;border-radius:99px;border:2px solid var(--ink);background:var(--white);color:var(--ink);font-weight:800;font-size:14px;cursor:pointer}
.pillbtn.danger{color:var(--link)}
.iconbtn{display:grid;place-items:center;width:48px;height:48px;padding:0;border:0;border-radius:99px;background:rgba(255,255,255,.14);color:var(--cream);cursor:pointer}

/* Buttons. A chunky shadow that presses down when tapped. */
.btn{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:56px;padding:0 18px;border-radius:var(--r);border:2px solid var(--ink);background:var(--green);color:#fff;font:900 17px 'DM Sans',sans-serif;cursor:pointer;box-shadow:var(--sh);transition:transform .08s,box-shadow .08s}
.btn.alt{background:var(--white);color:var(--ink)}
.btn.sm{width:auto;min-height:48px;padding:0 16px;border-radius:14px;font-size:15px;flex:none;box-shadow:none}
.btn:disabled{opacity:.5;cursor:default}
.btn:not(:disabled):active,.card:active,.chip:not(:disabled):active,.type:active{transform:scale(.97)}
.txt{align-self:center;min-height:44px;padding:0 8px;border:0;background:none;color:var(--link);font:700 15px 'DM Sans',sans-serif;cursor:pointer}
.txt.danger{margin-top:8px}

/* Fields */
input,textarea{width:100%;min-height:52px;padding:12px 14px;border-radius:14px;border:2px solid var(--line);background:var(--white);color:var(--ink);font:500 16px 'DM Sans',sans-serif;transition:border-color .12s,box-shadow .12s}
input::placeholder,textarea::placeholder{color:#9A6B66}
input:focus,textarea:focus{outline:none;border-color:var(--ink);box-shadow:0 0 0 4px rgba(208,18,31,.16)}
textarea{min-height:150px;resize:vertical}
.field{display:flex;flex-direction:column;gap:8px}
.otp{font:400 26px 'Archivo Black',sans-serif;letter-spacing:.3em;text-align:center}

/* Ask cards: a color badge for the kind of ask, the title, and a status pill */
.cards{display:flex;flex-direction:column;gap:14px}
.card{display:flex;align-items:center;gap:14px;width:100%;padding:14px;border-radius:var(--r);background:var(--white);color:var(--ink);border:2px solid var(--ink);box-shadow:var(--sh);text-align:left;font:inherit;cursor:pointer;transition:transform .08s,box-shadow .08s}
.card-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.badge{flex:none;display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:var(--tc,var(--ink));color:#fff}
.badge.sm{width:40px;height:40px;border-radius:12px;background:var(--peach2);color:var(--red)}

/* Status: only "New" shouts. The rest are a quiet dot. */
.pill{flex:none;display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:99px;font-size:12px;font-weight:800;white-space:nowrap;background:var(--peach2);color:var(--ink)}
.pill::before{content:"";width:8px;height:8px;border-radius:99px;background:currentColor}
.p-new{background:var(--red);color:#fff}
.p-working::before{background:var(--amber)}
.p-done{background:#DDF1E5;color:#14573A}

/* Choice chips and the kind-of-ask tiles */
.chip{min-height:52px;padding:6px 8px;border-radius:14px;border:2px solid var(--ink);background:var(--white);color:var(--ink);font:800 14px/1.15 'DM Sans',sans-serif;cursor:pointer;box-shadow:none;transition:transform .08s,box-shadow .08s,background .12s}
.chip.on{background:var(--ink);color:#fff}
.chip.on::before{content:"\2713\00a0"}
.chip.s-working.on{background:var(--amber)}
.chip.s-done.on{background:var(--green)}
.type{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:96px;padding:10px 6px;border-radius:16px;border:2px solid var(--ink);background:var(--white);color:var(--ink);font:800 13px/1.15 'DM Sans',sans-serif;text-align:center;cursor:pointer;box-shadow:none;transition:transform .08s,box-shadow .08s,background .12s}
.type .badge{width:40px;height:40px;border-radius:12px}
.type.on{background:var(--tc);color:#fff}
.type.on .badge{background:#fff;color:var(--tc)}

/* The list tabs */
.tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:5px;border-radius:16px;background:var(--deep)}
.tab{min-height:44px;border:0;border-radius:12px;background:transparent;color:var(--ink);font-weight:800;font-size:15px;cursor:pointer;transition:background .12s}
.tab.on{background:var(--ink);color:#fff}
.empty{padding:40px 16px;border-radius:var(--r);border:2px dashed var(--line);text-align:center;color:var(--muted);font-weight:700}

/* Top navigation: sticky, takes the page color so it blends in, shadow-free until it needs to cover content */
body{--pagebg:var(--peach)}
body.red{--pagebg:var(--red)}
.topnav{position:sticky;top:0;z-index:5;display:flex;align-items:center;gap:12px;padding:calc(18px + env(safe-area-inset-top)) max(20px,env(safe-area-inset-right)) 16px max(20px,env(safe-area-inset-left));background:var(--pagebg);border-bottom:2px solid rgba(58,10,18,.12)}
.red .topnav{border-bottom-color:rgba(0,0,0,.15)}
.topnav nav{flex:1;display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;border-radius:99px;background:rgba(58,10,18,.1)}
.red .topnav nav{background:rgba(0,0,0,.18)}
.navtab{display:flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:0 10px;border:0;border-radius:99px;background:none;color:var(--ink);font-weight:800;font-size:14px;white-space:nowrap;cursor:pointer;transition:background .15s}
.red .navtab{color:var(--cream)}
.navtab.on{background:var(--ink);color:#fff}
.red .navtab.on{background:var(--cream);color:var(--red)}
.topnav .iconbtn{width:44px;height:44px;background:rgba(58,10,18,.1);color:var(--ink)}
.red .topnav .iconbtn{background:rgba(255,255,255,.14);color:var(--cream)}
.topnav+.page{padding-top:32px;padding-bottom:calc(20px + env(safe-area-inset-bottom))}

/* The big green plus, floating bottom right of the app column */
.fab{position:fixed;z-index:6;right:max(18px,calc(50vw - 222px));bottom:calc(20px + env(safe-area-inset-bottom));display:grid;place-items:center;width:68px;height:68px;padding:0;border-radius:99px;border:2px solid var(--ink);background:var(--green);color:#fff;box-shadow:none;cursor:pointer;transition:transform .08s,box-shadow .08s}
.fab:active{transform:scale(.94)}

/* One ask, opened */
.hero-ask{display:flex;flex-direction:column;align-items:flex-start;gap:14px;padding:24px 22px;border-radius:22px;background:var(--tc);color:#fff;border:2px solid var(--ink);box-shadow:var(--sh)}
.kicker{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.hero-ask h1{font-size:30px}
.when{display:inline-flex;align-items:center;gap:8px;padding:6px 14px;border-radius:99px;background:rgba(255,255,255,.2);font-weight:800;font-size:15px}
.note{padding:16px 18px;border-radius:20px 20px 20px 6px;background:var(--red);color:#fff;border:2px solid var(--ink);font:400 20px/1.25 'Archivo Black',sans-serif;overflow-wrap:anywhere}
.trade{display:flex;flex-direction:column;gap:14px;padding:18px;border-radius:var(--r);background:var(--deep)}
.big{display:flex;align-items:center;gap:8px;font:400 20px 'Archivo Black',sans-serif;color:var(--link)}
.progress{height:10px;border-radius:99px;background:rgba(58,10,18,.12);overflow:hidden}
.progress i{display:block;height:100%;border-radius:inherit;background:var(--green);transition:width .3s}
.step{display:flex;align-items:center;gap:12px;min-height:54px;padding:8px 14px;border-radius:14px;background:var(--white);border:2px solid var(--line);cursor:pointer}
.step input{flex:none;width:24px;height:24px;min-height:24px;padding:0;accent-color:var(--green)}
.step.done{background:#E3F3E9;border-color:transparent}
.step.done span{text-decoration:line-through;color:var(--muted)}
.step .n{width:24px;height:24px;font-size:12px}

/* Notes and offers read like a chat: yours on the right */
.msgs{display:flex;flex-direction:column;gap:8px}
.msg{max-width:86%;align-self:flex-start;padding:10px 14px;border-radius:18px 18px 18px 6px;background:var(--white);font-size:15px;overflow-wrap:anywhere}
.msg.me{align-self:flex-end;border-radius:18px 18px 6px 18px;background:var(--ink);color:#fff}
.msg b{display:block;margin-bottom:2px;font-size:12px;color:var(--muted)}
.msg.me b{color:var(--peach)}

/* Settings rows */
.kv{display:flex;align-items:center;justify-content:space-between;gap:12px}
.kv-text{display:flex;flex-direction:column;gap:2px;min-width:0;overflow-wrap:anywhere}
.kv b{font-size:13px;color:var(--muted)}
.kv span{font-weight:700}

.err{padding:12px 16px;border-radius:14px;background:var(--ink);color:#fff;font-weight:700}
.code{padding:16px;border-radius:16px;background:var(--white);border:2px dashed var(--ink);font:400 30px 'Archivo Black',sans-serif;letter-spacing:.12em;text-align:center;user-select:all;-webkit-user-select:all;width:100%}

/* Red screens: home and welcome */
.red .logo{color:var(--peach)}
.red h1,.red .sub,.red .txt{color:var(--cream)}
.red .back{background:rgba(255,255,255,.16);color:var(--cream)}
.red .panel .lab,.red .panel .hint{color:var(--muted)}

/* Welcome */
.mark{display:inline-flex;flex:none}
.brand{display:flex;align-items:center;gap:8px}
.hero{display:flex;align-items:center;gap:0;padding:16px 0 0}
.hero .mark svg{width:min(112px,28vw);height:auto}
.heroText{display:flex;flex-direction:column;gap:6px;min-width:0;margin-left:-8px}
.word{font:400 clamp(52px,17vw,70px)/.95 'Abril Fatface',Georgia,serif;color:var(--peach)}
.star{font-size:.45em;vertical-align:top;margin-left:-3px}
.tagline{font-size:15px;font-weight:700;color:var(--cream)}
.how{display:flex;flex-direction:column;gap:14px;padding:20px;border-radius:var(--r);background:var(--ink);color:var(--cream)}
.how .sec-h{padding:0;background:none;color:var(--peach)}
.li{display:flex;align-items:flex-start;gap:12px}
.n{flex:none;display:grid;place-items:center;width:28px;height:28px;border-radius:99px;background:var(--peach);color:var(--ink);font-size:14px;font-weight:900}

.foot{display:flex;justify-content:center;align-items:center;gap:4px;margin-top:auto;padding-top:16px;white-space:nowrap;font-size:clamp(8px,2.6vw,10px);font-weight:700;color:var(--muted)}
.foot .txt{padding:0;min-height:0;font-size:inherit;text-decoration:underline}
.foot a{color:inherit}
.foot>:last-child{order:-2}
.foot>:nth-last-child(2){order:-1}
.red .foot{color:var(--cream)}

@media (prefers-reduced-motion:reduce){*{transition:none!important}}
.sec .step.done{background:rgba(255,255,255,.5);border-color:rgba(26,112,70,.25)}

/* Delete account: the one red-flag section */
.tone-danger{--bg:#FDE7E7;--ac:#9B1018}
.btn.danger{background:#9B1018;color:#fff}
.notice{padding:14px 16px;border-radius:16px;background:var(--cream);color:var(--ink);border:2px solid var(--ink);font-weight:800}

/* Profile pictures */
.hidden{display:none}
.avatar{flex:none;display:inline-grid;place-items:center;overflow:hidden;border-radius:99px;border:2px solid var(--ink);font-family:'Archivo Black',sans-serif;line-height:1;color:#fff}
.avatar img{width:100%;height:100%;object-fit:cover;display:block}
.av-a{background:#2563A8}
.av-b{background:#C2307A}
.pair{display:flex;align-self:flex-start;margin-bottom:6px;padding:0;border:0;background:none;cursor:pointer}
.pair .avatar{border-color:var(--cream);border-width:3px}
.pair .avatar+.avatar{margin-left:-14px}
.photo-edit{display:flex;align-items:center;gap:18px}
.photo-edit .col{align-items:flex-start;gap:4px}
.photo-edit .txt{align-self:flex-start;padding:0 4px}
.msgrow{display:flex;align-items:flex-end;gap:8px;max-width:92%;align-self:flex-start}
.msgrow.me{flex-direction:row-reverse;align-self:flex-end}
.msgrow .msg{max-width:none;align-self:auto}

/* The ask's header: colored card, then the sign-off tucked right under it */
.askhead{display:flex;flex-direction:column;gap:16px}
.hero-foot{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.from{display:inline-flex;align-items:center;gap:8px;font-weight:800;font-size:15px}
.from .avatar{border-color:#fff}
.signoff{display:flex;align-items:center;gap:16px;padding:18px 20px;border-radius:22px;background:var(--red);color:#fff;border:2px solid var(--ink);box-shadow:var(--sh)}
.signoff-ic{flex:none;display:grid;place-items:center;width:44px;height:44px;border-radius:99px;background:rgba(255,255,255,.18)}
.signoff-ic svg{fill:#fff}
.signoff-body{display:flex;flex-direction:column;gap:4px;min-width:0}
.signoff-lab{font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--peach)}
.signoff-t{font:400 21px/1.25 'Archivo Black',sans-serif;overflow-wrap:anywhere}

/* Get set up: numbered steps that turn into checks */
.setup-intro{margin:0;font-size:16px;font-weight:700;line-height:1.45}
.steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.sstep{display:flex;align-items:flex-start;gap:14px;padding:16px 0}
.sstep+.sstep{border-top:1.5px solid rgba(58,10,18,.15)}
.snum{flex:none;display:grid;place-items:center;width:36px;height:36px;border-radius:99px;background:var(--ink);color:#fff;font:400 16px 'Archivo Black',sans-serif}
.sstep.done .snum{background:var(--green)}
.sstep.done .t{text-decoration:line-through;text-decoration-thickness:2px;color:var(--muted)}
.sbody{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0;padding-top:6px}
.sbody .meta{font-size:14px;line-height:1.45}
.sbody .btn{margin-top:6px}

/* The celebration */
.party{position:fixed;inset:0;z-index:20;display:grid;place-items:center;padding:24px;background:rgba(58,10,18,.55);animation:fadein .2s ease-out}
.party-card{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:12px;width:min(360px,100%);padding:28px 24px 24px;border-radius:26px;background:var(--cream);border:2px solid var(--ink);text-align:center;animation:pop .45s cubic-bezier(.2,1.6,.4,1)}
.party-card h2{margin:0;font:400 30px/1.1 'Archivo Black',sans-serif;color:var(--red)}
.party-card p{margin:0 0 8px;font-size:17px;font-weight:700}
.party-emoji{font-size:64px;line-height:1;animation:wiggle .9s ease-in-out 2}
.confetti{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.confetti i{position:absolute;top:-24px;width:10px;height:16px;border-radius:3px;animation:fall linear infinite}
@keyframes fall{to{top:110%;transform:rotate(720deg) translateX(40px)}}
@keyframes pop{from{transform:scale(.6);opacity:0}to{transform:scale(1);opacity:1}}
@keyframes wiggle{0%,100%{transform:rotate(0)}25%{transform:rotate(-14deg)}75%{transform:rotate(14deg)}}
@keyframes fadein{from{opacity:0}}
@media (prefers-reduced-motion:reduce){.confetti{display:none}.party-card,.party-emoji{animation:none}}

/* Setup takeover after signing up */
.setup-page{gap:28px}
.steps.takeover{padding:8px 20px;border-radius:22px;background:#FFF0CC;border:2px solid var(--ink);color:var(--ink)}
.steps.takeover .t{font-size:18px}
.red .hint{color:var(--cream)}
.red .sec .hint{color:var(--muted)}
.center-text{justify-content:center;text-align:center}

/* Welcome: beta label, a short headline, swipeable cards, then the buttons */
.beta{display:inline-flex;align-items:center;gap:10px;align-self:center;padding:6px 14px 6px 6px;border-radius:99px;background:rgba(0,0,0,.18);color:var(--cream);font-size:13px;font-weight:700}
.beta-tag{padding:4px 10px;border-radius:99px;background:var(--cream);color:var(--red);font-size:11px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}
.hero{padding-top:0;justify-content:center}
.pitch-h{margin:0 auto;max-width:330px;font:500 18px/1.3 'DM Sans',sans-serif;text-align:center;color:var(--cream)}
.carousel-wrap{display:flex;flex-direction:column;gap:14px;margin:0 -20px}
.carousel{list-style:none;margin:0;padding:0 20px;display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding:0 20px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.carousel::-webkit-scrollbar{display:none}
.carousel:focus-visible{outline-offset:-3px}
.perk{flex:0 0 78%;scroll-snap-align:start;display:flex;flex-direction:column;gap:6px;min-height:168px;padding:20px;border-radius:22px;background:var(--tc);color:#fff;border:2px solid var(--ink)}
.perk-ic{display:grid;place-items:center;width:44px;height:44px;margin-bottom:6px;border-radius:14px;background:rgba(255,255,255,.2)}
.perk b{font:400 20px/1.15 'Archivo Black',sans-serif}
.perk>span:last-child{font-size:15px;line-height:1.4;font-weight:600;opacity:.95}
.dots{display:flex;justify-content:center;gap:4px}
.dot{width:24px;height:24px;padding:0;border:0;background:none;cursor:pointer;display:grid;place-items:center}
.dot::before{content:"";width:8px;height:8px;border-radius:99px;background:rgba(255,244,236,.45);transition:width .2s,background .2s}
.dot.on::before{width:22px;background:var(--cream)}

/* Snooze */
.snooze-pick{display:flex;flex-direction:column;gap:14px;padding-top:4px}
.snoozed{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-radius:14px;background:#2B2350;color:#fff}
.snoozed-t{display:inline-flex;align-items:center;gap:8px;font-weight:800}
.snoozed .pillbtn{flex:none;white-space:nowrap;border-color:#fff;background:transparent;color:#fff}
.sysnote{display:flex;align-items:center;justify-content:center;gap:8px;align-self:center;max-width:92%;padding:6px 12px;border-radius:99px;background:rgba(43,35,80,.1);color:#2B2350;font-size:13px;text-align:center}
.sysnote b{font-weight:800}

/* An on/off switch */
.switch-row{display:flex;align-items:center;justify-content:space-between;gap:16px;cursor:pointer}
.switch{appearance:none;-webkit-appearance:none;flex:none;position:relative;width:56px;height:32px;min-height:32px;padding:0;border-radius:99px;border:2px solid var(--ink);background:#E9D5CC;cursor:pointer;transition:background .15s}
.switch::after{content:"";position:absolute;top:2px;left:2px;width:24px;height:24px;border-radius:99px;background:#fff;border:2px solid var(--ink);box-sizing:border-box;transition:transform .15s}
.switch:checked{background:var(--green)}
.switch:checked::after{transform:translateX(24px)}
.switch:focus{box-shadow:none}
.switch-row .kv-text b{font-size:16px;color:var(--ink)}
.switch-row .kv-text span{font-size:14px;color:var(--muted);line-height:1.4}

/* Talk it out */
.talking{display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:14px;background:#7B3FA6;color:#fff;font-weight:800}

/* New version banner */
.update{position:fixed;z-index:15;left:max(16px,calc(50vw - 224px));right:max(100px,calc(50vw - 140px));bottom:calc(24px + env(safe-area-inset-bottom));display:flex;align-items:center;gap:12px;padding:8px 8px 8px 16px;border-radius:99px;background:var(--ink);color:#fff;font-weight:800;font-size:14px;line-height:1.25;animation:rise .35s ease-out}
@keyframes rise{from{transform:translateY(20px);opacity:0}}
.update span{flex:1}
.update-btn{flex:none;min-height:44px;padding:0 20px;border:0;border-radius:99px;background:var(--green);color:#fff;font:900 15px 'DM Sans',sans-serif;cursor:pointer}

/* The conversation on an ask */
.empty-thread{margin:0;padding:14px;border-radius:14px;border:2px dashed rgba(37,99,168,.3);color:var(--muted);font-size:15px;text-align:center}
.chip.quick{align-self:flex-start;padding:6px 16px}
.msg.offer{background:#FFE2D0;border:2px solid #F2B28C}
.msg.offer.me{background:var(--ink);border-color:var(--ink)}
.msg.offer b{display:flex;align-items:center;gap:6px}
.msg .deal{margin-top:10px;width:100%}
.dealline{display:flex;align-items:center;justify-content:center;gap:8px;align-self:center;padding:8px 16px;border-radius:99px;background:var(--green);color:#fff;font:400 16px 'Archivo Black',sans-serif}
.sysnote .ic{flex:none}

/* Reply bar pinned to the bottom of an ask */
.page.has-reply{padding-bottom:calc(128px + env(safe-area-inset-bottom))}
.replybar{position:fixed;z-index:6;left:0;right:0;bottom:0;display:flex;flex-direction:column;gap:8px;width:100%;max-width:480px;margin:0 auto;padding:10px max(16px,env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));background:var(--white);border-top:2px solid var(--ink)}
.replybar input{min-height:48px}
.replybar .btn.sm{width:52px;padding:0}
.rkinds{display:flex;gap:6px}
.rk{min-height:32px;padding:0 14px;border-radius:99px;border:2px solid var(--line);background:none;color:var(--muted);font:800 13px 'DM Sans',sans-serif;cursor:pointer}
.rk.on{border-color:var(--ink);background:var(--ink);color:#fff}

/* Cards, take two: a small top row, then the title full width, cut off after three lines */
.card{flex-direction:column;align-items:stretch;gap:8px;padding:14px 16px 16px;background:var(--cream)}
.card-top{display:flex;align-items:center;gap:10px}
.card-top .badge{width:32px;height:32px;border-radius:10px}
.card-kind{flex:1;min-width:0;font-size:13px;font-weight:800;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.card .t{font-size:18px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.card .meta{font-size:14px}

/* Home: asks sit right on the red, no box around them */
.plate{display:flex;flex-direction:column;gap:14px}
.plate-h{margin:0;font:800 13px/1.2 'DM Sans',sans-serif;letter-spacing:.08em;text-transform:uppercase;color:var(--peach)}
.plate-empty{margin:0;padding:18px;border-radius:18px;border:2px dashed rgba(255,244,236,.45);color:var(--cream);font-weight:700;text-align:center}
.red .card .meta{color:var(--muted)}

/* On Home and The list the footer shares the bottom row with the green +, text to its left */
.topnav+.page .foot{justify-content:flex-start;flex-wrap:wrap;row-gap:2px;min-height:68px;padding-right:92px;font-size:11px;line-height:1.5}
.topnav+.page .foot>:nth-child(4){display:none}
.topnav+.page .foot>:nth-child(5){flex-basis:100%}
.sbody .txt{align-self:flex-start;padding:0;min-height:36px;margin-top:2px}
.hide-setup{align-self:center;margin-top:-4px;color:var(--muted)}
.red .sec .txt{color:var(--link)}
.red .sec .txt.hide-setup{color:var(--muted)}

/* Pull to refresh: a peach that drops in from the top and spins while it loads */
.ptr{position:fixed;z-index:30;left:50%;top:calc(env(safe-area-inset-top) + 24px);display:grid;place-items:center;width:48px;height:48px;border-radius:99px;background:var(--cream);border:2px solid var(--ink);opacity:0;transform:translate(-50%,0);transition:transform .2s ease-out,opacity .2s;pointer-events:none}
.ptr.spin{opacity:1}
.ptr.spin .mark{animation:ptrspin .8s linear infinite}
@keyframes ptrspin{to{transform:rotate(360deg)}}
.ptr.drag{transition:none}

/* The peach around the app */
.peach{display:inline-flex;flex:none}
.peach.big{align-self:center}
.peach.peek{align-self:flex-start;margin-bottom:-12px}
.err{display:flex;align-items:center;gap:12px}
.empty{display:flex;flex-direction:column;align-items:center;gap:10px}
.plate-empty{display:flex;align-items:center;gap:14px;text-align:left}
.empty-thread{display:flex;align-items:center;gap:12px;text-align:left}
.thanks{display:flex;flex-direction:column;align-items:center;gap:10px;padding:28px 20px;border-radius:22px;background:var(--cream);border:2px solid var(--ink);text-align:center}
.thanks h2{margin:0;font:400 26px 'Archivo Black',sans-serif;color:var(--red)}
.thanks p{margin:0;font-weight:700;color:var(--muted)}

/* What a porfa is */
.whatis{display:block;margin:-16px 0 0;font-size:15px;font-weight:600;color:var(--cream);text-align:center}
.whatis b{font-weight:900;color:var(--peach)}
.whatis.dark{display:flex;align-items:center;gap:8px;justify-content:flex-start;margin:-8px 0 0;color:var(--muted);text-align:left}
.whatis.dark b{color:var(--red)}

/* Checked off by the one who asked */
.closed{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-radius:14px;background:#DDF1E5;color:#14573A;font-weight:800}

/* The private-beta gate */
.gate{justify-content:center}
.gate-box{display:flex;flex-direction:column;align-items:center;gap:14px;width:100%;max-width:360px;margin:0 auto;text-align:center}
.gate-word{font-size:64px;margin-top:-6px}
.gate-beta{align-self:center}
.gate-sub{margin:6px 0 0;font-size:20px;font-weight:800;color:var(--cream)}
.gate-in{text-align:center;font-size:20px;letter-spacing:.08em;border-color:var(--ink)}
.gate-nope{margin:0;font-weight:800;color:var(--cream)}
.gate .btn{margin-top:4px}
.shake{animation:shake .45s ease-in-out}
@keyframes shake{20%,60%{transform:translateX(-10px)}40%,80%{transform:translateX(10px)}}
@media (prefers-reduced-motion:reduce){.shake{animation:none}}

/* Setup, one screen at a time */
.progress-dots{display:flex;gap:6px}
.progress-dots i{width:10px;height:10px;border-radius:99px;background:rgba(255,244,236,.35)}
.progress-dots i.on{background:var(--cream)}
.why{padding:16px 18px;border-radius:18px;background:rgba(0,0,0,.18);color:var(--cream);font-size:16px;line-height:1.45}
.why b{color:var(--peach)}
.howtos{list-style:none;margin:0;padding:8px 18px;border-radius:22px;background:var(--cream);border:2px solid var(--ink);color:var(--ink)}
.howto{display:flex;align-items:center;gap:14px;padding:14px 0;font-weight:700;font-size:16px;line-height:1.35}
.howto+.howto{border-top:1.5px solid var(--line)}
.howto>span:nth-child(2){flex:1}
.how-ic{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#E4EEFA;color:#1A5BD6;font-size:24px;font-weight:900}
.notif-card{display:flex;flex-direction:column;align-items:center;gap:12px;padding:28px 22px;border-radius:24px;background:var(--cream);border:2px solid var(--ink);text-align:center;color:var(--ink)}
.notif-card h2{margin:0;font:400 24px/1.2 'Archivo Black',sans-serif}
.notif-card p{margin:0;font-size:17px;font-weight:700;color:var(--muted)}
.notif-bell{display:grid;place-items:center;width:72px;height:72px;border-radius:99px;background:var(--green);color:#fff;border:2px solid var(--ink)}
/* Welcome: two clear choices */
.choose-h{font-size:28px;color:var(--cream)}
.choices{display:flex;flex-direction:column;gap:14px}
.choice{display:flex;align-items:center;gap:14px;width:100%;padding:18px 16px;border-radius:20px;background:var(--cream);color:var(--ink);border:2px solid var(--ink);text-align:left;font:inherit;cursor:pointer}
.choice .badge{width:48px;height:48px;border-radius:14px}
.choice .t{font-size:19px}
.choice .meta{font-size:14px}
.gate-pitch{display:flex;flex-direction:column;gap:14px;margin-top:20px}
.chev{flex:none;color:var(--muted)}

/* Date and time, side by side */
.dt{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:10px}
.dt label{position:relative;display:block}
.dt-ic{position:absolute;left:12px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:var(--tc,#2563A8);color:#fff;pointer-events:none}
.dt-date input{padding-left:52px}
.dt input{min-width:0;width:100%;-webkit-appearance:none;appearance:none}

/* The first-porfa tour: a spotlight on one thing, and a bubble that says what to do */
.coach-target{position:relative;z-index:21;box-shadow:0 0 0 4px var(--cream),0 0 0 9999px rgba(58,10,18,.6)!important;border-radius:18px}
.fab.coach-target{position:fixed;border-radius:99px}
.coach{position:fixed;z-index:22;left:50%;top:-500px;transform:translateX(-50%);width:min(420px,calc(100% - 32px));display:flex;flex-direction:column;gap:12px;padding:16px;border-radius:20px;background:var(--cream);border:2px solid var(--ink);opacity:0;transition:opacity .2s}
.coach.show{opacity:1}
.coach-row{display:flex;align-items:center;gap:12px}
.coach-row p{margin:0;font-weight:800;font-size:16px;line-height:1.35;color:var(--ink)}
.coach-btns{display:flex;align-items:center;justify-content:space-between}
.coach-btns .txt{color:var(--muted)}
.dt-date input::-webkit-calendar-picker-indicator{position:absolute;inset:0;width:auto;height:auto;opacity:0;cursor:pointer}

/* Gate, take two: everything centered on the screen, the beta message front and center */
.page.gate{justify-content:flex-start}
.gate .gate-box{margin:auto;gap:16px}
.gate .foot{margin-top:24px}
.gate-word{font-size:58px;margin-top:-10px}
.gate-beta{display:flex;flex-direction:column;align-items:center;gap:6px;width:100%;padding:18px 16px;border-radius:22px;background:rgba(0,0,0,.2);color:var(--cream)}
.gate-beta .beta-tag{font-size:14px;padding:6px 14px;letter-spacing:.14em}
.gate-beta strong{font:400 30px/1.1 'Archivo Black',sans-serif;color:#fff}
.gate-beta span:last-child{font-size:17px;font-weight:800;color:var(--peach)}
.gate-sub{margin-top:4px}
.gate-beta{gap:2px;padding:16px 16px 14px}
.gate-beta .beta-tag{margin-bottom:8px}
.gate-beta strong{line-height:1}
.gate-beta span:last-child{line-height:1.2}

/* More than one partner */
.switcher{display:flex;gap:8px;overflow-x:auto;margin:-8px -20px 0;padding:0 20px 4px;scrollbar-width:none}
.switcher::-webkit-scrollbar{display:none}
.sw{position:relative;flex:none;display:flex;align-items:center;gap:8px;min-height:46px;padding:5px 14px 5px 6px;border-radius:99px;border:2px solid transparent;background:rgba(0,0,0,.18);color:var(--cream);font-weight:800;font-size:14px;cursor:pointer}
.sw.on{background:var(--cream);color:var(--ink);border-color:var(--ink)}
.sw .avatar{border-width:2px}
.sw-dot{position:absolute;top:-4px;right:-4px;display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:99px;background:var(--green);color:#fff;font-size:11px;font-weight:900;border:2px solid var(--cream)}
.people{display:flex;flex-direction:column;gap:8px}
.person{display:flex;align-items:center;gap:12px;width:100%;padding:8px 12px 8px 8px;border-radius:16px;border:2px solid var(--line);background:var(--white);color:var(--ink);font:inherit;text-align:left;cursor:pointer}
.person.on{border-color:var(--ink)}
.person .t{flex:1;font-size:16px}

/* Relationship style */
.style-tile{min-height:120px;gap:4px}
.style-emoji{font-size:30px;line-height:1}
.style-tile b{font-size:15px}
.style-line{font-size:13px;font-weight:600;opacity:.85}
.style-err{color:var(--link);font-weight:800}

/* Foldable sections: the header row is the button */
.sec-head{display:flex;align-items:center;gap:10px;width:100%;margin:-4px 0;padding:4px 0;border:0;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}
.sec-head .sec-h{margin:0;flex:none}
.sec-sum{flex:1;min-width:0;font-size:14px;font-weight:800;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:right}
.sec-chev{flex:none;display:grid;place-items:center;color:var(--muted);transform:rotate(90deg);transition:transform .2s}
.sec.folded .sec-chev{transform:rotate(0deg)}
.sec.folded{padding-bottom:16px}

/* Details, repeat and the mic tip */
.details-in{min-height:96px}
.hint.mic{margin-top:-8px;font-size:13px}
.repeat-chips{display:flex;flex-wrap:wrap;gap:8px}
.repeat-chips .chip{min-height:40px;padding:6px 14px;border-radius:99px;font-size:13px}
.hero-details{margin:-4px 0 0;font-size:16px;line-height:1.45;font-weight:600;opacity:.95;white-space:pre-wrap;overflow-wrap:anywhere}

/* The little things */
.pair{display:flex;align-self:flex-start;margin-bottom:6px}
.pair-btn{padding:0;border:0;background:none;cursor:pointer;border-radius:99px}
.pair-btn+.pair-btn{margin-left:-14px}
.little-link{display:inline-flex;align-items:center;gap:6px;align-self:flex-start;margin-top:4px;padding:8px 14px 8px 12px;border:0;border-radius:99px;background:rgba(0,0,0,.18);color:var(--cream);font:800 14px 'DM Sans',sans-serif;cursor:pointer}
.littles{display:flex;flex-direction:column;gap:10px}
.little{display:flex;align-items:center;gap:14px;padding:14px;border-radius:18px;background:var(--white);border:2px solid var(--ink)}
.little-ic{flex:none;display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:var(--peach2);font-size:24px}
.little-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.little-body b{font-size:13px;color:var(--muted);font-weight:800}
.little-body span{font-size:17px;font-weight:700;overflow-wrap:anywhere}
.little-chips{display:flex;flex-wrap:wrap;gap:8px}
.little-chips .chip{min-height:38px;padding:4px 12px;border-radius:99px;font-size:13px}

/* The tour's finale */
.finale{gap:10px}
.finale-next{width:100%;margin:6px 0 6px;padding:14px 16px;border-radius:16px;background:var(--peach2);text-align:left}
.finale-next b{display:block;margin-bottom:6px;font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.finale-next ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.finale-next li{display:flex;gap:10px;font-size:15px;font-weight:700;color:var(--ink)}

/* Links */
.link-card{display:flex;align-items:center;gap:12px;width:100%;padding:12px 14px;border-radius:16px;background:rgba(255,255,255,.95);color:var(--ink);text-decoration:none;border:2px solid var(--ink)}
.link-ic{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--peach2);font-size:20px}
.link-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.link-body b{font-size:16px;font-weight:900}
.link-body span{font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.link-open{flex:none;padding:8px 12px;border-radius:99px;background:var(--green);color:#fff;font-weight:900;font-size:13px}
.inline-link{font-weight:800;text-decoration:underline;color:inherit;word-break:break-all}
.little-when{font-size:14px!important;font-weight:800!important;color:var(--red)}
.little .dt-date,.sec .dt-date{position:relative;display:block}
