.studio-tabs{display:flex;gap:6px;justify-content:center;padding:0 18px 12px;flex-shrink:0;overflow:auto;border-bottom:1px solid var(--border-soft)}
.art-sheet{display:block;width:100%;max-height:65vh;object-fit:contain;margin:24px 0;border-radius:var(--radius-card);background:var(--bg-surface)}
.studio-tabs button{background:transparent;padding:10px 20px;border-radius:22px;color:var(--text-secondary);white-space:nowrap;font-size:12px;min-height:40px}.studio-tabs button[aria-pressed=true]{color:var(--bg-surface);background:var(--accent-active)}
.studio-panel{flex:1;min-height:0;overflow:auto;scrollbar-gutter:stable;padding:28px 6vw 48px}.studio-panel h1{font-size:30px;font-weight:500;letter-spacing:-.7px;line-height:1.45;margin:8px 0 12px}.studio-panel h2{font-size:19px;font-weight:500;margin:28px 0 12px}.studio-panel p{line-height:1.8;font-size:13px;color:var(--text-secondary);max-width:780px}.studio-panel a{color:var(--accent-active);text-underline-offset:3px}.studio-panel .kicker{font-size:10px;letter-spacing:.15em;color:var(--text-secondary)}
.study-layout{display:grid;grid-template-columns:minmax(230px,1fr) minmax(300px,1.2fr);max-width:1100px;margin:auto;gap:50px;align-items:center;min-height:100%}.study-copy{max-width:420px}.study-copy .study-status{display:inline-block;font-size:11px;background:#e8ecdf;color:#496449;padding:6px 10px;border-radius:6px}.study-copy details{margin-top:22px;font-size:12px;color:var(--text-secondary)}.study-copy details p{font-size:12px}.study-copy pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:160px;overflow:auto;font-size:10px}.study-copy .study-links{display:flex;flex-wrap:wrap;gap:14px;font-size:12px;margin-top:22px}
.actor-stage{position:relative;min-width:0}.actor-canvas{height:min(49vh,490px);min-height:260px;max-width:440px;margin:auto}.actor-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:center;margin:12px auto}.actor-actions button,.study-button{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--border-soft);background:var(--bg-surface);border-radius:var(--radius-control);padding:10px 15px;min-height:42px;font-size:12px;text-decoration:none}.actor-actions button[aria-pressed=true]{background:#e3e8d8;border-color:#b9c7a8;color:var(--accent-active)}.actor-caption{text-align:center!important;min-height:24px;font-size:11px!important;margin:8px auto!important}.asset-preview{width:100%;height:100%;object-fit:contain}.studio-panel iframe{border:1px solid var(--border-soft);border-radius:var(--radius-card);background:var(--bg-surface);width:100%;height:70vh;margin-top:14px}.official-study{max-width:1100px;margin:auto}.official-study .study-links{display:flex;gap:18px;flex-wrap:wrap;font-size:12px}.official-study summary{font-size:13px;padding:12px 0;cursor:pointer}
.decision-intro{display:grid;grid-template-columns:1.3fr 1fr;gap:45px;align-items:start;max-width:1200px;margin:auto}.decision-summary{border-left:2px solid #a1b28a;padding-left:22px}.decision-summary p{font-size:12px}.decision-summary strong{color:var(--text-primary);font-weight:500}.research-tools{max-width:1400px;margin:30px auto 16px;display:flex;gap:12px;align-items:center;flex-wrap:wrap}.research-tools label{font-size:12px;color:var(--text-secondary)}.research-tools select,.research-tools input{font:inherit;color:var(--text-primary);padding:12px 14px;border:1px solid var(--border-soft);border-radius:12px;background:var(--bg-surface);font-size:12px}.research-tools input{flex:1;min-width:180px}.research-tools a{font-size:12px}.research-table-wrap{border:1px solid var(--border-soft);border-radius:var(--radius-card);overflow:auto;max-height:65vh;max-width:1400px;margin:auto;background:var(--bg-surface)}.research-table{border-collapse:separate;border-spacing:0;width:100%;font-size:12px;line-height:1.85}.research-table th{position:sticky;top:0;background:#e9eddf;text-align:left;font-weight:500;z-index:2}.research-table td,.research-table th{padding:16px 18px;min-width:220px;border-bottom:1px solid var(--border-soft);vertical-align:top;white-space:pre-line}.research-table td:first-child,.research-table th:first-child{position:sticky;left:0;min-width:160px;max-width:200px;font-weight:500;background:#f7f8f1;z-index:1}.research-table th:first-child{z-index:3;background:#e9eddf}.research-table td a{display:block;overflow-wrap:anywhere;font-size:10px}.research-table tr:last-child td{border-bottom:0}.research-footnote{max-width:1400px;margin:18px auto!important;font-size:11px!important}.research-source-list{display:grid;grid-template-columns:1fr 1fr;gap:9px;max-width:1100px;font-size:11px;line-height:1.7;overflow-wrap:anywhere}
@media(max-width:700px){.studio-tabs{justify-content:flex-start;padding:0 12px 8px;gap:2px}.studio-tabs button{padding:8px 14px}.studio-panel{padding:24px 20px 40px}.study-layout{grid-template-columns:1fr;gap:12px;align-items:start}.study-copy{max-width:none}.study-copy h1{font-size:25px}.study-copy details{margin-top:12px}.actor-canvas{height:340px;min-height:0}.study-copy p{margin:8px 0}.decision-intro{grid-template-columns:1fr;gap:10px}.decision-summary{padding-left:14px}.research-tools{margin-top:20px}.research-tools select{max-width:100%}.research-table td,.research-table th{min-width:210px;padding:12px}.research-table td:first-child,.research-table th:first-child{min-width:115px;max-width:130px}.research-source-list{grid-template-columns:1fr}}

.studio-panel.comparison-panel{padding:24px 3.5vw 44px}
.comparison-page{max-width:1500px;margin:auto}
.comparison-heading h1{font-size:27px;line-height:1.3;margin:8px 0}.comparison-heading p{max-width:none;margin:6px 0 18px}
.comparison-context{display:flex;align-items:center;gap:18px;border-block:1px solid var(--border-soft);padding:12px 0}
.comparison-context img{width:54px;height:70px;object-fit:contain}.comparison-context strong{font-size:13px;font-weight:500}.comparison-context p{max-width:1100px;margin:4px 0;font-size:13px}
.comparison-rules{font-size:13px;margin:12px 0 20px}.comparison-rules summary,.comparison-supplement summary{cursor:pointer;color:var(--accent-active);padding:8px 0}.comparison-rule-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.comparison-page h3{font-size:13px;font-weight:600;margin:16px 0 5px}.comparison-page section p{margin:4px 0;max-width:none;font-size:13px}.comparison-rule-grid p{font-size:12px!important}
.comparison-views{display:flex;gap:5px;border-bottom:1px solid var(--border-soft);overflow-x:auto}.comparison-views button{padding:13px 18px;border-radius:9px 9px 0 0;font-size:13px;white-space:nowrap;background:transparent;color:var(--text-secondary);border-bottom:2px solid transparent}.comparison-views button[aria-pressed=true]{color:var(--accent-active);background:#e8eddf;border-bottom-color:var(--accent-active);font-weight:600}
.comparison-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:18px 0 0}.comparison-toolbar input,.comparison-toolbar select,.comparison-supplement select{font:inherit;font-size:12px;border:1px solid var(--border-soft);border-radius:8px;background:var(--bg-surface);color:var(--text-primary);padding:10px 12px;min-height:40px}.comparison-toolbar input{flex:1;min-width:220px;max-width:500px}.comparison-toolbar label,.comparison-count,.comparison-supplement label{font-size:12px;color:var(--text-secondary)}.comparison-count{margin-left:auto;white-space:nowrap}.comparison-legend{font-size:11px!important;margin:12px 0!important;max-width:none!important}
.comparison-table-wrap{border:1px solid var(--border-soft);border-radius:10px;overflow:auto;max-height:65vh;background:var(--bg-surface);scrollbar-gutter:stable}
.comparison-table{width:100%;border-collapse:separate;border-spacing:0;font-size:13px;line-height:1.75;table-layout:fixed;min-width:860px}.comparison-table th,.comparison-table td{padding:16px;vertical-align:top;border-bottom:1px solid var(--border-soft);text-align:left;white-space:pre-line;overflow-wrap:anywhere}
.comparison-table thead th{position:sticky;top:0;z-index:3;background:#e7ecdf;font-size:12px;font-weight:600}
.comparison-table tr>th:first-child{position:sticky;left:0;z-index:2;width:180px;background:#f5f6ef;font-weight:500}.comparison-table thead th:first-child{z-index:4;background:#e7ecdf}
.comparison-table[data-view=overview] thead th:nth-child(2),.comparison-table[data-view=overview] thead th:nth-child(3){width:125px}.comparison-table[data-view=overview] thead th:nth-child(4){width:145px}.comparison-table[data-view=overview] thead th:last-child{width:auto}
.comparison-table tbody tr:not(.comparison-expanded):nth-child(2n)>td{background:#fcfcf8}.comparison-table tr:last-child>td,.comparison-table tr:last-child>th{border-bottom:0}
.comparison-route-button{display:block;text-align:left;font:inherit;line-height:1.6;padding:0;color:var(--accent-active);background:transparent;border-radius:0;text-decoration:underline;text-underline-offset:4px;font-weight:600}.comparison-table small{display:block;font-size:10px;font-weight:400;color:var(--text-secondary);margin-top:5px}.comparison-table button:focus-visible,.comparison-page :is(input,select,button,summary,a):focus-visible{outline:2px solid var(--accent-active);outline-offset:4px}
.comparison-score strong{font-size:18px;line-height:1.3;font-variant-numeric:tabular-nums;font-weight:500;color:var(--accent-active)}.score-track{display:block;height:4px;background:#e7ebdf;border-radius:6px;margin-top:10px;max-width:95px;overflow:hidden}.score-track>span{height:100%;display:block;background:#6b865e;border-radius:inherit}.score-track.difficulty{background:#eee7dc}.score-track.difficulty>span{background:#a6885e}
.comparison-table[data-view=general]{min-width:1300px}.comparison-table[data-view=daykee]{min-width:1580px}.comparison-table p{font-size:13px;line-height:1.75;margin:0;color:var(--text-primary)}.comparison-table .comparison-case{margin-top:10px;color:var(--text-secondary);font-size:12px}
.comparison-expanded>td{background:#edf1e7!important;padding:6px 24px 22px;white-space:normal}.comparison-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px 24px;max-width:1280px;position:sticky;left:0}.comparison-detail-grid p{font-size:12px!important;color:var(--text-primary);white-space:pre-line}.comparison-detail-grid a{display:block;font-size:11px;line-height:1.9;overflow-wrap:anywhere}
.comparison-note{font-size:11px!important;max-width:1200px!important;margin:16px 0!important}.comparison-empty{padding:28px;text-align:center;border:1px dashed var(--border-soft)}.comparison-empty button{background:var(--accent-active);color:var(--bg-surface);border-radius:8px;padding:10px 16px}.comparison-empty[hidden]{display:none}.comparison-source-links{display:flex;flex-wrap:wrap;gap:12px;font-size:11px;margin:16px 0}.comparison-supplement{margin-top:24px;padding-top:12px;border-top:1px solid var(--border-soft);font-size:13px}.comparison-supplement select{margin:8px 12px 16px;max-width:90%}
@media(max-width:700px){.studio-panel.comparison-panel{padding:20px 16px 32px}.comparison-heading h1{font-size:23px}.comparison-heading p,.comparison-context p{font-size:12px}.comparison-context{gap:12px}.comparison-context img{width:40px;height:64px}.comparison-views button{padding:12px 10px;font-size:12px}.comparison-toolbar input{max-width:none;flex-basis:100%}.comparison-rule-grid{grid-template-columns:1fr;gap:0}.comparison-table tr>th:first-child{width:145px}.comparison-table th,.comparison-table td{padding:12px}.comparison-table{min-width:880px}.comparison-detail-grid{grid-template-columns:1fr 1fr;max-width:calc(100vw - 68px)}.comparison-detail-grid section{grid-column:1 / -1}.comparison-table-wrap{max-height:70vh}}

/* Keep the selected character and its response in the foreground. */
body[data-studio-view=rive] .studio-panel{padding:22px 24px 30px}
.rive-presence{max-width:780px;margin:0 auto;text-align:center}
.rive-avatar-picker{display:inline-flex;gap:4px;padding:4px;margin:0 auto 14px;border:1px solid var(--border-soft);border-radius:var(--radius-control)}
.rive-avatar-picker button{padding:8px 16px;min-height:36px;font-size:12px;color:var(--text-secondary);background:transparent;border-radius:var(--radius-control)}
.rive-avatar-picker button[aria-pressed=true]{color:var(--bg-surface);background:var(--accent-active)}
.rive-outfits{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin:0 auto 14px}
.rive-outfits button{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 14px;border:1px solid var(--border-soft);border-radius:var(--radius-control);background:var(--bg-surface);color:var(--text-secondary);font-size:12px}
.rive-outfits button[aria-pressed=true]{color:var(--accent-active);border-color:var(--accent-active)}
.rive-outfits button:disabled{opacity:.5;cursor:wait}
.rive-presence :is(button,summary,a):focus-visible{outline:2px solid var(--accent-active);outline-offset:4px}
.rive-presence-heading h1{font-size:24px;line-height:1.4;letter-spacing:.02em;margin:8px 0 2px;font-weight:450}
.rive-presence-heading p{margin:4px auto 0;font-size:12px;color:var(--text-secondary)}
.rive-presence .actor-canvas{height:min(59vh,590px);min-height:320px;max-width:510px;cursor:pointer;touch-action:manipulation}
.rive-presence .actor-actions{max-width:660px;gap:8px;margin:3px auto 10px}
.rive-presence .actor-actions button{padding:10px 16px;font-size:12px}
.rive-presence .actor-actions button:last-child{background:transparent;border-color:transparent;color:var(--text-secondary)}
.rive-presence-notes{margin:28px auto 0;font-size:11px;text-align:left;max-width:600px;color:var(--text-secondary)}
.rive-presence-notes summary{text-align:center;cursor:pointer;list-style:none;text-decoration:underline;text-underline-offset:4px}
.rive-presence-notes p{font-size:12px}.rive-presence-notes pre{white-space:pre-wrap;font-size:10px;max-height:180px;overflow:auto}
.rive-presence-notes .study-links{display:flex;gap:18px;margin:16px 0}
@media(max-width:700px){body[data-studio-view=rive] .studio-panel{padding:18px 14px 24px}.rive-presence-heading h1{font-size:21px}.rive-presence .actor-canvas{height:min(52vh,450px);min-height:300px}.rive-presence .actor-actions{gap:6px;max-width:370px}.rive-presence .actor-actions button{padding:9px 11px;min-height:40px}.rive-presence-notes{margin-top:20px}}
.rive-choose-appearance{display:block;margin:0 auto 16px;padding:9px 18px;min-height:38px;border:1px solid var(--border-soft);border-radius:var(--radius-control);color:var(--accent-active);background:var(--bg-surface);font:inherit;font-size:12px}
.rive-compatibility-note{font-size:12px!important;max-width:440px;margin:0 auto 14px!important;color:var(--text-secondary)}
.humation-selector-dialog{width:min(980px,calc(100vw - 32px));height:min(850px,calc(100dvh - 32px));max-width:none;max-height:none;padding:0;border:1px solid var(--border-soft);border-radius:var(--radius-card);background:var(--bg-surface);overflow:hidden}
.humation-selector-dialog::backdrop{background:rgba(30,36,28,.35)}
.humation-selector-dialog iframe{border:0;display:block;width:100%;height:100%;background:var(--bg-surface)}
.humation-selector-status{position:absolute;bottom:0;left:0;right:0;margin:0;padding:14px 18px;background:var(--bg-surface);color:var(--text-primary);font:13px system-ui;text-align:center}
.humation-selector-status:empty{display:none}

/* Humation motion studies reuse the page controls and semantic colors. */
.rive-presence[data-avatar=humation] .actor-canvas{height:min(46vh,460px);min-height:300px}
.rive-presence[data-avatar=humation] .actor-actions{display:block;max-width:660px}
.presence-action-group{display:grid;grid-template-columns:80px repeat(4,minmax(0,1fr));gap:6px;margin:6px 0;align-items:center}
.presence-action-group>span{font-size:11px;text-align:left;color:var(--text-secondary)}
.rive-presence .presence-action-group button:last-child{background:var(--bg-surface);border-color:var(--border-soft);color:var(--text-primary)}
.rive-presence .presence-action-group button[aria-pressed=true]{background:var(--accent-active);border-color:var(--accent-active);color:var(--bg-surface)}
.presence-tone{display:flex;gap:6px;align-items:center;justify-content:center;margin:14px 0 18px;font-size:11px;color:var(--text-secondary)}
.presence-tone>span{margin-right:6px}
.presence-tone button,.presence-scenario-buttons button,.presence-wardrobe-row button{font:inherit;font-size:12px;min-height:38px;padding:8px 13px;border:1px solid var(--border-soft);border-radius:var(--radius-control);background:var(--bg-surface);color:var(--text-primary)}
.presence-tone button[aria-pressed=true],.presence-scenario-buttons button[aria-pressed=true],.presence-wardrobe-row button[aria-pressed=true]{border-color:var(--accent-active);color:var(--accent-active)}
.rive-presence button:disabled{opacity:.45;cursor:default}
.presence-scenarios{border-top:1px solid var(--border-soft);margin:24px auto 0;padding:0 0 14px;max-width:660px}
.presence-scenarios h2{font-size:15px;margin:20px 0 12px}
.presence-scenario-buttons{display:flex;gap:6px;flex-wrap:wrap;justify-content:center}
.presence-scenario-status{margin:12px auto 0!important;font-size:12px!important}
.presence-small{font-size:11px!important;margin:4px auto!important}
.presence-wardrobe,.presence-motion-map{border-top:1px solid var(--border-soft);padding:16px 0;text-align:left;font-size:12px;max-width:660px;margin:0 auto}
.presence-wardrobe summary,.presence-motion-map summary{cursor:pointer;color:var(--accent-active)}
.presence-wardrobe p,.presence-motion-map p{font-size:12px;line-height:1.8}
.presence-wardrobe-row{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin:12px 0}
.presence-wardrobe-row>span{min-width:52px;color:var(--text-secondary)}
.presence-map-scroll{overflow:auto;margin:14px 0}
.presence-map-scroll table{width:100%;min-width:600px;border-collapse:collapse;text-align:left;font-size:12px;line-height:1.8}
.presence-map-scroll th,.presence-map-scroll td{padding:12px 10px;border-bottom:1px solid var(--border-soft);vertical-align:top;font-weight:400}
.presence-map-scroll thead th{font-weight:600;color:var(--text-secondary)}
.presence-map-scroll th button{font:inherit;color:var(--accent-active);background:transparent;padding:0;white-space:nowrap;text-decoration:underline;text-underline-offset:3px}
@media(max-width:700px){.presence-action-group{grid-template-columns:repeat(4,minmax(0,1fr))}.presence-action-group>span{grid-column:1/-1;margin:7px 0 2px}.rive-presence .presence-action-group button{padding:8px 3px;font-size:11px}.rive-presence[data-avatar=humation] .actor-canvas{height:350px;min-height:260px}.presence-wardrobe-row{gap:5px}.presence-tone{margin-bottom:12px}}

/* Appearance testing stays beside the live character, without a modal round trip. */
.rive-presence[data-avatar=humation]{max-width:1040px}
.humation-preview-layout{display:grid;grid-template-columns:minmax(260px,1fr) minmax(330px,440px);gap:24px;align-items:center;margin:14px auto 22px}
.rive-presence[data-avatar=humation] .humation-preview-layout .actor-canvas{width:100%;height:min(62vh,570px);min-height:350px;position:sticky;top:8px}
.humation-quick-appearance{min-width:0;text-align:left}
.appearance-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.appearance-heading h2{font-size:14px;margin:0;color:var(--text-primary)}
.appearance-heading button{background:none;color:var(--accent-active);font-size:11px;text-decoration:underline;text-underline-offset:3px;padding:6px}
.appearance-rows{display:grid;gap:5px}
.appearance-row{display:grid;grid-template-columns:72px 30px minmax(0,1fr) 30px;gap:5px;align-items:center}
.appearance-row :is(button,select){font:inherit;font-size:12px;min-height:34px;min-width:0;border:1px solid var(--border-soft);border-radius:var(--radius-control);background:var(--bg-surface);color:var(--text-primary)}
.appearance-row select{width:100%;padding:6px 8px}
.appearance-row button:first-child{background:transparent;border-color:transparent;text-align:left;padding-left:0;color:var(--text-secondary)}
.appearance-row[data-active=true] button:first-child{color:var(--accent-active);font-weight:600}
.appearance-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;height:188px;overflow:auto;padding:4px;margin:12px -4px 2px;align-content:start;scrollbar-gutter:stable}
.appearance-grid button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:86px;min-width:0;background:var(--bg-surface);border:1px solid var(--border-soft);border-radius:var(--radius-control);color:var(--text-secondary);padding:5px}
.appearance-grid button[aria-pressed=true]{border-color:var(--accent-active);box-shadow:inset 0 0 0 1px var(--accent-active);color:var(--accent-active)}
.appearance-grid svg{height:52px;width:100%;stroke:none;stroke-width:0}
.appearance-grid span{font-size:10px;line-height:1.3;max-width:100%;text-align:center}
.studio-panel .appearance-hint,.studio-panel .appearance-status{font-size:11px;line-height:1.5;margin:5px 0;min-height:0}
.appearance-status:empty,.appearance-hint:empty{display:none}
.humation-quick-appearance .rive-outfits{justify-content:flex-start;margin:12px 0 0;gap:5px}
.humation-quick-appearance .rive-outfits button{font-size:11px;min-height:32px;padding:6px 10px}
.appearance-row select:focus-visible{outline:2px solid var(--accent-active);outline-offset:3px}
.presence-visual-settings{border-top:1px solid var(--border-soft);padding:15px 0;text-align:left;font-size:12px;max-width:660px;margin:20px auto 0}
.presence-visual-settings summary{cursor:pointer;color:var(--text-secondary)}
.presence-visual-settings .presence-tone{justify-content:flex-start;margin:8px 0 0}
.presence-scenario-option{flex:1 1 260px;min-width:0;text-align:left}
.presence-scenario-option button{width:100%;text-align:left}
.studio-panel .presence-scenario-sequence{font-size:11px;line-height:1.65;margin:5px 5px 10px!important}
@media(max-width:740px){.humation-preview-layout{grid-template-columns:1fr;gap:8px;max-width:460px}.rive-presence[data-avatar=humation] .humation-preview-layout .actor-canvas{position:static;height:300px;min-height:240px}.humation-quick-appearance{margin:0 5px}.appearance-grid{height:180px}.presence-scenario-option{flex-basis:100%}}

.presence-scenario-buttons > button{flex-basis:100%;align-self:center;min-height:38px}
.companion-modes{display:flex;gap:4px;justify-content:center;width:max-content;max-width:100%;margin:20px auto 14px;padding:4px;border:1px solid var(--border-soft);border-radius:var(--radius-card);background:var(--bg-surface)}
.companion-modes button{font:inherit;font-size:14px;padding:11px 25px;border-radius:var(--radius-control);background:transparent;color:var(--text-secondary);min-height:42px}
.companion-modes button[aria-pressed=true]{background:var(--accent-active);color:var(--bg-surface)}
.companion-character-column{min-width:0;align-self:start;position:sticky;top:8px}
.rive-presence[data-avatar=humation] .companion-character-column .actor-canvas{position:static;height:min(48vh,490px);min-height:310px}
.companion-controls{text-align:center;min-height:132px;margin:0 auto;max-width:460px}
.companion-controls[hidden]{display:none}
.studio-panel .companion-mode-note{font-size:12px;line-height:1.6;margin:0 auto 10px;color:var(--text-secondary)}
.studio-panel .companion-audio-status{font-size:11px;color:var(--accent-active);margin:8px auto}
.studio-panel .companion-transcript{font-size:13px;line-height:1.7;margin:8px auto 14px;max-width:350px;min-height:44px}
.companion-buttons{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}
.companion-buttons button{font:inherit;font-size:12px;min-height:40px;padding:10px 16px;border:1px solid var(--border-soft);border-radius:var(--radius-control);background:var(--bg-surface);color:var(--text-primary)}
.companion-buttons button:first-child{border-color:var(--accent-active);color:var(--accent-active)}
.companion-modes button:disabled,.companion-buttons button:disabled{opacity:.45;cursor:wait}
.companion-modes button:focus-visible,.companion-buttons button:focus-visible{outline:2px solid var(--accent-active);outline-offset:3px}
.studio-panel .companion-demo-note{font-size:10px;color:var(--text-secondary);margin:12px auto}
.companion-lab,.companion-policy{max-width:760px;margin:20px auto 0;border-top:1px solid var(--border-soft);padding:16px 0;text-align:left;font-size:12px;color:var(--text-secondary)}
.companion-lab>summary,.companion-policy>summary{cursor:pointer;color:var(--accent-active)}
.companion-lab .actor-actions{margin-top:18px!important}.companion-lab .presence-motion-map{margin-top:14px}
.companion-policy table{width:100%;margin:12px 0;border-collapse:collapse;font-size:12px;line-height:1.8}
.companion-policy th,.companion-policy td{padding:12px 8px;border-bottom:1px solid var(--border-soft);vertical-align:top;text-align:left}.companion-policy th{white-space:nowrap;font-weight:500;color:var(--text-primary)}
.studio-panel .companion-policy p{font-size:12px;line-height:1.8}.companion-policy a{color:var(--accent-active)}
@media(max-width:740px){.companion-modes{margin-top:14px}.companion-modes button{font-size:12px;padding:10px 16px}.companion-character-column{position:static}.rive-presence[data-avatar=humation] .companion-character-column .actor-canvas{height:330px;min-height:240px}.companion-controls{min-height:100px}.companion-policy th{white-space:normal;min-width:70px}}
