.companion-stage{color:#234762;background:linear-gradient(112deg,#eaf8ff 0%,#f1faff 45%,#e2f3fc 100%);border:1px solid #e4f3fa;border-radius:20px;justify-content:space-between;align-items:center;min-height:220px;padding:27px 34px;display:flex;position:relative;overflow:hidden}.companion-stage:before{content:"";background:#ffffff61;border-radius:50%;width:300px;height:300px;position:absolute;top:-82px;right:35px}.companion-stage-copy{z-index:2;flex:none;position:relative}.companion-eyebrow{letter-spacing:.09em;color:#6492a9;font-size:12px;font-weight:700}.companion-online-dot,.companion-state span{background:#65c9ac;border-radius:50%;width:7px;height:7px;margin-right:5px;display:inline-block}.companion-stage h2{letter-spacing:.02em;color:#244a68;margin:15px 0 9px;font-size:25px;line-height:1.3}.companion-stage h2 span{color:#edbc6b;font-size:14px}.companion-stage p{color:#7594a7;margin:0 0 16px;font-size:13px;line-height:1.8}.companion-state{color:#5685a0;background:#fffc;border-radius:20px;align-items:center;padding:6px 10px;font-size:11px;font-weight:600;display:inline-flex}.companion-scene{flex-direction:column;flex:0 42%;justify-content:center;align-self:stretch;align-items:center;width:250px;max-width:55%;display:flex;position:relative}.companion-character-button{cursor:pointer;background:0 0;border:0;border-radius:10px;flex-shrink:0;place-items:center;width:180px;max-width:100%;padding:0;display:grid}.companion-character-ring{aspect-ratio:1;background:#ffffff30;border:1px solid #c9e5f5;border-radius:50%;place-items:center;width:100%;padding:16px;display:grid}.companion-character-button:focus-visible{outline-offset:4px;outline:2px solid #4b97be}.companion-character-button:hover .companion-character-ring{background:#ffffff60}.companion-character-button:hover .companion-hint{text-decoration:underline}.companion-character-button .role-avatar,.companion-avatar-frame{width:100%;min-width:0;height:100%;min-height:0}.companion-video-frame{aspect-ratio:1;border-radius:50%;width:100%;height:100%;display:block;overflow:hidden}.companion-video{object-fit:cover;object-position:center;pointer-events:none;width:100%;height:100%;display:block}.companion-hint{color:#719cb5;margin-top:5px;font-size:11px;line-height:16px}.companion-sparkle{color:#91c8e0;pointer-events:none;position:absolute}.companion-sparkle-left{font-size:20px;bottom:25%;left:3%}.companion-sparkle-right{font-size:15px;top:17%;right:3%}@media (min-width:801px) and (max-height:850px){.companion-character-button{width:108px}.companion-character-ring{padding:10px}.companion-hint{margin-top:2px;font-size:10px;line-height:14px}}@media (max-width:520px){.companion-stage{min-height:190px;padding:23px}.companion-stage h2{font-size:21px}.companion-scene{width:190px}.companion-character-button{width:128px}.companion-character-ring{padding:11px}.companion-sparkle-left{left:-5%}.companion-sparkle-right{right:-2%}}.companion-tagline{overflow-wrap:anywhere;max-width:245px;min-height:40px}.stage-mint{background:linear-gradient(112deg,#edf8f3,#e5f4ef);border-color:#dceee4}.stage-peach{background:linear-gradient(112deg,#fff6ed,#fff0e8);border-color:#f4e8dc}.stage-lavender{background:linear-gradient(112deg,#f6f2ff,#efedfb);border-color:#e9e3f5}.stage-rose{color:#733e50;background:linear-gradient(112deg,#fff4f0,#fceef0 48%,#f6e0e6);border-color:#efd6de}.stage-rose h2{color:#673447}.stage-rose .companion-eyebrow,.stage-rose .companion-tagline,.stage-rose .companion-state{color:#8b5264}.stage-rose .companion-character-button:focus-visible{outline-color:#ae5d76}.stage-rose .companion-character-ring{border-color:#e8c1cf}.stage-rose :is(.companion-hint,.companion-sparkle){color:#aa647d}.stage-mint .companion-character-ring{border-color:#c5e4d8}.stage-peach .companion-character-ring{border-color:#ecd4bc}.stage-lavender .companion-character-ring{border-color:#dcd2f1}.stage-rose .emotion-card{border-color:#ebcfd8}.stage-rose :is(.emotion-label,.emotion-value,.emotion-value small,.emotion-reset,.emotion-reason){color:#8b5264}.stage-rose :is(.emotion-tier,.mood-neutral,.emotion-reset:hover){color:#8b5264;background:#f7e5eb}.stage-rose .emotion-meter{background:#f1dce3}.stage-rose .emotion-meter i{background:linear-gradient(90deg,#c9798e,#e9a8b1)}@media (max-width:480px){.companion-tagline{max-width:150px}}.companion-stage.has-emotion{flex-wrap:wrap;row-gap:12px;padding:20px 28px}.emotion-card{z-index:2;background:#ffffffb8;border:1px solid #92c6df57;border-radius:13px;flex:100%;justify-content:space-between;align-items:center;gap:14px;padding:8px 12px;display:flex;position:relative}.emotion-affinity{flex:auto;align-items:center;gap:8px;min-width:0;display:flex}.emotion-heart{color:#e88ba0}.emotion-label{color:#5685a0;white-space:nowrap;font-size:11px;font-weight:700}.emotion-tier{color:#4a86ab;white-space:nowrap;background:#e3f1fa;border-radius:10px;padding:2px 8px;font-size:10px;font-weight:600}.emotion-meter{background:#dcebf4;border-radius:4px;flex:auto;min-width:48px;height:6px;overflow:hidden}.emotion-meter i{background:linear-gradient(90deg,#7cc4e8,#e8a4b8);border-radius:4px;height:100%;transition:width .5s;display:block}.emotion-value{color:#3d6d8c;font-variant-numeric:tabular-nums;white-space:nowrap;font-size:12px;font-weight:700}.emotion-value small{color:#8fb2c6;font-size:9px;font-weight:500}.emotion-reset{color:#8fb2c6;background:0 0;border-radius:6px;padding:4px;display:inline-flex}.emotion-reset:hover{color:#4a86ab;background:#e3f1fa}.emotion-now{flex:0 auto;align-items:center;gap:8px;min-width:0;display:flex}.emotion-mood{white-space:nowrap;border-radius:10px;padding:2px 9px;font-size:10px;font-weight:700}.mood-neutral{color:#6d93a9;background:#e7f0f6}.mood-happy{color:#c08a3e;background:#fdf1dc}.mood-shy{color:#cf7292;background:#fde8ee}.mood-comforting{color:#4fa583;background:#e2f5ec}.mood-sleepy{color:#8579bd;background:#ece9f8}.emotion-reason{color:#8fb2c6;text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.companion-reduced .emotion-meter i{transition:none}@media (max-width:640px){.emotion-card{flex-direction:column;align-items:stretch;gap:8px}.emotion-now{justify-content:flex-start}}@media (prefers-reduced-motion:reduce){.emotion-meter i{transition:none}}
.role-avatar{--avatar-bg:#e6f5fd;--avatar-main:#80bee0;--avatar-light:#e6f8ff;--avatar-dark:#3f799d;flex-shrink:0;justify-content:center;align-items:center;width:100%;height:100%;display:inline-flex}.avatar-save-row{justify-content:space-between;align-items:center;gap:12px;margin:8px 0 22px;display:flex}.avatar-save-row>span{color:#7894a7;font-size:11px;line-height:1.6}.avatar-save-row button{flex-shrink:0;padding:8px 12px}.role-avatar-mint{--avatar-bg:#e7f7f0;--avatar-main:#8bc9b1;--avatar-light:#e6faf0;--avatar-dark:#438675}.role-avatar-peach{--avatar-bg:#fff2ea;--avatar-main:#e9b190;--avatar-light:#fff3e9;--avatar-dark:#aa6e5d}.role-avatar-lavender{--avatar-bg:#f3eefc;--avatar-main:#c7b4e7;--avatar-light:#f7f0ff;--avatar-dark:#8373ab}.role-avatar-rose{--avatar-bg:#fae8eb;--avatar-main:#c27b8b;--avatar-light:#fff1ef;--avatar-dark:#773e50}.role-knowledge{color:#496c86;background:#f8fbfd;border:1px solid #e1edf3;border-radius:9px;margin:8px 0 15px;padding:10px 12px;font-size:12px;line-height:1.65}.role-knowledge summary{cursor:pointer;font-weight:650}.role-knowledge dl{gap:10px;margin:12px 0 0;display:grid}.role-knowledge dt{font-weight:650}.role-knowledge dd{margin:2px 0 0}.role-avatar svg{transform-origin:50% 65%;width:100%;height:100%;animation:3.6s ease-in-out infinite role-float}.role-avatar-thinking svg{animation:1.7s ease-in-out infinite role-think}.role-avatar-speaking svg{animation:.65s ease-in-out infinite role-speak}.role-avatar-happy svg{animation:.8s ease-in-out infinite role-happy}.role-avatar-comforting svg{animation:4s ease-in-out infinite role-float}.role-avatar-still svg{animation:none}@keyframes role-float{50%{transform:translateY(-3px)}}@keyframes role-think{50%{transform:rotate(-5deg)translateY(-2px)}}@keyframes role-speak{50%{transform:scale(1.035)}}@keyframes role-happy{50%{transform:rotate(5deg)translateY(-4px)}}.modal:has(.role-studio){width:980px;max-height:92dvh;padding:24px 26px;overflow:auto}.modal:has(.role-studio)>.modal-header{margin-bottom:4px}.role-studio{color:#35556d;min-width:0}.role-studio-intro{justify-content:space-between;align-items:center;gap:15px;padding:4px 0 17px;display:flex}.role-studio-intro>div>span{letter-spacing:.13em;color:#9cb9cc;font-size:9px;font-weight:700}.role-studio-intro p{color:#91a8b8;margin-top:5px;font-size:12px;line-height:1.6}.role-create,.role-copy,.role-enable,.role-save,.role-delete,.role-preview-title button,.role-delete-confirm button{white-space:nowrap;border-radius:9px;justify-content:center;align-items:center;gap:5px;font-size:11px;font-weight:650;display:inline-flex}.role-create{color:#fff;background:#5d9fce;padding:9px 12px}.role-studio-grid{grid-template-columns:240px minmax(0,1fr);align-items:start;gap:20px;display:grid}.role-list{background:#f6fafc;border:1px solid #eaf1f6;border-radius:15px;min-width:0;padding:14px}.role-list-heading{justify-content:space-between;align-items:center;margin:0 2px 10px;font-size:12px;font-weight:700;display:flex}.role-list-heading span{color:#a6b7c2;font-size:10px;font-weight:400}.role-list-cards{flex-direction:column;gap:6px;max-height:390px;display:flex;overflow:auto}.role-list-card{text-align:left;color:#54718a;background:0 0;border:1px solid #0000;border-radius:11px;align-items:center;gap:9px;width:100%;min-width:0;padding:7px;display:flex}.role-list-card.selected{background:#fff;border-color:#d9eaf5;box-shadow:0 4px 12px #315e7d09}.role-list-card>.role-avatar{width:42px;height:42px}.role-list-card>span:nth-child(2){flex:1;min-width:0}.role-list-card b{align-items:center;gap:5px;font-size:12px;display:flex}.role-list-card b em{white-space:nowrap;color:#66a7c7;font-size:9px;font-style:normal;font-weight:500}.role-list-card small{white-space:nowrap;text-overflow:ellipsis;color:#9bb0bf;margin-top:4px;font-size:10px;display:block;overflow:hidden}.role-list-card>svg{color:#b2c7d4}.role-list-note{color:#a5b8c5;border-top:1px solid #e8f0f5;align-items:flex-start;gap:7px;margin-top:12px;padding:12px 2px 0;font-size:10px;line-height:1.7;display:flex}.role-list-note svg{color:#8fb9d1}.role-detail{min-width:0}.role-detail-hero{background:linear-gradient(110deg,#eef8fe,#f7fbfd);border:1px solid #e2f0f8;border-radius:14px;align-items:center;gap:12px;padding:12px 15px;display:flex}.role-detail-hero>.role-avatar{width:65px;height:65px}.role-detail-hero>div{flex:1;min-width:0}.role-detail-hero>div>span{letter-spacing:.08em;color:#8eafc2;font-size:9px}.role-detail-hero h3{color:#315d7d;margin:4px 0;font-size:17px}.role-detail-hero p{color:#89a8bb;overflow-wrap:anywhere;font-size:11px}.role-active{color:#67a894;white-space:nowrap;align-items:center;gap:3px;font-size:10px;display:flex}.role-detail-top{justify-content:space-between;align-items:center;gap:8px;margin:16px 0 11px;display:flex}.role-detail-top h3{margin:0;font-size:13px}.role-detail-top p{color:#9eb0bd;margin:5px 0 0;font-size:10px}.role-copy{color:#699ab8;background:#eef6fb;padding:8px 10px}.role-fields{grid-template-columns:1fr 1fr;gap:10px 12px;display:grid}.role-field{color:#6c8aa0;min-width:0;font-size:11px;display:block}.role-field>span{align-items:center;margin-bottom:5px;display:flex}.role-field>span b{color:#d49a82;margin-left:3px}.role-field>span small{color:#b0c0cb;margin-left:auto;font-size:9px}.modal .role-field input,.modal .role-field textarea{background:#fbfdff;width:100%;padding:8px 10px;font-size:11px;display:block}.modal .role-field textarea{resize:vertical;height:55px;min-height:55px}.role-field input[readonly],.role-field textarea[readonly]{color:#8095a5;background:#f6f9fb}.role-memory-intro{margin:16px 0 10px}.role-memory-intro h4,.role-memory-header h4{color:#496d86;margin:0;font-size:12px}.role-memory-intro p,.role-memory-header p,.role-memory-notice{color:#819bad;margin:5px 0 0;font-size:10px;line-height:1.65}.role-story-fields .role-field-lore,.role-story-fields .role-field-reference{grid-column:1/-1}.modal .role-story-fields .role-field-lore textarea{height:88px}.role-memories{background:#f8fbfa;border:1px solid #e4f1ec;border-radius:12px;margin-top:14px;padding:12px}.role-memory-header{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.role-memory-header>span{white-space:nowrap;color:#8ba99e;font-size:10px}.role-memory-list{gap:6px;margin:10px 0 0;padding:0;list-style:none;display:grid}.role-memory-list li{background:#fff;border:1px solid #e8f2ee;border-radius:8px;justify-content:space-between;align-items:flex-start;gap:8px;min-width:0;padding:8px 10px;display:flex}.role-memory-list p{color:#638577;overflow-wrap:anywhere;white-space:pre-wrap;flex:1;min-width:0;font-size:11px;line-height:1.55}.role-memory-list li>div,.role-memory-editor-actions{align-items:center;gap:6px;display:flex}.role-memory-list button,.role-memory-editor-actions button{color:#6b9b85;white-space:nowrap;background:#eef7f2;padding:6px 8px;font-size:10px}.role-memory-editor{margin-top:10px}.role-memory-editor label,.role-preview-mode{color:#6c8aa0;margin-bottom:5px;font-size:11px;display:block}.modal .role-memory-editor textarea{resize:vertical;background:#fff;width:100%;min-height:62px;font-size:11px}.role-memory-editor-actions{justify-content:flex-end;margin-top:6px}.role-memory-editor-actions small{color:#a4bcb2;margin-right:auto;font-size:10px}.role-memory-feedback{color:#61927c;margin-top:8px;font-size:10px}.role-selects{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:10px;display:grid}.role-selects label{color:#6c8aa0;font-size:11px}.modal .role-selects select{margin-top:5px;padding:8px 9px;font-size:11px}.role-selects select:disabled{opacity:1;color:#91a6b4;background:#f6f9fb}.role-preview{background:#f6fafc;border:1px solid #e9f1f6;border-radius:12px;margin-top:14px;padding:11px 12px}.role-preview-scope{color:#8a9faf;margin:0 0 7px;font-size:10px;line-height:1.7}.role-preview-title,.role-preview-title>div{align-items:center;gap:6px;display:flex}.role-preview-title{justify-content:space-between}.role-preview-title>div{color:#709fbb}.role-preview-title b{color:#5a7e98;font-size:11px}.role-preview-title span{color:#a1b5c2;font-size:10px}.role-preview-title button{color:#8ca7b8;background:#fff;padding:5px 7px}.role-preview-prompts{flex-wrap:wrap;gap:6px;margin-top:9px;display:flex}.role-preview-mode{margin-top:9px}.modal .role-preview-mode select{width:auto;margin-left:8px;padding:5px 7px;font-size:10px}.role-preview-input{gap:6px;margin-top:9px;display:flex}.modal .role-preview-input input{flex:1;width:0;min-width:0;padding:8px 9px;font-size:11px}.role-preview-input button{color:#6898b7;background:#e5f2fa;flex-shrink:0;padding:8px 10px;font-size:10px}.role-preview-prompts button{color:#83a3b8;background:#fff;border:1px solid #e3eef5;border-radius:7px;padding:6px 9px;font-size:10px}.role-preview-result{color:#7893a7;padding-top:9px;font-size:11px;line-height:1.65}.role-preview-result p+p{margin-top:5px}.role-preview-result b{color:#5f89a4}.role-studio-message{color:#5b95b7;background:#edf7fc;border-radius:8px;margin:10px 0 0;padding:8px 10px;font-size:11px}.role-actions{justify-content:space-between;align-items:center;gap:10px;margin-top:13px;display:flex}.role-action-right{gap:8px;margin-left:auto;display:flex}.role-delete{color:#b99083;background:0 0;padding:9px 0}.role-save{color:#6e9fbe;background:#edf5fa;padding:10px 14px}.role-enable{color:#fff;background:#5e9fcf;padding:10px 14px}.role-enable:disabled{color:#91aab9;opacity:1;background:#edf4f7}.role-delete-confirm{color:#aa7c6a;background:#fff5ef;border-radius:9px;flex-wrap:wrap;align-items:center;gap:8px;margin-top:10px;padding:10px;font-size:11px;display:flex}.role-delete-confirm span{flex:1;min-width:170px}.role-delete-confirm button{color:#a38274;background:#fff;padding:6px 9px}.role-delete-confirm button:last-child{color:#fff;background:#b97968}.role-actions{z-index:2;background:#fffffff7;border-top:1px solid #eef4f8;padding:10px 0;position:sticky;bottom:-24px}@media (min-width:701px) and (max-height:850px){.role-studio-intro{padding-bottom:11px}.role-detail-hero{padding:8px 13px}.role-detail-hero>.role-avatar{width:52px;height:52px}.role-detail-top{margin:11px 0 8px}.role-fields{gap:7px 12px}.modal .role-field textarea{height:46px;min-height:46px}.role-preview{margin-top:10px}.role-actions{margin-top:8px}}@media (max-width:700px){.modal:has(.role-studio){max-height:92dvh;padding:18px 16px}.role-studio-intro{align-items:flex-start}.role-studio-grid{grid-template-columns:1fr;gap:12px}.role-list{padding:11px}.role-list-cards{flex-direction:row;max-height:none;padding-bottom:3px;overflow-x:auto}.role-list-card{flex:0 0 140px}.role-list-card>span:nth-child(2){overflow:hidden}.role-list-card>svg,.role-list-note{display:none}.role-detail-hero>.role-avatar{width:56px;height:56px}.role-fields{gap:9px}.role-selects{gap:6px}.role-preview-title span{font-size:9px}}@media (max-width:380px){.role-fields,.role-selects{grid-template-columns:1fr}.role-list-card{flex-basis:132px}.role-detail-hero{padding:9px}.role-actions{flex-wrap:wrap}}@media (prefers-reduced-motion:reduce){.role-avatar svg{animation:none}}
.avatar-picture{aspect-ratio:1;background:var(--avatar-bg);transform-origin:50% 65%;border-radius:50%;width:100%;max-height:100%;animation:3.6s ease-in-out infinite role-float;display:block;overflow:hidden}.avatar-picture-image,.role-portrait-image{object-fit:cover;width:100%;height:100%;display:block}.role-avatar-thinking .avatar-picture{animation:1.7s ease-in-out infinite role-think}.role-avatar-speaking .avatar-picture{animation:.65s ease-in-out infinite role-speak}.role-avatar-happy .avatar-picture{animation:.8s ease-in-out infinite role-happy}.role-avatar .avatar-picture.avatar-picture-waving{animation:none;position:relative}.avatar-greeting-frames{background-repeat:no-repeat;background-size:200% 200%;animation:1.75s step-end both avatar-wave-frames,1.75s ease-in-out both avatar-wave-visibility;position:absolute;inset:0}.role-avatar-dsh .avatar-picture-waving{background:0 0}.role-avatar-dsh .avatar-picture-waving .role-portrait-image{visibility:hidden}.role-avatar-dsh .avatar-greeting-frames{animation:1.75s step-end both avatar-wave-frames}.role-avatar-still .avatar-greeting-frames{background-position:100% 0;animation:none!important}@keyframes avatar-wave-frames{0%{background-position:0 0}15%,40%{background-position:100% 0}28%,53%{background-position:0 100%}66%,to{background-position:100% 100%}}@keyframes avatar-wave-visibility{0%,to{opacity:0}8%,85%{opacity:1}}.role-avatar-comforting .avatar-picture{animation:4s ease-in-out infinite role-float}.role-avatar-motion-breathe.role-avatar-idle svg,.role-avatar-motion-breathe.role-avatar-idle .avatar-picture,.role-avatar-motion-breathe.role-avatar-comforting svg,.role-avatar-motion-breathe.role-avatar-comforting .avatar-picture{animation:3.6s ease-in-out infinite avatar-breathe}.role-avatar.role-avatar-still svg,.role-avatar.role-avatar-still .avatar-picture{animation:none}@keyframes avatar-breathe{50%{transform:scale(1.045)}}
.eeg-panel{color:#253f56;background:#fff;border:1px solid #e6eef5;border-radius:24px;min-width:0;padding:17px 20px 15px;box-shadow:0 8px 30px #3d6f960b}.eeg-heading,.eeg-state-top,.eeg-state-foot,.eeg-section-title,.eeg-control-label{justify-content:space-between;align-items:center;gap:10px;display:flex}.eeg-eyebrow{color:#5b9bca;letter-spacing:.12em;align-items:center;gap:6px;font-size:10px;font-weight:800;display:flex}.eeg-heading h2{letter-spacing:.02em;margin:6px 0 0;font-size:20px;line-height:1.25}.eeg-heading h2 span{color:#9aafc0;font-size:13px;font-weight:500}.eeg-status{white-space:nowrap;color:#879ba9;background:#f1f5f7;border-radius:99px;align-items:center;gap:6px;padding:6px 10px;font-size:11px;font-weight:700;display:flex}.eeg-status i{background:#a7bac6;border-radius:50%;width:6px;height:6px}.eeg-status.is-active{color:#5da996;background:#e7f7f3}.eeg-status.is-active i{background:#65bea9}.eeg-description{color:#9aabb9;margin:7px 0 10px;font-size:12px}.eeg-state-card{background:linear-gradient(120deg,#edf8fe,#f5fafe);border:1px solid #dfedf7;border-radius:16px;grid-template-columns:minmax(0,1fr) 132px;gap:12px;padding:12px;display:grid}.eeg-state-main{min-width:0}.eeg-ring-wrap{flex-direction:column;gap:4px;min-width:0;display:flex}.eeg-ring-chart{width:132px;height:132px}.eeg-ring-caption{color:#8fa4b2;text-align:center;font-size:10px}.eeg-state-top{align-items:flex-start}.eeg-label{color:#829baa;font-size:11px}.eeg-emotion{color:#2e608a;margin-top:5px;font-size:21px;font-weight:750}.eeg-emotion span{color:#81bbdc;margin-left:6px;font-size:14px}.eeg-scene-tag{color:#69a3c7;white-space:nowrap;background:#fff9;border:1px solid #d1e8f4;border-radius:99px;padding:5px 8px;font-size:10px}.eeg-metrics{grid-template-columns:1fr 1fr;gap:20px;margin-top:10px;display:grid}.eeg-metrics>div{min-width:0}.eeg-metrics span{color:#8fa4b2;font-size:11px;display:block}.eeg-metrics b{color:#3b739d;margin:3px 0 7px;font-size:19px;display:block}.eeg-metrics small{color:#aec0cd;font-size:10px;font-weight:500}.eeg-meter{background:#dcebf3;border-radius:3px;height:4px;overflow:hidden}.eeg-meter i{background:#74b7dc;border-radius:3px;height:100%;transition:width .7s;display:block}.eeg-meter.warm i{background:#f0bc87}.eeg-state-foot{color:#96acb9;border-top:1px solid #dcecf5;flex-wrap:wrap;margin-top:9px;padding-top:8px;font-size:10px}.eeg-section-title{margin:11px 0 7px;font-size:12px}.eeg-section-title>div:first-child{align-items:baseline;gap:8px;display:flex}.eeg-section-title b{font-size:13px}.eeg-section-title div>span{color:#a7b9c5;font-size:10px}.eeg-live{color:#72b6d5;font-size:10px}.eeg-chart-box{background:#fafcfd;border:1px solid #edf3f7;border-radius:12px;height:100px;position:relative;overflow:hidden}.eeg-wave-wrap,.eeg-wave-chart{width:100%;height:100%}.eeg-wave-wrap{position:relative}.eeg-channel-labels{z-index:1;pointer-events:none;color:#8ba6b7;flex-direction:column;justify-content:space-between;font-size:9px;display:flex;position:absolute;top:14px;bottom:27px;left:9px}.eeg-chart-empty{text-align:center;pointer-events:none;color:#adbec9;font-size:11px;position:absolute;top:42%;left:0;right:0}.eeg-trend-box{height:68px}.eeg-trend-chart{width:100%;height:100%}.eeg-legend{gap:10px;display:flex}.eeg-legend span:first-child{color:#68a9d3}.eeg-legend span:last-child{color:#e9b07b}.eeg-controls{margin-top:10px}.eeg-control-label{font-size:12px;font-weight:700}.eeg-control-label span{color:#a1b3bf;font-size:10px;font-weight:400}.eeg-scenarios{flex-wrap:wrap;gap:6px;margin:8px 0;display:flex}.eeg-panel button{cursor:pointer;font-family:inherit}.eeg-scenarios button{color:#8198a9;background:#f6f9fb;border:1px solid #edf3f7;border-radius:8px;padding:6px 10px;font-size:11px}.eeg-scenarios button.selected{color:#3588bd;background:#e8f5fc;border-color:#bfe2f4;font-weight:700}.eeg-buttons{flex-wrap:wrap;gap:6px;display:flex}.eeg-buttons button{color:#7590a3;background:#fff;border:1px solid #e4edf3;border-radius:9px;justify-content:center;align-items:center;gap:5px;padding:8px 10px;font-size:11px;font-weight:700;display:inline-flex}.eeg-buttons button.eeg-primary{color:#fff;background:#5ba8d7;border-color:#5ba8d7}.eeg-buttons button.eeg-share{color:#559cca;margin-left:auto}.eeg-buttons button:disabled{opacity:.45;cursor:not-allowed}.eeg-panel button:focus-visible{outline-offset:2px;outline:2px solid #398ac0}.eeg-disclaimer{color:#a2b2bc;margin:8px 0 0;font-size:10px;line-height:1.6}@media (prefers-reduced-motion:reduce){.eeg-meter i{transition:none}}@media (max-width:400px){.eeg-state-card{grid-template-columns:minmax(0,1fr) 108px;gap:10px}.eeg-ring-chart{width:108px;height:108px}.eeg-metrics{gap:12px}}@media (max-width:350px){.eeg-state-card{grid-template-columns:1fr}.eeg-ring-wrap{align-self:center}}
.avatar-editor{background:linear-gradient(135deg,#f7fcff,#fcfdff);border:1px solid #dceef7;border-radius:13px;min-width:0;margin:14px 0;padding:14px}.avatar-editor-heading{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.avatar-editor-heading h4{color:#496d86;margin:0;font-size:12px}.avatar-editor-heading p,.avatar-editor-hint{color:#819bad;margin:5px 0 0;font-size:10px;line-height:1.6}.avatar-editor-heading>span{color:#83aabb;white-space:nowrap;font-size:10px}.avatar-editor-layout{grid-template-columns:110px minmax(0,1fr);align-items:center;gap:18px;margin-top:12px;display:grid}.avatar-editor-preview-wrap{color:#8daabc;justify-items:center;gap:6px;font-size:10px;display:grid}.avatar-editor-preview{background:#ebf6fc;border:1px solid #d7eaf5;border-radius:50%;width:100px;height:100px;overflow:hidden}.avatar-editor-controls{min-width:0}.avatar-editor-file-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.avatar-editor-upload,.avatar-editor-reset{color:#fff;cursor:pointer;background:#5d9fce;border-radius:8px;justify-content:center;align-items:center;gap:6px;padding:8px 10px;font-size:11px;font-weight:650;display:inline-flex}.avatar-editor-reset{color:#6996b0;background:#eaf4fa}.avatar-editor-upload.is-busy,.avatar-editor-reset:disabled{opacity:.6;cursor:wait}.avatar-editor-upload:focus-within{outline-offset:2px;outline:2px solid #5d9fce}.avatar-editor-upload input{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.avatar-editor-motion{color:#6c8aa0;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:9px;max-width:290px;margin-top:10px;font-size:11px;display:grid}.modal .avatar-editor-motion select{min-width:0;padding:7px 9px;font-size:11px}.avatar-editor-sliders{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:13px;display:grid}.avatar-editor-sliders label{color:#6c8aa0;min-width:0;font-size:10px;display:block}.avatar-editor-sliders label>span{justify-content:space-between;gap:6px;display:flex}.avatar-editor-sliders output{color:#8eb0c3}.modal .avatar-editor-sliders input{accent-color:#5d9fce;width:100%;margin:7px 0 0;padding:0}.avatar-editor-error{color:#a55f56;margin:10px 0 0;font-size:11px;line-height:1.5}@media (max-width:480px){.avatar-editor-layout{grid-template-columns:72px minmax(0,1fr);gap:10px}.avatar-editor-preview{width:68px;height:68px}.avatar-editor-sliders{grid-template-columns:1fr;gap:8px}.avatar-editor-sliders label>span{max-width:100%}}
.account-panel,.account-form{gap:12px;display:grid}.account-form .modal-intro,.account-panel p{margin:0}.account-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.account-actions p{flex-basis:100%}.account-email{overflow-wrap:anywhere;font-weight:700}.account-status{color:#326a88;font-size:13px}.account-error{color:#9e4052;font-size:13px}.account-panel>.text-danger{justify-self:start}.settings-tools{flex-wrap:wrap;gap:8px;margin-bottom:14px;display:flex}
