.rh-app-shell { min-height: 100vh; display: grid; grid-template-columns: var(--rh-sidebar-width) minmax(0, 1fr); }
.rh-sidebar { position: fixed; inset: 0 auto 0 0; z-index: 30; width: var(--rh-sidebar-width); padding: 16px 12px 14px; display: flex; flex-direction: column; gap: 14px; background: rgba(8,10,15,.97); border-right: 1px solid var(--rh-border); }
.rh-sidebar__brand { min-height: 46px; display: flex; align-items: center; gap: 11px; padding: 0 8px; }
.rh-brand-mark { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; flex: 0 0 auto; font-size: 11px; font-weight: 900; letter-spacing: .1em; background: linear-gradient(145deg, #d9ceff, #8d6cf6); color: #0a0a0f; box-shadow: 0 10px 28px rgba(141,108,246,.22); }
.rh-sidebar__brand > div:nth-child(2) { display: grid; gap: 1px; }
.rh-sidebar__brand strong { font-size: 12.5px; letter-spacing: .105em; }
.rh-sidebar__brand span { color: var(--rh-text-muted); font-size: 10.5px; }
.rh-sidebar__close { display: none; margin-left: auto; border: 0; padding: 6px; background: transparent; color: var(--rh-text-muted); }
.rh-server-switcher { width: 100%; min-height: 58px; padding: 9px 10px; display: grid; grid-template-columns: 34px minmax(0,1fr) 16px; align-items: center; gap: 9px; text-align: left; border: 1px solid var(--rh-border); border-radius: var(--rh-radius-md); background: rgba(255,255,255,.022); cursor: pointer; transition: .16s ease; }
.rh-server-switcher:hover { border-color: var(--rh-border-strong); background: rgba(255,255,255,.035); }
.rh-server-switcher__mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; background: var(--rh-accent-soft); color: #c9bcff; font-size: 12px; font-weight: 800; }
.rh-server-switcher__copy { min-width: 0; display: grid; gap: 3px; }
.rh-server-switcher__copy strong { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; white-space: normal; line-height: 1.25; font-size: 11.5px; font-weight: 680; }
.rh-server-switcher__copy small { display: flex; align-items: center; gap: 6px; color: var(--rh-text-muted); font-size: 9.5px; }
.rh-server-switcher__copy small i { width: 6px; height: 6px; border-radius: 999px; background: var(--rh-success); box-shadow: 0 0 12px rgba(101,215,165,.5); }
.rh-server-switcher > svg { color: var(--rh-text-muted); }
.rh-nav { min-height: 0; overflow: auto; padding-right: 2px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.08) transparent; }
.rh-nav__group { display: grid; gap: 3px; margin-bottom: 12px; }
.rh-nav__label { padding: 0 9px 5px; color: #626c80; font-size: 9px; text-transform: uppercase; font-weight: 800; letter-spacing: .11em; }
.rh-nav__item { width: 100%; min-height: 36px; display: flex; align-items: center; gap: 9px; padding: 0 9px; border: 0; border-radius: 9px; background: transparent; color: var(--rh-text-soft); font-size: 11.5px; font-weight: 590; text-align: left; cursor: pointer; transition: .15s ease; }
.rh-nav__item .rh-nav__icon { width: 19px; display: grid; place-items: center; flex: 0 0 auto; color: #727c91; }
.rh-nav__item:hover { background: rgba(255,255,255,.032); color: #fff; }
.rh-nav__item:hover .rh-nav__icon { color: var(--rh-text-soft); }
.rh-nav__item.is-active { background: rgba(168,139,255,.11); color: #fff; box-shadow: inset 0 0 0 1px rgba(168,139,255,.12); }
.rh-nav__item.is-active .rh-nav__icon { color: var(--rh-accent); }
.rh-nav__item em { margin-left: auto; color: #5f687a; font-size: 8px; font-style: normal; text-transform: uppercase; letter-spacing: .04em; opacity: 0; transition: opacity .15s ease; }
.rh-nav__item:hover em { opacity: 1; }
.rh-sidebar__spacer { flex: 1; }
.rh-development-pill { width: 100%; min-height: 48px; display: grid; grid-template-columns: 27px minmax(0,1fr) 14px; align-items: center; gap: 8px; padding: 7px 9px; border: 1px solid var(--rh-border); border-radius: 11px; background: linear-gradient(145deg, rgba(168,139,255,.07), rgba(255,255,255,.015)); color: var(--rh-text-soft); cursor: pointer; text-align: left; }
.rh-development-pill > span:first-child { color: var(--rh-accent); }
.rh-development-pill > span:nth-child(2) { min-width: 0; display: grid; gap: 2px; }
.rh-development-pill strong { font-size: 10.5px; }
.rh-development-pill small { color: var(--rh-text-muted); font-size: 9px; }
.rh-development-pill > svg { color: var(--rh-text-muted); }
.rh-sidebar-backdrop { display: none; }
.rh-app-main { grid-column: 2; min-width: 0; }
.rh-topbar { position: sticky; top: 0; z-index: 20; min-height: var(--rh-topbar-height); padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--rh-border); background: rgba(8,10,15,.88); backdrop-filter: blur(18px); }
.rh-topbar__left, .rh-topbar__right { display: flex; align-items: center; gap: 10px; min-width: 0; }
.rh-breadcrumb { min-width: 0; display: flex; align-items: center; gap: 8px; font-size: 11px; white-space: nowrap; }
.rh-breadcrumb span { color: var(--rh-text-muted); }
.rh-breadcrumb b { color: #404858; font-weight: 400; }
.rh-breadcrumb strong { overflow: hidden; text-overflow: ellipsis; font-weight: 650; }
.rh-mobile-menu { display: none; width: 36px; height: 36px; place-items: center; border: 1px solid var(--rh-border); background: var(--rh-surface); border-radius: 10px; }
.rh-command-trigger { height: 36px; min-width: 214px; display: flex; align-items: center; gap: 8px; padding: 0 9px; border: 1px solid var(--rh-border); border-radius: 10px; background: rgba(255,255,255,.022); color: var(--rh-text-muted); cursor: pointer; }
.rh-command-trigger span { flex: 1; text-align: left; font-size: 10.5px; }
.rh-command-trigger kbd { border: 1px solid var(--rh-border); border-radius: 5px; background: rgba(255,255,255,.035); padding: 2px 5px; font-size: 8.5px; color: #717b8f; }
.rh-command-trigger:hover { background: rgba(255,255,255,.035); color: var(--rh-text-soft); }
.rh-icon-button { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid var(--rh-border); border-radius: 9px; background: rgba(255,255,255,.018); color: #8b95a8; cursor: pointer; transition: .15s ease; }
.rh-icon-button:hover { background: rgba(255,255,255,.045); color: #fff; }
.rh-profile-button { min-width: 138px; height: 38px; display: grid; grid-template-columns: 28px minmax(0,1fr) 14px; align-items: center; gap: 8px; padding: 4px 7px 4px 5px; border: 0; border-radius: 10px; background: transparent; cursor: pointer; text-align: left; }
.rh-profile-button:hover { background: rgba(255,255,255,.03); }
.rh-avatar { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: #1b2130; border: 1px solid var(--rh-border); color: #d5d9e3; font-size: 10px; font-weight: 800; }
.rh-avatar--large { width: 44px; height: 44px; border-radius: 12px; font-size: 14px; }
.rh-profile-copy { min-width: 0; display: grid; gap: 1px; }
.rh-profile-copy strong { overflow: hidden; text-overflow: ellipsis; font-size: 10.5px; white-space: nowrap; }
.rh-profile-copy small { color: var(--rh-text-muted); font-size: 8.5px; }
.rh-profile-button > svg { color: var(--rh-text-muted); }
.rh-content { width: 100%; max-width: var(--rh-content-max); margin: 0 auto; padding: 30px 28px 64px; }
.rh-page { display: grid; gap: 18px; }
.rh-page-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 4px 2px 2px; }
.rh-page-header__copy { min-width: 0; max-width: 780px; }
.rh-page-kicker { margin-bottom: 7px; display: flex; align-items: center; gap: 8px; color: var(--rh-accent); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.rh-page-kicker span { padding: 3px 6px; border: 1px solid var(--rh-border); border-radius: 999px; color: var(--rh-text-muted); font-size: 8px; letter-spacing: .04em; background: rgba(255,255,255,.02); }
.rh-page-header h1 { margin: 0; font-size: clamp(27px, 2.25vw, 36px); line-height: 1.05; letter-spacing: -.035em; font-weight: 760; }
.rh-page-header__copy > p { margin: 8px 0 0; color: var(--rh-text-soft); font-size: 11.5px; line-height: 1.6; }
.rh-page-header__actions { display: flex; align-items: center; gap: 8px; }
.rh-preview-notice { min-height: 38px; display: flex; align-items: center; gap: 8px; padding: 8px 11px; border: 1px solid rgba(168,139,255,.13); border-radius: 10px; background: rgba(168,139,255,.045); color: #a6afc1; font-size: 9.5px; }
.rh-preview-notice svg { color: var(--rh-accent); flex: 0 0 auto; }
.rh-preview-notice strong { color: #d7dce6; margin-right: 4px; }
.rh-status { min-height: 23px; display: inline-flex; align-items: center; gap: 6px; padding: 0 8px; border: 1px solid var(--rh-border); border-radius: 999px; background: rgba(255,255,255,.025); color: var(--rh-text-soft); font-size: 8.5px; font-weight: 700; white-space: nowrap; }
.rh-status i { width: 6px; height: 6px; border-radius: 999px; background: currentColor; box-shadow: 0 0 10px color-mix(in srgb, currentColor 45%, transparent); }
.rh-status--success { color: var(--rh-success); border-color: rgba(101,215,165,.16); background: rgba(101,215,165,.055); }
.rh-status--info { color: var(--rh-info); border-color: rgba(120,185,255,.16); background: rgba(120,185,255,.055); }
.rh-status--warning { color: var(--rh-warning); border-color: rgba(239,189,109,.16); background: rgba(239,189,109,.055); }
.rh-status--danger { color: var(--rh-danger); border-color: rgba(255,127,141,.16); background: rgba(255,127,141,.055); }
.rh-button { min-height: 36px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 12px; border: 1px solid var(--rh-border); border-radius: 9px; font-size: 10px; font-weight: 700; cursor: pointer; transition: .15s ease; }
.rh-button--primary { border-color: rgba(168,139,255,.35); background: linear-gradient(180deg, #a98cff, #8d6cf6); color: #0b0912; box-shadow: 0 8px 24px rgba(141,108,246,.16); }
.rh-button--primary:hover { filter: brightness(1.06); transform: translateY(-1px); }
.rh-button--secondary { background: rgba(255,255,255,.025); color: var(--rh-text-soft); }
.rh-button--secondary:hover, .rh-button--ghost:hover { background: rgba(255,255,255,.05); color: #fff; }
.rh-button--ghost { border-color: transparent; background: transparent; color: var(--rh-text-soft); }
.rh-button:disabled { opacity: .45; cursor: default; transform: none; filter: none; }
.rh-text-button { display: inline-flex; align-items: center; gap: 4px; border: 0; background: transparent; color: #8c96aa; font-size: 9.5px; cursor: pointer; }
.rh-text-button:hover { color: #fff; }
.rh-metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.rh-metric-card { min-height: 124px; padding: 15px 16px; border: 1px solid var(--rh-border); border-radius: var(--rh-radius-lg); background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.012)); }
.rh-metric-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rh-metric-card__icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: var(--rh-accent-soft); color: var(--rh-accent); }
.rh-metric-card__icon--success { color: var(--rh-success); background: rgba(101,215,165,.07); }
.rh-metric-card__icon--info { color: var(--rh-info); background: rgba(120,185,255,.07); }
.rh-metric-card__icon--warning { color: var(--rh-warning); background: rgba(239,189,109,.07); }
.rh-metric-card__meta { color: #778196; font-size: 8.5px; }
.rh-metric-card__value { margin-top: 13px; font-size: 22px; line-height: 1; font-weight: 760; letter-spacing: -.025em; }
.rh-metric-card__label { margin-top: 6px; color: #d6dbe6; font-size: 10px; font-weight: 650; }
.rh-metric-card__hint { margin-top: 3px; color: #707b90; font-size: 8.8px; }
.rh-dashboard-grid { display: grid; grid-template-columns: minmax(0,1.28fr) minmax(360px,.72fr); gap: 12px; align-items: start; }
.rh-panel { min-width: 0; overflow: hidden; border: 1px solid var(--rh-border); border-radius: var(--rh-radius-lg); background: rgba(15,19,27,.82); }
.rh-panel__header { min-height: 58px; padding: 12px 15px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--rh-border); }
.rh-panel__header > div:first-child { min-width: 0; }
.rh-panel__eyebrow { display: block; margin-bottom: 4px; color: #737d91; font-size: 8px; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; }
.rh-panel__header h2 { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: -.01em; }
.rh-event-list, .rh-activity-list, .rh-health-list { display: grid; }
.rh-event-row { min-height: 64px; display: grid; grid-template-columns: 42px 54px minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 8px 15px; border-bottom: 1px solid var(--rh-border); }
.rh-event-row:last-child, .rh-activity-row:last-child, .rh-health-row:last-child { border-bottom: 0; }
.rh-event-time { color: #aab2c2; font-size: 10px; font-weight: 700; }
.rh-event-type { min-width: 48px; padding: 4px 6px; border-radius: 7px; text-align: center; font-size: 7.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.rh-event-type--purple { background: rgba(168,139,255,.1); color: #b9a5ff; }
.rh-event-type--blue { background: rgba(120,185,255,.09); color: #91c7ff; }
.rh-event-type--gold { background: rgba(239,189,109,.09); color: #f2c97e; }
.rh-event-row > div { min-width: 0; display: grid; gap: 3px; }
.rh-event-row strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10.5px; }
.rh-event-row small { color: #737e92; font-size: 8.8px; }
.rh-activity-row { min-height: 64px; display: grid; grid-template-columns: 30px minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 8px 15px; border-bottom: 1px solid var(--rh-border); }
.rh-activity-row__icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: var(--rh-accent-soft); color: var(--rh-accent); }
.rh-activity-row__icon--success { color: var(--rh-success); background: rgba(101,215,165,.07); }
.rh-activity-row__icon--info { color: var(--rh-info); background: rgba(120,185,255,.07); }
.rh-activity-row__icon--warning { color: var(--rh-warning); background: rgba(239,189,109,.07); }
.rh-activity-row > div { min-width: 0; display: grid; gap: 3px; }
.rh-activity-row strong { font-size: 10px; }
.rh-activity-row span { overflow: hidden; text-overflow: ellipsis; color: #737e92; font-size: 8.8px; white-space: nowrap; }
.rh-activity-row time { color: #636d80; font-size: 8px; white-space: nowrap; }
.rh-quick-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; padding: 12px; }
.rh-quick-action { min-height: 66px; display: grid; grid-template-columns: 31px minmax(0,1fr) 14px; align-items: center; gap: 9px; padding: 9px 10px; border: 1px solid var(--rh-border); border-radius: 10px; background: rgba(255,255,255,.015); color: inherit; cursor: pointer; text-align: left; transition: .15s ease; }
.rh-quick-action:hover { border-color: rgba(168,139,255,.18); background: rgba(168,139,255,.04); }
.rh-quick-action > span:first-child { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 8px; background: var(--rh-accent-soft); color: var(--rh-accent); }
.rh-quick-action > div { min-width: 0; display: grid; gap: 3px; }
.rh-quick-action strong { font-size: 9.8px; }
.rh-quick-action small { color: #6f7a8f; font-size: 8.2px; }
.rh-quick-action > svg { color: #5c667a; }
.rh-health-row { min-height: 49px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 7px 15px; border-bottom: 1px solid var(--rh-border); }
.rh-health-row > span { display: flex; align-items: center; gap: 8px; color: #8f99ab; font-size: 9.5px; }
.rh-health-row > div { display: flex; align-items: center; gap: 8px; }
.rh-health-row strong { color: #c7ccd7; font-size: 9px; font-weight: 620; }
.rh-toolbar { min-height: 58px; padding: 10px 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--rh-border); }
.rh-toolbar__left { display: flex; align-items: center; gap: 8px; }
.rh-search-inline { width: 240px; height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 9px; border: 1px solid var(--rh-border); border-radius: 9px; background: rgba(255,255,255,.018); color: var(--rh-text-muted); }
.rh-search-inline input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--rh-text); font-size: 9.5px; }
.rh-filter-button { height: 34px; display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; border: 1px solid var(--rh-border); border-radius: 9px; background: rgba(255,255,255,.018); color: var(--rh-text-soft); font-size: 9px; cursor: pointer; }
.rh-table-wrap { width: 100%; overflow-x: auto; }
.rh-table { width: 100%; min-width: 740px; border-collapse: collapse; }
.rh-table th { height: 39px; padding: 0 15px; text-align: left; background: rgba(255,255,255,.01); border-bottom: 1px solid var(--rh-border); color: #667084; font-size: 7.8px; text-transform: uppercase; letter-spacing: .09em; font-weight: 800; }
.rh-table td { padding: 11px 15px; border-bottom: 1px solid var(--rh-border); font-size: 9.5px; }
.rh-table tbody tr:last-child td { border-bottom: 0; }
.rh-table tbody tr:hover { background: rgba(255,255,255,.014); }
.rh-table-primary { min-width: 300px; display: flex; align-items: center; gap: 10px; }
.rh-table-primary > div { min-width: 0; display: grid; gap: 3px; }
.rh-table-primary strong { font-size: 10px; }
.rh-table-primary span:not(.rh-module-icon) { color: #717c91; font-size: 8.5px; }
.rh-module-icon { width: 30px; height: 30px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 8px; background: var(--rh-accent-soft); color: var(--rh-accent); }
.rh-muted { color: #7b8598; }
.rh-table-actions { text-align: right; }
.rh-system-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.rh-system-card { min-height: 76px; display: grid; grid-template-columns: 34px minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--rh-border); border-radius: var(--rh-radius-lg); background: rgba(15,19,27,.8); }
.rh-system-card > span:first-child { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; color: var(--rh-accent); background: var(--rh-accent-soft); }
.rh-system-card > div { min-width: 0; display: grid; gap: 3px; }
.rh-system-card small { color: #737e92; font-size: 8.5px; }
.rh-system-card strong { font-size: 11px; }
.rh-check-list { display: grid; }
.rh-check-row { min-height: 58px; display: grid; grid-template-columns: 28px minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 8px 15px; border-bottom: 1px solid var(--rh-border); }
.rh-check-row:last-child { border-bottom: 0; }
.rh-check-icon { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: rgba(101,215,165,.06); color: var(--rh-success); }
.rh-check-row > div { display: grid; gap: 3px; }
.rh-check-row strong { font-size: 9.8px; }
.rh-check-row span { color: #737e92; font-size: 8.5px; }
.rh-settings-list { display: grid; border: 1px solid var(--rh-border); border-radius: var(--rh-radius-lg); overflow: hidden; background: rgba(15,19,27,.8); }
.rh-settings-row { min-height: 76px; display: grid; grid-template-columns: 36px minmax(0,1fr) auto; align-items: center; gap: 11px; padding: 12px 15px; border-bottom: 1px solid var(--rh-border); }
.rh-settings-row:last-child { border-bottom: 0; }
.rh-settings-row__icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 9px; background: var(--rh-accent-soft); color: var(--rh-accent); }
.rh-settings-row > div:nth-child(2) { min-width: 0; }
.rh-settings-row strong { font-size: 10.5px; }
.rh-settings-row p { margin: 4px 0 0; color: #737e92; font-size: 8.8px; line-height: 1.45; }
.rh-settings-row > div:last-child { display: flex; align-items: center; gap: 8px; color: #5f687a; }
.rh-dialog-layer { position: fixed; z-index: 100; inset: 0; padding: 22px; display: grid; place-items: center; background: rgba(2,3,6,.76); backdrop-filter: blur(9px); animation: rh-fade .15s ease; }
.rh-dialog { width: min(920px, calc(100dvw - 44px)); max-height: min(820px, calc(100dvh - 44px)); display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--rh-border-strong); border-radius: 18px; background: #10141d; box-shadow: 0 40px 120px rgba(0,0,0,.58); animation: rh-dialog-in .18s ease; }
.rh-dialog--compact { width: min(650px, calc(100dvw - 44px)); }
.rh-dialog__header { padding: 18px 20px; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--rh-border); }
.rh-dialog__eyebrow { margin: 0; color: var(--rh-accent); font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .11em; }
.rh-dialog__header h2 { margin: 5px 0 0; font-size: 17px; letter-spacing: -.02em; }
.rh-dialog__description { margin: 6px 0 0; color: #7e899c; font-size: 9.5px; line-height: 1.55; }
.rh-dialog__body { min-height: 0; overflow: auto; padding: 20px; }
.rh-dialog__footer { padding: 12px 20px; display: flex; justify-content: flex-end; gap: 8px; border-top: 1px solid var(--rh-border); background: rgba(255,255,255,.01); }
.rh-dialog-summary { margin-bottom: 18px; display: grid; grid-template-columns: 42px minmax(0,1fr); gap: 12px; padding: 14px; border: 1px solid var(--rh-border); border-radius: 12px; background: rgba(255,255,255,.014); }
.rh-dialog-summary__icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; background: var(--rh-accent-soft); color: var(--rh-accent); }
.rh-dialog-summary > div { min-width: 0; }
.rh-dialog-summary small { display: block; color: #6f798d; font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }
.rh-dialog-summary strong { display: block; margin-top: 4px; font-size: 11px; }
.rh-dialog-summary p { margin: 6px 0 0; color: #7b869a; font-size: 9px; line-height: 1.5; }
.rh-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.rh-field { min-width: 0; display: grid; gap: 6px; color: #9ca6b8; font-size: 9px; font-weight: 650; }
.rh-field--full { grid-column: 1 / -1; }
.rh-field input, .rh-field select, .rh-field textarea { width: 100%; min-width: 0; border: 1px solid var(--rh-border); border-radius: 9px; background: rgba(255,255,255,.02); color: var(--rh-text); padding: 0 10px; outline: none; }
.rh-field input, .rh-field select { height: 37px; }
.rh-field textarea { resize: vertical; padding-top: 10px; line-height: 1.5; }
.rh-field input:focus, .rh-field select:focus, .rh-field textarea:focus { border-color: rgba(168,139,255,.36); box-shadow: 0 0 0 3px rgba(168,139,255,.06); }
.rh-field input:read-only, .rh-field textarea:read-only, .rh-field select:disabled { color: #aab3c3; opacity: 1; }
.rh-command-search { height: 42px; display: flex; align-items: center; gap: 8px; padding: 0 11px; border: 1px solid rgba(168,139,255,.2); border-radius: 10px; background: rgba(168,139,255,.04); color: var(--rh-accent); }
.rh-command-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: #fff; font-size: 10.5px; }
.rh-command-list { margin-top: 12px; display: grid; gap: 5px; }
.rh-command-list button { min-height: 52px; display: grid; grid-template-columns: 28px minmax(0,1fr) auto; align-items: center; gap: 9px; padding: 7px 9px; border: 1px solid transparent; border-radius: 9px; background: transparent; color: inherit; cursor: pointer; text-align: left; }
.rh-command-list button:hover { border-color: var(--rh-border); background: rgba(255,255,255,.025); }
.rh-command-list button > svg { color: var(--rh-accent); }
.rh-command-list button > span { display: grid; gap: 2px; }
.rh-command-list strong { font-size: 9.8px; }
.rh-command-list small { color: #717c90; font-size: 8.3px; }
.rh-command-list kbd { color: #626c80; font-size: 8px; }
.rh-action-picker { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.rh-action-picker button { min-height: 76px; display: grid; grid-template-columns: 38px minmax(0,1fr) 14px; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--rh-border); border-radius: 11px; background: rgba(255,255,255,.014); color: inherit; cursor: pointer; text-align: left; }
.rh-action-picker button:hover { border-color: rgba(168,139,255,.2); background: rgba(168,139,255,.04); }
.rh-action-picker button > span:first-child { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 9px; background: var(--rh-accent-soft); color: var(--rh-accent); }
.rh-action-picker button > div { display: grid; gap: 3px; }
.rh-action-picker strong { font-size: 10px; }
.rh-action-picker small { color: #717c90; font-size: 8.5px; }
.rh-action-picker button > svg { color: #5f697d; }
.rh-empty-state { min-height: 170px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; color: #8791a4; }
.rh-empty-state > span:first-child:not(.rh-avatar) { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; background: var(--rh-accent-soft); color: var(--rh-accent); }
.rh-empty-state strong { color: #d9dde6; font-size: 11px; }
.rh-empty-state p { max-width: 430px; margin: 0; font-size: 9px; line-height: 1.55; }
@keyframes rh-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rh-dialog-in { from { opacity: 0; transform: translateY(7px) scale(.992); } to { opacity: 1; transform: none; } }

/* v0.3.0 Auth & Database Foundation */
.rh-auth-page { max-width: 920px; margin: 0 auto; }
.rh-auth-card { position: relative; overflow: hidden; display: grid; grid-template-columns: 64px minmax(0,1fr) auto; align-items: center; gap: 20px; padding: 26px; border: 1px solid var(--rh-border); border-radius: var(--rh-radius-xl); background: linear-gradient(145deg, rgba(168,139,255,.06), rgba(255,255,255,.018) 48%, rgba(15,19,27,.96)); box-shadow: var(--rh-shadow); }
.rh-auth-card::after { content: ''; position: absolute; width: 260px; height: 260px; right: -100px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(168,139,255,.14), transparent 68%); pointer-events: none; }
.rh-auth-card__mark { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 18px; background: linear-gradient(145deg, #d9ceff, #8d6cf6); color: #090a0f; font-weight: 900; letter-spacing: .08em; box-shadow: 0 18px 46px rgba(141,108,246,.22); }
.rh-auth-card__copy { min-width: 0; position: relative; z-index: 1; }
.rh-auth-card__copy h2 { margin: 6px 0 0; font-size: 22px; letter-spacing: -.025em; }
.rh-auth-card__copy p { max-width: 620px; margin: 7px 0 0; color: var(--rh-text-soft); font-size: 10px; line-height: 1.65; }
.rh-auth-card__actions { position: relative; z-index: 1; }
.rh-auth-security { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; padding-top: 18px; border-top: 1px solid var(--rh-border); }
.rh-auth-security > div { min-width: 0; display: grid; grid-template-columns: 30px minmax(0,1fr); align-items: center; gap: 8px; padding: 10px; border: 1px solid var(--rh-border); border-radius: 10px; background: rgba(255,255,255,.016); }
.rh-auth-security svg { color: var(--rh-accent); }
.rh-auth-security span { min-width: 0; display: grid; gap: 2px; }
.rh-auth-security strong { font-size: 9.5px; }
.rh-auth-security small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--rh-text-muted); font-size: 8px; }
.rh-guild-list { display: grid; gap: 7px; }
.rh-guild-option { width: 100%; min-height: 58px; display: grid; grid-template-columns: 36px minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 9px 10px; border: 1px solid var(--rh-border); border-radius: 11px; background: rgba(255,255,255,.015); color: inherit; text-align: left; cursor: pointer; }
.rh-guild-option:hover, .rh-guild-option.is-selected { border-color: rgba(168,139,255,.25); background: rgba(168,139,255,.055); }
.rh-guild-option > span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: var(--rh-accent-soft); color: #cbbfff; font-size: 11px; font-weight: 800; }
.rh-guild-option > div { min-width: 0; display: grid; gap: 3px; }
.rh-guild-option strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.rh-guild-option small { color: var(--rh-text-muted); font-size: 8px; }
.rh-guild-option em { padding: 3px 7px; border-radius: 999px; background: rgba(101,215,165,.09); color: var(--rh-success); font-size: 7.5px; font-style: normal; font-weight: 750; text-transform: uppercase; letter-spacing: .04em; }
