/* ==========================================================================
   DataRipple console shell (self-contained) - navy sidebar + Ask Rippler top
   bar, the real app chrome reproduced compactly for the mockups. Pairs with
   chrome.css tokens. Used by the command-center report surface. Review-only.
   ========================================================================== */

.rc-app { display: flex; min-height: 100vh; background: var(--surface-secondary); }

/* ---- sidebar ---------------------------------------------------------- */
.rc-side { width: 244px; flex-shrink: 0; background: var(--shell); color: #cbd5e6; display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh; overflow-y: auto; scrollbar-width: thin; }
.rc-side::-webkit-scrollbar { width: 7px; } .rc-side::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 999px; }
.rc-logo { display: flex; align-items: center; gap: 10px; padding: 16px 18px 14px; color: #fff; font-weight: 700; font-size: 16px; letter-spacing: -.01em; }
.rc-logo .drop { width: 26px; height: 26px; border-radius: 7px; background: var(--brand); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.rc-logo .drop::after { content: ""; width: 10px; height: 10px; border-radius: 50% 50% 50% 2px; background: #fff; transform: rotate(45deg); }
.rc-navgroup { padding: 6px 10px; }
.rc-navlabel { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #92a2b6; padding: 12px 10px 6px; }
.rc-nav { display: flex; align-items: center; gap: 11px; padding: 9px 11px; border-radius: var(--r-md); font-size: 13.5px; color: #b9c4d6; cursor: pointer; margin-bottom: 1px; }
.rc-nav:hover { background: rgba(255,255,255,0.06); color: #fff; }
.rc-nav.on { background: var(--brand); color: #fff; font-weight: 500; }
.rc-nav svg { width: 17px; height: 17px; flex-shrink: 0; opacity: .9; }
.rc-nav .grow { flex: 1; }
.rc-nav .cnt { font-size: 11px; font-weight: 700; background: rgba(255,255,255,0.12); color: #dbe4f0; border-radius: 999px; padding: 1px 7px; }
.rc-nav.on .cnt { background: rgba(255,255,255,0.22); color: #fff; }
.rc-nav.section { color: #fff; font-weight: 600; }
.rc-nav.section.open { background: rgba(204,12,31,0.16); color: #fff; }
.rc-nav.section .chev { transition: transform .15s ease; }
.rc-nav.section.open .chev { transform: rotate(90deg); }
.rc-subnav { margin: 2px 0 4px; padding-left: 12px; border-left: 1px solid rgba(255,255,255,0.09); margin-left: 21px; }
.rc-sub { display: flex; align-items: center; gap: 8px; padding: 7px 11px; border-radius: var(--r-sm); font-size: 13px; color: #9fb0c6; cursor: pointer; margin-bottom: 1px; }
.rc-sub:hover { background: rgba(255,255,255,0.06); color: #fff; }
.rc-sub.on { background: var(--brand); color: #fff; font-weight: 500; }
.rc-sub .grow { flex: 1; }
.rc-sub .cnt { font-size: 10.5px; font-weight: 700; background: rgba(255,255,255,0.12); border-radius: 999px; padding: 1px 6px; color: #dbe4f0; }
.rc-sub.on .cnt { background: rgba(255,255,255,0.22); }

/* ---- main column + top bar ------------------------------------------- */
.rc-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.rc-top { position: sticky; top: 0; z-index: 60; background: var(--shell); display: flex; align-items: center; gap: 16px;
  padding: 9px 20px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.rc-crumb { font-size: 13px; color: #8a99ae; white-space: nowrap; }
.rc-crumb b { color: #fff; font-weight: 500; }
.rc-ask { flex: 1; max-width: 640px; margin: 0 auto; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 999px; padding: 8px 16px; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.rc-ask .di { width: 20px; height: 20px; border-radius: 5px; background: var(--brand); flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; }
.rc-ask .di::after { content: ""; width: 8px; height: 8px; border-radius: 50% 50% 50% 2px; background: #fff; transform: rotate(45deg); }
.rc-ask input { flex: 1; border: none; outline: none; font-family: inherit; font-size: 14px; color: var(--fg-1); background: transparent; }
.rc-ask .cv { color: var(--fg-3); }
.rc-topr { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.rc-topr .ic { color: #aab6c8; cursor: pointer; display: inline-flex; }
.rc-topr .ic:hover { color: #fff; }
.rc-user { display: flex; align-items: center; gap: 9px; cursor: pointer; padding-left: 6px; }
.rc-user .av { width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.rc-user .un { font-size: 13px; color: #fff; font-weight: 500; white-space: nowrap; }
.rc-user .cv { color: #8a99ae; }

.rc-content { flex: 1; padding: 24px 30px 60px; max-width: 1180px; width: 100%; margin: 0 auto; }
@media (max-width: 1080px) { .rc-side { display: none; } }
