@font-face{font-family:Aeonik;src:url("/assets/fonts/aeonik-400.woff2") format("woff2");font-display:swap;font-weight:400;font-style:normal}
@font-face{font-family:Aeonik;src:url("/assets/fonts/aeonik-500.woff2") format("woff2");font-display:swap;font-weight:500;font-style:normal}
@font-face{font-family:Aeonik;src:url("/assets/fonts/aeonik-700.woff2") format("woff2");font-display:swap;font-weight:700;font-style:normal}
@font-face{font-family:"Aeonik Fallback";src:local("Arial");ascent-override:91.80%;descent-override:20.72%;line-gap-override:0.00%;size-adjust:101.32%}
@font-face{font-family:NeueMontreal;src:url("/assets/fonts/neue-montreal-regular.otf") format("opentype");font-display:block;font-weight:400;font-style:normal}
@font-face{font-family:NeueMontreal;src:url("/assets/fonts/neue-montreal-medium.otf") format("opentype");font-display:block;font-weight:500 900;font-style:normal}
:root{
  --qc-font-sans:Aeonik,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
  --bg:#07050F;
  --bg2:#121119;
  --panel:rgba(13,17,30,.86);
  --panel2:rgba(255,255,255,.045);
  --line:rgba(255,255,255,.1);
  --line2:rgba(255,207,35,.28);
  --txt:#f7f7fb;
  --muted:#9aa4b6;
  --gold:#ffcf23;
  --gold2:#ff8d3a;
  --green:#00e28a;
  --red:#ff4d5e;
  --shadow:0 24px 80px rgba(0,0,0,.45);
}


*{box-sizing:border-box;margin:0;padding:0}
body{min-height:100vh;background:var(--bg);color:var(--txt);font-family:var(--qc-font-sans);overflow:hidden}
*{scrollbar-width:thin;scrollbar-color:rgba(148,155,164,.62) transparent}
*::-webkit-scrollbar{width:8px;height:8px}
*::-webkit-scrollbar-track{background:transparent;border-radius:0}
*::-webkit-scrollbar-thumb{background:rgba(148,155,164,.62);border:2px solid transparent;border-radius:999px;background-clip:content-box}
*::-webkit-scrollbar-thumb:hover{background:rgba(184,190,201,.78);border:2px solid transparent;background-clip:content-box}
*::-webkit-scrollbar-corner{background:transparent}
*::-webkit-scrollbar-button{display:none;width:0;height:0}
button,input,select{font:inherit}
button{cursor:pointer}
.hidden,.trial-hidden{display:none!important}
.bg{position:fixed;inset:0;overflow:hidden;pointer-events:none;background:radial-gradient(ellipse 90% 45% at 50% -10%,rgba(255,207,35,.14),transparent 65%),linear-gradient(180deg,#07050F,#01030a)}
.orb{position:absolute;width:740px;height:740px;border-radius:50%;filter:blur(130px);opacity:.14}
.o1{background:var(--gold);top:-360px;left:-180px}
.o2{background:var(--green);right:-240px;bottom:-380px}
.grid{position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px);background-size:46px 46px;mask-image:radial-gradient(ellipse 80% 70% at 50% 20%,#000,transparent 80%);opacity:.55}
#app{position:relative;z-index:1;min-height:100vh}

.auth-shell{min-height:100vh;display:grid;grid-template-columns:1.05fr .95fr;gap:34px;align-items:center;max-width:1120px;margin:0 auto;padding:34px}
.brand{display:flex;align-items:center;gap:12px;font-family:Archivo,sans-serif;font-weight:900;letter-spacing:-.025em}
.brand-wordmark{display:inline-block;line-height:.95;font-weight:900;letter-spacing:-.045em;background:linear-gradient(135deg,#ffffff 0%,#eaf8ff 38%,#7ee9ff 72%,#8fa1ff 100%);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;text-shadow:none;filter:none}
.brand-wordmark-short{letter-spacing:-.03em}
.brand-logo{width:34px;height:34px;border-radius:11px;display:inline-grid;place-items:center;overflow:hidden;flex:0 0 auto;background:#030812;border:1px solid rgba(96,223,255,.42);box-shadow:none}
.brand-logo img{width:100%;height:100%;display:block;object-fit:cover;transform:scale(1.65);pointer-events:none;user-select:none;-webkit-user-drag:none}
.brand.small{font-size:20px}
.auth-copy h1{font-family:Archivo,sans-serif;font-size:clamp(46px,6vw,82px);line-height:.95;letter-spacing:-.03em;margin:24px 0 18px;max-width:9ch}
.auth-copy p{color:var(--muted);font-size:18px;max-width:540px}
.auth-points{display:flex;gap:10px;flex-wrap:wrap;margin-top:26px}
.auth-points b{border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.04);padding:8px 13px;font-size:13px;color:#d7deea}
.auth-card,.panel-card,.user-card,.chat-panel,.sidebar,.admin-panel{border:1px solid var(--line);background:var(--panel);box-shadow:var(--shadow);backdrop-filter:blur(18px)}
.auth-card{border-radius:24px;padding:28px;animation:panelRise .42s cubic-bezier(.16,1,.3,1) both}
.tabs,.admin-tabs{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-bottom:18px}
.admin-tabs{grid-template-columns:repeat(5,1fr)}
.tab,.admin-tab,.ghost{border:1px solid var(--line);background:rgba(255,255,255,.04);color:var(--muted);border-radius:12px;padding:12px;font-weight:800}
.tab.active,.admin-tab.active{background:rgba(255,207,35,.12);border-color:var(--line2);color:var(--gold)}
.auth-form{display:flex;flex-direction:column;gap:14px}
label{display:flex;flex-direction:column;gap:7px;color:#d8deea;font-size:13px;font-weight:800}
input,select{width:100%;border:1px solid var(--line);border-radius:12px;background:rgba(255,255,255,.055);color:var(--txt);padding:13px 14px;outline:none}
input:focus,select:focus{border-color:rgba(255,207,35,.45);box-shadow:0 0 0 3px rgba(255,207,35,.08)}
.primary{border:none;border-radius:13px;background:linear-gradient(135deg,var(--gold),var(--gold2));color:#1a1200;font-weight:900;padding:13px 18px;box-shadow:0 0 42px rgba(255,207,35,.25)}
.primary:disabled{cursor:not-allowed;filter:grayscale(.75);opacity:.55;box-shadow:none}
.auth-divider{display:flex;align-items:center;gap:12px;color:#71809a;font-size:11px;font-weight:800;text-transform:uppercase}
.auth-divider::before,.auth-divider::after{content:"";height:1px;flex:1;background:rgba(126,161,216,.14)}
.google-auth-button{display:flex;align-items:center;justify-content:center;gap:11px;min-height:46px;border:1px solid rgba(126,161,216,.24);border-radius:12px;background:#fff;color:#182033;font-size:13px;font-weight:800;text-decoration:none;box-shadow:0 8px 26px rgba(0,0,0,.16);transition:transform .18s,border-color .18s,box-shadow .18s}
.google-auth-button svg{width:19px;height:19px;flex:0 0 auto}
.google-auth-button:hover{transform:translateY(-1px);border-color:rgba(143,245,255,.5);box-shadow:0 12px 32px rgba(0,0,0,.25)}
.google-auth-button:focus-visible{outline:3px solid rgba(96,223,255,.22);outline-offset:2px}
.reset-form{animation:panelRise .28s cubic-bezier(.16,1,.3,1) both}
.reset-title{font-family:Archivo,sans-serif;font-size:20px;font-weight:900;color:#f7f7fb;margin-bottom:2px}
.auth-upgrade-link{display:inline-flex;align-items:center;justify-content:center;text-align:center;border:1px solid rgba(255,207,35,.3);border-radius:12px;background:rgba(255,207,35,.08);color:var(--gold);font-size:13px;font-weight:900;text-decoration:none;padding:11px 13px;margin-top:-4px;transition:transform .18s,background .18s,border-color .18s,color .18s}
.auth-upgrade-link:hover{transform:translateY(-1px);background:rgba(255,207,35,.14);border-color:rgba(255,207,35,.5);color:#fff}
.auth-help-link{align-self:flex-start;color:var(--gold);font-size:12.5px;font-weight:900;text-decoration:none}
.auth-help-link:hover{color:#fff}
.back-link{display:inline-flex;color:var(--muted);font-size:13px;font-weight:800;text-decoration:none;margin-top:-4px}
.back-link:hover{color:var(--gold)}
.hint{font-size:12px;color:var(--muted);line-height:1.5}
.error{min-height:20px;color:#ff9aa5;font-size:13px;margin-top:12px}

.dashboard{--channels-width:286px;--members-width:276px;--dash-gap:14px;height:100vh;position:relative;display:grid;grid-template-columns:286px minmax(0,1fr) 276px;gap:var(--dash-gap);padding:14px;overflow:hidden;transition:grid-template-columns .28s cubic-bezier(.16,1,.3,1),gap .28s cubic-bezier(.16,1,.3,1)}
.dashboard.dm-mode{--channels-width:260px;grid-template-columns:260px minmax(210px,250px) minmax(0,1fr) 276px}
.dashboard.channels-collapsed{grid-template-columns:0 minmax(0,1fr) 276px}
.dashboard.members-collapsed{grid-template-columns:286px minmax(0,1fr) 0}
.dashboard.channels-collapsed.members-collapsed{grid-template-columns:0 minmax(0,1fr) 0}
.dashboard.dm-mode.channels-collapsed{grid-template-columns:0 minmax(210px,250px) minmax(0,1fr) 276px}
.dashboard.dm-mode.members-collapsed{grid-template-columns:260px minmax(210px,250px) minmax(0,1fr) 0}
.dashboard.dm-mode.channels-collapsed.members-collapsed{grid-template-columns:0 minmax(210px,250px) minmax(0,1fr) 0}
.dashboard:not(.hidden){animation:portalFade .28s ease-out both}
.dashboard:not(.hidden) .sidebar{animation:panelRise .42s .02s cubic-bezier(.16,1,.3,1) both}
.dashboard:not(.hidden) .dm-panel:not(.hidden){animation:panelRise .42s .045s cubic-bezier(.16,1,.3,1) both}
.dashboard:not(.hidden) .chat-panel{animation:panelRise .42s .07s cubic-bezier(.16,1,.3,1) both}
.dashboard:not(.hidden) .members-panel{animation:panelRise .42s .12s cubic-bezier(.16,1,.3,1) both}
.sidebar{border-radius:22px;padding:16px;display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden;transition:transform .28s cubic-bezier(.16,1,.3,1),opacity .2s ease,border-color .2s ease,padding .28s cubic-bezier(.16,1,.3,1)}
.dashboard.channels-collapsed .sidebar{transform:translateX(calc(-100% - 18px));opacity:0;pointer-events:none;padding-left:0;padding-right:0;border-color:transparent}
.side-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.ghost{padding:9px 12px;font-size:12px}
.ghost.danger{border-color:rgba(255,77,94,.28);color:#ff9aa5}
.user-card{box-shadow:none;border-radius:18px;padding:14px;display:flex;gap:12px;align-items:center;background:rgba(255,255,255,.045);transition:border-color .2s,box-shadow .2s,background .2s}
.user-card.compact{margin-top:10px;padding:10px 11px;border-color:rgba(255,255,255,.08);background:rgba(255,255,255,.04)}
.avatar{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,var(--gold),#8b6bff);color:#1b1200;font-weight:900;overflow:hidden;user-select:none;-webkit-user-select:none;-webkit-user-drag:none}
.avatar img,.mini-avatar img,.member-avatar img{width:100%;height:100%;object-fit:cover;display:block;pointer-events:none;user-select:none;-webkit-user-select:none;-webkit-user-drag:none}
.generated-avatar{
  width:100%;
  height:100%;
  display:grid;
  place-items:center;
  background:var(--avatar-bg,#d7e3ff);
}
.generated-avatar img{
  width:46%!important;
  height:46%!important;
  display:block;
  object-fit:contain!important;
}
.generated-avatar-dark img{
  filter:brightness(0) invert(1);
}
.generated-avatar-light img{
  filter:none;
}
.user-main{min-width:0;flex:1}
.user-name-row{display:flex;align-items:center;gap:8px;min-width:0}
.user-name-row b{font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.profile-open{width:30px;height:30px;display:grid;place-items:center;flex:0 0 auto;border:1px solid var(--line);border-radius:10px;background:rgba(255,255,255,.04);color:var(--txt);font-size:14px;font-weight:900;padding:0}
.profile-open:hover{border-color:var(--line2);color:var(--gold)}
.role-row{display:flex;gap:6px;flex-wrap:wrap;margin-top:7px}
.role-pill{border:1px solid var(--line);border-radius:999px;padding:3px 8px;font-size:11px;font-weight:900}
.role-name{font:inherit;color:inherit}
.role-owner,.user-owner-name{--owner-flow-size:260px;display:inline-block!important;background-image:linear-gradient(90deg,#ffd21f 0%,#fff6a8 18%,#ff9f1c 34%,#ffe66b 52%,#fff9d2 70%,#ffd21f 100%);background-size:var(--owner-flow-size) 100%;background-repeat:repeat-x;-webkit-background-clip:text;background-clip:text;color:transparent!important;text-shadow:0 0 14px rgba(255,210,31,.34);animation:ownerTextFlow 20s linear infinite,ownerGlow 7.4s ease-in-out infinite;will-change:background-position,filter}
.role-owner-pill{border-color:rgba(255,210,31,.72)!important;background:linear-gradient(110deg,rgba(255,210,31,.18),rgba(255,246,168,.11),rgba(255,255,255,.035));box-shadow:0 0 18px rgba(255,210,31,.2),inset 0 0 14px rgba(255,246,168,.08);animation:ownerPillAura 7s ease-in-out infinite}
.user-owner-name{font-weight:950;text-shadow:0 0 10px rgba(255,210,31,.34),0 0 22px rgba(255,159,28,.16)}
.role-quantcreator,.user-quantcreator-name{--qc-flow-size:260px;display:inline-block!important;background-image:linear-gradient(90deg,#29aaff 0%,#52efff 18%,#eefbff 32%,#6c8dff 48%,#24c8ff 68%,#29aaff 100%);background-size:var(--qc-flow-size) 100%;background-repeat:repeat-x;-webkit-background-clip:text;background-clip:text;color:transparent!important;text-shadow:0 0 14px rgba(45,180,255,.28);animation:quantCreatorTextFlow 18s linear infinite,quantCreatorGlow 6.8s ease-in-out infinite;will-change:background-position,filter}
.role-quantcreator-pill{border-color:rgba(52,185,255,.72)!important;background:linear-gradient(110deg,rgba(31,132,255,.16),rgba(56,240,255,.1),rgba(255,255,255,.035));box-shadow:0 0 18px rgba(45,180,255,.18),inset 0 0 14px rgba(56,240,255,.08);animation:quantCreatorPillAura 6.5s ease-in-out infinite}
.user-quantcreator-name{font-weight:950;text-shadow:0 0 10px rgba(56,205,255,.28),0 0 22px rgba(42,119,255,.12)}
.trial-blurred-name{color:transparent!important;filter:blur(7px) saturate(.7);opacity:.5;user-select:none;-webkit-user-select:none;pointer-events:none;text-shadow:0 0 12px rgba(190,202,220,.82),0 0 20px rgba(190,202,220,.3)}
.user-quantcreator-name.trial-blurred-name{background:none!important;-webkit-background-clip:border-box!important;background-clip:border-box!important;color:transparent!important;animation:none!important;text-shadow:0 0 16px rgba(75,205,255,.86),0 0 28px rgba(79,122,255,.42);filter:blur(9px) saturate(.62);opacity:.46}
.message.message-pending .msg-box{opacity:.56}
.message.message-pending .msg-text{color:rgba(224,230,240,.72)}
.role-separator{display:inline!important;color:var(--muted)}
.member-role-line .role-name,.member-role-line .role-separator,.role-member-label .role-name,.perm-chip .role-name,.role-order-item .role-name,.list-card h4 .role-name,.role-pill .role-name{display:inline!important;white-space:nowrap;overflow:visible;text-overflow:clip}
.role-member-label .role-quantcreator,.role-member-label .role-owner{text-transform:uppercase;letter-spacing:.12em}
.side-section{min-width:0;min-height:0;display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}
.side-label{font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);font-weight:900;margin:8px 0}
.channels{display:flex;flex:1 1 auto;min-height:0;flex-direction:column;gap:7px;overflow-y:auto;overflow-x:hidden;max-height:none;padding-right:2px;scrollbar-width:none}
.channels::-webkit-scrollbar{width:0;height:0}
.channel-category{display:flex;flex-direction:column;gap:4px}
.channel-category + .channel-category{margin-top:9px}
.channel-category-label{font:900 9px/1 "JetBrains Mono",monospace;letter-spacing:.14em;text-transform:uppercase;color:rgba(174,183,199,.66);padding:3px 2px 1px}
.channel-btn{border:1px solid transparent;background:transparent;color:#cbd3df;border-radius:7px;padding:8px 9px;text-align:left;font-size:11px;font-weight:800;transition:transform .18s,border-color .18s,background .18s,color .18s}
.channel-btn:hover,.channel-btn.active{background:rgba(255,255,255,.06);border-color:var(--line)}
.channel-btn:hover{transform:translateX(2px)}
.channel-btn.active{color:var(--gold)}
.direct-open{width:100%;margin-bottom:8px;display:flex;align-items:center;justify-content:space-between;gap:8px;border-color:rgba(255,207,35,.12);background:rgba(255,207,35,.055)}
.direct-open span{display:block;color:var(--muted);font-size:9px;font-weight:600;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.direct-open strong{min-width:28px;height:28px;border-radius:10px;display:grid;place-items:center;background:rgba(255,207,35,.12);border:1px solid rgba(255,207,35,.2);color:var(--gold);font-family:"JetBrains Mono",monospace;font-size:12px}
.direct-open.active{border-color:rgba(255,207,35,.3);background:rgba(255,207,35,.11);color:var(--gold)}
.direct-open.no-new-message{opacity:.62}
.direct-open.has-new-message{opacity:1;border-color:rgba(255,207,35,.34);background:rgba(255,207,35,.1);box-shadow:0 0 24px rgba(255,207,35,.08)}
.direct-open.has-new-message span{color:var(--gold)}
.direct-back{margin-bottom:8px;border-color:rgba(102,231,255,.18);background:rgba(102,231,255,.06);color:#d9f8ff}
.direct-back:hover{border-color:rgba(102,231,255,.34);background:rgba(102,231,255,.11)}
.direct-back .channel-title{color:#66e7ff}
.channel-btn.locked{color:#7f8797;background:rgba(255,255,255,.025);border-color:rgba(255,255,255,.055);cursor:not-allowed}
.channel-btn.locked:hover,.channel-btn.locked-preview{background:rgba(255,207,35,.075);border-color:rgba(255,207,35,.22);color:#d8deea}
.channel-title{display:flex;align-items:center;gap:6px;min-width:0}
.channel-hash{flex:0 0 auto;color:inherit;opacity:.78;margin-right:3px}
.channel-title-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mention-count{margin-left:auto;min-width:20px;height:20px;display:inline-grid;place-items:center;flex:0 0 auto;border:1px solid rgba(255,77,94,.42);border-radius:999px;background:linear-gradient(135deg,#ff3155,#b70f28);color:#fff;font:950 10px/1 "JetBrains Mono",monospace;box-shadow:0 0 18px rgba(255,49,85,.28)}
.lock-dot{width:22px;height:22px;display:inline-grid;place-items:center;flex:0 0 22px;border-radius:8px;background:rgba(255,207,35,.12);border:1px solid rgba(255,207,35,.24);font-size:12px}
.channel-btn > span{display:block;color:var(--muted);font-size:9px;font-weight:600;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.channel-btn.no-new-message:not(.active){opacity:.68}
.channel-btn.has-new-message{border-color:rgba(255,207,35,.28);background:rgba(255,207,35,.075)}
.channel-btn.has-new-message .channel-title{color:var(--gold)}
.message-presence{display:block;margin-top:4px;font-size:9px;font-weight:900;font-style:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.message-presence.new{color:var(--gold);text-shadow:0 0 14px rgba(255,207,35,.25)}
.message-presence.quiet{color:rgba(174,183,199,.54)}
.sidebar-spacer{flex:0 0 10px;min-height:10px}
.sidebar-footer{position:relative;margin-top:auto;display:flex;flex:0 0 auto;flex-direction:column;min-width:0}
.admin-open{border:1px solid var(--line2);border-radius:14px;background:rgba(255,207,35,.1);color:var(--gold);padding:13px;font-weight:900}
.trial-upgrade-cta{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 10px;align-items:center;margin:0 0 12px;border:1px solid rgba(96,223,255,.34);border-radius:16px;background:linear-gradient(145deg,rgba(7,16,29,.96),rgba(9,26,43,.94));color:#f7fbff;text-decoration:none;padding:12px 12px;box-shadow:0 16px 34px rgba(0,0,0,.3),inset 0 1px 0 rgba(255,255,255,.06);transition:transform .18s,box-shadow .18s,border-color .18s,background .18s}
.trial-upgrade-cta span{grid-column:1/-1;color:#67e8ff;font:950 9px/1 "JetBrains Mono",monospace;letter-spacing:.16em;text-transform:uppercase;text-shadow:none}
.trial-upgrade-cta strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#f7fbff;font-size:13px;font-weight:950;text-shadow:none}
.trial-upgrade-cta em{justify-self:end;color:#dff9ff;background:rgba(96,223,255,.12);border:1px solid rgba(96,223,255,.28);border-radius:999px;padding:6px 9px;font-size:10px;font-style:normal;font-weight:950;white-space:nowrap;box-shadow:none}
.trial-upgrade-cta:hover{color:#fff;transform:translateY(-1px);border-color:rgba(96,223,255,.55);background:linear-gradient(145deg,rgba(8,20,36,.98),rgba(11,36,58,.96));box-shadow:0 18px 42px rgba(0,0,0,.34),0 0 24px rgba(96,223,255,.08),inset 0 1px 0 rgba(255,255,255,.08)}
.trial-upgrade-cta:hover em{background:rgba(96,223,255,.18);color:#fff}

.dm-panel{border:1px solid var(--line);background:var(--panel);box-shadow:var(--shadow);backdrop-filter:blur(18px);border-radius:22px;padding:16px;min-width:0;overflow:hidden;display:flex;flex-direction:column}
.dm-panel-head{margin-bottom:12px}
.dm-panel-head h2{font-family:Archivo,sans-serif;font-size:25px;margin-top:2px}
.dm-contacts{display:flex;flex-direction:column;gap:8px;min-height:0;overflow-y:auto;overflow-x:hidden;padding-right:2px}
.dm-rail-contact{display:grid;grid-template-columns:38px minmax(0,1fr);gap:10px;align-items:center;border:1px solid transparent;border-radius:13px;background:rgba(255,255,255,.025);color:var(--txt);padding:9px;text-align:left;cursor:pointer;transition:border-color .18s,background .18s,transform .18s}
.dm-rail-contact:hover,.dm-rail-contact.selected{border-color:rgba(255,207,35,.22);background:rgba(255,207,35,.07);transform:translateX(2px)}
.dm-rail-contact.selected{color:var(--gold)}
.dm-rail-contact.no-new-message:not(.selected){opacity:.72}
.dm-rail-contact.has-new-message{border-color:rgba(255,207,35,.28);background:rgba(255,207,35,.075)}
.dm-rail-contact .member-avatar{width:38px;height:38px;min-width:38px}
.dm-rail-contact.active .member-avatar::after{background:var(--green)}
.dm-rail-contact.idle .member-avatar::after{background:var(--gold)}
.dm-rail-contact.inactive .member-avatar{filter:grayscale(1);opacity:.55}
.dm-rail-contact b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13.5px}
.dm-rail-contact span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--muted);font-size:11.5px;margin-top:2px}

.chat-panel{border-radius:22px;display:grid;grid-template-rows:auto 1fr auto;min-width:0;overflow:hidden}
.chat-panel.drag-over{outline:1px solid rgba(255,207,35,.45);box-shadow:0 0 0 4px rgba(255,207,35,.08),var(--shadow)}
.chat-panel.drag-over .messages::after{content:"Drop file to attach";position:absolute;inset:auto 24px 24px 24px;border:1px dashed rgba(255,207,35,.5);border-radius:18px;background:rgba(255,207,35,.08);color:var(--gold);display:grid;place-items:center;height:82px;font-weight:900;backdrop-filter:blur(10px)}
.chat-head{padding:22px 24px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:16px;align-items:center}
.chat-head > div:first-child{min-width:0}
.chat-head-main{min-width:0;display:flex;align-items:center;gap:14px}
.chat-title-copy{min-width:0}
.community-back-link{
  display:none;
  min-height:36px;
  flex:0 0 auto;
  align-items:center;
  justify-content:center;
  padding:0 12px;
  border:1px solid rgba(102,231,255,.24);
  border-radius:8px;
  background:rgba(102,231,255,.07);
  color:#dff8ff;
  font-size:12px;
  font-weight:850;
  white-space:nowrap;
}
.community-back-link:hover{border-color:rgba(102,231,255,.42);background:rgba(102,231,255,.12);color:#fff}
.chat-actions{display:flex;align-items:center;gap:10px;flex:0 0 auto}
.panel-toggle{height:36px;color:var(--gold);border-color:rgba(255,207,35,.22);background:rgba(255,207,35,.08);white-space:nowrap}
.panel-toggle.is-off{color:var(--muted);border-color:var(--line);background:rgba(255,255,255,.04)}
.channel-kicker{font-family:"JetBrains Mono",monospace;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--green);font-weight:900}
.chat-head h2,.admin-head h2{font-family:Archivo,sans-serif;font-size:28px}
.chat-head p{color:var(--muted);font-size:13px;margin-top:3px}
.status-pill{border:1px solid var(--line);border-radius:999px;padding:8px 12px;color:var(--muted);font-size:12px;font-weight:800;white-space:nowrap}
.status-pill span{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--green);box-shadow:0 0 20px rgba(0,226,138,.55);margin-right:6px}
.message-status{display:flex;align-items:center;gap:6px;transition:opacity .18s,border-color .18s,background .18s,color .18s}
.message-status b{font:inherit}
.message-status.quiet{opacity:.55}
.message-status.quiet span{background:#687085;box-shadow:none}
.message-status.has-new{opacity:1;border-color:rgba(255,207,35,.3);background:rgba(255,207,35,.08);color:var(--gold)}
.message-status.has-new span{background:var(--gold);box-shadow:0 0 20px rgba(255,207,35,.5)}
.messages{overflow:auto;padding:22px 24px;display:flex;flex-direction:column;gap:13px;position:relative}
.start-guide{width:min(980px,100%);margin:0 auto;display:flex;flex-direction:column;gap:18px;padding:12px 0 18px}
.start-guide-hero{position:relative;overflow:hidden;border:1px solid rgba(255,255,255,.1);border-radius:8px;background:#08090a;padding:32px;box-shadow:inset 0 1px 0 rgba(255,255,255,.04)}
.start-guide-hero::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 12% 0%,rgba(86,214,229,.12),transparent 34%),linear-gradient(180deg,rgba(255,255,255,.035),transparent 42%);pointer-events:none}
.start-guide-hero>div{position:relative;z-index:1}
.start-guide-kicker{display:block;color:#b8b8b8;font:900 10px/1.2 "JetBrains Mono",monospace;letter-spacing:.14em;text-transform:uppercase}
.start-guide-hero h2{max-width:720px;margin:12px 0 0;color:#fff;font-family:var(--qc-font-sans);font-size:clamp(30px,4vw,52px);line-height:1.02;letter-spacing:0}
.start-guide-hero p{max-width:680px;margin:14px 0 0;color:#b8b8b8;font-size:16px;line-height:1.5}
.start-guide-hero strong{display:block;max-width:720px;margin-top:8px;color:#fff;font-size:17px;line-height:1.45}
.start-guide-system-notice{max-width:860px;margin-top:24px;padding:20px 22px;border:1px solid rgba(255,255,255,.14);border-left:3px solid #fff;border-radius:6px;background:rgba(255,255,255,.035);box-shadow:inset 0 1px 0 rgba(255,255,255,.035)}
.start-guide-system-notice>span{display:block;margin-bottom:11px;color:#fff;font:900 10px/1.2 "JetBrains Mono",monospace;letter-spacing:.14em}
.start-guide-system-notice p{max-width:none;margin:9px 0 0;color:#c8c8c8;font-size:13px;line-height:1.58}
.start-guide-system-notice u{color:#fff;text-decoration-color:#fff;text-decoration-thickness:1px;text-underline-offset:3px}
.start-guide-system-notice .start-guide-responsibility{color:#fff;font-weight:800}
.start-guide-section{display:flex;flex-direction:column;gap:11px}
.start-guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.start-guide-room{position:relative;min-width:0;min-height:252px;border:1px solid rgba(255,255,255,.1);border-radius:8px;background:#0c0d0f;color:#fff;padding:22px;text-align:left;display:flex;flex-direction:column;align-items:flex-start;gap:12px;transition:border-color .18s,background .18s,transform .18s,box-shadow .18s}
.start-guide-room:hover{transform:translateY(-2px);border-color:rgba(255,255,255,.2);background:#111214;box-shadow:0 18px 40px rgba(0,0,0,.24)}
.start-guide-room-step{color:#8d8d8d;font:900 10px/1.2 "JetBrains Mono",monospace;letter-spacing:.12em}
.start-guide-step-icon{width:46px;height:46px;border:1px solid rgba(255,255,255,.1);border-radius:8px;background:rgba(255,255,255,.035);display:grid;place-items:center;font-size:23px}
.start-guide-room b{color:#fff;font-size:24px;line-height:1.08;letter-spacing:0}
.start-guide-room small{max-width:360px;color:#a4a4a4;font-size:14px;line-height:1.45}
.start-guide-room em{margin-top:auto;color:#d8d8d8;font-size:13px;font-style:normal}
.start-guide-room em span{color:#8f8f8f}
.start-guide-room strong{min-height:44px;margin-top:6px;padding:0 18px;border:1px solid rgba(255,255,255,.14);border-radius:999px;background:#fff;color:#050607;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:14px;font-weight:900;line-height:1}
.start-guide-room strong i{font-style:normal}
.typing-indicator{min-height:28px;border-top:1px solid rgba(255,255,255,.035);padding:7px 24px 0;display:flex;align-items:center;gap:7px;color:rgba(174,218,255,.78);font:800 12px/1.2 "JetBrains Mono",monospace;background:linear-gradient(180deg,rgba(14,18,31,.02),rgba(14,18,31,.58));text-shadow:0 0 14px rgba(42,171,255,.22)}
.typing-indicator span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.typing-dots{display:inline-flex!important;gap:3px;align-items:center;flex:0 0 auto}
.typing-dots i{width:4px;height:4px;border-radius:50%;background:var(--gold);box-shadow:0 0 12px rgba(255,207,35,.45);animation:typingDotPulse 1.15s ease-in-out infinite}
.typing-dots i:nth-child(2){animation-delay:.16s}
.typing-dots i:nth-child(3){animation-delay:.32s}
.dm-empty{margin:auto;max-width:460px;text-align:center;border:1px solid rgba(255,207,35,.22);border-radius:18px;background:linear-gradient(145deg,rgba(255,207,35,.08),rgba(255,255,255,.035));padding:26px;box-shadow:0 24px 80px rgba(0,0,0,.22);animation:panelRise .28s cubic-bezier(.16,1,.3,1) both}
.dm-empty h3{font-family:Archivo,sans-serif;font-size:26px;margin-bottom:7px}
.dm-empty p{color:var(--muted);font-size:14px;line-height:1.5}
.locked-room{margin:auto;max-width:520px;text-align:center;border:1px solid rgba(255,207,35,.26);border-radius:18px;background:linear-gradient(145deg,rgba(255,207,35,.08),rgba(255,255,255,.035));padding:30px 26px;box-shadow:0 24px 80px rgba(0,0,0,.28);animation:panelRise .28s cubic-bezier(.16,1,.3,1) both}
.locked-icon{width:54px;height:54px;display:grid;place-items:center;margin:0 auto 14px;border-radius:18px;background:rgba(255,207,35,.12);border:1px solid rgba(255,207,35,.28);font-size:24px}
.locked-room h3{font-family:Archivo,sans-serif;font-size:28px;margin-bottom:8px}
.locked-room p{color:var(--muted);font-size:14px;line-height:1.55}
.locked-upgrade{display:inline-flex;margin-top:18px;text-decoration:none;color:#1a1200;background:linear-gradient(135deg,var(--gold),var(--gold2));border-radius:12px;padding:11px 15px;font-weight:900}
.trial-message-gate{position:sticky;top:0;z-index:5;margin:0 0 4px 49px;border:1px solid rgba(255,207,35,.28);border-radius:18px;background:linear-gradient(180deg,rgba(7,11,22,.96),rgba(9,13,25,.82) 62%,rgba(9,13,25,.18));box-shadow:0 20px 46px rgba(0,0,0,.32),0 18px 42px rgba(5,8,17,.72);backdrop-filter:blur(14px);padding:16px;display:flex;align-items:center;justify-content:space-between;gap:14px}
.trial-message-gate::before{content:"";position:absolute;left:0;right:0;top:100%;height:52px;background:linear-gradient(180deg,rgba(9,13,25,.72),rgba(9,13,25,0));pointer-events:none}
.trial-message-gate span{display:block;color:var(--green);font:900 10.5px/1 "JetBrains Mono",monospace;letter-spacing:.13em;text-transform:uppercase;margin-bottom:7px}
.trial-message-gate h3{font-family:Archivo,sans-serif;font-size:22px;line-height:1;margin:0 0 5px;color:var(--txt)}
.trial-message-gate p{max-width:580px;color:var(--muted);font-size:12.5px;line-height:1.45;margin:0}
.trial-message-gate a{flex:0 0 auto;text-decoration:none;color:#171002;background:linear-gradient(135deg,var(--gold),var(--gold2));border-radius:12px;padding:11px 13px;font-weight:950;font-size:12px;box-shadow:0 14px 34px rgba(255,207,35,.16)}
.message{display:grid;grid-template-columns:38px minmax(0,1fr);gap:11px;align-items:start;position:relative;animation:messageIn .28s cubic-bezier(.16,1,.3,1) both}
.message .mini-avatar{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:rgba(255,255,255,.08);font-weight:900;color:var(--gold);overflow:hidden;user-select:none;-webkit-user-select:none;-webkit-user-drag:none}
.message-content{min-width:0;width:fit-content;max-width:100%;display:block;justify-self:start;position:relative}
.msg-box{position:relative;border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.04);padding:12px 14px;transition:border-color .18s,background .18s;justify-self:start;width:auto;max-width:min(100%,760px);min-width:min(168px,100%)}
.msg-box.image-only{width:auto;max-width:min(390px,100%);padding:10px 14px 12px}
.message:hover .msg-box{border-color:rgba(255,207,35,.18);background:rgba(255,255,255,.055)}
.message.reply-flash .msg-box{border-color:rgba(255,207,35,.48);background:rgba(255,207,35,.09);box-shadow:0 0 0 3px rgba(255,207,35,.08)}
.message-reply{width:100%;display:flex;align-items:center;gap:7px;margin:0 0 8px;border:0;background:transparent;color:rgba(174,183,199,.78);padding:0;text-align:left;font-size:12px;font-weight:850;line-height:1.25;cursor:pointer;min-width:0}
.message-reply::before{content:"";width:18px;height:12px;border-left:2px solid rgba(255,207,35,.32);border-top:2px solid rgba(255,207,35,.32);border-radius:8px 0 0 0;flex:0 0 auto}
.message-reply b{font-size:12px;color:var(--gold);flex:0 0 auto;max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.message-reply span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:rgba(174,183,199,.75)}
.message-reply:hover span{color:#dfe6f2}
.message-reply.deleted{cursor:default}
.message-reply.deleted b{color:#ff9aa5}
.msg-meta{display:flex;gap:10px;align-items:center;margin-bottom:4px}
.msg-meta b{font-size:14px}
.msg-meta .trial-message-author{display:inline-block;min-width:74px}
.msg-meta span{font-family:"JetBrains Mono",monospace;color:var(--muted);font-size:11px}
.msg-meta .chat-author{display:inline-flex;align-items:center;gap:5px;min-width:0;max-width:100%;font-family:inherit;color:inherit;font-size:14px;line-height:1.1}
.msg-meta .chat-author b{min-width:0;max-width:190px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.1}
.msg-meta .chat-author-role{font-family:"JetBrains Mono",monospace;color:var(--chat-role-color,#aeb7c7);font-size:10.5px;font-weight:950;letter-spacing:.02em;white-space:nowrap}
.msg-meta .chat-author-dot{font-family:"JetBrains Mono",monospace;color:rgba(174,183,199,.72);font-size:10.5px;font-weight:900}
.chat-role-icon{width:16px;height:16px;display:inline-block;flex:0 0 16px;object-fit:contain;vertical-align:-3px;user-select:none;-webkit-user-drag:none}
.chat-role-icon-svg{color:#d9f9ff;filter:drop-shadow(0 0 6px rgba(80,225,255,.28))}
.chat-role-icon[data-role-icon="developer"]{filter:drop-shadow(0 0 5px rgba(216,181,110,.25))}
.chat-role-icon[data-role-icon="owner"],.chat-role-icon[data-role-icon="member"]{filter:invert(1) brightness(1.28) drop-shadow(0 0 5px rgba(103,232,249,.2));opacity:.92}
.chat-role-icon[data-role-icon="funded"]{filter:drop-shadow(0 0 6px rgba(103,232,249,.28));opacity:.98}
.chat-role-icon[data-role-icon="quant"]{filter:drop-shadow(0 0 6px rgba(255,194,71,.32))}
.message-reply .chat-author-role,.message-reply .chat-author-dot,.message-reply .chat-role-icon{display:none}
.member-name-row{display:inline-flex;align-items:center;gap:5px;min-width:0;max-width:100%;vertical-align:middle}
.member-name-row .user-name{min-width:0}
.member-name-row .chat-author-dot{flex:0 0 auto}
.member-name-row .chat-role-icon{flex:0 0 14px;width:14px;height:14px}
.edited-tag{font:800 10.5px/1 "JetBrains Mono",monospace;color:rgba(174,183,199,.62);font-style:normal;letter-spacing:.04em}
.message.message-continuation{margin-top:-7px}
.message.message-continuation .mini-avatar{visibility:hidden;pointer-events:none}
.message.message-continuation .msg-meta{margin-bottom:3px}
.message-time-only{font-family:"JetBrains Mono",monospace;color:rgba(174,183,199,.62);font-size:10.5px;font-weight:800}
.message-inline-time{display:inline-block;margin-left:8px;white-space:nowrap;font-family:"JetBrains Mono",monospace;color:rgba(174,183,199,.62);font-size:10.5px;font-weight:800;vertical-align:baseline}
.msg-body{overflow-wrap:break-word;word-break:normal;color:#e3e8f2;font-size:14.5px;line-height:1.38;min-width:0;max-width:100%}
.msg-body.has-code{display:flex;flex-direction:column;gap:10px;width:min(720px,100%)}
.msg-text{white-space:pre-wrap;overflow-wrap:break-word;word-break:normal}
.channel-mention,.member-mention{display:inline-flex;align-items:center;border:1px solid rgba(138,168,255,.25);border-radius:6px;background:rgba(138,168,255,.16);color:#c8d6ff;text-decoration:none;font:inherit;font-weight:900;padding:0 5px;line-height:1.25;vertical-align:baseline}
.channel-mention{cursor:pointer}
.member-mention{cursor:default}
.channel-mention:hover{border-color:rgba(255,207,35,.38);background:rgba(255,207,35,.14);color:var(--gold)}
.channel-mention.locked{border-color:rgba(255,207,35,.2);background:rgba(255,207,35,.08);color:rgba(255,207,35,.82)}
.member-mention.self{border-color:rgba(255,77,94,.35);background:rgba(255,77,94,.14);color:#ffb6c0}
.member-mention.everyone{border-color:rgba(255,207,35,.34);background:rgba(255,207,35,.14);color:var(--gold)}
.role-mention{display:inline-flex;align-items:center;border:1px solid transparent;border-radius:6px;font:inherit;font-weight:900;padding:0 5px;line-height:1.25;vertical-align:baseline}
.role-mention.member{border-color:rgba(86,150,255,.34);background:rgba(86,150,255,.15);color:#9ec4ff}
.role-mention.quant{border-color:rgba(171,78,255,.34);background:rgba(171,78,255,.14);color:#d29aff}
.role-mention.quantpremium,.role-mention.funded{border-color:rgba(52,207,196,.34);background:rgba(52,207,196,.14);color:#7beee2}
.trial-message-cta{display:inline-flex;width:fit-content;max-width:100%;margin-top:11px;border:1px solid rgba(255,207,35,.38);border-radius:12px;background:linear-gradient(135deg,var(--gold),var(--gold2));color:#171002;text-decoration:none;font-size:12.5px;font-weight:900;line-height:1.25;padding:9px 12px;box-shadow:0 12px 34px rgba(255,207,35,.18)}
.trial-message-cta:hover{color:#171002;transform:translateY(-1px);box-shadow:0 16px 44px rgba(255,207,35,.26)}
.code-block{margin:7px 0 0;width:100%;max-width:100%;overflow:auto;border:1px solid rgba(255,207,35,.16);border-radius:14px;background:linear-gradient(145deg,rgba(6,10,20,.96),rgba(13,18,31,.96));box-shadow:inset 0 0 24px rgba(0,0,0,.24);font:500 13px/1.55 "JetBrains Mono",Consolas,monospace;color:#dbe5f4}
.code-block code{display:block;padding:12px 14px;white-space:pre;tab-size:2}
.code-head{display:flex;justify-content:flex-end;border-bottom:1px solid rgba(255,255,255,.07);padding:7px 10px;background:rgba(255,255,255,.025)}
.code-head span{font:900 10px/1 "JetBrains Mono",monospace;letter-spacing:.12em;text-transform:uppercase;color:rgba(255,207,35,.72)}
.code-keyword{color:#ffcf23;font-weight:800}
.code-string{color:#73e6ac}
.code-comment{color:#7f8aa3;font-style:italic}
.code-number{color:#8ab4ff}
.language-csharp .code-keyword{color:#8ab4ff}
.language-python .code-keyword{color:#ffcf23}
.language-javascript .code-keyword{color:#c59cff}
.message-image{display:block;margin-top:9px;max-width:min(360px,100%);max-height:320px;border-radius:14px;border:1px solid var(--line);object-fit:contain;background:#050711;cursor:zoom-in;user-select:none;-webkit-user-select:none;-webkit-user-drag:none}
.message-image.transparent-image{background:transparent!important;border-color:transparent!important;box-shadow:none!important}
.msg-box.image-only .message-image{width:min(360px,100%);max-width:100%;height:auto}
.msg-box.image-only.transparent-image-box{background:transparent!important;border-color:transparent!important;box-shadow:none!important;padding:0!important;min-width:0!important}
.message:hover .msg-box.image-only.transparent-image-box{background:transparent!important;border-color:transparent!important;box-shadow:none!important}
.message-file{display:flex;align-items:center;gap:10px;margin-top:9px;max-width:min(380px,100%);border:1px solid rgba(255,207,35,.2);border-radius:14px;background:rgba(255,207,35,.06);padding:10px 12px;color:var(--txt);text-decoration:none;font-weight:900;user-select:none;-webkit-user-select:none}
.message-file:hover{border-color:rgba(255,207,35,.36);background:rgba(255,207,35,.1)}
.message-file span:last-child{min-width:0;display:flex;flex-direction:column;gap:2px}
.message-file b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px}
.message-file small{color:var(--muted);font-size:11px;font-weight:800}
.file-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;flex:0 0 auto;background:linear-gradient(135deg,rgba(255,207,35,.2),rgba(0,226,138,.11));border:1px solid rgba(255,207,35,.2);color:var(--gold);font-family:"JetBrains Mono",monospace;font-size:10px}
.text-attachment{margin-top:9px;width:min(640px,100%);border:1px solid rgba(255,207,35,.2);border-radius:14px;background:rgba(255,255,255,.035);overflow:hidden;box-shadow:inset 0 0 28px rgba(0,0,0,.18)}
.text-file-preview{position:relative;max-height:104px;overflow:hidden;background:linear-gradient(145deg,rgba(10,12,20,.98),rgba(22,23,31,.98));transition:max-height .22s ease}
.text-attachment:not(.expanded) .text-file-preview::after{content:"";position:absolute;left:0;right:0;bottom:0;height:34px;background:linear-gradient(180deg,rgba(22,23,31,0),rgba(22,23,31,.98));pointer-events:none}
.text-attachment.expanded .text-file-preview{max-height:360px;overflow:auto}
.text-file-code{margin:0;min-width:100%;font:500 13px/1.48 "JetBrains Mono",Consolas,monospace;color:#dbe5f4;tab-size:2}
.text-file-code code{display:block;padding:14px 16px;white-space:pre;min-width:max-content}
.text-filebar{display:grid;grid-template-columns:auto 38px minmax(0,1fr) auto;gap:10px;align-items:center;border-top:1px solid rgba(255,255,255,.07);background:rgba(255,255,255,.045);padding:10px 12px}
.text-file-toggle{width:38px;height:38px;border:1px solid var(--line);border-radius:11px;background:rgba(255,255,255,.055);color:var(--txt);padding:0;display:grid;place-items:center;font:900 17px/1 "JetBrains Mono",monospace}
.text-file-toggle::before{content:"v"}
.text-attachment.expanded .text-file-toggle::before{content:"^"}
.text-file-toggle:hover{border-color:rgba(255,207,35,.32);background:rgba(255,207,35,.1);color:var(--gold)}
.text-file-info{min-width:0;display:flex;flex-direction:column;gap:2px}
.text-file-info b{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.text-file-info small{color:var(--muted);font-size:11px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.text-file-actions{display:flex;gap:6px}
.text-file-actions button{height:34px;border:1px solid rgba(174,183,199,.18);border-radius:10px;background:rgba(255,255,255,.045);color:#dfe6f2;padding:0 10px;font-size:11px;font-weight:900}
.text-file-actions button:hover{border-color:rgba(255,207,35,.3);background:rgba(255,207,35,.1);color:var(--gold)}
.quick-reactions{position:absolute;left:calc(100% + 8px);top:3px;z-index:8;display:flex;align-items:center;gap:4px;border:1px solid rgba(58,78,118,.44);border-radius:14px;background:rgba(7,12,25,.82);box-shadow:0 14px 34px rgba(0,0,0,.32);padding:4px;opacity:0;pointer-events:none;transform:translateX(-6px) scale(.98);transition:opacity .16s,transform .16s,border-color .16s,background .16s;backdrop-filter:blur(12px)}
.message:hover .quick-reactions,.quick-reactions:focus-within{opacity:1;pointer-events:auto;transform:translateX(0) scale(1)}
.quick-reactions button,.reaction-pill{border:1px solid rgba(174,183,199,.14);background:rgba(255,255,255,.045);color:#e8edf6}
.quick-reactions button{width:30px;height:30px;display:grid;place-items:center;border-radius:11px;padding:0;font-size:15px;line-height:1;transition:border-color .16s,background .16s,transform .16s,color .16s}
.quick-reactions button:hover,.quick-reactions button.reacted{border-color:rgba(255,207,35,.34);background:rgba(255,207,35,.12);color:var(--gold);transform:translateY(-1px)}
.quick-reactions button:disabled{cursor:wait;opacity:.55;transform:none}
.reactions-row{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}
.reaction-pill{position:relative;display:inline-flex;align-items:center;gap:5px;min-height:28px;border-radius:999px;padding:5px 9px;font-size:13px;font-weight:900;line-height:1;transition:border-color .16s,background .16s,transform .16s,color .16s}
.reaction-pill:hover,.reaction-pill.reacted{border-color:rgba(255,207,35,.32);background:rgba(255,207,35,.1);color:var(--gold);transform:translateY(-1px)}
.reaction-pill b{font:900 11px/1 "JetBrains Mono",monospace;color:rgba(223,230,242,.68)}
.reaction-pill.reacted b{color:rgba(255,207,35,.86)}
.reaction-pill::after{content:attr(data-reaction-tooltip);position:absolute;left:50%;bottom:calc(100% + 9px);width:max-content;max-width:260px;white-space:normal;text-align:center;border:1px solid rgba(255,207,35,.22);border-radius:12px;background:linear-gradient(145deg,rgba(18,22,35,.98),rgba(6,8,17,.98));box-shadow:0 16px 44px rgba(0,0,0,.45);color:#dfe6f2;padding:9px 10px;font-size:11.5px;font-weight:800;line-height:1.35;opacity:0;pointer-events:none;transform:translate(-50%,5px);transition:opacity .14s 1s,transform .14s 1s;z-index:40}
.reaction-pill:hover::after,.reaction-pill:focus-visible::after{opacity:1;transform:translate(-50%,0)}
.message-menu{position:fixed;z-index:150;min-width:178px;max-width:260px;border:1px solid rgba(255,207,35,.22);border-radius:14px;background:linear-gradient(145deg,rgba(18,22,35,.98),rgba(6,8,17,.98));box-shadow:0 18px 60px rgba(0,0,0,.48);padding:7px;backdrop-filter:blur(16px);animation:menuPop .14s ease-out both}
.message-menu button{width:100%;display:flex;flex-direction:column;align-items:flex-start;gap:2px;border:0;border-radius:10px;background:transparent;color:var(--txt);padding:10px;text-align:left;font-size:13px;font-weight:900}
.message-menu button:hover{background:rgba(255,207,35,.1);color:var(--gold)}
.message-menu button.danger{color:#ff9aa5}
.message-menu button.danger:hover{background:rgba(255,77,94,.12);color:#ffb4bd}
.message-menu small{max-width:100%;color:var(--muted);font-size:10.5px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.user-menu{min-width:218px}
.user-menu-summary{display:grid;grid-template-columns:34px minmax(0,1fr);gap:9px;align-items:center;padding:9px;border-bottom:1px solid rgba(255,255,255,.08);margin-bottom:5px}
.user-menu-summary .member-avatar{width:34px;height:34px;min-width:34px;border-radius:11px}
.user-menu-summary b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px;color:#fff}
.user-menu-summary span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--muted);font-size:10.5px;font-weight:800;margin-top:2px}
.channel-menu{min-width:228px}
.channel-menu-summary{padding:10px 9px;border-bottom:1px solid rgba(255,255,255,.08);margin-bottom:5px}
.channel-menu-summary b{display:block;font-size:13px;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.channel-menu-summary span{display:block;color:var(--muted);font-size:10.5px;font-weight:800;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.user-edit-modal{position:fixed;inset:0;z-index:156;display:grid;place-items:center;padding:22px;background:rgba(0,0,0,.62);backdrop-filter:blur(14px);animation:overlayIn .16s ease-out both}
.user-edit-card{width:min(640px,100%);max-height:calc(100vh - 44px);overflow:auto;border:1px solid rgba(255,207,35,.24);border-radius:22px;background:linear-gradient(145deg,rgba(20,24,38,.97),rgba(5,7,15,.98));box-shadow:0 30px 110px rgba(0,0,0,.62);padding:22px;display:flex;flex-direction:column;gap:15px;animation:modalPop .22s cubic-bezier(.16,1,.3,1) both}
.user-edit-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}
.user-edit-head h2{font-family:Archivo,sans-serif;font-size:30px;line-height:1;margin:6px 0 8px}
.user-edit-head p{color:var(--muted);font-size:13px;line-height:1.4;word-break:break-word}
.user-edit-photo-row{padding:12px}
.user-edit-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}
.user-edit-stat{border:1px solid rgba(255,207,35,.16);border-radius:14px;background:rgba(255,255,255,.035);padding:10px}
.user-edit-stat b{display:block;color:var(--gold);font:900 11px/1 "JetBrains Mono",monospace;text-transform:uppercase;letter-spacing:.08em;margin-bottom:5px}
.user-edit-stat span{display:block;color:#dfe6f2;font-size:12.5px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.user-edit-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.user-active-toggle{border:1px solid var(--line);border-radius:13px;background:rgba(255,255,255,.04);padding:11px 12px;color:#dfe6f2;font-size:13px;font-weight:900}
.user-edit-roles{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.user-edit-password{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:center;border:1px solid rgba(255,207,35,.18);border-radius:15px;background:rgba(255,207,35,.055);padding:12px}
.user-edit-password b{display:block;color:var(--gold);font-size:13px;font-weight:950}
.user-edit-password span{display:block;color:var(--muted);font-size:12px;line-height:1.35;margin-top:3px}
.user-edit-password input{width:100%}
.user-edit-danger{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid rgba(255,77,94,.22);border-radius:15px;background:rgba(255,77,94,.06);padding:12px}
.user-edit-danger b{display:block;color:#ff9aa5;font-size:13px;font-weight:950}
.user-edit-danger span{display:block;color:var(--muted);font-size:12px;line-height:1.35;margin-top:3px}
.message-edit-modal,.long-message-modal{position:fixed;inset:0;z-index:155;display:grid;place-items:center;padding:22px;background:rgba(0,0,0,.62);backdrop-filter:blur(14px);animation:overlayIn .16s ease-out both}
.message-edit-card,.long-message-card{width:min(500px,100%);border:1px solid rgba(255,207,35,.24);border-radius:22px;background:linear-gradient(145deg,rgba(20,24,38,.97),rgba(5,7,15,.98));box-shadow:0 30px 110px rgba(0,0,0,.62);padding:22px;display:flex;flex-direction:column;gap:15px;animation:modalPop .22s cubic-bezier(.16,1,.3,1) both}
.edit-icon{width:44px;height:44px;border-radius:15px;display:grid;place-items:center;border:1px solid rgba(255,207,35,.3);background:rgba(255,207,35,.1);color:var(--gold);font-family:"JetBrains Mono",monospace;font-size:20px;font-weight:900}
.message-edit-card h2,.long-message-card h2{font-family:Archivo,sans-serif;font-size:30px;line-height:1;margin:6px 0 8px}
.message-edit-card p,.long-message-card p{color:var(--muted);font-size:13.5px;line-height:1.5}
.message-edit-card textarea{min-height:130px;resize:vertical}
.message-edit-time{border:1px solid rgba(255,207,35,.18);border-radius:14px;background:rgba(255,207,35,.055);padding:11px 12px;display:flex;flex-direction:column;gap:7px}
.message-edit-time span{color:var(--gold);font:900 10.5px/1 "JetBrains Mono",monospace;letter-spacing:.1em;text-transform:uppercase}
.message-edit-time input{width:100%;border:1px solid var(--line);border-radius:11px;background:rgba(255,255,255,.055);color:var(--txt);padding:11px 12px;font:800 13px/1.2 "Inter",system-ui,sans-serif;color-scheme:dark}
.message-edit-time small{color:var(--muted);font-size:11.5px;line-height:1.35}
.random-reactions-card .delete-preview{max-height:none}
.random-reactions-card input[type="number"]{width:100%;border:1px solid var(--line);border-radius:11px;background:rgba(255,255,255,.055);color:var(--txt);padding:11px 12px;font:800 13px/1.2 "Inter",system-ui,sans-serif;color-scheme:dark}
.random-reactions-card .edit-icon{border-color:rgba(83,220,232,.32);background:rgba(83,220,232,.11);color:#75efff}
.message-delete-modal{position:fixed;inset:0;z-index:155;display:grid;place-items:center;padding:22px;background:rgba(0,0,0,.62);backdrop-filter:blur(14px);animation:overlayIn .16s ease-out both}
.message-delete-card{width:min(430px,100%);border:1px solid rgba(255,77,94,.24);border-radius:22px;background:linear-gradient(145deg,rgba(20,24,38,.97),rgba(5,7,15,.98));box-shadow:0 30px 110px rgba(0,0,0,.62);padding:22px;display:flex;flex-direction:column;gap:15px;animation:modalPop .22s cubic-bezier(.16,1,.3,1) both}
.delete-icon{width:44px;height:44px;border-radius:15px;display:grid;place-items:center;border:1px solid rgba(255,77,94,.3);background:rgba(255,77,94,.1);color:#ff9aa5;font-family:"JetBrains Mono",monospace;font-size:22px;font-weight:900}
.message-delete-card h2{font-family:Archivo,sans-serif;font-size:30px;line-height:1;margin:6px 0 8px}
.message-delete-card p{color:var(--muted);font-size:13.5px;line-height:1.5}
.delete-preview{border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.04);padding:11px 12px;color:#dfe6f2;font-size:13px;line-height:1.45;max-height:94px;overflow:hidden;word-break:break-word}
.delete-preview.empty{color:var(--muted)}
.long-message-stats{width:fit-content;border:1px solid rgba(255,207,35,.22);border-radius:999px;background:rgba(255,207,35,.08);color:var(--gold);padding:7px 10px;font:900 11px/1 "JetBrains Mono",monospace}
.long-message-preview{max-height:160px;overflow:auto;white-space:pre-wrap}
.message-delete-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.message-delete-actions .sending{opacity:.65;cursor:wait}
.image-lightbox{position:fixed;inset:0;z-index:140;display:grid;place-items:center;padding:34px;background:rgba(0,0,0,.72);backdrop-filter:blur(14px);animation:overlayIn .16s ease-out both}
.image-lightbox img{max-width:min(1120px,92vw);max-height:84vh;border:1px solid rgba(255,207,35,.2);border-radius:18px;background:#050711;box-shadow:0 28px 100px rgba(0,0,0,.62);object-fit:contain;animation:modalPop .2s cubic-bezier(.16,1,.3,1) both;user-select:none;-webkit-user-select:none;-webkit-user-drag:none}
.lightbox-close{position:absolute;top:20px;right:20px;border:1px solid var(--line);border-radius:12px;background:rgba(255,255,255,.08);color:var(--txt);padding:10px 13px;font-weight:900}
.lightbox-close:hover{border-color:rgba(255,207,35,.3);color:var(--gold)}
.text-viewer-modal{position:fixed;inset:0;z-index:160;display:grid;place-items:center;padding:28px;background:rgba(0,0,0,.74);backdrop-filter:blur(14px);animation:overlayIn .16s ease-out both}
.text-viewer-card{width:min(1120px,94vw);height:min(840px,88vh);border:1px solid rgba(255,207,35,.22);border-radius:20px;background:linear-gradient(145deg,rgba(21,24,33,.98),rgba(7,9,17,.98));box-shadow:0 30px 110px rgba(0,0,0,.64);padding:18px;display:flex;flex-direction:column;gap:14px;animation:modalPop .2s cubic-bezier(.16,1,.3,1) both}
.text-viewer-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.text-viewer-head h2{font-family:Archivo,sans-serif;font-size:28px;line-height:1;margin:5px 0 6px;word-break:break-word}
.text-viewer-head p{color:var(--muted);font-size:12.5px;font-weight:800}
.text-viewer-code{flex:1;min-height:0;margin:0;overflow:auto;border:1px solid rgba(255,207,35,.14);border-radius:15px;background:linear-gradient(145deg,rgba(10,12,20,.98),rgba(22,23,31,.98));font:500 13px/1.5 "JetBrains Mono",Consolas,monospace;color:#dbe5f4;tab-size:2}
.text-viewer-code code{display:block;min-width:max-content;padding:17px 18px;white-space:pre}
.composer{border-top:1px solid var(--line);padding:15px;display:block;position:relative;overflow:visible;z-index:35}
.compose-main{display:flex;flex-direction:column;gap:9px;min-width:0}
.compose-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:start}
.reply-preview{display:flex;align-items:center;justify-content:space-between;gap:10px;width:fit-content;max-width:100%;border:1px solid rgba(255,207,35,.24);border-radius:14px;background:linear-gradient(135deg,rgba(255,207,35,.09),rgba(138,168,255,.06));padding:9px 10px;color:var(--muted);font-size:12px;font-weight:850;box-shadow:0 14px 34px rgba(0,0,0,.18)}
.reply-preview span{display:flex;align-items:center;gap:6px;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.reply-preview b{color:var(--gold);font-weight:950}
.reply-preview em{min-width:0;max-width:min(420px,52vw);font-style:normal;color:#dfe6f2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.reply-preview button{width:26px;height:26px;flex:0 0 auto;display:grid;place-items:center;border:1px solid rgba(174,183,199,.16);border-radius:9px;background:rgba(255,255,255,.04);color:var(--muted);padding:0;font-size:15px;font-weight:950}
.reply-preview button:hover{border-color:rgba(255,207,35,.3);background:rgba(255,207,35,.1);color:var(--gold)}
.slash-menu{position:absolute;left:15px;right:15px;bottom:calc(100% + 8px);z-index:90;width:min(520px,calc(100% - 30px));max-height:min(320px,45vh);overflow:auto;border:1px solid rgba(255,207,35,.2);border-radius:16px;background:linear-gradient(145deg,rgba(18,22,35,.98),rgba(6,8,17,.98));box-shadow:0 18px 70px rgba(0,0,0,.42);padding:7px;display:flex;flex-direction:column;gap:6px;backdrop-filter:blur(16px);animation:menuPop .14s ease-out both}
.slash-menu button{border:1px solid transparent;border-radius:12px;background:rgba(255,255,255,.035);color:var(--txt);padding:10px 11px;text-align:left;display:grid;gap:3px}
.slash-menu button:hover{border-color:rgba(255,207,35,.24);background:rgba(255,207,35,.08)}
.slash-menu b{font-family:"JetBrains Mono",monospace;color:var(--gold);font-size:13px}
.slash-menu span{color:#dfe6f2;font-size:12.5px;font-weight:800}
.slash-menu em,.slash-empty{color:var(--muted);font-size:11px;font-style:normal;font-weight:800}
.slash-empty{padding:10px 11px}
.channel-mention-menu button,.member-mention-menu button{grid-template-columns:minmax(0,1fr) auto;align-items:center}
.channel-mention-menu b,.member-mention-menu b{color:#c8d6ff}
.channel-mention-menu span,.member-mention-menu span{grid-column:1/-1;color:var(--muted);font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.channel-mention-menu em,.member-mention-menu em{align-self:start;border:1px solid rgba(255,207,35,.18);border-radius:999px;background:rgba(255,207,35,.08);padding:4px 7px;color:rgba(255,207,35,.82);font-size:9.5px;text-transform:uppercase;letter-spacing:.05em}
.member-mention-menu button.everyone{background:rgba(255,207,35,.075);border-color:rgba(255,207,35,.14)}
.member-mention-menu button.role-member b{color:#9ec4ff}
.member-mention-menu button.role-quant b{color:#d29aff}
.member-mention-menu button.role-quantpremium b,.member-mention-menu button.role-funded b{color:#7beee2}
.composer input{height:48px}
.composer textarea#messageInput{height:48px;min-height:48px;max-height:150px;resize:none;line-height:1.35;overflow-y:hidden}
.attach-btn{height:48px;align-self:start}
.send-btn{width:48px;height:48px;align-self:start;display:grid;place-items:center;border:1px solid rgba(174,183,199,.2);border-radius:13px;background:rgba(174,183,199,.065);color:rgba(223,230,242,.62);font-family:"JetBrains Mono",monospace;font-size:22px;font-weight:900;padding:0;box-shadow:none;transition:border-color .18s,background .18s,color .18s,transform .18s}
.send-btn:hover{border-color:rgba(255,207,35,.24);background:rgba(255,207,35,.075);color:rgba(255,207,35,.82);transform:translateX(1px)}
.send-btn:disabled{cursor:not-allowed;opacity:.42;filter:grayscale(.6);transform:none}
.composer.locked{background:rgba(255,255,255,.025)}
.composer.locked input,.composer.locked textarea{cursor:not-allowed;opacity:.65}
.composer.sending::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,rgba(255,207,35,.12),rgba(0,226,138,.1),transparent);transform:translateX(-100%);animation:sendSweep .7s ease-out;pointer-events:none}
.composer.sending input,.composer.sending textarea{border-color:rgba(255,207,35,.45);box-shadow:0 0 0 3px rgba(255,207,35,.08)}
.composer-error{min-height:16px;color:#ff9aa5;font-size:12.5px;font-weight:800}
.attachments-preview{display:flex;flex-wrap:wrap;gap:8px;align-self:flex-start;max-width:100%}
.attachment-preview{display:grid;grid-template-columns:46px minmax(0,max-content) auto;gap:9px;align-items:center;width:fit-content;max-width:100%;border:1px solid rgba(255,207,35,.22);border-radius:14px;background:rgba(255,207,35,.07);padding:7px}
.attachment-thumb{width:46px;height:38px;border-radius:10px;border:1px solid var(--line);background:rgba(255,255,255,.04);overflow:hidden;display:grid;place-items:center}
.attachment-thumb img{width:100%;height:100%;object-fit:cover;user-select:none;-webkit-user-select:none;-webkit-user-drag:none}
.attachment-file-icon{font-family:"JetBrains Mono",monospace;font-size:10px;color:var(--gold);font-weight:900}
.attachment-meta{min-width:0;max-width:min(300px,48vw);display:flex;flex-direction:column;gap:2px}
.attachment-meta b{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.attachment-meta span{color:var(--muted);font-size:12px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.attachment-preview button{width:28px;height:28px;display:grid;place-items:center;border:1px solid var(--line);border-radius:10px;background:rgba(255,255,255,.04);color:var(--txt);font-size:16px;font-weight:900;padding:0}

.members-panel{min-width:0;border:1px solid var(--line);background:var(--panel);box-shadow:var(--shadow);backdrop-filter:blur(18px);border-radius:22px;padding:16px;overflow-y:auto;overflow-x:hidden;transition:transform .28s cubic-bezier(.16,1,.3,1),opacity .2s ease,border-color .2s ease,padding .28s cubic-bezier(.16,1,.3,1)}
.dashboard.members-collapsed .members-panel{transform:translateX(calc(100% + 18px));opacity:0;pointer-events:none;padding-left:0;padding-right:0;border-color:transparent}
.members-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}
.members-head h2{font-family:Archivo,sans-serif;font-size:25px}
.member-count{min-width:34px;height:34px;border-radius:12px;display:grid;place-items:center;background:rgba(255,207,35,.12);border:1px solid var(--line2);color:var(--gold);font-family:"JetBrains Mono",monospace;font-weight:900}
.member-groups{display:flex;flex-direction:column;gap:14px}
.member-access-empty{border:1px solid rgba(255,207,35,.16);border-radius:16px;background:rgba(255,255,255,.035);padding:20px 14px;text-align:center;color:var(--muted)}
.member-access-empty .locked-icon{width:44px;height:44px;border-radius:14px;font-size:20px}
.member-access-empty h3{font-family:Archivo,sans-serif;font-size:20px;color:var(--txt);margin:10px 0 5px}
.member-access-empty p{font-size:12.5px;line-height:1.45}
.trial-members-lock{border:1px solid rgba(255,207,35,.26);border-radius:16px;background:linear-gradient(145deg,rgba(255,207,35,.11),rgba(255,255,255,.035));padding:18px 14px;text-align:center;color:var(--muted);box-shadow:0 18px 38px rgba(0,0,0,.18),inset 0 0 22px rgba(255,207,35,.035)}
.trial-members-lock .locked-icon{width:42px;height:42px;border-radius:14px;margin:0 auto 10px;font-size:18px}
.trial-members-lock h3{font-family:Archivo,sans-serif;font-size:18px;color:var(--txt);margin:0 0 6px}
.trial-members-lock p{font-size:12px;line-height:1.45;margin:0;color:var(--muted)}
.trial-members-lock a{display:inline-flex;margin-top:13px;text-decoration:none;color:#1a1200;background:linear-gradient(135deg,var(--gold),var(--gold2));border-radius:11px;padding:10px 12px;font-weight:950;font-size:12px}
.member-section{margin-top:16px}
.member-label{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);font-weight:900;margin-bottom:8px}
.role-member-section{margin-top:0}
.role-member-label{display:flex;align-items:center;justify-content:space-between;gap:10px}
.role-member-label b{min-width:24px;height:24px;border-radius:9px;display:grid;place-items:center;border:1px solid var(--line);background:rgba(255,255,255,.04);font-family:"JetBrains Mono",monospace;font-size:11px;color:var(--muted)}
.offline-member-section{margin-top:8px;padding-top:12px;border-top:1px solid rgba(255,255,255,.08)}
.offline-member-label span{color:#8f99ad}
.offline-member-label b{border-color:rgba(143,153,173,.18);background:rgba(143,153,173,.08);color:#aeb7c7}
.member-list{display:flex;flex-direction:column;gap:8px}
.member-item{display:grid;grid-template-columns:38px minmax(0,1fr);gap:10px;align-items:center;border:1px solid transparent;border-radius:13px;padding:8px;background:rgba(255,255,255,.025);position:relative;isolation:isolate;overflow:visible}
.member-item.can-dm{cursor:pointer}
.member-item.can-dm:hover{border-color:rgba(255,207,35,.2);background:rgba(255,207,35,.055)}
.member-item:hover{border-color:var(--line);background:rgba(255,255,255,.045)}
.member-item > *{position:relative;z-index:2}
.member-avatar{position:relative;width:38px;height:38px;min-width:38px;aspect-ratio:1;border-radius:12px;display:grid;place-items:center;background:rgba(255,255,255,.08);color:var(--gold);font-weight:900;overflow:hidden;user-select:none;-webkit-user-select:none;-webkit-user-drag:none}
.member-avatar::after{content:"";position:absolute;right:2px;bottom:2px;width:10px;height:10px;border:2px solid #111524;border-radius:50%;background:#687085}
.member-item.active .member-avatar::after{background:var(--green)}
.member-item.idle .member-avatar::after{background:var(--gold)}
.member-item.inactive .member-avatar{filter:grayscale(1);opacity:.55}
.member-item b{display:block;font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.member-item span{display:block;color:var(--muted);font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.member-item.owner-showcase{margin:7px 0 12px;padding:11px 10px;border-color:rgba(255,207,35,.36);background:linear-gradient(145deg,rgba(255,207,35,.1),rgba(255,255,255,.04) 54%,rgba(0,226,138,.055));box-shadow:0 0 34px rgba(255,207,35,.13),inset 0 0 28px rgba(0,226,138,.04)}
.member-item.owner-showcase::after{content:"";position:absolute;inset:-9px;border-radius:18px;background:radial-gradient(circle at 18% 26%,rgba(255,207,35,.18),transparent 28%),radial-gradient(circle at 88% 70%,rgba(0,226,138,.12),transparent 30%);filter:blur(8px);opacity:.66;z-index:0;pointer-events:none}
.member-item.owner-showcase .member-avatar{box-shadow:0 0 24px rgba(255,207,35,.28),0 0 40px rgba(0,226,138,.12)}
.member-item.owner-showcase b{color:#fff}
.member-item.owner-showcase .owner-fx{position:absolute;inset:-24px -16px;z-index:3;pointer-events:none;overflow:visible}
.owner-fx span{position:absolute;left:0;top:0;display:inline-block;width:auto;opacity:0;transform:translate3d(var(--owner-start-x,-120px),var(--owner-start-y,-120px),0) scale(.82);color:hsl(var(--hue,48) 95% 66% / .86);font:800 10px/1 JetBrains Mono,monospace;letter-spacing:.05em;text-shadow:0 0 12px hsl(var(--hue,48) 95% 66% / .46);will-change:transform,opacity;white-space:nowrap}
.admin-panel{position:fixed;left:296px;right:14px;top:8px;bottom:8px;width:auto;max-width:none;z-index:20;border-radius:22px;padding:28px;overflow:auto;font-size:15px}
.admin-panel:not(.hidden){animation:drawerIn .26s cubic-bezier(.16,1,.3,1) both}
.admin-workspace-section{width:100%;max-width:1280px;margin:0 auto}
.admin-panel.admin-panel-page{position:static;left:auto;right:auto;top:auto;bottom:auto;width:100%;max-width:none;z-index:auto;border:0!important;border-radius:0;padding:0;overflow:visible;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;animation:none!important}
.admin-panel.admin-panel-page .admin-head{display:none}
.admin-panel.admin-panel-page .admin-tabs{margin-bottom:18px}
.admin-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}
.admin-head h2{font-size:34px;line-height:1}
.admin-body{display:flex;flex-direction:column;gap:18px}
.admin-panel .admin-tab{min-height:58px;font-size:15px}
.panel-card{box-shadow:none;border-radius:18px;padding:16px;background:rgba(255,255,255,.04);display:flex;flex-direction:column;gap:12px;margin-bottom:14px}
.admin-panel .panel-card{padding:22px;gap:16px}
.panel-card h3{font-family:Archivo,sans-serif;font-size:20px}
.form-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.form-title-row p{margin-top:4px;color:var(--muted);font-size:12.5px;line-height:1.35}
.channel-editor-tabs{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:5px;margin:0 0 12px;border:1px solid var(--line);border-radius:14px;background:rgba(4,8,18,.68)}
.channel-editor-tab{min-width:0;border:1px solid transparent;border-radius:10px;padding:10px 9px;background:transparent;color:var(--muted);font-size:12px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:background .18s,border-color .18s,color .18s}
.channel-editor-tab.active{border-color:rgba(255,207,35,.32);background:rgba(255,207,35,.1);color:var(--gold)}
.channel-editor-tab:disabled{cursor:not-allowed;opacity:.38}
.channel-editor-card{position:relative;border-top-width:2px}
.channel-create-card{border-top-color:rgba(255,207,35,.58)}
.channel-edit-card{border-top-color:rgba(0,232,167,.58)}
.channel-edit-card .channel-kicker{color:var(--mint)}
.channel-role-section{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:10px 0 6px}
.channel-role-section b{color:#eaf2ff;font-size:12px}
.channel-role-section span{color:var(--muted);font-size:11px;text-align:right}
.create-member-card{border-top:2px solid rgba(0,232,167,.58)}
.create-member-card .channel-kicker{color:var(--mint)}
.create-member-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.created-member-result{display:grid;gap:10px;border:1px solid rgba(0,232,167,.24);border-radius:16px;background:linear-gradient(145deg,rgba(0,232,167,.1),rgba(255,207,35,.06));padding:12px}
.created-member-result b{display:block;color:var(--mint);font-size:13px;font-weight:950}
.created-member-result span{display:block;color:var(--muted);font-size:12px;margin-top:3px}
.created-member-result label{gap:5px}
.created-member-result input{font-family:"JetBrains Mono",monospace}
.form-status{min-height:18px;margin:2px 0 0;color:var(--muted);font-size:12px;font-weight:800;line-height:1.35}
.form-status.success{color:var(--mint)}
.form-status.error{color:#ff94ad}
.check{flex-direction:row;align-items:center}
.check input{width:auto}
.auth-marketing-consent{align-items:flex-start!important;gap:10px;color:var(--muted);font-size:12.5px;line-height:1.35;font-weight:800}
.auth-marketing-consent input{margin-top:2px;accent-color:#68e5ff}
.permission-grid,.role-select-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.perm-chip{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:10px;padding:8px;font-size:12px;color:#d7deea;cursor:pointer;user-select:none;pointer-events:auto}
.perm-chip input[type=checkbox]{appearance:auto;-webkit-appearance:checkbox;width:16px;min-width:16px;height:16px;margin:0;accent-color:#62dfff;opacity:1;position:relative;z-index:2;pointer-events:auto}
.role-select-grid .hint{grid-column:1/-1;color:var(--muted);font-size:12px;padding:8px}
.list{display:flex;flex-direction:column;gap:10px}
.list-card{border:1px solid var(--line);border-radius:15px;background:rgba(255,255,255,.035);padding:14px}
.list-card-head{display:flex;justify-content:space-between;gap:10px;align-items:center}
.list-card h4{font-size:15px}
.list-card p{font-size:12.5px;color:var(--muted);margin-top:4px}
.member-license-card{border-top:2px solid rgba(75,211,255,.48)}
.admin-member-license-list{display:grid;gap:12px}
.admin-member-toolbar{display:flex;align-items:end;gap:10px;margin:0 0 14px}.admin-member-toolbar input{flex:1;min-width:180px}.admin-member-toolbar label{display:grid;gap:5px;color:var(--muted);font:900 10px/1 "JetBrains Mono",monospace;letter-spacing:.08em;text-transform:uppercase}.admin-member-toolbar select{min-width:150px}
.admin-member-empty{border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.035);padding:14px;color:var(--muted);font-size:12.5px;font-weight:800;text-align:center}
.admin-member-license-card{display:grid;grid-template-columns:minmax(230px,1fr) minmax(330px,1.35fr) minmax(300px,1.1fr) minmax(150px,.7fr) minmax(120px,.45fr);gap:14px;align-items:center;border:1px solid var(--line);border-radius:16px;background:rgba(4,8,18,.54);padding:16px}
.admin-license-table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:15px;background:rgba(4,8,18,.52)}
.admin-license-table{width:100%;min-width:1080px;border-collapse:collapse}
.admin-license-table th,.admin-license-table td{padding:14px 14px;border-bottom:1px solid rgba(126,161,216,.13);text-align:left;vertical-align:middle;font-size:13.5px}
.admin-license-table th{background:rgba(75,211,255,.07);color:#8fdfff;font:900 11px/1 "JetBrains Mono",monospace;letter-spacing:.08em;text-transform:uppercase}
.admin-license-table tr:last-child td{border-bottom:0}
.admin-license-member b{display:block;color:#f4f8ff;font-size:14.5px;line-height:1.15}
.admin-license-member span,.admin-license-muted{display:block;color:var(--muted);font-size:12px;margin-top:4px}
.admin-license-member .admin-license-ip{color:#8fdfff;font:800 11px/1.35 "JetBrains Mono",monospace;word-break:break-all}
.admin-member-risk-signals{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}.admin-risk-badge{display:inline-flex;width:fit-content;border:1px solid rgba(255,207,35,.3);border-radius:999px;background:rgba(255,207,35,.08);color:#ffe18a;padding:5px 7px;font:900 9.5px/1.2 "JetBrains Mono",monospace}.admin-risk-badge.critical{border-color:rgba(255,77,94,.42);background:rgba(255,77,94,.12);color:#ff9aa8}.admin-risk-badge.clear{border-color:rgba(0,226,138,.2);background:rgba(0,226,138,.06);color:#79e8bc}
@media(max-width:900px){.admin-member-toolbar{align-items:stretch;flex-direction:column}.admin-member-toolbar select{width:100%}}
.admin-license-block{display:grid;gap:7px;min-width:0}
.admin-license-heading{display:block;color:#8fdfff;font:900 11px/1 "JetBrains Mono",monospace;letter-spacing:.08em;text-transform:uppercase}
.admin-license-code{border:1px solid rgba(75,211,255,.25);border-radius:9px;background:rgba(75,211,255,.08);color:#68e5ff;padding:8px 9px;font:900 11px/1 "JetBrains Mono",monospace;white-space:nowrap}
.admin-license-code:hover{border-color:rgba(75,211,255,.45);background:rgba(75,211,255,.13)}
.admin-license-status{display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:999px;padding:7px 9px;font:900 10.5px/1 "JetBrains Mono",monospace;text-transform:uppercase;white-space:nowrap}
.admin-license-status.ok{border-color:rgba(0,232,167,.3);background:rgba(0,232,167,.09);color:var(--mint)}
.admin-license-status.danger{border-color:rgba(255,77,94,.34);background:rgba(255,77,94,.1);color:#ff8ea2}
.admin-license-status.muted{color:var(--muted)}
.admin-license-field{display:grid;gap:6px;min-width:0;color:var(--muted);font-size:12px;font-weight:900}
.admin-license-field span{line-height:1.25}
.admin-expire-grid{display:grid;grid-template-columns:repeat(4,minmax(68px,1fr));gap:8px}
.admin-expire-unit{display:grid;gap:5px;min-width:0;color:var(--muted);font-size:10px;font-weight:950;text-transform:uppercase}
.admin-expire-unit input,.admin-license-input{height:42px;border-radius:10px;padding:10px 11px;background:#0d1727;border-color:rgba(115,148,199,.24);font:900 12.5px/1 "JetBrains Mono",monospace;color:#eff7ff}
.admin-expire-unit input{width:100%;text-align:center}
.mt5-buy-access{margin-top:16px;width:max-content}
.admin-license-input{text-transform:uppercase;width:100%;min-width:0}
.admin-license-meta{display:grid;gap:5px;min-width:0}
.admin-license-meta span{color:var(--muted);font:900 10px/1 "JetBrains Mono",monospace;letter-spacing:.08em;text-transform:uppercase}
.admin-license-meta b{color:#f4f8ff;font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.admin-license-actions{display:grid;gap:7px;justify-items:stretch}
.admin-member-save{min-width:94px;padding:12px 14px}
.admin-member-save.sending{opacity:.68;cursor:progress}
.admin-license-row-status{display:block;margin-top:7px;color:var(--mint);font-size:11.5px;font-weight:900;line-height:1.2}
.admin-license-row-status.error{color:#ff8ea2}
.copy-expert-card{border-top:2px solid rgba(0,232,167,.5)}
.copy-expert-meta{display:flex;flex-wrap:wrap;gap:8px;color:var(--muted);font-size:12px;font-weight:850}
.copy-expert-meta span{border:1px solid rgba(115,148,199,.16);border-radius:999px;background:rgba(7,16,30,.58);padding:7px 9px}
.copy-expert-meta b{color:#eaf2ff}
.copy-expert-members{display:grid;gap:9px;margin-top:4px}
.copy-expert-member{display:grid;grid-template-columns:minmax(220px,1fr) 140px 110px 92px minmax(130px,.55fr) auto;gap:10px;align-items:center;border:1px solid rgba(115,148,199,.14);border-radius:13px;background:rgba(4,8,18,.58);padding:10px}
.copy-expert-member-main{display:flex;align-items:center;gap:10px;min-width:0}
.copy-expert-avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;overflow:hidden;flex:0 0 34px;background:#101724}
.copy-expert-avatar>img,.copy-expert-avatar .generated-avatar{width:100%;height:100%;border-radius:50%}
.copy-expert-member-main b{display:block;color:#f4f8ff;font-size:13px;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.copy-expert-member-main span{display:block;margin-top:3px;color:var(--muted);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.copy-expert-member label{display:grid;gap:4px;color:var(--muted);font:900 10px/1 "JetBrains Mono",monospace;text-transform:uppercase}
.copy-expert-member input{height:34px;border-radius:9px;padding:8px 9px;font:900 12px/1 "JetBrains Mono",monospace}
.copy-expert-member .check{display:flex;text-transform:none;font-family:inherit;font-size:12px}
.copy-expert-member-pnl{display:grid;gap:3px;text-align:right}
.copy-expert-member-pnl b{font:950 13px/1 "JetBrains Mono",monospace}
.copy-expert-member-pnl b.positive{color:var(--mint)}
.copy-expert-member-pnl b.negative{color:#ff6d8b}
.copy-expert-member-pnl span{color:var(--muted);font-size:11px}
@media(max-width:1100px){.copy-expert-member{grid-template-columns:1fr 1fr}.copy-expert-member-main,.copy-expert-member-pnl{grid-column:1/-1;text-align:left}}
.admin-member-pnl-grid{grid-column:1/-1;display:grid;grid-template-columns:repeat(5,minmax(120px,1fr));gap:8px;border-top:1px solid rgba(126,161,216,.13);padding-top:12px}
.admin-member-pnl-grid>.admin-license-heading{grid-column:1/-1}
.admin-member-pnl-card{border:1px solid rgba(115,148,199,.14);border-radius:10px;background:rgba(7,16,30,.72);padding:10px}
.admin-member-pnl-card span{display:block;color:var(--muted);font:900 10px/1 "JetBrains Mono",monospace;letter-spacing:.08em;text-transform:uppercase}
.admin-member-pnl-card b{display:block;margin-top:6px;color:#f4f8ff;font:950 13px/1 "JetBrains Mono",monospace}
.admin-member-pnl-card.positive b{color:var(--mint)}
.admin-member-pnl-card.negative b{color:#ff6d8b}
.admin-mt5-account-list{grid-column:1/-1;display:grid;gap:8px;border-top:1px solid rgba(126,161,216,.13);padding-top:12px}
.admin-mt5-account-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;border:1px solid rgba(115,148,199,.14);border-radius:10px;background:rgba(7,16,30,.72);padding:10px}
.admin-mt5-account-row b{display:block;color:#f4f8ff;font:900 12.5px/1 "JetBrains Mono",monospace}
.admin-mt5-account-row span{display:block;color:#8da0ba;font-size:11.5px;margin-top:4px}
.admin-mt5-account-row em{display:inline-flex;align-items:center;border:1px solid rgba(255,77,94,.35);border-radius:999px;background:rgba(255,77,94,.12);color:#ff8ea2;padding:7px 9px;font:900 10.5px/1 "JetBrains Mono",monospace;text-transform:uppercase}
.admin-mt5-account-row.blocked{border-color:rgba(255,77,94,.28);background:rgba(70,10,22,.28)}
.admin-mt5-account-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.admin-mt5-account-empty{border:1px dashed rgba(115,148,199,.18);border-radius:10px;color:var(--muted);font-size:12px;font-weight:800;padding:10px}
.admin-mt5-blocked-card{display:grid;gap:14px}
.admin-mt5-blocked-list{display:grid;gap:10px}
.admin-mt5-blocked-row{display:grid;grid-template-columns:minmax(180px,.75fr) minmax(180px,.75fr) minmax(220px,1fr) auto;gap:12px;align-items:center;border:1px solid rgba(255,77,94,.28);border-radius:15px;background:rgba(70,10,22,.22);padding:14px}
.admin-mt5-blocked-row b{display:block;color:#f4f8ff;font-size:13px;line-height:1.2;word-break:break-word}
.admin-mt5-blocked-row p{margin-top:5px;color:var(--muted);font-size:11.5px;line-height:1.35;word-break:break-word}
.admin-email-card{border-top:2px solid rgba(104,229,255,.5)}
.admin-stripe-card{border-top:2px solid rgba(104,229,255,.5)}
.admin-stripe-summary{display:flex;flex-wrap:wrap;gap:10px;margin:4px 0 14px}
.admin-stripe-total{display:grid;gap:4px;min-width:155px;border:1px solid rgba(104,229,255,.18);border-radius:12px;background:rgba(7,16,30,.72);padding:11px 12px}
.admin-stripe-total span{color:var(--muted);font:900 9.5px/1 "JetBrains Mono",monospace;letter-spacing:.07em;text-transform:uppercase}
.admin-stripe-total b{color:#73e6ff;font-size:18px;line-height:1.1}
.admin-stripe-total small{color:var(--muted);font-size:10.5px;font-weight:800}
.admin-stripe-total.is-paid{border-color:rgba(0,232,167,.28)}
.admin-stripe-total.is-paid b{color:#72e8c1}
.admin-stripe-total.is-potential{border-color:rgba(104,229,255,.34);background:linear-gradient(180deg,rgba(32,174,195,.15),rgba(7,16,30,.74))}
.admin-stripe-total.is-potential b{color:#8bf5ff}
.admin-stripe-total.is-cancelled{border-color:rgba(255,184,77,.3)}
.admin-stripe-total.is-cancelled b{color:#ffbd66}
.admin-stripe-total.is-failed{border-color:rgba(255,92,105,.3)}
.admin-stripe-total.is-failed b{color:#ff7f8a}
.admin-stripe-sales-list{display:grid;gap:8px}
.admin-stripe-sale{display:grid;grid-template-columns:minmax(180px,1.2fr) minmax(170px,1fr) auto auto;gap:14px;align-items:center;border:1px solid rgba(115,148,199,.16);border-radius:12px;background:rgba(7,16,30,.72);padding:12px}
.admin-stripe-activity{grid-template-columns:minmax(180px,1.2fr) minmax(160px,1fr) minmax(190px,1fr) auto auto}
.admin-stripe-sale b{display:block;color:#f4f8ff;font-size:13px;line-height:1.2}
.admin-stripe-sale span{display:block;margin-top:4px;color:var(--muted);font-size:11.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.admin-stripe-sale strong{color:#72e8c1;font:950 14px/1 "JetBrains Mono",monospace;white-space:nowrap}
.admin-stripe-sale em{border:1px solid rgba(0,232,167,.28);border-radius:999px;background:rgba(0,232,167,.08);color:var(--mint);padding:6px 8px;font:900 9px/1 "JetBrains Mono",monospace;font-style:normal;text-transform:uppercase}
.admin-stripe-list-heading{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:14px 2px 2px;color:#f4f8ff}
.admin-stripe-list-heading span{color:var(--muted);font-size:11.5px}
.admin-stripe-attempt b{display:block;color:#f4f8ff;font-size:12px}
.admin-stripe-attempt span{white-space:normal}
.admin-stripe-activity.is-failed,.admin-stripe-activity.is-action_required{border-color:rgba(255,92,105,.3);background:rgba(42,10,18,.34)}
.admin-stripe-activity.is-failed strong,.admin-stripe-activity.is-action_required strong{color:#ff7f8a}
.admin-stripe-activity.is-failed em,.admin-stripe-activity.is-action_required em{border-color:rgba(255,92,105,.34);background:rgba(255,92,105,.1);color:#ff9aa3}
.admin-stripe-activity.is-scheduled{border-color:rgba(104,229,255,.28)}
.admin-stripe-activity.is-scheduled em{border-color:rgba(104,229,255,.3);background:rgba(104,229,255,.08);color:#73e6ff}
.admin-stripe-cancellation{border-color:rgba(255,184,77,.28);background:rgba(43,29,9,.24)}
.admin-stripe-cancellation strong{color:#ffbd66;font-size:11px}
.admin-stripe-cancellation em{border-color:rgba(255,184,77,.32);background:rgba(255,184,77,.09);color:#ffbd66}
.admin-stripe-empty{border:1px solid var(--line);border-radius:12px;background:rgba(7,16,30,.5);padding:14px;color:var(--muted);font-size:12.5px;font-weight:800;text-align:center}
@media(max-width:760px){.admin-stripe-sale{grid-template-columns:minmax(0,1fr) auto}.admin-stripe-plan,.admin-stripe-attempt{grid-column:1}.admin-stripe-sale em{justify-self:end}.admin-stripe-list-heading{display:grid}}
.admin-email-smtp{display:grid;gap:6px;justify-items:end;text-align:right}
.admin-email-smtp small{color:var(--muted);font-size:12px;font-weight:800}
.admin-email-status{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:999px;padding:8px 11px;font:950 11px/1 "JetBrains Mono",monospace;text-transform:uppercase;letter-spacing:.06em}
.admin-email-status.ok{border-color:rgba(0,232,167,.32);background:rgba(0,232,167,.1);color:var(--mint)}
.admin-email-status.warn{border-color:rgba(255,207,35,.34);background:rgba(255,207,35,.1);color:var(--gold)}
.admin-email-form{display:grid;gap:12px}
.admin-email-grid,.admin-email-meta-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.admin-email-form textarea{min-height:180px;resize:vertical}
.admin-email-audience-list,.admin-email-campaign-list{display:grid;gap:8px;margin-top:9px}
.admin-email-audience-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid rgba(115,148,199,.16);border-radius:12px;background:rgba(7,16,30,.72);padding:11px 12px}
.admin-email-audience-row span{color:#dce8f8;font-weight:900}
.admin-email-audience-row b{color:#68e5ff;font:950 13px/1 "JetBrains Mono",monospace}
.admin-email-campaign-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;border:1px solid rgba(115,148,199,.16);border-radius:14px;background:rgba(7,16,30,.72);padding:13px}
.admin-email-campaign-row b{display:block;color:#f4f8ff;font-size:13.5px;line-height:1.25}
.admin-email-campaign-row span,.admin-email-campaign-row small{display:block;color:var(--muted);font-size:11.5px;margin-top:5px}
.admin-email-campaign-row em{display:inline-flex;justify-content:center;border:1px solid rgba(104,229,255,.22);border-radius:999px;background:rgba(104,229,255,.08);color:#68e5ff;padding:7px 9px;font:950 10px/1 "JetBrains Mono",monospace;text-transform:uppercase}
.admin-email-campaign-row.failed em,.admin-email-campaign-row.partial_failed em{border-color:rgba(255,77,94,.3);background:rgba(255,77,94,.1);color:#ff8ea2}
.admin-email-campaign-row.smtp_not_configured em,.admin-email-campaign-row.no_recipients em{border-color:rgba(255,207,35,.32);background:rgba(255,207,35,.1);color:var(--gold)}
.tv-access-panel{width:min(920px,100%);margin:auto;display:grid;gap:16px}
.workspace-content > .tv-access-panel{margin:0 auto}
.tv-access-card{border:1px solid rgba(255,207,35,.22);border-radius:18px;background:linear-gradient(145deg,rgba(255,207,35,.08),rgba(255,255,255,.04));box-shadow:0 24px 80px rgba(0,0,0,.28);padding:24px;animation:panelRise .28s cubic-bezier(.16,1,.3,1) both}
.tv-access-card h3{font-family:Archivo,sans-serif;font-size:30px;margin:5px 0 7px}
.tv-copy{color:var(--muted);font-size:14px;line-height:1.55;max-width:640px}
.tv-status{display:inline-flex;align-items:center;gap:8px;margin:18px 0 14px;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.04);padding:8px 12px;font-size:12px;font-weight:900}
.tv-status span{width:9px;height:9px;border-radius:50%;background:#687085}
.tv-status strong{font:inherit}
.tv-status em{font-style:normal;color:var(--muted);font-family:"JetBrains Mono",monospace}
.tv-status.status-pending span{background:var(--gold);box-shadow:0 0 18px rgba(255,207,35,.45)}
.tv-status.status-granted span{background:var(--green);box-shadow:0 0 18px rgba(0,226,138,.45)}
.tv-status.status-revoke_needed span,.tv-status.status-revoked span{background:var(--red);box-shadow:0 0 18px rgba(255,77,94,.38)}
.tv-membership{display:inline-flex;align-items:center;width:fit-content;border:1px solid var(--line);border-radius:999px;padding:6px 9px;font:900 11px/1 "JetBrains Mono",monospace;letter-spacing:.03em}
.tv-membership.ok{border-color:rgba(0,226,138,.3);background:rgba(0,226,138,.09);color:var(--green)}
.tv-membership.warn{border-color:rgba(255,207,35,.32);background:rgba(255,207,35,.1);color:var(--gold)}
.tv-membership.danger{border-color:rgba(255,77,94,.34);background:rgba(255,77,94,.1);color:#ff9aa5}
.tv-membership.muted{color:var(--muted)}
.tv-access-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;margin-top:4px}
.tv-access-form label{min-width:0}
.tv-access-form .primary{height:48px;white-space:nowrap}
.tv-access-note{margin-top:12px;color:var(--muted);font-size:12.5px;line-height:1.5}
.tv-admin-list{border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.035);padding:14px;display:grid;gap:10px}
.tv-section-title{font:900 11px/1 "JetBrains Mono",monospace;letter-spacing:.14em;text-transform:uppercase;color:var(--green)}
.tv-request-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.035);padding:12px}
.tv-request-row b{font-family:"JetBrains Mono",monospace;color:var(--gold)}
.tv-request-row p{margin-top:4px;color:var(--muted);font-size:12px}
.tv-request-actions{display:flex;gap:8px}
.tv-admin-panel-card > div:first-child p{margin-top:6px;color:var(--muted);font-size:12.5px;line-height:1.45}
.admin-logs-card{display:grid;gap:14px;align-content:start}
.admin-log-category-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.admin-log-category{height:52px;display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid var(--line);border-radius:10px;background:rgba(255,255,255,.025);color:#9aa3b3;padding:0 13px;font:850 12px/1 Archivo,sans-serif}
.admin-log-category:hover{border-color:rgba(75,211,255,.22);color:#d9e3f0}
.admin-log-category.active{border-color:rgba(75,211,255,.34);background:rgba(75,211,255,.075);color:#7ff7ff}
.admin-log-category b{display:grid;min-width:25px;height:25px;padding:0 6px;place-items:center;border-radius:6px;background:rgba(255,255,255,.055);color:inherit;font:900 10px/1 "JetBrains Mono",monospace}
.admin-log-output-shell{min-height:0;border:1px solid var(--line);border-radius:12px;background:rgba(3,5,12,.38);overflow:hidden}
.admin-log-output-head{min-height:54px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:10px 14px;border-bottom:1px solid var(--line);background:rgba(255,255,255,.025)}
.admin-log-output-head div{display:grid;gap:3px;min-width:0}
.admin-log-output-head b{color:#edf4ff;font-size:13px}
.admin-log-output-head span{color:var(--muted);font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.admin-log-output-head strong{flex:0 0 auto;color:#8d96a7;font:850 10.5px/1 "JetBrains Mono",monospace}
.admin-logs-list{display:grid;align-content:start;gap:8px;max-height:min(52vh,520px);min-height:220px;overflow:auto;padding:10px;scrollbar-gutter:stable}
.admin-log-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(170px,.28fr);gap:14px;align-items:center;border:1px solid var(--line);border-radius:15px;background:rgba(4,8,18,.54);padding:14px}
.admin-log-row.warning{border-color:rgba(255,207,35,.26);background:rgba(255,207,35,.055)}
.admin-log-row.error{border-color:rgba(255,77,94,.32);background:rgba(255,77,94,.075)}
.admin-log-main{display:flex;gap:12px;align-items:flex-start;min-width:0}
.admin-log-badge{flex:0 0 auto;border:1px solid rgba(75,211,255,.25);border-radius:999px;background:rgba(75,211,255,.08);color:#7ff7ff;padding:6px 8px;font:900 10px/1 "JetBrains Mono",monospace;text-transform:uppercase;letter-spacing:.08em}
.admin-log-row.message .admin-log-badge{border-color:rgba(0,226,138,.24);background:rgba(0,226,138,.08);color:var(--green)}
.admin-log-row.site .admin-log-badge{border-color:rgba(255,207,35,.24);background:rgba(255,207,35,.08);color:var(--gold)}
.admin-log-main h4{font-size:14px;color:#f4f8ff;text-transform:none}
.admin-log-main p{margin-top:3px;color:#c8d4e6;font-size:12.5px;line-height:1.35}
.admin-log-main small{display:block;margin-top:5px;color:var(--muted);font:800 10.5px/1.35 "JetBrains Mono",monospace;word-break:break-word}
.admin-log-side{display:grid;gap:5px;justify-items:end;text-align:right;min-width:0}
.admin-log-side b{font-size:12.5px;color:#f4f8ff;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.admin-log-side span{color:var(--muted);font:800 10.5px/1.35 "JetBrains Mono",monospace}
.admin-tv-row{grid-template-columns:minmax(0,1fr);align-items:start}
.admin-tv-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.admin-tv-title .tv-status{margin:0;padding:5px 8px}
.tv-ops-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}
.tv-ops-grid span{border:1px solid rgba(255,255,255,.075);border-radius:11px;background:rgba(255,255,255,.035);padding:8px;color:var(--muted);font-size:11.5px;line-height:1.35}
.tv-ops-grid b{display:block;margin-bottom:3px;color:var(--txt);font:900 9.5px/1 "JetBrains Mono",monospace;letter-spacing:.1em;text-transform:uppercase}
.tv-action-hint{width:fit-content;margin-top:10px;border:1px solid var(--line);border-radius:999px;padding:7px 10px;font-size:11.5px;font-weight:950}
.tv-action-hint.ok{color:var(--green);border-color:rgba(0,226,138,.28);background:rgba(0,226,138,.08)}
.tv-action-hint.warn{color:var(--gold);border-color:rgba(255,207,35,.28);background:rgba(255,207,35,.08)}
.tv-action-hint.danger{color:#ff9aa5;border-color:rgba(255,77,94,.32);background:rgba(255,77,94,.1)}
.tv-action-hint.muted{color:var(--muted)}
.admin-tv-row .tv-request-actions{justify-content:flex-start;flex-wrap:wrap;margin-top:10px}
.tv-error{border-color:rgba(255,77,94,.32);background:rgba(255,77,94,.08)}
.mt5-access-panel{width:min(980px,100%)}
.mt5-access-card{border-color:rgba(69,203,255,.2);background:linear-gradient(145deg,rgba(69,203,255,.08),rgba(255,255,255,.035))}
.mt5-license-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.mt5-license-form .primary{grid-column:1/-1;width:fit-content;min-width:210px}
.mt5-license-list{background:rgba(255,255,255,.03)}
.mt5-license-card{display:grid;gap:12px;border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.035);padding:14px}
.mt5-license-card.status-active{border-color:rgba(0,226,138,.2);box-shadow:0 14px 50px rgba(0,226,138,.035)}
.mt5-license-card.status-revoked{opacity:.68}
.mt5-license-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.mt5-license-head h4{font-size:18px;margin-top:4px}
.mt5-license-head .tv-status{margin:0}
.mt5-license-code{border:1px solid rgba(69,203,255,.18);border-radius:13px;background:rgba(0,0,0,.2);padding:12px;color:#7ff7ff;font:900 16px/1 "JetBrains Mono",monospace;letter-spacing:.04em;overflow-wrap:anywhere}
.mt5-license-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.mt5-license-grid span{border:1px solid rgba(255,255,255,.075);border-radius:12px;background:rgba(255,255,255,.035);padding:10px;color:#dbe8f6;font-size:12px;line-height:1.35;min-width:0;overflow-wrap:anywhere}
.mt5-license-grid b{display:block;margin-bottom:4px;color:var(--muted);font:900 9.5px/1 "JetBrains Mono",monospace;letter-spacing:.1em;text-transform:uppercase}
.mt5-revoke-btn{width:fit-content}
.mt5-tutorial-card{display:grid;gap:16px;margin-top:14px;border:1px solid rgba(69,203,255,.18);border-radius:16px;background:linear-gradient(145deg,rgba(69,203,255,.06),rgba(255,255,255,.025));padding:16px}
.mt5-tutorial-head h4{margin:5px 0 6px;color:#f4f8ff;font-size:20px}
.mt5-tutorial-head p{max-width:720px;color:var(--muted);font-size:13px;line-height:1.5}
.mt5-tutorial-head p:not(.mt5-tutorial-copy){display:none}
.mt5-tutorial-links{display:grid;grid-template-columns:1fr;gap:10px}
.mt5-copy-url{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px 10px;align-items:center;border:1px solid rgba(255,255,255,.075);border-radius:13px;background:rgba(0,0,0,.18);padding:11px}
.mt5-copy-url span{grid-column:1/-1;color:var(--muted);font:900 9.5px/1 "JetBrains Mono",monospace;letter-spacing:.1em;text-transform:uppercase}
.mt5-copy-url code{min-width:0;white-space:normal;overflow-wrap:anywhere;color:#7ff7ff;font:900 12px/1.35 "JetBrains Mono",monospace;user-select:all}
.mt5-copy-url .ghost{padding:8px 10px;border-radius:10px;color:#dff9ff}
.mt5-tutorial-steps{display:grid;grid-template-columns:1fr;gap:14px}
.mt5-tutorial-step{display:grid;grid-template-columns:1fr;overflow:hidden;border:1px solid rgba(255,255,255,.075);border-radius:14px;background:rgba(255,255,255,.035)}
.mt5-tutorial-step-copy{display:grid;grid-template-columns:auto 1fr;gap:5px 10px;padding:13px 14px;border-bottom:1px solid rgba(255,255,255,.08);background:rgba(6,14,25,.86)}
.mt5-tutorial-image-link{display:grid;place-items:center;min-width:0;background:#f6f7fb;cursor:default}
.mt5-tutorial-step img{display:block;width:100%;max-width:680px;height:auto;object-fit:contain;background:#f6f7fb}
.mt5-tutorial-step-copy b{color:#67e8ff;font:950 10px/1 "JetBrains Mono",monospace;letter-spacing:.12em;align-self:center}
.mt5-tutorial-step-copy strong{color:#f4f8ff;font-size:14px;align-self:center}
.mt5-tutorial-step-copy p{grid-column:2;color:var(--muted);font-size:12px;line-height:1.45;margin:0}
.role-card-actions{display:flex;align-items:center;gap:8px;justify-content:flex-end;flex-wrap:wrap}
.role-type-chip{border:1px solid rgba(255,255,255,.11);border-radius:999px;background:rgba(255,255,255,.045);color:var(--muted);font-size:11px;font-weight:900;padding:6px 9px}
.role-order-card{margin-top:14px}
.role-order-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.role-order-head p{color:var(--muted);font-size:12.5px;margin-top:4px}
.role-order-head .sending{opacity:.65;cursor:wait}
.role-order-list{display:flex;flex-direction:column;gap:8px}
.role-order-item{display:grid;grid-template-columns:auto auto 1fr auto;align-items:center;gap:10px;border:1px solid var(--line);border-radius:13px;background:rgba(255,255,255,.04);padding:10px 11px;cursor:grab;user-select:none}
.role-order-item:active{cursor:grabbing}
.role-order-item.dragging{opacity:.58;border-color:rgba(255,207,35,.45);background:rgba(255,207,35,.08)}
.drag-handle{width:14px;height:18px;opacity:.55;background:radial-gradient(circle,currentColor 1.4px,transparent 1.6px) 0 0/7px 7px;color:#aeb7c7}
.role-order-dot{width:11px;height:11px;border-radius:50%;box-shadow:0 0 16px currentColor}
.role-order-item b{font-size:13.5px}
.role-order-item small{color:var(--muted);font-size:11px;font-weight:900}
.channel-order-card{margin-top:14px;margin-bottom:10px}
.category-card{background:rgba(255,207,35,.035);border-color:rgba(255,207,35,.12)}
.admin-category-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;cursor:grab;user-select:none}
.admin-category-card:active{cursor:grabbing}
.admin-category-card.dragging{opacity:.58;border-color:rgba(255,207,35,.45);background:rgba(255,207,35,.08)}
.admin-category-main{min-width:0}
.admin-category-main h4{font-size:13.5px}
.admin-category-main p{color:var(--muted);font-size:11px;margin-top:3px}
.admin-channel-category{border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.03);padding:10px;display:flex;flex-direction:column;gap:9px}
.admin-channel-category-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:2px 2px 0}
.admin-channel-category-head span{font:900 11px/1 "JetBrains Mono",monospace;letter-spacing:.13em;text-transform:uppercase;color:rgba(255,207,35,.78)}
.admin-channel-category-head b{min-width:24px;height:24px;border-radius:9px;display:grid;place-items:center;border:1px solid var(--line);background:rgba(255,255,255,.04);font-family:"JetBrains Mono",monospace;font-size:11px;color:var(--muted)}
.admin-channel-dropzone{display:flex;flex-direction:column;gap:8px;min-height:44px;border-radius:13px;transition:background .18s,box-shadow .18s}
.admin-channel-dropzone.drag-over{background:rgba(255,207,35,.055);box-shadow:inset 0 0 0 1px rgba(255,207,35,.15)}
.admin-channel-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px;cursor:grab;user-select:none}
.admin-channel-card:active{cursor:grabbing}
.admin-channel-card.dragging{opacity:.58;border-color:rgba(255,207,35,.45);background:rgba(255,207,35,.08)}
.admin-channel-main{min-width:0}
.channel-empty-drop{border:1px dashed rgba(174,183,199,.16);border-radius:12px;padding:11px;color:rgba(174,183,199,.56);font-size:12px;font-weight:800;text-align:center}
.command-card .role-checks{margin-top:12px}
.user-admin-actions{display:flex;gap:7px;align-items:center;justify-content:flex-end;flex-wrap:wrap}
.mini-btn{border:1px solid var(--line);background:rgba(255,255,255,.04);color:var(--txt);border-radius:10px;padding:7px 10px;font-size:12px;font-weight:800}
.mini-btn.danger{border-color:rgba(255,77,94,.28);color:#ff9aa5;background:rgba(255,77,94,.07)}
.mini-btn.danger:hover{border-color:rgba(255,77,94,.44);background:rgba(255,77,94,.12)}
.role-checks{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:12px}

.profile-modal,.photo-crop-modal{position:fixed;inset:0;z-index:110;display:grid;place-items:center;padding:22px;background:rgba(0,0,0,.6);backdrop-filter:blur(12px)}
.photo-crop-modal{z-index:125}
.profile-modal:not(.hidden),.photo-crop-modal:not(.hidden),.onboarding:not(.hidden){animation:overlayIn .18s ease-out both}
.profile-card{width:min(620px,100%);border:1px solid rgba(255,207,35,.28);border-radius:24px;background:linear-gradient(145deg,rgba(20,24,38,.96),rgba(5,7,15,.96));box-shadow:0 30px 110px rgba(0,0,0,.62);padding:24px;display:flex;flex-direction:column;gap:15px}
.photo-crop-card{width:min(500px,100%);border:1px solid rgba(255,207,35,.28);border-radius:24px;background:linear-gradient(145deg,rgba(20,24,38,.97),rgba(5,7,15,.97));box-shadow:0 30px 110px rgba(0,0,0,.62);padding:24px;display:flex;flex-direction:column;gap:15px}
.profile-modal:not(.hidden) .profile-card,.photo-crop-modal:not(.hidden) .photo-crop-card,.onboarding:not(.hidden) .onboarding-card{animation:modalPop .3s cubic-bezier(.16,1,.3,1) both}
.profile-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}
.profile-head h2{font-family:Archivo,sans-serif;font-size:32px;line-height:1;margin-top:6px}
.profile-photo-row{display:grid;grid-template-columns:auto 1fr;gap:16px;align-items:center;border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.04);padding:16px}
.profile-preview{width:82px;height:82px;border-radius:22px;font-size:28px}
.photo-upload{display:inline-flex;margin-right:8px;margin-bottom:8px;border:1px solid var(--line2);border-radius:12px;background:rgba(255,207,35,.1);color:var(--gold);padding:10px 12px;font-size:13px}
.photo-upload input{display:none}
.profile-password-box{display:grid;gap:12px;border:1px solid rgba(98,221,255,.22);border-radius:18px;background:rgba(7,16,30,.72);padding:16px}
.profile-password-box b{display:block;color:#f7fbff;font-size:14px;font-weight:950}
.profile-password-box span{display:block;color:var(--muted);font-size:12px;line-height:1.35;margin-top:3px}
.profile-password-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.profile-password-box .ghost{justify-self:start}
.profile-password-box .hint{min-height:18px}
.crop-stage{width:min(320px,100%);aspect-ratio:1;margin:2px auto;border:1px solid rgba(255,207,35,.28);border-radius:22px;background:radial-gradient(circle at 50% 30%,rgba(255,207,35,.08),rgba(255,255,255,.035));padding:10px;box-shadow:inset 0 0 28px rgba(0,0,0,.28)}
.crop-stage canvas{width:100%;height:100%;display:block;border-radius:16px;background:#090d18;cursor:grab;touch-action:none}
.crop-stage canvas.dragging{cursor:grabbing}
textarea{width:100%;min-height:96px;resize:vertical;border:1px solid var(--line);border-radius:12px;background:rgba(255,255,255,.055);color:var(--txt);padding:13px 14px;outline:none;font:inherit}
textarea:focus{border-color:rgba(255,207,35,.45);box-shadow:0 0 0 3px rgba(255,207,35,.08)}
.composer textarea#messageInput{height:48px;min-height:48px;max-height:150px;resize:none;line-height:1.35;overflow-y:hidden}
.profile-actions{display:flex;gap:10px;justify-content:space-between;flex-wrap:wrap}

.onboarding{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:22px;background:rgba(0,0,0,.62);backdrop-filter:blur(12px)}
.onboarding-card{width:min(760px,100%);border:1px solid rgba(255,207,35,.28);border-radius:24px;background:linear-gradient(145deg,rgba(20,24,38,.96),rgba(5,7,15,.96));box-shadow:0 30px 110px rgba(0,0,0,.62);padding:30px}
.onboarding-card h2{font-family:Archivo,sans-serif;font-size:clamp(30px,5vw,50px);line-height:1;margin:10px 0 12px}
.onboarding-card p{color:var(--muted);font-size:16px;max-width:680px}
.onboarding-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:22px 0}
.onboarding-grid div{border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.045);padding:15px}
.onboarding-grid b{display:block;font-size:15px}
.onboarding-grid span{display:block;color:var(--muted);font-size:13px;margin-top:4px}

@keyframes portalFade{
  from{opacity:.82}
  to{opacity:1}
}
@keyframes quantCreatorTextFlow{
  from{background-position:0 50%}
  to{background-position:calc(var(--qc-flow-size) * -1) 50%}
}
@keyframes ownerTextFlow{
  from{background-position:0 50%}
  to{background-position:calc(var(--owner-flow-size) * -1) 50%}
}
@keyframes ownerGlow{
  0%,100%{filter:drop-shadow(0 0 3px rgba(255,210,31,.34))}
  50%{filter:drop-shadow(0 0 10px rgba(255,230,107,.62))}
}
@keyframes ownerPillAura{
  0%,100%{box-shadow:0 0 16px rgba(255,210,31,.18),inset 0 0 14px rgba(255,246,168,.07)}
  50%{box-shadow:0 0 30px rgba(255,210,31,.28),inset 0 0 18px rgba(255,246,168,.12)}
}
@keyframes quantCreatorGlow{
  0%,100%{filter:drop-shadow(0 0 3px rgba(42,171,255,.32))}
  50%{filter:drop-shadow(0 0 9px rgba(56,240,255,.56))}
}
@keyframes quantCreatorPillAura{
  0%,100%{box-shadow:0 0 16px rgba(45,180,255,.16),inset 0 0 14px rgba(56,240,255,.06)}
  50%{box-shadow:0 0 28px rgba(56,205,255,.26),inset 0 0 18px rgba(56,240,255,.11)}
}
@keyframes typingDotPulse{
  0%,100%{opacity:.28;transform:translateY(0)}
  45%{opacity:1;transform:translateY(-2px)}
}
@keyframes panelRise{
  from{opacity:0;transform:translateY(12px) scale(.985);filter:blur(4px)}
  to{opacity:1;transform:translateY(0) scale(1);filter:blur(0)}
}
@keyframes messageIn{
  from{opacity:0;transform:translateY(8px) scale(.99)}
  to{opacity:1;transform:translateY(0) scale(1)}
}
@keyframes sendSweep{
  0%{transform:translateX(-100%)}
  100%{transform:translateX(100%)}
}
@keyframes drawerIn{
  from{opacity:0;transform:translateX(22px) scale(.985)}
  to{opacity:1;transform:translateX(0) scale(1)}
}
@keyframes overlayIn{
  from{opacity:0}
  to{opacity:1}
}
@keyframes modalPop{
  from{opacity:0;transform:translateY(16px) scale(.97)}
  to{opacity:1;transform:translateY(0) scale(1)}
}
@keyframes menuPop{
  from{opacity:0;transform:translateY(4px) scale(.97)}
  to{opacity:1;transform:translateY(0) scale(1)}
}
@media(prefers-reduced-motion:reduce){
  *{transition-duration:.01ms!important}
  .typing-dots i{animation:none!important}
  .auth-card,.dashboard:not(.hidden),.dashboard:not(.hidden) .sidebar,.dashboard:not(.hidden) .dm-panel:not(.hidden),.dashboard:not(.hidden) .chat-panel,.dashboard:not(.hidden) .members-panel,.message,.locked-room,.admin-panel:not(.hidden),.profile-modal:not(.hidden),.onboarding:not(.hidden),.profile-modal:not(.hidden) .profile-card,.onboarding:not(.hidden) .onboarding-card,.message-menu,.long-message-modal,.long-message-card,.image-lightbox,.image-lightbox img,.text-viewer-modal,.text-viewer-card{animation-duration:.01ms!important}
  .member-item.owner-showcase::after{opacity:.52}
  .composer.sending::before{animation-duration:.35s!important}
}

@media(max-width:1320px){
  .admin-panel{left:14px}
  .admin-member-license-card{grid-template-columns:1fr 1fr;align-items:start}
  .admin-member-pnl-grid{grid-template-columns:repeat(3,minmax(120px,1fr))}
  .admin-mt5-blocked-row{grid-template-columns:1fr 1fr}
  .admin-email-meta-grid{grid-template-columns:1fr}
  .admin-log-row{grid-template-columns:1fr}
  .admin-log-side{justify-items:start;text-align:left}
  .admin-license-actions{grid-column:1/-1;justify-items:start}
}

@media(max-width:1180px){
  .dashboard{--channels-width:250px;--members-width:250px;grid-template-columns:250px minmax(0,1fr) 250px}
  .dashboard.dm-mode{--channels-width:230px;grid-template-columns:230px minmax(200px,240px) minmax(0,1fr) 250px}
  .dashboard.channels-collapsed{grid-template-columns:0 minmax(0,1fr) 250px}
  .dashboard.members-collapsed{grid-template-columns:250px minmax(0,1fr) 0}
  .dashboard.channels-collapsed.members-collapsed{grid-template-columns:0 minmax(0,1fr) 0}
  .dashboard.dm-mode.channels-collapsed{grid-template-columns:0 minmax(200px,240px) minmax(0,1fr) 250px}
  .dashboard.dm-mode.members-collapsed{grid-template-columns:230px minmax(200px,240px) minmax(0,1fr) 0}
  .dashboard.dm-mode.channels-collapsed.members-collapsed{grid-template-columns:0 minmax(200px,240px) minmax(0,1fr) 0}
}
@media(max-width:760px){
  html,body{width:100%;max-width:100%;overflow-x:hidden;overflow-y:auto}
  body{min-height:100dvh}
  #app{min-height:100dvh}
  .admin-panel{left:8px;right:8px;top:8px;bottom:8px;padding:16px}
  .admin-tabs{grid-template-columns:1fr 1fr}
  .admin-member-license-card{grid-template-columns:1fr}
  .admin-log-main{display:grid}
  .admin-expire-grid{grid-template-columns:1fr 1fr}
  .admin-member-pnl-grid{grid-template-columns:1fr}
  .admin-email-grid,.admin-email-meta-grid,.admin-email-campaign-row{grid-template-columns:1fr}
  .admin-email-smtp{justify-items:start;text-align:left}
  .admin-mt5-blocked-row{grid-template-columns:1fr}
  .admin-mt5-account-row{grid-template-columns:1fr}
  .admin-mt5-account-actions{justify-content:flex-start}
  .admin-mt5-account-row .mini-btn{justify-self:start}
  .auth-shell{grid-template-columns:1fr;padding:22px;min-height:100dvh;align-items:start;overflow:visible}
  .auth-card{width:100%;max-width:420px;margin:0 auto}
  .auth-copy{width:100%;max-width:420px;margin:0 auto}
  .auth-copy h1{max-width:12ch}
  .dashboard{--channels-width:27vw;--members-width:24vw;--dash-gap:6px;height:100dvh;min-height:0;width:100vw;max-width:100vw;grid-template-columns:minmax(118px,27vw) minmax(0,1fr) minmax(106px,24vw);gap:6px;padding:6px}
  .dashboard.dm-mode{--channels-width:21vw;--members-width:20vw;width:100vw;max-width:100vw;grid-template-columns:minmax(96px,21vw) minmax(92px,21vw) minmax(0,1fr) minmax(92px,20vw)}
  .dashboard.channels-collapsed{width:100vw;max-width:100vw;grid-template-columns:0 minmax(0,1fr) minmax(106px,24vw)}
  .dashboard.members-collapsed{width:100vw;max-width:100vw;grid-template-columns:minmax(118px,27vw) minmax(0,1fr) 0}
  .dashboard.channels-collapsed.members-collapsed{width:100vw;max-width:100vw;grid-template-columns:0 minmax(0,1fr) 0}
  .dashboard.dm-mode.channels-collapsed{width:100vw;max-width:100vw;grid-template-columns:0 minmax(92px,22vw) minmax(0,1fr) minmax(92px,20vw)}
  .dashboard.dm-mode.members-collapsed{width:100vw;max-width:100vw;grid-template-columns:minmax(96px,21vw) minmax(92px,21vw) minmax(0,1fr) 0}
  .dashboard.dm-mode.channels-collapsed.members-collapsed{width:100vw;max-width:100vw;grid-template-columns:0 minmax(92px,22vw) minmax(0,1fr) 0}
  .sidebar,.dm-panel,.chat-panel,.members-panel{min-height:0;border-radius:14px}
  .sidebar,.dm-panel,.members-panel{padding:8px}
  .brand.small{font-size:16px}
  .side-top{margin-bottom:8px}
  .channels{max-height:none;gap:5px}
  .channel-category{gap:5px}
  .channel-category + .channel-category{margin-top:7px}
  .channel-category-label{font-size:8.5px;letter-spacing:.11em}
  .channel-btn,.direct-open{padding:8px;border-radius:10px}
  .channel-title{gap:5px;font-size:11px;line-height:1.15}
  .channel-btn > span,.direct-open span,.message-presence{font-size:8.5px;line-height:1.25}
  .direct-open{margin-bottom:9px;gap:6px}
  .direct-open strong{min-width:22px;height:22px;border-radius:8px;font-size:10px}
  .lock-dot{width:17px;height:17px;flex-basis:17px;border-radius:6px;font-size:10px}
  .sidebar-spacer{min-height:8px}
  .trial-upgrade-cta{grid-template-columns:1fr;gap:3px;padding:8px 7px;border-radius:11px;margin-bottom:8px;text-align:center}
  .trial-upgrade-cta span{font-size:7.5px;letter-spacing:.1em}
  .trial-upgrade-cta strong{font-size:10.5px;white-space:normal;line-height:1.1}
  .trial-upgrade-cta em{justify-self:center;padding:5px 7px;font-size:8.5px}
  .user-card.compact{padding:7px;gap:7px;border-radius:13px}
  .avatar{width:34px;height:34px;border-radius:10px}
  .user-name-row b{font-size:11px}
  .profile-open{width:24px;height:24px;border-radius:8px;font-size:11px}
  .chat-head{align-items:center;flex-direction:row;padding:12px 10px;gap:6px}
  .chat-head h2,.admin-head h2{font-size:18px;line-height:1}
  .chat-head p{font-size:10px;line-height:1.25}
  .channel-kicker{font-size:8.5px;letter-spacing:.1em}
  .chat-actions{gap:5px}
  .panel-toggle{height:30px;padding:6px 8px;font-size:10px;border-radius:9px}
  .message-status{display:none}
  .messages{padding:10px;gap:9px}
  .start-guide{gap:12px;padding:0 0 4px}
  .start-guide-hero{border-radius:8px;padding:18px}
  .start-guide-hero h2{font-size:28px;line-height:1.04}
  .start-guide-hero p{font-size:12px;line-height:1.45}
  .start-guide-hero strong{font-size:13px;line-height:1.35}
  .start-guide-system-notice{margin-top:16px;padding:14px 15px}
  .start-guide-system-notice>span{font-size:8px}
  .start-guide-system-notice p{font-size:10px;line-height:1.48}
  .start-guide-grid{grid-template-columns:1fr;gap:9px}
  .start-guide-room{min-height:210px;border-radius:8px;padding:16px;gap:10px}
  .start-guide-room-step{font-size:8px}
  .start-guide-step-icon{width:38px;height:38px;border-radius:8px;font-size:19px}
  .start-guide-room b{font-size:20px}
  .start-guide-room small{font-size:11px;line-height:1.38}
  .start-guide-room em{font-size:11px}
  .start-guide-room strong{min-height:38px;padding:0 14px;font-size:12px}
  .trial-message-gate{position:relative;top:auto;margin:0 0 4px 35px;padding:12px;display:block;border-radius:14px}
  .trial-message-gate h3{font-size:17px}
  .trial-message-gate p{font-size:10.5px}
  .trial-message-gate a{display:inline-flex;margin-top:10px;padding:9px 10px;font-size:10.5px}
  .typing-indicator{min-height:24px;padding:6px 10px 0;font-size:10px}
  .typing-dots i{width:3px;height:3px}
  .message{grid-template-columns:28px minmax(0,1fr);gap:7px}
  .message .mini-avatar{width:28px;height:28px;border-radius:9px}
  .msg-box{max-width:100%;min-width:min(142px,100%);padding:9px 10px;border-radius:12px}
  .msg-meta{gap:6px}
  .msg-meta b{font-size:11.5px}
  .msg-meta span{font-size:9px}
  .msg-meta .chat-author{gap:3px;font-size:11.5px}
  .msg-meta .chat-author b{max-width:116px}
  .msg-meta .chat-author-role,.msg-meta .chat-author-dot{font-size:8.5px}
  .chat-role-icon{width:13px;height:13px;flex-basis:13px}
  .msg-body{font-size:12px}
  .text-attachment{width:100%;border-radius:12px}
  .text-file-preview{max-height:88px}
  .text-attachment.expanded .text-file-preview{max-height:260px}
  .text-file-code{font-size:11px;line-height:1.45}
  .text-file-code code{padding:10px 11px}
  .text-filebar{grid-template-columns:auto minmax(0,1fr) auto;gap:7px;padding:8px}
  .text-filebar .file-icon{display:none}
  .text-file-toggle{width:32px;height:32px;border-radius:9px;font-size:14px}
  .text-file-info b{font-size:11px}
  .text-file-info small{font-size:9px}
  .text-file-actions{gap:4px}
  .text-file-actions button{height:30px;border-radius:8px;padding:0 7px;font-size:9px}
  .text-viewer-modal{padding:8px}
  .text-viewer-card{width:calc(100vw - 16px);height:calc(100dvh - 16px);border-radius:15px;padding:12px;gap:10px}
  .text-viewer-head h2{font-size:18px}
  .text-viewer-head p{font-size:10px}
  .text-viewer-code{font-size:11px;border-radius:12px}
  .text-viewer-code code{padding:12px;min-width:max-content}
  .quick-reactions{left:auto;right:0;top:0;gap:3px;padding:3px;border-radius:12px;transform:translateY(-8px) scale(.98)}
  .message:hover .quick-reactions,.quick-reactions:focus-within{transform:translateY(-12px) scale(1)}
  .quick-reactions button{width:26px;height:26px;border-radius:9px;font-size:13px}
  .composer{padding:8px}
  .compose-row{grid-template-columns:minmax(0,1fr) auto auto}
  .reply-preview{padding:7px 8px;border-radius:12px;font-size:10.5px}
  .reply-preview em{max-width:38vw}
  .message-reply{font-size:10.5px;margin-bottom:6px}
  .message-reply b{font-size:10.5px;max-width:92px}
  .message-reply::before{width:14px;height:10px}
  .composer textarea#messageInput{height:42px;min-height:42px;max-height:112px;font-size:12px}
  .attach-btn,.send-btn{height:42px}
  .attach-btn{padding:7px 8px;font-size:10px;border-radius:10px}
  .send-btn{width:42px;border-radius:10px;font-size:18px}
  .composer-error{font-size:10px;min-height:12px}
  .members-head{margin-bottom:10px}
  .members-head h2,.dm-panel-head h2{font-size:16px}
  .member-count{min-width:26px;height:26px;border-radius:9px;font-size:11px}
  .member-groups{gap:9px}
  .member-label{font-size:8.5px;letter-spacing:.1em;margin-bottom:6px}
  .member-list{gap:6px}
  .member-item,.dm-rail-contact{grid-template-columns:28px minmax(0,1fr);gap:6px;padding:6px;border-radius:10px}
  .member-avatar,.dm-rail-contact .member-avatar{width:28px;height:28px;min-width:28px;border-radius:9px}
  .member-avatar::after{right:1px;bottom:1px;width:8px;height:8px;border-width:1px}
  .member-item b,.dm-rail-contact b{font-size:10.5px}
  .member-item span,.dm-rail-contact span{font-size:8.5px}
  .role-member-label b{min-width:20px;height:20px;border-radius:7px;font-size:9px}
  .dm-panel-head{margin-bottom:8px}
  .user-edit-grid,.user-edit-stats,.user-edit-password{grid-template-columns:1fr}
  .profile-modal,.photo-crop-modal{place-items:start center;align-items:start;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:12px}
  .profile-card,.photo-crop-card{max-height:calc(100dvh - 24px);overflow-y:auto;-webkit-overflow-scrolling:touch;border-radius:18px;padding:18px}
  .profile-head h2{font-size:24px}
  .profile-photo-row{grid-template-columns:1fr;gap:12px}
  .profile-password-grid{grid-template-columns:1fr}
  .profile-actions{position:sticky;bottom:-18px;margin:0 -18px -18px;padding:12px 18px;background:linear-gradient(180deg,rgba(8,11,22,.82),rgba(8,11,22,.98));border-top:1px solid var(--line)}
  .onboarding-grid{grid-template-columns:1fr}
}

/* ---------- KopLabs minimal market portal theme ---------- */
:root{
  --bg:#07050F;
  --bg2:#121119;
  --panel:rgba(8,14,28,.9);
  --panel2:rgba(255,255,255,.035);
  --line:rgba(126,161,216,.14);
  --line2:rgba(96,223,255,.34);
  --txt:#f5f8ff;
  --muted:#8f9bb2;
  --gold:#63e6ff;
  --gold2:#5977ff;
  --green:#54f6c9;
  --red:#ff5d72;
  --shadow:0 24px 90px rgba(0,0,0,.42);
}
body{
  background:
    radial-gradient(ellipse 80% 44% at 78% 12%,rgba(73,114,255,.14),transparent 68%),
    radial-gradient(ellipse 62% 42% at 12% 0%,rgba(84,246,201,.12),transparent 66%),
    linear-gradient(180deg,#07050F 0%,#060914 55%,#07050F 100%);
}
.bg{
  background:
    radial-gradient(circle at 18% 8%,rgba(84,246,201,.14),transparent 30%),
    radial-gradient(circle at 84% 14%,rgba(73,114,255,.18),transparent 34%),
    linear-gradient(180deg,#07050F,#07050F);
}
.o1,.o2{display:none}
.auth-card,.panel-card,.user-card,.chat-panel,.sidebar,.admin-panel,.members-panel,.dm-panel,.profile-card,.onboarding-card,.long-message-card,.text-viewer-card,.photo-crop-card{
  border-color:rgba(126,161,216,.14)!important;
  background:linear-gradient(180deg,rgba(12,20,38,.88),rgba(6,10,22,.9))!important;
  box-shadow:0 24px 90px rgba(0,0,0,.38),inset 0 1px 0 rgba(255,255,255,.035)!important;
}
.logo-mark,.mini-avatar,.member-avatar,.avatar,.file-icon,.edit-icon{
  border-color:rgba(96,223,255,.22)!important;
  background:linear-gradient(135deg,rgba(99,230,255,.2),rgba(89,119,255,.18))!important;
  color:#dff9ff!important;
}
.primary,.locked-upgrade,.trial-message-cta,.trial-message-gate a,.admin-open{
  background:linear-gradient(135deg,#65e8ff 0%,#6b7dff 100%)!important;
  color:#06101d!important;
  border-color:rgba(160,238,255,.55)!important;
  box-shadow:0 18px 62px rgba(74,124,255,.22)!important;
}
.tab.active,.admin-tab.active,.channel-editor-tab.active{
  background:rgba(96,223,255,.09)!important;
  border-color:rgba(96,223,255,.3)!important;
  color:#8ff5ff!important;
}
.channel-btn.active,.direct-open.active,.channel-btn.has-new-message,.direct-open.has-new-message{
  background:rgba(96,223,255,.08)!important;
  border-color:rgba(96,223,255,.24)!important;
  color:#8ff5ff!important;
}
.channel-btn.active .channel-title,.channel-btn.has-new-message .channel-title,.message-presence.new,.direct-open.has-new-message span{
  color:#8ff5ff!important;
  text-shadow:0 0 18px rgba(96,223,255,.24)!important;
}
.channel-btn.locked:hover,.channel-btn.locked-preview{
  background:rgba(96,223,255,.055)!important;
  border-color:rgba(96,223,255,.18)!important;
}
.panel-toggle,.auth-upgrade-link,.auth-help-link,.back-link:hover,.message-reply b,.tv-request-row b,.user-edit-stat b,.user-edit-password b,.message-edit-time span,.long-message-stats,.file-icon,.typing-dots i{
  color:#8ff5ff!important;
}
.msg-meta .user-owner-name,
.msg-meta .user-quantcreator-name{
  color:transparent!important;
}
.channel-kicker,.tv-section-title,.trial-message-gate span{
  color:#54f6c9!important;
}
.msg-box,.reply-preview,.attachment-chip,.text-attachment,.slash-menu,.message-menu,.member-item,.dm-rail-contact,.start-guide-room{
  border-color:rgba(126,161,216,.13)!important;
  background:rgba(255,255,255,.035)!important;
}
.message:hover .msg-box,.message.reply-flash .msg-box{
  border-color:rgba(96,223,255,.26)!important;
  background:rgba(96,223,255,.055)!important;
  box-shadow:none!important;
}
.composer.sending::before{
  background:linear-gradient(90deg,transparent,rgba(96,223,255,.12),rgba(84,246,201,.1),transparent)!important;
}
.composer.sending input,.composer.sending textarea,.chat-panel.drag-over{
  border-color:rgba(96,223,255,.4)!important;
  box-shadow:0 0 0 3px rgba(96,223,255,.07)!important;
}
input,textarea,select,.composer textarea#messageInput{
  background:rgba(255,255,255,.04)!important;
  border-color:rgba(126,161,216,.14)!important;
}
input:focus,textarea:focus,select:focus{
  border-color:rgba(96,223,255,.38)!important;
  box-shadow:0 0 0 3px rgba(96,223,255,.07)!important;
}
.member-count,.direct-open strong{
  background:rgba(96,223,255,.09)!important;
  border-color:rgba(96,223,255,.24)!important;
  color:#8ff5ff!important;
}
.role-founder,.owner-name,.role-founder-label{
  color:#f5d96f!important;
  text-shadow:0 0 22px rgba(245,217,111,.26)!important;
}
.quantcreator-animated,.role-quantcreator,.role-quantcreator-label{
  color:#8fefff!important;
  text-shadow:0 0 22px rgba(96,223,255,.28)!important;
}
*{
  scrollbar-color:rgba(148,155,164,.62) transparent;
}
*::-webkit-scrollbar-thumb{
  background:rgba(148,155,164,.62)!important;
  border-color:transparent!important;
  background-clip:content-box!important;
}
*::-webkit-scrollbar-thumb:hover{
  background:rgba(184,190,201,.78)!important;
  border-color:transparent!important;
  background-clip:content-box!important;
}
*::-webkit-scrollbar-track{
  background:transparent!important;
}
*::-webkit-scrollbar-button{
  display:none!important;
  width:0!important;
  height:0!important;
}

/* ---------- Split login experience ---------- */
.auth-shell{
  width:100%;
  max-width:none;
  min-height:100vh;
  margin:0;
  padding:0;
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(420px,.92fr);
  gap:0;
  align-items:stretch;
  background:#070b14;
  overflow:hidden;
}
.auth-visual{
  position:relative;
  min-width:0;
  min-height:100vh;
  display:grid;
  place-items:center;
  padding:104px 7vw 64px;
  overflow:hidden;
  isolation:isolate;
  background:
    radial-gradient(circle at 22% 18%,rgba(26,44,78,.42),transparent 34%),
    linear-gradient(180deg,#06080d 0%,#080b12 52%,#05070b 100%);
}
.auth-visual::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-3;
  background-image:
    linear-gradient(rgba(129,174,230,.07) 1px,transparent 1px),
    linear-gradient(90deg,rgba(129,174,230,.07) 1px,transparent 1px);
  background-size:48px 48px;
  mask-image:linear-gradient(180deg,rgba(0,0,0,.8),rgba(0,0,0,.2));
}
.auth-visual::after{
  display:none;
}
.auth-visual-brand{
  position:absolute;
  top:34px;
  left:40px;
  display:flex;
  align-items:center;
  gap:11px;
  color:#f5f8ff;
  font-family:Archivo,sans-serif;
  font-size:22px;
  font-weight:900;
  letter-spacing:-.035em;
  text-decoration:none;
  z-index:3;
}
.auth-visual-brand .brand-logo{width:38px;height:38px;border-radius:8px;box-shadow:none;filter:none}
.login-marketing{
  width:min(100%,690px);
  position:relative;
  z-index:2;
}
.login-kicker{
  width:max-content;
  max-width:100%;
  display:flex;
  align-items:center;
  margin:0 0 18px;
  padding:9px 14px;
  border:1px solid rgba(99,230,255,.26);
  border-radius:999px;
  background:rgba(99,230,255,.08);
  color:#63e6ff;
  font:800 10px/1 JetBrains Mono,monospace;
  text-transform:uppercase;
  letter-spacing:.18em;
}
.login-marketing h1{
  max-width:640px;
  color:#f5f7fc;
  font:900 clamp(52px,6vw,88px)/.9 var(--qc-font-sans);
  letter-spacing:-.045em;
}
.login-marketing h1 span{
  display:block;
  color:#72a7ff;
}
.login-marketing p{
  max-width:590px;
  margin:24px 0 0;
  color:#a8b4c9;
  font-size:clamp(17px,1.35vw,21px);
  line-height:1.45;
  font-weight:500;
}
.login-route{
  display:grid;
  grid-template-columns:minmax(0,1fr) 36px minmax(0,1fr) 36px minmax(0,1fr);
  align-items:stretch;
  gap:0;
  margin-top:32px;
}
.login-route div{
  min-width:0;
  min-height:124px;
  padding:17px;
  border:1px solid rgba(115,148,199,.22);
  border-radius:8px;
  background:rgba(7,13,25,.76);
}
.login-route div:first-child{
  border-color:rgba(99,230,255,.34);
  background:linear-gradient(180deg,rgba(13,34,50,.86),rgba(7,13,25,.78));
}
.login-route i{
  align-self:center;
  height:1px;
  background:linear-gradient(90deg,rgba(99,230,255,.44),rgba(99,230,255,.05));
}
.login-route span{
  display:block;
  color:#63e6ff;
  font:800 11px/1 JetBrains Mono,monospace;
  letter-spacing:.08em;
}
.login-route b{
  display:block;
  margin-top:16px;
  color:#f3f7ff;
  font-size:16px;
  line-height:1.1;
}
.login-route small{
  display:block;
  margin-top:8px;
  color:#8b99b0;
  font-size:12px;
  line-height:1.35;
}
.login-result-preview{
  margin-top:24px;
  overflow:hidden;
  border:1px solid rgba(99,230,255,.22);
  border-radius:8px;
  background:#070b12;
}
.login-result-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:15px 18px;
  border-bottom:1px solid rgba(115,148,199,.12);
}
.login-result-head span{
  color:#63e6ff;
  font:800 10px/1 JetBrains Mono,monospace;
  text-transform:uppercase;
  letter-spacing:.14em;
}
.login-result-head b{
  color:#dce6f7;
  font-size:12px;
}
.login-mini-chart{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:720/260;
  padding:0 18px;
}
.login-mini-grid path{fill:none;stroke:rgba(142,176,226,.08);stroke-width:1}
.login-area{fill:url(#loginArea)}
.login-line{
  fill:none;
  stroke:url(#loginLine);
  stroke-width:5;
  stroke-linecap:round;
  stroke-linejoin:round;
  stroke-dasharray:950;
  stroke-dashoffset:950;
  animation:strategyTrace 2.1s .12s cubic-bezier(.2,.8,.2,1) forwards;
}
.login-dd-line{
  fill:none;
  stroke:#ff4364;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
  opacity:.78;
}
.login-chart-point{
  fill:#e7fff8;
  stroke:#54f6c9;
  stroke-width:5;
}
.login-result-metrics{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  border-top:1px solid rgba(115,148,199,.12);
}
.login-result-metrics div{
  min-width:0;
  padding:15px 16px;
  border-right:1px solid rgba(115,148,199,.12);
}
.login-result-metrics div:last-child{border-right:0}
.login-result-metrics span,
.login-result-metrics b{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.login-result-metrics span{
  color:#7f8da5;
  font:800 9px/1.2 JetBrains Mono,monospace;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.login-result-metrics b{
  margin-top:7px;
  color:#54f6c9;
  font-size:18px;
  letter-spacing:-.02em;
}
.login-result-metrics b.danger{color:#ff5e7f}
.login-trial-note{
  display:flex;
  align-items:center;
  gap:14px;
  margin-top:16px;
  padding:15px 16px;
  border:1px solid rgba(115,148,199,.18);
  border-radius:8px;
  background:rgba(7,13,25,.62);
}
.login-trial-note b{
  flex:0 0 auto;
  color:#f4f7ff;
  font-size:14px;
}
.login-trial-note span{
  color:#8e9cb5;
  font-size:13px;
  line-height:1.4;
}
.auth-orbit{
  position:absolute;
  z-index:-1;
  border:2px solid rgba(126,180,255,.28);
  transform:rotate(32deg);
  pointer-events:none;
}
.auth-orbit-one{width:62%;aspect-ratio:1;left:-17%;top:-20%;border-color:rgba(89,119,255,.42)}
.auth-orbit-two{width:46%;aspect-ratio:1;right:-14%;bottom:-18%;border-color:rgba(84,246,201,.28);transform:rotate(-18deg)}
.strategy-lab{
  width:min(100%,650px);
  position:relative;
  z-index:2;
}
.strategy-lab-kicker{
  display:flex;
  align-items:center;
  gap:8px;
  margin:0 0 12px 4px;
  color:#a9b9d2;
  font:700 11px/1 JetBrains Mono,monospace;
  text-transform:uppercase;
  letter-spacing:0;
}
.strategy-lab-kicker span{width:7px;height:7px;border-radius:50%;background:#54f6c9;box-shadow:0 0 18px rgba(84,246,201,.7)}
.strategy-prompt,
.strategy-command{
  min-height:66px;
  display:flex;
  align-items:center;
  border:1px solid rgba(151,192,255,.23);
  background:rgba(9,18,40,.72);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 22px 70px rgba(0,0,0,.2);
  backdrop-filter:blur(14px);
}
.strategy-prompt{
  margin-bottom:12px;
  padding:0 24px;
  border-radius:8px;
  color:#eaf4ff;
  font-size:clamp(17px,1.45vw,22px);
  font-weight:600;
}
.strategy-result{
  overflow:hidden;
  border:1px solid rgba(99,230,255,.34);
  border-radius:8px;
  background:linear-gradient(180deg,rgba(13,29,61,.9),rgba(6,15,35,.94));
  box-shadow:0 30px 90px rgba(0,0,0,.35),0 0 48px rgba(62,151,222,.09);
}
.strategy-result-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:18px 20px 12px;
}
.strategy-result-head>div{display:flex;align-items:center;gap:11px;min-width:0}
.strategy-result-head b{display:block;font:800 16px/1.2 Archivo,sans-serif;letter-spacing:0}
.strategy-result-head small{display:block;margin-top:4px;color:#8e9cb5;font-size:11px}
.strategy-symbol{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  flex:0 0 auto;
  border:1px solid rgba(99,230,255,.25);
  border-radius:8px;
  background:rgba(99,230,255,.1);
  color:#8ff5ff;
  font:800 11px/1 JetBrains Mono,monospace;
}
.strategy-status{
  color:#54f6c9;
  font:800 10px/1 JetBrains Mono,monospace;
  letter-spacing:0;
}
.strategy-chart{display:block;width:100%;height:auto;aspect-ratio:720/260;padding:0 18px}
.strategy-chart-grid path{fill:none;stroke:rgba(142,176,226,.09);stroke-width:1}
.strategy-chart-area{fill:url(#strategyArea)}
.strategy-chart-line{fill:none;stroke:url(#strategyLine);stroke-width:5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:950;stroke-dashoffset:950;animation:strategyTrace 2.2s .15s cubic-bezier(.2,.8,.2,1) forwards}
.strategy-chart-point{fill:#e7fff8;stroke:#54f6c9;stroke-width:5;filter:drop-shadow(0 0 10px rgba(84,246,201,.8))}
.strategy-metrics{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  border-top:1px solid rgba(126,161,216,.15);
}
.strategy-metrics div{min-width:0;padding:15px 14px;border-right:1px solid rgba(126,161,216,.13)}
.strategy-metrics div:last-child{border-right:0}
.strategy-metrics span,.strategy-metrics b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.strategy-metrics span{color:#7f8da5;font:700 9px/1.2 JetBrains Mono,monospace;text-transform:uppercase}
.strategy-metrics b{margin-top:6px;color:#dff8ff;font-size:11px}
.strategy-command{
  justify-content:space-between;
  gap:20px;
  min-height:58px;
  margin-top:12px;
  padding:0 18px 0 20px;
  border-radius:8px;
  color:#8998af;
  font-size:14px;
}
.strategy-command b{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  flex:0 0 auto;
  border-radius:8px;
  background:linear-gradient(135deg,#63e6ff,#5977ff);
  color:#07111f;
}
.auth-side{
  position:relative;
  min-width:0;
  min-height:100vh;
  display:grid;
  place-items:center;
  padding:56px clamp(34px,6vw,96px);
  overflow-x:hidden;
  overflow-y:auto;
  background:#090d17;
}
.auth-close{
  position:absolute;
  top:25px;
  right:28px;
  z-index:2;
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border:1px solid transparent;
  border-radius:8px;
  color:#8e99ad;
  font-size:24px;
  line-height:1;
  text-decoration:none;
  transition:color .18s,border-color .18s,background .18s;
}
.auth-close:hover{border-color:rgba(126,161,216,.2);background:rgba(255,255,255,.035);color:#fff}
.auth-side .auth-card{
  width:min(100%,400px);
  margin:0;
  padding:0;
  border:0!important;
  border-radius:0;
  background:transparent!important;
  box-shadow:none!important;
  backdrop-filter:none;
}
.auth-side .auth-form{gap:12px}
.auth-form-brand{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin-bottom:10px;
  color:#f4f8ff;
  font:900 21px/.95 Archivo,sans-serif;
  letter-spacing:-.035em;
}
.auth-form-brand .brand-logo{width:38px;height:38px;border-radius:8px}
.auth-form-heading{text-align:center;margin-bottom:6px}
.auth-form-heading h1{
  color:#f6f8fc;
  font:800 clamp(24px,2.2vw,31px)/1.12 Archivo,sans-serif;
  letter-spacing:0;
}
.auth-form-heading p{max-width:330px;margin:8px auto 0;color:#8895aa;font-size:13px;line-height:1.5}
.auth-side .auth-form label{gap:6px;color:#aeb8c9;font-size:11px;font-weight:700}
.auth-side .auth-form input{
  min-height:46px;
  border-radius:8px;
  background:#0c111d!important;
  border-color:rgba(139,164,206,.19)!important;
  padding:0 14px;
  color:#f4f7fc;
}
.auth-side .auth-form input:focus{border-color:rgba(99,230,255,.46)!important;box-shadow:0 0 0 3px rgba(99,230,255,.07)!important}
.auth-side .primary{
  min-height:46px;
  border-radius:8px;
  padding:0 18px;
  box-shadow:0 12px 36px rgba(73,126,255,.18)!important;
}
.auth-side .google-auth-button{
  min-height:46px;
  border-radius:8px;
  border-color:rgba(139,164,206,.2);
  background:#0c111d;
  color:#e7edf8;
  box-shadow:none;
}
.auth-side .google-auth-button:hover{border-color:rgba(99,230,255,.38);background:#101725;box-shadow:none}
.auth-side .auth-divider{margin:2px 0;color:#69768b;font-size:9px;letter-spacing:0}
.auth-card.is-loading .auth-form{opacity:.72;filter:saturate(.86)}
.auth-card.is-loading .auth-form input{cursor:wait}
.auth-loading-status{
  display:grid;
  gap:10px;
  margin-top:16px;
  padding:13px 14px;
  border:1px solid rgba(99,230,255,.2);
  border-radius:12px;
  background:linear-gradient(180deg,rgba(10,19,34,.96),rgba(7,13,25,.94));
  box-shadow:0 14px 34px rgba(0,0,0,.24),0 0 26px rgba(62,211,255,.08);
}
.auth-loading-status.hidden{display:none}
.auth-loading-bar{
  position:relative;
  height:5px;
  overflow:hidden;
  border-radius:999px;
  background:rgba(126,161,216,.14);
}
.auth-loading-bar span{
  position:absolute;
  inset:0 auto 0 0;
  width:44%;
  border-radius:inherit;
  background:linear-gradient(90deg,#5fd3ff,#6d82ff,#54f6c9);
  box-shadow:0 0 18px rgba(95,211,255,.45);
  animation:authLoadingSlide 1.05s ease-in-out infinite;
}
.auth-loading-copy{display:grid;gap:3px}
.auth-loading-copy b{color:#f3f7ff;font-size:12px;font-weight:900}
.auth-loading-copy small{color:#8290a6;font-size:11px;line-height:1.35}
@keyframes authLoadingSlide{
  0%{transform:translateX(-108%)}
  50%{transform:translateX(86%)}
  100%{transform:translateX(230%)}
}
.auth-side .auth-help-link{align-self:flex-end;margin-top:-2px;color:#63e6ff!important;font-size:11px;font-weight:700}
.auth-account-link{margin-top:5px;text-align:center;color:#7f8ba0;font-size:11px}
.auth-account-link a{color:#63e6ff;font-weight:700;text-decoration:none}
.auth-account-link a:hover,.auth-side .auth-help-link:hover{color:#fff!important}
.auth-side .reset-title{text-align:center;font-size:25px;letter-spacing:0}
.auth-side .reset-form .back-link{align-self:center;margin-top:0}
.auth-side .reset-form .auth-help-link{align-self:center}
.auth-side .error{text-align:center;margin-top:13px}
@keyframes strategyTrace{to{stroke-dashoffset:0}}

@media(max-width:1080px){
  .auth-shell{grid-template-columns:minmax(0,1fr) minmax(390px,.9fr)}
  .auth-visual{padding-left:5vw;padding-right:5vw}
  .login-marketing h1{font-size:clamp(46px,6vw,68px)}
  .login-route{grid-template-columns:1fr;gap:10px}
  .login-route i{display:none}
  .login-route div{min-height:auto}
  .login-result-metrics{grid-template-columns:1fr}
  .login-result-metrics div{border-right:0;border-bottom:1px solid rgba(115,148,199,.12)}
  .login-result-metrics div:last-child{border-bottom:0}
  .login-trial-note{align-items:flex-start;flex-direction:column;gap:6px}
  .strategy-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
  .strategy-metrics div:nth-child(2){border-right:0}
  .strategy-metrics div:nth-child(-n+2){border-bottom:1px solid rgba(126,161,216,.13)}
}
@media(max-width:760px){
  html,body{overflow-x:hidden;overflow-y:auto}
  .auth-shell{display:block;min-height:100dvh;overflow:visible;background:#090d17}
  .auth-visual{display:none}
  .auth-side{min-height:100dvh;padding:72px 22px 44px;place-items:start center;overflow:visible}
  .auth-close{top:18px;right:18px}
  .auth-side .auth-card{width:min(100%,420px)}
  .auth-form-heading h1{font-size:28px}
}
@media(max-width:420px){
  .auth-side{padding-left:18px;padding-right:18px}
  .auth-side .auth-form{gap:11px}
}
@media(prefers-reduced-motion:reduce){
  .strategy-chart-line,.login-line{animation:none;stroke-dashoffset:0}
}

/* Quant workspace */
.workspace-panel{display:none;min-width:0;min-height:0;overflow:hidden}
.dashboard.workspace-mode{
  --channels-width:310px;
  height:100dvh;
  grid-template-columns:252px minmax(0,1fr);
  gap:10px;
  padding:10px;
  background:#050a13;
}
.dashboard.workspace-mode .workspace-panel{
  display:flex;
  flex-direction:column;
  border:1px solid rgba(115,148,199,.16);
  border-radius:8px;
  background:#07101e;
  box-shadow:0 22px 64px rgba(0,0,0,.28);
}
.dashboard.workspace-mode .dm-panel,
.dashboard.workspace-mode .chat-panel,
.dashboard.workspace-mode .members-panel{display:none!important}
.dashboard.workspace-mode .sidebar{
  border-radius:8px;
  padding:12px;
  border-color:rgba(115,148,199,.16);
  background:#080f1c;
  box-shadow:0 22px 64px rgba(0,0,0,.22);
}
.dashboard.workspace-mode.channels-collapsed{
  grid-template-columns:252px minmax(0,1fr);
}
.dashboard.workspace-mode.channels-collapsed .sidebar{
  transform:none;
  opacity:1;
  pointer-events:auto;
  padding:12px;
  border-color:rgba(115,148,199,.16);
}
.dashboard.workspace-mode .side-top{margin-bottom:9px;padding:2px 4px 8px}
.dashboard.workspace-mode .side-top .brand{font-size:21px;color:#f6f9ff}
.dashboard.workspace-mode .side-top .brand-logo{width:32px;height:32px;border-radius:8px}
.portal-nav{display:grid;gap:4px;padding:3px 0 12px;border-bottom:1px solid rgba(115,148,199,.12)}
.portal-nav-item{
  width:100%;
  min-height:42px;
  display:grid;
  grid-template-columns:30px minmax(0,1fr) auto;
  align-items:center;
  gap:9px;
  padding:6px 8px;
  border:1px solid transparent;
  border-radius:7px;
  background:transparent;
  color:#98a8bf;
  text-align:left;
  text-decoration:none;
  font:800 12px/1.2 Archivo,sans-serif;
  transition:background .18s,border-color .18s,color .18s,transform .18s;
}
.portal-nav-item:hover{background:#0d192a;border-color:rgba(111,172,255,.13);color:#eaf2ff;transform:translateX(2px)}
.portal-nav-item.active{background:#10243b;border-color:rgba(69,203,255,.24);color:#f6fbff;box-shadow:inset 3px 0 0 #37d5ff}
.portal-nav-icon{
  width:28px;
  height:28px;
  display:grid;
  place-items:center;
  border:1px solid rgba(115,148,199,.17);
  border-radius:6px;
  background:#0a1423;
  color:#6ddfff;
  font-family:"Segoe UI Emoji","Apple Color Emoji","Noto Color Emoji",sans-serif;
  font-size:15px;
  font-weight:400;
  line-height:1;
}
.portal-nav-item.active .portal-nav-icon{border-color:rgba(55,213,255,.38);background:#0a2637;color:#bcf5ff}
.portal-nav-lock{
  min-width:26px;
  padding:4px 5px;
  border:1px solid rgba(255,199,75,.22);
  border-radius:5px;
  background:rgba(255,199,75,.08);
  color:#ffd46c;
  font:900 8px/1 "JetBrains Mono",monospace;
  text-align:center;
  font-style:normal;
}
.portal-community-label{margin-top:12px}
.dashboard.workspace-mode .portal-nav{border-bottom:0;padding-bottom:0}
.dashboard.workspace-mode .portal-community-label,
.dashboard.workspace-mode .direct-open,
.dashboard.workspace-mode .side-section{display:none!important}
.dashboard.workspace-mode .sidebar-spacer{flex:1 1 auto;min-height:0}
.dashboard.workspace-mode .direct-open{margin-bottom:7px}
.dashboard.workspace-mode .channels{gap:4px}
.dashboard.workspace-mode .channel-btn{border-radius:7px;padding:8px 9px;font-size:11px}
.dashboard.workspace-mode .channel-btn span{font-size:9px}
.dashboard.workspace-mode .channel-category-label{font-size:9px}
.dashboard.workspace-mode .admin-open,
.dashboard.workspace-mode .trial-upgrade-cta{border-radius:14px}
.dashboard.workspace-mode .user-card.compact{border-radius:7px;background:#0c1626}
.account-menu-wrap{position:relative;z-index:34}
.account-menu-toggle{
  width:100%;
  color:var(--txt);
  text-align:left;
  cursor:pointer;
  font:inherit;
}
.account-menu-toggle:hover,.account-menu-toggle[aria-expanded="true"]{
  border-color:rgba(75,211,255,.28);
  background:#101c2d!important;
  box-shadow:0 10px 28px rgba(0,0,0,.28);
}
.account-menu-toggle .user-main{min-width:0;flex:1}
.account-menu-toggle .user-name-row{display:flex;align-items:center;justify-content:space-between;gap:8px}
.account-menu-toggle small{
  display:block;
  margin-top:3px;
  overflow:hidden;
  color:#7f8da2;
  font-size:9px;
  line-height:1.2;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.account-menu-chevron{color:#8190a6;font-size:13px;line-height:1;transform:translateY(2px) rotate(180deg);transition:transform .18s,color .18s}
.account-menu-toggle[aria-expanded="true"] .account-menu-chevron{color:#64e2ff;transform:translateY(-1px)}
.account-menu{
  position:absolute;
  left:0;
  right:0;
  bottom:calc(100% + 9px);
  z-index:40;
  display:grid;
  gap:3px;
  padding:8px;
  border:1px solid rgba(122,161,215,.2);
  border-radius:8px;
  background:#101318;
  box-shadow:0 20px 60px rgba(0,0,0,.52);
}
.account-menu-label{
  padding:7px 9px 5px;
  color:#738198;
  font:800 9px/1 "JetBrains Mono",monospace;
  letter-spacing:.11em;
  text-transform:uppercase;
}
.account-menu button{
  width:100%;
  min-height:36px;
  display:grid;
  grid-template-columns:26px minmax(0,1fr);
  align-items:center;
  gap:8px;
  padding:6px 9px;
  border:0;
  border-radius:6px;
  background:transparent;
  color:#e8edf5;
  text-align:left;
  font:700 11px/1.2 Archivo,sans-serif;
  cursor:pointer;
}
.account-menu button span{
  width:24px;
  height:24px;
  display:grid;
  place-items:center;
  color:#aeb9c9;
  font:800 9px/1 "JetBrains Mono",monospace;
}
.account-menu button:hover{background:#202329;color:#fff}
.account-menu button:hover span{color:#61ddff}
.account-menu-divider{height:1px;margin:4px 2px;background:rgba(132,159,199,.14)}
.account-menu .account-menu-logout{color:#ff9cab}
.account-menu.hidden{display:none!important}
@media(max-width:760px){
  .account-menu{left:0;right:auto;width:220px;max-width:calc(100vw - 24px)}
  .account-menu-toggle small{display:none}
  .dashboard.workspace-mode .account-menu-toggle .user-main{display:none}
}

.workspace-head{
  min-height:86px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:17px 20px;
  border-bottom:1px solid rgba(115,148,199,.13);
  background:#080f1c;
}
.workspace-head>div:first-child{min-width:0}
.workspace-kicker,.workspace-card-kicker{
  display:block;
  color:#48dcff;
  font:900 9px/1.2 "JetBrains Mono",monospace;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.workspace-head h1{margin:5px 0 4px;color:#f5f8ff;font:800 25px/1.08 Archivo,sans-serif;letter-spacing:0}
.workspace-head p{max-width:680px;margin:0;color:#7f91aa;font-size:12px;line-height:1.45}
.workspace-head-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.workspace-access-badge{
  min-height:31px;
  display:inline-flex;
  align-items:center;
  padding:0 10px;
  border:1px solid rgba(64,216,255,.22);
  border-radius:6px;
  background:#0a2031;
  color:#8cecff;
  font:900 9px/1 "JetBrains Mono",monospace;
  text-transform:uppercase;
}
.workspace-secondary-btn,.workspace-text-action{
  border:1px solid rgba(115,148,199,.19);
  border-radius:6px;
  background:#101a2b;
  color:#e7eefb;
  font-weight:800;
}
.workspace-secondary-btn{min-height:34px;padding:0 12px;font-size:11px}
.workspace-secondary-btn:hover,.workspace-text-action:hover{border-color:rgba(77,205,255,.38);background:#13233a;color:#fff}
.workspace-content{
  min-height:0;
  flex:1 1 auto;
  overflow-y:auto;
  overflow-x:hidden;
  padding:18px;
  background:
    linear-gradient(rgba(70,115,176,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(70,115,176,.035) 1px,transparent 1px),
    #07101e;
  background-size:40px 40px;
  scrollbar-color:rgba(148,155,164,.62) transparent;
}
.workspace-content::-webkit-scrollbar{width:9px}
.workspace-content::-webkit-scrollbar-track{background:transparent}
.workspace-content::-webkit-scrollbar-thumb{border:2px solid transparent;border-radius:999px;background:rgba(148,155,164,.62);background-clip:content-box}
.workspace-notice{
  margin-bottom:12px;
  padding:10px 12px;
  border:1px solid rgba(46,216,255,.25);
  border-radius:6px;
  background:#0a2533;
  color:#bbf5ff;
  font-size:11px;
  font-weight:800;
}
.workspace-dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:14px;align-items:start}
.strategy-feature,.workspace-quick-card,.strategy-card,.workspace-upgrade{
  border:1px solid rgba(115,148,199,.16);
  border-radius:8px;
  background:#0a1322;
  box-shadow:0 14px 40px rgba(0,0,0,.16);
}
.strategy-feature{min-width:0;padding:17px;overflow:hidden}
.strategy-feature-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.strategy-feature-head>div:first-child{min-width:0}
.strategy-live-pill,.strategy-status{
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:#54e5a5;
  font:900 9px/1 "JetBrains Mono",monospace;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.strategy-live-pill i,.strategy-status i,.live-dot{
  width:7px;
  height:7px;
  flex:0 0 auto;
  border-radius:50%;
  background:#28e39b;
  box-shadow:0 0 0 4px rgba(40,227,155,.09),0 0 14px rgba(40,227,155,.5);
}
.strategy-status.research{color:#75b9ff}
.strategy-status.research i{background:#5ca8ff;box-shadow:0 0 0 4px rgba(92,168,255,.09)}
.strategy-status.paused{color:#a1adbf}
.strategy-status.paused i{background:#6e7a8d;box-shadow:none}
.strategy-feature h2{margin:8px 0 6px;color:#f5f8ff;font:800 22px/1.15 Archivo,sans-serif;letter-spacing:0}
.strategy-feature p{max-width:650px;margin:0;color:#8d9db3;font-size:12px;line-height:1.55}
.strategy-feature-meta{display:flex;gap:6px;flex:0 0 auto}
.strategy-feature-meta span,.strategy-tags span,.strategy-admin-meta span{
  display:inline-flex;
  align-items:center;
  min-height:24px;
  padding:0 8px;
  border:1px solid rgba(115,148,199,.16);
  border-radius:5px;
  background:#0c192a;
  color:#9fb1c9;
  font:800 8px/1 "JetBrains Mono",monospace;
  text-transform:uppercase;
}
.strategy-feature-body{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(200px,.65fr);gap:12px;margin-top:15px}
.strategy-hero-chart,.strategy-card-chart,.strategy-admin-preview{
  position:relative;
  min-width:0;
  overflow:hidden;
  border:1px solid rgba(54,206,255,.13);
  border-radius:7px;
  background:#06111d;
}
.strategy-hero-chart{height:230px}
.strategy-sparkline{width:100%;height:100%;display:block}
.strategy-area{fill:rgba(35,211,255,.08)}
.strategy-line{fill:none;stroke:#34ddff;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 8px rgba(52,221,255,.3))}
.strategy-point{fill:#3de9ff;stroke:#c9faff;stroke-width:3;filter:drop-shadow(0 0 7px rgba(61,233,255,.7))}
.strategy-stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.strategy-stat{
  min-height:108px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:13px;
  border:1px solid rgba(115,148,199,.14);
  border-radius:7px;
  background:#0c1728;
}
.strategy-stat span{color:#72859f;font-size:9px;text-transform:uppercase;letter-spacing:.07em}
.strategy-stat b{margin-top:8px;color:#f2f7ff;font:800 21px/1 Archivo,sans-serif}
.blurred{filter:blur(6px);user-select:none;pointer-events:none;opacity:.48}
.strategy-feature-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}
.strategy-feature-foot>div{display:flex;align-items:center;gap:8px;color:#9eb0c8;font-size:10px}
.strategy-feature-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.strategy-action{
  min-height:36px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 14px;
  border:1px solid rgba(62,211,255,.3);
  border-radius:6px;
  background:#1d9bd0;
  color:#04101b;
  font-size:10px;
  font-weight:900;
  text-decoration:none;
  transition:transform .18s,background .18s,border-color .18s,color .18s;
}
.strategy-action:hover{transform:translateY(-1px);background:#53dcff;border-color:#7de7ff;color:#03101b}
.strategy-action.wide{width:100%;margin-top:12px}
.strategy-action.locked{background:#152238;border-color:rgba(123,157,210,.2);color:#b9c7da}
.strategy-action.copied{background:#0c443f;border-color:rgba(47,227,165,.32);color:#8ef2cf}
.strategy-action.muted{background:#121b2a;color:#6f7f95;cursor:not-allowed}
.strategy-action.strategy-download{background:#101a2b;border-color:rgba(108,225,255,.28);color:#d8f7ff}
.strategy-action.strategy-download:hover{background:#18243a;border-color:#6ce1ff;color:#fff}
button.strategy-action{font-family:inherit}
.expert-risk-modal{position:fixed;inset:0;z-index:260;display:grid;place-items:center;padding:20px;background:rgba(0,0,0,.58);backdrop-filter:blur(12px)}
.expert-risk-modal.hidden{display:none}
.expert-risk-card{width:min(560px,calc(100vw - 28px));border:1px solid rgba(108,225,255,.18);border-radius:14px;background:linear-gradient(145deg,rgba(18,19,29,.98),rgba(7,8,14,.98));box-shadow:0 26px 100px rgba(0,0,0,.62);padding:18px;color:var(--txt,#eef2ff);display:grid;gap:13px}
.expert-risk-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.expert-risk-kicker{display:block;color:#34d4ee;font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.expert-risk-title{margin:4px 0 0;font-size:20px;line-height:1.1}
.expert-risk-close{width:30px;height:30px;border:1px solid var(--line,rgba(255,255,255,.1));border-radius:8px;background:rgba(255,255,255,.04);color:var(--muted,#8f98aa);font-size:18px;line-height:1;cursor:pointer}
.expert-risk-close:hover{border-color:rgba(108,225,255,.32);color:#fff}
.expert-risk-file{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border:1px solid rgba(108,225,255,.14);border-radius:10px;background:rgba(8,16,28,.72);padding:10px 12px;color:#d8f7ff;font-size:12px;font-weight:800}
.expert-risk-copy{margin:0;color:#9da9bb;font-size:13px;line-height:1.45}
.expert-risk-list{margin:0;padding-left:18px;color:#aeb8c8;font-size:12px;line-height:1.55}
.expert-risk-list li{margin:4px 0}
.expert-risk-check{display:flex;align-items:flex-start;gap:10px;border:1px solid rgba(255,255,255,.08);border-radius:10px;background:rgba(255,255,255,.03);padding:10px 12px;color:#d7deea;font-size:12px;line-height:1.35}
.expert-risk-check input{margin-top:2px;accent-color:#1d9bd0}
.expert-risk-actions{display:flex;justify-content:flex-end;gap:10px}
.expert-risk-button{border:1px solid var(--line,rgba(255,255,255,.1));border-radius:8px;background:rgba(255,255,255,.04);color:#c4cedd;padding:10px 13px;font-size:11px;font-weight:900;cursor:pointer}
.expert-risk-button.primary{background:#1d9bd0;border-color:#56d9ff;color:#04101b}
.expert-risk-button.primary:disabled{opacity:.45;cursor:not-allowed}
.expert-risk-button:not(:disabled):hover{border-color:rgba(108,225,255,.42);color:#fff}
@media(max-width:640px){
  .expert-risk-modal{padding:14px}
  .expert-risk-card{padding:15px}
  .expert-risk-actions{display:grid;grid-template-columns:1fr}
  .expert-risk-button{width:100%}
}
.workspace-side-stack{display:grid;gap:10px}
.workspace-quick-card{min-height:150px;padding:15px}
.workspace-quick-card.accent{border-color:rgba(53,208,255,.2);background:#092032}
.workspace-quick-card h3{margin:9px 0 7px;color:#f2f6fd;font:800 17px/1.2 Archivo,sans-serif;letter-spacing:0}
.workspace-quick-card p{margin:0;color:#8496ae;font-size:11px;line-height:1.5}
.workspace-mini-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:14px}
.workspace-mini-stats div{padding:9px;border:1px solid rgba(115,148,199,.13);border-radius:6px;background:#081321}
.workspace-mini-stats b,.workspace-mini-stats span{display:block}
.workspace-mini-stats b{color:#6ce1ff;font:800 18px/1 Archivo,sans-serif}
.workspace-mini-stats span{margin-top:5px;color:#6f8098;font-size:8px;text-transform:uppercase}
.workspace-text-action{min-height:30px;margin-top:12px;padding:0 9px;font-size:9px}
.workspace-admin-shortcut{
  min-height:42px;
  padding:0 12px;
  border:1px dashed rgba(89,211,255,.25);
  border-radius:7px;
  background:rgba(14,43,65,.62);
  color:#7de6ff;
  font-size:10px;
  font-weight:900;
}
.workspace-admin-shortcut:hover{border-style:solid;background:#0e3047;color:#fff}
.workspace-section{margin-top:18px}
.workspace-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:10px}
.workspace-section-head h2{margin:5px 0 0;color:#f0f5fc;font:800 18px/1.2 Archivo,sans-serif;letter-spacing:0}
.workspace-section-head p{margin:5px 0 0;color:#778aa4;font-size:11px;line-height:1.5}
.workspace-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.strategy-card{min-width:0;padding:13px;overflow:hidden}
.strategy-card.is-locked{border-color:rgba(123,157,210,.13)}
.strategy-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.strategy-card h3{margin:7px 0 0;color:#edf3fc;font:800 14px/1.25 Archivo,sans-serif;letter-spacing:0;overflow-wrap:anywhere}
.strategy-card>p{min-height:50px;margin:8px 0 9px;color:#8294ab;font-size:10px;line-height:1.5}
.strategy-tier,.strategy-tier-label{
  flex:0 0 auto;
  padding:5px 7px;
  border:1px solid rgba(91,182,255,.2);
  border-radius:5px;
  background:#0c1f33;
  color:#7ed9ff;
  font:900 8px/1 "JetBrains Mono",monospace;
}
.strategy-tags{display:flex;gap:5px;margin-bottom:9px}
.strategy-card-chart{height:112px}
.strategy-card-chart-image{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.strategy-chart-locked{height:100%;display:grid;place-items:center;padding:14px;text-align:center;color:#66768b;font-size:9px}
.strategy-card-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin-top:8px}
.strategy-card-metrics div{min-width:0;padding:7px 5px;border:1px solid rgba(115,148,199,.12);border-radius:5px;background:#081321;text-align:center}
.strategy-card-metrics b,.strategy-card-metrics span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.strategy-card-metrics b{color:#eaf2fc;font-size:11px}
.strategy-card-metrics span{margin-top:4px;color:#667a94;font-size:7px;text-transform:uppercase}
.workspace-empty{
  min-height:180px;
  display:grid;
  place-content:center;
  grid-column:1/-1;
  padding:22px;
  border:1px dashed rgba(115,148,199,.18);
  border-radius:8px;
  color:#8496ae;
  text-align:center;
}
.workspace-empty h3{margin:0 0 6px;color:#eaf1fb}
.workspace-empty p{margin:0;font-size:11px}
.workspace-empty.compact{min-height:120px}
.workspace-filter{display:flex;gap:6px;margin-bottom:12px}
.workspace-filter button{min-height:32px;padding:0 11px;border:1px solid rgba(115,148,199,.15);border-radius:6px;background:#0a1423;color:#8395ad;font-size:9px;font-weight:900;text-transform:capitalize}
.workspace-filter button.active{border-color:rgba(54,214,255,.33);background:#0d2b40;color:#a5efff}
.library-section{margin-top:0}
.model-result-lab{
  margin-top:14px;
  padding:18px;
  border:1px solid rgba(72,205,255,.24);
  border-radius:14px;
  background:linear-gradient(180deg,rgba(9,22,38,.96),rgba(5,14,26,.98));
  box-shadow:0 18px 50px rgba(0,0,0,.2);
}
.model-result-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:14px}
.model-result-head h2{max-width:720px;margin:6px 0 6px;color:#f2f7ff;font:900 clamp(24px,3.2vw,46px)/.98 Archivo,sans-serif;letter-spacing:0}
.model-result-head p{max-width:760px;margin:0;color:#9aaac1;font-size:13px;line-height:1.55}
.model-risk-control{min-width:210px;padding:12px;border:1px solid rgba(111,151,213,.22);border-radius:10px;background:#081321}
.model-risk-control span,.model-risk-control b{display:block}
.model-risk-control span{color:#7b8da7;font-size:9px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.model-risk-control input{width:100%;margin:8px 0;padding:10px 12px;border:1px solid rgba(108,225,255,.28);border-radius:8px;background:#050d18;color:#eaf6ff;font:800 15px/1.2 Archivo,sans-serif}
.model-risk-control b{color:#61f0cf;font:900 18px/1 Archivo,sans-serif}
.model-result-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-bottom:12px}
.model-result-metrics div{min-width:0;padding:12px;border:1px solid rgba(111,151,213,.18);border-radius:9px;background:#07111f}
.model-result-metrics span,.model-result-metrics small{display:block;color:#7f91ab}
.model-result-metrics span{font-size:9px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.model-result-metrics b{display:block;margin:8px 0 4px;color:#f0f6ff;font:900 22px/1 Archivo,sans-serif}
.model-result-metrics div:first-child b,.model-result-metrics div:nth-child(2) b,.model-result-metrics div:nth-child(4) b{color:#34ead3}
.model-result-metrics small{font-size:10px;line-height:1.35}
.model-comparison-panel{overflow:hidden;border:1px solid rgba(154,171,204,.18);border-radius:10px;background:#111}
.model-comparison-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-bottom:1px solid rgba(255,255,255,.08);color:#f4f6fb}
.model-comparison-top b{display:block;font-size:13px}
.model-comparison-top span{color:#8e99aa;font-size:10px}
.model-chart-legend{display:flex;align-items:center;gap:8px;color:#c8d3e5;font-size:10px;font-weight:800}
.model-chart-legend span{width:18px;height:3px;border-radius:999px}
.model-chart-legend .quant{background:#64a8ff}
.model-chart-legend .premium{background:#00b8a6}
.model-comparison-svg{display:block;width:100%;height:auto;aspect-ratio:920/360;background:#101010}
.model-chart-grid line{stroke:rgba(255,255,255,.09);stroke-width:1}
.model-chart-area{fill:url(#modelPremiumFill)}
.model-chart-line{fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.model-chart-line.quant{stroke:#69a9ff;opacity:.9}
.model-chart-line.premium{stroke:#00b8a6}
.model-axis-label{fill:#e9eef7;font:800 12px Archivo,sans-serif;text-anchor:end}
.model-axis-label.muted{fill:#9ba3ae}
.model-funded-table{margin-top:12px;border:1px solid rgba(111,151,213,.2);border-radius:10px;background:#081725;overflow:hidden}
.model-downloads-panel{margin-top:12px;border:1px solid rgba(72,205,255,.24);border-radius:10px;background:linear-gradient(180deg,rgba(8,23,37,.96),rgba(5,13,24,.98));padding:14px}
.model-downloads-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:11px}
.model-downloads-head h3{margin:4px 0 0;color:#eaf3ff;font:900 15px/1.2 Archivo,sans-serif;letter-spacing:0}
.model-downloads-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(410px,1fr));gap:10px}
.model-download-file{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(190px,.42fr);align-items:center;gap:12px;padding:12px;border:1px solid rgba(111,151,213,.18);border-radius:9px;background:#07111f}
.model-download-file b,.model-download-file span{display:block}
.model-download-file b{color:#f0f7ff;font:900 13px/1.25 Archivo,sans-serif}
.model-download-file span{margin-top:5px;color:#8da0ba;font-size:10px;line-height:1.45}
.model-download-file .strategy-action{width:100%;min-height:40px}
.model-funded-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 14px;border-bottom:1px solid rgba(111,151,213,.18)}
.model-funded-head b,.model-funded-head span{display:block}
.model-funded-head b{color:#eaf3ff;font-size:13px}
.model-funded-head span{margin-top:4px;color:#9aaac1;font-size:11px}
.model-funded-head strong{color:#4bd9ff;font-size:12px}
.model-table-scroll{max-height:420px;overflow:auto}
.model-funded-table table{width:100%;border-collapse:collapse;font-size:11px}
.model-funded-table th,.model-funded-table td{padding:10px 12px;border-bottom:1px solid rgba(111,151,213,.14);text-align:left;white-space:nowrap}
.model-funded-table th{position:sticky;top:0;z-index:1;background:#0b1d31;color:#9bc9ff;font-size:9px;text-transform:uppercase;letter-spacing:.06em}
.model-funded-table td{color:#d7e4f7}
.model-funded-table tr.pass td{color:#22e0ad}
.model-funded-table tr.fail td{color:#ff6480}
.model-funded-table tr td:first-child{color:#e0edff}
.model-library-shell{padding:18px}
.model-library-split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:14px}
.model-access-panel{min-width:0;padding:14px;border:1px solid rgba(72,205,255,.22);border-radius:12px;background:#071525}
.model-access-head{display:grid;grid-template-columns:minmax(0,1fr) 170px;gap:12px;align-items:start}
.model-access-head h2{margin:6px 0 5px;color:#f2f7ff;font:900 24px/1.05 Archivo,sans-serif;letter-spacing:0}
.model-access-head p{margin:0;color:#90a3bb;font-size:11px;line-height:1.45}
.model-risk-control.compact{min-width:0;margin:0;padding:10px}
.model-risk-control.compact input{min-height:36px;padding:8px 10px}
.model-reader-line{margin:10px 0;color:#8fa3bd;font-size:11px}
.model-reader-line b{color:#eaf6ff}
.model-income-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:10px 0}
.model-income-grid div{padding:10px;border:1px solid rgba(111,151,213,.18);border-radius:8px;background:#07111f}
.model-income-grid span{display:block;color:#7f91ab;font-size:8px;font-weight:900;text-transform:uppercase}
.model-income-grid b{display:block;margin-top:6px;color:#2ff0c8;font-size:12px}
.model-income-grid b.negative{color:#ff6480}
.model-terminal-panel{overflow:hidden;border:1px solid rgba(154,171,204,.18);border-radius:10px;background:#101010}
.model-terminal-top{display:flex;justify-content:space-between;gap:10px;padding:10px 12px;border-bottom:1px solid rgba(255,255,255,.08);color:#f4f6fb}
.model-terminal-top b{display:block;font-size:12px}
.model-terminal-top span{color:#8e99aa;font-size:9px}
.model-terminal-legend{display:flex;align-items:center;gap:7px;color:#c8d3e5;font-size:9px;font-weight:800}
.model-terminal-legend span{width:18px;height:3px;border-radius:999px}
.model-terminal-legend .equity{background:#00b8a6}
.model-terminal-legend .drawdown{background:#ff3853}
.model-terminal-svg{display:block;width:100%;height:auto;background:#101010}
.model-terminal-chart-image{display:block;width:100%;height:auto;background:#fff}
.model-terminal-grid line{stroke:rgba(255,255,255,.08);stroke-width:1}
.model-terminal-area{fill:rgba(0,184,166,.12)}
.model-terminal-line{fill:none;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.model-terminal-line.equity{stroke:#00b8a6}
.model-terminal-line.drawdown{stroke:#ff3853}
.model-zero-line{stroke:rgba(255,255,255,.45);stroke-width:1}
.model-terminal-pill{fill:#fff;font:900 12px Archivo,sans-serif;text-anchor:end}
.model-terminal-axis{fill:#cfd5df;font:800 10px Archivo,sans-serif;text-anchor:end}
.model-terminal-axis.muted{fill:#9ba3ae}
.model-terminal-month{fill:#b6bcc7;font:800 10px Archivo,sans-serif;text-anchor:middle}
.model-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:10px}
.model-detail-grid div{padding:9px;border:1px solid rgba(111,151,213,.18);border-radius:8px;background:#07111f}
.model-detail-grid span{display:block;color:#7f91ab;font-size:8px;font-weight:900;text-transform:uppercase}
.model-detail-grid b{display:block;margin-top:5px;color:#e8f1ff;font-size:12px}
.model-detail-grid b.positive{color:#2ff0c8}
.model-access-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}
.model-access-actions.single{grid-template-columns:1fr}
.model-access-actions .strategy-action,.model-access-actions .strategy-download{width:100%}
.workspace-upgrade{min-height:420px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:36px;text-align:center}
.workspace-upgrade h2{max-width:620px;margin:12px 0 8px;color:#f2f7ff;font:800 32px/1.08 Archivo,sans-serif;letter-spacing:0}
.workspace-upgrade p{max-width:620px;margin:0 0 20px;color:#8294ab;font-size:13px;line-height:1.6}
/* Academy */
.academy-shell{display:grid;gap:12px}
.academy-overview{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  padding:18px;
  border:1px solid rgba(76,179,255,.18);
  border-radius:8px;
  background:linear-gradient(120deg,rgba(10,31,52,.96),rgba(8,17,31,.96) 58%,rgba(13,42,62,.88));
}
.academy-overview h2{max-width:600px;margin:7px 0;color:#f2f7ff;font:800 25px/1.08 Archivo,sans-serif;letter-spacing:0}
.academy-overview p{max-width:680px;margin:0;color:#8fa0b7;font-size:11px;line-height:1.55}
.academy-progress{width:min(100%,310px);flex:0 0 auto;padding:12px;border:1px solid rgba(115,148,199,.15);border-radius:7px;background:rgba(5,14,26,.72)}
.academy-progress div{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#91a2b9;font-size:9px;font-weight:900;text-transform:uppercase}
.academy-progress b{color:#6ee4ff;font:800 16px/1 Archivo,sans-serif}
.academy-progress i{height:6px;display:block;margin:10px 0 8px;overflow:hidden;border-radius:6px;background:#17263a}
.academy-progress i span{height:100%;display:block;border-radius:inherit;background:linear-gradient(90deg,#279bdb,#55e2c1);transition:width .25s ease}
.academy-progress small{display:block;color:#71839b;font-size:8px;line-height:1.4}
.academy-filters{margin:0}
.academy-layout{display:grid;grid-template-columns:minmax(0,1.42fr) minmax(280px,.58fr);gap:12px;align-items:start}
.academy-player,.academy-playlist{min-width:0;overflow:hidden;border:1px solid rgba(115,148,199,.16);border-radius:8px;background:#081321}
.academy-player.is-locked{border-color:rgba(103,151,214,.2)}
.academy-video-stage{position:relative;aspect-ratio:16/9;overflow:hidden;background:#030812}
.academy-video-stage iframe,.academy-video-stage video,.academy-video-placeholder{width:100%;height:100%;display:block;border:0}
.academy-video-stage video{object-fit:contain;background:#030812}
.academy-video-placeholder{position:relative;display:grid;place-items:center;isolation:isolate;overflow:hidden}
.academy-video-placeholder>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.32;filter:saturate(.72)}
.academy-video-placeholder::after{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(circle at 50% 42%,rgba(39,155,219,.18),transparent 40%),linear-gradient(180deg,rgba(3,8,18,.18),rgba(3,8,18,.94))}
.academy-video-overlay{position:relative;z-index:1;max-width:440px;padding:24px;text-align:center}
.academy-video-overlay h3{margin:10px 0 6px;color:#f2f7ff;font:800 20px/1.15 Archivo,sans-serif;letter-spacing:0}
.academy-video-overlay p{margin:0 0 14px;color:#8294ad;font-size:10px;line-height:1.5}
.academy-lock-icon,.academy-play-icon{width:42px;height:42px;display:inline-grid;place-items:center;border:1px solid rgba(80,209,255,.28);border-radius:50%;background:#0c2940;color:#77e8ff;font:900 12px/1 Archivo,sans-serif}
.academy-lock-icon::before{content:"";width:13px;height:10px;border:2px solid currentColor;border-radius:3px}
.academy-lock-icon::after{content:"";position:absolute;width:8px;height:7px;margin-top:-12px;border:2px solid currentColor;border-bottom:0;border-radius:8px 8px 0 0}
.academy-lock-icon{position:relative;font-size:0}
.academy-play-icon{font-size:0}
.academy-play-icon::before{content:"";margin-left:3px;border-top:7px solid transparent;border-bottom:7px solid transparent;border-left:11px solid currentColor}
.academy-player-copy{padding:16px}
.academy-player-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.academy-player-heading h2{margin:7px 0 0;color:#f0f5fc;font:800 20px/1.15 Archivo,sans-serif;letter-spacing:0}
.academy-duration{flex:0 0 auto;padding:6px 8px;border:1px solid rgba(115,148,199,.14);border-radius:5px;background:#0c1828;color:#96a8be;font-size:8px;font-weight:900;text-transform:uppercase}
.academy-player-copy>p{max-width:760px;margin:10px 0 0;color:#8294ad;font-size:11px;line-height:1.55}
.academy-complete{min-height:34px;margin-top:14px;padding:0 12px;border:1px solid rgba(52,211,255,.25);border-radius:6px;background:#0c2b40;color:#87e8ff;font-size:9px;font-weight:900}
.academy-complete:hover{border-color:rgba(84,224,255,.5);color:#fff}
.academy-complete.is-complete{border-color:rgba(47,227,165,.28);background:#0a322e;color:#79e9c3}
.academy-playlist{padding:14px}
.academy-playlist-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:1px 2px 12px}
.academy-playlist-head h3{margin:5px 0 0;color:#eef4fc;font:800 16px/1.15 Archivo,sans-serif;letter-spacing:0}
.academy-playlist-head .workspace-text-action{margin:0}
.academy-lesson-list{display:grid;gap:6px}
.academy-list-item{width:100%;min-width:0;display:grid;grid-template-columns:31px minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px;border:1px solid rgba(115,148,199,.11);border-radius:7px;background:#0b1727;color:#dce6f3;text-align:left;transition:border-color .18s,background .18s,transform .18s}
.academy-list-item:hover{transform:translateX(2px);border-color:rgba(57,204,255,.28);background:#0d1e31}
.academy-list-item.active{border-color:rgba(57,204,255,.36);background:#0d263a}
.academy-list-item.is-locked{opacity:.62}
.academy-lesson-number{width:31px;height:31px;display:grid;place-items:center;border:1px solid rgba(115,148,199,.15);border-radius:6px;background:#08111e;color:#6edfff;font:900 9px/1 "JetBrains Mono",monospace}
.academy-lesson-copy{min-width:0;display:grid;gap:4px}
.academy-lesson-copy b,.academy-lesson-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.academy-lesson-copy b{color:#e9f0fa;font-size:10px}
.academy-lesson-copy small{color:#6f8199;font-size:8px}
.academy-lesson-state{padding:5px 6px;border:1px solid rgba(115,148,199,.13);border-radius:5px;color:#8194aa;font-size:7px;font-weight:900;text-transform:uppercase}
.academy-list-item.active .academy-lesson-state{border-color:rgba(49,218,255,.24);color:#6ce3ff}
.academy-list-empty{padding:18px;border:1px dashed rgba(115,148,199,.16);border-radius:7px;color:#71839a;font-size:9px;text-align:center}
.academy-empty .strategy-action{margin-top:14px}
.academy-course-shell{gap:14px}
.academy-course-hero{align-items:center}
.academy-course-layout{grid-template-columns:minmax(250px,360px) minmax(0,1fr);gap:14px}
.academy-course-sidebar{
  position:sticky;
  top:10px;
  padding:0;
  background:linear-gradient(180deg,#081321,#060d18);
}
.academy-course-sidebar .academy-playlist-head{
  padding:16px 16px 12px;
  border-bottom:1px solid rgba(115,148,199,.13);
}
.academy-course-list{gap:0}
.academy-course-list .academy-list-item{
  min-height:76px;
  grid-template-columns:38px minmax(0,1fr) auto;
  padding:13px 14px;
  border-width:0 0 1px;
  border-radius:0;
  background:transparent;
}
.academy-course-list .academy-list-item:last-child{border-bottom:0}
.academy-course-list .academy-list-item:hover{transform:none;background:#0b1c2e}
.academy-course-list .academy-list-item.active{
  background:linear-gradient(90deg,rgba(40,206,255,.12),rgba(7,17,31,.35));
  box-shadow:inset 3px 0 0 #43d9ff;
}
.academy-course-list .academy-lesson-number{width:34px;height:34px}
.academy-course-list .academy-lesson-copy b,.academy-course-list .academy-lesson-copy small{white-space:normal;line-height:1.3}
.academy-course-list .academy-lesson-copy b{font-size:12px}
.academy-course-list .academy-lesson-copy small{font-size:9px}
.academy-course-player{
  background:#050b14;
  box-shadow:0 18px 55px rgba(0,0,0,.24);
}
.academy-course-player .academy-video-stage{
  min-height:0;
  aspect-ratio:16/9;
  border-bottom:1px solid rgba(115,148,199,.13);
}
.academy-course-player .academy-video-stage iframe,.academy-course-player .academy-video-stage video{background:#030812}
.academy-course-copy{padding:18px}
.academy-course-copy .academy-player-heading h2{font-size:24px}
.academy-course-copy>p{font-size:12px}

/* Focused course player: lesson list on the left, large media and notes on the right. */
.dashboard.workspace-mode .workspace-content.academy-workspace{
  padding:18px 24px 36px;
}
.academy-udemy-shell{
  width:min(1920px,100%);
  margin:0 auto;
  gap:0;
}
.academy-udemy-shell .academy-course-layout{
  grid-template-columns:320px minmax(0,1fr);
  gap:14px;
}
.academy-udemy-shell .academy-course-sidebar{
  top:0;
  max-height:calc(100dvh - 140px);
  overflow:auto;
}
.academy-sidebar-progress{
  padding:12px 16px 14px;
  border-bottom:1px solid rgba(115,148,199,.13);
  background:#07111e;
}
.academy-sidebar-progress div{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  color:#7f91aa;
  font-size:9px;
  font-weight:800;
}
.academy-sidebar-progress b{color:#65e5de;font-size:10px}
.academy-sidebar-progress i{
  height:4px;
  display:block;
  margin-top:9px;
  overflow:hidden;
  border-radius:4px;
  background:#17263a;
}
.academy-sidebar-progress i span{
  height:100%;
  display:block;
  border-radius:inherit;
  background:#4bd7ce;
}
.academy-udemy-shell .academy-course-player{
  border-radius:6px;
  background:#050a12;
}
.academy-udemy-shell .academy-video-stage{
  width:100%;
  min-height:0;
  aspect-ratio:16/9;
  background:#000;
}
.academy-udemy-shell .academy-course-copy{padding:22px 24px 24px}
.academy-udemy-shell .academy-player-heading h2{font-size:26px}
.academy-notes{
  margin-top:20px;
  padding-top:18px;
  border-top:1px solid rgba(115,148,199,.14);
}
.academy-notes h3{
  margin:0 0 10px;
  color:#edf5ff;
  font:800 15px/1.2 Archivo,sans-serif;
  letter-spacing:0;
}
.academy-notes p{
  margin:0;
  color:#9aaac0;
  font-size:12px;
  line-height:1.7;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
}

@media(max-width:900px){
  .dashboard.workspace-mode .workspace-content.academy-workspace{padding:12px}
  .academy-udemy-shell .academy-course-layout{grid-template-columns:1fr}
  .academy-udemy-shell .academy-course-player{order:1}
  .academy-udemy-shell .academy-course-sidebar{order:2;position:static;max-height:none}
}

@media(max-width:520px){
  .dashboard.workspace-mode .workspace-content.academy-workspace{padding:8px}
  .academy-udemy-shell .academy-course-copy{padding:16px 14px 18px}
  .academy-udemy-shell .academy-player-heading h2{font-size:20px}
  .academy-notes{margin-top:16px;padding-top:14px}
}

.academy-admin-grid .span-2{grid-column:span 2}
.academy-admin-list{display:grid;gap:8px}
.academy-admin-row{display:grid;grid-template-columns:132px minmax(0,1fr) auto;gap:13px;align-items:center;padding:10px;border:1px solid rgba(115,148,199,.15);border-radius:8px;background:#0a1321}
.academy-admin-row.is-hidden{opacity:.56}
.academy-admin-thumb{height:78px;display:grid;place-items:center;overflow:hidden;border:1px solid rgba(115,148,199,.14);border-radius:7px;background:#07111f;color:#71e3ff;font:800 22px/1 Archivo,sans-serif}
.academy-admin-thumb img{width:100%;height:100%;object-fit:cover}
.academy-admin-copy{min-width:0}
.academy-admin-copy h4{margin:5px 0 0;color:#eef4fd;font-size:14px}
.academy-admin-copy p{margin:7px 0;color:#8192a8;font-size:10px;line-height:1.45}
.academy-order{flex:0 0 auto;color:#657890;font:900 9px/1 "JetBrains Mono",monospace}

/* Strategy administration */
.strategy-admin-form{display:grid;gap:12px}
.form-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.form-title-row h3{margin:5px 0;color:#f1f5fb;font-size:19px}
.form-title-row p{max-width:620px;margin:0;color:#8291a7;font-size:11px;line-height:1.5}
.strategy-admin-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.strategy-admin-form label{display:grid;gap:6px;color:#a6b2c4;font-size:10px;font-weight:900}
.strategy-admin-form input,.strategy-admin-form select,.strategy-admin-form textarea{width:100%;border-radius:7px}
.strategy-admin-form textarea{min-height:90px;resize:vertical}
.strategy-admin-checks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.strategy-admin-checks .check{display:flex;align-items:center;min-height:42px;padding:8px 10px;border:1px solid rgba(115,148,199,.13);border-radius:7px;background:#0b1422}
.strategy-admin-list{display:grid;gap:8px}
.strategy-admin-empty{display:grid;gap:5px;padding:18px;border:1px dashed rgba(115,148,199,.2);border-radius:8px;color:#8293aa}
.strategy-admin-empty strong{color:#eef4fd}
.strategy-admin-row{display:grid;grid-template-columns:170px minmax(0,1fr) auto;gap:13px;align-items:center;padding:10px;border:1px solid rgba(115,148,199,.15);border-radius:8px;background:#0a1321}
.strategy-admin-row.is-hidden{opacity:.56}
.strategy-admin-preview{height:90px}
.strategy-admin-row-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.strategy-admin-row h4{margin:5px 0 0;color:#eef4fd;font-size:14px}
.strategy-admin-row p{margin:7px 0;color:#8192a8;font-size:10px;line-height:1.45}
.strategy-admin-meta{display:flex;flex-wrap:wrap;gap:5px}
.strategy-admin-actions{display:grid;gap:6px;min-width:78px}

@media(max-width:1180px){
  .workspace-dashboard-grid{grid-template-columns:minmax(0,1fr) 230px}
  .workspace-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .strategy-feature-body{grid-template-columns:minmax(0,1fr)}
  .strategy-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .strategy-stat{min-height:76px}
  .academy-layout{grid-template-columns:minmax(0,1.25fr) minmax(250px,.75fr)}
  .academy-course-layout{grid-template-columns:minmax(230px,320px) minmax(0,1fr)}
  .academy-course-player .academy-video-stage{min-height:0}
  .model-library-split{grid-template-columns:1fr}
  .model-access-head{grid-template-columns:1fr}
  .model-income-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .model-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:900px){
  .dashboard.workspace-mode{grid-template-columns:210px minmax(0,1fr)}
  .dashboard.workspace-mode.channels-collapsed{grid-template-columns:210px minmax(0,1fr)}
  .portal-nav-item{grid-template-columns:28px minmax(0,1fr) auto;padding-left:6px;padding-right:6px;font-size:10px}
  .workspace-dashboard-grid{grid-template-columns:minmax(0,1fr)}
  .workspace-side-stack{grid-template-columns:repeat(2,minmax(0,1fr))}
  .workspace-admin-shortcut{grid-column:1/-1}
  .strategy-admin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .strategy-admin-row{grid-template-columns:130px minmax(0,1fr)}
  .strategy-admin-actions{grid-column:1/-1;display:flex;justify-content:flex-end}
  .academy-layout{grid-template-columns:1fr}
  .academy-playlist{order:-1}
  .academy-lesson-list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .academy-course-layout{grid-template-columns:1fr}
  .academy-course-layout .academy-course-player{order:1}
  .academy-course-layout .academy-course-sidebar{order:2;position:static}
  .academy-course-list{grid-template-columns:1fr}
  .academy-course-player .academy-video-stage{min-height:0}
  .academy-admin-row{grid-template-columns:110px minmax(0,1fr)}
  .academy-admin-row .strategy-admin-actions{grid-column:1/-1}
}
@media(max-width:680px){
  .dashboard.workspace-mode{
    grid-template-columns:68px minmax(0,1fr);
    gap:6px;
    padding:6px;
  }
  .dashboard.workspace-mode.channels-collapsed{grid-template-columns:68px minmax(0,1fr)}
  .dashboard.workspace-mode .sidebar,
  .dashboard.workspace-mode.channels-collapsed .sidebar{padding:7px 6px}
  .dashboard.workspace-mode .side-top{justify-content:center;padding:2px 0 8px}
  .dashboard.workspace-mode .side-top .brand{font-size:0;gap:0}
  .dashboard.workspace-mode .side-top .brand-logo{width:36px;height:36px}
  .portal-nav{gap:6px}
  .portal-nav-item{min-height:44px;display:flex;justify-content:center;padding:5px}
  .portal-nav-item>span:not(.portal-nav-icon),.portal-nav-lock{display:none}
  .portal-nav-item:hover{transform:none}
  .portal-nav-item.active{box-shadow:inset 0 -2px 0 #37d5ff}
  .portal-nav-icon{width:31px;height:31px;font-family:"Segoe UI Emoji","Apple Color Emoji","Noto Color Emoji",sans-serif;font-size:16px;font-weight:400;line-height:1}
  .dashboard.workspace-mode .portal-community-label,
  .dashboard.workspace-mode .direct-open,
  .dashboard.workspace-mode .side-section,
  .dashboard.workspace-mode .sidebar-spacer,
  .dashboard.workspace-mode .admin-open{display:none!important}
  .dashboard.workspace-mode .user-card.compact{margin-top:auto;padding:6px;justify-content:center}
  .dashboard.workspace-mode .user-card .avatar{width:34px;height:34px;border-radius:7px}
  .dashboard.workspace-mode .user-main{display:none}
  .workspace-head{min-height:76px;padding:13px 12px;align-items:flex-start}
  .workspace-head h1{font-size:21px}
  .workspace-head p{font-size:10px;line-height:1.35}
  .workspace-head-actions{display:grid;justify-items:end}
  .workspace-access-badge{min-height:26px;font-size:7px}
  .workspace-secondary-btn{display:none}
  .workspace-content{padding:10px;background-size:32px 32px}
  .strategy-feature{padding:12px}
  .strategy-feature-head{display:block}
  .strategy-feature-meta{margin-top:10px}
  .strategy-feature h2{font-size:19px}
  .strategy-hero-chart{height:180px}
  .strategy-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .strategy-stat{min-height:78px}
  .strategy-feature-foot{align-items:stretch;flex-direction:column}
  .strategy-feature-foot .strategy-action{width:100%}
  .workspace-side-stack,.workspace-card-grid{grid-template-columns:1fr}
  .workspace-section-head{align-items:flex-start}
  .workspace-section-head .workspace-text-action{flex:0 0 auto}
  .mt5-license-form,.mt5-license-grid,.mt5-tutorial-links,.mt5-tutorial-steps,.mt5-tutorial-step{grid-template-columns:1fr}
  .mt5-tutorial-image-link{border:0}
  .mt5-tutorial-step img{max-width:100%}
  .mt5-license-form .primary,.mt5-revoke-btn{width:100%}
  .mt5-license-head{align-items:stretch;flex-direction:column}
  .strategy-card>p{min-height:0}
  .workspace-filter{overflow-x:auto;padding-bottom:3px}
  .workspace-filter button{white-space:nowrap}
  .workspace-upgrade{min-height:360px;padding:22px 15px}
  .workspace-upgrade h2{font-size:25px}
  .strategy-admin-grid,.strategy-admin-checks{grid-template-columns:1fr}
  .strategy-admin-row{grid-template-columns:1fr}
  .strategy-admin-preview{height:120px}
  .academy-overview{display:block;padding:14px}
  .academy-overview h2{font-size:20px}
  .academy-progress{width:100%;margin-top:14px}
  .academy-lesson-list{grid-template-columns:1fr}
  .academy-player-copy{padding:13px}
  .academy-player-heading h2{font-size:17px}
  .academy-course-shell{gap:10px}
  .academy-course-hero h2{font-size:22px}
  .academy-course-hero p{font-size:10px}
  .academy-course-player .academy-video-stage{min-height:0}
  .academy-course-copy{padding:14px}
  .academy-course-copy .academy-player-heading h2{font-size:19px}
  .academy-course-list .academy-list-item{
    min-height:68px;
    grid-template-columns:34px minmax(0,1fr) auto;
    padding:12px;
  }
  .academy-course-list .academy-lesson-state{grid-column:auto;justify-self:end}
  .academy-admin-grid .span-2{grid-column:auto}
  .academy-admin-row{grid-template-columns:1fr}
  .academy-admin-thumb{height:120px}
  .model-result-lab{margin-top:10px;padding:11px;border-radius:10px}
  .model-result-head{display:block;margin-bottom:10px}
  .model-result-head h2{font-size:23px;line-height:1.05}
  .model-result-head p{font-size:11px;line-height:1.45}
  .model-risk-control{min-width:0;margin-top:10px;padding:9px}
  .model-risk-control input{min-height:38px}
  .model-result-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  .model-result-metrics div{padding:9px}
  .model-result-metrics b{font-size:17px}
  .model-result-metrics span{font-size:7px}
  .model-result-metrics small{font-size:8px}
  .model-comparison-top{display:block;padding:10px}
  .model-chart-legend{margin-top:8px;flex-wrap:wrap}
  .model-comparison-svg{min-width:560px}
  .model-comparison-panel{overflow-x:auto}
  .model-funded-head{display:block;padding:10px}
  .model-funded-head strong{display:block;margin-top:7px}
  .model-funded-table table{font-size:10px}
  .model-funded-table th,.model-funded-table td{padding:8px 10px}
  .model-library-shell{padding:10px}
  .model-library-split{grid-template-columns:1fr;gap:10px}
  .model-access-panel{padding:10px}
  .model-access-head{grid-template-columns:1fr}
  .model-access-head h2{font-size:20px}
  .model-income-grid,.model-detail-grid,.model-access-actions{grid-template-columns:1fr}
  .model-terminal-panel{overflow-x:auto}
  .model-terminal-svg{min-width:680px}
}
@media(max-width:420px){
  .workspace-head p{max-width:220px}
  .strategy-card-metrics{grid-template-columns:1fr}
  .strategy-card-metrics b,.strategy-card-metrics span{white-space:normal}
  .academy-player-heading{display:block}
  .academy-duration{display:inline-block;margin-top:10px}
  .academy-list-item{grid-template-columns:29px minmax(0,1fr)}
  .academy-lesson-state{grid-column:2;justify-self:start}
  .academy-course-list .academy-list-item{grid-template-columns:32px minmax(0,1fr) auto}
  .academy-course-list .academy-lesson-state{grid-column:auto;justify-self:end}
  .academy-course-player .academy-video-stage{min-height:0}
}

.dashboard.community-mode{
  --channels-width:310px;
  --members-width:276px;
  grid-template-columns:310px minmax(0,1fr) minmax(236px,276px);
  gap:10px;
  padding:10px;
  background:#050a13;
}
.dashboard.community-mode.dm-mode,
.dashboard.community-mode.channels-collapsed,
.dashboard.community-mode.dm-mode.channels-collapsed{
  grid-template-columns:310px minmax(0,1fr) minmax(236px,276px);
}
.dashboard.community-mode.members-collapsed,
.dashboard.community-mode.dm-mode.members-collapsed,
.dashboard.community-mode.channels-collapsed.members-collapsed,
.dashboard.community-mode.dm-mode.channels-collapsed.members-collapsed{
  grid-template-columns:310px minmax(0,1fr) 0;
}
.dashboard.community-mode .dm-panel,
.dashboard.community-mode .channels-toggle{display:none!important}
.dashboard.community-mode .sidebar{
  display:flex;
  border-radius:8px;
  padding:12px;
  border-color:rgba(115,148,199,.16);
  background:#080f1c;
  box-shadow:0 22px 64px rgba(0,0,0,.22);
}
.dashboard.community-mode .side-top,
.dashboard.community-mode .portal-nav{display:none!important}
.dashboard.community-mode .portal-community-label{display:block!important;margin-top:0}
.dashboard.community-mode .sidebar .community-back-link{
  width:100%;
  margin:0 0 12px;
}
.dashboard.community-mode .direct-open,
.dashboard.community-mode .side-section{display:flex!important}
.dashboard.community-mode .sidebar-spacer{display:block;flex:0 0 10px;min-height:10px}
.dashboard.community-mode .admin-open:not(.hidden){
  display:block!important;
  width:100%;
  margin-top:0;
  border-radius:8px;
}
.dashboard.community-mode .admin-panel:not(.admin-panel-page){
  left:auto;
  right:14px;
  width:min(920px,calc(100vw - 320px));
}
.dashboard.community-mode .user-card.compact{
  display:flex!important;
  margin-top:10px;
  border-radius:8px;
  background:#0c1626;
}
.dashboard.community-mode .chat-panel,
.dashboard.community-mode .members-panel{
  border-radius:8px;
  border-color:rgba(115,148,199,.16);
  background:#07101e;
  box-shadow:0 22px 64px rgba(0,0,0,.28);
}
.dashboard.community-mode .voice-controls{
  display:flex;
  gap:2px;
  padding:6px 4px 0;
  background:var(--discord-footer);
}
.dashboard.community-mode .voice-controls button{
  width:32px;
  height:30px;
  border:0;
  border-radius:4px;
  color:#c7cad1;
  background:transparent;
  font-size:15px;
}
.dashboard.community-mode .voice-controls button:hover,.dashboard.community-mode .voice-controls button.active{background:#303238;color:#fff}
.dashboard.community-mode .voice-controls button.active{color:#65d69d}
.dashboard.community-mode .voice-settings-popover{
  position:absolute;
  bottom:74px;
  left:8px;
  z-index:80;
  width:270px;
  padding:14px;
  border:1px solid #30323a;
  border-radius:6px;
  background:#202126;
  box-shadow:0 12px 30px rgba(0,0,0,.42);
}
.dashboard.community-mode .voice-settings-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;font-weight:800;color:#f2f3f5}
.dashboard.community-mode .voice-settings-title button{border:0;background:transparent;color:#b5b7bf;font-size:20px;line-height:1;cursor:pointer}
.dashboard.community-mode .voice-settings-title button:hover{color:#fff}
.dashboard.community-mode .voice-setting-row{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:9px 0;color:#e0e2e7;font-size:12px}
.dashboard.community-mode .voice-setting-row small{display:block;margin-top:3px;color:#9a9ca5;font-size:10px;line-height:1.25}
.dashboard.community-mode .voice-setting-row input[type="range"]{width:92px;accent-color:#5865f2}
.dashboard.community-mode .channel-btn .voice-channel-members{display:grid;gap:4px;margin:6px 0 0 17px}
.dashboard.community-mode .channel-btn .voice-channel-member{display:flex;align-items:center;min-width:0;gap:6px;color:#d8dae0;font-size:11px}
.dashboard.community-mode .channel-btn .voice-channel-member .member-avatar{width:21px;height:21px;border-radius:50%;flex:0 0 21px}
.dashboard.community-mode .channel-btn .voice-channel-member > span:last-of-type{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dashboard.community-mode .channel-btn .voice-channel-member i{margin-left:auto;color:#5dd39e;font-style:normal}
.dashboard.community-mode .voice-stage{min-height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:32px;color:#d7d9df;text-align:center;background:#18191c}
.dashboard.community-mode .voice-stage-icon{font-size:38px;line-height:1}
.dashboard.community-mode .voice-stage h3{margin:0;color:#f2f3f5;font-size:20px}
.dashboard.community-mode .voice-stage p{max-width:420px;margin:0;color:#a9abb3;font-size:13px}
.dashboard.community-mode .voice-stage-participant{display:flex;align-items:center;gap:9px;margin-top:8px;padding:8px 12px;border-radius:5px;background:#232428;color:#f2f3f5}
.dashboard.community-mode .voice-stage-participants{display:flex;flex-wrap:wrap;justify-content:center;gap:7px;max-width:520px}
.dashboard.community-mode .voice-stage-participants .voice-stage-participant{margin-top:0}
.dashboard.community-mode .voice-stage-participant .member-avatar{width:30px;height:30px;border-radius:50%}
.dashboard.community-mode .voice-stage-participant em{color:#62d596;font-size:11px;font-style:normal}
.dashboard.community-mode .community-back-link{display:inline-flex}
.dashboard.community-mode .chat-head{
  min-height:86px;
  padding:17px 20px;
  background:#07101e;
}
.dashboard.community-mode .chat-head-main{gap:16px}
.dashboard.community-mode .chat-head h2{font-size:25px;line-height:1.08}

@media(max-width:900px){
  .dashboard.community-mode,
  .dashboard.community-mode.dm-mode,
  .dashboard.community-mode.channels-collapsed,
  .dashboard.community-mode.dm-mode.channels-collapsed{
    grid-template-columns:minmax(168px,32vw) minmax(0,1fr);
  }
  .dashboard.community-mode.members-collapsed,
  .dashboard.community-mode.dm-mode.members-collapsed,
  .dashboard.community-mode.channels-collapsed.members-collapsed,
  .dashboard.community-mode.dm-mode.channels-collapsed.members-collapsed{
    grid-template-columns:minmax(168px,32vw) minmax(0,1fr);
  }
  .dashboard.community-mode .members-panel{display:none!important}
  .dashboard.community-mode .chat-head{align-items:flex-start;flex-direction:column}
  .dashboard.community-mode .chat-head-main{width:100%;align-items:flex-start;flex-direction:column;gap:10px}
}

@media(max-width:760px){
  .dashboard.community-mode,
  .dashboard.community-mode.dm-mode,
  .dashboard.community-mode.channels-collapsed,
  .dashboard.community-mode.dm-mode.channels-collapsed,
  .dashboard.community-mode.members-collapsed,
  .dashboard.community-mode.dm-mode.members-collapsed,
  .dashboard.community-mode.channels-collapsed.members-collapsed,
  .dashboard.community-mode.dm-mode.channels-collapsed.members-collapsed{
    grid-template-columns:128px minmax(0,1fr);
    gap:4px;
    padding:4px;
  }
  .dashboard.community-mode,
  .dashboard.community-mode.dm-mode,
  .dashboard.community-mode.channels-collapsed,
  .dashboard.community-mode.dm-mode.channels-collapsed{
    grid-template-columns:128px minmax(0,1fr) 82px;
    gap:4px;
    padding:4px;
  }
  .dashboard.community-mode .members-panel{
    display:block!important;
    transform:none;
    opacity:1;
    pointer-events:auto;
  }
  .dashboard.community-mode.members-collapsed .members-panel{
    display:none!important;
  }
  .dashboard.community-mode .sidebar,
  .dashboard.community-mode .chat-panel,
  .dashboard.community-mode .members-panel{
    border-radius:12px;
  }
  .dashboard.community-mode .sidebar{
    padding:7px;
  }
  .dashboard.community-mode .sidebar .community-back-link{
    min-height:28px;
    margin:0 0 8px;
    padding:0 7px;
    border-radius:8px;
    font-size:9px;
    line-height:1.1;
  }
  .dashboard.community-mode .portal-community-label,
  .dashboard.community-mode .side-label{
    margin:6px 0;
    font-size:8px;
    letter-spacing:.14em;
  }
  .dashboard.community-mode .direct-open{
    margin-bottom:8px;
    padding:7px;
    border-radius:10px;
    gap:5px;
  }
  .dashboard.community-mode .direct-open .channel-title,
  .dashboard.community-mode .channel-title{
    gap:4px;
    font-size:10px;
    line-height:1.08;
  }
  .dashboard.community-mode .direct-open span,
  .dashboard.community-mode .channel-btn > span,
  .dashboard.community-mode .message-presence{
    margin-top:2px;
    font-size:7.5px;
    line-height:1.16;
  }
  .dashboard.community-mode .direct-open strong{
    min-width:21px;
    height:21px;
    border-radius:8px;
    font-size:9px;
  }
  .dashboard.community-mode .channels{
    gap:4px;
  }
  .dashboard.community-mode .channel-category{
    gap:3px;
  }
  .dashboard.community-mode .channel-category + .channel-category{
    margin-top:6px;
  }
  .dashboard.community-mode .channel-category-label{
    padding:2px 1px 0;
    font-size:7.5px;
    letter-spacing:.1em;
  }
  .dashboard.community-mode .channel-btn{
    padding:6px;
    border-radius:9px;
  }
  .dashboard.community-mode .lock-dot{
    width:17px;
    height:17px;
    flex-basis:17px;
    border-radius:6px;
    font-size:9px;
  }
  .dashboard.community-mode .admin-open:not(.hidden){
    min-height:40px;
    padding:8px 7px;
    border-radius:10px;
    font-size:11px;
    line-height:1.08;
  }
  .dashboard.community-mode .admin-panel:not(.admin-panel-page){
    left:8px;
    right:8px;
    width:auto;
  }
  .dashboard.community-mode .user-card.compact{
    margin-top:7px;
    padding:6px;
    gap:6px;
    border-radius:10px;
  }
  .dashboard.community-mode .user-card.compact .avatar{
    width:28px;
    height:28px;
    border-radius:9px;
  }
  .dashboard.community-mode .user-card.compact .user-name-row b{
    font-size:10px;
  }
  .dashboard.community-mode .user-card.compact .profile-open{
    width:22px;
    height:22px;
    border-radius:7px;
    font-size:10px;
  }
  .dashboard.community-mode .chat-head{
    min-height:56px;
    padding:9px 8px;
    gap:6px;
  }
  .dashboard.community-mode .chat-head-main{
    gap:5px;
  }
  .dashboard.community-mode .channel-kicker{
    font-size:7px;
    letter-spacing:.1em;
  }
  .dashboard.community-mode .chat-head h2{
    max-width:100%;
    font-size:14px;
    line-height:1.02;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .dashboard.community-mode .chat-head p{
    max-width:100%;
    font-size:8px;
    line-height:1.2;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .dashboard.community-mode .chat-actions{
    width:100%;
    gap:4px;
  }
  .dashboard.community-mode .panel-toggle{
    min-height:25px;
    height:25px;
    padding:4px 6px;
    border-radius:8px;
    font-size:8px;
  }
  .dashboard.community-mode .messages{
    padding:7px 6px;
    gap:7px;
  }
  .dashboard.community-mode .message{
    grid-template-columns:22px minmax(0,1fr);
    gap:5px;
  }
  .dashboard.community-mode .message .mini-avatar{
    width:22px;
    height:22px;
    border-radius:7px;
  }
  .dashboard.community-mode .msg-box{
    min-width:min(96px,100%);
    padding:7px 8px;
    border-radius:10px;
  }
  .dashboard.community-mode .msg-box.image-only{
    padding:6px 7px 7px;
  }
  .dashboard.community-mode .msg-meta{
    gap:4px;
  }
  .dashboard.community-mode .msg-meta b{
    font-size:9.5px;
  }
  .dashboard.community-mode .msg-meta span{
    font-size:7.5px;
  }
  .dashboard.community-mode .msg-body{
    font-size:10px;
    line-height:1.3;
  }
  .dashboard.community-mode .message-image,
  .dashboard.community-mode .msg-box.image-only .message-image{
    width:min(118px,100%);
    max-width:100%;
    max-height:160px;
    border-radius:9px;
  }
  .dashboard.community-mode .reaction-row{
    gap:4px;
    margin-top:6px;
  }
  .dashboard.community-mode .reaction-pill{
    min-height:23px;
    padding:0 7px;
    border-radius:8px;
    font-size:10px;
  }
  .dashboard.community-mode .composer{
    padding:6px;
  }
  .dashboard.community-mode .compose-main{
    gap:5px;
  }
  .dashboard.community-mode .compose-row{
    grid-template-columns:minmax(0,1fr) 34px 34px;
    gap:4px;
  }
  .dashboard.community-mode .composer textarea#messageInput{
    height:36px;
    min-height:36px;
    max-height:92px;
    border-radius:10px;
    padding:9px 10px;
    font-size:10.5px;
    line-height:1.25;
  }
  .dashboard.community-mode .attach-btn,
  .dashboard.community-mode .send-btn{
    height:36px;
    border-radius:10px;
  }
  .dashboard.community-mode .attach-btn{
    width:34px;
    padding:0;
    font-size:8.5px;
  }
  .dashboard.community-mode .send-btn{
    width:34px;
    font-size:15px;
  }
  .dashboard.community-mode .composer-error{
    min-height:10px;
    font-size:8px;
  }
  .dashboard.community-mode .members-panel{
    padding:6px 5px;
  }
  .dashboard.community-mode .members-head{
    margin-bottom:7px;
    gap:4px;
  }
  .dashboard.community-mode .members-head h2{
    font-size:9px;
    line-height:1;
  }
  .dashboard.community-mode .member-count{
    min-width:19px;
    height:19px;
    border-radius:7px;
    font-size:8px;
  }
  .dashboard.community-mode .member-groups{
    gap:7px;
  }
  .dashboard.community-mode .member-section{
    margin-top:8px;
  }
  .dashboard.community-mode .member-label{
    margin-bottom:5px;
    font-size:6.5px;
    letter-spacing:.08em;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  .dashboard.community-mode .role-member-label b{
    display:none;
  }
  .dashboard.community-mode .member-list{
    gap:5px;
  }
  .dashboard.community-mode .member-item{
    grid-template-columns:1fr;
    justify-items:center;
    gap:3px;
    padding:5px 3px;
    border-radius:8px;
    text-align:center;
  }
  .dashboard.community-mode .member-avatar{
    width:24px;
    height:24px;
    min-width:24px;
    border-radius:7px;
  }
  .dashboard.community-mode .member-avatar::after{
    right:0;
    bottom:0;
    width:7px;
    height:7px;
    border-width:1px;
  }
  .dashboard.community-mode .member-item b{
    max-width:100%;
    font-size:8px;
    line-height:1.1;
  }
  .dashboard.community-mode .member-item span{
    display:none;
  }
  .dashboard.community-mode .member-item.owner-showcase{
    margin:4px 0 7px;
    padding:6px 3px;
  }
  .dashboard.community-mode .member-item.owner-showcase::after,
  .dashboard.community-mode .member-item.owner-showcase .owner-fx{
    display:none;
  }
}

@media(max-width:430px){
  .dashboard.community-mode,
  .dashboard.community-mode.dm-mode,
  .dashboard.community-mode.channels-collapsed,
  .dashboard.community-mode.dm-mode.channels-collapsed,
  .dashboard.community-mode.members-collapsed,
  .dashboard.community-mode.dm-mode.members-collapsed,
  .dashboard.community-mode.channels-collapsed.members-collapsed,
  .dashboard.community-mode.dm-mode.channels-collapsed.members-collapsed{
    grid-template-columns:112px minmax(0,1fr);
    gap:3px;
    padding:3px;
  }
  .dashboard.community-mode,
  .dashboard.community-mode.dm-mode,
  .dashboard.community-mode.channels-collapsed,
  .dashboard.community-mode.dm-mode.channels-collapsed{
    grid-template-columns:112px minmax(0,1fr) 68px;
    gap:3px;
    padding:3px;
  }
  .dashboard.community-mode .sidebar{
    padding:6px;
  }
  .dashboard.community-mode .direct-open .channel-title,
  .dashboard.community-mode .channel-title{
    font-size:9px;
  }
  .dashboard.community-mode .channel-btn{
    padding:5px;
  }
  .dashboard.community-mode .chat-head h2{
    font-size:13px;
  }
  .dashboard.community-mode .msg-body{
    font-size:9.5px;
  }
  .dashboard.community-mode .message-image,
  .dashboard.community-mode .msg-box.image-only .message-image{
    width:min(108px,100%);
    max-height:145px;
  }
  .dashboard.community-mode .compose-row{
    grid-template-columns:minmax(0,1fr) 30px 30px;
    gap:3px;
  }
  .dashboard.community-mode .attach-btn,
  .dashboard.community-mode .send-btn{
    width:30px;
    height:34px;
  }
  .dashboard.community-mode .composer textarea#messageInput{
    height:34px;
    min-height:34px;
    padding:8px;
    font-size:10px;
  }
  .dashboard.community-mode .members-panel{
    padding:5px 4px;
  }
  .dashboard.community-mode .members-head h2{
    font-size:8px;
  }
  .dashboard.community-mode .member-avatar{
    width:22px;
    height:22px;
    min-width:22px;
  }
  .dashboard.community-mode .member-item b{
    font-size:7.5px;
  }
}


/* Embedded subscription checkout */
.subscription-workspace { max-width: none; }
.subscription-shell { padding: 32px clamp(18px, 4vw, 56px) 56px; color: #eef6ff; }
.subscription-crumbs { color: rgba(205, 218, 238, 0.62); font-size: 12px; font-weight: 800; letter-spacing: 0.04em; margin-bottom: 22px; }
.subscription-crumbs span { color: rgba(99, 222, 255, 0.8); margin: 0 8px; }
.billing-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 22px; align-items: start; }
.billing-local-nav { position: sticky; top: 16px; display: grid; gap: 6px; padding: 16px; border: 1px solid rgba(129, 201, 255, 0.14); border-radius: 8px; background: rgba(9, 13, 20, 0.82); box-shadow: 0 18px 60px rgba(0, 0, 0, 0.24); }
.billing-local-nav span { margin: 0 0 8px; color: rgba(188, 201, 221, 0.62); font-size: 11px; font-weight: 900; letter-spacing: 0.04em; }
.billing-local-nav button { min-height: 38px; padding: 0 12px; border: 1px solid transparent; border-radius: 7px; background: transparent; color: #8f9eb3; text-align: left; font: 800 13px/1 Inter, sans-serif; cursor: pointer; }
.billing-local-nav button:hover { border-color: rgba(99, 222, 255, 0.22); background: rgba(97, 215, 255, 0.07); color: #eff7ff; }
.billing-local-nav button.active { border-color: rgba(129, 201, 255, 0.12); background: rgba(255, 255, 255, 0.055); color: #eef6ff; }
.billing-main { min-width: 0; display: grid; gap: 18px; }
.subscription-grid.billing-checkout-grid { grid-template-columns: minmax(300px, 0.88fr) minmax(360px, 1.12fr); }
.subscription-grid { display: grid; grid-template-columns: minmax(300px, 0.92fr) minmax(360px, 1.08fr); gap: 22px; align-items: start; }
.subscription-summary-card, .subscription-checkout-card { border: 1px solid rgba(129, 201, 255, 0.16); background: #111418; border-radius: 8px; box-shadow: 0 18px 60px rgba(0, 0, 0, 0.25); }
.subscription-summary-card { padding: 24px; }
.subscription-logo-row { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.subscription-logo-row .qc-brand-mark { width: 46px; height: 46px; flex: 0 0 46px; }
.subscription-brand-copy b { display: block; color: #f5f9ff; font-size: 19px; line-height: 1; margin-bottom: 8px; }
.subscription-brand-copy b span { color: #67dcff; }
.subscription-logo-row strong { display: block; font-size: 15px; }
.subscription-logo-row small, .subscription-summary-card dt, .subscription-safe-line { color: rgba(190, 202, 222, 0.64); font-size: 12px; }
.subscription-price-line { display: flex; align-items: baseline; gap: 10px; margin-bottom: 22px; }
.subscription-price-line strong { font-size: clamp(42px, 5vw, 72px); line-height: 0.95; }
.subscription-price-line span, .subscription-summary-card dd { color: #c8d2e4; font-weight: 800; }
.subscription-summary-card dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 0 20px; }
.subscription-summary-card dl div, .subscription-note { border: 1px solid rgba(129, 201, 255, 0.14); border-radius: 8px; background: rgba(255, 255, 255, 0.035); padding: 12px; }
.subscription-summary-card p { color: rgba(212, 224, 242, 0.72); line-height: 1.55; }
.subscription-summary-card ul { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.subscription-summary-card li { color: #e8f1ff; font-weight: 800; display: flex; gap: 10px; }
.subscription-summary-card li::before { content: "\2713"; color: #38f0ba; }
.subscription-checkout-card { overflow: hidden; padding: 16px; background: #05070d; }
.subscription-cycle-toggle, .subscription-plan-grid { display: grid; gap: 8px; }
.subscription-cycle-toggle button, .subscription-plan-card { border: 1px solid rgba(255, 255, 255, 0.11); background: rgba(255, 255, 255, 0.04); color: #d7dfec; border-radius: 8px; font-weight: 900; min-height: 40px; }
.subscription-cycle-toggle button.active { background: #edf4ff; color: #121824; }
.subscription-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 4px 2px 16px; margin-bottom: 14px; border-bottom: 1px solid rgba(129, 201, 255, 0.12); }
.subscription-card-heading span, .subscription-card-heading strong { display: block; }
.subscription-card-heading span { color: #62ddff; font-size: 10px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.subscription-card-heading strong { margin-top: 5px; color: #f4f8ff; font-size: 18px; }
.subscription-card-heading small { color: rgba(192, 205, 226, 0.58); font-weight: 800; white-space: nowrap; }
.subscription-cycle-toggle { grid-template-columns: 1fr 1fr; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 999px; padding: 5px; background: rgba(0, 0, 0, 0.22); margin-bottom: 14px; }
.subscription-cycle-toggle button { border-radius: 999px; border: 0; }
.subscription-plan-grid { grid-template-columns: repeat(3, 1fr); margin-bottom: 14px; }
.subscription-bundle-grid { margin-bottom: 22px; }
.subscription-plan-card { text-align: left; padding: 14px; min-height: 136px; cursor: pointer; }
.subscription-plan-card:hover { border-color: rgba(95, 209, 255, 0.48); background: rgba(97, 215, 255, 0.08); }
.subscription-plan-card.active { border-color: rgba(95, 209, 255, 0.95); background: linear-gradient(135deg, rgba(85, 210, 255, 0.28), rgba(94, 119, 255, 0.16)); }
.subscription-plan-card span, .subscription-plan-card small { display: block; color: rgba(177, 190, 213, 0.72); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.08em; }
.subscription-plan-card strong { display: block; margin: 9px 0; color: #f6f9ff; font-size: 18px; }
.subscription-plan-card em { display: block; color: #61e7ff; font-size: 24px; font-style: normal; font-weight: 1000; }
.subscription-pay-button { width: 100%; border: 0; border-radius: 8px; min-height: 48px; font-weight: 1000; background: linear-gradient(135deg, #62d7ff, #6e77ff); color: #07101d; cursor: pointer; margin: 12px 0; }
.subscription-pay-button:disabled { cursor: not-allowed; opacity: 0.55; }
.subscription-note { margin: 10px 0; color: #ffe89c; border-color: rgba(255, 213, 76, 0.28); }
.subscription-note.success { color: #48f0b7; border-color: rgba(72, 240, 183, 0.25); }
.subscription-note.error { color: #ff8da1; border-color: rgba(255, 104, 131, 0.28); }
.subscription-upgrade-card { padding: 18px; border: 1px solid rgba(98, 221, 255, 0.2); border-radius: 8px; background: rgba(98, 221, 255, 0.045); }
.subscription-upgrade-card > span { display: block; color: #62ddff; font-size: 10px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.subscription-upgrade-card > b { display: block; margin-top: 8px; color: #f4f8ff; font-size: 18px; }
.subscription-upgrade-card > p { margin: 14px 0 6px; color: rgba(212, 224, 242, 0.72); font-size: 13px; line-height: 1.55; }
.subscription-upgrade-card > p strong { color: #f4f8ff; }
.subscription-contact { display: flex; justify-content: space-between; gap: 16px; margin: 16px 2px 10px; padding-bottom: 12px; border-bottom: 1px solid rgba(129, 201, 255, 0.1); color: rgba(190, 204, 226, 0.68); font-size: 12px; }
.subscription-contact strong { color: #eef6ff; overflow-wrap: anywhere; }
.payment-element-frame { position: relative; min-height: 128px; padding: 14px; border: 1px solid rgba(129, 201, 255, 0.16); border-radius: 8px; background: #05070d; }
.payment-element-frame.is-loading { display: grid; place-items: center; min-height: 170px; }
.payment-element-loading { color: rgba(207, 219, 237, 0.72); font-size: 13px; font-weight: 800; }
.subscription-checkout-card .subscription-terms { display: grid; grid-template-columns: 16px minmax(0, 1fr); align-items: flex-start; gap: 9px; width: fit-content; max-width: 100%; min-height: 0; margin: 14px 2px 4px; padding: 0; border: 0; background: transparent; box-shadow: none; color: rgba(207, 219, 237, 0.72); font-size: 11px; line-height: 1.45; cursor: pointer; }
.subscription-checkout-card .subscription-terms input[type="checkbox"] { position: static; display: inline-block; width: 16px; height: 16px; min-height: 16px; margin: 0; padding: 0; border-radius: 3px; accent-color: #62dfff; appearance: auto; }
.subscription-checkout-card .subscription-terms span { display: block; }
.subscription-safe-line { display: flex; justify-content: center; align-items: center; gap: 7px; margin: 12px 0 0; text-align: center; }
.billing-panels { display: grid; gap: 16px; }
.billing-panel { padding: 22px 24px; border: 1px solid rgba(129, 201, 255, 0.13); border-radius: 8px; background: rgba(13, 17, 24, 0.86); box-shadow: 0 18px 54px rgba(0, 0, 0, 0.22); }
.billing-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.billing-panel-head h3 { margin: 0 0 8px; color: #eff6ff; font: 900 18px/1.15 Archivo, sans-serif; letter-spacing: 0; }
.billing-panel-head p { margin: 0; color: rgba(189, 202, 222, 0.66); font-size: 13px; line-height: 1.45; }
.billing-list { display: grid; gap: 9px; }
.billing-empty-state { min-height: 48px; display: grid; align-content: center; gap: 5px; color: rgba(196, 209, 229, 0.68); font-size: 13px; }
.billing-empty-state small { color: rgba(126, 143, 166, 0.78); font-size: 11px; }
.billing-history-row, .billing-payment-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; align-items: center; min-height: 58px; padding: 12px 14px; border: 1px solid rgba(129, 201, 255, 0.1); border-radius: 7px; background: rgba(2, 7, 13, 0.52); }
.billing-payment-row { grid-template-columns: minmax(0, 1fr) auto; }
.billing-history-row b, .billing-payment-row b { display: block; color: #eff6ff; font-size: 13px; line-height: 1.2; }
.billing-history-row span, .billing-payment-row span { display: block; margin-top: 5px; color: rgba(155, 171, 195, 0.78); font-size: 11px; }
.billing-history-row strong, .billing-payment-row strong { color: #67ddff; font-size: 12px; white-space: nowrap; }
.billing-history-row a, .billing-history-row em, .billing-secondary-button { min-height: 32px; display: inline-grid; place-items: center; padding: 0 12px; border: 1px solid rgba(129, 201, 255, 0.2); border-radius: 7px; background: rgba(255, 255, 255, 0.04); color: #dbe7f8; font-size: 11px; font-style: normal; font-weight: 900; text-decoration: none; white-space: nowrap; }
.billing-history-row a:hover, .billing-secondary-button:hover { border-color: rgba(99, 222, 255, 0.4); background: rgba(97, 215, 255, 0.1); color: #fff; }
.billing-secondary-button { width: fit-content; margin-top: 14px; cursor: pointer; }
.billing-secondary-button:disabled { cursor: not-allowed; opacity: 0.55; }
.billing-danger-button { border-color: rgba(255, 104, 131, 0.34); color: #ffd8df; background: rgba(255, 104, 131, 0.07); }
.billing-danger-button:hover { border-color: rgba(255, 104, 131, 0.58); background: rgba(255, 104, 131, 0.13); color: #fff; }
.billing-cancel-copy { display: block; max-width: 620px; color: rgba(218, 226, 239, 0.62); font-size: 11px; line-height: 1.45; }
.billing-current-card { display: grid; gap: 8px; padding: 16px; border: 1px solid rgba(99, 222, 255, 0.18); border-radius: 8px; background: linear-gradient(135deg, rgba(74, 201, 221, 0.13), rgba(88, 122, 255, 0.08)); }
.billing-current-card span { color: #67ddff; font-size: 10px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.billing-current-card b { color: #f3f8ff; font-size: 17px; }
.billing-current-card p { margin: 0; color: rgba(196, 209, 229, 0.7); font-size: 12px; line-height: 1.45; }
.dashboard.community-mode .community-workspace-content .billing-panel h3 { background: none!important; color: #eff6ff!important; -webkit-text-fill-color: #eff6ff; }
.dashboard.community-mode.billing-workspace-mode,
.dashboard.community-mode.billing-workspace-mode.dm-mode,
.dashboard.community-mode.billing-workspace-mode.channels-collapsed,
.dashboard.community-mode.billing-workspace-mode.members-collapsed,
.dashboard.community-mode.billing-workspace-mode.channels-collapsed.members-collapsed {
  grid-template-columns: minmax(0, 1fr)!important;
}
.dashboard.community-mode.billing-workspace-mode .sidebar,
.dashboard.community-mode.billing-workspace-mode .members-panel {
  display: none!important;
}
@media (max-width: 960px) {
  .billing-layout, .subscription-grid, .subscription-plan-grid, .subscription-summary-card dl { grid-template-columns: 1fr; }
  .subscription-shell { padding: 20px 12px 32px; }
  .billing-local-nav { position: static; grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .billing-local-nav span { grid-column: 1 / -1; }
  .subscription-card-heading { align-items: flex-start; }
  .subscription-contact { display: block; }
  .subscription-contact strong { display: block; margin-top: 4px; }
}
@media (max-width: 680px) {
  .subscription-workspace { overflow-x: hidden; }
  .subscription-workspace .workspace-content { padding: 7px; background-size: 28px 28px; }
  .subscription-shell { padding: 8px 0 16px; }
  .subscription-crumbs { display: none; }
  .billing-layout, .billing-main, .billing-panels { gap: 10px; }
  .billing-local-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 10px; gap: 5px; }
  .billing-local-nav button { min-height: 34px; padding: 0 9px; font-size: 11px; }
  .subscription-grid { gap: 10px; }
  .subscription-grid > * { min-width: 0; }
  .subscription-summary-card,
  .subscription-checkout-card { min-width: 0; padding: 12px; border-radius: 8px; box-shadow: none; }
  .subscription-logo-row { gap: 9px; margin-bottom: 10px; }
  .subscription-logo-row .qc-brand-mark { width: 32px; height: 32px; flex-basis: 32px; }
  .subscription-brand-copy b { font-size: 15px; margin-bottom: 5px; }
  .subscription-logo-row strong { font-size: 12px; }
  .subscription-logo-row small,
  .subscription-summary-card dt,
  .subscription-safe-line { font-size: 10px; }
  .subscription-price-line { gap: 7px; margin-bottom: 12px; }
  .subscription-price-line strong { font-size: 38px; letter-spacing: 0; }
  .subscription-price-line span,
  .subscription-summary-card dd { font-size: 13px; line-height: 1.15; }
  .subscription-summary-card dl { gap: 8px; margin-bottom: 12px; }
  .subscription-summary-card dl div,
  .subscription-note { padding: 9px 10px; border-radius: 7px; }
  .subscription-summary-card p { margin: 0; font-size: 12px; line-height: 1.45; }
  .subscription-summary-card ul { gap: 9px; margin-top: 12px; }
  .subscription-summary-card li { gap: 8px; font-size: 12px; line-height: 1.25; }
  .subscription-card-heading { padding: 0 0 10px; margin-bottom: 10px; }
  .subscription-card-heading span { font-size: 8px; letter-spacing: 0.12em; }
  .subscription-card-heading strong { margin-top: 4px; font-size: 17px; line-height: 1.08; }
  .subscription-card-heading small { display: none; }
  .subscription-cycle-toggle { gap: 4px; padding: 4px; margin-bottom: 10px; }
  .subscription-cycle-toggle button { min-height: 34px; font-size: 12px; line-height: 1.05; padding: 0 8px; }
  .subscription-plan-grid { gap: 8px; margin-bottom: 10px; }
  .subscription-bundle-grid { grid-template-columns: 1fr; }
  .subscription-plan-card { min-height: auto; padding: 10px 11px; }
  .subscription-plan-card span,
  .subscription-plan-card small { font-size: 8px; letter-spacing: 0.08em; }
  .subscription-plan-card strong { margin: 6px 0; font-size: 15px; line-height: 1.1; }
  .subscription-plan-card em { font-size: 24px; line-height: 1; }
  .subscription-contact { margin: 10px 0 8px; padding-bottom: 8px; font-size: 10px; }
  .payment-element-frame { min-height: 100px; padding: 9px; border-radius: 7px; }
  .payment-element-frame.is-loading { min-height: 112px; }
  .payment-element-loading { font-size: 11px; }
  .subscription-checkout-card .subscription-terms { grid-template-columns: 14px minmax(0, 1fr); gap: 7px; margin: 10px 0 4px; font-size: 9.5px; }
  .subscription-checkout-card .subscription-terms input[type="checkbox"] { width: 14px; height: 14px; min-height: 14px; }
  .subscription-pay-button { min-height: 42px; margin: 10px 0; border-radius: 7px; font-size: 12px; }
  .subscription-safe-line { margin-top: 9px; gap: 5px; font-size: 9.5px; }
  .billing-panel { padding: 13px; border-radius: 8px; }
  .billing-panel-head { margin-bottom: 12px; }
  .billing-panel-head h3 { font-size: 16px; }
  .billing-panel-head p, .billing-empty-state { font-size: 11px; }
  .billing-history-row { grid-template-columns: 1fr; align-items: start; gap: 7px; }
  .billing-payment-row { grid-template-columns: 1fr auto; gap: 8px; }
  .billing-history-row a, .billing-history-row em, .billing-secondary-button { width: fit-content; min-height: 30px; font-size: 10px; }
}
@media (max-width: 420px) {
  .subscription-workspace .workspace-content { padding: 6px; }
  .subscription-summary-card,
  .subscription-checkout-card { padding: 11px; }
  .billing-local-nav { grid-template-columns: 1fr; }
  .subscription-price-line strong { font-size: 34px; }
  .subscription-card-heading strong { font-size: 16px; }
  .subscription-plan-card strong { font-size: 14px; }
  .subscription-plan-card em { font-size: 22px; }
}

@media (max-width: 680px) {
  .trial-upgrade-cta {
    box-sizing: border-box;
    width: 72px;
    max-width: 72px;
    min-height: 66px;
    margin: 0 auto 8px;
    padding: 7px 5px;
    display: grid;
    grid-template-columns: 1fr;
    place-items: center;
    gap: 3px;
    overflow: hidden;
    border-radius: 12px;
    text-align: center;
  }

  .trial-upgrade-cta span {
    max-width: 60px;
    overflow: hidden;
    color: #67e8ff !important;
    font-size: 6.4px;
    line-height: 1;
    letter-spacing: .09em;
    white-space: nowrap;
    text-overflow: clip;
  }

  .trial-upgrade-cta strong {
    max-width: 60px;
    color: #f7fbff !important;
    font-size: 10px;
    line-height: 1.02;
    white-space: normal;
    text-shadow: none;
  }

  .trial-upgrade-cta em {
    justify-self: center;
    max-width: 61px;
    padding: 4px 6px;
    overflow: hidden;
    color: #dff9ff !important;
    font-size: 8px;
    line-height: 1;
    text-overflow: clip;
    box-shadow: none;
  }
}

@media (max-width: 420px) {
  .trial-upgrade-cta {
    width: 68px;
    max-width: 68px;
    min-height: 62px;
    padding: 6px 4px;
  }

  .trial-upgrade-cta span,
  .trial-upgrade-cta strong,
  .trial-upgrade-cta em {
    max-width: 56px;
  }

  .trial-upgrade-cta strong {
    font-size: 9.5px;
  }

  .trial-upgrade-cta em {
    font-size: 7.5px;
    padding: 4px 5px;
  }
}

/* Strategy Factory-inspired workspace */
.dashboard.workspace-mode{
  background:#f7f8fb;
  color:#111827;
}
.dashboard.workspace-mode .sidebar{
  border-color:#e5e7eb;
  background:#fff;
  box-shadow:none;
}
.dashboard.workspace-mode .side-top{
  border-bottom-color:#e5e7eb;
}
.dashboard.workspace-mode .portal-nav-item{
  border-color:transparent;
  background:transparent;
  color:#111827;
}
.dashboard.workspace-mode .portal-nav-item:hover,
.dashboard.workspace-mode .portal-nav-item.active{
  border-color:#d1d5db;
  background:#f7f7f8;
  color:#0f172a;
  box-shadow:inset 0 0 0 1px #d1d5db;
}
.dashboard.workspace-mode .portal-nav-icon{
  border-color:#e5e7eb;
  background:#fff;
  color:#111827;
}
.dashboard.workspace-mode .workspace-head{
  border-bottom-color:#e5e7eb;
  background:#fff;
}
.dashboard.workspace-mode .workspace-kicker,
.dashboard.workspace-mode .workspace-card-kicker{
  color:#0369a1;
}
.dashboard.workspace-mode .workspace-head h1{
  color:#111827;
}
.dashboard.workspace-mode .workspace-head p{
  color:#6b7280;
}
.dashboard.workspace-mode .workspace-content{
  background:#f7f8fb;
  scrollbar-color:rgba(148,155,164,.62) transparent;
}
.dashboard.workspace-mode .workspace-access-badge,
.dashboard.workspace-mode .workspace-secondary-btn,
.dashboard.workspace-mode .workspace-text-action{
  border-color:#dbeafe;
  background:#eff6ff;
  color:#075985;
}
.dashboard.workspace-mode .workspace-text-action:hover,
.dashboard.workspace-mode .workspace-secondary-btn:hover{
  border-color:#93c5fd;
  background:#dbeafe;
  color:#0f172a;
}
.sf-dashboard-shell,
.sf-library-page{
  display:grid;
  gap:18px;
}
.sf-pulse-card,
.sf-filter-card,
.sf-table-card,
.sf-quick-card,
.sf-model-card{
  border:1px solid #e5e7eb;
  border-radius:18px;
  background:#fff;
  box-shadow:0 10px 30px rgba(15,23,42,.07);
}
.sf-pulse-card{
  padding:28px;
  background:
    radial-gradient(circle at 12% 14%,rgba(186,230,253,.58),transparent 36%),
    radial-gradient(circle at 90% 92%,rgba(251,207,232,.55),transparent 34%),
    #fff;
}
.sf-pulse-head,
.sf-section-row,
.sf-page-title,
.sf-table-meta,
.sf-quick-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
}
.sf-chip{
  display:inline-flex;
  align-items:center;
  min-height:24px;
  padding:0 12px;
  border:1px solid #bae6fd;
  border-radius:999px;
  background:#eff6ff;
  color:#0369a1;
  font:800 11px/1 Inter,system-ui,sans-serif;
}
.sf-pulse-head h2,
.sf-page-title h2{
  margin:14px 0 6px;
  color:#020617;
  font:900 27px/1.05 Archivo,sans-serif;
  letter-spacing:0;
}
.sf-pulse-head p,
.sf-page-title p,
.sf-section-row p{
  margin:0;
  color:#64748b;
  font-size:13px;
  line-height:1.45;
}
.sf-universe{
  min-width:94px;
  padding:13px 15px;
  border:1px solid #bae6fd;
  border-radius:18px;
  background:rgba(255,255,255,.78);
  text-align:center;
}
.sf-universe span,
.sf-panel-label,
.sf-model-stats span,
.sf-stat-box span,
.sf-selected-label{
  display:block;
  color:#64748b;
  font-size:11px;
}
.sf-universe b{
  display:block;
  margin-top:4px;
  color:#020617;
  font:900 22px/1 Archivo,sans-serif;
}
.sf-pulse-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(260px,1fr);
  gap:16px;
  margin-top:24px;
}
.sf-mini-panel{
  min-height:245px;
  padding:18px;
  border:1px solid #bae6fd;
  border-radius:15px;
  background:rgba(255,255,255,.72);
}
.sf-donut{
  width:min(190px,80%);
  aspect-ratio:1;
  display:grid;
  place-items:center;
  margin:24px auto 0;
  border-radius:50%;
  background:conic-gradient(#bd4df4 calc(var(--value) * 1%), #38bdf8 0 76%, #e5e7eb 0);
  position:relative;
}
.sf-donut::after{
  content:"";
  position:absolute;
  inset:18px;
  border-radius:inherit;
  background:#fff;
}
.sf-donut b{
  position:relative;
  z-index:1;
  color:#020617;
  font:900 25px/1 Archivo,sans-serif;
}
.sf-pair-list{
  display:grid;
  gap:13px;
  margin-top:19px;
}
.sf-pair-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(120px,1.4fr) auto;
  gap:12px;
  align-items:center;
}
.sf-pair-row b,
.sf-pair-row span{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.sf-pair-row b{
  color:#0f172a;
  font-size:12px;
}
.sf-pair-row span{
  color:#64748b;
  font-size:10px;
}
.sf-pair-row i{
  height:8px;
  overflow:hidden;
  border-radius:999px;
  background:#f1f5f9;
}
.sf-pair-row i span{
  height:100%;
  display:block;
  border-radius:inherit;
  background:linear-gradient(90deg,#06b6d4,#e879f9);
}
.sf-pair-row strong{
  color:#475569;
  font-size:11px;
}
.sf-radar-panel{
  background:linear-gradient(140deg,rgba(255,255,255,.76),rgba(253,242,248,.85));
}
.sf-radar{
  position:relative;
  width:210px;
  max-width:100%;
  aspect-ratio:1;
  margin:20px auto 0;
  border-radius:50%;
  background:
    repeating-radial-gradient(circle,transparent 0 25px,rgba(14,165,233,.16) 26px 27px),
    linear-gradient(90deg,transparent 49.5%,rgba(14,165,233,.16) 50%,transparent 50.5%),
    linear-gradient(0deg,transparent 49.5%,rgba(14,165,233,.16) 50%,transparent 50.5%);
}
.sf-radar span{
  position:absolute;
  left:var(--x);
  top:var(--y);
  width:9px;
  height:9px;
  border-radius:50%;
  background:#22d3ee;
  box-shadow:0 0 14px rgba(34,211,238,.5);
}
.sf-radar span:nth-child(even){
  background:#f97316;
}
.sf-radar i{
  position:absolute;
  left:50%;
  top:50%;
  width:10px;
  height:10px;
  margin:-5px 0 0 -5px;
  border-radius:50%;
  background:#67e8f9;
}
.sf-ticker{
  display:flex;
  gap:9px;
  margin-top:18px;
  overflow-x:auto;
  padding-bottom:2px;
}
.sf-ticker span{
  flex:0 0 auto;
  padding:8px 12px;
  border:1px solid #bae6fd;
  border-radius:999px;
  background:#f0f9ff;
  color:#0f172a;
  font:700 12px/1 Inter,system-ui,sans-serif;
}
.sf-dashboard-lower{
  display:grid;
  grid-template-columns:minmax(0,1fr) 330px;
  gap:18px;
  align-items:start;
}
.sf-section-row{
  margin-bottom:12px;
}
.sf-section-row h3{
  margin:0 0 5px;
  color:#020617;
  font:900 18px/1.1 Archivo,sans-serif;
}
.sf-link-btn,
.sf-ghost-btn,
.sf-view-btn,
.sf-copy-btn{
  min-height:38px;
  border:1px solid #e5e7eb;
  border-radius:12px;
  background:#fff;
  color:#020617;
  font-weight:850;
}
.sf-link-btn,
.sf-ghost-btn{
  padding:0 14px;
}
.sf-view-btn,
.sf-copy-btn{
  align-items:center;
  justify-content:center;
  padding:0 16px;
  text-align:center;
  line-height:1;
  white-space:nowrap;
}
.sf-view-btn{
  display:inline-flex;
}
.sf-copy-btn{
  width:100%;
  display:inline-flex;
  margin-top:12px;
  border-color:#d946ef;
  background:#d946ef;
  color:#fff;
}
.sf-link-btn:hover,
.sf-ghost-btn:hover,
.sf-view-btn:hover{
  border-color:#93c5fd;
  background:#eff6ff;
}
.sf-copy-btn:hover{
  background:#c026d3;
}
.sf-card-row{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.sf-model-card{
  overflow:hidden;
}
.sf-model-chart{
  height:140px;
  border-bottom:1px solid #e5e7eb;
  background:linear-gradient(180deg,#fff,#f0fdf4);
}
.sf-model-chart .model-chart-image,.sf-row-equity .model-chart-image{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.sf-model-chart .strategy-line,
.sf-row-equity .strategy-line{
  stroke:#00df66;
  filter:drop-shadow(0 0 8px rgba(0,223,102,.25));
}
.sf-model-chart .strategy-area,
.sf-row-equity .strategy-area{
  fill:rgba(0,223,102,.1);
}
.sf-model-chart .strategy-point,
.sf-row-equity .strategy-point{
  fill:#00df66;
  stroke:#dcfce7;
}
.sf-model-card-body{
  padding:16px;
}
.sf-model-card-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.sf-model-card h3{
  margin:0 0 9px;
  color:#020617;
  font:900 15px/1.2 Archivo,sans-serif;
}
.sf-model-id{
  display:inline-flex;
  align-items:center;
  min-height:22px;
  margin:0 0 8px;
  padding:0 8px;
  border:1px solid rgba(84,223,255,.32);
  border-radius:999px;
  color:#56dfff;
  background:rgba(84,223,255,.08);
  font:900 10px/1 Archivo,sans-serif;
  letter-spacing:.04em;
}
.sf-status-pill{
  flex:0 0 auto;
  padding:7px 10px;
  border:1px solid #bbf7d0;
  border-radius:999px;
  background:#ecfdf5;
  color:#047857;
  font-size:11px;
  font-weight:850;
}
.sf-model-tags{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}
.sf-model-tags span{
  padding:5px 8px;
  border:1px solid #e5e7eb;
  border-radius:999px;
  color:#64748b;
  font-size:11px;
}
.sf-model-stats{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  margin-top:15px;
}
.sf-model-stats div,
.sf-stat-box,
.sf-tip-box{
  padding:12px;
  border:1px solid #e5e7eb;
  border-radius:12px;
  background:#fff;
}
.sf-model-stats b,
.sf-stat-box b{
  display:block;
  margin-top:5px;
  color:#020617;
  font:900 18px/1 Archivo,sans-serif;
}
.sf-quick-card{
  padding:22px;
}
.sf-quick-head{
  align-items:center;
}
.sf-quick-head b{
  color:#020617;
}
.sf-quick-head span{
  padding:7px 10px;
  border:1px solid #ede9fe;
  border-radius:999px;
  background:#faf5ff;
  color:#6d28d9;
  font-size:11px;
}
.sf-stat-box{
  margin-top:18px;
}
.sf-stat-box b{
  font-size:34px;
}
.sf-stat-box small{
  display:block;
  margin-top:8px;
  color:#64748b;
}
.sf-tip-box{
  margin-top:14px;
  background:linear-gradient(135deg,#fff,#eff6ff);
}
.sf-tip-box span{
  color:#2563eb;
  font-weight:850;
}
.sf-tip-box p{
  margin:10px 0 0;
  color:#0f172a;
  font-size:13px;
  line-height:1.45;
}
.sf-filter-card{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
  padding:18px;
}
.sf-search-box{
  min-height:48px;
  display:flex;
  align-items:center;
  gap:14px;
  padding:0 18px;
  border:1px solid #e5e7eb;
  border-radius:12px;
  color:#64748b;
  background:#fff;
  box-shadow:none;
}
.sf-search-box span{
  color:#94a3b8;
  font:900 11px/1 "JetBrains Mono",monospace;
  letter-spacing:.18em;
  text-transform:uppercase;
}
.sf-search-box input{
  width:100%;
  border:0;
  outline:0;
  background:transparent;
  color:inherit;
  font:inherit;
  font-weight:700;
}
.sf-search-box input::placeholder{
  color:currentColor;
  opacity:.72;
}
.sf-filter-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-start;
  gap:10px;
}
.sf-filter-group{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:7px;
  min-height:42px;
  padding:5px 6px 5px 12px;
  border:1px solid #e5e7eb;
  border-radius:999px;
  background:#fff;
}
.sf-filter-group > span{
  margin-right:3px;
  color:#64748b;
  font:900 10px/1 "JetBrains Mono",monospace;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.sf-filter-actions button,
.sf-filter-select{
  min-height:38px;
  padding:0 14px;
  border:1px solid #e5e7eb;
  border-radius:999px;
  background:#fff;
  color:#111827;
  font-weight:800;
}
.sf-filter-select{
  appearance:none;
  cursor:pointer;
}
.sf-filter-actions button.active{
  border-color:#d8b4fe;
  background:linear-gradient(90deg,#60a5fa,#d946ef);
  color:#fff;
}
.sf-filter-card p{
  grid-column:1/-1;
  margin:4px 0 0;
  color:#64748b;
  font-size:12px;
}
.sf-table-card{
  overflow:hidden;
}
.sf-table-meta{
  padding:18px 20px;
  border-bottom:1px solid #e5e7eb;
  color:#64748b;
  font-size:13px;
}
.sf-table-meta b{
  color:#020617;
}
.sf-table-scroll{
  overflow:auto;
}
.sf-empty-row{
  padding:18px;
  color:#8294ad;
  font-weight:800;
  text-align:center;
}
.sf-model-table{
  width:100%;
  min-width:1080px;
  border-collapse:collapse;
  font-size:13px;
}
.sf-model-table th,
.sf-model-table td{
  padding:12px 13px;
  border-bottom:1px solid #e5e7eb;
  text-align:left;
  white-space:nowrap;
}
.sf-model-table th{
  color:#020617;
  background:#fff;
  font-weight:900;
}
.sf-model-row{
  cursor:pointer;
}
.sf-model-row:hover{
  background:#f8fafc;
}
.sf-row-name{
  display:grid;
  gap:4px;
  min-width:220px;
  border:0;
  background:transparent;
  color:#020617;
  text-align:left;
  font:inherit;
}
.sf-row-name b{
  font:900 13px/1.15 Archivo,sans-serif;
}
.sf-row-name span{
  color:#64748b;
  font-size:11px;
}
.sf-row-id{
  display:inline-flex;
  min-width:50px;
  justify-content:center;
  padding:6px 8px;
  border:1px solid rgba(84,223,255,.24);
  border-radius:7px;
  color:#7eeaff;
  background:rgba(84,223,255,.08);
  font:900 11px/1 Archivo,sans-serif;
}
.sf-row-equity{
  width:150px;
  height:44px;
  overflow:hidden;
}
.sf-metric-pill,
.sf-pf-pill{
  display:inline-flex;
  min-width:72px;
  justify-content:center;
  padding:7px 10px;
  border-radius:8px;
  color:#fff;
  font-weight:900;
}
.sf-metric-pill.positive,
.sf-pf-pill{
  background:linear-gradient(90deg,#93c5fd,#3b82f6);
  box-shadow:0 5px 15px rgba(59,130,246,.25);
}
.sf-metric-pill.negative{
  background:linear-gradient(90deg,#f9a8d4,#ec4899);
}
.sf-metric-pill.drawdown{
  background:linear-gradient(90deg,#ff7a96,#ef476f);
  box-shadow:0 5px 15px rgba(239,71,111,.2);
}
.model-library-shell{
  padding:0;
}
.model-library-shell>.sf-library-page,
.model-library-shell>.model-result-lab{
  margin:0;
}
.model-result-lab{
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  padding:0;
}
.model-detail-shell{
  color:#dbeafe;
}
.model-detail-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}
.model-detail-toolbar span{
  color:#64748b;
  font-size:12px;
}
.dashboard.workspace-mode .model-back-button{
  width:max-content;
  background:#fff;
}
.model-detail-layout{
  display:grid;
  grid-template-columns:minmax(0,1.45fr) minmax(320px,.85fr);
  gap:14px;
}
.model-detail-layout-single{
  grid-template-columns:1fr;
}
.model-curve-card,
.model-selected-panel{
  min-width:0;
  border:1px solid #23415f;
  border-radius:8px;
  background:#0b1d31;
  box-shadow:0 16px 44px rgba(15,23,42,.18);
}
.model-curve-card{
  padding:14px;
}
.model-detail-title h2{
  margin:7px 0 6px;
  color:#f8fafc;
  font:900 20px/1.08 Archivo,sans-serif;
}
.model-detail-title p,
.model-result-id{
  margin:0;
  color:#9fb3ca;
  font-size:12px;
  line-height:1.4;
}
.model-primary-metrics,
.model-income-summary{
  display:grid;
  gap:7px;
}
.model-primary-metrics{
  grid-template-columns:repeat(5,minmax(0,1fr));
  margin:12px 0 0;
}
.model-income-summary{
  grid-template-columns:repeat(4,minmax(0,1fr));
  margin:12px 0;
}
.model-primary-metrics div,
.model-income-summary div,
.model-selected-grid div{
  border-color:#23415f;
  background:#071525;
}
.model-primary-metrics span,
.model-primary-metrics b{
  display:block;
}
.model-primary-metrics span{
  color:#8fa7c2;
  font-size:8px;
  font-weight:900;
  text-transform:uppercase;
}
.model-primary-metrics b{
  margin-top:6px;
  color:#eaf6ff;
  font-size:12px;
}
.model-income-summary b,
.model-selected-grid b{
  color:#eaf6ff;
}
.model-primary-metrics b.negative,
.model-income-summary b.negative,
.model-selected-grid b.negative{
  color:#fb7185;
}
.model-primary-metrics b.positive,
.model-income-summary b.positive,
.model-selected-grid b.positive{
  color:#2ff0c8;
}
.model-selected-panel{
  padding:14px;
}
.model-selected-panel-wide{
  width:100%;
  display:grid;
  gap:12px;
  background:linear-gradient(180deg,#0b1724,#08111d);
}
.model-selected-wide-top{
  display:grid;
  grid-template-columns:minmax(220px,1fr) minmax(560px,1.35fr) minmax(220px,1fr);
  align-items:end;
  gap:12px;
}
.model-selected-panel-wide .model-selected-head{
  grid-column:1;
}
.model-selected-panel-wide .model-selected-head p{
  margin-bottom:0;
}
.model-selected-panel-wide .model-risk-control{
  margin:0;
}
.model-selected-panel-wide .model-risk-toolbar{
  grid-column:2;
  justify-self:center;
  width:min(760px,100%);
}
.model-selected-panel-wide .model-detail-actions{
  align-self:end;
}
.model-selected-panel-wide .strategy-action{
  min-height:36px;
  white-space:nowrap;
}
.model-selected-panel-wide .model-selected-grid{
  grid-template-columns:repeat(5,minmax(118px,1fr));
}
.model-selected-head h3{
  margin:7px 0 6px;
  color:#f8fafc;
  font:900 18px/1.1 Archivo,sans-serif;
}
.model-selected-head p{
  margin:0 0 12px;
  color:#9fb3ca;
  font-size:12px;
}
.model-selected-panel .model-risk-control{
  width:100%;
  margin:0 0 10px;
}
.model-risk-toolbar{
  width:min(460px,100%);
  display:grid;
  grid-template-columns:minmax(132px,1.08fr) minmax(82px,.72fr) auto;
  align-items:end;
  gap:8px;
  margin:0;
}
.model-risk-toolbar label{
  display:grid;
  gap:5px;
}
.model-risk-toolbar input{
  margin:0;
}
.model-risk-apply{
  min-height:36px;
  white-space:nowrap;
}
.model-risk-toolbar small{
  grid-column:1/-1;
  color:#7f91aa;
  font-size:10px;
  font-weight:800;
}
.model-result-id{
  margin-bottom:10px;
}
.model-selected-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}
.model-selected-grid div{
  min-width:0;
  padding:10px;
  border:1px solid #23415f;
  border-radius:7px;
}
.model-primary-metrics div{
  min-width:0;
  padding:10px;
  border:1px solid #23415f;
  border-radius:7px;
}
.model-selected-grid span{
  display:block;
  color:#8fa7c2;
  font-size:9px;
  font-weight:900;
  text-transform:uppercase;
}
.model-selected-grid b{
  display:block;
  margin-top:6px;
  overflow-wrap:anywhere;
  font-size:13px;
}
.model-funded-table{
  border-color:#23415f;
  background:#0b1d31;
}
.model-funded-head{
  border-bottom-color:#23415f;
}
.model-funded-head b{
  text-transform:none;
}
.model-funded-table th{
  background:#0d2239;
}
.model-funded-table tr.pass td{
  color:#2ff0c8;
}
.model-funded-table tr.fail td{
  color:#fb7185;
}
@media(max-width:1180px){
  .sf-pulse-grid,
  .sf-dashboard-lower,
  .model-detail-layout{
    grid-template-columns:1fr;
  }
  .model-primary-metrics{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}
@media(max-width:760px){
  .sf-pulse-card,
  .sf-filter-card,
  .sf-quick-card{
    border-radius:12px;
    padding:14px;
  }
  .sf-pulse-head,
  .sf-section-row,
  .sf-page-title,
  .sf-table-meta,
  .model-detail-toolbar{
    align-items:flex-start;
    flex-direction:column;
  }
  .sf-pulse-grid,
  .sf-card-row,
  .sf-filter-card,
  .model-downloads-grid,
  .model-selected-grid,
  .model-primary-metrics{
    grid-template-columns:1fr;
  }
  .sf-filter-actions{
    justify-content:flex-start;
  }
  .sf-pair-row{
    grid-template-columns:1fr;
  }
  .sf-row-equity{
    width:120px;
  }
  .model-curve-card,
  .model-selected-panel{
    border-radius:8px;
    padding:10px;
  }
}

/* KopLabs theme restore for the new strategy screens */
.dashboard.workspace-mode{
  background:#050a13;
  color:var(--txt);
}
.dashboard.workspace-mode .sidebar{
  border-color:rgba(115,148,199,.16);
  background:#080f1c;
  box-shadow:0 22px 64px rgba(0,0,0,.22);
}
.dashboard.workspace-mode .side-top{
  border-bottom-color:rgba(115,148,199,.12);
}
.dashboard.workspace-mode .portal-nav-item{
  border-color:transparent;
  background:transparent;
  color:#98a8bf;
}
.dashboard.workspace-mode .portal-nav-item:hover{
  border-color:rgba(111,172,255,.13);
  background:#0d192a;
  color:#eaf2ff;
  box-shadow:none;
}
.dashboard.workspace-mode .portal-nav-item.active{
  border-color:rgba(69,203,255,.24);
  background:#10243b;
  color:#f6fbff;
  box-shadow:inset 3px 0 0 #37d5ff;
}
.dashboard.workspace-mode .portal-nav-icon{
  border-color:rgba(115,148,199,.17);
  background:#0a1423;
  color:#6ddfff;
}
.dashboard.workspace-mode .workspace-head{
  border-bottom-color:rgba(115,148,199,.13);
  background:#080f1c;
}
.dashboard.workspace-mode .workspace-kicker,
.dashboard.workspace-mode .workspace-card-kicker{
  color:#48dcff;
}
.dashboard.workspace-mode .workspace-head h1,
.sf-page-title h2,
.sf-section-row h3,
.sf-model-card h3,
.sf-quick-head b,
.model-detail-title h2,
.model-selected-head h3{
  color:#f5f8ff;
}
.dashboard.workspace-mode .workspace-head p,
.sf-page-title p,
.sf-section-row p,
.sf-filter-card p,
.model-detail-title p,
.model-detail-toolbar span,
.model-result-id,
.model-selected-head p{
  color:#7f91aa;
}
.dashboard.workspace-mode .workspace-content{
  background:
    linear-gradient(rgba(70,115,176,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(70,115,176,.035) 1px,transparent 1px),
    #07101e;
  background-size:40px 40px;
  scrollbar-color:rgba(148,155,164,.62) transparent;
}
.dashboard.workspace-mode .workspace-access-badge{
  border-color:rgba(64,216,255,.22);
  background:#0a2031;
  color:#8cecff;
}
.dashboard.workspace-mode .workspace-secondary-btn,
.dashboard.workspace-mode .workspace-text-action,
.dashboard.workspace-mode .model-back-button,
.sf-link-btn,
.sf-ghost-btn,
.sf-view-btn,
.sf-copy-btn{
  border:1px solid rgba(115,148,199,.19);
  border-radius:6px;
  background:#101a2b;
  color:#e7eefb;
  box-shadow:none;
}
.dashboard.workspace-mode .workspace-secondary-btn:hover,
.dashboard.workspace-mode .workspace-text-action:hover,
.dashboard.workspace-mode .model-back-button:hover,
.sf-link-btn:hover,
.sf-ghost-btn:hover,
.sf-view-btn:hover{
  border-color:rgba(77,205,255,.38);
  background:#13233a;
  color:#fff;
}
.sf-copy-btn{
  border-color:rgba(62,211,255,.3);
  background:#1d9bd0;
  color:#04101b;
}
.sf-copy-btn:hover{
  border-color:#7de7ff;
  background:#53dcff;
  color:#03101b;
}
.sf-dashboard-shell,
.sf-library-page,
.model-detail-shell{
  color:var(--txt);
  font-family:inherit;
}
.sf-pulse-card,
.sf-filter-card,
.sf-table-card,
.sf-model-card,
.sf-quick-card,
.model-curve-card,
.model-selected-panel,
.model-funded-table{
  border:1px solid rgba(115,148,199,.16);
  border-radius:8px;
  background:#0a1322;
  box-shadow:0 14px 40px rgba(0,0,0,.16);
  color:var(--txt);
}
.sf-pulse-card{
  background:linear-gradient(120deg,rgba(10,31,52,.96),rgba(8,17,31,.96) 58%,rgba(13,42,62,.88));
}
.sf-chip,
.sf-panel-label{
  color:#48dcff;
  font:900 9px/1.2 "JetBrains Mono",monospace;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.sf-pulse-head h2{
  color:#f5f8ff;
  font-family:Archivo,sans-serif;
}
.sf-pulse-head p,
.sf-model-tags span,
.sf-model-stats span,
.sf-stat-box small,
.sf-tip-box p,
.sf-row-name span,
.sf-table-meta,
.sf-model-table td,
.model-selected-grid span,
.model-income-grid span{
  color:#8294ad;
}
.sf-universe,
.sf-mini-panel,
.sf-model-stats div,
.sf-stat-box,
.sf-tip-box,
.sf-search-box,
.sf-filter-group,
.sf-filter-actions button,
.sf-filter-select,
.model-income-summary div,
.model-selected-grid div{
  border:1px solid rgba(115,148,199,.14);
  border-radius:7px;
  background:#081321;
  color:#dce8f6;
  box-shadow:none;
}
.sf-filter-group > span{
  color:#6d7f99;
}
.sf-universe b,
.sf-donut b,
.sf-model-stats b,
.sf-stat-box b,
.sf-table-meta b,
.sf-row-name,
.sf-row-name b,
.sf-model-table th,
.sf-model-table td,
.model-income-summary b,
.model-selected-grid b{
  color:#f2f7ff;
}
.sf-universe span,
.sf-selected-label{
  color:#6f8199;
}
.sf-donut{
  background:conic-gradient(#54f6c9 calc(var(--value) * 1%), #24354d 0);
}
.sf-donut::after{
  background:#081321;
}
.sf-pair-row i{
  background:#17263a;
}
.sf-pair-row i span{
  background:linear-gradient(90deg,#279bdb,#55e2c1);
}
.sf-pair-row strong{
  color:#6ce1ff;
}
.sf-radar{
  background:radial-gradient(circle at 50% 50%,rgba(84,246,201,.08),transparent 36%);
}
.sf-radar::before{
  background:repeating-radial-gradient(circle at 50% 50%,transparent 0 24px,rgba(115,148,199,.12) 25px 26px);
}
.sf-radar::after{
  background:linear-gradient(90deg,transparent 49%,rgba(115,148,199,.16) 50%,transparent 51%),linear-gradient(0deg,transparent 49%,rgba(115,148,199,.16) 50%,transparent 51%);
}
.sf-radar span{
  background:#54f6c9;
  box-shadow:0 0 14px rgba(84,246,201,.5);
}
.sf-radar span:nth-child(even){
  background:#63e6ff;
}
.sf-radar i{
  background:#63e6ff;
}
.sf-ticker span,
.sf-model-tags span,
.sf-status-pill,
.sf-quick-head span{
  border:1px solid rgba(115,148,199,.16);
  background:#0c192a;
  color:#9fb1c9;
  border-radius:5px;
}
.sf-status-pill{
  border-color:rgba(47,227,165,.28);
  background:#0a322e;
  color:#79e9c3;
}
.sf-model-chart,
.sf-row-equity{
  border-color:rgba(54,206,255,.13);
  background:#06111d;
}
.sf-model-chart .strategy-line,
.sf-row-equity .strategy-line{
  stroke:#34ddff;
  filter:drop-shadow(0 0 8px rgba(52,221,255,.3));
}
.sf-model-chart .strategy-area,
.sf-row-equity .strategy-area{
  fill:rgba(35,211,255,.08);
}
.sf-model-chart .strategy-point,
.sf-row-equity .strategy-point{
  fill:#3de9ff;
  stroke:#c9faff;
}
.sf-filter-actions button.active{
  border-color:rgba(54,214,255,.33);
  background:#0d2b40;
  color:#a5efff;
}
.sf-filter-select{
  color:#dce8f6;
}
.sf-table-card{
  overflow:hidden;
}
.sf-table-meta,
.sf-model-table th,
.sf-model-table td{
  border-bottom-color:rgba(115,148,199,.14);
}
.sf-model-table th{
  background:#0b1d31;
  color:#9bc9ff;
}
.sf-model-row:hover{
  background:#0d1e31;
}
.sf-metric-pill.positive,
.sf-pf-pill{
  background:#0d2b40;
  color:#a5efff;
  box-shadow:none;
}
.sf-metric-pill.negative{
  background:#3a1421;
  color:#ff9cab;
}
.sf-tip-box{
  background:#092032;
}
.sf-tip-box span{
  color:#63e6ff;
}
.model-curve-card,
.model-selected-panel,
.model-funded-table{
  border-color:rgba(111,151,213,.2);
  background:#081725;
}
.model-income-summary div,
.model-selected-grid div{
  border-color:rgba(111,151,213,.18);
  background:#07111f;
}
.model-income-summary b,
.model-selected-grid b.positive{
  color:#2ff0c8;
}
.model-income-summary b.negative,
.model-selected-grid b.negative{
  color:#ff6480;
}
.model-funded-head{
  border-bottom-color:rgba(111,151,213,.18);
}
.model-funded-table th{
  background:#0b1d31;
  color:#9bc9ff;
}
.model-funded-table td{
  color:#d7e4f7;
}
.model-funded-table tr.pass td{
  color:#22e0ad;
}
.model-funded-table tr.fail td{
  color:#ff6480;
}
.model-funded-table tr.open td{
  color:#9fb2cc;
}

/* Centered, quieter workspace sizing */
.dashboard.workspace-mode{
  --workspace-center-width:1120px;
}
.dashboard.workspace-mode .workspace-head{
  padding-left:max(18px,calc((100% - var(--workspace-center-width)) / 2));
  padding-right:max(18px,calc((100% - var(--workspace-center-width)) / 2));
}
.dashboard.workspace-mode .workspace-content{
  padding:18px max(18px,calc((100% - var(--workspace-center-width)) / 2)) 34px;
}
.sf-dashboard-shell,
.sf-library-page,
.model-result-lab,
.model-detail-shell{
  width:min(var(--workspace-center-width),100%);
  margin-left:auto;
  margin-right:auto;
}
.dashboard.workspace-mode .workspace-content.model-detail-workspace{
  padding-left:18px;
  padding-right:18px;
}
.dashboard.workspace-mode .workspace-content.model-detail-workspace .model-result-lab,
.dashboard.workspace-mode .workspace-content.model-detail-workspace .model-detail-shell{
  margin-left:0;
  margin-right:0;
  width:100%;
}
.model-detail-centered{
  width:min(var(--workspace-center-width),100%);
  margin-left:auto;
  margin-right:auto;
}
.dashboard.workspace-mode .workspace-content.model-detail-workspace .model-funded-table{
  width:min(var(--workspace-center-width),100%);
  margin-left:0;
  margin-right:auto;
}
@media(min-width:1500px){
  .dashboard.workspace-mode .workspace-content.model-detail-workspace .model-detail-shell{
    width:100%;
    max-width:none;
    display:grid;
    grid-template-columns:430px minmax(0,950px);
    justify-content:center;
    align-items:start;
    gap:12px;
  }
  .dashboard.workspace-mode .workspace-content.model-detail-workspace .model-detail-centered{
    grid-column:2;
    grid-row:1;
    width:100%;
    margin:0;
  }
  .dashboard.workspace-mode .workspace-content.model-detail-workspace .model-funded-table{
    grid-column:1;
    grid-row:1;
    width:100%;
    margin:54px 0 0;
  }
  .dashboard.workspace-mode .workspace-content.model-detail-workspace .model-funded-head{
    padding:10px 12px;
  }
  .dashboard.workspace-mode .workspace-content.model-detail-workspace .model-table-scroll{
    max-height:430px;
  }
  .dashboard.workspace-mode .workspace-content.model-detail-workspace .model-funded-table table{
    table-layout:fixed;
    font-size:9px;
  }
  .dashboard.workspace-mode .workspace-content.model-detail-workspace .model-funded-table th,
  .dashboard.workspace-mode .workspace-content.model-detail-workspace .model-funded-table td{
    padding:8px 7px;
    overflow:hidden;
    text-overflow:ellipsis;
  }
}
.model-library-shell{
  padding:0;
}
.sf-dashboard-shell,
.sf-library-page{
  gap:14px;
}
.sf-pulse-card{
  padding:20px;
}
.sf-pulse-head h2,
.sf-page-title h2{
  margin:9px 0 5px;
  font-size:24px;
}
.sf-pulse-head p,
.sf-page-title p,
.sf-section-row p{
  font-size:12px;
}
.sf-chip{
  min-height:22px;
  padding:0 10px;
  font-size:9px;
}
.sf-universe{
  min-width:72px;
  padding:10px 12px;
  border-radius:7px;
}
.sf-pulse-grid{
  grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr) minmax(240px,.95fr);
  gap:10px;
  margin-top:16px;
}
.sf-mini-panel{
  min-height:176px;
  padding:13px;
}
.sf-donut{
  width:128px;
  margin-top:16px;
}
.sf-donut::after{
  inset:14px;
}
.sf-donut b{
  font-size:19px;
}
.sf-pair-list{
  gap:10px;
  margin-top:14px;
}
.sf-pair-row{
  grid-template-columns:minmax(0,1fr) minmax(110px,1.25fr) auto;
  gap:9px;
}
.sf-radar{
  width:154px;
  margin-top:12px;
}
.sf-ticker{
  margin-top:12px;
}
.sf-ticker span{
  padding:6px 10px;
  font-size:10px;
}
.sf-dashboard-lower{
  grid-template-columns:minmax(0,1fr) 260px;
  gap:12px;
}
.sf-card-row{
  gap:10px;
}
.sf-model-chart{
  height:96px;
}
.sf-model-card-body{
  padding:12px;
}
.sf-model-card h3{
  font-size:13px;
}
.sf-model-tags span{
  padding:4px 7px;
  font-size:9px;
}
.sf-model-stats{
  gap:6px;
  margin-top:10px;
}
.sf-model-stats div,
.sf-stat-box,
.sf-tip-box{
  padding:9px;
}
.sf-model-stats b,
.sf-stat-box b{
  font-size:15px;
}
.sf-copy-btn,
.sf-view-btn,
.sf-link-btn,
.sf-ghost-btn{
  min-height:32px;
  font-size:10px;
}
.sf-quick-card{
  padding:14px;
}
.sf-stat-box{
  margin-top:12px;
}
.sf-stat-box b{
  font-size:26px;
}
.sf-tip-box{
  margin-top:10px;
}
.sf-filter-card{
  grid-template-columns:1fr;
  gap:10px;
  padding:16px;
}
.sf-search-box{
  min-height:42px;
  border-radius:10px;
}
.sf-filter-actions button,
.sf-filter-select{
  min-height:34px;
  padding:0 11px;
  border-radius:7px;
  font-size:10px;
}
.sf-table-meta{
  padding:13px 14px;
  font-size:11px;
}
.sf-model-table{
  min-width:1040px;
  font-size:11px;
}
.sf-model-table th,
.sf-model-table td{
  padding:10px 12px;
}
.sf-row-equity{
  width:118px;
  height:38px;
}
.sf-metric-pill,
.sf-pf-pill{
  min-width:62px;
  padding:6px 8px;
  border-radius:6px;
}
.model-detail-layout{
  grid-template-columns:minmax(0,1.22fr) minmax(300px,.78fr);
  gap:12px;
}
.model-curve-card,
.model-selected-panel{
  padding:12px;
}
.model-income-summary{
  margin:10px 0;
}
.model-selected-grid{
  gap:7px;
}
.model-primary-metrics div,
.model-selected-grid div{
  padding:9px;
}
.model-table-scroll{
  max-height:360px;
}
@media(max-width:1180px){
  .dashboard.workspace-mode{
    --workspace-center-width:100%;
  }
  .dashboard.workspace-mode .workspace-head{
    padding-left:16px;
    padding-right:16px;
  }
  .dashboard.workspace-mode .workspace-content{
    padding:14px 16px 28px;
  }
}
@media(max-width:760px){
  .dashboard.workspace-mode .workspace-head{
    padding-left:10px;
    padding-right:10px;
  }
  .dashboard.workspace-mode .workspace-content{
    padding:10px;
  }
  .sf-pulse-card,
  .sf-filter-card,
  .sf-quick-card,
  .model-curve-card,
  .model-selected-panel{
    padding:11px;
  }
  .sf-dashboard-lower,
  .sf-card-row,
  .sf-filter-card,
  .model-downloads-grid,
  .model-detail-layout{
    grid-template-columns:1fr;
  }
  .model-download-file{
    grid-template-columns:1fr;
  }
  .sf-pulse-grid{
    grid-template-columns:1fr;
  }
}

/* Cleaner result value typography */
.dashboard.workspace-mode .model-risk-control input,
.dashboard.workspace-mode .model-risk-control b,
.dashboard.workspace-mode .model-primary-metrics b,
.dashboard.workspace-mode .model-income-summary b,
.dashboard.workspace-mode .model-selected-grid b,
.dashboard.workspace-mode .sf-model-stats b,
.dashboard.workspace-mode .sf-stat-box b,
.dashboard.workspace-mode .sf-metric-pill,
.dashboard.workspace-mode .sf-pf-pill{
  font-family:Inter,system-ui,sans-serif;
  font-weight:800;
  letter-spacing:0;
  font-variant-numeric:tabular-nums;
}
.dashboard.workspace-mode .model-risk-control input{
  font-size:15px;
}
.dashboard.workspace-mode .model-primary-metrics b,
.dashboard.workspace-mode .model-income-summary b,
.dashboard.workspace-mode .model-selected-grid b{
  line-height:1.15;
}

/* Keep the strategy library table inside the card without a horizontal drag bar. */
.dashboard.workspace-mode .sf-table-scroll{
  overflow-x:hidden;
  overflow-y:visible;
}
.dashboard.workspace-mode .sf-model-table{
  min-width:0;
  table-layout:fixed;
}
.dashboard.workspace-mode .sf-model-table th,
.dashboard.workspace-mode .sf-model-table td{
  overflow:hidden;
  text-overflow:ellipsis;
  padding-left:9px;
  padding-right:9px;
}
.dashboard.workspace-mode .sf-model-table th:nth-child(1),
.dashboard.workspace-mode .sf-model-table td:nth-child(1){width:5%;}
.dashboard.workspace-mode .sf-model-table th:nth-child(2),
.dashboard.workspace-mode .sf-model-table td:nth-child(2){width:20%;}
.dashboard.workspace-mode .sf-model-table th:nth-child(3),
.dashboard.workspace-mode .sf-model-table td:nth-child(3){width:11%;}
.dashboard.workspace-mode .sf-model-table th:nth-child(4),
.dashboard.workspace-mode .sf-model-table td:nth-child(4){width:8%;}
.dashboard.workspace-mode .sf-model-table th:nth-child(5),
.dashboard.workspace-mode .sf-model-table td:nth-child(5){width:5%;}
.dashboard.workspace-mode .sf-model-table th:nth-child(6),
.dashboard.workspace-mode .sf-model-table td:nth-child(6),
.dashboard.workspace-mode .sf-model-table th:nth-child(7),
.dashboard.workspace-mode .sf-model-table td:nth-child(7),
.dashboard.workspace-mode .sf-model-table th:nth-child(10),
.dashboard.workspace-mode .sf-model-table td:nth-child(10),
.dashboard.workspace-mode .sf-model-table th:nth-child(11),
.dashboard.workspace-mode .sf-model-table td:nth-child(11),
.dashboard.workspace-mode .sf-model-table th:nth-child(12),
.dashboard.workspace-mode .sf-model-table td:nth-child(12){width:7%;}
.dashboard.workspace-mode .sf-model-table th:nth-child(8),
.dashboard.workspace-mode .sf-model-table td:nth-child(8),
.dashboard.workspace-mode .sf-model-table th:nth-child(9),
.dashboard.workspace-mode .sf-model-table td:nth-child(9){width:8%;}
.dashboard.workspace-mode .sf-row-name{
  min-width:0;
  max-width:100%;
}
.dashboard.workspace-mode .sf-row-name b,
.dashboard.workspace-mode .sf-row-name span{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.dashboard.workspace-mode .sf-row-equity{
  width:100%;
  min-width:0;
}
.dashboard.workspace-mode .sf-metric-pill,
.dashboard.workspace-mode .sf-pf-pill,
.dashboard.workspace-mode .sf-view-btn{
  width:100%;
  min-width:0;
}

/* MT5 history workspace */
.history-shell{
  width:min(var(--workspace-center-width),100%);
  margin:0 auto;
  display:grid;
  gap:12px;
}
.history-curve-card{
  min-width:0;
  padding:14px 14px 8px;
  border:0;
  border-radius:0;
  background:#07050f;
  box-shadow:none;
  overflow:hidden;
}
.history-curve-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin-bottom:8px;
}
.history-curve-ranges{
  margin-left:auto;
  display:flex;
  align-items:center;
  height:29px;
  padding:3px;
  border:1px solid rgba(255,255,255,.075);
  border-radius:9px;
  background:#080711;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
}
.history-curve-ranges span,
.history-curve-ranges button{
  min-width:34px;
  height:23px;
  display:grid;
  place-items:center;
  border:0;
  border-radius:7px;
  color:#4c4858;
  background:transparent;
  font-size:10px;
  font-weight:900;
  letter-spacing:0;
  text-transform:uppercase;
  cursor:pointer;
  transition:color .14s ease,background-color .14s ease,box-shadow .14s ease;
}
.history-curve-ranges span.active,
.history-curve-ranges button.active{
  color:#ece8f3;
  background:#171520;
  box-shadow:0 0 0 1px rgba(255,255,255,.045),0 6px 14px rgba(0,0,0,.26);
}
.history-curve-ranges button:hover,
.history-curve-ranges button:focus-visible{
  color:#ece8f3;
  outline:0;
}
.history-curve-head>div:first-child span{
  display:block;
  color:#a0a0a0;
  font-size:10px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.history-curve-head>div:first-child b{
  display:block;
  margin-top:5px;
  color:#ffffff;
  font:800 18px/1.1 var(--qc-font-sans);
  letter-spacing:0;
}
.history-curve-head strong{
  color:#ffffff;
  font:800 22px/1 var(--qc-font-sans);
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}
.history-curve-head .history-curve-value{
  margin:0 auto 0 0!important;
  color:#20e58b;
  font:900 24px/1 var(--qc-font-sans);
}
.history-curve-readout{
  min-width:0;
  display:grid;
  gap:5px;
  margin-right:auto;
}
.history-curve-readout small{
  color:#8b8496;
  font-size:11px;
  font-weight:700;
  line-height:1;
}
.history-curve-head strong.positive{color:#42e6bd}
.history-curve-head strong.negative{color:#ff6480}
.history-curve-plot{
  position:relative;
  min-width:0;
  overflow:visible;
  background:transparent;
}
.history-curve-svg{
  position:relative;
  z-index:2;
  width:100%;
  height:170px;
  display:block;
  overflow:visible;
  pointer-events:none;
  isolation:isolate;
}
.history-curve-area{
  fill:#08d46f!important;
  fill-opacity:.075!important;
}
.history-curve-area-path{
  fill:#08d46f!important;
  fill-opacity:.075!important;
  opacity:1!important;
}
.history-curve-muted-line{
  fill:none;
  stroke:#3f3b49!important;
  stroke-width:2.15!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  opacity:0;
  vector-effect:non-scaling-stroke;
}
.history-curve-card.is-curve-hovering .history-curve-muted-line{
  opacity:.74;
}
.history-curve-card.is-curve-hovering .history-curve-area-path,
.history-curve-card.is-curve-hovering .history-curve-line{
  clip-path:inset(0 calc(100% - var(--curve-active-x,100%)) 0 0);
}
.history-curve-line{
  fill:none;
  stroke:#10b85d!important;
  stroke-width:2.15!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  opacity:1!important;
  filter:drop-shadow(0 0 8px rgba(16,184,93,.16));
  vector-effect:non-scaling-stroke;
}
.history-curve-fallback-line{
  stroke:#42e6bd!important;
  stroke-width:3.2!important;
  opacity:.72!important;
  filter:drop-shadow(0 0 10px rgba(66,230,189,.18));
}
.history-curve-smooth-line{
  stroke:#10b85d!important;
  stroke-width:2.15!important;
  opacity:1!important;
  filter:drop-shadow(0 0 8px rgba(16,184,93,.16));
}
.history-curve-polyline{
  display:none!important;
}
.history-curve-hover-zone{
  position:absolute;
  top:0;
  bottom:0;
  z-index:4;
  display:block!important;
  min-width:10px;
  outline:0;
  cursor:crosshair;
}
.history-curve-hover-zone::before{
  content:"";
  position:absolute;
  left:calc(var(--curve-x) - var(--zone-left, 0px));
  left:50%;
  top:0;
  bottom:0;
  width:1px;
  background:repeating-linear-gradient(to bottom, rgba(91,86,104,.72) 0 2px, transparent 2px 7px);
  opacity:0;
  transform:translateX(-50%);
  transition:opacity .12s ease;
  pointer-events:none;
}
.history-curve-hover-zone::after{
  content:"";
  position:absolute;
  left:50%;
  top:var(--curve-y);
  width:8px;
  height:8px;
  border-radius:50%;
  background:#11c66a;
  box-shadow:0 0 0 2px rgba(7,5,15,.94),0 0 12px rgba(17,198,106,.35);
  opacity:0;
  transform:translate(-50%,-50%);
  transition:opacity .12s ease;
  pointer-events:none;
}
.history-curve-hover-info{
  position:absolute;
  left:50%;
  top:var(--curve-y);
  z-index:5;
  min-width:max-content;
  padding:6px 8px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:6px;
  background:#11101a;
  color:#d8d2e1;
  box-shadow:0 10px 24px rgba(0,0,0,.35);
  opacity:0;
  transform:translate(-50%,calc(-100% - 10px));
  transition:opacity .12s ease,transform .12s ease;
  pointer-events:none;
}
.history-curve-hover-info b,
.history-curve-hover-info em{
  display:block;
  font-style:normal;
  white-space:nowrap;
}
.history-curve-hover-info b{
  margin-bottom:3px;
  color:#8ef9df;
}
.history-curve-hover-zone:hover::before,
.history-curve-hover-zone:focus-visible::before,
.history-curve-hover-zone:hover::after,
.history-curve-hover-zone:focus-visible::after{
  opacity:1;
}
.history-curve-hover-zone:hover .history-curve-hover-info,
.history-curve-hover-zone:focus-visible .history-curve-hover-info{
  opacity:1;
  transform:translate(-50%,calc(-100% - 14px));
}
.history-curve-hover-zone.is-start .history-curve-hover-info{
  transform:translate(0,calc(-100% - 10px));
}
.history-curve-hover-zone.is-start:hover .history-curve-hover-info,
.history-curve-hover-zone.is-start:focus-visible .history-curve-hover-info{
  transform:translate(0,calc(-100% - 14px));
}
.history-curve-hover-zone.is-end .history-curve-hover-info{
  transform:translate(-100%,calc(-100% - 10px));
}
.history-curve-hover-zone.is-end:hover .history-curve-hover-info,
.history-curve-hover-zone.is-end:focus-visible .history-curve-hover-info{
  transform:translate(-100%,calc(-100% - 14px));
}
.history-curve-axis{
  position:relative;
  height:24px;
  margin-top:2px;
  color:#8a8a8a;
  font-size:10px;
}
.history-curve-axis span{
  position:absolute;
  top:0;
  transform:translateX(-50%);
  white-space:nowrap;
  font-weight:800;
}
.history-curve-axis span:first-child{
  transform:translateX(0);
}
.history-curve-axis span:last-child{
  transform:translateX(-100%);
}
.history-summary-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}
.history-summary-grid div,
.history-panel{
  border:1px solid rgba(115,148,199,.16);
  border-radius:8px;
  background:#0a1322;
  box-shadow:0 14px 40px rgba(0,0,0,.16);
}
.history-summary-grid div{
  min-width:0;
  padding:13px;
}
.history-summary-grid span,
.history-summary-grid small{
  display:block;
  color:#7f91aa;
  font-size:9px;
  font-weight:900;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.history-summary-grid b{
  display:block;
  margin:8px 0 5px;
  color:#f2f7ff;
  font:800 22px/1 Inter,system-ui,sans-serif;
  letter-spacing:0;
  font-variant-numeric:tabular-nums;
}
.history-summary-grid b.positive,
.history-table strong.positive,
.history-expert-row strong.positive{
  color:#2ff0c8;
}
.history-summary-grid b.open-pnl.positive,
.history-table strong.open-pnl.positive{
  color:#369dff;
}
.history-summary-grid b.negative,
.history-table strong.negative,
.history-expert-row strong.negative{
  color:#ff6480;
}
.history-summary-grid b.open-pnl.negative,
.history-table strong.open-pnl.negative{
  color:#ff4d5f;
}
.history-layout{
  display:grid;
  grid-template-columns:minmax(280px,.85fr) minmax(0,1.35fr);
  gap:12px;
  align-items:start;
}
.history-panel{
  min-width:0;
  overflow:hidden;
}
.history-panel-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:13px 14px;
  border-bottom:1px solid rgba(115,148,199,.14);
}
.history-panel-head b,
.history-panel-head span{
  display:block;
}
.history-panel-head b{
  color:#f2f7ff;
  font:800 15px/1.2 Archivo,sans-serif;
}
.history-panel-head span{
  margin-top:4px;
  color:#8294ad;
  font-size:11px;
}
.history-expert-list{
  display:grid;
  gap:8px;
  padding:12px;
}
.history-expert-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-width:0;
  padding:10px;
  border:1px solid rgba(115,148,199,.13);
  border-radius:7px;
  background:#081321;
}
.history-expert-row b,
.history-expert-row small,
.history-expert-row strong{
  display:block;
}
.history-expert-row b{
  margin-top:6px;
  color:#f2f7ff;
  font-size:12px;
}
.history-expert-row small{
  margin-top:4px;
  color:#7f91aa;
  font-size:10px;
}
.history-expert-row small.history-expert-meta{
  color:#9fb0c8;
  font:800 9.5px/1.25 "JetBrains Mono",monospace;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  max-width:260px;
}
.account-id-toggle{display:inline-flex;align-items:center;justify-content:center;width:17px;height:17px;margin-left:5px;padding:0;border:0;background:transparent;color:#8ba2bd;font-size:11px;line-height:1;cursor:pointer;vertical-align:middle}
.account-id-toggle:hover{color:#e7f4ff}
.history-expert-row strong{
  color:#f2f7ff;
  font:800 14px/1 Inter,system-ui,sans-serif;
  text-align:right;
}
.history-status{
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:#8595aa;
  font:900 8px/1 "JetBrains Mono",monospace;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.history-status i{
  width:7px;
  height:7px;
  border-radius:50%;
  background:#60708a;
}
.history-status.online{
  color:#54e5a5;
}
.history-status.online i{
  background:#28e39b;
  box-shadow:0 0 0 4px rgba(40,227,155,.09),0 0 14px rgba(40,227,155,.5);
}
.history-table-scroll{
  max-height:360px;
  overflow:auto;
}
.history-table{
  width:100%;
  table-layout:fixed;
  border-collapse:collapse;
  font-size:11px;
}
.history-table th,
.history-table td{
  padding:10px 11px;
  border-bottom:1px solid rgba(115,148,199,.13);
  color:#d7e4f7;
  text-align:left;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.history-table th{
  position:sticky;
  top:0;
  z-index:1;
  background:#0b1d31;
  color:#9bc9ff;
  font:900 9px/1 "JetBrains Mono",monospace;
  text-transform:uppercase;
}
.history-table td b,
.history-table td span{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
}
.history-table td span{
  margin-top:4px;
  color:#7f91aa;
  font-size:9px;
}
.history-table strong{
  font:800 11px/1 Inter,system-ui,sans-serif;
  font-variant-numeric:tabular-nums;
}
.history-empty{
  padding:18px;
  color:#8294ad;
  text-align:center;
  font-size:11px;
}
.history-tutorial-panel{
  overflow:visible;
}
.history-tutorial-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  padding:14px;
}
.history-tutorial-step{
  min-width:0;
  display:grid;
  grid-template-rows:auto 1fr;
  gap:12px;
  padding:14px;
  border:1px solid rgba(255,255,255,.11);
  border-radius:8px;
  background:linear-gradient(180deg,#121315 0%,#0c0d0f 100%);
}
.history-tutorial-step b{
  display:block;
  color:#ffffff;
  font:800 14px/1.25 var(--qc-font-sans);
}
.history-tutorial-step p{
  margin:7px 0 0;
  color:#a0a0a0;
  font-size:12px;
  line-height:1.45;
}
.history-tutorial-step img{
  width:100%;
  height:220px;
  object-fit:contain;
  object-position:center;
  border:1px solid rgba(255,255,255,.1);
  border-radius:7px;
  background:linear-gradient(180deg,#f2f3f5 0%,#d9dce1 100%);
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.04),0 14px 32px rgba(0,0,0,.22);
}
@media(max-width:1180px){
  .history-summary-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .history-layout{
    grid-template-columns:1fr;
  }
  .history-tutorial-grid{
    grid-template-columns:1fr;
  }
  .history-tutorial-step img{
    height:auto;
    max-height:420px;
    object-fit:contain;
  }
}
@media(max-width:760px){
  .history-summary-grid{
    grid-template-columns:1fr;
  }
  .history-curve-head{
    display:grid;
  }
  .history-curve-svg{
    height:130px;
  }
  .history-table{
    min-width:680px;
  }
  .history-table-scroll{
    overflow-x:auto;
  }
}
body,button,input,select,textarea{font-family:var(--qc-font-sans)!important}
body *:not(pre):not(code):not(kbd):not(samp){font-family:var(--qc-font-sans)!important}
pre,code,kbd,samp,.mono,.code-block,.text-file-code{font-family:"JetBrains Mono",Consolas,monospace!important}
html{color-scheme:dark}
select{
  color-scheme:dark;
  background-color:#0b1422!important;
  color:#eef6ff!important;
}
select option{
  background:#0b1422;
  color:#eef6ff;
  font-family:var(--qc-font-sans)!important;
  font-weight:800;
}
select option:checked{
  background:#123752;
  color:#ffffff;
}
select option:disabled{
  background:#0b1422;
  color:#71829a;
}
.admin-panel select,
.profile-modal select,
.subscription-checkout-card select{
  min-height:46px;
  border-radius:12px!important;
  background:
    linear-gradient(180deg,rgba(14,24,42,.98),rgba(8,14,27,.98))!important;
  border-color:rgba(96,223,255,.22)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035)!important;
  color:#eef6ff!important;
}

/* Discord-style community visual refresh */
.dashboard.community-mode{
  --discord-app-bg:#18191c;
  --discord-sidebar:#121316;
  --discord-footer:#101114;
  --discord-hover:#24252a;
  --discord-active:#303136;
  --discord-border:#0b0c0e;
  --discord-muted:#949ba4;
  --discord-text:#dbdee1;
  --discord-title:#f2f3f5;
  --discord-accent:#23a6d5;
  gap:0!important;
  padding:0!important;
  background:var(--discord-app-bg)!important;
  font-family:"gg sans","Noto Sans","Helvetica Neue",Arial,sans-serif!important;
  color:var(--discord-text)!important;
}
.dashboard.community-mode .sidebar,
.dashboard.community-mode .members-panel,
.dashboard.community-mode .chat-panel{
  border-radius:0!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
}
.dashboard.community-mode .sidebar,
.dashboard.community-mode .members-panel{
  background:var(--discord-sidebar)!important;
  border-color:var(--discord-border)!important;
}
.dashboard.community-mode .sidebar{
  padding:12px 8px!important;
  border-width:0 1px 0 0!important;
}
.community-server-cover{
  display:none;
}
.dashboard.community-mode .community-server-cover{
  display:block;
  position:relative;
  min-height:96px;
  margin:0 0 10px;
  overflow:hidden;
  border-radius:7px;
  border:1px solid rgba(255,255,255,.06);
  background:#071018;
  box-shadow:none;
}
.dashboard.community-mode .community-server-cover::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    repeating-linear-gradient(90deg, rgba(128,202,220,.075) 0 1px, transparent 1px 25px),
    repeating-linear-gradient(0deg, rgba(128,202,220,.06) 0 1px, transparent 1px 19px);
  opacity:1;
}
.dashboard.community-mode .community-server-cover::after{
  display:none;
}
.dashboard.community-mode .community-cover-mark{
  position:absolute;
  left:12px;
  top:12px;
  z-index:1;
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  border-radius:10px;
  border:1px solid rgba(88,242,217,.28);
  background:rgba(11,17,24,.72);
  color:#66f6ff;
  font-size:12px;
  font-weight:900;
  letter-spacing:-.02em;
}
.dashboard.community-mode .community-cover-logo{
  padding:3px;
  overflow:hidden;
  color:transparent;
}
.dashboard.community-mode .community-cover-logo img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}
.dashboard.community-mode .community-cover-copy{
  position:absolute;
  left:12px;
  right:12px;
  bottom:10px;
  z-index:1;
  display:grid;
  gap:1px;
}
.dashboard.community-mode .community-cover-copy strong{
  color:var(--discord-title)!important;
  font-size:15px;
  font-weight:850;
  letter-spacing:-.02em;
}
.dashboard.community-mode .community-cover-copy span{
  color:var(--discord-muted)!important;
  font-size:11px;
  line-height:1.2;
}

/* Match the landing page brand treatment across login, portal and community. */
.brand-logo{
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  overflow:visible!important;
  box-shadow:none!important;
}
.brand-logo img{
  object-fit:cover!important;
  transform:scale(1.6)!important;
  filter:brightness(0) invert(1)!important;
}
.dashboard.community-mode .community-cover-logo{
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  padding:0!important;
  overflow:visible!important;
}
.dashboard.community-mode .community-cover-logo img{
  object-fit:cover!important;
  transform:scale(1.6)!important;
  filter:brightness(0) invert(1)!important;
}
.dashboard.community-mode .members-panel{
  padding:14px 8px!important;
  border-width:0 0 0 1px!important;
}
.dashboard.community-mode .chat-panel{
  background:var(--discord-app-bg)!important;
  border-color:var(--discord-border)!important;
  border-width:0!important;
}
.dashboard.community-mode .chat-head{
  min-height:52px!important;
  padding:10px 16px!important;
  background:var(--discord-app-bg)!important;
  border-bottom:1px solid var(--discord-border)!important;
  box-shadow:0 1px 0 rgba(0,0,0,.18)!important;
}
.dashboard.community-mode .chat-head h2{
  color:var(--discord-title)!important;
  font-size:20px!important;
  line-height:1.1!important;
  letter-spacing:0!important;
}
.dashboard.community-mode .chat-head p{
  color:var(--discord-muted)!important;
  font-size:13px!important;
}
.dashboard.community-mode .channel-kicker,
.dashboard.community-mode .portal-community-label,
.dashboard.community-mode .side-label,
.dashboard.community-mode .channel-category-label,
.dashboard.community-mode .member-label{
  color:var(--discord-muted)!important;
  font-family:"gg sans","Noto Sans","Helvetica Neue",Arial,sans-serif!important;
  font-size:11px!important;
  font-weight:800!important;
  letter-spacing:.02em!important;
  text-transform:uppercase!important;
}
.dashboard.community-mode .channel-category-label{
  padding:10px 8px 4px!important;
}
.dashboard.community-mode .channels{
  gap:1px!important;
  padding-right:0!important;
  scrollbar-width:thin!important;
}
.dashboard.community-mode .channel-btn,
.dashboard.community-mode .direct-open,
.dashboard.community-mode .direct-back{
  min-height:32px!important;
  padding:6px 8px!important;
  border:0!important;
  border-radius:4px!important;
  background:transparent!important;
  color:var(--discord-muted)!important;
  font-size:15px!important;
  font-weight:500!important;
  transform:none!important;
  box-shadow:none!important;
  opacity:1!important;
}
.dashboard.community-mode .channel-btn:hover,
.dashboard.community-mode .direct-open:hover,
.dashboard.community-mode .direct-back:hover{
  background:var(--discord-hover)!important;
  color:var(--discord-text)!important;
  transform:none!important;
}
.dashboard.community-mode .channel-btn.active,
.dashboard.community-mode .direct-open.active,
.dashboard.community-mode .direct-back.active{
  background:var(--discord-active)!important;
  color:var(--discord-title)!important;
}
.dashboard.community-mode .channel-btn.locked{
  color:#7d838d!important;
  background:transparent!important;
  cursor:not-allowed!important;
}
.dashboard.community-mode .channel-btn.locked:hover,
.dashboard.community-mode .channel-btn.locked-preview{
  background:rgba(64,66,73,.72)!important;
  color:#aeb4bd!important;
}
.dashboard.community-mode .channel-title{
  gap:9px!important;
  color:inherit!important;
}
.dashboard.community-mode .channel-hash{
  color:inherit!important;
  opacity:.78!important;
  margin-right:2px!important;
}
.dashboard.community-mode .channel-title-text{
  color:inherit!important;
  font-weight:600!important;
}
.dashboard.community-mode .channel-btn > span,
.dashboard.community-mode .channel-btn .message-presence,
.dashboard.community-mode .direct-open > span,
.dashboard.community-mode .direct-back > span{
  display:none!important;
}
.dashboard.community-mode .lock-dot{
  width:18px!important;
  height:18px!important;
  flex-basis:18px!important;
  border:0!important;
  border-radius:4px!important;
  background:rgba(148,155,164,.13)!important;
  color:#b5bac1!important;
  font-size:11px!important;
}
.dashboard.community-mode .mention-count,
.dashboard.community-mode .direct-open strong{
  min-width:20px!important;
  height:20px!important;
  border:0!important;
  border-radius:999px!important;
  background:#f23f42!important;
  color:#fff!important;
  font-family:"gg sans","Noto Sans","Helvetica Neue",Arial,sans-serif!important;
  font-size:11px!important;
  box-shadow:none!important;
}
.dashboard.community-mode .messages{
  background:var(--discord-app-bg)!important;
  background-image:none!important;
  padding:14px 0 18px!important;
  gap:2px!important;
  overflow-x:hidden!important;
}
.dashboard.community-mode .message{
  grid-template-columns:40px minmax(0,1fr)!important;
  gap:12px!important;
  padding:4px 16px!important;
  border-radius:0!important;
  animation:none!important;
}
.dashboard.community-mode .message:hover{
  background:#2e3035!important;
}
.dashboard.community-mode .message.message-continuation{
  margin-top:-3px!important;
  padding-top:0!important;
}
.dashboard.community-mode .message.message-continuation:hover{
  background:transparent!important;
}
.dashboard.community-mode .message.message-continuation .mini-avatar{
  visibility:hidden!important;
  pointer-events:none!important;
}
.dashboard.community-mode .msg-box{
  min-width:0!important;
  max-width:min(100%,920px)!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.dashboard.community-mode .message:hover .msg-box{
  border-color:transparent!important;
  background:transparent!important;
}
.dashboard.community-mode .msg-meta{
  margin-bottom:2px!important;
  gap:8px!important;
}
.dashboard.community-mode .msg-meta b{
  color:var(--discord-title)!important;
  font-size:15px!important;
  font-weight:700!important;
}
.dashboard.community-mode .msg-meta span{
  color:var(--discord-muted)!important;
  font-family:"gg sans","Noto Sans","Helvetica Neue",Arial,sans-serif!important;
  font-size:12px!important;
}
.dashboard.community-mode .msg-meta-continuation{
  margin-bottom:1px!important;
}
.dashboard.community-mode .message-time-only{
  color:rgba(148,155,164,.86)!important;
  font:600 11px/1 "gg sans","Noto Sans","Helvetica Neue",Arial,sans-serif!important;
}
.dashboard.community-mode .message-inline-time{
  color:rgba(148,155,164,.86)!important;
  font:600 11px/1 "gg sans","Noto Sans","Helvetica Neue",Arial,sans-serif!important;
}
.dashboard.community-mode .msg-meta .chat-author{
  display:inline-flex!important;
  align-items:center!important;
  gap:5px!important;
  min-width:0!important;
  max-width:100%!important;
  color:inherit!important;
  font-family:"gg sans","Noto Sans","Helvetica Neue",Arial,sans-serif!important;
}
.dashboard.community-mode .msg-meta .chat-author b{
  max-width:190px!important;
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.dashboard.community-mode .msg-meta .chat-author-role{
  color:var(--chat-role-color,#aeb7c7)!important;
  font:800 11px/1 "gg sans","Noto Sans","Helvetica Neue",Arial,sans-serif!important;
  white-space:nowrap!important;
}
.dashboard.community-mode .msg-meta .chat-author-dot{
  color:rgba(185,194,207,.78)!important;
  font:900 11px/1 "gg sans","Noto Sans","Helvetica Neue",Arial,sans-serif!important;
}
.dashboard.community-mode .msg-meta .chat-role-icon{
  width:16px!important;
  height:16px!important;
  flex:0 0 16px!important;
}
.dashboard.community-mode .message-reply .chat-author-role,
.dashboard.community-mode .message-reply .chat-author-dot,
.dashboard.community-mode .message-reply .chat-role-icon{
  display:none!important;
}
.dashboard.community-mode .msg-body{
  color:var(--discord-text)!important;
  font-size:15px!important;
  line-height:1.38!important;
}
.dashboard.community-mode .message .mini-avatar,
.dashboard.community-mode .member-avatar,
.dashboard.community-mode .avatar,
.dashboard.community-mode .dm-rail-contact .member-avatar,
.dashboard.community-mode .user-card.compact .avatar{
  border-radius:50%!important;
}
.dashboard.community-mode .message .mini-avatar{
  width:40px!important;
  height:40px!important;
  background:#404249!important;
  color:#fff!important;
}
.dashboard.community-mode .members-head h2{
  color:var(--discord-title)!important;
  font-size:20px!important;
}
.dashboard.community-mode .member-count{
  background:#3b3d44!important;
  border:0!important;
  color:#dbdee1!important;
  box-shadow:none!important;
}
.dashboard.community-mode .member-list{
  gap:1px!important;
}
.dashboard.community-mode .member-item,
.dashboard.community-mode .dm-rail-contact{
  min-height:42px!important;
  padding:5px 8px!important;
  border:0!important;
  border-radius:4px!important;
  background:transparent!important;
  box-shadow:none!important;
}
.dashboard.community-mode .member-item:hover,
.dashboard.community-mode .dm-rail-contact:hover,
.dashboard.community-mode .dm-rail-contact.selected{
  background:var(--discord-hover)!important;
  border-color:transparent!important;
  transform:none!important;
}
.dashboard.community-mode .member-avatar,
.dashboard.community-mode .dm-rail-contact .member-avatar{
  width:32px!important;
  height:32px!important;
  min-width:32px!important;
  background:#404249!important;
  color:#dbdee1!important;
}
.dashboard.community-mode .member-avatar::after{
  right:-1px!important;
  bottom:-1px!important;
  width:10px!important;
  height:10px!important;
  border:3px solid var(--discord-sidebar)!important;
}
.dashboard.community-mode .member-item b,
.dashboard.community-mode .dm-rail-contact b{
  color:var(--discord-text)!important;
  font-size:14px!important;
  font-weight:600!important;
}
.dashboard.community-mode .member-item span,
.dashboard.community-mode .dm-rail-contact span{
  color:var(--discord-muted)!important;
  font-size:12px!important;
}
.dashboard.community-mode .member-item.owner-showcase{
  margin:2px 0 7px!important;
  background:transparent!important;
  border-color:transparent!important;
  box-shadow:none!important;
}
.dashboard.community-mode .member-item.owner-showcase::after,
.dashboard.community-mode .member-item.owner-showcase .owner-fx{
  display:none!important;
}
.dashboard.community-mode .user-card.compact{
  margin:8px -2px 0!important;
  padding:8px!important;
  border:0!important;
  border-radius:8px!important;
  background:var(--discord-footer)!important;
  box-shadow:none!important;
}
.dashboard.community-mode .composer{
  background:var(--discord-app-bg)!important;
  border-top:0!important;
  padding:0 16px 18px!important;
}
.dashboard.community-mode .composer textarea#messageInput{
  min-height:44px!important;
  height:44px!important;
  border:0!important;
  border-radius:8px!important;
  background:#383a40!important;
  color:var(--discord-text)!important;
  box-shadow:none!important;
}
.dashboard.community-mode .composer textarea#messageInput::placeholder{
  color:#949ba4!important;
}
.dashboard.community-mode .attach-btn,
.dashboard.community-mode .send-btn,
.dashboard.community-mode .panel-toggle,
.dashboard.community-mode .admin-open:not(.hidden),
.dashboard.community-mode .community-back-link{
  border-radius:4px!important;
  box-shadow:none!important;
}
@media(max-width:760px){
  .dashboard.community-mode,
  .dashboard.community-mode.dm-mode,
  .dashboard.community-mode.channels-collapsed,
  .dashboard.community-mode.dm-mode.channels-collapsed{
    grid-template-columns:132px minmax(0,1fr) 82px!important;
  }
  .dashboard.community-mode.members-collapsed,
  .dashboard.community-mode.dm-mode.members-collapsed,
  .dashboard.community-mode.channels-collapsed.members-collapsed,
  .dashboard.community-mode.dm-mode.channels-collapsed.members-collapsed{
    grid-template-columns:132px minmax(0,1fr) 0!important;
  }
  .dashboard.community-mode .channel-btn,
  .dashboard.community-mode .direct-open,
  .dashboard.community-mode .direct-back{
    font-size:12px!important;
    padding:6px!important;
  }
  .dashboard.community-mode .community-server-cover{
    min-height:72px;
  }
  .dashboard.community-mode .community-cover-mark{
    width:28px;
    height:28px;
    border-radius:8px;
    font-size:10px;
  }
  .dashboard.community-mode .community-cover-copy strong{
    font-size:12px;
  }
  .dashboard.community-mode .community-cover-copy span{
    display:none;
  }
  .dashboard.community-mode .message{
    grid-template-columns:28px minmax(0,1fr)!important;
    gap:8px!important;
    padding:4px 8px!important;
  }
  .dashboard.community-mode .message .mini-avatar,
  .dashboard.community-mode .member-avatar{
    width:28px!important;
    height:28px!important;
    min-width:28px!important;
  }
}
/* End Discord-style community visual refresh */

/* Portal tools opened from Community member rooms. */
.dashboard.community-mode .community-workspace-content{
  display:block!important;
  overflow:auto!important;
  padding:28px!important;
  background-color:#07101e!important;
  background-image:
    linear-gradient(rgba(70,115,176,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(70,115,176,.035) 1px,transparent 1px)!important;
  background-size:40px 40px!important;
}
.dashboard.community-mode .community-workspace-content .workspace-section,
.dashboard.community-mode .community-workspace-content .library-shell,
.dashboard.community-mode .community-workspace-content .academy-shell,
.dashboard.community-mode .community-workspace-content .subscription-shell,
.dashboard.community-mode .community-workspace-content .history-shell{
  width:min(1180px,100%);
  margin:0 auto;
}
.dashboard.community-mode .community-workspace-content .academy-shell.academy-course-shell{
  width:min(1840px,100%);
}
.dashboard.community-mode .community-workspace-content :is(h1,h2,h3,.academy-hero h2,.subscription-head h2,.workspace-empty h3){
  background:linear-gradient(90deg,#4d7fc3 0%,#596bbc 47%,#c4c4c4 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent!important;
  -webkit-text-fill-color:transparent;
}
.dashboard.community-mode .community-workspace-content :is(.channel-kicker,.academy-kicker,.subscription-kicker,.history-panel-head b){
  color:#7194c8!important;
}
.dashboard.community-mode .community-workspace-content :is(.workspace-section,.academy-shell,.subscription-shell,.history-shell) :is(.panel-card,.academy-hero,.academy-player,.academy-sidebar,.subscription-card,.history-panel,.tv-access-card,.mt5-access-card){
  border-color:rgba(145,158,181,.22)!important;
}
.dashboard.community-mode .community-workspace-content .sf-dashboard-shell{
  width:min(980px,100%)!important;
  margin:0 auto!important;
  gap:10px!important;
}
.dashboard.community-mode .community-workspace-content .sf-dashboard-shell .sf-pulse-card{
  padding:14px!important;
}
.dashboard.community-mode .community-workspace-content .sf-dashboard-shell .sf-pulse-grid{
  gap:8px!important;
  margin-top:11px!important;
}
.dashboard.community-mode .community-workspace-content .sf-dashboard-shell .sf-mini-panel{
  min-height:132px!important;
  padding:10px!important;
}
.dashboard.community-mode .community-workspace-content .sf-dashboard-shell .sf-donut{
  width:92px!important;
  margin-top:9px!important;
}
.dashboard.community-mode .community-workspace-content .sf-dashboard-shell .sf-radar{
  width:116px!important;
  margin-top:5px!important;
}
.dashboard.community-mode .community-workspace-content .sf-dashboard-shell .sf-dashboard-lower{
  grid-template-columns:minmax(0,1fr) 220px!important;
  gap:10px!important;
}
.dashboard.community-mode .community-workspace-content .sf-dashboard-shell .sf-model-chart{
  height:72px!important;
}
.dashboard.community-mode .community-workspace-content .sf-dashboard-shell .sf-model-card-body{
  padding:9px!important;
}

/* Discord-like channel hover and selected text */
.dashboard.community-mode .channel-btn:hover,
.dashboard.community-mode .channel-btn.active{
  color:#fff!important;
}
.dashboard.community-mode .channel-btn:hover .channel-title,
.dashboard.community-mode .channel-btn:hover .channel-hash,
.dashboard.community-mode .channel-btn:hover .channel-title-text,
.dashboard.community-mode .channel-btn.active .channel-title,
.dashboard.community-mode .channel-btn.active .channel-hash,
.dashboard.community-mode .channel-btn.active .channel-title-text{
  color:#fff!important;
  opacity:1!important;
}
.dashboard.community-mode .channel-btn:hover .lock-dot,
.dashboard.community-mode .channel-btn.active .lock-dot{
  color:#fff!important;
  opacity:1!important;
}

/* Unread channels use Discord's white label and left-edge marker. */
.dashboard.community-mode .channel-btn.has-new-message:not(.active){
  position:relative!important;
  color:#fff!important;
}
.dashboard.community-mode .channel-btn.has-new-message:not(.active)::before{
  content:"";
  position:absolute;
  left:-8px;
  top:50%;
  width:8px;
  height:8px;
  transform:translateY(-50%);
  border-radius:0 999px 999px 0;
  background:#fff;
}
.dashboard.community-mode .channel-btn.has-new-message:not(.active) .channel-title,
.dashboard.community-mode .channel-btn.has-new-message:not(.active) .channel-hash,
.dashboard.community-mode .channel-btn.has-new-message:not(.active) .channel-title-text{
  color:#fff!important;
  opacity:1!important;
}


.dashboard.community-mode .member-item b,
.dashboard.community-mode .member-item .user-name,
.dashboard.community-mode .member-item .member-name{
  color:var(--member-role-color,#f2f3f5)!important;
}

.dashboard.community-mode .member-item.owner-showcase b,
.dashboard.community-mode .member-item.owner-showcase .user-name{
  color:var(--member-role-color,#f0c86a)!important;
}

/* Keep each member's avatar and identity on one horizontal row at every viewport size. */
.dashboard.community-mode .member-item{
  grid-template-columns:32px minmax(0,1fr)!important;
  justify-items:stretch!important;
  align-items:center!important;
  gap:8px!important;
  text-align:left!important;
}
.dashboard.community-mode .member-item > :last-child{
  min-width:0!important;
}
.dashboard.community-mode .member-item b,
.dashboard.community-mode .member-item .user-name,
.dashboard.community-mode .member-item .member-name,
.dashboard.community-mode .member-item .member-display-name{
  display:block!important;
  min-width:0!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

/* Keep member identity beside the avatar on compact Community layouts. */
@media(max-width:760px){
  .dashboard.community-mode,
  .dashboard.community-mode.dm-mode,
  .dashboard.community-mode.channels-collapsed,
  .dashboard.community-mode.dm-mode.channels-collapsed{
    grid-template-columns:minmax(112px,27vw) minmax(0,1fr) minmax(152px,34vw)!important;
  }
  .dashboard.community-mode .member-item{
    grid-template-columns:28px minmax(0,1fr)!important;
    justify-items:stretch!important;
    align-items:center!important;
    gap:7px!important;
    padding:5px 7px!important;
    text-align:left!important;
  }
  .dashboard.community-mode .member-avatar{
    width:28px!important;
    height:28px!important;
    min-width:28px!important;
  }
  .dashboard.community-mode .member-item > :last-child{min-width:0!important;}
  .dashboard.community-mode .member-item b{font-size:11px!important;}
  .dashboard.community-mode .member-item span{display:block!important;font-size:9px!important;}
}

/* Bring the wordmark closer to the icon across login, portal and community. */
.brand,
.auth-visual-brand,
.auth-form-brand{
  gap:4px!important;
}
.brand-wordmark{
  transform:translate(-2px,-1px);
}

/* community-noselect-panels */
.dashboard.community-mode .sidebar,
.dashboard.community-mode .sidebar *,
.dashboard.community-mode .community-sidebar,
.dashboard.community-mode .community-sidebar *,
.dashboard.community-mode .members-panel,
.dashboard.community-mode .members-panel *,
.dashboard.community-mode .member-list,
.dashboard.community-mode .member-list *,
.dashboard.community-mode .channel-list,
.dashboard.community-mode .channel-list *,
.dashboard.community-mode .channel-btn,
.dashboard.community-mode .channel-btn *,
.dashboard.community-mode .community-channel,
.dashboard.community-mode .community-channel *,
.dashboard.community-mode .portal-community-card,
.dashboard.community-mode .portal-community-card *,
.dashboard.community-mode .user-card.compact,
.dashboard.community-mode .user-card.compact *{
  -webkit-user-select:none;
  user-select:none;
}

.dashboard.community-mode .message-content,
.dashboard.community-mode .message-content *,
.dashboard.community-mode .message-body,
.dashboard.community-mode .message-body *,
.dashboard.community-mode .message-text,
.dashboard.community-mode .message-text *,
.dashboard.community-mode .text-attachment,
.dashboard.community-mode .text-attachment *,
.dashboard.community-mode input,
.dashboard.community-mode textarea,
.dashboard.community-mode [contenteditable="true"],
.dashboard.community-mode [contenteditable="true"] *{
  -webkit-user-select:text;
  user-select:text;
}
/* community-role-name-colors-v2 */
.dashboard.community-mode .member-item.role-founder{--member-role-color:#f0b232;}
.dashboard.community-mode .member-item.role-core-team{--member-role-color:#00d68f;}
.dashboard.community-mode .member-item.role-quantcreator{--member-role-color:#38bdf8;}
.dashboard.community-mode .member-item.role-quant-premium,.dashboard.community-mode .member-item.role-funded{--member-role-color:#39d8ff;}
.dashboard.community-mode .member-item.role-quant{--member-role-color:#8b5cf6;}
.dashboard.community-mode .member-item.role-member{--member-role-color:#5b7cfa;}
.dashboard.community-mode .member-item.role-trial-version{--member-role-color:#5b7cfa;}
.dashboard.community-mode .member-item b,
.dashboard.community-mode .member-item strong,
.dashboard.community-mode .member-item .user-name,
.dashboard.community-mode .member-item .member-name,
.dashboard.community-mode .member-item .member-display-name,
.dashboard.community-mode .member-item [data-member-name]{
  color:var(--member-role-color,#f2f3f5)!important;
}
.dashboard.community-mode .member-item .member-role-line,
.dashboard.community-mode .member-item span:not(.user-name):not(.member-name):not(.member-display-name){
  color:var(--discord-muted)!important;
}

/* community-sidebars-no-select-v2 */
.dashboard.community-mode .sidebar,
.dashboard.community-mode .sidebar *,
.dashboard.community-mode .community-sidebar,
.dashboard.community-mode .community-sidebar *,
.dashboard.community-mode .community-rail,
.dashboard.community-mode .community-rail *,
.dashboard.community-mode .channel-list,
.dashboard.community-mode .channel-list *,
.dashboard.community-mode .channel-btn,
.dashboard.community-mode .channel-btn *,
.dashboard.community-mode .members-panel,
.dashboard.community-mode .members-panel *,
.dashboard.community-mode .member-panel,
.dashboard.community-mode .member-panel *,
.dashboard.community-mode .member-list,
.dashboard.community-mode .member-list *,
.dashboard.community-mode .member-item,
.dashboard.community-mode .member-item *,
.dashboard.community-mode .dm-rail,
.dashboard.community-mode .dm-rail *,
.dashboard.community-mode .dm-rail-contact,
.dashboard.community-mode .dm-rail-contact *,
.dashboard.community-mode .user-card.compact,
.dashboard.community-mode .user-card.compact *{
  -webkit-user-select:none!important;
  user-select:none!important;
}
.dashboard.community-mode .message-content,
.dashboard.community-mode .message-content *,
.dashboard.community-mode .message-body,
.dashboard.community-mode .message-body *,
.dashboard.community-mode .message-text,
.dashboard.community-mode .message-text *,
.dashboard.community-mode .msg-body,
.dashboard.community-mode .msg-body *,
.dashboard.community-mode .text-attachment,
.dashboard.community-mode .text-attachment *,
.dashboard.community-mode .composer textarea,
.dashboard.community-mode textarea,
.dashboard.community-mode input,
.dashboard.community-mode [contenteditable="true"],
.dashboard.community-mode [contenteditable="true"] *{
  -webkit-user-select:text!important;
  user-select:text!important;
}

/* community-role-name-colors-noselect-v4 */
.dashboard.community-mode .member-item.role-founder{--member-role-color:#f0b232!important;}
.dashboard.community-mode .member-item.role-core-team{--member-role-color:#00d68f!important;}
.dashboard.community-mode .member-item.role-quantcreator{--member-role-color:#38bdf8!important;}
.dashboard.community-mode .member-item.role-quant-premium,.dashboard.community-mode .member-item.role-funded{--member-role-color:#39d8ff!important;}
.dashboard.community-mode .member-item.role-quant{--member-role-color:#8b5cf6!important;}
.dashboard.community-mode .member-item.role-member,
.dashboard.community-mode .member-item.role-trial-version{--member-role-color:#5b7cfa!important;}

.dashboard.community-mode .member-item b.user-name,
.dashboard.community-mode .member-item .user-name,
.dashboard.community-mode .member-item .member-name,
.dashboard.community-mode .member-item .member-display-name,
.dashboard.community-mode .member-item [data-member-name]{
  color:var(--member-role-color,#f2f3f5)!important;
  -webkit-text-fill-color:var(--member-role-color,#f2f3f5)!important;
  background:none!important;
  -webkit-background-clip:border-box!important;
  background-clip:border-box!important;
  text-shadow:0 0 10px color-mix(in srgb,var(--member-role-color,#f2f3f5) 30%,transparent)!important;
}
.dashboard.community-mode .member-item.owner-showcase b.user-name,
.dashboard.community-mode .member-item.owner-showcase .user-name{
  color:var(--member-role-color,#f0b232)!important;
  -webkit-text-fill-color:var(--member-role-color,#f0b232)!important;
}
.dashboard.community-mode .member-item span:not(.user-name):not(.member-name):not(.member-display-name){
  color:var(--discord-muted)!important;
  -webkit-text-fill-color:var(--discord-muted)!important;
  text-shadow:none!important;
}

.dashboard.community-mode .community-sidebar,
.dashboard.community-mode .community-sidebar *,
.dashboard.community-mode .community-rail,
.dashboard.community-mode .community-rail *,
.dashboard.community-mode .community-channel-list,
.dashboard.community-mode .community-channel-list *,
.dashboard.community-mode .channel-list,
.dashboard.community-mode .channel-list *,
.dashboard.community-mode .channel-btn,
.dashboard.community-mode .channel-btn *,
.dashboard.community-mode .members-panel,
.dashboard.community-mode .members-panel *,
.dashboard.community-mode .member-panel,
.dashboard.community-mode .member-panel *,
.dashboard.community-mode .member-list,
.dashboard.community-mode .member-list *,
.dashboard.community-mode .member-item,
.dashboard.community-mode .member-item *,
.dashboard.community-mode .dm-rail,
.dashboard.community-mode .dm-rail *,
.dashboard.community-mode .dm-rail-contact,
.dashboard.community-mode .dm-rail-contact *,
.dashboard.community-mode .user-card.compact,
.dashboard.community-mode .user-card.compact *{
  -webkit-user-select:none!important;
  user-select:none!important;
}
.dashboard.community-mode .message-content,
.dashboard.community-mode .message-body,
.dashboard.community-mode .message-text,
.dashboard.community-mode .msg-body,
.dashboard.community-mode .text-attachment,
.dashboard.community-mode .text-attachment *,
.dashboard.community-mode .composer textarea,
.dashboard.community-mode .composer input,
.dashboard.community-mode .composer [contenteditable=true],
.dashboard.community-mode textarea,
.dashboard.community-mode input{
  -webkit-user-select:text!important;
  user-select:text!important;
}

/* Final member-list layout: role group and viewport must not stack identity under the avatar. */
.dashboard.community-mode .member-item{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-start!important;
  text-align:left!important;
}
.dashboard.community-mode .member-item > .member-avatar{
  flex:0 0 32px!important;
}
.dashboard.community-mode .member-item > div:last-child{
  flex:1 1 auto!important;
  min-width:0!important;
}
.dashboard.community-mode .member-item > div:last-child b,
.dashboard.community-mode .member-item > div:last-child .user-name,
.dashboard.community-mode .member-item > div:last-child .member-name,
.dashboard.community-mode .member-item > div:last-child .member-display-name,
.dashboard.community-mode .member-item > div:last-child .member-role-line{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

/* Owner-only simulation controls in Expert History. */
.inline-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.inline-actions input{width:86px;min-height:30px;padding:5px 7px;background:#0a111b;border:1px solid #213247;border-radius:4px;color:#e8edf5;font:inherit}
[data-simulation-trade-card].is-selected{outline:1px solid #39b6d4;background:rgba(57,182,212,.08)}
.history-trade-context-menu{position:fixed;z-index:10050;display:grid;min-width:150px;padding:4px;background:#111821;border:1px solid #2a3b50;box-shadow:0 12px 30px rgba(0,0,0,.38)}
.history-trade-context-menu button{border:0;background:transparent;color:#dfe8f4;padding:9px 11px;text-align:left;font:inherit;font-size:12px;cursor:pointer}
.history-trade-context-menu button:hover{background:#223247}
.history-trade-context-menu button[data-history-trade-action="remove"]{color:#f0818f}

/* Dashboard access funnel */
.dashboard-access-overview{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,.8fr);gap:12px;padding:18px;border:1px solid #183048;background:#07111d}
.dashboard-access-copy{min-width:0}
.dashboard-kicker,.dashboard-section-heading>div>span,.dashboard-next-steps>div>span{display:block;color:#43c8e9;font-size:10px;font-weight:800;letter-spacing:0;text-transform:uppercase}
.dashboard-access-copy h2{margin:7px 0 6px;color:#f3f7fb;font-size:25px;line-height:1.05}
.dashboard-access-copy h2 b{color:#5ed1e4}
.dashboard-access-copy p{max-width:630px;margin:0;color:#90a0b4;font-size:13px;line-height:1.45}
.dashboard-access-status{display:flex;flex-wrap:wrap;gap:7px;margin-top:17px}
.dashboard-access-status span{display:grid;gap:3px;min-width:122px;padding:9px 10px;border:1px solid #1b3045;background:#091725;color:#6f8298;font-size:10px}
.dashboard-access-status b{color:#e9f1f7;font-size:13px}
.dashboard-upgrade-panel{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:15px 16px;border-left:3px solid #1ba5c9;background:#0b1724}
.dashboard-upgrade-panel>span{color:#61c6dd;font-size:10px;font-weight:800;text-transform:uppercase}
.dashboard-upgrade-panel strong{margin-top:5px;color:#f7f9fb;font-size:18px;line-height:1.1}
.dashboard-upgrade-panel p{margin:7px 0 13px;color:#91a1b2;font-size:11px;line-height:1.4}
.dashboard-upgrade-panel>div{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.dashboard-upgrade-panel b{color:#e7edf5;font-size:12px}
.dashboard-upgrade-panel a{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:0 11px;background:#2d83a1;color:#fff!important;font-size:11px;font-weight:800;text-decoration:none}
.dashboard-next-steps{display:grid;grid-template-columns:minmax(190px,.75fr) repeat(3,minmax(0,1fr));gap:8px;padding:12px;border:1px solid #17283b;background:#090f16}
.dashboard-next-steps h3{margin:3px 0 0;color:#e8eff6;font-size:14px;line-height:1.2}
.dashboard-next-steps button{display:flex;align-items:center;gap:8px;padding:8px;border:1px solid #1c3044;background:#0b1622;color:#e7edf3;text-align:left;cursor:pointer}
.dashboard-next-steps button:hover{border-color:#2f9cba;background:#0e1b28}
.dashboard-next-steps i{display:grid;place-items:center;flex:0 0 23px;width:23px;height:23px;background:#1b5266;color:#c9f4ff;font-size:11px;font-style:normal;font-weight:800}
.dashboard-next-steps button span{display:grid;gap:2px;font-size:11px;font-weight:800}
.dashboard-next-steps small{color:#7f91a4;font-size:9px;font-weight:500;line-height:1.25}
.dashboard-model-library-preview{padding:15px;border:1px solid #182a3d;background:#080f17}
.dashboard-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:12px}
.dashboard-section-heading h2{margin:4px 0 0;color:#eef3f8;font-size:18px;line-height:1.15}
.dashboard-model-preview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dashboard-model-preview{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:10px;padding:12px;border:1px solid #1a2a3a;background:#0a1119}
.dashboard-model-preview.is-locked{border-color:#263341}
.dashboard-model-preview-head{grid-column:1/-1;display:flex;justify-content:space-between;gap:10px;align-items:flex-start}
.dashboard-model-preview-head span{color:#8b9caf;font-size:10px;font-weight:700;text-transform:uppercase}
.dashboard-model-preview.is-available .dashboard-model-preview-head span{color:#5ed1a8}
.dashboard-model-preview-head h3{margin:3px 0 0;color:#ecf2f7;font-size:14px;line-height:1.2}
.dashboard-model-preview-head>b{padding:4px 6px;border:1px solid #294158;color:#94b8c7;font-size:9px;white-space:nowrap}
.dashboard-model-preview-chart{min-width:0;height:88px;border:1px solid #142334;background:#070d14;overflow:hidden}
.dashboard-model-preview-chart .model-chart-image{width:100%;height:100%;object-fit:cover;opacity:.8}
.dashboard-model-preview-metrics{display:grid;align-content:center;gap:8px}
.dashboard-model-preview-metrics span{display:grid;gap:1px;color:#7e8fa1;font-size:9px}
.dashboard-model-preview-metrics b{color:#dce7ef;font-size:12px;font-variant-numeric:tabular-nums}
.dashboard-secondary-action{grid-column:1/-1;display:flex;align-items:center;justify-content:center;min-height:31px;border:1px solid #23465c;background:#102133;color:#bcecff!important;font-size:10px;font-weight:800;text-decoration:none;cursor:pointer}
.dashboard-secondary-action:hover{background:#16334a}
.dashboard-disclaimer{margin:10px 0 0;color:#6d7d8e;font-size:10px;line-height:1.4}

@media (max-width:780px){
  .dashboard-access-overview,.dashboard-next-steps,.dashboard-model-preview-grid{grid-template-columns:1fr}
  .dashboard-upgrade-panel{border-top:2px solid #1ba5c9;border-left:0}
  .dashboard-next-steps>div{padding:2px 3px}
}

.dashboard.community-mode .community-workspace-content .dashboard-access-overview,
.dashboard.community-mode .community-workspace-content .dashboard-next-steps,
.dashboard.community-mode .community-workspace-content .dashboard-model-library-preview{width:100%;box-sizing:border-box}


.restricted-events-workspace {
  background-color: #050b12;
}

.restricted-events-shell {
  width: 100%;
  max-width: 1760px;
  margin: 22px auto 64px;
  padding: 22px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 10px;
  background: rgba(8, 13, 20, 0.94);
}

/* 1-day trial room: centered Mac-style license window. */
.trial-license-panel{
  min-height:calc(100dvh - 118px);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:42px 24px;
}
.trial-license-card{
  width:min(760px,100%);
  overflow:hidden;
  border:1px solid rgba(101,219,244,.24);
  border-radius:24px;
  background:linear-gradient(180deg,rgba(17,20,30,.98),rgba(7,8,15,.98));
  box-shadow:0 40px 130px rgba(0,0,0,.58),0 0 90px rgba(82,196,233,.12),inset 0 1px 0 rgba(255,255,255,.08);
}
.trial-license-window-bar{
  height:46px;
  display:flex;
  align-items:center;
  gap:9px;
  padding:0 18px;
  border-bottom:1px solid rgba(255,255,255,.09);
  background:linear-gradient(180deg,rgba(34,37,48,.94),rgba(18,20,29,.96));
}
.trial-window-dot{
  width:12px;
  height:12px;
  border-radius:50%;
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.24);
}
.trial-window-dot.red{background:#ff5f57}
.trial-window-dot.yellow{background:#ffbd2e}
.trial-window-dot.green{background:#28c840}
.trial-window-title{
  margin-left:10px;
  color:rgba(222,231,242,.56);
  font-size:12px;
  font-weight:850;
}
.trial-license-window-body{
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  padding:46px clamp(28px,5vw,64px) 54px;
  text-align:center;
}
.trial-license-window-body::before{
  content:"";
  position:absolute;
  inset:18px 12% auto;
  height:210px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(81,207,230,.18),rgba(101,124,255,.06) 46%,transparent 72%);
  filter:blur(12px);
  pointer-events:none;
}
.trial-license-orb{
  position:relative;
  width:76px;
  height:76px;
  display:grid;
  place-items:center;
  margin-bottom:18px;
  border:1px solid rgba(128,231,244,.24);
  border-radius:22px;
  background:linear-gradient(180deg,rgba(255,255,255,.09),rgba(255,255,255,.03));
  box-shadow:0 24px 70px rgba(70,203,229,.15);
  font-size:34px;
}
.trial-license-card .channel-kicker{
  position:relative;
  color:#55d6e8;
}
.trial-license-card h3{
  position:relative;
  max-width:620px;
  margin:8px auto 12px;
  color:#eef4fb;
  font-size:clamp(34px,4vw,54px);
  font-weight:950;
  line-height:.98;
  letter-spacing:0;
}
.trial-license-card p{
  position:relative;
  max-width:610px;
  margin:0 auto 22px;
  color:rgba(201,211,224,.72);
  font-size:14px;
  font-weight:750;
  line-height:1.55;
}
.trial-license-status{
  position:relative;
  width:min(430px,100%);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin:4px auto 20px;
  padding:14px 16px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:14px;
  background:rgba(255,255,255,.055);
  text-align:left;
}
.trial-license-status b{
  color:#f1f6fb;
  font-size:13px;
  font-weight:950;
}
.trial-license-status span{
  color:#93a0b2;
  font-size:12px;
  font-weight:800;
  line-height:1.3;
  text-align:right;
}
.trial-license-status.active{
  border-color:rgba(67,216,170,.28);
  background:rgba(43,185,136,.08);
}
.trial-license-status.active span{color:#5ce1b1}
.trial-license-status.expired{
  border-color:rgba(255,110,132,.28);
  background:rgba(255,110,132,.07);
}
.trial-license-status.expired span{color:#ff9aaa}
.trial-license-code{
  position:relative;
  width:min(430px,100%);
  margin:0 auto 16px;
  text-align:center;
}
.trial-license-actions{
  position:relative;
  width:min(430px,100%);
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.trial-license-actions .strategy-action,
.trial-license-actions .ghost,
.trial-license-card .primary{
  min-height:48px;
  justify-content:center;
  border-radius:14px;
}
.trial-license-card .primary{
  position:relative;
  width:min(360px,100%);
  margin-top:2px;
  background:linear-gradient(135deg,#62dff0,#667ff2);
  color:#031019;
  box-shadow:0 24px 70px rgba(80,205,235,.22);
}
@media(max-width:760px){
  .trial-license-panel{
    min-height:calc(100dvh - 92px);
    padding:24px 14px;
  }
  .trial-license-card{
    border-radius:20px;
  }
  .trial-license-window-bar{
    height:40px;
    padding:0 14px;
  }
  .trial-license-window-body{
    padding:34px 18px 38px;
  }
  .trial-license-orb{
    width:64px;
    height:64px;
    border-radius:18px;
    font-size:29px;
  }
  .trial-license-card h3{
    font-size:32px;
  }
  .trial-license-card p{
    font-size:12.5px;
  }
  .trial-license-status,
  .trial-license-actions{
    width:100%;
  }
  .trial-license-status{
    display:grid;
    text-align:center;
  }
  .trial-license-status span{
    text-align:center;
  }
  .trial-license-actions{
    grid-template-columns:1fr;
  }
}

@media (min-width: 981px) {
  .dashboard.community-mode .community-workspace-content.restricted-events-workspace {
    padding: 0 !important;
  }

  .dashboard.community-mode .community-workspace-content .restricted-events-shell {
    width: 100% !important;
    max-width: none !important;
    min-height: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    border-radius: 0 !important;
  }

  .dashboard.community-mode .community-workspace-content .restricted-events-days {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow-x: hidden;
  }
}

.restricted-events-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}

.restricted-events-toolbar h2 {
  margin: 2px 0 8px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 0.95;
  color: #f3f4f6;
}

.restricted-events-toolbar p {
  margin: 0;
  max-width: 560px;
  color: #8b98aa;
}

.restricted-events-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.restricted-events-actions button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  background: #0d121b;
  color: #cbd5e1;
  font-weight: 700;
  cursor: pointer;
}

.restricted-events-actions button:hover {
  border-color: rgba(94, 234, 212, 0.38);
  color: #ffffff;
}

.restricted-events-status {
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 8px;
  color: #94a3b8;
  background: rgba(15, 23, 42, 0.5);
}

.restricted-events-status.error {
  border-color: rgba(244, 63, 94, 0.28);
  color: #fda4af;
}

.restricted-events-days {
  display: grid;
  grid-template-columns: repeat(5, minmax(220px, 1fr));
  align-items: start;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
}

.restricted-events-day {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: auto;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 10px;
  overflow: hidden;
  background: #060a10;
  scroll-snap-align: start;
}

.restricted-events-day-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 15px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  background: #0a111a;
}

.restricted-events-day-head h3 {
  margin: 0;
  color: #e5e7eb;
  font-size: 16px;
}

.restricted-events-day-head span {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.restricted-events-day-list {
  min-height: 0;
  overflow-y: visible;
  overscroll-behavior: auto;
}

.restricted-events-day-empty {
  display: grid;
  min-height: 130px;
  place-items: center;
  padding: 20px;
  color: #64748b;
  font-size: 12px;
  text-align: center;
}

.restricted-event-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "time impact"
    "main main";
  align-items: start;
  gap: 8px 10px;
  padding: 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.restricted-event-row:last-child {
  border-bottom: 0;
}


.restricted-event-row.is-restricted {
  border-left: 3px solid rgba(244, 63, 94, 0.78);
  background: linear-gradient(90deg, rgba(244, 63, 94, 0.16), rgba(127, 29, 29, 0.13) 46%, rgba(8, 13, 20, 0.92));
  box-shadow: inset 0 0 0 1px rgba(244, 63, 94, 0.12);
}

.restricted-event-row.is-restricted + .restricted-event-row {
  border-top-color: rgba(244, 63, 94, 0.1);
}

.restricted-event-row.is-restricted .restricted-event-time,
.restricted-event-row.is-restricted .restricted-event-title {
  color: #fecdd3;
}

.restricted-event-row.is-new-york-open {
  border-left: 3px solid rgba(80, 218, 255, 0.72);
  background: linear-gradient(90deg, rgba(20, 184, 166, 0.18), rgba(59, 130, 246, 0.10) 46%, rgba(8, 13, 20, 0.92));
  box-shadow: inset 0 0 0 1px rgba(80, 218, 255, 0.10);
}

.restricted-event-row.is-restricted.is-new-york-open {
  border-left-color: rgba(244, 63, 94, 0.78);
  background:
    linear-gradient(90deg, rgba(244, 63, 94, 0.16), rgba(20, 184, 166, 0.15) 42%, rgba(8, 13, 20, 0.92));
}

.restricted-event-session {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 6px;
  padding: 4px 7px;
  border: 1px solid rgba(80, 218, 255, 0.30);
  border-radius: 999px;
  background: rgba(14, 116, 144, 0.16);
  color: #9beafe;
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.restricted-event-warning {
  margin-top: 4px;
  color: #fb7185;
  font-size: 12px;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.restricted-event-time {
  grid-area: time;
  color: #67e8f9;
  font-weight: 800;
  font-size: 13px;
}

.restricted-event-main {
  grid-area: main;
  min-width: 0;
}

.restricted-event-title {
  color: #f3f4f6;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.restricted-event-meta {
  margin-top: 3px;
  color: #7f8da3;
  font-size: 12px;
}

.restricted-event-pill {
  grid-area: impact;
  justify-self: end;
  padding: 5px 8px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(148, 163, 184, 0.08);
  color: #cbd5e1;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.restricted-event-impact.high {
  border-color: rgba(244, 63, 94, 0.35);
  background: rgba(244, 63, 94, 0.12);
  color: #fda4af;
}

.restricted-event-impact.medium {
  border-color: rgba(251, 191, 36, 0.32);
  background: rgba(251, 191, 36, 0.1);
  color: #fde68a;
}

.restricted-event-impact.low {
  border-color: rgba(45, 212, 191, 0.28);
  background: rgba(45, 212, 191, 0.1);
  color: #99f6e4;
}

.restricted-events-empty {
  padding: 28px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 10px;
  color: #94a3b8;
  text-align: center;
  background: #060a10;
}

@media (max-width: 720px) {
  .restricted-events-shell {
    width: calc(100vw - 24px);
    padding: 14px;
  }

  .restricted-events-toolbar {
    display: block;
  }

  .restricted-events-actions {
    justify-content: flex-start;
    margin-top: 14px;
  }

  .restricted-events-days {
    grid-template-columns: repeat(5, minmax(240px, 78vw));
  }

  .restricted-events-day {
    height: auto;
  }
}

/* Community visual polish - LuxAlgo-style dark shell */
.dashboard.community-mode{
  --community-bg:#0c0d0f;
  --community-panel:#0c0d0f;
  --community-line:rgba(255,255,255,.075);
  --community-line-strong:rgba(255,255,255,.11);
  --community-hover:#151619;
  --community-active:#18191c;
  --community-text:#d4d7dd;
  --community-muted:#81858e;
  --community-soft:#a4a8b0;
  --community-accent:#5ed8e5;
  grid-template-columns:286px minmax(0,1fr) 276px!important;
  gap:0!important;
  padding:0!important;
  background:var(--community-bg)!important;
  color:var(--community-text)!important;
  font-family:Aeonik,"Aeonik Fallback",Inter,system-ui,sans-serif!important;
}
.dashboard.community-mode.dm-mode,
.dashboard.community-mode.channels-collapsed,
.dashboard.community-mode.dm-mode.channels-collapsed{
  grid-template-columns:286px minmax(0,1fr) 276px!important;
}
.dashboard.community-mode.members-collapsed,
.dashboard.community-mode.dm-mode.members-collapsed,
.dashboard.community-mode.channels-collapsed.members-collapsed,
.dashboard.community-mode.dm-mode.channels-collapsed.members-collapsed{
  grid-template-columns:286px minmax(0,1fr) 0!important;
}
.dashboard.community-mode *,
.dashboard.community-mode *::before,
.dashboard.community-mode *::after{
  font-family:Aeonik,"Aeonik Fallback",Inter,system-ui,sans-serif!important;
}
.dashboard.community-mode .sidebar{
  display:flex!important;
  padding:12px 16px 14px!important;
  border:0!important;
  border-right:1px solid var(--community-line)!important;
  border-radius:0!important;
  background:var(--community-panel)!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
}
.dashboard.community-mode .side-top{
  display:flex!important;
  align-items:center!important;
  min-height:28px!important;
  margin:0 0 26px!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
}
.dashboard.community-mode .side-top .brand{
  gap:6px!important;
  color:#f0f1f4!important;
  font-size:13px!important;
  font-weight:800!important;
  letter-spacing:-.01em!important;
}
.dashboard.community-mode .side-top .brand-logo{
  width:18px!important;
  height:18px!important;
  flex-basis:18px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
}
.dashboard.community-mode .side-top .brand-logo img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  transform:scale(1.65)!important;
  filter:brightness(0) invert(1)!important;
  opacity:.82!important;
}
.dashboard.community-mode .side-top .brand-wordmark{
  color:#f2f3f5!important;
  -webkit-text-fill-color:#f2f3f5!important;
  background:none!important;
  transform:none!important;
}
.dashboard.community-mode .community-server-cover{
  display:none!important;
}
.dashboard.community-mode .portal-community-label{
  margin:0 0 18px!important;
}
.dashboard.community-mode .side-label,
.dashboard.community-mode .channel-category-label,
.dashboard.community-mode .portal-community-label,
.dashboard.community-mode .member-label{
  color:var(--community-muted)!important;
  font-size:10px!important;
  font-weight:800!important;
  letter-spacing:.045em!important;
  line-height:1!important;
  text-transform:uppercase!important;
}
.dashboard.community-mode .direct-open,
.dashboard.community-mode .channel-btn,
.dashboard.community-mode .direct-back{
  min-height:34px!important;
  padding:8px 10px!important;
  border:1px solid transparent!important;
  border-radius:10px!important;
  background:transparent!important;
  color:var(--community-soft)!important;
  font-size:13px!important;
  font-weight:650!important;
  line-height:1.15!important;
  opacity:1!important;
  box-shadow:none!important;
  transform:none!important;
  transition:background .18s ease,color .18s ease,border-color .18s ease,opacity .18s ease,box-shadow .18s ease!important;
}
.dashboard.community-mode .direct-open:hover,
.dashboard.community-mode .channel-btn:hover,
.dashboard.community-mode .direct-back:hover{
  background:var(--community-hover)!important;
  color:#eef0f3!important;
  border-color:rgba(255,255,255,.035)!important;
  transform:none!important;
}
.dashboard.community-mode .direct-open.active,
.dashboard.community-mode .channel-btn.active,
.dashboard.community-mode .direct-back.active{
  background:var(--community-active)!important;
  color:#ffffff!important;
  border-color:rgba(255,255,255,.045)!important;
}
.dashboard.community-mode .channel-category{
  gap:3px!important;
}
.dashboard.community-mode .channel-category + .channel-category{
  margin-top:18px!important;
}
.dashboard.community-mode .channel-category-label{
  padding:0 8px 4px!important;
}
.dashboard.community-mode .channels{
  gap:1px!important;
  padding:0!important;
  scrollbar-width:thin!important;
  scrollbar-color:#2a2b2f transparent!important;
}
.dashboard.community-mode .channel-title{
  gap:10px!important;
  color:inherit!important;
}
.dashboard.community-mode .channel-title-text{
  color:inherit!important;
  font-weight:650!important;
}
.dashboard.community-mode .channel-hash{
  width:18px!important;
  min-width:18px!important;
  margin:0!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:#8a8f98!important;
  font-size:12px!important;
  font-weight:800!important;
  letter-spacing:0!important;
  opacity:.92!important;
}
.dashboard.community-mode .channel-system-glyph{
  color:#b7bbc2!important;
  font-size:10px!important;
}
.dashboard.community-mode .channel-custom-glyph{
  color:#7d828b!important;
  font-size:15px!important;
  font-weight:650!important;
}
.dashboard.community-mode .channel-svg-icon{
  color:#fff!important;
  opacity:.72!important;
}
.dashboard.community-mode .channel-svg-icon img{
  display:block!important;
  width:14px!important;
  height:14px!important;
  object-fit:contain!important;
  opacity:1!important;
}
.dashboard.community-mode .channel-btn:hover .channel-hash,
.dashboard.community-mode .channel-btn.active .channel-hash{
  color:#f2f3f5!important;
}
.dashboard.community-mode .channel-btn:hover .channel-svg-icon,
.dashboard.community-mode .channel-btn.active .channel-svg-icon{
  opacity:1!important;
}
.dashboard.community-mode .channel-btn.locked{
  color:#6e737b!important;
}
.dashboard.community-mode .channel-btn.locked:hover,
.dashboard.community-mode .channel-btn.locked-preview{
  background:#121316!important;
  color:#8d929b!important;
}
.dashboard.community-mode .lock-dot{
  width:18px!important;
  height:18px!important;
  flex-basis:18px!important;
  border:0!important;
  background:transparent!important;
  color:#747983!important;
  font-size:11px!important;
}
.dashboard.community-mode .mention-count,
.dashboard.community-mode .direct-open strong{
  min-width:18px!important;
  height:18px!important;
  border:0!important;
  border-radius:999px!important;
  background:#d8454f!important;
  color:#fff!important;
  font-size:10px!important;
  font-weight:800!important;
}
.dashboard.community-mode .direct-open{
  margin:0 0 18px!important;
}
.dashboard.community-mode .direct-open .channel-title{
  font-weight:700!important;
}
.dashboard.community-mode .direct-open .channel-title::before{
  content:"@";
  width:18px;
  min-width:18px;
  color:#8a8f98;
  text-align:center;
}
.dashboard.community-mode .direct-open .channel-title{
  display:flex!important;
}
.dashboard.community-mode .direct-open .channel-title{
  font-size:13px!important;
}
.dashboard.community-mode .channel-btn > span,
.dashboard.community-mode .channel-btn .message-presence,
.dashboard.community-mode .direct-open > span,
.dashboard.community-mode .direct-back > span{
  display:none!important;
}
.dashboard.community-mode .trial-upgrade-cta{
  display:grid;
  margin:0 0 10px!important;
  padding:9px 10px!important;
  border:1px solid var(--community-line)!important;
  border-radius:9px!important;
  background:#101113!important;
  color:#dfe3e8!important;
  box-shadow:none!important;
  transition:opacity .2s ease,background .2s ease,border-color .2s ease,box-shadow .2s ease,transform .2s ease!important;
}
.dashboard.community-mode .trial-upgrade-cta.hidden{
  display:none!important;
}
.dashboard.community-mode .trial-upgrade-cta span{
  color:#727781!important;
  font-size:10px!important;
  font-weight:700!important;
  letter-spacing:0!important;
}
.dashboard.community-mode .trial-upgrade-cta strong{
  color:#f0f2f5!important;
  font-size:12px!important;
  font-weight:750!important;
}
.dashboard.community-mode .trial-upgrade-cta em{
  border:0!important;
  background:transparent!important;
  color:#8a8f98!important;
  padding:0!important;
  font-size:11px!important;
  font-weight:700!important;
}
.dashboard.community-mode .trial-upgrade-cta:hover{
  background:#15171a!important;
  border-color:rgba(94,216,229,.32)!important;
  box-shadow:0 0 26px rgba(94,216,229,.08)!important;
  transform:translateY(-1px)!important;
}
.dashboard.community-mode .account-menu-toggle{
  margin-top:4px!important;
  padding:9px 10px!important;
  border:1px solid transparent!important;
  border-radius:10px!important;
  background:transparent!important;
  color:#e6e8ec!important;
  box-shadow:none!important;
  transition:background .18s ease,border-color .18s ease,opacity .18s ease!important;
}
.dashboard.community-mode .account-menu-toggle:hover,
.dashboard.community-mode .account-menu-toggle[aria-expanded="true"]{
  background:#151619!important;
  border-color:rgba(255,255,255,.045)!important;
  box-shadow:none!important;
}
.dashboard.community-mode .account-menu-toggle .avatar{
  width:30px!important;
  height:30px!important;
  border-radius:50%!important;
  background:#2a2c31!important;
}
.dashboard.community-mode .account-menu-toggle small{
  color:#858992!important;
  font-size:11px!important;
}
.dashboard.community-mode .account-menu-chevron{
  color:#858992!important;
}
.dashboard.community-mode .account-menu{
  bottom:calc(100% + 10px)!important;
  padding:7px!important;
  border:1px solid var(--community-line-strong)!important;
  border-radius:9px!important;
  background:#101113!important;
  box-shadow:0 22px 55px rgba(0,0,0,.45)!important;
  opacity:1;
  transform:translateY(0) scale(1);
  transform-origin:bottom left;
  animation:accountMenuFadeIn .16s ease both;
}
.dashboard.community-mode .account-menu.closing{
  opacity:0!important;
  pointer-events:none!important;
  transform:translateY(6px) scale(.985)!important;
  transition:opacity .16s ease,transform .16s ease!important;
}
.dashboard.community-mode .account-menu button{
  min-height:36px!important;
  border-radius:7px!important;
  color:#d6d9df!important;
  font-size:13px!important;
  font-weight:650!important;
}
.dashboard.community-mode .account-menu button:hover{
  background:#1b1c20!important;
  color:#ffffff!important;
}
.dashboard.community-mode .account-menu button span{
  color:#8a8f98!important;
}
.dashboard.community-mode .account-menu button:hover span{
  color:#f0f2f5!important;
}
.dashboard.community-mode .account-menu-label{
  color:#787d86!important;
  font-size:10px!important;
  letter-spacing:.045em!important;
}
.dashboard.community-mode .account-menu-divider{
  background:var(--community-line)!important;
}
@keyframes accountMenuFadeIn{
  from{opacity:0;transform:translateY(6px) scale(.985)}
  to{opacity:1;transform:translateY(0) scale(1)}
}
.dashboard.community-mode .chat-panel,
.dashboard.community-mode .members-panel,
.dashboard.community-mode .dm-panel{
  border:0!important;
  border-radius:0!important;
  background:var(--community-bg)!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
}
.dashboard.community-mode .chat-panel{
  border-right:1px solid var(--community-line)!important;
}
.dashboard.community-mode .members-panel{
  border-left:0!important;
  padding:14px 12px!important;
}
.dashboard.community-mode .chat-head{
  min-height:44px!important;
  padding:10px 14px!important;
  border-bottom:1px solid var(--community-line)!important;
  background:var(--community-bg)!important;
  box-shadow:none!important;
}
.dashboard.community-mode .chat-head h2{
  color:#eff1f4!important;
  font-size:13px!important;
  font-weight:750!important;
  letter-spacing:0!important;
}
.dashboard.community-mode .chat-head p{
  color:#858992!important;
  font-size:11px!important;
}
.dashboard.community-mode .messages{
  background:var(--community-bg)!important;
  padding:14px 0 18px!important;
}
.dashboard.community-mode .message:hover{
  background:#121316!important;
}
.dashboard.community-mode .composer{
  background:var(--community-bg)!important;
  padding:10px 14px!important;
}
.dashboard.community-mode .composer-error:empty{
  display:none;
}
.dashboard.community-mode .compose-row{
  align-items:center;
}
.dashboard.community-mode .composer textarea#messageInput{
  border:1px solid var(--community-line)!important;
  border-radius:10px!important;
  background:#111214!important;
  color:#f1f3f6!important;
}
.dashboard.community-mode .composer textarea#messageInput:focus{
  border-color:rgba(94,216,229,.3)!important;
  box-shadow:0 0 0 3px rgba(94,216,229,.06)!important;
}
.dashboard.community-mode .members-head h2{
  color:#eef0f3!important;
  font-size:14px!important;
  font-weight:750!important;
}
.dashboard.community-mode .member-count{
  min-width:24px!important;
  height:22px!important;
  border:1px solid var(--community-line)!important;
  border-radius:8px!important;
  background:#151619!important;
  color:#b8bdc5!important;
  font-size:11px!important;
}
.dashboard.community-mode .member-list{
  gap:2px!important;
}
.dashboard.community-mode .member-item,
.dashboard.community-mode .dm-rail-contact{
  min-height:36px!important;
  padding:5px 8px!important;
  border:1px solid transparent!important;
  border-radius:9px!important;
  background:transparent!important;
  transition:background .18s ease,border-color .18s ease,color .18s ease!important;
}
.dashboard.community-mode .member-item:hover,
.dashboard.community-mode .dm-rail-contact:hover,
.dashboard.community-mode .dm-rail-contact.selected{
  background:#151619!important;
  border-color:rgba(255,255,255,.035)!important;
}
.dashboard.community-mode .member-avatar,
.dashboard.community-mode .dm-rail-contact .member-avatar{
  width:30px!important;
  height:30px!important;
  min-width:30px!important;
  border-radius:50%!important;
  background:#292b30!important;
}
.dashboard.community-mode .member-avatar::after{
  border-color:var(--community-bg)!important;
}
.dashboard.community-mode .member-item span,
.dashboard.community-mode .dm-rail-contact span{
  color:#858992!important;
}
.dashboard.community-mode .voice-controls{
  padding:5px 0 4px!important;
  background:transparent!important;
}
.dashboard.community-mode .voice-controls button{
  border-radius:8px!important;
  color:#8a8f98!important;
}
.dashboard.community-mode .voice-controls button:hover,
.dashboard.community-mode .voice-controls button.active{
  background:#151619!important;
  color:#eef0f3!important;
}
@media(max-width:900px){
  .dashboard.community-mode,
  .dashboard.community-mode.dm-mode,
  .dashboard.community-mode.channels-collapsed,
  .dashboard.community-mode.dm-mode.channels-collapsed,
  .dashboard.community-mode.members-collapsed,
  .dashboard.community-mode.dm-mode.members-collapsed,
  .dashboard.community-mode.channels-collapsed.members-collapsed,
  .dashboard.community-mode.dm-mode.channels-collapsed.members-collapsed{
    grid-template-columns:minmax(176px,34vw) minmax(0,1fr)!important;
  }
  .dashboard.community-mode .members-panel{
    display:none!important;
  }
}
@media(max-width:760px){
  .dashboard.community-mode,
  .dashboard.community-mode.dm-mode,
  .dashboard.community-mode.channels-collapsed,
  .dashboard.community-mode.dm-mode.channels-collapsed,
  .dashboard.community-mode.members-collapsed,
  .dashboard.community-mode.dm-mode.members-collapsed,
  .dashboard.community-mode.channels-collapsed.members-collapsed,
  .dashboard.community-mode.dm-mode.channels-collapsed.members-collapsed{
    grid-template-columns:142px minmax(0,1fr)!important;
    gap:0!important;
    padding:0!important;
  }
  .dashboard.community-mode .sidebar{
    padding:10px 8px!important;
  }
  .dashboard.community-mode .side-top{
    margin-bottom:16px!important;
  }
  .dashboard.community-mode .side-top .brand-wordmark{
    font-size:12px!important;
  }
  .dashboard.community-mode .direct-open,
  .dashboard.community-mode .channel-btn,
  .dashboard.community-mode .direct-back{
    min-height:30px!important;
    padding:7px 8px!important;
    border-radius:8px!important;
    font-size:11px!important;
  }
  .dashboard.community-mode .channel-title{
    gap:7px!important;
  }
  .dashboard.community-mode .channel-hash{
    width:15px!important;
    min-width:15px!important;
    font-size:10px!important;
  }
  .dashboard.community-mode .chat-head{
    min-height:40px!important;
    padding:8px 10px!important;
  }
  .dashboard.community-mode .chat-head p{
    display:none!important;
  }
}

/* Community workspace neutral theme - keeps text channels untouched */
.dashboard.community-mode .community-workspace-content{
  --workspace-neutral-bg:#0c0d0f;
  --workspace-neutral-panel:#101113;
  --workspace-neutral-panel-2:#141518;
  --workspace-neutral-panel-3:#18191c;
  --workspace-neutral-line:rgba(255,255,255,.075);
  --workspace-neutral-line-strong:rgba(255,255,255,.13);
  --workspace-neutral-text:#f3f4f6;
  --workspace-neutral-soft:#c9cbd1;
  --workspace-neutral-muted:#8f929a;
  --workspace-neutral-faint:#686c74;
  background:#0c0d0f!important;
  background-image:none!important;
  color:var(--workspace-neutral-text)!important;
  font-family:Aeonik,"Aeonik Fallback",Inter,system-ui,sans-serif!important;
}
.dashboard.community-mode .community-workspace-content::before,
.dashboard.community-mode .community-workspace-content::after{
  content:none!important;
}
.dashboard.community-mode .community-workspace-content :is(
  h1,h2,h3,h4,
  .workspace-empty h3,
  .academy-hero h2,
  .subscription-head h2,
  .sf-pulse-head h2,
  .sf-page-title h2,
  .model-detail-title h1,
  .restricted-events-toolbar h2
){
  background:none!important;
  background-image:none!important;
  -webkit-background-clip:border-box!important;
  background-clip:border-box!important;
  color:var(--workspace-neutral-text)!important;
  -webkit-text-fill-color:var(--workspace-neutral-text)!important;
  letter-spacing:0!important;
}
.dashboard.community-mode .community-workspace-content :is(
  p,li,label,small,span,dt,dd,td,th,em,
  .workspace-head p,
  .sf-pulse-head p,
  .sf-page-title p,
  .sf-section-row p,
  .subscription-summary-card p,
  .subscription-card-heading small,
  .billing-panel-head p,
  .restricted-events-toolbar p
){
  color:var(--workspace-neutral-soft)!important;
  -webkit-text-fill-color:currentColor!important;
}
.dashboard.community-mode .community-workspace-content :is(
  b,strong,
  .sf-row-name,
  .sf-row-name b,
  .sf-model-table td,
  .sf-model-table th,
  .billing-history-row b,
  .billing-payment-row b,
  .model-download-file b,
  .model-selected-grid b,
  .model-income-summary b
){
  color:var(--workspace-neutral-text)!important;
  -webkit-text-fill-color:var(--workspace-neutral-text)!important;
}
.dashboard.community-mode .community-workspace-content :is(
  .channel-kicker,
  .academy-kicker,
  .subscription-kicker,
  .workspace-kicker,
  .workspace-card-kicker,
  .sf-chip,
  .sf-panel-label,
  .sf-selected-label,
  .subscription-card-heading span,
  .billing-current-card span,
  .restricted-events-status,
  .restricted-events-day-head span
){
  background:none!important;
  color:var(--workspace-neutral-muted)!important;
  -webkit-text-fill-color:var(--workspace-neutral-muted)!important;
}
.dashboard.community-mode .community-workspace-content :is(
  .workspace-section,
  .library-shell,
  .academy-shell,
  .subscription-shell,
  .history-shell,
  .sf-dashboard-shell,
  .sf-library-page,
  .model-detail-shell,
  .model-result-lab,
  .restricted-events-shell
){
  color:var(--workspace-neutral-text)!important;
}
.dashboard.community-mode .community-workspace-content :is(
  .panel-card,
  .workspace-empty,
  .academy-hero,
  .academy-player,
  .academy-sidebar,
  .subscription-card,
  .subscription-summary-card,
  .subscription-checkout-card,
  .history-panel,
  .tv-access-card,
  .mt5-access-card,
  .dashboard-access-overview,
  .dashboard-next-steps,
  .dashboard-model-library-preview,
  .sf-pulse-card,
  .sf-filter-card,
  .sf-table-card,
  .sf-quick-card,
  .sf-model-card,
  .model-curve-card,
  .model-selected-panel,
  .model-funded-table,
  .model-downloads-panel,
  .billing-panel,
  .billing-current-card,
  .billing-local-nav,
  .restricted-events-day
){
  border-color:var(--workspace-neutral-line)!important;
  background:#101113!important;
  background-image:none!important;
  box-shadow:none!important;
  color:var(--workspace-neutral-text)!important;
}
.dashboard.community-mode .community-workspace-content :is(
  .sf-mini-panel,
  .sf-universe,
  .sf-model-stats div,
  .sf-stat-box,
  .sf-tip-box,
  .sf-search-box,
  .sf-filter-group,
  .sf-filter-select,
  .model-income-summary div,
  .model-selected-grid div,
  .subscription-summary-card dl div,
  .subscription-note,
  .billing-history-row,
  .billing-payment-row
){
  border-color:var(--workspace-neutral-line)!important;
  background:#141518!important;
  background-image:none!important;
  box-shadow:none!important;
  color:var(--workspace-neutral-text)!important;
}
.dashboard.community-mode .community-workspace-content :is(
  input,
  select,
  textarea,
  .settings-input,
  .sf-search-box input,
  .subscription-checkout-card input,
  .subscription-checkout-card select,
  .tv-access-form input
){
  border-color:var(--workspace-neutral-line)!important;
  background:#0c0d0f!important;
  color:var(--workspace-neutral-text)!important;
  box-shadow:none!important;
}
.dashboard.community-mode .community-workspace-content :is(input,select,textarea)::placeholder{
  color:var(--workspace-neutral-faint)!important;
}
.dashboard.community-mode .community-workspace-content :is(input,select,textarea):focus{
  border-color:rgba(255,255,255,.22)!important;
  box-shadow:0 0 0 3px rgba(255,255,255,.045)!important;
}
.dashboard.community-mode .community-workspace-content :is(
  button,
  .workspace-access-badge,
  .workspace-secondary-btn,
  .workspace-text-action,
  .sf-filter-actions button,
  .sf-filter-select,
  .sf-copy-btn,
  .sf-view-btn,
  .sf-link-btn,
  .sf-ghost-btn,
  .subscription-cycle-toggle button,
  .subscription-plan-card,
  .billing-secondary-button,
  .restricted-events-actions button
){
  border-color:var(--workspace-neutral-line)!important;
  background:#141518!important;
  background-image:none!important;
  color:var(--workspace-neutral-text)!important;
  box-shadow:none!important;
  -webkit-text-fill-color:var(--workspace-neutral-text)!important;
  transition:background .18s ease,border-color .18s ease,opacity .18s ease,transform .18s ease!important;
}
.dashboard.community-mode .community-workspace-content :is(
  button,
  .workspace-secondary-btn,
  .workspace-text-action,
  .sf-filter-actions button,
  .sf-copy-btn,
  .sf-view-btn,
  .sf-link-btn,
  .sf-ghost-btn,
  .billing-secondary-button,
  .restricted-events-actions button
):hover{
  border-color:var(--workspace-neutral-line-strong)!important;
  background:#1b1c20!important;
  color:#fff!important;
  transform:none!important;
}
.dashboard.community-mode .community-workspace-content :is(
  .sf-filter-actions button.active,
  .subscription-cycle-toggle button.active,
  .subscription-plan-card.active
){
  border-color:rgba(255,255,255,.18)!important;
  background:#1d1f23!important;
  color:#fff!important;
}
.dashboard.community-mode .community-workspace-content .subscription-pay-button{
  border:1px solid rgba(255,255,255,.14)!important;
  background:#f4f4f5!important;
  color:#0c0d0f!important;
  -webkit-text-fill-color:#0c0d0f!important;
}
.dashboard.community-mode .community-workspace-content .subscription-pay-button:hover{
  background:#fff!important;
  border-color:#fff!important;
}
.dashboard.community-mode .community-workspace-content :is(
  a,
  .sf-row-id,
  .sf-metric-pill,
  .sf-pf-pill,
  .sf-status-pill,
  .mt5-license-code,
  .billing-history-row strong,
  .billing-payment-row strong,
  .subscription-plan-card em,
  .sf-pair-row strong,
  .restricted-event-time
){
  color:#f3f4f6!important;
  -webkit-text-fill-color:#f3f4f6!important;
}
.dashboard.community-mode .community-workspace-content :is(
  .sf-row-id,
  .sf-metric-pill,
  .sf-pf-pill,
  .sf-status-pill,
  .sf-ticker span,
  .sf-model-tags span
){
  border-color:var(--workspace-neutral-line)!important;
  background:#18191c!important;
  background-image:none!important;
}
.dashboard.community-mode .community-workspace-content :is(
  .sf-model-table th,
  .sf-model-table td,
  .sf-table-meta,
  .model-funded-table th,
  .model-funded-table td
){
  border-bottom-color:var(--workspace-neutral-line)!important;
}
.dashboard.community-mode .community-workspace-content :is(
  .sf-model-row:hover,
  .sf-model-row:focus,
  .model-funded-table tbody tr:hover
){
  background:#151619!important;
}
.dashboard.community-mode .community-workspace-content :is(
  .sf-model-chart,
  .sf-row-equity,
  .model-table-scroll
){
  border-color:var(--workspace-neutral-line)!important;
  background:#090a0b!important;
}
.dashboard.community-mode .community-workspace-content .sf-donut{
  background:conic-gradient(#f3f4f6 calc(var(--value) * 1%), #25272b 0)!important;
}
.dashboard.community-mode .community-workspace-content .sf-donut::after{
  background:#101113!important;
}
.dashboard.community-mode .community-workspace-content .sf-pair-row i{
  background:#222429!important;
}
.dashboard.community-mode .community-workspace-content .sf-pair-row i span{
  background:#f3f4f6!important;
}
.dashboard.community-mode .community-workspace-content .sf-radar{
  background:radial-gradient(circle at 50% 50%,rgba(255,255,255,.035),transparent 42%)!important;
}
.dashboard.community-mode .community-workspace-content .sf-radar::before{
  background:repeating-radial-gradient(circle at 50% 50%,transparent 0 24px,rgba(255,255,255,.08) 25px 26px)!important;
}
.dashboard.community-mode .community-workspace-content .sf-radar::after{
  background:
    linear-gradient(90deg,transparent 49%,rgba(255,255,255,.08) 50%,transparent 51%),
    linear-gradient(0deg,transparent 49%,rgba(255,255,255,.08) 50%,transparent 51%)!important;
}
.dashboard.community-mode .community-workspace-content .sf-radar span,
.dashboard.community-mode .community-workspace-content .sf-radar i{
  background:#f3f4f6!important;
  box-shadow:0 0 12px rgba(255,255,255,.16)!important;
}
.dashboard.community-mode .community-workspace-content :is(
  .subscription-note.error,
  .restricted-events-status.error
){
  border-color:rgba(255,255,255,.14)!important;
  background:#141518!important;
  color:#f3f4f6!important;
}
.dashboard.community-mode .community-workspace-content :is(.positive,.negative,.danger,.success,.loss,.profit){
  color:#f3f4f6!important;
  -webkit-text-fill-color:#f3f4f6!important;
}
.dashboard.community-mode .community-workspace-content .history-curve-hover-zone,
.dashboard.community-mode .community-workspace-content .history-curve-hover-zone:hover,
.dashboard.community-mode .community-workspace-content .history-curve-hover-zone:focus-visible{
  display:block!important;
}
.dashboard.community-mode .community-workspace-content .history-curve-hover-zone .history-curve-hover-info{
  display:block!important;
}
.dashboard.community-mode .community-workspace-content .history-curve-hover-zone .history-curve-hover-info b{
  color:#8ef9df!important;
  -webkit-text-fill-color:#8ef9df!important;
}
.dashboard.community-mode .community-workspace-content .history-shell :is(
  .history-curve-head strong,
  .history-summary-grid b,
  .history-table strong,
  .history-expert-row strong
).positive{
  color:#10d676!important;
  -webkit-text-fill-color:#10d676!important;
}
.dashboard.community-mode .community-workspace-content .history-shell :is(
  .history-curve-head strong,
  .history-summary-grid b,
  .history-table strong,
  .history-expert-row strong
).negative{
  color:#ff4d5f!important;
  -webkit-text-fill-color:#ff4d5f!important;
}
.dashboard.community-mode .community-workspace-content .history-curve-svg{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  overflow:visible!important;
}
.dashboard.community-mode .community-workspace-content .history-curve-area{
  fill:#08d46f!important;
  fill-opacity:.075!important;
  opacity:1!important;
}
.dashboard.community-mode .community-workspace-content .history-curve-area-path{
  fill:#08d46f!important;
  fill-opacity:.075!important;
  opacity:1!important;
}
.dashboard.community-mode .community-workspace-content .history-curve-muted-line{
  fill:none!important;
  stroke:#3f3b49!important;
  stroke-width:2.15!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  vector-effect:non-scaling-stroke;
}
.dashboard.community-mode .community-workspace-content .history-curve-fallback-line{
  fill:none!important;
  stroke:#42e6bd!important;
  stroke-width:3.2!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  opacity:.72!important;
  vector-effect:non-scaling-stroke;
}
.dashboard.community-mode .community-workspace-content .history-curve-smooth-line{
  fill:none!important;
  stroke:#10b85d!important;
  stroke-width:2.15!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  opacity:1!important;
  vector-effect:non-scaling-stroke;
}
.dashboard.community-mode .community-workspace-content .history-curve-line{
  fill:none!important;
  stroke:#10b85d!important;
  stroke-width:2.15!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  opacity:1!important;
  vector-effect:non-scaling-stroke;
}
.dashboard.community-mode .community-workspace-content .history-curve-polyline{
  display:none!important;
}

/* Community members: simple role-colored names, no glow effects */
.dashboard.community-mode .members-panel{
  box-shadow:none!important;
}
.dashboard.community-mode .members-panel :is(
  .role-member-label,
  .role-member-label *,
  .member-item,
  .member-item *,
  .member-label,
  .member-label *
){
  text-shadow:none!important;
}
.dashboard.community-mode .members-panel :is(
  .role-owner,
  .role-quantcreator,
  .user-owner-name,
  .user-quantcreator-name
){
  background:none!important;
  background-image:none!important;
  background-size:auto!important;
  background-repeat:no-repeat!important;
  -webkit-background-clip:border-box!important;
  background-clip:border-box!important;
  animation:none!important;
  filter:none!important;
  text-shadow:none!important;
}
.dashboard.community-mode .members-panel .role-member-label .role-owner{
  color:#f0b232!important;
  -webkit-text-fill-color:#f0b232!important;
}
.dashboard.community-mode .members-panel .member-item{
  border-color:transparent!important;
  background:transparent!important;
  box-shadow:none!important;
}
.dashboard.community-mode .members-panel .member-item:hover{
  border-color:rgba(255,255,255,.04)!important;
  background:#151619!important;
  box-shadow:none!important;
}
.dashboard.community-mode .members-panel .member-item.owner-showcase{
  margin:0!important;
  padding:5px 8px!important;
  border-color:transparent!important;
  background:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
}
.dashboard.community-mode .members-panel .member-item.owner-showcase:hover{
  border-color:rgba(255,255,255,.04)!important;
  background:#151619!important;
}
.dashboard.community-mode .members-panel .member-item.owner-showcase::after,
.dashboard.community-mode .members-panel .member-item.owner-showcase .owner-fx{
  display:none!important;
  content:none!important;
}
.dashboard.community-mode .members-panel .member-avatar{
  box-shadow:none!important;
}
.dashboard.community-mode .members-panel .member-item b,
.dashboard.community-mode .members-panel .member-item strong,
.dashboard.community-mode .members-panel .member-item .user-name,
.dashboard.community-mode .members-panel .member-item .member-name,
.dashboard.community-mode .members-panel .member-item .member-display-name,
.dashboard.community-mode .members-panel .member-item [data-member-name]{
  background:none!important;
  background-image:none!important;
  -webkit-background-clip:border-box!important;
  background-clip:border-box!important;
  color:var(--member-role-color,#f2f3f5)!important;
  -webkit-text-fill-color:var(--member-role-color,#f2f3f5)!important;
  animation:none!important;
  filter:none!important;
  text-shadow:none!important;
  box-shadow:none!important;
}
.dashboard.community-mode .members-panel .member-item span:not(.user-name):not(.member-name):not(.member-display-name){
  color:#858992!important;
  -webkit-text-fill-color:#858992!important;
  text-shadow:none!important;
}
.dashboard.community-mode .members-panel .member-item .member-name-row{
  display:flex!important;
  align-items:center!important;
  gap:5px!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
}
.dashboard.community-mode .members-panel .member-item .member-name-row .user-name{
  display:inline-block!important;
  flex:0 1 auto!important;
  width:auto!important;
  max-width:calc(100% - 34px)!important;
  min-width:0!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.dashboard.community-mode .members-panel .member-item .member-name-row .chat-author-dot{
  display:inline-block!important;
  flex:0 0 auto!important;
  color:#858992!important;
  -webkit-text-fill-color:#858992!important;
  font:800 10px/1 "gg sans","Noto Sans","Helvetica Neue",Arial,sans-serif!important;
}
.dashboard.community-mode .members-panel .member-item .member-name-row .chat-role-icon{
  display:inline-block!important;
  flex:0 0 14px!important;
  width:14px!important;
  height:14px!important;
}

/* Community sidebar brand sizing */
.dashboard.community-mode .side-top{
  min-height:70px!important;
  margin:0 0 20px!important;
  padding:12px 2px 18px!important;
  align-items:center!important;
}
.dashboard.community-mode .side-top .brand{
  gap:10px!important;
  font-size:18px!important;
  font-weight:850!important;
  line-height:1!important;
}
.dashboard.community-mode .side-top .brand-logo{
  width:32px!important;
  height:32px!important;
  flex-basis:32px!important;
}
.dashboard.community-mode .side-top .brand-logo img{
  transform:scale(1.72)!important;
  opacity:.9!important;
}
.dashboard.community-mode .side-top .brand-wordmark{
  font-size:18px!important;
  line-height:1!important;
}

@media(max-width:760px){
  .dashboard.community-mode .side-top{
    min-height:58px!important;
    padding:10px 0 14px!important;
    margin-bottom:14px!important;
  }
  .dashboard.community-mode .side-top .brand{
    gap:8px!important;
    font-size:15px!important;
  }
  .dashboard.community-mode .side-top .brand-logo{
    width:28px!important;
    height:28px!important;
    flex-basis:28px!important;
  }
  .dashboard.community-mode .side-top .brand-wordmark{
    font-size:15px!important;
  }
}

/* Community mobile fit pass */
@media(max-width:980px){
  .dashboard.community-mode,
  .dashboard.community-mode.dm-mode,
  .dashboard.community-mode.channels-collapsed,
  .dashboard.community-mode.dm-mode.channels-collapsed,
  .dashboard.community-mode.members-collapsed,
  .dashboard.community-mode.dm-mode.members-collapsed,
  .dashboard.community-mode.channels-collapsed.members-collapsed,
  .dashboard.community-mode.dm-mode.channels-collapsed.members-collapsed{
    width:100vw!important;
    max-width:100vw!important;
    grid-template-columns:clamp(126px,24vw,174px) minmax(0,1fr)!important;
    overflow:hidden!important;
  }
  .dashboard.community-mode .members-panel{
    display:none!important;
  }
  .dashboard.community-mode .sidebar{
    min-width:0!important;
    overflow:visible!important;
  }
  .dashboard.community-mode .channels{
    overflow-x:hidden!important;
  }
  .dashboard.community-mode .chat-panel,
  .dashboard.community-mode .workspace-panel,
  .dashboard.community-mode .workspace-content,
  .dashboard.community-mode .community-workspace-content{
    min-width:0!important;
    max-width:100%!important;
    overflow-x:hidden!important;
  }
  .dashboard.community-mode .community-workspace-content{
    padding:16px 12px 28px!important;
  }
  .dashboard.community-mode .community-workspace-content :is(
    .workspace-section,
    .library-shell,
    .academy-shell,
    .subscription-shell,
    .history-shell,
    .sf-dashboard-shell,
    .sf-library-page,
    .model-library-shell,
    .model-detail-shell,
    .model-result-lab,
    .restricted-events-shell,
    .billing-panels,
    .billing-panel,
    .dashboard-access-overview,
    .dashboard-next-steps,
    .dashboard-model-library-preview
  ){
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  .dashboard.community-mode .community-workspace-content :is(
    .sf-filter-card,
    .sf-table-card,
    .history-panel,
    .subscription-card,
    .billing-panel,
    .model-curve-card,
    .model-selected-panel,
    .restricted-events-day
  ){
    border-radius:10px!important;
  }
  .dashboard.community-mode .account-menu{
    position:fixed!important;
    left:10px!important;
    bottom:72px!important;
    width:min(292px,calc(100vw - 20px))!important;
    max-width:calc(100vw - 20px)!important;
    z-index:120!important;
  }
  .dashboard.community-mode .voice-settings-popover{
    position:fixed!important;
    left:10px!important;
    bottom:82px!important;
    width:min(286px,calc(100vw - 20px))!important;
    max-width:calc(100vw - 20px)!important;
    max-height:min(420px,62vh)!important;
    overflow:auto!important;
    z-index:121!important;
  }
}

/* Social trading dashboard: model research, personal automation and community growth. */
.dashboard.community-mode.social-trading-mode,
.dashboard.community-mode.social-trading-mode.channels-collapsed,
.dashboard.community-mode.social-trading-mode.members-collapsed,
.dashboard.community-mode.social-trading-mode.channels-collapsed.members-collapsed{
  width:100vw!important;
  max-width:100vw!important;
  height:100dvh!important;
  grid-template-columns:72px minmax(0,1fr)!important;
  gap:0!important;
  padding:0!important;
  overflow:hidden!important;
  background:#05070a!important;
}
.dashboard.community-mode.social-trading-mode .sidebar,
.dashboard.community-mode.social-trading-mode.channels-collapsed .sidebar{
  position:relative!important;
  grid-column:1!important;
  grid-row:1!important;
  width:72px!important;
  min-width:72px!important;
  height:100dvh!important;
  padding:8px 6px!important;
  overflow:hidden!important;
  border:0!important;
  border-right:1px solid #1b2028!important;
  border-radius:0!important;
  background:#080a0e!important;
  transform:none!important;
  opacity:1!important;
  pointer-events:auto!important;
}
.dashboard.community-mode.social-trading-mode .side-top,
.dashboard.community-mode.social-trading-mode .community-server-cover,
.dashboard.community-mode.social-trading-mode .portal-community-label,
.dashboard.community-mode.social-trading-mode .direct-open,
.dashboard.community-mode.social-trading-mode .side-section,
.dashboard.community-mode.social-trading-mode .sidebar-footer{
  display:none!important;
}
.dashboard.community-mode.social-trading-mode .portal-nav{
  position:static!important;
  width:58px!important;
  height:100%!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  gap:12px!important;
  padding:0 6px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
}
.dashboard.community-mode.social-trading-mode .portal-nav-item{
  width:46px!important;
  height:46px!important;
  min-height:46px!important;
  flex:0 0 46px!important;
}
.dashboard.community-mode.social-trading-mode .chat-panel,
.dashboard.community-mode.social-trading-mode .workspace-panel{
  grid-column:2!important;
  grid-row:1!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  height:100dvh!important;
  min-height:0!important;
  display:grid!important;
  grid-template-rows:minmax(0,1fr)!important;
  overflow:hidden!important;
  border:0!important;
  border-radius:0!important;
  background:#05070a!important;
}
.dashboard.community-mode.social-trading-mode .chat-head,
.dashboard.community-mode.social-trading-mode .workspace-head,
.dashboard.community-mode.social-trading-mode .composer,
.dashboard.community-mode.social-trading-mode .members-panel,
.dashboard.community-mode.social-trading-mode .dm-panel,
.dashboard.community-mode.social-trading-mode #membersToggle{
  display:none!important;
}
.dashboard.community-mode.social-trading-mode .messages,
.dashboard.community-mode.social-trading-mode .workspace-content,
.dashboard.community-mode.social-trading-mode .community-workspace-content{
  width:100%!important;
  max-width:none!important;
  height:100%!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  overflow:auto!important;
  background:#05070a!important;
}
.social-trading-shell{
  --social-bg:#05070a;
  --social-panel:#0a0d12;
  --social-panel-strong:#0d1117;
  --social-line:#202630;
  --social-muted:#7f8997;
  --social-text:#edf1f5;
  --social-accent:#20b8ac;
  width:100%;
  min-height:100%;
  display:grid;
  grid-template-columns:minmax(224px,270px) minmax(480px,1fr) minmax(248px,306px);
  align-items:start;
  color:var(--social-text);
  background:var(--social-bg);
}
.social-model-panel,
.social-growth-panel{
  position:sticky;
  top:0;
  height:100dvh;
  min-height:0;
  display:flex;
  flex-direction:column;
  padding:22px 16px;
  overflow:hidden;
  background:#080a0e;
}
.social-model-panel{border-right:1px solid var(--social-line)}
.social-growth-panel{border-left:1px solid var(--social-line)}
.social-model-panel>header,
.social-growth-panel>header,
.social-center-head,
.social-section-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.social-model-panel>header span,
.social-growth-panel>header span,
.social-center-head>div>span,
.social-section-title span,
.social-license-strip span{
  display:block;
  color:var(--social-accent);
  font-size:10px;
  font-weight:900;
  text-transform:uppercase;
}
.social-model-panel h2,
.social-growth-panel h2,
.social-center-head h2,
.social-section-title h3{
  margin:4px 0 0;
  letter-spacing:0;
  color:var(--social-text);
}
.social-model-panel h2,.social-growth-panel h2{font-size:21px}
.social-center-head h2{font-size:25px}
.social-section-title h3{font-size:16px}
.social-model-panel>header>strong,
.social-growth-panel>header>strong{
  min-width:34px;
  height:26px;
  display:grid;
  place-items:center;
  border:1px solid #2a323d;
  border-radius:999px;
  color:#b7c0cb;
  font-size:10px;
}
.social-model-search{
  display:block;
  margin:20px 0 12px;
}
.social-model-search>span{display:block;margin-bottom:7px;color:#8a94a1;font-size:10px;font-weight:800}
.social-model-search input{
  width:100%;
  height:38px;
  padding:0 11px;
  border:1px solid #242b35;
  border-radius:6px;
  outline:0;
  background:#0d1117;
  color:#eef2f6;
  font-size:12px;
}
.social-model-search input:focus{border-color:rgba(32,184,172,.72);box-shadow:0 0 0 2px rgba(32,184,172,.1)}
.social-model-list{
  min-height:0;
  flex:1 1 auto;
  display:flex;
  flex-direction:column;
  gap:7px;
  overflow:auto;
  padding-right:3px;
}
.social-model-item{
  width:100%;
  min-height:94px;
  display:grid;
  grid-template-columns:32px minmax(0,1fr) auto;
  grid-template-rows:auto 24px;
  gap:7px 9px;
  padding:11px;
  border:1px solid #1d232c;
  border-radius:7px;
  background:#0b0e13;
  color:#dce2e8;
  text-align:left;
  cursor:pointer;
}
.social-model-item:hover,.social-model-item.active{border-color:rgba(32,184,172,.55);background:#0d1519}
.social-model-item.active{box-shadow:inset 3px 0 0 var(--social-accent)}
.social-model-mark{
  grid-row:1/3;
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  border:1px solid rgba(32,184,172,.3);
  border-radius:6px;
  color:#64ded2;
  font:900 9px/1 "JetBrains Mono",monospace;
}
.social-model-copy{min-width:0}
.social-model-copy b,.social-model-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.social-model-copy b{font-size:12px}.social-model-copy small{margin-top:4px;color:#77818f;font-size:9px}
.social-model-return{align-self:start;font-size:11px;font-weight:900}
.social-model-curve{grid-column:2/4;min-width:0;height:24px;overflow:hidden}
.social-model-curve>*{width:100%!important;height:24px!important;display:block!important;object-fit:cover!important}
.social-model-meta{display:none}
.social-library-link,
.social-center-action,
.social-overview-button,
.social-section-title button,
.social-license-strip button{
  min-height:34px;
  border:1px solid #2a323d;
  border-radius:6px;
  background:#11161d;
  color:#c8d0d9;
  padding:0 11px;
  font-size:10px;
  font-weight:850;
  cursor:pointer;
}
.social-library-link{width:100%;margin-top:12px}
.social-library-link:hover,.social-center-action:hover,.social-overview-button:hover,.social-section-title button:hover,.social-license-strip button:hover{border-color:rgba(32,184,172,.6);color:#fff}
.social-center-panel{min-width:0;padding:24px}
.social-center-view{width:100%;max-width:1120px;margin:0 auto;display:grid;gap:16px}
.social-center-head{min-height:52px}
.social-center-head p{margin:6px 0 0;color:var(--social-muted);font-size:12px}
.social-loading,.social-error{
  border:1px solid #29313d;
  border-radius:6px;
  padding:10px 12px;
  color:#aab3bf;
  background:#0d1117;
  font-size:11px;
}
.social-error{border-color:rgba(239,68,68,.35);color:#ff9b9b}
.social-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.social-kpi-grid article,
.social-experts-card,
.social-trades-card,
.social-model-hero,
.social-tutorial-disclosure{
  border:1px solid var(--social-line);
  border-radius:7px;
  background:var(--social-panel);
}
.social-kpi-grid article{min-width:0;padding:14px}
.social-kpi-grid span,.social-kpi-grid small{display:block;color:#7f8997;font-size:9px;font-weight:750}
.social-kpi-grid b{display:block;margin:8px 0 6px;color:#eef2f6;font-size:20px;white-space:nowrap}
.social-kpi-grid .positive,.social-growth-row .positive{color:#35d399}.social-kpi-grid .negative,.social-growth-row .negative{color:#fb7185}.social-kpi-grid .muted{color:#8a94a1}
.social-chart-wrap{
  min-height:250px;
  padding:10px;
  border:1px solid var(--social-line);
  border-radius:7px;
  background:#07090d;
  overflow:hidden;
}
.social-chart-wrap>*{width:100%!important;min-height:228px!important}
.social-experts-card,.social-trades-card{padding:15px}
.social-expert-list{display:grid;gap:2px;margin-top:12px}
.social-expert-row{
  min-height:52px;
  display:grid;
  grid-template-columns:9px minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  border-top:1px solid rgba(255,255,255,.055);
}
.social-expert-row:first-child{border-top:0}
.social-live-dot{width:7px;height:7px;border-radius:50%;background:#4b5563}.social-live-dot.online{background:#2dd4bf;box-shadow:0 0 0 4px rgba(45,212,191,.08)}
.social-expert-row b,.social-expert-row small{display:block}.social-expert-row b{font-size:11px}.social-expert-row small{margin-top:3px;color:#7d8794;font-size:9px}.social-expert-row>span:last-child{text-align:right}
.social-trade-scroll{margin-top:12px;overflow:auto}
.social-trade-scroll table{width:100%;border-collapse:collapse;font-size:10px}
.social-trade-scroll th{padding:8px;color:#737e8c;text-align:left;text-transform:uppercase;font-size:8px}
.social-trade-scroll td{padding:10px 8px;border-top:1px solid rgba(255,255,255,.055);color:#b9c2cd;white-space:nowrap}
.social-trade-scroll td b,.social-trade-scroll td small{display:block}.social-trade-scroll td small{margin-top:3px;color:#737e8c;font-size:8px}
.trade-market-cell{min-width:0;display:inline-flex;align-items:center;gap:8px;vertical-align:middle}
.trade-market-logo{flex:0 0 auto;width:26px;height:26px;display:grid;place-items:center;border-radius:50%;overflow:hidden;background:#0d91b1;box-shadow:0 0 0 1px rgba(255,255,255,.08)}
.trade-market-logo img{width:100%;height:100%;display:block;object-fit:cover}
.social-side{display:inline-flex;border-radius:4px;padding:4px 6px;background:#131922;color:#aab3bf;font-size:8px;font-weight:900;text-transform:uppercase}.social-side.buy{color:#48d8a0}.social-side.sell{color:#ff7d8d}
.social-empty-compact{padding:18px;border:1px dashed #28303a;border-radius:6px;color:#7f8997;font-size:11px;text-align:center}
.social-growth-intro{margin:18px 0 12px;color:#7e8895;font-size:11px;line-height:1.5}
.social-growth-list{min-height:0;overflow:auto}
.social-growth-row{
  min-height:58px;
  display:grid;
  grid-template-columns:20px 34px minmax(0,1fr) auto;
  align-items:center;
  gap:9px;
  border-bottom:1px solid rgba(255,255,255,.055);
}
.social-growth-row.is-you{background:rgba(32,184,172,.05)}
.social-rank{color:#707a87;font:800 10px/1 "JetBrains Mono",monospace;text-align:center}
.social-growth-avatar,.social-growth-avatar img{width:34px;height:34px;border-radius:50%}.social-growth-avatar{display:grid;place-items:center;overflow:hidden;background:#17202a;color:#d9f9f4;font-size:11px;font-weight:900}.social-growth-avatar img{display:block;object-fit:cover}
.social-growth-name{min-width:0}.social-growth-name b,.social-growth-name small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.social-growth-name b{color:#dce2e8;font-size:11px}.social-growth-name small{margin-top:4px;color:#707a87;font-size:8px}.social-growth-row>strong{font-size:11px}
.social-growth-empty{padding:24px 12px;border:1px dashed #28303a;border-radius:6px;text-align:center}.social-growth-empty b,.social-growth-empty span{display:block}.social-growth-empty b{font-size:12px}.social-growth-empty span{margin-top:8px;color:#7f8997;font-size:10px;line-height:1.5}
.social-growth-panel footer{margin-top:auto;padding-top:14px;border-top:1px solid #1f252d}.social-growth-panel footer span{display:inline-grid;place-items:center;width:28px;height:22px;border-radius:4px;background:rgba(32,184,172,.12);color:#6de4d8;font-size:9px;font-weight:900}.social-growth-panel footer p{margin:8px 0 0;color:#68727f;font-size:9px;line-height:1.5}
.social-license-strip{
  min-height:76px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 16px;
  border:1px solid rgba(32,184,172,.28);
  border-radius:7px;
  background:#091417;
}
.social-license-strip b,.social-license-strip small{display:block}.social-license-strip b{margin-top:5px;color:#eef2f6;font:800 14px/1.25 "JetBrains Mono",monospace;overflow-wrap:anywhere}.social-license-strip small{margin-top:5px;color:#7f8997;font-size:9px}.social-license-strip.is-locked{border-color:#2b3039;background:#0d1015}
.social-model-hero{overflow:hidden}.social-model-hero-chart{height:280px;background:#05070a;overflow:hidden}.social-model-hero-chart>*{width:100%!important;height:100%!important;display:block!important;object-fit:cover!important}.social-model-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));border-top:1px solid var(--social-line)}.social-model-kpis span{min-width:0;padding:12px;border-right:1px solid var(--social-line)}.social-model-kpis span:last-child{border-right:0}.social-model-kpis small,.social-model-kpis b{display:block}.social-model-kpis small{color:#747f8c;font-size:8px}.social-model-kpis b{margin-top:6px;color:#e5ebf0;font-size:13px;white-space:nowrap}
.social-tutorial-disclosure{overflow:hidden}.social-tutorial-disclosure>summary{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 16px;cursor:pointer;list-style:none}.social-tutorial-disclosure>summary::-webkit-details-marker{display:none}.social-tutorial-disclosure>summary b,.social-tutorial-disclosure>summary small{display:block}.social-tutorial-disclosure>summary b{font-size:12px}.social-tutorial-disclosure>summary small{margin-top:4px;color:#7d8794;font-size:9px}.social-tutorial-disclosure>summary i{width:26px;height:26px;display:grid;place-items:center;border:1px solid #2b333d;border-radius:5px;color:#9ca6b3;font-style:normal}.social-tutorial-disclosure[open]>summary i{transform:rotate(45deg)}.social-tutorial-body{padding:0 14px 14px;border-top:1px solid var(--social-line)}
.social-performance-note{margin:0;color:#697480;font-size:9px;line-height:1.5}

@media(max-width:1240px){
  .social-trading-shell{grid-template-columns:220px minmax(420px,1fr) 248px}
  .social-center-panel{padding:18px}
  .social-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .social-model-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}
  .social-model-kpis span:nth-child(3){border-right:0}
  .social-model-kpis span:nth-child(-n+3){border-bottom:1px solid var(--social-line)}
}
@media(max-width:980px){
  .dashboard.community-mode.social-trading-mode,
  .dashboard.community-mode.social-trading-mode.channels-collapsed,
  .dashboard.community-mode.social-trading-mode.members-collapsed,
  .dashboard.community-mode.social-trading-mode.channels-collapsed.members-collapsed{
    grid-template-columns:1fr!important;
    grid-template-rows:minmax(0,1fr) 76px!important;
  }
  .dashboard.community-mode.social-trading-mode .sidebar,
  .dashboard.community-mode.social-trading-mode.channels-collapsed .sidebar{
    position:fixed!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    z-index:80!important;
    width:100vw!important;
    min-width:0!important;
    height:76px!important;
    min-height:76px!important;
    padding:0!important;
    border-width:1px 0 0!important;
    background:#080a0e!important;
  }
  .dashboard.community-mode.social-trading-mode .portal-nav{
    width:100%!important;
    height:100%!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:0!important;
    padding:9px 10px 10px!important;
  }
  .dashboard.community-mode.social-trading-mode .portal-nav-item{
    width:100%!important;
    height:56px!important;
    min-height:56px!important;
  }
  .dashboard.community-mode.social-trading-mode .chat-panel,
  .dashboard.community-mode.social-trading-mode .workspace-panel{
    grid-column:1!important;
    grid-row:1!important;
    width:100vw!important;
    height:calc(100dvh - 76px)!important;
  }
  .dashboard.community-mode.social-trading-mode .messages,
  .dashboard.community-mode.social-trading-mode .workspace-content,
  .dashboard.community-mode.social-trading-mode .community-workspace-content{
    padding:0 0 88px!important;
  }
  .social-trading-shell{display:block;min-height:100%;overflow:visible}
  .social-model-panel,.social-growth-panel{position:relative;top:auto;height:auto;min-height:0;padding:16px;border:0;border-bottom:1px solid var(--social-line);overflow:visible}
  .social-model-panel{display:block}
  .social-model-search{margin-top:14px}
  .social-model-list{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(210px,78vw);gap:8px;overflow-x:auto;padding:0 0 8px}
  .social-model-item{height:88px}
  .social-library-link{margin-top:8px}
  .social-center-panel{padding:16px 10px}
  .social-center-head{align-items:flex-start}
  .social-center-head h2{font-size:21px}
  .social-center-head p{font-size:10px}
  .social-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .social-kpi-grid b{font-size:17px}
  .social-chart-wrap{min-height:210px}.social-chart-wrap>*{min-height:188px!important}
  .social-model-hero-chart{height:210px}
  .social-model-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .social-model-kpis span,.social-model-kpis span:nth-child(3){border-right:1px solid var(--social-line);border-bottom:1px solid var(--social-line)}
  .social-model-kpis span:nth-child(even){border-right:0}
  .social-model-kpis span:nth-last-child(-n+2){border-bottom:0}
  .social-license-strip{align-items:flex-start;flex-direction:column}.social-license-strip button{width:100%}
  .social-growth-panel{display:block;padding-bottom:18px}
  .social-growth-list{overflow:visible}
  .social-growth-panel footer{margin-top:14px}
}
@media(max-width:520px){
  .social-model-panel h2,.social-growth-panel h2{font-size:18px}
  .social-kpi-grid{gap:7px}
  .social-kpi-grid article{padding:11px}
  .social-kpi-grid b{font-size:15px}
  .social-center-action,.social-overview-button{min-height:32px;padding:0 8px}
  .social-trade-scroll table{min-width:520px}
  .social-model-hero-chart{height:180px}
}

/* Standalone Academy, Connections and Settings shell. */
.dashboard.workspace-mode,
.dashboard.workspace-mode.channels-collapsed,
.dashboard.workspace-mode.members-collapsed,
.dashboard.workspace-mode.channels-collapsed.members-collapsed{
  width:100vw!important;
  max-width:100vw!important;
  height:100dvh!important;
  grid-template-columns:72px minmax(0,1fr)!important;
  gap:10px!important;
  padding:10px!important;
  overflow:hidden!important;
  background:#050608!important;
}
.dashboard.workspace-mode .sidebar,
.dashboard.workspace-mode.channels-collapsed .sidebar{
  position:relative!important;
  width:72px!important;
  min-width:72px!important;
  height:100%!important;
  padding:8px 6px!important;
  overflow:hidden!important;
  transform:none!important;
  opacity:1!important;
  pointer-events:auto!important;
  border:1px solid rgba(255,255,255,.08)!important;
  border-radius:18px!important;
  background:#0b0c10!important;
  box-shadow:none!important;
}
.dashboard.workspace-mode .side-top,
.dashboard.workspace-mode .community-server-cover,
.dashboard.workspace-mode .portal-community-label,
.dashboard.workspace-mode .direct-open,
.dashboard.workspace-mode .side-section,
.dashboard.workspace-mode .sidebar-footer{
  display:none!important;
}
.dashboard.workspace-mode .portal-nav{
  width:58px!important;
  height:100%!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  gap:12px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}
.dashboard.workspace-mode .portal-nav-item{
  width:46px!important;
  height:46px!important;
  min-height:46px!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  place-items:center!important;
  padding:0!important;
  border:1px solid transparent!important;
  border-radius:14px!important;
  background:transparent!important;
  color:#fff!important;
  transform:none!important;
  box-shadow:none!important;
}
.dashboard.workspace-mode .portal-nav-item > span:not(.portal-nav-icon),
.dashboard.workspace-mode .portal-nav-lock{
  display:none!important;
}
.dashboard.workspace-mode .portal-nav-icon{
  width:24px!important;
  height:24px!important;
  display:grid!important;
  place-items:center!important;
  border:0!important;
  background:transparent!important;
  color:#fff!important;
  font-size:0!important;
}
.dashboard.workspace-mode .portal-nav-icon img{
  width:24px!important;
  height:24px!important;
  display:block!important;
  object-fit:contain!important;
  filter:invert(1) brightness(1.08)!important;
  opacity:1!important;
  transform:none!important;
}
.dashboard.workspace-mode .portal-nav-icon svg{
  display:none!important;
}
.dashboard.workspace-mode .portal-nav-item:hover,
.dashboard.workspace-mode .portal-nav-item.active{
  border-color:rgba(255,207,35,.36)!important;
  background:rgba(255,207,35,.16)!important;
  color:#fff!important;
  box-shadow:0 10px 24px rgba(255,207,35,.12)!important;
}
.dashboard.workspace-mode .workspace-panel{
  grid-column:2!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  border-radius:8px!important;
}
.dashboard.workspace-mode .dm-panel,
.dashboard.workspace-mode .chat-panel,
.dashboard.workspace-mode .members-panel,
.dashboard.workspace-mode #membersToggle{
  display:none!important;
}
@media(max-width:980px){
  .dashboard.workspace-mode,
  .dashboard.workspace-mode.channels-collapsed,
  .dashboard.workspace-mode.members-collapsed,
  .dashboard.workspace-mode.channels-collapsed.members-collapsed{
    grid-template-columns:1fr!important;
    grid-template-rows:minmax(0,1fr) 76px!important;
    gap:0!important;
    padding:0!important;
  }
  .dashboard.workspace-mode .sidebar,
  .dashboard.workspace-mode.channels-collapsed .sidebar{
    position:fixed!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    z-index:80!important;
    width:100vw!important;
    min-width:0!important;
    height:76px!important;
    min-height:76px!important;
    padding:0!important;
    border-width:1px 0 0!important;
    border-radius:0!important;
    background:#08090d!important;
  }
  .dashboard.workspace-mode .portal-nav{
    width:100%!important;
    height:100%!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    justify-content:stretch!important;
    gap:0!important;
    padding:9px 10px 10px!important;
    background:#08090d!important;
  }
  .dashboard.workspace-mode .portal-nav-item{
    width:100%!important;
    height:56px!important;
    min-height:56px!important;
    border-radius:12px!important;
  }
  .dashboard.workspace-mode .portal-nav-icon,
  .dashboard.workspace-mode .portal-nav-icon img{
    width:25px!important;
    height:25px!important;
  }
  .dashboard.workspace-mode .workspace-panel{
    grid-column:1!important;
    grid-row:1!important;
    width:100vw!important;
    max-width:100vw!important;
    height:calc(100dvh - 76px)!important;
    border-radius:0!important;
  }
}

/* Exact uploaded PNG icons for the five-button portal rail. */
.dashboard.community-mode .portal-nav-icon img{
  width:24px!important;
  height:24px!important;
  display:block!important;
  object-fit:contain!important;
  filter:invert(1) brightness(1.08)!important;
  opacity:1!important;
  transform:none!important;
}
.dashboard.community-mode .portal-nav-icon svg{
  display:none!important;
}
@media(max-width:980px){
  .dashboard.community-mode .portal-nav-icon img{
    width:25px!important;
    height:25px!important;
  }
}

@media(max-width:760px){
  .dashboard.community-mode,
  .dashboard.community-mode.dm-mode,
  .dashboard.community-mode.channels-collapsed,
  .dashboard.community-mode.dm-mode.channels-collapsed,
  .dashboard.community-mode.members-collapsed,
  .dashboard.community-mode.dm-mode.members-collapsed,
  .dashboard.community-mode.channels-collapsed.members-collapsed,
  .dashboard.community-mode.dm-mode.channels-collapsed.members-collapsed{
    grid-template-columns:clamp(118px,28vw,142px) minmax(0,1fr)!important;
  }
  .dashboard.community-mode .sidebar{
    padding:10px 7px!important;
  }
  .dashboard.community-mode .side-top{
    min-height:48px!important;
    margin-bottom:14px!important;
  }
  .dashboard.community-mode .side-top .brand{
    gap:5px!important;
  }
  .dashboard.community-mode .side-top .brand-logo{
    width:24px!important;
    height:24px!important;
    flex-basis:24px!important;
  }
  .dashboard.community-mode .side-top .brand-wordmark{
    max-width:92px!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    font-size:11px!important;
  }
  .dashboard.community-mode .channel-title{
    min-width:0!important;
  }
  .dashboard.community-mode .channel-title-text{
    min-width:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  .dashboard.community-mode .community-workspace-content{
    padding:14px 10px 24px!important;
  }
  .dashboard.community-mode .sf-page-title{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:12px!important;
    align-items:start!important;
  }
  .dashboard.community-mode .sf-page-title h2{
    font-size:clamp(22px,7vw,30px)!important;
    line-height:1.02!important;
  }
  .dashboard.community-mode .sf-page-title p{
    font-size:12px!important;
    line-height:1.4!important;
  }
  .dashboard.community-mode .sf-page-title .sf-ghost-btn,
  .dashboard.community-mode .model-back-button{
    width:fit-content!important;
    max-width:100%!important;
  }
  .dashboard.community-mode .sf-filter-card{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:12px!important;
    padding:12px!important;
  }
  .dashboard.community-mode .sf-search-box{
    min-width:0!important;
    width:100%!important;
    gap:8px!important;
    padding:0 12px!important;
  }
  .dashboard.community-mode .sf-search-box span{
    display:none!important;
  }
  .dashboard.community-mode .sf-filter-actions{
    width:100%!important;
    display:flex!important;
    flex-wrap:wrap!important;
    gap:8px!important;
  }
  .dashboard.community-mode .sf-filter-actions > button{
    flex:0 0 auto!important;
  }
  .dashboard.community-mode .sf-filter-group{
    flex:1 1 100%!important;
    min-width:0!important;
    width:100%!important;
    border-radius:10px!important;
    padding:7px!important;
  }
  .dashboard.community-mode .sf-filter-group > span{
    width:100%!important;
    margin:0 0 3px!important;
  }
  .dashboard.community-mode .sf-filter-group button{
    min-height:32px!important;
  }
  .dashboard.community-mode .sf-table-card{
    overflow:visible!important;
  }
  .dashboard.community-mode .sf-table-meta{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:6px!important;
    padding:12px!important;
  }
  .dashboard.community-mode .sf-table-scroll{
    width:100%!important;
    max-width:100%!important;
    overflow:visible!important;
  }
  .dashboard.community-mode .sf-model-table,
  .dashboard.community-mode .sf-model-table tbody,
  .dashboard.community-mode .sf-model-table tr,
  .dashboard.community-mode .sf-model-table td{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  .dashboard.community-mode .sf-model-table{
    table-layout:auto!important;
    border-collapse:separate!important;
    border-spacing:0!important;
    font-size:12px!important;
  }
  .dashboard.community-mode .sf-model-table thead{
    display:none!important;
  }
  .dashboard.community-mode .sf-model-table tbody{
    display:grid!important;
    gap:10px!important;
    padding:10px!important;
  }
  .dashboard.community-mode .sf-model-table tr{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
    padding:12px!important;
    border:1px solid var(--workspace-neutral-line)!important;
    border-radius:10px!important;
    background:#111214!important;
  }
  .dashboard.community-mode .sf-model-table td{
    display:grid!important;
    grid-template-columns:minmax(72px,.34fr) minmax(0,1fr)!important;
    align-items:center!important;
    gap:10px!important;
    padding:0!important;
    border:0!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
  }
  .dashboard.community-mode .sf-model-table td::before{
    color:var(--workspace-neutral-muted)!important;
    font:800 9px/1 "JetBrains Mono",monospace!important;
    letter-spacing:.08em!important;
    text-transform:uppercase!important;
    content:"";
  }
  .dashboard.community-mode .sf-model-table td:nth-child(1)::before{content:"ID";}
  .dashboard.community-mode .sf-model-table td:nth-child(2)::before{content:"Name";}
  .dashboard.community-mode .sf-model-table td:nth-child(3)::before{content:"Equity";}
  .dashboard.community-mode .sf-model-table td:nth-child(4)::before{content:"Access";}
  .dashboard.community-mode .sf-model-table td:nth-child(5)::before{content:"TF";}
  .dashboard.community-mode .sf-model-table td:nth-child(6)::before{content:"7d";}
  .dashboard.community-mode .sf-model-table td:nth-child(7)::before{content:"30d";}
  .dashboard.community-mode .sf-model-table td:nth-child(8)::before{content:"90d";}
  .dashboard.community-mode .sf-model-table td:nth-child(9)::before{content:"DD";}
  .dashboard.community-mode .sf-model-table td:nth-child(10)::before{content:"Win";}
  .dashboard.community-mode .sf-model-table td:nth-child(11)::before{content:"PF";}
  .dashboard.community-mode .sf-model-table td:nth-child(12)::before{content:"Open";}
  .dashboard.community-mode .sf-row-name{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
  }
  .dashboard.community-mode .sf-row-name b,
  .dashboard.community-mode .sf-row-name span{
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
  }
  .dashboard.community-mode .sf-model-table td:nth-child(3){
    display:block!important;
  }
  .dashboard.community-mode .sf-model-table td:nth-child(3)::before{
    display:block!important;
    margin-bottom:6px!important;
  }
  .dashboard.community-mode .sf-row-equity{
    width:100%!important;
    height:64px!important;
  }
  .dashboard.community-mode .sf-view-btn{
    width:100%!important;
  }
  .dashboard.community-mode .model-result-head,
  .dashboard.community-mode .model-funded-head,
  .dashboard.community-mode .model-downloads-head,
  .dashboard.community-mode .billing-panel-head,
  .dashboard.community-mode .restricted-events-toolbar{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
    align-items:start!important;
  }
  .dashboard.community-mode .model-risk-control,
  .dashboard.community-mode .model-result-metrics,
  .dashboard.community-mode .model-primary-metrics,
  .dashboard.community-mode .model-selected-grid,
  .dashboard.community-mode .model-downloads-grid,
  .dashboard.community-mode .history-summary-grid,
  .dashboard.community-mode .history-layout{
    grid-template-columns:1fr!important;
  }
  .dashboard.community-mode .model-download-file{
    grid-template-columns:1fr!important;
  }
  .dashboard.community-mode .model-comparison-panel,
  .dashboard.community-mode .model-funded-table,
  .dashboard.community-mode .history-panel{
    max-width:100%!important;
    overflow:hidden!important;
  }
  .dashboard.community-mode .model-table-scroll,
  .dashboard.community-mode .history-table-scroll{
    width:100%!important;
    max-width:100%!important;
    overflow-x:auto!important;
    overflow-y:auto!important;
    -webkit-overflow-scrolling:touch!important;
  }
  .dashboard.community-mode .model-funded-table table,
  .dashboard.community-mode .history-table{
    min-width:560px!important;
  }
  .dashboard.community-mode .history-expert-row{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:start!important;
  }
  .dashboard.community-mode .history-expert-row small.history-expert-meta{
    max-width:100%!important;
  }
  .dashboard.community-mode .billing-history-row,
  .dashboard.community-mode .billing-payment-row{
    grid-template-columns:1fr!important;
  }
  .dashboard.community-mode .restricted-event-row{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
    align-items:start!important;
  }
  .dashboard.community-mode .restricted-event-pill{
    width:fit-content!important;
  }
}

@media(max-width:520px){
  .dashboard.community-mode,
  .dashboard.community-mode.dm-mode,
  .dashboard.community-mode.channels-collapsed,
  .dashboard.community-mode.dm-mode.channels-collapsed,
  .dashboard.community-mode.members-collapsed,
  .dashboard.community-mode.dm-mode.members-collapsed,
  .dashboard.community-mode.channels-collapsed.members-collapsed,
  .dashboard.community-mode.dm-mode.channels-collapsed.members-collapsed{
    grid-template-columns:112px minmax(0,1fr)!important;
  }
  .dashboard.community-mode .sidebar{
    padding:8px 6px!important;
  }
  .dashboard.community-mode .side-top .brand-wordmark{
    max-width:70px!important;
    font-size:10px!important;
  }
  .dashboard.community-mode .channel-svg-icon img{
    width:12px!important;
    height:12px!important;
  }
  .dashboard.community-mode .channel-hash{
    width:13px!important;
    min-width:13px!important;
    font-size:9px!important;
  }
  .dashboard.community-mode .direct-open,
  .dashboard.community-mode .channel-btn,
  .dashboard.community-mode .direct-back{
    min-height:28px!important;
    padding:6px 6px!important;
    font-size:10px!important;
  }
  .dashboard.community-mode .channel-title{
    gap:5px!important;
  }
  .dashboard.community-mode .side-label,
  .dashboard.community-mode .channel-category-label,
  .dashboard.community-mode .portal-community-label{
    font-size:8px!important;
    letter-spacing:.04em!important;
  }
  .dashboard.community-mode .community-workspace-content{
    padding:12px 8px 22px!important;
  }
  .dashboard.community-mode .chat-head{
    padding:8px!important;
  }
  .dashboard.community-mode .chat-head h2{
    font-size:12px!important;
  }
  .dashboard.community-mode .sf-filter-card,
  .dashboard.community-mode .sf-table-meta,
  .dashboard.community-mode .sf-model-table tbody{
    padding:8px!important;
  }
  .dashboard.community-mode .sf-model-table tr{
    padding:10px!important;
  }
  .dashboard.community-mode .sf-model-table td{
    grid-template-columns:58px minmax(0,1fr)!important;
    gap:8px!important;
  }
  .dashboard.community-mode .sf-row-equity{
    height:54px!important;
  }
  .dashboard.community-mode .history-table th,
  .dashboard.community-mode .history-table td,
  .dashboard.community-mode .model-funded-table th,
  .dashboard.community-mode .model-funded-table td{
    padding:8px!important;
  }
}

/* Direct message rail spacing */
.dashboard.community-mode.dm-mode .channels{
  gap:7px!important;
}
.dashboard.community-mode.dm-mode .channels .dm-rail-contact{
  min-height:56px!important;
  grid-template-columns:32px minmax(0,1fr)!important;
  align-items:center!important;
  gap:9px!important;
  padding:8px 9px!important;
  overflow:hidden!important;
}
.dashboard.community-mode.dm-mode .channels .dm-rail-contact .member-avatar{
  width:32px!important;
  height:32px!important;
  min-width:32px!important;
}
.dashboard.community-mode.dm-mode .channels .dm-rail-contact > div:last-child{
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  gap:2px!important;
  line-height:1.12!important;
}
.dashboard.community-mode.dm-mode .channels .dm-rail-contact b,
.dashboard.community-mode.dm-mode .channels .dm-rail-contact .member-role-line,
.dashboard.community-mode.dm-mode .channels .dm-rail-contact .message-presence{
  display:block!important;
  max-width:100%!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  line-height:1.12!important;
}
.dashboard.community-mode.dm-mode .channels .dm-rail-contact b{
  font-size:12px!important;
}
.dashboard.community-mode.dm-mode .channels .dm-rail-contact .member-role-line{
  margin-top:0!important;
  font-size:10px!important;
}
.dashboard.community-mode.dm-mode .channels .dm-rail-contact .message-presence{
  margin-top:0!important;
  font-size:8.5px!important;
  opacity:.72!important;
}

@media(max-width:520px){
  .dashboard.community-mode.dm-mode .channels{
    gap:6px!important;
  }
  .dashboard.community-mode.dm-mode .channels .dm-rail-contact{
    min-height:54px!important;
    grid-template-columns:30px minmax(0,1fr)!important;
    gap:8px!important;
    padding:7px 7px!important;
  }
  .dashboard.community-mode.dm-mode .channels .dm-rail-contact .member-avatar{
    width:30px!important;
    height:30px!important;
    min-width:30px!important;
  }
}

/* Community logo matches landing page brand */
.dashboard.community-mode .side-top{
  min-height:64px!important;
  margin:0 0 22px!important;
  padding:0!important;
  overflow:visible!important;
}
.dashboard.community-mode .side-top .brand{
  gap:4px!important;
  font-family:NeueMontreal,Arial,sans-serif!important;
  font-size:21px!important;
  font-weight:900!important;
  letter-spacing:-.025em!important;
  line-height:1!important;
  overflow:visible!important;
}
.dashboard.community-mode .side-top .brand-logo{
  width:52px!important;
  height:52px!important;
  flex:0 0 52px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
}
.dashboard.community-mode .side-top .brand-logo img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  transform:scale(1.6)!important;
  filter:brightness(0) invert(1)!important;
  opacity:1!important;
}
.dashboard.community-mode .side-top .brand-wordmark{
  max-width:none!important;
  padding-right:3px!important;
  overflow:visible!important;
  text-overflow:clip!important;
  white-space:nowrap!important;
  font-size:21px!important;
  line-height:.95!important;
  font-weight:900!important;
  letter-spacing:-.045em!important;
  background:linear-gradient(135deg,#ffffff 0%,#eaf8ff 38%,#7ee9ff 72%,#8fa1ff 100%)!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  color:transparent!important;
  -webkit-text-fill-color:transparent!important;
  text-shadow:none!important;
  filter:none!important;
  transform:translate(-2px,-1px)!important;
}

@media(max-width:760px){
  .dashboard.community-mode .side-top .brand{
    transform:scale(.82)!important;
    transform-origin:left center!important;
  }
}

@media(max-width:520px){
  .dashboard.community-mode .side-top{
    min-height:54px!important;
  }
  .dashboard.community-mode .side-top .brand{
    transform:scale(.66)!important;
  }
}

/* New glowing KopLabs logo is already color-correct. */
.brand-logo img,
.subscription-logo-row .qc-brand-mark img,
.dashboard.community-mode .community-cover-logo img,
.dashboard.community-mode .side-top .brand-logo img{
  object-fit:cover!important;
  transform:none!important;
  filter:none!important;
}

/* Compact community layout for phones and in-app browsers. */
@media(max-width:980px){
  .dashboard.community-mode #membersToggle{
    display:none!important;
  }
}

@media(max-width:700px){
  html,
  body{
    width:100%!important;
    max-width:100%!important;
    overflow-x:hidden!important;
  }

  .dashboard.community-mode,
  .dashboard.community-mode.dm-mode,
  .dashboard.community-mode.channels-collapsed,
  .dashboard.community-mode.dm-mode.channels-collapsed,
  .dashboard.community-mode.members-collapsed,
  .dashboard.community-mode.dm-mode.members-collapsed,
  .dashboard.community-mode.channels-collapsed.members-collapsed,
  .dashboard.community-mode.dm-mode.channels-collapsed.members-collapsed{
    width:100%!important;
    max-width:100%!important;
    grid-template-columns:96px minmax(0,1fr)!important;
    gap:0!important;
    overflow:hidden!important;
  }

  .dashboard.community-mode .members-panel,
  .dashboard.community-mode #membersToggle{
    display:none!important;
  }

  .dashboard.community-mode .sidebar{
    width:96px!important;
    min-width:0!important;
    padding:7px 5px!important;
    overflow:hidden!important;
  }

  .dashboard.community-mode .side-top{
    min-height:42px!important;
    margin:0 0 10px!important;
    padding:4px 2px 8px!important;
  }

  .dashboard.community-mode .side-top .brand{
    transform:none!important;
  }

  .dashboard.community-mode .side-top .brand-logo{
    width:30px!important;
    height:30px!important;
    flex:0 0 30px!important;
  }

  .dashboard.community-mode .side-top .brand-wordmark{
    display:none!important;
  }

  .dashboard.community-mode .side-label,
  .dashboard.community-mode .channel-category-label,
  .dashboard.community-mode .portal-community-label{
    margin:9px 3px 5px!important;
    font-size:7px!important;
    line-height:1.2!important;
    letter-spacing:.04em!important;
  }

  .dashboard.community-mode .direct-open,
  .dashboard.community-mode .channel-btn,
  .dashboard.community-mode .direct-back{
    width:100%!important;
    min-width:0!important;
    min-height:27px!important;
    padding:5px 4px!important;
    gap:4px!important;
    border-radius:6px!important;
    font-size:9px!important;
    line-height:1.1!important;
  }

  .dashboard.community-mode .channel-title{
    min-width:0!important;
    gap:3px!important;
  }

  .dashboard.community-mode .channel-title-text,
  .dashboard.community-mode .direct-open :is(b,span),
  .dashboard.community-mode .direct-back :is(b,span){
    min-width:0!important;
    max-width:100%!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }

  .dashboard.community-mode .channel-svg-icon img{
    width:11px!important;
    height:11px!important;
  }

  .dashboard.community-mode .channel-hash{
    width:11px!important;
    min-width:11px!important;
    font-size:8px!important;
  }

  .dashboard.community-mode .sidebar-footer{
    gap:4px!important;
  }

  .dashboard.community-mode .chat-panel,
  .dashboard.community-mode .workspace-panel,
  .dashboard.community-mode .workspace-content,
  .dashboard.community-mode .community-workspace-content{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    overflow-x:hidden!important;
  }

  .dashboard.community-mode .chat-head{
    min-height:58px!important;
    padding:7px 8px!important;
    gap:4px!important;
  }

  .dashboard.community-mode .chat-head-main{
    gap:4px!important;
  }

  .dashboard.community-mode .chat-head h2{
    font-size:11px!important;
    line-height:1.15!important;
  }

  .dashboard.community-mode .chat-head p,
  .dashboard.community-mode .chat-head .channel-kicker{
    font-size:7px!important;
    line-height:1.25!important;
  }

  .dashboard.community-mode .community-workspace-content{
    padding:8px 6px 18px!important;
  }

  .dashboard.community-mode .start-guide{
    gap:9px!important;
    padding:2px 0 12px!important;
  }

  .dashboard.community-mode .start-guide-hero{
    padding:14px 12px!important;
    border-radius:7px!important;
  }

  .dashboard.community-mode .start-guide-kicker,
  .dashboard.community-mode .start-guide-room-step{
    font-size:7px!important;
  }

  .dashboard.community-mode .start-guide-hero h2{
    margin-top:8px!important;
    font-size:22px!important;
    line-height:1.04!important;
  }

  .dashboard.community-mode .start-guide-hero p{
    margin-top:10px!important;
    font-size:10px!important;
    line-height:1.4!important;
  }

  .dashboard.community-mode .start-guide-hero strong{
    margin-top:6px!important;
    font-size:11px!important;
    line-height:1.35!important;
  }

  .dashboard.community-mode .start-guide-system-notice{
    margin-top:12px!important;
    padding:11px 12px!important;
  }

  .dashboard.community-mode .start-guide-system-notice>span{
    margin-bottom:7px!important;
    font-size:7px!important;
  }

  .dashboard.community-mode .start-guide-system-notice p{
    margin-top:7px!important;
    font-size:8.5px!important;
    line-height:1.42!important;
  }

  .dashboard.community-mode .start-guide-grid{
    grid-template-columns:1fr!important;
    gap:7px!important;
  }

  .dashboard.community-mode .start-guide-room{
    min-height:0!important;
    padding:12px!important;
    gap:8px!important;
    border-radius:7px!important;
  }

  .dashboard.community-mode .start-guide-step-icon{
    width:34px!important;
    height:34px!important;
    font-size:17px!important;
  }

  .dashboard.community-mode .start-guide-room b{
    font-size:17px!important;
    line-height:1.08!important;
  }

  .dashboard.community-mode .start-guide-room small,
  .dashboard.community-mode .start-guide-room em{
    font-size:9.5px!important;
    line-height:1.35!important;
  }

  .dashboard.community-mode .start-guide-room strong{
    min-height:34px!important;
    padding:0 12px!important;
    font-size:10px!important;
  }

  .dashboard.community-mode .history-shell{
    gap:7px!important;
  }

  .dashboard.community-mode .history-curve-card{
    padding:10px 8px!important;
    border-radius:7px!important;
  }

  .dashboard.community-mode .history-curve-head{
    display:flex!important;
    gap:7px!important;
    margin-bottom:4px!important;
  }

  .dashboard.community-mode .history-curve-head span{
    font-size:7px!important;
  }

  .dashboard.community-mode .history-curve-head b{
    margin-top:3px!important;
    font-size:14px!important;
  }

  .dashboard.community-mode .history-curve-head strong{
    font-size:16px!important;
  }

  .dashboard.community-mode .history-curve-svg{
    height:104px!important;
  }

  .dashboard.community-mode .history-curve-axis{
    height:17px!important;
    font-size:7px!important;
  }

  .dashboard.community-mode .history-summary-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:6px!important;
  }

  .dashboard.community-mode .history-summary-grid div{
    padding:9px 8px!important;
    border-radius:7px!important;
  }

  .dashboard.community-mode .history-summary-grid span,
  .dashboard.community-mode .history-summary-grid small{
    font-size:7px!important;
    line-height:1.2!important;
  }

  .dashboard.community-mode .history-summary-grid b{
    margin:5px 0 3px!important;
    font-size:17px!important;
  }

  .dashboard.community-mode .history-panel-head{
    padding:9px!important;
  }

  .dashboard.community-mode .history-panel-head b{
    font-size:12px!important;
  }

  .dashboard.community-mode .history-panel-head span,
  .dashboard.community-mode .history-expert-row b,
  .dashboard.community-mode .history-expert-row small{
    font-size:8px!important;
  }

  .dashboard.community-mode :is(button,input,select,textarea){
    max-width:100%!important;
  }
}

@media(max-width:360px){
  .dashboard.community-mode,
  .dashboard.community-mode.dm-mode,
  .dashboard.community-mode.channels-collapsed,
  .dashboard.community-mode.dm-mode.channels-collapsed,
  .dashboard.community-mode.members-collapsed,
  .dashboard.community-mode.dm-mode.members-collapsed,
  .dashboard.community-mode.channels-collapsed.members-collapsed,
  .dashboard.community-mode.dm-mode.channels-collapsed.members-collapsed{
    grid-template-columns:86px minmax(0,1fr)!important;
  }

  .dashboard.community-mode .sidebar{
    width:86px!important;
  }

  .dashboard.community-mode .history-summary-grid{
    grid-template-columns:1fr!important;
  }
}

/* Final community sidebar brand scale: keep landing branding, reduce its footprint. */
@media(min-width:981px){
  .dashboard.community-mode .side-top{
    min-height:48px!important;
    margin-bottom:16px!important;
  }

  .dashboard.community-mode .side-top .brand{
    gap:3px!important;
    font-size:18px!important;
  }

  .dashboard.community-mode .side-top .brand-logo{
    width:38px!important;
    height:38px!important;
    flex:0 0 38px!important;
  }

  .dashboard.community-mode .side-top .brand-wordmark{
    font-size:18px!important;
    line-height:1!important;
    transform:translate(-1px,0)!important;
  }
}

/* Mobile rail final lock: Academy/Connections use the same bottom bar footprint as Community. */
@media(max-width:980px){
  .dashboard.workspace-mode,
  .dashboard.workspace-mode.channels-collapsed{
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:minmax(0,1fr) 76px!important;
    width:100vw!important;
    max-width:100vw!important;
    min-height:100dvh!important;
    padding:0!important;
    overflow:hidden!important;
  }
  .dashboard.workspace-mode .sidebar,
  .dashboard.workspace-mode.channels-collapsed .sidebar{
    position:fixed!important;
    left:0!important;
    right:0!important;
    top:auto!important;
    bottom:0!important;
    z-index:80!important;
    width:100vw!important;
    min-width:100vw!important;
    max-width:100vw!important;
    height:76px!important;
    min-height:76px!important;
    max-height:76px!important;
    padding:0!important;
    border-width:1px 0 0!important;
    border-radius:0!important;
    background:#08090d!important;
    box-shadow:0 -18px 38px rgba(0,0,0,.34)!important;
    overflow:hidden!important;
    transform:none!important;
    opacity:1!important;
    pointer-events:auto!important;
  }
  .dashboard.workspace-mode .portal-nav{
    width:100%!important;
    min-width:100%!important;
    max-width:100%!important;
    height:100%!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    align-items:center!important;
    justify-content:stretch!important;
    gap:0!important;
    margin:0!important;
    padding:9px 10px 10px!important;
    border:0!important;
    border-radius:0!important;
    background:#08090d!important;
  }
  .dashboard.workspace-mode .portal-nav-item{
    width:100%!important;
    height:56px!important;
    min-width:0!important;
    min-height:56px!important;
    max-width:none!important;
    max-height:56px!important;
    flex:0 0 auto!important;
    border-radius:13px!important;
  }
  .dashboard.workspace-mode .side-top,
  .dashboard.workspace-mode .community-server-cover,
  .dashboard.workspace-mode .portal-community-label,
  .dashboard.workspace-mode .direct-open,
  .dashboard.workspace-mode .side-section,
  .dashboard.workspace-mode .sidebar-footer{
    display:none!important;
  }
  .dashboard.workspace-mode .workspace-panel{
    grid-column:1!important;
    grid-row:1!important;
    width:100vw!important;
    max-width:100vw!important;
    height:calc(100dvh - 76px)!important;
    border-radius:0!important;
    overflow:hidden!important;
  }
  .dashboard.workspace-mode .workspace-content,
  .dashboard.workspace-mode .community-workspace-content{
    width:100%!important;
    max-width:100%!important;
    height:100%!important;
    padding-bottom:76px!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
  }
  .dashboard.community-mode .messages,
  .dashboard.community-mode .community-workspace-content,
  .dashboard.community-mode .social-terminal-v2{
    padding-bottom:76px!important;
  }
  .dashboard.community-mode:not(.social-trading-mode) .side-section,
  .dashboard.community-mode:not(.social-trading-mode) .direct-open{
    display:flex!important;
  }
}

/* Final community sidebar logo lock: keep the mark uncropped and the wordmark readable. */
.dashboard.community-mode .side-top{
  min-height:64px!important;
  margin:0 0 18px!important;
  padding:10px 14px 14px!important;
  display:flex!important;
  align-items:center!important;
  overflow:visible!important;
}

.dashboard.community-mode .side-top .brand{
  display:flex!important;
  align-items:center!important;
  gap:4px!important;
  min-width:0!important;
  transform:none!important;
  font-family:Archivo,Arial,sans-serif!important;
  font-size:22px!important;
  font-weight:900!important;
  letter-spacing:-.025em!important;
  line-height:.95!important;
  overflow:visible!important;
}

.dashboard.community-mode .side-top .brand-logo{
  width:34px!important;
  height:34px!important;
  flex:0 0 34px!important;
  margin-right:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
}

.dashboard.community-mode .side-top .brand-logo img{
  width:100%!important;
  height:100%!important;
  display:block!important;
  object-fit:contain!important;
  transform:none!important;
  filter:drop-shadow(0 0 8px rgba(57,153,127,.16))!important;
  opacity:.78!important;
}

.dashboard.community-mode .side-top .brand-wordmark{
  display:inline-block!important;
  font-family:NeueMontreal,Arial,sans-serif!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
  text-overflow:clip!important;
  white-space:nowrap!important;
  font-size:22px!important;
  font-weight:900!important;
  line-height:.95!important;
  letter-spacing:-.045em!important;
  background:linear-gradient(135deg,#ffffff 0%,#eaf8ff 38%,#7ee9ff 72%,#8fa1ff 100%)!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  color:transparent!important;
  -webkit-text-fill-color:transparent!important;
  text-shadow:none!important;
  filter:none!important;
  transform:translate(-2px,-1px)!important;
}

@media(max-width:700px){
  .dashboard.community-mode .side-top{
    min-height:42px!important;
    padding:6px 0 8px!important;
    justify-content:center!important;
  }

  .dashboard.community-mode .side-top .brand{
    justify-content:center!important;
    gap:0!important;
  }

  .dashboard.community-mode .side-top .brand-logo{
    width:30px!important;
    height:30px!important;
    flex:0 0 30px!important;
  }

  .dashboard.community-mode .side-top .brand-wordmark{
    display:none!important;
  }
}

/* Community avatar shape lock: profile photos must stay perfectly round on mobile. */
.dashboard.community-mode .message .mini-avatar,
.dashboard.community-mode .member-avatar,
.dashboard.community-mode .dm-rail-contact .member-avatar,
.dashboard.community-mode .user-card.compact .avatar{
  aspect-ratio:1/1!important;
  border-radius:50%!important;
  overflow:hidden!important;
  flex:0 0 auto!important;
}

.dashboard.community-mode .message .mini-avatar img,
.dashboard.community-mode .member-avatar img,
.dashboard.community-mode .dm-rail-contact .member-avatar img,
.dashboard.community-mode .user-card.compact .avatar img{
  width:100%!important;
  height:100%!important;
  display:block!important;
  object-fit:cover!important;
  object-position:center!important;
  border-radius:50%!important;
}

/* Give the settings workspace and its panels enough breathing room. */
.dashboard.community-mode .community-workspace-content.settings-workspace{
  padding:42px 48px!important;
}
.settings-shell{
  max-width:1280px;
}
.settings-main{
  gap:28px;
}
.settings-profile-card,
.settings-plan-card,
.settings-inline-profile-card,
.settings-password-box{
  padding:28px!important;
  border-radius:16px!important;
}

@media(max-width:980px){
  .dashboard.community-mode .community-workspace-content.settings-workspace{
    padding:30px 24px 104px!important;
  }
}

@media(max-width:560px){
  .dashboard.community-mode .community-workspace-content.settings-workspace{
    padding:22px 16px 104px!important;
  }
  .settings-profile-card,
  .settings-plan-card,
  .settings-inline-profile-card,
  .settings-password-box{
    padding:22px!important;
  }
}

@media(max-width:700px){
  .dashboard.community-mode .message{
    grid-template-columns:24px minmax(0,1fr)!important;
  }

  .dashboard.community-mode .message .mini-avatar{
    width:24px!important;
    height:24px!important;
    min-width:24px!important;
    max-width:24px!important;
    flex-basis:24px!important;
  }

  .dashboard.community-mode .member-avatar,
  .dashboard.community-mode .dm-rail-contact .member-avatar{
    width:26px!important;
    height:26px!important;
    min-width:26px!important;
    max-width:26px!important;
    flex-basis:26px!important;
  }
}

/* Five-button community rail */
.dashboard.community-mode,
.dashboard.community-mode.dm-mode,
.dashboard.community-mode.channels-collapsed,
.dashboard.community-mode.dm-mode.channels-collapsed,
.dashboard.community-mode.members-collapsed,
.dashboard.community-mode.dm-mode.members-collapsed,
.dashboard.community-mode.channels-collapsed.members-collapsed,
.dashboard.community-mode.dm-mode.channels-collapsed.members-collapsed{
  grid-template-columns:360px minmax(0,1fr) 276px!important;
}
.dashboard.community-mode .sidebar{
  position:relative!important;
  width:auto!important;
  padding:14px 14px 14px 88px!important;
  overflow:hidden!important;
}
.dashboard.community-mode .portal-nav{
  position:absolute!important;
  left:14px!important;
  top:14px!important;
  bottom:14px!important;
  z-index:5!important;
  width:58px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:12px!important;
  padding:8px 6px!important;
  border:1px solid rgba(255,255,255,.08)!important;
  border-radius:18px!important;
  background:#0b0c10!important;
  box-shadow:none!important;
}
.dashboard.community-mode .portal-nav-item{
  width:46px!important;
  height:46px!important;
  min-height:46px!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  place-items:center!important;
  padding:0!important;
  border:1px solid transparent!important;
  border-radius:14px!important;
  background:transparent!important;
  color:#fff!important;
  box-shadow:none!important;
  transform:none!important;
}
.dashboard.community-mode .portal-nav-item > span:not(.portal-nav-icon),
.dashboard.community-mode .portal-nav-lock{
  display:none!important;
}
.dashboard.community-mode .portal-nav-icon{
  width:24px!important;
  height:24px!important;
  display:grid!important;
  place-items:center!important;
  border:0!important;
  background:transparent!important;
  color:#fff!important;
  font-size:0!important;
  box-shadow:none!important;
}
.dashboard.community-mode .portal-nav-icon svg{
  width:24px!important;
  height:24px!important;
  display:block!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.9!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.dashboard.community-mode .portal-nav-item:hover,
.dashboard.community-mode .portal-nav-item.active{
  border-color:rgba(255,207,35,.36)!important;
  background:rgba(255,207,35,.16)!important;
  color:#fff!important;
}
.dashboard.community-mode .portal-nav-item.active{
  box-shadow:0 0 0 1px rgba(255,207,35,.08),0 10px 24px rgba(255,207,35,.12)!important;
}
.dashboard.community-mode .direct-open{
  display:none!important;
}
.dashboard.community-mode .side-top,
.dashboard.community-mode .community-server-cover,
.dashboard.community-mode .portal-community-label{
  display:flex!important;
}
.dashboard.community-mode .side-section{
  display:flex!important;
}
.dashboard.community-mode .community-workspace-content.settings-workspace{
  padding:30px!important;
}
.settings-shell{
  display:grid;
  grid-template-columns:210px minmax(0,1fr);
  gap:32px;
  width:100%;
  max-width:1120px;
  margin:0 auto;
}
.settings-account-nav{
  display:flex;
  flex-direction:column;
  gap:8px;
  padding-top:8px;
}
.settings-account-nav span{
  color:#777d88;
  font-size:12px;
  font-weight:800;
}
.settings-account-nav button{
  min-height:38px;
  border:0;
  border-radius:8px;
  background:transparent;
  color:#8e949f;
  text-align:left;
  padding:0 12px;
  font-size:14px;
  font-weight:800;
}
.settings-account-nav button:hover,
.settings-account-nav button.active{
  background:#15161a;
  color:#f2f3f5;
}
.settings-main{
  display:flex;
  flex-direction:column;
  gap:22px;
  min-width:0;
}
.settings-profile-card,
.settings-plan-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
  background:#0d0e11;
  padding:20px;
}
.settings-profile-id{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
}
.settings-profile-avatar{
  width:56px!important;
  height:56px!important;
  flex:0 0 56px!important;
  border-radius:50%!important;
}
.settings-profile-card span,
.settings-plan-card span{
  display:block;
  color:#8f96a3;
  font-size:12px;
  font-weight:900;
}
.settings-profile-card h2,
.settings-plan-card h2{
  margin-top:4px;
  color:#f2f3f5;
  font-size:22px;
  line-height:1.1;
}
.settings-profile-card p,
.settings-plan-card p{
  margin-top:4px;
  color:#8e949f;
  font-size:13px;
}
.settings-profile-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:flex-end;
}
.settings-billing-grid{
  display:grid;
  gap:28px;
}
.settings-billing-grid .subscription-shell{
  margin:0!important;
  max-width:none!important;
}

@media(max-width:980px){
  .dashboard.community-mode,
  .dashboard.community-mode.dm-mode,
  .dashboard.community-mode.channels-collapsed,
  .dashboard.community-mode.dm-mode.channels-collapsed,
  .dashboard.community-mode.members-collapsed,
  .dashboard.community-mode.dm-mode.members-collapsed,
  .dashboard.community-mode.channels-collapsed.members-collapsed,
  .dashboard.community-mode.dm-mode.channels-collapsed.members-collapsed{
    grid-template-columns:1fr!important;
    grid-template-rows:minmax(0,1fr) 76px!important;
    padding:0!important;
    width:100vw!important;
    max-width:100vw!important;
    overflow:hidden!important;
  }
  .dashboard.community-mode .sidebar{
    grid-row:2!important;
    position:fixed!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    z-index:80!important;
    width:100vw!important;
    height:76px!important;
    min-height:76px!important;
    padding:0!important;
    border-radius:0!important;
    border-width:1px 0 0!important;
    background:#08090d!important;
  }
  .dashboard.community-mode .portal-nav{
    position:static!important;
    width:100%!important;
    height:100%!important;
    border:0!important;
    border-radius:0!important;
    display:grid!important;
    grid-template-columns:repeat(5,1fr)!important;
    gap:0!important;
    padding:9px 10px 10px!important;
    background:#08090d!important;
  }
  .dashboard.community-mode .portal-nav-item{
    width:100%!important;
    height:56px!important;
    min-height:56px!important;
    border-radius:12px!important;
  }
  .dashboard.community-mode .portal-nav-icon,
  .dashboard.community-mode .portal-nav-icon svg{
    width:25px!important;
    height:25px!important;
  }
  .dashboard.community-mode .side-top,
  .dashboard.community-mode .community-server-cover,
  .dashboard.community-mode .portal-community-label,
  .dashboard.community-mode .direct-open,
  .dashboard.community-mode .side-section,
  .dashboard.community-mode .sidebar-footer{
    display:none!important;
  }
  .dashboard.community-mode .chat-panel,
  .dashboard.community-mode .workspace-panel{
    grid-column:1!important;
    grid-row:1!important;
    width:100vw!important;
    max-width:100vw!important;
    height:calc(100vh - 76px)!important;
    border-radius:0!important;
  }
  .dashboard.community-mode .members-panel,
  .dashboard.community-mode #membersToggle,
  .dashboard.community-mode .dm-panel{
    display:none!important;
  }
  .dashboard.community-mode .messages,
  .dashboard.community-mode .community-workspace-content{
    padding-bottom:96px!important;
  }
  .settings-shell{
    grid-template-columns:1fr;
    gap:16px;
  }
  .settings-account-nav{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:8px;
    padding:0;
  }
  .settings-account-nav span{
    grid-column:1/-1;
  }
  .settings-account-nav button{
    text-align:center;
    padding:0 8px;
  }
  .settings-profile-card,
  .settings-plan-card{
    align-items:flex-start;
    flex-direction:column;
  }
}

/* Landing-page logo lockup in Community and Subscription. */
.community-brand-logo,
.subscription-brand-logo{
  display:inline-flex!important;
  align-items:center!important;
  gap:9px!important;
  width:max-content!important;
  max-width:100%!important;
  min-width:max-content!important;
  padding-right:8px!important;
  overflow:visible!important;
  color:#fff!important;
  line-height:1!important;
  text-decoration:none!important;
}
.community-brand-logo .logo-mark,
.subscription-brand-logo .logo-mark{
  width:46px!important;
  height:46px!important;
  min-width:46px!important;
  max-width:46px!important;
  flex:0 0 46px!important;
  margin:0!important;
  overflow:visible!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.community-brand-logo .logo-mark img,
.subscription-brand-logo .logo-mark img{
  width:46px!important;
  height:46px!important;
  min-width:46px!important;
  max-width:46px!important;
  display:block!important;
  object-fit:contain!important;
  object-position:center!important;
  transform:scale(1.12)!important;
  transform-origin:center!important;
  opacity:1!important;
  filter:none!important;
}
.community-brand-logo span[data-brand],
.subscription-brand-logo span[data-brand]{
  display:inline-block!important;
  min-width:max-content!important;
  padding-right:3px!important;
  overflow:visible!important;
  white-space:nowrap!important;
  font-family:NeueMontreal,Arial,sans-serif!important;
  font-size:20px!important;
  font-weight:900!important;
  letter-spacing:-.045em!important;
  line-height:1!important;
  transform:none!important;
}
.subscription-brand-logo{
  margin-bottom:8px!important;
}
.subscription-logo-row,
.subscription-brand-copy{
  overflow:visible!important;
}
.subscription-brand-copy{
  min-width:0!important;
}
@media(max-width:560px){
  .subscription-brand-logo{
    gap:7px!important;
  }
  .subscription-brand-logo .logo-mark,
  .subscription-brand-logo .logo-mark img{
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
    max-width:38px!important;
    flex-basis:38px!important;
  }
  .subscription-brand-logo span[data-brand]{
    font-size:18px!important;
  }
}

/* Keep the community header identical to the landing-page brand. */
@media(min-width:981px){
.dashboard.community-mode .side-top{
  min-height:48px!important;
  margin:0 0 16px!important;
  padding:4px 0 8px!important;
  display:flex!important;
  align-items:center!important;
  overflow:visible!important;
}
.dashboard.community-mode .side-top .brand{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  min-width:0!important;
  transform:none!important;
  font-family:NeueMontreal,Arial,sans-serif!important;
  font-size:20px!important;
  font-weight:900!important;
  letter-spacing:-.025em!important;
  line-height:1!important;
  overflow:visible!important;
}
.dashboard.community-mode .side-top .brand-logo{
  width:46px!important;
  height:46px!important;
  min-width:46px!important;
  max-width:46px!important;
  flex:0 0 46px!important;
  margin-right:-7px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
}
.dashboard.community-mode .side-top .brand-logo img{
  width:100%!important;
  height:100%!important;
  display:block!important;
  object-fit:cover!important;
  transform:none!important;
  filter:none!important;
  opacity:1!important;
}
.dashboard.community-mode .side-top .brand-wordmark{
  display:inline-block!important;
  font-family:NeueMontreal,Arial,sans-serif!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
  text-overflow:clip!important;
  white-space:nowrap!important;
  font-size:20px!important;
  font-weight:900!important;
  line-height:1!important;
  letter-spacing:-.045em!important;
  background:linear-gradient(90deg,#fff 0%,#fff 44%,#dffaff 62%,#75dfff 80%,#50bfff 100%)!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  color:transparent!important;
  -webkit-text-fill-color:transparent!important;
  text-shadow:none!important;
  filter:none!important;
  transform:none!important;
}
}

/* Final settings page inline profile form. */
.settings-inline-profile-card,
.settings-password-box{
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
  background:#0d0e11;
  padding:20px;
}
.settings-inline-profile-card{
  display:grid;
  gap:18px;
}
.settings-form-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.settings-form-wide{
  grid-column:1/-1;
}
.settings-form-grid label{
  display:grid;
  gap:8px;
  min-width:0;
}
.settings-form-grid label span,
.settings-password-box b{
  color:#aab0ba;
  font-size:12px;
  font-weight:900;
}
.settings-form-grid input,
.settings-form-grid textarea{
  width:100%;
  min-width:0;
  border:1px solid rgba(255,255,255,.09);
  border-radius:10px;
  background:#101219;
  color:#eef2f7;
  padding:12px 14px;
  font:800 13px/1.3 Inter,system-ui,sans-serif;
  outline:0;
}
.settings-handle-input{
  display:flex;
  align-items:center;
  width:100%;
  min-width:0;
  border:1px solid rgba(255,255,255,.09);
  border-radius:10px;
  background:#101219;
  overflow:hidden;
}
.settings-handle-input b{
  flex:0 0 auto;
  padding:0 0 0 14px;
  color:#8f98a8;
  font:900 13px/1.3 var(--qc-font-sans);
}
.settings-form-grid .settings-handle-input input{
  border:0;
  border-radius:0;
  background:transparent;
  padding-left:4px;
}
.settings-form-grid input[readonly]{
  color:#8f98a8;
}
.settings-form-grid textarea{
  min-height:96px;
  resize:vertical;
}
.settings-form-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.settings-form-actions .hint{
  min-height:18px;
  margin:0;
  color:#43e0b0;
  font-size:12px;
  font-weight:800;
}
.settings-form-actions .hint.error{
  color:#ff8b9c;
}
.settings-password-box{
  display:grid;
  gap:14px;
  background:#090c12;
}
.settings-password-box p{
  margin:5px 0 0;
  color:#7f8795;
  font-size:12px;
  font-weight:700;
}
@media(max-width:720px){
  .settings-form-grid{
    grid-template-columns:1fr;
  }
  .settings-form-actions{
    align-items:stretch;
    flex-direction:column;
  }
  .settings-form-actions .billing-secondary-button{
    width:100%;
  }
}

/* Community mobile readability: keep channel names readable while preserving chat width. */
@media(max-width:700px){
  .dashboard.community-mode,
  .dashboard.community-mode.dm-mode,
  .dashboard.community-mode.channels-collapsed,
  .dashboard.community-mode.dm-mode.channels-collapsed,
  .dashboard.community-mode.members-collapsed,
  .dashboard.community-mode.dm-mode.members-collapsed,
  .dashboard.community-mode.channels-collapsed.members-collapsed,
  .dashboard.community-mode.dm-mode.channels-collapsed.members-collapsed{
    grid-template-columns:clamp(118px,33vw,132px) minmax(0,1fr)!important;
    gap:0!important;
    padding:0!important;
  }

  .dashboard.community-mode .sidebar{
    width:auto!important;
    padding:7px 6px!important;
  }

  .dashboard.community-mode .channel-btn,
  .dashboard.community-mode .direct-open,
  .dashboard.community-mode .direct-back{
    min-height:32px!important;
    padding:6px 5px!important;
    font-size:9.5px!important;
  }

  .dashboard.community-mode .channel-title{
    align-items:flex-start!important;
    gap:4px!important;
    line-height:1.16!important;
  }

  .dashboard.community-mode .channel-title-text{
    display:-webkit-box!important;
    min-width:0!important;
    max-width:100%!important;
    overflow:hidden!important;
    text-overflow:clip!important;
    white-space:normal!important;
    -webkit-line-clamp:2!important;
    -webkit-box-orient:vertical!important;
    line-height:1.14!important;
  }

  .dashboard.community-mode .channel-hash,
  .dashboard.community-mode .channel-svg-icon{
    margin-top:1px!important;
  }

  .dashboard.community-mode .chat-panel{
    min-width:0!important;
  }

  .dashboard.community-mode .messages{
    padding:8px 7px!important;
    gap:8px!important;
  }

  .dashboard.community-mode .message{
    grid-template-columns:20px minmax(0,1fr)!important;
    gap:5px!important;
  }

  .dashboard.community-mode .message .mini-avatar{
    width:20px!important;
    height:20px!important;
  }

  .dashboard.community-mode .msg-box{
    min-width:0!important;
    padding:7px 8px!important;
  }

  .dashboard.community-mode .msg-meta b{
    font-size:9.5px!important;
    max-width:96px!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }

  .dashboard.community-mode .msg-meta .chat-author{
    gap:3px!important;
  }

  .dashboard.community-mode .msg-meta .chat-author b{
    max-width:112px!important;
  }

  .dashboard.community-mode .msg-meta .chat-author-role,
  .dashboard.community-mode .msg-meta .chat-author-dot{
    font-size:8.5px!important;
  }

  .dashboard.community-mode .msg-meta .chat-role-icon{
    width:12px!important;
    height:12px!important;
    flex-basis:12px!important;
  }

  .dashboard.community-mode .msg-body{
    font-size:10.5px!important;
    line-height:1.32!important;
    overflow-wrap:anywhere!important;
  }

  .dashboard.community-mode .composer{
    padding:6px!important;
  }
}

@media(max-width:380px){
  .dashboard.community-mode,
  .dashboard.community-mode.dm-mode,
  .dashboard.community-mode.channels-collapsed,
  .dashboard.community-mode.dm-mode.channels-collapsed,
  .dashboard.community-mode.members-collapsed,
  .dashboard.community-mode.dm-mode.members-collapsed,
  .dashboard.community-mode.channels-collapsed.members-collapsed,
  .dashboard.community-mode.dm-mode.channels-collapsed.members-collapsed{
    grid-template-columns:112px minmax(0,1fr)!important;
  }

  .dashboard.community-mode .channel-btn,
  .dashboard.community-mode .direct-open,
  .dashboard.community-mode .direct-back{
    font-size:9px!important;
  }

  .dashboard.community-mode .msg-body{
    font-size:10px!important;
  }
}

/* Final avatar override after mobile layout rules. */
.dashboard.community-mode .message .mini-avatar,
.dashboard.community-mode .member-avatar,
.dashboard.community-mode .dm-rail-contact .member-avatar,
.dashboard.community-mode .user-card.compact .avatar{
  aspect-ratio:1/1!important;
  border-radius:50%!important;
  overflow:hidden!important;
  flex:0 0 auto!important;
}

.dashboard.community-mode .message .mini-avatar img,
.dashboard.community-mode .member-avatar img,
.dashboard.community-mode .dm-rail-contact .member-avatar img,
.dashboard.community-mode .user-card.compact .avatar img{
  width:100%!important;
  height:100%!important;
  display:block!important;
  object-fit:cover!important;
  object-position:center!important;
  border-radius:50%!important;
}

@media(max-width:700px){
  .dashboard.community-mode .message{
    grid-template-columns:24px minmax(0,1fr)!important;
  }

  .dashboard.community-mode .message .mini-avatar{
    width:24px!important;
    height:24px!important;
    min-width:24px!important;
    max-width:24px!important;
    flex-basis:24px!important;
  }

  .dashboard.community-mode .member-avatar,
  .dashboard.community-mode .dm-rail-contact .member-avatar{
    width:26px!important;
    height:26px!important;
    min-width:26px!important;
    max-width:26px!important;
    flex-basis:26px!important;
  }
}

/* Model library detail performance redesign */
.model-detail-shell{
  display:grid;
  gap:16px;
}
.model-detail-layout{
  align-items:start;
}
.model-pnl-card,
.model-perf-mini-card,
.model-expectancy-card,
.model-wl-card,
.model-side-card,
.model-session-card,
.model-prop-settings{
  border:1px solid rgba(148,163,184,.22);
  border-radius:12px;
  background:#151515;
  box-shadow:0 18px 44px rgba(0,0,0,.24);
}
.model-pnl-card{
  padding:18px 18px 14px;
  background:linear-gradient(180deg,#171717,#101010);
}
.model-pnl-top,
.model-pnl-stats,
.model-perf-mini-head,
.model-expectancy-grid,
.model-wl-grid,
.model-side-grid,
.model-session-grid,
.model-prop-settings-head,
.model-prop-fields{
  display:grid;
  gap:12px;
}
.model-pnl-top{
  grid-template-columns:minmax(0,1fr) auto;
  align-items:start;
}
.model-pnl-top h3{
  margin:0;
  color:#f4f7fb;
  font:900 22px/1.05 Archivo,sans-serif;
}
.model-pnl-top p{
  margin:4px 0 0;
  color:#8d98a8;
  font-size:12px;
}
.model-pnl-tabs{
  display:flex;
  overflow:hidden;
  border:1px solid rgba(148,163,184,.28);
  border-radius:10px;
  background:#050505;
}
.model-pnl-tabs span{
  padding:8px 10px;
  color:#dbe4ef;
  font-size:12px;
  font-weight:800;
  border-left:1px solid rgba(148,163,184,.24);
}
.model-pnl-tabs span:first-child{border-left:0}
.model-pnl-tabs .active{
  background:#344052;
  color:#fff;
}
.model-pnl-stats{
  grid-template-columns:repeat(5,minmax(0,1fr));
  margin:18px 0 8px;
}
.model-pnl-stats span,
.model-perf-mini-head span,
.model-expectancy-card>span,
.model-wl-card span{
  display:block;
  color:#8c98a8;
  font-size:11px;
  font-weight:800;
}
.model-pnl-stats b{
  display:block;
  margin-top:7px;
  color:#f7fbff;
  font-size:18px;
}
.model-pnl-stats small{
  display:inline-flex;
  margin-top:5px;
  color:#8895a6;
  font-size:10px;
  font-weight:800;
}
.model-pnl-stats small.positive{
  color:#17c7a5;
}
.model-pnl-svg{
  display:block;
  width:100%;
  height:auto;
}
.model-pnl-grid line{
  stroke:rgba(226,232,240,.52);
  stroke-width:1;
  stroke-dasharray:6 8;
}
.model-pnl-axis,
.model-pnl-month{
  fill:#9aa6b7;
  font:800 10px Archivo,sans-serif;
}
.model-pnl-axis{text-anchor:end}
.model-pnl-month{text-anchor:middle}
.model-pnl-area{
  fill:url(#modelPnlFill);
}
.model-pnl-line{
  fill:none;
  stroke:#14b8a6;
  stroke-width:2.4;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.model-pnl-point{
  fill:#14b8a6;
  stroke:#ccfbf1;
  stroke-width:1.4;
}
.model-performance-stack{
  display:grid;
  gap:22px;
  margin-top:14px;
}
.model-mini-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.model-perf-mini-card{
  min-height:128px;
  padding:14px 16px 10px;
}
.model-perf-mini-head{
  grid-template-columns:1fr 1fr;
  align-items:start;
}
.model-perf-mini-head div:last-child{
  text-align:right;
}
.model-perf-mini-head b,
.model-expectancy-card>b{
  display:block;
  margin-top:5px;
  color:#f4f7fb;
  font-size:23px;
  line-height:1;
}
.model-mini-spark{
  display:block;
  width:100%;
  height:62px;
  margin-top:10px;
}
.model-mini-spark polygon{
  fill:rgba(13,109,255,.16);
}
.model-mini-spark polyline{
  fill:none;
  stroke:#0d6dff;
  stroke-width:2.2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.model-mini-spark circle{
  fill:#0d6dff;
  stroke:#dbeafe;
  stroke-width:1;
}
.model-mini-spark.ideal polygon{fill:rgba(20,184,166,.14)}
.model-mini-spark.ideal polyline{stroke:#14b8a6}
.model-mini-spark.ideal circle{fill:#14b8a6}
.model-mini-spark.flat polygon{fill:rgba(13,109,255,.08)}
.model-perf-section{
  display:grid;
  gap:12px;
}
.model-perf-section h3{
  margin:0;
  color:#fff;
  font:900 21px/1.12 Archivo,sans-serif;
}
.model-perf-section h3 i,
.model-wl-card span i{
  display:inline-grid;
  place-items:center;
  width:14px;
  height:14px;
  border-radius:50%;
  background:#8f98a6;
  color:#111;
  font-size:9px;
  font-style:normal;
  font-weight:900;
}
.model-expectancy-grid,
.model-side-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.model-expectancy-card{
  min-height:98px;
  padding:18px 20px;
  position:relative;
}
.model-expectancy-card.factor{
  display:grid;
  grid-template-columns:minmax(0,1fr) 84px;
  align-items:center;
}
.model-expectancy-bars{
  position:absolute;
  left:45%;
  right:22px;
  top:31px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:4px;
}
.model-expectancy-bars i{
  height:14px;
  border-radius:999px;
  border:1px solid transparent;
}
.model-expectancy-bars .good{
  background:linear-gradient(90deg,#063f37,#14b88f);
  border-color:#14b88f;
}
.model-expectancy-bars .bad{
  background:linear-gradient(90deg,#52181b,#e4444a);
  border-color:#ff595f;
}
.model-expectancy-range{
  position:absolute;
  left:45%;
  right:22px;
  bottom:18px;
  display:flex;
  justify-content:space-between;
  gap:8px;
  color:#13c79d;
  font-weight:900;
}
.model-expectancy-range strong:last-child{
  color:#ff5b67;
}
.model-factor-ring{
  width:66px;
  height:66px;
  border-radius:50%;
  background:conic-gradient(#e2ad14 calc(var(--value) * 1%),#24272b 0);
  position:relative;
}
.model-factor-ring::after{
  content:"";
  position:absolute;
  inset:7px;
  border-radius:50%;
  background:#151515;
}

.model-history-calendar{
  min-width:0;
  overflow:hidden;
  border:1px solid rgba(148,163,184,.20);
  border-radius:10px;
  background:#0d0d0e;
}
.model-calendar-toolbar{
  min-height:48px;
  display:grid;
  grid-template-columns:32px minmax(0,1fr) 32px;
  align-items:center;
  gap:10px;
  padding:7px 12px;
  border-bottom:1px solid rgba(148,163,184,.18);
  background:#111;
}
.model-calendar-toolbar strong{
  color:#e8edf4;
  font-size:13px;
  text-align:center;
}
.model-calendar-toolbar button{
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  padding:0;
  border:1px solid rgba(148,163,184,.24);
  border-radius:6px;
  color:#d8dee8;
  background:#09090a;
  font-size:20px;
  line-height:1;
  cursor:pointer;
}
.model-calendar-toolbar button:hover:not(:disabled),
.model-calendar-toolbar button:focus-visible{
  border-color:rgba(20,184,166,.64);
  color:#fff;
  background:#16191a;
}
.model-calendar-toolbar button:disabled{
  opacity:.28;
  cursor:default;
}
.model-calendar-scroll{
  min-width:0;
  overflow-x:auto;
}
.model-calendar-weekdays,
.model-calendar-grid{
  min-width:760px;
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
}
.model-calendar-weekdays span{
  min-height:34px;
  display:grid;
  place-items:center;
  border-right:1px solid rgba(148,163,184,.14);
  color:#8f98a6;
  font-size:10px;
  font-weight:800;
}
.model-calendar-weekdays span:last-child{
  border-right:0;
}
.model-calendar-day{
  position:relative;
  min-height:98px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  padding:10px;
  border-top:1px solid rgba(148,163,184,.14);
  border-right:1px solid rgba(148,163,184,.14);
  color:#bac2ce;
  background:#0b0b0d;
}
.model-calendar-day:nth-child(7n){border-right:0}
.model-calendar-day.outside{
  color:#4d535c;
  background:#080809;
}
.model-calendar-day time{
  align-self:flex-end;
  font-size:10px;
  line-height:1;
}
.model-calendar-day strong{
  margin-top:10px;
  color:#eef2f7;
  font-size:13px;
  line-height:1.1;
}
.model-calendar-day span,
.model-calendar-day small{
  margin-top:5px;
  color:#c2cad5;
  font-size:10px;
  line-height:1.15;
}
.model-calendar-day small{
  margin-top:3px;
  color:#8f98a6;
}
.model-calendar-day.has-trades.positive{background:rgba(12,91,70,.28)}
.model-calendar-day.has-trades.negative{background:rgba(105,39,47,.30)}
.model-calendar-day.has-trades.positive strong{color:#20d39f}
.model-calendar-day.has-trades.negative strong{color:#ff6b76}
.model-calendar-section.model-calendar-compact{
  width:min(1180px,100%);
  margin-inline:auto;
}
.model-calendar-compact .model-calendar-toolbar{
  display:flex;
  justify-content:center;
  gap:7px;
}
.model-calendar-compact .model-calendar-toolbar strong{
  order:2;
  min-width:92px;
}
.model-calendar-compact .model-calendar-toolbar button:first-child{order:1}
.model-calendar-compact .model-calendar-toolbar button:last-child{order:3}
.model-calendar-compact .model-calendar-day{min-height:84px}
.model-wl-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.model-wl-card{
  padding:20px 22px;
}
.model-wl-card h4,
.model-side-card h4,
.model-session-card h4{
  margin:0 0 12px;
  color:#fff;
  font:900 16px/1.2 Archivo,sans-serif;
}
.model-wl-card div{
  display:flex;
  justify-content:space-between;
  gap:16px;
  margin-top:8px;
  color:#f7fbff;
  font-size:14px;
  font-weight:900;
}
.model-wl-card.winners{
  border-color:#14b8a6;
}
.model-wl-card.losers{
  border-color:#ff695e;
}
.model-side-card{
  min-height:286px;
  padding:20px;
  text-align:left;
}
.model-side-legend{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:8px;
  color:#c5d0dc;
  font-size:11px;
  margin-bottom:12px;
}
.model-side-legend span{
  width:12px;
  height:12px;
  border-radius:50%;
  border:1px solid #fff;
}
.model-side-legend .buy{background:#21b997}
.model-side-legend .sell{background:#1778ff}
.model-donut{
  width:184px;
  height:184px;
  margin:20px auto 0;
  border-radius:50%;
  background:conic-gradient(#21b997 var(--first),#1778ff 0);
  position:relative;
  display:grid;
  place-items:center;
}
.model-donut::after{
  content:"";
  position:absolute;
  inset:48px;
  border-radius:50%;
  background:#151515;
}
.model-donut-center,
.model-donut b,
.model-donut small{
  position:relative;
  z-index:1;
}
.model-donut-center{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  line-height:1.05;
  text-align:center;
}
.model-donut b{
  color:#fff;
  font-size:26px;
}
.model-donut small{
  color:#91a0b3;
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
}
.model-side-breakdown{
  display:flex;
  justify-content:center;
  gap:14px;
  margin-top:14px;
  color:#91a0b3;
  font-size:12px;
  font-weight:700;
}
.model-side-breakdown b{
  color:#dfe8f2;
  font-weight:900;
}
.model-double-ring{
  width:170px;
  height:170px;
  margin:24px auto 0;
  border-radius:50%;
  background:
    radial-gradient(circle at 50% 50%,#151515 0 42%,transparent 43%),
    conic-gradient(#21b997 var(--buy),#e5e7eb 0);
  display:grid;
  place-items:center;
  color:#fff;
  font-size:24px;
  font-weight:900;
}
.model-session-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
}
.model-session-card{
  padding:18px 20px;
  min-height:210px;
}
.model-session-card svg{
  width:100%;
  height:142px;
  display:block;
}
.model-session-card .frame{
  fill:none;
  stroke:#d9dde5;
  stroke-width:1.2;
}
.model-session-card .mid{opacity:.72}
.model-session-card .inner{opacity:.5}
.model-session-shape{
  fill:rgba(13,109,255,.24);
  stroke:#0d6dff;
  stroke-width:2;
}
.model-session-card circle{
  fill:#0d6dff;
  stroke:#fff;
}
.model-session-card text{
  fill:#c8d2df;
  font:700 6px Archivo,sans-serif;
}
.model-prop-settings{
  width:min(var(--workspace-center-width),100%);
  margin:0 auto 12px;
  padding:16px;
  background:linear-gradient(180deg,#0b1724,#07111d);
}
.model-prop-settings-grid{
  display:grid;
  grid-template-columns:minmax(154px,.32fr) minmax(0,1fr);
  gap:14px;
  align-items:stretch;
}
.model-prop-risk-card,
.model-prop-rule-card{
  min-width:0;
}
.model-prop-risk-card{
  display:grid;
  align-content:start;
  gap:10px;
  padding:13px;
  border:1px solid rgba(96,223,255,.22);
  border-radius:10px;
  background:linear-gradient(180deg,rgba(7,24,36,.92),rgba(5,12,20,.96));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}
.model-prop-risk-card h4{
  margin:0;
  color:#effcff;
  font:900 22px/1 Archivo,sans-serif;
}
.model-prop-risk-card label{
  display:grid;
  gap:6px;
  color:#8fa7c2;
  font-size:9px;
  font-weight:900;
  text-transform:uppercase;
}
.model-prop-risk-card input{
  width:100%;
  min-height:42px;
  border:1px solid rgba(96,223,255,.28);
  border-radius:8px;
  background:#050b13;
  color:#eaf6ff;
  padding:9px 10px;
  font:900 18px/1 Archivo,sans-serif;
}
.model-prop-risk-card p{
  color:#7890a9;
  line-height:1.35;
}
.model-prop-settings-head{
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
}
.model-prop-settings h3{
  margin:5px 0 4px;
  color:#fff;
  font:900 18px/1.1 Archivo,sans-serif;
}
.model-prop-settings p{
  margin:0;
  color:#8294ad;
  font-size:11px;
}
.model-prop-mode{
  display:flex;
  overflow:hidden;
  border:1px solid rgba(115,148,199,.18);
  border-radius:8px;
}
.model-prop-mode button{
  min-height:34px;
  padding:0 13px;
  border:0;
  border-left:1px solid rgba(115,148,199,.18);
  background:#081321;
  color:#9fb2cc;
  font-weight:900;
}
.model-prop-mode button:first-child{border-left:0}
.model-prop-mode button.active{
  background:#0d2b40;
  color:#a5efff;
}
.model-prop-fields{
  grid-template-columns:repeat(4,minmax(0,1fr)) auto;
  align-items:end;
  margin-top:14px;
}
.model-prop-fields label{
  display:grid;
  gap:6px;
  min-width:0;
  color:#8fa7c2;
  font-size:9px;
  font-weight:900;
  text-transform:uppercase;
}
.model-prop-fields label.disabled{
  opacity:.42;
}
.model-prop-fields input{
  width:100%;
  min-height:38px;
  border:1px solid rgba(115,148,199,.18);
  border-radius:7px;
  background:#050b13;
  color:#eaf6ff;
  padding:8px 10px;
}
.model-prop-apply{
  min-height:38px;
  white-space:nowrap;
}
.model-funded-table tr.phase2 td{
  color:#7dd3fc;
}
@media(max-width:1180px){
  .model-mini-grid,
  .model-session-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .model-selected-wide-top{
    grid-template-columns:1fr;
  }
  .model-selected-panel-wide .model-selected-head,
  .model-selected-panel-wide .model-risk-toolbar{
    grid-column:1;
    justify-self:stretch;
  }
  .model-selected-panel-wide .model-selected-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  .model-prop-fields{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .model-prop-apply{
    grid-column:1/-1;
  }
}
@media(max-width:760px){
  .model-pnl-card,
  .model-perf-mini-card,
  .model-expectancy-card,
  .model-wl-card,
  .model-side-card,
  .model-session-card,
  .model-prop-settings{
    border-radius:10px;
  }
  .model-pnl-top,
  .model-pnl-stats,
  .model-mini-grid,
  .model-expectancy-grid,
  .model-wl-grid,
  .model-side-grid,
  .model-session-grid,
  .model-selected-panel-wide .model-selected-grid,
  .model-prop-settings-grid,
  .model-prop-settings-head,
  .model-prop-fields{
    grid-template-columns:1fr;
  }
  .model-pnl-tabs{
    width:100%;
  }
  .model-pnl-tabs span{
    flex:1;
    text-align:center;
    padding-inline:6px;
    font-size:10px;
  }
  .model-pnl-stats b{
    font-size:16px;
  }
  .model-expectancy-bars,
  .model-expectancy-range{
    position:static;
    margin-top:12px;
  }
  .model-expectancy-card.factor{
    grid-template-columns:1fr;
    gap:14px;
  }
  .model-factor-ring{
    justify-self:start;
  }
}
/* Model 1495 result output polish */
.model-detail-centered{
  width:min(1420px,calc(100vw - 48px));
  margin:0 auto;
}
.model-detail-layout{
  display:grid;
  grid-template-columns:minmax(0,1.48fr) minmax(360px,.9fr);
  gap:16px;
}
.model-detail-layout.model-detail-layout-single{
  grid-template-columns:1fr;
}
.model-pnl-hero{
  margin-bottom:16px;
}
.model-pnl-hero .model-pnl-card{
  margin-top:0;
}
.model-curve-card,
.model-selected-panel,
.model-pnl-card,
.model-perf-mini-card,
.model-expectancy-card,
.model-wl-card,
.model-side-card,
.model-session-card{
  background:#0d0d0e;
  border:1px solid rgba(148,163,184,.20);
  border-radius:10px;
  box-shadow:none;
}
.model-curve-card,
.model-selected-panel{
  padding:14px;
}
.model-pnl-card{
  margin-top:14px;
  padding:20px 22px 16px;
  background:#111;
}
.model-pnl-tabs{
  border-radius:10px;
  background:#050505;
}
.model-pnl-tabs button{
  appearance:none;
  border:0;
  border-left:1px solid rgba(148,163,184,.24);
  background:transparent;
  color:#dbe4ef;
  cursor:pointer;
  font:800 13px/1 Archivo,sans-serif;
  padding:9px 12px;
}
.model-pnl-tabs button:first-child{
  border-left:0;
}
.model-pnl-tabs button.active{
  background:#344052;
  color:#fff;
}
.model-pnl-stats{
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:20px;
  margin:20px 0 12px;
}
.model-pnl-stats b{
  color:#f3f6fb;
  font-size:20px;
}
.model-pnl-stats small.positive{
  color:#00a889;
}
.model-pnl-stats small.negative{
  color:#ff5f57;
}
.model-pnl-svg{
  min-height:520px;
}
.model-pnl-grid line{
  stroke:rgba(226,232,240,.42);
  stroke-dasharray:7 9;
}
.model-pnl-line{
  stroke:#14b8a6;
  stroke-width:2.2;
}
.model-pnl-point{
  fill:#14b8a6;
  stroke:#ccfbf1;
}
.model-pnl-area{
  fill:url(#modelPnlFill);
}
.model-performance-stack{
  margin-top:18px;
  gap:24px;
}
.model-wl-card.winners{
  border-color:rgba(0,188,156,.8);
}
.model-wl-card.losers{
  border-color:rgba(255,95,87,.78);
}
@media (max-width:900px){
  .model-detail-centered{
    width:min(100%,calc(100vw - 24px));
  }
  .model-detail-layout,
  .model-pnl-stats,
  .model-mini-grid,
  .model-wl-grid,
  .model-side-grid{
    grid-template-columns:1fr;
  }
  .model-pnl-top{
    grid-template-columns:1fr;
  }
  .model-pnl-tabs{
    width:100%;
    overflow-x:auto;
  }
  .model-pnl-tabs button{
    white-space:nowrap;
  }
  .model-pnl-svg{
    min-height:340px;
  }
}

/* Final override: fixed five-icon rail on desktop, bottom rail on mobile. */
.dashboard.community-mode,
.dashboard.community-mode.dm-mode,
.dashboard.community-mode.channels-collapsed,
.dashboard.community-mode.dm-mode.channels-collapsed,
.dashboard.community-mode.members-collapsed,
.dashboard.community-mode.dm-mode.members-collapsed,
.dashboard.community-mode.channels-collapsed.members-collapsed,
.dashboard.community-mode.dm-mode.channels-collapsed.members-collapsed{
  grid-template-columns:360px minmax(0,1fr) 276px!important;
}
.dashboard.community-mode .sidebar{
  position:relative!important;
  width:auto!important;
  padding:14px 14px 14px 88px!important;
}
.dashboard.community-mode .portal-nav{
  position:absolute!important;
  left:14px!important;
  top:14px!important;
  bottom:14px!important;
  width:58px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  gap:12px!important;
  padding:8px 6px!important;
  border:1px solid rgba(255,255,255,.08)!important;
  border-radius:18px!important;
  background:#0b0c10!important;
}
.dashboard.community-mode .portal-nav-item{
  width:46px!important;
  height:46px!important;
  min-height:46px!important;
  display:grid!important;
  place-items:center!important;
  grid-template-columns:1fr!important;
  padding:0!important;
  border:1px solid transparent!important;
  border-radius:14px!important;
  background:transparent!important;
  color:#fff!important;
  transform:none!important;
  box-shadow:none!important;
}
.dashboard.community-mode .portal-nav-item > span:not(.portal-nav-icon),
.dashboard.community-mode .portal-nav-lock{
  display:none!important;
}
.dashboard.community-mode .portal-nav-icon,
.dashboard.community-mode .portal-nav-icon svg{
  width:24px!important;
  height:24px!important;
}
.dashboard.community-mode .portal-nav-icon{
  display:grid!important;
  place-items:center!important;
  border:0!important;
  background:transparent!important;
  color:#fff!important;
  font-size:0!important;
}
.dashboard.community-mode .portal-nav-icon svg{
  display:block!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.9!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.dashboard.community-mode .portal-nav-item:hover,
.dashboard.community-mode .portal-nav-item.active{
  border-color:rgba(255,207,35,.36)!important;
  background:rgba(255,207,35,.16)!important;
  color:#fff!important;
  box-shadow:0 10px 24px rgba(255,207,35,.12)!important;
}
.dashboard.community-mode .direct-open{
  display:none!important;
}
.dashboard.community-mode .side-top,
.dashboard.community-mode .community-server-cover,
.dashboard.community-mode .portal-community-label,
.dashboard.community-mode .side-section{
  display:flex!important;
}
.dashboard.community-mode .community-workspace-content.settings-workspace{
  padding:30px!important;
}
.settings-shell{
  display:grid;
  grid-template-columns:210px minmax(0,1fr);
  gap:32px;
  width:100%;
  max-width:1120px;
  margin:0 auto;
}
.settings-account-nav{
  display:flex;
  flex-direction:column;
  gap:8px;
  padding-top:8px;
}
.settings-account-nav span{
  color:#777d88;
  font-size:12px;
  font-weight:800;
}
.settings-account-nav button{
  min-height:38px;
  border:0;
  border-radius:8px;
  background:transparent;
  color:#8e949f;
  text-align:left;
  padding:0 12px;
  font-size:14px;
  font-weight:800;
}
.settings-account-nav button:hover,
.settings-account-nav button.active{
  background:#15161a;
  color:#f2f3f5;
}
.settings-main,
.settings-billing-grid{
  display:grid;
  gap:22px;
  min-width:0;
}
.settings-profile-card,
.settings-plan-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
  background:#0d0e11;
  padding:20px;
}
.settings-profile-id{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
}
.settings-profile-avatar{
  width:56px!important;
  height:56px!important;
  flex:0 0 56px!important;
  border-radius:50%!important;
}
.settings-profile-card span,
.settings-plan-card span{
  display:block;
  color:#8f96a3;
  font-size:12px;
  font-weight:900;
}
.settings-profile-card h2,
.settings-plan-card h2{
  margin-top:4px;
  color:#f2f3f5;
  font-size:22px;
  line-height:1.1;
}
.settings-profile-card p,
.settings-plan-card p{
  margin-top:4px;
  color:#8e949f;
  font-size:13px;
}
.settings-profile-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:flex-end;
}
.settings-billing-grid .subscription-shell{
  margin:0!important;
  max-width:none!important;
}
@media(max-width:980px){
  .dashboard.community-mode,
  .dashboard.community-mode.dm-mode,
  .dashboard.community-mode.channels-collapsed,
  .dashboard.community-mode.dm-mode.channels-collapsed,
  .dashboard.community-mode.members-collapsed,
  .dashboard.community-mode.dm-mode.members-collapsed,
  .dashboard.community-mode.channels-collapsed.members-collapsed,
  .dashboard.community-mode.dm-mode.channels-collapsed.members-collapsed{
    grid-template-columns:1fr!important;
    grid-template-rows:minmax(0,1fr) 76px!important;
    padding:0!important;
    width:100vw!important;
    max-width:100vw!important;
  }
  .dashboard.community-mode .sidebar{
    position:fixed!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    z-index:80!important;
    width:100vw!important;
    height:76px!important;
    min-height:76px!important;
    padding:0!important;
    border-radius:0!important;
    border-width:1px 0 0!important;
    background:#08090d!important;
  }
  .dashboard.community-mode .portal-nav{
    position:static!important;
    width:100%!important;
    height:100%!important;
    display:grid!important;
    grid-template-columns:repeat(5,1fr)!important;
    justify-content:stretch!important;
    gap:0!important;
    padding:9px 10px 10px!important;
    border:0!important;
    border-radius:0!important;
    background:#08090d!important;
  }
  .dashboard.community-mode .portal-nav-item{
    width:100%!important;
    height:56px!important;
    min-height:56px!important;
    border-radius:12px!important;
  }
  .dashboard.community-mode .side-top,
  .dashboard.community-mode .community-server-cover,
  .dashboard.community-mode .portal-community-label,
  .dashboard.community-mode .direct-open,
  .dashboard.community-mode .side-section,
  .dashboard.community-mode .sidebar-footer{
    display:none!important;
  }
  .dashboard.community-mode .chat-panel,
  .dashboard.community-mode .workspace-panel{
    grid-column:1!important;
    grid-row:1!important;
    width:100vw!important;
    max-width:100vw!important;
    height:calc(100vh - 76px)!important;
    border-radius:0!important;
  }
  .dashboard.community-mode .members-panel,
  .dashboard.community-mode #membersToggle,
  .dashboard.community-mode .dm-panel{
    display:none!important;
  }
  .dashboard.community-mode .messages,
  .dashboard.community-mode .community-workspace-content{
    padding-bottom:96px!important;
  }
  .settings-shell{
    grid-template-columns:1fr;
    gap:16px;
  }
  .settings-account-nav{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:8px;
    padding:0;
  }
  .settings-account-nav span{
    grid-column:1/-1;
  }
  .settings-account-nav button{
    text-align:center;
    padding:0 8px;
  }
  .settings-profile-card,
  .settings-plan-card{
    align-items:flex-start;
    flex-direction:column;
  }
}

/* Mobile Community keeps the channel list on the left and the workspace rail below. */
@media(max-width:980px){
  .dashboard.community-mode,
  .dashboard.community-mode.dm-mode,
  .dashboard.community-mode.channels-collapsed,
  .dashboard.community-mode.dm-mode.channels-collapsed,
  .dashboard.community-mode.members-collapsed,
  .dashboard.community-mode.dm-mode.members-collapsed,
  .dashboard.community-mode.channels-collapsed.members-collapsed,
  .dashboard.community-mode.dm-mode.channels-collapsed.members-collapsed{
    grid-template-columns:clamp(118px,33vw,144px) minmax(0,1fr)!important;
    grid-template-rows:minmax(0,1fr) 76px!important;
  }
  .dashboard.community-mode .sidebar{
    position:relative!important;
    transform:none!important;
    filter:none!important;
    animation:none!important;
    opacity:1!important;
    left:auto!important;
    right:auto!important;
    bottom:auto!important;
    grid-column:1!important;
    grid-row:1!important;
    width:auto!important;
    height:calc(100dvh - 76px)!important;
    min-height:0!important;
    padding:8px 6px!important;
    border-width:0 1px 0 0!important;
    border-radius:0!important;
    overflow:hidden!important;
  }
  .dashboard.community-mode .portal-nav{
    position:fixed!important;
    top:auto!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    z-index:80!important;
    width:100vw!important;
    height:76px!important;
  }
  .dashboard.community-mode .side-top,
  .dashboard.community-mode .portal-community-label,
  .dashboard.community-mode .side-section{
    display:flex!important;
  }
  .dashboard.community-mode .side-section{
    min-height:0!important;
    overflow:hidden!important;
  }
  .dashboard.community-mode .channels{
    min-height:0!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
  }
  .dashboard.community-mode .community-server-cover,
  .dashboard.community-mode .direct-open,
  .dashboard.community-mode .sidebar-footer{
    display:none!important;
  }
  .dashboard.community-mode .chat-panel,
  .dashboard.community-mode .workspace-panel{
    grid-column:2!important;
    grid-row:1!important;
    width:auto!important;
    max-width:100%!important;
    height:calc(100dvh - 76px)!important;
  }
}

@media(max-width:380px){
  .dashboard.community-mode,
  .dashboard.community-mode.dm-mode,
  .dashboard.community-mode.channels-collapsed,
  .dashboard.community-mode.dm-mode.channels-collapsed,
  .dashboard.community-mode.members-collapsed,
  .dashboard.community-mode.dm-mode.members-collapsed,
  .dashboard.community-mode.channels-collapsed.members-collapsed,
  .dashboard.community-mode.dm-mode.channels-collapsed.members-collapsed{
    grid-template-columns:112px minmax(0,1fr)!important;
  }
}

/* Notification inbox. */
.portal-nav-item{position:relative}
.portal-nav-badge{
  position:absolute;
  right:3px;
  bottom:3px;
  z-index:3;
  min-width:20px;
  height:20px;
  display:grid;
  place-items:center;
  padding:0 5px;
  border:2px solid #08090d;
  border-radius:999px;
  background:#ed4245;
  color:#fff;
  font:900 10px/1 "JetBrains Mono",monospace;
  box-shadow:0 4px 12px rgba(237,66,69,.38);
}
.portal-nav-badge[hidden]{display:none!important}
.inbox-shell{
  width:min(100%,920px);
  margin:0 auto;
  padding:28px 18px 44px;
  box-sizing:border-box;
}
.inbox-heading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  padding:0 2px 18px;
  border-bottom:1px solid rgba(255,255,255,.09);
}
.inbox-heading span{
  color:#14b8a6;
  font-size:10px;
  font-weight:950;
}
.inbox-heading h2{
  margin:4px 0 3px;
  color:#f5f7fa;
  font-size:28px;
  line-height:1.05;
}
.inbox-heading p{
  margin:0;
  color:#858d99;
  font-size:12px;
}
.inbox-total{
  flex:0 0 auto;
  color:#fff;
  border:1px solid rgba(237,66,69,.35);
  border-radius:999px;
  background:rgba(237,66,69,.12);
  padding:7px 10px;
  font-size:11px;
}
.inbox-feed{display:grid;gap:10px;padding-top:14px}
.inbox-item{
  display:grid;
  grid-template-columns:42px minmax(0,1fr) auto;
  align-items:start;
  gap:12px;
  padding:14px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:8px;
  background:#0d0f13;
}
.inbox-avatar,
.inbox-avatar .member-avatar{
  width:42px!important;
  height:42px!important;
  border-radius:50%!important;
  overflow:hidden;
}
.inbox-avatar img{width:100%;height:100%;object-fit:cover}
.inbox-item-main{min-width:0}
.inbox-item-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}
.inbox-item-head>div{display:flex;align-items:center;gap:8px;min-width:0}
.inbox-item-head strong{
  min-width:0;
  overflow:hidden;
  color:#f2f4f7;
  font-size:13px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.inbox-item-head span{
  flex:0 0 auto;
  border-radius:999px;
  background:rgba(20,184,166,.12);
  color:#5eead4;
  padding:4px 7px;
  font-size:9px;
  font-weight:900;
}
.inbox-item-head time{flex:0 0 auto;color:#747d89;font-size:10px}
.inbox-author{display:block;margin-top:7px;color:#aeb6c2;font-size:11px}
.inbox-message-preview{margin-top:5px;color:#d7dbe2;font-size:12px;line-height:1.45;overflow-wrap:anywhere}
.inbox-message-preview .msg-body{font-size:12px;line-height:1.45}
.inbox-message-preview p{margin:0}
.inbox-jump,
.inbox-empty button{
  min-height:32px;
  border:1px solid rgba(20,184,166,.34);
  border-radius:7px;
  background:rgba(20,184,166,.1);
  color:#7cebdd;
  padding:0 12px;
  font-size:11px;
  font-weight:900;
  cursor:pointer;
}
.inbox-jump:hover,
.inbox-empty button:hover{background:rgba(20,184,166,.18);color:#fff}
.inbox-empty{
  margin-top:14px;
  padding:42px 18px;
  border:1px dashed rgba(255,255,255,.12);
  border-radius:8px;
  color:#858d99;
  text-align:center;
}
.inbox-empty strong{display:block;color:#e9edf2;font-size:16px}
.inbox-empty p{margin:7px 0 14px;font-size:12px}
.inbox-error{border-color:rgba(237,66,69,.25)}

@media(max-width:700px){
  .inbox-shell{padding:14px 8px 94px}
  .inbox-heading{align-items:flex-start;padding-bottom:12px}
  .inbox-heading h2{font-size:22px}
  .inbox-heading p{font-size:10px}
  .inbox-total{padding:6px 8px;font-size:9px}
  .inbox-item{grid-template-columns:32px minmax(0,1fr);gap:8px;padding:10px}
  .inbox-avatar,
  .inbox-avatar .member-avatar{width:32px!important;height:32px!important}
  .inbox-item-head{display:block}
  .inbox-item-head>div{align-items:flex-start;flex-wrap:wrap;gap:5px}
  .inbox-item-head time{display:block;margin-top:4px}
  .inbox-jump{grid-column:2;width:max-content;min-height:30px;margin-top:2px}
}

/* Inbox uses the full mobile width; Jump restores the normal Community layout. */
@media(max-width:980px){
  .dashboard.community-mode.inbox-mode,
  .dashboard.community-mode.inbox-mode.channels-collapsed,
  .dashboard.community-mode.inbox-mode.members-collapsed,
  .dashboard.community-mode.inbox-mode.channels-collapsed.members-collapsed{
    grid-template-columns:1fr!important;
    grid-template-rows:minmax(0,1fr) 76px!important;
  }
  .dashboard.community-mode.inbox-mode .sidebar,
  .dashboard.community-mode.inbox-mode.channels-collapsed .sidebar{
    position:fixed!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    z-index:80!important;
    width:100vw!important;
    height:76px!important;
    min-height:76px!important;
    padding:0!important;
    border-width:1px 0 0!important;
    border-radius:0!important;
    background:#08090d!important;
    overflow:hidden!important;
  }
  .dashboard.community-mode.inbox-mode .side-top,
  .dashboard.community-mode.inbox-mode .community-server-cover,
  .dashboard.community-mode.inbox-mode .portal-community-label,
  .dashboard.community-mode.inbox-mode .direct-open,
  .dashboard.community-mode.inbox-mode .side-section,
  .dashboard.community-mode.inbox-mode .sidebar-footer{
    display:none!important;
  }
  .dashboard.community-mode.inbox-mode .chat-panel,
  .dashboard.community-mode.inbox-mode .workspace-panel{
    grid-column:1!important;
    grid-row:1!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    height:calc(100dvh - 76px)!important;
  }
}

/* Global KopLabs page background. Keep cards and media surfaces distinct. */
:root{--site-background:#07050F;--bg:#07050F}
html,
body,
.auth-shell,
.dashboard,
.dashboard.community-mode,
.dashboard.workspace-mode,
.chat-panel,
.workspace-panel,
.messages,
.workspace-content,
.community-workspace-content,
.social-trading-shell{
  background-color:#07050F!important;
}

/* Connections automation terminal */
.dashboard.social-trading-mode .workspace-head{
  display:none!important;
}
.dashboard.workspace-mode.social-trading-mode .workspace-content{
  width:100%!important;
  max-width:none!important;
  height:100%!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
}
.social-terminal-v2{
  --terminal-bg:#07050F;
  --terminal-panel:#0b0812;
  --terminal-raised:#14111d;
  --terminal-hover:#1a1723;
  --terminal-line:rgba(255,255,255,.085);
  --terminal-line-strong:rgba(255,255,255,.14);
  --terminal-text:#f4f1f8;
  --terminal-muted:#827c91;
  --terminal-green:#20e58b;
  --terminal-red:#ff6947;
  --terminal-cyan:#58bfd0;
  width:100%;
  height:100%;
  min-height:0;
  display:grid!important;
  grid-template-columns:minmax(218px,12fr) minmax(680px,72fr) minmax(282px,16fr)!important;
  grid-template-rows:64px minmax(0,1fr)!important;
  overflow:hidden;
  color:var(--terminal-text);
  background:var(--terminal-bg)!important;
  font-family:Aeonik,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
  letter-spacing:0;
}
.social-terminal-v2 button,
.social-terminal-v2 input,
.social-terminal-v2 summary{
  font:inherit;
  letter-spacing:0;
}
.social-terminal-bar{
  position:relative;
  grid-column:1/-1;
  grid-row:1;
  min-width:0;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:18px;
  padding:10px 16px;
  border-bottom:1px solid var(--terminal-line);
  background:rgba(7,5,16,.98);
  z-index:2500;
}
.connections-terminal-bar{
  position:relative;
  grid-template-columns:1fr;
}
.connections-terminal-bar .social-terminal-search{
  width:clamp(420px,34vw,680px);
  max-width:calc(100% - 420px);
  justify-self:center;
  height:46px;
  border-color:#25212f;
  border-radius:10px;
  background:transparent;
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
  transition:border-color .16s ease,background-color .16s ease,box-shadow .16s ease;
}
.connections-terminal-bar .social-terminal-search:hover{
  border-color:#312b3b;
  background:transparent;
  box-shadow:0 0 0 1px rgba(255,255,255,.012);
}
.connections-terminal-bar .social-terminal-search:focus-within{
  border-color:#393241;
  background:transparent;
  box-shadow:0 0 0 1px rgba(255,255,255,.018);
}
.connections-terminal-bar .social-terminal-bar-actions{
  position:absolute;
  top:50%;
  right:16px;
  transform:translateY(-50%);
}
.social-terminal-brand{
  display:none;
  align-items:center;
  gap:4px;
  width:max-content;
  color:var(--terminal-text);
  text-decoration:none;
}

/* Render Community emoji consistently with the Apple artwork used on the landing page. */
.dashboard.community-mode .community-apple-emoji{
  display:inline-block!important;
  width:1em!important;
  min-width:1em!important;
  height:1em!important;
  margin:0 .03em!important;
  overflow:hidden!important;
  vertical-align:-.14em!important;
  white-space:nowrap!important;
  text-indent:-9999px!important;
  background-image:url("/assets/emoji/apple/community-apple-32.png?v=20260905-v1")!important;
  background-repeat:no-repeat!important;
  background-size:var(--community-emoji-sheet-width) var(--community-emoji-sheet-height)!important;
  background-position:var(--community-emoji-x) var(--community-emoji-y)!important;
  filter:none!important;
}
.connections-terminal-bar .social-terminal-brand{
  position:absolute;
  top:50%;
  left:16px;
  z-index:2;
  display:flex;
  transform:translateY(-50%);
}
.social-terminal-brand .social-terminal-brand-mark{
  display:inline-grid;
  place-items:center;
  width:46px;
  height:46px;
  margin-right:-7px;
  overflow:visible;
  flex:0 0 auto;
}
.social-terminal-brand .social-terminal-brand-mark img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  opacity:1;
}
.social-terminal-brand b{
  color:#fff;
  font-size:21px;
  font-weight:900;
  line-height:1;
}
.social-terminal-search{
  position:relative;
  z-index:2600;
  min-width:0;
  width:min(680px,46vw);
  justify-self:center;
  height:42px;
  display:grid;
  grid-template-columns:20px minmax(0,1fr);
  align-items:center;
  gap:9px;
  padding:0 12px;
  border:1px solid #25212f;
  border-radius:10px;
  background:transparent;
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
  color:var(--terminal-muted);
}
.social-terminal-search::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  border-radius:inherit;
  background:rgba(15,12,22,.5);
  -webkit-backdrop-filter:blur(16px) saturate(125%);
  backdrop-filter:blur(16px) saturate(125%);
  pointer-events:none;
  transition:background-color .16s ease;
}
.connections-terminal-bar .social-terminal-search:hover::before{
  background:rgba(20,16,29,.58);
}
.connections-terminal-bar .social-terminal-search:focus-within::before{
  background:rgba(24,19,34,.64);
}
.social-terminal-search-icon{
  position:relative;
  z-index:2;
  width:20px;
  height:20px;
  display:grid;
  place-items:center;
  flex:0 0 auto;
}
.social-terminal-search-icon img{
  width:15px;
  height:15px;
  display:block;
  object-fit:contain;
  opacity:1;
  filter:brightness(0) invert(1);
}
.social-terminal-search input{
  position:relative;
  z-index:2;
  min-width:0;
  width:100%;
  border:0;
  outline:0;
  color:var(--terminal-text);
  background:transparent!important;
  box-shadow:none!important;
  font-size:13px;
}
.social-terminal-search input::placeholder{color:#726b80}
.social-model-search-results{
  position:absolute;
  top:calc(100% + 8px);
  left:50%;
  right:auto;
  transform:translateX(-50%);
  z-index:2700;
  width:min(760px,calc(100vw - 36px));
  max-height:min(640px,76vh);
  overflow:auto;
  padding:10px;
  border:1px solid #302a3d;
  border-radius:14px;
  background:rgba(12,9,18,.5);
  -webkit-backdrop-filter:blur(32px) saturate(135%);
  backdrop-filter:blur(32px) saturate(135%);
  box-shadow:0 18px 50px rgba(0,0,0,.52);
}
.social-model-search-results section{
  display:grid;
  gap:3px;
  margin-top:8px;
}
.social-model-search-results h4{
  margin:4px 6px 6px;
  color:#7c7588;
  font-size:11px;
  font-weight:800;
}
.social-model-search-tabs{
  display:flex;
  align-items:center;
  gap:6px;
  margin-bottom:6px;
}
.social-model-search-tabs button{
  border:0;
  border-radius:6px;
  padding:5px 8px;
  color:#8d8798;
  background:#17131f;
  font-size:11px;
  font-weight:850;
  cursor:pointer;
}
.social-model-search-tabs button:hover,
.social-model-search-tabs button:focus-visible,
.social-model-search-tabs button.active{
  color:#f0edf7;
  background:#24202c;
  outline:0;
}
.social-model-search-result{
  width:100%;
  min-height:58px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr) auto;
  align-items:center;
  gap:11px;
  padding:8px 10px;
  border:0;
  border-radius:6px;
  color:var(--terminal-text);
  background:transparent;
  text-align:left;
  cursor:pointer;
}
.social-model-search-result:hover,
.social-model-search-result:focus-visible{
  outline:0;
  background:#1b1724;
}
.social-model-search-id{
  overflow:hidden;
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  border:1px solid #35303f;
  border-radius:50%;
  color:#d8d4df;
  background:#17131f;
  font-size:10px;
  font-weight:800;
}
.social-user-search-avatar{
  border:0;
  background:transparent;
}
.social-user-search-avatar .social-growth-avatar,
.social-user-search-avatar img{
  width:38px;
  height:38px;
}
.social-model-search-copy,
.social-model-search-metric{display:grid;gap:3px;min-width:0}
.social-model-search-copy b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
.social-model-search-copy small,
.social-model-search-metric small{color:#777181;font-size:9px}
.social-model-search-metric{text-align:right}
.social-model-search-metric b{font-size:12px}
.social-model-search-empty{padding:18px 14px;color:#8c8597;font-size:12px;text-align:center}
.social-model-search-empty b{color:#d7d2df}
.social-terminal-bar-actions{
  justify-self:end;
  display:flex;
  align-items:center;
  gap:7px;
}
.social-terminal-bar-actions button,
.social-member-filters button,
.social-terminal-ghost{
  min-height:32px;
  padding:0 12px;
  border:1px solid var(--terminal-line);
  border-radius:6px;
  color:#aaa4b5;
  background:#100d17;
  cursor:pointer;
}
.social-terminal-bar-actions button:hover,
.social-member-filters button:hover,
.social-terminal-ghost:hover{color:#fff;border-color:var(--terminal-line-strong);background:#191521}
.social-terminal-bar-actions button.active,
.social-member-filters button.active{
  color:#fff;
  border-color:#302b3c;
  background:#1b1824;
}
.social-terminal-bar-actions .social-terminal-upgrade{
  min-height:36px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 13px;
  border:1px solid rgba(88,191,208,.42);
  border-radius:6px;
  color:#c8f7ff;
  background:rgba(88,191,208,.1);
  font-size:11px;
  font-weight:800;
  line-height:1;
  white-space:nowrap;
  transition:color .16s ease,border-color .16s ease,background-color .16s ease;
}
.social-terminal-bar-actions .social-terminal-upgrade:hover{
  color:#fff;
  border-color:rgba(88,191,208,.68);
  background:rgba(88,191,208,.17);
}
.social-terminal-profile{
  position:relative;
  flex:0 0 auto;
}
.social-terminal-bar-actions .social-terminal-profile-toggle{
  min-height:46px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:4px 5px 4px 13px;
  border-color:var(--terminal-line-strong);
  border-radius:9px;
  color:var(--terminal-text);
  background:#0b0813;
}
.social-terminal-profile-copy,
.social-terminal-profile-summary>span:last-child{
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  line-height:1.15;
}
.social-terminal-profile-copy b,
.social-terminal-profile-summary b{
  max-width:180px;
  overflow:hidden;
  color:#f4f2f7;
  font-size:14px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.social-terminal-profile-copy small,
.social-terminal-profile-summary small{
  max-width:150px;
  overflow:hidden;
  color:var(--terminal-muted);
  font-size:9px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.social-terminal-name-copy{
  align-items:flex-end;
}
.social-terminal-profile-name{
  min-width:0;
  display:inline-flex;
  align-items:center;
  justify-content:flex-end;
  gap:5px;
}
.social-terminal-profile-name b{
  max-width:96px;
}
.social-terminal-role-icon{
  width:15px;
  height:15px;
  display:grid;
  place-items:center;
  flex:0 0 15px;
  opacity:.9;
}
.social-terminal-role-icon .chat-role-icon{
  width:15px;
  height:15px;
  object-fit:contain;
}
.social-terminal-profit-copy b.positive,
.social-terminal-profit-copy b.metric-positive{color:var(--terminal-green)}
.social-terminal-profit-copy b.negative,
.social-terminal-profit-copy b.metric-negative{color:var(--terminal-red)}
.social-terminal-profile-avatar{
  flex:0 0 auto;
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  overflow:hidden;
  border:1px solid #34303f;
  border-radius:50%;
  color:#fff;
  background:#282331;
  font-size:12px;
  font-weight:800;
}
.social-terminal-profile-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.social-terminal-profile-menu{
  position:absolute;
  top:calc(100% + 8px);
  right:0;
  z-index:30;
  width:min(244px,calc(100vw - 20px));
  padding:7px;
  border:1px solid var(--terminal-line-strong);
  border-radius:7px;
  background:#0d0a14;
  box-shadow:0 18px 50px rgba(0,0,0,.45);
}
.social-terminal-profile-summary{
  display:grid;
  grid-template-columns:36px minmax(0,1fr);
  align-items:center;
  gap:10px;
  padding:7px 8px 11px;
  margin-bottom:5px;
  border-bottom:1px solid var(--terminal-line);
}
.social-terminal-profile-summary .social-terminal-profile-avatar{width:36px;height:36px}
.social-terminal-profile-summary>span:last-child{align-items:flex-start}
.social-terminal-profile-menu button{
  width:100%;
  min-height:36px;
  display:flex;
  align-items:center;
  padding:0 10px;
  border:0;
  border-radius:5px;
  color:#e8e5ed;
  background:transparent;
  text-align:left;
}
.social-terminal-profile-menu button:hover{color:#fff;background:#1b1722}
.social-terminal-profile-menu button.logout{color:#ff715f}
.social-terminal-profile-divider{height:1px;margin:5px 8px;background:var(--terminal-line)}
.social-member-terminal,
.social-automation-terminal{
  min-width:0;
  min-height:0;
  overflow:hidden;
  background:var(--terminal-panel);
}
.social-member-terminal{
  grid-column:1;
  grid-row:2;
  display:flex;
  flex-direction:column;
  border-right:1px solid var(--terminal-line);
}
.social-terminal-section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 15px 10px;
}
.social-terminal-section-head span,
.social-terminal-model-head span,
.social-terminal-license>span,
.social-terminal-downloads header span,
.social-terminal-funded header span{
  display:block;
  color:#6e6879;
  font-size:9px;
  font-weight:800;
  text-transform:uppercase;
}
.social-terminal-section-head h2,
.social-terminal-model-head h2{margin:2px 0 0;font-size:18px;line-height:1.1}
.social-terminal-section-head>strong{
  display:grid;
  place-items:center;
  min-width:26px;
  height:24px;
  padding:0 7px;
  border-radius:12px;
  color:#c4bdcb;
  background:#17131f;
  font-size:10px;
}
.social-member-filters{
  display:flex;
  gap:6px;
  padding:0 14px 11px;
  border-bottom:1px solid var(--terminal-line);
}
.social-member-filters button{min-height:27px;padding:0 9px;font-size:10px}
.social-member-terminal-list{min-height:0;overflow:auto;padding:6px 6px 9px}
.social-leaderboard-periods{
  display:flex;
  gap:7px;
  padding:3px 8px 7px;
}
.social-leaderboard-periods button{
  height:24px;
  min-width:38px;
  padding:0 9px;
  border:1px solid var(--terminal-line);
  border-radius:7px;
  background:#08070d;
  color:#777181;
  font-size:10px;
  font-weight:800;
}
.social-leaderboard-periods button:hover,
.social-leaderboard-periods button.active{
  background:#17131f;
  color:#ebe8f0;
}
.social-member-terminal-row{
  display:grid;
  grid-template-columns:22px 40px minmax(0,1fr) minmax(74px,auto);
  align-items:center;
  gap:6px;
  min-height:58px;
  padding:7px 7px;
  border:1px solid transparent;
  border-radius:7px;
}
.social-member-terminal-row:hover,
.social-member-terminal-row.is-you{border-color:var(--terminal-line);background:var(--terminal-hover)}
.social-member-rank{color:#777181;font-size:11px;text-align:center}
.social-member-terminal-row:nth-child(1) .social-member-rank{color:#ffc94f;font-weight:800}
.social-member-terminal-row:nth-child(2) .social-member-rank{color:#c2c7d0;font-weight:800}
.social-member-terminal-row:nth-child(3) .social-member-rank{color:#d98b54;font-weight:800}
.social-member-medal{
  position:relative;
  display:inline-grid;
  place-items:center;
  width:18px;
  height:18px;
  margin:auto;
  border-radius:50%;
  color:#07060a;
  font-size:9px;
  font-weight:900;
  line-height:1;
}
.social-member-medal::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-6px;
  width:9px;
  height:7px;
  transform:translateX(-50%);
  clip-path:polygon(0 0,100% 0,80% 100%,50% 66%,20% 100%);
  opacity:.9;
}
.social-member-medal-1,.social-member-medal-1::after{background:#d7a72c}
.social-member-medal-2,.social-member-medal-2::after{background:#b7bcc4}
.social-member-medal-3,.social-member-medal-3::after{background:#b2763b}
.social-member-terminal-row .social-growth-avatar,
.social-member-terminal-row .member-avatar{
  width:40px!important;
  height:40px!important;
  border-radius:50%!important;
  overflow:hidden;
}
.social-member-terminal-name,
.social-member-terminal-pnl{min-width:0;display:flex;flex-direction:column}
.social-member-terminal-name b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
.social-member-terminal-name small,
.social-member-terminal-pnl small{margin-top:3px;color:var(--terminal-muted);font-size:9px}
.social-member-terminal-pnl{text-align:right;align-items:flex-end}
.social-member-terminal-pnl b{font-size:11px;white-space:nowrap}
.social-member-symbols{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:2px;
  min-height:17px;
  margin-top:4px;
}
.social-member-symbol,
.social-member-symbol-more{
  display:inline-grid;
  place-items:center;
  width:15px;
  height:15px;
  border-radius:50%;
  background:#17131f;
  color:#c9c4d2;
  font-size:7px;
  font-weight:900;
  line-height:1;
  box-shadow:0 0 0 1px rgba(255,255,255,.05);
}
.social-member-symbol img{
  display:block;
  width:100%;
  height:100%;
  border-radius:50%;
  object-fit:cover;
}
.social-member-symbol-more{
  width:auto;
  min-width:19px;
  padding:0 4px;
  border-radius:9px;
  font-size:7px;
}
.social-member-terminal-pnl .positive,
.social-member-terminal-pnl .metric-positive{color:var(--terminal-green)!important}
.social-member-terminal-pnl .negative,
.social-member-terminal-pnl .metric-negative{color:var(--terminal-red)!important}
.social-member-terminal>footer{
  display:flex;
  align-items:flex-start;
  gap:8px;
  padding:10px 14px;
  border-top:1px solid var(--terminal-line);
  color:var(--terminal-muted);
}
.social-member-terminal>footer span{padding:2px 6px;border-radius:4px;background:#1a1622;color:#cbc5d2;font-size:9px;font-weight:800}
.social-member-terminal>footer p{margin:0;font-size:9px;line-height:1.35}
.social-center-panel{
  grid-column:2!important;
  grid-row:2!important;
  width:100%;
  height:100%;
  max-height:100%;
  min-width:0;
  min-height:0;
  align-self:stretch;
  overflow-x:hidden;
  overflow-y:auto!important;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
  touch-action:pan-y;
  padding:16px 18px 30px;
  background:var(--terminal-bg)!important;
}
.social-center-view{width:100%;max-width:none;margin:0}
.social-terminal-dashboard-stack{
  display:grid;
  gap:22px;
}
.social-terminal-overview{
  display:grid;
  gap:10px;
  min-width:0;
  padding-bottom:22px;
  border-bottom:1px solid var(--terminal-line);
}
.social-terminal-overview-head{padding-top:4px}
.social-terminal-overview .social-kpi-grid{margin-top:2px}
.social-terminal-overview .social-chart-wrap{
  min-height:190px;
  margin-top:0;
  border-color:var(--terminal-line);
  border-radius:7px;
  background:var(--terminal-panel);
}
.social-terminal-overview .history-curve-card{
  min-height:188px;
  border:0;
  border-radius:0;
  background:transparent;
}
.social-terminal-overview-lower{
  display:grid;
  grid-template-columns:minmax(260px,.8fr) minmax(420px,1.2fr);
  gap:10px;
  min-width:0;
}
.social-terminal-overview-lower .social-experts-card,
.social-terminal-overview-lower .social-trades-card{
  min-width:0;
  min-height:166px;
  margin:0;
}
.social-terminal-overview-lower .social-expert-list,
.social-terminal-overview-lower .social-trade-scroll{
  max-height:116px;
  overflow:auto;
}
.social-terminal-library{min-height:clamp(300px,38vh,520px)}
.social-terminal-model-head{
  position:relative;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
  padding:4px 2px 16px;
  border-bottom:1px solid var(--terminal-line);
}
.social-terminal-model-head p{margin:6px 0 0;color:var(--terminal-muted);font-size:11px}
.social-terminal-detail-identity{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
.social-terminal-detail-avatar{
  flex:0 0 42px;
  width:42px;
  height:42px;
  border:1px solid #4b4654;
  border-radius:50%;
  object-fit:cover;
  object-position:center 36%;
  background:#0b0910;
}
.social-terminal-detail-title-row{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  min-width:0;
}
.social-terminal-model-head>strong{margin-left:auto;color:#817b8e;font-size:11px}
.social-terminal-model-columns,
.social-terminal-model-row{
  display:grid;
  grid-template-columns:42px minmax(180px,1.15fr) minmax(150px,.9fr) 100px 62px 118px 96px 96px 112px;
  align-items:center;
  gap:10px;
}
.social-terminal-myfxbook-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:28px;
  padding:0 11px;
  border:1px solid rgba(84,199,217,.42);
  border-radius:6px;
  color:#7fdae7;
  background:rgba(20,92,105,.18);
  font-size:11px;
  font-weight:800;
  text-decoration:none;
  white-space:nowrap;
  transition:background .15s ease,border-color .15s ease,color .15s ease;
}
.social-terminal-myfxbook-link:hover{
  color:#e8fcff;
  border-color:#69d7e6;
  background:rgba(28,123,139,.34);
  text-decoration:none;
}
.social-terminal-model-columns{
  padding:10px 12px 8px;
  color:#676171;
  font-size:9px;
  text-transform:uppercase;
}
.social-terminal-model-columns span:first-child{grid-column:1/3}
.social-terminal-model-list{border:1px solid var(--terminal-line);border-radius:7px;overflow:hidden;background:var(--terminal-panel)}
.social-terminal-model-row{
  width:100%;
  min-height:67px;
  padding:9px 12px;
  border:0;
  border-bottom:1px solid var(--terminal-line);
  color:var(--terminal-text);
  background:transparent;
  text-align:left;
  cursor:pointer;
}
.social-terminal-model-row:last-child{border-bottom:0}
.social-terminal-model-row:hover{background:var(--terminal-hover)}
.social-terminal-model-avatar{
  display:grid;
  place-items:center;
  width:36px;
  height:36px;
  border:1px solid #3a3445;
  border-radius:50%;
  color:#e3ddeb;
  background:#1c1724;
  font-size:10px;
  font-weight:800;
}
.social-terminal-model-name,
.social-terminal-model-metric{min-width:0;display:flex;flex-direction:column}
.social-terminal-model-name-line{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:7px;
  min-width:0;
}
.social-terminal-model-name-line>b{min-width:0}
.social-terminal-model-live-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:22px;
  padding:0 8px;
  border:1px solid rgba(84,199,217,.42);
  border-radius:5px;
  color:#9be7f1;
  background:rgba(20,92,105,.18);
  font-size:9px;
  font-weight:800;
  line-height:1;
  text-decoration:none;
  white-space:nowrap;
}
.social-terminal-model-live-link:hover,
.social-terminal-model-live-link:focus-visible{
  color:#fff;
  border-color:#69d7e6;
  background:rgba(28,123,139,.34);
  outline:none;
  text-decoration:none;
}
.social-terminal-model-row:focus-visible{
  outline:1px solid rgba(105,215,230,.72);
  outline-offset:-2px;
}
.social-terminal-model-equity{
  display:block;
  width:100%;
  min-width:120px;
  height:42px;
  overflow:hidden;
}
.social-terminal-model-equity .strategy-sparkline{
  width:100%;
  height:100%;
}
.social-terminal-model-equity .strategy-line{
  fill:none;
  stroke:#21d779;
  stroke-width:4;
  vector-effect:non-scaling-stroke;
  filter:drop-shadow(0 0 5px rgba(33,215,121,.24));
}
.social-terminal-model-equity .strategy-area{fill:rgba(33,215,121,.08)}
.social-terminal-model-equity .strategy-point{
  fill:#21d779;
  stroke:#b9fbd5;
  stroke-width:2;
}
.social-terminal-model-pair,
.social-terminal-model-timeframe{
  min-width:0;
  display:flex;
  flex-direction:column;
}
.social-terminal-model-pair b,
.social-terminal-model-timeframe b{
  overflow:hidden;
  color:#ded9e5;
  font-size:11px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.social-terminal-model-pair small,
.social-terminal-model-timeframe small{
  margin-top:4px;
  color:var(--terminal-muted);
  font-size:8px;
}
.social-terminal-model-name b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}
.social-terminal-model-name small,
.social-terminal-model-metric small{margin-top:4px;color:var(--terminal-muted);font-size:9px}
.social-terminal-model-metric b{font-size:12px}
.social-terminal-v2 .positive{color:var(--terminal-green)!important}
.social-terminal-v2 .negative{color:var(--terminal-red)!important}

.social-terminal-stats{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:8px;
  margin:14px 0;
}
.social-terminal-stats article{
  min-width:0;
  padding:11px 12px;
  border:1px solid var(--terminal-line);
  border-radius:7px;
  background:var(--terminal-panel);
}
.social-terminal-stats span{display:block;color:var(--terminal-muted);font-size:9px;text-transform:uppercase}
.social-terminal-stats b{display:block;margin-top:5px;font-size:15px}
.social-terminal-detail-hero{
  display:grid;
  grid-template-columns:minmax(0,1.55fr) minmax(360px,.85fr);
  align-items:stretch;
  gap:12px;
  height:clamp(580px,44vw,720px);
  margin-top:12px;
}
.social-terminal-detail-hero>.social-terminal-curve{
  min-width:0;
  margin-top:0;
  border:0;
  border-radius:0;
  overflow:visible;
  background:transparent;
}
.social-terminal-detail-hero .model-pnl-card{
  height:100%;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  box-sizing:border-box;
}
.social-terminal-detail-hero .model-pnl-svg{
  width:100%!important;
  height:100%!important;
  min-height:0;
  max-height:none!important;
  flex:1 1 0%!important;
}
.social-historical-eval{
  min-width:0;
  height:100%;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border:1px solid var(--terminal-line);
  border-radius:7px;
  background:#09070f;
}
.social-historical-eval>header{
  min-height:58px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:11px 13px;
  border-bottom:1px solid var(--terminal-line);
  background:#0e0b15;
}
.social-historical-eval>header span{
  color:var(--terminal-muted);
  font-size:8px;
  font-weight:800;
  overflow:hidden;
}
.social-terminal-model-avatar>img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 36%;
}
.social-historical-eval>header h3{
  margin:3px 0 0;
  color:var(--terminal-text);
  font-size:14px;
}
.social-historical-eval>header>strong{
  max-width:150px;
  color:var(--terminal-green);
  font-size:10px;
  line-height:1.35;
  text-align:right;
}
.social-historical-eval-list{
  min-height:0;
  flex:1 1 auto;
  overflow-y:auto;
  scrollbar-gutter:stable;
}
.social-historical-eval-row{
  padding:10px 12px;
  border-bottom:1px solid var(--terminal-line);
}
.social-historical-eval-row:last-child{border-bottom:0}
.social-historical-eval-row:hover{background:#121019}
.social-historical-eval-row-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.social-historical-eval-row-head>div{
  min-width:0;
  display:flex;
  align-items:center;
  gap:8px;
}
.social-historical-eval-row-head b{
  overflow:hidden;
  color:#e9e5ef;
  font-size:11px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.social-historical-eval-row-head span{
  padding:3px 5px;
  border-radius:4px;
  color:#9b95a5;
  background:#18151f;
  font-size:8px;
  font-weight:850;
  text-transform:uppercase;
}
.social-historical-eval-row.pass .social-historical-eval-row-head span{color:var(--terminal-green);background:rgba(32,229,139,.09)}
.social-historical-eval-row.fail .social-historical-eval-row-head span{color:var(--terminal-red);background:rgba(255,105,71,.09)}
.social-historical-eval-row.phase2 .social-historical-eval-row-head span{color:#f3c969;background:rgba(243,201,105,.09)}
.social-historical-eval-row-head>strong{font-size:11px}
.social-historical-eval-metrics{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:5px;
  margin-top:8px;
}
.social-historical-eval-metrics span{min-width:0}
.social-historical-eval-metrics small,
.social-historical-eval-metrics b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.social-historical-eval-metrics small{color:#665f70;font-size:7px;text-transform:uppercase}
.social-historical-eval-metrics b{margin-top:3px;color:#aaa4b4;font-size:9px}
.social-terminal-curve,
.social-terminal-funded{
  margin-top:12px;
  border:1px solid var(--terminal-line);
  border-radius:7px;
  overflow:hidden;
  background:var(--terminal-panel);
}
.social-terminal-performance{margin-top:14px}
.social-terminal-performance .model-performance-stack{margin-top:0;gap:18px}
.social-terminal-performance .model-perf-mini-card,
.social-terminal-performance .model-expectancy-card,
.social-terminal-performance .model-wl-card,
.social-terminal-performance .model-side-card{
  border-color:var(--terminal-line);
  border-radius:7px;
  background:var(--terminal-panel);
}
.social-terminal-performance .model-perf-section h3{
  color:var(--terminal-text);
  font-family:Aeonik,ui-sans-serif,system-ui,sans-serif;
  font-size:18px;
  letter-spacing:0;
}
.social-terminal-performance .model-wl-card h4,
.social-terminal-performance .model-side-card h4{
  font-family:Aeonik,ui-sans-serif,system-ui,sans-serif;
  letter-spacing:0;
}
.social-terminal-performance .model-factor-ring::after,
.social-terminal-performance .model-donut::after{background:var(--terminal-panel)}
.social-terminal-v2 .model-terminal-curve-card{border:0!important;border-radius:0!important;background:transparent!important}
.social-terminal-funded>header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 14px;
  border-bottom:1px solid var(--terminal-line);
}
.social-terminal-funded h3{margin:2px 0 0;font-size:14px}
.social-terminal-funded>header strong{color:var(--terminal-green);font-size:11px}
.social-terminal-funded table{width:100%;border-collapse:collapse;min-width:720px}
.social-terminal-funded th,
.social-terminal-funded td{padding:10px 11px;border-bottom:1px solid var(--terminal-line);font-size:10px;text-align:left}
.social-terminal-funded th{color:#777181;background:#0e0b15;text-transform:uppercase}
.social-performance-note{margin:10px 2px 0;color:#6e6879;font-size:9px}

/* Connections table surfaces: shared title bar, column header and corner system. */
.social-terminal-v2 .social-terminal-library,
.social-terminal-v2 .social-experts-card,
.social-terminal-v2 .social-trades-card,
.social-terminal-v2 .social-terminal-funded{
  border:1px solid var(--terminal-line);
  border-radius:7px;
  overflow:hidden;
  background:#09070f;
}
.social-terminal-v2 .social-terminal-library{
  display:block;
  min-height:clamp(300px,38vh,520px);
}
.social-terminal-v2 .social-terminal-library>.social-terminal-model-head,
.social-terminal-v2 .social-experts-card>.social-section-title,
.social-terminal-v2 .social-trades-card>.social-section-title,
.social-terminal-v2 .social-terminal-funded>header{
  min-height:52px;
  margin:0;
  padding:10px 13px;
  border-bottom:1px solid var(--terminal-line);
  background:#15121c;
}
.social-terminal-v2 .social-terminal-library>.social-terminal-model-head h2,
.social-terminal-v2 .social-experts-card>.social-section-title h3,
.social-terminal-v2 .social-trades-card>.social-section-title h3,
.social-terminal-v2 .social-terminal-funded>header h3{
  margin:2px 0 0;
  color:#f5f2f8;
  font-size:14px;
  line-height:1.15;
}
.social-terminal-v2 .social-terminal-model-columns{
  min-height:34px;
  padding:0 12px;
  border-bottom:1px solid var(--terminal-line);
  background:#09070f;
  color:#706a7d;
}
.social-terminal-v2 .social-terminal-model-list{
  margin:0;
  border:0;
  border-radius:0;
  background:#09070f;
}
.social-terminal-v2 .social-terminal-model-row{
  border-color:var(--terminal-line);
  background:#09070f;
}
.social-terminal-v2 .social-experts-card,
.social-terminal-v2 .social-trades-card{padding:0}
.social-terminal-v2 .social-expert-list{
  margin:0;
  padding:4px 13px 8px;
}
.social-terminal-v2 .social-trade-scroll{
  margin:0;
  overflow:auto;
}
.social-terminal-v2 .social-trade-scroll table,
.social-terminal-v2 .social-terminal-funded table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
}
.social-terminal-v2 .social-trade-scroll thead,
.social-terminal-v2 .social-terminal-funded thead{background:#09070f}
.social-terminal-v2 .social-trade-scroll th,
.social-terminal-v2 .social-terminal-funded th{
  height:34px;
  padding:0 12px;
  border-bottom:1px solid var(--terminal-line);
  color:#706a7d;
  background:#09070f;
  font-size:9px;
  font-weight:600;
  text-align:left;
  text-transform:none;
  white-space:nowrap;
}
.social-terminal-v2 .social-trade-scroll td,
.social-terminal-v2 .social-terminal-funded td{
  padding:10px 12px;
  border-top:0;
  border-bottom:1px solid var(--terminal-line);
  background:#09070f;
}
.social-terminal-v2 .social-trade-scroll tbody tr:last-child td,
.social-terminal-v2 .social-terminal-funded tbody tr:last-child td{border-bottom:0}
.social-terminal-v2 .social-trade-scroll tbody tr:hover td,
.social-terminal-v2 .social-terminal-funded tbody tr:hover td{background:#15121c}
.social-automation-terminal{
  grid-column:3;
  grid-row:2;
  width:100%;
  height:100%;
  max-height:100%;
  min-height:0;
  align-self:stretch;
  overflow-x:hidden;
  overflow-y:auto!important;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
  padding:14px 12px 28px;
  border-left:1px solid var(--terminal-line);
}
.social-terminal-license,
.social-terminal-downloads,
.social-tutorial-disclosure{
  border:1px solid var(--terminal-line);
  border-radius:7px;
  background:#0d0a14;
}
.social-terminal-license{padding:15px}
.social-terminal-license h2{margin:4px 0 0;font-size:17px}
.social-terminal-license p{margin:8px 0 13px;color:var(--terminal-muted);font-size:10px;line-height:1.45}
.social-terminal-license-code{
  display:grid;
  grid-template-columns:minmax(0,1fr) 42px;
  align-items:stretch;
  border:1px solid var(--terminal-line);
  border-radius:6px;
  background:#07050c;
  overflow:hidden;
}
.social-terminal-license-code code{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:41px;
  padding:12px 10px;
  color:#eee9f3;
  font-size:12px;
  text-align:center;
  word-break:break-all;
}
.social-terminal-eye{
  border:0;
  border-left:1px solid var(--terminal-line);
  color:#d8d3de;
  background:rgba(255,255,255,.035);
  font-size:14px;
  cursor:pointer;
}
.social-terminal-eye:hover,.social-terminal-eye.is-visible{color:#fff;background:rgba(255,255,255,.075)}
.social-terminal-primary{
  width:100%;
  min-height:39px;
  margin-top:10px;
  border:1px solid rgba(32,229,139,.42);
  border-radius:6px;
  color:#04130d;
  background:var(--terminal-green);
  font-weight:800;
  cursor:pointer;
}
.social-terminal-primary:hover{filter:brightness(1.07)}
.social-terminal-license.is-locked .social-terminal-primary{border-color:#393242;color:#d3ccd9;background:#1b1723}
.social-connection-status-list{display:grid;gap:8px;margin-top:12px}
.social-connection-status-list div{
  display:grid;
  gap:5px;
  padding:10px 11px;
  border:1px solid var(--terminal-line);
  border-radius:6px;
  background:#08060d;
}
.social-connection-status-list span{
  color:var(--terminal-muted);
  font:800 9px/1 "JetBrains Mono",monospace;
  text-transform:uppercase;
}
.social-connection-status-list b{color:#f0ebf6;font-size:11px;line-height:1.3}
.social-connection-experts{padding-bottom:3px}
.social-connection-expert-list{display:grid;gap:8px;padding:12px 14px}
.social-connection-open-trades{margin-top:10px}
.social-connection-open-trades .social-section-title{padding:13px 14px}
.social-connection-open-trades .social-trade-scroll{margin-top:0}
.social-connection-open-trades .social-trade-scroll table{min-width:0}
.social-terminal-downloads{margin-top:10px;overflow:hidden}
.social-terminal-downloads header{padding:13px 14px;border-bottom:1px solid var(--terminal-line)}
.social-terminal-downloads h3{margin:3px 0 0;font-size:14px}
.social-terminal-downloads article{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  align-items:center;
  gap:9px;
  padding:12px 14px;
  border-bottom:1px solid var(--terminal-line);
}
.social-terminal-downloads article:last-child{border-bottom:0}
.social-terminal-downloads article>div{min-width:0;display:flex;flex-direction:column}
.social-terminal-downloads article b{font-size:11px}
.social-terminal-downloads article small{margin-top:4px;color:var(--terminal-muted);font-size:9px;line-height:1.35}
.social-terminal-downloads a,
.social-terminal-downloads button{
  width:100%;
  min-height:31px;
  padding:0 9px;
  border:1px solid var(--terminal-line-strong);
  border-radius:6px;
  color:#e7e1ec;
  background:#191521;
  text-decoration:none;
  cursor:pointer;
}
.social-tutorial-disclosure{margin-top:10px;overflow:hidden}
.social-tutorial-disclosure summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-height:54px;
  padding:10px 14px;
  list-style:none;
  cursor:pointer;
}
.social-tutorial-disclosure summary::-webkit-details-marker{display:none}
.social-tutorial-disclosure summary span{display:flex;flex-direction:column}
.social-tutorial-disclosure summary b{font-size:11px}
.social-tutorial-disclosure summary small{margin-top:3px;color:var(--terminal-muted);font-size:9px}
.social-tutorial-disclosure summary i{
  display:grid;
  place-items:center;
  width:26px;
  height:26px;
  border:1px solid var(--terminal-line-strong);
  border-radius:6px;
  color:#aaa4b5;
  font-style:normal;
  font-size:20px;
  line-height:1;
  transform:none!important;
  transition:background-color .18s ease,border-color .18s ease,color .18s ease;
}
.social-tutorial-disclosure summary i::before{content:"+"}
.social-tutorial-disclosure[open] summary i::before{content:"-"}
.social-tutorial-disclosure summary:hover i{border-color:#4a5360;background:#17131f;color:#eef2f6}
.social-tutorial-body{padding:0 12px 12px;border-top:1px solid var(--terminal-line)}
.social-terminal-v2 .social-loading,
.social-terminal-v2 .social-error{margin:0 auto 10px;max-width:1160px;border-radius:6px;font-size:10px}
.social-terminal-v2 .social-growth-empty{padding:28px 16px;color:var(--terminal-muted);text-align:center}
.social-terminal-v2 .social-growth-empty b{display:block;color:#d9d3df;font-size:12px}
.social-terminal-v2 .social-growth-empty span{display:block;margin-top:5px;font-size:9px}

@media(max-width:1280px){
  .social-terminal-v2{grid-template-columns:minmax(202px,12fr) minmax(500px,72fr) minmax(250px,16fr)!important}
  .social-terminal-bar{grid-template-columns:minmax(0,1fr) auto}
  .social-terminal-model-columns,
  .social-terminal-model-row{grid-template-columns:38px minmax(180px,1fr) 104px 90px 90px 104px}
  .social-terminal-overview-lower{grid-template-columns:1fr}
  .social-terminal-detail-hero{height:auto;grid-template-columns:1fr}
  .social-historical-eval{height:480px}
}
@media(max-width:980px){
  .connections-terminal-bar{
    grid-template-columns:minmax(0,1fr) auto;
  }
  .connections-terminal-bar .social-terminal-search{
    width:100%;
    max-width:none;
    justify-self:stretch;
  }
  .connections-terminal-bar .social-terminal-bar-actions{
    position:static;
    transform:none;
  }
  .connections-terminal-bar .social-terminal-brand{display:none}
  .social-terminal-v2{
    height:calc(100dvh - 76px)!important;
    min-height:0;
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:max-content max-content max-content max-content!important;
    overflow-x:hidden;
    overflow-y:auto;
    padding-bottom:94px;
  }
  .social-terminal-bar{
    position:sticky;
    top:0;
    grid-column:1!important;
    grid-row:1!important;
    grid-template-columns:minmax(0,1fr) auto;
    gap:9px;
    padding:8px 10px;
  }
  .social-terminal-brand b{display:none}
  .social-terminal-brand span{width:34px;height:34px}
  .social-terminal-search{height:38px}
  .social-terminal-bar-actions button{min-height:30px;padding:0 8px;font-size:9px}
  .social-member-terminal,
  .social-center-panel,
  .social-automation-terminal{
    grid-column:1!important;
    grid-row:auto!important;
    width:100%!important;
    max-width:none!important;
    height:auto!important;
    min-height:0!important;
    overflow:visible!important;
    border-width:0 0 1px!important;
  }
  .social-member-terminal{grid-row:2!important;order:2}
  .social-center-panel{grid-row:3!important;order:3;padding:14px 10px 24px}
  .social-automation-terminal{grid-row:4!important;order:4;padding:14px 10px 24px}
  .social-member-terminal-list{max-height:430px;overflow:auto}
  .social-member-terminal>footer{display:none}
  .social-terminal-overview-lower{grid-template-columns:1fr}
}
@media(max-width:620px){
  .social-terminal-bar-actions>button:first-child{display:none}
  .social-terminal-bar-actions>.social-terminal-upgrade:first-child{display:inline-flex;min-height:30px;padding:0 8px;font-size:9px}
  .social-terminal-bar-actions button{padding:0 7px}
  .social-terminal-profile-copy{display:none}
  .social-terminal-bar-actions .social-terminal-profile-toggle{min-height:34px;padding:1px}
  .social-terminal-profile-avatar{width:30px;height:30px}
  .social-terminal-search{padding:0 8px}
  .social-terminal-search{width:100%;justify-self:stretch}
  .social-terminal-search input{font-size:11px}
  .social-model-search-results{
    position:fixed;
    top:58px;
    left:10px;
    right:10px;
    width:auto;
    transform:none;
    max-height:62dvh;
  }
  .social-model-search-result{grid-template-columns:38px minmax(0,1fr) auto;padding:7px}
  .social-model-search-id{width:34px;height:34px}
  .social-terminal-model-head{padding-bottom:12px}
  .social-terminal-model-head h2{font-size:17px}
  .social-terminal-model-columns{display:none}
  .social-terminal-model-list{margin-top:10px}
  .social-terminal-model-row{grid-template-columns:36px minmax(0,1fr) auto;gap:8px;padding:9px}
  .social-terminal-model-row>:nth-child(4),
  .social-terminal-model-row>:nth-child(5),
  .social-terminal-model-row>:nth-child(6){display:none}
  .social-terminal-model-metric{text-align:right}
  .social-terminal-model-metric small{display:none}
  .social-terminal-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .social-terminal-stats article:last-child{grid-column:1/-1}
  .social-terminal-overview .social-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .social-terminal-performance .model-mini-grid,
  .social-terminal-performance .model-expectancy-grid,
  .social-terminal-performance .model-wl-grid,
  .social-terminal-performance .model-side-grid{grid-template-columns:1fr}
  .social-terminal-detail-head{display:block}
  .social-terminal-detail-avatar{
    flex-basis:38px;
    width:38px;
    height:38px;
  }
  .social-terminal-detail-head .social-terminal-myfxbook-link{
    min-height:26px;
    padding-inline:9px;
    font-size:10px;
  }
  .social-terminal-detail-head .social-terminal-ghost{margin-top:10px}
  .social-terminal-downloads article{grid-template-columns:1fr}
  .social-terminal-downloads a,
  .social-terminal-downloads button{width:100%}
}

/* Final color lock: main canvas #07050F, blue-tinted panels #121119. */
:root{
  --site-background:#07050F;
  --bg:#07050F;
  --bg2:#121119;
  --panel:#121119;
  --terminal-bg:#07050F;
  --terminal-panel:#121119;
}
html,
body,
.auth-shell,
.dashboard,
.dashboard.workspace-mode,
.dashboard.community-mode,
.dashboard.community-mode.dm-mode,
.dashboard.community-mode.channels-collapsed,
.dashboard.community-mode.members-collapsed,
.workspace-panel,
.workspace-content,
.messages,
.community-workspace-content,
.social-trading-shell{
  background:#07050F!important;
  background-color:#07050F!important;
}
.workspace-head,
.academy-playlist,
.academy-course-sidebar,
.academy-sidebar-progress,
.academy-player,
.academy-course-player,
.academy-course-copy,
.academy-list-item,
.dashboard.workspace-mode .sidebar,
.dashboard.community-mode .sidebar,
.dashboard.community-mode .members-panel,
.dashboard.community-mode .chat-head,
.dashboard.community-mode .composer,
.dashboard.community-mode .sidebar-footer,
.social-terminal-v2,
.social-terminal-panel,
.social-terminal-bar,
.social-terminal-model-row,
.settings-shell,
.settings-card,
.panel-card{
  background:#121119!important;
  background-color:#121119!important;
}
.dashboard.community-mode .chat-panel,
.dashboard.community-mode .workspace-panel,
.dashboard.community-mode .messages,
.dashboard.community-mode .community-workspace-content{
  background:#07050F!important;
  background-color:#07050F!important;
}

/* Public member profiles share the full-screen Connections terminal. */
.social-member-terminal-row{
  color:inherit;
  text-decoration:none;
}
.public-profile-main{
  display:flex;
  flex-direction:column;
  gap:14px;
}
.public-profile-main>*{
  flex:0 0 auto;
}
.public-profile-hero,
.public-profile-performance,
.public-profile-summary-card{
  border:1px solid var(--terminal-line);
  border-radius:7px;
  overflow:hidden;
  background:#090711;
}
.public-profile-cover{
  height:clamp(92px,13vh,148px);
  border-bottom:1px solid var(--terminal-line);
  background-size:cover!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
  background:
    linear-gradient(90deg,rgba(88,191,208,.12),transparent 48%),
    repeating-linear-gradient(90deg,transparent 0 64px,rgba(255,255,255,.022) 65px),
    #15121c;
}
.public-profile-identity{
  position:relative;
  z-index:2;
  min-height:90px;
  display:grid;
  grid-template-columns:78px minmax(0,1fr) auto;
  align-items:end;
  gap:14px;
  padding:0 18px 12px;
  margin-top:-38px;
}
.public-profile-avatar{
  width:78px;
  height:78px;
  display:grid;
  place-items:center;
  overflow:hidden;
  border:4px solid #09070f;
  border-radius:50%;
  color:#fff;
  background:#282331;
  font-size:24px;
  font-weight:800;
}
.public-profile-avatar img{width:100%;height:100%;object-fit:cover}
.public-profile-copy{min-width:0;padding-top:38px}
.public-profile-copy h1{
  margin:0;
  overflow:hidden;
  color:var(--terminal-text);
  font-size:24px;
  line-height:1.05;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.public-profile-copy p{margin:5px 0 0;color:var(--terminal-muted);font-size:11px}
.public-profile-copy>div,
.public-profile-meta{display:flex;flex-wrap:wrap;gap:12px;margin-top:8px;color:#706a7d;font-size:9px}
.public-profile-meta span{
  display:inline-flex;
  align-items:center;
  min-width:0;
  gap:5px;
  line-height:1.15;
  white-space:nowrap;
}
.public-profile-meta i{
  width:12px;
  height:12px;
  display:inline-grid;
  place-items:center;
  flex:0 0 12px;
  border-radius:50%;
  color:#777185;
  background:#24202c;
  font-size:8px;
  font-style:normal;
  line-height:1;
}
.public-profile-bio{max-width:760px;margin:0;padding:0 18px 15px;color:#aaa4b5;font-size:11px;line-height:1.5}
.public-profile-top-trades{
  width:min(46vw,900px);
  max-width:100%;
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:8px;
  min-width:0;
}
.public-profile-top-trades article{
  min-width:0;
  min-height:54px;
  display:grid;
  align-content:center;
  gap:6px;
  padding:8px 10px;
  border:1px solid var(--terminal-line);
  border-radius:8px;
  background:#121019;
  overflow:hidden;
}
.public-profile-top-rank{
  width:max-content;
  max-width:100%;
  display:block;
  padding:3px 6px;
  border-radius:5px;
  color:#d3b241;
  background:#211c10;
  font-size:9px;
  font-weight:900;
  line-height:1;
}
.public-profile-top-trades article>div{
  min-width:0;
  display:flex;
  align-items:center;
  gap:6px;
}
.public-profile-top-trades .trade-market-logo{
  width:18px;
  height:18px;
  flex:0 0 18px;
  font-size:8px;
}
.public-profile-top-trades b{
  min-width:0;
  overflow:hidden;
  color:var(--terminal-green);
  font-size:13px;
  font-weight:900;
  line-height:1;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.public-profile-top-trades small{
  color:#6f7380;
  font-size:10px;
  font-weight:800;
  white-space:nowrap;
}
.public-profile-kpis{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  align-items:stretch;
  border-top:1px solid var(--terminal-line);
}
.public-profile-kpis-card{
  border:1px solid var(--terminal-line)!important;
  border-radius:7px!important;
  overflow:hidden!important;
  background:#09070f!important;
}
.public-profile-kpis article{
  min-width:0;
  min-height:74px;
  display:grid;
  align-content:center;
  gap:4px;
  padding:12px 16px;
  border-right:1px solid var(--terminal-line);
  overflow:hidden;
}
.public-profile-kpis article:last-child{border-right:0}
.public-profile-kpis span,
.public-profile-kpis small{
  display:block;
  min-width:0;
  overflow:hidden;
  color:var(--terminal-muted);
  font-size:9px;
  line-height:1.2;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.public-profile-kpis b{
  display:block;
  min-width:0;
  overflow:hidden;
  margin:0;
  font-size:clamp(14px,1.05vw,17px);
  line-height:1.12;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.public-profile-performance{padding:0}
.public-profile-section-title{
  min-height:52px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 14px;
  border-bottom:1px solid var(--terminal-line);
  background:#15121c;
}
.public-profile-section-title span,
.public-profile-summary-card>span{display:block;color:#6e6879;font-size:9px;font-weight:800;text-transform:uppercase}
.public-profile-section-title h2{margin:2px 0 0;font-size:14px}
.public-profile-section-title>strong{font-size:13px}
.public-profile-performance{height:100%}
.public-profile-chart{height:100%;min-height:560px;padding:12px 14px 2px}
.public-profile-chart,
.public-profile-chart .history-curve-card,
.public-profile-chart .history-curve-plot,
.public-profile-chart .history-curve-svg{
  background:#090711!important;
}
.public-profile-chart .history-curve-card{height:100%;min-height:546px}
.public-profile-chart .history-curve-plot{height:100%;min-height:452px}
.public-profile-chart .history-curve-svg{height:452px;min-height:100%}
.public-profile-trades{flex:0 0 auto}
.public-profile-trading-grid{
  min-height:560px;
  display:grid;
  grid-template-columns:minmax(420px,.96fr) minmax(520px,1.04fr);
  gap:10px;
  align-items:stretch;
}
.public-profile-left-stack{
  min-width:0;
  min-height:0;
  display:grid;
  grid-template-rows:minmax(0,1fr);
}
.public-profile-positions,
.public-profile-trades{
  min-width:0;
  min-height:0;
  border:1px solid var(--terminal-line);
  border-radius:7px;
  overflow:hidden;
  background:#07050c;
}
.public-profile-trades{
  display:flex;
  flex-direction:column;
  height:100%;
}
.public-profile-positions .social-section-title,
.public-profile-trades .social-section-title{
  min-height:24px;
  padding:3px 12px;
  border-bottom:1px solid var(--terminal-line);
  background:#15121c;
}
.public-profile-positions .social-section-title h3,
.public-profile-trades .social-section-title h3{
  color:#c7c3cf;
  font-size:11px;
  font-weight:600;
  line-height:1.15;
}
.public-profile-positions .social-section-title strong,
.public-profile-trades .social-section-title strong{
  color:#777185;
  font-size:10px;
}
.public-profile-positions .social-trade-scroll,
.public-profile-trades .social-trade-scroll{
  max-height:min(47vh,530px);
  overflow:auto;
  scrollbar-gutter:stable;
}
.public-profile-trades .social-trade-scroll{
  flex:1 1 auto;
  max-height:none;
}
.public-profile-positions table,
.public-profile-trades table{
  width:100%;
  border-collapse:collapse;
}
.public-profile-positions th,
.public-profile-positions td,
.public-profile-trades th,
.public-profile-trades td{
  height:42px;
  padding:7px 11px;
  border-bottom:1px solid rgba(255,255,255,.045);
  color:#d9d4e4;
  font-size:11px;
  text-align:left;
  white-space:nowrap;
}
.public-profile-positions th,
.public-profile-trades th{
  position:sticky;
  top:0;
  z-index:2;
  height:26px;
  color:#5d5969;
  font-size:9px;
  font-weight:800;
  background:#08060d;
}
.public-profile-positions td b,
.public-profile-trades td b,
.public-profile-positions td strong,
.public-profile-trades td strong{
  display:block;
  color:#f1edf7;
  font-size:11px;
  line-height:1.2;
}
.public-profile-positions td small,
.public-profile-trades td small{
  display:block;
  margin-top:3px;
  color:#6f697b;
  font-size:9px;
  line-height:1.2;
}
.public-profile-positions td:last-child,
.public-profile-trades td:nth-last-child(2){
  text-align:right;
}
.public-profile-tabs{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:0;
  padding:0;
  border-bottom:0;
  color:#4f4a59;
  background:transparent;
  font-size:10px;
  font-weight:800;
}
.public-profile-tabs button{
  appearance:none;
  border:0;
  padding:0;
  color:inherit;
  background:transparent;
  font:inherit;
  cursor:pointer;
}
.public-profile-tabs button:hover,
.public-profile-tabs button:focus-visible,
.public-profile-tabs button.active{
  color:#f0edf7;
}
.public-profile-trades .social-trade-scroll thead{
  position:sticky;
  top:0;
  z-index:2;
  background:#15121c;
}
.public-profile-trades .social-section-title>strong,
.public-profile-aside .social-section-title>strong{color:var(--terminal-muted);font-size:10px}
.social-terminal-v2 .public-profile-positions>.social-section-title,
.social-terminal-v2 .public-profile-trades>.social-section-title{
  min-height:26px;
  padding:2px 12px;
}
.social-terminal-v2 .public-profile-positions>.social-section-title h3,
.social-terminal-v2 .public-profile-trades>.social-section-title h3{
  margin:0;
  font-size:10.5px;
  font-weight:600;
  line-height:1;
}
.social-terminal-v2 .public-profile-positions>.social-section-title strong,
.social-terminal-v2 .public-profile-trades>.social-section-title strong{
  font-size:9px;
  line-height:1;
}
.public-profile-calendar-card{
  min-width:0;
  min-height:674px;
  flex:0 0 auto;
  overflow:hidden;
  border:1px solid var(--terminal-line);
  border-radius:7px;
  background:#09070f;
}
.public-profile-calendar-toolbar{
  min-height:54px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:8px 14px;
  border-bottom:1px solid var(--terminal-line);
  background:#15121c;
}
.public-profile-calendar-toolbar>div span{display:block;color:#6e6879;font-size:8px;font-weight:800}
.public-profile-calendar-toolbar h2{margin:3px 0 0;color:var(--terminal-text);font-size:14px;line-height:1.1}
.public-profile-calendar-toolbar nav{
  display:grid;
  grid-template-columns:30px minmax(128px,auto) 30px;
  align-items:center;
  gap:8px;
}
.public-profile-calendar-toolbar nav strong{color:#d8d4df;font-size:12px;text-align:center;white-space:nowrap}
.public-profile-calendar-toolbar button{
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  padding:0;
  border:1px solid var(--terminal-line-strong);
  border-radius:5px;
  color:#d8d4df;
  background:#0c0911;
  font-size:20px;
  line-height:1;
  cursor:pointer;
}
.public-profile-calendar-toolbar button:hover:not(:disabled),
.public-profile-calendar-toolbar button:focus-visible{border-color:rgba(88,191,208,.5);color:#fff;background:#1b1721}
.public-profile-calendar-toolbar button:disabled{opacity:.28;cursor:default}
.public-profile-calendar-scroll{min-width:0;overflow-x:auto}
.public-profile-calendar-weekdays,
.public-profile-calendar-grid{
  min-width:700px;
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
}
.public-profile-calendar-weekdays span{
  min-height:32px;
  display:grid;
  place-items:center;
  border-right:1px solid var(--terminal-line);
  color:#777185;
  font-size:9px;
  font-weight:800;
}
.public-profile-calendar-weekdays span:last-child{border-right:0}
.public-profile-calendar-day{
  position:relative;
  min-height:98px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  padding:10px;
  border-top:1px solid var(--terminal-line);
  border-right:1px solid var(--terminal-line);
  color:#b8b2c1;
  background:#0c0911;
}
.public-profile-calendar-day:nth-child(7n){border-right:0}
.public-profile-calendar-day.outside{color:#494451;background:#08060c}
.public-profile-calendar-day time{
  align-self:flex-end;
  min-width:20px;
  height:20px;
  display:grid;
  place-items:center;
  border-radius:50%;
  font-size:9px;
  line-height:1;
}
.public-profile-calendar-day.is-today time{color:#fff;background:#2d2933}
.public-profile-calendar-day strong{margin-top:8px;color:#efebf3;font-size:12px;line-height:1.1}
.public-profile-calendar-day span,
.public-profile-calendar-day small{margin-top:5px;color:#cac4d1;font-size:9px;line-height:1.15}
.public-profile-calendar-day small{margin-top:3px;color:#918a9a}
.public-profile-calendar-day.has-trades.positive{background:rgba(18,91,68,.32)}
.public-profile-calendar-day.has-trades.negative{background:rgba(104,42,49,.34)}
.public-profile-calendar-day.has-trades.positive strong{color:#27d59f}
.public-profile-calendar-day.has-trades.negative strong{color:#ff747e}
.public-profile-aside{display:flex;flex-direction:column;gap:10px}
.public-profile-aside .social-experts-card{flex:0 0 auto}
.public-profile-summary-card{padding:15px}
.public-profile-summary-card h3{margin:4px 0 12px;font-size:15px}
.public-profile-summary-card dl{margin:0}
.public-profile-summary-card dl>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid var(--terminal-line)}
.public-profile-summary-card dt{color:var(--terminal-muted);font-size:10px}
.public-profile-summary-card dd{margin:0;color:#eee9f3;font-size:11px;font-weight:800}
.public-profile-summary-card p{margin:12px 0 0;color:#6e6879;font-size:9px;line-height:1.5}
.public-profile-open-positions-card{
  display:flex;
  flex:1 1 280px;
  flex-direction:column;
  min-height:240px;
  max-height:420px;
}
.public-profile-open-positions-card .social-section-title{
  flex:0 0 auto;
  min-height:42px;
  padding:8px 12px;
}
.public-profile-open-positions-card .social-section-title span{
  display:block;
  margin-bottom:3px;
  color:#6e6879;
  font-size:8px;
  font-weight:800;
  text-transform:uppercase;
}
.public-profile-open-positions-card .social-trade-scroll{
  flex:1 1 auto;
  min-height:0;
  max-height:none;
  margin-top:0;
}
.public-profile-open-positions-card table{
  table-layout:fixed;
}
.public-profile-open-positions-card th:nth-child(1),
.public-profile-open-positions-card td:nth-child(1){width:50%}
.public-profile-open-positions-card th:nth-child(2),
.public-profile-open-positions-card td:nth-child(2){width:18%}
.public-profile-open-positions-card th:nth-child(3),
.public-profile-open-positions-card td:nth-child(3){width:32%;text-align:right}
.public-profile-open-positions-card .social-empty-compact{
  padding:34px 12px;
  text-align:center;
  white-space:normal;
}
.public-profile-state{
  min-height:340px;
  display:grid;
  place-content:center;
  justify-items:center;
  gap:8px;
  color:var(--terminal-muted);
  text-align:center;
}
.public-profile-state strong{color:var(--terminal-text);font-size:16px}
.public-profile-state span{font-size:10px}
.public-profile-state button{margin-top:6px;padding:8px 14px;border:1px solid var(--terminal-line-strong);border-radius:6px;color:#fff;background:#191521;cursor:pointer}
.public-profile-state.is-error strong{color:var(--terminal-red)}

@media(max-width:980px){
  .public-profile-shell.social-terminal-v2{
    grid-template-rows:max-content max-content max-content max-content!important;
  }
  .public-profile-main{gap:10px}
  .public-profile-trading-grid{
    grid-template-columns:1fr;
    min-height:0;
  }
  .public-profile-left-stack{
    min-height:0;
  }
  .public-profile-positions .social-trade-scroll,
  .public-profile-trades .social-trade-scroll{
    max-height:42vh;
  }
  .public-profile-aside{padding-bottom:94px!important}
}
@media(max-width:620px){
  .public-profile-shell .social-member-terminal{display:none!important}
  .public-profile-shell .public-profile-main{grid-row:2!important}
  .public-profile-shell .public-profile-aside{grid-row:3!important}
  .public-profile-identity{grid-template-columns:62px minmax(0,1fr);align-items:end;padding:0 12px 10px;margin-top:-31px}
  .public-profile-avatar{width:62px;height:62px;border-width:3px;font-size:20px}
  .public-profile-copy{padding-top:31px}
  .public-profile-copy h1{font-size:19px}
  .public-profile-identity .social-terminal-ghost{grid-column:1/-1;width:100%;margin-top:2px}
  .public-profile-bio{padding:0 12px 12px}
  .public-profile-top-trades{
    width:100%;
    grid-template-columns:repeat(5,minmax(128px,1fr));
    overflow-x:auto;
    padding-bottom:2px;
  }
  .public-profile-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .public-profile-kpis article{min-height:68px;padding:11px 12px}
  .public-profile-kpis article:nth-child(2){border-right:0}
  .public-profile-kpis article:nth-child(-n+2){border-bottom:1px solid var(--terminal-line)}
  .public-profile-kpis b{font-size:15px}
  .public-profile-chart{min-height:420px;padding:8px 8px 0}
  .public-profile-chart .history-curve-card{min-height:412px}
  .public-profile-chart .history-curve-plot{min-height:332px}
  .public-profile-chart .history-curve-svg{height:332px}
  .public-profile-positions .social-trade-scroll,
  .public-profile-trades .social-trade-scroll{max-height:52vh;overflow:auto}
  .public-profile-positions table{min-width:520px}
  .public-profile-trades table{min-width:640px}
  .public-profile-calendar-toolbar{align-items:flex-start;flex-direction:column;gap:8px;padding:10px 12px}
  .public-profile-calendar-toolbar nav{width:100%;grid-template-columns:30px minmax(0,1fr) 30px}
  .public-profile-calendar-day{min-height:90px;padding:8px}
}

/* Community brand lock: match the /join3 nav logo exactly. */
.dashboard.community-mode .side-top{
  min-height:48px!important;
  margin:0 0 16px!important;
  padding:4px 0 8px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  overflow:visible!important;
}
.dashboard.community-mode .side-top .community-brand-logo,
.dashboard.community-mode .side-top>a.logo{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:9px!important;
  line-height:1!important;
  overflow:visible!important;
  text-decoration:none!important;
  font-family:NeueMontreal,Arial,sans-serif!important;
}
.dashboard.community-mode .side-top .community-brand-logo .logo-mark,
.dashboard.community-mode .side-top>a.logo .logo-mark{
  width:46px!important;
  height:46px!important;
  min-width:46px!important;
  max-width:46px!important;
  flex:0 0 46px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
}
.dashboard.community-mode .side-top .community-brand-logo .logo-mark img,
.dashboard.community-mode .side-top>a.logo .logo-mark img{
  width:46px!important;
  height:46px!important;
  min-width:46px!important;
  max-width:46px!important;
  display:block!important;
  object-fit:cover!important;
  object-position:center!important;
  transform:none!important;
  transform-origin:center!important;
  opacity:1!important;
  filter:none!important;
}
.dashboard.community-mode .side-top .community-brand-logo span[data-brand],
.dashboard.community-mode .side-top>a.logo span[data-brand]{
  display:inline-block!important;
  line-height:1!important;
  transform:none!important;
  color:#fff!important;
  background:none!important;
  -webkit-background-clip:border-box!important;
  background-clip:border-box!important;
  -webkit-text-fill-color:#fff!important;
  text-shadow:none!important;
  filter:none!important;
  font-family:NeueMontreal,Arial,sans-serif!important;
  font-size:20px!important;
  font-weight:900!important;
  letter-spacing:-.045em!important;
}

@media(max-width:980px){
  .dashboard.community-mode .side-top{
    min-height:42px!important;
    margin-bottom:12px!important;
    padding:2px 0 7px!important;
  }
  .dashboard.community-mode .side-top .community-brand-logo,
  .dashboard.community-mode .side-top>a.logo{
    gap:8px!important;
  }
  .dashboard.community-mode .side-top .community-brand-logo .logo-mark,
  .dashboard.community-mode .side-top>a.logo .logo-mark,
  .dashboard.community-mode .side-top .community-brand-logo .logo-mark img,
  .dashboard.community-mode .side-top>a.logo .logo-mark img{
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    max-width:40px!important;
    flex-basis:40px!important;
  }
  .dashboard.community-mode .side-top .community-brand-logo span[data-brand],
  .dashboard.community-mode .side-top>a.logo span[data-brand]{
    font-size:18px!important;
  }
}

/* Public profile header lock: keep the identity and stats visible on every profile, including the current user. */
.public-profile-hero{
  display:block!important;
  min-height:260px!important;
  overflow:hidden!important;
}
.public-profile-hero .public-profile-cover{
  display:block!important;
  min-height:92px!important;
}
.public-profile-hero .public-profile-identity{
  display:grid!important;
  visibility:visible!important;
  opacity:1!important;
  transform:none!important;
}
.public-profile-hero .public-profile-avatar,
.public-profile-hero .public-profile-copy,
.public-profile-hero .public-profile-kpis{
  visibility:visible!important;
  opacity:1!important;
}
.public-profile-hero .public-profile-kpis{
  display:grid!important;
}

@media(max-width:620px){
  .public-profile-hero{
    min-height:300px!important;
  }
}

/* Generated member avatars: keep the robot icon centered and smaller everywhere in community. */
.dashboard.community-mode .generated-avatar,
.social-terminal-v2 .generated-avatar{
  display:grid!important;
  place-items:center!important;
  border-radius:50%!important;
  overflow:hidden!important;
}
.dashboard.community-mode .generated-avatar img,
.dashboard.community-mode .member-avatar .generated-avatar img,
.dashboard.community-mode .mini-avatar .generated-avatar img,
.dashboard.community-mode .dm-rail-contact .generated-avatar img,
.dashboard.community-mode .social-growth-avatar .generated-avatar img,
.social-terminal-v2 .generated-avatar img{
  width:48%!important;
  height:48%!important;
  min-width:0!important;
  min-height:0!important;
  max-width:48%!important;
  max-height:48%!important;
  display:block!important;
  object-fit:contain!important;
  object-position:center!important;
  border-radius:0!important;
  transform:none!important;
  margin:auto!important;
}
.dashboard.community-mode .member-avatar .generated-avatar-dark img,
.dashboard.community-mode .mini-avatar .generated-avatar-dark img,
.dashboard.community-mode .dm-rail-contact .generated-avatar-dark img,
.dashboard.community-mode .social-growth-avatar .generated-avatar-dark img,
.social-terminal-v2 .generated-avatar-dark img{
  filter:brightness(0) invert(1)!important;
}

/* Settings subscription width: give the checkout area more horizontal room. */
.dashboard.community-mode .community-workspace-content.settings-workspace .settings-shell{
  max-width:1360px!important;
  grid-template-columns:210px minmax(920px,1fr)!important;
}
.dashboard.community-mode .community-workspace-content.settings-workspace .settings-main,
.dashboard.community-mode .community-workspace-content.settings-workspace .settings-billing-grid{
  min-width:0!important;
  width:100%!important;
}
.dashboard.community-mode .community-workspace-content.settings-workspace .settings-billing-grid .subscription-shell{
  width:100%!important;
  padding:32px 0 56px!important;
}
.dashboard.community-mode .community-workspace-content.settings-workspace .settings-billing-grid .subscription-grid{
  grid-template-columns:minmax(430px,.95fr) minmax(520px,1.05fr)!important;
  gap:28px!important;
}

@media(max-width:1280px){
  .dashboard.community-mode .community-workspace-content.settings-workspace .settings-shell{
    grid-template-columns:190px minmax(0,1fr)!important;
  }
  .dashboard.community-mode .community-workspace-content.settings-workspace .settings-billing-grid .subscription-grid{
    grid-template-columns:minmax(340px,.95fr) minmax(420px,1.05fr)!important;
  }
}

@media(max-width:980px){
  .dashboard.community-mode .community-workspace-content.settings-workspace .settings-shell{
    grid-template-columns:1fr!important;
    max-width:none!important;
  }
  .dashboard.community-mode .community-workspace-content.settings-workspace .settings-billing-grid .subscription-grid{
    grid-template-columns:1fr!important;
  }
}

/* Left portal icon rail lock: keep size and color stable across every community workspace page. */
.dashboard.community-mode .sidebar .portal-nav{
  position:absolute!important;
  left:14px!important;
  top:14px!important;
  bottom:14px!important;
  z-index:20!important;
  width:58px!important;
  min-width:58px!important;
  max-width:58px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:12px!important;
  padding:8px 6px!important;
  border:1px solid rgba(255,255,255,.08)!important;
  border-radius:18px!important;
  background:#0b0c10!important;
  box-shadow:none!important;
  transform:none!important;
}
.dashboard.community-mode .sidebar .portal-nav-item{
  width:46px!important;
  height:46px!important;
  min-width:46px!important;
  min-height:46px!important;
  max-width:46px!important;
  max-height:46px!important;
  flex:0 0 46px!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  place-items:center!important;
  margin:0!important;
  padding:0!important;
  border:1px solid transparent!important;
  border-radius:14px!important;
  background:transparent!important;
  color:#f2f3f5!important;
  box-shadow:none!important;
  transform:none!important;
  opacity:1!important;
}
.dashboard.community-mode .sidebar .portal-nav-item>span:not(.portal-nav-icon),
.dashboard.community-mode .sidebar .portal-nav-lock{
  display:none!important;
}
.dashboard.community-mode .sidebar .portal-nav-icon{
  width:24px!important;
  height:24px!important;
  min-width:24px!important;
  min-height:24px!important;
  max-width:24px!important;
  max-height:24px!important;
  display:grid!important;
  place-items:center!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:currentColor!important;
  box-shadow:none!important;
  font-size:0!important;
  line-height:1!important;
}
.dashboard.community-mode .sidebar .portal-nav-icon svg,
.dashboard.community-mode .sidebar .portal-nav-icon img{
  width:24px!important;
  height:24px!important;
  min-width:24px!important;
  min-height:24px!important;
  max-width:24px!important;
  max-height:24px!important;
  display:block!important;
  object-fit:contain!important;
  object-position:center!important;
  transform:none!important;
  opacity:1!important;
}
.dashboard.community-mode .sidebar .portal-nav-icon svg{
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.9!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.dashboard.community-mode .sidebar .portal-nav-item:hover,
.dashboard.community-mode .sidebar .portal-nav-item.active{
  border-color:rgba(255,207,35,.36)!important;
  background:rgba(255,207,35,.16)!important;
  color:#fff!important;
  box-shadow:0 0 0 1px rgba(255,207,35,.08),0 10px 24px rgba(255,207,35,.12)!important;
}

@media(max-width:980px){
  .dashboard.community-mode .sidebar .portal-nav{
    left:50%!important;
    top:auto!important;
    right:auto!important;
    bottom:10px!important;
    width:auto!important;
    min-width:0!important;
    max-width:calc(100vw - 24px)!important;
    height:58px!important;
    min-height:58px!important;
    flex-direction:row!important;
    transform:translateX(-50%)!important;
  }
}

/* Workspace rail final lock: Academy and Connections keep the same left bar as Community. */
.dashboard.workspace-mode .sidebar,
.dashboard.workspace-mode.channels-collapsed .sidebar,
.dashboard.community-mode.social-trading-mode .sidebar,
.dashboard.community-mode.social-trading-mode.channels-collapsed .sidebar{
  position:relative!important;
  width:72px!important;
  min-width:72px!important;
  max-width:72px!important;
  height:calc(100dvh - 20px)!important;
  align-self:center!important;
  padding:8px 6px!important;
  overflow:hidden!important;
  transform:none!important;
  opacity:1!important;
  pointer-events:auto!important;
  border:1px solid rgba(255,255,255,.08)!important;
  border-radius:18px!important;
  background:#0b0c10!important;
  box-shadow:none!important;
}
.dashboard.workspace-mode .portal-nav,
.dashboard.community-mode.social-trading-mode .portal-nav{
  position:static!important;
  width:58px!important;
  min-width:58px!important;
  max-width:58px!important;
  height:100%!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:12px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  transform:none!important;
}
.dashboard.workspace-mode .portal-nav-item,
.dashboard.community-mode.social-trading-mode .portal-nav-item{
  width:46px!important;
  height:46px!important;
  min-width:46px!important;
  min-height:46px!important;
  max-width:46px!important;
  max-height:46px!important;
  flex:0 0 46px!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  place-items:center!important;
  margin:0!important;
  padding:0!important;
  border:1px solid transparent!important;
  border-radius:14px!important;
  background:transparent!important;
  color:#f2f3f5!important;
  box-shadow:none!important;
  transform:none!important;
  opacity:1!important;
}
.dashboard.workspace-mode .portal-nav-item > span:not(.portal-nav-icon),
.dashboard.community-mode.social-trading-mode .portal-nav-item > span:not(.portal-nav-icon),
.dashboard.workspace-mode .portal-nav-lock,
.dashboard.community-mode.social-trading-mode .portal-nav-lock{
  display:none!important;
}
.dashboard.workspace-mode .portal-nav-icon,
.dashboard.community-mode.social-trading-mode .portal-nav-icon{
  width:24px!important;
  height:24px!important;
  min-width:24px!important;
  min-height:24px!important;
  max-width:24px!important;
  max-height:24px!important;
  display:grid!important;
  place-items:center!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#fff!important;
  box-shadow:none!important;
  font-size:0!important;
  line-height:1!important;
}
.dashboard.workspace-mode .portal-nav-icon img,
.dashboard.community-mode.social-trading-mode .portal-nav-icon img{
  width:24px!important;
  height:24px!important;
  min-width:24px!important;
  min-height:24px!important;
  max-width:24px!important;
  max-height:24px!important;
  display:block!important;
  object-fit:contain!important;
  object-position:center!important;
  filter:invert(1) brightness(1.08)!important;
  opacity:1!important;
  transform:none!important;
}
.dashboard.workspace-mode .portal-nav-icon svg,
.dashboard.community-mode.social-trading-mode .portal-nav-icon svg{
  display:none!important;
}
.dashboard.workspace-mode .portal-nav-item:hover,
.dashboard.workspace-mode .portal-nav-item.active,
.dashboard.community-mode.social-trading-mode .portal-nav-item:hover,
.dashboard.community-mode.social-trading-mode .portal-nav-item.active{
  border-color:rgba(255,207,35,.36)!important;
  background:rgba(255,207,35,.16)!important;
  color:#fff!important;
  box-shadow:0 0 0 1px rgba(255,207,35,.08),0 10px 24px rgba(255,207,35,.12)!important;
}

/* Public profile KPI row final lock: prevent the stats strip from being clipped between hero and chart. */
.public-profile-main>.public-profile-kpis-card{
  width:100%!important;
  min-height:78px!important;
  height:auto!important;
  flex:0 0 auto!important;
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  grid-auto-rows:minmax(78px,auto)!important;
  align-items:stretch!important;
  margin:0!important;
  padding:0!important;
  border:1px solid var(--terminal-line)!important;
  border-radius:7px!important;
  overflow:visible!important;
  background:#09070f!important;
  z-index:4!important;
}
.public-profile-main>.public-profile-kpis-card article{
  min-height:78px!important;
  height:auto!important;
  display:grid!important;
  align-content:center!important;
  gap:4px!important;
  padding:12px 16px!important;
  overflow:hidden!important;
}

@media(max-width:620px){
  .public-profile-main>.public-profile-kpis-card{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-auto-rows:minmax(68px,auto)!important;
  }
  .public-profile-main>.public-profile-kpis-card article{
    min-height:68px!important;
  }
}

/* Mobile community final lock: keep community usable without affecting desktop. */
@media(max-width:980px){
  .dashboard.community-mode,
  .dashboard.community-mode.dm-mode,
  .dashboard.community-mode.channels-collapsed,
  .dashboard.community-mode.dm-mode.channels-collapsed,
  .dashboard.community-mode.members-collapsed,
  .dashboard.community-mode.dm-mode.members-collapsed,
  .dashboard.community-mode.channels-collapsed.members-collapsed,
  .dashboard.community-mode.dm-mode.channels-collapsed.members-collapsed{
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:minmax(0,1fr) 76px!important;
    width:100vw!important;
    max-width:100vw!important;
    min-height:100dvh!important;
    padding:0!important;
    overflow:hidden!important;
  }
  .dashboard.community-mode .sidebar,
  .dashboard.community-mode.channels-collapsed .sidebar,
  .dashboard.community-mode.social-trading-mode .sidebar,
  .dashboard.community-mode.social-trading-mode.channels-collapsed .sidebar{
    position:fixed!important;
    left:0!important;
    right:0!important;
    top:auto!important;
    bottom:0!important;
    z-index:80!important;
    width:100vw!important;
    min-width:100vw!important;
    max-width:100vw!important;
    height:76px!important;
    min-height:76px!important;
    max-height:76px!important;
    align-self:auto!important;
    padding:0!important;
    overflow:hidden!important;
    transform:none!important;
    opacity:1!important;
    pointer-events:auto!important;
    border-width:1px 0 0!important;
    border-radius:0!important;
    background:#08090d!important;
    box-shadow:0 -18px 38px rgba(0,0,0,.34)!important;
  }
  .dashboard.community-mode .sidebar .portal-nav,
  .dashboard.community-mode.social-trading-mode .portal-nav{
    width:100%!important;
    min-width:100%!important;
    max-width:100%!important;
    height:100%!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    align-items:center!important;
    justify-content:stretch!important;
    gap:0!important;
    margin:0!important;
    padding:9px 10px 10px!important;
    border:0!important;
    border-radius:0!important;
    background:#08090d!important;
  }
  .dashboard.community-mode .sidebar .portal-nav-item,
  .dashboard.community-mode.social-trading-mode .portal-nav-item{
    width:100%!important;
    height:56px!important;
    min-width:0!important;
    min-height:56px!important;
    max-width:none!important;
    max-height:56px!important;
    flex:0 0 auto!important;
    border-radius:13px!important;
  }
  .dashboard.community-mode .side-top,
  .dashboard.community-mode .community-server-cover,
  .dashboard.community-mode .portal-community-label,
  .dashboard.community-mode .direct-open,
  .dashboard.community-mode .side-section,
  .dashboard.community-mode .sidebar-footer{
    display:none!important;
  }
  .dashboard.community-mode .workspace-panel,
  .dashboard.community-mode .chat-panel{
    grid-column:1!important;
    grid-row:1!important;
    width:100vw!important;
    max-width:100vw!important;
    height:calc(100dvh - 76px)!important;
    border-radius:0!important;
    overflow:hidden!important;
  }
  .dashboard.community-mode .community-workspace-content,
  .dashboard.community-mode .messages{
    width:100%!important;
    max-width:100%!important;
    height:100%!important;
    padding-bottom:96px!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
  }
  .dashboard.community-mode .members-panel,
  .dashboard.community-mode #membersToggle,
  .dashboard.community-mode .dm-panel{
    display:none!important;
  }
  .dashboard.community-mode .social-terminal-v2{
    height:calc(100dvh - 76px)!important;
    padding-bottom:96px!important;
  }
}

/* Desktop rail final lock: keep the Community bar geometry on Academy and Connections too. */
@media(min-width:981px){
  .dashboard.workspace-mode,
  .dashboard.workspace-mode.channels-collapsed{
    grid-template-columns:86px minmax(0,1fr)!important;
    gap:0!important;
    padding:10px!important;
  }
  .dashboard.workspace-mode .sidebar,
  .dashboard.workspace-mode.channels-collapsed .sidebar,
  .dashboard.community-mode.social-trading-mode .sidebar,
  .dashboard.community-mode.social-trading-mode.channels-collapsed .sidebar{
    width:58px!important;
    min-width:58px!important;
    max-width:58px!important;
    height:calc(100dvh - 28px)!important;
    min-height:calc(100dvh - 28px)!important;
    max-height:calc(100dvh - 28px)!important;
    align-self:center!important;
    justify-self:start!important;
    padding:8px 6px!important;
    border:1px solid rgba(255,255,255,.08)!important;
    border-radius:18px!important;
    background:#0b0c10!important;
    box-shadow:none!important;
    overflow:hidden!important;
    transform:none!important;
    opacity:1!important;
    pointer-events:auto!important;
  }
  .dashboard.workspace-mode .portal-nav,
  .dashboard.community-mode.social-trading-mode .portal-nav{
    width:46px!important;
    min-width:46px!important;
    max-width:46px!important;
    height:100%!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:12px!important;
    margin:0 auto!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    transform:none!important;
  }
  .dashboard.workspace-mode .portal-nav-item,
  .dashboard.community-mode.social-trading-mode .portal-nav-item{
    width:46px!important;
    height:46px!important;
    min-width:46px!important;
    min-height:46px!important;
    max-width:46px!important;
    max-height:46px!important;
    flex:0 0 46px!important;
    display:grid!important;
    place-items:center!important;
    padding:0!important;
    border:1px solid transparent!important;
    border-radius:14px!important;
    background:transparent!important;
    color:#f2f3f5!important;
    box-shadow:none!important;
  }
  .dashboard.workspace-mode .portal-nav-icon,
  .dashboard.community-mode.social-trading-mode .portal-nav-icon,
  .dashboard.workspace-mode .portal-nav-icon img,
  .dashboard.community-mode.social-trading-mode .portal-nav-icon img{
    width:24px!important;
    height:24px!important;
    min-width:24px!important;
    min-height:24px!important;
    max-width:24px!important;
    max-height:24px!important;
  }
  .dashboard.workspace-mode .portal-nav-icon img,
  .dashboard.community-mode.social-trading-mode .portal-nav-icon img{
    filter:invert(1) brightness(1.08)!important;
  }
  .dashboard.workspace-mode .portal-nav-item:hover,
  .dashboard.workspace-mode .portal-nav-item.active,
  .dashboard.community-mode.social-trading-mode .portal-nav-item:hover,
  .dashboard.community-mode.social-trading-mode .portal-nav-item.active{
    border-color:rgba(255,207,35,.36)!important;
    background:rgba(255,207,35,.16)!important;
    color:#fff!important;
    box-shadow:0 0 0 1px rgba(255,207,35,.08),0 10px 24px rgba(255,207,35,.12)!important;
  }
}

/* Final mobile override: no vertical rail overlays on Academy, Connections, or Community. */
@media(max-width:980px){
  .dashboard.workspace-mode,
  .dashboard.workspace-mode.channels-collapsed{
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:minmax(0,1fr) 76px!important;
    width:100vw!important;
    max-width:100vw!important;
    min-height:100dvh!important;
    padding:0!important;
    overflow:hidden!important;
  }
  .dashboard.workspace-mode .sidebar,
  .dashboard.workspace-mode.channels-collapsed .sidebar,
  .dashboard.community-mode .sidebar,
  .dashboard.community-mode.channels-collapsed .sidebar,
  .dashboard.community-mode.social-trading-mode .sidebar,
  .dashboard.community-mode.social-trading-mode.channels-collapsed .sidebar{
    position:fixed!important;
    left:0!important;
    right:0!important;
    top:auto!important;
    bottom:0!important;
    z-index:80!important;
    width:100vw!important;
    min-width:100vw!important;
    max-width:100vw!important;
    height:76px!important;
    min-height:76px!important;
    max-height:76px!important;
    padding:0!important;
    border-width:1px 0 0!important;
    border-radius:0!important;
    background:#08090d!important;
    box-shadow:0 -18px 38px rgba(0,0,0,.34)!important;
    overflow:hidden!important;
    transform:none!important;
    opacity:1!important;
    pointer-events:auto!important;
  }
  .dashboard.workspace-mode .portal-nav,
  .dashboard.community-mode .sidebar .portal-nav,
  .dashboard.community-mode.social-trading-mode .portal-nav{
    position:static!important;
    width:100%!important;
    min-width:100%!important;
    max-width:100%!important;
    height:100%!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    align-items:center!important;
    justify-content:stretch!important;
    gap:0!important;
    margin:0!important;
    padding:8px 10px 10px!important;
    border:0!important;
    border-radius:0!important;
    background:#08090d!important;
    box-shadow:none!important;
    transform:none!important;
  }
  .dashboard.workspace-mode .portal-nav-item,
  .dashboard.community-mode .sidebar .portal-nav-item,
  .dashboard.community-mode.social-trading-mode .portal-nav-item{
    width:100%!important;
    height:56px!important;
    min-width:0!important;
    min-height:56px!important;
    max-width:none!important;
    max-height:56px!important;
    flex:0 0 auto!important;
    border-radius:13px!important;
  }
  .dashboard.workspace-mode .side-top,
  .dashboard.workspace-mode .community-server-cover,
  .dashboard.workspace-mode .portal-community-label,
  .dashboard.workspace-mode .direct-open,
  .dashboard.workspace-mode .side-section,
  .dashboard.workspace-mode .sidebar-footer,
  .dashboard.community-mode .side-top,
  .dashboard.community-mode .community-server-cover,
  .dashboard.community-mode .portal-community-label,
  .dashboard.community-mode .direct-open,
  .dashboard.community-mode .side-section,
  .dashboard.community-mode .sidebar-footer{
    display:none!important;
  }
  .dashboard.workspace-mode .workspace-panel,
  .dashboard.community-mode .workspace-panel,
  .dashboard.community-mode .chat-panel{
    grid-column:1!important;
    grid-row:1!important;
    width:100vw!important;
    max-width:100vw!important;
    height:calc(100dvh - 76px)!important;
    border-radius:0!important;
    overflow:hidden!important;
  }
  .dashboard.workspace-mode .workspace-content,
  .dashboard.workspace-mode .community-workspace-content,
  .dashboard.community-mode .community-workspace-content,
  .dashboard.community-mode .messages{
    width:100%!important;
    max-width:100%!important;
    height:100%!important;
    padding-bottom:76px!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
  }
  .dashboard.community-mode .composer{
    bottom:76px!important;
  }
  .dashboard.community-mode:not(.social-trading-mode):not(.dm-mode) .chat-panel{
    grid-column:1!important;
  }
}

/* Final site-wide typography */
html,
body,
button,
input,
select,
textarea,
body *:not(pre):not(code):not(kbd):not(samp):not(.mono):not(.code-block):not(.text-file-code){
  font-family:Aeonik,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"!important;
}
/* Final leaderboard sizing: taller left rail and larger text. */
.dashboard.community-mode .social-terminal-v2{
  grid-template-columns:minmax(250px,13fr) minmax(660px,71fr) minmax(282px,16fr)!important;
}
.dashboard.community-mode .social-terminal-v2 .social-terminal-bar{
  grid-column:2 / -1!important;
}
.dashboard.community-mode .social-terminal-v2 .social-member-terminal{
  grid-row:1 / 3!important;
  height:100%!important;
  max-height:100%!important;
  min-height:100%!important;
  overflow:hidden!important;
}
.dashboard.community-mode .social-terminal-v2 .social-terminal-section-head{
  padding:18px 16px 12px!important;
}
.dashboard.community-mode .social-terminal-v2 .social-terminal-section-head span{
  font-size:10px!important;
}
.dashboard.community-mode .social-terminal-v2 .social-terminal-section-head h2{
  font-size:22px!important;
  line-height:1.05!important;
}
.dashboard.community-mode .social-terminal-v2 .social-leaderboard-periods{
  padding:5px 10px 9px!important;
}
.dashboard.community-mode .social-terminal-v2 .social-leaderboard-periods button{
  height:28px!important;
  min-width:42px!important;
  font-size:11px!important;
}
.dashboard.community-mode .social-terminal-v2 .social-member-terminal-list{
  flex:1 1 0%!important;
  height:0!important;
  min-height:0!important;
  max-height:none!important;
  overflow-x:hidden!important;
  overflow-y:scroll!important;
  overscroll-behavior:contain;
  touch-action:pan-y;
  pointer-events:auto;
  scrollbar-gutter:stable;
  padding:8px 8px 12px!important;
}
/* Keep the leaderboard independently scrollable from the first Connections frame. */
.dashboard.social-trading-mode .social-terminal-v2>.social-member-terminal{
  align-self:stretch;
  height:100%!important;
  max-height:100%!important;
  min-height:0!important;
  overflow:hidden!important;
}
.dashboard.social-trading-mode .social-terminal-v2>.social-member-terminal>.social-member-terminal-list{
  flex:1 1 0%!important;
  height:0!important;
  min-height:0!important;
  max-height:none!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  overscroll-behavior:contain;
  touch-action:pan-y;
  pointer-events:auto;
  scrollbar-gutter:stable;
}
.dashboard.community-mode .social-terminal-v2 .social-member-terminal-row{
  grid-template-columns:26px 46px minmax(0,1fr) minmax(92px,auto)!important;
  min-height:66px!important;
  gap:8px!important;
  padding:8px 8px!important;
}
.dashboard.community-mode .social-terminal-v2 .social-member-rank{
  font-size:13px!important;
}
.dashboard.community-mode .social-terminal-v2 .social-member-medal{
  width:21px!important;
  height:21px!important;
  font-size:10px!important;
}
.dashboard.community-mode .social-terminal-v2 .social-member-terminal-row .social-growth-avatar,
.dashboard.community-mode .social-terminal-v2 .social-member-terminal-row .member-avatar{
  width:46px!important;
  height:46px!important;
}
.dashboard.community-mode .social-terminal-v2 .social-member-terminal-name b{
  font-size:14px!important;
  line-height:1.15!important;
}
.dashboard.community-mode .social-terminal-v2 .social-member-terminal-name small,
.dashboard.community-mode .social-terminal-v2 .social-member-terminal-pnl small{
  font-size:10px!important;
  line-height:1.15!important;
}
.dashboard.community-mode .social-terminal-v2 .social-member-terminal-pnl b{
  font-size:13px!important;
  line-height:1.15!important;
}
.dashboard.community-mode .social-terminal-v2 .social-member-symbol,
.dashboard.community-mode .social-terminal-v2 .social-member-symbol-more{
  width:17px!important;
  height:17px!important;
  font-size:8px!important;
}
/* Final mobile community channel rail fix. */
@media(max-width:760px){
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode):not(.workspace-mode):not(.billing-workspace-mode){
    --qc-mobile-channel-rail:clamp(118px,29vw,158px);
    grid-template-columns:var(--qc-mobile-channel-rail) minmax(0,1fr)!important;
    padding-bottom:76px!important;
    overflow:hidden!important;
  }
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode):not(.workspace-mode):not(.billing-workspace-mode) .sidebar,
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode):not(.workspace-mode):not(.billing-workspace-mode).channels-collapsed .sidebar{
    position:fixed!important;
    left:0!important;
    top:0!important;
    right:auto!important;
    bottom:76px!important;
    width:var(--qc-mobile-channel-rail)!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    z-index:62!important;
    display:flex!important;
    flex-direction:column!important;
    padding:8px 6px 10px!important;
    background:#07050F!important;
    border-right:1px solid rgba(255,255,255,.08)!important;
    border-top:0!important;
    overflow:hidden!important;
  }
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode):not(.workspace-mode):not(.billing-workspace-mode) .sidebar .portal-nav{
    position:fixed!important;
    left:0!important;
    right:0!important;
    top:auto!important;
    bottom:0!important;
    width:100vw!important;
    height:76px!important;
    display:grid!important;
    grid-template-columns:repeat(5,1fr)!important;
    gap:0!important;
    padding:0 10px!important;
    margin:0!important;
    background:#07050F!important;
    border-top:1px solid rgba(255,255,255,.08)!important;
    z-index:74!important;
  }
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode):not(.workspace-mode):not(.billing-workspace-mode) .side-top,
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode):not(.workspace-mode):not(.billing-workspace-mode) .community-server-cover,
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode):not(.workspace-mode):not(.billing-workspace-mode) .portal-community-label,
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode):not(.workspace-mode):not(.billing-workspace-mode) .direct-open,
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode):not(.workspace-mode):not(.billing-workspace-mode) .sidebar-footer{
    display:none!important;
  }
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode):not(.workspace-mode):not(.billing-workspace-mode) .side-section{
    display:flex!important;
    flex:1 1 auto!important;
    min-height:0!important;
    overflow:hidden!important;
  }
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode):not(.workspace-mode):not(.billing-workspace-mode) .channels{
    display:flex!important;
    flex:1 1 auto!important;
    min-height:0!important;
    gap:6px!important;
    padding:0!important;
    overflow:auto!important;
  }
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode):not(.workspace-mode):not(.billing-workspace-mode) .channel-category-label{
    font-size:8px!important;
    line-height:1.1!important;
    margin:8px 4px 4px!important;
    letter-spacing:.08em!important;
  }
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode):not(.workspace-mode):not(.billing-workspace-mode) .channel-btn{
    min-height:34px!important;
    padding:7px 8px!important;
    border-radius:8px!important;
    gap:5px!important;
  }
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode):not(.workspace-mode):not(.billing-workspace-mode) .channel-title{
    min-width:0!important;
    font-size:11px!important;
    line-height:1.1!important;
  }
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode):not(.workspace-mode):not(.billing-workspace-mode) .chat-panel{
    grid-column:2!important;
    width:calc(100vw - var(--qc-mobile-channel-rail))!important;
    max-width:calc(100vw - var(--qc-mobile-channel-rail))!important;
    min-width:0!important;
    margin-left:var(--qc-mobile-channel-rail)!important;
    border-left:0!important;
    border-right:0!important;
    border-radius:0!important;
    padding-bottom:0!important;
  }
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode):not(.workspace-mode):not(.billing-workspace-mode) .chat-head{
    min-height:58px!important;
    padding:10px 12px!important;
    align-items:center!important;
    flex-direction:row!important;
    gap:8px!important;
    background:#07050F!important;
  }
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode):not(.workspace-mode):not(.billing-workspace-mode) .chat-head-main{
    width:100%!important;
    min-width:0!important;
    align-items:center!important;
    flex-direction:row!important;
    gap:8px!important;
  }
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode):not(.workspace-mode):not(.billing-workspace-mode) .channel-kicker{
    font-size:8px!important;
    line-height:1!important;
    margin-bottom:3px!important;
    letter-spacing:.08em!important;
  }
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode):not(.workspace-mode):not(.billing-workspace-mode) .chat-head h2{
    max-width:100%!important;
    font-size:15px!important;
    line-height:1.08!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode):not(.workspace-mode):not(.billing-workspace-mode) .chat-head p,
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode):not(.workspace-mode):not(.billing-workspace-mode) .head-actions{
    display:none!important;
  }
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode):not(.workspace-mode):not(.billing-workspace-mode) .messages{
    padding:16px 10px 154px!important;
  }
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode):not(.workspace-mode):not(.billing-workspace-mode) .message{
    grid-template-columns:28px minmax(0,1fr)!important;
    gap:8px!important;
  }
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode):not(.workspace-mode):not(.billing-workspace-mode) .message .mini-avatar{
    width:28px!important;
    height:28px!important;
  }
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode):not(.workspace-mode):not(.billing-workspace-mode) .msg-body{
    font-size:12px!important;
    line-height:1.35!important;
  }
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode):not(.workspace-mode):not(.billing-workspace-mode) .composer{
    position:fixed!important;
    left:var(--qc-mobile-channel-rail)!important;
    right:0!important;
    bottom:76px!important;
    width:calc(100vw - var(--qc-mobile-channel-rail))!important;
    padding:8px!important;
    background:#07050F!important;
    border-top:1px solid rgba(255,255,255,.08)!important;
    z-index:68!important;
  }
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode):not(.workspace-mode):not(.billing-workspace-mode) .compose-row{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 38px 38px!important;
    gap:6px!important;
    align-items:center!important;
  }
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode):not(.workspace-mode):not(.billing-workspace-mode) .composer textarea#messageInput{
    height:42px!important;
    min-height:42px!important;
    max-height:92px!important;
    padding:12px!important;
    font-size:12px!important;
    line-height:1.25!important;
    border-radius:10px!important;
  }
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode):not(.workspace-mode):not(.billing-workspace-mode) .attach-btn,
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode):not(.workspace-mode):not(.billing-workspace-mode) .send-btn{
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
    padding:0!important;
    border-radius:8px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    font-size:12px!important;
  }
}
/* Final public profile trade columns. */
.public-profile-trades .social-trade-scroll table{
  table-layout:fixed!important;
}
.public-profile-trades .social-trade-scroll th:nth-child(1),
.public-profile-trades .social-trade-scroll td:nth-child(1){width:40%!important;}
.public-profile-trades .social-trade-scroll th:nth-child(2),
.public-profile-trades .social-trade-scroll td:nth-child(2){width:14%!important;}
.public-profile-trades .social-trade-scroll th:nth-child(3),
.public-profile-trades .social-trade-scroll td:nth-child(3){width:20%!important;text-align:right!important;padding-right:42px!important;}
.public-profile-trades .social-trade-scroll th:nth-child(4),
.public-profile-trades .social-trade-scroll td:nth-child(4){width:26%!important;text-align:left!important;padding-left:42px!important;}
/* Final public profile meta cleanup. */
.public-profile-meta{
  color:#d8d4df!important;
}
.public-profile-meta span{
  color:#d8d4df!important;
}
.public-profile-meta i{
  color:#aaa4b5!important;
}
.public-profile-bio{
  display:none!important;
}
/* Final mobile community chat visibility repair. */
@media(max-width:760px){
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode):not(.billing-workspace-mode){
    --qc-mobile-channel-rail:clamp(122px,30vw,162px);
    display:grid!important;
    grid-template-columns:var(--qc-mobile-channel-rail) minmax(0,1fr)!important;
    overflow:hidden!important;
  }
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode):not(.billing-workspace-mode) .sidebar,
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode):not(.billing-workspace-mode).channels-collapsed .sidebar{
    position:fixed!important;
    left:0!important;
    top:0!important;
    bottom:76px!important;
    right:auto!important;
    width:var(--qc-mobile-channel-rail)!important;
    max-width:var(--qc-mobile-channel-rail)!important;
    height:auto!important;
    display:flex!important;
    opacity:1!important;
    transform:none!important;
    pointer-events:auto!important;
    z-index:62!important;
  }
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode):not(.billing-workspace-mode) .chat-panel{
    display:grid!important;
    position:fixed!important;
    left:var(--qc-mobile-channel-rail)!important;
    right:0!important;
    top:0!important;
    bottom:76px!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
    grid-template-rows:auto minmax(0,1fr) auto!important;
    background:#07050F!important;
    z-index:58!important;
    overflow:hidden!important;
  }
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode):not(.billing-workspace-mode) .messages{
    min-height:0!important;
    overflow:auto!important;
    padding:14px 10px 92px!important;
  }
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode):not(.billing-workspace-mode) .composer{
    left:var(--qc-mobile-channel-rail)!important;
    right:0!important;
    bottom:76px!important;
    width:auto!important;
  }
}
/* Final workspace transition loading screen. */
.workspace-transition{
  position:fixed;
  inset:0;
  z-index:9999;
  display:grid;
  place-items:center;
  background:#6f7074;
  opacity:0;
  pointer-events:none;
  transition:opacity .18s ease;
}
.workspace-transition.is-visible{
  opacity:1;
  pointer-events:auto;
}
.workspace-transition.hidden{
  display:none!important;
}
.workspace-transition-card{
  display:grid;
  justify-items:center;
  gap:22px;
  padding:24px;
  color:#f7f7fb;
  text-align:center;
}
.workspace-transition-card img{
  width:86px;
  height:86px;
  object-fit:contain;
  animation:qcTransitionSpin 1.15s linear infinite;
  filter:drop-shadow(0 16px 28px rgba(0,0,0,.18));
}
.workspace-transition-card p{
  max-width:min(520px,82vw);
  margin:0;
  color:#ffffff;
  font-size:clamp(16px,2.5vw,24px);
  font-weight:850;
  line-height:1.25;
  text-shadow:0 2px 18px rgba(0,0,0,.22);
}
@keyframes qcTransitionSpin{
  to{transform:rotate(360deg)}
}
@media(max-width:760px){
  .workspace-transition-card{gap:18px;padding:20px}
  .workspace-transition-card img{width:74px;height:74px}
  .workspace-transition-card p{font-size:17px}
}
/* Final social US100 price chart. */
.social-price-chart-card{
  margin:10px 10px 14px;
  overflow:hidden;
  border:1px solid var(--terminal-line);
  border-radius:8px;
  background:#07050F;
}
.social-price-chart-card header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  min-height:38px;
  padding:8px 10px;
  border-bottom:1px solid var(--terminal-line);
  background:#09070f;
}
.social-price-chart-card header span{
  display:block;
  color:#756f82;
  font-size:9px;
  font-weight:900;
  letter-spacing:.04em;
}
.social-price-chart-card header h3{
  margin:2px 0 0;
  color:#d9d4e0;
  font-size:13px;
  line-height:1.1;
}
.social-price-chart-card header strong{
  color:#7b7487;
  font-size:10px;
  font-weight:800;
  white-space:nowrap;
}
.social-price-chart-stage{
  position:relative;
  height:clamp(230px,28vh,320px);
  min-height:230px;
  background:#05040a;
}
.social-price-chart-stage svg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:block;
}
.social-price-grid line{
  stroke:rgba(255,255,255,.055);
  stroke-width:1;
}
.social-price-grid line.v{
  stroke:rgba(255,255,255,.035);
}
.social-price-grid text{
  fill:#696373;
  font:800 10px Archivo,sans-serif;
}
.social-price-candles .wick{
  stroke-width:1.1;
}
.social-price-candles .body,
.social-price-candles .vol{
  shape-rendering:crispEdges;
}
.social-price-candles .up .wick,
.social-price-candles .up .body{stroke:#16a05d;fill:#16a05d;}
.social-price-candles .down .wick,
.social-price-candles .down .body{stroke:#b54d26;fill:#b54d26;}
.social-price-candles .up .vol{fill:rgba(22,160,93,.42)}
.social-price-candles .down .vol{fill:rgba(181,77,38,.42)}
.social-price-markers{
  position:absolute;
  inset:0;
  pointer-events:none;
}
.social-price-marker{
  position:absolute;
  width:24px;
  height:24px;
  border-radius:50%;
  pointer-events:auto;
  filter:drop-shadow(0 5px 9px rgba(0,0,0,.45));
}
.social-price-marker .social-growth-avatar,
.social-price-marker .member-avatar,
.social-price-marker .generated-avatar{
  width:24px!important;
  height:24px!important;
  border-radius:50%!important;
  border:2px solid rgba(255,255,255,.22)!important;
  background:#17121e!important;
}
.social-price-marker .generated-avatar img,
.social-price-marker img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
}
@media(max-width:760px){
  .social-price-chart-card{margin:8px 8px 12px}
  .social-price-chart-stage{height:260px}
  .social-price-chart-card header{align-items:flex-start;flex-direction:column;gap:4px}
}
/* Final workspace transition tuning. */
.workspace-transition{
  background:#15161a!important;
  transition:opacity .14s ease-out!important;
}
.workspace-transition-card img{
  filter:invert(1) brightness(2.2) drop-shadow(0 16px 28px rgba(0,0,0,.28))!important;
}
.workspace-transition-card p{
  color:#ffffff!important;
}
/* Final connections chart placement. */
.social-terminal-market-stack{
  min-height:0;
  display:flex;
  flex-direction:column;
  gap:0;
  overflow:auto;
}
.social-terminal-market-stack .social-price-chart-card{
  flex:0 0 auto;
  border-bottom:1px solid rgba(255,255,255,.06);
}
.social-terminal-market-stack .social-terminal-library{
  flex:0 0 auto;
  min-height:auto;
}
.social-terminal-lower-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:10px;
  min-width:0;
  padding:10px;
  background:#07050f;
}

.social-price-marker-anonymous{
  display:grid!important;
  place-items:center;
  border:2px solid #07050f!important;
  background:#151922!important;
  box-shadow:0 0 0 1px rgba(35,211,238,.55),0 4px 12px rgba(0,0,0,.42)!important;
  pointer-events:none!important;
}
.social-price-marker-anonymous>i{
  width:10px;
  height:10px;
  border-radius:50%;
  background:#23d3ee;
  box-shadow:0 0 8px rgba(35,211,238,.7);
}

@media(min-width:981px){
  html body .social-terminal-v2.private-connections-mode{
    grid-template-columns:minmax(680px,1fr) minmax(282px,16fr)!important;
  }
  html body .social-terminal-v2.private-connections-mode>.connections-terminal-bar{
    grid-column:1 / -1!important;
  }
  html body .social-terminal-v2.private-connections-mode>.social-terminal-main-scroll{
    grid-column:1 / -1!important;
  }
}

/* Settings subscription layout: preserve readable checkout widths. */
.settings-workspace .settings-shell{
  width:100%!important;
  max-width:1520px!important;
  grid-template-columns:170px minmax(0,1fr)!important;
  gap:24px!important;
}
.settings-workspace .settings-main,
.settings-workspace .settings-billing-grid,
.settings-workspace .settings-billing-grid .subscription-shell{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
}
.settings-workspace .settings-billing-grid .subscription-shell{
  padding:32px 0 56px!important;
}
.settings-workspace .settings-billing-grid .subscription-grid{
  grid-template-columns:minmax(410px,.94fr) minmax(500px,1.06fr)!important;
  gap:24px!important;
}
.settings-workspace .subscription-summary-card,
.settings-workspace .subscription-checkout-card{
  width:100%;
  min-width:0;
}
.settings-workspace .subscription-price-line{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(72px,auto);
  align-items:end;
  gap:14px;
}
.settings-workspace .subscription-price-line strong{
  min-width:0;
  font-size:clamp(44px,4.2vw,62px);
  line-height:.95;
  letter-spacing:0;
  white-space:nowrap;
}
.settings-workspace .subscription-price-line span{
  max-width:92px;
  padding-bottom:3px;
  font-size:13px;
  line-height:1.15;
  white-space:normal;
}
.settings-workspace .subscription-summary-card dl{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.settings-workspace .subscription-summary-card dl div{
  padding:10px;
}
.settings-workspace .subscription-summary-card dd{
  font-size:13px;
  line-height:1.2;
  overflow-wrap:normal;
  word-break:normal;
  hyphens:none;
}

@media(max-width:1240px){
  .settings-workspace .settings-shell{
    grid-template-columns:150px minmax(0,1fr)!important;
    gap:18px!important;
  }
  .settings-workspace .settings-billing-grid .subscription-grid{
    grid-template-columns:minmax(360px,.92fr) minmax(430px,1.08fr)!important;
    gap:18px!important;
  }
  .settings-workspace .subscription-price-line strong{
    font-size:50px;
  }
}

@media(max-width:1080px){
  .settings-workspace .settings-shell{
    grid-template-columns:1fr!important;
    max-width:none!important;
  }
  .settings-workspace .settings-account-nav{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    padding-top:0;
  }
  .settings-workspace .settings-account-nav > span{
    grid-column:1/-1;
  }
  .settings-workspace .settings-billing-grid .subscription-grid{
    grid-template-columns:minmax(380px,.94fr) minmax(450px,1.06fr)!important;
  }
}

@media(max-width:920px){
  .settings-workspace .settings-billing-grid .subscription-grid{
    grid-template-columns:1fr!important;
  }
  .settings-workspace .subscription-price-line{
    grid-template-columns:minmax(0,1fr) auto;
  }
  .settings-workspace .subscription-price-line span{
    max-width:none;
    white-space:nowrap;
  }
}

@media(max-width:680px){
  .settings-workspace .settings-account-nav{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .settings-workspace .subscription-price-line strong{
    font-size:38px;
  }
  .settings-workspace .subscription-price-line span{
    max-width:82px;
    font-size:11px;
    white-space:normal;
  }
  .settings-workspace .subscription-summary-card dl{
    grid-template-columns:1fr;
  }
}
.social-terminal-lower-grid>.social-terminal-library,
.social-terminal-lower-grid>.social-community-swaps{
  min-width:0;
  height:286px;
  min-height:286px!important;
  border:1px solid var(--terminal-line);
  border-radius:7px;
  overflow:hidden;
  background:#09070f;
}
.social-terminal-lower-grid .social-terminal-model-list{
  max-height:218px;
  overflow:auto;
}
.social-community-swaps{display:flex;flex-direction:column}
.social-community-swaps-head{
  display:flex;
  align-items:center;
  min-height:36px;
  padding:7px 11px;
  border-bottom:1px solid var(--terminal-line);
  background:#15121c;
}
.social-community-swaps-head span{color:#f5f2f8;font-size:13px;font-weight:900;line-height:1}
.social-community-swaps-head strong{margin-left:auto;color:#817b8e;font-size:10px;line-height:1}
.social-community-swaps-columns,
.social-community-swap-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) 50px 86px 72px;
  column-gap:10px;
  row-gap:0;
  align-items:center;
}
.social-community-swaps-columns{
  flex:0 0 30px;
  min-height:30px;
  padding:0 10px;
  border-bottom:1px solid var(--terminal-line);
  color:#706a7d;
  font-size:8px;
  text-transform:uppercase;
}
.social-community-swaps-columns span:nth-child(2){text-align:left}
.social-community-swaps-columns span:nth-child(3){text-align:right}
.social-community-swaps-columns span:nth-child(4){text-align:left;padding-left:4px}
.social-community-swaps-list{min-height:0;overflow:auto}
.social-community-swap-row{
  width:100%;
  min-height:48px;
  padding:6px 10px;
  border:0;
  border-bottom:1px solid var(--terminal-line);
  color:var(--terminal-text);
  background:#09070f;
  text-align:left;
  cursor:pointer;
}
.social-community-swap-row:hover{background:#11101a}
.social-community-swap-trader{display:flex;align-items:center;gap:7px;min-width:0}
.social-community-swap-trader>i{display:block;width:26px;height:26px;min-width:26px;border-radius:50%;overflow:hidden;border:1px solid rgba(255,255,255,.1);font-style:normal}
.social-community-swap-trader>i img{width:100%;height:100%;object-fit:cover}
.social-community-swap-trader>span{display:flex;min-width:0;flex-direction:column;gap:2px}
.social-community-swap-trader b,.social-community-swap-trader small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.social-community-swap-trader b{color:#d8d4de;font-size:10px}
.social-community-swap-trader small{color:#6d6876;font-size:8px}
.social-community-swap-side{justify-self:start;padding:3px 6px;border-radius:3px;font-size:8px;font-weight:900}
.social-community-swap-side.buy{color:#25d39b;background:rgba(17,183,128,.1)}
.social-community-swap-side.sell{color:#ff6475;background:rgba(255,82,104,.1)}
.social-community-swap-side.neutral{color:#a7a2af;background:rgba(255,255,255,.05)}
.social-community-swap-pnl{font-size:9px;text-align:right;white-space:nowrap}
.social-community-swap-row time{display:flex;flex-direction:column;gap:1px;padding-left:4px;color:#77717f;font-size:8px;white-space:nowrap}
.social-community-swap-row time b{color:#8b8593;font-size:8px;font-weight:750}
.social-community-swap-row time small{color:#625d6b;font-size:7px}
.social-community-swaps-empty{display:grid;min-height:160px;place-items:center;color:#716b79;font-size:10px}
@media(max-width:1180px){
  .social-terminal-lower-grid{grid-template-columns:1fr}
  .social-terminal-lower-grid>.social-terminal-library,
  .social-terminal-lower-grid>.social-community-swaps{height:auto;min-height:240px!important}
}
@media(max-width:760px){
  .social-terminal-lower-grid{padding:7px;gap:7px}
  .social-community-swaps-columns,
  .social-community-swap-row{grid-template-columns:minmax(0,1fr) 48px 78px 64px;column-gap:8px}
  .social-community-swaps-columns span:nth-child(3){text-align:right}
}

/* Final TradingView-style social price chart. */
.social-price-chart-plot-card{
  height:var(--social-price-chart-height,clamp(420px,54vh,650px))!important;
  min-height:var(--social-price-chart-height,clamp(420px,54vh,650px))!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:#07050f!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
.social-price-symbol-bar{
  height:48px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 14px;
  border-bottom:1px solid rgba(255,255,255,.045);
  background:#07050f;
}
.social-price-symbol-bar img{
  width:30px;
  height:30px;
  min-width:30px;
  border-radius:50%;
  object-fit:cover;
  border:1px solid rgba(255,255,255,.12);
}
.social-price-symbol-bar div{display:flex;min-width:0;flex-direction:column;gap:2px}
.social-price-symbol-bar strong{color:#e5e7ee;font-size:13px;line-height:1.1;font-weight:850}
.social-price-symbol-bar span{color:#777b8a;font-size:10px;line-height:1.1;font-weight:700}
.social-price-symbol-bar .social-price-symbol-context{
  min-width:0;
  margin-left:8px;
  padding-left:16px;
  border-left:1px solid rgba(255,255,255,.10);
  color:#9b96a5;
  font-size:10px;
  font-weight:750;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.social-price-chart-toolbar{
  height:38px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 14px;
  color:#8f92a0;
  font-size:12px;
  font-weight:750;
  border-bottom:1px solid rgba(255,255,255,.045);
  background:#07050f;
}
.social-price-chart-left-tools,.social-price-chart-right-tools{display:flex;align-items:center;gap:10px;min-width:0}
.social-price-chart-toolbar button{
  min-height:28px;
  border:0;
  border-radius:4px;
  background:transparent;
  color:#8f92a0;
  font:inherit;
  padding:0 8px;
}
.social-price-chart-toolbar button.active,.social-price-chart-toolbar button:hover{background:rgba(255,255,255,.055);color:#d9dbe5}
.social-price-chart-info{
  position:absolute;
  z-index:4;
  left:14px;
  top:48px;
  display:flex;
  flex-direction:column;
  gap:4px;
  pointer-events:none;
  color:#9ea2b1;
  font-size:12px;
  font-weight:750;
}
.social-price-chart-info b{color:#c9cbd6;font-weight:850}
.social-price-chart-info span{color:#12b886;font-size:11px}
.social-price-plot-stage{
  position:relative!important;
  height:calc(var(--social-price-chart-height,clamp(420px,54vh,650px)) - 128px)!important;
  min-height:252px!important;
  background:#07050f!important;
  border:0!important;
  border-radius:0!important;
  overflow:hidden!important;
}
.social-price-plot{
  position:absolute;
  inset:0;
  z-index:1;
}
.social-price-plot .main-svg{background:#07050f!important}
.social-price-markers{position:absolute;inset:0;z-index:5;pointer-events:none}
.social-price-marker{position:absolute!important;width:26px!important;height:26px!important;border:2px solid rgba(7,5,15,.92)!important;border-radius:50%!important;box-shadow:0 4px 12px rgba(0,0,0,.42)!important;overflow:hidden!important;pointer-events:auto!important;background:#141620!important}
.social-price-marker .social-avatar,.social-price-marker img{width:100%!important;height:100%!important;border-radius:50%!important}
.social-price-chart-footer{
  height:32px;
  display:flex;
  align-items:center;
  gap:14px;
  padding:0 16px;
  color:#8f92a0;
  font-size:12px;
  font-weight:800;
  border-top:1px solid rgba(255,255,255,.045);
  background:#07050f;
}
.social-price-chart-footer i{flex:1}
.social-price-chart-footer button{
  min-width:0;
  min-height:24px;
  padding:0 5px;
  border:0;
  border-radius:3px;
  background:transparent;
  color:#777b8a;
  font:inherit;
  cursor:pointer;
}
.social-price-chart-footer button:hover{color:#c9cbd6;background:rgba(255,255,255,.045)}
.social-price-chart-footer button.active{color:#dfe2eb;background:rgba(255,255,255,.075)}
.social-chart-timezone-control{
  position:relative;
  display:flex;
  align-items:center;
  max-width:230px;
  min-width:112px;
  height:24px;
}
.social-chart-timezone-control:after{
  content:"";
  position:absolute;
  right:6px;
  width:5px;
  height:5px;
  border-right:1px solid #8b8f9c;
  border-bottom:1px solid #8b8f9c;
  transform:translateY(-2px) rotate(45deg);
  pointer-events:none;
}
.social-chart-timezone-control select{
  width:100%;
  height:24px;
  padding:0 20px 0 6px;
  border:0;
  border-radius:3px;
  outline:0;
  background:#0d0b13;
  color:#858996;
  font:inherit;
  font-weight:800;
  cursor:pointer;
  appearance:none;
  text-overflow:ellipsis;
}
.social-chart-timezone-control select:hover,
.social-chart-timezone-control select:focus{color:#dfe2eb;background:#15121b}
.social-chart-timezone-control select option,
.social-chart-timezone-control select optgroup{background:#0d0b13;color:#e2e3e9}
.social-price-overlay-controls{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:14px;
  white-space:nowrap;
}
.social-price-overlay-controls label{
  display:inline-flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:6px;
  color:#8f92a0;
  cursor:pointer;
  user-select:none;
}
.social-price-overlay-controls label:hover{color:#d3d5df}
.social-price-overlay-controls input{
  display:inline-block!important;
  flex:0 0 13px!important;
  width:13px;
  height:13px;
  margin:0;
  accent-color:#36b7d4;
  cursor:pointer;
}
.social-price-marker-avatar[hidden]{display:none!important}
@media(max-width:760px){
  .social-price-chart-footer{gap:10px;overflow-x:auto;scrollbar-width:none}
  .social-price-chart-footer::-webkit-scrollbar{display:none}
  .social-price-chart-footer i{min-width:8px}
  .social-price-overlay-controls{gap:10px}
  .social-chart-timezone-control{max-width:180px;min-width:104px}
}
.social-chart-resize-handle{
  position:relative;
  z-index:8;
  height:10px;
  display:grid;
  place-items:center;
  border:0;
  border-top:1px solid rgba(255,255,255,.04);
  background:#090710;
  cursor:ns-resize;
  touch-action:none;
  user-select:none;
}
.social-chart-resize-handle span{
  width:34px;
  height:3px;
  border-radius:2px;
  background:#3a3542;
  transition:width .15s ease,background-color .15s ease;
}
.social-chart-resize-handle small{
  position:absolute;
  left:50%;
  bottom:12px;
  padding:3px 6px;
  border:1px solid rgba(255,255,255,.1);
  border-radius:3px;
  color:#b8b2c0;
  background:#15111c;
  font-size:8px;
  line-height:1;
  opacity:0;
  pointer-events:none;
  transform:translate(-50%,4px);
  transition:opacity .12s ease,transform .12s ease;
}
.social-chart-resize-handle:hover span,
.social-chart-resize-handle:focus-visible span,
.social-price-chart-plot-card.is-resizing .social-chart-resize-handle span{width:46px;background:#777080}
.social-chart-resize-handle:hover small,
.social-chart-resize-handle:focus-visible small{opacity:1;transform:translate(-50%,0)}
.social-chart-resize-handle:focus-visible{outline:1px solid rgba(88,191,208,.55);outline-offset:-1px}
.social-price-chart-plot-card.is-resizing{cursor:ns-resize!important;user-select:none!important}
.social-price-markers[hidden]{display:none!important}
.social-chart-context-menu{
  position:fixed;
  z-index:100002;
  width:238px;
  padding:6px;
  border:1px solid rgba(255,255,255,.11);
  border-radius:6px;
  background:#111018;
  box-shadow:0 18px 52px rgba(0,0,0,.62);
  color:#d5d2dc;
  font-family:Inter,Arial,sans-serif;
}
.social-chart-context-menu button{
  width:100%;
  min-height:36px;
  display:grid;
  grid-template-columns:22px minmax(0,1fr) auto;
  align-items:center;
  gap:8px;
  padding:0 9px;
  border:0;
  border-radius:4px;
  background:transparent;
  color:#c9c5d0;
  font:inherit;
  font-size:11px;
  letter-spacing:0;
  text-align:left;
  cursor:pointer;
}
.social-chart-context-menu button:hover,
.social-chart-context-menu button:focus-visible{outline:0;background:#24212b;color:#fff}
.social-chart-context-menu button:disabled{opacity:.42;cursor:default}
.social-chart-context-menu button:disabled:hover{background:transparent}
.social-chart-context-menu button i{display:grid;place-items:center;color:#8e8997;font-size:15px;font-style:normal}
.social-chart-context-menu button span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.social-chart-context-menu button b{color:#f0edf4;font-weight:750}
.social-chart-context-menu button kbd{color:#6f6978;font:9px Inter,Arial,sans-serif;white-space:nowrap}
.social-chart-context-menu hr{height:1px;margin:5px 4px;border:0;background:rgba(255,255,255,.085)}
.social-price-chart-card header{display:none!important}
.social-terminal-market-stack .social-price-chart-card{border-bottom:1px solid rgba(255,255,255,.055)!important}
.social-price-plot.price-axis-dragging{cursor:ns-resize!important}
@media(max-width:760px){
  .social-price-chart-plot-card{height:var(--social-price-chart-height,430px)!important;min-height:var(--social-price-chart-height,430px)!important}
  .social-price-symbol-bar{height:44px;padding:0 10px}
  .social-price-symbol-bar img{width:28px;height:28px;min-width:28px}
  .social-price-symbol-bar .social-price-symbol-context{
    margin-left:auto;
    padding-left:10px;
    font-size:8px;
  }
  .social-price-chart-toolbar{padding:0 8px;gap:6px;overflow:hidden}
  .social-price-chart-left-tools{gap:4px;overflow:auto;scrollbar-width:none}
  .social-price-chart-right-tools{display:none}
  .social-price-plot-stage{height:calc(var(--social-price-chart-height,430px) - 124px)!important;min-height:256px!important}
}

/* Final mobile community split-screen repair. */
@media(max-width:820px){
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode),
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode).channels-collapsed,
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode).members-collapsed,
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode).channels-collapsed.members-collapsed{
    --qc-mobile-channel-rail:152px!important;
    display:block!important;
    width:100vw!important;
    max-width:100vw!important;
    height:100dvh!important;
    min-height:100dvh!important;
    padding:0!important;
    overflow:hidden!important;
    background:#07050F!important;
  }
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode) .sidebar,
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode).channels-collapsed .sidebar{
    position:fixed!important;
    display:flex!important;
    left:0!important;
    top:0!important;
    right:auto!important;
    bottom:76px!important;
    width:var(--qc-mobile-channel-rail)!important;
    min-width:var(--qc-mobile-channel-rail)!important;
    max-width:var(--qc-mobile-channel-rail)!important;
    height:auto!important;
    min-height:0!important;
    margin:0!important;
    padding:10px 8px!important;
    opacity:1!important;
    transform:none!important;
    pointer-events:auto!important;
    border-radius:0!important;
    border:0!important;
    border-right:1px solid rgba(255,255,255,.08)!important;
    background:#07050F!important;
    z-index:62!important;
    overflow:hidden!important;
  }
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode) .chat-panel,
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode).channels-collapsed .chat-panel{
    position:fixed!important;
    display:grid!important;
    left:var(--qc-mobile-channel-rail)!important;
    top:0!important;
    right:0!important;
    bottom:76px!important;
    width:calc(100vw - var(--qc-mobile-channel-rail))!important;
    min-width:0!important;
    max-width:none!important;
    height:auto!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    opacity:1!important;
    transform:none!important;
    pointer-events:auto!important;
    grid-template-rows:auto minmax(0,1fr) auto!important;
    border:0!important;
    border-radius:0!important;
    background:#07050F!important;
    z-index:60!important;
    overflow:hidden!important;
    visibility:visible!important;
  }
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode) .members-panel,
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode) .dm-panel,
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode) .workspace-panel{
    display:none!important;
  }
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode) .side-top,
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode) .community-server-cover,
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode) .portal-community-label,
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode) .direct-open,
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode) .sidebar-footer{
    display:none!important;
  }
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode) .side-section,
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode) .channels{
    display:flex!important;
    flex:1 1 auto!important;
    min-height:0!important;
    width:100%!important;
    max-width:100%!important;
    overflow:auto!important;
  }
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode) .chat-head{
    min-height:58px!important;
    padding:10px 12px!important;
    border-radius:0!important;
  }
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode) .messages{
    min-height:0!important;
    height:auto!important;
    overflow:auto!important;
    padding:14px 10px 96px!important;
  }
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode) .composer{
    position:fixed!important;
    display:block!important;
    left:var(--qc-mobile-channel-rail)!important;
    right:0!important;
    bottom:76px!important;
    width:calc(100vw - var(--qc-mobile-channel-rail))!important;
    min-width:0!important;
    max-width:none!important;
    margin:0!important;
    padding:8px!important;
    opacity:1!important;
    transform:none!important;
    visibility:visible!important;
    background:#07050F!important;
    border-top:1px solid rgba(255,255,255,.08)!important;
    z-index:70!important;
  }
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode) .sidebar .portal-nav{
    position:fixed!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    top:auto!important;
    width:100vw!important;
    height:76px!important;
    z-index:80!important;
  }
}

/* Final mobile community logo restore. */
@media(max-width:820px){
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode) .side-top{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    flex:0 0 auto!important;
    min-height:58px!important;
    margin:0 0 10px!important;
    padding:4px 6px 10px!important;
    border-bottom:0!important;
  }
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode) .side-top .brand,
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode) .side-top .community-brand-logo,
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode) .side-top>a.logo{
    display:flex!important;
    align-items:center!important;
    gap:10px!important;
    min-width:0!important;
    color:#ffffff!important;
    font-size:15px!important;
    font-weight:900!important;
    text-decoration:none!important;
  }
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode) .side-top .brand-logo,
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode) .side-top .logo-mark{
    display:grid!important;
    width:40px!important;
    height:40px!important;
    flex:0 0 40px!important;
    border-radius:8px!important;
    background:transparent!important;
    border:0!important;
    overflow:hidden!important;
  }
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode) .side-top .brand-logo img,
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode) .side-top .logo-mark img{
    display:block!important;
    width:100%!important;
    height:100%!important;
    object-fit:contain!important;
    opacity:1!important;
    filter:none!important;
  }
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode) .side-top .brand-wordmark,
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode) .side-top span[data-brand]{
    display:block!important;
    min-width:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    color:#ffffff!important;
  }
}

/* Final compact model library header. */
.social-terminal-v2 .social-terminal-library>.social-terminal-model-head{
  min-height:36px!important;
  align-items:center!important;
  padding:7px 13px!important;
}
.social-terminal-model-title{
  display:block!important;
  color:#f5f2f8!important;
  font-size:13px!important;
  font-weight:900!important;
  line-height:1!important;
}
.social-terminal-v2 .social-terminal-library>.social-terminal-model-head>strong{
  margin-left:auto!important;
  color:#817b8e!important;
  font-size:10px!important;
  line-height:1!important;
}
.social-terminal-v2 .social-terminal-model-columns{
  min-height:30px!important;
}

/* Final mobile community composer/profile alignment fix. */
@media(max-width:760px){
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode):not(.workspace-mode):not(.billing-workspace-mode){
    --qc-mobile-channel-rail:clamp(150px,39vw,190px)!important;
    grid-template-columns:var(--qc-mobile-channel-rail) minmax(0,1fr)!important;
    column-gap:0!important;
    gap:0!important;
    background:#07050F!important;
  }
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode):not(.workspace-mode):not(.billing-workspace-mode) .sidebar,
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode):not(.workspace-mode):not(.billing-workspace-mode).channels-collapsed .sidebar{
    left:0!important;
    top:0!important;
    bottom:76px!important;
    width:var(--qc-mobile-channel-rail)!important;
    max-width:var(--qc-mobile-channel-rail)!important;
    padding:10px 8px 0!important;
    background:#07050F!important;
    border-right:1px solid rgba(255,255,255,.08)!important;
  }
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode):not(.workspace-mode):not(.billing-workspace-mode) .side-top{
    display:flex!important;
    flex:0 0 auto!important;
    padding:4px 4px 10px!important;
    margin:0 0 6px!important;
  }
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode):not(.workspace-mode):not(.billing-workspace-mode) .brand-word,
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode):not(.workspace-mode):not(.billing-workspace-mode) .side-top .collapse-btn,
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode):not(.workspace-mode):not(.billing-workspace-mode) .side-top .admin-open{
    display:none!important;
  }
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode):not(.workspace-mode):not(.billing-workspace-mode) .sidebar-footer{
    display:flex!important;
    flex:0 0 auto!important;
    min-height:54px!important;
    padding:8px 4px 10px!important;
    margin-top:auto!important;
    border-top:1px solid rgba(255,255,255,.08)!important;
    background:#07050F!important;
  }
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode):not(.workspace-mode):not(.billing-workspace-mode) .user-card.compact{
    display:grid!important;
    grid-template-columns:28px minmax(0,1fr) 28px!important;
    gap:7px!important;
    width:100%!important;
    min-width:0!important;
    align-items:center!important;
  }
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode):not(.workspace-mode):not(.billing-workspace-mode) .user-card.compact .mini-avatar{
    width:28px!important;
    height:28px!important;
  }
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode):not(.workspace-mode):not(.billing-workspace-mode) .user-card.compact strong,
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode):not(.workspace-mode):not(.billing-workspace-mode) .user-card.compact span{
    max-width:100%!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode):not(.workspace-mode):not(.billing-workspace-mode) .chat-panel{
    position:fixed!important;
    left:var(--qc-mobile-channel-rail)!important;
    right:0!important;
    top:0!important;
    bottom:76px!important;
    width:calc(100vw - var(--qc-mobile-channel-rail))!important;
    max-width:calc(100vw - var(--qc-mobile-channel-rail))!important;
    margin:0!important;
    display:grid!important;
    grid-template-rows:auto minmax(0,1fr) auto!important;
    border-left:0!important;
    border-radius:0!important;
    overflow:hidden!important;
    background:#07050F!important;
  }
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode):not(.workspace-mode):not(.billing-workspace-mode) .messages{
    grid-row:2!important;
    min-width:0!important;
    width:100%!important;
    padding:14px 10px 14px!important;
    overflow:auto!important;
  }
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode):not(.workspace-mode):not(.billing-workspace-mode) .composer,
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode):not(.workspace-mode):not(.billing-workspace-mode) #messageForm{
    position:relative!important;
    left:auto!important;
    right:auto!important;
    bottom:auto!important;
    grid-row:3!important;
    width:100%!important;
    min-width:0!important;
    display:block!important;
    padding:8px!important;
    margin:0!important;
    background:#07050F!important;
    border-top:1px solid rgba(255,255,255,.08)!important;
    z-index:2!important;
  }
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode):not(.workspace-mode):not(.billing-workspace-mode) .composer.hidden,
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode):not(.workspace-mode):not(.billing-workspace-mode) #messageForm.hidden{
    display:none!important;
  }
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode):not(.workspace-mode):not(.billing-workspace-mode) .compose-row{
    width:100%!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 34px 34px!important;
    gap:6px!important;
  }
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode):not(.workspace-mode):not(.billing-workspace-mode) .composer textarea#messageInput{
    width:100%!important;
    min-width:0!important;
    height:40px!important;
    min-height:40px!important;
    padding:11px 10px!important;
    border-radius:9px!important;
    font-size:11px!important;
  }
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode):not(.workspace-mode):not(.billing-workspace-mode) .attach-btn,
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode):not(.workspace-mode):not(.billing-workspace-mode) .send-btn{
    width:34px!important;
    min-width:34px!important;
    height:40px!important;
    border-radius:8px!important;
  }
}

/* Final mobile community profile avatar class coverage. */
@media(max-width:760px){
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode):not(.workspace-mode):not(.billing-workspace-mode) .user-card.compact .avatar,
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode):not(.workspace-mode):not(.billing-workspace-mode) .user-card.compact .mini-avatar{
    display:grid!important;
    width:28px!important;
    height:28px!important;
    min-width:28px!important;
    border-radius:50%!important;
    overflow:hidden!important;
  }
  .dashboard.community-mode:not(.social-trading-mode):not(.inbox-mode):not(.workspace-mode):not(.billing-workspace-mode) .user-card.compact .profile-open{
    display:grid!important;
    width:28px!important;
    height:28px!important;
    min-width:28px!important;
    padding:0!important;
    place-items:center!important;
  }
}


/* Final Plotly price visibility repair. */
.social-price-plot .cartesianlayer .trace path,
.social-price-plot .cartesianlayer .trace line{
  opacity:1!important;
  visibility:visible!important;
}
.social-price-plot .scatterlayer .trace path{
  stroke-opacity:1!important;
  opacity:1!important;
}
.social-price-plot .barlayer .point path{
  opacity:.55!important;
}
.social-price-plot .main-svg,
.social-price-plot .svg-container{
  overflow:visible!important;
}


/* Final non-WebGL price chart background lock. */
.social-price-plot,
.social-price-plot .svg-container,
.social-price-plot .main-svg,
.social-price-plot .plot-container,
.social-price-plot .plotly,
.social-price-plot .bg{
  background:#07050F!important;
}
.social-price-plot .scatterlayer .js-line{
  stroke:#55e6ff!important;
  stroke-width:2.35px!important;
  opacity:1!important;
}


/* Final SVG open-price chart renderer. */
.social-price-chart-info{display:none!important;}
.social-price-plot{background:#07050F!important;overflow:hidden!important;}
.social-price-plot>div,.social-price-plot canvas{display:block;}
.social-price-live-legend{
  position:absolute;
  z-index:6;
  top:10px;
  left:14px;
  display:flex;
  align-items:center;
  gap:10px;
  pointer-events:none;
  color:#9699a7;
  font-size:11px;
  font-weight:750;
}

.social-price-live-legend b{color:#d6d8df;font-weight:850;}
.social-price-live-legend .up{color:#089981;}
.social-price-live-legend .down{color:#f23645;}
.social-price-empty{height:100%;display:grid;place-items:center;color:#6f6879;font-size:12px;font-weight:800;background:#07050F;}
.social-open-price-svg{display:block;width:100%;height:100%;background:#07050F;}
.social-open-price-grid line{stroke:rgba(255,255,255,.055);stroke-width:1;}
.social-open-price-grid text{fill:#6f6879;font:800 10px Inter,Arial,sans-serif;}
.social-open-price-area{fill:rgba(85,230,255,.08);}
.social-open-price-line{fill:none;stroke:#55e6ff;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 8px rgba(85,230,255,.22));}
.social-open-price-current{stroke:rgba(85,230,255,.35);stroke-width:1;stroke-dasharray:4 5;}
.social-open-price-dot{fill:#9ff4ff;stroke:#07050F;stroke-width:2;}
.social-open-price-label rect{fill:#18b8c9;}
.social-open-price-label text{fill:#041014;font:900 10px Inter,Arial,sans-serif;}
.social-open-price-caption{fill:#55e6ff;font:900 11px Inter,Arial,sans-serif;}
.social-open-price-date{fill:#6f6879;font:800 10px Inter,Arial,sans-serif;}


/* Final TradingView-style SVG candlestick chart. */
.social-tv-candle-svg{display:block;width:100%;height:100%;background:#07050F;}
.social-tv-grid line{stroke:rgba(255,255,255,.055);stroke-width:1;}
.social-tv-grid text{fill:#6f6879;font:800 10px Inter,Arial,sans-serif;}
.social-tv-candle .wick{stroke-width:1.15;shape-rendering:crispEdges;}
.social-tv-candle .body{shape-rendering:crispEdges;}
.social-tv-candle.up .wick,.social-tv-candle.up .body{stroke:#f0f3f8;fill:#07050F;}
.social-tv-candle.down .wick,.social-tv-candle.down .body{stroke:#f0f3f8;fill:#f0f3f8;}
.social-tv-current{stroke:rgba(240,243,248,.35);stroke-width:1;stroke-dasharray:4 5;}
.social-tv-price-label rect{fill:#f0f3f8;}
.social-tv-price-label text{fill:#07050F;font:900 10px Inter,Arial,sans-serif;}
.social-tv-caption{fill:#f0f3f8;font:900 11px Inter,Arial,sans-serif;}
.social-tv-date{fill:#6f6879;font:800 10px Inter,Arial,sans-serif;}

/* Final settings profile banner editor. */
.settings-profile-card-with-banner{
  position:relative!important;
  min-height:142px!important;
  overflow:hidden!important;
  padding:0!important;
}
.settings-profile-banner-preview{
  position:absolute;
  inset:0 0 auto 0;
  height:82px;
  background:#121119;
  background-size:cover!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
  border-bottom:1px solid rgba(255,255,255,.08);
  overflow:hidden;
}
.settings-profile-banner-preview::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:rgba(7,5,15,.58);
  opacity:0;
  transition:opacity .16s ease;
  pointer-events:none;
}
.settings-media-edit input[type="file"]{display:none!important}
.settings-media-edit{
  position:absolute;
  z-index:3;
  display:grid;
  place-items:center;
  cursor:pointer;
}
.settings-media-edit span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:30px;
  padding:0 11px;
  border:1px solid rgba(255,255,255,.25);
  border-radius:7px;
  color:#fff;
  background:rgba(7,5,15,.72);
  font-size:11px;
  font-weight:800;
  opacity:0;
  transition:opacity .16s ease,background-color .16s ease;
}
.settings-banner-media-edit{inset:0}
.settings-banner-inline-actions{
  position:absolute;
  top:8px;
  right:8px;
  z-index:4;
  display:flex;
  align-items:center;
  gap:6px;
  opacity:0;
  transition:opacity .16s ease;
}
.settings-banner-inline-actions button,
.settings-banner-inline-color{
  height:28px;
  border:1px solid rgba(255,255,255,.22);
  border-radius:7px;
  background:rgba(7,5,15,.76);
  color:#fff;
}
.settings-banner-inline-actions button{padding:0 9px;font:800 10px Aeonik,ui-sans-serif,sans-serif;cursor:pointer}
.settings-banner-inline-color{width:30px;display:grid;place-items:center;overflow:hidden;cursor:pointer}
.settings-banner-inline-color input{width:38px;height:38px;padding:0;border:0;background:transparent;cursor:pointer}
.settings-profile-banner-preview:hover::after,
.settings-profile-banner-preview:focus-within::after,
.settings-profile-banner-preview:hover .settings-media-edit span,
.settings-profile-banner-preview:focus-within .settings-media-edit span,
.settings-profile-banner-preview:hover .settings-banner-inline-actions,
.settings-profile-banner-preview:focus-within .settings-banner-inline-actions{opacity:1}
.settings-profile-card-with-banner .settings-profile-id{
  position:relative;
  z-index:1;
  margin-top:54px;
  padding:0 22px 18px;
  align-items:end;
}
.settings-profile-card-with-banner .settings-profile-avatar{
  position:relative;
  border:3px solid #07050F!important;
  box-shadow:0 12px 30px rgba(0,0,0,.38);
  overflow:visible;
}
.settings-profile-avatar-image{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  overflow:hidden;
  border-radius:50%;
}
.settings-avatar-media-edit{
  inset:0;
  border-radius:50%;
  overflow:hidden;
  background:rgba(7,5,15,.64);
  opacity:0;
  transition:opacity .16s ease;
}
.settings-avatar-media-edit span{min-height:0;padding:0;border:0;background:transparent;font-size:10px}
.settings-avatar-inline-clear{
  position:absolute;
  top:-5px;
  right:-5px;
  z-index:5;
  width:22px;
  height:22px;
  display:grid;
  place-items:center;
  padding:0;
  border:1px solid rgba(255,255,255,.25);
  border-radius:50%;
  color:#fff;
  background:#17131f;
  font:700 15px/1 Aeonik,ui-sans-serif,sans-serif;
  cursor:pointer;
  opacity:0;
  transition:opacity .16s ease;
}
.settings-profile-avatar-control:hover .settings-avatar-media-edit,
.settings-profile-avatar-control:focus-within .settings-avatar-media-edit,
.settings-profile-avatar-control:hover .settings-avatar-media-edit span,
.settings-profile-avatar-control:focus-within .settings-avatar-media-edit span,
.settings-profile-avatar-control:hover .settings-avatar-inline-clear,
.settings-profile-avatar-control:focus-within .settings-avatar-inline-clear{opacity:1}
.settings-banner-editor{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:18px;
  border:1px solid rgba(255,255,255,.075);
  border-radius:14px;
  background:rgba(255,255,255,.025);
  padding:14px;
}
.settings-banner-editor p{margin:5px 0 0;color:var(--terminal-muted);font-size:11px;line-height:1.35}
.settings-banner-controls{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}
.settings-banner-color{display:flex!important;align-items:center;gap:8px!important;margin:0!important}
.settings-banner-color input{width:44px!important;height:36px!important;min-height:36px!important;padding:3px!important;border-radius:9px!important;cursor:pointer}
.settings-banner-upload input{display:none!important}
.settings-banner-upload span,.settings-banner-clear{
  min-height:36px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,.12);
  border-radius:9px;
  background:#11141a;
  color:#d9dbe5;
  padding:0 12px;
  font-size:12px;
  font-weight:850;
  cursor:pointer;
}
.settings-banner-clear{font-family:inherit}
.settings-banner-upload span:hover,.settings-banner-clear:hover{border-color:rgba(85,230,255,.32);color:#fff}
.settings-avatar-editor{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:18px;
  border:1px solid rgba(255,255,255,.075);
  border-radius:14px;
  background:rgba(255,255,255,.025);
  padding:14px;
}
.settings-avatar-editor p{margin:5px 0 0;color:var(--terminal-muted);font-size:11px;line-height:1.35}
.settings-profile-avatar-image img{width:100%;height:100%;display:block;object-fit:cover;border-radius:50%}
@media(max-width:760px){
  .settings-banner-editor,.settings-avatar-editor{grid-template-columns:1fr;align-items:stretch}
  .settings-banner-controls{justify-content:flex-start}
}
@media(hover:none){
  .settings-profile-banner-preview::after{opacity:.24}
  .settings-profile-banner-preview .settings-media-edit span,
  .settings-profile-banner-preview .settings-banner-inline-actions,
  .settings-profile-avatar-control .settings-avatar-media-edit,
  .settings-profile-avatar-control .settings-avatar-media-edit span,
  .settings-profile-avatar-control .settings-avatar-inline-clear{opacity:1}
}

/* Final price chart pan cursor. */
.social-tv-candle-svg{cursor:grab;touch-action:none;user-select:none;}
.social-tv-candle-svg.is-panning{cursor:grabbing;}

/* Candle-linked trader avatars for the historical Connections chart. */
.social-price-markers{
  position:absolute!important;
  inset:0!important;
  z-index:8!important;
  overflow:hidden!important;
  pointer-events:none!important;
}
.social-price-marker-stack{
  position:absolute!important;
  left:0!important;
  top:0!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  width:30px!important;
  pointer-events:none!important;
  will-change:transform!important;
}
.social-price-marker-stack[hidden]{display:none!important;}
.social-price-marker-avatar{
  position:relative!important;
  display:grid!important;
  place-items:center!important;
  width:30px!important;
  height:30px!important;
  min-width:30px!important;
  min-height:30px!important;
  max-width:30px!important;
  max-height:30px!important;
  margin:0!important;
  margin-top:-10px!important;
  padding:0!important;
  border:2px solid #07050f!important;
  border-radius:50%!important;
  overflow:hidden!important;
  background:#17121e!important;
  box-shadow:0 3px 10px rgba(0,0,0,.58)!important;
  cursor:pointer!important;
  pointer-events:auto!important;
}
.social-price-marker-avatar:first-child{margin-top:0!important;}
.social-price-marker-avatar:hover{
  z-index:10!important;
  border-color:#56e6ff!important;
  box-shadow:0 0 0 2px rgba(86,230,255,.18),0 5px 14px rgba(0,0,0,.7)!important;
}
.social-price-marker-avatar>img,
.social-price-marker-avatar>.generated-avatar,
.social-price-marker-avatar>.generated-avatar>img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-width:100%!important;
  min-height:100%!important;
  border:0!important;
  border-radius:50%!important;
  object-fit:cover!important;
}
@media(max-width:760px){
  .social-price-marker-stack{width:28px!important;}
  .social-price-marker-avatar{width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important;max-width:28px!important;max-height:28px!important;margin-top:-9px!important;}
}

/* Connections chart settings dialog. */
.social-chart-settings-backdrop{position:fixed;inset:0;z-index:100000;display:grid;place-items:center;padding:24px;background:rgba(3,2,8,.76);backdrop-filter:blur(4px)}
.social-chart-settings-backdrop.hidden{display:none!important}
.social-chart-settings-dialog{width:min(620px,calc(100vw - 32px));max-height:min(760px,calc(100vh - 40px));overflow:hidden;border:1px solid rgba(255,255,255,.12);border-radius:7px;background:#0a0810;box-shadow:0 28px 90px rgba(0,0,0,.62);color:#e9e7ef}
.social-chart-settings-dialog>header{display:flex!important;align-items:center!important;justify-content:space-between!important;padding:18px 20px!important;border-bottom:1px solid rgba(255,255,255,.09)!important}
.social-chart-settings-dialog>header span{color:#5fe3f4;font-size:9px;font-weight:800;text-transform:uppercase}
.social-chart-settings-dialog>header h2{margin:2px 0 0;font-size:19px;letter-spacing:0}
.social-chart-settings-dialog>header button{width:34px;height:34px;padding:0;border:1px solid rgba(255,255,255,.14);border-radius:5px;background:#100d16;color:#d9d6df;font-size:24px;line-height:1;cursor:pointer}
.social-chart-settings-dialog form{display:grid;grid-template-columns:150px minmax(0,1fr);min-height:470px}
.social-chart-settings-tabs{padding:14px;border-right:1px solid rgba(255,255,255,.08);background:#08060d}
.social-chart-settings-tabs button{width:100%;padding:11px 12px;border:0;border-radius:4px;background:transparent;color:#817b8d;text-align:left;font-weight:750;cursor:pointer}
.social-chart-settings-tabs button.active{background:#17131d;color:#f3eff8}
.social-chart-settings-tabs span{display:block;margin:14px 12px;color:#514b5c;font-size:9px;font-weight:800;text-transform:uppercase}
.social-chart-settings-body{max-height:520px;overflow:auto;padding:8px 20px 12px}
.social-chart-settings-body>label{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;min-height:58px;border-bottom:1px solid rgba(255,255,255,.065);color:#d8d4df;text-align:left!important}
.social-chart-settings-body label span{display:grid!important;gap:3px;min-width:0;text-align:left!important}
.social-chart-settings-body label b{font-size:12px}
.social-chart-settings-body label small{color:#676170;font-size:9px}
.social-chart-setting-color input{width:38px;height:28px;padding:2px;border:1px solid rgba(255,255,255,.14);border-radius:4px;background:#100d16;cursor:pointer}
.social-chart-setting-toggle{cursor:pointer}.social-chart-setting-toggle input{position:absolute;opacity:0;pointer-events:none}
.social-chart-setting-toggle i{position:relative;width:34px;height:18px;flex:0 0 auto;border-radius:10px;background:#28232f;transition:.16s ease}
.social-chart-setting-toggle i:after{content:"";position:absolute;top:3px;left:3px;width:12px;height:12px;border-radius:50%;background:#8b8494;transition:.16s ease}
.social-chart-setting-toggle input:checked+i{background:#167f82}.social-chart-setting-toggle input:checked+i:after{left:19px;background:#dffcff}
.social-chart-setting-range input{width:150px;accent-color:#49dbe7}
.social-chart-settings-dialog footer{grid-column:1/-1;display:flex;align-items:center;gap:9px;padding:12px 16px;border-top:1px solid rgba(255,255,255,.09);background:#08060d}
.social-chart-settings-dialog footer span{flex:1}.social-chart-settings-dialog footer button{padding:9px 15px;border:1px solid rgba(255,255,255,.14);border-radius:5px;background:#100d16;color:#d8d4df;cursor:pointer}
.social-chart-settings-dialog footer button.primary{border-color:#42dcea;background:#42dcea;color:#061014;font-weight:850}.social-chart-settings-dialog footer .social-chart-settings-reset{color:#898290}
@media(max-width:620px){
  .social-chart-settings-backdrop{padding:10px}.social-chart-settings-dialog{width:100%;max-height:calc(100vh - 20px)}
  .social-chart-settings-dialog form{grid-template-columns:1fr;min-height:0}.social-chart-settings-tabs{display:flex;align-items:center;padding:8px 12px;border-right:0;border-bottom:1px solid rgba(255,255,255,.08)}
  .social-chart-settings-tabs button{width:auto}.social-chart-settings-tabs span{margin:0 8px 0 auto}.social-chart-settings-body{max-height:calc(100vh - 220px);padding:6px 15px 10px}
  .social-chart-setting-range{align-items:flex-start!important;flex-direction:column;padding:10px 0}.social-chart-setting-range input{width:100%}
}

/* Final license visibility icon polish. */
.social-terminal-eye{
  display:grid;
  place-items:center;
  width:42px;
  min-width:42px;
  padding:0;
}
.social-terminal-eye .license-eye-icon{
  width:19px;
  height:19px;
  display:block;
  color:#f4f7fb;
  opacity:.92;
}
.social-terminal-eye .license-eye-icon svg{
  width:100%;
  height:100%;
  display:block;
  fill:none;
  stroke:currentColor;
  stroke-width:2.15;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.social-terminal-eye .license-eye-hide{display:none;}
.social-terminal-eye.is-visible .license-eye-show{display:none;}
.social-terminal-eye.is-visible .license-eye-hide{display:block;}
.social-terminal-eye:hover .license-eye-icon,
.social-terminal-eye.is-visible .license-eye-icon{opacity:1;color:#fff;}

/* Final model library title casing. */
.social-terminal-v2 .social-terminal-model-title{
  text-transform:none!important;
  letter-spacing:0!important;
}
@media(max-width:760px){
  .admin-log-category-tabs{grid-template-columns:1fr 1fr}
  .admin-log-output-head{align-items:flex-start;flex-direction:column;gap:5px}
  .admin-logs-list{max-height:55vh;min-height:260px}
}

/* Model Library responsive column lock. */
@media(min-width:981px) and (max-width:1500px){
  .social-terminal-v2 .social-terminal-model-columns,
  .social-terminal-v2 .social-terminal-model-row{
    grid-template-columns:36px minmax(135px,1fr) minmax(110px,.8fr) 88px 72px 72px 82px!important;
    gap:6px!important;
  }
  .social-terminal-v2 .social-terminal-model-columns>span:nth-child(3),
  .social-terminal-v2 .social-terminal-model-columns>span:nth-child(4),
  .social-terminal-v2 .social-terminal-model-row>.social-terminal-model-pair,
  .social-terminal-v2 .social-terminal-model-row>.social-terminal-model-timeframe{display:none!important}
  .social-terminal-v2 .social-terminal-model-columns>span{white-space:nowrap}
}
@media(max-width:980px){
  .social-terminal-v2 .social-terminal-model-columns{display:none!important}
  .social-terminal-v2 .social-terminal-model-row{
    grid-template-columns:36px minmax(0,1fr) minmax(92px,34vw)!important;
    gap:8px!important;
    padding:10px!important;
  }
  .social-terminal-v2 .social-terminal-model-row>.social-terminal-model-equity{
    display:block!important;
    grid-column:3!important;
    grid-row:1!important;
    min-width:0!important;
    height:36px!important;
  }
  .social-terminal-v2 .social-terminal-model-row>.social-terminal-model-pair,
  .social-terminal-v2 .social-terminal-model-row>.social-terminal-model-timeframe,
  .social-terminal-v2 .social-terminal-model-row>.social-terminal-model-metric{display:none!important}
  .social-terminal-v2 .social-terminal-model-live-link{
    min-height:20px;
    padding-inline:6px;
    font-size:8px;
  }
}

/* Settings surface: extend the outer canvas without disturbing its contents. */
@media(min-width:1181px){
  .dashboard.community-mode .community-workspace-content.settings-workspace .settings-shell{
    box-sizing:border-box!important;
    width:calc(100% + 280px)!important;
    max-width:2100px!important;
    min-height:calc(100vh - 120px)!important;
    margin-left:-140px!important;
    margin-right:-140px!important;
    padding:78px clamp(92px,7vw,144px) 112px!important;
    border-radius:40px!important;
    border-color:rgba(255,255,255,.085)!important;
    box-shadow:0 46px 130px rgba(0,0,0,.4),inset 0 1px 0 rgba(255,255,255,.06)!important;
  }
}
@media(min-width:1181px) and (max-width:1320px){
  .dashboard.community-mode .community-workspace-content.settings-workspace .settings-shell{
    width:calc(100% + 72px)!important;
    margin-left:-36px!important;
    margin-right:-36px!important;
    padding:44px 44px 64px!important;
    border-radius:34px!important;
  }
}

/* Final settings spacing: keep the surface generous around its content. */
.settings-profile-card,
.settings-plan-card,
.settings-inline-profile-card,
.settings-password-box{
  padding:32px!important;
  border-radius:18px!important;
}
.settings-main{
  gap:32px!important;
}
@media(min-width:1321px){
  .dashboard.community-mode .community-workspace-content.settings-workspace .settings-shell{
    width:calc(100% + 160px)!important;
    max-width:1960px!important;
    margin-left:-80px!important;
    margin-right:-80px!important;
    padding:58px clamp(64px,5vw,104px) 84px!important;
  }
}
@media(min-width:981px) and (max-width:1320px){
  .dashboard.community-mode .community-workspace-content.settings-workspace .settings-shell{
    width:calc(100% + 72px)!important;
    margin-left:-36px!important;
    margin-right:-36px!important;
    padding:44px 44px 64px!important;
  }
}
@media(max-width:980px){
  .settings-profile-card,
  .settings-plan-card,
  .settings-inline-profile-card,
  .settings-password-box{
    padding:24px!important;
  }
}
@media(max-width:560px){
  .settings-profile-card,
  .settings-plan-card,
  .settings-inline-profile-card,
  .settings-password-box{
    padding:22px!important;
  }
}

@media(min-width:981px){
  .social-terminal-v2 .model-library-expanded .social-terminal-model-table-scroll{
    width:100%;
    overflow-x:auto;
    overflow-y:hidden;
    scrollbar-width:thin;
    scrollbar-color:#34303d #09070f;
  }
  .social-terminal-v2 .model-library-expanded .social-terminal-model-columns,
  .social-terminal-v2 .model-library-expanded .social-terminal-model-row{
    min-width:1560px;
    grid-template-columns:42px minmax(200px,1.35fr) minmax(140px,.9fr) 100px 62px 118px 96px 96px 92px repeat(5,96px)!important;
    gap:8px!important;
  }
  .social-terminal-v2 .model-library-expanded .social-terminal-model-columns>span:nth-child(3),
  .social-terminal-v2 .model-library-expanded .social-terminal-model-columns>span:nth-child(4),
  .social-terminal-v2 .model-library-expanded .social-terminal-model-row>.social-terminal-model-pair,
  .social-terminal-v2 .model-library-expanded .social-terminal-model-row>.social-terminal-model-timeframe{
    display:block!important;
  }
  .social-terminal-v2 .model-library-expanded .social-terminal-model-metric b{white-space:nowrap}
}

/* Keep the model-detail hero cards inside their own grid row. */
.social-terminal-detail .social-terminal-detail-hero{
  grid-template-rows:minmax(0,1fr)!important;
  min-height:0!important;
  overflow:hidden!important;
  isolation:isolate;
}
.social-terminal-detail .social-terminal-detail-hero>.social-terminal-curve,
.social-terminal-detail .social-terminal-detail-hero>.social-historical-eval{
  min-height:0!important;
  max-height:100%!important;
  margin:0!important;
  overflow:hidden!important;
}
.social-terminal-detail .social-terminal-detail-hero .model-pnl-card{
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  max-height:100%!important;
  margin:0!important;
  overflow:hidden!important;
}
.social-terminal-detail .social-terminal-detail-hero .model-pnl-svg{
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:100%!important;
  flex:1 1 0%!important;
}
.social-terminal-detail>.social-terminal-stats{
  position:relative;
  z-index:2;
  margin-top:14px!important;
  background:var(--terminal-bg);
  isolation:isolate;
}
@media(max-width:1280px){
  .social-terminal-detail .social-terminal-detail-hero{
    grid-template-rows:clamp(460px,60vw,620px) 480px!important;
    overflow:hidden!important;
  }
  .social-terminal-detail .social-terminal-detail-hero>.social-terminal-curve{
    height:clamp(460px,60vw,620px)!important;
    max-height:620px!important;
  }
  .social-terminal-detail .social-terminal-detail-hero>.social-historical-eval{
    height:480px!important;
    max-height:480px!important;
  }
}

/* Final login glass lock: keep the space backdrop visible through the auth side. */
html body #authView.auth-shell .auth-side{
  background:linear-gradient(135deg,rgba(38,44,58,.1),rgba(16,20,31,.04))!important;
  border-left:1px solid rgba(255,255,255,.12)!important;
  -webkit-backdrop-filter:blur(8px) saturate(140%) brightness(1.3)!important;
  backdrop-filter:blur(8px) saturate(140%) brightness(1.3)!important;
  box-shadow:inset 1px 0 rgba(255,255,255,.035)!important;
}
.auth-legal-note{
  width:100%;
  max-width:400px;
  margin:2px auto 0;
  color:#858b99;
  font-size:10px;
  line-height:1.55;
  text-align:center;
}
.auth-legal-note p+p{margin-top:5px}
.auth-legal-links{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  margin-top:9px;
}
.auth-legal-links a{
  color:#929aaa;
  font-weight:750;
  text-decoration:none;
}
.auth-legal-links a:hover,
.auth-legal-links a:focus-visible{color:#66dff0;text-decoration:underline}

/* Keep Connections and Community branding identical to the /join3 nav lockup. */
html body .connections-terminal-bar>a.logo.social-terminal-brand,
html body .dashboard.community-mode .side-top>a.logo.community-brand-logo{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:9px!important;
  line-height:1!important;
  overflow:visible!important;
  color:inherit!important;
  text-decoration:none!important;
  font-family:Archivo,Arial,sans-serif!important;
  font-size:20px!important;
  font-weight:900!important;
  letter-spacing:-.025em!important;
}
html body .connections-terminal-bar>a.logo.social-terminal-brand>.logo-mark,
html body .dashboard.community-mode .side-top>a.logo.community-brand-logo>.logo-mark{
  display:block!important;
  width:46px!important;
  height:46px!important;
  min-width:46px!important;
  max-width:46px!important;
  flex:0 0 46px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
}
html body .connections-terminal-bar>a.logo.social-terminal-brand>.logo-mark>img,
html body .dashboard.community-mode .side-top>a.logo.community-brand-logo>.logo-mark>img{
  display:block!important;
  width:46px!important;
  height:46px!important;
  min-width:46px!important;
  max-width:46px!important;
  object-fit:cover!important;
  object-position:center!important;
  transform:none!important;
  opacity:1!important;
  filter:none!important;
}
html body .connections-terminal-bar>a.logo.social-terminal-brand>span[data-brand],
html body .dashboard.community-mode .side-top>a.logo.community-brand-logo>span[data-brand]{
  display:inline-block!important;
  width:max-content!important;
  max-width:none!important;
  padding-right:3px!important;
  font-family:Archivo,sans-serif!important;
  font-size:20px!important;
  font-weight:900!important;
  letter-spacing:-.025em!important;
  line-height:1!important;
  transform:translateY(-1px)!important;
  background:linear-gradient(90deg,#fff 0%,#fff 44%,#dffaff 62%,#75dfff 80%,#50bfff 100%)!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  color:transparent!important;
  -webkit-text-fill-color:transparent!important;
  text-shadow:none!important;
}
html body .connections-terminal-bar .social-terminal-role-icon,
html body .connections-terminal-bar .social-terminal-role-icon>.chat-role-icon{
  display:grid!important;
  width:15px!important;
  height:15px!important;
  min-width:15px!important;
  flex:0 0 15px!important;
  visibility:visible!important;
  opacity:1!important;
}
html body .connections-terminal-bar .social-terminal-role-icon>.chat-role-icon{
  display:block!important;
  object-fit:contain!important;
}
@media(max-width:980px){
  html body .connections-terminal-bar>a.logo.social-terminal-brand{display:none!important}
}

/* Connections scrollbars fade in only while their card is hovered. */
@media (hover:hover) and (pointer:fine){
  .dashboard.community-mode .social-member-terminal-list,
  .dashboard.social-trading-mode .social-member-terminal-list,
  .public-profile-trades .social-trade-scroll,
  .social-community-swaps .social-community-swaps-list{
    scrollbar-color:transparent transparent!important;
  }
  .dashboard.community-mode .social-member-terminal:hover .social-member-terminal-list,
  .dashboard.social-trading-mode .social-member-terminal:hover .social-member-terminal-list,
  .public-profile-trades:hover .social-trade-scroll,
  .social-community-swaps:hover .social-community-swaps-list{
    scrollbar-color:rgba(148,155,164,.68) transparent!important;
  }
  .dashboard.community-mode .social-member-terminal-list::-webkit-scrollbar-thumb,
  .dashboard.social-trading-mode .social-member-terminal-list::-webkit-scrollbar-thumb,
  .public-profile-trades .social-trade-scroll::-webkit-scrollbar-thumb,
  .social-community-swaps .social-community-swaps-list::-webkit-scrollbar-thumb{
    background-color:rgba(148,155,164,0)!important;
    transition:background-color 220ms linear!important;
  }
  .dashboard.community-mode .social-member-terminal:hover .social-member-terminal-list::-webkit-scrollbar-thumb,
  .dashboard.social-trading-mode .social-member-terminal:hover .social-member-terminal-list::-webkit-scrollbar-thumb,
  .public-profile-trades:hover .social-trade-scroll::-webkit-scrollbar-thumb,
  .social-community-swaps:hover .social-community-swaps-list::-webkit-scrollbar-thumb{
    background-color:rgba(148,155,164,.68)!important;
  }
  .dashboard.community-mode .social-member-terminal:hover .social-member-terminal-list::-webkit-scrollbar-thumb:hover,
  .dashboard.social-trading-mode .social-member-terminal:hover .social-member-terminal-list::-webkit-scrollbar-thumb:hover,
  .public-profile-trades:hover .social-trade-scroll::-webkit-scrollbar-thumb:hover,
  .social-community-swaps:hover .social-community-swaps-list::-webkit-scrollbar-thumb:hover{
    background-color:rgba(184,190,201,.82)!important;
  }
}

/* Model Details: equal hero panels and one shared evaluation header row. */
.social-terminal-detail .social-terminal-detail-hero{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:18px!important;
}
.social-historical-eval-columns,
.social-historical-eval-row{
  display:grid!important;
  grid-template-columns:1.05fr .8fr repeat(4,.72fr) .9fr .85fr;
  align-items:center;
  column-gap:10px;
}
.social-historical-eval-columns{
  flex:0 0 auto;
  min-height:34px;
  padding:0 12px;
  border-bottom:1px solid var(--terminal-line);
  background:#0b0911;
}
.social-historical-eval-columns span{
  min-width:0;
  overflow:hidden;
  color:#686272;
  font-size:7px;
  font-weight:800;
  text-overflow:ellipsis;
  text-transform:uppercase;
  white-space:nowrap;
}
.social-historical-eval-row{
  min-height:48px;
  padding:8px 12px!important;
}
.social-historical-eval-row>span,
.social-historical-eval-row>strong,
.social-historical-eval-month{
  min-width:0;
  overflow:hidden;
  font-size:9px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.social-historical-eval-month{color:#e9e5ef;font-size:10px}
.social-historical-eval-row>span{color:#aaa4b4}
.social-historical-eval-row>strong{text-align:right}
.social-historical-eval-status{
  width:max-content;
  max-width:100%;
  padding:3px 5px;
  border-radius:4px;
  background:#18151f;
  color:#9b95a5!important;
  font-size:8px!important;
  font-weight:850;
  text-transform:uppercase;
}
.social-historical-eval-row.pass .social-historical-eval-status{color:var(--terminal-green)!important;background:rgba(32,229,139,.09)}
.social-historical-eval-row.fail .social-historical-eval-status{color:var(--terminal-red)!important;background:rgba(255,105,71,.09)}
.social-historical-eval-row.phase2 .social-historical-eval-status{color:#f3c969!important;background:rgba(243,201,105,.09)}
@media(max-width:1280px){
  .social-terminal-detail .social-terminal-detail-hero{
    grid-template-columns:1fr!important;
    gap:14px!important;
  }
}

/* Login: full-space backdrop, frosted auth side and aligned brand lockups. */
html body #authView.auth-shell{
  background-color:#020207!important;
  background-image:linear-gradient(90deg,rgba(2,2,7,.22) 0%,rgba(2,2,7,.08) 48%,rgba(2,2,7,.2) 100%),url('/assets/images/login-space-background.png?v=20260826')!important;
  background-position:center center!important;
  background-repeat:no-repeat!important;
  background-size:cover!important;
}
html body #authView .auth-visual{
  background:transparent!important;
}
html body #authView .auth-visual::before,
html body #authView .auth-visual::after{
  display:none!important;
}
html body #authView .auth-side{
  border-left:1px solid rgba(255,255,255,.09);
  background:rgba(7,5,15,.32)!important;
  -webkit-backdrop-filter:blur(24px) saturate(118%);
  backdrop-filter:blur(24px) saturate(118%);
  box-shadow:inset 1px 0 rgba(255,255,255,.025);
}
html body #authView .auth-visual-brand,
html body #authView .auth-form-brand{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start;
  gap:7px!important;
  font-family:Archivo,Arial,sans-serif!important;
  font-weight:900!important;
  letter-spacing:0!important;
  line-height:1!important;
}
html body #authView .auth-form-brand{
  justify-content:center;
  margin-bottom:12px;
}
html body #authView .auth-visual-brand .brand-logo{
  width:34px!important;
  height:34px!important;
  flex:0 0 34px!important;
}
html body #authView .auth-form-brand .brand-logo{
  width:30px!important;
  height:30px!important;
  flex:0 0 30px!important;
}
html body #authView .brand-logo,
html body #authView .brand-logo img{
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
html body #authView .brand-logo img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  transform:none!important;
  filter:none!important;
}
html body #authView .brand-wordmark{
  display:block!important;
  width:max-content!important;
  max-width:none!important;
  padding:0!important;
  font-family:Archivo,Arial,sans-serif!important;
  font-size:20px!important;
  font-weight:900!important;
  letter-spacing:0!important;
  line-height:1!important;
  transform:none!important;
  background:linear-gradient(90deg,#fff 0%,#fff 48%,#dffaff 68%,#61d7ff 100%)!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  color:transparent!important;
  -webkit-text-fill-color:transparent!important;
}
html body #authView .auth-form-brand .brand-wordmark{
  font-size:18px!important;
}
@media(max-width:760px){
  html body #authView.auth-shell{
    background-position:62% center!important;
  }
  html body #authView .auth-side{
    background:rgba(7,5,15,.42)!important;
  }
}

/* Final KopLabs wordmark font lock. */
html body #authView .brand-wordmark,
html body .connections-terminal-bar>a.logo.social-terminal-brand>span[data-brand],
html body .dashboard.community-mode .side-top>a.logo.community-brand-logo>span[data-brand]{
  font-family:NeueMontreal,Arial,sans-serif!important;
  font-weight:900!important;
  letter-spacing:0!important;
  line-height:1!important;
}

/* Keep the Connections header identical between the overview and profile routes. */
@media(min-width:981px){
  html body .public-profile-shell .public-profile-trading-grid{
    height:clamp(560px,64vh,680px)!important;
    min-height:560px!important;
    max-height:680px!important;
  }
  html body .public-profile-shell .public-profile-left-stack,
  html body .public-profile-shell .public-profile-performance,
  html body .public-profile-shell .public-profile-chart,
  html body .public-profile-shell .public-profile-trades{
    height:100%!important;
    min-height:0!important;
    max-height:100%!important;
  }
  html body .public-profile-shell .public-profile-chart .history-curve-card{
    height:100%!important;
    min-height:0!important;
    max-height:100%!important;
  }
  html body .public-profile-shell .public-profile-trades .social-trade-scroll{
    min-height:0!important;
    max-height:none!important;
    overflow-y:auto!important;
  }
  html body .social-terminal-v2{
    grid-template-rows:68px minmax(0,1fr)!important;
  }
  html body .social-terminal-v2>.connections-terminal-bar{
    height:68px!important;
    min-height:68px!important;
    max-height:68px!important;
    padding:10px 16px!important;
    box-sizing:border-box!important;
  }

  html body .social-terminal-v2>.social-terminal-main-scroll{
    grid-column:2 / 4!important;
    grid-row:2!important;
    width:100%!important;
    height:100%!important;
    max-height:100%!important;
    min-width:0!important;
    min-height:0!important;
    align-self:stretch!important;
    display:grid!important;
    grid-template-columns:minmax(680px,72fr) minmax(282px,16fr)!important;
    align-items:start!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    overscroll-behavior:contain;
    scrollbar-gutter:stable;
    background:var(--terminal-bg)!important;
  }
  html body .social-terminal-main-scroll>.social-center-panel{
    grid-column:1!important;
    grid-row:1!important;
    height:auto!important;
    max-height:none!important;
    overflow:visible!important;
  }
  html body .public-profile-shell .social-terminal-main-scroll>.public-profile-main{
    height:max-content!important;
    min-height:max-content!important;
    align-self:start!important;
  }
  html body .social-terminal-main-scroll>.social-automation-terminal{
    grid-column:2!important;
    grid-row:1!important;
    height:auto!important;
    max-height:none!important;
    align-self:start!important;
    overflow:visible!important;
  }
  html body .social-terminal-market-stack{
    overflow:visible!important;
  }
  html body .social-terminal-lower-grid{
    align-items:start!important;
  }
  html body .social-terminal-lower-grid>.social-community-swaps{
    height:auto!important;
    min-height:1026px!important;
    max-height:none!important;
    overflow:visible!important;
  }
  html body .social-community-swaps>.social-community-swaps-list{
    overflow:visible!important;
  }
}

@media(max-width:980px){
  html body .social-terminal-v2>.social-terminal-main-scroll{
    display:contents!important;
  }

  html body .social-terminal-v2.market-overview-mode>.social-terminal-main-scroll>.social-center-panel,
  html body .social-terminal-v2.market-overview-mode .social-terminal-market-stack{
    display:contents!important;
  }
  html body .social-terminal-v2.market-overview-mode .social-price-chart-plot-card{
    grid-column:1!important;
    grid-row:2!important;
    order:2!important;
  }
  html body .social-terminal-v2.market-overview-mode>.social-member-terminal{
    grid-column:1!important;
    grid-row:3!important;
    order:3!important;
  }
  html body .social-terminal-v2.market-overview-mode .social-terminal-lower-grid{
    grid-column:1!important;
    grid-row:4!important;
    order:4!important;
  }
  html body .social-terminal-v2.market-overview-mode>.social-terminal-main-scroll>.social-automation-terminal{
    grid-column:1!important;
    grid-row:5!important;
    order:5!important;
  }
  html body .social-terminal-v2.market-overview-mode .social-center-panel>.social-loading,
  html body .social-terminal-v2.market-overview-mode .social-center-panel>.social-error{
    grid-column:1!important;
    grid-row:2!important;
    z-index:3!important;
  }
}

/* Login sales copy refresh */
html body #authView .auth-visual-brand{
  top:44px!important;
  left:58px!important;
  gap:10px!important;
  opacity:.96!important;
}
html body #authView .auth-visual-brand .brand-logo{
  width:42px!important;
  height:42px!important;
  flex:0 0 42px!important;
}
html body #authView .auth-visual-brand .brand-wordmark{
  font-size:25px!important;
  line-height:1!important;
}
html body #authView #loginForm > .auth-form-brand{
  display:none!important;
}
html body #authView .login-blind-copy{
  width:min(100%,760px)!important;
  max-width:760px!important;
}
html body #authView .login-blind-copy h1{
  max-width:760px!important;
  margin:0!important;
  color:transparent!important;
  font:900 clamp(64px,6.8vw,108px)/.92 var(--qc-font-sans)!important;
  letter-spacing:0!important;
  background:linear-gradient(to bottom,rgba(156,156,156,.78) 0%,rgba(255,255,255,.74) 38%,#78d8e8 100%)!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  -webkit-text-fill-color:transparent!important;
}
html body #authView .login-blind-copy h2{
  max-width:720px!important;
  margin:26px 0 0!important;
  color:#f4f7fb!important;
  font:900 clamp(30px,3.25vw,52px)/1.02 var(--qc-font-sans)!important;
  letter-spacing:0!important;
}
html body #authView .login-blind-copy p{
  max-width:690px!important;
  margin:26px 0 0!important;
  color:rgba(156,164,176,.78)!important;
  font-size:clamp(18px,1.45vw,24px)!important;
  line-height:1.46!important;
  font-weight:800!important;
}
html body #authView .login-blind-copy strong{
  color:transparent!important;
  font-weight:900!important;
  background:linear-gradient(to bottom,rgba(156,156,156,.78) 0%,rgba(255,255,255,.82) 42%,#7bd9e9 100%)!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  -webkit-text-fill-color:transparent!important;
}
.auth-model-preview{display:none;margin-top:28px;width:min(100%,920px);overflow:hidden;border:1px solid rgba(141,153,181,.18);border-radius:8px;background:rgba(3,4,9,.9);pointer-events:none;user-select:none}
#authView.is-register .login-blind-copy{width:min(100%,920px)!important;max-width:920px!important}
#authView.is-register .auth-model-preview{display:block}
.auth-model-preview table{width:100%;border-collapse:collapse;table-layout:fixed;color:#989ba5;font-size:9px}
.auth-model-preview th{height:30px;padding:0 8px;border-bottom:1px solid rgba(141,153,181,.14);color:#50525d;font:800 7px/1 var(--qc-font-sans);text-align:left;text-transform:uppercase;white-space:nowrap}
.auth-model-preview td{height:66px;padding:7px 8px;border-bottom:1px solid rgba(141,153,181,.12);vertical-align:middle}
.auth-model-preview tr:last-child td{border-bottom:0}.auth-model-preview th:first-child,.auth-model-preview td:first-child{width:34%}.auth-model-preview th:nth-child(2),.auth-model-preview td:nth-child(2){width:13%}
.auth-model-name{display:flex;align-items:center;gap:8px;min-width:0}.auth-model-name img{width:38px;height:38px;flex:0 0 38px;border:1px solid rgba(82,190,218,.25);border-radius:5px;object-fit:cover}.auth-model-name span{min-width:0}.auth-model-name b{display:block;overflow:hidden;color:#b4b6be;font-size:10px;white-space:nowrap;text-overflow:ellipsis}.auth-model-preview small{display:block;margin-top:4px;color:#555863;font-size:7px;white-space:nowrap}.auth-model-preview td>b{display:block;color:#afb1b9;font-size:10px}.auth-model-preview td.positive>b{color:#00a77c}.auth-model-preview td.negative>b{color:#b34b46}
.auth-model-equity svg{display:block;width:100%;height:38px}.auth-model-equity polyline{fill:none;stroke:#00a77c;stroke-width:1.8}.auth-model-preview-loading{padding:24px;color:#656873;text-align:center;font-size:10px}
#authView.is-register .auth-visual{padding:86px 4.5vw 44px;place-items:center}
#authView.is-register .login-blind-copy h1{font-size:clamp(50px,5.3vw,82px)!important}
#authView.is-register .login-blind-copy h2{margin-top:18px!important;font-size:clamp(25px,2.5vw,40px)!important}
#authView.is-register .login-blind-copy p{margin-top:16px!important;font-size:clamp(14px,1.08vw,18px)!important}
@media(max-width:760px){
  html body #authView .auth-visual-brand{
    top:22px!important;
    left:22px!important;
  }
  html body #authView .auth-visual-brand .brand-logo{
    width:34px!important;
    height:34px!important;
    flex-basis:34px!important;
  }
  html body #authView .auth-visual-brand .brand-wordmark{
    font-size:20px!important;
  }
  html body #authView .login-blind-copy{
    text-align:center!important;
    margin:0 auto!important;
  }
  html body #authView .login-blind-copy h1{
    font-size:clamp(46px,12vw,64px)!important;
  }
  html body #authView .login-blind-copy h2{
    font-size:clamp(24px,7vw,34px)!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  html body #authView .login-blind-copy p{
    font-size:16px!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
}

/* Public profile curve line: keep the performance line continuous on hover. */
.public-profile-chart .history-curve-card.is-curve-hovering .history-curve-muted-line{
  opacity:0!important;
}
.public-profile-chart .history-curve-card.is-curve-hovering .history-curve-area-path,
.public-profile-chart .history-curve-card.is-curve-hovering .history-curve-line{
  clip-path:none!important;
}
.public-profile-chart .history-curve-line{
  stroke:#08b965!important;
  stroke-width:2.35!important;
  filter:drop-shadow(0 0 10px rgba(8,185,101,.20))!important;
}

/* Model detail PnL chart: profile-style curve theme with bottom dates kept. */
.model-pnl-plot{position:relative;min-width:0;overflow:visible;background:transparent}
.model-pnl-plot .model-pnl-svg{position:relative;z-index:2;overflow:visible;pointer-events:none}
.model-pnl-card .model-pnl-grid line{stroke:rgba(255,255,255,.075)!important;stroke-dasharray:6 9!important}
.model-pnl-card .model-pnl-axis,.model-pnl-card .model-pnl-month{fill:#687182!important;font-size:10px!important;font-weight:850!important}
.model-pnl-card .model-pnl-area{fill:url(#modelPnlFill)!important;opacity:1!important}
.model-pnl-card .model-pnl-line{fill:none!important;stroke:#10b85d!important;stroke-width:2.35!important;stroke-linecap:round!important;stroke-linejoin:round!important;opacity:1!important;filter:drop-shadow(0 0 9px rgba(16,184,93,.18))!important;vector-effect:non-scaling-stroke}
.model-pnl-card .model-pnl-muted-line{fill:none!important;stroke:#3f3b49!important;stroke-width:2.35!important;stroke-linecap:round!important;stroke-linejoin:round!important;opacity:0!important;vector-effect:non-scaling-stroke}
.model-pnl-card.is-model-curve-hovering .model-pnl-muted-line{opacity:.74!important}
.model-pnl-card.is-model-curve-hovering .model-pnl-area,.model-pnl-card.is-model-curve-hovering .model-pnl-line{clip-path:inset(0 calc(100% - var(--model-curve-active-x,100%)) 0 0)!important}
.model-pnl-card .model-pnl-point{fill:#0fbd66!important;stroke:#07110c!important;stroke-width:1.6!important;opacity:.9!important}
.model-pnl-hover-zone{position:absolute;top:0;bottom:24px;z-index:4;min-width:10px;cursor:crosshair;outline:0}
.model-pnl-hover-zone::before{content:"";position:absolute;left:calc(var(--model-curve-x,50%) - 1px);top:16px;bottom:0;width:1px;border-left:1px dotted rgba(130,137,154,.34);opacity:0;pointer-events:none}
.model-pnl-hover-zone::after{content:"";position:absolute;left:calc(var(--model-curve-x,50%) - 4px);top:calc(var(--model-curve-y,50%) - 4px);width:8px;height:8px;border-radius:50%;background:#0fbd66;box-shadow:0 0 0 3px rgba(15,189,102,.16);opacity:0;pointer-events:none}
.model-pnl-hover-zone:hover::before,.model-pnl-hover-zone:hover::after,.model-pnl-hover-zone:focus-visible::before,.model-pnl-hover-zone:focus-visible::after{opacity:1}

/* Model detail PnL chart final tune: match public profile chart, keep only bottom dates. */
.model-pnl-card .model-pnl-axis{
  display:none!important;
}
.model-pnl-card .model-pnl-grid line{
  opacity:.22!important;
}
.model-pnl-card .model-pnl-point{
  opacity:0!important;
}
.model-pnl-card .model-pnl-month{
  opacity:.78!important;
}

/* Curve hover alignment final: grey continuation and active clip use the same hover center. */
.public-profile-chart .history-curve-card.is-curve-hovering .history-curve-muted-line{opacity:.74!important}
.public-profile-chart .history-curve-card.is-curve-hovering .history-curve-area-path,
.public-profile-chart .history-curve-card.is-curve-hovering .history-curve-line{clip-path:inset(0 calc(100% - var(--curve-active-x,100%)) 0 0)!important}
.history-curve-hover-zone::before,.model-pnl-hover-zone::before{left:50%!important;transform:translateX(-50%)!important}
.history-curve-hover-zone::after,.model-pnl-hover-zone::after{left:50%!important;transform:translate(-50%,-50%)!important}
.model-pnl-card.is-model-curve-hovering .model-pnl-muted-line{opacity:.74!important}
.model-pnl-card.is-model-curve-hovering .model-pnl-area,
.model-pnl-card.is-model-curve-hovering .model-pnl-line{clip-path:inset(0 calc(100% - var(--model-curve-active-x,100%)) 0 0)!important}

/* Curve hover centering fix: center each invisible hover zone on the real data x. */
.history-curve-hover-zone,
.model-pnl-hover-zone{
  transform:translateX(-50%)!important;
}
.history-curve-hover-zone.is-start,
.model-pnl-hover-zone.is-start{
  transform:translateX(0)!important;
}
.history-curve-hover-zone.is-end,
.model-pnl-hover-zone.is-end{
  transform:translateX(-100%)!important;
}
.history-curve-hover-zone::before,
.model-pnl-hover-zone::before{
  left:50%!important;
}
.history-curve-hover-zone::after,
.model-pnl-hover-zone::after{
  left:50%!important;
}

/* Model detail chart dates and live hover readout. */
.model-pnl-live-stat em{
  display:block;
  margin-top:3px;
  color:#7c8492;
  font-size:9px;
  font-style:normal;
  font-weight:750;
  line-height:1.2;
}
.model-pnl-date-axis{
  position:absolute;
  right:0;
  bottom:2px;
  left:0;
  z-index:5;
  height:20px;
  color:#737b89;
  font-size:9px;
  font-weight:800;
  line-height:1;
  pointer-events:none;
}
.model-pnl-date-axis span{
  position:absolute;
  top:4px;
  transform:translateX(-50%);
  white-space:nowrap;
}
.model-pnl-hover-zone{bottom:26px!important;min-width:6px}
@media(max-width:760px){
  .model-pnl-date-axis{font-size:7px}
  .model-pnl-date-axis span{display:none}
  .model-pnl-date-axis span:first-child,
  .model-pnl-date-axis span:nth-child(3),
  .model-pnl-date-axis span:last-child{display:block}
}

@media(max-width:620px){
  html body .public-profile-open-positions-card table{
    min-width:0!important;
  }
  html body .public-profile-open-positions-card th,
  html body .public-profile-open-positions-card td{
    padding-right:7px!important;
    padding-left:7px!important;
  }
  html body .public-profile-open-positions-card td:first-child b,
  html body .public-profile-open-positions-card td:first-child small{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
}

/* Funded role trophy: keep every instance on a fully transparent surface. */
html body .chat-role-icon[data-role-icon="funded"]{
  background:transparent!important;
  background-color:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  filter:none!important;
  opacity:1!important;
}
html body .social-terminal-role-icon:has(> .chat-role-icon[data-role-icon="funded"]),
html body .member-name-row:has(> .chat-role-icon[data-role-icon="funded"]){
  background:transparent!important;
  background-color:transparent!important;
  border-color:transparent!important;
  box-shadow:none!important;
}

/* Referral account */
.referral-shell{display:grid;gap:18px;min-width:0}
.referral-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding:4px 0 2px}
.referral-heading span,.referral-section-title span,.referral-link-row span,.referral-summary-grid span,.referral-form-grid span,.referral-credit-input span{display:block;color:#43cce9;font-size:11px;font-weight:900;letter-spacing:0;text-transform:uppercase}
.referral-heading h2{margin:6px 0 0;color:#f4f6f8;font-size:28px;line-height:1.08;letter-spacing:0}
.referral-heading p{max-width:720px;margin:8px 0 0;color:#8d96a5;font-size:13px;font-weight:700;line-height:1.55}
.referral-link-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 18px;border:1px solid rgba(83,208,237,.2);border-radius:10px;background:#0b1118}
.referral-link-row div{min-width:0}.referral-link-row b{display:block;overflow:hidden;margin-top:5px;color:#eef6ff;font-size:14px;text-overflow:ellipsis;white-space:nowrap}
.referral-code-editor{display:grid;gap:12px;padding:18px;border:1px solid rgba(255,255,255,.08);border-radius:10px;background:#0b0d12}
.referral-code-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end}
.referral-code-form label{display:grid;gap:7px;min-width:0}
.referral-code-form label>span{color:#43cce9;font-size:11px;font-weight:900;letter-spacing:0;text-transform:uppercase}
.referral-code-form input{width:100%;height:42px;border:1px solid rgba(255,255,255,.1);border-radius:7px;background:#10131a;color:#eef3f8;padding:0 11px;font:800 13px/1 var(--qc-font-sans);outline:0}
.referral-code-form input:focus{border-color:#43cce9;box-shadow:0 0 0 3px rgba(67,204,233,.1)}
.referral-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.referral-summary-grid>div{min-height:88px;padding:16px;border:1px solid rgba(255,255,255,.08);border-radius:8px;background:#0c0e13}
.referral-summary-grid strong{display:block;margin-top:9px;color:#f4f6f8;font-size:22px;line-height:1}
.referral-action-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);gap:12px}
.referral-action-grid>section,.referral-list-section{display:grid;align-content:start;gap:14px;padding:18px;border:1px solid rgba(255,255,255,.08);border-radius:10px;background:#0b0d12}
.referral-action-grid>section>p{margin:0;color:#8992a2;font-size:12px;font-weight:700;line-height:1.55}
.referral-section-title b{display:block;margin-top:4px;color:#edf2f7;font-size:16px}
.referral-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.referral-form-grid .wide{grid-column:1/-1}
.referral-form-grid label,.referral-credit-input{display:grid;gap:7px;min-width:0}
.referral-form-grid input,.referral-form-grid select,.referral-credit-input input{width:100%;min-width:0;height:42px;border:1px solid rgba(255,255,255,.1);border-radius:7px;background:#10131a;color:#eef3f8;padding:0 11px;font:800 13px/1 var(--qc-font-sans);outline:0}
.referral-form-grid input:focus,.referral-form-grid select:focus,.referral-credit-input input:focus{border-color:#43cce9;box-shadow:0 0 0 3px rgba(67,204,233,.1)}
.referral-action-grid .subscription-pay-button,.referral-action-grid .billing-secondary-button{width:100%;margin:0}
.referral-table-row{display:grid;grid-template-columns:minmax(0,1fr) auto 110px;align-items:center;gap:14px;padding:12px 0;border-top:1px solid rgba(255,255,255,.065)}
.referral-section-title+.referral-table-row{border-top:0}.referral-table-row div{min-width:0}.referral-table-row b{display:block;overflow:hidden;color:#dfe5ec;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.referral-table-row span{display:block;overflow:hidden;margin-top:4px;color:#737d8d;font-size:11px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}
.referral-table-row strong{color:#9aa5b5;font-size:11px;text-align:right}.referral-table-row em{color:#49d8aa;font-size:13px;font-style:normal;font-weight:900;text-align:right}.referral-table-row em.negative{color:#9aa5b5}
.referral-status{padding:5px 8px;border:1px solid rgba(255,255,255,.1);border-radius:999px}.referral-status.status-paid{border-color:rgba(73,216,170,.3);color:#49d8aa}.referral-status.status-rejected{border-color:rgba(255,110,132,.3);color:#ff8296}
.referral-empty{padding:22px;border:1px dashed rgba(255,255,255,.1);border-radius:8px;color:#7f8998;font-size:12px;font-weight:700;text-align:center}
.referral-admin-row{grid-template-columns:minmax(0,1fr) auto 100px auto}.referral-admin-actions{display:flex!important;gap:6px;overflow:visible!important}.referral-admin-actions button{height:30px;border:1px solid rgba(67,204,233,.25);border-radius:6px;background:#101820;color:#bfefff;padding:0 9px;font-size:10px;font-weight:900;white-space:nowrap}.referral-admin-actions button.danger{border-color:rgba(255,110,132,.24);color:#ff9aaa}
@media(max-width:900px){.referral-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.referral-action-grid{grid-template-columns:1fr}}
@media(max-width:620px){.referral-heading h2{font-size:23px}.referral-link-row{align-items:stretch;flex-direction:column}.referral-link-row .billing-secondary-button{width:100%}.referral-code-form{grid-template-columns:1fr}.referral-code-form .billing-secondary-button{width:100%}.referral-form-grid{grid-template-columns:1fr}.referral-form-grid .wide{grid-column:auto}.referral-table-row,.referral-admin-row{grid-template-columns:minmax(0,1fr) auto}.referral-table-row em{grid-column:2}.referral-table-row strong{grid-column:2;grid-row:1}.referral-admin-actions{grid-column:1/-1;flex-wrap:wrap}.referral-summary-grid strong{font-size:19px}}

/* Academy desktop workspace: persistent lesson rail, fluid video stage and notes below. */
@media(min-width:901px){
  .dashboard.workspace-mode .workspace-content.academy-workspace{
    width:100%!important;
    max-width:none!important;
    min-height:0!important;
    padding:0!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
  }
  .dashboard.workspace-mode .academy-udemy-shell,
  .dashboard.workspace-mode .academy-udemy-shell .academy-course-layout{
    width:100%!important;
    max-width:none!important;
    height:auto!important;
    min-height:0!important;
    margin:0!important;
  }
  .dashboard.workspace-mode .academy-udemy-shell .academy-course-layout{
    grid-template-columns:clamp(360px,24vw,500px) minmax(0,1fr)!important;
    gap:0!important;
    align-items:start!important;
  }
  .dashboard.workspace-mode .academy-udemy-shell .academy-course-sidebar{
    position:sticky!important;
    top:0!important;
    width:100%!important;
    height:auto!important;
    max-height:calc(100dvh - 112px)!important;
    min-height:0!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    border-radius:0!important;
  }
  .dashboard.workspace-mode .academy-udemy-shell .academy-course-player{
    width:100%!important;
    height:auto!important;
    min-width:0!important;
    min-height:0!important;
    display:block!important;
    overflow:visible!important;
    border-radius:0!important;
  }
  .dashboard.workspace-mode .academy-udemy-shell .academy-video-stage{
    width:min(100%,112dvh)!important;
    height:auto!important;
    max-height:63dvh!important;
    min-height:0!important;
    margin:0 auto!important;
    aspect-ratio:16/9!important;
  }
  .dashboard.workspace-mode .academy-udemy-shell .academy-course-copy{
    width:100%!important;
    max-height:none!important;
    overflow-x:hidden!important;
    overflow-y:visible!important;
  }
}
/* 1-day trial room typography: match KopLabs UI tone. */
.trial-license-card,
.trial-license-card button,
.trial-license-card .channel-kicker,
.trial-license-card h3,
.trial-license-card p,
.trial-license-status,
.trial-window-title{
  font-family:var(--qc-font-sans)!important;
  letter-spacing:0!important;
}
.trial-license-card h3{
  max-width:600px!important;
  color:#d9dde4!important;
  font-weight:760!important;
  line-height:1.02!important;
  text-wrap:balance!important;
}
.trial-license-card .channel-kicker,
.trial-window-title{
  font-weight:760!important;
  text-transform:none!important;
}
.trial-license-card p{
  color:rgba(190,199,214,.72)!important;
  font-weight:620!important;
}
.trial-license-status b,
.trial-license-status span{
  font-weight:720!important;
}
.trial-license-card .primary{
  font-weight:760!important;
}
@media(max-width:760px){
  .trial-license-card h3{
    font-size:clamp(31px,8.4vw,39px)!important;
    line-height:1.04!important;
  }
}

/* Settings canvas polish: larger background surface with softer corners. */
.dashboard.community-mode .community-workspace-content.settings-workspace{
  padding:36px clamp(28px,4vw,64px) 64px!important;
  background-color:#05060a!important;
}
.dashboard.community-mode .community-workspace-content.settings-workspace .settings-shell{
  width:min(1500px,100%)!important;
  max-width:1500px!important;
  box-sizing:border-box!important;
  grid-template-columns:190px minmax(0,1fr)!important;
  gap:30px!important;
  margin:0 auto!important;
  padding:34px clamp(30px,3vw,52px) 52px!important;
  border:1px solid rgba(255,255,255,.075)!important;
  border-radius:24px!important;
  background:
    radial-gradient(circle at 72% 12%,rgba(78,205,236,.075),transparent 30%),
    linear-gradient(180deg,rgba(255,255,255,.026),rgba(255,255,255,.01) 42%,rgba(0,0,0,.12)),
    #090a0f!important;
  box-shadow:
    0 34px 100px rgba(0,0,0,.34),
    inset 0 1px 0 rgba(255,255,255,.055)!important;
  overflow:hidden!important;
}
.dashboard.community-mode .community-workspace-content.settings-workspace .settings-main{
  gap:18px!important;
}
.dashboard.community-mode .community-workspace-content.settings-workspace .settings-section-panel,
.dashboard.community-mode .community-workspace-content.settings-workspace .referral-action-grid>section,
.dashboard.community-mode .community-workspace-content.settings-workspace .referral-list-section,
.dashboard.community-mode .community-workspace-content.settings-workspace .referral-summary-grid>div,
.dashboard.community-mode .community-workspace-content.settings-workspace .referral-link-row{
  border-radius:14px!important;
}
@media(max-width:980px){
  .dashboard.community-mode .community-workspace-content.settings-workspace{
    padding:18px 14px 34px!important;
  }
  .dashboard.community-mode .community-workspace-content.settings-workspace .settings-shell{
    grid-template-columns:1fr!important;
    gap:18px!important;
    padding:22px 18px 28px!important;
    border-radius:18px!important;
  }
}

/* Settings canvas final scale: make the dark surface wider and softer. */
.dashboard.community-mode .community-workspace-content.settings-workspace{
  width:100%!important;
  max-width:none!important;
  padding:34px clamp(22px,3vw,56px) 76px!important;
  background-color:#05060a!important;
}
.dashboard.community-mode .community-workspace-content.settings-workspace .settings-shell{
  width:min(1720px,calc(100vw - 140px))!important;
  max-width:1720px!important;
  min-height:calc(100vh - 192px)!important;
  margin:0 auto!important;
  padding:42px clamp(42px,4vw,82px) 66px!important;
  border-radius:34px!important;
  border:1px solid rgba(255,255,255,.07)!important;
  background:
    radial-gradient(circle at 76% 10%,rgba(78,205,236,.072),transparent 34%),
    radial-gradient(circle at 45% 78%,rgba(88,107,220,.045),transparent 40%),
    linear-gradient(180deg,rgba(255,255,255,.024),rgba(255,255,255,.01) 45%,rgba(0,0,0,.13)),
    #090a0f!important;
  box-shadow:
    0 42px 120px rgba(0,0,0,.36),
    inset 0 1px 0 rgba(255,255,255,.052)!important;
  overflow:hidden!important;
}
@media(max-width:1180px){
  .dashboard.community-mode .community-workspace-content.settings-workspace{
    padding:24px 18px 50px!important;
  }
  .dashboard.community-mode .community-workspace-content.settings-workspace .settings-shell{
    width:100%!important;
    min-height:auto!important;
    padding:28px 22px 36px!important;
    border-radius:26px!important;
  }
}

/* Final desktop settings surface proportions. */
@media(min-width:1181px){
  .dashboard.community-mode .community-workspace-content.settings-workspace .settings-shell{
    box-sizing:border-box!important;
    width:calc(100% + 280px)!important;
    max-width:2100px!important;
    min-height:calc(100vh - 120px)!important;
    margin-left:-140px!important;
    margin-right:-140px!important;
    padding:78px clamp(92px,7vw,144px) 112px!important;
    border-radius:40px!important;
    border-color:rgba(255,255,255,.085)!important;
    box-shadow:0 46px 130px rgba(0,0,0,.4),inset 0 1px 0 rgba(255,255,255,.06)!important;
  }
}
@media(min-width:1181px) and (max-width:1320px){
  .dashboard.community-mode .community-workspace-content.settings-workspace .settings-shell{
    width:calc(100% + 72px)!important;
    margin-left:-36px!important;
    margin-right:-36px!important;
    padding:44px 44px 64px!important;
    border-radius:34px!important;
  }
}
/* Admin meeting calendar */
.admin-meetings-list{display:grid;gap:12px;margin-top:20px}.admin-meetings-empty{padding:28px;border:1px dashed rgba(117,207,210,.18);border-radius:8px;color:var(--muted);text-align:center}.admin-meeting-row{display:grid;grid-template-columns:minmax(190px,1.25fr) minmax(130px,.65fr) minmax(110px,.5fr) minmax(130px,.65fr);gap:12px;align-items:end;padding:16px;border:1px solid rgba(117,207,210,.13);border-radius:8px;background:rgba(5,10,13,.66)}.admin-meeting-row label{display:grid;gap:6px;color:var(--muted);font-size:11px;font-weight:800}.admin-meeting-row input,.admin-meeting-row select{width:100%;min-width:0;height:40px;border:1px solid rgba(117,207,210,.15);border-radius:7px;background:#0b1014;color:var(--text);padding:0 10px}.admin-meeting-person{display:grid;gap:4px;align-self:center}.admin-meeting-person b{font-size:15px}.admin-meeting-person a{color:#66d8dc;text-decoration:none;font-size:13px}.admin-meeting-person span{color:var(--muted);font-size:11px}.admin-meeting-note{grid-column:1/-2}.admin-meeting-actions{display:flex;justify-content:flex-end;gap:8px}.admin-meeting-actions button{min-width:74px}
.admin-meeting-settings{display:grid;grid-template-columns:repeat(5,minmax(110px,1fr)) auto;gap:12px;align-items:end;margin-top:20px;padding:16px;border:1px solid rgba(117,207,210,.13);border-radius:8px;background:rgba(5,10,13,.66)}.admin-meeting-settings label{display:grid;gap:6px;color:var(--muted);font-size:11px;font-weight:800}.admin-meeting-settings input,.admin-meeting-settings select{height:40px;min-width:0;border:1px solid rgba(117,207,210,.15);border-radius:7px;background:#0b1014;color:var(--text);padding:0 10px}.admin-meeting-settings button{height:40px;white-space:nowrap}
@media(max-width:980px){.admin-meeting-settings{grid-template-columns:1fr 1fr}.admin-meeting-settings button{grid-column:1/-1}.admin-meeting-row{grid-template-columns:1fr 1fr}.admin-meeting-person{grid-column:1/-1}.admin-meeting-note{grid-column:1/-1}.admin-meeting-actions{grid-column:1/-1}}
@media(max-width:620px){.admin-meeting-row{grid-template-columns:1fr}.admin-meeting-person,.admin-meeting-note,.admin-meeting-actions{grid-column:auto}.admin-meeting-actions button{flex:1}}
