/* Growth workspace: neutral operational surfaces and progressive actions. */
.enterprise {--rail:#142337;--page:#f5f7fa;--canvas:#f5f7fa;--surface:#fff;--surface-2:#f8fafb;--text:#182b40;--muted:#627185;--line:#dfe5ec;--ink:#087b70;--yellow:#e8f4f1;--r:10px;--r-sm:6px;--shadow:0 2px 8px #172b4010;color:var(--text);font-size:14px;line-height:1.6}
.enterprise.app-body{padding:0;background:var(--page)}
.enterprise .app-frame{grid-template-columns:224px minmax(0,1fr);border-radius:0;min-height:100vh;overflow:visible;box-shadow:none}
.enterprise .rail{position:sticky;top:0;height:100vh;align-items:stretch;padding:28px 14px 16px;overflow-y:auto;scrollbar-width:thin;background:var(--rail)}
.enterprise .rail-logo{width:auto;height:52px;display:flex;justify-content:flex-start;gap:12px;background:none;color:#fff;margin:0 12px 26px;border-radius:0}
.enterprise .rail-logo i{width:30px;height:32px;background:#57c4ad;transform:none;clip-path:polygon(0 0,100% 0,100% 34%,36% 34%,36% 67%,66% 67%,66% 51%,100% 51%,100% 100%,0 100%);border-radius:0;flex:none}
.enterprise .rail-logo span{font-size:24px;font-weight:700;line-height:1.25;letter-spacing:-.6px}
.enterprise .rail-logo small{display:block;font-size:11px;letter-spacing:1px;color:#a9b9cb;margin-top:5px;font-weight:400}
.nav-caption{margin:0 12px 12px;font-size:11px;letter-spacing:1px;color:#a2b3c6}
.enterprise .rail-nav{padding:0;gap:5px;flex:1}
.enterprise .rail-item{flex-direction:row;justify-content:flex-start;gap:12px;padding:11px 14px;min-height:44px;min-width:0;font-size:13px;letter-spacing:0;color:#becbda;border-radius:6px}
.enterprise .rail-item svg{width:18px;height:18px;flex:none}
.enterprise .rail-item:hover{background:#20354e;color:#fff}
.enterprise .rail-item.is-on{color:#fff;background:#28425a;box-shadow:inset 3px 0 #59c7b2}
.enterprise .rail-foot{padding:18px 0 0;margin-top:26px;border-top:1px solid #314157}
.workspace-identity{padding:18px 12px 0;color:#c8d4e2;font-size:12px}
.workspace-identity strong,.workspace-identity span{display:block;overflow-wrap:anywhere}.workspace-identity span{color:#94a6bb;font-size:11px;margin-top:3px}
.enterprise .canvas-bar{height:72px;padding:0 32px;background:#fff;border-bottom:1px solid var(--line);gap:24px}
.page-context{display:flex;align-items:center;gap:13px;font-size:12px;white-space:nowrap}.page-context span,.page-context b{color:var(--muted);font-weight:400}.page-context strong{font-weight:600}
.enterprise .cmd{margin-left:auto;max-width:280px;border:1px solid var(--line);border-radius:6px;background:#f8fafc;height:36px;box-shadow:none;padding:0 12px;min-width:0}
.enterprise .cmd input{width:100%;min-width:0;font-size:12px;height:32px;outline-offset:4px}.cmd kbd{border:1px solid var(--line);border-radius:3px;color:#738194;background:#fff;padding:0 5px;font-size:11px}
.enterprise .bar-user{margin-left:0;gap:8px}.enterprise .avatar,.enterprise .lang-pill{background:#eef2f6;width:32px;height:32px;font-size:12px}.enterprise .avatar{background:#e2f1ed;color:#116858}.enterprise .avatar.ghost{background:none;color:var(--muted)}
.enterprise .main,.enterprise.workspace-platform .main{padding:32px;max-width:1600px;margin:0 auto;width:100%;min-width:0}
.enterprise .page-head{align-items:center;margin:0 0 28px;gap:20px}.enterprise .page-head h1{font-size:27px;line-height:1.4;letter-spacing:-.6px;font-weight:700}.enterprise .sub{font-size:13px;line-height:1.8;color:var(--muted);margin:7px 0 0}
.enterprise .btn-primary,.enterprise .btn-ghost{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:6px;min-height:40px;padding:9px 16px;font-size:13px;font-weight:600;line-height:1.4;box-shadow:none;cursor:pointer;transition:background 140ms,border-color 140ms}
.enterprise .btn-primary{background:#087b70;color:#fff;border:1px solid #087b70}.enterprise .btn-primary:hover{background:#06675e;border-color:#06675e}.enterprise .btn-ghost{background:#fff;color:var(--text);border:1px solid #d7dfe7}.enterprise .btn-ghost:hover{background:#f1f5f9;border-color:#a5b4c4}.enterprise .compact{min-height:34px;padding:6px 11px;font-size:12px}
.enterprise :focus-visible{outline:3px solid #359dcb;outline-offset:3px}.enterprise button:disabled{cursor:wait;opacity:.6}
.enterprise .panel{border:1px solid var(--line);box-shadow:0 2px 5px #172b4004;border-radius:8px;background:#fff;overflow:hidden}
.enterprise .tenant-stats{grid-template-columns:repeat(4,minmax(0,1fr));margin:0 0 28px;border:1px solid var(--line);border-radius:8px;background:#fff;overflow:hidden}
.enterprise .tenant-stats > div,.enterprise .tenant-stats > a{padding:20px 24px;border-right:1px solid var(--line);position:relative;min-width:0}.enterprise .tenant-stats > :last-child{border-right:0}.enterprise .tenant-stats strong{font-size:30px;line-height:1.25;color:var(--text);margin:12px 0 0;font-weight:500}.enterprise .tenant-stats span{font-size:12px;color:var(--muted)}.stat-link:hover{background:#f5faf9}.stat-link small{display:block;font-size:11px;color:#087b70;margin-top:10px}
.section-heading{padding:20px 24px 0;display:flex;align-items:center;justify-content:space-between;gap:20px}.section-heading h2{font-size:16px;margin:0}.section-heading p{font-size:12px;margin:4px 0 0;color:var(--muted)}.count-label{font-family:var(--mono);font-size:12px;color:var(--muted);white-space:nowrap}
.enterprise .tenant-filters{padding:20px 24px 14px;gap:12px}.enterprise label span{font-size:12px;color:#40536a;margin-bottom:6px}.enterprise input:not([type=checkbox]):not([type=radio]),.enterprise select,.enterprise textarea{border-radius:6px;border:1px solid #ced8e2;background:#fff;color:var(--text);font-size:13px;min-height:40px;padding:9px 11px;max-width:100%}.enterprise .cmd input{border:0;background:transparent;min-height:30px;padding:0}.enterprise .tenant-filters input,.enterprise .tenant-filters select,.enterprise .tenant-filters button,.enterprise .tenant-filters a{min-height:40px}.enterprise .tenant-filters label:first-child{min-width:160px}.enterprise .tenant-result{font-size:11px;margin:0;padding:0 24px 16px;color:var(--muted)}
.enterprise table{border-collapse:collapse;width:100%}.enterprise th{font-size:11px;font-weight:600;color:#536479;background:#f7f9fb;padding:12px 20px;border-block:1px solid var(--line);text-transform:none;letter-spacing:.2px;white-space:nowrap}.enterprise td{font-size:13px;padding:18px 20px;border-bottom:1px solid #eaf0f5;vertical-align:top}.enterprise tbody tr:last-child td{border-bottom:0}.enterprise tbody tr:hover{background:#fafcfd}.enterprise td strong{font-weight:600}.enterprise .cell-sub{font-size:11px;color:var(--muted);line-height:1.8;margin-top:5px}.enterprise .table-wrap{overflow:auto;max-width:100%}.enterprise .table-wrap:focus-visible{outline-offset:-3px}.enterprise .tenant-state{display:inline-flex;align-items:center;padding:2px 7px;background:#eaf6f0;border-radius:4px;font-size:11px;color:#22744f}.enterprise .state-suspended{background:#fff0ef;color:#ac382d}.enterprise .state-trial{background:#fff6df;color:#8a6310}
.empty-state{padding:52px 16px 62px;text-align:center;white-space:normal;max-width:520px;margin:auto}.empty-state svg{width:36px;height:36px;color:#74918e;margin-bottom:12px}.empty-state h3{font-size:18px;margin:0 0 8px;letter-spacing:-.3px}.empty-state p{font-size:13px;color:var(--muted);margin:0 0 22px}.enterprise .table-wrap:has(.empty-state) table{min-width:0}
.manage-details summary,.enterprise .recovery-action summary{font-size:12px;color:#087b70;cursor:pointer;white-space:nowrap;padding:6px 0;min-height:32px}.enterprise .manage-details[open]{min-width:200px}.enterprise .manage-details .inline-stage{display:grid;gap:10px;margin-top:10px}.enterprise .manage-details select,.enterprise .manage-details input[type=date]{width:100%;min-width:0}.enterprise .ops{white-space:normal}.enterprise .recovery-action{margin-top:5px}.enterprise .check{font-size:12px;line-height:1.6}
.customer-dialog{position:fixed;inset:0 0 0 auto;width:min(540px,100%);max-width:100%;height:100dvh;max-height:100dvh;margin:0;border:0;border-left:1px solid var(--line);padding:0;background:#fff;color:var(--text);box-shadow:-12px 0 50px #14233726;overflow-y:auto}.customer-dialog::backdrop{background:#0c20395c}.customer-dialog[open]{animation:drawer-in 180ms ease-out}.drawer-header{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);padding:24px 28px;background:#fff}.drawer-header h2{font-size:22px;line-height:1.4;margin:6px 0 0}.drawer-header .sub{margin:0;font-size:11px}.drawer-body{padding:20px 28px 32px}.enterprise .tenant-create-form{grid-template-columns:1fr;max-width:none;gap:18px;padding-top:8px}.form-section{display:flex;gap:12px;align-items:flex-start;border-top:1px solid var(--line);padding-top:22px;margin-top:10px}.form-section>span{display:grid;place-items:center;width:28px;height:28px;border-radius:5px;background:#edf4f4;color:#20796e;font-family:var(--mono);font-size:11px}.form-section h3{font-size:14px;margin:0}.form-section p{font-size:12px;margin:4px 0;color:var(--muted)}.form-footer{display:flex;justify-content:flex-end;gap:10px;margin-top:16px;padding-top:20px;border-top:1px solid var(--line)}
.enterprise .integration-notice{background:#f0f5fa;border-color:#d9e4ee;color:#50677e;font-size:12px;line-height:1.8;border-radius:6px;padding:13px 16px;margin:0 0 24px}.enterprise .banner-ok,.enterprise .form-error{border-radius:6px;line-height:1.7;padding:14px 18px}.enterprise .integration-row h2{font-size:17px}.enterprise .integration-list{padding:0 24px}.enterprise .integration-row{gap:40px;padding:26px 0}.enterprise .integration-row p{font-size:13px}.enterprise .integration-row dl div{border-bottom:1px dashed #e5eaf0}.enterprise .integration-row dl div:last-child{border:0}.enterprise .integration-row dt{font-size:11px}.enterprise .integration-row dd{font-size:12px}
.enterprise .home-workflows{padding:24px}.enterprise .home-workflows header{display:block;padding:0 0 20px}.enterprise .home-workflows h2{font-size:17px;margin:0}.enterprise .workflow-row{padding:22px 0}.enterprise .workflow-row h3{font-size:15px}.enterprise .workflow-row p{font-size:13px}.enterprise .workflow-number{background:#eff5f4;color:#287b70;width:34px;height:34px;display:grid;place-items:center;border-radius:6px;font-size:12px}
.enterprise.login-body{background:#edf1f6;padding:32px}.enterprise .login-wrap{border-radius:12px;max-width:1040px;width:100%;min-height:610px;box-shadow:0 12px 60px #182b4010}.enterprise .login-stage{background:#142337;padding:56px;display:flex;flex-direction:column;justify-content:center;border-top:5px solid #4cbfa7}.enterprise .login-stage h1{font-size:36px;line-height:1.55;letter-spacing:-1px;color:#fff;margin:36px 0 22px}.enterprise .login-stage p{color:#aebed0;font-size:14px;line-height:1.9}.enterprise .login-stage .kicker{font-size:11px;letter-spacing:2px;color:#63cbb4}.enterprise .login-card{padding:50px 46px}.enterprise .login-card h2{font-size:26px;margin:34px 0 20px;letter-spacing:-.5px}.enterprise .auth-tabs{margin-bottom:26px}.enterprise .auth-tabs .is-on{border-color:#087b70;color:#087b70}.enterprise .auth-links a{color:#536b86}.enterprise .login-card input:not([type=checkbox]){width:100%;min-height:46px}.enterprise .login-card .btn-primary{min-height:46px}
.skip-link{position:fixed;left:240px;top:-100px;padding:12px;background:#fff;z-index:1000}.skip-link:focus{top:8px}.nav-toggle{display:none!important}
@keyframes drawer-in{from{transform:translateX(24px);opacity:.6}to{transform:translateX(0);opacity:1}}
@media(min-width:1500px){.enterprise .main{padding:40px 48px}.enterprise .canvas-bar{padding-inline:48px}}
@media(max-width:1150px){.enterprise .app-frame{grid-template-columns:200px minmax(0,1fr)}.enterprise .main{padding:26px}.enterprise .canvas-bar{padding:0 26px;gap:14px}.page-context span,.page-context b{display:none}.enterprise .cmd{max-width:250px}.enterprise .tenant-stats>a,.enterprise .tenant-stats>div{padding:18px}}
@media(max-width:760px){.enterprise .app-frame{grid-template-columns:1fr}.enterprise .rail{display:none;position:relative;height:auto;max-height:none;padding:20px}.enterprise.nav-open .rail{display:flex;grid-row:2}.enterprise .rail-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:6px}.enterprise .rail-item span{display:inline}.enterprise .rail-foot{display:block;margin-top:16px}.workspace-identity{display:none}.enterprise .rail-logo{display:flex;margin-bottom:20px}.enterprise .canvas{grid-row:1}.enterprise.nav-open .rail{position:fixed;top:64px;left:0;bottom:0;width:min(340px,100%);z-index:30;overflow:auto;border-right:1px solid #314157;box-shadow:14px 0 40px #14233740}.enterprise.nav-open .rail-nav{display:flex;flex-direction:column;flex:none}.enterprise .canvas-bar{height:64px;padding:0 16px;gap:12px}.nav-toggle{display:inline-flex!important;min-width:38px}.enterprise .cmd{display:none}.enterprise .bar-user{margin-left:auto}.enterprise .page-context strong{font-size:12px}.enterprise .main,.enterprise.workspace-platform .main{padding:24px 16px}.enterprise .page-head{flex-direction:row;align-items:center;gap:16px;margin-bottom:22px}.enterprise .page-head h1{font-size:24px}.enterprise .page-head .sub{font-size:12px}.enterprise .tenant-stats,.enterprise.workspace-social .tenant-stats{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:22px}.enterprise .tenant-stats>:nth-child(2){border-right:0}.enterprise .tenant-stats>:nth-child(-n+2){border-bottom:1px solid var(--line)}.enterprise .tenant-stats>a,.enterprise .tenant-stats>div{padding:16px}.enterprise .tenant-stats strong{font-size:26px}.enterprise .section-heading{padding:18px 16px 0}.enterprise .tenant-filters{padding:16px;gap:10px}.enterprise .tenant-filters label:first-child{flex-basis:100%}.enterprise .tenant-filters label:nth-child(2){flex:1}.enterprise .tenant-result{padding:0 16px 14px}.enterprise th,.enterprise td{padding:13px 16px}.empty-state{padding:36px 8px}.enterprise .table-wrap:has(.empty-state) thead{display:none}.enterprise .integration-row{grid-template-columns:1fr;gap:14px}.enterprise .integration-list{padding:0 18px}.enterprise .home-workflows{padding:18px}.enterprise .workflow-row{grid-template-columns:30px minmax(0,1fr);gap:14px}.enterprise .workflow-row a{grid-column:2;justify-self:start}.drawer-header{padding:20px}.drawer-body{padding:16px 20px 24px}.enterprise.login-body{padding:20px}.enterprise .login-wrap{grid-template-columns:1fr;min-height:0}.enterprise .login-stage{padding:26px}.enterprise .login-stage h1{font-size:25px;margin:14px 0 10px;line-height:1.5}.enterprise .login-stage p:not(.kicker){display:none}.enterprise .login-card{padding:26px}.enterprise .login-card h2{margin-top:12px}.skip-link{left:16px}}
@media(prefers-reduced-motion:reduce){.enterprise *,.enterprise *::before,.enterprise *::after{animation:none!important;transition:none!important}}
.enterprise .platform-stats{grid-template-columns:repeat(5,minmax(0,1fr))}.enterprise .cmd input[type=search]{border:0;min-height:30px;background:transparent;padding:0;box-shadow:none}.enterprise .state-expired{background:#fff1e8;color:#a14c20}.table-pagination{display:flex;justify-content:space-between;align-items:center;padding:14px 24px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}.table-pagination>div{display:flex;gap:8px}
@media(max-width:760px){.enterprise .platform-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.enterprise .platform-stats>:nth-child(4){border-right:0}.enterprise .platform-stats>:nth-child(3),.enterprise .platform-stats>:nth-child(4){border-bottom:1px solid var(--line)}.enterprise .platform-stats>:last-child{grid-column:1/-1;display:grid;grid-template-columns:1fr auto;align-items:center}.enterprise .platform-stats>:last-child strong{grid-column:2;grid-row:1/3;margin:0}.enterprise .platform-stats>:last-child small{margin-top:4px}.table-pagination{padding:14px 16px}}
.integration-checklist summary{font-size:13px;color:#087b70;padding:10px 0;cursor:pointer;min-height:40px}.integration-checklist dl{margin-top:10px!important}
.enterprise .rail{flex-direction:column}.enterprise .rail-nav{flex-direction:column}.enterprise .rail-item span{display:inline}.enterprise .rail-foot{display:block}
