/* Mobile refinement 6.6. Desktop styles intentionally untouched. */
@media screen and (max-width:760px){
 html{scroll-padding-top:132px;-webkit-text-size-adjust:100%}
 body{min-width:0}
 header{padding:10px 16px;gap:10px;min-height:0;height:auto;flex-wrap:wrap}
 .brand{font-size:24px}.brand .brandmark{width:48px;flex-basis:48px;height:35px}
 .brand small{font-size:11px;letter-spacing:.04em}
 .atelier-nav{position:static;transform:none;order:3;width:100%;gap:4px;padding:3px;border-radius:15px}
 .atelier-nav button{min-width:0;flex:1;min-height:44px;padding:10px 12px;font-size:15px}
 header .topactions #atelier-method{padding:10px 6px;min-height:44px;font-size:14px}
 main{width:100%;padding:18px 16px 28px;min-width:0}
 .hero{padding-top:22px;min-height:0;gap:8px}.hero h1{font-size:clamp(32px,9vw,44px);line-height:1.1;margin:20px 0}
 .hero .lead{font-size:16px;line-height:1.65;margin:20px 0}.hero .lead br{display:block}
 .hero .eyebrow{font-size:11px;letter-spacing:.08em;line-height:1.6}
 .hero-start{width:100%;min-height:54px;font-size:16px;padding:14px 20px}
 .herotags{gap:10px 16px;line-height:1.6;margin-top:20px}
 .hero .ecosystem{height:250px;min-height:0;width:100%;margin:0}
 .hero .ecosystem img{object-fit:contain;width:100%;height:100%}
 .mode-heading{display:block}.mode-heading h2{font-size:32px;line-height:1.15}.mode-heading p{font-size:15px}
 #mode-choice .mode-cards{grid-template-columns:1fr;gap:16px}
 #mode-choice .mode-card{min-height:0;padding:22px;border-radius:22px}
 #mode-choice .mode-card>strong{font-size:32px;max-width:calc(100% - 62px);margin:24px 0 16px}
 #mode-choice .mode-card .mode-art{display:flex;top:63px;right:20px;width:52px;height:60px;padding:9px}
 #mode-choice .mode-card .mode-description{max-width:100%;font-size:16px;line-height:1.6;margin-bottom:20px}
 #mode-choice .mode-card .mode-bottom{font-size:13px;gap:14px;align-items:flex-start;flex-direction:column}
 #mode-choice .mode-card .mode-bottom b{min-height:44px}
 .mode-note{font-size:15px;line-height:1.65}
 #area-switch{height:auto;min-height:44px;align-items:center}#choose-again{font-size:14px;min-height:44px}
 .business-setup>h2{font-size:34px;line-height:1.15}.business-setup>p:not(.eyebrow){font-size:16px;line-height:1.6}
 .business-profiles{grid-template-columns:1fr;gap:16px}
 .business-profiles button,.business-profiles button.selected{padding:22px 20px 8px;min-height:0}
 .business-profiles b{font-size:26px;min-height:0;margin-right:30px}
 .business-profiles small{font-size:15px;line-height:1.6;min-height:0}
 .business-profiles button>.architecture{width:100%;height:auto;max-width:280px;margin:8px auto 0;inset:auto;mask:none;-webkit-mask:none}
 #business-selection legend{font-size:28px;line-height:1.2}
 .business-checks{grid-template-columns:1fr;gap:12px}
 .scope-card{padding:18px}.scope-card h3{font-size:20px}.scope-card label{font-size:15px;line-height:1.5;min-height:48px;padding:10px 0;align-items:flex-start}
 .scope-card input[type=checkbox]{width:22px;height:22px;flex:0 0 22px;margin-top:1px;accent-color:#245b40}
 .sector-control{grid-template-columns:1fr;padding:18px;min-width:0}
 #company-profile-bar{flex-wrap:wrap;font-size:13px;gap:8px 16px;padding:12px 0}
 #company-profile-bar button{font-size:13px;min-height:44px;width:100%;margin:0;text-align:left}
 #wizard,#company-setup,#personal-area{scroll-margin-top:140px}
 #steps,.p-steps{display:flex;gap:8px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:thin;padding:12px 3px 16px;margin:0 0 20px;min-height:0;max-width:100%}
 #steps .step,.p-steps button{flex:0 0 104px;min-width:104px;min-height:88px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:8px;padding:8px 6px;scroll-snap-align:center;border-radius:14px}
 #steps .step>span,.p-steps button{font-size:14px;line-height:1.35;white-space:normal;text-align:center;color:#40594b}
 #steps .step.active,.p-steps button[aria-current=step]{background:#e2ecde!important;box-shadow:inset 0 0 0 1px #b2c8b1}
 #steps .step:not(:last-child)::after{display:none}
 #steps .step i,.p-steps i{width:32px;height:32px;flex-shrink:0}
 .mobile-step-hint{display:block;font-size:13px;line-height:1.5;color:#41604d;margin:10px 0 0}
 .formlayout,.p-layout{display:block}.formlayout>.side{display:none}
 #stepcontent .stepintro h2,.p-layout form h2{font-size:32px;line-height:1.17;letter-spacing:-.035em}
 #stepcontent .stepintro>p:not(.eyebrow),.p-intro{font-size:16px;line-height:1.65}
 .stepintro{margin-bottom:24px}.business-block{padding:0;margin:24px 0}
 .question-label,.field>label,.selectfield>label,.p-field>label{font-size:16px;line-height:1.5;gap:10px;align-items:flex-start}
 .question-number{width:28px;height:28px;min-width:28px;font-size:15px}
 .typechoices,.heating-choices,.other-heating-choices{grid-template-columns:1fr;gap:10px;margin-left:0}
 .typechoices .choice{display:grid;grid-template-columns:32px minmax(0,1fr);column-gap:12px;row-gap:6px;min-height:92px;padding:18px 42px 18px 16px;align-items:center}
 .typechoices .choice>.icon{grid-column:1;grid-row:1 / span 2}
 .typechoices .choice>span:not(.optical-check),.typechoices .choice>.optical-description{grid-column:2}
 .typechoices .choice>span:not(.optical-check){font-size:16px;line-height:1.4}
 .choice .optical-description{font-size:14px;line-height:1.5}.choice .optical-check{top:17px;right:13px}
 .choice:hover{transform:none}
 .fieldgrid,.p-fields,.building-meta{grid-template-columns:minmax(0,1fr);gap:24px;margin-left:0}
 .atelier-building .fieldgrid>.field>.inputwrap,.atelier-building .fieldgrid>.selectfield>.heating-choices,.atelier-building .other-heating,.atelier-building>.atelier-details,.data-explanation{margin-left:0}
 .inputwrap,.p-input{min-height:56px;width:100%;max-width:100%}
 .inputwrap input,.p-input input{font-size:22px;padding:12px 14px}
 .inputwrap>span,.p-input>span{min-width:54px;max-width:45%;white-space:normal;font-size:14px;padding:8px 12px}
 select,.selectfield select,.p-field select,input,textarea{font-size:16px;max-width:100%;min-width:0}
 .field-help summary,.other-heating summary,.atelier-details summary,.data-explanation summary,.method summary{min-height:44px;font-size:14px;line-height:1.55;white-space:normal}
 .unknown,.p-guess{min-height:44px;font-size:14px;padding:10px 0}
 .formfooter,.p-footer{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.4fr);gap:12px;position:sticky;bottom:0;z-index:8;background:#f7f8f2f5;backdrop-filter:blur(16px);border-top:1px solid #c6d7c5;padding:12px 0 max(12px,env(safe-area-inset-bottom));margin-top:24px}
 .formfooter::before{display:none}.formfooter>span,.p-footer>span{display:none}
 .formfooter #back,.p-footer>button:not(.primary){min-width:0;width:100%;padding:12px 8px;min-height:54px;font-size:15px}
 .formfooter #next,.p-footer>button.primary{min-width:0;width:100%;padding:13px 30px 13px 14px;font-size:16px;min-height:54px;line-height:1.4;white-space:normal}
 .primary>.button-arrow,#next>.button-arrow{right:13px}
 .p-aside{margin:24px 0 0}.p-review>div{min-width:0;overflow-wrap:anywhere}
 .resulthead{display:block}.resulthead h2{font-size:32px}.resulthead button,.resultactions button{min-height:46px;font-size:15px;color:#244b34}
 .resultgrid,.p-result-grid,.p-comparison,.scope-cards{grid-template-columns:minmax(0,1fr)}
 .totalcard,.resultcard,.p-total-card{padding:22px 18px;min-width:0}.totalcard .total{font-size:clamp(40px,13vw,64px);overflow-wrap:anywhere}
 .scopegrid{grid-template-columns:1fr}.scopegrid>div{padding:12px 0;border-bottom:1px solid #c8d5c0}
 .explain-result{padding:22px 18px}.explain-result strong{font-size:clamp(32px,10vw,52px);overflow-wrap:anywhere}
 .results-essential{padding:16px 12px}.results-essential>h3{font-size:25px}
 .flow-atlas{padding:20px 14px;border-radius:20px}.flow-atlas .atlas-head h3{font-size:29px}.flow-atlas .atlas-head>p{font-size:15px}
 .flow-atlas .atlas-node{position:static;width:100%;min-height:92px;height:auto;padding:16px 12px;gap:9px}
 .flow-atlas .atlas-node b{font-size:15px;overflow-wrap:anywhere}.flow-atlas .atlas-node small{font-size:13px}.flow-atlas .atlas-node>strong{font-size:16px;flex-shrink:0}
 .flow-atlas .atlas-node-icon{flex-basis:30px;width:30px;height:30px}.flow-atlas .atlas-caption{font-size:14px;line-height:1.6}.flow-atlas .atlas-caption button{margin:12px 0 0;min-height:44px;display:block}
 .tablewrap{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin}.tablewrap table{min-width:580px}table th,table td{font-size:14px;line-height:1.55;padding:12px}
 .experimentbox,.atelier-lab,.workshop-takeaway{padding:20px 16px;min-width:0}
 .scenario,.p-action{padding:16px;font-size:15px;line-height:1.5;min-width:0}.scenario small,.p-action small{font-size:14px}
 footer{display:flex;flex-direction:column;gap:14px;font-size:13px;line-height:1.65;padding-bottom:20px}
 #toast{max-width:calc(100vw - 32px);white-space:normal;font-size:14px;bottom:24px}
}
.mobile-step-hint{display:none}
@media screen and (max-width:760px){.mobile-step-hint{display:block}}
@media screen and (max-width:760px){
 #company-profile-bar button{max-width:none;flex-basis:100%;line-height:1.5}
 .formfooter #next,.formfooter #back,.p-footer>button{max-width:none}
 .section-progress{font-size:12px!important;letter-spacing:.04em;line-height:1.6}
 .p-steps button[aria-current]{background:#e2ecde;box-shadow:inset 0 0 0 1px #b2c8b1}
 .formfooter #next:disabled,.p-footer>button:disabled{opacity:.45}
}
.mobile-selected-value{display:none}
@media screen and (max-width:760px){
 .p-wizard{overflow:visible}
 .mobile-selected-value{display:block;margin:8px 0 0;color:#375442;font-size:14px;line-height:1.55;overflow-wrap:anywhere}
 .p-steps button:disabled{opacity:.7}
 .p-field details summary{min-height:44px;font-size:14px;padding:10px 0;line-height:1.5}
}
@media screen and (max-width:760px){
 .p-review>div{padding:18px 14px;gap:12px}
 .p-review button,.review-list button{min-height:44px;font-size:14px}
}
