.studio-entry,.studio-dialog{--ink:#392a30;--berry:#772b4b;--line:#ddccca;--paper:#fffbf7;color:var(--ink)}
.studio-entry{display:grid;grid-template-columns:1.15fr 1fr;align-items:center;gap:clamp(22px,6vw,85px);padding-block:clamp(36px,7vw,90px)}
.studio-entry h2,.studio-head h2{font-weight:400;line-height:1.07;letter-spacing:-.035em}.studio-entry h2{font-size:clamp(36px,5vw,68px);margin-bottom:12px}
.studio-paths{display:grid;gap:10px;text-align:center}.studio-paths>a,.studio-link,.studio-text{text-decoration:underline;text-underline-offset:3px;color:var(--berry);padding:8px}
.studio-dialog{position:fixed;inset:0;margin:auto;border:1px solid var(--line);border-radius:20px;width:min(575px,calc(100vw - 24px));max-height:90dvh;padding:0;background:var(--paper);overflow:auto;box-shadow:0 24px 80px #34212b44}
.studio-dialog::backdrop{background:#30242aa8}body:has(.studio-dialog[open]){overflow:hidden}
.studio-dialog [hidden]{display:none!important}
.studio-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 24px 14px;border-bottom:1px solid var(--line)}
.studio-head h2{font-size:clamp(24px,4vw,33px);margin:3px 0}.studio-head small{color:var(--berry)}
.studio-close{border:1px solid var(--line);background:transparent;border-radius:50%;font-size:25px;width:44px;height:44px;flex:none}
.studio-dialog :is(button,select){cursor:pointer}.studio-dialog button:disabled{opacity:.55;cursor:default}
.studio-notice,.studio-status{font-size:.85rem;line-height:1.45;color:#69565f;padding:0 24px}.studio-notice{margin:12px 0}
.studio-log{min-height:84px;max-height:34dvh;overflow:auto;overscroll-behavior:contain;padding:0 24px;scrollbar-width:thin}
.studio-bubble{width:fit-content;max-width:90%;padding:10px 14px;border-radius:16px;background:#f1e7e2;margin:8px 0;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}
.studio-bubble.visitor{background:#74304b;color:#fff;margin-left:auto}
.studio-controls{display:flex;flex-wrap:wrap;gap:7px;padding:12px 24px}.studio-controls p{width:100%;margin:0 0 4px;font-size:.94rem}
.studio-chip,.studio-controls select{max-width:100%;border:1px solid #cbb4bd;border-radius:12px;padding:9px 12px;min-height:40px;background:#fff;color:var(--berry);font:inherit;font-size:.88rem;text-align:left}
.studio-compose{margin:4px 24px 8px;display:flex;gap:6px;align-items:center;padding:5px;border:1px solid #a48591;border-radius:12px;background:#fff}
.studio-compose input{min-width:0;flex:1;padding:10px;border:0;background:none;color:var(--ink);font:inherit;font-size:16px}.studio-send{border:0;border-radius:9px;background:var(--berry);color:white;min-height:42px;font:inherit;font-weight:600;padding:8px 14px}
.studio-footer{display:flex;gap:6px;flex-wrap:wrap;padding:8px 18px 14px}.studio-text{font:inherit;font-size:.87rem;background:transparent;border:0}.studio-status:empty{display:none}
.studio-dialog :focus-visible,.studio-paths :focus-visible{outline:3px solid #914569;outline-offset:2px}
@media(max-width:640px){.studio-entry{grid-template-columns:1fr}.studio-dialog{width:calc(100vw - 12px);max-height:95dvh}.studio-head{padding:14px 16px}.studio-log,.studio-controls,.studio-notice,.studio-status{padding-inline:16px}.studio-compose{margin-inline:16px}.studio-footer{padding-inline:10px}.studio-log{max-height:30dvh}}
