*{box-sizing:border-box}html,body{height:100%;width:100%;margin:0;overflow:hidden}body{font:14px/1.4 'Segoe UI',Arial,sans-serif;color:#183b53;background:#edf2f6}button,input,output{font:inherit}button{cursor:pointer;min-height:34px;border:1px solid #d2e0e9;border-radius:7px;background:#fff;color:#274b64}button:hover{border-color:#55a3c6;background:#f2f9fd}button:focus-visible,a:focus-visible,label:focus-within{outline:3px solid #25a4e8;outline-offset:2px}button:disabled{opacity:.45;cursor:default}[hidden]{display:none!important}.application{height:100dvh;display:grid;grid-template-rows:60px 121px minmax(0,1fr) 75px}.app-header{display:flex;align-items:center;justify-content:space-between;padding:0 24px;background:#fff;border-bottom:1px solid #d3e1e9;gap:20px}.brand{display:flex;align-items:center;gap:18px}.brand img{display:block;width:112px;height:40px;object-fit:contain}.brand>span{height:28px;width:1px;background:#d6e2e9}.brand strong{display:block;font-size:16px;font-weight:700}.brand small{display:block;color:#7b92a2;font-size:11px;margin-top:2px}.draft{display:flex;gap:7px;align-items:center;color:#526e81;font-size:11px;letter-spacing:.15px}.draft>i{width:6px;height:6px;border-radius:50%;background:#e0a338}.draft>span{color:#91a0ac;border-left:1px solid #d9e3ea;margin-left:6px;padding-left:13px}.header-actions{display:flex;gap:18px;align-items:center}.help{border:0;background:transparent;color:#7391a5;display:flex;align-items:center;gap:7px;font-size:14px}.help span{font-size:11px}.header-actions .close{width:34px;height:34px;font-size:23px;color:#6c8799;background:#f6f9fb;border-color:#d9e5ed}
.systems{background:#f8fbfd;border-bottom:1px solid #d3e1e9;padding:10px 20px 9px}#system-groups{display:grid;grid-template-columns:6fr 4fr 4fr 1fr;height:100%;gap:12px}.system-group{min-width:0}.group-heading{height:17px;display:flex;gap:7px;align-items:center;font-size:10px;letter-spacing:1.15px;font-weight:750;color:#65869b;margin-bottom:5px}.group-heading:after{content:'';height:1px;background:#d8e5ed;flex:1}.system-cards{display:grid;grid-template-columns:repeat(var(--count),minmax(0,1fr));gap:6px;height:77px}.system-card{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:5px 4px 4px;border-radius:8px;background:#fff;position:relative;gap:3px;transition:border-color .15s,background .15s}.system-card canvas{width:60px;height:29px;object-fit:contain;pointer-events:none}.system-card .card-name{font-size:10px;line-height:1.25;display:block;text-align:center;font-weight:650;min-height:25px;align-content:center;letter-spacing:-.1px}.system-card.active{border:1.5px solid #118fd5;background:#eaf6fd;box-shadow:0 0 0 1px #118fd510}.system-card.active:after{content:'✓';position:absolute;right:5px;top:3px;color:#048bd1;font-size:11px}.system-card .zip-icon{width:46px;height:27px;background:repeating-linear-gradient(0deg,#74828b 0,#74828b 1px,#b4bfc7 1px,#b4bfc7 3px);border:3px solid #344c5a;border-top-width:4px;margin-bottom:2px}.zip-card .card-name small{display:block;color:#0d8fc3;font-size:9px;margin-top:1px}
.workspace{display:grid;grid-template-columns:minmax(0,1fr) 302px;gap:14px;padding:14px 20px 13px;min-height:0}.drawing{min-height:0;display:grid;grid-template-rows:42px minmax(0,1fr) 36px;border:1px solid #d0dfe9;border-radius:12px;background:white;overflow:hidden;box-shadow:0 3px 9px #1b3e5505}.drawing-bar{display:flex;align-items:center;justify-content:space-between;padding:0 14px;border-bottom:1px solid #e4edf2;gap:10px}.drawing-bar>div{display:flex;align-items:center;gap:8px;min-width:0}.drawing-bar strong{font-size:12px}.live-dot{width:7px;height:7px;background:#189bce;border-radius:50%}.drawing-separator{color:#d3dfe7}.drawing-bar #selection-summary{font-size:11px;color:#7893a6}.view-note{font-size:10px;color:#7893a6;white-space:nowrap}.view-note b{font-size:10px;font-weight:500;padding:2px 6px;border:1px solid #dbe6ed;border-radius:4px;color:#6a8496}.fit-symbol{font-size:16px}.drawing-status{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fff;border-top:1px solid #e0eaf0;padding:0 12px;font-size:10px;color:#5d8198}.drawing-status>span:first-child{display:flex;align-items:center;gap:6px}.drawing-status i{width:5px;height:5px;border-radius:50%;background:#4aa181}.one-screen{color:#8a9eac;font-size:9px;white-space:nowrap}.outside-label{color:#0a7c9d;background:#e7f6fa;border:1px solid #b9e4ef;border-radius:5px;padding:3px 7px;white-space:nowrap}
#stage{position:relative;min-height:0;overflow:hidden;background:#edf3f6}.stage-grid{position:absolute;inset:0;background-image:radial-gradient(#bbcedd65 .6px,transparent .6px);background-size:14px 14px}#photo-view{position:absolute;overflow:visible;isolation:isolate;box-shadow:0 8px 30px #183a5911}#photo{position:absolute;inset:0;display:block;width:100%;height:100%;z-index:0;pointer-events:none}#product,#zip-layer,#outline,#corners,#point-markers{position:absolute;inset:0;width:100%;height:100%}#zip-layer{z-index:1;pointer-events:none}#product{z-index:2;pointer-events:none}#outline{z-index:3;pointer-events:none;overflow:visible}#area-shape{fill:#168fd406;stroke:#1c9de5;stroke-width:1.3;stroke-dasharray:4 4}#mark-line{fill:none;stroke:#148ed1;stroke-width:2}#corners{z-index:4;pointer-events:none}.corner{position:absolute;width:24px;height:24px;min-height:24px;transform:translate(-50%,-50%);border-radius:50%;color:#fff;background:#1089cc;border:2px solid white;box-shadow:0 2px 8px #07364d35;font-size:10px;font-weight:700;padding:0;pointer-events:auto;touch-action:none;cursor:grab}.corner:hover{background:#006bb0;color:#fff;border-color:white}#point-markers{z-index:4;pointer-events:none}.point{width:11px;height:11px;border-radius:50%;position:absolute;transform:translate(-50%,-50%);background:#1198df;border:2px solid white}.photo-badge{position:absolute;left:14px;bottom:12px;z-index:5;display:flex;align-items:center;gap:5px;color:#667f92;background:#ffffffe8;font-size:10px;padding:5px 8px;border:1px solid #d2e0e7;border-radius:5px}.photo-badge>span{font-size:13px}.canvas-tools{position:absolute;right:12px;bottom:12px;display:flex;gap:5px;z-index:5}.canvas-tools button{width:30px;min-height:29px;height:29px;background:#fffffff0;color:#50788f;font-size:20px}.canvas-tools button:hover{background:white}#system-prompt{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:5;background:#fffef6;border:1px solid #efd995;border-radius:12px;padding:20px 28px;box-shadow:0 8px 32px #0d334222;text-align:center}#system-prompt>span{display:inline-grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#e7f5ee;color:#278558;margin-bottom:6px}#system-prompt strong{display:block;font-size:15px}#system-prompt p{margin:4px 0 0;color:#7e743f;font-size:13px}#stage.marking{cursor:crosshair}
.sidebar{background:white;border:1px solid #d0dfe9;border-radius:12px;display:flex;flex-direction:column;min-height:0;overflow:hidden;padding:0 14px;box-shadow:0 3px 9px #1b3e5505}.side-title{height:43px;display:flex;align-items:center;justify-content:space-between;gap:6px;border-bottom:1px solid #e2ecf2;flex-shrink:0}.side-title>span{font-size:13px;font-weight:750}.side-title small{font-size:9px;color:#8a9fac}.tool-section{padding:10px 0;border-bottom:1px solid #edf1f5}.tool-heading{display:flex;align-items:center;gap:7px;margin-bottom:8px}.tool-heading h2{font-size:12px;font-weight:700;margin:0}.step{display:inline-grid;place-items:center;border:1px solid #cbdfe9;background:#f3f8fc;border-radius:5px;width:18px;height:18px;font-size:10px;color:#5090b2;font-weight:700}.small-check{font-size:9px;color:#4c9780;margin-left:auto}.photo-actions{display:flex;gap:8px;align-items:center}.upload{display:flex;gap:7px;align-items:center;justify-content:center;flex:1;height:34px;border:1px solid #bdd4e2;border-radius:7px;background:#f8fbfd;color:#357393;font-size:11px;font-weight:650;cursor:pointer}.upload>span{font-size:19px;font-weight:500}.upload input{display:none}.text-button{border:0;background:transparent;font-size:10px;color:#91a4b0;padding:0 6px}.placement-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.placement{display:flex;align-items:center;gap:7px;justify-content:center;height:34px;padding:0 5px}.placement>span{font-size:20px;font-weight:400}.placement>strong{font-size:10px;font-weight:550}.placement.active{background:#eaf6fe;border-color:#75b8dc;color:#1177b3}.analyze{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;height:32px;min-height:32px;margin-top:7px;background:#eef7fc;border-color:#c8e0ee;color:#3686b0;font-size:10px;font-weight:650}.analyze span:last-child{margin-left:auto;padding-right:5px}.analyze span:first-child{margin-right:auto;padding-left:5px;font-size:15px}.helper{font-size:9px;line-height:1.55;color:#8a9eab;margin:6px 0 0}.counter{height:33px;display:grid;grid-template-columns:38px 1fr 38px;border:1px solid #cbdde9;border-radius:7px;overflow:hidden}.counter button{min-height:31px;border:0;border-radius:0;background:#f5f9fc;font-size:19px;color:#4587ad}.counter output{display:flex;align-items:center;justify-content:center;gap:6px;font-size:16px;font-weight:700;letter-spacing:-.2px}.counter small{font-size:11px;font-weight:400;color:#7792a4}.default-note{font-size:9px;color:#90a1ac;margin:5px 0 0}.direction-controls{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.direction-controls button{height:34px;min-height:34px;display:flex;align-items:center;justify-content:center;gap:6px;font-size:10px}.direction-controls span{font-size:18px}.direction-controls .active{background:#087bcd;border-color:#087bcd;color:#fff;box-shadow:0 3px 5px #1582c31b}#lift-note{font-size:10px;color:#65869b;margin:0}.small-window{color:#6c9eba;font-size:19px;line-height:18px}.joinery-add{font-size:10px;background:#f9fbfc;height:32px;min-height:32px;width:100%;color:#547b92}.joinery-section{border-bottom:0}.side-bottom{display:flex;gap:7px;align-items:start;padding:10px 9px;background:#f3f8fb;border:1px solid #e0ebf2;border-radius:7px;margin:auto 0 12px;color:#7091a7}.side-bottom>span{font-size:13px}.side-bottom p{font-size:9px;line-height:1.5;margin:0}
.action-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 20px;background:#fff;border-top:1px solid #d2e0e9;box-shadow:0 -4px 18px #264d6405}.motion-group,.export-group{display:flex;align-items:center;gap:8px;min-width:0}.action-bar button{height:39px;white-space:nowrap;display:flex;align-items:center;justify-content:center;gap:7px;font-size:11px;padding:0 12px;color:#386681;border-color:#c8dce8}.action-bar button>span{font-size:16px}.footer-label{font-size:9px;letter-spacing:1px;font-weight:700;color:#8b9fac;margin-right:3px}.progress{display:flex;align-items:center;gap:7px;padding-left:4px}.progress input{width:140px;height:4px;accent-color:#128ad0;cursor:pointer}.progress output{min-width:23px;font-size:10px;color:#7994a6}.export-group #before{margin-right:3px;color:#708d9f;background:#f9fbfc}.action-bar .primary{background:#087bc4;color:#fff;border-color:#087bc4;box-shadow:0 3px 8px #087bc421;padding:0 18px}.action-bar .primary .last-arrow{font-size:14px;margin-left:6px}.toast{position:fixed;bottom:88px;left:50%;transform:translateX(-50%);z-index:10;padding:12px 20px;background:#173c55;color:white;box-shadow:0 6px 25px #12344c33;border-radius:8px;font-size:13px;max-width:70vw}
@media(min-width:1700px){.application{grid-template-rows:66px 133px minmax(0,1fr) 82px}.workspace{grid-template-columns:minmax(0,1fr) 330px;gap:18px;padding:18px 24px}.systems{padding:11px 24px}.system-cards{height:86px;gap:7px}.system-card canvas{height:34px;width:70px}.system-card .card-name{font-size:11px}.group-heading{font-size:11px;margin-bottom:6px}.sidebar{padding:0 16px}.tool-section{padding:14px 0}.tool-heading{margin-bottom:11px}.tool-heading h2{font-size:13px}.helper,.default-note{font-size:10px}.side-bottom p{font-size:10px}.counter{height:37px}.direction-controls button,.placement,.upload{height:37px}.action-bar{padding:12px 24px}.action-bar button{height:42px;font-size:12px}.progress input{width:190px}.drawing-bar strong{font-size:13px}.drawing-bar #selection-summary{font-size:12px}.drawing-status{font-size:11px}.one-screen{font-size:10px}.side-title>span{font-size:14px}.side-title small{font-size:10px}}
@media(max-width:1400px){.workspace{grid-template-columns:minmax(0,1fr) 275px;gap:10px;padding:10px 12px}.systems{padding-left:12px;padding-right:12px}#system-groups{gap:8px}.system-card .card-name{font-size:10px}.system-cards{gap:4px}.system-card canvas{width:52px}.action-bar{padding:9px 12px;gap:8px}.action-bar button{padding:0 9px;font-size:11px}.footer-label{display:none}.progress input{width:100px}.view-note{font-size:9px}.sidebar{padding:0 12px}.tool-section{padding:8px 0}.side-title{height:38px}.side-bottom{padding:7px;margin-bottom:8px}.drawing-status .one-screen{display:none}}
@media(min-width:1401px){.tool-heading h2{font-size:14px}.placement>strong,.upload,.analyze,.direction-controls button,.joinery-add{font-size:12px}.helper,.default-note{font-size:11px}.tool-heading{margin-bottom:10px}.system-card .card-name{font-size:12px}.side-bottom p{font-size:11px}.action-bar button{font-size:14px}.drawing-status{font-size:11px}.drawing-bar strong{font-size:14px}.drawing-bar #selection-summary{font-size:12px}.counter output{font-size:20px}.text-button{font-size:11px}}
@media(max-height:950px){.side-bottom{display:none}.tool-section{padding:8px 0}.tool-heading{margin-bottom:6px}.side-title{height:36px}}
@media(max-height:800px){.tool-section{padding:6px 0}.tool-heading{margin-bottom:5px}.helper{font-size:9px;line-height:1.35}.default-note{font-size:9px}.counter{height:33px}.direction-controls button,.placement,.upload{height:34px}}
@media(max-height:740px){.application{grid-template-rows:52px 108px minmax(0,1fr) 64px}.systems{padding-top:7px;padding-bottom:7px}.system-cards{height:65px}.system-card canvas{height:23px}.workspace{padding-top:8px;padding-bottom:8px}.drawing{grid-template-rows:34px minmax(0,1fr) 27px}.side-title{height:30px}.tool-section{padding:5px 0}.helper,.default-note{display:none}.tool-heading{margin-bottom:5px}.side-title small{display:none}.action-bar button{height:36px}}

/* Live workspace integrations; main document never scrolls on desktop. */
.product-canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:2}#product{display:none}#corners{position:absolute;inset:0;z-index:45;pointer-events:none}.corner{pointer-events:auto}#foreground-overlay{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.photo-badge{pointer-events:none}#empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#6a879b;padding:20px}#empty>span{font-size:54px;color:#8eb3c8}#empty strong{font-size:20px;margin-top:9px;color:#28536f}#empty p{font-size:13px;margin:8px 0 18px}#empty button{padding:9px 24px;background:#087bc4;color:white;border-color:#087bc4}.more-tools{font-size:11px;margin:0 0 8px;background:#f4f9fc;min-height:28px;flex-shrink:0}.tool-section{flex-shrink:0}#photo-review{position:fixed;z-index:70;left:50%;top:50%;transform:translate(-50%,-50%);width:min(420px,calc(100vw - 28px));padding:24px;background:white;border:1px solid #b7cfdf;border-radius:13px;box-shadow:0 15px 70px #12344c55}#photo-review p{font-size:13px}#photo-review button{padding:8px 12px;margin:4px 4px 0 0}#review-apply{background:#087bc4;color:white}#tools-panel{position:fixed;z-index:65;right:24px;top:200px;bottom:90px;width:360px;max-width:calc(100vw - 30px);background:white;border:1px solid #bdd4e3;border-radius:12px;box-shadow:0 10px 40px #0e33453b;overflow:auto;padding:12px}#tools-panel>header,.joinery-dialog-bar{display:flex;align-items:center;justify-content:space-between;gap:10px}#tools-panel button{font-size:11px;padding:6px 8px}#face-tabs,.face-options{display:flex;gap:5px;flex-wrap:wrap;margin-top:8px}#face-tabs button[aria-pressed=true],.face-options button[aria-pressed=true]{background:#087bc4;color:#fff}.joinery-controls{padding:10px;border:1px solid #ccdde6;border-radius:8px;margin-top:10px}.joinery-controls summary{cursor:pointer;font-size:12px;font-weight:650}.joinery-controls p{font-size:11px}.joinery-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}.joinery-grid>div{display:grid;gap:6px;padding:8px;background:#f1f6f9;border-radius:7px;min-width:0}.joinery-grid label{font-size:11px}.joinery-grid input[type=number]{width:100%;font-size:12px;border:1px solid #c5d9e6;border-radius:5px;padding:5px}.joinery-grid .check{display:flex;gap:5px;align-items:center}#joinery-dialog,#detail-dialog{padding:0;border:1px solid #bccdd7;border-radius:12px;width:min(1080px,96vw);height:90dvh;max-width:none;max-height:none}#joinery-dialog::backdrop,#detail-dialog::backdrop{background:#0f293db3}#joinery-dialog[open],#detail-dialog[open]{display:flex;flex-direction:column;overflow:hidden}.joinery-dialog-bar{padding:10px;border-bottom:1px solid #ccdce5}#joinery-frame{border:0;width:100%;flex:1;min-height:0}#detail-dialog{padding:14px;overflow:auto!important}#hide-cleaning-detail{align-self:end}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.detail-card{margin:0;min-width:0}.detail-view{position:relative;aspect-ratio:1.35;background:#e0edf4}.detail-view canvas,.detail-view svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.detail-card figcaption{padding:8px;font-size:12px;display:flex;justify-content:space-between}.detail-notice{padding:30px}.detail-travel{stroke:#e7a42a;stroke-width:7;stroke-dasharray:12 7;fill:none}.detail-fixed{fill:#0694b7;stroke:white;stroke-width:4}.detail-closed{stroke:#6996a6;stroke-width:4;stroke-dasharray:9 9;fill:none}.detail-heading h2{font-size:16px}.detail-heading p,.detail-legend{font-size:12px}#show-cleaning-detail{position:fixed;left:30px;bottom:94px;z-index:8;padding:4px 10px;font-size:11px}#recording-status{position:fixed;z-index:90;bottom:94px;left:50%;transform:translateX(-50%);padding:15px;background:white;border:1px solid #bed3df;border-radius:10px;box-shadow:0 5px 25px #12344c44;display:flex;align-items:center;gap:12px}#recording-status progress{width:180px}#recording-status strong{font-size:12px}#recording-status a{font-size:12px;color:#0671ab}#outline{z-index:35}#point-markers{z-index:46}.point{padding:0;min-height:14px;width:14px;height:14px;pointer-events:auto;cursor:grab;touch-action:none}
@media(max-height:800px){.more-tools{margin-bottom:4px;min-height:25px;font-size:10px}#tools-panel{top:170px;bottom:78px}}
@media(max-width:850px){html,body{height:auto;min-height:100%;overflow:auto}.application{height:auto;min-height:100dvh;display:flex;flex-direction:column}.app-header{height:54px;padding:0 12px;gap:8px}.brand img{width:80px}.brand{gap:8px}.brand>span,.brand small,.draft,.help{display:none}.brand strong{font-size:13px}.systems{height:auto;padding:9px}#system-groups{display:flex;overflow-x:auto;gap:10px;padding-bottom:5px}.system-group{flex:0 0 auto}.system-cards{grid-template-columns:repeat(var(--count),84px);height:76px}.workspace{display:flex;flex-direction:column;padding:9px;gap:9px}.drawing{height:52dvh;min-height:300px;flex-shrink:0}.sidebar{padding:0 12px;overflow:visible}.side-title{height:35px}.tool-section{padding:9px 0}.helper,.default-note{display:block}.side-bottom{display:none}.tool-heading h2{font-size:13px}.action-bar{position:sticky;bottom:0;z-index:55;padding:8px;display:flex;flex-wrap:wrap;gap:6px}.motion-group,.export-group{width:100%;justify-content:space-between;gap:5px}.action-bar button{font-size:11px;padding:0 7px;height:34px}.progress input{width:55px}.action-bar .primary{padding:0 10px}.drawing-bar{padding:0 9px}.drawing-bar #selection-summary{font-size:10px}.view-note{display:none}.drawing-status{font-size:10px}.one-screen{display:none}#tools-panel{top:70px;right:8px;bottom:105px;width:calc(100vw - 16px)}#show-cleaning-detail{position:static;margin:5px 12px}#recording-status{bottom:110px;max-width:94vw;flex-wrap:wrap}#recording-status progress{width:120px}.detail-grid{grid-template-columns:1fr}}
@media(min-width:851px) and (max-height:680px){.application{grid-template-rows:46px 92px minmax(0,1fr) 56px}.app-header{padding:0 14px}.brand img{height:32px}.systems{padding-top:5px;padding-bottom:5px}.group-heading{height:13px;margin-bottom:4px}.system-cards{height:60px}.system-card canvas{height:21px}.workspace{padding-top:6px;padding-bottom:6px}.drawing{grid-template-rows:30px minmax(0,1fr) 24px}.side-title{height:26px}.tool-section{padding:4px 0}.tool-heading{margin-bottom:3px}.tool-heading h2{font-size:11px}.step{height:16px;width:16px}.upload,.placement,.direction-controls button,.joinery-add{height:28px;min-height:28px}.counter{height:29px}.counter button{height:27px;min-height:27px}.analyze{height:26px;min-height:26px;margin-top:5px}.more-tools{height:23px;min-height:23px;margin-bottom:4px}.text-button{min-height:28px}.action-bar{padding-top:7px;padding-bottom:7px}.action-bar button{height:34px;min-height:34px}}
/* Independent saved sections and compact colour strip. */
.application{grid-template-rows:56px 112px 44px minmax(0,1fr) 66px}.application.multiple-sections{grid-template-rows:56px 112px 44px minmax(0,1fr) 110px}#system-groups{grid-template-columns:6fr 4fr 4fr}.systems{padding-top:8px;padding-bottom:8px}.system-cards{height:76px}.system-card .card-name{font-size:11px}.group-heading{height:15px;margin-bottom:4px}.materials-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:4px 24px;background:#fff;border-bottom:1px solid #d2e1ea;min-width:0}.material-group{display:flex;align-items:center;gap:8px;min-width:0}.material-group>strong{font-size:11px;white-space:nowrap}.material-group>span{font-size:10px;color:#698296;white-space:nowrap}.material-group>div{display:flex;gap:5px;align-items:center;min-width:0}.color-swatch{width:23px;height:23px;min-height:23px;border:2px solid white;outline:1px solid #c1d3de;border-radius:5px;background:var(--swatch);padding:0}.color-swatch[aria-pressed=true]{outline:2px solid #0c8dcc;box-shadow:0 0 0 2px #eef8fc}.glass-swatch{font-size:10px;min-height:27px;height:27px;padding:0 8px;background:linear-gradient(120deg,#ffffffc7,var(--swatch));color:#20455c}.glass-swatch[aria-pressed=true]{border:2px solid #0c8dcc;background:var(--swatch)}#color-catalog{font-size:10px;min-height:27px;height:27px;padding:0 8px}.drawing{grid-template-rows:39px 35px minmax(0,1fr) 32px}.sections-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:3px 10px;border-bottom:1px solid #dce8ef;min-width:0}.sections-toolbar button{height:27px;min-height:27px;font-size:11px;padding:0 10px;white-space:nowrap}#section-tabs{display:flex;gap:5px;min-width:0;overflow-x:auto;scrollbar-width:thin}#section-tabs button[aria-pressed=true]{background:#087bc4;border-color:#087bc4;color:white}#section-add{flex-shrink:0;background:#edf7fc;color:#0876b3}#section-name{width:100%;height:27px;margin-top:7px;border:1px solid #ccdde7;border-radius:6px;padding:3px 8px;font-size:11px}.section-actions{display:grid;grid-template-columns:1.2fr 1fr .7fr;gap:5px;margin-top:6px}.section-actions button{height:29px;min-height:29px;font-size:11px;padding:0 5px}#section-save{background:#087bc4;color:white;border-color:#087bc4}#section-delete{color:#aa3c39;background:#fff8f7;border-color:#ead0cc}.value-fields{display:grid;grid-template-columns:85px minmax(0,1fr);gap:10px;min-width:0}.value-fields .tool-heading .step,.value-fields .default-note{display:none}.value-fields .tool-heading h2{font-size:12px}.value-fields .counter{grid-template-columns:24px minmax(0,1fr) 24px;height:32px}.value-fields .counter output{font-size:16px;gap:3px}.value-fields .counter small{font-size:9px}.value-fields .direction-controls{gap:3px}.value-fields .direction-controls button{font-size:10px;padding:0 3px;height:32px;min-height:32px}.value-fields .direction-controls span{display:none}#clean-section{width:100%;font-size:10px;min-height:30px;height:30px;background:#eef8fc}#lift-note{display:none!important}.joinery-section .helper{display:none}.sidebar .side-bottom{display:none}.sidebar .tool-section{padding:9px 0}.sidebar .side-title{height:36px}.sidebar .tool-heading{margin-bottom:6px}.sidebar .placement,.sidebar .upload{height:33px;min-height:33px}.sidebar .analyze{height:28px;min-height:28px;margin-top:5px}.more-tools{margin-top:6px;min-height:27px;flex-shrink:0}.workspace-footer{background:white;min-height:0;min-width:0;border-top:1px solid #d2e0e9;display:flex;flex-direction:column;overflow:hidden}.workspace-footer .action-bar{border:0;box-shadow:none;flex:1;min-height:56px}.workspace-footer .action-bar button{font-size:12px;height:36px;min-height:36px}#section-playback{display:flex;gap:8px;padding:6px 24px 2px;overflow-x:auto;scrollbar-width:thin;flex:0 0 44px;min-width:0}.section-motion{display:flex;align-items:center;gap:4px;border:1px solid #c9dde9;border-radius:8px;padding:3px 6px;background:#f6fafc;flex-shrink:0}.section-motion button{height:25px;min-height:25px;padding:0 8px;font-size:11px}.section-motion .section-motion-title{border:0;background:transparent;color:#315d77;font-weight:700;max-width:160px;overflow:hidden;text-overflow:ellipsis}.workspace-footer .footer-label{display:none}.workspace-footer .progress input{width:110px}#show-cleaning-detail{bottom:76px}.multiple-sections #show-cleaning-detail{bottom:120px}#color-dialog{width:min(840px,94vw);height:min(620px,88dvh);max-height:88dvh;border:1px solid #b6d0df;border-radius:12px;padding:16px;color:#20455c}#color-dialog::backdrop{background:#122f467d}#color-dialog header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}#color-dialog button{font-size:12px}#color-search{width:100%;padding:8px;border:1px solid #c4d8e5;border-radius:7px;margin-bottom:12px}#color-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(80px,1fr));gap:8px}#color-grid button{display:flex;flex-direction:column;align-items:center;gap:4px;padding:5px}#color-grid i{display:block;width:100%;height:40px;border-radius:5px}#color-grid span{font-size:11px}
@media(min-width:851px) and (max-height:800px){.application{grid-template-rows:46px 98px 38px minmax(0,1fr) 58px}.application.multiple-sections{grid-template-rows:46px 98px 38px minmax(0,1fr) 98px}.materials-bar{padding:3px 12px;gap:12px}.materials-bar .material-group{gap:6px}.sidebar .side-title{height:28px}.sidebar .tool-section{padding:5px 0}.sidebar .tool-heading{margin-bottom:4px}.sidebar .tool-heading h2{font-size:11px}.sidebar .placement,.sidebar .upload{height:28px;min-height:28px}.sidebar .analyze{height:25px;min-height:25px;margin-top:4px}#section-name{margin-top:5px;height:25px}.section-actions{margin-top:5px}.section-actions button{height:26px;min-height:26px;font-size:10px}.value-fields{gap:8px}.value-fields .counter,.value-fields .direction-controls button{height:28px;min-height:28px}.value-fields .counter button{min-height:26px}.sidebar .joinery-add{height:28px;min-height:28px}.more-tools{margin-top:4px;min-height:24px;font-size:10px}.drawing{grid-template-rows:32px 32px minmax(0,1fr) 26px}.workspace-footer .action-bar{min-height:54px;padding:7px 12px}.workspace-footer .action-bar button{font-size:11px}.glass-swatch{font-size:10px;padding:0 6px}.color-swatch{width:21px;height:21px;min-height:21px}.material-group>span{display:none}.system-cards{height:64px}#section-playback{padding:4px 12px 2px;flex-basis:40px}}
@media(min-width:851px) and (max-height:680px){.application{grid-template-rows:42px 86px 34px minmax(0,1fr) 54px}.application.multiple-sections{grid-template-rows:42px 86px 34px minmax(0,1fr) 91px}.system-cards{height:56px}.system-card canvas{height:18px}.system-card .card-name{font-size:9px}.sidebar .side-title{height:25px}.sidebar .tool-section{padding:4px 0}.sidebar .tool-heading{margin-bottom:3px}.sidebar .placement,.sidebar .upload{height:26px;min-height:26px}.sidebar .analyze{height:24px;min-height:24px}.sidebar .text-button{min-height:26px}.sidebar .joinery-add{height:26px;min-height:26px}.more-tools{height:22px;min-height:22px;margin-top:3px}.value-fields .tool-heading h2{font-size:10px}.value-fields{gap:6px}.workspace-footer .action-bar{min-height:50px;padding:5px 12px}.workspace-footer .action-bar button{height:32px;min-height:32px}#section-playback{flex-basis:37px}.section-motion button{height:23px;min-height:23px}.drawing{grid-template-rows:30px 30px minmax(0,1fr) 24px}.materials-bar .material-group{gap:5px}.materials-bar .material-group>strong{font-size:10px}.glass-swatch{height:24px;min-height:24px}.color-swatch{height:20px;min-height:20px;width:20px}}
@media(max-width:850px){.application,.application.multiple-sections{display:flex;height:auto}.materials-bar{flex-direction:column;align-items:start;height:auto;padding:8px 10px;gap:8px}.material-group{width:100%;gap:6px}.material-group>strong{font-size:11px;min-width:58px}.material-group>span{display:none}.material-group>div{overflow-x:auto}.color-swatch{flex-shrink:0}.glass-swatch{flex-shrink:0;padding:0 7px}#color-catalog{flex-shrink:0}.workspace-footer{position:sticky;bottom:0;z-index:55;overflow:visible}.workspace-footer .action-bar{position:static;min-height:86px;flex-wrap:wrap}.workspace-footer .motion-group,.workspace-footer .export-group{width:100%}#section-playback{max-width:100vw;flex-basis:41px;padding:5px 9px}.drawing{grid-template-rows:36px 34px minmax(0,1fr) 28px;height:52dvh}.sidebar .tool-section{padding:9px 0}.value-fields{grid-template-columns:100px minmax(0,1fr)}#show-cleaning-detail{position:static}.section-actions button{height:32px;min-height:32px}}
@media(min-width:851px) and (max-height:680px){.sidebar .tool-section{padding:3px 0}.sidebar .side-title{height:24px}.more-tools{margin-top:2px}}
@media(min-width:851px) and (max-height:620px){.application{grid-template-rows:38px 78px 32px minmax(0,1fr) 54px}.application.multiple-sections{grid-template-rows:38px 78px 32px minmax(0,1fr) 91px}.systems{padding:4px 12px}.system-cards{height:50px}.system-card{padding:2px;gap:1px}.system-card canvas{height:16px}.system-card .card-name{min-height:22px;font-size:9px}.group-heading{height:12px;font-size:9px;margin-bottom:3px}}
.clean-buttons{display:grid;grid-template-columns:1fr 1fr;gap:4px}#show-cleaning-detail{position:static!important;inset:auto!important;margin:0!important;width:100%;height:30px;min-height:30px;font-size:9px;padding:0 4px}.clean-buttons #clean-section{font-size:9px;padding:0 4px;height:30px;min-height:30px}
