/* Phone is the base participant layout. Wider screens progressively add space. */
.mobile-demo-label{font-size:11px}.desktop-demo-label{display:none}
.demo-bar{height:40px;min-height:40px;padding:0 16px;flex-wrap:nowrap;justify-content:space-between;gap:8px}
.demo-bar .switcher,.demo-bar #actingPerson{display:none}
.demo-bar .mobile-demo-control{display:block;min-height:40px;padding:0 4px;border:0;font-size:12px;white-space:nowrap;text-decoration:underline;text-underline-offset:4px}
.perspective-options{display:grid;gap:10px}.perspective-options button{min-height:48px;text-align:left}
.participant .brand{display:flex;min-height:68px;padding:12px 16px;gap:10px;align-items:center}
.participant .brand img{width:34px;height:34px;flex:0 0 34px}
.participant .brand strong{font-size:22px;white-space:nowrap}
.participant .brand .right{display:flex;max-width:none;width:auto;margin-left:auto;gap:0}
.participant .brand .right>span{display:none}
.participant .brand .right button{font-size:12px;min-height:44px;padding:8px;border:0}
.participant main{width:100%;max-width:none;padding:18px 16px calc(24px + env(safe-area-inset-bottom));margin:0}
.participant h1,.participant .capture h1{font-size:32px;line-height:1.14;letter-spacing:-.8px;margin:0 0 22px}
.participant .capture,.participant .capture:has(.gallery-field){width:100%;max-width:none;min-height:0;margin:0}
.participant .customer-home{width:100%;max-width:none;margin:0}
.participant .project-map{margin:0 0 24px;max-width:100%;min-width:0}
.participant .section-map{gap:6px;padding:0 0 6px;scroll-padding-inline:0;overscroll-behavior-x:contain;scrollbar-width:none}
.participant .section-map::-webkit-scrollbar{display:none}
.participant .section-map li{padding:0;min-width:0;font-size:12px;flex:0 0 auto}
.participant .section-map li button{min-height:48px;padding:8px 12px;gap:7px;border-radius:24px}
.participant .section-map .dot{display:inline-flex;flex:0 0 22px;width:22px;height:22px;margin:0;font-size:11px}
.participant .section-map li small{font-size:11px;max-width:115px}
.participant .section-map .map-future{padding:0 12px;max-width:112px;white-space:normal;line-height:1.3}
.participant .lead{font-size:16px;line-height:1.55;margin-bottom:22px;max-width:none}
.participant .capture .formfields{margin-top:24px;min-width:0}
.participant .capture .field{margin:0 0 20px;min-width:0}
.participant .capture input:not([type=radio]):not([type=checkbox]),.participant .capture select,.participant .capture textarea{font-size:16px;min-height:52px;padding:14px;width:100%;max-width:100%}
.participant .capture textarea{min-height:140px}
.participant.capturing main{padding-bottom:calc(152px + env(safe-area-inset-bottom))}
.participant.capturing .footer{display:none}
.participant .capture .form-footer{position:fixed;z-index:12;left:0;right:0;bottom:0;margin:0;padding:10px 16px calc(12px + env(safe-area-inset-bottom));background:var(--bg);box-shadow:0 -8px 24px #302c2509;display:flex;flex-direction:column;gap:8px}
.participant .form-footer>div:first-child{display:flex;align-items:center;justify-content:space-between;width:100%;gap:10px}
.participant .form-footer>div:first-child br{display:none}
.participant .form-footer #saveStatus{font-size:11px;white-space:nowrap}
.participant .form-footer .text-button{font-size:12px;padding:6px 0;min-height:36px;text-align:right}
.participant .form-footer>.actions{display:grid;grid-template-columns:76px minmax(0,1fr);width:100%;gap:12px}
.participant .form-footer .actions button{min-width:0;min-height:52px;font-size:16px;padding:12px}
.participant .form-footer .actions button:disabled{visibility:hidden}
.participant #toast{bottom:calc(130px + env(safe-area-inset-bottom));font-size:13px;width:max-content;max-width:calc(100vw - 32px)}
.participant .radio-options,.participant .topic-options{grid-template-columns:1fr;gap:10px}
.participant .radio-options label,.participant .topic-options label{padding:14px 16px;min-height:54px;font-size:16px;gap:12px}
.participant .radio-options input,.participant .topic-options input,.participant .another-appliance input{width:20px;height:20px;min-height:20px;flex:0 0 20px;padding:0}
.participant .picture-options{grid-template-columns:1fr;gap:14px}
.participant .picture-choice{display:grid;grid-template-columns:118px minmax(0,1fr);grid-template-rows:1fr 1fr;gap:0 16px;padding:0 14px 0 0;min-height:128px;align-items:center}
.participant .picture-choice svg{grid-row:1/3;width:118px;height:100%;min-height:128px;object-fit:cover;margin:0}
.participant .picture-choice strong{font-size:22px;margin:0;align-self:end;padding-bottom:4px}
.participant .picture-choice>span{font-size:13px;line-height:1.4;margin:0;align-self:start}
.participant .gallery-grid{grid-template-columns:1fr;gap:18px}
.participant .gallery-photo img{height:auto;aspect-ratio:1.55;object-fit:cover}
.participant .gallery-tile .gallery-card{min-height:70px}
.participant .gallery-card strong{font-size:17px}.participant .gallery-card small{min-height:0;font-size:13px}
.participant .gallery-tile .gallery-card span{gap:3px;padding:14px 16px}
.participant .room-question{margin-top:0}.participant .room-answer{display:flex;padding:16px;gap:16px;align-items:start}
.participant .room-answer .room-kind{grid-template-columns:1fr 1fr;gap:8px}
.participant .room-kind label{font-size:13px;padding:10px;gap:8px;min-height:46px}
.participant .room-kind input{width:16px;height:16px;min-height:16px;flex-basis:16px}
.participant .room-answer .field{flex-basis:100%;width:100%}
.participant .room-answer>button{margin:0;min-height:44px;font-size:13px;color:var(--muted)}
.participant .room-add{margin-top:24px}.participant .room-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.participant .room-options button{font-size:14px;padding:12px;min-height:52px;text-align:left}
.participant .response-sections{display:flex;flex-direction:column;gap:0;margin-top:24px}
.participant .response-sections .request{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding:20px 0;align-items:start}
.participant .response-sections .number{display:none}
.participant .response-sections .body{min-width:0;grid-column:1;grid-row:1}
.participant .response-sections h3{font-size:17px;line-height:1.35;margin:0 0 5px}
.participant .response-sections .meta{font-size:12px}
.participant .response-sections .badge{grid-column:1;grid-row:2;justify-self:start;font-size:11px;border:0;padding:0;color:var(--muted)}
.participant .response-sections .request>button{grid-column:2;grid-row:1/3;min-height:44px;padding:10px;font-size:12px;align-self:center}
.participant .response-sections .next-section{order:-1;display:block;padding:20px;margin:0 0 22px;border-radius:12px}
.participant .next-section h2{font-size:23px;line-height:1.2;margin:0 0 8px}
.participant .next-section p{font-size:14px;color:var(--muted)}
.participant .response-sections .next-section>.primary{display:block;width:100%;margin-top:20px;min-height:52px;font-size:16px}
.participant .footer{margin-top:24px;padding-top:12px;display:flex;flex-direction:row;gap:16px;align-items:center;font-size:11px}
.participant .footer>span{max-width:240px}.participant .footer button{font-size:11px;min-height:44px;white-space:nowrap}
.participant .attachment{flex-wrap:wrap;gap:10px;min-width:0}.participant .attachment>div{flex:1;min-width:0}.participant .attachment button{min-height:44px;max-width:100%;overflow-wrap:anywhere}
.participant .upload-preview{width:72px;height:72px}.participant .capture input[type=file]{padding:16px;font-size:13px!important}.participant input[type=file]::file-selector-button{display:block;margin:0 0 12px;width:100%;min-height:44px}
.participant .cabinet-guide{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.participant .cabinet-guide figcaption{font-size:13px}.participant .cabinet-guide figcaption span{font-size:11px}.participant .cabinet-example.inset{padding:10px;gap:6px}.participant .cabinet-example.framed{padding:7px;gap:4px}
.participant .project-grid,.participant .grid{grid-template-columns:1fr}.participant .dashboard-next{padding:20px}.participant .dashboard-next .primary{width:100%;min-height:52px;margin-top:16px}.participant .project-bottom{flex-wrap:wrap}.participant .project-bottom button{width:100%}
dialog{position:fixed;inset:auto 0 0;margin:0;width:100%;max-width:none;max-height:88dvh;overflow-y:auto;padding:22px 20px calc(24px + env(safe-area-inset-bottom));border-radius:18px 18px 0 0}
dialog .headrow{display:flex;align-items:center;gap:12px}dialog .headrow h2{font-size:23px;margin:0}dialog .headrow button{min-height:44px}
dialog.image-dialog{max-width:100%;width:100%}dialog.image-dialog img{max-height:60dvh}
@media(min-width:600px){.participant .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.participant main{padding-inline:28px}.participant .picture-options{grid-template-columns:repeat(2,minmax(0,1fr))}.participant .picture-choice{display:block;padding:0 0 20px}.participant .picture-choice svg{width:100%;height:auto;margin-bottom:16px}.participant .picture-choice strong,.participant .picture-choice>span{margin-inline:20px}}
@media(min-width:900px){
 .mobile-demo-label,.demo-bar .mobile-demo-control{display:none}.desktop-demo-label{display:inline}.demo-bar{height:auto;min-height:48px;padding:8px 3vw}.demo-bar .switcher{display:flex}.demo-bar #actingPerson{display:block}
 .participant .brand{padding:20px 4vw;gap:18px}.participant .brand img{width:54px;height:54px;flex-basis:54px}.participant .brand strong{font-size:26px}.participant .brand .right{gap:16px}.participant .brand .right>span{display:block;font-size:13px}
 .participant main{padding:32px 4vw 48px;max-width:2100px;margin:auto}.participant .customer-home{max-width:1400px;margin:auto}.participant .capture{max-width:900px;margin:auto}.participant .capture:has(.gallery-field){max-width:1100px}.participant .capture h1{font-size:46px}.participant .project-map{max-width:1400px;margin:0 auto 32px}.participant .section-map li button{font-size:14px;padding:10px 16px}
 .participant.capturing main{padding-bottom:48px}.participant .capture .form-footer{position:static;flex-direction:row;background:transparent;box-shadow:none;padding:12px 0 0;margin-top:32px;gap:24px}.participant .form-footer>div:first-child{display:block;width:auto}.participant .form-footer>div:first-child br{display:block}.participant .form-footer #saveStatus{font-size:13px}.participant .form-footer .text-button{font-size:14px}.participant .form-footer>.actions{width:auto;min-width:270px}.participant.capturing .footer{display:flex}.participant #toast{bottom:24px}
 .participant .radio-options{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.participant .gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.participant .lead{font-size:19px;max-width:720px}.participant .room-answer .room-kind{grid-template-columns:repeat(3,1fr)}
 .participant .response-sections .next-section{order:0;display:flex;align-items:center;justify-content:space-between;gap:28px;margin:20px 0 0;padding:26px}.participant .response-sections .next-section>.primary{width:auto;margin:0}.participant .response-sections .request>button{font-size:14px}.participant .response-sections .request:not(.next-section){grid-template-columns:minmax(0,1fr) auto;padding:22px 0}.participant .footer{font-size:12px}.participant .footer>span{max-width:none}
 .participant .project-grid{grid-template-columns:repeat(auto-fit,minmax(350px,1fr))}.participant .grid{grid-template-columns:repeat(2,minmax(0,1fr))}.participant .dashboard-next{display:flex}.participant .dashboard-next .primary{width:auto;margin:0}.participant .project-bottom button{width:auto}
 dialog{inset:0;margin:auto;width:calc(100vw - 40px);max-width:540px;max-height:85vh;border-radius:12px;padding:28px}dialog.image-dialog{width:min(1050px,90vw);max-width:90vw}
}
@media(max-width:899px){.participant .form-footer .actions:has(button:disabled) .primary{grid-column:1/-1}.participant .form-footer>div:first-child:has(br){align-items:center}.participant .form-footer .text-button{max-width:55%;line-height:1.35}}
@media(max-width:359px){.participant .brand{gap:8px}.participant .brand strong{font-size:20px}.participant .picture-choice{grid-template-columns:96px minmax(0,1fr);gap:0 12px}.participant .picture-choice svg{width:96px}.participant .response-sections .request{grid-template-columns:minmax(0,1fr) 92px}.participant .response-sections .request>button{white-space:normal}.participant .room-kind label{padding:8px;gap:6px}}
@media(max-width:899px){.participant .form-footer>.actions{grid-template-columns:94px minmax(0,1fr)}.participant .form-footer .actions button{white-space:nowrap}.participant .picture-choice svg{align-self:stretch}}
@media(max-width:899px){.participant .form-footer .actions button:disabled:not(.primary){display:none}}
