.seg-gallery{margin:1.5rem 0 2rem}.seg-samples{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-bottom:20px}.seg-sample{padding:5px;border:1px solid #ddd;border-radius:3px;background:#fff;color:#555;cursor:pointer;font:inherit;min-width:0}.seg-sample img{display:block;width:100%;height:65px;object-fit:contain;background:#f5f5f5}.seg-sample span{display:block;font-size:11px;line-height:1.4;margin-top:5px}.seg-sample[aria-pressed=true]{border:2px solid #fc4d50;padding:4px;color:#e5353c;background:#fff8f8}.seg-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 16px}.seg-modes{display:flex;gap:0}.seg-modes button{font:inherit;font-size:12px;background:white;border:1px solid #ccc;color:#555;padding:8px 12px;cursor:pointer}.seg-modes button:first-child{border-radius:3px 0 0 3px}.seg-modes button:last-child{border-radius:0 3px 3px 0;border-left:0}.seg-modes button[aria-pressed=true]{background:#fc4d50;color:white;border-color:#fc4d50}.seg-opacity{display:flex;align-items:center;gap:8px;color:#666;font-size:12px}.seg-opacity input{width:90px;accent-color:#fc4d50}.seg-opacity output{min-width:32px;font-variant-numeric:tabular-nums}.seg-panel{margin:0!important}.seg-visual-row{display:grid;grid-template-columns:minmax(0,1fr) 175px;gap:16px;align-items:start;border:1px solid #e5e5e5;padding:12px;background:white}.seg-stage{height:430px;position:relative;background:#f5f5f5;min-width:0}.seg-stage img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;display:block;margin:0}.seg-mask{opacity:var(--mask-opacity);pointer-events:none}.seg-legend{padding:4px 0}.seg-legend>strong{display:block;font-size:13px;margin-bottom:10px}.seg-label-list{list-style:none!important;padding:0!important;margin:0!important}.seg-label-list li{display:flex;align-items:center;gap:8px;font-size:12px;line-height:1.35;margin:0 0 7px!important;overflow-wrap:anywhere}.seg-swatch{width:18px;height:9px;flex-shrink:0;display:inline-block}.seg-gallery[data-seg-mode=coarse] .seg-spatial,.seg-gallery[data-seg-mode=spatial] .seg-coarse{display:none!important}.seg-panel figcaption{font-size:13px;line-height:1.6;padding:12px 0}.seg-credit{font-size:12px!important;line-height:1.7!important;color:#777;margin-top:12px!important}.seg-credit code{font-size:11px;overflow-wrap:anywhere}.seg-sample:focus-visible,.seg-modes button:focus-visible{outline:3px solid #fc4d50;outline-offset:3px}@media(max-width:700px){.seg-samples{grid-template-columns:repeat(3,minmax(0,1fr))}.seg-visual-row{grid-template-columns:minmax(0,1fr) 145px;gap:12px}.seg-stage{height:380px}}@media(max-width:440px){.seg-visual-row{grid-template-columns:minmax(0,1fr) 112px;gap:8px;padding:8px}.seg-stage{height:310px}.seg-label-list li{font-size:10px;gap:5px}.seg-swatch{width:13px}.seg-legend>strong{font-size:12px}}
