.studio28{color:var(--ink)}
.studio28-intro{font-size:1.125rem;font-weight:650;line-height:1.4;margin:0 0 20px}
.studio28-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start}
.studio28-controls,.studio28-preview-column{min-width:0}
.studio28 fieldset{border:0;margin:0 0 24px;padding:0;min-width:0}
.studio28 legend,.studio28-preview-column>h2{font-size:1rem;font-weight:750;margin:0 0 12px;padding:0}
.studio28 button,.studio28 select{min-height:44px;font:inherit;color:var(--ink)}
.studio28-themes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.studio28-themes button{display:flex;gap:8px;align-items:center;padding:10px;text-align:left;border:1px solid var(--control-border);border-radius:var(--r-control);background:var(--surface)}
.studio28 button[aria-pressed=true]{border-color:var(--action);box-shadow:inset 0 0 0 1px var(--action);color:var(--action);background:var(--soft)}
.studio28-swatch{display:block;width:24px;height:24px;flex:0 0 24px;border:1px solid var(--control-border);border-radius:50%}
.studio28-swatch-system{background:linear-gradient(90deg,#fff 50%,#13233f 50%)}
.studio28-swatch-daylight{background:#fcfdff}.studio28-swatch-deep{background:#13233f}.studio28-swatch-cinematic{background:#07101d}
.studio28-help{font-size:.8125rem;line-height:1.5;color:var(--muted);margin:10px 0}
.studio28-segment{display:flex;gap:8px;flex-wrap:wrap}
.studio28-segment button{flex:1;border:1px solid var(--control-border);border-radius:var(--r-control);background:var(--surface);padding:8px 12px}
.studio28-select{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;flex-wrap:wrap}
.studio28 select{background:var(--surface);border:1px solid var(--control-border);border-radius:var(--r-control);padding:8px;max-width:100%}
.studio28-check{display:flex;gap:12px;align-items:center;min-height:44px;line-height:1.4;padding:6px 0;cursor:pointer}
.studio28-check input{width:22px;height:22px;flex:0 0 22px;accent-color:var(--action);margin:0}
.studio28 details{margin-top:10px}.studio28 summary{cursor:pointer;min-height:44px;padding:12px 0;color:var(--action);line-height:1.4}
.studio28-reset{background:var(--surface);border:1px solid var(--control-border);border-radius:var(--r-control);padding:8px 12px}
.studio28-status{font-size:.8125rem;line-height:1.5;min-height:3em;color:var(--muted)}
.studio28-preview-column{position:sticky;top:0}
.studio28-preview{max-height:520px;overflow:auto;overscroll-behavior:contain;background:var(--paper);border:1px solid var(--control-border);border-radius:var(--r-card);padding-top:16px}
.studio28-preview .feed22-post{margin:0;padding-bottom:8px}
.studio28-preview .feed22{padding:0}
.studio28-preview .feed22-actions{flex-wrap:wrap}
.studio28-preview .feed22-actions [data-preview-current^="bookmark:"]{margin-left:auto}
.studio28-preview .feed27-quiet .feed22-actions>[data-preview-current^="like:"],
.studio28-preview .feed27-quiet .feed22-actions>[data-preview-current^="comment:"],
.feed28-no-comments .feed22-actions>[data-current^="comment:"],
.feed28-no-comments .feed22-actions>[data-preview-current^="comment:"]{display:none}
.studio28 :is(button,select,input,summary):focus-visible,.studio28-preview:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
@media(max-width:700px){.studio28-grid{display:flex;flex-direction:column;gap:20px}.studio28-controls,.studio28-preview-column{width:100%}.studio28-preview-column{order:-1;position:static}.studio28-preview{max-height:300px}.studio28-preview-column>h2{margin-bottom:4px}}
@media(max-width:350px){.studio28-themes{grid-template-columns:1fr}.studio28-select{display:block}.studio28-select select{display:block;width:100%;margin-top:8px}}
@media(min-width:701px){#sheet:has(.studio28){width:min(940px,calc(100vw - 40px));max-width:940px}}

.studio28-colors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.studio28-colors button{display:flex;align-items:center;gap:8px;min-height:44px;background:var(--surface);color:var(--ink);border:1px solid var(--control-border);border-radius:12px;padding:10px}.studio28-colors button[aria-pressed=true]{outline:2px solid var(--action);outline-offset:1px}.studio28-colors span{width:20px;height:20px;border-radius:50%;flex-shrink:0;border:1px solid currentColor}
[data-studio-accent=ocean] span{background:#0065b9}
[data-studio-accent=turquoise] span{background:#006c68}
[data-studio-accent=coral] span{background:#b23c28}
[data-studio-accent=violet] span{background:#713bb8}
[data-studio-accent=rose] span{background:#ab2765}
[data-studio-accent=green] span{background:#176b43}
[data-studio-accent=amber] span{background:#875600}
[data-studio-accent=indigo] span{background:#454bb0}
