/* Presentation only. Native app icon sources: assets/macos/provenance.json.
   Keep the managed-window geometry, events and all RPG pixels in their owners. */
.tba-scene .tba-mac-desktop{
  --tba-mac-ink:#e5e5e7;
  --tba-mac-secondary:#a5a5ab;
  --tba-mac-chrome:#303033;
  --tba-mac-panel:#232326;
  --tba-mac-divider:#ffffff12;
  --tba-mac-blue:#0a84ff;
  font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue",sans-serif;
  -webkit-font-smoothing:antialiased;
}
.tba-scene .tba-mac-desktop .tba-mac-window:not(.tba-floating-game){
  border:1px solid #ffffff30;
  border-radius:10px;
  background:var(--tba-mac-panel);
  box-shadow:0 18px 46px -12px #0009,0 1px 4px #0005;
  color:var(--tba-mac-ink);
}
.tba-scene .tba-mac-desktop .tba-mac-window:not(.tba-floating-game)>.tba-managed-titlebar{
  height:32px;min-height:32px;padding:0 11px;gap:12px;
  background:linear-gradient(#3b3b3e,#323235);
  border-bottom:1px solid #0005;
  box-shadow:inset 0 1px #ffffff0b;
}
.tba-scene .tba-mac-desktop .tba-mac-window:not(.tba-floating-game) .tba-window-drag-handle{
  color:#d8d8dc;font-family:inherit;font-size:10px;font-weight:600;
}
.tba-scene .tba-mac-desktop .tba-mac-window:not(.tba-floating-game) .tba-window-drag-handle>img:last-child{opacity:.35;width:12px}
.tba-scene .tba-mac-desktop .tba-mac-window:not(.tba-floating-game):not(.tba-mac-front)>.tba-managed-titlebar{background:#2c2c2f}
.tba-scene .tba-mac-desktop .tba-mac-window:not(.tba-floating-game):not(.tba-mac-front) .tba-window-drag-handle{color:#a9a9af}
.tba-scene .tba-mac-desktop .tba-mac-traffic{gap:7px}
.tba-scene .tba-mac-desktop .tba-mac-traffic .tba-window-control{box-shadow:inset 0 1px #ffffff30;flex:none}

/* A continuous desktop material behind the translucent system furniture. */
.tba-scene .tba-mac-desktop .tba-mac-wallpaper{
  background:
    radial-gradient(ellipse at 16% 2%,#643ea2 0,transparent 48%),
    radial-gradient(ellipse at 88% 12%,#194f86 0,transparent 51%),
    radial-gradient(ellipse at 53% 112%,#633953 0,transparent 59%),
    linear-gradient(145deg,#18203d,#102737 55%,#24233f);
}
.tba-scene .tba-mac-desktop .tba-mac-wallpaper::after{
  content:"";position:absolute;inset:-15% -12%;pointer-events:none;
  border-radius:0 0 48% 52%;border-bottom:1px solid #b7b8ff26;
  transform:rotate(-14deg);box-shadow:0 28px 35px -28px #b4c7ff4d,0 56px 0 -55px #b6c4ff1c;
}
.tba-scene .tba-mac-desktop .tba-mac-wallpaper>span{display:none}

/* System menu and Dock use system typography, quiet material and real icons. */
.tba-scene .tba-mac-desktop .tba-os-menubar{
  height:30px;min-height:30px;background:#242439a6;border-bottom:1px solid #ffffff10;
  backdrop-filter:blur(26px) saturate(1.3);-webkit-backdrop-filter:blur(26px) saturate(1.3);
  color:#f5f5f7;font-family:inherit;font-size:11px;font-weight:450;
}
.tba-scene .tba-mac-desktop .tba-os-menu-app .tba-os-menu-trigger{font-weight:650}
.tba-scene .tba-mac-desktop .tba-os-menu-trigger{padding-left:8px;padding-right:8px;border-radius:4px}
.tba-scene .tba-mac-desktop .tba-os-dropdown{background:#303034f2;border-color:#ffffff30;box-shadow:0 12px 28px #0005,inset 0 1px #ffffff12;border-radius:7px}
.tba-scene .tba-mac-desktop .tba-os-menu-command{font-family:inherit;font-size:11px;min-height:26px}
.tba-scene .tba-mac-desktop .tba-os-dock-region{height:65px;min-height:65px}
.tba-scene .tba-mac-desktop .tba-os-dock{
  height:59px;gap:7px;padding:5px 9px 3px;border-radius:15px;
  background:#b5b3c32b;border:1px solid #ffffff38;
  box-shadow:0 6px 18px #0004,inset 0 1px #ffffff24;
  backdrop-filter:blur(28px) saturate(1.5);-webkit-backdrop-filter:blur(28px) saturate(1.5);
}
.tba-scene .tba-mac-desktop .tba-os-dock-app{width:44px;height:49px;gap:2px;justify-content:flex-start;border-radius:11px}
.tba-scene .tba-mac-desktop .tba-os-app-icon{
  width:44px;height:44px;border:0;border-radius:0;background:none;box-shadow:none;overflow:visible;
}
.tba-scene .tba-mac-desktop .tba-os-app-icon img{
  width:100%;height:100%;filter:none;object-fit:contain;object-position:center;image-rendering:auto;
}
.tba-scene .tba-mac-desktop .tba-os-icon-game{width:38px;height:38px;margin:3px;border-radius:9px;background:#262229;overflow:hidden;box-shadow:inset 0 0 0 1px #ffffff30,0 1px 2px #0004}
.tba-scene .tba-mac-desktop .tba-os-icon-game img{image-rendering:pixelated;object-fit:contain;object-position:center}
.tba-scene .tba-mac-desktop .tba-os-dock-dot{height:3px;width:3px}
.tba-scene .tba-mac-desktop .tba-os-dock-trash{width:37px;height:45px}
.tba-scene .tba-mac-desktop .tba-os-dock-trash img{width:39px;height:43px;filter:none;object-fit:contain}
.tba-scene .tba-mac-desktop .tba-os-dock-tooltip{font-family:inherit;font-size:11px;border-radius:6px;background:#333337eb}

/* Finder: integrated graphite toolbar, translucent sidebar, native file pixels. */
.tba-scene .tba-mac-desktop .tba-macapp{font-family:inherit;color:var(--tba-mac-ink);font-size:11px;background:#202023}
.tba-scene .tba-mac-desktop .tba-macapp-toolbar{min-height:36px;background:#303033;border-bottom:1px solid #0004;padding:4px 8px;gap:6px}
.tba-scene .tba-mac-desktop .tba-macapp-icon{opacity:.9}
.tba-scene .tba-mac-desktop .tba-macapp-status{height:22px;min-height:22px;background:#29292c;border-color:var(--tba-mac-divider);color:#a8a8af;font-size:8px}
.tba-scene .tba-mac-desktop .tba-macapp-breadcrumb button{font-size:11px;font-weight:600}
.tba-scene .tba-mac-desktop .tba-macapp-view-switch{padding:1px;background:#242427;border-radius:5px;box-shadow:inset 0 0 0 1px #ffffff09}
.tba-scene .tba-mac-desktop .tba-macapp-view-switch [aria-pressed=true]{background:#515155;box-shadow:0 1px 3px #0005}
.tba-scene .tba-mac-desktop .tba-macapp-finder-sidebar{width:110px;padding:13px 7px;background:#29292dd9;gap:2px;border-right:1px solid #0003}
.tba-scene .tba-mac-desktop .tba-macapp-finder-sidebar strong{font-size:9px;font-weight:650;color:#94949e;margin:0 0 5px;padding:0 5px}
.tba-scene .tba-mac-desktop .tba-macapp-finder-sidebar button{font-size:10px;min-height:27px;padding:5px 6px;border-radius:5px}
.tba-scene .tba-mac-desktop .tba-macapp-finder-sidebar button[aria-pressed=true]{background:#ffffff18;color:#fff}
.tba-scene .tba-mac-desktop .tba-macapp-finder-content{background:#1e1e21}
.tba-scene .tba-mac-desktop .tba-macapp-search{margin:9px 10px 2px;padding:5px 7px;background:#161619;border-color:#ffffff17;border-radius:6px}
.tba-scene .tba-mac-desktop .tba-macapp-search input{font-size:10px}
.tba-scene .tba-mac-desktop .tba-macapp-files{padding:12px 9px}
.tba-scene .tba-mac-desktop .tba-macapp-files-grid{grid-template-columns:repeat(auto-fill,minmax(72px,1fr));gap:8px 4px}
.tba-scene .tba-mac-desktop .tba-macapp-file{font-size:10px;gap:5px;min-height:76px;border-radius:6px;background:none}
.tba-scene .tba-mac-desktop .tba-macapp-file .tba-macapp-native-file-icon{width:43px;height:43px;filter:none;opacity:1;object-fit:contain}
.tba-scene .tba-mac-desktop .tba-macapp-file[aria-pressed=true]{background:#ffffff0b}
.tba-scene .tba-mac-desktop .tba-macapp-file[aria-pressed=true]>span{background:#245b9e;color:white;border-radius:3px}
.tba-scene .tba-mac-desktop .tba-macapp-file>span{padding:1px 4px;line-height:1.4}
.tba-scene .tba-mac-desktop .tba-macapp-files-list{padding:6px 7px;gap:0}
.tba-scene .tba-mac-desktop .tba-macapp-files-list .tba-macapp-file{min-height:29px;border-radius:4px;font-size:10px}
.tba-scene .tba-mac-desktop .tba-macapp-files-list .tba-macapp-file:nth-child(even){background:#ffffff05}
.tba-scene .tba-mac-desktop .tba-macapp-files-list .tba-macapp-native-file-icon{width:21px;height:21px}
.tba-scene .tba-mac-desktop .tba-macapp-files-list .tba-macapp-file[aria-pressed=true]{background:#245b9e}

/* Code keeps the editable textarea and line-number scroll behavior. */
.tba-scene .tba-mac-desktop .tba-mac-code>.tba-managed-titlebar{background:#242424;border-bottom-color:#171717}
.tba-scene .tba-mac-desktop .tba-macapp-editor{background:#1f1f1f;color:#cccccc}
.tba-scene .tba-mac-desktop .tba-macapp-editor-activity{width:35px;flex:none;display:flex;flex-direction:column;align-items:center;gap:20px;padding:14px 0 10px;background:#181818;border-right:1px solid #ffffff08}
.tba-scene .tba-mac-desktop .tba-macapp-editor-activity>.tba-macapp-icon{width:18px;height:18px;opacity:.5}
.tba-scene .tba-mac-desktop .tba-macapp-editor-activity>.tba-macapp-icon:first-child{opacity:1}
.tba-scene .tba-mac-desktop .tba-macapp-editor-activity>span{flex:1}
.tba-scene .tba-mac-desktop .tba-macapp-editor-sidebar{width:105px;background:#181818;padding-top:12px;border-right:1px solid #ffffff0b}
.tba-scene .tba-mac-desktop .tba-macapp-editor-sidebar>strong{font-size:9px;font-weight:400;letter-spacing:.2px;color:#b8b8bb;padding:0 11px}
.tba-scene .tba-mac-desktop .tba-macapp-project-title{font-size:10px;font-weight:650;padding:4px 6px}
.tba-scene .tba-mac-desktop .tba-macapp-editor-sidebar>button{font-size:10px;padding:5px 8px 5px 14px;gap:6px;min-height:26px}
.tba-scene .tba-mac-desktop .tba-macapp-editor-sidebar>button[aria-pressed=true]{background:#37373d;color:white}
.tba-scene .tba-mac-desktop .tba-macapp-editor-tab{height:32px;min-height:32px;font-size:10px;background:#1f1f1f;border-bottom:1px solid #2b2b2b;border-top:1px solid #0078d4;padding-left:11px}
.tba-scene .tba-mac-desktop .tba-macapp-editor-canvas{padding-top:11px;background:#1f1f1f}
.tba-scene .tba-mac-desktop .tba-macapp-line-numbers{width:33px;padding-right:9px;font-size:10px;line-height:18px;color:#858585}
.tba-scene .tba-mac-desktop .tba-macapp-editor textarea{font-size:10px;line-height:18px;color:#c8d3e3;caret-color:#d4d4d4;letter-spacing:0;font-variant-ligatures:none}
.tba-scene .tba-mac-desktop .tba-macapp-editor-status{background:#181818;border-top:1px solid #2b2b2b;color:#b5b5bb;font-size:8px}

/* Terminal is a terminal surface; approval/input controls remain functional. */
.tba-scene .tba-mac-desktop .tba-mac-terminal>.tba-managed-titlebar{background:#303033}
.tba-scene .tba-mac-desktop .tba-mac-terminal .tba-work-tabs{height:27px;min-height:27px;background:#252527;font:10px/1.4 -apple-system,BlinkMacSystemFont,sans-serif;border-bottom:1px solid #ffffff0b;gap:16px}
.tba-scene .tba-mac-desktop .tba-mac-terminal .tba-work-tab-content{background:#151518}
.tba-scene .tba-mac-desktop .tba-mac-terminal .tba-terminal-output{background:#151518;color:#ceced3;font:10px/1.75 "JetBrains Mono",monospace;padding:11px 13px;overflow:auto}
.tba-scene .tba-mac-desktop .tba-mac-terminal .tba-terminal-prompt{color:#72c79d}
.tba-scene .tba-mac-desktop .tba-mac-terminal .tba-terminal-branch{color:#d1b784}
.tba-scene .tba-mac-desktop .tba-mac-terminal .tba-terminal-muted{color:#92929a}
.tba-scene .tba-mac-desktop .tba-mac-terminal .tba-mobile-approval{background:#242426;border-top:1px solid #ffffff10;color:#b9b9c0;font:9px/1.4 -apple-system,BlinkMacSystemFont,sans-serif;padding:6px 10px;min-height:32px}
.tba-scene .tba-mac-desktop .tba-mac-terminal .tba-mobile-approval button{background:#3b3b40;border:1px solid #ffffff16;color:#ededf0;border-radius:5px;box-shadow:inset 0 1px #ffffff08;font:10px/1.3 -apple-system,BlinkMacSystemFont,sans-serif;padding:4px 8px;min-height:24px}
.tba-scene .tba-mac-desktop .tba-mac-terminal .tba-mobile-approval button:disabled{background:#28362e;color:#95c6a7;border-color:#526e5c}
.tba-scene .tba-mac-desktop .tba-mac-terminal .tba-mission-form{background:#1d1d20;border-top:1px solid #ffffff0c;padding:5px 8px 5px 12px;min-height:31px}
.tba-scene .tba-mac-desktop .tba-mac-terminal .tba-mission-form input{font:10px/1.4 "JetBrains Mono",monospace;caret-color:#e6e6eb}
.tba-scene .tba-mac-desktop .tba-mac-terminal .tba-mission-form button{background:#35353b;color:#dcdce1;border:1px solid #ffffff12;border-radius:4px;box-shadow:none}

/* Safari keeps its own local example site; its browser furniture is graphite. */
.tba-scene .tba-mac-desktop .tba-macapp-safari-toolbar{min-height:41px;background:#343437;padding:6px 8px;border-bottom:1px solid #0005}
.tba-scene .tba-mac-desktop .tba-macapp-address{height:27px;background:#222225;border-color:#ffffff12;border-radius:6px;box-shadow:inset 0 1px 2px #0003}
.tba-scene .tba-mac-desktop .tba-macapp-address input{font-size:10px;color:#d0d0d5}
.tba-scene .tba-mac-desktop .tba-macapp-browser-page{background:#f5f3ed;color:#263e36;font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue",sans-serif}
.tba-scene .tba-mac-desktop .tba-macapp-browser-page>header{padding:14px 17px}
.tba-scene .tba-mac-desktop .tba-macapp-browser-page>main{padding:20px 20px 16px}
.tba-scene .tba-mac-desktop .tba-macapp-browser-page nav{font-size:9px}
.tba-scene .tba-mac-desktop .tba-macapp-browser-page h2{font-family:inherit;font-size:clamp(23px,8cqw,34px);font-weight:650;letter-spacing:-.04em;line-height:1.1}
.tba-scene .tba-mac-desktop .tba-macapp-browser-page main>p{font-size:10px;line-height:1.65}
.tba-scene .tba-mac-desktop .tba-macapp-web-eyebrow{font-size:7px}
.tba-scene .tba-mac-desktop .tba-macapp-task-form input,.tba-scene .tba-mac-desktop .tba-macapp-web-tasks label{font-size:10px}
.tba-scene .tba-mac-desktop .tba-macapp-task-form{border-radius:6px;padding:4px;background:#fffdf7}
.tba-scene .tba-mac-desktop .tba-macapp-task-form>button{border-radius:4px}
.tba-scene .tba-mac-desktop .tba-macapp-browser-page>footer{font-size:8px}
.tba-scene .tba-mac-desktop .tba-macapp ::-webkit-scrollbar{width:6px;height:6px}
.tba-scene .tba-mac-desktop .tba-macapp ::-webkit-scrollbar-thumb{background:#8b8b934d;border:1px solid transparent;border-radius:8px;background-clip:padding-box}
.tba-scene .tba-mac-desktop .tba-macapp ::-webkit-scrollbar-track{background:transparent}
.tba-scene .tba-mac-desktop .tba-macapp textarea::selection{background:#264f78;color:#fff}

@container(max-width:360px){
  .tba-scene .tba-mac-desktop .tba-macapp-finder-sidebar{width:83px;padding:10px 4px}
  .tba-scene .tba-mac-desktop .tba-macapp-finder-sidebar button{font-size:9px;gap:4px;padding:5px 4px}
  .tba-scene .tba-mac-desktop .tba-macapp-files-grid{grid-template-columns:repeat(auto-fill,minmax(60px,1fr));gap:6px 2px}
  .tba-scene .tba-mac-desktop .tba-macapp-file{font-size:9px;padding:5px!important;min-height:66px}
  .tba-scene .tba-mac-desktop .tba-macapp-file .tba-macapp-native-file-icon{width:35px;height:35px}
  .tba-scene .tba-mac-desktop .tba-macapp-editor-activity{width:27px;gap:19px}
  .tba-scene .tba-mac-desktop .tba-macapp-editor-activity>.tba-macapp-icon{width:15px;height:15px}
  .tba-scene .tba-mac-desktop .tba-macapp-editor-sidebar{width:76px}
  .tba-scene .tba-mac-desktop .tba-macapp-editor-sidebar>button{font-size:8px;padding-left:7px;gap:3px}
  .tba-scene .tba-mac-desktop .tba-macapp-project-title{font-size:8px}
  .tba-scene .tba-mac-desktop .tba-macapp-editor-sidebar>strong{font-size:8px;padding-left:8px}
  .tba-scene .tba-mac-desktop .tba-macapp-editor textarea,.tba-scene .tba-mac-desktop .tba-macapp-line-numbers{font-size:9px}
  .tba-scene .tba-mac-desktop .tba-macapp-line-numbers{width:25px;padding-right:6px}
  .tba-scene .tba-mac-desktop .tba-macapp-editor-status{font-size:7px;gap:5px}
  .tba-scene .tba-mac-desktop .tba-macapp-browser-page>header{padding:11px 13px}
  .tba-scene .tba-mac-desktop .tba-macapp-browser-page>main{padding:16px}
}
@container(max-width:650px){
  .tba-scene .tba-mac-desktop .tba-os-menubar{height:28px;min-height:28px;font-size:10px}
  .tba-scene .tba-mac-desktop .tba-os-menu-trigger{padding-left:5px;padding-right:5px}
  .tba-scene .tba-mac-desktop .tba-os-dock-region{height:57px;min-height:57px}
  .tba-scene .tba-mac-desktop .tba-os-dock{height:51px;gap:4px;padding:4px 7px 2px;border-radius:13px}
  .tba-scene .tba-mac-desktop .tba-os-dock-app{width:36px;height:43px}
  .tba-scene .tba-mac-desktop .tba-os-app-icon{width:36px;height:36px}
  .tba-scene .tba-mac-desktop .tba-os-icon-game{width:31px;height:31px;margin:2.5px}
  .tba-scene .tba-mac-desktop .tba-os-dock-trash{width:31px;height:39px}
  .tba-scene .tba-mac-desktop .tba-os-dock-trash img{width:33px;height:37px}
  .tba-scene .tba-mac-desktop .tba-os-dock-separator{margin:0 1px}
  .tba-scene .tba-mac-desktop .tba-mac-window:not(.tba-floating-game)>.tba-managed-titlebar{height:29px;min-height:29px;padding:0 9px}
}

/* The complete showcase is one desktop; the small adventure is its only game. */
.tba-scene .tba-mac-desktop .tba-mac-workspace{height:auto;flex:1}
.tba-agent-terminal{display:flex;flex-direction:column;flex:1;min-width:0;min-height:0;overflow:hidden;background:#111113;color:#d8d8dc;font:11px/1.65 'JetBrains Mono',monospace;text-shadow:none;text-align:left}
.tba-agent-session-output{flex:1;min-height:0;overflow:auto;padding:17px 18px 10px;scrollbar-width:thin;scrollbar-color:#5a5a6433 transparent}
.tba-agent-session-heading{display:flex;align-items:center;gap:8px;margin-bottom:15px;color:#e8e8ec;white-space:nowrap}
.tba-agent-session-heading>img{width:21px;height:21px;object-fit:contain;border-radius:4px}
.tba-agent-session-heading>strong{font-weight:600;font-size:13px}
.tba-agent-session-heading>span{margin-left:auto;color:#87878e;font-size:9px}
.tba-agent-terminal p{margin:0 0 7px;line-height:1.65;overflow-wrap:anywhere}
.tba-agent-session-prompt{display:flex;gap:9px;color:#f0f0f2;padding-bottom:10px}
.tba-agent-session-prompt>b{color:#d89472;font-weight:500}
.tba-agent-session-lines p{display:flex;gap:8px;color:#adadb5;font-size:10px}
.tba-agent-session-lines p>span{flex:none;color:#777783}
.tba-agent-session-lines .tba-agent-line-done,.tba-agent-session-lines .tba-agent-line-done>span{color:#a8c7a2}
.tba-agent-terminal .tba-agent-session-thinking{display:flex;align-items:center;gap:8px;color:#c38e74;font-size:10px;padding-top:5px;margin:0;white-space:nowrap}
.tba-agent-session-thinking>i{display:block;width:9px;height:9px;flex:none;border:1.5px solid currentColor;border-right-color:transparent;border-radius:50%;animation:tba-agent-working .9s linear infinite}
.tba-agent-session-context{display:flex;gap:13px;flex:none;padding:5px 13px;color:#777780;border-top:1px solid #ffffff0a;font-size:9px}
.tba-agent-session-context>span:last-child{margin-left:auto}
.tba-agent-terminal-compact{flex:0 0 42%;min-height:155px;border-top:1px solid #ffffff16;background:#181818;font-size:10px}
.tba-agent-terminal-tabs{display:flex;align-items:center;flex:none;gap:12px;height:28px;padding:0 12px;color:#a9a9b0;font:9px/1 system-ui,-apple-system,sans-serif}
.tba-agent-terminal-tabs>span{align-self:stretch;display:flex;align-items:center;border-bottom:1px solid #e1e1e8;color:#e1e1e8}
.tba-agent-terminal-tabs>small{margin-left:auto;font-size:9px}
.tba-agent-terminal-tabs>img{width:11px;height:11px;opacity:.5;filter:invert(1)}
.tba-agent-terminal-compact .tba-agent-session-output{padding:8px 13px}
.tba-agent-terminal-compact .tba-agent-session-heading{margin-bottom:8px}
.tba-agent-terminal-compact .tba-agent-session-heading>img{width:17px;height:17px}
.tba-agent-terminal-compact .tba-agent-session-heading>strong{font-size:11px}
.tba-agent-terminal-compact p{margin-bottom:3px}
.tba-agent-terminal-compact .tba-agent-session-prompt{padding-bottom:4px}
.tba-agent-terminal-compact .tba-agent-session-thinking{color:#aabacb;font-size:9px}
.tba-agent-terminal[data-agent-active=false] .tba-agent-session-thinking>i{animation-play-state:paused}
/* Reuse the source scroll tilt; keep the surface flat while using its apps. */
@media(hover:hover){.tba-hero-showcase:hover{transform:rotateX(0deg) scale(1)!important}}
.tba-hero-showcase:focus-within{transform:rotateX(0deg) scale(1)!important}
@keyframes tba-agent-working{to{transform:rotate(1turn)}}
@container(max-width:650px){
  .tba-agent-terminal{font-size:10px}.tba-agent-session-output{padding:12px}
  .tba-agent-session-heading{gap:6px;margin-bottom:10px}.tba-agent-session-heading>strong{font-size:12px}.tba-agent-session-heading>span{font-size:8px}
  .tba-agent-session-lines p,.tba-agent-terminal .tba-agent-session-thinking{font-size:9px}
  .tba-agent-terminal-compact{min-height:138px;flex-basis:48%}
  .tba-agent-terminal-compact .tba-agent-session-output{padding:7px 9px}
  .tba-agent-terminal-compact .tba-agent-session-heading>span{display:none}
  .tba-agent-terminal-compact .tba-agent-session-lines p{font-size:8px}
}
@media(max-width:650px){.tba-hero-showcase{transform:none!important}}
@media(prefers-reduced-motion:reduce){.tba-agent-session-thinking>i{animation:none}}

@container(max-width:420px){
  .tba-macapp-editor-main>.tba-macapp-editor-tab{order:0}
  .tba-macapp-editor-main>.tba-agent-terminal-compact{order:1}
  .tba-macapp-editor-main>.tba-macapp-editor-canvas{order:2}
  .tba-macapp-editor-main>.tba-macapp-editor-status{order:3}
}

/* Provider titles stay visible while the transcript advances beneath them. */
.tba-agent-terminal>.tba-agent-session-heading{flex:none;margin:0;padding:13px 18px 8px}
.tba-agent-terminal>.tba-agent-session-output{padding-top:0}
.tba-agent-terminal-compact>.tba-agent-session-heading{padding:6px 13px 7px}
.tba-agent-terminal-compact>.tba-agent-session-output{padding-top:0}
@container(max-width:420px){.tba-agent-terminal>.tba-agent-session-heading{padding:10px 12px 7px}.tba-agent-terminal-compact>.tba-agent-session-heading{padding:5px 9px}}

/* Normalize the unframed Code mark against the native app tiles. */
.tba-scene .tba-mac-desktop .tba-os-icon-code img{width:86%;height:86%}
