:root {
    --srms-blue-900: #173b6d;
    --srms-blue-700: #1f5f9f;
    --srms-blue-600: #256eb8;
    --srms-blue-100: #e7f1fb;
    --srms-teal-600: #0f766e;
    --srms-green-100: #e8f5ef;
    --srms-red-600: #b42318;
    --srms-red-100: #fee4e2;
    --srms-amber-100: #fef3c7;
    --srms-amber-700: #a16207;
    --srms-gray-950: #111827;
    --srms-gray-800: #1f2937;
    --srms-gray-600: #4b5563;
    --srms-gray-500: #667085;
    --srms-gray-300: #d0d5dd;
    --srms-gray-200: #eaecf0;
    --srms-gray-100: #f4f6f8;
    --srms-white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
    --shadow-md: 0 8px 24px rgba(16, 24, 40, .08);
    font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--srms-gray-950);
    background: #f7f9fb;
    font-size: 15px;
    line-height: 1.45;
}

a {
    color: var(--srms-blue-700);
    text-decoration: none;
}

a:hover {
    color: var(--srms-blue-900);
}

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

.sidebar {
    background: var(--srms-white);
    border-right: 1px solid var(--srms-gray-200);
    padding: 22px 18px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.brand {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 4px 4px 24px;
}

.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: var(--srms-blue-700);
    color: var(--srms-white);
    display: grid;
    place-items: center;
    font-weight: 800;
    letter-spacing: 0;
}

.brand-title strong {
    display: block;
    color: var(--srms-blue-900);
    font-size: 16px;
}

.brand-title span {
    color: var(--srms-gray-500);
    font-size: 12px;
}

.nav-section {
    margin: 18px 0 6px;
    color: var(--srms-gray-500);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    padding: 9px 10px;
    border-radius: 7px;
    color: var(--srms-gray-800);
    font-weight: 600;
}

.nav-link .icon {
    width: 20px;
    text-align: center;
    color: var(--srms-gray-500);
}

.nav-link.active,
.nav-link:hover {
    background: var(--srms-blue-100);
    color: var(--srms-blue-900);
}

.main {
    min-width: 0;
}

.topbar {
    height: 72px;
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid var(--srms-gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.topbar-title {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.topbar-title span {
    color: var(--srms-gray-500);
    font-size: 13px;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--srms-blue-100);
    color: var(--srms-blue-900);
    display: grid;
    place-items: center;
    font-weight: 800;
}

.content {
    padding: 26px 28px 48px;
    max-width: 1480px;
}

.demo-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 28px;
    border-bottom: 1px solid #fecdca;
    background: #fff4f2;
    color: var(--srms-gray-950);
}

.demo-banner div {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
}

.demo-banner strong {
    color: var(--srms-red-600);
    font-size: 13px;
    letter-spacing: .04em;
}

.demo-banner span {
    color: var(--srms-gray-600);
    font-size: 13px;
}

.demo-reset-card {
    max-width: 760px;
}

.demo-reset-card h2 {
    margin: 14px 0;
    color: var(--srms-gray-950);
    font-size: 24px;
}

.page-header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.page-header h1,
.page-header h2 {
    margin: 0 0 4px;
    color: var(--srms-gray-950);
    font-size: 26px;
    line-height: 1.2;
}

.page-header p,
.muted {
    color: var(--srms-gray-500);
}

.grid {
    display: grid;
    gap: 16px;
}

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

.grid.cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
    background: var(--srms-white);
    border: 1px solid var(--srms-gray-200);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    padding: 18px;
}

.metric {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.metric-value {
    font-size: 30px;
    font-weight: 800;
    color: var(--srms-blue-900);
}

.metric-label {
    color: var(--srms-gray-500);
    font-size: 13px;
}

.table-card {
    background: var(--srms-white);
    border: 1px solid var(--srms-gray-200);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.table-toolbar {
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--srms-gray-200);
}

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

th,
td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid var(--srms-gray-200);
    vertical-align: top;
}

th {
    background: #fbfcfd;
    color: var(--srms-gray-600);
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 800;
}

tr:hover td {
    background: #fcfdff;
}

.actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.btn {
    border: 1px solid transparent;
    border-radius: 7px;
    min-height: 38px;
    padding: 8px 13px;
    font-weight: 700;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: var(--srms-white);
    color: var(--srms-gray-800);
    font-size: 14px;
}

.btn-primary {
    background: var(--srms-blue-700);
    border-color: var(--srms-blue-700);
    color: var(--srms-white);
}

.btn-primary:hover {
    background: var(--srms-blue-900);
    color: var(--srms-white);
}

.btn-secondary {
    border-color: var(--srms-gray-300);
}

.btn-danger {
    background: var(--srms-red-600);
    border-color: var(--srms-red-600);
    color: var(--srms-white);
}

.btn-small {
    min-height: 32px;
    padding: 6px 10px;
    font-size: 13px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    padding: 4px 9px;
    background: var(--srms-gray-100);
    color: var(--srms-gray-600);
    font-size: 12px;
    font-weight: 800;
}

.badge.active,
.badge.success {
    background: var(--srms-green-100);
    color: var(--srms-teal-600);
}

.badge.suspended,
.badge.warning {
    background: var(--srms-amber-100);
    color: var(--srms-amber-700);
}

.badge.archived,
.badge.danger,
.badge.inactive {
    background: var(--srms-red-100);
    color: var(--srms-red-600);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

label {
    color: var(--srms-gray-800);
    font-size: 13px;
    font-weight: 800;
}

.required::after {
    content: " *";
    color: var(--srms-red-600);
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--srms-gray-300);
    border-radius: 7px;
    padding: 9px 11px;
    min-height: 40px;
    background: var(--srms-white);
    color: var(--srms-gray-950);
    font: inherit;
}

textarea {
    min-height: 96px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
.btn:focus {
    outline: 3px solid rgba(37, 110, 184, .22);
    border-color: var(--srms-blue-600);
}

.help {
    color: var(--srms-gray-500);
    font-size: 12px;
}

.alert {
    border-radius: 8px;
    padding: 12px 14px;
    border: 1px solid var(--srms-gray-200);
    margin-bottom: 16px;
    background: var(--srms-white);
}

.alert-success {
    background: var(--srms-green-100);
    border-color: #b7e4cf;
    color: var(--srms-teal-600);
}

.alert-danger {
    background: var(--srms-red-100);
    border-color: #fecdca;
    color: var(--srms-red-600);
}

.alert-warning {
    background: var(--srms-amber-100);
    border-color: #fde68a;
    color: var(--srms-amber-700);
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.tab {
    border: 1px solid var(--srms-gray-300);
    border-radius: 999px;
    padding: 7px 12px;
    font-weight: 800;
    color: var(--srms-gray-600);
    background: var(--srms-white);
}

.tab.active {
    color: var(--srms-white);
    background: var(--srms-blue-700);
    border-color: var(--srms-blue-700);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 1px;
    background: var(--srms-gray-200);
    border: 1px solid var(--srms-gray-200);
    border-radius: 8px;
    overflow: hidden;
}

.calendar-day,
.calendar-head {
    background: var(--srms-white);
    min-height: 128px;
    padding: 10px;
}

.calendar-head {
    min-height: auto;
    background: #fbfcfd;
    color: var(--srms-gray-600);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.calendar-date {
    font-weight: 800;
    color: var(--srms-gray-600);
    margin-bottom: 6px;
}

.schedule-chip {
    display: block;
    border-left: 4px solid var(--srms-blue-600);
    background: #f8fbff;
    color: var(--srms-gray-800);
    padding: 6px 8px;
    border-radius: 6px;
    font-size: 12px;
    margin: 5px 0;
    overflow-wrap: anywhere;
}

.roster-row {
    display: grid;
    grid-template-columns: minmax(160px, 1.2fr) repeat(5, minmax(100px, 1fr));
    gap: 10px;
    padding: 12px;
    border-bottom: 1px solid var(--srms-gray-200);
    align-items: center;
}

.empty-state {
    text-align: center;
    padding: 42px 18px;
    color: var(--srms-gray-500);
}

.auth-body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, #f8fbff 0%, #eef4fa 100%);
    padding: 24px;
}

.auth-card {
    width: min(460px, 100%);
    background: var(--srms-white);
    border: 1px solid var(--srms-gray-200);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    padding: 28px;
}

.auth-card h1 {
    margin: 18px 0 6px;
    color: var(--srms-blue-900);
}

.debug-box {
    white-space: pre-wrap;
    background: #111827;
    color: #fff;
    padding: 12px;
    border-radius: 6px;
    overflow: auto;
}

.mobile-toggle {
    display: none;
}

.footer-meta {
    margin-top: 30px;
    color: var(--srms-gray-500);
    font-size: 12px;
}

.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.checkbox-card {
    border: 1px solid var(--srms-gray-200);
    border-radius: 8px;
    padding: 12px;
    background: #fff;
}

.wizard-steps {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 18px;
}

.wizard-step {
    background: var(--srms-blue-100);
    color: var(--srms-blue-900);
    border-radius: 7px;
    padding: 8px;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
}

@media (max-width: 980px) {
    .app-shell {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: fixed;
        inset: 0 auto 0 0;
        width: 290px;
        transform: translateX(-100%);
        transition: transform .2s ease;
        z-index: 30;
        box-shadow: var(--shadow-md);
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .mobile-toggle {
        display: inline-flex;
    }

    .topbar {
        padding: 0 16px;
    }

    .content {
        padding: 20px 16px 36px;
    }

    .demo-banner {
        align-items: flex-start;
        flex-direction: column;
        padding: 12px 16px;
    }

    .grid.cols-2,
    .grid.cols-3,
    .grid.cols-4,
    .form-grid,
    .checkbox-grid,
    .wizard-steps {
        grid-template-columns: 1fr;
    }

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

    .table-card {
        overflow-x: auto;
    }

    .calendar-grid {
        display: block;
        background: transparent;
        border: 0;
    }

    .calendar-head {
        display: none;
    }

    .calendar-day {
        min-height: 0;
        border: 1px solid var(--srms-gray-200);
        border-radius: 8px;
        margin-bottom: 10px;
    }

    .roster-row {
        grid-template-columns: 1fr;
    }
}

@media print {
    body {
        background: white;
    }

    .sidebar,
    .topbar,
    .page-actions,
    .no-print,
    .footer-meta {
        display: none !important;
    }

    .app-shell {
        display: block;
    }

    .content {
        padding: 0;
        max-width: none;
    }

    .card,
    .table-card {
        box-shadow: none;
        border-color: #bbb;
    }
}

.public-body {
    background: #ffffff;
}

.public-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid var(--srms-gray-200);
    backdrop-filter: blur(12px);
}

.public-nav {
    max-width: 1180px;
    margin: 0 auto;
    min-height: 76px;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.public-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--srms-blue-900);
}

.public-brand strong,
.public-brand small {
    display: block;
}

.public-brand small {
    color: var(--srms-gray-500);
    font-size: 12px;
}

.public-links,
.public-actions,
.public-footer-links {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.public-links a,
.public-footer-links a {
    color: var(--srms-gray-600);
    font-weight: 700;
}

.hero-section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 74px 22px 58px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, .95fr);
    gap: 44px;
    align-items: center;
}

.eyebrow {
    color: var(--srms-blue-700);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hero-copy h1 {
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.02;
    margin: 12px 0 18px;
    color: var(--srms-blue-900);
}

.hero-copy p,
.wide-copy {
    font-size: 18px;
    color: var(--srms-gray-600);
    max-width: 760px;
}

.hero-note {
    margin-top: 18px;
    color: var(--srms-gray-500);
    font-weight: 700;
}

.product-preview {
    position: relative;
    min-height: 420px;
}

.browser-frame {
    background: #fff;
    border: 1px solid var(--srms-gray-200);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.browser-bar {
    height: 38px;
    background: #f7f9fb;
    border-bottom: 1px solid var(--srms-gray-200);
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 14px;
}

.browser-bar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--srms-gray-300);
}

.preview-dashboard {
    display: grid;
    grid-template-columns: 130px 1fr;
    min-height: 320px;
}

.preview-dashboard aside {
    background: #f8fbff;
    border-right: 1px solid var(--srms-gray-200);
    padding: 18px;
    display: grid;
    gap: 14px;
    align-content: start;
    color: var(--srms-gray-600);
    font-size: 13px;
    font-weight: 700;
}

.preview-dashboard section {
    padding: 18px;
}

.preview-topline {
    height: 34px;
    background: var(--srms-gray-100);
    border-radius: 8px;
    margin-bottom: 16px;
}

.preview-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}

.preview-metrics div,
.login-preview div {
    border: 1px solid var(--srms-gray-200);
    border-radius: 8px;
    padding: 12px;
    background: #fff;
}

.preview-metrics strong {
    display: block;
    color: var(--srms-blue-900);
    font-size: 24px;
}

.preview-metrics span,
.login-preview span {
    color: var(--srms-gray-500);
    font-size: 12px;
}

.preview-roster {
    display: grid;
    gap: 10px;
}

.preview-roster span {
    border-left: 4px solid var(--c);
    background: #f8fbff;
    padding: 10px 12px;
    border-radius: 7px;
    font-weight: 800;
}

.mobile-preview {
    position: absolute;
    right: 10px;
    bottom: 0;
    width: 190px;
    background: #fff;
    border: 1px solid var(--srms-gray-200);
    border-radius: 22px;
    box-shadow: var(--shadow-md);
    padding: 20px 14px;
    display: grid;
    gap: 10px;
}

.mobile-preview span {
    background: var(--srms-gray-100);
    border-radius: 7px;
    padding: 8px;
    font-size: 12px;
    color: var(--srms-gray-600);
}

.public-section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 64px 22px;
}

.public-section h2 {
    color: var(--srms-blue-900);
    font-size: clamp(30px, 4vw, 44px);
    margin: 10px 0 22px;
}

.public-band {
    max-width: none;
    background: #f7f9fb;
}

.public-band > * {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

.feature-grid,
.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.solution-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-grid article,
.solution-grid article {
    background: #fff;
    border: 1px solid var(--srms-gray-200);
    border-radius: 8px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.feature-grid strong,
.solution-grid strong {
    color: var(--srms-blue-900);
    font-size: 16px;
}

.feature-grid p,
.solution-grid p {
    color: var(--srms-gray-600);
}

.principle-section {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(320px, .55fr);
    gap: 40px;
    align-items: center;
}

.principle-list {
    display: grid;
    gap: 12px;
}

.principle-list span {
    background: var(--srms-blue-100);
    color: var(--srms-blue-900);
    border-radius: 8px;
    padding: 14px;
    font-weight: 800;
}

.public-footer {
    border-top: 1px solid var(--srms-gray-200);
    background: #fbfcfd;
    padding: 34px 22px;
    display: grid;
    gap: 18px;
}

.public-footer > * {
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
}

.public-flash {
    max-width: 1180px;
    margin: 16px auto 0;
}

.contact-page {
    min-height: 70vh;
}

.contact-form {
    max-width: 900px;
}

.login-shell-body {
    display: block;
    padding: 0;
    background: #f7f9fb;
}

.login-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(420px, .7fr);
}

.login-brand-panel {
    padding: 48px clamp(28px, 6vw, 74px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 34px;
    background: linear-gradient(180deg, #ffffff 0%, #eef6ff 100%);
}

.login-brand-panel h1 {
    color: var(--srms-blue-900);
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.05;
}

.login-brand-panel p {
    color: var(--srms-gray-600);
    font-size: 18px;
    max-width: 650px;
}

.login-preview {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: 650px;
}

.login-preview strong {
    display: block;
    color: var(--srms-blue-900);
}

.login-form-panel {
    display: grid;
    place-items: center;
    padding: 32px;
}

.login-card {
    width: min(430px, 100%);
    background: #fff;
    border: 1px solid var(--srms-gray-200);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    padding: 28px;
}

.login-card h2 {
    margin: 0 0 6px;
    color: var(--srms-blue-900);
    font-size: 30px;
}

.remember-row {
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.remember-row input {
    width: auto;
    min-height: auto;
}

@media (max-width: 980px) {
    .public-nav {
        align-items: flex-start;
        flex-direction: column;
        padding: 16px 18px;
    }

    .hero-section,
    .principle-section,
    .login-shell {
        grid-template-columns: 1fr;
    }

    .product-preview {
        min-height: 0;
    }

    .mobile-preview {
        position: static;
        margin: 14px auto 0;
    }

    .feature-grid,
    .solution-grid,
    .preview-metrics,
    .login-preview {
        grid-template-columns: 1fr;
    }

    .login-brand-panel {
        padding: 30px 22px;
    }
}

.public-body,
.login-shell-body {
    --public-navy: #071f47;
    --public-blue: #0a3d91;
    --public-blue-2: #2563eb;
    --public-green: #10b981;
    --public-amber: #f59e0b;
    --public-ink: #172937;
    --public-muted: #516176;
    --public-border: #dbe6f5;
    --public-soft: #f3f7fc;
    --public-shadow: 0 18px 48px rgba(10, 61, 145, .12);
    color: var(--public-navy);
    background: #ffffff;
}

.public-body .btn,
.login-shell-body .btn {
    min-height: 44px;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 800;
}

.public-body .btn-primary,
.login-shell-body .btn-primary {
    background: linear-gradient(180deg, var(--public-blue-2), var(--public-blue));
    border-color: var(--public-blue);
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(10, 61, 145, .2);
}

.public-body .btn-primary:hover,
.login-shell-body .btn-primary:hover {
    background: linear-gradient(180deg, #164fb2, #082f73);
    color: #ffffff;
}

.public-body .btn-secondary,
.login-shell-body .btn-secondary {
    border-color: #b8cceb;
    color: var(--public-blue);
    background: #ffffff;
}

.public-header {
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--public-border);
}

.public-nav {
    max-width: 1280px;
    min-height: 88px;
    padding: 0 32px;
}

.public-brand {
    gap: 12px;
    color: var(--public-navy);
    min-width: max-content;
}

.public-brand .brand-mark,
.login-brand-panel .brand-mark {
    width: 48px;
    height: 54px;
    border-radius: 9px 9px 15px 15px;
    background: linear-gradient(145deg, var(--public-blue-2), var(--public-blue));
    clip-path: polygon(50% 0, 94% 15%, 90% 70%, 50% 100%, 10% 70%, 6% 15%);
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    box-shadow: 0 10px 20px rgba(10, 61, 145, .18);
}

.brand-copy strong,
.public-brand strong {
    color: var(--public-navy);
    font-size: 24px;
    line-height: 1;
    letter-spacing: 0;
}

.brand-copy small,
.public-brand small {
    color: var(--public-muted);
    font-size: 12px;
    line-height: 1.2;
}

.public-links {
    gap: 32px;
}

.public-links a {
    color: var(--public-navy);
    font-size: 14px;
    font-weight: 700;
}

.public-links a:hover {
    color: var(--public-blue);
}

.public-links a:nth-child(1)::after,
.public-links a:nth-child(2)::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-left: 7px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
}

.public-actions {
    gap: 12px;
}

.public-hero {
    max-width: 1280px;
    min-height: 560px;
    grid-template-columns: minmax(420px, .86fr) minmax(560px, 1.14fr);
    gap: 56px;
    padding: 66px 32px 58px;
    border-bottom: 1px solid var(--public-border);
}

.eyebrow {
    color: var(--public-blue);
    font-size: 13px;
    letter-spacing: .08em;
}

.hero-copy h1 {
    color: var(--public-navy);
    font-size: 56px;
    line-height: 1.1;
    margin: 18px 0 22px;
    letter-spacing: 0;
}

.hero-copy p,
.wide-copy,
.section-intro,
.public-subhero p,
.split-section p,
.mission-cta p,
.cta-panel p {
    color: var(--public-muted);
    font-size: 18px;
    line-height: 1.65;
}

.hero-copy p {
    max-width: 570px;
}

.hero-copy .actions {
    margin-top: 28px;
    gap: 16px;
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    color: var(--public-muted);
    font-size: 14px;
    font-weight: 600;
}

.trust-icon {
    position: relative;
    width: 18px;
    height: 20px;
    display: inline-block;
    background: var(--public-blue-2);
    clip-path: polygon(50% 0, 92% 16%, 88% 68%, 50% 100%, 12% 68%, 8% 16%);
}

.trust-icon::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 5px;
    width: 5px;
    height: 8px;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(45deg);
}

.product-preview {
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.laptop-frame {
    position: relative;
    width: min(680px, 100%);
    border: 8px solid #111827;
    border-bottom-width: 0;
    border-radius: 18px 18px 8px 8px;
    background: #111827;
    box-shadow: 0 28px 54px rgba(17, 24, 39, .24);
}

.laptop-camera {
    position: absolute;
    top: -1px;
    left: 50%;
    width: 130px;
    height: 18px;
    border-radius: 0 0 13px 13px;
    background: #111827;
    transform: translateX(-50%);
    z-index: 2;
}

.laptop-base {
    position: absolute;
    left: 50%;
    bottom: -21px;
    width: 86%;
    height: 21px;
    border-radius: 0 0 28px 28px;
    background: linear-gradient(180deg, #d5d8de, #747b86);
    transform: translateX(-50%);
}

.laptop-base::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: 25%;
    height: 6px;
    border-radius: 0 0 12px 12px;
    background: #a7adb7;
    transform: translateX(-50%);
}

.preview-dashboard {
    min-height: 358px;
    grid-template-columns: 124px 1fr;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    background: #ffffff;
}

.preview-dashboard aside {
    padding: 22px 16px;
    gap: 16px;
    background: linear-gradient(180deg, #063b81, #052653);
    border-right: 0;
    color: #dbeafe;
    font-size: 12px;
}

.preview-dashboard aside b {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 6px;
}

.preview-dashboard aside span {
    color: #dbeafe;
}

.preview-dashboard section {
    padding: 22px;
    background: #f7faff;
}

.preview-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.preview-toolbar strong {
    color: var(--public-ink);
}

.preview-toolbar span {
    width: 104px;
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, #b7c9e8, #eef4fd);
}

.preview-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.preview-metrics div,
.login-preview div {
    min-height: 70px;
    border: 1px solid #e5edf8;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: 0 8px 16px rgba(10, 61, 145, .05);
}

.preview-metrics strong {
    color: var(--public-blue);
    font-size: 14px;
}

.preview-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(150px, .8fr);
    gap: 12px;
}

.preview-table,
.preview-list {
    padding: 14px;
    border: 1px solid #e5edf8;
    border-radius: 7px;
    background: #ffffff;
}

.preview-table strong,
.preview-list strong {
    display: block;
    margin-bottom: 10px;
    color: var(--public-ink);
    font-size: 12px;
}

.preview-table span {
    display: grid;
    grid-template-columns: 1fr .82fr .82fr;
    gap: 8px;
    padding: 7px 0;
    border-top: 1px solid #eef3fa;
    color: var(--public-muted);
    font-size: 11px;
    font-style: normal;
}

.preview-table b,
.preview-table em,
.preview-table i {
    font-style: normal;
    font-weight: 600;
}

.preview-list span {
    display: block;
    padding: 10px 0;
    border-top: 1px solid #eef3fa;
    color: var(--public-muted);
    font-size: 12px;
}

.mobile-preview {
    top: 145px;
    right: -8px;
    bottom: auto;
    width: 172px;
    min-height: 276px;
    padding: 26px 14px 16px;
    border: 7px solid #111827;
    border-radius: 28px;
    background: linear-gradient(180deg, #0a3d91 0, #0a3d91 45%, #ffffff 45%, #ffffff 100%);
    color: #ffffff;
    box-shadow: 0 22px 38px rgba(17, 24, 39, .26);
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    width: 72px;
    height: 15px;
    border-radius: 0 0 12px 12px;
    background: #111827;
    transform: translateX(-50%);
}

.mobile-preview strong,
.mobile-preview b {
    display: block;
    color: #ffffff;
}

.mobile-preview b {
    margin: 4px 0;
    font-size: 15px;
}

.mobile-preview span {
    background: transparent;
    padding: 0;
    color: #dbeafe;
    font-size: 11px;
}

.mobile-preview small {
    display: block;
    margin-top: 9px;
    padding: 8px;
    border: 1px solid #e5edf8;
    border-radius: 6px;
    color: var(--public-ink);
    background: #ffffff;
    font-size: 11px;
    font-weight: 700;
}

.public-section {
    max-width: 1280px;
    padding: 58px 32px;
}

.public-section h2,
.mission-cta h2,
.cta-panel h2,
.public-subhero h1,
.public-page h1 {
    color: var(--public-navy);
    letter-spacing: 0;
}

.public-section h2,
.mission-cta h2,
.cta-panel h2 {
    font-size: 30px;
    line-height: 1.2;
}

.feature-strip {
    text-align: center;
}

.section-intro {
    max-width: 700px;
    margin: -8px auto 36px;
    font-size: 16px;
}

.public-body .feature-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 28px;
}

.feature-strip .feature-grid article {
    padding: 6px 10px;
    border: 0;
    background: transparent;
    box-shadow: none;
    text-align: center;
}

.feature-grid strong,
.solution-grid strong {
    display: block;
    color: var(--public-navy);
    font-size: 16px;
    line-height: 1.3;
}

.feature-grid p,
.solution-grid p {
    color: var(--public-muted);
    font-size: 14px;
    line-height: 1.65;
}

.feature-icon {
    position: relative;
    display: block;
    width: 48px;
    height: 48px;
    margin: 0 auto 18px;
    color: var(--public-blue);
}

.calendar-icon::before {
    content: "";
    position: absolute;
    inset: 7px 5px 5px;
    border: 5px solid currentColor;
    border-radius: 5px;
}

.calendar-icon::after {
    content: "";
    position: absolute;
    left: 13px;
    top: 18px;
    width: 22px;
    height: 5px;
    background: currentColor;
    box-shadow: 0 11px 0 currentColor;
}

.people-icon::before {
    content: "";
    position: absolute;
    top: 6px;
    left: 16px;
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background: currentColor;
    box-shadow: -15px 9px 0 -4px currentColor, 15px 9px 0 -4px currentColor;
}

.people-icon::after {
    content: "";
    position: absolute;
    left: 5px;
    bottom: 7px;
    width: 38px;
    height: 18px;
    border-radius: 20px 20px 6px 6px;
    background: currentColor;
}

.request-icon::before {
    content: "";
    position: absolute;
    inset: 5px 8px 3px;
    border: 5px solid currentColor;
    border-radius: 5px;
}

.request-icon::after {
    content: "";
    position: absolute;
    left: 18px;
    top: 19px;
    width: 9px;
    height: 16px;
    border-right: 4px solid currentColor;
    border-bottom: 4px solid currentColor;
    transform: rotate(45deg);
}

.insight-icon::before {
    content: "";
    position: absolute;
    left: 7px;
    bottom: 9px;
    width: 34px;
    height: 30px;
    border-left: 5px solid currentColor;
    border-bottom: 5px solid currentColor;
}

.insight-icon::after {
    content: "";
    position: absolute;
    left: 18px;
    top: 16px;
    width: 26px;
    height: 16px;
    border-top: 5px solid currentColor;
    border-right: 5px solid currentColor;
    transform: skewY(-26deg);
}

.shield-icon::before {
    content: "";
    position: absolute;
    inset: 4px 8px;
    background: currentColor;
    clip-path: polygon(50% 0, 92% 15%, 86% 68%, 50% 100%, 14% 68%, 8% 15%);
}

.shield-icon::after {
    content: "";
    position: absolute;
    left: 21px;
    top: 19px;
    width: 7px;
    height: 12px;
    border: 2px solid #ffffff;
    border-radius: 2px;
}

.mobile-icon::before {
    content: "";
    position: absolute;
    inset: 3px 12px;
    border: 5px solid currentColor;
    border-radius: 6px;
}

.mobile-icon::after {
    content: "";
    position: absolute;
    left: 22px;
    bottom: 9px;
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: currentColor;
}

.mission-section {
    max-width: 1130px;
    margin: 22px auto 0;
    padding: 22px 32px 66px;
    display: grid;
    grid-template-columns: 1.14fr 1fr .92fr;
    align-items: stretch;
    gap: 0;
}

.mission-visual,
.mission-card,
.mission-cta {
    min-height: 244px;
}

.mission-visual {
    position: relative;
    overflow: hidden;
    border-radius: 8px 0 0 8px;
    background: linear-gradient(135deg, #061a3b, #0a3d91 62%, #071f47);
}

.mission-visual::before,
.mission-visual::after {
    content: "";
    position: absolute;
    top: 40px;
    width: 140px;
    height: 14px;
    border-radius: 999px;
}

.mission-visual::before {
    left: 48px;
    background: #2563eb;
    box-shadow: 170px 74px 0 rgba(37, 99, 235, .85);
}

.mission-visual::after {
    right: 54px;
    background: #ef4444;
    box-shadow: -185px 96px 0 rgba(239, 68, 68, .78);
}

.mission-visual div {
    position: absolute;
    left: 50px;
    right: 48px;
    bottom: 54px;
    height: 78px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .86);
}

.mission-visual div::before,
.mission-visual div::after {
    content: "";
    position: absolute;
    bottom: -18px;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: #111827;
    box-shadow: inset 0 0 0 7px #4b5563;
}

.mission-visual div::before {
    left: 34px;
}

.mission-visual div::after {
    right: 34px;
}

.mission-visual span {
    position: absolute;
    left: 84px;
    bottom: 96px;
    width: 78px;
    height: 16px;
    border-radius: 4px;
    background: rgba(10, 61, 145, .25);
}

.mission-visual span:last-child {
    left: auto;
    right: 92px;
    width: 108px;
}

.mission-card,
.mission-cta {
    border: 1px solid var(--public-border);
    background: #ffffff;
    padding: 34px;
}

.mission-card {
    border-left: 0;
    border-right: 0;
}

.quote-mark {
    display: block;
    color: var(--public-blue-2);
    font-size: 44px;
    line-height: .8;
}

.mission-card p {
    margin: 8px 0 24px;
    color: var(--public-navy);
    font-size: 18px;
    font-style: italic;
    line-height: 1.7;
}

.mission-card strong,
.mission-card small {
    display: block;
}

.mission-card small {
    color: var(--public-muted);
}

.mission-cta {
    border-radius: 0 8px 8px 0;
    background: linear-gradient(135deg, #f8fbff, #eef5ff);
}

.mission-cta h2 {
    margin-top: 0;
}

.solutions-preview {
    padding-top: 42px;
}

.public-body .solution-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.solution-grid article {
    position: relative;
    min-height: 176px;
    padding: 26px 24px;
    border: 1px solid var(--public-border);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(10, 61, 145, .06);
}

.solution-grid article a {
    display: inline-flex;
    margin-top: 6px;
    color: var(--public-blue);
    font-size: 13px;
    font-weight: 800;
}

.solution-grid article a::after {
    content: "";
    width: 7px;
    height: 7px;
    margin: 5px 0 0 8px;
    border-right: 2px solid currentColor;
    border-top: 2px solid currentColor;
    transform: rotate(45deg);
}

.solution-icon {
    position: relative;
    display: block;
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
}

.police-icon,
.security-icon {
    background: var(--public-blue);
    clip-path: polygon(50% 0, 92% 15%, 86% 68%, 50% 100%, 14% 68%, 8% 15%);
}

.police-icon::after,
.security-icon::after {
    content: "";
    position: absolute;
    left: 15px;
    top: 12px;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: #ffffff;
}

.fire-icon::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 3px;
    width: 24px;
    height: 34px;
    border-radius: 22px 22px 22px 4px;
    background: linear-gradient(180deg, #ef4444, var(--public-amber));
    transform: rotate(42deg);
}

.ems-icon::before,
.ems-icon::after {
    content: "";
    position: absolute;
    background: var(--public-blue-2);
    border-radius: 3px;
}

.ems-icon::before {
    left: 17px;
    top: 4px;
    width: 9px;
    height: 34px;
}

.ems-icon::after {
    left: 4px;
    top: 17px;
    width: 34px;
    height: 9px;
}

.security-icon {
    background: #30425f;
}

.public-cta-band {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, .55fr);
    gap: 32px;
    align-items: center;
    margin-top: 28px;
    padding: 38px max(24px, calc((100vw - 1240px) / 2 + 32px));
    background: linear-gradient(135deg, #052a5b, #063f83);
    color: #ffffff;
}

.truth-bar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.truth-bar span,
.footer-columns div,
.about-principles {
    display: grid;
    gap: 9px;
}

.truth-bar strong {
    color: #ffffff;
    font-size: 22px;
    line-height: 1.2;
}

.truth-bar small,
.cta-panel p {
    color: #dceaff;
}

.cta-panel {
    padding-left: 28px;
    border-left: 1px solid rgba(255, 255, 255, .22);
}

.cta-panel h2 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 22px;
}

.public-footer {
    display: block;
    padding: 0;
    border-top: 1px solid var(--public-border);
    background: #ffffff;
}

.public-footer > * {
    max-width: none;
}

.footer-shell,
.footer-bottom {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 30px 32px;
}

.footer-shell {
    display: grid;
    grid-template-columns: minmax(260px, .8fr) minmax(420px, 1.2fr);
    gap: 58px;
}

.footer-brand p {
    max-width: 310px;
    color: var(--public-muted);
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
}

.footer-columns strong {
    color: var(--public-navy);
}

.footer-columns a,
.footer-bottom {
    color: var(--public-muted);
    font-size: 13px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid var(--public-border);
}

.public-subhero,
.public-page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 78px 32px 44px;
}

.public-subhero {
    border-bottom: 1px solid var(--public-border);
    background: linear-gradient(180deg, #ffffff, #f7fbff);
}

.public-subhero h1,
.public-page h1 {
    max-width: 820px;
    margin: 16px 0 14px;
    font-size: 52px;
    line-height: 1.12;
}

.public-subhero p {
    max-width: 760px;
}

.feature-grid.feature-grid-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-grid.feature-grid-cards article {
    padding: 26px;
    border: 1px solid var(--public-border);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(10, 61, 145, .06);
    text-align: left;
}

.feature-grid.feature-grid-cards .feature-icon {
    margin-left: 0;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(320px, .55fr);
    gap: 48px;
    align-items: center;
}

.split-section h2 {
    max-width: 640px;
}

.split-section p {
    max-width: 720px;
}

.split-section .btn {
    margin-top: 16px;
}

.principle-list span {
    border: 1px solid #cfe1f7;
    background: #f2f7fe;
    color: var(--public-navy);
}

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

.solution-grid-large article {
    min-height: 230px;
}

.compact-cta {
    grid-template-columns: minmax(0, 1fr) auto;
}

.compact-cta h2 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 30px;
}

.public-card {
    border: 1px solid var(--public-border);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--public-shadow);
}

.public-page-header {
    margin-bottom: 24px;
}

.public-page-header p {
    max-width: 680px;
    color: var(--public-muted);
    font-size: 18px;
}

.contact-form {
    max-width: 900px;
    padding: 28px;
}

.form-spacer,
.form-actions {
    margin-top: 18px;
}

.public-body input,
.public-body select,
.public-body textarea,
.login-shell-body input {
    border-color: #bfd0ea;
    border-radius: 6px;
    min-height: 44px;
    background: #ffffff;
}

.public-body input:focus,
.public-body select:focus,
.public-body textarea:focus,
.login-shell-body input:focus {
    outline: 3px solid rgba(37, 99, 235, .16);
    border-color: var(--public-blue-2);
}

.legal-page {
    min-height: 60vh;
}

.page-actions-public {
    margin-top: 22px;
}

.about-principles {
    padding: 28px;
}

.about-principles strong {
    color: var(--public-navy);
    font-size: 20px;
}

.about-principles span {
    padding-top: 10px;
    border-top: 1px solid var(--public-border);
    color: var(--public-muted);
}

.about-mission {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
    padding-top: 24px;
}

.about-mission .mission-card {
    border-left: 1px solid var(--public-border);
    border-radius: 8px 0 0 8px;
}

.login-shell-body {
    background: #f4f8fd;
}

.login-shell {
    grid-template-columns: minmax(0, 1.05fr) minmax(430px, .65fr);
    background: #ffffff;
}

.login-brand-panel {
    position: relative;
    overflow: hidden;
    padding: 50px max(32px, 7vw);
    background: linear-gradient(180deg, #ffffff, #eff6ff);
    border-right: 1px solid var(--public-border);
}

.login-brand-panel h1 {
    color: var(--public-navy);
    font-size: 48px;
    line-height: 1.1;
}

.login-brand-panel p {
    color: var(--public-muted);
    line-height: 1.65;
}

.login-preview {
    gap: 14px;
}

.login-preview div {
    padding: 16px;
}

.login-preview strong {
    color: var(--public-blue);
}

.login-form-panel {
    background: #f7fbff;
}

.login-card,
.login-shell-body .auth-card {
    border: 1px solid var(--public-border);
    border-radius: 8px;
    box-shadow: var(--public-shadow);
}

.login-card {
    padding: 34px;
}

.login-card h2 {
    color: var(--public-navy);
}

.login-actions,
.login-help {
    margin-top: 18px;
}

.login-shell-body .auth-card {
    margin: 64px auto;
    background: #ffffff;
}

@media (max-width: 1180px) {
    .public-hero {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .hero-copy h1 {
        max-width: 780px;
        font-size: 50px;
    }

    .product-preview {
        justify-content: center;
    }

    .mobile-preview {
        right: 34px;
    }

    .public-body .feature-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .mission-section {
        grid-template-columns: 1fr 1fr;
    }

    .mission-visual {
        grid-column: 1 / -1;
        border-radius: 8px 8px 0 0;
    }

    .mission-card {
        border-left: 1px solid var(--public-border);
    }
}

@media (max-width: 900px) {
    .public-nav {
        align-items: stretch;
        min-height: 0;
        padding: 16px 20px;
    }

    .public-links {
        width: 100%;
        justify-content: space-between;
        gap: 14px;
    }

    .public-actions {
        width: 100%;
    }

    .public-actions .btn {
        flex: 1 1 160px;
    }

    .hero-copy h1,
    .public-subhero h1,
    .public-page h1 {
        font-size: 42px;
    }

    .public-body .feature-grid,
    .feature-grid.feature-grid-cards,
    .public-body .solution-grid,
    .solution-grid-large,
    .truth-bar,
    .footer-columns,
    .footer-shell,
    .split-section,
    .public-cta-band,
    .compact-cta,
    .about-mission,
    .login-shell {
        grid-template-columns: 1fr;
    }

    .mission-section {
        grid-template-columns: 1fr;
    }

    .mission-card,
    .mission-cta,
    .about-mission .mission-card {
        border: 1px solid var(--public-border);
        border-top: 0;
        border-radius: 0;
    }

    .mission-cta {
        border-radius: 0 0 8px 8px;
    }

    .cta-panel {
        padding-left: 0;
        border-left: 0;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .login-brand-panel {
        min-height: auto;
    }
}

@media (max-width: 680px) {
    .public-nav,
    .public-hero,
    .public-section,
    .public-subhero,
    .public-page,
    .footer-shell,
    .footer-bottom {
        padding-left: 20px;
        padding-right: 20px;
    }

    .public-brand .brand-mark,
    .login-brand-panel .brand-mark {
        width: 40px;
        height: 46px;
        font-size: 10px;
    }

    .brand-copy strong,
    .public-brand strong {
        font-size: 20px;
    }

    .public-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-copy h1,
    .public-subhero h1,
    .public-page h1,
    .login-brand-panel h1 {
        font-size: 34px;
    }

    .hero-copy p,
    .wide-copy,
    .public-subhero p,
    .public-page-header p,
    .split-section p,
    .mission-cta p,
    .cta-panel p {
        font-size: 16px;
    }

    .hero-copy .actions .btn {
        flex: 1 1 100%;
    }

    .product-preview {
        display: block;
    }

    .laptop-frame {
        border-width: 6px;
        border-bottom-width: 0;
    }

    .preview-dashboard {
        grid-template-columns: 88px 1fr;
        min-height: 320px;
    }

    .preview-dashboard aside {
        padding: 18px 10px;
        font-size: 10px;
    }

    .preview-dashboard section {
        padding: 14px;
    }

    .preview-metrics,
    .preview-workspace,
    .form-grid,
    .login-preview {
        grid-template-columns: 1fr;
    }

    .preview-table span {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .preview-list {
        display: none;
    }

    .mobile-preview {
        position: relative;
        top: auto;
        right: auto;
        width: min(244px, 100%);
        margin: 30px auto 0;
    }

    .public-body .feature-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .feature-strip .feature-grid article {
        max-width: 320px;
        margin: 0 auto;
    }

    .mission-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .mission-visual,
    .mission-card,
    .mission-cta {
        min-height: auto;
    }

    .mission-visual {
        min-height: 220px;
    }

    .contact-form,
    .login-card {
        padding: 22px;
    }

    .login-form-panel {
        padding: 20px;
    }
}

/* Reference image alignment pass for the SRMS public homepage. */
.public-body {
    --public-navy: #061b3d;
    --public-blue: #0a3d91;
    --public-blue-2: #2563eb;
    --public-border: #d7e2f0;
    --public-muted: #43546a;
}

.public-header {
    box-shadow: none;
}

.public-nav {
    max-width: 1210px;
    min-height: 88px;
    padding: 0 30px;
    gap: 28px;
}

.public-brand .brand-mark,
.login-brand-panel .brand-mark {
    width: 48px;
    height: 52px;
    font-size: 12px;
}

.brand-copy strong,
.public-brand strong {
    font-size: 24px;
    font-weight: 900;
}

.brand-copy small,
.public-brand small {
    font-size: 12px;
    color: #1f2f45;
}

.public-links {
    gap: 28px;
}

.public-links a {
    color: #071f47;
    font-size: 14px;
    font-weight: 700;
}

.public-links a:nth-child(3)::after,
.public-links a:nth-child(5)::after,
.public-links a:nth-child(6)::after {
    content: none;
}

.public-links a:nth-child(4)::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-left: 7px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
}

.public-body .btn {
    min-width: 116px;
    min-height: 42px;
    padding: 10px 22px;
    border-radius: 6px;
    font-size: 13px;
    box-shadow: none;
}

.public-actions .btn {
    min-width: 84px;
}

.public-actions .btn-primary {
    min-width: 120px;
}

.public-hero {
    max-width: 1210px;
    min-height: 462px;
    grid-template-columns: minmax(450px, 470px) minmax(0, 1fr);
    gap: 12px;
    align-items: flex-start;
    padding: 51px 68px 44px;
    border-bottom: 1px solid var(--public-border);
}

.public-hero .eyebrow {
    font-size: 12px;
    letter-spacing: .1em;
}

.hero-copy h1 {
    max-width: 515px;
    font-size: 40px;
    line-height: 1.12;
    margin: 18px 0 22px;
}

.hero-copy {
    padding-top: 19px;
}

.hero-copy h1 span {
    display: block;
    white-space: nowrap;
}

.hero-copy p {
    max-width: 500px;
    font-size: 17px;
    line-height: 1.62;
}

.hero-copy .actions {
    margin-top: 30px;
    gap: 16px;
}

.hero-note {
    margin-top: 30px;
    font-size: 14px;
}

.product-preview {
    min-height: 0;
    justify-content: flex-end;
    align-items: center;
}

.product-preview > img {
    display: block;
    width: min(634px, 100%);
    height: auto;
}

.feature-strip {
    max-width: 1210px;
    padding: 31px 68px 41px;
}

.feature-strip h2 {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.2;
}

.section-intro {
    margin: 0 auto 33px;
    font-size: 14px;
    line-height: 1.6;
}

.public-body .feature-strip .feature-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 26px;
}

.feature-strip .feature-grid article {
    max-width: 150px;
    margin: 0 auto;
    padding: 0;
}

.feature-icon,
.feature-icon-img {
    width: 48px;
    height: 48px;
    margin-bottom: 17px;
}

.feature-icon-img {
    display: block;
    object-fit: contain;
    margin-left: auto;
    margin-right: auto;
}

.feature-grid strong {
    min-height: 38px;
    font-size: 14px;
}

.feature-grid p {
    margin-top: 7px;
    font-size: 13px;
    line-height: 1.6;
}

.mission-section {
    max-width: 1074px;
    margin: 0 auto;
    padding: 0 0 24px;
    grid-template-columns: 378px minmax(0, 338px) minmax(0, 332px);
    align-items: stretch;
    gap: 0;
}

.mission-media,
.mission-card,
.mission-cta {
    height: 232px;
    min-height: 0;
}

.mission-media {
    overflow: hidden;
    border-radius: 8px 0 0 8px;
    background: #071f47;
}

.mission-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mission-card,
.mission-cta {
    overflow: hidden;
    padding: 24px 28px;
    border: 1px solid var(--public-border);
    background: #ffffff;
}

.mission-card {
    border-left: 0;
    border-right: 0;
}

.mission-card p {
    margin: 0 0 16px;
    font-size: 15px;
    line-height: 1.48;
}

.quote-mark {
    display: inline;
    font-size: 23px;
    line-height: 1;
}

.mission-cta {
    border-radius: 0 8px 8px 0;
    background: linear-gradient(135deg, #fbfdff, #eef5ff);
}

.mission-cta h2 {
    margin: 0 0 12px;
    font-size: 24px;
    line-height: 1.12;
}

.mission-cta p {
    margin-bottom: 14px;
    font-size: 14px;
    line-height: 1.4;
}

.mission-cta .btn {
    min-height: 38px;
    margin-top: 0;
    padding: 8px 18px;
    font-size: 13px;
}

.solutions-preview {
    max-width: 1210px;
    padding: 34px 68px 50px;
}

.solutions-preview > .eyebrow,
.solutions-preview > h2 {
    text-align: center;
}

.solutions-preview > h2 {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    font-size: 28px;
}

.public-body .solutions-preview .solution-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.solution-grid article {
    min-height: 166px;
    padding: 24px 22px;
}

.solution-icon,
.solution-icon-img {
    width: 40px;
    height: 40px;
    margin-bottom: 14px;
}

.solution-icon-img {
    display: block;
    object-fit: contain;
}

.public-cta-band {
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, .55fr);
    gap: 34px;
    margin-top: 0;
    padding: 32px max(68px, calc((100vw - 1210px) / 2 + 68px));
    background: linear-gradient(135deg, #052f68, #063f83 60%, #05285b);
}

.truth-bar {
    gap: 32px;
}

.truth-bar strong {
    font-size: 24px;
}

.truth-bar small {
    font-size: 13px;
}

.footer-shell,
.footer-bottom {
    max-width: 1210px;
    padding-left: 68px;
    padding-right: 68px;
}

@media (max-width: 1120px) {
    .public-hero {
        grid-template-columns: 1fr;
    }

    .hero-copy h1,
    .hero-copy p {
        max-width: 700px;
    }

    .product-preview {
        justify-content: center;
    }

    .mission-section {
        padding-left: 32px;
        padding-right: 32px;
        grid-template-columns: 1fr 1fr;
    }

    .mission-media {
        grid-column: 1 / -1;
        height: 252px;
        border-radius: 8px 8px 0 0;
    }

    .mission-card {
        border-left: 1px solid var(--public-border);
    }
}

@media (max-width: 900px) {
    .public-nav {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        min-height: 74px;
        padding: 14px 18px;
        gap: 14px;
    }

    .public-links {
        display: none;
    }

    .public-nav::after {
        content: "";
        width: 22px;
        height: 14px;
        margin-left: auto;
        border-top: 2px solid var(--public-blue);
        border-bottom: 2px solid var(--public-blue);
        box-shadow: 0 6px 0 var(--public-blue);
        align-self: center;
        order: 4;
    }

    .public-actions {
        width: auto;
        margin-left: auto;
    }

    .public-actions .btn-primary {
        display: none;
    }

    .public-actions .btn-secondary {
        min-width: 68px;
        min-height: 34px;
        padding: 7px 14px;
    }

    .public-hero,
    .feature-strip,
    .solutions-preview,
    .footer-shell,
    .footer-bottom {
        padding-left: 26px;
        padding-right: 26px;
    }

    .public-hero {
        padding-top: 42px;
        gap: 28px;
    }

    .hero-copy h1 {
        font-size: 34px;
        line-height: 1.18;
    }

    .hero-copy p {
        font-size: 16px;
    }

    .public-body .feature-strip .feature-grid,
    .public-body .solutions-preview .solution-grid,
    .mission-section,
    .public-cta-band {
        grid-template-columns: 1fr;
    }

    .mission-section {
        padding-left: 26px;
        padding-right: 26px;
        grid-auto-rows: auto;
    }

    .mission-media,
    .mission-card,
    .mission-cta {
        height: auto;
        min-height: 0;
    }

    .mission-media img {
        height: auto;
        aspect-ratio: 378 / 232;
    }

    .mission-card {
        border: 1px solid var(--public-border);
        border-top: 0;
        border-radius: 0;
    }

    .mission-cta {
        border-top: 0;
        border-radius: 0 0 8px 8px;
    }
}

@media (max-width: 560px) {
    .public-brand .brand-mark {
        width: 32px;
        height: 36px;
        font-size: 9px;
    }

    .brand-copy strong,
    .public-brand strong {
        font-size: 21px;
    }

    .brand-copy small,
    .public-brand small {
        font-size: 11px;
    }

    .public-hero {
        padding-top: 40px;
        padding-bottom: 34px;
    }

    .hero-copy h1 {
        font-size: 27px;
    }

    .hero-copy .actions .btn {
        flex: 1 1 100%;
    }

    .product-preview > img {
        width: 100%;
    }

    .feature-strip h2 {
        font-size: 22px;
    }

    .feature-strip .feature-grid article {
        max-width: 250px;
    }

    .mission-card,
    .mission-cta {
        padding: 26px;
    }

    .truth-bar {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

/* Daily Roster operational workspace */
.grid.cols-6 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.embedded-card {
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.settings-section {
    margin-top: 28px;
}

.resource-list {
    display: grid;
    gap: 12px;
    padding: 16px;
}

.resource-editor {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--srms-gray-200);
    border-radius: 8px;
    background: #fbfcfd;
}

.resource-editor textarea {
    min-height: 70px;
}

.roster-hero {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 18px;
    padding: 24px;
    border: 1px solid var(--srms-gray-200);
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    box-shadow: var(--shadow-sm);
}

.roster-hero h1 {
    margin: 6px 0 10px;
    color: var(--srms-blue-900);
    font-size: 34px;
    line-height: 1.1;
}

.roster-hero-meta,
.roster-status-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    color: var(--srms-gray-600);
}

.roster-status-panel {
    max-width: 300px;
    justify-content: flex-end;
    text-align: right;
}

.roster-status-panel small {
    width: 100%;
    color: var(--srms-gray-500);
}

.roster-controls {
    display: grid;
    gap: 16px;
    margin-bottom: 16px;
}

.roster-picker {
    align-items: end;
}

.roster-picker-action {
    justify-content: end;
}

.roster-summary {
    margin-bottom: 16px;
}

.roster-summary .card {
    padding: 14px;
}

.roster-issues ul {
    margin: 8px 0 0;
    padding-left: 20px;
}

.roster-table-wrap {
    overflow-x: auto;
}

.roster-table {
    min-width: 1160px;
}

.roster-table th,
.roster-table td {
    padding: 10px;
}

.roster-table select,
.roster-table input {
    min-width: 142px;
}

.roster-table td:first-child input {
    min-width: 0;
    width: auto;
}

.muted-row {
    opacity: .62;
}

.roster-mobile-list {
    display: none;
}

.roster-tools {
    margin-top: 18px;
}

.srms-dialog {
    width: min(560px, calc(100% - 32px));
    border: 1px solid var(--srms-gray-200);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    padding: 0;
}

.srms-dialog::backdrop {
    background: rgba(17, 24, 39, .45);
}

.srms-dialog form {
    padding: 22px;
}

.srms-dialog h2 {
    margin: 0 0 10px;
    color: var(--srms-blue-900);
}

@media (max-width: 980px) {
    .grid.cols-6 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .roster-hero,
    .roster-status-panel {
        display: grid;
        justify-content: stretch;
        text-align: left;
    }

    .roster-hero h1 {
        font-size: 30px;
    }

    .roster-controls .actions,
    .page-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .roster-controls .btn,
    .page-actions .btn {
        width: 100%;
    }

    .grid.cols-6 {
        grid-template-columns: 1fr;
    }

    .roster-table-wrap {
        overflow: visible;
    }

    .roster-table {
        min-width: 0;
        border-collapse: separate;
        border-spacing: 0 12px;
    }

    .roster-table thead {
        display: none;
    }

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

    .roster-table tr {
        border: 1px solid var(--srms-gray-200);
        border-radius: 8px;
        background: #ffffff;
        box-shadow: var(--shadow-sm);
        padding: 12px;
    }

    .roster-table tr:hover td {
        background: transparent;
    }

    .roster-table td {
        border: 0;
        padding: 8px 0;
    }

    .roster-table td::before {
        content: "";
        display: block;
        margin-bottom: 5px;
        color: var(--srms-gray-500);
        font-size: 11px;
        font-weight: 900;
        letter-spacing: .04em;
        text-transform: uppercase;
    }

    .roster-table td:nth-child(1)::before { content: "Select"; }
    .roster-table td:nth-child(2)::before { content: "Personnel"; }
    .roster-table td:nth-child(3)::before { content: "Rank / Title"; }
    .roster-table td:nth-child(4)::before { content: "Scheduled Hours"; }
    .roster-table td:nth-child(5)::before { content: "Roster Status"; }
    .roster-table td:nth-child(6)::before { content: "Area / Post Assignment"; }
    .roster-table td:nth-child(7)::before { content: "Vehicle / Squad"; }
    .roster-table td:nth-child(8)::before { content: "Operational Notes"; }
    .roster-table td:nth-child(9)::before { content: "Readiness"; }

    .roster-table select,
    .roster-table input {
        min-width: 0;
        min-height: 44px;
    }
}

/* Daily Roster print document */
.print-body {
    margin: 0;
    padding: 24px;
    background: #e5e7eb;
    color: #000000;
    font-family: Arial, Helvetica, sans-serif;
}

.print-roster {
    display: grid;
    gap: 24px;
}

.print-page {
    width: 10.25in;
    min-height: 7.75in;
    margin: 0 auto;
    padding: .22in;
    background: #ffffff;
    color: #000000;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .15);
}

.print-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #000000;
}

.print-header h1 {
    margin: 0;
    font-size: 18px;
    line-height: 1.1;
    letter-spacing: 0;
}

.print-header h2 {
    margin: 3px 0 0;
    font-size: 13px;
    letter-spacing: 0;
}

.print-warning {
    border: 1px solid #000000;
    padding: 5px 8px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.print-meta-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px 12px;
    margin: 10px 0;
    font-size: 10.5px;
}

.print-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 10px;
}

.print-table th,
.print-table td {
    border: 1px solid #000000;
    padding: 4px 5px;
    color: #000000;
    vertical-align: top;
}

.print-table th {
    background: #ffffff;
    color: #000000;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

.print-table tr:hover td {
    background: #ffffff;
}

.print-table tr,
.print-table td,
.print-table th {
    break-inside: avoid;
    page-break-inside: avoid;
}

.print-table .blank-row td {
    height: 24px;
}

.print-footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
    margin-top: 10px;
    font-size: 10px;
}

.print-footer-grid h3 {
    margin: 0 0 5px;
    padding-bottom: 3px;
    border-bottom: 1px solid #000000;
    font-size: 11px;
}

.print-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3px 10px;
}

.print-footer-grid p {
    margin: 2px 0;
}

.print-page-footer {
    margin-top: 10px;
    padding-top: 5px;
    border-top: 1px solid #000000;
    text-align: center;
    font-size: 10px;
    font-weight: 800;
}

@page {
    size: letter landscape;
    margin: .35in;
}

@media print {
    body.print-body {
        padding: 0;
        background: #ffffff;
    }

    .print-roster {
        display: block;
    }

    .print-page {
        width: auto;
        min-height: auto;
        margin: 0;
        padding: 0;
        box-shadow: none;
        break-after: page;
        page-break-after: always;
    }

    .print-page:last-child {
        break-after: auto;
        page-break-after: auto;
    }
}
