:root {
  color-scheme: light;
  font: 100%/1.55 system-ui, sans-serif;
  color: #172235;
  background: #f4f6fa;
}
* { box-sizing: border-box; }
body { margin: 0; }
header, main, #notice { padding: 1rem clamp(1rem, 3vw, 2.5rem); }
header { background: #172235; color: #fff; }
h1, h2 { line-height: 1.25; }
h1 { margin-top: 0; }
h2 { font-size: 1.25rem; }
.layout { display: grid; grid-template-columns: minmax(13rem, 1fr) minmax(20rem, 2fr) minmax(16rem, 1fr); gap: 1rem; align-items: start; }
aside, section { min-width: 0; background: #fff; border: 1px solid #a8b4c5; border-radius: .5rem; padding: 1rem; }
label { display: block; font-weight: 650; margin-top: .75rem; }
button, select, textarea, #director-project { font: inherit; }
button, select { min-height: 2.75rem; }
button { padding: .5rem .8rem; border: 2px solid #234d80; border-radius: .3rem; background: #fff; color: #153c6a; cursor: pointer; margin: .25rem .25rem .25rem 0; }
button:hover:enabled:not([aria-disabled="true"]) { background: #e7effc; }
button:disabled, button[aria-disabled="true"], select:disabled, textarea:disabled { cursor: default; color: #4d5664; background: #e9edf3; opacity: 1; }
select, textarea, #director-project { width: 100%; border: 1px solid #63758d; padding: .5rem; border-radius: .25rem; }
textarea { resize: vertical; min-height: 7rem; }
#document-composer { min-width: 0; }
#document-file { max-width: 100%; font: inherit; }
#voice-composer { min-width: 0; margin: .75rem 0 0; border: 1px solid #a8b4c5; }
#voice-file { max-width: 100%; font: inherit; }
#visual-capture { min-width: 0; margin: .75rem 0 0; border: 1px solid #a8b4c5; }
#visual-help { margin: 0 0 .5rem; color: #435169; }
#visual-capture video:not([hidden]), #visual-capture canvas:not([hidden]) {
  display: block;
  max-width: 100%;
  max-height: 22.5rem;
  margin: .5rem 0;
}
:focus-visible { outline: 3px solid #9b4500; outline-offset: 3px; }
header :focus-visible { outline-color: #ffd075; }
.skip { position: absolute; top: -5rem; left: 1rem; padding: .6rem; background: #fff; color: #153c6a; z-index: 1; }
.skip:focus { top: .5rem; }
#notice { margin: 0; min-height: 3.5rem; font-weight: 650; overflow-wrap: anywhere; }
ul, ol { padding-left: 1.4rem; }
li { margin-bottom: 1rem; overflow-wrap: anywhere; }
#history button { text-align: left; width: 100%; }
button[aria-current="true"] { border-width: 3px; background: #e7effc; font-weight: 700; }
.message-body { white-space: pre-wrap; overflow-wrap: anywhere; }
.meta, #message-help, #voice-help, #session-help { color: #435169; }
#messages { max-height: 36rem; overflow: auto; scrollbar-gutter: stable; }
#messages > li { border-bottom: 1px solid #cad2df; padding-bottom: .75rem; }
.report-sources li { margin-bottom: .25rem; }
.report-preview { margin-block: .25rem .75rem; }
.report-preview label { display: inline-block; margin-inline-end: .5rem; }
.report-preview canvas { max-width: 100%; height: auto; border: 1px solid #cad2df; }
.director-proposal { margin-top: .5rem; border-inline-start: 3px solid #234d80; padding-inline-start: .75rem; }
.director-proposal h3 { margin: 0; font-size: 1rem; }
.director-proposal li { margin-bottom: .25rem; }
#jobs li, #approvals li { border-bottom: 1px solid #cad2df; padding-bottom: .75rem; }
@media (max-width: 70rem) {
  .layout { grid-template-columns: minmax(13rem, 1fr) minmax(18rem, 2fr); }
  .layout > section:last-child { grid-column: 1 / -1; }
}
@media (max-width: 44rem) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .layout > section:last-child { grid-column: auto; }
  header, main, #notice { padding: 1rem; }
  #messages { max-height: none; }
}
@media (forced-colors: active) {
  button[aria-current="true"] { outline: 2px solid Highlight; }
}
