:root {
  --ink: #101828;
  --muted: #667085;
  --line: #d9e2ec;
  --soft: #f5f8fb;
  --panel: #ffffff;
  --blue: #1a56db;
  --blue-2: #e8f0fe;
  --teal: #0ea5a8;
  --teal-2: #e6fffb;
  --green: #16a34a;
  --green-2: #dcfce7;
  --amber: #d97706;
  --amber-2: #fef3c7;
  --red: #dc2626;
  --red-2: #fee2e2;
  --purple: #7c3aed;
  --shadow: 0 18px 50px rgba(16, 24, 40, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(180deg, #ffffff 0, #f7fafc 250px),
    var(--soft);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

button {
  border: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 28px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 8px;
  color: white;
  background: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.brand-mark.teal {
  background: var(--teal);
}

.brand-title,
.brand-sub {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-title {
  font-size: 15px;
  font-weight: 800;
}

.brand-sub {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.nav-tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: #eef3f8;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.nav-tab {
  min-width: 92px;
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.nav-tab.active {
  color: var(--ink);
  background: white;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.08);
}

.launcher,
.route-page {
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 28px 0 48px;
}

.launcher-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  padding: 30px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 10px;
  font-size: 28px;
  line-height: 1.35;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.45;
}

.lead {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, 92px);
  gap: 10px;
}

.metric-strip div {
  padding: 14px 12px;
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
}

.metric-strip span {
  display: block;
  font-size: 26px;
  font-weight: 800;
}

.metric-strip small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.demo-switch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.demo-tile {
  display: grid;
  grid-template-columns: 42% minmax(0, 1fr);
  min-height: 300px;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.tile-media {
  position: relative;
  min-height: 260px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.tile-blue {
  background:
    linear-gradient(135deg, rgba(26, 86, 219, 0.92), rgba(16, 185, 129, 0.78)),
    #1a56db;
}

.tile-map {
  background:
    linear-gradient(135deg, rgba(14, 165, 168, 0.86), rgba(26, 86, 219, 0.76)),
    #0ea5a8;
}

.mini-dashboard {
  width: min(78%, 240px);
  padding: 16px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

.mini-dashboard span {
  display: block;
  height: 8px;
  margin-bottom: 10px;
  background: #dbe8ff;
  border-radius: 999px;
}

.mini-dashboard span:nth-child(1) {
  width: 45%;
  background: #1a56db;
}

.mini-dashboard span:nth-child(2) {
  width: 80%;
}

.mini-dashboard span:nth-child(3) {
  width: 68%;
}

.mini-dashboard div {
  height: 32px;
  margin-top: 8px;
  border-radius: 6px;
  background: #f1f5f9;
}

.route-preview {
  position: relative;
  width: min(80%, 260px);
  aspect-ratio: 5 / 3;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

.route-preview svg {
  position: absolute;
  inset: 12%;
  width: 76%;
  height: 76%;
}

.route-preview i {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 3px solid white;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.3);
}

.tile-body {
  padding: 30px;
}

.tile-body p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.8;
}

.primary-link,
.action-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.primary-link,
.action-button {
  color: white;
  background: var(--blue);
}

.primary-link.teal,
.action-button.teal {
  background: var(--teal);
}

.secondary-button {
  color: var(--ink);
  background: #edf2f7;
}

.app-shell {
  display: grid;
  min-height: calc(100vh - 64px);
}

.scoring-layout {
  grid-template-columns: 310px minmax(0, 1fr);
}

.side-panel {
  padding: 22px;
  background: #fbfdff;
  border-right: 1px solid var(--line);
}

.panel-head h2 {
  margin-bottom: 16px;
}

.priority-list {
  display: grid;
  gap: 10px;
}

.priority-card {
  display: block;
  width: 100%;
  padding: 14px;
  color: inherit;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: left;
  cursor: pointer;
}

.priority-card.active,
.priority-card:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 24px rgba(26, 86, 219, 0.12);
}

.priority-card strong {
  display: block;
  margin-bottom: 5px;
  font-size: 13px;
}

.priority-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.priority-chip,
.type-chip,
.days-chip {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  margin-top: 9px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.priority-chip.red,
.days-chip.red {
  color: #991b1b;
  background: var(--red-2);
}

.priority-chip.amber,
.days-chip.amber {
  color: #92400e;
  background: var(--amber-2);
}

.priority-chip.blue,
.days-chip.blue {
  color: #1e3a8a;
  background: var(--blue-2);
}

.days-chip.green {
  color: #166534;
  background: var(--green-2);
}

.note-box {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  padding: 14px;
  color: #475467;
  background: #f1f5f9;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.7;
}

.teal-note {
  color: #0f766e;
  background: var(--teal-2);
  border-color: #99f6e4;
}

.workspace {
  min-width: 0;
  padding: 22px;
}

.workspace-head,
.route-command,
.status-row,
.panel-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.workspace-head,
.route-command {
  margin-bottom: 16px;
}

.workspace-head h1,
.route-command h1 {
  margin-bottom: 0;
}

.kpi-grid,
.route-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.kpi-card {
  padding: 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.kpi-card span,
.kpi-card small {
  display: block;
}

.kpi-card span {
  color: var(--muted);
  font-size: 12px;
}

.kpi-card strong {
  display: block;
  margin: 8px 0 5px;
  font-size: 28px;
  line-height: 1;
}

.kpi-card small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.kpi-card .up,
.up {
  color: var(--green);
}

.kpi-card .down,
.down {
  color: var(--red);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(330px, 0.9fr);
  gap: 14px;
}

.content-grid.lower {
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.7fr);
  margin-top: 14px;
}

.data-panel,
.map-panel,
.schedule-card {
  min-width: 0;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(16, 24, 40, 0.04);
}

.panel-toolbar {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.panel-toolbar.compact {
  padding: 14px 16px;
}

.panel-toolbar h2 {
  margin-bottom: 2px;
  font-size: 16px;
}

.panel-toolbar p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
}

.controls {
  display: flex;
  gap: 8px;
}

.controls select,
.controls input {
  height: 36px;
  padding: 0 10px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
}

.controls input {
  width: 170px;
}

.table-wrap {
  overflow: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th {
  padding: 10px 14px;
  color: var(--muted);
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  font-weight: 800;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
}

td {
  padding: 12px 14px;
  border-bottom: 1px solid #edf2f7;
  color: #344054;
  font-size: 13px;
  vertical-align: middle;
}

tbody tr {
  cursor: pointer;
}

tbody tr:hover,
tbody tr.active {
  background: #f4f8ff;
}

.facility-name {
  display: block;
  color: var(--ink);
  font-weight: 800;
}

.facility-area {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.type-chip.hospital {
  color: #5b21b6;
  background: #ede9fe;
}

.type-chip.care {
  color: #075985;
  background: #e0f2fe;
}

.type-chip.home {
  color: #92400e;
  background: #fef3c7;
}

.score {
  display: grid;
  grid-template-columns: 42px minmax(90px, 1fr);
  gap: 10px;
  align-items: center;
}

.score strong {
  font-size: 20px;
}

.score-track {
  height: 7px;
  overflow: hidden;
  background: #e7edf5;
  border-radius: 999px;
}

.score-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
}

.score.high strong {
  color: var(--green);
}

.score.high i {
  background: var(--green);
}

.score.mid strong {
  color: var(--blue);
}

.score.low strong {
  color: var(--amber);
}

.score.low i {
  background: var(--amber);
}

.detail-panel {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 18px;
}

.detail-title {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.detail-title h2 {
  margin-bottom: 4px;
}

.big-score {
  min-width: 76px;
  padding: 10px;
  border-radius: 8px;
  color: var(--blue);
  background: var(--blue-2);
  text-align: center;
}

.big-score strong {
  display: block;
  font-size: 30px;
  line-height: 1;
}

.big-score span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.detail-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.detail-stats div {
  padding: 10px;
  background: #f8fafc;
  border: 1px solid #edf2f7;
  border-radius: 8px;
  text-align: center;
}

.detail-stats strong {
  display: block;
  font-size: 18px;
}

.detail-stats span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.analysis-box,
.script-box {
  padding: 14px;
  border-radius: 8px;
}

.analysis-box {
  background: #f4f8ff;
  border: 1px solid #cfe0ff;
}

.analysis-box strong,
.script-box strong {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
}

.analysis-box p,
.script-box p {
  margin-bottom: 0;
  color: #344054;
  font-size: 13px;
  line-height: 1.8;
}

.script-box {
  color: #e8eef7;
  background: #172033;
}

.script-box p {
  color: #e8eef7;
}

.detail-actions {
  display: flex;
  gap: 8px;
}

.detail-actions button {
  flex: 1;
}

.bar-chart {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  align-items: end;
  min-height: 210px;
  padding: 18px;
}

.month-bar {
  display: grid;
  align-items: end;
  gap: 5px;
  height: 170px;
}

.bar-stack {
  display: grid;
  align-items: end;
  height: 140px;
  background: #f8fafc;
  border-radius: 6px;
  overflow: hidden;
}

.bar-stack span {
  display: block;
}

.month-label {
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.insight-list {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.insight-list div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid #edf2f7;
  border-radius: 8px;
}

.insight-list strong {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: white;
  background: var(--blue);
  border-radius: 50%;
  font-size: 12px;
}

.insight-list span {
  font-size: 13px;
  font-weight: 700;
}

.loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: rgba(16, 24, 40, 0.5);
  backdrop-filter: blur(5px);
}

.loading-overlay[hidden] {
  display: none;
}

.loading-box {
  width: min(390px, calc(100vw - 40px));
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 34px;
  background: white;
  border-radius: 8px;
  box-shadow: var(--shadow);
  text-align: center;
}

.loading-box span {
  color: var(--muted);
  font-size: 13px;
}

.spinner {
  width: 46px;
  height: 46px;
  border: 4px solid #dbe8ff;
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.teal-spinner {
  border-color: #ccfbf1;
  border-top-color: var(--teal);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.route-command {
  padding: 22px 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.route-actions {
  display: flex;
  gap: 10px;
}

.status-row {
  margin: 14px 0;
  padding: 14px 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.status-row strong,
.status-row span {
  display: block;
}

.status-row span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.mode-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.mode-pill.before {
  color: #991b1b;
  background: var(--red-2);
}

.mode-pill.after {
  color: #0f766e;
  background: var(--teal-2);
}

.route-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 14px;
}

.map-legend {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
}

.map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.legend {
  width: 10px;
  height: 10px;
  display: inline-block;
  border-radius: 50%;
}

.legend.clinic {
  background: var(--purple);
}

.legend.d1,
.route-d1 {
  background: #2563eb;
}

.legend.d2,
.route-d2 {
  background: #16a34a;
}

.legend.d3,
.route-d3 {
  background: #d97706;
}

.map-canvas {
  position: relative;
  width: 100%;
  min-height: 520px;
  overflow: hidden;
  background: #eaf3f5;
}

.fallback-map {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px),
    linear-gradient(135deg, #e1f1ea, #dcecf8);
  background-size: 42px 42px, 42px 42px, auto;
}

.fallback-map svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.map-marker {
  position: absolute;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  color: white;
  border: 2px solid white;
  border-radius: 50%;
  box-shadow: 0 3px 10px rgba(16, 24, 40, 0.28);
  font-size: 11px;
  font-weight: 800;
}

.map-marker.clinic {
  width: 36px;
  height: 36px;
  background: var(--purple);
  border-radius: 8px;
  font-size: 13px;
}

.map-warning {
  position: absolute;
  right: 14px;
  bottom: 14px;
  max-width: 330px;
  padding: 12px 14px;
  color: #475467;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.08);
  font-size: 12px;
  line-height: 1.6;
}

.doctor-list {
  display: grid;
  gap: 16px;
  padding: 16px;
}

.doctor-card {
  display: grid;
  gap: 8px;
}

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

.doctor-avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: white;
  border-radius: 50%;
  font-weight: 800;
}

.doctor-name {
  display: block;
  font-size: 13px;
  font-weight: 800;
}

.doctor-meta {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.eff-pill {
  padding: 4px 8px;
  color: #991b1b;
  background: var(--red-2);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.eff-pill.after {
  color: #166534;
  background: var(--green-2);
}

.timeline {
  position: relative;
  height: 48px;
  background: linear-gradient(#f8fafc, #f8fafc) center / 100% 4px no-repeat;
}

.time-block {
  position: absolute;
  top: 14px;
  height: 20px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: white;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
}

.time-block.travel {
  background: #d9e2ec;
  color: #64748b;
}

.time-block.extra {
  color: #166534;
  background: #dcfce7;
  border: 2px dashed #16a34a;
}

.time-label {
  position: absolute;
  bottom: 0;
  color: #98a2b3;
  font-size: 9px;
}

.route-kpis {
  margin-top: 14px;
}

.gmaps-route-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  padding: 16px 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.gmaps-route-panel[hidden],
.route-insight[hidden] {
  display: none;
}

.gmaps-route-panel strong,
.gmaps-route-panel span {
  display: block;
}

.gmaps-route-panel span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.gmaps-buttons {
  display: flex;
  gap: 8px;
}

.gmaps-buttons button {
  min-height: 38px;
  padding: 0 14px;
  color: white;
  background: var(--teal);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.route-insight {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  margin-top: 14px;
  padding: 22px 24px;
  color: white;
  background: linear-gradient(135deg, #172033, #134e4a);
  border-radius: 8px;
}

.route-insight .eyebrow {
  color: #7dd3fc;
}

.route-insight h2 {
  margin-bottom: 8px;
}

.route-insight p {
  margin-bottom: 0;
  color: #d9f1f1;
  line-height: 1.75;
}

.route-insight > strong {
  min-width: 160px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  font-size: 28px;
  text-align: center;
}

@media (max-width: 1040px) {
  .scoring-layout,
  .content-grid,
  .content-grid.lower,
  .route-grid,
  .demo-switch-grid,
  .demo-tile,
  .launcher-band {
    grid-template-columns: 1fr;
  }

  .side-panel {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .priority-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .route-grid {
    gap: 14px;
  }

  .map-canvas {
    min-height: 420px;
  }
}

@media (max-width: 720px) {
  .topbar {
    height: auto;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
  }

  .nav-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .nav-tab {
    min-width: 0;
  }

  .launcher,
  .route-page {
    width: min(100vw - 24px, 1180px);
    padding-top: 14px;
  }

  .metric-strip,
  .kpi-grid,
  .route-kpis,
  .priority-list,
  .detail-stats {
    grid-template-columns: 1fr;
  }

  .workspace,
  .side-panel {
    padding: 14px;
  }

  .workspace-head,
  .route-command,
  .status-row,
  .panel-toolbar,
  .gmaps-route-panel,
  .route-insight {
    align-items: stretch;
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 23px;
  }

  .controls {
    flex-direction: column;
  }

  .controls input {
    width: 100%;
  }
}

