/* A calm family console. One video surface follows the current page. */
:root{
  --bg:#f6f2eb;
  --paper:#fffdf9;
  --ink:#342f29;
  --muted:#72695e;
  --line:#e7dfd3;
  --accent:#985338;
  --accent-soft:#f2e5da;
  --green:#326345;
  --red:#aa3e35;
  --radius:22px;
  --shadow:0 5px 24px #55432908;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;
  color:var(--ink);
  background:var(--bg);
  font-size:14px;
  line-height:1.6;
  accent-color:var(--accent)
}
*{
  box-sizing:border-box
}
body{
  margin:0
}
html{
  min-height:100%;
  scroll-padding-top:108px
}
[hidden]{
  display:none!important
}
button,input,textarea,select{
  font:inherit;
  color:inherit
}
button,a,input,summary{
  -webkit-tap-highlight-color:transparent
}
button{
  cursor:pointer;
  border:0;
  background:transparent;
  transition:background .16s,border-color .16s;
  min-height:44px
}
button:disabled{
  opacity:.48;
  cursor:not-allowed
}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{
  outline:3px solid #c88857;
  outline-offset:3px
}
a{
  color:var(--accent);
  text-decoration:none
}
h1,h2,p{
  margin:0 0 12px
}
h1{
  font-size:30px;
  line-height:1.25;
  letter-spacing:-.8px
}
h2{
  font-size:17px;
  line-height:1.4;
  font-weight:650
}
small,.muted{
  color:var(--muted)
}
small{
  font-size:12px
}
.muted{
  font-size:13px
}
.eyebrow{
  font-size:10px;
  font-weight:700;
  letter-spacing:1.8px;
  color:var(--muted);
  margin-bottom:8px
}
.primary,.secondary,.danger-secondary,.stop-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border-radius:13px;
  padding:10px 19px;
  font-weight:650;
  line-height:1.4
}
.primary{
  background:var(--accent);
  color:#fff
}
.primary:hover:not(:disabled){
  background:#81412b
}
.secondary{
  background:var(--paper);
  border:1px solid #d4c8b7
}
.secondary:hover:not(:disabled){
  background:#f5ece1
}
.text-button{
  color:var(--accent);
  font-size:13px;
  padding:8px
}
.danger-secondary{
  color:var(--red);
  border:1px solid #d8aaa2;
  background:#fff7f4
}
.pill,.tag{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:3px 10px;
  border-radius:20px;
  background:#ece5d9;
  color:#61574a;
  font-size:11px;
  font-weight:600;
  white-space:nowrap
}
.tag-success{
  background:#e6eee4;
  color:var(--green)
}
.tag.subtle{
  background:#f1ece4;
  color:var(--muted)
}
.dot{
  width:8px;
  height:8px;
  display:inline-block;
  flex-shrink:0;
  border-radius:50%;
  background:#aaa095
}
.dot.green{
  background:#527953
}
.dot.orange{
  background:#b87c39
}
.error{
  color:var(--red);
  font-size:13px;
  min-height:20px
}
label{
  display:block
}
input:not([type=checkbox]):not([type=range]),textarea,select{
  width:100%;
  padding:10px 12px;
  border:1px solid #d9cebd;
  border-radius:10px;
  background:var(--paper);
  min-height:44px
}
input[type=checkbox]{
  width:20px;
  height:20px
}
input[type=range]{
  width:100%;
  min-height:32px;
  cursor:pointer
}
textarea{
  resize:vertical
}
summary{
  cursor:pointer;
  min-height:44px;
  padding:12px 0;
  font-weight:600
}
summary::marker{
  color:#998771
}
pre{
  overflow:auto;
  max-height:420px;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  font-size:12px;
  background:#f2eee7;
  padding:14px;
  border-radius:10px
}
.card{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:22px;
  box-shadow:var(--shadow);
  min-width:0
}
.card-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  margin-bottom:16px
}
.card-head h2{
  margin:0
}
.card-head-title{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap
}
.card-caption{
  font-size:12px;
  color:var(--muted);
  margin:12px 0 0
}
.empty{
  padding:30px 12px;
  text-align:center;
  color:var(--muted);
  font-size:13px
}
.login-screen{
  min-height:100dvh;
  display:grid;
  grid-template-columns:1fr 400px;
  gap:100px;
  align-items:center;
  max-width:1060px;
  margin:auto;
  padding:48px
}
.login-pony{
  width:94px;
  margin-bottom:30px
}
.login-art h1{
  font-size:44px;
  letter-spacing:-2px;
  margin:12px 0 22px
}
.login-art>p:not(.eyebrow){
  font-size:19px;
  line-height:1.8;
  color:var(--muted)
}
.login-form{
  padding:34px
}
.login-form h2{
  font-size:23px
}
.login-form label{
  font-weight:600;
  font-size:13px;
  margin:20px 0
}
.login-form input{
  margin-top:6px
}
.login-form button{
  width:100%;
  margin-top:6px
}
.sidebar{
  position:fixed;
  inset:0 auto 0 0;
  width:204px;
  background:#efe9df;
  border-right:1px solid var(--line);
  display:flex;
  flex-direction:column;
  padding:36px 20px;
  z-index:40
}
.brand{
  display:flex;
  align-items:center;
  gap:11px;
  font-size:21px;
  font-weight:750;
  letter-spacing:-.8px;
  color:var(--ink);
  margin:0 6px 42px
}
.brand img{
  width:36px
}
.brand small{
  display:block;
  font-size:10px;
  letter-spacing:2px;
  font-weight:500
}
.sidebar nav{
  display:grid;
  gap:8px
}
.nav{
  display:flex;
  align-items:center;
  gap:14px;
  padding:14px 18px;
  border-radius:13px;
  text-align:left;
  color:#776b5c;
  font-weight:550
}
.nav span{
  font-size:21px;
  line-height:1
}
.nav.active{
  background:var(--paper);
  color:var(--accent);
  box-shadow:var(--shadow)
}
.sidebar-bottom{
  margin-top:auto;
  padding:22px 6px 0
}
.sidebar-bottom p{
  font-size:11px;
  color:var(--muted);
  margin-top:12px;
  line-height:1.8
}
main{
  margin-left:204px;
  max-width:1650px;
  padding:35px 42px 24px
}
.topbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  margin-bottom:24px
}
.topbar h1{
  margin:0
}
.identity{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:12px
}
.identity strong{
  font-size:13px
}
.avatar{
  width:32px;
  height:32px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#e8dbc8;
  color:#695740;
  margin-left:8px;
  font-weight:600
}
.status-strip{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  position:sticky;
  top:12px;
  z-index:30;
  background:#fffdf9f5;
  border:1px solid var(--line);
  border-radius:17px;
  padding:12px 16px;
  box-shadow:0 5px 22px #5543290c;
}
.mode-summary{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0
}
.mode-summary strong{
  display:block;
  font-size:15px
}
.mode-summary small{
  display:block;
  font-size:12px;
  line-height:1.4;
  overflow-wrap:anywhere
}
.stop-button{
  flex-shrink:0;
  background:#a44034;
  color:#fff;
  border:1px solid #953c30;
  font-size:13px;
  min-height:46px
}
.stop-button:hover:not(:disabled){
  background:#8c332b
}
.runtime-banner{
  display:flex;
  gap:10px;
  align-items:center;
  font-size:12px;
  color:var(--muted);
  padding:12px 4px
}
.runtime-banner span{
  font-weight:650;
  white-space:nowrap
}
.runtime-banner p{
  margin:0
}
.runtime-banner.real-runtime{
  color:var(--green)
}
.command-card{
  display:grid;
  grid-template-columns:1fr auto;
  gap:12px 22px;
  align-items:center;
  margin:2px 0 22px;
  background:#f9f4ec
}
.command-card h2{
  font-size:20px;
  margin:8px 0 5px;
  letter-spacing:-.4px
}
.command-card p{
  margin:0
}
.control-actions{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:10px
}
.control-actions button{
  min-width:140px
}
.action-feedback{
  font-size:12px;
  line-height:1.6;
  color:var(--accent);
  grid-column:1/-1;
  min-height:1px
}
.action-feedback[data-tone=error]{
  color:var(--red)
}
.action-feedback[data-tone=success]{
  color:var(--green)
}
.transfer-panel{
  grid-column:1/-1;
  padding:14px;
  border:1px solid #dbbd94;
  border-radius:13px;
  background:#fff5e5
}
.transfer-panel>div{
  display:flex;
  gap:10px;
  margin-top:12px
}
.monitor-grid{
  display:grid;
  grid-template-columns:minmax(0,1.4fr) minmax(280px,.85fr);
  gap:22px;
  align-items:start
}
.scene{
  position:relative;
  aspect-ratio:16/10;
  width:100%;
  border-radius:15px;
  overflow:hidden;
  background:#28271f
}
.scene video{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block
}
.scene-placeholder{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:10px;
  text-align:center;
  color:#e9e0d2;
  padding:22px;
  background:radial-gradient(ellipse at 50% 35%,#4d493b,#25261f)
}
.scene-placeholder img{
  width:49px;
  opacity:.75;
  margin-bottom:5px
}
.scene-placeholder strong{
  font-size:16px
}
.scene-placeholder span{
  font-size:12px;
  max-width:290px;
  color:#c0b7a8;
  line-height:1.7
}
.scene-corner{
  position:absolute;
  right:14px;
  bottom:11px;
  font-size:9px;
  letter-spacing:1.8px;
  color:#fff8
}
.media-dock{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
  padding-top:16px
}
.dock-control{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px
}
.dock-control strong,.dock-control small{
  display:block
}
.dock-control strong{
  font-size:13px
}
.dock-control small{
  font-size:11px
}
.ios-switch{
  width:42px;
  height:26px;
  position:relative;
  display:inline-block;
  flex-shrink:0
}
.ios-switch input{
  position:absolute;
  inset:0;
  opacity:0;
  width:100%;
  height:100%;
  z-index:2;
  margin:0;
  cursor:pointer
}
.slider{
  position:absolute;
  inset:0;
  background:#d1c9be;
  border-radius:20px;
  pointer-events:none
}
.slider:before{
  content:"";
  position:absolute;
  width:20px;
  height:20px;
  left:3px;
  top:3px;
  border-radius:50%;
  background:white;
  box-shadow:0 1px 3px #0002;
  transition:transform .15s
}
input:checked+.slider{
  background:#58735a
}
input:checked+.slider:before{
  transform:translateX(16px)
}
input:focus-visible+.slider{
  outline:3px solid #c88857;
  outline-offset:3px
}
input:disabled+.slider{
  opacity:.45
}
.scene-footer{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:8px;
  font-size:11px;
  color:var(--muted);
  margin-top:6px
}
.scene-footer button{
  font-size:11px
}
.conversation-card{
  display:flex;
  flex-direction:column;
  min-height:440px
}
.conversation{
  display:flex;
  flex-direction:column;
  gap:14px;
  overflow:auto;
  max-height:465px;
  min-height:260px;
  padding:5px 2px;
  scrollbar-gutter:stable
}
.bubble{
  max-width:91%;
  align-self:flex-end;
  background:#ece4d7;
  border-radius:15px 15px 4px 15px;
  padding:11px 14px;
  font-size:13px;
  overflow-wrap:anywhere
}
.bubble.assistant{
  align-self:flex-start;
  background:#f6f3ed;
  border:1px solid var(--line);
  border-radius:15px 15px 15px 4px
}
.bubble-meta{
  font-size:10px;
  color:#877868;
  margin-bottom:6px
}
.bubble p{
  margin:0
}
.bubble small{
  font-size:10px;
  display:block;
  margin-top:7px
}
.bubble.backchannel{
  opacity:.8
}
.inline-form{
  display:flex;
  gap:8px
}
.embody-grid{
  display:grid;
  grid-template-columns:minmax(0,1.5fr) minmax(310px,.85fr);
  gap:22px;
  align-items:start
}
.drive-card .card-head{
  margin-bottom:9px
}
.drive-card>p{
  font-size:12px
}
.speed-control>span{
  display:flex;
  justify-content:space-between;
  font-weight:600;
  font-size:13px
}
.speed-control output{
  font-variant-numeric:tabular-nums;
  color:var(--accent)
}
.speed-control>small{
  display:block;
  font-size:11px;
  line-height:1.5
}
.dpad{
  display:grid;
  grid-template-columns:repeat(3,64px);
  grid-template-rows:repeat(3,54px);
  gap:7px;
  justify-content:center;
  margin:20px auto 12px;
  touch-action:none
}
.drive{
  background:#f7f1e6;
  border:1px solid #e1d6c4;
  border-radius:14px;
  font-size:25px;
  font-weight:600;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  line-height:1;
  touch-action:none;
  user-select:none;
  -webkit-user-select:none
}
.drive small{
  display:block;
  font-size:10px;
  margin-top:4px;
  color:inherit
}
.drive.active,.drive:active:not(:disabled){
  background:#d8bd97;
  color:#4f3924
}
.drive.up{
  grid-column:2;
  grid-row:1
}
.drive.left{
  grid-column:1;
  grid-row:2
}
.drive.center{
  grid-column:2;
  grid-row:2;
  background:#f7e9e3;
  color:var(--red);
  font-size:19px
}
.drive.right{
  grid-column:3;
  grid-row:2
}
.drive.down{
  grid-column:2;
  grid-row:3
}
.motion-label{
  text-align:center;
  font-size:12px;
  font-weight:600;
  margin:0
}
.drive-card>.card-caption{
  text-align:center;
  font-size:10px;
  line-height:1.6
}
.microphone-control{
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:space-between;
  border-top:1px solid var(--line);
  padding-top:16px;
  margin-top:18px
}
.microphone-control strong{
  font-size:13px
}
.microphone-control p{
  font-size:11px;
  color:var(--muted);
  margin:3px 0 0;
  max-width:230px
}
.microphone-control button{
  font-size:12px;
  padding:10px;
  flex-shrink:0
}
.microphone-control button[aria-pressed=true]{
  background:#f2e5da;
  border-color:#bc8059;
  color:#7e452b
}
.drive-settings{
  border-top:1px solid var(--line);
  margin-top:18px
}
.drive-settings summary{
  font-size:13px;
  display:list-item
}
.drive-settings summary>span{
  float:right;
  font-weight:400;
  font-size:11px;
  color:var(--muted)
}
#motion-limits-form label{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  font-size:12px;
  margin:12px 0
}
.number-unit{
  display:flex;
  align-items:center;
  gap:6px;
  max-width:110px
}
.number-unit input{
  width:76px!important
}
.drive-power{
  border-top:1px solid var(--line);
  padding-top:14px;
  margin-top:16px
}
.drive-power p{
  font-size:11px;
  margin:8px 0
}
.telemetry{
  display:flex;
  flex-wrap:wrap;
  gap:8px 14px;
  color:var(--muted);
  font-size:10px
}
.section-intro{
  margin:4px 0 20px
}
.section-intro h2{
  font-size:22px;
  margin-bottom:5px
}
.section-intro p{
  color:var(--muted);
  font-size:13px
}
.activity{
  padding:0;
  margin:0;
  list-style:none
}
.activity li{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:15px;
  padding:13px 0;
  border-bottom:1px solid var(--line);
  font-size:13px
}
.activity li:last-child{
  border:0
}
.activity time{
  font-size:11px;
  color:var(--muted);
  white-space:nowrap
}
.task-list{
  margin:18px 0
}
.task-item{
  display:flex;
  justify-content:space-between;
  gap:15px;
  margin-top:12px
}
.task-item p{
  margin:0
}
.history-management{
  margin-top:22px
}
.history-management summary{
  padding:0;
  min-height:24px
}
.history-management[open] summary{
  margin-bottom:14px
}
.device-card{
  margin-bottom:22px
}
.device-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:15px
}
.device-row{
  display:flex;
  align-items:center;
  gap:11px;
  padding:8px 0;
  min-width:0
}
.device-row>div{
  flex:1
}
.device-row strong,.device-row small{
  display:block
}
.device-row strong{
  font-size:13px
}
.device-row small{
  font-size:10px
}
.device-icon{
  font-size:21px;
  color:#997658
}
.status-label{
  font-size:11px
}
.device-details-accordion{
  border-top:1px solid var(--line)
}
.device-details-accordion summary{
  font-size:12px
}
.technical-details,.runtime-settings-values{
  font-size:11px;
  overflow-wrap:anywhere;
  color:var(--muted)
}
.gate-settings{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px
}
.gate-settings strong{
  font-size:12px
}
.gate-settings p{
  font-size:11px;
  margin:0
}
.segmented-control{
  display:flex;
  gap:3px;
  background:#ece6dc;
  padding:3px;
  border-radius:10px
}
.segmented-control button{
  font-size:11px;
  min-height:36px;
  border-radius:8px;
  padding:7px 12px
}
.segmented-control button.active{
  background:var(--paper);
  color:var(--accent)
}
.settings-card{
  margin-top:16px
}
.settings-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px
}
.setting-field>span{
  display:block;
  font-size:13px;
  font-weight:600;
  margin-bottom:6px
}
.setting-field>small{
  display:block;
  margin-top:4px
}
.settings-save{
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:20px;
  flex-wrap:wrap
}
.settings-save>div{
  flex:1;
  min-width:160px
}
.settings-save p{
  font-size:11px;
  margin:4px 0 0
}
.mind-card{
  margin-top:22px
}
.mind-card>summary{
  padding:0;
  min-height:24px;
  font-size:12px
}
.mind-card[open]>summary{
  margin-bottom:20px
}
.mind-card details{
  border-top:1px solid var(--line)
}
.mind-card details summary{
  font-size:12px
}
.simulation-tools{
  margin-top:22px
}
.toggle-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin:12px 0
}
.toast{
  position:fixed;
  bottom:26px;
  left:50%;
  transform:translateX(-50%);
  z-index:100;
  background:#352f28f2;
  color:#fffaf2;
  border-radius:15px;
  padding:13px 22px;
  box-shadow:0 8px 30px #0002;
  font-size:13px;
  max-width:min(90vw,580px);
  width:max-content;
  pointer-events:none
}
footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-top:32px;
  padding-top:17px;
  border-top:1px solid var(--line);
  font-size:11px;
  color:#918475
}
#mobile-logout{
  display:none
}
@media(min-width:1400px){
  .scene{
    aspect-ratio:16/9
  }
  .dpad{
    grid-template-columns:repeat(3,72px);
    grid-template-rows:repeat(3,59px)
  }
}
@media(max-width:1100px){
  main{
    padding:28px 24px
  }
  .sidebar{
    width:180px;
    padding:30px 15px
  }
  main{
    margin-left:180px
  }
  .monitor-grid{
    grid-template-columns:minmax(0,1.2fr) minmax(240px,.85fr)
  }
  .embody-grid{
    grid-template-columns:minmax(0,1fr) minmax(290px,.8fr)
  }
  .card{
    padding:18px
  }
  .device-grid{
    grid-template-columns:1fr
  }
  .device-row{
    border-bottom:1px solid var(--line)
  }
  .device-row:last-child{
    border:0
  }
  .scene-card .media-dock{
    gap:10px
  }
  .dock-control strong{
    font-size:11px
  }
}
@media(max-width:800px){
  .sidebar{
    inset:auto 0 0;
    width:100%;
    padding:7px 12px max(8px,env(safe-area-inset-bottom));
    border:0;
    border-top:1px solid #dbd0bf;
    background:#f6f1e8f5;
    backdrop-filter:blur(16px);
    z-index:50
  }
  .sidebar .brand,.sidebar-bottom{
    display:none
  }
  .sidebar nav{
    grid-template-columns:repeat(4,1fr);
    gap:8px
  }
  .nav{
    flex-direction:column;
    gap:6px;
    justify-content:center;
    text-align:center;
    font-size:10px;
    padding:8px 4px;
    border-radius:11px;
    min-height:51px
  }
  .nav span{
    font-size:19px
  }
  .nav.active{
    background:#e8ddcc;
    box-shadow:none
  }
  main{
    margin:0;
    padding:24px 18px calc(88px + env(safe-area-inset-bottom))
  }
  .topbar{
    margin-bottom:18px
  }
  .topbar h1{
    font-size:23px
  }
  .identity strong,.identity .avatar{
    display:none
  }
  .identity{
    font-size:10px;
    gap:6px
  }
  .eyebrow{
    font-size:9px
  }
  .status-strip{
    top:8px;
    padding:11px 12px;
    border-radius:14px;
    gap:8px
  }
  .mode-summary{
    gap:8px
  }
  .mode-summary strong{
    font-size:13px
  }
  .mode-summary small{
    font-size:10px;
    max-width:205px
  }
  .stop-button{
    font-size:12px;
    padding:10px 12px;
    min-height:44px
  }
  .runtime-banner{
    font-size:10px;
    align-items:baseline;
    padding:10px 2px;
    gap:7px
  }
  .command-card{
    padding:15px 17px;
    grid-template-columns:1fr;
    gap:12px;
    margin-bottom:16px
  }
  .command-card h2{
    font-size:18px;
    margin-top:5px
  }
  .command-card .muted{
    font-size:11px
  }
  .command-card .tag{
    font-size:10px
  }
  .control-actions{
    justify-content:stretch;
    gap:8px
  }
  .control-actions button{
    flex:1;
    font-size:13px;
    min-height:46px;
    min-width:120px
  }
  .monitor-grid,.embody-grid{
    grid-template-columns:1fr;
    gap:16px
  }
  .card{
    padding:16px;
    border-radius:18px
  }
  .scene{
    aspect-ratio:16/9;
    border-radius:12px
  }
  .card-head{
    margin-bottom:12px
  }
  .card-head h2{
    font-size:15px
  }
  .card-head-title{
    gap:7px
  }
  .tag,.pill{
    font-size:10px;
    padding:3px 8px
  }
  .scene-placeholder{
    gap:6px;
    padding:16px
  }
  .scene-placeholder img{
    width:32px;
    margin-bottom:0
  }
  .scene-placeholder strong{
    font-size:13px
  }
  .scene-placeholder span{
    font-size:11px
  }
  .media-dock{
    gap:20px;
    padding-top:12px
  }
  .dock-control strong{
    font-size:12px
  }
  .dock-control small{
    font-size:10px
  }
  .scene-footer{
    margin-top:2px
  }
  .conversation-card{
    min-height:280px
  }
  .conversation{
    max-height:370px;
    min-height:180px
  }
  .conversation-card>.card-caption{
    font-size:10px
  }
  .embody-grid .scene-card{
    padding-bottom:8px
  }
  .embody-grid .media-dock{
    padding-top:10px
  }
  .embody-grid .scene-footer{
    display:none
  }
  .drive-card{
    padding-top:14px
  }
  .drive-card>.muted{
    font-size:11px;
    margin-bottom:10px
  }
  .dpad{
    grid-template-columns:repeat(3,69px);
    grid-template-rows:repeat(3,50px);
    margin-top:14px;
    margin-bottom:9px
  }
  .speed-control>small{
    font-size:10px
  }
  .speed-control>span{
    font-size:12px
  }
  .drive-settings{
    margin-top:14px
  }
  .microphone-control{
    margin-top:13px;
    padding-top:13px
  }
  .settings-grid{
    grid-template-columns:1fr
  }
  .settings-save{
    gap:8px
  }
  .settings-save>div{
    flex-basis:100%;
    margin-bottom:6px
  }
  .settings-save button{
    flex:1
  }
  .section-intro h2{
    font-size:20px
  }
  .login-screen{
    display:block;
    max-width:480px;
    padding:38px 24px
  }
  .login-art{
    margin-bottom:30px
  }
  .login-art h1{
    font-size:33px;
    letter-spacing:-1.5px
  }
  .login-art>p:not(.eyebrow){
    font-size:15px
  }
  .login-pony{
    width:55px;
    margin-bottom:18px
  }
  .login-form{
    padding:24px
  }
  .toast{
    bottom:calc(86px + env(safe-area-inset-bottom));
    font-size:12px;
    padding:12px 18px;
    border-radius:13px
  }
  #mobile-logout{
    display:block
  }
  .history-management{
    margin-top:16px
  }
  .activity li{
    font-size:12px
  }
  .activity time{
    font-size:10px
  }
  footer{
    font-size:10px;
    margin-top:25px
  }
  .gate-settings{
    align-items:flex-start;
    flex-direction:column
  }
}
@media(prefers-reduced-motion:reduce){
  *,*:before{
    transition:none!important;
    scroll-behavior:auto!important
  }
}
@media(max-width:800px){
  #workspace[data-page=embody] .topbar{
    display:none
  }
  #workspace[data-page=embody][data-ready=true] #runtime-banner{
    display:none
  }
  #workspace[data-page=embody] .status-strip{
    margin-bottom:10px
  }
  #workspace[data-page=embody] .command-card{
    margin-bottom:12px;
    padding:10px 12px;
    gap:6px
  }
  #workspace[data-page=embody] .command-card>div:first-child{
    display:none
  }
  #workspace[data-page=embody] .scene-card .card-head{
    display:none
  }
  #workspace[data-page=embody] .scene{
    aspect-ratio:2/1
  }
  #workspace[data-page=embody] .scene-card{
    padding:12px
  }
  #workspace[data-page=embody] .media-dock{
    padding-top:8px
  }
  #workspace[data-page=embody] .dock-control small{
    display:none
  }
  #workspace[data-page=embody] .drive-card .card-head{
    margin-bottom:4px
  }
  #workspace[data-page=embody] .drive-card>p.muted{
    margin-bottom:8px
  }
  #workspace[data-page=embody] .embody-grid{
    gap:12px
  }
}
