/* Shared color system for the four sourcing sections. Loaded after local layouts. */
body.qifu-editorial {
  --bg:#fcfbf8; --bg-alt:#edf1e9; --text:#243f37; --text-sub:#58675e;
  --accent:#294d40; --accent-dk:#173b2e; --line:#dce1d6;
  --gold:#af8f55; --radius:4px;
  --theme-paper:#f3f0e7; --theme-soft:#edf1e9; --theme-white:#fffefa;
  background:var(--bg); color:var(--text);
}
body.qifu-editorial .site-header {background:#fffefa;border-bottom-color:#e5e6df}
body.qifu-editorial .site-footer {background:#f5f3ec;border-top-color:#e1e4da}
body.qifu-editorial .nav-logo {color:#294d40}
body.qifu-editorial .nav-logo-img {filter:none}
body.qifu-editorial .nav-links a {color:#36584b}
body.qifu-editorial .nav-links a:hover {color:#173b2e!important}
body.qifu-editorial .dropdown {background:#fffefa;border-color:#dce1d6}
body.qifu-editorial .dropdown a:hover {background:#edf1e9}
body.qifu-editorial .nav-toggle span {background:#294d40}
body.qifu-editorial main :is(h1,h2,h3,h4) {color:#243f37}
body.qifu-editorial main :is(p,figcaption,dd,td) {color:#58675e}
body.qifu-editorial main a:not(.btn) {color:#365b48;text-decoration-color:#af8f55}
body.qifu-editorial .breadcrumb,body.qifu-editorial .breadcrumb a {color:#657369}
body.qifu-editorial .btn {border-radius:4px}
body.qifu-editorial .btn.btn--primary {background:#294d40;border-color:#294d40;color:#fffefa;box-shadow:0 4px 12px rgb(29 63 47 / 8%)}
body.qifu-editorial .btn.btn--primary:hover {background:#173b2e;border-color:#173b2e;color:#fffefa;opacity:1}
body.qifu-editorial .btn:is(.btn--outline,.btn--secondary) {background:transparent;border-color:#aebdac;color:#294d40}
body.qifu-editorial .btn:is(.btn--outline,.btn--secondary):hover {background:#e4ebdc;border-color:#82967b;color:#173b2e;opacity:1}
body.qifu-editorial :focus-visible {outline-color:#527348}
body.qifu-editorial .theme-hero {background:radial-gradient(ellipse at 80% 0%,#e9e5d6 0,transparent 55%),linear-gradient(110deg,#f8f6ef,#efecdf);border-bottom:1px solid #e1e4d8}
body.qifu-editorial .theme-paper {background:#f3f0e7}
body.qifu-editorial .theme-soft {background:#edf1e9}
body.qifu-editorial :is([class$="-kicker"],[class$="-number"]) {color:#596d50}
body.qifu-editorial :is([class$="-card"]:not(.qt-direct-card),.about-step,.mf-product,.guide-card) {background:#fffefa;border-color:#dce1d6;border-radius:10px}
body.qifu-editorial :is(input,select,textarea) {background:#fffefa;color:#243f37;border-color:#c7d1c0;accent-color:#294d40}
body.qifu-editorial :is(input,textarea)::placeholder {color:#67735f;opacity:1}
body.qifu-editorial :is(th,.field label) {color:#36533f}
body.qifu-editorial th {background:#edf1e9}
body.qifu-editorial :is(.about-bar,.mf-bar,.guide-dock,.ci-bar,.q-bar,.ld-dock,.persistent-bar,.inquiry-dock) {background:#f5f3ec;color:#36533f;border-color:#dce1d6}
/* Deep green closing bands echo the reference quote page. */
body.qifu-editorial .theme-close {background:#28483a;border-color:#28483a;color:#fbf8ed;border-radius:4px}
body.qifu-editorial .theme-close :is(h2,h3,h4) {color:#fbf8ed}
body.qifu-editorial .theme-close :is(p,li,dd,dt,figcaption,address,span) {color:#d0d9cb}
body.qifu-editorial .theme-close a:not(.btn) {color:#e7dfba;text-decoration-color:#b5aa76}
body.qifu-editorial .theme-close .btn.btn--primary {background:#e7d9a8;border-color:#e7d9a8;color:#28483a}
body.qifu-editorial .theme-close .btn.btn--primary:hover {background:#f1e5bf;border-color:#f1e5bf}
body.qifu-editorial .theme-close .btn:is(.btn--outline,.btn--secondary) {color:#fbf8ed;border-color:#9aa88b}
body.qifu-editorial .theme-close .btn:is(.btn--outline,.btn--secondary):hover {background:#365a46}
body.qifu-editorial .brief-action {background:#294d40;color:#fffefa;border-radius:8px}
body.qifu-editorial .brief-action :is(p,h3,a:not(.btn)) {color:#fffefa}
/* Preserve the existing dark bands on the four section landing pages. */
body.qifu-editorial :is(.cp-facts,.dj-facts,.rs-facts,.qt-contact-card,.cp-contact,.dj-contact,.rs-contact,.qt-direct-close) :is(h2,h3,strong) {color:#fbf8ed}
body.qifu-editorial :is(.cp-facts,.dj-facts,.rs-facts,.qt-contact-card,.cp-contact,.dj-contact,.rs-contact,.qt-direct-close) :is(p,span) {color:#d0d9cb}
body.qifu-editorial :is(.cp-contact,.dj-contact,.rs-contact,.qt-direct-close) a:not(.btn) {color:#e7dfba}
body.qifu-editorial :is(.cp-contact,.dj-contact,.rs-contact,.qt-direct-close) .btn.btn--primary {background:#e7d9a8;border-color:#e7d9a8;color:#28483a}
/* Readable small labels, retaining muted green and gold accents. */
body.qifu-editorial :is(.cp-process-detail,.cp-process-detail strong,.cp-document-number,.cp-guide-grid>a>span,.qt-optional,.qt-route-number,.qt-banner-icon,.dj-card-index,.dj-sketch-note,.dj-art-mark,.rs-cover-label,.rs-guide-art>span) {color:#5d7054}
body.qifu-editorial :is(.qt-details-title>span:first-child,.qt-aside-note li>span,.rs-feature-list li>span) {color:#796437}
body.qifu-editorial .rs-topic-number {color:#8b7442}
body.qifu-editorial .qt-aside-figure figcaption {color:#5d7054}
body.qifu-editorial .qt-direct-card {background:#28483a}
body.qifu-editorial .qt-direct-card :is(h2,strong) {color:#fbf8ed}
body.qifu-editorial .qt-direct-card a:not(.btn) {color:#e7dfba}
body.qifu-editorial .qt-page .qt-details .qt-optional {color:#5d7054}
body.qifu-editorial .qt-page .qt-details .qt-details-title>span:first-child {color:#796437}
body.qifu-editorial .qt-page .qt-fieldset legend>span {color:#796437}
body.qifu-editorial .cp-page .cp-process-card .cp-process-detail {color:#5d7054}
body.qifu-editorial :is(.theme-close,.cp-contact,.dj-contact,.rs-contact,.qt-direct-close) .btn span {color:inherit}
body.qifu-editorial .dc-floating-cta {background:#294d40;border-color:#dce1d6;box-shadow:0 4px 12px rgb(29 63 47 / 8%)}
body.qifu-editorial :is(.dc-index,.dc-wordmark,.dc-wordmark span) {color:#36584b}
body.qifu-editorial .site-footer :is(p,a,h4,.footer-bottom) {color:#58675e}
body.qifu-editorial .skip-link {background:#fffefa;color:#294d40}
body.qifu-editorial .inquiry-dock a {color:#36584b}
