*,:before,:after{box-sizing:border-box;margin:0;padding:0}:root{--bg-primary:#fff;--bg-secondary:#f7f7f8;--bg-tertiary:#f0f0f2;--bg-card:#fafafa;--accent:#10b981;--accent-hover:#059669;--accent-dim:#d1fae5;--accent-text:#065f46;--text-primary:#111;--text-secondary:#555;--text-tertiary:#888;--border:#e5e5e7;--border-strong:#d1d1d4;--shadow-sm:0 1px 2px #0000000a;--shadow-md:0 2px 8px #0000000f;--radius:8px;--radius-lg:12px;--font-sans:"Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--topbar-h:56px;--slider-track:#e5e7eb;--slider-thumb:var(--accent);--danger:#ef4444;--danger-dim:#fee2e2;--warning:#f59e0b;--warning-dim:#fef3c7}html,body{height:100%;font-family:var(--font-sans);color:var(--text-primary);background:var(--bg-secondary);font-size:14px;line-height:1.5}button{cursor:pointer;font-family:inherit;font-size:inherit;background:0 0;border:none}select{border:1px solid var(--border);border-radius:var(--radius);background:var(--bg-primary);color:var(--text-primary);cursor:pointer;padding:6px 10px;font-family:inherit;font-size:13px}.topbar{height:var(--topbar-h);background:var(--bg-primary);border-bottom:1px solid var(--border);z-index:100;justify-content:space-between;align-items:center;padding:0 24px;display:flex;position:fixed;top:0;left:0;right:0}.topbar__left{align-items:center;gap:24px;display:flex}.topbar__logo{color:var(--accent);letter-spacing:-.5px;font-size:18px;font-weight:700}.topbar__preset{align-items:center;gap:8px;display:flex}.topbar__preset label{color:var(--text-secondary);font-size:13px;font-weight:500}.topbar__right{align-items:center;gap:12px;display:flex}.btn{border-radius:var(--radius);justify-content:center;align-items:center;padding:8px 16px;font-size:13px;font-weight:500;transition:all .15s;display:inline-flex}.btn--primary{background:var(--accent);color:#fff}.btn--primary:hover:not(:disabled){background:var(--accent-hover)}.btn--primary:disabled{background:var(--border);color:var(--text-tertiary);cursor:not-allowed}.btn--ghost{color:var(--text-secondary);border:1px solid var(--border)}.btn--ghost:hover{background:var(--bg-secondary)}.editor{padding:calc(var(--topbar-h) + 16px) 24px 16px;grid-template-columns:280px 1fr 260px;gap:16px;max-width:1400px;min-height:calc(100vh - 200px);margin:0 auto;display:grid}.panel{background:var(--bg-primary);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);padding:20px}.panel__title{color:var(--text-primary);align-items:center;gap:8px;margin-bottom:16px;font-size:14px;font-weight:600;display:flex}.panel__title:before{content:"";background:var(--accent);border-radius:2px;width:3px;height:16px;display:inline-block}.ocean-slider{margin-bottom:16px}.ocean-slider:last-of-type{margin-bottom:0}.ocean-slider__header{justify-content:space-between;align-items:center;margin-bottom:6px;display:flex}.ocean-slider__label{color:var(--text-primary);font-size:13px;font-weight:500}.ocean-slider__value{color:var(--accent);text-align:right;min-width:36px;font-size:13px;font-weight:600}.ocean-slider input[type=range]{appearance:none;background:var(--slider-track);border-radius:3px;outline:none;width:100%;height:6px}.ocean-slider input[type=range]::-webkit-slider-thumb{appearance:none;background:var(--slider-thumb);cursor:pointer;width:18px;height:18px;box-shadow:var(--shadow-md);border-radius:50%;transition:transform .1s}.ocean-slider input[type=range]::-webkit-slider-thumb:hover{transform:scale(1.15)}.ocean-actions{border-top:1px solid var(--border);gap:8px;margin-top:16px;padding-top:16px;display:flex}.ocean-actions .btn{flex:1;padding:6px 12px;font-size:12px}.radar-container{width:100%;height:300px}.emotion-container{margin-top:16px}.emotion-section{margin-bottom:12px}.emotion-section:last-child{margin-bottom:0}.emotion-section__title{color:var(--text-tertiary);text-transform:uppercase;letter-spacing:.5px;margin-bottom:8px;font-size:12px;font-weight:600}.emotion-tag{border-radius:20px;align-items:center;gap:4px;margin:2px 4px 2px 0;padding:4px 10px;font-size:12px;font-weight:500;display:inline-flex}.emotion-tag--dominant{background:var(--accent-dim);color:var(--accent-text)}.emotion-tag--composite{color:#6d28d9;background:#ede9fe}.emotion-tag--suppressed{background:var(--danger-dim);color:#b91c1c}.emotion-tag__bar{background:#0000001a;border-radius:2px;width:40px;height:4px;display:inline-block;overflow:hidden}.emotion-tag__bar-fill{border-radius:2px;height:100%}.drive-item{margin-bottom:12px}.drive-item:last-child{margin-bottom:0}.drive-item__header{justify-content:space-between;align-items:center;margin-bottom:4px;display:flex}.drive-item__label{color:var(--text-primary);font-size:13px;font-weight:500}.drive-item__value{color:var(--text-tertiary);font-size:12px}.drive-item__bar{background:var(--bg-tertiary);border-radius:3px;width:100%;height:6px;overflow:hidden}.drive-item__bar-fill{background:var(--accent);border-radius:3px;height:100%;transition:width .3s}.behavior-section{max-width:1400px;margin:0 auto;padding:0 24px 24px}.behavior-section h2{align-items:center;gap:8px;margin-bottom:12px;font-size:14px;font-weight:600;display:flex}.behavior-section h2:before{content:"";background:var(--accent);border-radius:2px;width:3px;height:16px;display:inline-block}.behavior-list{background:var(--bg-primary);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);overflow:hidden}.behavior-row{border-bottom:1px solid var(--border);grid-template-columns:200px 1fr 100px 200px;align-items:center;gap:12px;padding:10px 16px;font-size:13px;display:grid}.behavior-row:last-child{border-bottom:none}.behavior-row__id{color:var(--text-tertiary);font-family:monospace;font-size:12px}.behavior-row__trigger{color:var(--text-primary)}.behavior-row__priority{text-align:center;border-radius:4px;padding:2px 8px;font-size:12px;font-weight:600}.behavior-row__priority--low{color:#16a34a;background:#f0fdf4}.behavior-row__priority--medium{background:var(--warning-dim);color:#d97706}.behavior-row__priority--high{color:#dc2626;background:#fef2f2}.behavior-row__priority--critical{background:var(--danger-dim);color:#b91c1c}.behavior-row__actions{color:var(--text-secondary);font-size:12px}.panel--preview{flex-direction:column;display:flex}@media (width<=1024px){.editor{grid-template-columns:1fr}.behavior-row{grid-template-columns:1fr;gap:4px}}
