@layer foundation {
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/studio/fonts/inter-400.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/studio/fonts/inter-500.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/studio/fonts/inter-600.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/studio/fonts/inter-700.woff2") format("woff2");
}
:root {
  --color-bg: #f4f3f0;
  --color-bg-deep: #eae8e3;
  --color-surface: #ffffff;
  --color-text: #1a1a1a;
  --color-text-secondary: #5c5c5c;
  --color-accent: #1f4b7a;
  --color-accent-hover: #163a5f;
  --color-accent-soft: rgba(31, 75, 122, 0.08);
  --color-border: #e2dfd8;
  --color-border-strong: #d2cec4;
  --shadow-soft: 0 1px 3px rgba(26, 26, 26, 0.06);
  --shadow-card: 0 2px 8px rgba(26, 26, 26, 0.06);
  --shadow-lift: 0 8px 24px rgba(26, 26, 26, 0.08);
  --focus-ring: rgba(31, 75, 122, 0.4);
  --radius-card: 12px;
  --radius-button: 8px;
  --font: "Inter", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --header-h: 64px;
  --danger: #8a2f2f;
  --ok: #1f5c3a;
  --grid-line: rgba(31, 75, 122, 0.06);
}

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

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  position: relative;
  overflow-x: hidden;
}

.hub-frame {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 90% 60% at 20% -10%, #000 12%, transparent 72%);
  opacity: 0.4;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  color: var(--color-accent-hover);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 16px;
  background: var(--color-accent);
  color: #fff;
  font-weight: 600;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

.container {
  width: 100%;
  padding: 0 20px;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .container {
    padding: 0 32px;
  }
}

@media (min-width: 1200px) {
  .container {
    padding: 0 40px;
  }
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 4px rgba(26, 26, 26, 0.04);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  color: var(--color-text);
  text-decoration: none;
}

.brand img {
  height: 32px;
  width: auto;
}

@media (max-width: 767px) {
  .brand img {
    height: 28px;
  }
  
  .brand-badge {
    display: none;
  }
  
  #btn-sign-out,
  .btn-nav-toggle {
    padding: 8px;
    width: 40px;
    height: 40px;
    justify-content: center;
  }
  
  .session-photo {
    width: 32px;
    height: 32px;
  }
  .btn,
  input,
  select {
    min-height: var(--touch-min, 44px);
  }
  .data-table td,
  .data-table th {
    padding: 8px 8px;
    font-size: 0.78125rem;
  }
  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
}

.brand-name {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.brand-badge {
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--color-accent);
  color: #fff;
  letter-spacing: 0.02em;
}

.header-nav {
  display: none;
  align-items: center;
  gap: 4px;
}

@media (min-width: 720px) {
  .header-nav {
    display: flex;
  }
}


.header-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: background 0.12s ease, color 0.12s ease;
}

.header-nav a .nav-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.header-nav a[hidden] {
  display: none;
}

.header-nav a:hover {
  background: var(--color-accent-soft);
  color: var(--color-accent);
}

.header-nav a.is-active {
  background: var(--color-accent);
  color: #ffffff;
}

.header-nav a.is-active:hover {
  background: var(--color-accent-hover);
  color: #ffffff;
}

.nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  font-family: "Font Awesome 6 Free";
  font-size: 15px;
  line-height: 1;
  
  font-style: normal;
  font-weight: 900;
}

.header-actions {
  
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  margin-left: auto;
}

.session-photo {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 2px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-accent);
  background: var(--color-accent-soft);
  overflow: hidden;
  flex: 0 0 auto;
  transition: border-color 0.15s ease;
}

.session-photo[hidden] {
  display: none ;
}

.session-photo:hover {
  border-color: var(--color-accent);
}

.session-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.session-photo-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  color: var(--color-accent);
}

.session-photo.has-photo .session-photo-fallback {
  display: none;
}

.session-photo:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.session-chip {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

#btn-sign-out {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
}

#btn-sign-out .sign-out-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  background-color: currentColor;
  
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1a2 2 0 0 1 2 2v4H6V3a2 2 0 0 1 2-2zm3 6V3a3 3 0 0 0-6 0v4a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2zM5 8h6a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1z'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1a2 2 0 0 1 2 2v4H6V3a2 2 0 0 1 2-2zm3 6V3a3 3 0 0 0-6 0v4a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2zM5 8h6a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1z'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
}


.btn-nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 6px 12px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-surface);
  color: var(--color-text-secondary);
  cursor: pointer;
  font-size: 0.8125rem;
  font-weight: 500;
  font-family: var(--font);
}

@media (min-width: 720px) {
  .btn-nav-toggle {
    display: none;
  }
}

.btn-nav-toggle:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

.nav-toggle-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 18px;
  height: 14px;
}

.nav-toggle-icon span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transform-origin: center;
}

@media (prefers-reduced-motion: no-preference) {
  .nav-toggle-icon span {
    transition: transform 140ms ease, opacity 140ms ease;
  }
}

body.hub-nav-open .nav-toggle-icon span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

body.hub-nav-open .nav-toggle-icon span:nth-child(2) {
  opacity: 0;
}

body.hub-nav-open .nav-toggle-icon span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

body.hub-nav-open {
  overflow: hidden;
}

body.hub-nav-open .header-nav:not(.is-hidden) {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  position: fixed;
  top: var(--header-h, 60px);
  left: 0;
  right: 0;
  z-index: 39;
  max-height: calc(100dvh - var(--header-h, 60px));
  overflow-y: auto;
  padding: 12px 16px;
  gap: 4px;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-lift);
}

body.hub-nav-open .header-nav a {
  width: auto;
  min-height: 48px;
  justify-content: flex-start;
  padding: 10px 16px;
  gap: 10px;
}

.nav-backdrop:not([hidden]) {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 38;
  background: rgba(26, 26, 26, 0.28);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 22px;
  border-radius: var(--radius-button);
  font-weight: 600;
  font-size: 0.9375rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
  font-family: var(--font);
}

.btn-compact {
  min-height: 38px;
  padding: 6px 14px;
  font-size: 0.875rem;
}

.btn-block {
  width: 100%;
}

.btn:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--color-accent);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  color: #ffffff;
}

.btn-secondary {
  background: var(--color-surface);
  color: var(--color-text);
  border-color: var(--color-border-strong);
}

.btn-secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn-danger {
  background: var(--danger);
  color: #ffffff;
}

.btn-danger:hover {
  background: #732828;
  color: #ffffff;
}

.btn-ghost {
  background: transparent;
  color: var(--color-text-secondary);
  border-color: transparent;
}

.btn-ghost:hover {
  background: var(--color-accent-soft);
  color: var(--color-accent);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.view {
  padding: 24px 0 48px;
  min-height: calc(100vh - var(--header-h) - 80px);
}

@media (min-width: 768px) {
  .view {
    padding: 32px 0 64px;
  }
}


.page-gate {
  padding: 80px 0;
}

.gate-card {
  width: min(100% - 40px, 480px);
  margin: 0 auto;
  padding: 32px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.gate-card h1 {
  margin: 0 0 8px;
  font-size: 1.5rem;
  font-weight: 700;
}

.gate-card p {
  margin: 0 0 24px;
  color: var(--color-text-secondary);
}


.form-group {
  margin-bottom: var(--space-3);
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
}

.form-group input,
.form-group select {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1.5px solid var(--color-border-strong);
  border-radius: var(--radius-button);
  font-family: var(--font);
  font-size: 0.9375rem;
  color: var(--color-text);
  background: var(--color-surface);
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--focus-ring);
}

.form-group input[readonly] {
  background: var(--color-bg);
  color: var(--color-text-secondary);
}

.form-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-height: 0;
  accent-color: var(--color-accent);
  flex: 0 0 auto;
}

.form-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.form-check label {
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.5;
  cursor: pointer;
}

.form-hint {
  display: block;
  margin-top: 6px;
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  line-height: 1.4;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.form-status {
  margin: 0 0 var(--space-2);
  padding: 12px 16px;
  border-radius: var(--radius-button);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
}

.form-status.is-error {
  color: var(--danger);
  border-color: #e0c4c4;
  background: #fbf5f5;
}

.form-status.is-ok {
  color: var(--ok);
  border-color: #c7dbcf;
  background: #f4faf6;
}

.form-stack {
  display: grid;
  gap: var(--space-2);
}


.hero {
  margin-bottom: var(--space-4);
}

.hero-copy {
  max-width: 640px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.eyebrow-mark {
  width: 22px;
  height: 2px;
  background: var(--color-accent);
}

.hero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.hero-lead {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
}


.panel {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-2);
  padding: 20px 24px;
  border-bottom: 1px solid var(--color-border);
}

@media (min-width: 600px) {
  .panel-head {
    padding: 24px 28px;
  }
}

.panel-head-split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-2);
}

.panel-kicker {
  margin: 0 0 4px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

.panel-head h2 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.panel-head p {
  margin: 6px 0 0;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}


.table-wrap {
  width: 100%;
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  min-width: 600px;
}

.data-table th,
.data-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}

.data-table th {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  background: var(--color-bg);
  padding: 10px 16px;
}

.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr:hover td {
  background: rgba(31, 75, 122, 0.03);
}

.data-table .mono {
  font-family: var(--mono);
  font-size: 0.78125rem;
}

.data-table .label-cell {
  font-weight: 600;
}


.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.status-pill.is-active {
  color: var(--ok);
  background: #e5f0e7;
}

.status-pill.is-paused {
  color: var(--color-text-secondary);
  background: #ece9e3;
}

.status-pill.is-failing {
  color: var(--danger);
  background: #f3e4e1;
}

.status-pill.is-exhausted {
  color: var(--danger);
  background: #f3e4e1;
}


.notes-grid {
  display: grid;
  gap: var(--space-2);
}

@media (min-width: 800px) {
  .notes-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.note-card {
  padding: 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-bg);
}

.note-card h3 {
  margin: 0 0 8px;
  font-size: 0.9375rem;
  font-weight: 600;
}

.note-card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
}

.note-card code {
  font-family: var(--mono);
  font-size: 0.8125rem;
  word-break: break-all;
}


.secret-once {
  margin-top: var(--space-3);
  padding: var(--space-2);
  border: 1px solid var(--color-border-strong);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius-button);
  background: var(--color-bg);
}

.secret-once p {
  margin: 0 0 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.secret-once code {
  display: block;
  margin-bottom: 12px;
  font-family: var(--mono);
  font-size: 0.8125rem;
  word-break: break-all;
  line-height: 1.5;
}


.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: var(--space-4);
}

@media (min-width: 600px) {
  .stat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.stat-card {
  min-width: 0;
  padding: 16px 20px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.stat-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

.stat-card strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--color-text);
  font-variant-numeric: tabular-nums;
}

.stat-sub {
  display: block;
  margin-top: 4px;
  font-size: 0.75rem;
  color: var(--color-text-secondary);
}


.site-footer {
  margin-top: auto;
  padding: var(--space-4) 0;
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-inner p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--color-accent);
}

[hidden],
.is-hidden {
  display: none ;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.empty-state {
  text-align: center;
  padding: var(--space-4) var(--space-2);
  color: var(--color-text-secondary);
}

.empty-state p {
  margin: 0 0 var(--space-3) 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border: 1px solid var(--color-border-strong);
  border-radius: 999px;
  background: var(--color-bg);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.tag.is-ok {
  border-color: rgba(31, 92, 58, 0.35);
  background: rgba(31, 92, 58, 0.1);
  color: var(--ok);
}

.tag.is-wait {
  border-color: rgba(31, 75, 122, 0.3);
  background: var(--color-accent-soft);
  color: var(--color-accent);
}

.tag.is-danger {
  border-color: rgba(138, 47, 47, 0.32);
  background: rgba(138, 47, 47, 0.08);
  color: var(--danger);
}

.tag.is-muted {
  color: var(--color-text-secondary);
}

.tag-owner {
  margin-left: 6px;
}


.confirm-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(26, 26, 26, 0.45);
}

.confirm-card {
  width: 100%;
  max-width: 460px;
  padding: var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-surface);
  box-shadow: var(--shadow-lift);
}

@media (min-width: 600px) {
  .confirm-card {
    padding: var(--space-4);
  }
}

.confirm-card h2 {
  margin: 0 0 8px;
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.confirm-card p {
  margin: 0 0 var(--space-2);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

.confirm-card input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-button);
  background: var(--color-surface);
  color: var(--color-text);
}

.confirm-card input:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

.confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-1);
  margin-top: var(--space-3);
}

@media (prefers-reduced-motion: no-preference) {
  .confirm-card {
    animation: confirm-in 160ms ease both;
  }
}

@keyframes confirm-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.row-busy {
  opacity: 0.55;
}


.creds-layout {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 900px) {
  .creds-layout {
    grid-template-columns: 380px minmax(0, 1fr);
    align-items: start;
  }
}


.delete-warning {
  padding: 16px;
  margin-bottom: var(--space-3);
  background: rgba(138, 47, 47, 0.06);
  border: 1px solid rgba(138, 47, 47, 0.2);
  border-radius: var(--radius-button);
}

.delete-warning p {
  margin: 0 0 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--danger);
}

.delete-warning ul {
  margin: 0;
  padding-left: 20px;
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.field-hint {
  display: block;
  margin-top: 6px;
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  line-height: 1.4;
}

.hx-count {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-bg);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  font-variant-numeric: tabular-nums;
}

.hx-count[hidden] {
  display: none ;
}



.hx-shell {
  padding-bottom: 8px;
}


.hx-hero {
  position: relative;
  padding: 32px 0 24px;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
  margin-bottom: 24px;
}

.hx-hero-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.hx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.hx-eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: var(--color-accent);
}

.hx-hero h1 {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--color-text);
}

.hx-lead {
  margin: 10px 0 0;
  max-width: 60ch;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--color-text-secondary);
}

.hx-hero-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}


.hx-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

@media (max-width: 1023px) {
  .hx-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 539px) {
  .hx-metrics {
    grid-template-columns: 1fr;
  }
}

.hx-metric {
  position: relative;
  padding: 20px 22px;
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.hx-metric:hover {
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-lift);
}

.hx-metric::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-accent);
  opacity: 0.5;
}

.hx-metric-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

.hx-metric-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  color: var(--color-text);
}

.hx-metric-value.is-accent {
  color: var(--color-accent);
}

.hx-metric-value.is-ok {
  color: var(--ok);
}

.hx-metric-value.is-danger {
  color: var(--danger);
}

.hx-metric-sub {
  display: block;
  margin-top: 6px;
  font-size: 0.75rem;
  color: var(--color-text-secondary);
}


.hx-card {
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.hx-card:hover {
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-lift);
}

.hx-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--color-border);
  flex-wrap: wrap;
}

.hx-card-label {
  flex: 1;
  min-width: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

.hx-card-meta {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  font-variant-numeric: tabular-nums;
}

.hx-card-badge {
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  background: var(--color-bg);
}

.hx-card-body {
  padding: 20px 22px;
}

.hx-card-intro {
  margin: 0 0 16px;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--color-text-secondary);
}


.hx-row {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

@media (max-width: 899px) {
  .hx-row {
    grid-template-columns: 1fr;
  }
}

.hx-section {
  margin-bottom: 24px;
}


.hx-stack {
  display: grid;
  gap: 10px;
}

.hx-doc {
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-bg);
}

.hx-doc h3 {
  margin: 0 0 4px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-text);
}

.hx-doc p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--color-text-secondary);
}

.hx-doc code,
.hx-card-intro code {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 6px;
  border: 1px solid var(--color-border);
  background: var(--color-bg-deep);
  font-family: var(--mono);
  font-size: 0.71875rem;
  color: var(--color-text);
}


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

.hx-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
}

.hx-table th {
  padding: 10px 16px;
  text-align: left;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border-strong);
  white-space: nowrap;
}

.hx-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
  color: var(--color-text);
}

.hx-table tbody tr:last-child td {
  border-bottom: 0;
}

.hx-table tbody tr:hover td {
  background: var(--color-accent-soft);
}

.hx-table-empty {
  text-align: center;
  color: var(--color-text-secondary);
  padding: 28px 16px ;
}


.hx-keyvals {
  display: grid;
  margin: 0;
}

.hx-keyval {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
}

.hx-keyval:last-child {
  border-bottom: 0;
}

.hx-keyval dt {
  flex: 0 0 auto;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-secondary);
}

.hx-keyval dd {
  margin: 0;
  min-width: 0;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: right;
  word-break: break-word;
  font-variant-numeric: tabular-nums;
  color: var(--color-text);
}


.hx-empty {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 28px 16px;
  border: 1px dashed var(--color-border-strong);
  border-radius: 10px;
  background: var(--color-bg);
  text-align: center;
}

.hx-empty p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

@media (max-width: 767px) {
  .hx-hero {
    padding: 24px 0 20px;
  }
  .hx-hero h1 {
    font-size: 1.4375rem;
  }
  .hx-metric {
    padding: 16px 18px;
  }
  .hx-metric-value {
    font-size: 1.625rem;
  }
  .hx-card-head {
    padding: 12px 16px;
  }
  .hx-card-body {
    padding: 16px;
  }
}


.hx-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.webhooks-checking .page-gate,
.webhooks-checking .site-footer {
  display: none;
}

.wh-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(16, 31, 44, 0.08);
  background:
    linear-gradient(120deg, rgba(247, 250, 252, 0.96), rgba(238, 244, 248, 0.78)),
    repeating-linear-gradient(90deg, rgba(16, 31, 44, 0.04) 0 1px, transparent 1px 84px);
}

.wh-hero .hx-hero-inner {
  align-items: flex-end;
  gap: 24px;
}

.wh-hero .hx-hero-copy {
  max-width: 850px;
}

.wh-hero h1 {
  letter-spacing: 0;
}

.wh-hero-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.wh-hero-strip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(16, 31, 44, 0.12);
  border-radius: 8px;
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 28px rgba(16, 31, 44, 0.06);
  font-size: 0.8125rem;
  font-weight: 700;
}

.wh-hero-strip i {
  color: var(--color-accent);
}

.wh-console {
  padding-top: 22px;
}

.wh-command {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.28fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid rgba(16, 31, 44, 0.12);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(246, 249, 251, 0.9)),
    linear-gradient(90deg, rgba(39, 91, 129, 0.08), transparent);
  box-shadow: 0 18px 52px rgba(16, 31, 44, 0.08);
}

.wh-command-main {
  display: grid;
  gap: 5px;
}

.wh-command-kicker {
  color: var(--color-text-secondary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wh-command-main strong {
  color: var(--color-text);
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  letter-spacing: 0;
}

.wh-command-main span:last-child {
  color: var(--color-text-secondary);
  line-height: 1.55;
}

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

.wh-command-rail span {
  border: 1px solid rgba(16, 31, 44, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(39, 91, 129, 0.14), rgba(39, 91, 129, 0.04)),
    repeating-linear-gradient(180deg, rgba(16, 31, 44, 0.08) 0 2px, transparent 2px 10px);
}

.wh-metrics {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  margin-bottom: 20px;
}

.wh-metrics .hx-metric {
  min-height: 118px;
  border-radius: 10px;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.wh-metrics .hx-metric:hover {
  transform: translateY(-2px);
  border-color: rgba(39, 91, 129, 0.24);
  box-shadow: 0 18px 46px rgba(16, 31, 44, 0.1);
}

.wh-tabs {
  display: inline-flex;
  gap: 5px;
  margin: 0 0 18px;
  padding: 5px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.wh-tabs .hx-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 16px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--color-text-secondary);
  font-family: var(--font);
  font-size: 0.8125rem;
  font-weight: 800;
  cursor: pointer;
}

.wh-tabs .hx-tab:hover {
  color: var(--color-text);
}

.wh-tabs .hx-tab.is-active {
  color: #ffffff;
  background: var(--color-text);
}

.wh-tabs .hx-tab:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

.wh-endpoint-grid,
.wh-export-grid {
  align-items: stretch;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
}

.wh-builder,
.wh-flow,
.wh-endpoints,
.wh-verify,
.wh-export-card,
.wh-included {
  border-radius: 10px;
}

.wh-flow {
  padding: 18px;
  border: 1px solid rgba(16, 31, 44, 0.12);
  background:
    linear-gradient(180deg, rgba(16, 31, 44, 0.96), rgba(20, 40, 56, 0.96)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 22px);
  color: #f7fbff;
  box-shadow: 0 24px 60px rgba(16, 31, 44, 0.18);
}

.wh-flow-label {
  display: block;
  margin-bottom: 16px;
  color: rgba(247, 251, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wh-flow ol {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wh-flow li {
  position: relative;
  display: grid;
  gap: 3px;
  padding-left: 28px;
}

.wh-flow li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 12px;
  height: 12px;
  border: 2px solid rgba(124, 215, 232, 0.72);
  border-radius: 50%;
  background: rgba(124, 215, 232, 0.18);
}

.wh-flow strong {
  font-size: 0.92rem;
}

.wh-flow span {
  color: rgba(247, 251, 255, 0.7);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.event-set {
  margin: 0;
  padding: 14px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-bg);
}

.event-grid {
  display: grid;
  gap: 8px;
}

.event-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-surface);
  cursor: pointer;
  transition: border-color 0.14s ease, box-shadow 0.14s ease, transform 0.14s ease;
}

.event-check:hover {
  transform: translateY(-1px);
  border-color: var(--color-border-strong);
}

.event-check:has(input:checked) {
  border-color: var(--color-accent);
  box-shadow: inset 0 0 0 1px var(--color-accent), 0 10px 24px rgba(39, 91, 129, 0.08);
}

.event-check input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--color-accent);
}

.event-check-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.event-check-name {
  color: var(--color-text);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 800;
  word-break: break-word;
}

.event-check-desc {
  color: var(--color-text-secondary);
  font-size: 0.73rem;
  line-height: 1.45;
}

.reg-steps {
  display: grid;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reg-step {
  position: relative;
  padding-left: 40px;
}

.reg-step::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 32px;
  bottom: -22px;
  width: 2px;
  background: var(--color-border);
}

.reg-step:last-child::before {
  display: none;
}

.reg-step-num {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--color-text);
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 0 0 4px var(--color-surface);
}

.reg-step-label {
  display: block;
  margin-bottom: 3px;
  color: var(--color-text);
  font-size: 0.9375rem;
  font-weight: 800;
}

label.reg-step-label {
  cursor: pointer;
}

.reg-step-hint {
  margin: 0 0 8px;
  color: var(--color-text-secondary);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.reg-step .form-group {
  margin: 0;
}

.url-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.url-prefix {
  position: absolute;
  left: 14px;
  top: 50%;
  z-index: 1;
  transform: translateY(-50%);
  color: var(--color-text-secondary);
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 800;
  pointer-events: none;
  user-select: none;
}

.url-input-wrap input {
  padding-left: 78px ;
}

.reg-submit {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 22px;
}

.reg-submit .btn-block {
  width: 100%;
}

.reg-submit-hint {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 0.8125rem;
  text-align: center;
}

.hx-card-badge.is-warn {
  color: #6f510f;
  border-color: #dfcf9c;
  background: #fbf6e6;
}

.secret-once {
  margin-top: 14px;
  border-radius: 10px;
}

.wh-table-wrap {
  border-radius: 0 0 10px 10px;
}

.url-cell {
  max-width: 320px;
  color: var(--color-text-secondary);
  font-family: var(--mono);
  font-size: 0.75rem;
  word-break: break-all;
}

.hx-table .label-cell {
  color: var(--color-text);
  font-weight: 800;
  white-space: nowrap;
}

.wh-row-label,
.wh-row-id {
  display: block;
}

.wh-row-id {
  max-width: 160px;
  margin-top: 4px;
  overflow: hidden;
  color: var(--color-text-secondary);
  font-family: var(--mono);
  font-size: 0.67rem;
  font-weight: 600;
  text-overflow: ellipsis;
}

.event-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.event-tag {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 3px 7px;
  border: 1px solid var(--color-border);
  border-radius: 7px;
  background: var(--color-bg);
  color: var(--color-accent);
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 800;
}

.hook-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.hook-actions .btn {
  min-height: 32px;
  padding: 4px 10px;
  font-size: 0.75rem;
}

.delivery-meta {
  display: block;
  margin-top: 4px;
  color: var(--color-text-secondary);
  font-size: 0.6875rem;
  white-space: nowrap;
}

.wh-empty {
  display: grid;
  gap: 4px;
  justify-items: center;
  padding: 32px 16px;
  text-align: center;
}

.wh-empty strong {
  color: var(--color-text);
  font-size: 1rem;
}

.wh-empty span {
  color: var(--color-text-secondary);
}

.wh-verify .hx-card-body {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wh-verify .hx-doc {
  border-radius: 10px;
}

.wh-verify h3 {
  display: flex;
  align-items: center;
  gap: 9px;
}

.wh-verify h3 i {
  color: var(--color-accent);
}

#panel-endpoints[hidden],
#panel-verify[hidden],
#panel-export[hidden] {
  display: none;
}

@media (min-width: 560px) {
  .event-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1280px) {
  .wh-console {
    max-width: 1480px;
  }
}

@media (max-width: 980px) {
  .wh-command,
  .wh-endpoint-grid,
  .wh-export-grid {
    grid-template-columns: 1fr;
  }

  .wh-command-rail {
    min-height: 72px;
  }

  .wh-verify .hx-card-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .wh-hero .hx-hero-inner {
    align-items: flex-start;
  }

  .wh-tabs {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .wh-tabs .hx-tab {
    justify-content: center;
  }

  .wh-table-wrap {
    overflow: visible;
  }

  .hx-table,
  .hx-table thead,
  .hx-table tbody,
  .hx-table tr,
  .hx-table th,
  .hx-table td {
    display: block;
  }

  .hx-table thead {
    display: none;
  }

  .hx-table tr {
    margin: 0 0 12px;
    padding: 14px;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: var(--color-surface);
    box-shadow: var(--shadow-card);
  }

  .hx-table td {
    padding: 8px 0;
    border: 0;
  }

  .hx-table .label-cell {
    white-space: normal;
  }

  .url-cell {
    max-width: none;
  }

  .hook-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 539px) {
  .wh-console {
    padding-top: 14px;
  }

  .wh-command {
    padding: 14px;
  }

  .wh-hero-strip span {
    width: 100%;
  }

  .reg-step {
    padding-left: 34px;
  }

  .reg-step-num {
    width: 24px;
    height: 24px;
    font-size: 0.75rem;
  }

  .reg-step::before {
    left: 11px;
    top: 28px;
  }

  .url-input-wrap input {
    padding-left: 70px ;
  }
}



.export-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 639px) {
  .export-form-grid {
    grid-template-columns: 1fr;
  }
}

.export-form-grid .form-group--wide {
  grid-column: 1 / -1;
}

#format-select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1.5px solid var(--color-border-strong);
  border-radius: var(--radius-button);
  background: var(--color-surface);
  color: var(--color-text);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
}

#format-select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--focus-ring);
}

.export-status-note {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--color-text-secondary);
}


@media (min-width: 768px) { main { width: 75%; margin-inline: auto; } }


:root {
  --icon-stats: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M0 1.5A1.5 1.5 0 0 1 1.5 0h2A1.5 1.5 0 0 1 5 1.5v13a1.5 1.5 0 0 1-1.5 1.5h-2A1.5 1.5 0 0 1 0 14.5v-13zm6.5 4A1.5 1.5 0 0 1 8 4h2a1.5 1.5 0 0 1 1.5 1.5v9A1.5 1.5 0 0 1 10 16H8a1.5 1.5 0 0 1-1.5-1.5v-9zm6-5A1.5 1.5 0 0 1 14 0h2a1.5 1.5 0 0 1 1.5 1.5v14A1.5 1.5 0 0 1 16 17h-2a1.5 1.5 0 0 1-1.5-1.5v-14z'/%3E%3C/svg%3E");
  --icon-billing: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M0 4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V4zm2-1a1 1 0 0 0-1 1v1h14V4a1 1 0 0 0-1-1H2zm13 4H1v5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V7z'/%3E%3C/svg%3E");
  --icon-webhooks: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 1A1.5 1.5 0 0 0 5 2.5v.885a4.74 4.74 0 0 1 .693-.348l.496-.224A1.5 1.5 0 1 0 6.5 1zM3.017 3.461A4.74 4.74 0 0 0 2.385 4.5H1.5A1.5 1.5 0 1 1 1.5 2h.885a4.74 4.74 0 0 1 .632 1.461zm.182 1.539c-.128.48-.21.973-.21 1.482v.069c0 .13.007.26.022.389l-1.194.21a1.5 1.5 0 1 0 .426 1.473l1.187-.268a4.14 4.14 0 0 1-.306-.804.478.478 0 0 1-.024-.176L1.154 8.749a1.5 1.5 0 1 0 .582 1.42l1.165-.443a3.96 3.96 0 0 0 .138.495l-.063.225a1.5 1.5 0 1 0 1.505-.01l.2-.765a4.74 4.74 0 0 0 .315-.656l.057-.18.69 3.24a1.5 1.5 0 1 0 1.047.25l-1.04-3.352a4.74 4.74 0 0 0 .37-.173l.5-.329a1.5 1.5 0 1 0 .128-1.02l-.436.287a4.6 4.6 0 0 0-.284.14l-.911-1.944a1.5 1.5 0 1 0-1.046.244l.718 1.724z'/%3E%3C/svg%3E");
  --icon-export: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M.5 9.9a.5.5 0 0 1 .5.5v2.5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-2.5a.5.5 0 0 1 1 0v2.5a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2v-2.5a.5.5 0 0 1 .5-.5zm7.5-8a.5.5 0 0 1 .5.5v7.793l2.146-2.147a.5.5 0 0 1 .708.708l-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 1 1 .708-.708L7.5 10.293V2.5a.5.5 0 0 1 .5-.5z'/%3E%3C/svg%3E");
  --icon-sso: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M12.5 16a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7zm0-1a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5zm.5-2.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0zm-9-7a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7zm0-1a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E");
  --icon-analytics: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M11 2a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1V2zm-4 4a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1V6zm-4 4a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1v-4z' fill-rule='evenodd'/%3E%3C/svg%3E");
  --icon-users: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M15 14s1 0 1-1-1-4-5-4-5 3-5 4 1 1 1 1h8zm-7.978-1L7 12.996c.001-.264.167-1.03.76-1.72C8.312 10.629 9.282 10 11 10c1.717 0 2.687.63 3.24 1.276.593.69.758 1.457.76 1.72l-.008.002-.014.002H7.022zM11 7a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm3-2a3 3 0 1 1-6 0 3 3 0 0 1 6 0zM6.936 9.28a5.88 5.88 0 0 0-1.23-.247A7.35 7.35 0 0 0 5 9c-4 0-5 3-5 4 0 .667.333 1 1 1h4.216A2.238 2.238 0 0 1 5 13c0-1.01.377-2.042 1.09-2.904.243-.294.526-.569.846-.816zM4.92 10A5.493 5.493 0 0 0 4 13H1c0-.26.164-1.03.76-1.724.545-.636 1.492-1.256 3.16-1.275zM1.5 5.5a3 3 0 1 1 6 0 3 3 0 0 1-6 0zm3-2a2 2 0 1 0 0 4 2 2 0 0 0 0-4z'/%3E%3C/svg%3E");
  --icon-admin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M9.405 1.05c-.413-1.4-2.397-1.4-2.81 0l-.1.34a1.464 1.464 0 0 1-2.105.872l-.31-.17c-1.283-.698-2.686.705-1.987 1.987l.169.311c.446.82.023 1.841-.872 2.105l-.34.1c-1.4.413-1.4 2.397 0 2.81l.34.1a1.464 1.464 0 0 1 .872 2.105l-.17.31c-.698 1.283.705 2.686 1.987 1.987l.311-.169a1.464 1.464 0 0 1 2.105.872l.1.34c.413 1.4 2.397 1.4 2.81 0l.1-.34a1.464 1.464 0 0 1 2.105-.872l.31.17c1.283.698 2.686-.705 1.987-1.987l-.169-.311a1.464 1.464 0 0 1 .872-2.105l.34-.1c1.4-.413 1.4-2.397 0-2.81l-.34-.1a1.464 1.464 0 0 1-.872-2.105l.17-.31c.698-1.283-.705-2.686-1.987-1.987l-.311.169a1.464 1.464 0 0 1-2.105-.872l-.1-.34zM8 10.93a2.929 2.929 0 1 1 0-5.86 2.929 2.929 0 0 1 0 5.858z'/%3E%3C/svg%3E");
  --icon-account: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M11 6a3 3 0 1 1-6 0 3 3 0 0 1 6 0z'/%3E%3Cpath d='M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8zm8-7a7 7 0 0 0-5.468 11.37C3.242 11.226 4.805 10 8 10s4.757 1.225 5.468 2.37A7 7 0 0 0 8 1z'/%3E%3C/svg%3E");
  --icon-blog: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 1.5A.5.5 0 0 1 2.5 1h11a.5.5 0 0 1 .5.5v5a.5.5 0 0 1-1 0V2H3v12h3.5a.5.5 0 0 1 0 1h-4a.5.5 0 0 1-.5-.5v-13z'/%3E%3Cpath d='M5.5 10.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1H6a.5.5 0 0 1-.5-.5zm0-3a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1H6a.5.5 0 0 1-.5-.5zm6.5 0a.5.5 0 1 1 1 0v3a.5.5 0 0 1-1 0v-3zm-2 3a.5.5 0 1 1 1 0v1a.5.5 0 0 1-1 0v-1zm-2 1a.5.5 0 1 1 1 0v.5a.5.5 0 0 1-1 0v-.5z'/%3E%3C/svg%3E");
}




html,
body {
  overflow-x: hidden;
}


@media (max-width: 719px) {
  :root {
    
    --header-h: 56px;
  }

  .site-header,
  .header-inner {
    height: var(--header-h);
  }

  .header-inner {
    gap: 8px;
    min-width: 0;
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  
  .brand {
    gap: 8px;
    min-width: 0;
    flex: 0 1 auto;
  }
  .brand img {
    width: auto;
    max-width: 40vw;
    flex: 0 0 auto;
  }
  .brand-lockup {
    min-width: 0;
  }
  .brand-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 40vw;
  }
  .brand-badge {
    display: none;
  }

  
  .header-actions {
    flex: 0 0 auto;
    gap: 4px;
    min-width: 0;
  }
  #btn-sign-out,
  .btn-nav-toggle {
    width: 40px;
    height: 40px;
    padding: 0;
    justify-content: center;
    flex: 0 0 auto;
  }
  .btn-nav-toggle {
    margin-left: 2px;
  }
  .session-photo {
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
  }

  
  .nav-toggle-text,
  #btn-sign-out .sign-out-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }
}


@media (min-width: 720px) {
  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
  }

  .header-inner > .brand {
    grid-column: 1;
    justify-self: start;
    
    min-width: 0;
    overflow: hidden;
  }

  .header-inner > .header-nav {
    grid-column: 2;
    justify-self: center;
  }

  .header-inner > .header-actions {
    grid-column: 3;
    justify-self: end;
    
    margin-left: 0;
    min-width: 0;
  }

  .brand-lockup {
    min-width: 0;
  }

  .brand-name {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}


@media (min-width: 720px) and (max-width: 899px) {
  .brand-badge {
    display: none;
  }
}


@media (min-width: 720px) and (max-width: 767px) {
  #btn-sign-out {
    width: 40px;
    height: 40px;
    padding: 0;
    justify-content: center;
    flex: 0 0 auto;
  }
  #btn-sign-out .sign-out-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }
}


@media (max-width: 360px) {
  .brand-name {
    display: none;
  }
}


@media (max-width: 719px) {
  body.hub-nav-open .header-nav:not(.is-hidden) {
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 12px;
    gap: 8px;
    
    justify-content: center;
  }
  body.hub-nav-open .header-nav a {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    min-width: 0;
    min-height: 48px;
    padding: 0;
    gap: 0;
    justify-content: center;
    white-space: nowrap;
  }
  
  body.hub-nav-open .header-nav a .nav-icon {
    width: 20px;
    height: 20px;
    font-size: 17px;
  }
  body.hub-nav-open .header-nav .nav-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
    opacity: 1;
  }
}

}
