/* Actual image assets, replacing text badges throughout the learner journey. */
.customerPortrait{display:block;object-fit:cover;object-position:50% 36%;flex-shrink:0;background:#dbece5;border-radius:18px}
#scenarioCards{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important}
#scenarioCards .scenarioCard{display:flex!important;flex-direction:column;align-items:flex-start;position:relative;padding:18px!important;min-height:0!important;text-align:left;border:2px solid #dde8e5!important;border-radius:20px!important;overflow:hidden}
#scenarioCards .scenarioCard.selected{border-color:#177868!important;box-shadow:0 0 0 3px #17786822!important}
#scenarioCards .scenarioCard>.customerPortrait{position:static!important;width:100%;height:190px;border-radius:12px;margin:0 0 14px;object-position:50% 29%;background:#dceee6}
#scenarioCards .scenarioCard>b{font-size:17px!important;line-height:1.55!important;margin:5px 0;color:#163f46}
#scenarioCards .scenarioCard>small{font-size:14px!important;line-height:1.6!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#scenarioCards .scenarioCard>span{font-size:13px!important;color:#54746d}
#scenarioCards .scenarioCard em{position:static!important;margin-top:12px;font-size:13px!important}
.avatarPicker{margin-bottom:22px;padding:18px;background:#f0f6f4;border-radius:16px}.avatarPickerHead{margin-bottom:14px}.avatarPickerHead h3{margin:0 0 6px;font-size:19px}.avatarPickerHead small{font-size:14px;color:#56736b}.avatarChoices{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px}.avatarChoices button{background:#fff!important;color:#315a51!important;padding:6px!important;border:2px solid transparent!important;border-radius:14px!important;min-width:0}.avatarChoices button[aria-pressed=true]{border-color:#177868!important;background:#e1f2ea!important}.avatarChoices img{width:100%;height:auto;aspect-ratio:1;border-radius:10px}.avatarChoices span{display:block;margin:8px 0 3px;font-size:14px}.avatarChoices button:focus-visible{outline:3px solid #dfac46;outline-offset:3px}
.fieldIdentity>.customerPortrait{width:100px;height:112px;border-radius:18px;object-position:50% 30%}.fieldIdentity{align-items:center!important}
.missionCustomer>.customerPortrait{width:58px;height:66px;border-radius:14px}.missionCustomer{grid-template-columns:58px minmax(0,1fr) auto!important}
.continuePortrait{width:132px;height:148px;float:right;margin:0 0 14px 20px;border:3px solid #ffffff66;object-position:50% 28%}
.historyItem>summary>.customerPortrait{width:56px;height:64px;border-radius:12px;display:inline-block;margin-right:12px;vertical-align:middle}
.reviewPortraitHeader{display:flex;align-items:center;gap:16px;margin:8px 0 22px}.reviewPortraitHeader>.customerPortrait{width:76px;height:84px}.reviewPortraitHeader strong{display:block;font-size:20px}.reviewPortraitHeader small{font-size:14px;color:#5b7872}
#messages .msg.customer::before,#messages .msg.customer[data-avatar]::before{display:none!important;content:none!important}
#messages .msg.customer{position:relative!important;margin-left:52px!important;padding:14px 18px!important;max-width:calc(90% - 52px)!important}
#messages .msg.customer>.bubblePortrait{position:absolute;left:-52px;top:0;width:42px;height:46px;border-radius:12px}
#start>.hero{min-height:0!important;padding:22px 26px!important}#start>.hero h1{font-size:26px!important}#start>.hero p{font-size:15px!important}.startPanel>.heroRule{display:none}
@media(max-width:1000px){#scenarioCards{grid-template-columns:repeat(2,minmax(0,1fr))!important}.avatarChoices{grid-template-columns:repeat(4,minmax(0,1fr))}.missionLanes{grid-template-columns:repeat(4,minmax(240px,1fr))!important}}
@media(max-width:540px){#scenarioCards{gap:10px!important}#scenarioCards .scenarioCard{padding:10px!important}#scenarioCards .scenarioCard>.customerPortrait{height:138px}#scenarioCards .scenarioCard>b{font-size:15px!important}#scenarioCards .scenarioCard>small{font-size:14px!important}.avatarChoices{grid-template-columns:repeat(3,minmax(0,1fr))}.continuePortrait{width:88px;height:100px;margin-left:10px}.fieldIdentity>.customerPortrait{width:76px;height:88px}#messages .msg.customer{max-width:calc(100% - 52px)!important}}

/* Stable training-room grid: evidence spans the row; conversation stays central and dominant. */
#game .workbench{grid-template-columns:minmax(220px,250px) minmax(640px,1fr) minmax(240px,270px)!important}
#game .questHud,#game #permissionExplorer{grid-column:1/-1!important}
#game #permissionExplorer{margin:0!important;min-width:0}
#game .questHud{grid-template-columns:auto minmax(300px,1fr) auto auto!important;align-items:center!important;padding-bottom:38px!important}
#game .questHud>.soundToggle{display:flex!important;align-items:center;gap:7px;margin:0!important;white-space:nowrap;color:#c8dfd9;font-size:13px}
#game .questHud>.soundToggle input{width:auto;margin:0;flex:0 0 auto}
#game .intelPanel{grid-column:1!important}
#game .chat{grid-column:2!important;min-width:0}
#game .judgmentPanel{grid-column:3!important}
@media(max-width:1180px){#game .workbench{grid-template-columns:250px minmax(0,1fr)!important}#game .intelPanel{grid-column:1!important}#game .chat{grid-column:2!important}#game .judgmentPanel{grid-column:1/-1!important}}
@media(max-width:1350px){#game .questHud>small{display:none}}
@media(max-width:820px){#game .workbench{grid-template-columns:1fr!important}#game .questHud,#game #permissionExplorer,#game .intelPanel,#game .chat,#game .judgmentPanel{grid-column:1!important}}
