:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:#182d27;background:#f4f6f5;font-size:16px;font-synthesis:none;--green:#234f40;--muted:#63716b;--line:#dce3df}
*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a,input,textarea,summary{outline-offset:4px}button{cursor:pointer}button:disabled{cursor:wait;opacity:.5}a{color:inherit}h1,h2,p{margin:0}.app-header{height:78px;padding:0 4%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:#fff}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-size:1.2rem;font-weight:750;letter-spacing:-.04em}.brand svg{width:37px;height:30px}.brand span{font-weight:400;color:var(--muted);margin-left:-5px}.header-note{font-size:.875rem;color:var(--muted)}.workspace{max-width:1540px;display:grid;grid-template-columns:366px minmax(0,1fr);gap:32px;margin:32px auto;padding:0 3%}.settings{background:white;border:1px solid var(--line);border-radius:16px;overflow:hidden}.settings-intro{padding:26px 26px 8px}.eyebrow{font-size:.75rem;font-weight:750;letter-spacing:.13em;color:#567265}h1{font-size:1.65rem;letter-spacing:-.04em;margin:8px 0}.settings-intro p{font-size:.875rem;line-height:1.5;color:var(--muted)}form{padding:0 26px 24px}fieldset{min-width:0;border:0;padding:22px 0;margin:0;border-bottom:1px solid var(--line)}legend{float:left;width:100%;font-weight:700;font-size:1rem;margin-bottom:16px}legend+*{clear:both}label{display:flex;justify-content:space-between;gap:5px;font-size:.875rem;font-weight:600;margin-bottom:7px}label span{font-size:.8125rem;font-weight:400;color:var(--muted)}input:not([type=checkbox]),textarea{display:block;width:100%;min-height:43px;border:1px solid #cbd6ce;border-radius:7px;background:#fff;color:#182d27;padding:9px 11px;transition:border-color .15s}input:focus,textarea:focus{border-color:var(--green);outline:2px solid #234f4020}input:disabled{background:#f3f5f4;color:#627169}input::placeholder,textarea::placeholder{font-size:.8125rem;color:#7c8881}textarea{resize:vertical;min-height:72px}label:not(:first-child){margin-top:13px}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}.field-row label{margin-top:0}.hint{font-size:.8125rem;line-height:1.6;color:var(--muted);margin-top:10px}.hint strong{font-weight:600}.input-prefix{position:relative}.input-prefix>span{position:absolute;left:12px;top:10px;color:var(--muted)}.input-prefix input{padding-left:41px}label.switch-row{display:flex;align-items:center;justify-content:space-between;margin:0 0 14px;position:relative;cursor:pointer;min-height:38px}.switch-row>span:first-child{font-size:.875rem;color:inherit}.switch-row strong{font-weight:650;display:block}.switch-row small{display:block;color:var(--muted);font-size:.8125rem;margin-top:4px}.switch-row input{position:absolute;right:0;opacity:0;width:40px;height:24px;cursor:pointer}.switch{width:40px;height:24px;flex:0 0 40px;border-radius:20px;background:#c5cfca;position:relative}.switch:after{content:"";width:18px;height:18px;background:white;border-radius:50%;position:absolute;left:3px;top:3px;transition:transform .15s;box-shadow:0 1px 3px #0002}.switch-row input:checked+.switch{background:var(--green)}.switch-row input:checked+.switch:after{transform:translateX(16px)}.switch-row input:focus-visible+.switch{outline:2px solid var(--green);outline-offset:4px}#auto-thickness{margin-top:18px}#magnet-fields{margin-bottom:20px}[hidden]{display:none!important}details{padding-top:18px}summary{font-size:.875rem;font-weight:600;cursor:pointer}.reset{padding:0;background:none;border:0;color:#64736b;font-size:.8125rem;margin-top:22px;text-decoration:underline;text-underline-offset:3px}.preview-panel{min-width:0;align-self:start;position:sticky;top:24px}.preview-top{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:4px 0 20px}.preview-top h2{font-size:1.3rem;letter-spacing:-.03em;margin-top:6px}.view-buttons{display:flex;padding:4px;background:#e6ece8;border-radius:9px;gap:2px}.view-buttons button{padding:8px 14px;background:none;border:0;border-radius:6px;font-size:.875rem;color:#50655a}.view-buttons button.active{background:#fff;color:#1b3528;box-shadow:0 1px 4px #0001}.viewport{position:relative;height:clamp(280px,43vw,510px);background:radial-gradient(ellipse at 50% 40%,#34423e,#1c2925);border:1px solid #1c2925;border-radius:15px;overflow:hidden}.viewport:after{content:"Ziehen zum Drehen · Scrollen zum Zoomen";position:absolute;bottom:17px;left:0;right:0;text-align:center;font-size:.75rem;color:#c2cdc5;pointer-events:none}canvas{display:block;width:100%;height:100%;touch-action:none}.model-info{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:22px 0;border-bottom:1px solid var(--line)}.model-info span{display:block;color:var(--muted);font-size:.8125rem;margin-bottom:7px}.model-info strong{font-size:.9375rem;font-weight:650}.status{font-size:.875rem;line-height:1.6;padding:15px 0 0;color:#43634f;min-height:43px;white-space:pre-line}.status.error{color:#a83e30}.status.warning{color:#8a5a0e}.export-panel{background:#fff;border:1px solid var(--line);border-radius:13px;padding:24px;margin-top:16px}.export-copy h2{font-size:1.15rem;letter-spacing:-.025em}.export-copy p{font-size:.875rem;line-height:1.6;color:var(--muted);margin-top:7px}.export-buttons{display:flex;gap:12px;margin-top:19px}.export-buttons button{min-height:47px;border-radius:7px;padding:12px 17px;font-size:.875rem;font-weight:650}.primary{border:1px solid var(--green);background:var(--green);color:#fff}.primary:hover:not(:disabled){background:#183d30}.secondary{background:#fff;border:1px solid #b8c8bf;color:var(--green)}.secondary:hover:not(:disabled){background:#f1f6f2}.export-hint{font-size:.75rem;line-height:1.65;color:var(--muted);margin-top:14px}footer{max-width:1540px;margin:40px auto 20px;padding:0 3%;display:flex;justify-content:space-between;font-size:.75rem;color:#718078}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid #496c59}input:invalid:not(:focus){border-color:#bc594e}
.switch{pointer-events:none}.switch-row input:focus-visible+.switch{outline:2px solid #496c59;outline-offset:3px}.switch-row input:checked+.switch{background:var(--green)}.switch-row input:checked+.switch:after{transform:translateX(16px)}
.header-actions{display:flex;align-items:center;gap:22px}.header-actions form{padding:0;margin:0}.logout-button{padding:8px 12px;border:1px solid #b8c8bf;border-radius:7px;background:#fff;color:var(--green);font-size:.875rem}.login-page{min-height:100svh;display:grid;place-items:center;padding:24px}.login-card{width:100%;max-width:430px;padding:34px;background:#fff;border:1px solid var(--line);border-radius:16px}.login-card h1{margin-top:30px}.login-card form{padding:0;margin-top:24px}.login-card button{width:100%;min-height:46px;margin-top:20px;border-radius:7px;font-weight:650}.login-error{color:#a83e30;font-size:.875rem;line-height:1.5;margin-top:12px}
@media(min-width:1400px){.workspace{grid-template-columns:390px minmax(0,1fr);gap:42px}.settings-intro{padding:30px 30px 8px}form{padding:0 30px 26px}.viewport{height:530px}}
@media(max-width:1050px){.workspace{grid-template-columns:330px minmax(0,1fr);gap:22px;padding:0 22px}.settings-intro{padding:22px 20px 8px}form{padding:0 20px 22px}.model-info{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:20px}.export-buttons{flex-direction:column}.preview-top{align-items:start}.view-buttons button{padding:8px 10px}.viewport{height:360px}.export-panel{padding:20px}}
@media(max-width:760px){.app-header{height:66px;padding:0 20px}.header-note{display:none}.workspace{display:flex;flex-direction:column;margin-top:22px;padding:0 16px;gap:22px}.preview-panel{position:static;order:-1}.preview-top{margin-bottom:16px}.viewport{height:300px}.model-info{grid-template-columns:repeat(2,minmax(0,1fr));padding:18px 4px;gap:16px}.export-panel{margin-top:12px}.export-buttons{flex-direction:row;flex-wrap:wrap}.export-buttons button{flex:1}.settings-intro{padding:24px 22px 8px}form{padding:0 22px 24px}footer{padding:0 20px;gap:20px;line-height:1.6}.preview-top h2{font-size:1.2rem}}
