@import url('legacy.css');

.session-toolbar { display: flex; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.25rem; }
.session-toolbar span { color: #62746a; font-size: .875rem; }
.session-toolbar button { flex: 0 0 auto; }
.calculation-status { margin: 0; padding: 1rem 2rem; background: #f1f7f3; color: #425b4c; font-size: .9rem; }
.calculator-content, .input-container, .result-values, .result-visual { min-width: 0; }
.measurement-row { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 2fr); }
.field-feedback { width: auto; overflow-wrap: anywhere; }
.input-container label { display: block; }
.result-chart { position: relative; width: 100%; max-width: 500px; height: 200px; margin: 0 auto; }
.result-visual { margin-top: 1.5rem; }
.chart-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1rem; margin: .75rem auto 0; max-width: 500px; color: #62746a; font-size: .85rem; }
.chart-legend span { display: inline-flex; align-items: center; gap: .375rem; }
.chart-legend span::before { content: ''; width: .65rem; height: .65rem; flex: 0 0 auto; border-radius: 2px; background: var(--series-color); }
.landing-body { min-height: 100dvh; display: grid; place-items: center; padding: 1.5rem; background: #f0f6f2; }
.access-card { width: min(100%, 480px); border: 1px solid #dbe7df; border-radius: 24px; padding: 3rem 2.5rem 2rem; background: #fff; text-align: center; box-shadow: 0 16px 60px #214b3020; }
.brand { font-family: var(--bs-body-font-family); letter-spacing: normal; color: var(--e-global-color-secondary); line-height: 1.2; }
.brand b { color: var(--e-global-color-accent); }
.brand sup { font-size: .75rem; position: relative; top: -1.5rem; }
.access-card .brand { margin-bottom: 2rem; }
.access-card h1 { font-size: 1.4rem; font-weight: 600; color: #304c3b; }
#access-status { color: #64766b; line-height: 1.7; margin-top: 1rem; }
.access-footer { border-top: 1px solid #edf1ee; padding-top: 1.5rem; margin-top: 2.5rem; color: #85948b; font-size: .75rem; }
@media (min-width: 1200px) {
  .result-visual { margin-top: 0; }
}
@media (max-width: 767.98px) {
  .calculator-shell { padding: 2rem 1rem !important; margin: 0 !important; }
  .calculator-content { margin-top: 1.75rem !important; }
  .tab-pane > .row { margin-left: 0; margin-right: 0; }
  .tab-pane > .row > .col-md-12 { padding: 1.25rem 1rem; }
  .measurement-row { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start !important; }
  .field-feedback { grid-column: 1 / -1; text-align: left !important; }
  .field-feedback:has(> div:empty) { display: none; }
  .input-container .form-control { min-height: 44px; font-size: 1rem; }
  .input-container label { min-height: 2.6em; line-height: 1.3; }
  .session-toolbar button { min-height: 44px; padding-inline: .875rem; }
  .accordion-button { display: block; position: relative; padding: 1rem 2rem 1rem .25rem; line-height: 1.5; }
  .accordion-button::after { position: absolute; right: 0; top: 1.15rem; }
  .accordion-button span { display: block; margin: .25rem 0 0; font-variant-numeric: tabular-nums; }
  .accordion-button span:empty { display: none; }
  .accordion-body { padding: 1rem 0; }
  .result-chart { height: 240px; }
  .calculation-status { padding: 1rem; }
  .access-card { padding: 2.5rem 1.5rem 1.5rem; }
}
