:root { color-scheme: light; --paper:#f7f6f2; --ink:#202d2b; --muted:#737d76; --line:#e4e7df; --green:#2d6956; --mint:#e4eee8; --orange:#cd6339; }
* { box-sizing:border-box; }
body { margin:0; background:var(--paper); color:var(--ink); font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif; font-size:15px; line-height:1.55; }
button,input { font:inherit; }
button { cursor:pointer; }
button:disabled { cursor:not-allowed; opacity:.5; }
button:focus-visible,a:focus-visible,input:focus-visible { outline:3px solid #be683d; outline-offset:4px; }
.shell { max-width:1220px; margin:0 auto; padding:0 40px; }
.topbar { min-height:99px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid var(--line); gap:16px; }
.brand { display:flex; gap:14px; align-items:center; font-size:22px; font-weight:720; text-decoration:none; color:var(--ink); letter-spacing:-.8px; }
.brand-light { color:var(--muted); font-weight:400; }
.brand-mark { display:flex; align-items:center; justify-content:center; gap:7px; width:40px; height:34px; background:var(--ink); border-radius:10px; transform:rotate(-5deg); }
.brand-mark span { width:5px; height:12px; border-radius:5px; background:#f9f8ed; }
.top-actions { display:flex; align-items:center; gap:24px; }
.connection { color:var(--muted); font-size:12px; }
.connection::before { content:''; display:inline-block; width:6px; height:6px; border-radius:50%; background:#bca169; margin-right:8px; }
.connection.online::before { background:#41826b; }
.quiet { background:none; border:0; padding:8px; color:var(--muted); font-size:13px; }
.intro { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:42px 0 30px; }
.eyebrow { font-size:10px; font-weight:700; letter-spacing:1.8px; color:var(--green); margin:0 0 12px; }
h1 { font-size:clamp(28px,3.5vw,42px); line-height:1.16; font-weight:550; letter-spacing:-1.6px; margin:0 0 15px; }
h2,h3,p { margin-top:0; }
h2 { font-size:17px; font-weight:650; letter-spacing:-.4px; margin-bottom:0; }
h3 { font-size:12px; font-weight:650; }
.muted { color:var(--muted); margin-bottom:0; }
.small { font-size:12px; }
.mode-badge { white-space:nowrap; font-size:10px; letter-spacing:1px; color:#8c734b; border:1px solid #dfd9c9; border-radius:30px; padding:9px 14px; }
.workspace { display:grid; grid-template-columns:1.04fr 1fr; gap:22px; }
.card { background:#fff; border:1px solid var(--line); border-radius:18px; padding:25px; }
.card-heading { display:flex; align-items:center; justify-content:space-between; gap:18px; }
.tag { background:#f0f4ef; padding:5px 9px; border-radius:5px; color:var(--green); font-size:10px; }
.robot-card { text-align:center; }
.robot-card .card-heading { text-align:left; }
.robot-stage { height:220px; display:flex; align-items:center; justify-content:center; position:relative; overflow:hidden; background:radial-gradient(ellipse at 50% 70%,#f0f3eb 0,transparent 68%); margin:12px 0; }
.robot { position:relative; width:162px; height:142px; z-index:1; transform:rotate(-4deg); transition:transform .65s ease; }
.robot-head { width:150px; height:108px; padding:11px; border:1px solid #dfdccc; background:linear-gradient(145deg,#f6f1df,#e9e0c9); border-radius:28px; box-shadow:inset -4px -5px 0 #dfd5bc,0 8px 16px #293c3013; position:absolute; z-index:2; }
.robot-screen { width:126px; height:83px; background:#283934; border-radius:19px; display:flex; flex-direction:column; align-items:center; justify-content:center; box-shadow:inset 0 2px 5px #11231b80; }
.eyes { display:flex; justify-content:space-between; width:70px; padding-top:7px; }
.eyes i { display:block; width:12px; height:20px; border-radius:10px; background:#e8f3de; transition:height .3s; }
.mouth { width:15px; height:7px; border-radius:0 0 10px 10px; background:#e8f3de; margin-top:13px; transition:all .3s; }
.ear { width:18px; height:31px; border-radius:8px; background:#d1ad87; position:absolute; top:41px; }
.left-ear { left:-11px; }.right-ear { right:0; }
.robot-neck { position:absolute; width:40px; height:23px; background:#d1c5a6; left:55px; top:101px; }
.robot-base { position:absolute; width:110px; height:25px; border-radius:18px 18px 9px 9px; background:#e8dec5; border:1px solid #d6cbb0; left:20px; top:117px; box-shadow:inset 0 -5px 0 #d8cbae; }
.stage-shadow { position:absolute; width:138px; height:14px; background:#26412b16; filter:blur(5px); border-radius:50%; bottom:37px; }
.robot[data-state="OBSERVING"] { transform:rotate(6deg); }
.robot[data-state="LISTENING"] { transform:rotate(0deg) translateY(-4px); }
.robot[data-state="LISTENING"] .eyes i { height:25px; }
.robot[data-state="CONVERSING"] .mouth { height:12px; width:18px; border-radius:7px; }
.robot[data-state="SLEEPING"] { transform:rotate(-9deg) translateY(7px); }
.robot[data-state="SLEEPING"] .eyes i { height:3px; margin-top:16px; }
.robot[data-state="SLEEPING"] .mouth { height:3px; border-radius:3px; }
.robot.blink .eyes { animation:blink .5s ease; }
.robot.nod { animation:nod .65s ease; }.robot.head_adjust { animation:adjust .65s ease; }
@keyframes blink { 40% { transform:scaleY(.08); } }
@keyframes nod { 50% { transform:translateY(7px) rotate(2deg); } }
@keyframes adjust { 50% { transform:rotate(10deg); } }
.state-title { font-size:28px; font-weight:550; letter-spacing:-1px; }
.state-description { font-size:12px; color:var(--muted); min-height:36px; max-width:320px; margin:8px auto 20px; }
.state-details { display:grid; grid-template-columns:1fr 1fr 1fr; gap:12px; border-top:1px solid var(--line); padding-top:18px; }
.state-details span { display:block; font-size:10px; color:var(--muted); }.state-details strong { font-size:14px; display:block; margin-top:5px; font-weight:550; }
.footnote { color:#8c938b; font-size:10px; margin:20px 0 0; }
.step-label { color:#9b9f96; font-size:9px; letter-spacing:1px; white-space:nowrap; }
.interaction-card > .small { margin-top:9px; }
.event-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:21px; }
.event-button { padding:14px 16px; background:#fafbf8; color:var(--ink); border:1px solid #e3e8df; border-radius:11px; text-align:left; transition:background .15s,border-color .15s; }
.event-button:hover:not(:disabled) { border-color:#70a08b; background:var(--mint); }
.event-button strong { font-size:12px; display:block; font-weight:600; margin:5px 0; }
.event-button > span:last-child { font-size:10px; color:var(--muted); display:block; }
.event-icon { font-size:21px; color:var(--green); line-height:1; }
.event-feedback { font-size:11px; color:var(--green); min-height:33px; margin:12px 0 5px; }
.behavior-note { background:#f4f0e6; border-radius:9px; padding:13px 15px; font-size:11px; color:#847459; }
.behavior-note strong { color:#736144; font-weight:650; }.behavior-note p { margin:3px 0 0; }
.settings-preview { margin-top:22px; }.settings-preview h3 { margin-bottom:11px; }
dl { margin:0; }dl div { display:flex; justify-content:space-between; padding:4px 0; font-size:11px; }dt { color:var(--muted); }dd { margin:0; font-variant-numeric:tabular-nums; }
.timeline-card { margin-top:22px; }.timeline-card .small { margin-top:4px; }
.toggle { font-size:11px; color:var(--muted); display:flex; align-items:center; gap:7px; }.toggle input { accent-color:var(--green); }
.timeline { margin-top:18px; max-height:235px; overflow:auto; border-top:1px solid var(--line); }
.timeline-row { display:flex; align-items:center; gap:15px; padding:11px 4px; border-bottom:1px solid #f1f2ee; font-size:12px; }
.timeline-row time { color:#93998f; font-size:11px; font-variant-numeric:tabular-nums; width:42px; flex-shrink:0; }
.timeline-dot { height:6px; width:6px; background:#b5bcaf; border-radius:50%; flex-shrink:0; }.timeline-dot.state_change { background:var(--green); }.timeline-dot.attention { background:var(--orange); }
.empty { color:var(--muted); font-size:12px; padding:20px 0; margin:0; }
.next-section { display:grid; grid-template-columns:1fr 1fr; gap:70px; padding:36px 6px; }.next-section h2 { margin:0 0 10px; }.next-section .eyebrow { color:var(--muted); }.future-actions { display:flex; flex-direction:column; justify-content:center; gap:12px; }.future-actions span { display:flex; align-items:center; justify-content:space-between; color:#798074; font-size:12px; border-bottom:1px solid var(--line); padding-bottom:10px; }.future-actions em { font-size:9px; font-style:normal; color:#9b9f94; }
footer { border-top:1px solid var(--line); display:flex; justify-content:space-between; padding:22px 0 30px; font-size:10px; color:#8b9387; }
.login-page { min-height:100vh; display:grid; place-items:center; padding:24px; background:radial-gradient(ellipse at top,#e7ede3,var(--paper) 75%); }
.login-card { background:white; border:1px solid var(--line); border-radius:22px; padding:40px; width:100%; max-width:460px; box-shadow:0 18px 65px #283a2510; }.login-card .brand-mark { margin-bottom:32px; }.login-card h1 { font-size:33px; }.login-card .muted { font-size:13px; }.login-card form { margin-top:30px; }.login-card label { display:block; font-size:12px; font-weight:600; margin-bottom:9px; }.login-card input { width:100%; border:1px solid #d6dfd4; background:#f8faf6; border-radius:8px; padding:12px; font-size:13px; }.primary { width:100%; background:var(--green); color:white; border:0; border-radius:8px; padding:13px 16px; margin-top:14px; display:flex; justify-content:space-between; font-size:13px; }.primary:hover { background:#245643; }#login-error { font-size:12px; color:#a14d31; margin:12px 0; }
@media (max-width:800px) { .shell { padding:0 20px; }.workspace { grid-template-columns:1fr; }.intro { align-items:flex-start; flex-direction:column; gap:8px; }.mode-badge { margin:3px 0 10px; }.next-section { gap:25px; }.connection { font-size:10px; }.top-actions { gap:8px; }.card { padding:21px; }.brand { font-size:18px; }.timeline-card .card-heading { align-items:flex-start; flex-direction:column; gap:12px; } }
@media (max-width:480px) { .shell { padding:0 14px; }.topbar { min-height:76px; }.brand-mark { width:30px; height:27px; }.top-actions { gap:3px; }.connection { max-width:91px; line-height:1.4; }.intro { padding-top:30px; }h1 { font-size:32px; }.next-section { grid-template-columns:1fr; padding:30px 5px; }.event-button { padding:12px; }.state-details { gap:7px; }.state-details span { font-size:9px; }.state-details strong { font-size:12px; }.login-card { padding:28px; }footer { gap:15px; } }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { animation:none!important; transition:none!important; } }
