.onboarding-page {
  --ink: #24272d;
  --muted: #62676e;
  --blue: #2859e8;
  --blue-dark: #1644c9;
  --line: #dedfd9;
  --paper: #fff;
  --canvas: #f7f7f2;
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.onboarding *, .onboarding *::before, .onboarding *::after { box-sizing: border-box; }
.onboarding [hidden] { display: none !important; }
.onboarding button, .onboarding input { font: inherit; }
.onboarding button { cursor: pointer; }
.onboarding button:disabled { cursor: not-allowed; }
.onboarding a { color: var(--blue); text-underline-offset: 3px; }
.onboarding button, .onboarding a, .onboarding input, .onboarding summary {
  -webkit-tap-highlight-color: transparent;
}
.onboarding :is(a, button, input, summary):focus-visible {
  outline: 3px solid #4973f5;
  outline-offset: 4px;
}
.onboarding :where(h1, h2, h3, p) { margin-top: 0; }
.onboarding h1, .onboarding h2, .onboarding h3 { color: var(--ink); }
.onboarding h1:focus { outline: none; }

.site-header {
  width: min(1160px, calc(100% - 64px));
  height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
  border-bottom: 1px solid var(--line);
}
.wordmark { display: inline-flex; gap: 10px; align-items: center; color: var(--ink) !important; text-decoration: none; }
.wordmark img { display: block; width: 170px; height: auto; }
.header-note { margin: 3px 0 0; font-size: 13px; color: var(--muted); }
.text-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 0;
  border: 0;
  background: none;
  color: var(--blue);
  font-size: 13px;
  font-weight: 650;
}
.text-button:hover { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 4px; }
.onboarding-main { width: min(1100px, calc(100% - 64px)); margin: 0 auto; }
.step-navigation { margin: 28px 0 39px; }
.step-navigation ol { display: flex; margin: 0; padding: 0; list-style: none; }
.step-navigation li { position: relative; flex: 1; }
.step-navigation li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 21px;
  left: 148px;
  right: 25px;
  height: 1px;
  background: #d8dbd7;
}
.step-navigation .step-label {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  padding: 0 8px 0 0;
  border: 0;
  background: var(--canvas);
  color: #757b81;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}
.step-number {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid #d6d9d5;
  border-radius: 50%;
  color: #6d7479;
  font-size: 12px;
  font-weight: 700;
  background: #f0f1eb;
}
.step-navigation li[data-complete="true"] .step-label { color: #3c6457; }
.step-navigation li[data-complete="true"] .step-number { background: #e1eee5; color: #2e6350; border-color: #c9dfd1; }
.step-navigation li[aria-current="step"] .step-label { color: var(--blue); }
.step-navigation li[aria-current="step"] .step-number { color: #fff; border-color: var(--blue); background: var(--blue); box-shadow: 0 3px 7px #2859e824; }
.page-intro { margin-bottom: 30px; }
.eyebrow { display: inline-block; margin-bottom: 12px; color: var(--blue); font-size: 13px; font-weight: 650; letter-spacing: .4px; }
.page-intro h1 { margin: 0 0 17px; font-size: 46px; font-weight: 800; line-height: 1.25; letter-spacing: -1.8px; }
.marker-text { position: relative; z-index: 0; display: inline; white-space: nowrap; }
.marker-text::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -3px;
  right: -4px;
  bottom: 2px;
  height: 12px;
  border-radius: 1px 5px 4px 2px;
  background: #f6e989;
  transform: rotate(-1deg);
}
.page-intro > p { margin-bottom: 0; font-size: 15px; color: #555c63; line-height: 1.8; }
.onboarding-grid { display: grid; grid-template-columns: 1fr .85fr; gap: 66px; align-items: start; }
.paper-card {
  min-width: 0;
  padding: 30px 32px;
  border: 1px solid #e1e2db;
  border-radius: 20px;
  background: var(--paper);
  box-shadow: 0 3px 0 #e8e9e2, 0 12px 35px #24272d04;
}
.small-label { display: inline-block; margin-bottom: 7px; font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: 1px; }
.card-heading { margin-bottom: 24px; }
.card-heading h2 { margin-bottom: 6px; font-size: 23px; line-height: 1.45; font-weight: 750; letter-spacing: -.6px; }
.card-heading p { margin-bottom: 0; color: var(--muted); font-size: 13px; }
.field { min-width: 0; margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; margin-bottom: 7px; color: #353b43; font-size: 13px; font-weight: 650; }
.field input, .copy-field input {
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 11px 13px;
  border: 1px solid #cfd3d8;
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  box-shadow: 0 1px 2px #24272d04;
  transition: border-color 120ms, box-shadow 120ms;
}
.field input::placeholder { color: #8a8f95; opacity: 1; }
.field input:hover { border-color: #969fa9; }
.field input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px #2859e812; }
.field input[aria-invalid="true"] { border-color: #bc3942; background: #fffafa; }
.field-hint { display: block; margin: 7px 0 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.field-error { margin: -3px 0 16px; color: #a42632; font-size: 13px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.5;
  transition: background 120ms, box-shadow 120ms, transform 120ms;
}
.button-primary { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 3px 0 #153eb91f; }
.button-primary:hover:not(:disabled) { background: var(--blue-dark); border-color: var(--blue-dark); box-shadow: 0 4px 12px #2859e82e; }
.button-primary:active:not(:disabled) { transform: translateY(1px); }
.button-secondary { background: #f1f5ff; border-color: #c8d6fb; color: #244ac4; }
.button-secondary:hover:not(:disabled) { background: #e8efff; border-color: #8ca8ef; }
.button-wide { width: 100%; }
.onboarding a.button-primary { color: #fff; text-decoration: none; }
.button:disabled { background: #e9edf2; color: #757d87; border-color: #dbe0e6; box-shadow: none; }
.form-footnote { margin: 12px 0 0; color: var(--muted); font-size: 11px; text-align: center; }
.telegram-login { padding: 8px 0 3px; text-align: center; }
.telegram-signin-mark { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; color: var(--blue); background: #edf2ff; }
.telegram-signin-mark svg { width: 34px; height: 34px; margin-right: 3px; }
.telegram-login h3 { margin-bottom: 10px; font-size: 19px; letter-spacing: -.4px; }
.telegram-login > p:not(.form-footnote):not(.telegram-setup-status) { max-width: 320px; margin: 0 auto 24px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.telegram-login-form { margin: 0; }
.telegram-setup-status { margin: 14px 0 0; padding: 12px; border: 1px solid #e5dcc1; border-radius: 8px; color: #706342; background: #fbf8ee; font-size: 11px; line-height: 1.7; }
.login-notice { margin: 0 0 20px; padding: 13px 15px; border: 1px solid #e1ceca; border-radius: 9px; color: #85433b; background: #fcf5f3; font-size: 12px; line-height: 1.8; }
.telegram-identity { display: flex; align-items: center; gap: 13px; margin-bottom: 25px; padding: 16px; border: 1px solid #cfe0d7; border-radius: 11px; background: #f4f9f5; }
.telegram-identity-avatar { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; color: #fff; background: var(--blue); }
.telegram-identity-avatar svg { width: 24px; height: 24px; margin-right: 2px; }
.telegram-identity-details { min-width: 0; }
.telegram-identity-details strong { display: block; font-size: 14px; overflow-wrap: anywhere; }
.identity-badge { display: block; margin-bottom: 3px; color: #427353; font-size: 10px; font-weight: 600; }
.identity-username { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
.telegram-identity > form { flex-shrink: 0; margin: 0 0 0 auto; }
.identity-signout { font-size: 11px !important; white-space: nowrap; }
.team-selection-intro { margin-top: 38px; }
.team-selection-card { max-width: 760px; }
.team-list { margin: 0 0 24px; padding: 0; list-style: none; }
.team-list li + li { margin-top: 12px; }
.team-choice { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 82px; padding: 17px 18px; border: 1px solid #dce1e8; border-radius: 10px; text-decoration: none; }
.team-choice:hover { border-color: #97aff5; background: #f5f7ff; }
.team-choice strong { display: block; color: var(--ink); font-size: 16px; overflow-wrap: anywhere; }
.team-choice small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }
.team-choice > span:last-child { flex-shrink: 0; }
.creation-conflict { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 20px; }
.creation-conflict .text-button { text-align: left; overflow-wrap: anywhere; }
.team-created { display: flex; align-items: center; gap: 12px; margin: 0 0 26px; padding: 16px; border: 1px solid #cde4d7; border-radius: 10px; background: #f1f9f3; }
.team-created strong { display: block; color: #28583c; font-size: 14px; }
.team-created small { display: block; margin-top: 3px; color: #5f7868; font-size: 12px; overflow-wrap: anywhere; }
.setup-pending { margin-bottom: 22px; padding: 14px 16px; border: 1px solid #e5dcc1; border-radius: 10px; background: #fbf8ee; color: #706342; font-size: 12px; line-height: 1.8; }
.bot-reply-result strong, .bot-reply-result small { display: block; }
.bot-reply-result small { margin-top: 3px; font-size: 12px; }
.field input:disabled { background: #f3f4f5; color: #757d87; cursor: not-allowed; }
.team-navigation { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 15px; }
.welcome-aside { min-width: 0; padding: 4px 5px 0; }
.annotation {
  display: block;
  margin: 0 0 17px 18px;
  color: #49564f;
  font-family: Georgia, serif;
  font-size: 20px;
  font-style: italic;
  transform: rotate(-4deg);
}
.chat-mockup { width: 100%; max-width: 420px; margin: 0 auto; }
.chat-mockup figcaption { margin-top: 13px; color: var(--muted); font-size: 10px; text-align: center; }
.aside-caption { display: flex; align-items: center; justify-content: center; gap: 15px; margin-top: 24px; }
.caption-star { color: var(--blue); font-size: 42px; font-weight: 300; line-height: 1; transform: rotate(9deg); }
.aside-caption p { margin: 0; color: #687067; font-size: 13px; line-height: 1.8; }
.aside-caption strong { color: #34403a; font-weight: 600; }
.help-disclosure { margin: -2px 0 25px; padding: 14px 16px; border: 1px solid #dce3f3; border-radius: 10px; background: #f6f8fe; }
.help-disclosure summary { cursor: pointer; color: #3658ad; font-size: 13px; font-weight: 600; }
.help-disclosure summary span { margin-left: 5px; }
.help-disclosure ol { margin: 14px 0 0; padding-left: 20px; color: #555e6b; font-size: 12px; line-height: 1.8; }
.help-disclosure li + li { margin-top: 6px; }
.help-disclosure code { padding: 2px 4px; border-radius: 3px; background: #e9edf8; font-size: 11px; }
.label-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 7px; }
.label-row label { margin: 0; }
.label-row .text-button { min-height: 25px; padding: 0; font-size: 11px; }
.back-button { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; min-height: 44px; margin-top: 12px; padding: 8px; border: 0; background: none; font-size: 12px; color: var(--muted); text-decoration: none; }
.back-button:hover { color: var(--blue); }
.connection-result { display: flex; gap: 11px; align-items: center; margin: 20px 0 15px; padding: 17px; border: 1px solid #cde4d7; border-radius: 10px; background: #f1f9f3; }
.result-check { display: grid; place-items: center; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: #daf0df; color: #28774a; font-size: 18px; }
.connection-result strong { font-size: 13px; color: #28583c; }
.connection-result p { margin: 2px 0 0; color: #5f7868; font-size: 11px; overflow-wrap: anywhere; }
.demo-tag { margin-left: auto; padding: 2px 7px; border: 1px solid #c8dfcf; border-radius: 6px; color: #577664; font-size: 10px; white-space: nowrap; }
.note-aside { padding: 29px 15px 0; text-align: center; }
.note-aside > h2 { margin-bottom: 12px; font-size: 25px; letter-spacing: -.6px; }
.note-aside > p { color: #626c65; font-size: 14px; line-height: 1.9; }
.note-illustration { position: relative; display: grid; place-items: center; width: 170px; height: 145px; margin: 0 auto 28px; }
.note-illustration::before { position: absolute; content: ""; inset: 24px 22px 0; border-radius: 38% 48% 43% 53%; background: #e4eadb; transform: rotate(-15deg); }
.note-illustration img { position: relative; transform: rotate(-7deg); }
.illustration-bubble { position: absolute; z-index: 1; top: -7px; left: 8px; padding: 5px 15px; border: 1.5px solid #393e38; border-radius: 17px 17px 17px 3px; background: #fff; font-family: "Georgia", serif; font-size: 20px; font-style: italic; transform: rotate(-9deg); }
.illustration-spark { position: absolute; top: 20px; right: -3px; font-size: 32px; line-height: 1; color: var(--blue); }
.quiet-note { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 28px; }
.quiet-note > span { color: #769276; font-size: 34px; }
.quiet-note p { margin: 0; color: #657066; font-size: 12px; line-height: 1.9; text-align: left; }
.staff-options { margin: 0 0 23px; padding: 0; border: 0; }
.staff-options legend { padding: 0; margin-bottom: 13px; font-size: 18px; font-weight: 700; }
.staff-option { display: flex; gap: 12px; align-items: center; min-height: 77px; padding: 14px; border: 1px solid #dce0e3; border-radius: 11px; cursor: pointer; }
.staff-option + .staff-option { margin-top: 10px; }
.staff-option:has(input:checked) { border-color: #97aff5; background: #f5f7ff; }
.staff-option:hover { border-color: #97aff5; }
.staff-option input, .permission-confirmation input { width: 18px; height: 18px; margin: 0; flex-shrink: 0; accent-color: var(--blue); }
.staff-option strong { display: block; font-size: 14px; }
.staff-option small { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; }
.staff-option > span:last-child { margin-left: auto; color: #8995af; }
.staff-instructions { margin-bottom: 19px; }
.staff-instructions h3 { margin-bottom: 7px; font-size: 15px; }
.staff-instructions > p { margin-bottom: 13px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.copy-field { display: flex; align-items: stretch; min-width: 0; padding: 4px; border: 1px solid #d7dcdf; border-radius: 10px; background: #f8f9fa; }
.copy-field input { flex: 1; min-width: 0; height: 42px; padding: 9px 8px; background: transparent; border: 0; box-shadow: none; font-size: 11px; color: #414c60; }
.copy-button { min-height: 42px; padding: 8px 12px; border: 1px solid #d7dcdf; border-radius: 7px; background: #fff; color: #294cac; font-size: 11px !important; font-weight: 600; white-space: nowrap; }
.copy-button:hover { background: #eff3ff; border-color: #a6b8e4; }
.staff-state { display: flex; align-items: center; gap: 8px; margin: 17px 0; padding: 12px 13px; border-radius: 8px; background: #f4f4ed; color: #6b6958; font-size: 12px; }
.waiting-dot { width: 7px; height: 7px; border-radius: 50%; background: #ba9d50; }
.staff-state.is-ready { background: #eef8f0; color: #347348; }
.staff-state.is-ready .waiting-dot { background: #408659; }
.permission-confirmation { display: flex; align-items: flex-start; gap: 10px; margin: 20px 0; cursor: pointer; }
.permission-confirmation input { margin-top: 2px; }
.permission-confirmation span { color: #525b64; font-size: 12px; line-height: 1.8; }
.permission-confirmation:has(input:disabled) { cursor: not-allowed; }
.permission-confirmation:has(input:disabled) span { color: #80868d; }
.staff-aside { padding-top: 28px; }
.sticky-note { position: relative; max-width: 320px; margin: 0 auto 27px; padding: 37px 27px 32px; background: #fbefa4; box-shadow: 2px 8px 0 #e8e6d8, 0 14px 28px #574e1710; transform: rotate(2deg); text-align: left; }
.sticky-note-pin { position: absolute; width: 76px; height: 22px; top: -10px; left: calc(50% - 38px); background: #d6dfc7c9; transform: rotate(-7deg); }
.sticky-note .small-label { color: #706b47; }
.sticky-note h2 { margin: 8px 0 24px; color: #45412d; font-size: 32px; line-height: 1.4; font-weight: 800; letter-spacing: -1px; }
.sticky-note ul { margin: 0; padding: 0; list-style: none; }
.sticky-note li { display: flex; gap: 9px; margin-top: 11px; font-size: 12px; color: #58553e; }
.sticky-note li span { color: #4d6f38; font-weight: 700; }
.aside-small-print { margin: 0; font-size: 12px !important; color: #697065 !important; }
.completion { padding: 6px 0 0; text-align: center; }
.completion .page-intro { margin-bottom: 25px; }
.completion .page-intro h1 { font-size: 40px; overflow-wrap: anywhere; }
.completion .marker-text { white-space: normal; }
.completion-mark { position: relative; display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 22px; border-radius: 50%; background: #daeccc; color: #376348; font-size: 35px; font-weight: 650; transform: rotate(-6deg); }
.completion-mark > span { position: absolute; right: -18px; top: -8px; color: var(--blue); font-size: 25px; }
.completion-card { max-width: 710px; margin: 0 auto; padding: 32px 38px; }
.completion-card > h2 { margin: 2px 0 8px; font-size: 24px; }
.completion-card > p { margin-bottom: 23px; color: var(--muted); font-size: 13px; }
.customer-link { padding: 6px; background: #f7f9ff; border-color: #cdd8f2; }
.customer-link input { height: 44px; font-size: 14px; }
.customer-link .copy-button { padding: 10px 16px; }
.completion-checklist { display: flex; justify-content: center; gap: 26px; padding: 0; margin: 24px 0 28px; list-style: none; color: #526650; font-size: 12px; }
.completion-checklist span { margin-right: 4px; color: #35814a; }
.optional-group { margin-top: 29px; padding-top: 22px; border-top: 1px solid #e8e9e3; text-align: left; }
.optional-group summary { cursor: pointer; color: #59635c; font-size: 12px; }
.optional-group p { margin: 12px 0 0; color: var(--muted); font-size: 12px; line-height: 1.9; }
.optional-label { margin-left: 9px; padding: 2px 7px; border-radius: 5px; color: #63705d; background: #edf1e8; font-size: 10px; }
.completion-tip { margin: 22px 0 6px; color: var(--muted); font-size: 12px; }
.page-footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin: 48px 0 0; padding: 22px 0 28px; border-top: 1px solid var(--line); font-size: 11px; color: #737a71; }
.footer-flow { display: flex; align-items: center; gap: 14px; }
.footer-flow > span[aria-hidden] { color: #959f8e; }
.footer-signoff { font-family: Georgia, serif; font-size: 14px; font-style: italic; color: #626b5d; white-space: nowrap; }
.workspace-dialog { width: min(480px, calc(100% - 32px)); padding: 27px 29px; border: 1px solid #dfdfd8; border-radius: 18px; color: var(--ink); background: #fff; box-shadow: 0 24px 100px #1e28352e; }
.workspace-dialog::backdrop { background: #2029385c; backdrop-filter: blur(3px); }
.dialog-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 14px; }
.dialog-heading .small-label { margin: 0; }
.dialog-close { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: #f1f2ee; color: #6b736a; font-size: 28px !important; }
.dialog-close:hover { background: #e8ece3; }
.workspace-dialog h2 { margin-bottom: 5px; font-size: 25px; overflow-wrap: anywhere; }
.dialog-subtitle { margin-bottom: 23px; color: var(--muted); font-size: 13px; }
.summary-row { display: flex; justify-content: space-between; gap: 18px; padding: 14px 0; border-top: 1px solid #e9ece5; font-size: 12px; }
.summary-row > span { flex-shrink: 0; color: var(--muted); }
.summary-row strong { text-align: right; font-weight: 550; overflow-wrap: anywhere; }
.dialog-note { margin: 18px 0 23px; padding: 14px; border-radius: 9px; background: #f5f6f1; font-size: 12px; color: #626a61; }
.toast { position: fixed; z-index: 20; bottom: 25px; left: 50%; max-width: calc(100% - 32px); padding: 12px 20px; border-radius: 10px; color: #fff; background: #2f3931; font-size: 13px; text-align: center; box-shadow: 0 5px 25px #242d3624; transform: translateX(-50%); }
.skip-link { position: absolute; z-index: 100; top: -80px; left: 20px; padding: 12px 16px; border-radius: 0 0 10px 10px; background: var(--blue); color: #fff !important; font-size: 13px; text-decoration: none; }
.skip-link:focus { top: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.noscript-message { margin: 25px 0; padding: 16px; border: 1px solid #dbc674; border-radius: 8px; background: #fbf3d4; color: #635822; font-size: 13px; }

@media (max-width: 1000px) {
  .onboarding-grid { gap: 32px; }
  .paper-card { padding: 28px; }
  .step-navigation li:not(:last-child)::after { right: 14px; left: 139px; }
  .header-note { font-size: 12px; }
  .page-intro h1 { font-size: 42px; }
  .welcome-aside { padding-top: 16px; }
  .annotation { font-size: 18px; margin-left: 6px; }
  .sticky-note { padding: 34px 22px 28px; }
  .footer-flow { gap: 10px; }
}

@media (max-width: 760px) {
  .site-header { width: calc(100% - 36px); height: 76px; gap: 14px; }
  .wordmark { gap: 8px; }
  .wordmark img { width: 146px; height: auto; }
  .header-note { display: none; }
  .onboarding-main { width: calc(100% - 36px); }
  .step-navigation { margin: 20px 0 30px; }
  .step-navigation li { display: flex; justify-content: center; }
  .step-navigation .step-label { flex-direction: column; gap: 7px; min-height: 65px; padding: 0; background: none; font-size: 11px; }
  .step-number { width: 34px; height: 34px; font-size: 10px; }
  .step-navigation li:not(:last-child)::after { top: 16px; left: calc(50% + 22px); right: calc(-50% + 22px); }
  .page-intro { margin-bottom: 26px; }
  .eyebrow { margin-bottom: 10px; font-size: 11px; }
  .page-intro h1 { margin-bottom: 14px; font-size: 35px; line-height: 1.3; letter-spacing: -1.2px; }
  .marker-text::after { height: 9px; bottom: 1px; }
  .page-intro > p { max-width: 400px; font-size: 12px; line-height: 1.85; }
  .onboarding-grid { grid-template-columns: 1fr; gap: 32px; }
  .paper-card { padding: 26px 24px; border-radius: 17px; }
  .card-heading { margin-bottom: 21px; }
  .card-heading h2 { font-size: 21px; }
  .card-heading p { font-size: 12px; }
  .field { margin-bottom: 18px; }
  .field-row { gap: 14px; }
  .field input { font-size: 16px; }
  .form-footnote { font-size: 10px; }
  .telegram-identity { flex-wrap: wrap; gap: 11px; padding: 14px; }
  .telegram-identity > form { flex-basis: 100%; margin-left: 0; }
  .identity-signout { min-height: 32px; margin-left: 55px; padding: 3px 0; }
  .telegram-login h3 { font-size: 18px; }
  .telegram-login > p:not(.form-footnote):not(.telegram-setup-status) { font-size: 12px; }
  .welcome-aside { width: min(390px, calc(100% - 12px)); margin: 0 auto; padding: 0; }
  .annotation { margin: 0 0 16px 13px; font-size: 18px; }
  .aside-caption { margin-top: 20px; }
  .note-aside { padding: 18px 10px 0; }
  .note-illustration { margin-bottom: 22px; }
  .note-aside > h2 { font-size: 23px; }
  .note-aside > p { font-size: 13px; }
  .quiet-note { margin-top: 18px; }
  .staff-aside { padding-top: 15px; }
  .sticky-note { max-width: 295px; padding: 34px 26px 28px; }
  .sticky-note h2 { font-size: 30px; }
  .completion .page-intro h1 { font-size: 32px; }
  .completion-mark { width: 60px; height: 60px; margin-bottom: 22px; }
  .completion-card { padding: 27px 23px; }
  .completion-card > h2 { font-size: 22px; }
  .completion-card > p { font-size: 12px; }
  .customer-link input { padding-left: 5px; font-size: 11px; }
  .customer-link .copy-button { padding: 8px 10px; }
  .completion-checklist { gap: 13px; font-size: 10px; flex-wrap: wrap; }
  .completion-tip { font-size: 11px; line-height: 1.8; }
  .optional-group summary { font-size: 11px; }
  .page-footer { flex-direction: column; gap: 13px; margin-top: 36px; padding: 21px 0 25px; }
  .footer-flow { gap: 8px; font-size: 9px; }
  .footer-signoff { font-size: 13px; }
  .workspace-dialog { padding: 23px; }
}

@media (max-width: 420px) {
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .page-intro h1 { font-size: 32px; letter-spacing: -1.1px; }
  .paper-card { padding: 23px 21px; }
  .marker-text { white-space: normal; }
  .label-row .text-button { font-size: 10px; }
  .footer-flow { gap: 6px; font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .onboarding *, .onboarding *::before, .onboarding *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
.managed-bot-candidate {
  border-top: 1px solid var(--line, #e2e5df);
  margin-top: 1.5rem;
  padding-top: 1.5rem;
}
