/* Guided setup and persistent SaaS navigation */
.dashboard-profile-group{margin-top:8px;padding-top:8px;border-top:1px solid rgba(0,0,0,.07)}
.dashboard-profile-toggle{grid-template-columns:32px 1fr 18px!important}
.dashboard-profile-toggle i{color:#9b9ba0;font-style:normal;text-align:center;transition:transform .18s ease}
.dashboard-profile-group.collapsed .dashboard-profile-toggle i{transform:rotate(-90deg)}
.dashboard-profile-subnav{display:grid;gap:2px;margin:2px 0 0 42px;overflow:hidden}
.dashboard-profile-group.collapsed .dashboard-profile-subnav{display:none}
.dashboard-profile-subnav button{min-height:34px!important;display:block!important;padding:7px 10px!important;border-radius:10px!important;color:#737378!important;font-size:10px!important;font-weight:650!important}
.dashboard-profile-subnav button:hover{background:rgba(0,0,0,.045)!important;color:#1d1d1f!important}

.guided-setup-active .dashboard-topbar{display:none!important}
.guided-setup-active .dashboard-view-section{display:none!important}
.guided-setup{min-height:calc(100vh - 48px);display:grid;align-content:center;justify-items:center;padding:30px 0 70px}
.guided-setup-progress{width:min(620px,100%);display:flex;align-items:center;justify-content:center;margin:0 auto 26px;padding:0 24px}
.guided-setup-progress span{width:34px;height:34px;display:grid;place-items:center;flex:0 0 auto;border:1px solid #d7d7dc;border-radius:50%;background:#fff;color:#9a9aa0;font-size:11px;font-weight:800;transition:.2s ease}
.guided-setup-progress span.active{border-color:#111113;background:#111113;color:#fff;box-shadow:0 8px 22px rgba(17,17,19,.18)}
.guided-setup-progress span.done{border-color:#c7c7cc;background:#ececef;color:#4f4f54}
.guided-setup-progress i{width:100%;height:1px;background:#d7d7dc}
.guided-setup-form{width:min(760px,100%)}
.guided-card{width:100%;min-height:520px;padding:48px 52px;border:1px solid rgba(0,0,0,.08);border-radius:30px;background:#fff;box-shadow:0 24px 70px rgba(0,0,0,.07);animation:guidedCardIn .22s ease both}
.guided-card[hidden]{display:none!important}
@keyframes guidedCardIn{from{opacity:.4;transform:translateY(7px)}to{opacity:1;transform:none}}
.guided-card>small{display:block;margin-bottom:18px;color:#8e8e93;font-size:9px;font-weight:850;letter-spacing:.16em}
.guided-card h1{max-width:650px;margin:0;color:#171719;font-size:clamp(34px,4.2vw,52px);line-height:1.02;letter-spacing:-.055em;font-weight:700}
.guided-card>p{max-width:620px;margin:16px 0 30px;color:#6e6e73;font-size:14px;line-height:1.65}
.guided-main-field,.guided-qa-row label{display:grid;gap:8px}
.guided-main-field>span,.guided-qa-row label>span{color:#5d5d62;font-size:10px;font-weight:750}
.guided-main-field input,.guided-qa-row input,.guided-qa-row textarea{width:100%;border:1px solid #d4d4d8!important;border-radius:15px!important;background:#fafafa!important;color:#1d1d1f;padding:15px 16px!important;outline:none;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}
.guided-main-field input{min-height:58px;font-size:16px}
.guided-main-field input:focus,.guided-qa-row input:focus,.guided-qa-row textarea:focus{border-color:#77777c!important;background:#fff!important;box-shadow:0 0 0 4px rgba(0,0,0,.05)!important}
.guided-card-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;margin-top:34px;padding-top:22px;border-top:1px solid #ececef}
.guided-card-actions button{min-height:48px;padding:0 19px;border:0;border-radius:13px;font-size:11px;font-weight:750}
.guided-continue{background:#111113!important;color:#fff!important}
.guided-continue:hover{background:#303034!important}
.guided-back,.guided-skip{background:#f1f1f3!important;color:#4b4b50!important}
.guided-step-message{min-height:18px;margin-top:12px;color:#b42318;font-size:11px;text-align:right}
.guided-bot-layout{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:30px;align-items:center}
.guided-avatar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-top:18px}
.guided-avatar-option{min-height:86px;display:grid;place-items:center;gap:5px;padding:9px;border:1px solid #e2e2e5!important;border-radius:16px!important;background:#fafafa!important;color:#77777c!important}
.guided-avatar-option svg,.guided-avatar-option img{width:40px;height:40px;border-radius:12px;object-fit:contain}
.guided-avatar-option small{font-size:8px}
.guided-avatar-option.selected{border-color:#111113!important;background:#fff!important;box-shadow:0 0 0 2px #111113!important;color:#111113!important}
.guided-upload{min-height:42px;display:flex;align-items:center;gap:8px;margin-top:12px;padding:0 12px;border:1px dashed #c9c9ce;border-radius:13px;color:#68686d;cursor:pointer}
.guided-upload span{font-size:18px}.guided-upload b{font-size:10px}
.guided-bot-preview{min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px;border:1px solid #e4e4e7;border-radius:24px;background:linear-gradient(180deg,#fafafa,#f1f1f3);text-align:center}
.guided-bot-preview>div{width:76px;height:76px;display:grid;place-items:center;margin-bottom:14px;border-radius:24px;background:#fff;box-shadow:0 12px 30px rgba(0,0,0,.09);overflow:hidden}
.guided-bot-preview svg,.guided-bot-preview img{width:64px;height:64px;object-fit:contain}
.guided-bot-preview b{font-size:14px}.guided-bot-preview small{margin-top:4px;color:#30a46c;font-size:9px}
.guided-qa-list{display:grid;gap:12px}
.guided-qa-row{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:12px;padding:14px;border:1px solid #e8e8eb;border-radius:18px;background:#fafafa}
.guided-qa-row input,.guided-qa-row textarea{min-height:46px;padding:11px 12px!important;font-size:12px}.guided-qa-row textarea{height:70px;resize:vertical}
.guided-fields-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.guided-wide{grid-column:1/-1}
.guided-finish-card{text-align:center}.guided-finish-card>p{margin-left:auto;margin-right:auto}.guided-ready-mark{width:70px;height:70px;display:grid;place-items:center;margin:0 auto 20px;border-radius:50%;background:#eaf8f0;color:#18864b;font-size:28px;font-weight:800}.guided-finish-card h1{margin-left:auto;margin-right:auto}
.guided-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:28px;text-align:left}.guided-summary>div{min-width:0;padding:16px;border:1px solid #e5e5e8;border-radius:16px;background:#fafafa}.guided-summary span{display:block;color:#8e8e93;font-size:8px;font-weight:750;letter-spacing:.08em}.guided-summary b{display:block;overflow:hidden;margin-top:6px;text-overflow:ellipsis;white-space:nowrap;font-size:11px}

@media(max-width:920px){
  .dashboard-os-shell:not(.demo-dashboard-shell)>.dashboard-simple-main>.dashboard-topbar .dashboard-topbar-brand{display:flex!important}
  .dashboard-os-shell:not(.demo-dashboard-shell)>.dashboard-simple-main>.dashboard-topbar .dashboard-page-context{display:none}
  .dashboard-os-shell:not(.demo-dashboard-shell)>.dashboard-simple-main>.dashboard-topbar .dashboard-section-picker{display:block!important}
  .guided-setup-active .dashboard-topbar{display:grid!important}
  .guided-setup-active .dashboard-section-picker,.guided-setup-active .dashboard-top-actions{display:none!important}
  .guided-setup{min-height:auto;padding-top:22px}
}
@media(max-width:700px){
  .guided-setup-progress{margin-bottom:16px;padding:0 8px}.guided-setup-progress span{width:28px;height:28px;font-size:9px}
  .guided-card{min-height:0;padding:28px 20px;border-radius:22px}.guided-card h1{font-size:35px}.guided-card>p{font-size:13px;margin-bottom:24px}
  .guided-bot-layout{grid-template-columns:1fr}.guided-bot-preview{min-height:150px}.guided-avatar-grid{grid-template-columns:repeat(2,1fr)}
  .guided-qa-row,.guided-fields-grid{grid-template-columns:1fr}.guided-wide{grid-column:auto}.guided-summary{grid-template-columns:1fr}
  .guided-card-actions{flex-wrap:wrap}.guided-card-actions .guided-continue{margin-left:auto}.guided-step-message{text-align:left}
}



/* Production's dark Respondo workspace, without changing the public demo */
.dashboard-premium-shell.guided-setup-active .dashboard-view-section,
.dashboard-premium-shell.guided-setup-active .dashboard-page-heading {display:none!important}
.dashboard-premium-shell.guided-setup-active .dashboard-premium-sidebar {z-index:40}
.dashboard-premium-shell.guided-setup-active .guided-setup {position:relative;z-index:2}
.dashboard-premium-shell .premium-sidebar-nav .dashboard-profile-group {margin-top:12px;padding:12px 8px 4px;border-top:1px solid rgba(255,255,255,.14)}
.dashboard-premium-shell .premium-sidebar-nav .dashboard-profile-toggle {display:grid;grid-template-columns:26px 1fr 18px;align-items:center;gap:13px;width:100%;padding:13px 12px;border:0;border-radius:12px;background:transparent;color:inherit;text-align:left;font-size:13px;font-weight:700;cursor:pointer}
.dashboard-premium-shell .premium-sidebar-nav .dashboard-profile-subnav {margin-left:39px}
.dashboard-premium-shell .premium-sidebar-nav .dashboard-profile-subnav button {width:100%;text-align:left;font-size:12px!important}
.guided-setup-active .guided-card {background:#18191d;color:#fafafa;border-color:rgba(255,255,255,.12);box-shadow:0 24px 72px rgba(0,0,0,.25)}
.guided-setup-active .guided-card h1 {color:#fafafa}
.guided-setup-active .guided-card>p,.guided-setup-active .guided-main-field>span,.guided-setup-active .guided-qa-row label>span {color:#b3b3ba}
.guided-setup-active .guided-card-actions {border-top-color:rgba(255,255,255,.12)}
.guided-setup-active .guided-main-field input,.guided-setup-active .guided-qa-row input,.guided-setup-active .guided-qa-row textarea {background:#222329!important;border-color:#42434a!important;color:#fff}
.guided-setup-active .guided-main-field input:focus,.guided-setup-active .guided-qa-row input:focus,.guided-setup-active .guided-qa-row textarea:focus {background:#25262b!important;border-color:#9fa0a8!important}
.guided-setup-active .guided-qa-row,.guided-setup-active .guided-summary>div,.guided-setup-active .guided-bot-preview {background:#202127;border-color:#3a3b42}
.guided-setup-active .guided-avatar-option {background:#25262c!important;border-color:#404148!important;color:#d3d3d8!important}
.guided-setup-active .guided-avatar-option.selected {background:#32343a!important;border-color:#f5f5f5!important;color:white!important;box-shadow:0 0 0 1px white!important}
.guided-setup-active .guided-bot-preview b,.guided-setup-active .guided-summary b {color:#fff}
.guided-setup-active .guided-continue {background:#f5f5f7!important;color:#141416!important}
.guided-setup-active .guided-continue:hover {background:#dedee2!important}
.guided-setup-active .guided-back,.guided-setup-active .guided-skip {background:#33343c!important;color:#eee!important}
.guided-setup-active .guided-step-message {color:#ffb3ae}
@media(max-width:920px){.dashboard-premium-shell.guided-setup-active .dashboard-topbar{display:flex!important}.dashboard-premium-shell.guided-setup-active .dashboard-section-picker,.dashboard-premium-shell.guided-setup-active .dashboard-top-actions{display:none!important}}


/* Guided setup can complete safely even if an optional FAQ API call fails. */
.guided-setup-active .guided-resume-link:not([hidden]){
  display:inline-flex;align-items:center;justify-content:center;min-height:46px;
  margin-top:12px;padding:10px 15px;border:1px solid rgba(255,255,255,.28);
  border-radius:12px;color:#f5f5f7;font-size:12px;font-weight:700;
  line-height:1.4;text-decoration:none;
}
.guided-setup-active .guided-resume-link:not([hidden]):focus-visible{
  outline:2px solid #f5f5f7;outline-offset:3px;
}


/* Public Try Bot enters at the same single-card website step as the paid app.
   Hide legacy demo navigation until the visitor has finished the temporary
   wizard; restore it once the in-memory demo profile has been populated. */
#app .demo-dashboard-shell .guided-setup[hidden]{display:none!important}
#app .demo-dashboard-shell.guided-setup-active{grid-template-columns:minmax(0,1fr)!important}
#app .demo-dashboard-shell.guided-setup-active .dashboard-premium-sidebar{display:none!important}
#app .demo-dashboard-shell.guided-setup-active .dashboard-simple-main{margin-left:0!important;width:100%!important;min-width:0}
#app .demo-dashboard-shell.guided-setup-active .demo-section-strip{display:none!important}
#app .demo-dashboard-shell.guided-setup-active .dashboard-view-section{display:none!important}
@media(max-width:920px){
  #app .demo-dashboard-shell.guided-setup-active .dashboard-topbar .demo-public-actions,
  #app .demo-dashboard-shell.guided-setup-active .dashboard-topbar .dashboard-section-picker{display:none!important}
}

/* Focus the initial public-demo viewport on the website entry card.
   The existing SaaS navigation reappears after the demo has been created. */
#app .dashboard-premium-shell.demo-dashboard-shell.guided-setup-active .dashboard-topbar {
  display:none!important;
}
#app .dashboard-premium-shell.demo-dashboard-shell.guided-setup-active .dashboard-simple-main {
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0 auto!important;
}
#app .dashboard-premium-shell.demo-dashboard-shell.guided-setup-active .guided-setup {
  min-height:calc(100dvh - 40px);
  padding:32px 18px 60px;
}
#app .demo-dashboard-shell .guided-demo-brand {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  width:min(760px,100%);
  margin:0 auto 26px;
}
#app .demo-dashboard-shell .guided-demo-brandname {
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
  color:#fff;
  font-size:12px;
  letter-spacing:.16em;
  white-space:nowrap;
}
#app .demo-dashboard-shell .guided-demo-brandname .brand img,
#app .demo-dashboard-shell .guided-demo-brandname .brand svg,
#app .demo-dashboard-shell .guided-demo-brandname .logo img,
#app .demo-dashboard-shell .guided-demo-brandname .logo svg {
  width:42px;
  height:42px;
  object-fit:contain;
}
#app .demo-dashboard-shell .guided-demo-languages .app-language-switch {
  display:flex;
  flex-wrap:nowrap;
  align-items:center;
  gap:4px;
}
#app .demo-dashboard-shell .guided-demo-languages .app-language-option {
  min-width:35px;
  min-height:35px;
}
@media(max-width:760px){
  #app .dashboard-premium-shell.demo-dashboard-shell.guided-setup-active .dashboard-topbar{
    display:none!important;
  }
  #app .dashboard-premium-shell.demo-dashboard-shell.guided-setup-active .guided-setup{
    align-content:start;
    padding:25px 14px 52px;
  }
  #app .demo-dashboard-shell .guided-demo-brand{
    gap:10px;
    margin-bottom:24px;
  }
  #app .demo-dashboard-shell .guided-demo-brandname{
    gap:7px;
    font-size:10px;
    letter-spacing:.08em;
  }
  #app .dashboard-premium-shell.demo-dashboard-shell.guided-setup-active .guided-card{
    min-height:0;
    padding:28px 22px;
    border-radius:24px;
  }
  #app .dashboard-premium-shell.demo-dashboard-shell.guided-setup-active .guided-card h1{
    font-size:clamp(30px,8vw,40px);
  }
}

#app .demo-dashboard-shell .guided-demo-brandname .logo .brand-word {color:#f5f5f7!important;}
