/* Service clarity within the existing production desk, using its type and palette. */
.work-surface .choices :is(button,a) span{white-space:normal;line-height:1.25;text-wrap:balance}
.work-surface .choices :is(button,a){min-height:54px}
#content-body .section-heading p{max-width:64ch;font-size:16px;line-height:1.6;margin:10px 0}
#content-body .tracks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#content-body .track{max-width:none;width:100%;min-width:0;border-color:#bdc9df99;background:#edf1f788;border-radius:12px;padding:14px 16px}
#content-body .track strong{font-size:16px;line-height:1.35}
#content-body .track span{font-size:14px;line-height:1.45;color:#52617b}
#content-body .service-copy>p:not(.kicker){font-size:16px;line-height:1.6}
#content-body .service-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
#content-body .service-actions :is(button,a){font-size:14px;min-height:44px;display:inline-flex;align-items:center;padding:10px 14px;border-radius:10px}
#content-body .service-actions button{background:#e0e9fb;color:#1c458d;border:1px solid #b7c9eb88}
#brief-services .service-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;border:0;padding:10px 0;margin:0}
#brief-services legend{font-size:14px;color:#465675;padding:8px 0}
#brief-services .service-options label{display:flex;align-items:flex-start;gap:8px;margin:0;padding:8px 0;font-size:14px;line-height:1.45;cursor:pointer}
#brief-services .service-options input{appearance:auto;flex:0 0 18px;width:18px;height:18px;min-height:18px;margin:2px 0 0;padding:0;accent-color:#225bd3;box-shadow:none}
#brief-services summary{font-size:14px;min-height:40px;line-height:1.5}
.events-intro{position:absolute;z-index:4;left:310px;right:28px;top:86px;width:fit-content;max-width:calc(100% - 340px);padding:14px 18px;border-radius:14px;background:#f3f6fbdc;border:1px solid #ffffffb0;backdrop-filter:blur(14px)}
.events-intro h2{font-size:22px;line-height:1.2;margin:0}
.events-intro p{font-size:14px;line-height:1.5;margin:7px 0}
.events-intro>div{display:flex;flex-wrap:wrap;gap:8px}
.events-intro button{font-size:14px;min-height:42px;padding:9px 13px;background:#dfe9fb;color:#1d458e;border:1px solid #b7c9eb66;border-radius:9px}
.events-intro>a{display:inline-block;margin-top:10px;font-size:13px;color:#405577;text-decoration:underline}
@media(max-width:720px){
 .masthead nav :is(a,button){padding-inline:7px}
 .work-surface .choices :is(button,a){font-size:12px;min-height:54px;padding:8px;white-space:normal}
 .work-surface:has(.choices:not([hidden]))>.scene-heading{top:320px}
 .work-surface:has(.choices:not([hidden])) .scene-window{top:490px}
 .work-surface:has(.choices:not([hidden])) :is(.service-scene,.website-scene){top:440px}
 .work-surface:has(.choices:not([hidden])) .commercial-scene{top:430px}
 .desk .work-surface[data-capability=estate]{--global-scene-height:886px}
 .work-surface[data-capability=estate] .storyboard-actions{top:436px}
 .events-intro{left:16px;right:16px;top:320px;max-width:none;width:auto;padding:13px 14px}
 .events-intro h2{font-size:20px}
 #content-body .tracks{grid-template-columns:1fr}
}
@media(max-width:380px){#brief-services .service-options{grid-template-columns:1fr}}

/* Compact chooser: short category labels, then one selected service. */
#content-dialog:has(#offerings){width:min(850px,94vw);padding:25px 28px}
#content-dialog:has(#offerings) .dialog-heading{margin-bottom:8px}
#content-dialog:has(#offerings) .dialog-heading>p{display:none}
#content-dialog:has(#offerings) #content-title{font-size:28px;line-height:1.2;margin:0 44px 12px 0}
.service-menu-intro{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:6px 20px;margin-bottom:16px}
.service-menu-intro p{font-size:14px;line-height:1.5;color:#52617b}
.service-menu-intro a{font-size:14px;color:#2454b2;text-decoration:underline;text-underline-offset:3px}
#content-body .tracks{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:0 0 22px}
#content-body .track{min-height:44px;padding:10px 12px;border-radius:9px;background:transparent;border-color:#bdc9df77;justify-content:center;text-align:center}
#content-body .track strong{font-size:14px;line-height:1.3;font-weight:600}
#content-body .track.active{background:#e2ebfc;border-color:#98b5ec}
#content-body .track-panel{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:18px 22px}
#content-body .service-frame{margin:0;min-width:0}
#content-body .service-frame img{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;border-radius:12px;display:block}
#content-body .service-frame figcaption{font-size:12px;line-height:1.5;display:flex;flex-wrap:wrap;gap:3px 12px;margin-top:7px;color:#52617b}
#content-body .service-copy h3{font-size:22px;line-height:1.2;margin:0 0 10px}
#content-body .service-copy>p:not(.kicker){font-size:15px;line-height:1.5;margin:0}
#content-body .service-actions{gap:6px;margin-top:14px}
#content-body .service-actions :is(button,a){min-height:42px;padding:8px 11px;font-size:13px}
#content-body .track-plan{border-top:1px solid #bdc9df66;padding-top:12px}
#content-body .track-plan summary{cursor:pointer;font-size:14px;min-height:30px}
#content-body .track-plan>p{font-size:14px;line-height:1.55;margin:12px 0;color:#52617b}
#scope-chooser{margin:6px 0 0;border:1px solid #becadd;border-radius:9px;background:#f1f4fa}
#scope-chooser>summary{display:flex;justify-content:space-between;align-items:center;gap:12px;list-style:none;min-height:44px;font-size:15px;padding:10px 12px;color:#213858}
#scope-chooser>summary::-webkit-details-marker{display:none}
#scope-chooser[open]>summary{border-bottom:1px solid #becadd88}
#scope-options{padding:8px;display:flex;flex-wrap:wrap;gap:6px}
#scope-chooser:not([open])>#scope-options{display:none}
.masthead .portal .enterprise-name{display:flex;flex-direction:column;gap:2px;align-items:flex-start;white-space:nowrap;line-height:1.15}
.enterprise-name strong{font-size:13px;font-weight:650}
.enterprise-name small{font-size:10px;font-weight:400;opacity:.7;letter-spacing:.02em}
@media(max-width:720px){
 #content-dialog:has(#offerings){padding:22px 18px}
 #content-body .tracks{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:18px}
 #content-body .track-panel{grid-template-columns:1fr;gap:14px}
 #content-body .service-frame img{aspect-ratio:2.4/1}
 .masthead .portal{padding-left:9px;gap:0}
 .masthead .portal svg{display:none}
 .masthead .portal .enterprise-name{display:flex}
 .enterprise-name strong{font-size:11px}
 .enterprise-name small{font-size:9px}
}

/* Keep the named workspace at the upper right on small screens. */
@media(max-width:720px){
 .desk .masthead{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:7px;align-items:center;padding-inline:11px}
 .desk .masthead>.brand{grid-column:1;grid-row:1}
 .desk .masthead>.masthead-cta{grid-column:2;grid-row:1;margin:0;gap:6px;padding-inline:8px}
 .desk .masthead>.portal{grid-column:3;grid-row:1;justify-self:end;padding-left:7px;min-height:40px}
 .desk .masthead>nav{grid-column:1/-1;grid-row:2;width:100%;min-width:0}
}
@media(max-width:400px){
 .desk .masthead>.brand{font-size:20px}
 .desk .masthead>.masthead-cta{font-size:10px}
 .desk .masthead>.masthead-cta>span{display:none}
 .desk .masthead .enterprise-name strong{font-size:10px}
 .desk .masthead .enterprise-name small{font-size:8px}
}
