.rwt-manage {
  --bg: #f4f5f3;
  --surface: #fff;
  --surface-muted: #f9f9f7;
  --card: #fff;
  --ink: #26313b;
  --navy: #26313b;
  --muted: #5f6871;
  --faint: #6f777e;
  --line: #e2e4e1;
  --accent: #9d2948;
  --accent-dark: #7f1736;
  --accent-soft: #f6e9ed;
  --blue: #526f86;
  --blue2: #526f86;
  --green: #4d723e;
  --orange: #a36321;
  --red: #a32648;
  --shadow: 0 12px 34px rgba(43,50,54,.07), 0 2px 5px rgba(43,50,54,.04);
  --radius-xl: 24px;
  --radius-lg: 20px;
  --radius-md: 15px;
  min-width: 0;
  color: var(--ink);
  font: inherit;
}
.rwt-manage [hidden] { display: none !important; }
.rwt-manage .manage-heading { margin: 0 0 24px; }
.rwt-manage .manage-heading h1 { margin: 0; color: var(--ink); font-size: clamp(26px, 2.2vw, 36px); line-height: 1.1; letter-spacing: -.03em; }
.rwt-manage .manage-heading p { margin: 8px 0 0; color: var(--muted); }
.rwt-manage .manage-layout { display: grid; grid-template-columns: minmax(180px, 208px) minmax(0, 1fr); align-items: start; gap: 24px; }
.rwt-manage .manage-sections { position: sticky; top: 100px; display: grid; gap: 22px; padding: 18px 12px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.rwt-manage .manage-section { display: grid; gap: 2px; }
.rwt-manage .manage-section-picker { display: none; }
.rwt-manage .manage-advanced { border-top: 1px solid var(--line); padding-top: 14px; }
.rwt-manage .manage-advanced summary { cursor: pointer; color: var(--muted); font-size: 13px; font-weight: 600; padding: 4px 8px; }
.rwt-manage .manage-advanced:not([open]) > a { display: none; }
.rwt-manage .manage-section h2 { margin: 0 8px 5px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.rwt-manage .manage-section a { display: block; min-height: 38px; padding: 9px 10px; border-radius: 13px; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 600; }
.rwt-manage .manage-section a:hover { background: #f6f7f5; }
.rwt-manage .manage-section a.active,
.rwt-manage .manage-section a[aria-current="page"] { background: var(--accent-soft); color: var(--accent-dark); }
.rwt-manage .manage-section a:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 2px; }
.rwt-manage .cc-shell { width: 100%; max-width: none; min-width: 0; margin: 0; padding: 0; background: transparent; }
.rwt-manage .cc-page-intro h1 { font-size: clamp(20px, 2vw, 28px); }
.rwt-manage .cc-page-intro .subcopy { max-width: 72ch; }
.rwt-manage .cc-modal { z-index: 300; }
.rwt-manage .cc-toast { z-index: 310; }
.rwt-manage .cc-dialog-panel { color: var(--ink); }
.rwt-manage .cc-dialog-panel .eyebrow { display: none; }
.rwt-manage .manage-status { padding: 22px; border: 1px solid var(--line); border-radius: 15px; background: #fff; color: var(--muted); }
.rwt-manage .manage-status h2 { margin: 0 0 6px; color: var(--ink); font-size: 20px; }
.rwt-manage .manage-status p { margin: 0; }
.rwt-manage .cc-manage-shortcuts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 24px; margin: 20px 0 28px; padding: 6px 20px; border-radius: 15px; background: var(--surface); }
.rwt-manage .cc-manage-shortcuts a { display: grid; gap: 5px; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.rwt-manage .cc-manage-shortcuts a:nth-last-child(-n+2) { border-bottom: 0; }
.rwt-manage .cc-manage-shortcuts strong { color: var(--accent-dark); font-size: 16px; }
.rwt-manage .cc-manage-shortcuts span { color: var(--muted); font-size: 13px; line-height: 1.4; }
.rwt-manage .cc-manage-shortcuts a:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.rwt-manage .cc-resource-suggestions { margin-bottom: 24px; background: var(--accent-soft); }
.rwt-manage .cc-resource-suggestions > header { margin-bottom: 0; }
.rwt-manage .cc-intake-resource-note { display: grid; gap: 12px; padding: 16px; margin: 16px 0; border-radius: 13px; background: var(--surface-muted); }
.rwt-manage .cc-create-suggested-resource { justify-self: start; }
.rwt-manage .manage-compliance-controls { display: flex; flex-wrap: wrap; align-items: end; gap: 16px 24px; margin: 20px 0; }
.rwt-manage .manage-compliance-controls > label:first-child { display: grid; flex: 1; min-width: min(100%,240px); gap: 6px; font-size: 13px; font-weight: 600; }
.rwt-manage .manage-compliance-controls input[type=search] { width: 100%; min-height: 44px; border: 1px solid var(--control-border); border-radius: 13px; background: var(--surface); color: var(--ink); padding: 10px 12px; font: inherit; }
.rwt-manage .manage-compliance-all { display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; }
.rwt-manage .manage-compliance-all input { width: 18px; height: 18px; accent-color: var(--accent); }
.rwt-manage .manage-compliance-list { padding: 0 20px; border-radius: 15px; background: var(--surface); }
.rwt-manage .manage-compliance-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.rwt-manage .manage-compliance-row:last-child { border-bottom: 0; }
.rwt-manage .manage-compliance-project { display: grid; gap: 6px; min-width: 0; overflow-wrap: anywhere; }
.rwt-manage .manage-compliance-project strong { font-size: 16px; }
.rwt-manage .manage-compliance-project span { color: var(--muted); font-size: 13px; }
.rwt-manage .manage-compliance-project .manage-compliance-signal { justify-self: start; width: fit-content; max-width: 100%; padding: 5px 9px; border-radius: 8px; background: #f1f2ef; color: var(--ink); font-weight: 700; }
.rwt-manage .manage-compliance-project .manage-compliance-signal.attention { background: #f6e9ed; color: var(--accent-dark); }
.rwt-manage .manage-compliance-project .manage-compliance-signal.lead { background: #faf2e8; color: #82501c; }
.rwt-manage .manage-compliance-project .manage-compliance-signal.clear { background: #edf4eb; color: #3c6631; }
.rwt-manage .manage-compliance-project .manage-compliance-signal.unavailable { background: #f1f2ef; color: var(--muted); }
.rwt-manage .manage-compliance-project .manage-compliance-detail { max-width: 60ch; }
.rwt-manage .manage-compliance-actions { display: flex; flex: none; flex-wrap: wrap; gap: 8px; max-width: 100%; }
.rwt-manage .manage-compliance-more { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 14px 0; color: var(--muted); font-size: 13px; }
.rwt-manage .manage-compliance-empty { padding: 24px; color: var(--muted); background: var(--surface); border-radius: 15px; }
.rwt-manage :is(.manage-section-picker select,.manage-compliance-controls input,.cc-manage-shortcuts a,.manage-compliance-more button):focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 3px; }
@media (min-width: 901px) and (max-width: 1500px) {
  .rwt-manage .cc-overview-lower { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .rwt-manage .cc-overview-lower .private-card { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .rwt-manage .manage-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .rwt-manage .manage-sections { display: none; }
  .rwt-manage .manage-section-picker { display: grid; gap: 6px; margin-bottom: 20px; color: var(--muted); font-size: 13px; font-weight: 600; }
  .rwt-manage .manage-section-picker select { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--control-border); border-radius: 13px; background: var(--surface); color: var(--ink); font: inherit; }
}
@media (max-width: 600px) {
  .rwt-manage .cc-manage-shortcuts { grid-template-columns: 1fr; }
  .rwt-manage .cc-manage-shortcuts a:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .rwt-manage .manage-compliance-row { align-items: stretch; flex-direction: column; }
  .rwt-manage .manage-compliance-actions { width: 100%; }
  .rwt-manage .manage-compliance-actions > a { min-height: 44px; flex: 1 1 140px; text-align: center; }
}
