/* Platform shell aligned with the shared cabinet mockups. */
body:not(.login) .platform-sidebar{width:232px;background:#142e2b;color:#eef6f2;border:0;padding:24px 16px 20px}body:not(.login) #container{padding-left:232px}.platform-brand{color:#eef6f2!important;padding:0 6px 28px}.platform-brand strong{color:#eef6f2;font-size:15px}.platform-brand strong span{font-size:12px;color:#b1c6bd}.brand-mark{background:#167962;border-radius:9px}.platform-nav a{color:#b1c6bd!important;border-radius:8px;min-height:44px;padding:10px 14px;gap:12px;margin:6px 0;font-size:14px}.platform-nav a[aria-current=page]{background:#2b5047!important;color:#fff!important}.platform-nav a:hover{background:#25483f!important;color:#fff!important}.platform-nav .nav-caption{color:#8aa99d;font-size:10px;letter-spacing:.08em}.sidebar-foot{border-color:#ffffff18}.sidebar-foot .access-label,.sidebar-foot .external-link{color:#b1c6bd!important}.platform-topbar{height:72px;margin-left:0;padding:12px 32px}.platform-breadcrumbs{padding:14px 32px}#content{padding:24px 32px}.metric,.data-section,#changelist.module{border-radius:14px}.metric strong{font-size:30px}.page-heading h1{font-size:24px}.button,input[type=submit],.submit-row input{border-radius:8px}.platform-dashboard-columns{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:24px}.platform-dashboard-columns>div{min-width:0;display:flex;flex-direction:column;gap:24px}.platform-dashboard-columns .metric-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0}.platform-dashboard-columns .metric{padding:18px}.industry-row{display:grid;grid-template-columns:1fr 90px 24px;gap:10px;align-items:center;padding:12px 20px;font-size:13px}.industry-row progress{width:90px;height:7px;accent-color:var(--primary)}.platform-search{display:flex;gap:8px}.platform-search input{min-width:0;width:220px}.platform-dashboard-columns .overview-bottom{display:block}.platform-dashboard-columns .data-section{margin:0}.platform-search .button{white-space:nowrap}
@media(max-width:1200px){.platform-dashboard-columns{grid-template-columns:1fr}.platform-dashboard-columns>div:last-child{display:grid;grid-template-columns:1fr 1fr}.platform-search{display:none}}
@media(max-width:900px){body:not(.login) #container{padding-left:0}.platform-topbar{padding:12px 20px}#content{padding:20px}.platform-breadcrumbs{padding:12px 20px}.platform-dashboard-columns .metric-grid{grid-template-columns:1fr 1fr}.platform-dashboard-columns>div:last-child{display:flex}}
@media(max-width:500px){#content{padding:16px}.platform-topbar{padding:10px 16px}.platform-dashboard-columns{gap:16px}.platform-dashboard-columns>div{gap:16px}.metric strong{font-size:26px}.page-heading h1{font-size:21px}.metric-grid .metric{padding:14px}}

.account-dropdown{width:300px;max-width:calc(100vw - 24px)}.account-dropdown .platform-theme,.account-dropdown .platform-language{display:grid;grid-template-columns:1fr 1fr;width:100%;gap:8px;margin:0 0 15px}.platform-topbar .platform-search{margin-left:auto}.faq-editor{width:100%;max-width:760px}.faq-editor-row{border:1px solid var(--hairline-color);border-radius:10px;padding:16px;margin:0 0 12px}.faq-editor-row label{display:block!important;float:none!important;width:100%!important;margin-bottom:12px}.faq-editor textarea{display:block;width:100%;margin-top:6px;box-sizing:border-box}.button.primary{background:var(--primary)!important}.platform-dashboard-columns .overview-bottom .data-section+.data-section{margin-top:24px}
.company-card-heading{display:flex;align-items:center;gap:18px;padding:22px;border:1px solid var(--theme-border,#dce3df);border-radius:13px;background:var(--theme-surface,#fff);margin-bottom:20px}.company-card-avatar{display:grid;place-items:center;width:54px;height:54px;background:#e0f1e9;color:#167962;border-radius:12px;font-size:24px;font-weight:700}.company-card-heading h2{font-size:22px;margin:0 0 7px}.company-card-heading p{margin:7px 0}.company-card-heading>div:last-child{margin-left:auto}.company-card-heading progress{display:block;accent-color:#167962;margin:8px 0}.company-card-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:20px 0}.company-card-tabs button{border:1px solid var(--theme-border,#dce3df);border-radius:8px;background:transparent;color:inherit;padding:9px 15px;cursor:pointer}.company-card-tabs button[aria-pressed=true]{background:#e0f1e9;color:#167962;border-color:#167962}.company-extra-panel{padding:24px;border:1px solid var(--theme-border,#dce3df);border-radius:12px;background:var(--theme-surface,#fff)}.company-extra-panel[hidden],fieldset.module[hidden]{display:none!important}.company-dirty-state{font-size:12px;margin-right:auto;color:#946100}.billing-statistics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:20px 0}.billing-statistics article{border:1px solid var(--theme-border,#dce3df);border-radius:12px;background:var(--theme-surface,#fff);padding:18px}.billing-statistics span{display:block;font-size:12px}.billing-statistics strong{display:block;font-size:25px;margin-top:12px}@media(max-width:760px){.company-card-heading{flex-wrap:wrap}.company-card-heading>div:last-child{margin-left:0}.billing-statistics{grid-template-columns:1fr 1fr}.company-card-tabs{overflow:auto;flex-wrap:nowrap}.company-card-tabs button{white-space:nowrap}}
.plan-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;padding:20px 0}.plan-card{padding:24px;background:var(--theme-surface,#fff);border:1px solid var(--theme-border,#dce3df);border-radius:14px}.plan-card h2{font-size:20px;margin:0 0 10px}.plan-amount{display:block;font-size:29px;margin:22px 0 5px}.plan-card>p{margin:0;color:var(--theme-muted,#60746c)}.plan-card dl{display:grid;grid-template-columns:1fr auto;gap:14px;margin:24px 0;font-size:13px}.plan-card dd{font-weight:600;margin:0}.plan-modules{display:flex;flex-wrap:wrap;gap:6px;min-height:50px}.plan-card>a{margin-top:16px}.plan-comparison{margin:24px 0}.plan-comparison h2{padding:20px}.company-owner-caption{display:block;font-size:11px;color:var(--theme-muted,#60746c);margin-top:5px}@media(max-width:1100px){.plan-card-grid{grid-template-columns:1fr 1fr}}@media(max-width:650px){.plan-card-grid{grid-template-columns:1fr}}

#changelist .empty-state h2,#changelist .plan-card h2,#changelist .plan-comparison h2{background:transparent;color:var(--theme-text,#263733);padding:0;font-size:18px}#changelist .plan-comparison h2{padding:20px}.company-card-tabs button[aria-pressed=false]{background:transparent;color:var(--theme-text,#263733);border-color:var(--theme-border,#dce3df)}
.company-access-summary{display:flex;gap:20px;align-items:center;justify-content:space-between;padding:18px 22px;border-radius:13px;background:var(--theme-surface,#fff);border:1px solid var(--theme-border,#dce3df);margin:18px 0 8px}.company-access-summary p{margin:6px 0 0}.company-access-summary.warning{background:#fff5de;color:#855400}.company-access-summary.critical,.company-access-summary.expired,.company-access-summary.paused{background:#fff0f2;color:#983246}.company-notice-readiness{color:var(--theme-muted,#657b72);font-size:12px}.subscription-admin-attention .button{font-size:12px;white-space:nowrap;flex:none}.subscription-admin-attention>span:nth-child(2){flex:1;min-width:0}.subscription-admin-attention.expired .activity-icon{background:#fff0f2;color:#a72f42}.subscription-admin-attention.warning .activity-icon,.subscription-admin-attention.critical .activity-icon{background:#fff0d2;color:#936000}.company-access-summary .button{flex:none}@media(max-width:700px){.company-access-summary{flex-direction:column;align-items:stretch}.subscription-admin-attention{flex-wrap:wrap}.subscription-admin-attention .button{margin-left:44px;white-space:normal}}
.company-module-grid.split{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr);gap:24px;align-items:start}.company-module-grid fieldset{min-width:0;margin:0 0 24px}.company-module-grid.split .form-row>div{display:block}.company-module-grid.split label:not(.vCheckboxLabel){float:none;display:block;width:auto;padding-bottom:7px}.company-module-grid.split .help{margin-left:0;padding-left:0}.company-module-grid.split .related-widget-wrapper{float:none}.company-module-grid.split select,.company-module-grid.split input[type=text],.company-module-grid.split input[type=number]{max-width:100%;box-sizing:border-box}.company-module-grid.split .field-enabled_modules label{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid var(--hairline-color)}.company-module-grid.split .field-enabled_modules input[type=checkbox]{appearance:none;width:38px;height:22px;border:0;border-radius:20px;background:#d9e3df;position:relative;flex:none;cursor:pointer}.company-module-grid.split .field-enabled_modules input[type=checkbox]:checked{background:#177b67}.company-module-grid.split .field-enabled_modules input[type=checkbox]:before{content:'';position:absolute;top:3px;left:3px;width:16px;height:16px;background:white;border-radius:50%}.company-module-grid.split .field-enabled_modules input[type=checkbox]:checked:before{left:19px}.company-module-grid.split .field-enabled_modules input[type=checkbox]:focus-visible{outline:2px solid #1784bf;outline-offset:3px}.company-module-grid.split .field-enabled_modules input[type=checkbox]:disabled{opacity:.5}@media(max-width:1050px){.company-module-grid.split{grid-template-columns:1fr}}
/* Preserve readable rows and horizontal table scrolling on phones. */
@media(max-width:700px){
 .subscription-admin-attention{display:grid;grid-template-columns:32px minmax(0,1fr);align-items:start;gap:10px;padding:16px}
 .subscription-admin-attention .button{grid-column:2;justify-self:start;margin:2px 0 0;max-width:100%;white-space:normal}
 .subscription-admin-attention>span:nth-child(2){min-width:0}
 #changelist .results{overflow-x:auto;max-width:100%;overscroll-behavior-inline:contain}
 #result_list{min-width:620px}
 #result_list th,#result_list td{padding:12px 16px}
 .account-dropdown{max-height:calc(100dvh - 96px);overflow-y:auto}
}
