@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--blue:#2458df;--ink:#172538;--muted:#637083;--line:#e1e6ed;--pale:#eef3ff;--bg:#f8fafc}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--bg);font:16px/1.6 'DM Sans',sans-serif}button,input,select{font:inherit}button,a,input,select{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:var(--blue);text-decoration:none}a:hover{text-decoration:underline}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #89aaff;outline-offset:4px}h1,h2,h3,.brand{font-family:Manrope,sans-serif}h1{font-size:38px;letter-spacing:-1.4px;line-height:1.2;margin:12px 0 16px}h2{font-size:22px;letter-spacing:-.5px;margin:0}h3{font-size:17px;margin:0 0 8px}p{margin:0 0 16px;color:var(--muted)}small{font-size:13px;color:var(--muted)}#sidebar{position:fixed;width:265px;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);padding:30px 22px;display:flex;flex-direction:column;z-index:5}.brand{display:flex;align-items:center;gap:8px;font-weight:800;letter-spacing:-.5px;color:var(--ink);font-size:18px}.brandmark{display:grid;place-items:center;background:var(--blue);width:31px;height:34px;color:#fff;border-radius:9px 2px 9px 2px;font-size:24px;font-style:italic}.diy{font:11px 'DM Sans';border:1px solid #cbd5e1;padding:1px 4px;border-radius:3px}.guide-label{display:flex;justify-content:space-between;font-size:12px;letter-spacing:1.5px;color:#7a8595;margin:45px 10px 18px}.guide-label span{letter-spacing:0}nav button{display:flex;align-items:center;gap:12px;width:100%;text-align:left;border:0;background:none;color:var(--muted);font-size:14px;padding:13px 10px;margin:4px 0;border-radius:7px}nav button.active{color:var(--blue);background:var(--pale);font-weight:700}nav .num{border:1px solid #dae0e9;border-radius:50%;width:24px;height:24px;flex-shrink:0;text-align:center;font-size:12px;line-height:22px}nav .active .num{background:var(--blue);border-color:var(--blue);color:#fff}nav .done .num{background:#e1f5ea;color:#18774b;border-color:#e1f5ea}.sidebar-bottom{margin-top:auto;padding:30px 10px 0}.progress-heading{display:flex;justify-content:space-between;font-size:13px}progress{width:100%;height:5px;appearance:none;border:0;margin:10px 0;background:#e9edf3}progress::-webkit-progress-bar{background:#e9edf3;border-radius:5px}progress::-webkit-progress-value{background:var(--blue);border-radius:5px}.sidebar-bottom>a{display:block;margin-top:28px;padding-top:20px;border-top:1px solid var(--line);font-size:14px;color:var(--ink)}.sidebar-bottom>a span{display:block;color:var(--muted);font-size:13px}.workspace{margin-left:265px}header{height:79px;background:#fff;border-bottom:1px solid var(--line);padding:0 44px;display:flex;justify-content:space-between;align-items:center;font-size:14px;color:var(--muted)}header strong{font-weight:500;color:var(--ink)}.slash{margin:0 15px;color:#b3bdca}header>a{color:var(--ink)}#menu{display:none}main{max-width:1280px;margin:auto;padding:43px 44px 50px}.eyebrow{color:var(--blue);font-size:12px;letter-spacing:1.8px;font-weight:700}.intro{max-width:660px}.intro p{font-size:16px;max-width:600px}.page-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:28px}.tag{display:inline-flex;padding:5px 10px;border:1px solid var(--line);border-radius:5px;background:#fff;font-size:12px;color:var(--muted);white-space:nowrap}.layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:28px}.section-head{display:flex;align-items:center;justify-content:space-between;margin:28px 0 16px}.section-head:first-child{margin-top:0}.section-head small{font-size:13px}.projects{display:grid;grid-template-columns:1fr 1fr;gap:14px}.project{position:relative;text-align:left;padding:22px;background:#fff;border:1px solid var(--line);border-radius:10px;color:var(--ink);min-height:203px}.project.selected{border:2px solid var(--blue);padding:21px;background:#f5f8ff}.project .icon{width:44px;height:44px;display:grid;place-items:center;background:#edf2fa;color:#46607e;border-radius:10px;margin-bottom:17px}.project.selected .icon{background:#e4ecff;color:var(--blue)}.icon svg{width:25px;height:25px}.project p{font-size:14px;margin:5px 0 0;line-height:1.5}.radio{position:absolute;right:17px;top:18px;border:1px solid #cbd5e1;width:18px;height:18px;border-radius:50%;background:#fff}.selected .radio{border:5px solid var(--blue)}.recommended{display:inline-block;font-size:11px;font-weight:600;color:var(--blue);margin-bottom:7px;text-transform:uppercase;letter-spacing:.6px}.fieldbox{background:#fff;border:1px solid var(--line);border-radius:9px;padding:19px 20px;display:flex;align-items:center;justify-content:space-between;gap:15px}.fieldbox label{font-size:14px;font-weight:600}.fieldbox small{display:block;font-size:13px;font-weight:400}select{max-width:100%;background:#fff;border:1px solid #cfd7e3;border-radius:6px;padding:9px 30px 9px 12px;color:var(--ink);font-size:14px}.components{background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden}.component{display:flex;align-items:center;gap:14px;padding:17px 19px;border-bottom:1px solid var(--line)}.component:last-child{border:0}.component-icon{display:grid;place-items:center;flex-shrink:0;width:39px;height:39px;background:var(--bg);color:#61758c;border-radius:7px}.component-icon svg{width:23px;height:23px}.component-text{flex:1}.component strong{font-size:14px;display:block}.component small{display:block;line-height:1.4;margin-top:3px}.component .badge{font-size:11px;background:#eef2f6;padding:3px 7px;border-radius:4px;color:#647184;white-space:nowrap}.component input{width:18px;height:18px;accent-color:var(--blue);flex-shrink:0}.component a{font-size:13px}.summary{background:#fff;border:1px solid var(--line);border-radius:11px;overflow:hidden;position:sticky;top:25px}.summary-top{background:#142a49;color:#fff;padding:25px 24px}.summary-top .eyebrow{color:#a7bff2;font-size:11px}.summary-top h3{font-size:22px;margin:10px 0 3px}.summary-top p{font-size:13px;color:#b7c6d9;margin:0}.summary-content{padding:22px 23px}.summary-row{display:flex;justify-content:space-between;gap:10px;font-size:13px;padding:8px 0}.summary-row span{color:var(--muted)}.summary-content hr{border:0;border-top:1px solid var(--line);margin:16px 0}.summary-list{padding:0;list-style:none;font-size:13px}.summary-list li{margin:10px 0;display:flex;gap:8px}.summary-list li:before{content:'✓';color:var(--blue)}.primary{display:inline-flex;align-items:center;justify-content:space-between;gap:20px;background:var(--blue);border:1px solid var(--blue);color:#fff;padding:13px 19px;border-radius:6px;font-size:14px;font-weight:600}.primary:hover{background:#1948c4}.summary .primary{width:100%;margin:12px 0}.note{font-size:13px;line-height:1.6;color:var(--muted);margin-top:17px;padding:0 5px}.callout{padding:17px 19px;background:#eef3fc;border-left:3px solid var(--blue);border-radius:0 6px 6px 0;font-size:14px;margin:22px 0;color:#425671}.callout strong{display:block;color:#254671;margin-bottom:4px}.warning{background:#fff7e7;border-color:#d59a2e;color:#765921}.warning strong{color:#765921}.article{background:#fff;border:1px solid var(--line);border-radius:10px;padding:28px;margin-bottom:18px}.article h2{margin-bottom:17px}.article ol{padding-left:22px;color:var(--muted)}.article li{padding-left:5px;margin:12px 0}.article strong{color:var(--ink)}.article p:last-child{margin-bottom:0}.codebox{position:relative;background:#142338;border-radius:7px;margin:16px 0;overflow:hidden}.codebox pre{overflow:auto;color:#d6e5fb;font:13px/1.8 ui-monospace,monospace;padding:22px 18px;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.copy{position:absolute;right:7px;top:6px;font-size:11px;color:#d9e5f7;background:#2b3c53;border:0;padding:3px 7px;border-radius:4px}.checks{border-top:1px solid var(--line);margin-top:24px;padding-top:19px}.check{display:flex;align-items:flex-start;gap:10px;font-size:14px;margin:12px 0;cursor:pointer}.check input{margin-top:5px;width:17px;height:17px;accent-color:var(--blue)}.bottom-actions{display:flex;justify-content:space-between;align-items:center;margin-top:25px;gap:16px}.secondary{border:1px solid #ccd5e2;background:#fff;color:var(--ink);border-radius:6px;padding:11px 17px;font-size:14px}.primary:disabled{opacity:.45;cursor:not-allowed}table{border-collapse:collapse;width:100%;font-size:14px;margin:18px 0}td,th{text-align:left;border-bottom:1px solid var(--line);padding:12px 9px}th{background:var(--bg);font-weight:600}details{border-top:1px solid var(--line);padding:15px 0;font-size:14px}summary{cursor:pointer;font-weight:600}details p{margin-top:12px}.bus{display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px dashed #adc0dc;background:#f5f8fd;border-radius:8px;padding:18px 12px;font-size:12px;text-align:center}.bus b{padding:10px;background:#fff;border:1px solid #d1ddeb;border-radius:5px}.bus span{color:var(--blue)}footer{border-top:1px solid var(--line);margin:0 44px;padding:22px 0;display:flex;gap:17px;justify-content:space-between;font-size:12px;color:var(--muted)}footer span{margin-right:auto}.skip{position:absolute;top:-100px;z-index:20;background:#fff;padding:15px}.skip:focus{top:0}#toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);background:#172b48;color:#fff;border-radius:6px;padding:10px 20px;font-size:14px;display:none;z-index:20}@media(min-width:1500px){main{padding-top:55px}}@media(max-width:1180px){#sidebar{width:225px;padding:26px 15px}.workspace{margin-left:225px}main{padding:30px 26px}.layout{grid-template-columns:minmax(0,1fr) 250px;gap:20px}header{padding:0 26px}.projects{grid-template-columns:1fr}.project{min-height:155px}.fieldbox{align-items:flex-start;flex-direction:column}}@media(max-width:900px){.layout{grid-template-columns:1fr}.summary{position:static}.projects{grid-template-columns:1fr 1fr}.summary-top{padding:20px}.summary-content{padding:20px}.page-head .tag{display:none}footer span{display:none}}@media(max-width:650px){#sidebar{transform:translateX(-100%);width:265px;box-shadow:10px 0 30px #14233822;transition:transform .2s}#sidebar.open{transform:translateX(0)}.workspace{margin-left:0}header{height:65px;padding:0 17px;gap:14px}header>a{font-size:12px}header>span{font-size:12px;flex:1}.slash{margin:0 5px}#menu{display:block;background:none;border:0;font-size:21px;color:var(--ink)}main{padding:28px 19px}h1{font-size:31px}.projects{gap:10px}.project{padding:16px}.project.selected{padding:15px}.project h3{font-size:16px}.project p{font-size:13px}.component{padding:14px 13px;gap:10px}.component-icon{display:none}.article{padding:21px 17px}.section-head h2{font-size:19px}.section-head small{font-size:12px}.bus{flex-wrap:wrap;justify-content:center}footer{margin:0 19px;font-size:11px}.bottom-actions{align-items:stretch}.page-head{margin-bottom:22px}}
/* Einspaltige deutsche Anleitung mit direkt eingebetteten Originalabbildungen. */
main{max-width:1160px}.intro{max-width:760px}.intro p{max-width:690px}.guide-content{min-width:0}.projects{grid-template-columns:1fr 1fr}.fieldbox{flex-direction:row;align-items:center}.manual-figure{width:100%;max-width:100%;min-width:0;margin:23px auto;background:#fff;border:1px solid var(--line);border-radius:8px;overflow:hidden}.manual-figure>a{display:block;padding:12px;background:#fff}.manual-figure img{display:block;width:auto;max-width:100%;height:auto;margin:auto;object-fit:contain}.manual-figure figcaption{padding:13px 17px;border-top:1px solid var(--line);font-size:14px;color:var(--muted);line-height:1.6}.manual-figure figcaption span{display:block;margin-top:5px;font-size:12px}.start-build{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:25px 0;border-top:1px solid var(--line);margin-top:28px}.start-build p{font-size:14px;margin:4px 0 0}.article .manual-figure:last-child{margin-bottom:0}nav button{font-size:14px;gap:9px;padding-left:7px;padding-right:5px}.article p,.article li{max-width:85ch}.summary,.summary-top,.summary-content{display:none}@media(max-width:900px){.page-head{gap:15px}}@media(max-width:650px){.projects{grid-template-columns:1fr}.project{min-height:160px}.fieldbox{flex-direction:column;align-items:flex-start}.start-build{flex-direction:column;align-items:stretch}.manual-figure>a{padding:5px}.manual-figure figcaption{padding:11px 12px}.bottom-actions{flex-wrap:wrap}.bottom-actions button{flex:1}footer{flex-wrap:wrap}}

/* Die Vorschau darf ihre Spalte niemals durch die Originalbildbreite vergrößern. */
.workspace{width:calc(100% - 265px);min-width:0}
main{width:100%;min-width:0}
.guide-content,.article,.manual-figure,.manual-figure>a{min-width:0;max-width:100%}
.manual-figure>a{width:100%;overflow:hidden}
.manual-figure img{width:auto;max-width:100%;height:auto;max-height:70vh;max-height:70svh;min-width:0;object-fit:contain}
@media(max-width:1180px){.workspace{width:calc(100% - 225px)}}
@media(max-width:650px){.workspace{width:100%}}

.brand{font-size:17px;gap:7px;white-space:nowrap}.brandmark{flex-shrink:0}
.header-actions{display:flex;align-items:center;gap:20px}.header-actions>a{color:var(--ink)}.language-picker{display:flex;align-items:center;gap:8px;font-size:13px;white-space:nowrap}.language-picker select{padding:7px 25px 7px 10px;font-size:14px}
@media(max-width:1050px){header{height:auto;min-height:79px;flex-wrap:wrap;gap:12px;padding-top:14px;padding-bottom:14px}.header-actions{gap:14px}}
@media(max-width:650px){header{min-height:65px}.header-actions{width:100%;justify-content:space-between}.header-actions>a{font-size:13px}.language-picker select{max-width:145px}}

.language-icon{width:21px;height:21px;flex:0 0 21px;color:var(--blue)}

.shop-link{display:inline-flex;align-items:center;gap:8px}.shop-icon{width:21px;height:21px;flex:0 0 21px;color:var(--blue)}
.ssh-client{margin:20px 0;border:1px solid var(--line);border-radius:8px;overflow:hidden}.os-tabs{display:flex;gap:4px;padding:6px;background:var(--bg);border-bottom:1px solid var(--line)}.os-tabs button{flex:1;border:0;border-radius:5px;padding:10px 12px;font-size:15px;color:var(--muted);background:transparent}.os-tabs button[aria-selected="true"]{color:var(--blue);background:#fff;font-weight:700;box-shadow:0 1px 4px #17253815}.ssh-client [role="tabpanel"]{padding:20px}.ssh-client [hidden]{display:none}.ssh-client [role="tabpanel"] p:last-child{margin:0}

.driver-images{margin:23px 0;min-width:0}.driver-images [hidden]{display:none}.driver-images .manual-figure{margin:0}.driver-images .os-tabs{border:1px solid var(--line);border-radius:8px 8px 0 0}.driver-images .os-tabs button{font-size:14px}

.manual-figure.motor-photo{max-width:420px}

.hardware-variants>.os-tabs{flex-wrap:wrap;border:1px solid var(--line);border-radius:8px}.hardware-variants>.os-tabs button{flex:1 1 150px}.hardware-note{font-size:12px;color:var(--muted);margin:9px 0 20px}

/* Keep navigation and help reachable even on short screens. */
#sidebar{overflow-y:auto;overscroll-behavior-y:contain;max-height:100dvh}
#sidebar>*{flex-shrink:0}
@media(max-height:760px){
 #sidebar{padding-top:18px;padding-bottom:18px}
 #sidebar nav button{padding-top:8px;padding-bottom:8px;margin-top:2px;margin-bottom:2px}
 .sidebar-bottom{padding-top:16px}
 .sidebar-bottom>a{margin-top:14px;padding-top:12px}
}

.brand img{display:block;width:100%;max-width:220px;height:auto;object-fit:contain}

.manual-figure.chassis-photo{max-width:min(100%,70vh);max-width:min(100%,70svh);border:0;border-radius:0}.manual-figure.chassis-photo>a{padding:0}

/* Equal responsive photo height for all project choices, without cropping. */
.project-chassis-photo{container-type:inline-size}
.project-chassis-photo .manual-figure>a{padding:0}
.project-chassis-photo .manual-figure img{max-height:min(70vh,calc((100cqw - 2px)*460/1880))!important;max-height:min(70svh,calc((100cqw - 2px)*460/1880))!important}

.manual-figure.lte-photo{max-width:560px}

.projects{grid-template-columns:repeat(3,minmax(0,1fr))}.project{min-width:0}.project h3{overflow-wrap:anywhere}@media(max-width:900px){.projects{grid-template-columns:1fr}}

/* Four project cards: balanced rows without narrowing long titles. */
.projects{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:650px){.projects{grid-template-columns:1fr}}

/* Compact project choices: icon beside text instead of above it. */
.projects{gap:10px}
.project{display:grid;grid-template-columns:30px minmax(0,1fr);column-gap:12px;align-content:start;min-height:0;padding:14px 34px 14px 14px}
.project.selected{padding:13px 33px 13px 13px}
.project .icon{grid-column:1;grid-row:1 / 4;width:30px;height:30px;margin:0;border-radius:7px}
.project .icon svg{width:21px;height:21px}
.project .recommended,.project h3,.project p{grid-column:2}
.project .recommended{font-size:9px;line-height:1.4;margin:0 0 4px}
.project h3{font-size:16px;line-height:1.3;margin:0}
.project p{font-size:13px;line-height:1.4;margin:5px 0 0}
.project .radio{top:14px;right:12px}

/* Compact heading and introduction across all build steps. */
main{padding-top:24px}
.page-head{gap:16px;margin-bottom:16px}
.page-head .intro{min-width:0}
.page-head h1{font-size:26px;line-height:1.2;letter-spacing:-.6px;margin:6px 0 8px}
.page-head .intro p{font-size:15px;line-height:1.45;margin:0}
.page-head .tag{padding:3px 8px;font-size:11px}
.guide-content>.section-head:first-child{margin-top:0;margin-bottom:10px}
@media(max-width:650px){main{padding-top:20px}.page-head h1{font-size:23px}.page-head{margin-bottom:14px}}

.sidebar-bottom>a{display:flex;align-items:center;gap:10px}.community-icon{width:25px;height:25px;flex:0 0 25px;color:var(--blue)}
