.tc-danger-zone {
    margin-top: 38px;
    padding: 20px;
    border: 1px solid #6f3440;
    border-radius: 14px;
    background: rgba(87, 24, 38, 0.18);
}

.tc-danger-zone p {
    font-size: 0.84rem;
}

.tc-admin-plans {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 25px;
}

.tc-admin-plan {
    padding: 18px;
    border: 1px solid #213651;
    border-radius: 14px;
    background: #091728;
}

.tc-admin-plan label {
    display: grid;
    gap: 4px;
    margin: 9px 0;
    color: #9bb0c8;
    font-size: 0.72rem;
}

.tc-admin-plan input {
    min-height: 40px;
    border: 1px solid #29415f;
    border-radius: 9px;
    background: #071424;
    color: #fff;
    padding: 0 10px;
}

@media (max-width: 620px) {
    .tc-admin-plans {
        grid-template-columns: 1fr;
    }
}

/* Compact public landing layout. */
.tc-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    padding-inline: max(20px, calc((100% - 1220px) / 2));
    background: rgba(7, 17, 31, 0.88);
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    box-shadow: 0 10px 35px rgba(2, 8, 20, 0.18);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.tc-hero,
.tc-section,
.tc-app {
    scroll-margin-top: 105px;
}

.tc-hero {
    min-height: auto;
    padding: 42px 0 54px;
    gap: 54px;
}

.tc-hero h1 {
    font-size: clamp(2.7rem, 4.7vw, 4.75rem);
}

.tc-lead {
    margin: 20px 0;
}

.tc-hero__visual {
    padding: 22px;
}

.tc-hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.tc-hero-pills span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 7px 11px;
    border: 1px solid rgba(96, 165, 250, 0.18);
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.07);
    color: #b9cbe0;
    font-size: 0.75rem;
    font-weight: 700;
}

.tc-hero-pills b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: #2563eb;
    color: #fff;
    font-size: 0.67rem;
}

.tc-section {
    padding: 48px 0;
}

.tc-section--pricing {
    padding-top: 28px;
}

.tc-section__heading {
    margin-bottom: 25px;
}

.tc-section__heading h2 {
    font-size: clamp(2rem, 3vw, 3rem);
}

.tc-pricing {
    max-width: none;
}

.tc-plan {
    padding: 25px;
}

.tc-plan h3 {
    margin: 10px 0;
}

.tc-plan ul {
    margin: 16px 0 22px;
}

.tc-plan li {
    padding-top: 5px;
    padding-bottom: 5px;
}

.tc-plan li::before {
    top: 13px;
}

.tc-section--compact {
    padding-top: 34px;
    padding-bottom: 34px;
}

.tc-section--compact .tc-section__heading {
    margin-bottom: 20px;
}

.tc-section--compact .tc-steps article {
    padding: 22px;
}

.tc-section--compact .tc-steps b {
    font-size: 1.35rem;
}

.tc-section--compact .tc-steps h3 {
    margin: 10px 0 4px;
}

.tc-section--compact .tc-steps p {
    margin: 0;
}

.tc-faq details {
    padding: 16px 4px;
}

.home-footer {
    display: grid;
    gap: 18px;
    justify-items: center;
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
    padding: 10px 0 36px;
}

.home-footer .footer-social {
    display: flex;
    justify-content: center;
}

.home-footer .footer-social__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.14);
    color: #e2e8f0;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.home-footer .footer-social__link:hover,
.home-footer .footer-social__link:focus-visible {
    transform: translateY(-1px);
    background: rgba(148, 163, 184, 0.14);
    border-color: rgba(147, 197, 253, 0.26);
    outline: none;
}

.home-footer .footer-text {
    margin: 0;
    color: #94a3b8;
    font-size: 0.95rem;
    text-align: center;
}

.home-compliance-slot {
    width: 100%;
    display: flex;
    justify-content: center;
}

.home-page .site-compliance-footer {
    width: 100%;
    margin: 0;
}

.tc-nav__guest,
.tc-nav__account {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tc-nav__guest[hidden],
.tc-nav__account[hidden] {
    display: none !important;
}

.tc-nav .tc-nav__workspace {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: rgba(59, 130, 246, 0.08);
}

.tc-nav__identity {
    display: grid;
    max-width: 160px;
    line-height: 1.15;
}

.tc-nav__identity strong {
    overflow: hidden;
    color: var(--text);
    font-size: 0.78rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tc-nav__identity small {
    margin-top: 4px;
    color: #7f94ae;
    font-size: 0.66rem;
}

.tc-analysis-progress {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 15px;
    border: 1px solid rgba(96, 165, 250, 0.28);
    border-radius: 13px;
    background: rgba(37, 99, 235, 0.09);
}

.tc-analysis-progress[hidden] {
    display: none;
}

.tc-analysis-progress__spinner {
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    border: 3px solid rgba(147, 197, 253, 0.24);
    border-top-color: #60a5fa;
    border-radius: 50%;
    animation: tc-spin 0.8s linear infinite;
}

.tc-analysis-progress strong,
.tc-analysis-progress small {
    display: block;
}

.tc-analysis-progress small {
    margin-top: 3px;
    color: #9fb4cf;
}

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

.tc-analysis-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px 24px;
    padding: 20px;
    border: 1px solid #213d5e;
    border-radius: 17px;
    background: linear-gradient(145deg, rgba(10, 27, 48, 0.96), rgba(7, 20, 37, 0.98));
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.tc-analysis-card:hover {
    border-color: #365b84;
    transform: translateY(-1px);
}

.tc-analysis-card.is-highlighted {
    border-color: rgba(93, 212, 198, 0.55);
    box-shadow: 0 0 0 3px rgba(93, 212, 198, 0.07);
}

.tc-analysis-card__main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 92px;
    gap: 22px;
    align-items: center;
}

.tc-analysis-card__heading {
    min-width: 0;
}

.tc-analysis-card__type {
    color: #7fb2ff;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.tc-analysis-card__heading h4 {
    margin: 5px 0 6px;
    font: 700 1.08rem "Space Grotesk", sans-serif;
}

.tc-analysis-card__heading p {
    display: -webkit-box;
    max-width: 760px;
    margin: 0 0 8px;
    overflow: hidden;
    color: #9fb2ca;
    font-size: 0.79rem;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.tc-analysis-card__heading small {
    color: #7188a3;
    font-size: 0.7rem;
}

.tc-readiness-gauge {
    --tc-gauge-color: #fbbf24;
    position: relative;
    display: grid;
    width: 88px;
    height: 88px;
    place-items: center;
    border-radius: 50%;
    background: conic-gradient(var(--tc-gauge-color) calc(var(--tc-score) * 3.6deg), #172a42 0);
}

.tc-readiness-gauge::before {
    position: absolute;
    inset: 7px;
    border-radius: 50%;
    background: #09192c;
    content: "";
}

.tc-readiness-gauge.is-strong {
    --tc-gauge-color: #5dd4c6;
}

.tc-readiness-gauge.is-risk {
    --tc-gauge-color: #fb7185;
}

.tc-readiness-gauge > div {
    position: relative;
    z-index: 1;
    text-align: center;
    line-height: 1;
}

.tc-readiness-gauge strong {
    font: 700 1.45rem "Space Grotesk", sans-serif;
}

.tc-readiness-gauge span {
    color: #91a7c1;
    font-size: 0.7rem;
}

.tc-readiness-gauge small {
    display: block;
    margin-top: 5px;
    color: #7f94ae;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tc-analysis-card__metrics {
    grid-column: 1 / 2;
    display: grid;
    grid-template-columns: 1.3fr 1.4fr repeat(4, minmax(78px, 0.7fr));
    gap: 7px;
}

.tc-analysis-card__metrics span {
    min-width: 0;
    padding: 9px 10px;
    border: 1px solid rgba(65, 91, 122, 0.42);
    border-radius: 10px;
    background: rgba(17, 36, 61, 0.48);
}

.tc-analysis-card__metrics small,
.tc-analysis-card__metrics strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tc-analysis-card__metrics small {
    color: #738aa5;
    font-size: 0.58rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.tc-analysis-card__metrics strong {
    margin-top: 3px;
    color: #dce8f7;
    font-size: 0.72rem;
    text-transform: capitalize;
}

.tc-analysis-card__actions {
    grid-column: 2;
    grid-row: 1 / 3;
    display: flex;
    max-width: 150px;
    align-content: center;
    align-items: stretch;
    justify-content: center;
    flex-direction: column;
    gap: 7px;
}

.tc-analysis-card__actions .tc-mini-button {
    min-width: 112px;
    text-align: center;
}

.tc-result-highlight {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px 28px;
    align-items: center;
    margin-bottom: 24px;
    padding: 22px;
    border: 1px solid rgba(93, 212, 198, 0.35);
    border-radius: 17px;
    background: linear-gradient(135deg, rgba(20, 83, 91, 0.25), rgba(13, 26, 45, 0.9));
}

.tc-result-highlight h3,
.tc-result-highlight p {
    margin-top: 0;
}

.tc-result-highlight .tc-eyebrow {
    margin-bottom: 7px;
    color: #72e0d3;
}

.tc-result-highlight__metrics {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
}

.tc-result-highlight__metrics span {
    padding: 12px;
    border-radius: 11px;
    background: rgba(3, 15, 29, 0.45);
}

.tc-result-highlight__metrics small,
.tc-result-highlight__metrics strong {
    display: block;
}

.tc-result-highlight__metrics small {
    color: #8fa5bf;
    font-size: 0.67rem;
    text-transform: uppercase;
}

.tc-result-highlight__metrics strong {
    margin-top: 3px;
    text-transform: capitalize;
}

.tc-report__header {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
}

.tc-report__brand {
    margin: 0 0 25px;
    color: #7fb2ff;
    font-weight: 800;
}

.tc-report__brand span {
    color: #8197b1;
    font-size: 0.74rem;
    font-weight: 600;
}

.tc-report__meta {
    min-width: 150px;
    text-align: right;
}

.tc-report__meta span,
.tc-report__meta strong {
    display: block;
}

.tc-report__meta span {
    color: #8197b1;
    font-size: 0.7rem;
    text-transform: uppercase;
}

.tc-report__summary {
    padding: 17px;
    border-left: 4px solid #3b82f6;
    background: rgba(59, 130, 246, 0.08);
}

.tc-report__footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 35px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    color: #7f94ae;
    font-size: 0.72rem;
}

.tc-report-actions {
    margin-top: 20px;
}

@media (max-width: 620px) {
    .tc-header {
        height: 68px;
        gap: 8px;
        padding-inline: 12px;
    }

    .tc-brand {
        min-width: 0;
        gap: 8px;
    }

    .tc-brand img {
        width: 34px;
        height: 34px;
        flex: 0 0 34px;
    }

    .tc-brand strong {
        display: block;
        max-width: 118px;
        overflow: hidden;
        font-size: 0.86rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .tc-brand small,
    .tc-nav > a {
        display: none;
    }

    .tc-nav {
        flex: 0 0 auto;
        gap: 5px;
    }

    .tc-nav__guest,
    .tc-nav__account {
        gap: 5px;
    }

    .tc-nav__identity {
        display: none;
    }

    .tc-nav .tc-nav__workspace {
        display: inline-flex;
        min-height: 38px;
        padding: 0 9px;
        font-size: 0.72rem;
        white-space: nowrap;
    }

    .tc-nav .tc-link-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 38px;
        padding: 0 8px;
        color: #dbeafe;
        font-size: 0.76rem;
        white-space: nowrap;
    }

    .tc-nav .tc-button--small {
        min-height: 38px;
        padding: 0 10px;
        border-radius: 10px;
        font-size: 0.74rem;
        white-space: nowrap;
    }

    .tc-nav__guest[hidden],
    .tc-nav__account[hidden] {
        display: none !important;
    }

    .tc-hero {
        padding: 28px 0 38px;
        gap: 30px;
    }

    .tc-hero h1 {
        font-size: clamp(2.15rem, 10.5vw, 3.2rem);
        line-height: 1.02;
    }

    .tc-lead {
        font-size: 0.98rem;
        line-height: 1.65;
    }

    .tc-hero__actions {
        gap: 9px;
    }

    .tc-hero__actions .tc-button {
        width: 100%;
        min-height: 48px;
    }

    .tc-hero-pills {
        display: grid;
        grid-template-columns: 1fr;
    }

    .tc-hero-pills span {
        width: 100%;
    }

    .tc-hero__visual {
        width: 100%;
        padding: 17px;
        border-radius: 20px;
        transform: none;
    }

    .tc-score strong {
        font-size: 3rem;
    }

    .tc-signal {
        padding: 12px 0;
        font-size: 0.86rem;
    }

    .tc-section {
        padding: 34px 0;
    }

    .tc-section__heading h2,
    .tc-app h2 {
        font-size: clamp(1.8rem, 8.5vw, 2.45rem);
    }

    .tc-plan {
        padding: 22px 18px;
    }

    .tc-plan__flag {
        position: static;
        display: inline-flex;
        margin-bottom: 10px;
    }

    .tc-app {
        padding: 38px 0;
    }

    .tc-app__top,
    .tc-user-menu {
        width: 100%;
    }

    .tc-user-menu {
        justify-content: space-between;
    }

    .tc-subscription {
        margin: 20px 0;
        gap: 8px;
    }

    .tc-metric {
        padding: 14px;
    }

    .tc-tabs {
        position: sticky;
        top: 68px;
        z-index: 50;
        gap: 2px;
        margin-inline: -12px;
        padding-inline: 12px;
        background: rgba(7, 17, 31, 0.96);
        scrollbar-width: thin;
    }

    .tc-tabs button {
        min-height: 48px;
        padding: 12px 10px;
        font-size: 0.78rem;
    }

    .tc-panel {
        overflow: hidden;
        padding: 18px 12px;
        border-radius: 16px;
    }

    .tc-form,
    .tc-form--inline,
    .tc-tools-grid {
        width: 100%;
        max-width: none;
        grid-template-columns: 1fr;
    }

    .tc-form input,
    .tc-form select {
        min-width: 0;
        font-size: 16px;
    }

    .tc-form .tc-button,
    .tc-plan-button {
        width: 100%;
    }

    .tc-file input {
        max-width: 100%;
        overflow: hidden;
    }

    .tc-list-item {
        gap: 12px;
        padding: 14px;
    }

    .tc-list-actions,
    .tc-admin-actions {
        width: 100%;
    }

    .tc-mini-button {
        min-height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .tc-dialog {
        width: calc(100% - 20px);
        max-height: calc(100dvh - 20px);
        margin: auto;
        padding: 26px 16px 20px;
        overflow-y: auto;
        border-radius: 17px;
    }

    .tc-dialog--report {
        width: calc(100% - 12px);
        max-height: calc(100dvh - 12px);
    }

    .tc-result-highlight {
        grid-template-columns: 1fr;
    }

    .tc-analysis-card {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 16px;
    }

    .tc-analysis-card__main {
        grid-template-columns: minmax(0, 1fr) 76px;
        gap: 12px;
    }

    .tc-readiness-gauge {
        width: 74px;
        height: 74px;
    }

    .tc-readiness-gauge strong {
        font-size: 1.2rem;
    }

    .tc-analysis-card__heading p {
        -webkit-line-clamp: 3;
    }

    .tc-analysis-card__metrics {
        grid-column: 1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tc-analysis-card__actions {
        grid-column: 1;
        grid-row: auto;
        max-width: none;
        flex-direction: row;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .tc-analysis-card__actions .tc-mini-button {
        min-width: 0;
    }

    .tc-result-highlight__metrics {
        grid-template-columns: 1fr;
    }

    .tc-report__header,
    .tc-report__footer {
        display: block;
    }

    .tc-report__meta {
        margin-top: 14px;
        text-align: left;
    }

    .tc-report h2 {
        overflow-wrap: anywhere;
        font-size: 1.55rem;
    }

    .tc-table {
        min-width: 660px;
    }

    .tc-admin-table {
        margin-inline: -4px;
    }

    .tc-admin-table table {
        min-width: 680px;
    }

    .home-footer {
        width: min(100% - 24px, 1160px);
        padding-bottom: 24px;
    }
}

@media (max-width: 380px) {
    .tc-brand strong {
        max-width: 92px;
        font-size: 0.8rem;
    }

    .tc-nav .tc-link-button {
        padding-inline: 5px;
        font-size: 0.71rem;
    }

    .tc-nav .tc-button--small {
        padding-inline: 8px;
        font-size: 0.69rem;
    }
}

@media print {
    @page {
        size: A4;
        margin: 14mm;
    }

    html,
    body {
        background: #fff !important;
    }

    body > * {
        display: none !important;
    }

    body > .tc-dialog--report[open] {
        position: static !important;
        inset: auto !important;
        display: block !important;
        width: auto !important;
        max-width: none !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: #fff !important;
        box-shadow: none !important;
        color: #172033 !important;
    }

    .tc-dialog--report::backdrop,
    .tc-dialog__close,
    .tc-report-actions {
        display: none !important;
    }

    .tc-report {
        font: 10pt/1.5 Manrope, sans-serif;
    }

    .tc-report__header {
        border-bottom: 2px solid #2563eb;
    }

    .tc-report__brand,
    .tc-report .tc-eyebrow {
        color: #2563eb !important;
    }

    .tc-report h2 {
        color: #0f172a !important;
        font-size: 22pt;
    }

    .tc-report h3 {
        color: #172033 !important;
        font-size: 13pt;
    }

    .tc-report__summary {
        border-left-color: #2563eb;
        background: #eff6ff !important;
        color: #27364b !important;
    }

    .tc-report-summary {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .tc-report .tc-metric {
        break-inside: avoid;
        border-color: #cbd5e1;
        background: #f8fafc !important;
        color: #172033 !important;
    }

    .tc-report .tc-metric small,
    .tc-report__meta,
    .tc-report__brand span,
    .tc-report__footer {
        color: #526277 !important;
    }

    .tc-report-section,
    .tc-report tr {
        break-inside: avoid;
    }

    .tc-table-wrap {
        overflow: visible !important;
    }

    .tc-report .tc-table {
        min-width: 0 !important;
        font-size: 8pt;
    }

    .tc-report .tc-table th {
        background: #e8eef7 !important;
        color: #172033 !important;
    }

    .tc-report .tc-table th,
    .tc-report .tc-table td {
        border-color: #b8c3d1 !important;
        color: #172033 !important;
    }

    .tc-report__footer {
        border-top-color: #cbd5e1;
    }
}
