/* patron-dash.css — p126b (2026-11-15): the switch to the Dashboard (patron-dash.js), loaded with the app. Only the toggle
   "Chat | Dashboard", the "Dashboard" row at the top of the five's column, and hiding the chat while the Dashboard is up.
   The Dashboard's own look is css/patron-dashboard.css, loaded the first time it opens. Only with the home switch on. */
html:not([data-home]) .dash-seg,html:not([data-home]) .dash-entry{display:none!important}

/* ------------------------------------------------------------------ Chat | Dashboard */
.dash-seg{display:inline-flex;align-items:center;flex:none;gap:2px;padding:3px;border-radius:11px;background:#161618;box-shadow:inset 0 0 0 1px #262628;
  align-self:center;vertical-align:middle}
.dash-segb{height:28px;padding:0 12px;border:0;border-radius:8px;background:none;color:#8e8e8a;font:inherit;font-size:13px;font-weight:500;line-height:1;
  white-space:nowrap;cursor:pointer;transition:color .12s ease}
.dash-segb:hover{color:#e9e9e6}
.dash-segb.on{background:#0b0b0c;color:#f4f4f1;box-shadow:0 0 0 1px #2c2c2f;cursor:default}
.dash-segb:focus-visible{outline:2px solid #6c9cff;outline-offset:1px}
html[data-theme="light"] .dash-seg{background:#fff;box-shadow:inset 0 0 0 1px #e5e5e1}
html[data-theme="light"] .dash-segb{color:#5c5c58}
html[data-theme="light"] .dash-segb:hover{color:#161616}
html[data-theme="light"] .dash-segb.on{background:#f0f0ed;color:#161616;box-shadow:0 0 0 1px #dcdcd7}
html[data-theme="light"] .dash-segb:focus-visible{outline-color:#2f6fd6}
@media (prefers-reduced-motion:reduce){.dash-segb{transition:none}}

/* in the chat's head, before the robot's name; on the start screen, at the left of its top bar */
.page-title-row>.dash-seg{margin-right:4px}
.home-top>.dash-seg-stage{margin:0 auto 0 0}
@media (min-width:801px){
  html[data-home] .home-top{justify-content:flex-start;padding-top:6px;padding-left:18px}   /* the toggle where the chat's head has it */
  html[data-home] .home-top>.home-teambtn{display:none}
}
@media (max-width:800px){
  .home-top>.dash-seg-stage{margin:0 auto}
  html[data-home] .page-title-row>#view-title{min-width:0;flex:0 1 auto;overflow:hidden;text-overflow:ellipsis}
  html[data-home] .page-title-row{align-items:center}
}
@media (max-width:420px){
  .dash-segb{height:26px;padding:0 9px;font-size:12.5px}
  .home-top .dash-segb{height:30px;padding:0 10px}
  html[data-home] .home-top{padding-left:12px;padding-right:12px}
  html[data-home] .home-top .home-pill{padding:0 12px}
  html[data-home] .home-top:has(.dash-seg) .home-convotxt{display:none}
}

/* ------------------------------------------------------------------ "Dashboard" at the top of the five's column */
.dash-entry{display:flex;align-items:center;gap:10px;flex:none;height:40px;margin:0 16px 2px;padding:0 12px;border:0;border-radius:12px;
  background:#141415;box-shadow:inset 0 0 0 1px #222224;color:#cfcfcc;font:inherit;font-size:13.5px;font-weight:550;line-height:1;cursor:pointer;text-align:left}
.dash-entry:hover{background:#19191b;color:#fff;box-shadow:inset 0 0 0 1px #2e2e31}
.dash-entry:focus-visible{outline:2px solid #6c9cff;outline-offset:2px}
.dash-entryi{flex:none;display:block}
.dash-entryt{flex:1;min-width:0}
.dash-entryk{flex:none;font:inherit;font-size:11.5px;font-weight:500;color:#6f6f6b}
@media (hover:none){.dash-entryk{display:none}}
html[data-theme="light"] .dash-entry{background:#fff;box-shadow:inset 0 0 0 1px #e5e5e1;color:#2b2b29}
html[data-theme="light"] .dash-entry:hover{background:#fafaf8;color:#161616;box-shadow:inset 0 0 0 1px #d6d6d1}
html[data-theme="light"] .dash-entryk{color:#6b6b67}
html[data-theme="light"] .dash-entry:focus-visible{outline-color:#2f6fd6}

/* ------------------------------------------------------------------ while the Dashboard is up (or about to be, on the day's first visit) */
html[data-home][data-dash] #app,html[data-home][data-dash-soon] #app{visibility:hidden}
