@font-face{font-family:Werkstatt;src:local('Bahnschrift')}*{box-sizing:border-box} :root{font-family:'Segoe UI',Arial,sans-serif;color:#24342c;background:#f4f3ee;font-synthesis:none;--green:#263c32;--muted:#758077;--line:#dedfd7;--accent:#c4dc9e}body{margin:0}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.5}button:focus-visible,a:focus-visible{outline:3px solid #94b96a;outline-offset:3px}input:focus,select:focus{outline:2px solid #789960;outline-offset:1px}a{color:inherit;text-underline-offset:3px}h1,h2,h3,p{margin:0}button{border:0} [hidden]{display:none!important}.topbar{height:89px;background:var(--green);color:#f7f6ef;display:flex;align-items:center;justify-content:space-between;padding:0 30px;gap:20px}.brand{display:flex;align-items:center;gap:13px;text-decoration:none;font:600 25px Werkstatt,'Segoe UI',sans-serif;letter-spacing:-.7px}.brandmark{color:var(--accent);font-size:47px;line-height:1}.brand small{display:block;font:12px 'Segoe UI',sans-serif;letter-spacing:.1px;color:#c3ccc1;margin-top:3px}.header-actions{display:flex;align-items:center;gap:22px}.local-badge{font-size:12px;color:#d9e4ce}.local-badge:before{content:'';display:inline-block;width:7px;height:7px;background:var(--accent);border-radius:50%;margin-right:8px}.quiet{background:transparent;color:inherit;border:1px solid #657268;border-radius:6px;padding:8px 14px;font-size:12px}.workbench{display:grid;grid-template-columns:278px minmax(400px,1fr) 324px;min-height:calc(100vh - 89px)}.panel{background:#fbfbf7}.library{border-right:1px solid var(--line);display:flex;flex-direction:column;max-height:calc(100vh - 89px);position:sticky;top:0}.panel-head{padding:24px 20px 16px;display:flex;align-items:center;justify-content:space-between;gap:10px}.panel-head h1,.panel-head h2{font-size:16px;font-weight:650;letter-spacing:-.3px}.counter{background:#eceee6;border:1px solid #dee2d5;padding:3px 7px;border-radius:4px;font-size:11px;font-variant-numeric:tabular-nums}.library-filters{display:grid;gap:9px;padding:0 16px 18px;border-bottom:1px solid var(--line)}input[type=search]{background:white;padding:11px 10px;font-size:12px;width:100%}.library-filters select{font-size:12px}.symbol-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:8px;padding:14px;overflow-y:auto;flex:1;min-height:120px;scrollbar-width:thin}.symbol-tile{border:1px solid #e0e2d9;border-radius:6px;min-height:116px;background:white;display:flex;flex-direction:column;align-items:center;padding:8px;gap:6px;position:relative;text-align:center;color:#38483b}.symbol-tile:hover{border-color:#9cad8e;background:#f4f7ef}.symbol-tile.selected{border:2px solid #496d42;padding:7px;background:#f2f6e9}.symbol-tile.selected:after{content:'✓';position:absolute;top:4px;right:5px;background:#355539;color:white;border-radius:50%;font-size:9px;width:15px;height:15px;line-height:15px}.symbol-tile img{height:66px;width:85px;object-fit:contain}.symbol-tile span{font-size:10px;line-height:1.3;overflow-wrap:anywhere}.library-footer{font-size:10px;line-height:1.6;color:#717d71;padding:13px 18px;border-top:1px solid var(--line)}.more{padding:8px;background:#e9eee2;font-size:12px;margin:0 14px 12px;border-radius:4px}.empty{grid-column:1/-1;font-size:13px;padding:20px;line-height:1.6}.studio{padding:28px 30px 16px;min-width:0}.studio-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.eyebrow{font-size:12px;color:#697662}.studio-heading h2{font:500 28px Werkstatt,'Segoe UI',sans-serif;letter-spacing:-.7px;margin:6px 0;line-height:1.2}.studio-heading p{font-size:12px;color:#798273}.unit-badge{border:1px solid #d7dbd0;padding:5px 8px;border-radius:4px;color:#798273;font-size:12px}.viewport-wrap{height:clamp(330px,44vh,540px);position:relative;background:#e9ede3;border:1px solid #dce0d4;border-radius:9px;overflow:hidden}.viewport-wrap canvas{display:block;outline:none}#viewport{width:100%;height:100%;min-height:320px}.view-toolbar{display:flex;gap:4px;position:absolute;top:15px;left:15px;background:#fbfcf7e8;border:1px solid #dce0d4;padding:4px;border-radius:6px}.view-toolbar button{font-size:11px;padding:7px 9px;background:transparent;color:#71806b;border-radius:4px}.view-toolbar button.active,.view-toolbar button[aria-pressed=true]{background:#dfe8d3;color:#263d2a}.model-state{position:absolute;top:68px;left:18px;font-size:11px;background:#fffefaef;padding:6px 10px;border-radius:4px;color:#67765e;max-width:calc(100% - 36px)}.model-state.ready{background:transparent;padding:0;color:#66755a}.viewport-hint{position:absolute;bottom:16px;left:18px;font-size:10px;color:#78836e;pointer-events:none}.dimension-label{position:absolute;bottom:16px;right:18px;font-size:11px;color:#67765d;font-variant-numeric:tabular-nums}.model-summary{display:grid;grid-template-columns:1.15fr 1fr .8fr;gap:10px;padding:21px 0 23px;border-bottom:1px solid var(--line)}.summary-label{display:block;font-size:10px;color:#798372;margin-bottom:6px}.model-summary strong{font-size:12px;font-weight:600}.export-box{display:flex;flex-wrap:wrap;gap:15px;align-items:center;justify-content:space-between;padding:23px 0 0}.export-box>div:first-child{flex:1;min-width:190px}.export-box h3{font:500 20px Werkstatt,'Segoe UI',sans-serif;margin-bottom:7px;letter-spacing:-.4px}.export-box p{font-size:11px;line-height:1.6;color:#73806c;max-width:340px}.primary{background:var(--green);color:#fff;padding:14px 18px;border-radius:6px;font-size:12px;white-space:nowrap;display:flex;gap:24px;align-items:center}.primary:hover:not(:disabled){background:#3c5846}.primary span{color:var(--accent);font-size:19px}.part-downloads{display:flex;flex-wrap:wrap;gap:7px;width:100%}.part-link{display:flex;align-items:center;gap:6px;border:1px solid #dce0d3;border-radius:4px;background:#fbfcf7;font-size:10px;padding:7px 9px;color:#526449}.part-link i{height:8px;width:8px;border-radius:2px;border:1px solid #0002}.project-bar{margin-top:22px;display:flex;flex-wrap:wrap;align-items:center;gap:14px;color:#7e8677}.text-button{font-size:10px;color:#64745d;background:transparent;text-decoration:underline;text-underline-offset:3px;padding:0}#resolution-note{margin-left:auto;font-size:10px}.message{border:1px solid #dba87c;background:#fff1e2;color:#7d4528;font-size:12px;padding:13px;line-height:1.6;margin-top:15px;border-radius:5px}.message.warning{background:#f6f3d9;color:#6c652f;border-color:#ded6a4}.settings{border-left:1px solid var(--line);max-height:calc(100vh - 89px);overflow-y:auto;scrollbar-width:thin}.settings .panel-head{padding-bottom:4px}.settings fieldset{border:0;border-bottom:1px solid var(--line);padding:18px 20px 20px;margin:0}.settings legend{font-size:13px;font-weight:650;padding:20px 0 0;float:left;width:100%;margin-bottom:13px}.settings legend+*{clear:both}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:12px}.field-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}label{display:block;font-size:10px;font-weight:500;color:#5e6b59}label>span:not(.sr-only){color:#8b9386;font-size:9px;font-weight:400;float:right}input[type=number],select,input[type=search]{border:1px solid #d8ddcf;border-radius:5px;color:#2b402b;background:#fff;min-width:0}input[type=number],select{width:100%;display:block;margin-top:6px;padding:9px 8px;font-size:12px}select{padding-right:5px}.color-field{display:flex;align-items:center;justify-content:space-between;padding:9px 10px;border:1px solid #e0e3d8;border-radius:5px;margin-bottom:7px;background:#f6f7f1;font-size:11px}.color-field input[type=color]{border:0;background:transparent;width:35px;height:25px;padding:0;cursor:pointer}.color-field input[type=color]::-webkit-color-swatch-wrapper{padding:2px}.color-field input[type=color]::-webkit-color-swatch{border-radius:3px;border:1px solid #0002}.mode-picker{display:grid;gap:6px;margin-bottom:13px}.mode-picker label{border:1px solid #d8dfcf;border-radius:5px;padding:10px;display:flex;align-items:center;gap:8px;cursor:pointer}.mode-picker label:has(input:checked){border-color:#8b9f79;background:#f1f5e8}.mode-picker input{accent-color:#385a36;margin:0}.mode-picker label>span{float:none;color:#2b402b;font-size:11px}.mode-picker strong{font-size:11px;font-weight:600;display:block}.mode-picker small{display:block;font-size:9px;color:#879078;margin-top:4px}.field-note{font-size:10px;line-height:1.6;color:#87907e;margin:8px 0 12px}.wall-note{font-size:10px;color:#5b754c;border-radius:4px;padding:9px;background:#eaf0df;margin-top:13px;line-height:1.5}.wall-note.invalid{background:#ffe7db;color:#963f24}.resolution-field{margin-top:10px}dialog{max-width:640px;width:calc(100% - 32px);border:1px solid #bcc9ae;border-radius:12px;background:#fbfcf7;color:#2c402b;padding:27px}dialog::backdrop{background:#14281e99;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:18px}.dialog-head h2{font:500 24px Werkstatt,'Segoe UI',sans-serif}dialog p,dialog li{font-size:12px;line-height:1.7;margin-bottom:10px}dialog ol{padding-left:20px}.sr-only{position:absolute!important;clip:rect(1px,1px,1px,1px);height:1px;width:1px;overflow:hidden}#symbol-colors:empty{display:none}@media(min-width:1600px){.workbench{grid-template-columns:310px minmax(460px,1fr) 350px}.studio{padding:34px 44px}.symbol-list{grid-template-columns:repeat(2,minmax(0,1fr))}.viewport-wrap{height:52vh}}@media(max-width:1120px){.workbench{grid-template-columns:224px minmax(350px,1fr) 290px}.studio{padding:23px 18px}.symbol-list{padding:10px;gap:6px}.symbol-tile img{width:70px}.settings fieldset{padding-left:15px;padding-right:15px}.header-actions{gap:15px}.model-summary{grid-template-columns:1fr 1fr}.model-summary>div:last-child{grid-column:1/-1;display:flex;gap:10px;align-items:center}.model-summary>div:last-child .summary-label{margin:0}.view-toolbar button{padding:6px;font-size:10px}}@media(max-width:900px){.workbench{grid-template-columns:220px minmax(0,1fr)}.settings{grid-column:2;max-height:none;border-top:1px solid var(--line)}.studio{grid-column:2;grid-row:1}.library{grid-row:1/3;max-height:calc(100vh - 89px)}.settings form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.settings fieldset:last-child{grid-column:1/-1}.topbar{padding:0 20px}.local-badge{display:none}.viewport-wrap{height:400px}.model-summary{grid-template-columns:1fr 1fr 1fr}.model-summary>div:last-child{grid-column:auto;display:block}.model-summary>div:last-child .summary-label{margin-bottom:6px}}@media(max-width:650px){.topbar{height:77px;padding:0 16px}.brand{font-size:22px}.brand small{font-size:10px}.brandmark{font-size:38px}.header-actions{gap:0}.workbench{display:flex;flex-direction:column}.library{position:static;max-height:none;border-bottom:1px solid var(--line)}.library .panel-head{padding:15px 16px 10px}.library-filters{grid-template-columns:1fr 1fr;gap:8px;padding:0 16px 10px}.library-filters select{margin:0;padding:9px}.symbol-list{display:flex;overflow-x:auto;overflow-y:hidden;min-height:0;height:135px;padding:10px 16px;gap:8px}.symbol-tile{min-width:102px;max-width:102px;min-height:111px}.symbol-tile img{height:58px}.library-footer{display:none}.more{margin:0 16px 10px;padding:6px}.studio{padding:23px 16px}.studio-heading h2{font-size:25px}.viewport-wrap{height:360px}.view-toolbar{top:10px;left:10px}.model-state{top:60px;font-size:10px}.viewport-hint{font-size:9px;bottom:38px}.model-summary{gap:12px}.model-summary strong{font-size:10px}.summary-label{font-size:9px}.settings{max-height:none;border-top:1px solid var(--line)}.settings form{display:block}.settings fieldset{padding:15px 20px 22px}.settings label{font-size:12px}.settings input,.settings select{font-size:15px}.settings .field-note{font-size:11px}.settings .mode-picker strong{font-size:13px}.settings .mode-picker small{font-size:11px}.primary{width:100%;justify-content:space-between}.project-bar{gap:15px}.project-bar #resolution-note{margin-left:0;width:100%}.dialog-head{align-items:flex-start}.dialog-head h2{font-size:21px}}

/* Shop-Modus (?shop=1) */
.app-copyright{font-size:11px;padding:15px 24px;border-top:1px solid var(--line);background:#fbfbf7;color:#5e6b59;line-height:1.6}
.shop-panel{display:grid;gap:.6rem;width:100%}
.shop-panel h3{margin:0}
.shop-panel p{margin:0}
.shop-qty{display:flex;align-items:center;gap:.5rem;font-weight:600}
.shop-qty input{width:5rem}
.shop-actions{display:flex;flex-wrap:wrap;gap:.5rem}
.shop-price{font-weight:600;min-height:1.4em}

/* Eingebettet im Shop: bis 900 px wächst der Rahmen mit dem Inhalt, daher keine Höhen aus vh */
@media(max-width:900px){html.embedded .workbench{min-height:0}html.embedded .library{max-height:620px}html.embedded .settings{max-height:none}}
@media(max-width:650px){html.embedded .library{max-height:none}html.embedded .topbar{height:64px}html.embedded .brand small{display:none}html.embedded .shop-actions button{flex:1 1 100%}html.embedded .shop-qty input{width:100%;font-size:16px}}

.shop-set{border-top:1px solid var(--line);padding-top:18px;display:grid;gap:12px}.shop-set ul{margin:0;padding-left:20px;font-size:12px;line-height:1.8}.shop-set li{overflow-wrap:anywhere;margin-bottom:8px}.shop-set li button,#shop-set-add{padding:9px 12px;border:1px solid var(--line);border-radius:5px;background:#fff;color:var(--green)}.shop-panel .shop-set p{max-width:none}.shop-set li button:disabled{opacity:.5}

