:root {
    --tb-bg: #f3efe8;
    --tb-panel: rgba(255, 252, 247, 0.92);
    --tb-panel-strong: #fffaf2;
    --tb-text: #25303a;
    --tb-muted: #6c7a84;
    --tb-line: rgba(37, 48, 58, 0.1);
    --tb-line-strong: rgba(37, 48, 58, 0.18);
    --tb-blue: #1360ad;
    --tb-blue-soft: #d9ebff;
    --tb-green: #11b46c;
    --tb-green-soft: #ddfff0;
    --tb-orange: #e1a33e;
    --tb-orange-soft: #fff4da;
    --tb-shadow: 0 30px 90px rgba(18, 39, 56, 0.16);
    --tb-radius-xl: 28px;
    --tb-radius-lg: 20px;
    --tb-radius-md: 14px;
}

html,
body {
    margin: 0;
    min-height: 100%;
    background:
        radial-gradient(circle at top left, rgba(19, 96, 173, 0.18), transparent 24%),
        radial-gradient(circle at right 10%, rgba(17, 180, 108, 0.15), transparent 20%),
        linear-gradient(180deg, #faf7f2 0%, #efe9de 100%);
    color: var(--tb-text);
    font-family: "Outfit", "Segoe UI", sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(19, 96, 173, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(19, 96, 173, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent);
}

.tb-shell {
    display: grid;
    grid-template-columns: 320px 1fr;
    min-height: 100vh;
}

.tb-sidebar {
    padding: 20px;
}

.tb-main {
    padding: 20px 20px 20px 0;
}

.tb-content {
    min-height: calc(100vh - 40px);
    padding: 32px;
    border: 1px solid var(--tb-line);
    border-radius: var(--tb-radius-xl);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(252, 247, 240, 0.92));
    box-shadow: var(--tb-shadow);
    backdrop-filter: blur(14px);
}

.tb-nav-shell {
    display: flex;
    flex-direction: column;
    gap: 28px;
    height: calc(100vh - 40px);
    padding: 24px 22px;
    border: 1px solid var(--tb-line);
    border-radius: var(--tb-radius-xl);
    background: linear-gradient(180deg, rgba(255, 252, 247, 0.95), rgba(241, 235, 225, 0.92));
    box-shadow: var(--tb-shadow);
    position: sticky;
    top: 20px;
}

.tb-brand {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
}

.tb-brand-logo {
    width: min(100%, 220px);
    height: 72px;
    object-fit: contain;
    object-position: left center;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    display: block;
}

.tb-brand > div {
    min-width: 0;
    padding-left: 0;
}

.tb-brand-kicker,
.tb-eyebrow,
.tb-code-label {
    margin: 0;
    color: var(--tb-muted);
    font-family: "IBM Plex Mono", Consolas, monospace;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.tb-brand-name {
    font-size: 1.3rem;
    font-weight: 700;
}

.tb-nav-toolbar,
.tb-auth-links,
.tb-confirm-flow,
.tb-hero-actions,
.tb-form-grid,
.tb-mapping-grid,
.tb-preview-header,
.tb-page-header,
.tb-dashboard-grid,
.tb-upload-grid,
.tb-preview-grid,
.tb-grid-three,
.tb-grid-four,
.tb-mode-grid {
    display: flex;
    gap: 16px;
}

.tb-nav-toolbar {
    align-items: center;
}

.tb-nav-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tb-nav-item .nav-link,
.tb-manage-link,
.tb-logout-button {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid transparent;
    border-radius: 14px;
    color: var(--tb-text);
    background: transparent;
    transition: all 0.2s ease;
}

.tb-nav-item .nav-link span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 10px;
    background: rgba(19, 96, 173, 0.08);
    color: var(--tb-blue);
    font-family: "IBM Plex Mono", Consolas, monospace;
    font-size: 0.8rem;
}

.tb-nav-item .nav-link.active,
.tb-nav-item .nav-link:hover,
.tb-manage-link:hover,
.tb-logout-button:hover {
    background: rgba(19, 96, 173, 0.08);
    border-color: rgba(19, 96, 173, 0.14);
}

.tb-user-panel {
    margin-top: auto;
    padding: 18px;
    border-radius: var(--tb-radius-lg);
    border: 1px solid var(--tb-line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(244, 239, 230, 0.9));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.tb-user-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 14px;
}

.tb-user-meta strong {
    font-size: 1.05rem;
}

.tb-manage-link {
    margin-bottom: 6px;
}

.tb-user-meta small,
.tb-upload-meta small,
.tb-page-header p,
.tb-feature-card p,
.tb-action-card p,
.tb-plan-card p,
.tb-suggestion {
    color: var(--tb-muted);
}

.tb-page-header {
    flex-direction: column;
    margin-bottom: 28px;
}

.tb-page-header h1,
.tb-hero-copy h1,
.tb-auth-card h1 {
    margin: 0;
    font-size: clamp(2rem, 3vw, 3.4rem);
    line-height: 1.05;
}

.tb-page-header p:last-child,
.tb-hero-subtitle {
    max-width: 760px;
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.7;
}

.tb-landing {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.tb-hero-card,
.tb-feature-card,
.tb-plan-card,
.tb-action-card,
.tb-metric-card,
.tb-wizard-section,
.tb-upload-card,
.tb-preview-card,
.tb-auth-card {
    border: 1px solid var(--tb-line);
    border-radius: var(--tb-radius-xl);
    background: var(--tb-panel);
    box-shadow: var(--tb-shadow);
}

.tb-hero-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 28px;
    padding: 28px;
}

.tb-hero-copy {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.tb-hero-preview {
    display: flex;
    align-items: center;
}

.tb-beta-hero {
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
    align-items: stretch;
    padding: clamp(28px, 4vw, 52px);
    background:
        radial-gradient(circle at 92% 8%, rgba(17, 180, 108, 0.14), transparent 34%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(246, 240, 231, 0.94));
}

.tb-beta-hero .tb-hero-copy h1 {
    max-width: 18ch;
    font-size: clamp(2.35rem, 4vw, 4.8rem);
    letter-spacing: -0.035em;
}

.tb-beta-snapshot {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    padding: 22px;
    border: 1px solid rgba(19, 96, 173, 0.15);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.tb-beta-snapshot-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.tb-beta-snapshot-grid > div {
    min-width: 0;
    padding: 16px;
    border: 1px solid var(--tb-line);
    border-radius: 15px;
    background: rgba(247, 243, 236, 0.88);
}

.tb-beta-snapshot-grid strong,
.tb-beta-snapshot-grid span {
    display: block;
}

.tb-beta-snapshot-grid strong {
    color: var(--tb-blue);
    font-family: "IBM Plex Mono", Consolas, monospace;
    font-size: clamp(1.05rem, 2vw, 1.45rem);
}

.tb-beta-snapshot-grid span {
    margin-top: 7px;
    color: var(--tb-muted);
    font-size: 0.84rem;
    line-height: 1.35;
}

.tb-landing-section {
    display: grid;
    gap: 22px;
    padding: clamp(10px, 2vw, 24px) 0;
}

.tb-landing-section-header {
    display: grid;
    gap: 10px;
    max-width: 820px;
}

.tb-landing-section-header h2,
.tb-landing-privacy h2,
.tb-final-cta h2 {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.025em;
}

.tb-landing-section-header > p:last-child,
.tb-landing-privacy p,
.tb-final-cta p {
    margin: 0;
    color: var(--tb-muted);
    line-height: 1.65;
}

.tb-how-card {
    position: relative;
    overflow: hidden;
    min-height: 205px;
    box-shadow: 0 18px 46px rgba(18, 39, 56, 0.09);
}

.tb-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--tb-blue-soft);
    color: var(--tb-blue);
    font-family: "IBM Plex Mono", Consolas, monospace;
    font-weight: 600;
}

.tb-landing-privacy {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 20px;
    align-items: start;
    padding: clamp(24px, 4vw, 40px);
    border: 1px solid rgba(17, 180, 108, 0.2);
    border-radius: var(--tb-radius-xl);
    background:
        radial-gradient(circle at 90% 10%, rgba(17, 180, 108, 0.13), transparent 32%),
        rgba(239, 255, 247, 0.78);
}

.tb-landing-privacy > div:last-child {
    display: grid;
    gap: 9px;
}

.tb-privacy-icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: var(--tb-green);
    color: white;
    box-shadow: 0 16px 30px rgba(17, 180, 108, 0.22);
}

.tb-comparison-wrapper {
    overflow-x: auto;
    border: 1px solid var(--tb-line);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 18px 46px rgba(18, 39, 56, 0.08);
}

.tb-comparison-wrapper:focus-visible {
    outline: 3px solid rgba(19, 96, 173, 0.35);
    outline-offset: 3px;
}

.tb-comparison-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
}

.tb-comparison-table th,
.tb-comparison-table td {
    padding: 17px 20px;
    border-bottom: 1px solid var(--tb-line);
    text-align: left;
    vertical-align: middle;
}

.tb-comparison-table thead th {
    background: rgba(19, 96, 173, 0.07);
    color: var(--tb-blue);
    font-family: "IBM Plex Mono", Consolas, monospace;
    font-size: 0.78rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.tb-comparison-table tbody th {
    width: 32%;
    color: var(--tb-text);
    font-weight: 600;
}

.tb-comparison-table tbody tr:last-child th,
.tb-comparison-table tbody tr:last-child td {
    border-bottom: 0;
}

.tb-comparison-yes {
    color: var(--tb-green);
    font-size: 1.2rem;
    font-weight: 700;
}

.tb-comparison-no {
    color: var(--tb-muted);
}

.tb-beta-discount {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px;
    border: 1px solid rgba(225, 163, 62, 0.24);
    border-radius: 20px;
    background: var(--tb-orange-soft);
}

.tb-beta-discount h3 {
    margin: 7px 0;
}

.tb-beta-discount p {
    margin: 0;
    color: var(--tb-muted);
}

.tb-beta-discount code {
    flex: 0 0 auto;
    padding: 14px 18px;
    border: 1px dashed rgba(19, 96, 173, 0.35);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--tb-blue);
    font-family: "IBM Plex Mono", Consolas, monospace;
    font-size: 1rem;
    font-weight: 600;
}

.tb-final-cta {
    display: grid;
    justify-items: start;
    gap: 16px;
    padding: clamp(30px, 5vw, 56px);
    border-radius: var(--tb-radius-xl);
    background:
        radial-gradient(circle at 88% 18%, rgba(17, 180, 108, 0.34), transparent 32%),
        linear-gradient(135deg, #0d4e8d, var(--tb-blue));
    color: white;
    box-shadow: var(--tb-shadow);
}

.tb-final-cta .tb-eyebrow,
.tb-final-cta p {
    color: rgba(255, 255, 255, 0.75);
}

.tb-final-cta .tb-button-primary {
    background: white;
    color: var(--tb-blue);
    box-shadow: none;
}

.tb-window {
    width: 100%;
    border: 1px solid var(--tb-line);
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(246, 240, 231, 0.95));
}

.tb-window-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--tb-line);
    font-family: "IBM Plex Mono", Consolas, monospace;
    color: var(--tb-muted);
}

.tb-window-header span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.tb-window-header span:nth-child(1) { background: #ff6a55; }
.tb-window-header span:nth-child(2) { background: #ffbf3f; }
.tb-window-header span:nth-child(3) { background: #22c36d; }

.tb-window-body {
    padding: 18px;
}

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

    .tb-sidebar,
    .tb-main {
        padding: 16px;
    }

    .tb-content,
    .tb-nav-shell {
        min-height: auto;
    }

    .tb-nav-shell {
        position: static;
    }
}

.tb-mock-table,
.tb-preview-table {
    width: 100%;
    border-collapse: collapse;
    font-family: "IBM Plex Mono", Consolas, monospace;
}

.tb-mock-table th,
.tb-mock-table td,
.tb-preview-table th,
.tb-preview-table td {
    padding: 12px 10px;
    border-bottom: 1px solid var(--tb-line);
    text-align: left;
    font-size: 0.86rem;
}

.tb-progress-mock,
.tb-progress {
    margin-top: 18px;
    height: 12px;
    border-radius: 999px;
    background: rgba(19, 96, 173, 0.1);
    position: relative;
    overflow: hidden;
}

.tb-progress-mock span {
    display: block;
    margin-top: 14px;
    text-align: right;
    color: var(--tb-muted);
    font-family: "IBM Plex Mono", Consolas, monospace;
    font-size: 0.82rem;
}

.tb-progress-mock-fill,
.tb-progress-fill {
    position: absolute;
    inset: 0 auto 0 0;
    width: 62%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--tb-blue), var(--tb-green));
}

.tb-progress-fill.warning {
    background: linear-gradient(90deg, #d88a16, #f0b83e);
}

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

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

.tb-feature-card,
.tb-plan-card,
.tb-action-card,
.tb-metric-card,
.tb-upload-card,
.tb-preview-card {
    padding: 22px;
}

.tb-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 18px;
}

.tb-action-card,
.tb-wizard-section {
    overflow: hidden;
}

.tb-action-card h3,
.tb-plan-card h3,
.tb-feature-card h3,
.tb-upload-card h3,
.tb-preview-card h3 {
    margin: 8px 0 10px;
}

.tb-metric-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tb-metric-card small {
    color: var(--tb-muted);
    font-family: "IBM Plex Mono", Consolas, monospace;
    text-transform: uppercase;
}

.tb-metric-value {
    font-size: 1.8rem;
    font-weight: 700;
}

.tb-wizard-section {
    margin-bottom: 20px;
    padding: 22px;
}

.tb-wizard-section header,
.tb-preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.tb-upload-grid,
.tb-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

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

.tb-mode-card {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 16px 18px;
    border: 1px solid var(--tb-line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.7);
}

.tb-confirm-flow {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
}

.tb-button-primary,
.tb-button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 14px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.tb-button-primary {
    background: linear-gradient(135deg, var(--tb-blue), #0d4e8d);
    color: white;
    box-shadow: 0 14px 26px rgba(19, 96, 173, 0.24);
}

.tb-button-secondary {
    background: rgba(255, 255, 255, 0.72);
    color: var(--tb-text);
    border-color: var(--tb-line-strong);
}

.tb-button-primary:hover,
.tb-button-secondary:hover {
    transform: translateY(-1px);
}

.tb-button-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.tb-plan-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    font-family: "IBM Plex Mono", Consolas, monospace;
    font-size: 0.8rem;
    font-weight: 600;
}

.tb-plan-free {
    background: rgba(108, 122, 132, 0.12);
    color: var(--tb-muted);
}

.tb-plan-start {
    background: var(--tb-blue-soft);
    color: var(--tb-blue);
}

.tb-plan-pro {
    background: var(--tb-green-soft);
    color: #0a9357;
}

.tb-plan-enterprise {
    background: var(--tb-orange-soft);
    color: #aa6a00;
}

.tb-language-picker,
.form-control,
.form-select {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--tb-line-strong);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--tb-text);
    box-shadow: none !important;
}

.form-control:focus,
.form-select:focus,
.tb-language-picker:focus {
    border-color: rgba(19, 96, 173, 0.36);
}

.tb-preview-table-wrapper {
    margin-top: 16px;
    overflow: auto;
    border: 1px solid var(--tb-line);
    border-radius: 18px;
}

.tb-upload-meta,
.tb-inline-result {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
}

.tb-inline-result code {
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(19, 96, 173, 0.08);
    word-break: break-all;
}

.tb-simple-list,
.tb-plan-list {
    margin: 12px 0 0;
    padding-left: 18px;
    color: var(--tb-muted);
}

.tb-simple-list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--tb-line);
}

.tb-simple-list li span {
    color: var(--tb-muted);
    font-size: 0.92rem;
}

.tb-state {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 600;
}

.tb-state.ok {
    background: var(--tb-green-soft);
    color: #0b9c5c;
}

.tb-state.wait {
    background: var(--tb-orange-soft);
    color: #aa6a00;
}

.tb-state.info {
    background: rgba(19, 96, 173, 0.1);
    color: var(--tb-blue);
}

.tb-alert {
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid var(--tb-line);
}

.tb-alert.success {
    background: var(--tb-green-soft);
    color: #0d8b56;
}

.tb-alert.error {
    background: #fff0ef;
    color: #b94635;
}

.tb-auth-shell {
    display: flex;
    justify-content: center;
    padding: 32px 0;
}

.tb-auth-card {
    width: min(100%, 720px);
    padding: 28px;
}

.tb-auth-links {
    justify-content: space-between;
    margin-top: 18px;
    color: var(--tb-blue);
}

.tb-password-field {
    position: relative;
}

.tb-password-input {
    padding-right: 3.25rem;
}

.tb-password-toggle {
    position: absolute;
    top: 50%;
    right: 0.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--tb-muted);
    transform: translateY(-50%);
    transition: color 0.2s ease, transform 0.2s ease;
}

.tb-password-toggle:hover,
.tb-password-toggle:focus {
    color: var(--tb-blue);
    transform: translateY(-50%) scale(1.04);
}

.tb-password-toggle:focus-visible {
    outline: 2px solid rgba(19, 96, 173, 0.35);
    outline-offset: 3px;
    border-radius: 999px;
}

.tb-password-icon {
    width: 1.05rem;
    height: 1.05rem;
}

.tb-password-help {
    margin-top: 8px;
    color: var(--tb-muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

.tb-beta-usage {
    margin: 22px 0 28px;
    padding: 20px 0;
    border-top: 1px solid var(--tb-line);
    border-bottom: 1px solid var(--tb-line);
}

.tb-beta-usage .tb-progress {
    margin-top: 12px;
}

.tb-beta-warning {
    margin: 12px 0 0;
    color: #a45f00;
    font-weight: 600;
}

.tb-code-value,
.tb-beta-code {
    font-family: "IBM Plex Mono", Consolas, monospace;
}

.tb-beta-code {
    width: fit-content;
    padding: 9px 12px;
    border: 1px solid rgba(19, 96, 173, 0.2);
    border-radius: 6px;
    background: rgba(19, 96, 173, 0.06);
    color: var(--tb-blue);
}

.tb-privacy-notice,
.tb-auth-privacy {
    display: grid;
    gap: 4px;
    margin-top: 18px;
    padding: 14px 16px;
    border-left: 3px solid var(--tb-green);
    background: rgba(13, 156, 92, 0.06);
    color: var(--tb-text);
}

.tb-auth-privacy {
    margin: 0 0 20px;
    color: var(--tb-muted);
    font-size: 0.9rem;
}

.tb-app-footer {
    padding: 18px 24px 28px;
    text-align: center;
    color: var(--tb-muted);
    font-family: "IBM Plex Mono", Consolas, monospace;
    font-size: 0.78rem;
}

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

.tb-locked-card {
    min-width: 0;
    padding: 20px;
    border: 1px solid var(--tb-line);
    border-radius: 8px;
    background: rgba(255, 252, 247, 0.7);
}

.tb-locked-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.tb-feature-symbol {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(19, 96, 173, 0.18);
    border-radius: 6px;
    color: var(--tb-blue);
    font-family: "IBM Plex Mono", Consolas, monospace;
    font-size: 0.76rem;
    font-weight: 600;
}

.tb-lock-badge {
    padding: 5px 8px;
    border-radius: 4px;
    background: var(--tb-orange-soft);
    color: #8f5d08;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
}

.tb-locked-card h2 {
    margin: 18px 0 8px;
    font-size: 1.05rem;
}

.tb-locked-card p {
    margin: 0 0 14px;
    color: var(--tb-muted);
}

.tb-locked-card small {
    color: var(--tb-blue);
    font-family: "IBM Plex Mono", Consolas, monospace;
}

.tb-waitlist-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 32px;
    padding: 24px 0;
    border-top: 1px solid var(--tb-line);
}

.tb-waitlist-cta h2 {
    margin: 0;
    font-size: 1.25rem;
}

.tb-registration-progress {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 18px 0 14px;
    padding: 14px 16px;
    border: 1px solid var(--tb-line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--tb-ink);
}

.tb-registration-progress .spinner-border {
    width: 1rem;
    height: 1rem;
}

.tb-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 0;
}

#blazor-error-ui {
    display: none;
}

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

    .tb-sidebar {
        padding: 20px 20px 0;
    }

    .tb-main {
        padding: 20px;
    }

    .tb-nav-shell {
        position: static;
        height: auto;
    }

    .tb-hero-card,
    .tb-upload-grid,
    .tb-preview-grid,
    .tb-grid-three,
    .tb-grid-four,
    .tb-dashboard-grid {
        grid-template-columns: 1fr 1fr;
    }

    .tb-locked-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 860px) {
    .tb-content {
        padding: 20px;
        min-height: auto;
    }

    .tb-hero-card,
    .tb-upload-grid,
    .tb-preview-grid,
    .tb-grid-three,
    .tb-grid-four,
    .tb-dashboard-grid,
    .tb-form-grid,
    .tb-mapping-grid,
    .tb-mode-grid {
        grid-template-columns: 1fr;
    }

    .tb-locked-grid {
        grid-template-columns: 1fr;
    }

    .tb-nav-toolbar,
    .tb-confirm-flow,
    .tb-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .tb-waitlist-cta {
        align-items: stretch;
        flex-direction: column;
    }

    .tb-beta-discount {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .tb-beta-hero {
        padding: 24px 20px;
    }

    .tb-beta-snapshot-grid {
        grid-template-columns: 1fr;
    }

    .tb-landing-privacy {
        grid-template-columns: 1fr;
    }

    .tb-comparison-table {
        min-width: 650px;
    }

    .tb-final-cta {
        padding: 30px 22px;
    }
}
