@import"https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,700&family=Figtree:wght@400;500;600;700&display=swap";:root{--bg: #0f1311;--surface: #151a17;--surface-2: #1b221e;--border: #26302b;--text: #e9eee7;--text-muted: #93a096;--accent: #f2b35b;--on-accent: #231a08;--danger: #ef8a7a;--plan-ground: #26302a;--radius: 12px;--font-body: "Figtree", system-ui, sans-serif;--font-display: "Bricolage Grotesque", "Figtree", sans-serif;color-scheme:dark}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{background:var(--bg);color:var(--text);font-family:var(--font-body);font-size:14px;line-height:1.4}.app-shell{display:flex;flex-direction:column;height:100%}.topbar{height:64px;flex:none;display:flex;align-items:center;padding:0 20px;background:var(--surface);border-bottom:1px solid var(--border)}.brand{display:flex;flex-direction:column}.eyebrow{font-size:11px;letter-spacing:.09em;text-transform:uppercase;color:var(--text-muted)}.title{font-family:var(--font-display);font-size:22px;font-weight:700;line-height:1.1}.topbar{gap:14px}.topbar-spacer{flex:1}.demo-badge{font-size:11px;font-weight:600;padding:3px 8px;border-radius:999px;background:#f2b35b24;color:var(--accent)}.user-email{color:var(--text-muted)}button{font:inherit;color:inherit}.btn-primary,.btn-ghost,.btn-link,.icon-btn{cursor:pointer;border:0}.btn-primary{height:42px;border-radius:10px;background:var(--accent);color:var(--on-accent);font-weight:700}.btn-primary:disabled{opacity:.45;cursor:default}.btn-ghost{height:34px;padding:0 14px;border-radius:8px;background:var(--surface-2);border:1px solid var(--border)}.btn-ghost:hover{border-color:#3a4740}.btn-link{background:none;color:var(--text-muted);text-decoration:underline;padding:4px}.icon-btn{width:32px;height:32px;border-radius:8px;background:transparent;font-size:22px;line-height:1;color:var(--text-muted)}.icon-btn:hover{background:var(--surface-2);color:var(--text)}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.splash{height:100%}.login{min-height:100%;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 20% 15%,rgba(79,127,73,.22),transparent 45%),radial-gradient(circle at 85% 90%,rgba(242,179,91,.12),transparent 40%),var(--bg)}.login-card{width:100%;max-width:380px;padding:32px;border-radius:18px;background:var(--surface);border:1px solid var(--border);box-shadow:0 24px 60px #00000059}.login-card .title{margin:2px 0 24px;font-size:30px}.login-form{display:flex;flex-direction:column;gap:10px}.login-form label{font-weight:600;font-size:13px}.login-form input{height:44px;padding:0 14px;border-radius:10px;border:1px solid var(--border);background:var(--surface-2);color:var(--text);font:inherit;font-size:15px}.login-form input:focus{outline:none;border-color:var(--accent)}.login-form .code-input{font-size:24px;letter-spacing:.4em;text-align:center;font-variant-numeric:tabular-nums}.login-hint{margin:0 0 8px;color:var(--text-muted)}.login-hint strong{color:var(--text);font-weight:600}.form-error{margin:0;color:var(--danger)}.workspace{flex:1;min-height:0;display:flex}.plan-area{position:relative;flex:1;min-width:0;overflow:hidden}.plan-message{height:100%;display:grid;place-items:center;padding:24px;text-align:center;color:var(--text-muted)}.plan-message.is-error{color:var(--danger)}.plan-canvas{position:absolute;inset:0;background-color:var(--bg);background-image:radial-gradient(circle,#222b26 1px,transparent 1.2px)}.plan-svg{display:block;width:100%;height:100%;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}.plan-svg:active{cursor:grabbing}.shape.is-clickable{cursor:pointer}.shape.is-clickable:hover:not(.shape-line){stroke:#ffffffb3;stroke-width:1.5px}.shape-line.is-clickable:hover{stroke-width:4px}.shape:focus{outline:none}.shape-building{stroke:#0f1311bf;stroke-width:1.2px;stroke-linejoin:round}.shape-meadow,.shape-garden,.shape-paved{stroke:#0f131159;stroke-width:1px}.shape-parcel{stroke:none}.shape-line{stroke-width:2.5px;stroke-dasharray:7 4;stroke-linecap:round}.layer-shadows path{fill:#00000061}.layer-parcel-outline path{fill:none;stroke:#e9eee7bf;stroke-width:1.6px;stroke-dasharray:10 5;pointer-events:none}.selection path{pointer-events:none;stroke-linejoin:round;stroke-linecap:round}.selection-halo{fill:#ffffff1a;stroke:#0a0d0bd9;stroke-width:6px}.selection-line{fill:none;stroke:#fff;stroke-width:2.5px}.shape:focus-visible{stroke:var(--accent);stroke-width:2px}.overlay{position:absolute;background:#151a17e0;border:1px solid var(--border);border-radius:var(--radius);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.legend{top:16px;left:16px;padding:10px 12px;display:grid;gap:5px;font-size:12px}.legend-item{display:flex;align-items:center;gap:8px}.legend-swatch{width:12px;height:12px;border-radius:3px}.legend-swatch.is-line{height:3px;border-radius:2px}.north-arrow{top:16px;right:16px;width:48px;padding:6px 0 4px;display:flex;flex-direction:column;align-items:center;font-family:var(--font-display);font-weight:700;font-size:12px}.zoom-controls{right:16px;bottom:40px;display:flex;flex-direction:column;overflow:hidden}.zoom-controls button{width:38px;height:36px;display:grid;place-items:center;border:0;background:transparent;font-size:18px;cursor:pointer}.zoom-controls button+button{border-top:1px solid var(--border)}.zoom-controls button:hover{background:var(--surface-2)}.scale-bar{left:16px;bottom:16px;padding:6px 10px;display:flex;align-items:center;gap:8px;font-size:12px;font-variant-numeric:tabular-nums}.scale-bar-line{height:6px;border:2px solid var(--text);border-top:0}.attribution{right:16px;bottom:8px;padding:1px 6px;border-radius:4px;font-size:10px;color:var(--text-muted);background:#0f1311b3;border:0}.sidebar{width:360px;flex:none;overflow-y:auto;background:var(--surface);border-left:1px solid var(--border)}.object-panel,.overview{padding:20px}.panel-header{display:flex;align-items:flex-start;gap:12px}.panel-swatch{flex:none;width:36px;height:36px;margin-top:2px;border-radius:10px;box-shadow:inset 0 0 0 1px #00000040}.panel-heading{flex:1;min-width:0}.panel-title{margin:2px 0 0;font-family:var(--font-display);font-size:21px;font-weight:700;line-height:1.15}.facts{margin:18px 0;display:grid;grid-template-columns:1fr 1fr;gap:8px}.fact{padding:10px 12px;border-radius:10px;background:var(--surface-2)}.fact dt{font-size:11px;color:var(--text-muted)}.fact dd{margin:2px 0 0;font-weight:600}.section-title{margin:22px 0 10px;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted)}.muted{color:var(--text-muted)}.entry-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}.entry{display:flex;gap:10px;padding:10px 12px;border-radius:10px;border:1px solid var(--border)}.entry-icon{flex:none;width:18px;height:18px;margin-top:1px;display:grid;place-items:center;border-radius:50%;font-size:11px}.entry-todo .entry-icon{border:2px solid var(--accent)}.entry-todo.is-done .entry-icon{border-color:var(--text-muted);background:var(--text-muted);color:var(--bg)}.entry-note .entry-icon{border-radius:5px;background:var(--surface-2);color:var(--text-muted)}.entry-title{font-weight:500}.entry.is-done .entry-title{color:var(--text-muted);text-decoration:line-through}.entry-meta{margin-top:2px;font-size:12px;color:var(--text-muted)}.visually-hidden{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}.btn-compact{height:36px;padding:0 16px}.btn-small{height:28px;padding:0 10px;font-size:12px;font-weight:600}.btn-danger{color:var(--danger)}.btn-ghost:disabled,.btn-link:disabled,.is-disabled{opacity:.5;cursor:default}.btn-photo{display:inline-flex;align-items:center;gap:6px;cursor:pointer;font-size:13px}.btn-photo:focus-within{outline:2px solid var(--accent);outline-offset:2px}.fab{position:absolute;left:50%;bottom:24px;transform:translate(-50%);width:56px;height:56px;display:grid;place-items:center;border:0;border-radius:50%;background:var(--accent);color:var(--on-accent);cursor:pointer;box-shadow:0 10px 24px #00000073,0 0 0 4px #f2b35b2e;transition:transform .12s}.fab:hover{transform:translate(-50%) scale(1.06)}.pick-banner{left:50%;bottom:24px;transform:translate(-50%);padding:8px 14px 8px 16px;display:flex;align-items:center;gap:12px;white-space:nowrap;border-color:#f2b35b80;font-weight:500}.plan-area.is-picking .plan-svg,.plan-area.is-picking .shape.is-clickable{cursor:crosshair}.modal-backdrop{position:fixed;inset:0;z-index:50;display:grid;place-items:center;padding:24px;background:#05070699;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.modal{width:100%;max-width:480px;max-height:calc(100vh - 48px);overflow-y:auto;padding:22px;border-radius:16px;background:var(--surface);border:1px solid var(--border);box-shadow:0 24px 60px #00000080}.capture form{display:flex;flex-direction:column;gap:12px}.capture-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.target-chip{display:inline-flex;align-items:center;gap:7px;max-width:60%;padding:4px 10px 4px 6px;border-radius:999px;background:var(--surface-2);font-size:12px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.target-swatch{flex:none;width:14px;height:14px;border-radius:4px}.segmented{display:inline-flex;align-self:flex-start;padding:3px;border-radius:10px;background:var(--surface-2);border:1px solid var(--border)}.segmented button{height:30px;padding:0 14px;border:0;border-radius:7px;background:transparent;color:var(--text-muted);font-weight:600;cursor:pointer}.segmented button.is-active{background:var(--accent);color:var(--on-accent)}.capture-text,.entry-editor textarea{width:100%;resize:vertical;padding:12px 14px;border-radius:10px;border:1px solid var(--border);background:var(--surface-2);color:var(--text);font:inherit;font-size:15px;line-height:1.45}.capture-text:focus,.entry-editor textarea:focus,.inline-field input:focus{outline:none;border-color:var(--accent)}.field-hint{margin:-6px 0 0;font-size:12px;color:var(--text-muted)}.inline-field{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--text-muted)}.inline-field input{height:34px;padding:0 10px;border-radius:8px;border:1px solid var(--border);background:var(--surface-2);color:var(--text);font:inherit;color-scheme:dark}.capture-photo{display:flex}.local-preview{position:relative;width:120px;height:90px;border-radius:10px;overflow:hidden;background:var(--surface-2)}.local-preview img{width:100%;height:100%;object-fit:cover}.local-preview-remove{position:absolute;top:4px;right:4px;width:26px;height:26px;font-size:18px;background:#0f1311bf;color:var(--text)}.capture-footer{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-top:4px}.capture-footer .field-hint{margin:0 auto 0 0}.section-head{display:flex;align-items:center;justify-content:space-between;margin:22px 0 10px}.section-head .section-title{margin:0}button.entry-icon{padding:0;background:transparent;color:var(--bg);cursor:pointer;font-weight:700}button.entry-icon:hover{background:#f2b35b33}.entry-todo.is-done button.entry-icon:hover{background:var(--text)}.entry-body{flex:1;min-width:0}.entry-toggle{display:block;width:100%;padding:0;border:0;background:none;text-align:left;cursor:pointer}.entry-toggle .entry-title,.entry-toggle .entry-meta{display:block}.entry.is-expanded{border-color:#3a4740;background:#1b221e99}.entry-meta.is-overdue{color:var(--danger)}.entry-details{margin-top:10px;display:flex;flex-direction:column;gap:10px}.entry-text{margin:0;white-space:pre-wrap;color:var(--text)}.entry-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.entry-actions .btn-link{padding:4px 2px;font-size:13px}.entry-actions .btn-photo{height:28px;padding:0 10px;font-size:12px}.entry-editor{display:flex;flex-direction:column;gap:10px}.entry-editor .entry-actions{justify-content:flex-end}.photo-strip{display:grid;grid-template-columns:repeat(auto-fill,minmax(72px,1fr));gap:6px}.photo-thumb{aspect-ratio:1;padding:0;border:0;border-radius:8px;overflow:hidden;background:var(--surface-2);cursor:zoom-in}.photo-thumb img{width:100%;height:100%;object-fit:cover;display:block}.photo-placeholder{display:block;width:100%;height:100%}.modal.lightbox{max-width:min(1100px,92vw);padding:14px}.lightbox-image{display:grid;place-items:center;min-height:200px}.lightbox-image img{max-width:100%;max-height:calc(100vh - 160px);border-radius:10px}.lightbox-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}.pin{cursor:pointer}.pin:focus{outline:none}.pin-shadow{fill:#00000073}.pin-body{stroke:#0a0d0bd9;stroke-width:1.5px}.pin-todo .pin-body{fill:var(--accent)}.pin-done .pin-body{fill:#93a096}.pin-note .pin-body{fill:#e9eee7}.pin-mark{fill:none;stroke:#231a08;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.pin:hover .pin-body{stroke:#ffffffb3;stroke-width:2px}.pin.is-selected .pin-body{stroke:#fff;stroke-width:2.5px}.pin:focus-visible .pin-body{stroke:var(--accent);stroke-width:3px}.pin-ring{fill:#f2b35b2e;stroke:var(--accent);stroke-width:2px}.pin.is-moving{opacity:.45}.plan-area.is-picking .pin{cursor:crosshair}.pick-banner .segmented-small{padding:2px}.segmented-small button{height:26px;padding:0 10px;font-size:12px}.target-pin{color:var(--accent)}.panel-swatch-pin{display:grid;place-items:center;background:var(--surface-2);color:var(--accent)}.move-row{display:flex;align-items:center;gap:10px;margin:-6px 0 14px}.move-hint{color:var(--accent);font-weight:500}.sidebar{display:flex;flex-direction:column;overflow:hidden}.sidebar-body{flex:1;min-height:0;overflow-y:auto}.sidebar-tabs{flex:none;display:flex;gap:4px;padding:10px 14px 0;border-bottom:1px solid var(--border)}.sidebar-tabs button{position:relative;display:inline-flex;align-items:center;gap:7px;height:38px;padding:0 12px;border:0;background:none;color:var(--text-muted);font-weight:600;cursor:pointer}.sidebar-tabs button:hover,.sidebar-tabs button.is-active{color:var(--text)}.sidebar-tabs button.is-active:after{content:"";position:absolute;left:8px;right:8px;bottom:-1px;height:2px;border-radius:2px;background:var(--accent)}.badge{min-width:20px;height:20px;padding:0 6px;border-radius:999px;display:inline-grid;place-items:center;background:var(--surface-2);color:var(--text);font-size:11px;font-weight:700}.badge.is-overdue{background:var(--danger);color:#2a0f0b}.task-panel{padding:18px 20px 20px}.task-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:6px}.task-group .section-title{display:flex;align-items:center;gap:6px;margin:18px 0 8px}.task-group-overdue .section-title{color:var(--danger)}.section-title .count{font-weight:600;opacity:.7}.task-list{list-style:none;margin:0;padding:0;display:grid;gap:6px}.task{display:flex;gap:10px;padding:10px 12px;border-radius:10px;border:1px solid var(--border)}.task:hover{border-color:#3a4740}.task .entry-icon{border:2px solid var(--accent)}.task.is-done .entry-icon{border-color:var(--text-muted);background:var(--text-muted);color:var(--bg)}.task.is-done .entry-title{color:var(--text-muted);text-decoration:line-through}.task-open{flex:1;min-width:0;padding:0;border:0;background:none;text-align:left;cursor:pointer}.task-open .entry-title{display:block}.task-meta{display:flex;flex-wrap:wrap;gap:4px 10px;margin-top:3px;font-size:12px;color:var(--text-muted)}.task-meta .is-overdue{color:var(--danger)}.task-place{display:inline-flex;align-items:center;gap:5px}.task-swatch{width:9px;height:9px;border-radius:3px}.task-pin{color:var(--accent)}.icon-btn-bordered{display:grid;place-items:center;width:36px;height:36px;border:1px solid var(--border);background:var(--surface-2);color:var(--text)}.modal.settings{max-width:820px;height:min(640px,calc(100vh - 48px));display:flex;flex-direction:column;padding:0;overflow:hidden}.settings-header{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid var(--border)}.settings-layout{flex:1;min-height:0;display:flex}.settings-nav{flex:none;width:190px;padding:14px 10px;display:flex;flex-direction:column;gap:2px;border-right:1px solid var(--border)}.settings-nav button{display:flex;align-items:center;justify-content:space-between;height:38px;padding:0 12px;border:0;border-radius:8px;background:none;color:var(--text-muted);font-weight:600;text-align:left;cursor:pointer}.settings-nav button:hover{color:var(--text);background:#1b221e99}.settings-nav button.is-active{color:var(--text);background:var(--surface-2)}.settings-content{flex:1;min-width:0;overflow-y:auto;padding:18px 22px 24px}.settings-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:32px}.settings-section-title{margin:0;font-family:var(--font-display);font-size:18px}.settings-hint{margin:6px 0 4px;font-size:13px}.confirm-inline{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:var(--danger);font-weight:600}.empty-trash{display:grid;place-items:center;gap:6px;padding:48px 0;color:var(--text-muted)}.empty-trash p{margin:0}.trash-list{list-style:none;margin:0;padding:0;display:grid;gap:6px}.trash-item{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:10px;border:1px solid var(--border)}.trash-kind{flex:none;width:30px;height:30px;display:grid;place-items:center;border-radius:8px;background:var(--surface-2);color:var(--text-muted);font-size:13px}.trash-kind-todo{color:var(--accent)}.trash-thumb{flex:none;width:48px;height:48px;border-radius:8px;overflow:hidden;background:var(--surface-2)}.trash-thumb img{width:100%;height:100%;object-fit:cover;display:block}.trash-body{flex:1;min-width:0}.trash-body .entry-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.trash-deleted{margin-top:2px;font-size:12px;color:var(--text-muted);opacity:.85}.trash-actions{flex:none;display:flex;align-items:center;gap:8px}.trash-actions .btn-link{font-size:12px}.confirm-text{font-size:12px;font-weight:600;color:var(--danger)}.layer-list{padding:8px 8px 8px 10px;gap:2px;max-height:calc(100% - 140px);overflow-y:auto;min-width:190px}.layer-list-toggle{display:none}.layer-rows{list-style:none;margin:0;padding:0;display:grid;gap:1px}.layer-row{display:flex;align-items:center;gap:4px;border-radius:6px}.layer-row.is-unassigned{margin-top:4px;padding-top:4px;border-top:1px solid var(--border);border-radius:0}.layer-name{flex:1;min-width:0;display:flex;align-items:center;gap:8px;padding:4px 6px;border:1px solid transparent;border-radius:6px;background:none;text-align:left;cursor:pointer}.layer-name:hover{background:var(--surface-2)}.layer-row.is-selected .layer-name{border-color:var(--accent);background:#f2b35b1f;font-weight:700}.layer-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.layer-row.is-hidden .layer-label,.layer-row.is-hidden .legend-swatch{opacity:.4}.legend-swatch{flex:none;box-shadow:inset 0 0 0 1px #ffffff2e}.legend-swatch.is-unassigned{background:transparent!important;box-shadow:inset 0 0 0 1.5px var(--text-muted);border:1px dashed transparent}.layer-eye{flex:none;width:28px;height:26px;display:grid;place-items:center;border:0;border-radius:6px;background:none;color:var(--text);cursor:pointer}.layer-eye[aria-pressed=false]{color:var(--text-muted)}.layer-eye:hover:not(:disabled){background:var(--surface-2)}.layer-eye:disabled{opacity:.45;cursor:default}.layer-manage{justify-self:start;margin:4px 0 2px 6px;font-size:12px;font-weight:600;color:var(--accent)}.layer-banner{top:16px;left:50%;transform:translate(-50%);padding:6px 6px 6px 14px;display:flex;align-items:center;gap:10px;white-space:nowrap;border-color:#f2b35b80;font-weight:600}.layer-banner .legend-swatch{width:12px;height:12px;border-radius:3px}.plan-layer.is-dimmed{opacity:.25;pointer-events:none}.pin.is-dimmed{opacity:.3;pointer-events:none}.modal.layers-dialog{max-width:640px}.layers-dialog .settings-header{gap:10px}.layers-content{flex:1;min-height:0;overflow-y:auto;padding:16px 20px 20px}.layers-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}.layers-item{padding:10px 12px;border:1px solid var(--border);border-radius:10px;background:var(--surface-2)}.layers-item.is-unassigned{border-style:dashed;background:transparent}.layers-row{display:flex;align-items:center;gap:12px}.layers-swatch{flex:none;width:18px;height:18px;border-radius:5px;box-shadow:inset 0 0 0 1px #ffffff2e}.layers-swatch.is-unassigned{background:transparent!important;box-shadow:inset 0 0 0 1.5px var(--text-muted)}.layers-main{flex:1;min-width:0}.layers-name{font-weight:700;color:var(--text)}.layers-kind{display:inline-flex;align-items:center;gap:4px}.layers-locked{display:inline-flex;align-items:center;gap:5px;font-size:12px;color:var(--text-muted)}.layers-toggle{margin:6px 0 0 30px;font-size:12px;font-weight:600;color:var(--accent)}.layers-objects{list-style:none;margin:6px 0 0 30px;padding:0;display:grid;gap:2px;max-height:220px;overflow-y:auto}.layers-object{width:100%;display:flex;justify-content:space-between;gap:12px;padding:5px 8px;border:0;border-radius:6px;background:none;text-align:left;font-size:13px;cursor:pointer}.layers-object:hover{background:var(--surface)}.layers-object-type{font-size:12px;color:var(--text-muted)}.layers-hint{margin:14px 2px 0;font-size:12px}.layer-form{margin-bottom:10px;padding:12px;border:1px solid rgba(242,179,91,.45);border-radius:10px;background:var(--surface-2)}.layers-item .layer-form{margin:0;padding:0;border:0}.layer-fields{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px 14px}.layer-field{display:grid;gap:4px;font-size:12px;color:var(--text-muted)}.layer-field-name{flex:1 1 220px}.layer-field input[type=text]{height:34px;padding:0 10px;border-radius:8px;border:1px solid var(--border);background:var(--bg);color:var(--text);font:inherit;font-size:14px}.layer-field input[type=color]{width:44px;height:34px;padding:2px;border-radius:8px;border:1px solid var(--border);background:var(--bg);cursor:pointer}.layer-field-check{display:flex;align-items:center;gap:6px;height:34px;color:var(--text);font-size:13px}.layer-form-actions{display:flex;align-items:center;gap:12px;margin-top:10px}.layer-select{display:flex;align-items:center;gap:8px;margin:2px 0 14px}.layer-select select{flex:1;height:32px;padding:0 8px;border-radius:8px;border:1px solid var(--border);background:var(--surface-2);color:var(--text);font:inherit;font-size:13px}.layer-select-label{font-size:12px;color:var(--text-muted)}@media(max-width:720px){.layer-list{min-width:0;padding:4px}.layer-list-toggle{display:block;height:32px;padding:0 12px;border:0;background:none;font-weight:600;cursor:pointer}.layer-list:not(.is-open) .layer-rows,.layer-list:not(.is-open) .layer-manage{display:none}.layer-list.is-open{min-width:220px}.layer-name,.layer-eye{min-height:40px}}.shape-equipment{stroke:#0f131173;stroke-width:1px}.point-dot{stroke:#0f1311d9;stroke-width:2px}.point-marker.is-clickable{cursor:pointer}.point-marker.is-clickable:hover .point-dot,.point-marker:focus-visible .point-dot{stroke:#fff}.point-marker:focus{outline:none}.point-ring{fill:#ffffff1f;stroke:#fff;stroke-width:2.5px}.point-marker.is-dimmed{opacity:.25;pointer-events:none}.draw-tools{right:16px;bottom:162px;display:flex;flex-direction:column;overflow:hidden}.draw-tools button{width:38px;height:36px;display:grid;place-items:center;border:0;background:transparent;color:var(--text);cursor:pointer}.draw-tools button+button{border-top:1px solid var(--border)}.draw-tools button:hover,.draw-tools button:focus-visible{background:var(--surface-2);color:var(--accent);outline:none}.draw-banner{left:50%;bottom:24px;transform:translate(-50%);width:max-content;max-width:calc(100% - 32px);padding:8px 12px 8px 14px;border-color:#f2b35b80}.draw-banner-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px}.draw-banner-tool{display:inline-flex;align-items:center;gap:6px;font-weight:600}.draw-banner-tool svg{color:var(--accent)}.draw-measure{padding:2px 8px;border-radius:6px;background:var(--surface-2);font-size:13px;font-variant-numeric:tabular-nums}.draw-history{display:inline-flex;gap:2px}.draw-history .icon-btn:disabled{opacity:.35;cursor:default}.draw-banner-hint{margin:4px 0 0;font-size:12px;color:var(--text-muted)}.draw-banner-hint.is-error{color:var(--danger);font-weight:600}.draw-banner-keys{margin-left:6px;opacity:.75}@media(hover:none){.draw-banner-keys{display:none}}.plan-svg.is-drawing,.plan-area.is-drawing .shape.is-clickable,.plan-area.is-drawing .point-marker.is-clickable{cursor:crosshair}.plan-area.is-drawing .shape.is-clickable:hover:not(.shape-line){stroke:#0f131159;stroke-width:1px}.draw-layer{pointer-events:none}.draw-line{fill:none;stroke:var(--accent);stroke-width:2px;stroke-linejoin:round;stroke-linecap:round}.draw-fill{fill:#f2b35b2e;stroke:none}.draw-fill.draw-line{stroke:var(--accent)}.draw-rubber{fill:none;stroke:var(--accent);stroke-width:1.5px;stroke-dasharray:5 4;opacity:.85}.draw-vertex,.draw-handle{fill:#fff;stroke:#0f1311e6;stroke-width:1.5px}.draw-vertex.is-closing,.draw-vertex.is-point,.draw-handle.is-selected{fill:var(--accent)}.draw-handle{pointer-events:all;cursor:grab}.draw-handle:active{cursor:grabbing}.draw-mid{pointer-events:all;fill:#ffffff8c;stroke:#0f1311cc;stroke-width:1px;cursor:copy}.draw-mid:hover{fill:var(--accent)}.draw-snap{fill:none;stroke:#fff;stroke-width:2px}.draw-cursor{fill:var(--accent)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px 12px}.form-field{display:grid;gap:4px;min-width:0;font-size:12px;color:var(--text-muted)}.form-field-wide{grid-column:1 / -1}.form-field input,.form-field select,.form-field textarea{width:100%;height:34px;padding:0 10px;border-radius:8px;border:1px solid var(--border);background:var(--surface-2);color:var(--text);font:inherit;font-size:14px;color-scheme:dark}.form-field textarea{height:auto;padding:8px 10px;resize:vertical;line-height:1.4}.form-field input:focus,.form-field select:focus,.form-field textarea:focus{outline:none;border-color:var(--accent)}.field-static{margin:0;font-size:14px}.field-static span{margin-right:6px;font-size:12px;color:var(--text-muted)}.object-edit{margin:4px 0 14px}.object-description{margin:-6px 0 14px;font-size:14px;line-height:1.45;white-space:pre-wrap}.object-actions{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 8px}.object-locked{margin:0 0 8px}@media(max-width:520px){.form-grid{grid-template-columns:1fr}}.breadcrumb{display:flex;align-items:center;gap:8px;min-width:0;font-family:var(--font-display);font-size:18px;font-weight:700;color:var(--text-muted)}.breadcrumb-link{padding:2px 4px;border:0;border-radius:6px;background:none;color:var(--text-muted);font:inherit;cursor:pointer;white-space:nowrap}.breadcrumb-link:hover,.breadcrumb-link:focus-visible{color:var(--text);background:var(--surface-2)}.breadcrumb-current{color:var(--text);white-space:nowrap}.floor-switcher{top:84px;right:16px;width:64px;display:flex;flex-direction:column;overflow:hidden}.floor-switcher button{height:34px;border:0;background:transparent;color:var(--text-muted);font:inherit;font-size:12px;font-weight:700;cursor:pointer}.floor-switcher button+button{border-top:1px solid var(--border)}.floor-switcher button:hover{color:var(--text);background:var(--surface-2)}.floor-switcher button.is-active{background:var(--accent);color:var(--on-accent)}.scan-controls{left:16px;bottom:54px;padding:7px 12px;display:flex;align-items:center;gap:12px;font-size:12px;max-width:calc(100% - 200px);flex-wrap:wrap}.scan-controls-title{font-weight:700}.scan-controls input[type=range]{width:110px;accent-color:var(--accent)}.scan-toggle{display:inline-flex;align-items:center;gap:6px;font-weight:600;cursor:pointer;white-space:nowrap}.scan-toggle input{accent-color:var(--accent)}.scan-outdated{color:var(--accent);font-size:12px}.floor-context path{fill:#e9eee709;stroke:#e9eee729;stroke-width:1}.floor-context .floor-context-parcel{fill:none;stroke-dasharray:4 4}.floor-ground{fill:#303b34}.floor-outline{fill:none;stroke:var(--text);stroke-width:2.5;stroke-linejoin:round}.floor-scan{pointer-events:none}.chip-row,.floor-chips{display:flex;flex-wrap:wrap;gap:6px}.floor-chips{margin-bottom:10px}.chip{height:30px;padding:0 12px;border-radius:999px;border:1px solid var(--border);background:var(--surface-2);color:var(--text);font:inherit;font-size:13px;font-weight:600;cursor:pointer}.chip:hover:not(:disabled){border-color:var(--text-muted)}.chip.is-active{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}.chip:disabled{opacity:.35;cursor:not-allowed}.floor-levels{border:0;margin:0;padding:0;display:grid;gap:10px}.floor-levels legend{padding:0;margin-bottom:6px;font-size:12px;color:var(--text-muted)}.floor-levels .field-hint{margin:0}.modal.floor-dialog{max-width:520px}.modal.floor-dialog header{margin-bottom:4px}.panel-swatch-floor{display:grid;place-items:center;background:var(--surface-2);color:var(--text)}.facts dd.is-warning{color:var(--accent)}.floor-pins{list-style:none;margin:0;padding:0;display:grid;gap:4px}.floor-pin{width:100%;display:flex;align-items:center;gap:10px;padding:8px 10px;border:1px solid var(--border);border-radius:10px;background:var(--surface-2);color:var(--text);font:inherit;text-align:left;cursor:pointer}.floor-pin:hover{border-color:var(--text-muted)}.floor-pin-dot{flex:none;width:10px;height:10px;border-radius:50%;background:var(--accent)}.floor-pin-dot.is-note{background:#8fb3d9}.floor-pin-dot.is-done{background:var(--text-muted)}.floor-danger{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:28px;padding-top:14px;border-top:1px solid var(--border);font-size:13px}.btn-link.btn-danger{color:var(--danger)}.building-floors .btn-primary{margin-bottom:4px}.modal.fit-dialog{max-width:1120px;display:flex;flex-direction:column;gap:12px}.fit-header{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap}.fit-hint{margin:0;padding:8px 12px;border-radius:10px;background:#f2b35b1a;border:1px solid rgba(242,179,91,.35);font-weight:500}.fit-panes{display:grid;grid-template-columns:1fr 1fr;gap:12px}.fit-pane{display:grid;gap:6px;min-width:0}.fit-pane-title{font-size:11px;letter-spacing:.09em;text-transform:uppercase;color:var(--text-muted)}.fit-canvas{position:relative;height:min(52vh,460px);overflow:hidden;border-radius:12px;border:1px solid var(--border);background:var(--plan-ground);touch-action:none;-webkit-user-select:none;user-select:none}.fit-scan{background:#3a423d;cursor:crosshair}.fit-scan-layer{position:absolute;left:0;top:0;transform-origin:0 0}.fit-scan-layer img{display:block;max-width:none;box-shadow:0 6px 24px #00000059}.fit-markers{position:absolute;left:0;top:0;overflow:visible;pointer-events:none}.fit-empty{margin:0;padding:20px}.fit-outline.is-interactive{cursor:crosshair}.fit-outline svg{position:absolute;inset:0;overflow:visible}.fit-building{fill:#303b34;stroke:var(--text);stroke-width:2;stroke-linejoin:round}.fit-dimrect{fill:none;stroke:var(--accent);stroke-width:1.5;stroke-dasharray:6 4}.fit-corner{fill:var(--surface);stroke:var(--text);stroke-width:1.5}.fit-preview{position:absolute;left:0;top:0;max-width:none;transform-origin:0 0;opacity:.8;pointer-events:none;filter:invert(1);mix-blend-mode:screen}.fit-marker circle{fill:#f2b35b2e;stroke:var(--accent);stroke-width:2}.fit-marker path{stroke:var(--accent);stroke-width:2}.fit-marker text{fill:var(--accent);font:700 13px var(--font-body);paint-order:stroke;stroke:#0f1311d9;stroke-width:3px}.fit-marker.is-check circle,.fit-marker.is-check path{stroke:#8fb3d9}.fit-marker.is-check text{fill:#8fb3d9}.fit-marker.is-active circle{fill:#f2b35b73;stroke-width:3}.fit-footer{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.fit-points{list-style:none;margin:0;padding:0;display:flex;gap:6px}.fit-point{min-width:46px;height:32px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 10px;border-radius:8px;border:1px solid var(--border);background:var(--surface-2);color:var(--text);font:inherit;font-weight:700;cursor:pointer}.fit-point.is-check{border-style:dashed}.fit-point.is-complete{border-color:#f2b35b99}.fit-point.is-active{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}.fit-point-state{min-width:10px;font-size:12px}.fit-dims{display:flex;gap:10px}.fit-dims .form-field{width:110px}.fit-result{flex:1;min-width:220px;font-weight:500}@media(max-width:860px){.fit-panes{grid-template-columns:1fr}.fit-canvas{height:34vh}.breadcrumb{font-size:15px}}.plan-upload{display:grid;gap:8px}.plan-drop{display:grid;justify-items:center;gap:4px;padding:22px 16px 20px;border:1.5px dashed var(--border);border-radius:12px;background:#f2b35b0d;text-align:center;cursor:pointer;transition:border-color .12s,background .12s}.plan-drop:hover,.plan-drop:focus-within,.plan-drop.is-over{border-color:var(--accent);background:#f2b35b1a}.plan-drop:focus-within{outline:2px solid var(--accent);outline-offset:2px}.plan-drop.is-disabled{opacity:.6;cursor:default}.plan-drop-icon{color:var(--text);margin-bottom:4px}.plan-drop-main{font-weight:600}.plan-drop-types{font-size:12px;color:var(--text-muted)}.plan-file{display:flex;align-items:center;gap:10px;min-height:38px;padding:4px 6px 4px 12px;border:1px solid var(--border);border-radius:8px;background:var(--surface-2);font-size:13px}.plan-file-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}.plan-file-meta{flex:1;color:var(--text-muted);white-space:nowrap}.plan-file-page select{height:28px;border-radius:6px;border:1px solid var(--border);background:var(--surface);color:var(--text);font:inherit;font-size:12px}.plan-hint{margin:0}.floor-tools button.is-active{background:var(--accent);color:var(--on-accent)}@media(hover:none){.floor-tools,.tool-prompt{display:none}}.tool-prompt{right:72px;bottom:120px;width:280px;padding:14px;display:grid;gap:10px;z-index:5;background:var(--surface);box-shadow:0 16px 40px #00000073}.tool-prompt-title{font-weight:700}.tool-prompt .field-hint{margin:-4px 0 0}.tool-prompt-actions{display:flex;justify-content:flex-end;gap:8px}.input-unit{display:flex;align-items:center;gap:8px}.input-unit input{flex:1;min-width:0}.input-unit>span{color:var(--text-muted)}.swing-grid{display:grid;gap:6px}.swing-grid .segmented{align-self:stretch}.swing-grid .segmented button{flex:1}.wall-section .form-grid{margin-bottom:6px}.wall-section-save{justify-content:end}.draw-measure.is-typed{color:var(--accent);font-weight:700}.plan-svg.is-tool{cursor:crosshair}.walls.is-dimmed{opacity:.3}.wall-ground{fill:#303b34}.wall-hatch-line{stroke:#e9eee7;stroke-opacity:.55}.wall-outline{fill:none;stroke:#eef2ec;stroke-width:1.5;stroke-linejoin:miter}.wall-hit{fill:transparent;cursor:pointer}.wall-hit.is-selected{cursor:move}.plan-svg.is-tool .wall-hit{cursor:crosshair}.wall-selected{fill:#f2b35b40;stroke:var(--accent);stroke-width:2;pointer-events:none}.wall-preview{fill:#f2b35b59;stroke:var(--accent);stroke-width:1.5;pointer-events:none}.wall-preview.is-saving{fill:#cfd5cc99}.wall-reference{fill:none;stroke:var(--accent);stroke-width:1;stroke-dasharray:3 3;pointer-events:none}.wall-guide{fill:none;stroke:var(--accent);stroke-width:1.25;stroke-dasharray:5 4;pointer-events:none}.opening .door-leaf{fill:none;stroke:#eef2ec;stroke-width:2}.opening .door-arc{fill:none;stroke:#eef2ec;stroke-width:1;stroke-dasharray:4 3}.opening .window-frame{fill:#8fb3d92e;stroke:#8fb3d9;stroke-width:1.25}.opening-hit{fill:transparent;cursor:ew-resize}.plan-svg.is-tool .opening-hit{cursor:crosshair}.opening.is-selected .door-leaf,.opening.is-selected .door-arc,.opening.is-selected .window-frame{stroke:var(--accent)}.opening.is-selected .opening-hit{fill:#f2b35b4d}.opening.is-outside .door-leaf,.opening.is-outside .door-arc,.opening.is-outside .window-frame{stroke:var(--danger)}.opening.is-preview .opening-preview{fill:#f2b35b73;stroke:var(--accent);stroke-width:1.5}.opening.is-preview .door-arc{stroke:var(--accent)}.wall-labels{pointer-events:none}.wall-label rect{fill:#151a17eb;stroke:#f2b35b99}.wall-label.is-strong rect{fill:var(--accent);stroke:none}.wall-label text{fill:var(--text);font:600 12px var(--font-body);font-variant-numeric:tabular-nums}.wall-label.is-strong text{fill:var(--on-accent)}.wall-measure line{stroke:var(--accent);stroke-width:1.25}#measure-arrow path{fill:var(--accent)}.wall-end-mark{stroke:var(--accent);stroke-width:1}.wall-end-stem{stroke:var(--accent);stroke-width:1.25}.wall-handle{fill:#f2b35b4d;stroke:var(--accent);stroke-width:2;cursor:grab;pointer-events:all}.rooms.is-dimmed,.utility.is-dimmed,.utility-point.is-dimmed{opacity:.25}.room{fill:#d9ddd50f;cursor:pointer}.room:hover{fill:#d9ddd51f}.room.is-selected{fill:#f2b35b38}.room.is-open{fill:#ef8a7a1f}.plan-svg.is-tool .room{cursor:crosshair}.unit-outline{fill:none;stroke:#c9b48a;stroke-width:2;stroke-dasharray:8 4;pointer-events:none}.unit-outline.is-selected{stroke:var(--accent);stroke-width:3}.room-candidate{fill:#f2b35b47;stroke:var(--accent);stroke-width:1.5;pointer-events:none}.room-candidate.is-open{fill:#ef8a7a29;stroke:var(--danger)}.room-gap{fill:none;stroke:var(--danger);stroke-width:5;stroke-dasharray:6 4;stroke-linecap:round;pointer-events:none}.floor-object-labels text{pointer-events:none}.room-label-name{fill:var(--text);font:600 12px var(--font-body);paint-order:stroke;stroke:#0f1311cc;stroke-width:3px}.room-label-area{fill:var(--text-muted);font:500 11px var(--font-body);font-variant-numeric:tabular-nums;paint-order:stroke;stroke:#0f1311cc;stroke-width:3px}.room-label.is-open .room-label-area{fill:var(--danger)}.unit-label{fill:#c9b48a;font:700 12px var(--font-body);letter-spacing:.04em;text-transform:uppercase;paint-order:stroke;stroke:#0f1311d9;stroke-width:3px}.utility-halo{fill:none;stroke:#eef2ec;stroke-opacity:.85;stroke-linecap:round;stroke-linejoin:round}.utility-line{fill:none;stroke-linecap:round;stroke-linejoin:round}.utility.is-selected .utility-halo{stroke:var(--accent);stroke-opacity:1}.utility-hit{fill:none;stroke:transparent;stroke-width:12;cursor:pointer;pointer-events:stroke}.plan-svg.is-tool .utility-hit{cursor:crosshair}.utility-preview{fill:none;stroke:var(--accent);stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}.utility-preview.is-room{stroke-dasharray:6 4;fill:#f2b35b1f}.utility-point{cursor:pointer}.utility-point.is-assumed{opacity:.7}.utility-point.is-preview{opacity:.75;pointer-events:none}.utility-ring{fill:none;stroke:var(--accent);stroke-width:3}.utility-prompt{width:320px;max-height:calc(100% - 140px);overflow-y:auto}.symbol-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:4px}.symbol-grid button{height:38px;display:grid;place-items:center;border:1px solid var(--border);border-radius:8px;background:var(--surface-2);cursor:pointer}.symbol-grid button.is-active{border-color:var(--accent);background:#f2b35b29}.chip.chip-small{height:26px;padding:0 10px;font-size:12px;display:inline-flex;align-items:center;gap:6px}.chip-swatch{width:10px;height:10px;border-radius:50%}.modal.room-dialog{max-width:440px}.room-dialog-head{display:flex;align-items:baseline;justify-content:space-between}.room-dialog-area{font-weight:700;font-variant-numeric:tabular-nums}.unit-rooms{list-style:none;margin:0 0 8px;padding:0;display:grid;gap:4px}.unit-rooms .floor-pin{justify-content:space-between}.room-section,.utility-section{display:grid;gap:8px;margin-bottom:8px}
