/* Final workspace shell, based on the supplied subscription-board direction. */
.workspace {
  --green: #164c3d;
  --green-dark: #103c30;
  --lime: #dce8df;
  --ink: #181b19;
  --muted: #62666a;
  --paper: #fafbfa;
  --line: #e2e6e2;
  padding-left: 220px;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-feature-settings: normal;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
}

/* Light navigation rail; the brand is a wordmark inside the workspace. */
.workspace .sidebar {
  width: 220px;
  padding: 24px 14px 19px;
  background: #f5f7f5;
  color: var(--ink);
  border-right: 1px solid var(--line);
  box-shadow: none;
}
.workspace .sidebar .workspace-brand,
.workspace .sidebar .brand {
  padding: 0 12px 26px;
  color: #164c3d;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1.1px;
  line-height: 1.05;
}
.workspace .workspace-brand img,
.workspace .workspace-brand > svg { display: none; }
.workspace .store-switch {
  margin: 0 3px 25px;
  padding: 10px 11px;
  min-height: 44px;
  background: #fff;
  border: 1px solid #dfe5df;
  border-radius: 6px;
  color: #37413b;
  font-size: 12px;
}
.workspace .store-switch select { color: #37413b; font-size: 12px; font-weight: 400; }
.workspace .store-switch > svg { color: #505b53; }
.workspace .nav-caption {
  margin: 0 12px 10px;
  color: #6a736c;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1px;
}
.workspace .sidebar nav { gap: 4px; }
.workspace .nav-item {
  min-height: 44px;
  padding: 10px 12px;
  gap: 11px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: #252c27;
  font-size: 14.5px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.4;
  box-shadow: none;
}
.workspace .nav-item > svg { width: 21px; height: 21px; color: #1f2922; opacity: 1; stroke-width: 1.6; }
.workspace .nav-item:hover { background: #eaf0ea; color: #173b2c; }
.workspace .nav-item.active {
  background: #dce8df;
  border-color: transparent;
  color: #173b2c;
  font-weight: 600;
  box-shadow: none;
}
.workspace .nav-item.active > svg { color: #173b2c; }
.workspace .sidebar-extra { margin-top: 22px; padding-top: 16px; border-color: #dfe5df; }
.workspace .sidebar-user { padding-top: 18px; border-color: #dfe5df; }
.workspace .sidebar-user .tiny-avatar { width: 32px; height: 32px; background: #dce8df; color: #164c3d; font-weight: 600; }
.workspace .sidebar-user strong { color: #29362d; font-size: 12px; font-weight: 600; max-width: 118px; }
.workspace .sidebar-user small { color: #626c65; font-size: 11px; }
.workspace .sidebar-user .icon-btn { color: #455c4c; }
.workspace .sidebar-user { gap: 8px; padding-inline: 5px; }
.workspace .footer-store-selection { flex: 1; min-width: 0; }
.workspace .footer-store-selection .reference-store-select {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline-offset: 3px;
  appearance: none;
  background: transparent;
  color: #164c3d;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
  text-overflow: ellipsis;
}
.workspace .footer-store-selection small { display: block; margin-top: 2px; }
.workspace .footer-store-selection option { background: #fff; color: #181b19; }
.workspace .sidebar-user > svg { flex: 0 0 14px; width: 14px; height: 14px; color: #6b796d; }

/* Desktop account controls sit beside the page heading, without a header bar. */
.workspace .topbar {
  position: relative;
  height: 0;
  padding: 0;
  gap: 16px;
  background: #fafbfa;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.workspace .topbar .breadcrumb { display: none; color: #717971; font-size: 12px; gap: 9px; }
.workspace .topbar .breadcrumb strong { color: #455448; font-size: 12px; font-weight: 500; }
.workspace .topbar .breadcrumb svg { width: 13px; height: 13px; }
.workspace .topbar .avatar { height: 32px; width: 32px; border: 1px solid #dce4dc; background: #e7eee5; color: #315039; font-size: 11px; box-shadow: none; }
.workspace .topbar > .row { position: absolute; top: 28px; right: 32px; z-index: 36; }
.workspace .topbar .top-store-label, .workspace .topbar > .row > .btn { display: none; }
.workspace .mobile-workspace-brand, .workspace .mobile-store-name { display: none; }
.workspace .content { max-width: 1440px; padding: 28px 32px 50px; margin-inline: auto; }
.workspace .page-heading { margin-bottom: 23px; padding-right: 52px; }
.workspace h1,
.workspace .page-heading h1,
.workspace .workspace-welcome h1,
.workspace .first-canvas h1,
.workspace .admin-store-title h1 {
  color: #181b19;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.85px;
}
.workspace h2,
.workspace .empty h2,
.workspace .first-gallery-heading h2,
.workspace .subscription-card h2,
.workspace .store-card h2,
.workspace .compact-setup-basics .card-header h2 {
  color: #181b19;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.45px;
}
.workspace h3,
.workspace .workspace-checklist-card .checklist-heading h3 {
  color: #181b19;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -.2px;
}
.workspace .content p,
.workspace .page-heading p,
.workspace .card-header p,
.workspace .empty p,
.workspace .workspace-products-card .empty p {
  color: #62666a;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
}
.workspace .page-heading p { margin-top: 7px; }
.workspace .field label { color: #242c26; font-size: 13px; font-weight: 500; }
.workspace .field .hint, .workspace .hint { color: #62666a; font-size: 12px; font-weight: 400; }
.workspace .card,
.workspace .stat,
.workspace .store-card {
  padding: 22px;
  background: #fff;
  border: 1px solid #e2e6e2;
  border-radius: 9px;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.workspace .card-header { margin-bottom: 20px; }
.workspace .dashboard-stats { gap: 15px; margin-bottom: 21px; }
.workspace .dashboard-stats .stat { padding: 18px; min-height: 0; border-color: #e2e6e2; border-radius: 9px; box-shadow: none; }
.workspace .dashboard-stats .stat-label { color: #62666a; font-size: 12px; font-weight: 400; }
.workspace .dashboard-stats strong { color: #181b19; font-size: 28px; font-weight: 700; letter-spacing: -.7px; }
.workspace .dashboard-stats .subscription-stat { font-size: 22px; font-weight: 700; }
.workspace .dashboard-stats .stat-icon { color: #3d6a4d; background: #edf3ec; border-color: #e0e9df; }
.workspace .admin-stats { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.workspace .admin-stats .stat { padding: 16px; }
.workspace .admin-stats .stat strong { font-size: 26px; font-weight: 700; }
.workspace .quick-action { background: #fff; border-color: #e2e6e2; border-radius: 8px; box-shadow: none; }
.workspace .quick-action:hover { transform: none; border-color: #c5d5c7; box-shadow: none; }
.workspace .quick-action strong { font-weight: 600; }
.workspace .quick-action .quick-icon { background: #edf3ec; color: #3d6a4d; border-color: #e0e9df; border-radius: 6px; }
.workspace .workspace-store-link { border-color: #e2e6e2; border-radius: 8px; }

/* Replace former solid green dashboard/subscription panels with white cards. */
.workspace .workspace-welcome,
.workspace .subscription-card {
  min-height: 0;
  background: #fff;
  border: 1px solid #e2e6e2;
  border-radius: 9px;
  color: #181b19;
  box-shadow: none;
}
.workspace .workspace-welcome { padding: 23px 25px; }
.workspace .workspace-welcome:before,
.workspace .workspace-welcome:after,
.workspace .subscription-card:before,
.workspace .subscription-card:after { display: none; }
.workspace .workspace-welcome p,
.workspace .subscription-card p { color: #62666a; font-size: 14px; }
.workspace .workspace-welcome .eyebrow,
.workspace .subscription-card .eyebrow { color: #55735b; font-size: 11px; font-weight: 500; letter-spacing: 1px; }
.workspace .workspace-welcome .eyebrow > span { background: #53775b; box-shadow: none; }
.workspace .workspace-welcome .welcome-actions > small { color: #62666a; font-size: 12px; }
.workspace .subscription-card .sub-price { color: #181b19; font-size: 34px; font-weight: 700; letter-spacing: -.9px; }
.workspace .subscription-card .sub-price small { color: #62666a; font-size: 13px; }
.workspace .progress-track > span { background: #6c9465; }
.workspace .completion-count { border-radius: 7px; background: #edf3ec; color: #3d684b; }

/* Controls follow the compact reference proportions. */
.workspace .btn {
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: none;
}
.workspace .btn:not(.secondary):not(.danger):not(.ghost) { background: #164c3d; color: #fff; box-shadow: none; }
.workspace .btn:not(.secondary):not(.danger):not(.ghost):hover { background: #103e31; transform: none; box-shadow: none; }
/* Earlier sheets mark the lime/photographic CTA colors as important. */
.workspace .btn.lime,
.workspace .first-canvas .btn { background: #164c3d !important; color: #fff !important; box-shadow: none; }
.workspace .btn.lime:hover,
.workspace .first-canvas .btn:hover { background: #103e31 !important; color: #fff !important; box-shadow: none; }
.workspace .btn.secondary { background: #fff; color: #293c30; border-color: #d9e1da; }
.workspace .btn.secondary:hover { background: #f3f6f2; border-color: #b8ccbc; }
.workspace .btn.ghost { background: transparent; color: #164c3d; box-shadow: none; }
.workspace .btn.danger { background: #fff; color: #963c33; border-color: #e9c9c4; }
.workspace .btn.small, .workspace .topbar .btn.small { min-height: 44px; font-size: 13px; }
.workspace .field input,
.workspace .field select,
.workspace .field textarea,
.workspace .control,
.workspace .compact-store-setup .url-input {
  min-height: 44px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #d8dfd9;
  border-radius: 6px;
  color: #181b19;
  font-size: 14px;
  font-weight: 400;
  box-shadow: none;
}
.workspace .field input:focus,
.workspace .field select:focus,
.workspace .field textarea:focus { border-color: #6c9178; box-shadow: 0 0 0 3px #164c3d0c; }
.workspace button:focus-visible, .workspace a:focus-visible { outline: 2px solid #568267; outline-offset: 3px; }
.workspace .compact-store-setup .url-input { padding: 0; background: #f8faf7; }
.workspace .compact-store-setup .url-input input { min-height: 44px; min-width: 0; padding: 10px 8px 10px 3px; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.workspace .compact-setup-actions .btn { min-height: 44px; }
.workspace .compact-setup-optional { border-color: #e2e6e2; border-radius: 7px; background: #f8faf7; }
.workspace .compact-setup-optional > summary { color: #253c2e; font-size: 13px; }
.workspace .compact-setup-upload { min-height: 126px; border-radius: 7px; }
.workspace .compact-setup-upload input[type=file] { min-height: 0; padding: 0; border: 0; }
.workspace .compact-setup-optional input[type=color] { width: 42px; height: 42px; min-height: 42px; padding: 4px; }
.workspace .tabs a, .workspace .tabs button { font-size: 14px; font-weight: 400; }
.workspace .tabs .active { color: #164c3d; border-color: #164c3d; font-weight: 600; }
.workspace table, .workspace td { font-size: 13px; }
.workspace td { padding: 13px 14px; border-color: #edf0ed; }
.workspace th { padding: 12px 14px; background: #f6f8f5; color: #626b64; font-size: 12px; font-weight: 600; text-transform: none; letter-spacing: 0; }
.workspace .product-cell strong { font-size: 13px; font-weight: 600; }
.workspace .table-scroll { border-radius: 6px; }
.workspace .info-row { padding-block: 12px; font-size: 13px; }
.workspace .info-row strong { font-weight: 600; }

/* Small independent state indicators retain distinct colors. */
.workspace .badge,
.workspace .workspace-welcome .badge,
.workspace .subscription-card .badge {
  padding: 4px 9px;
  background: #f0f2ef;
  border: 1px solid #e4e8e1;
  border-radius: 5px;
  color: #5a625a;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
}
.workspace .badge.green, .workspace .badge.success, .workspace .badge.active { background: #e4f0df; border-color: #d7e6ce; color: #3d6d31; }
.workspace .badge.amber, .workspace .badge.pending { background: #fff1ca; border-color: #f2dfaa; color: #87661e; }
.workspace .badge.red, .workspace .badge.error, .workspace .badge.suspended { background: #fbe5e1; border-color: #f1d0c9; color: #963c33; }
.workspace .badge.blue, .workspace .badge.info { background: #eaf0f8; border-color: #d9e3f0; color: #405f89; }
.workspace .badge.dark { background: #e5ede5; border-color: #d6e2d6; color: #34533b; }
.workspace .notice {
  padding: 12px 14px;
  border: 1px solid #d4e4d1;
  border-radius: 7px;
  background: #eff6eb;
  color: #3c6334;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.65;
  box-shadow: none;
}
.workspace .notice p { color: inherit; font-size: inherit; }
.workspace .notice.amber, .workspace .notice.pending { background: #fff8e6; border-color: #f0dfb1; color: #806123; }
.workspace .notice.error, .workspace .error-text { background: #fff0ed; border: 1px solid #efc6be; color: #943c32; }
.workspace .notice.success { background: #edf5e8; border-color: #d3e3c9; color: #3c6334; }
.workspace .notice.info { background: #eff4f9; border-color: #d8e3ef; color: #405e80; }
.workspace .testing-status { color: #62666a; font-size: 12px; margin-bottom: 18px; }
.workspace .testing-status a { color: #164c3d; }
.workspace .content p.form-footnote { color: #62666a; font-size: 12px; }
.workspace .product-extra > summary { color: #253c2e; font-size: 13px; }
.workspace .product-extra > summary > span { color: #62666a; }
body:has(.workspace) .toast { background: #f1f6ed; color: #315b35; border: 1px solid #d4e4ce; border-radius: 7px; box-shadow: 0 4px 15px #233c2410; }
body:has(.workspace) .toast.error { background: #fff0ed; color: #943c32; border-color: #efc6be; }

@media (max-width: 1100px) {
  .workspace .admin-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .workspace .content { padding-inline: 28px; }
  .workspace .topbar { padding-inline: 28px; }
}
@media (max-width: 850px) {
  .workspace { padding-left: 0; }
  .workspace .sidebar { width: 264px; padding: 26px 16px 22px; }
  .workspace .topbar {
    position: sticky;
    top: 0;
    height: 56px;
    padding: 0 16px;
    gap: 12px;
    background: #164c3d;
    color: #fff;
    border-color: #164c3d;
  }
  .workspace .topbar .mobile-menu { display: inline-flex; min-width: 40px; min-height: 40px; height: 40px; width: 40px; margin-left: -4px; padding: 8px; background: transparent; color: #fff; border-color: transparent; border-radius: 5px; }
  .workspace .topbar .mobile-menu svg { height: 22px; width: 22px; stroke-width: 1.6; }
  .workspace .topbar > .row { position: static; top: auto; right: auto; z-index: auto; }
  .workspace .topbar .breadcrumb { display: none; }
  .workspace .topbar .mobile-workspace-brand { display: inline-flex; padding: 0; margin-right: auto; color: #fff; font-size: 18px; font-weight: 700; letter-spacing: -.4px; line-height: 1; }
  .workspace .topbar .mobile-store-name { display: block; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #e1eee3; font-size: 12px; }
  .workspace .topbar .top-store-label { display: none; }
  .workspace .topbar .avatar { height: 30px; width: 30px; background: #eff6eb; color: #315039; border-color: #eff6eb; }
  .workspace .topbar .btn.small { min-height: 36px; padding: 7px 10px; font-size: 11px; }
  .workspace .content { padding: 25px 24px 116px; }
  .workspace .page-heading { padding-right: 0; }
  .workspace .mobile-bottom-nav { background: #fff; border-color: #dfe5df; border-radius: 12px; box-shadow: 0 4px 15px #1b382310; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .workspace .mobile-bottom-nav a, .workspace .mobile-bottom-nav button { border-radius: 7px; color: #626a64; font-size: 10px; font-weight: 500; }
  .workspace .mobile-bottom-nav a.active { background: #e3ece0; color: #244c31; }
  .workspace .mobile-bottom-nav a.active svg { color: #244c31; }
  .workspace .mobile-bottom-nav svg { width: 21px; height: 21px; stroke-width: 1.6; }
}
@media (max-width: 600px) {
  .workspace .content { padding: 23px 17px 116px; }
  .workspace .topbar { position: sticky; top: 0; }
  .workspace .topbar .mobile-store-name { max-width: 110px; font-size: 11px; }
  .workspace .page-heading { margin-bottom: 21px; }
  .workspace h1, .workspace .page-heading h1, .workspace .workspace-welcome h1,
  .workspace .first-canvas h1, .workspace .admin-store-title h1 { font-size: 27px; font-weight: 700; letter-spacing: -.75px; }
  .workspace h2, .workspace .empty h2, .workspace .first-gallery-heading h2,
  .workspace .subscription-card h2, .workspace .store-card h2,
  .workspace .compact-setup-basics .card-header h2 { font-size: 21px; font-weight: 700; }
  .workspace h3, .workspace .workspace-checklist-card .checklist-heading h3 { font-size: 16px; font-weight: 650; }
  .workspace .content p, .workspace .page-heading p { font-size: 14px; }
  .workspace .card, .workspace .store-card { padding: 20px; border-radius: 8px; }
  .workspace .dashboard-stats .stat { padding: 15px 13px; border-radius: 8px; }
  .workspace .dashboard-stats strong { font-size: 26px; font-weight: 700; }
  .workspace .dashboard-stats .subscription-stat { font-size: 20px; }
  .workspace .dashboard-stats .stat-label { font-size: 11px; }
  .workspace .admin-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workspace .admin-stats .stat { padding: 16px; }
  .workspace .stats:not(.dashboard-stats) .stat { padding: 16px; border-radius: 8px; }
  .workspace .workspace-welcome { padding: 20px; border-radius: 8px; }
  .workspace .workspace-welcome .welcome-actions { flex-wrap: wrap; }
  .workspace .workspace-welcome .welcome-actions > small { max-width: none; font-size: 11px; }
  .workspace .btn, .workspace .btn.small, .workspace .compact-setup-actions .btn { min-height: 48px; font-size: 13px; border-radius: 6px; }
  .workspace .field input, .workspace .field select, .workspace .field textarea, .workspace .control,
  .workspace .compact-store-setup .url-input, .workspace .compact-store-setup .url-input input { min-height: 48px; font-size: 16px; }
  .workspace .field label { font-size: 13px; font-weight: 500; }
  .workspace .compact-setup-card { padding: 22px 18px; }
  .workspace .compact-setup-upload input[type=file] { min-height: 0; }
  .workspace .compact-setup-optional input[type=color] { height: 42px; width: 42px; min-height: 42px; }
  .workspace .notice { padding: 12px 13px; font-size: 13px; }
  .workspace .notice p { font-size: inherit; }
  .workspace .badge { font-size: 11px; }
  .workspace .subscription-card .sub-price { font-size: 32px; }
  .workspace .tabs a, .workspace .tabs button { font-size: 13px; }
  .workspace #product-results td { font-size: 13px; }
  .workspace #product-results td:nth-child(3) { font-weight: 700; color: #181b19; }
  .workspace .content p.form-footnote { font-size: 12px; }
}
@media (max-width: 370px) {
  .workspace .topbar .mobile-store-name { max-width: 85px; font-size: 10px; }
  .workspace .topbar .mobile-workspace-brand { font-size: 17px; }
}
