:root{--bg: #f3f4f7;--card: #fff;--text: #1d2433;--muted: #6b7385;--line: #e2e5ec;--accent: #2f6fed;--late: #d93a3a;--warn-bg: #fff6e0;--side: #1d2433;--radius: 12px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:16px;color:var(--text);background:var(--bg);-webkit-tap-highlight-color:transparent}*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,.btn,a,label,select,input{touch-action:manipulation}a{color:inherit;text-decoration:none}h1{font-size:26px;margin:0}h2{font-size:15px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);margin:20px 0 8px}h3{font-size:18px;margin:0 0 12px}h4{font-size:14px;color:var(--muted);margin:16px 0 8px}.muted{color:var(--muted);font-size:14px}.late,.late .muted,.error{color:var(--late)}button,.btn,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}button,.btn{min-height:44px;padding:0 16px;border-radius:10px;border:1px solid var(--line);background:#fff;display:inline-flex;align-items:center;justify-content:center;gap:6px}button:disabled{opacity:.45;cursor:default}.primary{background:var(--accent);color:#fff;border-color:var(--accent);font-weight:600}.primary.big{min-height:52px;font-size:17px;width:100%}.link{border:0;background:none;color:var(--accent);padding:0 4px}.danger{color:var(--late)}.icon{min-height:40px;min-width:40px;padding:0;border:0;background:none;color:var(--muted)}input,select,textarea{min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:10px;background:#fff;width:100%}textarea{resize:vertical}input:focus,select:focus,textarea:focus{outline:2px solid var(--accent);outline-offset:-1px}.app{display:flex;min-height:100vh}.rail{width:76px;flex-shrink:0;background:#fff;border-right:1px solid var(--line);padding:14px 0;display:flex;flex-direction:column;align-items:center;gap:6px;position:sticky;top:0;height:100vh;padding-top:max(14px,env(safe-area-inset-top));z-index:10}.add-lead{width:48px;height:48px;min-height:48px;padding:0;border-radius:14px;flex-shrink:0}.rail .add-lead{margin-bottom:10px}.nav-item{width:64px;padding:8px 0;border-radius:12px;border:0;background:none;min-height:0;display:flex;flex-direction:column;align-items:center;gap:4px;color:var(--muted);font-size:11px;font-weight:500}.nav-item.active{background:#e9effd;color:var(--accent);font-weight:600}.nav-label{line-height:1.1;text-align:center}.rail-bottom{margin-top:auto}.tabbar{display:none}.ico{flex-shrink:0}.sheet-backdrop{position:fixed;inset:0;background:#14192859;z-index:40}.sheet{position:fixed;left:0;right:0;bottom:0;background:#fff;border-radius:18px 18px 0 0;padding:12px 12px max(16px,env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:4px}.sheet .nav-item{width:100%;flex-direction:row;gap:14px;padding:12px 14px;font-size:16px;color:var(--text)}.sheet .nav-item.active{color:var(--accent)}.content{flex:1;min-width:0}.page{padding:24px;padding-top:max(24px,env(safe-area-inset-top));max-width:1400px}.page-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px;flex-wrap:wrap}.card{background:var(--card);border-radius:var(--radius);padding:16px;box-shadow:0 1px 2px #0000000d;margin-bottom:12px}.empty{padding:32px;text-align:center;color:var(--muted);background:var(--card);border-radius:var(--radius);border:1px dashed var(--line)}.warn{background:var(--warn-bg);border-radius:10px;padding:12px 14px}.warn ul{margin:6px 0;padding-left:20px}.warn.small{font-size:14px;margin-top:8px}.segmented{display:inline-flex;background:#e6e9f0;border-radius:10px;padding:3px}.segmented button{border:0;background:none;min-height:38px}.segmented button.on{background:#fff;box-shadow:0 1px 2px #0000001a;font-weight:600}.chips{display:flex;flex-wrap:wrap;gap:8px}.chip{min-height:40px;border-radius:20px;padding:0 14px}.chip.on{background:var(--c, var(--accent));border-color:var(--c, var(--accent));color:#fff}.chip.current{box-shadow:inset 0 0 0 2px var(--c, var(--accent))}.badge{display:inline-block;padding:3px 10px;border-radius:12px;font-size:13px;color:#fff;background:var(--c, var(--muted));white-space:nowrap}.toggle{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}.toggle input{width:22px;min-height:22px;height:22px}.form{display:flex;flex-direction:column;gap:14px}.field{display:flex;flex-direction:column;gap:4px}.field>span{font-size:13px;color:var(--muted)}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px}.grid .wide{grid-column:span 2}.section-head{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:8px}.section-head>div{display:flex;gap:8px}.section-head h3{margin:0}.modal-backdrop{position:fixed;inset:0;background:#14192866;display:flex;align-items:flex-start;justify-content:center;padding:40px 16px;z-index:50;overflow-y:auto}.modal{background:#fff;border-radius:16px;padding:20px;width:100%;max-width:560px}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.modal-head h2{margin:0;font-size:20px;text-transform:none;letter-spacing:0;color:var(--text)}.status-group{margin-bottom:14px}.status-group h4{margin:0 0 8px}.funnel{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px}.funnel-step{background:#fff;border-radius:10px;padding:8px 12px;border-left:4px solid var(--c);min-width:110px;display:flex;flex-direction:column}.funnel-step b{font-size:20px}.funnel-step span{font-size:12px;color:var(--muted)}.today-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:20px}.group h3{font-size:17px;margin-bottom:4px}.todo{display:flex;align-items:center;gap:12px;padding:10px 0;border-top:1px solid var(--line)}.group .todo:first-of-type,.card>.todo:first-child{border-top:0}.todo-body{flex:1;min-width:0}.todo-title{font-weight:500}.todo.late .todo-title{color:var(--late)}.todo.done .todo-title{text-decoration:line-through;color:var(--muted)}.check{width:28px;min-width:28px;height:28px;min-height:28px;padding:0;border-radius:50%;border:2px solid #b7bdcb;background:#fff}.check.on{background:var(--accent);border-color:var(--accent)}.dot{width:28px;height:28px;display:flex;align-items:center;justify-content:center}.dot:after{content:"";width:10px;height:10px;border-radius:3px;background:#e86f2c}.dot.dot-step:after{background:var(--accent);border-radius:50%}.side-row b{white-space:nowrap}.side-row{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:10px 0;border-top:1px solid var(--line)}.card>.side-row:first-child,.card>.muted+.side-row{border-top:0}.filters{display:flex;gap:10px;margin-bottom:16px;flex-wrap:wrap;align-items:center}.filters input[type=search]{max-width:320px}.filters select{width:auto}.board{display:flex;gap:12px;overflow-x:auto;padding-bottom:16px;align-items:flex-start;-webkit-overflow-scrolling:touch}.column{background:#e8ebf1;border-radius:var(--radius);padding:10px;width:260px;flex-shrink:0;min-height:200px;border-top:4px solid var(--c)}.column.wait{background:#eeeaf6}.column.over{outline:2px dashed var(--c)}.column-head{display:flex;justify-content:space-between;font-weight:600;margin-bottom:8px;padding:0 4px}.tile{background:#fff;border-radius:10px;padding:12px;margin-bottom:8px;box-shadow:0 1px 2px #00000014;cursor:pointer;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;touch-action:manipulation}.tile.late{box-shadow:inset 3px 0 0 var(--late),0 1px 2px #00000014}.tile-title{font-weight:600}.tile-step{font-size:14px;margin-top:6px}.tile-foot{display:flex;justify-content:space-between;margin-top:8px;font-size:13px}.table-wrap{overflow-x:auto;padding:0}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:12px;border-bottom:1px solid var(--line);vertical-align:top}th{font-size:13px;color:var(--muted);font-weight:500}td a{color:var(--accent);font-weight:500}.num{text-align:right;white-space:nowrap}.page.object{max-width:none;padding:0}.obj-head{background:#fff;border-bottom:1px solid var(--line);padding:14px 24px 12px;padding-top:max(14px,env(safe-area-inset-top));display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 16px;align-items:center}.obj-title .back{display:inline-flex;align-items:center;gap:4px;font-size:13px}.obj-title h1{font-size:24px;margin:4px 0 2px}.obj-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.btn.round{width:48px;height:48px;padding:0;border-radius:12px}.main-action{min-height:48px;padding:0 20px;white-space:nowrap}.stepper{grid-column:1 / -1;display:flex;gap:4px;overflow-x:auto;scrollbar-width:none}.stepper::-webkit-scrollbar{display:none}.step{flex:1 0 auto;min-height:30px;font-size:13px;border-radius:6px;border:0;background:#eef0f4;color:var(--muted);padding:0 10px;justify-content:flex-start;gap:4px;white-space:nowrap}.step.passed{background:#e3f1e7;color:#1d6b3a;font-weight:600}.step.current{background:var(--accent);color:#fff;font-weight:600}.status-extra{grid-column:1 / -1;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.status-extra .badge{background:var(--c);font-size:14px;padding:6px 12px}.obj-head .warn.small{grid-column:1 / -1;margin:0}.obj-body{display:grid;grid-template-columns:210px minmax(0,1fr);gap:16px;padding:16px 24px 32px;align-items:start}.obj-body.with-feed{grid-template-columns:200px minmax(0,1fr) 300px}.sec-nav{position:sticky;top:16px;display:flex;flex-direction:column;gap:2px}.sec-group{display:flex;flex-direction:column;gap:2px}.sec-title{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-weight:600;margin:12px 10px 4px}.sec-group:first-child .sec-title{margin-top:0}.sec-item{justify-content:space-between;border:0;background:none;min-height:42px;border-radius:10px;padding:0 10px;width:100%;text-align:left}.sec-item.on{background:#fff;font-weight:600;box-shadow:0 1px 2px #00000014}.sec-item small{color:var(--muted);font-weight:500}.sec-item small.ok{color:#2e8b57}.sec-data{margin-top:18px;color:var(--muted);font-size:14px}.sec-main{min-width:0}.feed-col{position:sticky;top:16px}.small{font-size:13px}.next-card .label{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-weight:600}.next-card.overdue{box-shadow:inset 3px 0 0 var(--late),0 1px 2px #0000000d}.next-row{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-top:4px}.next-text{font-size:19px;font-weight:600}.next-btns{display:flex;gap:8px}.next-step-form{display:flex;gap:8px;margin-top:6px;flex-wrap:wrap}.next-step-form input:first-child{flex:1;min-width:200px}.next-step-form input[type=date]{width:170px}button.dark{background:#15171c;color:#fff;border-color:#15171c;font-weight:600}.progress{height:6px;background:#eef0f4;border-radius:3px;margin:2px 0 10px;overflow:hidden}.progress span{display:block;height:100%;background:var(--accent);border-radius:3px}.steps{display:grid;grid-template-columns:1fr 1fr;gap:2px 16px}.step-check{border:0;background:none;justify-content:flex-start;gap:10px;min-height:38px;padding:0;text-align:left}.tick{width:22px;height:22px;border-radius:50%;border:2px solid #c3c8d3;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.step-check.done{color:var(--muted)}.step-check.done .tick{background:#2e8b57;border-color:#2e8b57;color:#fff}.money-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:12px}.card.mc{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:4px;margin:0;border:0;text-align:left;min-height:0;padding:14px 16px}.mc b{font-size:22px}.mc small{font-size:13px}.plan-card{display:flex;align-items:center;gap:16px}.plan-thumb{width:120px;height:76px;background:#f1f3f6;border-radius:10px;flex-shrink:0}.plan-thumb polygon{fill:#f1e2c6;stroke:#3b4450;stroke-width:2}.plan-card-text{flex:1;display:flex;flex-direction:column;gap:4px;min-width:0}.feed textarea{margin:10px 0 8px}.feed .segmented{margin-top:2px}.segmented.small button{min-height:34px;font-size:14px}.feed-actions{display:flex;gap:8px;justify-content:flex-end;margin-bottom:6px}.feed-actions input[type=date]{width:160px}.check.sq{border-radius:6px;width:24px;min-width:24px;height:24px;min-height:24px}.feed .link.small{min-height:36px;padding:0}.events{margin-top:6px}.doc-row{display:flex;align-items:center;gap:12px;padding:12px 0}.doc-row+.doc-row{border-top:1px solid var(--line)}.doc-row>.ico{color:var(--muted)}.doc-text{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}.section-head>.sh-text{display:flex;flex-direction:column;gap:2px}.tag{font-size:12px;padding:3px 8px;border-radius:6px;background:#eef0f4;white-space:nowrap}.tag.ok{background:#e3f1e7;color:#1d6b3a}.overview .card h3{margin-bottom:12px}.overview .section-head h3{margin:0}.stage-row{border-top:1px solid var(--line);padding:14px 0}.stage-row:first-of-type{border-top:0}.stage-row.late .field input{border-color:#f1b3b3}.stage-foot{display:flex;align-items:center;gap:12px;margin-top:10px;flex-wrap:wrap}.stage-foot .link.danger{margin-left:auto}.totals{display:flex;gap:20px;flex-wrap:wrap;padding-top:12px;border-top:1px solid var(--line)}.add-row,.log-add{display:flex;gap:8px;margin-bottom:12px}.add-row input[type=date]{width:170px}.log-add{flex-direction:column}.log-actions{display:flex;justify-content:space-between}.event{padding:10px 0;border-top:1px solid var(--line)}.event.status div:last-child{font-weight:500}.event.system div:last-child{color:var(--muted)}.clients{display:grid;grid-template-columns:minmax(260px,1fr) 2fr;gap:16px;align-items:start}.list{padding:6px}.list-row{display:flex;flex-direction:column;align-items:flex-start;width:100%;border:0;background:none;padding:10px 12px;min-height:56px;text-align:left}.list-row.on{background:#eef3ff}.status-table{display:flex;flex-direction:column;gap:6px}.status-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:6px 0;border-top:1px solid var(--line)}.status-row.hidden{opacity:.5}.status-row .order{display:flex;flex-direction:column}.status-row .order .icon{min-height:22px;font-size:11px}.status-row input[type=color]{width:44px;padding:4px}.status-row .name{flex:1;min-width:180px}.status-row select{width:auto}.status-row .norm{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--muted)}.status-row .norm input{width:70px}.status-row .count{width:50px}@media(max-width:1099px){.obj-body.with-feed{grid-template-columns:200px minmax(0,1fr)}.obj-body.with-feed .feed-col{grid-column:2;position:static}}@media(max-width:900px){.today-grid,.clients{grid-template-columns:1fr}.grid .wide{grid-column:1 / -1}.obj-body,.obj-body.with-feed{grid-template-columns:180px minmax(0,1fr);padding:12px 16px 32px}}@media(max-width:700px){.rail{display:none}.tabbar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:30;background:#fff;border-top:1px solid var(--line);justify-content:space-around;align-items:center;padding:6px 4px max(6px,env(safe-area-inset-bottom))}.tabbar .nav-item{width:64px;font-size:10.5px}.tabbar .add-lead{border-radius:50%}.content{padding-bottom:calc(76px + env(safe-area-inset-bottom))}.page{padding:16px;padding-top:max(16px,env(safe-area-inset-top))}.grid{grid-template-columns:1fr}h1{font-size:22px}.obj-head{grid-template-columns:1fr;padding:12px 16px 10px;padding-top:max(12px,env(safe-area-inset-top))}.obj-title h1{font-size:20px}.obj-actions{justify-content:flex-start;gap:8px}.btn.round{width:44px;height:44px}.main-action{flex:1}.obj-body,.obj-body.with-feed{display:block;padding:0 12px 24px}.sec-nav{position:sticky;top:0;z-index:5;flex-direction:row;gap:6px;overflow-x:auto;scrollbar-width:none;background:var(--bg);margin:0 -12px 8px;padding:10px 12px}.sec-nav::-webkit-scrollbar{display:none}.sec-group{display:contents}.sec-title{display:none}.sec-item{width:auto;white-space:nowrap;min-height:38px;background:#fff;border:1px solid var(--line);gap:6px}.sec-item.on{background:var(--text);color:#fff;border-color:var(--text)}.sec-item.on small{color:#cfd5e3}.sec-data{margin:0;font-size:15px}.obj-body.with-feed .feed-col{position:static}.steps{grid-template-columns:1fr}.money-cards{grid-template-columns:1fr 1fr}.money-cards>:first-child{grid-column:1 / -1}.plan-card{flex-wrap:wrap}.plan-card .btn,.next-btns{width:100%}.next-btns>*{flex:1}.next-step-form input[type=date]{flex:1;width:auto}.doc-row{flex-wrap:wrap}.doc-row .btn{margin-left:32px}}.plan-editor{position:fixed;inset:0;display:flex;flex-direction:column;background:var(--bg)}.plan-toolbar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:8px 12px;padding-top:max(8px,env(safe-area-inset-top));background:#fff;border-bottom:1px solid var(--line);overflow-x:auto}.plan-toolbar .btn{white-space:nowrap;max-width:260px;overflow:hidden;text-overflow:ellipsis;display:inline-block;line-height:44px}.save-state{margin-left:auto;font-size:13px;color:var(--muted);white-space:nowrap}.save-state.error{color:var(--late)}.plan-body{flex:1;display:flex;min-height:0}.plan-canvas{flex:1;min-width:0;height:100%;background:#fbfcfe;touch-action:none;user-select:none;-webkit-user-select:none;display:block}.grid-minor{stroke:#eef1f6;stroke-width:1}.grid-major{stroke:#d9dfea;stroke-width:1}.room .walls{fill:#3d4556}.room.selected .walls{fill:#2f6fed}.room .walls{stroke:#3d4556;stroke-width:.6;stroke-linejoin:round}.room.selected .walls{stroke:#2f6fed}.open-wall{stroke:#8a92a3;stroke-width:2;stroke-dasharray:6 5}.room.selected .open-wall{stroke:#2f6fed}.wall-face.open{fill:none;stroke:#8a92a3;stroke-dasharray:8 6}.zone{stroke:none}.zone.selected{stroke:#2f6fed;stroke-width:3;stroke-dasharray:6 4}.cut{stroke:#c0504d;stroke-width:2;stroke-dasharray:8 5}.cut.preview{stroke-width:3}.wall-sel{stroke:#f0a020;stroke-width:5;stroke-linecap:round}.dim{font-size:13px;fill:#333b4d;paint-order:stroke;stroke:#fbfcfe;stroke-width:4px;font-variant-numeric:tabular-nums}.dim.on{fill:#c46a00;font-weight:700}.dim.live{font-size:16px;font-weight:700;fill:#2f6fed}.room-label{font-size:14px;font-weight:600;fill:#1d2433;paint-order:stroke;stroke:#fffc;stroke-width:4px}.room-area{font-weight:400;fill:#4a5366}.vertex{fill:#fff;stroke:#2f6fed;stroke-width:3}.draft polyline{fill:none;stroke:#2f6fed;stroke-width:3}.draft circle{fill:#fff;stroke:#2f6fed;stroke-width:2}.draft circle.first{fill:#2f6fed26;stroke:#2f6fed;stroke-width:2}.cursor{fill:#2f6fed}.rect-preview{fill:#2f6fed14;stroke:#2f6fed;stroke-width:2;stroke-dasharray:6 4}.plan-panel{width:320px;flex-shrink:0;background:#fff;border-left:1px solid var(--line);overflow-y:auto;padding:12px}.plan-settings{display:flex;flex-direction:column;gap:8px;padding-bottom:12px;border-bottom:1px solid var(--line)}.plan-settings .row{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:14px}.segmented.small button{min-height:34px;padding:0 10px;font-size:13px}.value{min-height:36px;padding:0 12px;font-variant-numeric:tabular-nums;font-weight:600}.small-note{font-size:12px}.panel-block{padding:12px 0;border-bottom:1px solid var(--line)}.panel-block h3{font-size:16px;margin-bottom:8px}.panel-block h4{margin:14px 0 6px}.panel-block p{margin:0 0 8px;font-size:14px}.kv{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:4px 0;font-size:14px}.btn.wide{width:100%;margin-top:8px}.dir-pad{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.dir-pad button{font-size:22px;min-height:52px}.row-buttons{display:flex;gap:8px;margin-top:8px}.row-buttons button{flex:1}.room-name{font-weight:600;font-size:16px;margin-bottom:8px}.wall-box{background:#fff7e8;border-radius:10px;padding:8px 10px;margin-bottom:8px}.zone-row{display:grid;grid-template-columns:18px 1fr 130px auto;gap:8px;align-items:center;padding:6px;border-radius:8px;font-size:14px}.zone-row.on{background:#eef3ff}.zone-row select{min-height:36px;padding:4px 6px;font-size:13px}.zone-row .zone-look{grid-column:2 / -1;width:100%}.swatch{width:16px;height:16px;border-radius:4px;border:1px solid #c9ced8;display:inline-block;flex-shrink:0}.cover-line{display:flex;gap:6px;align-items:center}.totals-block{border-bottom:0}.numpad-backdrop{position:fixed;inset:0;background:#14192840;display:flex;align-items:flex-end;justify-content:flex-end;padding:16px;z-index:60}.numpad{background:#fff;border-radius:16px;padding:14px;width:340px;box-shadow:0 8px 30px #0003}.numpad-title{font-size:14px;color:var(--muted);margin-bottom:6px}.numpad-display{overflow-wrap:anywhere;font-size:32px;font-weight:700;text-align:right;padding:6px 10px;background:#f3f5f9;border-radius:10px;margin-bottom:10px;font-variant-numeric:tabular-nums}.numpad-display.fresh{color:var(--muted)}.numpad-display small{font-size:16px;font-weight:400;color:var(--muted)}.numpad-keys{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.numpad-keys button.op{background:#eef3ff;color:#2f6fed}.numpad-result{text-align:right;font-size:15px;color:var(--muted);min-height:20px;margin:-4px 4px 8px}.numpad-keys button{min-height:56px;font-size:22px}.numpad-actions{display:flex;gap:8px;margin-top:10px}.numpad-actions button{flex:1;min-height:52px}@media(max-width:900px){.plan-body{flex-direction:column}.plan-panel{width:100%;height:38%;border-left:0;border-top:1px solid var(--line)}}.plan-opening polygon{fill:#fbfcfe;stroke:#3d4556;stroke-width:1}.plan-opening.window polygon{fill:#dbeafe}.plan-opening line{stroke:#2f6fed;stroke-width:2}.wall-canvas-wrap{flex:1;min-width:0;display:flex;flex-direction:column}.wall-head{display:flex;gap:8px;align-items:center;padding:8px 12px;background:#fff;border-bottom:1px solid var(--line);flex-wrap:wrap}.wall-head .placing{color:var(--accent);font-size:14px}.wall-canvas{flex:1;width:100%;background:#fbfcfe;touch-action:none;user-select:none;-webkit-user-select:none;display:block}.wall-face{stroke:#3d4556;stroke-width:2}.split-line{stroke:#3d4556;stroke-width:1.5;stroke-dasharray:8 5}.wall-dim{font-size:13px;fill:#4a5366}.wall-dim.strong{font-size:15px;font-weight:700;fill:#1d2433}.finish-label{font-size:13px;fill:#6b7385}.wall-item rect{fill:#fff;stroke:#3d4556;stroke-width:2}.wall-item.window rect{fill:#e3efff}.wall-item.box rect{fill:#e2e4ea;stroke-dasharray:5 3}.wall-item line{stroke:#2f6fed;stroke-width:1.5}.wall-item.selected rect{stroke:#f0a020;stroke-width:4}.item-label{font-size:12px;fill:#333b4d}.wall-point text{font-size:11px;font-weight:700;fill:#fff}.wall-point .point-count{fill:#1d2433;font-size:12px}.wall-point.selected .pi-base,.wall-point.selected>circle{stroke:#f0a020;stroke-width:4}.sel-dims line{stroke:#f0a020;stroke-width:1.5;stroke-dasharray:4 3}.sel-dims text{font-size:13px;font-weight:700;fill:#c46a00;paint-order:stroke;stroke:#fbfcfe;stroke-width:4px}.center-line{stroke:#9aa3b5;stroke-width:1;stroke-dasharray:3 6;pointer-events:none}.center-line.on{stroke:#2f6fed;stroke-width:2;stroke-dasharray:none}.wall-title{font-size:13px;fill:#6b7385;font-weight:600}.wall-title.on{fill:var(--accent)}.wall-seg.current .wall-face{stroke:var(--accent);stroke-width:3}.wall-point.small text{font-size:9px}.wall-end{font-size:12px;fill:#8a92a3}.mini-map{margin-left:auto;background:#f4f6fa;border-radius:8px;flex:none}.mini-map polygon{fill:#fff;stroke:#3d4556;stroke-width:1.5}.mini-map .mm-wall{stroke:#f0a020;stroke-width:4;stroke-linecap:round}.mini-map .mm-look{stroke:#2f6fed;stroke-width:1.5}.mini-map .mm-eye{fill:#2f6fed}.mini-map text{font-size:11px;font-weight:700;fill:#c46a00}.palette{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-bottom:8px}.palette button{min-height:44px;padding:0 4px;font-size:13px}.palette button.on{background:var(--accent);color:#fff;border-color:var(--accent)}.palette.points{grid-template-columns:repeat(5,1fr)}.dot-mark{display:inline-flex;align-items:center;justify-content:center;min-width:30px;height:30px;border-radius:15px;color:#fff;font-size:11px;font-weight:700;padding:0 4px}.plan-panel select{width:auto;max-width:170px;min-height:36px;padding:4px 8px;font-size:14px}@media(max-width:900px){.wall-canvas-wrap{min-height:55%}}.tiers{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:8px}.tier{display:flex;flex-direction:column;align-items:stretch;gap:4px;padding:12px;min-height:auto;text-align:left;border-radius:12px}.tier.on{border-color:var(--accent);box-shadow:inset 0 0 0 2px var(--accent);background:#f5f8ff}.tier-name{font-weight:700;font-size:17px;margin-bottom:4px}.tier .kv{font-size:14px;padding:2px 0}.tier .kv.total{border-top:1px solid var(--line);margin-top:4px;padding-top:6px;font-size:15px}.options{display:flex;flex-wrap:wrap;gap:10px 20px;margin:12px 0}.estimate-actions{display:flex;gap:8px;flex-wrap:wrap}.est-table td,.est-table th{padding:8px 10px}.est-table tr.cat td,.print-table tr.cat td{font-weight:600;background:#f5f6f9;color:var(--muted);font-size:13px}.est-table tr.total td,.print-table tr.total td{font-weight:700;border-top:2px solid var(--text)}.est-table td a{color:var(--accent);font-weight:400}.extra-row{display:flex;gap:6px;align-items:center;margin-bottom:6px}.extra-row input.short{width:90px}.quote-row{display:flex;gap:12px;align-items:center;padding:8px 0;border-top:1px solid var(--line);flex-wrap:wrap}.quote-row a{color:var(--accent)}.quote-row select{width:auto}@media(max-width:900px){.tiers{grid-template-columns:1fr}}.cell{min-height:38px;padding:6px 8px;font-size:14px;border-radius:8px}.catalog-table td{padding:4px;vertical-align:middle}.catalog-table tr.off,.material.off{opacity:.5}.w-cat{width:130px}.w-name{min-width:260px}.w-unit{width:70px}.w-num{width:80px}.w-price{width:100px}.grow{flex:1}.catalog-table select.cell{width:210px}.material-head{display:flex;gap:8px;align-items:center}.material-head .code{width:40px}.material-head input[type=checkbox]{width:22px;min-height:22px}.material-calc{display:flex;flex-wrap:wrap;gap:8px 14px;margin:10px 0;font-size:13px;color:var(--muted)}.material-calc label{display:flex;align-items:center;gap:6px}.material-calc select.cell{width:220px}.material-tiers{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.mt{display:flex;flex-direction:column;gap:6px;padding:8px;border-radius:10px}.mt.tier-e{background:#eef7ea}.mt.tier-s{background:#eaf2fb}.mt.tier-p{background:#fbefe6}.mt-row{display:flex;gap:6px;align-items:center}.mt-row .btn{min-height:38px;padding:0 10px}@media(max-width:900px){.material-tiers{grid-template-columns:1fr}}.print-page{max-width:900px;margin:0 auto;padding:24px;background:#fff;min-height:100vh;font-size:14px}.print-bar{display:flex;justify-content:space-between;margin-bottom:20px}.print-head{display:flex;justify-content:space-between;gap:20px;border-bottom:2px solid var(--text);padding-bottom:12px}.print-head .company{font-size:18px;font-weight:700}.print-meta{text-align:right}.print-meta h1{font-size:20px}.print-info{margin:14px 0;display:flex;flex-direction:column;gap:4px}.print-page h2{color:var(--text);font-size:15px;text-transform:none;letter-spacing:0;margin:20px 0 6px}.print-table{font-size:13px}.print-table th,.print-table td{padding:6px 8px}.print-table .chosen{background:#f2f6ff;font-weight:700}.print-notes{margin-top:20px;font-size:12px;color:var(--muted)}@media print{.no-print{display:none!important}body,.print-page{background:#fff}.print-page{padding:0;max-width:none}.print-table tr{break-inside:avoid}@page{margin:14mm}}.draft circle.last{fill:#2f6fed;stroke:#fff;stroke-width:2}.draft-len rect{fill:#fff;stroke:#2f6fed;stroke-width:1.5}.draft-len text{font-size:13px;font-weight:700;fill:#2f6fed}.mark circle{fill:#e0457b26;stroke:#e0457b;stroke-width:2}.mark line{stroke:#e0457b;stroke-width:1.5}.wall-end-mark{font-size:13px;font-weight:800;fill:#c46a00;paint-order:stroke;stroke:#fff;stroke-width:4px}.snap-hit{fill:none;stroke:#e0457b;stroke-width:2.5;pointer-events:none}.hint-note{background:#fdeef4;color:#a3214f;border-radius:8px;padding:6px 10px;font-size:14px}.plan3d{position:fixed;inset:0;z-index:50;background:#eef1f6;display:flex;flex-direction:column}.plan3d-bar{display:flex;gap:10px;align-items:center;padding:8px 12px;background:#fff;border-bottom:1px solid var(--line);flex-wrap:wrap}.plan3d-bar .toggle{display:flex;align-items:center;gap:6px}.plan3d-view{flex:1;min-height:0;position:relative}.plan3d-canvas{display:block;width:100%;height:100%;touch-action:none}.vertex.selected{fill:#2f6fed;stroke:#fff}.align-guide line{stroke:#e0457b;stroke-width:1.5;stroke-dasharray:6 5}.align-guide circle{fill:none;stroke:#e0457b;stroke-width:2}.align-guide{pointer-events:none}.plan-toolbar>button.on{background:#2f6fed;color:#fff;border-color:#2f6fed}.add-items{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:6px 0}.plan-opening.selected polygon{stroke:#2f6fed;stroke-width:3;fill:#e6eeff}.card.emergency{border-left:4px solid #d9534f}.card.emergency:not(.incomplete){border-left-color:#3a9d5d}.emergency-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:8px}.overview .emergency-head h3{margin:0 auto 0 0}.badge.warn-badge{--c: #d9534f}.badge.ok-badge{--c: #3a9d5d}.emergency-calls{display:flex;gap:8px;flex-wrap:wrap;margin:4px 0 12px}.emergency-print h1{font-size:26px;letter-spacing:.5px;color:#b52b27;text-align:center;margin:8px 0 4px}.emergency-addr{text-align:center;font-size:17px;margin-bottom:16px}.emergency-big{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:16px}.emergency-big div{border:2px solid #b52b27;border-radius:8px;padding:8px 12px;display:flex;flex-direction:column}.emergency-big span{font-size:13px;color:#555}.emergency-big b{font-size:22px}.emergency-table th{text-align:left;width:34%;vertical-align:top;font-weight:600;padding:8px 10px 8px 0}.emergency-table td{padding:8px 0;border-bottom:1px solid #ccc;min-width:50%}.emergency-steps{padding-left:22px;line-height:1.5;font-size:15px}.room-counters{display:flex;flex-wrap:wrap;gap:6px}.room-counter{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:10px;padding:4px 6px 4px 10px;background:#fff}.room-counter.on{border-color:var(--accent, #2f6fed);background:#eef3ff}.room-counter button{min-height:32px;min-width:32px;padding:0}.room-counter b{min-width:14px;text-align:center}.plan-builder{background:#f5f7fb;border-radius:10px;padding:12px 14px;margin:8px 0 12px}.plan-builder p{margin:0 0 8px}.plan-preview{margin:0 0 10px;padding-left:22px;line-height:1.6}.milestone{border-top:1px solid var(--line)}.milestone:first-of-type{border-top:0}.milestone-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap;width:100%;text-align:left;border:0;background:none;padding:12px 0;min-height:52px}.milestone-head .caret{width:14px;color:var(--muted)}.milestone-name{font-weight:600;margin-right:auto}.milestone.done .milestone-name{color:var(--muted)}.state-pill{font-size:12px;padding:2px 10px;border-radius:10px;background:#e6e9f0}.state-pill.in_progress{background:#fff1d6}.state-pill.done{background:#dff3e6}.milestone.late .state-pill{background:#fde2e2;color:var(--late)}.milestone-bar{height:3px;background:#eef0f4;border-radius:2px;margin:-6px 0 8px 24px}.milestone-bar i{display:block;height:100%;background:#3a9d5d;border-radius:2px}.milestone-body{padding:0 0 14px 24px}.work-row{display:grid;grid-template-columns:28px 1fr 80px auto 32px;gap:8px;align-items:center}.work-row input[type=checkbox]{width:22px;height:22px}.work-row .field>span:first-child:empty{display:none}.work-row .field{margin:2px 0}.work-row.done .field input{color:var(--muted);text-decoration:line-through}.milestone-body>.link{margin:6px 0 10px}.card.checkin{border-left:4px solid var(--accent)}.checkin-meta{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;margin-bottom:8px}.checkin-meta .who{display:inline-flex;align-items:center;gap:6px;margin-left:auto}.checkin-meta .who input{width:140px;min-height:36px}.milestone.phase.done .milestone-name{color:#3a9d5d}.check-item{display:flex;gap:10px;align-items:flex-start;padding:10px 0;border-top:1px solid var(--line)}.check-item>input[type=checkbox]{width:26px;height:26px;flex-shrink:0;margin-top:1px}.check-body{flex:1;min-width:0}.check-text{display:flex;flex-wrap:wrap;gap:4px 8px;align-items:center}.check-item.done .check-text{color:var(--muted);text-decoration:line-through}.check-item.skipped .check-text{color:var(--muted)}.check-note{margin-top:4px;font-size:13px}.chip.risk,.chip.block{min-height:0;padding:1px 7px;border-radius:8px;font-size:11px;border:1px solid var(--line);background:#f6f7fa;color:var(--muted)}.chip.risk{background:#fff4e5;border-color:#f2d3a6;color:#8a5a12}.skip-row{display:flex;gap:8px;margin-top:6px;align-items:center}.skip-row input{flex:1}.dot.dot-checkin:after{background:#3a9d5d;border-radius:2px}.checklist-catalog{display:flex;flex-direction:column;gap:12px}.checklist-catalog .segmented{flex-wrap:wrap}.cl-row{display:flex;gap:10px;align-items:flex-start;padding:10px 0;border-top:1px solid var(--line)}.cl-row.off{opacity:.5}.cl-row>input[type=checkbox]{width:24px;height:24px;margin-top:10px}.cl-main{flex:1;display:flex;flex-direction:column;gap:6px;min-width:0}.cl-main .cell.grow{width:100%}.cl-extra{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.cl-actions{display:flex;gap:2px}.sheets-page{background:#e9ebf0;min-height:100vh;padding:16px}.sheets-bar{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;max-width:210mm;margin:0 auto 16px}.sheets-pick{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:13px}.sheets{color:#111;font-size:11pt;line-height:1.35}.sheets .sheet{background:#fff;width:210mm;min-height:297mm;margin:0 auto 16px;padding:14mm;display:flex;flex-direction:column;gap:4mm;box-shadow:0 2px 10px #0000001f}.sheets .top{display:flex;justify-content:space-between;gap:6mm;align-items:baseline;border-bottom:1.6pt solid #111;padding-bottom:2mm}.sheets .top .kind{font:600 8.5pt ui-monospace,SF Mono,Menlo,monospace;letter-spacing:.08em;text-transform:uppercase}.sheets .top .addr{font-size:9pt;color:#333;text-align:right}.sheets h1{font-size:30pt;line-height:1.05;margin:2mm 0 0;font-weight:700;letter-spacing:-.01em;color:#111}.sheets h1.big{font-size:44pt}.sheets h2{font-size:13pt;margin:3mm 0 0;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#111}.sheets .lead{font-size:11.5pt;color:#222;max-width:160mm;margin:0}.sheets .lead.neighbours{font-size:16pt;line-height:1.4}.sheets .sf{display:grid;grid-template-columns:52mm 1fr;align-items:end;gap:3mm;min-height:8mm;border-bottom:.6pt solid #777;padding-bottom:1mm}.sheets .sf .k{font-size:9.5pt;color:#333}.sheets .sf .v{font-size:11pt;font-weight:600;white-space:pre-wrap}.sheets .sf.tall{min-height:16mm;align-items:start;padding-top:1mm}.sheets .checks{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2.6mm}.sheets .checks li{display:grid;grid-template-columns:7mm 1fr;gap:3mm;align-items:start}.sheets .box{width:6mm;height:6mm;border:1.2pt solid #111;border-radius:1mm;margin-top:.4mm}.sheets .checks.huge li{font-size:17pt;font-weight:600;grid-template-columns:11mm 1fr;line-height:1.2}.sheets .checks.huge .box{width:9mm;height:9mm;border-width:1.8pt}.sheets .checks.mid{gap:4mm}.sheets .checks.mid li{font-size:13.5pt}.sheets .checks .note{display:block;font-size:9pt;color:#444;font-weight:400;margin-top:.6mm}.sheets .steps{margin:0;padding:0;list-style:none;counter-reset:s;display:flex;flex-direction:column;gap:3mm}.sheets .steps li{counter-increment:s;display:grid;grid-template-columns:12mm 1fr;gap:3mm;font-size:13pt}.sheets .steps li:before{content:counter(s);font-size:22pt;font-weight:700;line-height:1}.sheets .warnbox{border:2pt solid #111;padding:3mm 4mm;font-size:12pt;font-weight:600}.sheets table{border-collapse:collapse;width:100%;font-size:10pt}.sheets th,.sheets td{border:.6pt solid #555;padding:1.4mm 2mm;text-align:left;vertical-align:top}.sheets th{background:#eee;font-weight:600}.sheets td.empty{height:9mm}.sheets .small{font-size:8pt;color:#555;margin:0}.sheets .facts{display:grid;grid-template-columns:1fr 1fr;gap:4mm}.sheets .fact{border:1pt solid #111;padding:4mm;font-size:12.5pt}.sheets .fact b{display:block;text-transform:uppercase;font-size:9.5pt;letter-spacing:.05em;margin-bottom:1mm}.sheets .foot{margin-top:auto;font-size:8pt;color:#555;display:flex;justify-content:space-between;border-top:.6pt solid #999;padding-top:1.5mm}.sheets .phone{min-height:14mm;border-bottom:1.2pt solid #111}@media print{.sheets-page{background:#fff;padding:0}.sheets .sheet{width:auto;min-height:266mm;margin:0;padding:0;box-shadow:none;break-after:page}.sheets .sheet:last-child{break-after:auto}}.purchase{display:flex;flex-direction:column;gap:12px}.p-summary{display:flex;flex-wrap:wrap;gap:8px 20px;align-items:center;margin:4px 0 8px}.p-summary select{width:auto;min-height:38px}.p-row{display:grid;grid-template-columns:minmax(180px,1.2fr) minmax(200px,1.3fr) auto;gap:6px 14px;align-items:center;padding:10px 0;border-top:1px solid var(--line)}.p-row.st-skip{opacity:.45}.p-row.st-delivered .p-name{color:#3a9d5d}.p-name{text-align:left;justify-content:flex-start;font-weight:600;color:var(--text);display:flex;flex-wrap:wrap;gap:6px;align-items:center;min-height:0;padding:0}.p-dates{display:flex;flex-direction:column;gap:1px;font-size:13px}.p-dates .late{color:#d9534f}.p-controls{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.p-controls select{width:auto;min-height:38px}.p-sum{width:120px;min-height:38px;text-align:right}.segmented.small button{min-height:32px;padding:0 8px;font-size:12px}.p-more{grid-column:1 / -1;background:#f6f7fa;border-radius:10px;padding:10px 12px}.p-more p{margin:0 0 6px}.p-months{display:flex;flex-direction:column}.p-months>div{display:grid;grid-template-columns:1fr auto 48px;gap:12px;padding:6px 0;border-top:1px solid var(--line)}.p-months>div span:first-child:first-letter{text-transform:uppercase}@media(max-width:900px){.p-row{grid-template-columns:1fr}.p-controls{justify-content:flex-start}}.dot.dot-purchase:after{background:#8a5ad6;border-radius:50%}.groups-catalog{display:flex;flex-direction:column;gap:12px}.groups-table td{vertical-align:top}.groups-table .cell.w-name{min-width:220px;margin-bottom:4px}.calendar-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.calendar-grid textarea{font-family:ui-monospace,Menlo,monospace;font-size:13px}.purchase-print .wave-head td{background:#f2f4f8}.purchase-print .months td{padding:4px 8px}.purchase-print .bar-cell{width:45%}.purchase-print .bar-cell i{display:block;height:10px;background:#2f6fed;border-radius:3px;print-color-adjust:exact;-webkit-print-color-adjust:exact}.purchase-print td:first-child:first-letter{text-transform:uppercase}.purchase-print .print-intro{margin:14px 0;line-height:1.45}.people .chips{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}.person{border-top:1px solid var(--line);padding:12px 0}.person-head{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:4px}.person-head b{margin-right:auto;font-size:16px}.visit-field{display:flex;gap:8px;align-items:flex-end}.visit-field .field{flex:1;min-width:0}.visit-field .toggle{padding-bottom:12px;white-space:nowrap;flex-shrink:0}.person .small-note{margin-bottom:6px}.visit-row{padding:8px 10px;margin:6px 0;border-radius:8px;background:#f3effb;font-size:14px}.visit-row.done{opacity:.6}.p-who{font-size:12px;color:#6a46b8}.dot.dot-visit:after{background:#6a46b8;border-radius:2px;transform:rotate(45deg)}.segmented.layers button{font-weight:600}.layer-point line{stroke-width:1.2}.layer-point .lp-short,.wall-point.small text{font-size:9px;font-weight:700;fill:#fff}.lp-h{font-size:11px;fill:#1d2433;font-weight:600;paint-order:stroke;stroke:#ffffffe6;stroke-width:3px;font-variant-numeric:tabular-nums}.layer-note{font-size:12px;fill:#333b4d;paint-order:stroke;stroke:#ffffffe6;stroke-width:3px}.wall-finish polygon{stroke:#8a93a6;stroke-width:.6}.fixture-sel{fill:none;stroke:#f0a020;stroke-width:3}.tile-cell{fill:none;stroke:#3c465a73;stroke-width:.7}.tile-cell.cut{fill:#f0be2838}.tile-cell.thin{fill:#d9534f59}.layer-panel .dot-mark{display:inline-flex;min-width:22px;height:18px;border-radius:9px;color:#fff;font-size:10px;font-weight:700;font-style:normal;align-items:center;justify-content:center;padding:0 4px}.tile-panel{border-top:1px solid var(--line);margin-top:8px;padding-top:8px;display:flex;flex-direction:column;gap:6px}.tile-panel h4{margin:0}.tile-panel .kv.col{flex-direction:column;align-items:stretch;gap:4px}.segmented.wrap{flex-wrap:wrap}.tile-panel .row-buttons .value{min-width:56px}.tile-result{background:#f6f7fa;border-radius:8px;padding:6px 8px}.tile-result .late,.tile-result b.late{color:#d9534f}.wall-head .toggle{display:inline-flex;gap:6px;align-items:center;font-size:13px}.album-page{background:#e9ebf0;min-height:100vh;padding:16px;display:flex;flex-direction:column;align-items:center;gap:16px}.album-page .print-bar{width:281mm;max-width:100%;align-items:center}.album-page .sheet{width:281mm;height:194mm;background:#fff;box-shadow:0 2px 10px #0000001f;padding:6mm;display:flex;flex-direction:column;gap:3mm;box-sizing:border-box;overflow:hidden}.album-page .sheet-title{font-size:13pt;margin:0;color:#111;text-transform:none;letter-spacing:0}.album-page .sheet-body{flex:1;min-height:0}.album-page .plan-sheet{display:grid;grid-template-columns:1fr 68mm;gap:4mm;height:100%}.album-page .draw-box{border:.6pt solid #999;min-height:0}.album-page .drawing{width:100%;height:100%;display:block}.album-page .sheet-side{font-size:8.5pt;overflow:hidden;display:flex;flex-direction:column;gap:2mm}.album-page .sheet-side h3{font-size:9.5pt;margin:1mm 0 0;color:#111}.album-page .sheet-side p{margin:0}.album-page .small{font-size:7.5pt;color:#555}.album-page .side-table{width:100%;border-collapse:collapse;font-size:8pt}.album-page .side-table th,.album-page .side-table td{border-bottom:.4pt solid #ccc;padding:1mm 1.2mm;text-align:left;vertical-align:top}.album-page .side-table .num{text-align:right;white-space:nowrap}.album-page .side-table tr.total td{font-weight:700;border-top:.8pt solid #111}.legend-mark{display:inline-flex;width:16px;height:16px;border-radius:50%;color:#fff;font-size:7.5px;font-weight:700;align-items:center;justify-content:center;vertical-align:middle;print-color-adjust:exact;-webkit-print-color-adjust:exact}.legend-mark.ceiling{background:#fff;border:2px solid}.legend-mark.drain{background:#fff;border:2px solid;border-radius:0}.legend-mark.sq{border-radius:2px;border:.5pt solid #999}.legend-mark.sq.cut{background:#f0be2859}.legend-mark.sq.thin{background:#d9534f73}.legend-mark.warm{border-radius:2px;background:repeating-linear-gradient(45deg,#d9534f99 0 1.5px,#fff 1.5px 6px);border:.5pt solid #d9534f}.album-page .stamp{align-self:flex-end;border-collapse:collapse;font-size:7.5pt;width:150mm}.album-page .stamp td{border:.6pt solid #111;padding:.8mm 1.5mm}.album-page .stamp .k{color:#555;white-space:nowrap;width:1%}.album-page .stamp .n{white-space:nowrap;width:1%}.album-page .stamp .t{font-weight:700}.album-page .cover{justify-content:space-between}.album-page .cover-body{padding:10mm 14mm;display:flex;flex-direction:column;gap:2mm}.album-page .cover .company{font-size:13pt;font-weight:700}.album-page .cover h1{font-size:30pt;margin:10mm 0 0;letter-spacing:.02em}.album-page .cover-sub{font-size:13pt;color:#444}.album-page .cover-obj{font-size:14pt;font-weight:600;margin-top:6mm}.album-page .contents{columns:2;margin:6mm 0 0;font-size:10pt}.album-page .cover-note{font-size:9pt;color:#444;max-width:180mm;margin-top:4mm;line-height:1.4}.drawing .dim{font-size:11px}.drawing .room-label{font-size:12px}.walls-drawing .wall-face{stroke:none}.walls-drawing .wall-outline{fill:none;stroke:#3d4556;stroke-width:1}.walls-drawing .wall-title{font-size:11px;font-weight:700;fill:#1d2433}.walls-drawing .wall-dim{font-size:9px;fill:#333b4d;font-variant-numeric:tabular-nums}.walls-drawing .wall-dim.strong{font-weight:700;font-size:10px}.walls-drawing .dim-line{stroke:#333b4d;stroke-width:.7}.walls-drawing .item-label{font-size:9px}.walls-drawing .item-size{font-size:8px;fill:#333b4d}.walls-drawing .lp-h{font-size:8.5px}.album-page svg *{print-color-adjust:exact;-webkit-print-color-adjust:exact}@media print{.album-page{background:#fff;padding:0;gap:0;display:block}.album-page .sheet{box-shadow:none;width:281mm;height:193mm;padding:0;break-after:page}.album-page .sheet:last-child{break-after:auto}}.wall-point text.lp-h,.layer-point text.lp-h{fill:#1d2433;font-weight:600;font-size:10px}.walls-drawing .wall-point text.lp-h{font-size:8.5px}.legend-svg{vertical-align:middle}.legend-svg text{font-size:7.5px;font-weight:700;fill:#fff}.wall-point.box .pi-base{stroke:#00000059;stroke-width:1}.wall-point.joined .pi-base{stroke:#2f6fed;stroke-width:2.5}.wiring .panel-body{stroke:#3d4556;stroke-opacity:.55}.wiring .bundle line{fill:none}.wiring .bundle.faded,.wiring .faded{opacity:.15}.wiring .bundle-count rect{fill:#fff;stroke:#4a5160;stroke-width:1}.wiring .bundle-count text{font-size:10px;font-weight:700;fill:#1d2433}.wiring .in-wall{stroke-width:2.2;stroke-dasharray:2 3}.wiring .vert-tick{stroke-width:2.4}.wiring .route-sel polyline{fill:none;stroke:#2f6fed;stroke-opacity:.35;stroke-width:10;stroke-linejoin:round;stroke-linecap:round}.wiring .route-len{font-size:12px;font-weight:700;fill:#2f6fed;paint-order:stroke;stroke:#fff;stroke-width:3px}.start-ring{fill:none;stroke:#2f6fed;stroke-width:3}.fixture .fx-short{font-size:8px;font-weight:700}.wall-panel rect{fill:#e9ebf0;stroke:#3d4556;stroke-width:1.5}.wall-panel.selected rect{stroke:#2f6fed;stroke-width:3}.wall-panel text{font-size:11px;font-weight:700;fill:#1d2433}.elec-panel h3{margin-top:14px}.elec-panel .via{flex-wrap:wrap;margin:6px 0}.elec-panel .via button{font-size:12px}.toggle.inline{display:inline-flex;align-items:center;gap:6px;font-size:13px}.group-row{border-bottom:1px solid #eceef3}.group-head{display:flex;align-items:center;gap:8px;width:100%;text-align:left;background:none;border:0;padding:8px 2px;flex-wrap:wrap}.group-head .gname{font-weight:600}.group-head .muted{font-size:12px}.group-dot{display:inline-block;width:12px;height:12px;border-radius:50%;flex:none}.ok-note{color:#18a058;font-size:12px}.route-box .small{margin:2px 0}.legend-mark.line{display:inline-block;width:18px;height:4px;border-radius:2px;vertical-align:middle}.panel-sheet{padding:4px 8px;font-size:12px}.side-table.wide{width:100%}.side-table.wide td,.side-table.wide th{padding:3px 6px;vertical-align:top}.wall-run{fill:none;stroke-width:2;stroke-dasharray:5 3;opacity:.85}.panel-box{fill:#e9ebf0;stroke:#3d4556;stroke-width:1}.line-name{position:relative;flex:1;min-width:200px;display:flex;flex-direction:column;gap:2px}.line-name input{width:100%}.suggest{position:absolute;top:100%;left:0;right:0;z-index:20;background:#fff;border:1px solid #d6dae3;border-radius:10px;box-shadow:0 6px 20px #0000001f;padding:4px}.suggest button{display:flex;width:100%;gap:8px;align-items:center;text-align:left;background:none;border:0;padding:8px;border-radius:8px}.suggest button:hover,.suggest button:active{background:#eef3ff}.suggest .sg-name{flex:1}.suggest .sg-kind{font-size:11px;font-weight:700;color:#fff;border-radius:4px;padding:1px 5px}.suggest .sg-kind.work{background:#2f6fed}.suggest .sg-kind.material{background:#7cb342}.suggest.empty{padding:8px 10px;color:#6b7280;font-size:13px}.link-btn{background:none;border:0;color:#2f6fed;padding:2px 0;font-size:13px;text-align:left;align-self:flex-start}.kit-pick{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}.kit .kit-head{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.kit .kit-head .grow{flex:1;min-width:180px}.extra-row .badge{min-width:76px;text-align:center;justify-content:center}.panel-config{display:flex;flex-direction:column;height:100vh}.panel-config .plan-toolbar{gap:12px}.pc-body{flex:1;display:flex;min-height:0}.pc-draw{flex:1;overflow:auto;padding:16px;background:#f4f6fa}.panel-svg{width:100%;max-width:900px;display:block;margin:0 auto}.pc-case{fill:#fff;stroke:#3d4556;stroke-width:1.5}.pc-rail{fill:#c9ced8}.pc-body{fill:#fdfdfd;stroke:#7a8292;stroke-width:.8}.pc-dev{cursor:pointer}.pc-dev.sel .pc-body{stroke:#2f6fed;stroke-width:2.4}.pc-dev.over .pc-body{stroke:#d9534f;stroke-width:2}.pc-lever{fill:#3d4556}.pc-lcd{fill:#dfe7d8;stroke:#7a8292;stroke-width:.6}.pc-txt{font-size:7px;font-weight:700;fill:#1d2433}.pc-txt.small{font-size:8px;fill:#2f6fed}.pc-num{font-size:8px;font-weight:700;fill:#2f6fed}.pc-mark{font-size:6px;fill:#4a5160}.pc-blank{fill:#f1f3f7;stroke:#c9ced8;stroke-dasharray:2 2;stroke-width:.6}.pc-palette button{display:inline-flex;align-items:center;gap:6px}.pc-palette i{display:inline-block;width:10px;height:10px;border-radius:2px}.panel-sheet-draw{display:flex;gap:16px;align-items:flex-start;margin-top:10px}.panel-sheet-draw .pd{flex:1;max-width:520px}@media(max-width:900px){.pc-body{flex-direction:column}}.panel-svg text{stroke:none;paint-order:normal;font-family:inherit}.pc-txt{font-size:6.5px}.panel-sheet-draw .pd{flex:0 0 42%}.panel-sheet-draw .panel-svg{max-height:62mm;width:auto;max-width:100%}.panel-sheet-draw .side-table{flex:1}.company-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px 16px}.print-req{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-top:24px;padding-top:10px;border-top:1px solid var(--line, #ccc);font-size:12px;break-inside:avoid}.print-req .company{font-weight:700}.req-sign{text-align:right}.req-sign .sign-line{margin-top:26px}.axis-line{stroke:#e0559a;stroke-width:1.5;stroke-dasharray:6 4;pointer-events:none}.wall-point.jbox.outer>circle,.wall-point.jbox.outer>rect{stroke:#fff;stroke-dasharray:3 2;stroke-width:1.5}.box-joints{padding:6px 0;border-bottom:1px solid var(--line)}.wall-run.sel{stroke-width:4;stroke-dasharray:none}.wall-pipe{fill:none;stroke-linecap:round;stroke-linejoin:round;opacity:.7}.wall-pipe.sel{opacity:1;filter:drop-shadow(0 0 3px rgba(0,0,0,.45))}.icon-mark{vertical-align:middle;flex:none}.icon-legend{display:grid;grid-template-columns:1fr 1fr;gap:4px 10px;font-size:12px;margin-top:8px}.icon-legend>div{display:flex;align-items:center;gap:6px}.palette.points button{display:inline-flex;align-items:center;gap:4px}.pal-label{font-size:11px;font-weight:700}.survey{display:flex;gap:16px;align-items:flex-start}.survey-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:12px}.survey-side{width:360px;position:sticky;top:12px;display:flex;flex-direction:column;gap:8px}.survey-sec h3{margin:0 0 8px}.survey-q{display:flex;flex-direction:column;gap:6px;padding:8px 0;border-top:1px solid var(--line)}.survey-q:first-of-type{border-top:none}.survey-label{font-weight:600;font-size:14px}.chips{display:flex;flex-wrap:wrap;gap:6px}.chip{min-height:40px;padding:0 14px;border-radius:20px;border:1px solid var(--line);background:#fff;font-size:14px}.chip.on{background:#2f6fed;border-color:#2f6fed;color:#fff}.survey-tiers{width:100%;border-collapse:collapse;font-size:13px}.survey-tiers td,.survey-tiers th{padding:6px 4px;border-bottom:1px solid var(--line)}.survey-tiers tr.advice td{background:#eef4ff}.survey-tiers tr.over td{color:#b33}.survey-opts{list-style:none;padding:0;margin:0;font-size:13px;color:var(--muted)}.survey-opts li.on{color:inherit}@media(max-width:900px){.survey{flex-direction:column}.survey-side{width:100%;position:static}}.part-len{font-size:11px;fill:#3b4450;font-weight:600;paint-order:stroke;stroke:#fff;stroke-width:3px}.part-len.demo{fill:#b52b27}.part-sel{fill:none;stroke:#1f7ae0;stroke-width:3}.part-preview line{stroke:#1f7ae0;stroke-width:3;stroke-dasharray:6 4}.part-preview.demo line{stroke:#d9534f}.part-preview circle,.part-start{fill:#1f7ae0}.legend-mark.sq.demo{background:repeating-linear-gradient(45deg,#d9534f 0 2px,#fff 2px 5px);border:1px dashed #d9534f}.segmented.small button{padding:4px 8px;font-size:13px}.docs-page{display:grid;grid-template-columns:380px 1fr;gap:16px;padding:16px;background:#e9ebf0;min-height:100vh;align-items:start}.docs-side{display:flex;flex-direction:column;gap:12px;position:sticky;top:16px;max-height:calc(100vh - 32px);overflow:auto}.docs-side .card{padding:12px}.docs-modes{flex-wrap:wrap}.docs-group h4{margin:10px 0 4px;font-size:13px;color:var(--muted, #667)}.docs-fields .field{margin-bottom:6px}.docs-preview{display:flex;flex-direction:column;align-items:center;gap:16px;min-width:0}.doc-sheet{background:#fff;width:194mm;min-height:281mm;padding:12mm 14mm;box-sizing:border-box;box-shadow:0 2px 10px #0000001f;font-family:Times New Roman,Times,serif;font-size:11pt;line-height:1.35;color:#111}.doc-sheet h1{font-size:14pt;text-align:center;margin:4mm 0 3mm}.doc-sheet h2{font-size:12pt;margin:4mm 0 2mm;text-transform:none;letter-spacing:0;color:#111}.doc-sheet h3{font-size:11.5pt;margin:3mm 0 1.5mm}.doc-sheet p{margin:0 0 2mm;text-align:justify}.doc-sheet ul{margin:0 0 2mm;padding-left:6mm}.doc-sheet table{width:100%;border-collapse:collapse;margin:2mm 0 3mm;font-size:9.5pt;page-break-inside:auto}.doc-sheet th,.doc-sheet td{border:.5pt solid #444;padding:1mm 1.5mm;vertical-align:top;text-align:left}.doc-sheet tr{break-inside:avoid}.doc-sheet table:last-child td{border:none;padding-top:3mm}.doc-sheet blockquote{margin:2mm 0;padding-left:3mm;border-left:2pt solid #999;color:#444}.album-in-pack{background:none;padding:0;min-height:0;gap:16px}.rot-page{width:194mm;height:281mm;position:relative;overflow:hidden;background:#fff;box-shadow:0 2px 10px #0000001f}.rot-page>.sheet{position:absolute;top:0;left:0;transform-origin:top left;transform:translate(194mm) rotate(90deg);box-shadow:none!important}.appendix-mark{align-self:flex-end;font-size:9pt;text-align:right;margin-bottom:4mm}@media print{.docs-page{display:block;padding:0;background:#fff}.docs-preview{display:block;gap:0}.doc-sheet{width:auto;min-height:0;padding:4mm 6mm;box-shadow:none;break-after:page}.album-in-pack{display:block}.rot-page{box-shadow:none;break-after:page;margin:0}.rot-page:last-child{break-after:auto}}.reno-panel .row-buttons{flex-wrap:wrap}.reno-panel .row-buttons button{flex:1 1 30%}.plan-editor{font-variant-numeric:tabular-nums}.ed-top{display:flex;align-items:center;gap:8px;padding:8px 12px;padding-top:max(8px,env(safe-area-inset-top));background:#fff;border-bottom:1px solid var(--line);min-height:60px;flex-shrink:0}.ed-back{width:40px;height:44px;display:flex;align-items:center;justify-content:center;border-radius:10px;color:var(--text);flex-shrink:0}.ed-back:hover{background:#f3f5f9}.ed-title{display:flex;flex-direction:column;min-width:0;max-width:200px;margin-right:4px;line-height:1.2}.ed-title b{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ed-save{font-size:11px;color:#1f7a4d;white-space:nowrap}.ed-save:before{content:"● "}.ed-save.saving{color:var(--muted)}.ed-save.error{color:var(--late)}.ed-save.offline{color:#a0660a}.seg{display:inline-flex;background:#eef0f3;border-radius:12px;padding:3px;gap:2px;flex-shrink:0}.seg button{border:0;background:transparent;min-height:38px;padding:0 11px;border-radius:9px;font-size:13px;color:#3a3f48;white-space:nowrap}.seg button.on{background:#fff;color:var(--text);font-weight:600;box-shadow:0 1px 2px #14171c1f}.seg button:disabled{opacity:.4}.seg.small button{min-height:34px;padding:0 9px}.ed-layer-select{display:none;min-height:40px;border-radius:10px;border:1px solid var(--line);padding:0 8px;background:#fff;font-weight:600}.ed-grow{flex:1}.ed-ibtn{width:44px;height:44px;border-radius:12px;border:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:center;padding:0;flex-shrink:0}.ed-ibtn:disabled{color:#b4b9c3}.ed-album{height:44px;padding:0 12px;border-radius:12px;border:1px solid var(--line);display:flex;align-items:center;font-size:13px;flex-shrink:0;background:#fff}.plan-stage{flex:1;position:relative;min-width:0;min-height:0;display:flex}.plan-stage .plan-canvas{flex:1}.tool-rail{position:absolute;left:12px;top:12px;z-index:5;background:#fff;border:1px solid var(--line);border-radius:16px;padding:5px;display:flex;flex-direction:column;gap:2px;box-shadow:0 4px 16px #14171c14;max-height:calc(100% - 90px);overflow-y:auto}.tool-rail button{width:54px;min-height:52px;border:0;border-radius:12px;background:transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:10px;color:var(--text);padding:4px 2px;flex-shrink:0}.tool-rail button:hover{background:#f3f5f9}.tool-rail button.on{background:var(--accent);color:#fff}.tool-rail button span{line-height:1.1;white-space:nowrap}.rail-sep{height:1px;background:#eef0f3;margin:2px 6px;flex-shrink:0}.rail-fly{position:absolute;left:82px;z-index:6;background:#fff;border:1px solid var(--line);border-radius:14px;padding:6px;display:flex;gap:6px;box-shadow:0 6px 20px #14171c1a}.rail-fly button{min-height:40px;padding:0 12px;border-radius:10px;border:1px solid var(--line);background:#fff;font-size:13px;white-space:nowrap}.rail-fly button.on{border-color:transparent;background:#e8eefc;color:var(--accent);font-weight:600}.hint-pill{position:absolute;left:50%;top:12px;transform:translate(-50%);z-index:4;max-width:calc(100% - 180px);background:#15171c;color:#fff;font-size:13px;padding:6px 6px 6px 14px;border-radius:12px;display:flex;gap:10px;align-items:center;box-shadow:0 4px 16px #14171c26}.hint-pill span{padding:4px 0}.hint-pill button{border:0;background:#ffffff24;color:#fff;min-height:32px;padding:0 12px;border-radius:8px;font-size:13px;white-space:nowrap}.hint-pill.warn{background:#8a2b1e}.draft-bar{position:absolute;left:50%;bottom:12px;transform:translate(-50%);z-index:5;background:#fff;border:1px solid var(--line);border-radius:16px;padding:8px;display:flex;gap:8px;align-items:center;box-shadow:0 6px 20px #14171c1f;max-width:calc(100% - 24px);flex-wrap:wrap;justify-content:center}.draft-bar button{min-height:44px;padding:0 14px;border-radius:10px;white-space:nowrap}.draft-bar button.primary{font-weight:600}.db-info{font-size:13px;color:var(--muted);padding:0 6px;display:flex;flex-direction:column;line-height:1.25;white-space:nowrap}.db-info b{color:var(--text);font-size:15px}.db-dirs{display:flex;gap:4px}.db-dirs button{width:44px;padding:0;font-size:18px}.draft-bar .db-x{width:44px;padding:0;background:#f3f5f9;border-color:transparent}.ed-bottom{position:absolute;left:12px;right:12px;bottom:12px;z-index:4;background:#fff;border:1px solid var(--line);border-radius:14px;min-height:48px;display:flex;align-items:center;gap:6px;padding:4px 6px 4px 14px;box-shadow:0 4px 16px #14171c0f;pointer-events:auto}.ed-stats{flex:1;min-width:0;display:flex;gap:14px;font-size:13px;color:var(--muted);overflow-x:auto;white-space:nowrap;scrollbar-width:none}.ed-stats b{color:var(--text)}.ed-sbtn{width:38px;height:38px;border:0;border-radius:9px;background:#f3f5f9;display:flex;align-items:center;justify-content:center;padding:0;flex-shrink:0}.ed-snap{border:0;background:transparent;font-size:12px;color:var(--muted);min-height:38px;padding:0 8px;white-space:nowrap}.tool-rail~.ed-bottom{left:80px}.panel-show{position:absolute;right:12px;top:12px;z-index:5;min-height:44px;padding:0 14px;border-radius:12px;border:1px solid var(--line);background:#fff;box-shadow:0 4px 16px #14171c14}.panel-top{display:flex;justify-content:space-between;align-items:center;gap:8px;padding-bottom:8px;border-bottom:1px solid var(--line);font-size:14px}.panel-hide{min-height:34px;padding:0 10px;font-size:13px;border-radius:9px}.ed-pop-back{position:fixed;inset:0;z-index:50;background:#14171c14}.ed-pop{position:fixed;right:12px;top:68px;z-index:51;width:min(360px,calc(100vw - 24px));max-height:calc(100vh - 84px);overflow-y:auto;background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px 16px 16px;box-shadow:0 12px 40px #14171c2e;display:flex;flex-direction:column;gap:10px}.ed-pop-head{display:flex;justify-content:space-between;align-items:center;font-size:16px}.pop-cap{font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-top:6px}.pop-row{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:14px}.ed-switch{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:14px;min-height:36px;position:relative;cursor:pointer}.ed-switch input{position:absolute;opacity:0;width:1px;height:1px}.ed-switch i{width:44px;height:26px;border-radius:13px;background:#d5d8de;position:relative;flex-shrink:0;transition:background .15s}.ed-switch i:after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;transition:left .15s}.ed-switch input:checked+i{background:var(--accent)}.ed-switch input:checked+i:after{left:21px}.ed-switch input:focus-visible+i{outline:2px solid var(--accent);outline-offset:2px}.wall-canvas-wrap{position:relative}.wall-canvas-wrap .wall-head{position:absolute;left:50%;top:12px;transform:translate(-50%);z-index:4;border:1px solid var(--line);border-radius:14px;padding:5px 8px;box-shadow:0 4px 16px #14171c14;flex-wrap:nowrap;white-space:nowrap;max-width:calc(100% - 100px);overflow-x:auto}.wall-canvas-wrap .wall-head .mini-map{width:60px;height:42px}.wh-nav{width:40px;min-height:40px;padding:0;font-size:22px;border:0;background:#f3f5f9;border-radius:10px}.wh-title{font-size:14px;padding:0 2px}.wall-canvas-wrap .hint-pill{top:auto;bottom:12px}.wall-canvas-wrap .wall-canvas{padding-top:0}@media(orientation:portrait),(max-width:900px){.plan-body{flex-direction:column}.plan-panel{width:100%;height:auto;max-height:42%;border-left:0;border-top:1px solid var(--line);border-radius:16px 16px 0 0;box-shadow:0 -6px 20px #14171c14;padding-bottom:max(12px,env(safe-area-inset-bottom))}.wall-canvas-wrap{min-height:50%}.ed-title{max-width:130px}}@media(max-width:1100px){.ed-layers button{padding:0 8px;font-size:12px}.ed-views button{padding:0 8px}}@media(max-width:760px){.ed-top{gap:6px;padding:6px 8px;padding-top:max(6px,env(safe-area-inset-top));flex-wrap:wrap}.ed-layers{display:none}.ed-layer-select{display:block}.ed-title{display:none}.ed-ibtn{width:40px;height:40px}.ed-album{height:40px;padding:0 10px}.tool-rail{left:8px;top:8px;padding:3px}.tool-rail button{width:46px;min-height:44px}.tool-rail button span{display:none}.tool-rail~.ed-bottom{left:8px}.ed-bottom{left:8px;right:8px;bottom:8px}.ed-snap{display:none}.rail-fly{left:64px;flex-direction:column}.hint-pill{left:64px;right:8px;transform:none;max-width:none;top:8px;font-size:12px}.draft-bar{bottom:8px;padding:6px;gap:6px}.draft-bar button{min-height:40px;padding:0 10px}.db-dirs button{width:40px}.wall-canvas-wrap .wall-head{left:60px;right:8px;transform:none;max-width:none}.wall-canvas-wrap .wall-head .mini-map{display:none}.plan-panel{max-height:46%}}.tool-rail button.on .icon-mark{filter:drop-shadow(0 0 0 #fff)}.tool-rail button.on .icon-mark circle:first-child,.tool-rail button.on .icon-mark rect:first-child{stroke:#fff;stroke-width:1.5}@media(max-width:900px){.ed-top{flex-wrap:wrap;row-gap:6px}.ed-layers{order:10;width:100%;display:flex}.ed-layers button{flex:1}}@media(max-width:760px){.ed-layers{display:none}.ed-top{flex-wrap:nowrap}.ed-layer-select{flex:1;min-width:0;max-width:170px}.ed-grow,.ed-album{display:none}.ed-views button{padding:0 7px}}@media screen{.album-page .sheet{zoom:var(--album-fit, 1)}.album-page{padding-left:8px;padding-right:8px}.doc-sheet,.rot-page{zoom:var(--doc-fit, 1)}}.wall-canvas-wrap{padding-top:64px}.tool-rail~.wall-canvas,.wall-canvas-wrap .wall-canvas{padding-left:0}@media(max-width:760px){.wall-canvas-wrap{padding-top:58px}}.photo-pin path{stroke:#fff;stroke-width:2;filter:drop-shadow(0 1px 2px rgba(0,0,0,.35));cursor:pointer}.photo-pin text{fill:#fff;font-weight:700;pointer-events:none}.photo-pin.selected path{stroke:#14171c;stroke-width:3}.photo-pin .pin-count circle{fill:#14171c;stroke:#fff;stroke-width:1.5}.photo-pin .pin-count text{font-size:10px}.ed-chip{min-height:30px;padding:2px 10px;border-radius:15px;border:1px solid var(--line);background:#fff;font-size:13px;color:var(--muted, #667)}.ed-chip.on{border-color:#c98a12;color:#8a5d00}.photo-panel h3{margin:0 0 10px}.photo-types{display:flex;width:100%}.photo-types button{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:6px}.photo-types i{width:10px;height:10px;border-radius:50%;display:inline-block}.photo-text{width:100%;margin:6px 0 10px;font:inherit;padding:8px;border-radius:8px;border:1px solid var(--line);resize:vertical}.photo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-bottom:10px}.photo-thumb{position:relative;aspect-ratio:1;border-radius:8px;overflow:hidden;background:#eef0f3}.photo-thumb img{width:100%;height:100%;object-fit:cover;display:block;cursor:zoom-in}.photo-thumb.loading{display:flex;align-items:center;justify-content:center;font-size:12px;color:#667}.photo-x{position:absolute;top:4px;right:4px;width:26px;height:26px;min-height:0;padding:0;border-radius:13px;border:0;background:#14171ca6;color:#fff;font-size:18px;line-height:1}.photo-add{display:flex;gap:8px;margin-bottom:8px}.photo-add .btn{flex:1}.photo-panel .btn.danger{margin-top:6px;color:#c03030;border-color:#e7b5b5;background:#fff}.photo-panel .warn-text{color:#c03030;font-size:13px}.lightbox{position:fixed;inset:0;z-index:200;background:#0a0c0feb;display:flex;align-items:center;justify-content:center;touch-action:pan-y}.lightbox img{max-width:96vw;max-height:86vh;object-fit:contain;border-radius:6px}.lb-cap{position:absolute;left:0;right:0;bottom:max(14px,env(safe-area-inset-bottom));text-align:center;color:#fff;font-size:15px;padding:0 60px}.lb-nav{position:absolute;top:50%;transform:translateY(-50%);width:48px;height:64px;border:0;border-radius:10px;background:#ffffff1f;color:#fff;font-size:34px}.lb-nav.l{left:12px}.lb-nav.r{right:12px}.lb-close{position:absolute;top:max(12px,env(safe-area-inset-top));right:12px;width:44px;height:44px;border:0;border-radius:22px;background:#ffffff26;color:#fff;font-size:26px}.photo-sheet-list{font-size:9pt}.photo-sheet-list .pm-row{display:grid;grid-template-columns:22px 1fr;gap:6px;padding:4px 0;border-bottom:1px solid #ddd}.photo-sheet-list .pm-n{width:18px;height:18px;border-radius:9px;color:#fff;font-weight:700;font-size:8pt;display:flex;align-items:center;justify-content:center}.photo-cells{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(2,1fr);gap:4mm;height:100%}.photo-cell{margin:0;display:flex;flex-direction:column;min-height:0;border:1px solid #ccc;padding:2mm}.photo-cell img{flex:1;min-height:0;width:100%;object-fit:contain;background:#f4f4f4}.photo-cell .cap{font-size:8.5pt;margin-top:1.5mm}.photo-cell .cap b{margin-right:4px}.stages-view{margin-right:8px;vertical-align:middle}.gantt-wrap{margin-top:8px}.gantt-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:8px}.gantt{--gl: 210px;overflow-x:auto;border:1px solid var(--line);border-radius:10px;background:#fff;-webkit-overflow-scrolling:touch}.g-inner{position:relative}.g-head{display:flex;position:sticky;top:0;z-index:3;background:#fff;border-bottom:1px solid var(--line)}.g-row{display:flex;min-height:36px;border-bottom:1px solid #f0f2f5;position:relative}.g-row.work{min-height:26px;background:#fafbfc}.g-row.marks{min-height:30px}.g-label{position:sticky;left:0;z-index:2;width:var(--gl);flex-shrink:0;justify-content:flex-start;background:inherit;background-color:#fff;border:0;border-right:1px solid var(--line);text-align:left;padding:4px 10px;display:flex;align-items:center;gap:6px;font-size:14px;min-height:0;border-radius:0}.g-row.work .g-label{padding-left:28px;font-size:12.5px;color:var(--muted);background-color:#fafbfc}.g-row.work.done .g-label{text-decoration:line-through}.g-row.marks .g-label{font-size:12.5px;color:var(--muted)}.g-label.head{min-height:50px}.g-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.g-label .caret{color:var(--muted);width:12px;flex-shrink:0;display:inline-block;text-align:center}.g-track{position:relative;flex:1}.g-months{position:relative;height:22px;border-bottom:1px solid #f0f2f5}.g-months span{position:absolute;top:0;height:22px;line-height:22px;padding-left:6px;font-size:12px;font-weight:600;border-left:1px solid var(--line);white-space:nowrap;overflow:hidden}.g-days{position:relative;height:28px}.g-days span{position:absolute;top:0;height:28px;text-align:center;font-size:11px;line-height:14px;padding-top:1px;color:var(--text)}.g-days span small{display:block;font-size:9px;color:var(--muted)}.g-days span.off{color:#b5bcc8}.g-days span.today{background:var(--accent);color:#fff;border-radius:6px}.g-days span.today small{color:#fff}.g-body{position:relative}.g-grid{position:absolute;inset:0 0 0 var(--gl);pointer-events:none}.g-grid i{position:absolute;top:0;bottom:0;background:#f4f5f8}.g-today{position:absolute;top:0;bottom:0;width:2px;margin-left:-1px;background:var(--accent);opacity:.7}.g-deadline{position:absolute;top:0;bottom:0;border-left:2px dashed #d64545}.g-bar{position:absolute;top:6px;height:24px;border-radius:6px;background:#cfdcf7;border:1px solid #9db6ea;overflow:hidden;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none}.g-bar.dragging{cursor:grabbing;box-shadow:0 3px 10px #14171c33;z-index:2}.g-done{position:absolute;left:0;top:0;bottom:0;background:#6f97e6}.g-text{position:relative;font-size:11.5px;line-height:22px;padding:0 8px;white-space:nowrap;color:#14171c;pointer-events:none}.g-end{position:absolute;right:0;top:0;bottom:0;width:12px;cursor:ew-resize;touch-action:none;background:linear-gradient(90deg,transparent 4px,rgba(20,23,28,.25) 4px,rgba(20,23,28,.25) 6px,transparent 6px)}.g-row.stage.done .g-bar{background:#d6efdc;border-color:#9fd2ac}.g-row.stage.done .g-done{background:#57b26e}.g-row.stage.late .g-bar{border-color:#d64545}.g-fact{position:absolute;bottom:2px;height:4px;border-radius:2px;background:#14171c;opacity:.55;pointer-events:none}.g-wbar{position:absolute;top:8px;height:10px;border-radius:4px;background:#b9c9ec}.g-row.work.done .g-wbar{background:#9fd2ac}.g-pay{position:absolute;top:5px;width:20px;height:20px;margin-left:-10px;border-radius:10px;background:#fff;border:1.5px solid #c98a12;color:#8a5d00;font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center}.g-pay.paid{background:#57b26e;border-color:#57b26e;color:#fff}.g-pay.late{border-color:#d64545;color:#d64545}.g-visit{position:absolute;top:9px;width:12px;height:12px;margin-left:-6px;transform:rotate(45deg);background:#8a63d2}.g-visit.done{background:#c6b4ea}.gantt-legend{display:flex;flex-wrap:wrap;gap:14px;font-size:12px;margin-top:8px}.gantt-legend .lg{display:inline-block;width:16px;height:10px;border-radius:3px;vertical-align:middle;margin-right:4px}.lg.plan{background:#cfdcf7;border:1px solid #9db6ea}.lg.done{background:#6f97e6}.lg.fact{background:#14171c;opacity:.55;height:4px}.lg.today{background:var(--accent);width:2px}.lg.deadline{border-left:2px dashed #d64545;width:2px;border-radius:0}.lg.off{background:#f4f5f8;border:1px solid var(--line)}@media(max-width:760px){.gantt{--gl: 130px}.g-label{font-size:12.5px;padding:4px 6px}}.pipes .pipe-halo{fill:none;stroke:#14171c;stroke-opacity:.18;stroke-width:12;stroke-linecap:round;stroke-linejoin:round}.pipes .wall-thing{stroke:#fff;stroke-width:1}.pipes .wall-thing.radiator{fill:#e07b24;fill-opacity:.75}.pipes .wall-thing.towel{fill:#c2611a;fill-opacity:.75}.pipes .wall-thing.collector{fill:#0e7fa7;fill-opacity:.75}.wall-panel.radiator rect{fill:#fbe3cf;stroke:#e07b24}.wall-panel.towel rect{fill:#f6d6bd;stroke:#c2611a}.wall-panel.collector rect{fill:#d4ecf3;stroke:#0e7fa7}.sys-dot{display:inline-block;width:10px;height:10px;border-radius:50%;vertical-align:middle;margin-right:2px}.water-panel h3{margin:0 0 6px}.water-panel .wide-seg{display:flex;width:100%;margin:8px 0}.water-panel .wide-seg button{flex:1}.water-panel .btn{margin-top:6px}.water-panel .btn.danger{color:#c03030;border-color:#e7b5b5;background:#fff}.water-panel .warn-text{color:#c03030}.wall-panel.selected.radiator rect,.wall-panel.selected.towel rect,.wall-panel.selected.collector rect{stroke:#2f6fed;stroke-width:3}.pipes-legend h4{margin:8px 0 4px}.pipes-legend p{margin:2px 0;font-size:9pt}.legend-line{display:inline-block;width:18px;vertical-align:middle;margin-right:4px}.lp-sw{fill:#c0392b!important;font-size:11px}.warm-area polygon{stroke-width:1.4;stroke-opacity:.7}.warm-area.selected polygon{stroke-width:3;stroke-opacity:1;stroke-dasharray:6 4}.warm-label{font-size:11px;font-weight:600;fill:#8a2b26;paint-order:stroke;stroke:#ffffffe6;stroke-width:3px;pointer-events:none}.warm-area.water .warm-label{fill:#9a4f0f}.warm-label.small{font-size:9.5px;font-weight:500}.warm-preview{fill:#d9534f26;stroke:#d9534f;stroke-width:2;stroke-dasharray:6 4}.warm-preview.water{fill:#e07b2426;stroke:#e07b24}.tape line{stroke:#0b7a75;stroke-width:1.6}.tape.on line,.tape.live line{stroke:#d1495b;stroke-width:2}.tape .tape-proj{fill:none;stroke:#0b7a75;stroke-width:1;stroke-dasharray:4 3;opacity:.7}.tape-label{font-size:12px;font-weight:700;fill:#0b5f5b;paint-order:stroke;stroke:#fffffff2;stroke-width:4px;font-variant-numeric:tabular-nums}.tape.on .tape-label,.tape.live .tape-label{fill:#b0303f}.tape-del circle{fill:#d1495b;stroke:#fff;stroke-width:2}.tape-del path{stroke:#fff;stroke-width:2;stroke-linecap:round}.plan-canvas.tape-on,.wall-canvas.tape-on{cursor:crosshair;outline:3px solid #0b7a75;outline-offset:-3px}.tape-panel .kv .link{background:none;border:0;color:var(--danger, #c0392b);cursor:pointer;padding:0 4px}.lb-svg{width:100%;max-width:560px;display:block;margin:0 auto}.lb-svg.print{max-width:100%}.lb-body{fill:#fdfdfd;stroke:#7a8292;stroke-width:1}.lb-dev{cursor:pointer}.lb-dev.sel .lb-body{stroke:#2f6fed;stroke-width:3}.lb-dev.over .lb-body{stroke:#d9534f;stroke-width:2.5}.lb-txt{font-size:12px;font-weight:700;fill:#1d2433}.lb-sub{font-size:10px;fill:#4a5160}.lb-port{fill:#3d4556}.lb-over{fill:#d9534f1f;stroke:#d9534f;stroke-dasharray:6 4}.lb-group{margin-bottom:8px}.login{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:16px;background:var(--bg, #f4f6fa)}.login-card{width:100%;max-width:360px;display:flex;flex-direction:column;gap:12px}.login-card h1{margin:0 0 4px}.login-card .field input{width:100%}.sync-bar{position:fixed;left:50%;transform:translate(-50%);bottom:calc(10px + env(safe-area-inset-bottom));z-index:60;border:0;border-radius:18px;padding:8px 16px;font-size:14px;font-weight:600;box-shadow:0 4px 14px #14192840;max-width:calc(100% - 24px)}.sync-bar.off{background:#f2b134;color:#1d2433}.sync-bar.ok{background:#2e9d5b;color:#fff}.sync-bar.bad{background:var(--late);color:#fff}.sync-failed{border-top:1px solid var(--line);padding:10px 0;display:grid;gap:4px;justify-items:start}.crash{max-width:720px;margin:40px auto;padding:0 16px}.crash-text{white-space:pre-wrap;background:#fff;border:1px solid var(--line);border-radius:10px;padding:12px;font-size:12px;color:var(--late)}.crash-actions{display:flex;gap:10px}.calib polygon{fill:#2f6fed2e;stroke:none}.calib polyline{fill:none;stroke:var(--accent);stroke-width:2;stroke-dasharray:6 4}.calib circle{fill:var(--accent);stroke:#fff;stroke-width:2}.underlay-panel{display:grid;gap:10px}.underlay-panel h3,.underlay-panel p{margin:0}.underlay-panel .warn{display:grid;gap:8px}.underlay-panel .row-btns{display:flex;flex-wrap:wrap;gap:8px}.underlay-panel .btn.danger{color:var(--late)}.furn-layer .furn *{vector-effect:non-scaling-stroke;stroke:#5b4a3a;stroke-width:1.2;fill:none}.furn-layer .furn .furn-body{fill:#f4ede4}.furn-layer .furn .furn-wall{fill:#f4ede499;stroke-dasharray:5 3}.furn-layer .furn .furn-dash{stroke-dasharray:5 3;stroke-width:1}.furn-layer .furn .furn-mark{fill:#5b4a3a;stroke:none;font-weight:600}.furn-layer .furn .furn-sel{fill:none;stroke:var(--accent);stroke-width:2;stroke-dasharray:6 4}.furn-layer .furn.selected .furn-body{fill:#e3ecff}.furn-layer .furn-dim{font-size:12px;font-weight:600;fill:var(--text);paint-order:stroke;stroke:#fff;stroke-width:3px;pointer-events:none}.furn-layer.faint{opacity:.35;pointer-events:none}.furn-panel .row-btns{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}
