@media screen{
/* Shared tools preferences. Generated by build_theme.py; source controls below. */
.xunl-preferences{display:flex;align-items:center;gap:8px;flex-shrink:0;font-size:14px}.xunl-preferences a,.xunl-preferences select{border:1px solid var(--line);background:var(--white);color:var(--ink);border-radius:8px;min-height:44px;padding:7px 9px;font:inherit}.xunl-preferences a:hover{border-color:var(--blue)}.xunl-preferences a:focus-visible,.xunl-preferences select:focus-visible{outline:3px solid #799eff;outline-offset:3px}.xunl-preferences select{max-width:135px}.xunl-preferences label{display:flex;align-items:center;gap:5px}.xunl-preferences .xunl-preference-label{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}.nav-wrap{flex-wrap:wrap}.header nav{min-width:0}.xunl-preferences select option{background:var(--white);color:var(--ink)}
.form-actions{flex-wrap:wrap;min-width:0}.form-actions>button{max-width:100%;white-space:normal;overflow-wrap:anywhere}.form-actions>button.primary{flex-shrink:1}
.cm-content .tok-comment{color:#586d76;font-style:italic}.cm-content .tok-keyword,.cm-content .tok-modifier,.cm-content .tok-namespace{color:#74388d}.cm-content .tok-string,.cm-content .tok-string2{color:#a32434}.cm-content .tok-number,.cm-content .tok-bool,.cm-content .tok-atom{color:#176545}.cm-content .tok-propertyName,.cm-content .tok-attributeName{color:#204b8a}.cm-content .tok-typeName,.cm-content .tok-className,.cm-content .tok-labelName{color:#633d92}.cm-content .tok-meta,.cm-content .tok-operator{color:#596372}.cm-content .tok-invalid,.cm-content .tok-deleted{color:#bd253d}.cm-content .tok-inserted{color:#136442}.cm-content .tok-heading{color:#254da0;font-weight:700}.cm-content .tok-strong{font-weight:700}.cm-content .tok-emphasis{font-style:italic}.cm-content .tok-link,.cm-content .tok-url{color:#254da0;text-decoration:underline}
html[data-xunl-theme="dark"]{--ink:#e5edf9;--muted:#adbad0;--blue-soft:#1b2c4a;--line:#34445e;--paper:#0b1220;--white:#131e30;color-scheme:dark;color:var(--ink);background:var(--paper)}
html[data-xunl-theme="dark"] .xunl-preferences :is(a,select){background:#131e30;color:#e5edf9;border-color:#34445e}
html[data-xunl-theme="dark"] :is(.header nav a.current,.eyebrow,.prose a,.breadcrumbs a,.catalog-secondary-link,.catalog-primary,.catalog-quicklinks a,.catalog-members a){color:#a5bdff}
html[data-xunl-theme="dark"] :is(.primary,.primary-link,.catalog-launch>a:first-of-type,.sd-run,.lg-primary,.gb-primary,.ia-primary,.es-primary){color:#fff}
html[data-xunl-theme="dark"] .cm-editor{background:#111b2b;color:#e4edf9}html[data-xunl-theme="dark"] .cm-gutters{background:#152136;color:#a6b4ca;border-color:#34445e}html[data-xunl-theme="dark"] .cm-activeLine,html[data-xunl-theme="dark"] .cm-activeLineGutter{background:#203251}html[data-xunl-theme="dark"] .cm-cursor{border-left-color:#b2ccff}html[data-xunl-theme="dark"] .cm-selectionBackground{background:#344b77!important}html[data-xunl-theme="dark"] .cm-search{background:#162135;color:#edf2fa}html[data-xunl-theme="dark"] .cm-tooltip{background:#19283e;color:#edf2fa;border-color:#40516d}
html[data-xunl-theme="dark"] .cm-editor :is(.cm-button,.cm-textfield,.cm-panels){background:#19283e;color:#edf2fa;border-color:#465c7c}html[data-xunl-theme="dark"] .cm-content :is(.tok-comment,.tok-meta,.tok-operator),.md-night .cm-content :is(.tok-comment,.tok-meta,.tok-operator){color:#a7bbcd}html[data-xunl-theme="dark"] .cm-content :is(.tok-keyword,.tok-namespace,.tok-typeName,.tok-className,.tok-labelName),.md-night .cm-content :is(.tok-keyword,.tok-namespace,.tok-typeName,.tok-className,.tok-labelName){color:#d2b4ff}html[data-xunl-theme="dark"] .cm-content :is(.tok-string,.tok-string2),.md-night .cm-content :is(.tok-string,.tok-string2){color:#ffb4bd}html[data-xunl-theme="dark"] .cm-content :is(.tok-number,.tok-bool,.tok-atom,.tok-inserted),.md-night .cm-content :is(.tok-number,.tok-bool,.tok-atom,.tok-inserted){color:#85e0b6}html[data-xunl-theme="dark"] .cm-content :is(.tok-propertyName,.tok-attributeName,.tok-heading,.tok-link,.tok-url),.md-night .cm-content :is(.tok-propertyName,.tok-attributeName,.tok-heading,.tok-link,.tok-url){color:#a3caff}html[data-xunl-theme="dark"] .cm-content :is(.tok-invalid,.tok-deleted),.md-night .cm-content :is(.tok-invalid,.tok-deleted){color:#ff9caa}
@media(max-width:760px){.nav-wrap{gap:14px;padding:14px 18px}.header nav{order:3;flex-basis:100%;margin-left:0;justify-content:flex-start;gap:22px}.xunl-preferences{margin-left:auto}.nav-login{margin-left:0}.brand small{max-width:150px}.xunl-preferences a,.xunl-preferences select{font-size:14px;min-height:44px;padding:6px 7px}.xunl-preferences select{max-width:116px}}
@media(max-width:390px){.brand{font-size:15px}.brand-mark{width:32px;height:32px;font-size:18px}.brand small{font-size:14px}.nav-login{font-size:14px;padding:6px 8px}.xunl-preferences{gap:5px}.xunl-preferences select{max-width:110px}.nav-wrap{column-gap:9px}}
@media print{.xunl-preferences{display:none!important}}

html[data-xunl-theme="dark"] a:focus-visible,html[data-xunl-theme="dark"] button:focus-visible,html[data-xunl-theme="dark"] input:focus-visible,html[data-xunl-theme="dark"] textarea:focus-visible,html[data-xunl-theme="dark"] select:focus-visible,html[data-xunl-theme="dark"] pre:focus-visible,html[data-xunl-theme="dark"] summary:focus-visible{outline:3px solid #405796}
html[data-xunl-theme="dark"] .skip{background:#111827}
html[data-xunl-theme="dark"] .header{background:#111827}
html[data-xunl-theme="dark"] .brand small{color:#cad0d9}
html[data-xunl-theme="dark"] .header nav{color:#cad0d9}
html[data-xunl-theme="dark"] .header nav a.current{color:#a2b5eb}
html[data-xunl-theme="dark"] .eyebrow{color:#a2b5eb}
html[data-xunl-theme="dark"] .hero em,html[data-xunl-theme="dark"] .resources-hero em{color:#a2b5eb}
html[data-xunl-theme="dark"] .hero-copy{color:#cad0d9}
html[data-xunl-theme="dark"] .hero-badges{color:#cad0d9}
html[data-xunl-theme="dark"] .hero-note{background:#111827}
html[data-xunl-theme="dark"] .note-kicker{color:#cad0d9}
html[data-xunl-theme="dark"] .hero-note a{border-top:1px solid #293a5b}
html[data-xunl-theme="dark"] .hero-note a span{color:#a2b5eb}
html[data-xunl-theme="dark"] .note-foot{color:#cad0d9}
html[data-xunl-theme="dark"] .search-wrap{background:#111827}
html[data-xunl-theme="dark"] .search-wrap>span{color:#a2b5eb}
html[data-xunl-theme="dark"] .search-wrap input{color:#aac1e4}
html[data-xunl-theme="dark"] .search-wrap:focus-within{outline:2px solid #405796}
html[data-xunl-theme="dark"] .search-wrap kbd{background:#141b26;color:#cad0d9}
html[data-xunl-theme="dark"] .filters button{color:#cad0d9}
html[data-xunl-theme="dark"] .filters button.active{color:#ffffff}
html[data-xunl-theme="dark"] .filters>a{color:#a2b5eb}
html[data-xunl-theme="dark"] .section-top p{color:#cad0d9}
html[data-xunl-theme="dark"] .tool-card{background:#111827}
html[data-xunl-theme="dark"] .tool-card:hover{border-color:#405696}
html[data-xunl-theme="dark"] .tool-icon{color:#a2b5eb}
html[data-xunl-theme="dark"] .favorite{color:#c9cfd9}
html[data-xunl-theme="dark"] .favorite[aria-pressed=true]{color:#ebd5a2}
html[data-xunl-theme="dark"] .card-link h3 span{color:#c7cfdb}
html[data-xunl-theme="dark"] .card-link p{color:#cad0d9}
html[data-xunl-theme="dark"] .card-bottom{color:#cad0d8}
html[data-xunl-theme="dark"] .badge{background:#141b27;color:#cbd0d8}
html[data-xunl-theme="dark"] .empty{background:#111827}
html[data-xunl-theme="dark"] .empty p{color:#cad0d9}
html[data-xunl-theme="dark"] .empty button,html[data-xunl-theme="dark"] .empty a{background:#111827}
html[data-xunl-theme="dark"] .workflow-grid article{border-top:2px solid #405796}
html[data-xunl-theme="dark"] .workflow-grid article>span{color:#a2b5eb}
html[data-xunl-theme="dark"] .workflow-grid p{color:#cad0d9}
html[data-xunl-theme="dark"] .workflow-grid a{color:#a2b5eb}
html[data-xunl-theme="dark"] .resource-banner{background:#141927;border:1px solid #405896}
html[data-xunl-theme="dark"] .resource-banner p:not(.eyebrow){color:#c8d0da}
html[data-xunl-theme="dark"] .prose{color:#c8d0da}
html[data-xunl-theme="dark"] .prose h2{color:#aac1e4}
html[data-xunl-theme="dark"] .prose summary{color:#aac1e4}
html[data-xunl-theme="dark"] .prose a{color:#a2b5eb}
html[data-xunl-theme="dark"] .footer{color:#cad0d9}
html[data-xunl-theme="dark"] .brand-text{color:#aac1e4}
html[data-xunl-theme="dark"] .breadcrumbs{color:#cad0d9}
html[data-xunl-theme="dark"] .breadcrumbs a{color:#a2b5eb}
html[data-xunl-theme="dark"] .tool-heading p:not(.eyebrow){color:#cad0d9}
html[data-xunl-theme="dark"] .privacy-badge{color:#ade1c9;background:#14281d;border:1px solid #295c40}
html[data-xunl-theme="dark"] .workspace{background:#111827}
html[data-xunl-theme="dark"] .output-panel{background:#131926}
html[data-xunl-theme="dark"] .text-button{color:#a2b5eb}
html[data-xunl-theme="dark"] .field label{color:#cad0d9}
html[data-xunl-theme="dark"] .field input,html[data-xunl-theme="dark"] .field select,html[data-xunl-theme="dark"] .field textarea{background:#111827;border:1px solid #2c3d58;color:#aac1e4}
html[data-xunl-theme="dark"] .secondary{background:#111827;color:#cad0d9}
html[data-xunl-theme="dark"] .input-note{color:#cad0d8}
html[data-xunl-theme="dark"] .output-actions button{background:#111827;color:#cad0d9}
html[data-xunl-theme="dark"] .status{color:#cad0d9}
html[data-xunl-theme="dark"] .status.error{color:#e5a9a9;background:#261414}
html[data-xunl-theme="dark"] .status.success{color:#abe3c8}
html[data-xunl-theme="dark"] .result-empty{color:#c9d0d9}
html[data-xunl-theme="dark"] .result-empty>span{color:#b1c1dd;background:#141b27}
html[data-xunl-theme="dark"] .output-panel pre{border:1px solid #283d5d;background:#111827}
html[data-xunl-theme="dark"] .preview{background:#111827}
html[data-xunl-theme="dark"] .preview .serp-url{color:#cad0d9}
html[data-xunl-theme="dark"] .preview .serp-title{color:#a8a2eb}
html[data-xunl-theme="dark"] .preview .serp-description{color:#cfd1d4}
html[data-xunl-theme="dark"] .preview a{color:#a2b5eb}
html[data-xunl-theme="dark"] .related>a span{color:#a2b5eb}
html[data-xunl-theme="dark"] .aside-note{background:#111827}
html[data-xunl-theme="dark"] .aside-note p{color:#cad0d9}
html[data-xunl-theme="dark"] .resources-hero p:not(.eyebrow){color:#cad0d9}
html[data-xunl-theme="dark"] .external-card{background:#111827}
html[data-xunl-theme="dark"] .external-card h2 a{color:#aac1e4}
html[data-xunl-theme="dark"] .external-card h2 a:hover{color:#a2b5eb}
html[data-xunl-theme="dark"] .external-card p{color:#cad0d9}
html[data-xunl-theme="dark"] .legacy-help{border:1px solid #405896;background:#141927}
html[data-xunl-theme="dark"] .legacy-help a{color:#a2b5eb}
html[data-xunl-theme="dark"] .input-note,html[data-xunl-theme="dark"] .card-bottom,html[data-xunl-theme="dark"] .result-empty,html[data-xunl-theme="dark"] .badge{color:#c8d0da}
html[data-xunl-theme="dark"] .badge{background:#141b27}
html[data-xunl-theme="dark"] .favorite{color:#cad0d9}
html[data-xunl-theme="dark"] .tool-search-guide{border:1px solid var(--line,#2e4157);background:var(--#111827,#111827)}
html[data-xunl-theme="dark"] .tool-search-guide details{border-bottom:1px solid var(--line,#2e4157)}
html[data-xunl-theme="dark"] .diagnostic-consolidation{border:1px solid var(--line,#2e4157);border-left:4px solid #2b5a4a}
html[data-xunl-theme="dark"] .xrt-plan-summary{background:var(--blue-soft,#141927);border:1px solid #405896;color:#aac1e4}
html[data-xunl-theme="dark"] .xrt-plan-summary strong{color:var(--blue,#a2b5eb)}
html[data-xunl-theme="dark"] .xrt-stock{border:1px solid var(--line,#2b3d59);background:#111827}
html[data-xunl-theme="dark"] .xrt-stock__head strong{color:#aac1e4}
html[data-xunl-theme="dark"] .xrt-stock__head span{color:#cad0d9}
html[data-xunl-theme="dark"] .xrt-stock__bar{background:repeating-linear-gradient(135deg,#161d26,#161d26 8px,#181f27 8px,#181f27 16px)}
html[data-xunl-theme="dark"] .xrt-stock__piece{border-right:2px solid #424242}
html[data-xunl-theme="dark"] .xrt-stock__cuts{color:#cad0d9}
html[data-xunl-theme="dark"] .xrt-plate-sheet{border:1px solid var(--line,#2b3d59);background:#111827}
html[data-xunl-theme="dark"] .xrt-plate-map{background:#181d23;border:1px solid #2d3f57}
html[data-xunl-theme="dark"] .xrt-plate-parts{color:#cad0d9}
html[data-xunl-theme="dark"] .tr-heading-note>span:last-child{color:#cad0d9}
html[data-xunl-theme="dark"] .tr-workbench{--tr-warning-bg:#272114;--tr-warning:#ebcba2;--tr-error-bg:#261415;--tr-error:#e5a9b2;background:var(--#111827)}
html[data-xunl-theme="dark"] .tr-workbench button,html[data-xunl-theme="dark"] .tr-copy-dialog button{background:var(--#111827);color:#aac1e4}
html[data-xunl-theme="dark"] .tr-workbench button:focus-visible,html[data-xunl-theme="dark"] .tr-workbench select:focus-visible,html[data-xunl-theme="dark"] .tr-workbench textarea:focus-visible{outline:3px solid #405796}
html[data-xunl-theme="dark"] .tr-topbar{color:#cad0d9}
html[data-xunl-theme="dark"] .tr-symbol{color:#a2b5eb}
html[data-xunl-theme="dark"] .tr-topbar strong{color:#aac1e4}
html[data-xunl-theme="dark"] .tr-language-bar select{background:var(--#111827);color:#aac1e4}
html[data-xunl-theme="dark"] .tr-language-bar #tr-swap{color:#a2b5eb}
html[data-xunl-theme="dark"] .tr-pane-heading>span{color:#cad0d9}
html[data-xunl-theme="dark"] .tr-pane textarea{color:#aac1e4}
html[data-xunl-theme="dark"] .tr-pane textarea::placeholder{color:#cad0d9}
html[data-xunl-theme="dark"] .tr-empty>span{color:#a2b5eb}
html[data-xunl-theme="dark"] .tr-empty p{color:#cad0d9}
html[data-xunl-theme="dark"] .tr-empty small{color:#cad0d9}
html[data-xunl-theme="dark"] .tr-pane-foot{color:#cad0d9}
html[data-xunl-theme="dark"] .tr-pane-foot[data-invalid="true"]{color:#e5a9b2}
html[data-xunl-theme="dark"] .tr-help{color:#cad0d9}
html[data-xunl-theme="dark"] .tr-samples{color:#cad0d9}
html[data-xunl-theme="dark"] .tr-protection summary::before{color:#cad0d9}
html[data-xunl-theme="dark"] .tr-protection summary>span:last-child{color:#cad0d9}
html[data-xunl-theme="dark"] .tr-protection textarea{color:#aac1e4;background:var(--#111827)}
html[data-xunl-theme="dark"] .tr-protection-note p{color:#cad0d9}
html[data-xunl-theme="dark"] .tr-actions .tr-primary{border-color:#405696}
html[data-xunl-theme="dark"] .tr-actions .tr-primary:hover:not(:disabled){border-color:#405696}
html[data-xunl-theme="dark"] .tr-actions p{color:#cad0d9}
html[data-xunl-theme="dark"] .tr-status,html[data-xunl-theme="dark"] .tr-stale{color:#aac1e4}
html[data-xunl-theme="dark"] .tr-status[data-kind="error"]{color:#e5a9b2}
html[data-xunl-theme="dark"] .tr-stale{color:#ebcba2}
html[data-xunl-theme="dark"] .tr-check-symbol{color:#a2b5eb}
html[data-xunl-theme="dark"] .tr-checks p{color:#cad0d9}
html[data-xunl-theme="dark"] .tr-checks #tr-check-summary{color:#aac1e4}
html[data-xunl-theme="dark"] .tr-checks ul{color:#ebcba2}
html[data-xunl-theme="dark"] .tr-exports p{color:#cad0d9}
html[data-xunl-theme="dark"] .tr-export-status{color:#cad0d9}
html[data-xunl-theme="dark"] .tr-scenarios span{color:#cad0d9}
html[data-xunl-theme="dark"] .tr-scenarios p{color:#cad0d9}
html[data-xunl-theme="dark"] .tr-copy-dialog{background:var(--#111827);color:#aac1e4}
html[data-xunl-theme="dark"] .tr-copy-dialog p{color:#cad0d9}
html[data-xunl-theme="dark"] .tr-copy-dialog textarea{color:#aac1e4}
html[data-xunl-theme="dark"] .tr-provider-disclaimer blockquote{color:#cad0d9}
html[data-xunl-theme="dark"] html[data-xunl-theme="dark"] .tr-workbench{--tr-warning:#ebcba2}
html[data-xunl-theme="dark"] .tr-format p{color:#cad0d9}
html[data-xunl-theme="dark"] .tr-batch-banner span{color:#a2b5eb}
html[data-xunl-theme="dark"] .tr-batch-banner p{color:#cad0d9}
}
@media print{.xunl-preferences{display:none!important}html[data-xunl-theme="dark"]{color-scheme:light!important;color:#172a47;background:#fff}}
