.maker-dialog{width:min(1050px,95vw);max-width:95vw;max-height:90dvh;border:1px solid #bfd1c5;border-radius:19px;background:#fbf8ef;color:#254c48;padding:24px;font:14px/1.5 system-ui}.maker-dialog::backdrop{background:#102c36b3;backdrop-filter:blur(4px)}.maker-dialog-head{display:flex;align-items:start;justify-content:space-between;gap:16px}.maker-dialog h2{font:30px Georgia,serif;margin:6px 0}.maker-dialog h3{font-size:16px}.maker-dialog small{font-size:10px;letter-spacing:.1em;color:#9e6749}.maker-dialog-head>button{font-size:24px;border:0;background:none;color:inherit;padding:0 7px;cursor:pointer}.maker-dialog button{font:inherit;border:1px solid #bdd0bf;border-radius:8px;padding:9px 13px;background:#edf2e7;color:#234c47;cursor:pointer}.maker-dialog button:disabled{opacity:.4;cursor:default}.maker-dialog .maker-primary{background:#24574f;color:#fffbed}.maker-dialog label{display:block;font-size:12px;margin:8px 0}.maker-dialog input,.maker-dialog select{box-sizing:border-box;width:100%;border:1px solid #c7d6c9;border-radius:8px;padding:9px;background:white;color:inherit;font:inherit}.maker-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px}.maker-kit-layout{display:grid;grid-template-columns:1fr 1fr;gap:25px}.maker-kit-layout svg{width:100%;max-height:270px;background:#e8eee4;border-radius:12px}.maker-callout{font-size:12px;background:#e9eee1;padding:16px;border-radius:12px}.maker-dialog-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:20px;border-top:1px solid #d5dfd0;padding-top:14px}.maker-dialog-footer p{font-size:12px;margin:0}#maker-cells-grid{display:grid;gap:5px}#maker-cells-grid button{font-size:11px;padding:12px 4px;background:#d5e5d9}#maker-cells-grid [data-type=cubby]{background:#456d63;color:white}#maker-cells-grid [data-type=tray]{background:#e3ca9f}.maker-toolbox-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.maker-toolbox-toolbar label{flex:1;min-width:140px;margin:0}.maker-toolbox-filters{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:15px}.maker-toolbox-filters button[aria-pressed=true]{background:#24574f;color:white}.maker-toolbox-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(205px,1fr));gap:14px}.maker-tool-card{border:1px solid #d4ded0;border-radius:13px;padding:15px;background:#fffdf7;position:relative}.maker-tool-card h3{margin:10px 0 5px}.maker-tool-card p{font-size:12px;line-height:1.5;color:#62776a}.maker-tool-card svg{width:100%;height:75px;background:linear-gradient(135deg,#e7d8bb,#d7e6d6);border-radius:8px;padding:8px;box-sizing:border-box}.maker-tool-card .maker-star{position:absolute;top:20px;right:20px;padding:3px 8px;font-size:20px;background:#fffdf2cc}.maker-tool-card .maker-open{width:100%}.maker-cost-result{padding:22px;background:#e5eee1;border-radius:14px}.maker-cost-result strong{font-size:32px;display:block}.maker-cost-lines{width:100%;border-collapse:collapse;font-size:13px}.maker-cost-lines td{padding:8px;border-bottom:1px solid #c9d7c5}.maker-cost-lines td:last-child{text-align:right}.maker-export-actions{display:flex;flex-wrap:wrap;gap:9px;margin:15px 0}.maker-part-list{max-height:220px;overflow:auto}.maker-part-list div{padding:8px 0;border-bottom:1px solid #d4dfd0;font-size:13px}.maker-header-button{background:#e7eddf;border:1px solid #a9c4ae;border-radius:8px;padding:7px 12px;color:#254b48;font:inherit;cursor:pointer}@media(max-width:700px){.maker-kit-layout{grid-template-columns:1fr}.maker-dialog{padding:17px}.maker-toolbox-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.maker-tool-card{padding:10px}.maker-dialog-footer{flex-direction:column;align-items:stretch}}

.slicer-setup{margin:18px 0;padding:16px;border:1px solid #ccd7c5;border-radius:12px;background:#f1f3e9}.slicer-setup summary{cursor:pointer;font-weight:700}.slicer-setup li{margin:10px 0;line-height:1.5}.slicer-setup a{color:#245f56;text-decoration:underline}.slicer-dialog input{box-sizing:border-box;width:100%;padding:12px;border:1px solid #bdcbb7;border-radius:8px;background:#fffdf8}.slicer-dialog [data-status]{min-height:2.5em;line-height:1.5}.slicer-dialog button:disabled{opacity:.5;cursor:not-allowed}

.model-size-readout{padding:12px;border:1px solid #bdcdb9;background:#edf2e6;border-radius:9px;font-size:13px;font-weight:600;line-height:1.6;font-variant-numeric:tabular-nums}

/* Each card previews its project or illustrates the operation before it is opened. */
.maker-toolbox-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));align-items:stretch}
.maker-tool-card{padding:0;overflow:hidden;display:flex;flex-direction:column;border-color:#d1ddce;box-shadow:0 3px 12px #244b3b06}
.maker-tool-card .maker-preview{position:relative;display:block;width:100%;padding:0;border:0;border-radius:0;background:#edf2e9;overflow:hidden;cursor:pointer;text-align:left}
.maker-preview img{display:block;width:100%;height:auto;aspect-ratio:8/5;object-fit:contain;background:#edf2e9;transition:transform .18s ease}
.maker-preview:hover img{transform:scale(1.035)}
.maker-preview-caption{position:absolute;bottom:9px;left:10px;padding:4px 7px;border:1px solid #d2ddcd;border-radius:6px;background:#fffdf4ed;color:#466753;font-size:9px;line-height:1.2}
.maker-tool-card h3{margin:14px 15px 6px;line-height:1.3;font-size:15px}
.maker-tool-card>p{margin:0 15px 12px;flex:1}
.maker-tool-card>small{margin:0 15px 11px;letter-spacing:.03em;line-height:1.5}
.maker-tool-card .maker-open{width:calc(100% - 30px);margin:0 15px 15px;background:#e8f0e4}
.maker-tool-card .maker-star{top:9px;right:9px;min-width:34px;min-height:34px;padding:2px 7px;border-color:#c1d0bb;background:#fffdf4ed;color:#3c6551}
.maker-tool-card button:focus-visible{outline:3px solid #ac7650;outline-offset:-3px}
@media(max-width:700px){.maker-toolbox-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.maker-tool-card h3{font-size:14px;margin-inline:12px}.maker-tool-card>p,.maker-tool-card>small{margin-inline:12px}.maker-tool-card .maker-open{width:calc(100% - 24px);margin-inline:12px}.maker-preview-caption{font-size:8px;left:7px;bottom:7px}}
@media(max-width:400px){.maker-toolbox-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.maker-preview img{transition:none}}

.model-community-counts{display:flex;align-items:center;justify-content:space-between;gap:6px;flex-wrap:wrap;padding:9px 0;color:#536c5b;font:11px/1.5 system-ui,sans-serif;font-variant-numeric:tabular-nums}
.model-community-counts button{font:inherit;padding:5px 8px;border:1px solid #c8d6c1;border-radius:7px;background:#f6f8ee;color:#3a624e;cursor:pointer}
.model-community-counts button[aria-pressed=true]{background:#f0ddd1;border-color:#c99c7d;color:#7e4e36}
.model-community-counts button:disabled{opacity:.55;cursor:wait}
.stl-use-model{width:100%;margin-top:4px;background:#e6efe1;color:#2a5445}
.model-community-dialog{width:min(600px,94vw);box-sizing:border-box;max-height:90dvh;overflow:auto;padding:22px;border:1px solid #c5d6c3;border-radius:18px;background:#fffdf6;color:#254c43;font:14px/1.6 system-ui,sans-serif}
.model-community-dialog::backdrop{background:#102c36b3;backdrop-filter:blur(4px)}
.model-preview-close{position:absolute;top:12px;right:12px;z-index:1;min-width:36px;min-height:36px;background:#fffdf4;border:1px solid #bbccb9;border-radius:10px;color:#345e4d;font-size:24px;cursor:pointer}
.model-detail-image{display:block;width:100%;height:auto;max-height:40vh;object-fit:contain;border-radius:12px;background:#edf0e5}
.model-community-dialog h2{font:27px/1.2 Georgia,serif;margin:18px 0 8px}
.model-community-dialog .model-community-counts{padding:12px;background:#eef3e7;border-radius:9px;font-size:13px}
.community-note,.model-detail-setup{font-size:12px;color:#667761}.model-detail-use{width:100%;padding:12px;border:1px solid #285544;border-radius:10px;background:#285544;color:#fffbed;font:600 14px system-ui;cursor:pointer}.community-status{font-size:12px;min-height:1.5em}
