:root {
  --bg: #07101a;
  --panel: rgba(13, 27, 40, .88);
  --panel-strong: #0d1b28;
  --line: rgba(144, 195, 220, .13);
  --text: #eefaff;
  --muted: #7f9cac;
  --cyan: #45e0e8;
  --lime: #9ceb7a;
  --blue: #6da9ff;
  --violet: #bd92ff;
  --orange: #ff9f58;
  --gold: #ffd166;
  --radius: 18px;
}
* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 0%, rgba(24, 146, 174, .16), transparent 32rem),
    radial-gradient(circle at 92% 18%, rgba(86, 65, 158, .14), transparent 28rem),
    linear-gradient(155deg, #07101a 0%, #081521 48%, #07101a 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
button { font: inherit; }
.water-grid {
  position: fixed; inset: 0; pointer-events: none; opacity: .34;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}
.app-frame { position: relative; display: grid; grid-template-columns: 238px minmax(0, 1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; display: flex; flex-direction: column; height: 100vh; padding: 28px 18px; border-right: 1px solid var(--line); background: rgba(5, 14, 23, .82); backdrop-filter: blur(18px); z-index: 3; }
.side-brand { display: flex; align-items: center; gap: 13px; padding: 0 8px 28px; border-bottom: 1px solid var(--line); }
.side-brand .brand-mark { width: 42px; height: 42px; border-radius: 12px; font-size: 19px; }
.side-brand strong, .side-brand small { display: block; }
.side-brand strong { margin-bottom: 3px; font-size: 14px; }.side-brand small { color: var(--muted); font-size: 10px; letter-spacing: .14em; }
.side-nav { display: grid; gap: 8px; margin-top: 24px; }
.nav-tab { position: relative; display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto; column-gap: 9px; padding: 13px 12px; border: 1px solid transparent; border-radius: 12px; color: var(--muted); background: transparent; cursor: pointer; text-align: left; transition: .18s ease; }
.nav-tab > span { grid-row: 1 / 3; align-self: center; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; color: #658392; background: rgba(144, 195, 220, .07); font-size: 17px; }
.nav-tab b { color: #a9bec8; font-size: 13px; }.nav-tab small { margin-top: 3px; color: #4f6c7a; font-size: 9px; }
.nav-tab:hover { border-color: var(--line); background: rgba(69, 224, 232, .04); }
.nav-tab.active { border-color: rgba(69, 224, 232, .22); background: linear-gradient(90deg, rgba(69, 224, 232, .13), rgba(69, 224, 232, .035)); box-shadow: inset 2px 0 var(--cyan); }
.nav-tab.active > span { color: var(--cyan); background: rgba(69, 224, 232, .12); }.nav-tab.active b { color: var(--text); }
.side-foot { display: flex; align-items: center; gap: 8px; margin-top: auto; padding: 12px; color: #405e6d; font-size: 9px; letter-spacing: .12em; }.side-foot i { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }
.shell { position: relative; width: min(1480px, calc(100% - 48px)); margin: 0 auto; padding: 38px 0 24px; min-width: 0; }
.view { display: none; }.view.active { display: block; }
.page-subtitle { margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-bottom: 30px; }
.brand { display: flex; align-items: center; gap: 15px; }
.brand-mark {
  width: 52px; height: 52px; display: grid; place-items: center; flex: 0 0 auto;
  border: 1px solid rgba(69, 224, 232, .45); border-radius: 14px; color: var(--cyan);
  background: linear-gradient(145deg, rgba(69, 224, 232, .16), rgba(109, 169, 255, .06));
  box-shadow: inset 0 0 18px rgba(69, 224, 232, .08), 0 0 28px rgba(69, 224, 232, .08);
  font-size: 24px; transform: rotate(45deg);
}
.brand-mark span { transform: rotate(-45deg); }
.eyebrow { margin: 0 0 5px; color: #62cbd5; font-size: 10px; font-weight: 800; letter-spacing: .19em; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 0; font-size: clamp(22px, 2.4vw, 32px); letter-spacing: -.035em; }
.toolbar { display: flex; align-items: center; gap: 12px; }
.live-state { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px rgba(156, 235, 122, .08), 0 0 14px var(--lime); }
.live-state.error .live-dot { background: #ff6e72; box-shadow: 0 0 0 5px rgba(255, 110, 114, .08); }
.range-switch { display: flex; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: rgba(5, 14, 23, .72); }
.range-button, .refresh-button { border: 0; color: var(--muted); cursor: pointer; transition: .18s ease; }
.range-button { padding: 8px 13px; border-radius: 8px; background: transparent; font-size: 12px; font-weight: 700; }
.range-button:hover { color: var(--text); }
.range-button.active { color: #061318; background: var(--cyan); box-shadow: 0 4px 18px rgba(69, 224, 232, .18); }
.refresh-button { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 11px; background: rgba(13, 27, 40, .82); font-size: 21px; }
.refresh-button:hover { color: var(--cyan); border-color: rgba(69, 224, 232, .4); }
.refresh-button.loading { animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.metric-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-bottom: 14px; }
.metric-card, .panel { border: 1px solid var(--line); background: var(--panel); box-shadow: 0 16px 50px rgba(0, 0, 0, .16); backdrop-filter: blur(14px); }
.metric-card { position: relative; min-width: 0; min-height: 144px; padding: 20px; overflow: hidden; border-radius: 15px; }
.metric-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--accent); opacity: .9; }
.metric-card::after { content: ""; position: absolute; width: 96px; height: 96px; right: -34px; top: -42px; border-radius: 50%; background: var(--accent); filter: blur(42px); opacity: .12; }
.metric-card p { margin-bottom: 15px; color: var(--muted); font-size: 12px; font-weight: 650; }
.metric-card > strong, .dual-value strong { display: inline-block; color: var(--text); font-size: clamp(25px, 2.1vw, 34px); line-height: 1; letter-spacing: -.055em; }
.metric-card span { display: block; margin-top: 13px; color: #678494; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.metric-card b { color: var(--accent); font-weight: 700; }
.dual-value { display: flex; align-items: baseline; gap: 7px; }
.dual-value strong { font-size: clamp(21px, 1.7vw, 29px); }
.dual-value i { color: #34505e; font-style: normal; }
.accent-cyan { --accent: var(--cyan); }.accent-lime { --accent: var(--lime); }.accent-blue { --accent: var(--blue); }
.accent-violet { --accent: var(--violet); }.accent-orange { --accent: var(--orange); }.accent-gold { --accent: var(--gold); }
.panel { border-radius: var(--radius); padding: 22px; }
.trend-panel { margin-bottom: 14px; }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.panel-heading h2 { margin-bottom: 0; font-size: 17px; letter-spacing: -.02em; }
.legend { display: flex; flex-wrap: wrap; gap: 17px; color: var(--muted); font-size: 11px; }
.legend span::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.legend .events { color: var(--cyan); }.legend .users { color: var(--lime); }.legend .catches { color: var(--violet); }
.chart-wrap { position: relative; width: 100%; height: 270px; }
#trendChart { display: block; width: 100%; height: 100%; }
.chart-empty, .list-empty { position: absolute; inset: 0; display: none; place-items: center; color: var(--muted); font-size: 13px; }
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.content-grid > .panel { min-width: 0; min-height: 332px; }
.panel-total { padding: 5px 9px; color: var(--muted); border: 1px solid var(--line); border-radius: 8px; font-size: 10px; }
.bar-list { display: grid; gap: 13px; }
.bar-item { display: grid; grid-template-columns: minmax(90px, 1fr) 3fr 42px; align-items: center; gap: 12px; font-size: 11px; }
.bar-label { overflow: hidden; color: #c9dbe3; text-overflow: ellipsis; white-space: nowrap; }
.bar-track { height: 7px; overflow: hidden; border-radius: 6px; background: #101f2c; }
.bar-fill { width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #258da0, var(--cyan)); box-shadow: 0 0 12px rgba(69, 224, 232, .22); transition: width .45s ease; }
.orange-bars .bar-fill { background: linear-gradient(90deg, #b85c2f, var(--orange)); box-shadow: 0 0 12px rgba(255, 159, 88, .2); }
.bar-value { color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.table-wrap { position: relative; min-height: 225px; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 11px; }
th { padding: 0 10px 10px; color: #55717f; font-size: 9px; letter-spacing: .12em; text-align: left; text-transform: uppercase; }
td { padding: 13px 10px; border-top: 1px solid rgba(144, 195, 220, .08); color: #9eb5c0; }
td:first-child { color: #e7f7fc; font-weight: 700; }
.currency { color: var(--gold); }
.composition-content { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.composition-content h3 { margin-bottom: 15px; color: var(--muted); font-size: 11px; font-weight: 650; }
.ring-row { display: flex; flex-wrap: wrap; gap: 10px; }
.platform-pill { min-width: 104px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(6, 17, 27, .55); }
.platform-pill strong, .platform-pill span { display: block; }
.platform-pill strong { margin-bottom: 4px; color: var(--cyan); font-size: 19px; }
.platform-pill span { color: var(--muted); font-size: 10px; text-transform: uppercase; }
.rarity-list { display: grid; gap: 10px; }
.rarity-row { display: grid; grid-template-columns: 72px 1fr 30px; align-items: center; gap: 10px; font-size: 10px; }
.rarity-row span:first-child { color: #bfd1d9; }
.rarity-track { height: 5px; border-radius: 5px; background: #101f2c; overflow: hidden; }
.rarity-fill { height: 100%; border-radius: inherit; background: var(--violet); }
.rarity-row b { color: var(--muted); text-align: right; }
.journey-panel, .user-explorer-panel { margin-top: 14px; }
.user-explorer-layout { display: grid; grid-template-columns: minmax(310px, 370px) minmax(0, 1fr); min-height: 520px; border-top: 1px solid var(--line); }
.user-directory { padding: 18px 18px 0 0; border-right: 1px solid var(--line); }
.user-search { display: flex; align-items: center; height: 41px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); background: rgba(5, 14, 23, .72); }
.user-search input { flex: 1; min-width: 0; margin-left: 8px; border: 0; outline: 0; color: var(--text); background: transparent; font: inherit; font-size: 11px; }
.user-list { display: grid; gap: 7px; max-height: 680px; margin-top: 13px; overflow: auto; padding-right: 5px; scrollbar-width: thin; scrollbar-color: #264657 transparent; }
.user-card { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 10px; width: 100%; padding: 11px; border: 1px solid transparent; border-radius: 11px; color: var(--text); background: rgba(6, 17, 27, .45); cursor: pointer; text-align: left; transition: .16s ease; }
.user-card:hover { border-color: rgba(69, 224, 232, .18); background: rgba(69, 224, 232, .045); }.user-card.active { border-color: rgba(69, 224, 232, .4); background: linear-gradient(90deg, rgba(69, 224, 232, .12), rgba(69, 224, 232, .035)); box-shadow: inset 2px 0 var(--cyan); }
.user-avatar { display: grid; place-items: center; width: 38px; height: 38px; overflow: hidden; border-radius: 10px; color: #07101a; background: linear-gradient(145deg, var(--cyan), #6da9ff); font-size: 15px; font-weight: 900; }.user-avatar img { width: 100%; height: 100%; object-fit: cover; }
.user-identity, .user-activity { display: block; min-width: 0; }.user-identity strong, .user-identity code, .user-activity b, .user-activity small { display: block; }.user-identity strong { margin-bottom: 4px; overflow: hidden; color: #dcecf2; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }.user-identity code { overflow: hidden; color: #52707f; font: 8px ui-monospace, monospace; text-overflow: ellipsis; white-space: nowrap; }
.user-activity { text-align: right; }.user-activity b { margin-bottom: 5px; color: #7f9cac; font-size: 9px; font-weight: 650; }.user-activity small { color: #496674; font-size: 8px; white-space: nowrap; }
.user-list-empty { padding: 50px 12px; color: var(--muted); text-align: center; font-size: 11px; }.user-more { display: block; width: 100%; margin-top: 10px; padding: 9px; border: 1px solid var(--line); border-radius: 9px; color: var(--cyan); background: rgba(5, 14, 23, .72); cursor: pointer; font-size: 10px; }.user-more[hidden] { display: none; }
.journey-detail { min-width: 0; padding: 18px 0 0 22px; }.journey-detail-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 15px; }.journey-detail-head h3 { margin-bottom: 0; font-size: 15px; }.journey-form.compact { grid-template-columns: 1fr auto; }
.journey-form { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; }
.journey-form label { display: grid; gap: 7px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.journey-form input {
  width: 100%; height: 42px; padding: 0 13px; border: 1px solid var(--line); border-radius: 10px;
  outline: none; color: var(--text); background: rgba(5, 14, 23, .72); font: inherit;
}
.journey-form input:focus { border-color: rgba(69, 224, 232, .55); box-shadow: 0 0 0 3px rgba(69, 224, 232, .08); }
.journey-form button { height: 42px; padding: 0 19px; border: 0; border-radius: 10px; cursor: pointer; color: #061318; background: var(--cyan); font-weight: 800; }
.journey-form button:disabled { cursor: wait; opacity: .6; }
.journey-profile { margin-top: 18px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 11px; color: #c9dbe3; background: rgba(6, 17, 27, .55); font-size: 12px; }
.journey-profile strong { color: var(--cyan); }.journey-profile code { color: var(--muted); }
.journey-list { display: grid; gap: 0; margin: 18px 0 0; padding: 0; list-style: none; }
.journey-item { position: relative; display: grid; grid-template-columns: 148px 150px 1fr; gap: 16px; padding: 13px 0 13px 18px; border-left: 1px solid rgba(69, 224, 232, .24); font-size: 11px; }
.journey-item::before { content: ""; position: absolute; left: -4px; top: 18px; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 9px rgba(69, 224, 232, .55); }
.journey-time, .journey-session { color: var(--muted); font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; }
.journey-event strong { color: var(--text); }.journey-event pre { margin: 6px 0 0; overflow-wrap: anywhere; white-space: pre-wrap; color: #7794a3; font: 10px/1.5 ui-monospace, monospace; }
.journey-empty { margin-top: 18px; padding: 24px; border: 1px dashed var(--line); border-radius: 11px; color: var(--muted); text-align: center; font-size: 12px; }
.journey-more { display: block; margin: 14px auto 0; padding: 9px 16px; border: 1px solid var(--line); border-radius: 9px; cursor: pointer; color: var(--cyan); background: rgba(5, 14, 23, .72); font: inherit; }
.journey-more[hidden] { display: none; }
footer { display: flex; justify-content: space-between; padding: 18px 4px 0; color: #496674; font-size: 10px; }
.catalog-actions { display: flex; align-items: center; gap: 10px; }.save-state { margin-right: 5px; color: var(--muted); font-size: 11px; }
.primary-button, .secondary-button { height: 39px; padding: 0 16px; border-radius: 10px; cursor: pointer; font-size: 11px; font-weight: 800; transition: .18s ease; }
.primary-button { border: 0; color: #061318; background: var(--cyan); box-shadow: 0 5px 20px rgba(69, 224, 232, .16); }.primary-button:hover { filter: brightness(1.08); }.primary-button:disabled { cursor: wait; opacity: .55; }
.secondary-button { border: 1px solid var(--line); color: #b9ced7; background: rgba(5, 14, 23, .72); }.secondary-button:hover { color: var(--cyan); border-color: rgba(69, 224, 232, .35); }
.catalog-summary { display: grid; grid-template-columns: 150px 150px minmax(300px, 1fr); gap: 14px; margin-bottom: 14px; }
.catalog-summary > article { min-height: 92px; padding: 17px 19px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.catalog-summary article > span { display: block; margin-bottom: 9px; color: var(--muted); font-size: 10px; }.catalog-summary article > strong { color: var(--cyan); font-size: 25px; }
.catalog-tip p { margin: 0; color: #7894a2; font-size: 11px; }.add-button { color: var(--lime); border-color: rgba(156, 235, 122, .24); }
.catalog-panel { min-height: 540px; }.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.search-box { display: flex; align-items: center; width: min(360px, 100%); height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); background: rgba(5, 14, 23, .72); }.search-box input { flex: 1; min-width: 0; margin-left: 8px; border: 0; outline: 0; color: var(--text); background: transparent; font: inherit; font-size: 11px; }
.rarity-switch { display: flex; gap: 5px; flex-wrap: wrap; }.rarity-switch button { padding: 7px 11px; border: 1px solid transparent; border-radius: 8px; color: var(--muted); background: transparent; cursor: pointer; font-size: 10px; }.rarity-switch button.active { border-color: rgba(69, 224, 232, .2); color: var(--cyan); background: rgba(69, 224, 232, .09); }
.catalog-list { display: grid; gap: 10px; margin-top: 18px; }.catalog-row { display: grid; grid-template-columns: 64px minmax(190px, .9fr) minmax(115px, .45fr) minmax(240px, 1.7fr); align-items: center; gap: 15px; padding: 13px; border: 1px solid rgba(144, 195, 220, .1); border-radius: 13px; background: rgba(6, 17, 27, .48); transition: border-color .18s ease; }.catalog-row.changed { border-color: rgba(255, 209, 102, .38); box-shadow: inset 3px 0 var(--gold); }
.fish-thumb { width: 58px; height: 58px; object-fit: contain; border-radius: 10px; background: radial-gradient(circle, rgba(69, 224, 232, .12), rgba(5, 14, 23, .7)); image-rendering: auto; }.catalog-field { display: grid; gap: 6px; min-width: 0; }.catalog-field label { color: #587584; font-size: 9px; font-weight: 700; letter-spacing: .08em; }.catalog-field input, .catalog-field select, .catalog-field textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; outline: none; color: #dcebf1; background: #081522; font: inherit; font-size: 11px; }.catalog-field input, .catalog-field select { height: 36px; padding: 0 10px; }.catalog-field textarea { min-height: 58px; padding: 9px 10px; resize: vertical; line-height: 1.45; }.catalog-field input:focus, .catalog-field select:focus, .catalog-field textarea:focus { border-color: rgba(69, 224, 232, .5); }.catalog-id { margin-top: 5px; overflow: hidden; color: #4e6b79; font: 9px ui-monospace, monospace; text-overflow: ellipsis; white-space: nowrap; }.catalog-empty { padding: 70px 20px; color: var(--muted); text-align: center; font-size: 12px; }
.catalog-basics { display: grid; gap: 8px; }.catalog-field input[readonly] { color: #6f8b99; cursor: not-allowed; }.remove-new { justify-self: start; padding: 0; border: 0; color: #ff9295; background: transparent; cursor: pointer; font-size: 10px; }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 9; max-width: min(380px, calc(100% - 32px)); padding: 13px 16px; border: 1px solid rgba(69, 224, 232, .26); border-radius: 11px; opacity: 0; transform: translateY(12px); pointer-events: none; color: var(--text); background: #102534; box-shadow: 0 16px 40px rgba(0, 0, 0, .35); font-size: 11px; transition: .2s ease; }.toast.show { opacity: 1; transform: translateY(0); }.toast.error { border-color: rgba(255, 110, 114, .4); color: #ffd4d5; }
@media (max-width: 1180px) { .metric-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 980px) { .app-frame { grid-template-columns: 84px minmax(0, 1fr); }.sidebar { padding: 22px 10px; }.side-brand { justify-content: center; padding: 0 0 22px; }.side-brand > div:last-child, .nav-tab b, .nav-tab small, .side-foot { display: none; }.nav-tab { display: grid; grid-template-columns: 1fr; padding: 12px; }.nav-tab > span { grid-row: auto; margin: auto; }.catalog-summary { grid-template-columns: 1fr 1fr; }.catalog-tip { grid-column: 1 / -1; }.catalog-row { grid-template-columns: 58px 1fr 1fr; }.catalog-row .description-field { grid-column: 2 / -1; } }
@media (max-width: 780px) {
  .app-frame { display: block; }.sidebar { position: sticky; height: auto; padding: 10px 12px; border-right: 0; border-bottom: 1px solid var(--line); }.side-brand, .side-foot { display: none; }.side-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin: 0; }.nav-tab { display: grid; grid-template-columns: 28px 1fr; grid-template-rows: 1fr; padding: 8px 11px; }.nav-tab > span { grid-row: auto; width: 28px; height: 28px; }.nav-tab b { display: block; align-self: center; }.nav-tab small { display: none; }
  .shell { width: min(100% - 24px, 720px); padding-top: 22px; }
  .topbar { align-items: flex-start; flex-direction: column; }
  .toolbar { width: 100%; flex-wrap: wrap; }.live-state { flex: 1; }.range-switch { order: 3; width: 100%; }.range-button { flex: 1; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }.content-grid { grid-template-columns: 1fr; }
  .chart-wrap { height: 230px; }.composition-content { grid-template-columns: 1fr; }
  .journey-form { grid-template-columns: 1fr; }.journey-item { grid-template-columns: 1fr; gap: 4px; }
  .user-explorer-layout { grid-template-columns: 1fr; }.user-directory { padding-right: 0; padding-bottom: 18px; border-right: 0; border-bottom: 1px solid var(--line); }.user-list { max-height: 420px; }.journey-detail { padding: 20px 0 0; scroll-margin-top: 75px; }.journey-form.compact { grid-template-columns: 1fr auto; }
  .catalog-actions { width: 100%; flex-wrap: wrap; }.save-state { flex-basis: 100%; }.catalog-toolbar { align-items: stretch; flex-direction: column; }.search-box { width: 100%; }.catalog-row { grid-template-columns: 58px 1fr; }.catalog-row .rarity-field, .catalog-row .description-field { grid-column: 2; }.catalog-summary { grid-template-columns: 1fr 1fr; }.catalog-tip { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .metric-grid { grid-template-columns: 1fr; }.metric-card { min-height: 128px; }
  .panel { padding: 17px; }.panel-heading { flex-direction: column; }.legend { gap: 12px; }
  .bar-item { grid-template-columns: 82px 1fr 35px; }.brand-mark { width: 45px; height: 45px; }
}
.gear-help{padding:20px;margin-bottom:18px;color:var(--muted,#9baebd);line-height:1.7}.gear-pools{padding:20px;display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-bottom:18px}.gear-pool{display:grid;gap:12px}.gear-list{padding:20px;display:grid;gap:22px}.gear-editor{padding:20px;border:1px solid #304451;border-radius:12px;background:#0d1721}.gear-editor h2{margin-top:0}.gear-editor h3{margin-bottom:10px;color:#8fcec9;font-size:14px}.gear-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:16px}.gear-editor .catalog-field{min-width:0}.gear-editor input,.gear-editor select,.gear-pool input,#gearKind{box-sizing:border-box;width:100%;padding:10px;background:#101e2b;color:#eaf7ff;border:1px solid #345063;border-radius:6px}.gear-editor input:read-only{opacity:.65}.gear-editor input[type=checkbox]{width:24px;height:24px}.gear-editor p{color:#93b9c4;font-size:12px}#gearKind{max-width:160px}@media(max-width:900px){.gear-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.gear-fields,.gear-pools{grid-template-columns:1fr}.gear-list{padding:10px}.gear-editor{padding:12px}}
