:root {
  --irbp-primary: #185adb;
  --irbp-primary-10: rgba(24, 90, 219, 0.1);
  --irbp-primary-20: rgba(24, 90, 219, 0.2);
  --irbp-bg: #f4f7fc;
  --irbp-bg-glow: #dbe7ff;
  --irbp-bg-grad-start: #f8fbff;
  --irbp-surface: #f9fbff;
  --irbp-card: #ffffff;
  --irbp-text: #0f1728;
  --irbp-text-soft: #637083;
  --irbp-border: #d9e1ec;
  --irbp-border-strong: #cdd8e6;
  --irbp-success: #099250;
  --irbp-warning: #f79009;
  --irbp-danger: #d92d20;
  --irbp-radius: 16px;
  --irbp-shadow: 0 10px 24px rgba(20, 34, 63, 0.06);
}

.irbp-panel-shell[data-theme="dark"] {
  --irbp-primary: #4d8dff;
  --irbp-primary-10: rgba(77, 141, 255, 0.16);
  --irbp-primary-20: rgba(77, 141, 255, 0.28);
  --irbp-bg: #0f1726;
  --irbp-bg-glow: #1f3554;
  --irbp-bg-grad-start: #101b2d;
  --irbp-surface: #1a2538;
  --irbp-card: #141f31;
  --irbp-text: #e7eef9;
  --irbp-text-soft: #9aacc6;
  --irbp-border: #263449;
  --irbp-border-strong: #34455d;
  --irbp-success: #2ecc87;
  --irbp-warning: #f7ad2b;
  --irbp-danger: #ff6d6d;
  --irbp-shadow: 0 16px 34px rgba(0, 0, 0, 0.3);
}

.irbp-panel-shell {
  direction: rtl;
  color: var(--irbp-text);
  font-family: "EstedadVF", "Estedad FD", "Vazirmatn", Tahoma, sans-serif;
  font-variation-settings: "wght" 430, "KSHD" 100;
  background: none;
}

body.irbp-panel-route[data-headetype="irb-menu-innerpage"] {
  padding-top: 0 !important;
}

body.irbp-panel-route .irb-main-menu,
body.irbp-panel-route .bannerTopAds,
body.irbp-panel-route .irb-breadcrumbs-box {
  display: none !important;
}

.irbp-panel-shell.irbp-is-locked .irbp-panel-inner {
  position: relative;
}

.irbp-panel-shell.irbp-is-locked .irbp-panel-header,
.irbp-panel-shell.irbp-is-locked .irbp-alert,
.irbp-panel-shell.irbp-is-locked .irbp-panel-layout {
  filter: blur(3px);
  opacity: 0.72;
  pointer-events: none;
  user-select: none;
}

.irbp-panel-shell.irbp-is-locked .irbp-panel-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(12, 18, 27, 0.16);
  border-radius: var(--irbp-radius);
  pointer-events: none;
}

body.irbp-panel-route.irbp-guest #loginModal .login-comp__returnBtn,
body.irbp-panel-route.irbp-guest #loginModal .btn-close,
body.irbp-panel-route.irbp-guest #loginModal [data-bs-dismiss="modal"] {
  display: none !important;
}

.irbp-force-auth-home-link-wrap {
  text-align: center;
  padding: 0 18px 18px;
}

.irbp-force-auth-home-link {
  color: #185adb;
  font-size: 12px;
  font-weight: 560;
  text-decoration: none;
}

.irbp-force-auth-home-link:hover {
  color: #154ebf;
  text-decoration: underline;
}

.irbp-panel-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 20px 18px 48px;
}

.irbp-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  border: 1px solid var(--irbp-border);
  border-radius: var(--irbp-radius);
  background: var(--irbp-card);
  padding: 16px 18px;
  box-shadow: var(--irbp-shadow);
}

.irbp-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.irbp-brand h1 {
  margin: 0;
  font-size: 26px;
  font-weight: 680;
  letter-spacing: -0.2px;
}

.irbp-brand-logo {
  display: block;
  width: 157px;
  max-width: 157px;
  height: 28px;
  object-fit: contain;
}

.irbp-brand-logo--dark {
  display: none;
}

.irbp-brand-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
}

.irbp-brand-badge {
  display: inline-flex;
  width: fit-content;
  border: 1px solid var(--irbp-primary-20);
  border-radius: 999px;
  background: var(--irbp-primary-10);
  color: var(--irbp-primary);
  font-size: 12px;
  font-weight: 620;
  line-height: 1;
  padding: 5px 10px;
}

.irbp-userbox {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  position: relative;
}

.irbp-userbox-profile {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.irbp-userbox-profile:focus-visible {
  outline: 2px solid var(--irbp-primary);
  outline-offset: 4px;
  border-radius: 10px;
}

.irbp-profile-user-info-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 240px;
  background: var(--irbp-card);
  border: 1px solid var(--irbp-border);
  border-radius: 14px;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
  padding: 8px;
  margin: 0;
  list-style: none;
  display: none;
  z-index: 30;
}

.irbp-userbox.is-panel-open .irbp-profile-user-info-panel {
  display: block;
}

.irbp-profile-user-info-panel .irb-panel__item {
  margin: 0;
}

.irbp-profile-user-info-panel .irb-panel__item--divider {
  height: 1px;
  background: var(--irbp-border);
  margin: 6px 0;
}

.irbp-profile-user-info-panel .irb-panel__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--irbp-text);
  transition: background 0.2s ease, color 0.2s ease;
}

.irbp-profile-user-info-panel .irb-panel__link:hover {
  background: var(--irbp-surface);
  color: var(--irbp-text);
}

.irbp-profile-user-info-panel .irb-panel__text {
  font-size: 14px;
  font-weight: 560;
}

.irbp-profile-user-info-panel .irb-panel__icon svg {
  width: 18px;
  height: 18px;
}

.irbp-userbox-avatar {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid var(--irbp-border);
  background: var(--irbp-surface);
}

.irbp-userbox strong {
  display: block;
  font-size: 14px;
  font-weight: 640;
  color: var(--irbp-text);
}

.irbp-userbox p {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--irbp-text-soft);
}

.irbp-userbox-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.irbp-editor-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
}

.irbp-editor-modal[hidden] {
  display: none;
}

.irbp-editor-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
}

.irbp-editor-modal__dialog {
  position: relative;
  width: min(520px, 92vw);
  background: var(--irbp-card);
  border: 1px solid var(--irbp-border);
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
  padding: 18px 20px;
  z-index: 1;
}

.irbp-editor-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.irbp-editor-modal__header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--irbp-text);
}

.irbp-editor-modal__close {
  border: 0;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: var(--irbp-muted);
}

.irbp-editor-modal__body label {
  display: block;
  font-size: 13px;
  margin: 10px 0 6px;
  color: var(--irbp-text);
}

.irbp-editor-modal__body input[type="text"],
.irbp-editor-modal__body input[type="url"] {
  width: 100%;
  border: 1px solid var(--irbp-border);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 14px;
  background: var(--irbp-bg);
  color: var(--irbp-text);
}

.irbp-editor-tabs {
  display: inline-flex;
  gap: 8px;
  padding: 4px;
  background: var(--irbp-border-soft);
  border-radius: 999px;
  margin-bottom: 12px;
}

.irbp-editor-tabs button {
  border: 0;
  background: transparent;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  color: var(--irbp-muted);
}

.irbp-editor-tabs button.is-active {
  background: var(--irbp-card);
  color: var(--irbp-text);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.irbp-editor-tab-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.irbp-editor-upload-status {
  font-size: 12px;
  color: var(--irbp-muted);
}

.irbp-editor-image-preview {
  margin-top: 12px;
  padding: 10px;
  border-radius: 12px;
  background: var(--irbp-border-soft);
  display: flex;
  justify-content: center;
}

.irbp-editor-image-preview img {
  max-width: 100%;
  max-height: 180px;
  border-radius: 10px;
  object-fit: contain;
}

.irbp-editor-modal__footer {
  margin-top: 16px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.irbp-theme-toggle {
  width: 40px;
  min-width: 40px;
  height: 40px;
  padding: 0;
  padding-inline: 1px;
  gap: 0;
  border-radius: 10px;
}

.irbp-theme-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.irbp-theme-icon svg {
  display: block;
  width: 18px;
  height: 18px;
}

.irbp-theme-icon-sun {
  display: none;
}

.irbp-theme-icon-moon {
  display: inline-flex;
}

.irbp-panel-shell[data-theme="dark"] .irbp-theme-icon-sun {
  display: inline-flex;
}

.irbp-panel-shell[data-theme="dark"] .irbp-theme-icon-moon {
  display: none;
}

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

.irbp-alert {
  border-radius: 13px;
  border: 1px solid transparent;
  margin-bottom: 14px;
  padding: 11px 14px;
  font-size: 14px;
  line-height: 1.7;
}

.irbp-alert.success {
  color: #05603a;
  background: #e7f8ef;
  border-color: #b7e8cb;
}

.irbp-alert.error {
  color: #9f1f1f;
  background: #feecee;
  border-color: #f7c9ce;
}

.irbp-toast-container {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  pointer-events: none;
}

.irbp-toast {
  position: relative;
  min-width: 220px;
  max-width: 360px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #0f172a;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: auto;
}

.irbp-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.irbp-toast.is-hiding {
  opacity: 0;
  transform: translateY(10px);
}

.irbp-toast-body {
  font-size: 13px;
  line-height: 1.7;
}

.irbp-toast-close {
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 16px;
  cursor: pointer;
  opacity: 0.7;
  line-height: 1;
  padding: 0;
}

.irbp-toast-close:hover {
  opacity: 1;
}

.irbp-toast-progress {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2px;
  border-radius: 0 0 14px 14px;
  background: currentColor;
  opacity: 0.35;
  transform-origin: left;
  animation: irbp-toast-progress 5s linear forwards;
}

.irbp-toast.is-success {
  border-color: #c7ebd5;
  color: #0f7c3f;
}

.irbp-toast.is-error {
  border-color: #f7c9ce;
  color: #b42318;
}

.irbp-toast.is-warning {
  border-color: #fbd3a7;
  color: #b45309;
}

.irbp-toast.is-info {
  border-color: #c7dafc;
  color: #1d4ed8;
}

@keyframes irbp-toast-progress {
  from {
    transform: scaleX(1);
  }
  to {
    transform: scaleX(0);
  }
}

.irbp-panel-layout {
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.irbp-sidebar,
.irbp-card {
  border: 1px solid var(--irbp-border);
  border-radius: var(--irbp-radius);
  background: var(--irbp-card);
}

.irbp-sidebar {
  position: sticky;
  top: 96px;
  height: fit-content;
  padding: 10px;
  box-shadow: var(--irbp-shadow);
}

.irbp-nav-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  width: 100%;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--irbp-text-soft);
  text-align: right;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  padding: 11px 13px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.irbp-nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.irbp-nav-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.irbp-nav-icon path {
  fill: currentColor;
}

.irbp-nav-label {
  display: inline-block;
  line-height: 1.4;
}

.irbp-nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--irbp-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 650;
  line-height: 1;
  margin-inline-start: 6px;
}

.irbp-nav-item:hover {
  background: var(--irbp-surface);
}

.irbp-nav-item.is-active {
  color: var(--irbp-primary);
  background: var(--irbp-primary-10);
  font-weight: 620;
}

.irbp-content {
  display: grid;
  gap: 16px;
}

.irbp-card {
  padding: 18px;
  box-shadow: var(--irbp-shadow);
}

.irbp-section[hidden] {
  display: none !important;
}

.irbp-section {
  position: relative;
  overflow: hidden;
}

.irbp-section.is-loading {
  min-height: 220px;
}

.irbp-section.is-loading > :not(.irbp-section-loading) {
  opacity: 0.35;
  filter: blur(0.4px);
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.irbp-section-loading {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  justify-items: center;
  padding: 20px;
  background: rgba(249, 251, 255, 0.92);
  z-index: 6;
}

.irbp-section-loading-inner {
  width: min(520px, 100%);
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
}

.irbp-section-loading-head {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 560;
  color: var(--irbp-text-soft);
  justify-content: center;
}

.irbp-section-loading-card {
  border: 1px solid var(--irbp-border);
  border-radius: 14px;
  padding: 12px;
  background: var(--irbp-surface);
  display: grid;
  gap: 8px;
}

.irbp-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--irbp-border);
  padding-bottom: 12px;
}

.irbp-section-head h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 660;
}

.irbp-section-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.irbp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 11px;
  border: 1px solid transparent;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 560;
  line-height: 1.5;
  font-family: inherit;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.18s ease;
}

.irbp-external-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}

.irbp-btn:hover {
  transform: translateY(-1px);
}

.irbp-btn:disabled {
  opacity: 0.68;
  transform: none;
  cursor: wait;
}

.irbp-btn-primary {
  color: #fff;
  background: var(--irbp-primary);
  border-color: var(--irbp-primary);
  box-shadow: 0 6px 18px rgba(24, 90, 219, 0.28);
}

.irbp-btn-primary:hover {
  background: #164fbf;
  border-color: #164fbf;
}

.irbp-btn-ghost {
  color: var(--irbp-text);
  background: var(--irbp-card);
  border-color: var(--irbp-border-strong);
}

.irbp-btn-ghost:hover {
  background: var(--irbp-surface);
  border-color: var(--irbp-border-strong);
}

.irbp-form {
  display: grid;
  gap: 8px;
}

.irbp-form label {
  font-size: 13px;
  font-weight: 500;
  color: var(--irbp-text-soft);
}

.irbp-form input,
.irbp-form textarea,
.irbp-form select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--irbp-border);
  border-radius: 11px;
  padding: 10px 11px;
  color: var(--irbp-text);
  background: var(--irbp-surface);
  font-size: 14px;
  font-family: inherit;
  outline: 0;
  transition: all 0.16s ease;
}

.irbp-form select,
.irbp-form select option,
.irbp-form select optgroup {
  font-family: "EstedadVF", "Estedad FD", "Vazirmatn", Tahoma, sans-serif;
  font-variation-settings: "wght" 430, "KSHD" 100;
}

.irbp-form select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-inline-end: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23637083' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 14px 14px;
  background-position: left 12px center;
  text-align: right;
  cursor: pointer;
  color-scheme: light;
}

.irbp-form select option {
  font-family: inherit;
  font-size: 14px;
}

.irbp-form textarea {
  resize: vertical;
}

.irbp-form input::placeholder,
.irbp-form textarea::placeholder {
  color: #8a95a8;
}

.irbp-form input:focus,
.irbp-form textarea:focus,
.irbp-form select:focus {
  border-color: #91afe8;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(24, 90, 219, 0.14);
}

.irbp-form input[readonly] {
  background: #f3f6fb;
  color: #5e6b80;
  border-color: #d7e0ed;
  cursor: default;
}

.irbp-otp-inline {
  display: flex;
  align-items: center;
  gap: 8px;
}

.irbp-otp-inline input {
  flex: 1 1 auto;
  min-width: 0;
}

.irbp-otp-inline .irbp-btn {
  flex: 0 0 auto;
  padding-inline: 10px;
}

.irbp-verify-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.irbp-verify-status.is-confirmed {
  color: #16a34a;
}

.irbp-otp-wrap {
  display: grid;
  gap: 6px;
  margin-top: 4px;
}

.irbp-profile-avatar-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}

.irbp-profile-avatar {
  width: 70px;
  height: 70px;
  border-radius: 999px;
  border: 1px solid var(--irbp-border);
  background: #eef3fb;
  object-fit: cover;
  flex: 0 0 70px;
}

.irbp-profile-avatar-fields {
  flex: 1;
}

.irbp-field-help {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--irbp-text-soft);
}

.irbp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.irbp-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.irbp-stat {
  position: relative;
  border: 1px solid #e7edf7;
  border-radius: 13px;
  padding: 13px 12px;
  background: #fcfdff;
}

.irbp-stat h3 {
  margin: 0;
  color: var(--irbp-text-soft);
  font-size: 12px;
  font-weight: 500;
}

.irbp-stat p {
  margin: 11px 0 0;
  color: #102a66;
  font-size: 29px;
  font-weight: 700;
  line-height: 1;
}

#irbp-stat-like-dislike-ratio {
  display: flex;
  align-items: flex-end;
  gap: 4px;
}

#irbp-stat-like-dislike-ratio .irbp-ratio-text {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

.irbp-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.irbp-summary-card {
  border: 1px solid #dce7fb;
  border-radius: 13px;
  background: linear-gradient(180deg, #f7faff 0%, #eef4ff 100%);
  padding: 14px 14px 12px;
}

.irbp-summary-card h3 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 620;
  color: #163f91;
}

.irbp-summary-card p {
  margin: 4px 0;
  color: #364459;
  font-size: 13px;
}

#irbp-account-email,
#irbp-account-phone {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.irbp-finance-dashboard {
  display: grid;
  gap: 12px;
}

.irbp-finance-brand-card {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #dce7fb;
  border-radius: 13px;
  background: linear-gradient(180deg, #f7faff 0%, #eef4ff 100%);
  padding: 12px;
}

.irbp-finance-logo-wrap {
  width: 112px;
  height: 56px;
  border-radius: 13px;
  border: 1px solid #d5e1fa;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 112px;
  overflow: hidden;
}

.irbp-finance-logo-wrap img {
  padding: 2px;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.irbp-finance-brand-title {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #163f91;
  font-size: 16px;
  font-weight: 640;
}

.irbp-finance-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #4c5c76;
  text-decoration: none;
  line-height: 1;
  transition: color 0.2s ease;
}

.irbp-finance-link:hover {
  color: #185adb;
}

.irbp-finance-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.irbp-finance-chart-card {
  border: 1px solid #e6edf6;
  border-radius: 16px;
  background: #ffffff;
  padding: 16px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.irbp-finance-chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.irbp-finance-chart-card h3 {
  margin: 0;
  color: #0f172a;
  font-size: 16px;
  font-weight: 700;
}

.irbp-finance-range-tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f1f5f9;
  border: 0;
  border-radius: 14px;
  padding: 4px;
}

.irbp-finance-range-tabs button {
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: #64748b;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.irbp-finance-range-tabs button:hover {
  color: #0f172a;
  background: #e2e8f0;
}

.irbp-finance-range-tabs button.is-active {
  color: #0f172a;
  background: #ffffff;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
}

.irbp-finance-chart {
  min-height: 320px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  overflow: hidden;
}

.irbp-finance-chart svg {
  display: block;
  width: 100%;
  height: 100%;
}

.irbp-finance-grid-horizontal line,
.irbp-finance-grid-vertical line {
  stroke: #e8eef6;
  stroke-width: 1;
}

.irbp-finance-grid-vertical line {
  opacity: 0.55;
}

.irbp-finance-line-area {
  fill: url(#irbpFinanceAreaGradient);
}

.irbp-finance-line-path {
  fill: none;
  stroke: #10b981;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: none;
}

.irbp-finance-line-dot {
  fill: #10b981;
  stroke: #ffffff;
  stroke-width: 2;
}

.irbp-finance-point-value {
  fill: #94a3b8;
  text-anchor: middle;
  font-size: 9.5px;
  font-weight: 500;
}

.irbp-finance-tooltip rect,
.irbp-finance-tooltip path {
  fill: #0f172a;
}

.irbp-finance-tooltip text {
  fill: #fff;
  text-anchor: middle;
  font-size: 14px;
  font-weight: 600;
}

.irbp-finance-axis-label {
  fill: #94a3b8;
  text-anchor: middle;
  font-size: 11px;
  font-weight: 500;
}

.irbp-comment-filter-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.irbp-comment-pagination {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.irbp-comment-pagination > span {
  color: var(--irbp-text-soft);
  font-size: 12px;
  font-weight: 560;
}

.irbp-comment-pagination .irbp-btn {
  min-width: 64px;
  padding: 6px 10px;
  font-size: 12px;
}

.irbp-comment-infinite-sentinel {
  width: 100%;
  height: 1px;
}

.irbp-comment-infinite-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--irbp-text-soft);
  font-size: 12px;
  font-weight: 560;
  margin-top: 12px;
}

.irbp-comment-filter-tabs button {
  border: 1px solid #d9e1ec;
  border-radius: 999px;
  background: #fff;
  color: var(--irbp-text-soft);
  font-family: inherit;
  font-size: 12px;
  font-weight: 560;
  padding: 6px 10px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.irbp-comment-filter-tabs button span {
  color: var(--irbp-primary);
  font-weight: 650;
  margin-inline-start: 4px;
}

.irbp-comment-filter-tabs button:hover {
  border-color: #c8d6ec;
  background: #f6f9ff;
}

.irbp-comment-filter-tabs button.is-active {
  border-color: var(--irbp-primary);
  color: var(--irbp-primary);
  background: var(--irbp-primary-10);
}

.irbp-comment-loading {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--irbp-text-soft);
  font-size: 13px;
  font-weight: 560;
  margin-bottom: 10px;
}

.irbp-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid #d5deeb;
  border-top-color: var(--irbp-primary);
  border-radius: 50%;
  animation: irbp-spin 0.9s linear infinite;
}

.irbp-comment-skeleton {
  display: grid;
  gap: 12px;
  margin-bottom: 10px;
}

.irbp-comment-skeleton-card {
  border: 1px solid #e2e9f5;
  border-radius: 14px;
  padding: 12px;
  background: #f9fbff;
  display: grid;
  gap: 8px;
}

.irbp-skeleton-line {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #e9eef6 0%, #f6f8fc 50%, #e9eef6 100%);
  background-size: 200% 100%;
  animation: irbp-skeleton 1.2s ease-in-out infinite;
}

.irbp-skeleton-line.is-wide {
  width: 100%;
}

.irbp-skeleton-line.is-medium {
  width: 72%;
}

.irbp-skeleton-line.is-short {
  width: 46%;
}

.irbp-comment-replies {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.irbp-comment-reply-item {
  border: 1px solid #e2e9f5;
  border-radius: 12px;
  padding: 10px;
  background: #f9fbff;
}

.irbp-comment-reply-item.is-finance {
  border-color: #cdedda;
  background: #f2faf6;
}

.irbp-comment-reply-item.is-finance .irbp-comment-reply-body,
.irbp-comment-reply-item.is-finance header strong {
  color: #1f2937;
}

.irbp-comment-reply-item header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}

.irbp-comment-reply-item header strong {
  font-size: 12px;
  font-weight: 620;
  color: var(--irbp-text);
}

.irbp-comment-reply-item header span {
  font-size: 11px;
  color: var(--irbp-text-soft);
}

.irbp-comment-reply-status {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: #fff7ed;
  color: #c2410c;
  font-size: 11px;
  font-weight: 600;
}

.irbp-comment-reply-body {
  margin: 0;
  font-size: 13px;
  line-height: 1.9;
  color: var(--irbp-text);
  white-space: pre-wrap;
  word-break: break-word;
}

.irbp-comment-reply-body a {
  color: #1b4cae;
  text-decoration: underline;
}

.irbp-comment-reply-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 6px;
}

.irbp-comment-replies-empty {
  margin: 0;
  font-size: 13px;
  color: var(--irbp-text-soft);
}

.irbp-comment-reply-form {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.irbp-comment-edit-form {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.irbp-comment-reply-form textarea,
.irbp-comment-edit-form textarea {
  border: 1px solid var(--irbp-border);
  border-radius: 11px;
  background: var(--irbp-surface);
  color: var(--irbp-text);
  padding: 9px 10px;
  font: inherit;
  font-size: 13px;
  line-height: 1.8;
  resize: vertical;
}

.irbp-comment-intro {
  margin-top: 12px;
  margin-bottom: 14px;
  border: 1px solid #e6eef9;
  border-radius: 14px;
  background: #f7faff;
  padding: 14px 16px;
  color: #334155;
  font-size: 13px;
  line-height: 1.9;
}

.irbp-comment-intro p {
  margin: 0 0 8px;
}

.irbp-comment-intro p:last-child {
  margin-bottom: 0;
}

.irbp-comment-form-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.irbp-btn.irbp-btn-xs {
  padding: 4px 10px;
  font-size: 12px;
  border-radius: 10px;
}

.irbp-comment-reply-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.irbp-list {
  display: grid;
  gap: 8px;
}

#irbp-ticket-list {
  gap: 12px;
}

.irbp-empty {
  border: 1px dashed #cfd9e8;
  border-radius: 13px;
  color: var(--irbp-text-soft);
  background: #f9fbff;
  padding: 16px;
  text-align: center;
  font-size: 14px;
}

.irbp-list-item,
.irbp-ticket-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid #e2e9f5;
  border-radius: 13px;
  background: #fff;
  padding: 12px;
}

.irbp-ticket-item {
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 16px;
  border-color: #e4eaf4;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.irbp-list-item p,
.irbp-ticket-item p {
  margin: 4px 0 0;
  color: var(--irbp-text-soft);
  font-size: 13px;
}

.irbp-ticket-main {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 10px;
}

.irbp-ticket-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.irbp-ticket-title-row h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 670;
  color: var(--irbp-text);
}

.irbp-ticket-id {
  font-size: 12px;
  font-weight: 620;
  color: #7082a6;
  background: #f6f8fc;
  border: 1px solid #e3e9f4;
  border-radius: 999px;
  padding: 3px 10px;
}

.irbp-ticket-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.irbp-ticket-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #64748b;
  background: #f8fafc;
  border: 1px solid #e5e9f2;
  border-radius: 999px;
  padding: 4px 10px;
}

.irbp-ticket-chip.is-category {
  font-size: 11px;
  padding: 3px 8px;
  color: #6b7b92;
  background: #f5f7fb;
  border-color: #e6ebf4;
}

.irbp-ticket-chip.is-muted {
  background: #f6f7fb;
  color: #7b8aa5;
  border-color: #e3e8f2;
}

.irbp-ticket-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  gap: 16px;
  align-items: center;
}

.irbp-ticket-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 12px;
  padding: 12px;
  border: 1px dashed #d7e3f4;
  border-radius: 14px;
  background: #f9fbff;
}

.irbp-ticket-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.irbp-ticket-meta-item span {
  font-size: 11px;
  color: #7b8aa5;
}

.irbp-ticket-meta-item strong {
  font-size: 14px;
  font-weight: 640;
  color: var(--irbp-text);
}

.irbp-ticket-meta {
  min-width: 0;
}

.irbp-list-item strong {
  margin: 0;
  font-size: 14px;
  font-weight: 610;
  color: var(--irbp-text);
}

.irbp-ticket-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  min-width: 170px;
}

.irbp-ticket-open {
  width: 100%;
  border-radius: 12px;
  padding: 9px 14px;
  font-weight: 600;
  background: #fff;
  color: var(--irbp-primary);
  border-color: var(--irbp-primary);
  box-shadow: none;
}

.irbp-ticket-open:hover {
  background: var(--irbp-primary-10);
  border-color: #1650c0;
  color: #1650c0;
}

.irbp-list-item > a {
  color: #1b4cae;
  font-weight: 600;
  text-decoration: none;
}

.irbp-list-item > a:hover {
  text-decoration: underline;
}

.irbp-comment-item {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
  padding: 14px;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
}

.irbp-comment-item.is-replied {
  border-color: #e5e7eb;
  background: #fff;
  border-inline-start: 1px solid #e5e7eb;
}

.irbp-comment-item.is-unreplied {
  border-color: #e5e7eb;
}

.irbp-comment-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

.irbp-comment-head-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-inline-start: auto;
}

.irbp-comment-head > .irbp-badge {
  margin-inline-start: auto;
}

.irbp-comment-thread {
  margin-top: 10px;
  display: grid;
  gap: 10px;
}

.irbp-comment-thread[hidden] {
  display: none;
}

.irbp-comment-thread-toggle {
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #64748b;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.irbp-comment-thread-toggle svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.irbp-comment-item.is-thread-open .irbp-comment-thread-toggle svg {
  transform: rotate(180deg);
}

.irbp-comment-title {
  color: #0f172a;
  font-size: 14px;
  font-weight: 620;
}

.irbp-comment-date {
  margin: 6px 0 0;
  color: var(--irbp-text-soft);
  font-size: 12px;
}

.irbp-comment-content {
  margin: 8px 0;
  color: var(--irbp-text);
  font-size: 14px;
  line-height: 1.9;
}

.irbp-comment-rating {
  margin: 0 0 10px;
  color: #334155;
  font-size: 13px;
}

.irbp-comment-rating span {
  color: #f59e0b;
  letter-spacing: 1px;
  font-size: 15px;
}

.irbp-badge.is-replied {
  color: #0f7c3f;
  background: #e8f8ee;
  border-color: #bfe9ce;
  font-weight: 650;
}

.irbp-badge.is-unreplied {
  color: #475569;
  background: #f1f5f9;
  border-color: #e2e8f0;
}

.irbp-comment-attachments {
  margin: 6px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.irbp-comment-attachment-thumb {
  border: 1px solid #d5deef;
  background: #f6f8fc;
  width: 54px;
  height: 54px;
  border-radius: 10px;
  padding: 2px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.irbp-comment-attachment-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.irbp-comment-attachment-file {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid #cfdbf3;
  padding: 4px 10px;
  background: #f4f8ff;
  color: #1c4ca9;
  font-size: 12px;
  text-decoration: none;
}

.irbp-comment-attachment-file:hover {
  background: #ebf2ff;
}

.irbp-comment-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.irbp-comment-lightbox.is-active {
  display: flex;
}

.irbp-comment-lightbox-image {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.irbp-comment-lightbox-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.irbp-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 580;
  padding: 5px 10px;
  color: #1d3f8f;
  background: #eaf0ff;
  border: 1px solid #d5e1fa;
}

.irbp-badge.is-admin {
  color: #0f7c3f;
  background: #e8f8ee;
  border-color: #c7ebd5;
}

.irbp-badge.is-user {
  color: #0f7c3f;
  background: #e8f8ee;
  border-color: #c7ebd5;
}

.irbp-badge.is-pending {
  color: #7a4d00;
  background: #fff4e5;
  border-color: #ffd8a8;
}

.irbp-badge.is-closed {
  color: #a71f1f;
  background: #fdebec;
  border-color: #f6c7cb;
}

.irbp-ticket-detail {
  margin-top: 8px;
  border-top: 1px dashed #e3e9f2;
  padding-top: 12px;
}

.irbp-ticket-create-wrap {
  margin-bottom: 12px;
  border: 1px solid #e2e9f5;
  border-radius: 13px;
  background: #fff;
  padding: 12px;
}

.irbp-ticket-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.irbp-ticket-head-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.irbp-ticket-head h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 650;
}

.irbp-thread {
  display: grid;
  gap: 8px;
  margin: 13px 0;
}

.irbp-thread-item {
  border: 1px solid #e2e9f5;
  border-radius: 13px;
  padding: 12px;
  background: #fff;
}

.irbp-thread-item header {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 7px;
  font-size: 13px;
}

.irbp-thread-item header span {
  color: var(--irbp-text-soft);
}

.irbp-thread-item p {
  margin: 0;
  color: #223049;
  font-size: 14px;
  line-height: 1.9;
  white-space: pre-wrap;
  word-break: break-word;
}

.irbp-thread-item.is-admin {
  background: #f7fbff;
  border-color: #d8e5f8;
}

.irbp-attachments {
  margin-top: 9px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.irbp-attachments a {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid #cfdbf3;
  padding: 4px 9px;
  background: #f4f8ff;
  color: #1c4ca9;
  font-size: 12px;
  text-decoration: none;
}

.irbp-attachments a:hover {
  background: #ebf2ff;
}

.irbp-notification-item {
  border: 1px solid #e2e9f5;
  border-radius: 13px;
  padding: 13px;
  background: #fff;
}

.irbp-notification-item h3 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 630;
}

.irbp-notification-item p {
  margin: 0;
  color: var(--irbp-text-soft);
  font-size: 13px;
  line-height: 1.8;
}

.irbp-notification-item span {
  display: block;
  margin-top: 6px;
  color: #8a96a8;
  font-size: 12px;
}

.irbp-notification-item.is-unread {
  border-color: #c9dbfb;
  background: #f5f9ff;
}

.irbp-guest-card {
  max-width: 640px;
  margin: 52px auto;
  border: 1px solid var(--irbp-border);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--irbp-shadow);
  text-align: center;
  padding: 28px 24px;
}

.irbp-guest-card h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
}

.irbp-guest-card p {
  margin: 12px 0 0;
  color: var(--irbp-text-soft);
  line-height: 1.95;
}

.irbp-guest-actions {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 9px;
  flex-wrap: wrap;
}

.irb-watch-list {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #93a2bb;
  cursor: pointer;
}

.irb-watch-list.booked svg {
  color: var(--irbp-primary);
}

.irbp-panel-shell[data-theme="dark"] .irbp-alert.success {
  color: #86e9b7;
  background: rgba(17, 125, 77, 0.22);
  border-color: rgba(46, 204, 135, 0.4);
}

.irbp-panel-shell[data-theme="dark"] .irbp-alert.error {
  color: #ffb4b4;
  background: rgba(160, 33, 33, 0.22);
  border-color: rgba(255, 109, 109, 0.42);
}

body.irbp-theme-dark .irbp-toast {
  background: #0f172a;
  border-color: #2a3858;
  color: #e2e8f0;
}

body.irbp-theme-dark .irbp-toast.is-success {
  border-color: rgba(34, 197, 94, 0.45);
  color: #86efac;
}

body.irbp-theme-dark .irbp-toast.is-error {
  border-color: rgba(248, 113, 113, 0.55);
  color: #fca5a5;
}

body.irbp-theme-dark .irbp-toast.is-warning {
  border-color: rgba(251, 191, 36, 0.55);
  color: #fde68a;
}

body.irbp-theme-dark .irbp-toast.is-info {
  border-color: rgba(147, 197, 253, 0.55);
  color: #bfdbfe;
}

.irbp-panel-shell[data-theme="dark"] .irbp-form input::placeholder,
.irbp-panel-shell[data-theme="dark"] .irbp-form textarea::placeholder {
  color: #8ea1bf;
}

.irbp-panel-shell[data-theme="dark"] .irbp-form input:focus,
.irbp-panel-shell[data-theme="dark"] .irbp-form textarea:focus,
.irbp-panel-shell[data-theme="dark"] .irbp-form select:focus {
  border-color: var(--irbp-primary);
  background: var(--irbp-surface);
  box-shadow: 0 0 0 3px var(--irbp-primary-20);
}

.irbp-panel-shell[data-theme="dark"] .irbp-form input[readonly] {
  background: #1f2b3f;
  color: var(--irbp-text-soft);
  border-color: var(--irbp-border);
}

.irbp-panel-shell[data-theme="dark"] .irbp-profile-avatar {
  background: var(--irbp-surface);
}

.irbp-panel-shell[data-theme="dark"] .irbp-stat {
  border-color: var(--irbp-border);
  background: #17253a;
}

.irbp-panel-shell[data-theme="dark"] .irbp-stat p {
  color: var(--irbp-text);
}

.irbp-panel-shell[data-theme="dark"] #irbp-stat-like-dislike-ratio .irbp-ratio-text {
  color: var(--irbp-text-soft);
}

.irbp-panel-shell[data-theme="dark"] .irbp-summary-card {
  border-color: var(--irbp-border);
  background: linear-gradient(180deg, #1b2b42 0%, #172337 100%);
}

.irbp-panel-shell[data-theme="dark"] .irbp-summary-card h3,
.irbp-panel-shell[data-theme="dark"] .irbp-summary-card p {
  color: var(--irbp-text);
}

.irbp-panel-shell[data-theme="dark"] .irbp-finance-brand-card,
.irbp-panel-shell[data-theme="dark"] .irbp-finance-chart-card {
  border-color: #1f2b3e;
  background: #101826;
  box-shadow: none;
}

.irbp-panel-shell[data-theme="dark"] .irbp-finance-logo-wrap {
  border-color: #d5e1fa;
  background: #fff;
}

.irbp-panel-shell[data-theme="dark"] .irbp-brand-logo--light {
  display: none;
}

.irbp-panel-shell[data-theme="dark"] .irbp-brand-logo--dark {
  display: block;
}

.irbp-panel-shell[data-theme="dark"] .irbp-finance-brand-title,
.irbp-panel-shell[data-theme="dark"] .irbp-finance-chart-card h3 {
  color: var(--irbp-text);
}

.irbp-panel-shell[data-theme="dark"] .irbp-finance-link {
  color: #9fb6d8;
}

.irbp-panel-shell[data-theme="dark"] .irbp-finance-link:hover {
  color: #d6e7ff;
}

.irbp-panel-shell[data-theme="dark"] .irbp-finance-range-tabs {
  border-color: transparent;
  background: #1b2434;
}

.irbp-panel-shell[data-theme="dark"] .irbp-finance-range-tabs button {
  color: #95a8c5;
}

.irbp-panel-shell[data-theme="dark"] .irbp-finance-range-tabs button:hover {
  color: #e2e8f0;
  background: #243246;
}

.irbp-panel-shell[data-theme="dark"] .irbp-finance-range-tabs button.is-active {
  color: #e2e8f0;
  background: #0f172a;
  box-shadow: none;
}

.irbp-panel-shell[data-theme="dark"] .irbp-finance-chart {
  border-color: transparent;
  background: linear-gradient(180deg, #0f172a 0%, #111c2b 100%);
}

.irbp-panel-shell[data-theme="dark"] .irbp-finance-grid-horizontal line,
.irbp-panel-shell[data-theme="dark"] .irbp-finance-grid-vertical line {
  stroke: #1f2b3e;
}

.irbp-panel-shell[data-theme="dark"] .irbp-finance-line-path {
  stroke: #34d399;
  filter: none;
}

.irbp-panel-shell[data-theme="dark"] .irbp-finance-line-dot {
  fill: #34d399;
  stroke: #0b1220;
}

.irbp-panel-shell[data-theme="dark"] .irbp-finance-point-value,
.irbp-panel-shell[data-theme="dark"] .irbp-finance-axis-label {
  fill: #94a3b8;
}

.irbp-panel-shell[data-theme="dark"] .irbp-finance-tooltip rect,
.irbp-panel-shell[data-theme="dark"] .irbp-finance-tooltip path {
  fill: #0b1220;
}

.irbp-panel-shell[data-theme="dark"] .irbp-comment-filter-tabs button {
  border-color: var(--irbp-border);
  background: var(--irbp-card);
  color: var(--irbp-text-soft);
}

.irbp-panel-shell[data-theme="dark"] .irbp-comment-pagination > span {
  color: #9ab0cd;
}

.irbp-panel-shell[data-theme="dark"] .irbp-comment-filter-tabs button span {
  color: #9dc0ff;
}

.irbp-panel-shell[data-theme="dark"] .irbp-comment-filter-tabs button:hover {
  background: #1a2b41;
  border-color: #3a4f6b;
}

.irbp-panel-shell[data-theme="dark"] .irbp-comment-filter-tabs button.is-active {
  background: rgba(77, 141, 255, 0.18);
  border-color: #4d8dff;
  color: #c6dcff;
}

.irbp-panel-shell[data-theme="dark"] .irbp-comment-loading {
  color: #9fb6d8;
}

.irbp-panel-shell[data-theme="dark"] .irbp-spinner {
  border-color: #2b3c57;
  border-top-color: #6aa4ff;
}

.irbp-panel-shell[data-theme="dark"] .irbp-comment-skeleton-card {
  border-color: var(--irbp-border);
  background: #162334;
}

.irbp-panel-shell[data-theme="dark"] .irbp-section-loading {
  background: rgba(15, 23, 38, 0.88);
}

.irbp-panel-shell[data-theme="dark"] .irbp-section-loading-card {
  border-color: var(--irbp-border);
  background: var(--irbp-card);
}

.irbp-panel-shell[data-theme="dark"] .irbp-section.is-loading > :not(.irbp-section-loading) {
  opacity: 0.28;
}

.irbp-panel-shell[data-theme="dark"] .irbp-skeleton-line {
  background: linear-gradient(90deg, #203049 0%, #2b3d5a 50%, #203049 100%);
}

.irbp-panel-shell[data-theme="dark"] .irbp-comment-reply-item {
  border-color: var(--irbp-border);
  background: #192a41;
}

.irbp-panel-shell[data-theme="dark"] .irbp-comment-reply-item.is-finance {
  border-color: #cdedda;
  background: #f2faf6;
}

.irbp-panel-shell[data-theme="dark"] .irbp-comment-reply-body {
  color: var(--irbp-text);
}

.irbp-panel-shell[data-theme="dark"] .irbp-comment-reply-status {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}

.irbp-panel-shell[data-theme="dark"] .irbp-comment-reply-form textarea {
  background: #1c2a3f;
  border-color: var(--irbp-border);
  color: var(--irbp-text);
}

.irbp-panel-shell[data-theme="dark"] .irbp-comment-edit-form textarea {
  background: #1c2a3f;
  border-color: var(--irbp-border);
  color: var(--irbp-text);
}

.irbp-panel-shell[data-theme="dark"] .irbp-comment-intro {
  border-color: #2a3858;
  background: #1a2538;
  color: var(--irbp-text);
}

.irbp-panel-shell[data-theme="dark"] .irbp-empty {
  border-color: #31435d;
  background: #17253a;
  color: var(--irbp-text-soft);
}

.irbp-panel-shell[data-theme="dark"] .irbp-list-item,
.irbp-panel-shell[data-theme="dark"] .irbp-ticket-item,
.irbp-panel-shell[data-theme="dark"] .irbp-comment-item,
.irbp-panel-shell[data-theme="dark"] .irbp-thread-item,
.irbp-panel-shell[data-theme="dark"] .irbp-notification-item,
.irbp-panel-shell[data-theme="dark"] .irbp-ticket-create-wrap,
.irbp-panel-shell[data-theme="dark"] .irbp-guest-card {
  border-color: var(--irbp-border);
  background: var(--irbp-card);
}

.irbp-panel-shell[data-theme="dark"] .irbp-ticket-item {
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3);
}

.irbp-panel-shell[data-theme="dark"] .irbp-ticket-id {
  background: #1a2436;
  border-color: #2b3c57;
  color: #9db2d2;
}

.irbp-panel-shell[data-theme="dark"] .irbp-ticket-chip {
  background: #1a2436;
  border-color: #2b3c57;
  color: #b2c3dc;
}

.irbp-panel-shell[data-theme="dark"] .irbp-ticket-chip.is-category {
  background: #182235;
  border-color: #2b3c57;
  color: #a6b8d6;
}

.irbp-panel-shell[data-theme="dark"] .irbp-ticket-chip.is-muted {
  background: #141f31;
  border-color: #2b3c57;
  color: #9ab0cd;
}

.irbp-panel-shell[data-theme="dark"] .irbp-ticket-meta-grid {
  background: #111c2b;
  border-color: #2b3c57;
}

.irbp-panel-shell[data-theme="dark"] .irbp-ticket-detail {
  border-top-color: #2b3c57;
}

.irbp-panel-shell[data-theme="dark"] .irbp-ticket-open {
  background: transparent;
  color: #9dc0ff;
  border-color: #4d8dff;
}

.irbp-panel-shell[data-theme="dark"] .irbp-ticket-open:hover {
  background: rgba(77, 141, 255, 0.16);
  color: #c6dcff;
  border-color: #6aa4ff;
}

.irbp-panel-shell[data-theme="dark"] .irbp-list-item > a,
.irbp-panel-shell[data-theme="dark"] .irbp-comment-title,
.irbp-panel-shell[data-theme="dark"] .irbp-attachments a {
  color: #9dc0ff;
}

.irbp-panel-shell[data-theme="dark"] .irbp-comment-item {
  background: #0f172a;
}

.irbp-panel-shell[data-theme="dark"] .irbp-comment-item.is-replied {
  background: #0f172a;
  border-color: var(--irbp-border);
  border-inline-start-color: var(--irbp-border);
}

.irbp-panel-shell[data-theme="dark"] .irbp-comment-thread-toggle {
  background: #0f172a;
  border-color: #2a3858;
  color: #cbd5f5;
}

.irbp-panel-shell[data-theme="dark"] .irbp-badge.is-replied {
  color: #22c55e;
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.3);
}

.irbp-panel-shell[data-theme="dark"] .irbp-badge.is-unreplied {
  color: #cbd5f5;
  background: rgba(148, 163, 184, 0.15);
  border-color: rgba(148, 163, 184, 0.35);
}

.irbp-panel-shell[data-theme="dark"] .irbp-comment-rating,
.irbp-panel-shell[data-theme="dark"] .irbp-thread-item p {
  color: var(--irbp-text);
}

.irbp-panel-shell[data-theme="dark"] .irbp-comment-attachment-thumb {
  border-color: #2a3858;
  background: #1a2338;
}

.irbp-panel-shell[data-theme="dark"] .irbp-comment-attachment-file {
  border-color: #2a3858;
  background: #1a2338;
  color: #9db8ff;
}

.irbp-panel-shell[data-theme="dark"] .irbp-badge {
  color: #b6ccf5;
  background: rgba(93, 130, 196, 0.16);
  border-color: rgba(141, 174, 235, 0.25);
}

.irbp-panel-shell[data-theme="dark"] .irbp-badge.is-admin {
  color: #8fe6b8;
  background: rgba(28, 130, 79, 0.22);
  border-color: rgba(121, 220, 170, 0.34);
}

.irbp-panel-shell[data-theme="dark"] .irbp-badge.is-user {
  color: #8fe6b8;
  background: rgba(28, 130, 79, 0.22);
  border-color: rgba(121, 220, 170, 0.34);
}

.irbp-panel-shell[data-theme="dark"] .irbp-badge.is-pending {
  color: #ffd08a;
  background: rgba(247, 173, 43, 0.16);
  border-color: rgba(247, 173, 43, 0.4);
}

.irbp-panel-shell[data-theme="dark"] .irbp-badge.is-closed {
  color: #ffb2b2;
  background: rgba(155, 36, 36, 0.2);
  border-color: rgba(255, 148, 148, 0.34);
}

.irbp-panel-shell[data-theme="dark"] .irbp-thread-item.is-admin,
.irbp-panel-shell[data-theme="dark"] .irbp-notification-item.is-unread {
  background: #1a2d46;
  border-color: #345070;
}

.irbp-panel-shell[data-theme="dark"] .irbp-attachments a {
  border-color: #3f5b83;
  background: #1f3351;
}

.irbp-panel-shell[data-theme="dark"] .irbp-attachments a:hover {
  background: #284168;
}

.irbp-panel-shell[data-theme="dark"] .irb-watch-list {
  color: #8ea1bf;
}

body.irbp-theme-dark,
body.irbp-theme-dark #page,
body.irbp-theme-dark .site,
body.irbp-theme-dark .site-main {
  background: #0f1726 !important;
  color: #e7eef9;
}

body.irbp-theme-dark :where(#masthead, .site-header, .main-header, #colophon, .site-footer, .main-footer) {
  background: #111a2b !important;
  color: #e7eef9 !important;
  border-color: #263449 !important;
}

body.irbp-theme-dark :where(#masthead, .site-header, .main-header, #colophon, .site-footer, .main-footer) a {
  color: #c6d9ff !important;
}

body.irbp-theme-dark :where(#masthead, .site-header, .main-header, #colophon, .site-footer, .main-footer) :where(h1, h2, h3, h4, h5, h6, p, li, span, strong, small) {
  color: inherit;
}

@keyframes irbp-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes irbp-skeleton {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

@media (max-width: 1180px) {
  .irbp-panel-layout {
    grid-template-columns: 1fr;
  }

  .irbp-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .irbp-nav-item {
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    text-align: center;
    font-size: 13px;
    padding: 10px 8px;
  }

  .irbp-nav-item.is-active {
    box-shadow: none;
  }

  .irbp-nav-badge {
    margin-inline-start: 0;
  }
}

@media (max-width: 920px) {
  html body.irbp-panel-route[data-headetype="irb-menu-innerpage"] {
    padding-top: 0 !important;
  }

  .irbp-panel-inner {
    padding: 20px 13px 34px;
  }

  .irbp-panel-header {
    padding: 14px;
  }

  .irbp-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .irbp-finance-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .irbp-finance-chart {
    min-height: 300px;
  }

  .irbp-summary-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .irbp-panel-header {
    padding: 12px;
    gap: 10px;
    box-shadow: none;
    flex-direction: column;
    align-items: flex-start;
  }

  .irbp-brand-logo {
    width: 128px;
    max-width: 128px;
    height: 24px;
  }

  .irbp-userbox {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }

  .irbp-userbox-profile {
    gap: 8px;
  }

  .irbp-userbox-actions {
    margin-inline-start: auto;
    gap: 6px;
  }

  .irbp-userbox-actions [data-irbp-logout] {
    display: inline-flex;
    padding: 6px 10px;
    font-size: 11px;
    border-radius: 9px;
  }

  .irbp-userbox-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
  }

  .irbp-userbox-avatar {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
  }

  .irbp-userbox strong {
    font-size: 13px;
  }

  .irbp-userbox p {
    font-size: 11px;
  }

  .irbp-theme-toggle {
    width: 34px;
    min-width: 34px;
    height: 34px;
    border-radius: 9px;
  }

  .irbp-sidebar {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    top: auto;
    z-index: 1000;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    border-radius: 14px 14px 0 0;
    border-inline: 0;
    border-bottom: 0;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: var(--irbp-card);
    height: auto;
    max-height: 84px;
    overflow-x: hidden;
    overflow-y: hidden;
  }

  .irbp-content {
    padding-bottom: calc(96px + env(safe-area-inset-bottom));
  }

  .irbp-nav-item {
    min-width: 0;
    gap: 5px;
    padding: 6px 4px;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.25;
    width: auto;
    flex: 1 1 0;
    max-width: none;
  }

  .irbp-nav-icon {
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
  }

  .irbp-nav-label {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
    line-height: 1.2;
    max-width: 100%;
  }

  .irbp-nav-item[data-irbp-hide-mobile="1"] {
    display: none;
  }

  .irbp-profile-user-info-panel [data-irbp-hide-mobile="1"] {
    display: none;
  }

  .irbp-nav-badge {
    min-width: 14px;
    height: 14px;
    font-size: 9px;
    padding: 0 3px;
  }

  .irbp-card {
    padding: 14px;
  }

  .irbp-section-head h2 {
    font-size: 19px;
  }

  .irbp-list-item,
  .irbp-ticket-item,
  .irbp-comment-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .irbp-ticket-row {
    grid-template-columns: 1fr;
  }

  .irbp-ticket-side {
    display: flex;
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .irbp-ticket-open {
    width: auto;
  }

  .irbp-ticket-meta-grid {
    grid-template-columns: 1fr;
  }

  .irbp-finance-brand-card {
    align-items: flex-start;
  }

  .irbp-finance-chart-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .irbp-finance-chart-card h3 {
    font-size: 20px;
  }

  .irbp-finance-range-tabs {
    width: 100%;
    justify-content: space-between;
  }

  .irbp-finance-range-tabs button {
    flex: 1 1 0;
    text-align: center;
    padding-inline: 6px;
  }

  .irbp-finance-logo-wrap {
    width: 96px;
    height: 48px;
    flex-basis: 96px;
  }

  .irbp-finance-stats {
    grid-template-columns: 1fr;
  }

  .irbp-finance-chart {
    min-height: 260px;
  }

  .irbp-profile-avatar-row {
    align-items: flex-start;
  }

  .irbp-otp-inline {
    flex-direction: column;
    align-items: stretch;
  }

  .irbp-verify-status {
    justify-content: flex-start;
  }
}
