.settings-panel{background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:24px;max-width:780px}.settings-panel h2{margin-bottom:10px}.theme-options{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:24px 0 18px}.theme-option{border:1px solid var(--line);border-radius:12px;padding:13px;text-align:left;background:var(--bg);min-width:0}.theme-option.selected{border:2px solid var(--accent);padding:12px}.theme-sample{height:115px;display:block;border-radius:7px;padding:14px;border:1px solid #83948b55}.theme-sample.light{background:#f3f6f4;color:#167560}.theme-sample.dark{background:#101719;color:#79ddc6}.sample-bar{display:block;width:30%;height:7px;background:currentColor;border-radius:4px;margin-bottom:15px}.sample-title{display:block;width:70%;height:10px;background:currentColor;opacity:.65;border-radius:3px;margin-bottom:13px}.sample-cards{display:flex;gap:6px}.sample-cards i{flex:1;height:35px;background:currentColor;opacity:.15;border:1px solid currentColor;border-radius:4px}.theme-title{display:flex;align-items:center;gap:8px;margin-top:13px;font-size:14px;font-weight:600}.theme-title>.ico{width:19px;height:19px}.theme-check{margin-left:auto;display:flex;min-width:18px;color:var(--accent)}.theme-check>.ico{width:18px;height:18px}.theme-option>small{display:block;color:var(--muted);font-size:11px;margin-top:5px}.settings-status{color:var(--accent);font-size:12px}.theme-option:focus-visible{outline-offset:3px}
@media(max-width:760px){.primary-nav{grid-template-columns:repeat(5,minmax(0,1fr));gap:2px}.primary-nav>a{font-size:8px;min-width:0}.settings-panel{padding:16px}.theme-options{gap:9px;margin-top:20px}.theme-option{padding:9px}.theme-option.selected{padding:8px}.theme-sample{padding:10px;height:100px}.theme-title{font-size:12px;gap:5px}.theme-option>small{font-size:10px}.theme-title>.ico{width:17px}.theme-check{min-width:15px}}
/* Light surfaces and semantic colours, including the maintenance module. */
html[data-theme=light]{--bg:#f3f6f4;--panel:#ffffff;--panel2:#eaf1ed;--line:#cedbd3;--text:#1b2c25;--muted:#53695f;color-scheme:light}
html[data-theme=light] .rail{background:#fbfdfbf7}
html[data-theme=light] .primary-nav{background:#fbfdfbf5;border-color:#cedbd3}
html[data-theme=light] .primary-nav>a.active{background:#dceee4;color:#125a44}
html[data-theme=light] .rail-caption{color:#53695f}
html[data-theme=light] .rail-worlds>a.active,html[data-theme=light] .rail-worlds>a:hover{background:#e4eee8}
html[data-theme=light] .owner>span{background:#dceee4;color:#245a43}
html[data-theme=light] input,html[data-theme=light] select,html[data-theme=light] textarea{background:#fff;color:var(--text);border-color:var(--line);color-scheme:light}
html[data-theme=light] input::placeholder,html[data-theme=light] textarea::placeholder{color:#657b70}
html[data-theme=light] .searchbar{background:#fff;border-color:#9cb8aa}
html[data-theme=light] .searchbar input{background:transparent}
html[data-theme=light] .searchbar button{background:#e0eee6}
html[data-theme=light] .sticky-search{background:#f3f6f4f2}
html[data-theme=light] .pill{background:#fff}
html[data-theme=light] .pill.selected,html[data-theme=light] .primary{background:var(--accent);color:#fff}
html[data-theme=light] .secondary,html[data-theme=light] .related-strip>a{background:#eaf1ed}
html[data-theme=light] .context-note{background:#e5eee7;color:#3d5949}
html[data-theme=light] .status{background:#e0eee6;color:#286044}
html[data-theme=light] .status.conflict{background:#f7e8d4;color:#825218}
html[data-theme=light] .status.missing{background:#e7ece9;color:#51625a}
html[data-theme=light] .status.validated{background:#d3efdf;color:#17613c}
html[data-theme=light] .torque.unknown,html[data-theme=light] .big-value.unknown{color:#825218}
html[data-theme=light] .icon-btn.chosen,html[data-theme=light] .icon-btn:hover{background:#deeee4}
html[data-theme=light] .schedule-card{background:#f0f6e9}
html[data-theme=light] .guide-card.utilisation>a{background:linear-gradient(120deg,#efeaf9,transparent)}
html[data-theme=light] .code-card,html[data-theme=light] .code-banner{background:#fcf0f1;border-color:#e6c5cd}
html[data-theme=light] .detail-intro,html[data-theme=light] .prose p{color:#3f584c}
html[data-theme=light] th{background:#eaf1ed}
html[data-theme=light] td{background:#fff}
html[data-theme=light] .step{background:#f4f3e9;border-color:#d6d6bf}
html[data-theme=light] .conflict-note{background:#fbefdd;color:#795219}
html[data-theme=light] .validation-panel{background:#edf6ef;border-color:#b1d4ba}
html[data-theme=light] .validation-panel summary{color:#2b6340}
html[data-theme=light] .validation-panel p,html[data-theme=light] .validation-panel label{color:#46644f}
html[data-theme=light] .validation-panel .original{border-color:#b1d4ba}
html[data-theme=light] #validation-error,html[data-theme=light] .service-error,html[data-theme=light] .danger{color:#a23530}
html[data-theme=light] .work-panel{background:#eaf3ed}
html[data-theme=light] .work-panel>input{background:transparent;border-color:#b4c9bc}
html[data-theme=light] progress,html[data-theme=light] progress::-webkit-progress-bar{background:#d3e2d9}
html[data-theme=light] .garage-card{background:radial-gradient(ellipse at 95% 15%,#d5ecdf,transparent 65%),#fff;border-color:#b4d1c0}
html[data-theme=light] .garage-top .eyebrow{color:#426c55}
html[data-theme=light] .service-bell{background:#dcefe3;color:#215d3b}
html[data-theme=light] .garage-bike h2 span,html[data-theme=light] .garage-bike strong small,html[data-theme=light] .garage-next small{color:#536c5e}
html[data-theme=light] .garage-moto{color:#477c62}
html[data-theme=light] .garage-next{border-color:#ccdcd2}
html[data-theme=light] .due{color:#a33436}
html[data-theme=light] .soon{color:#865719}
html[data-theme=light] .ok{color:#3e6a23}
html[data-theme=light] .unknown{color:#536975}
html[data-theme=light] .service-entry-link{background:#e5f2dd;color:#3b6325;border-color:#c0d5af}
html[data-theme=light] .service-stats button{background:#fff;border-color:#cedbd3}
html[data-theme=light] .service-stats button.selected{background:#e1efe5;border-color:#669578}
html[data-theme=light] .service-stats span{color:#53695f}
html[data-theme=light] .service-row,html[data-theme=light] .service-panel{background:#fff;border-color:#cedbd3}
html[data-theme=light] .service-status{background:#edf1ed}
html[data-theme=light] .service-last,html[data-theme=light] .service-row-actions>a,html[data-theme=light] .service-panel label,html[data-theme=light] .service-table-action{color:#4e6b5b}
html[data-theme=light] .service-deadline{color:#243b2d}
html[data-theme=light] .service-reason,html[data-theme=light] .service-note{color:#4a6054}
html[data-theme=light] .service-row-actions{border-color:#d4dfd7}
html[data-theme=light] .service-panel input,html[data-theme=light] .service-panel select,html[data-theme=light] .service-panel textarea{background:#f7faf8;border-color:#b5cbbb;color:#233c2c;color-scheme:light}
@media print{.settings-panel{background:white;color:black}}

.rail-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}.rail-head .brand{min-width:0;font-size:13px;letter-spacing:1.2px;gap:8px}.rail-head .brandmark{width:34px;height:34px;flex-shrink:0;font-size:25px}.rail-head .brand small{font-size:7px;letter-spacing:1.5px}.global-theme-toggle{display:grid;place-items:center;width:36px;height:36px;flex-shrink:0;border:1px solid var(--line);border-radius:50%;background:var(--panel);color:var(--accent)}.global-theme-toggle:hover{background:var(--panel2)}.global-theme-toggle .ico{width:19px;height:19px}.cloud-account .logout-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-color:var(--accent);color:var(--text);font-weight:650}.logout-btn .ico{width:18px;height:18px}.cloud-account .button-row{display:flex;gap:10px;flex-wrap:wrap}
@media(max-width:760px){.rail-head{width:100%;gap:12px}.rail-head .brand{font-size:13px;letter-spacing:1.2px}.global-theme-toggle{width:40px;height:40px}.global-theme-toggle .ico{width:21px;height:21px}.cloud-account .button-row{display:grid;grid-template-columns:1fr}.cloud-account .logout-btn{width:100%}}
@media print{.global-theme-toggle{display:none!important}}

.cloud-account{margin-bottom:20px}
