#productTour { min-width: 0; color: var(--text); }
#productTour *, #productTour *::before, #productTour *::after { box-sizing: border-box; }
#productTour button, #productTour input, #productTour textarea { font: inherit; }
#productTour button { cursor: pointer; }
#productTour button:focus-visible, #productTour input:focus-visible, #productTour textarea:focus-visible, #productTour [tabindex]:focus-visible { outline: 3px solid var(--primary); outline-offset: 4px; }
#productTour h3, #productTour h4, #productTour p { margin: 0; }
.tour-role-selector { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0 0 14px; }
.tour-role-selector button { border: 1px solid var(--line); background: var(--surface); color: var(--muted); border-radius: 999px; padding: 12px 21px; min-height: 46px; line-height: 1.4; font-size: 14px; font-weight: 650; transition: background .15s, border-color .15s, color .15s; }
.tour-role-selector button:hover { color: var(--text); border-color: var(--control-line); }
.tour-role-selector button[aria-selected="true"] { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.tour-role-description { text-align: center; color: var(--muted); font-size: 15px; line-height: 1.55; max-width: 680px; margin: 0 auto 24px !important; }
.tour-shell { display: grid; grid-template-columns: 176px minmax(0,1fr); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface); box-shadow: 0 24px 64px -38px rgba(43,21,42,.32); text-align: left; }
.tour-shell > *, .tour-main > *, .tour-admin-layout > *, .tour-operator-layout > *, .tour-manager-layout > * { min-width: 0; }
.tour-icon { width: 20px; height: 20px; flex: 0 0 auto; display: inline-block; vertical-align: middle; }
.tour-sidebar { background: #2d1938; color: #fff3fa; padding: 25px 14px 20px; display: flex; flex-direction: column; min-height: 570px; }
html[data-theme="dark"] .tour-sidebar { background: #150d1c; }
.tour-brand { display: flex; align-items: center; gap: 5px; font-size: 25px; font-weight: 760; letter-spacing: -1px; padding: 0 5px 22px; }
.tour-brand-mark { color: #ff90b7; font-size: 30px; line-height: 1; }
.tour-brand-label { font-size: 10px; font-weight: 500; letter-spacing: .06em; align-self: flex-end; margin-bottom: 6px; margin-left: 1px; color: #cebbd2; }
.tour-workspace { display: flex; gap: 8px; align-items: center; border: 1px solid #654b6b; padding: 11px 8px; border-radius: 10px; margin-bottom: 25px; }
.tour-workspace > span:last-child { min-width: 0; }
.tour-workspace strong, .tour-workspace small { display: block; }
.tour-workspace strong { font-size: 12px; line-height: 1.5; }
.tour-workspace small { font-size: 10px; line-height: 1.5; margin-top: 2px; color: #cebbd2; }
.tour-workspace-icon { display: grid; place-items: center; flex: 0 0 29px; height: 29px; background: #563c5b; color: #fff3fa; border-radius: 7px; font-size: 11px; font-weight: 700; }
.tour-nav-label { color: #cebbd2; font-size: 10px; letter-spacing: .1em; font-weight: 600; padding: 0 10px; margin-bottom: 10px; }
.tour-nav { display: grid; gap: 5px; }
.tour-nav-item { display: flex; gap: 9px; align-items: center; padding: 11px 10px; font-size: 12px; font-weight: 500; color: #cebbd2; border-radius: 8px; }
.tour-nav-item .tour-icon { width: 16px; height: 16px; }
.tour-nav-active { background: #53334f; color: #fff3fa; }
.tour-nav-active .tour-icon { color: #ff90b7; }
.tour-sidebar-foot { display: flex; align-items: flex-start; gap: 8px; margin-top: auto; padding: 32px 5px 0; color: #cebbd2; font-size: 11px; line-height: 1.65; }
.tour-sidebar-foot .tour-icon { height: 14px; width: 14px; margin-top: 1px; }
.tour-main { padding: 20px 24px 24px; background: var(--bg); }
.tour-preview-note { display: flex; gap: 7px; align-items: center; color: var(--muted); font-size: 11px; line-height: 1.5; margin-bottom: 24px; }
.tour-preview-dot { height: 5px; width: 5px; border-radius: 50%; background: var(--pink); flex: 0 0 auto; }
.tour-main-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 23px; flex-wrap: wrap; }
.tour-breadcrumb { display: block; color: var(--muted); font-size: 11px; line-height: 1.5; margin-bottom: 6px; }
.tour-main-header h3 { font-size: 24px; line-height: 1.25; letter-spacing: -.04em; font-weight: 650; overflow-wrap: anywhere; }
.tour-heading-detail { font-size: 13px; font-weight: 450; letter-spacing: 0; color: var(--muted); display: inline-block; padding-left: 7px; }
.tour-badge { display: inline-flex; align-items: center; flex-shrink: 0; padding: 5px 8px; border: 1px solid var(--line); background: var(--surface-2); color: var(--muted); font-size: 10px; line-height: 1.45; border-radius: 6px; font-weight: 550; }
.tour-badge-warning { background: var(--warning-bg); color: var(--warning); border-color: transparent; }
.tour-badge-success { background: var(--success-bg); color: var(--success); border-color: transparent; }
.tour-admin-layout { display: grid; grid-template-columns: minmax(0,1fr) 200px; gap: 18px; align-items: start; }
.tour-editor { border-radius: 10px; border: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.tour-steps { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 3px; padding: 14px 9px 0; border-bottom: 1px solid var(--line); }
.tour-step { padding: 5px 2px 13px; border: 0; background: transparent; border-bottom: 2px solid transparent; color: var(--muted); display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 7px; min-height: 70px; }
.tour-step span { height: 22px; width: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line); font-size: 11px; font-weight: 600; }
.tour-step b { font-size: 10px; line-height: 1.4; font-weight: 500; overflow-wrap: anywhere; }
.tour-step-active { border-bottom-color: var(--primary); color: var(--primary); }
.tour-step-active span { color: var(--on-primary); background: var(--primary); border-color: var(--primary); }
.tour-step-panel { min-height: 302px; padding: 21px 20px; }
.tour-step-copy { margin-bottom: 20px; }
.tour-step-copy h4 { font-size: 17px; line-height: 1.35; letter-spacing: -.025em; font-weight: 650; }
.tour-step-copy h4:focus { outline: none; }
.tour-step-copy p { color: var(--muted); font-size: 12px; line-height: 1.65; margin-top: 7px !important; }
.tour-field-pair { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); gap: 13px; }
.tour-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 15px; min-width: 0; }
.tour-field label, .tour-field-label { font-size: 11px; font-weight: 600; }
.tour-field input, .tour-field textarea, .tour-readonly { border: 1px solid var(--control-line); border-radius: 7px; background: var(--surface); color: var(--text); min-width: 0; width: 100%; font-size: 12px !important; line-height: 1.55; padding: 10px 11px; min-height: 41px; }
.tour-field textarea { resize: vertical; min-height: 85px; }
.tour-readonly { border-color: var(--line); background: var(--surface-2); color: var(--muted); }
.tour-field-hint { color: var(--muted); font-size: 11px; line-height: 1.6; display: block; }
.tour-editor-footer { border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; background: var(--surface); }
.tour-step-counter { color: var(--muted); font-size: 11px; line-height: 1.4; }
.tour-footer-actions { display: flex; align-items: center; gap: 7px; }
.tour-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 13px; min-height: 44px; border-radius: 8px; border: 1px solid transparent; font-size: 11px !important; line-height: 1.4; font-weight: 600 !important; text-align: center; text-decoration: none; }
.tour-btn .tour-icon { width: 14px; height: 14px; }
.tour-btn-primary { color: var(--on-primary); background: var(--primary); }
.tour-btn-primary:hover { filter: brightness(.94); }
.tour-btn-outline { color: var(--text); background: var(--surface); border-color: var(--control-line); }
.tour-btn-outline:hover, .tour-btn-quiet:hover { background: var(--surface-2); }
.tour-btn-quiet { color: var(--muted); background: transparent; }
.tour-caption { color: var(--muted); font-size: 10px; line-height: 1.5; letter-spacing: .08em; font-weight: 650; }
.tour-revisions { padding-top: 5px; }
.tour-revision-heading { margin-bottom: 15px; }
.tour-revision-heading h4 { font-size: 16px; line-height: 1.4; letter-spacing: -.03em; margin-top: 7px !important; }
.tour-revision-card { display: flex; align-items: flex-start; gap: 9px; padding: 14px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 9px; margin-bottom: 10px; }
.tour-revision-card strong { font-size: 11px; line-height: 1.5; display: block; }
.tour-revision-card p { margin-top: 5px !important; color: var(--muted); font-size: 11px; line-height: 1.55; }
.tour-revision-card small { display: block; font-size: 10px; line-height: 1.6; margin-top: 8px; color: var(--muted); }
.tour-revision-dot { height: 6px; width: 6px; border-radius: 50%; background: var(--muted); flex: 0 0 auto; margin-top: 5px; }
.tour-revision-draft { border-color: var(--primary); background: var(--soft); }
.tour-revision-draft .tour-revision-dot { background: var(--primary); }
.tour-revision-check { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 17px; font-size: 11px; }
.tour-revision-note { font-size: 11px; line-height: 1.65; color: var(--muted); margin-top: 12px !important; }
.tour-save-button { margin-top: 16px; width: 100%; }
.tour-guideline { display: flex; align-items: flex-start; gap: 10px; padding: 13px; background: var(--surface-2); border-radius: 8px; }
.tour-guideline > .tour-icon { color: var(--primary); width: 16px; height: 16px; }
.tour-guideline strong { display: block; font-size: 11px; margin-bottom: 5px; }
.tour-guideline p { color: var(--muted); font-size: 11px; line-height: 1.6; }
.tour-source { display: flex; align-items: center; gap: 11px; border: 1px solid var(--line); border-radius: 8px; padding: 12px; margin-bottom: 11px; }
.tour-source > div, .tour-source > span:not(.tour-source-icon) { min-width: 0; }
.tour-source strong { display: block; font-size: 12px; line-height: 1.4; }
.tour-source p, .tour-source small { display: block; font-size: 10px; color: var(--muted); line-height: 1.5; margin-top: 4px !important; }
.tour-source-icon { flex: 0 0 auto; color: var(--primary); }
.tour-source-icon .tour-icon { width: 19px; height: 19px; }
.tour-source .tour-badge, .tour-source input { margin-left: auto; }
.tour-source-select { cursor: pointer; }
.tour-source input, .tour-choice input { accent-color: var(--primary); width: 18px; height: 18px; flex: 0 0 18px; }
.tour-voice { display: flex; align-items: center; gap: 10px; background: var(--surface-2); border: 1px solid var(--line); padding: 13px; border-radius: 8px; margin-bottom: 17px; flex-wrap: wrap; }
.tour-voice strong { font-size: 13px; }
.tour-voice p { font-size: 10px; color: var(--muted); line-height: 1.5; margin-top: 3px !important; }
.tour-voice .tour-badge { margin-left: auto; }
.tour-voice-avatar { display: flex; align-items: center; justify-content: center; gap: 3px; width: 35px; height: 35px; background: var(--soft); border-radius: 50%; color: var(--primary); }
.tour-voice-avatar i { width: 2px; height: 8px; background: currentColor; border-radius: 9px; }
.tour-voice-avatar i:nth-child(2), .tour-voice-avatar i:nth-child(4) { height: 15px; }
.tour-voice-avatar i:nth-child(3) { height: 20px; }
.tour-choice { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 14px; cursor: pointer; padding: 3px 0; }
.tour-choice input { margin: 1px 0 0; }
.tour-choice strong { display: block; font-size: 12px; font-weight: 550; line-height: 1.5; }
.tour-choice small { font-size: 10px; display: block; line-height: 1.6; margin-top: 3px; color: var(--muted); }
.tour-summary { margin: 0; }
.tour-summary > div { display: grid; grid-template-columns: 96px minmax(0,1fr); gap: 10px; font-size: 11px; line-height: 1.6; padding: 9px 0; border-bottom: 1px solid var(--line); }
.tour-summary dt { color: var(--muted); }
.tour-summary dd { margin: 0; font-weight: 550; overflow-wrap: anywhere; }
.tour-warning { background: var(--warning-bg); color: var(--warning); border-radius: 8px; padding: 12px; margin-top: 16px; }
.tour-warning strong { font-size: 12px; line-height: 1.5; display: block; }
.tour-warning p { font-size: 11px; line-height: 1.65; margin-top: 4px !important; }
.tour-operator-layout { display: grid; grid-template-columns: 215px minmax(0,1fr); gap: 18px; align-items: start; }
.tour-inbox { background: var(--surface); border-radius: 10px; border: 1px solid var(--line); overflow: hidden; }
.tour-inbox-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 17px 13px; }
.tour-inbox-title strong { font-size: 13px; }
.tour-inbox-title > span { color: var(--muted); font-size: 10px; }
.tour-conversation { display: flex; gap: 9px; align-items: flex-start; width: 100%; background: transparent; border: 0; border-top: 1px solid var(--line); color: var(--text); padding: 15px 12px; text-align: left; }
.tour-conversation > span:nth-child(2) { min-width: 0; }
.tour-conversation strong { font-size: 11px; line-height: 1.5; display: block; }
.tour-conversation small { color: var(--muted); font-size: 10px; display: block; margin-top: 3px; line-height: 1.6; }
.tour-conversation-active { background: var(--soft); }
.tour-conversation:hover { background: var(--surface-2); }
.tour-conversation-status { font-size: 10px; color: var(--muted); display: block; margin-top: 7px; }
.tour-person-avatar { display: grid; place-items: center; flex: 0 0 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); font-size: 11px; font-weight: 600; }
.tour-selected-dot { width: 5px; height: 5px; flex: 0 0 auto; background: var(--primary); border-radius: 50%; margin: 5px 0 0 auto; }
.tour-inline-note { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); font-size: 10px; line-height: 1.65; padding: 15px 13px; border-top: 1px solid var(--line); }
.tour-inline-note > .tour-icon { width: 13px; height: 13px; margin-top: 2px; }
.tour-conversation-detail { border: 1px solid var(--line); background: var(--surface); border-radius: 10px; overflow: hidden; }
.tour-detail-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 17px 20px; border-bottom: 1px solid var(--line); }
.tour-detail-header h4 { font-size: 14px; line-height: 1.4; }
.tour-detail-header p { font-size: 10px; line-height: 1.5; color: var(--muted); margin-top: 4px !important; }
.tour-chat { display: flex; flex-direction: column; gap: 13px; padding: 20px; }
.tour-chat-message { width: 90%; padding: 11px 13px; border-radius: 10px; }
.tour-chat-message > span { font-size: 10px; font-weight: 650; display: block; margin-bottom: 6px; }
.tour-chat-message p { font-size: 12px; line-height: 1.65; }
.tour-chat-message small { display: flex; align-items: center; gap: 5px; font-size: 10px; line-height: 1.5; margin-top: 9px; color: var(--muted); }
.tour-chat-message small .tour-icon { height: 12px; width: 12px; }
.tour-chat-user { align-self: flex-end; background: var(--surface-2); border-bottom-right-radius: 2px; }
.tour-chat-agent { align-self: flex-start; background: var(--soft); border-bottom-left-radius: 2px; }
.tour-chat-agent > span { color: var(--primary); }
.tour-outcome { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); margin: 0 20px 16px; padding: 13px; border-radius: 8px; }
.tour-outcome-icon { flex: 0 0 29px; color: var(--primary); }
.tour-outcome h4 { font-size: 12px; line-height: 1.5; margin: 4px 0 !important; }
.tour-outcome p { font-size: 10px; color: var(--muted); line-height: 1.5; }
.tour-operator-actions { padding: 0 20px 20px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tour-operator-actions > span { font-size: 10px; color: var(--muted); line-height: 1.6; }
.tour-operator-actions .tour-local-result { display: flex; align-items: center; gap: 6px; color: var(--success); font-size: 12px; }
.tour-local-result .tour-icon { width: 16px; height: 16px; }
.tour-manager-intro { display: flex; align-items: flex-start; gap: 9px; margin: -5px 0 22px; color: var(--muted); }
.tour-manager-intro .tour-icon { height: 16px; width: 16px; margin-top: 1px; }
.tour-manager-intro p { font-size: 12px; line-height: 1.65; max-width: 590px; }
.tour-manager-layout { display: grid; grid-template-columns: 235px minmax(0,1fr); gap: 18px; align-items: start; }
.tour-portfolio { display: grid; gap: 11px; }
.tour-company { display: flex; align-items: flex-start; gap: 10px; border: 1px solid var(--line); border-radius: 10px; padding: 16px 13px; color: var(--text); background: var(--surface); text-align: left; width: 100%; }
.tour-company-active { border-color: var(--primary); background: var(--soft); }
.tour-company:hover { border-color: var(--control-line); }
.tour-company-icon { display: grid; place-items: center; flex: 0 0 33px; height: 33px; border-radius: 8px; color: var(--primary); background: var(--surface); border: 1px solid var(--line); font-size: 11px; font-weight: 650; }
.tour-company-body { min-width: 0; flex: 1 1 auto; }
.tour-company-body strong { font-size: 13px; line-height: 1.5; display: block; }
.tour-company-body small { display: block; color: var(--muted); font-size: 10px; line-height: 1.5; margin-top: 2px; }
.tour-company-body > span { display: block; color: var(--muted); font-size: 10px; line-height: 1.6; margin-top: 13px; }
.tour-company > .tour-icon { width: 13px; height: 13px; color: var(--muted); margin-top: 9px; }
.tour-workspace-detail { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 22px; }
.tour-company-detail-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 15px; flex-wrap: wrap; }
.tour-company-detail-top h4 { font-size: 20px; letter-spacing: -.03em; line-height: 1.3; margin-top: 5px !important; }
.tour-company-detail-top p { color: var(--muted); font-size: 11px; line-height: 1.6; margin-top: 5px !important; }
.tour-managed-agent { display: flex; align-items: center; gap: 10px; padding: 15px; margin: 21px 0 15px; background: var(--surface-2); border-radius: 8px; }
.tour-agent-avatar { flex: 0 0 34px; height: 34px; display: grid; place-items: center; background: var(--soft); color: var(--primary); border-radius: 10px; }
.tour-managed-agent strong { font-size: 13px; }
.tour-managed-agent p { color: var(--muted); font-size: 11px; line-height: 1.5; margin-top: 4px !important; }
.tour-manager-description { font-size: 12px; line-height: 1.7; color: var(--muted); }
.tour-responsibilities { margin: 18px 0; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 15px; border-top: 1px solid var(--line); padding-top: 18px; }
.tour-responsibilities strong { font-size: 11px; line-height: 1.4; display: block; }
.tour-responsibilities span { font-size: 11px; line-height: 1.6; margin-top: 6px; display: block; color: var(--muted); }
.tour-assisted-detail { border-radius: 8px; background: var(--soft); padding: 14px; margin-top: 16px; }
.tour-assisted-detail h4 { font-size: 13px; line-height: 1.5; margin: 7px 0 !important; }
.tour-assisted-detail p { font-size: 11px; line-height: 1.65; color: var(--muted); margin-bottom: 8px !important; }
.tour-assisted-detail .tour-btn { padding-left: 0; }
.tour-bottom-note { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; flex-wrap: wrap; margin-top: 15px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.tour-live-status { color: var(--primary); max-width: 520px; }
@media (max-width: 1150px) {
  .tour-shell { grid-template-columns: 158px minmax(0,1fr); }
  .tour-main { padding: 20px; }
  .tour-admin-layout { grid-template-columns: minmax(0,1fr) 176px; gap: 13px; }
  .tour-step-panel { padding: 19px 16px; }
  .tour-editor-footer { padding: 13px 16px; }
  .tour-operator-layout { grid-template-columns: 190px minmax(0,1fr); gap: 13px; }
  .tour-manager-layout { grid-template-columns: 210px minmax(0,1fr); gap: 13px; }
  .tour-sidebar { padding-left: 10px; padding-right: 10px; }
  .tour-workspace strong { font-size: 11px; }
}
@media (max-width: 950px) {
  .tour-shell { grid-template-columns: minmax(0,1fr); }
  .tour-sidebar { display: none; }
  .tour-main { padding: 24px; }
  .tour-admin-layout { grid-template-columns: minmax(0,1fr) 190px; gap: 18px; }
  .tour-manager-layout { grid-template-columns: 220px minmax(0,1fr); gap: 18px; }
  .tour-operator-layout { grid-template-columns: 205px minmax(0,1fr); gap: 18px; }
}
@media (max-width: 700px) {
  .tour-main { padding: 20px 16px; }
  .tour-role-selector { gap: 7px; }
  .tour-role-selector button { padding: 10px 15px; font-size: 13px; }
  .tour-role-description { font-size: 14px; }
  .tour-admin-layout, .tour-operator-layout, .tour-manager-layout { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .tour-main-header h3 { font-size: 23px; }
  .tour-main-header { margin-bottom: 19px; }
  .tour-step-panel { min-height: 0; padding: 22px 18px; }
  .tour-step-copy h4 { font-size: 19px; }
  .tour-step-copy p { font-size: 13px; }
  .tour-field label, .tour-field-label { font-size: 13px; }
  .tour-field input, .tour-field textarea, .tour-readonly { font-size: 14px !important; padding: 11px; min-height: 44px; }
  .tour-field-hint { font-size: 12px; }
  .tour-step b { font-size: 11px; }
  .tour-step span { height: 25px; width: 25px; font-size: 12px; }
  .tour-revisions { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 10px; }
  .tour-revision-heading { grid-column: 1/-1; margin-bottom: 0; }
  .tour-revision-card { margin-bottom: 0; }
  .tour-revision-card strong, .tour-revision-card p { font-size: 12px; }
  .tour-revision-card small { font-size: 11px; }
  .tour-revision-check { grid-column: 1/-1; justify-content: flex-start; margin: 4px 0 0; font-size: 13px; }
  .tour-revision-note { grid-column: 1/-1; margin-top: 0 !important; font-size: 12px; }
  .tour-save-button { grid-column: 1/-1; margin-top: 4px; width: auto; justify-self: start; }
  .tour-btn { font-size: 13px !important; }
  .tour-badge { font-size: 11px; }
  .tour-step-counter { font-size: 12px; }
  .tour-preview-note { font-size: 12px; }
  .tour-source strong { font-size: 13px; }
  .tour-source p, .tour-source small { font-size: 12px; }
  .tour-choice strong { font-size: 13px; }
  .tour-choice small { font-size: 12px; }
  .tour-summary > div { font-size: 13px; }
  .tour-guideline strong, .tour-guideline p, .tour-warning strong, .tour-warning p { font-size: 13px; }
  .tour-voice p { font-size: 12px; }
  .tour-chat-message p { font-size: 13px; }
  .tour-chat-message > span { font-size: 12px; }
  .tour-chat-message small { font-size: 11px; }
  .tour-conversation { padding: 14px; }
  .tour-conversation strong { font-size: 13px; }
  .tour-conversation small, .tour-conversation-status { font-size: 12px; }
  .tour-inbox-title strong { font-size: 14px; }
  .tour-inbox-title > span, .tour-inline-note { font-size: 12px; }
  .tour-detail-header h4 { font-size: 16px; }
  .tour-detail-header p { font-size: 12px; }
  .tour-caption { font-size: 10px; }
  .tour-outcome h4 { font-size: 13px; }
  .tour-outcome p, .tour-operator-actions > span { font-size: 12px; }
  .tour-company-body strong { font-size: 14px; }
  .tour-company-body small, .tour-company-body > span { font-size: 12px; }
  .tour-company-body > span { margin-top: 7px; }
  .tour-company-icon { height: 38px; flex-basis: 38px; font-size: 13px; }
  .tour-manager-intro p, .tour-manager-description { font-size: 13px; }
  .tour-company-detail-top p { font-size: 13px; }
  .tour-managed-agent strong { font-size: 14px; }
  .tour-managed-agent p { font-size: 13px; }
  .tour-responsibilities strong, .tour-responsibilities span { font-size: 13px; }
  .tour-assisted-detail h4 { font-size: 14px; }
  .tour-assisted-detail p { font-size: 13px; }
}
@media (max-width: 400px) {
  .tour-main { padding: 17px 12px; }
  .tour-role-selector { display: grid; grid-template-columns: minmax(0,1fr); }
  .tour-role-selector button { font-size: 13px; }
  .tour-role-description { font-size: 13px; }
  .tour-main-header { gap: 10px; }
  .tour-main-header h3 { font-size: 21px; }
  .tour-heading-detail { display: block; padding: 5px 0 0; }
  .tour-step-panel { padding: 20px 13px; }
  .tour-steps { padding-left: 4px; padding-right: 4px; }
  .tour-step b { font-size: 10px; }
  .tour-step-copy h4 { font-size: 18px; }
  .tour-field-pair { grid-template-columns: minmax(0,1fr); gap: 0; }
  .tour-editor-footer { padding: 13px; flex-wrap: wrap; }
  .tour-footer-actions { margin-left: auto; }
  .tour-revisions { grid-template-columns: minmax(0,1fr); }
  .tour-source { gap: 8px; padding: 11px 9px; flex-wrap: wrap; }
  .tour-source > div { flex: 1 1 135px; }
  .tour-source-select { flex-wrap: nowrap; }
  .tour-source .tour-badge { margin-left: 26px; }
  .tour-summary > div { grid-template-columns: minmax(0,1fr); gap: 3px; }
  .tour-detail-header { padding: 16px; flex-wrap: wrap; }
  .tour-chat { padding: 16px 12px; }
  .tour-chat-message { width: 94%; padding: 11px; }
  .tour-outcome { margin-left: 12px; margin-right: 12px; padding: 11px; }
  .tour-operator-actions { padding-left: 12px; padding-right: 12px; }
  .tour-workspace-detail { padding: 17px 14px; }
  .tour-responsibilities { grid-template-columns: minmax(0,1fr); gap: 13px; }
}
@media (prefers-reduced-motion: reduce) { .tour-role-selector button { transition: none; } }

@media(max-width:800px){#productTour .tour-field input,#productTour .tour-field textarea{font-size:16px!important;min-height:46px}.tour-field label,.tour-field-label,.tour-step-copy p,.tour-chat-message p,.tour-manager-description{font-size:14px}.tour-field-hint,.tour-revision-card p,.tour-revision-note,.tour-company-detail-top p,.tour-responsibilities span,.tour-outcome p{font-size:12px}.tour-conversation strong,.tour-source strong{font-size:13px}}
