#studio-texture-picker{margin:22px 0;padding:18px;border:1px solid #b9a98e;background:#eee7dc;color:#392d20;min-width:0}#studio-texture-picker h3{font:26px Georgia,serif;margin:0 0 10px}#studio-texture-picker h4{font:18px Georgia,serif;margin:14px 0}#studio-texture-picker .studio-texture-help,#studio-texture-picker .studio-texture-status{font-size:12px;line-height:1.5;color:#665642;margin:8px 0}.studio-texture-tabs{display:flex;flex-wrap:wrap;gap:7px}.studio-texture-tabs button,.studio-texture-more{padding:8px 10px;background:transparent;border:1px solid #b9a98e;color:#392d20;font:12px Arial;cursor:pointer}.studio-texture-tabs button[aria-pressed=true]{background:#392d20;color:#f7e2c2}.studio-texture-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;max-height:400px;overflow:auto;overscroll-behavior:contain;padding:4px;min-height:100px}.studio-texture-grid button{min-width:0;padding:4px;border:1px solid #b9a98e;background:transparent;color:#392d20;cursor:pointer}.studio-texture-grid button[aria-pressed=true]{border:2px solid #765531;padding:3px}.studio-texture-grid canvas{width:100%;height:auto;display:block;background:repeating-linear-gradient(45deg,#d6cdbf,#d6cdbf 8px,#e6ddce 8px,#e6ddce 16px)}.studio-texture-grid span{display:block;font:11px Arial;margin:6px 0}.studio-texture-grid button:disabled{opacity:.6;cursor:wait}.studio-texture-more{margin-top:12px}.studio-texture-more[hidden]{display:none}#studio-texture-picker button:focus-visible{outline:2px solid #765531;outline-offset:2px}@media(max-width:600px){#studio-texture-picker{padding:12px}.studio-texture-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;max-height:340px}.studio-texture-tabs button{padding:8px;font-size:11px}}

/* Keep comparison and reset alongside surface tools. */
.studio-page .canvas-toolbar>div:first-child{display:flex;flex-wrap:wrap;gap:6px}.studio-page .canvas-toolbar .compare-control{flex:1 0 100%;min-width:0;margin:4px 0 0}.studio-page .export-row{justify-content:flex-end}

.studio-page .studio-scale-help{display:block;font-size:11px;line-height:1.4;color:#796956;margin:0 0 5px;grid-column:1/-1}

/* Hide only the visible texture codes beneath the preview tiles. */
.studio-texture-grid button>span{display:none}
