.workshop-dialog{width:min(780px,calc(100% - 18px));max-height:90dvh;overflow:auto;background:#eef0e9;color:#24333a;border:1px solid #75838a;border-radius:9px;padding:12px;box-shadow:0 12px 45px #0007;box-sizing:border-box}.workshop-dialog::backdrop{background:#101e30bb}.workshop-banner{display:flex;justify-content:space-between;align-items:start;border-radius:6px;padding:12px;background:linear-gradient(125deg,#183744,#415c60);color:#ffedc2}.workshop-banner h2{margin:3px 0;color:inherit!important;font:700 25px Georgia,serif}.workshop-banner small{font-size:10px;letter-spacing:.13em}.workshop-tools,.workshop-palette{display:flex;flex-wrap:wrap;gap:5px;margin:8px 0}.workshop-dialog button{min-height:36px}.workshop-palette button{font-size:12px;padding:5px 8px}.workshop-palette button[aria-pressed=true]{outline:3px solid #c39134;outline-offset:-3px;background:#d9e9dc;color:#1b372a}.workshop-grid{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:2px;padding:5px;background:#213d49;border-radius:5px;max-width:540px;margin:10px auto;touch-action:manipulation}.workshop-grid .workshop-cell{display:flex;justify-content:center;align-items:center;aspect-ratio:1;min-width:0;min-height:0;padding:0;border:1px solid #6c8791;border-radius:2px;background:#395361;color:#a8c3c8;font:700 clamp(14px,4vw,28px) system-ui;box-shadow:none}.workshop-grid .workshop-cell:disabled{opacity:1}.workshop-cell[data-tile="#"]{background:#677e86;color:#c8d4d7}.workshop-cell[data-tile="@"] ,.workshop-cell[data-hero=true]{background:#448cbe!important;color:#fff5d9!important}.workshop-cell[data-tile="g"]{background:#21656a;color:#9cffe1}.workshop-cell[data-tile="X"],.workshop-cell[data-tile="o"]{background:#795b35;color:#ffda84}.workshop-cell[data-tile="~"]{background:#1a799c;color:#a8f0ff}.workshop-cell[data-tile="C"],.workshop-cell[data-tile="c"],.workshop-cell[data-tile="p"]{background:#936a40;color:#ffdea0}.workshop-cell[data-tile="G"],.workshop-cell[data-tile="T"]{background:#584839;color:#edc98b}.workshop-cell[data-tile="!"],.workshop-cell[data-tile="M"]{background:#8b4557;color:#ffd1b9}.workshop-entry{border:1px solid #9aa9ae;border-radius:5px;padding:10px;margin:6px 0}.workshop-entry button{margin-right:6px}.workshop-entry p,.workshop-dialog p{margin:5px 0;font-size:13px;line-height:1.4}.workshop-feedback{font-weight:bold}.workshop-dialog label{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.workshop-dialog input{max-width:100%}.workshop-dialog [role=status]{min-height:1em}body[data-theme=dark] .workshop-dialog{background:#25333c;color:#f3ead5}@media(max-width:450px){.workshop-dialog{padding:8px}.workshop-tools button,.workshop-palette button{min-height:44px}.workshop-grid{gap:1px;padding:2px}.workshop-palette{gap:3px}.workshop-palette button{font-size:11px;padding:4px 6px}}
