/* The environment declaration is kept in the toolbar; the bottom stays open. */
.prototype-footer{display:none}
#workspace{height:calc(100dvh - 64px)}
.toolbar .storage-button{font-size:11px;color:#738078}
.toolbar .storage-button .status-dot{background:#7b8e82}
.menu-line{height:0!important;background:transparent!important;margin:7px 5px!important}
.popover{border:0;border-radius:12px;padding:7px;box-shadow:0 12px 44px #23332c18,0 1px 5px #23332c08}
.popover button{border-radius:7px;min-height:36px;padding:10px 12px;color:#3f4943}
.popover button:hover{background:#f1f5f2}
.popover .menu-label{font-size:11px;color:#7a867e;padding:9px 12px}
.popover .menu-line+button{margin-top:3px}
dialog{border:0;border-radius:16px;padding:26px;box-shadow:0 24px 110px #23332c24,0 2px 12px #23332c08}
dialog::backdrop{background:#1f2e2526;backdrop-filter:blur(3px)}
.dialog-heading{margin-bottom:24px}.dialog-heading h2{font-size:18px;font-weight:550;letter-spacing:-.02em}
.dialog-row{border:0;padding:12px 0}
.dialog-row small,.muted{font-size:12px;color:#78847c}
.dialog-row button{background:#f1f5f2;border-radius:7px;color:#486151;padding:7px 11px}
.dialog-note{border-radius:9px;padding:13px 15px;color:#78847c;background:#f4f7f4;font-size:12px}
.dialog-textarea{border:0;background:#f5f7f5;border-radius:10px;padding:14px;font-size:15px;line-height:1.9;min-height:140px}
.dialog-textarea:focus{box-shadow:0 0 0 2px #a9bfb0}
.original-content{background:#f4f6f4;border-radius:10px;padding:15px;font-size:14px}
.search-dialog{padding:0;border-radius:15px}
.search-field{border:0;padding:20px 22px 14px}.search-field input{font-size:15px}
.search-results{padding:8px 10px 10px}.search-result{border-radius:8px;padding:12px;font-size:13px}
.search-result.active,.search-result:hover{background:#eff4f0}.search-label{font-size:11px;padding:9px 12px;color:#829087}
.search-footer{border:0;padding:12px 22px 16px;font-size:11px}
.toast{border:0;border-radius:11px;box-shadow:0 6px 30px #23332c18;background:#fff;padding:12px 16px;font-size:12px;bottom:24px}
.toast button{color:#375a4b}.toast svg{color:#648371}
.selection-quote{border-radius:8px;background:#375a4b;padding:10px 13px;box-shadow:0 4px 18px #253e3126}
.record-row.selected .record-body,.record-row.highlight .record-body{outline:0}
.record-row:focus-visible .record-body{outline:2px solid #799887;outline-offset:4px;border-radius:4px}
.splitter:focus-visible{outline:none}.splitter:focus-visible::before{background:#648371!important;opacity:1!important}
:where(.iconbutton,.quiet-button,.solid-button,.send-button,.popover button,.search-result,.voice-icon){transition:background-color 130ms ease,color 130ms ease,box-shadow 130ms ease}
button:active{transform:translateY(.4px)}
#companionPane{animation:none}
@media(max-width:899px){#workspace{height:calc(100dvh - 60px)}.focused .companion-pane{bottom:0}.toast{bottom:130px;max-width:calc(100vw - 28px)}dialog{padding:22px}.search-dialog{padding:0}.dialog-heading{margin-bottom:18px}.dialog-note,.muted,.dialog-row small{font-size:11px}.search-footer{padding:12px 18px 15px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(prefers-reduced-transparency:reduce){dialog::backdrop{backdrop-filter:none;background:#23352b38}}
.identity-icon{width:25px;height:29px;background:transparent;border-radius:0}
.identity-icon .tormie-mark{transform:none}
@media(max-width:899px){.identity-icon{width:24px;height:26px}}

/* Keep prototype and simulation boundaries visible after English migration. */
.prototype-footer{display:flex;height:40px;padding:0 26px;justify-content:space-between;gap:16px;font-size:12px;color:#66736b}
.prototype-footer>div{position:static;gap:16px;flex-shrink:0}
.prototype-footer button{font-size:12px;color:#66736b}
#workspace{height:calc(100dvh - 104px)}
.focused .companion-pane{bottom:40px}
@media(max-width:899px){
  .prototype-footer{height:64px;padding:7px 18px;align-content:center;justify-content:flex-start;flex-wrap:wrap;gap:4px 16px}
  .prototype-footer>span{flex-basis:100%;font-size:11px}
  .prototype-footer>div{gap:16px}
  .prototype-footer button{font-size:11px}
  #workspace{height:calc(100dvh - 124px)}
  .focused .companion-pane{bottom:64px}
  .toolbar-right{gap:5px}
  .toolbar .storage-button{font-size:10px;white-space:nowrap}
}
