:root {
  --guide-orange: #f97316;
  --guide-orange-dark: #ea580c;
  --guide-navy: #0f172a;
  --guide-panel: #111d30;
  --guide-panel-soft: #17253b;
  --guide-line: rgba(255, 255, 255, 0.1);
  --guide-muted: #9eabc0;
  --guide-copy: #f8fafc;
  --guide-green: #22c55e;
  --guide-blue: #3b82f6;
  --guide-red: #ef4444;
}

body.interactive-guides-page {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

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

.guide-skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  min-height: 44px;
  padding: 12px 16px;
  border-radius: 8px;
  transform: translateY(-140%);
  background: #ffffff;
  color: #111827;
  font-weight: 800;
}

.guide-skip-link:focus {
  transform: translateY(0);
}

.interactive-guides-page :where(a, button):focus-visible {
  outline: 3px solid #fdba74;
  outline-offset: 3px;
}

.interactive-guides-hero {
  max-width: 930px;
}

.guide-library {
  padding: 58px 0;
  border-bottom: 1px solid var(--guide-line);
  scroll-margin-top: 92px;
}

.guide-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.58fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 26px;
}

.guide-section-heading .eyebrow {
  margin-bottom: 10px;
}

.guide-section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(1.9rem, 4vw, 3.1rem);
}

.guide-section-heading > p {
  color: var(--guide-muted);
  line-height: 1.65;
}

.guide-library-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.guide-library-card {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 24px;
  gap: 16px;
  align-items: start;
  min-height: 164px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--guide-line);
  border-radius: 10px;
  background: var(--guide-panel);
  color: var(--guide-copy);
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.guide-library-card::after {
  content: "";
  position: absolute;
  right: -48px;
  bottom: -76px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.07);
  pointer-events: none;
}

.guide-library-card:hover,
.guide-library-card.is-active {
  border-color: rgba(249, 115, 22, 0.62);
  background: var(--guide-panel-soft);
  transform: translateY(-2px);
}

.guide-library-card.is-featured {
  border-color: rgba(249, 115, 22, 0.36);
}

.guide-card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: rgba(249, 115, 22, 0.13);
  color: #fdba74;
  font-size: 1.25rem;
  font-weight: 900;
}

.guide-card-copy {
  display: grid;
  gap: 7px;
}

.guide-card-kicker {
  color: #fdba74;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guide-card-copy strong {
  color: var(--guide-copy);
  font-size: 1.08rem;
  line-height: 1.2;
}

.guide-card-copy > span:last-child {
  color: var(--guide-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.guide-card-arrow {
  position: relative;
  z-index: 1;
  color: #fdba74;
  font-size: 1.15rem;
}

.guide-player-shell {
  scroll-margin-top: 86px;
  min-width: 0;
  padding: 38px;
  border: 1px solid rgba(249, 115, 22, 0.27);
  border-radius: 12px;
  margin: 58px 0;
  background:
    radial-gradient(circle at 9% 25%, rgba(249, 115, 22, 0.1), transparent 26%),
    var(--guide-panel);
}

.guide-player-shell:focus {
  outline: none;
}

.guide-player-shell:focus-visible {
  outline: 3px solid #fdba74;
  outline-offset: 4px;
}

.guide-player-topline {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: start;
}

.guide-player-topline > div {
  min-width: 0;
}

.guide-player-topline h2 {
  margin-bottom: 8px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  overflow-wrap: anywhere;
}

.guide-player-topline > div > p:last-child {
  max-width: 650px;
  color: var(--guide-muted);
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.guide-player-kicker {
  margin-bottom: 8px;
  color: #fdba74;
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.guide-copy-link,
.guide-control,
.guide-step-tabs button {
  min-width: 44px;
  min-height: 44px;
  border: 0;
  font: inherit;
  cursor: pointer;
}

.guide-copy-link {
  flex: 0 0 auto;
  padding: 0 15px;
  border: 1px solid var(--guide-line);
  border-radius: 8px;
  background: transparent;
  color: var(--guide-copy);
  font-size: 0.82rem;
  font-weight: 800;
}

.guide-copy-link:hover {
  border-color: rgba(249, 115, 22, 0.55);
}

.guide-progress-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-top: 28px;
}

.guide-progress-track {
  height: 5px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.09);
}

.guide-progress-track span {
  display: block;
  width: 16.666%;
  height: 100%;
  border-radius: inherit;
  background: var(--guide-orange);
  transition: width 220ms ease;
}

.guide-progress-label {
  color: var(--guide-muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.guide-step-tabs {
  display: flex;
  width: 100%;
  min-height: 44px;
  min-width: 0;
  max-width: 100%;
  gap: 8px;
  margin-top: 16px;
  overflow-x: auto;
  scrollbar-width: none;
}

.guide-step-tabs::-webkit-scrollbar {
  display: none;
}

.guide-step-tabs button {
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--guide-line);
  border-radius: 50%;
  background: transparent;
  color: var(--guide-muted);
  font-size: 0.8rem;
  font-weight: 850;
}

.guide-step-tabs button:hover,
.guide-step-tabs button[aria-current="step"] {
  border-color: var(--guide-orange);
  background: var(--guide-orange);
  color: #111827;
}

.guide-stage {
  display: grid;
  grid-template-columns: minmax(320px, 0.84fr) minmax(0, 1.16fr);
  gap: clamp(42px, 7vw, 92px);
  align-items: center;
  min-height: 700px;
  padding-top: 36px;
}

.guide-phone-wrap {
  display: grid;
  place-items: center;
  min-width: 0;
}

.guide-phone {
  position: relative;
  width: min(330px, 100%);
  height: 660px;
  padding: 14px;
  border: 1px solid #334155;
  border-radius: 46px;
  background: #050914;
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.38);
}

.guide-phone[inert] {
  pointer-events: none;
  user-select: none;
}

.guide-phone::before,
.guide-phone::after {
  content: "";
  position: absolute;
  left: -3px;
  width: 3px;
  border-radius: 4px 0 0 4px;
  background: #334155;
}

.guide-phone::before {
  top: 116px;
  height: 54px;
}

.guide-phone::after {
  top: 184px;
  height: 76px;
}

.guide-phone-speaker {
  position: absolute;
  z-index: 5;
  top: 24px;
  left: 50%;
  width: 78px;
  height: 22px;
  border-radius: 99px;
  transform: translateX(-50%);
  background: #050914;
}

.guide-phone-screen {
  height: 100%;
  overflow: hidden;
  border-radius: 34px;
  background: #f5f7fa;
  color: #172033;
  font-size: 0.78rem;
}

.guide-phone-home {
  position: absolute;
  z-index: 5;
  bottom: 19px;
  left: 50%;
  width: 108px;
  height: 4px;
  border-radius: 99px;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.7);
}

.demo-app-header {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  min-height: 72px;
  padding: 22px 14px 10px;
  border-bottom: 3px solid var(--guide-orange);
  background: var(--guide-navy);
  color: #ffffff;
}

.demo-app-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--guide-orange);
  color: #111827;
  font-size: 0.62rem;
  font-weight: 900;
}

.demo-app-header small,
.demo-app-header strong {
  display: block;
}

.demo-app-header small {
  color: #94a3b8;
  font-size: 0.56rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-app-header strong {
  margin-top: 1px;
  font-size: 0.8rem;
}

.demo-app-more {
  color: #94a3b8;
  letter-spacing: 0.08em;
}

.demo-document-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 16px 16px 0;
  padding: 7px 10px;
  border: 1px solid #fed7aa;
  border-radius: 99px;
  background: #fff7ed;
  color: #9a3412;
  font-size: 0.66rem;
  font-weight: 850;
}

.demo-document-pill span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--guide-orange);
}

.demo-capture-copy {
  display: grid;
  align-content: center;
  min-height: 320px;
  padding: 28px 24px;
  text-align: center;
}

.demo-capture-copy small {
  color: #ea580c;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.demo-capture-copy p {
  margin-top: 18px;
  color: #172033;
  font-size: 1rem;
  font-weight: 760;
  line-height: 1.55;
}

.demo-wave {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  height: 52px;
}

.demo-wave i {
  width: 4px;
  height: 12px;
  border-radius: 99px;
  background: var(--guide-orange);
}

.demo-wave i:nth-child(2),
.demo-wave i:nth-child(6) {
  height: 28px;
}

.demo-wave i:nth-child(3),
.demo-wave i:nth-child(5) {
  height: 42px;
}

.demo-wave i:nth-child(4) {
  height: 50px;
}

.demo-capture-actions {
  display: grid;
  grid-template-columns: 1fr 58px 1fr;
  align-items: center;
  gap: 10px;
  padding: 24px 18px 34px;
  color: #64748b;
  font-size: 0.63rem;
  font-weight: 750;
  text-align: center;
}

.demo-capture-actions b {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--guide-orange);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.26);
}

.demo-attention,
.demo-ready {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin: 14px 14px 0;
  padding: 11px;
  border-radius: 11px;
}

.demo-attention {
  border: 1px solid #fdba74;
  background: #fff7ed;
  color: #9a3412;
}

.demo-ready {
  border: 1px solid #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}

.demo-attention > b,
.demo-ready > b {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: currentColor;
  color: #ffffff;
}

.demo-attention strong,
.demo-attention small,
.demo-ready strong,
.demo-ready small {
  display: block;
}

.demo-attention strong,
.demo-ready strong {
  font-size: 0.72rem;
}

.demo-attention small,
.demo-ready small {
  margin-top: 2px;
  color: currentColor;
  font-size: 0.62rem;
  opacity: 0.82;
}

.demo-form-card {
  margin: 12px 14px;
  padding: 4px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
}

.demo-form-card label {
  display: grid;
  gap: 3px;
  padding: 11px 0;
  border-bottom: 1px solid #eef2f7;
}

.demo-form-card label.is-attention {
  margin: 0 -8px;
  padding: 10px 8px;
  border: 1.5px solid var(--guide-orange);
  border-radius: 8px;
  background: #fff7ed;
}

.demo-form-card label.is-ready {
  color: #166534;
}

.demo-form-card label span,
.demo-form-card label small {
  color: #64748b;
  font-size: 0.58rem;
  font-weight: 700;
}

.demo-form-card label b {
  font-size: 0.72rem;
}

.demo-field-hint {
  color: #c2410c !important;
}

.demo-line,
.demo-total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #eef2f7;
  font-size: 0.68rem;
}

.demo-total {
  border-bottom: 0;
  color: #172033;
  font-weight: 850;
}

.demo-primary,
.demo-secondary,
.demo-danger-button {
  display: block;
  width: calc(100% - 28px);
  min-height: 42px;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  margin: 12px 14px;
  font: inherit;
  font-weight: 850;
}

.demo-primary {
  background: var(--guide-orange);
  color: #111827;
}

.demo-secondary {
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
}

.demo-danger-button {
  background: #dc2626;
  color: #ffffff;
}

.demo-pdf {
  margin: 18px 26px 12px;
  padding: 18px;
  border-top: 5px solid var(--guide-orange);
  border-radius: 5px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.14);
}

.demo-pdf-top,
.demo-pdf-meta,
.demo-pdf-total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.demo-pdf-logo {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--guide-orange);
  font-size: 0.58rem;
  font-weight: 900;
}

.demo-pdf-top > b {
  font-size: 0.9rem;
  letter-spacing: 0.12em;
}

.demo-pdf-meta {
  margin-top: 34px;
  font-size: 0.66rem;
}

.demo-pdf-meta span {
  display: grid;
  gap: 3px;
}

.demo-pdf-meta small {
  color: #94a3b8;
  font-size: 0.52rem;
  text-transform: uppercase;
}

.demo-pdf-lines {
  display: grid;
  gap: 10px;
  margin-top: 42px;
}

.demo-pdf-lines i {
  height: 7px;
  border-radius: 2px;
  background: #e2e8f0;
}

.demo-pdf-lines i:nth-child(2) {
  width: 82%;
}

.demo-pdf-lines i:nth-child(3) {
  width: 58%;
}

.demo-pdf-total {
  margin-top: 46px;
  padding-top: 14px;
  border-top: 1px solid #cbd5e1;
}

.demo-pdf-total strong {
  font-size: 1.15rem;
}

.demo-pdf-foot {
  margin: 34px -18px -18px;
  padding: 12px 18px;
  background: #172033;
  color: #ffffff;
  font-size: 0.58rem;
  text-align: center;
}

.demo-action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px 14px;
}

.demo-action-row button {
  min-height: 42px;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  background: #ffffff;
  color: #334155;
  font: inherit;
  font-weight: 800;
}

.demo-action-row button.is-orange {
  border-color: var(--guide-orange);
  background: var(--guide-orange);
  color: #111827;
}

.demo-action-row button.is-danger {
  border-color: #fecaca;
  color: #b91c1c;
}

.demo-share-file {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  margin: 18px 14px;
  padding: 13px;
  border: 1px solid #e2e8f0;
  border-radius: 11px;
  background: #ffffff;
}

.demo-share-file > span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 46px;
  border-radius: 6px;
  background: #fee2e2;
  color: #b91c1c;
  font-size: 0.58rem;
  font-weight: 900;
}

.demo-share-file strong,
.demo-share-file small {
  display: block;
}

.demo-share-file strong {
  font-size: 0.7rem;
}

.demo-share-file small {
  margin-top: 3px;
  color: #64748b;
  font-size: 0.58rem;
}

.demo-share-sheet {
  margin: 24px 14px 0;
  padding: 14px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.1);
}

.demo-share-sheet > small {
  display: block;
  padding-bottom: 10px;
  color: #64748b;
  font-weight: 750;
  text-align: center;
}

.demo-share-sheet button,
.demo-large-choices button {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 54px;
  border: 0;
  border-top: 1px solid #eef2f7;
  background: transparent;
  color: #172033;
  font: inherit;
  text-align: left;
}

.demo-share-sheet button span,
.demo-large-choices button > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: #e2e8f0;
  color: #334155;
  font-weight: 900;
}

.is-green {
  background: #dcfce7 !important;
  color: #166534 !important;
}

.is-blue {
  background: #dbeafe !important;
  color: #1d4ed8 !important;
}

.is-orange {
  background: #ffedd5 !important;
  color: #c2410c !important;
}

.demo-private-copy,
.demo-centred-copy {
  margin: 13px 18px;
  color: #64748b;
  font-size: 0.65rem;
  line-height: 1.5;
  text-align: center;
}

.demo-filter-row {
  display: flex;
  gap: 8px;
  padding: 16px 14px 4px;
}

.demo-filter-row span,
.demo-filter-row b {
  padding: 7px 9px;
  border-radius: 99px;
  background: #e2e8f0;
  font-size: 0.6rem;
}

.demo-filter-row b {
  background: var(--guide-orange);
}

.demo-history-card {
  margin: 16px 14px;
  padding: 15px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
}

.demo-history-card > div:first-child {
  display: inline-grid;
  gap: 2px;
}

.demo-history-card small {
  color: #64748b;
  font-size: 0.54rem;
}

.demo-history-card h4 {
  margin: 22px 0 4px;
  font-size: 0.82rem;
}

.demo-history-card p {
  color: #64748b;
  font-size: 0.64rem;
}

.demo-status {
  float: right;
  padding: 5px 7px;
  border-radius: 99px;
  font-size: 0.55rem;
  font-weight: 850;
}

.demo-status.is-accepted,
.demo-status.is-paid {
  background: #dcfce7;
  color: #166534;
}

.demo-status.is-sent,
.demo-status.is-choice {
  background: #dbeafe;
  color: #1d4ed8;
}

.demo-status.is-overdue {
  background: #fee2e2;
  color: #b91c1c;
}

.demo-status.is-private {
  background: #e2e8f0;
  color: #475569;
}

.demo-history-total {
  display: flex;
  justify-content: space-between;
  margin-top: 22px;
  padding-top: 12px;
  border-top: 1px solid #eef2f7;
}

.demo-success-mark,
.demo-consent-icon {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 22px;
  margin: 38px auto 16px;
  background: #dcfce7;
  color: #166534;
  font-size: 1.55rem;
  font-weight: 900;
}

.demo-consent-icon {
  background: #ffedd5;
  color: #c2410c;
}

.demo-centred {
  margin: 0 18px;
  color: #172033;
  font-size: 1rem;
  text-align: center;
}

.demo-choice-stack {
  display: grid;
  gap: 8px;
  margin: 18px 14px;
}

.demo-choice-stack > button {
  width: 100%;
  min-height: 48px;
  margin: 0;
}

.demo-large-choices {
  margin-top: 22px;
}

.demo-large-choices button {
  grid-template-columns: 42px minmax(0, 1fr) auto;
  min-height: 76px;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
}

.demo-large-choices button div {
  display: grid;
  gap: 4px;
}

.demo-large-choices button small {
  color: #64748b;
  font-size: 0.6rem;
}

.demo-screen-intro {
  margin: 20px 18px 0;
  color: #172033;
  font-size: 0.86rem;
  font-weight: 850;
}

.demo-reference {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 14px;
  padding: 10px 12px;
  border-radius: 9px;
  background: #eaf1fb;
}

.demo-reference small {
  color: #64748b;
  font-size: 0.57rem;
}

.demo-reference strong {
  color: #1d4ed8;
  font-size: 0.67rem;
}

.demo-receipt-thumb,
.demo-job-photo,
.demo-upload-thumb {
  overflow: hidden;
  border-radius: 12px;
  background: #e5e7eb;
}

.demo-receipt-thumb {
  display: grid;
  gap: 8px;
  margin: 14px auto 10px;
  width: 150px;
  padding: 16px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12);
  text-align: center;
}

.demo-receipt-thumb b {
  color: #dc2626;
  font-size: 0.55rem;
  letter-spacing: 0.08em;
}

.demo-receipt-thumb span {
  font-size: 0.63rem;
  font-weight: 850;
}

.demo-receipt-thumb i {
  height: 3px;
  background: #e2e8f0;
}

.demo-receipt-thumb strong {
  margin-top: 5px;
  font-size: 0.86rem;
}

.demo-compact-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 10px 14px;
}

.demo-compact-fields label:first-child {
  grid-column: 1 / -1;
}

.demo-compact-fields label {
  display: grid;
  gap: 4px;
  padding: 9px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
}

.demo-compact-fields span {
  color: #64748b;
  font-size: 0.55rem;
}

.demo-compact-fields b {
  font-size: 0.66rem;
}

.demo-privacy-card,
.demo-settings-status {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin: 12px 14px;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 11px;
  background: #ffffff;
}

.demo-privacy-card > span,
.demo-settings-status > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #ffedd5;
  color: #c2410c;
  font-weight: 900;
}

.demo-privacy-card strong,
.demo-privacy-card small,
.demo-settings-status strong,
.demo-settings-status small {
  display: block;
}

.demo-privacy-card strong,
.demo-settings-status strong {
  font-size: 0.67rem;
}

.demo-privacy-card small,
.demo-settings-status small {
  margin-top: 3px;
  color: #64748b;
  font-size: 0.56rem;
  line-height: 1.4;
}

.demo-job-photo {
  position: relative;
  height: 220px;
  margin: 14px;
  background:
    linear-gradient(160deg, rgba(15, 23, 42, 0.1), rgba(15, 23, 42, 0.5)),
    linear-gradient(135deg, #d6c5ad 0 32%, #9ca3af 32% 48%, #cbd5e1 48% 100%);
}

.demo-job-photo span,
.demo-job-photo b {
  position: absolute;
  padding: 6px 8px;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.78);
  color: #ffffff;
  font-size: 0.57rem;
}

.demo-job-photo span {
  top: 12px;
  left: 12px;
}

.demo-job-photo b {
  right: 12px;
  bottom: 12px;
}

.demo-toggle-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  gap: 12px;
  align-items: center;
  margin: 12px 14px;
  padding: 13px;
  border: 1px solid #e2e8f0;
  border-radius: 11px;
  background: #ffffff;
}

.demo-toggle-row strong,
.demo-toggle-row small {
  display: block;
}

.demo-toggle-row strong {
  font-size: 0.66rem;
}

.demo-toggle-row small {
  margin-top: 3px;
  color: #64748b;
  font-size: 0.56rem;
}

.demo-toggle {
  position: relative;
  width: 44px;
  height: 26px;
  border-radius: 99px;
  background: #cbd5e1;
}

.demo-toggle i {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
}

.demo-toggle.is-on {
  background: var(--guide-orange);
}

.demo-toggle.is-on i {
  left: 21px;
}

.demo-sync-summary {
  display: grid;
  gap: 4px;
  margin: 18px 14px 12px;
}

.demo-sync-summary strong {
  font-size: 0.86rem;
}

.demo-sync-summary small {
  color: #64748b;
}

.demo-upload-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 28px;
  gap: 10px;
  align-items: center;
  margin: 12px 14px;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 11px;
  background: #ffffff;
}

.demo-upload-card.is-failed {
  border-color: #fecaca;
}

.demo-upload-card.is-synced {
  border-color: #bbf7d0;
}

.demo-upload-thumb {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 0.52rem;
  font-weight: 850;
}

.demo-upload-card strong,
.demo-upload-card small {
  display: block;
}

.demo-upload-card strong {
  font-size: 0.68rem;
}

.demo-upload-card small {
  margin-top: 3px;
  color: #64748b;
  font-size: 0.58rem;
}

.demo-upload-card > span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fee2e2;
  color: #b91c1c;
  font-weight: 900;
}

.demo-upload-card.is-synced > span {
  background: #dcfce7;
  color: #166534;
}

.demo-history-summary,
.demo-export-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin: 16px 14px;
}

.demo-history-summary div,
.demo-export-summary div {
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  background: #ffffff;
}

.demo-history-summary small,
.demo-export-summary small {
  color: #64748b;
  font-size: 0.53rem;
}

.demo-history-summary b,
.demo-export-summary strong {
  font-size: 0.9rem;
}

.demo-export-summary .is-attention {
  border-color: #fdba74;
  background: #fff7ed;
}

.demo-export-summary .is-ready {
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.demo-mini-document,
.demo-check-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 10px;
  align-items: center;
  margin: 10px 14px;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #ffffff;
}

.demo-mini-document > b {
  grid-column: 1 / -1;
  padding-top: 8px;
  border-top: 1px solid #eef2f7;
  font-size: 0.75rem;
}

.demo-mini-document strong,
.demo-mini-document small {
  display: block;
}

.demo-mini-document strong {
  font-size: 0.67rem;
}

.demo-mini-document small {
  margin-top: 3px;
  color: #64748b;
  font-size: 0.56rem;
}

.demo-overdue-hero {
  display: grid;
  gap: 7px;
  margin: 22px 14px;
  padding: 22px 16px;
  border-radius: 13px;
  background: #7f1d1d;
  color: #ffffff;
}

.demo-overdue-hero span {
  width: max-content;
  padding: 5px 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.13);
  font-size: 0.57rem;
  font-weight: 850;
}

.demo-overdue-hero strong {
  margin-top: 12px;
  font-size: 1.55rem;
}

.demo-overdue-hero small {
  color: #fecaca;
}

.demo-message-editor {
  min-height: 250px;
  margin: 18px 14px;
  padding: 15px;
  border: 1.5px solid #fb923c;
  border-radius: 11px;
  background: #ffffff;
}

.demo-message-editor small {
  color: #c2410c;
  font-size: 0.56rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-message-editor p {
  margin-top: 16px;
  color: #334155;
  font-size: 0.73rem;
  line-height: 1.65;
}

.demo-date-range {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 9px;
  align-items: center;
  margin: 18px 14px;
}

.demo-date-range label {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #ffffff;
}

.demo-date-range label span {
  color: #64748b;
  font-size: 0.54rem;
}

.demo-date-range label b {
  font-size: 0.63rem;
}

.demo-last-export {
  margin: -5px 14px 12px;
  color: #64748b;
  font-size: 0.6rem;
}

.demo-check-card {
  grid-template-columns: 36px minmax(0, 1fr) auto;
}

.demo-check-card > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #fff7ed;
  color: #c2410c;
  font-size: 0.55rem;
  font-weight: 900;
}

.demo-check-card strong,
.demo-check-card small {
  display: block;
}

.demo-check-card strong {
  font-size: 0.68rem;
}

.demo-check-card small {
  margin-top: 3px;
  color: #64748b;
  font-size: 0.56rem;
}

.demo-check-list,
.demo-progress-list,
.demo-file-list,
.demo-consent-list {
  display: grid;
  gap: 8px;
  margin: 16px 14px;
}

.demo-check-list span,
.demo-progress-list span,
.demo-file-list span,
.demo-consent-list span {
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  background: #ffffff;
  color: #475569;
  font-size: 0.62rem;
}

.demo-progress-list span,
.demo-file-list span {
  display: flex;
  align-items: center;
  gap: 9px;
}

.demo-progress-list b,
.demo-file-list b {
  display: grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  padding: 0 5px;
  border-radius: 7px;
  background: #e2e8f0;
  color: #475569;
  font-size: 0.52rem;
}

.demo-progress-list .is-done b {
  background: #dcfce7;
  color: #166534;
}

.demo-progress-list .is-current {
  border-color: #fdba74;
  background: #fff7ed;
}

.demo-builder-scene {
  display: grid;
  grid-template-columns: 62px 40px minmax(0, 1fr);
  gap: 7px;
  align-items: end;
  min-height: 120px;
  margin: 18px 14px;
  padding: 18px;
  border-radius: 12px;
  background: #172033;
  color: #ffffff;
}

.demo-builder-scene > div:last-child {
  display: grid;
  gap: 3px;
  align-self: center;
}

.demo-builder-scene small {
  color: #94a3b8;
  font-size: 0.54rem;
}

.demo-brick-stack {
  display: flex;
  align-items: end;
  gap: 2px;
  height: 48px;
}

.demo-brick-stack i {
  width: 18px;
  height: 12px;
  border-radius: 2px;
  background: var(--guide-orange);
  box-shadow: 0 -14px 0 #fb923c;
}

.demo-worker {
  display: grid;
  place-items: center;
  width: 36px;
  height: 54px;
  border-radius: 18px 18px 6px 6px;
  background: #facc15;
  color: #172033;
}

.demo-progress {
  height: 6px;
  overflow: hidden;
  border-radius: 99px;
  margin: 16px 14px 0;
  background: #e2e8f0;
}

.demo-progress i {
  display: block;
  width: 78%;
  height: 100%;
  border-radius: inherit;
  background: var(--guide-orange);
}

.demo-platform-card {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  margin: 14px;
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 11px;
  background: #ffffff;
}

.demo-platform-card.is-selected {
  border-color: #fdba74;
  background: #fff7ed;
}

.demo-platform-card > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #e2e8f0;
  font-size: 1rem;
}

.demo-platform-card strong,
.demo-platform-card small {
  display: block;
}

.demo-platform-card strong {
  font-size: 0.68rem;
}

.demo-platform-card small {
  margin-top: 3px;
  color: #64748b;
  font-size: 0.55rem;
}

.demo-platform-card > b {
  color: #c2410c;
  font-size: 0.6rem;
}

.demo-consent-list span {
  display: grid;
  gap: 4px;
}

.demo-consent-list b {
  color: #172033;
  font-size: 0.56rem;
  text-transform: uppercase;
}

.demo-danger-card {
  margin: 20px 14px;
  padding: 16px;
  border: 1px solid #fecaca;
  border-radius: 11px;
  background: #fef2f2;
  color: #991b1b;
}

.demo-danger-card strong {
  font-size: 0.74rem;
}

.demo-danger-card p {
  margin-top: 8px;
  font-size: 0.62rem;
  line-height: 1.55;
}

.demo-delete-field {
  display: grid;
  gap: 7px;
  margin: 14px;
}

.demo-delete-field span {
  color: #64748b;
  font-size: 0.6rem;
}

.demo-delete-field b {
  min-height: 42px;
  padding: 12px;
  border: 1px solid #fca5a5;
  border-radius: 9px;
  background: #ffffff;
  color: #991b1b;
  letter-spacing: 0.12em;
}

.guide-step-copy {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.guide-step-number {
  margin-bottom: 18px;
  color: #fdba74;
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.guide-step-copy h3 {
  max-width: 540px;
  color: var(--guide-copy);
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.guide-step-copy > p:not(.guide-step-number):not(.guide-keyboard-hint) {
  max-width: 570px;
  margin-top: 22px;
  color: var(--guide-muted);
  font-size: 1.02rem;
  line-height: 1.72;
}

.guide-step-note {
  display: grid;
  gap: 7px;
  max-width: 570px;
  margin-top: 24px;
  padding: 16px 18px;
  border-left: 3px solid var(--guide-orange);
  background: rgba(249, 115, 22, 0.08);
}

.guide-step-note strong {
  color: #fdba74;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.guide-step-note span {
  color: #d7deea;
  font-size: 0.88rem;
  line-height: 1.6;
}

.guide-step-controls {
  display: flex;
  gap: 10px;
  margin-top: 30px;
}

.guide-control {
  padding: 0 18px;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 850;
}

.guide-control-primary {
  background: var(--guide-orange);
  color: #111827;
}

.guide-control-primary:hover {
  background: var(--guide-orange-dark);
  color: #ffffff;
}

.guide-control-secondary {
  border: 1px solid var(--guide-line);
  background: transparent;
  color: var(--guide-copy);
}

.guide-control:disabled {
  opacity: 0.36;
  cursor: not-allowed;
}

.guide-keyboard-hint {
  margin-top: 14px;
  color: #738198;
  font-size: 0.78rem;
}

.guide-copy-status {
  min-height: 22px;
  margin-top: 4px;
  color: #fdba74;
  font-size: 0.78rem;
  font-weight: 750;
  text-align: right;
}

.guide-truth-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 0 0 48px;
  border-bottom: 1px solid var(--guide-line);
}

.guide-truth-strip article {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  padding: 22px;
  border-right: 1px solid var(--guide-line);
}

.guide-truth-strip article:last-child {
  border-right: 0;
}

.guide-truth-strip article > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(249, 115, 22, 0.12);
  color: #fdba74;
  font-weight: 900;
}

.guide-truth-strip strong {
  color: var(--guide-copy);
  font-size: 0.88rem;
}

.guide-truth-strip p {
  margin-top: 5px;
  color: var(--guide-muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

.guide-editorial-note {
  margin: 42px 0;
}

.guide-editorial-note h2 {
  font-size: 1.15rem;
}

.guide-editorial-note p {
  color: #fed7aa;
  font-size: 0.84rem;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .guide-library-grid {
    grid-template-columns: 1fr;
  }

  .guide-stage {
    grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1fr);
    gap: 34px;
  }

  .guide-step-copy h3 {
    font-size: clamp(1.8rem, 4.8vw, 3rem);
  }
}

@media (max-width: 700px) {
  .guide-section-heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .guide-library {
    padding: 38px 0;
  }

  .guide-library-card {
    grid-template-columns: 44px minmax(0, 1fr) 18px;
    gap: 13px;
    min-height: 0;
    padding: 19px 16px;
  }

  .guide-card-icon {
    width: 44px;
    height: 44px;
  }

  .guide-player-shell {
    padding: 24px 18px;
    margin: 38px 0;
  }

  .guide-player-topline {
    display: grid;
    gap: 18px;
  }

  .guide-copy-link {
    width: max-content;
  }

  .guide-stage {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 42px;
    padding-top: 30px;
  }

  .guide-phone {
    width: min(310px, calc(100vw - 74px));
    height: 620px;
    border-radius: 42px;
  }

  .guide-step-copy {
    min-height: 0;
    padding-bottom: 6px;
  }

  .guide-step-copy h3 {
    font-size: clamp(2rem, 10vw, 3.1rem);
  }

  .guide-truth-strip {
    grid-template-columns: 1fr;
  }

  .guide-truth-strip article {
    border-right: 0;
    border-bottom: 1px solid var(--guide-line);
  }

  .guide-truth-strip article:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 390px) {
  .guide-library-card {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .guide-card-arrow {
    display: none;
  }

  .guide-player-shell {
    padding: 22px 14px;
  }

  .guide-phone {
    width: min(292px, calc(100vw - 64px));
    height: 584px;
    padding: 11px;
    border-radius: 38px;
  }

  .guide-phone-screen {
    border-radius: 29px;
  }

  .guide-phone-speaker {
    top: 20px;
  }

  .demo-app-header {
    min-height: 66px;
    padding-top: 18px;
  }

  .demo-capture-copy {
    min-height: 278px;
  }

  .guide-step-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .guide-control {
    padding: 0 10px;
  }
}

@media (max-width: 350px) {
  .guide-step-tabs {
    display: grid;
    grid-template-columns: repeat(3, 44px);
    justify-content: space-between;
    min-height: 96px;
    overflow: visible;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .guide-library-card,
  .guide-progress-track span {
    transition: none;
  }

  .guide-library-card:hover,
  .guide-library-card.is-active {
    transform: none;
  }
}
