:root{--brand: #1f6f5c;--brand-ink: #ffffff;--accent: #e8913a;--bg: #f6f4ef;--surface: #ffffff;--ink: #1f2a27;--muted: #66726e;--line: #d9d6cc;--danger: #b3261e;--danger-bg: #fbe9e7;--ok-bg: #e3f3ec;--warn-bg: #fbe3c0;--warn-ink: #7a3e00;--radius: 12px;--radius-sm: 8px;--font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--touch: 48px;--shadow: 0 1px 3px rgba(0, 0, 0, .12)}@media (prefers-color-scheme: dark){:root{--brand: #4fb89f;--brand-ink: #0d1f1a;--accent: #f0a85c;--bg: #131a18;--surface: #1c2623;--ink: #e9efec;--muted: #9bada6;--line: #34423e;--danger: #ff8a80;--danger-bg: #3b1f1c;--ok-bg: #1d3a30;--shadow: none}}*,*:before,*:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{margin:0;font-family:var(--font);background:var(--bg);color:var(--ink);font-size:16px;line-height:1.45}h1{font-size:1.5rem;margin:0 0 .5rem}h2{font-size:1.1rem;margin:1.5rem 0 .5rem}a{color:var(--brand)}.muted{color:var(--muted)}small.muted{display:block;font-size:.85rem}.boot{padding:2rem;text-align:center;color:var(--muted)}.skip{position:absolute;left:-999px}.skip:focus{left:8px;top:8px;z-index:10;background:var(--surface);padding:8px}:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.form{display:flex;flex-direction:column;gap:1rem;margin:1rem 0}.field{display:flex;flex-direction:column;gap:.25rem;border:0;padding:0;margin:0}.field label,.field legend{font-weight:600}input,select{min-height:var(--touch);padding:0 .75rem;font:inherit;color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-sm);width:100%}input:disabled,select:disabled{opacity:.7}.toggle{display:flex;gap:.75rem;align-items:flex-start;min-height:var(--touch);padding:.5rem 0}.toggle input{width:24px;min-height:24px;height:24px;margin-top:2px;flex:none}.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:var(--touch);padding:0 1.25rem;font:inherit;font-weight:600;text-decoration:none;cursor:pointer;color:var(--brand-ink);background:var(--brand);border:1px solid var(--brand);border-radius:var(--radius-sm)}.btn:disabled{opacity:.55;cursor:default}.btn-ghost{background:transparent;color:var(--brand)}.btn-block{width:100%}.alert{padding:.75rem 1rem;color:var(--danger);background:var(--danger-bg);border-radius:var(--radius-sm)}.notice{display:flex;flex-direction:column;gap:.5rem;padding:.75rem 1rem;background:var(--ok-bg);border-radius:var(--radius-sm);margin:1rem 0}.notice p{margin:0}.chip{align-self:center;padding:.15rem .6rem;font-size:.85rem;background:var(--bg);border:1px solid var(--line);border-radius:999px}.auth{max-width:440px;margin:0 auto;padding:1.5rem 1rem 3rem;display:flex;flex-direction:column;gap:.75rem}.brand{display:flex;align-items:center;gap:.6rem;color:var(--brand)}.brand strong{display:block;font-size:1.25rem}.brand span{display:block;font-size:.85rem;color:var(--muted)}.cards{display:flex;flex-direction:column;gap:.75rem}.card-choice{display:flex;flex-direction:column;align-items:flex-start;gap:.25rem;min-height:96px;padding:1rem;font:inherit;text-align:left;color:var(--ink);background:var(--surface);border:2px solid var(--line);border-radius:var(--radius);cursor:pointer}.card-choice svg{color:var(--brand)}.card-choice span{color:var(--muted)}.card-choice:hover{border-color:var(--brand)}.shell{min-height:100dvh;display:flex;flex-direction:column}.shell-content{flex:1;display:flex;flex-direction:column;min-width:0}.shell-top{position:sticky;top:0;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.5rem 1rem;padding-top:calc(.5rem + env(safe-area-inset-top));background:var(--surface);border-bottom:1px solid var(--line)}.account-name{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-select{width:auto;max-width:55%;font-weight:600}.shell-main{flex:1;width:100%;max-width:720px;margin:0 auto;padding:1rem 1rem 6rem}.tabbar{position:fixed;bottom:0;left:0;right:0;z-index:5;display:flex;padding-bottom:env(safe-area-inset-bottom);background:var(--surface);border-top:1px solid var(--line)}.tab{flex:1;min-height:56px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:.75rem;text-decoration:none;color:var(--muted)}.tab.active{color:var(--brand);font-weight:700}.menu-list,.rows{list-style:none;margin:1rem 0;padding:0;display:flex;flex-direction:column;gap:.5rem}.menu-list a,.menu-list button{display:flex;align-items:center;gap:.75rem;width:100%;min-height:var(--touch);padding:0 1rem;font:inherit;color:var(--ink);text-decoration:none;text-align:left;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);cursor:pointer}.menu-list a svg:last-child{margin-left:auto;color:var(--muted)}.soon-tag{flex:none;padding:.05rem .5rem;font-size:.75rem;font-weight:600;color:var(--muted);background:var(--bg);border:1px solid var(--line);border-radius:999px}.menu-list a.soon{color:var(--muted)}.menu-list a.soon .soon-tag{margin-left:auto}.menu-list a.soon .soon-tag+svg{margin-left:0}.row{display:flex;flex-wrap:wrap;gap:.5rem 1rem;justify-content:space-between;padding:.75rem 1rem;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.row-off{opacity:.6}.row-main{display:flex;flex-direction:column;min-width:0;overflow-wrap:anywhere}.row-actions{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap}.row-actions select{width:auto}.page-head{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap}.page-head h1{margin:0}input[type=search]{-webkit-appearance:none;-moz-appearance:none;appearance:none}.chips{display:flex;flex-wrap:wrap;gap:.5rem;margin:.5rem 0 1rem}.chip-btn{min-height:40px;padding:0 .9rem;font:inherit;color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:999px;cursor:pointer}.chip-btn.on{color:var(--brand-ink);background:var(--brand);border-color:var(--brand)}.chip-warn{color:var(--ink);background:var(--ok-bg)}.row-btn,.row-link{width:100%;font:inherit;color:var(--ink);text-align:left;text-decoration:none;cursor:pointer;align-items:center}.row-tags{display:flex;flex-wrap:wrap;gap:.35rem;align-items:center}.icon-btn{display:inline-flex;align-items:center;justify-content:center;min-width:var(--touch);min-height:var(--touch);padding:0;color:var(--ink);background:transparent;border:0;border-radius:var(--radius-sm);cursor:pointer}.modal{width:min(560px,calc(100vw - 1.5rem));max-height:90dvh;padding:1rem;color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:var(--radius)}.modal::backdrop{background:#00000073}.modal-header{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.modal-header h2{margin:0}.rows.nested{margin:.5rem 0 .5rem 1rem}.place{list-style:none}.row-enc{box-shadow:none;background:var(--bg)}.place-path{font-size:.85rem}.place-add{margin-top:.25rem}.place-children{list-style:none;display:flex;flex-direction:column;gap:.75rem;margin:.75rem 0 0 .5rem;padding:0 0 0 .75rem;border-left:3px solid var(--line)}.disclaimer{padding:.6rem .9rem;font-weight:600;background:var(--ok-bg);border-radius:var(--radius-sm)}.sheet h3{margin:1.25rem 0 .4rem;font-size:1rem}.sheet h4{margin:.75rem 0 .25rem;font-size:.95rem}.plain{margin:0;padding-left:1.1rem}.plain li{margin:.25rem 0}.facts{display:grid;grid-template-columns:max-content 1fr;gap:.25rem 1rem;margin:0}.facts dt{color:var(--muted)}.facts dd{margin:0}.fact-pair{display:contents}.editor-row{display:flex;flex-direction:column;gap:.75rem;padding:.75rem;margin-bottom:.75rem;border:1px solid var(--line);border-radius:var(--radius)}fieldset.field{padding:0;margin:0;border:0;min-width:0}.form-fields{display:flex;flex-direction:column;gap:1rem;padding:0;margin:0;border:0;min-width:0}.tabs{display:flex;gap:.25rem;margin:1rem 0;overflow-x:auto;border-bottom:1px solid var(--line)}.tab-btn{flex:none;min-height:var(--touch);padding:0 1rem;font:inherit;color:var(--muted);background:transparent;border:0;border-bottom:3px solid transparent;cursor:pointer}.tab-btn.on{color:var(--brand);font-weight:700;border-bottom-color:var(--brand)}.timeline{list-style:none;margin:0 0 1rem;padding:0 0 0 1rem;border-left:2px solid var(--line);display:flex;flex-direction:column;gap:.9rem}.timeline li{display:flex;flex-direction:column}.timeline time{font-size:.85rem;color:var(--muted)}.chart{margin:0 0 1rem}.chart svg{width:100%;height:auto}.chart-axis{stroke:var(--line);stroke-width:1}.chart-line{stroke:var(--brand);stroke-width:2}.chart-dot{fill:var(--brand)}.chart-label{fill:var(--muted);font-size:10px}.btn-lg{min-height:56px;padding:0 1.5rem;font-size:1.05rem}.today-group h3{margin:1rem 0 .4rem;font-size:1rem;color:var(--muted)}.register{display:flex;flex-direction:column;gap:.75rem;margin:.75rem 0}.register-title{margin:0;font-weight:700}.register-card{padding:.75rem 1rem;margin:1rem 0;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius)}.register-card summary{min-height:var(--touch);display:flex;align-items:center;font-weight:700;cursor:pointer}.choice-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:.5rem}.choice{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.25rem;min-height:64px;padding:.5rem;font:inherit;font-weight:600;color:var(--ink);background:var(--surface);border:2px solid var(--line);border-radius:var(--radius);cursor:pointer}.choice.on{color:var(--brand-ink);background:var(--brand);border-color:var(--brand)}.undo-bar{position:sticky;top:64px;z-index:4}.scan-camera{position:relative;overflow:hidden;background:#000;border-radius:var(--radius);aspect-ratio:3 / 4;max-height:60dvh;margin:1rem 0}.scan-camera video{width:100%;height:100%;object-fit:cover}.scan-frame{position:absolute;top:20%;right:20%;bottom:20%;left:20%;border:3px solid var(--accent);border-radius:var(--radius);pointer-events:none}.scan-hint{position:absolute;left:0;right:0;bottom:0;margin:0;padding:.6rem;text-align:center;color:#fff;background:#0000008c}.health>section{margin:1.5rem 0}.health h2{margin:0 0 .5rem;font-size:1.15rem}.health-card{display:flex;flex-direction:column;gap:.4rem;padding:.75rem 1rem;margin:.75rem 0;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius)}.health-card p{margin:0}.health-card .btn{align-self:flex-start}.health-card-head{display:flex;align-items:center;justify-content:space-between;gap:.5rem;flex-wrap:wrap}.health-alert{font-weight:600}.attachment-open{display:flex;flex:1;gap:.5rem;min-height:var(--touch);padding:0;background:transparent;border:0}.attachments{display:flex;flex-direction:column;gap:.5rem}.file-input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}.field label.btn{align-self:flex-start}.field:focus-within label.btn{outline:2px solid var(--brand);outline-offset:2px}.btn-sm{min-height:40px;padding:0 .9rem;font-size:.9rem}.field-label{font-weight:600}.grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem}.studio{display:flex;flex-direction:column;gap:1rem}.studio-preview{display:flex;flex-direction:column;gap:.75rem;padding:.75rem;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius)}.studio-preview-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.5rem}.studio-preview .chips{margin:0}.studio-stage{display:flex;justify-content:center;padding:1rem;border-radius:var(--radius);background:var(--bg);border:1px dashed var(--line)}.studio-stage.sheet{padding:.5rem}.studio-sheet .lbl-page,.studio-stage.label .lbl{box-shadow:0 2px 10px #00000040}.scaled-wrap{width:100%;display:flex;justify-content:center}.scaled-box{overflow:hidden;flex:none}.studio-pager{display:flex;align-items:center;justify-content:center;gap:.75rem}.studio-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem;margin:0}.studio-stats div{padding:.5rem .6rem;background:var(--bg);border-radius:var(--radius-sm)}.studio-stats dt{font-size:.8rem;color:var(--muted)}.studio-stats dd{margin:0;font-weight:700}.studio-models{display:flex;gap:.25rem;justify-content:flex-end}.studio-panel{display:flex;flex-direction:column;gap:.9rem;padding:.5rem 0 1rem}.studio-panel h3{margin:.5rem 0 0;font-size:1rem}.studio-details summary{cursor:pointer;font-weight:600;min-height:var(--touch);display:flex;align-items:center}.input-suffix{display:flex;align-items:center;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-sm)}.input-suffix input{min-width:0;border:0;background:transparent}.input-suffix span{padding:0 .75rem 0 0;color:var(--muted);font-size:.9rem}.color-field{display:flex;align-items:center;gap:.5rem;min-height:var(--touch);padding:0 .6rem;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-sm)}.color-field input[type=color]{width:36px;min-height:0;height:36px;padding:0;border:0;background:none;cursor:pointer}.field input[type=range]{min-height:0;padding:0;border:0;accent-color:var(--brand)}.token{margin:2px 4px 2px 0;padding:2px 8px;font:inherit;font-size:.85rem;font-weight:600;color:var(--brand);background:var(--surface);border:1px dashed var(--brand);border-radius:var(--radius-sm);cursor:pointer}.code{font-family:ui-monospace,IBM Plex Mono,Menlo,monospace}.btn-secondary{color:var(--brand);background:transparent}.btn-danger{background:var(--danger);border-color:var(--danger);color:#fff}.card{padding:1rem;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.card.empty{text-align:center}.section{margin:1.25rem 0}.section-title{margin:0 0 .5rem;font-size:.95rem;font-weight:700;color:var(--muted)}.back-link{display:inline-flex;align-items:center;min-height:40px;gap:.25rem;text-decoration:none}.chip-danger{color:var(--danger);background:var(--danger-bg);border-color:var(--danger)}.chip-muted{color:var(--muted)}.text-warn{color:var(--danger)}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion: reduce){.spin{animation:none}}.fieldset{display:flex;flex-direction:column;gap:.5rem;margin:0;padding:.75rem 1rem;border:1px solid var(--line);border-radius:var(--radius)}.fieldset legend{padding:0 .4rem;font-weight:600}.check-row{display:flex;align-items:center;gap:.75rem;min-height:var(--touch);cursor:pointer}.check-row input{flex:none;width:22px;min-height:22px;height:22px;accent-color:var(--brand)}.input-with-action{display:flex;gap:.5rem}.input-with-action input{flex:1;min-width:0}.plan-banner{display:flex;flex-wrap:wrap;align-items:center;gap:.25rem .75rem;min-height:var(--touch);padding:.5rem 1rem;background:var(--ok-bg);color:var(--ink);font-size:.9rem;font-weight:500}.plan-banner a{color:inherit;font-weight:700}.plan-banner-warn{background:var(--danger-bg)}.plan-banner-dark{background:var(--brand);color:var(--brand-ink)}.connection{display:flex;flex-direction:column}.connection-bar{display:flex;align-items:center;gap:.6rem;min-height:var(--touch);padding:.4rem .75rem .4rem 1rem;background:var(--brand);color:var(--brand-ink);font-size:.9rem;font-weight:500}.connection-sync{background:var(--ok-bg);color:var(--ink)}.connection-failed{background:var(--danger-bg);color:var(--ink)}.connection-text{flex:1;min-width:0}.connection-bar button{flex:none;display:inline-flex;align-items:center;gap:.3rem;min-height:40px;padding:0 .6rem;border:0;border-radius:var(--radius-sm);background:transparent;color:inherit;font:inherit;font-weight:700;cursor:pointer}.connection-list{margin:0;padding:.5rem 1rem .75rem 2.2rem;background:var(--danger-bg);color:var(--ink);font-size:.9rem}.plan-top{display:flex;flex-direction:column;gap:.5rem}.plan-status{display:flex;flex-direction:column;gap:.6rem}.plan-status-head{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem}.plan-status-name{font-size:1.3rem;font-weight:700;color:var(--brand)}.usage-list{display:flex;flex-direction:column;gap:.75rem;margin:0 0 1rem;padding:0;list-style:none}.usage-row{display:grid;grid-template-columns:1fr auto;gap:.25rem .75rem;align-items:baseline}.usage-label{font-weight:600}.usage-value{font-size:.9rem;text-align:right}.usage-track{grid-column:1 / -1;height:8px;border-radius:999px;background:var(--bg);border:1px solid var(--line);overflow:hidden}.usage-fill{display:block;height:100%;background:var(--brand)}.usage-full{background:var(--accent)}.feature-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:.5rem 1rem;padding-top:.75rem;border-top:1px solid var(--line)}.feature-item{display:flex;align-items:center;gap:.5rem;font-size:.9rem}.feature-item svg{flex:none;color:var(--brand)}.feature-off,.feature-off svg{color:var(--muted)}.plan-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.75rem}.plan-card{display:flex;flex-direction:column;gap:.6rem}.plan-card .btn{margin-top:auto}.plan-card-highlight{border:2px solid var(--brand)}.plan-badge{align-self:flex-start;padding:.1rem .6rem;border-radius:999px;background:var(--brand);color:var(--brand-ink);font-size:.8rem;font-weight:700}.plan-name{margin:0;font-size:1.2rem}.plan-price strong{font-size:1.6rem;color:var(--brand)}.plan-features{display:flex;flex-direction:column;gap:.35rem;margin:0;padding:0 0 .25rem 1.1rem;font-size:.9rem}.item-row{align-items:center}.item-main{display:flex;flex-direction:column;min-width:0;flex:1}.item-title{font-weight:600}.item-actions{display:flex;gap:.5rem}.pay-box{align-items:stretch}.pay-qr{align-self:center;width:240px;max-width:100%;height:auto;background:#fff;border:1px solid var(--line);border-radius:var(--radius)}.pay-wait{display:flex;align-items:center;justify-content:center;gap:.5rem;margin:0}.list{display:flex;flex-direction:column;gap:.5rem}.sidebar{display:none}@media (min-width: 900px){.shell{display:grid;grid-template-columns:256px minmax(0,1fr);align-items:start}.shell-top,.tabbar{display:none}.shell-content{grid-column:2;min-height:100dvh}.shell-main{max-width:1200px;padding:2rem 2.5rem 3rem}.sidebar{grid-column:1;grid-row:1;position:sticky;top:0;height:100dvh;display:flex;flex-direction:column;gap:1rem;padding:1.25rem .75rem .75rem;background:var(--surface);border-right:1px solid var(--line);overflow-y:auto}.sidebar .brand{padding:0 .5rem}.sidebar-account{padding:0 .25rem}.sidebar-account .account-select{width:100%;max-width:none}.sidebar-account .account-name{display:block;padding:0 .5rem;color:var(--muted);font-size:.9rem}.sidebar-nav{flex:1;display:flex;flex-direction:column;gap:2px}.side-link{display:flex;align-items:center;gap:.75rem;min-height:44px;padding:0 .75rem;border-radius:var(--radius-sm);color:var(--ink);font-weight:500;text-decoration:none}.side-link svg{flex:none;color:var(--muted)}.side-link:hover{background:var(--bg)}.side-link.active{background:var(--ok-bg);color:var(--brand);font-weight:700}.side-link.active svg{color:var(--brand)}.side-link.soon:not(.active){color:var(--muted)}.side-link .soon-tag{margin-left:auto}.sidebar :focus-visible{outline-offset:-3px}.sidebar-label{margin:1rem .75rem .25rem;color:var(--muted);font-size:.75rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.sidebar-user{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.75rem 0 0 .25rem;border-top:1px solid var(--line)}.sidebar-user-link{display:flex;flex-direction:column;min-width:0;padding:.25rem .5rem;border-radius:var(--radius-sm);color:var(--ink);text-decoration:none}.sidebar-user-link:hover{background:var(--bg)}.sidebar-user-name{font-weight:600}.sidebar-user-name,.sidebar-user-account{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-user-account{font-size:.85rem}.rows-grid,.page-catalog .rows{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:.75rem;align-items:stretch}.rows-grid>li,.page-catalog .rows>li{display:flex;flex-direction:column}.rows-grid>li>.row,.page-catalog .rows>li>.row{flex:1}.places-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(440px,1fr));gap:1rem;align-items:start}.places-grid .rows.nested{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:.5rem}.places-grid .place-children{margin-left:.5rem;padding-left:1rem}.places-grid .place-children .place>.row{box-shadow:none}.places-grid>.place{padding:.75rem;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.places-grid>.place>.row{padding:.25rem .25rem .5rem;border:0;box-shadow:none}.places-grid>.place>.rows.nested{margin-left:.5rem}.today-groups{display:grid;grid-template-columns:repeat(auto-fill,minmax(420px,1fr));gap:0 1.5rem;align-items:start}.today-group:only-child{grid-column:1 / -1}.today-group:only-child .rows{display:grid;grid-template-columns:repeat(auto-fill,minmax(420px,1fr));gap:.5rem 1.5rem}.detail-layout{display:grid;grid-template-columns:340px minmax(0,1fr);gap:2.5rem;align-items:start}.detail-aside{position:sticky;top:2rem;display:flex;flex-direction:column;align-items:flex-start;gap:.25rem;padding:1.25rem;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.detail-aside h1{margin:.5rem 0 0}.detail-aside p{margin:.25rem 0}.detail-aside .row-tags{flex-direction:column;align-items:stretch;width:100%;margin-top:.75rem}.detail-aside .row-tags .btn,.detail-aside>.btn{width:100%;justify-content:flex-start;padding:0 .9rem}.detail-aside .chip-line{display:flex;flex-wrap:wrap;gap:.35rem}.detail-aside .chip{white-space:nowrap}.detail-main>.register-card:first-child,.detail-main>:first-child+.register-card{margin-top:0}.detail-main .tabs{margin-top:.5rem}.care-sheet{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem 1.5rem;align-items:start;margin-top:1rem}.care-sheet>.disclaimer{grid-column:1 / -1;margin:0}.care-sheet>section{padding:.25rem 1.25rem 1rem;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius)}.care-sheet>section h3{margin-top:.75rem}.page>.form,.page>form,.page>.register-card,.page>.fieldset,.page>.notice,.page>.alert{max-width:720px}.page-catalog .browser>.field,.page>.field{max-width:480px}.page>.btn-block{width:auto;min-width:280px}.page>.menu-list{max-width:720px}.page>.notice>.btn,.page>.form>.btn,.page>form>.btn{align-self:flex-start;min-width:200px}}.quarantine-banner{background:var(--warn-bg);border-radius:var(--radius-sm);padding:.75rem 1rem;margin:.75rem 0}.quarantine-banner p{margin:0 0 .5rem}.chip-warn{background:var(--warn-bg);color:var(--warn-ink)}.inline-form{display:flex;gap:.5rem;align-items:stretch;margin:.5rem 0}.inline-form input{flex:1;min-width:0}.card-grid{list-style:none;padding:0;margin:0;display:grid;gap:.75rem}.card-grid .card{display:flex;flex-direction:column;gap:.4rem}.card-grid .card>.chip{align-self:flex-start}.chart-band{fill:var(--ok-bg)}.chart-grid{display:grid;gap:1rem}.card-warn{border-color:var(--warn-ink)}@media (min-width: 900px){.chart-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.card-grid{grid-template-columns:repeat(auto-fill,minmax(320px,1fr))}}.filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:0 .75rem}.row-check{display:flex;flex-wrap:nowrap;gap:.75rem}.row-check .row-main{flex:1;min-width:0}.row-check input{width:22px;height:22px;flex:none;accent-color:var(--brand)}.row-check.on{border-color:var(--brand)}.bulk-bar{position:sticky;bottom:calc(64px + env(safe-area-inset-bottom));z-index:4;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem;margin-top:1rem;padding:.75rem 1rem;background:var(--surface);border:1px solid var(--brand);border-radius:var(--radius);box-shadow:0 4px 16px #0000001f}.bulk-bar>span:first-child{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}.sequence{display:flex;flex-direction:column;gap:.75rem}.sequence .page-head,.sequence-last{margin:0}.row-with-action{display:flex;flex-direction:column;gap:.5rem}.row-with-action>.btn{align-self:flex-start}.today-group-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem}@media (min-width: 900px){.bulk-bar{bottom:1rem}.sequence{max-width:720px}}.steps{list-style:none;display:flex;flex-wrap:wrap;gap:.5rem;padding:0;margin:1rem 0}.step{display:flex;align-items:center;gap:.4rem;padding:.35rem .75rem .35rem .35rem;border:1px solid var(--line);border-radius:999px;color:var(--muted);font-size:.9rem}.step-num{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--line);color:var(--ink);font-weight:700;font-size:.8rem}.step.on{border-color:var(--brand);color:var(--ink);font-weight:600}.step.on .step-num{background:var(--brand);color:#fff}.step.past .step-num{background:var(--ok-bg);color:var(--brand)}.onboarding-banner{flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between;margin-top:0}.family-tree{display:grid;grid-template-columns:1fr;gap:1rem}@media (min-width: 900px){.family-tree{grid-template-columns:repeat(3,1fr);align-items:start}}.family-generation{display:flex;flex-direction:column;gap:.5rem}.family-generation h3{margin:0;font-size:.9rem;color:var(--muted)}.family-node{display:flex;flex-direction:column;padding:.5rem .75rem;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);text-decoration:none;color:inherit}a.family-node:hover{border-color:var(--brand)}.family-children{margin:.25rem 0 .5rem;padding-left:1.25rem}.family-children li{margin:.25rem 0}.band-preview{margin:0;font-size:1.5rem;letter-spacing:.04em}.sispass-row{align-items:flex-start;flex-wrap:wrap}.sispass-row .row-main{gap:.15rem}.sispass-line{display:block;margin-top:.35rem;padding:.4rem .5rem;background:var(--bg);border-radius:var(--radius-sm);font-size:.8rem;white-space:pre-wrap;word-break:break-word}.id-row{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}.id-row select{flex:0 1 11rem}.id-row input{flex:1 1 8rem;min-width:0}.term-sheet{max-width:210mm;margin:1rem auto;padding:clamp(1rem,5vw,20mm);overflow-wrap:anywhere;background:#fff;color:#111;border:1px solid var(--line);white-space:pre-wrap;font:12pt/1.6 Georgia,Times New Roman,serif}@media print{@page{size:A4;margin:18mm}body *{visibility:hidden}.term-sheet,.term-sheet *{visibility:visible}.term-sheet{position:absolute;inset:0 auto auto 0;width:100%;max-width:none;margin:0;padding:0;border:0}}.public-page{max-width:640px;margin:0 auto;padding:1.5rem 1rem 3rem}.public-photo{width:100%;max-height:320px;object-fit:cover;border-radius:12px}.public-actions{display:grid;gap:.75rem;margin:1rem 0}.report-sheet{white-space:normal;font:11pt/1.5 system-ui,sans-serif}.report-sheet h1{margin:.2rem 0}.report-sheet h2{margin-top:1.2rem;border-bottom:1px solid #ccc}.report-head{display:flex;gap:1rem;justify-content:space-between;align-items:flex-start}.report-photo{width:110px;height:110px;object-fit:cover;border-radius:8px}.report-table{width:100%;border-collapse:collapse;font-size:10pt}.report-table th,.report-table td{padding:.2rem .4rem;border-bottom:1px solid #ddd;text-align:left}.report-sheet section,.report-block{break-inside:avoid-page}.report-foot{margin-top:1.5rem;font-size:9pt}.danger-zone{border:1px solid var(--danger);border-radius:var(--radius-sm);padding:1rem}.report-chart{max-width:520px}.report-chart svg{max-height:220px}
