/* Senica charcoal palette. Photos and supplied artwork retain their own colour. */
html{color-scheme:light}
.theme-toggle{grid-row:2;grid-column:1;justify-self:start;display:inline-flex;align-items:center;gap:9px;max-width:100%;min-height:44px;padding:7px 10px;border:1px solid var(--line);border-radius:28px;background:transparent;color:var(--ink);font-size:14px;line-height:1.4;text-align:start}
.theme-toggle>svg,.theme-switch-track{flex-shrink:0}.theme-toggle>span{overflow-wrap:anywhere}.theme-toggle:hover{background:var(--surface);border-color:var(--champagne)}
.theme-switch-track{display:block;width:30px;height:18px;padding:2px;border:1px solid currentColor;border-radius:14px;direction:ltr}.theme-switch-track>i{display:block;width:12px;height:12px;border-radius:50%;background:currentColor;transform:translateX(0)}
.theme-toggle[aria-checked=true] .theme-switch-track>i{transform:translateX(12px)}
@media(prefers-reduced-motion:no-preference){.theme-switch-track>i{transition:transform .18s ease}}
@media(max-width:640px){.site-header .titlebar-technical{grid-column:1;grid-row:2}.theme-toggle{grid-column:2;grid-row:2;justify-self:center;gap:6px;padding:7px 10px}.theme-toggle>span{display:none}.theme-toggle>svg{width:18px;height:18px}}
html[data-theme=dark]{color-scheme:dark;--ink:#eceae7;--paper:#1e1e1e;--white:#fbf5ec;--muted:#bbb8b2;--line:#4c4c4c;--accent:#d5b695;--deep:#ddd4c5;--lavender:#2d2d2d;--stone:#2c2c2c;--surface:#292b2e;--champagne:#d5b695;--trace-a:#d5b695;--trace-b:#c3d6e5;--trace-grip:#85c2b2;--trace-limit:#f0a68e;--chassis-trace:#c3d6e5}
html[data-theme=dark] body{background:radial-gradient(ellipse at 15% 20%,#ffffff04,transparent 65%),linear-gradient(115deg,#1e2022,#25272a 52%,#1e2022)}
html[data-theme=dark] ::selection{background:#606060;color:#fff5ec}
html[data-theme=dark] :focus-visible{outline-color:#e0bd8f}
html[data-theme=dark] .site-header{background:#202020f5;box-shadow:0 6px 25px #0e0e0e33}
html[data-theme=dark] :is(.wordmark img,.partner-logo){filter:brightness(0) invert(.9)}
html[data-theme=dark] .skip-link{background:var(--surface);color:var(--ink)}
html[data-theme=dark] .site-header .site-navigation.open{background:linear-gradient(115deg,#292929,#2f2f2f);color:var(--ink)}
html[data-theme=dark] .site-navigation>a>.senica-icon{color:var(--champagne)}
html[data-theme=dark] .site-header .site-navigation>a:hover,html[data-theme=dark] .site-header .site-navigation>a[aria-current=page]{background:#eedfd313}
html[data-theme=dark] .site-wireframe{opacity:.11}
html[data-theme=dark] .site-wireframe image{filter:url(#wallpaper-dark-ink)}
html[data-theme=dark] body:before{filter:invert(1);mix-blend-mode:screen;opacity:.06}
html[data-theme=dark] :is(.button.light,.hero .button.light,.geo-tabs a.is-active,.geo-presets button[aria-pressed=true],.geo-view-tabs button[aria-selected=true],.explorer-presets button[aria-pressed=true],.geo-examples button:active){background:#d9bc9d;border-color:#d9bc9d;color:#212121}
html[data-theme=dark] :is(.button:hover,.play-response:hover,.geo-examples button:hover,.hero-pause:hover){background:#383838;border-color:#b694a1;color:var(--ink)}
html[data-theme=dark] :is(.text-link:hover,.story-source a:hover,.instagram-section>a:hover){color:#ead0ad}
html[data-theme=dark] :is(.model-browser,.story,.story-thumbnail,.tool-showcase,.guide-image,.technical-teaser,.owner-quote-card,.creator-card,.special-project,.community-film,.force-plate,.response-studio,.chassis-card,.shift-chart-figure,.acceleration-comparison,.calibration-gap,.model-label,.play-response){border-color:var(--line)}
html[data-theme=dark] :is(.tool-showcase,.tool-showcase-compact,.model-selector,.network,.technical-teaser,.book-cover,.guide-image,.story-thumbnail,.creator-card,.community-film){background:var(--surface)}
html[data-theme=dark] :is(.network-copy>p:not(.eyebrow),.series-a){color:var(--muted)}
html[data-theme=dark] :is(.owner-quote-card,.special-project,.creator-model-poster,.creator-quote-poster,.creator-quote-poster:hover,.creator-card .thumbnail-fallback,.thumbnail-fallback,.ecu-study){background:linear-gradient(135deg,#2c2c2c,#323232)}
html[data-theme=dark] :is(.owner-quote-top .quotation-icon,.creator-quote-poster>.senica-icon){color:var(--champagne)}
html[data-theme=dark] .thumbnail-play{background:#2d2d2dee;color:var(--white);border-color:#b89eaa}
html[data-theme=dark] .community-thumbnail>span{color:var(--white)}
html[data-theme=dark] .ecu-study-image img{filter:invert(.9) grayscale(1);mix-blend-mode:screen;opacity:.8}
/* Forms, account pages and privacy controls. */
html[data-theme=dark] :is(.login-form input:not([type=hidden]),.model-selector select,.geometry-page input,.geometry-page select,.blog-shell input:not([type=hidden]),.blog-shell textarea,.blog-shell select,.editor-dialog input,.editor-dialog textarea){background:#1e1e1e;color:var(--ink);border-color:#666666}
html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder{color:#9c9c9c;opacity:1}
html[data-theme=dark] :is(input,select,textarea){accent-color:#d9bc9d}
html[data-theme=dark] :is(.form-notice,.blog-notice,.blog-status,.blog-format-help code,.geo-alert,.geo-notice,.instagram-import-help){background:#303030;color:var(--ink);border-color:#776152}
html[data-theme=dark] :is(.form-error,.blog-error,.geometry-page input:invalid,.geometry-page input[aria-invalid=true]){background:#452b32;color:#ffd5cb;border-color:#dd9d91}
html[data-theme=dark] :is(.blog-danger-link,.blog-row-actions .blog-danger-link,.editor-dialog [role=alert]){color:#f1b09f}
html[data-theme=dark] :is(.privacy-card,.privacy-media){background:#2a2a2acc}
html[data-theme=dark] .privacy-preferences{background:#272727;color:var(--ink);border-color:#727272;box-shadow:0 20px 70px #0008}
html[data-theme=dark] .privacy-consent-buttons>.button{color:var(--ink);border-color:#959595;background:transparent}
html[data-theme=dark] .privacy-consent-buttons>.button:hover{background:#383838}
html[data-theme=dark] :is(.language-dialog::backdrop,.editor-dialog::backdrop){background:#090909b3}
/* Blog reader, editor, toolbar and administrator tables. */
html[data-theme=dark] :is(.blog-card,.blog-empty,.blog-filters,.blog-writing,.blog-publishing,.blog-preview,.blog-table,.blog-delete-panel,#visual-editor,.editor-dialog,.blog-writing .ql-snow .ql-tooltip){background:var(--surface);color:var(--ink);border-color:var(--line)}
html[data-theme=dark] :is(.blog-table th,.blog-shell #editor-toolbar,.power-table thead th){background:#313131;color:var(--ink)}
html[data-theme=dark] .blog-shell #editor-toolbar .ql-picker{color:var(--ink)}
html[data-theme=dark] .blog-shell #editor-toolbar .ql-picker-options{background:#2e2e2e;color:var(--ink);border-color:#757575}
html[data-theme=dark] .blog-shell #editor-toolbar :is(button:hover,button.ql-active){background:#484848}
html[data-theme=dark] .blog-shell #editor-toolbar .ql-stroke{stroke:var(--ink)}
html[data-theme=dark] .blog-shell #editor-toolbar .ql-fill{fill:var(--ink)}
html[data-theme=dark] .blog-shell #article-editor .ql-editor.ql-blank::before{color:#b4a3ab}
html[data-theme=dark] :is(.editor-status,.rt-video figcaption,.rt-local-media figcaption){color:var(--muted)}
html[data-theme=dark] :is(.editor-video-edit,.editor-media-edit){background:#333333;color:var(--ink);border-color:#7a7a7a}
html[data-theme=dark] :is(.rt-color-plum,.ql-color-plum,.blog-prose blockquote,.ql-editor blockquote){color:#dfb7d2}
html[data-theme=dark] :is(.rt-color-gold,.ql-color-gold){color:#dfc095}
html[data-theme=dark] :is(.rt-color-teal,.ql-color-teal){color:#93c8b9}
html[data-theme=dark] :is(.rt-color-red,.ql-color-red){color:#f0ada1}
html[data-theme=dark] :is(.rt-color-graphite,.ql-color-graphite){color:#e0d7df}
html[data-theme=dark] :is(.rt-background-sand,.ql-bg-sand){background:#504231}
html[data-theme=dark] :is(.rt-background-rose,.ql-bg-rose){background:#563d47}
html[data-theme=dark] :is(.rt-background-sage,.ql-bg-sage){background:#334a43}
/* Technical panels and semantic chart colours. */
html[data-theme=dark] :is(.force-plate,.response-studio,.science-card,.chassis-card,.shift-chart-figure,.acceleration-comparison,.power-table,.geo-card,.geo-input-card,.geo-result-card,.geo-visual){background:linear-gradient(130deg,#2a2a2a,#242424)}
html[data-theme=dark] :is(.calibration-gap,.chassis-difference,.method-content pre){background:#313131;border-color:var(--line)}
html[data-theme=dark] :is(.chart-grid,.grip-axis,.chassis-construction,.chassis-drawing .chassis-construction,.geo-construction){stroke:#6b6b6b}
html[data-theme=dark] :is(.request-grid,.response-cursor,.chassis-weight){stroke:#bda187}
html[data-theme=dark] .response-area{fill:#c3d6e512}
html[data-theme=dark] :is(.chassis-load,.geo-angle-line,.geo-datum line){stroke:#85c2b2}
html[data-theme=dark] :is(.chassis-labels text[id]){fill:#85c2b2}
html[data-theme=dark] .chassis-axle-readings strong{color:#85c2b2}
html[data-theme=dark] .chassis-construction text,html[data-theme=dark] .chassis-weight text{stroke:#272727}
html[data-theme=dark] .chassis-weight text{fill:var(--ink)}
html[data-theme=dark] :is(.chassis-drawing image,.force-wireframe){filter:invert(1) grayscale(1);mix-blend-mode:screen;opacity:.45}
html[data-theme=dark] .force-diagram text{stroke:#272727}
html[data-theme=dark] :is(.force-guides,.force-dimensions){stroke:#b6a28d}
html[data-theme=dark] :is(.force-normal,.force-component-y,.force-leader,.force-envelope,.force-patch){stroke:#85c2b2}
html[data-theme=dark] :is(.force-weight,.force-resultant){stroke:#e3bf89}
html[data-theme=dark] :is(.force-tractive,.force-component-x){stroke:#c3d6e5}
html[data-theme=dark] .force-cg{fill:#272727;stroke:var(--ink)}
html[data-theme=dark] .force-diagram .force-teal{fill:#85c2b2}
html[data-theme=dark] .force-diagram .force-plum{fill:#c3d6e5}
html[data-theme=dark] .force-diagram .force-gold{fill:#e3bf89}
html[data-theme=dark] .force-contact{fill:#85c2b2;stroke:#272727}
html[data-theme=dark] .force-patch,html[data-theme=dark] .force-envelope{fill:#85c2b2}
html[data-theme=dark] .force-grip-inset>rect{fill:#2a2a2a;stroke:#7a7a7a}
html[data-theme=dark] .force-grip-inset text{stroke:#2a2a2a}
/* Suspension illustrations: grounded wheels and body transforms are untouched. */
html[data-theme=dark] :is(.geo-view-tabs,.geo-visual-footnote){background:#303030}
html[data-theme=dark] .geo-drawing{background:#212121;border-color:#555555}
html[data-theme=dark] #ride-car-art[filter]{filter:url(#ride-light-ink);opacity:.9}
html[data-theme=dark] .geo-big-number{stroke:#212121}
html[data-theme=dark] :is(.geo-ground,.geo-ground-hatch,.geo-zero,.geo-zero-wheel){stroke:#a99180}
html[data-theme=dark] :is(.geo-chassis-line,.geo-height-arrow,.geo-travel,.geo-steering-axis,.geo-wheel-top){stroke:#85c2b2}
html[data-theme=dark] :is(.geo-datum-point,.geo-hub,.geo-axis-joint){fill:#85c2b2;stroke:#212121}
html[data-theme=dark] #geo-arrow-height path{stroke:#85c2b2}
html[data-theme=dark] .geo-body-hint{fill:#3f3f3f;stroke:#909090}
html[data-theme=dark] .geo-tyre{fill:#b697aa;stroke:#dbc1d2}
html[data-theme=dark] .geo-tread{stroke:#444444}
html[data-theme=dark] .geo-rim{fill:#3d3d3d;stroke:#c0a2b5}
html[data-theme=dark] :is(.geo-band-track,.geo-ladder-bar,.acceleration-track){background:#494949}
html[data-theme=dark] .geo-band-window{background:#578e7e}
html[data-theme=dark] .geo-band-marker.is-out{background:#edac8d}
html[data-theme=dark] .geo-ladder-bar>i:last-child{background:#85c2b2}
html[data-theme=dark] .geo-key-rear{color:#85c2b2}
html[data-theme=dark] .geo-key-live{border-color:#85c2b2}
html[data-theme=dark] .geo-key-zero{border-color:#a99180}
html[data-theme=dark] .geo-cross-pad{background:#2c413b;border-color:#658f81}
html[data-theme=dark] .geo-live-answer{background:#2a3e38;border-color:#85c2b2}
html[data-theme=dark] .geo-live-answer>span{color:#b7d4c9}
html[data-theme=dark] .geo-examples button{background:var(--surface);border-color:#727272}
html[data-theme=dark] .geometry-page .geo-slider input{background:transparent}
html[data-theme=dark] .geo-slider input::-webkit-slider-runnable-track{background:#666666}
html[data-theme=dark] .geo-slider input::-moz-range-track{background:#666666}
html[data-theme=dark] .geo-slider input::-webkit-slider-thumb{border-color:#2b2b2b;box-shadow:0 0 0 1px #d9bc9d}
html[data-theme=dark] .geo-slider input::-moz-range-thumb{border-color:#2b2b2b}
html[data-theme=dark] .torque-technology{--trace-a:#d5b695;--trace-b:#c3d6e5;--trace-grip:#85c2b2;--trace-limit:#f0a68e}
html[data-theme=dark] .chassis-a{--chassis-trace:#d5b695}html[data-theme=dark] .chassis-b{--chassis-trace:#c3d6e5}
html[data-theme=dark] #force-tip-teal path{stroke:#85c2b2}html[data-theme=dark] #force-tip-plum path{stroke:#c3d6e5}html[data-theme=dark] #force-tip-gold path{stroke:#e3bf89}
html[data-theme=dark] .footer-brand img{filter:brightness(0) invert(.9)}
html[data-theme=dark] .geo-comparison{--compare-a:#8ac6b4;--compare-b:#d8bd91}
html[data-theme=dark] .geo-compare-car{background:#252525}
html[data-theme=dark] #cmp-current-ink{filter:url(#cmp-current-night)}html[data-theme=dark] #cmp-target-ink{filter:url(#cmp-target-night)}
html[data-theme=dark] .geo-compare-controls select{background:#202020;color:var(--ink);border-color:#6e6e6e}
