/* Owner cabinet: one shell (side navigation) around the owner pages. */
.cab { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 36px; align-items: start; }
.cab-nav { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 2px; }
.cab-group { margin: 16px 12px 4px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8a9490; }
.cab-nav > .cab-group:first-child { margin-top: 0; }
.cab-item { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 10px; color: #3c4a46; font-weight: 600; text-decoration: none; }
.cab-item:hover { background: #eef2ef; text-decoration: none; }
.cab-item.is-active { background: #e4efe9; color: #103e36; font-weight: 800; }
.cab-item em { font-style: normal; font-size: 12px; background: #eef0ee; border-radius: 20px; padding: 0 8px; color: #55605c; }
.cab-item.is-active em { background: #145447; color: #fff; }
.cab-body { min-width: 0; }
/* Pages written as full-width shells size to the content column inside the cabinet. */
.cab .cab-body .discovery-shell { width: auto; max-width: none; margin: 0; }

/* Account settings inside the shell: section tabs on top instead of their own side nav. */
.cab .acc-layout { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 16px; }
.cab .acc-side { display: none; }
.cab .acc-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-bottom: 18px; }
.cab .acc-tabs::-webkit-scrollbar { display: none; }
.cab .acc-tabs a { flex-shrink: 0; padding: 7px 12px; border-radius: 999px; border: 1px solid #e5e7e3; background: #fff; text-decoration: none; font-size: 13px; font-weight: 600; color: #3c4a46; }
.cab .acc-tabs a.is-active { background: #153e35; border-color: #153e35; color: #fff; }

/* Summary */
.cab-attention { background: #fff6df; border: 1px solid #ecd9a8; border-radius: 16px; padding: 14px 18px; margin-bottom: 18px; color: #5c4a12; }
.cab-attention h2 { margin: 0 0 6px; font-size: 1rem; }
.cab-attention ul { margin: 0; padding-left: 18px; }
.cab-attention a { color: #5c4a12; font-weight: 700; }
.cab-ok { margin: 0 0 18px; color: #145331; font-weight: 700; }
.cab-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-bottom: 22px; }
.cab-card { background: #fff; border: 1px solid #e5e7e3; border-radius: 18px; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.cab-card header { display: flex; justify-content: space-between; align-items: baseline; }
.cab-card h2 { margin: 0; font-size: 1.05rem; }
.cab-card header b { font-size: 1.6rem; font-weight: 800; color: #145447; }
.cab-chips { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; min-height: 26px; }
.cab-card-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.cab-activity h2 { font-size: 1rem; margin: 0 0 10px; }
.cab-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.cab-stats > div { background: #fff; border: 1px solid #e5e7e3; border-radius: 16px; padding: 14px 18px; }
.cab-stats b { display: block; font-size: 1.6rem; font-weight: 800; color: #145447; }
.cab-stats span { color: #64706c; font-size: 13px; }

@media (max-width: 899px) {
  .cab { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .cab-nav { position: static; flex-direction: row; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .cab-nav::-webkit-scrollbar { display: none; }
  .cab-group { display: none; }
  .cab-item { flex: 0 0 auto; border: 1px solid #e5e7e3; background: #fff; border-radius: 999px; padding: 7px 12px; font-size: 13px; }
  .cab-item.is-active { background: #153e35; border-color: #153e35; color: #fff; }
  .cab-item.is-active em { background: #fff; color: #153e35; }
}
