:root{--ink:#172c3e;--muted:#6b7c8b;--line:#e1e7eb;--blue:#2269c7;--paper:#f5f7f8;--orange:#d88b38;--shadow:0 6px 24px #18344c08;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.42}button,a,input,select,summary,textarea{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,textarea:focus-visible{outline:3px solid #5e9ded}button{transition:background .15s,color .15s,border-color .15s}a{color:inherit}.app-header{height:78px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 27px;background:white;border-bottom:1px solid var(--line)}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;font-size:18px;font-weight:750;letter-spacing:-.4px}.brand-mark{display:grid;place-items:center;width:42px;height:42px;background:var(--ink);border-radius:11px;color:#fff;font-size:15px;letter-spacing:-.6px}.brand small{display:block;font-size:9px;letter-spacing:2px;color:var(--muted);margin-top:5px}.header-middle{display:flex;align-items:center;gap:17px}.header-caption{font-size:12px;color:var(--muted)}.review-badge{display:inline-flex;gap:7px;align-items:center;border:1px solid #eadfc8;background:#fbf7ef;padding:7px 10px;border-radius:6px;font-size:11px;font-weight:650;color:#8a642d;white-space:nowrap}.review-badge i{width:5px;height:5px;background:#b58b43;border-radius:100%}.header-actions{display:flex;align-items:center;gap:8px}.button,.icon-button{min-height:40px;border-radius:7px;border:1px solid transparent;padding:9px 13px;font-size:12px;font-weight:650;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;gap:8px}.button.secondary,.icon-button{border-color:var(--line);background:#fff;color:var(--ink)}.button.secondary:hover,.icon-button:hover{background:#f1f5f8}.button.quiet{background:none;color:var(--muted)}.button.quiet:hover{background:#eff3f6;color:var(--ink)}.button.primary{background:var(--blue);color:white;box-shadow:0 3px 7px #2269c71f}.button.primary:hover{background:#175caf}.icon-button{padding:0;width:36px;min-height:36px;font-size:18px}.app-shell{display:grid;grid-template-columns:235px minmax(400px,1fr) 310px;min-height:calc(100vh - 78px)}.navigation{border-right:1px solid var(--line);background:#fff;padding:30px 17px 20px;display:flex;flex-direction:column}.sidebar-heading{padding:0 12px 23px}.eyebrow{font-size:9px;font-weight:750;letter-spacing:1.5px;color:#85929e}.sidebar-heading h1{font-size:25px;line-height:1.18;letter-spacing:-.8px;margin:14px 0 11px}.sidebar-heading h1 span{color:#83929e}.sidebar-heading p{font-size:11px;line-height:1.7;color:var(--muted);margin:0}#modules{display:flex;flex-direction:column;gap:6px}.module{display:flex;align-items:center;gap:12px;text-align:left;border:1px solid transparent;background:none;min-height:65px;border-radius:9px;padding:11px 12px;color:var(--muted);width:100%}.module .module-icon{flex-shrink:0;width:33px;height:33px;display:grid;place-items:center;background:#f1f4f6;border-radius:8px;color:#778897}.module strong{display:block;font-size:12px;margin-bottom:5px;font-weight:650}.module small{display:block;font-size:9px;color:#99a4ad;line-height:1.35}.module:hover{background:#f7f9fa}.module.active{border-color:#d9e7f8;background:#f0f6ff;color:#1b60b6}.module.active .module-icon{background:#dfeafb;color:#2269c7}.module.active small{color:#6c8db5}.project-source{margin-top:40px;border-top:1px solid var(--line);padding:20px 9px;display:flex;gap:10px;font-size:10px}.source-dot{height:6px;width:6px;border-radius:50%;background:#49a696;flex-shrink:0;margin-top:4px}.project-source strong{font-weight:650;font-size:10px}.project-source p{line-height:1.7;color:var(--muted);font-size:10px;margin:9px 0}.text-button{border:0;background:transparent;padding:0;color:var(--blue);font-size:10px;font-weight:650;text-align:left;min-height:25px}.workspace{min-width:0;padding:28px 27px 40px}.workspace-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:23px}.workspace-heading h2{font-size:26px;letter-spacing:-.7px;margin:8px 0}.workspace-heading p{font-size:12px;color:var(--muted);margin:0;line-height:1.5}.mode-switch{display:flex;background:#eaf0f4;padding:3px;border:1px solid #e0e7ec;border-radius:8px;align-self:flex-start;margin-top:9px}.mode-switch button{border:0;background:transparent;border-radius:5px;padding:8px 11px;color:var(--muted);font-size:10px;white-space:nowrap}.mode-switch button[aria-pressed=true]{color:var(--ink);background:white;box-shadow:0 2px 4px #23435910}.selection-bar{display:flex;gap:12px;align-items:flex-end;margin-bottom:15px}.selection-bar label{display:flex;flex-direction:column;gap:6px;color:var(--muted);font-size:10px;font-weight:600;flex:1;min-width:0}select{height:40px;border:1px solid #dbe3e9;border-radius:7px;padding:0 30px 0 12px;background:white;color:var(--ink);font-size:11px;max-width:100%}.source-button{font-size:10px;background:#fff;border-color:var(--line);color:#567084}.viewer-card{background:#fff;border:1px solid #dce4e9;border-radius:12px;box-shadow:var(--shadow);overflow:hidden}.view-toolbar{display:flex;align-items:center;gap:2px;padding:8px 9px;border-bottom:1px solid var(--line);overflow-x:auto}.view-toolbar button{border:0;background:transparent;color:#6e8191;font-size:10px;font-weight:650;min-height:31px;padding:7px 11px;border-radius:5px;white-space:nowrap}.view-toolbar button:hover{background:#f3f6f8}.view-toolbar button[aria-pressed=true]{background:#e9f1fc;color:#2068bd}.view-toolbar .fit-view{margin-left:auto}.viewport{height:450px;min-height:330px;position:relative;background:radial-gradient(ellipse at 50% 60%,#193b53,#0c1c2d 85%);overflow:hidden}.viewport canvas{display:block;width:100%;height:100%;touch-action:none}#canvas-host{position:absolute;inset:0}.viewport-tag{position:absolute;top:18px;left:19px;font-size:10px;font-weight:650;letter-spacing:.2px;color:#dce7ef;background:#17344bbd;border:1px solid #6589a330;padding:7px 10px;border-radius:5px;pointer-events:none;max-width:calc(100% - 40px)}.camera-status{position:absolute;right:17px;top:56px;color:#82a3bb;font-size:9px;pointer-events:none}.last-added{position:absolute;left:20px;bottom:51px;color:#c6dbe9;font-size:10px;pointer-events:none;max-width:90%;line-height:1.45}.viewer-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;position:absolute;left:20px;right:17px;bottom:16px}.legend{display:flex;gap:14px;flex-wrap:wrap}.legend span{font-size:9px;color:#9db6c8;display:inline-flex;align-items:center;gap:5px}.legend i{height:6px;width:6px;border-radius:2px;background:var(--swatch)}.viewer-text-button{font-size:9px;color:#aac4d7;background:none;border:0;padding:5px;white-space:nowrap}.view-options{padding:13px 15px;display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap}.view-options label{display:flex;gap:6px;align-items:center;color:var(--muted);font-size:10px}.view-options input{accent-color:var(--blue);width:13px;height:13px;margin:0}.view-options .text-button{margin-left:auto}.under-view{margin-top:16px}.drawing-status{border-left:3px solid #538cbb;padding:10px 14px;background:#edf3f8;border-radius:0 6px 6px 0;margin-bottom:22px}.drawing-status.pending{border-color:#cc963f;background:#fcf6e9}.status-label{font-size:8px;font-weight:750;letter-spacing:1.4px;color:#6588a5}.drawing-status.pending .status-label{color:#a27c39}.drawing-status p{font-size:10px;color:#60778b;line-height:1.6;margin:5px 0 0}.catalog-tools{display:flex;gap:9px;margin:12px 0}input[type=text],#catalog-search{height:36px;border:1px solid var(--line);background:white;border-radius:6px;padding:8px 10px;font-size:11px;min-width:0;width:100%;color:var(--ink)}.catalog-tools .button{min-height:36px;font-size:10px}.catalog{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;max-height:210px;overflow-y:auto;padding:2px}.catalog button{border:1px solid var(--line);border-radius:6px;min-height:48px;background:#fff;padding:8px 10px;text-align:left;font-size:10px;color:#546e82}.catalog button span{display:block;font-size:8px;color:#91a0ac;margin-top:4px}.catalog button.active{border-color:#6fa2dc;background:#edf5ff;color:#1f62b1}.catalog button.reviewed{box-shadow:inset 0 -2px #67a795}.step-panel{background:white;border-left:1px solid var(--line);padding:30px 23px 25px}.step-count{display:flex;align-items:baseline;gap:6px;margin-top:17px}.step-count strong{font-size:26px;font-weight:650;letter-spacing:-.8px}.step-count>span{font-size:13px;color:#a7b1b9}.step-count .text-button{margin-left:auto;color:#82919e;font-size:9px}.progress-track{height:3px;background:#edf1f4;border-radius:3px;margin:13px 0 28px;overflow:hidden}.progress-track>div{height:100%;background:#3983d8;transition:width .2s}.step-kind{font-size:9px;color:#d0863a;font-weight:750;letter-spacing:1.4px}.instruction h3{font-size:22px;line-height:1.3;letter-spacing:-.6px;margin:13px 0 14px}.instruction>p{font-size:11px;color:var(--muted);line-height:1.85}.step-facts{display:flex;flex-wrap:wrap;gap:6px;margin:16px 0}.fact{background:#f4f7f9;border:1px solid #e5ebef;border-radius:5px;font-size:9px;padding:7px 8px;color:#60788c}.instruction .primary{display:flex;justify-content:space-between;width:100%;margin-top:20px;min-height:47px;font-size:12px;white-space:normal;text-align:left}.instruction .primary>span:last-child{font-size:23px;font-weight:400}.secondary-controls{display:flex;gap:6px;justify-content:space-between;margin-top:8px}.secondary-controls .button{font-size:10px;padding:8px;min-height:35px}.step-source{font-size:9px!important;line-height:1.6!important;border-bottom:1px solid var(--line);padding:0 0 21px;margin:16px 0!important;color:#96a3ae!important}.step-outline{margin:18px 0 22px;font-size:10px}.step-outline summary{cursor:pointer;font-weight:650;color:#688096;min-height:29px}.step-outline ol{max-height:260px;overflow:auto;padding-left:23px;font-size:10px;line-height:1.6}.step-outline li{padding:5px 1px;color:#8a99a6}.step-outline li.done{color:#498a79}.step-outline li.current{color:#2169c2;font-weight:700}.note-box{border-top:1px solid var(--line);padding-top:20px}.note-box label{font-size:10px;font-weight:650;color:#536e84}.note-box textarea{resize:vertical;width:100%;margin:9px 0 6px;padding:10px;border:1px solid var(--line);border-radius:6px;font-size:10px;line-height:1.7;color:#476074;background:#fafcfd;min-height:72px}.note-box textarea::placeholder{color:#a0aab3}.note-box small{font-size:8px;color:#98a7b3}.review-note{display:flex;align-items:flex-start;gap:8px;margin-top:26px;color:#b2915b}.review-note svg{flex-shrink:0;margin-top:1px}.review-note p{margin:0;font-size:9px;line-height:1.8;color:#98a3ab}.section-inset{position:absolute;right:16px;bottom:72px;width:137px;height:195px;background:#f4f7facf;border-radius:7px;border:1px solid #d1dce5;box-shadow:0 3px 12px #0002;color:#213b50;padding:10px;pointer-events:none}.section-inset svg{width:100%;height:100%}.loading{position:absolute;inset:0;background:#102538;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#c5d9e6;font-size:12px;gap:15px;z-index:4}.loading span{width:27px;height:27px;border:2px solid #345568;border-top-color:#66add9;border-radius:50%;animation:spin 1s linear infinite}.loading.error span{display:none}.loading.error{padding:40px;line-height:1.8;text-align:center}@keyframes spin{to{transform:rotate(360deg)}}[hidden]{display:none!important}dialog{padding:0;border:1px solid var(--line);border-radius:12px;color:var(--ink);box-shadow:0 22px 90px #04142655}dialog::backdrop{background:#0b2035a3;backdrop-filter:blur(3px)}#source-dialog{width:min(1280px,95vw);max-height:95vh}.dialog-heading{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid var(--line);gap:20px}.dialog-heading h2{font-size:20px;margin:7px 0 0;letter-spacing:-.4px}.dialog-controls{display:flex;gap:20px;align-items:center}.dialog-controls label{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:8px}.dialog-controls input{max-width:100px;accent-color:var(--blue)}#source-image-scroll{overflow:auto;max-height:70vh;background:#e7ebef;padding:15px;text-align:center}#source-image{display:block;width:100%;max-width:none;margin:0 auto}#source-description{font-size:11px;line-height:1.8;padding:0 24px 12px;color:var(--muted)}#info-dialog{width:min(610px,94vw)}#info-content{padding:18px 25px 25px;font-size:13px;line-height:1.85;color:#5d7386}#info-content h3{font-size:14px;color:var(--ink);margin-bottom:6px}#info-content a{color:var(--blue)}#toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);opacity:0;background:#18384f;color:#fff;border-radius:8px;padding:12px 20px;font-size:12px;pointer-events:none;transition:.2s;z-index:20;box-shadow:0 6px 20px #10283a33;max-width:85vw;text-align:center}#toast.show{opacity:1;transform:translate(-50%,0)}#drawing-view{position:absolute;inset:0;overflow:auto;background:#dce4ea;padding:44px 20px 68px}#drawing-container{position:relative;width:100%;max-width:1000px;margin:auto}#services-plan{width:100%;display:block;user-select:none}.drawing-tip{position:sticky;top:0;z-index:3;font-size:10px;background:#f8fbffe8;color:#456783;border:1px solid #b8ccd9;border-radius:5px;padding:8px;margin-bottom:10px}#plan-pins{position:absolute;inset:0;pointer-events:none}.plan-pin{position:absolute;transform:translate(-50%,-50%);width:23px;height:23px;background:#196cc8;color:white;display:grid;place-items:center;border:2px solid white;border-radius:50%;font-size:9px;box-shadow:0 2px 6px #113b6f88}.pin-list{display:flex;gap:7px;flex-wrap:wrap}.pin-list button{padding:8px 10px;border:1px solid var(--line);border-radius:6px;background:#fff;color:#4b6f8d;font-size:10px}.service-kind{display:flex;flex-wrap:wrap;gap:6px}.service-kind button{border:1px solid var(--line);border-radius:6px;padding:7px 10px;background:white;font-size:10px;color:#56758e}.service-kind button.active{background:#eaf3ff;border-color:#8db3df;color:#246ac0}
@media(min-width:1650px){.app-shell{grid-template-columns:260px minmax(700px,1fr) 340px}.workspace{padding:34px 38px}.viewport{height:min(58vh,650px)}.step-panel{padding:35px 28px}.instruction>p{font-size:12px}.instruction h3{font-size:24px}}
@media(max-width:1200px){.app-shell{grid-template-columns:190px minmax(350px,1fr) 270px}.navigation{padding:25px 10px}.workspace{padding:25px 18px}.step-panel{padding:27px 17px}.module{gap:9px;padding:9px}.module strong{font-size:11px}.module small{font-size:8px}.header-caption{display:none}.catalog{grid-template-columns:repeat(3,1fr)}.workspace-heading h2{font-size:23px}.mode-switch button{font-size:9px;padding:7px 8px}.viewport{height:420px}}
@media(max-width:980px){.app-shell{grid-template-columns:160px minmax(0,1fr)}.step-panel{grid-column:2;border-left:0;border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;gap:15px 30px}.step-panel-top,.instruction{grid-column:1}.step-outline,.note-box,.review-note{grid-column:2}.step-outline{grid-row:1/3}.note-box{grid-row:3}.review-note{grid-row:4}.navigation{grid-row:1/3}.sidebar-heading{padding-left:8px}.sidebar-heading h1{font-size:20px}.module .module-icon{width:26px;height:26px}.module{gap:8px}.module small{display:none}.header-middle{margin-left:auto}.header-actions .quiet{display:none}.viewport{height:440px}.workspace{padding-bottom:18px}}
@media(max-width:620px){.app-header{height:67px;padding:0 14px;gap:10px}.brand{font-size:16px;gap:8px}.brand-mark{width:35px;height:35px}.brand small{font-size:7px}.header-middle{display:none}.header-actions .secondary{min-height:35px;padding:8px;font-size:10px}.app-shell{display:flex;flex-direction:column}.navigation{padding:10px 12px;border:0;border-bottom:1px solid var(--line)}.sidebar-heading,.project-source{display:none}#modules{flex-direction:row;overflow:auto;gap:6px}.module{min-width:max-content;min-height:43px;padding:7px 10px;border:1px solid var(--line);gap:6px}.module .module-icon{width:21px;height:21px}.module .module-icon svg{width:16px;height:16px}.module strong{margin:0;font-size:10px}.workspace{padding:20px 13px}.workspace-heading{margin-bottom:17px;gap:8px}.workspace-heading h2{font-size:23px}.workspace-heading .eyebrow{font-size:8px}.workspace-heading p{font-size:10px;max-width:210px}.mode-switch{margin-top:6px}.mode-switch button{font-size:8px;padding:7px}.selection-bar{gap:6px}.selection-bar select{font-size:10px;padding-left:8px}.source-button{font-size:9px;padding:8px;min-width:0}.viewport{height:390px}.view-toolbar{padding:6px}.view-toolbar button{font-size:9px;padding:6px 9px}.view-options{gap:9px;font-size:9px;padding:10px}.view-options label{font-size:9px}.view-options .text-button{font-size:9px}.viewport-tag{font-size:9px;left:12px;top:13px}.camera-status{font-size:8px;right:12px;top:51px}.legend{gap:8px}.legend span{font-size:8px}.viewer-bottom{left:12px;right:10px}.last-added{left:12px;font-size:9px}.section-inset{width:109px;height:164px;right:10px}.catalog{grid-template-columns:repeat(4,1fr)}.catalog button{font-size:9px;padding:7px;min-height:44px}.step-panel{display:block;padding:24px 20px;border-left:0;border-top:1px solid var(--line)}.instruction h3{font-size:24px}.instruction>p{font-size:12px}.step-panel .primary{min-height:49px;font-size:13px}.step-outline ol{max-height:150px}.review-note{margin-top:17px}.note-box textarea{font-size:12px}.dialog-heading{padding:16px;gap:8px}.dialog-heading h2{font-size:16px}.dialog-controls{gap:8px}.dialog-controls input{max-width:60px}#source-image-scroll{padding:5px}#source-description{padding:0 16px 8px;font-size:10px}.review-badge{font-size:9px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}.loading span{animation:none}}

.mobile-actions{display:none}@media(max-width:980px){.mobile-actions{display:flex;gap:8px;padding:12px;border-top:1px solid #dce5ec}.mobile-actions .primary{flex:1}}@media(max-width:620px){.section-inset{width:76px;right:10px;top:60px;bottom:auto;padding:6px}}
