.wao-widget {
  --wao-bg: #f6f8fb;
  --wao-card: #ffffff;
  --wao-ink: #172033;
  --wao-muted: #637086;
  --wao-line: #d9e1ec;
  --wao-blue: #1976d2;
  --wao-blue-dark: #0f4f94;
  --wao-green: #16845f;
  --wao-amber: #b46a00;
  --wao-red: #c53131;
  --wao-shadow: 0 18px 50px rgba(19, 33, 54, 0.11);
  color: var(--wao-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  overflow-x: clip;
  container-type: inline-size;
}

.wao-widget * {
  box-sizing: border-box;
  min-width: 0;
}

.wao-widget button,
.wao-widget input {
  font: inherit;
}

.wao-grid {
  display: grid;
  grid-template-columns: minmax(300px, 390px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  width: 100%;
}

.wao-main {
  display: grid;
  gap: 16px;
}

.wao-panel {
  padding: 22px;
  border: 1px solid var(--wao-line);
  border-radius: 8px;
  background: var(--wao-card);
  box-shadow: var(--wao-shadow);
  max-width: 100%;
}

.wao-result {
  position: sticky;
  top: 24px;
  order: 2;
}

.wao-result-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.wao-label,
.wao-result-cards span {
  display: block;
  color: var(--wao-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.wao-bac-now {
  display: block;
  margin-top: 4px;
  color: var(--wao-ink) !important;
  font-size: clamp(44px, 7vw, 64px);
  line-height: 1;
  font-weight: 950;
}

.wao-risk {
  flex: 0 0 auto;
  padding: 8px 11px;
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.wao-safe {
  background: var(--wao-green);
}

.wao-warn {
  background: var(--wao-amber);
}

.wao-danger {
  background: var(--wao-red);
}

.wao-meter {
  height: 12px;
  margin: 18px 0;
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(90deg, #d6f0e4 0 20%, #ffe9bd 20% 50%, #ffd4d4 50%);
}

.wao-meter span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #14243d;
  transition: width 180ms ease;
}

.wao-result-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.wao-result-cards div {
  min-height: 76px;
  padding: 12px;
  border: 1px solid var(--wao-line);
  border-radius: 8px;
  background: #f9fbfe;
  overflow-wrap: anywhere;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.wao-result-cards strong {
  display: block;
  margin-top: 5px;
  color: var(--wao-ink) !important;
  font-size: 18px;
}

.wao-note {
  margin: 14px 0 0;
  color: var(--wao-muted);
  line-height: 1.5;
}

.wao-timeline {
  margin-top: 16px;
}

.wao-timeline svg {
  display: block;
  width: 100%;
  height: auto;
}

.wao-timeline line {
  stroke: #cdd7e3;
  stroke-width: 2;
}

.wao-line-warn {
  stroke: #e4a11b !important;
  stroke-dasharray: 6 6;
}

.wao-line-danger {
  stroke: #d74d4d !important;
  stroke-dasharray: 6 6;
}

.wao-chart-fill {
  fill: rgba(25, 118, 210, 0.14);
}

.wao-chart-line {
  fill: none;
  stroke: var(--wao-blue);
  stroke-width: 4;
  stroke-linecap: round;
}

.wao-timeline-labels {
  display: flex;
  justify-content: space-around;
  color: var(--wao-muted);
  font-size: 12px;
  font-weight: 800;
}

.wao-stop-card {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px 12px;
  align-items: center;
  margin-top: 16px;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid var(--wao-line);
  background: #f8fbff;
}

.wao-stop-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--wao-blue);
  color: #fff;
  font-weight: 950;
}

.wao-stop-card strong,
.wao-stop-card span:last-child {
  display: block;
}

.wao-stop-card span:last-child {
  grid-column: 2;
  color: var(--wao-muted);
  line-height: 1.45;
}

.wao-stop-high {
  border-color: #ffc8c8;
  background: #fff0f0;
}

.wao-stop-high .wao-stop-icon {
  background: var(--wao-red);
}

.wao-stop-low {
  border-color: #bfe6d7;
  background: #f0fbf6;
}

.wao-stop-low .wao-stop-icon {
  background: var(--wao-green);
}

.wao-mini-title {
  margin: 18px 0 10px;
  color: var(--wao-ink);
  font-size: 15px;
  font-weight: 900;
}

.wao-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.wao-summary-grid div {
  padding: 12px;
  border: 1px solid var(--wao-line);
  border-radius: 8px;
  background: #fbfcfe;
}

.wao-summary-grid span {
  display: block;
  margin-bottom: 4px;
  color: var(--wao-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.wao-summary-grid strong {
  display: block;
  color: var(--wao-ink);
  line-height: 1.35;
}

.wao-scale-track {
  position: relative;
  min-height: 48px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f34242 0 34%, #e3a112 34% 72%, #88db0d 72%);
}

.wao-scale-track::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, transparent 0, transparent calc(25% - 1px), rgba(255,255,255,0.65) calc(25% - 1px), rgba(255,255,255,0.65) 25%, transparent 25%);
  background-size: 25% 100%;
}

.wao-scale-track span {
  position: absolute;
  top: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
  min-width: 76px;
  padding: 5px 7px;
  border-radius: 7px;
  background: #fff;
  color: var(--wao-ink);
  text-align: center;
  font-size: 12px;
  font-weight: 850;
  box-shadow: 0 6px 18px rgba(19, 33, 54, 0.14);
}

.wao-sober-line {
  margin-top: 10px;
  color: var(--wao-muted);
  line-height: 1.45;
}

.wao-table-wrap {
  overflow-x: auto;
}

.wao-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 420px;
}

.wao-table th,
.wao-table td {
  padding: 10px 8px;
  border-bottom: 1px solid #edf1f6;
  text-align: left;
  font-size: 13px;
}

.wao-table th {
  color: var(--wao-muted);
  font-weight: 900;
  text-transform: uppercase;
}

.wao-results-empty .wao-meter,
.wao-results-empty .wao-result-cards,
.wao-results-empty .wao-timeline,
.wao-results-empty .wao-stop-card,
.wao-results-empty .wao-summary,
.wao-results-empty .wao-sober-scale,
.wao-results-empty .wao-table-wrap {
  display: none !important;
}

.wao-results-empty .wao-note {
  margin-top: 0;
  padding: 14px;
  border: 1px dashed var(--wao-line);
  border-radius: 8px;
  background: #fbfcfe;
}

.wao-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.wao-step-number {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: var(--wao-blue);
  color: #ffffff !important;
  font-weight: 950;
  line-height: 1;
  text-align: center;
}

.wao-section-title strong {
  margin: 0;
  color: var(--wao-ink);
  font-size: 20px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.wao-segmented {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.wao-segmented label {
  position: relative;
  cursor: pointer;
}

.wao-segmented input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  pointer-events: none;
}

.wao-segmented span {
  display: grid;
  min-height: 46px;
  place-items: center;
  border: 1px solid var(--wao-line);
  border-radius: 8px;
  color: var(--wao-muted);
  font-weight: 850;
  text-align: center;
}

.wao-segmented input:checked + span {
  border-color: var(--wao-blue);
  background: #e9f3ff;
  color: var(--wao-blue-dark);
}

.wao-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.wao-widget label > span,
.wao-range > span {
  display: block;
  margin-bottom: 7px;
  color: #273247;
  font-weight: 850;
}

.wao-widget small {
  color: var(--wao-muted);
  font-weight: 650;
}

.wao-widget.wao-widget input,
.wao-widget.wao-widget .wao-numeric,
.wao-widget input[type="number"],
.wao-widget input[type="text"],
.wao-widget input[type="datetime-local"] {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--wao-line);
  border-radius: 8px;
  background: #fff;
  color: var(--wao-ink) !important;
  -webkit-text-fill-color: var(--wao-ink) !important;
  opacity: 1;
  visibility: visible;
  font-size: 16px;
  line-height: 46px;
  text-align: left;
  text-shadow: none;
  box-shadow: none;
  max-width: 100%;
}

.wao-widget.wao-widget .wao-numeric {
  background-color: #ffffff !important;
  color: #172033 !important;
  -webkit-text-fill-color: #172033 !important;
  caret-color: #172033;
  font-weight: 750;
}

.wao-widget input:focus {
  border-color: var(--wao-blue);
  outline: 3px solid rgba(25, 118, 210, 0.18);
}

.wao-range {
  display: block;
  margin-top: 18px;
}

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

.wao-range div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--wao-muted);
  font-size: 14px;
  line-height: 1.25;
}

.wao-drinks {
  display: grid;
  gap: 10px;
}

.wao-drink {
  display: grid;
  grid-template-columns: 42px 1fr 112px;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #edf1f6;
  position: relative;
}

.wao-drink:last-child {
  border-bottom: 0;
}

.wao-drink-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: #f0f5fa;
  color: var(--wao-blue-dark);
  font-weight: 950;
}

.wao-drink strong {
  display: block;
  line-height: 1.25;
}

.wao-drink em {
  display: block;
  color: var(--wao-muted);
  font-size: 14px;
  font-style: normal;
  line-height: 1.3;
}

.wao-stepper {
  display: grid;
  grid-template-columns: 34px 44px 34px;
  overflow: hidden;
  border: 1px solid var(--wao-line);
  border-radius: 8px;
  justify-self: end;
}

.wao-remove-drink {
  grid-column: 2 / -1;
  justify-self: start;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #ffd4d4;
  border-radius: 8px;
  background: #fff7f7;
  color: var(--wao-red);
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
}

.wao-stepper button {
  min-height: 38px;
  border: 0;
  background: #f8fbff;
  color: var(--wao-blue-dark);
  cursor: pointer;
  font-size: 20px;
  font-weight: 950;
}

.wao-stepper input {
  width: 44px;
  min-height: 38px;
  padding: 0;
  border: 0;
  border-left: 1px solid var(--wao-line);
  border-right: 1px solid var(--wao-line);
  background: #ffffff !important;
  color: var(--wao-ink) !important;
  -webkit-text-fill-color: var(--wao-ink) !important;
  opacity: 1;
  visibility: visible;
  text-align: center;
  font-weight: 850;
  font-size: 16px;
  line-height: 38px;
  text-shadow: none;
}

.wao-custom {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--wao-line);
}

.wao-fields-custom {
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
}

.wao-date-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.wao-ghost,
.wao-primary,
.wao-secondary {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 850;
  white-space: normal;
}

.wao-ghost {
  width: 100%;
  margin-top: 12px;
  border: 1px dashed var(--wao-blue);
  background: #f5faff;
  color: var(--wao-blue-dark);
}

.wao-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.wao-alert {
  flex: 1 1 100%;
  padding: 10px 12px;
  border: 1px solid #ffd596;
  border-radius: 8px;
  background: #fff8ea;
  color: #7a4a00;
  font-weight: 750;
  line-height: 1.45;
}

.wao-primary {
  border: 0;
  background: var(--wao-blue);
  color: #fff;
}

.wao-secondary {
  border: 1px solid var(--wao-line);
  background: #fff;
  color: var(--wao-ink);
}

@media (max-width: 980px) {
  .wao-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .wao-result {
    position: static;
    order: 2;
  }

  .wao-main {
    gap: 14px;
  }
}

@container (max-width: 980px) {
  .wao-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .wao-result {
    position: static;
    order: 2;
  }

  .wao-main {
    gap: 14px;
  }
}

@media (min-width: 621px) and (max-width: 980px) {
  .wao-panel {
    padding: 20px;
  }

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

  .wao-fields-custom {
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
  }

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

  .wao-result-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .wao-drink {
    grid-template-columns: 42px minmax(0, 1fr) 128px;
  }

  .wao-stepper {
    grid-template-columns: 40px 48px 40px;
    width: 128px;
  }

  .wao-stepper input {
    width: 48px;
  }
}

@container (min-width: 621px) and (max-width: 980px) {
  .wao-panel {
    padding: 20px;
  }

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

  .wao-fields-custom {
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
  }

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

  .wao-result-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .wao-drink {
    grid-template-columns: 42px minmax(0, 1fr) 128px;
  }

  .wao-stepper {
    grid-template-columns: 40px 48px 40px;
    width: 128px;
  }

  .wao-stepper input {
    width: 48px;
  }
}

@media (max-width: 620px) {
  .wao-widget {
    width: 100%;
    max-width: 100%;
  }

  .wao-grid {
    gap: 12px;
  }

  .wao-panel {
    padding: 14px;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(19, 33, 54, 0.09);
  }

  .wao-bac-now {
    font-size: 44px;
  }

  .wao-risk {
    align-self: flex-start;
    max-width: 100%;
    white-space: normal;
  }

  .wao-section-title {
    gap: 10px;
    margin-bottom: 14px;
  }

  .wao-step-number {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
  }

  .wao-section-title strong {
    font-size: 18px;
  }

  .wao-fields,
  .wao-fields-custom,
  .wao-date-fields,
  .wao-result-cards {
    grid-template-columns: 1fr;
  }

  .wao-drink {
    grid-template-columns: 36px minmax(0, 1fr) 116px;
    gap: 10px;
    align-items: center;
    padding: 12px 0;
  }

  .wao-drink-icon {
    width: 36px;
    height: 36px;
  }

  .wao-drink em {
    font-size: 13px;
  }

  .wao-stepper {
    grid-column: auto;
    width: 116px;
    grid-template-columns: 36px 44px 36px;
  }

  .wao-stepper button,
  .wao-stepper input {
    min-height: 42px;
    line-height: 42px;
  }

  .wao-result-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .wao-range div {
    font-size: 12px;
  }

  .wao-timeline {
    margin-top: 10px;
  }

  .wao-actions {
    justify-content: stretch;
    display: grid;
    grid-template-columns: 1fr;
  }

  .wao-actions button {
    width: 100%;
    min-height: 50px;
  }
}

@container (max-width: 620px) {
  .wao-widget {
    width: 100%;
    max-width: 100%;
  }

  .wao-grid {
    gap: 12px;
  }

  .wao-panel {
    padding: 14px;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(19, 33, 54, 0.09);
  }

  .wao-bac-now {
    font-size: 44px;
  }

  .wao-risk {
    align-self: flex-start;
    max-width: 100%;
    white-space: normal;
  }

  .wao-section-title {
    gap: 10px;
    margin-bottom: 14px;
  }

  .wao-step-number {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
  }

  .wao-section-title strong {
    font-size: 18px;
  }

  .wao-fields,
  .wao-fields-custom,
  .wao-date-fields,
  .wao-result-cards {
    grid-template-columns: 1fr;
  }

  .wao-drink {
    grid-template-columns: 36px minmax(0, 1fr) 116px;
    gap: 10px;
    align-items: center;
    padding: 12px 0;
  }

  .wao-drink-icon {
    width: 36px;
    height: 36px;
  }

  .wao-drink em {
    font-size: 13px;
  }

  .wao-stepper {
    grid-column: auto;
    width: 116px;
    grid-template-columns: 36px 44px 36px;
  }

  .wao-stepper button,
  .wao-stepper input {
    min-height: 42px;
    line-height: 42px;
  }

  .wao-result-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .wao-range div {
    font-size: 12px;
  }

  .wao-timeline {
    margin-top: 10px;
  }

  .wao-actions {
    justify-content: stretch;
    display: grid;
    grid-template-columns: 1fr;
  }

  .wao-actions button {
    width: 100%;
    min-height: 50px;
  }
}

@media (max-width: 430px) {
  .wao-panel {
    padding: 12px;
  }

  .wao-result-cards {
    gap: 8px;
  }

  .wao-result-cards div {
    min-height: 68px;
    padding: 10px;
  }

  .wao-result-cards strong {
    font-size: 16px;
  }

  .wao-segmented {
    grid-template-columns: 1fr;
  }

  .wao-drink {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .wao-stepper {
    grid-column: 2;
    justify-self: start;
    margin-top: 4px;
  }

  .wao-fields,
  .wao-fields-custom,
  .wao-date-fields {
    gap: 10px;
  }

  .wao-widget.wao-widget input,
  .wao-widget.wao-widget .wao-numeric,
  .wao-widget input[type="text"],
  .wao-widget input[type="datetime-local"] {
    min-height: 44px;
    line-height: 44px;
  }
}

@container (max-width: 430px) {
  .wao-panel {
    padding: 12px;
  }

  .wao-result-cards {
    gap: 8px;
  }

  .wao-result-cards div {
    min-height: 68px;
    padding: 10px;
  }

  .wao-result-cards strong {
    font-size: 16px;
  }

  .wao-segmented {
    grid-template-columns: 1fr;
  }

  .wao-drink {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .wao-stepper {
    grid-column: 2;
    justify-self: start;
    margin-top: 4px;
  }

  .wao-fields,
  .wao-fields-custom,
  .wao-date-fields {
    gap: 10px;
  }

  .wao-widget.wao-widget .wao-numeric,
  .wao-widget input[type="text"],
  .wao-widget input[type="datetime-local"] {
    min-height: 44px;
    line-height: 44px;
  }
}

@media (max-width: 360px) {
  .wao-bac-now {
    font-size: 38px;
  }

  .wao-result-cards {
    grid-template-columns: 1fr;
  }

  .wao-range div {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 4px;
  }
}

@container (max-width: 360px) {
  .wao-bac-now {
    font-size: 38px;
  }

  .wao-result-cards {
    grid-template-columns: 1fr;
  }

  .wao-range div {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 4px;
  }
}

@media print {
  .wao-widget .wao-main,
  .wao-widget .wao-actions {
    display: none;
  }

  .wao-widget .wao-grid {
    display: block;
  }

  .wao-widget .wao-panel {
    box-shadow: none;
  }
}

/* Version 2.1 layout reset: container-first, no horizontal scroll. */
.wao-widget {
  display: block;
  width: 100% !important;
  max-width: 1040px !important;
  min-width: 0 !important;
  margin-inline: auto !important;
  overflow-x: hidden !important;
  container-type: inline-size;
}

.wao-widget,
.wao-widget * {
  max-width: 100%;
}

.wao-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 16px !important;
  width: 100% !important;
  min-width: 0 !important;
}

.wao-result {
  position: static !important;
  top: auto !important;
  order: 2 !important;
}

.wao-main {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 16px !important;
  width: 100% !important;
  order: 1 !important;
}

.wao-panel {
  width: 100% !important;
  min-width: 0 !important;
  padding: clamp(14px, 3cqw, 24px) !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 30px rgba(19, 33, 54, 0.08) !important;
}

.wao-result-head {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px !important;
  align-items: start !important;
}

.wao-bac-now {
  font-size: clamp(38px, 12cqw, 64px) !important;
}

.wao-risk {
  max-width: 100%;
  white-space: normal;
  text-align: center;
}

.wao-result-cards {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.wao-summary-grid {
  grid-template-columns: minmax(0, 1fr) !important;
}

.wao-section-title {
  align-items: center !important;
}

.wao-section-title strong {
  font-size: clamp(18px, 3.5cqw, 22px) !important;
}

.wao-segmented {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.wao-segmented label {
  position: static !important;
}

.wao-segmented input {
  display: none !important;
  position: static !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
}

.wao-segmented span {
  min-height: 48px !important;
  padding: 8px 10px !important;
  line-height: 1.15 !important;
}

.wao-fields,
.wao-fields-custom,
.wao-date-fields {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 12px !important;
}

.wao-widget.wao-widget .wao-numeric,
.wao-widget input[type="text"],
.wao-widget input[type="datetime-local"] {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 46px !important;
}

.wao-range div {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(70px, 1fr)) !important;
  gap: 6px !important;
}

.wao-range div span:nth-child(2) {
  text-align: center;
}

.wao-range div span:last-child {
  text-align: right;
}

.wao-drinks {
  gap: 8px !important;
}

.wao-drink {
  display: grid !important;
  grid-template-columns: 38px minmax(0, 1fr) !important;
  gap: 10px !important;
  align-items: center !important;
  padding: 12px 0 !important;
}

.wao-drink-icon {
  width: 38px !important;
  height: 38px !important;
}

.wao-stepper {
  grid-column: 2 !important;
  justify-self: start !important;
  width: 128px !important;
  grid-template-columns: 40px 48px 40px !important;
}

.wao-remove-drink {
  grid-column: 2 !important;
}

.wao-stepper button,
.wao-stepper input {
  min-height: 42px !important;
  line-height: 42px !important;
}

.wao-stepper input {
  width: 48px !important;
}

.wao-actions {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 10px !important;
  justify-content: stretch !important;
}

.wao-actions button {
  width: 100% !important;
  min-height: 50px !important;
}

@container (max-width: 420px) {
  .wao-result-head {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .wao-result-cards {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .wao-segmented {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@container (min-width: 560px) {
  .wao-fields {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .wao-fields-custom {
    grid-template-columns: 1.2fr 0.8fr 0.8fr !important;
  }

  .wao-date-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .wao-drink {
    grid-template-columns: 42px minmax(0, 1fr) 128px auto !important;
  }

  .wao-stepper {
    grid-column: auto !important;
    justify-self: end !important;
  }

  .wao-remove-drink {
    grid-column: auto !important;
    align-self: center !important;
  }
}

@container (min-width: 760px) {
  .wao-result-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  .wao-summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .wao-actions {
    grid-template-columns: repeat(3, minmax(0, max-content)) !important;
    justify-content: end !important;
  }

  .wao-alert {
    grid-column: 1 / -1 !important;
  }

  .wao-actions button {
    width: auto !important;
    min-width: 130px !important;
  }
}

@container (min-width: 920px) {
  .wao-main {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .wao-main > .wao-panel:first-child {
    grid-column: 1 / -1;
  }
}
