/* Casa Junta styles (moved out of index.html on 1 Dec 2026). */
@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/inter-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/inter-latin-500-normal.woff2) format("woff2")}
@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/inter-latin-600-normal.woff2) format("woff2")}
@font-face{font-family:Outfit;font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/outfit-latin-500-normal.woff2) format("woff2")}
@font-face{font-family:Outfit;font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/outfit-latin-700-normal.woff2) format("woff2")}
@font-face{font-family:Outfit;font-style:normal;font-weight:800;font-display:swap;src:url(/assets/fonts/outfit-latin-800-normal.woff2) format("woff2")}
/* VOICE: warm, practical family app, Latin American, never corporate
   IDEA: the fridge door of a busy LatAm home, turned into one shared phone app
   PICTURE: the working app itself, in a phone frame, opened mid-week
   COLOUR and TYPE: indigo añil dominant, marigold support, rosa mexicano accent; Outfit + Inter
   LAYOUT: phone centered with a short legend beside it on wide screens; full screen on phones */
:root{color-scheme:light dark;--rosaT:light-dark(#b0005f,#ff8cc4);--bg:light-dark(#eef0f8,#0e1226);--app:light-dark(#ffffff,#151a33);--card:light-dark(#f4f5fb,#1d2342);--ink:light-dark(#141834,#eef0ff);--mute:light-dark(#5b6080,#a9aecb);--line:light-dark(#e2e4f0,#2a3157);--ind:#2140a8;--ind2:light-dark(#2140a8,#8fa3ff);--gold:#f4a300;--rosa:#e4007c;--ok:light-dark(#08795a,#4fd1a5)}
:root[data-theme=light]{color-scheme:light}:root[data-theme=dark]{color-scheme:dark}
*{box-sizing:border-box;min-width:0}
body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.5 Inter,system-ui,sans-serif;overflow-x:clip}
h1,h2,h3,h4{font-family:Outfit,system-ui,sans-serif;margin:0;line-height:1.15}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer}
:focus-visible{outline:3px solid light-dark(#2140a8,#f4a300);outline-offset:2px}.top :focus-visible{outline-color:#f4a300}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.wrap{display:flex;gap:48px;justify-content:center;align-items:flex-start;padding:32px 16px}
.legend{max-width:340px;padding-top:40px}
.legend h1{font-size:44px;color:var(--ind2);font-weight:800}
.legend p,.legend ul{color:var(--mute)}
.legend ul{padding-left:18px;margin:0}
.phone{width:400px;height:840px;max-height:calc(100vh - 64px);min-height:640px;background:var(--app);border-radius:36px;box-shadow:0 30px 80px -20px rgba(20,24,80,.35),0 0 0 10px light-dark(#141834,#05070f);display:flex;flex-direction:column;overflow:hidden;position:relative}
@media(max-width:860px){.legend{display:none}.wrap{padding:0}.phone{width:100%;height:100dvh;max-height:none;min-height:0;border-radius:0;box-shadow:none}}
header.top{background:var(--ind);color:#fff;padding:16px 16px 14px;position:relative;overflow:hidden;flex:none}
header.top:after{content:"";position:absolute;right:-40px;bottom:-70px;width:150px;height:150px;border-radius:50%;background:var(--gold)}
header.top:before{content:"";position:absolute;right:70px;bottom:-30px;width:56px;height:56px;border-radius:50%;background:var(--rosa)}
.brand{display:flex;align-items:center;gap:6px;position:relative;z-index:1}
.brand b{font-family:Outfit;font-size:20px;font-weight:800;flex:1}.bm{display:flex;align-items:center;gap:8px;letter-spacing:-.02em;text-transform:lowercase}.bm .logo{width:28px;height:28px}.bm i{font-style:normal;color:#ff6fb5}
.hb{background:rgba(255,255,255,.16);border:0;border-radius:12px;width:40px;height:40px;display:grid;place-items:center;color:#fff;position:relative}
.hb svg{width:20px;height:20px}
.badge{position:absolute;top:-3px;right:-3px;background:var(--rosa);color:#fff;font-size:11px;font-weight:700;min-width:18px;height:18px;border-radius:9px;display:grid;place-items:center;padding:0 4px}
.brand select{background:rgba(255,255,255,.16);border:0;border-radius:12px;padding:0 6px;height:40px;color:#fff;font-size:14px;max-width:86px}
.brand select option{color:#141834}
.top h2{font-size:26px;margin-top:10px;position:relative;z-index:1;max-width:80%}
.top small{opacity:.88;position:relative;z-index:1}
main{flex:1;overflow-y:auto;padding:16px 16px 96px}
nav.tabs{position:absolute;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(5,1fr);background:var(--app);border-top:1px solid var(--line);padding:6px 4px calc(6px + env(safe-area-inset-bottom));z-index:3}
nav.tabs button{background:none;border:0;display:flex;flex-direction:column;align-items:center;gap:2px;font-size:11px;color:var(--mute);padding:6px 0;min-height:48px}
nav.tabs button svg{width:22px;height:22px}
nav.tabs button.on{color:var(--ind2);font-weight:600}
.card{background:var(--card);border-radius:18px;padding:14px;margin-bottom:12px}
.card>h3{font-size:16px;margin-bottom:8px;display:flex;justify-content:space-between;align-items:center;gap:8px}
.row{display:flex;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid var(--line);width:100%;background:none;border-left:0;border-right:0;border-top:0;text-align:start}
.row:last-child{border-bottom:0}
.grow{flex:1}
.av{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;color:#fff;font-weight:700;font-size:13px;flex:none}
.time{font-family:Outfit;font-weight:700;width:54px;flex:none;white-space:nowrap}
.mute{color:var(--mute);font-size:13px}
.pill{font-size:11px;font-weight:600;padding:2px 8px;border-radius:99px;background:light-dark(#fff1d6,#3a2c08);color:light-dark(#7a4f00,#ffcf66);white-space:nowrap}
.pill.r{background:light-dark(#ffe3f1,#3d0c25);color:light-dark(#a1004f,#ff8ac6)}
.pill.g{background:light-dark(#dcf5ec,#0b2f24);color:light-dark(#055c43,#6be3bd)}
.pill.b{background:light-dark(#e3e9ff,#1b2556);color:light-dark(#1c3592,#aebcff)}
.btn{background:var(--ind);color:#fff;border:0;border-radius:12px;padding:10px 14px;font-weight:600;min-height:44px;text-decoration:none;display:inline-grid;place-items:center;text-align:center}
.btn.alt{background:var(--card);color:var(--ink);border:1px solid var(--line)}
.btn.wa{background:#167a42}
.btn.warn{background:var(--rosa)}
.btn.sm{min-height:36px;padding:6px 10px;font-size:13px}
.btn.full{width:100%}
.btns{display:flex;gap:8px;flex-wrap:wrap}.btns>*{flex:1}
.add{display:flex;gap:8px;margin-top:8px;flex-wrap:wrap}
input,select,textarea{border:1px solid var(--line);background:var(--app);border-radius:12px;padding:9px 10px;font-size:16px;min-height:44px;width:100%}
.add>input{flex:1 1 140px}.add>select{flex:0 1 110px}.add>.btn{flex:none}
.chk{width:26px;height:26px;border-radius:8px;border:2px solid var(--ind2);background:none;flex:none;display:grid;place-items:center;color:#fff;padding:0}
.chk.on{background:var(--ind2);color:var(--app)}
.done{text-decoration:line-through;color:var(--mute)}
.seg{display:flex;background:var(--card);border-radius:12px;padding:4px;margin-bottom:12px}
.seg button{flex:1;border:0;background:none;border-radius:9px;padding:8px;font-weight:600;color:var(--mute);min-height:40px}
.seg button.on{background:var(--app);color:var(--ink);box-shadow:0 1px 3px rgba(0,0,0,.12)}
.chips{display:flex;gap:6px;overflow-x:auto;padding-bottom:6px;margin-bottom:8px;scrollbar-width:none}
.chip{flex:none;border:1px solid var(--line);background:var(--app);border-radius:99px;padding:6px 12px;font-size:13px;font-weight:600;min-height:36px;display:flex;align-items:center;gap:6px;white-space:nowrap}
.chip.on{background:var(--ind);color:#fff;border-color:var(--ind)}
.chip.off{opacity:.45}
.chip i{width:10px;height:10px;border-radius:50%;display:inline-block}
.cal{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;text-align:center}
.cal .h{font-size:11px;color:var(--mute);font-weight:600}
.cal button{border:0;background:none;border-radius:10px;min-height:42px;padding:4px 0;font-weight:500;display:flex;flex-direction:column;align-items:center;gap:2px}
.cal button.out{opacity:.3}.cal button.today{color:var(--rosaT);font-weight:800}
.cal button.sel{background:var(--ind);color:#fff}
.ds{display:flex;gap:2px;height:6px}.ds i{width:5px;height:5px;border-radius:50%}
.calhead{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.calhead button{border:0;background:var(--app);border-radius:10px;width:40px;height:40px;font-size:18px}
.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.tile{background:var(--card);border:0;border-radius:18px;padding:14px 6px;display:flex;flex-direction:column;align-items:center;gap:6px;font-weight:600;font-size:13px;position:relative;min-height:92px;text-align:center}
.tile .ic{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;color:#fff;font-family:Outfit;font-weight:800;font-size:18px}
.tile .pl{position:absolute;top:6px;right:6px;font-size:9px}
.bar{height:8px;border-radius:9px;background:var(--line);overflow:hidden;margin-top:6px}.bar i{display:block;height:100%;border-radius:9px}
.big{font-family:Outfit;font-size:28px;font-weight:800;line-height:1.1}
.stats{display:flex;gap:14px;flex-wrap:wrap}
.back{border:0;background:none;color:var(--ind2);font-weight:600;padding:0 0 10px;min-height:36px}
.sheet{position:absolute;inset:0;background:rgba(10,12,30,.5);display:none;align-items:flex-end;z-index:5}
.sheet.open{display:flex}
.sheet .in{background:var(--app);width:100%;border-radius:24px 24px 0 0;padding:18px 16px 24px;max-height:88%;overflow:auto}
.sheet h3{font-size:20px;margin-bottom:12px}
.f{display:grid;gap:10px}.f label{font-size:13px;color:var(--mute);display:grid;gap:4px}
.f .inline{display:flex;align-items:center;gap:8px;color:var(--ink);font-size:15px}
.f .inline input{width:22px;min-height:22px;height:22px}
input[type=checkbox]:not(.sw){width:22px;height:22px;min-height:22px;flex:none;padding:0;accent-color:var(--ind)}
.cand .inline{display:flex;align-items:center;gap:8px}
.two{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.toast{position:absolute;left:16px;right:16px;bottom:84px;background:var(--ink);color:var(--app);padding:10px 12px 10px 14px;border-radius:14px;font-weight:500;transform:translateY(20px);opacity:0;transition:.25s;pointer-events:none;z-index:6;display:flex;align-items:center;gap:8px;min-height:48px}
.sheet.open~.toast{top:16px;bottom:auto;transform:translateY(-20px)}.toast.on{transform:none;opacity:1}.toast.on.act{pointer-events:auto}
.toast span{flex:1}.toast button{background:none;border:0;color:light-dark(#f4a300,#2140a8);font-weight:700;min-height:36px}
@media(prefers-reduced-motion:reduce){.toast{transition:none}}
.map{position:relative;height:240px;border-radius:18px;overflow:hidden;background:light-dark(#e6efe4,#16261d);color:var(--ink)}
.map svg{position:absolute;inset:0;width:100%;height:100%}
.plan{border:2px solid var(--line);border-radius:18px;padding:14px;margin-bottom:10px}
.plan.best{border-color:var(--gold)}
.plan h4{display:flex;justify-content:space-between;align-items:baseline;gap:8px;font-size:18px}
.pr{font-family:Outfit;font-size:22px;font-weight:800;white-space:nowrap}
.post{background:var(--card);border-radius:18px;padding:12px;margin-bottom:10px}
.post p{margin:8px 0}
.reacts button{border:1px solid var(--line);background:var(--app);border-radius:99px;padding:4px 10px;font-size:13px;margin-right:6px;min-height:34px}
.note{font-size:12px;color:var(--mute);text-align:center;margin:8px 0 0}
.aisle{font-size:12px;font-weight:700;color:var(--mute);margin:10px 0 0}
.cand{border:1px solid var(--line);border-radius:14px;padding:10px;margin-top:10px;display:grid;gap:8px;background:var(--app)}
.sw{appearance:none;width:46px;height:28px;min-height:28px;border-radius:14px;background:var(--line);position:relative;flex:none;padding:0;border:0}
.sw:checked{background:var(--ok)}
.sw:after{content:"";position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:#fff;transition:.2s}
.sw:checked:after{left:21px}
.sos{background:light-dark(#fff0f6,#2a0c1c)}
.num{font-family:Outfit;font-size:22px;font-weight:800;color:var(--rosaT)}
textarea{min-height:90px}
.easy main{font-size:18px}.easy .btn{min-height:52px;font-size:17px}.easy .time{font-size:18px}.easy .chk{width:32px;height:32px}.easy .mute{font-size:15px}
.phone:has(.toast.on) .fab{bottom:140px}.time{width:auto;min-width:54px}
body.hc{--mute:light-dark(#262b48,#e0e3f5);--line:light-dark(#8c93b8,#7a83b8)}body.hc .card,body.hc .tile{outline:1px solid var(--line)}body.hc .pill{outline:1px solid currentColor}
body.ro #fab,body.ro main form{display:none}
.fab{transition:bottom .2s;position:absolute;right:16px;bottom:80px;width:56px;height:56px;border-radius:50%;border:0;background:var(--rosa);color:#fff;font-size:30px;font-weight:600;box-shadow:0 8px 20px -6px rgba(228,0,124,.6);z-index:4;display:grid;place-items:center;line-height:1}
main{padding-bottom:150px}
.res{display:block;width:100%;text-align:start;background:none;border:0;border-bottom:1px solid var(--line);padding:10px 2px;min-height:44px}
.grow,.post p,.card p,.card h3,.card h4,.row b,.big,.res,#title,#sub,.mute,.legend p{overflow-wrap:anywhere}.pill{max-width:100%;overflow:hidden;text-overflow:ellipsis}.chip{max-width:260px;overflow:hidden;text-overflow:ellipsis}
button[aria-busy=true]{opacity:.6;cursor:progress}
pre{overflow-wrap:anywhere}
.verr{flex-basis:100%;width:100%;margin:6px 0 0;color:light-dark(#b3261e,#ff8a80);font-size:13px;font-weight:600}
[aria-invalid=true]{outline:2px solid light-dark(#b3261e,#ff8a80)!important;outline-offset:1px}

.logo{--lgA:var(--ind2);--lgB:var(--rosa);--lgD:var(--app);width:56px;height:56px;flex:none}.logo.rev{--lgA:#fff;--lgB:#ff6fb5;--lgD:var(--ind)}
.hero{display:flex;align-items:center;gap:12px;margin:0 0 10px}.hero small{display:block;color:var(--mute);font-size:13px;margin-top:2px}
.wm{font-family:Outfit;font-size:26px;font-weight:800;letter-spacing:-.02em;color:var(--ind2);line-height:1.05}.wm span{color:var(--rosaT)}
.dots{display:flex;gap:6px;margin:4px 0 10px}.dots i{width:22px;height:5px;border-radius:9px;background:var(--line)}.dots i.on{background:var(--rosa)}
.vp{list-style:none;padding:0;margin:0 0 12px;display:grid;gap:8px}.vp li{display:flex;gap:10px;align-items:flex-start;background:var(--card);border-radius:14px;padding:10px 12px;font-size:14px}
.prio{display:grid;grid-template-columns:1fr 1fr;gap:8px}.pchk{display:flex;align-items:center;gap:8px;border:1.5px solid var(--line);border-radius:14px;padding:10px;cursor:pointer;font-weight:600;font-size:14px;background:var(--card);min-height:52px}.pchk:has(input:checked){border-color:var(--ind2);background:light-dark(#eef2ff,#1b2556)}
.backbar{display:flex;align-items:center;justify-content:space-between;gap:8px}.star{border:0;background:none;font-size:22px;line-height:1;color:var(--mute);min-width:44px;min-height:40px;cursor:pointer;padding:0 0 10px}.star.on{color:var(--gold)}
.attn{display:flex;gap:6px;overflow-x:auto;padding-bottom:4px;margin-bottom:10px;scrollbar-width:none}.chip.at{gap:6px;border-color:light-dark(#f3c4dc,#5a2141);background:light-dark(#fff0f7,#2a1424)}.chip.okc{border-color:light-dark(#bfe6d6,#1f4d3d);background:light-dark(#eefaf4,#10261e);color:var(--ok)}
.card[data-fold]>h3{justify-content:flex-start;cursor:pointer}.card[data-fold]>h3>.push{margin-inline-start:auto}
.foldb{border:0;background:none;color:var(--mute);font-size:15px;min-width:32px;min-height:32px;cursor:pointer;transition:transform .2s;flex:none}
.card.folded>:not(h3){display:none!important}.card.folded>h3{margin-bottom:0}.card.folded .foldb{transform:rotate(-90deg)}
.card.flash{animation:cjflash 1.4s}@keyframes cjflash{0%,60%{box-shadow:0 0 0 3px var(--rosa)}100%{box-shadow:0 0 0 0 transparent}}
.guide{position:sticky;top:0;z-index:3;background:var(--app);border:2px solid var(--ind2);border-radius:18px;padding:12px;margin:0 0 12px;box-shadow:0 6px 18px rgba(20,24,52,.14)}.gtop{display:flex;align-items:center;gap:8px}.gtop b{flex:1}.gx{border:0;background:none;font-size:16px;color:var(--mute);min-width:36px;min-height:36px;cursor:pointer}.gstep{margin:8px 0;font-weight:600}
.tip{display:flex;align-items:center;gap:10px;background:light-dark(#fff6e0,#2c2208);border-radius:14px;padding:10px 12px;margin-bottom:12px;font-size:14px}
.empty{color:var(--mute);margin:4px 0 6px;font-size:14px}.setsec{scroll-margin-top:8px}
.x{position:sticky;top:0;float:right;margin:-8px -6px 0 8px;width:36px;height:36px;border-radius:50%;border:0;background:var(--card);color:var(--ink);font-size:15px;cursor:pointer;z-index:2}
.row.new{background:light-dark(#fff0f7,#2a1424);border-radius:10px;padding-inline:6px}
.top h2{transition:font-size .2s,margin .2s}body.compact .top h2{font-size:18px;margin-top:4px}body.compact .top small{display:none}
@media (prefers-reduced-motion:reduce){.card.flash{animation:none;outline:3px solid var(--rosa)}.top h2,.foldb{transition:none}}
.tlink{color:var(--ind2);font-weight:600}.btn:has(input:focus-visible){outline:3px solid light-dark(#2140a8,#f4a300);outline-offset:2px}
@media print{body.printing *{visibility:hidden!important}body.printing #sheet,body.printing #sheet .guide-print,body.printing #sheet .guide-print *{visibility:visible!important}body.printing #sheet{position:fixed!important;inset:0!important;display:block!important;background:#fff!important}body.printing #sheetIn{box-shadow:none!important;max-width:none!important;transform:none!important;background:#fff!important;color:#000!important}}
.ic.ic-emoji{font-size:24px;line-height:1}
.ev-meta .pill{margin-inline-end:4px}
.qr{background:#fff;border-radius:12px;padding:8px;width:min(260px,100%);margin:8px auto}.qr svg{display:block;width:100%;height:auto}

.btns.g2{display:grid;grid-template-columns:1fr 1fr}
.btn .sub2{display:block;font-size:12px;font-weight:500;opacity:.8}
.over{color:var(--rosaT)}
