:root{--sp-bg:#f4f4f5;--sp-surface:#ffffff;--sp-ink:#1a1c20;--sp-muted:#6b7280;--sp-border:#e5e7eb;--sp-border-soft:#eceae4;--sp-accent-soft:#f3ebe0;--sp-accent-ink:#7a6230;--sp-radius:12px;--sp-shadow:0 8px 20px rgba(26,28,32,0.05);--sp-font:"DM Sans",system-ui,sans-serif}.studio-shell{min-height:100vh;background:var(--sp-bg);font-family:var(--sp-font);color:var(--sp-ink)}.studio-main{min-width:0;display:flex;flex-direction:column}.studio-topbar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 20px;background:var(--sp-surface);border-bottom:1px solid var(--sp-border);position:-webkit-sticky;position:sticky;top:0;z-index:10}.studio-topbar h1{margin:0;font-size:18px;font-weight:600;letter-spacing:-.01em}.studio-topbar p{margin:4px 0 0;font-size:13px;color:var(--sp-muted)}.studio-body{padding:18px 20px 28px}.studio-grid-2{grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:16px}.studio-grid-2,.studio-grid-3{display:grid;gap:16px;align-items:start}.studio-grid-3{grid-template-columns:260px 1fr 300px;grid-gap:16px}.studio-stack{display:flex;flex-direction:column;gap:12px}.studio-panel{background:var(--sp-surface);border:1px solid var(--sp-border);border-radius:var(--sp-radius);padding:18px;box-shadow:var(--sp-shadow)}.studio-panel h2,.studio-panel h3{margin:0 0 12px;font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:var(--sp-muted);font-weight:600}.studio-field{display:flex;flex-direction:column;gap:6px;margin-bottom:12px}.studio-field label{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--sp-muted)}.studio-field input[type=color],.studio-field input[type=text],.studio-field select,.studio-field textarea{font:inherit;border:1px solid var(--sp-border);background:#fbfaf7;border-radius:8px;padding:8px 10px;color:var(--sp-ink)}.studio-field textarea{min-height:72px;resize:vertical}.studio-swatches{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:8px;gap:8px}.studio-swatch{display:flex;align-items:center;gap:8px;font-size:12px}.studio-swatch span{width:28px;height:28px;border:1px solid var(--sp-border);border-radius:6px;flex:0 0 auto}.studio-strategies{display:flex;flex-direction:column;gap:8px}.studio-strategy{text-align:left;border:1px solid var(--sp-border);background:var(--sp-surface);border-radius:8px;padding:10px 12px;cursor:pointer}.studio-strategy.is-active{border-color:var(--sp-ink);box-shadow:inset 3px 0 0 #b39a5e}.studio-strategy strong{display:block;font-size:14px}.studio-strategy small{color:var(--sp-muted);font-size:12px}.studio-btn{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid var(--sp-ink);background:var(--sp-ink);color:#fff;padding:8px 14px;font:inherit;font-size:13px;font-weight:500;border-radius:6px;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;gap:6px}.studio-btn--ghost{background:var(--sp-surface);color:var(--sp-ink)}.studio-btn-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.studio-list{list-style:none;margin:12px 0 0;padding:0;display:flex;flex-direction:column;gap:8px;max-height:420px;overflow:auto}.studio-list a,.studio-list button{width:100%;text-align:left;border:1px solid var(--sp-border);background:#fbfaf7;border-radius:8px;padding:10px 12px;font:inherit;font-size:13px;cursor:pointer;color:inherit;text-decoration:none;display:block}.studio-list a:hover,.studio-list button:hover{border-color:#c9cdd4;background:#fff}.studio-list a.is-active,.studio-list button.is-active{border-color:var(--sp-ink);background:#fff;box-shadow:inset 3px 0 0 #b39a5e}.studio-list small{display:block;color:var(--sp-muted);font-size:11px;margin-top:2px}.studio-canvas{background:var(--sp-surface);border:1px solid var(--sp-border);border-radius:var(--sp-radius);min-height:480px;overflow:auto;box-shadow:var(--sp-shadow)}.studio-canvas .rx-block{padding:16px}.studio-chip{display:inline-block;border:1px solid var(--sp-border);border-radius:999px;padding:3px 10px;font-size:11px;margin:0 6px 6px 0;background:#fbfaf7}.studio-muted{color:var(--sp-muted);font-size:13px}.studio-callout{background:var(--sp-surface);border:1px solid var(--sp-border);border-radius:var(--sp-radius);padding:14px 16px;font-size:13px;box-shadow:var(--sp-shadow)}.studio-hub-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:16px;gap:16px}.studio-hub-card{background:var(--sp-surface);border:1px solid var(--sp-border);border-radius:var(--sp-radius);padding:18px;text-decoration:none;color:inherit;min-height:160px;box-shadow:var(--sp-shadow);display:flex;flex-direction:column;gap:8px;transition:border-color .15s ease,box-shadow .15s ease}.studio-hub-card:hover{border-color:#c9cdd4;box-shadow:0 12px 28px rgba(26,28,32,.08)}.studio-hub-card strong{display:block;font-size:15px;font-weight:600;color:var(--sp-ink);letter-spacing:-.01em}.studio-hub-card p{margin:0;font-size:13px;color:var(--sp-muted);line-height:1.45;flex:1 1}.studio-hub-card em{font-style:normal;font-size:11px;color:#9ca3af}.studio-status{font-size:12px;color:var(--sp-muted)}.studio-logo-preview{display:flex;align-items:center;justify-content:center;min-height:72px;padding:12px;background:#fbfaf7;border:1px solid var(--sp-border);border-radius:8px;margin-bottom:8px}.studio-logo-preview img{max-height:56px;max-width:100%;object-fit:contain}.studio-contrast-list{list-style:none;margin:0 0 12px;padding:0;display:flex;flex-direction:column;gap:6px;font-size:12px}.studio-contrast-list li{display:grid;grid-template-columns:1fr auto auto;grid-gap:8px;gap:8px;align-items:center;padding:8px 10px;background:#fbfaf7;border:1px solid var(--sp-border);border-radius:8px}.studio-contrast-list li.is-pass em{color:#2f6b3a;font-style:normal}.studio-contrast-list li.is-fail{border-color:#b85c38}.studio-contrast-list li.is-fail em{color:#b85c38;font-style:normal}.studio-preview-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:12px}.studio-panel--sticky{position:-webkit-sticky;position:sticky;top:88px}@media (max-width:1100px){.studio-grid-2,.studio-grid-3,.studio-hub-cards{grid-template-columns:1fr}}