/* Public process rehearsal, isolated from private Driver and Operations styles. */
.waka-demo {
  --wd-ink: #082e46;
  --wd-muted: #506570;
  --wd-line: #d5dfdf;
  --wd-blue: #00698b;
  --wd-gold: #ffcb32;
  color: var(--wd-ink);
  margin-block: 28px 72px;
  scroll-margin-top: 120px;
}
.waka-demo *,
.waka-demo *::before,
.waka-demo *::after {
  box-sizing: border-box;
}
.waka-demo h2 {
  font-size: clamp(25px, 3.5vw, 38px);
  line-height: 1.14;
  letter-spacing: -0.045em;
  margin: 8px 0 14px;
}
.waka-demo h3 {
  font-size: 19px;
  line-height: 1.35;
  letter-spacing: -0.025em;
  margin: 0 0 10px;
}
.waka-demo p {
  line-height: 1.65;
  margin: 8px 0 14px;
}
.waka-demo button,
.waka-demo select {
  font: inherit;
}
.waka-demo button,
.waka-demo select,
.waka-demo a {
  touch-action: manipulation;
}
.waka-demo a {
  color: var(--wd-blue);
  font-weight: 700;
  text-underline-offset: 3px;
}
.waka-demo :focus-visible {
  outline: 3px solid #007aa5;
  outline-offset: 4px;
}
.waka-demo #wd-flow-title:focus {
  outline: none;
}
.wd-header {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}
.wd-header p {
  color: var(--wd-muted);
  max-width: 600px;
}
.wd-demo-label,
.wd-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.wd-demo-label {
  background: var(--wd-gold);
  padding: 5px 10px;
  border-radius: 5px;
}
.wd-kicker {
  color: var(--wd-muted);
  margin-top: 0 !important;
}
.wd-notice {
  background: #082e46;
  color: white;
  border-radius: 16px;
  padding: 20px 24px;
  margin-block: 18px 10px;
}
.wd-notice strong {
  color: #ffdc68;
  font-size: 15px;
}
.wd-notice p {
  font-size: 13px;
  max-width: 900px;
  margin-bottom: 0;
}
.wd-storage {
  color: var(--wd-muted);
  font-size: 12px;
}
.wd-feedback {
  font-size: 13px;
  border-left: 3px solid #007aa5;
  padding: 10px 14px;
  background: #e9f3f6;
  min-height: 42px;
}
.wd-error {
  border-left-color: #a22b31;
  background: #fff0ee;
  color: #7f1f29;
}
.wd-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 24px 0;
}
.waka-demo .wd-button {
  appearance: none;
  border: 1px solid transparent;
  background: var(--wd-ink);
  color: white;
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.4;
  padding: 13px 17px;
  border-radius: 10px;
  min-height: 46px;
  max-width: 100%;
  text-align: center;
  transition:
    background 0.16s ease,
    border-color 0.16s ease;
}
.waka-demo .wd-button:hover {
  background: #14516e;
}
.waka-demo .wd-button-secondary {
  background: white;
  border-color: #c7d6da;
  color: var(--wd-ink);
}
.waka-demo .wd-button-secondary:hover {
  background: #eef5f6;
  border-color: #809daa;
}
.waka-demo .wd-button:disabled {
  background: #edf0ef;
  color: #596b73;
  border-color: #d1dcdf;
  cursor: not-allowed;
}
.wd-nav .wd-button {
  font-size: 12px;
  padding: 10px 13px;
  min-height: 42px;
}
.wd-nav .wd-button[aria-pressed="true"],
.wd-role .wd-button[aria-pressed="true"] {
  background: var(--wd-ink);
  color: #fff;
  border-color: var(--wd-ink);
}
.wd-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 290px);
  gap: 22px;
  align-items: start;
}
.wd-content {
  background: #fff;
  border: 1px solid var(--wd-line);
  border-radius: 20px;
  min-width: 0;
  overflow: hidden;
}
.wd-record-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  padding: 28px 28px 18px;
}
.wd-record-heading h2 {
  font-size: 29px;
}
.wd-record-heading p {
  font-size: 13px;
  color: var(--wd-muted);
  max-width: 430px;
}
.wd-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid #b7c9d0;
  background: #eef4f6;
  color: #31515f;
  font-size: 11px;
  line-height: 1.4;
  padding: 6px 10px;
  border-radius: 7px;
  font-weight: 750;
  flex-shrink: 0;
}
.wd-badge-complete {
  background: #eaf5ec;
  border-color: #aecdb7;
  color: #2b5837;
}
.wd-role {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0 28px 20px;
}
.wd-role > span {
  font-size: 12px;
  color: var(--wd-muted);
  margin-right: 6px;
}
.wd-role .wd-button {
  font-size: 11px;
  padding: 8px 11px;
  min-height: 38px;
}
.wd-progress {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 14px;
  list-style: none;
  padding: 18px 28px;
  margin: 0;
  border-block: 1px solid #e0e7e7;
  background: #f6f8f7;
}
.wd-progress li {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  line-height: 1.3;
  color: #61727a;
}
.wd-step-number {
  width: 21px;
  height: 21px;
  border: 1px solid #c8d5d8;
  background: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  flex-shrink: 0;
}
.wd-progress .is-current {
  color: var(--wd-ink);
  font-weight: 800;
}
.wd-progress .is-current .wd-step-number {
  background: var(--wd-gold);
  border-color: var(--wd-gold);
}
.wd-progress .is-done .wd-step-number {
  background: #e1eee4;
  border-color: #bdd4c3;
  color: #2b5837;
}
.wd-flow-body {
  padding: 26px 28px 32px;
}
.wd-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: end;
}
.wd-field {
  min-width: 0;
  margin-bottom: 10px;
}
.wd-field label {
  display: block;
  font-size: 12px;
  font-weight: 750;
  margin-bottom: 7px;
}
.wd-field select {
  width: 100%;
  border: 1px solid #b7c8ce;
  background: #fff;
  color: var(--wd-ink);
  border-radius: 9px;
  padding: 11px 10px;
  min-height: 46px;
  font-size: 12px;
}
.wd-form > button {
  margin-bottom: 10px;
}
.wd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 18px 0 8px;
}
.wd-details {
  display: grid;
  grid-template-columns: minmax(100px, 145px) minmax(0, 1fr);
  gap: 10px 18px;
  margin-block: 12px 24px;
  font-size: 13px;
}
.wd-details dt {
  color: var(--wd-muted);
}
.wd-details dd {
  font-weight: 700;
  margin: 0;
  overflow-wrap: anywhere;
}
.wd-callout {
  background: #eef5f6;
  border-radius: 12px;
  padding: 17px 19px;
  margin-block: 18px;
  border-left: 3px solid #4c8ba2;
}
.wd-callout strong {
  font-size: 13px;
}
.wd-callout p {
  font-size: 12px;
  color: #405d6b;
  margin-bottom: 0;
}
.wd-callout-warning {
  background: #fff8e3;
  border-left-color: #d6a516;
}
.wd-callout-warning p {
  color: #645732;
}
.wd-mini-section {
  border-top: 1px solid #dde7e7;
  margin-top: 28px;
  padding-top: 22px;
}
.wd-mini-section p {
  font-size: 13px;
}
.wd-person {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 17px;
  border: 1px solid #d1dfe2;
  border-radius: 12px;
  margin-top: 18px;
}
.wd-person strong {
  font-size: 13px;
}
.wd-person p {
  font-size: 11px;
  color: var(--wd-muted);
  margin: 4px 0 0;
}
.wd-avatar {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #e4eef1;
  color: #20546a;
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
}
.wd-side {
  background: #edf2f1;
  padding: 25px 22px;
  border-radius: 18px;
  min-width: 0;
}
.wd-side h3 {
  font-size: 18px;
}
.wd-reference {
  font-size: 10px;
  color: #47606c;
  overflow-wrap: anywhere;
}
.wd-history {
  list-style: none;
  margin: 23px 0;
  padding: 0;
}
.wd-history li {
  border-left: 2px solid #c1d2d7;
  padding: 0 0 19px 13px;
  font-size: 11px;
}
.wd-history li:last-child {
  padding-bottom: 0;
}
.wd-history strong,
.wd-history span {
  display: block;
}
.wd-history strong {
  font-weight: 700;
  line-height: 1.5;
}
.wd-history span {
  font-size: 10px;
  color: var(--wd-muted);
  margin-top: 4px;
}
.wd-side .wd-callout {
  background: #fff;
  margin-bottom: 0;
  padding: 14px;
}
.wd-side .wd-callout p {
  font-size: 11px;
}
.wd-checks {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}
.wd-checks li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) 55px;
  gap: 8px;
  border-bottom: 1px solid #e3e9e8;
  padding: 12px 0;
  font-size: 12px;
  align-items: start;
}
.wd-checks li > strong {
  font-size: 10px;
  color: #506570;
  text-align: right;
}
.wd-check-complete {
  color: #266139;
  font-weight: 850;
}
.wd-receipt {
  border: 1px solid #b9d7c2;
  border-radius: 14px;
  background: #f3faf4;
  padding: 24px;
  margin-block: 20px;
}
.wd-receipt h3 {
  font-size: 22px;
}
.wd-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  margin-block: 20px 30px;
}
.wd-product {
  border: 1px solid #d2dfe1;
  padding: 15px;
  border-radius: 13px;
  min-width: 0;
}
.wd-product-art {
  display: grid;
  place-items: center;
  height: 85px;
  background: #f0f4ec;
  border-radius: 8px;
  color: #3c6971;
  font-size: 40px;
  margin-bottom: 15px;
}
.wd-product:nth-child(2) .wd-product-art {
  background: #fff5d9;
}
.wd-product:nth-child(3) .wd-product-art {
  background: #e7eef7;
}
.wd-product h3 {
  font-size: 15px;
}
.wd-product p,
.wd-product strong {
  font-size: 11px;
}
.wd-product .wd-button {
  font-size: 11px;
  width: 100%;
  padding-inline: 8px;
}
.wd-product .wd-field label {
  font-size: 10px;
}
.wd-product .wd-field select {
  min-height: 39px;
}
.wd-plain-list {
  padding-left: 20px;
  font-size: 13px;
  line-height: 1.9;
}
.wd-muted {
  color: var(--wd-muted);
  font-size: 12px;
}
.wd-contact-link {
  font-size: 12px;
  padding-top: 20px;
  border-top: 1px solid #d8e3e5;
  margin-top: 27px !important;
}
@media (max-width: 1050px) {
  .wd-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .wd-side {
    padding: 24px;
  }
  .wd-history {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 20px;
  }
}
@media (max-width: 640px) {
  .waka-demo {
    margin-block: 14px 40px;
  }
  .wd-header {
    align-items: start;
    gap: 12px;
    flex-direction: column;
  }
  .wd-header > .wd-button {
    align-self: flex-end;
  }
  .wd-notice {
    padding: 17px;
  }
  .wd-record-heading {
    padding: 22px 18px 14px;
    flex-direction: column;
  }
  .wd-role {
    padding-inline: 18px;
  }
  .wd-flow-body {
    padding: 22px 18px;
  }
  .wd-progress {
    padding-inline: 18px;
    gap: 10px;
  }
  .wd-form {
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
  }
  .wd-details {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
  .wd-details dd {
    margin-bottom: 10px;
  }
  .wd-products {
    grid-template-columns: minmax(0, 1fr);
  }
  .wd-product {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 3px 13px;
  }
  .wd-product-art {
    grid-row: span 4;
    height: 76px;
    margin: 0;
  }
  .wd-product .wd-field,
  .wd-product .wd-button {
    grid-column: 1 / -1;
  }
  .wd-product p {
    margin: 1px 0 5px;
  }
  .wd-product h3 {
    margin: 0;
  }
  .wd-product .wd-field {
    margin-top: 10px;
  }
  .wd-product .wd-field label {
    font-size: 12px;
  }
  .wd-history {
    grid-template-columns: minmax(0, 1fr);
  }
  .wd-receipt {
    padding: 18px;
  }
  .wd-actions > .wd-button {
    width: 100%;
  }
  .wd-nav .wd-button {
    flex-grow: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .waka-demo .wd-button {
    transition: none;
  }
}
