.platform-console {
    color: #172033;
    background: #f3f5f9;
}

.platform-console .site-header {
    border-bottom: 1px solid #dce1ea;
    background: #fff;
}

.platform-console .page-shell {
    width: min(96rem, calc(100% - 2rem));
    padding: clamp(1.5rem, 3vw, 3rem) 0;
}

.dashboard-identity {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
}

.dashboard-identity-mark {
    display: inline-grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border-radius: 0.55rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.platform-console .language-choice.is-active {
    background: #244f9e;
}

.table-action a {
    border: 0;
    color: #244f9e;
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    text-decoration: none;
}

.dashboard-icon-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.dashboard-layout {
    display: grid;
    grid-template-columns: minmax(13.5rem, 15.5rem) minmax(0, 1fr);
    align-items: start;
    gap: clamp(1.25rem, 2.5vw, 2.5rem);
}

.dashboard-main {
    min-width: 0;
}

.dashboard-sidebar {
    position: sticky;
    top: 1.5rem;
    padding: 1rem;
    border: 1px solid #dce1ea;
    border-radius: 0.85rem;
    background: #fff;
    box-shadow: 0 0.35rem 1rem rgb(23 32 51 / 5%);
}

.dashboard-sidebar-brand {
    display: none;
}

.dashboard-sidebar-label {
    padding: 0 0.55rem;
    margin: 0 0 0.65rem;
    color: #657087;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.dashboard-sidebar-tabs {
    display: grid;
    gap: 0.3rem;
}

.dashboard-sidebar-exit {
    padding-top: 0.8rem;
    border-top: 1px solid #dce1ea;
    margin-top: 0.8rem;
}

.dashboard-sidebar-account {
    padding-top: 0.8rem;
    border-top: 1px solid #dce1ea;
    margin-top: 0.8rem;
}

.dashboard-sidebar-applications {
    padding-top: 0.8rem;
    border-top: 1px solid #dce1ea;
    margin-top: 0.8rem;
}

.dashboard-sidebar-entities {
    padding-top: 0.8rem;
    border-top: 1px solid #dce1ea;
    margin-top: 0.8rem;
}

.dashboard-entity-tree,
.dashboard-entity-tree-children {
    padding: 0;
    margin: 0;
    list-style: none;
}

.dashboard-entity-tree-children {
    padding-inline-start: 1rem;
    margin-inline-start: 0.72rem;
    border-inline-start: 1px solid #dce1ea;
}

.dashboard-entity-tree-item + .dashboard-entity-tree-item {
    margin-top: 0.18rem;
}

.dashboard-entity-tree-row {
    display: grid;
    grid-template-columns: 1.35rem minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.15rem;
}

.dashboard-entity-tree-row > .public-link-copy {
    width: 2rem;
    height: 2rem;
    min-width: 2rem;
    flex-basis: 2rem;
    border-radius: 0.45rem;
}

.dashboard-entity-tree-row > .public-link-copy svg {
    width: 1rem;
    height: 1rem;
}

.dashboard-entity-tree-toggle,
.dashboard-entity-tree-spacer {
    display: grid;
    width: 1.35rem;
    height: 2.35rem;
    padding: 0;
    border: 0;
    place-items: center;
    color: #657087;
    background: transparent;
}

.dashboard-entity-tree-toggle {
    cursor: pointer;
}

.dashboard-entity-tree-toggle:focus-visible {
    border-radius: 0.3rem;
    outline: 2px solid currentColor;
    outline-offset: -2px;
}

.dashboard-entity-tree-chevron {
    width: 0.48rem;
    height: 0.48rem;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(-45deg);
    transition: transform 140ms ease;
}

.dashboard-entity-tree-item.is-open > .dashboard-entity-tree-row .dashboard-entity-tree-chevron {
    transform: rotate(45deg);
}

.dashboard-entity-tree-link {
    display: grid;
    min-width: 0;
    gap: 0.08rem;
    padding: 0.42rem 0.5rem;
    border-radius: 0.45rem;
    color: #344054;
    font-size: 0.82rem;
    line-height: 1.2;
    text-decoration: none;
}

.dashboard-entity-tree-link > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-entity-tree-link small {
    color: #7a8497;
    font-size: 0.66rem;
}

.dashboard-entity-tree-link:hover,
.dashboard-entity-tree-link:focus-visible {
    color: #244f9e;
    background: #f1f5fc;
    outline: none;
}

.dashboard-entity-tree-link.is-active {
    color: #244f9e;
    background: #e9f0fc;
    box-shadow: inset 0.16rem 0 #244f9e;
}

.membership-groups {
    display: grid;
    gap: 1.5rem;
}

.membership-group-heading {
    margin-top: 0;
}

.dashboard-sidebar-exit .dashboard-sidebar-link span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.dashboard-sidebar-link {
    display: flex;
    min-height: 2.75rem;
    align-items: center;
    gap: 0.7rem;
    padding: 0.65rem 0.7rem;
    border-radius: 0.6rem;
    color: #344054;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 140ms ease, background-color 140ms ease;
}

.dashboard-sidebar-link svg {
    width: 1.2rem;
    height: 1.2rem;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.dashboard-sidebar-link:hover,
.dashboard-sidebar-link:focus-visible {
    color: #244f9e;
    background: #f1f5fc;
    outline: none;
}

.dashboard-sidebar-link.is-active {
    color: #fff;
    background: #244f9e;
}

.dashboard-sidebar-badge {
    min-width: 1.35rem;
    margin-inline-start: auto;
    padding: 0.16rem 0.38rem;
    border-radius: 999px;
    color: #fff;
    background: #b42318;
    font-size: 0.65rem;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
    text-align: center;
}

.dashboard-sidebar-link.is-active .dashboard-sidebar-badge {
    color: #244f9e;
    background: #fff;
}

.page-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}

.page-heading.compact {
    max-width: 46rem;
}

.page-heading h1,
.auth-panel h1 {
    max-width: none;
    margin: 0.25rem 0 0.75rem;
    font-size: clamp(1.45rem, 1.8vw, 1.75rem);
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 1.15;
}

.platform-console h2 {
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    font-weight: 500;
    letter-spacing: -0.015em;
    line-height: 1.25;
}

.platform-console h3 {
    font-size: clamp(0.95rem, 1.15vw, 1.05rem);
    font-weight: 500;
    line-height: 1.3;
}

.page-heading p,
.auth-panel p {
    margin: 0;
    color: #657087;
}

.section-label {
    color: #244f9e !important;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.7rem 1.1rem;
    border: 1px solid transparent;
    border-radius: 0.55rem;
    cursor: pointer;
    font: inherit;
    font-weight: 500;
    text-decoration: none;
}

.button-primary {
    color: #fff;
    background: #244f9e;
}

.button-secondary {
    border-color: #cad1dd;
    color: #26334b;
    background: #fff;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 12rem));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.summary-grid article {
    display: grid;
    gap: 0.35rem;
    padding: 1rem 1.25rem;
    border: 1px solid #e0e4eb;
    border-radius: 0.75rem;
    background: #fff;
}

.summary-grid span {
    color: #68748a;
    font-size: 0.85rem;
}

.summary-grid strong {
    font-size: 1.15rem;
    font-weight: 500;
}

.organization-stat-grid {
    grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr));
}

.table-panel {
    overflow-x: auto;
    border: 1px solid #e0e4eb;
    border-radius: 0.8rem;
    background: #fff;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 1rem 1.1rem;
    border-bottom: 1px solid #edf0f4;
    text-align: left;
}

th {
    color: #67738a;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

tbody tr:last-child td {
    border-bottom: 0;
}

.table-action {
    text-align: right;
}

.organization-table-panel td {
    vertical-align: middle;
}

.organization-table-panel .table-action {
    width: 1%;
    min-width: 21rem;
}

.organization-table-panel .table-action-platform-admin {
    min-width: 24rem;
}

.organization-structure-table .table-action-structure {
    min-width: 26rem;
}

.organization-actions-heading {
    text-align: right;
}

.organization-name-link {
    color: inherit;
    font-weight: 600;
    text-decoration: none;
}

.organization-name-link:hover,
.organization-name-link:focus-visible {
    color: #244f9e;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.organization-name-cell {
    min-width: 15rem;
}

.hierarchy-table-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem;
    margin: 0 0 0.75rem;
}

.hierarchy-table-controls[hidden] {
    display: none;
}

.hierarchy-table-control {
    gap: 0.45rem;
    min-height: 2.75rem;
    padding: 0.55rem 0.8rem;
    font-size: 0.82rem;
}

.hierarchy-table-control svg {
    width: 1rem;
    height: 1rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.hierarchy-table-control:disabled {
    cursor: default;
    opacity: 0.46;
}

.hierarchy-table-toggle-slot {
    display: grid;
    width: 1.9rem;
    height: 2rem;
    flex: 0 0 1.9rem;
    place-items: center;
}

.hierarchy-table-toggle {
    display: grid;
    width: 1.9rem;
    height: 1.9rem;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 0.45rem;
    place-items: center;
    color: var(--ui-accent-strong, #244f9e);
    background: transparent;
    cursor: pointer;
}

.hierarchy-table-toggle:hover {
    border-color: var(--ui-border, #dce1ea);
    background: var(--ui-surface-muted, #f1f5fc);
}

.hierarchy-table-toggle:focus-visible {
    border-color: var(--ui-action-primary, #244f9e);
    outline: 2px solid var(--ui-focus-ring, #244f9e);
    outline-offset: 2px;
}

.hierarchy-table-chevron {
    width: 0.48rem;
    height: 0.48rem;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(-45deg);
    transition: transform 140ms ease;
}

.hierarchy-table-row.is-expanded .hierarchy-table-chevron {
    transform: rotate(45deg);
}

.hierarchy-table-row[hidden] {
    display: none;
}

.organization-tree-node {
    display: flex;
    min-height: 2rem;
    align-items: center;
    gap: 0.5rem;
}

.organization-tree-copy {
    display: grid;
    min-width: 0;
    gap: 0.1rem;
}

.organization-tree-copy > strong,
.organization-tree-copy > small {
    display: block;
}

.organization-tree-copy > small {
    color: #657087;
    font-size: 0.78rem;
    font-weight: 400;
    line-height: 1.25;
}

.organization-tree-depth-1 {
    padding-inline-start: 1.5rem;
}

.organization-tree-depth-2 {
    padding-inline-start: 3rem;
}

.organization-tree-depth-3 {
    padding-inline-start: 4.5rem;
}

.organization-tree-branch {
    width: 0.9rem;
    height: 0.9rem;
    flex: 0 0 0.9rem;
    align-self: flex-start;
    margin-top: 0.1rem;
    border-bottom: 2px solid #b8c5d8;
    border-inline-start: 2px solid #b8c5d8;
    border-end-start-radius: 0.25rem;
}

.member-count-cell {
    font-size: 1rem;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

.member-trend-heading {
    min-width: 10rem;
}

.member-trend-heading span,
.member-trend-heading small {
    display: block;
}

.member-trend-heading small {
    margin-top: 0.2rem;
    font-size: 0.62rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
}

.member-trend {
    display: inline-flex;
    min-width: 7.8rem;
    align-items: center;
    gap: 0.55rem;
    padding: 0.42rem 0.55rem;
    border-radius: 0.6rem;
    color: #506078;
    background: #f1f4f8;
}

.member-trend-chart {
    display: inline-flex;
    width: 1.5rem;
    height: 1.35rem;
    align-items: flex-end;
    justify-content: center;
    gap: 0.14rem;
}

.member-trend-chart i {
    width: 0.3rem;
    border-radius: 999px 999px 0.12rem 0.12rem;
    background: currentColor;
}

.member-trend.is-up {
    color: #17643a;
    background: #e5f6ec;
}

.member-trend.is-up .member-trend-chart i:nth-child(1) {
    height: 0.35rem;
}

.member-trend.is-up .member-trend-chart i:nth-child(2) {
    height: 0.72rem;
}

.member-trend.is-up .member-trend-chart i:nth-child(3) {
    height: 1.15rem;
}

.member-trend.is-down {
    color: #9c2f2f;
    background: #fff0f0;
}

.member-trend.is-down .member-trend-chart i:nth-child(1) {
    height: 1.15rem;
}

.member-trend.is-down .member-trend-chart i:nth-child(2) {
    height: 0.72rem;
}

.member-trend.is-down .member-trend-chart i:nth-child(3) {
    height: 0.35rem;
}

.member-trend.is-stable .member-trend-chart i {
    height: 0.68rem;
}

.member-trend-value {
    display: grid;
    gap: 0.02rem;
}

.member-trend-value strong {
    color: inherit;
    font-size: 0.9rem;
    font-variant-numeric: tabular-nums;
}

.member-trend-value small {
    color: inherit;
    font-size: 0.62rem;
    opacity: 0.82;
    white-space: nowrap;
}

.structure-trend-note {
    max-width: 58rem;
    margin: 0.8rem 0 0;
    color: #657087;
    font-size: 0.76rem;
}

.dashboard-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.4rem;
    white-space: nowrap;
}

.dashboard-actions-compact {
    min-width: 2.65rem;
}

.dashboard-action {
    position: relative;
    display: inline-flex;
    width: 2.65rem;
    height: 2.65rem;
    flex: 0 0 2.65rem;
    align-items: center;
    justify-content: center;
    border: 1px solid #d6dfed;
    border-radius: 0.75rem;
    color: #244f9e;
    background: #f7f9fd;
    box-shadow: 0 0.15rem 0.35rem rgb(23 32 51 / 6%);
    cursor: pointer;
    font: inherit;
    text-decoration: none;
    transition:
        border-color 140ms ease,
        color 140ms ease,
        background-color 140ms ease,
        box-shadow 140ms ease,
        transform 140ms ease;
}

.dashboard-action svg {
    width: 1.35rem;
    height: 1.35rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dashboard-action:hover,
.dashboard-action:focus-visible {
    border-color: #244f9e;
    color: #fff;
    background: #244f9e;
    box-shadow: 0 0.45rem 1rem rgb(36 79 158 / 22%);
    outline: none;
    transform: translateY(-0.12rem);
}

.dashboard-action:focus-visible {
    box-shadow:
        0 0 0 0.2rem #fff,
        0 0 0 0.4rem rgb(36 79 158 / 35%);
}

.dashboard-action-danger {
    border-color: #edc9c9;
    color: #9c2f2f;
    background: #fff7f7;
}

.dashboard-action-danger:hover,
.dashboard-action-danger:focus-visible {
    border-color: #a12c2c;
    color: #fff;
    background: #a12c2c;
}

.platform-console.dashboard-console .dashboard-action.dashboard-action-disabled:disabled {
    border-color: #d7dde5;
    color: #929cab !important;
    background: #f1f3f6;
    box-shadow: none;
    cursor: not-allowed;
    opacity: 0.72;
    transform: none;
}

.dashboard-action-form {
    display: inline-flex;
    margin: 0;
}

.dashboard-action::after {
    position: absolute;
    z-index: 20;
    box-sizing: content-box;
    bottom: calc(100% + 0.55rem);
    left: 50%;
    max-width: 16rem;
    padding: 0.4rem 0.55rem;
    border-radius: 0.4rem;
    color: #fff;
    background: #172033;
    box-shadow: 0 0.4rem 1rem rgb(23 32 51 / 18%);
    content: attr(data-tooltip);
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.2;
    opacity: 0;
    pointer-events: none;
    text-align: center;
    transform: translate(-50%, 0.25rem);
    transition:
        opacity 120ms ease,
        transform 120ms ease;
    white-space: normal;
}

.dashboard-action:hover::after,
.dashboard-action:focus-visible::after {
    opacity: 1;
    transform: translate(-50%, 0);
}

.dashboard-action:last-child::after {
    right: 0;
    left: auto;
    transform: translate(0, 0.25rem);
}

.dashboard-action:last-child:hover::after,
.dashboard-action:last-child:focus-visible::after {
    transform: translate(0, 0);
}

.status-badge {
    display: inline-flex;
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
    color: #765421;
    background: #fff3d7;
    font-size: 0.78rem;
    font-weight: 500;
}

.status-badge.is-active {
    color: #17643a;
    background: #e1f6e9;
}

a.status-badge {
    text-decoration: none;
}

.empty-state,
.auth-panel,
.platform-form {
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border: 1px solid #e0e4eb;
    border-radius: 0.8rem;
    background: #fff;
}

.auth-panel {
    max-width: 32rem;
    margin: 2rem auto;
}

.auth-panel .platform-form {
    padding: 0;
    border: 0;
    margin-top: 2rem;
}

.organization-form {
    max-width: 46rem;
}

.field-group {
    display: grid;
    gap: 0.45rem;
    margin-bottom: 1.25rem;
}

.field-group label {
    font-weight: 500;
}

.field-group input:not([type="checkbox"]),
.field-group select,
.field-group textarea {
    width: 100%;
    min-height: 2.8rem;
    padding: 0.6rem 0.75rem;
    border: 1px solid #bcc5d3;
    border-radius: 0.45rem;
    color: inherit;
    background: #fff;
    font: inherit;
}

.field-group select[multiple] {
    min-height: 8rem;
}

.field-group textarea {
    resize: vertical;
}

.checkbox-group {
    grid-template-columns: auto 1fr;
    align-items: center;
}

.checkbox-group label {
    grid-column: 2;
    grid-row: 1;
}

.checkbox-group input {
    grid-column: 1;
    grid-row: 1;
}

.help-text {
    margin: 0;
    color: #68748a;
    font-size: 0.85rem;
}

.errorlist,
.form-errors {
    color: #a12c2c;
}

.form-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.message-list {
    margin-bottom: 1rem;
}

.message {
    padding: 0.8rem 1rem;
    border-radius: 0.5rem;
    color: #17643a;
    background: #e1f6e9;
}

.assignment-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.role-assignment-control {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.role-revoke-form {
    display: inline-flex;
    margin: 0;
}

.role-revoke-button {
    padding: 0.28rem 0.5rem;
    border: 1px solid #edc9c9;
    border-radius: 999px;
    color: #9c2f2f;
    background: #fff7f7;
    cursor: pointer;
    font: inherit;
    font-size: 0.75rem;
    font-weight: 500;
}

.role-revoke-button:hover,
.role-revoke-button:focus-visible {
    border-color: #c95d5d;
    color: #7d1f1f;
    background: #fdeaea;
}

.button-small {
    min-height: 2.25rem;
    padding: 0.45rem 0.75rem;
    font-size: 0.85rem;
}

.administrator-organization-list {
    display: grid;
    gap: 1.5rem;
}

.administrator-organization-card {
    overflow: hidden;
    border: 1px solid #dce1ea;
    border-radius: 0.9rem;
    background: #fff;
    box-shadow: 0 0.35rem 1rem rgb(23 32 51 / 5%);
}

.administrator-organization-header,
.administrator-role-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.administrator-organization-header {
    padding: 1.4rem 1.5rem;
    border-bottom: 1px solid #e6e9ef;
    background: #f8f9fc;
}

.administrator-organization-header h2,
.administrator-role-heading h3 {
    margin: 0.2rem 0 0;
}

.administrator-organization-header-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.administrator-role-section {
    padding: 1.4rem 1.5rem 1.5rem;
}

.administrator-role-section + .administrator-role-section {
    border-top: 1px solid #e6e9ef;
}

.administrator-role-heading {
    align-items: flex-end;
    margin-bottom: 1rem;
}

.administrator-role-heading p {
    margin: 0.35rem 0 0;
    color: #657087;
}

.administrator-role-actions,
.administrator-row-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.6rem;
}

.administrator-role-table {
    border-radius: 0.6rem;
}

.administrator-role-table .table-action {
    width: 1%;
    min-width: 15rem;
    white-space: nowrap;
}

.administrator-role-empty {
    padding: 0.9rem 1rem;
    border: 1px dashed #d5dbe5;
    border-radius: 0.55rem;
    margin: 0;
    color: #657087;
    background: #fafbfc;
}

.administrator-overview-filters {
    display: grid;
    grid-template-columns: minmax(16rem, 1fr) minmax(11rem, 14rem) auto;
    align-items: end;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #dce1ea;
    border-radius: 0.8rem;
    margin-bottom: 1.25rem;
    background: #fff;
}

.administrator-filter-field {
    display: grid;
    gap: 0.4rem;
}

.administrator-filter-field label {
    font-size: 0.82rem;
    font-weight: 500;
}

.administrator-filter-field input,
.administrator-filter-field select {
    width: 100%;
    min-height: 2.75rem;
    padding: 0.6rem 0.75rem;
    border: 1px solid #bcc5d3;
    border-radius: 0.5rem;
    color: inherit;
    background: #fff;
    font: inherit;
}

.administrator-filter-actions {
    display: flex;
    gap: 0.6rem;
}

.administrator-overview-table td {
    vertical-align: middle;
}

.administrator-overview-table .table-action {
    width: 1%;
    min-width: 13rem;
    white-space: nowrap;
}

.administrator-count {
    display: inline-grid;
    min-width: 2.15rem;
    min-height: 2.15rem;
    place-items: center;
    border-radius: 999px;
    color: #244f9e;
    background: #edf3ff;
}

.pagination {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.pagination div:last-child {
    text-align: right;
}

.pagination span {
    color: #657087;
    font-size: 0.9rem;
    font-weight: 600;
}

.administrator-modal {
    width: min(72rem, calc(100% - 2rem));
    max-width: none;
    max-height: min(90vh, 60rem);
    padding: 0;
    border: 0;
    border-radius: 1rem;
    color: inherit;
    background: #fff;
    box-shadow: 0 2rem 6rem rgb(17 24 39 / 30%);
}

.administrator-modal::backdrop {
    background: rgb(15 23 42 / 58%);
    backdrop-filter: blur(0.15rem);
}

.administrator-modal-shell {
    display: flex;
    max-height: min(90vh, 60rem);
    flex-direction: column;
}

.administrator-modal-toolbar {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1.15rem;
    border-bottom: 1px solid #dce1ea;
    background: #f8f9fc;
}

.administrator-modal-close {
    display: inline-grid;
    width: 2.4rem;
    height: 2.4rem;
    padding: 0;
    border: 1px solid #cad1dd;
    border-radius: 999px;
    place-items: center;
    color: #26334b;
    background: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 1.35rem;
    line-height: 1;
}

.administrator-modal-close:hover,
.administrator-modal-close:focus-visible {
    border-color: #244f9e;
    color: #244f9e;
}

.administrator-modal-feedback {
    flex: 0 0 auto;
    padding: 0.75rem 1rem;
    margin: 1rem 1.15rem 0;
    border-radius: 0.5rem;
    color: #17643a;
    background: #e1f6e9;
}

.administrator-modal-feedback.is-error {
    color: #8b2626;
    background: #fdeaea;
}

.administrator-modal-content {
    min-height: 10rem;
    padding: 1.15rem;
    overflow: auto;
}

.administrator-modal-loading {
    padding: 3rem 1rem;
    margin: 0;
    color: #657087;
    text-align: center;
}

.administrator-detail-card {
    box-shadow: none;
}

.invitations-heading {
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.section-heading {
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.invitations-heading h2,
.section-heading h2 {
    margin: 0.2rem 0 0;
}

.registration-panel {
    max-width: 38rem;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 44rem) {
    .page-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .summary-grid {
        grid-template-columns: 1fr 1fr;
    }

    .organization-table-panel .table-action {
        min-width: 19rem;
    }

    .organization-table-panel .table-action-platform-admin {
        min-width: 22.5rem;
    }

    .dashboard-action {
        width: 2.45rem;
        height: 2.45rem;
        flex-basis: 2.45rem;
    }

    .administrator-organization-header,
    .administrator-role-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .administrator-organization-header-actions {
        width: 100%;
        justify-content: space-between;
    }

    .administrator-role-actions {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .administrator-overview-filters {
        grid-template-columns: 1fr;
    }

    .administrator-filter-actions {
        flex-wrap: wrap;
    }

    .administrator-modal {
        width: calc(100% - 1rem);
        max-height: 94vh;
    }

    .administrator-modal-shell {
        max-height: 94vh;
    }
}

@media (max-width: 64rem) {
    .dashboard-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .dashboard-sidebar {
        position: static;
        padding: 0.8rem;
    }

    .dashboard-sidebar-tabs {
        display: flex;
        overflow-x: auto;
        padding-bottom: 0.1rem;
    }

    .dashboard-sidebar-link {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .dashboard-sidebar-exit .dashboard-sidebar-link {
        white-space: normal;
    }
}
