.rh-home {
  --rh-text: #202536;
  --rh-secondary: #505b71;
  --rh-muted: #626d80;
  --rh-line: #e1e5ed;
  --rh-rule: #ecedf3;
  --rh-accent: var(--accent);
  color: var(--rh-text);
  display: grid;
  gap: 20px;
  min-width: 0;
}
.rh-home a:focus-visible, .rh-home button:focus-visible {
  outline: 2px solid var(--rh-accent);
  outline-offset: 3px;
}
.rh-header { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.rh-header > div { min-width: 0; }
.rh-header h1 { color: var(--rh-text); margin: 0; font-size: clamp(25px, 2.6vw, 35px); font-weight: 730; letter-spacing: -.05em; line-height: 1.3; }
.rh-header p { margin: 6px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 12px; color: var(--rh-muted); }
.rh-header p span { display: inline-flex; align-items: center; gap: 5px; }
.rh-header p span:first-child { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.rh-header p span + span::before { display: inline-block; width: 1px; height: 12px; background: #d2d7e2; content: ""; margin-right: 5px; }
.rh-header p .icon { width: 14px; height: 14px; color: var(--rh-secondary); }
.rh-primary { display: inline-flex; align-items: center; justify-content: center; flex: none; gap: 7px; min-height: 40px; border-radius: 7px; padding: 9px 14px; font-weight: 650; font-size: 13px; color: white; background: var(--rh-accent); }
.rh-primary:hover { color: white; background: #4337c3; }
.rh-primary .icon { width: 16px; height: 16px; }
.rh-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.rh-metric, .rh-panel { min-width: 0; background: #fff; border: 1px solid var(--rh-line); border-radius: 10px; }
.rh-metric { display: flex; flex-direction: column; min-height: 130px; padding: 16px 18px; transition: border-color .15s ease; }
.rh-metric:hover { border-color: #a8a4e6; }
.rh-metric-name { display: flex; align-items: center; justify-content: space-between; gap: 6px; color: var(--rh-secondary); font-size: 13px; font-weight: 610; }
.rh-metric-icon { width: 30px; height: 30px; flex: none; display: grid; place-items: center; background: #edebfd; color: #5548be; border-radius: 7px; }
.rh-metric:nth-child(2) .rh-metric-icon { color: #3b6591; background: #eaf1f9; }
.rh-metric:nth-child(3) .rh-metric-icon { color: #8a5d25; background: #fcf2df; }
.rh-metric:nth-child(4) .rh-metric-icon { color: #705780; background: #f2edf5; }
.rh-metric-icon .icon { width: 17px; height: 17px; }
.rh-number { display: flex; align-items: baseline; gap: 7px; margin: 6px 0 8px; }
.rh-number strong { font-size: clamp(27px, 2.5vw, 35px); font-weight: 680; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.045em; }
.rh-number small { font-size: 12px; color: var(--rh-muted); }
.rh-scope { color: var(--rh-muted); margin-top: auto; font-size: 12px; line-height: 1.45; }
.rh-metric.rh-featured { color: white; border-color: #4940b5; background-color: #4940b5; background-image: radial-gradient(ellipse at 108% 115%,transparent 0 38%,#ffffff0e 38.5% 39%,transparent 39.5% 47%,#ffffff10 47.5% 48%,transparent 48.5%),linear-gradient(115deg,#38327e,#5549c9); }
.rh-metric.rh-featured:hover { border-color: #30296f; }
.rh-featured .rh-metric-name,.rh-featured .rh-number small,.rh-featured .rh-scope { color: #eeedff; }
.rh-metric.rh-featured .rh-metric-icon { background: #ffffff24; color: white; }
.rh-work { display: grid; align-items: stretch; gap: 16px; grid-template-columns: minmax(0, 2.05fr) minmax(232px, .94fr); }
.rh-section-title { display: flex; align-items: center; min-width: 0; padding: 18px 20px 14px; }
.rh-section-title h2 { color: var(--rh-text); margin: 0; font-size: 18px; font-weight: 680; letter-spacing: -.025em; line-height: 1.4; }
.rh-queue { display: flex; flex-direction: column; }
.rh-tabs { display: flex; align-items: center; gap: 20px; padding: 0 20px; border-bottom: 1px solid var(--rh-rule); }
.rh-tab { color: var(--rh-muted); position: relative; display: inline-flex; align-items: center; min-height: 38px; gap: 6px; padding: 0 0 8px; font-size: 13px; white-space: nowrap; background: transparent; border: 0; }
.rh-tab b { display: inline-flex; align-items: center; justify-content: center; font-size: 11px; padding: 0 5px; height: 17px; min-width: 17px; border-radius: 5px; color: #5b6579; background: #f1f3f7; font-weight: 650; font-variant-numeric: tabular-nums; }
.rh-tab[aria-selected="true"] { color: var(--rh-accent); font-weight: 650; }
.rh-tab[aria-selected="true"]::after { position: absolute; content: ""; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--rh-accent); }
.rh-tab[aria-selected="true"] b { color: #4c41b3; background: #eeecff; }
.rh-queue-content { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.rh-home ul, .rh-home ol { padding: 0; margin: 0; list-style: none; }
.rh-row + .rh-row { border-top: 1px solid var(--rh-rule); }
.rh-object { display: grid; align-items: center; grid-template-columns: 76px minmax(0, 1fr) minmax(65px, .28fr) auto; gap: 10px; padding: 13px 20px; min-width: 0; color: var(--rh-text); }
.rh-object:hover, .rh-quick-list a:hover, .rh-guide a:hover { background: #f8f8fe; }
.rh-stage { justify-self: start; align-self: center; display: inline-flex; align-items: center; gap: 5px; font-size: 11px; line-height: 1.25; padding: 5px 7px; border-radius: 5px; font-weight: 600; white-space: nowrap; }
.rh-stage::before { width: 5px; height: 5px; border-radius: 50%; content: ""; background: currentColor; flex: none; opacity: .82; }
.rh-tone-ink { background: #eff1f5; color: #525c6c; }
.rh-tone-violet { background: #f1edfc; color: #62509c; }
.rh-tone-amber { background: #fcf1de; color: #81581c; }
.rh-tone-blue { background: #eaf2fd; color: #395f96; }
.rh-tone-rose { background: #faebef; color: #974762; }
.rh-row-title, .rh-handler { min-width: 0; display: grid; gap: 3px; }
.rh-row-title strong, .rh-quick-list strong, .rh-guide strong { color: var(--rh-text); font-size: 13px; line-height: 1.45; font-weight: 635; }
.rh-row-title strong { overflow-wrap: anywhere; }
.rh-row-title small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rh-row-title small, .rh-handler small, .rh-quick-list small, .rh-guide small { color: var(--rh-muted); font-size: 11.5px; line-height: 1.5; }
.rh-handler small { font-size: 10.5px; }
.rh-handler b { color: #4d566a; font-size: 11.5px; font-weight: 550; overflow-wrap: anywhere; }
.rh-row-action { color: var(--rh-accent); display: inline-flex; align-items: center; justify-content: flex-end; gap: 3px; white-space: nowrap; font-size: 12px; font-weight: 570; }
.rh-row-action .icon { width: 13px; height: 13px; }
.rh-empty { margin: auto 0; align-self: stretch; min-height: 116px; padding: 18px; display: flex; flex-wrap: wrap; gap: 8px; align-content: center; align-items: center; justify-content: center; }
.rh-empty > span { color: #778099; display: grid; place-items: center; width: 31px; height: 31px; border-radius: 7px; background: #f1f3f9; }
.rh-empty p { color: var(--rh-secondary); font-size: 13px; }
.rh-empty a, .rh-expand { color: var(--rh-accent); display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; }
.rh-empty a .icon, .rh-expand .icon { width: 14px; height: 14px; }
.rh-expand { justify-content: center; align-self: stretch; min-height: 38px; margin-top: auto; border-top: 1px solid var(--rh-rule); background: transparent; }
.rh-quick-list { padding: 0 10px 9px; }
.rh-quick-list a { display: grid; align-items: center; grid-template-columns: 34px 1fr auto; gap: 11px; padding: 10px; border-radius: 6px; }
.rh-quick-list a > span:nth-child(2) { display: grid; gap: 2px; }
.rh-quick-icon { display: grid; place-items: center; height: 34px; background: #f2f3f9; color: #5a6088; border-radius: 7px; }
.rh-quick-icon .icon { width: 17px; height: 17px; }
.rh-quick-list a > .icon { color: #8590a3; width: 14px; height: 14px; }
.rh-guide .rh-section-title { padding-bottom: 9px; }
.rh-guide ol { display: grid; grid-template-columns: repeat(var(--rh-steps), minmax(0, 1fr)); padding: 0 10px 12px; }
.rh-guide li { min-width: 0; }
.rh-guide a { position: relative; display: grid; grid-template-columns: 26px minmax(0,1fr); align-items: start; gap: 9px; min-height: 75px; padding: 11px 18px 9px 10px; border-radius: 6px; }
.rh-guide a > span:nth-child(2) { display: grid; gap: 4px; min-width: 0; }
.rh-guide small { font-size: 12px; }
.rh-step-index { display: grid; width: 25px; height: 25px; place-items: center; flex: none; border-radius: 7px; background: #f1effc; color: #5750a5; font-weight: 660; font-size: 12px; font-variant-numeric: tabular-nums; }
.rh-guide a > .icon { position: absolute; right: 4px; top: 16px; color: #9ba4b6; width: 13px; height: 13px; }
.rh-guide li:last-child a > .icon { display: none; }
@media (max-width: 1190px) {
  .rh-metric { padding: 14px; }
  .rh-work { grid-template-columns: minmax(0,1.85fr) minmax(214px,.92fr); }
  .rh-object { grid-template-columns: auto minmax(0,1fr) auto; grid-template-areas: "stage info cta" "stage owner cta"; column-gap: 9px; row-gap: 2px; padding: 12px 16px; }
  .rh-stage { grid-area: stage; }
  .rh-row-title { grid-area: info; }
  .rh-handler { grid-area: owner; display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px; }
  .rh-row-action { grid-area: cta; }
}
@media (max-width: 995px) {
  .rh-home { gap: 16px; }
  .rh-work { grid-template-columns: minmax(0,1fr); }
  .rh-quick-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
  .rh-quick-list a { grid-template-columns: 28px minmax(0,1fr); gap: 7px; align-items: start; }
  .rh-quick-icon { height: 28px; }
  .rh-quick-list a > .icon { display: none; }
  .rh-metric { min-height: 124px; padding: 12px; }
  .rh-metric-icon { width: 24px; height: 24px; }
  .rh-scope { font-size: 11.5px; }
  .rh-guide ol { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 650px) {
  .rh-header { gap: 10px; align-items: flex-start; }
  .rh-header p { gap: 2px 7px; }
  .rh-header p span + span::before { margin-right: 2px; }
  .rh-primary { min-height: 38px; padding: 7px 10px; gap: 5px; font-size: 12px; }
  .rh-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  .rh-metric { min-height: 111px; }
  .rh-section-title { padding: 15px 14px 10px; }
  .rh-section-title h2 { font-size: 16px; }
  .rh-tabs { padding: 0 14px; }
  .rh-object { padding: 11px 13px; grid-template-columns: minmax(0,1fr) auto; grid-template-areas: "stage cta" "info info" "owner owner"; row-gap: 4px; }
  .rh-row-title { display: grid; gap: 2px; }
  .rh-row-title small { font-size: 10.5px; }
  .rh-stage::before { width: 4px; height: 4px; }
  .rh-quick-list { grid-template-columns: 1fr; padding: 0 8px 7px; }
  .rh-quick-list a { grid-template-columns: 30px 1fr auto; align-items: center; padding: 8px; gap: 9px; }
  .rh-quick-list a > .icon { display: block; }
  .rh-guide ol { padding: 0 5px 8px; }
  .rh-guide a { grid-template-columns: 21px minmax(0,1fr); gap: 7px; padding-left: 8px; padding-right: 8px; }
  .rh-guide a > .icon { display: none; }
  .rh-step-index { width: 21px; height: 21px; }
}
@media (max-width: 395px) {
  .rh-header p { display: grid; gap: 1px; }
  .rh-header p span + span::before { display: none; }
  .rh-row-title { display: grid; gap: 1px; }
}
