/* Respondo workspace discovery: first-visit actions are visible without
   opening the hamburger. Applies to real workspaces AND /assistant demo. */
#app .dashboard-premium-shell .dashboard-entry{
  display:block;
  width:100%;max-width:100%;min-width:0;
  padding:18px 20px 19px;margin:0 0 22px;
  border:1px solid #e3e9f3;border-radius:23px;
  background:linear-gradient(145deg,#ffffff 0%,#f8faff 100%);
  box-shadow:0 13px 37px rgba(36,61,102,.045);
  color:#17233a;box-sizing:border-box;
}
#app .dashboard-premium-shell .dashboard-entry.dashboard-view-hidden{display:none!important}
#app .dashboard-entry-head{
  display:flex;justify-content:space-between;align-items:end;gap:16px;
  margin:0 0 17px;
}
#app .dashboard-entry-head small{
  display:block;font-weight:780;letter-spacing:.16em;
  font-size:10px;color:#56749e;margin-bottom:6px;
}
#app .dashboard-entry-head h2{
  font-size:clamp(21px,2.3vw,29px);letter-spacing:-.045em;
  line-height:1.2;font-weight:730;color:#17233a!important;margin:0!important;
}
#app .dashboard-entry-head p{
  max-width:300px;margin:0;font-size:12px;line-height:1.5;
  color:#667b97;
}
#app .dashboard-entry-actions{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;max-width:100%;
}
#app .dashboard-entry-action{
  display:flex;align-items:center;text-align:left;gap:11px;
  width:100%;min-width:0;min-height:92px;
  padding:13px 14px;border:1px solid #e2e9f4;
  border-radius:16px;background:#fff;color:#182942;
  box-shadow:none;cursor:pointer;font:inherit;
  -webkit-tap-highlight-color:transparent;touch-action:manipulation;
}
#app .dashboard-entry-action:hover{background:#f0f5fc;border-color:#bacfeb}
#app .dashboard-entry-action:focus-visible{
  outline:3px solid #749ff4;outline-offset:3px;
}
#app .dashboard-entry-action.dashboard-entry-primary{
  grid-column:1/-1;min-height:82px;
  color:#fff;background:linear-gradient(130deg,#101d36,#203d64);
  border-color:#28466e;
}
#app .dashboard-entry-action.dashboard-entry-primary:hover{
  background:linear-gradient(130deg,#142642,#28507b);
}
#app .dashboard-entry-icon{
  flex:0 0 38px;width:38px;height:38px;
  display:grid;place-items:center;
  border:1px solid #e0e8f4;border-radius:12px;
  background:#f1f6fd;color:#426996;
}
#app .dashboard-entry-primary .dashboard-entry-icon{
  border-color:rgba(219,235,255,.19);
  color:#dceaff;background:rgba(222,237,255,.10);
}
#app .dashboard-entry-icon svg{width:21px;height:21px}
#app .dashboard-entry-action-copy{
  display:grid;gap:5px;min-width:0;flex:1 1 auto;
}
#app .dashboard-entry-action-copy strong{
  display:block;font-size:13px;line-height:1.25;font-weight:750;
  overflow-wrap:break-word;color:inherit!important;
}
#app .dashboard-entry-action-copy small{
  display:block;font-size:11px;line-height:1.45;
  color:#687c98;overflow-wrap:break-word;
}
#app .dashboard-entry-primary .dashboard-entry-action-copy small{color:#c6daf7}
#app .dashboard-entry-arrow{
  flex:0 0 auto;margin-left:auto;color:#8094b1;
  font-size:20px;line-height:1;
}
#app .dashboard-entry-primary .dashboard-entry-arrow{color:#deebff}
/* Make the control discoverable: an icon + a literal Menu label. */
#app .dashboard-topbar.dashboard-has-drawer > .dashboard-menu-toggle{
  width:auto!important;min-width:97px!important;
  height:46px!important;min-height:46px!important;
  padding:0 13px!important;gap:10px!important;
  flex:0 0 auto!important;
  align-items:center!important;justify-content:center!important;
}
#app .dashboard-menu-label{
  display:block;white-space:nowrap;
  font:730 12px/1.1 system-ui,-apple-system,sans-serif;
  letter-spacing:-.01em;
}
#app .dashboard-menu-toggle .dashboard-menu-lines{
  width:17px;gap:3px;flex:0 0 17px;
}
#app .dashboard-menu-toggle .dashboard-menu-lines > span{width:17px}
@media(max-width:760px){
  #app .dashboard-premium-shell .dashboard-topbar.dashboard-has-drawer,
  #app .dashboard-premium-shell.demo-dashboard-shell .demo-sticky-topbar.dashboard-has-drawer{
    grid-template-columns:minmax(0,1fr) max-content!important;
  }
  #app .dashboard-premium-shell .dashboard-simple-main > .dashboard-entry{
    order:3!important;min-width:0!important;
  }
  #app .dashboard-premium-shell.demo-dashboard-shell .dashboard-simple-main > .dashboard-premium-experience{
    order:4!important;
  }
  #app .dashboard-premium-shell .dashboard-entry{
    margin:5px 0 20px;padding:17px 14px;
    border-radius:20px;
  }
  #app .dashboard-entry-head{display:block;margin-bottom:14px}
  #app .dashboard-entry-head h2{font-size:23px}
  #app .dashboard-entry-head p{
    max-width:none;margin-top:8px;
    font-size:12px;line-height:1.5;
  }
  #app .dashboard-entry-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  #app .dashboard-entry-action{
    display:flex;align-items:flex-start;flex-direction:column;
    min-height:114px;padding:12px;gap:10px;border-radius:15px;
  }
  #app .dashboard-entry-action.dashboard-entry-primary{
    flex-direction:row;align-items:center;min-height:81px;
    padding:13px;gap:11px;
  }
  #app .dashboard-entry-action:last-child{
    grid-column:1/-1;min-height:72px;flex-direction:row;align-items:center;
  }
  #app .dashboard-entry-icon{width:32px;height:32px;flex-basis:32px;border-radius:10px}
  #app .dashboard-entry-icon svg{width:19px;height:19px}
  #app .dashboard-entry-action-copy strong{font-size:12px}
  #app .dashboard-entry-action-copy small{font-size:10px}
  #app .dashboard-entry-arrow{display:none}
  #app .dashboard-entry-primary .dashboard-entry-arrow{display:block}
}
@media(max-width:350px){
  #app .dashboard-topbar.dashboard-has-drawer > .dashboard-menu-toggle{
    min-width:87px!important;padding:0 10px!important;gap:7px!important;
  }
  #app .dashboard-entry-action{padding:10px}
  #app .dashboard-entry-action-copy small{font-size:10px}
}
@media(prefers-reduced-motion:reduce){
  #app .dashboard-entry-action{transition:none!important}
}

/* v2: actual reading order in the flex dashboard. Before this rule,
   the statistics were order:2 while the shortcut section was order:3,
   hiding the important navigation below the metrics on iPhones.
   Give visitors a useful action immediately after the welcome heading. */
#app .dashboard-premium-shell .dashboard-simple-main > .dashboard-entry[data-dashboard-view="overview"]{
  order:2!important;
}
#app .dashboard-premium-shell .dashboard-simple-main > .stats[data-dashboard-view="overview"]{
  order:3!important;
}
#app .dashboard-premium-shell .dashboard-simple-main > .welcome-card[data-dashboard-view="overview"]{
  order:4!important;
}
#app .dashboard-premium-shell .dashboard-simple-main > .onboarding-card[data-dashboard-view="overview"]{
  order:5!important;
}
#app .dashboard-premium-shell .dashboard-simple-main > .respondo-intelligence[data-dashboard-view="overview"]{
  order:6!important;
}
#app .dashboard-premium-shell .dashboard-simple-main > .dashboard-insights[data-dashboard-view="overview"]{
  order:7!important;
}
/* Scrolling from a quick action must not place the answer, profile, or
   live demo beneath the fixed two-row mobile navigation. */
#app .dashboard-premium-shell :is(#live-preview,#business-profile,#knowledge,#install,#leads,#conversations){
  scroll-margin-top:110px;
}
@media(max-width:1024px){
  #app .dashboard-premium-shell.demo-dashboard-shell :is(#live-preview,#business-profile,#knowledge,#install,#leads,#conversations){
    scroll-margin-top:var(--demo-sticky-header-space,180px);
  }
}
@media(max-width:760px){
  #app .dashboard-premium-shell .dashboard-simple-main > .dashboard-entry[data-dashboard-view="overview"]{
    order:2!important;
  }
  #app .dashboard-premium-shell .dashboard-simple-main > .stats[data-dashboard-view="overview"]{
    order:3!important;
  }
  #app .dashboard-premium-shell .dashboard-head[data-dashboard-view="overview"]{
    margin-bottom:10px!important;
  }
}

/* v3: First-visit shortcut to the complete list. Users need not infer that
   three unlabeled strokes hide most of the dashboard functionality. */
#app .dashboard-premium-shell .dashboard-entry-footer{
  display:flex;justify-content:space-between;align-items:center;
  gap:12px;margin-top:16px;padding:14px 2px 0;
  border-top:1px solid #e6ebf3;min-width:0;
}
#app .dashboard-premium-shell .dashboard-entry-footer > span{
  color:#647891;font-size:12px;line-height:1.5;
}
#app .dashboard-premium-shell .dashboard-entry-more{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  min-height:42px;max-width:100%;padding:9px 13px;
  background:#edf3fc;border:1px solid #c7d9f1;
  border-radius:12px;color:#1a416f;
  font:750 12px/1.25 system-ui,-apple-system,sans-serif;
  text-decoration:none;white-space:nowrap;cursor:pointer;
  -webkit-tap-highlight-color:transparent;touch-action:manipulation;
}
#app .dashboard-premium-shell .dashboard-entry-more:hover{
  background:#dfeafd;border-color:#aac8ee;
}
#app .dashboard-premium-shell .dashboard-entry-more:focus-visible{
  outline:3px solid #749ff4;outline-offset:3px;
}
@media(max-width:760px){
  #app .dashboard-premium-shell .dashboard-entry-footer{
    flex-direction:column;align-items:stretch;gap:8px;
    margin-top:12px;padding-top:12px;
  }
  #app .dashboard-premium-shell .dashboard-entry-footer > span{font-size:11px}
  #app .dashboard-premium-shell .dashboard-entry-more{
    justify-content:center;width:100%;min-height:44px;
  }
}

/* v4: users can act within the first screen before scrolling or finding Menu. */
#app .dashboard-premium-shell .dashboard-head-mobile-links{display:none}
@media(max-width:760px){
 #app .dashboard-premium-shell .dashboard-head-mobile-links{
  display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin:18px 0 0;max-width:100%;
 }
 #app .dashboard-premium-shell .dashboard-head-mobile-links button{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  min-height:44px;padding:10px 14px;border-radius:12px;
  font:740 12px/1.3 system-ui,-apple-system,sans-serif;
  cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;
 }
 #app .dashboard-premium-shell .dashboard-head-mobile-test{
  color:#fff;background:#1a3458;border:1px solid #1a3458;
 }
 #app .dashboard-premium-shell .dashboard-head-mobile-menu{
  color:#24476f;background:#eef4fd;border:1px solid #cbdcf2;
 }
 #app .dashboard-premium-shell .dashboard-head-mobile-links button:focus-visible{
  outline:3px solid #749ff4;outline-offset:3px;
 }
 #app .dashboard-premium-shell .dashboard-head[data-dashboard-view="overview"]{
  margin-bottom:14px!important;
 }
}
@media(max-width:365px){
 #app .dashboard-premium-shell .dashboard-head-mobile-links{gap:7px}
 #app .dashboard-premium-shell .dashboard-head-mobile-links button{padding:9px 10px;font-size:11px}
}
@media(prefers-reduced-motion:reduce){
 #app .dashboard-premium-shell .dashboard-head-mobile-links button{transition:none!important}
}


/* v5: Real first-screen navigation. A visitor does not need to discover
   the hamburger to test a bot, inspect answers or configure the company.
   Compact grid prevents the initial Welcome-only dead-end on iPhone. */
@media(max-width:760px){
  #app .dashboard-premium-shell .dashboard-simple-main > .dashboard-head[data-dashboard-view="overview"]{
    height:auto!important;min-height:0!important;max-height:none!important;
    flex:0 0 auto!important;align-self:stretch!important;
    padding-bottom:0!important;margin-bottom:12px!important;
  }
  #app .dashboard-premium-shell .dashboard-head-mobile-links{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    align-items:stretch!important;gap:9px!important;
    margin:18px 0 2px!important;max-width:100%!important;
  }
  #app .dashboard-premium-shell .dashboard-head-mobile-hint{
    display:block;grid-column:1/-1;
    color:#617693;font-size:10px;font-weight:760;
    letter-spacing:.13em;line-height:1.4;margin:0 0 1px;
  }
  #app .dashboard-premium-shell .dashboard-head-mobile-links button{
    display:flex!important;justify-content:space-between!important;
    gap:8px!important;align-items:center!important;
    width:100%!important;min-width:0!important;
    min-height:49px!important;padding:11px 12px!important;
    margin:0!important;border-radius:13px!important;
    font:720 12px/1.28 system-ui,-apple-system,sans-serif!important;
    text-align:left;overflow-wrap:anywhere;
  }
  #app .dashboard-premium-shell .dashboard-head-mobile-links .dashboard-head-mobile-test{
    background:#193658!important;color:#fff!important;
    border:1px solid #193658!important;
  }
  #app .dashboard-premium-shell .dashboard-head-mobile-links
  :is(.dashboard-head-mobile-setup,.dashboard-head-mobile-answers,.dashboard-head-mobile-menu){
    background:#f6f9ff!important;color:#244368!important;
    border:1px solid #cedbf0!important;
  }
  #app .dashboard-premium-shell .dashboard-head-mobile-links button > span[aria-hidden]{
    flex:0 0 auto;font-size:15px;line-height:1;
  }
  #app .dashboard-premium-shell .dashboard-head-mobile-links button:focus-visible{
    outline:3px solid #729bec!important;outline-offset:3px!important;
  }
  #app .dashboard-premium-shell .dashboard-simple-main > .dashboard-entry[data-dashboard-view="overview"]{
    min-height:0!important;margin-top:0!important;
  }
}
@media(max-width:365px){
  #app .dashboard-premium-shell .dashboard-head-mobile-links button{
    font-size:11px!important;padding:10px 9px!important;min-height:48px!important;
  }
}
@media(prefers-reduced-motion:reduce){
  #app .dashboard-premium-shell .dashboard-head-mobile-links button{
    transition:none!important;
  }
}

/* v6: Primary-first demo navigation. After the real mobile header
   the visitor sees one unambiguous starting action and three compact
   destinations. The earlier detailed overview quick-action deck is redundant
   on phones (it repeated the same navigation just below the first screen). */
@media(max-width:760px){
  #app .dashboard-premium-shell .dashboard-head-mobile-links{
    gap:9px!important;margin:16px 0 5px!important;
  }
  #app .dashboard-premium-shell .dashboard-head-mobile-links
  .dashboard-head-mobile-test{
    grid-column:1/-1!important;
    justify-content:center!important;
    min-height:56px!important;padding:14px 17px!important;
    border-radius:15px!important;
    background:linear-gradient(120deg,#142c4f,#234d7d)!important;
    border-color:#244871!important;
    box-shadow:0 9px 19px rgba(16,44,83,.13)!important;
    font-size:14px!important;
  }
  #app .dashboard-premium-shell .dashboard-head-mobile-links
  :is(.dashboard-head-mobile-setup,.dashboard-head-mobile-answers){
    min-height:51px!important;
  }
  #app .dashboard-premium-shell .dashboard-head-mobile-links
  .dashboard-head-mobile-menu{
    grid-column:1/-1!important;
    min-height:44px!important;justify-content:center!important;
    background:transparent!important;border:1px solid #d8e2ef!important;
    color:#3f638f!important;font-weight:690!important;
  }
  #app .dashboard-premium-shell .dashboard-simple-main
  > .dashboard-entry[data-dashboard-view="overview"]{
    display:none!important;
  }
  #app .dashboard-premium-shell .dashboard-simple-main
  > .onboarding-card[data-dashboard-view="overview"]{
    margin-top:14px!important;
  }
}
@media(max-width:350px){
  #app .dashboard-premium-shell .dashboard-head-mobile-links
  .dashboard-head-mobile-test{font-size:13px!important;min-height:52px!important}
  #app .dashboard-premium-shell .dashboard-head-mobile-links
  .dashboard-head-mobile-menu{min-height:44px!important}
}
@media(prefers-reduced-motion:reduce){
  #app .dashboard-premium-shell .dashboard-head-mobile-links
  .dashboard-head-mobile-test{transition:none!important}
}

/* v6: a visible way back after opening a demo or workspace section. */
#app .dashboard-premium-shell .dashboard-return-home{display:none!important}
@media(max-width:900px){
 #app .dashboard-premium-shell .dashboard-simple-main>.dashboard-return-home:not([hidden]){
  display:inline-flex!important;order:1!important;align-self:flex-start!important;
  align-items:center!important;justify-content:flex-start!important;gap:9px!important;
  min-height:44px!important;max-width:calc(100% - 20px);
  margin:4px 0 12px!important;padding:10px 13px!important;
  border:1px solid #d2def0!important;border-radius:12px!important;
  background:#f7faff!important;color:#274367!important;
  font:730 12px/1.35 system-ui,-apple-system,sans-serif!important;
  text-align:left;cursor:pointer;touch-action:manipulation;
 }
 #app .dashboard-premium-shell .dashboard-return-home span:first-child{
  color:#3a679d;font-size:19px;line-height:1;flex:0 0 auto;
 }
 #app .dashboard-premium-shell .dashboard-return-home:focus-visible{
  outline:3px solid #729bec!important;outline-offset:3px!important;
 }
}
@media(prefers-reduced-motion:reduce){
 #app .dashboard-premium-shell .dashboard-return-home{transition:none!important}
}
