/* FINAF 0.1.3: only the two rewritten articles; no image or content replacements. */
html[data-finaf-theme="dark"] body:is(.postid-2215,.postid-1948) .affin-article-header h1 { color:#f0f8f7 !important; }
html[data-finaf-theme="dark"] body:is(.postid-2215,.postid-1948) .affin-article-cat { color:#79dfca !important; }
html[data-finaf-theme="dark"] body:is(.postid-2215,.postid-1948) :is(.affin-byline,.affin-breadcrumb) :is(span,strong,time) { color:#b8cbd0 !important; }
body:is(.postid-2215,.postid-1948) .affin-article-content {
  --nov14-text:#243632; --nov14-heading:#0b1f33; --nov14-link:#087765;
  --nov14-soft:#e7f4f0; --nov14-panel:#f8fafc; --nov14-line:#c7ded8;
}
html[data-finaf-theme="dark"] body:is(.postid-2215,.postid-1948) .affin-article-content {
  --nov14-text:#dceae9; --nov14-heading:#f0f8f7; --nov14-link:#79dfca;
  --nov14-soft:#142f3a; --nov14-panel:#102731; --nov14-line:#35535c;
}
body:is(.postid-2215,.postid-1948) :is(.affin-article-layout,.affin-article-layout > *,.affin-article-content > *),
body.postid-2215 :is(.finaf-otp-guide,.finaf-otp-wrap,.finaf-otp-hero,.finaf-otp-article),
body.postid-1948 .finaf-statement {
  min-width:0; max-width:100%; box-sizing:border-box;
}
/* The template excerpt is already shown below the page title; retain the original authored summary. */
body:is(.postid-2215,.postid-1948) .affin-article-content > .affin-article-summary { display:none; }

body.postid-1948 .finaf-statement {
  --f-bg:transparent; --f-text:var(--nov14-text); --f-heading:var(--nov14-heading);
  --f-green:var(--nov14-link); --f-teal:var(--nov14-link);
  --f-soft:var(--nov14-soft); --f-line:var(--nov14-line);
  background:transparent !important; color:var(--nov14-text) !important;
}
body.postid-1948 .finaf-statement * { box-sizing:border-box; }
body.postid-2215 :is(.finaf-otp-guide,.finaf-otp-hero,.finaf-otp-article) {
  background:transparent !important; color:var(--nov14-text) !important;
}
html:root body:is(.postid-2215,.postid-1948) .affin-article-content :is(.finaf-otp-guide,.finaf-statement) :is(p,li,span,strong,b,em,caption) {
  color:var(--nov14-text) !important;
}
html:root body:is(.postid-2215,.postid-1948) .affin-article-content :is(.finaf-otp-guide,.finaf-statement) :is(h2,h3,h4) {
  color:var(--nov14-heading) !important;
}
html:root body:is(.postid-2215,.postid-1948) .affin-article-content :is(.finaf-otp-guide,.finaf-statement) a {
  color:var(--nov14-link) !important; text-underline-offset:3px;
}
body.postid-2215 :is(.finaf-otp-summary,.finaf-otp-calcbox) {
  background:var(--nov14-soft) !important; border-color:var(--nov14-line) !important;
}
body.postid-2215 :is(.finaf-otp-note,.finaf-otp-faq) {
  background:var(--nov14-panel) !important; border-color:var(--nov14-line) !important;
}
html:root body.postid-2215 .affin-article-content .finaf-otp-article h2 {
  color:#ffffff !important; background:linear-gradient(90deg,#0b1f33,#087765) !important;
}
html:root body.postid-2215 .affin-article-content .finaf-otp-article h3 {
  color:var(--nov14-heading) !important; background:var(--nov14-soft) !important;
}
html:root body.postid-2215 .affin-article-content .finaf-otp-faq h3 { background:transparent !important; }
body.postid-2215 .finaf-otp-closing { --nov14-text:#e7f4f0; --nov14-heading:#ffffff; }
html:root body.postid-2215 .affin-article-content .finaf-otp-closing h2 { background:transparent !important; color:#79dfca !important; }
html[data-finaf-theme="dark"] body.postid-2215 .finaf-otp-security-warning {
  --nov14-text:#ffd4d4; background:#3b2029 !important; border-color:#ed9b9b !important;
}
body.postid-2215 .finaf-otp-intro,
body.postid-2215 .finaf-otp-intro span {
  font-size:1rem !important; line-height:2 !important; font-weight:400 !important;
  margin:0 0 1.1em !important;
}
body.postid-2215 .finaf-otp-guide :is(.finaf-otp-hero > .finaf-otp-wrap,.finaf-otp-article,.finaf-otp-footer) {
  padding-inline:0 !important;
}
body:is(.postid-2215,.postid-1948) .affin-article-content div[style*="overflow-x: auto"],
body.postid-2215 .finaf-otp-table-wrap {
  min-width:0; max-width:100%; width:100%; box-sizing:border-box;
  overflow-x:auto; overscroll-behavior-x:contain;
}
html[data-finaf-theme="dark"] body:is(.postid-2215,.postid-1948) .affin-article-content table :is(th,td) {
  background:#102731 !important; color:#e7f4f0 !important; border-color:#35535c !important;
}
html[data-finaf-theme="dark"] body:is(.postid-2215,.postid-1948) .affin-article-content table th {
  background:#173a46 !important;
}
@media(max-width:900px) {
  body:is(.postid-2215,.postid-1948) .affin-article-layout { grid-template-columns:minmax(0,1fr); }
}
@media(max-width:700px) {
  body:is(.postid-2215,.postid-1948) .affin-article-content :is(p,li) { text-align:right !important; }
  body:is(.postid-2215,.postid-1948) .affin-article-content :is(h2,h3,h4,a) { overflow-wrap:anywhere; }
  body:is(.postid-2215,.postid-1948) .affin-article-content table { min-width:550px !important; }
  body.postid-1948 .finaf-statement table { min-width:610px !important; }
}
