/* Shiftly workbench: the roster is the workspace, not another dashboard card. */
:root {
  --ink: #202521;
  --muted: #68716b;
  --paper: #f1efe9;
  --card: #fffefa;
  --line: #d9d6ce;
  --soft: #eeece5;
  --mint: #e5e2d9;
  --mint-deep: #7b827a;
  --blue: #e3e9e8;
  --yellow: #f2e8cf;
  --coral: #f5e1dc;
  --accent: #bd402b;
  --shadow: 0 5px 18px rgba(32, 37, 33, .045);
}

html.workspace-page { scroll-behavior: auto; }
html.workspace-page body {
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
}
html.workspace-page .topbar {
  min-height: 68px;
  height: auto;
  padding: 10px 24px;
  background: var(--card);
  border-bottom-color: var(--line);
  box-shadow: none;
  backdrop-filter: none;
}
html.workspace-page .brand { gap: 10px; }
html.workspace-page .brand-symbol {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  transform: none;
  background: var(--ink);
  color: #fffefa;
}
html.workspace-page .brand strong {
  font: 750 19px/1 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: -.045em;
}
html.workspace-page .brand > div > span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .005em;
}
html.workspace-page .trial-badge,
html.workspace-page .tenant-picker,
html.workspace-page .account,
html.workspace-page .language-select,
html.workspace-page .top-actions > a,
html.workspace-page .top-actions > button { min-height: 40px; }
html.workspace-page .tenant-picker select,
html.workspace-page .language-select,
html.workspace-page .icon-button,
html.workspace-page .top-actions .button {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}
html.workspace-page .tenant-picker[hidden] { display: none !important; }
html.workspace-page .trial-badge {
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 4px;
  background: #f5e8e3;
  color: #8e3526;
  font-size: 11px;
  font-weight: 700;
}
html.workspace-page .trial-badge { border-radius: 3px; }
html.workspace-page .tenant-picker > span { display: none; }
html.workspace-page #user-label.demo-identity-muted { display: none; }
html.workspace-page .app-shell { min-height: calc(100vh - 68px); }
html.workspace-page .sidebar {
  width: 224px;
  flex-basis: 224px;
  padding: 22px 12px 16px;
  background: #262c28;
  border: 0;
  color: #f4f1e9;
}
html.workspace-page .side-label {
  padding: 3px 12px 13px;
  color: #b5b9b1;
  font-size: 10px;
  letter-spacing: .12em;
}
html.workspace-page .nav-item {
  min-height: 44px;
  margin: 2px 0;
  padding: 9px 12px;
  border-radius: 5px;
  color: #d0d2cb;
  font-size: 13px;
  font-weight: 600;
  transition: background-color .16s ease-out, color .16s ease-out, transform .16s ease-out;
}
html.workspace-page .nav-item:hover {
  transform: translateX(2px);
  background: #343b36;
  color: #fffefa;
}
html.workspace-page .nav-item.active {
  background: #414943;
  color: #fffefa;
  box-shadow: inset 3px 0 0 var(--accent);
}
html.workspace-page .nav-item.active:before { display: none; }
html.workspace-page .nav-item .nav-icon { color: inherit; }
html.workspace-page .tip-card {
  margin: 12px 4px 14px;
  padding: 13px;
  border: 1px solid #4a514b;
  border-radius: 6px;
  background: #303732;
  box-shadow: none;
  color: #f4f1e9;
}
html.workspace-page .tip-card strong { color: #fffefa; }
html.workspace-page .tip-card p { color: #c6c9c1; font-size: 12px; }
html.workspace-page .tip-icon { display: none; }
html.workspace-page .side-footer { color: #a7ada5; font-size: 10px; letter-spacing: .08em; }

html.workspace-page .main-content {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  max-width: 1560px;
  padding: 24px clamp(18px, 2.8vw, 42px) 64px;
  gap: 14px;
}
html.workspace-page #overview { order: 1; }
html.workspace-page #workflow-rail { order: 2; }
html.workspace-page #first-run-panel { order: 3; }
html.workspace-page #demo-context { order: 3; }
html.workspace-page #result { order: 4; }
html.workspace-page #store-setup { order: 5; }
html.workspace-page #team { order: 6; }
html.workspace-page #shared-staff-panel { order: 7; }
html.workspace-page #demand { order: 8; }
html.workspace-page #rules { order: 9; }
html.workspace-page #billing-panel { order: 10; }
html.workspace-page #contact { order: 11; }
html.workspace-page .main-content > :not(#overview):not(#workflow-rail):not(#first-run-panel):not(#demo-context):not(#result):not(#store-setup):not(#team):not(#shared-staff-panel):not(#demand):not(#rules):not(#billing-panel):not(#contact) { order: 12; }

html.workspace-page .page-head {
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 2px 0 16px;
  border-bottom: 1px solid var(--line);
}
html.workspace-page .breadcrumb { margin-bottom: 7px; font-size: 12px; }
html.workspace-page .page-head h1 {
  margin: 0 0 5px;
  font: 680 clamp(28px, 3vw, 38px)/1.08 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: -.05em;
}
html.workspace-page .page-head .muted { max-width: 680px; font-size: 14px; line-height: 1.5; }
html.workspace-page .hero-side { display: flex; align-items: center; gap: 10px; }
html.workspace-page .date-chip { border: 1px solid var(--line); border-radius: 5px; background: transparent; color: var(--ink); }
html.workspace-page .live-dot { background: var(--accent); box-shadow: none; }
html.workspace-page .workflow-rail {
  display: flex;
  gap: 2px;
  margin: 0;
  padding: 4px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #e9e6de;
  box-shadow: none;
  scrollbar-width: thin;
}
html.workspace-page .workflow-rail a {
  min-height: 42px;
  padding: 7px 11px;
  border-radius: 4px;
  color: #5f665f;
  font-size: 12px;
}
html.workspace-page .workflow-rail a:hover { background: #fffefa; color: var(--ink); }
html.workspace-page .workflow-rail span {
  width: 25px;
  height: 25px;
  border-radius: 4px;
  background: #d5d2ca;
  color: #424842;
  font-size: 10px;
}
html.workspace-page .workflow-rail strong { font-weight: 650; }

html.workspace-page .panel,
html.workspace-page .first-run-panel {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--card);
  box-shadow: none;
}
html.workspace-page .panel { padding: clamp(18px, 2vw, 28px); }
html.workspace-page .first-run-panel {
  gap: 14px;
  margin: 0;
  padding: 16px 18px;
  border-left: 3px solid var(--accent);
  background: #fffefa;
}
html.workspace-page .first-run-mark { border-radius: 4px; background: #282e2a; color: white; }
html.workspace-page .step-kicker { color: #777d76; font-size: 10px; letter-spacing: .1em; }
html.workspace-page .step-kicker span { border-radius: 3px; background: #e7e4dc; color: var(--ink); }
html.workspace-page .section-title,
html.workspace-page .result-heading { gap: 18px; margin-bottom: 17px; }
html.workspace-page .section-title h2,
html.workspace-page .result-heading h2 {
  margin: 3px 0 5px;
  font: 680 clamp(22px, 2.1vw, 29px)/1.15 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: -.04em;
}
html.workspace-page .section-desc { max-width: 720px; font-size: 14px; line-height: 1.5; }
html.workspace-page .pill,
html.workspace-page .status { border-radius: 4px; background: var(--soft); color: #515950; font-size: 12px; }
html.workspace-page .button {
  min-height: 42px;
  border-radius: 5px;
  padding: 10px 14px;
  background: #292f2b;
  color: #fffefa;
  font-size: 13px;
  font-weight: 680;
  box-shadow: none;
  transition: background-color .16s ease-out, color .16s ease-out, transform .12s ease-out;
}
html.workspace-page .button:hover { background: #3b433d; box-shadow: none; transform: translateY(-1px); }
html.workspace-page .button:active { transform: scale(.98); }
html.workspace-page .button:focus-visible,
html.workspace-page .nav-item:focus-visible,
html.workspace-page .workflow-rail a:focus-visible,
html.workspace-page input:focus-visible,
html.workspace-page select:focus-visible,
html.workspace-page textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
html.workspace-page .button.ghost { border: 1px solid #bdbab1; background: transparent; color: var(--ink); }
html.workspace-page .button.ghost:hover { background: #eeece5; border-color: #777d76; }
html.workspace-page .button.solve { background: var(--accent); color: #fffefa; }
html.workspace-page .button.solve:hover { background: #a83624; }
html.workspace-page .button:disabled,
html.workspace-page .button[aria-disabled="true"] { opacity: .56; cursor: not-allowed; transform: none; }
html.workspace-page input,
html.workspace-page select,
html.workspace-page textarea {
  border-color: #c9c6bd;
  border-radius: 5px;
  background: #fffefa;
  color: var(--ink);
  font-size: 14px;
}
html.workspace-page input:focus,
html.workspace-page select:focus,
html.workspace-page textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(189, 64, 43, .13); }

/* Give the weekly roster enough width and make it the visual anchor. */
html.workspace-page #result {
  scroll-margin-top: 88px;
  border-top: 3px solid var(--ink);
}
html.workspace-page .result-heading { align-items: center; }
html.workspace-page #status { min-height: 34px; padding-inline: 11px; font-weight: 700; }
html.workspace-page .result-actions { gap: 7px; flex-wrap: wrap; }
html.workspace-page .metrics { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0; margin: 0 0 14px; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
html.workspace-page .metric { min-height: 84px; padding: 13px 14px; border-right: 1px solid var(--line); border-radius: 0; background: #f2f0ea; }
html.workspace-page .metric:last-child { border-right: 0; }
html.workspace-page .metric b { font: 690 23px/1.1 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-variant-numeric: tabular-nums; letter-spacing: -.035em; }
html.workspace-page .metric span { color: #555d56; font-size: 12px; }
html.workspace-page .metric small { color: #69716a; font-size: 11px; }
html.workspace-page .diagnostics { border-radius: 4px; font-size: 13px; }
html.workspace-page #schedule.schedule {
  display: grid;
  grid-template-columns: repeat(7, minmax(145px, 1fr));
  gap: 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--card);
}
html.workspace-page .day-card {
  min-width: 145px;
  padding: 12px 11px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
}
html.workspace-page .day-card:last-child { border-right: 0; }
html.workspace-page .day-card h4 { margin: 0 0 8px; padding-bottom: 9px; border-bottom: 2px solid var(--ink); font-size: 13px; font-variant-numeric: tabular-nums; }
html.workspace-page .assignment {
  display: block;
  min-height: 54px;
  margin-top: 6px;
  padding: 8px 9px;
  border: 1px solid #e2dfd7;
  border-left: 2px solid #777e76;
  border-radius: 3px;
  background: #f7f5ef;
  font-size: 12px;
  line-height: 1.35;
}
html.workspace-page .assignment-view { display: grid; grid-template-columns: minmax(0, 1fr) !important; gap: 3px; align-items: start; width: 100%; min-width: 0; }
html.workspace-page .assignment-view > span { grid-column: 1 !important; grid-row: auto !important; min-width: 0; }
html.workspace-page .assignment-view .assignment-time { grid-column: 1 !important; grid-row: auto !important; }
html.workspace-page .assignment-employee { overflow: hidden; color: var(--ink); font-size: 12px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
html.workspace-page .assignment-shift { color: #5f675f; font-size: 11px; }
html.workspace-page .assignment-time { margin-top: 1px; color: #626960; font-size: 11px; }
html.workspace-page .assignment-edit { display: grid; gap: 6px; }
html.workspace-page .assignment small { display: block; margin-top: 4px; font-size: 11px; }
html.workspace-page .assignment.unfilled { border-left-color: var(--accent); background: #fbefeb; color: #873326; }
html.workspace-page .schedule-empty { min-height: 180px; gap: 8px; padding: 22px; border: 1px dashed #bcb8ae; border-radius: 5px; background: #f7f5ef; }
html.workspace-page .empty-icon { display: none; }
html.workspace-page .schedule-empty strong { font-size: 16px; }
html.workspace-page .schedule-empty span { max-width: 540px; font-size: 14px; }
html.workspace-page .demo-context { margin: 0; padding: 14px 16px; border: 1px solid var(--line); border-left: 3px solid #777e76; border-radius: 5px; background: #f7f5ef; }
html.workspace-page .demo-context-icon { display: none; }
html.workspace-page .demo-context > div:last-child { min-width: 0; }
html.workspace-page .demo-context-kicker { color: #454c46; font-size: 11px; letter-spacing: .08em; }
html.workspace-page .demo-context p { margin: 3px 0 8px; color: #424a43; font-size: 13px; }
html.workspace-page .demo-context small { color: #646c65; font-size: 12px; }
html.workspace-page .demo-context-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 10px 0 7px; border-block: 1px solid #d8d4ca; }
html.workspace-page .demo-context-point { min-width: 0; padding: 9px 11px; border-right: 1px solid #d8d4ca; }
html.workspace-page .demo-context-point:last-child { border-right: 0; }
html.workspace-page .demo-context-point strong { font-size: 11px; }
html.workspace-page .demo-context-point span { display: block; margin-top: 3px; color: #656d67; font-size: 10px; line-height: 1.4; }
html[dir="rtl"].workspace-page .demo-context-point { border-right: 0; border-left: 1px solid #d8d4ca; }
html[dir="rtl"].workspace-page .demo-context-point:last-child { border-left: 0; }

html.workspace-page .store-setup-grid { gap: 12px; }
html.workspace-page .store-profile-card,
html.workspace-page .shift-template-card,
html.workspace-page .intake-panel,
html.workspace-page .timeoff-panel,
html.workspace-page .employee-preferences,
html.workspace-page .policy-panel { border-radius: 5px; box-shadow: none; }
html.workspace-page .employee,
html.workspace-page .timeoff-item,
html.workspace-page .change-request-row,
html.workspace-page .member-link-row { border-color: #e3e0d8; }
html.workspace-page .employee { padding: 12px 0; }
html.workspace-page .employee strong { font-size: 14px; }
html.workspace-page .employee small,
html.workspace-page .form-hint,
html.workspace-page .timeoff-item small { font-size: 12px; }
html.workspace-page .weight-note { border-radius: 4px; }
html.workspace-page #intent-input { min-height: 92px; }
html.workspace-page .toast { border: 1px solid #414841; border-radius: 5px; background: #262c28; }
html.workspace-page .value-strip,
html.workspace-page #conversion-path,
html.workspace-page .seo-content,
html.workspace-page .quick-stats,
html.workspace-page .positioning-panel,
html.workspace-page .how-it-works,
html.workspace-page .faq-panel { border-radius: 5px; box-shadow: none; }
html.workspace-page .value-strip { border: 1px solid var(--line); background: #e9e5dc; }
html.workspace-page .value-strip > div { min-height: 64px; border-color: #d0ccc2; }
html.workspace-page .value-mark { color: var(--accent); }
html.workspace-page .nav-item.active { border-left: 2px solid #d86a54; background: #373e38; }
html.workspace-page .nav-icon { opacity: .78; }
html.workspace-page .page-head h1 { max-width: 680px; text-wrap: balance; }
html.workspace-page .workflow-rail a[aria-current="step"] { background: #fffefa; color: var(--ink); }
html.workspace-page .workflow-rail a[aria-current="step"] span { background: var(--accent); color: white; }
html.workspace-page .result-heading > div:first-child { min-width: 0; }
html.workspace-page #result .step-kicker { color: var(--accent); }
html.workspace-page .metrics .metric { transition: none; }
html.workspace-page .day-card h4 { text-wrap: balance; }

@media (max-width: 1150px) {
  html.workspace-page .workspace-grid { grid-template-columns: minmax(0, 1fr); min-width: 0; }
  html.workspace-page .workspace-grid > .panel { min-width: 0; }
}

@media (max-width: 1120px) {
  html.workspace-page .sidebar { width: 202px; flex-basis: 202px; }
  html.workspace-page .metrics { grid-template-columns: repeat(3, minmax(110px, 1fr)); }
  html.workspace-page .metric:nth-child(3) { border-right: 0; }
  html.workspace-page .metric:nth-child(n+4) { border-top: 1px solid var(--line); }
}
@media (max-width: 760px) {
  html.workspace-page .topbar { padding: 8px 12px; flex-wrap: wrap; gap: 7px; }
  html.workspace-page .top-actions { gap: 5px; flex-wrap: wrap; justify-content: flex-end; }
  html.workspace-page .top-actions .button { min-height: 36px; padding: 7px 9px; font-size: 12px; }
  html.workspace-page .tenant-picker { padding: 0; border: 0; }
  html.workspace-page .app-shell { display: block; min-height: auto; }
  html.workspace-page .sidebar {
    position: sticky;
    top: 0;
    z-index: 12;
    display: flex;
    width: 100%;
    height: auto;
    flex-direction: row;
    gap: 2px;
    overflow-x: auto;
    padding: 5px 8px;
    border-bottom: 1px solid #484f49;
    scrollbar-width: none;
  }
  html.workspace-page .nav-item { min-width: 44px; }
  html.workspace-page .sidebar::-webkit-scrollbar { display: none; }
  html.workspace-page .side-label,
  html.workspace-page .sidebar-spacer,
  html.workspace-page .tip-card,
  html.workspace-page .side-footer { display: none; }
  html.workspace-page .nav-item,
  html.workspace-page .nav-item.active {
    flex: 0 0 auto;
    min-height: 42px;
    gap: 6px;
    padding: 7px 9px;
    border-radius: 4px;
    box-shadow: none;
    font-size: 12px;
  }
  html.workspace-page .nav-item.active { background: #414943; }
  html.workspace-page .main-content { gap: 10px; padding: 17px 12px 36px; }
  html.workspace-page .tenant-picker > span { display: none; }
  html.workspace-page .page-head { align-items: flex-start; flex-direction: column; padding-bottom: 12px; }
  html.workspace-page .breadcrumb { font-size: 11px; }
  html.workspace-page .page-head h1 { max-width: 100%; font-size: clamp(29px, 8vw, 39px); line-height: 1.08; }
  html.workspace-page .hero-side { width: 100%; justify-content: space-between; }
  html.workspace-page #workflow-rail { display: flex; width: 100%; }
  html.workspace-page .workflow-rail a { flex: 0 0 auto; }
  html.workspace-page .panel { padding: 17px 14px; }
  html.workspace-page #result { padding: 16px 10px; }
  html.workspace-page .section-title,
  html.workspace-page .result-heading { align-items: flex-start; flex-direction: column; }
  html.workspace-page .result-heading > div:last-child { width: 100%; }
  html.workspace-page .result-actions { width: 100%; }
  html.workspace-page .result-actions .button { flex: 1 1 auto; }
  html.workspace-page .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html.workspace-page .metric { min-height: 74px; border-top: 1px solid var(--line); }
  html.workspace-page .metric:nth-child(odd) { border-right: 1px solid var(--line); }
  html.workspace-page .metric:nth-child(even) { border-right: 0; }
  html.workspace-page .metric:nth-child(-n+2) { border-top: 0; }
  html.workspace-page #schedule.schedule { grid-template-columns: repeat(7, minmax(158px, 1fr)); max-height: 62vh; }
  html.workspace-page #schedule.schedule { overscroll-behavior-x: contain; }
  html.workspace-page .first-run-panel { align-items: flex-start; padding: 13px; }
  html.workspace-page .first-run-actions { display: grid; grid-template-columns: 1fr; }
  html.workspace-page .first-run-actions .button { width: 100%; }
  html.workspace-page .demo-context-points { grid-template-columns: 1fr; }
  html.workspace-page .demo-context-point,
  html[dir="rtl"].workspace-page .demo-context-point { padding: 8px 0; border-right: 0; border-left: 0; border-bottom: 1px solid #d8d4ca; }
  html.workspace-page .demo-context-point:last-child { border-bottom: 0; }
  html.workspace-page .contact-form,
  html.workspace-page .store-setup-grid,
  html.workspace-page .preference-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html.workspace-page *, html.workspace-page *::before, html.workspace-page *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

/* Final product pass: one brand mark, one mobile navigation row, and progressive disclosure. */
html.workspace-page .brand-symbol {
  display: grid;
  place-items: center;
  font: 700 21px/1 Georgia, "Times New Roman", serif;
  transform: rotate(-4deg);
}
html.workspace-page .brand strong {
  font: 700 19px/1 Georgia, "Times New Roman", serif;
  letter-spacing: -.035em;
}
html.workspace-page .demo-context-details {
  margin: 8px 0 5px;
  border-top: 1px solid #d8d4ca;
  border-bottom: 1px solid #d8d4ca;
}
html.workspace-page .demo-context-details summary {
  display: flex;
  align-items: center;
  min-height: 42px;
  color: var(--ink);
  cursor: pointer;
  font-size: 12px;
  font-weight: 680;
}
html.workspace-page .demo-context-details summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
html.workspace-page .demo-context-details[open] summary { margin-bottom: 4px; }
html.workspace-page .demo-context-details .demo-context-points {
  margin: 0;
  border: 0;
}
html.workspace-page .demo-context-details .demo-context-point:first-child { padding-inline-start: 0; }
html.workspace-page .start-point-focus {
  outline: 2px solid var(--accent) !important;
  outline-offset: 3px;
}
html.workspace-page .assistant-icon {
  font-size: 0;
  background: #e8e5dc;
  color: var(--ink);
}
html.workspace-page .assistant-icon::after {
  content: "Aa";
  font: 700 12px/1 Georgia, "Times New Roman", serif;
}
html.workspace-page .value-mark { font-size: 0; }
html.workspace-page .value-mark::after {
  content: attr(data-step);
  font: 700 10px/1 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
}

@media (max-width: 760px) {
  html.workspace-page .topbar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 7px 10px;
    flex-wrap: nowrap;
  }
  html.workspace-page .topbar > .brand { grid-column: 1; min-width: 0; }
  html.workspace-page .top-actions {
    grid-column: 2;
    min-width: 0;
    flex-wrap: nowrap;
    gap: 5px;
  }
  html.workspace-page .top-actions > .trial-badge { display: none; }
  html.workspace-page .tenant-picker:has(#tenant-select option:only-child) { display: none; }
  html.workspace-page .top-actions .account { min-width: 0; }
  html.workspace-page .top-actions .account .button { white-space: nowrap; }
  /* The section bar already covers the same destinations; keep the mobile header to one nav row. */
  html.workspace-page #workflow-rail { display: none; }
  html.workspace-page .sidebar {
    scrollbar-width: thin;
    scrollbar-color: #8c938d #262c28;
  }
  html.workspace-page .sidebar::-webkit-scrollbar { display: block; height: 4px; }
  html.workspace-page .sidebar::-webkit-scrollbar-track { background: #262c28; }
  html.workspace-page .sidebar::-webkit-scrollbar-thumb { border-radius: 4px; background: #8c938d; }
  html.workspace-page .nav-item { white-space: nowrap; }
}

@media (max-width: 600px) {
  html.workspace-page .sidebar::after {
    position: sticky;
    right: 0;
    display: grid;
    flex: 0 0 24px;
    place-items: center;
    margin-left: auto;
    background: linear-gradient(90deg, rgba(38, 44, 40, 0), #262c28 45%);
    color: #f4f1e9;
    content: "›";
    font-size: 19px;
    pointer-events: none;
  }
}

@media (max-width: 380px) {
  html.workspace-page .topbar {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
  html.workspace-page .brand > div > span { display: none; }
  html.workspace-page .top-actions {
    grid-column: 1;
    width: 100%;
    justify-content: flex-end;
  }
  html.workspace-page .top-actions .account { margin-left: auto; }
  html.workspace-page .top-actions .account .button { padding-inline: 7px; font-size: 11px; }
  html.workspace-page .top-actions .language-select { width: 86px; min-width: 0; }
  html.workspace-page .top-actions .icon-button { flex: 0 0 34px; }
  html.workspace-page .weight-list label {
    grid-template-columns: minmax(0, 94px) minmax(56px, 1fr) 72px;
    gap: 6px;
    min-width: 0;
    font-size: 10px;
  }
  html.workspace-page .weight-list label > span { min-width: 0; overflow-wrap: anywhere; }
  html.workspace-page .weight-list b { min-width: 0; font-size: 10px; line-height: 1.25; }
  html.workspace-page .shift-row {
    grid-template-columns: minmax(45px, 1fr) 56px 8px 56px 32px;
    gap: 3px;
  }
  html.workspace-page .shift-row input { min-width: 0; padding-inline: 3px; font-size: 10px; }
}

html.workspace-page #shift-list .remove {
  display: grid;
  width: 32px;
  min-width: 32px;
  min-height: 32px;
  place-items: center;
  border: 1px solid #c9c6bd;
  border-radius: 4px;
  color: #743528;
  font-size: 17px;
}
@media (max-width: 380px) {
  html.workspace-page .store-setup-grid,
  html.workspace-page .store-setup-grid > * { min-width: 0; }
}
