/* Shared STUDIONE design tokens. Both applications load this file last. */
:root{--studio-bg:#212121;--studio-sidebar:#1c1c1c;--studio-surface:#282828;--studio-raised:#2c2c2c;--studio-border:#444444;--studio-text:#eaeaea;--studio-muted:#b2b2b2;--studio-accent:#c4c4c4;--studio-accent-ink:#292929;--studio-selected:#3c3c3c;--studio-font:Arial,Helvetica,sans-serif;--studio-radius:14px;--studio-sidebar-width:196px;--studio-header-height:80px;font-family:var(--studio-font)}
body.hub-app{background:var(--studio-bg);color:var(--studio-text)}body.hub-app .simple-sidebar{background:var(--studio-sidebar)}body.hub-app .hub-header{background:var(--studio-bg)}body.hub-app :is(.card,.attention-list,.quiet-state){background:var(--studio-surface);border-color:var(--studio-border);border-radius:var(--studio-radius)}body.hub-app :is(.primary-action,.add-record>summary){background:var(--studio-accent);color:var(--studio-accent-ink);border-color:var(--studio-accent)}
:root[data-theme=dark]{--muted:var(--studio-muted);--border:var(--studio-border);--blue:var(--studio-accent);--surface:var(--studio-surface);--raised:var(--studio-raised);color:var(--studio-text);background:var(--studio-bg)}
body.nexa-app{font-family:var(--studio-font);font-size:14px}body.nexa-app main{max-width:1200px;padding:36px 48px 50px}body.nexa-app :is(h1,h2,h3){font-family:var(--studio-font)}body.nexa-app h1{font-size:32px;letter-spacing:-1px;font-weight:500}body.nexa-app h2{font-size:21px;font-weight:500;letter-spacing:-.4px}body.nexa-app h3{font-size:17px;font-weight:600}body.nexa-app :is(.page-heading p,.auto-page-heading p,.field-hint,.auto-note){font-size:14px;line-height:1.7}body.nexa-app :is(.primary,.secondary,.text-button){font-family:var(--studio-font);font-size:14px;border-radius:8px;min-height:40px;box-shadow:none}body.nexa-app :is(input,select,textarea){font-size:14px;border-radius:7px}body.nexa-app label{font-size:12px}body.nexa-app :is(.panel,.stat,.content-card,.rule-card,.connection-card,.asset-card,.journey-card,.execution-log,.brand-form,.variant-card){border-radius:var(--studio-radius);box-shadow:none}body.nexa-app .sidebar{width:var(--studio-sidebar-width);padding:30px 16px 0}body.nexa-app .main-shell{margin-left:var(--studio-sidebar-width)}body.nexa-app .brand{margin:0 12px 22px;font-size:22px;font-weight:750;letter-spacing:-.9px;gap:8px;align-items:baseline}body.nexa-app .brand-wordmark{font-size:22px;letter-spacing:-.9px;font-weight:750;font-style:normal}body.nexa-app .brand-wordmark i{font-style:normal;font-weight:750}body.nexa-app .product-label{font-size:10px;font-weight:500;letter-spacing:.3px;color:var(--studio-muted)}body.nexa-app .workspace-label{display:none}body.nexa-app .workspace-picker{display:none}body.nexa-app .sidebar nav{margin-top:22px}body.nexa-app .nav-item{font-size:13px;border-radius:22px;gap:12px;padding:11px 13px}body.nexa-app .nav-item>.nav-label{font-size:13px;line-height:1.5;width:auto;color:inherit}body.nexa-app .nav-item>span:first-child{font-size:19px;width:19px}body.nexa-app .nav-item small{font-size:11px}body.nexa-app .nav-group-toggle{font-size:13px;border-radius:22px;min-height:44px;padding:11px 13px;gap:12px}body.nexa-app .nav-group-icon{font-size:19px;width:19px}body.nexa-app .nav-group-label{font-size:13px}body.nexa-app .nav-children{margin-left:8px;padding-left:8px}body.nexa-app .topbar{height:var(--studio-header-height);padding:16px 40px;position:sticky;top:0;z-index:4;gap:16px}body.nexa-app .topbar-left{min-width:0;gap:14px}body.nexa-app .breadcrumb{font-size:14px;white-space:nowrap}body.nexa-app .breadcrumb strong{font-weight:500}body.nexa-app .breadcrumb span{margin:0 9px}body.nexa-app .topbar-workspace{display:flex;max-width:230px}body.nexa-app .topbar-workspace select{font-size:14px;padding:8px 10px;border:0;background:transparent;width:100%;font-weight:600}body.nexa-app .topbar-workspace .workspace-add{width:25px;height:25px;min-width:25px;font-size:16px}body.nexa-app .topbar-right{gap:12px}body.nexa-app .topbar .icon-button{height:34px;min-width:34px;font-size:16px}body.nexa-app .topbar .sidebar-toggle{width:34px;height:34px}body.nexa-app .topbar .avatar{width:35px;height:35px;border:0;box-shadow:none}body.nexa-app .owner-login-link{font-size:12px;white-space:nowrap}body.nexa-app .demo-pill{display:none}body.nexa-app .sidebar-bottom{padding-top:15px}body.nexa-app .profile{padding:18px 7px}.nexa-app .profile strong{font-size:13px}.nexa-app .profile small{font-size:11px}body.nexa-app footer{font-size:11px;padding:20px 40px;gap:15px}body.nexa-app .automation-hero{border-radius:16px;padding:30px;box-shadow:none}body.nexa-app .automation-hero h2{font-size:34px;font-weight:500;letter-spacing:-1px}body.nexa-app .automation-hero>div>p{font-size:14px;line-height:1.8}body.nexa-app .automation-stats strong{font-size:27px;font-weight:500}body.nexa-app .automation-stats small{font-size:12px}body.nexa-app .automation-stats article>div{font-size:13px}body.nexa-app .auto-page-heading .eyebrow,body.nexa-app .eyebrow{font-size:11px;letter-spacing:1.5px}body.nexa-app .section-header{padding:20px 23px}body.nexa-app .stat>strong{font-size:27px;font-weight:500}
[data-theme=dark] body.nexa-app{background:var(--studio-bg);color:var(--studio-text)}[data-theme=dark] body.nexa-app .sidebar{background:var(--studio-sidebar);border-color:#363636}[data-theme=dark] body.nexa-app .topbar{background:var(--studio-bg);border-color:#363636}[data-theme=dark] body.nexa-app :is(.panel,.stat,.content-card,.rule-card,.connection-card,.asset-card,.journey-card,.execution-log,.brand-form,.variant-card,.readiness-card,.ai-studio-card,.settings-panel,.profile-settings-card){background:var(--studio-surface);border-color:var(--studio-border);box-shadow:none}[data-theme=dark] body.nexa-app :is(h1,h2,h3,.brand,.profile strong,.table-title,.journey-card h2,.asset-card-body h3,.variant-body h3,.stat>strong,.automation-stats strong){color:var(--studio-text)}[data-theme=dark] body.nexa-app :is(p,label,legend,.subtle,.breadcrumb,.breadcrumb strong,.field-hint,.eyebrow,.auto-note,.auto-empty p,.connection-form small,.brand-context-card p,.brand-context-card li,.journey-card p,.variant-caption,.asset-card-body small,.section-header p,.profile small){color:var(--studio-muted)}[data-theme=dark] body.nexa-app :is(input,select,textarea){background:var(--studio-bg);color:var(--studio-text);border-color:#545454}[data-theme=dark] body.nexa-app .topbar-workspace{background:transparent;border:0}[data-theme=dark] body.nexa-app .topbar-workspace select{background:transparent}[data-theme=dark] body.nexa-app :is(.secondary,.icon-button,.file-button,.plan-card button){background:var(--studio-surface);color:var(--studio-text);border-color:#4b4b4b;box-shadow:none}[data-theme=dark] body.nexa-app .primary{background:var(--studio-accent);color:var(--studio-accent-ink);border-color:var(--studio-accent);box-shadow:none}[data-theme=dark] body.nexa-app .primary:hover{background:#d5d5d5}[data-theme=dark] body.nexa-app :is(.nav-item,.nav-group-toggle){color:#bdbdbd}[data-theme=dark] body.nexa-app :is(.nav-item.active,.tabs button.active,.nav-group-toggle.current-group){background:var(--studio-selected);color:#cfcfcf}[data-theme=dark] body.nexa-app .nav-item.active>span{color:#cfcfcf}[data-theme=dark] body.nexa-app :is(.nav-item:hover,.nav-group-toggle:hover){background:#2d2d2d;color:var(--studio-text)}[data-theme=dark] body.nexa-app .text-button{color:var(--studio-accent)}[data-theme=dark] body.nexa-app .avatar{background:#434343;color:#d5d5d5;border-color:transparent;box-shadow:none}[data-theme=dark] body.nexa-app :is(.automation-hero,.ai-studio-card){background:#2d2d2d;border-color:#4a4a4a;box-shadow:none}[data-theme=dark] body.nexa-app .orbit-brain{background:#3c3c3c;color:#cfcfcf;border-color:#636363;box-shadow:none}[data-theme=dark] body.nexa-app .readiness-bottom{background:var(--studio-raised);color:var(--studio-muted)}[data-theme=dark] body.nexa-app .owner-login-link{color:var(--studio-accent)}[data-theme=dark] body.nexa-app footer{color:#9f9f9f;border-color:#363636}[data-theme=dark] body.nexa-app :is(button,a,input,select,textarea):focus-visible{outline-color:var(--studio-accent)}
@media(max-width:1000px) and (min-width:801px){body.nexa-app .sidebar{width:160px;padding:28px 10px 0}body.nexa-app .main-shell{margin-left:160px}body.nexa-app .brand,body.nexa-app .brand-wordmark{font-size:19px}body.nexa-app .brand{margin-left:8px}body.nexa-app main{padding:30px 25px}body.nexa-app .topbar{padding:15px 25px}body.nexa-app .product-label{display:none}}
@media(max-width:800px){body.nexa-app .sidebar{width:196px}body.nexa-app .main-shell{margin-left:0}body.nexa-app .topbar{padding:12px 16px;height:65px}body.nexa-app main{padding:25px 18px 35px}body.nexa-app h1{font-size:27px}body.nexa-app .topbar-right{gap:7px}body.nexa-app .topbar-workspace{max-width:200px}body.nexa-app .topbar-workspace select{font-size:12px}body.nexa-app .topbar-right .owner-login-link[href='/client']{display:none}body.nexa-app .topbar-right #help{display:none}body.nexa-app .automation-hero{padding:24px}body.nexa-app .automation-hero h2{font-size:29px}body.nexa-app footer{padding:18px}body.nexa-app .topbar .profile-avatar-button{display:grid}}
@media(prefers-reduced-motion:reduce){body.nexa-app *{transition:none!important}}
.studio-brand{font:750 22px var(--studio-font);letter-spacing:-.9px;white-space:nowrap}.studio-brand>span{color:#cdcdcd}body.nexa-app .topbar #help{display:none}body.nexa-app .studio-app-switch{background:transparent;border:0;color:#c1c1c1;font-size:27px!important;padding:0}.studio-switcher{background:var(--studio-surface);color:var(--studio-text);border:1px solid var(--studio-border);border-radius:20px;width:430px;max-width:calc(100vw - 32px);padding:25px;box-shadow:0 18px 60px #0005}.studio-switcher::backdrop{background:#0006;backdrop-filter:blur(2px)}.studio-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.studio-dialog-heading h2{margin:0;font:500 21px var(--studio-font)}.studio-dialog-heading button{border:0;background:transparent;color:var(--studio-muted);font-size:25px;cursor:pointer}.studio-switcher>a{display:flex;align-items:center;gap:15px;text-decoration:none;padding:16px 12px;border-radius:12px;color:var(--studio-text)}.studio-switcher>a:hover{background:#373737}.studio-switcher strong{display:block;font-size:14px;font-weight:500}.studio-switcher small{display:block;font-size:12px;color:var(--studio-muted);margin-top:6px}.studio-app-icon{width:43px;height:43px;flex:0 0 43px;display:grid;place-items:center;border-radius:12px;background:var(--studio-selected);color:var(--studio-accent);font-size:20px}.studio-switcher .text-button{margin-top:15px}
body.nexa-app .automation-hero{grid-template-columns:minmax(0,1fr)}body.nexa-app .automation-hero .hero-orbit{display:none}body.nexa-app .automation-hero h2{font-size:25px;margin:16px 0 10px;letter-spacing:-.5px}body.nexa-app .automation-hero>div>p{max-width:650px;margin:0 0 23px}[data-theme=dark] body.nexa-app .automation-stats>article{background:var(--studio-surface);border-color:var(--studio-border);border-radius:var(--studio-radius);box-shadow:none}body.nexa-app .nav-group-label{white-space:nowrap}
