/* ==========================================================================
   WebsDocs ASG Directory — Public Workflow
   v1.4.1 — Two-card submission entry / existing shared workflows
   Claim, List Business, Correct Listing, Removal Request
   ========================================================================== */

:root {
  color-scheme: light;

  --workflow-header-h: 76px;
  --workflow-footer-h: 64px;

  --shell: #07111f;
  --shell-2: #0b1729;
  --shell-3: #10213a;
  --shell-line: rgba(148, 163, 184, .16);

  --page: #f4f7fb;
  --surface: #ffffff;
  --surface-soft: #f7f9fc;

  --ink: #0f1f36;
  --ink-2: #31435b;
  --muted: #687991;
  --muted-2: #8997a9;

  --line: #e1e8f0;
  --line-strong: #cad6e3;

  --blue: #1463ff;
  --blue-dark: #0d4fd0;
  --blue-soft: #edf4ff;

  --green: #0e9f6e;
  --green-soft: #ecfbf5;

  --red: #c83939;
  --red-soft: #fff3f3;

  --shadow-sm: 0 10px 28px rgba(15, 31, 54, .06);
  --shadow-md: 0 18px 46px rgba(15, 31, 54, .10);

  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 18px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--shell);
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--page);
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 14px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img,
svg {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none;
}

/* ==========================================================================
   SHELL
   ========================================================================== */

.workflow-shell {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--page);
}

/* ==========================================================================
   HEADER
   ========================================================================== */

.workflow-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  min-height: var(--workflow-header-h);
  border-bottom: 1px solid var(--shell-line);
  background: rgba(7, 17, 31, .97);
  color: #edf5ff;
  backdrop-filter: blur(16px);
}

.workflow-header-inner {
  width: 100%;
  min-height: var(--workflow-header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 10px clamp(20px, 2.2vw, 56px);
}

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

.workflow-brand img {
  width: 66px;
  height: 66px;
  flex: 0 0 44px;
  object-fit: contain;
}

.workflow-brand span {
  min-width: 0;
  display: grid;
  line-height: 1.05;
}

.workflow-brand strong {
  color: #f8fbff;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -.025em;
}

.workflow-brand small {
  margin-top: 5px;
  color: #9cb0c8;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.workflow-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.workflow-header-actions a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 10px;
  background: rgba(255, 255, 255, .045);
  color: #c8d7e9;
  text-decoration: none;
  font-size: 10px;
  font-weight: 850;
  transition:
    border-color .15s ease,
    background .15s ease,
    color .15s ease,
    transform .15s ease;
}

.workflow-header-actions a:hover {
  border-color: rgba(147, 197, 253, .34);
  background: rgba(255, 255, 255, .075);
  color: #ffffff;
  transform: translateY(-1px);
}

.workflow-header-actions .owner-login-link {
  border-color: rgba(96, 165, 250, .30);
  background: linear-gradient(180deg, #1e6cff, #1557dc);
  color: #ffffff;
  box-shadow: 0 9px 20px rgba(20, 99, 255, .18);
}

/* ==========================================================================
   FULL-WIDTH WORKFLOW
   ========================================================================== */

.workflow-main {
  width: 100%;
  min-height: calc(100vh - var(--workflow-header-h) - var(--workflow-footer-h));
  display: grid;
  grid-template-columns: minmax(500px, 42%) minmax(0, 58%);
  align-items: stretch;
  background: var(--surface);
}

/* ==========================================================================
   LEFT BRAND PANEL
   ========================================================================== */

.workflow-intro {
  position: relative;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding:
    clamp(52px, 5vw, 112px)
    clamp(34px, 4.5vw, 104px);
  border-right: 1px solid var(--shell-line);
  background:
    radial-gradient(circle at 15% 14%, rgba(59, 130, 246, .24), transparent 27%),
    radial-gradient(circle at 84% 78%, rgba(124, 58, 237, .13), transparent 26%),
    linear-gradient(145deg, #07111f 0%, #0b1729 58%, #10213a 100%);
  color: #ffffff;
}

.workflow-intro::before,
.workflow-intro::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, .055);
  border-radius: 50%;
}

.workflow-intro::before {
  width: clamp(420px, 34vw, 760px);
  height: clamp(420px, 34vw, 760px);
  top: clamp(-310px, -15vw, -150px);
  right: clamp(-370px, -18vw, -170px);
  box-shadow:
    0 0 0 72px rgba(255, 255, 255, .012),
    0 0 0 144px rgba(255, 255, 255, .008);
}

.workflow-intro::after {
  width: 330px;
  height: 330px;
  left: -210px;
  bottom: -180px;
}

.workflow-intro > * {
  position: relative;
  z-index: 1;
  width: min(820px, 100%);
}

.workflow-intro-brand {
  display: block;
}

.workflow-kicker {
  min-height: 29px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 11px;
  border: 1px solid rgba(96, 165, 250, .28);
  border-radius: 999px;
  background: rgba(37, 99, 235, .14);
  color: #b8d6ff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.workflow-intro h1 {
  max-width: 780px;
  margin: 24px 0 20px;
  color: #f8fbff;
  font-size: clamp(48px, 4.4vw, 92px);
  font-weight: 850;
  line-height: .94;
  letter-spacing: -.062em;
}

.workflow-intro-brand > p,
.workflow-intro > p {
  max-width: 720px;
  margin: 0;
  color: #afc0d4;
  font-size: clamp(14px, .92vw, 18px);
  line-height: 1.72;
}

.workflow-steps {
  margin: clamp(34px, 4vw, 64px) 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.workflow-steps li {
  min-width: 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  padding: 13px 14px;
  border: 1px solid rgba(148, 163, 184, .13);
  border-radius: 13px;
  background: rgba(255, 255, 255, .025);
}

.workflow-steps b {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(147, 197, 253, .22);
  border-radius: 11px;
  background: rgba(37, 99, 235, .13);
  color: #d7e8ff;
  font-size: 10px;
  font-weight: 950;
}

.workflow-steps strong,
.workflow-steps span {
  display: block;
}

.workflow-steps strong {
  padding-top: 1px;
  color: #f5f9ff;
  font-size: 11px;
  font-weight: 850;
}

.workflow-steps span {
  margin-top: 4px;
  color: #93a8c1;
  font-size: 9px;
  line-height: 1.5;
}

.workflow-steps li.is-active {
  border-color: rgba(96, 165, 250, .34);
  background: rgba(37, 99, 235, .10);
  box-shadow: inset 0 0 0 1px rgba(59, 130, 246, .06);
}

.workflow-steps li.is-active b {
  border-color: rgba(96, 165, 250, .46);
  background: linear-gradient(180deg, rgba(37, 99, 235, .42), rgba(30, 64, 175, .30));
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(37, 99, 235, .18);
}

.workflow-steps li.is-complete {
  border-color: rgba(52, 211, 153, .22);
  background: rgba(16, 185, 129, .055);
}

.workflow-steps li.is-complete b {
  border-color: rgba(52, 211, 153, .38);
  background: rgba(16, 185, 129, .16);
  color: transparent;
}

.workflow-steps li.is-complete b::after {
  content: "✓";
  color: #8ff1c4;
  font-size: 16px;
  line-height: 1;
}

.workflow-note {
  margin-top: 20px;
  padding: 16px 17px;
  border: 1px solid rgba(96, 165, 250, .18);
  border-radius: 13px;
  background: rgba(37, 99, 235, .08);
  color: #b8c9dc;
  font-size: 9px;
  line-height: 1.55;
}

.workflow-note strong,
.workflow-note span {
  display: block;
}

.workflow-note strong {
  color: #eff6ff;
  font-size: 10px;
  font-weight: 900;
}

.workflow-note span {
  margin-top: 4px;
}

.workflow-brand-foot {
  margin-top: clamp(30px, 5vw, 70px);
  padding-top: 18px;
  border-top: 1px solid rgba(148, 163, 184, .12);
  color: #879cb6;
}

.workflow-brand-foot span,
.workflow-brand-foot strong {
  display: block;
}

.workflow-brand-foot span {
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.workflow-brand-foot strong {
  margin-top: 5px;
  color: #c5d3e4;
  font-size: 10px;
  font-weight: 800;
}

/* ==========================================================================
   RIGHT FORM WORKSPACE
   ========================================================================== */

.workflow-card {
  position: relative;
  min-width: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding:
    clamp(48px, 5vw, 110px)
    clamp(38px, 5.5vw, 132px);
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 100% 0, rgba(20, 99, 255, .055), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%);
  box-shadow: none;
}

.workflow-card > * {
  width: min(1040px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.workflow-card-head {
  min-height: 112px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--line);
}

.workflow-card-head .workflow-kicker {
  border-color: rgba(20, 99, 255, .18);
  background: var(--blue-soft);
  color: #1256d8;
}

.workflow-card-head h2 {
  margin: 8px 0 0;
  color: #101f35;
  font-size: clamp(30px, 2vw, 46px);
  line-height: 1;
  letter-spacing: -.05em;
}

.workflow-card-head p {
  max-width: 700px;
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.workflow-badge {
  flex: 0 0 auto;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 11px;
  border: 1px solid #cbe7da;
  border-radius: 999px;
  background: var(--green-soft);
  color: #087651;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ==========================================================================
   FORM
   ========================================================================== */

.workflow-form {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

/* Submit-only listing path selector. These rules are deliberately scoped so
   the shared claim, correction, removal and developer workflows do not move. */
/* Two explicit actions replace the former radio selector. */
.workflow-choice-entry {
  --workflow-label-size:14px;
  --workflow-help-size:12px;
  --workflow-input-size:16px;
}

.listing-choice-eyebrow {
  color:#1455cb;
  font-size:13px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.listing-choice-panel h2 {
  margin:14px 0;
  color:var(--ink);
  font-size:clamp(30px,2.5vw,48px);
  line-height:1.12;
  letter-spacing:-.035em;
}

.listing-choice-lead {
  margin:0 0 30px;
  color:var(--ink-2);
  font-size:16px;
  line-height:1.6;
}

.listing-choice-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;
}

.listing-choice-card {
  --choice-accent:#1455cb;
  --choice-tint:#edf4ff;
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:18px;
  padding:clamp(22px,2vw,34px);
  border:1px solid #c9d6e8;
  border-radius:18px;
  background:#ffffff;
  color:var(--ink);
  text-align:left;
  text-decoration:none;
  cursor:pointer;
  box-shadow:var(--shadow-sm);
  transition:border-color .15s ease,box-shadow .15s ease;
}

.listing-choice-hosted {
  --choice-accent:#6441ba;
  --choice-tint:#f3efff;
}

.listing-choice-card:hover, .listing-choice-card:focus-visible {
  border-color:var(--choice-accent);
  box-shadow:0 12px 32px rgba(15,31,54,.12);
}

.listing-choice-card:focus-visible, .listing-choice-back:focus-visible {
  outline:3px solid #5089ef;
  outline-offset:4px;
}

.listing-choice-card:disabled {
  cursor:wait;
}

.listing-choice-icon {
  width:52px;
  height:52px;
  display:grid;
  place-items:center;
  border-radius:14px;
  background:var(--choice-tint);
  color:var(--choice-accent);
  font-size:28px;
}

.listing-choice-card > strong {
  font-size:clamp(22px,1.45vw,28px);
  line-height:1.2;
  letter-spacing:-.025em;
}

.listing-choice-description {
  color:var(--ink-2);
  font-size:15px;
  line-height:1.65;
}

.listing-choice-action {
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:auto;
  padding-top:22px;
  border-top:1px solid var(--line);
  color:var(--choice-accent);
  font-size:15px;
  font-weight:800;
}

.listing-choice-card > small {
  color:var(--muted);
  font-size:13px;
  line-height:1.5;
}

.listing-choice-note {
  margin:24px 0 0;
  color:var(--muted);
  font-size:13px;
  line-height:1.6;
}

.listing-choice-back {
  min-height:44px;
  margin-bottom:18px;
  padding:8px 0;
  border:0;
  background:transparent;
  color:#1455cb;
  font-size:14px;
  font-weight:750;
  cursor:pointer;
}


.workflow-grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.workflow-form label {
  min-width: 0;
  display: grid;
  gap: 7px;
  color: #3c4f67;
  font-size: var(--workflow-label-size, 10px);
  font-weight: 850;
}

.workflow-form label > span {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.field-help {
  color: #8b99aa;
  font-size: var(--workflow-help-size, 8px);
  font-style: normal;
  font-weight: 700;
}

.workflow-form input,
.workflow-form select,
.workflow-form textarea {
  font-size: var(--workflow-input-size, inherit);
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  outline: 0;
  background: #ffffff;
  color: var(--ink);
  box-shadow: inset 0 1px 1px rgba(15, 31, 54, .025);
  transition:
    border-color .15s ease,
    box-shadow .15s ease,
    background .15s ease;
}

.workflow-form input,
.workflow-form select {
  min-height: 50px;
  padding: 0 14px;
}

.workflow-form textarea {
  min-height: 132px;
  padding: 13px 14px;
  resize: vertical;
  line-height: 1.55;
}

.workflow-form select {
  cursor: pointer;
}

.workflow-form input::placeholder,
.workflow-form textarea::placeholder {
  color: #9aa8b8;
}

.workflow-form input:hover,
.workflow-form select:hover,
.workflow-form textarea:hover {
  border-color: #b9c7d7;
}

.workflow-form input:focus,
.workflow-form select:focus,
.workflow-form textarea:focus {
  border-color: #6e9fff;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(20, 99, 255, .08);
}

.workflow-consent {
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface-soft);
  color: #53657a;
  font-size: 9px;
  line-height: 1.55;
}

.workflow-consent input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 1px 0 0;
  padding: 0;
  accent-color: var(--blue);
}

.workflow-consent span {
  display: block;
}

.workflow-form .workflow-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  min-height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* ==========================================================================
   ACTIONS / RESULT
   ========================================================================== */

.workflow-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 4px;
  padding-top: 3px;
}

.workflow-submit {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 22px;
  border: 1px solid #0f51cd;
  border-radius: 11px;
  background: linear-gradient(180deg, #1d6cff, #1558dc);
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(20, 99, 255, .18);
  transition:
    transform .15s ease,
    box-shadow .15s ease,
    background .15s ease;
}

.workflow-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  background: linear-gradient(180deg, #1764f5, #104fca);
  box-shadow: 0 14px 28px rgba(20, 99, 255, .23);
}

.workflow-submit:disabled {
  opacity: .58;
  cursor: wait;
  transform: none;
  box-shadow: none;
}

.workflow-secondary {
  max-width: 440px;
  color: #75859a;
  font-size: 9px;
  line-height: 1.5;
}

.workflow-result {
  margin-top: 19px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
  color: var(--ink-2);
  font-size: 10px;
  line-height: 1.55;
}

.workflow-result strong,
.workflow-result p,
.workflow-result small {
  display: block;
}

.workflow-result strong {
  font-size: 11px;
}

.workflow-result p {
  margin: 6px 0 0;
}

.workflow-result small {
  margin-top: 8px;
  color: var(--muted);
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Monaco,
    Consolas,
    monospace;
  font-size: 8px;
}

.workflow-result.is-success {
  border-color: #c5e7d6;
  background: #f0fbf5;
  color: #0c6848;
}

.workflow-result.is-error {
  border-color: #efcaca;
  background: var(--red-soft);
  color: #992f36;
}

.workflow-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.workflow-result-actions a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid currentColor;
  border-radius: 9px;
  text-decoration: none;
  font-size: 9px;
  font-weight: 850;
}

/* ==========================================================================
   LIST BUSINESS — PROCESSING / SUCCESS EXPERIENCE
   Dedicated to body[data-workflow="submit"]. Shared workflow pages keep their
   existing form/result behavior.
   ========================================================================== */

.workflow-form-stage {
  width: 100%;
}

.workflow-submit-experience {
  position: relative;
  width: min(1080px, 100%);
  margin: auto;
}

.submit-state-card {
  position: relative;
  min-height: clamp(610px, 63vh, 760px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(42px, 5vw, 76px) clamp(28px, 5vw, 82px);
  border: 1px solid #d7e3f1;
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 2%, rgba(89, 185, 255, .14), transparent 28%),
    radial-gradient(circle at 88% 14%, rgba(99, 102, 241, .08), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,.99), rgba(248,251,255,.98));
  box-shadow:
    0 32px 80px rgba(28, 64, 122, .11),
    inset 0 1px 0 rgba(255,255,255,.86);
  text-align: center;
  isolation: isolate;
}

.submit-state-card::before,
.submit-state-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
  border-radius: 50%;
}

.submit-state-card::before {
  width: 430px;
  height: 430px;
  top: -280px;
  right: -130px;
  border: 1px solid rgba(37, 99, 235, .07);
  box-shadow: 0 0 0 60px rgba(37, 99, 235, .018), 0 0 0 120px rgba(37, 99, 235, .012);
}

.submit-state-card::after {
  width: 260px;
  height: 260px;
  left: -150px;
  bottom: -150px;
  background: radial-gradient(circle, rgba(34, 211, 238, .08), transparent 68%);
}

.submit-state-aura {
  position: absolute;
  width: 420px;
  height: 420px;
  top: 46px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(53, 132, 255, .13), rgba(53, 132, 255, .035) 38%, transparent 70%);
  filter: blur(2px);
  pointer-events: none;
  transition: opacity .45s ease, transform .65s cubic-bezier(.2,.9,.2,1);
}

.submit-visual {
  position: relative;
  width: 220px;
  height: 220px;
  margin-bottom: 24px;
  flex: 0 0 220px;
}

.submit-orbit-ring {
  position: absolute;
  inset: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: opacity .35s ease, transform .62s cubic-bezier(.2,.9,.2,1);
}

.submit-orbit-ring-outer {
  width: 176px;
  height: 176px;
  border: 2px solid rgba(42, 120, 255, .25);
  box-shadow: 0 0 0 8px rgba(59, 130, 246, .035), 0 0 32px rgba(37, 99, 235, .11);
}

.submit-orbit-ring-inner {
  width: 154px;
  height: 154px;
  border: 1px solid rgba(110, 178, 255, .30);
}

.submit-cube {
  position: absolute;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 12px;
  background: linear-gradient(145deg, #74eff2 0%, #2dbde5 48%, #4075ff 100%);
  box-shadow: 0 12px 28px rgba(34, 119, 255, .25), inset 0 1px 6px rgba(255,255,255,.55);
  transition:
    top .58s cubic-bezier(.2,.9,.25,1),
    right .58s cubic-bezier(.2,.9,.25,1),
    bottom .58s cubic-bezier(.2,.9,.25,1),
    left .58s cubic-bezier(.2,.9,.25,1),
    transform .58s cubic-bezier(.2,.9,.25,1),
    opacity .36s ease;
}

.submit-cube-a { top: 12px; left: 87px; }
.submit-cube-b { top: 82px; right: 8px; background: linear-gradient(145deg, #80d9ff, #4a8cff 58%, #4065eb); }
.submit-cube-c { bottom: 7px; left: 90px; background: linear-gradient(145deg, #55c6ff, #3a8cff 58%, #5d62e8); }
.submit-cube-d { top: 84px; left: 8px; background: linear-gradient(145deg, #d0a7ff, #8b69f4 58%, #6d52d8); }

.workflow-submit-experience[data-state="processing"] .submit-visual {
  animation: submit-orbit-rotate 2.55s linear infinite;
}

.workflow-submit-experience[data-state="processing"] .submit-cube {
  animation: submit-cube-breathe 1.35s ease-in-out infinite alternate;
}

.workflow-submit-experience[data-state="processing"] .submit-cube-b { animation-delay: -.32s; }
.workflow-submit-experience[data-state="processing"] .submit-cube-c { animation-delay: -.64s; }
.workflow-submit-experience[data-state="processing"] .submit-cube-d { animation-delay: -.96s; }

.workflow-submit-experience[data-state="merging"] .submit-visual {
  animation: none;
}

.workflow-submit-experience[data-state="merging"] .submit-orbit-ring {
  opacity: .18;
  transform: translate(-50%, -50%) scale(.62);
}

.workflow-submit-experience[data-state="merging"] .submit-cube {
  top: 89px;
  left: 89px;
  right: auto;
  bottom: auto;
  transform: scale(.42) rotate(90deg);
  opacity: .16;
  animation: none;
}

.submit-checkmark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  border: 14px solid rgba(76, 139, 255, .14);
  border-radius: 50%;
  background: linear-gradient(145deg, #3f9cff 0%, #2869f3 56%, #6b55ec 100%);
  box-shadow: 0 18px 48px rgba(43, 104, 239, .30), 0 0 0 13px rgba(90, 150, 255, .07);
  opacity: 0;
  transform: translate(-50%, -50%) scale(.28) rotate(-18deg);
  transition: opacity .34s ease, transform .62s cubic-bezier(.15,1.18,.38,1);
}

.submit-checkmark svg {
  width: 62px;
  height: 62px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.workflow-submit-experience[data-state="success"] .submit-orbit-ring,
.workflow-submit-experience[data-state="success"] .submit-cube {
  opacity: 0;
  transform: scale(.55);
}

.workflow-submit-experience[data-state="success"] .submit-checkmark {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1) rotate(0deg);
}

.workflow-submit-experience[data-state="success"] .submit-state-aura {
  opacity: .9;
  transform: translateX(-50%) scale(1.08);
}

.submit-state-kicker {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid rgba(37, 99, 235, .18);
  border-radius: 999px;
  background: #edf4ff;
  color: #1459db;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.submit-state-card h2 {
  max-width: 820px;
  margin: 18px 0 0;
  color: #0e1f37;
  font-size: clamp(34px, 3vw, 58px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.submit-state-copy {
  max-width: 770px;
  margin: 17px auto 0;
  color: #60728a;
  font-size: clamp(13px, 1vw, 17px);
  line-height: 1.7;
  text-wrap: balance;
}

.submit-progress {
  width: min(760px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.submit-progress span {
  position: relative;
  min-width: 0;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 10px;
  color: #7a8ba0;
  font-size: 9px;
  font-weight: 820;
  transition: color .25s ease;
}

.submit-progress span:not(:last-child)::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 1px;
  top: 50%;
  right: -23px;
  background: #dce6f2;
}

.submit-progress i {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border: 3px dotted #b7c5d6;
  border-radius: 50%;
}

.submit-progress span.is-active {
  color: #245bc0;
}

.submit-progress span.is-active i {
  border-color: #2874f0;
  animation: submit-progress-spin .8s linear infinite;
}

.submit-progress span.is-complete {
  color: #16765a;
}

.submit-progress span.is-complete i {
  position: relative;
  border-style: solid;
  border-color: #32b68a;
  background: #ecfbf5;
}

.submit-progress span.is-complete i::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #15956c;
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
}

.submit-success-facts {
  width: min(900px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.submit-success-facts article {
  min-width: 0;
  min-height: 118px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 17px;
  border: 1px solid #dbe5f0;
  border-radius: 17px;
  background: rgba(255,255,255,.82);
  text-align: left;
  box-shadow: 0 10px 28px rgba(31, 64, 112, .045);
  animation: submit-fact-rise .52s both;
}

.submit-success-facts article:nth-child(2) { animation-delay: .08s; }
.submit-success-facts article:nth-child(3) { animation-delay: .16s; }

.submit-fact-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  font-style: normal;
  font-size: 17px;
  font-weight: 950;
}

.submit-fact-icon-green { background: #e9faf3; color: #14966d; border: 1px solid #c8ecdc; }
.submit-fact-icon-blue { background: #edf4ff; color: #2267df; border: 1px solid #d5e3ff; }
.submit-fact-icon-violet { background: #f3efff; color: #7552df; border: 1px solid #e2d8ff; }

.submit-success-facts strong,
.submit-success-facts span {
  display: block;
}

.submit-success-facts strong {
  color: #172a44;
  font-size: 10px;
  font-weight: 900;
}

.submit-success-facts span {
  margin-top: 5px;
  color: #73839a;
  font-size: 8px;
  line-height: 1.5;
}

.submit-success-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.submit-success-actions a {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 10px;
  font-weight: 900;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.submit-primary-action {
  min-width: 235px;
  border: 1px solid #165ad8;
  background: linear-gradient(180deg, #2879ff, #1760e8);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(31, 101, 236, .22);
}

.submit-secondary-action {
  border: 1px solid #d3deea;
  background: rgba(255,255,255,.9);
  color: #283b53;
}

.submit-success-actions a:hover {
  transform: translateY(-2px);
}

.submit-primary-action:hover {
  box-shadow: 0 18px 36px rgba(31, 101, 236, .28);
}

.submit-secondary-action:hover {
  border-color: #abc3e5;
}

.submit-reference {
  margin-top: 18px;
  color: #8a98a9;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 8px;
}

.submit-security-note {
  max-width: 760px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
  padding-top: 19px;
  border-top: 1px solid #e3ebf4;
  color: #7a899d;
  font-size: 8px;
  line-height: 1.5;
}

.submit-security-note > span {
  color: #6d84a5;
  font-size: 11px;
}

.workflow-submit-experience[hidden],
.submit-progress[hidden],
.submit-success-facts[hidden],
.submit-success-actions[hidden],
.submit-reference[hidden] {
  display: none;
}

@keyframes submit-orbit-rotate {
  to { transform: rotate(360deg); }
}

@keyframes submit-cube-breathe {
  from { filter: saturate(.95) brightness(.96); }
  to { filter: saturate(1.16) brightness(1.08); box-shadow: 0 16px 34px rgba(34, 119, 255, .31), inset 0 1px 6px rgba(255,255,255,.62); }
}

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

@keyframes submit-fact-rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.workflow-policy {
  margin-top: 20px;
  color: #8794a5;
  font-size: 8px;
  line-height: 1.55;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.workflow-footer {
  width: 100%;
  min-height: var(--workflow-footer-h);
  border-top: 1px solid var(--shell-line);
  background: #07111f;
  color: #93a6bd;
}

.workflow-footer-inner {
  width: 100%;
  min-height: var(--workflow-footer-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(20px, 2.2vw, 56px);
  font-size: 9px;
}

.workflow-footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.workflow-footer a {
  color: #a9bbcf;
  text-decoration: none;
  font-weight: 800;
}

.workflow-footer a:hover {
  color: #ffffff;
}

/* ==========================================================================
   LARGE DESKTOP / 8K
   Surfaces remain edge-to-edge. Content width stays readable inside each side.
   ========================================================================== */

@media (min-width: 2000px) {
  .workflow-main {
    grid-template-columns: minmax(720px, 40%) minmax(0, 60%);
  }

  .workflow-intro {
    padding-left: clamp(80px, 5vw, 180px);
    padding-right: clamp(80px, 5vw, 180px);
  }

  .workflow-card {
    padding-left: clamp(90px, 6vw, 220px);
    padding-right: clamp(90px, 6vw, 220px);
  }

  .workflow-card > * {
    width: min(1180px, 100%);
  }

  .workflow-intro > * {
    width: min(920px, 100%);
  }
}

/* ==========================================================================
   TABLET
   ========================================================================== */

@media (max-width: 1120px) {
  .workflow-choice-entry .workflow-card {
    grid-row: 1;
  }

  .workflow-main {
    grid-template-columns: 1fr;
  }

  .workflow-intro {
    min-height: auto;
    padding: 48px clamp(24px, 6vw, 68px);
    border-right: 0;
    border-bottom: 1px solid var(--shell-line);
  }

  .workflow-intro > * {
    width: 100%;
  }

  .workflow-intro h1 {
    max-width: 900px;
    font-size: clamp(42px, 7vw, 68px);
  }

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

  .workflow-steps li {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .workflow-steps b {
    width: 36px;
    height: 36px;
  }

  .workflow-brand-foot {
    margin-top: 34px;
  }

  .workflow-card {
    min-height: auto;
    padding: 52px clamp(24px, 6vw, 68px) 64px;
  }

  .submit-state-card {
    min-height: 620px;
  }
}

/* ==========================================================================
   MOBILE
   ========================================================================== */

@media (max-width: 700px) {
  :root {
    --workflow-header-h: 66px;
    --workflow-footer-h: auto;
  }

  .workflow-header-inner {
    min-height: var(--workflow-header-h);
    gap: 12px;
    padding: 8px 14px;
  }

  .workflow-brand {
    gap: 9px;
  }

  .workflow-brand img {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .workflow-brand strong {
    font-size: 12px;
  }

  .workflow-brand small {
    font-size: 7px;
  }

  .workflow-header-actions {
    gap: 6px;
  }

  .workflow-header-actions a:not(.owner-login-link) {
    display: none;
  }

  .workflow-header-actions .owner-login-link {
    min-height: 38px;
    padding: 0 10px;
    font-size: 8px;
  }

  .workflow-intro {
    padding: 38px 18px 42px;
  }

  .workflow-intro h1 {
    margin-top: 18px;
    font-size: clamp(38px, 12vw, 54px);
  }

  .workflow-intro-brand > p,
  .workflow-intro > p {
    font-size: 13px;
  }

  .workflow-steps {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .workflow-card {
    padding: 36px 16px 46px;
  }

  .workflow-card-head {
    min-height: 0;
    display: grid;
    gap: 14px;
  }

  .workflow-card-head h2 {
    font-size: 30px;
  }

  .workflow-badge {
    justify-self: start;
  }

  .workflow-grid-two {
    grid-template-columns: 1fr;
  }

  .listing-choice-grid {
    grid-template-columns: 1fr;
  }

  .listing-choice-card {
    min-height: 102px;
    padding: 15px;
  }

  .workflow-actions {
    display: grid;
  }

  .workflow-submit {
    width: 100%;
  }

  .workflow-secondary {
    max-width: none;
  }

  .submit-state-card {
    min-height: 0;
    padding: 34px 18px 30px;
    border-radius: 22px;
  }

  .submit-state-aura {
    width: 300px;
    height: 300px;
    top: 28px;
  }

  .submit-visual {
    width: 176px;
    height: 176px;
    flex-basis: 176px;
    margin-bottom: 16px;
  }

  .submit-orbit-ring-outer { width: 142px; height: 142px; }
  .submit-orbit-ring-inner { width: 122px; height: 122px; }
  .submit-cube { width: 34px; height: 34px; border-radius: 10px; }
  .submit-cube-a { top: 9px; left: 71px; }
  .submit-cube-b { top: 66px; right: 7px; }
  .submit-cube-c { bottom: 6px; left: 72px; }
  .submit-cube-d { top: 68px; left: 7px; }
  .workflow-submit-experience[data-state="merging"] .submit-cube { top: 71px; left: 71px; }

  .submit-checkmark {
    width: 92px;
    height: 92px;
    border-width: 11px;
  }

  .submit-checkmark svg { width: 50px; height: 50px; }

  .submit-state-card h2 {
    font-size: 34px;
  }

  .submit-progress,
  .submit-success-facts {
    grid-template-columns: 1fr;
  }

  .submit-progress {
    gap: 4px;
    margin-top: 24px;
  }

  .submit-progress span {
    justify-content: flex-start;
    min-height: 40px;
    padding: 0 8px;
  }

  .submit-progress span:not(:last-child)::after {
    width: 1px;
    height: 16px;
    top: auto;
    right: auto;
    bottom: -10px;
    left: 17px;
  }

  .submit-success-facts article {
    min-height: 96px;
  }

  .submit-success-actions {
    display: grid;
    width: 100%;
  }

  .submit-success-actions a,
  .submit-primary-action {
    width: 100%;
    min-width: 0;
  }

  .workflow-footer-inner {
    min-height: 0;
    display: grid;
    gap: 12px;
    padding: 18px 16px;
  }

  .workflow-footer-links {
    gap: 10px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .listing-choice-card { transition: none; }
  .workflow-submit-experience[data-state="processing"] .submit-visual,
  .workflow-submit-experience[data-state="processing"] .submit-cube,
  .submit-progress span.is-active i,
  .submit-success-facts article {
    animation: none !important;
  }

  .submit-cube,
  .submit-orbit-ring,
  .submit-checkmark,
  .submit-state-aura {
    transition-duration: .01ms !important;
  }
}

/* ==========================================================================
   DEDICATED DEVELOPER CENTER
   Route: /directory/developers
   ========================================================================== */

.developer-icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.developer-workflow-main {
  width: 100%;
  min-width: 0;
  background: var(--page);
}

.developer-workflow-hero {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(380px, .8fr);
  gap: clamp(38px, 5vw, 96px);
  align-items: center;
  padding:
    clamp(70px, 7vw, 140px)
    clamp(28px, 4.5vw, 112px);
  overflow: hidden;
  border-bottom: 1px solid var(--shell-line);
  background:
    radial-gradient(circle at 14% 15%, rgba(59, 130, 246, .25), transparent 28%),
    radial-gradient(circle at 88% 72%, rgba(34, 211, 238, .10), transparent 26%),
    linear-gradient(145deg, #07111f 0%, #0b1729 56%, #10213a 100%);
  color: #ffffff;
}

.developer-workflow-hero::before,
.developer-workflow-hero::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .055);
  border-radius: 50%;
  pointer-events: none;
}

.developer-workflow-hero::before {
  width: clamp(520px, 45vw, 980px);
  height: clamp(520px, 45vw, 980px);
  top: clamp(-430px, -20vw, -210px);
  right: clamp(-460px, -19vw, -230px);
  box-shadow:
    0 0 0 90px rgba(255, 255, 255, .012),
    0 0 0 180px rgba(255, 255, 255, .008);
}

.developer-workflow-hero::after {
  width: 380px;
  height: 380px;
  left: -250px;
  bottom: -230px;
}

.developer-workflow-heading,
.developer-network-metrics {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.developer-workflow-heading .workflow-kicker {
  margin: 0;
}

.developer-workflow-heading h1 {
  max-width: 1040px;
  margin: 24px 0 20px;
  color: #f8fbff;
  font-size: clamp(54px, 5vw, 100px);
  font-weight: 850;
  line-height: .93;
  letter-spacing: -.064em;
  text-wrap: balance;
}

.developer-workflow-heading > p {
  max-width: 850px;
  margin: 0;
  color: #afc0d4;
  font-size: clamp(14px, 1vw, 19px);
  line-height: 1.7;
}

.developer-hero-actions,
.developer-doc-actions,
.api-playground-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
}

.developer-hero-actions {
  margin-top: 28px;
}

.developer-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: 10px;
  font: inherit;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform .15s ease,
    border-color .15s ease,
    background .15s ease,
    color .15s ease,
    box-shadow .15s ease;
}

.developer-button svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.developer-button-primary {
  border-color: #0f51cd;
  background: linear-gradient(180deg, #1d6cff, #1558dc);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(20, 99, 255, .20);
}

.developer-button-outline {
  border-color: var(--line-strong);
  background: #ffffff;
  color: #314760;
}

.developer-workflow-hero .developer-button-outline {
  border-color: rgba(148, 163, 184, .25);
  background: rgba(255, 255, 255, .05);
  color: #d8e7f8;
}

.developer-button:hover {
  transform: translateY(-1px);
}

.developer-button-primary:hover {
  background: linear-gradient(180deg, #1764f5, #104fca);
  box-shadow: 0 14px 28px rgba(20, 99, 255, .24);
}

.developer-button-outline:hover {
  border-color: #8fb4f8;
  color: var(--blue);
}

.developer-button:focus-visible,
.api-field input:focus-visible,
.api-field select:focus-visible {
  outline: 3px solid rgba(20, 99, 255, .22);
  outline-offset: 3px;
}

.developer-network-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.developer-network-metrics article {
  min-width: 0;
  min-height: 142px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  border: 1px solid rgba(148, 163, 184, .15);
  border-radius: 16px;
  background: rgba(255, 255, 255, .045);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .12);
  backdrop-filter: blur(12px);
}

.developer-network-metrics span,
.developer-network-metrics strong,
.developer-network-metrics small {
  display: block;
}

.developer-network-metrics span {
  color: #91a9c4;
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.developer-network-metrics strong {
  margin-top: 8px;
  color: #ffffff;
  font-size: clamp(28px, 2.4vw, 52px);
  line-height: 1;
  letter-spacing: -.05em;
}

.developer-network-metrics small {
  margin-top: 9px;
  color: #8fa4bc;
  font-size: 8px;
  line-height: 1.45;
}

.developer-workflow-body {
  min-width: 0;
  padding:
    clamp(48px, 5vw, 100px)
    clamp(24px, 4.5vw, 112px)
    clamp(60px, 6vw, 120px);
  background:
    radial-gradient(circle at 100% 0, rgba(20, 99, 255, .055), transparent 22%),
    linear-gradient(180deg, #ffffff 0%, #f6f9fd 100%);
}

.network-flow {
  min-width: 0;
  display: grid;
  grid-template-columns:
    minmax(0, 1fr) auto
    minmax(0, 1fr) auto
    minmax(0, 1fr) auto
    minmax(0, 1fr) auto
    minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.network-flow > article {
  min-width: 0;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--shadow-sm);
}

.network-flow > i {
  color: #94a7be;
  font-size: 17px;
  font-style: normal;
}

.network-flow-index {
  color: var(--blue);
  font-size: 8px;
  font-weight: 950;
  letter-spacing: .1em;
}

.network-flow svg {
  width: 25px;
  height: 25px;
  margin: 22px 0 15px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.network-flow strong {
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.network-flow small {
  margin-top: 7px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.55;
}

.developer-center-shell {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
  gap: clamp(24px, 3vw, 54px);
  align-items: start;
  margin-top: clamp(36px, 4vw, 70px);
}

.developer-center-copy,
.api-playground {
  min-width: 0;
}

.panel-kicker {
  display: block;
  color: var(--blue);
  font-size: 8px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .11em;
}

.developer-center-copy > h2 {
  max-width: 720px;
  margin: 10px 0 14px;
  color: var(--ink);
  font-size: clamp(36px, 3.1vw, 68px);
  line-height: .98;
  letter-spacing: -.055em;
}

.developer-center-copy > p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.developer-endpoint-list {
  display: grid;
  gap: 8px;
  margin-top: 28px;
}

.developer-endpoint-list article {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(190px, .7fr) minmax(0, 1.3fr);
  gap: 16px;
  align-items: center;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
}

.developer-endpoint-list code {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #0d54d3;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 9px;
  font-weight: 850;
}

.developer-endpoint-list span {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.45;
}

.developer-doc-actions {
  margin-top: 20px;
}

.api-playground {
  position: sticky;
  top: calc(var(--workflow-header-h) + 22px);
  padding: clamp(20px, 2.3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.api-playground-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 19px;
  border-bottom: 1px solid var(--line);
}

.api-playground-head strong {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.25;
}

.api-playground-head .workflow-badge[data-state="loading"] {
  border-color: #f0dda8;
  background: #fff9e8;
  color: #8b6100;
}

.api-playground-head .workflow-badge[data-state="success"] {
  border-color: #c5e7d6;
  background: #f0fbf5;
  color: #087651;
}

.api-playground-head .workflow-badge[data-state="error"] {
  border-color: #efcaca;
  background: var(--red-soft);
  color: #992f36;
}

.api-field {
  min-width: 0;
  display: grid;
  gap: 7px;
  margin-top: 17px;
  color: #3c4f67;
  font-size: 9px;
  font-weight: 850;
}

.api-field select,
.api-field input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  outline: 0;
  background: #ffffff;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 9px;
}

.api-playground-actions {
  margin-top: 16px;
}

.api-playground-actions .developer-button:disabled {
  opacity: .56;
  cursor: wait;
  transform: none;
}

.api-request-preview {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin-top: 17px;
  padding: 11px 12px;
  border: 1px solid #d9e4f0;
  border-radius: 10px;
  background: #f6f9fd;
}

.api-request-preview span {
  color: #087651;
  font-size: 8px;
  font-weight: 950;
}

.api-request-preview code {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #314760;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 9px;
}

.api-response-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 17px;
  color: #51657f;
  font-size: 9px;
  font-weight: 800;
}

.api-response-meta small {
  color: var(--muted);
  font-size: 8px;
}

.api-response-box {
  width: 100%;
  min-height: 260px;
  max-height: 460px;
  margin: 9px 0 0;
  padding: 16px;
  overflow: auto;
  border: 1px solid rgba(148, 163, 184, .16);
  border-radius: 12px;
  background: #07111f;
  color: #d5e7fb;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 9px;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  scrollbar-width: thin;
  scrollbar-color: rgba(147, 197, 253, .35) transparent;
}

.api-playground-note {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.55;
}

.developer-public-boundary {
  min-width: 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 15px;
  align-items: start;
  margin-top: clamp(34px, 4vw, 64px);
  padding: 20px;
  border: 1px solid #cfe1f7;
  border-radius: 16px;
  background: #f3f8ff;
}

.developer-public-boundary > svg {
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid #bed7f6;
  border-radius: 12px;
  background: #ffffff;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.developer-public-boundary strong {
  color: var(--ink);
  font-size: 12px;
}

.developer-public-boundary p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.6;
}

.developer-noscript {
  padding: 12px 20px;
  border-top: 1px solid #efcaca;
  background: #fff3f3;
  color: #992f36;
  font-size: 10px;
  text-align: center;
}

@media (min-width: 2200px) {
  .developer-workflow-hero,
  .developer-workflow-body {
    padding-left: clamp(100px, 5vw, 220px);
    padding-right: clamp(100px, 5vw, 220px);
  }

  .developer-center-shell {
    grid-template-columns: minmax(0, 1fr) minmax(620px, 1fr);
  }
}

@media (max-width: 1180px) {
  .developer-workflow-hero {
    grid-template-columns: 1fr;
  }

  .developer-network-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .developer-network-metrics article {
    min-height: 120px;
  }

  .network-flow {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .network-flow > i {
    display: none;
  }

  .developer-center-shell {
    grid-template-columns: 1fr;
  }

  .api-playground {
    position: static;
  }
}

@media (max-width: 820px) {
  .developer-workflow-hero {
    padding: 54px 24px 60px;
  }

  .developer-workflow-heading h1 {
    font-size: clamp(48px, 9vw, 72px);
  }

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

  .developer-workflow-body {
    padding: 42px 22px 64px;
  }

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

  .network-flow > article:last-of-type {
    grid-column: 1 / -1;
  }

  .network-flow > article {
    min-height: 165px;
  }
}

@media (max-width: 700px) {
  body[data-workflow="developers"] .workflow-header-actions a {
    display: none;
  }

  body[data-workflow="developers"] .workflow-header-actions .owner-login-link {
    display: inline-flex;
  }

  .developer-workflow-hero {
    padding: 42px 16px 48px;
  }

  .developer-workflow-heading h1 {
    margin-top: 18px;
    font-size: clamp(42px, 12vw, 58px);
  }

  .developer-workflow-heading > p {
    font-size: 13px;
  }

  .developer-hero-actions,
  .developer-doc-actions,
  .api-playground-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .developer-button {
    width: 100%;
  }

  .developer-network-metrics {
    grid-template-columns: 1fr;
  }

  .developer-network-metrics article {
    min-height: 104px;
  }

  .developer-workflow-body {
    padding: 34px 14px 52px;
  }

  .network-flow {
    grid-template-columns: 1fr;
  }

  .network-flow > article:last-of-type {
    grid-column: auto;
  }

  .network-flow > article {
    min-height: 0;
  }

  .developer-center-shell {
    margin-top: 38px;
  }

  .developer-center-copy > h2 {
    font-size: 38px;
  }

  .developer-endpoint-list article {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .api-playground {
    padding: 18px 14px;
    border-radius: 16px;
  }

  .api-playground-head {
    display: grid;
    gap: 12px;
  }

  .api-playground-head .workflow-badge {
    justify-self: start;
  }

  .api-response-box {
    min-height: 220px;
    max-height: 390px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .developer-button {
    transition: none;
  }
}
