.auth-site{display:flex;flex-direction:column;min-height:100dvh}.auth-site .auth-wrap{flex:1;min-height:0}.auth-wrap{min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:calc(env(safe-area-inset-top,0px) + 20px) 16px calc(var(--safe-b) + 20px)}.auth-card{width:100%;max-width:420px;padding:22px 18px;display:flex;flex-direction:column;gap:14px}.auth-card h1{font-size:1.35rem}.auth-card p{margin:0}.auth-brand{display:flex;align-items:center;gap:12px;font-weight:700;font-size:1.05rem}.auth-brand img{max-height:52px;height:auto;width:216px;max-width:100%;border-radius:0}.native-app .auth-site>.auth-brand{align-self:center;width:calc(100% - 32px);max-width:420px;padding-top:calc(var(--safe-t) + 12px)}.native-app .auth-site>.auth-wrap{justify-content:flex-start;padding-top:16px}.auth-card{min-width:0;overflow-wrap:anywhere}.oauth-language{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0;font-size:.85rem}.oauth-language select{width:auto;max-width:100%;min-height:44px}.auth-foot{max-width:420px;text-align:center;margin:0}.auth-notice{margin:0;padding:10px 12px;border-radius:12px;font-weight:500}.auth-notice.error{background:var(--red-soft);color:var(--red)}.auth-notice.ok{background:var(--green-soft);color:var(--green)}.auth-notice.info{background:var(--blue-soft);color:var(--blue)}.auth-busy{display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center;padding:16px}.social-signin,.social-buttons{display:flex;flex-direction:column;gap:10px}.social-buttons .social-button{width:100%;min-height:52px;display:grid;grid-template-columns:22px 1fr;gap:2px 12px;padding:8px 16px;white-space:normal;text-align:left;background:var(--surface);color:var(--text)}.social-button svg{width:22px;height:22px;grid-row:1 / 3;align-self:center}.social-button span{font-weight:600}.social-button small{grid-column:2;font-size:.72rem;font-weight:400}.social-button:disabled{opacity:.7;cursor:not-allowed}.auth-divider{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:.78rem;margin:8px 0 2px;text-align:center}.auth-divider:before,.auth-divider:after{content:"";height:1px;flex:1;background:var(--border)}.choice-btn{white-space:normal;text-align:center;padding:10px 14px;line-height:1.3}.account-grid{display:grid;grid-template-columns:auto 1fr;gap:4px 12px;font-size:.92rem}.account-grid dt{color:var(--muted)}.account-grid dd{margin:0;overflow-wrap:anywhere}.sync-err{color:var(--red)}.hh-share{display:flex;flex-direction:column;gap:10px}.hh-share p{margin:0}.hh-members,.hh-pending ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.hh-members li,.hh-pending li{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-width:0}.hh-who{display:flex;flex-direction:column;flex:1 1 160px;min-width:0;overflow-wrap:anywhere}.hh-acts{display:flex;gap:6px;flex-wrap:wrap}.hh-pending h3{margin:6px 0;font-size:.95rem}.avatar.sm{width:32px;height:32px;font-size:.85rem}.hh-invite-me{display:flex;flex-direction:column;gap:8px;padding:12px;border-radius:12px;background:var(--blue-soft)}.invite-link{width:100%;min-width:0;font-size:.85rem}.hh-join{display:flex;flex-direction:column;gap:12px}.hh-join p{margin:0}.hh-choice{border:0;margin:0;padding:0;display:flex;flex-direction:column;gap:8px;min-width:0}.hh-choice legend{font-weight:700;margin-bottom:6px;padding:0}.hh-choice label{display:flex;gap:10px;align-items:flex-start;padding:10px 12px;border:1.5px solid var(--border);border-radius:12px;cursor:pointer}.hh-choice label.on{border-color:var(--primary);background:var(--primary-soft)}.hh-choice label>span{display:flex;flex-direction:column;gap:2px;min-width:0}.hh-choice input[type=radio]{width:18px;height:18px;min-height:0;margin:2px 0 0;padding:0;flex:0 0 auto;accent-color:var(--primary)}.hh-cats{display:flex;flex-direction:column;gap:6px}.hh-cats label{display:flex;gap:10px;align-items:center;padding:8px 12px;border:1.5px solid var(--border);border-radius:12px;cursor:pointer}.hh-cats label.on{border-color:var(--primary);background:var(--primary-soft)}.hh-mine{margin:12px 0}.auth-captcha{display:flex;flex-direction:column;gap:8px;min-width:0}.auth-captcha-widget{width:100%;min-height:65px}.auth-captcha .small{font-size:.75rem;line-height:1.5}:root{--bg: #f6f7fb;--surface: #ffffff;--surface-2: #f1f3f9;--text: #0f172a;--muted: #556070;--border: #e5e7ef;--primary: #4f46e5;--primary-2: #6366f1;--primary-soft: #eef2ff;--on-primary: #fff;--accent: #14b8a6;--fab-shadow: rgba(79, 70, 229, .4);--red: #e11d48;--red-soft: #ffe4e9;--orange: #ea580c;--orange-soft: #ffedd5;--yellow: #ca8a04;--yellow-soft: #fef9c3;--green: #16a34a;--green-soft: #dcfce7;--blue: #0284c7;--blue-soft: #e0f2fe;--radius: 16px;--shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 4px 16px rgba(15, 23, 42, .06);--tabbar-h: 64px;--safe-t: env(safe-area-inset-top, 0px);--safe-b: env(safe-area-inset-bottom, 0px);color-scheme:light}[data-theme=dark]{--bg: #0b1020;--surface: #141a2e;--surface-2: #1c2340;--text: #e6e9f5;--muted: #8e98b8;--border: #263056;--primary: #818cf8;--primary-2: #6366f1;--primary-soft: #232a52;--on-primary: #0b1020;--accent: #2dd4bf;--fab-shadow: rgba(0, 0, 0, .35);--red: #fb7185;--red-soft: #3a1626;--orange: #fb923c;--orange-soft: #3a2314;--yellow: #facc15;--yellow-soft: #33300f;--green: #4ade80;--green-soft: #12301f;--blue: #38bdf8;--blue-soft: #0f2a3d;--shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 20px rgba(0, 0, 0, .25);color-scheme:dark}[data-theme=family]{--bg: #fbf4ec;--surface: #fffdf9;--surface-2: #f6ebdf;--text: #3d2b24;--muted: #7a5648;--border: #ead9c8;--primary: #b5523e;--primary-2: #e39a6e;--primary-soft: #fde7dc;--on-primary: #fff;--accent: #6f9a78;--fab-shadow: rgba(181, 82, 62, .32);--red: #c43848;--red-soft: #fde4e6;--orange: #d86a1c;--orange-soft: #ffedd8;--yellow: #a97812;--yellow-soft: #fbf3d0;--green: #2f7d4f;--green-soft: #e3f5e8;--blue: #3a7498;--blue-soft: #e4f1f8;--radius: 20px;--shadow: 0 1px 2px rgba(61, 43, 36, .05), 0 6px 18px rgba(196, 120, 80, .12);color-scheme:light}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{margin:0;background:var(--bg);color:var(--text);overscroll-behavior-x:none}body{font:15px/1.45 Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;-webkit-font-smoothing:antialiased}html.noscroll,body.noscroll{overflow:hidden;overscroll-behavior:none}body.noscroll{position:fixed;left:0;right:0;width:100%}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit;color:inherit}h1{font-size:1.5rem;line-height:1.2;margin:0;letter-spacing:-.02em}h2,h3{margin:0}.muted{color:var(--muted)}.small{font-size:.82rem}.center{text-align:center}.grow{flex:1;min-width:0}.ok{color:var(--green)}.error{color:var(--red);font-weight:500;margin:0}.icon{flex-shrink:0}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible,[tabindex="-1"]:focus-visible{outline:3px solid var(--blue);outline-offset:3px}.skip-link{position:fixed;z-index:100;top:8px;left:8px;transform:translateY(-160%);padding:10px 14px;border-radius:10px;background:var(--surface);color:var(--text);box-shadow:var(--shadow)}.skip-link:focus{transform:translateY(0)}.shell{min-height:100dvh;min-width:0;overflow-wrap:anywhere}.sidebar{display:none}.topbar{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:4px;padding:calc(var(--safe-t) + var(--topbar-padding, 10px)) 12px var(--topbar-padding, 10px) 16px;background:color-mix(in srgb,var(--bg) 85%,transparent);backdrop-filter:blur(12px)}.brand{display:flex;align-items:center;gap:10px;font-weight:700;letter-spacing:-.01em}.brand img{border-radius:0}main{padding:4px 16px calc(var(--tabbar-h) + var(--safe-b) + var(--main-bottom-gap, 24px));max-width:1180px;margin:0 auto}.page{display:flex;flex-direction:column;gap:16px;animation:fade .18s ease}.native-app .region-first-run{padding:calc(var(--safe-t) + 12px) 16px calc(var(--safe-b) + 12px)}@keyframes fade{0%{opacity:0;transform:translateY(4px)}}.page-head{display:flex;align-items:center;gap:12px;padding-top:6px}.eyebrow{margin:0 0 2px;font-size:.78rem;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-weight:600}.page-head .muted{margin:4px 0 0}.page-head>.grow{min-width:0}@media (max-width: 600px){.page-head{flex-wrap:wrap;row-gap:8px}.page-head>.grow{flex:1 1 11em}}.tabbar{position:fixed;z-index:30;left:0;right:0;bottom:0;display:flex;align-items:stretch;height:calc(var(--tabbar-h) + var(--safe-b));padding-bottom:var(--safe-b);background:color-mix(in srgb,var(--surface) 92%,transparent);backdrop-filter:blur(14px);border-top:1px solid var(--border)}.tabbar>*{flex:1 1 0;min-width:0}.tabbar>.tab-add{flex:0 0 84px;display:grid;place-items:center}.tabbar .fab{position:static;width:48px;height:48px;border-radius:16px;box-shadow:0 6px 16px var(--fab-shadow)}.tabbar a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:2px 1px;font-size:.75rem;line-height:1.1;text-align:center;font-weight:600;color:var(--muted)}.tabbar a span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tabbar a.on{color:var(--primary)}.tabbar a.on .icon{transform:translateY(-1px)}.fab{position:fixed;z-index:31;right:18px;bottom:calc(var(--tabbar-h) + var(--safe-b) + 16px);width:58px;height:58px;border-radius:20px;border:0;background:linear-gradient(135deg,var(--primary-2),var(--accent));color:#fff;display:grid;place-items:center;box-shadow:0 10px 24px var(--fab-shadow);cursor:pointer}.fab:active{transform:scale(.95)}.offline{margin:0 16px 8px;padding:8px 12px;border-radius:10px;background:var(--yellow-soft);color:var(--yellow);font-size:.85rem;font-weight:600}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}.card.pad{padding:16px;display:flex;flex-direction:column;gap:12px}.list{overflow:hidden}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 16px;border-radius:12px;border:1px solid var(--border);background:var(--surface);font-weight:600;cursor:pointer;white-space:nowrap;max-width:100%;min-width:0}.btn-row>.btn,.form-actions>.btn,.btn.block{white-space:normal;text-align:center;overflow-wrap:break-word}.btn:hover{border-color:color-mix(in srgb,var(--primary) 40%,var(--border))}.btn.primary{background:var(--primary);border-color:var(--primary);color:var(--on-primary)}.btn.ghost{background:transparent;border-color:transparent}.btn.danger{color:var(--red)}.btn.small{min-height:36px;padding:0 12px;font-size:.85rem}.btn.block{width:100%}.btn-row{display:flex;flex-wrap:wrap;gap:8px}.icon-btn{position:relative;width:42px;height:42px;display:inline-grid;place-items:center;border-radius:12px;border:0;background:transparent;cursor:pointer;color:var(--text)}.icon-btn .list-badge{position:absolute;top:0;right:0}.icon-btn:hover{background:var(--surface-2)}.icon-btn.sm{width:34px;height:34px}.link{background:none;border:0;color:var(--primary);font-weight:600;cursor:pointer;padding:6px 0;text-align:left}.badge{min-width:22px;height:22px;padding:0 6px;border-radius:99px;background:var(--red);color:#fff;font-size:.75rem;font-weight:700;display:grid;place-items:center}.item-ico{--c: var(--primary);width:40px;height:40px;border-radius:12px;display:grid;place-items:center;flex-shrink:0;color:var(--c);background:color-mix(in srgb,var(--c) 14%,transparent)}.item-ico.big{width:48px;height:48px;border-radius:14px}.module-art{display:block;object-fit:contain;flex-shrink:0;max-width:100%}.item-ico:has(>.module-art),.empty-ico:has(>.module-art),.more-ico:has(>.module-art){background:transparent;border:0;border-radius:0}.item-ico.big:has(>.module-art){width:64px;height:64px}.empty-ico:has(>.module-art){width:88px;height:88px}.more-ico:has(>.module-art){width:56px;height:56px}.item-row{display:flex;align-items:center;gap:12px;padding:12px 14px;border-bottom:1px solid var(--border);position:relative}button.item-row{width:100%;border:0;background:none;text-align:left;cursor:pointer;font:inherit;color:inherit}.item-row:last-child{border-bottom:0}.item-row:hover{background:var(--surface-2)}.item-row.archived{opacity:.6}.item-row:before{content:"";position:absolute;left:0;top:10px;bottom:10px;width:3px;border-radius:0 3px 3px 0;background:transparent}.item-row.b-overdue:before{background:var(--red)}.item-row.b-week:before{background:var(--orange)}.item-row.b-month:before{background:var(--yellow)}.item-main{flex:1;min-width:0;display:flex;flex-direction:column}.item-title{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.item-sub{font-size:.8rem;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.chip{flex-shrink:0;font-size:.8rem;font-weight:700;padding:5px 9px;border-radius:99px;white-space:nowrap}.c-overdue{background:var(--red-soft);color:var(--red)}.c-week{background:var(--orange-soft);color:var(--orange)}.c-month{background:var(--yellow-soft);color:var(--yellow)}.c-later{background:var(--green-soft);color:var(--green)}.c-none{background:var(--surface-2);color:var(--muted)}.group{display:flex;flex-direction:column;gap:8px;margin-bottom:8px}.group-title{display:flex;align-items:center;gap:8px;font-size:.95rem;font-weight:700}.group-title .count{color:var(--muted);font-weight:600}.week-links{display:flex;flex-wrap:wrap;gap:10px;font-size:.8rem;font-weight:600}.week-mine .group-title{flex-wrap:wrap}.week-links a{color:var(--primary)}.week-more{display:block;width:100%;margin:0;padding:10px 14px 12px;border:0;background:none;color:var(--primary);font-weight:600;text-align:left;cursor:pointer}.pickup{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.pickup label{display:flex;flex-direction:column;gap:4px;font-size:.72rem;font-weight:700;min-width:0}.pickup select{width:100%;min-width:0}.child-transport>section+section{margin-top:18px}.child-transport h3{font-size:.9rem;margin:0 0 10px}@media (max-width:600px){.child-transport .pickup{grid-template-columns:repeat(2,minmax(0,1fr))}.child-transport .pickup>label:last-child{grid-column:1 / -1}}.code-secret{font-family:ui-monospace,monospace;font-size:.85rem}.pad-inline{padding:0 14px 12px}.dot{width:10px;height:10px;border-radius:50%}.dot.c-overdue{background:var(--red)}.dot.c-week{background:var(--orange)}.dot.c-month{background:var(--yellow)}.dot.c-later{background:var(--green)}.searchbar{display:flex;align-items:center;gap:10px;height:48px;padding:0 14px;border-radius:14px;background:var(--surface);border:1px solid var(--border);color:var(--muted);box-shadow:var(--shadow)}.searchbar.input input{flex:1;border:0;outline:0;background:transparent;height:100%;font-size:1rem}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.stats.three{grid-template-columns:repeat(3,1fr)}.stat{display:flex;flex-direction:column;gap:2px;padding:10px;min-width:0;border-radius:var(--radius);background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow)}.stat b{font-size:1.25rem;letter-spacing:-.02em;white-space:nowrap}.stat span{font-size:.7rem;line-height:1.2;color:var(--muted);font-weight:600}.s-overdue b{color:var(--red)}.s-week b{color:var(--orange)}.s-month b{color:var(--yellow)}.s-money b{color:var(--primary)}.banner{display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:var(--radius);background:var(--primary-soft);color:var(--primary);font-weight:500;min-width:0;overflow-wrap:anywhere}.banner span{flex:1}.page>*{min-width:0}.home-scope{align-self:flex-start}.home-scope button{padding-inline:14px}.space-tabs{display:flex;align-items:center;gap:6px;overflow-x:auto;margin:0 -16px 12px;padding:4px 16px;scrollbar-width:none}.space-tabs::-webkit-scrollbar{display:none}.space-tabs a{flex-shrink:0;min-height:36px;display:inline-flex;align-items:center;padding:0 14px;border-radius:99px;background:var(--surface-2);color:var(--muted);font-size:.85rem;font-weight:600}.space-tabs a.on{background:var(--primary-soft);color:var(--primary)}.space-name{flex-shrink:0;font-size:.72rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-right:4px}.side-group{margin:14px 12px 4px;font-size:.7rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}.module-empty{display:flex;align-items:center;gap:12px;padding:12px 0}.module-empty p{margin:0}.empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;padding:32px 16px;border:1px dashed var(--border);border-radius:var(--radius);background:var(--surface)}.empty p{margin:0;max-width:420px}.empty-ico{width:56px;height:56px;border-radius:18px;display:grid;place-items:center;background:var(--primary-soft);color:var(--primary)}.empty .btn-row{justify-content:center;margin-top:8px}.strip{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding:0 16px;margin:0 -16px;padding:2px 16px 6px}.ent{scroll-snap-align:start;flex:0 0 auto;min-width:210px;display:flex;align-items:center;gap:10px;padding:10px 8px 10px 10px;border-radius:14px;background:var(--surface);border:1.5px solid var(--border);cursor:pointer;text-align:left}.ent.on{border-color:var(--primary);background:var(--primary-soft)}.ent-main{flex:1;display:flex;flex-direction:column;min-width:0}.ent-actions{display:flex}.ent-add{min-width:auto;border-style:dashed;color:var(--primary);font-weight:600;padding:10px 16px}.avatar{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;color:#fff;font-weight:700;flex-shrink:0}.chips{display:flex;flex-wrap:wrap;gap:8px}.sugg{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border-radius:99px;border:1px dashed var(--border);background:var(--surface);font-size:.85rem;font-weight:600;cursor:pointer}.sugg:hover{border-color:var(--primary);color:var(--primary)}.status-card{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:16px;border-radius:var(--radius)}.status-card>div{display:flex;flex-direction:column}.status-big{font-size:1.35rem;font-weight:800;letter-spacing:-.02em}.status-sub{color:var(--text);opacity:.8;font-size:.9rem}.detail-grid{display:grid;gap:16px}.info{padding:16px;display:flex;flex-direction:column;gap:12px}dl{display:grid;grid-template-columns:auto 1fr;gap:8px 16px;margin:0}dt{color:var(--muted);font-size:.88rem}dd{margin:0;font-weight:600}.notes{margin:0;padding:10px 12px;border-radius:10px;background:var(--surface-2);white-space:pre-wrap}.h3{font-size:1rem;display:flex;align-items:center;gap:8px}.history{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.history li{display:flex;align-items:center;gap:8px;color:var(--green);font-weight:500}.atts{display:flex;flex-wrap:wrap;gap:8px}.att{position:relative;width:84px;height:84px;border-radius:12px;overflow:hidden;border:1px solid var(--border);background:var(--surface-2)}.att img{width:100%;height:100%;object-fit:cover;display:block}.att-file{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;gap:4px;font-size:.7rem;padding:6px;text-align:center;word-break:break-all}.att-del{position:absolute;top:4px;right:4px;width:22px;height:22px;border-radius:50%;border:0;background:#0000008c;color:#fff;display:grid;place-items:center;cursor:pointer}.att-add{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border-style:dashed;color:var(--primary);cursor:pointer}.sheet-backdrop{position:fixed;inset:0;z-index:50;background:#080c1c73;display:flex;align-items:flex-end;justify-content:center;overflow:hidden;overscroll-behavior:none;touch-action:none;animation:fadein .15s}@keyframes fadein{0%{opacity:0}}.sheet{width:100%;max-height:min(92svh,92dvh);margin-top:env(safe-area-inset-top,0px);display:flex;flex-direction:column;overflow:clip;background:var(--surface);border-radius:22px 22px 0 0;padding:0 0 var(--safe-b);animation:up .22s cubic-bezier(.2,.8,.2,1);overscroll-behavior:none;min-width:0}@keyframes up{0%{opacity:.55}}.sheet:before{content:"";display:block;flex:0 0 auto;width:40px;height:5px;border-radius:3px;background:var(--border);margin:8px auto 6px}.sheet-scroll{flex:1 1 auto;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;padding:0 16px 12px}.sheet:has(.form-fields){height:min(92svh,92dvh)}.sheet:has(.form-fields) .sheet-scroll{display:flex;flex-direction:column;overflow:hidden}.sheet:has(.form-fields) .sheet-scroll>.form{flex:1 1 auto;min-height:0}.form-fields{display:flex;flex-direction:column;gap:14px;flex:1 1 auto;min-width:0;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y}.sheet:has(.form-fields) .form-actions{position:sticky;bottom:0;flex:none;background:var(--surface)}.sheet-head{display:flex;align-items:center;justify-content:space-between;gap:8px;position:sticky;top:0;background:var(--surface);padding:4px 0 8px;z-index:2}.sheet-head h2{font-size:1.15rem}.form{display:flex;flex-direction:column;gap:14px}.field{display:flex;flex-direction:column;gap:6px;min-width:0}.field-label{font-size:.8rem;font-weight:700;color:var(--muted)}.field-hint{font-size:.75rem;color:var(--muted)}input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea{width:100%;min-height:46px;padding:10px 12px;border-radius:12px;border:1px solid var(--field-border, var(--border));background:var(--field-surface, var(--surface-2));font-size:16px;outline:0}.password-field,.auth-card,.vault-box{--field-border: color-mix(in srgb, var(--muted) 74%, var(--surface));--field-surface: var(--surface)}.password-field-row{display:flex;align-items:center;gap:6px}.password-field-row>input{flex:1;min-width:0}.btn.password-toggle{flex:0 0 46px;width:46px;height:46px;padding:0;border-color:var(--field-border)}textarea{resize:vertical}input:focus,select:focus,textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 20%,transparent)}.row2{display:grid;grid-template-columns:1fr;gap:14px}.inline{display:flex;gap:8px}.inline>*{min-width:0;flex:1 1 0}.form .inline input.num{flex:0 0 72px;width:72px}.form-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;position:sticky;bottom:0;z-index:2;background:var(--surface);padding:10px 0 8px;border-top:1px solid var(--border)}.sheet-scroll .form-actions{margin:0 -16px;padding:10px 16px 8px}.hint{display:flex;gap:8px;padding:10px 12px;border-radius:12px;background:var(--blue-soft);color:var(--blue);font-size:.85rem;line-height:1.4}.hint .icon{margin-top:2px}.seg{display:flex;gap:4px;padding:4px;border-radius:14px;background:var(--surface-2)}.seg.wrap{flex-wrap:wrap}.seg.wrap button{flex:1 1 7rem;white-space:normal;min-width:0}.seg button{flex:1;min-height:38px;border:0;border-radius:10px;background:transparent;font-weight:600;cursor:pointer;color:var(--muted);white-space:nowrap;padding:0 12px}.seg button.on{background:var(--surface);color:var(--text);box-shadow:var(--shadow)}.scroll-x{overflow-x:auto}.tpl-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.tpl{display:flex;align-items:center;gap:10px;padding:10px;border-radius:14px;border:1px solid var(--border);background:var(--surface);text-align:left;font-weight:600;font-size:.88rem;cursor:pointer;min-height:60px;min-width:0;overflow-wrap:anywhere}.tpl:hover{border-color:var(--c, var(--primary))}.tpl .item-ico{--c: inherit;color:var(--c)}.tpl-custom{border-style:dashed}.colors{display:flex;gap:10px;flex-wrap:wrap}.colors button{width:34px;height:34px;border-radius:50%;border:3px solid transparent;cursor:pointer}.colors button.on{border-color:var(--text)}.toast{position:fixed;z-index:60;left:50%;transform:translate(-50%);bottom:calc(var(--tabbar-h) + var(--safe-b) + 16px);background:var(--text);color:var(--bg);padding:10px 16px;border-radius:12px;font-weight:600;box-shadow:var(--shadow);animation:fade .2s;max-width:90vw}.loading{min-height:100dvh;display:grid;place-items:center}.spinner{width:32px;height:32px;border-radius:50%;border:3px solid var(--border);border-top-color:var(--primary);animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.settings .card.pad .seg{max-width:420px}.settings .card.pad>*{min-width:0;max-width:100%}.settings .card.pad .btn{white-space:normal;overflow-wrap:anywhere;text-align:center;height:auto;padding-top:8px;padding-bottom:8px;max-width:100%}.hide-mobile{display:none}@media (max-width: 479px){.stats{grid-template-columns:1fr 1fr}}@media (max-width: 359px){.tpl-grid{grid-template-columns:minmax(0,1fr)}}@media (min-width: 480px){.row2{grid-template-columns:1fr 1fr}.tpl-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width: 768px){.shell{display:grid;grid-template-columns:248px minmax(0,1fr)}.sidebar{display:flex;flex-direction:column;gap:16px;position:sticky;top:0;height:100dvh;padding:20px 14px;border-right:1px solid var(--border);background:var(--surface)}.sidebar .brand{padding:4px 8px 8px;font-size:1.05rem}.sidebar>.brand,.sidebar>.btn,.sidebar-footer{flex-shrink:0}.sidebar nav{display:flex;flex-direction:column;gap:2px;flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}.sidebar nav .side-link{flex-shrink:0}.sidebar-footer{border-top:1px solid var(--border);padding-top:10px}.sidebar hr{border:0;border-top:1px solid var(--border);margin:10px 6px;width:auto}.side-link{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:12px;font-weight:600;color:var(--muted)}.side-link:hover{background:var(--surface-2);color:var(--text)}.side-link.on{background:var(--primary-soft);color:var(--primary)}.topbar,.tabbar,.fab{display:none}main{padding:28px 28px 48px}h1{font-size:1.75rem}.stat{padding:12px 14px}.stat b{font-size:1.45rem}.stat span{font-size:.78rem}.hide-mobile{display:inline-flex}.strip{margin:0;padding-left:2px;padding-right:2px;flex-wrap:wrap;overflow:visible}.sheet-backdrop{align-items:center;padding:24px}.sheet{max-width:640px;border-radius:22px;max-height:min(88svh,88dvh);padding:8px 0 12px}.sheet:has(.form-fields){height:min(88svh,88dvh)}.sheet:before{display:none}.sheet-scroll{padding:0 22px 8px}.sheet-scroll .form-actions,.sheet-scroll .recipe-footer{margin-left:-22px;margin-right:-22px;padding-left:22px;padding-right:22px;bottom:0}.detail-grid{grid-template-columns:1fr 1fr;align-items:start}.toast{bottom:28px}.space-tabs{margin:0 0 16px;padding:4px 0;flex-wrap:wrap;overflow:visible}}@media (min-width: 768px) and (max-width: 1099px){.shell{grid-template-columns:76px minmax(0,1fr)}.sidebar{padding:16px 10px;align-items:stretch}.sidebar .brand{justify-content:center;padding:4px 0 8px}.sidebar>.btn.block{width:52px;height:48px;padding:0;align-self:center;justify-content:center}.side-link{justify-content:center;padding:11px 0}.side-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.side-group{height:1px;margin:8px 10px;overflow:hidden;font-size:0;background:var(--border)}main{padding:24px 24px 48px}}@media (min-width: 1100px){.space-tabs{display:none}}.searchbar>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ent-wide{min-width:min(340px,calc(100vw - 64px));max-width:360px;align-items:flex-start}.ent-wide .avatar{margin-top:2px}.lease{display:flex;flex-direction:column;gap:4px;margin-top:8px;padding-top:8px;border-top:1px dashed var(--border)}.lease-head{display:flex;align-items:center;justify-content:space-between;gap:6px}.lease-head .chip{font-size:.75rem;padding:3px 8px}.lease-line{color:var(--text);opacity:.85}.gauge{position:relative;display:block;height:10px;border-radius:99px;background:var(--surface-2);border:1px solid var(--border);overflow:visible;margin:2px 0}.gauge-fill{position:absolute;inset:0 auto 0 0;border-radius:99px;background:var(--green)}.lease-warn .gauge-fill{background:var(--yellow)}.lease-over .gauge-fill{background:var(--red)}.gauge-time{position:absolute;top:-4px;bottom:-4px;width:3px;margin-left:-1.5px;border-radius:2px;background:var(--text)}.banner.danger{background:var(--red-soft);color:var(--red);text-decoration:none;margin-bottom:4px}.sugg-wrap{display:inline-flex;align-items:center;border-radius:99px;border:1px dashed var(--border);background:var(--surface)}.sugg-wrap .sugg{border:0;background:none;padding-right:4px}.sugg-x{display:grid;place-items:center;width:30px;height:30px;margin-right:3px;border:0;border-radius:99px;background:none;color:var(--muted);cursor:pointer}.sugg-x:hover{background:var(--surface-2);color:var(--red)}.check{display:flex;align-items:center;gap:10px;font-weight:600;padding:6px 0;cursor:pointer}.guide-mods .check{align-items:flex-start;font-weight:500}.guide-mods .check>span{min-width:0}.nav-edit{display:flex;flex-direction:column}.nav-row{display:flex;align-items:center;gap:4px;padding:8px 0;border-bottom:1px solid var(--border)}.nav-row .check{flex:1;min-width:0;align-items:center;font-weight:500}.nav-row .item-ico{width:36px;height:36px}.nav-row.off{opacity:.55}.nav-row .item-main b{display:block}.nav-moves{display:flex;gap:2px;flex-shrink:0}.nav-sub{display:flex;flex-wrap:wrap;gap:8px 16px;padding:0 0 8px 46px}.icon.turn-up{transform:rotate(-90deg)}.icon.turn-down{transform:rotate(90deg)}.week-links .chip{text-decoration:none}.shell.kid-mode .sidebar,.shell.kid-mode .topbar,.shell.kid-mode .tabbar,.shell.kid-mode .fab{display:none}.kid-screen h1{font-size:2.4rem}.fridge-menu{font-size:1.4rem;font-weight:700}@media screen{.fridge-menu{display:none}}@media print{.sidebar,.topbar,.tabbar,.fab,.no-print{display:none!important}main{padding:0;max-width:none}}.check input{width:20px;height:20px;accent-color:var(--primary)}.subform{border:1px solid var(--border);border-radius:14px;padding:12px;margin:0;display:flex;flex-direction:column;gap:12px;min-width:0}.import-summary{margin:0;padding-left:18px}.warn-box{background:var(--red-soft);color:var(--red);border-radius:12px;padding:12px;font-weight:500}.btn.danger-solid{background:var(--red);color:#fff;border-color:var(--red)}.budget-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}.chart-row{display:flex;flex-wrap:wrap;align-items:center;gap:16px}.chart-row .donut{flex-shrink:0;margin:0 auto}.donut{display:block;transform:rotate(0)}.donut-total{font-size:5.4px;font-weight:800;fill:var(--text)}.donut-sub{font-size:3px;fill:var(--muted);font-weight:600}.bars{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px;flex:1 1 220px;min-width:0}.bar-row{display:flex;flex-direction:column;gap:4px}.bar-label{display:flex;align-items:center;gap:8px;font-weight:600;font-size:.9rem}.bar-label b{margin-left:auto}.bar{height:8px;border-radius:99px;background:var(--surface-2);overflow:hidden}.bar>span{display:block;height:100%;border-radius:99px;min-width:4px}.sim-result{display:flex;flex-direction:column;gap:4px;padding:12px;border-radius:12px;background:var(--green-soft)}.sim-result b{color:var(--green)}.sim-result .link{align-self:flex-start}.sim-total{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:6px 16px}.sim-total strong{white-space:nowrap}.sim-after{margin-top:8px;padding-top:12px;border-top:1px solid var(--green);font-weight:600}.sim-note{margin:8px 0}.sim-none,.sim-locked{margin:0;color:var(--muted)}.budget-gtitle{width:100%;border:0;background:none;padding:4px 0;cursor:pointer;color:var(--text);text-align:left;font:inherit;font-weight:700}.item-ico.sm{width:28px;height:28px;border-radius:8px}.budget-main{flex:1;min-width:0;display:flex;flex-direction:column;color:inherit}.budget-right{flex-shrink:0;display:flex;flex-direction:column;align-items:flex-end;gap:6px}.budget-amt{text-align:right}.budget-right .chip{font-size:.75rem;padding:4px 8px}.budget-line.cancel .budget-amt,.budget-line.cancel .item-title{text-decoration:line-through;color:var(--muted)}.toggle{flex-shrink:0;display:inline-flex;align-items:center;gap:6px;font-size:.72rem;font-weight:700;color:var(--muted);padding:4px 8px;border-radius:99px;border:1px solid var(--border);cursor:pointer;user-select:none}.toggle input{width:16px;height:16px;margin:0;accent-color:var(--red)}.budget-line.cancel .toggle{color:var(--red);border-color:color-mix(in srgb,var(--red) 40%,var(--border));background:var(--red-soft)}.as-btn{width:100%;border:0;background:none;text-align:left;font:inherit;color:inherit;cursor:pointer}.budget-card{display:flex;align-items:center;gap:14px;padding:12px 14px;color:inherit}.budget-card-main{display:flex;flex-direction:column;gap:2px;min-width:0}.budget-card-main b{font-size:1.05rem}.budget-legend{display:flex;flex-wrap:wrap;gap:4px 12px;font-size:.75rem;color:var(--muted);font-weight:600}.budget-legend>span{display:inline-flex;align-items:center;gap:5px}.budget-legend .dot{width:8px;height:8px}.budget-card .saving{color:var(--green);font-weight:700}@media (min-width: 900px){.budget-grid{grid-template-columns:minmax(0,3fr) minmax(0,2fr);align-items:start}}.drop{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;padding:28px 16px;border:2px dashed var(--border);border-radius:16px;text-align:center;cursor:pointer;color:var(--primary)}.drop:hover{border-color:var(--primary);background:var(--primary-soft)}.drop b{color:var(--text)}.drop input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}.hint.warn{background:var(--orange-soft);color:var(--orange)}.csv-preview{border-collapse:collapse;font-size:.78rem;white-space:nowrap}.csv-preview th,.csv-preview td{border:1px solid var(--border);padding:4px 8px;text-align:left}.csv-preview th{background:var(--surface-2)}.real{display:flex;flex-direction:column;gap:12px;margin-top:16px}.real-empty .btn{align-self:flex-start}.real-head{display:flex;align-items:center;gap:8px}.month-nav{display:flex;align-items:center;justify-content:center;gap:12px}.month-nav b{min-width:140px;text-align:center}.month-nav .disabled,.month-nav button:disabled{opacity:.3;pointer-events:none}.real-bars{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}.real-row{display:flex;flex-direction:column;gap:4px}.real-row .bar-label{display:flex;align-items:center;gap:8px;font-weight:600;font-size:.9rem}.real-row .bar-label b{margin-left:auto}.real-bar{position:relative;overflow:visible}.fixed-mark{position:absolute;top:-4px;bottom:-4px;width:3px;margin-left:-1.5px;border-radius:2px;background:var(--text);opacity:.75}.real-row.over .bar-label b{color:var(--red)}.real-top,.recurring{margin-top:16px;display:flex;flex-direction:column;gap:10px}.real-top .list,.recurring .list{display:flex;flex-direction:column}.tx-row{width:100%;text-align:left}.tx-row .item-main{min-width:0;flex:1}.tx-row .item-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tx-amt,.tx-row>b{white-space:nowrap;font-variant-numeric:tabular-nums}.pos{color:var(--green)}.rec-row{flex-wrap:wrap}.rec-row .item-main{flex:1 1 200px;min-width:0}.rec-actions{display:flex;align-items:center;gap:10px;margin-left:auto}.group-pick{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.group-pick .ent{min-width:0;font-weight:600;font-size:.85rem}.check{display:flex;align-items:center;gap:10px;font-weight:500}.check input{width:20px;height:20px;flex-shrink:0}.chips-row{display:flex;gap:8px;padding-bottom:4px}.chip-btn{display:inline-flex;align-items:center;gap:6px;flex-shrink:0;min-height:36px;padding:0 12px;border-radius:99px;border:1px solid var(--border);background:var(--surface);font-weight:600;font-size:.82rem;cursor:pointer;white-space:nowrap}.chip-btn.on{background:var(--primary);border-color:var(--primary);color:var(--on-primary)}.ops .card.list{margin:8px 0}@media (min-width: 1024px){.group-pick{grid-template-columns:repeat(3,minmax(0,1fr))}}.main,main,.page,.real,.real-top,.recurring,.ops .card.list{min-width:0}.tx-row,.tx-row .item-main{min-width:0;max-width:100%}.rec-row .item-sub{white-space:normal}.more-sheet{gap:16px}.more-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:6px 12px;border:1px solid var(--border);border-radius:14px}.more-bar-icons{display:flex;gap:12px;color:var(--muted)}.more-group{display:flex;flex-direction:column;gap:8px}.more-group h3{font-size:.72rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}.more-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(76px,1fr));gap:8px}.more-list a{display:flex;flex-direction:column;align-items:center;gap:6px;padding:10px 4px;border-radius:14px;background:var(--surface-2);color:inherit;text-decoration:none;font-size:.78rem;font-weight:600;text-align:center;min-width:0}.more-list a span:last-child{max-width:100%;font-size:.74rem;line-height:1.15;hyphens:auto;overflow-wrap:break-word}.more-ico{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:var(--surface);border:1px solid var(--border)}.more-list a.on{color:var(--primary);background:var(--primary-soft)}.more-list a.on .more-ico{border-color:var(--primary)}.more-foot{display:flex;flex-wrap:wrap;gap:4px 20px;padding-top:12px;border-top:1px solid var(--border)}.more-foot a{display:inline-flex;align-items:center;gap:8px;min-height:40px;color:var(--muted);font-weight:600}.more-foot a.on{color:var(--primary)}.bar-preview{display:flex;align-items:center;gap:6px;padding:10px 6px;border-radius:16px;background:var(--surface-2)}.bar-preview>*{flex:1 1 0;min-width:0}.bar-cell{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 2px;border-radius:12px;border:1px solid var(--border);background:var(--surface);color:inherit;font:inherit;cursor:pointer}.bar-cell small{font-size:.72rem;font-weight:600;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bar-cell.empty{min-height:58px;justify-content:center;border-style:dashed;background:transparent;color:var(--muted);font-size:.75rem;cursor:default}.bar-cell.fixed{border-color:transparent;background:transparent;color:var(--muted);cursor:default}.bar-x{position:absolute;top:-6px;right:-4px;width:18px;height:18px;border-radius:9px;display:grid;place-items:center;background:var(--text);color:var(--bg)}.bar-add{flex:0 0 52px;height:40px;border-radius:14px;display:grid;place-items:center;background:var(--primary);color:var(--on-primary)}.bar-pick{display:flex;align-items:center;gap:12px;width:100%;padding:10px 2px;border:0;border-bottom:1px solid var(--border);background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}.bar-pick .item-main{flex:1;min-width:0}.bar-pick .item-main b{display:block}.bar-pick:disabled{opacity:.45;cursor:default}.add-list{display:flex;flex-direction:column;gap:6px}.add-choice{display:flex;align-items:center;gap:12px;width:100%;padding:10px 12px;border:1px solid transparent;border-radius:14px;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}.add-choice .item-main b{display:block}.add-choice.first{border-color:var(--primary);background:var(--primary-soft)}.tabbar button.tab-more{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:.75rem;line-height:1.1;font-weight:600;color:var(--muted);background:none;border:0;cursor:pointer;font-family:inherit;padding:0}.tabbar button.tab-more.on{color:var(--primary)}.toast.has-action{display:flex;align-items:center;gap:12px;padding:6px 6px 6px 16px}.toast-action{min-height:40px;padding:0 14px;border:0;border-radius:10px;background:color-mix(in srgb,var(--bg) 18%,transparent);color:var(--bg);font-weight:700;cursor:pointer;text-transform:uppercase;font-size:.8rem;letter-spacing:.04em;flex-shrink:0}@media (prefers-reduced-motion: reduce){.toast,.toast-action{animation:none;opacity:1;visibility:visible}}html[data-motion=reduce] .toast-action{opacity:1;visibility:visible}.tabbar a[aria-current=page],.side-link[aria-current=page]{color:var(--primary)}@media (prefers-reduced-motion: reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}.push-steps{margin:8px 0 12px;padding-left:1.2rem}.push-steps li{margin:6px 0}.start-choices{display:grid;grid-template-columns:minmax(0,1fr);margin-bottom:4px}@media (min-width: 900px){.start-choices{grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);column-gap:24px}}
