/* All Assembly roles use the Premier Question Period palette and frame. */
:is(.mb-shell,.fj-shell,.ft-shell){--gold:#efcc87;--mb-ink:#f5f0df;--mb-green:#eac789;--mb-paper:#102829;--ft-ink:#f5f0df;--ft-sage:#eac789;--ft-paper:#102829;--ft-gold:#efcc87;--ft-line:#ffffff26;--fj-ink:#f5f0df;--fj-green:#eac789;background:#091c1e;color:#f5f0df;font:13px/1.6 system-ui,sans-serif}
:is(.mb-header,.fj-header,.ft-header){padding:10px 18px;gap:12px;min-height:58px;background:#102c2c;color:#f5f0df;border-bottom:1px solid #ffffff15}
:is(.mb-brand,.ft-brand){gap:10px}.mb-seat-icon,.ft-brand-icon{display:none}
:is(.mb-header,.fj-header,.ft-header) :is(h1,p){font:700 13px/1.4 system-ui,sans-serif;letter-spacing:normal;color:#fff2cf;margin:0}
:is(.mb-brand,.ft-brand)>div>p,.fj-header>div>p{font-size:10px;font-weight:400;color:#d3ba85;text-transform:uppercase;letter-spacing:.08em}
:is(.mb-header nav,.fj-header nav,.ft-tools){display:flex;align-items:center;gap:7px}
:is(.mb-header nav button,.mb-return,.fj-header .fj-button,.ft-tools button){min-height:36px;min-width:44px;padding:9px 12px;border:1px solid #ffffff30;border-radius:7px;background:#ffffff09;color:#f3efdf;font-size:12px;font-weight:400!important}
:is(.mb-header nav button,.ft-tools button)[aria-pressed=true]{background:#ffffff1a;color:#f3efdf;border-color:#b5c3b1}
:is(.mb-header,.ft-header) svg{width:16px;height:16px}
:is(.mb-main,.fj-layout,.ft-main){grid-template-columns:minmax(0,1fr) 340px;grid-template-rows:minmax(0,1fr);min-width:0}
:is(.mb-scene,.fj-world,.ft-stage){display:block;position:relative;min-height:0;background:radial-gradient(ellipse at top,#6e5944,#152b27 70%)}
:is(#member-stage,#journey-stage,.ft-view){position:absolute;inset:0;min-height:0}
.activity-sidebar{display:flex;flex-direction:column;gap:12px;min-height:0;min-width:0;overflow:auto;overscroll-behavior:contain;padding:18px;border-left:1px solid #ffffff15;background:linear-gradient(140deg,#153332,#102829)}
.activity-sidebar :is(.mb-panel,.fj-panel,.ft-panel){flex:none;min-height:0;overflow:visible;border:0;background:none;scrollbar-gutter:auto}
:is(.mb-panel-inner,.fj-panel-inner,.ft-panel-inner){padding:0}
.activity-sidebar :is(h2,h3){font:400 24px/1.15 Georgia,serif;letter-spacing:normal;color:#f5f0df;margin:8px 0}
.activity-sidebar p{font-size:13px;line-height:1.6;color:#d4ddd1;margin:6px 0}
:is(.mb-actions,.fj-actions,.ft-actions){margin-top:12px;gap:8px}
:is(.mb-action,.mb-candidate,.fj-button,.fj-choice,.ft-btn,.ft-choice){min-height:44px;padding:10px 12px;border:1px solid #ffffff26;border-radius:7px;background:#ffffff07;color:#f1ecdf;font-size:12px!important;line-height:1.45;font-weight:500!important;text-decoration:none}
:is(.mb-action,.mb-candidate,.fj-button,.fj-choice,.ft-btn,.ft-choice):hover{background:#ffffff10;border-color:#e4c583}
:is(.mb-action-primary,.fj-button:not(.fj-quiet),.ft-btn-primary){background:#eac789;color:#18302b;border-color:#eac789;font-weight:750!important}
:is(.mb-action-primary,.fj-button:not(.fj-quiet),.ft-btn-primary):hover{background:#f0d59a;color:#18302b}
:is(.mb-candidate,.fj-choice,.ft-choice)[aria-pressed=true]{background:#edc78312;border-color:#efcc87;box-shadow:inset 3px 0 #efcc87}
.activity-sidebar :is(.mb-caption,.fj-caption,.ft-caption){display:block;flex:none;max-height:none;margin:0;padding:12px;border:1px solid #b5c3b13a;border-left:2px solid #efcc87;border-radius:8px;background:#0b2424;color:#f5f0df;font-size:13px;line-height:1.55;overflow:visible}
.activity-sidebar :is(.mb-caption,.fj-caption,.ft-caption):empty{display:none}
:is(.mb-caption strong,.fj-caption strong,.ft-caption-speaker){display:block;font:400 9px/1.5 system-ui,sans-serif;text-transform:uppercase;letter-spacing:.08em;color:#efcc87;margin-bottom:5px}
:is(.mb-caption span,.fj-caption span,.ft-caption-text){font-size:13px;line-height:1.55}
:is(.mb-result,.mb-wait-note,.mb-support,.fj-note,.fj-anthem,.ft-note){padding:12px;border:1px solid #ffffff12;border-radius:8px;background:#ffffff07;color:#d4ddd1}
:is(.mb-round,.fj-kicker,.ft-progress>span:first-child){font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#d7c59b}
:is(.mb-galleries,.mb-public-votes,.fj-outline){font-size:12px;color:#d4ddd1;border-color:#ffffff26}
:is(.mb-galleries summary,.mb-public-votes summary,.fj-outline summary,.fj-outline [aria-current=step],.mb-candidate strong){color:#efcc87}
:is(.mb-galleries dd,.mb-candidate span,.mb-candidate small,.fj-choice span,.fj-credit,.fj-credit a){color:#d4ddd1}
:is(.mb-public-votes li,.fj-outline p){border-color:#ffffff26}
.activity-sidebar> :is([data-member=explore],[data-full=EXPLORE]),:is(.mb-panel,.fj-panel)>:is([data-member=explore],[data-full=EXPLORE]){margin-top:12px;padding:9px 12px;border:1px solid #ffffff30;border-radius:7px;background:#ffffff09;color:#f3efdf;font:12px system-ui,sans-serif;min-height:44px;cursor:pointer}
.activity-voice-status{font-size:11px;color:#d4ddd1;line-height:1.5}.activity-retry{align-self:start;min-height:44px}
:is(.mb-shell,.fj-shell,.ft-shell) :is(button,a,summary,[tabindex]):focus-visible{outline:3px solid #efcc87;outline-offset:3px}
@media(max-width:1000px){:is(.mb-main,.fj-layout,.ft-main){grid-template-columns:minmax(0,1fr) 310px}}
@media(max-width:720px){:is(.mb-header,.fj-header,.ft-header){padding:8px;flex-wrap:wrap;gap:6px}.fj-header nav{flex-direction:row}:is(.mb-header,.fj-header,.ft-header)>:first-child{width:100%}:is(.mb-header nav,.fj-header nav,.ft-tools){width:100%;flex-wrap:wrap}:is(.mb-header nav button,.mb-return,.fj-header .fj-button,.ft-tools button){min-height:44px}.mb-header nav span,.ft-header .ft-tools span{display:inline}:is(.mb-main,.fj-layout,.ft-main){grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(180px,1fr) minmax(180px,.8fr)}.activity-sidebar{padding:12px;border-left:0;border-top:1px solid #ffffff15}.activity-sidebar :is(h2,h3){font-size:21px}.activity-sidebar :is(.mb-caption,.fj-caption,.ft-caption){padding:10px}}
@media(max-height:520px) and (orientation:landscape){:is(.mb-main,.fj-layout,.ft-main){grid-template-columns:minmax(0,1fr) minmax(260px,38%);grid-template-rows:minmax(0,1fr)}:is(.mb-header,.fj-header,.ft-header){min-height:44px;padding:4px 12px}.activity-sidebar{padding:12px}}
/* Tour-specific learning aids retain their content within the shared panel. */
.activity-sidebar :is(.ft-notices,.ft-sources summary,.ft-sources a,.ft-field-glossary summary,.ft-image-credit,.ft-image-credit a,.ft-art-view figcaption,.ft-art-view figcaption a,.ft-office-note small,.ft-topics-progress,.ft-control-hint,.ft-bill-path li,.ft-bill-path li::before,.ft-art-count,.ft-art-name,.ft-ceremony-stage){color:#d4ddd1}
.activity-sidebar :is(.ft-choice-btn,.ft-btn-answer){background:#ffffff07;color:#f1ecdf;border-color:#ffffff26;font-size:12px;min-height:44px}
.activity-sidebar :is(.ft-choice-btn,.ft-btn-answer)[aria-pressed=true]{background:#edc78312;border-color:#efcc87;box-shadow:inset 3px 0 #efcc87}
.activity-sidebar :is(.ft-office-note,.ft-object-definition,.ft-riley-clue,.ft-postcard){background:#ffffff07;border-color:#ffffff26;box-shadow:none;color:#d4ddd1}
.activity-sidebar :is(.ft-object-definition h3,.ft-object-definition p,.ft-riley-clue figcaption,.ft-postcard figcaption,.ft-bill-path li.ft-bill-reading){color:#f5f0df}
@media(max-width:900px){.activity-sidebar p{font-size:15px;line-height:1.5}.activity-sidebar :is(.mb-action,.mb-candidate,.fj-button,.fj-choice,.ft-btn,.ft-choice-btn){font-size:15px!important;min-height:48px}.activity-sidebar :is(.mb-caption span,.fj-caption span,.ft-caption-text){font-size:14px}}
:is(.activity-sidebar,.chamber-right) .ch-explore-panel{padding:0;color:#f5f0df;background:transparent;border:0;border-radius:0}
:is(.activity-sidebar,.chamber-right) .ch-explore-panel>button{background:#ffffff07;color:#f1ecdf;border:1px solid #ffffff26;border-radius:7px;font-size:13px}
:is(.activity-sidebar,.chamber-right) [data-media]{background:#ffffff07;color:#f1ecdf;border-color:#ffffff26;border-radius:7px;font-size:13px}
:is(.activity-sidebar,.chamber-right) [data-media=start]{background:#eac789;color:#18302b;border-color:#eac789;font-weight:750}
.activity-controlhint{color:#f5f0df;font:11px/1.65 system-ui,sans-serif;pointer-events:none;text-shadow:0 1px 3px #0008}
.chamber-touch-movement.has-keyboard-help{box-sizing:border-box;width:230px;height:auto;padding:14px 16px 12px;border:1px solid #ead6aa38;border-radius:14px;background:#0b2429db;backdrop-filter:blur(10px);display:flex;flex-direction:column;align-items:center;gap:0}
.chamber-touch-movement.has-keyboard-help :is(.activity-controlhint,.chamber-keyhint){display:block;position:static;box-sizing:border-box;width:100%;max-width:none;margin:12px 0 0;padding:12px 0 0;border:0;border-top:1px solid #ead6aa30;border-radius:0;background:transparent;line-height:1.7;text-align:center;font-size:11px}
.chamber-touch-movement.has-keyboard-help :is(.chamber-thumbstick,.chamber-thumbstick-label)[hidden]{display:none!important}
@media(max-width:720px){.chamber-touch-movement.has-keyboard-help{width:184px;padding:10px 12px}.chamber-touch-movement.has-keyboard-help :is(.activity-controlhint,.chamber-keyhint){font-size:10px;margin-top:10px;padding-top:10px}.chamber-touch-movement.has-keyboard-help .chamber-thumbstick{width:88px;height:88px;min-width:88px;min-height:88px}.chamber-touch-movement.has-keyboard-help .chamber-thumbstick:before{height:64px}.chamber-touch-movement.has-keyboard-help .chamber-thumbstick:after{width:64px}}

.ft-cropped-portrait{display:block;width:100%;height:100%;overflow:hidden}.ft-mace-photo{margin:16px 0}.ft-mace-photo img{width:100%;display:block;border:1px solid #e8c88866;border-radius:8px}.ft-mace-photo figcaption{font:11px/1.5 system-ui,sans-serif;color:#cbd7c8;margin-top:8px}

.chamber-stage[data-touch-controls=true] :is(.seat-shortcut,.chamber-door-action,.chamber-exit-assist){display:none!important}
.activity-sidebar :is(.ft-art-name,.ft-art-name h3,.ft-art-name p,.ft-riley-clue p,.ft-sources summary){color:#e7e6d4}.activity-sidebar .ft-riley-clue{background:#ffffff07;border-color:#ffffff26}

.activity-sidebar .ft-identification :is(strong,span,small){color:#e7e6d4}.activity-sidebar .ft-portrait-clue{background:#ffffff07;color:#d4ddd1;border-color:#d9bd82}.activity-sidebar .ft-portrait-clue span{color:inherit}.chamber-thumbstick[hidden]~:is(.activity-controlhint,.chamber-keyhint){margin-top:0!important;padding-top:0!important;border-top:0!important}

/* Phone navigation stays circular and clear of instructional panels. */
@media(max-width:720px),(pointer:coarse) and (max-width:1000px) and (max-height:600px){
 .chamber-touch-movement,.chamber-touch-movement.has-keyboard-help{box-sizing:border-box;width:88px;height:88px;padding:0;border:0;border-radius:0;background:transparent;backdrop-filter:none;box-shadow:none;gap:0;bottom:max(12px,env(safe-area-inset-bottom))!important}
 .chamber-touch-movement :is(.activity-controlhint,.chamber-keyhint),.chamber-touch-hint,.chamber-thumbstick-label,.chamber-controlsbar .chamber-keyhint{display:none!important}
 .chamber-touch-movement .chamber-thumbstick{width:88px;height:88px;min-width:88px;min-height:88px;margin:0;border-radius:50%}
 .chamber-touch-movement .chamber-thumbstick:before{height:64px}.chamber-touch-movement .chamber-thumbstick:after{width:64px}
}
