.studio-editor{margin:10px 0 20px;border:1px solid #84603e;border-radius:12px;background:#171513;color:#f3e2d0;overflow:hidden;min-width:0;max-width:100%;box-shadow:0 4px 18px #0003}.studio-head,.studio-tools{display:flex;align-items:center;flex-wrap:wrap;gap:6px;padding:10px;background:#28221d;border-bottom:1px solid #624a34}.studio-head .studio-btn:last-child{margin-left:auto}.studio-btn{font:inherit!important;font-size:13px!important;line-height:1.25!important;min-height:34px;padding:7px 10px!important;border:1px solid #76583e!important;border-radius:6px!important;background:#30261d!important;color:#f4d9ba!important;cursor:pointer!important;width:auto!important;display:inline-flex!important;align-items:center;justify-content:center}.studio-btn:hover,.studio-btn.active{border-color:#e0a363!important;background:#634327!important}.studio-tools input[type=color]{width:36px!important;height:34px!important;padding:2px!important}.studio-surface,.studio-preview,.studio-source{padding:18px;min-height:240px;max-width:100%;font:16px/1.65 system-ui,sans-serif;overflow-wrap:anywhere}.studio-surface .tiptap{min-height:220px;outline:none}.studio-source{resize:vertical;display:block;width:100%;min-height:260px;font:14px/1.6 monospace!important;border:0!important;border-radius:0!important;background:#11100f!important;color:#f3e2d0!important}.studio-editor [hidden],.studio-source[hidden],.studio-tools[hidden]{display:none!important}.studio-status{padding:8px 12px;border-top:1px solid #604932;font-size:12px;color:#c9ad92}.studio-error{color:#ff958b}.studio-full{position:fixed;inset:12px;z-index:50000;overflow:auto;display:flex;flex-direction:column;margin:0;box-shadow:0 0 0 20px #000d}.studio-full .studio-surface,.studio-full .studio-source,.studio-full .studio-preview{flex:1;min-height:60vh}.studio-library{background:#211b16;color:#f4d9ba;border:1px solid #b37f49;border-radius:12px;max-width:min(90vw,900px);max-height:85vh;overflow:auto}.studio-library::backdrop{background:#000b}.studio-media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:10px;margin-top:12px}.studio-media-grid button{padding:4px!important;min-width:0}.studio-media-grid img{width:100%;aspect-ratio:1;object-fit:cover}.studio-surface img,.studio-rich img{max-width:100%;height:auto;border-radius:6px}.studio-surface table,.studio-rich table{border-collapse:collapse;width:100%;table-layout:fixed;margin:12px 0}.studio-surface td,.studio-surface th,.studio-rich td,.studio-rich th{border:1px solid #8b6846;padding:8px;overflow-wrap:anywhere;vertical-align:top}.studio-surface th,.studio-rich th{background:#a2773822}.studio-surface blockquote,.studio-rich blockquote{border-left:3px solid #be8c54;margin:12px 0;padding:4px 14px}.studio-surface pre,.studio-rich pre{overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;background:#0d0e0c;padding:12px;border-radius:6px}.studio-surface p,.studio-rich p{margin:0 0 .7em;min-height:0}.studio-surface h2,.studio-rich h2{font-size:1.5em;letter-spacing:normal}.studio-surface h3,.studio-rich h3{font-size:1.2em;letter-spacing:normal}.studio-rich{white-space:normal!important;overflow-wrap:anywhere}.studio-rich a{color:#ffd09b;text-decoration:underline}.studio-rich .dl-embed{max-width:100%}.studio-rich ul,.studio-rich ol,.studio-surface ul,.studio-surface ol{padding-left:1.6em}.studio-rich hr,.studio-surface hr{border:0;border-top:1px solid #967049;margin:16px 0}.studio-rich .dl-embed iframe{max-width:100%}.studio-case-panel{padding:12px;border:1px solid #735639;border-radius:8px;margin:10px 0}.studio-case-panel select{max-width:100%}.studio-surface .selectedCell{background:#c98c4730}@media(max-width:650px){.studio-btn{min-height:44px;font-size:12px!important}.studio-surface,.studio-preview,.studio-source{padding:12px}.studio-full{inset:4px}.studio-head .studio-btn:last-child{margin-left:0}.studio-media-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
