.st-shell {
  --st-current-sidebar-width: var(--st-sidebar-width);
  min-height: 100vh;
  position: relative;
}

.st-shell.is-sidebar-collapsed {
  --st-current-sidebar-width: var(--st-sidebar-collapsed-width);
}

.st-shell-main {
  min-width: 0;
  padding-left: var(--st-current-sidebar-width);
  padding-top: var(--st-header-height);
}

.st-shell-content {
  margin: 0 auto;
  max-width: var(--st-content-max-width);
  min-height: calc(100vh - var(--st-header-height));
  padding: var(--st-space-lg);
  width: 100%;
}

.st-topbar {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--st-border);
  display: grid;
  gap: var(--st-space-md);
  grid-template-columns: auto minmax(0, 1fr) auto;
  height: var(--st-header-height);
  left: 0;
  padding: 0 var(--st-space-lg);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 200;
}

.st-topbar-brand,
.st-topbar-actions,
.st-drawer-header,
.st-notifications-header,
.st-notification-actions,
.st-topbar-title-row {
  align-items: center;
  display: flex;
}

.st-topbar-brand {
  gap: 12px;
  min-width: 0;
}

.st-brand-mark {
  align-items: center;
  background: var(--st-forest-green);
  border-radius: 12px;
  color: #fff;
  display: inline-flex;
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 800;
  height: 36px;
  justify-content: center;
  letter-spacing: 0.08em;
  width: 36px;
}

.st-header-logo {
  display: block;
  height: 36px;
  object-fit: contain;
  width: auto;
}

.st-topbar-context {
  min-width: 0;
  text-align: center;
}

.st-topbar-kicker {
  color: var(--st-text-secondary);
  font-size: 0.74rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.st-topbar-title-row {
  gap: 6px;
  justify-content: center;
  min-width: 0;
}

.st-topbar-breadcrumb,
.st-topbar-breadcrumb-separator {
  color: var(--st-text-secondary);
  flex-shrink: 0;
  font-size: 0.88rem;
}

.st-topbar-title {
  font-size: 1rem;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.st-topbar-actions {
  gap: 4px;
  justify-content: flex-end;
  min-width: 0;
}

.st-topbar-icon-cluster {
  align-items: center;
  display: inline-flex;
  gap: 0;
}

.st-topbar .st-topbar-action-button {
  background: transparent;
  border-color: transparent;
  border-radius: var(--st-radius-button);
  height: 28px;
  min-width: 28px;
  width: 28px;
}

.st-topbar .st-topbar-action-button:hover {
  background: var(--st-hover-bg);
  border-color: transparent;
}

.st-topbar .st-topbar-action-button .st-icon {
  height: 24px;
  width: 24px;
}

.st-topbar .st-notification-trigger.st-topbar-action-button .st-icon {
  transform: translateY(-2px);
}

.st-topbar .st-topbar-action-button .st-notification-badge {
  border-color: rgba(255, 255, 255, 0.94);
  font-size: 0.64rem;
  height: 17px;
  min-width: 17px;
  padding: 0 4px;
  right: -5px;
  top: -8px;
}

.st-shell-sidebar {
  background: var(--st-surface);
  border-right: 1px solid var(--st-border);
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: var(--st-space-lg);
  left: 0;
  padding: 20px 12px 16px;
  position: fixed;
  top: var(--st-header-height);
  transition: width 0.18s ease, padding 0.18s ease;
  width: var(--st-current-sidebar-width);
  z-index: 150;
}

.st-shell.is-sidebar-collapsed .st-shell-sidebar {
  padding-left: 8px;
  padding-right: 8px;
}

.st-sidebar-brand {
  border-bottom: 1px solid var(--st-border-soft);
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 58px;
  padding: 0 8px 16px;
}

.st-sidebar-brand-mark {
  height: 34px;
  width: 34px;
}

.st-sidebar-brand strong {
  font-size: 0.98rem;
}

.st-sidebar-brand span {
  color: var(--st-text-secondary);
  font-size: 0.84rem;
  line-height: 1.45;
}

.st-shell.is-sidebar-collapsed .st-sidebar-brand {
  align-items: center;
  gap: 0;
  justify-content: center;
  min-height: 52px;
  padding-bottom: 12px;
  padding-left: 0;
  padding-right: 0;
}

.st-sidebar-nav {
  display: grid;
  gap: 8px;
}

.st-nav-group {
  display: grid;
  gap: 6px;
}

.st-nav-children {
  display: grid;
  gap: 4px;
  padding-left: 10px;
}

.st-nav-link {
  align-items: center;
  border-radius: var(--st-radius-button);
  color: var(--st-action-default);
  display: flex;
  gap: 10px;
  height: 42px;
  min-width: 0;
  padding: 0 10px;
  position: relative;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.st-nav-link:hover,
.st-nav-group-label {
  color: var(--st-forest-green);
}

.st-nav-link:hover {
  background: var(--st-hover-bg);
}

.st-nav-link.active {
  background: var(--st-selected-bg);
  color: var(--st-forest-green);
  font-weight: 700;
}

.st-nav-link.active .st-nav-icon,
.st-nav-link:hover .st-nav-icon,
.st-nav-group-label .st-nav-icon {
  background: rgba(30, 58, 47, 0.08);
}

.st-nav-link.is-child {
  height: 40px;
  padding-left: 14px;
}

.st-nav-link.is-disabled {
  color: var(--st-steel-gray);
  cursor: default;
}

.st-nav-link.is-disabled:hover {
  background: transparent;
  color: var(--st-steel-gray);
}

.st-nav-group-label {
  cursor: default;
  font-weight: 700;
}

.st-nav-icon {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  flex-shrink: 0;
  height: 24px;
  justify-content: center;
  transition: background-color 0.16s ease;
  width: 24px;
}

.st-nav-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.st-nav-badge {
  background: rgba(255, 194, 60, 0.22);
  border-radius: var(--st-radius-pill);
  color: #9a6500;
  font-size: 0.72rem;
  font-weight: 700;
  margin-left: auto;
  padding: 4px 8px;
}

.st-nav-dot {
  background: var(--st-growth-ring-gold);
  border-radius: 50%;
  flex-shrink: 0;
  height: 8px;
  margin-left: auto;
  width: 8px;
}

.st-shell.is-sidebar-collapsed .st-sidebar-nav {
  justify-items: center;
}

.st-shell.is-sidebar-collapsed .st-nav-link,
.st-shell.is-sidebar-collapsed .st-nav-group-label {
  justify-content: center;
  padding-left: 6px;
  padding-right: 6px;
}

.st-sidebar-footer {
  border-top: 1px solid var(--st-border-soft);
  margin-top: auto;
  padding-top: var(--st-space-md);
}

.st-sidebar-toggle {
  align-items: center;
  background: var(--st-surface);
  border: 1px solid var(--st-border-soft);
  border-radius: var(--st-radius-button);
  color: var(--st-action-default);
  cursor: pointer;
  display: inline-flex;
  gap: 10px;
  height: 42px;
  justify-content: flex-start;
  padding: 0 10px;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
  width: 100%;
}

.st-sidebar-toggle:hover {
  background: var(--st-hover-bg);
  border-color: rgba(30, 58, 47, 0.14);
  color: var(--st-forest-green);
}

.st-shell.is-sidebar-collapsed .st-sidebar-toggle {
  justify-content: center;
  padding: 0;
}

.st-avatar-button {
  align-items: center;
  background: var(--st-surface);
  border: 1px solid var(--st-border-soft);
  border-radius: 999px;
  color: var(--st-text-primary);
  cursor: pointer;
  display: flex;
  gap: 10px;
  height: 42px;
  max-width: 320px;
  min-width: 0;
  padding: 3px 6px 3px 3px;
  position: relative;
  transition: background-color 0.16s ease, border-color 0.16s ease;
}

.st-avatar-button:hover {
  background: var(--st-hover-bg);
  border-color: rgba(30, 58, 47, 0.14);
}

.st-avatar-initials {
  align-items: center;
  background: var(--st-forest-green);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 700;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.st-avatar-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-align: left;
}

.st-avatar-meta strong,
.st-avatar-meta span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.st-avatar-meta strong {
  font-size: 0.84rem;
}

.st-avatar-meta span {
  color: var(--st-text-secondary);
  font-size: 0.75rem;
}

.st-popover-backdrop {
  background: transparent;
  border: 0;
  inset: 0;
  padding: 0;
  position: fixed;
  z-index: 230;
}

.st-profile-menu,
.st-notifications-panel {
  overflow: hidden;
  position: fixed;
  right: var(--st-space-lg);
  top: calc(var(--st-header-height) + 12px);
  z-index: 240;
}

.st-profile-menu {
  max-height: calc(100vh - var(--st-header-height) - 24px);
  overflow-y: auto;
  width: min(340px, calc(100vw - 32px));
}

.st-profile-menu-header {
  align-items: center;
  display: flex;
  gap: 14px;
}

.st-profile-avatar {
  align-items: center;
  background: linear-gradient(180deg, var(--st-forest-green) 0%, #294b3d 100%);
  border-radius: 18px;
  color: #fff;
  display: inline-flex;
  flex-shrink: 0;
  font-size: 1rem;
  font-weight: 700;
  height: 52px;
  justify-content: center;
  width: 52px;
}

.st-profile-menu-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.st-profile-menu-company {
  color: var(--st-forest-green);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.st-profile-menu-copy strong,
.st-profile-menu-copy span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.st-profile-menu-copy span {
  color: var(--st-text-secondary);
  font-size: 0.82rem;
}

.st-profile-company-list,
.st-menu-list {
  display: grid;
  gap: 8px;
}

.st-company-option,
.st-menu-item {
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--st-radius-button);
  color: var(--st-text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  padding: 10px 12px;
  text-align: left;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
  width: 100%;
}

.st-company-option:hover,
.st-menu-item:hover {
  background: var(--st-hover-bg);
  border-color: rgba(30, 58, 47, 0.12);
}

.st-company-option.is-active {
  background: var(--st-selected-bg);
  color: var(--st-forest-green);
  font-weight: 700;
}

.st-company-option-meta,
.st-menu-item-meta {
  color: var(--st-text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
}

.st-menu-item-leading {
  align-items: center;
  display: inline-flex;
  gap: 10px;
}

.st-menu-toggle {
  gap: 12px;
}

.st-menu-switch {
  align-items: center;
  background: rgba(30, 58, 47, 0.14);
  border-radius: var(--st-radius-pill);
  display: inline-flex;
  flex-shrink: 0;
  height: 15.4px;
  justify-content: flex-start;
  padding: 1.4px;
  transition: background-color 0.16s ease;
  width: 28px;
}

.st-menu-switch > span {
  background: var(--st-surface);
  border-radius: 50%;
  box-shadow: var(--st-shadow-soft);
  display: block;
  height: 12.6px;
  transition: transform 0.16s ease;
  width: 12.6px;
}

.st-menu-switch.is-on {
  background: var(--st-chainsaw-orange);
}

.st-menu-switch.is-on > span {
  transform: translateX(12.6px);
}

.st-menu-item.is-critical {
  color: #a64415;
}

.st-notification-trigger {
  position: relative;
}

.st-notification-badge {
  align-items: center;
  background: var(--st-chainsaw-orange);
  border: 2px solid var(--st-surface);
  border-radius: var(--st-radius-pill);
  color: #fff;
  display: inline-flex;
  font-size: 0.68rem;
  font-weight: 800;
  height: 18px;
  justify-content: center;
  min-width: 18px;
  padding: 0 5px;
  position: absolute;
  right: -4px;
  top: -4px;
}

.st-avatar-notification-badge {
  right: -2px;
  top: -2px;
}

.st-notifications-panel {
  height: calc(100vh - var(--st-header-height) - 24px);
  gap: 20px;
  padding: 24px 32px;
  width: min(520px, 40vw);
}

.st-notifications-header {
  border-bottom: 1px solid var(--st-border);
  gap: var(--st-space-md);
  justify-content: space-between;
  padding-bottom: 20px;
}

.st-notifications-header h2 {
  color: var(--st-text-primary);
  font-size: 1.25rem;
  line-height: 1;
  margin: 0;
}

.st-notifications-header-actions {
  align-items: center;
  display: inline-flex;
  gap: 8px;
}

.st-notifications-heading,
.st-notifications-title-group {
  align-items: center;
  display: flex;
  gap: 12px;
  min-width: 0;
}

.st-notifications-heading h2,
.st-notifications-title-group h2 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.st-notifications-new-badge {
  align-items: center;
  background: #eaf1ee;
  border-radius: var(--st-radius-pill);
  color: #1b3a2d;
  display: inline-flex;
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 800;
  height: 22px;
  justify-content: center;
  min-width: 52px;
  padding: 0 10px;
}

.st-notification-header-icon-button {
  align-items: center;
  background: #f8f8f7;
  border: 1px solid transparent;
  border-radius: var(--st-radius-button);
  color: var(--st-text-secondary);
  cursor: pointer;
  display: inline-flex;
  flex-shrink: 0;
  height: 28px;
  justify-content: center;
  padding: 0;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
  width: 28px;
}

.st-notification-header-icon-button:hover,
.st-notification-header-icon-button:focus-visible {
  background: var(--st-hover-bg);
  border-color: rgba(30, 58, 47, 0.12);
  color: var(--st-forest-green);
}

.st-notification-header-icon-button .st-icon {
  height: 16px;
  width: 16px;
}

.st-notification-filter-tabs {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.st-notification-filter-tab {
  align-items: center;
  background: var(--st-surface);
  border: 1px solid #e1e2e0;
  border-radius: var(--st-radius-pill);
  color: #69707e;
  cursor: pointer;
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 700;
  height: 32px;
  justify-content: center;
  min-width: 56px;
  padding: 0 17px;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.st-notification-filter-tab:hover,
.st-notification-filter-tab:focus-visible {
  border-color: rgba(30, 58, 47, 0.24);
  color: var(--st-forest-green);
}

.st-notification-filter-tab.is-active {
  background: #1b3a2d;
  border-color: #1b3a2d;
  color: #fff;
}

.st-notification-list {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 18px;
  min-height: 0;
  overflow-y: auto;
}

.st-notification-date-group {
  display: grid;
  gap: 10px;
}

.st-notification-date-label {
  color: #9499a3;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0;
}

.st-notification-group-list {
  display: grid;
  gap: 4px;
}

.st-notification-row {
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--st-radius-card);
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 12px;
  min-height: 60px;
  padding: 12px;
  position: relative;
  transition: background-color 0.16s ease, border-color 0.16s ease;
}

.st-notification-row:hover,
.st-notification-row:focus-visible,
.st-notification-row:focus-within {
  background: #f8f9f8;
  border-color: rgba(30, 58, 47, 0.08);
  outline: none;
}

.st-notification-row.is-unread {
  background: #f5f7f5;
}

.st-notification-row.is-busy {
  cursor: wait;
  opacity: 0.72;
}

.st-notification-icon-wrap {
  position: relative;
}

.st-notification-icon {
  align-items: center;
  background: rgba(30, 58, 47, 0.08);
  border-radius: 10px;
  color: var(--st-forest-green);
  display: inline-flex;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.st-notification-icon .st-icon {
  height: 17px;
  width: 17px;
}

.st-notification-icon.is-job {
  background: #fef2de;
  color: #c47a00;
}

.st-notification-icon.is-quote {
  background: #eaf0fd;
  color: #2563eb;
}

.st-notification-icon.is-payment,
.st-notification-icon.is-success {
  background: #eaf1ee;
  color: var(--st-forest-green);
}

.st-notification-icon.is-warning {
  background: #fff4d7;
  color: #a56600;
}

.st-notification-icon.is-error {
  background: #fee8e5;
  color: #b42318;
}

.st-notification-new-dot {
  background: var(--st-chainsaw-orange);
  border-radius: 50%;
  height: 8px;
  width: 8px;
}

.st-notification-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.st-notification-copy p {
  color: #9499a3;
  font-size: 0.75rem;
  line-height: 1.25;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.st-notification-copy strong {
  color: #15181c;
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.st-notification-meta {
  align-items: flex-end;
  color: #9499a3;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 600;
  gap: 9px;
  min-width: 28px;
  transition: opacity 0.16s ease;
}

.st-notification-actions {
  align-items: center;
  display: inline-flex;
  gap: 6px;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  transition: opacity 0.16s ease;
}

.st-notification-row:hover .st-notification-actions,
.st-notification-row:focus-within .st-notification-actions {
  opacity: 1;
  pointer-events: auto;
}

.st-notification-row:hover .st-notification-meta,
.st-notification-row:focus-within .st-notification-meta {
  opacity: 0;
}

.st-notification-row-action {
  align-items: center;
  background: var(--st-surface);
  border: 1px solid #e1e2e0;
  border-radius: var(--st-radius-button);
  box-shadow: 0 1px 1px rgba(16, 24, 40, 0.05);
  color: #69707e;
  cursor: pointer;
  display: inline-flex;
  height: 30px;
  justify-content: center;
  padding: 0;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
  width: 30px;
}

.st-notification-row-action:hover,
.st-notification-row-action:focus-visible {
  background: #f8f8f7;
  border-color: rgba(30, 58, 47, 0.16);
  color: var(--st-forest-green);
}

.st-notification-row-action:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.st-notification-row-action .st-icon {
  height: 14px;
  width: 14px;
}

.st-notifications-footer {
  align-items: center;
  border-top: 1px solid var(--st-border);
  display: flex;
  flex-shrink: 0;
  gap: 18px;
  justify-content: center;
  padding-top: 10px;
}

.st-notifications-footer-action {
  background: transparent;
  border: 0;
  color: #108339;
  cursor: pointer;
  font-size: 1.125rem;
  font-weight: 800;
  padding: 0;
}

.st-notifications-footer-action.is-muted {
  color: #69707e;
}

.st-notifications-footer-action:disabled {
  color: var(--st-steel-gray);
  cursor: default;
}

.st-notification-settings-view {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}

.st-notification-settings-view .st-grid-stack {
  gap: 12px;
}

.st-notification-settings-view .st-card {
  border: 0;
  box-shadow: none;
  padding: 0;
}

.st-notification-settings-view .st-notification-settings-toolbar {
  gap: 12px;
}

.st-notification-settings-view .st-notification-settings-save-state {
  justify-content: flex-start;
  text-align: left;
}

.st-notification-settings-view .st-notification-settings-actions {
  justify-content: flex-end;
}

.st-notification-settings-view .st-notification-settings-footer {
  background: #fff;
  bottom: 0;
  margin-top: 2px;
  position: sticky;
  z-index: 1;
}

.st-notification-settings-view .st-notification-settings-table th,
.st-notification-settings-view .st-notification-settings-table td {
  padding: 10px 12px;
}

.st-notification-settings-view .st-notification-settings-table tbody th {
  min-width: 150px;
}

.st-notification-settings-view .st-notification-settings-table td {
  width: 92px;
}

.st-empty-shell-state {
  align-items: stretch;
  justify-content: center;
  min-height: 220px;
}

.st-notification-empty-state {
  align-items: center;
  text-align: center;
}

.st-drawer-backdrop {
  background: rgba(28, 35, 38, 0.26);
  inset: 0;
  position: fixed;
  z-index: 250;
}

.st-drawer {
  bottom: 12px;
  left: 12px;
  overflow-y: auto;
  position: fixed;
  top: calc(var(--st-header-height) + 12px);
  width: min(320px, calc(100vw - 24px));
  z-index: 260;
}

.st-drawer-header {
  justify-content: space-between;
}

.st-notifications-header {
  justify-content: space-between;
}

html.st-workspace-open,
body.st-workspace-open {
  overflow: hidden;
}

.st-workspace-root {
  inset: 0;
  position: fixed;
  z-index: 500;
}

.st-workspace-backdrop {
  background: rgba(28, 35, 38, 0.28);
  inset: 0;
  position: absolute;
}

.st-workspace-shell {
  background: var(--st-surface);
  border-left: 1px solid var(--st-border-soft);
  box-shadow: var(--st-shadow-lg);
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  height: 100vh;
  max-width: 100vw;
  overflow: hidden;
  position: absolute;
  right: 0;
  top: 0;
  width: min(100vw, clamp(700px, 60vw, 1200px));
}

.st-workspace-shell.is-fullscreen {
  border-left: 0;
  box-shadow: none;
  inset: 0;
  width: 100vw;
}

.st-workspace-shell.is-fullscreen .st-workspace-close-tab {
  display: none;
}

.st-workspace-close-tab {
  align-items: center;
  background: var(--st-surface);
  border: 1px solid var(--st-border-soft);
  border-radius: 14px 0 0 14px;
  box-shadow: var(--st-shadow-sm);
  color: var(--st-action-default);
  cursor: pointer;
  display: inline-flex;
  height: 48px;
  justify-content: center;
  left: -46px;
  padding: 0;
  position: absolute;
  top: 26px;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
  width: 46px;
}

.st-workspace-close-tab:hover {
  background: var(--st-hover-bg);
  border-color: rgba(30, 58, 47, 0.16);
  color: var(--st-forest-green);
  transform: translateX(-2px);
}

.st-workspace-header {
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--st-border-soft);
  column-gap: var(--st-space-md);
  display: grid;
  grid-template-areas: "heading tools";
  grid-template-columns: minmax(0, 1fr) auto;
  row-gap: 0;
  align-items: center;
  padding: 20px 28px;
  position: sticky;
  top: 0;
  z-index: 2;
}

.st-workspace-heading,
.st-workspace-header-tools,
.st-workspace-navigation,
.st-workspace-title-row {
  align-items: center;
  display: flex;
}

.st-workspace-heading {
  flex: 1 1 auto;
  flex-direction: column;
  gap: 6px;
  grid-area: heading;
  min-width: 0;
  overflow: hidden;
}

.st-workspace-breadcrumb {
  color: var(--st-text-secondary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  width: 100%;
}

.st-workspace-title-row {
  gap: 12px;
  justify-content: flex-start;
  min-width: 0;
  width: 100%;
}

.st-workspace-title {
  font-size: clamp(1.05rem, 1.2vw + 0.9rem, 1.4rem);
  flex: 0 1 auto;
  line-height: 1.2;
  margin: 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: auto;
}

.st-workspace-title-row .st-status-pill {
  flex-shrink: 0;
}

.st-workspace-header-tools {
  flex: 0 0 auto;
  grid-area: tools;
  flex-wrap: nowrap;
  gap: 8px;
  justify-self: end;
  justify-content: flex-end;
  min-width: 0;
  max-width: 100%;
}

.st-workspace-navigation {
  gap: 8px;
  flex-wrap: nowrap;
  min-width: 0;
}

.st-workspace-nav-button {
  min-width: 42px;
  padding: 0;
  width: 42px;
}

.st-workspace-header-tools > * {
  min-width: 0;
}

.st-workspace-navigation {
  flex-shrink: 0;
  justify-content: flex-end;
  margin-left: auto;
}

.st-workspace-content {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.st-workspace-view {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  position: relative;
}

.st-workspace-view-body {
  display: grid;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.st-workspace-view-body.has-context {
  grid-template-columns: minmax(0, 1fr) clamp(320px, 32vw, 360px);
}

.st-workspace-view-body.is-single-column {
  grid-template-columns: minmax(0, 1fr);
}

.st-workspace-primary,
.st-workspace-context {
  min-height: 0;
  overflow: auto;
}

.st-workspace-primary {
  background: var(--st-surface);
}

.st-workspace-context {
  background: linear-gradient(180deg, #fbfcfc 0%, #f8faf9 100%);
  border-left: 1px solid var(--st-border-soft);
}

.st-workspace-section {
  display: grid;
  gap: var(--st-space-md);
  padding: 24px 28px 32px;
}

.st-workspace-mobile-context {
  display: none;
}

.st-workspace-dialog-layer {
  inset: 0;
  position: absolute;
  z-index: 4;
}

.st-workspace-dialog-layer-fixed {
  position: fixed;
  z-index: 80;
}

.st-workspace-dialog-backdrop {
  background: rgba(28, 35, 38, 0.36);
  border: 0;
  cursor: pointer;
  inset: 0;
  padding: 0;
  position: absolute;
  width: 100%;
}

.st-workspace-dialog {
  left: 50%;
  max-height: calc(100dvh - 32px);
  max-width: min(460px, calc(100% - 32px));
  overflow-y: auto;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}

.st-workspace-dialog h3 {
  margin: 0;
}

.st-workspace-mobile-context-details {
  border-top: 1px solid var(--st-border-soft);
}

.st-workspace-mobile-context-details summary {
  color: var(--st-action-default);
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  padding: 16px;
}

.st-workspace-mobile-context-details summary::-webkit-details-marker {
  display: none;
}

.st-workspace-footer {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--st-border-soft);
  column-gap: var(--st-space-md);
  display: flex;
  justify-content: space-between;
  padding: 16px 28px calc(16px + env(safe-area-inset-bottom, 0px));
  position: sticky;
  bottom: 0;
  z-index: 2;
}

.st-workspace-footer-copy {
  color: var(--st-text-secondary);
  margin: 0;
}

.st-workspace-footer-actions {
  display: flex;
  flex-shrink: 0;
  gap: 10px;
}

.st-workspace-footer-actions-mobile {
  display: none;
}

.st-workspace-footer-more {
  flex: 0 0 auto;
  position: relative;
}

.st-workspace-footer-more-backdrop {
  background: transparent;
  border: 0;
  inset: 0;
  padding: 0;
  position: fixed;
  z-index: 0;
}

.st-workspace-footer-more-toggle {
  position: relative;
  width: 100%;
  z-index: 1;
}

.st-workspace-footer-more-toggle.is-icon {
  min-width: 52px;
  padding-left: 14px;
  padding-right: 14px;
}

.st-workspace-footer-more-menu {
  background: var(--st-surface);
  border: 1px solid var(--st-border-soft);
  border-radius: var(--st-radius-card);
  bottom: calc(100% + 8px);
  box-shadow: var(--st-shadow-md);
  display: grid;
  gap: 4px;
  max-width: calc(100vw - 24px);
  min-width: 220px;
  padding: 8px;
  position: absolute;
  right: 0;
  width: max-content;
  z-index: 2;
}

.st-workspace-footer-more-item {
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--st-radius-button);
  color: var(--st-text-primary);
  cursor: pointer;
  display: inline-flex;
  font-weight: 700;
  justify-content: flex-start;
  min-height: 42px;
  padding: 0 12px;
  text-align: left;
  white-space: nowrap;
  width: 100%;
}

.st-workspace-footer-more-item:hover {
  background: var(--st-hover-bg);
  border-color: rgba(30, 58, 47, 0.14);
  color: var(--st-forest-green);
}

.st-workspace-root :is(button, [href], input, select, textarea, [tabindex]):focus-visible {
  box-shadow: 0 0 0 4px rgba(30, 58, 47, 0.14);
  outline: 2px solid rgba(30, 58, 47, 0.32);
  outline-offset: 2px;
}

.st-workspace-header-close {
  flex-shrink: 0;
}

.st-mobile-only,
.st-mobile-only.st-icon-button,
.st-mobile-only.st-chrome-button {
  display: none;
}

.st-shell-skeleton {
  animation: st-fade-in 0.18s ease-out;
  background: linear-gradient(180deg, rgba(248, 249, 250, 0.82) 0%, rgba(248, 249, 250, 0.96) 100%);
  inset: 0;
  padding-top: var(--st-header-height);
  pointer-events: none;
  position: fixed;
  z-index: 300;
}

.st-shell-skeleton-header,
.st-shell-skeleton-body {
  display: grid;
}

.st-shell-skeleton-header {
  align-items: center;
  gap: 20px;
  grid-template-columns: 180px minmax(0, 1fr) 180px;
  height: var(--st-header-height);
  left: 0;
  padding: 0 var(--st-space-lg);
  position: fixed;
  right: 0;
  top: 0;
}

.st-shell-skeleton-body {
  gap: var(--st-space-lg);
  grid-template-columns: var(--st-current-sidebar-width) minmax(0, 1fr);
  min-height: calc(100vh - var(--st-header-height));
}

.st-shell-skeleton-sidebar,
.st-shell-skeleton-content {
  display: grid;
  gap: 12px;
  padding: var(--st-space-lg);
}

.st-shell-skeleton-brand,
.st-shell-skeleton-title,
.st-shell-skeleton-actions,
.st-shell-skeleton-nav-item,
.st-shell-skeleton-line,
.st-shell-skeleton-panel {
  animation: st-shimmer 1.4s ease-in-out infinite;
  background: linear-gradient(90deg, rgba(226, 232, 240, 0.65) 25%, rgba(255, 255, 255, 0.95) 50%, rgba(226, 232, 240, 0.65) 75%);
  background-size: 200% 100%;
  border-radius: 999px;
  display: block;
}

.st-shell-skeleton-brand {
  height: 18px;
  width: 120px;
}

.st-shell-skeleton-title {
  height: 16px;
  justify-self: center;
  width: min(320px, 100%);
}

.st-shell-skeleton-actions {
  height: 18px;
  justify-self: end;
  width: 128px;
}

.st-shell-skeleton-nav-item {
  height: 42px;
}

.st-shell-skeleton-nav-item.short {
  width: 70%;
}

.st-shell-skeleton-line {
  height: 18px;
  width: 55%;
}

.st-shell-skeleton-line.wide {
  height: 26px;
  width: 32%;
}

.st-shell-skeleton-panel {
  border-radius: var(--st-radius-card);
  height: 180px;
}

@keyframes st-fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (max-width: 1024px) {
  .st-shell-main {
    padding-left: 0;
  }

  .st-shell-sidebar {
    display: none;
  }

  .st-topbar {
    padding: 0 var(--st-space-md);
  }

  .st-topbar-context {
    text-align: left;
  }

  .st-topbar-title-row {
    justify-content: flex-start;
  }

  .st-shell-content {
    padding: 20px var(--st-space-md) 24px;
  }

  .st-mobile-only,
  .st-mobile-only.st-icon-button,
  .st-mobile-only.st-chrome-button {
    display: inline-flex;
  }

  .st-menu-item.st-mobile-only {
    display: flex;
  }

  .st-desktop-only {
    display: none !important;
  }

  .st-shell-skeleton-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .st-avatar-meta {
    display: none;
  }

  .st-shell-content {
    padding: var(--st-space-md);
  }

  .st-topbar-actions {
    gap: 8px;
  }

  .st-notifications-panel {
    padding: 20px;
    right: 12px;
    width: min(440px, calc(100vw - 24px));
  }

  .st-notification-row {
    align-items: flex-start;
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .st-notification-meta {
    align-items: center;
    flex-direction: row;
    grid-column: 2;
  }

  .st-notification-actions {
    grid-column: 2;
    justify-content: flex-start;
    opacity: 1;
    pointer-events: auto;
    position: static;
    transform: none;
  }

  .st-notification-row:hover .st-notification-meta,
  .st-notification-row:focus-within .st-notification-meta {
    opacity: 1;
  }
}

@media (max-width: 430px) {
  .st-topbar {
    gap: 10px;
    padding: 0 12px;
  }

  .st-header-logo {
    height: 36px;
  }

  .st-shell-content {
    padding: 12px;
  }

  .st-drawer,
  .st-profile-menu,
  .st-notifications-panel {
    border-radius: 0;
    bottom: 0;
    left: 0;
    max-height: none;
    right: 0;
    top: var(--st-header-height);
    width: auto;
  }

  .st-drawer {
    width: auto;
  }

  .st-notifications-panel {
    padding: 18px;
  }

  .st-notifications-header {
    padding-bottom: 16px;
  }

  .st-notifications-footer {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }

  .st-notifications-footer-action {
    font-size: 1rem;
    min-height: 32px;
  }

  .st-shell-skeleton-header {
    grid-template-columns: 110px minmax(0, 1fr) 90px;
    padding: 0 12px;
  }
}

@media (max-width: 699px) {
  .st-workspace-backdrop,
  .st-workspace-close-tab {
    display: none;
  }

  .st-workspace-shell {
    border-left: 0;
    box-shadow: none;
    inset: 0;
    width: auto;
  }

  .st-workspace-header {
    gap: 12px;
    padding: calc(12px + env(safe-area-inset-top, 0px)) 16px 14px;
  }

  .st-workspace-title {
    font-size: 1rem;
  }

  .st-workspace-header-tools {
    gap: 6px;
  }

  .st-workspace-content {
    display: block;
    overflow: auto;
  }

  .st-workspace-view-body,
  .st-workspace-view-body.has-context,
  .st-workspace-view-body.is-single-column {
    display: block;
    min-height: auto;
    overflow: visible;
  }

  .st-workspace-primary,
  .st-workspace-context {
    overflow: visible;
  }

  .st-workspace-context {
    display: none;
  }

  .st-workspace-section {
    padding: 18px 16px 22px;
  }

  .st-workspace-mobile-context {
    display: block;
  }

  .st-workspace-dialog-layer {
    position: fixed;
  }

  .st-workspace-dialog {
    left: 16px;
    max-height: calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 32px);
    max-width: none;
    right: 16px;
    bottom: max(16px, calc(env(safe-area-inset-bottom, 0px) + 16px));
    top: auto;
    transform: none;
    width: auto;
  }

  .st-workspace-title-row {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .st-workspace-footer {
    align-items: stretch;
    bottom: 0;
    flex-direction: column;
    padding-left: 16px;
    padding-right: 16px;
  }

  .st-workspace-footer-copy {
    display: -webkit-box;
    font-size: 0.82rem;
    line-height: 1.35;
    max-height: 2.7em;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .st-workspace-footer-actions {
    justify-content: stretch;
    flex-wrap: wrap;
    width: 100%;
  }

  .st-workspace-footer-actions > * {
    flex: 1 1 140px;
    min-width: 0;
  }

  .st-workspace-footer-actions .st-btn {
    min-width: 0;
    white-space: normal;
    width: 100%;
  }

  .st-workspace-footer-actions-mobile > .st-workspace-footer-more {
    flex: 0 0 auto;
  }

  .st-workspace-footer-actions-desktop {
    display: none;
  }

  .st-workspace-footer-actions-mobile {
    display: flex;
  }
}
