/* idx03 readability pass: increase contrast without changing layout. */
:root {
  --idx03-text: #111827;
  --idx03-muted: #374151;
  --idx03-soft: #4b5563;
  --idx03-link: #0b5fcc;
  --idx03-link-dark: #064b9b;
  --idx03-on-dark: #ffffff;
  --idx03-on-dark-muted: #f1f5f9;

  --color-text: #111827;
  --color-text-light: #374151;
  --color-text-lighter: #4b5563;
  --color-border: #cbd5e1;
}

html,
body {
  color: var(--idx03-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body,
p,
li,
dd,
td,
th,
summary,
details,
figcaption,
span,
div {
  color: inherit;
}

main,
main section,
main article,
main aside {
  color: var(--idx03-text);
}

p,
li,
dd,
td,
summary,
figcaption,
.input_c791,
.box-dd93,
.glass-400d span,
.fast-f960,
.secondary-black-d8a7,
.fresh_c898,
.inner-424d,
.banner_stone_8039,
.modal-02f7,
.box-72fd,
.info-c1dd {
  color: var(--idx03-muted) !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
strong,
dt,
label,
.component_next_71cf,
.button_f4d6 {
  color: var(--idx03-text) !important;
}

a {
  color: var(--idx03-link);
}

a:hover,
a:focus {
  color: var(--idx03-link-dark);
}

/* The idx03 body is mostly light; keep section text dark by default. */
.advanced-3805,
.upper_281e,
.section_solid_1c2c,
.down_cae5,
.dynamic_9f36,
.text-de76 {
  color: var(--idx03-text) !important;
}

.advanced-3805 :is(p, span, li, div, h1, h2, h3, h4),
.upper_281e :is(p, span, li, div, h1, h2, h3, h4),
.section_solid_1c2c :is(p, span, li, div, h1, h2, h3, h4),
.down_cae5 :is(p, span, li, div, h1, h2, h3, h4),
.dynamic_9f36 :is(p, span, li, div, h1, h2, h3, h4),
.text-de76 :is(p, span, li, div) {
  color: var(--idx03-text) !important;
}

.advanced-3805 :is(.input_c791, .glass-400d span, .secondary-black-d8a7),
.section_solid_1c2c :is(.fast-f960, .inner-424d),
.upper_281e :is(p, li),
.dynamic_9f36 :is(p, li),
.down_cae5 :is(p, li) {
  color: var(--idx03-muted) !important;
}

.advanced-3805 a,
.upper_281e a,
.section_solid_1c2c a,
.down_cae5 a,
.dynamic_9f36 a {
  color: var(--idx03-link) !important;
  text-decoration-color: rgba(11, 95, 204, 0.45);
}

.advanced-3805 [style*="background: white"],
.advanced-3805 [style*="background:#fff"],
.advanced-3805 [style*="background: #fff"],
.upper_281e [style*="background: white"],
.upper_281e [style*="background:#fff"],
.upper_281e [style*="background: #fff"],
.section_solid_1c2c [style*="background: white"],
.section_solid_1c2c [style*="background:#fff"],
.section_solid_1c2c [style*="background: #fff"],
.down_cae5 [style*="background: white"],
.down_cae5 [style*="background:#fff"],
.down_cae5 [style*="background: #fff"] {
  color: var(--idx03-text) !important;
}

.advanced-3805 [style*="background: white"] *,
.advanced-3805 [style*="background:#fff"] *,
.advanced-3805 [style*="background: #fff"] *,
.upper_281e [style*="background: white"] *,
.upper_281e [style*="background:#fff"] *,
.upper_281e [style*="background: #fff"] *,
.section_solid_1c2c [style*="background: white"] *,
.section_solid_1c2c [style*="background:#fff"] *,
.section_solid_1c2c [style*="background: #fff"] *,
.down_cae5 [style*="background: white"] *,
.down_cae5 [style*="background:#fff"] *,
.down_cae5 [style*="background: #fff"] * {
  color: inherit !important;
}

.advanced-3805 [style*="rgba(255,255,255,0.1)"],
.advanced-3805 [style*="rgba(255, 255, 255, 0.1)"],
.advanced-3805 [style*="rgba(255,255,255,0.15)"],
.advanced-3805 [style*="rgba(255, 255, 255, 0.15)"],
.upper_281e [style*="rgba(255,255,255,0.1)"],
.upper_281e [style*="rgba(255, 255, 255, 0.1)"],
.upper_281e [style*="rgba(255,255,255,0.15)"],
.upper_281e [style*="rgba(255, 255, 255, 0.15)"] {
  background: rgba(15, 23, 42, 0.24) !important;
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.notice_f002,
header.popup-922d {
  background: rgba(255, 255, 255, 0.99) !important;
  color: var(--idx03-text) !important;
}

.notice_f002 *,
header.popup-922d * {
  color: var(--idx03-text) !important;
}

.feature-cd0f,
.card_cc7e,
.background_short_8169 {
  color: var(--idx03-text) !important;
}

.detail_fe63 {
  background: #ffffff !important;
  border: 1px solid #d7dde8 !important;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.16) !important;
}

.detail_fe63 a,
.detail_fe63 button {
  color: var(--idx03-text) !important;
}

.element-tiny-6001:not([style*="background: white"]):not([style*="background:#fff"]):not([style*="background: #fff"]),
.plasma-e78a:not([style*="background: white"]):not([style*="background:#fff"]):not([style*="background: #fff"]) {
  color: #ffffff !important;
}

.element-tiny-6001,
.element-tiny-6001 *,
.outline_f9a4,
.outline_f9a4 *,
.plasma-e78a,
.plasma-e78a *,
.footer-4c2a,
.footer-4c2a * {
  color: #ffffff !important;
}

.header_smooth_9140,
.header_smooth_9140 * {
  color: var(--idx03-link) !important;
}

.header_smooth_9140:hover,
.header_smooth_9140:hover * {
  color: #ffffff !important;
}

.footer-4c2a,
.footer-4c2a *,
.box-fresh-a30d,
.box-fresh-a30d * {
  color: #ffffff !important;
}

.secondary-0d4b {
  background: #111827 !important;
  color: #f8fafc !important;
}

.secondary-0d4b p,
.secondary-0d4b li,
.secondary-0d4b span,
.secondary-0d4b div,
.secondary-0d4b a {
  color: #e5e7eb !important;
}

.secondary-0d4b h1,
.secondary-0d4b h2,
.secondary-0d4b h3,
.secondary-0d4b h4,
.secondary-0d4b strong {
  color: #ffffff !important;
}

[style*="color: #666"],
[style*="color:#666"] {
  color: var(--idx03-muted) !important;
}

[style*="color: #999"],
[style*="color:#999"] {
  color: var(--idx03-soft) !important;
}

[style*="opacity: 0.8"],
[style*="opacity:.8"],
[style*="opacity:0.8"],
[style*="opacity: 0.7"],
[style*="opacity:.7"],
[style*="opacity:0.7"] {
  opacity: 1 !important;
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  p,
  li,
  dd {
    line-height: 1.75;
  }
}

/* Final high-contrast override for this skin. Keep the page readable first. */
body {
  background: #ffffff !important;
  color: #111827 !important;
}

body main,
body main section,
body main article,
body main aside,
body main div:not(.pro-d8a0):not(.accordion-915f):not(.white_80f1):not(.block_9c8d),
body main p,
body main li,
body main span:not(.shadow_bright_92ee):not(.white_80f1):not(.accordion-915f):not(.block_9c8d),
body main td,
body main th,
body main dd,
body main summary,
body main figcaption,
body main em,
body main small {
  color: #111827 !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

body main p,
body main li,
body main dd,
body main summary,
body main figcaption,
body main .box-dd93,
body main .input_c791,
body main .modal-02f7,
body main .fast-f960,
body main .secondary-black-d8a7,
body main .glass-400d span,
body main .small_ed2e,
body main .pagination_8105 {
  color: #1f2937 !important;
}

body main h1,
body main h2,
body main h3,
body main h4,
body main h5,
body main h6,
body main strong,
body main label {
  color: #0f172a !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

body main a:not(.element-tiny-6001):not(.footer-4c2a):not(.box-fresh-a30d):not(.outline_f9a4):not(.plasma-e78a) {
  color: #064b9b !important;
  opacity: 1 !important;
  text-decoration-color: rgba(6, 75, 155, 0.5) !important;
}

.advanced-3805,
.section_solid_1c2c,
.upper_281e,
.dynamic_9f36,
.down_cae5,
.logic_0451,
.detail_5e58,
.control_8dd5,
.transition_193f,
.sort_9c42,
.main-west-14b6,
.cold-2f45,
.right-9bee,
.number-c3ed,
.post_0994,
.box_c3ea,
.feature_4070,
.item_0ab2,
.content_6ad8,
.card_7bb1,
.table_selected_0e36,
.smooth-b88a,
.detail_ef02 {
  background-color: #ffffff !important;
  color: #111827 !important;
}

.upper_281e,
.dynamic_9f36,
.down_cae5,
.section_solid_1c2c,
.text-de76 {
  background: #f8fafc !important;
}

.advanced-3805 {
  background: #ffffff !important;
}

.element-tiny-6001,
.element-tiny-6001 *,
.outline_f9a4,
.outline_f9a4 *,
.plasma-e78a,
.plasma-e78a *,
.footer-4c2a,
.footer-4c2a *,
.box-fresh-a30d,
.box-fresh-a30d *,
.pro-d8a0,
.pro-d8a0 *,
.static-c4b3,
.static-c4b3 *,
.accordion-915f,
.white_80f1,
.block_9c8d,
.sort_upper_f548,
.sort_upper_f548 *,
.tag_1211,
.tag_1211 *,
.card_3b32,
.card_3b32 *,
.avatar_focused_e348,
.avatar_focused_e348 *,
.tag_1088,
.tag_1088 *,
.action-0299,
.action-0299 *,
.header_blue_4acf,
.header_blue_4acf *,
.notification_hard_69ea,
.notification_hard_69ea *,
.header-current-b0aa,
.header-current-b0aa *,
.column_383c,
.column_383c *,
.highlight-fd5f,
.highlight-fd5f *,
.gradient_b11f,
.gradient_b11f * {
  color: #ffffff !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

.header_smooth_9140,
.header_smooth_9140 *,
.light-430e,
.light-430e * {
  color: #064b9b !important;
}

.header_smooth_9140:hover,
.header_smooth_9140:hover *,
.light-430e:hover,
.light-430e:hover * {
  color: #ffffff !important;
}

.secondary-0d4b,
.secondary-0d4b *,
footer.secondary-0d4b,
footer.secondary-0d4b * {
  color: #f8fafc !important;
  opacity: 1 !important;
}

header.popup-922d,
header.popup-922d *,
.detail_fe63,
.detail_fe63 * {
  color: #111827 !important;
  opacity: 1 !important;
}

.photo-b24f,
.photo-b24f *,
pre,
pre *,
code,
code * {
  color: #f8fafc !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

code:not(.photo-b24f code):not(pre code) {
  background: #111827 !important;
  color: #f8fafc !important;
  padding: 0.12em 0.35em;
  border-radius: 4px;
}

.photo-b24f .overlay-b2d7,
.photo-b24f .overlay-b2d7 * {
  color: #93c5fd !important;
}

/* Buttons inside colorful cards are light cards, so keep their text colored. */
.card_3b32 .element-tiny-6001,
.card_3b32 .element-tiny-6001 * {
  color: #4f46e5 !important;
}

.avatar_focused_e348 .element-tiny-6001,
.avatar_focused_e348 .element-tiny-6001 * {
  color: #db2777 !important;
}
