/* VEYRA workspace refresh: clearer navigation, better hierarchy, and a calmer control-room layout. */
:root{--dash-bg:#0b0910;--dash-surface:#121019;--dash-surface-raised:#17141f;--dash-line:#292432;--dash-accent:#a77bff;--dash-text:#f5f1fa;--dash-muted:#9b93a5}
body:not(.home-page){background:radial-gradient(ellipse 70rem 38rem at 83% -18%,#2a164022,transparent 70%),radial-gradient(ellipse 45rem 32rem at 10% 90%,#6c43b10b,transparent 70%),var(--dash-bg)!important;color:var(--dash-text)}
body:not(.auth-only) .app-shell{min-height:100vh}
body:not(.auth-only) .sidebar{width:244px;padding:23px 15px 17px;background:linear-gradient(180deg,#100d16f5,#0d0b12f5)!important;border-right:1px solid #ffffff12;box-shadow:8px 0 38px #0002;backdrop-filter:blur(18px)}
body:not(.auth-only) .sidebar .brand{min-height:56px;margin-bottom:12px;padding:0 11px 18px;border-bottom:1px solid #ffffff12;letter-spacing:2.4px}
body:not(.auth-only) .sidebar .brand img{width:43px!important;height:36px!important;object-fit:contain!important}
body:not(.auth-only) .sidebar .brand span{font-size:16px}
body:not(.auth-only) .sidebar .brand small{margin-top:5px;font-size:8px;letter-spacing:1.4px}
body:not(.auth-only) .sidebar .workspace-label{padding:15px 11px 10px;font-size:8px;letter-spacing:1.6px}
body:not(.auth-only) .sidebar .primary-nav{gap:4px;padding:0 2px}
body:not(.auth-only) .sidebar .primary-nav .nav-section-label{margin:14px 11px 5px;color:#746d7e;font:700 8px 'DM Mono',monospace;letter-spacing:1.5px}
body:not(.auth-only) .sidebar .primary-nav .nav{height:42px;min-height:42px;flex:0 0 42px;padding:0 11px;border:1px solid transparent;border-radius:9px;color:#aaa2b4;font-size:11px;font-weight:650}
body:not(.auth-only) .sidebar .primary-nav .nav:hover{transform:none;border-color:#ffffff12;background:#ffffff08;color:#fff}
body:not(.auth-only) .sidebar .primary-nav .nav.active{border-color:#a77bff30;background:linear-gradient(105deg,#a77bff20,#a77bff08);color:#f8f4ff;box-shadow:inset 2px 0 var(--dash-accent)}
body:not(.auth-only) .sidebar .primary-nav .nav-icon{flex-basis:20px;width:20px;height:20px;color:#968ca2}
body:not(.auth-only) .sidebar .primary-nav .nav.active .nav-icon{color:#c3a3ff}
body:not(.auth-only) .sidebar-bottom{padding:8px 4px 0}
body:not(.auth-only) .sidebar .status-line{border:1px solid #ffffff10;border-radius:8px;background:#ffffff04;font:8px 'DM Mono',monospace}
body:not(.auth-only) .sidebar .profile{padding:13px 5px 2px}
body:not(.auth-only) .sidebar .profile strong{font-size:10px}
body:not(.auth-only) .sidebar .profile small{font-size:8px}
body:not(.auth-only) .main{width:calc(100% - 244px);max-width:none;margin-left:244px;padding:27px clamp(22px,4.1vw,68px) 64px}
body:not(.auth-only) .topbar{min-height:72px;margin:0 0 23px;padding:8px 0 17px;border-bottom:1px solid #ffffff10;background:linear-gradient(180deg,#0b0910f5 65%,#0b091000);backdrop-filter:blur(14px)}
body:not(.auth-only) .topbar .eyebrow{margin-bottom:6px;color:#8d849a;font-size:8px;letter-spacing:1.7px}
body:not(.auth-only) .topbar h1{margin:0;font-size:25px;letter-spacing:-1px}
body:not(.auth-only) .top-actions{gap:9px}
body:not(.auth-only) .top-actions .live-pill{padding:8px 10px;font-size:8px}
body:not(.auth-only) .theme-picker select{margin:0;padding:9px 30px 9px 11px;font-size:10px}
body:not(.auth-only) .top-actions>.primary-btn{min-height:36px;padding:9px 13px;font-size:10px}
body:not(.auth-only) .welcome-row{margin:0 0 16px}
body:not(.auth-only) .welcome-row>.muted,body:not(.auth-only) .welcome-row p{margin:0;color:#aaa1b3;font-size:11px}
body:not(.auth-only) .date-chip{padding:8px 11px;border:1px solid #ffffff12;border-radius:99px;background:#ffffff05;font-size:8px}
body:not(.auth-only) .stats-grid{gap:12px}
body:not(.auth-only) .stat-card{min-height:132px;padding:17px 18px;border-color:#ffffff13;border-radius:13px;background:linear-gradient(145deg,#17141f,#111018);box-shadow:0 14px 40px #0002;transition:transform .18s,border-color .18s}
body:not(.auth-only) .stat-card:hover{transform:translateY(-2px);border-color:#a77bff45}
body:not(.auth-only) .stat-top{font-size:8px;letter-spacing:1.1px}
body:not(.auth-only) .stat-value{margin-top:14px;font-size:29px}
body:not(.auth-only) .stat-foot{font-size:9px}
body:not(.auth-only) .content-grid{gap:13px;margin-top:13px}
body:not(.auth-only) .panel{padding:19px;border-color:#ffffff12;border-radius:13px;background:linear-gradient(145deg,#15121c,#100e16);box-shadow:0 16px 42px #0002}
body:not(.auth-only) .panel-head{gap:15px}
body:not(.auth-only) .panel-head .eyebrow{margin-bottom:5px;font-size:8px}
body:not(.auth-only) .panel-head h2{font-size:16px;letter-spacing:-.4px}
body:not(.auth-only) .panel-head>.text-btn{padding:8px 10px;border:1px solid #ffffff14;border-radius:8px;background:#ffffff05}
body:not(.auth-only) .server-row,body:not(.auth-only) .ticket-row{border-color:#ffffff10}
body:not(.auth-only) .server-row:hover,body:not(.auth-only) .ticket-row:hover{background:#ffffff05}
body:not(.auth-only) .quick-panel{margin-top:13px}
body:not(.auth-only) .steps{gap:10px}
body:not(.auth-only) .step{min-height:92px;border-color:#ffffff12;border-radius:10px;background:#ffffff04}
body:not(.auth-only) #supportMount{margin-top:18px!important}
body:not(.auth-only) .support-layout{gap:24px}
body:not(.auth-only) .support-layout>div{min-width:0}
body:not(.auth-only) .support-layout h3{font-size:14px}
body:not(.auth-only) #staffMount{display:grid;gap:14px;margin-top:0!important;padding:0;border:0;background:transparent;box-shadow:none}
body:not(.auth-only) #staffMount>.eyebrow,body:not(.auth-only) #staffMount>h3,body:not(.auth-only) #staffMount>p{margin-left:2px}
body:not(.auth-only) #staffMount>.panel,body:not(.auth-only) #staffMount>.tier-tools,body:not(.auth-only) #staffMount>#staffTools{width:100%;margin:0!important}
body:not(.auth-only) #staffTools{padding:20px;border:1px solid #ffffff12;border-radius:13px;background:linear-gradient(145deg,#15121c,#100e16)}
body:not(.auth-only) #staffTools>h3{margin:6px 0 8px;font-size:16px}
body:not(.auth-only) .staff-ticket-queue,body:not(.auth-only) .staff-announcement-manager{padding:22px!important;border-color:#ffffff14!important;border-radius:14px!important;background:linear-gradient(145deg,#17141f,#100e16)!important}
body:not(.auth-only) .staff-ticket-stats>div{border-color:#ffffff12;background:#0e0c13}
body:not(.auth-only) .staff-ticket-row,body:not(.auth-only) .staff-announcement-row{border-color:#ffffff12;background:#111018}
body:not(.auth-only) .staff-ticket-row h3,body:not(.auth-only) .staff-announcement-row h3{color:#f2edf8}
body:not(.auth-only) .staff-ticket-row-actions select{min-width:140px}
body:not(.auth-only) input,body:not(.auth-only) select,body:not(.auth-only) textarea{border-color:#ffffff18;border-radius:8px;background:#0e0c13;color:#f4eff9}
body:not(.auth-only) input:focus,body:not(.auth-only) select:focus,body:not(.auth-only) textarea:focus{border-color:#a77bff;box-shadow:0 0 0 3px #a77bff20}
body:not(.auth-only) .primary-btn{border-radius:8px;background:linear-gradient(110deg,#9b6cff,#7043db);box-shadow:0 8px 24px #7043db28}
body:not(.auth-only) .text-btn{font-size:10px}
body:not(.auth-only) .app-legal-footer{margin:28px 0 0;padding:16px 0;border-top:1px solid #ffffff10;background:transparent}
body.auth-only .auth-wrap{max-width:960px;min-height:560px;margin:4vh auto 0;border-color:#ffffff16;border-radius:18px;background:linear-gradient(145deg,#15121d,#0f0d15);box-shadow:0 30px 100px #0005}
body.auth-only .auth-card{padding:clamp(30px,5vw,52px)}
body.auth-only .auth-side{background:radial-gradient(ellipse at 45% 40%,#6947a133,transparent 42%),linear-gradient(145deg,#171320,#0c0a10)}
body.auth-only .auth-side>img{width:74%;max-width:380px;opacity:.92}
body.auth-only .auth-card h2{font-size:clamp(31px,4vw,42px)}
body.auth-only .tabs{border-color:#ffffff16}
body.auth-only .auth-card input{min-height:44px}
body.auth-only .auth-foot{line-height:2}
@media(max-width:900px){body:not(.auth-only) .sidebar{width:216px}body:not(.auth-only) .main{width:calc(100% - 216px);margin-left:216px;padding-right:24px;padding-left:24px}body:not(.auth-only) .top-actions .live-pill{display:none}}
@media(max-width:700px){body:not(.auth-only) .app-shell{display:block}body:not(.auth-only) .sidebar{position:sticky;inset:0 0 auto;width:100%;height:auto;max-height:none;padding:9px 12px 8px;border-right:0;border-bottom:1px solid #ffffff14;z-index:15}body:not(.auth-only) .sidebar .brand{min-height:38px;margin:0;padding:0 5px 8px;border:0}body:not(.auth-only) .sidebar .brand img{width:37px!important;height:29px!important}body:not(.auth-only) .sidebar .brand small,body:not(.auth-only) .sidebar .workspace-label,body:not(.auth-only) .sidebar-bottom{display:none}body:not(.auth-only) .sidebar .primary-nav{display:flex;flex-direction:row;gap:5px;overflow-x:auto;padding:0 0 2px;scrollbar-width:none}body:not(.auth-only) .sidebar .primary-nav::-webkit-scrollbar{display:none}body:not(.auth-only) .sidebar .primary-nav .nav-section-label{display:none}body:not(.auth-only) .sidebar .primary-nav .nav{flex:0 0 auto;width:auto;height:36px;min-height:36px;padding:0 10px;font-size:10px}body:not(.auth-only) .sidebar .primary-nav .nav-icon{flex:0 0 17px;width:17px;height:17px}body:not(.auth-only) .main{width:100%;margin:0;padding:18px 14px 42px}body:not(.auth-only) .topbar{position:relative;align-items:flex-start;gap:10px;margin-bottom:17px;padding-bottom:13px}body:not(.auth-only) .topbar h1{font-size:21px}body:not(.auth-only) .top-actions{gap:6px;flex-wrap:wrap;justify-content:flex-end}body:not(.auth-only) .top-actions .app-home-pill,body:not(.auth-only) .top-actions .theme-picker{display:none}body:not(.auth-only) .top-actions>.primary-btn{padding:8px 10px;font-size:9px}body:not(.auth-only) .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body:not(.auth-only) .stat-card{min-height:116px;padding:13px}body:not(.auth-only) .stat-value{font-size:24px}body:not(.auth-only) .panel{padding:15px}body:not(.auth-only) .staff-ticket-stats{grid-template-columns:repeat(2,minmax(0,1fr))}body:not(.auth-only) .staff-ticket-filters{grid-template-columns:1fr}body:not(.auth-only) .staff-ticket-row{align-items:stretch;flex-direction:column}body:not(.auth-only) .staff-ticket-row-actions{justify-content:space-between}body:not(.auth-only) .support-layout{grid-template-columns:1fr}body.auth-only .auth-wrap{display:block;min-height:0;margin:0;border-radius:14px}body.auth-only .auth-card{padding:26px 21px}body.auth-only .auth-side{display:none}body.auth-only .main{padding:20px 14px}}
@media(prefers-reduced-motion:reduce){body:not(.auth-only) .stat-card{transition:none}}

/* VEYRA /app staff workspace and responsive control-room redesign */
body:not(.home-page){--dash-accent:#a982ff;--dash-border:rgba(219,204,255,.12);background-color:#0a0910!important;background-image:radial-gradient(900px 500px at 78% -8%,rgba(103,62,182,.15),transparent 70%),radial-gradient(650px 480px at 0% 55%,rgba(63,42,106,.10),transparent 72%),linear-gradient(180deg,#0a0910,#0b0911 50%,#09080e)!important}
body:not(.auth-only) #dashboardView>[hidden],body:not(.auth-only) #staffNav[hidden],body:not(.auth-only) #staffMount[hidden]{display:none!important}
body:not(.auth-only) .app-shell{grid-template-columns:258px minmax(0,1fr)}
body:not(.auth-only) .sidebar{width:258px;border-right:1px solid var(--dash-border);background:linear-gradient(180deg,rgba(18,14,26,.97),rgba(12,10,17,.97))!important}
body:not(.auth-only) .main{width:auto;max-width:1540px;margin-left:258px;padding-left:clamp(26px,4vw,72px);padding-right:clamp(26px,4vw,72px)}
body:not(.auth-only) .topbar{position:sticky;top:0;z-index:10;display:flex;align-items:center;background:linear-gradient(180deg,rgba(10,9,16,.97),rgba(10,9,16,.83));border-color:var(--dash-border)}
body:not(.auth-only) .topbar h1{font-size:clamp(24px,2.1vw,32px);letter-spacing:-1.1px}
body:not(.auth-only) .welcome-row{min-height:42px;align-items:center}
body:not(.auth-only) .stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
body:not(.auth-only) .stat-card,body:not(.auth-only) .panel{border:1px solid var(--dash-border);background:linear-gradient(145deg,rgba(25,21,34,.96),rgba(15,13,21,.98));box-shadow:0 18px 50px rgba(0,0,0,.18)}
body:not(.auth-only) .content-grid{grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);gap:16px}
body:not(.auth-only) .primary-nav .nav{min-height:44px;border-radius:10px}
body:not(.auth-only) .primary-nav .nav:hover{background:rgba(255,255,255,.055);transform:translateX(2px)}
body:not(.auth-only) .primary-nav .nav.active{background:linear-gradient(100deg,rgba(160,115,255,.18),rgba(160,115,255,.035));border-color:rgba(175,139,255,.25)}
body:not(.auth-only) #staffMount:not([hidden]){display:grid;grid-template-columns:minmax(0,1fr);align-content:start;gap:16px;margin:0!important;padding:0 0 28px;border:0;background:transparent;box-shadow:none}
body:not(.auth-only) .staff-workspace-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 28px;border:1px solid rgba(177,137,255,.24);border-radius:16px;background:radial-gradient(ellipse at 12% 0%,rgba(139,88,225,.22),transparent 55%),linear-gradient(120deg,#191423,#100e16 70%);box-shadow:0 20px 55px rgba(0,0,0,.22)}
body:not(.auth-only) .staff-workspace-heading .eyebrow{color:#bda2f2;font:700 9px 'DM Mono',monospace;letter-spacing:1.7px}
body:not(.auth-only) .staff-workspace-heading h2{margin:7px 0 4px;font-size:clamp(24px,3vw,34px);letter-spacing:-1px}
body:not(.auth-only) .staff-workspace-heading p{margin:0;color:#a9a1b4;font-size:12px}
body:not(.auth-only) .staff-access-pill{display:inline-flex;align-items:center;gap:8px;padding:9px 12px;border:1px solid rgba(153,116,217,.2);border-radius:99px;background:rgba(153,116,217,.08);color:#d7c6f5;font-size:10px;white-space:nowrap}
body:not(.auth-only) .staff-access-pill i{width:7px;height:7px;border-radius:50%;background:#8fdfbd;box-shadow:0 0 12px #8fdfbd88}
body:not(.auth-only) .staff-ticket-queue,body:not(.auth-only) .staff-announcement-manager,body:not(.auth-only) #publicSupportQueue,body:not(.auth-only) #registeredAccounts,body:not(.auth-only) #staffShiftPanel,body:not(.auth-only) #staffTools,body:not(.auth-only) #tierTools{width:100%;margin:0!important;padding:22px!important;border:1px solid var(--dash-border)!important;border-radius:15px!important;background:linear-gradient(145deg,rgba(25,21,34,.98),rgba(14,12,19,.98))!important;box-shadow:0 18px 48px rgba(0,0,0,.18)!important}
body:not(.auth-only) .staff-ticket-toolbar{display:flex;gap:8px;align-items:center}
body:not(.auth-only) .staff-ticket-toolbar button{min-height:36px;padding:8px 12px;border:1px solid var(--dash-border);border-radius:8px;background:rgba(255,255,255,.035)}
body:not(.auth-only) .staff-ticket-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0}
body:not(.auth-only) .staff-ticket-stat{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-height:78px;padding:13px 15px;border:1px solid var(--dash-border);border-radius:11px;background:rgba(255,255,255,.025);color:#f5f1fa;text-align:left;cursor:pointer;transition:transform .16s,border-color .16s,background .16s}
body:not(.auth-only) .staff-ticket-stat:hover,body:not(.auth-only) .staff-ticket-stat.selected{transform:translateY(-1px);border-color:rgba(169,130,255,.46);background:rgba(169,130,255,.09)}
body:not(.auth-only) .staff-ticket-stat strong{font-size:23px;line-height:1}
body:not(.auth-only) .staff-ticket-stat span{color:#aaa1b4;font-size:10px}
body:not(.auth-only) .staff-ticket-filters{display:grid;grid-template-columns:minmax(220px,1.7fr) repeat(3,minmax(140px,1fr));gap:9px;margin:14px 0}
body:not(.auth-only) .staff-ticket-filters input,body:not(.auth-only) .staff-ticket-filters select{min-width:0;min-height:40px}
body:not(.auth-only) .staff-ticket-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px;border:1px solid var(--dash-border);border-radius:11px;background:rgba(255,255,255,.022);transition:border-color .16s,background .16s}
body:not(.auth-only) .staff-ticket-row:hover{border-color:rgba(169,130,255,.36);background:rgba(169,130,255,.045)}
body:not(.auth-only) .staff-ticket-row-main{min-width:0;flex:1}
body:not(.auth-only) .staff-ticket-row h3{margin:9px 0 5px;font-size:15px}
body:not(.auth-only) .staff-ticket-row p{margin:0 0 8px;color:#9f97a9;font-size:10px}
body:not(.auth-only) .staff-ticket-row-heading{display:flex;align-items:center;flex-wrap:wrap;gap:7px}
body:not(.auth-only) .staff-ticket-code{color:#c6a9ff;font:700 10px 'DM Mono',monospace;text-decoration:none}
body:not(.auth-only) .staff-ticket-code:hover{text-decoration:underline}
body:not(.auth-only) .staff-copy-ticket{margin-left:9px;padding:3px 7px;border:1px solid var(--dash-border);border-radius:6px}
body:not(.auth-only) .ticket-priority{padding:4px 7px;border-radius:99px;background:rgba(255,255,255,.055);color:#c5bdce;font-size:9px;text-transform:capitalize}
body:not(.auth-only) .priority-urgent,body:not(.auth-only) .priority-high{background:rgba(242,98,117,.12);color:#ff9eaa}
body:not(.auth-only) .staff-ticket-row-actions{display:flex;align-items:flex-end;gap:10px}
body:not(.auth-only) .staff-ticket-row-actions label{display:grid;gap:5px;color:#968da0;font-size:9px}
body:not(.auth-only) .staff-ticket-row-actions select{min-width:145px;min-height:38px}
body:not(.auth-only) .staff-ticket-refresh-time{margin:10px 2px 0;font-size:9px}
body:not(.auth-only) .server-row,body:not(.auth-only) .ticket-row{padding:13px 15px;border-radius:10px}
body:not(.auth-only) .primary-btn{min-height:38px;padding:10px 14px}
body:not(.auth-only) .app-legal-footer{max-width:none}
@media(max-width:1100px){body:not(.auth-only) .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body:not(.auth-only) .content-grid{grid-template-columns:1fr}body:not(.auth-only) .staff-ticket-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){body:not(.auth-only) .app-shell{display:block}body:not(.auth-only) .sidebar{width:100%;padding:8px 12px;background:rgba(13,11,19,.97)!important}body:not(.auth-only) .main{width:100%;margin:0;padding:16px 13px 42px}body:not(.auth-only) .topbar{position:relative;align-items:flex-start;flex-direction:column;padding-top:2px}body:not(.auth-only) .top-actions{width:100%;justify-content:flex-start}body:not(.auth-only) .staff-workspace-heading{align-items:flex-start;flex-direction:column;padding:19px}body:not(.auth-only) .staff-ticket-stats{grid-template-columns:repeat(2,minmax(0,1fr))}body:not(.auth-only) .staff-ticket-filters{grid-template-columns:1fr}body:not(.auth-only) .staff-ticket-row{align-items:stretch;flex-direction:column}body:not(.auth-only) .staff-ticket-row-actions{align-items:stretch;flex-direction:column}body:not(.auth-only) .staff-ticket-row-actions select{width:100%}body:not(.auth-only) .staff-ticket-row-actions .primary-btn{text-align:center}body:not(.auth-only) .staff-ticket-toolbar{flex-wrap:wrap}body:not(.auth-only) .staff-ticket-queue,body:not(.auth-only) .staff-announcement-manager,body:not(.auth-only) #publicSupportQueue,body:not(.auth-only) #registeredAccounts,body:not(.auth-only) #staffShiftPanel,body:not(.auth-only) #staffTools,body:not(.auth-only) #tierTools{padding:15px!important}}
@media(prefers-reduced-motion:reduce){body:not(.auth-only) *,body:not(.auth-only) *::before,body:not(.auth-only) *::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* High contrast first screen: unmistakable Veyra control center */
body:not(.auth-only) .main{padding-top:22px;max-width:1720px}
body:not(.auth-only) .topbar{margin-bottom:20px;padding-bottom:15px}
body:not(.auth-only) .topbar h1{font-size:26px;letter-spacing:-.8px}
body:not(.auth-only) #workspaceHero{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,34%);min-height:330px;overflow:hidden;margin:0 0 18px;padding:clamp(28px,4vw,54px);border:1px solid rgba(185,148,255,.25);border-radius:21px;background:radial-gradient(ellipse at 77% 35%,rgba(111,57,207,.35),transparent 38%),radial-gradient(ellipse at 5% 100%,rgba(53,31,86,.48),transparent 48%),linear-gradient(115deg,#1a1425 0%,#100d17 60%,#100b19 100%);box-shadow:0 24px 70px rgba(0,0,0,.3)}
body:not(.auth-only) #workspaceHero::before{position:absolute;z-index:-1;inset:0;content:"";opacity:.15;background-image:linear-gradient(rgba(193,167,255,.14) 1px,transparent 1px),linear-gradient(90deg,rgba(193,167,255,.14) 1px,transparent 1px);background-size:48px 48px;mask-image:linear-gradient(90deg,transparent 15%,#000 100%)}
body:not(.auth-only) .workspace-hero-content{position:relative;z-index:2;align-self:center;max-width:660px}
body:not(.auth-only) .workspace-hero-kicker{display:flex;align-items:center;gap:9px;color:#c6a7ff;font:700 9px 'DM Mono',monospace;letter-spacing:1.6px}
body:not(.auth-only) .workspace-hero-kicker .pulse{width:7px;height:7px;background:#b492ff;box-shadow:0 0 14px #a478ff}
body:not(.auth-only) .workspace-hero-content h2{margin:22px 0 11px;color:#fbf9ff;font-size:clamp(39px,5.1vw,68px);font-weight:800;line-height:.99;letter-spacing:-3.5px}
body:not(.auth-only) .workspace-hero-content h2 span{color:#b895ff;background:linear-gradient(90deg,#e2d1ff,#9e70ff 72%);background-clip:text;-webkit-text-fill-color:transparent}
body:not(.auth-only) .workspace-hero-content>p{max-width:520px;margin:0;color:#aaa1b6;font-size:13px;line-height:1.8}
body:not(.auth-only) .workspace-hero-actions{display:flex;align-items:center;gap:11px;margin-top:24px}
body:not(.auth-only) .workspace-hero-actions .primary-btn{min-height:44px;padding:12px 17px;border-radius:9px;font-size:11px}
body:not(.auth-only) .hero-secondary{min-height:44px;padding:11px 16px;border:1px solid rgba(217,201,255,.2);border-radius:9px;background:rgba(255,255,255,.035);color:#e4dafa;font:700 11px Manrope;cursor:pointer;transition:background .18s,border-color .18s,transform .18s}
body:not(.auth-only) .hero-secondary:hover{transform:translateY(-2px);border-color:rgba(190,154,255,.58);background:rgba(169,130,255,.1)}
body:not(.auth-only) .hero-secondary span{margin-left:9px;color:#bd9cff}
body:not(.auth-only) .workspace-hero-meta{display:flex;flex-wrap:wrap;gap:18px;margin-top:28px;color:#91899e;font:9px 'DM Mono',monospace;letter-spacing:.2px}
body:not(.auth-only) .workspace-hero-meta span{display:flex;align-items:center;gap:7px}
body:not(.auth-only) .workspace-hero-meta i{width:5px;height:5px;border-radius:50%;background:#ac84ff;box-shadow:0 0 8px #a477ff}
body:not(.auth-only) .workspace-hero-art{position:absolute;z-index:0;inset:0 0 0 auto;width:45%;overflow:hidden;pointer-events:none}
body:not(.auth-only) .workspace-hero-art::before{position:absolute;content:"";width:330px;height:330px;right:12%;top:0;border-radius:50%;background:#7536d322;filter:blur(30px)}
body:not(.auth-only) .workspace-hero-art img{position:absolute;top:50%;right:16%;width:min(230px,54%);height:auto;object-fit:contain;filter:drop-shadow(0 18px 42px rgba(133,73,255,.48));transform:translateY(-50%) rotate(-7deg);animation:veyra-mark-float 6s ease-in-out infinite}
body:not(.auth-only) .hero-orbit{position:absolute;top:50%;right:1%;width:370px;height:130px;border:1px solid rgba(185,147,255,.28);border-radius:50%;transform:translateY(-50%) rotate(-25deg)}
body:not(.auth-only) .hero-orbit-two{width:320px;height:205px;right:5%;transform:translateY(-50%) rotate(35deg);border-color:rgba(151,104,255,.18)}
body:not(.auth-only) .hero-grid{position:absolute;right:8%;top:18%;width:8px;height:8px;background:#d4b8ff;box-shadow:70px 40px 0 -2px #9d6eff,165px -20px 0 -1px #b991ff,220px 120px 0 -2px #bb8eff;transform:rotate(45deg)}
body:not(.auth-only) .workspace-hero-index{position:absolute;right:26px;top:23px;display:flex;flex-direction:column;align-items:flex-end;gap:7px;color:#7f748e;font:9px 'DM Mono',monospace;letter-spacing:1.3px}
body:not(.auth-only) .workspace-hero-index strong{color:rgba(236,225,255,.13);font:800 17px Manrope;letter-spacing:3px}
body:not(.auth-only) .workspace-hero-index strong span{color:rgba(174,133,255,.28)}
body:not(.auth-only) .welcome-row{display:none!important}
body:not(.auth-only) .stats-grid{gap:13px;margin-top:0}
body:not(.auth-only) .stat-card{min-height:126px;padding:17px 19px}
body:not(.auth-only) .content-grid{margin-top:14px}
body:not(.auth-only) .quick-panel{margin-top:14px}
@keyframes veyra-mark-float{0%,100%{transform:translateY(-50%) rotate(-7deg)}50%{transform:translateY(calc(-50% - 9px)) rotate(-4deg)}}
@media(max-width:900px){body:not(.auth-only) #workspaceHero{grid-template-columns:1fr;min-height:310px;padding:30px}.workspace-hero-art{width:37%!important;opacity:.62}body:not(.auth-only) .workspace-hero-content{max-width:70%}body:not(.auth-only) .workspace-hero-content h2{font-size:clamp(38px,7vw,56px)}}
@media(max-width:620px){body:not(.auth-only) #workspaceHero{min-height:380px;padding:26px 21px}.workspace-hero-art{inset:auto 0 0 auto!important;width:66%!important;height:55%;opacity:.48}.workspace-hero-art img{width:135px!important;right:14%!important}.hero-orbit{width:260px!important;height:100px!important;right:-6%!important}.hero-orbit-two{width:220px!important;height:145px!important}.workspace-hero-index{right:15px!important;top:15px!important}.workspace-hero-content{max-width:100%!important;align-self:start!important}.workspace-hero-content h2{margin-top:23px!important;font-size:43px!important;letter-spacing:-2.6px!important}.workspace-hero-content>p{max-width:370px;font-size:12px!important}.workspace-hero-meta{gap:9px 13px!important;margin-top:19px!important;font-size:8px!important}.workspace-hero-actions{margin-top:19px!important}}
@media(prefers-reduced-motion:reduce){body:not(.auth-only) .workspace-hero-art img{animation:none}}

/* Dedicated announcement, ticket inbox, and server team pages */
body:not(.auth-only) #announcementsPageMount[hidden]{display:none!important}
body:not(.auth-only) #announcementsPageMount:not([hidden]){display:block;margin:0!important;padding:24px!important;border-color:rgba(187,151,255,.18);border-radius:16px;background:linear-gradient(145deg,#181421,#100e16);box-shadow:0 22px 60px rgba(0,0,0,.23)}
body:not(.auth-only) .announcement-page-list{display:grid;gap:12px;margin-top:20px}
body:not(.auth-only) .announcement-page-card{position:relative;padding:19px 21px;border:1px solid rgba(225,210,255,.12);border-left:3px solid #9a72ed;border-radius:12px;background:rgba(255,255,255,.025)}
body:not(.auth-only) .announcement-page-card.severity-warning{border-left-color:#e5b25d}
body:not(.auth-only) .announcement-page-card.severity-outage{border-left-color:#e66b79}
body:not(.auth-only) .announcement-page-meta{display:flex;justify-content:space-between;gap:12px;color:#a995ce;font:700 9px 'DM Mono',monospace;letter-spacing:1px}
body:not(.auth-only) .announcement-page-meta time{color:#81798b;font-weight:400;letter-spacing:0}
body:not(.auth-only) .announcement-page-card h3{margin:12px 0 6px;font-size:18px}
body:not(.auth-only) .announcement-page-card p{max-width:850px;margin:0;color:#b4acbf;font-size:12px;line-height:1.8;white-space:pre-wrap}
body:not(.auth-only) .announcement-page-form:not([hidden]){display:grid;gap:10px;margin-top:22px;padding:18px;border:1px solid rgba(187,151,255,.18);border-radius:12px;background:rgba(169,130,255,.045)}
body:not(.auth-only) .announcement-page-form[hidden]{display:none!important}
body:not(.auth-only) .announcement-page-form h3{margin:0}
body:not(.auth-only) .announcement-page-form textarea{width:100%}
body:not(.auth-only) .team-workspace-grid{display:grid;grid-template-columns:minmax(230px,.72fr) minmax(0,1.5fr);gap:15px;margin-top:20px}
body:not(.auth-only) .team-server-picker,body:not(.auth-only) .team-member-workspace{min-width:0;padding:18px;border:1px solid rgba(225,210,255,.12);border-radius:13px;background:rgba(255,255,255,.025)}
body:not(.auth-only) .team-server-picker h3{margin:0 0 12px;font-size:14px}
body:not(.auth-only) .team-server-choice{display:grid;width:100%;gap:6px;margin-bottom:8px;padding:13px;border:1px solid rgba(225,210,255,.1);border-radius:9px;background:#0e0c13;color:#f4eff9;text-align:left;cursor:pointer}
body:not(.auth-only) .team-server-choice.active,body:not(.auth-only) .team-server-choice:hover{border-color:rgba(169,130,255,.5);background:rgba(169,130,255,.08)}
body:not(.auth-only) .team-server-choice small{color:#958ca0;font-size:9px}
body:not(.auth-only) .team-server-choice span{color:#c2a6ff;font-size:10px}
body:not(.auth-only) .team-member-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}
body:not(.auth-only) .team-member-heading h3{margin:5px 0 0;font-size:19px}
body:not(.auth-only) .team-count,.team-role-chip{padding:6px 9px;border:1px solid rgba(169,130,255,.22);border-radius:99px;background:rgba(169,130,255,.07);color:#c8b2ed;font-size:9px}
body:not(.auth-only) .team-invite-form{display:grid;grid-template-columns:minmax(150px,1fr) minmax(130px,.85fr) auto;align-items:end;gap:9px;margin:17px 0;padding:13px;border:1px solid rgba(225,210,255,.1);border-radius:10px;background:#100e16}
body:not(.auth-only) .team-invite-form label{display:grid;gap:6px;color:#a79eaf;font-size:9px}
body:not(.auth-only) .team-invite-form input,body:not(.auth-only) .team-invite-form select{min-width:0;min-height:39px}
body:not(.auth-only) .team-invite-form .form-message{grid-column:1/-1;margin:0;font-size:9px}
body:not(.auth-only) .team-member-list{display:grid;gap:8px}
body:not(.auth-only) .team-member-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:1px solid rgba(225,210,255,.09);border-radius:9px;background:#111018}
body:not(.auth-only) .team-member-row>div:first-child{display:grid;gap:4px;min-width:0}
body:not(.auth-only) .team-member-row small{overflow-wrap:anywhere;color:#a49bab;font-size:10px}
body:not(.auth-only) .team-member-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap}
body:not(.auth-only) .team-member-actions select{min-width:105px;min-height:34px;font-size:10px}
body[data-dashboard-page="ticket-inbox"] #staffMount>.staff-workspace-heading{margin-bottom:1px}
body[data-dashboard-page="ticket-inbox"] #staffMount>:not(.staff-workspace-heading):not(#staffTicketQueue){display:none!important}
body[data-dashboard-page="ticket-inbox"] #staffTicketQueue{display:grid!important}
@media(max-width:900px){body:not(.auth-only) .team-workspace-grid{grid-template-columns:1fr}body:not(.auth-only) .team-invite-form{grid-template-columns:1fr 1fr}}
@media(max-width:600px){body:not(.auth-only) #announcementsPageMount:not([hidden]){padding:16px!important}body:not(.auth-only) .team-invite-form{grid-template-columns:1fr}body:not(.auth-only) .team-member-row{align-items:flex-start;flex-direction:column}body:not(.auth-only) .team-member-actions{justify-content:flex-start}}
/* Respect the hidden attribute everywhere in /app: component display styles must never resurrect hidden pages. */
body:not(.home-page) [hidden]{display:none!important}
body:not(.home-page) #ticketInboxNav[hidden]{display:none!important}

/* Search/filter controls added to the support and workspace pages */
body:not(.auth-only) .announcement-page-filters{display:grid;grid-template-columns:minmax(180px,1fr) minmax(190px,.55fr);gap:10px;margin-top:18px}
body:not(.auth-only) .announcement-page-filters input,body:not(.auth-only) .announcement-page-filters select{min-width:0;min-height:42px}
body:not(.auth-only) .staff-ticket-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
body:not(.auth-only) #clearStaffTicketFilters{border-color:rgba(185,158,222,.2)}
body:not(.auth-only) .team-search{width:100%;min-height:39px;margin:0 0 11px}
body:not(.auth-only) .team-member-row[hidden],body:not(.auth-only) .team-server-choice[hidden]{display:none!important}
@media(max-width:650px){body:not(.auth-only) .announcement-page-filters{grid-template-columns:1fr}body:not(.auth-only) .staff-ticket-toolbar{justify-content:flex-start}}
