/* Self-hosted fonts (strict CSP font-src 'self', zero Google Fonts) */
@font-face {
    font-family: 'IBM Plex Sans';
    font-style: normal;
    font-display: swap;
    font-weight: 400;
    src: url('/fonts/ibm-plex-sans-latin-400-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'IBM Plex Sans';
    font-style: normal;
    font-display: swap;
    font-weight: 500;
    src: url('/fonts/ibm-plex-sans-latin-500-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'IBM Plex Sans';
    font-style: normal;
    font-display: swap;
    font-weight: 600;
    src: url('/fonts/ibm-plex-sans-latin-600-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'IBM Plex Sans';
    font-style: normal;
    font-display: swap;
    font-weight: 700;
    src: url('/fonts/ibm-plex-sans-latin-700-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'IBM Plex Mono';
    font-style: normal;
    font-display: swap;
    font-weight: 400;
    src: url('/fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'IBM Plex Mono';
    font-style: normal;
    font-display: swap;
    font-weight: 500;
    src: url('/fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #F3F6F5;
    color: #23313A;
    font-family: 'IBM Plex Sans', system-ui, sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

body.guest-body {
    background: #FFFFFF;
}

body.error-body {
    background: #F3F6F5;
}

a {
    color: #01796C;
}

a:hover {
    color: #015A50;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #009688;
    outline-offset: 2px;
}

.mono {
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 13px;
}

.sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* Guest / Auth split layout (Page 1) */
.auth-split {
    min-height: 100vh;
    display: flex;
    flex-wrap: wrap;
}

.auth-brand-panel {
    flex: 1 1 520px;
    min-width: 0;
    background: #01796C;
    color: #FFFFFF;
    padding: 40px 56px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.auth-watermark {
    position: absolute;
    right: -140px;
    bottom: -150px;
    opacity: 0.09;
    pointer-events: none;
}

.auth-brand-row {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.auth-brand-badge {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
}

.auth-brand-title {
    font-weight: 700;
    font-size: 18px;
    line-height: 1.1;
}

.auth-brand-campus {
    font-size: 12px;
    color: #E3F2EF;
}

.auth-hero {
    margin: auto 0;
    max-width: 460px;
    position: relative;
}

.auth-hero-title {
    margin: 0 0 14px;
    font-size: 40px;
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.auth-hero-sub {
    margin: 0;
    font-size: 16px;
    color: #E3F2EF;
    max-width: 380px;
}

.auth-demo-note {
    font-size: 12px;
    color: #E3F2EF;
    position: relative;
}

.auth-form-panel {
    flex: 1 1 440px;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
}

.auth-form {
    width: 100%;
    max-width: 380px;
}

.auth-form-title {
    margin: 0 0 6px;
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.auth-form-sub {
    margin: 0 0 32px;
    color: #5F6C74;
}

.pw-wrap {
    position: relative;
    margin-bottom: 28px;
}

.pw-input {
    padding-right: 96px;
}

.pw-toggle {
    position: absolute;
    right: 4px;
    top: 4px;
    height: 38px;
    padding: 0 12px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #01796C;
    font: inherit;
    font-weight: 500;
    cursor: pointer;
}

.pw-toggle:hover {
    color: #015A50;
}

.auth-help {
    margin: 24px 0 0;
    text-align: center;
    color: #5F6C74;
    font-size: 13px;
}

.auth-form .notice,
.auth-form .notice-stack {
    margin-bottom: 20px;
}

.auth-back-link {
    display: inline-block;
    font-size: 13px;
    text-decoration: none;
}

.pw-wrap-field {
    margin-bottom: 0;
}

.pw-wrap .field:not(.field-lg) + .pw-toggle {
    top: 2px;
}

.card-narrow {
    max-width: 560px;
}

.pw-meter {
    margin-top: 10px;
}

.pw-meter-bar {
    height: 6px;
    border-radius: 999px;
    background: #E2E9E7;
    overflow: hidden;
}

.pw-meter-fill {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 999px;
    background: #B9C5C2;
    transition: width 0.15s ease, background-color 0.15s ease;
}

.pw-meter.is-weak .pw-meter-fill {
    width: 33%;
    background: #A12B2B;
}

.pw-meter.is-medium .pw-meter-fill {
    width: 66%;
    background: #8A5A00;
}

.pw-meter.is-strong .pw-meter-fill {
    width: 100%;
    background: #1E6B3A;
}

.pw-meter-status {
    margin-top: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #5F6C74;
}

.pw-meter.is-weak .pw-meter-status {
    color: #A12B2B;
}

.pw-meter.is-medium .pw-meter-status {
    color: #8A5A00;
}

.pw-meter.is-strong .pw-meter-status {
    color: #1E6B3A;
}

.pw-rules {
    margin: 8px 0 0;
    padding-left: 18px;
    font-size: 12px;
    color: #5F6C74;
}

.pw-rules li {
    margin-bottom: 2px;
}

.pw-rules li.is-met {
    color: #1E6B3A;
    font-weight: 500;
}

/* App Header (Pages 2, 3, 4, 5) */
.app-header {
    background: #01796C;
    color: #FFFFFF;
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

.app-header-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 20px;
    min-height: 60px;
    flex-wrap: wrap;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-mark {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
}

.brand-name {
    font-weight: 700;
    font-size: 17px;
}

.brand-campus {
    font-size: 13px;
    color: #E3F2EF;
    padding-left: 16px;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.header-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-user-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: inherit;
    text-decoration: none;
    border-radius: 8px;
    padding: 3px 6px;
}

.header-user-link:hover {
    color: inherit;
    background: rgba(255, 255, 255, 0.14);
}

.header-user-link:focus-visible {
    outline: 2px solid #FFFFFF;
    outline-offset: 2px;
}

.header-user-meta {
    text-align: right;
    line-height: 1.3;
}

.header-user-name {
    font-weight: 600;
    font-size: 13px;
}

.header-user-role {
    font-size: 12px;
    color: #E3F2EF;
}

.avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #FFFFFF;
    color: #01796C;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
}

.logout-form {
    margin: 0;
    display: flex;
}

.logout-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    cursor: pointer;
    padding: 0;
}

.logout-btn:hover {
    background: rgba(255, 255, 255, 0.14);
}

.logout-btn:focus-visible {
    outline: 2px solid #FFFFFF;
    outline-offset: 2px;
}

/* App Shell & Sidebar */
.app-shell {
    display: flex;
    flex-wrap: wrap;
    min-height: calc(100vh - 61px);
}

.app-sidebar {
    flex: 1 1 230px;
    background: #009688;
    padding: 16px 12px;
}

.nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 14px;
    min-height: 44px;
    border-radius: 8px;
    color: #FFFFFF;
    font-weight: 500;
    text-decoration: none;
}

.nav a:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #FFFFFF;
}

.nav a.on {
    background: #01796C;
    font-weight: 600;
}

.nav a:focus-visible {
    outline: 2px solid #FFFFFF;
    outline-offset: 2px;
}

.count {
    margin-left: auto;
    font-size: 12px;
    font-weight: 700;
    background: #FFFFFF;
    color: #01665B;
    border-radius: 999px;
    padding: 0 8px;
}

.app-main {
    flex: 999 1 560px;
    min-width: 0;
}

.app-container {
    margin: 0 auto;
    padding: 32px 32px 56px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.container-860 {
    max-width: 860px;
    padding-top: 28px;
}

.container-980 {
    max-width: 980px;
}

.container-980-detail {
    max-width: 980px;
    padding-top: 28px;
}

.container-1040 {
    max-width: 1040px;
}

.is-hidden {
    display: none;
}

/* Typography & Page Headers */
.page-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.page-title {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.page-title-sm {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.page-subtitle {
    margin: 2px 0 0;
    color: #5F6C74;
}

.back-link {
    font-size: 13px;
    text-decoration: none;
}

.title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.subtitle-mono {
    color: #5F6C74;
    margin-top: 2px;
}

.muted-note {
    margin: 0;
    font-size: 12px;
    color: #5F6C74;
}

.text-muted {
    color: #5F6C74;
}

.text-date {
    white-space: nowrap;
    color: #4D5A61;
}

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

.text-danger,
.warn {
    color: #A12B2B;
    font-weight: 500;
}

.text-sm {
    font-size: 13px;
}

.text-xs {
    font-size: 12px;
}

.fw-500 {
    font-weight: 500;
}

.fw-600 {
    font-weight: 600;
}

/* Cards */
.card {
    background: #FFFFFF;
    border: 1px solid #E2E9E7;
    border-radius: 10px;
}

.card-pad {
    padding: 20px;
}

.card h2 {
    margin: 0 0 14px;
    font-size: 15px;
    font-weight: 600;
}

.card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #E2E9E7;
}

.card-head h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.card-head-link {
    font-size: 13px;
    font-weight: 500;
}

/* Status Pills */
.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.pill::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.s-wait {
    background: #FDF3E1;
    color: #8A5A00;
}

.s-rev {
    background: #E8F0FB;
    color: #1F5BA8;
}

.s-ok {
    background: #E6F4EA;
    color: #1E6B3A;
}

.s-no {
    background: #FBEAEA;
    color: #A12B2B;
}

/* Notices / Flash Banners */
.notice {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    border-radius: 10px;
    padding: 12px 16px;
}

.notice-stack {
    display: block;
    border-radius: 10px;
    padding: 14px 18px;
}

.notice-info {
    background: #E8F0FB;
    color: #1A4F94;
}

.notice-ok {
    background: #E6F4EA;
    color: #1E6B3A;
}

.notice-wait {
    background: #FDF3E1;
    color: #8A5A00;
}

.notice-no {
    background: #FBEAEA;
    color: #A12B2B;
}

.notice-text {
    flex: 1 1 260px;
}

.notice-action {
    color: inherit;
    font-weight: 600;
}

.notice-title {
    font-weight: 600;
    margin-bottom: 2px;
}

.notice-body {
    margin: 0;
    color: #23313A;
}

.notice-list {
    margin: 6px 0 0;
    padding-left: 18px;
}

/* Tables */
.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 560px;
}

th {
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: #5F6C74;
    padding: 10px 20px;
    border-bottom: 1px solid #E2E9E7;
    white-space: nowrap;
}

td {
    padding: 14px 20px;
    border-bottom: 1px solid #EDF1F0;
}

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

.table-compact td {
    padding: 13px 20px;
}

.table-audit {
    min-width: 620px;
}

.break-anywhere {
    overflow-wrap: anywhere;
}

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

.section-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.reset-link-box {
    margin-top: 10px;
    padding: 10px 12px;
    border: 1px solid #CBD6D3;
    border-radius: 8px;
    background: #FFFFFF;
    color: #23313A;
    overflow-wrap: anywhere;
    user-select: all;
}

/* Definition Lists & Split Cards */
.split-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
}

.card-main {
    flex: 999 1 380px;
    min-width: 0;
}

.card-side {
    flex: 1 1 260px;
    min-width: 0;
}

.card-half {
    flex: 1 1 320px;
    min-width: 0;
}

.card-third {
    flex: 1 1 220px;
    min-width: 0;
}

.card-docs {
    padding-bottom: 8px;
}

.card-docs h2 {
    margin-bottom: 4px;
}

.doc-flag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    font-size: 12px;
    color: #4D5A61;
    cursor: pointer;
}

.staff-summary-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.staff-summary-count {
    font-size: 26px;
    font-weight: 600;
    line-height: 1.2;
    color: #23313A;
}

.staff-summary-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 500;
}

.timeline-note {
    margin-top: 4px;
}

dl {
    margin: 0;
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 10px 16px;
}

.dl-wide {
    grid-template-columns: 160px 1fr;
}

dt {
    color: #5F6C74;
}

dd {
    margin: 0;
}

/* Timeline */
.timeline {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tl {
    display: flex;
    gap: 12px;
    padding-bottom: 14px;
}

.tl:last-child {
    padding-bottom: 0;
}

.tl-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-top: 6px;
    flex: none;
    background: #B9C5C2;
}

.tl-dot-active {
    background: #1F5BA8;
}

/* Files & Attachments */
.file,
.doc {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid #EDF1F0;
    flex-wrap: wrap;
}

.file-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

.file-meta {
    flex: 1 1 200px;
    min-width: 0;
}

.doc-meta {
    flex: 1 1 140px;
    min-width: 0;
}

.file-name {
    font-weight: 500;
    overflow-wrap: anywhere;
}

.file-input-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.card-footer-actions {
    display: flex;
    justify-content: flex-end;
    padding-top: 16px;
    border-top: 1px solid #EDF1F0;
}

.file-status-danger {
    font-size: 12px;
    color: #A12B2B;
}

.file-preview-name {
    margin-top: 2px;
    font-size: 12px;
    color: #01796C;
    font-weight: 500;
}

.resubmit-fields {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #EDF1F0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.resubmit-fields .form-group {
    margin-bottom: 16px;
}

.profile-form-divider {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #EDF1F0;
}

.final-letter-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.final-letter-meta {
    flex: 1 1 320px;
    min-width: 0;
}

.req-box {
    background: #F8FBFA;
    border: 1px solid #E2E9E7;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 20px;
}

.req-box-title {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 600;
    color: #23313A;
}

.req-item + .req-item {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #EDF1F0;
}

.req-list {
    margin: 4px 0 0;
    padding-left: 18px;
    color: #4D5A61;
    font-size: 13px;
}

.field-file {
    width: 100%;
    border: 1px dashed #CBD6D3;
    border-radius: 8px;
    padding: 10px 12px;
    font: inherit;
    background: #F8FBFA;
    color: #23313A;
}

.form-hint {
    margin: 6px 0 0;
    font-size: 12px;
    color: #5F6C74;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 16px;
    border-top: 1px solid #EDF1F0;
}

.empty-state {
    padding: 28px 20px;
    text-align: center;
    color: #5F6C74;
}

.action-links {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    justify-content: flex-end;
}

/* Forms & Inputs */
.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
}

.form-group {
    margin-bottom: 20px;
}

.field {
    width: 100%;
    height: 42px;
    border: 1px solid #CBD6D3;
    border-radius: 8px;
    padding: 0 12px;
    font: inherit;
    background: #FFFFFF;
    color: #23313A;
}

.field:focus {
    outline: 2px solid #009688;
    outline-offset: 1px;
    border-color: #009688;
}

.field-lg {
    height: 46px;
    padding: 0 14px;
}

textarea.field {
    height: auto;
    min-height: 88px;
    padding: 10px 12px;
    resize: vertical;
}

.field-error {
    margin: 6px 0 0;
    font-size: 12px;
    color: #A12B2B;
}

.filter-bar {
    padding: 14px 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    border-bottom: 1px solid #E2E9E7;
}

.filter-bar .field {
    width: auto;
}

.filter-bar .field-search {
    flex: 1 1 240px;
    min-width: 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 42px;
    padding: 0 16px;
    border-radius: 8px;
    font: inherit;
    font-weight: 600;
    border: 1px solid #CBD6D3;
    background: #FFFFFF;
    color: #23313A;
    cursor: pointer;
    text-decoration: none;
}

.btn:hover {
    background: #F7FAF9;
    color: #23313A;
}

.btn-lg {
    height: 44px;
    padding: 0 18px;
}

.btn-sm {
    height: 32px;
    padding: 0 10px;
    font-size: 13px;
}

.btn-p {
    background: #01796C;
    border-color: #01796C;
    color: #FFFFFF;
}

.btn-p:hover {
    background: #016459;
    border-color: #016459;
    color: #FFFFFF;
}

.btn-rev {
    border-color: #9DBCE6;
    color: #1F5BA8;
}

.btn-rev:hover {
    background: #F4F8FD;
    color: #1A4F94;
}

.btn-no {
    border-color: #E7B4B4;
    color: #A12B2B;
}

.btn-no:hover {
    background: #FDF5F5;
    color: #8E2323;
}

.btn-full {
    width: 100%;
    height: 48px;
    font-size: 15px;
}

.action-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 16px;
}

.action-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Pagination */
.pagination-bar {
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    border-top: 1px solid #EDF1F0;
}

.pagination-info {
    color: #5F6C74;
    font-size: 13px;
}

.pagination-actions {
    display: flex;
    gap: 8px;
}

.pg {
    display: inline-flex;
    align-items: center;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #E2E9E7;
    border-radius: 8px;
    background: #FFFFFF;
    font: inherit;
    color: #23313A;
    cursor: pointer;
    text-decoration: none;
}

.pg:hover:not(:disabled) {
    background: #F7FAF9;
    color: #23313A;
}

.pg:disabled,
.pg-disabled {
    color: #A3AFB5;
    cursor: default;
}

/* Error Pages (403, 404, 500) */
.error-shell {
    min-height: calc(100vh - 61px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
}

.error-card {
    width: 100%;
    max-width: 480px;
    background: #FFFFFF;
    border: 1px solid #E2E9E7;
    border-radius: 10px;
    padding: 32px 28px;
}

.error-code {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: 999px;
    background: #E3F2EF;
    color: #01796C;
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 13px;
    font-weight: 500;
}

.error-title {
    margin: 14px 0 8px;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #23313A;
}

.error-desc {
    margin: 0 0 24px;
    color: #5F6C74;
}

.error-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

@media (max-width: 760px) {
    .nav {
        flex-direction: row !important;
        flex-wrap: wrap;
    }

    .hide-sm {
        display: none !important;
    }

    dl,
    .dl-wide {
        grid-template-columns: 1fr;
    }

    .app-container {
        padding: 20px 16px 40px;
    }

    .auth-brand-panel {
        padding: 32px 24px;
    }

    .auth-hero-title {
        font-size: 32px;
    }
}
