/* Drawing is a dedicated workspace; project information stays in the object card. */
@page prices{size:A4 landscape;margin:12mm}
#print-document.price-print{page:prices}
.btn,.segmented button,.tab,.nav-item{font-weight:600}h1,h2,h3,strong{font-weight:700}.field{font-weight:400}.room-switcher strong{font-weight:600}.canvas-toolbar{scrollbar-width:none}.canvas-toolbar::-webkit-scrollbar{display:none}
.editor-focus{overflow:hidden}.editor-focus .shell{display:block}.editor-focus .sidebar,.editor-focus .mobile-nav,.editor-focus .topbar,.editor-focus .project-head{display:none}.editor-focus .main{margin:0;padding:0;min-width:0}.workspace-v3{display:flex;flex-direction:column;width:100%;height:100dvh;min-height:0;margin:0;overflow:hidden;border:0}.focus-header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px 22px;background:white;border-bottom:1px solid var(--line);flex-shrink:0}.focus-header .row{min-width:0;gap:12px}.focus-header .btn{font-size:13px}.room-switcher{display:flex;gap:10px;align-items:center;min-width:0;text-align:left}.room-switcher strong{font-size:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:36vw}.room-switcher svg{width:14px;flex-shrink:0}.workspace-v3 .drawing{display:flex;flex:1;flex-direction:column;min-height:0;min-width:0;width:100%;border:0;overflow:hidden}.workspace-v3 .canvas-toolbar{padding:9px 20px;background:white;flex-shrink:0;min-height:54px;overflow-x:auto;border-bottom:1px solid var(--line)}.construction-tools{display:flex;gap:7px;min-width:max-content}.construction-tools .btn{font-size:13px;height:37px;padding:0 14px;gap:7px}.construction-tools .icon{width:17px}.workspace-v3 .editor-subtools{padding:4px 18px;flex-shrink:0}.workspace-v3 .editor-subtools .row{width:auto;flex-wrap:nowrap}.workspace-v3 .editor-subtools .btn{font-size:12px;min-height:32px;padding:0 10px}.canvas-v3{flex:1;min-height:0;position:relative;overflow:hidden;background:#f6f7f4}.canvas-v3 .plan-svg{position:absolute;inset:0;width:100%;height:100%;touch-action:none}.canvas-v3 .dimension{font-size:12px;fill:#6a7057;paint-order:stroke;stroke:#f6f7f4;stroke-width:4px;pointer-events:none}.canvas-v3 .zoom-controls{bottom:16px;right:18px;gap:0;border:1px solid #dfe2d7;box-shadow:0 3px 14px #343d1510;z-index:3}.canvas-v3 .zoom-controls .btn{font-size:12px;padding:0 12px;height:38px}.canvas-v3 .model-controls{left:18px;bottom:16px;z-index:3}.canvas-v3 .model-controls .btn{min-height:38px}.focus-status{display:flex;align-items:center;justify-content:space-between;padding:5px 20px;background:white;border-top:1px solid var(--line);gap:10px;flex-shrink:0;color:var(--muted);font-size:12px}.focus-status .btn{height:32px;font-size:12px;white-space:nowrap}.placement-banner{position:absolute;top:15px;left:50%;transform:translateX(-50%);max-width:calc(100% - 24px);padding:8px 14px;border-radius:10px;display:flex;gap:10px;align-items:center;background:#546323;color:white;font-size:13px;box-shadow:0 4px 22px #343d1520;z-index:4}.placement-banner .btn{color:white}.top-outline{fill:none;stroke:#9b8257;stroke-width:1.4;stroke-dasharray:7 4;pointer-events:none}.reveal-hit{fill:#bec89c;stroke:#82924e;stroke-width:.65;cursor:pointer}.reveal-hit:hover{fill:#a4b46e}.junction-hit{stroke:#9e7941;stroke-width:5;opacity:.75;cursor:pointer;fill:none}.junction-hit:hover{stroke-width:9;opacity:1}.ceiling-edge{stroke:#588c99;stroke-width:4}.defect-label{cursor:pointer}.defect-label rect{fill:#fff6e9;stroke:#c79865;stroke-width:.8}.defect-label text{fill:#865e31;font:11px Arial,sans-serif;pointer-events:none}.geometry-preview{background:#f3f5ed;border:1px solid #dadecb;border-radius:9px;padding:15px;font-size:14px;line-height:1.6;margin:16px 0}.depth-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px;padding:15px;background:linear-gradient(#e9c99e55,#f5ede044);border:1px solid #d1be9f;border-radius:10px}.room-picker-v3{display:grid;gap:8px;margin-top:20px}.empty-editor{height:100dvh;background:#f7f7f5}.empty-editor .center-actions{gap:10px}.building-toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px}.building-toolbar .field{max-width:150px;margin:10px 0}.building-toolbar .btn{font-size:12px}.building-rooms{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}.building-rooms .btn{font-size:12px}#building-svg{display:block;width:100%;height:48dvh;min-height:250px;background:#f6f7f4;border:1px solid #e3e5dc;border-radius:10px;touch-action:none}.building-room polygon{stroke:#707950;stroke-width:1.7}.building-room{cursor:grab}.building-room text{font:14px Gilroy,Arial,sans-serif;fill:#4e5439;paint-order:stroke;stroke:#ffffffa0;stroke-width:3;pointer-events:none}#building-model{height:48dvh;min-height:250px;position:relative;background:#f6f7f4;border-radius:10px;overflow:hidden}.object-operations{margin-top:18px}.schedule-event{display:flex;text-align:left;width:100%;align-items:flex-start;gap:24px;padding:18px 0;border-top:1px solid var(--line)}.schedule-event strong{font-size:14px}.schedule-event small{display:block;color:var(--muted);line-height:1.5;font-size:12px;margin-top:4px}.event-date{font-size:13px;color:var(--accent);min-width:90px}.schedule-event.done{opacity:.6}.schedule-event.done strong{text-decoration:line-through}.price-paper-scroll{overflow:auto;max-width:100%}.price-paper{min-width:680px}.price-paper table{width:100%;border-collapse:collapse}.price-paper th{background:#f4f5f1}.price-paper td,.price-paper th{border-bottom:1px solid #e3e5dd}.price-paper small{display:block;color:#747965}.price-paper .print-total{margin-top:24px;text-align:right}
@media(max-width:700px){.workspace-v3{height:100dvh;margin:0;min-height:0}.workspace-v3 .focus-header{padding:9px 10px;gap:8px;flex-wrap:wrap}.focus-header>.row{width:100%;justify-content:space-between}.focus-header .btn{padding:0 7px;height:32px;font-size:12px}.focus-header .segmented{width:100%;display:flex;margin:0}.focus-header .segmented button{flex:1;height:36px}.room-switcher strong{font-size:16px;max-width:62vw}.desktop-only{display:none!important}.workspace-v3 .canvas-toolbar{padding:7px 9px;min-height:52px;width:100%;display:block}.construction-tools{gap:5px}.construction-tools .btn{height:36px;font-size:12px;padding:0 11px}.workspace-v3 .editor-subtools{padding:2px 6px;gap:0;flex-wrap:nowrap}.workspace-v3 .editor-subtools .btn{font-size:10px;padding:0 5px;gap:3px;min-height:36px}.workspace-v3 .editor-subtools .icon{width:15px}.workspace-v3 .drawing{min-height:0}.canvas-v3{min-height:0}.canvas-v3 .dimension{font-size:19px}.canvas-v3 .vertex{r:9px}.canvas-v3 .zoom-controls{right:9px;bottom:12px}.canvas-v3 .zoom-controls .btn{min-height:39px;padding:0 12px}.canvas-v3 .model-controls{left:9px;bottom:60px}.focus-status{padding:4px 9px max(4px,env(safe-area-inset-bottom));font-size:10px;line-height:1.25}.focus-status>span{max-width:55%}.focus-status .btn{font-size:10px;padding:0 4px;min-height:34px}.placement-banner{font-size:12px;line-height:1.4;padding:5px 10px;width:max-content}.defect-label text{font-size:15px}.building-toolbar{gap:8px;flex-wrap:wrap}.building-toolbar .row{flex-wrap:wrap}.building-toolbar .btn{padding:0 9px}.building-toolbar .field{max-width:120px}.building-room text{font-size:20px}.schedule-event{gap:13px}.schedule-event strong{font-size:13px}.event-date{min-width:78px;font-size:11px}.object-operations .section-head h2{font-size:19px}.object-operations .section-head .btn{font-size:12px;padding:0 9px}.overview-grid .section-head>.row{flex-wrap:wrap;justify-content:flex-end;gap:4px}.overview-grid .section-head>.row .btn{font-size:11px;padding:0 8px;min-height:35px}.depth-grid{gap:0 10px;padding:10px}.depth-grid .field{font-size:11px}.document-dialog .price-paper{padding:20px}.property-sheet .room-total{display:none}}
@media print{body.editor-focus{overflow:visible}#print-document.price-print{font-size:11px}#print-document.price-print table{font-size:10px;width:100%}#print-document.price-print th,#print-document.price-print td{padding:6px}#print-document.price-print small{display:block}#print-document.price-print thead{display:table-header-group}#print-document.price-print tr{break-inside:avoid}}
