:root {
    --navy: #16324f;
    --navy-dark: #10283f;
    --blue: #2f5d7e;
    --blue-hover: #274f6c;
    --light: #d9eaf4;
    --bg: #f4f7f9;
    --text: #233342;
    --muted: #6d7c89;
    --border: #d9e1e7;
    --danger: #b42318;
    --danger-bg: #fee4e2;
    --success: #18794e;
    --success-bg: #d7f0e3;
    --warning: #805d00;
    --warning-bg: #fff2cc;
    --shadow: 0 2px 9px rgba(22, 50, 79, .09);
    --shadow-lg: 0 18px 50px rgba(7, 27, 44, .4);
}

* { box-sizing: border-box; }

html,
body {
    margin: 0;
    min-height: 100%;
    font: 14px/1.45 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--bg);
}

body { min-width: 320px; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--navy); }
button,
input,
select,
textarea { font: inherit; }
button,
a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; }
h1,
h2,
h3,
p { overflow-wrap: anywhere; }

:focus-visible {
    outline: 3px solid rgba(47, 93, 126, .32);
    outline-offset: 2px;
}

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

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 8px;
    left: 8px;
    padding: 9px 13px;
    border-radius: 4px;
    background: #fff;
    color: var(--navy);
    box-shadow: var(--shadow);
    transform: translateY(-150%);
}

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

/* Shared application shell, aligned with STS Bid. */
.app-shell {
    display: grid;
    grid-template-columns: 232px minmax(0, 1fr);
    min-height: 100vh;
}

.sidebar {
    position: sticky;
    z-index: 40;
    top: 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
    color: #fff;
    background: var(--navy);
}

.brand {
    display: flex;
    flex: 0 0 108px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 8px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    color: #fff;
}

.brand:hover { color: #fff; background: rgba(255, 255, 255, .025); }
.brand img { display: block; width: 176px; max-height: 78px; object-fit: contain; }
.brand-module { color: var(--light); font-size: 9px; font-weight: 800; letter-spacing: 3px; }

.sidebar nav { padding: 10px 8px; overflow: auto; }
.sidebar nav a {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 1px 0;
    padding: 9px 10px;
    border-radius: 5px;
    color: #dce8ef;
    font-weight: 600;
}

.sidebar nav a:hover,
.sidebar nav a.active { color: #fff; background: rgba(255, 255, 255, .1); }
.nav-icon {
    display: grid;
    flex: 0 0 24px;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    background: rgba(255, 255, 255, .08);
    font-size: 10px;
    font-weight: 800;
}

.sidebar nav a.active .nav-icon { color: var(--navy); background: var(--light); }
.sidebar-user { margin-top: auto; padding: 14px 18px; border-top: 1px solid rgba(255, 255, 255, .12); }
.sidebar-user strong,
.sidebar-user small { display: block; }
.sidebar-user strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-user small { margin-top: 1px; overflow: hidden; color: #a8c2d2; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-user form { margin-top: 9px; }
.btn-sidebar { border-color: rgba(255, 255, 255, .32) !important; background: transparent !important; }
.btn-sidebar:hover { border-color: #fff !important; background: rgba(255, 255, 255, .08) !important; }

.main-column { min-width: 0; }
.topbar {
    display: flex;
    align-items: center;
    gap: 22px;
    min-height: 82px;
    padding: 14px 24px;
    border-bottom: 1px solid var(--border);
    background: #fff;
}

.page-heading { flex: 0 0 auto; min-width: 190px; }
.topbar h1 { margin: 0; font-size: 21px; line-height: 1.2; }
.topbar p { margin: 2px 0 0; color: var(--muted); font-size: 12px; }
.menu-toggle { display: none; padding: 4px; border: 0; color: var(--navy); background: none; font-size: 23px; cursor: pointer; }
.global-search { display: flex; flex: 1 1 540px; justify-content: center; }
.global-search input {
    width: min(100%, 500px);
    padding: 8px 11px;
    border: 1px solid #bbc7cf;
    border-right: 0;
    border-radius: 4px 0 0 4px;
    background: #f9fbfc;
}
.global-search button {
    padding: 8px 12px;
    border: 1px solid var(--blue);
    border-radius: 0 4px 4px 0;
    color: #fff;
    background: var(--blue);
    font-weight: 700;
    cursor: pointer;
}

.top-actions { flex: 0 0 auto; margin-left: auto; }
.environment {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 3px;
    color: var(--navy);
    background: var(--light);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.content { max-width: 1800px; margin: auto; padding: 20px 24px 40px; }
.sidebar-backdrop { display: none; }

/* Common UI elements. */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 13px;
    border: 1px solid var(--blue);
    border-radius: 4px;
    color: #fff;
    background: var(--blue);
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
}
.btn:hover { color: #fff; background: var(--blue-hover); }
.btn-secondary { color: var(--blue); background: #fff; }
.btn-secondary:hover { color: var(--navy); background: #f5f9fb; }
.btn-sm { min-height: 30px; padding: 5px 9px; font-size: 12px; }
.btn-block { width: 100%; }
.btn:disabled { border-color: #aeb9c0; color: #f4f7f9; background: #aeb9c0; cursor: not-allowed; filter: none; }

.card {
    margin-bottom: 16px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: #fff;
    box-shadow: var(--shadow);
}
.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 53px;
    padding: 12px 15px;
    border-bottom: 1px solid var(--border);
}
.card-header h2,
.card-header h3 { margin: 0; font-size: 15px; }
.card-header p { margin: 2px 0 0; color: var(--muted); font-size: 12px; }
.card-header > a { flex: 0 0 auto; font-size: 12px; font-weight: 700; }
.card-body { padding: 15px; }

.metrics { display: grid; grid-template-columns: repeat(4, minmax(150px, 1fr)); gap: 12px; margin-bottom: 20px; }
.metrics-3 { grid-template-columns: repeat(3, minmax(150px, 1fr)); }
.metric { padding: 14px; border: 1px solid var(--border); border-left: 4px solid var(--blue); background: #fff; box-shadow: var(--shadow); }
.metric small { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; }
.metric strong { display: block; margin-top: 3px; color: var(--navy); font-size: 22px; }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.muted { color: var(--muted); }
.muted-note { display: block; color: var(--muted); font-size: 12px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; }
.eyebrow { color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: 1.1px; text-transform: uppercase; }

.badge {
    display: inline-block;
    max-width: 100%;
    padding: 3px 7px;
    border-radius: 10px;
    color: #455866;
    background: #e6edf1;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}
.badge-active,
.badge-awarded,
.badge-approved,
.badge-complete,
.badge-connected { color: #17603e; background: var(--success-bg); }
.badge-disabled,
.badge-inactive,
.badge-rejected,
.badge-cancelled,
.badge-revoked { color: #9b1c1c; background: var(--danger-bg); }
.badge-not-connected,
.badge-pending,
.badge-opportunity { color: #694f00; background: var(--warning-bg); }
.badge-in-progress,
.badge-submitted,
.badge-internal-review { color: #245678; background: #dcecf8; }

.alert { margin-bottom: 14px; padding: 11px 13px; border-radius: 4px; }
.alert-danger { color: #9b1c1c; background: var(--danger-bg); }
.alert-success { color: #17603e; background: var(--success-bg); }
.alert-warning { color: #694f00; background: var(--warning-bg); }
.alert-info { color: var(--navy); background: var(--light); }
.alert strong { display: block; margin-bottom: 2px; }

.field { display: flex; flex-direction: column; gap: 4px; }
.field label { color: #52626e; font-size: 12px; font-weight: 700; }
.field input,
.field select,
.field textarea,
.table-search input {
    width: 100%;
    padding: 8px 9px;
    border: 1px solid #bbc7cf;
    border-radius: 4px;
    color: var(--text);
    background: #fff;
}
.field input:focus,
.field select:focus,
.field textarea:focus,
.table-search input:focus,
.global-search input:focus { border-color: var(--blue); outline: 2px solid #95bed7; outline-offset: 0; }
.field small { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.field.span-2 { grid-column: span 2; }
.field.span-4 { grid-column: span 4; }
.field select[multiple] { min-height: 150px; padding: 5px; }
.field select[multiple] option { padding: 6px 7px; border-radius: 3px; }
.checkbox-field { justify-content: flex-end; min-height: 60px; }
.checkbox-field label { display: flex; align-items: center; gap: 8px; min-height: 37px; color: var(--text); }
.checkbox-field input { width: auto; accent-color: var(--blue); }

.table-wrap { width: 100%; overflow: auto; }
.data-table { width: 100%; border-collapse: collapse; white-space: nowrap; }
.data-table th { padding: 9px; border-bottom: 1px solid var(--border); color: #415563; background: #edf3f6; font-size: 11px; font-weight: 800; letter-spacing: .35px; text-align: left; text-transform: uppercase; }
.data-table td { max-width: 480px; padding: 9px; border-bottom: 1px solid #e9eef1; vertical-align: middle; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: #f7fafb; }
.data-table .wrap-cell { min-width: 210px; white-space: normal; overflow-wrap: anywhere; }
.actions-column { width: 1%; text-align: right !important; }
.filter-empty { padding: 24px; color: var(--muted); text-align: center; }
.empty-state { padding: 46px 24px; color: var(--muted); text-align: center; }
.empty-state strong { display: block; margin-bottom: 4px; color: var(--text); font-size: 15px; }
.empty-state p { max-width: 560px; margin: 0 auto; }
.empty-state.compact { padding: 32px 20px; }

.toast {
    display: none;
    position: fixed;
    z-index: 100;
    right: 20px;
    bottom: 20px;
    max-width: min(360px, calc(100vw - 40px));
    padding: 10px 14px;
    border-radius: 4px;
    color: #fff;
    background: var(--navy);
    box-shadow: var(--shadow-lg);
}
.toast.is-visible { display: block; }

/* Home and application launcher. */
.welcome-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
    padding: 20px 22px;
    border-radius: 6px;
    color: #fff;
    background: linear-gradient(120deg, var(--navy), #274f6e);
    box-shadow: var(--shadow);
}
.welcome-panel .eyebrow { color: #a9d0e5; }
.welcome-panel h2 { margin: 4px 0 3px; font-size: 23px; }
.welcome-panel p { margin: 0; color: #dce8ef; }
.welcome-panel .btn-secondary { border-color: rgba(255, 255, 255, .7); color: #fff; background: transparent; }
.welcome-panel .btn-secondary:hover { background: rgba(255, 255, 255, .1); }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin: 4px 0 11px; }
.section-heading h2 { margin: 0; font-size: 17px; }
.section-heading p { margin: 2px 0 0; color: var(--muted); font-size: 12px; }
.application-grid { display: grid; grid-template-columns: repeat(3, minmax(240px, 1fr)); gap: 12px; margin-bottom: 20px; }
.application-card { display: flex; gap: 13px; min-width: 0; padding: 15px; border: 1px solid var(--border); border-top: 4px solid var(--blue); border-radius: 6px; background: #fff; box-shadow: var(--shadow); }
.application-card-muted { border-top-color: #aeb9c0; }
.application-icon { display: grid; flex: 0 0 46px; place-items: center; width: 46px; height: 46px; border-radius: 5px; color: #fff; background: var(--navy); font-size: 11px; font-weight: 800; letter-spacing: .8px; }
.application-card-muted .application-icon { background: #71818d; }
.application-details { min-width: 0; flex: 1; }
.application-title-row { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
.application-title-row h3 { margin: 2px 0 0; color: var(--navy); font-size: 15px; }
.application-details p { min-height: 39px; margin: 7px 0 12px; color: var(--muted); font-size: 13px; }
.home-grid { align-items: start; }
.list-group { display: flex; flex-direction: column; }
.list-item { display: flex; align-items: center; gap: 11px; min-width: 0; padding: 11px 15px; border-bottom: 1px solid #e9eef1; }
.list-item:last-child { border-bottom: 0; }
.list-item.is-unread { background: #f5fafd; }
.list-leading { display: grid; flex: 0 0 30px; place-items: center; width: 30px; height: 30px; border-radius: 4px; color: var(--navy); background: var(--light); font-size: 10px; font-weight: 800; }
.list-content { min-width: 0; flex: 1; }
.list-content strong,
.list-content small { display: block; }
.list-content strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list-content small { margin-top: 1px; color: var(--muted); font-size: 11px; }
.list-content p { margin: 4px 0 0; color: #52626e; font-size: 12px; }
.project-field-links { display: flex; flex-wrap: wrap; gap: 5px 10px; margin-top: 6px; }
.project-field-links a { font-size: 11px; font-weight: 700; }

/* Directories, account, messages, and administration. */
.breadcrumb { display: flex; align-items: center; gap: 7px; margin-bottom: 11px; color: var(--muted); font-size: 12px; }
.directory-header { min-height: 65px; }
.directory-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.table-search { flex: 0 1 300px; }
.row-actions { display: flex; align-items: center; justify-content: flex-end; gap: 5px; }
.row-actions form { margin: 0; }
.btn-danger { border-color: var(--danger); background: var(--danger); }
.btn-danger:hover { background: #941b13; }
.admin-form-card { max-width: 1100px; }
.admin-form-grid { padding: 18px; }
.form-actions { display: flex; justify-content: flex-end; gap: 8px; padding: 14px 18px; border-top: 1px solid var(--border); background: #fbfcfd; }
.profile-summary { display: flex; align-items: center; gap: 13px; padding-bottom: 15px; border-bottom: 1px solid var(--border); }
.profile-avatar { display: grid; flex: 0 0 52px; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: #fff; background: var(--blue); font-size: 19px; font-weight: 800; }
.profile-summary h3 { margin: 0; font-size: 18px; }
.profile-summary p { margin: 2px 0 0; color: var(--muted); }
.details-list { margin: 6px 0 0; }
.details-list > div { display: grid; grid-template-columns: minmax(110px, 40%) minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid #edf1f3; }
.details-list > div:last-child { border-bottom: 0; }
.details-list dt { color: var(--muted); font-size: 12px; font-weight: 700; }
.details-list dd { margin: 0; overflow-wrap: anywhere; }
.security-callout { margin-bottom: 14px; padding: 13px; border-left: 4px solid var(--blue); background: var(--bg); }
.security-callout p { margin: 3px 0 0; color: var(--muted); }
.user-agent { max-width: 520px !important; }
.message-card { max-width: 640px; margin: 50px auto; padding: 34px; text-align: center; }
.message-icon,
.credential-success { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 15px; border-radius: 50%; color: var(--success); background: var(--success-bg); font-size: 25px; font-weight: 800; }
.message-icon-error { color: var(--danger); background: var(--danger-bg); }
.message-card h2 { margin: 4px 0 8px; font-size: 24px; }
.message-card > p { max-width: 500px; margin: 0 auto; color: var(--muted); }
.message-actions { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.admin-welcome { margin-bottom: 16px; }
.admin-grid { display: grid; grid-template-columns: repeat(3, minmax(230px, 1fr)); gap: 12px; }
.admin-card { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 15px; border: 1px solid var(--border); border-radius: 6px; color: var(--text); background: #fff; box-shadow: var(--shadow); transition: border-color .15s, transform .15s; }
.admin-card:hover { border-color: #a8becd; color: var(--text); transform: translateY(-1px); }
.admin-icon { display: grid; flex: 0 0 42px; place-items: center; width: 42px; height: 42px; border-radius: 5px; color: #fff; background: var(--navy); font-size: 13px; font-weight: 800; }
.admin-card-body { min-width: 0; flex: 1; color: var(--muted); font-size: 12px; }
.admin-card-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 3px; color: var(--navy); font-size: 14px; font-weight: 800; }
.admin-card-title strong { color: var(--blue); font-size: 16px; }
.admin-arrow { color: #8ba1af; font-size: 25px; }
.credential-card { max-width: 780px; margin-right: auto; margin-left: auto; padding: 28px; }
.credential-card h2 { margin: 4px 0 5px; text-align: center; font-size: 24px; }
.credential-card > .eyebrow { display: block; text-align: center; }
.credential-intro { max-width: 610px; margin: 0 auto 18px; color: var(--muted); text-align: center; }
.credential-fields { display: grid; gap: 14px; margin: 18px 0; }
.copy-field { display: flex; gap: 7px; }
.copy-field input { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.credential-actions { margin-top: 20px; text-align: center; }

/* Authentication and installation. */
.auth-page { background: linear-gradient(135deg, var(--navy), #274f6e); }
.auth-main { display: grid; min-height: 100vh; place-items: center; padding: 30px 16px; }
.auth-card { width: min(420px, 100%); overflow: hidden; border-radius: 7px; background: #fff; box-shadow: var(--shadow-lg); }
.install-card { width: min(960px, 100%); }
.login-brand { padding: 18px 24px 14px; color: #fff; background: var(--navy); text-align: center; }
.login-logo-panel { max-width: 330px; margin: 0 auto; padding: 3px 12px; }
.login-logo-panel img { display: block; width: 100%; max-height: 100px; object-fit: contain; }
.login-brand p { margin: 5px 0 0; color: #c5d9e5; font-size: 12px; font-weight: 700; letter-spacing: .3px; }
.auth-card-body { padding: 26px 30px 30px; }
.auth-heading { margin-bottom: 19px; }
.auth-heading h1 { margin: 3px 0 4px; color: var(--navy); font-size: 24px; }
.auth-heading p { margin: 0; color: var(--muted); }
.login-card form { display: grid; gap: 13px; }
.system-checks { margin-bottom: 22px; padding: 14px; border: 1px solid var(--border); border-radius: 5px; background: var(--bg); }
.system-checks h2 { margin: 0 0 10px; font-size: 14px; }
.check-grid { display: grid; grid-template-columns: repeat(5, minmax(110px, 1fr)); gap: 8px; }
.check-item { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 8px; border-radius: 4px; background: #fff; }
.check-item > span { display: grid; flex: 0 0 24px; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-weight: 800; }
.check-item strong,
.check-item small { display: block; }
.check-item strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.check-item small { color: var(--muted); font-size: 10px; }
.check-pass > span { color: var(--success); background: var(--success-bg); }
.check-fail > span { color: var(--danger); background: var(--danger-bg); }
.install-form { display: grid; gap: 18px; }
.install-form fieldset { margin: 0; padding: 15px; border: 1px solid var(--border); border-radius: 5px; }
.install-form legend { padding: 0 7px; color: var(--navy); font-size: 13px; font-weight: 800; }
.form-help { margin: 10px 0 0; color: var(--muted); font-size: 11px; }

@media (max-width: 1180px) {
    .global-search { flex-basis: 300px; }
    .global-search input { max-width: 360px; }
    .application-grid,
    .admin-grid { grid-template-columns: repeat(2, minmax(230px, 1fr)); }
}

@media (max-width: 1000px) {
    .metrics { grid-template-columns: repeat(2, minmax(150px, 1fr)); }
    .metrics-3 { grid-template-columns: repeat(3, minmax(130px, 1fr)); }
    .global-search { display: none; }
    .check-grid { grid-template-columns: repeat(3, minmax(110px, 1fr)); }
}

@media (max-width: 760px) {
    .app-shell { grid-template-columns: minmax(0, 1fr); }
    .sidebar { position: fixed; left: -240px; width: 232px; transition: left .2s ease; }
    .sidebar.open { left: 0; box-shadow: 10px 0 30px rgba(7, 27, 44, .28); }
    .sidebar-backdrop { position: fixed; z-index: 35; inset: 0; border: 0; background: rgba(12, 29, 43, .45); cursor: pointer; }
    body.sidebar-open { overflow: hidden; }
    body.sidebar-open .sidebar-backdrop { display: block; }
    .menu-toggle { display: block; }
    .topbar { gap: 12px; min-height: 74px; padding: 12px 15px; }
    .page-heading { min-width: 0; }
    .topbar h1 { font-size: 18px; }
    .top-actions { margin-left: auto; }
    .content { padding: 14px 14px 32px; }
    .grid-2,
    .application-grid,
    .admin-grid { grid-template-columns: minmax(0, 1fr); }
    .metrics,
    .metrics-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .welcome-panel { align-items: flex-start; flex-direction: column; padding: 18px; }
    .welcome-panel h2 { font-size: 20px; }
    .welcome-panel .btn { width: 100%; }
    .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .field.span-2 { grid-column: span 2; }
    .field.span-4 { grid-column: span 2; }
    .check-grid { grid-template-columns: repeat(2, minmax(110px, 1fr)); }
    .auth-main { align-items: start; padding-top: 16px; }
    .auth-card-body { padding: 22px 20px 24px; }
    .message-card { margin: 20px auto; padding: 25px 18px; }
}

@media (max-width: 480px) {
    .environment { display: none; }
    .metrics,
    .metrics-3 { grid-template-columns: minmax(0, 1fr); }
    .application-title-row { align-items: flex-start; flex-direction: column; gap: 5px; }
    .list-item { align-items: flex-start; }
    .list-item > .badge { margin-top: 4px; }
    .directory-header { align-items: stretch; flex-direction: column; }
    .directory-actions { align-items: stretch; flex-direction: column; }
    .table-search { flex: 0 0 auto; }
    .form-grid { grid-template-columns: minmax(0, 1fr); }
    .field.span-2,
    .field.span-4 { grid-column: span 1; }
    .check-grid { grid-template-columns: minmax(0, 1fr); }
    .copy-field,
    .message-actions { flex-direction: column; }
    .copy-field .btn,
    .message-actions .btn { width: 100%; }
    .credential-card { padding: 22px 16px; }
    .login-brand { padding-right: 18px; padding-left: 18px; }
}

@media print {
    .sidebar,
    .topbar,
    .sidebar-backdrop,
    .toast,
    .table-search,
    .breadcrumb { display: none !important; }
    .app-shell { display: block; }
    .content { max-width: none; padding: 0; }
    .card { box-shadow: none; }
}
