:root{--accent:#bd5e38;--accent2:#c66c43;--nav:#193d36;--blue:#26594a}
html,body{overscroll-behavior:auto}
.topbar{gap:10px;background:#173c33}.brand{min-width:0}.brand .mark{display:none}.brand b{letter-spacing:.03em}
.topbar .brand>a{color:#fff;font-size:15px;text-decoration:underline;text-underline-offset:3px}
.topActions,.designMeta{gap:5px}.topActions button{padding:0 8px}.topActions label{font-size:12px;cursor:pointer}
.handoff-label{display:inline-flex;align-items:center;color:#fff;border:1px solid #899b90;border-radius:5px;padding:6px 10px;cursor:pointer;font:600 12px/1.2 system-ui}
.handoff-label input{position:absolute;opacity:0;width:1px;height:1px}.handoff-label:focus-within{outline:2px solid white}
.shed-notice{position:fixed;bottom:12px;left:16px;z-index:70;padding:9px 15px;background:#173c33;color:white;border-radius:8px;font:14px/1.4 system-ui}
.shed-notice:empty{display:none}
@media(max-width:1100px){body .app{height:auto;min-height:100dvh;display:flex;flex-direction:column;overflow:visible}body .topbar{position:relative;padding:10px 16px;min-height:65px;display:flex;flex-wrap:wrap;height:auto}body .designMeta{margin-left:auto}body .topActions{margin-left:0;flex-wrap:wrap}body .topActions button:not(.primary){display:block}body .layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(290px,37%);min-height:75vh}body .stageWrap{position:sticky;top:0;align-self:start;height:76dvh}body .panel{position:relative;top:auto;bottom:auto;right:auto;width:auto;min-height:0}body .panel .body{max-height:65vh;overflow:auto}}
@media(max-width:730px){body .layout{display:flex;flex-direction:column}body .stageWrap{position:relative;height:52dvh;min-height:320px;width:100%;flex:none}body .panel .body{max-height:none}body .topbar .brand small{display:none}body .topbar .brand b{font-size:12px}body .topActions button{min-height:36px}body .panel{min-height:360px}body .constructionView{max-width:min(230px,55%);max-height:150px;overflow:auto}body .legend{max-width:65%}body .measureHUD{display:none}body .sourcePill{display:none}body .sideNav{bottom:65px}}
.shed-floor-plan{position:absolute;inset:0;z-index:2;display:grid;place-items:center;background-color:#f6f6ef;background-image:radial-gradient(#d5d9cc 1px,transparent 1px);background-size:18px 18px;padding:65px 2% 90px;font:14px/1.2 system-ui}
.shed-floor-plan[hidden]{display:none}.shed-floor-plan svg{width:100%;height:100%;max-height:570px}
.shed-plan-view .legend,.shed-plan-view .planTag,.shed-plan-view .stageTools,.shed-plan-view .constructionView,.shed-plan-view .constructionBadge,.shed-plan-view .sideNav{display:none!important}
.shed-plan-view .viewbar{z-index:6}.shed-plan-view .measureHUD{z-index:6;pointer-events:none}
@media(max-width:730px){.shed-floor-plan{padding:41px 0 6px}}

@media(max-width:520px){
  .stageTools{left:12px;right:auto;top:55px;gap:4px}
  body .constructionView{left:12px;top:97px;max-width:min(250px,65%);max-height:calc(100% - 170px);overflow:auto}
  .constructionBadge{left:auto;right:10px;top:99px;max-width:28%}
}
