html, body {
    font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: #f2f6fb;
    margin: 0;
    min-height: 100%;
    width: 100%;
}

* {
    box-sizing: border-box;
}

a, .btn-link {
    color: #006bb7;
}

.sidebar {
    background: linear-gradient(135deg, #002b5c 0%, #004080 50%, #0056a0 100%) !important;
    box-shadow: 2px 0 8px rgba(0,0,0,0.15);
    border-right: 1px solid #003366;
}

.navbar.navbar-dark {
    background: transparent !important;
}

.navbar-brand {
    color: white !important;
    font-size: 1.8rem;
    font-weight: 800;
}

.navbar-brand .logo-rep {
    color: #b2d7ff;
}

.navbar-brand .logo-ortable {
    color: #dee2e6;
}

.navbar.navbar-dark .nav-link {
    color: #e9efff !important;
    border-radius: 8px;
    margin: 4px 8px;
    padding: 12px 16px;
    transition: all 0.3s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar.navbar-dark .nav-link:hover {
    background: rgba(255,255,255,0.2) !important;
    color: #ffffff !important;
    transform: translateX(4px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.navbar.navbar-dark .nav-link.active {
    background: rgba(255,255,255,0.25) !important;
    color: #ffffff !important;
    border-left: 3px solid #b2d7ff;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
    padding-bottom: 6rem;
}

.top-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: sticky;
    top: 0;
    z-index: 1100;
    min-height: 60px;
    margin: 0.7rem 1rem 0;
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
    border: 1px solid #d7e2f6;
    border-radius: 18px;
    background: linear-gradient(135deg, #ffffff 0%, #f6f9ff 100%);
    box-shadow: 0 10px 24px rgba(16, 44, 110, 0.08);
}

.top-row-links,
.user-shell {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    width: 100%;
}

.top-row-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 42px;
    padding: 0.65rem 1rem;
    border-radius: 10px;
    color: #002b5c;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid transparent;
    transition: all 0.25s ease;
}

.top-row-links a:hover {
    background: #f2f6fb;
    border-color: #d7e2f6;
    color: #001f45;
}

.user-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.45rem 0.8rem;
    border-radius: 14px;
    background: #f2f6fb;
    border: 1px solid #d7e2f6;
}

.user-avatar {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, #002b5c 0%, #004080 55%, #0056a0 100%);
    color: #ffffff;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(0, 43, 92, 0.16);
}

.user-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.user-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    font-weight: 700;
}

.user-copy strong {
    color: #002b5c;
    font-size: 0.95rem;
}

.reportable-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 26, 58, 0.45);
    z-index: 1300;
}

.reportable-modal-shell {
    position: fixed;
    inset: 0;
    z-index: 1310;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.reportable-modal-card {
    width: min(90vw, 1600px);
    max-height: calc(100vh - 3rem);
    overflow: auto;
    background: #ffffff;
    border: 1px solid #d7e2f6;
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(0, 32, 84, 0.22);
}

.reportable-modal-header,
.reportable-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
}

.reportable-modal-header {
    border-bottom: 1px solid #e1eaf8;
}

.reportable-modal-body {
    padding: 1.25rem 1.5rem 1.5rem;
}

.reportable-modal-footer {
    border-top: 1px solid #e1eaf8;
    justify-content: flex-end;
}

.cookie-notice-shell {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 1400;
}

.cookie-notice-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.2rem;
    border-radius: 18px;
    border: 1px solid #d7e2f6;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(242, 246, 251, 0.98) 100%);
    box-shadow: 0 18px 42px rgba(0, 32, 84, 0.16);
}

.cookie-notice-copy {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: #24405f;
}

.cookie-notice-copy p {
    margin: 0;
}

.cookie-notice-kicker {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0056a0;
}

.cookie-notice-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.cookie-notice-links a {
    color: #002b5c;
    font-weight: 700;
    text-decoration: none;
}

.cookie-notice-links a:hover {
    color: #0056a0;
    text-decoration: underline;
}

.cookie-notice-action {
    flex: 0 0 auto;
    white-space: nowrap;
}

.legal-page-shell .landing-article-block h4 {
    color: #002b5c;
}

.legal-page-shell .landing-article-block p {
    color: #345070;
}

.reportable-instruction-list {
    margin: 0 0 1rem;
    padding-left: 1.25rem;
    color: #345070;
}

.reportable-instruction-list li + li {
    margin-top: 0.45rem;
}

.json-schema-visual-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.json-schema-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #d8e5f7;
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(0, 43, 92, 0.08);
    overflow: hidden;
}

.json-schema-card-header {
    padding: 1rem 1rem 0.75rem;
    border-bottom: 1px solid #e4edf9;
    background: linear-gradient(135deg, rgba(178, 215, 255, 0.28) 0%, rgba(255, 255, 255, 0.92) 100%);
}

.json-schema-card-header h6 {
    color: #002b5c;
    font-weight: 800;
}

.json-schema-card-kicker {
    display: inline-block;
    margin-bottom: 0.35rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #0056a0;
}

.json-schema-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 1rem;
}

.json-schema-column-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.7rem 0.8rem;
    border-radius: 14px;
    background: #f3f7fd;
    border: 1px solid #e0eaf8;
}

.json-schema-column-main {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.json-schema-column-main strong {
    color: #002b5c;
}

.json-schema-column-main span {
    color: #5b6f8f;
    font-size: 0.9rem;
    word-break: break-word;
}

.json-schema-column-tag {
    flex-shrink: 0;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #c9dcf5;
    color: #004080;
    font-size: 0.78rem;
    font-weight: 700;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.home-landing {
    max-width: 900px;
    margin: 2rem auto;
    text-align: center;
    padding: 2rem;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.home-logo h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.logo-rep {
    color: #b2d7ff;
    font-weight: 800;
}

.logo-ortable {
    color: #dee2e6;
    font-weight: 700;
}

.home-subtitle {
    color: #495057;
    margin-bottom: 1.5rem;
}

.home-content p,
.home-content ul {
    text-align: left;
    display: inline-block;
    max-width: 680px;
}

.home-content ul {
    list-style: disc;
    margin: 1rem 0 1.5rem 1.25rem;
}

.home-actions .btn {
    margin: 0.25rem;
    min-width: 140px;
    font-weight: 600;
}

.navbar-brand {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.navbar-brand .logo-rep,
.navbar-brand .logo-ortable {
    font-size: 1.6rem;
}

.btn-reportable {
    color: #fff;
    background-color: #002b5c;
    border-color: #001f45;
    min-width: 140px;
}

.btn-reportable:hover {
    background-color: #001f45;
    border-color: #001333;
}

.btn-reportable-outline {
    color: #002b5c;
    background-color: #ffffff;
    border: 2px solid #002b5c;
    min-width: 140px;
}

.btn-reportable-outline:hover {
    background-color: #f2f5fb;
}

.dashboard-filter-button {
    min-width: 160px;
    min-height: 44px;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(0, 43, 92, 0.1);
    color: #ffffff;
    background: linear-gradient(135deg, #002b5c 0%, #004080 55%, #0056a0 100%);
    border-color: #002b5c;
}

.dashboard-filter-button:hover,
.dashboard-filter-button:focus {
    color: #ffffff;
    background: linear-gradient(135deg, #001f45 0%, #003366 55%, #004b8a 100%);
    border-color: #001f45;
}

.landing-shell {
    max-width: 1240px;
    margin: 0 auto;
    padding: 1.25rem 1.25rem 3rem;
}

.landing-hero {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: linear-gradient(135deg, #002b5c 0%, #003a73 48%, #0056a0 100%);
    box-shadow: 0 26px 56px rgba(0, 43, 92, 0.2);
    margin-bottom: 1.1rem;
}

.landing-hero-surface {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(178, 215, 255, 0.28), transparent 34%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.16), transparent 22%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
}

.landing-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(320px, 1.05fr) minmax(320px, 0.95fr);
    gap: 2rem;
    padding: 2.25rem 2.35rem;
    align-items: center;
}

.landing-hero-grid-compact {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 1.65rem 2rem 1.75rem;
}

.landing-kicker,
.landing-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.9rem;
    padding: 0.42rem 0.78rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.landing-kicker {
    color: #002b5c;
    background: #b2d7ff;
}

.landing-brand-lockup h1 {
    margin: 0;
    font-size: clamp(3rem, 4.8vw, 4.8rem);
    line-height: 0.95;
}

.landing-title {
    margin: 1rem 0 0;
    color: #ffffff;
    font-size: clamp(1.2rem, 1.8vw, 2rem);
    line-height: 1.12;
    font-weight: 800;
    max-width: none;
    white-space: nowrap;
}

.landing-lead {
    margin: 1rem 0 0;
    max-width: 760px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.96rem;
    line-height: 1.58;
}

.landing-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.7rem;
}

.landing-price-card strong,
.landing-info-card h4,
.landing-process-card h4 {
    display: block;
    margin-bottom: 0.35rem;
}

.landing-section {
    margin-top: 1.6rem;
    padding-top: 0;
    border-top: 0;
}

.landing-section-surface {
    padding: 1.5rem;
    border-radius: 24px;
    border: 1px solid #dbe6f7;
    background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
    box-shadow: 0 14px 32px rgba(16, 44, 110, 0.07);
}

.landing-section-heading {
    margin-bottom: 1rem;
    max-width: 760px;
}

.landing-section-kicker {
    color: #0056a0;
    background: #dcecff;
}

.landing-section-heading h3,
.landing-panel-card h3 {
    margin: 0;
    color: #002b5c;
    font-size: clamp(1.7rem, 2vw, 2.2rem);
    line-height: 1.18;
}

.landing-section-summary {
    margin: 0.55rem 0 0;
    color: #5b6a81;
    line-height: 1.65;
    font-size: 0.98rem;
}

.landing-trust-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.95rem;
    margin-bottom: 0.6rem;
}

.landing-trust-item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 1rem 1.15rem;
    border-radius: 18px;
    border: 1px solid #d7e2f6;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 10px 24px rgba(16, 44, 110, 0.07);
}

.landing-trust-value {
    color: #002b5c;
    font-size: 1.3rem;
    font-weight: 800;
}

.landing-trust-label {
    color: #607089;
    font-size: 0.9rem;
}

.landing-card-grid,
.landing-process-grid,
.landing-commercial-grid,
.landing-two-column {
    display: grid;
    gap: 1.2rem;
}

.landing-card-grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

.landing-card-grid-2,
.landing-two-column,
.landing-commercial-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.landing-info-card,
.landing-panel-card,
.landing-process-card {
    padding: 1.5rem;
    border-radius: 22px;
    border: 1px solid #d7e2f6;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(16, 44, 110, 0.06);
}

.landing-info-card-highlight {
    background: linear-gradient(180deg, #f7fbff 0%, #eef5ff 100%);
}

.landing-info-card p,
.landing-panel-card p,
.landing-process-card p,
.landing-price-card p {
    margin: 0;
    color: #52627a;
    line-height: 1.65;
}

.landing-list {
    margin: 0;
    padding-left: 1.25rem;
    color: #52627a;
    line-height: 1.8;
}

.landing-dod-list,
.landing-stack {
    display: grid;
    gap: 0.85rem;
}

.landing-dod-item,
.landing-price-card {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    border: 1px solid #d7e2f6;
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(16, 44, 110, 0.05);
}

.landing-dod-item strong,
.landing-dod-item span {
    color: #002b5c;
}

.landing-price-column h4 {
    margin: 0 0 1rem;
    color: #004080;
    font-size: 1.15rem;
}

.landing-price-tag {
    white-space: nowrap;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    background: #eef5ff;
    color: #004080;
    font-weight: 800;
}

.landing-process-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}

.landing-process-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 1rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #002b5c 0%, #0056a0 100%);
    color: #ffffff;
    font-weight: 800;
    box-shadow: 0 10px 20px rgba(0, 43, 92, 0.16);
}

.landing-article-surface {
    padding: 1.65rem;
}

.landing-article-flow {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.landing-article-block {
    padding-top: 1rem;
    border-top: 1px solid #dbe6f7;
}

.landing-article-block:first-child {
    padding-top: 0;
    border-top: 0;
}

.landing-article-block h4 {
    margin: 0 0 0.55rem;
    color: #004080;
    font-size: 1.15rem;
    font-weight: 800;
}

.landing-section-inline-title {
    margin: 0;
    color: #004080;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.35;
}

.landing-section-heading .landing-section-inline-title {
    padding-top: 1rem;
    border-top: 1px solid #dbe6f7;
}

.landing-article-block p {
    margin: 0;
    color: #52627a;
    line-height: 1.72;
}

.landing-article-block p + p {
    margin-top: 0.65rem;
}

.landing-article-note {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding-top: 1rem;
    border-top: 1px solid #dbe6f7;
}

.landing-article-note strong {
    color: #002b5c;
}

.landing-article-note span {
    color: #52627a;
    line-height: 1.72;
}

.landing-step-block {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.landing-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #002b5c 0%, #0056a0 100%);
    color: #ffffff;
    font-weight: 800;
    box-shadow: 0 10px 20px rgba(0, 43, 92, 0.16);
}

.pricing-matrix-shell {
    width: 100%;
    overflow-x: auto;
    margin-top: 0.5rem;
}

.pricing-matrix-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    border: 1px solid #d7e2f6;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(16, 44, 110, 0.06);
    table-layout: fixed;
}

.pricing-matrix-table th,
.pricing-matrix-table td {
    padding: 1rem 1.1rem;
    border: 1px solid #e4ecfa;
    text-align: left;
    vertical-align: top;
}

.pricing-matrix-table thead th {
    background: #eef5ff;
    color: #002b5c;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-align: center;
}

.pricing-matrix-table tbody th {
    color: #004080;
    font-weight: 700;
    background: #f9fbff;
}

.pricing-matrix-table thead th:first-child,
.pricing-matrix-table tbody th {
    text-align: center;
}

.pricing-matrix-table tbody td {
    text-align: center;
    vertical-align: middle;
}

.pricing-report-cell {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.pricing-report-name {
    color: #004080;
    font-weight: 800;
}

.pricing-report-desc {
    color: #5b6a81;
    font-weight: 400;
    line-height: 1.55;
    font-size: 0.94rem;
}

.pricing-notes-inline {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #dbe6f7;
}

.pricing-badge-heading {
    margin-bottom: 0.8rem;
}

.pricing-sla-heading {
    margin-top: 1.8rem;
    margin-bottom: 0.8rem;
}

.pricing-notes-inline strong {
    display: block;
    margin-bottom: 0.45rem;
    color: #004080;
}

.pricing-notes-inline p {
    margin: 0;
    color: #52627a;
    line-height: 1.7;
}

.pricing-notes-inline p + p {
    margin-top: 0.55rem;
}

.pricing-notes-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.pricing-notes-list li {
    position: relative;
    padding-left: 1.3rem;
    color: #52627a;
    line-height: 1.7;
}

.pricing-notes-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: #0056a0;
    box-shadow: 0 0 0 4px rgba(0, 86, 160, 0.12);
}

.landing-services-grid,
.landing-about-grid,
.landing-guarantees-grid,
.landing-pricing-layout,
.landing-process-layout {
    display: grid;
    width: 100%;
    gap: 1.2rem;
}

.landing-services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.landing-about-grid,
.landing-guarantees-grid,
.landing-pricing-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.landing-process-layout {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.landing-services-grid > *,
.landing-about-grid > *,
.landing-guarantees-grid > *,
.landing-pricing-layout > *,
.landing-process-layout > * {
    min-width: 0;
}

@media (max-width: 1100px) {
    .landing-services-grid,
    .landing-process-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .landing-services-grid,
    .landing-about-grid,
    .landing-guarantees-grid,
    .landing-pricing-layout,
    .landing-process-layout {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 768px) {
    .landing-article-surface {
        padding: 1.2rem;
    }

    .landing-step-block {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .pricing-matrix-table {
        min-width: 620px;
    }
}

.portfolio-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.portfolio-item {
    background: #ffffff;
    border: 1px solid #d7e2f6;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(16,44,110,0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(16,44,110,0.2);
}

.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.portfolio-item h3 {
    margin: 1rem 1rem 0.5rem;
    color: #002b5c;
    font-size: 1.25rem;
}

.portfolio-item p {
    margin: 0 1rem 1rem;
    color: #495057;
    font-size: 0.95rem;
}

.portfolio-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.portfolio-cta p {
    font-size: 1.1rem;
    color: #002b5c;
}

.portfolio-cta a {
    color: #004080;
    font-weight: 600;
    text-decoration: none;
}

.portfolio-cta a:hover {
    text-decoration: underline;
}

/* ==========================================
   AUTHENTICATION PAGES STYLING
   ========================================== */

.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background:
        linear-gradient(rgba(76,201,255,.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(76,201,255,.08) 1px, transparent 1px),
        radial-gradient(circle at 76% 18%, rgba(76,201,255,.22), transparent 26rem),
        linear-gradient(135deg, #0b3f78 0%, #075fa8 48%, #003b75 100%);
    background-size: 34px 34px, 34px 34px, auto, auto;
    padding: 2rem 1rem;
}

.auth-container.auth-login-page {
    min-height: calc(100vh - 76px);
}

.auth-shell {
    width: min(1120px, 100%);
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 420px);
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: center;
}

.auth-brand-panel {
    color: #fff;
    display: grid;
    gap: clamp(2rem, 5vw, 4rem);
    padding: clamp(1rem, 3vw, 2rem);
}

.auth-brand {
    color: #fff;
    font-size: 1.45rem;
    font-weight: 950;
    text-decoration: none;
}

.auth-brand span {
    color: #9ed6ff;
}

.auth-brand-copy {
    display: grid;
    gap: 1rem;
}

.auth-kicker {
    color: #4cc9ff;
    font-size: .78rem;
    font-weight: 950;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.auth-brand-copy h1 {
    max-width: 620px;
    color: #fff;
    font-size: clamp(2.2rem, 5vw, 4.6rem);
    font-weight: 950;
    line-height: 1.03;
    letter-spacing: 0;
    margin: 0;
}

.auth-brand-copy p {
    max-width: 560px;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    text-shadow: 0 2px 18px rgba(3, 11, 22, .45);
    margin: 0;
}

.rpt-public .auth-brand-copy p {
    color: #fff !important;
}

.auth-brand-metrics {
    display: grid;
    max-width: 620px;
}

.auth-brand-metrics div {
    min-height: 132px;
    display: grid;
    align-content: center;
    gap: .35rem;
    padding: 1.1rem;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 10px;
    background: rgba(3, 11, 22, .52);
    box-shadow: 0 28px 80px rgba(7, 17, 31, .18);
}

.auth-brand-metrics strong {
    color: #fff;
    font-size: 1rem;
}

.auth-brand-metrics span {
    color: #dcecff;
    font-size: .9rem;
}

.auth-brand-metrics p {
    color: #fff;
    font-size: .95rem;
    margin: .35rem 0 0;
}

.rpt-public .auth-brand-metrics p {
    color: #fff !important;
}

.auth-card {
    background: #ffffff;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 10px;
    box-shadow: 0 28px 80px rgba(7, 17, 31, .26);
    padding: 3rem 2rem;
    max-width: 420px;
    width: 100%;
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-header {
    display: grid;
    gap: 1.1rem;
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h1 {
    color: #07111f;
    font-size: 1.8rem;
    font-weight: 950;
    margin-bottom: 0;
}

.auth-header p {
    color: #6c757d;
    font-size: 0.95rem;
    margin-top: 0 !important;
    margin-bottom: 0;
}

.auth-card .form-label {
    color: #495057;
    font-weight: 600;
    margin-bottom: 0.7rem;
    font-size: 0.95rem;
}

.auth-card .form-control {
    border: 1px solid rgba(148, 163, 184, .42);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.auth-card .form-control:focus {
    border-color: #4cc9ff;
    box-shadow: 0 0 0 0.2rem rgba(76, 201, 255, 0.18);
    background-color: #f8faff;
}

.auth-card .form-control-lg {
    padding: 1rem 1.2rem;
    font-size: 1rem;
}

.auth-card .btn-primary {
    background: #4cc9ff;
    border: none;
    color: #031020;
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 14px 30px rgba(0, 86, 160, 0.22);
}

.auth-card .btn-primary:hover:not(:disabled) {
    background: #86dcff;
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(0, 86, 160, 0.3);
}

.auth-card .btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.auth-card .btn-outline-secondary {
    border: 2px solid #dee2e6;
    color: #495057;
    text-decoration: none;
    transition: all 0.3s ease;
}

.auth-card .btn-outline-secondary:hover:not(:disabled) {
    background: #f8f9fa;
    border-color: #0066cc;
    color: #0066cc;
}

.auth-card .form-check-label {
    color: #495057;
    font-size: 0.9rem;
    cursor: pointer;
}

.auth-card .form-check-label a {
    color: #0056a0;
    text-decoration: none;
    font-weight: 500;
}

.auth-card .form-check-label a:hover {
    text-decoration: underline;
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e7f1;
}

.auth-footer p {
    color: #6c757d;
    margin-bottom: 0;
    font-size: 0.95rem;
}

.auth-footer a {
    color: #0056a0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.auth-footer a:hover {
    color: #002b5c;
}

.divider {
    text-align: center;
    position: relative;
    color: #adb5bd;
    font-size: 0.9rem;
    font-weight: 500;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #e0e7f1;
}

.divider {
    background: #ffffff;
    position: relative;
    z-index: 1;
    padding: 0 1rem;
    display: relative;
}

.alert {
    border-radius: 8px;
    border: none;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.alert-danger {
    background: #fff5f5;
    color: #c41e3a;
    border-left: 4px solid #c41e3a;
}

.alert-success {
    background: #f0f9ff;
    color: #0f5132;
    border-left: 4px solid #198754;
}

.alert-info {
    background: #f0f9ff;
    color: #004085;
    border-left: 4px solid #0066cc;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.2em;
}

/* Responsiveness */
@media (max-width: 576px) {
    .auth-container {
        padding: 1rem;
    }

    .auth-shell {
        grid-template-columns: 1fr;
    }

    .auth-brand-panel {
        padding: 1rem 0 0;
        gap: 1.25rem;
    }

    .auth-brand-copy h1 {
        font-size: clamp(2rem, 13vw, 3rem);
    }

    .auth-brand-metrics {
        grid-template-columns: 1fr;
    }

    .auth-card {
        padding: 2rem 1.5rem;
        max-width: none;
    }

    .auth-header h1 {
        font-size: 1.5rem;
    }

    .auth-header p {
        font-size: 0.85rem;
    }
}

@media (max-width: 900px) {
    .auth-shell {
        grid-template-columns: 1fr;
        max-width: 560px;
    }

    .auth-brand-panel {
        padding-bottom: 0;
    }

    .auth-brand-copy h1,
    .auth-brand-copy p {
        max-width: none;
    }
}

/* ==========================================
   DASHBOARD STYLING
   ========================================== */

.dashboard-header {
    background: linear-gradient(135deg, #002b5c 0%, #0052a3 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 6px 20px rgba(0, 82, 163, 0.2);
}

.dashboard-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.dashboard-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 0;
}

.dashboard-header .text-muted,
.dashboard-header p.text-muted,
.dashboard-header h1,
.dashboard-header h2,
.dashboard-header h3 {
    color: #ffffff !important;
}

.dashboard-card {
    border: 1px solid #e0e7f1;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(16, 44, 110, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.dashboard-card:hover {
    box-shadow: 0 8px 20px rgba(16, 44, 110, 0.12);
    transform: translateY(-2px);
}

.dashboard-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dashboard-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #0066cc;
}

.avatar-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.dashboard-card .card-title {
    color: #002b5c;
    font-weight: 700;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 1rem;
}

.dashboard-card .form-label {
    color: #6c757d;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dashboard-card p {
    font-size: 1rem;
    color: #495057;
    margin-bottom: 0.5rem;
}

.dashboard-card .btn {
    border-radius: 8px;
    padding: 0.6rem 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.dashboard-card .btn-primary {
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    border: none;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.dashboard-card .btn-primary:hover {
    background: linear-gradient(135deg, #0052a3 0%, #003d7a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 102, 204, 0.4);
}

.dashboard-card .btn-secondary {
    background: #6c757d;
    border: none;
}

.dashboard-card .btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.dashboard-card .btn-danger {
    background: #dc3545;
    border: none;
}

.dashboard-card .btn-danger:hover {
    background: #c82333;
    transform: translateY(-2px);
}

.spinner-border {
    color: #0066cc;
}

.ticket-form .form-select,
.ticket-form .form-control {
    border: 1px solid #d7e2f6;
    border-radius: 10px;
}

.ticket-list-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ticket-entry-card {
    border: 1px solid #d7e2f6;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
    box-shadow: 0 10px 24px rgba(16, 44, 110, 0.08);
    padding: 1rem 1.05rem;
    font-size: 0.9375rem;
}

.ticket-entry-main {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.ticket-entry-expand {
    padding-top: 0.2rem;
}

.ticket-entry-summary {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 0;
}

.ticket-entry-summary-top {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.ticket-id-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    background: #edf3ff;
    color: #294f95;
    font-size: 0.82rem;
    font-weight: 700;
}

.ticket-entry-files {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.8rem 1rem;
}

.ticket-entry-files .ticket-secondary-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.ticket-entry-collapsed-line {
    display: grid;
    grid-template-columns: 0.8fr 0.8fr 0.8fr 1.6fr 1fr 1fr;
    gap: 0.75rem 1rem;
    align-items: start;
    flex: 1 1 auto;
}

.ticket-collapsed-download-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    flex: 0 0 auto;
    border-radius: 999px;
    border: 1px solid #cfdcf2;
    background: #f6f9ff;
    color: #0056a0;
    text-decoration: none;
    transition: all 0.2s ease;
}

.ticket-collapsed-download-link:hover {
    border-color: #9ab7e7;
    background: #ffffff;
    color: #002b5c;
    box-shadow: 0 8px 18px rgba(0, 43, 92, 0.08);
}

.ticket-entry-inline-group {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.ticket-entry-inline-group span:last-child {
    color: #334155;
    line-height: 1.35;
    word-break: break-word;
}

.ticket-entry-inline-ticket {
    min-width: 96px;
}

.ticket-entry-description {
    padding: 0.85rem 0.95rem;
    border-radius: 14px;
    background: #f6f9ff;
    border: 1px solid #e2eaf8;
}

.ticket-entry-description p {
    margin: 0.35rem 0 0;
    color: #344054;
    line-height: 1.5;
    white-space: pre-wrap;
}

.ticket-json-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.6rem;
    margin-bottom: 0.85rem;
}

.ticket-json-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    padding: 0.45rem 0.85rem;
    border: 1px solid #cfdcf2;
    border-radius: 999px;
    background: #ffffff;
    color: #002b5c;
    font-weight: 700;
    transition: all 0.2s ease;
}

.ticket-json-tab:hover {
    background: #edf4ff;
}

.ticket-json-tab.active {
    background: linear-gradient(135deg, #002b5c 0%, #004080 55%, #0056a0 100%);
    border-color: #002b5c;
    color: #ffffff;
}

.ticket-json-raw-shell {
    position: relative;
}

.ticket-json-raw {
    margin: 0;
    padding: 1rem;
    padding-top: 2.75rem;
    border: 1px solid #d9e4f5;
    border-radius: 14px;
    background: #ffffff;
    color: #243b5a;
    font-size: 0.9rem;
    line-height: 1.55;
    white-space: pre-wrap;
    word-break: break-word;
    overflow-x: auto;
}

.ticket-json-copy-button {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 1px solid #cfdcf2;
    border-radius: 10px;
    background: #ffffff;
    color: #002b5c;
    box-shadow: 0 4px 12px rgba(0, 43, 92, 0.08);
}

.ticket-json-copy-button:hover {
    background: #edf4ff;
}

.ticket-entry-admin-panel {
    min-width: 250px;
    max-width: 250px;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    padding: 0.2rem 0 0 0.5rem;
}

.ticket-entry-admin-panel-expanded {
    min-width: 0;
    max-width: none;
    padding-left: 0;
}

.ticket-entry-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.ticket-detail-topbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.ticket-detail-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 0;
}

.ticket-detail-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 164px;
    min-height: 44px;
    border: 2px solid #002b5c;
    background: #ffffff;
    color: #002b5c;
    border-radius: 10px;
    padding: 0.55rem 0.95rem;
    font-size: 0.83rem;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 8px 18px rgba(0, 43, 92, 0.08);
    transition: all 0.25s ease;
}

.ticket-detail-tab:hover {
    background: #f2f6fb;
    transform: translateY(-1px);
}

.ticket-detail-tab.active {
    background: linear-gradient(135deg, #002b5c 0%, #004080 55%, #0056a0 100%);
    color: #fff;
    border-color: #002b5c;
    box-shadow: 0 8px 18px rgba(0, 86, 160, 0.18);
}

.ticket-state-tab-panel {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ticket-state-tab-editor {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    padding: 0.95rem 1rem;
    border-radius: 14px;
    background: #f6f9ff;
    border: 1px solid #d7e2f6;
}

.ticket-state-tab-field {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex: 1 1 auto;
}

.ticket-state-tab-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-width: 40px;
}

.ticket-save-icon-inline {
    padding: 0.4rem;
}

.ticket-final-upload-card {
    padding: 0.85rem 0.95rem;
    border-radius: 14px;
    background: #f8fbff;
    border: 1px solid #d7e2f6;
}

.ticket-entry-files-general {
    grid-template-columns: 1fr;
}

.ticket-final-upload-inline {
    margin-top: 0.1rem;
}

.ticket-download-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: stretch;
}

.ticket-download-actions-top {
    justify-content: flex-end;
    flex-shrink: 0;
}

.ticket-checkout-top-item {
    align-items: stretch;
}

.ticket-checkout-top-message {
    display: block;
    margin-top: 0.45rem;
    max-width: 280px;
    line-height: 1.4;
}

.ticket-action-button {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    justify-content: center;
    font-size: 0.88rem;
    font-weight: 600;
}

.ticket-action-button-brand {
    color: #ffffff;
    background: linear-gradient(135deg, #002b5c 0%, #004080 55%, #0056a0 100%);
    border: 1px solid #002b5c;
    box-shadow: 0 8px 18px rgba(0, 43, 92, 0.18);
}

.ticket-action-button-brand:hover {
    color: #ffffff;
    background: linear-gradient(135deg, #001f45 0%, #003366 55%, #004b8a 100%);
    border-color: #001f45;
    transform: translateY(-1px);
}

.ticket-action-button-fixed {
    width: 280px;
    min-height: 44px;
}

.balance-pricing-matrix-shell {
    width: 100%;
    overflow-x: auto;
}

.balance-pricing-matrix-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    border: 1px solid #d7e2f6;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(16, 44, 110, 0.06);
    table-layout: fixed;
}

.balance-pricing-matrix-table th,
.balance-pricing-matrix-table td {
    padding: 1rem;
    border: 1px solid #e4ecfa;
    text-align: center;
    vertical-align: middle;
}

.balance-pricing-matrix-table thead th {
    background: #f5f9ff;
    color: #002b5c;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.balance-pricing-matrix-table thead th:first-child {
    background: #eef5ff;
}

.balance-pricing-matrix-table tbody th {
    background: #f9fbff;
    text-align: left;
    width: 24%;
}

.balance-sla-header {
    background: #f5f9ff;
}

.balance-sla-heading-text,
.balance-sla-heading-note {
    display: block;
}

.balance-sla-heading-text {
    font-weight: 800;
}

.balance-sla-heading-note {
    margin-top: 0.25rem;
    font-size: 0.78rem;
    font-weight: 700;
}

.balance-sla-header-normal .balance-sla-heading-text,
.balance-sla-header-normal .balance-sla-heading-note {
    color: #1f8a4c;
}

.balance-sla-header-urgent .balance-sla-heading-text,
.balance-sla-header-urgent .balance-sla-heading-note {
    color: #c08a00;
}

.balance-sla-header-very-urgent .balance-sla-heading-text,
.balance-sla-header-very-urgent .balance-sla-heading-note {
    color: #c62828;
}

.balance-report-cell {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.balance-report-name {
    color: #004080;
    font-weight: 800;
}

.balance-report-base-price {
    color: #5b6a81;
    font-size: 0.86rem;
}

.balance-price-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.balance-price-value {
    color: #002b5c;
    font-size: 1rem;
    font-weight: 800;
}

.balance-price-button {
    min-width: 100%;
}

.balance-shortfall-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    margin-bottom: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid #e2eaf8;
}

.balance-shortfall-label {
    color: #5b6a81;
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.balance-shortfall-value {
    font-size: 1.05rem;
    font-weight: 800;
}

.balance-shortfall-button {
    width: 100%;
}

.ticket-file-picker {
    position: relative;
    display: inline-flex;
    width: 280px;
    min-height: 44px;
}

.ticket-file-picker-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.ticket-file-picker-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    min-height: 44px;
    border-radius: 8px;
    color: #ffffff;
    background: linear-gradient(135deg, #002b5c 0%, #004080 55%, #0056a0 100%);
    border: 1px solid #002b5c;
    box-shadow: 0 8px 18px rgba(0, 43, 92, 0.18);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.6rem 1rem;
    text-align: center;
    line-height: 1.3;
}

.ticket-file-picker-button svg {
    flex: 0 0 auto;
}

.ticket-table th {
    white-space: nowrap;
    color: #002b5c;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ticket-table .ticket-col-state {
    width: 9%;
}

.ticket-table .ticket-col-type {
    width: 9%;
}

.ticket-table .ticket-col-user {
    width: 14%;
}

.ticket-table .ticket-col-state-editor {
    width: 10%;
}

.ticket-table .ticket-col-new-state {
    width: 17%;
}

.ticket-table .ticket-col-date-admin {
    width: 7%;
    font-size: 0.8rem;
    white-space: nowrap;
}

.ticket-description-cell {
    min-width: 280px;
    white-space: normal;
}

.ticket-table .ticket-description-admin {
    min-width: 196px;
    width: 196px;
    max-width: 196px;
}

.ticket-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.32rem 0.72rem;
    font-size: 0.8rem;
    font-weight: 700;
}

.ticket-state-editor {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
}

.ticket-state-editor .form-select {
    min-width: 0;
}

.ticket-save-icon {
    border: 0;
    background: transparent;
    padding: 0;
    color: #0052a3;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.ticket-save-icon:hover {
    color: #003d7a;
}

.ticket-save-icon:focus {
    outline: none;
    box-shadow: none;
}

.ticket-state-editor .form-select {
    font-size: 0.86rem;
}

@media (max-width: 992px) {
    .hero-layout {
        grid-template-columns: 1fr;
    }

    .landing-card-grid-2,
    .landing-card-grid-3,
    .landing-process-grid,
    .landing-commercial-grid,
    .landing-two-column {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .landing-card-grid-2 > *,
    .landing-card-grid-3 > *,
    .landing-process-grid > *,
    .landing-commercial-grid > *,
    .landing-two-column > * {
        min-width: 0;
        width: 100%;
    }

    .hero-copy {
        text-align: center;
    }

    .hero-text {
        margin-left: auto;
        margin-right: auto;
        max-width: 680px;
    }

    .hero-banner-frame {
        height: clamp(169px, 36.3vw, 230px);
    }

    .ticket-entry-main {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .ticket-entry-summary-top {
        flex-direction: column;
        align-items: stretch;
    }

    .ticket-entry-collapsed-line {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ticket-collapsed-download-link {
        align-self: flex-end;
    }

    .ticket-state-tab-editor {
        flex-direction: column;
        align-items: stretch;
    }

    .ticket-state-tab-actions {
        justify-content: flex-start;
    }

    .ticket-entry-admin-panel {
        grid-column: 1 / -1;
        max-width: none;
        min-width: 0;
        padding-left: 0;
    }
}

@media (max-width: 768px) {
    .ticket-entry-collapsed-line {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 540px) {
    .ticket-entry-collapsed-line {
        grid-template-columns: 1fr;
    }
}

.ticket-table-expanded .ticket-col-expander {
    width: 3.5rem;
}

.ticket-expand-button {
    width: 2rem;
    height: 2rem;
    border: 1px solid #c9d6eb;
    border-radius: 999px;
    background: #fff;
    color: #002b5c;
    font-weight: 700;
    line-height: 1;
}

.ticket-expand-button:hover {
    background: #eef4ff;
}

.ticket-main-row td {
    vertical-align: top;
    padding-top: 1rem;
    padding-bottom: 0.65rem;
}

.ticket-secondary-row td {
    padding-top: 0;
    border-top: 0;
    padding-bottom: 1rem;
}

.ticket-secondary-content {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    background: #f8fbff;
    border: 1px solid #d7e2f6;
}

.ticket-secondary-item {
    display: flex;
    flex-direction: column;
    min-width: 180px;
    gap: 0.25rem;
}

.ticket-secondary-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    font-weight: 700;
}

.ticket-final-upload {
    min-width: 260px;
}

.ticket-detail-row td {
    padding-top: 0;
    border-top: 0;
}

.ticket-detail-panel {
    background: #fff;
    border: 1px solid #d7e2f6;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.ticket-detail-panel-card {
    margin: 1rem 0 0;
}

.ticket-detail-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    color: #002b5c;
    margin-bottom: 0.75rem;
}

.ticket-history-table th {
    font-size: 0.75rem;
}

.ticket-history-table td {
    font-size: 0.84rem;
}

.state-open,
.state-in-progress,
.state-proposal,
.state-approved,
.state-progress {
    background: #e8f5ff;
    color: #0b63a5;
}

.state-new {
    background: #e8f5ff;
    color: #0b63a5;
}

.state-in-analysis,
.state-analysis {
    background: #fff7df;
    color: #9b6a00;
}

.state-checkout {
    background: #fff0e0;
    color: #b35a00;
}

.state-done {
    background: #e8f7ee;
    color: #18794e;
}

.state-closed {
    background: #eceff3;
    color: #495057;
}

.type-normal {
    background: #eef4ff;
    color: #234ea0;
}

.type-urgente {
    background: #fff1e6;
    color: #c05c00;
}

.type-muitourgente {
    background: #ffe8eb;
    color: #b42336;
}

.profile-language-select {
    max-width: 140px;
}

.language-shell {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.language-label {
    margin-bottom: 0;
    color: #44556f;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.language-select,
.profile-language-select {
    min-width: 78px;
    min-height: 34px;
    border: 2px solid #002b5c;
    border-radius: 10px;
    background: #ffffff;
    color: #002b5c;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(0, 43, 92, 0.08);
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
    padding-left: 0.55rem;
    padding-right: 2rem;
    line-height: 1.2;
}

.language-select:focus,
.profile-language-select:focus {
    border-color: #0056a0;
    box-shadow: 0 0 0 0.2rem rgba(0, 86, 160, 0.18);
}

.topbar-logout-button {
    min-width: 148px;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    font-weight: 700;
}

.topbar-logout-button i {
    font-size: 1rem;
}

/* Authenticated workspace aligned with the public Reportable visual language */
.authenticated-shell {
    --auth-ink: #07111f;
    --auth-muted: #5b6878;
    --auth-paper: #ffffff;
    --auth-line: rgba(148, 163, 184, .28);
    --auth-blue: #0056a0;
    --auth-blue-dark: #002b5c;
    --auth-cyan: #4cc9ff;
    --auth-bg: #f5f8fc;
    --auth-shadow: 0 18px 48px rgba(7, 17, 31, .1);
    --rpt-ink: #07111f;
    --rpt-muted: #5b6878;
    --rpt-paper: #ffffff;
    --rpt-line: rgba(148, 163, 184, .28);
    --rpt-blue: #0056a0;
    --rpt-blue-dark: #002b5c;
    --rpt-cyan: #4cc9ff;
    --rpt-green: #20b486;
    --rpt-bg: #f5f8fc;
    --rpt-shadow: 0 28px 80px rgba(7, 17, 31, .18);
    color: var(--auth-ink);
    background: transparent;
}

.authenticated-shell .content > .container {
    width: min(1320px, calc(100% - 32px));
    max-width: none;
    margin-top: 0 !important;
    padding: clamp(24px, 4vw, 42px) 0 clamp(48px, 6vw, 80px);
}

.authenticated-shell .content > main > .rpt-section:first-child {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: clamp(54px, 8vw, 96px) max(16px, calc((100% - 1220px) / 2));
    background:
        linear-gradient(rgba(76,201,255,.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(76,201,255,.08) 1px, transparent 1px),
        radial-gradient(circle at 76% 18%, rgba(76,201,255,.18), transparent 24rem),
        linear-gradient(135deg, #0b3f78 0%, #075fa8 48%, #003b75 100%);
    background-size: 34px 34px, 34px 34px, auto, auto;
    color: #fff;
}

.authenticated-shell .content > main > .rpt-section:first-child .rpt-section-heading h3,
.authenticated-shell .content > main > .rpt-section:first-child .rpt-section-heading h4,
.authenticated-shell .content > main > .rpt-section:first-child .rpt-section-heading p {
    color: #fff;
}

.authenticated-shell .content > main > .rpt-section:first-child .rpt-kicker {
    color: var(--rpt-cyan);
}

.authenticated-shell .content > main > .rpt-section:first-child .rpt-section-heading p {
    color: #dcecff;
}

.authenticated-shell .content > main > .rpt-section:first-child > .rpt-grid,
.authenticated-shell .content > main > .rpt-section:first-child > .rpt-section-heading + .rpt-grid {
    margin-top: 0;
}

.authenticated-shell .content > main > .rpt-section:first-child .rpt-card {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.16);
    box-shadow: var(--rpt-shadow);
    color: #fff;
}

.authenticated-shell .content > main > .rpt-section:first-child .rpt-card h4,
.authenticated-shell .content > main > .rpt-section:first-child .rpt-card strong {
    color: #fff;
}

.authenticated-shell .content > main > .rpt-section:first-child .rpt-card p,
.authenticated-shell .content > main > .rpt-section:first-child .rpt-card li {
    color: #dcecff;
}

.authenticated-shell .content > main > .rpt-section:first-child .rpt-pricing-row {
    border-bottom-color: rgba(255,255,255,.18);
}

.authenticated-shell .content > main > .rpt-section:first-child .rpt-pricing-row strong {
    color: var(--rpt-cyan);
}

.authenticated-shell-user .content > .container {
    width: min(1220px, calc(100% - 32px));
}

.authenticated-shell .dashboard-header {
    position: relative;
    display: grid;
    gap: 14px;
    overflow: visible;
    margin-bottom: clamp(26px, 5vw, 50px);
    padding: clamp(30px, 6vw, 68px) 0 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #fff;
}

.authenticated-shell .dashboard-header h1,
.authenticated-shell .dashboard-header h2,
.authenticated-shell .dashboard-header h3 {
    margin: 0;
    color: #fff !important;
    font-size: clamp(1.69rem, 3.12vw, 3.45rem);
    font-weight: 950;
    line-height: 1.05;
    letter-spacing: 0;
    max-width: 920px;
}

.authenticated-shell .dashboard-header p,
.authenticated-shell .dashboard-header .text-muted {
    max-width: 860px;
    color: #dcecff !important;
    font-size: 1rem;
    line-height: 1.55;
    opacity: 1;
}

.authenticated-shell .dashboard-header::before {
    content: "Reportable";
    color: var(--auth-cyan);
    font-size: .78rem;
    font-weight: 950;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.authenticated-shell .dashboard-card,
.authenticated-shell .card.dashboard-card,
.authenticated-shell .ticket-entry-card,
.authenticated-shell .json-schema-card,
.authenticated-shell .ticket-detail-panel {
    border: 1px solid var(--auth-line);
    border-radius: 10px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 14px 36px rgba(7, 17, 31, .08);
}

.authenticated-shell .dashboard-card:hover {
    transform: none;
    box-shadow: var(--auth-shadow);
}

.authenticated-shell .dashboard-card .card-body,
.authenticated-shell .card.dashboard-card .card-body {
    padding: clamp(20px, 2.4vw, 30px) !important;
}

.authenticated-shell .dashboard-card .card-title,
.authenticated-shell .card-title {
    margin-bottom: 1rem;
    padding-bottom: .85rem;
    border-bottom: 1px solid var(--auth-line);
    color: var(--auth-ink);
    font-size: 1rem;
    font-weight: 950;
    line-height: 1.25;
}

.authenticated-shell .dashboard-card p,
.authenticated-shell .card p,
.authenticated-shell .text-muted {
    color: var(--auth-muted) !important;
}

.authenticated-shell .form-label {
    color: #43556d;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.authenticated-shell .form-control,
.authenticated-shell .form-select {
    min-height: 42px;
    border: 1px solid #cddbea;
    border-radius: 8px;
    background-color: #fff;
    color: var(--auth-ink);
}

.authenticated-shell .form-control:focus,
.authenticated-shell .form-select:focus {
    border-color: var(--auth-blue);
    box-shadow: 0 0 0 .2rem rgba(76, 201, 255, .18);
}

.authenticated-shell .btn,
.authenticated-shell .btn-reportable,
.authenticated-shell .btn-reportable-outline {
    min-height: 42px;
    border-radius: 8px;
    font-weight: 900;
}

.authenticated-shell .btn-primary,
.authenticated-shell .btn-reportable {
    border-color: transparent;
    background: var(--auth-cyan);
    color: #031020;
    box-shadow: none;
}

.authenticated-shell .btn-primary:hover,
.authenticated-shell .btn-reportable:hover {
    background: #8be0ff;
    color: #031020;
    transform: none;
}

.authenticated-shell .btn-reportable-outline,
.authenticated-shell .btn-outline-primary {
    border: 1px solid rgba(0, 86, 160, .28);
    background: #fff;
    color: var(--auth-blue-dark);
}

.authenticated-shell .btn-reportable-outline:hover,
.authenticated-shell .btn-outline-primary:hover {
    border-color: var(--auth-blue);
    background: #edf7ff;
    color: var(--auth-blue-dark);
}

.authenticated-shell .table-responsive {
    border: 1px solid var(--auth-line);
    border-radius: 10px;
    background: #fff;
}

.authenticated-shell table.table,
.authenticated-shell .ticket-table,
.authenticated-shell .balance-pricing-matrix-table {
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    box-shadow: none;
}

.authenticated-shell table.table thead th,
.authenticated-shell .ticket-table thead th,
.authenticated-shell .balance-pricing-matrix-table thead th {
    border-bottom: 1px solid var(--auth-line);
    background: #edf5fc;
    color: var(--auth-blue-dark);
    font-size: .78rem;
    font-weight: 950;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.authenticated-shell table.table td,
.authenticated-shell table.table th,
.authenticated-shell .ticket-table td,
.authenticated-shell .ticket-table th,
.authenticated-shell .balance-pricing-matrix-table td,
.authenticated-shell .balance-pricing-matrix-table th {
    border-color: #e4edf7;
    color: #243244;
    vertical-align: middle;
}

.authenticated-shell .display-6,
.authenticated-shell .text-primary,
.authenticated-shell .balance-price-value {
    color: var(--auth-blue-dark) !important;
}

.authenticated-shell .dashboard-avatar {
    width: 96px;
    height: 96px;
    border: 4px solid rgba(76, 201, 255, .35);
    box-shadow: 0 18px 32px rgba(0, 43, 92, .16);
}

.authenticated-shell .ticket-entry-card {
    padding: 1rem;
}

.authenticated-shell .ticket-entry-description,
.authenticated-shell .ticket-secondary-content,
.authenticated-shell .ticket-final-upload-card {
    border: 1px solid #dbe7f5;
    border-radius: 10px;
    background: #f7fbff;
}

@media (max-width: 768px) {
    .authenticated-shell .content > .container {
        width: min(100% - 22px, 1220px);
        padding-top: 18px;
    }

    .authenticated-shell .dashboard-header {
        padding-top: 1.4rem;
    }
}

@media (max-width: 768px) {
    .content {
        padding-bottom: 7.5rem;
    }

    .cookie-notice-card {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-notice-action {
        width: 100%;
    }

    .landing-shell {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }

    .landing-trust-strip,
    .landing-card-grid,
    .landing-card-grid-2,
    .landing-card-grid-3,
    .landing-process-grid,
    .landing-commercial-grid,
    .landing-two-column,
    .landing-hero-grid {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .landing-trust-strip > *,
    .landing-card-grid > *,
    .landing-card-grid-2 > *,
    .landing-card-grid-3 > *,
    .landing-process-grid > *,
    .landing-commercial-grid > *,
    .landing-two-column > *,
    .landing-hero-grid > * {
        min-width: 0;
        width: 100%;
    }

    .landing-hero,
    .landing-section-surface {
        border-radius: 22px;
    }

    .landing-hero-grid,
    .landing-hero-grid-compact {
        padding: 1.25rem 1.1rem 1.35rem;
    }

    .landing-info-card,
    .landing-panel-card,
    .landing-process-card,
    .landing-price-card {
        padding: 1.15rem;
    }

    .landing-brand-lockup h1 {
        font-size: clamp(2.2rem, 12vw, 3rem);
    }

    .landing-title {
        max-width: none;
    }

    .landing-lead {
        font-size: 0.94rem;
    }

    .landing-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .landing-hero-actions .btn {
        width: 100%;
    }

    .landing-price-card,
    .landing-dod-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .landing-price-tag {
        white-space: normal;
    }

    .top-row {
        margin-left: 0.5rem;
        margin-right: 0.5rem;
        min-height: auto;
    }

    .top-row-links,
    .user-shell {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .language-shell {
        flex-wrap: wrap;
    }

    .ticket-detail-tab {
        width: 100%;
    }

    .ticket-file-picker,
    .ticket-action-button-fixed {
        width: 100%;
    }

    .ticket-detail-topbar {
        flex-direction: column;
        align-items: stretch;
    }

    .ticket-download-actions-top {
        width: 100%;
        justify-content: stretch;
    }

    .ticket-checkout-top-message {
        max-width: none;
    }

    .balance-shortfall-summary {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 576px) {
    .landing-shell {
        padding-left: 0.65rem;
        padding-right: 0.65rem;
        padding-bottom: 2rem;
    }

    .landing-trust-strip {
        gap: 0.75rem;
    }

    .landing-section {
        margin-top: 1rem;
    }

    .landing-section-surface {
        padding: 1rem;
    }

    .landing-section-heading h3,
    .landing-panel-card h3 {
        font-size: 1.45rem;
    }
}
