/* v28A106BB — Crew, district and commerce suite. Presentation only. */
html body.md106z-ui.md103c-responsive-shell main.main[data-md-page] .md-bb-links{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:12px 0;color:#a8bdcb;font-size:12px;line-height:1.5}
html body.md106z-ui.md103c-responsive-shell main.main[data-md-page] .md-bb-links a{display:inline-flex;align-items:center;min-height:36px;padding:8px 12px;border:1px solid #294b5d;border-radius:9px;background:#112531;color:#d4f4fa;text-decoration:none;font-weight:700}
html body.md106z-ui.md103c-responsive-shell main.main[data-md-page] .md-bb-links a:hover{border-color:#43bfd0;background:#173342}
html body.md106z-ui.md103c-responsive-shell main.main[data-md-page] .md-bb-links a:focus-visible,html body.md106z-ui.md103c-responsive-shell main.main[data-md-page] .md-bb-guidance summary:focus-visible{outline:2px solid #61d7e5;outline-offset:3px}
html body.md106z-ui.md103c-responsive-shell main.main[data-md-page] .md-bb-muted{color:#a2b9c7;font-size:12px;line-height:1.55;margin:10px 0}
html body.md106z-ui.md103c-responsive-shell main.main[data-md-page] .md-bb-empty{grid-column:1/-1;padding:22px;border:1px dashed #315363;border-radius:12px;color:#bdd1dc;background:#0d1c28;line-height:1.5}
html body.md106z-ui.md103c-responsive-shell main.main[data-md-page] .md-bb-guidance summary{cursor:pointer;font-size:14px;font-weight:750;color:#d9edf4;padding:4px 0}
html body.md106z-ui.md103c-responsive-shell main.main[data-md-page] .md-bb-guidance:not([open]){padding:14px}
/* Crew HQ keeps identity and treasury visible for members; guests see recruitment. */
html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="crew"] .orgd-shell{max-width:1280px;margin-inline:auto;min-width:0}
html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="crew"] .orgd-hero{border-radius:16px!important;padding:22px!important}
html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="crew"] .orgd-title{font-size:clamp(25px,3vw,36px)!important;line-height:1.15;overflow-wrap:anywhere}
html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="crew"] .orgd-sub{max-width:78ch;line-height:1.5!important}
html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="crew"] .orgd-nav{gap:7px;flex-wrap:wrap}
html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="crew"] .orgd-scoreboard{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;margin-top:14px!important}
html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="crew"] .orgd-stat{padding:12px!important;min-width:0}
html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="crew"] .orgd-stat .value{font-size:24px!important;overflow-wrap:anywhere}
html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="crew"] .orgd-stat .note{font-size:11px;line-height:1.4}
/* Profile/applications retain a crew's selected custom banner and theme colour. */
html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="crew_directory"] .cd-wrap,html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="crew_public"] .crew-public-wrap,html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="crew_apply"] .ca-wrap{width:100%!important;max-width:1280px!important;margin-inline:auto!important;padding:0!important;min-width:0}
html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="crew_directory"] .cd-hero{border-radius:16px;padding:22px;background:linear-gradient(90deg,rgba(9,21,32,.97),rgba(9,21,32,.60)),url('/assets/img/scenes/crew-ah.webp') center/cover!important}
html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="crew_directory"] .cd-title{font-size:clamp(25px,3vw,36px)!important}
html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="crew_directory"] .cd-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="crew_directory"] .cd-card{border-radius:14px;background:#101e2b!important;box-shadow:none!important;min-width:0}
html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="crew_directory"] .cd-input{min-width:0;min-height:40px;padding:10px 12px;flex-basis:240px}
html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="crew_directory"] .cd-btn{background:#137d91!important;border-radius:9px}
html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="crew_directory"] .cd-btn.ghost{background:#152936!important}
html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="crew_directory"] .cd-name,html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="crew_directory"] .cd-val{overflow-wrap:anywhere}
html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="crew_public"] .crew-public-banner,html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="crew_apply"] .ca-banner{height:clamp(150px,20vw,230px)!important;min-height:0!important}
html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="crew_public"] .crew-public-banner img{width:100%;height:100%;max-height:none!important;object-fit:cover;display:block}
html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="crew_public"] .crew-public-shell,html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="crew_apply"] .ca-shell{box-shadow:none!important;background:#0e1b28!important;border-radius:16px!important}
html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="crew_public"] .crew-public-body,html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="crew_apply"] .ca-body{padding:20px!important}
html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="crew_public"] .crew-public-title,html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="crew_apply"] .ca-head{position:static!important;display:flex!important;align-items:center!important;gap:16px!important;margin:0 0 18px!important}
html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="crew_public"] .crew-public-title>div,html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="crew_apply"] .ca-head>div{min-width:0}
html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="crew_public"] .crew-public-emblem,html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="crew_apply"] .ca-emblem{width:64px!important;height:64px!important;flex:0 0 64px!important;box-shadow:none!important;font-size:30px!important;border-radius:14px!important}
html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="crew_public"] h1,html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="crew_apply"] .ca-title{font-size:clamp(25px,3vw,36px)!important;line-height:1.15;overflow-wrap:anywhere}
html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="crew_public"] .crew-public-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="crew_public"] .crew-public-stat,html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="crew_apply"] .ca-stat{min-width:0;border-radius:12px!important;padding:12px!important;background:#132533!important}
html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="crew_public"] .crew-public-stat .v,html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="crew_apply"] .ca-v{overflow-wrap:anywhere;font-size:18px!important}
/* Territory pages share one visual language; scene imagery is not a geographic map. */
html body.md106z-ui.md103c-responsive-shell main.main:is([data-md-page="territories"],[data-md-page="territory_sectors"]) .v28a100q-sector-board-page:before{display:none!important}
html body.md106z-ui.md103c-responsive-shell main.main:is([data-md-page="territories"],[data-md-page="territory_sectors"]) .tc-crew-hero,html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="territory_history"] .th101b-hero{background:linear-gradient(90deg,rgba(9,20,31,.98),rgba(9,20,31,.55)),url('/assets/img/scenes/territory-district-bb.webp') center/cover!important;border:1px solid #2b485a!important;border-radius:16px!important}
html body.md106z-ui.md103c-responsive-shell main.main:is([data-md-page="territories"],[data-md-page="territory_sectors"]) .tc-v28a100o-maphero{background:linear-gradient(90deg,rgba(8,20,31,.91),rgba(8,20,31,.48)),url('/assets/img/scenes/territory-district-bb.webp') center/cover!important;min-height:230px!important;border-radius:16px!important}
html body.md106z-ui.md103c-responsive-shell main.main:is([data-md-page="territories"],[data-md-page="territory_sectors"]) .tc-v28a100o-maphero:before,html body.md106z-ui.md103c-responsive-shell main.main:is([data-md-page="territories"],[data-md-page="territory_sectors"]) .tc-v28a100o-maphero:after{display:none!important}
html body.md106z-ui.md103c-responsive-shell main.main:is([data-md-page="territories"],[data-md-page="territory_sectors"]) .tc-v28a100o-pins{position:relative;inset:auto!important;margin:0!important;z-index:1;display:flex!important;flex-wrap:wrap;gap:8px;padding:0 22px 20px!important}
html body.md106z-ui.md103c-responsive-shell main.main:is([data-md-page="territories"],[data-md-page="territory_sectors"]) .tc-v28a100o-pin{position:static!important;transform:none!important;max-width:100%;white-space:normal!important;border:1px solid #355666!important;background:#112531!important;padding:8px 12px!important;border-radius:9px!important;font-size:12px!important;text-decoration:none}
html body.md106z-ui.md103c-responsive-shell main.main:is([data-md-page="territories"],[data-md-page="territory_sectors"]) .tc-v28a100o-dot{display:none}
html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="territory_sectors"] .tc-v28a100s-tiles{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="territory_sectors"] .tc-v28a100s-tile{min-width:0;background:#101f2c!important;border-radius:14px!important;padding:16px!important}
html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="territory_sectors"] .tc-v28a100s-name{font-size:18px;line-height:1.25;overflow-wrap:anywhere}
html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="territory_sectors"] .tc-v28a100s-direct-board{grid-template-columns:minmax(0,1fr) minmax(230px,280px)!important;align-items:start!important}
html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="territory_sectors"] .tc-v28a100s-side{display:grid!important;gap:12px;min-width:0}
html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="territory_sectors"] .tc-v28a100s-tile button:disabled{opacity:.45;cursor:not-allowed}
html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="territory_history"] .th101b-map{background:url('/assets/img/scenes/territory-district-bb.webp') center/cover!important;min-height:200px}
html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="territory_history"] .th101b-line,html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="territory_history"] .th101b-node{display:none!important}
html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="territory_history"] .th101b-art{background:#0b1b29e6;color:#aecbd7;padding:8px 12px;border-radius:8px}
/* Commerce board: real costs, net proceeds and decorative catalogue artwork. */
html body.md106z-ui.md103c-responsive-shell main.main:is([data-md-page="business"],[data-md-page="business_center"]) .md14-wrap{max-width:1280px!important;width:100%!important;margin-inline:auto!important;min-width:0}
html body.md106z-ui.md103c-responsive-shell main.main:is([data-md-page="business"],[data-md-page="business_center"]) .md14-hero{grid-template-columns:minmax(0,1fr) minmax(300px,380px)!important;gap:14px!important}
html body.md106z-ui.md103c-responsive-shell main.main:is([data-md-page="business"],[data-md-page="business_center"]) .md14-hero>.md14-panel:first-child,html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="business"] .bz3-topbar{background:linear-gradient(90deg,rgba(8,21,32,.96),rgba(8,21,32,.60)),url('/assets/img/scenes/business-street-bb.webp') center/cover!important;border-radius:16px!important}
html body.md106z-ui.md103c-responsive-shell main.main:is([data-md-page="business"],[data-md-page="business_center"]) .md14-title{font-size:clamp(26px,3vw,36px)!important;line-height:1.2}
html body.md106z-ui.md103c-responsive-shell main.main:is([data-md-page="business"],[data-md-page="business_center"]) .md14-business{min-width:0;border-radius:14px!important;background:#101f2c!important}
html body.md106z-ui.md103c-responsive-shell main.main:is([data-md-page="business"],[data-md-page="business_center"]) .md-bb-business-art{width:100%;aspect-ratio:16/9;object-fit:cover;display:block;border-bottom:1px solid #294351}
html body.md106z-ui.md103c-responsive-shell main.main:is([data-md-page="business"],[data-md-page="business_center"]) .md14-card-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}
html body.md106z-ui.md103c-responsive-shell main.main:is([data-md-page="business"],[data-md-page="business_center"]) .md14-card-actions button{white-space:normal!important;line-height:1.35!important;min-height:40px!important}
html body.md106z-ui.md103c-responsive-shell main.main:is([data-md-page="business"],[data-md-page="business_center"]) .md14-card-actions button:disabled{opacity:.45;cursor:not-allowed}
html body.md106z-ui.md103c-responsive-shell main.main:is([data-md-page="business"],[data-md-page="business_center"]) .bz3-root{width:100%!important;margin:0!important;padding:0!important}
@media(min-width:1450px){html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="crew"] .orgd-scoreboard{grid-template-columns:repeat(6,minmax(0,1fr))!important}}
@media(max-width:1000px){html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="territory_sectors"] .tc-v28a100s-direct-board,html body.md106z-ui.md103c-responsive-shell main.main:is([data-md-page="business"],[data-md-page="business_center"]) .md14-hero{grid-template-columns:minmax(0,1fr)!important}html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="territory_sectors"] .tc-v28a100s-side{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:700px){html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="crew_directory"] .cd-grid,html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="territory_sectors"] .tc-v28a100s-tiles,html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="territory_sectors"] .tc-v28a100s-side{grid-template-columns:minmax(0,1fr)!important}html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="crew"] .orgd-scoreboard,html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="crew_public"] .crew-public-grid,html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="crew_apply"] .ca-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="crew_public"] .crew-public-body,html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="crew_apply"] .ca-body{padding:14px!important}html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="crew_directory"] .cd-search{display:flex!important;gap:8px}html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="crew_directory"] .cd-search .cd-btn{width:auto!important;flex:1 1 auto}html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="crew_directory"] .cd-input{flex-basis:100%;width:100%!important;margin:0!important}html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="crew_public"] .crew-public-title,html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="crew_apply"] .ca-head{align-items:flex-start!important}html body.md106z-ui.md103c-responsive-shell main.main:is([data-md-page="business"],[data-md-page="business_center"]) .md14-card-actions{grid-template-columns:minmax(0,1fr)!important}}

html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="crew_public"] .crew-public-profile-card{margin:0!important;box-shadow:none!important;background:#10212f!important;border-radius:14px!important}

/* v28A106BC: compact research controls; POST action forms are not targeted. */
html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="crew_directory"] .cd-search{
 display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:8px!important;
 margin:14px 0 0!important;padding:0!important;min-width:0!important;
}
html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="crew_directory"] .cd-search .cd-input{
 flex:1 1 260px!important;width:auto!important;min-width:0!important;margin:0!important;
 box-sizing:border-box!important;min-height:40px!important;padding:9px 12px!important;
}
html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="crew_directory"] .cd-search .cd-btn{
 flex:0 0 auto!important;width:auto!important;min-width:0!important;min-height:40px!important;
 margin:0!important;padding:9px 12px!important;box-sizing:border-box!important;white-space:normal!important;
}
html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="territory_history"] .th101b-filters{
 display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto!important;
 align-items:center!important;gap:10px!important;margin:0!important;min-width:0!important;
}
html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="territory_history"] .th101b-filters :is(select,button){
 min-width:0!important;width:100%!important;box-sizing:border-box!important;margin:0!important;
 min-height:40px!important;padding:9px 12px!important;
}
html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="crew"] .md-bc-finance{
 border:1px solid #294351;border-radius:12px;background:#0d1c28;margin:0 0 12px;padding:12px 14px;
}
html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="crew"] .md-bc-finance p{
 color:#b6c9d6;font-size:13px;line-height:1.6;margin:10px 0 0;
}
html body.md106z-ui.md103c-responsive-shell main.main:is([data-md-page="crew_directory"],[data-md-page="crew_public"]) :is(.cd-val,.crew-public-stat .v){
 overflow-wrap:anywhere!important;min-width:0!important;
}
@media(max-width:700px){
 html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="crew_directory"] .cd-search .cd-input{flex:1 1 100%!important;width:100%!important;}
 html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="crew_directory"] .cd-search .cd-btn{flex:1 1 auto!important;}
 html body.md106z-ui.md103c-responsive-shell main.main[data-md-page="territory_history"] .th101b-filters{grid-template-columns:minmax(0,1fr)!important;}
}
