/* Company presentation is opt-in. The existing board and root login keep their theme. */
.company-workspace .auth-screen { background: #f5f6f8; grid-template-columns: minmax(0,1.1fr) minmax(420px,.9fr); }
.company-workspace .auth-story { padding: 54px clamp(35px,5vw,80px); background: #101216; color: #fff; }
.company-workspace .auth-story::before { border-color: #ffffff14; box-shadow: 0 0 0 90px #ffffff05,0 0 0 180px #ffffff03; }
.company-workspace .auth-brand { display: block; width: min(360px,85%); padding: 20px 22px; border-radius: 4px; background: #fff; }
.company-workspace .auth-brand img { display: block; width: 100%; height: auto; max-height: 155px; object-fit: contain; }
.company-workspace .auth-brand span { display: none; }
.company-workspace .auth-story-content { padding: clamp(48px,8vh,110px) 0 68px; }
.company-workspace .auth-story-content .eyebrow { color: #b8bdc7; font-size: 10px; letter-spacing: 2.1px; }
.company-workspace .auth-story h1 { white-space: pre-line; max-width: 550px; font-size: clamp(44px,4.6vw,68px); line-height: 1.06; font-weight: 600; letter-spacing: -2.2px; }
.company-workspace .auth-story p { color: #aeb4bf; max-width: 355px; font-size: 15px; line-height: 1.8; }
.company-workspace .auth-brand-rule { width: 70px; background: #fff; }
.company-workspace .auth-footnote { color: #a3a9b4; letter-spacing: 1.4px; text-transform: uppercase; font-size: 10px; }
.company-workspace .auth-panel { background: #f5f6f8; padding: 50px 42px; }
.company-workspace .auth-card { width: 100%; max-width: 450px; padding: 44px; border-radius: 16px; box-shadow: 0 20px 70px #11182709; border: 1px solid #e1e4e9; }
.company-workspace .auth-card .eyebrow { color: #555e6b; }
.company-workspace .auth-card .button.primary { background: #15181d; border-color: #15181d; color: #fff; }
.company-workspace .auth-card .button.primary:hover { background: #2a3039; }
.company-workspace .auth-card input:focus { border-color: #394352; box-shadow: 0 0 0 3px #39435215; }
.company-sidebar-label { padding: 0 20px 13px; font-size: 11px; font-weight: 600; letter-spacing: .2px; color: #c4cdd8; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.company-account-name { margin-top: 22px; font-size: 17px; font-weight: 600; }
#company-account-dialog .field-help { margin: 20px 0; }
.company-workspace #desktop-download { display: none !important; }
.company-console, .company-capacity { background: var(--surface,#fff); border: 1px solid var(--border,#dde4ed); border-radius: 12px; padding: 22px; margin-bottom: 24px; }
.company-console .eyebrow { font-size: 10px; letter-spacing: 1.8px; }
.company-console h2 { margin-top: 5px; }
.company-platform-badge { border-radius: 20px; padding: 7px 10px; background: #edf3ff; color: #245bba; font-size: 11px; font-weight: 600; }
.company-list { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,350px),1fr)); gap: 14px; margin-top: 20px; }
.company-summary-card { border: 1px solid var(--border,#dde4ed); border-radius: 10px; padding: 18px; }
.company-capacity-content { display: flex; gap: 28px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.company-capacity-heading { display: grid; gap: 6px; }
.company-capacity-heading strong { font-size: 18px; }
.company-capacity-heading small { font-size: 11px; color: var(--muted,#687789); }
.company-capacity-stats { display: flex; gap: 26px; flex: 1; max-width: 440px; min-width: 230px; }
.company-capacity-stat { display: grid; flex: 1; gap: 7px; min-width: 100px; }
.company-capacity-stat span { font-size: 11px; color: var(--muted,#687789); }
.company-capacity-stat strong { font-size: 23px; font-variant-numeric: tabular-nums; line-height: 1.2; }
.company-capacity-stat progress { width: 100%; height: 5px; appearance: none; overflow: hidden; border: 0; border-radius: 20px; background: #e9edf4; }
.company-capacity-stat progress::-webkit-progress-bar { background: #e9edf4; }
.company-capacity-stat progress::-webkit-progress-value { background: #165bd8; border-radius: 20px; }
.company-capacity-stat progress::-moz-progress-bar { background: #165bd8; border-radius: 20px; }
.company-capacity>.field-help { margin-bottom: 0; }
.company-summary-card .company-capacity-content { display: grid; gap: 16px; }
.company-summary-card .company-capacity-heading strong { font-size: 16px; }
.company-summary-card .company-capacity-stats { width: 100%; }
.company-card-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.company-create-details { border-top: 1px solid var(--border,#dde4ed); margin-top: 22px; padding-top: 17px; }
.company-create-details>summary { cursor: pointer; font-size: 13px; font-weight: 600; padding: 4px 0; }
.company-create-form { margin-top: 18px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.company-create-form label { display: grid; align-content: start; gap: 6px; font-size: 12px; font-weight: 600; }
.company-create-form small { font-weight: 400; color: var(--muted,#687789); font-size: 10px; }
.company-create-form input { min-width: 0; width: 100%; }
.company-create-form .field-help,.company-create-form .form-error { grid-column: 1/-1; margin: 0; }
.company-create-form>.button { justify-self: start; width: auto; }
.account-company-label { display: inline-block; font-size: 10px; border-radius: 4px; background: #edf3ff; color: #245bba; padding: 3px 6px; margin-top: 6px; }
#new-user-allocation-help { margin-top: 14px; line-height: 1.7; }
.create-user-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.create-user-grid #create-user-submit { align-self: end; min-height: 42px; }
.accounts-toolbar select, .create-user-grid select { min-width: 160px; height: 42px; }
:root[data-theme="dark"] .company-sidebar-label { color: #b0bdcc; }
:root[data-theme="dark"] .company-console,:root[data-theme="dark"] .company-capacity { background: #18232e; border-color: #354353; }
:root[data-theme="dark"] .company-summary-card,:root[data-theme="dark"] .company-create-details { border-color: #354353; }
:root[data-theme="dark"] .company-platform-badge,:root[data-theme="dark"] .account-company-label { background: #203f65; color: #c4dbff; }
@media(max-width:1000px) { .company-workspace .auth-screen { grid-template-columns: minmax(0,1fr) minmax(360px,1fr); }.company-workspace .auth-panel { padding: 34px 26px; }.company-workspace .auth-card { padding: 32px; }.company-create-form { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:760px) { .company-workspace .auth-screen { display: block; }.company-workspace .auth-story { padding: 26px; }.company-workspace .auth-brand { width: 215px; padding: 12px 16px; }.company-workspace .auth-brand img { max-height: 105px; }.company-workspace .auth-story-content { padding: 24px 0 0; }.company-workspace .auth-story h1 { font-size: 36px; margin: 0 0 12px; }.company-workspace .auth-story p { display: none; }.company-workspace .auth-panel { padding: 28px 20px; }.company-workspace .auth-card { padding: 28px; }.company-capacity,.company-console { padding: 17px; }.company-create-form,.create-user-grid { grid-template-columns: 1fr; }.company-capacity-stats { min-width: 200px; width: 100%; }.company-card-actions .button { flex: 1; }.company-platform-badge { display: none; } }
