/* Make it your own: a calm, Claude-style chat with the app's screens as assets */
:root{--bg:#f5f4ef;--panel:#fbfaf7;--card:#ffffff;--ink:#1f1e1b;--muted:#6f6b62;--line:#e4e1d8;--accent:#c96442;--accent2:#b5573a;--soft:#efece4}
*{box-sizing:border-box}
html,body{height:100%;margin:0}
body{background:var(--bg);color:var(--ink);font:16px/1.55 'DM Sans',system-ui,'Segoe UI',sans-serif;-webkit-font-smoothing:antialiased}
.mo{display:flex;flex-direction:column;height:100dvh}
.mo-top{flex:none;display:flex;align-items:center;gap:16px;padding:12px 20px;border-bottom:1px solid var(--line);background:var(--bg)}
.mo-back{display:inline-flex;align-items:center;gap:6px;padding:7px 12px 7px 8px;border-radius:10px;color:var(--ink);text-decoration:none;font-size:14px;font-weight:500}
.mo-back:hover{background:var(--soft)}
.mo-back svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.mo-title{flex:1;min-width:0;display:flex;align-items:center;gap:10px}
.mo-title b{font-weight:600;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mo-pill{flex:none;font-size:12px;color:var(--muted);background:var(--soft);border:1px solid var(--line);border-radius:999px;padding:3px 10px}
.mo-logo{font-weight:700;font-size:18px;letter-spacing:-.02em;color:var(--ink);text-decoration:none}
.mo-logo i{font-style:normal;font-weight:400;color:var(--muted)}
.mo-main{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,44%)}
/* chat */
.mo-chat{display:flex;flex-direction:column;min-height:0;padding:0 24px}
.mo-msgs{flex:1;overflow-y:auto;padding:28px 0 12px;display:flex;flex-direction:column;gap:22px;max-width:720px;width:100%;margin:0 auto}
.mo-hello{margin:6vh 0 4px;text-align:center}
.mo-hello h1{margin:0;font:400 clamp(28px,3.2vw,40px)/1.15 'Source Serif 4',Georgia,serif;letter-spacing:-.01em}
.mo-hello p{margin:10px 0 0;color:var(--muted)}
.mo-m{display:flex;gap:12px;align-items:flex-start}
.mo-m.u{justify-content:flex-end}
.mo-m.u .mo-b{background:var(--soft);border:1px solid var(--line);border-radius:18px;padding:10px 16px;max-width:80%;white-space:pre-wrap}
.mo-m.a .mo-av{flex:none;width:30px;height:30px;border-radius:9px;background:var(--accent);display:grid;place-items:center;margin-top:2px}
.mo-m.a .mo-av svg{width:16px;height:16px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.mo-m.a .mo-b{font:17px/1.6 'Source Serif 4',Georgia,serif;max-width:92%}
.mo-m.a .mo-b p{margin:0 0 10px}.mo-m.a .mo-b p:last-child{margin:0}
.mo-m.a .mo-b ul{margin:6px 0 10px;padding-left:20px}
.mo-tag{display:inline-block;margin-top:8px;font:12px 'DM Sans',sans-serif;color:var(--muted);background:var(--soft);border-radius:6px;padding:2px 8px}
.mo-dots{display:inline-flex;gap:5px;padding-top:10px}.mo-dots i{width:7px;height:7px;border-radius:50%;background:#c9c4b8;animation:moDot 1s infinite ease-in-out}.mo-dots i:nth-child(2){animation-delay:.15s}.mo-dots i:nth-child(3){animation-delay:.3s}
@keyframes moDot{0%,80%,100%{opacity:.3;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}
.mo-thumbs{display:flex;gap:8px;margin:10px 0 4px;flex-wrap:wrap}
.mo-thumbs img{width:54px;height:110px;object-fit:cover;object-position:top;border-radius:10px;border:1px solid var(--line);background:#fff;cursor:pointer}
.mo-in{flex:none;max-width:720px;width:100%;margin:0 auto;background:var(--card);border:1px solid var(--line);border-radius:22px;padding:14px 14px 10px 18px;box-shadow:0 6px 24px -12px rgba(60,50,30,.18)}
.mo-in:focus-within{border-color:#d4cfc3;box-shadow:0 8px 28px -12px rgba(60,50,30,.26)}
.mo-in textarea{width:100%;border:0;outline:0;resize:none;background:transparent;font:inherit;font-size:16px;color:var(--ink);max-height:200px;min-height:26px;padding:0}
.mo-in textarea::placeholder{color:#9a958a}
.mo-bar{display:flex;align-items:center;gap:8px;margin-top:10px}
.mo-chip{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--muted);border:1px solid var(--line);border-radius:10px;padding:5px 10px;background:var(--panel)}
.mo-chip svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.mo-send{margin-left:auto;width:36px;height:36px;border:0;border-radius:10px;background:var(--accent);color:#fff;display:grid;place-items:center;cursor:pointer;transition:background .15s,opacity .15s}
.mo-send:hover{background:var(--accent2)}
.mo-send[disabled]{opacity:.4;cursor:default}
.mo-send svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.mo-note{max-width:720px;width:100%;margin:8px auto 14px;text-align:center;font-size:12.5px;color:var(--muted)}
/* assets panel */
.mo-assets{min-height:0;display:flex;flex-direction:column;border-left:1px solid var(--line);background:var(--panel)}
.mo-ah{flex:none;display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid var(--line)}
.mo-ah b{display:block;font-size:15px}.mo-ah span{font-size:13px;color:var(--muted)}
.mo-ax{width:34px;height:34px;border:1px solid var(--line);border-radius:10px;background:#fff;cursor:pointer;display:grid;place-items:center}
.mo-ax svg{width:18px;height:18px;fill:none;stroke:var(--ink);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.mo-grid{flex:1;overflow-y:auto;padding:20px;display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:16px;align-content:start}
.mo-a{border:1px solid var(--line);border-radius:14px;background:#fff;padding:8px;cursor:pointer;text-align:left;font:inherit;color:inherit;transition:transform .15s,box-shadow .15s;opacity:0;transform:translateY(6px)}
.mo-a.in{opacity:1;transform:none;transition:opacity .35s,transform .35s}
.mo-a:hover{box-shadow:0 10px 24px -14px rgba(60,50,30,.35)}
.mo-a img{display:block;width:100%;aspect-ratio:9/19;object-fit:cover;object-position:top;border-radius:9px;background:var(--soft)}
.mo-a small{display:block;margin-top:7px;font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mo-view{flex:1;overflow:auto;padding:20px;display:flex;flex-direction:column;align-items:center;gap:12px}
.mo-view img{max-height:calc(100dvh - 220px);max-width:100%;border-radius:18px;border:1px solid var(--line);background:#fff;box-shadow:0 20px 50px -24px rgba(60,50,30,.4)}
.mo-view p{margin:0;color:var(--muted);font-size:14px;text-align:center}
.ver{position:fixed;right:8px;bottom:4px;font-size:10px;color:#a8a397;pointer-events:none}
@media(max-width:900px){
  .mo-main{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr)}
  .mo-assets{order:-1;border-left:0;border-bottom:1px solid var(--line);max-height:42dvh}
  .mo-grid{display:flex;overflow-x:auto;overflow-y:hidden;padding:14px}
  .mo-a{flex:none;width:96px}
  .mo-view img{max-height:30dvh}
  .mo-pill{display:none}
  .mo-chat{padding:0 14px}
  .mo-hello{margin-top:2vh}
}
.mo-ax[hidden],.mo-grid[hidden],.mo-view[hidden]{display:none}
@media(max-width:900px){.mo-assets{max-height:none}.mo-grid{flex:none}.mo-view{flex:none}}
/* ---- menu on the left (dark, like the Project Portal): data-menu = list | icons | hidden ---- */
.mo-shell{display:flex;height:100dvh}
.mo-shell>.mo{flex:1;min-width:0}
.mo-side{flex:none;display:flex;flex-direction:column;gap:6px;width:76px;margin:10px 0 10px 10px;padding:12px 10px;border-radius:22px;background:#151515;color:#c9c9c9;overflow-y:auto;transition:width .22s ease}
.mo-shell[data-menu=list] .mo-side{width:250px}
.mo-shell[data-menu=hidden] .mo-side{display:none}
.sd-top{display:flex;flex-direction:column;align-items:center;gap:10px;margin-bottom:8px}
.mo-shell[data-menu=list] .sd-top{flex-direction:row;padding:0 4px}
.sd-logo{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:linear-gradient(135deg,#ff8a3d,#ff5f2e);text-decoration:none;flex:none}
.sd-logo span{color:#fff;font-weight:800;font-size:20px;line-height:1}
.sd-name{display:none;flex:1;color:#fff;font-weight:700;font-size:17px;letter-spacing:-.01em}
.sd-name i{font-style:normal;font-weight:400;color:#9a9a9a}
.mo-shell[data-menu=list] .sd-name{display:block}
.sd-tog{width:32px;height:32px;border:0;border-radius:9px;background:transparent;color:#bdbdbd;cursor:pointer;display:grid;place-items:center}
.sd-tog:hover{background:#262626;color:#fff}
.sd-tog svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}
.mo-shell[data-menu=list] .sd-tog svg{transform:rotate(180deg)}
.sd-nav{display:flex;flex-direction:column;gap:4px}
.sd-i{display:flex;align-items:center;gap:14px;width:100%;min-height:48px;padding:0 15px;border:0;border-radius:14px;background:transparent;color:#cfcfcf;font:inherit;font-size:15.5px;text-decoration:none;cursor:pointer;text-align:left}
.sd-i:hover{background:#232323;color:#fff}
.sd-i svg{flex:none;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.sd-i>span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mo-shell[data-menu=icons] .sd-i{justify-content:center;padding:0}
.mo-shell[data-menu=icons] .sd-i>span:last-child{display:none}
.sd-new svg{background:#ff6a2e;color:#fff;border-radius:50%;padding:3px;width:24px;height:24px;stroke-width:2.4}
.sd-h{margin:14px 0 4px;padding:12px 6px 0;border-top:1px solid #2a2a2a;font-size:12px;color:#8a8a8a;text-transform:uppercase;letter-spacing:.08em;text-align:center}
.mo-shell[data-menu=list] .sd-h{text-align:left;padding-left:15px}
.sd-apps{display:flex;flex-direction:column;gap:4px}
.sd-app{padding-left:9px}
.mo-shell[data-menu=icons] .sd-app{padding:0}
.sd-app.on{background:#262626;color:#fff}
.sd-ai{flex:none;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;border:2.5px solid var(--c);background:color-mix(in srgb,var(--c) 18%,#151515)}
.sd-ai svg{width:18px;height:18px;stroke:#fff}
.sd-empty{margin:4px 0;padding:0 8px;font-size:13px;color:#8a8a8a;text-align:center}
.mo-shell[data-menu=icons] .sd-empty{display:none}
.mo-ham{flex:none;width:38px;height:38px;border:1px solid var(--line);border-radius:11px;background:#fff;cursor:pointer;display:grid;place-items:center}
.mo-ham svg{width:20px;height:20px;fill:none;stroke:var(--ink);stroke-width:2;stroke-linecap:round}
.mo-ham:hover{background:var(--soft)}
/* ---- assets: screens, then Building Blocks ---- */
.mo-scroll{flex:1;overflow-y:auto}
.mo-scroll[hidden]{display:none}
.mo-scroll .mo-grid{overflow:visible;flex:none}
.mo-blocks{padding:4px 20px 24px}
.mo-bh{padding-top:18px;border-top:1px solid var(--line);margin-bottom:12px}
.mo-bh b{display:block;font-size:15px}.mo-bh span{font-size:13px;color:var(--muted)}
.mo-bg{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px}
.mo-bk{display:flex;align-items:center;gap:10px;min-height:52px;padding:8px 10px;border:1px solid var(--line);border-radius:12px;background:#fff;font:inherit;font-size:13.5px;font-weight:500;color:var(--ink);text-align:left;cursor:grab;transition:box-shadow .15s,transform .15s,border-color .15s}
.mo-bk:hover{border-color:#d4cfc3;box-shadow:0 8px 20px -14px rgba(60,50,30,.4);transform:translateY(-1px)}
.mo-bk:active{cursor:grabbing}
.mo-bki{flex:none;width:32px;height:32px;border-radius:9px;display:grid;place-items:center;background:#fdf1ea;border:1px solid #f3d9c9}
.mo-bki svg{width:17px;height:17px;fill:none;stroke:var(--accent);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.mo-chat.drop .mo-in{border-color:var(--accent);box-shadow:0 0 0 4px rgba(201,100,66,.15)}
.mo-assets.flash{animation:moFlash .9s ease}
@keyframes moFlash{0%{box-shadow:inset 0 0 0 0 rgba(201,100,66,0)}30%{box-shadow:inset 0 0 0 3px rgba(201,100,66,.5)}100%{box-shadow:inset 0 0 0 0 rgba(201,100,66,0)}}
@media(max-width:900px){
  .mo-side{position:fixed;left:0;top:0;bottom:0;z-index:50;margin:8px;box-shadow:0 20px 60px rgba(0,0,0,.4)}
  .mo-shell[data-menu=icons] .mo-side{width:70px}
  .mo-scroll{overflow:visible;flex:none}
  .mo-scroll .mo-grid{display:flex;overflow-x:auto}
  .mo-blocks{padding:0 14px 12px}
  .mo-bh span{display:none}
  .mo-bg{display:flex;overflow-x:auto;gap:8px}
  .mo-bk{flex:none;min-height:44px}
}
.mo-shell[data-menu=icons] .sd-h{font-size:0;padding-top:8px;margin-top:10px}
@media(max-width:900px){.mo-main{grid-template-columns:minmax(0,1fr)}.mo-assets,.mo-scroll,.mo-blocks,.mo-bg,.mo-grid{min-width:0}body{overflow-x:hidden}}
.mo-view{position:relative}
.mo-vx{position:absolute;top:14px;right:14px;width:38px;height:38px;border:1px solid var(--line);border-radius:50%;background:#fff;cursor:pointer;display:grid;place-items:center;box-shadow:0 6px 18px -10px rgba(60,50,30,.4);z-index:2}
.mo-vx:hover{background:var(--soft)}
.mo-vx svg{width:18px;height:18px;fill:none;stroke:var(--ink);stroke-width:2.2;stroke-linecap:round}
/* v2.0.222: light menu in the page colours, hamburger at the top cycles hidden -> icons -> names */
.mo-side{background:var(--panel);color:var(--ink);border:1px solid var(--line);box-shadow:0 6px 24px -16px rgba(60,50,30,.25)}
.mo-shell[data-menu=hidden] .mo-side{display:flex;width:62px;background:transparent;border-color:transparent;box-shadow:none}
.mo-shell[data-menu=hidden] .sd-body{display:none}
.sd-top{align-items:flex-start;margin-bottom:6px}
.mo-shell[data-menu=list] .sd-top{padding:0}
.mo-side .mo-ham{margin:0 auto}
.mo-shell[data-menu=list] .mo-side .mo-ham{margin:0 0 0 2px}
.sd-i{color:#4a463e}
.sd-i:hover{background:var(--soft);color:var(--ink)}
.sd-h{border-top-color:var(--line);color:var(--muted)}
.sd-app.on{background:var(--soft);color:var(--ink)}
.sd-ai{background:color-mix(in srgb,var(--c) 14%,#fff)}
.sd-ai svg{stroke:var(--c)}
.sd-new svg{background:var(--accent)}
.sd-empty{color:var(--muted)}
@media(max-width:900px){.mo-shell[data-menu=hidden] .mo-side{position:fixed;width:auto;height:auto;bottom:auto;padding:8px;margin:6px}.mo-shell[data-menu=hidden] .mo{padding-left:0}.mo-shell .mo-top{padding-left:64px}}
/* v2.0.223: hamburger level with the top bar, with the number of open apps */
.mo-side{padding-top:0}
.mo-side .mo-ham{position:relative}
.mo-ham .mo-n{position:absolute;top:-6px;right:-7px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--accent);color:#fff;font:700 11px/18px 'DM Sans',sans-serif;text-align:center;box-shadow:0 0 0 2px var(--bg)}
.mo-ham .mo-n[hidden]{display:none}
.mo-side{overflow:visible}
.mo-side>.sd-body:last-child{flex:1;min-height:0;display:flex;flex-direction:column}
.mo-shell[data-menu=hidden] .mo-side>.sd-body:last-child{display:none}
.mo-side .sd-apps{flex:1;min-height:0;overflow-y:auto}
/* ---- settings (cogwheel) ---- */
.mo-set-wrap{position:relative;flex:none}
.mo-set{width:38px;height:38px;border:1px solid var(--line);border-radius:11px;background:var(--card);color:var(--ink);cursor:pointer;display:grid;place-items:center}
.mo-set:hover{background:var(--soft)}
.mo-set svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform .4s}
.mo-set[aria-expanded=true] svg{transform:rotate(60deg)}
.mo-setp{position:absolute;right:0;top:calc(100% + 10px);z-index:60;width:300px;padding:16px;border-radius:18px;background:var(--card);border:1px solid var(--line);box-shadow:0 24px 60px -24px rgba(0,0,0,.45);color:var(--ink)}
.mo-setp[hidden]{display:none}
.st-h{margin:0 0 10px;font-weight:700;font-size:15px}
.st-row{display:flex;flex-direction:column;gap:8px;padding:10px 0;border-top:1px solid var(--line);font-size:14px}
.st-row>span{color:var(--muted);font-size:13px}
.st-seg{display:flex;gap:4px;padding:4px;border-radius:12px;background:var(--soft)}
.st-seg button{flex:1;min-height:34px;border:0;border-radius:9px;background:transparent;color:var(--muted);font:inherit;font-size:14px;font-weight:500;cursor:pointer}
.st-seg button[aria-checked=true]{background:var(--card);color:var(--ink);box-shadow:0 2px 8px -4px rgba(0,0,0,.3)}
.st-sw{flex-direction:row;align-items:center;justify-content:space-between;cursor:pointer}
.st-sw>span{color:var(--ink);font-size:14px}
.st-t{position:relative;width:44px;height:26px;border:0;border-radius:13px;background:#cfcabd;cursor:pointer;transition:background .2s;flex:none}
.st-t i{position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.25);transition:transform .2s}
.st-t[aria-checked=true]{background:var(--accent)}
.st-t[aria-checked=true] i{transform:translateX(18px)}
/* density of the menu */
.mo-shell[data-density=tight] .sd-i{min-height:36px;border-radius:10px;font-size:14.5px}
.mo-shell[data-density=tight] .sd-nav,.mo-shell[data-density=tight] .sd-apps{gap:1px}
.mo-shell[data-density=tight] .sd-ai{width:28px;height:28px}
.mo-shell[data-density=tight] .sd-ai svg{width:15px;height:15px}
.mo-shell[data-density=medium] .sd-i{min-height:42px;border-radius:12px;font-size:15px}
.mo-shell[data-density=medium] .sd-nav,.mo-shell[data-density=medium] .sd-apps{gap:2px}
.mo-shell[data-density=medium] .sd-ai{width:32px;height:32px}
/* icons off: the menu with names shows names only */
.mo-shell[data-menu=list][data-icons="0"] .sd-i>svg,.mo-shell[data-menu=list][data-icons="0"] .sd-ai{display:none}
/* Building Blocks off */
.mo-shell[data-blocks="0"] .mo-blocks{display:none}
/* ---- dark mode ---- */
html[data-theme=dark]{--bg:#1b1a17;--panel:#22211d;--card:#2b2a25;--ink:#ece9e1;--muted:#a6a196;--line:#3a3832;--soft:#33312b;color-scheme:dark}
html[data-theme=dark] body{background:var(--bg)}
html[data-theme=dark] .mo-ham,html[data-theme=dark] .mo-ax,html[data-theme=dark] .mo-vx,html[data-theme=dark] .mo-a,html[data-theme=dark] .mo-bk{background:var(--card)}
html[data-theme=dark] .mo-ham svg,html[data-theme=dark] .mo-ax svg,html[data-theme=dark] .mo-vx svg{stroke:var(--ink)}
html[data-theme=dark] .mo-thumbs img,html[data-theme=dark] .mo-view img{background:var(--card)}
html[data-theme=dark] .mo-bki{background:rgba(201,100,66,.16);border-color:rgba(201,100,66,.35)}
html[data-theme=dark] .sd-i{color:#cfcbc1}
html[data-theme=dark] .sd-ai{background:color-mix(in srgb,var(--c) 18%,var(--panel))}
html[data-theme=dark] .mo-in textarea::placeholder{color:#8c887e}
html[data-theme=dark] .st-t{background:#4a4740}
html[data-theme=dark] .ver{color:#6f6b62}
@media(max-width:600px){.mo-setp{position:fixed;left:10px;right:10px;top:64px;width:auto}.mo-logo{display:none}}
html[data-theme=dark] .st-t[aria-checked=true]{background:var(--accent)}
/* ---- screens built from Building Blocks (scale with their box) ---- */
.gen{display:block;width:100%;aspect-ratio:9/19;border-radius:9px;overflow:hidden;container-type:inline-size;background:#111}
.gen-lg{width:auto;height:calc(100dvh - 220px);max-width:100%;border-radius:22px;border:1px solid var(--line);box-shadow:0 20px 50px -24px rgba(60,50,30,.4)}
.gen-th{width:54px;height:auto;border-radius:10px;border:1px solid var(--line);cursor:pointer}
.g-scr{display:flex;flex-direction:column;align-items:stretch;height:100%;padding:4cqw 8cqw 6cqw;font-family:'DM Sans',system-ui,sans-serif;text-align:left;box-sizing:border-box}
.g-sb{display:flex;justify-content:space-between;align-items:center;font-size:4.2cqw;margin-bottom:13cqw}
.g-sb i{width:9cqw;height:3.6cqw;border-radius:1cqw;background:currentColor;opacity:.8}
.g-logo{align-self:center;display:grid;place-items:center;width:18cqw;height:18cqw;border-radius:5cqw;font-weight:800;font-size:9cqw;margin-bottom:5cqw}
.g-t{text-align:center;font-weight:800;font-size:8.5cqw;line-height:1.1;letter-spacing:-.02em}
.g-t em{font-style:normal}
.g-s{text-align:center;font-size:4.2cqw;margin:2cqw 0 9cqw}
.g-f{display:flex;align-items:center;gap:3.5cqw;border:1px solid;border-radius:3.5cqw;padding:3cqw 4cqw;margin-bottom:3.5cqw}
.g-f small{display:block;font-size:3.3cqw;line-height:1.2}
.g-f b{display:block;font-size:4.4cqw;font-weight:600;line-height:1.3}
.g-fi svg,.g-foot svg{width:5.5cqw;height:5.5cqw;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;display:block}
.g-code-l{font-size:3.6cqw;margin:3cqw 0 2.5cqw}
.g-code{display:flex;gap:2.4cqw;margin-bottom:8cqw}
.g-code i{flex:1;aspect-ratio:.82;border:1px solid;border-radius:2.6cqw;display:grid;place-items:center;font-style:normal;font-weight:700;font-size:5.5cqw}
.g-btn{display:block;text-align:center;border-radius:3.5cqw;padding:4cqw;font-weight:700;font-size:5cqw}
.g-link{text-align:center;font-size:3.8cqw;margin-top:4.5cqw}
.g-foot{margin-top:auto;display:flex;align-items:center;justify-content:center;gap:2cqw;font-size:3.4cqw}
.mo-a.is-gen small{color:var(--accent);font-weight:600}
.mo-a.new{animation:moNew 1.4s ease}
@keyframes moNew{0%{box-shadow:0 0 0 0 rgba(201,100,66,.0)}25%{box-shadow:0 0 0 4px rgba(201,100,66,.55)}100%{box-shadow:0 0 0 0 rgba(201,100,66,0)}}
@media(max-width:900px){.gen-lg{height:30dvh}}
/* ---- mark what to change on an enlarged screen ---- */
.mo-view{align-items:stretch}
.mk{display:flex;gap:20px;width:100%;align-items:flex-start;justify-content:center}
.mk-l{display:flex;flex-direction:column;align-items:center;gap:10px;flex:none}
.mk-scr{position:relative;line-height:0;user-select:none;-webkit-user-select:none}
.mk-scr img{max-height:calc(100dvh - 230px);max-width:100%}
.mk-scr .gen-lg{height:calc(100dvh - 230px)}
.mk-layer{position:absolute;inset:0;cursor:crosshair;touch-action:none;border-radius:18px}
.mk-box{position:absolute;border:2.5px solid #e5322d;border-radius:4px;background:rgba(229,50,45,.06);box-shadow:0 0 0 1px rgba(255,255,255,.5);pointer-events:none;transition:background .15s}
.mk-box.hl{background:rgba(229,50,45,.2)}
.mk-box b,.mk-list li>b{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#e5322d;color:#fff;font:700 13px/1 'DM Sans',sans-serif;border:2px solid #fff;box-shadow:0 2px 6px rgba(0,0,0,.3)}
.mk-box b{position:absolute;left:-13px;top:-13px}
.mk-r{flex:1;min-width:200px;max-width:320px;padding-top:4px}
.mk-h{margin:0 0 4px;font-weight:700;font-size:15px;color:var(--ink)}
.mk-hint{margin:0;font-size:13.5px;color:var(--muted);line-height:1.5}
.mk-hint[hidden],.mk-send[hidden]{display:none}
.mk-list{list-style:none;margin:10px 0 0;padding:0;display:flex;flex-direction:column;gap:8px}
.mk-list li{display:flex;gap:8px;align-items:flex-start;padding:8px;border:1px solid var(--line);border-radius:12px;background:var(--card)}
.mk-list li>b{flex:none;width:24px;height:24px;font-size:12px;margin-top:4px}
.mk-list textarea{flex:1;min-width:0;border:1px solid var(--line);border-radius:9px;padding:7px 9px;font:inherit;font-size:14px;color:var(--ink);background:var(--bg);resize:vertical;outline:none;line-height:1.4}
.mk-list textarea:focus{border-color:var(--accent)}
.mk-del{flex:none;width:28px;height:28px;border:0;border-radius:8px;background:transparent;cursor:pointer;display:grid;place-items:center;color:var(--muted)}
.mk-del:hover{background:var(--soft);color:var(--ink)}
.mk-del svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}
.mk-send{margin-top:12px;width:100%;min-height:42px;border:0;border-radius:12px;background:var(--accent);color:#fff;font:inherit;font-weight:600;font-size:15px;cursor:pointer}
.mk-send:hover{background:var(--accent2)}
@media(max-width:1200px){.mk{flex-direction:column;align-items:center}.mk-r{max-width:none;width:100%}}
@media(max-width:900px){.mk-scr img,.mk-scr .gen-lg{max-height:46dvh;height:auto}.mk-scr .gen-lg{height:46dvh}}
.mk-r{padding-top:58px}
/* ---- change an app's name, icon and colour (right-click in My apps) ---- */
.ae{position:fixed;z-index:120;width:300px;padding:14px;border-radius:16px;background:var(--card);border:1px solid var(--line);box-shadow:0 24px 60px -20px rgba(0,0,0,.45);color:var(--ink);font-size:14px}
.ae-h{margin:8px 0 6px;font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}
.ae-h:first-child{margin-top:0}
.ae-n{width:100%;border:1px solid var(--line);border-radius:10px;padding:8px 10px;font:inherit;color:var(--ink);background:var(--bg);outline:none}
.ae-n:focus{border-color:var(--accent)}
.ae-ic{display:grid;grid-template-columns:repeat(6,1fr);gap:6px}
.ae-ic button{aspect-ratio:1;border:2px solid transparent;border-radius:50%;background:var(--soft);cursor:pointer;display:grid;place-items:center;color:var(--ink)}
.ae-ic button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ae-ic button.on{border-color:var(--c);color:var(--c);background:color-mix(in srgb,var(--c) 14%,var(--card))}
.ae-c{display:flex;flex-wrap:wrap;gap:8px}
.ae-c button{width:24px;height:24px;border-radius:50%;border:0;cursor:pointer;box-shadow:inset 0 0 0 2px rgba(255,255,255,.4)}
.ae-c button.on{box-shadow:0 0 0 2px var(--card),0 0 0 4px var(--ink)}
.ae-b{display:flex;gap:6px;margin-top:14px;align-items:center}
.ae-b button{border:1px solid var(--line);border-radius:10px;background:var(--card);color:var(--ink);font:inherit;font-size:13px;padding:7px 10px;cursor:pointer}
.ae-b .ae-rm{color:#c0392b}
.ae-b .ae-ok{margin-left:auto;background:var(--accent);border-color:var(--accent);color:#fff;font-weight:600;padding:7px 16px}
/* v2.0.228: screen name with arrows in the middle; every mark its own colour */
.mk-nav{display:flex;align-items:center;justify-content:center;gap:14px;width:100%;margin:0 0 14px;padding:0 48px}
.mk-name{text-align:center;min-width:0}
.mk-name b{display:block;font-size:15px;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:420px}
.mk-name small{font-size:12.5px;color:var(--muted)}
.mk-arr{flex:none;width:38px;height:38px;border:1px solid var(--line);border-radius:50%;background:var(--card);cursor:pointer;display:grid;place-items:center;color:var(--ink)}
.mk-arr:hover{background:var(--soft)}
.mk-arr[disabled]{opacity:.35;cursor:default}
.mk-arr svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.mo-view{flex-direction:column;align-items:center;justify-content:flex-start}
.mk-r{padding-top:0}
.mk-box{border-color:var(--m);background:color-mix(in srgb,var(--m) 7%,transparent)}
.mk-box.hl{background:color-mix(in srgb,var(--m) 22%,transparent)}
.mk-box b,.mk-list li>b{background:var(--m)}
.mk-list textarea:focus{border-color:var(--m)}
.mk-list li{border-left:3px solid var(--m)}
.mk-scr img{max-height:calc(100dvh - 270px)}
.mk-scr .gen-lg{height:calc(100dvh - 270px)}
/* ---- marks on the thumbnails ---- */
.mo-a{position:relative}
.tm{position:absolute;left:8px;right:8px;top:8px;aspect-ratio:9/19;pointer-events:none}
.tm i{position:absolute;border:2px solid var(--m);border-radius:3px;background:color-mix(in srgb,var(--m) 10%,transparent)}
.tm-n{position:absolute;top:-7px;right:-7px;min-width:22px;height:22px;padding:0 6px;border-radius:11px;background:#e5322d;color:#fff;font:700 12px/22px 'DM Sans',sans-serif;text-align:center;box-shadow:0 0 0 2px var(--panel)}
/* ---- play button and emulator ---- */
.mo-ah{gap:10px}.mo-ah>div:first-child{flex:1}
.mo-play{display:inline-flex;align-items:center;gap:8px;height:36px;padding:0 14px 0 10px;border:0;border-radius:999px;background:var(--accent);color:#fff;font:inherit;font-weight:600;font-size:14px;cursor:pointer;box-shadow:0 8px 18px -10px rgba(201,100,66,.8)}
.mo-play:hover{background:var(--accent2)}
.mo-play svg{width:18px;height:18px;fill:currentColor}
.em{position:fixed;inset:0;z-index:200;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:16px;background:rgba(18,17,15,.86);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#f1eee6;font-family:'DM Sans',system-ui,sans-serif}
.em-top{position:absolute;top:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;padding:14px 18px}
.em-t{font-size:15px;color:#cfcbc1}.em-t b{color:#fff}
.em-x{width:40px;height:40px;border:0;border-radius:50%;background:rgba(255,255,255,.12);cursor:pointer;display:grid;place-items:center}
.em-x svg,.em-a svg{width:20px;height:20px;fill:none;stroke:#fff;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.em-x:hover,.em-a:hover{background:rgba(255,255,255,.22)}
.em-mid{display:flex;align-items:center;gap:22px}
.em-a{width:48px;height:48px;border:0;border-radius:50%;background:rgba(255,255,255,.12);cursor:pointer;display:grid;place-items:center}
.em-ph{position:relative;height:min(76dvh,760px);aspect-ratio:9/19.5;padding:12px;border-radius:46px;background:#0b0b0c;box-shadow:0 0 0 2px #3a3a3c,0 40px 90px -30px rgba(0,0,0,.9)}
.em-ph:before{content:"";position:absolute;top:20px;left:50%;width:30%;height:22px;transform:translateX(-50%);border-radius:12px;background:#0b0b0c;z-index:2}
.em-scr{position:relative;width:100%;height:100%;border-radius:36px;overflow:hidden;background:#111;cursor:pointer}
.em-scr img,.em-scr .gen{width:100%;height:100%;object-fit:cover;object-position:top;display:block;border-radius:0;aspect-ratio:auto}
.em-scr.in{animation:emIn .28s ease}
@keyframes emIn{from{opacity:0;transform:translateX(18px)}to{opacity:1;transform:none}}
.em-hint{position:absolute;left:50%;bottom:26px;transform:translateX(-50%);padding:7px 14px;border-radius:999px;background:rgba(0,0,0,.65);color:#fff;font-size:13px;pointer-events:none;white-space:nowrap;transition:opacity .4s}
.em-hint.gone{opacity:0}
.em-cap{margin:4px 0 0;font-size:15px;color:#fff;text-align:center}
.em-dots{display:flex;gap:8px}
.em-dots button{width:9px;height:9px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.3);cursor:pointer}
.em-dots button.on{background:#fff;width:22px;border-radius:5px}
.em-note{margin:0;font-size:12.5px;color:#a6a196;text-align:center}
@media(max-width:600px){.em-a{display:none}.em-ph{height:min(70dvh,640px)}}
.mo-ah .mo-play span{color:#fff;font-size:14px}
/* v2.0.230: count circle top right of a screen, and one bar to send all change requests */
.tm-n{top:6px;right:6px;min-width:26px;height:26px;border-radius:13px;font-size:13px;line-height:26px;box-shadow:0 0 0 2px #fff,0 4px 10px -4px rgba(0,0,0,.5);z-index:2}
.mo-cr{display:flex;align-items:center;gap:12px;margin:0 20px 18px;padding:10px 10px 10px 12px;border-radius:14px;background:#fff1ec;border:1px solid #f3cbbb}
.mo-cr[hidden]{display:none}
.cr-n{flex:none;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#e5322d;color:#fff;font-weight:700;font-size:14px}
.cr-t{flex:1;min-width:0}.cr-t b{display:block;font-size:14.5px;color:var(--ink)}.cr-t small{font-size:12.5px;color:var(--muted)}
.cr-clear{flex:none;border:0;background:transparent;color:var(--muted);font:inherit;font-size:13.5px;cursor:pointer;padding:8px}
.cr-clear:hover{color:var(--ink)}
.cr-send{flex:none;display:inline-flex;align-items:center;gap:7px;height:38px;padding:0 14px;border:0;border-radius:11px;background:var(--accent);color:#fff;font:inherit;font-weight:600;font-size:14px;cursor:pointer}
.cr-send:hover{background:var(--accent2)}
.cr-send svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
html[data-theme=dark] .mo-cr{background:rgba(229,50,45,.12);border-color:rgba(229,50,45,.35)}
html[data-theme=dark] .tm-n{box-shadow:0 0 0 2px var(--card)}
@media(max-width:900px){.mo-cr{margin:0 14px 10px}.cr-t small{display:none}}
/* v2.0.231: Show icons off hides the app icons in the tray (icon menu) */
.mo-shell[data-menu=icons][data-icons="0"] .sd-apps,.mo-shell[data-menu=icons][data-icons="0"] .sd-h{display:none}
/* expand arrow next to the hamburger */
.sd-top{display:flex;flex-direction:column;align-items:center;gap:6px}
.mo-shell[data-menu=list] .sd-top{flex-direction:row;justify-content:space-between;align-items:center}
.sd-exp{width:30px;height:26px;border:0;border-radius:8px;background:transparent;color:var(--muted);cursor:pointer;display:grid;place-items:center}
.sd-exp:hover{background:var(--soft);color:var(--ink)}
.sd-exp svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}
.mo-shell[data-menu=list] .sd-exp svg{transform:rotate(180deg)}
.mo-shell[data-menu=list] .sd-exp{margin-right:4px}
.mo-shell[data-menu=hidden] .sd-top{flex-direction:row;gap:4px}
.mo-shell[data-menu=hidden] .mo-side{width:auto}
/* v2.0.232: screen name and arrows sit in the Assets header while a screen is open */
.mo-ah{position:relative}
.mo-ah-t{flex:1;min-width:0}
.mo-hnav{flex:1;min-width:0;display:flex;justify-content:center}
.mo-hnav[hidden]{display:none}
.mo-hnav .mk-nav{margin:0;padding:0;gap:10px;width:auto;min-width:0}
.mo-hnav .mk-name b{max-width:260px;font-size:14.5px}
.mo-hnav .mk-arr{width:34px;height:34px}
.mo-assets.viewing .mo-ah-t{display:none}
.mo-assets.viewing #moAx{display:none}
.mo-view .mo-vx{top:12px;right:12px}
.mk{margin-top:4px}
.mo-assets.viewing #moAx{display:grid}
.mo-view .mo-vx{display:none}
.mo-ah .mo-ax{width:38px;height:38px;border-radius:50%}
.mo-none{grid-column:1/-1;margin:0;padding:22px;border:1.5px dashed var(--line);border-radius:14px;text-align:center;color:var(--muted);font-size:14px;line-height:1.5}
/* fold the Building Blocks with the small hamburger */
.mo-bh{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.mo-bt{flex:none;width:36px;height:36px;border:1px solid var(--line);border-radius:10px;background:var(--card);color:var(--ink);cursor:pointer;display:grid;place-items:center}
.mo-bt:hover{background:var(--soft)}
.mo-bt svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.mo-blocks.fold .mo-bg,.mo-blocks.fold .mo-bh span{display:none}
.mo-blocks.fold .mo-bt{background:var(--soft)}
/* ---- device switch: phone, iPad, PC ---- */
.mo-dev{display:flex;gap:3px;padding:3px;border-radius:12px;background:var(--soft);border:1px solid var(--line);flex:none}
.mo-dev[hidden]{display:none}
.mo-dev button{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 10px;border:0;border-radius:9px;background:transparent;color:var(--muted);font:inherit;font-size:13px;font-weight:600;cursor:pointer}
.mo-dev button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.mo-dev button[aria-checked=true]{background:var(--card);color:var(--ink);box-shadow:0 2px 8px -4px rgba(0,0,0,.35)}
.mo-ah .mo-dev span{display:none}
.mo-ah .mo-dev button{padding:0 9px}
.em-dev{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.14)}
.em-dev button{color:#bdb8ad}
.em-dev button[aria-checked=true]{background:#fff;color:#15171c}
.em-ph.em-tablet{height:min(72dvh,700px);aspect-ratio:3/4;border-radius:30px;padding:16px}
.em-ph.em-tablet:before{display:none}
.em-ph.em-tablet .em-scr{border-radius:16px}
.em-ph.em-pc{height:auto;width:min(80vw,1000px);aspect-ratio:16/10.4;border-radius:16px;padding:12px 12px 30px;background:#1b1b1d}
.em-ph.em-pc:before{display:none}
.em-ph.em-pc:after{content:"";position:absolute;left:-6%;right:-6%;bottom:-14px;height:14px;border-radius:0 0 14px 14px;background:linear-gradient(#3a3a3e,#202023)}
.em-ph.em-pc .em-scr{border-radius:6px}
.em-ph.em-tablet .em-scr img,.em-ph.em-pc .em-scr img{object-fit:contain;background:#111}
.em-dots{margin-bottom:2px}

/* discreet app icons: thin ring, faint fill; optional coloured app names (Settings) */
.sd-ai{border-width:1.5px;border-color:color-mix(in srgb,var(--c) 70%,transparent)}
.sd-ai{background:color-mix(in srgb,var(--c) 9%,#fff)}
html[data-theme=dark] .sd-ai{background:color-mix(in srgb,var(--c) 10%,var(--panel))}
html[data-theme=dark] .sd-ai svg{stroke:var(--c)}
.mo-shell[data-ctext="1"] .sd-app>span:last-child{color:color-mix(in srgb,var(--c) 80%,var(--ink))}
html[data-theme=dark] .mo-shell[data-ctext="1"] .sd-app>span:last-child{color:var(--c)}

/* ---------- top status bar ---------- */
.mo-title{flex:0 1 auto}
.mo-sb{flex:1;min-width:0;display:flex;align-items:center;justify-content:center;gap:8px}
.mo-shell[data-sbar="0"] .mo-sb{display:none}
.mo-shell[data-sbar="0"] .mo-title{flex:1}
.sb-w{position:relative;flex:none}
.sb-c{display:flex;align-items:center;gap:7px;height:36px;padding:0 12px;border-radius:999px;border:1px solid var(--line);background:var(--card);color:var(--ink);font:500 13px/1 inherit;font-family:inherit;cursor:pointer;white-space:nowrap}
.sb-c:hover,.sb-c[aria-expanded=true]{border-color:color-mix(in srgb,var(--ink) 25%,var(--line))}
.sb-c>svg{width:16px;height:16px;fill:none;stroke:var(--muted);stroke-width:2;stroke-linecap:round}
.sb-tx{color:var(--muted);max-width:180px;overflow:hidden;text-overflow:ellipsis}
.sb-tree{padding:0 6px}
.sb-lights{display:flex;align-items:center;gap:4px}
.sb-l{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;border:2px solid var(--s);background:color-mix(in srgb,var(--s) 14%,var(--card));text-decoration:none;position:relative}
.sb-l svg{width:13px;height:13px;fill:none;stroke:var(--c);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.sb-l.s-run{animation:sbPulse 1.6s ease-in-out infinite}
.sb-l.s-ask:after{content:'';position:absolute;top:-3px;right:-3px;width:8px;height:8px;border-radius:50%;background:var(--s);border:2px solid var(--card)}
@keyframes sbPulse{0%,100%{box-shadow:0 0 0 0 color-mix(in srgb,var(--s) 55%,transparent)}50%{box-shadow:0 0 0 5px color-mix(in srgb,var(--s) 0%,transparent)}}
@media(prefers-reduced-motion:reduce){.sb-l.s-run{animation:none}}
.sb-more{font-size:12px;color:var(--muted);padding:0 4px}
.sb-mini{width:46px;height:6px;border-radius:3px;background:var(--soft);overflow:hidden}
.sb-mini i{display:block;height:100%;background:var(--accent);border-radius:3px;transition:width .6s}
.sb-g{width:28px!important;height:17px!important}
.sb-g .gt{fill:none;stroke:var(--soft);stroke-width:5;stroke-linecap:round}
.sb-gc .gt{fill:none;stroke:var(--line);stroke-width:5;stroke-linecap:round}
.sb-g .gv,.sb-gc .gv{fill:none;stroke:var(--accent);stroke-width:5;stroke-linecap:round;stroke-dasharray:0 100;transition:stroke-dasharray .6s}
.sb-pop{position:absolute;left:50%;transform:translateX(-50%);top:calc(100% + 10px);z-index:60;width:320px;padding:14px;border-radius:16px;background:var(--card);border:1px solid var(--line);box-shadow:0 24px 60px -24px rgba(0,0,0,.45);color:var(--ink)}
.sb-pop[hidden]{display:none}
.sb-pop-r{width:400px}
.sb-h{margin:0 0 10px;font-weight:600;font-size:14px}
.sb-e,.sb-note{margin:6px 0 0;font-size:12px;color:var(--muted)}
.sb-list{display:flex;flex-direction:column;gap:2px}
.sb-row{display:grid;grid-template-columns:10px 1fr auto;align-items:center;gap:8px;padding:7px 8px;border-radius:10px;color:var(--ink);text-decoration:none;font-size:13px}
a.sb-row:hover{background:var(--soft)}
.sb-row span{color:var(--muted);font-size:12px}
.sb-lr small{grid-column:2/4;color:var(--muted);font-size:12px;margin-top:-4px}
.sb-dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:var(--s)}
.sb-leg{display:flex;flex-wrap:wrap;gap:6px 12px;margin-top:10px;padding-top:10px;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}
.sb-leg span{display:flex;align-items:center;gap:5px}
.sb-pr{margin-bottom:10px}
.sb-pr div{display:flex;justify-content:space-between;font-size:13px;margin-bottom:5px}
.sb-pr div span{color:var(--muted)}
.sb-bar{display:block;height:8px;border-radius:4px;background:var(--soft);overflow:hidden}
.sb-bar i{display:block;height:100%;border-radius:4px;background:var(--accent);transition:width .6s}
.sb-gg{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.sb-gc{display:flex;flex-direction:column;align-items:center;padding:10px 8px;border-radius:12px;background:var(--soft);text-align:center}
.sb-gc svg{width:100%;max-width:130px;height:auto}
.sb-gc b{font-size:17px;margin-top:-22px}
.sb-gc>span{font-size:12px;font-weight:600;margin-top:4px}
.sb-gc small{font-size:11px;color:var(--muted)}
.sb-mix{justify-content:center;gap:6px}
.sb-mixbar{display:flex;width:100%;height:12px;border-radius:6px;overflow:hidden;margin-top:6px}
.sb-mixbar i{display:block;height:100%}
.sb-mixl{display:grid;grid-template-columns:1fr 1fr;gap:2px 8px;text-align:left}
.sb-mixl small{display:flex;align-items:center;gap:4px}
.sb-mixl i{width:8px;height:8px;border-radius:2px}
@media(max-width:1350px){.sb-tx{display:none}.sb-c{padding:0 10px}}
@media(max-width:980px){.mo-sb{display:none}}
.sb-pop-r{left:auto;right:0;transform:none}
.sb-tree{padding:0 8px 0 6px}
.sb-c>svg.sb-car{width:14px;height:14px}

/* status bar fit levels (set by fitSB) */
.mo-top[data-sbfit="1"] .sb-tx,.mo-top[data-sbfit="2"] .sb-tx,.mo-top[data-sbfit="3"] .sb-tx,.mo-top[data-sbfit="4"] .sb-tx{display:none}
.mo-top[data-sbfit="1"] .sb-c,.mo-top[data-sbfit="2"] .sb-c,.mo-top[data-sbfit="3"] .sb-c{padding:0 10px}
.mo-top[data-sbfit="2"] .mo-pill,.mo-top[data-sbfit="3"] .mo-pill,.mo-top[data-sbfit="4"] .mo-pill{display:none}
.mo-top[data-sbfit="3"] .sb-l:nth-child(n+5){display:none}
.mo-top[data-sbfit="4"] .mo-sb{visibility:hidden}
/* drag handles */
.mo-side,.mo-assets{position:relative}
.mo-rz{position:absolute;z-index:30;touch-action:none}
.mo-rz:after{content:'';position:absolute;border-radius:3px;background:var(--accent);opacity:0;transition:opacity .15s}
.mo-rz:hover:after,body.rz-on .mo-rz:after{opacity:.55}
.mo-rz-side{top:16px;bottom:16px;right:-9px;width:12px;cursor:col-resize;display:none}
.mo-shell[data-menu=list] .mo-rz-side{display:block}
.mo-rz-assets{top:0;bottom:0;left:-6px;width:12px;cursor:col-resize}
.mo-rz-side:after,.mo-rz-assets:after{top:0;bottom:0;left:5px;width:3px}
.mo-rz-grid{position:relative;display:block;height:12px;margin:-6px 20px 0;cursor:row-resize}
.mo-rz-grid:after{left:0;right:0;top:4px;height:3px}
.mo-rz-grid:before{content:'';position:absolute;left:50%;top:3px;width:36px;height:5px;margin-left:-18px;border-radius:3px;background:var(--line)}
body.rz-on{user-select:none}
body.rz-v,body.rz-v *{cursor:col-resize!important}
body.rz-h,body.rz-h *{cursor:row-resize!important}
@media(min-width:901px){
  .mo-shell.sz-side[data-menu=list] .mo-side{width:var(--sw);transition:none}
  .mo-shell.sz-assets .mo-main{grid-template-columns:minmax(0,1fr) var(--aw)}
  .mo-shell.sz-grid .mo-grid{flex:none;height:var(--gh);overflow-y:auto}
}
@media(max-width:900px){.mo-rz{display:none!important}}

/* app status order */
.sb-hr{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.sb-hr .sb-h{margin:0}
.sb-seg{display:flex;padding:3px;border-radius:999px;background:var(--soft)}
.sb-seg button{border:0;background:transparent;color:var(--muted);font:500 12px/1 inherit;font-family:inherit;padding:6px 10px;border-radius:999px;cursor:pointer}
.sb-seg button[aria-checked=true]{background:var(--card);color:var(--ink);box-shadow:0 1px 4px rgba(0,0,0,.15)}
.sb-own .sb-row{grid-template-columns:16px 10px 1fr auto;touch-action:none;cursor:grab}
.sb-grip svg{width:16px;height:16px;fill:var(--muted);display:block}
.sb-row.sb-drag{background:var(--soft);box-shadow:0 8px 20px -10px rgba(0,0,0,.5);cursor:grabbing}

/* ---------- + New: the prompt in the middle (always the dark glow look), Assets hidden ---------- */
.mo-shell.is-new .mo-main{display:none}
.mo-new{flex:1;min-height:0;position:relative;overflow-x:hidden;overflow-y:auto;display:flex;background:radial-gradient(80% 60% at 50% 55%,#0d0e18 0%,#07070d 60%,#05060a 100%);color:#f4f2fb;font-family:'DM Sans',system-ui,sans-serif;border-radius:18px;margin:10px 12px 12px}
.mo-new[hidden]{display:none}
.mn-glow{position:absolute;inset:0;pointer-events:none;background:radial-gradient(40% 30% at 30% 70%,rgba(63,134,255,.10),transparent 70%),radial-gradient(40% 30% at 70% 70%,rgba(255,79,154,.08),transparent 70%)}
.mn-w{position:relative;flex:1;display:grid;grid-template-rows:1fr auto 1fr;width:100%;max-width:1000px;margin:0 auto;padding:40px 24px;text-align:center}
.mn-r1{align-self:end;padding-bottom:30px}
.mn-r1 h1{font-size:clamp(28px,3.4vw,50px);line-height:1.12;margin:0;letter-spacing:-.02em;font-weight:500;color:#f4f2fb}
.mo-new .ai-gem.rb-four-squares{margin:0 auto!important;width:100%;max-width:820px}
.mn-r3{align-self:start}
.mo-new .ai-gem-chips .ai-chips{margin-top:30px}
.mo-new .trust{margin-top:26px;font-size:13px;color:#8f92a8}
.mo-new .asg{text-align:left}
/* leaving: heading and chips lift away, the prompt sinks to where the chat input is */
.mo-new.out .mn-r1{animation:mnUp .45s ease-in forwards}
.mo-new.out .mn-r3{animation:mnUp .45s .06s ease-in forwards}
.mo-new.out .ai-gem:not(.ai-gem-chips){animation:mnDrop .62s cubic-bezier(.55,0,.35,1) forwards}
.mo-new.out{animation:mnFade .62s ease-in forwards}
@keyframes mnUp{to{opacity:0;transform:translateY(-34px);filter:blur(8px)}}
@keyframes mnDrop{60%{opacity:1}to{opacity:0;transform:translateY(var(--drop,200px)) scale(.82)}}
@keyframes mnFade{0%,45%{opacity:1}to{opacity:0}}
/* arriving: the chat rises out of a blur, Assets slides in from the right */
.mo-main.mn-in .mo-chat{animation:mnChat .7s cubic-bezier(.2,.7,.2,1) both}
.mo-main.mn-in .mo-assets{animation:mnAssets .8s .12s cubic-bezier(.2,.7,.2,1) both}
@keyframes mnChat{from{opacity:0;transform:translateY(24px) scale(.98);filter:blur(10px)}to{opacity:1;transform:none;filter:none}}
@keyframes mnAssets{from{opacity:0;transform:translateX(60px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.mo-new.out *,.mo-new.out,.mo-main.mn-in *{animation:none!important}}
@media(max-width:900px){.mo-new{margin:6px;border-radius:14px}.mn-w{padding:24px 14px}}
.mo-new .ai-gem:not(.ai-gem-chips){position:relative;z-index:5}

/* ---------- bigger tiles, (+) picker, Hide ---------- */
.sb-c{height:44px;padding:0 15px;gap:9px;font-size:14px}
.sb-c>svg{width:19px;height:19px}
.sb-tree{padding:0 9px 0 7px}
.sb-l{width:32px;height:32px}
.sb-l svg{width:16px;height:16px}
.sb-lights{gap:5px}
.sb-mini{width:58px;height:7px}
.sb-g{width:34px!important;height:21px!important}
.sb-n{font-size:15px;font-weight:700;color:var(--ink)}
.sb-n.sb-warn{color:#d4a24c}.sb-n.sb-bad,.sb-bad{color:#c96a6a;font-style:normal}
.sb-sp{width:52px;height:20px}
.sb-ring{width:22px;height:22px;border-radius:50%;background:conic-gradient(#6fae7f calc(var(--p)*1%),#c96a6a 0);-webkit-mask:radial-gradient(circle,transparent 6px,#000 7px);mask:radial-gradient(circle,transparent 6px,#000 7px)}
.sb-avs{display:flex}.sb-avs i,.sb-av{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;font:700 9.5px/1 inherit;font-style:normal;color:#fff;background:hsl(var(--h) 35% 52%);border:2px solid var(--card)}
.sb-avs i+i{margin-left:-8px}
.sb-av{width:28px;height:28px;font-size:10.5px;border:0}
.sb-urow{grid-template-columns:28px 1fr auto}
.sb-urow small{grid-column:2/4;color:var(--muted);font-size:12px;margin-top:-4px}
.sb-hb{display:flex;align-items:flex-end;gap:3px;height:20px}.sb-hb i{width:5px;border-radius:2px;background:var(--accent);min-height:3px;transition:height .6s}
.sb-hb i:nth-child(2){background:#c4a462}.sb-hb i:nth-child(3){background:#6fae7f}
.sb-lts{display:flex;gap:4px}
.sb-lts .sb-dot{width:10px;height:10px}
.sb-cols{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;height:130px;align-items:end}
.sb-cols span{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;gap:3px}
.sb-cols i{display:block;width:100%;border-radius:5px 5px 2px 2px;background:var(--accent);opacity:.85}
.sb-cols span:last-child i{opacity:1}
.sb-cols b{font-size:12px}.sb-cols small{font-size:10.5px;color:var(--muted)}
.sb-g3{grid-template-columns:repeat(3,1fr)}
.sb-pop{width:340px}
.sb-pop.sb-wide{width:430px}
.sb-pop.sb-pop-r{left:auto;right:0;transform:none}
.sb-pop.sb-pop-l{left:0;transform:none}
.sb-pf{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;padding-top:10px;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}
.sb-hide{display:flex;align-items:center;gap:6px;border:1px solid var(--line);background:transparent;color:var(--ink);font:500 12px/1 inherit;font-family:inherit;padding:7px 11px;border-radius:999px;cursor:pointer;flex:none}
.sb-hide:hover{background:var(--soft)}
.sb-hide svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.sb-add{width:44px;padding:0;justify-content:center;border-style:dashed}
.sb-add svg{stroke:var(--ink)!important}
.sb-pick{width:360px}
.sb-prow{display:grid;grid-template-columns:36px 1fr 24px;grid-template-rows:auto auto;column-gap:10px;align-items:center;text-align:left;width:100%;padding:8px;border:0;border-radius:12px;background:transparent;color:var(--ink);font:inherit;font-family:inherit;cursor:pointer}
.sb-prow:hover{background:var(--soft)}
.sb-prow b{font-size:13.5px}.sb-prow small{grid-column:2;font-size:12px;color:var(--muted)}
.sb-pic{grid-row:1/3;display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:var(--soft)}
.sb-pic svg,.sb-plus svg{width:18px;height:18px;fill:none;stroke:var(--muted);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.sb-plus{grid-row:1/3;grid-column:3}
.sb-c>svg,.sb-pf svg{fill:none}
@media(max-width:1350px){.sb-c{padding:0 12px}}

/* pin: keep a tile panel open */
.sb-pin{position:absolute;top:10px;right:10px;display:grid;place-items:center;width:30px;height:30px;border-radius:9px;border:0;background:transparent;color:var(--muted);cursor:pointer}
.sb-pin:hover{background:var(--soft);color:var(--ink)}
.sb-pin svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;transform:rotate(35deg);transition:transform .2s}
.sb-pin[aria-pressed=true]{color:var(--accent);background:color-mix(in srgb,var(--accent) 14%,transparent)}
.sb-pin[aria-pressed=true] svg{transform:none;fill:currentColor}
.sb-pop.pinned{z-index:55;box-shadow:0 24px 60px -24px rgba(0,0,0,.45),0 0 0 1.5px color-mix(in srgb,var(--accent) 45%,transparent)}
.sb-pb>.sb-h:first-child,.sb-pb>.sb-hr:first-child{padding-right:34px}

/* ---------- fold the screens; Database, Integrations, Files, Folders ---------- */
.mo-scrt{margin-left:8px}
.mo-assets.fold-scr .mo-grid,.mo-assets.fold-scr .mo-rz-grid,.mo-assets.fold-scr .mo-cr{display:none!important}
.mo-assets.fold-scr .mo-scrt{background:var(--soft)}
.mo-sec{padding:0 20px 20px}
@media(max-width:900px){.mo-sec{padding:0 14px 12px}}
.mo-sec.fold .ms-body,.mo-sec.fold .mo-bh span{display:none}
.mo-sec.fold .mo-bt{background:var(--soft)}
.mo-demo{font-style:normal;font-size:10.5px;font-weight:600;color:var(--muted);border:1px solid var(--line);border-radius:999px;padding:1px 7px;margin-left:6px;vertical-align:2px}
.ms-body{display:flex;flex-direction:column;gap:6px}
.ms-tbl{border:1px solid var(--line);border-radius:12px;background:var(--card);overflow:hidden}
.ms-tbl summary{display:flex;align-items:center;gap:10px;padding:10px 12px;cursor:pointer;list-style:none;font-size:13.5px}
.ms-tbl summary::-webkit-details-marker{display:none}
.ms-tbl summary svg{width:18px;height:18px;fill:none;stroke:var(--accent);stroke-width:1.8;flex:none}
.ms-tbl summary span{margin-left:auto;font-size:12px;color:var(--muted)}
.ms-tbl summary:after{content:'';width:7px;height:7px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:rotate(-45deg);transition:transform .2s;margin-left:4px}
.ms-tbl[open] summary:after{transform:rotate(45deg)}
.ms-tbl[open] summary{border-bottom:1px solid var(--line)}
.ms-tbl table{width:100%;border-collapse:collapse;font-size:12px}
.ms-tbl th{text-align:left;font-weight:600;color:var(--muted);padding:7px 12px;background:var(--soft)}
.ms-tbl td{padding:6px 12px;border-top:1px solid var(--line);font-family:'DM Mono',ui-monospace,monospace;font-size:11.5px;word-break:break-word}
.ms-k{font-style:normal;font-family:'DM Sans',system-ui,sans-serif;font-size:10.5px;font-weight:600;padding:2px 6px;border-radius:6px;background:var(--soft);color:var(--muted);white-space:nowrap}
.ms-k.pk{background:color-mix(in srgb,#c4a462 22%,transparent);color:#b08a3c}.ms-k.fk{background:color-mix(in srgb,#6f9bd1 22%,transparent);color:#5a86bd}
.ms-row{display:grid;grid-template-columns:10px 1fr auto;align-items:center;gap:4px 10px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--card);font-size:13.5px}
.ms-row span{font-size:12px;color:var(--muted)}
.ms-row small{grid-column:2/4;font-size:12px;color:var(--muted)}
.ms-fold{grid-template-columns:20px 1fr}
.ms-fold svg{width:20px;height:20px;fill:none;stroke:var(--accent);stroke-width:1.8}
.ms-files{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px}
.ms-file{display:grid;grid-template-columns:40px 1fr;grid-template-rows:auto auto;column-gap:10px;align-items:center;text-align:left;padding:8px;border:1px solid var(--line);border-radius:12px;background:var(--card);color:var(--ink);font:inherit;font-family:inherit;cursor:pointer}
.ms-file:hover{border-color:color-mix(in srgb,var(--ink) 25%,var(--line))}
.ms-ft{grid-row:1/3;width:40px;height:52px;border-radius:7px;overflow:hidden;background:var(--soft);display:grid;place-items:center}
.ms-ft img{width:100%;height:100%;object-fit:cover}.ms-ft i{font-style:normal;font-size:9px;font-weight:700;color:var(--muted)}
.ms-file b{font-size:12.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}
.ms-file small{font-size:11.5px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ms-add{align-self:flex-start;margin-top:4px;border:1px dashed var(--line);background:transparent;color:var(--ink);font:500 13px/1 inherit;font-family:inherit;padding:9px 14px;border-radius:999px;cursor:pointer}

/* arrow to hide the whole Assets panel */
.mo-acol{flex:none;align-self:center;display:grid;place-items:center;width:30px;height:30px;margin:0 6px 0 -8px;border:0;border-radius:9px;background:transparent;color:var(--muted);cursor:pointer}
.mo-acol:hover{background:var(--soft);color:var(--ink)}
.mo-acol svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}
.mo-shell.assets-off .mo-acol svg{transform:rotate(180deg)}
@media(min-width:901px){
  .mo-shell.assets-off .mo-main{grid-template-columns:minmax(0,1fr) 52px!important}
  .mo-shell.assets-off .mo-assets>*:not(.mo-ah){display:none!important}
  .mo-shell.assets-off .mo-ah>*:not(.mo-acol){display:none!important}
  .mo-shell.assets-off .mo-ah{justify-content:center;padding-left:0;padding-right:0;border-bottom:0}
  .mo-shell.assets-off .mo-acol{margin:0}
}
@media(max-width:900px){.mo-acol{display:none}}
.mo-ah>.mo-ah-t{flex:1;min-width:0}

/* Settings switches for the right-panel sections */
.mo-shell[data-sdb="0"] .mo-sec[data-sec=db],.mo-shell[data-sint="0"] .mo-sec[data-sec=int],.mo-shell[data-sfiles="0"] .mo-sec[data-sec=files],.mo-shell[data-sfolders="0"] .mo-sec[data-sec=folders]{display:none}
.st-row[hidden]{display:none!important}
/* hamburger a bit lower (2.0.245) */
.mo-shell .mo-side .sd-top{padding-top:8px}

/* emulator running a real clickable demo */
.em-if{display:block;width:100%;height:100%;border:0;background:#fff}
.em.em-live .em-hint,.em.em-live .em-a,.em.em-live .em-dots,.em.em-live .em-dev{display:none!important}
.em.em-live .em-scr{background:#0b0b0c}.em.em-live .em-if{height:calc(100% - 34px);margin-top:34px}

/* My apps: ... button, drag to move, Delete in red */
.sd-app{position:relative}
.sd-app>span:nth-child(2){flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sd-more{flex:none;display:grid;place-items:center;width:26px;height:26px;margin-left:auto;border-radius:8px;opacity:0;color:var(--muted);transition:opacity .15s}
.sd-more svg{width:16px;height:16px;fill:currentColor;stroke:none}
.sd-app:hover .sd-more,.sd-more:focus-visible,.sd-app.on .sd-more{opacity:1}
.sd-more:hover{background:color-mix(in srgb,var(--ink) 10%,transparent);color:var(--ink)}
.mo-shell:not([data-menu=list]) .sd-more{display:none}
@media(hover:none){.sd-more{opacity:1}}
.sd-app.sd-drag{background:var(--soft);box-shadow:0 10px 24px -12px rgba(0,0,0,.5);cursor:grabbing;z-index:2}
body.sd-dragging,body.sd-dragging *{cursor:grabbing!important;user-select:none}
.ae-rm{color:#c96a6a!important}
/* My apps: just the icon, no circle (2.0.248) */
.mo-shell .sd-ai{border:0!important;background:none!important;box-shadow:none!important}
.mo-shell .sd-ai svg,html[data-theme=dark] .mo-shell .sd-ai svg{width:21px;height:21px;stroke:var(--c)}

/* web part: browser-window frame; live demo per device (2.0.251) */
.em-ph.em-web{aspect-ratio:16/10.4;height:auto;width:min(86vw,1100px);max-height:72dvh;border-radius:12px;padding:0;background:#1d1d20;box-shadow:0 30px 80px -20px rgba(0,0,0,.7)}
.em-ph.em-web:before{display:none}
.em-ph.em-web .em-scr{border-radius:10px;inset:0}
.em-ph.em-web img{object-fit:contain;background:#fff}
.em-bar{display:none}
.em-ph.em-web .em-bar{display:flex;align-items:center;gap:6px;height:34px;padding:0 12px;background:#2a2a2e;color:#a8a8b0;font:12px/1 'DM Sans',sans-serif}
.em-ph.em-web .em-bar i{width:10px;height:10px;border-radius:50%;background:#55555c}
.em-ph.em-web .em-bar i:nth-child(1){background:#e56b5e}.em-ph.em-web .em-bar i:nth-child(2){background:#e2b552}.em-ph.em-web .em-bar i:nth-child(3){background:#6cc070}
.em-ph.em-web .em-bar span{margin-left:10px;flex:1;background:#1d1d20;border-radius:7px;padding:5px 10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.em.em-live .em-ph.em-web .em-if,.em.em-live .em-ph.em-pc .em-if,.em.em-live .em-ph.em-tablet .em-if{height:100%;margin-top:0}
.em.em-live .em-ph.em-web .em-if{height:calc(100% - 34px)}
.em.em-live .em-ph:not(.em-phone) .em-scr{background:#fff}
.em.em-live .em-dev{display:flex!important}
.em.em-live .em-dev[hidden]{display:none!important}

/* 2.0.291: Save only + To-do list */
.mk-tabs{display:flex;gap:4px;margin:0 0 10px;padding:3px;border:1px solid var(--line);border-radius:12px;background:var(--card)}
.mk-tab{flex:1;min-height:34px;border:0;border-radius:9px;background:transparent;color:var(--muted);font:inherit;font-weight:600;font-size:13.5px;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:6px}
.mk-tab.on{background:var(--soft);color:var(--ink)}
.mk-tn{min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:var(--accent);color:#fff;font-size:11.5px;display:inline-grid;place-items:center}
.mk-tn[hidden],.mk-pane[hidden],.mk-btns[hidden]{display:none}
.mk-btns{display:flex;flex-direction:column;gap:8px;margin-top:12px}.mk-btns .mk-send{margin-top:0}
.mk-save{width:100%;min-height:42px;border:1px solid var(--line);border-radius:12px;background:var(--card);color:var(--ink);font:inherit;font-weight:600;font-size:15px;cursor:pointer}
.mk-save:hover{background:var(--soft)}
.td-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.td-list li{display:flex;gap:10px;align-items:flex-start;padding:10px;border:1px solid var(--line);border-radius:12px;background:var(--card)}
.td-chk{flex:none;width:22px;height:22px;margin-top:1px;border:1.5px solid var(--line);border-radius:7px;background:var(--bg);cursor:pointer;display:grid;place-items:center;padding:0;color:transparent}
.td-chk svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.td-list li.done .td-chk{background:var(--accent);border-color:var(--accent);color:#fff}
.td-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px;font-size:14px;color:var(--ink);line-height:1.4;word-break:break-word}
.td-list li.done .td-t span{text-decoration:line-through;color:var(--muted)}
.td-go{align-self:flex-start;border:0;padding:0;background:none;color:var(--muted);font:inherit;font-size:12.5px;cursor:pointer;text-align:left}
.td-go:hover{color:var(--ink);text-decoration:underline}
/* 2.0.292: the "Preview" pill is hidden while the top status bar (gauges) is shown */
@media(min-width:981px){.mo-shell:not([data-sbar="0"]) .mo-pill{display:none}}
/* 2.0.293: the status bar keeps its place when clicked: fixed text widths and even-width digits */
.mo-sb{font-variant-numeric:tabular-nums}
#sbLogT{display:inline-block;width:170px;max-width:none}
#sbProgT{display:inline-block;min-width:118px}
#sbAiT{display:inline-block;min-width:54px}
@media(min-width:981px){.mo-shell:not([data-sbar="0"]) .mo-title{flex:0 0 190px;width:190px}}

/* 2.0.357: Raptool AI answers */
.mo-m.a .mo-b ol{margin:6px 0 10px;padding-left:22px}.mo-m.a .mo-b li{margin:2px 0}.mo-m.a .mo-b code{font:13px ui-monospace,Menlo,monospace;background:rgba(255,255,255,.08);padding:1px 5px;border-radius:5px}.mo-err{color:#ff8a7a}
/* 2.0.360: screens redrawn by Raptool AI */
.aifr{display:block;position:relative;width:100%;height:100%;overflow:hidden;background:#fff}
.aifr iframe{position:absolute;left:0;top:0;width:390px;height:844px;border:0;transform-origin:0 0;pointer-events:none;background:#fff}
.mo-scr{display:inline-flex;align-items:center;gap:6px;margin:4px 0 10px!important;padding:6px 12px;border-radius:99px;background:rgba(255,106,46,.12);color:inherit;font-size:14px}
.mo-scr.drawing{animation:moScr 1.2s ease-in-out infinite}@keyframes moScr{50%{opacity:.5}}
