.kt-wt-dialog,.kt-wt-pattern{box-sizing:border-box;width:min(1000px,96vw);max-height:88dvh;border:1px solid #d7ded8;border-radius:18px;padding:18px;background:#fafbf8;color:#263e35;font:16px/1.45 system-ui;overflow:auto}
.kt-wt-dialog::backdrop,.kt-wt-pattern::backdrop{background:#14291fcc}.kt-wt-dialog header,.kt-wt-pattern header{display:flex;align-items:center;justify-content:space-between;gap:12px}.kt-wt-dialog h2,.kt-wt-pattern h2{font-size:22px;margin:0}.kt-wt-dialog button,.kt-wt-pattern button,.kt-wt-tools input,.kt-wt-tools select{font:inherit;border:1px solid #bdc9bf;border-radius:9px;padding:10px 12px;min-height:44px;background:white;color:inherit}.kt-wt-dialog button:disabled{opacity:.6}.kt-wt-tools{display:flex;gap:10px;margin-top:15px}.kt-wt-tools input{flex:1;min-width:0}.kt-wt-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.kt-wt-card{border:1px solid #dce1d9;border-radius:12px;background:white;overflow:hidden;padding:10px}.kt-wt-card img{width:100%;height:100px;object-fit:cover;border-radius:7px}.kt-wt-card h3{font-size:17px;margin:8px 0}.kt-wt-card p{font-size:14px;margin:5px 0}.kt-wt-card button{display:block;width:100%;margin-top:7px;font-size:14px}.kt-wt-stage{height:60dvh;overflow:auto;background:#edf0eb;padding:8px}.kt-wt-stage img{width:100%;display:block}.kt-wt-dialog button:focus-visible,.kt-wt-pattern button:focus-visible{outline:3px solid #49735c;outline-offset:2px}@media(max-width:600px){.kt-wt-dialog,.kt-wt-pattern{width:98vw;padding:12px;max-height:94dvh}.kt-wt-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.kt-wt-tools{flex-wrap:wrap}.kt-wt-tools input{flex-basis:100%}.kt-wt-card button{font-size:13px;padding:8px}.kt-wt-dialog h2,.kt-wt-pattern h2{font-size:19px}}

.kt-wt-dialog,.kt-wt-pattern{position:fixed;bottom:auto;margin:0 auto}

/* Worktop appearance filter: keep native controls readable on narrow phones. */
.kt-wt-tools{flex-wrap:wrap}
.kt-wt-tools select{max-width:100%}
@media(max-width:600px){.kt-wt-tools select{flex:1 1 100%;width:100%;min-width:0}}
