:root {
  color-scheme: light;
  --bg: #eef4fb;
  --surface: #ffffff;
  --surface-strong: #f8fbff;
  --ink: #102033;
  --muted: #627085;
  --line: #d6e0eb;
  --accent: #1f6feb;
  --accent-strong: #1557bd;
  --accent-soft: #e7f0ff;
  --positive: #12845f;
  --positive-soft: #dcf7ed;
  --cost: #d04437;
  --neutral-soft: #f1f5f9;
  --neutral-strong: #475569;
  --danger: #b42318;
  --shadow: 0 14px 38px rgba(16, 32, 51, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.preset-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.preset-button,
.ghost-button {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 8px;
  padding: 8px 11px;
  font-weight: 650;
  font-size: 0.86rem;
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.preset-button.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: #ffffff;
}

.ghost-button {
  color: var(--neutral-strong);
}

.icon-button {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  padding: 0;
}

.icon-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.preset-button:hover,
.ghost-button:hover,
.stepper button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(16, 32, 51, 0.08);
}

.preset-button:focus-visible,
.ghost-button:focus-visible,
.stepper button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(31, 111, 235, 0.22);
  outline-offset: 2px;
}

.ssl-topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(214, 224, 235, 0.86);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.ssl-topbar-inner {
  width: min(1480px, calc(100% - 32px));
  min-height: 58px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.ssl-topbar-logo-group,
.ssl-topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.ssl-topbar-logo-link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.ssl-topbar-logo {
  display: block;
  width: 92px;
  height: auto;
}

.ssl-topbar-title-wrap {
  min-width: 0;
}

.ssl-topbar-title {
  margin: 0;
  color: var(--ink);
  font-size: 0.96rem;
  line-height: 1.15;
  white-space: nowrap;
}

.ssl-topbar-status {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.2;
  white-space: nowrap;
}

.mobile-workspace-nav,
.cost-panel-toggle,
.unused-machines-toggle {
  display: none;
}

.ssl-lang-picker {
  position: relative;
}

.ssl-lang-button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(248, 251, 255, 0.92);
  color: var(--ink);
  font-weight: 750;
  font-size: 0.78rem;
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.ssl-lang-button:hover {
  border-color: #b8c8dc;
  box-shadow: 0 8px 18px rgba(16, 32, 51, 0.08);
  transform: translateY(-1px);
}

.ssl-lang-button:focus-visible,
.ssl-lang-option:focus-visible {
  outline: 3px solid rgba(31, 111, 235, 0.22);
  outline-offset: 2px;
}

.ssl-lang-icon,
.ssl-lang-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

.ssl-lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 110;
  min-width: 132px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(16, 32, 51, 0.14);
}

.ssl-lang-menu[hidden] {
  display: none;
}

.ssl-lang-option {
  width: 100%;
  border: 0;
  border-radius: 6px;
  padding: 7px 9px;
  background: transparent;
  color: var(--ink);
  font-size: 0.84rem;
  text-align: left;
}

.ssl-lang-option:hover,
.ssl-lang-option.is-active {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.simulator-shell {
  width: min(1480px, calc(100% - 32px));
  margin: 18px auto 42px;
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
  align-items: stretch;
  padding: clamp(22px, 3vw, 34px);
  background: linear-gradient(135deg, #f9fbff 0%, #dcecff 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-strong);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(1.9rem, 3.2vw, 3.35rem);
  line-height: 1;
  letter-spacing: 0;
}

.title-line {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.brand-picker {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
}

.brand-select-button {
  min-height: 34px;
  border: 1px solid rgba(31, 111, 235, 0.24);
  border-radius: 999px;
  padding: 7px 34px 7px 13px;
  background:
    linear-gradient(45deg, transparent 50%, var(--accent-strong) 50%) right 14px center / 6px 6px no-repeat,
    linear-gradient(135deg, var(--accent-strong) 50%, transparent 50%) right 10px center / 6px 6px no-repeat,
    rgba(255, 255, 255, 0.74);
  color: var(--accent-strong);
  box-shadow: 0 8px 22px rgba(16, 32, 51, 0.08);
  font-weight: 800;
  font-size: 0.86rem;
}

.brand-select-button:hover {
  border-color: rgba(31, 111, 235, 0.42);
  box-shadow: 0 10px 24px rgba(16, 32, 51, 0.1);
}

.brand-select-button:focus-visible,
.brand-option:focus-visible {
  outline: 3px solid rgba(31, 111, 235, 0.22);
  outline-offset: 2px;
}

.brand-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 80;
  min-width: 148px;
  padding: 6px;
  border: 1px solid rgba(31, 111, 235, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 34px rgba(16, 32, 51, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.brand-menu[hidden] {
  display: none;
}

.brand-option {
  width: 100%;
  border: 0;
  border-radius: 8px;
  padding: 8px 10px;
  background: transparent;
  color: var(--ink);
  font-weight: 750;
  font-size: 0.85rem;
  text-align: left;
}

.brand-option:hover,
.brand-option.is-active {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

h2 {
  margin-bottom: 0;
  font-size: 1rem;
}

.intro-copy {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.health-panel {
  display: flex;
  min-height: 136px;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.health-panel span,
.health-panel small,
.kpi span,
.result-row span,
.bar-row span,
.capacity-block span,
.control-group label span,
.field-grid span {
  color: var(--muted);
}

.health-panel strong {
  font-size: 1.32rem;
}

.kpi-grid {
  display: grid;
  grid-template-columns: 340px repeat(2, minmax(0, 1fr)) 360px;
  gap: 14px;
  margin: 14px 0;
}

.kpi,
.control-panel,
.machine-panel,
.results-panel,
.cost-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.kpi {
  min-width: 0;
  padding: 16px;
}

.kpi strong {
  display: block;
  min-width: 0;
  margin-top: 8px;
  font-size: clamp(1.12rem, 1.8vw, 1.55rem);
  line-height: 1.05;
  overflow-wrap: anywhere;
}

#kpi-investment,
#kpi-revenue,
#kpi-profit,
#kpi-payback {
  max-width: 100%;
}

.workspace {
  display: grid;
  grid-template-columns: 340px minmax(420px, 1fr) 360px;
  gap: 14px;
  align-items: start;
}

.control-panel,
.machine-panel,
.results-panel,
.cost-panel {
  padding: 16px;
}

.control-panel .cost-panel {
  margin-top: 20px;
  padding: 14px;
  background: var(--surface-strong);
  box-shadow: none;
}

.control-panel .cost-panel .section-head {
  margin-bottom: 12px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.section-head p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.control-group {
  margin-top: 18px;
}

.control-group label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  font-weight: 650;
}

output,
.capacity-pill,
.margin-pill {
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--positive-soft);
  color: var(--positive);
  font-weight: 800;
  font-size: 0.78rem;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 0;
}

.field-grid label {
  display: grid;
  gap: 6px;
  font-weight: 650;
}

.field-grid input,
.machine-input {
  width: 100%;
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 5px 8px;
  color: var(--ink);
  background: var(--surface-strong);
  font-size: 0.86rem;
  transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.field-grid input:focus,
.machine-input:focus {
  border-color: var(--accent);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(31, 111, 235, 0.1);
}

.machine-list {
  display: grid;
  gap: 12px;
}

.machine-row {
  display: grid;
  grid-template-columns: 1.1fr 92px 92px 92px;
  gap: 10px;
  align-items: end;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease, opacity 140ms ease;
}

.machine-row.is-unused {
  opacity: 0.58;
}

.machine-row.is-unused:hover,
.machine-row.is-unused:focus-within {
  opacity: 0.9;
}

.machine-row:hover {
  border-color: #b8c8dc;
  box-shadow: 0 10px 24px rgba(16, 32, 51, 0.07);
  transform: translateY(-1px);
}

.machine-name strong,
.machine-name span,
.machine-field span {
  display: block;
}

.machine-name span,
.machine-field span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.84rem;
}

.stepper {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr 34px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: visible;
  background: #ffffff;
}

.stepper button {
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 30px;
  border: 0;
  background: var(--neutral-soft);
  color: var(--neutral-strong);
  font-weight: 900;
}

.stepper button:first-child {
  border-radius: 7px 0 0 7px;
}

.stepper button:last-child {
  border-radius: 0 7px 7px 0;
}

.stepper button:disabled,
.stepper button.is-disabled {
  cursor: not-allowed;
  color: #a7b0bf;
  background: #f6f8fb;
  box-shadow: none;
  transform: none;
}

.stepper output {
  display: grid;
  place-items: center;
  border-radius: 0;
  background: #ffffff;
  color: var(--ink);
  font-size: 0.86rem;
}

.limit-tooltip {
  position: absolute;
  right: -8px;
  bottom: calc(100% + 9px);
  z-index: 20;
  width: max-content;
  max-width: 220px;
  padding: 7px 9px;
  border-radius: 8px;
  background: #172033;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(16, 32, 51, 0.18);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
  white-space: normal;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 120ms ease, transform 120ms ease;
}

.limit-tooltip::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 100%;
  border: 6px solid transparent;
  border-top-color: #172033;
}

.stepper button.is-disabled:hover .limit-tooltip,
.stepper button.is-disabled:focus-visible .limit-tooltip {
  opacity: 1;
  transform: translateY(0);
}

.result-stack {
  display: grid;
  gap: 8px;
}

.result-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.result-row.is-total {
  border-bottom: 0;
  color: var(--accent-strong);
  font-size: 1rem;
}

.chart-block,
.capacity-block {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.tax-disclaimer {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.45;
}

.bar-row {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 88px;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.bar-track {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5edf6;
}

.bar-track i {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: var(--positive);
  transition: width 160ms ease;
}

#cost-bar {
  background: var(--cost);
}

.capacity-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.capacity-block div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.is-negative {
  color: var(--danger);
}

.ssl-footer {
  --bg: #ffffff;
  --fg: #111111;
  width: 100%;
  margin: 0;
  padding: 0 0 1rem;
  border: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 1180px) {
  .kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workspace {
    grid-template-columns: 1fr 1fr;
  }

  .results-panel {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  body {
    overflow-x: hidden;
    overflow-x: clip;
  }

  input,
  button {
    touch-action: manipulation;
  }

  input[type="number"] {
    font-size: 16px;
  }

  .simulator-shell {
    width: min(100% - 24px, 760px);
    margin-top: 12px;
  }

  .intro-band {
    gap: 14px;
    padding: 20px;
  }

  .intro-copy {
    font-size: 0.94rem;
    line-height: 1.45;
  }

  .health-panel {
    min-height: 0;
    padding: 14px 16px;
  }

  .health-panel strong {
    font-size: 1.12rem;
  }

  .kpi-grid {
    gap: 10px;
    margin: 10px 0;
  }

  .kpi {
    padding: 13px 14px;
    box-shadow: 0 8px 24px rgba(16, 32, 51, 0.055);
  }

  .mobile-workspace-nav {
    position: sticky;
    top: 58px;
    z-index: 70;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    margin: 0 0 10px;
    padding: 5px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 10px 28px rgba(16, 32, 51, 0.11);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .mobile-workspace-tab {
    min-width: 0;
    min-height: 44px;
    border: 0;
    border-radius: 8px;
    padding: 6px 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: transparent;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 750;
  }

  .mobile-workspace-tab svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .mobile-workspace-tab.is-active {
    background: var(--accent-soft);
    color: var(--accent-strong);
  }

  .mobile-workspace-tab:focus-visible,
  .cost-panel-toggle:focus-visible,
  .unused-machines-toggle:focus-visible {
    outline: 3px solid rgba(31, 111, 235, 0.22);
    outline-offset: 1px;
  }

  .intro-band,
  .kpi-grid,
  .workspace {
    grid-template-columns: 1fr;
  }

  .workspace > [data-mobile-panel-content] {
    display: none;
  }

  .workspace > [data-mobile-panel-content].is-mobile-active {
    display: block;
    animation: mobile-panel-in 160ms ease-out;
  }

  @keyframes mobile-panel-in {
    from {
      opacity: 0;
      transform: translateY(4px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .control-panel,
  .machine-panel,
  .results-panel {
    box-shadow: 0 10px 28px rgba(16, 32, 51, 0.065);
  }

  .cost-panel-toggle {
    min-height: 34px;
    border: 0;
    border-radius: 8px;
    padding: 6px 7px 6px 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--neutral-soft);
    color: var(--neutral-strong);
    font-size: 0.78rem;
    font-weight: 750;
  }

  .cost-panel-toggle svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    transition: transform 160ms ease;
  }

  .cost-panel-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
  }

  .cost-panel.is-mobile-collapsed .cost-grid {
    display: none;
  }

  .unused-machines-toggle {
    display: block;
    width: 100%;
    min-height: 42px;
    margin: -4px 0 12px;
    border: 1px dashed #b8c8dc;
    border-radius: 8px;
    padding: 9px 12px;
    background: var(--surface-strong);
    color: var(--accent-strong);
    font-size: 0.84rem;
    font-weight: 750;
  }

  .machine-list.hide-unused .machine-row.is-unused {
    display: none;
  }

  .machine-row.is-unused {
    opacity: 0.68;
  }

  .machine-row {
    grid-template-columns: minmax(120px, 1.15fr) minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "name name name"
      "units price minutes";
    align-items: end;
  }

  .machine-name {
    grid-area: name;
    padding-bottom: 2px;
  }

  .machine-row > .machine-field:nth-child(2) {
    grid-area: units;
  }

  .machine-row > .machine-field:nth-child(3) {
    grid-area: price;
  }

  .machine-row > .machine-field:nth-child(4) {
    grid-area: minutes;
  }

  .machine-field span {
    min-height: 2.15em;
    line-height: 1.08;
  }

  .stepper,
  .field-grid input,
  .machine-input {
    min-height: 40px;
  }

  .stepper {
    height: 40px;
    grid-template-columns: 38px minmax(30px, 1fr) 38px;
  }

  .stepper button {
    min-height: 38px;
  }

  input[type="range"] {
    min-height: 34px;
  }
}

@media (max-width: 560px) {
  .ssl-topbar-inner {
    width: min(100% - 20px, 1480px);
    min-height: 54px;
    gap: 10px;
  }

  .ssl-topbar-logo {
    width: 74px;
  }

  .ssl-topbar-title {
    font-size: 0.88rem;
  }

  .ssl-topbar-status {
    display: none;
  }

  .ssl-topbar-title-wrap {
    display: none;
  }

  .simulator-shell {
    width: min(100% - 20px, 1480px);
    margin-bottom: 28px;
  }

  .intro-band,
  .control-panel,
  .machine-panel,
  .results-panel {
    padding: 14px;
  }

  .eyebrow {
    margin-bottom: 7px;
    font-size: 0.66rem;
  }

  h1 {
    font-size: clamp(1.65rem, 8vw, 2.2rem);
  }

  .title-line {
    gap: 10px;
    margin-bottom: 9px;
  }

  .brand-select-button {
    min-height: 32px;
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .health-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 3px 10px;
  }

  .health-panel strong {
    text-align: right;
  }

  .health-panel small {
    grid-column: 1 / -1;
  }

  .kpi-grid {
    width: calc(100% + 10px);
    margin-left: -5px;
    padding: 0 5px 5px;
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(158px, 62vw);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .kpi-grid::-webkit-scrollbar {
    display: none;
  }

  .kpi {
    scroll-snap-align: start;
  }

  .mobile-workspace-nav {
    top: 54px;
  }

  .mobile-workspace-tab {
    flex-direction: column;
    gap: 2px;
    min-height: 48px;
    font-size: 0.69rem;
  }

  .mobile-workspace-tab svg {
    width: 17px;
    height: 17px;
  }

  .preset-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .preset-button {
    padding-right: 6px;
    padding-left: 6px;
    white-space: normal;
  }

  .field-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .field-grid label:last-child {
    grid-column: 1 / -1;
  }

  .bar-row {
    grid-template-columns: 60px minmax(0, 1fr) 82px;
    gap: 8px;
    font-size: 0.82rem;
  }
}

@media (max-width: 390px) {
  body {
    min-width: 0;
  }

  .ssl-topbar-inner,
  .simulator-shell {
    width: calc(100% - 16px);
  }

  .intro-copy {
    font-size: 0.88rem;
  }

  .eyebrow {
    display: none;
  }

  .machine-row {
    grid-template-columns: minmax(120px, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "name name"
      "units units"
      "price minutes";
  }

  .machine-field span {
    min-height: 0;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  .field-grid label:last-child {
    grid-column: auto;
  }

  .capacity-block div,
  .result-row {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .workspace > [data-mobile-panel-content].is-mobile-active {
    animation: none;
  }
}
