html,body{width:100%;max-width:100%;margin:0}
*,*::before,*::after{box-sizing:border-box}
.workspace,.main-shell,.main-content,.dashboard-grid,.panel,.metric,.page-heading,.page-heading>div,.toolbar,.kanban,.kanban-column,.assistant-layout,.assistant-panel,.chat-messages,.context-card,.demo-grid,.demo-business,.form-grid,.form-stack,.line-pickers,.estimate-line,.login-layout,.login-side,.login-card{min-width:0;max-width:100%}
.main-content{width:100%}.dashboard-grid{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)}
.table-wrap{display:block;width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.table-wrap table{width:100%;max-width:none}.heading-actions,.hero-actions,.form-actions,.demo-actions,.filter-group{flex-wrap:wrap;max-width:100%}
.page-heading h1,.business-card strong,.demo-business h2,.job-card h3,.mini-job strong,.attention-card strong,.context-card h3,.chat-bubble p{overflow-wrap:anywhere}
.form-grid>*{min-width:0}.form-stack input,.form-stack textarea,.form-stack select,.search-box,.search-box input{min-width:0;max-width:100%}
img,video,canvas{max-width:100%;height:auto}.quote-sum{flex-wrap:wrap}.modal{width:min(34rem,calc(100vw - 1rem));max-width:calc(100vw - 1rem)}.modal-wide{width:min(54rem,calc(100vw - 1rem))}
@media(max-width:960px){.dashboard-grid{grid-template-columns:minmax(0,1fr)}.assistant-layout{grid-template-columns:minmax(0,1fr)}}
@media(max-width:720px){.main-shell{width:100%;margin-left:0}.main-content{padding:1.25rem .875rem}.topbar{width:100%;gap:.5rem}.topbar-right{gap:.35rem}.breadcrumb{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.page-heading{align-items:flex-start}.heading-actions{width:100%;gap:.5rem}.heading-actions .btn{margin-top:0}.hero-copy{width:100%;max-width:100%}.hero-visual{display:none}.status-summary{gap:.4rem;grid-template-columns:repeat(4,minmax(0,1fr))}.summary-item{min-width:0;padding-left:.4rem}.mini-job>span:nth-child(2){min-width:0;flex:1}.mini-job .badge{white-space:normal;text-align:center;max-width:6.5rem}.attention-card{width:calc(100% - 2rem);min-width:0}.attention-card>span:nth-child(2){min-width:0;flex:1}.toolbar{display:flex;flex-wrap:wrap;min-width:0}.tabs{width:100%;min-width:0;flex-wrap:wrap}.tab{white-space:normal}.filter-group{width:100%;gap:.5rem}.search-box{width:100%}.board-toolbar{flex-wrap:wrap}.kanban{grid-template-columns:repeat(2,minmax(0,1fr))}.kanban-column{min-width:0}.kanban-title{gap:.3rem}.kanban-title h2{overflow-wrap:anywhere}.form-actions>.btn{min-width:0;white-space:normal}.chat-bubble{width:auto;max-width:100%}.chat-form{min-width:0}.chat-form textarea{min-width:0}.prompt-grid{grid-template-columns:minmax(0,1fr)}.modal-body{padding:1rem}.line-pickers,.form-grid{grid-template-columns:minmax(0,1fr)}.estimate-line{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 2rem}.estimate-line label:first-child{grid-column:1/-1}.estimate-line input{width:100%;min-width:0}.demo-grid{grid-template-columns:minmax(0,1fr)}.workspace-footer{overflow-wrap:anywhere}.login-layout{grid-template-columns:minmax(0,1fr)}.login-side{padding:2rem 1rem}}
@media(max-width:360px){.kanban{grid-template-columns:minmax(0,1fr)}.metric-grid{gap:.5rem}.metric{padding:.8rem}.metric>strong{font-size:1.25rem}.summary-item span{font-size:.7rem}.hero h2{font-size:1.7rem}}
