.studio-nav {display:flex;flex-wrap:wrap;gap:.6rem;padding:1rem 0;position:relative}
.studio-nav a {text-decoration:none;color:var(--wine,#702641);padding:.7rem .9rem;border:1px solid #e6d2db;background:#fff;border-radius:2rem;font-weight:600;font-size:.9rem}
.studio-extra {margin:2rem 0;scroll-margin-top:1rem}
.extra-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr));gap:1rem}
.extra-card {background:white;border:1px solid #eadde3;border-radius:1rem;padding:1rem;min-width:0;overflow-wrap:anywhere}
.extra-card h3 {margin:.45rem 0 .65rem;line-height:1.35}
.extra-card p {white-space:pre-wrap;line-height:1.6;margin:.45rem 0 .8rem}
.extra-actions {display:flex;gap:.6rem;flex-wrap:wrap;align-items:center;margin-top:.7rem}
.extra-tools {display:flex;gap:.8rem;flex-wrap:wrap;align-items:end;margin:1rem 0}
.extra-tools label {flex:1 1 9rem;min-width:0}
.extra-tools .primary {align-self:end}
.extra-table {overflow:auto;max-width:100%}
.extra-table table {border-collapse:collapse;min-width:660px;width:100%;font-size:.9rem}
.extra-table th,.extra-table td {padding:.7rem .55rem;border-bottom:1px solid #eadde3;text-align:left;white-space:nowrap}
.extra-table th {background:#fbf3f5;color:#702641}
.extra-list {display:grid;gap:.6rem}
.extra-list .item {display:flex;flex-wrap:wrap;justify-content:space-between;gap:.6rem}
.extra-hint {font-size:.9rem;color:#725c65}
.extra-editor textarea {width:100%;min-height:7rem;padding:.7rem;border:1px solid #dccbd1;border-radius:.6rem;font:inherit}
@media(max-width:700px){.studio-nav a{flex:1 0 auto;text-align:center}.extra-tools label{flex-basis:44%}.extra-table table{min-width:550px}}
#studio-chat {max-width:38rem;margin:1rem 0}
#studio-chat textarea {width:100%;padding:.75rem;border:1px solid #dccbd1;border-radius:.6rem;font:inherit;resize:vertical}
