/* Color themes are explicit; layout and image pixels do not depend on the theme. */
:root{--community-strip:#d6e3ee;--community-hover:#dce8f1;--community-active:#cbdde9;--community-icon-edge:#a8c0d2;--community-icon-bg:#d7e5f0;--community-toolbar:#e2ecf3}
html[data-theme=light]{color-scheme:light}
html[data-theme=dark]{color-scheme:dark;--bg:#14151b;--panel:#1c1d26;--surface:#242530;--text:#eef0f6;--muted:#a7a9ba;--line:#3b3d4e;--blue:#b2a5f3;--pale:#333142;--navy:#171820;--glass:#1c1d26;--edge:#353643;--divider:#343542;--community-strip:#272735;--community-hover:#242532;--community-active:#2b2838;--community-icon-edge:#464054;--community-icon-bg:#302b3b;background:#14151b;color:var(--text)}
html[data-theme=dark] body{background:#14151b;color:var(--text)}
html[data-theme=dark]{--community-toolbar:#20212b}
html[data-theme=dark] .masthead{background:#1a1b24;border-bottom:1px solid #30313e}
html[data-theme=dark] .masthead-caption{border-color:#3b3d4d}
html[data-theme=dark] .brand-copy>span,html[data-theme=dark] .masthead-caption span{color:#b2b4c8}
html[data-theme=dark] .main-nav{background:rgba(27,28,37,.97);border-color:#363745;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
html[data-theme=dark] .main-nav a{color:#b9bbcc}
html[data-theme=dark] .main-nav a:hover{background:#282936;color:#f0eefb}
html[data-theme=dark] .main-nav a[aria-current=location]{background:#333044;border-color:#4c4566;box-shadow:none;color:#e5dcff}
html[data-theme=dark] .nav-toggle{background:#242530;border-color:#3c3e4f;color:#eef0f6}
html[data-theme=dark] .button{background:#2b2c39;border-color:#454756;color:#e8e9f2;box-shadow:none}
html[data-theme=dark] .button:hover{background:#38394a;color:#fff;box-shadow:none}
html[data-theme=dark] .button-primary{background:#7761af;border-color:#9380c6;color:#fff}
html[data-theme=dark] .button-primary:hover{background:#866fc0;border-color:#aa95dc}
html[data-theme=dark] :is(a,button,summary):focus-visible{outline-color:#c6b5ff}
html[data-theme=dark] .skip-link{background:#2b2c39;color:#fff}
html[data-theme=dark] .panel{box-shadow:none}
html[data-theme=dark] .panel-heading{background:#252531}
html[data-theme=dark] .panel-heading .fa-icon,html[data-theme=dark] .guide-nav>a>.fa-icon,html[data-theme=dark] .faq-list>details>summary>.fa-icon{color:#b8a8e5}
html[data-theme=dark] .section-index,html[data-theme=dark] .support-mark,html[data-theme=dark] .department-code{background:#302b3b;border-color:#51445e;color:#cfbaef}
html[data-theme=dark] .department-row:hover{background:#242532}
html[data-theme=dark] .text-link,html[data-theme=dark] .notice-strip>a,html[data-theme=dark] .download-tag,html[data-theme=dark] .checksum-panel>summary{color:#cdb8f3;text-decoration-color:#b29bdc88}
html[data-theme=dark] .text-link:hover,html[data-theme=dark] .notice-strip>a:hover{color:#e1d0ff}
html[data-theme=dark] .notice-strip,html[data-theme=dark] .section-tail,html[data-theme=dark] .about-group .notice-strip,html[data-theme=dark] .guide-layout>.notice-strip{background:#22222d}
html[data-theme=dark] .home-sidebar .connection-panel{background:transparent}
html[data-theme=dark] .server-display{background:#171d2b;border-color:#3e4354}
html[data-theme=dark] .file-icon{background:#66548f;border-color:#a696bd}
html[data-theme=dark] .checksum-panel code,html[data-theme=dark] .settings-reference-title{background:#282734}
html[data-theme=dark] .inset-note,html[data-theme=dark] .download-sheet,html[data-theme=dark] .option-table,html[data-theme=dark] .settings-reference{background:#252530;border-color:#494352}
html[data-theme=dark] .guide-nav>a{color:#c3bed1}
html[data-theme=dark] .guide-nav>a:hover{background:#2a2835}
html[data-theme=dark] .guide-nav>a[aria-current=location]{background:#333044;color:#e6dcf9;border-left-color:#b7a0e2}
html[data-theme=dark] .copy-field{background:#171d2b;border-color:#414456}
html[data-theme=dark] .footer{background:#181921;border-color:#353643;color:#aaa7b7}
html[data-theme=dark] .footer a{color:#c4b0e8}
html[data-theme=dark] .news-image,html[data-theme=dark] .gallery-thumb{border-color:#494352}
html[data-theme=dark] .gallery-tile-number{color:#b2adbf}
html[data-theme=dark] .gallery-dialog{background:#1c1d26;border-color:#484253;color:#eef0f6}
html[data-theme=dark] .gallery-dialog-header,html[data-theme=dark] .gallery-dialog-footer{background:#252530}
html[data-theme=dark] .gallery-dialog-footer .media-counter{color:#e8e3f1}
/* A dedicated control keeps both header account buttons unchanged. */
.main-nav{display:flex;align-items:center;gap:14px}
.main-nav .nav-links{flex:1;min-width:0}
#theme-toggle{display:inline-flex;align-items:center;justify-content:center;flex:0 0 52px;width:52px;height:44px;min-height:44px;padding:0;margin:0;border:1px solid #8faabd;border-radius:7px;background:#edf5facc;color:#2d5775;cursor:pointer;box-shadow:none;touch-action:manipulation}
#theme-toggle:hover{background:#f6fbff}
#theme-toggle:focus-visible{outline:3px solid #286596;outline-offset:3px}
.theme-track{display:block;position:relative;width:40px;height:24px;border:1px solid #8aa8be;border-radius:14px;background:#abc5d9;pointer-events:none}
.theme-thumb{display:flex;align-items:center;justify-content:center;position:absolute;top:2px;left:2px;width:18px;height:18px;border-radius:50%;background:#f8fcff;color:#315b78;box-shadow:0 1px 3px #18324726;transform:translateX(0);transition:transform 160ms ease}
.theme-icon{display:block;width:13px;height:13px;fill:currentColor;stroke:none}
.theme-icon-moon{display:none}
html[data-theme=dark] #theme-toggle{background:#272833;border-color:#4c475d;color:#e5dafa}
html[data-theme=dark] #theme-toggle:hover{background:#353341}
html[data-theme=dark] #theme-toggle:focus-visible{outline-color:#c6b5ff}
html[data-theme=dark] .theme-track{background:#4a3f60;border-color:#6e5c8b}
html[data-theme=dark] .theme-thumb{transform:translateX(16px);background:#dfd4f2;color:#4c3869;box-shadow:0 1px 3px #0004}
html[data-theme=dark] .theme-icon-sun{display:none}
html[data-theme=dark] .theme-icon-moon{display:block}
@media(min-width:1101px){.main-nav .nav-links{gap:8px}.main-nav a{padding-inline:14px;gap:8px;min-width:0}}
@media(max-width:1100px){.main-nav{gap:10px}.main-nav .nav-toggle{flex:1;min-width:0;width:auto}#theme-toggle{flex-basis:44px;width:44px}.theme-track{width:36px}.theme-thumb{width:16px;height:16px;top:3px;left:2px}.theme-icon{width:12px;height:12px}html[data-theme=dark] .theme-thumb{transform:translateX(14px)}html[data-theme=dark] .main-nav .nav-links{background:#20212b;border-color:#42404f;box-shadow:0 12px 30px #0005}}
@media(prefers-reduced-motion:reduce){.theme-thumb{transition:none}}

/* The switch keeps its touch target; only the pill has a visible outline. */
#theme-toggle,html[data-theme=dark] #theme-toggle{border:0;background:transparent;box-shadow:none;border-radius:999px}
#theme-toggle:hover,html[data-theme=dark] #theme-toggle:hover{background:transparent;box-shadow:none}
#theme-toggle:focus-visible,html[data-theme=dark] #theme-toggle:focus-visible{outline:none}
#theme-toggle:focus-visible .theme-track{outline:3px solid #286596;outline-offset:4px}
html[data-theme=dark] #theme-toggle:focus-visible .theme-track{outline-color:#c6b5ff}
html[data-theme=dark] .community-badge[data-color=blue]{color:#9cc8f4}
html[data-theme=light] .community-avatar{color:#183247}

/* Community text is readable at normal browser zoom on large monitors. */
#forum-root,#account-root{font-size:16px;line-height:1.7}
.community-toolbar-copy p,.community-side-note{font-size:15px;line-height:1.8}
.community-overview-copy>strong{font-size:20px;line-height:1.5}
.community-overview-copy>span{font-size:16px;line-height:1.75}
.community-overview-counts strong{font-size:18px}
.community-overview-counts small{font-size:13px}
.community-side-section>h3{font-size:17px;line-height:1.5}
.community-side-section .community-author-name{font-size:16px}
.community-side-section>.button,.community-side-section>.community-button{font-size:15px}
.community-side-admin{font-size:14px;line-height:1.7}
body[data-page=forum] .community-category-list .community-category-copy strong{font-size:15px;line-height:1.5}
body[data-page=forum] .community-category-list .community-category-copy small{font-size:13px;line-height:1.7}
.community-category-copy strong{font-size:16px}
.community-category-copy>span{font-size:14px}
.community-category-copy small{font-size:13px}
.community-forum-stats dt{font-size:14px}
.community-forum-stats dd{font-size:15px;line-height:1.7}
.community-topic-title{font-size:18px;line-height:1.55}
.community-topic-meta{font-size:14px;line-height:1.7}
.community-topic-replies strong{font-size:19px}
.community-topic-replies>span,.community-topic-updated>span{font-size:13px}
.community-topic-updated,.community-post-header>time{font-size:14px;line-height:1.7}
.community-author-name{font-size:16px}
.community-post-body{font-size:17px;line-height:1.85}
.community-field-help,.community-signin .community-field-help{font-size:14px;line-height:1.75}
.community-profile-role{font-size:14px}
.community-profile-details dt{font-size:14px}
.community-profile-details dd{font-size:16px}
.community-member-result strong{font-size:16px}
.community-member-result small{font-size:14px}
.community-member-open,.community-admin-result-count{font-size:14px}
.community-reply-form>label,.community-dialog-content>label,.community-member-search>label{font-size:15px}
.community-reply-form textarea,.community-dialog-content textarea,.community-dialog-content input,.community-dialog-content select,.community-badge-form select,.community-member-search input{font-size:16px;line-height:1.7}
.community-side-account{min-height:300px}
@media(min-width:1101px){.masthead .header-actions>a.button{width:232px;flex:0 0 232px}.masthead .account-entry-label{max-width:174px}}
.masthead .header-button-label{white-space:nowrap}
@media(min-width:721px) and (max-width:940px){.masthead .header-actions>a.button{width:44px;min-width:44px;padding-inline:11px}.masthead .header-button-label,.masthead .account-entry-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.masthead .header-actions>a.button>.fa-icon:last-child:not(:first-child){display:none}}
@media(min-width:1201px) and (max-width:1399px){.masthead-caption{display:none}}
@media(min-width:1101px){.main-nav .nav-links{justify-content:center}}
.main-nav a{font-size:14px;font-weight:700;line-height:1.333;text-transform:uppercase}
@media(min-width:1101px) and (max-width:1399px){.main-nav a{padding-inline:10px;gap:6px}}
@media(min-width:1400px){.main-nav{display:grid;grid-template-columns:52px minmax(0,1fr) 52px;gap:14px}.main-nav .nav-links{grid-column:2;justify-content:center}.main-nav #theme-toggle{grid-column:3;justify-self:end}}
@media(max-width:720px){
  #forum-root,#account-root{font-size:15px}
  .community-overview-copy>strong{font-size:18px}
  .community-overview-copy>span,.community-side-note{font-size:15px}
  .community-side-section>h3{font-size:16px}
  .community-topic-title{font-size:17px}
  .community-post-body{font-size:16px}
  .community-post-header>time,.community-topic-meta{font-size:13px}
  .community-author-large .community-author-name{font-size:24px}
  .community-member-open{font-size:13px;max-width:90px}
  .community-side-account{min-height:270px}
}


/* The light theme keeps the shared header light as well as the page content. */
html[data-theme=light] .masthead,html[data-theme=light] .main-nav{background:rgba(238,246,251,.84);color:#183247;border-bottom:0;box-shadow:none;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}
html[data-theme=light] .masthead .brand-copy>span,html[data-theme=light] .masthead-caption span{color:#3f6076}
html[data-theme=light] .masthead-caption{border-left-color:#7895aa44}
html[data-theme=light] .masthead-caption strong{color:#294d68}
html[data-theme=light] .masthead .header-actions>.button{background:#ffffff70;border-color:#7796ad66;color:#244c69}
html[data-theme=light] .masthead .header-actions>.button:hover{background:#ffffffbf;border-color:#7796ad99;color:#123a58}
html[data-theme=light] .main-nav a{color:#2e526d}
html[data-theme=light] .main-nav a:hover{background:#254c6a0d;color:#123a58}
html[data-theme=light] .main-nav a[aria-current=location]{background:#ffffff99;border-color:transparent;color:#173e5a;box-shadow:none}
html[data-theme=light] .main-nav .nav-toggle{background:#ffffff70;border-color:#7895aa44;color:#244c69}
@media(max-width:1100px){html[data-theme=light] .main-nav .nav-links{background:rgba(243,248,252,.98);border-color:#bccedb}}

