.sust-viewer-frame{display:grid;grid-template-columns:88px minmax(0,1fr);gap:12px;align-items:stretch;min-height:0}
.sust-viewer-frame .triptico-views{display:flex;flex-direction:column;gap:6px;margin:0;padding:6px;align-self:start;border:1px solid var(--sust-line);border-radius:14px;background:var(--sust-view-bar-background,#fffdf8);box-shadow:0 4px 16px #2e413508}
.sust-viewer-frame .triptico-views button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;width:100%;min-height:0;aspect-ratio:1;padding:5px 4px;border:1px solid transparent;border-radius:9px;background:transparent;color:var(--sust-text);font-family:"Source Sans Pro","Helvetica Neue",Arial,sans-serif;font-size:16px;font-weight:700;line-height:1.2;transition:background-color .15s,border-color .15s,color .15s}
.sust-viewer-frame .triptico-views svg{display:block;flex-shrink:0;width:40px;height:36px;margin:0;fill:none;stroke:var(--sust-green);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.sust-viewer-frame .triptico-views .preview-fill{fill:currentColor;fill-opacity:.15;stroke:none}
.sust-viewer-frame .triptico-views .preview-lines{fill:none;stroke:currentColor;stroke-width:1.3}
.sust-viewer-frame .triptico-views .preview-folds{stroke:currentColor;stroke-dasharray:3 2}
.sust-viewer-frame .triptico-views button[aria-pressed=true]{background:var(--sust-green);border-color:var(--sust-green);color:#fff}
.sust-viewer-frame .triptico-views button[aria-pressed=true] svg{stroke:currentColor}

@media(max-width:1000px){
 .sust-viewer-frame{grid-template-columns:72px minmax(0,1fr);gap:8px}
 .sust-viewer-frame .triptico-views{padding:4px}
 .sust-viewer-frame .triptico-views button{padding:4px 2px;gap:3px;font-size:14px}
 .sust-viewer-frame .triptico-views svg{width:34px;height:30px}
}
@media(max-width:720px){
 .sust-viewer-frame{display:flex;flex-direction:column;gap:10px}
 .sust-viewer-frame .triptico-views{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;width:100%;max-width:374px;padding:4px;align-self:center}
 .sust-viewer-frame .triptico-views button{min-height:0;max-width:88px;justify-self:center;padding:4px 2px;gap:4px;font-size:14px}
 .sust-viewer-frame .triptico-views svg{width:32px;height:28px}
}
