.tmrb-range-card {
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px solid rgba(218, 225, 235, 0.95);
}

.tmrb-range-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.tmrb-range-title {
  flex: 0 0 auto;
  color: #1f2937;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
}

.tmrb-range-meta {
  min-width: 0;
  overflow: hidden;
  color: #64748b;
  font-size: 10px;
  line-height: 1.35;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tmrb-range-track {
  position: relative;
  height: 14px;
  margin-top: 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, #eef2f7, #e5ebf3);
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.2);
}

.tmrb-range-band {
  position: absolute;
  top: 3px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(100, 116, 139, 0.28), rgba(199, 55, 47, 0.34));
}

.tmrb-range-marker {
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: #64748b;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.16);
  transform: translate(-50%, -50%);
}

.tmrb-range-marker.cost {
  background: #475569;
}

.tmrb-range-marker.current {
  width: 13px;
  height: 13px;
  background: #c7372f;
  box-shadow: 0 0 0 4px rgba(199, 55, 47, 0.12);
}

.tmrb-range-marker.current.is-loss {
  background: #0b8f68;
  box-shadow: 0 0 0 4px rgba(11, 143, 104, 0.12);
}

.tmrb-range-marker.breakeven {
  background: #c77914;
}

.tmrb-range-marker.target {
  background: #3159d4;
}

.tmrb-range-values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin-top: 9px;
}

.tmrb-range-values span {
  min-width: 0;
}

.tmrb-range-values b {
  display: block;
  overflow: hidden;
  color: #64748b;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tmrb-range-values strong {
  display: block;
  overflow: hidden;
  color: #111827;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tmrb-range-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-top: 7px;
  color: #64748b;
  font-size: 10px;
  line-height: 1.35;
}

.tmrb-range-notes span {
  position: relative;
  padding-left: 8px;
}

.tmrb-range-notes span::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #94a3b8;
  content: "";
}

.tmrb-option-table-reordered {
  display: block;
  min-width: 1960px;
}

.tmrb-option-table-reordered tr {
  display: flex;
  min-width: 1960px;
}

.tmrb-option-table-reordered th,
.tmrb-option-table-reordered td {
  box-sizing: border-box;
  flex: 0 0 auto;
}

.tmrb-option-table-reordered th:nth-child(1),
.tmrb-option-table-reordered td:nth-child(1) {
  order: 1;
  width: 42px;
}

.tmrb-option-table-reordered th:nth-child(2),
.tmrb-option-table-reordered td:nth-child(2) {
  order: 2;
  width: 118px;
}

.tmrb-option-table-reordered th:nth-child(3),
.tmrb-option-table-reordered td:nth-child(3) {
  order: 3;
  width: 76px;
}

.tmrb-option-table-reordered th:nth-child(4),
.tmrb-option-table-reordered td:nth-child(4) {
  order: 4;
  width: 122px;
}

.tmrb-option-table-reordered th:nth-child(5),
.tmrb-option-table-reordered td:nth-child(5) {
  order: 5;
  width: 92px;
}

.tmrb-option-table-reordered th:nth-child(6),
.tmrb-option-table-reordered td:nth-child(6) {
  order: 6;
  width: 122px;
}

.tmrb-option-table-reordered th:nth-child(7),
.tmrb-option-table-reordered td:nth-child(7),
.tmrb-option-table-reordered th:nth-child(8),
.tmrb-option-table-reordered td:nth-child(8),
.tmrb-option-table-reordered th:nth-child(11),
.tmrb-option-table-reordered td:nth-child(11),
.tmrb-option-table-reordered th:nth-child(12),
.tmrb-option-table-reordered td:nth-child(12) {
  width: 92px;
}

.tmrb-option-table-reordered th:nth-child(7),
.tmrb-option-table-reordered td:nth-child(7) {
  order: 7;
}

.tmrb-option-table-reordered th:nth-child(8),
.tmrb-option-table-reordered td:nth-child(8) {
  order: 8;
}

.tmrb-option-table-reordered th:nth-child(9),
.tmrb-option-table-reordered td:nth-child(9) {
  order: 19;
  width: 104px;
}

.tmrb-option-table-reordered th:nth-child(10),
.tmrb-option-table-reordered td:nth-child(10) {
  order: 20;
  width: 150px;
}

.tmrb-option-table-reordered th:nth-child(11),
.tmrb-option-table-reordered td:nth-child(11) {
  order: 9;
}

.tmrb-option-table-reordered th:nth-child(12),
.tmrb-option-table-reordered td:nth-child(12) {
  order: 10;
}

.tmrb-option-table-reordered th:nth-child(13),
.tmrb-option-table-reordered td:nth-child(13) {
  order: 11;
  width: 104px;
}

.tmrb-option-table-reordered th:nth-child(14),
.tmrb-option-table-reordered td:nth-child(14) {
  order: 12;
  width: 120px;
}

.tmrb-option-table-reordered th:nth-child(15),
.tmrb-option-table-reordered td:nth-child(15) {
  order: 13;
  width: 120px;
}

.tmrb-option-table-reordered th:nth-child(16),
.tmrb-option-table-reordered td:nth-child(16) {
  order: 14;
  width: 150px;
}

.tmrb-option-table-reordered th:nth-child(17),
.tmrb-option-table-reordered td:nth-child(17),
.tmrb-option-table-reordered th:nth-child(18),
.tmrb-option-table-reordered td:nth-child(18) {
  width: 104px;
}

.tmrb-option-table-reordered th:nth-child(17),
.tmrb-option-table-reordered td:nth-child(17) {
  order: 15;
}

.tmrb-option-table-reordered th:nth-child(18),
.tmrb-option-table-reordered td:nth-child(18) {
  order: 16;
}

.tmrb-option-table-reordered th:nth-child(19),
.tmrb-option-table-reordered td:nth-child(19) {
  order: 18;
  width: 128px;
}

.tmrb-option-table-reordered th:nth-child(20),
.tmrb-option-table-reordered td:nth-child(20) {
  order: 21;
  width: 94px;
}

.tmrb-option-table-reordered th:nth-child(21),
.tmrb-option-table-reordered td:nth-child(21) {
  order: 22;
  width: 82px;
}

.tmrb-option-table-reordered th:nth-child(22),
.tmrb-option-table-reordered td:nth-child(22) {
  order: 23;
  width: 64px;
}

.tmrb-info-feed-scroll {
  max-width: 100%;
  overflow-x: auto !important;
}

.tmrb-info-dialog {
  width: min(96vw, 1180px) !important;
  max-width: 96vw !important;
  max-height: 92vh !important;
  border-radius: 8px !important;
}

.tmrb-info-dialog [class*="space-y-"],
.tmrb-info-dialog [class*="gap-"] {
  scroll-margin-top: 12px;
}

.tmrb-info-dialog .tmrb-info-feed-scroll {
  border: 1px solid #e4eaf2;
  border-radius: 8px;
  background: #ffffff;
  overscroll-behavior: contain;
  scroll-behavior: auto;
}

.tmrb-info-dialog .tmrb-info-channel-section {
  content-visibility: auto;
  contain: layout paint style;
  contain-intrinsic-size: 360px;
}

.tmrb-info-dialog .tmrb-info-feed-table th {
  position: sticky;
  z-index: 2;
  top: 0;
  background: #f8fafc;
  box-shadow: inset 0 -1px 0 #e5eaf1;
}

.tmrb-info-feed-table {
  display: block;
  min-width: 1184px !important;
  table-layout: fixed;
  font-size: 12px !important;
  line-height: 1.35;
}

.tmrb-info-feed-table thead,
.tmrb-info-feed-table tbody {
  display: block;
}

.tmrb-info-feed-table tr {
  display: flex;
  min-width: 1184px;
}

.tmrb-info-feed-table th,
.tmrb-info-feed-table td {
  box-sizing: border-box;
  flex: 0 0 auto;
  min-width: 0;
  padding: 7px 7px !important;
  vertical-align: top;
}

.tmrb-info-feed-table th {
  overflow: hidden;
  font-size: 11px !important;
  font-weight: 800;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tmrb-info-feed-table th:nth-child(1),
.tmrb-info-feed-table td:nth-child(1) {
  order: 1;
  width: 130px;
}

.tmrb-info-feed-table th:nth-child(2),
.tmrb-info-feed-table td:nth-child(2) {
  order: 2;
  width: 110px;
}

.tmrb-info-feed-table th:nth-child(3),
.tmrb-info-feed-table td:nth-child(3) {
  order: 3;
  width: 78px;
}

.tmrb-info-feed-table th:nth-child(4),
.tmrb-info-feed-table td:nth-child(4) {
  order: 4;
  width: 76px;
}

.tmrb-info-feed-table th:nth-child(5),
.tmrb-info-feed-table td:nth-child(5) {
  order: 5;
  width: 90px;
}

.tmrb-info-feed-table th:nth-child(6),
.tmrb-info-feed-table td:nth-child(6) {
  order: 6;
  width: 270px;
}

.tmrb-info-feed-table td:nth-child(6) {
  max-height: 58px;
  overflow: auto;
}

.tmrb-info-feed-table th:nth-child(7),
.tmrb-info-feed-table td:nth-child(7) {
  order: 7;
  width: 92px;
}

.tmrb-info-feed-table th:nth-child(8),
.tmrb-info-feed-table td:nth-child(8) {
  order: 9;
  width: 92px;
}

.tmrb-info-feed-table th:nth-child(9),
.tmrb-info-feed-table td:nth-child(9) {
  order: 10;
  width: 128px;
}

.tmrb-info-feed-table th:nth-child(10),
.tmrb-info-feed-table td:nth-child(10) {
  order: 8;
  width: 118px;
}

.tmrb-info-feed-table td:nth-child(10) button {
  min-height: 26px !important;
  padding: 0 6px !important;
  font-size: 11px !important;
}

.tmrb-info-feed-table [class*="text-\\[11px\\]"] {
  font-size: 10px !important;
}

.tmrb-info-channel-button {
  border-color: #d8dee8 !important;
  background: #ffffff !important;
  color: #334155 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 12px !important;
  font-weight: 750 !important;
  letter-spacing: 0 !important;
}

.tmrb-info-channel-button:hover {
  background: #f6f8fb !important;
}

.tmrb-info-channel-button-priority,
.tmrb-info-priority-badge,
.tmrb-info-priority-channel-token,
.tmrb-info-channel-section-priority,
.tmrb-info-priority-row {
  --tmrb-priority-accent: #64748b;
  --tmrb-priority-bg: #f8fafc;
  --tmrb-priority-border: #cbd5e1;
  --tmrb-priority-ink: #334155;
  --tmrb-priority-soft: rgba(100, 116, 139, 0.1);
}

[data-priority-channel="东老师"] {
  --tmrb-priority-accent: #b7791f;
  --tmrb-priority-bg: #fff8eb;
  --tmrb-priority-border: #f3c56b;
  --tmrb-priority-ink: #6f420a;
  --tmrb-priority-soft: rgba(183, 121, 31, 0.12);
}

[data-priority-channel="书记"] {
  --tmrb-priority-accent: #ca8a04;
  --tmrb-priority-bg: #fffbea;
  --tmrb-priority-border: #e8cf5a;
  --tmrb-priority-ink: #6b5300;
  --tmrb-priority-soft: rgba(202, 138, 4, 0.12);
}

[data-priority-channel="高新投"] {
  --tmrb-priority-accent: #0e7490;
  --tmrb-priority-bg: #ecfeff;
  --tmrb-priority-border: #67d4e6;
  --tmrb-priority-ink: #155e75;
  --tmrb-priority-soft: rgba(14, 116, 144, 0.11);
}

[data-priority-channel="私董会"],
[data-priority-channel="司董会"] {
  --tmrb-priority-accent: #6d5bd0;
  --tmrb-priority-bg: #f6f3ff;
  --tmrb-priority-border: #b9adff;
  --tmrb-priority-ink: #4f3aa6;
  --tmrb-priority-soft: rgba(109, 91, 208, 0.11);
}

[data-priority-channel="肥猫"] {
  --tmrb-priority-accent: #c02662;
  --tmrb-priority-bg: #fff1f5;
  --tmrb-priority-border: #f4a8c1;
  --tmrb-priority-ink: #9f174a;
  --tmrb-priority-soft: rgba(192, 38, 98, 0.11);
}

[data-priority-channel="财神爷"] {
  --tmrb-priority-accent: #c75a13;
  --tmrb-priority-bg: #fff4ec;
  --tmrb-priority-border: #f3aa72;
  --tmrb-priority-ink: #8a3b0a;
  --tmrb-priority-soft: rgba(199, 90, 19, 0.11);
}

[data-priority-channel="摩根士丹利"] {
  --tmrb-priority-accent: #1d4ed8;
  --tmrb-priority-bg: #eff6ff;
  --tmrb-priority-border: #93b6ff;
  --tmrb-priority-ink: #1e3a8a;
  --tmrb-priority-soft: rgba(29, 78, 216, 0.1);
}

.tmrb-info-channel-button-priority,
.tmrb-info-priority-badge {
  border-color: color-mix(in srgb, var(--tmrb-priority-accent) 32%, #d8dee8) !important;
  background: linear-gradient(180deg, #ffffff 0%, var(--tmrb-priority-bg) 100%) !important;
  color: var(--tmrb-priority-ink) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72), 0 1px 2px rgba(15, 23, 42, 0.05) !important;
  font-weight: 820 !important;
}

.tmrb-info-channel-button-priority::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--tmrb-priority-accent);
  box-shadow: 0 0 0 3px var(--tmrb-priority-soft);
}

.tmrb-info-channel-button-priority::after {
  content: "重点";
  display: inline-flex;
  align-items: center;
  height: 17px;
  padding: 0 5px;
  border: 1px solid color-mix(in srgb, var(--tmrb-priority-accent) 28%, #ffffff);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--tmrb-priority-accent);
  font-size: 10px;
  font-weight: 820;
  line-height: 1;
}

.tmrb-info-priority-channel-token {
  color: var(--tmrb-priority-ink) !important;
  font-weight: 820 !important;
}

.tmrb-info-channel-section-priority {
  border-color: color-mix(in srgb, var(--tmrb-priority-accent) 24%, #e5e7eb) !important;
  background:
    linear-gradient(90deg, var(--tmrb-priority-soft) 0, rgba(255, 255, 255, 0.96) 84px, #ffffff 100%) !important;
  box-shadow: inset 3px 0 0 var(--tmrb-priority-accent), 0 8px 22px rgba(15, 23, 42, 0.04) !important;
}

.tmrb-info-channel-section-priority > div:first-child {
  background: linear-gradient(90deg, var(--tmrb-priority-soft), rgba(255, 255, 255, 0)) !important;
}

.tmrb-info-channel-section-priority h3.tmrb-info-priority-channel-token {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0f172a !important;
  letter-spacing: 0 !important;
}

.tmrb-info-channel-section-priority h3.tmrb-info-priority-channel-token::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 18px;
  border-radius: 999px;
  background: var(--tmrb-priority-accent);
  box-shadow: 0 0 0 3px var(--tmrb-priority-soft);
}

.tmrb-info-priority-row td {
  background: linear-gradient(90deg, color-mix(in srgb, var(--tmrb-priority-accent) 7%, #ffffff) 0%, #ffffff 72%) !important;
  border-bottom-color: color-mix(in srgb, var(--tmrb-priority-accent) 16%, #e5e7eb) !important;
}

.tmrb-info-priority-row td:first-child {
  box-shadow: inset 3px 0 0 var(--tmrb-priority-accent) !important;
}

.tmrb-info-priority-row:hover td {
  background: linear-gradient(90deg, color-mix(in srgb, var(--tmrb-priority-accent) 11%, #ffffff) 0%, #ffffff 72%) !important;
}

.tmrb-info-priority-badge {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  min-height: 20px;
  padding: 0 7px !important;
  border-radius: 7px !important;
  font-size: 11px !important;
  letter-spacing: 0 !important;
}

.tmrb-info-priority-badge::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--tmrb-priority-accent);
}

.tmrb-hidden-react-node {
  display: none !important;
}

.tmrb-sr-only {
  position: absolute !important;
  overflow: hidden !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

[data-loc="client/src/components/SummaryCards.tsx:246"] {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

[data-loc="client/src/components/SummaryCards.tsx:258"] {
  min-height: 108px;
  padding: 14px !important;
  border-radius: 8px !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06) !important;
}

[data-loc="client/src/components/SummaryCards.tsx:258"]:hover {
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.09) !important;
}

.tmrb-info-permission-panel {
  margin: 0 0 18px;
  padding: 14px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.tmrb-info-permission-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.tmrb-info-permission-head strong {
  display: block;
  color: #111827;
  font-size: 14px;
  font-weight: 850;
}

.tmrb-info-permission-head span,
.tmrb-info-permission-row em,
.tmrb-info-permission-empty,
.tmrb-info-permission-status {
  color: #64748b;
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
}

.tmrb-info-permission-refresh,
.tmrb-info-permission-row select {
  min-height: 30px;
  border: 1px solid #d7dee8;
  border-radius: 6px;
  background: #ffffff;
  color: #111827;
  font-size: 12px;
  font-weight: 700;
}

.tmrb-info-permission-refresh {
  padding: 0 10px;
  cursor: pointer;
}

.tmrb-info-permission-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.tmrb-info-permission-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 122px;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 9px;
  border: 1px solid #edf1f6;
  border-radius: 7px;
  background: #f8fafc;
}

.tmrb-info-permission-row b {
  display: block;
  overflow: hidden;
  color: #111827;
  font-size: 13px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tmrb-info-permission-row select {
  width: 122px;
  padding: 0 8px;
}

.tmrb-info-permission-status {
  margin-top: 9px;
}

.animated-pet-root {
  transition-duration: 9.5s, 9.5s !important;
  contain: layout paint style;
  transform: translateZ(0);
  backface-visibility: hidden;
  user-select: none;
}

.tmrb-modal-open .animated-pet-root {
  opacity: 0 !important;
  pointer-events: none !important;
}

.animated-pet-sprite {
  animation-duration: 10s, 18s !important;
}

.is-walk .animated-pet-sprite,
.mode-walk {
  animation-duration: 8.5s, 8.5s !important;
}

.is-fly .animated-pet-sprite,
.mode-fly {
  animation-duration: 8s, 14s !important;
}

.is-eat .animated-pet-sprite,
.mode-eat,
.is-cheer .animated-pet-sprite,
.mode-cheer {
  animation-duration: 8s, 10s !important;
}

.is-sleep .animated-pet-sprite,
.mode-sleep {
  animation-duration: 18s, 28s !important;
}

.tmrb-pet-patrol-only {
  bottom: -26px !important;
  width: auto !important;
  max-width: none !important;
  gap: 5px !important;
  padding: 6px !important;
  border-radius: 14px !important;
}

.tmrb-pet-actions-collapsed .animated-pet-actions {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translate(-50%, 6px) scale(0.98) !important;
  transition: opacity 0.18s ease, transform 0.18s ease !important;
}

.tmrb-pet-actions-collapsed.side-left .animated-pet-actions,
.tmrb-pet-actions-collapsed.side-right .animated-pet-actions {
  transform: translate(0, 6px) scale(0.98) !important;
}

.tmrb-pet-action-button {
  min-width: 64px !important;
  justify-content: center !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  background: rgba(255, 255, 255, 0.12) !important;
}

.tmrb-pet-action-button:hover {
  background: color-mix(in srgb, var(--pet-accent) 28%, rgba(255, 255, 255, 0.12)) !important;
}

.tmrb-pet-patrol-button {
  min-width: 82px !important;
  justify-content: center !important;
  background: color-mix(in srgb, var(--pet-accent) 34%, rgba(255, 255, 255, 0.16)) !important;
}

.tmrb-pet-dock-button {
  min-width: 68px !important;
}

.tmrb-pet-close-button {
  min-width: 58px !important;
  opacity: 0.72;
}

.tmrb-pet-hidden-action {
  display: none !important;
}

.animated-pet-actions button.tmrb-pet-action-button[data-tmrb-pet-label] {
  display: inline-flex !important;
}

.animated-pet-root.tmrb-pet-life {
  --tmrb-pet-face: -1;
  --tmrb-pet-travel: 1300ms;
  --tmrb-pet-trail-start: 30px;
  --tmrb-pet-trail-end: 58px;
  --tmrb-pet-look-x: 0px;
  --tmrb-pet-look-y: 0px;
  --tmrb-pet-tilt: 0deg;
  --tmrb-pet-attention: 0;
  transition-property: left, top !important;
  transition-duration: var(--tmrb-pet-travel), var(--tmrb-pet-travel) !important;
  transition-timing-function: cubic-bezier(0.22, 0.9, 0.18, 1), cubic-bezier(0.22, 0.9, 0.18, 1) !important;
  will-change: left, top, transform;
}

.animated-pet-root:active,
.animated-pet-root[data-tmrb-pet-dragging="true"],
.animated-pet-root.tmrb-pet-life:active,
.animated-pet-root.tmrb-pet-life.tmrb-pet-dragging {
  cursor: grabbing !important;
  transition-duration: 0ms, 0ms !important;
  transition-timing-function: linear, linear !important;
}

.animated-pet-root[data-tmrb-pet-docking="true"],
.animated-pet-root.tmrb-pet-life[data-tmrb-pet-docking="true"] {
  transition-duration: var(--tmrb-pet-travel), var(--tmrb-pet-travel) !important;
  transition-timing-function: cubic-bezier(0.18, 0.88, 0.2, 1), cubic-bezier(0.18, 0.88, 0.2, 1) !important;
}

.animated-pet-root[data-tmrb-pet-restoring="true"],
.animated-pet-root.tmrb-pet-life[data-tmrb-pet-restoring="true"] {
  transition-property: none !important;
  transition-duration: 0ms, 0ms !important;
}

.animated-pet-root.tmrb-pet-facing-right {
  --tmrb-pet-face: 1;
  --tmrb-pet-trail-start: -30px;
  --tmrb-pet-trail-end: -58px;
}

.tmrb-pet-life .animated-pet-stage {
  transform-origin: 50% 82%;
  transform: translate3d(var(--tmrb-pet-look-x), var(--tmrb-pet-look-y), 0) rotate(var(--tmrb-pet-tilt)) scaleX(var(--tmrb-pet-face));
  animation: tmrb-pet-stage-idle 6.8s cubic-bezier(0.42, 0, 0.18, 1) infinite !important;
  will-change: transform;
  backface-visibility: hidden;
  cursor: grab;
  touch-action: none;
}

.tmrb-pet-life .animated-pet-stage::before {
  position: absolute;
  top: 9px;
  right: 13px;
  z-index: 2;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.12) 66%, transparent 70%);
  content: "";
  opacity: 0;
  pointer-events: none;
  animation: tmrb-pet-glint 7.6s ease-in-out infinite;
}

.tmrb-pet-life .animated-pet-stage::after {
  transition: width 0.22s ease, opacity 0.22s ease, transform 0.22s ease;
}

.tmrb-pet-life[data-tmrb-pet-pinned="true"] .animated-pet-stage::after {
  opacity: 0.24;
  transform: scaleX(1.04);
}

.tmrb-pet-life-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  transform: scaleX(var(--tmrb-pet-face));
}

.tmrb-pet-life-layer i {
  position: absolute;
  display: block;
  border-radius: 999px;
  pointer-events: none;
}

.tmrb-pet-focus-mote {
  top: 18%;
  right: 21%;
  width: 7px;
  height: 7px;
  background: color-mix(in srgb, var(--pet-accent) 66%, white);
  box-shadow: 0 0 12px color-mix(in srgb, var(--pet-accent) 54%, transparent);
  opacity: 0;
  transform: translate3d(var(--tmrb-pet-look-x), var(--tmrb-pet-look-y), 0) scale(0.72);
  animation: tmrb-pet-focus-mote 8.4s ease-in-out infinite;
}

.tmrb-pet-breath-mote {
  left: 24%;
  bottom: 22%;
  width: 16px;
  height: 5px;
  background: color-mix(in srgb, var(--pet-accent) 32%, rgba(255, 255, 255, 0.16));
  opacity: 0.18;
  filter: blur(5px);
  animation: tmrb-pet-breath-mote 5.6s ease-in-out infinite;
}

.tmrb-pet-anchor-mote {
  right: 18%;
  bottom: 13%;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.72);
  opacity: 0;
}

.tmrb-pet-user-near .tmrb-pet-focus-mote,
.tmrb-pet-motion-look .tmrb-pet-focus-mote,
.tmrb-pet-motion-hop .tmrb-pet-focus-mote {
  opacity: 0.68;
  animation-duration: 2.2s;
}

.tmrb-pet-motion-settle .tmrb-pet-anchor-mote {
  animation: tmrb-pet-anchor-pop 0.72s ease-out both;
}

.tmrb-pet-life .animated-pet-sprite {
  animation:
    pet-sprite-frames 2.9s steps(4) infinite,
    tmrb-pet-softbody 5.8s cubic-bezier(0.42, 0, 0.18, 1) infinite !important;
  filter: saturate(1.06) contrast(1.03);
  transform-origin: 50% 86%;
  will-change: transform, filter;
}

.tmrb-pet-user-near .animated-pet-sprite {
  animation:
    pet-sprite-frames 1.85s steps(4) infinite,
    tmrb-pet-attend-softbody 2.4s ease-in-out infinite !important;
  filter: saturate(1.1) contrast(1.04);
}

.tmrb-pet-life.tmrb-pet-curious .animated-pet-sprite {
  animation:
    pet-sprite-frames 1.85s steps(4) infinite,
    tmrb-pet-curious 4.8s ease-in-out infinite !important;
}

.tmrb-pet-life.tmrb-pet-alert .animated-pet-sprite {
  animation:
    pet-sprite-frames 1.45s steps(4) infinite,
    tmrb-pet-alert 3.8s ease-in-out infinite !important;
}

.tmrb-pet-life.tmrb-pet-resting .animated-pet-sprite {
  animation:
    pet-sprite-frames 4.2s steps(4) infinite,
    tmrb-pet-rest 7.4s ease-in-out infinite !important;
}

.tmrb-pet-life.tmrb-pet-patrolling {
  z-index: 9998;
}

.tmrb-pet-life.tmrb-pet-patrolling .animated-pet-stage {
  animation: tmrb-pet-stage-patrol 1.35s ease-in-out infinite !important;
}

.tmrb-pet-life.tmrb-pet-patrolling .animated-pet-stage::after {
  width: 86px;
  opacity: 0.34;
  transform: scaleX(1.12);
}

.tmrb-pet-life.tmrb-pet-patrolling .animated-pet-sprite {
  animation:
    pet-sprite-frames 0.82s steps(4) infinite,
    tmrb-pet-trot 0.82s ease-in-out infinite !important;
}

.tmrb-pet-life.tmrb-pet-paused .animated-pet-sprite {
  animation:
    pet-sprite-frames 1.7s steps(4) infinite,
    tmrb-pet-check 1.6s ease-in-out infinite !important;
}

.tmrb-pet-life.tmrb-pet-motion-look .animated-pet-stage {
  animation: tmrb-pet-stage-look-around 1.5s ease-in-out both !important;
}

.tmrb-pet-life.tmrb-pet-motion-stretch .animated-pet-stage {
  animation: tmrb-pet-stage-stretch 1.7s cubic-bezier(0.18, 0.88, 0.22, 1) both !important;
}

.tmrb-pet-life.tmrb-pet-motion-hop .animated-pet-stage {
  animation: tmrb-pet-stage-hop 0.9s cubic-bezier(0.18, 0.88, 0.22, 1) both !important;
}

.tmrb-pet-life.tmrb-pet-motion-settle .animated-pet-stage {
  animation: tmrb-pet-stage-settle 0.98s cubic-bezier(0.18, 0.88, 0.2, 1) both !important;
}

.tmrb-pet-life.tmrb-pet-motion-doze .animated-pet-stage {
  animation: tmrb-pet-stage-doze 2.1s ease-in-out both !important;
}

.tmrb-pet-life.tmrb-pet-motion-grab .animated-pet-stage,
.animated-pet-root[data-tmrb-pet-dragging="true"] .animated-pet-stage {
  animation: tmrb-pet-stage-grab 0.52s ease-in-out infinite !important;
}

.tmrb-pet-life.tmrb-pet-patrolling::after {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 0;
  width: 34px;
  height: 9px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 18% 50%, rgba(148, 163, 184, 0.28) 0 3px, transparent 4px),
    radial-gradient(circle at 52% 50%, rgba(148, 163, 184, 0.2) 0 2px, transparent 3px),
    radial-gradient(circle at 80% 50%, rgba(148, 163, 184, 0.14) 0 2px, transparent 3px);
  content: "";
  pointer-events: none;
  transform: translateX(var(--tmrb-pet-trail-start));
  animation: tmrb-pet-trail 0.82s ease-out infinite;
}

.tmrb-pet-mood-bubble {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 2px);
  z-index: 6;
  width: max-content;
  max-width: min(260px, calc(100vw - 24px));
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(17, 24, 39, 0.88);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.28);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.tmrb-pet-mood-bubble[data-visible="true"] {
  opacity: 1;
  transform: translate(-50%, 0);
}

.tmrb-pet-life.side-left .tmrb-pet-mood-bubble {
  left: 0;
  transform: translate(0, 8px);
}

.tmrb-pet-life.side-left .tmrb-pet-mood-bubble[data-visible="true"] {
  transform: translate(0, 0);
}

.tmrb-pet-life.side-right .tmrb-pet-mood-bubble {
  right: 0;
  left: auto;
  transform: translate(0, 8px);
}

.tmrb-pet-life.side-right .tmrb-pet-mood-bubble[data-visible="true"] {
  transform: translate(0, 0);
}

.tmrb-pet-patrol-button {
  position: relative;
  overflow: hidden;
}

.tmrb-pet-patrol-button::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  content: "";
  transform: translateX(-120%);
  transition: transform 0.36s ease;
}

.tmrb-pet-patrol-button:hover::before {
  transform: translateX(120%);
}

@keyframes tmrb-pet-stage-look {
  0%, 100% {
    transform: translate3d(var(--tmrb-pet-look-x), var(--tmrb-pet-look-y), 0) rotate(var(--tmrb-pet-tilt)) scaleX(var(--tmrb-pet-face)) translateY(0);
  }
  18% {
    transform: translate3d(var(--tmrb-pet-look-x), calc(var(--tmrb-pet-look-y) - 2px), 0) rotate(calc(var(--tmrb-pet-tilt) - 1.5deg)) scaleX(var(--tmrb-pet-face));
  }
  38% {
    transform: translate3d(var(--tmrb-pet-look-x), var(--tmrb-pet-look-y), 0) rotate(calc(var(--tmrb-pet-tilt) + 1deg)) scaleX(var(--tmrb-pet-face));
  }
  62% {
    transform: translate3d(var(--tmrb-pet-look-x), calc(var(--tmrb-pet-look-y) - 3px), 0) rotate(var(--tmrb-pet-tilt)) scaleX(var(--tmrb-pet-face));
  }
}

@keyframes tmrb-pet-stage-idle {
  0%, 100% {
    transform: translate3d(var(--tmrb-pet-look-x), var(--tmrb-pet-look-y), 0) rotate(calc(var(--tmrb-pet-tilt) - 0.5deg)) scaleX(var(--tmrb-pet-face)) scale(1, 1);
  }
  22% {
    transform: translate3d(var(--tmrb-pet-look-x), calc(var(--tmrb-pet-look-y) - 1px), 0) rotate(calc(var(--tmrb-pet-tilt) + 0.4deg)) scaleX(var(--tmrb-pet-face)) scale(1.006, 0.996);
  }
  48% {
    transform: translate3d(var(--tmrb-pet-look-x), calc(var(--tmrb-pet-look-y) - 3px), 0) rotate(calc(var(--tmrb-pet-tilt) + 0.9deg)) scaleX(var(--tmrb-pet-face)) scale(1.012, 0.99);
  }
  76% {
    transform: translate3d(var(--tmrb-pet-look-x), calc(var(--tmrb-pet-look-y) - 1px), 0) rotate(calc(var(--tmrb-pet-tilt) - 0.2deg)) scaleX(var(--tmrb-pet-face)) scale(0.998, 1.004);
  }
}

@keyframes tmrb-pet-stage-look-around {
  0%, 100% {
    transform: translate3d(var(--tmrb-pet-look-x), var(--tmrb-pet-look-y), 0) rotate(var(--tmrb-pet-tilt)) scaleX(var(--tmrb-pet-face)) scale(1);
  }
  28% {
    transform: translate3d(calc(var(--tmrb-pet-look-x) - 4px), calc(var(--tmrb-pet-look-y) - 2px), 0) rotate(calc(var(--tmrb-pet-tilt) - 4deg)) scaleX(var(--tmrb-pet-face)) scale(1.02, 0.99);
  }
  62% {
    transform: translate3d(calc(var(--tmrb-pet-look-x) + 5px), calc(var(--tmrb-pet-look-y) - 3px), 0) rotate(calc(var(--tmrb-pet-tilt) + 4deg)) scaleX(var(--tmrb-pet-face)) scale(1.015, 0.992);
  }
}

@keyframes tmrb-pet-stage-stretch {
  0%, 100% {
    transform: translate3d(var(--tmrb-pet-look-x), var(--tmrb-pet-look-y), 0) rotate(var(--tmrb-pet-tilt)) scaleX(var(--tmrb-pet-face)) scale(1, 1);
  }
  34% {
    transform: translate3d(var(--tmrb-pet-look-x), calc(var(--tmrb-pet-look-y) + 5px), 0) rotate(calc(var(--tmrb-pet-tilt) - 2deg)) scaleX(var(--tmrb-pet-face)) scale(1.1, 0.88);
  }
  62% {
    transform: translate3d(var(--tmrb-pet-look-x), calc(var(--tmrb-pet-look-y) - 7px), 0) rotate(calc(var(--tmrb-pet-tilt) + 2.5deg)) scaleX(var(--tmrb-pet-face)) scale(0.94, 1.1);
  }
}

@keyframes tmrb-pet-stage-hop {
  0%, 100% {
    transform: translate3d(var(--tmrb-pet-look-x), var(--tmrb-pet-look-y), 0) rotate(var(--tmrb-pet-tilt)) scaleX(var(--tmrb-pet-face)) scale(1);
  }
  26% {
    transform: translate3d(var(--tmrb-pet-look-x), calc(var(--tmrb-pet-look-y) + 5px), 0) rotate(calc(var(--tmrb-pet-tilt) - 1deg)) scaleX(var(--tmrb-pet-face)) scale(1.08, 0.88);
  }
  52% {
    transform: translate3d(var(--tmrb-pet-look-x), calc(var(--tmrb-pet-look-y) - 16px), 0) rotate(calc(var(--tmrb-pet-tilt) + 3deg)) scaleX(var(--tmrb-pet-face)) scale(0.96, 1.07);
  }
  74% {
    transform: translate3d(var(--tmrb-pet-look-x), calc(var(--tmrb-pet-look-y) + 2px), 0) rotate(calc(var(--tmrb-pet-tilt) - 1.5deg)) scaleX(var(--tmrb-pet-face)) scale(1.04, 0.94);
  }
}

@keyframes tmrb-pet-stage-settle {
  0% {
    transform: translate3d(var(--tmrb-pet-look-x), calc(var(--tmrb-pet-look-y) - 6px), 0) rotate(calc(var(--tmrb-pet-tilt) + 2deg)) scaleX(var(--tmrb-pet-face)) scale(0.98, 1.05);
  }
  42% {
    transform: translate3d(var(--tmrb-pet-look-x), calc(var(--tmrb-pet-look-y) + 4px), 0) rotate(calc(var(--tmrb-pet-tilt) - 1deg)) scaleX(var(--tmrb-pet-face)) scale(1.07, 0.9);
  }
  72% {
    transform: translate3d(var(--tmrb-pet-look-x), calc(var(--tmrb-pet-look-y) - 2px), 0) rotate(calc(var(--tmrb-pet-tilt) + 0.5deg)) scaleX(var(--tmrb-pet-face)) scale(0.99, 1.02);
  }
  100% {
    transform: translate3d(var(--tmrb-pet-look-x), var(--tmrb-pet-look-y), 0) rotate(var(--tmrb-pet-tilt)) scaleX(var(--tmrb-pet-face)) scale(1);
  }
}

@keyframes tmrb-pet-stage-doze {
  0%, 100% {
    transform: translate3d(var(--tmrb-pet-look-x), var(--tmrb-pet-look-y), 0) rotate(var(--tmrb-pet-tilt)) scaleX(var(--tmrb-pet-face)) scale(1);
  }
  45% {
    transform: translate3d(var(--tmrb-pet-look-x), calc(var(--tmrb-pet-look-y) + 4px), 0) rotate(calc(var(--tmrb-pet-tilt) - 3deg)) scaleX(var(--tmrb-pet-face)) scale(1.02, 0.94);
  }
  74% {
    transform: translate3d(var(--tmrb-pet-look-x), calc(var(--tmrb-pet-look-y) + 2px), 0) rotate(calc(var(--tmrb-pet-tilt) - 1.2deg)) scaleX(var(--tmrb-pet-face)) scale(1.01, 0.97);
  }
}

@keyframes tmrb-pet-stage-grab {
  0%, 100% {
    transform: translate3d(var(--tmrb-pet-look-x), var(--tmrb-pet-look-y), 0) rotate(calc(var(--tmrb-pet-tilt) - 1deg)) scaleX(var(--tmrb-pet-face)) scale(1.04, 0.96);
  }
  50% {
    transform: translate3d(var(--tmrb-pet-look-x), calc(var(--tmrb-pet-look-y) - 2px), 0) rotate(calc(var(--tmrb-pet-tilt) + 1deg)) scaleX(var(--tmrb-pet-face)) scale(0.98, 1.03);
  }
}

@keyframes tmrb-pet-stage-patrol {
  0%, 100% {
    transform: translate3d(var(--tmrb-pet-look-x), var(--tmrb-pet-look-y), 0) rotate(calc(var(--tmrb-pet-tilt) - 1deg)) scaleX(var(--tmrb-pet-face)) translateY(0);
  }
  50% {
    transform: translate3d(var(--tmrb-pet-look-x), calc(var(--tmrb-pet-look-y) - 7px), 0) rotate(calc(var(--tmrb-pet-tilt) + 1.4deg)) scaleX(var(--tmrb-pet-face));
  }
}

@keyframes tmrb-pet-softbody {
  0%, 100% {
    transform: translateY(0) rotate(-0.5deg) scale(1);
  }
  18% {
    transform: translateY(-2px) rotate(0.3deg) scale(1.01, 0.994);
  }
  48% {
    transform: translateY(-5px) rotate(0.9deg) scale(1.018, 0.986);
  }
  72% {
    transform: translateY(-1px) rotate(-0.2deg) scale(0.996, 1.004);
  }
}

@keyframes tmrb-pet-attend-softbody {
  0%, 100% {
    transform: translateY(0) rotate(-1deg) scale(1.012, 0.992);
  }
  38% {
    transform: translateY(-6px) rotate(1.6deg) scale(1.024, 0.984);
  }
  70% {
    transform: translateY(-2px) rotate(-0.4deg) scale(0.998, 1.006);
  }
}

@keyframes tmrb-pet-breathe {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-4px) scale(1.018);
  }
}

@keyframes tmrb-pet-curious {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  35% {
    transform: translateY(-6px) rotate(-3deg);
  }
  68% {
    transform: translateY(-1px) rotate(2deg);
  }
}

@keyframes tmrb-pet-alert {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  28% {
    transform: translateY(-8px) scale(1.035);
  }
  52% {
    transform: translateY(-2px) scale(0.99);
  }
}

@keyframes tmrb-pet-rest {
  0%, 100% {
    transform: translateY(0) scale(1);
    opacity: 0.96;
  }
  50% {
    transform: translateY(2px) scale(0.985);
    opacity: 0.88;
  }
}

@keyframes tmrb-pet-trot {
  0%, 100% {
    transform: translateY(0) rotate(-1deg) scale(1);
  }
  50% {
    transform: translateY(-7px) rotate(1deg) scale(1.025);
  }
}

@keyframes tmrb-pet-check {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  45% {
    transform: translateY(-4px) rotate(-4deg);
  }
}

@keyframes tmrb-pet-glint {
  0%, 52%, 100% {
    opacity: 0;
    transform: scale(0.7);
  }
  58%, 64% {
    opacity: 0.9;
    transform: scale(1);
  }
}

@keyframes tmrb-pet-focus-mote {
  0%, 46%, 100% {
    opacity: 0;
    transform: translate3d(var(--tmrb-pet-look-x), var(--tmrb-pet-look-y), 0) scale(0.68);
  }
  52%, 60% {
    opacity: 0.72;
    transform: translate3d(var(--tmrb-pet-look-x), calc(var(--tmrb-pet-look-y) - 2px), 0) scale(1);
  }
}

@keyframes tmrb-pet-breath-mote {
  0%, 100% {
    opacity: 0.12;
    transform: translateY(0) scaleX(0.72);
  }
  50% {
    opacity: 0.28;
    transform: translateY(-2px) scaleX(1.18);
  }
}

@keyframes tmrb-pet-anchor-pop {
  0% {
    opacity: 0;
    transform: translateY(-4px) scale(0.4);
  }
  35% {
    opacity: 0.72;
    transform: translateY(0) scale(1.6);
  }
  100% {
    opacity: 0;
    transform: translateY(3px) scale(0.85);
  }
}

@keyframes tmrb-pet-trail {
  0% {
    opacity: 0;
    transform: translateX(var(--tmrb-pet-trail-start)) scaleX(0.6);
  }
  35% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(var(--tmrb-pet-trail-end)) scaleX(1);
  }
}

.tmrb-info-import-panel {
  position: static;
  z-index: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: auto;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #111827;
  font-size: 12px;
}

.tmrb-info-import-title {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 800;
}

.tmrb-info-import-actions {
  display: flex;
  gap: 8px;
}

.tmrb-info-import-actions button {
  flex: 1 1 0;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid #d6dde8;
  border-radius: 6px;
  background: #ffffff;
  color: #1f2937;
  font-weight: 700;
  cursor: pointer;
}

.tmrb-info-import-actions button:hover {
  background: #f5f7fb;
}

.tmrb-info-import-button {
  border-color: #b91c1c !important;
  background: #b91c1c !important;
  color: #ffffff !important;
}

.tmrb-info-import-button:hover {
  background: #991b1b !important;
}

.tmrb-info-import-status {
  max-width: 340px;
  margin-top: 0;
  color: #64748b;
  line-height: 1.45;
}

.tmrb-info-import-status[data-tone="success"] {
  color: #047857;
}

.tmrb-info-import-status[data-tone="error"] {
  color: #b91c1c;
}

.tmrb-price-source-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid #d6dde8;
  border-radius: 999px;
  background: #f8fafc;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.tmrb-price-source-badge[data-live="true"] {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #047857;
}

.tmrb-provider-disabled {
  cursor: not-allowed !important;
  opacity: 0.55 !important;
  filter: grayscale(0.2);
}

.tmrb-sector-empty {
  min-height: 100vh;
  padding: 16px;
  background: hsl(var(--background, 0 0% 100%));
  color: hsl(var(--foreground, 222 47% 11%));
}

.tmrb-sector-back {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid hsl(var(--border, 214 32% 91%));
  border-radius: 8px;
  background: hsl(var(--background, 0 0% 100%));
  color: inherit;
  font-size: 13px;
  cursor: pointer;
}

.tmrb-sector-empty section {
  max-width: 760px;
  margin: 64px auto 0;
  padding: 28px;
  border: 1px solid hsl(var(--border, 214 32% 91%));
  border-radius: 10px;
  background: hsl(var(--card, 0 0% 100%));
}

.tmrb-sector-empty p {
  margin: 0 0 8px;
  color: hsl(var(--muted-foreground, 215 16% 47%));
  font-size: 13px;
  font-weight: 700;
}

.tmrb-sector-empty h1 {
  margin: 0;
  font-size: 26px;
  line-height: 1.2;
}

.tmrb-sector-provider-note {
  margin-top: 16px;
  color: hsl(var(--muted-foreground, 215 16% 47%));
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 640px) {
  #root {
    padding-bottom: 96px;
  }

  main,
  [data-loc="client/src/pages/Home.tsx:390"] {
    padding-bottom: 104px !important;
  }

  [data-loc="client/src/components/WatchlistSection.tsx:612"] {
    align-items: flex-start !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    max-width: 100%;
  }

  [data-loc="client/src/components/WatchlistSection.tsx:612"] > * {
    flex: 0 0 auto;
  }

  [data-loc^="client/src/components/WatchlistSection"] button,
  [data-loc^="client/src/components/PositionTable"] button {
    scroll-margin-bottom: 110px;
  }

  .tmrb-range-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .tmrb-info-dialog {
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    border-radius: 0 !important;
  }

  .tmrb-info-import-panel {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin-top: 6px;
  }

  .tmrb-info-import-status {
    max-width: none;
  }

  .tmrb-info-permission-body,
  [data-loc="client/src/components/SummaryCards.tsx:246"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  [data-loc="client/src/components/SummaryCards.tsx:258"] {
    min-height: 96px;
    padding: 12px !important;
  }

  .tmrb-range-meta {
    max-width: 100%;
    text-align: left;
  }

  .tmrb-range-values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tmrb-info-import-panel {
    right: 12px;
    bottom: 12px;
  }
}
