/* Hobiart 8.2 — presentation only. Explicit foreground/background pairs.
   This sheet loads last. The body ID defeats legacy dark-theme !important rules. */
:root, body#hobiart-ui {
  color-scheme: light;
  --bg: #e8e2d7;
  --bg-soft: #ded8cc;
  --bg-2: #e2ddd1;
  --surface: #f3eee4;
  --surface-2: #ece6db;
  --panel: #f3eee4;
  --panel-strong: #ece6db;
  --paper: #e8e2d7;
  --paper-2: #ded8cc;
  --cream: #eee7da;
  --text: #25362e;
  --ink: #25362e;
  --ink-2: #ece6db;
  /* Legacy --white is used as foreground text throughout the old theme. */
  --white: #25362e;
  --muted: #515c53;
  --primary: #315d49;
  --navy: #315d49;
  --accent: #775d2c;
  --gold: #775d2c;
  --gold-soft: #e9dfc8;
  --lime: #315d49;
  --aqua: #285a70;
  --violet: #60477b;
  --coral: #8b483a;
  --success: #245237;
  --warn: #725016;
  --danger: #853e37;
  --stroke: #c6c3b7;
  --line: #c6c3b7;
  --v8-line: #d0c9bb;
  --v8-soft: #dce5d9;
  --acc-line: #d0c9bb;
  --acc-muted: #515c53;
  --acc-surface: #f3eee4;
  --shadow: 0 4px 18px rgba(49, 48, 36, .045);
}
html, body#hobiart-ui { background: #e8e2d7 !important; color: #25362e !important; }
body#hobiart-ui::before { display: none; }
body#hobiart-ui * { scrollbar-color: #92998a #e8e2d7; }
body#hobiart-ui ::selection { background: #315d49; color: #fff8ec; }
body#hobiart-ui :is(h1,h2,h3,h4,h5,h6) { color: #25362e; }
body#hobiart-ui :is(.muted,.hint,.empty,.acc-empty,.crm-empty,.v8-empty,.v8-status-note) { color: #515c53 !important; }
body#hobiart-ui :is(input,select,textarea) {
  color-scheme: light !important;
  color: #25362e !important;
  -webkit-text-fill-color: #25362e !important;
  background: #f7f2e9 !important;
  border-color: #b7b8a9 !important;
  box-shadow: none !important;
  opacity: 1;
}
body#hobiart-ui input:disabled, body#hobiart-ui select:disabled, body#hobiart-ui textarea:disabled {
  background: #e0dacd !important; color: #515c53 !important; -webkit-text-fill-color: #515c53 !important; opacity: 1;
}
body#hobiart-ui :is(input,textarea)::placeholder { color: #61665b !important; opacity: 1; -webkit-text-fill-color: #61665b !important; }
body#hobiart-ui select { appearance: auto !important; -webkit-appearance: auto !important; padding-right: 12px !important; }
body#hobiart-ui option { background: #f7f2e9 !important; color: #25362e !important; }
body#hobiart-ui :is(input,select,textarea):focus {
  outline: 2px solid #315d49 !important; outline-offset: 2px; border-color: #315d49 !important;
}
body#hobiart-ui :is(input[type=checkbox],input[type=radio]) { accent-color: #315d49 !important; }
body#hobiart-ui :is(button,a):focus-visible { outline: 3px solid #315d49; outline-offset: 3px; }
body#hobiart-ui :is(.acc-field label,.field label,.form label,.form-group label,.acc-line-field>span,.acc-line-total>span) {
  color: #465249 !important; font-size: 12px !important; letter-spacing: .025em; font-weight: 650;
}
body#hobiart-ui :is(.btn,.icon-btn,.close-x,.modal-close,.close-btn,.crm-close,.acc-close,.menu-toggle,.v8-menu-toggle) {
  background: #ebe5d9 !important; color: #25362e !important; border-color: #c4c2b3 !important; box-shadow: none !important;
}
body#hobiart-ui :is(.btn-primary,.account-action.primary) {
  background: #315d49 !important; color: #fff8ec !important; border-color: #315d49 !important;
}
body#hobiart-ui :is(.btn-primary,.account-action.primary) :is(span,small,strong) { color: inherit !important; }
body#hobiart-ui :is(.btn-soft,.btn-outline,.btn-dark) { background: #f3eee4 !important; color: #31533e !important; border-color: #b7bbaa !important; }
body#hobiart-ui .btn-success { background: #dce6d9 !important; color: #245237 !important; border-color: #afc2ac !important; }
body#hobiart-ui .btn-danger { background: #ecd8d3 !important; color: #853e37 !important; border-color: #c9aaa0 !important; }
body#hobiart-ui .btn-warning { background: #ece0c8 !important; color: #725016 !important; border-color: #cbbb94 !important; }
/* Shared panels, static and dynamically rendered account/CRM content. */
body#hobiart-ui :is(.card,.stat-card,.panel,.summary-card,.dealer-item,.application-item,.acc-panel,.acc-table-shell,.acc-account-group,.acc-summary-card,.acc-supplier-kpi,.acc-kpi,.acc-loan-kpi,.crm-stat,.crm-card,.crm-panel,.manual-card,.manual-panel,.manual-order-box,.form-card,.v8-party-stat,.v8-crm-row,.dealer-history-card,.dealer-history-row,.campaign-list-item,.product-preview-card,.acc-account-card,.acc-expense-group-card,.acc-month-summary>div,.acc-sale-row,.drag-item,.assign-row,.permission-chip) {
  background: #f3eee4 !important; color: #25362e !important; border-color: #d0c9bb !important; box-shadow: var(--shadow) !important;
}
body#hobiart-ui :is(.card,.crm-panel,.acc-panel) p { color: #515c53; }
body#hobiart-ui :is(.card h3,.card h4,.stat-card strong,.card strong,.acc-kpi-value,.acc-summary-card strong,.acc-supplier-kpi strong,.acc-loan-kpi strong,.crm-stat strong,.crm-card-name,.v8-crm-name) { color: #25362e !important; }
body#hobiart-ui :is(.acc-panel-head,.acc-account-group-head,.acc-modal-head,.modal-head,.modal-header,.crm-panel-head,.crm-column-head,.crm-detail-head,.acc-expense-group-head) {
  background: #ece6db !important; color: #25362e !important; border-color: #d0c9bb !important; backdrop-filter: none !important;
}
body#hobiart-ui :is(.acc-kpi-label,.acc-kpi-note,.acc-summary-card span,.acc-supplier-kpi span,.acc-detail-stat span,.dealer-detail-stat span,.v8-party-stat span,.crm-sync-note,.crm-stat span,.crm-last-note,.crm-phone,.crm-tag,.crm-mini span,.crm-history-item small,.crm-card-meta,.acc-nav-label) { color: #515c53 !important; }
body#hobiart-ui :is(.soft-panel,.muted-box,.manual-sku-box,.bulk-toolbar,.manual-customer-picker,.manual-dealer-create,.manual-customer-results,.acc-custom-inline,.acc-report-summary span,.acc-line-total,.acc-report-note,.acc-balance-card,.acc-balance-row,.acc-quick-report,.dealer-detail-summary,.acc-detail-hero,.acc-detail-name,.b2b-transfer-summary,.b2b-locked-sale,.campaign-popup-box,.campaign-toggle,.premium-switch,.campaign-hotspot-help,.campaign-metric,.crm-mini,.crm-history-item,.v8-party-stat.accent) {
  background: #e5e1d5 !important; color: #25362e !important; border-color: #c6c3b7 !important; box-shadow: none !important;
}
body#hobiart-ui :is(.acc-detail-stat,.b2b-transfer-stat,.dealer-detail-stat,.acc-line-card,.acc-line-fields,.acc-mini-stat,.acc-mini-panel,.acc-picker-result,.acc-picker-results,.b2b-map-row) {
  background: #f3eee4 !important; color: #25362e !important; border-color: #d0c9bb !important;
}
body#hobiart-ui :is(.acc-form-actions,.v8-workspace-bar) { background: #e8e2d7 !important; border-color: #c6c3b7 !important; }
body#hobiart-ui :is(.modal,.acc-modal,.crm-modal,.crm-detail,.admin-lock-card,.campaign-hotspot-modal) {
  background: #f3eee4 !important; color: #25362e !important; border-color: #c6c3b7 !important; box-shadow: 0 20px 60px #25362e30 !important;
}
body#hobiart-ui :is(.modal-backdrop,.modal-wrap,.acc-modal-wrap,.crm-detail-wrap,.crm-modal-wrap,.campaign-hotspot-backdrop,.backdrop,.auth-gate,.search-overlay) {
  background: rgba(37,54,46,.55) !important; backdrop-filter: blur(3px) !important;
}
body#hobiart-ui .admin-lock { background: #e8e2d7 !important; }
body#hobiart-ui .acc-loading::after { background: #e5e1d5 !important; color: #25362e !important; }
body#hobiart-ui .acc-archived-row { opacity: 1; color: #515c53; }
body#hobiart-ui :is(table,.table-wrap,.table-shell) { background: #f3eee4 !important; color: #25362e !important; border-color: #d0c9bb !important; }
body#hobiart-ui th { background: #e2ddd0 !important; color: #455146 !important; border-color: #c9c5b8 !important; font-size: 11px !important; }
body#hobiart-ui td { border-color: #d8d2c5 !important; }
body#hobiart-ui :is(td strong,.acc-detail-stat strong,.b2b-transfer-stat strong) { color: #25362e !important; }
body#hobiart-ui tbody tr:hover { background: #e8e4d7 !important; }
body#hobiart-ui .v8-card-table td::before { color: #515c53; }
/* Status colors always have a corresponding light tinted surface. */
body#hobiart-ui :is(.pill,.badge,.acc-pill,.status-pill,.b2b-accounting-chip,.acc-source-badge,.manual-source-badge,.dealer-order-badge,.dealer-history-count,.campaign-safe-chip,.campaign-status,.crm-tag,.application-auto-status,.tier-badge,.cart-campaign-pill,.campaign-price-badge,.saved-list-pill) {
  background: #e2e6d8 !important; color: #3d533c !important; border-color: #bac4ac !important;
}
body#hobiart-ui :is(.acc-pill-paid,.b2b-accounting-chip.ok,.status-paid,.status-approved,.status-completed,.chip.status-done,.acc-installment-status.paid,.campaign-status.live,.application-auto-status.on) {
  background: #dce6d9 !important; color: #245237 !important; border-color: #b6c7b0 !important;
}
body#hobiart-ui :is(.acc-pill-late,.status-rejected,.status-unpaid,.chip.status-cancel,.urgent-badge,.campaign-status.off) {
  background: #ecd8d3 !important; color: #853e37 !important; border-color: #cdb3ab !important;
}
body#hobiart-ui :is(.acc-pill-open,.b2b-accounting-chip.wait,.status-pending,.status-processing,.chip.status-waiting,.chip.status-processing,.acc-installment-status.open,.acc-archived-badge,.crm-alert.warn,.crm-alert.hot,.v8-error-banner,.b2b-diff) {
  background: #ece0c8 !important; color: #725016 !important; border-color: #cebb91 !important;
}
body#hobiart-ui :is(.status-new,.chip.status-new,.special-image-badge,.campaign-status.scheduled,.crm-alert) { background: #dde4e4 !important; color: #285366 !important; border-color: #b4c2c5 !important; }
body#hobiart-ui .chip.status-shipped { background: #e4dfe7 !important; color: #60477b !important; border-color: #c4b8cf !important; }
body#hobiart-ui .acc-positive { color: #245237 !important; }
body#hobiart-ui .acc-negative { color: #853e37 !important; }
body#hobiart-ui .acc-warning { color: #725016 !important; }
/* Admin shell and dashboard. */
body#hobiart-ui.v8-admin .sidebar { background: #ded9ce !important; border-color: #c7c3b6 !important; }
body#hobiart-ui.v8-admin .brand { background: transparent !important; }
body#hobiart-ui.v8-admin .brand h1 { color: #25362e !important; }
body#hobiart-ui.v8-admin :is(.brand p,.sidebar-foot p,.headline p,.v8-sync,.v8-workspace-label) { color: #515c53 !important; }
body#hobiart-ui.v8-admin .sidebar-foot { background: #e9e4d8 !important; border-color: #c7c3b6 !important; }
body#hobiart-ui.v8-admin .nav-btn { color: #425247 !important; font-size: 13px; }
body#hobiart-ui.v8-admin .nav-btn span { background: #d1d6c7 !important; color: #40533e !important; border-color: #b4bda9 !important; }
body#hobiart-ui.v8-admin .nav-btn::before { color: #53644f; }
body#hobiart-ui.v8-admin :is(.nav-btn.active,.nav-btn:hover,.acc-nav-toggle.open) { background: #cddacb !important; color: #234e37 !important; border-color: #b3c3ad !important; }
body#hobiart-ui.v8-admin .acc-nav-toggle { color: #314b39 !important; border-color: #bebdab !important; }
body#hobiart-ui.v8-admin .section .topbar {
  position: relative; top: auto; background: #dedace !important; color: #25362e !important;
  border: 1px solid #c6c3b7 !important; box-shadow: none !important; backdrop-filter: none !important; border-radius: 16px;
}
body#hobiart-ui.v8-admin .headline h2 { color: #25362e !important; line-height: 1.16; }
body#hobiart-ui.v8-admin .headline p { font-size: 13px; }
body#hobiart-ui .v8-app-tabs { background: #d8d9cb; }
body#hobiart-ui .v8-app-tabs button { color: #465445; }
body#hobiart-ui .v8-app-tabs button.active { background: #f3eee4; color: #315d49; }
body#hobiart-ui .light-stat-card { background: #e1dfcf !important; border-color: #c4c3ae !important; box-shadow: none !important; }
body#hobiart-ui .light-stat-card::after { background: #b8c6a8; opacity: .35; }
body#hobiart-ui .light-stat-card strong { color: #25362e !important; }
body#hobiart-ui :is(.light-stat-card span,.metric .label,.metric .mini-note,.dealer-item small,.application-item small) { color: #515c53 !important; }
body#hobiart-ui .metric .value { color: #25362e; }
body#hobiart-ui :is(.map-shell,.dashboard-filter-card) { background: #ece6db !important; border-color: #c6c3b7 !important; }
body#hobiart-ui .map-stage { background: #d9dfd0 !important; border-color: #b9c5ae !important; }
body#hobiart-ui .turkey-outline { filter: none; }
body#hobiart-ui .turkey-outline path { fill: #c3d0b8 !important; stroke: #73866c !important; }
body#hobiart-ui .province-node .node-dot { color: #fff8ec; background: #47653d; border-color: #315d49; box-shadow: none; }
body#hobiart-ui .province-node .node-label { background: #f3eee4; color: #25362e; border-color: #a9b39b; }
body#hobiart-ui :is(.map-kpi,.map-rank-row,.province-btn) { background: #e5e5d8; color: #25362e; border-color: #bcc6b0; }
body#hobiart-ui .map-rank-bar { background: #d1d8c7; }
body#hobiart-ui .map-rank-bar span { background: #5e7b4f; }
body#hobiart-ui :is(.campaign-popup-box p,.campaign-popup-box small,.campaign-toggle small,.campaign-file-picker span,.campaign-popup-box label,.premium-switch small) { color: #515c53 !important; opacity: 1; }
body#hobiart-ui :is(.campaign-file-picker,.dropzone) { background: #e5e7d9 !important; border-color: #8da183 !important; color: #315d49 !important; }
body#hobiart-ui .premium-switch-track { background: #c4c7b9; border-color: #899981; }
body#hobiart-ui .premium-switch input:checked + .premium-switch-track { background: #315d49; border-color: #315d49; }
body#hobiart-ui .premium-switch input:checked + .premium-switch-track::after { background: #fff8ec; }
body#hobiart-ui .campaign-hotspot-stage-shell { background: #d6d1c5; }
body#hobiart-ui .campaign-hotspot-box { color: #fff8ec; text-shadow: 0 1px 3px #000; border-color: #315d49; }
body#hobiart-ui .crm-column { background: #deded0 !important; border-color: #c4c7b7 !important; }
body#hobiart-ui .v8-crm-switch button { background: #f3eee4; color: #315d49; border-color: #b7bbaa; }
body#hobiart-ui .v8-crm-switch button.active { background: #315d49; color: #fff8ec; border-color: #315d49; }
body#hobiart-ui .v8-contact-initial { background: #d7dfcd; color: #3d533c; }
/* Public homepage: no text relies on a transparent fill or pale outline. */
body#hobiart-ui.v8-store .topbar { background: #e8e2d7f5 !important; border-color: #c6c3b7 !important; box-shadow: none !important; }
body#hobiart-ui.v8-store :is(.nav-links a,.nav-link,.brand,.brand small) { color: #344d3c !important; }
body#hobiart-ui.v8-store :is(.eyebrow,.collection-intro .kicker,.hero-note,.hero-scroll,.frame-label,.section-head p,.section-label) { color: #515c53 !important; }
body#hobiart-ui.v8-store :is(.hero,.hero-main,.hero-content,.hero-card,.hero-panel) { background: #e8e2d7 !important; color: #25362e !important; border-color: #c6c3b7 !important; }
body#hobiart-ui.v8-store .hero::after { background: linear-gradient(transparent,#e8e2d7); }
body#hobiart-ui.v8-store .hero-aurora { opacity: .18; }
body#hobiart-ui.v8-store :is(.hero h1,.hero h2,.hero-title,.section-title,.section-head h2,.story h2,.story-card h3) { color: #25362e !important; }
body#hobiart-ui.v8-store .hero h1 .outline { color: #52684c !important; -webkit-text-fill-color: #52684c; -webkit-text-stroke: 0; }
body#hobiart-ui.v8-store .hero h1 .accent { color: #315d49; }
body#hobiart-ui.v8-store :is(.hero p,.hero-sub,.hero-subtitle) { color: #515c53 !important; }
body#hobiart-ui.v8-store .hero-note .line { background: #a8b39b; }
body#hobiart-ui.v8-store .floating-chip { background: #e9e3d7; color: #31533e !important; border-color: #afb99f; backdrop-filter: none; }
body#hobiart-ui.v8-store :is(.marquee-wrap,.marquee,.trust-strip) { background: #ddd9c9 !important; color: #465a3e !important; border-color: #babfab; }
body#hobiart-ui.v8-store .story { background: #ddd7ca; color: #25362e; }
body#hobiart-ui.v8-store .story-card { background: #eee6d8; color: #25362e; border-color: #c5beae; }
body#hobiart-ui.v8-store .story-card:nth-child(2) { background: #d7dfcf; color: #25362e; }
body#hobiart-ui.v8-store .story-card:nth-child(3) { background: #e4d9bf; color: #25362e; }
body#hobiart-ui.v8-store :is(.story-sticky p,.story-card p,.story-card .num) { color: #465248; opacity: 1; }
body#hobiart-ui.v8-store :is(.portal-section,.faq) { background: #e8e2d7; color: #25362e; }
body#hobiart-ui.v8-store :is(.auth-shell,.auth-card,.apply-success-card) { background: #f3eee4 !important; color: #25362e; border-color: #c6c3b7; }
body#hobiart-ui.v8-store .auth-switch { background: #dcdccd; }
body#hobiart-ui.v8-store .auth-chip { color: #465248; }
body#hobiart-ui.v8-store .auth-chip.active { background: #f3eee4; color: #315d49; }
body#hobiart-ui.v8-store :is(.auth-message.success,.auth-message.info) { color: #315d49; }
body#hobiart-ui.v8-store :is(.footer,footer) { background: #d8d4c7 !important; color: #465248 !important; border-color: #bbbdae; }
body#hobiart-ui.v8-store :is(.footer p,.footer a,.footer small) { color: #465248; }
body#hobiart-ui.v8-store .mobile-menu { background: #e8e2d7 !important; color: #25362e; }
body#hobiart-ui.v8-store .mobile-menu a { color: #31533e; }
body#hobiart-ui.v8-store .menu-toggle span { background: #31533e; }
/* Collection photographs keep a deliberate dark overlay and light type. */
body#hobiart-ui.v8-store .collection-card { background: #ddd7ca; color: #fff8ec; }
body#hobiart-ui.v8-store :is(.collection-card h3,.collection-card p,.collection-card span,.collection-card .eyebrow) { color: #fff8ec !important; opacity: 1; }
body#hobiart-ui.v8-store .collection-card .arrow { color: #25362e !important; background: #eee6d8; border-color: #eee6d8; }
/* Catalog, account, saved lists, cart and checkout. */
body#hobiart-ui.v8-store :is(.product-card,.category-card,.account-card,.info-card,.login-card,.apply-card,.catalog-toolbar,.cart-item,.account-order,.hero-pricing-card,.modal-card,.checkout-card,.profile-card,.form-card,.order-card,.success-card,.account-stat,.account-action,.account-section-card,.account-order-card,.saved-list-card,.cart-mini,.mobile-menu-card,.account-security-card) {
  background: #f3eee4 !important; color: #25362e !important; border-color: #c6c3b7 !important; box-shadow: var(--shadow) !important;
}
body#hobiart-ui.v8-store :is(.product-name,.product-title,.price,.product-price,.product-card h3,.account-order-card h3,.modal-title) { color: #25362e !important; }
body#hobiart-ui.v8-store :is(.hero-pricing-card p,.hero-pricing-card small,.product-card p,.product-card small,.product-meta,.product-code,.product-subtitle,.product-desc,.account-sub,.cart-item-meta,.cart-sub,.modal-subtitle,.field-label) { color: #515c53 !important; opacity: 1; }
body#hobiart-ui.v8-store :is(.hero-pricing-card:first-child,.hero-pricing-card.campaign-hero-card,.campaign-savings-card,.account-hero,.iban-card,.guest-cta-banner,.saved-list-create,.account-security-badge) {
  background: #dfe3d2 !important; color: #25362e !important; border-color: #b8c1a8 !important;
}
body#hobiart-ui.v8-store :is(.account-hero h2,.campaign-savings-card strong,.campaign-hero-card h3) { color: #25362e !important; }
body#hobiart-ui.v8-store :is(.hero-tier-item,.stat,.order-item,.detail-line-item,.account-inline-notice,.guest-lock-note,.status-note,.status-line) { background: #e5e4d6; color: #465248; border-color: #c5c7b5; }
body#hobiart-ui.v8-store :is(.drawer,.cart-drawer,.cart-panel,.checkout-modal,.product-modal,.account-modal,.search-panel,.auth-gate-card) { background: #f3eee4 !important; color: #25362e !important; border-color: #c6c3b7 !important; }
body#hobiart-ui.v8-store :is(.cart-header,.cart-footer,.modal-footer,.account-tabs,.account-tabs.premium-tabs) { background: #e5e0d3 !important; color: #25362e; border-color: #c6c3b7 !important; }
body#hobiart-ui.v8-store .toolbar::before { background: #e8e2d7f5; }
body#hobiart-ui.v8-store :is(.chip,.category-chip,.tab-btn,.account-tab) { background: #e5e2d5 !important; color: #465248 !important; border-color: #bcc2ae !important; }
body#hobiart-ui.v8-store :is(.chip.active,.category-chip.active,.tab-btn.active,.account-tab.active) { background: #315d49 !important; color: #fff8ec !important; border-color: #315d49 !important; }
body#hobiart-ui.v8-store :is(.qty-control,.qty,.qty-btn,.stepper) { background: #e9e4d8 !important; color: #31533e !important; border-color: #b6bea7 !important; }
body#hobiart-ui.v8-store :is(.stepper button,.text-link,.tier-badge,.tier-badge.highlight) { color: #31533e !important; }
body#hobiart-ui.v8-store :is(.floating-badge,.campaign-corner-badge,.campaign-hero-top>span,.cart-pill .count) { background: #dde5d3; color: #31533e !important; border-color: #9dae8e; }
body#hobiart-ui.v8-store .account-action.primary { background: #315d49 !important; color: #fff8ec !important; }
body#hobiart-ui.v8-store :is(.cart-pill.cart-added-feedback,#mobileOpenCartBtn.cart-added-feedback,[data-add-cart].is-added-feedback,#detailAddCartBtn.is-added-feedback) { background: #dce6d9 !important; color: #245237 !important; border-color: #a9bea1 !important; }
/* Do not turn transparent campaign image hit areas into visible buttons. */
body#hobiart-ui.v8-store .campaign-popup-hit { color: transparent !important; background: transparent !important; }
@media(max-width:960px) {
  body#hobiart-ui.v8-admin .sidebar { background: #ded9ce !important; }
  body#hobiart-ui.v8-admin .nav { display: grid !important; overflow-x: visible; }
  body#hobiart-ui.v8-admin .nav-btn { white-space: normal; }
}
@media(max-width:760px) {
  body#hobiart-ui.v8-store .hero:has(.canvas-stage) { padding-top: 116px; }
  body#hobiart-ui.v8-store .hero-note { line-height: 1.7; }
  body#hobiart-ui.v8-admin :is(.campaign-admin-grid,.campaign-popup-grid) { grid-template-columns: minmax(0,1fr) !important; }
  body#hobiart-ui.v8-admin :is(.campaign-editor-card,.campaign-history-card,.campaign-popup-box) { min-width: 0; }
  body#hobiart-ui.v8-admin .campaign-hotspot-backdrop { padding: 8px; }
}
body#hobiart-ui :is(.empty,.crm-empty,.acc-empty,.v8-error-banner) { overflow-wrap: anywhere; }
/* Disabled actions stay legible; border and cursor indicate availability. */
body#hobiart-ui:is(.v8-admin,.v8-store) button:disabled {
  opacity: 1 !important; cursor: not-allowed; background: #e2ddd0 !important;
  color: #515c53 !important; border: 1px dashed #a8b09a !important;
}
@media print { body#hobiart-ui { background: #fff !important; color: #111 !important; } }
