.brand img.brand-lockup{display:block;width:155px;max-width:100%;height:auto;object-fit:contain}.mobile-brand img.brand-lockup{width:130px;height:auto}.loading-screen .brand img.brand-lockup{width:220px}
:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#223b33;background:#f6f7f3;font-synthesis:none;--ink:#223b33;--green:#235e4b;--muted:#78837c;--line:#e2e7df;--lime:#d9e8b6;--white:#fff;--danger:#ad4938}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #9abf71;outline-offset:3px}button{border:0;background:none;color:inherit}a{color:var(--green)}svg{display:block}h1,h2,h3,p{margin-top:0}h1{font-size:32px;letter-spacing:-1.2px;font-weight:600;line-height:1.15}h2{font-size:22px;letter-spacing:-.6px;font-weight:600}h3{font-size:16px;font-weight:600}p{line-height:1.6;color:var(--muted);font-size:14px}.icon{width:20px;height:20px;flex-shrink:0;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.btn{display:inline-flex;gap:9px;align-items:center;justify-content:center;min-height:44px;padding:11px 18px;border-radius:10px;font-size:13px;font-weight:600;text-decoration:none;white-space:nowrap;transition:background .15s,transform .15s}.btn:hover{transform:translateY(-1px)}.primary{background:var(--green);color:#fff}.primary:hover{background:#194d3c}.secondary{background:#fff;border:1px solid var(--line)}.soft{background:#ecf1e8}.danger{color:var(--danger)}.icon-btn{display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:40px;border:1px solid var(--line);border-radius:9px;background:white}.icon-btn:hover{background:#eef3e9}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:700;text-transform:uppercase;color:var(--muted)}.muted{color:var(--muted)}.small{font-size:12px}.row{display:flex;align-items:center;gap:12px}.between{justify-content:space-between}.wrap{flex-wrap:wrap}.stack{display:grid;gap:16px}.spacer{flex:1}.brand{display:flex;align-items:center;gap:11px;font-size:23px;font-weight:650;letter-spacing:-.8px}.brand img{width:37px;height:37px}.badge{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:6px;font-size:10px;font-weight:600;background:#edf4e7;color:#4d7047;letter-spacing:.1px}.badge.amber{background:#fbf1df;color:#976b2c}.badge.neutral{background:#edf0ec;color:#768078}.badge.error{background:#f9e9e5;color:var(--danger)}.dot{width:6px;height:6px;border-radius:100%;background:#78a766}.badge.amber .dot{background:#cb9a43}.loading-screen{min-height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:20px}.loader{display:inline-block;width:23px;height:23px;border:2px solid #d9e3d5;border-top-color:var(--green);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.shell{display:grid;grid-template-columns:224px 1fr;min-height:100vh}.sidebar{background:#fff;border-right:1px solid var(--line);position:fixed;inset:0 auto 0 0;width:224px;padding:32px 20px 20px;display:flex;flex-direction:column;z-index:20}.sidebar .brand{margin:0 10px 42px}.nav-label{margin:0 12px 14px;font-size:9px;letter-spacing:1.5px;color:#9aA39a;font-weight:700}.nav{display:grid;gap:5px}.nav button{display:flex;align-items:center;gap:12px;border-radius:9px;min-height:45px;padding:12px;font-size:13px;color:#79847c;text-align:left}.nav button.active{background:#edf2e9;color:var(--green);font-weight:600}.nav button:hover{background:#f4f6f1}.nav .count{margin-left:auto;font-size:10px;background:#dce6d6;border-radius:5px;padding:2px 6px}.sidebar-bottom{margin-top:auto}.sidebar-tip{background:#f6f7f2;border:1px solid #e7ebdf;border-radius:12px;padding:15px;margin:25px 0 18px}.sidebar-tip .icon{color:#708753;margin-bottom:12px}.sidebar-tip p{font-size:11px;line-height:1.6;margin:7px 0 8px}.sidebar-tip button{font-size:11px;font-weight:600;padding:0}.profile{border-top:1px solid var(--line);padding-top:18px;display:flex;align-items:center;gap:10px;width:100%;text-align:left}.avatar{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:#e7ecde;color:#5b7050;font-size:12px;font-weight:700}.profile-name{font-size:12px;font-weight:600;max-width:130px;overflow:hidden;text-overflow:ellipsis}.profile-email{font-size:9px;color:var(--muted);max-width:130px;overflow:hidden;text-overflow:ellipsis;margin-top:4px}.main{grid-column:2;min-width:0}.topbar{height:77px;display:flex;align-items:center;justify-content:space-between;padding:0 42px;border-bottom:1px solid var(--line);background:#fbfcf9;gap:15px}.breadcrumb{display:flex;align-items:center;gap:12px;font-size:11px;color:#839080}.breadcrumb strong{font-weight:500;color:#33483b}.connection{font-size:10px;color:#7c887b;display:flex;align-items:center;gap:7px}.connection .icon{width:15px;height:15px}.mobile-brand{display:none}.content{padding:34px 42px 50px;max-width:1560px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:27px}.page-heading p{margin:10px 0 0;font-size:12px}.page-heading h1{margin:0}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:28px}.stat{border:1px solid var(--line);background:#fff;border-radius:12px;padding:20px 22px;display:flex;justify-content:space-between;align-items:center}.stat .eyebrow{font-size:9px;letter-spacing:1px}.stat-value{font-size:29px;letter-spacing:-1px;margin-top:10px;line-height:1}.stat-icon{width:43px;height:43px;display:grid;place-items:center;border-radius:11px;background:#f3f5ed;color:#859575}.welcome{border-radius:16px;background:#eaf0e0;border:1px solid #e0e7d4;padding:30px 32px;display:grid;grid-template-columns:1.1fr 1fr;gap:28px;overflow:hidden;position:relative;margin-bottom:30px;min-height:240px}.welcome h2{font-size:28px;line-height:1.2;letter-spacing:-.9px;max-width:330px;margin:12px 0}.welcome p{max-width:350px;font-size:12px;color:#7d8b71;margin-bottom:20px}.welcome-art{position:relative;display:flex;align-items:center;justify-content:center;min-height:175px}.art-plan{width:260px;max-height:190px;transform:rotate(-8deg);background:#fdfefb;box-shadow:0 15px 35px #5b725922;border-radius:7px;padding:20px;border:1px solid #dce4cf}.scan-pill{position:absolute;bottom:4px;right:8px;background:#fff;border:1px solid #dde5d5;border-radius:9px;padding:10px 14px;display:flex;gap:9px;align-items:center;font-size:10px;box-shadow:0 8px 20px #49642a0b}.scan-pill .icon{color:var(--green);width:16px;height:16px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.section-heading h2{font-size:17px;margin:0}.section-heading .small{font-size:11px}.toolbar{display:flex;gap:10px;align-items:center;margin:0 0 22px}.search{position:relative;max-width:320px;flex:1}.search .icon{position:absolute;left:13px;top:12px;width:17px;height:17px;color:#8b9786}.search input{padding-left:39px;background:white}.filters{display:flex;background:#eaf0e5;border-radius:9px;padding:3px;gap:2px}.filters button{padding:9px 13px;font-size:11px;border-radius:6px;color:#819079}.filters .active{background:white;color:var(--green);box-shadow:0 2px 4px #263a1510}.projects-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.project-card{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff;transition:box-shadow .2s,transform .2s;text-align:left;padding:0;min-width:0}.project-card:hover{box-shadow:0 8px 24px #334b3110;transform:translateY(-3px)}.project-preview{height:180px;background:#edf0e8;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;background-image:linear-gradient(#d4dfcd35 1px,transparent 1px),linear-gradient(90deg,#d4dfcd35 1px,transparent 1px);background-size:18px 18px}.project-preview>svg{width:80%;height:86%}.project-preview>img{width:100%;height:100%;object-fit:cover}.project-preview .badge{position:absolute;left:13px;top:13px;background:#ffffffeb;box-shadow:0 2px 4px #00000004}.project-preview .empty-icon{width:48px;height:48px;color:#b1bea6}.project-info{padding:18px}.project-info h3{margin:0 0 6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-info p{font-size:11px;margin:0 0 18px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-meta{display:flex;align-items:center;gap:14px;border-top:1px solid #edf0e9;padding-top:13px;font-size:10px;color:#84907e}.project-meta span{display:flex;align-items:center;gap:5px}.project-meta .icon{width:13px;height:13px}.project-meta .date{margin-left:auto;font-size:9px}.add-card{min-height:290px;border:1px dashed #cad6c0;border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;color:#76876c;background:#f2f5ed}.add-card:hover{background:#eaf0e1}.add-card>span{width:42px;height:42px;border:1px solid #cdd9c2;border-radius:50%;display:grid;place-items:center}.add-card p{font-size:11px;margin:0;max-width:170px;text-align:center}.empty-panel{border:1px dashed #d5dfcc;border-radius:14px;min-height:200px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px;text-align:center;background:#fafbf7}.empty-panel>.icon{width:32px;height:32px;color:#8e9e7e;margin-bottom:16px}.empty-panel h3{margin-bottom:8px}.empty-panel p{max-width:400px;font-size:12px}.footer-note{display:flex;align-items:center;justify-content:center;gap:7px;color:#9aa493;font-size:10px;margin-top:30px}.footer-note .icon{width:13px;height:13px}.bottom-nav{display:none}
label{display:block;font-size:12px;font-weight:550;margin-bottom:7px}input,select,textarea{width:100%;padding:12px;border:1px solid #dce3d7;border-radius:8px;background:#fbfcfa;color:var(--ink);font-size:13px;outline:none}input:focus,select:focus,textarea:focus{border-color:#7da066}textarea{resize:vertical;min-height:85px}input[type=checkbox]{width:17px;height:17px;accent-color:var(--green);flex-shrink:0}input[type=file]{padding:20px;background:#eff4e7;border-style:dashed}input::placeholder,textarea::placeholder{color:#a2ab9c}.field{margin-bottom:18px}.field-hint{font-size:11px;margin:6px 0 0;line-height:1.5}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form-error{font-size:12px;color:var(--danger);padding:10px 12px;background:#fcf0ed;border-radius:8px;display:none;line-height:1.5}.form-error:not(:empty){display:block}.checkbox-label{display:flex;gap:10px;align-items:flex-start;font-size:12px;font-weight:400;line-height:1.6}.auth{min-height:100vh;display:grid;grid-template-columns:1.1fr 1fr}.auth-story{background:#e7eddd;display:flex;flex-direction:column;padding:44px 60px;overflow:hidden;position:relative;background-image:radial-gradient(#bacaaa60 1px,transparent 1px);background-size:20px 20px}.auth-story>.brand{align-self:flex-start}.auth-story h1{font-size:clamp(36px,4vw,58px);letter-spacing:-2.5px;line-height:1.08;max-width:480px;margin-top:65px;margin-bottom:22px}.auth-story p{max-width:350px;color:#76866b;font-size:14px}.auth-illustration{margin:20px auto 35px;width:90%;max-width:420px;transform:rotate(-6deg);background:#fdfef9;border:1px solid #d2dfc4;box-shadow:0 20px 45px #4a623314;padding:30px;border-radius:13px}.auth-story footer{margin-top:auto;font-size:10px;color:#7c8b70;display:flex;align-items:center;gap:8px}.auth-story footer .icon{width:15px;height:15px}.auth-form{display:flex;align-items:center;justify-content:center;padding:48px;background:#fcfdf9}.auth-inner{width:100%;max-width:350px}.auth-inner .eyebrow{margin-bottom:18px}.auth-inner h2{font-size:29px;letter-spacing:-1px;margin-bottom:12px}.auth-inner>p{font-size:12px;margin-bottom:30px}.auth-tabs{display:flex;border-bottom:1px solid var(--line);margin-bottom:27px;gap:24px}.auth-tabs button{padding:0 0 12px;font-size:12px;color:#8c9786}.auth-tabs button.active{color:var(--green);border-bottom:2px solid var(--green);font-weight:600}.auth-inner .primary{width:100%;margin-top:8px}.auth-privacy{font-size:10px!important;text-align:center;margin-top:20px;line-height:1.6}.auth-inner .mobile-brand{margin-bottom:36px}
dialog{border:1px solid #dfe6d8;border-radius:16px;width:min(520px,calc(100vw - 28px));max-height:90dvh;padding:28px;color:var(--ink);box-shadow:0 25px 100px #18332024;background:#fff}dialog::backdrop{background:#142d2455;backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;gap:12px}.dialog-heading h2{font-size:23px;margin:0}.dialog-heading button{border:none}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.dialog-subtitle{font-size:12px;margin-bottom:23px}.notice{padding:14px 16px;border:1px solid #e9dfc9;background:#faf6ec;color:#8b7850;border-radius:9px;font-size:11px;line-height:1.7;display:flex;gap:10px;margin:16px 0}.notice .icon{width:17px;height:17px;flex-shrink:0;margin-top:1px}.notice.green{background:#f1f6eb;border-color:#dde7d1;color:#627c4e}.progress-track{height:6px;background:#e7eddF;border-radius:10px;overflow:hidden;margin:20px 0 8px}.progress-track>span{display:block;background:var(--green);height:100%;width:0;transition:width .2s}#toast{position:fixed;left:50%;bottom:28px;transform:translate(-50%,20px);padding:13px 20px;background:#243e33;color:#fff;font-size:12px;border-radius:10px;box-shadow:0 8px 40px #1a382928;opacity:0;pointer-events:none;transition:.2s;z-index:100;max-width:90vw;text-align:center}#toast.show{opacity:1;transform:translate(-50%,0)}#toast.error{background:#934e40}.detail-tabs{display:flex;gap:26px;border-bottom:1px solid var(--line);margin:24px 0}.detail-tabs button{font-size:12px;color:#8b9782;padding:0 0 14px;display:flex;align-items:center;gap:8px}.detail-tabs .active{color:var(--green);border-bottom:2px solid var(--green);font-weight:600}.detail-tabs .count{font-size:10px;border-radius:5px;background:#e9eee2;padding:2px 6px}.video-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.video-card{border:1px solid var(--line);border-radius:12px;background:white;overflow:hidden;min-width:0}.video-thumb{height:165px;position:relative;display:block;width:100%;padding:0;background:#e6ecdf}.video-thumb img{width:100%;height:100%;object-fit:cover}.play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:42px;height:42px;background:#ffffffdf;display:grid;place-items:center;border-radius:50%}.duration{position:absolute;bottom:10px;right:10px;background:#18382b99;color:white;padding:4px 7px;font-size:10px;border-radius:5px}.video-info{padding:16px}.video-info h3{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:5px}.video-info p{font-size:10px;margin-bottom:14px}.video-info .btn{font-size:10px;padding:8px 10px;min-height:36px}.video-info .icon-btn{width:36px;min-width:36px;height:36px}.video-info .icon-btn .icon{width:16px;height:16px}.job{background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px 20px;display:flex;align-items:center;gap:15px;margin-bottom:14px}.job h3{font-size:13px;margin:0 0 5px}.job p{font-size:11px;margin:0}.job .job-icon{width:35px;height:35px;display:grid;place-items:center;background:#eff3e8;border-radius:9px}.job.failed{border-color:#ecd9ce;background:#fdf9f6}.project-notes{border:1px solid var(--line);border-radius:12px;background:#fff;padding:25px;max-width:680px}.project-notes dt{font-size:11px;color:#83917b;margin-top:20px}.project-notes dd{font-size:13px;margin:8px 0 0;line-height:1.8;white-space:pre-wrap}.account-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.panel{background:#fff;border:1px solid var(--line);border-radius:13px;padding:25px}.panel h2{font-size:18px}.panel p{font-size:12px}.panel .field-hint{font-size:10px}.steps{display:grid;gap:25px}.step{display:flex;gap:18px;align-items:flex-start}.step-number{background:#edf2e5;color:#6d8358;font-size:13px;border-radius:50%;width:34px;height:34px;display:grid;place-items:center;flex-shrink:0}.step h3{margin:1px 0 5px;font-size:15px}.step p{margin:0;font-size:12px}.editor{display:grid;grid-template-columns:minmax(0,1fr) 250px;border:1px solid #dbe3d4;border-radius:13px;overflow:hidden;background:#fff;min-height:580px}.drawing-wrap{background:#f8faf5;background-image:radial-gradient(#bccbb570 .7px,transparent .7px);background-size:16px 16px;position:relative;display:flex;flex-direction:column;min-width:0}.drawing-toolbar{display:flex;gap:6px;padding:13px;align-items:center;flex-wrap:wrap}.drawing-toolbar .btn{min-height:35px;font-size:10px;padding:7px 11px}.drawing-toolbar .icon-btn{height:34px;min-width:34px;width:34px}.drawing-toolbar .icon{width:15px;height:15px}.drawing-canvas{width:100%;min-height:420px;flex:1;touch-action:none;user-select:none}.drawing-canvas g[data-room]{cursor:grab}.drawing-canvas g[data-room]:active{cursor:grabbing}.drawing-footer{display:flex;justify-content:space-between;gap:15px;padding:12px 18px;font-size:9px;color:#8b9a7f;border-top:1px solid #e8eddf}.inspector{border-left:1px solid #e0e7d9;padding:20px;overflow:auto;max-height:700px}.inspector h3{font-size:12px;margin:0 0 15px}.room-item{display:flex;align-items:center;gap:8px;width:100%;padding:10px 8px;border-radius:7px;font-size:11px;text-align:left;margin-bottom:3px}.room-item.active{background:#edf3e5;color:#4d6c35}.room-color{width:9px;height:9px;border-radius:3px;flex-shrink:0}.room-item small{margin-left:auto;color:#94a184;font-size:9px}.inspector hr{border:0;border-top:1px solid var(--line);margin:20px 0}.inspector label{font-size:10px}.inspector input,.inspector select{font-size:11px;padding:9px}.inspector .field{margin-bottom:12px}.inspector .field-grid{gap:8px}.inspector .btn{font-size:10px;min-height:34px;padding:7px 10px}.plan-warning{font-size:10px;line-height:1.7;color:#96815b;margin:8px 0}.editor-title input{font-size:23px;border:0;background:transparent;padding:0;letter-spacing:-.6px;font-weight:600;border-radius:0}.editor-title p{font-size:11px;margin:9px 0 0}.revision{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px solid var(--line);gap:10px}.revision p{font-size:11px;margin:0}.revision .btn{font-size:10px;min-height:34px;padding:7px 10px}.print-heading{display:none}
@media(min-width:1450px){.project-preview{height:220px}.content{padding-top:40px}.welcome{min-height:260px}}@media(max-width:1150px){.sidebar{width:190px;padding:28px 14px}.shell{grid-template-columns:190px 1fr}.sidebar .brand{font-size:21px;margin-left:8px}.content{padding:28px}.topbar{padding:0 28px}.projects-grid,.video-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.welcome{padding:25px}.welcome h2{font-size:25px}.editor{grid-template-columns:minmax(0,1fr) 220px}.inspector{padding:15px}}
@media(max-width:760px){h1{font-size:27px}.shell{display:block}.sidebar{display:none}.main{width:100%}.topbar{height:68px;padding:0 20px}.breadcrumb{display:none}.mobile-brand{display:flex;font-size:22px}.mobile-brand img{width:31px;height:31px}.connection{font-size:9px}.content{padding:25px 18px 100px}.page-heading{align-items:flex-start;margin-bottom:22px;gap:12px}.page-heading p{font-size:11px;line-height:1.6}.page-heading .btn{font-size:11px;min-height:39px;padding:10px 13px}.page-heading .btn .icon{width:16px;height:16px}.stats{gap:9px;margin-bottom:22px}.stat{padding:16px 13px}.stat .eyebrow{font-size:8px;letter-spacing:.6px}.stat-value{font-size:25px}.stat-icon{display:none}.welcome{padding:25px;grid-template-columns:1fr .6fr;min-height:220px;gap:4px}.welcome h2{font-size:24px}.welcome p{font-size:11px}.welcome-art{margin-right:-80px;opacity:.7}.art-plan{width:210px}.scan-pill{display:none}.welcome .btn{font-size:11px;padding:10px 13px}.toolbar{flex-wrap:wrap}.search{max-width:none;min-width:160px}.filters button{font-size:10px;padding:9px}.projects-grid,.video-grid{gap:13px}.project-preview{height:145px}.project-info{padding:13px}.project-info h3{font-size:13px}.project-info p{font-size:10px;margin-bottom:12px}.project-meta{gap:10px;font-size:9px}.project-meta .date{display:none}.add-card{min-height:240px}.bottom-nav{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:space-around;align-items:center;border-top:1px solid var(--line);background:#fffffff2;backdrop-filter:blur(16px);padding:9px 6px max(9px,env(safe-area-inset-bottom));z-index:30}.bottom-nav button{display:flex;flex-direction:column;gap:5px;align-items:center;font-size:9px;color:#8f9b85;min-width:58px;padding:5px}.bottom-nav .active{color:var(--green);font-weight:600}.bottom-nav .icon{width:21px;height:21px}#toast{bottom:90px;font-size:11px}.auth{display:block}.auth-story{display:none}.auth-form{min-height:100vh;padding:30px}.auth-inner .mobile-brand{display:flex}.account-grid{grid-template-columns:1fr}.video-thumb{height:145px}.video-info{padding:12px}.video-info .row{gap:6px;flex-wrap:wrap}.video-info .btn{flex:1}.detail-tabs{gap:20px}.detail-tabs button{font-size:11px}.editor{grid-template-columns:1fr;min-height:auto}.drawing-canvas{min-height:360px;max-height:480px}.inspector{border-left:0;border-top:1px solid var(--line);max-height:none;padding:18px}.room-list{display:flex;gap:5px;overflow:auto}.room-item{width:auto;flex-shrink:0;padding:9px;gap:7px}.room-item small{margin-left:3px}.inspector .field-grid{grid-template-columns:1fr 1fr}.editor-title input{font-size:22px}.editor-heading{flex-direction:column;align-items:stretch}.editor-heading>.row{justify-content:flex-start;flex-wrap:wrap}.drawing-footer{font-size:8px}.notice{font-size:10px}.job{padding:14px}.job h3{font-size:12px}.job p{font-size:10px}.footer-note{font-size:9px}.section-heading h2{font-size:16px}.dialog-heading h2{font-size:21px}dialog{padding:23px}.panel{padding:22px}.auth-inner h2{font-size:30px}}
@media(max-width:390px){.projects-grid,.video-grid{grid-template-columns:1fr}.project-preview{height:190px}.welcome-art{display:none}.welcome{grid-template-columns:1fr}.filters{width:100%;justify-content:space-between}.stat{padding:14px 10px}.stat .eyebrow{font-size:7px}.page-heading h1{font-size:25px}}
/* Keep analysis actions reachable on narrow screens and with enlarged text. */
.job{display:grid;grid-template-columns:35px minmax(0,1fr) auto;align-items:start}
.job>div{min-width:0;overflow-wrap:anywhere}
.job .btn{white-space:normal;max-width:100%}
.job>div>.btn{margin-top:10px}
.dialog-heading h2{min-width:0;overflow-wrap:anywhere}
.dialog-heading button{flex-shrink:0}
.dialog-actions{flex-wrap:wrap}
.dialog-actions .btn{white-space:normal;max-width:100%;min-width:0}
dialog{max-width:calc(100vw - 28px);overflow-wrap:anywhere}
@media(max-width:760px){.job{grid-template-columns:35px minmax(0,1fr);gap:12px}.job>.btn{grid-column:2;justify-self:start}.page-heading{flex-wrap:wrap}.page-heading>div{min-width:0}.page-heading h1{overflow-wrap:anywhere}.dialog-actions .btn{flex:1 1 140px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{body{background:white}.sidebar,.topbar,.bottom-nav,.page-heading,.detail-tabs,.drawing-toolbar,.drawing-footer,.inspector,.notice,.footer-note,#toast,dialog{display:none!important}.shell,.main,.content,.editor{display:block;padding:0;margin:0;border:0;min-height:0}.drawing-wrap{background:white}.drawing-canvas{min-height:0;height:75vh;width:100%}.print-heading{display:block;padding:20px}.print-heading h1{font-size:22px}.print-heading p{font-size:11px}.drawing-canvas g[data-room] rect{stroke:#20392d}.plan-warning{display:block}}

/* A bounded canvas keeps touch rotation inside the viewer on phones. */
#scene-canvas{display:block;width:100%;height:clamp(360px,65vh,760px);touch-action:none;min-width:0;border-radius:8px;background:#f9fbf6}
.drawing-toolbar{flex-wrap:wrap;gap:6px}.drawing-toolbar [aria-pressed=true]{background:#235e4b;color:#fff}
@media(max-width:600px){.drawing-toolbar .btn{padding:8px 10px;min-height:42px}.drawing-toolbar .spacer{display:none}}
