/* Two-step request form; original homepage hero styles remain in the templates. */
/* Reveal the assembled page once; returning to #masters must not expose the prototype layout. */
.sm-home-booting #appRoot{visibility:hidden;pointer-events:none}
#sm-home-load-status{display:none;position:fixed;inset:35% 20px auto;text-align:center;color:#607568;font:15px/1.6 system-ui,sans-serif;z-index:20}
.sm-home-booting #sm-home-load-status{display:block}
#sm-home-load-status button{display:block;margin:12px auto;padding:10px 18px;border:1px solid #c7dace;border-radius:12px;background:#f0f7f2;color:#315847;font:inherit;min-height:44px;cursor:pointer}
.sm-home-load-error,.sm-home-load-failed .sm-home-load-label{display:none}
.sm-home-load-failed .sm-home-load-error{display:block}
.desktop-step-nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}.desktop-step-nav [data-desktop-step]{cursor:pointer}.desktop-step-nav [data-desktop-step]:focus-visible{outline:3px solid #bca269;outline-offset:3px}#step3{display:none!important}
#step1 .step1-next-wrap{order:2!important}#step1 .sm-reference-help-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start;order:3;margin-top:24px}#step1 .sm-reference-help-row .sm-task-composer{order:0;margin:0;padding:20px;border:1px solid #cbdacf;background:#f7faf7;border-radius:16px}#step1 .sm-reference-help-row .support-box{order:1;display:block;margin:0;padding:20px;border:1px solid #cbdacf;background:#f7faf7;border-radius:16px}.sm-reference-help-row .support-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:18px}.sm-reference-help-row .sm-task-submit{background:#244f3c;border-color:#244f3c;color:#fff}.sm-reference-help-row .sm-task-composer h3{font-size:22px}.sm-reference-help-row .sm-task-composer p{font-size:14px}.sm-reference-help-row .sm-task-tools{gap:6px}.sm-reference-help-row .sm-task-tools>*{font-size:13px;padding:10px;flex:1}
#step1 #step1NextBtn{display:inline-flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;min-width:144px!important;min-height:50px!important;padding:8px 9px 8px 22px!important;box-sizing:border-box!important}#step1 #step1NextBtn::after{position:static!important;inset:auto!important;transform:none!important;margin:0!important;width:32px!important;height:32px!important;flex:0 0 32px!important;background-position:center!important;background-size:19px!important}
#step2>.start-block{border:0;box-shadow:none;background:transparent}.request-contact-hint{font-size:13px;color:#657561;line-height:1.5;margin:8px 0}.request-contact-field input{width:100%;box-sizing:border-box;min-height:48px}
#appRoot #step2>#footer:not(.hidden){display:grid!important;position:static!important;inset:auto!important;transform:none!important;border:0!important;box-shadow:none!important;background:transparent!important;border-radius:0!important;width:100%!important;max-width:none!important;padding:16px 0!important;margin:12px 0 0!important;grid-template-columns:minmax(100px,.65fr) minmax(0,1fr)!important;gap:12px!important}#step2 #backBtn,#step2 #nextBtn{width:100%;min-width:0;white-space:normal}
@media(max-width:1199px){#step1 .sm-reference-help-row{grid-template-columns:minmax(0,1fr);gap:16px}.desktop-step-nav{gap:10px;padding:0;list-style:none}.desktop-step-nav li{font-size:13px}.desktop-step-nav .step-number{margin-right:7px}#step2:not(.hidden){border:1.5px solid #739782;border-radius:18px;background:white;padding:0;overflow:hidden;box-shadow:0 10px 30px #173e3220}#step2>h2{margin:0;padding:16px 14px;background:#f3f8f5;border-bottom:1px solid #dbe6de;font-size:21px}#step2 #dynamicStep2{padding:14px 14px 0}#step2>.field,#step2>.start-block{margin:16px 14px!important}#step2 .start-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#step2 .start-option{width:100%;min-width:0;min-height:56px;padding:8px;font-size:13px;white-space:normal}#appRoot #step2>#footer:not(.hidden){padding:12px 14px 14px!important;margin:0!important}#step2 #backBtn,#step2 #nextBtn{padding:8px!important;min-height:52px;font-size:13px}#step2 #backBtn::before,#step2 #nextBtn::after{width:28px;height:28px;flex-basis:28px;background-size:18px}#appRoot:not(.is-step1){padding-bottom:16px}}

/* Three independent homepage sections: request, introduction/video, specialists. */
.sm-home-sections{grid-column:1/-1;min-width:0;margin-top:32px;display:grid;gap:32px}#appRoot:not(.is-step1) .sm-home-sections{display:none}.sm-home-sections>.desktop-video-banner,.sm-home-sections>.masters-showcase{margin:0!important;padding:28px!important;border:1px solid #d8e2db!important;border-radius:22px;background:#f7faf7!important;min-width:0}
#step1 .sm-reference-help-row{align-items:stretch}#step1 .sm-reference-help-row .support-box{display:flex;flex-direction:column;justify-content:center}.sm-task-tools{display:grid!important;grid-template-columns:1fr 1fr;gap:10px!important}.sm-task-tools>*{display:flex;align-items:center;justify-content:center;min-height:46px;box-sizing:border-box}.sm-task-composer .sm-task-submit{margin-left:auto;display:flex;align-items:center;gap:24px;min-width:135px;width:auto}.sm-task-summary{margin:16px;padding:16px;border:1px solid #d8e2db;border-radius:14px}.sm-task-summary p{white-space:pre-wrap;overflow-wrap:anywhere}#step2 .city-suggestions{z-index:30}#step2 .city-field{position:relative}
@media(max-width:1199px){.sm-home-sections{gap:24px;margin-top:24px}.sm-home-sections>.desktop-video-banner,.sm-home-sections>.masters-showcase{padding:20px 14px!important}.sm-task-tools>*{font-size:13px!important;padding:10px 6px!important}}

/* Shared primary action: keep the label and arrow together on every viewport. */
#appRoot #step1NextBtn,#appRoot #nextBtn,#appRoot .sm-task-submit{
 display:inline-flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:center!important;
 gap:12px!important;min-height:52px!important;min-width:144px!important;width:auto;padding:9px 14px 9px 22px!important;
 border:1px solid #244f3c!important;border-radius:999px!important;background:#244f3c!important;color:#fff!important;
 font:700 16px/1.25 Inter,system-ui,sans-serif!important;text-align:center!important;white-space:nowrap!important;box-shadow:none!important;
}
#appRoot .sm-task-submit>span{display:none}
#appRoot #step1NextBtn::after,#appRoot #nextBtn::after,#appRoot .sm-task-submit::after{
 content:''!important;display:block!important;position:static!important;inset:auto!important;transform:none!important;float:none!important;margin:0!important;
 width:30px!important;height:30px!important;flex:0 0 30px!important;border-radius:50%;
 background:#ffffff20 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14m-6-6 6 6-6 6'/%3E%3C/svg%3E") center/19px no-repeat!important;
}
#appRoot #nextBtn{width:100%;min-width:0!important;font-size:14px!important;padding-left:12px!important;padding-right:12px!important;gap:8px!important}
#appRoot .sm-task-submit{margin-left:auto}
#appRoot .topbar .brand-logo{margin:0 0 0 8px!important;width:calc(100% - 8px);justify-self:center;justify-content:center}
#appRoot .topbar .brand-logo svg{overflow:hidden}
/* One introduction card: original green banner, then the story and player. */
#appRoot .sm-welcome-block{grid-column:1/-1;min-width:0;margin:0 12px 24px;border:1px solid #d8e2db;border-radius:24px;overflow:hidden;background:#eef3ef}
#appRoot .sm-welcome-block>.desktop-intro{margin:0!important;border-radius:0!important}
#appRoot .sm-welcome-block>.desktop-video-banner{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;margin:0!important;padding:26px 20px!important;border:0!important;border-radius:0;background:#eef3ef}
#appRoot:not(.is-step1) .sm-welcome-block{display:none}
@media(min-width:1200px){
 #appRoot .topbar .brand-logo{width:210px;flex:0 0 210px}
 #appRoot .sm-welcome-block{margin:0 0 28px}
 #appRoot .sm-welcome-block>.desktop-video-banner{grid-template-columns:minmax(0,1.2fr) minmax(240px,.8fr);gap:36px;padding:32px 42px!important}
}
/* Compact date choices and composer actions. */
#appRoot #step2 .start-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#appRoot #step2 .start-option{min-height:48px;padding:8px 10px;gap:7px;font-size:14px;line-height:1.2;justify-content:center;white-space:normal}
#appRoot #step2 .start-option::before{width:26px;height:26px;flex:0 0 26px;background-size:18px}
#appRoot .sm-task-input{background:#fff;border:1px solid #c7d3c9;border-radius:16px;overflow:hidden}
#appRoot .sm-task-input:focus-within{outline:2px solid #719c82;outline-offset:2px}
#appRoot .sm-task-input textarea{border:0;border-radius:0;outline:none;min-height:100px;padding:12px;box-shadow:none}
#appRoot #sm-task-files{padding:0 10px;max-height:280px}
#appRoot #sm-task-files:empty{display:none}
#appRoot .sm-task-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px}
#appRoot .sm-task-tools{display:flex!important;flex-wrap:nowrap;gap:6px!important;margin:0;min-width:0}
#appRoot .sm-task-tools>*{flex:0 1 auto;min-height:40px;padding:7px 9px!important;font-size:12px!important;line-height:1.2;border-radius:999px;text-align:center}
#appRoot .sm-task-toolbar .sm-task-submit{min-width:0!important;min-height:42px!important;flex:0 0 auto;padding:6px 10px 6px 12px!important;font-size:13px!important;gap:6px!important}
#appRoot .sm-task-toolbar .sm-task-submit::after{width:26px!important;height:26px!important;flex-basis:26px!important;background-size:17px!important}
#appRoot #sm-task-status:empty{display:none}
/* Keep the selected-work action inside the work section. */
#appRoot #step1 .step1-next-wrap{position:static!important;inset:auto!important;transform:none!important;display:none;min-height:0!important;margin:12px 0 0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;justify-content:flex-end}
#appRoot #step1 .step1-next-wrap.visible{display:flex!important}
#appRoot #step1 .step1-next-wrap::before{display:none!important}
#appRoot #step1,#appRoot #step1.has-floating-next{padding-bottom:0!important}
@media(max-width:1199px){
 #appRoot main{padding-bottom:0!important;min-height:0!important}
 #appRoot .sm-home-sections{margin-top:20px}
 #appRoot #step2 .start-option{font-size:13px;padding:8px 6px;gap:5px}
 #appRoot .sm-task-tools>*{padding:7px!important;font-size:11px!important}
}
/* Shared editable draft with the chat's play, seek and delete interactions. */
#appRoot .sm-task-submit[hidden]{display:none!important}
#appRoot .sm-draft-player{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:999px;background:#e7f0e9;min-width:0}
#appRoot .sm-draft-player button{width:36px;height:36px;flex:0 0 36px;border:0;border-radius:50%;background:#244f3c;color:white}
#appRoot .sm-draft-player input{flex:1;min-width:0;width:100%;accent-color:#244f3c;padding:0}
#appRoot .sm-draft-player span{font-size:12px;font-variant-numeric:tabular-nums}
#appRoot .sm-draft-player audio{display:none}
#appRoot .sm-task-summary{margin:16px 0;padding:16px;background:#f7faf7}
#appRoot .sm-task-summary h3{text-align:center;margin:0 0 12px}
#appRoot #sm-task-files img{max-height:160px;object-fit:contain}
/* Dialog contains only the two request steps, never the site's header or logo. */
html.sm-request-open{overflow:hidden}
#sm-request-widget{padding:0;border:1.5px solid #739782;border-radius:22px;width:min(920px,calc(100% - 24px));max-width:none;max-height:calc(100dvh - 24px);color:#123f31;background:#fff;box-shadow:0 18px 65px #123f3140;overflow:hidden}
#sm-request-widget::backdrop{background:#102a2066}
#sm-request-widget[open]{display:flex;flex-direction:column}
.sm-request-widget-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;background:#f3f8f5;border-bottom:1px solid #dbe6de;flex-shrink:0}
.sm-request-widget-head strong{font-size:20px}.sm-request-widget-head button{width:40px;height:40px;border:0;border-radius:50%;background:#e4eee7;font-size:26px;color:#123f31}
.sm-request-widget-body{overflow:auto;overscroll-behavior:contain;padding:16px;min-height:0}
#appRoot #sm-request-widget main{margin:0;padding:0;border:0;box-shadow:none;min-height:0;background:transparent}
#sm-request-widget .progress-wrap{margin:0 0 16px;padding:0;display:block!important}
#sm-request-widget .desktop-step-nav{margin:0;padding:0;list-style:none;gap:8px}
#sm-request-widget .desktop-step-nav li{display:flex;align-items:center;justify-content:center;gap:8px;margin:0;padding:10px;font-size:14px}
#sm-request-widget .desktop-step-nav .step-number{margin:0;flex-shrink:0}
#sm-request-widget .progress-row,#sm-request-widget .progress{display:none}
#appRoot #sm-request-widget .sm-reference-help-row{grid-template-columns:minmax(0,1fr)}
#sm-request-widget .support-box{display:none!important}
#appRoot #sm-request-widget #step2{border:0;box-shadow:none;overflow:visible}
@media(max-width:1199px){
 #appRoot h1,#appRoot h2,#appRoot h3,#appRoot #heroBanner .hero-title-scene .hero-title{text-align:center!important}
 #appRoot .desktop-step-nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;padding:0;list-style:none}
 #appRoot .desktop-step-nav li{display:flex;justify-content:center;align-items:center;gap:6px;text-align:center;font-size:12px;padding:8px 2px}
 #appRoot .desktop-step-nav .step-number{margin:0;flex-shrink:0}
 .sm-request-widget-body{padding:12px}
 #sm-request-widget .desktop-step-nav li{font-size:12px;padding:8px 2px}
 #sm-request-widget .sm-request-widget-head strong{font-size:18px}
 #appRoot #sm-request-widget #directionList .step1-work-group-body{max-height:none;overflow:visible}
}
#appRoot #sm-request-widget #directionList .step1-work-group:has(>.step1-work-group-head[aria-expanded="true"]){position:relative!important;inset:auto!important;width:100%;height:auto!important;max-height:none!important}
#appRoot #sm-request-widget #directionList:has(.step1-work-group-head[aria-expanded="true"]) .step1-work-group:not(:has(>.step1-work-group-head[aria-expanded="true"])){display:none}
#appRoot #sm-request-widget #directionList:has(.step1-work-group-head[aria-expanded="true"]){grid-template-columns:minmax(0,1fr)}
@media(max-width:1199px){.sm-request-widget-head{display:grid;grid-template-columns:40px minmax(0,1fr) 40px;padding:10px}.sm-request-widget-head::before{content:''}.sm-request-widget-head strong{text-align:center}}
/* Broad text field with chat-style icon actions directly below it. */
#appRoot .sm-task-toolbar{margin:0;padding:8px 10px;background:white;border:1px solid #c7d3c9;border-top:0;border-radius:0 0 16px 16px}
#appRoot .sm-task-input{border-bottom:0;border-radius:16px 16px 0 0}
#appRoot .sm-task-input:focus-within{outline:none}
#appRoot .sm-task-tools{gap:10px!important}
#appRoot .sm-task-tools>*,#appRoot .sm-task-toolbar .sm-task-submit{display:grid!important;place-items:center;flex:0 0 44px;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;padding:10px!important;border:0!important;border-radius:50%!important;background:#eaf2ec;color:#315847}
#appRoot .sm-task-toolbar .sm-task-submit{background:#315847!important;color:#fff!important}
#appRoot .sm-task-toolbar .sm-task-submit::after{display:none!important}
#appRoot .sm-task-toolbar svg{display:block;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#appRoot .sm-task-toolbar .sm-task-submit[hidden]{display:none!important}
#appRoot .sm-voice-draft .sm-draft-player{padding:0;background:transparent;gap:8px}
#appRoot .sm-voice-draft .sm-draft-player button{width:34px;height:34px;flex-basis:34px;background:#315847}
#appRoot .sm-voice-draft .sm-draft-player input{height:6px;padding:0}
/* Both steps fill the viewport. The body scrolls beneath a persistent header. */
#appRoot #sm-request-widget{inset:0;margin:0;width:100%;height:100dvh;max-width:none;max-height:none;border:0;border-radius:0;box-sizing:border-box}
#sm-request-widget .sm-request-widget-body{flex:1;width:100%;max-width:960px;margin:0 auto;padding-bottom:calc(20px + env(safe-area-inset-bottom));scroll-padding-bottom:24px}
#sm-request-widget .sm-request-widget-head{padding-top:calc(10px + env(safe-area-inset-top))}
@media(max-width:1199px){
 #appRoot #heroBanner .hero-title-scene .hero-title{font-size:clamp(21px,5.6vw,28px)!important;line-height:1.16!important;padding:14px 8px!important;text-wrap:balance}
 #appRoot .desktop-video-copy h3{font-size:clamp(19px,5vw,24px)!important;line-height:1.2!important;letter-spacing:-.025em;text-wrap:balance}
 #appRoot .desktop-video-copy{padding:12px 0!important}
 #appRoot .sm-task-composer h3,#appRoot .masters-heading h2,#appRoot #step1>h2,#appRoot #step2>h2{font-size:22px!important;line-height:1.2!important;text-wrap:balance}
 #appRoot .hero-copy,#appRoot .sm-task-composer>p,#appRoot .support-copy,#appRoot .masters-heading p,#appRoot .masters-footnote{text-align:center!important}
 #appRoot .sm-welcome-block>.desktop-video-banner{padding:22px 14px!important}
}
/* Controls sit below, outside the text-and-attachment field. */
#appRoot .sm-task-input{border:1px solid #c7d3c9;border-radius:16px}
#appRoot .sm-task-toolbar{margin-top:10px;padding:0;border:0;border-radius:0;background:transparent}
/* One heading in the widget; the homepage alone keeps the progress legend. */
#appRoot #sm-request-widget .progress-wrap,#appRoot #sm-request-widget #step1>h2,#appRoot #sm-request-widget #step2>h2{display:none!important}
#appRoot #sm-request-widget #directionList{height:auto!important;min-height:0!important;max-height:none!important}
#appRoot #sm-request-widget main,#appRoot #sm-request-widget #step1{height:auto!important;min-height:0!important;overflow:visible!important}
#appRoot #sm-request-widget .sm-request-widget-body{flex:1 1 0;min-height:0;overflow-y:auto;touch-action:pan-y;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch}
#appRoot #sm-request-widget .step1-work-group-body{flex:none!important;height:auto!important;max-height:none!important;overflow:visible!important;touch-action:pan-y}
#appRoot>.progress-wrap .desktop-step-nav{padding-bottom:12px;border-bottom:1px solid #3158471a;margin-bottom:10px}
@media(max-width:1199px){#appRoot .desktop-video-copy .video-story{padding:0 12px;box-sizing:border-box}}
/* A single progress indicator and a single action for the current selection. */
#appRoot .desktop-step-nav{display:none!important}
#appRoot #sm-request-widget .progress-wrap{display:block!important;padding:0 0 12px;margin:0 0 12px}
#appRoot #sm-request-widget .progress-row{display:flex!important}
#appRoot #sm-request-widget .progress{display:block!important}
#appRoot .sm-work-zone{order:1;min-width:0;position:relative}
html[data-request-layout="mobile"] #appRoot #step1 .sm-work-zone > .step1-next-wrap.visible{position:sticky!important;top:auto!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;z-index:15;margin:12px 0!important;pointer-events:none}
#appRoot .sm-work-zone .step1-next-wrap button{pointer-events:auto;box-shadow:0 4px 16px #173e3230!important}
.sm-widget-action{display:none}
#appRoot #sm-request-widget .step1-next-wrap,#appRoot #sm-request-widget .category-done,#appRoot #sm-request-widget .sm-task-submit{display:none!important}
#appRoot #sm-request-widget .sm-widget-action{display:flex;justify-content:flex-end;position:sticky;bottom:0;z-index:25;order:5;padding:10px 0 calc(8px + env(safe-area-inset-bottom));margin-top:12px;background:linear-gradient(transparent,#fff 35%);pointer-events:none}
#appRoot #sm-widget-next{pointer-events:auto;min-height:48px;padding:11px 22px;border:1px solid #244f3c;border-radius:999px;background:#244f3c;color:white;font:700 16px/1.25 Inter,system-ui,sans-serif;box-shadow:0 4px 16px #173e3230}
#appRoot #sm-widget-next:disabled{opacity:.4;cursor:not-allowed}
#appRoot #sm-widget-next:focus-visible{outline:3px solid #bca269;outline-offset:3px}
/* Authoritative visibility rules: never combine legacy and widget actions. */
#appRoot #sm-request-widget #step1 .step1-next-wrap,
#appRoot #sm-request-widget #step1 .step1-next-wrap.visible,
#appRoot #sm-request-widget #step1 .category-done,
#appRoot #sm-request-widget #step1 .sm-task-submit{display:none!important}
#appRoot #sm-request-widget.sm-in-category .progress-wrap{display:none!important}
#appRoot #sm-request-widget #step1 .sm-widget-action[hidden]{display:none!important}
#appRoot #sm-request-widget #step1 .sm-widget-action{background:transparent!important;box-shadow:none;border:0;width:100%;max-width:100%;box-sizing:border-box;clear:both}
#appRoot #sm-widget-next{max-width:100%;box-sizing:border-box}
#appRoot .sm-work-zone{display:flow-root;width:100%;max-width:100%}
#appRoot .sm-work-zone .step1-next-wrap.visible{width:100%;max-width:100%;box-sizing:border-box;left:auto!important;right:auto!important;background:transparent!important}

/* Desktop catalog follows the admin order across three equal columns. */
html[data-request-layout="desktop"] #appRoot #directionList.sm-managed-categories{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-flow:row;align-items:start}

/* Desktop submenus grow with their content and use the page scrollbar. */
html[data-request-layout="desktop"] #appRoot #directionList{height:auto!important;max-height:none!important;overflow:visible}
html[data-request-layout="desktop"] #appRoot #directionList .step1-work-group:has(>.step1-work-group-head[aria-expanded="true"]){position:relative!important;inset:auto!important;grid-column:1/-1;width:100%;height:auto!important;min-height:0;max-height:none!important}
html[data-request-layout="desktop"] #appRoot #directionList:has(.step1-work-group-head[aria-expanded="true"]) .step1-work-group:not(:has(>.step1-work-group-head[aria-expanded="true"])){display:none}
html[data-request-layout="desktop"] #appRoot #directionList .step1-work-group-body{flex:none!important;height:auto!important;max-height:none!important;overflow:visible!important;overscroll-behavior:auto;scrollbar-gutter:auto}

/* Desktop details are a standalone page block with an explicit close action. */
html[data-request-layout="desktop"] #appRoot:has(#step2:not(.hidden)){display:block;min-height:0!important;padding-bottom:24px}
html[data-request-layout="desktop"] #appRoot:has(#step2:not(.hidden))>.topbar,
html[data-request-layout="desktop"] #appRoot:has(#step2:not(.hidden))>#progressWrap{display:none!important}
html[data-request-layout="desktop"] #appRoot:has(#step2:not(.hidden))>main{max-width:1040px;margin:24px auto 0;padding:24px 32px;border:1px solid #dfe6e2;border-radius:22px;min-height:0;box-sizing:border-box}
html[data-request-layout="desktop"] #appRoot #step2{position:relative}
html[data-request-layout="desktop"] #appRoot #step2>h2{min-height:44px;padding-right:60px;display:flex;align-items:center}
.sm-desktop-request-close{position:absolute;right:0;top:0;z-index:2;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:#e4eee7;color:#123f31;font:32px/1 Arial,sans-serif;cursor:pointer}
.sm-desktop-request-close:hover{background:#d5e5da}
.sm-desktop-request-close:focus-visible{outline:3px solid #bca269;outline-offset:3px}

/* There are only two layouts; medium windows use the complete mobile view. */
html[data-request-layout="mobile"] #appRoot #directionList.sm-managed-categories{grid-template-columns:minmax(0,1fr)}
html[data-request-layout="mobile"] .sm-desktop-request-close{display:none}
/* Keep master filters in view while the list scrolls, within this section only. */
#appRoot.is-step1{overflow:visible}
.masters-showcase .masters-filters{position:sticky;top:0;z-index:25;background:#f7faf7;padding:14px 0;margin:8px 0 18px;border-bottom:1px solid #dce6de;box-shadow:0 10px 18px -18px #173e3155}
@media(max-width:1199px){.masters-showcase .masters-filters{top:env(safe-area-inset-top,0px);padding:12px 0}.masters-showcase .masters-filter-mobile{width:100%}}
