.dm3d-cfg{margin:0 0 1.2em;padding:16px;border:1px solid rgba(23,32,58,.14);border-radius:14px;background:#fff}
.dm3d-prev{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:10px;margin-bottom:14px}
.dm3d-prev figure{margin:0;padding:8px;background:#eef0f1;border-radius:10px}
.dm3d-prev svg{display:block;width:100%;height:auto;max-height:260px}
.dm3d-row{margin:10px 0}
.dm3d-l{display:block;font-size:.85em;color:#4a5468;margin-bottom:6px}
.dm3d-l b{color:#17203a}
.dm3d-seg{display:flex;flex-wrap:wrap;gap:6px}
.dm3d-seg button{padding:.45em .9em;border:1px solid rgba(23,32,58,.2);border-radius:999px;background:#fff;color:#17203a;cursor:pointer;font:inherit;font-size:.9em}
.dm3d-seg button.on{background:#154c7a;border-color:#154c7a;color:#fff}
.dm3d-sws{display:flex;flex-wrap:wrap;gap:8px}
.dm3d-sw{width:30px;height:30px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px rgba(23,32,58,.25);background:var(--c);cursor:pointer;padding:0}
.dm3d-sw.on{box-shadow:0 0 0 2px #154c7a}
.dm3d-item{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:10px 0}
.dm3d-item input,.dm3d-item select{width:100%;box-sizing:border-box;padding:.55em .7em;border:1px solid rgba(23,32,58,.25);border-radius:8px;font:inherit;background:#fff;color:#17203a}
.dm3d-note{font-size:.8em;color:#6a7385;margin:10px 0 0}
@media (max-width:480px){.dm3d-item{grid-template-columns:1fr}}
.dm3d-reveal{border:1px dashed currentColor;background:none;color:inherit;border-radius:6px;padding:.1em .5em;cursor:pointer;font:inherit}
