/* Domestic pages reuse site.css and production-website.css without changing their layout.
   These overrides add only the domestic display preferences and light palette. */
html:has([data-domestic-page]),body.domestic-documents { background:light-dark(#f8f6fb,#08060d); }
body.domestic-documents { color:light-dark(#251c35,#f2ecfa); }
#lq-site[data-domestic-page] { --site-bg:light-dark(#f8f6fb,#08060d); --site-paper:light-dark(#fff,#140d1d); --site-ink:light-dark(#251c35,#f2ecfa); --site-muted:light-dark(#675a75,#ab9ab9); --site-line:light-dark(#e1d8e9,#2e213b); --site-brand:light-dark(#7946bc,#c494f0); --site-soft:light-dark(#eee7f5,#251634); --site-on:light-dark(#fff,#170c25); --site-hover:light-dark(#e9def4,#301d42); }
#lq-site[data-domestic-page] .st-nav-links>a[aria-current="page"] { text-decoration:underline; text-underline-offset:5px; }
#lq-site[data-domestic-page] .domestic-theme-control { display:inline-flex; flex-wrap:wrap; align-items:center; gap:10px; font-size:14px; min-width:0; }
#lq-site[data-domestic-page] .domestic-theme-control select { font:inherit; color:var(--site-ink); background:var(--site-paper); border:1px solid var(--site-line); border-radius:8px; min-height:40px; max-width:100%; padding:7px 10px; }
#lq-site[data-domestic-page] .domestic-theme-control select:hover { border-color:var(--site-brand); }
#lq-site[data-domestic-page] .domestic-theme-control select:active { background:var(--site-soft); }
#lq-site[data-domestic-page] .domestic-theme-control select:focus-visible { outline:2px solid var(--site-brand); outline-offset:3px; }
#lq-site[data-domestic-page] .pw-section-copy { user-select:text; }
#lq-site[data-domestic-page] .public-inline-links { line-height:1.85; }
#lq-site[data-domestic-page] [data-catalog-status][data-state="error"] { color:light-dark(#a63e43,#f3a4a4); }
/* Existing website controls use fixed dark colors. Their light surfaces keep the same roles. */
html[data-theme="light"] #lq-site[data-domestic-page] .st-nav::after { background:var(--site-line); }
html[data-theme="light"] #lq-site[data-domestic-page] :is(.st-nav-links>a,[data-language-picker]>.lb-language-trigger) { color:var(--site-muted); }
html[data-theme="light"] #lq-site[data-domestic-page] .st-nav-links>a:hover { color:var(--site-brand); }
html[data-theme="light"] #lq-site[data-domestic-page] .st-nav-links>a.v7-nav-web { color:#61398b; background:#ede3f7; border-color:#bca3d4; box-shadow:none; }
html[data-theme="light"] #lq-site[data-domestic-page] .st-nav-links>a.v7-nav-web:hover { color:#4c246f; background:#e3d4f1; border-color:#966ebc; }
html[data-theme="light"] #lq-site[data-domestic-page] .v7-nav-toggle { color:var(--site-ink); background:var(--site-paper); border-color:var(--site-line); }
html[data-theme="light"] #lq-site[data-domestic-page] .st-btn { color:#61398b; background:#f4edf9; border-color:#c9b6dc; }
html[data-theme="light"] #lq-site[data-domestic-page] .st-btn:hover { background:#eaddf5; border-color:#9970bf; }
html[data-theme="light"] #lq-site[data-domestic-page] .st-btn:active { background:#e2d0f0; }
html[data-theme="light"] #lq-site[data-domestic-page] .st-btn.primary { color:#fff; background:#7946bc; border-color:#7946bc; box-shadow:0 4px 24px #7946bc20; }
html[data-theme="light"] #lq-site[data-domestic-page] .st-btn.primary:hover { color:#fff; background:#8752cb; border-color:#8752cb; }
html[data-theme="light"] #lq-site[data-domestic-page] .st-btn.primary:active { color:#fff; background:#6d3aa9; border-color:#6d3aa9; }
html[data-theme="light"] #lq-site[data-domestic-page] .st-footer { color:var(--site-muted); border-color:var(--site-line); }
html[data-theme="light"] #lq-site[data-domestic-page] .st-footer a:hover { color:var(--site-brand); }
html[data-theme="light"] body.domestic-documents>.lb-language-menu { background:#fff!important; color:#251c35!important; border-color:#d8cbe6!important; }
html[data-theme="light"] body.domestic-documents>.lb-language-menu>button:hover { background:#f1eafa!important; border-color:#dacbea!important; }
html[data-theme="light"] body.domestic-documents>.lb-language-menu>button[aria-selected="true"] { background:#e9def5!important; color:#5c3384!important; border-color:#bfa6d8!important; }
