.language-bar { display:flex; align-items:center; justify-content:space-between; gap:1rem; min-height:37px; padding:3px clamp(14px,3vw,44px); color:#ebeadc; background:#172521; font:600 12px/1.3 "Avenir Next","Helvetica Neue",sans-serif; box-sizing:border-box; }
.language-bar .publisher { color:#d7d4c6; letter-spacing:.05em; }
[data-language-control] { display:inline-flex; align-items:center; gap:8px; }
[data-language-control] label { color:inherit; font:inherit; }
[data-language-control] select { font:inherit; color:#fff5e6; border:1px solid #718077; background:#23352e; border-radius:3px; padding:3px 5px; min-height:27px; }
[data-language-control] select:focus-visible { outline:2px solid #ffd297; outline-offset:2px; }
.save-notice { max-width:65ch; margin:0 auto; padding:.65rem 1rem; color:#20362b; background:#edf1e9; border:1px solid #acbaad; border-radius:5px; font:400 .91rem/1.48 system-ui,sans-serif; text-align:left; }
.save-notice summary { cursor:pointer; font-weight:650; }
.save-notice summary:focus-visible { outline:2px solid currentColor; outline-offset:3px; }
.save-notice p { margin:.55rem 0 0; color:inherit; font:inherit; }
.lobby .save-notice { margin:1rem 0 0; }
#app > .save-notice { margin:1rem auto; }
.language-bar [data-action="career-files"] {
  margin-inline-start: auto; min-height: 30px; padding: 3px 9px; border: 1px solid #829385; border-radius: 3px;
  background: transparent; color: #f3eee0; font: inherit; cursor: pointer;
}
.language-bar [data-action="career-files"]:focus-visible { outline: 2px solid #ffd297; outline-offset: 2px; }
#game-dialog [data-download-career] { padding: .65rem .9rem; border: 1px solid #516b5e; border-radius: 3px; background: #e2e9dc; color: #23382b; }
#game-dialog .career-file-picker { display: block; margin: 1rem 0 .35rem; font-weight: 650; }
#career-file-input { display: block; max-width: 100%; color: #23382b; font: inherit; font-size: .9rem; }
#career-file-input::file-selector-button { min-height: 40px; margin-inline-end: .45rem; }
#game-dialog .career-file-status { margin-block: .55rem; font-weight: 650; }
#game-dialog .career-file-summary { padding: .65rem 0; border-block-start: 1px solid #c5c1ac; }
#game-dialog .career-file-summary h3 { margin: 0 0 .45rem; }
#game-dialog .career-file-summary dl { display: grid; grid-template-columns: max-content minmax(0,1fr); gap: .35rem .75rem; margin: 0; }
.career-file-summary dl > div { display: contents; }
.career-file-summary dd { margin: 0; }
.career-file-summary dt { color: #515b50; }
.career-file-summary dd { font-weight: 600; overflow-wrap: anywhere; }
@media(max-width: 580px) {
  .language-bar:has([data-action="career-files"]) { display: grid; grid-template-columns: minmax(0,1fr) auto; column-gap: 6px; row-gap: 2px; }
  .language-bar:has([data-action="career-files"]) .publisher { grid-column: 1; grid-row: 1; }
  .language-bar [data-action="career-files"] { grid-column: 1; grid-row: 2; justify-self: start; margin: 0; min-height: 27px; }
  .language-bar:has([data-action="career-files"]) [data-language-control] { grid-column: 2; grid-row: 1/span 2; }
}

.sector-desk .boardroom-invite {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(72px,28%); align-items: stretch;
  width: 100%; margin-top: .85rem; padding: 0; overflow: hidden; cursor: pointer;
  border: 1px solid #ac9d86; border-inline-start: 3px solid #8b5d40; border-radius: 3px;
  color: #302920; background: #f9f4e9; text-align: start;
}
.boardroom-invite-copy { display: grid; align-content: center; gap: .2rem; padding: .6rem .85rem; }
.boardroom-kicker { color: #654d37; font: 700 .7rem/1.25 system-ui,sans-serif; text-transform: uppercase; letter-spacing: .065em; }
.boardroom-invite-copy > strong { font: 600 clamp(1rem,1.4vw,1.16rem)/1.28 Georgia,serif; }
.boardroom-invite-action { color: #444d39; font-size: .78rem; font-weight: 700; text-decoration: underline; text-underline-offset: .16em; }
.boardroom-invite:hover .boardroom-invite-action { color: #1c512d; }
.boardroom-invite .boardroom-scene { min-height: 76px; background-color: #4b4339; }
.sector-desk .boardroom-debrief { margin-block: .8rem; padding: .65rem .8rem; border-inline-start: 3px solid #8b5d40; background: #eee6d7; }
.sector-desk .boardroom-debrief h3 { margin: 0 0 .2rem; font-size: .88rem; color: #58432f; }
.sector-desk .boardroom-debrief p { margin: 0; max-width: 82ch; }
#game-dialog[data-reading="boardroom"] { width: min(860px,calc(100% - 24px)); max-height: 88svh; padding: 0; background: #faf6eb; }
#game-dialog[data-reading="boardroom"] > h2 { padding: 1rem clamp(.8rem,2.2vw,1.6rem) .7rem; margin: 0; font: 600 clamp(1.45rem,3vw,2rem)/1.12 Georgia,serif; }
.boardroom-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.15fr); gap: 1.2rem; padding: 0 clamp(.8rem,2.2vw,1.6rem) 1rem; }
.boardroom-opening,.boardroom-file { min-width: 0; }
.boardroom-opening .boardroom-scene { aspect-ratio: 2.45; background-color: #4b4339; background-position: center 14%; border-bottom: 3px solid #a87953; }
#game-dialog .boardroom-question { margin: .65rem 0; font: 600 1.17rem/1.3 Georgia,serif; color: #30291e; }
#game-dialog .boardroom-audio button,#game-dialog .boardroom-source button { min-height: 36px; padding: .3rem .65rem; border: 1px solid #82755e; border-radius: 3px; background: #eee7d8; color: #263528; font: 650 .85rem/1.35 system-ui,sans-serif; }
#game-dialog button[data-board-audio]:disabled { cursor: default; color: #59564d; background: #ece9e1; }
#board-audio-status:empty { display: none; }
#game-dialog #board-audio-status { margin: .3rem 0; color: #4b5146; font-size: .82rem; }
#game-dialog .boardroom-file h3 { margin: 0 0 .4rem; font: 650 1.1rem/1.3 Georgia,serif; color: #312d24; }
.boardroom-file section + section { margin-top: 1rem; }
.boardroom-source,.boardroom-transcript { border-top: 1px solid #c8c2b1; }
.boardroom-source:last-child { border-bottom: 1px solid #c8c2b1; }
.boardroom-transcript { margin-top: .55rem; }
.boardroom-source summary,.boardroom-transcript summary { padding: .45rem .15rem; cursor: pointer; font: 650 .9rem/1.4 system-ui,sans-serif; color: #374737; }
#game-dialog .boardroom-source p,#game-dialog .boardroom-transcript p { margin: 0 .1rem .65rem; font-size: .94rem; line-height: 1.5; }
#game-dialog .boardroom-source > button { margin: 0 0 .6rem; }
.boardroom-seen { color: #47624a; font-size: .71rem; font-weight: 500; }
.boardroom-seen:not([hidden]) { display: inline-block; white-space: nowrap; }
.boardroom-read { display: block; padding-top: .6rem; font-size: .81rem; color: #4d594a; }
#game-dialog[data-reading="boardroom"] .dialog-actions { position: sticky; bottom: 0; z-index: 1; margin: 0; padding: .55rem clamp(.8rem,2.2vw,1.6rem); background: #f4eddd; border-top: 1px solid #bdb5a1; }
#game-dialog[data-reading="boardroom"] .dialog-actions .cancel { min-height: 40px; color: #fff8e9; background: #344b3b; border-color: #344b3b; font-weight: 700; }
@media(max-width:640px) {
  .boardroom-layout { grid-template-columns: minmax(0,1fr); gap: 1rem; }
  .boardroom-opening .boardroom-scene { aspect-ratio: 2.8; }
  .boardroom-invite-copy { padding: .5rem .6rem; }
  #game-dialog[data-reading="boardroom"] .dialog-actions .cancel { width: 100%; }
}
.support-game {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding-inline: .55rem;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: .18em;
  font: 600 .8rem/1.25 system-ui, sans-serif;
}
html:lang(en) .support-game [lang="pt-BR"],
html:lang(pt) .support-game [lang="en"] { display: none; }
