@charset "UTF-8";
:root{--ink:#182226;--muted:#586e74;--brand:#25373d;--accent:#00dae0;--line:#edf4f5;--surface:#fff;--bg:#ffffff;--red:#a63838;--mono:"SFMono-Regular",Consolas,"Liberation Mono",monospace;--sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.5 var(--sans);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}button{color:inherit}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}button,input,select,textarea,a{outline-offset:4px}button:focus-visible,a:focus-visible{outline:2px solid #35565f}input:focus,textarea:focus,select:focus{outline:2px solid #6b7e83;outline-offset:1px}button{border:0;background:none}h1,h2,h3,p{margin:0}h1{font-size:34px;line-height:1.2;letter-spacing:-1.15px;font-weight:600}h2{font-size:19px;line-height:1.35;font-weight:600;letter-spacing:-.4px}h3{font-size:15px;font-weight:600}input,select,textarea{background:white;color:var(--ink);border:1px solid #edf4f5;border-radius:6px;padding:11px 12px;width:100%;min-width:0}input::placeholder,textarea::placeholder{color:#6b7e83}textarea{resize:vertical}label{display:block;font-size:12px;font-weight:600;color:#35565f}label input,label select,label textarea{display:block;margin-top:6px;font-size:14px;font-weight:400}label>span:not(.icon){float:right;color:#6b7e83;font-weight:400}label .icon{flex-shrink:0}.icon{vertical-align:middle;flex-shrink:0;pointer-events:none}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:11px 17px;min-height:43px;border-radius:6px;font-size:12px;font-weight:600;white-space:nowrap;transition:background .15s,transform .15s}.btn:hover{transform:translateY(-1px)}.primary{background:var(--brand);color:white}.primary:hover{background:#182226}.secondary{background:#fff;border:1px solid #edf4f5;color:#25373d}.secondary:hover{background:#f7f9fa}.icon-btn{width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;border-radius:5px;font-size:24px}.icon-btn:hover{background:#f7f9fa}.muted{color:var(--muted)}.eyebrow{font-size:10px;letter-spacing:1.6px;font-weight:600;color:#586e74}.brand{display:flex;align-items:center;gap:10px;font-size:24px;font-weight:700;letter-spacing:1.2px;line-height:1}.brand-dot{color:#00dae0;margin-left:-9px}.status-dot{display:inline-block;width:6px;height:6px;background:#6b7e83;border-radius:50%;flex-shrink:0}.auth-layout{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-intro{padding:44px 9%;background:#1d3433;color:white;display:flex;flex-direction:column;background-image:radial-gradient(ellipse at 70% 40%,#25373d,transparent 65%)}.auth-copy{max-width:520px;margin:auto 0;padding:60px 0}.auth-copy .eyebrow{color:#b7c9cc}.auth-copy h1{font-size:44px;letter-spacing:-1.4px;font-weight:500;line-height:1.18;margin:22px 0}.auth-copy>p{font-size:15px;max-width:370px;color:#b7c9cc;line-height:1.8}.auth-drawing{margin-top:50px;padding:12px;border:1px solid #35565f;border-radius:5px}.auth-drawing svg{display:block;width:100%}.auth-foot{display:flex;align-items:center;gap:9px;color:#b7c9cc;font-size:11px}.auth-foot>span:last-child{margin-left:auto;font:9px var(--mono);letter-spacing:1px}.auth-panel{display:flex;align-items:center;justify-content:center;padding:60px 40px;background:#ffffff}.auth-form-wrap{width:370px;max-width:100%}.section-number{font:10px var(--mono);letter-spacing:1px;color:#586e74}.auth-form-wrap h2{font-size:28px;margin:19px 0 10px;letter-spacing:-.8px}.auth-form-wrap>p{color:#586e74;line-height:1.7;margin-bottom:32px}.stack{display:flex;flex-direction:column;gap:19px}.auth-submit{width:100%;margin-top:5px;justify-content:space-between;padding:13px 17px}.auth-note{display:flex;gap:10px;border-top:1px solid var(--line);padding-top:22px;margin-top:32px;color:#586e74;font-size:11px;line-height:1.7}.auth-note .icon{width:16px}.form-error,.field-error{color:var(--red);font-size:12px;line-height:1.5}.sidebar{position:fixed;inset:0 auto 0 0;width:238px;background:#ffffff;border-right:1px solid var(--line);padding:30px 22px;display:flex;flex-direction:column;z-index:20}.sidebar .brand{font-size:24px}.workspace-label{display:flex;align-items:center;gap:7px;font-size:8px;letter-spacing:1px;font-weight:600;color:#6b7e83;margin:28px 0 36px}.local-tag{margin-left:auto;background:#f7f9fa;padding:3px 5px;border-radius:3px;font:8px var(--mono);letter-spacing:.2px;color:#586e74}.nav-caption{font-size:9px;letter-spacing:1.4px;color:#6b7e83;margin:0 12px 12px}.nav-link{display:flex;align-items:center;gap:10px;font-size:12px;padding:13px 12px;border-radius:5px}.nav-link.active{background:#f7f9fa;color:#25373d;font-weight:600}.nav-link>span{margin-left:auto;background:#edf4f5;border-radius:4px;padding:0 6px;font:10px/18px var(--mono)}.sidebar-guide{margin-top:auto;padding:22px 14px;border:1px solid #edf4f5;border-radius:7px;background:linear-gradient(145deg,#f7f9fa,#ffffff);margin-bottom:27px}.guide-symbol{display:block;color:#586e74;font-size:28px;font-weight:300;margin-bottom:12px}.sidebar-guide h3{font-size:15px;letter-spacing:-.25px;line-height:1.45}.sidebar-guide p{color:#586e74;font-size:11px;line-height:1.8;margin:10px 0 18px}.text-button{display:flex;align-items:center;gap:7px;font-weight:600;padding:0;font-size:11px}.text-button .icon{width:15px}.sidebar-bottom{display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);padding-top:21px}.avatar{width:32px;height:32px;border:1px solid #edf4f5;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#35565f;background:#f7f9fa;font-size:12px}.user-info{min-width:0;flex:1}.user-info strong{display:block;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-info span{font-size:10px;color:#6b7e83}.sidebar-bottom .icon{width:17px;color:#586e74}.app-shell{margin-left:238px}.topbar{height:75px;border-bottom:1px solid var(--line);background:#ffffff;display:flex;align-items:center;justify-content:space-between;padding:0 38px;font-size:11px}.breadcrumb{display:flex;align-items:center;gap:13px;color:#586e74}.breadcrumb strong{color:#35565f;font-weight:500}.breadcrumb span{color:#b7c9cc}.topbar-right{display:flex;align-items:center;gap:24px;color:#586e74}.system-status{display:flex;align-items:center;gap:7px;font-size:10px}.topbar-date{font:10px var(--mono);padding-left:22px;border-left:1px solid var(--line)}.dashboard{padding:40px 38px 22px;max-width:1540px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:33px}.page-heading h1{margin-top:11px}.heading-dot{color:#586e74}.page-heading p{font-size:12px;color:#586e74;margin-top:12px}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:36px}.stat-card{position:relative;background:#00dae0;border:1px solid #edf4f5;border-radius:8px;padding:22px}.stat-card>span:first-child{font-size:11px;color:#586e74}.stat-card strong{display:block;font:38px/1.1 var(--sans);font-weight:500;letter-spacing:-1.6px;margin:17px 0 12px}.stat-card small{color:#6b7e83;font-size:10px}.stat-icon{position:absolute;right:21px;top:21px;color:#586e74;background:#f7f9fa;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:6px}.target-icon{font-size:25px}.section-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;gap:18px}.section-title{display:flex;align-items:center;gap:10px}.section-title h2{font-size:17px}.count-badge{padding:1px 7px;border:1px solid #edf4f5;border-radius:5px;background:#f7f9fa;font:10px/18px var(--mono);color:#586e74}.project-controls{display:flex;align-items:center;gap:9px}.project-controls select{font-size:11px;width:135px;background:transparent;height:37px;padding:8px 10px}.search-input{display:flex;align-items:center;gap:7px;border:1px solid #edf4f5;border-radius:5px;padding-left:10px;background:#ffffff;color:#586e74}.search-input .icon{width:16px}.search-input input{border:0;background:transparent;margin:0;padding:8px;width:190px;font-size:11px}.projects-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.project-card{border:1px solid #edf4f5;border-radius:8px;overflow:hidden;background:#00dae0;transition:box-shadow .2s,transform .2s;display:flex;flex-direction:column}.project-card:hover{box-shadow:0 8px 22px #18222610;transform:translateY(-2px)}.project-cover{height:148px;background:#f7f9fa;position:relative;overflow:hidden}.project-cover img{height:100%;width:100%;object-fit:cover;filter:saturate(.5)}.project-cover:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#18222626,transparent 60%);pointer-events:none}.project-cover .badge{position:absolute;top:13px;left:13px;z-index:1}.project-placeholder{height:100%;background-color:#f7f9fa;background-image:linear-gradient(#b7c9cc30 1px,transparent 1px),linear-gradient(90deg,#b7c9cc30 1px,transparent 1px);background-size:20px 20px;display:flex;align-items:center;justify-content:center;color:#6b7e83}.project-placeholder svg{width:45px;height:45px;stroke-width:.8}.project-card-body{padding:18px;flex:1}.project-code{font:9px var(--mono);color:#6b7e83;letter-spacing:.5px;margin-bottom:8px}.project-card h3{font-size:15px;letter-spacing:-.2px}.project-card p{font-size:11px;color:#586e74;margin:7px 0 18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.card-quantities{display:flex;gap:14px;font-size:10px;color:#586e74;padding-top:13px;border-top:1px solid #f7f9fa}.card-quantities strong{color:#35565f;font-weight:500}.project-card-footer{display:flex;justify-content:space-between;align-items:center;padding:12px 18px;background:#ffffff;border-top:1px solid #f7f9fa;font-size:9px;color:#6b7e83}.project-card-footer .icon{width:15px;color:#35565f}.badge{border-radius:4px;padding:4px 8px;font-size:9px;font-weight:600;white-space:nowrap}.badge.draft{background:#f0ebd8;color:#8a7740}.badge.active{background:#edf4f5;color:#35565f}.badge.completed{background:#e4ecf0;color:#527784}.empty-state{grid-column:1/-1;border:1px dashed #dce6e8;min-height:280px;border-radius:8px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:35px;background:#ffffff}.empty-icon{width:54px;height:54px;border:1px solid #dce6e8;background:#f7f9fa;display:flex;align-items:center;justify-content:center;border-radius:12px;margin-bottom:17px;color:#586e74}.empty-icon .icon{width:27px;height:27px}.empty-state h3{font-size:18px;letter-spacing:-.4px}.empty-state p{color:#586e74;font-size:12px;max-width:360px;line-height:1.8;margin:10px 0 22px}.empty-actions{display:flex;gap:10px}.empty-actions .text-button{padding:0 10px}.workflow-strip{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #edf4f5;border-bottom:1px solid #edf4f5;margin-top:36px;padding:26px 0;gap:15px}.workflow-strip>div{display:grid;grid-template-columns:34px auto;column-gap:10px;row-gap:3px}.step-index{grid-row:1/3;align-self:center;font:11px var(--mono);color:#586e74;border:1px solid #edf4f5;display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%}.workflow-strip strong{font-size:11px;font-weight:500}.workflow-strip div>span:last-child{font-size:10px;color:#6b7e83}.workflow-arrow{color:#b7c9cc}.page-footer{display:flex;justify-content:space-between;margin-top:25px;font:8px var(--mono);letter-spacing:1px;color:#6b7e83}.page-footer span:last-child{letter-spacing:0}.project-view{padding:25px 26px 12px}.project-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:23px}.back-link{display:inline-flex;align-items:center;gap:7px;font-size:10px;color:#586e74;margin-bottom:12px}.back-link .icon{width:14px}.project-title-row{display:flex;align-items:center;gap:12px}.project-title-row h1{font-size:24px;letter-spacing:-.6px}.project-heading p{font-size:11px;color:#586e74;margin-top:8px;max-width:650px}.heading-actions{display:flex;gap:8px}.heading-actions .btn{padding:9px 12px;font-size:10px;min-height:37px}.editor-layout{display:grid;grid-template-columns:158px minmax(220px,1fr) 260px;border:1px solid #edf4f5;border-radius:7px;overflow:hidden;background:#fff;min-height:620px;height:calc(100vh - 275px)}.panel-label{display:flex;align-items:center;justify-content:space-between;gap:5px;font:9px var(--mono);letter-spacing:.5px;color:#586e74;padding-bottom:17px}.panel-label>span{font-size:9px;color:#6b7e83}.positions-panel{background:#ffffff;border-right:1px solid var(--line);padding:19px 13px;overflow:auto}.positions-panel .panel-label{font-size:9px}.photo-list{display:flex;flex-direction:column;gap:12px}.photo-item{display:block;text-align:left;padding:5px;border:1px solid transparent;border-radius:5px;width:100%;background:none}.photo-item img{width:100%;height:80px;object-fit:cover;border-radius:3px;filter:saturate(.7)}.photo-item span{display:block;font-size:10px;line-height:1.4;margin:8px 2px 2px;overflow-wrap:anywhere}.photo-item small{display:block;font:8px var(--mono);color:#586e74;margin:3px 2px}.photo-item.selected{border-color:#6b7e83;background:#f7f9fa}.photo-item:hover{background:#f7f9fa}.upload-btn{width:100%;padding:9px 5px;font-size:9px;border:1px dashed #b7c9cc;color:#586e74;margin-top:17px;min-height:36px}.upload-btn .icon{width:14px}.upload-hint{text-align:center;font-size:8px;color:#6b7e83;line-height:1.8;margin-top:9px}.drawing-panel{display:flex;flex-direction:column;min-width:0;min-height:400px;background:#182226}.drawing-toolbar{height:53px;flex-shrink:0;background:#fff;display:flex;align-items:center;gap:9px;padding:7px 10px;border-bottom:1px solid var(--line)}.tool-group{display:flex;gap:3px;border-right:1px solid #edf4f5;padding-right:8px}.tool{height:31px;width:31px;display:flex;align-items:center;justify-content:center;border-radius:4px;color:#586e74;font-size:20px}.tool .icon{width:17px;height:17px}.tool:hover{background:#f7f9fa}.tool.active{background:#f7f9fa;color:#35565f}.zoom-controls{display:flex;align-items:center;gap:2px;margin-left:auto}.zoom-controls .tool{width:24px}.zoom-label{font:9px var(--mono);color:#586e74;padding:4px;min-width:36px}.drawing-canvas{position:relative;flex:1;overflow:hidden;display:flex;align-items:center;justify-content:center;background-color:#182226;background-image:radial-gradient(#586e7438 .75px,transparent .75px);background-size:18px 18px;min-height:360px;touch-action:none}.drawing-canvas>svg{position:absolute;inset:0;width:100%;height:100%;user-select:none;touch-action:none}.canvas-empty{text-align:center;color:#dce6e8;padding:30px 20px}.canvas-empty>.icon{width:43px;height:43px;stroke-width:1;color:#586e74;margin-bottom:22px}.canvas-empty h2{font-size:18px;font-weight:500;letter-spacing:-.3px}.canvas-empty p{font-size:11px;line-height:1.8;color:#6b7e83;margin:13px 0 24px}.canvas-empty .btn{background:#00dae0;color:#25373d;font-size:11px}.canvas-corner{position:absolute;bottom:14px;left:16px;font:8px var(--mono);letter-spacing:.7px;color:#6b7e83;display:flex;align-items:center;gap:7px;pointer-events:none;background:#182226cc;padding:6px 8px;border-radius:3px}.drawing-status{height:33px;display:flex;justify-content:space-between;align-items:center;padding:0 12px;color:#6b7e83;background:#182226;font-size:8px;gap:8px}.drawing-status #save-indicator{white-space:nowrap;color:#b7c9cc}.properties-panel{display:flex;flex-direction:column;padding:20px 17px 14px;background:#00dae0;overflow:auto;min-height:0}.mini-tag{background:#f7f9fa;padding:2px 4px;border-radius:2px;letter-spacing:0}.properties-empty{padding:30px 0;color:#6b7e83;text-align:center}.properties-empty>.icon{width:34px;height:34px;margin-bottom:15px;color:#6b7e83;stroke-width:1}.properties-empty h3{font-size:13px;color:#35565f}.properties-empty p{font-size:11px;margin:12px 0 20px;line-height:1.8}.properties-empty .btn{font-size:10px;min-height:34px;padding:8px 12px}.segment-form{display:flex;flex-direction:column;gap:12px}.segment-form label{font-size:10px;color:#586e74;font-weight:500}.segment-form input,.segment-form select{font-size:11px;padding:8px 9px;margin-top:4px}.segment-form input[type=number]{font-family:var(--mono);color:#35565f}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.calculation-card{background:#f7f9fa;border:1px solid #edf4f5;border-radius:5px;padding:14px;margin-top:2px}.calculation-card>span{font:8px var(--mono);letter-spacing:.6px;color:#586e74}.calculation-card strong{display:block;font-size:34px;line-height:1.4;letter-spacing:-1px;font-weight:500;color:#35565f}.calculation-card small{font-size:10px;letter-spacing:0;color:#6b7e83;margin-left:8px;font-weight:400}.calculation-card p{font-size:10px;color:#586e74}.calculation-card>div{font-size:9px;color:#586e74;border-top:1px solid #edf4f5;padding-top:7px;margin-top:10px}.field-help{font-size:10px;color:#6b7e83;line-height:1.7}.segment-form .field-help{font-size:9px}.line-list-section{margin-top:23px;padding-top:17px;border-top:1px solid var(--line)}.line-list-section .panel-label{padding-bottom:8px}.line-item{display:flex;align-items:center;gap:7px;text-align:left;width:100%;padding:8px 6px;border-radius:4px;font-size:10px;color:#586e74}.line-item .line-dot{width:7px;height:7px;background:#6b7e83;border-radius:50%;flex-shrink:0}.line-item span:nth-child(2){flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.line-item small{font:9px var(--mono);color:#6b7e83}.line-item.selected{background:#f7f9fa;color:#35565f}.line-item.selected .line-dot{background:#586e74}.line-empty{color:#6b7e83;font-size:10px;padding:8px 0}.save-area{margin-top:auto;padding-top:22px;text-align:center}.save-area .btn{width:100%;font-size:10px;padding:10px}.save-area .icon{width:15px}.save-area>span{display:block;font-size:8px;color:#6b7e83;margin-top:8px}.editor-footnote{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:13px;color:#6b7e83;font-size:9px}.editor-footnote .icon{width:13px}.back-link:hover{color:#35565f}.dialog-content{padding:30px;display:flex;flex-direction:column;gap:19px}.dialog-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.dialog-heading h2{font-size:24px;margin-top:7px;letter-spacing:-.7px}.dialog-heading .icon-btn{font-size:26px;color:#6b7e83}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;border-top:1px solid var(--line);padding-top:20px;margin-top:6px}dialog{width:560px;max-width:calc(100vw - 32px);max-height:90vh;padding:0;border:1px solid #dce6e8;border-radius:10px;color:var(--ink);box-shadow:0 20px 90px #18222633;background:#fff}dialog::backdrop{background:#18222673;backdrop-filter:blur(3px)}.wide-dialog{width:760px}.file-drop{border:1px dashed #b7c9cc;border-radius:7px;background:#f7f9fa;text-align:center;padding:26px 15px;color:#586e74;font-size:13px}.file-drop>.icon{width:28px;height:28px;display:block;margin:0 auto 15px}.file-drop strong{display:block}.file-drop>span{display:block;float:none!important;font-size:10px;margin-top:7px}.file-drop input{margin:20px auto 0;font-size:11px;max-width:340px;background:transparent;border:0;padding:0}.guide-list{margin:0;padding-left:22px;color:#586e74;font-size:12px;line-height:1.8}.guide-list li{padding:6px 0 6px 7px}.guide-list strong{color:#35565f;font-weight:600}.info-box{font-size:11px;line-height:1.8;background:#f7f9fa;border:1px solid #edf4f5;border-radius:6px;padding:16px;color:#586e74}.toast{position:fixed;bottom:24px;left:calc(50% + 100px);transform:translateX(-50%);background:#25373d;color:#f7f9fa;padding:13px 22px;border-radius:7px;box-shadow:0 5px 30px #1822262b;font-size:12px;z-index:100;max-width:min(560px,90vw)}.toast.error{background:#833c34;color:#fff3ef}table{border-collapse:collapse;width:100%;font-size:11px}th{text-align:left;font-weight:500;color:#586e74;font-size:10px;white-space:nowrap}td,th{padding:12px 8px;border-bottom:1px solid #edf4f5}td{color:#35565f}td.num,th.num{text-align:right;font-family:var(--mono)}tfoot td{font-weight:600;background:#f7f9fa}.table-scroll{overflow-x:auto}.summary-stats{display:flex;gap:25px;padding:18px 0}.summary-stats strong{display:block;font-size:27px;font-weight:500;color:#35565f}.summary-stats span{font-size:10px;color:#586e74}[hidden]{display:none!important}
@media(min-width:1600px){.editor-layout{grid-template-columns:185px minmax(350px,1fr) 295px}.properties-panel{padding:23px}.photo-item img{height:105px}.segment-form{gap:16px}.segment-form input,.segment-form select{padding:10px}.project-view{padding:28px 38px}.drawing-toolbar{padding:7px 16px}.panel-label{font-size:10px}}
@media(max-width:1190px){.sidebar{width:200px;padding:27px 16px}.app-shell{margin-left:200px}.workspace-label{font-size:7px;gap:5px}.topbar{padding:0 26px}.dashboard{padding:32px 26px}.projects-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.editor-layout{grid-template-columns:115px minmax(220px,1fr) 225px}.properties-panel{padding:17px 13px}.positions-panel{padding:18px 8px}.positions-panel .panel-label{font-size:8px}.photo-item img{height:64px}.upload-btn{font-size:8px;gap:3px}.drawing-toolbar{gap:4px;padding:7px 6px}.tool-group{gap:1px;padding-right:4px}.tool{width:27px}.zoom-controls .tool{width:20px}.zoom-label{min-width:30px;font-size:8px}.project-title-row h1{font-size:21px}.heading-actions .btn{font-size:9px;padding:9px}.workflow-strip{gap:8px}.workflow-strip>div{column-gap:6px}.workflow-strip strong{font-size:10px}.workflow-strip div>span:last-child{font-size:9px}.project-view{padding:22px 18px}.project-heading{align-items:flex-start}.heading-actions{margin-top:25px}.project-title-row{gap:8px;flex-wrap:wrap}}
@media(max-width:970px){.sidebar{width:77px;padding:24px 12px;align-items:center}.sidebar .brand{font-size:0;gap:0}.sidebar .brand-dot,.workspace-label,.nav-caption,.sidebar-guide,.user-info,.sidebar-bottom .icon-btn{display:none}.nav-link{font-size:0;margin-top:45px;padding:13px;gap:0}.nav-link>span{display:none}.sidebar-bottom{margin-top:auto;width:100%;justify-content:center}.app-shell{margin-left:77px}.editor-layout{grid-template-columns:105px minmax(200px,1fr) 225px}.editor-footnote{line-height:1.6;align-items:flex-start}.system-status{display:none}.project-controls{gap:7px}.search-input input{width:155px}.stat-card{padding:18px}.stat-card small{font-size:9px}.toast{left:calc(50% + 38px)}.auth-intro{padding:35px 8%}.auth-copy h1{font-size:33px}.auth-copy>p{font-size:13px}}
@media(max-width:760px){.topbar{height:58px;padding:0 20px}.dashboard{padding:28px 20px}.page-heading{align-items:flex-start}.page-heading h1{font-size:28px}.page-heading>.btn{font-size:10px;padding:10px;min-height:36px;margin-top:20px}.page-heading>.btn .icon{width:15px}.stats-grid{gap:9px;margin-bottom:28px}.stat-card{padding:15px 12px}.stat-card>span:first-child{font-size:9px}.stat-card strong{font-size:29px;margin:12px 0}.stat-card small{display:none}.stat-icon{display:none}.section-toolbar{align-items:flex-start;flex-direction:column;gap:14px}.project-controls{width:100%}.search-input{flex:1}.search-input input{width:100%}.project-controls select{width:115px}.projects-grid{gap:12px}.project-cover{height:120px}.project-card-body{padding:14px}.project-card h3{font-size:13px}.card-quantities{gap:8px;font-size:9px;flex-wrap:wrap}.project-card-footer{padding:10px 14px}.workflow-strip{align-items:flex-start;gap:15px}.workflow-strip>div{display:flex;flex-direction:column;gap:7px;flex:1}.workflow-arrow{display:none}.workflow-strip div>span:last-child{line-height:1.5}.project-heading{flex-direction:column;gap:12px}.heading-actions{margin-top:0}.project-title-row h1{font-size:22px}.editor-layout{grid-template-columns:minmax(230px,1fr) 230px;min-height:700px;height:auto;overflow:visible}.positions-panel{grid-column:1/-1;border-right:0;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:14px;overflow-x:auto;padding:12px;max-width:100%}.positions-panel>.panel-label{padding:0;font-size:9px;white-space:nowrap;gap:5px}.photo-list{flex-direction:row;gap:6px}.photo-item{width:95px;flex-shrink:0;padding:3px}.photo-item img{height:44px}.photo-item span{font-size:8px;margin:4px 0;max-height:24px;overflow:hidden}.photo-item small{display:none}.positions-panel>.upload-btn{width:110px;flex-shrink:0;margin:0;height:34px;font-size:9px}.upload-hint{display:none}.drawing-panel{min-height:580px}.properties-panel{border-left:1px solid var(--line);min-height:580px}.drawing-status{flex-direction:column;justify-content:center;height:42px;gap:2px;align-items:flex-start}.canvas-corner{font-size:6px;left:8px;bottom:9px}.drawing-toolbar{flex-wrap:wrap;height:auto;min-height:51px;gap:3px}.tool{width:26px}.zoom-controls{gap:0}.page-footer{font-size:7px;letter-spacing:.6px}.auth-layout{grid-template-columns:1fr}.auth-intro{padding:24px 28px}.auth-copy{padding:35px 0 5px;max-width:100%}.auth-copy .eyebrow{font-size:9px}.auth-copy h1{font-size:31px;margin:17px 0}.auth-copy>p{max-width:100%}.auth-drawing,.auth-foot{display:none}.auth-panel{padding:35px 28px 50px}.auth-form-wrap{width:100%;max-width:440px}.auth-form-wrap h2{font-size:24px}.auth-form-wrap>p{font-size:12px;margin-bottom:25px}.auth-note{margin-top:24px}.dialog-content{padding:24px}.dialog-heading h2{font-size:22px}}
@media(max-width:550px){.sidebar{width:58px;padding:20px 8px}.sidebar .brand img{width:31px;height:31px}.nav-link{padding:10px}.nav-link .icon{width:17px}.avatar{width:29px;height:29px;font-size:10px}.app-shell{margin-left:58px}.topbar{padding:0 16px;font-size:9px}.topbar-date{font-size:8px;padding-left:9px}.topbar-right{gap:5px}.breadcrumb{gap:8px}.dashboard{padding:25px 16px}.page-heading{flex-wrap:wrap;gap:13px;margin-bottom:24px}.page-heading>.btn{margin:0}.page-heading h1{font-size:27px}.eyebrow{font-size:8px}.page-heading p{font-size:10px}.stats-grid{gap:6px}.stat-card{padding:13px 9px}.stat-card>span:first-child{font-size:8px}.stat-card strong{font-size:27px}.projects-grid{grid-template-columns:1fr}.project-cover{height:154px}.project-controls select{width:102px;font-size:10px}.section-title h2{font-size:16px}.empty-state{padding:28px 17px;min-height:300px}.empty-state h3{font-size:16px}.empty-state p{font-size:11px}.empty-actions{flex-direction:column;align-items:center;gap:18px}.workflow-strip{gap:12px;flex-direction:column;padding:22px 0}.workflow-strip>div{display:grid;grid-template-columns:30px auto;column-gap:10px}.step-index{grid-row:1/3;width:28px;height:28px}.workflow-strip strong{font-size:11px}.workflow-strip div>span:last-child{font-size:10px}.page-footer{gap:20px;font-size:6px}.project-view{padding:19px 12px}.project-title-row h1{font-size:20px}.project-heading p{font-size:10px}.editor-layout{display:flex;flex-direction:column;min-height:0}.positions-panel{max-height:125px;flex-shrink:0}.drawing-panel{min-height:420px;height:56vh;max-height:620px}.drawing-canvas{min-height:300px}.drawing-toolbar{flex-wrap:nowrap}.properties-panel{border-left:0;border-top:1px solid var(--line);min-height:0;padding:20px}.properties-empty{padding:15px 0}.segment-form{gap:15px}.segment-form label{font-size:11px}.segment-form input,.segment-form select{font-size:13px;padding:10px}.calculation-card{padding:18px}.line-list-section{margin-top:20px}.line-item{font-size:12px}.save-area{padding-top:20px}.save-area .btn{font-size:12px}.editor-footnote{font-size:8px}.editor-footnote .icon{flex-shrink:0}.dialog-content{padding:22px 18px}.dialog-content>.field-row{grid-template-columns:1fr;gap:18px}.toast{left:calc(50% + 20px);bottom:15px;font-size:11px;padding:12px 18px}.summary-stats{gap:18px}.summary-stats strong{font-size:25px}.summary-stats span{font-size:9px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.backup-link{display:flex;align-items:center;gap:7px;font-size:10px;color:#586e74;margin-top:17px;border-top:1px solid #edf4f5;padding-top:14px}.backup-link .icon{width:14px;height:14px}.backup-link:hover{color:#35565f}

.position-select-label{font-size:9px;color:#586e74}.position-select-label select{font-size:10px;padding:9px 6px;max-width:100%}.position-actions{display:flex;align-items:center;gap:3px;margin:10px 0 20px}.position-actions .btn{font-size:9px;padding:8px 6px;min-height:32px;flex:1}.position-actions .icon-btn{width:25px;height:30px;flex-shrink:0}.position-actions .icon{width:14px;height:14px}.photos-label{border-top:1px solid #edf4f5;padding-top:16px}.drawing-position-name{background:#f7f9fa;color:#35565f;padding:8px 12px;min-height:33px;font-size:10px;border-bottom:1px solid #edf4f5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:760px){.positions-panel{display:block;max-height:270px;padding:13px}.positions-panel>.panel-label{display:flex;justify-content:space-between}.position-select-label{margin-top:10px}.position-actions{margin:8px 0 12px}.position-actions .btn{flex:0 1 auto;font-size:10px;padding:7px 12px}.photos-label{margin-bottom:10px}.photo-list{overflow-x:auto;max-width:100%;padding-bottom:4px}.positions-panel>.upload-btn{margin-top:8px}.photo-item{min-width:95px}.drawing-position-name{font-size:9px}}

/* EURAS Technology: official cyan, charcoal and white. */
:root{--brand:#00dae0;--accent:#00dae0;--brand-ink:#00767c;--ink:#171c20;--muted:#657078;--bg:#f3f5f6;--line:#dde4e7}
.primary{background:var(--brand);color:#10191c}.primary:hover{background:#00c4ca}.secondary{color:#35565f}.secondary:hover{background:#e9f8f9}button:focus-visible,a:focus-visible{outline-color:#00868d}input:focus,textarea:focus,select:focus{outline-color:#00aeb5}.heading-dot,.guide-symbol{color:var(--brand-ink)}.eyebrow,.section-number{color:#647a81}.status-dot{background:var(--brand)}
.brand{flex-direction:column;align-items:flex-start;gap:12px;width:180px;letter-spacing:0}.brand-art{display:block;width:180px;height:66px;overflow:hidden;flex-shrink:0}.brand-art img{display:block;width:180px;height:auto;max-width:none;object-fit:contain}.brand-caption{font:8px/1.5 var(--mono);letter-spacing:1px;color:#9faeb2;white-space:nowrap}.auth-intro .brand{width:210px}.auth-intro .brand-art{width:200px;height:74px}.auth-intro .brand-art img{width:200px}
.auth-intro{background-color:#101719;background-image:radial-gradient(ellipse at 90% 45%,#153a3f 0,transparent 68%);color:#fff}.auth-copy .eyebrow{color:#00dae0}.auth-copy>p{color:#b2c3c8}.auth-drawing{border-color:#34535b;background:#13262b}.auth-foot{color:#adc0c6}.auth-panel{background:#fafcfc}.auth-note{color:#667c83}.auth-form-wrap>p{color:#657078}
.sidebar{background:#101719;border-color:#202e34;color:#e5edef}.workspace-label{color:#9dafb6}.local-tag{background:#22343a;color:#a9c3ca}.nav-caption{color:#91a5ac}.nav-link.active{background:#00dae0;color:#10191c}.nav-link.active>span{background:#10191c14;color:#18393e}.sidebar-guide{background:linear-gradient(145deg,#1b2c32,#142125);border-color:#30434b}.sidebar-guide h3{color:#eef5f6}.sidebar-guide p{color:#a0b6bf}.sidebar-guide .guide-symbol{color:#00dae0}.sidebar-guide .text-button{color:#00dae0}.sidebar .backup-link{border-color:#30434b;color:#bed0d7}.sidebar .backup-link:hover{color:#00dae0}.sidebar-bottom{border-color:#30434b}.sidebar .avatar{background:#1c353d;color:#00dae0;border-color:#34515d}.user-info span{color:#9fb2ba}.sidebar-bottom .icon{color:#9fb2ba}.sidebar .icon-btn:hover{background:#263b43;color:white}
.topbar{background:#fff}.stat-card,.project-card,.properties-panel{background:#fff}.stat-card>span:first-child{color:#5d737b}.stat-icon,.empty-icon{color:var(--brand-ink);background:#e6f8f9}.count-badge{color:var(--brand-ink);background:#e2f7f8;border-color:#c5e8eb}.empty-state{background:#fbfdfd;border-color:#c5dce0}.empty-state p,.project-card p{color:#647981}.project-cover{background:#eaf2f4}.project-placeholder{background-color:#eaf2f4;color:#6e9fa8}.card-quantities strong{color:#176970}.project-card-footer{background:#f6f9fa;color:#657d85}.badge.active{background:#dbf6f7;color:#00696e}.badge.completed{background:#e7edf2;color:#496373}.positions-panel{background:#f8fbfc}.drawing-position-name{background:#eaf7f8;color:#24636d;border-color:#d4e9ec}.photo-item.selected{background:#e1f7f8;border-color:#00acb5}.photo-item:hover{background:#edf7f8}.photo-item small{color:#647d85}.upload-btn{border-color:#97cbd1;color:#00767c}.drawing-panel,.drawing-canvas{background-color:#172328}.drawing-canvas{background-image:radial-gradient(#52777f55 .75px,transparent .75px)}.tool.active{background:#dff7f8;color:#006e75}.tool:hover{background:#eaf7f8}.tool{color:#607980}.canvas-empty{color:#e0edf1}.canvas-empty>.icon{color:#7dabb5}.canvas-empty p{color:#a4bdc5}.canvas-empty .btn{background:#00dae0;color:#10191c}.canvas-corner{background:#102128dd;color:#b7d5dd}.drawing-status{background:#101a1f;color:#a8bec7}.drawing-status #save-indicator{color:#00dae0}.properties-empty h3{color:#355c68}.calculation-card{background:#e4f8f9;border-color:#bee9ec}.calculation-card>span{color:#426d77}.calculation-card strong{color:#006e75}.calculation-card small,.calculation-card p{color:#3e737e}.calculation-card>div{color:#466f79;border-color:#bfe5e9}.segment-form input[type=number]{color:#125d68}.line-item.selected{background:#e2f7f8;color:#006e75}.line-item.selected .line-dot{background:#00b8c2}.info-box,.file-drop{background:#eaf8f9;border-color:#c3e5e9;color:#476d77}.file-drop>span{color:#52747d}tfoot td{background:#eaf8f9}.toast{background:#143b45;color:#eaf8fa}.toast.error{background:#833c34;color:#fff3ef}.position-select-label,.position-select-label select{color:#476b77}
@media(max-width:1190px) and (min-width:971px){.sidebar .brand,.sidebar .brand-art{width:165px}.sidebar .brand-art{height:61px}.sidebar .brand-art img{width:165px}.sidebar .brand-caption{font-size:7px}}
@media(max-width:970px){.sidebar .brand{width:35px;gap:0}.sidebar .brand-art{width:35px;height:40px}.sidebar .brand-art img{width:109.375px;height:40px;max-width:none}.sidebar .brand-caption{display:none}}

/* White popup surfaces with readable neutral text. */
dialog,.dialog-content{background:#fff;color:#171c20}dialog{border-color:#dce3e7}.dialog-heading h2{color:#171c20}dialog label{color:#39464d}dialog .eyebrow{color:#586b75}dialog .field-help,dialog .muted,dialog .guide-list{color:#5a6972}dialog .guide-list strong{color:#26343d}dialog .dialog-heading .icon-btn{color:#53636c}dialog .icon-btn:hover{background:#f0f3f5}dialog input,dialog textarea,dialog select{background:#fff;color:#26343d;border-color:#d3dde2}dialog input::placeholder,dialog textarea::placeholder{color:#697b86}dialog .info-box,dialog .file-drop{background:#f7f9fa;color:#465a66;border-color:#dce4e8}dialog .file-drop>span{color:#596e79}dialog .dialog-actions{border-color:#e1e6ea}dialog th{color:#52636d}dialog td{color:#26343d}dialog tfoot td{background:#f3f6f7}.toast{background:#fff;color:#26343d;border:1px solid #dce3e7;box-shadow:0 5px 30px #18222626}.toast.error{background:#fff;color:#a63838;border-color:#e7c9c9}

/* The complete editor stays usable while the drawing occupies the screen. */
body.editor-expanded{overflow:hidden}.editor-layout:fullscreen,.editor-layout.is-expanded{width:100vw;height:100vh;height:100dvh;min-height:0;max-height:none;margin:0;border:0;border-radius:0;background:#fff;grid-template-columns:158px minmax(0,1fr) 260px}.editor-layout.is-expanded{position:fixed;inset:0;z-index:60}.editor-layout:fullscreen .drawing-panel,.editor-layout.is-expanded .drawing-panel{min-height:0;height:100%;max-height:none}.editor-layout:fullscreen .drawing-canvas,.editor-layout.is-expanded .drawing-canvas{min-height:0}.editor-layout:fullscreen .drawing-toolbar,.editor-layout.is-expanded .drawing-toolbar,.editor-layout:fullscreen .drawing-status,.editor-layout.is-expanded .drawing-status,.editor-layout:fullscreen .drawing-position-name,.editor-layout.is-expanded .drawing-position-name{flex-shrink:0}#fullscreen-editor>span{display:flex;align-items:center;justify-content:center}
@media(min-width:1600px){.editor-layout:fullscreen,.editor-layout.is-expanded{grid-template-columns:185px minmax(0,1fr) 295px}}
@media(max-width:970px){.editor-layout:fullscreen,.editor-layout.is-expanded{grid-template-columns:105px minmax(0,1fr) 225px}}
@media(max-width:760px){.editor-layout:fullscreen,.editor-layout.is-expanded{overflow:auto;display:grid;grid-template-columns:minmax(0,1fr) 225px;grid-template-rows:auto minmax(0,1fr)}.editor-layout:fullscreen .positions-panel,.editor-layout.is-expanded .positions-panel{max-height:160px;grid-column:1/-1}.editor-layout:fullscreen .properties-panel,.editor-layout.is-expanded .properties-panel{min-height:0}}
@media(max-width:550px){.editor-layout:fullscreen,.editor-layout.is-expanded{display:flex;flex-direction:column;overflow:auto}.editor-layout:fullscreen .drawing-panel,.editor-layout.is-expanded .drawing-panel{height:75dvh;min-height:360px;flex-shrink:0}.editor-layout:fullscreen .positions-panel,.editor-layout.is-expanded .positions-panel{max-height:150px;flex-shrink:0}.editor-layout:fullscreen .properties-panel,.editor-layout.is-expanded .properties-panel{overflow:visible;flex-shrink:0}}

.logical-target{padding-bottom:16px;margin-bottom:17px;border-bottom:1px solid #dde4e7}.logical-target label,.segment-form label:has(#seg-logical){font-size:10px;color:#476b77}.logical-target select{font-size:11px;padding:8px 9px}.logical-target .field-help{font-size:9px;margin-top:7px;line-height:1.6}#shared-line-help{background:#f1f8f9;color:#446671;border-left:2px solid #00aeb5;padding:8px;font-size:9px}

/* Pricing: global definitions, a project selection, and per-position amounts. */
.pricing-nav{width:100%;text-align:left;margin-top:7px;color:#b8cbd1}.pricing-nav:hover{background:#21343b;color:#00dae0}.heading-actions{flex-wrap:wrap;justify-content:flex-end;max-width:660px}.position-prices-button{width:100%;font-size:10px;gap:5px;min-height:34px;padding:8px 5px;margin:0 0 12px}.position-prices-button .icon{width:14px;height:14px}.pricing-items{display:flex;flex-direction:column;gap:11px}.pricing-item-row{display:grid;grid-template-columns:47px minmax(0,1fr) 34px;align-items:center;gap:12px;padding:12px;border:1px solid #e0e7ea;border-radius:5px;background:#fff}.pricing-item-row label{font-size:10px}.pricing-item-row input:not([type=checkbox]){margin-top:4px;padding:9px 11px;font-size:12px}.price-code{display:inline-flex;align-items:center;justify-content:center;min-width:34px;font:11px var(--mono);color:#00767c;background:#e8f8f9;border:1px solid #cce9ed;border-radius:4px;padding:5px 7px}.pricing-add{align-self:flex-start}.project-price-row{grid-template-columns:65px minmax(0,1fr) 85px}.price-enabled{display:flex;align-items:center;gap:7px}.price-enabled input{width:16px;height:16px;margin:0;accent-color:#008e98}.price-enabled span{float:none!important;color:#305c68!important;font:12px var(--mono)}.price-disabled{background:#f7f9fa}.price-disabled .price-scope{color:#79878e}.price-scope{font-size:9px;color:#647d87;text-align:right}.pricing-add-controls{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap}.pricing-add-controls .btn{font-size:10px}.global-import-label{flex:1;min-width:165px}.global-import-label select{font-size:11px;padding:10px 8px}.position-rate-row{display:grid;grid-template-columns:minmax(130px,1fr) 180px 135px;align-items:center;gap:15px;padding:15px 0;border-bottom:1px solid #e1e7eb}.position-rate-row>div:first-child{display:grid;grid-template-columns:auto 1fr;gap:5px 9px;align-items:center}.position-rate-row strong{font-size:12px;font-weight:500;overflow-wrap:anywhere}.position-rate-row small{grid-column:2;font-size:9px;color:#637c87}.position-rate-row label{font-size:10px}.position-rate-row input{font:13px var(--mono);padding:10px}.rate-amount{text-align:right;font:12px var(--mono);color:#20545f}.pricing-total{padding:15px;background:#f3f8f9;border:1px solid #d9e7eb;border-radius:5px;color:#265967;font-size:13px;font-weight:500}.position-rate-row input:invalid{border-color:#bf6d64}.pricing-item-row .icon-btn{color:#6b7e87}
@media(max-width:970px){.sidebar .pricing-nav{margin-top:10px}.pricing-nav .icon{flex-shrink:0}}
@media(max-width:760px){.heading-actions{justify-content:flex-start}.position-prices-button{width:auto;padding:7px 12px}.position-rate-row{grid-template-columns:minmax(0,1fr) 145px;gap:10px}.rate-amount{grid-column:2;font-size:11px}.project-price-row{grid-template-columns:53px minmax(0,1fr) 34px}.price-scope{font-size:8px;overflow-wrap:anywhere}.pricing-add-controls{align-items:stretch}.global-import-label{width:100%}}
@media(max-width:480px){.position-rate-row{grid-template-columns:1fr}.position-rate-row label{max-width:100%}.rate-amount{grid-column:1;text-align:left}.project-price-row{gap:7px;padding:10px}.pricing-add-controls .btn{white-space:normal}.position-prices-button{margin-bottom:5px}}

.pricing-item-main{min-width:0}.price-definition{margin-top:10px}.price-definition label{display:block}.price-definition select{margin-top:4px;padding:8px;font-size:11px}.material-definition{display:grid;grid-template-columns:90px minmax(110px,1fr) 95px;gap:9px;margin-top:10px}.material-definition input{width:100%}.rate-amount small{display:block;margin-top:7px;font-size:10px;color:#647d87}.rate-amount span{overflow-wrap:anywhere}.price-definition select:disabled{opacity:1;color:#526976;background:#f5f8f9}.price-definition .field-help{line-height:1.5;margin:8px 0 0}.pricing-item-row>.price-code,.pricing-item-row>.price-enabled,.pricing-item-row>.icon-btn,.pricing-item-row>.price-scope{align-self:start;margin-top:12px}@media(max-width:600px){.material-definition{grid-template-columns:1fr}.pricing-item-row{gap:8px}.project-price-row{grid-template-columns:45px minmax(0,1fr) 32px}}

.rate-input-fields{display:flex;flex-direction:column;gap:9px;min-width:0}.rate-input-fields select{font-size:11px;padding:8px}.rate-input-fields b{font-weight:inherit}

.hole-definition{grid-template-columns:minmax(0,2fr) minmax(100px,1fr)}
@media(max-width:600px){.hole-definition{grid-template-columns:1fr}}
