/* Only staging controls; accepted styles and drawing geometry remain separate and unchanged. */
.staging-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:14px 0}
.staging-actions input{max-width:100%;min-width:0;flex:1}
.staging-actions button svg{width:18px;height:18px}
.staging-table{max-width:100%;overflow-x:auto}
.staging-record{border:0;background:none;color:#096b72;cursor:pointer;text-align:start;overflow-wrap:anywhere}
.login-card{max-width:700px;margin:32px auto}
#flash{position:static;max-width:100%;overflow-wrap:anywhere;margin-bottom:12px;color:#9e3535}
#modal{max-width:min(640px,94vw);max-height:90vh;overflow:auto}
#modal textarea{display:block;width:100%;min-height:100px;margin:12px 0}
*{letter-spacing:0}
.brand>div{min-width:0}.brand small{white-space:normal;overflow-wrap:anywhere;line-height:1.5}.brand-mark{flex-shrink:0}
@media(max-width:700px){.app-shell{display:block}.sidebar{position:static;width:100%;min-height:0;height:auto}.sidebar nav{display:flex;flex-wrap:wrap;gap:4px}.sidebar nav button{width:auto;white-space:normal}.brand{margin-bottom:10px}.side-note{position:static}main{min-width:0;padding:12px!important}header{flex-wrap:wrap;gap:8px}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:1}.login-card{margin:16px 0}.staging-table td{overflow-wrap:anywhere}}
@media(max-width:900px){.sidebar nav button{font-size:13px;height:auto}.sidebar nav button:after{content:none}.side-note{font-size:11px}}
@media(max-width:700px){main{width:100%}.sidebar nav button{padding:8px}.brand{padding-bottom:8px}.side-note{padding-top:6px;margin-top:8px}h1{font-size:24px}}

#drawing-preview,[data-view="project-drawing"]{display:none!important}
