/* CarGlossary maintenance cluster: lightweight, content-first educational visuals */
.cg-fluid-visual{--fv-border:#456584;--fv-bg:#122d48;--fv-card:#214262;--fv-text:#e9f4ff;--fv-muted:#d2e5f7;margin:1.4rem 0 1.7rem;background:var(--fv-bg);border:1px solid var(--fv-border);border-radius:14px;padding:1.1rem;color:var(--fv-text)}
.cg-fluid-visual h2,.cg-fluid-visual h3,.cg-fluid-visual strong{color:var(--fv-text);margin:.2rem 0 .6rem}
.cg-fluid-visual h3{font-size:1.04rem}
.cg-fluid-visual .cg-visual-kicker{font-weight:800;color:#a6d5ff;text-transform:uppercase;letter-spacing:.09em;font-size:.7rem}
.cg-fluid-visual .cg-flow{display:flex;flex-wrap:wrap;gap:.5rem;align-items:stretch;margin:.8rem 0 .65rem}
.cg-fluid-visual .cg-node{flex:1 1 120px;min-width:110px;padding:.75rem .65rem;background:var(--fv-card);border:1px solid #6484a4;border-radius:10px;text-align:center;display:flex;flex-direction:column;justify-content:center;gap:.27rem}
.cg-fluid-visual .cg-node strong{display:block;font-size:.92rem;margin:0;line-height:1.35}
.cg-fluid-visual .cg-node span{color:var(--fv-muted);font-size:.79rem;line-height:1.3}
.cg-fluid-visual .cg-node .cg-symbol{display:block;font-size:1.45rem;line-height:1.2;margin-bottom:.15rem}
.cg-fluid-visual .cg-arrow{display:flex;align-items:center;justify-content:center;min-width:20px;color:#9ad1ff;font-size:1.25rem;font-weight:900;flex:0 0 20px}
.cg-fluid-visual .cg-visual-caption{margin:.65rem 0 0;color:var(--fv-muted);font-size:.81rem;line-height:1.55}
.cg-fluid-visual .cg-visual-note{background:rgba(129,188,248,.12);border-left:3px solid #9ad1ff;padding:.6rem .7rem;border-radius:6px;margin:.8rem 0 0;color:var(--fv-muted);font-size:.85rem}
.cg-fluid-visual .cg-visual-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin:.8rem 0}
.cg-fluid-visual .cg-path{padding:.85rem;border-radius:10px;border:1px solid #5f7e9e;background:#1b3a58}
.cg-fluid-visual .cg-path p{margin:.3rem 0;color:var(--fv-muted);font-size:.86rem;line-height:1.5}
.cg-fluid-visual .cg-path .cg-line{font-size:.9rem;font-weight:700;line-height:1.55}
.cg-fluid-visual .cg-system-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.6rem;margin:.9rem 0}
.cg-fluid-visual .cg-system{display:block;text-decoration:none;background:var(--fv-card);border:1px solid #527ca3;border-radius:10px;padding:.78rem .65rem;min-height:105px}
.cg-fluid-visual .cg-system:hover,.cg-fluid-visual .cg-system:focus-visible{border-color:#afd7ff;background:#2a5276}
.cg-fluid-visual .cg-system .cg-symbol{display:block;font-size:1.5rem;margin-bottom:.35rem}
.cg-fluid-visual .cg-system strong{display:block;font-size:.87rem;line-height:1.35;color:var(--fv-text)}
.cg-fluid-visual .cg-system small{display:block;color:var(--fv-muted);line-height:1.35;font-size:.76rem;margin-top:.25rem}
.cg-fluid-visual .cg-system a{color:inherit}
.cg-fluid-navigation{margin:1.5rem 0;border:1px solid #3b5b7a;background:#172e47;border-radius:12px;padding:.9rem 1rem}
.cg-fluid-navigation summary{cursor:pointer;font-weight:800;color:#eaf4ff}
.cg-fluid-navigation .cg-links{display:flex;flex-wrap:wrap;gap:.5rem;margin:1rem 0 .2rem}
.cg-fluid-navigation .cg-links a{border:1px solid #567b9d;background:#234764;color:#cfe7ff!important;padding:.45rem .65rem;border-radius:7px;text-decoration:none;font-size:.85rem}
.cg-fluid-navigation .cg-links a[aria-current="page"]{background:#38597a;font-weight:800;border-color:#8ac3f8}
.cg-maintenance-schedule{border:1px solid #476582;border-radius:13px;padding:1rem 1.1rem;background:#182c43;margin:1rem 0}
.cg-maintenance-schedule h3{color:#f1f7ff;margin:.25rem 0 .7rem}
.cg-maintenance-schedule .cg-schedule-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.65rem}
.cg-maintenance-schedule .cg-schedule{background:#22405e;border:1px solid #507193;border-radius:9px;padding:.8rem}
.cg-maintenance-schedule .cg-schedule strong{display:block;color:#eff7ff;font-size:.9rem;margin-bottom:.3rem}
.cg-maintenance-schedule .cg-schedule p{font-size:.82rem;color:#d0e3f5;margin:0;line-height:1.5}
.cg-maintenance-schedule .cg-schedule small{display:block;color:#a8d1f8;font-size:.73rem;margin-bottom:.3rem;text-transform:uppercase;font-weight:700}
.cg-maintenance-schedule .cg-worksheet{width:100%;border-collapse:collapse;margin:1rem 0;font-size:.85rem}
.cg-maintenance-schedule .cg-worksheet th,.cg-maintenance-schedule .cg-worksheet td{border:1px solid #52718e;padding:.5rem;text-align:left;vertical-align:middle}
.cg-maintenance-schedule .cg-worksheet th{background:#294969;color:#eff7ff}
.cg-maintenance-schedule .cg-worksheet td{height:32px;background:#213d59;color:#d7e9fa}
.cg-maintenance-schedule .cg-print{font-size:.8rem;color:#d7eaff}
[data-theme="light"] .cg-fluid-visual{--fv-border:#bed5e8;--fv-bg:#e9f3fc;--fv-card:#fff;--fv-text:#1c3651;--fv-muted:#3f5c77}
[data-theme="light"] .cg-fluid-visual .cg-node{border-color:#b4d0e6}
[data-theme="light"] .cg-fluid-visual .cg-path{background:#f7fbff;border-color:#c0d9ec}
[data-theme="light"] .cg-fluid-visual .cg-system{border-color:#abcce6}
[data-theme="light"] .cg-fluid-visual .cg-system:hover{background:#d9eaf8}
[data-theme="light"] .cg-fluid-visual .cg-visual-kicker{color:#155b96}
[data-theme="light"] .cg-fluid-visual .cg-arrow{color:#165d9d}
[data-theme="light"] .cg-fluid-visual .cg-visual-note{background:#dcecf8;color:#244a68}
[data-theme="light"] .cg-fluid-navigation{border-color:#c2d7e9;background:#eaf3fb}
[data-theme="light"] .cg-fluid-navigation summary{color:#214362}
[data-theme="light"] .cg-fluid-navigation .cg-links a{background:#fff;color:#245c8c!important;border-color:#b3cfe4}
[data-theme="light"] .cg-fluid-navigation .cg-links a[aria-current="page"]{background:#d7e9f7}
[data-theme="light"] .cg-maintenance-schedule{background:#eaf3fc;border-color:#b3cee6}
[data-theme="light"] .cg-maintenance-schedule h3{color:#20415e}
[data-theme="light"] .cg-maintenance-schedule .cg-schedule{background:#fff;border-color:#c0d5e8}
[data-theme="light"] .cg-maintenance-schedule .cg-schedule strong{color:#20415d}
[data-theme="light"] .cg-maintenance-schedule .cg-schedule p{color:#405c75}
[data-theme="light"] .cg-maintenance-schedule .cg-schedule small{color:#1d5a94}
[data-theme="light"] .cg-maintenance-schedule .cg-worksheet th{background:#dcebf7;color:#204362}
[data-theme="light"] .cg-maintenance-schedule .cg-worksheet td{background:#fff;color:#395774;border-color:#bad0e1}
[data-theme="light"] .cg-maintenance-schedule .cg-print{color:#416481}
@media(max-width:800px){.cg-fluid-visual .cg-system-grid,.cg-maintenance-schedule .cg-schedule-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:580px){.cg-fluid-visual{padding:.9rem}.cg-fluid-visual .cg-visual-columns{grid-template-columns:1fr}.cg-fluid-visual .cg-flow{flex-direction:column}.cg-fluid-visual .cg-node{width:100%;flex:auto;min-width:0;padding:.55rem}.cg-fluid-visual .cg-arrow{height:20px;flex:none;transform:rotate(90deg)}.cg-fluid-visual .cg-system-grid,.cg-maintenance-schedule .cg-schedule-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cg-fluid-visual .cg-system{padding:.65rem .55rem;min-height:90px}.cg-fluid-visual .cg-node .cg-symbol{font-size:1.3rem}.cg-maintenance-schedule .cg-worksheet{font-size:.72rem}}

/* Manually uploaded maintenance illustrations: readable and subordinate to verified guide text. */
.cg-cutaway-figure{margin:1.5rem 0 1.8rem;border:1px solid #476887;border-radius:16px;overflow:hidden;background:#0a1a2e;color:#dceeff}
.cg-cutaway-figure .cg-cutaway-heading{padding:1rem 1.15rem .35rem}
.cg-cutaway-figure .cg-cutaway-heading h2{font-size:clamp(1.28rem,2.4vw,1.65rem);line-height:1.2;color:#f2f8ff;margin:.2rem 0 .4rem}
.cg-cutaway-figure .cg-cutaway-heading p{color:#c7ddf1;line-height:1.55;margin:0;font-size:.91rem}
.cg-cutaway-figure .cg-cutaway-img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;background:#071727}
.cg-cutaway-figure .cg-cutaway-legend{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.45rem;padding:1rem 1rem .6rem}
.cg-cutaway-figure .cg-cutaway-legend a{display:flex;align-items:center;gap:.55rem;text-decoration:none;color:#e7f3ff!important;padding:.52rem .6rem;background:#18334e;border:1px solid #355a7b;border-radius:9px;font-size:.87rem;line-height:1.35}
.cg-cutaway-figure .cg-cutaway-legend a:hover,.cg-cutaway-figure .cg-cutaway-legend a:focus-visible{background:#275074;border-color:#9ec8f0}
.cg-cutaway-figure .cg-cutaway-legend .cg-index{flex:none;display:grid;place-items:center;width:1.7rem;height:1.7rem;border-radius:50%;border:1px solid #bad8f3;color:#fff;background:#294e71;font-size:.78rem;font-weight:800}
.cg-cutaway-figure figcaption{margin:0;padding:.25rem 1.15rem 1rem;color:#c4d9eb;font-size:.8rem;line-height:1.55}
.cg-fluid-artwork{margin:1.8rem 0 2rem}
.cg-fluid-artwork>h2{margin:.2rem 0 .5rem}
.cg-fluid-artwork>p{margin:.2rem 0 1rem;line-height:1.58}
.cg-fluid-artwork details{border:1px solid #446484;background:#162e46;border-radius:12px;overflow:hidden}
.cg-fluid-artwork summary{cursor:pointer;font-weight:780;padding:1rem 1.1rem;color:#e9f4ff;line-height:1.45}
.cg-fluid-artwork summary:hover,.cg-fluid-artwork summary:focus-visible{background:#254563}
.cg-fluid-artwork .cg-artwork-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem;padding:1rem}
.cg-fluid-artwork .cg-artwork-card{margin:0;min-width:0;background:#0d233a;border:1px solid #456582;border-radius:10px;overflow:hidden}
.cg-fluid-artwork .cg-artwork-card a{display:block;line-height:0}
.cg-fluid-artwork .cg-artwork-card a:focus-visible{outline:3px solid #9accff;outline-offset:-3px}
.cg-fluid-artwork .cg-artwork-card img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain}
.cg-fluid-artwork .cg-artwork-card figcaption{padding:.75rem .85rem;color:#d4e7f8;font-size:.85rem;line-height:1.52}
.cg-fluid-artwork .cg-artwork-notice{margin:0 1rem 1rem;font-size:.81rem;line-height:1.6;color:#d4e7f8}
[data-theme="light"] .cg-cutaway-figure{border-color:#bad1e5;background:#e9f2fb;color:#234460}
[data-theme="light"] .cg-cutaway-figure .cg-cutaway-heading h2{color:#1b3956}
[data-theme="light"] .cg-cutaway-figure .cg-cutaway-heading p,[data-theme="light"] .cg-cutaway-figure figcaption{color:#365a79}
[data-theme="light"] .cg-cutaway-figure .cg-cutaway-legend a{background:#fff;color:#254966!important;border-color:#b4d0e6}
[data-theme="light"] .cg-cutaway-figure .cg-cutaway-legend a:hover{background:#d7e9f9}
[data-theme="light"] .cg-fluid-artwork details{background:#e9f3fc;border-color:#bad1e5}
[data-theme="light"] .cg-fluid-artwork summary{color:#214361}
[data-theme="light"] .cg-fluid-artwork summary:hover{background:#d9eafa}
[data-theme="light"] .cg-fluid-artwork .cg-artwork-card{background:#fff;border-color:#bdcfdf}
[data-theme="light"] .cg-fluid-artwork .cg-artwork-card figcaption,[data-theme="light"] .cg-fluid-artwork .cg-artwork-notice{color:#3b5872}
@media(max-width:720px){.cg-cutaway-figure .cg-cutaway-legend{grid-template-columns:repeat(2,minmax(0,1fr));padding:.65rem}.cg-fluid-artwork .cg-artwork-grid{grid-template-columns:1fr;padding:.65rem}.cg-cutaway-figure .cg-cutaway-heading{padding:.85rem .85rem .25rem}.cg-cutaway-figure figcaption{padding:.2rem .85rem .85rem}}
@media(max-width:380px){.cg-cutaway-figure .cg-cutaway-legend{grid-template-columns:1fr}}

/* Car Fluids hub: protect the viewport from wide editable tables and gallery descendants. */
body.cg-fluids-page{max-width:100%;overflow-x:clip;background:#0c1727}
[data-theme="light"] body.cg-fluids-page{background:#f6f9fd}
.cg-fluids{width:100%;max-width:100%;overflow-x:clip}
.cg-fluids .wrap,.cg-fluids article,.cg-fluids section,.cg-fluids figure,.cg-fluids details,.cg-fluids .table-wrap,.cg-fluids .cg-maintenance-schedule{min-width:0;max-width:100%}
.cg-fluids img,.cg-fluids .cg-cutaway-img,.cg-fluids .cg-artwork-card img{max-width:100%;height:auto}
.cg-fluids .cg-system-grid>*,.cg-fluids .cg-schedule-grid>*,.cg-fluids .cg-artwork-grid>*,.cg-fluids .fluid-card>*{min-width:0}
.cg-fluids p,.cg-fluids a,.cg-fluids th,.cg-fluids td,.cg-fluids .cg-schedule{overflow-wrap:break-word}
.cg-fluids .cg-planner-jump{background:#234d77!important;color:#f5faff!important;border-color:#83bbf2!important;font-weight:800}
[data-theme="light"] .cg-fluids .cg-planner-jump{background:#195e9a!important;color:#fff!important}
.cg-fluids .cg-planner-teaser{display:flex;gap:.9rem;align-items:center;flex-wrap:wrap;min-width:0;margin:0 0 1.4rem;padding:.85rem 1rem;background:#1d3f63;border:1px solid #77b5eb;border-radius:13px;box-shadow:0 8px 22px rgba(7,21,39,.13)}
.cg-fluids .cg-planner-teaser>span{font-size:1.55rem;line-height:1}
.cg-fluids .cg-planner-teaser>div{min-width:0;flex:1 1 245px}
.cg-fluids .cg-planner-teaser strong{color:#fff;font-size:.99rem}
.cg-fluids .cg-planner-teaser p{margin:.13rem 0 0;font-size:.86rem;line-height:1.4;color:#dceaff}
.cg-fluids .cg-planner-teaser>a{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;background:#fff;color:#174b7b!important;border-radius:9px;padding:.55rem .8rem;text-decoration:none;font-size:.87rem;font-weight:800;white-space:nowrap}
.cg-fluids .cg-planner-teaser>a:hover,.cg-fluids .cg-planner-teaser>a:focus-visible{background:#d6eaff}
[data-theme="light"] .cg-fluids .cg-planner-teaser{background:#ddecfa;border-color:#7ca8cf}
[data-theme="light"] .cg-fluids .cg-planner-teaser strong{color:#173f67}
[data-theme="light"] .cg-fluids .cg-planner-teaser p{color:#345875}
[data-theme="light"] .cg-fluids .cg-planner-teaser>a{background:#145e9c;color:#fff!important}
.cg-fluids .cg-planner-section{position:relative;scroll-margin-top:96px;margin:2rem 0 2.8rem;border:2px solid #68aeea;border-radius:18px;background:linear-gradient(135deg,#163c5f 0%,#142d48 52%,#0e2339 100%);padding:1.05rem 1.15rem 1.15rem;box-shadow:0 10px 30px rgba(4,20,40,.15)}
.cg-fluids .cg-planner-header{border-bottom:1px solid #47759c;padding:.35rem .35rem 1.1rem;margin-bottom:1.1rem}
.cg-fluids .cg-planner-header h2{margin:.35rem 0 .4rem!important;color:#fff!important;font-size:clamp(1.5rem,3.5vw,2.2rem)}
.cg-fluids .cg-planner-header p{margin:0;color:#d4e8fa;max-width:65ch;font-size:.95rem}
.cg-fluids .cg-planner-badge{display:inline-block;text-transform:uppercase;letter-spacing:.075em;font-size:.73rem;font-weight:850;padding:.27rem .6rem;color:#092a4a;background:#b7e0ff;border-radius:999px}
.cg-fluids .cg-planner-section:target{outline:3px solid #95d0ff;outline-offset:4px}
.cg-fluids .cg-planner-section .cg-maintenance-schedule{background:#0e263f;border:1px solid #557ea4;padding:1rem;border-radius:12px;box-shadow:none}
.cg-fluids .cg-planner-section .cg-maintenance-schedule>h3{color:#f5faff;margin:.2rem 0 .9rem;font-size:1.12rem}
.cg-fluids .cg-planner-section .cg-schedule-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}
.cg-fluids .cg-planner-section .cg-schedule{background:#1b3958;border:1px solid #608bb0;border-left:4px solid #8bc7ff;padding:.9rem;border-radius:10px}
.cg-fluids .cg-planner-section .cg-schedule strong{font-size:1rem;line-height:1.3}
.cg-fluids .cg-planner-section .cg-schedule small{font-size:.75rem;letter-spacing:.025em}
.cg-fluids .cg-planner-section .cg-log-heading{margin:1.4rem 0 .35rem!important;font-size:1.12rem;color:#f2f9ff}
.cg-fluids .cg-log-icon{font-size:1rem;color:#b5dbff}
.cg-fluids .cg-planner-section .cg-worksheet{table-layout:fixed;width:100%;max-width:100%;margin:.7rem 0 .3rem;border-collapse:separate;border-spacing:0}
.cg-fluids .cg-planner-section .cg-worksheet th,.cg-fluids .cg-planner-section .cg-worksheet td{overflow-wrap:anywhere;word-break:normal;border:1px solid #5a82a5}
.cg-fluids .cg-planner-section .cg-worksheet th{background:#285579;color:#fff}
.cg-fluids .cg-planner-section .cg-worksheet th:first-child{width:28%}
.cg-fluids .cg-planner-section .cg-worksheet td[contenteditable]{min-height:2.3rem;background:#102d4b;cursor:text;vertical-align:middle}
.cg-fluids .cg-planner-section .cg-worksheet td[contenteditable]:hover{background:#214a70}
.cg-fluids .cg-planner-section .cg-worksheet td[contenteditable]:focus{outline:2px solid #a5ddff;outline-offset:-2px;background:#254c72}
[data-theme="light"] .cg-fluids .cg-planner-section{background:linear-gradient(135deg,#dcefff,#f0f7ff);border-color:#438ac1;box-shadow:0 10px 24px rgba(23,72,113,.09)}
[data-theme="light"] .cg-fluids .cg-planner-header{border-color:#bed8eb}
[data-theme="light"] .cg-fluids .cg-planner-header h2{color:#193f63!important}
[data-theme="light"] .cg-fluids .cg-planner-header p{color:#3a5c79}
[data-theme="light"] .cg-fluids .cg-planner-badge{background:#1e6499;color:#fff}
[data-theme="light"] .cg-fluids .cg-planner-section .cg-maintenance-schedule{background:#fff;border-color:#a8c8e1}
[data-theme="light"] .cg-fluids .cg-planner-section .cg-maintenance-schedule>h3,[data-theme="light"] .cg-fluids .cg-planner-section .cg-log-heading{color:#214665}
[data-theme="light"] .cg-fluids .cg-planner-section .cg-schedule{background:#eaf4ff;border-color:#abcde6;border-left-color:#2577b4}
[data-theme="light"] .cg-fluids .cg-planner-section .cg-worksheet th{background:#d5e8f8;color:#204765;border-color:#abc9df}
[data-theme="light"] .cg-fluids .cg-planner-section .cg-worksheet td[contenteditable]{background:#fff;border-color:#b5cfe0}
[data-theme="light"] .cg-fluids .cg-planner-section .cg-worksheet td[contenteditable]:hover{background:#eaf4fc}
[data-theme="light"] .cg-fluids .cg-planner-section .cg-worksheet td[contenteditable]:focus{background:#dbefff}
@media(max-width:740px){
  .cg-fluids .cg-planner-section{margin:1.45rem 0 2rem;padding:.7rem;border-radius:13px;scroll-margin-top:20px}
  .cg-fluids .cg-planner-section .cg-maintenance-schedule{padding:.7rem}
  .cg-fluids .cg-planner-section .cg-schedule-grid{grid-template-columns:1fr}
  .cg-fluids .cg-planner-section .cg-worksheet{display:block;width:100%;border:0}
  .cg-fluids .cg-planner-section .cg-worksheet thead{display:none}
  .cg-fluids .cg-planner-section .cg-worksheet tbody{display:block}
  .cg-fluids .cg-planner-section .cg-worksheet tr{display:block;min-width:0;width:100%;background:#183b5b;border:1px solid #537fa1;border-radius:10px;padding:.65rem;margin:.65rem 0}
  .cg-fluids .cg-planner-section .cg-worksheet th[scope="row"]{display:block;width:100%;margin:0 0 .35rem;padding:.25rem 0 .45rem;border:0;color:#eff7ff;font-weight:800}
  .cg-fluids .cg-planner-section .cg-worksheet td[contenteditable]{display:block;width:100%;min-height:2.6rem;margin:.4rem 0 0;padding:.42rem .6rem;border:1px solid #587e9e;border-radius:6px}
  .cg-fluids .cg-planner-section .cg-worksheet td[contenteditable]::before{content:attr(data-label);display:block;font-size:.71rem;font-weight:700;color:#afcee8;letter-spacing:.02em;line-height:1.3;pointer-events:none}
  .cg-fluids .cg-planner-teaser>a{width:100%}
  [data-theme="light"] .cg-fluids .cg-planner-section .cg-worksheet tr{background:#eef7ff;border-color:#b4d1e6}
  [data-theme="light"] .cg-fluids .cg-planner-section .cg-worksheet th[scope="row"]{color:#21486c}
  [data-theme="light"] .cg-fluids .cg-planner-section .cg-worksheet td[contenteditable]::before{color:#456986}
}
