@font-face{font-family:OpenSans;src:url('./assets/ui-font.ttf') format('truetype');font-weight:400;font-display:swap}@font-face{font-family:OpenSans;src:url('./assets/ui-font-semibold.ttf') format('truetype');font-weight:600 900;font-display:swap}*{box-sizing:border-box}body{margin:0;background:#f2f3f3;color:#253b3a;font-family:OpenSans,Arial,sans-serif;font-size:13px;-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button,a,input{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.4}button:focus-visible,a:focus-visible{outline:3px solid #69bbb0;outline-offset:3px}input:focus{outline:2px solid #77b9af;outline-offset:1px}input[type=checkbox]{accent-color:#1f7568;cursor:pointer;width:15px;height:15px}input[type=number]{appearance:textfield;-moz-appearance:textfield}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}svg{width:18px;height:18px;display:block;flex-shrink:0}button span[data-icon]{display:flex}button, input{transition:background .16s,border-color .16s,box-shadow .16s}h1,h2,h3,p{margin:0}.topbar{height:84px;border-bottom:1px solid #dfe4e3;display:flex;align-items:center;padding:0 3.7%;gap:28px;background:#f8f9f8}.brand{display:flex;align-items:center;gap:12px;color:#254541;text-decoration:none;font-size:21px;font-weight:800;letter-spacing:1px}.brand small{display:block;font-size:7px;letter-spacing:2px;margin-top:4px;font-weight:700}.brand-mark{display:flex;gap:3px;transform:skew(-16deg);height:31px;align-items:flex-end}.brand-mark i{display:block;width:7px;background:#c97956;border-radius:1px}.brand-mark i:nth-child(1){height:18px}.brand-mark i:nth-child(2){height:25px}.brand-mark i:nth-child(3){height:31px}.header-divider{height:28px;width:1px;background:#d8dfdc}.header-product{color:#73847f;font-size:12px}.topbar-right{margin-left:auto;display:flex;gap:22px;align-items:center}.local-status{font-size:11px;color:#74847e;display:flex;gap:7px;align-items:center}.local-status>span,.status-dot{display:inline-block;background:#5d9b7d;width:6px;height:6px;border-radius:100%}.icon-button{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:1px solid #dfe5e1;border-radius:8px;background:#fafbfa;color:#6a7d75}.icon-button:hover{background:#e9efec;border-color:#bccdc5}main{max-width:1700px;margin:0 auto;padding:36px 3.7% 0}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:29px}.eyebrow{font-size:9px;letter-spacing:1.55px;color:#84908a;font-weight:700;margin-bottom:12px}.eyebrow>span{padding:0 10px;color:#b6bfba}h1{font-size:clamp(26px,2.35vw,36px);letter-spacing:-1.5px;font-weight:650;line-height:1.2}h1>span{color:#ba7c5c}.page-heading p{margin-top:10px;font-size:12px;color:#7d8983}.heading-actions{display:flex;gap:10px;padding-top:20px}.button{height:43px;padding:0 16px;display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:8px;border:1px solid transparent;font-weight:600;font-size:12px;white-space:nowrap}.button.primary{color:#fff;background:#286d60;box-shadow:0 2px 2px #21352e0a}.button.primary:hover{background:#20594e}.button.secondary{background:#f9faf9;border-color:#d9e1dc;color:#536b61}.heading-actions .button{height:44px}.heading-actions .primary>span:last-child{margin-left:9px}.workspace{display:grid;grid-template-columns:340px minmax(0,1fr);gap:20px;align-items:start}.sidebar{display:flex;flex-direction:column;gap:14px}.panel{background:#fafbfa;border:1px solid #dfe5e1;border-radius:12px;padding:19px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}h2{font-size:13px;font-weight:700;display:flex;align-items:center;gap:9px}.step{font-size:10px;letter-spacing:.2px;color:#8b9c93;font-weight:500}.unit-tag{color:#89978f;font-size:10px}.presets{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-bottom:18px}.preset{min-height:57px;text-align:left;padding:8px;border:1px solid #e0e6e2;background:#f6f8f6;color:#6d8077;border-radius:6px;display:flex;flex-direction:column;gap:5px;position:relative}.preset strong{font-size:10px;font-weight:650;white-space:nowrap}.preset small{font-size:8px;white-space:nowrap;color:#97a299}.preset.active{background:#e8f1ec;border-color:#71a28d;color:#2a6b56;box-shadow:0 0 0 1px #71a28d22}.preset.active:after{content:'';width:4px;height:4px;background:#4a8e70;position:absolute;right:6px;top:6px;border-radius:50%}.preset:hover{border-color:#83a794}.dimension-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.field-label{display:block;font-size:9px;color:#86958c;margin-bottom:6px}.field-wrap{position:relative}.field-wrap input{width:100%;height:35px;padding:0 28px 0 10px;background:#f2f5f2;border:1px solid #e0e6e1;border-radius:6px;color:#3d5649;font-size:12px;font-variant-numeric:tabular-nums}.field-wrap>span{position:absolute;right:9px;bottom:11px;font-size:8px;color:#95a199}.payload-row{display:flex;align-items:center;gap:7px;padding-top:12px;margin-top:12px;border-top:1px solid #e9ede9;font-size:10px;color:#718578}.payload-row label{flex:1}.payload-row label>span{font-size:9px;color:#95a298;margin-left:3px}.payload-row input{width:75px;height:27px;border:1px solid #e0e6e1;background:#f2f5f2;border-radius:5px;color:#526b5b;text-align:right;padding:0 8px;font-size:10px}.field-note{font-size:8px;color:#98a299}.cargo-panel{padding-bottom:15px}.cargo-item{padding:12px 0;border-top:1px solid #e7ece8}.cargo-item:first-child{border-top:0;padding-top:0}.cargo-title{display:flex;gap:7px;align-items:center;margin-bottom:10px}.cargo-dot{width:8px;height:8px;border-radius:3px;flex-shrink:0}.cargo-title input{border:0;background:transparent;min-width:0;width:100%;font-size:11px;font-weight:600;color:#475e50;padding:1px 0}.delete-cargo{border:0;background:none;color:#9ca79f;padding:0 0 0 5px}.delete-cargo svg{width:13px;height:13px}.cargo-fields{display:grid;grid-template-columns:repeat(3,1fr) .85fr .7fr;gap:5px}.cargo-fields .field-label{font-size:8px;margin-bottom:5px}.cargo-fields input{padding:0 5px;text-align:center;height:30px;font-size:10px}.cargo-stack{display:flex;gap:5px;align-items:center;margin-top:8px;font-size:8px;color:#93a093}.cargo-stack input{height:11px;width:11px;margin:0}.add-button{width:100%;height:33px;border:1px dashed #c9d6cd;border-radius:6px;background:#f4f7f3;color:#678270;display:flex;align-items:center;justify-content:center;gap:6px;font-size:10px;margin-top:4px}.add-button svg{width:13px;height:13px}.add-button:hover{background:#eaf1e9}.setting{position:relative;display:flex;justify-content:space-between;align-items:center;cursor:pointer;margin-bottom:15px}.setting strong{font-size:11px;font-weight:600;color:#48604e}.setting small{display:block;font-size:9px;color:#909e92;margin-top:4px}.switch{position:absolute;right:0;opacity:0;width:33px!important;height:20px!important;margin:0}.switch-track{height:20px;width:33px;background:#dce3dc;border-radius:20px;padding:3px;transition:.2s;pointer-events:none}.switch-track:after{content:'';display:block;height:14px;width:14px;background:white;border-radius:100%;box-shadow:0 1px 3px #273b2e30;transition:.2s}.switch:checked+.switch-track{background:#428569}.switch:checked+.switch-track:after{transform:translateX(13px)}.switch:focus-visible+.switch-track{outline:2px solid #326e51;outline-offset:3px}.checkbox-row{font-size:10px;color:#687e6a;display:flex;align-items:center;gap:7px;cursor:pointer}.checkbox-row input{margin:0;width:12px;height:12px}.info-tip{font-size:8px;border:1px solid #b6c3b7;width:12px;height:12px;border-radius:100%;display:inline-flex;align-items:center;justify-content:center;color:#91a091;margin-left:auto}.stacking-note{display:flex;gap:8px;padding:12px 0;margin-top:3px;color:#92a392}.stacking-note svg{width:14px;height:14px;flex-shrink:0;margin-top:1px}.stacking-note p{font-size:9px;line-height:1.6}.auto-button{width:100%;font-size:11px;height:40px;justify-content:flex-start;padding:0 12px}.auto-button span:last-child{margin-left:auto}.main-column{min-width:0;display:flex;flex-direction:column;gap:15px}.viewer-card{background:#fafbfa;border:1px solid #dce4df;border-radius:12px;overflow:hidden}.viewer-heading{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-bottom:1px solid #e4eae5;gap:10px}.viewer-heading>div:first-child{display:flex;gap:9px;align-items:center;min-width:0}.viewer-heading h2{font-size:12px;white-space:nowrap}.viewer-subtitle{font-size:10px;color:#8b9b8f;border-left:1px solid #dbe4dc;padding-left:10px;margin-left:3px}.live-dot{width:5px;height:5px;background:#519777;border-radius:50%}.segmented{display:flex;background:#eef2ed;border:1px solid #e3e9e1;border-radius:7px;padding:3px;gap:2px}.segmented button{font-size:9px;color:#829280;padding:6px 12px;background:transparent;border:0;border-radius:4px;white-space:nowrap}.segmented button.active{background:#fafcfa;color:#3d6a4f;box-shadow:0 1px 4px #2d4a2c16}.scene{height:510px;min-height:350px;position:relative;background:#edf1ee;overflow:hidden;touch-action:none}.scene>canvas{display:block;width:100%;height:100%;outline:0;touch-action:none}.scene-topline{position:absolute;z-index:2;left:18px;right:18px;top:16px;display:flex;align-items:center;justify-content:space-between;pointer-events:none}.scene-badge{display:flex;align-items:center;gap:6px;font-size:9px;color:#84958a;background:#fafcf7dd;border:1px solid #dce6db;padding:7px 10px;border-radius:6px}.scene-badge svg{width:13px;height:13px}.scene-actions{display:flex;gap:5px;pointer-events:auto}.scene-actions .icon-button{width:29px;height:29px;background:#f9fbf7cc;border-color:#dce6da}.scene-actions svg{width:14px;height:14px}.scene-bottomline{position:absolute;left:18px;right:18px;bottom:14px;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:9px;color:#7d927f;pointer-events:none}.scene-bottomline>span{display:flex;align-items:center;gap:6px}.snap-control{display:flex;align-items:center;gap:5px;pointer-events:auto;cursor:pointer}.snap-control input{width:11px;height:11px}.orientation{position:absolute;bottom:49px;left:25px;width:35px;height:40px;font-size:7px;color:#7e9181;pointer-events:none}.orientation i{position:absolute;left:12px;top:5px;height:25px;width:1px;background:#a1b1a4}.orientation i:after{content:'';position:absolute;top:24px;left:0;background:#a1b1a4;width:24px;height:1px;transform:rotate(-25deg);transform-origin:left}.orientation span:nth-child(1){position:absolute;left:10px;top:-4px}.orientation span:nth-child(3){position:absolute;left:28px;top:13px}.orientation span:nth-child(4){position:absolute;top:29px;left:3px}.viewer-footer{min-height:52px;padding:10px 18px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #e2e9e1}.legend{display:flex;gap:15px;flex-wrap:wrap}.legend-item{display:flex;gap:6px;align-items:center;color:#7e907f;font-size:9px}.legend-item i{width:7px;height:7px;border-radius:2px}.text-button{border:0;background:none;display:inline-flex;align-items:center;gap:6px;color:#6b8571;font-size:10px;white-space:nowrap;padding:4px}.text-button:hover{color:#286d60}.text-button svg{height:14px;width:14px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.stat{background:#fafbfa;border:1px solid #dce5dd;border-radius:10px;padding:16px;min-width:0;position:relative}.stat-label{font-size:9px;color:#8b9b8b;display:flex;align-items:center;justify-content:space-between;gap:4px}.stat-label svg{width:13px;height:13px;color:#9ead9e}.stat-value{font-size:26px;font-weight:600;color:#355742;letter-spacing:-1px;line-height:1.2;margin-top:8px;font-variant-numeric:tabular-nums}.stat-value span{font-size:11px;color:#94a392;font-weight:400;letter-spacing:0;margin-left:4px}.stat-caption{font-size:8px;color:#94a391;margin-top:7px}.stat.warning .stat-value{color:#b2804a}.stat.warning{background:#faf8f1;border-color:#e6dfcd}.progress{height:3px;background:#e6ede2;border-radius:8px;margin-top:10px;overflow:hidden}.progress i{display:block;background:#71a28b;height:100%;border-radius:8px}.selection-panel{padding:17px 19px}.empty-selection{display:flex;align-items:center;gap:13px}.selection-symbol{background:#eef3ea;color:#7e9b7f;display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:8px;flex-shrink:0}.selection-symbol svg{width:18px;height:18px}.empty-selection h3{font-size:11px;font-weight:600;color:#5e785e}.empty-selection p{font-size:9px;line-height:1.6;color:#94a18f;max-width:580px;margin-top:5px}.keycap{display:flex;align-items:center;gap:7px;white-space:nowrap;color:#6c8667;font-size:10px;margin-left:auto}.keycap>span{font-size:8px;color:#a1ad98}.selected-heading{display:flex;align-items:center;gap:8px;margin-bottom:14px}.selected-heading h3{font-size:12px;font-weight:600}.selected-heading small{font-size:9px;color:#8d9e87}.selected-heading button{margin-left:auto}.selected-details{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.coordinate{font-size:9px;color:#8b9c83}.coordinate strong{display:block;color:#4e724d;font-size:13px;margin-top:3px;font-weight:600}.selection-actions{display:flex;gap:8px;margin-left:auto}.selection-actions .button{height:31px;font-size:9px;padding:0 10px}.unplaced-panel{background:#faf8f1;border-color:#e5dcc5}.unplaced-panel h3{font-size:12px;color:#9b753b;margin-bottom:10px}.unplaced-row{display:flex;align-items:center;justify-content:space-between;padding:6px 0;font-size:10px;color:#9c8d6a;gap:10px}.unplaced-row strong{font-weight:600}.unplaced-panel>p{font-size:9px;color:#a4987b;margin-top:10px;line-height:1.6}.workflow-note{display:flex;gap:8px;align-items:flex-start;padding:2px 4px;color:#9ba792}.workflow-note>svg{width:13px;height:13px;flex-shrink:0;margin-top:1px}.workflow-note>p{font-size:9px;line-height:1.6;max-width:620px}.workflow-note .text-button{margin-left:auto;padding-top:0;font-size:9px}.page-footer{margin:34px 0 0;border-top:1px solid #dce4d9;padding:18px 0;display:flex;justify-content:space-between;gap:15px;font-size:8px;letter-spacing:.65px;color:#9caa93}.page-footer>span:first-child{font-weight:600}.page-footer>span:first-child>span{padding:0 8px;color:#b6c0ae}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);padding:13px 20px;background:#2a5145;color:#fff;border-radius:9px;box-shadow:0 6px 20px #23372d25;font-size:12px;max-width:min(92vw,650px);z-index:100;opacity:0;pointer-events:none;transition:.2s}.toast.show{opacity:1;transform:translate(-50%,0)}dialog{width:min(560px,92vw);border:1px solid #d2ded3;border-radius:16px;padding:27px;background:#f7faf4;color:#4c694c;box-shadow:0 25px 90px #21382735}dialog::backdrop{background:#243c3455;backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.dialog-heading h2{font-size:17px;line-height:1.4}.help-list{margin:25px 0;padding-left:22px}.help-list li{margin:18px 0;padding-left:5px;font-size:12px}.help-list p{font-size:11px;line-height:1.7;color:#829278;margin-top:5px}.help-footnote{font-size:10px;line-height:1.7;color:#879979;border-top:1px solid #dce6d6;padding-top:15px}.scene-fallback{position:absolute;inset:50px 30px;z-index:3;background:#edf1ee;padding:40px;text-align:center;align-content:center}.scene-fallback p{font-size:12px;line-height:1.8;margin-top:10px;color:#83917d}.viewer-card.expanded{position:fixed;inset:20px;z-index:40;display:flex;flex-direction:column;box-shadow:0 0 0 40px #e5eae3dc}.viewer-card.expanded .scene{flex:1;height:auto}.viewer-card.expanded .viewer-heading{flex-shrink:0}.viewer-card.expanded .viewer-footer{flex-shrink:0}[hidden]{display:none!important}
@media(min-width:1500px){.workspace{grid-template-columns:370px minmax(0,1fr);gap:24px}.scene{height:560px}.preset strong{font-size:11px}.preset small{font-size:9px}.cargo-title input{font-size:12px}.cargo-fields input{font-size:11px}.stat-value{font-size:30px}.stat{padding:19px}}
@media(max-width:1150px){main{padding-left:24px;padding-right:24px}.topbar{padding-left:24px;padding-right:24px}.workspace{grid-template-columns:310px minmax(0,1fr);gap:16px}.panel{padding:16px}.scene{height:470px}.viewer-subtitle{display:none}.stat{padding:13px 10px}.stat-value{font-size:23px}.legend{gap:9px}.heading-actions{gap:6px}.heading-actions .button{font-size:10px;padding:0 11px}.workflow-note .text-button{font-size:0}.workflow-note .text-button svg{width:17px;height:17px}.keycap{display:none}.scene-badge{font-size:8px}}
@media(max-width:900px){.page-heading{align-items:flex-start}.heading-actions{padding-top:22px}.heading-actions .secondary span:not([data-icon]){display:none}.header-product{display:none}.header-divider{display:none}.workspace{grid-template-columns:285px minmax(0,1fr);gap:13px}.presets{gap:4px}.preset{padding:6px}.preset strong{font-size:9px}.preset small{font-size:7px}.scene{height:430px}.viewer-heading{padding:13px 12px}.segmented button{padding:5px 8px}.scene-topline{left:12px;right:12px}.scene-badge{max-width:170px}.stats{grid-template-columns:repeat(2,1fr)}.viewer-footer{padding:10px 12px}.legend{gap:6px}.legend-item{font-size:8px}.viewer-footer .text-button{font-size:0}.workflow-note p{font-size:8px}}
@media(max-width:720px){.topbar{height:67px;padding:0 17px}.brand{font-size:18px;gap:10px}.brand small{font-size:6px}.local-status{font-size:0}.topbar-right{gap:10px}.brand-mark{height:27px}.topbar-right>.icon-button{width:30px;height:30px}main{padding:26px 15px 0}.page-heading{display:block;margin-bottom:21px}.eyebrow{font-size:8px;margin-bottom:10px}h1{font-size:30px;letter-spacing:-1px}.page-heading p{font-size:10px}.heading-actions{padding-top:18px;gap:8px}.heading-actions .button{height:39px;font-size:10px;flex:1}.heading-actions .secondary span:not([data-icon]){display:inline}.workspace{display:flex;flex-direction:column;gap:15px}.sidebar{width:100%;gap:12px}.body-panel{order:0}.presets{grid-template-columns:repeat(3,1fr);gap:7px}.preset{padding:9px;min-height:54px}.preset strong{font-size:11px}.preset small{font-size:9px}.cargo-fields input{font-size:12px;height:34px}.cargo-fields .field-label{font-size:9px}.cargo-stack{font-size:9px}.cargo-title input{font-size:12px}.main-column{width:100%}.viewer-heading{padding:13px}.viewer-subtitle{display:inline;font-size:9px}.scene{height:410px;min-height:350px}.scene-badge{font-size:8px;max-width:205px}.legend-item{font-size:9px}.stats{grid-template-columns:repeat(2,1fr)}.stat{padding:16px}.stat-value{font-size:28px}.stat-label{font-size:10px}.stat-caption{font-size:9px}.page-footer{font-size:7px;line-height:1.7;display:block;margin-top:24px}.page-footer>span{display:block}.page-footer>span:last-child{margin-top:5px}.workflow-note p{font-size:9px}.empty-selection p{font-size:10px}.selection-panel{padding:16px}.selected-details{gap:13px}.selection-actions{margin-left:0}.viewer-card.expanded{inset:7px}.scene-bottomline{font-size:8px;left:12px;right:12px}.viewer-heading h2{font-size:11px}.workflow-note .text-button{font-size:0}.switch-track{flex-shrink:0}.viewer-subtitle{max-width:95px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

.viewer-controls{display:flex;align-items:center;gap:9px}.quick-auto{height:30px;font-size:9px;background:#e6efea;color:#387058;border:1px solid #cfded3;padding:0 10px}.quick-auto:hover{background:#dce9e0}.quick-auto svg{width:13px;height:13px}.viewer-heading{flex-wrap:wrap}@media(max-width:1150px){.viewer-controls{gap:6px}.quick-auto{padding:0 8px}.viewer-heading>div:first-child{flex:1}.viewer-heading .viewer-subtitle{display:none}}@media(max-width:900px){.viewer-controls{width:100%;justify-content:space-between}.viewer-heading{gap:10px}}

.report-download{display:flex;align-items:center;gap:13px;padding:17px 20px;margin-bottom:20px;background:#e7f0ea;border:1px solid #bbd4c3;border-radius:10px;color:#365e48}.report-ready-icon{color:#498569;flex-shrink:0}.report-download strong{font-size:12px}.report-download p{font-size:10px;line-height:1.6;color:#6a8270;margin-top:4px;max-width:600px}.report-download-actions{display:flex;gap:8px;margin-left:auto;flex-shrink:0}.report-download a{text-decoration:none;cursor:pointer;height:35px;font-size:10px}@media(max-width:900px){.report-download{flex-wrap:wrap}.report-download-actions{margin-left:0}.report-download p{max-width:500px}}

.heading-actions{flex-wrap:wrap;justify-content:flex-end}.heading-actions #save-btn{font-size:10px;padding:0 11px}.report-download-actions{flex-wrap:wrap;justify-content:flex-end}.telegram-miniapp body{padding-top:var(--mini-safe-top,0px);padding-bottom:var(--mini-safe-bottom,0px);padding-left:var(--mini-safe-left,0px);padding-right:var(--mini-safe-right,0px);min-height:var(--tg-viewport-stable-height,100vh)}.telegram-miniapp .topbar{height:62px}.telegram-miniapp .header-product{display:none}.telegram-miniapp main{padding-top:22px}.telegram-miniapp .local-status{font-size:0}.telegram-miniapp .toast{bottom:calc(18px + var(--mini-safe-bottom,0px))}@media(max-width:720px){.heading-actions{display:grid;grid-template-columns:1fr 1fr}.heading-actions #save-btn{grid-column:1 / -1;justify-self:start;height:29px;order:3;background:none;padding:0;border:0}.heading-actions #share-btn{grid-column:1}.heading-actions #pdf-btn{grid-column:2}.report-download-actions{width:100%;justify-content:flex-start}.report-download-actions .button{flex:1;padding:0 8px;font-size:9px}.report-download .report-ready-icon{display:none}.telegram-miniapp h1{font-size:27px}}
