html {
  font-size: 14px;
  -webkit-text-size-adjust: 100%;
  position: relative;
  min-height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}
body {
  margin-bottom: 60px;
  overflow: visible;
}

.page-fullheight {
  min-height: 100dvh;
}

input, select, textarea {
  font-size: 16px;
}

.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.fy-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 1rem 0;
}

.fy-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.6rem;
  border: 1px solid #b1b4b6;
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
  background: #fff;
}

.fy-nav__link--disabled {
  opacity: 0.45;
  cursor: default;
}

.fy-nav__text {
  font-weight: 600;
}

.print-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.flex-col {
  min-height: 0;
}

.flex-item {
  min-width: 0;
}

body, .print-wrap {
  overflow: visible;
}

@media (max-width: 899px) {
  .print-wrap {
    max-width: 720px;
    padding: 0 16px;
  }
  .tabs {
    overflow: auto;
  }
}
@media (min-width: 900px) and (max-width: 1100px) {
  .print-wrap {
    max-width: 980px;
  }
  .tabs {
    gap: 0.75rem;
  }
  .tab-button {
    padding: 0.5rem 0.75rem;
  }
  table {
    font-size: 0.95rem;
  }
}
@media (min-width: 1101px) {
  .print-wrap {
    max-width: 1200px;
  }
}
@media (min-width: 768px) {
  .container {
    max-width: 744px;
  }
}
@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}
.tabs {
  border-bottom: 2px solid #ccc;
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.tab-button {
  background: none;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-size: 1rem;
  border-bottom: 4px solid transparent;
}
.tab-button[aria-selected=true] {
  border-color: #005ea5;
  font-weight: 600;
}

.tab-panel {
  display: none;
}
.tab-panel[aria-hidden=false] {
  display: block;
}

.expand-all .tabs {
  display: none !important;
}
.expand-all .tab-panel {
  display: block !important;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

th, td {
  border: 1px solid #aaa;
  padding: 0.5rem;
  text-align: left;
}

th {
  background-color: #f0f0f0;
  font-weight: 600;
}

.controls {
  margin: 1rem 0;
}
.controls label {
  margin-left: 0.5rem;
  font-weight: 600;
}

@media print {
  @page {
    size: A4 portrait;
    margin: 12mm;
  }
  html, body {
    width: auto;
    margin: 0;
  }
  .tabs, .controls {
    display: none !important;
  }
  .tab-panel {
    display: block !important;
  }
  .print-wrap {
    max-width: 180mm;
    margin: 0 auto;
  }
  .chart {
    height: 90mm !important;
  }
  canvas, table {
    max-width: 100% !important;
    width: 100% !important;
  }
  canvas, .chart, .tab-panel table {
    break-inside: avoid;
    page-break-inside: avoid;
    margin-bottom: 12mm;
  }
  canvas {
    width: 100% !important;
    height: 90mm !important;
  }
  body {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .page-break-before {
    break-before: page;
    page-break-before: always;
  }
  .page-break-after {
    break-after: page;
    page-break-after: always;
  }
  .avoid-break {
    break-inside: avoid;
    page-break-inside: avoid;
  }
  .keep-with-next {
    break-after: avoid;
    page-break-after: avoid;
  }
}
.five-year-report .report-intro {
  max-width: 72rem;
  margin: 0 auto 1.5rem;
  color: #60717f;
}
.five-year-report .report-period {
  margin-top: -0.35rem;
  margin-bottom: 1.5rem;
  color: #60717f;
}
.five-year-report .metric-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}
.five-year-report .metric-card {
  padding: 1rem 1.1rem;
  border: 1px solid #aaa;
  border-radius: 0.65rem;
  background: #fff;
  break-inside: avoid;
}
.five-year-report .metric-card__label {
  display: block;
  margin-bottom: 0.35rem;
  color: #60717f;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.five-year-report .metric-card__value {
  display: block;
  color: #17324d;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.1;
}
.five-year-report .metric-card__change {
  display: block;
  margin-top: 0.45rem;
  color: #60717f;
  font-size: 0.9rem;
}
.five-year-report .metric-card__change--positive {
  color: #2f6f3e;
}
.five-year-report .metric-card__change--negative {
  color: #9c3c32;
}
.five-year-report .chart-section {
  margin: 2rem 0;
  break-inside: avoid;
}
.five-year-report .chart-section > p {
  margin-top: -0.5rem;
  color: #60717f;
}
.five-year-report .chart {
  width: 100%;
  max-height: 34rem;
}
.five-year-report .evidence-note {
  margin: 1.5rem 0;
  padding: 1rem 1.2rem;
  border-left: 4px solid #1f6f8b;
  background: #f5f8fa;
}
.five-year-report .report-table {
  width: 100%;
  margin: 1rem 0 2rem;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.five-year-report .report-table th,
.five-year-report .report-table td {
  padding: 0.65rem 0.75rem;
  border: 1px solid #aaa;
  vertical-align: top;
}
.five-year-report .report-table thead th {
  background: #17324d;
  color: #fff;
  text-align: left;
}
.five-year-report .report-table tbody tr:nth-child(even) {
  background: #f5f8fa;
}
.five-year-report .report-table .number {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.five-year-report .report-table .highlight {
  font-weight: 700;
}
.five-year-report .diagnostics {
  margin-top: 2rem;
  padding: 1rem 1.2rem;
  border: 1px solid #aaa;
  border-radius: 0.5rem;
  background: #f5f8fa;
}
.five-year-report .diagnostics--warning {
  border-color: #d8a24a;
  background: #fff8e8;
}
.five-year-report .diagnostics dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem 1rem;
  margin: 0;
}
.five-year-report .diagnostics dt {
  color: #60717f;
  font-size: 0.8rem;
}
.five-year-report .diagnostics dd {
  margin: 0.15rem 0 0;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .five-year-report .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .five-year-report .diagnostics dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .five-year-report .metric-grid {
    grid-template-columns: 1fr;
  }
  .five-year-report .report-table {
    font-size: 0.82rem;
  }
  .five-year-report .diagnostics dl {
    grid-template-columns: 1fr;
  }
}
@media print {
  .five-year-report .metric-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.5rem;
  }
  .five-year-report .metric-card {
    padding: 0.7rem;
  }
  .five-year-report .metric-card__value {
    font-size: 1.4rem;
  }
  .five-year-report .chart-section {
    break-inside: avoid;
    page-break-inside: avoid;
  }
  .five-year-report .report-table {
    page-break-inside: auto;
  }
  .five-year-report .report-table tr {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}
.epos-report .epos-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: end;
  margin: 1.2rem 0;
  padding: 1rem;
  background: #f5f8fa;
  border: 1px solid #dce3e8;
  border-radius: 0.65rem;
}

.epos-report label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: #17324d;
  font-size: 0.9rem;
  font-weight: 600;
}

.epos-report select, .epos-report input {
  max-width: 100%;
  min-height: 2.5rem;
  padding: 0.4rem 0.65rem;
  border: 1px solid #b8c5ce;
  border-radius: 0.3rem;
  background: white;
  color: #17324d;
}

.epos-report .epos-inline {
  display: inline-flex;
  margin: 0.5rem 0 1rem;
}

.epos-report .epos-sections {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.2rem;
  padding: 1rem 0;
  border-bottom: 1px solid #dce3e8;
}

.epos-report .epos-sections a {
  color: #1f6f8b;
}

.epos-report section {
  scroll-margin-top: 1rem;
}

.epos-report section > h2 {
  padding-top: 1.8rem;
  border-top: 1px solid #dce3e8;
  margin-top: 2rem;
  color: #17324d;
}

.epos-report h3 {
  font-size: 1.15rem;
  color: #17324d;
}

.epos-report .epos-table-wrap {
  overflow-x: auto;
}

.epos-report .report-table {
  min-width: 620px;
}

.epos-report .report-table caption {
  caption-side: top;
  color: #60717f;
}

.epos-report .metric-card__value {
  font-size: 1.55rem;
}

.epos-report .chart-section canvas {
  max-height: 470px;
}

.epos-report details {
  margin: 1rem 0;
}

.epos-report summary {
  cursor: pointer;
  color: #17324d;
  font-weight: 600;
}

.epos-report .epos-error {
  border-left-color: #c44536;
  background: #fff4f0;
}

.epos-report [hidden] {
  display: none !important;
}

.epos-report .btn-primary {
  background: #1f6f8b;
  border-color: #1f6f8b;
}

.epos-report .chart-empty {
  color: #60717f;
  font-style: italic;
  margin: 0.5rem 0;
}

.epos-report .epos-selected {
  font-weight: 600;
  color: #17324d;
}

.epos-report .price-chart-basis {
  color: #1f6f8b;
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0.4rem 0;
}

.epos-report .price-chart-basis:empty {
  display: none;
}

.epos-report #price-basket input {
  width: 8rem;
}

.epos-report #price-product {
  max-width: 28rem;
}

.epos-report #price-coverage.epos-error {
  padding: 1rem;
  border-left: 3px solid #c44536;
}

.epos-report .epos-data-table {
  border: 1px solid #dce3e8;
  border-radius: 0.4rem;
  padding: 0 1rem;
}

.epos-report .epos-data-table > summary {
  padding: 0.8rem 0;
}

.epos-report .epos-data-table > summary:focus-visible {
  outline: 2px solid #1f6f8b;
  outline-offset: 3px;
}

.epos-report .table-row-count {
  font-weight: 400;
  color: #60717f;
  margin-left: 0.3rem;
}

.epos-report .epos-price-toolbar {
  position: sticky;
  top: 0.5rem;
  z-index: 100;
  background: #f5f8fa;
  box-shadow: 0 3px 12px rgba(23, 50, 77, 0.1411764706);
  gap: 0.5rem 1rem;
}

.epos-report .price-toolbar-help {
  flex-basis: 100%;
  margin: 0;
  color: #60717f;
  font-size: 0.8rem;
}

.epos-report .epos-price-toolbar > a {
  align-self: center;
  color: #1f6f8b;
  font-size: 0.85rem;
}

.epos-report section, .epos-report #price-settings {
  scroll-margin-top: calc(var(--price-toolbar-height, 10rem) + 1.5rem);
}

.epos-report .epos-price-toolbar > strong {
  align-self: center;
  margin-right: auto;
  color: #17324d;
}

.epos-report #price-settings {
  width: min(1100px, 94vw);
  max-height: 90vh;
  padding: 1.5rem;
  border: 1px solid #b8c5ce;
  border-radius: 0.75rem;
  background: #fff;
  color: #17324d;
  overflow: auto;
}

.epos-report #price-settings::backdrop {
  background: rgba(23, 50, 77, 0.5333333333);
}

.epos-report .price-dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.epos-report .price-dialog-heading h2 {
  font-size: 1.5rem;
  margin: 0;
}

.epos-report .price-group-editor {
  background: #f5f8fa;
  border: 1px solid #b8c5ce;
  border-radius: 0.5rem;
  padding: 1rem;
  margin: 1rem 0;
}

.epos-report .price-product-options {
  max-height: 18rem;
  overflow: auto;
  background: white;
  padding: 0.5rem;
  border: 1px solid #dce3e8;
  margin: 0.7rem 0;
}

.epos-report .price-product-option {
  flex-direction: row;
  align-items: center;
  padding: 0.5rem;
  border-bottom: 1px solid #eef1f4;
}

.epos-report .price-product-option input {
  min-height: 1rem;
  flex: 0 0 auto;
}

.epos-report .price-product-option small, .epos-report .price-group-names {
  font-size: 0.75rem;
  color: #60717f;
  font-weight: 400;
}

.epos-report .price-group-names {
  display: block;
  margin-top: 0.4rem;
}

.epos-report .price-product-chip {
  border: 1px solid #b8c5ce;
  border-radius: 1rem;
  padding: 0.25rem 0.6rem;
  margin: 0.15rem;
  background: white;
  color: #17324d;
  font-size: 0.8rem;
}

.epos-report #price-basket .btn {
  margin: 0.15rem;
}

.epos-report #price-settings button:focus-visible {
  outline: 2px solid #1f6f8b;
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .epos-report .epos-controls.epos-price-toolbar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0.65rem;
    gap: 0.4rem;
  }
  .epos-report .epos-price-toolbar label {
    min-width: 0;
    font-size: 0.75rem;
  }
  .epos-report .epos-price-toolbar select {
    width: 100%;
    font-size: 0.8rem;
  }
  .epos-report .price-toolbar-help {
    grid-column: 1/-1;
    font-size: 0.7rem;
  }
}
@media (max-width: 640px) {
  .epos-report .epos-price-toolbar > strong {
    grid-column: 1;
    font-size: 0.85rem;
  }
  .epos-report #price-settings-open {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    font-size: 0.8rem;
  }
  .epos-report #price-settings {
    padding: 0.8rem;
  }
  .epos-report .price-dialog-heading h2 {
    font-size: 1.1rem;
  }
}
@media (max-width: 640px) {
  .epos-report .epos-controls {
    display: grid;
    grid-template-columns: 1fr;
  }
  .epos-report .chart-section canvas {
    max-height: 320px;
  }
  .epos-report .metric-grid {
    grid-template-columns: 1fr 1fr;
  }
  .epos-report .metric-card__value {
    font-size: 1.2rem;
  }
}
@media print {
  .epos-report .no-print {
    display: none !important;
  }
  .epos-report section > h2 {
    break-before: auto;
  }
  .epos-report .epos-table-wrap {
    overflow: visible;
  }
  .epos-report .report-table {
    min-width: 0;
    font-size: 8pt;
  }
  .epos-report .chart-section canvas {
    max-height: 15cm;
  }
  .epos-report details {
    display: block;
  }
  .epos-report .metric-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
.visitor-simulator {
  display: grid;
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.visitor-simulator fieldset {
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid #ccdce4;
  border-radius: 0.65rem;
  background: #f6f9fb;
}

.visitor-simulator legend {
  float: none;
  width: auto;
  padding: 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 650;
  color: #17324d;
}

.visitor-slider-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 2rem;
  margin: 0.6rem 0 1.5rem;
}

.visitor-slider-grid label {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.65rem;
  font-weight: 600;
}

.visitor-slider-grid output {
  color: #1f6f8b;
  font-variant-numeric: tabular-nums;
}

.visitor-slider-grid input[type=range] {
  grid-column: 1/-1;
  width: 100%;
  min-height: 1.5rem;
  accent-color: #1f6f8b;
  cursor: pointer;
}

.visitor-slider-grid small {
  grid-column: 1/-1;
  font-size: 0.8rem;
  font-weight: 400;
  color: #566e80;
}

.visitor-simulator-actions {
  display: flex;
  align-items: end;
  gap: 1rem;
  flex-wrap: wrap;
}

.visitor-simulator-actions label, .visitor-scope {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.visitor-scope {
  max-width: 22rem;
  margin-bottom: 1rem;
}

.visitor-simulator .statement-scroll {
  background: white;
  margin: 1rem 0;
}

.visitor-price-readouts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.visitor-price-readouts > div {
  padding: 1rem;
  background: white;
  border: 1px solid #d6e2e9;
  border-radius: 0.5rem;
}

.visitor-price-readouts span, .visitor-price-readouts small {
  display: block;
  color: #566e80;
  font-size: 0.85rem;
}

.visitor-price-readouts strong {
  display: block;
  color: #17324d;
  font-size: 1.6rem;
  margin: 0.3rem 0;
}

@media (max-width: 700px) {
  .visitor-price-readouts {
    grid-template-columns: 1fr;
  }
}
.visitor-scenario-headline {
  position: sticky;
  top: 0.75rem;
  z-index: 15;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 1rem;
  background: #17324d;
  color: white;
  border-radius: 0.6rem;
  box-shadow: 0 3px 10px rgba(23, 50, 77, 0.1333333333);
}

.visitor-scenario-headline span {
  display: block;
  font-size: 0.8rem;
  color: #d5e5ed;
}

.visitor-scenario-headline strong {
  display: block;
  font-size: 1.4rem;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 700px) {
  .visitor-scenario-headline {
    gap: 0.5rem;
    padding: 0.65rem;
  }
  .visitor-scenario-headline strong {
    font-size: 1rem;
  }
  .visitor-scenario-headline span {
    font-size: 0.65rem;
  }
}
@media (max-width: 700px) {
  .visitor-slider-grid {
    grid-template-columns: 1fr;
  }
  .visitor-simulator fieldset {
    padding: 0.8rem;
  }
}
#management-pack {
  max-width: 1080px;
  margin: 2rem auto;
}
#management-pack .pack-controls {
  padding: 1.5rem;
  border: 1px solid #d4dfe6;
  border-radius: 0.6rem;
  background: #f5f8fa;
}
#management-pack #pack-preview {
  border-top: 3px solid #216d7b;
  padding-top: 1.5rem;
}
#management-pack .pack-preview-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
#management-pack .pack-preview-heading h2 {
  font-size: 1.4rem;
  margin-bottom: 0.35rem;
}
#management-pack .pack-preview-heading p {
  color: #586a79;
  margin: 0;
}
#management-pack .pack-preview-heading a {
  white-space: nowrap;
}
#management-pack #pack-pdf {
  display: block;
  width: 100%;
}
@media (max-width: 760px) {
  #management-pack .pack-preview-heading {
    flex-direction: column;
  }
}
#management-pack .pack-warning {
  border-left: 4px solid #b67918;
  padding: 0.7rem 1rem;
  background: #fff7e5;
}

.pack-reader {
  display: flex;
  flex-direction: column;
  height: 82vh;
  min-height: 440px;
  border: 1px solid #c8d6df;
  border-radius: 0.4rem;
  overflow: hidden;
  background: #52606a;
  color: #203846;
  font: 14px system-ui, sans-serif;
}
.pack-reader .pack-reader-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0.65rem;
  background: #eaf0f4;
}
.pack-reader button, .pack-reader input, .pack-reader select {
  border: 1px solid #8aa2b2;
  border-radius: 0.25rem;
  color: #203846;
  background: white;
  padding: 0.35rem 0.5rem;
  font: inherit;
}
.pack-reader button {
  cursor: pointer;
}
.pack-reader button:disabled {
  opacity: 0.5;
  cursor: default;
}
.pack-reader button:focus-visible, .pack-reader input:focus-visible, .pack-reader select:focus-visible, .pack-reader .pack-reader-pages:focus-visible {
  outline: 3px solid #147b96;
  outline-offset: 1px;
}
.pack-reader label {
  display: flex;
  gap: 0.3rem;
  align-items: center;
  margin: 0;
}
.pack-reader input {
  width: 3.5rem;
}
.pack-reader [data-status] {
  margin-left: auto;
  font-size: 12px;
}
.pack-reader .pack-reader-pages {
  overflow: auto;
  flex: 1;
  padding: 16px;
  position: relative;
}
.pack-reader canvas {
  display: block;
  margin: 0 auto;
  background: white;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.2666666667);
}
.pack-reader .pack-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
@media (max-width: 760px) {
  .pack-reader {
    height: 75vh;
  }
  .pack-reader .pack-reader-toolbar {
    gap: 0.35rem;
  }
  .pack-reader [data-status] {
    flex-basis: 100%;
  }
}

.pack-standalone {
  margin: 0;
  padding: 1rem;
  font: 14px system-ui, sans-serif;
  color: #203846;
}
.pack-standalone header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.pack-standalone h1 {
  font-size: 1.25rem;
}
.pack-standalone .pack-reader {
  height: calc(100vh - 90px);
}