.dpst.dp-page-wrap{max-width:1284px!important;margin:0 auto!important;padding:10px 22px 76px!important;font:15px/1.55 Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#34434d}.dpst *{box-sizing:border-box}.dpst [hidden]{display:none!important}.dpst-head{background:#fff;border:1px solid #e0e8ec;border-radius:30px;padding:32px;margin-bottom:22px;box-shadow:0 18px 46px rgba(18,27,34,.06);position:relative;overflow:hidden}.dpst-head:before{content:"";position:absolute;top:0;left:36px;width:78px;height:4px;background:#2db7e5}.dpst-kicker{display:inline-flex;padding:7px 12px;margin-bottom:15px;border:1px solid #c4e8f5;border-radius:99px;color:#158fc0;font-size:11px;font-weight:750;letter-spacing:.12em}.dpst h1{font-size:29px!important;line-height:1.15!important;color:#17212b!important;font-weight:500!important;margin:0 0 12px!important}.dpst-head p{font-size:14px;color:#6d7b86;margin:0!important}.dpst-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:22px;align-items:start}.dpst-panel{min-width:0;background:#fff;border:1px solid #e0e8ec;border-radius:26px;padding:26px;box-shadow:0 14px 38px rgba(18,27,34,.055)}.dpst-preview-column{position:sticky;top:112px}.dpst h2{display:flex;align-items:center;gap:12px;font-size:20px!important;font-weight:650!important;line-height:1.3!important;color:#17212b!important;margin:0 0 20px!important}.dpst h2:not(:first-child){margin-top:28px!important}.dpst-number{display:inline-grid;place-items:center;background:#eaf8fd;color:#159bc5;border-radius:11px;width:32px;height:32px;flex-shrink:0;font-size:12px;font-weight:750}.dpst label{display:block;font-size:13px;font-weight:700;margin-bottom:17px}.dpst select,.dpst input[type=file]{display:block;width:100%;max-width:100%;margin-top:7px;padding:11px;border:1px solid #d5e1e6;border-radius:12px;background:#fafdff;color:#34434d;font:inherit;font-size:13px}.dpst input[type=range]{display:block;width:100%;margin-top:10px;accent-color:#2db7e5}.dpst output{float:right;color:#1686aa}.dpst-note{font-size:12px!important;color:#71818b!important;line-height:1.5!important}.dpst-export{border-top:1px solid #dce6ea;margin-top:24px;padding-top:6px}.dpst button[data-export]{width:100%;border:0;border-radius:14px;padding:15px 18px;background:#29a8c5;color:#fff;font-size:14px;font-weight:800;cursor:pointer}.dpst button:disabled{opacity:.55;cursor:wait}.dpst-status{font-size:12px;color:#71818b;margin:12px 0}.dpst-member{background:#f3f8fa;padding:14px;border-radius:14px;font-size:12px}.dpst-preview-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:16px}.dpst-preview-head span{font-size:10px;color:#159bc5;font-weight:750;letter-spacing:.1em}.dpst-preview-head strong{display:block;font-size:15px}.dpst canvas{display:block;width:100%;height:auto;border:1px solid #e0e9ed;border-radius:16px;touch-action:none}.dpst :focus-visible{outline:3px solid #158fc0;outline-offset:3px}@media(max-width:767px){.dpst-grid{grid-template-columns:1fr}.dpst-preview-column{position:static}.dpst-head,.dpst-panel{padding:20px}.dpst.dp-page-wrap{padding:10px 14px 60px!important}}

/* Accessible custom upload control: independent of browser locale */
.dpst-file-control{position:relative;display:flex;align-items:center;gap:12px;min-height:46px;padding:6px 10px;border:1px solid #d3e2e9;border-radius:12px;background:#f7fbfd;cursor:pointer;overflow:hidden}
.dpst-file-control input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;z-index:2}
.dpst-file-button{display:inline-block;white-space:nowrap;padding:8px 12px;background:#26a9c7;color:#fff;border-radius:8px;font-weight:700}
.dpst-filename{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#344650}
.dpst-file-control:focus-within{outline:2px solid #008ac2;outline-offset:2px}
.dpst-file-label{display:block;margin-bottom:8px;font-weight:700}

.dpst .dpst-file-control{gap:14px;padding:9px 12px;min-height:58px}.dpst .dpst-file-button{flex:none;min-width:112px;text-align:center;padding:10px 15px;font-size:12px;line-height:1.4}.dpst .dpst-filename{font-size:12px;font-weight:500;line-height:1.5}.dpst-pattern-info{display:flex;align-items:center;gap:14px;padding:12px;margin:-6px 0 20px;background:#f4f9fb;border:1px solid #dce8ed;border-radius:13px}.dpst-pattern-info canvas{width:116px;height:88px;flex:none;border-radius:8px}.dpst-pattern-info strong{display:block;font-size:13px;color:#17212b}.dpst-pattern-info p{margin:5px 0 0;color:#71818b;font-size:12px;line-height:1.5}.dpst canvas[data-canvas]{image-rendering:auto}

.dpst .dpst-file-control{gap:0!important}.dpst .dpst-file-button{margin-right:18px!important}.dpst .dpst-filename{padding-left:3px!important;font-size:13px!important}.dpst-pattern-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:8px 0 24px}.dpst-pattern-choice{border:1px solid #d5e4eb;background:#f6fbfd;border-radius:13px;padding:10px 6px;cursor:pointer;text-align:center;font-size:12px;color:#17212b}.dpst-pattern-choice[aria-pressed=true]{border:2px solid #00a6d1;background:#eaf8fd;padding:9px 5px}.dpst-pattern-choice canvas{width:100%;height:62px;border:0;border-radius:8px;margin-bottom:7px}.dpst .dpst-hidden-select{position:absolute!important;width:1px!important;height:1px!important;opacity:0;pointer-events:none}.dpst-field-title{font-size:13px;font-weight:750;margin:20px 0 10px}.dpst-scope-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.dpst .dpst-scope-grid label{border:1px solid #d5e4eb;border-radius:12px;padding:12px;background:#f6fbfd;margin:0;cursor:pointer}.dpst .dpst-scope-grid input{accent-color:#00a6d1;margin-right:6px}@media(max-width:520px){.dpst-pattern-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

.dpst-zoom{display:flex;align-items:center;gap:9px;margin-top:12px;flex-wrap:wrap}.dpst-zoom>button{border:1px solid #d5e3ea;background:#f5fafc;color:#183544;border-radius:10px;padding:9px 14px;cursor:pointer;font-weight:700}.dpst-zoom>label{display:flex;align-items:center;gap:12px;flex:1;min-width:200px;font-size:13px;font-weight:700}.dpst-zoom input{flex:1;min-width:80px}.dpst-zoom output{color:#008fb8;min-width:45px;text-align:right}.dpst-file-button{margin-right:12px!important}.dpst-filename{display:inline-block;margin-left:4px;overflow-wrap:anywhere}

/* Empty preview guidance; hidden as soon as a valid STL is loaded. */
.dpst-canvas-wrap{position:relative;min-width:0}
.dpst-canvas-wrap canvas{display:block;width:100%}
.dpst-empty-preview{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;text-align:center;padding:24px;color:#78909e;font-size:15px;pointer-events:none;background:rgba(247,251,253,.90);border:1px solid #d7e7ee;border-radius:16px}
.dpst-has-model .dpst-empty-preview{display:none}
