/* Owner cabinet: one shell (side navigation) around the owner pages. */
.cab { display: grid; grid-template-columns: 244px minmax(0, 1fr); gap: 28px; align-items: start; }
.cab-bar { display: none; }
/* The menu is the one tinted block of the cabinet: the page keeps the background of the site. */
.cab-nav { position: sticky; top: 96px; max-height: calc(100vh - 112px); overflow-y: auto; background: #eef2ef; border: 1px solid #e3e9e2; border-radius: 18px; padding: 8px; }
.cab-block { padding: 10px 0; }
.cab-block + .cab-block { border-top: 1px solid rgba(21, 62, 53, .11); }
.cab-block--head { padding-top: 2px; }
.cab-block:last-child { padding-bottom: 2px; }
.cab-title { display: block; margin-bottom: 2px; padding: 7px 12px; border-radius: 10px; font-size: 20px; font-weight: 800; letter-spacing: -.01em; color: #103e36; text-decoration: none; }
.cab-title:hover { background: #e4ebe6; text-decoration: none; }
.cab-title.is-active { background: #153e35; color: #fff; }
.cab-group { margin: 0 12px 5px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #5f6a66; }
.cab-item { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; color: #3c4a46; font-weight: 600; line-height: 1.25; text-decoration: none; }
.cab-item:hover { background: #e4ebe6; text-decoration: none; }
.cab-item.is-active, .cab-item.is-active:hover { background: #153e35; color: #fff; font-weight: 800; }
.cab-item em { flex: none; font-style: normal; font-size: 12px; background: #fff; border-radius: 20px; padding: 0 8px; color: #55605c; }
.cab-item.is-active em { background: #fff; color: #153e35; }
.cab-body { min-width: 0; }
.cab-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; margin: 0 0 6px; font-size: 12.5px; color: #55605c; }
.cab-crumbs a { color: #55605c; text-decoration: none; }
.cab-crumbs a:hover { color: #103e36; text-decoration: underline; }
.cab-crumbs b { color: #103e36; font-weight: 700; }
/* 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-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; }
.cab-tile { display: flex; flex-direction: column; background: #fff; border: 1px solid #e5e7e3; border-radius: 16px; padding: 14px 16px; color: inherit; text-decoration: none; }
.cab-tile:hover { border-color: #c9d6cf; text-decoration: none; color: inherit; }
.cab-tile-label { font-size: 12.5px; font-weight: 600; color: #64706c; }
.cab-tile b { margin-top: 2px; font-size: 25px; font-weight: 800; line-height: 1.2; color: #145447; }
.cab-tile b.cab-tile-slots { font-size: 18px; padding: 5px 0; }
.cab-tile small { margin-top: 2px; font-size: 12px; color: #64706c; }
.cab-pair { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 12px; margin-bottom: 12px; }
.cab-panel, .ls-panel { background: #fff; border: 1px solid #e5e7e3; border-radius: 16px; padding: 14px 16px; }
.cab-panel h2, .ls-panel h2, .ls-panel h3 { margin: 0 0 8px; font-size: 15px; color: #103e36; }
.cab-chips { display: grid; grid-template-columns: repeat(auto-fit, minmax(112px, 1fr)); gap: 8px; }
.cab-chip { display: flex; flex-direction: column; padding: 7px 10px; border: 1px solid #e5e7e3; border-radius: 12px; color: inherit; text-decoration: none; }
a.cab-chip:hover { border-color: #c9d6cf; text-decoration: none; color: inherit; }
.cab-chip b { font-size: 19px; line-height: 1.1; color: #103e36; }
.cab-chip span { font-size: 12px; line-height: 1.2; color: #64706c; }
.cab-attention { background: #fff6df; border: 1px solid #ecd9a8; border-radius: 16px; padding: 14px 16px; color: #5c4a12; }
.cab-attention h2 { margin: 0 0 6px; font-size: 15px; }
.cab-attention ul { margin: 0; padding: 0; list-style: none; }
.cab-attention li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid #f0e3bf; }
.cab-attention li:first-child { border-top: 0; }
.cab-attention a { flex: none; color: #5c4a12; font-weight: 700; }
.cab-ok { margin: 0; color: #145331; font-weight: 700; }

/* Statistics page */
.ls-panel { margin-bottom: 12px; }
.ls-panel .ms-tabs { margin-bottom: 12px; }
.ls-panel h3 { margin-top: 16px; }
.ls-bars { display: flex; align-items: flex-end; gap: 2px; height: 96px; border-bottom: 1px solid #e5e7e3; }
.ls-bars i { flex: 1; background: #145447; border-radius: 4px 4px 0 0; }

@media (max-width: 899px) {
  .cab { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .cab-bar { display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: #eef2ef; border: 1px solid #e3e9e2; border-radius: 14px; }
  .cab-burger { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #e3e9e2; border-radius: 10px; background: #fff; color: #103e36; }
  .cab-bar-text small { display: block; font-size: 11px; line-height: 1.1; color: #55605c; }
  .cab-bar-text b { font-size: 16px; line-height: 1.2; color: #103e36; }
  .cab-nav { display: none; position: static; max-height: none; overflow: visible; }
  .cab-nav.is-open { display: block; }
  .cab-tiles, .cab-pair { grid-template-columns: minmax(0, 1fr); }
  .cab-crumbs--top { display: none; }
}
