:root {
  --rcr-bg: #161a1e;
  --rcr-bg-soft: #1c2126;
  --rcr-surface: #232a31;
  --rcr-surface-2: #2b333b;
  --rcr-surface-3: #37414b;
  --rcr-panel-solid: rgba(30, 35, 41, 0.94);
  --rcr-panel-soft: rgba(37, 43, 50, 0.94);
  --rcr-panel-elevated: linear-gradient(180deg, rgba(44, 51, 59, 0.98) 0%, rgba(28, 33, 38, 0.96) 100%);
  --rcr-line: rgba(176, 149, 108, 0.16);
  --rcr-line-strong: rgba(176, 149, 108, 0.3);
  --rcr-text: #ece7df;
  --rcr-text-2: #c4bbb0;
  --rcr-text-3: #8f877e;
  --rcr-accent: #b0956c;
  --rcr-accent-strong: #d2b78e;
  --rcr-accent-soft: rgba(176, 149, 108, 0.12);
  --rcr-steel: #8a99a7;
  --rcr-steel-soft: rgba(138, 153, 167, 0.14);
  --rcr-shadow-sm: 0 16px 36px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.02);
  --rcr-shadow: 0 24px 56px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.03);
  --rcr-shadow-lg: 0 30px 78px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body[data-rcr-theme="dark"] {
  background:
    radial-gradient(circle at top left, rgba(176, 149, 108, 0.11), transparent 26%),
    radial-gradient(circle at top right, rgba(138, 153, 167, 0.08), transparent 22%),
    linear-gradient(180deg, #171b20 0%, #13171a 100%);
  color: var(--rcr-text);
  position: relative;
}

body[data-rcr-theme="dark"]::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 28%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.015) 0 1px, transparent 1px 120px),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.012) 0 1px, transparent 1px 120px);
  opacity: 0.55;
  mix-blend-mode: soft-light;
  z-index: 0;
}

body[data-rcr-theme="dark"] > * {
  position: relative;
  z-index: 1;
}

body[data-rcr-theme="dark"] input,
body[data-rcr-theme="dark"] select,
body[data-rcr-theme="dark"] textarea {
  color-scheme: dark;
}

body[data-rcr-theme="dark"] input::placeholder,
body[data-rcr-theme="dark"] textarea::placeholder {
  color: var(--rcr-text-3);
}

body[data-rcr-theme="dark"] ::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

body[data-rcr-theme="dark"] ::-webkit-scrollbar-thumb {
  background: rgba(176, 149, 108, 0.26);
  border-radius: 99px;
}

/* Dashboard */
body[data-rcr-page="dashboard"] {
  --accent: var(--rcr-accent);
  --accent-bg: var(--rcr-accent-soft);
  --bg: var(--rcr-bg);
  --card: var(--rcr-panel-solid);
  --sidebar-bg: #14181c;
  --sidebar-text: rgba(244, 235, 223, 0.7);
  --sidebar-active: #fff5e8;
  --sidebar-hover: rgba(176, 149, 108, 0.12);
  --sidebar-active-bg: rgba(176, 149, 108, 0.18);
  --text: var(--rcr-text);
  --text2: var(--rcr-text-2);
  --border: var(--rcr-line);
  --shadow: var(--rcr-shadow);
}

body[data-rcr-page="dashboard"] .main,
body[data-rcr-page="dashboard"] .content,
body[data-rcr-page="dashboard"] .home-view {
  background: transparent;
}

body[data-rcr-page="dashboard"] .sidebar-logo,
body[data-rcr-page="dashboard"] .sidebar-footer {
  border-color: rgba(255, 245, 232, 0.08);
}

body[data-rcr-page="dashboard"] .brand-banner {
  background:
    linear-gradient(135deg, rgba(176, 149, 108, 0.18), transparent 42%),
    linear-gradient(135deg, #263038 0%, #3a4650 55%, #221d18 100%);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(176, 149, 108, 0.16);
}

body[data-rcr-page="dashboard"] .stat-card,
body[data-rcr-page="dashboard"] .tool-card,
body[data-rcr-page="dashboard"] .quick-btn,
body[data-rcr-page="dashboard"] .info-bar {
  background: var(--rcr-panel-elevated);
  border-color: var(--rcr-line);
  box-shadow: var(--rcr-shadow-sm);
}

body[data-rcr-page="dashboard"] .tool-card:hover {
  box-shadow: var(--rcr-shadow-lg);
}

body[data-rcr-page="dashboard"] .quick-btn:hover {
  background: rgba(176, 149, 108, 0.12);
}

body[data-rcr-page="dashboard"] .clr-daily,
body[data-rcr-page="dashboard"] .tag-daily {
  background: rgba(94, 123, 255, 0.16);
  color: #9cb4ff;
}

body[data-rcr-page="dashboard"] .clr-inv,
body[data-rcr-page="dashboard"] .tag-inv,
body[data-rcr-page="dashboard"] .tag-ledger,
body[data-rcr-page="dashboard"] .clr-ledger {
  background: rgba(68, 181, 124, 0.15);
  color: #78db9d;
}

body[data-rcr-page="dashboard"] .clr-region,
body[data-rcr-page="dashboard"] .tag-region {
  background: rgba(242, 138, 76, 0.16);
  color: #f1af77;
}

body[data-rcr-page="dashboard"] .clr-plat,
body[data-rcr-page="dashboard"] .tag-plat {
  background: rgba(161, 104, 255, 0.14);
  color: #c5a4ff;
}

body[data-rcr-page="dashboard"] .clr-bean,
body[data-rcr-page="dashboard"] .tag-bean {
  background: rgba(226, 188, 95, 0.15);
  color: #ebca84;
}

body[data-rcr-page="dashboard"] .clr-pricing,
body[data-rcr-page="dashboard"] .tag-pricing {
  background: rgba(200, 155, 97, 0.16);
  color: var(--rcr-accent-strong);
}

/* Daily work */
body[data-rcr-page="daily"] {
  --bg: var(--rcr-bg);
  --surface: var(--rcr-panel-solid);
  --surface2: #242b31;
  --border: var(--rcr-line);
  --text: var(--rcr-text);
  --text2: var(--rcr-text-2);
  --text3: var(--rcr-text-3);
  --blue: var(--rcr-accent);
  --blue-light: rgba(200, 155, 97, 0.14);
  --green: #8da68e;
  --green-bg: rgba(141, 166, 142, 0.14);
  --green-dark: #abc1ab;
  --red: #cc8d7e;
  --red-bg: rgba(204, 141, 126, 0.16);
  --orange: #c6a26e;
  --orange-bg: rgba(198, 162, 110, 0.16);
  --yellow: #bca36d;
  --yellow-bg: rgba(188, 163, 109, 0.14);
  --purple: #8f95aa;
  --purple-bg: rgba(143, 149, 170, 0.14);
  --shadow-sm: var(--rcr-shadow-sm);
  --shadow: var(--rcr-shadow);
  --shadow-lg: var(--rcr-shadow-lg);
}

body[data-rcr-page="daily"] .sidebar {
  background: #171b20;
}

body[data-rcr-page="daily"] .main-header {
  background: rgba(19, 24, 28, 0.86);
  border-bottom-color: var(--rcr-line);
}

body[data-rcr-page="daily"] .add-task-form,
body[data-rcr-page="daily"] .quick-add-row,
body[data-rcr-page="daily"] .task-list-card,
body[data-rcr-page="daily"] .calendar-modal,
body[data-rcr-page="daily"] .calendar-guide,
body[data-rcr-page="daily"] .task-card,
body[data-rcr-page="daily"] .modal {
  box-shadow: var(--rcr-shadow-sm);
}

body[data-rcr-page="daily"] .gcal-all-btn,
body[data-rcr-page="daily"] .btn-add,
body[data-rcr-page="daily"] .quick-add-btn,
body[data-rcr-page="daily"] .gcal-link {
  background: linear-gradient(135deg, #b0956c 0%, #836949 100%);
  color: #111518;
}

body[data-rcr-page="daily"] .gcal-all-btn:hover,
body[data-rcr-page="daily"] .btn-add:hover,
body[data-rcr-page="daily"] .quick-add-btn:hover,
body[data-rcr-page="daily"] .gcal-link:hover {
  background: linear-gradient(135deg, #cfb089 0%, #9a7e5a 100%);
}

body[data-rcr-page="daily"] .date-nav-btn:hover,
body[data-rcr-page="daily"] .today-btn:hover,
body[data-rcr-page="daily"] .recent-item:hover,
body[data-rcr-page="daily"] .cal-nav-btn:hover,
body[data-rcr-page="daily"] .cal-day:hover,
body[data-rcr-page="daily"] .expand-btn:hover {
  background: rgba(200, 155, 97, 0.08);
  border-color: var(--rcr-line-strong);
}

/* Inventory */
body[data-rcr-page="inventory"] {
  --bg: var(--rcr-bg);
  --surface: var(--rcr-panel-solid);
  --surface2: #242b31;
  --border: var(--rcr-line);
  --text: var(--rcr-text);
  --text2: var(--rcr-text-2);
  --text3: var(--rcr-text-3);
  --blue: var(--rcr-accent);
  --blue-bg: rgba(200, 155, 97, 0.14);
  --green: #8da68e;
  --green-bg: rgba(141, 166, 142, 0.14);
  --green-dark: #abc1ab;
  --red: #cc8d7e;
  --red-bg: rgba(204, 141, 126, 0.16);
  --orange: #c6a26e;
  --orange-bg: rgba(198, 162, 110, 0.16);
  --yellow: #bca36d;
  --yellow-bg: rgba(188, 163, 109, 0.16);
  --brown: #b0956c;
  --brown-light: rgba(176, 149, 108, 0.14);
  --shadow-sm: var(--rcr-shadow-sm);
  --shadow: var(--rcr-shadow);
}

body[data-rcr-page="inventory"] .hdr {
  background: rgba(19, 24, 28, 0.86);
  border-bottom-color: var(--rcr-line);
}

body[data-rcr-page="inventory"] .btn-primary,
body[data-rcr-page="inventory"] .btn-submit {
  background: linear-gradient(135deg, #b0956c 0%, #836949 100%);
  color: #111518;
}

body[data-rcr-page="inventory"] tr:hover td {
  background: rgba(200, 155, 97, 0.05);
}

/* Ledger */
body[data-rcr-page="ledger"] {
  --accent: var(--rcr-accent);
  --accent-bg: var(--rcr-accent-soft);
  --bg: var(--rcr-bg);
  --card: var(--rcr-panel-solid);
  --text: var(--rcr-text);
  --text2: var(--rcr-text-2);
  --border: var(--rcr-line);
  --shadow: var(--rcr-shadow);
  --income: #8da68e;
  --income-bg: rgba(141, 166, 142, 0.14);
  --expense: #cc8d7e;
  --expense-bg: rgba(204, 141, 126, 0.16);
}

body[data-rcr-page="ledger"] .page-header,
body[data-rcr-page="ledger"] .modal,
body[data-rcr-page="ledger"] .table-wrap,
body[data-rcr-page="ledger"] .toolbar,
body[data-rcr-page="ledger"] .kpi-card,
body[data-rcr-page="ledger"] .cat-card {
  background: var(--rcr-panel-elevated);
  box-shadow: var(--rcr-shadow-sm);
}

body[data-rcr-page="ledger"] .btn-primary {
  background: linear-gradient(135deg, #b0956c 0%, #836949 100%);
  color: #111518;
}

body[data-rcr-page="ledger"] thead th {
  background: rgba(255, 255, 255, 0.03);
}

body[data-rcr-page="ledger"] tbody tr:hover {
  background: rgba(200, 155, 97, 0.05);
}

body[data-rcr-page="ledger"] .type-chip.active-all {
  background: rgba(200, 155, 97, 0.18);
  border-color: rgba(200, 155, 97, 0.4);
  color: var(--rcr-accent-strong);
}

body[data-rcr-page="ledger"] .cat-bar-wrap {
  background: rgba(255, 255, 255, 0.05);
}

/* Platform comparison */
body[data-rcr-page="platform"] {
  --bg: var(--rcr-bg);
  --bg2: var(--rcr-bg-soft);
  --bg3: var(--rcr-surface-2);
  --text: var(--rcr-text);
  --text2: var(--rcr-text-2);
  --text3: var(--rcr-text-3);
  --blue: var(--rcr-accent);
  --blue-light: rgba(200, 155, 97, 0.14);
  --green: #8da68e;
  --green-bg: rgba(141, 166, 142, 0.14);
  --red: #cc8d7e;
  --red-bg: rgba(204, 141, 126, 0.16);
  --orange: #c6a26e;
  --orange-bg: rgba(198, 162, 110, 0.16);
  --border: var(--rcr-line);
  --shadow: var(--rcr-shadow);
  --tw-badge: #c7a26d;
  --global-badge: #90a6bc;
}

body[data-rcr-page="platform"] nav,
body[data-rcr-page="platform"] .sticky-header {
  background: rgba(19, 24, 28, 0.9);
  border-bottom-color: var(--rcr-line);
}

body[data-rcr-page="platform"] .chip:hover {
  border-color: var(--rcr-line-strong);
}

body[data-rcr-page="platform"] .chip.active,
body[data-rcr-page="platform"] .compare-btn {
  background: linear-gradient(135deg, #b0956c 0%, #836949 100%);
  border-color: transparent;
  color: #111518;
}

body[data-rcr-page="platform"] .compare-btn:hover {
  background: linear-gradient(135deg, #cfb089 0%, #9a7e5a 100%);
}

body[data-rcr-page="platform"] .tag-tw {
  background: rgba(255, 143, 129, 0.16);
}

body[data-rcr-page="platform"] .tag-global {
  background: rgba(141, 181, 255, 0.16);
}

body[data-rcr-page="platform"] .pricing-section,
body[data-rcr-page="platform"] .verdict-card,
body[data-rcr-page="platform"] .card-top,
body[data-rcr-page="platform"] .row-label-cell,
body[data-rcr-page="platform"] .row-val-cell,
body[data-rcr-page="platform"] .plan-row,
body[data-rcr-page="platform"] .sticky-header-inner {
  background: var(--rcr-panel-elevated);
  border-color: var(--rcr-line);
  box-shadow: none;
}

body[data-rcr-page="platform"] .compare-row:hover {
  background: rgba(200, 155, 97, 0.05);
}

body[data-rcr-page="platform"] .price-tag,
body[data-rcr-page="platform"] .card-badge {
  background: rgba(200, 155, 97, 0.16);
  color: var(--rcr-accent-strong);
}

/* Bean analysis */
body[data-rcr-page="bean-analysis"] {
  --accent: var(--rcr-accent);
  --accent-bg: var(--rcr-accent-soft);
  --accent-light: var(--rcr-accent-strong);
  --bg: var(--rcr-bg);
  --card: var(--rcr-panel-solid);
  --text: var(--rcr-text);
  --text2: var(--rcr-text-2);
  --border: var(--rcr-line);
  --shadow: var(--rcr-shadow);
  --green: #8da68e;
  --green-bg: rgba(141, 166, 142, 0.14);
  --blue: #8fa0b2;
  --blue-bg: rgba(143, 160, 178, 0.16);
  --orange: #c6a26e;
  --orange-bg: rgba(198, 162, 110, 0.16);
  --red: #cc8d7e;
  --red-bg: rgba(204, 141, 126, 0.16);
  --gold: #c7aa73;
  --gold-bg: rgba(199, 170, 115, 0.14);
  --purple: #979cb0;
  --purple-bg: rgba(151, 156, 176, 0.16);
}

body[data-rcr-page="bean-analysis"] .page-header,
body[data-rcr-page="bean-analysis"] .input-card,
body[data-rcr-page="bean-analysis"] .result-card,
body[data-rcr-page="bean-analysis"] .detail-card,
body[data-rcr-page="bean-analysis"] .insight-card,
body[data-rcr-page="bean-analysis"] .score-banner {
  background: var(--rcr-panel-elevated);
  border-color: var(--rcr-line);
  box-shadow: var(--rcr-shadow-sm);
}

body[data-rcr-page="bean-analysis"] textarea:focus {
  background: rgba(255, 255, 255, 0.03);
}

body[data-rcr-page="bean-analysis"] .btn-analyze {
  background: linear-gradient(135deg, #b0956c 0%, #836949 100%);
  color: #111518;
}

body[data-rcr-page="bean-analysis"] .btn-clear,
body[data-rcr-page="bean-analysis"] .example-chip {
  background: rgba(200, 155, 97, 0.14);
  color: var(--rcr-accent-strong);
  border-color: var(--rcr-line);
}

/* Regions database */
body[data-rcr-page="regions"] {
  background:
    radial-gradient(circle at top left, rgba(176, 149, 108, 0.1), transparent 22%),
    radial-gradient(circle at top right, rgba(138, 153, 167, 0.08), transparent 18%),
    linear-gradient(180deg, #171b20 0%, #13171a 100%);
  color: var(--rcr-text);
}

body[data-rcr-page="regions"] .top-bar {
  background:
    linear-gradient(90deg, rgba(176, 149, 108, 0.18), transparent 40%),
    linear-gradient(90deg, #20262b 0%, #36404a 52%, #26201b 100%);
  color: var(--rcr-text);
}

body[data-rcr-page="regions"] .top-bar .sub,
body[data-rcr-page="regions"] .country-hdr .cmeta,
body[data-rcr-page="regions"] .updated-badge {
  color: var(--rcr-accent-strong);
}

body[data-rcr-page="regions"] .controls {
  background: rgba(22, 27, 32, 0.92);
  border-bottom-color: var(--rcr-line);
}

body[data-rcr-page="regions"] .controls input,
body[data-rcr-page="regions"] .controls select,
body[data-rcr-page="regions"] .farm-edit-row input,
body[data-rcr-page="regions"] .add-farm-row input,
body[data-rcr-page="regions"] .edit-form input,
body[data-rcr-page="regions"] .edit-form textarea,
body[data-rcr-page="regions"] .modal input,
body[data-rcr-page="regions"] .modal textarea,
body[data-rcr-page="regions"] .modal select,
body[data-rcr-page="regions"] .status-edit-wrap textarea {
  background: #20262c;
  color: var(--rcr-text);
  border-color: var(--rcr-line-strong);
}

body[data-rcr-page="regions"] .stat-box,
body[data-rcr-page="regions"] .country-sec,
body[data-rcr-page="regions"] .region-card,
body[data-rcr-page="regions"] .farm-card,
body[data-rcr-page="regions"] .add-farm-row,
body[data-rcr-page="regions"] .edit-form,
body[data-rcr-page="regions"] .modal {
  background: var(--rcr-panel-elevated);
  border-color: var(--rcr-line);
  color: var(--rcr-text);
  box-shadow: var(--rcr-shadow-sm);
}

body[data-rcr-page="regions"] .country-hdr {
  background: linear-gradient(90deg, #242b31, #38434d);
  color: var(--rcr-text);
}

body[data-rcr-page="regions"] .country-hdr:hover {
  background: linear-gradient(90deg, #2a3239, #45515d);
}

body[data-rcr-page="regions"] .country-overview,
body[data-rcr-page="regions"] .status-banner {
  background: rgba(200, 155, 97, 0.1);
  color: var(--rcr-text);
  border-left-color: var(--rcr-accent);
}

body[data-rcr-page="regions"] .grid-col-title,
body[data-rcr-page="regions"] .region-title,
body[data-rcr-page="regions"] .farm-name,
body[data-rcr-page="regions"] .modal h3,
body[data-rcr-page="regions"] .edit-form label,
body[data-rcr-page="regions"] .stat-box .val {
  color: var(--rcr-text);
}

body[data-rcr-page="regions"] .region-title .en,
body[data-rcr-page="regions"] .farm-note,
body[data-rcr-page="regions"] .no-result {
  color: var(--rcr-text-3);
}

body[data-rcr-page="regions"] .region-title .alt,
body[data-rcr-page="regions"] .tag-flavor,
body[data-rcr-page="regions"] .tag-variety,
body[data-rcr-page="regions"] .tag-process,
body[data-rcr-page="regions"] .toggle-edit-btn,
body[data-rcr-page="regions"] .add-region-btn {
  background: rgba(200, 155, 97, 0.12);
  color: var(--rcr-accent-strong);
  border-color: var(--rcr-line-strong);
}

body[data-rcr-page="regions"] .cal-off {
  background: rgba(255, 255, 255, 0.05);
  color: var(--rcr-text-3);
}

body[data-rcr-page="regions"] .cal-on,
body[data-rcr-page="regions"] .btn-primary,
body[data-rcr-page="regions"] .save-btn,
body[data-rcr-page="regions"] .btn-update {
  background: linear-gradient(135deg, #b0956c 0%, #836949 100%);
  color: #111518;
}

body[data-rcr-page="regions"] .btn-edit,
body[data-rcr-page="regions"] .search-web-btn,
body[data-rcr-page="regions"] .btn-cancel {
  background: rgba(255, 255, 255, 0.05);
  color: var(--rcr-text-2);
  border: 1px solid var(--rcr-line);
}

body[data-rcr-page="regions"] .server-online,
body[data-rcr-page="regions"] .updated-badge {
  background: rgba(111, 208, 159, 0.14);
  border-color: rgba(111, 208, 159, 0.35);
}

body[data-rcr-page="regions"] .server-offline {
  background: rgba(239, 140, 140, 0.14);
  color: #ef8c8c;
  border-color: rgba(239, 140, 140, 0.3);
}

/* Pricing page */
body[data-rcr-page="pricing"] .principle-note {
  background: rgba(200, 155, 97, 0.1);
}

body[data-rcr-page="pricing"] .matrix-table tbody tr:hover,
body[data-rcr-page="pricing"] .prod-table tbody tr:hover,
body[data-rcr-page="pricing"] .sim-table tbody tr:hover {
  background: rgba(200, 155, 97, 0.05);
}

/* Industrial refinement */
body[data-rcr-theme="dark"] .sidebar,
body[data-rcr-theme="dark"] .page-header,
body[data-rcr-theme="dark"] .hdr,
body[data-rcr-theme="dark"] .toolbar,
body[data-rcr-theme="dark"] .top-bar,
body[data-rcr-theme="dark"] .controls,
body[data-rcr-theme="dark"] nav,
body[data-rcr-theme="dark"] .main-header {
  backdrop-filter: blur(16px);
}

body[data-rcr-theme="dark"] .nav-item .icon,
body[data-rcr-theme="dark"] .card-icon,
body[data-rcr-theme="dark"] .icon-wrap,
body[data-rcr-theme="dark"] .hdr-icon,
body[data-rcr-theme="dark"] .verdict-emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent),
    linear-gradient(180deg, rgba(58, 65, 74, 0.96), rgba(35, 40, 46, 0.96));
  border: 1px solid rgba(176, 149, 108, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  color: var(--rcr-text);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 800;
}

body[data-rcr-page="dashboard"] .nav-item .icon {
  width: 32px;
  height: 22px;
  border-radius: 7px;
  font-size: 9px;
}

body[data-rcr-page="dashboard"] .card-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  font-size: 10px;
}

body[data-rcr-page="dashboard"] .brand-banner::before {
  content: "RCR";
  right: 22px;
  top: 18px;
  font-size: 62px;
  font-weight: 800;
  letter-spacing: 0.18em;
  opacity: 0.08;
  transform: none;
}

body[data-rcr-page="dashboard"] .tool-card,
body[data-rcr-page="dashboard"] .stat-card,
body[data-rcr-page="dashboard"] .info-bar,
body[data-rcr-page="dashboard"] .quick-btn,
body[data-rcr-page="daily"] .quick-add,
body[data-rcr-page="daily"] .add-task-form,
body[data-rcr-page="daily"] .task-list-card,
body[data-rcr-page="daily"] .task-card,
body[data-rcr-page="daily"] .daily-notes-card,
body[data-rcr-page="inventory"] .stock-card,
body[data-rcr-page="inventory"] .sum-card,
body[data-rcr-page="inventory"] .form-card,
body[data-rcr-page="inventory"] .table-card,
body[data-rcr-page="ledger"] .kpi-card,
body[data-rcr-page="ledger"] .table-wrap,
body[data-rcr-page="ledger"] .cat-card,
body[data-rcr-page="platform"] .verdict-card,
body[data-rcr-page="platform"] .pricing-section,
body[data-rcr-page="bean-analysis"] .a-card,
body[data-rcr-page="bean-analysis"] .flavor-card,
body[data-rcr-page="bean-analysis"] .roast-rec,
body[data-rcr-page="bean-analysis"] .season-card,
body[data-rcr-page="bean-analysis"] .buy-rec,
body[data-rcr-page="regions"] .stat-box,
body[data-rcr-page="regions"] .country-sec,
body[data-rcr-page="regions"] .region-card,
body[data-rcr-page="regions"] .farm-card,
body[data-rcr-page="regions"] .modal,
body[data-rcr-page="pricing"] .principle-note,
body[data-rcr-page="pricing"] .section,
body[data-rcr-page="pricing"] .card,
body[data-rcr-page="pricing"] .table-wrap {
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 24%),
    var(--rcr-panel-elevated);
  box-shadow: var(--rcr-shadow-sm);
}

body[data-rcr-page="dashboard"] .quick-btn,
body[data-rcr-page="platform"] .chip,
body[data-rcr-page="regions"] .btn-edit,
body[data-rcr-page="regions"] .search-web-btn,
body[data-rcr-page="regions"] .btn-cancel,
body[data-rcr-page="bean-analysis"] .btn-clear,
body[data-rcr-page="bean-analysis"] .example-chip {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent),
    rgba(255, 255, 255, 0.03);
  border: 1px solid var(--rcr-line);
}

body[data-rcr-page="dashboard"] .section-title,
body[data-rcr-page="daily"] .form-title,
body[data-rcr-page="daily"] .notes-header,
body[data-rcr-page="inventory"] .sec-title,
body[data-rcr-page="ledger"] .table-title,
body[data-rcr-page="platform"] .group-label,
body[data-rcr-page="regions"] .grid-col-title,
body[data-rcr-page="pricing"] .sec-head {
  letter-spacing: 0.08em;
}

body[data-rcr-page="platform"] .group-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

body[data-rcr-page="platform"] .group-label::before {
  content: "";
  width: 26px;
  height: 2px;
  background: linear-gradient(90deg, var(--rcr-accent), transparent);
}

body[data-rcr-page="platform"] .verdict-emoji {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  font-size: 12px;
  margin-bottom: 14px;
}

body[data-rcr-page="ledger"] .icon-wrap,
body[data-rcr-page="bean-analysis"] .icon-wrap,
body[data-rcr-page="pricing"] .hdr-icon {
  font-size: 11px;
  letter-spacing: 0.14em;
}

body[data-rcr-page="regions"] .stat-box .ico,
body[data-rcr-page="regions"] .server-online,
body[data-rcr-page="regions"] .server-offline,
body[data-rcr-page="regions"] .updated-badge,
body[data-rcr-page="regions"] .btn,
body[data-rcr-page="regions"] .tag,
body[data-rcr-page="regions"] .toggle-edit-btn,
body[data-rcr-page="regions"] .add-region-btn {
  letter-spacing: 0.03em;
}

body[data-rcr-page="bean-analysis"] .a-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 10px;
  letter-spacing: 0.14em;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent),
    linear-gradient(180deg, rgba(58, 65, 74, 0.96), rgba(35, 40, 46, 0.96));
  border: 1px solid rgba(176, 149, 108, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  color: var(--rcr-text);
}
