/* Dashboard refresh, scoped so the sign-in page keeps its own layout. */
body:not(.is-login) { background:#090b0d; color:#eceef0; }
body:not(.is-login) .ambient { display:none; }
body:not(.is-login) .hero {
  max-width:none; height:94px; margin:0; padding:0 34px; box-sizing:border-box;
  display:flex; align-items:center; justify-content:flex-start; gap:44px;
  background:#0b0d0f; border-bottom:1px solid #a77c11;
}
body:not(.is-login) .hero__brand { flex:none; }
body:not(.is-login) .hero__brand .brand-emblem { width:64px; height:64px; }
body:not(.is-login) .hero__brand strong { font-size:36px; line-height:1; }
body:not(.is-login) .hero__brand small { font-size:13px; letter-spacing:.35em; }
body:not(.is-login) .hero__tagline { font-size:11px; letter-spacing:.25em; white-space:nowrap; }
body:not(.is-login) .hero .topbar__right { margin-left:auto; display:flex; align-items:center; gap:22px; }
body.is-login .hero .topbar__right { display:none; }
body:not(.is-login) .hero .notification-button { border:0; background:transparent; color:#e6e8eb; }
body:not(.is-login) .hero .profile { background:transparent; }
body:not(.is-login) .hero .profile-menu { right:22px; top:76px; z-index:50; }
body:not(.is-login) .app-shell {
  max-width:none; height:calc(100dvh - 94px); min-height:560px; margin:0;
  border:0; border-radius:0; box-shadow:none; background:#090b0d;
}
body:not(.is-login) .sidebar {
  width:276px; border-right:1px solid #292d30;
  background:linear-gradient(180deg,#0c0e10 0%,#0c0e10 48%,#0b0d0dd9 66%,#090b0b62 100%),url('assets/los-santos-night.png') center bottom/auto 54% no-repeat;
}
body:not(.is-login) .sidebar__brand { display:none; }
body:not(.is-login) .side-nav { padding:26px 0; }
body:not(.is-login) .side-nav button {
  min-height:66px; padding:0 28px; border:0; border-left:4px solid transparent; border-radius:0;
  color:#c9cdd1; font-size:15px; font-weight:500; gap:18px;
}
body:not(.is-login) .side-nav button:hover { background:#25210e; color:#ffe064; }
body:not(.is-login) .side-nav button.active {
  color:#ffda3e; border-left-color:#ffd21c; background:linear-gradient(90deg,#55400b88,#2c250e77);
  box-shadow:none; font-weight:700;
}
body:not(.is-login) .side-nav .nav-icon { width:24px; text-align:center; color:inherit; font-size:21px; }
body:not(.is-login) .sidebar__foot { left:28px; right:24px; bottom:28px; }
body:not(.is-login) .workspace { background:#0b0d0f; }
body:not(.is-login) .topbar { display:none; }
body:not(.is-login) .workspace__content { padding:38px clamp(22px,2.5vw,48px) 52px; overflow:auto; }
body:not(.is-login) .page-header { margin-bottom:24px; }
body:not(.is-login) .page-eyebrow { display:none; }
body:not(.is-login) .page-header h1 { margin:0 0 7px; font-size:38px; line-height:1.12; letter-spacing:-.025em; color:#f5f5f5; }
body:not(.is-login) .page-header p { color:#aeb5bc; font-size:16px; margin:0; }
body:not(.is-login) .rd-content { max-width:1500px; margin:auto; }

.rd-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; margin:24px 0 26px; }
.rd-metrics--four { grid-template-columns:repeat(4,minmax(0,1fr)); }
.rd-metric {
  min-height:122px; box-sizing:border-box; display:flex; align-items:center; gap:25px; padding:25px 28px;
  border:1px solid #947216; border-radius:10px; background:linear-gradient(135deg,#14181c,#0f1215);
}
.rd-metric__icon { width:62px; flex:none; color:#ffcf1b; font-size:43px; line-height:1; text-align:center; }
.rd-metric small { display:block; color:#bfc4c9; font-size:14px; margin-bottom:5px; }
.rd-metric strong { display:block; color:#f4f5f5; font-size:34px; line-height:1.1; }
.rd-panel {
  background:linear-gradient(145deg,#13171a,#0d1012); border:1px solid #333a3f;
  border-radius:11px; padding:22px 24px 24px; min-width:0;
}
.rd-panel__heading { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-bottom:20px; }
.rd-panel__heading h2 { margin:0; font-size:22px; letter-spacing:-.015em; }
.rd-secondary { border:1px solid #3b4248; border-radius:8px; background:#20262b; color:#e3e6e8; padding:10px 15px; font:inherit; cursor:pointer; }
.rd-secondary:hover { border-color:#d6a90e; color:#ffdb4a; }
.rd-secondary span { margin-left:9px; font-size:22px; line-height:0; vertical-align:-2px; }
.rd-table-scroll { overflow-x:auto; border:1px solid #30363b; border-radius:8px; }
.rd-table { width:100%; border-collapse:collapse; min-width:650px; }
.rd-table thead { background:#20262b; }
.rd-table th { padding:15px 20px; text-align:left; color:#aeb5bb; font-size:11px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; }
.rd-table td { padding:16px 20px; border-top:1px solid #292f33; color:#e5e7e8; font-size:14px; }
.rd-table td:first-child { font-weight:700; }
.rd-table tr:hover td { background:#20231677; }
.rd-ticket-id { color:#f6d037; }
.rd-link { border:0; background:transparent; color:#f0c825; font:inherit; font-weight:650; cursor:pointer; }
.rd-link:hover { text-decoration:underline; }
.rd-empty { padding:48px 20px; text-align:center; color:#aeb4b8; }
.rd-category-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; }
.rd-category { min-height:220px; box-sizing:border-box; padding:27px 30px; border:1px solid #a17d16; border-radius:11px; background:linear-gradient(145deg,#15191c,#0e1113); }
.rd-category__top { display:flex; align-items:flex-start; gap:22px; min-height:112px; }
.rd-category__icon { display:grid; place-items:center; flex:none; width:68px; height:68px; border:2px solid #f2c51d; border-radius:50%; color:#ffce22; font-size:32px; }
.rd-category h2 { margin:6px 0 9px; font-size:23px; }
.rd-category p { color:#aab1b6; margin:0; line-height:1.5; }
.rd-category__foot { border-top:1px solid #30363a; padding-top:20px; display:flex; align-items:center; justify-content:space-between; gap:15px; color:#b6bbc0; }
.rd-category__foot strong { color:#f5f5f5; font-size:23px; margin-right:7px; }
.rd-search { min-width:220px; max-width:330px; width:100%; border:1px solid #3b4248; border-radius:8px; padding:11px 14px; background:#20262b; color:#f2f2f2; font:inherit; }
.rd-search:focus { outline:2px solid #c79d19; outline-offset:1px; }
.rd-avatar { display:inline-grid; place-items:center; vertical-align:middle; width:36px; height:36px; margin-right:11px; border:1px solid #d8b019; border-radius:50%; background:#372e0f; color:#ffdc59; font-size:12px; }
.rd-user-row[hidden] { display:none; }
.rd-stats-grid { display:grid; grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr); gap:20px; }
.rd-muted { color:#9da6ad; }
.rd-bars { display:grid; gap:23px; padding:9px 4px 14px; }
.rd-bar-row > div:first-child { display:flex; justify-content:space-between; gap:20px; margin-bottom:9px; }
.rd-bar-row strong { font-size:14px; }
.rd-bar-row span { color:#c7ccd0; }
.rd-bar-track { height:12px; background:#2c3337; border-radius:999px; overflow:hidden; }
.rd-bar-track span { display:block; height:100%; border-radius:999px; background:linear-gradient(90deg,#b98708,#ffd633); }
.rd-donut { margin:24px auto; width:230px; height:230px; border-radius:50%; background:conic-gradient(#f3c916 0 var(--closed),#394149 var(--closed) 100%); display:grid; place-items:center; }
.rd-donut > div { width:165px; height:165px; border-radius:50%; background:#101416; display:flex; flex-direction:column; align-items:center; justify-content:center; }
.rd-donut strong { font-size:42px; }
.rd-donut small { color:#aab2b8; }
.rd-legend { display:grid; gap:12px; }
.rd-legend > span { display:flex; align-items:center; gap:10px; color:#c7ccd0; }
.rd-legend strong { margin-left:auto; color:#f4f5f5; }
.rd-dot { width:13px; height:13px; border-radius:50%; background:#394149; }
.rd-dot--gold { background:#f3c916; }
.rd-settings-grid { display:grid; grid-template-columns:260px minmax(0,1fr); gap:20px; }
.rd-settings-nav { border:1px solid #343a3d; border-radius:10px; padding:12px 0; background:#121619; }
.rd-settings-nav span { display:block; padding:17px 22px; color:#afb6bb; }
.rd-settings-nav span.active { border-left:4px solid #f4cb18; padding-left:18px; color:#ffdb43; background:#45360e77; font-weight:700; }
.rd-settings-main { display:grid; gap:20px; align-content:start; }
.rd-field { display:grid; grid-template-columns:180px minmax(0,1fr); align-items:center; gap:18px; padding:14px 0; border-top:1px solid #2c3236; }
.rd-field span { color:#b5bcc1; }
.rd-field strong { padding:12px 15px; border:1px solid #333b40; border-radius:7px; background:#1c2226; font-weight:500; }
.rd-connected { color:#70da9a; border:1px solid #24593b; border-radius:99px; padding:6px 12px; font-size:13px; }

body:not(.is-login) .toolbar { margin:0 0 18px; }
body:not(.is-login) .table-card { border-radius:10px; border-color:#343a3f; background:#101416; overflow-x:auto; }
body:not(.is-login) .ticket-table { min-width:810px; }
body:not(.is-login) .ticket-table th { background:#20262b; color:#aeb5bb; letter-spacing:.08em; font-size:11px; }
body:not(.is-login) .ticket-table td { border-color:#2b3236; }
body:not(.is-login) .status { border-radius:7px; }

@media (max-width:1100px) {
  body:not(.is-login) .hero__tagline { display:none; }
  body:not(.is-login) .sidebar { width:230px; }
  .rd-metric { padding:19px; gap:12px; }
  .rd-metric__icon { width:42px; font-size:35px; }
  .rd-metrics--four { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:700px) {
  body:not(.is-login) .hero { height:72px; padding:0 15px; }
  body:not(.is-login) .hero__brand .brand-emblem { width:47px; height:47px; }
  body:not(.is-login) .hero__brand strong { font-size:27px; }
  body:not(.is-login) .hero__brand small { font-size:10px; }
  body:not(.is-login) .hero .topbar__right { gap:8px; }
  body:not(.is-login) .hero .profile span:nth-child(2) { display:none; }
  body:not(.is-login) .app-shell { height:calc(100dvh - 72px); min-height:0; }
  body:not(.is-login) .sidebar { top:72px; bottom:0; left:0; width:260px; }
  body:not(.is-login) .topbar { display:flex; height:48px; padding:0 15px; background:#101416; }
  body:not(.is-login) .workspace__content { padding:24px 16px 36px; }
  body:not(.is-login) .page-header h1 { font-size:29px; }
  .rd-metrics, .rd-metrics--four { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .rd-metric { min-height:100px; }
  .rd-category-grid, .rd-stats-grid, .rd-settings-grid { grid-template-columns:1fr; }
  .rd-settings-nav { display:none; }
  .rd-panel { padding:17px; }
  .rd-panel__heading { align-items:flex-start; }
}
@media (max-width:440px) {
  .rd-metrics, .rd-metrics--four { grid-template-columns:1fr; }
  .rd-metric { min-height:80px; }
  .rd-category { padding:20px; }
  .rd-category__icon { width:52px; height:52px; }
  .rd-field { grid-template-columns:1fr; gap:7px; }
  .rd-panel__heading { flex-wrap:wrap; }
}

/* Wider home layout shown in the approved reference image. */
body:not(.is-login) .workspace__content {
  box-sizing:border-box; width:100%; max-width:none; margin:0;
}
body:not(.is-login) .rd-content { max-width:none; margin:0; }
body:not(.is-login) .rd-home { width:100%; }
body:not(.is-login) .rd-home .page-header { margin-bottom:26px; }
.rd-home-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; margin-bottom:26px; }
.rd-home-metric {
  position:relative; overflow:hidden; min-height:132px; box-sizing:border-box; display:flex; align-items:center; gap:27px;
  padding:24px 32px; border:1px solid #ab820c; border-radius:10px;
  background:linear-gradient(128deg,#15191d 0%,#0d1013 82%);
}
.rd-home-metric__icon { position:relative; z-index:1; width:70px; height:70px; flex:none; color:#ffca13; }
.rd-home-metric__icon svg { width:100%; height:100%; }
.rd-home-metric__ghost { position:absolute; right:24px; top:23px; width:75px; height:75px; color:#777c80; opacity:.09; transform:rotate(-9deg); }
.rd-home-metric__ghost svg { width:100%; height:100%; }
.rd-home-metric small { display:block; margin-bottom:5px; color:#bfc4c9; font-size:16px; }
.rd-home-metric strong { display:block; color:#f7f7f8; font-size:39px; line-height:1.05; }
.rd-home-panel { padding:20px 22px 25px; border-left-color:#9d790f; }
.rd-home-panel .rd-panel__heading { margin:0 6px 16px; }
.rd-home-panel .rd-panel__heading h2 { font-size:25px; }
.rd-home-panel .rd-secondary { padding:10px 17px; }
.rd-home-panel .rd-table { min-width:760px; }
.rd-home-panel .rd-table th { padding:14px 20px; }
.rd-home-panel .rd-table th:first-child, .rd-home-panel .rd-table td:first-child { width:50px; text-align:center; }
.rd-home-panel .rd-table td { height:60px; box-sizing:border-box; padding:10px 20px; }
.rd-home-panel .rd-table td:nth-child(2) { font-weight:700; }
.rd-home-ticket-icon { display:inline-block; width:23px; height:23px; color:#ffcb15; vertical-align:middle; }
.rd-home-ticket-icon svg { width:100%; height:100%; }
.rd-home-id { color:#f2f3f4; }
.rd-home-action { border:0; background:transparent; color:#b9bfc4; cursor:pointer; font-size:25px; line-height:1; padding:4px 12px; }
.rd-home-action:hover, .rd-home-action:focus-visible { color:#ffd333; }
@media (min-width:1101px) {
  body:not(.is-login) .sidebar { width:294px; }
  body:not(.is-login) .workspace__content { padding:36px 35px 52px; }
  body:not(.is-login) .hero__tagline { padding-left:30px; border-left:1px solid #4b4f51; }
}
@media (max-width:1100px) {
  .rd-home-metric { padding:18px; gap:14px; }
  .rd-home-metric__icon { width:45px; height:45px; }
  .rd-home-metric__ghost { display:none; }
}
@media (max-width:700px) {
  .rd-home-metrics { grid-template-columns:1fr; gap:10px; }
  .rd-home-metric { min-height:86px; }
  .rd-home-metric strong { font-size:30px; }
}

/* Ticket konuşmasında oyuncu ve yetkili ayrımı */
.message.player .message__avatar{color:#91d8ff;border-color:#3880ad;background:#102a3d}
.message.player .message__meta{color:#d4edff}
.message.player .bubble{background:#142b3e;border:1px solid #306685;color:#f2f9ff}
.message.staff .message__avatar,.message.system .message__avatar{color:#ffe078;border-color:#b98b27;background:#35290d}
.message.staff .message__meta,.message.system .message__meta{color:#ffe8a8}
.message.staff .bubble,.message.system .bubble{background:#2d2514;border:1px solid #8c6824;color:#fff5d6}
.message__role{display:inline-block;margin-left:8px;padding:2px 7px;border-radius:999px;font-size:10px;font-weight:800;letter-spacing:.04em;vertical-align:middle}
.message.player .message__role{color:#a3ddff;background:#16364c;border:1px solid #2c6a90}
.message.staff .message__role{color:#ffe28e;background:#493513;border:1px solid #a97d26}
.message.system .message__role{color:#dfd2a2;background:#3b3523;border:1px solid #74673d}

/* Ticket participant directory */
.ru-page{width:100%;color:#f7f7f8}.ru-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin:0 0 26px}.ru-heading h1{font-size:42px;line-height:1.1;margin:0 0 5px;font-weight:800}.ru-heading p{margin:0;color:#abb2bb;font-size:18px}.ru-source{padding:11px 15px;border:1px solid #333940;border-radius:10px;background:#171b1e;color:#d9dde2;white-space:nowrap}.ru-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-bottom:22px}.ru-card{height:132px;box-sizing:border-box;display:flex;align-items:center;gap:30px;padding:24px 35px;position:relative;overflow:hidden;background:linear-gradient(115deg,#101417,#14171a);border:1px solid #bd970b;border-radius:11px}.ru-card__icon{display:block;width:60px;height:60px;flex:none;color:#ffcc13}.ru-card__icon svg,.ru-card__ghost svg{width:100%;height:100%}.ru-card small{display:block;font-size:16px;color:#b9c0c9;margin-bottom:4px}.ru-card strong{display:block;font-size:40px;line-height:1;color:#f7f7f8}.ru-card__ghost{position:absolute;right:25px;width:74px;height:74px;color:#8d959d;opacity:.08}.ru-panel{border:1px solid #323941;border-radius:11px;background:linear-gradient(120deg,#0f1316,#0b0e10);padding:13px}.ru-tools{display:flex;gap:16px;margin-bottom:16px}.ru-search{display:flex;align-items:center;gap:14px;flex:1;min-width:180px;padding:0 15px;height:49px;border:1px solid #40464e;border-radius:9px;background:#20262b;color:#f6f6f6}.ru-search svg{width:21px;height:21px}.ru-search input{flex:1;min-width:0;border:0;outline:0;color:#f7f7f8;background:transparent;font:inherit}.ru-search input::placeholder{color:#b4bbc2}.ru-tools select{min-width:190px;padding:0 17px;background:#1b2024;color:#f7f7f8;border:1px solid #40464e;border-radius:9px;font:inherit}.ru-refresh{min-width:145px;background:#ffcc13;color:#090a0b;border:1px solid #f4c10b;border-radius:9px;font:inherit;font-weight:700;cursor:pointer}.ru-refresh:hover{background:#ffdb51}.ru-scroll{overflow:auto;border:1px solid #292e33;border-radius:9px}.ru-table{width:100%;border-collapse:collapse;min-width:780px}.ru-table th{text-align:left;background:#20262b;color:#c4cad1;font-size:12px;letter-spacing:1.1px;text-transform:uppercase;font-weight:700;padding:16px 23px}.ru-table td{height:63px;border-top:1px solid #242a30;padding:7px 23px;font-size:15px}.ru-table th:first-child,.ru-table td:first-child{width:48px}.ru-person{display:flex;align-items:center;gap:20px}.ru-person b{display:block}.ru-person small{display:block;color:#a6acb4;font-size:12px;margin-top:3px}.ru-avatar{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:50%;border:1px solid #d5ad00;background:linear-gradient(145deg,#382e0a,#111418);color:#f8f7ef;font-weight:700}.ru-role{display:inline-block;min-width:70px;text-align:center;padding:8px 10px;border-radius:8px;font-size:13px}.ru-role--staff{background:#2d270d;border:1px solid #8d6f08;color:#ffcf20}.ru-role--player{background:#1a2632;border:1px solid #33516e;color:#9ecbfa}.ru-row-action{border:0;background:transparent;color:#b9c1c9;font-size:25px;cursor:pointer;padding:5px 12px}.ru-row-action:hover{color:#ffcc13}.ru-empty{text-align:center;color:#a7adb4;padding:35px!important}.ru-footer{display:flex;align-items:center;justify-content:flex-end;gap:28px;min-height:50px;color:#aeb5bd;font-size:13px}.ru-footer nav{display:flex;gap:6px;align-items:center}.ru-footer button{min-width:34px;height:34px;border:1px solid transparent;background:transparent;border-radius:7px;color:#d8dde2;cursor:pointer}.ru-footer button[aria-current=page]{border-color:#ffcc13;color:#ffcc13}.ru-footer button:disabled{opacity:.3;cursor:default}.ru-note{color:#90979f;font-size:12px;margin:11px 2px 0}@media(max-width:1050px){.ru-metrics{gap:12px}.ru-card{padding:18px;gap:16px}.ru-card__ghost{display:none}}@media(max-width:780px){.ru-heading h1{font-size:33px}.ru-heading{flex-wrap:wrap}.ru-metrics{grid-template-columns:1fr}.ru-card{height:90px}.ru-tools{flex-wrap:wrap}.ru-search{flex-basis:100%}.ru-tools select,.ru-refresh{flex:1}.ru-footer{flex-wrap:wrap;justify-content:center;padding:10px}}


/* Compact category cards in the dashboard style. */
.rd-category-grid{max-width:1320px;gap:24px}
.rd-category{min-height:0;padding:27px 31px 22px;border-color:#bd970b;background:linear-gradient(130deg,#121619,#0d1012)}
.rd-category__top{min-height:104px;align-items:flex-start;gap:23px;padding-bottom:18px}
.rd-category__icon{width:62px;height:62px;font-size:28px;border-color:#ffcc13}
.rd-category h2{font-size:22px;margin:2px 0 7px}
.rd-category p{font-size:15px;line-height:1.45;max-width:34ch}
.rd-category__foot{min-height:44px;padding-top:17px}
.rd-category__foot>span{display:flex;align-items:center;gap:10px}
.rd-category__foot>span::before{content:'▰';color:#ffcc13;font-size:28px;line-height:1;margin-right:5px}
.rd-category__foot strong{font-size:21px;margin-right:1px}
.rd-category .rd-secondary{font-size:14px;padding:9px 15px}
@media(max-width:700px){.rd-category-grid{grid-template-columns:1fr}.rd-category{padding:20px}.rd-category__top{min-height:90px}.rd-category__icon{width:54px;height:54px}}

/* Tighter category spacing. */
.rd-category{padding:22px 25px 16px}
.rd-category__top{min-height:78px;padding-bottom:14px;gap:18px}
.rd-category__icon{width:56px;height:56px;font-size:24px}
.rd-category__foot{min-height:39px;padding-top:13px}
body:not(.is-login) #workspace-content:has(.rd-category-grid) .page-header h1{font-size:34px}
@media(max-width:700px){.rd-category{padding:18px}.rd-category__top{min-height:74px}.rd-category__icon{width:50px;height:50px}}

/* Settings page */
.es-page{width:100%;color:#f7f7f8}.es-heading{margin:0 0 23px}.es-heading h1{font-size:42px;line-height:1.1;letter-spacing:-.025em;margin:0 0 6px}.es-heading p{font-size:17px;color:#aeb5bc;margin:0}.es-layout{display:grid;grid-template-columns:326px minmax(0,1fr);gap:20px}.es-nav{border:1px solid #353b3f;border-radius:10px;background:linear-gradient(135deg,#101416,#0b0e10);padding:15px 0;min-height:560px;box-sizing:border-box}.es-nav button{width:100%;height:68px;display:flex;align-items:center;gap:24px;text-align:left;padding:0 29px;border:0;border-left:6px solid transparent;background:transparent;color:#eef0f2;font:inherit;font-size:16px;cursor:pointer}.es-nav svg{width:25px;height:25px;flex:none}.es-nav button:hover{background:#282308}.es-nav button.active{background:linear-gradient(90deg,#584309a8,#392e0d9c);border-left-color:#ffcf13;color:#ffdb32;font-weight:700}.es-main{display:grid;gap:16px;align-content:start}.es-card{border:1px solid #bd970b;border-radius:10px;background:linear-gradient(130deg,#111518,#0c0f11);padding:24px 32px 21px}.es-card h2{font-size:25px;line-height:1.2;margin:0 0 14px}.es-field{display:grid;grid-template-columns:190px minmax(0,1fr);gap:20px;align-items:center;min-height:54px;margin-top:8px}.es-field>label{color:#ebedef;font-size:15px}.es-field input:not([type=checkbox]):not([type=radio]),.es-field select,.es-accent{display:block;width:100%;box-sizing:border-box;min-height:47px;border:1px solid #363e43;border-radius:8px;background:#1c2226;color:#f5f6f7;padding:10px 16px;font:inherit;font-size:15px}.es-field select:disabled{opacity:1;cursor:default}.es-field input:focus-visible,.es-field select:focus-visible{outline:2px solid #ffca12;outline-offset:2px}.es-switch-row{display:flex;align-items:center;gap:18px;min-height:46px}.es-switch-row small{color:#a9b0b8;font-size:14px}.es-switch{position:relative;display:inline-flex;width:55px;height:30px;flex:none}.es-switch input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}.es-switch span{display:block;width:100%;height:100%;border-radius:99px;background:#4b5459;box-shadow:inset 0 0 0 1px #6c7378;transition:background .2s}.es-switch span:before{content:'';display:block;position:absolute;width:24px;height:24px;top:3px;left:3px;border-radius:50%;background:#f6f7f8;transition:left .2s}.es-switch input:checked+span{background:#ffca13;box-shadow:inset 0 0 0 1px #e4ae00}.es-switch input:checked+span:before{left:28px}.es-switch input:focus-visible+span{outline:2px solid white;outline-offset:3px}.es-themes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.es-theme{display:flex;align-items:center;gap:16px;min-height:71px;padding:10px 15px;box-sizing:border-box;border:1px solid #363e43;border-radius:8px;background:#1b2024;cursor:pointer}.es-theme input{appearance:none;width:28px;height:28px;border:2px solid #7d858c;border-radius:50%;flex:none;margin:0;cursor:pointer}.es-theme input:checked{border:3px solid #ffcc13;box-shadow:inset 0 0 0 5px #1b2024;background:#ffcc13}.es-theme input:focus-visible{outline:2px solid #fff;outline-offset:3px}.es-theme strong{display:block;font-size:15px;font-weight:500}.es-theme small{display:block;margin-top:3px;color:#aeb5bd;font-size:13px}.es-accent{display:flex;align-items:center;gap:18px}.es-accent i{display:block;width:27px;height:27px;border-radius:50%;background:#ffcc13;flex:none}.es-actions{display:flex;align-items:center;justify-content:flex-end;gap:20px;margin-top:6px}.es-actions small{color:#979fa7}.es-actions button{min-height:54px;border:1px solid #e8b600;border-radius:9px;padding:0 25px;background:linear-gradient(#ffcf15,#eeb900);color:#0a0b0c;font:inherit;font-weight:700;cursor:pointer}.es-actions button:hover{filter:brightness(1.08)}
@media(max-width:1100px){.es-layout{grid-template-columns:240px minmax(0,1fr)}.es-nav{min-height:0}.es-card{padding:22px}.es-field{grid-template-columns:150px minmax(0,1fr)}}@media(max-width:780px){.es-layout{grid-template-columns:1fr}.es-nav{display:flex;overflow:auto;padding:4px;gap:4px}.es-nav button{width:auto;min-width:max-content;height:48px;padding:0 14px;border:0;border-bottom:3px solid transparent;gap:8px}.es-nav button.active{border-left:0;border-bottom-color:#ffcf13}.es-nav svg{width:20px;height:20px}.es-heading h1{font-size:34px}}@media(max-width:600px){.es-field{grid-template-columns:1fr;gap:7px;margin-top:17px}.es-themes{grid-template-columns:1fr}.es-switch-row{align-items:flex-start}.es-actions{flex-direction:column;align-items:stretch}.es-actions button{width:100%}}
/* The light preference keeps brand gold while making the workspace brighter. */
body.ep-light:not(.is-login),body.ep-light:not(.is-login) .app-shell,body.ep-light:not(.is-login) .workspace,body.ep-light:not(.is-login) .workspace__content{background:#eef1f2;color:#202427}
body.ep-light:not(.is-login) .sidebar{background:linear-gradient(180deg,#16191b,#202327)}
body.ep-light:not(.is-login) .es-page,body.ep-light:not(.is-login) .ru-page{color:#202427}
body.ep-light:not(.is-login) .es-heading p,body.ep-light:not(.is-login) .page-header p{color:#56616a}
body.ep-light:not(.is-login) .es-nav,body.ep-light:not(.is-login) .es-card,body.ep-light:not(.is-login) .rd-panel,body.ep-light:not(.is-login) .rd-category,body.ep-light:not(.is-login) .rd-home-panel,body.ep-light:not(.is-login) .ru-panel,body.ep-light:not(.is-login) .ru-card,body.ep-light:not(.is-login) .table-card{background:#fff;color:#202427;border-color:#c9a332}
body.ep-light:not(.is-login) .es-nav button{color:#273039}body.ep-light:not(.is-login) .es-nav button.active{background:#fff2c1;color:#5b4600}
body.ep-light:not(.is-login) .es-card h2,body.ep-light:not(.is-login) .es-field>label,body.ep-light:not(.is-login) .es-theme strong,body.ep-light:not(.is-login) .page-header h1,body.ep-light:not(.is-login) .rd-category h2{color:#202427}
body.ep-light:not(.is-login) .es-field input:not([type=checkbox]):not([type=radio]),body.ep-light:not(.is-login) .es-field select,body.ep-light:not(.is-login) .es-accent,body.ep-light:not(.is-login) .es-theme,body.ep-light:not(.is-login) .ru-search,body.ep-light:not(.is-login) .ru-tools select{background:#f8fafb;color:#202427;border-color:#cbd2d6}
body.ep-light:not(.is-login) .es-switch-row small,body.ep-light:not(.is-login) .es-theme small,body.ep-light:not(.is-login) .rd-category p,body.ep-light:not(.is-login) .es-actions small{color:#66717a}
body.ep-light:not(.is-login) .es-theme input:checked{box-shadow:inset 0 0 0 5px #f8fafb}
body.ep-light:not(.is-login) .rd-table th,body.ep-light:not(.is-login) .ru-table th{background:#e4e8ea;color:#38434a}
body.ep-light:not(.is-login) .rd-table td,body.ep-light:not(.is-login) .ru-table td{color:#202427;border-color:#dce1e3}


@media(max-width:1350px){.es-themes{grid-template-columns:1fr}}

/* Shared compact layout. Preserve all data and actions. */
@media(min-width:1101px){
  body:not(.is-login) .hero{height:72px;padding:0 25px;gap:27px}
  body:not(.is-login) .hero__brand{gap:10px}
  body:not(.is-login) .hero__brand .brand-emblem{width:48px;height:48px}
  body:not(.is-login) .hero__brand strong{font-size:28px}
  body:not(.is-login) .hero__brand small{font-size:10px;letter-spacing:.3em}
  body:not(.is-login) .hero__tagline{font-size:10px;letter-spacing:.18em}
  body:not(.is-login) .hero .topbar__right{gap:15px}
  body:not(.is-login) .hero .profile-menu{top:62px}
  body:not(.is-login) .app-shell{height:calc(100dvh - 72px);min-height:0}
  body:not(.is-login) .sidebar{width:238px}
  body:not(.is-login) .side-nav{padding:13px 0}
  body:not(.is-login) .side-nav button{min-height:52px;padding:0 21px;gap:14px;font-size:14px}
  body:not(.is-login) .side-nav .nav-icon{width:20px;font-size:18px}
  body:not(.is-login) .sidebar__foot{left:21px;right:18px;bottom:18px}
  body:not(.is-login) .workspace__content{padding:26px 28px 36px}
}
body:not(.is-login) .sidebar{background:linear-gradient(180deg,#0c0e10 0%,#0c0e10 52%,#0c0e10ed 74%,#0b0d0dcb 100%),url('assets/los-santos-night.png') center bottom/auto 48% no-repeat;border-right-color:#292e31}
body:not(.is-login) .side-nav button.active{background:#3a3015a8;border-left-color:#e1b91d;box-shadow:none}
body:not(.is-login) .page-header{margin-bottom:16px}
body:not(.is-login) .page-header h1,body:not(.is-login) .ru-heading h1,body:not(.is-login) .es-heading h1{font-size:31px;letter-spacing:-.02em}
body:not(.is-login) .page-header p,body:not(.is-login) .ru-heading p,body:not(.is-login) .es-heading p{font-size:14px;color:#a5adb4}
body:not(.is-login) .ru-heading,body:not(.is-login) .es-heading{margin-bottom:17px}
.rd-metrics,.rd-home-metrics,.ru-metrics{gap:14px;margin:18px 0 18px}
.rd-metric,.rd-home-metric,.ru-card{min-height:96px;height:96px;padding:16px 20px;gap:17px;border-color:#353b3f;background:#14181b;border-radius:9px;box-shadow:none}
.rd-metric__icon{width:43px;font-size:34px}.rd-home-metric__icon,.ru-card__icon{width:44px;height:44px}
.rd-home-metric__ghost,.ru-card__ghost{display:none}
.rd-metric small,.rd-home-metric small,.ru-card small{font-size:13px;margin-bottom:3px}
.rd-metric strong,.rd-home-metric strong,.ru-card strong{font-size:30px}
.rd-panel,.rd-home-panel,.ru-panel,.es-card{border-color:#343a3e;background:#121619;border-radius:9px;box-shadow:none}
.rd-panel{padding:17px 18px 18px}.rd-home-panel{padding:16px 18px 18px}
.rd-panel__heading{margin-bottom:12px}.rd-panel__heading h2,.rd-home-panel .rd-panel__heading h2{font-size:19px}
.rd-table th,.rd-home-panel .rd-table th,.ru-table th{padding:11px 14px;font-size:11px}
.rd-table td,.rd-home-panel .rd-table td,.ru-table td{padding:10px 14px;font-size:13px}
.rd-home-panel .rd-table td{height:48px}.rd-home-ticket-icon{width:18px;height:18px}.rd-home-action{font-size:20px}
.rd-table-scroll,.ru-scroll{border-color:#2d3438}
.rd-secondary,.secondary-button{padding:8px 12px;border-color:#3b4246;background:#1c2226;font-size:13px}
body:not(.is-login) .toolbar{gap:8px;margin-bottom:12px}
body:not(.is-login) .toolbar input,body:not(.is-login) .toolbar select,body:not(.is-login) .toolbar button{min-height:38px;font-size:13px}
body:not(.is-login) .toolbar .primary-button{background:#cfaa20;color:#121416;border-color:#cfaa20}
body:not(.is-login) .table-card{border-color:#343a3e;background:#121619}
body:not(.is-login) .table-card th{padding:10px 11px;font-size:11px}
body:not(.is-login) .table-card td{padding:9px 11px;font-size:12px}
.rd-category-grid,.rd-stats-grid{gap:14px}
.rd-category{padding:17px 20px 14px;border-color:#4d451f;background:#14181b}
.rd-category__top{min-height:68px;padding-bottom:10px;gap:14px}.rd-category__icon{width:44px;height:44px;font-size:20px;border-width:1px}
.rd-category h2{font-size:18px;margin:0 0 4px}.rd-category p{font-size:13px}
.rd-category__foot{padding-top:11px;min-height:34px}.rd-category__foot strong{font-size:18px}
.rd-category__foot>span::before{font-size:20px}.rd-category .rd-secondary{padding:7px 10px;font-size:12px}
.rd-donut{width:160px;height:160px;margin:17px auto}.rd-donut>div{width:122px;height:122px}.rd-donut strong{font-size:29px}
.ru-page .ru-heading{margin-bottom:16px}.ru-source{font-size:12px;padding:8px 11px}
.ru-panel{padding:10px}.ru-tools{gap:9px;margin-bottom:10px}.ru-search{height:40px}.ru-tools select,.ru-refresh{min-width:120px;height:40px;font-size:13px}.ru-refresh{background:#cfaa20;border-color:#cfaa20}
.ru-table td{height:51px}.ru-avatar{width:34px;height:34px;font-size:12px}.ru-person{gap:11px}.ru-person small{font-size:11px}
.ru-footer{min-height:42px}.ru-note{font-size:11px}
.es-layout{grid-template-columns:205px minmax(0,1fr);gap:14px}.es-nav{min-height:0;padding:8px 0;border-color:#343a3e;background:#121619}.es-nav button{height:49px;gap:12px;padding:0 15px;font-size:14px;border-left-width:3px}.es-nav svg{width:19px;height:19px}.es-nav button.active{background:#3a3015a8}
.es-main{gap:13px}.es-card{padding:18px 22px}.es-card h2{font-size:20px;margin-bottom:9px}.es-field{grid-template-columns:165px minmax(0,1fr);min-height:44px;margin-top:6px;gap:13px}.es-field>label{font-size:13px}.es-field input:not([type=checkbox]):not([type=radio]),.es-field select,.es-accent{min-height:39px;padding:7px 12px;font-size:13px}.es-switch-row{min-height:39px}.es-switch-row small{font-size:12px}.es-themes{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.es-theme{min-height:58px;gap:10px;padding:7px 10px}.es-theme input{width:22px;height:22px}.es-theme strong{font-size:13px}.es-theme small{font-size:11px}.es-actions button{min-height:43px;padding:0 17px;font-size:13px}
@media(max-width:1300px){.es-themes{grid-template-columns:1fr}}
@media(max-width:1050px){.es-layout{grid-template-columns:1fr}.es-nav{display:flex;overflow:auto;padding:4px;gap:4px}.es-nav button{width:auto;min-width:max-content;height:44px;padding:0 12px;border-left:0;border-bottom:2px solid transparent}.es-nav button.active{border-bottom-color:#e1b91d}.es-field{grid-template-columns:145px minmax(0,1fr)}}
@media(max-width:700px){.rd-metric,.rd-home-metric,.ru-card{height:auto;min-height:82px}.ru-metrics,.rd-home-metrics{grid-template-columns:1fr}.es-field{grid-template-columns:1fr}.es-themes{grid-template-columns:1fr}}
body.ep-light:not(.is-login) .rd-metric,body.ep-light:not(.is-login) .rd-home-metric,body.ep-light:not(.is-login) .ru-card{background:#fff;color:#202427;border-color:#d1d7d9}
body.ep-light:not(.is-login) .rd-metric strong,body.ep-light:not(.is-login) .rd-home-metric strong,body.ep-light:not(.is-login) .ru-card strong{color:#202427}
body.ep-light:not(.is-login) .rd-metric small,body.ep-light:not(.is-login) .rd-home-metric small,body.ep-light:not(.is-login) .ru-card small{color:#58636b}
body.ep-light:not(.is-login) .rd-donut>div{background:#fff}


/* Ticket conversation redesign */
.ed-detail{width:100%;color:#f2f3f5}
.ed-header{display:flex;align-items:center;gap:14px;padding:4px 0 18px;border-bottom:1px solid #9b741f66}
.ed-back{width:42px;height:42px;flex:none;border:1px solid #80601c;border-radius:10px;background:#181612;color:#f4c63b;font-size:26px;cursor:pointer}
.ed-header__icon{width:42px;height:42px;display:grid;place-items:center;border-radius:10px;background:#322917;color:#f4ca4c;font-size:22px}
.ed-header__title{min-width:0;flex:1}.ed-header h1{margin:0;font-size:25px;line-height:1.15}.ed-header p{margin:5px 0 0;color:#bac0c8;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ed-header .status{margin-left:auto}
.ed-tabs{display:flex;gap:8px;margin-bottom:18px;border-bottom:1px solid #292e34}.ed-tabs button{padding:16px 18px;border:0;border-bottom:2px solid transparent;background:none;color:#aeb5bf;font-size:13px;font-weight:600;cursor:pointer}.ed-tabs button.active{color:#f4c840;border-bottom-color:#f4c840}.ed-tabs button:hover{color:#fff}
.ed-grid{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(280px,1fr);gap:18px;align-items:start}
.ed-transcript,.ed-summary{min-width:0;border:1px solid #2b3138;border-radius:12px;background:#101317}
.ed-transcript{padding:20px 22px 18px}.ed-day{display:flex;align-items:center;gap:16px;margin:0 0 22px;color:#c9d1da;font-size:13px;font-weight:600}.ed-day:after{content:"";height:1px;flex:1;background:#323940}
.ed-event{position:relative;margin:0 0 18px;padding-left:42px}.ed-event__node{position:absolute;left:0;top:15px;width:26px;height:26px;display:grid;place-items:center;border-radius:50%;background:#352a12;border:1px solid #cda631;color:#ffd453;font-size:15px}
.ed-event--claim .ed-event__node{background:#123326;border-color:#2ca66c;color:#6fe3a8}
.ed-created{border:1px solid #70591e;border-radius:10px;padding:17px 19px;background:linear-gradient(125deg,#201b12,#17191a 62%)}.ed-created__head{display:flex;align-items:center;gap:10px}.ed-created__head strong{font-size:15px;color:#f4ca4f}.ed-created__head time{margin-left:auto;color:#a8b0b8;font-size:12px}.ed-created__icon{color:#f0c94a;font-size:20px}.ed-created p{margin:10px 0 16px;color:#d8dce0;font-size:13px;line-height:1.6}.ed-created__foot{display:flex;align-items:center;gap:12px;padding-top:12px;border-top:1px solid #443c2a;color:#aeb5bb;font-size:12px}.ed-created__foot strong{padding:5px 10px;border-radius:16px;background:#302815;color:#f6cf5a;font-weight:600}
.ed-claim{display:flex;align-items:center;gap:9px;min-height:46px;padding:10px 14px;border:1px solid #225d40;border-radius:9px;background:#10251c;color:#d9f0e2;font-size:13px}.ed-claim strong{color:#69dfa0}.ed-claim span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ed-claim time{margin-left:auto;color:#a2bbb0;font-size:12px}
.ed-message-group{display:grid;grid-template-columns:42px minmax(0,1fr);gap:12px;margin:18px 0 0}.ed-avatar{width:38px;height:38px;display:grid;place-items:center;border:1px solid #438bba;border-radius:50%;background:#183247;color:#9bd7ff;font-size:13px;font-weight:700}.ed-message-group--staff .ed-avatar{border-color:#c6a73e;background:#302916;color:#ffe17a}.ed-message-group--system .ed-avatar{border-color:#8c7438;background:#2b261a;color:#f3ce67}
.ed-message-group__meta{display:flex;align-items:center;gap:9px;min-height:35px;font-size:13px}.ed-message-group__meta strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ed-message-group__meta span{padding:3px 8px;border:1px solid #356786;border-radius:12px;background:#173247;color:#9dd5fb;font-size:11px;font-weight:700}.ed-message-group--staff .ed-message-group__meta span,.ed-message-group--system .ed-message-group__meta span{border-color:#806624;background:#382d14;color:#f3d465}.ed-message-group__meta time{color:#98a4b0;font-size:11px}
.ed-bubble{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin:0 0 8px;padding:12px 14px;border:1px solid #2d5876;border-radius:9px;background:#172b3c;color:#e8f0f7;font-size:13px;line-height:1.55}.ed-bubble>div{min-width:0;overflow-wrap:anywhere}.ed-bubble time{flex:none;color:#95b2c6;font-size:11px}.ed-message-group--staff .ed-bubble{border-color:#66552b;background:#292419;color:#f5f1e6}.ed-message-group--system .ed-bubble{border-color:#645227;background:#252117}.ed-bubble .message-embed{max-width:100%;margin:8px 0 0}.ed-bubble .attachment{max-width:100%}
.ed-summary{padding:20px 20px 16px;background:radial-gradient(circle at 100% 0%,#37291155,transparent 46%),#121416;border-color:#5e4b20}.ed-summary__title{display:flex;align-items:center;gap:12px;padding-bottom:17px;border-bottom:1px solid #38352b}.ed-summary__title>span{width:40px;height:40px;display:grid;place-items:center;border-radius:8px;background:#302714;color:#f1c340;font-size:22px}.ed-summary h2{margin:0;font-size:18px}.ed-summary__title p{margin:3px 0 0;color:#aeb5bc;font-size:12px}.ed-summary dl{margin:8px 0 17px}.ed-summary dl>div{display:grid;grid-template-columns:86px minmax(0,1fr);gap:8px;padding:10px 0;font-size:12px}.ed-summary dt{color:#9ca8b5}.ed-summary dd{margin:0;color:#f1f2f3;font-weight:600;overflow-wrap:anywhere}.ed-progress{padding:17px 0;border-top:1px solid #373b3e;border-bottom:1px solid #373b3e}.ed-progress h3{margin:0 0 18px;font-size:14px}.ed-progress__steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.ed-progress__steps>div{position:relative;color:#a8afb7;font-size:10px;text-align:center}.ed-progress__steps>div:not(:last-child):before{content:"";position:absolute;left:50%;right:-50%;top:7px;height:2px;background:#424951}.ed-progress__steps>div.is-complete:not(:last-child):before{background:#d5aa35}.ed-progress__steps i{position:relative;z-index:1;display:block;width:15px;height:15px;margin:0 auto 8px;border:2px solid #555f6a;border-radius:50%;background:#14171b}.ed-progress__steps .is-complete i{border-color:#e6b835;background:#e6b835;box-shadow:0 0 0 4px #44361a}.ed-summary__note{margin:16px 0 0;padding:13px;border:1px solid #303a43;border-radius:8px;color:#a7b3c1;font-size:11px;line-height:1.55}
.ed-archive,.ed-footer{margin-top:25px;padding:11px 13px;border:1px solid #323b42;border-radius:8px;color:#9eabb6;font-size:12px}.ed-footer{text-align:right}.ed-older{margin:0 0 18px}.ed-transcript .reply-form{margin-top:20px}.ed-empty{padding:25px;color:#abb5c0;text-align:center}.ed-secondary-panel{max-width:980px;padding:20px;border:1px solid #2d343b;border-radius:10px;background:#111519}.ed-secondary-panel h2{margin:0 0 18px;font-size:18px}
body.ep-light .ed-detail{color:#20242a}body.ep-light .ed-transcript,body.ep-light .ed-summary,body.ep-light .ed-secondary-panel{background:#fff;color:#20242a}body.ep-light .ed-bubble{color:#20242a;background:#e9f3f9}body.ep-light .ed-summary dd{color:#20242a}body.ep-light .ed-created{background:#fff9e8;color:#20242a}body.ep-light .ed-created p{color:#343b43}body.ep-light .ed-header p{color:#58616b}
@media(max-width:1050px){.ed-grid{grid-template-columns:minmax(0,1fr)}.ed-summary{max-width:none}.ed-summary dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}}
@media(max-width:650px){.ed-header h1{font-size:20px}.ed-header__icon{display:none}.ed-transcript{padding:16px 12px}.ed-event{padding-left:0}.ed-event__node{display:none}.ed-summary dl{display:block}.ed-message-group{grid-template-columns:32px minmax(0,1fr);gap:8px}.ed-avatar{width:30px;height:30px}.ed-tabs button{padding:13px 9px;font-size:11px}.ed-claim{flex-wrap:wrap}.ed-claim time{margin-left:0}}


/* Category overview: reference-inspired two-column layout with live counts. */
body:not(.is-login) #workspace-content:has(.rd-category-grid){max-width:none}
.rd-category-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin:0 0 27px}
.rd-category-head h1{font-size:42px;line-height:1.08;letter-spacing:-.035em;margin:0 0 7px;color:#f4f5f6}
.rd-category-head p{font-size:17px;line-height:1.45;color:#adb5be;margin:0}
.rd-category-all{border:1px solid #a98608;border-radius:10px;background:linear-gradient(180deg,#ffd537,#e8ae00);color:#171405;font-weight:700;font-size:15px;padding:13px 20px;cursor:pointer;white-space:nowrap;box-shadow:0 6px 24px #0005}
.rd-category-all span{font-size:23px;line-height:0;vertical-align:-1px;margin-left:8px}
.rd-category-all:hover{filter:brightness(1.08)}
.rd-category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;max-width:none}
.rd-category{min-width:0;min-height:238px;padding:29px 31px 23px;border:1px solid #b38c09;border-radius:12px;background:linear-gradient(135deg,#13171b,#0e1114);box-shadow:0 10px 32px #0003}
.rd-category__top{display:flex;align-items:flex-start;gap:24px;min-height:126px;padding:0 0 25px;border-bottom:1px solid #30343a}
.rd-category__icon{display:grid;place-items:center;flex:none;width:74px;height:74px;border:2px solid #ffca11;border-radius:50%;color:#ffca11;font-size:36px;line-height:1;background:#101317}
.rd-category h2{color:#f1f2f3;font-size:24px;line-height:1.2;margin:7px 0 8px}
.rd-category p{color:#aeb5bd;font-size:16px;line-height:1.45;max-width:34ch;margin:0}
.rd-category__foot{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:70px;padding-top:20px}
.rd-category__foot>span::before{content:none}
.rd-category__count{display:flex;align-items:baseline;gap:9px;color:#d4d9df}
.rd-category__count::before{content:'▰'!important;color:#ffca11!important;font-size:25px!important;line-height:1;margin-right:8px}
.rd-category__count strong{color:#f4f5f6;font-size:22px;line-height:1}
.rd-category__count small{font-size:14px}
.rd-category .rd-secondary{font-size:14px;padding:11px 15px;min-width:150px}
.rd-category .rd-secondary:disabled{opacity:.48;cursor:default}
body.ep-light:not(.is-login) .rd-category-head h1{color:#202427}
body.ep-light:not(.is-login) .rd-category__count,body.ep-light:not(.is-login) .rd-category__count strong{color:#202427}
@media(max-width:1050px){.rd-category-grid{grid-template-columns:1fr}.rd-category{min-height:210px}.rd-category__top{min-height:112px}}
@media(max-width:640px){.rd-category-head{flex-direction:column}.rd-category-head h1{font-size:34px}.rd-category-all{width:100%}.rd-category{padding:21px}.rd-category__top{gap:16px;min-height:100px}.rd-category__icon{width:56px;height:56px;font-size:27px}.rd-category h2{font-size:20px}.rd-category p{font-size:14px}.rd-category__foot{flex-wrap:wrap}.rd-category .rd-secondary{width:100%}}


/* Statistics dashboard */
.rs-content{max-width:none!important}
.rs-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 24px}
.rs-heading h1{font-size:40px;line-height:1.1;letter-spacing:-.035em;margin:0 0 6px;color:#f6f7f8}
.rs-heading p{margin:0;color:#aeb6bf;font-size:16px}
.rs-period{min-width:182px;height:48px;display:flex;align-items:center;gap:12px;padding:0 14px;border:1px solid #343b42;border-radius:11px;background:#171b1f;color:#e9eef1}
.rs-period svg{width:21px;height:21px;flex:none}.rs-period select{appearance:none;background:none;border:0;color:inherit;font:inherit;outline:0;flex:1;min-width:0;cursor:pointer}.rs-period select option{background:#171b1f;color:#fff}.rs-period>span{font-size:22px;line-height:1}
.rs-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}
.rs-metric{position:relative;min-width:0;min-height:120px;display:flex;align-items:center;gap:22px;padding:22px 24px;border:1px solid #b18b00;border-radius:10px;background:linear-gradient(120deg,#111518,#171b1f);overflow:hidden}
.rs-metric__icon{width:48px;height:48px;color:#ffd019;flex:none}.rs-metric__icon svg,.rs-metric__ghost svg{display:block;width:100%;height:100%}
.rs-metric small{display:block;color:#c0c6cd;font-size:15px;white-space:nowrap}.rs-metric strong{display:block;color:#f7f8f9;font-size:36px;line-height:1.1;margin-top:5px}.rs-metric__ghost{position:absolute;right:12px;top:50%;transform:translateY(-50%);width:65px;height:65px;color:#ffffff;opacity:.045}
.rs-panels{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(300px,1fr);gap:18px}.rs-panel{min-width:0;min-height:420px;padding:24px 25px;border:1px solid #353c43;border-radius:11px;background:linear-gradient(130deg,#111518,#14181b)}.rs-panel h2{font-size:23px;line-height:1.2;margin:0;color:#f7f8fa}.rs-panel-heading{display:flex;justify-content:space-between;gap:12px;align-items:center}.rs-panel-heading>span{color:#959fa8;font-size:12px}
.rs-chart-wrap{width:100%;margin:23px 0 0}.rs-chart{display:block;width:100%;height:auto;overflow:visible}.rs-grid-line{stroke:#ffffff;stroke-opacity:.09;stroke-width:1}.rs-axis-text{fill:#a9b1bb;font-size:12px}.rs-chart-line{fill:none;stroke:#ffcf0a;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.rs-chart-point{fill:#111518;stroke:#ffcf0a;stroke-width:3}.rs-chart-legend{display:flex;align-items:center;justify-content:center;gap:10px;color:#e7eaed;font-size:13px}.rs-chart-legend i{width:15px;height:15px;border:2px solid #ffcf0a;border-radius:50%}.rs-note{margin:10px 0 0;text-align:center;font-size:12px;color:#9da6ae}
.rs-donut{width:min(240px,75%);aspect-ratio:1;margin:28px auto 24px;border-radius:50%;background:conic-gradient(#ffcf0a 0 var(--closed),#343c44 var(--closed) 100%);display:grid;place-items:center}.rs-donut>div{width:72%;height:72%;border-radius:50%;background:#13171a;display:flex;flex-direction:column;align-items:center;justify-content:center}.rs-donut strong{color:#f6f7f8;font-size:39px;line-height:1}.rs-donut small{color:#bcc4cb;font-size:13px;margin-top:7px}.rs-legend{display:grid;gap:17px;padding:0 9px}.rs-legend>div{display:grid;grid-template-columns:1fr 40px 52px;align-items:center;gap:10px;color:#d9dee2;font-size:15px}.rs-legend span{display:flex;align-items:center;gap:13px}.rs-legend-dot{width:17px;height:17px;border-radius:50%;background:#414a52}.rs-legend-dot--gold{background:#ffce0a}.rs-legend b,.rs-legend em{font-style:normal;font-weight:500;text-align:right}
body.ep-light .rs-heading h1,body.ep-light .rs-panel h2,body.ep-light .rs-metric strong,body.ep-light .rs-donut strong{color:#202427}body.ep-light .rs-metric,body.ep-light .rs-panel,body.ep-light .rs-period{background:#fff;color:#202427}body.ep-light .rs-donut>div{background:#fff}body.ep-light .rs-chart-point{fill:#fff}body.ep-light .rs-grid-line{stroke:#111;stroke-opacity:.14}body.ep-light .rs-axis-text{fill:#5a6269}body.ep-light .rs-metric small,body.ep-light .rs-legend>div{color:#343a40}
@media(max-width:1180px){.rs-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.rs-panels{grid-template-columns:1fr}.rs-panel{min-height:0}}
@media(max-width:680px){.rs-heading{align-items:flex-start;flex-direction:column}.rs-heading h1{font-size:32px}.rs-period{height:42px}.rs-metrics{gap:10px}.rs-metric{min-height:88px;padding:13px;gap:10px}.rs-metric__icon{width:31px;height:31px}.rs-metric__ghost{display:none}.rs-metric small{font-size:12px;white-space:normal}.rs-metric strong{font-size:25px}.rs-panel{padding:17px}.rs-panel h2{font-size:19px}.rs-panel-heading>span{font-size:11px}}


/* Compact, quiet category overview. */
body:not(.is-login) #workspace-content:has(.rd-category-grid){max-width:none}
body:not(.is-login) .rd-category-head{align-items:center;gap:18px;margin-bottom:19px}
body:not(.is-login) .rd-category-head h1{font-size:32px;line-height:1.15;margin:0 0 4px}
body:not(.is-login) .rd-category-head p{font-size:14px;line-height:1.4}
body:not(.is-login) .rd-category-all{background:#1b2024;border:1px solid #424a50;border-radius:8px;color:#f0f2f3;box-shadow:none;font-size:13px;font-weight:600;padding:10px 14px}
body:not(.is-login) .rd-category-all:hover{background:#242a2e;border-color:#c39b17;filter:none}
body:not(.is-login) .rd-category-all span{font-size:18px;margin-left:5px}
body:not(.is-login) .rd-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body:not(.is-login) .rd-category{min-height:0;padding:17px 18px 13px;border:1px solid #343b40;border-left:2px solid #bd9713;border-radius:9px;background:#121619;box-shadow:none}
body:not(.is-login) .rd-category:hover{border-color:#6b5a22;background:#151a1d}
body:not(.is-login) .rd-category__top{gap:13px;min-height:0;padding:0 0 14px;align-items:center;border-bottom:1px solid #2d3439}
body:not(.is-login) .rd-category__icon{width:42px;height:42px;border:1px solid #8e7314;border-radius:9px;background:#1c1b12;color:#e6b913;font-size:22px}
body:not(.is-login) .rd-category h2{font-size:18px;line-height:1.25;margin:0 0 3px}
body:not(.is-login) .rd-category p{font-size:13px;line-height:1.35;max-width:none;margin:0;color:#a6afb6}
body:not(.is-login) .rd-category__foot{min-height:0;padding-top:11px;gap:10px}
body:not(.is-login) .rd-category__count{gap:6px}
body:not(.is-login) .rd-category__count::before{content:none!important;display:none!important}
body:not(.is-login) .rd-category__count strong{font-size:17px}
body:not(.is-login) .rd-category__count small{font-size:12px;color:#a9b1b7}
body:not(.is-login) .rd-category .rd-secondary{min-width:0;padding:7px 10px;border-radius:7px;font-size:12px}
body:not(.is-login) .rd-category .rd-secondary:disabled{border-color:transparent;background:transparent;opacity:.6;padding-right:0}
body.ep-light:not(.is-login) .rd-category{background:#fff;border-color:#d2d5d7;border-left-color:#bd9713}
body.ep-light:not(.is-login) .rd-category:hover{background:#faf8f1}
body.ep-light:not(.is-login) .rd-category__top{border-color:#e5e7e9}
body.ep-light:not(.is-login) .rd-category__icon{background:#fff8db}
body.ep-light:not(.is-login) .rd-category-all{background:#fff;color:#202427;border-color:#ccd1d5}
@media(max-width:1000px){body:not(.is-login) .rd-category-grid{grid-template-columns:1fr}}
@media(max-width:640px){body:not(.is-login) .rd-category-head{align-items:stretch;gap:12px}body:not(.is-login) .rd-category-head h1{font-size:28px}body:not(.is-login) .rd-category-all{width:100%}body:not(.is-login) .rd-category{padding:15px}body:not(.is-login) .rd-category h2{font-size:17px}body:not(.is-login) .rd-category__foot{flex-wrap:nowrap}body:not(.is-login) .rd-category .rd-secondary{width:auto}}


/* Compact statistics page */
body:not(.is-login) .rs-heading{margin-bottom:17px;gap:16px}
body:not(.is-login) .rs-heading h1{font-size:32px;line-height:1.14;margin-bottom:3px}
body:not(.is-login) .rs-heading p{font-size:14px}
body:not(.is-login) .rs-period{height:40px;min-width:158px;padding:0 11px;gap:8px;border-radius:8px;background:#191e22;font-size:13px}
body:not(.is-login) .rs-period svg{width:17px;height:17px}
body:not(.is-login) .rs-period>span{font-size:18px}
body:not(.is-login) .rs-metrics{gap:12px;margin-bottom:15px}
body:not(.is-login) .rs-metric{min-height:82px;padding:15px 17px;gap:14px;border:1px solid #363d42;border-left:2px solid #bd9713;border-radius:8px;background:#14191c}
body:not(.is-login) .rs-metric__icon{width:32px;height:32px;color:#e5b914}
body:not(.is-login) .rs-metric__ghost{display:none}
body:not(.is-login) .rs-metric small{font-size:13px;color:#a9b3bb}
body:not(.is-login) .rs-metric strong{font-size:27px;margin-top:2px}
body:not(.is-login) .rs-panels{grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);gap:12px}
body:not(.is-login) .rs-panel{min-height:0;padding:18px 20px;border-radius:9px;background:#121619}
body:not(.is-login) .rs-panel h2{font-size:19px}
body:not(.is-login) .rs-panel-heading>span{font-size:11px}
body:not(.is-login) .rs-chart-wrap{max-width:690px;margin:8px auto 0}
body:not(.is-login) .rs-chart-legend{font-size:12px;gap:7px;margin-top:-4px}
body:not(.is-login) .rs-chart-legend i{width:11px;height:11px}
body:not(.is-login) .rs-chart-line{stroke-width:2}
body:not(.is-login) .rs-chart-point{stroke-width:2.5;r:4}
body:not(.is-login) .rs-donut{width:178px;max-width:65%;margin:18px auto 20px}
body:not(.is-login) .rs-donut>div{width:76%;height:76%;background:#121619}
body:not(.is-login) .rs-donut strong{font-size:30px}
body:not(.is-login) .rs-donut small{font-size:11px;margin-top:4px}
body:not(.is-login) .rs-legend{gap:11px;padding:0 3px}
body:not(.is-login) .rs-legend>div{font-size:13px;grid-template-columns:1fr 28px 43px}
body:not(.is-login) .rs-legend-dot{width:12px;height:12px}
body.ep-light:not(.is-login) .rs-metric,body.ep-light:not(.is-login) .rs-panel,body.ep-light:not(.is-login) .rs-period{background:#fff}
body.ep-light:not(.is-login) .rs-donut>div{background:#fff}
@media(max-width:1100px){body:not(.is-login) .rs-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}body:not(.is-login) .rs-panels{grid-template-columns:1fr}body:not(.is-login) .rs-chart-wrap{max-width:690px}}
@media(max-width:660px){body:not(.is-login) .rs-heading{align-items:flex-start}body:not(.is-login) .rs-heading h1{font-size:28px}body:not(.is-login) .rs-metrics{gap:9px}body:not(.is-login) .rs-metric{min-height:73px;padding:11px;gap:9px}body:not(.is-login) .rs-metric__icon{width:25px;height:25px}body:not(.is-login) .rs-metric small{font-size:11px}body:not(.is-login) .rs-metric strong{font-size:23px}body:not(.is-login) .rs-panel{padding:15px}body:not(.is-login) .rs-donut{width:158px}}
