/* Shared containment prevents wide tables and diagrams from stretching the page. */
.main,.workspace-grid>*,.form-two>*,.project-detail-grid>*,.compare-grid>*,.projects-grid>*,.card,.field,.budget-page,.floor-panel,.budget-readonly{min-width:0}
.main,.client-main{overflow-wrap:anywhere}
.table-wrap,.cost-table-wrap,.versions{max-width:100%;overscroll-behavior-x:contain}
.scroll-hint{display:none}
.budget-view .canvas-toolbar>.row .iconbtn{display:none}
.canvas.floor-canvas{height:auto;display:block}
.nav[aria-current="page"]{color:var(--primary)}
.modal-head h2{min-width:0;overflow-wrap:anywhere}.modal-head .iconbtn{flex-shrink:0}
.modal{max-height:calc(100dvh - 48px)}
.plan-preview .floor-drawing{height:auto;overflow-x:auto;overscroll-behavior-x:contain}
.plan-preview .floor-drawing svg{display:block;width:100%;min-width:600px;height:auto}
.plan-preview .modal-body{padding:0}.plan-preview .floor-caption{flex-wrap:wrap}
.zoom-hint{font-size:12px;color:var(--muted);padding:12px 20px;background:var(--surface-soft)}
@media(max-width:1180px){
 .header-user{display:none}.header .brand{min-width:140px}.header .switch button{min-height:36px}
 .workspace-head{align-items:flex-start;flex-wrap:wrap}.workspace-head>.row{flex-wrap:wrap}
 .workspace-grid{grid-template-columns:minmax(0,1fr)}.ai-panel{position:static}.ai-body{display:grid;grid-template-columns:1fr 1fr;gap:20px}.ai-input{margin:0}
 .cost-overview{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,1fr);gap:14px;padding:22px}
 .cost-total{font-size:30px}.cost-overview strong{font-size:16px}.cost-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
 .budget-parameters{gap:18px}.cost-bottom{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}
 .scroll-hint{display:block;font-size:11px;color:var(--muted);margin:8px 0;text-align:right}
 .cost-table{font-size:12px}.cost-table td small{font-size:10px}
 .projects-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.project-detail-grid{grid-template-columns:minmax(0,1fr)}
 .project-table th,.project-table td{padding:16px}.project-table .btn{min-height:44px}
 .client-header{padding:18px 24px}.client-header .brand{min-width:0}.client-main{max-width:970px}
 .btn,.text-btn,.pill-button,.prompt-chip,.floor-switch button,.tab{min-height:44px;touch-action:manipulation}
 .iconbtn{min-width:44px;min-height:44px;touch-action:manipulation}
 .input,select,textarea{font-size:16px;min-height:44px}.field small{font-size:11px}
 .check-chip,.scope label,.review-check{min-height:44px}.check-chip{font-size:12px}
 .cost-total-list input{min-height:40px;font-size:16px;width:66px}
 .compare-info>.row{flex-wrap:wrap}
}
@media(min-width:768px) and (max-width:1100px){
 .sidebar{width:96px;padding:20px 8px;overflow-y:auto}.side-label,.side-tip,.side-foot,.side-separator{display:none}
 .nav{flex-direction:column;justify-content:center;gap:6px;padding:12px 4px;min-height:64px;margin-bottom:8px;font-size:12px}.nav span{display:block}.nav .count{display:none}.nav svg{width:21px;height:21px}
 .main{margin-left:96px;padding:100px 24px 32px}.hero h1{font-size:28px}.hero-copy{padding:28px 0 26px 24px}
 .form-two{grid-template-columns:minmax(0,1fr)}.helper-card{display:none}
 .form-grid{gap:0 20px}.field{margin-bottom:22px}.field>label{font-size:13px}
 .floor-drawing{height:430px}.floor-toolbar small,.floor-caption{font-size:12px}.floor-switch button{padding:10px 18px;font-size:14px}
 .canvas-toolbar{padding:12px 20px}.tab{font-size:14px}.canvas{height:380px}
 .quick-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.quick-card{display:block}.quick-icon{margin-bottom:10px}.quick-card h3{font-size:13px}.quick-card p{font-size:11px}
 .stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.biz-hero{align-items:flex-start;gap:16px;flex-wrap:wrap}
 .cost-bottom{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:767px){
 body{font-size:14px}.header{height:calc(64px + env(safe-area-inset-top));padding:env(safe-area-inset-top) max(16px,env(safe-area-inset-right)) 0 max(16px,env(safe-area-inset-left));gap:8px}
 .header .brand{min-width:0;gap:8px}.brandmark{width:32px;height:32px}.brand strong{font-size:21px}.brand small,.brand-sub,.header-user,.header .avatar,.header>.iconbtn,.header .demo-chip,.header .spacer{display:none}
 .switch{margin-left:auto;flex-shrink:0}.header .switch button{min-height:38px;padding:7px 12px;font-size:12px}
 .sidebar{top:auto;bottom:0;left:0;right:0;width:auto;height:calc(72px + env(safe-area-inset-bottom));padding:5px max(8px,env(safe-area-inset-right)) calc(5px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));display:flex;flex-direction:row;justify-content:space-around;border-right:0;border-top:1px solid var(--line);background:#26334df5;backdrop-filter:blur(14px)}
 .sidebar .nav,.sidebar .nav.extra{display:flex;flex:1;flex-direction:column;justify-content:center;gap:5px;padding:7px 2px;margin:0;min-width:0;font-size:11px;line-height:1.2;border-radius:8px;min-height:54px}.nav span{display:block;white-space:nowrap}.nav svg{height:21px;width:21px}.nav .count,.side-label,.side-tip,.side-foot,.side-separator{display:none}
 .main{margin-left:0;padding:calc(84px + env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) calc(96px + env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));min-height:100dvh}
 .page-intro{align-items:flex-start;flex-wrap:wrap;gap:14px;margin-bottom:20px}.page-intro h1{font-size:23px;line-height:1.5}.page-intro p{font-size:12px}.page-intro>.eyebrow{display:none}.page-intro .btn{font-size:13px;padding:10px 14px}
 .hero{display:flex;flex-direction:column;min-height:0}.hero-copy{padding:24px 24px 0}.hero h1{font-size:29px;margin:10px 0}.hero p{font-size:12px}.hero .btn{margin-top:18px}.hero-art{position:relative;right:auto;bottom:auto;width:100%;height:230px;opacity:1;pointer-events:none}.hero-art>svg{min-height:0;max-height:none;width:100%;height:100%}.hero-tag{top:auto;bottom:12px;right:14px;left:auto;font-size:10px}.art-caption{display:none}
 .quick-grid{gap:9px}.quick-card{display:block;padding:14px 10px}.quick-icon{width:32px;height:32px;margin-bottom:10px}.quick-card h3{font-size:12px}.quick-card p,.quick-card>svg{display:none}
 .section-title{gap:12px;flex-wrap:wrap;align-items:center}.section-title h2{font-size:18px}.section-title>.small{font-size:11px}.projects-grid{grid-template-columns:minmax(0,1fr);gap:14px}
 .project-card{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}.project-art{height:100%;min-height:155px}.project-body{padding:16px 13px}.project-body h3{font-size:15px}.project-meta{font-size:12px}.project-bottom{flex-wrap:wrap;gap:5px;margin-top:10px}.project-bottom button{min-height:38px;font-size:12px}.project-art .pill{font-size:10px;left:8px}
 .journey{display:grid;grid-template-columns:1fr 1fr;padding:20px;gap:20px}.journey>svg{display:none}.journey-step h4{font-size:12px}.journey-step p{display:none}
 .breadcrumb{font-size:12px;line-height:1.8}.breadcrumb button{min-height:36px;font-size:12px}.workspace-head>.row{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.workspace-head h1{font-size:22px}.workspace-head>div:first-child{width:100%}.workspace-head>div:first-child>.row{flex-wrap:wrap}.workspace-head .btn{font-size:13px;padding:10px 8px;width:100%;min-height:44px}
 .workspace-grid{gap:16px;grid-template-columns:minmax(0,1fr)}.canvas-toolbar{gap:8px;padding:8px 12px;flex-wrap:wrap}.tabs{display:flex;flex:1;gap:14px}.tab{font-size:13px;padding:8px 0;min-height:44px}.tab.active:after{bottom:-8px}.canvas-toolbar>.row{gap:5px}.canvas-toolbar .iconbtn{width:44px;height:44px}.canvas-toolbar .iconbtn svg{width:20px;height:20px}.canvas-toolbar .pill{display:none}
 .canvas{height:290px}.canvas-footer{padding:12px;gap:8px;flex-wrap:wrap;font-size:11px}.canvas-footer .pill{font-size:10px}.ai-panel{position:static}.ai-body{display:block;padding:18px}.ai-input{margin-top:16px}.ai-title{padding:16px 18px}.chat-msg{font-size:13px}.prompt-chip{font-size:12px;padding:9px}.ai-hint{font-size:12px}.lock-list span{font-size:10px}
 .versions{gap:10px;scroll-snap-type:x proximity}.version{scroll-snap-align:start;min-width:145px}.version strong{font-size:12px}.version small{font-size:10px}.budget-summary{grid-template-columns:minmax(0,1fr)}.budget-strip strong{font-size:24px}.detail-list>div{font-size:13px;align-items:flex-start}.detail-list>div>span:first-child{flex-shrink:0}.detail-list>div>span:last-child{text-align:right}
 .floor-toolbar{padding:14px;flex-wrap:wrap;gap:12px}.floor-toolbar strong{font-size:14px}.floor-toolbar small{font-size:12px}.floor-switch{width:100%;gap:5px}.floor-switch button{flex:1;min-height:44px;padding:10px 4px;font-size:14px}.floor-switch button span{font-size:12px}.floor-drawing,.client-main .floor-drawing{height:auto;aspect-ratio:480/400}.floor-drawing svg{display:block;height:100%;width:100%}.floor-caption{display:block;padding:12px 14px;font-size:11px;line-height:1.8}.floor-caption span{display:block}
 .budget-detailed{padding:20px 14px}.budget-detailed h2{font-size:19px}.budget-detailed>.row{gap:12px}.budget-detailed>.row>.row{width:100%;display:flex;flex-wrap:wrap}.budget-detailed>.row>.row .btn{flex:1}.budget-personal .budget-parameters,.budget-parameters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px;padding:16px}.budget-parameters>div small,.budget-parameters label{font-size:12px}.budget-parameters>div strong{font-size:13px}.budget-parameters label{min-width:0}.budget-parameters select{font-size:16px;min-height:44px;max-width:100%}
 .structure-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.structure-option{padding:14px 12px;min-height:85px}.structure-option span{font-size:15px}.structure-option small{font-size:11px;line-height:1.5;padding-right:10px}.structure-option>.icon{right:9px;top:16px}
 .cost-overview{grid-template-columns:repeat(2,minmax(0,1fr));padding:18px;gap:16px}.cost-overview>div:first-child{grid-column:1/-1;border-bottom:1px solid var(--line);padding-bottom:13px}.cost-overview span{font-size:12px}.cost-overview p{font-size:11px;line-height:1.6}.cost-overview strong{font-size:14px}.cost-total{font-size:clamp(24px,7.4vw,34px);line-height:1.8}.cost-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.cost-stats>div{padding:13px 10px}.cost-stats span{font-size:12px}.cost-stats strong{font-size:14px}
 .budget-detailed .section-title{align-items:flex-start;gap:8px}.budget-detailed .section-title h3{font-size:16px}.budget-detailed .section-title>span{font-size:10px;max-width:none;text-align:left}.cost-bottom{grid-template-columns:minmax(0,1fr);gap:18px}.cost-total-list{padding:18px}.cost-total-list>div{font-size:13px}.budget-source{font-size:10px;align-items:flex-start;text-align:left}.budget-readonly summary{font-size:13px;min-height:44px;padding:8px 0}.budget-readonly>.row{align-items:flex-start;flex-direction:column}.budget-readonly h3{font-size:16px}
 /* Read every cost line without sideways page scrolling. */
 .scroll-hint{display:none}.cost-table-wrap{overflow:visible;border:0;border-radius:0}.cost-table{display:block;min-width:0;width:100%;font-size:13px}.cost-table thead{display:none}.cost-table tbody{display:block}.cost-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:10px 0;border:1px solid var(--line);border-radius:10px;background:var(--surface);overflow:hidden}
 .cost-table td{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:10px 13px;min-width:0;white-space:normal;text-align:left;border:0;gap:2px;max-width:none}.cost-table td::before{content:attr(data-label);display:block;color:var(--muted);font-size:11px}.cost-table td:first-child{grid-column:1/-1;max-width:none;padding:15px 13px 11px;background:var(--surface-soft);border-bottom:1px solid var(--line)}.cost-table td:first-child::before{display:none}.cost-table td:first-child strong{font-size:14px}.cost-table td small{display:inline;font-size:11px;line-height:1.5;margin:0}.cost-table td:nth-child(6){grid-column:1/-1;border-top:1px solid var(--line);background:var(--surface-soft)}.cost-table td:nth-child(6) strong{font-size:16px}.cost-table td:last-child{padding-right:13px}.cost-table td:nth-child(7){grid-column:1/-1;padding-top:0;background:var(--surface-soft)}.cost-table td:nth-child(7)::before{display:none}.cost-table td .text-btn{width:100%;border:1px solid var(--line);border-radius:7px;background:var(--surface-soft);font-size:13px}.cost-table .cost-group{display:block;margin:22px 0 9px;border:0;border-radius:0;background:none}.cost-table .cost-group:first-child{margin-top:0}.cost-group th{display:flex;justify-content:space-between;gap:12px;border:0;background:transparent;padding:4px 1px;font-size:13px}.cost-group th span{float:none!important}.cost-table .excluded td{background:var(--surface-soft)}.cost-table .excluded td::before{color:var(--muted)}
 .pad{padding:20px}.form-two{grid-template-columns:minmax(0,1fr)}.helper-card{display:none}.steps{gap:8px;margin:16px 0 24px}.step{font-size:12px;gap:6px}.step:after{display:none}.step span{flex-shrink:0;width:26px;height:26px}.field>label{font-size:13px}.form-grid{gap:0 14px}.input,select,textarea{font-size:16px;min-height:46px;padding:11px 12px}.field{margin-bottom:20px}.option-grid{gap:8px}.option{font-size:12px;padding:15px 5px;min-width:0}.check-chip{min-height:44px;font-size:12px}.summary-list{gap:16px}.summary-item strong{font-size:14px}.summary-item small{font-size:12px}.form-actions{gap:12px}.form-actions .btn{min-height:46px}
 .compare-grid{grid-template-columns:minmax(0,1fr);gap:16px}.compare-visual{height:260px}.compare-info{padding:18px}.compare-info h3{font-size:15px}.compare-info p{font-size:12px}.compare-info .btn{width:auto;min-height:44px;font-size:13px}.compare-info select{font-size:16px}.compare-info>.row{gap:12px}.diff-line{flex-wrap:wrap;font-size:13px}
 .stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stat{padding:16px}.stat h4{font-size:12px}.stat strong{font-size:27px}.stat small{font-size:10px;margin-left:6px}.biz-hero{flex-direction:column;gap:16px;padding:22px}.biz-hero h2{font-size:20px}.biz-hero p{font-size:12px}.biz-hero .btn{font-size:13px}
 .project-table,.project-table tbody{display:block;white-space:normal}.project-table thead{display:none}.project-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:14px;border-bottom:1px solid var(--line);gap:10px 14px}.project-table td{display:block;border:0;padding:0;font-size:13px;min-width:0}.project-table td::before{content:attr(data-label);display:block;color:var(--muted);font-size:11px;margin-bottom:3px}.project-table td:first-child,.project-table td:last-child{grid-column:1/-1}.project-table td:first-child strong{font-size:15px}.project-table td:first-child::before,.project-table td:last-child::before{display:none}.project-table td small{font-size:11px}.project-table td .btn{width:100%}.project-table .pill{font-size:11px;white-space:normal}.table-controls{flex-wrap:wrap}.table-wrap{overflow:visible}.project-detail-grid{grid-template-columns:minmax(0,1fr)}.project-detail-grid .row{flex-wrap:wrap}
 .main>.row:has(.search){flex-wrap:wrap}.search{flex:1;max-width:none;width:150px}.main>.row:has(.search)>.small{width:100%}
 .client-header{padding:calc(14px + env(safe-area-inset-top)) 16px 14px;gap:10px;flex-wrap:wrap}.client-header .brand{min-width:0}.client-header>.small{font-size:11px}.client-header .btn{min-height:44px;font-size:12px;padding:9px 12px}.client-main{margin:20px auto;padding:0 16px 24px}.client-cover h1{font-size:25px}.client-cover p{font-size:12px}.client-main .canvas{height:280px}.client-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.client-metrics strong{font-size:18px}.client-metrics small{font-size:12px}.client-main>.card>.row{flex-wrap:wrap}.client-actions{padding:12px 16px calc(12px + env(safe-area-inset-bottom));gap:8px}.client-actions .btn{flex:1;white-space:normal;font-size:13px;min-height:48px}
 .modal-backdrop{padding:12px;align-items:center}.modal{max-width:100%;max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));border-radius:16px;overscroll-behavior:contain}.modal-head{position:sticky;top:0;z-index:2;background:var(--surface);padding:16px;gap:10px}.modal-head h2{font-size:18px}.modal-body{padding:18px}.modal-body p{font-size:13px}.modal-foot{position:sticky;bottom:0;z-index:2;background:var(--surface);padding:14px 18px;flex-wrap:wrap}.modal-foot .btn{font-size:13px;flex:1;min-height:44px}.modal .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.modal .budget-detailed{padding:12px 0}.modal .scope label{align-items:flex-start}.modal .scope input{margin-top:5px}.structure-compare{grid-template-columns:minmax(0,1fr)}.structure-compare strong{font-size:20px}.structure-compare small{font-size:11px}
 .plan-preview .floor-drawing{aspect-ratio:auto;max-height:55dvh;overflow:auto}.plan-preview .floor-toolbar{position:relative}.plan-preview .floor-caption{font-size:11px}.zoom-hint{padding:10px 14px}
 .toast{bottom:calc(88px + env(safe-area-inset-bottom));max-width:calc(100% - 32px);width:max-content;font-size:13px}.footer-note{font-size:11px;line-height:1.8;align-items:flex-start}
}
@media(max-width:480px){.form-grid{grid-template-columns:minmax(0,1fr)}.summary-list{grid-template-columns:minmax(0,1fr)}.field .row{flex-wrap:wrap;gap:5px}.section-title>.small{width:100%}}
@media(max-width:360px){.main{padding-left:12px;padding-right:12px}.header{padding-left:12px;padding-right:12px}.header .switch button{padding:7px 8px}.brand strong{font-size:19px}.brandmark{width:29px;height:29px}.sidebar .nav{font-size:10px}.tab{font-size:12px}.tabs{gap:10px}.budget-detailed{padding:16px 10px}.cost-overview{padding:14px}.cost-stats strong{font-size:12px}.client-header>.small{display:none}}
@media(hover:none){.btn:hover,.project-card:hover,.quick-card:hover{transform:none}}
@media print{.scroll-hint,.zoom-hint{display:none}.cost-table{display:table;min-width:0}.cost-table thead{display:table-header-group}.cost-table tbody{display:table-row-group}.cost-table tr,.cost-table .cost-group{display:table-row}.cost-table td,.cost-group th{display:table-cell}.cost-table td::before{display:none}.cost-group th span{float:none}.cost-table tr,.cost-table td{break-inside:avoid}.cost-table-wrap{overflow:visible}.main,.client-main{padding:0;margin:0}.sidebar,.header{display:none}}

/* The same studio hierarchy on tablet and phone. */
@media(min-width:1600px){.create-studio{padding-top:50px;padding-bottom:30px}.create-studio h1{font-size:46px}.project-art{height:220px}}
@media(max-width:1180px){.main{padding-top:100px}.sidebar{width:190px}.main{margin-left:190px;padding-left:26px;padding-right:26px}.header .brand{min-width:140px}.create-studio h1{font-size:34px}.projects-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.project-art{height:160px}.project-body{padding:16px}.project-bottom{flex-wrap:wrap}.composer-note{display:none}.cost-total{font-size:30px}.budget-detailed h2{font-size:22px}}
@media(min-width:768px) and (max-width:1100px){.sidebar{width:96px;padding:20px 8px}.main{margin-left:96px;padding:100px 24px 32px}.nav{font-size:12px;padding:12px 4px;min-height:64px}.create-studio{padding:32px 0 20px}.create-studio h1{font-size:32px}.projects-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-next{align-items:flex-start;padding:20px}.studio-next>div{align-items:flex-start}.studio-next-icon{display:none}.workspace-head h1{font-size:24px}.cost-total{font-size:27px}.cost-overview strong{font-size:15px}}
@media(max-width:767px){
 .header{height:calc(64px + env(safe-area-inset-top));padding:env(safe-area-inset-top) max(16px,env(safe-area-inset-right)) 0 max(16px,env(safe-area-inset-left));gap:8px}.header .brand{min-width:0;gap:8px}.brandmark{width:32px;height:32px}.brand strong{font-size:21px}.header .switch button{min-height:40px;padding:8px 11px;font-size:12px}
 .sidebar{top:auto;width:auto;padding:5px max(8px,env(safe-area-inset-right)) calc(5px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));background:#fffffff5}.sidebar .nav{font-size:11px}.nav.active{background:var(--primary-soft)}
 .main{margin-left:0;padding:calc(84px + env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) calc(96px + env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}
 .studio-context{font-size:11px}.studio-context>span:last-child{display:none}.create-studio{padding:30px 0 16px;text-align:left}.studio-badge{font-size:11px}.create-studio h1{font-size:31px;letter-spacing:-1px;line-height:1.5;margin-top:12px}.create-studio h1 span{display:block}.studio-description{font-size:13px;line-height:1.8;max-width:320px}
 .idea-composer{margin-top:22px;border-radius:16px;padding:16px}.idea-composer textarea{font-size:16px;min-height:115px;height:115px;line-height:1.8}.composer-bottom{flex-wrap:wrap;gap:9px;margin-top:16px}.attachment-button{font-size:12px;min-height:44px;padding:8px}.composer-bottom>.btn{font-size:12px;min-height:44px;padding:10px 12px}.composer-bottom>.btn .icon{width:16px}.composer-note{display:none}
 .idea-presets{justify-content:flex-start;gap:7px}.idea-presets>span{width:100%;font-size:11px;margin-bottom:2px}.idea-presets button{font-size:11px;padding:8px 10px;min-height:40px;gap:5px}.idea-presets .icon{display:none}.studio-demo{font-size:10px;line-height:1.7;margin-top:13px}
 .section-title{margin-top:26px;margin-bottom:14px;gap:10px}.section-title h2{font-size:20px}.section-kicker{font-size:9px}.section-title .text-btn{font-size:12px;min-height:44px}.projects-grid{grid-template-columns:minmax(0,1fr);gap:16px}
 .project-card{display:block}.project-art{height:200px;min-height:0}.project-art svg{transform:scale(1)}.project-body{padding:18px}.project-body h3{font-size:16px}.project-meta{font-size:12px}.project-bottom{flex-wrap:nowrap;font-size:11px;padding-top:11px;margin-top:14px}.project-bottom button{min-height:40px}
 .studio-next{padding:20px;display:block;margin-top:20px}.studio-next>div{align-items:flex-start;gap:10px}.studio-next-icon{display:none}.studio-next h3{font-size:15px}.studio-next p{font-size:12px}.studio-next>.btn{margin-top:15px;width:100%}
 .page-intro h1,.workspace-head h1{font-size:23px}.page-intro p{font-size:12px}.page-intro .btn{font-size:13px}.btn,.btn.sm{min-height:44px}.pad{padding:20px}.input,select,textarea{font-size:16px}.field>label{font-size:13px}.note{font-size:12px}.steps{gap:7px}.step{font-size:11px}
 .canvas-toolbar{padding:8px 12px}.tabs{gap:14px}.tab{font-size:13px}.canvas-footer{font-size:11px}.ai-title,.ai-body{padding:18px}.ai-input textarea{font-size:16px}.floor-switch button{font-size:14px}.floor-toolbar small,.floor-caption{font-size:11px}
 .budget-detailed h2{font-size:20px}.budget-detailed{padding:20px 14px}.cost-overview{padding:17px}.cost-total{font-size:clamp(24px,7.4vw,34px)}.cost-stats strong{font-size:14px}.cost-overview>div:first-child{border-color:#d7e0ff}.cost-table td:first-child{background:var(--surface-soft)}.cost-table td:first-child strong{font-size:14px}.cost-table td{font-size:13px}.cost-table td::before,.cost-table td small{color:var(--muted)}.cost-table td:nth-child(6),.cost-table td:nth-child(7){background:var(--surface)}.cost-group th{background:transparent;color:var(--ink)}.cost-table td .text-btn{background:var(--primary-soft);border-color:#dce4ff}.cost-table .excluded strong{color:var(--subtle)}
 .budget-parameters>div small,.budget-parameters label{font-size:11px}.budget-parameters select{font-size:16px}.budget-parameters>div strong{font-size:13px}.budget-personal .budget-parameters{gap:16px;padding:16px}.cost-total-list input{font-size:16px}.cost-total-list>div{font-size:13px}
 .stat{padding:18px}.stat strong{font-size:28px}.stat h4{font-size:12px}.biz-hero{padding:22px}.biz-hero h2{font-size:23px}.biz-hero p{font-size:12px}.project-table td:first-child strong{font-size:15px}.project-table td::before{color:var(--muted)}.project-table td{font-size:13px}
 .modal-head{padding:16px}.modal-head h2{font-size:18px}.modal-body{padding:18px}.modal-foot{padding:14px 18px}.modal-body p{font-size:13px}.modal .plan-preview .modal-body{padding:0}
 .client-budget-amount{font-size:23px}.client-header{padding:calc(14px + env(safe-area-inset-top)) 16px 14px}.client-main{padding:0 16px 24px}.client-metrics strong{font-size:18px}.footer-note{font-size:10px;line-height:1.8}
}
@media(max-width:360px){.create-studio h1{font-size:28px}.idea-composer{padding:13px}.composer-bottom{gap:6px}.attachment-button{padding:8px 6px;font-size:11px}.composer-bottom>.btn{padding:10px;font-size:11px}.brand strong{font-size:19px}.header .switch button{padding:8px}.project-bottom{flex-wrap:wrap}.cost-stats strong{font-size:12px}.tabs{gap:10px}.tab{font-size:12px}.sidebar .nav{font-size:10px}}

