/* The account and operations workspaces use the nursery's shared type and icons. */
.workspace-shell {
  --portal-forest: #008000;
  --portal-ink: #183c2a;
  --portal-muted: #687b6d;
  --portal-border: #e1e9e0;
  --portal-surface: #ffffff;
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  min-height: 100dvh;
  border: 0;
  background: var(--portal-surface);
  color: var(--portal-ink);
}
.workspace-shell .workspace-sidebar {
  background: #fff;
  border-right: 1px solid var(--portal-border);
  padding: 29px 16px 18px;
  position: sticky;
  top: 0;
  height: 100dvh;
  overflow-y: auto;
  scrollbar-width: thin;
  display: flex;
  flex-direction: column;
  z-index: 75;
}
.portal-brand {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0 12px 30px;
  color: var(--portal-forest);
}
.portal-brand > .icon {
  width: 32px;
  height: 38px;
  fill: #d5ec9d;
  stroke-width: 1.3;
}
.portal-brand > span {
  font-size: 28px;
  letter-spacing: -0.07em;
  line-height: 1;
  font-weight: 800;
}
.portal-brand > span > span {
  color: #80ad42;
}
.portal-brand small {
  display: block;
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.23em;
  margin-top: 8px;
}
.workspace-shell .sidebar-profile {
  padding: 15px 12px;
  margin: 0 0 26px;
  border: 1px solid #e5ebdf;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 11px;
  background: #ffffff;
}
.workspace-shell .sidebar-profile .avatar {
  width: 37px;
  height: 37px;
  min-width: 37px;
  margin: 0;
  border-radius: 50%;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: var(--portal-forest);
}
.workspace-shell .sidebar-profile h3 {
  font-size: 11px;
  margin: 0 0 4px;
  max-width: 150px;
  overflow-wrap: anywhere;
}
.workspace-shell .sidebar-profile p {
  font-size: 10px;
  margin: 0;
  color: var(--portal-muted);
}
.portal-nav-label {
  margin: 0 12px 13px;
  color: #8a9786;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.portal-nav-items {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.workspace-shell .sidebar-item {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0;
  padding: 11px 12px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  color: #697c6b;
  min-height: 39px;
  text-align: left;
}
.workspace-shell .sidebar-item .icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
.workspace-shell .sidebar-item:hover {
  background: #ffffff;
  color: var(--portal-forest);
}
.workspace-shell .sidebar-item.active {
  background: var(--portal-forest);
  color: #f4fbe9;
  box-shadow: 0 3px 7px #0a472f12;
}
.portal-count {
  margin-left: auto;
  padding: 2px 6px;
  background: #d5f485;
  color: #17482d;
  border-radius: 5px;
  font-size: 9px;
}
.portal-sidebar-footer {
  margin-top: auto;
  padding-top: 24px;
}
.portal-sidebar-footer > .sidebar-item {
  font-size: 10px;
}
.workspace-shell .workspace-note {
  margin-top: 17px;
  border-top: 1px solid var(--portal-border);
  padding: 17px 10px 0;
  font-size: 9px;
  display: flex;
  gap: 8px;
  color: #70806d;
  align-items: flex-start;
  line-height: 1.5;
}
.workspace-shell .workspace-note .icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.workspace-shell .workspace-note small {
  display: block;
  margin-top: 4px;
  font-size: 8px;
  color: #859281;
}
.portal-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.portal-topbar {
  height: 73px;
  padding: 0 34px;
  background: #ffffffeb;
  border-bottom: 1px solid var(--portal-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  position: sticky;
  top: 0;
  z-index: 65;
  backdrop-filter: blur(12px);
}
.portal-topbar-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
}
.portal-breadcrumb {
  color: #7a8d79;
  font-weight: 400;
  margin-left: 3px;
}
.portal-topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.portal-topbar .icon-btn {
  position: relative;
  color: #325b3b;
  width: 33px;
  height: 33px;
  border-radius: 50%;
}
.portal-topbar .icon-btn:hover {
  background: #ffffff;
}
.portal-topbar .icon-btn > .icon {
  width: 18px;
  height: 18px;
}
.portal-test-badge {
  color: #7c6323;
  background: #fff5d8;
  border: 1px solid #ecdfb4;
  border-radius: 5px;
  padding: 5px 7px;
  font-size: 8px;
  font-weight: 600;
}
.portal-topbar-avatar {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  background: #d9e9c8;
  border: 2px solid #fff;
  outline: 1px solid #cfddc2;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  color: #31582d;
}
.portal-unread-dot {
  position: absolute;
  right: 5px;
  top: 4px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7fa63e;
  border: 1px solid #fff;
}
.portal-mobile-toggle,
.portal-sidebar-scrim,
.portal-sidebar-close {
  display: none;
}
.workspace-shell .workspace-content,
.workspace-shell-customer-admin .workspace-content {
  padding: 24px;
  max-width: 1560px;
  width: 100%;
  margin: 0 auto;
}
.workspace-shell .workspace-heading,
.workspace-shell-customer-admin .workspace-heading {
  gap: 18px;
  align-items: center;
  margin-bottom: 20px;
}
.workspace-shell .workspace-heading h1 {
  font-size: clamp(23px, 2.1vw, 31px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.25;
  margin: 0 0 8px;
}
.workspace-shell .workspace-heading p {
  color: var(--portal-muted);
  font-size: 11px;
  line-height: 1.8;
  max-width: 680px;
}
.workspace-shell .portal-eyebrow {
  display: block;
  margin: 0 0 9px;
  font-size: 8px;
  font-weight: 700;
  color: #7f965e;
  letter-spacing: 0.13em;
}
.workspace-shell .workspace-heading .portal-eyebrow {
  font-size: 8px;
  color: #7d8c72;
  line-height: 1;
  margin-bottom: 12px;
}
.workspace-shell .stats-grid,
.workspace-shell-customer-admin .stats-grid {
  gap: 16px;
  margin: 22px 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.workspace-shell .stat-card,
.workspace-shell-customer-admin .stat-card {
  padding: 22px 20px;
  border-radius: 12px;
  border-color: var(--portal-border);
  box-shadow: 0 2px 3px #274a2012;
}
.workspace-shell .stat-card span {
  font-size: 10px;
  margin-bottom: 15px;
}
.workspace-shell .stat-card strong {
  display: block;
  font-size: 27px;
  line-height: 1.3;
  letter-spacing: -0.055em;
}
.workspace-shell .stat-card small {
  font-size: 9px;
  line-height: 1.7;
  margin-top: 8px;
}
.workspace-shell .stat-card:first-child {
  background: var(--portal-forest);
  border-color: var(--portal-forest);
}
.workspace-shell .panel,
.workspace-shell-customer-admin .panel {
  background: #fff;
  border: 1px solid var(--portal-border);
  border-radius: 12px;
  padding: 23px 24px;
  margin-bottom: 23px;
  box-shadow: 0 2px 3px #274a2008;
}
.workspace-shell .panel-heading,
.workspace-shell-customer-admin .panel-heading {
  margin-bottom: 21px;
  gap: 15px;
  align-items: center;
}
.workspace-shell .panel h2,
.workspace-shell .panel-heading h2 {
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -0.025em;
  margin: 0;
}
.workspace-shell .panel-heading p {
  font-size: 10px;
  color: var(--portal-muted);
  line-height: 1.8;
}
.workspace-shell .workspace-columns,
.workspace-shell-customer-admin .workspace-columns {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 22px;
  margin: 0;
}
.workspace-shell .workspace-columns > .panel {
  min-width: 0;
}
.workspace-shell .btn {
  min-height: 34px;
  font-size: 11px;
  padding: 10px 15px;
  border-radius: 6px;
  gap: 8px;
}
.workspace-shell .btn-primary {
  background: var(--portal-forest);
  border-color: var(--portal-forest);
  color: #fff;
}
.workspace-shell .btn-primary:hover {
  background: #008000;
}
.workspace-shell .btn-outline {
  color: #325537;
  border-color: #d7e2cd;
  background: #fff;
}
.workspace-shell .btn-soft {
  background: #ffffff;
  color: #31532c;
}
.workspace-shell .btn-small {
  font-size: 10px;
  min-height: 31px;
  padding: 8px 11px;
}
.workspace-shell .text-link {
  color: var(--portal-forest);
  font-size: 10px;
}
.workspace-shell .tag {
  font-size: 9px;
  border-radius: 5px;
  padding: 5px 8px;
  background: #ffffff;
  color: #4b663b;
  font-weight: 600;
}
.workspace-shell .tag.orange {
  background: #fff4df;
  color: #967231;
}
.workspace-shell .tag.gray {
  background: #ffffff;
  color: #778271;
}
.workspace-shell .data-table th {
  font-size: 8px;
  color: #819077;
  padding: 13px 12px;
  background: #ffffff;
}
.workspace-shell .data-table td {
  font-size: 10px;
  padding: 18px 12px;
  color: #456040;
  line-height: 1.7;
  vertical-align: middle;
  overflow-wrap: anywhere;
}
.workspace-shell .data-table td strong {
  color: #254a2c;
  font-size: 10px;
}
.workspace-shell .data-table td small {
  font-size: 9px;
  color: #7d8e76;
  margin-top: 3px;
  line-height: 1.7;
}
.workspace-shell .data-table .table-actions {
  gap: 7px;
}
.workspace-shell .data-table .table-actions .btn {
  padding: 7px 10px;
  font-size: 9px;
}
.workspace-shell .data-table tr:last-child td {
  border: 0;
}
.workspace-shell .table-wrap {
  border: 1px solid #edf1e7;
  border-radius: 8px;
}
.workspace-shell .table-product {
  min-width: 150px;
}
.workspace-shell .table-product img {
  width: 41px;
  height: 46px;
  object-fit: cover;
  background: #ffffff;
}
.workspace-shell .table-product strong {
  display: block;
}
.workspace-shell .field > span {
  font-size: 10px;
  color: #526b4c;
}
.workspace-shell .field input,
.workspace-shell .field select,
.workspace-shell .field textarea {
  font-size: 12px;
  border-color: #dce5d4;
  border-radius: 6px;
  padding: 11px 12px;
  background: #ffffff;
  color: #274e2f;
}
.workspace-shell .field small {
  font-size: 9px;
}
.workspace-shell .modal-footer {
  gap: 12px;
}
.workspace-shell .modal-footer small {
  line-height: 1.7;
}
.workspace-shell .info-banner {
  font-size: 10px;
  border-radius: 9px;
  background: #ffffff;
  border-color: #dce8ce;
}
.workspace-shell .order-status-select {
  font-size: 10px;
  border-color: #d7e3cd;
  padding: 8px;
  width: 145px;
  max-width: 100%;
}
.portal-welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  background: #0a472f;
  border: 1px solid #0a472f;
  color: #fff;
  border-radius: 14px;
  padding: 28px 31px;
  position: relative;
  overflow: hidden;
}
.portal-welcome::after {
  content: "";
  position: absolute;
  width: 235px;
  height: 235px;
  right: -60px;
  top: -80px;
  border-radius: 50%;
  border: 1px solid #ffffff18;
  pointer-events: none;
}
.portal-welcome .portal-eyebrow {
  color: #d5eeaa;
  margin-bottom: 12px;
}
.portal-welcome h2 {
  font-size: 29px;
  font-weight: 600;
  letter-spacing: -0.045em;
  margin: 0 0 12px;
  color: #fff;
}
.portal-welcome p {
  color: #c4d9bb;
  font-size: 11px;
  line-height: 1.9;
  max-width: 545px;
  margin: 0 0 18px;
}
.portal-welcome .btn-white {
  background: #ffffff;
  color: #008000;
  border: 1px solid #008000;
}
.portal-button-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.portal-light-link {
  color: #e1efcf;
  font-size: 10px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.portal-light-link .icon {
  width: 15px;
  height: 15px;
}
.portal-welcome-art {
  flex-shrink: 0;
  width: 155px;
  height: 130px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #c1e77f12;
}
.portal-welcome-art .icon {
  width: 98px;
  height: 98px;
  stroke: #caeb9a;
  stroke-width: 1;
}
.portal-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 23px 0;
}
.portal-quick {
  position: relative;
  text-align: left;
  border: 1px solid var(--portal-border);
  background: #fff;
  border-radius: 10px;
  padding: 17px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.portal-quick:hover {
  border-color: #9bb875;
  transform: translateY(-2px);
}
.portal-quick > span {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  background: #ffffff;
  border-radius: 8px;
  color: #527735;
  margin-bottom: 4px;
}
.portal-quick > span .icon {
  width: 17px;
  height: 17px;
}
.portal-quick strong {
  font-size: 11px;
  color: #2b5131;
}
.portal-quick small {
  font-size: 9px;
  line-height: 1.7;
  color: #7b8c74;
}
.portal-quick > .icon {
  position: absolute;
  right: 16px;
  top: 23px;
  width: 14px;
  height: 14px;
  color: #7e9970;
}
.portal-empty {
  padding: 30px 15px;
  text-align: center;
  color: #77896e;
}
.portal-empty > .icon {
  width: 34px;
  height: 34px;
  margin: 0 auto 14px;
  color: #92ae77;
  stroke-width: 1.3;
}
.portal-empty h3 {
  font-size: 13px;
  color: #385b32;
  margin: 0 0 8px;
}
.portal-empty p {
  font-size: 10px;
  line-height: 1.9;
  margin: 0 auto 17px;
  max-width: 360px;
}
.portal-appointment {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 0;
  border-bottom: 1px solid #eaf0e4;
}
.portal-appointment:last-child {
  border: 0;
}
.portal-appointment > span {
  align-self: flex-start;
  background: #ffffff;
  padding: 9px;
  border-radius: 8px;
}
.portal-appointment > span .icon {
  width: 18px;
  height: 18px;
  color: #668b45;
}
.portal-appointment > div {
  flex: 1;
}
.portal-appointment h3 {
  font-size: 11px;
  margin: 0 0 5px;
}
.portal-appointment p {
  font-size: 9px;
  color: #7c8d75;
  margin: 0 0 8px;
}
.portal-recommendations {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.workspace-shell .portal-recommendations .product-image {
  height: 170px;
}
.workspace-shell .portal-recommendations .product-card h3 {
  font-size: 12px;
}
.portal-filter {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 11px;
  padding: 0 0 20px;
}
.portal-filter .field:first-child {
  flex: 1 1 220px;
  min-width: 0;
}
.portal-filter .field:not(:first-child) {
  min-width: 145px;
}
.portal-filter .btn {
  margin-bottom: 0;
  min-height: 39px;
}
.portal-filter-note {
  flex-basis: 100%;
  margin: 0;
  color: #86947d;
  font-size: 9px;
  line-height: 1.7;
}
.portal-directory-search {
  display: flex;
  gap: 12px;
  align-items: end;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--portal-border);
}
.portal-directory-search .field {
  flex: 1;
}
.portal-low-stock {
  padding: 4px 8px;
  background: #fff5df;
  color: #9c7132;
  border-radius: 5px;
}
.portal-order-wrap {
  margin: 0 0 20px;
  border: 1px solid #e2eadd;
  border-radius: 10px;
  overflow: hidden;
}
.portal-order-wrap:last-child {
  margin-bottom: 0;
}
.workspace-shell .portal-order-wrap .order-card {
  border: 0;
  margin: 0;
  border-radius: 0;
}
.portal-order-detail-link {
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid #edf2e6;
  padding: 12px 18px;
  background: #ffffff;
}
.portal-definition {
  margin: 20px 0;
}
.portal-definition > div {
  display: grid;
  grid-template-columns: minmax(100px, 0.6fr) minmax(0, 1fr);
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid #e5ebdf;
}
.portal-definition dt {
  font-size: 11px;
  color: #75856b;
}
.portal-definition dd {
  font-size: 12px;
  color: #2d5030;
  margin: 0;
  overflow-wrap: anywhere;
  line-height: 1.8;
}
.portal-security-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 22px;
}
.portal-panel-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  background: #ffffff;
  border-radius: 11px;
  color: #709746;
}
.portal-panel-icon .icon {
  width: 24px;
  height: 24px;
}
.portal-muted {
  color: #7b8c73;
  font-size: 10px;
  line-height: 1.9;
}
.portal-notification {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 0;
  border-bottom: 1px solid #e8eee1;
}
.portal-notification:last-child {
  border: 0;
}
.portal-notification.is-unread h3::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #83a84c;
  display: inline-block;
  margin-left: 9px;
  vertical-align: middle;
}
.portal-notification-symbol {
  padding: 10px;
  border-radius: 50%;
  background: #ffffff;
  color: #6a8b49;
}
.portal-notification-symbol .icon {
  width: 18px;
  height: 18px;
}
.portal-notification > div {
  flex: 1;
  min-width: 0;
}
.portal-notification h3 {
  font-size: 12px;
  margin: 0 0 6px;
}
.portal-notification p {
  font-size: 11px;
  line-height: 1.9;
  margin: 0 0 8px;
  color: #657e5b;
  overflow-wrap: anywhere;
}
.portal-notification time {
  font-size: 9px;
  color: #8b9a82;
}
.portal-missing-photo {
  width: 72px;
  height: 85px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: #ffffff;
  color: #7d9a62;
}
.portal-missing-photo .icon {
  width: 30px;
  height: 30px;
}
.portal-footer {
  margin-top: auto;
  padding: 22px 34px;
  border-top: 1px solid var(--portal-border);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #829079;
  font-size: 9px;
}
.portal-refresh-status {
  padding: 10px 14px;
  border: 1px solid #dbe7cd;
  border-radius: 8px;
  background: #ffffff;
  font-size: 11px;
  color: #607b46;
  margin-bottom: 20px;
}
.workspace-shell .pagination-footer {
  margin: 0 0 25px;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.workspace-shell .settings-line p {
  line-height: 1.9;
}
.workspace-shell .order-card .order-top h3 {
  font-size: 13px;
}
.workspace-shell .order-card p {
  font-size: 10px;
  line-height: 1.8;
}
.workspace-shell .status-track {
  overflow-x: auto;
}
.workspace-shell button:focus-visible,
.workspace-shell a:focus-visible,
.workspace-shell input:focus-visible,
.workspace-shell select:focus-visible {
  outline: 3px solid #9dbf61;
  outline-offset: 3px;
}
@media (max-width: 1200px) {
  .workspace-shell {
    grid-template-columns: 225px minmax(0, 1fr);
  }
  .workspace-shell .workspace-content,
  .workspace-shell-customer-admin .workspace-content {
    padding: 25px 23px;
  }
  .portal-topbar {
    padding: 0 23px;
  }
  .workspace-shell .workspace-columns,
  .workspace-shell-customer-admin .workspace-columns {
    grid-template-columns: 1fr;
  }
  .portal-security-grid {
    grid-template-columns: 1fr;
  }
  .portal-quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .portal-quick {
    padding-right: 25px;
  }
  .workspace-shell .stats-grid,
  .workspace-shell-customer-admin .stats-grid {
    gap: 11px;
  }
  .workspace-shell .stat-card,
  .workspace-shell-customer-admin .stat-card {
    padding: 18px 14px;
  }
}
@media (max-width: 900px) {
  .workspace-shell {
    display: block;
    min-height: 100dvh;
  }
  .workspace-shell .workspace-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 255px;
    height: 100dvh;
    transform: translateX(-100%);
    visibility: hidden;
    transition:
      transform 0.25s ease,
      visibility 0.25s;
    border: 0;
    box-shadow: 8px 0 35px #163a2820;
  }
  .workspace-shell.portal-nav-open .workspace-sidebar {
    transform: none;
    visibility: visible;
  }
  .portal-sidebar-scrim {
    display: block;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: #122f2260;
    z-index: 74;
  }
  .portal-sidebar-scrim[hidden] {
    display: none;
  }
  .portal-mobile-toggle {
    display: grid;
    flex-shrink: 0;
  }
  .portal-sidebar-close {
    position: absolute;
    right: 11px;
    top: 11px;
    display: grid;
    width: 29px;
    height: 29px;
    color: #54764a;
  }
  .portal-topbar {
    height: 65px;
  }
  .portal-main {
    min-height: 100dvh;
  }
  .workspace-shell .workspace-content,
  .workspace-shell-customer-admin .workspace-content {
    padding: 25px 21px;
  }
  .workspace-shell .workspace-heading h1 {
    font-size: 26px;
  }
  .workspace-shell .stats-grid,
  .workspace-shell-customer-admin .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .portal-recommendations {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .portal-topbar {
    padding: 0 15px;
    height: 60px;
  }
  .portal-topbar-title {
    font-size: 10px;
    gap: 8px;
  }
  .portal-breadcrumb,
  .portal-test-badge {
    display: none;
  }
  .portal-topbar-actions {
    gap: 6px;
  }
  .workspace-shell .workspace-content,
  .workspace-shell-customer-admin .workspace-content {
    padding: 23px 14px;
  }
  .workspace-shell .workspace-heading,
  .workspace-shell-customer-admin .workspace-heading {
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 22px;
  }
  .workspace-shell .workspace-heading h1 {
    font-size: 25px;
  }
  .workspace-shell .workspace-heading p {
    font-size: 10px;
    line-height: 1.9;
  }
  .workspace-shell .panel,
  .workspace-shell-customer-admin .panel {
    padding: 18px 14px;
    margin-bottom: 18px;
  }
  .workspace-shell .panel-heading {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 17px;
  }
  .workspace-shell .panel-heading h2 {
    font-size: 14px;
  }
  .workspace-shell .stat-card,
  .workspace-shell-customer-admin .stat-card {
    padding: 18px 14px;
  }
  .workspace-shell .stat-card span {
    font-size: 9px;
    margin-bottom: 10px;
    line-height: 1.6;
  }
  .workspace-shell .stat-card strong {
    font-size: 25px;
  }
  .workspace-shell .stat-card small {
    font-size: 8px;
  }
  .portal-welcome {
    padding: 23px;
  }
  .portal-welcome h2 {
    font-size: 26px;
  }
  .portal-welcome p {
    font-size: 10px;
  }
  .portal-welcome-art {
    display: none;
  }
  .portal-button-row {
    gap: 14px;
  }
  .portal-quick-grid {
    gap: 10px;
    margin: 18px 0;
  }
  .portal-quick {
    padding: 15px;
  }
  .portal-quick strong {
    font-size: 10px;
  }
  .portal-quick small {
    font-size: 8px;
  }
  .portal-filter {
    gap: 10px;
  }
  .portal-filter .field:first-child {
    flex-basis: 100%;
  }
  .portal-filter .field:not(:first-child) {
    flex: 1;
    min-width: 120px;
  }
  .portal-filter .btn {
    font-size: 9px;
  }
  .portal-directory-search {
    flex-wrap: wrap;
  }
  .portal-directory-search .field {
    flex-basis: 100%;
  }
  .workspace-shell .data-table {
    min-width: 580px;
  }
  .workspace-shell .table-wrap {
    max-width: 100%;
  }
  .workspace-shell .portal-recommendations .product-image {
    height: 145px;
  }
  .workspace-shell .order-card {
    padding: 17px 13px;
  }
  .workspace-shell .order-top {
    gap: 12px;
    flex-wrap: wrap;
  }
  .workspace-shell .order-body {
    gap: 13px;
  }
  .workspace-shell .order-body > .btn {
    flex: 1;
    min-width: 110px;
  }
  .portal-notification {
    flex-wrap: wrap;
    gap: 11px;
  }
  .portal-notification > div {
    flex-basis: calc(100% - 60px);
  }
  .portal-notification > .btn {
    margin-left: 48px;
  }
  .portal-definition > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .portal-footer {
    padding: 18px 15px;
    font-size: 8px;
  }
  .portal-footer span:last-child {
    text-align: right;
  }
  .workspace-shell .form-grid {
    grid-template-columns: 1fr;
  }
  .workspace-shell .address-cards-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .workspace-shell .settings-line {
    gap: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .workspace-shell .workspace-sidebar,
  .portal-quick {
    transition: none;
  }
}

.portal-tracking,
.portal-shipment-editor {
  margin-top: 25px;
  padding-top: 22px;
  border-top: 1px solid #e2eadd;
}
.portal-tracking h3,
.portal-shipment-editor h3 {
  color: #294f31;
  font-size: 15px;
  margin: 0 0 12px;
}
.portal-tracking .panel-heading {
  margin-bottom: 17px;
}
.portal-tracking .panel-heading h3 {
  margin: 0;
}
.portal-shipment {
  display: flex;
  gap: 15px;
  padding: 18px;
  border-radius: 10px;
  background: #ffffff;
  margin-bottom: 20px;
}
.portal-shipment > span {
  color: #5c8440;
}
.portal-shipment > span > .icon {
  width: 25px;
  height: 25px;
}
.portal-shipment > div {
  min-width: 0;
}
.portal-shipment strong {
  color: #2d5333;
  font-size: 13px;
}
.portal-shipment p {
  font-size: 11px;
  line-height: 1.8;
  color: #68805c;
  margin: 6px 0;
  overflow-wrap: anywhere;
}
.portal-shipment small {
  display: block;
  color: #89977c;
  font-size: 9px;
  margin-top: 9px;
}
.portal-timeline {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.portal-timeline li {
  display: flex;
  gap: 16px;
  position: relative;
  padding: 0 0 24px;
}
.portal-timeline li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 14px;
  bottom: 0;
  width: 1px;
  background: #dbe6cd;
}
.portal-timeline li > span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #739b4c;
  border: 2px solid #e7f1db;
  flex-shrink: 0;
  margin-top: 3px;
}
.portal-timeline strong {
  display: block;
  color: #2d5333;
  font-size: 12px;
}
.portal-timeline p {
  font-size: 11px;
  line-height: 1.8;
  color: #728468;
  margin: 5px 0;
  overflow-wrap: anywhere;
}
.portal-timeline time {
  font-size: 9px;
  color: #93a086;
}
.portal-ticket-meta {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-wrap: wrap;
  margin: 15px 0 22px;
  font-size: 10px;
  color: #829174;
  overflow-wrap: anywhere;
}
.portal-conversation {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 22px 0;
}
.portal-message {
  padding: 18px;
  background: #ffffff;
  border: 1px solid #e1e9d6;
  border-radius: 0 12px 12px;
  margin-right: 25px;
}
.portal-message.is-nursery {
  background: #ffffff;
  border-color: #d7e7c6;
  border-radius: 12px 0 12px 12px;
  margin: 0 0 0 25px;
}
.portal-message > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.portal-message strong {
  font-size: 11px;
  color: #365b30;
}
.portal-message time {
  color: #8b9c7d;
  font-size: 9px;
}
.portal-message p {
  font-size: 12px;
  color: #5b7650;
  line-height: 1.9;
  margin: 12px 0 0;
  overflow-wrap: anywhere;
}
.portal-ticket-status {
  display: flex;
  align-items: end;
  gap: 12px;
  padding-block: 18px;
  border-top: 1px solid #e4ecda;
  margin-bottom: 18px;
}
.portal-ticket-status .field {
  min-width: 180px;
}
.catalog-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 30px;
  font-size: 13px;
  color: #718464;
}
.service-catalog .catalog-search-row {
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}
.service-catalog .catalog-search-row > .search-field {
  flex: 1 1 240px;
}
.service-catalog .catalog-search-row > span {
  font-size: 11px;
  color: #829172;
}
@media (max-width: 600px) {
  .portal-shipment {
    padding: 15px;
    gap: 12px;
  }
  .portal-tracking .panel-heading {
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
  }
  .portal-ticket-status {
    flex-wrap: wrap;
  }
  .portal-ticket-status .field {
    flex: 1;
  }
  .portal-message {
    margin-right: 13px;
    padding: 15px;
  }
  .portal-message.is-nursery {
    margin-left: 13px;
  }
  .service-catalog .catalog-search-row > span {
    flex-basis: 100%;
  }
}
