/* Android Chrome inflates text in wide blocks (font boosting); the layout sets its own sizes. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
#neo-live-chart{background:#100d18;color:#8f89a3;overflow:hidden;min-height:0!important}
#neo-live-chart .neo-tv-frame{position:absolute;inset:0 0 26px}
#neo-live-chart .neo-tv-trades{z-index:4}
#neo-live-chart :is(.neo-tv-profile,.neo-tv-labels,.neo-tv-delta,.neo-tv-trades,.neo-tv-days){position:absolute;display:none;pointer-events:none}#neo-live-chart .neo-tv-days{z-index:2}#neo-live-chart .neo-tv-delta{z-index:3}#neo-live-chart .neo-tv-profile{z-index:4}#neo-live-chart .neo-tv-labels{z-index:5}
#neo-live-chart .neo-tv-note{position:absolute;bottom:0;left:0;right:0;height:26px;padding:0 12px;display:flex;align-items:center;gap:12px;font:500 10.5px/1 'JetBrains Mono',monospace;background:#15111f;border-top:1px solid #2a2338}
#neo-live-chart .neo-tv-status{flex:1;min-width:0;color:#f5b742;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#neo-live-chart .neo-tv-note a{margin-left:auto;color:#8f89a3;text-decoration:none;white-space:nowrap}#neo-live-chart .neo-tv-note a:hover{color:#eef0f8;text-decoration:underline}
#neo-live-chart .neo-chart-status{position:absolute;top:12px;left:14px;z-index:3;font:11px 'JetBrains Mono',monospace;pointer-events:none}
#neo-live-chart .neo-chart-overlay{position:absolute;inset:0;pointer-events:none;z-index:2}
#neo-live-chart .actual-lw-chart{position:absolute;inset:0}
#neo-live-chart .actual-lw-orb{position:absolute;inset:0 78px 0 0;width:calc(100% - 78px);height:100%;pointer-events:none;z-index:2;overflow:hidden}
#neo-live-chart .actual-lw-orb .actual-orb-label rect{fill:rgba(12,24,35,.94);stroke:rgba(71,215,232,.72);stroke-width:1}
#neo-live-chart .actual-lw-orb .actual-orb-label text{fill:#6ce6f2;font:700 10px ui-monospace,monospace}
#neo-live-chart .actual-lw-profile{position:absolute;top:0;right:118px;height:100%;pointer-events:none;z-index:3;background:rgba(15,16,32,.72);border-left:1px solid rgba(182,169,255,.08)}
.neo-data-notice{padding:10px 14px;border:1px solid #f5b74240;border-radius:8px;background:#f5b7420a;color:#d6b86f;font-size:12px}
button:disabled,select:disabled{cursor:default;opacity:.7}
button:focus-visible,a:focus-visible{outline:2px solid #a78bfa;outline-offset:3px}
.neo-week{cursor:pointer}.neo-week:hover{filter:brightness(1.15)}
.neo-detail-row{cursor:pointer}.neo-detail-row:hover{background:#ffffff05!important}

/* NEO chart bar */
.neo-cb{display:flex;align-items:center;gap:8px 14px;flex-wrap:wrap;box-sizing:border-box;min-height:56px;padding-block:8px!important;border-bottom:1px solid #2a2338;background:#15111f;container-type:inline-size}
/* Same height as every other card heading (56px incl. border). */
.neo-cb-quote{display:flex;align-items:center;gap:12px;min-width:0}
.neo-cb-dd{position:relative}
.neo-cb-chip{cursor:pointer;font-family:inherit;display:inline-flex;align-items:center;gap:6px;height:26px;padding:0 10px;border:1px solid currentColor;border-radius:999px;background:color-mix(in srgb,currentColor 12%,transparent);font:700 11px 'JetBrains Mono',monospace;letter-spacing:.06em;white-space:nowrap}
.neo-cb-chip>i{width:6px;height:6px;border-radius:50%;background:currentColor}
.neo-cb-chip>em{font-style:normal;font-weight:500;opacity:.7}
.neo-cb-chip>em::before{content:'·';margin-right:6px}
.neo-cb-price{display:grid;gap:3px}
.neo-cb-price>b{font:600 21px/1 'JetBrains Mono',monospace;letter-spacing:-.02em;color:#eef0f8;font-variant-numeric:tabular-nums}
.neo-cb-price>span{font:500 10px/1 'JetBrains Mono',monospace;color:#8f89a3;white-space:nowrap}
.neo-cb-controls{display:flex;align-items:center;gap:6px;margin-left:auto;flex-wrap:wrap}
.neo-cb-sep{width:1px;height:22px;background:#2a2338;margin:0 2px}
.neo-cb-group{display:flex;border:1px solid #2a2338;border-radius:8px;overflow:hidden;background:#120e1b}
.neo-cb-btn,.neo-cb-icon,.neo-cb-tool{display:flex;align-items:center;gap:6px;height:30px;border:0;background:transparent;color:#b3b0c7;font:600 11px 'JetBrains Mono',monospace;cursor:pointer}
.neo-cb-btn{padding:0 9px}
.neo-cb-btn>i{width:6px;height:6px;border-radius:50%}
.neo-cb-icon{width:32px;justify-content:center}
.neo-cb-icon+.neo-cb-icon{border-left:1px solid #2a2338}
.neo-cb-tool{padding:0 10px;border:1px solid #2a2338;border-radius:8px;background:#120e1b;font:500 12px system-ui,sans-serif}
.neo-cb-tool b{color:#eef0f8;font:600 11px 'JetBrains Mono',monospace}
.neo-cb svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.neo-cb-btn:hover,.neo-cb-icon:hover,.neo-cb-tool:hover{color:#eef0f8;background:#ffffff0a}
.neo-cb-btn:focus-visible,.neo-cb-icon:focus-visible,.neo-cb-tool:focus-visible{outline:2px solid #9a7af4;outline-offset:-2px}
.neo-cb-menu{position:absolute;top:calc(100% + 4px);right:0;min-width:200px;z-index:8;padding:4px;border:1px solid #3a3050;border-radius:8px;background:#1b1626;box-shadow:0 12px 32px #0009;display:grid}
.neo-cb-menu-item{display:flex;align-items:center;gap:9px;width:100%;height:30px;padding:0 8px;border:0;border-radius:6px;background:transparent;text-align:left;font-size:12px;color:#eef0f8;white-space:nowrap;cursor:pointer}
.neo-cb-menu-item:hover{background:#ffffff0a}
.neo-cb-menu-item>span:first-child{width:14px;height:14px;display:grid;place-items:center;border-radius:4px;font-size:10px;line-height:1}


section:fullscreen{background:#15111f}
section:fullscreen #neo-live-chart{min-height:0}
/* Narrow chart card: tools become icon-only so the bar stays on one line. */
@container (max-width:1180px){.neo-cb-tool>span{display:none}.neo-cb-btn{padding:0 7px}.neo-cb-price>b{font-size:19px}}
@container (max-width:900px){.neo-cb{gap:8px}.neo-cb-controls{gap:4px}.neo-cb-btn>i{display:none}.neo-cb-btn{padding:0 6px}.neo-cb-icon{width:26px}.neo-cb-tool{padding:0 8px}.neo-cb-sep{display:none}.neo-cb-price>b{font-size:17px}.neo-cb-chip>em{display:none}}
.neo-cb-chev{width:12px!important;height:12px!important;opacity:.7}
.neo-cb-menu-left{left:0;right:auto}
.neo-cb-menu-head{padding:8px 8px 4px;font:600 10px 'JetBrains Mono',monospace;letter-spacing:.08em;text-transform:uppercase;color:#8f89a3}
.neo-cb-menu-item>b{font:700 11px 'JetBrains Mono',monospace;letter-spacing:.04em}
.neo-cb-menu-item>small{margin-left:auto;padding-left:16px;font-size:11px;color:#8f89a3}
.neo-cb-dot{width:7px;height:7px;border-radius:50%}
.neo-cb-menu-row{display:flex;align-items:center;gap:2px}
.neo-cb-menu-row>.neo-cb-menu-item{flex:1}
.neo-cb-star{width:28px;height:28px;border:0;border-radius:6px;background:transparent;font-size:13px;cursor:pointer}
.neo-cb-star:hover{background:#ffffff0a}
/* Tool buttons: one font and one line box, so label, value and icons sit exactly centred. */
.neo-cb-tool{font:600 11px/1 'JetBrains Mono',monospace;letter-spacing:.02em}
.neo-cb-tool>span,.neo-cb-tool>b{display:block;font:inherit;line-height:1}
/* Optical centring: trim the font box to cap height (all bar labels). */
.neo-cb-tool>span,.neo-cb-tool>b,.neo-cb-btn,.neo-cb-chip{text-box:trim-both cap alphabetic}
.neo-cb-tool>b{color:#eef0f8}
.neo-cb-tool>svg{display:block;flex:none}
.neo-cb-seg{display:grid;grid-template-columns:1fr 1fr;gap:2px;margin:0 4px 4px;padding:2px;border:1px solid #2a2338;border-radius:7px;background:#120e1b}
.neo-cb-seg>button{height:26px;border:0;border-radius:5px;font:600 11px 'JetBrains Mono',monospace;cursor:pointer}
/* Setup names link to their Setup Library card. */
/* Only the name itself is the link (fit to text); the rest of the row still opens the trade. */
.neo-setup-link{cursor:pointer;text-decoration:underline dotted #8f89a388;text-underline-offset:3px;justify-self:start;align-self:center;width:fit-content;max-width:100%}
.neo-setup-link:hover{color:#d9c9ff;text-decoration-color:#d9c9ff}

/* ===== Mobile (< 860px): own phone layout, never wider than the screen ===== */
@media (max-width:859px){
  html,body{overflow-x:clip;max-width:100%}
  .neo-main{grid-template-columns:minmax(0,1fr)!important;padding-bottom:calc(84px + env(safe-area-inset-bottom))!important}
  /* Grid and flex children may shrink below their text width; long text wraps or truncates instead of widening the page. */
  .neo-main *{min-width:0}
  .neo-top{gap:10px!important;padding:0 12px!important}
  .neo-top h1{overflow:hidden;text-overflow:ellipsis;min-width:0}
  .neo-guest-pill{display:none!important}
  .neo-mnav{grid-template-columns:none!important;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);height:auto!important;padding:6px 6px calc(6px + env(safe-area-inset-bottom))!important}
  .neo-mnav>button{min-width:0;padding:6px 0;overflow:hidden;white-space:nowrap}
  /* Live Terminal: chart first, big; figures after it. */
  /* Live Terminal order on phones: notice, chart, Command Stream, figures, gates. */
  .neo-terminal,.neo-side{display:contents!important}
  .neo-main>.neo-data-notice{order:-3}
  .neo-terminal>section{order:-2}
  .neo-side>section:last-child{order:-1;max-height:none!important}
  .neo-side>section:first-child{order:1}
  .neo-kpis{gap:10px!important}
  .neo-kpis>article{padding:12px 14px!important;min-height:0!important}
  .neo-kpis>article:last-child{grid-column:1/-1}
  .neo-chart-box{min-height:0!important;height:min(62vh,520px);flex:none!important}
  /* Chart bar: quote on the first line, all tools on one compact second line. */
  .neo-cb{position:relative;gap:8px!important;padding:10px 12px!important}
  .neo-cb-quote{width:100%;flex-wrap:wrap;row-gap:8px}
  .neo-cb-syms{flex:1 1 100%}.neo-cb-syms>.neo-cb-btn{flex:1 1 0;justify-content:center}.neo-cb-syms>.neo-cb-btn>i{display:block}
  .neo-cb-controls{margin-left:0!important;width:100%;flex-wrap:wrap!important;justify-content:space-between;gap:8px 4px!important}
  .neo-cb-controls>*,.neo-cb-controls button{flex:none!important;min-width:max-content!important}
  .neo-cb-controls>.neo-cb-group[aria-label="Zeitrahmen-Favoriten"]{display:none}
  .neo-cb-tool[aria-label="Indikatoren"]>span,.neo-cb-controls .neo-cb-tool>span{display:none}
  .neo-cb-tool{height:32px!important;padding:0 7px!important;gap:5px!important}
  .neo-cb-controls .neo-cb-chev{display:none}
  /* No drawing tools on phones, so undo/redo has nothing to do. */
  .neo-cb-group[aria-label="Verlauf"]{display:none!important}
  .neo-cb-icon{width:30px!important;height:32px}
  /* Menus open across the full bar width instead of beside a button (no cut-off at the screen edge). */
  .neo-cb-dd,.neo-cb-controls>div{position:static!important}
  .neo-cb-menu{left:8px!important;right:8px!important;top:calc(100% - 2px)!important;min-width:0!important;max-height:min(56vh,440px);overflow:auto}
  .neo-cb-menu-item{height:38px!important;font-size:13px!important}
  .neo-cb-star{width:38px!important;height:38px!important}
  /* Tabs scroll sideways inside their own bar instead of wrapping. */
  .neo-m-tabs{width:100%;overflow-x:auto;scrollbar-width:none}
  .neo-m-tabs>button{flex:none;white-space:nowrap}
  .neo-m-kpis{gap:10px!important}
  .neo-m-kpis>article{padding:12px 14px!important;min-height:0!important}
  .neo-kpis strong,.neo-m-kpis strong{font-size:clamp(17px,5.6vw,22px)!important;overflow-wrap:anywhere}
  .neo-m-kpis strong{white-space:nowrap}
  /* Card headers may wrap to two lines on phones. */
  .neo-m-head{height:auto!important;min-height:52px;flex-wrap:wrap;padding:10px 14px!important;row-gap:8px}
  .neo-m-xticks>span:nth-child(even){display:none}
  .neo-m-g2{grid-template-columns:repeat(2,minmax(0,1fr))!important;row-gap:12px!important}
  .neo-m-symrow{grid-template-columns:44px minmax(0,1fr) 76px 30px 46px!important;gap:0 7px!important;padding:0 12px!important;font-size:11px!important}
  /* Trades list: two-line cards instead of the wide 12-column table. */
  .neo-m-thead{display:none!important}
  .neo-m-trow{min-width:0!important;height:auto!important;grid-template-columns:auto auto minmax(0,1fr) auto!important;gap:4px 10px!important;padding:10px 14px!important}
  .neo-m-trow>:nth-child(3),.neo-m-trow>:nth-child(6),.neo-m-trow>:nth-child(8),.neo-m-trow>:nth-child(10){display:none!important}
  .neo-m-trow>:nth-child(4){grid-area:1/1}
  .neo-m-trow>:nth-child(5){grid-area:1/2}
  .neo-m-trow>:nth-child(7){grid-area:1/3;overflow:hidden;text-overflow:ellipsis}
  .neo-m-trow>:nth-child(12){grid-area:1/4;text-align:right}
  .neo-m-trow>:nth-child(1){grid-area:2/1}
  .neo-m-trow>:nth-child(2){grid-area:2/2}
  .neo-m-trow>:nth-child(9){grid-area:2/3;text-align:left!important;color:#8f89a3}
  .neo-m-trow>:nth-child(11){grid-area:2/4;text-align:right}
  /* News: a day list (only days with news, weekday in front) instead of the six-column month grid. */
  .neo-m-newshead{display:none!important}
  .neo-m-newsrow{min-width:0!important;grid-template-columns:minmax(0,1fr)!important}
  .neo-m-newsrow>button{min-height:0!important}
  .neo-m-newsrow>button:not(:has(>span:first-child>span:nth-child(2))){display:none!important}
  .neo-m-newsrow>button>span:first-child>span:first-child::before{font-weight:600;color:#eef0f8}
  .neo-m-newsrow>button:nth-child(1)>span:first-child>span:first-child::before{content:'Mo · '}
  .neo-m-newsrow>button:nth-child(2)>span:first-child>span:first-child::before{content:'Di · '}
  .neo-m-newsrow>button:nth-child(3)>span:first-child>span:first-child::before{content:'Mi · '}
  .neo-m-newsrow>button:nth-child(4)>span:first-child>span:first-child::before{content:'Do · '}
  .neo-m-newsrow>button:nth-child(5)>span:first-child>span:first-child::before{content:'Fr · '}
  .neo-m-newsrow>button:nth-child(6)>span:first-child>span:first-child::before{content:'Sa · '}
  html[lang=en] .neo-m-newsrow>button:nth-child(1)>span:first-child>span:first-child::before{content:'Mon · '}
  html[lang=en] .neo-m-newsrow>button:nth-child(2)>span:first-child>span:first-child::before{content:'Tue · '}
  html[lang=en] .neo-m-newsrow>button:nth-child(3)>span:first-child>span:first-child::before{content:'Wed · '}
  html[lang=en] .neo-m-newsrow>button:nth-child(4)>span:first-child>span:first-child::before{content:'Thu · '}
  html[lang=en] .neo-m-newsrow>button:nth-child(5)>span:first-child>span:first-child::before{content:'Fri · '}
  html[lang=en] .neo-m-newsrow>button:nth-child(6)>span:first-child>span:first-child::before{content:'Sat · '}
  /* Engine roots: compact cards. */
  .neo-m-rootrow{min-width:0!important;grid-template-columns:auto minmax(0,1fr) auto!important;gap:6px 12px!important;padding:12px 14px!important}
  .neo-m-rootrow>:nth-child(1){grid-area:1/1}
  .neo-m-rootrow>:nth-child(2){grid-area:1/2}
  .neo-m-rootrow>:nth-child(3){grid-area:1/3}
  .neo-m-rootrow>:nth-child(4){grid-area:2/1}
  .neo-m-rootrow>:nth-child(5){grid-area:2/2;text-align:left!important}
  .neo-m-rootrow>:nth-child(6){grid-area:2/3}
  .neo-m-rootrow>:nth-child(5)::before{content:'Blöcke ';color:#6d667f}
  .neo-m-rootrow>:nth-child(6)::before{content:'Abw. ';color:#6d667f}
  html[lang=en] .neo-m-rootrow>:nth-child(5)::before{content:'Blocks ';color:#6d667f}
  html[lang=en] .neo-m-rootrow>:nth-child(6)::before{content:'Dev. ';color:#6d667f}
  .neo-m-rootrow>:nth-child(7){grid-column:1/-1;flex-wrap:wrap}
  .neo-m-rootrow>:nth-child(7):empty{display:none}
  .neo-m-full{width:100%!important;margin-left:0!important;height:40px!important;font-size:14px!important}
  .neo-m-facts{grid-template-columns:repeat(3,minmax(0,1fr))!important;border-left:0!important;border-top:1px solid #2a2338}
  .neo-m-facts>div{padding:16px 12px!important}
  .neo-m-facts b{font-size:clamp(13px,3.9vw,20px)!important}
  .neo-m-head>span[style*="margin-left"]{flex-basis:100%;margin-left:0!important}
  /* Guide trade flow: number + title on one line, text below. */
  .neo-m-step{grid-template-columns:auto minmax(0,1fr) auto!important;gap:4px 12px!important;padding:12px 14px!important}
  .neo-m-step>:nth-child(3){grid-column:1/-1;grid-row:2}
  /* Compact form fields on phones: small type, full width where they sit in a row of filters. */
  .neo-main select,.neo-main input:not([type=checkbox]):not([type=radio]){font-size:12px!important;height:32px!important;padding:0 8px!important}
  .neo-main select{max-width:100%;text-overflow:ellipsis}
  .neo-m-full{height:36px!important;font-size:13px!important}
  /* Popups use almost the whole phone screen. */
  .neo-m-overlay{padding:8px!important;padding-bottom:calc(8px + env(safe-area-inset-bottom))!important}
  .neo-m-modal{width:100%!important;max-height:calc(100dvh - 16px)!important}
  .neo-m-modal>div:first-child{padding:0 14px!important}
  .neo-m-modal>div:nth-child(2){padding:14px!important}
  /* Setup analysis: two-line cards. */
  .neo-m-arow{min-width:0!important;height:auto!important;grid-template-columns:minmax(0,1fr) auto auto!important;gap:4px 10px!important;padding:10px 14px!important}
  .neo-m-arow>:nth-child(1){grid-area:1/1}
  .neo-m-arow>:nth-child(2){grid-area:1/2}
  .neo-m-arow>:nth-child(5){grid-area:1/3}
  .neo-m-arow>:nth-child(3){grid-area:2/1}
  .neo-m-arow>:nth-child(4){grid-area:2/2}
  .neo-m-arow>:nth-child(4)::after{content:' T'}
  .neo-m-arow>:nth-child(6){grid-area:2/3;color:#8f89a3}
  .neo-m-arow>:nth-child(7){display:none!important}
  /* Stability: three-line cards with small labels. */
  .neo-m-srow{min-width:0!important;height:auto!important;grid-template-columns:minmax(0,1fr) auto auto!important;gap:6px 12px!important;padding:10px 14px!important}
  .neo-m-srow>:nth-child(1){grid-area:1/1}
  .neo-m-srow>:nth-child(2){grid-area:1/2}
  .neo-m-srow>:nth-child(7){grid-area:1/3}
  .neo-m-srow>:nth-child(3){grid-area:2/1;text-align:left!important}
  .neo-m-srow>:nth-child(4){grid-area:2/2}
  .neo-m-srow>:nth-child(5){grid-area:2/3}
  .neo-m-srow>:nth-child(6){grid-area:3/1/3/-1}
  .neo-m-srow>:nth-child(3)::before{content:'DD ';color:#6d667f}
  .neo-m-srow>:nth-child(4)::before{content:'PnL/DD ';color:#6d667f}
  .neo-m-srow>:nth-child(5)::before{content:'PF ';color:#6d667f}
  /* Strategy builder: name + PnL, group and trades below. */
  .neo-m-strow{height:auto!important;grid-template-columns:18px minmax(0,1fr) auto!important;gap:4px 10px!important;padding:10px 14px!important}
  .neo-m-strow>:nth-child(1){grid-area:1/1}
  .neo-m-strow>:nth-child(2){grid-area:1/2}
  .neo-m-strow>:nth-child(6){grid-area:1/3}
  .neo-m-strow>:nth-child(3){grid-area:2/2}
  .neo-m-strow>:nth-child(4){display:none!important}
  .neo-m-strow>:nth-child(5){grid-area:2/3}
  .neo-m-strow>:nth-child(5)::after{content:' T'}
  /* Replay month filter: chips smaller, both selects side by side. */
  .neo-m-chips{gap:6px!important}
  .neo-m-chips>*{height:26px!important;padding:0 9px!important;gap:6px!important;font-size:10.5px!important}
  .neo-m-selrow{width:100%;margin-left:0!important;gap:6px!important}
  .neo-m-selrow>select{flex:1 1 auto;min-width:0;height:30px!important}
  .neo-m-selrow>button{flex:none;height:30px!important;padding:0 8px!important;font-size:10px!important}
}
/* Accounts: login screen and user management */
.neo-auth-fields{display:grid;gap:14px}
.neo-auth-field{display:grid;gap:6px}
.neo-auth-field>span{font:600 9px 'JetBrains Mono',monospace;letter-spacing:.08em;color:#6d667f}
.neo-auth-field>input{height:40px;padding:0 12px;background:#0e0b16;border:1px solid #2a2338;border-radius:8px;color:#eef0f8;font-size:14px;width:100%;box-sizing:border-box}
.neo-auth-field>input:focus{outline:none;border-color:#b6a9ff}
.neo-auth-primary{height:40px;border-radius:8px;border:1px solid;color:#0e0b16;font-size:13px;font-weight:600;cursor:pointer}
.neo-auth-hint{font-size:11px;line-height:1.6;color:#6d667f;text-align:center}
.neo-auth-error{padding:10px 12px;border:1px solid #ff5c7c55;border-radius:8px;background:#ff5c7c14;color:#ff9fb2;font-size:12px;line-height:1.5}
.neo-users{border:1px solid #2a2338;border-radius:10px;background:#15111f;overflow:hidden}
.neo-users-invite{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:12px;align-items:end;padding:16px 18px;border-bottom:1px solid #2a2338}
.neo-users-seg{min-width:max-content;display:flex;gap:2px;height:40px;padding:3px;border:1px solid #2a2338;border-radius:8px;background:#0e0b16;box-sizing:border-box}
.neo-users-seg>button{border:0;border-radius:6px;padding:0 12px;font:600 12px Inter,system-ui,sans-serif;cursor:pointer}
.neo-users-invite>.neo-auth-primary{padding:0 16px}
.neo-users-link{display:grid;gap:8px;padding:14px 18px;border-bottom:1px solid #2a2338;background:#2ee6ac0a;font-size:12px;color:#b3b0c7}
.neo-users-link b{color:#eef0f8}
.neo-users-linkrow{display:flex;gap:8px}
.neo-users-linkrow>input{flex:1;min-width:0;height:34px;padding:0 10px;background:#0e0b16;border:1px solid #2a2338;border-radius:8px;color:#8ff0cf;font:12px 'JetBrains Mono',monospace}
.neo-users-linkrow>button,.neo-users-actions>button{height:34px;padding:0 12px;border:1px solid #2a2338;border-radius:8px;background:transparent;color:#b3b0c7;font-size:12px;white-space:nowrap;cursor:pointer}
.neo-users-linkrow>button:hover,.neo-users-actions>button:hover{background:#ffffff08;color:#eef0f8}
.neo-users-row{display:grid;grid-template-columns:36px minmax(0,1fr) auto auto;gap:12px;align-items:center;padding:12px 18px;border-bottom:1px solid #2a2338}
.neo-users-row:last-child{border-bottom:0}
.neo-users-ini{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#b6a9ff22;color:#b6a9ff;font:600 11px 'JetBrains Mono',monospace}
.neo-users-who{display:grid;gap:3px;min-width:0}
.neo-users-who>b{font-size:13px;font-weight:600;overflow:hidden;text-overflow:ellipsis}
.neo-users-who>small{font-size:11px;color:#6d667f}
.neo-users-tags{display:flex;gap:6px}
.neo-users-tags>i{font:600 9px 'JetBrains Mono',monospace;font-style:normal;letter-spacing:.06em;height:20px;display:inline-flex;align-items:center;padding:0 8px;border:1px solid;border-radius:999px}
.neo-users-actions{display:flex;gap:6px}
.neo-users-actions>.neo-users-del:hover{color:#ff5c7c;border-color:#ff5c7c66}
@media (max-width:859px){
  .neo-users-invite{grid-template-columns:1fr auto;padding:14px}
  .neo-users-invite>.neo-auth-field{grid-column:1/-1}
  .neo-users-row{grid-template-columns:36px minmax(0,1fr);padding:12px 14px}
  .neo-users-tags,.neo-users-actions{grid-column:2}
  .neo-users-actions{flex-wrap:wrap}
  .neo-users-link{padding:12px 14px}
  .neo-auth-field>input{font-size:16px}
}
.neo-auth-foot{flex-wrap:wrap;row-gap:4px;text-align:center}
.neo-auth-foot>span{white-space:nowrap}
.neo-pill{display:inline-flex;align-items:center;flex-shrink:0;height:17px;padding:0 7px;border:1px solid;border-radius:999px;font:700 9.5px/1 'JetBrains Mono',monospace;letter-spacing:.05em}
/* Live terminal: the side column (engine, gates, command stream) takes the height of the chart row instead of
   stretching it; the command stream scrolls inside. Without a box on phones (display:contents) this has no effect. */
.neo-terminal>.neo-side{contain:size}
