/* Fonte visual: D:\Github\fit-app-style-guide, design system Personal Track v1.1. */
:root {
    color-scheme: dark;
    --pt-bg: #0b0d0c;
    --pt-elevated: #111411;
    --pt-surface: #181b19;
    --pt-accent: #d7ff45;
    --pt-accent-hover: #c5eb30;
    --pt-accent-light: #e2ff6e;
    --pt-text: #f3f5ee;
    --pt-muted: #aeb3a8;
    --pt-border: #383c37;
    --pt-success: #3dbe73;
    --pt-danger: #f25f63;
    --pt-warning: #f2b84b;
    --pt-info: #6cb4f2;
    --pt-warning-tint: rgb(242 184 75 / 10%);
    --pt-info-tint: rgb(108 180 242 / 10%);
    --pt-header-bg: rgb(11 13 12 / 96%);
    --pt-border-control: #aeb3a8;
    --pt-font-heading: "Montserrat", "Segoe UI", sans-serif;
    --pt-font-body: "Inter", "Segoe UI", sans-serif;
    --pt-space-1: 4px;
    --pt-space-2: 8px;
    --pt-space-3: 12px;
    --pt-space-4: 16px;
    --pt-space-6: 24px;
    --pt-space-10: 40px;
    --pt-radius-sm: 6px;
    --pt-radius-xs: 4px;
    --pt-radius-control: 8px;
    --pt-radius-card: 14px;
    --pt-radius-lg: 20px;
    --pt-radius-pill: 100px;
    --pt-shadow: 0 4px 20px rgb(0 0 0 / 55%);
    --pt-shadow-sm: 0 1px 3px rgb(0 0 0 / 35%);
    --pt-shadow-md: 0 4px 20px rgb(0 0 0 / 55%);
    --pt-shadow-lg: 0 16px 48px rgb(0 0 0 / 65%);
    --pt-shadow-focus: 0 0 0 3px rgb(215 255 69 / 25%);
    --pt-gutter: clamp(20px, 4vw, 48px);
    --pt-motion: 160ms;
    --pt-dur-fast: 160ms;
    --pt-dur-base: 200ms;
    --pt-dur-slow: 400ms;
    --pt-ease-out: cubic-bezier(0.19, 1, 0.22, 1);
    --pt-ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --pt-sidebar: 248px;
    --pt-topbar: 64px;
}

* {
    box-sizing: border-box;
    scrollbar-color: var(--pt-border) transparent;
    scrollbar-width: thin;
}

html {
    background: var(--pt-bg);
}

body {
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    background: var(--pt-bg);
    color: var(--pt-text);
    font-family: var(--pt-font-body);
    font-size: 0.9375rem;
    line-height: 1.65;
}

a {
    color: var(--pt-accent-light);
}

button,
input,
select {
    font: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--pt-text);
    font-family: var(--pt-font-heading);
    line-height: 1.2;
}

h1 {
    margin: var(--pt-space-2) 0 var(--pt-space-4);
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.035em;
}

h1[tabindex="-1"]:focus {
    outline: none;
}

h2 {
    margin: var(--pt-space-2) 0 var(--pt-space-3);
    font-size: 1.375rem;
    font-weight: 700;
}

p {
    color: var(--pt-muted);
    line-height: 1.65;
}

.skip-link {
    position: fixed;
    top: var(--pt-space-3);
    left: var(--pt-space-3);
    z-index: 100;
    padding: var(--pt-space-3) var(--pt-space-4);
    border-radius: var(--pt-radius-control);
    background: var(--pt-accent);
    color: var(--pt-bg);
    font-weight: 800;
    text-decoration: none;
    transform: translateY(-160%);
    transition: transform var(--pt-motion) ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.app-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: minmax(230px, 1fr) auto minmax(230px, 1fr);
    align-items: center;
    min-height: 76px;
    padding: var(--pt-space-2) var(--pt-gutter);
    border-bottom: 1px solid var(--pt-border);
    background: rgb(11 13 12 / 94%);
    backdrop-filter: blur(16px);
}

.brand {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    gap: var(--pt-space-3);
    color: var(--pt-text);
    text-decoration: none;
}

.brand img {
    display: block;
    width: 180px;
    height: auto;
}

.brand-context {
    padding-left: var(--pt-space-3);
    border-left: 1px solid var(--pt-border);
    color: var(--pt-muted);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.session {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: var(--pt-space-4);
    color: var(--pt-muted);
}

.session form {
    margin: 0;
}

.session button {
    min-height: 40px;
    border: 1px solid var(--pt-border);
    background: transparent;
    color: var(--pt-text);
}

.app-shell {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    min-height: calc(100vh - 76px);
}

.side-nav {
    position: sticky;
    top: 76px;
    height: calc(100vh - 76px);
    overflow: auto;
    padding: var(--pt-space-6) var(--pt-space-3);
    border-right: 1px solid var(--pt-border);
    background: var(--pt-elevated);
}

.side-nav a {
    display: block;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: var(--pt-radius-control);
    color: var(--pt-muted);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color var(--pt-motion) ease, color var(--pt-motion) ease;
}

.side-nav a:hover,
.side-nav a.active {
    background: rgb(215 255 69 / 9%);
    color: var(--pt-accent-light);
}

.side-nav a.active {
    box-shadow: inset 3px 0 var(--pt-accent);
}

.content {
    display: flex;
    flex-direction: column;
    gap: var(--pt-space-6);
    width: calc(100% - (var(--pt-gutter) * 2));
    max-width: none;
    min-width: 0;
    margin: 0 auto;
    padding: var(--pt-space-10) 0 64px;
}

@media (min-width: 1600px) {
    .content {
        padding-top: 48px;
    }
}

.hero {
    max-width: 720px;
}

.eyebrow {
    color: var(--pt-accent);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--pt-space-4);
    margin-top: var(--pt-space-10);
}

.status-grid article {
    display: grid;
    gap: var(--pt-space-3);
    padding: var(--pt-space-6);
    border: 1px solid var(--pt-border);
    border-radius: var(--pt-radius-card);
    background: var(--pt-surface);
}

.status-grid span {
    color: var(--pt-muted);
    line-height: 1.45;
}

.login-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    min-height: 100vh;
    background: var(--pt-bg);
}

.login-brand-panel {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: space-between;
    padding: 48px clamp(40px, 5vw, 72px);
    overflow: hidden;
    border-right: 1px solid var(--pt-border);
    background-color: var(--pt-elevated);
    background-image: url("/images/login-training-background.webp");
    background-position: center;
    background-size: cover;
}

.login-brand-panel::before {
    position: absolute;
    inset: 0;
    background: rgb(11 13 12 / 58%);
    content: "";
}

.login-brand-panel > * {
    position: relative;
    z-index: 1;
}

.login-desktop-logo {
    display: block;
    width: 180px;
    height: auto;
}

.login-brand-copy {
    max-width: 540px;
}

.login-brand-copy h2 {
    margin: 0 0 var(--pt-space-6);
    font-size: clamp(2.5rem, 4.4vw, 3.75rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.02;
    text-transform: uppercase;
}

.login-brand-copy h2 span {
    color: var(--pt-accent);
}

.login-brand-copy > p:last-child {
    max-width: 460px;
    margin: 0;
    color: var(--pt-muted);
    font-size: 1.125rem;
    line-height: 1.6;
}

.login-capabilities {
    display: flex;
    flex-wrap: wrap;
    gap: var(--pt-space-2);
    margin: 0;
    padding: 0;
    list-style: none;
}

.login-capabilities li {
    padding: 5px 11px;
    border: 1px solid var(--pt-border);
    border-radius: var(--pt-radius-pill);
    color: var(--pt-muted);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.login-main {
    display: flex;
    min-width: 0;
    min-height: 100vh;
    flex-direction: column;
    padding: 32px clamp(20px, 5vw, 72px);
}

.login-header {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    gap: var(--pt-space-4);
}

.login-mobile-logo {
    width: 148px;
    height: auto;
    visibility: hidden;
}

.login-access-label {
    margin-left: auto;
    color: var(--pt-muted);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.login-form-region {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    padding: var(--pt-space-10) 0;
}

.login-card {
    width: min(420px, 100%);
}

.login-card h1 {
    margin: 0 0 var(--pt-space-2);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    letter-spacing: -0.035em;
    line-height: 1.2;
}

.login-card > p,
.login-intro {
    color: var(--pt-muted);
}

.login-intro {
    margin: 0 0 32px;
    line-height: 1.6;
}

.login-card form {
    display: flex;
    flex-direction: column;
    gap: var(--pt-space-6);
}

.login-field {
    display: grid;
    gap: var(--pt-space-2);
}

.login-field label {
    margin: 0;
    color: var(--pt-text);
}

.login-password-label {
    display: flex;
    min-height: 24px;
    align-items: center;
    justify-content: space-between;
    gap: var(--pt-space-3);
}

.login-password-toggle {
    min-height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--pt-muted);
    font-size: 0.8125rem;
    font-weight: 600;
    gap: 6px;
}

.login-password-toggle:hover {
    border-color: transparent;
    background: transparent;
    color: var(--pt-text);
}

.login-password-toggle svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.login-submit {
    width: 100%;
    margin-top: var(--pt-space-1);
}

.login-secondary-link {
    align-self: center;
    color: var(--pt-muted);
    font-size: 0.875rem;
    font-weight: 600;
}

.login-secondary-link:hover {
    color: var(--pt-text);
}

.login-enrollment {
    display: grid;
    gap: .75rem;
    margin: 0 0 1.25rem;
    padding: 1rem;
    border: 1px solid rgba(181, 239, 0, .28);
    border-radius: 12px;
    background: rgba(181, 239, 0, .06);
}

.login-enrollment p {
    margin: 0;
}

.login-enrollment-link {
    color: var(--color-accent, #b5ef00);
    font-weight: 700;
}

.login-secret {
    display: grid;
    gap: .35rem;
}

.login-secret span {
    color: var(--color-text-muted, #9da5a0);
    font-size: .8rem;
}

.login-secret code {
    overflow-wrap: anywhere;
    padding: .75rem;
    border-radius: 8px;
    background: #060806;
    color: #f7f9f7;
    font-size: .95rem;
    letter-spacing: .08em;
    user-select: all;
}

.login-alert {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    margin: 0 0 var(--pt-space-6);
}

.login-alert svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.login-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--pt-space-4);
    color: var(--pt-muted);
    font-size: 0.8125rem;
}

.auth-message-shell {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: var(--pt-space-6);
    background: var(--pt-bg);
}

.auth-message-shell .login-card {
    width: min(440px, 100%);
    padding: clamp(24px, 5vw, 40px);
    border: 1px solid var(--pt-border);
    border-radius: var(--pt-radius-card);
    background: var(--pt-surface);
}

label {
    margin-top: var(--pt-space-2);
    color: var(--pt-muted);
    font-size: 0.875rem;
    font-weight: 600;
}

input,
select {
    width: 100%;
    min-height: 48px;
    padding: 0.55rem 0.875rem;
    border: 1px solid var(--pt-border-control);
    border-radius: var(--pt-radius-control);
    background: var(--pt-elevated);
    color: var(--pt-text);
    transition: border-color var(--pt-motion) ease, box-shadow var(--pt-motion) ease;
}

select {
    color-scheme: dark;
    min-height: var(--pt-control-h);
    padding: 10px 44px 10px 14px;
    border: 1.5px solid var(--pt-border);
    appearance: none;
    background-color: var(--pt-elevated);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d7ff45' stroke-width='2'%3e%3cpath d='m6 9 6 6 6-6'/%3e%3c/svg%3e");
    background-position: right 14px center;
    background-repeat: no-repeat;
    background-size: 16px;
    font: 500 1rem/1.5 var(--pt-font-body);
    cursor: pointer;
}

input:focus,
select:focus {
    border-color: var(--pt-accent);
    outline: none;
    box-shadow: var(--pt-shadow-focus);
}

button,
.button {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 11px 24px;
    border: 1px solid var(--pt-accent);
    border-radius: var(--pt-radius-control);
    background: var(--pt-accent);
    color: var(--pt-bg);
    font-family: var(--pt-font-body);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
    cursor: pointer;
    transition: background-color var(--pt-motion) ease, border-color var(--pt-motion) ease, box-shadow var(--pt-motion) ease, color var(--pt-motion) ease, transform var(--pt-motion) ease;
}

button:hover,
.button:hover {
    border-color: var(--pt-accent-hover);
    background: var(--pt-accent-hover);
}

button:active,
.button:active {
    transform: translateY(1px);
}

button:disabled,
.button[aria-disabled="true"] {
    opacity: 0.45;
    cursor: not-allowed;
}

.button.secondary {
    border-color: var(--pt-accent);
    background: transparent;
    color: var(--pt-accent-light);
}

.button.secondary:hover {
    background: rgb(215 255 69 / 10%);
}

.button.danger {
    border-color: var(--pt-danger);
    background: var(--pt-danger);
    color: var(--pt-bg);
}

button:focus-visible,
.button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 3px solid var(--pt-accent);
    outline-offset: 4px;
}

.environment {
    justify-self: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.environment.test {
    border: 1px solid rgb(242 184 75 / 40%);
    background: var(--pt-warning-tint);
    color: var(--pt-warning);
}

.environment.blocked {
    border: 1px solid rgb(242 95 99 / 45%);
    background: rgb(242 95 99 / 12%);
    color: #ffabad;
}

.environment-warning {
    padding: var(--pt-space-3) var(--pt-space-4);
    border-bottom: 1px solid rgb(242 95 99 / 45%);
    background: rgb(242 95 99 / 12%);
    color: #ffabad;
    text-align: center;
    font-weight: 800;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: var(--pt-space-6);
    margin: 0;
}

.page-header > div {
    min-width: 0;
}

.page-header-action {
    flex: 0 0 auto;
}

.page-header p {
    margin-bottom: 0;
    font-size: 0.875rem;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--pt-space-4);
}

.metric {
    display: flex;
    flex-direction: column;
    min-height: 160px;
    padding: var(--pt-space-6);
    border: 1px solid var(--pt-border);
    border-radius: var(--pt-radius-card);
    background: var(--pt-surface);
    color: var(--pt-text);
    text-decoration: none;
}

a.metric {
    transition: border-color var(--pt-motion) ease;
}

a.metric:hover {
    border-color: rgb(215 255 69 / 55%);
}

.metric span {
    color: var(--pt-muted);
}

.metric strong {
    margin: auto 0 var(--pt-space-1);
    color: var(--pt-accent);
    font-family: var(--pt-font-heading);
    font-size: 2rem;
    font-weight: 800;
}

.metric small {
    color: var(--pt-muted);
}

.metric.attention {
    border-color: rgb(215 255 69 / 42%);
}

.panel,
.state-card,
.confirmation {
    margin: 0;
    padding: var(--pt-space-6);
    border: 1px solid var(--pt-border);
    border-radius: var(--pt-radius-card);
    background: var(--pt-surface);
}

.panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--pt-space-6);
}

.panel p {
    max-width: 720px;
}

.state-error {
    border-color: rgb(242 95 99 / 48%);
    background: rgb(242 95 99 / 10%);
}

.pending-contract {
    border-style: dashed;
}

.filters {
    display: grid;
    grid-template-columns: minmax(16rem, 2fr) minmax(14rem, 1fr) auto;
    align-items: flex-end;
    gap: var(--pt-space-4);
    margin: 0;
    padding: var(--pt-space-4) var(--pt-space-6);
    border: 1px solid var(--pt-border);
    border-radius: var(--pt-radius-card);
    background: var(--pt-surface);
}

.filters label {
    display: flex;
    flex-direction: column;
    gap: var(--pt-space-2);
    margin: 0;
}

@media (max-width: 1024px) and (min-width: 769px) {
    .filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .filters .button {
        grid-column: 1 / -1;
        justify-self: end;
        min-width: 180px;
    }
}

.personal-actions-menu {
    position: relative;
    display: inline-block;
}

.personal-actions-menu > summary {
    display: inline-flex;
    align-items: center;
    gap: var(--pt-space-3);
    list-style: none;
    cursor: pointer;
}

.personal-actions-chevron {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.personal-actions-menu > summary::-webkit-details-marker {
    display: none;
}

.personal-actions-list {
    position: fixed;
    z-index: 1000;
    top: 8px;
    left: 8px;
    display: grid;
    width: min(208px, calc(100vw - 16px));
    gap: var(--pt-space-1);
    padding: var(--pt-space-2);
    border: 1px solid var(--pt-border);
    border-radius: var(--pt-radius-control);
    background: var(--pt-surface);
    box-shadow: var(--pt-shadow-lg);
}

.personal-actions-cell {
    width: 1%;
    min-width: 132px;
    white-space: nowrap;
}

.personal-action-link {
    display: flex;
    width: 100%;
    min-height: 44px;
    align-items: center;
    justify-content: flex-start;
    gap: var(--pt-space-3);
    padding: var(--pt-space-2) var(--pt-space-3);
    border: 0;
    border-radius: var(--pt-radius-sm);
    background: transparent;
    color: var(--pt-text);
    font: inherit;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.personal-action-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.personal-action-link:hover,
.personal-action-link:focus-visible {
    background: rgb(215 255 69 / 10%);
    color: var(--pt-accent-light);
}

.personal-action-link.danger {
    color: #ffabad;
}

.table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    border: 1px solid var(--pt-border);
    border-radius: var(--pt-radius-card);
}

table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    background: var(--pt-surface);
}

th,
td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--pt-border);
    text-align: left;
    vertical-align: middle;
}

td {
    font-size: 0.9rem;
}

th {
    background: var(--pt-elevated);
    color: var(--pt-muted);
    font-family: var(--pt-font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

tbody tr {
    transition: background-color var(--pt-motion) ease;
}

tbody tr:hover {
    background: rgb(215 255 69 / 3%);
}

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

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

.row-attention {
    background: rgb(215 255 69 / 6%);
}

.id {
    display: block;
    max-width: 220px;
    margin-top: var(--pt-space-1);
    overflow: hidden;
    color: var(--pt-muted);
    font-family: ui-monospace, monospace;
    font-size: 0.75rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.status-pill {
    display: inline-flex;
    padding: 4px 8px;
    border: 1px solid var(--pt-border);
    border-radius: 999px;
    color: var(--pt-text);
    font-size: 0.74rem;
    font-weight: 800;
}

.status-pill.success {
    border-color: rgb(61 190 115 / 45%);
    background: rgb(61 190 115 / 12%);
    color: #75dc9f;
}

.status-pill.danger {
    border-color: rgb(242 95 99 / 45%);
    background: rgb(242 95 99 / 12%);
    color: #ffabad;
}

.status-pill.neutral {
    color: var(--pt-muted);
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--pt-space-2);
}

.pager {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--pt-space-3);
    margin: 0;
    color: var(--pt-muted);
    flex-wrap: wrap;
}

.pager-info {
    color: var(--pt-muted);
    font-size: 0.8125rem;
}

.pager-info strong {
    color: var(--pt-text);
    font-weight: 600;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.pagination-button {
    display: grid;
    width: 40px;
    min-width: 40px;
    min-height: 40px;
    height: 40px;
    place-items: center;
    padding: 0;
    border: 1px solid var(--pt-border);
    border-radius: 8px;
    background: transparent;
    color: var(--pt-text);
    font: 600 0.875rem/1.5 var(--pt-font-body);
    overflow: visible;
}

.pagination-button:hover:not(:disabled) {
    border-color: var(--pt-border);
    background: var(--pt-elevated);
    color: var(--pt-text);
}

.pagination-button.current,
.pagination-button.current:hover {
    border-color: var(--pt-accent);
    background: var(--pt-accent);
    color: var(--pt-bg);
}

.pagination-button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.pagination-arrow {
    border-color: var(--pt-border);
}

.pagination-button svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.pagination-ellipsis {
    padding-inline: 4px;
    color: var(--pt-muted);
}

.entity-dialog {
    width: min(720px, calc(100% - 32px));
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--pt-border);
    border-radius: var(--pt-radius-card);
    background: var(--pt-surface);
    color: var(--pt-text);
    box-shadow: var(--pt-shadow-lg);
}

.entity-dialog::backdrop,
.confirmation::backdrop {
    background: rgb(0 0 0 / 72%);
    backdrop-filter: blur(2px);
}

.entity-dialog-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--pt-space-6);
    padding: var(--pt-space-6);
    border-bottom: 1px solid var(--pt-border);
}

.entity-dialog-header .eyebrow,
.entity-dialog-header h2,
.entity-dialog-header p {
    margin-top: 0;
}

.entity-dialog-header h2 {
    margin-bottom: var(--pt-space-2);
}

.entity-dialog-header p:last-child {
    margin-bottom: 0;
}

.icon-button {
    display: inline-grid;
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    flex: 0 0 40px;
    place-items: center;
    padding: 0;
    border-color: var(--pt-border);
    background: transparent;
    color: var(--pt-muted);
    font-size: 1.5rem;
    line-height: 1;
}

.icon-button:hover {
    border-color: var(--pt-accent);
    background: rgb(215 255 69 / 8%);
    color: var(--pt-accent);
}

.entity-dialog-body {
    max-height: calc(100dvh - 190px);
    padding: var(--pt-space-6);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.personal-registration-form {
    display: grid;
    gap: var(--pt-space-6);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--pt-space-4);
}

.form-grid label {
    display: grid;
    gap: var(--pt-space-2);
    margin: 0;
}

.form-grid-full {
    grid-column: 1 / -1;
}

.form-note {
    display: grid;
    gap: var(--pt-space-1);
    margin: 0;
    padding: var(--pt-space-4);
    border: 1px solid rgb(215 255 69 / 28%);
    border-radius: var(--pt-radius-control);
    background: rgb(215 255 69 / 6%);
}

.form-note strong {
    color: var(--pt-text);
}

.form-note span {
    color: var(--pt-muted);
}

.inline-alert {
    margin: 0;
    padding: var(--pt-space-3) var(--pt-space-4);
    border: 1px solid rgb(242 95 99 / 45%);
    border-radius: var(--pt-radius-control);
    background: rgb(242 95 99 / 12%);
    color: #ffabad;
}

.entity-dialog-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: var(--pt-space-2);
    margin-top: var(--pt-space-4);
}

.registration-review h3 {
    margin-top: 0;
}

.review-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--pt-space-3);
    margin: 0 0 var(--pt-space-6);
}

.review-list div {
    padding: var(--pt-space-3) var(--pt-space-4);
    border: 1px solid var(--pt-border);
    border-radius: var(--pt-radius-control);
    background: var(--pt-elevated);
}

.review-list dt {
    color: var(--pt-muted);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.review-list dd {
    margin: var(--pt-space-1) 0 0;
    overflow-wrap: anywhere;
    color: var(--pt-text);
    font-weight: 700;
}

.registration-review .entity-dialog-actions {
    margin-top: var(--pt-space-6);
}

.operation-card {
    margin: 0;
}

.operation-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--pt-space-4);
}

.operation-card-header .eyebrow,
.operation-card-header h2 {
    margin-top: 0;
}

.operation-details {
    display: grid;
    grid-template-columns: minmax(14rem, 1.5fr) repeat(3, minmax(10rem, 1fr));
    gap: var(--pt-space-4);
    margin: var(--pt-space-6) 0;
}

.operation-details > div {
    display: grid;
    min-width: 0;
    gap: var(--pt-space-2);
}

.operation-details span {
    color: var(--pt-muted);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.operation-details code {
    overflow: hidden;
    text-overflow: ellipsis;
}

.confirmation {
    width: min(520px, calc(100% - 32px));
    max-height: calc(100dvh - 32px);
    margin: auto;
    overflow-y: auto;
    color: var(--pt-text);
    box-shadow: var(--pt-shadow-lg);
}

.confirmation label {
    display: block;
    margin-bottom: var(--pt-space-4);
}

.plan-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--pt-space-4);
}

.plan-card {
    display: flex;
    flex-direction: column;
    gap: var(--pt-space-3);
    min-height: 280px;
    padding: var(--pt-space-6);
    border: 1px solid var(--pt-border);
    border-radius: var(--pt-radius-card);
    background: var(--pt-surface);
}

.plan-card > strong {
    margin-top: auto;
    color: var(--pt-accent);
    font-family: var(--pt-font-heading);
    font-size: 1.35rem;
}

.plan-card p {
    margin: 0;
}

.plan-card small,
.muted {
    color: var(--pt-muted);
}

.danger-text {
    display: block;
    color: #ffabad;
}

.text-link {
    color: var(--pt-accent-light);
    font-weight: 800;
}

.spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid var(--pt-border);
    border-top-color: var(--pt-accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.alert {
    padding: var(--pt-space-3);
    border: 1px solid rgb(242 95 99 / 45%);
    border-radius: var(--pt-radius-control);
    background: rgb(242 95 99 / 12%);
    color: #ffabad;
}

#blazor-error-ui {
    display: none;
}

@media (max-width: 960px) {
    .login-shell {
        grid-template-columns: minmax(0, 1fr);
    }

    .login-brand-panel {
        display: none;
    }

    .login-mobile-logo {
        visibility: visible;
    }

    .login-main {
        padding-inline: clamp(20px, 8vw, 72px);
    }
}

@media (max-width: 1024px) {
    .app-header {
        grid-template-columns: minmax(210px, 1fr) auto minmax(210px, 1fr);
        padding-inline: 20px;
    }

    .metric-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .app-shell {
        grid-template-columns: minmax(0, 1fr);
    }

    .side-nav {
        position: static;
        display: flex;
        width: 100%;
        max-width: 100vw;
        height: auto;
        padding: var(--pt-space-2) 20px;
        overflow-x: auto;
        border-right: 0;
        border-bottom: 1px solid var(--pt-border);
    }

    .side-nav a {
        white-space: nowrap;
    }

    .side-nav a.active {
        box-shadow: inset 0 -3px var(--pt-accent);
    }

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

    .content {
        padding-top: 32px;
    }
}

@media (max-width: 768px) {
    .app-header {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: var(--pt-space-2);
        min-height: 72px;
        padding: var(--pt-space-2) 20px;
    }

    .brand img,
    .login-brand img {
        width: 148px;
    }

    .brand-context {
        padding-left: var(--pt-space-2);
        font-size: 0.65rem;
    }

    .environment {
        justify-self: end;
        font-size: 0.61rem;
    }

    .session {
        grid-column: 1 / -1;
    }

    .session span {
        display: none;
    }

    .content {
        width: calc(100% - 40px);
        gap: var(--pt-space-4);
    }

    .status-grid,
    .metric-grid {
        grid-template-columns: 1fr;
    }

    .panel {
        align-items: stretch;
        flex-direction: column;
    }

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

    .filters .button {
        width: 100%;
    }

    .pager {
        justify-content: space-between;
        gap: var(--pt-space-3);
    }

    .pagination {
        justify-content: flex-end;
    }

    .operation-details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 390px) {
    .pagination-edge,
    .pagination-ellipsis {
        display: none;
    }
}

@media (max-width: 640.98px) {
    .page-header {
        align-items: stretch;
        flex-direction: column;
    }

    .page-header-action {
        width: 100%;
    }

    .entity-dialog {
        width: calc(100% - 24px);
        max-height: calc(100dvh - 24px);
    }

    .entity-dialog-header,
    .entity-dialog-body {
        padding: var(--pt-space-4);
    }

    .entity-dialog-body {
        max-height: calc(100dvh - 165px);
    }

    .form-grid,
    .review-list,
    .operation-details {
        grid-template-columns: 1fr;
    }

    .entity-dialog-actions {
        flex-direction: column-reverse;
    }

    .entity-dialog-actions .button {
        width: 100%;
    }

    .table-wrap {
        overflow: visible;
        border: 0;
    }

    .responsive-table {
        min-width: 0;
        background: transparent;
    }

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

    .responsive-table tbody,
    .responsive-table tr,
    .responsive-table td {
        display: block;
        width: 100%;
    }

    .responsive-table tr {
        margin-bottom: var(--pt-space-4);
        overflow: hidden;
        border: 1px solid var(--pt-border);
        border-radius: var(--pt-radius-card);
        background: var(--pt-surface);
    }

    .responsive-table td {
        display: grid;
        grid-template-columns: minmax(6.5rem, 0.7fr) minmax(0, 1fr);
        gap: var(--pt-space-3);
        align-items: center;
        padding: var(--pt-space-3) var(--pt-space-4);
        text-align: right;
    }

    .responsive-table td::before {
        color: var(--pt-muted);
        content: attr(data-label);
        font-family: var(--pt-font-heading);
        font-size: 0.7rem;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-align: left;
        text-transform: uppercase;
    }

    .responsive-table td:first-child {
        text-align: right;
    }

    .responsive-table td .id {
        margin-left: auto;
    }

    .responsive-table tr:has(.personal-actions-menu[open]) {
        position: relative;
        overflow: visible;
    }

    .responsive-table td.personal-actions-cell .personal-actions-menu,
    .responsive-table td.personal-actions-cell .personal-actions-menu > summary {
        width: 100%;
    }

    .responsive-table td.actions {
        align-items: stretch;
    }

    .responsive-table td.actions .button {
        width: 100%;
    }
}

@media (max-width: 390px) {
    .brand-context {
        display: none;
    }

    .content {
        width: calc(100% - 32px);
    }

    .login-shell {
        min-height: 100svh;
    }

    .login-main {
        min-height: 100svh;
        padding: 20px;
    }

    .login-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .login-access-label {
        margin-left: 0;
    }

    .login-form-region {
        align-items: flex-start;
        padding: 48px 0;
    }

    .login-footer {
        flex-direction: column;
        gap: var(--pt-space-1);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (forced-colors: active) {
    button,
    .button,
    input,
    select,
    .status-pill {
        forced-color-adjust: auto;
    }
}

/* Shell compartilhado com o portal do aluno e do Personal */
.page {
    position: relative;
    display: flex;
    min-height: 100vh;
    background: var(--pt-bg);
}

.admin-main {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
}

.sidebar {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    width: var(--pt-sidebar);
    min-width: var(--pt-sidebar);
    height: 100vh;
    flex-direction: column;
    overflow: visible;
    border-right: 1px solid var(--pt-border);
    background: var(--pt-elevated);
    transition: width var(--pt-dur-base) var(--pt-ease-out), min-width var(--pt-dur-base) var(--pt-ease-out);
}

.sidebar-brand {
    position: relative;
    display: flex;
    height: var(--pt-topbar);
    align-items: center;
    padding: 0 16px;
    border-bottom: 1px solid var(--pt-border);
}

.brand-link {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: flex-start;
    color: inherit;
    text-decoration: none;
}

.brand-link:hover {
    opacity: 0.9;
}

.brand-logo {
    display: flex;
    width: 148px;
    max-width: 100%;
    height: 48px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    overflow: hidden;
}

.brand-logo-symbol,
.brand-logo-name {
    display: block;
    flex: 0 0 auto;
    object-fit: contain;
}

.brand-logo-symbol {
    width: 34px;
    height: auto;
    max-height: 26px;
}

.brand-logo-name {
    width: 104px;
    height: auto;
    max-height: 13px;
}

.brand-mark {
    display: none;
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.navbar-toggler {
    display: none;
}

.mobile-menu-backdrop,
.mobile-menu-header,
.mobile-drawer-profile {
    display: none;
}

.nav-scrollable {
    display: flex;
    min-height: 0;
    flex: 1;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
    padding-top: 8px;
}

.admin-nav {
    flex: 1;
    padding-bottom: 16px;
}

.nav-section-label {
    padding: 16px 16px 6px;
    color: var(--pt-muted);
    font-family: var(--pt-font-heading);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    user-select: none;
}

.nav-item {
    padding: 2px 10px;
}

.nav-link {
    position: relative;
    display: flex;
    min-height: 44px;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border: 1px solid transparent;
    border-radius: var(--pt-radius-control);
    color: var(--pt-muted);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.nav-link:hover {
    border-color: rgb(215 255 69 / 10%);
    background: rgb(215 255 69 / 7%);
    color: var(--pt-text);
}

.nav-link.active {
    border-color: var(--pt-border);
    background: var(--pt-surface);
    color: var(--pt-text);
    font-weight: 700;
}

.nav-link.active::before {
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 0;
    width: 3px;
    border-radius: 3px;
    background: var(--pt-accent);
    content: "";
}

.nav-link.active .nav-icon {
    color: var(--pt-accent);
}

.nav-icon,
.profile-action svg {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.sidebar-version {
    display: flex;
    flex-shrink: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 12px 8px;
    border-top: 1px solid var(--pt-border);
    color: var(--pt-muted);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-align: center;
}

.sidebar-profile-role {
    color: var(--pt-text);
    font-size: 0.68rem;
    letter-spacing: 0.02em;
}

.sidebar-collapse-button {
    position: absolute;
    top: 14px;
    right: 12px;
    z-index: 40;
    display: grid;
    width: 36px;
    min-height: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid var(--pt-border);
    border-radius: var(--pt-radius-control);
    background: transparent;
    color: var(--pt-muted);
}

.sidebar-collapse-button:hover {
    border-color: var(--pt-accent);
    background: rgb(215 255 69 / 8%);
    color: var(--pt-accent);
}

.sidebar-collapse-button svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.sidebar-collapsed .sidebar {
    width: 76px;
    min-width: 76px;
}

.sidebar-brand-collapsed .brand-logo {
    display: none;
}

.sidebar-brand-collapsed .brand-mark {
    display: none;
}

.sidebar-collapsed .sidebar-collapse-button {
    right: 20px;
}

.nav-scrollable-collapsed .nav-section-label,
.nav-scrollable-collapsed .nav-link span {
    display: none;
}

.sidebar-collapsed .sidebar-version {
    display: none;
}

.nav-scrollable-collapsed .nav-item {
    padding-inline: 8px;
}

.nav-scrollable-collapsed .nav-link {
    justify-content: center;
    gap: 0;
    padding-inline: 10px;
}

.top-row {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    min-height: var(--pt-topbar);
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    border-bottom: 1px solid var(--pt-border);
    background: var(--pt-header-bg);
    backdrop-filter: blur(8px);
}

.top-row .environment {
    justify-self: auto;
}

.mini-profile {
    position: relative;
}

.profile-trigger {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 5px 7px;
    cursor: pointer;
    list-style: none;
}

.profile-trigger::-webkit-details-marker {
    display: none;
}

.profile-trigger:focus-visible {
    border-radius: var(--pt-radius-control);
    outline: 2px solid var(--pt-accent);
    outline-offset: 2px;
}

.profile-avatar,
.mobile-drawer-profile-avatar {
    display: grid;
    width: 35px;
    height: 35px;
    flex: 0 0 35px;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgb(215 255 69 / 55%);
    border-radius: 50%;
    background: rgb(215 255 69 / 12%);
    color: var(--pt-accent);
    font-size: 0.75rem;
    font-weight: 800;
}

.profile-identity,
.mobile-drawer-profile-identity {
    display: flex;
    min-width: 0;
    flex-direction: column;
    line-height: 1.15;
}

.profile-name,
.mobile-drawer-profile-name {
    max-width: 200px;
    overflow: hidden;
    color: var(--pt-text);
    font-size: 0.875rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-meta,
.mobile-drawer-profile-email {
    max-width: 220px;
    overflow: hidden;
    color: var(--pt-muted);
    font-size: 0.75rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-chevron {
    color: var(--pt-muted);
    font-size: 0.9rem;
    transition: transform 140ms ease;
}

.mini-profile[open] .profile-chevron {
    transform: rotate(180deg);
}

.profile-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 120;
    display: flex;
    width: 220px;
    flex-direction: column;
    gap: 4px;
    padding: 7px;
    border: 1px solid var(--pt-border);
    border-radius: 10px;
    background: var(--pt-elevated);
    box-shadow: var(--pt-shadow-md);
}

.profile-menu-heading {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 8px 10px 10px;
    border-bottom: 1px solid var(--pt-border);
}

.profile-menu-heading strong {
    overflow: hidden;
    color: var(--pt-text);
    font-size: 0.78rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-menu-heading span {
    color: var(--pt-muted);
    font-size: 0.68rem;
}

.profile-menu form,
.mobile-profile-actions {
    margin: 0;
}

.profile-action {
    display: flex;
    width: 100%;
    min-height: 44px;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    padding: 9px 11px;
    border: 1px solid transparent;
    border-radius: var(--pt-radius-control);
    background: transparent;
    color: var(--pt-muted);
    font-size: 0.76rem;
    font-weight: 600;
    text-align: left;
}

.profile-action:hover {
    border-color: var(--pt-accent);
    background: rgb(215 255 69 / 8%);
    color: var(--pt-accent);
}

@media (max-width: 960px) and (min-width: 641px) {
    .sidebar {
        width: 76px;
        min-width: 76px;
    }

    .sidebar-brand {
        justify-content: center;
        padding-inline: 8px;
    }

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

    .sidebar-brand .brand-mark {
        display: block;
    }

    .sidebar-collapse-button {
        display: none;
    }

    .nav-section-label,
    .nav-link span,
    .sidebar-version {
        display: none;
    }

    .nav-item {
        padding-inline: 8px;
    }

    .nav-link {
        justify-content: center;
        gap: 0;
        padding-inline: 10px;
    }
}

@media (max-width: 640.98px) {
    .page {
        display: block;
    }

    .sidebar-collapsed .sidebar {
        width: 100%;
        min-width: 0;
    }

    .sidebar {
        position: relative;
        width: 100%;
        min-width: 0;
        height: var(--pt-topbar);
        border-right: 0;
        border-bottom: 1px solid var(--pt-border);
    }

    .sidebar-brand {
        display: flex;
        min-height: var(--pt-topbar);
        align-items: center;
        padding: 0 70px 0 16px;
        border-bottom: 0;
    }

    .sidebar-brand .brand-logo {
        display: flex;
    }

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

    .sidebar-brand-collapsed .brand-logo {
        display: flex;
    }

    .sidebar-brand-collapsed .brand-mark {
        display: none;
    }

    .brand-link {
        justify-content: flex-start;
    }

    .brand-logo {
        width: 148px;
    }

    .brand-logo-symbol {
        width: 34px;
    }

    .brand-logo-name {
        width: 104px;
    }

    .navbar-toggler {
        position: absolute;
        top: 14px;
        right: 16px;
        z-index: 195;
        display: block;
        width: 48px;
        min-height: 44px;
        height: 44px;
        appearance: none;
        border: 1px solid rgb(215 255 69 / 25%);
        border-radius: var(--pt-radius-sm);
        background-color: rgb(215 255 69 / 6%);
        background-image: linear-gradient(var(--pt-accent), var(--pt-accent)), linear-gradient(var(--pt-accent), var(--pt-accent)), linear-gradient(var(--pt-accent), var(--pt-accent));
        background-position: center 10px, center 17px, center 24px;
        background-repeat: no-repeat;
        background-size: 22px 2px;
        cursor: pointer;
    }

    .navbar-toggler:checked {
        border-color: rgb(215 255 69 / 45%);
        background-color: rgb(215 255 69 / 12%);
    }

    .mobile-menu-backdrop {
        position: fixed;
        inset: 0;
        z-index: 190;
        display: block;
        visibility: hidden;
        background: rgb(0 0 0 / 68%);
        opacity: 0;
        pointer-events: none;
        transition: opacity 200ms ease, visibility 200ms ease;
    }

    .nav-scrollable {
        position: fixed;
        inset: 0 0 0 auto;
        z-index: 200;
        width: min(320px, 86vw);
        max-width: 100%;
        padding: 0;
        visibility: hidden;
        border-left: 1px solid rgb(215 255 69 / 25%);
        background: var(--pt-elevated);
        box-shadow: var(--pt-shadow-lg);
        pointer-events: none;
        transform: translateX(102%);
        transition: transform var(--pt-dur-slow) var(--pt-ease-out), visibility var(--pt-dur-slow) var(--pt-ease-out);
    }

    .navbar-toggler:checked ~ .nav-scrollable {
        visibility: visible;
        pointer-events: auto;
        transform: translateX(0);
    }

    .navbar-toggler:checked ~ .mobile-menu-backdrop {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }

    .mobile-menu-header {
        display: flex;
        min-height: var(--pt-topbar);
        align-items: center;
        justify-content: space-between;
        padding: var(--pt-space-3) var(--pt-space-4);
        border-bottom: 1px solid var(--pt-border);
    }

    .mobile-menu-title {
        display: flex;
        align-items: center;
        gap: 11px;
        color: var(--pt-text);
        font-family: var(--pt-font-heading);
        font-weight: 800;
    }

    .mobile-menu-title img {
        width: 40px;
        height: 40px;
        object-fit: contain;
    }

    .mobile-menu-close {
        display: grid;
        width: 44px;
        min-height: 44px;
        height: 44px;
        place-items: center;
        border: 1px solid rgb(215 255 69 / 35%);
        border-radius: 10px;
        color: var(--pt-text);
        font-size: 1.4rem;
        cursor: pointer;
    }

    .admin-nav {
        padding-top: 10px;
    }

    .nav-scrollable-collapsed .nav-section-label,
    .nav-scrollable-collapsed .nav-link span {
        display: initial;
    }

    .nav-scrollable-collapsed .nav-item {
        padding-inline: 10px;
    }

    .nav-scrollable-collapsed .nav-link {
        justify-content: flex-start;
        gap: 10px;
        padding-inline: 14px;
    }

    .mobile-drawer-profile {
        display: block;
        flex-shrink: 0;
        padding: 14px 16px;
        border-top: 1px solid var(--pt-border);
    }

    .mobile-drawer-profile-trigger {
        display: grid;
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 12px;
        align-items: center;
        margin-bottom: 8px;
    }

    .mobile-profile-actions {
        padding-left: 52px;
    }

    .sidebar-version,
    .sidebar-collapse-button,
    .mini-profile {
        display: none;
    }

    .top-row {
        min-height: var(--pt-topbar);
        justify-content: flex-end;
        padding: 0 16px;
    }

    .content {
        width: calc(100% - 32px);
        padding-top: 24px;
    }
}
