/* Company: local composition; shared controls keep their native behavior. */
.company-page { min-width: 0; }
.company-list-header { flex-direction: column; align-items: stretch; gap: 24px; margin-bottom: 16px; }
.company-list-header .admin-page-heading { flex-basis: auto; }
.company-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.company-toolbar > .btn { flex-shrink: 0; }
.company-search { flex: 0 1 400px; min-width: 0; }
.company-list .k-grid { background: var(--mkp-surface); }
.company-list .k-grid :is(.k-grid-header-table, .k-grid-table) > colgroup > col:not([style*="width"]) { width: auto; }
.company-list .k-grid :is(.k-table-th, .k-grid-header-menu) { color: var(--mkp-foreground); }
.company-list .k-grid .k-grid-header th.k-header a.k-grid-header-menu { color: var(--mkp-foreground); }
.company-list .k-grid .k-table-th { font-size: 14px; font-weight: 600; }
.company-list .k-grid .k-grid-pager { font-size: 14px; }
.company-list .k-grid .k-pager-info { font-size: 14px; }
.company-list .k-grid td .btn .fa { font-size: 16px; }
.company-list .k-grid td:first-child { font-weight: 500; overflow-wrap: anywhere; }
.company-list .k-grid td:nth-child(2) { font-variant-numeric: tabular-nums; white-space: nowrap; }
.company-editor { max-width: 860px; }
.company-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; font-weight: 500; }
.company-editor .admin-page-header { margin-bottom: 24px; }
.company-editor .admin-page-actions { flex-shrink: 0; }
.company-form-card { border: 1px solid var(--mkp-border); border-radius: var(--mkp-radius-lg); box-shadow: var(--mkp-shadow); }
.company-form-card > .card-body { padding: 24px; }
.company-section-heading { margin-bottom: 20px; }
.company-section-heading h2 { margin: 0 0 6px; font-size: 16px; line-height: 24px; font-weight: 600; }
.company-section-heading p { margin: 0; color: var(--mkp-muted-foreground); line-height: 20px; }
.company-status { border-top: 1px solid var(--mkp-border); margin-top: 24px; padding-top: 24px; }
.company-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 36px 16px; text-align: center; white-space: normal; }
.company-empty > i { font-size: 20px; color: var(--mkp-muted-foreground); }
.company-empty strong { color: var(--mkp-foreground); font-weight: 600; }
.company-empty p { margin: 0; color: var(--mkp-muted-foreground); }
@media (max-width: 767.98px) {
    .company-search { max-width: none; }
    .company-editor .admin-page-header { flex-direction: column; align-items: stretch; }
    .company-editor .admin-page-heading { flex-basis: auto; }
    .company-editor .admin-page-actions { justify-content: flex-end; }
    .company-form-card > .card-body { padding: 20px; }
    /* Keep both commands reachable while the native grid scrolls on phones. */
    .company-list .k-grid :is(.k-grid-header-table, .k-grid-table) { min-width: 480px; }
    .company-list .k-grid :is(th, td):last-child {
        position: sticky;
        right: 0;
        z-index: 1;
        background: var(--mkp-surface);
        box-shadow: -1px 0 var(--mkp-border);
    }
    .company-toolbar { flex-wrap: wrap; }
    .company-search { flex: 1 1 240px; }
}
