/* 1.4.6: report menu is the first report element, not a sticky screen overlay. */
#content > .report-menu { margin-top: 0; }
.report-menu { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.report-menu button { flex-direction: column; align-items: flex-start; justify-content: center; text-align: left; gap: 5px; min-height: 70px; white-space: normal; overflow-wrap: anywhere; line-height: 1.3; }
.report-menu button > span { font-size: 17px; font-weight: 850; }
.report-menu button > small { font-size: 12.5px; font-weight: 650; line-height: 1.35; color: inherit; }
.report-menu button.report-word-tab { border: 2px solid #176b60; }
.report-menu button:focus-visible { outline: 3px solid #d48a00; outline-offset: 3px; }
.report-context { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0; padding: 12px 18px; border-bottom: 1px solid var(--line); color: var(--dark); background: #f5faf9; font-size: 14px; overflow-wrap: anywhere; }
.report-context span { min-width: 0; }
.report-general { min-width: 0; padding: 10px; }
.report-general > .heading { margin-top: 8px; }
.report-meta { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin: 12px 0 18px; }
.report-meta > div { padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: #f6fafb; min-width: 0; }
.report-meta dt,.report-supplier-word-card dt { color: var(--muted); font-size: 13px; font-weight: 700; }
.report-meta dd,.report-supplier-word-card dd { margin: 3px 0 0; overflow-wrap: anywhere; font-weight: 750; }
.report-word-shortcuts { margin: 16px 0; padding: 18px; border: 1px solid #8bbab0; border-radius: 14px; background: #eef8f4; }
.report-word-shortcuts h3 { margin: 0 0 12px; font-size: 20px; }
.report-word-shortcuts > div { display: flex; flex-wrap: wrap; gap: 10px; }
.report-word-hero { padding: 24px; background: #edf7f3; border: 2px solid #176b60; border-radius: 16px; margin-bottom: 20px; }
.report-word-hero .eyebrow { margin: 0 0 8px; }
.report-word-hero h3 { margin: 0 0 15px; font-size: clamp(23px,2.1vw,31px); line-height: 1.3; }
.report-word-hero p { font-size: 17px; line-height: 1.6; }
.report-word-hero .report-word-delivery { border-top: 1px solid #b4d2c9; margin-bottom: 0; padding-top: 12px; font-size: 15px; }
.report-supplier-word-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.report-supplier-word-card { display: flex; flex-direction: column; gap: 14px; min-width: 0; border: 1px solid #9ebfba; border-left: 5px solid #176b60; border-radius: 14px; padding: 20px; background: white; }
.report-supplier-word-card h4 { margin: 0; font-size: 22px; line-height: 1.35; overflow-wrap: anywhere; }
.report-supplier-word-card dl { margin: 0; display: grid; gap: 12px; }
.report-supplier-word-card dd { font-size: 16px; }
.report-supplier-word-card .word-language-control { margin-top: auto; display: grid; grid-template-columns: minmax(0,1fr); min-width: 0; gap: 10px; }
.report-supplier-word-card .word-language-control label { font-size: 14px; }
.report-supplier-word-card .word-language-control .field { font-size: 16px; }
.report-supplier-word-card [data-download-supplier-word] { min-height: 52px; width: 100%; white-space: normal; font-size: 16px; }
.report-supplier-word-card .gap-link { text-align: left; white-space: normal; }
.report-word-warning { margin: 0; padding: 12px; border-radius: 10px; background: #fff5df; color: #684900; }
.report-word-exception { margin-top: 18px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: #f6f8fb; overflow-wrap: anywhere; }
.report-word-exception h4 { margin: 0; font-size: 19px; }
.report-word-footer { margin-top: 22px; }
.report-empty { font-size: 18px; font-weight: 700; padding: 18px; border: 1px solid var(--line); border-radius: 12px; }
@media(max-width:1100px){.report-menu { grid-template-columns: repeat(2,minmax(0,1fr)); }.report-meta{grid-template-columns:1fr;}.report-supplier-word-grid{grid-template-columns:1fr;}}
@media(max-width:700px){
  #content > .report-menu { padding:8px;gap:7px; }
  .report-menu button { min-height:76px; padding:10px 9px; }
  .report-menu button > span { font-size:14px; }
  .report-menu button > small { font-size:11px; }
  .report-context { padding:10px 12px; font-size:13px; }
  .report-general { padding:3px; }
  .report-word-hero { padding:16px; }
  .report-word-hero h3 { font-size:23px; }
  .report-word-hero p { font-size:16px; }
  .report-supplier-word-card { padding:16px; }
  .report-supplier-words.section { padding:16px 10px; }
  .report-word-shortcuts > div { display:grid; grid-template-columns:1fr; }
}
@media print{.report-menu,.report-word-shortcuts{display:none!important;}.report-supplier-word-grid{display:block;}.report-supplier-word-card{break-inside:avoid;margin:12px 0;}.report-supplier-word-card button,.report-supplier-word-card .word-language-control{display:none!important;}}

/* Report export controls must not overlap the wizard's mobile bottom bar. */
@media(max-width:700px){#content > .report-menu ~ .actions{position:static;inset:auto;width:auto;margin:16px 0 0;padding:12px 0;box-shadow:none;background:transparent;display:flex;flex-wrap:wrap;}}
