:root{--bg: #f2f1ec;--surface: #ffffff;--surface-2: #f7f6f2;--ink: #1c2725;--muted: #5d6966;--faint: #8a938f;--line: #e2e4df;--line-strong: #cdd2cc;--accent: #2f4b45;--accent-press: #233a35;--accent-ink: #ffffff;--accent-soft: #e2ebe7;--danger: #b3261e;--ok: #2f7a52;--wall: #2f3e3b;--st-a_verifier: #b06d06;--st-a_verifier-soft: #fbefd8;--st-incertaine: #c2452d;--st-incertaine-soft: #fbe3dc;--st-a_relever: #56668a;--st-a_relever-soft: #e6eaf3;--st-verifiee: #2b8556;--st-verifiee-soft: #def1e6;--tone-warm: #f3ece0;--tone-cool: #e4ede9;--tone-wet: #e5edf3;--tone-light: #fbfaf6;--tone-neutral: #eeeee9;--material: rgba(247, 246, 242, .78);--material-border: rgba(0, 0, 0, .08);--radius: 14px;--radius-sm: 10px;--shadow: 0 1px 2px rgba(28, 39, 37, .05), 0 6px 20px rgba(28, 39, 37, .06);--ease-out: cubic-bezier(.22, 1, .36, 1);--top-h: calc(52px + env(safe-area-inset-top, 0px)) ;--tab-h: calc(56px + env(safe-area-inset-bottom, 0px)) ;font:100%/1.45 system-ui,-apple-system,SF Pro Text,Segoe UI,Roboto,sans-serif;color:var(--ink);background:var(--bg);color-scheme:light}*{box-sizing:border-box}html{-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:100%;overscroll-behavior:none}body{margin:0;background:var(--bg);min-height:100dvh}button,input,select,textarea{font:inherit;color:inherit}h1,h2,h3{margin:0;font-weight:700}h2{font-size:1.15rem;line-height:1.25;letter-spacing:-.01em}h3{font-size:.95rem}p{margin:0}.muted{color:var(--muted)}.small{font-size:.82rem}.boot{padding:48px 16px;text-align:center;color:var(--muted)}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}button,a,[role=button],.seg-opt,summary{touch-action:manipulation;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}button,.ghost,a.ghost,a.btn{cursor:pointer;border-radius:var(--radius-sm);border:1px solid transparent;padding:9px 16px;min-height:44px;background:none;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:6px;font-weight:600;transition:transform .12s var(--ease-out),background-color .12s,opacity .12s}button:active:not(:disabled),a.ghost:active,a.btn:active{transform:scale(.97)}button:disabled{opacity:.45;cursor:default}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.primary{background:var(--accent);color:var(--accent-ink)}.primary:active:not(:disabled){background:var(--accent-press)}.ghost,a.ghost{border-color:var(--line-strong);background:var(--surface);color:var(--ink)}.ghost:active{background:var(--accent-soft)}.ghost.small,a.ghost.small,button.small{padding:5px 12px;min-height:36px;font-size:.85rem}.wide{width:100%}a.btn{flex:1 1 auto}a.primary{border-color:var(--accent)}.link{padding:0;min-height:32px;color:var(--accent);text-decoration:underline;font-size:.85rem;font-weight:500}.danger-link{padding:0;min-height:40px;color:var(--danger);font-size:.85rem;font-weight:500}.verify{background:var(--st-verifiee-soft);color:var(--st-verifiee)}.verify:active:not(:disabled){background:#cde9d8}.icon-btn{width:36px;height:36px;min-height:36px;padding:0;border-radius:50%;background:var(--surface-2);color:var(--muted);flex:none}@media(hover:hover)and (pointer:fine){.primary:hover:not(:disabled){background:var(--accent-press)}.ghost:hover:not(:disabled),a.ghost:hover{background:var(--accent-soft)}.verify:hover:not(:disabled){background:#cde9d8}.icon-btn:hover{background:var(--line);color:var(--ink)}.tabs button:hover:not(.on){background:var(--accent-soft);color:var(--ink)}.row:hover{background:var(--surface-2)}.chip:hover:not(.on){border-color:var(--faint)}.zoom-ctl button:hover{background:var(--accent-soft)}.dim:hover .dim-line{stroke-width:.045}.dim:hover .dim-text{font-size:.28px}.disclosure summary:hover{background:var(--surface-2)}}input,select,textarea{width:100%;border:1px solid var(--line-strong);border-radius:var(--radius-sm);padding:10px 12px;background:var(--surface);min-height:44px;font-size:16px}textarea{resize:vertical}.field{display:flex;flex-direction:column;gap:6px;margin:0 0 14px;border:0;padding:0;min-width:0}.field>span{font-size:.82rem;font-weight:600;color:var(--muted)}.field em{font-weight:400;font-style:normal}.field small{color:var(--muted);font-size:.8rem}.check{display:flex;gap:10px;align-items:center;margin-bottom:14px}.check input{width:20px;height:20px;min-height:0}.stack{display:flex;flex-direction:column}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:12px}.error{color:var(--danger);font-size:.9rem;margin:8px 0}.ok{color:var(--ok);font-size:.9rem;margin:8px 0}.empty{color:var(--muted);padding:24px 0;text-align:center}.st-a_verifier{--c: var(--st-a_verifier);--cs: var(--st-a_verifier-soft)}.st-incertaine{--c: var(--st-incertaine);--cs: var(--st-incertaine-soft)}.st-a_relever{--c: var(--st-a_relever);--cs: var(--st-a_relever-soft)}.st-verifiee{--c: var(--st-verifiee);--cs: var(--st-verifiee-soft)}.dot{width:9px;height:9px;border-radius:50%;display:inline-block;background:var(--c, currentColor);flex:none}.pill{display:inline-block;font-size:.75rem;font-weight:600;padding:2px 8px;border-radius:999px;white-space:nowrap}.pill[class*=st-]{color:var(--c);background:var(--cs)}.pill.admin{background:var(--accent-soft);color:var(--accent);margin-left:6px}.segmented{position:relative;display:grid;grid-template-columns:repeat(var(--n),1fr);background:#7676801f;border-radius:10px;padding:2px;isolation:isolate}.segmented button{min-height:34px;padding:4px 10px;border-radius:8px;font-size:.88rem;font-weight:600;color:var(--muted);background:none;position:relative;z-index:1;white-space:nowrap}.segmented button:active:not(:disabled){transform:none;opacity:.6}.segmented button.on{color:var(--ink)}.segmented-thumb{position:absolute;z-index:0;top:2px;bottom:2px;left:2px;width:calc((100% - 4px) / var(--n));transform:translate(calc(var(--i) * 100%));background:var(--surface);border-radius:8px;box-shadow:0 1px 2px #00000014,0 3px 8px #00000014;transition:transform .28s var(--ease-out)}.segmented.size-sm button{min-height:30px;font-size:.8rem}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:18px}.topbar{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:16px;padding:calc(10px + env(safe-area-inset-top,0px)) max(20px,env(safe-area-inset-right,0px)) 10px max(20px,env(safe-area-inset-left,0px));background:var(--material);-webkit-backdrop-filter:blur(20px) saturate(180%);backdrop-filter:blur(20px) saturate(180%);border-bottom:1px solid var(--material-border)}.brand{display:flex;align-items:center;gap:10px;font-weight:700;white-space:nowrap;min-width:0}.screen-title{font-size:1.06rem;font-weight:700;letter-spacing:-.01em;overflow:hidden;text-overflow:ellipsis}.logo{width:28px;height:28px;border-radius:7px;flex:none;background:var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M8 22V12l8-5 8 5v10' fill='none' stroke='white' stroke-width='2.4' stroke-linejoin='round'/%3E%3Cpath d='M6 26h20' stroke='%23e9b44c' stroke-width='2.4'/%3E%3C/svg%3E") center / 100% no-repeat}.logo.big{width:52px;height:52px;border-radius:13px;margin-bottom:14px}.tabs{display:flex;gap:4px;flex:1}.tabs button{padding:8px 14px;color:var(--muted);white-space:nowrap}.tabs button.on{background:var(--accent);color:var(--accent-ink)}.top-right{display:flex;align-items:center;gap:8px;margin-left:auto}.ver-badge{font-size:.78rem;font-weight:700;color:var(--accent);background:var(--accent-soft);border-radius:999px;padding:3px 9px;font-variant-numeric:tabular-nums}.content{padding:20px;max-width:1500px;margin:0 auto}.plan-page{display:grid;grid-template-columns:minmax(0,1fr) 420px;gap:18px;align-items:start}.plan-card{padding:14px}.side{position:sticky;top:76px;max-height:calc(100dvh - 96px);overflow-y:auto;overscroll-behavior:contain;padding:0}.side>.dim-table{padding:16px}.plan-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:10px}.progress{flex:1;min-width:150px}.progress-text{font-size:.82rem;color:var(--muted);margin-bottom:4px;font-variant-numeric:tabular-nums}.progress-text b{color:var(--ink);font-size:.95rem}.bar{height:5px;border-radius:3px;background:var(--line);overflow:hidden}.bar>div{height:100%;background:var(--st-verifiee);transition:width .4s var(--ease-out)}.plan-foot{font-size:.78rem;color:var(--muted);margin:8px 2px 0}.plan-stage{position:relative}.notice{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 14px;border-radius:var(--radius-sm);padding:10px 14px;margin:0 0 12px;font-size:.9rem}.notice button{background:var(--surface);border-color:var(--line-strong);min-height:36px;padding:4px 12px}.notice.warn{background:var(--st-a_verifier-soft);color:#74490a}.place-banner{position:absolute;z-index:3;left:10px;right:58px;top:10px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 10px;padding:8px 8px 8px 14px;border-radius:14px;background:#2f4b45e6;color:#fff;font-size:.88rem;font-weight:600;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:0 6px 20px #0000002e;animation:rise .26s var(--ease-out)}.place-actions{display:flex;gap:6px}.place-banner button{min-height:34px;padding:4px 12px;background:#ffffff2e;color:#fff;font-size:.84rem}@keyframes rise{0%{opacity:0;transform:translateY(-6px)}}.plan-wrap{position:relative;border-radius:12px;background:#fcfcfa;border:1px solid var(--line);overflow:hidden}.plan-wrap.is-placing{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.plan-wrap.is-placing .plan-svg{cursor:crosshair}.plan-svg{display:block;width:100%;height:min(72vh,760px);touch-action:none;-webkit-user-select:none;user-select:none;cursor:grab}.plan-svg:active{cursor:grabbing}.zoom-ctl{position:absolute;right:10px;top:10px;display:flex;flex-direction:column;overflow:hidden;border-radius:12px;box-shadow:var(--shadow);border:1px solid var(--material-border);background:var(--material);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.zoom-ctl button{width:44px;height:44px;min-height:44px;padding:0;border-radius:0;font-size:1.2rem;font-weight:500}.zoom-ctl button+button{border-top:1px solid var(--material-border)}.outline-fill{fill:var(--tone-light)}.outline{fill:none;stroke:var(--wall);stroke-width:.2;stroke-linejoin:miter}.room{stroke:var(--wall);stroke-width:.1}.room.no-border{stroke:none}.tone-warm{fill:var(--tone-warm)}.tone-cool{fill:var(--tone-cool)}.tone-wet{fill:var(--tone-wet)}.tone-light{fill:var(--tone-light)}.tone-neutral{fill:var(--tone-neutral)}.wall{stroke:var(--wall);stroke-width:.1}.variant-wall{stroke:#3d8a63;stroke-width:.14}.wall-removed{stroke:#3d8a63;stroke-width:.04;stroke-dasharray:.12 .12;opacity:.6}.wall-dashed{stroke:var(--wall);stroke-width:.04;stroke-dasharray:.12 .1}.window{stroke:#8fc1d9;stroke-width:.12}.door-gap{stroke:#fcfcfa;stroke-width:.24}.door-leaf{stroke:var(--wall);stroke-width:.035;stroke-linecap:round}.door-arc{fill:none;stroke:var(--wall);stroke-width:.018;opacity:.7}.stairs rect{fill:#e7e5df;stroke:var(--wall);stroke-width:.03}.stairs line{stroke:#8a8f8b;stroke-width:.02}.stairs .stairs-arrow{stroke:var(--wall);stroke-width:.025;fill:none}.fixture rect{fill:#ece5d6;stroke:#b9b19f;stroke-width:.02}.fixture text{font-size:.17px;fill:var(--muted);text-anchor:middle;dominant-baseline:middle}.room-label{font-size:.3px;font-weight:700;fill:var(--ink);text-anchor:middle;dominant-baseline:middle;pointer-events:none;letter-spacing:-.005px}.room-label.small{font-size:.2px}.room-sub{font-size:.19px;font-weight:400;fill:var(--muted);text-anchor:middle;pointer-events:none}.marker circle{fill:none;stroke:var(--danger);stroke-width:.04}.marker text{font-size:.17px;fill:var(--danger);font-weight:600}.dim{cursor:pointer}.dim-hit{stroke:transparent;stroke-width:.45}.dim-line{stroke:var(--c);stroke-width:.025}.dim-tick{stroke:var(--c);stroke-width:.03}.dim-text{font-size:.25px;font-weight:700;fill:var(--c);text-anchor:middle;paint-order:stroke;stroke:#fcfcfa;stroke-width:.07;stroke-linejoin:round;font-variant-numeric:tabular-nums}.dim:active .dim-text{font-size:.3px}.dim.is-selected .dim-line{stroke-width:.06}.dim.is-selected .dim-text{font-size:.32px;fill:#fff;stroke:var(--c);stroke-width:.14}.draft-line{stroke:var(--accent);stroke-width:.06;stroke-dasharray:.15 .08}.draft-point{fill:var(--accent)}.draft-hover{fill:none;stroke:var(--accent);stroke-width:.03}.list-tools{display:flex;flex-direction:column;gap:10px;margin-bottom:4px}.search{background:#7676801a;border-color:transparent}.chips{display:flex;gap:6px;flex-wrap:wrap}.chip{min-height:34px;padding:4px 12px;font-size:.82rem;border:1px solid var(--line-strong);background:var(--surface);border-radius:999px;white-space:nowrap}.chip .dot{background:var(--c)}.chip span{color:var(--muted);font-variant-numeric:tabular-nums;font-weight:500}.chip.on{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}.chip.on span,.chip.on .dot{color:inherit}.chip.on .dot{background:currentColor}.kicker{font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.14em;color:var(--accent);margin:0 0 2px}.summary-card{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:14px 14px 12px;box-shadow:var(--shadow)}.summary-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}.summary-big{font-size:1rem;color:var(--muted);font-variant-numeric:tabular-nums}.summary-big b{font-size:1.9rem;line-height:1;color:var(--ink);letter-spacing:-.03em}.summary-big span{font-size:.88rem}.summary-pct{font-size:.9rem;font-weight:700;color:var(--st-verifiee);background:var(--st-verifiee-soft);padding:4px 10px;border-radius:999px;font-variant-numeric:tabular-nums}.stack-bar{display:flex;gap:2px;height:8px;border-radius:4px;overflow:hidden;margin:12px 0;background:var(--line)}.stack-bar span{background:var(--c);min-width:4px;transition:flex-grow .4s var(--ease-out)}.summary-filters{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}.sf{flex-direction:column;align-items:flex-start;gap:1px;min-height:54px;padding:7px 8px;border-radius:10px;background:var(--surface-2);border:1px solid transparent;font-weight:500;text-align:left}.sf b{font-size:1.1rem;line-height:1.1;font-variant-numeric:tabular-nums}.sf span{display:inline-flex;align-items:center;gap:4px;font-size:.68rem;color:var(--muted);white-space:nowrap}.sf .dot{width:7px;height:7px}.sf.on{background:var(--surface);border-color:var(--c, var(--accent));box-shadow:inset 0 0 0 1px var(--c, var(--accent))}.sf.on b{color:var(--c, var(--accent))}.summary-foot{margin-top:10px}.search-wrap{position:relative;margin:12px 0 2px}.search-wrap .search{padding-left:38px}.search-icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:var(--faint);pointer-events:none}.group{margin-top:16px}.group-head{width:100%;display:grid;grid-template-columns:auto auto 1fr auto;align-items:center;gap:10px;min-height:38px;padding:4px 6px 4px 14px;border-radius:10px;font-weight:600;text-align:left}.group-head:active:not(:disabled){transform:none;background:#76768014}.group-name{font-size:.78rem;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}.group-count{font-size:.76rem;color:var(--faint);font-variant-numeric:tabular-nums;font-weight:500}.group-bar{height:4px;border-radius:2px;background:var(--line);overflow:hidden;max-width:120px;justify-self:end;width:100%}.group-bar span{display:block;height:100%;background:var(--st-verifiee)}.group-chev{color:var(--faint);transition:transform .22s var(--ease-out)}.group-chev.closed{transform:rotate(-90deg)}.inset-list{list-style:none;margin:6px 0 0;padding:0;background:var(--surface);border:1px solid var(--line);border-radius:14px;overflow:hidden}.inset-list li+li .row:before{content:"";position:absolute;top:0;left:62px;right:0;border-top:1px solid var(--line)}.row{position:relative;width:100%;display:grid;grid-template-columns:36px minmax(0,1fr) auto 14px;align-items:center;column-gap:12px;text-align:left;padding:11px 12px 11px 14px;min-height:64px;border-radius:0;font-weight:400}.row:active:not(:disabled){transform:none;background:var(--surface-2)}.row.on{background:var(--accent-soft)}.kind-tile{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:var(--cs);color:var(--c)}.row-main{display:flex;flex-direction:column;gap:4px;min-width:0}.row-title{font-size:.95rem;line-height:1.25;font-weight:600;letter-spacing:-.005em}.row-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.row-meta .pill{font-size:.7rem;padding:2px 7px;color:var(--c);background:var(--cs)}.row-code{font-size:.72rem;color:var(--faint);font-weight:600;font-variant-numeric:tabular-nums}.row-flag{display:inline-flex;align-items:center;gap:3px;font-size:.7rem;color:var(--faint)}.row-note{font-size:.78rem;color:var(--muted);line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.row-val{text-align:right;font-weight:700;font-variant-numeric:tabular-nums;font-size:1rem;white-space:nowrap;letter-spacing:-.01em}.row-val.empty{font-size:.74rem;font-weight:600;color:var(--muted);background:var(--surface-2);border:1px dashed var(--line-strong);padding:4px 8px;border-radius:8px;letter-spacing:0}.row-chev{color:var(--faint)}.empty-state{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;padding:32px 16px;color:var(--muted)}.empty-state.big{padding:44px 20px}.empty-state h3{font-size:1.15rem;color:var(--ink)}.code{font-size:.75rem;font-weight:700;color:var(--muted);font-variant-numeric:tabular-nums}.editor{display:flex;flex-direction:column}.editor-head{display:flex;align-items:flex-start;gap:12px;padding:16px 16px 6px}.editor-title{flex:1;min-width:0}.editor-title h2{font-size:1.25rem;line-height:1.2;letter-spacing:-.015em;margin-top:4px}.editor-title p{margin-top:3px}.code-badge{display:inline-block;font-weight:700;font-size:.74rem;color:var(--accent);background:var(--accent-soft);padding:2px 8px;border-radius:999px;font-variant-numeric:tabular-nums}.editor>.notice{margin:6px 16px 0;flex-direction:column;align-items:flex-start}.editor-form{padding:8px 16px 0}.value-field{display:flex;align-items:baseline;gap:8px;margin-top:6px}.value-field input{font-size:2.6rem;font-weight:700;letter-spacing:-.025em;line-height:1.1;font-variant-numeric:tabular-nums;min-height:68px;padding:6px 14px;border-radius:14px;background:var(--surface-2);border-color:transparent}.value-field input:focus{background:var(--surface);border-color:var(--accent);outline:none;box-shadow:0 0 0 3px var(--accent-soft)}.value-field b{font-size:1.3rem;color:var(--muted);font-weight:600}.value-hint{font-size:.8rem;color:var(--muted);margin:6px 2px 0}.status-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;border:0;padding:0;margin:14px 0 6px}.seg-opt{display:flex;align-items:center;gap:8px;position:relative;border:1px solid var(--line-strong);border-radius:var(--radius-sm);padding:10px 12px;min-height:46px;cursor:pointer;font-size:.9rem;font-weight:500;background:var(--surface);transition:background-color .12s,border-color .12s,transform .12s var(--ease-out)}.seg-opt:active{transform:scale(.97)}.seg-opt input{position:absolute;opacity:0;width:1px;height:1px;min-height:0}.seg-opt .dot{background:var(--c)}.seg-opt.on{border-color:var(--c);background:var(--cs);font-weight:700;box-shadow:inset 0 0 0 1px var(--c)}.seg-opt:focus-within{outline:2px solid var(--accent);outline-offset:2px}.disclosure{border-top:1px solid var(--line);margin:10px -16px 0}.disclosure summary{list-style:none;display:flex;align-items:center;gap:10px;cursor:pointer;padding:14px 16px;min-height:52px;font-weight:600}.disclosure summary::-webkit-details-marker{display:none}.summary-hint{flex:1;text-align:right;font-weight:400}.disclosure .chev{color:var(--faint);transition:transform .22s var(--ease-out);flex:none}.disclosure[open] .chev{transform:rotate(90deg)}.disclosure-body{padding:4px 16px 14px}.geom-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.geom-row .muted{flex:1}.editor-actions{position:sticky;bottom:0;z-index:2;display:flex;gap:8px;margin:10px -16px 0;padding:12px 16px;background:var(--material);-webkit-backdrop-filter:blur(20px) saturate(180%);backdrop-filter:blur(20px) saturate(180%);border-top:1px solid var(--material-border)}.editor-actions button{flex:1 1 0;min-height:50px;font-size:1rem}.timeline{list-style:none;margin:0 0 6px;padding:0 0 0 14px;border-left:2px solid var(--line)}.timeline>li{position:relative;padding:0 0 14px 12px}.timeline>li:before{content:"";position:absolute;left:-21px;top:4px;width:10px;height:10px;border-radius:50%;background:var(--surface);border:2px solid var(--accent)}.tl-head{display:flex;flex-wrap:wrap;gap:4px 10px;font-size:.82rem;align-items:baseline}.tl-head time{color:var(--muted)}.ver{font-weight:700;color:var(--accent);font-variant-numeric:tabular-nums}.tl-changes{margin:3px 0;padding-left:16px;font-size:.85rem}.tl-msg{font-size:.85rem;color:var(--muted);font-style:italic;margin:2px 0}.account-page{display:grid;gap:16px;max-width:980px;margin:0 auto}.account-page h2{margin-bottom:12px}.history-page{display:grid;gap:16px;max-width:980px;margin:0 auto;min-width:0}.history-hero{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px;padding:4px 2px}.hero-left{display:flex;align-items:center;gap:14px;min-width:0}.hero-tile{width:52px;height:52px;flex:none;border-radius:16px;display:grid;place-items:center;color:var(--accent);background:var(--accent-soft);border:1px solid rgba(47,75,69,.15)}.history-hero h1{font-size:2rem;line-height:1.05;letter-spacing:-.025em}.history-hero .muted{font-size:.9rem;margin-top:4px}.hero-count{display:flex;flex-direction:column;gap:2px;background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:10px 16px;box-shadow:var(--shadow);min-width:150px}.hero-count span{font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}.hero-count b{font-size:1.6rem;line-height:1.1;color:var(--accent);font-variant-numeric:tabular-nums;letter-spacing:-.02em}.dim-filter-banner{display:flex;align-items:center;gap:10px;padding:8px 8px 8px 14px;border-radius:14px;background:var(--accent);color:#fff}.dim-filter-banner p{flex:1;min-width:0;font-size:.92rem}.dim-filter-banner .icon-btn{background:#ffffff2e;color:#fff}.hpanel{background:var(--surface);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);overflow:hidden}.hpanel-head{display:flex;align-items:center;gap:12px;padding:14px 16px;width:100%;text-align:left;font-weight:400;border-radius:0;min-height:0}.hpanel-head.as-button:active:not(:disabled){transform:none;background:var(--surface-2)}.hpanel+.hpanel .hpanel-head,.hpanel-body{border-top:0}.hpanel-icon{width:36px;height:36px;flex:none;border-radius:10px;display:grid;place-items:center;color:var(--accent);background:var(--accent-soft)}.hpanel-title{flex:1;min-width:0}.hpanel-title h2{font-size:1.05rem;margin:0}.hpanel-tools{display:flex;align-items:center;gap:6px}.count-pill{background:var(--accent);color:#fff;font-size:.72rem;font-weight:700;border-radius:999px;padding:2px 8px}.hpanel-body{padding:4px 16px 16px;border-top:1px solid var(--line)}.hpanel-body .search-wrap{margin-top:14px}.filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:14px}.filter-grid .field{margin:0}.filter-grid .field>span{display:inline-flex;align-items:center;gap:4px;text-transform:uppercase;letter-spacing:.05em;font-size:.7rem}.date-pair{display:grid;grid-template-columns:1fr 1fr;gap:8px;grid-column:span 1}.hpanel-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-top:14px;padding-top:12px;border-top:1px solid var(--line)}.hpanel-foot b{color:var(--ink)}.link-btn{min-height:36px;padding:4px 10px;color:var(--muted);font-weight:600;font-size:.86rem}.link-btn:active:not(:disabled){color:var(--accent)}.chev-flip{transition:transform .22s var(--ease-out)}.chev-flip.up{transform:rotate(180deg)}.journal{display:grid;gap:12px}.journal-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 12px;margin-top:6px}.journal-head h2{font-size:1.2rem}.version-card{background:var(--surface);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);overflow:hidden}.version-card.is-current{border-left:4px solid var(--accent)}.version-main{display:flex;gap:14px;padding:16px 16px 8px;min-width:0}.version-tile{width:42px;height:42px;flex:none;border-radius:12px;display:grid;place-items:center;background:var(--surface-2);color:var(--accent)}.version-body{flex:1;min-width:0}.version-badges{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px}.version-num{font-size:.76rem;font-weight:600;color:var(--muted);font-variant-numeric:tabular-nums}.hbadge{display:inline-flex;align-items:center;min-height:22px;padding:2px 9px;border-radius:999px;font-size:.7rem;font-weight:700;line-height:1}.hbadge-create{background:#e3f3e8;color:#1f6b3d}.hbadge-update{background:#e4edfa;color:#1e4f94}.hbadge-delete{background:#fbe4e2;color:#9b2620}.hbadge-restore{background:#efe6f8;color:#6436a0}.hbadge-default{background:#eeeeec;color:#555}.hbadge-current{background:var(--accent-soft);color:var(--accent);border:1px solid rgba(47,75,69,.2)}.version-title{font-size:1.02rem;line-height:1.3;margin-top:8px;letter-spacing:-.01em}.version-title .code{margin-right:4px}.version-summary{font-size:.9rem;margin-top:4px}.version-msg{font-size:.86rem;color:var(--muted);font-style:italic;margin-top:4px}.version-meta{display:flex;flex-wrap:wrap;gap:6px 16px;margin-top:10px;font-size:.82rem;color:var(--muted)}.version-meta span{display:inline-flex;align-items:center;gap:6px}.version-meta svg{color:var(--accent);opacity:.75;flex:none}.version-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px;padding:8px 16px 12px}.version-details{border-top:1px solid var(--line);background:var(--surface-2);padding:16px}.details-title{font-weight:700;font-size:1rem}.details-empty{margin-top:10px;padding:12px;border-radius:12px;background:var(--surface);border:1px solid var(--line);color:var(--muted);font-size:.9rem}.details-note{display:flex;align-items:center;gap:8px;margin-top:12px;padding:10px 12px;border-radius:12px;background:#efe6f8;color:#6436a0;font-size:.86rem}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}.field-card{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:12px;min-width:0}.field-name{font-weight:700;font-size:.88rem;margin-bottom:8px}.before-after{display:grid;grid-template-columns:1fr 1fr;gap:8px}.before-after.single{grid-template-columns:1fr}.ba{border-radius:10px;padding:8px 10px;min-width:0}.ba span{display:block;font-size:.66rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);margin-bottom:3px}.ba p{font-size:.88rem;overflow-wrap:anywhere;white-space:pre-wrap}.ba-before{background:var(--surface-2);border:1px solid var(--line)}.ba-after{background:#2f4b450f;border:1px solid rgba(47,75,69,.22)}.compare-form{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px 14px;margin:14px 0 6px}.compare-form label{display:flex;flex-direction:column;gap:4px;font-size:.78rem;font-weight:600;color:var(--muted)}.compare-form input{width:120px}.compare-list{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:10px}.compare-list li{background:var(--surface-2);border:1px solid var(--line);border-radius:14px;padding:12px;display:grid;gap:8px}.compare-title{font-weight:600}.hist-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-top:6px}.account-who{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-bottom:16px}.user-list{list-style:none;padding:0;margin:0 0 8px}.user-list li{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;padding:10px 0;border-bottom:1px solid var(--line)}.user-actions{display:flex;gap:6px;align-items:center}.actions{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0 10px}.section-title{margin:24px 0 10px;font-size:.95rem}.login{min-height:100dvh;display:grid;place-items:center;padding:max(16px,env(safe-area-inset-top)) 16px max(16px,env(safe-area-inset-bottom))}.login-card{width:100%;max-width:380px;padding:28px 24px}.login-card h1{font-size:1.6rem;line-height:1.1;letter-spacing:-.02em;margin-bottom:8px}.login-card>p{margin-bottom:18px}.toaster{position:fixed;z-index:60;left:0;right:0;bottom:24px;display:flex;justify-content:center;pointer-events:none;padding:0 16px}.toast{display:inline-flex;align-items:center;gap:8px;max-width:100%;padding:10px 16px;border-radius:999px;font-size:.9rem;font-weight:600;background:#1c2725eb;color:#fff;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:0 8px 24px #0003;animation:toast-in .32s var(--ease-out)}.toast svg{color:#7fd3a4;flex:none}@keyframes toast-in{0%{opacity:0;transform:translateY(12px) scale(.96)}}.update-banner{position:fixed;z-index:70;left:50%;transform:translate(-50%);top:calc(8px + env(safe-area-inset-top,0px));display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:center;width:max-content;max-width:calc(100% - 32px);padding:8px 8px 8px 16px;border-radius:14px;background:var(--accent);color:var(--accent-ink);box-shadow:0 8px 24px #0003;font-size:.9rem}.update-banner button{background:#fff;color:var(--accent);min-height:36px}.sheet-layer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40}.sheet-layer.is-parked{visibility:hidden;pointer-events:none}.sheet-scrim{position:absolute;top:0;right:0;bottom:0;left:0;background:#0f161452;opacity:0;touch-action:none}.sheet{position:absolute;left:0;right:0;bottom:var(--kb, 0px);display:flex;flex-direction:column;max-height:calc(100dvh - env(safe-area-inset-top,0px) - 28px - var(--kb, 0px));background:var(--surface);border-radius:16px 16px 0 0;box-shadow:0 -8px 40px #0000002e;will-change:transform}.sheet:after{content:"";position:absolute;left:0;right:0;top:100%;height:100vh;background:var(--surface)}.sheet-grip{flex:none;display:flex;justify-content:center;padding:8px 0 2px;touch-action:none;cursor:grab}.sheet-handle{width:38px;height:5px;border-radius:3px;background:var(--line-strong)}.sheet-body{overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;min-height:0}.sheet .editor-head{touch-action:none;padding-top:4px}.sheet .editor-actions{padding-bottom:calc(12px + env(safe-area-inset-bottom,0px))}.app.is-compact .topbar{position:fixed;left:0;right:0;top:0;height:var(--top-h);padding:env(safe-area-inset-top,0px) max(16px,env(safe-area-inset-right,0px)) 0 max(16px,env(safe-area-inset-left,0px))}.app.is-compact .logo{width:26px;height:26px}.app.is-compact .content{max-width:none;padding:calc(var(--top-h) + 12px) max(16px,env(safe-area-inset-right,0px)) calc(var(--tab-h) + 28px) max(16px,env(safe-area-inset-left,0px))}.tabbar{position:fixed;z-index:30;left:0;right:0;bottom:0;height:var(--tab-h);display:grid;grid-template-columns:repeat(4,1fr);padding:0 max(6px,env(safe-area-inset-right,0px)) env(safe-area-inset-bottom,0px) max(6px,env(safe-area-inset-left,0px));background:var(--material);-webkit-backdrop-filter:blur(20px) saturate(180%);backdrop-filter:blur(20px) saturate(180%);border-top:1px solid var(--material-border)}.tabbar button{flex-direction:column;gap:2px;min-height:0;padding:6px 0 0;border-radius:0;font-size:.68rem;font-weight:600;color:var(--faint)}.tabbar button:active:not(:disabled){transform:none;opacity:.55}.tabbar button.on{color:var(--accent)}.plan-page.compact{display:block}.app.is-compact .dim-text{font-size:.3px;stroke-width:.08}.app.is-compact .dim.is-selected .dim-text{font-size:.36px}.plan-page.compact.view-plan{display:flex;flex-direction:column;align-items:stretch;gap:10px;height:calc(100dvh - var(--top-h) - var(--tab-h) - 24px)}.plan-controls{display:flex;flex-direction:column;gap:8px;margin-bottom:10px}.plan-page.compact.view-list{max-width:720px;margin:0 auto}.plan-page.compact.view-plan .plan-controls{margin-bottom:0}.plan-controls .progress{display:flex;align-items:center;gap:10px}.plan-controls .progress-text{margin:0;white-space:nowrap}.plan-controls .bar{flex:1}.plan-page.compact .plan-stage{flex:1;min-height:0}.plan-page.compact .plan-wrap{height:100%;border-radius:14px}.plan-page.compact .plan-svg{height:100%}.plan-page.compact .place-banner{right:64px}.dim-table.is-compact .chips{flex-wrap:nowrap;overflow-x:auto;margin:0 -16px;padding:0 16px 2px;scrollbar-width:none;overscroll-behavior-x:contain}.dim-table.is-compact .chips::-webkit-scrollbar{display:none}.fab{position:fixed;z-index:25;right:max(18px,env(safe-area-inset-right,0px));bottom:calc(var(--tab-h) + 16px);width:56px;height:56px;min-height:56px;padding:0;border-radius:50%;background:var(--accent);color:#fff;box-shadow:0 6px 18px #2f4b4559,0 2px 4px #0000001f}.fab:active:not(:disabled){transform:scale(.92);background:var(--accent-press)}.app.is-compact .toaster{bottom:calc(var(--tab-h) + 16px)}@media(max-width:999px){.card{padding:16px}.two-col{grid-template-columns:1fr}.account-page h2{font-size:1.05rem}.history-hero h1{font-size:1.7rem}.hero-count{flex-direction:row;align-items:center;justify-content:space-between;width:100%}.filter-grid,.field-grid{grid-template-columns:1fr}.version-main{gap:12px;padding:14px 14px 6px}.version-tile{width:38px;height:38px}.version-actions{justify-content:stretch;padding:8px 14px 12px;border-top:1px solid var(--line);margin-top:6px}.version-actions .ghost{flex:1 1 auto}.summary-filters{grid-template-columns:repeat(2,1fr)}.summary-filters .sf{flex-direction:row;align-items:center;gap:8px;min-height:44px}.summary-filters .sf:first-child{grid-column:span 2}.sf span{font-size:.78rem}}.editor-photos{margin:14px 0 4px}.mini-title{display:flex;align-items:center;gap:6px;font-size:.78rem;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.06em;margin-bottom:8px}.photo-strip{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px;scrollbar-width:none;overscroll-behavior-x:contain;align-items:center}.photo-strip::-webkit-scrollbar{display:none}.photo-add{flex:none;flex-direction:column;gap:2px;width:72px;height:72px;min-height:72px;padding:0;border-radius:14px;border:1.5px dashed var(--line-strong);background:var(--surface-2);color:var(--accent);font-size:.74rem}.photo-thumb{flex:none;width:72px;height:72px;min-height:72px;padding:0;border-radius:14px;overflow:hidden;border:1px solid var(--line);background:var(--surface-2)}.photo-thumb img{width:100%;height:100%;object-fit:cover;display:block}.photo-empty{font-size:.8rem;color:var(--muted);line-height:1.35;max-width:220px}.spinner{width:20px;height:20px;border-radius:50%;border:2.5px solid var(--accent-soft);border-top-color:var(--accent);animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.photo-viewer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;background:#0a0e0df0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:calc(16px + env(safe-area-inset-top,0px)) 12px calc(16px + env(safe-area-inset-bottom,0px));animation:fade-in .2s var(--ease-out)}.photo-viewer img{max-width:100%;max-height:calc(100% - 64px);object-fit:contain;border-radius:8px}.photo-viewer-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;max-width:900px;margin-top:12px;color:#fffc;font-size:.86rem}.photo-viewer-actions{display:flex;gap:8px;align-items:center}.danger-ghost{background:#ffffff1a;color:#ff9c92;min-height:38px}.icon-btn.light{background:#ffffff24;color:#fff}@keyframes fade-in{0%{opacity:0}}.version-photo{display:inline-block;margin-top:10px;border-radius:12px;overflow:hidden;border:1px solid var(--line)}.version-photo img{display:block;width:140px;height:105px;object-fit:cover}.hbadge-photo{background:#fdf0dc;color:#8a5a07}.progress-row{display:flex;align-items:center;gap:10px}.progress-row .progress{min-width:0}.tour-start{flex:none;min-height:36px;padding:4px 12px;border-radius:999px;font-size:.84rem;background:var(--accent-soft);color:var(--accent)}.tour-start:active:not(:disabled){background:#d3e2dc}.tour-cta{margin-top:12px;min-height:48px;font-size:.96rem}@media(hover:hover)and (pointer:fine){.tour-start:hover:not(:disabled){background:#d3e2dc}.key:hover{background:var(--surface-2)}}.tour{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;background:var(--bg);display:flex;flex-direction:column;gap:10px;padding:calc(8px + env(safe-area-inset-top,0px)) max(16px,env(safe-area-inset-right,0px)) calc(12px + env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px));overflow-y:auto;overscroll-behavior:contain;animation:tour-in .32s var(--ease-out)}@keyframes tour-in{0%{opacity:0;transform:translateY(24px)}}@media(min-width:1000px){.tour{left:50%;right:auto;width:520px;transform:translate(-50%);box-shadow:0 0 0 100vmax #0f161459;animation:fade-in .22s var(--ease-out)}}.tour-top{display:flex;align-items:center;gap:12px}.tour-title{flex:1;min-width:0;text-align:center}.tour-title p:last-child{font-size:.95rem;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tour-title b{color:var(--ink);font-variant-numeric:tabular-nums}.tour-progress{height:4px;border-radius:2px;background:var(--line);overflow:hidden;flex:none}.tour-progress span{display:block;height:100%;background:var(--accent);transition:width .4s var(--ease-out)}.tour-plan{position:relative;flex:1 1 140px;min-height:120px;max-height:30vh}.tour-plan .plan-wrap,.tour-plan .plan-svg{height:100%}.tour-plan .zoom-ctl{display:none}.tour-offplan{position:absolute;left:10px;bottom:10px;font-size:.76rem;font-weight:600;color:var(--muted);background:var(--material);padding:4px 10px;border-radius:999px;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.tour-card{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:14px;box-shadow:var(--shadow);flex:none}.tour-card-head{display:flex;align-items:center;gap:12px}.tour-card-title{flex:1;min-width:0}.tour-card-title h2{font-size:1.12rem;line-height:1.2;letter-spacing:-.01em}.tour-card-title .pill{color:var(--c);background:var(--cs);font-size:.7rem;padding:1px 7px}.photo-toggle{position:relative}.photo-toggle.has{color:var(--accent);background:var(--accent-soft)}.badge-dot{position:absolute;top:-3px;right:-3px;min-width:17px;height:17px;border-radius:9px;background:var(--accent);color:#fff;font-size:.66rem;font-weight:700;display:grid;place-items:center;padding:0 4px}.tour-note{font-size:.84rem;color:var(--muted);margin-top:8px;line-height:1.4}.tour-card .photo-strip{margin-top:10px}.tour-value{display:flex;align-items:baseline;justify-content:center;gap:8px;margin-top:12px;font-variant-numeric:tabular-nums}.tour-value span{font-size:3rem;font-weight:700;letter-spacing:-.035em;line-height:1}.tour-value b{font-size:1.3rem;color:var(--muted);font-weight:600}.tour-value.placeholder span{color:var(--faint)}.tour-hint{text-align:center;font-size:.8rem;color:var(--muted);margin-top:6px}.keypad{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;flex:none}.key{min-height:54px;border-radius:14px;background:var(--surface);border:1px solid var(--line);font-size:1.5rem;font-weight:500;color:var(--ink);box-shadow:0 1px #0000000f;transition:transform 80ms var(--ease-out),background-color 80ms}.key:active:not(:disabled){transform:scale(.95);background:var(--line)}.key-del{color:var(--muted)}.tour-actions{display:grid;grid-template-columns:1fr 1fr 1.4fr;gap:8px;flex:none}.tour-actions button{min-height:54px;font-size:.95rem}.uncertain{background:var(--st-incertaine-soft);color:var(--st-incertaine)}.uncertain:active:not(:disabled){background:#f6d2c8}.verify.strong{background:var(--st-verifiee);color:#fff}.verify.strong:active:not(:disabled){background:#22704a}.tour-end{margin:auto;width:100%;max-width:420px;display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center}.hero-tile.big{width:72px;height:72px;border-radius:22px;color:var(--st-verifiee);background:var(--st-verifiee-soft)}.tour-end h2{font-size:1.6rem;letter-spacing:-.02em}.tour-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;width:100%;margin:8px 0}.tour-stats div{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:12px 6px;display:flex;flex-direction:column}.tour-stats b{font-size:1.6rem;font-variant-numeric:tabular-nums}.tour-stats span{font-size:.78rem;color:var(--muted)}@media(max-height:700px){.tour-plan{max-height:22vh;min-height:90px}.key{min-height:46px;font-size:1.3rem}.tour-value span{font-size:2.4rem}.tour-actions button{min-height:48px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:1ms!important;transition-duration:1ms!important}button:active:not(:disabled){transform:none}}@media(prefers-reduced-transparency:reduce){:root{--material: #f7f6f2}.topbar,.tabbar,.editor-actions,.zoom-ctl,.toast,.place-banner{-webkit-backdrop-filter:none;backdrop-filter:none}}@media(prefers-contrast:more){:root{--material: #f7f6f2;--material-border: rgba(0, 0, 0, .35);--line: #b9bfb9;--muted: #3f4946}}
