
:root{
    --tz-bg:#081122;
    --tz-bg-soft:#0d1830;
    --tz-panel:#101b36cc;
    --tz-panel-strong:#13203f;
    --tz-line:#22345f;
    --tz-line-soft:rgba(255,255,255,.08);
    --tz-text:#f4f7ff;
    --tz-text-soft:#9fb0d3;
    --tz-text-dim:#7e8fb5;
    --tz-primary:#7c5cff;
    --tz-primary-strong:#6a47ff;
    --tz-primary-soft:rgba(124,92,255,.18);
    --tz-accent:#35d6c1;
    --tz-success:#22c55e;
    --tz-warning:#f59e0b;
    --tz-danger:#ef4444;
    --tz-shadow:0 30px 80px rgba(0,0,0,.35);
    --tz-radius-xl:28px;
    --tz-radius-lg:22px;
    --tz-radius-md:16px;
    --tz-radius-sm:12px;
    --tz-container:1440px;
    --tz-sidebar-width:308px;
    --tz-topbar-height:92px;
    --tz-font:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
    margin:0;
    font-family:var(--tz-font);
    background:
        radial-gradient(circle at top left, rgba(124,92,255,.24), transparent 28%),
        radial-gradient(circle at top right, rgba(53,214,193,.16), transparent 24%),
        linear-gradient(180deg,#07111f 0%,#0a1630 100%);
    color:var(--tz-text);
    min-height:100vh;
}

a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
button,input,textarea,select{font:inherit}
code,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace}

.tz-shell-body{
    min-height:100vh;
    position:relative;
    overflow-x:hidden;
}

.tz-site-bg{
    position:fixed;
    inset:0;
    overflow:hidden;
    pointer-events:none;
    z-index:0;
}
.tz-site-bg__orb{
    position:absolute;
    border-radius:999px;
    filter:blur(60px);
    opacity:.32;
}
.tz-site-bg__orb--a{
    width:420px;
    height:420px;
    left:-90px;
    top:-80px;
    background:rgba(124,92,255,.42);
}
.tz-site-bg__orb--b{
    width:360px;
    height:360px;
    right:-80px;
    top:120px;
    background:rgba(53,214,193,.24);
}
.tz-site-bg__grid{
    position:absolute;
    inset:0;
    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size:44px 44px;
    mask-image:linear-gradient(180deg,rgba(0,0,0,.55),transparent 85%);
}

.tz-shell{
    position:relative;
    z-index:1;
    width:min(calc(100% - 40px), var(--tz-container));
    margin:20px auto;
    min-height:calc(100vh - 40px);
    display:grid;
    grid-template-columns:var(--tz-sidebar-width) minmax(0,1fr);
    gap:20px;
}

.tz-sidebar{
    position:sticky;
    top:20px;
    align-self:start;
    min-height:calc(100vh - 40px);
}
.tz-sidebar__inner{
    background:linear-gradient(180deg, rgba(15,27,54,.96), rgba(10,18,35,.92));
    border:1px solid var(--tz-line-soft);
    border-radius:32px;
    box-shadow:var(--tz-shadow);
    padding:28px 22px;
    min-height:calc(100vh - 40px);
    display:flex;
    flex-direction:column;
    gap:24px;
    backdrop-filter:blur(20px);
}
.tz-brand{
    display:flex;
    align-items:center;
    gap:14px;
}
.tz-brand__mark{
    width:60px;
    height:60px;
    border-radius:20px;
    background:linear-gradient(135deg, rgba(124,92,255,.28), rgba(53,214,193,.22));
    display:flex;
    align-items:center;
    justify-content:center;
    padding:10px;
    box-shadow:0 12px 28px rgba(0,0,0,.22);
}
.tz-brand__mark img{
    width:100%;
    height:100%;
    object-fit:contain;
}
.tz-brand__copy{
    display:flex;
    flex-direction:column;
    gap:3px;
}
.tz-brand__title{
    font-size:1.45rem;
    font-weight:800;
    letter-spacing:-.03em;
}
.tz-brand__subtitle{
    color:var(--tz-text-soft);
    font-size:.92rem;
}

.tz-sidebar__section{
    display:flex;
    flex-direction:column;
    gap:10px;
}
.tz-sidebar__label{
    font-size:.78rem;
    color:var(--tz-text-dim);
    text-transform:uppercase;
    letter-spacing:.18em;
    padding:0 6px;
}
.tz-nav-link{
    display:flex;
    flex-direction:column;
    gap:4px;
    padding:14px 16px;
    border-radius:18px;
    border:1px solid transparent;
    color:var(--tz-text-soft);
    transition:.2s ease;
}
.tz-nav-link:hover{
    background:rgba(255,255,255,.04);
    border-color:rgba(255,255,255,.06);
    color:var(--tz-text);
}
.tz-nav-link.is-active{
    background:linear-gradient(135deg, rgba(124,92,255,.22), rgba(53,214,193,.1));
    border-color:rgba(124,92,255,.36);
    color:var(--tz-text);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
}
.tz-nav-link__title{
    font-weight:700;
    font-size:.98rem;
}
.tz-nav-link__meta{
    font-size:.84rem;
    color:var(--tz-text-dim);
}
.tz-nav-link.is-active .tz-nav-link__meta{
    color:#c7d2fe;
}

.tz-sidebar__card{
    margin-top:auto;
    background:rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.06);
    border-radius:22px;
    padding:18px;
}
.tz-sidebar__card-label{
    font-size:.78rem;
    text-transform:uppercase;
    letter-spacing:.14em;
    color:var(--tz-text-dim);
    margin-bottom:8px;
}
.tz-sidebar__card-user{
    font-size:1.1rem;
    font-weight:700;
}
.tz-sidebar__card-meta{
    margin-top:6px;
    color:var(--tz-text-soft);
    font-size:.92rem;
}

.tz-shell-main{
    min-width:0;
    display:flex;
    flex-direction:column;
    gap:18px;
}
.tz-shell-topbar{
    min-height:var(--tz-topbar-height);
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    padding:26px 30px;
    border-radius:30px;
    background:rgba(10,18,35,.76);
    border:1px solid rgba(255,255,255,.06);
    box-shadow:var(--tz-shadow);
    backdrop-filter:blur(16px);
}
.tz-shell-topbar__left{
    min-width:0;
}
.tz-shell-topbar__eyebrow{
    font-size:.8rem;
    letter-spacing:.18em;
    text-transform:uppercase;
    color:var(--tz-text-dim);
    margin-bottom:8px;
}
.tz-shell-topbar__title{
    margin:0;
    font-size:2rem;
    line-height:1;
    letter-spacing:-.04em;
}
.tz-shell-topbar__right{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
    justify-content:flex-end;
}

.tz-mobile-nav{
    display:none;
    grid-template-columns:repeat(3,1fr);
    gap:10px;
}
.tz-mobile-nav__link{
    text-align:center;
    padding:12px 14px;
    border-radius:16px;
    background:rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.06);
    color:var(--tz-text-soft);
    font-weight:600;
    font-size:.92rem;
}
.tz-mobile-nav__link.is-active{
    color:var(--tz-text);
    background:rgba(124,92,255,.22);
    border-color:rgba(124,92,255,.34);
}

.tz-shell-content{
    background:rgba(8,15,30,.58);
    border:1px solid rgba(255,255,255,.06);
    border-radius:30px;
    box-shadow:var(--tz-shadow);
    padding:28px;
    min-height:calc(100vh - 150px);
    backdrop-filter:blur(14px);
}

.tz-flash-stack{
    display:grid;
    gap:12px;
    margin-bottom:16px;
}
.tz-alert{
    padding:14px 16px;
    border-radius:16px;
    border:1px solid rgba(255,255,255,.08);
    background:rgba(255,255,255,.04);
}
.tz-alert--success{border-color:rgba(34,197,94,.28);background:rgba(34,197,94,.12)}
.tz-alert--error{border-color:rgba(239,68,68,.28);background:rgba(239,68,68,.12)}
.tz-alert--warning{border-color:rgba(245,158,11,.28);background:rgba(245,158,11,.12)}

.tz-badge{
    display:inline-flex;
    align-items:center;
    gap:8px;
    width:max-content;
    padding:8px 12px;
    border-radius:999px;
    background:rgba(124,92,255,.14);
    border:1px solid rgba(124,92,255,.28);
    color:#ddd7ff;
    font-weight:700;
    font-size:.83rem;
}
.tz-badge--soft{
    background:rgba(255,255,255,.05);
    border-color:rgba(255,255,255,.08);
    color:var(--tz-text-soft);
}

.tz-console-hero,
.tz-page-hero{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:24px;
    padding:32px;
    border-radius:28px;
    background:
        linear-gradient(135deg, rgba(124,92,255,.18), rgba(53,214,193,.08)),
        rgba(255,255,255,.03);
    border:1px solid rgba(255,255,255,.07);
    overflow:hidden;
    position:relative;
}
.tz-console-hero__content{max-width:860px}
.tz-console-hero__title,
.tz-page-title{
    margin:14px 0 12px;
    font-size:clamp(2.2rem,5vw,4.9rem);
    line-height:.97;
    letter-spacing:-.05em;
}
.tz-console-hero__text,
.tz-page-subtitle{
    margin:0;
    color:var(--tz-text-soft);
    font-size:1.04rem;
    line-height:1.75;
    max-width:820px;
}
.tz-page-actions{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    justify-content:flex-end;
}

.tz-panel-grid,
.tz-content-grid,
.tz-stats-grid,
.tz-kpi-grid,
.tz-metric-grid{
    display:grid;
    gap:18px;
    margin-top:20px;
}
.tz-stats-grid,
.tz-kpi-grid,
.tz-metric-grid{
    grid-template-columns:repeat(4,minmax(0,1fr));
}
.tz-content-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
}
.tz-panel-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
}

.tz-stat-card,
.tz-kpi-card,
.tz-panel,
.tz-data-card,
.tz-list-card{
    background:linear-gradient(180deg, rgba(17,28,54,.94), rgba(11,19,36,.9));
    border:1px solid rgba(255,255,255,.06);
    border-radius:24px;
    box-shadow:var(--tz-shadow);
}
.tz-stat-card,
.tz-kpi-card{
    padding:22px;
    display:flex;
    flex-direction:column;
    gap:10px;
}
.tz-stat-label,
.tz-kpi-label{
    color:var(--tz-text-dim);
    font-size:.82rem;
    text-transform:uppercase;
    letter-spacing:.14em;
}
.tz-stat-value,
.tz-kpi-value{
    font-size:1.5rem;
    font-weight:800;
    letter-spacing:-.03em;
    word-break:break-word;
}
.tz-stat-meta,
.tz-kpi-meta{
    color:var(--tz-text-soft);
    font-size:.92rem;
}

.tz-panel{
    padding:24px;
}
.tz-panel-lg{
    min-height:100%;
}
.tz-panel-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:16px;
    margin-bottom:16px;
}
.tz-panel-head h2{
    margin:6px 0 0;
    font-size:1.32rem;
    letter-spacing:-.03em;
}
.tz-eyebrow{
    font-size:.76rem;
    text-transform:uppercase;
    letter-spacing:.18em;
    color:var(--tz-text-dim);
}
.tz-panel-text{
    margin:0 0 18px;
    color:var(--tz-text-soft);
    line-height:1.7;
}
.tz-action-stack{
    display:grid;
    gap:12px;
}

.tz-endpoint-list{
    display:grid;
    gap:12px;
}
.tz-endpoint-item{
    display:grid;
    grid-template-columns:minmax(120px,170px) 1fr auto;
    align-items:center;
    gap:12px;
    padding:14px 16px;
    border-radius:18px;
    background:rgba(255,255,255,.03);
    border:1px solid rgba(255,255,255,.06);
}
.tz-endpoint-item span{
    font-weight:700;
}
.tz-endpoint-item code{
    color:#d8e1ff;
    overflow:auto;
    white-space:nowrap;
}

.tz-code-block{
    margin:0;
    padding:18px;
    border-radius:20px;
    background:#07101f;
    border:1px solid rgba(255,255,255,.08);
    color:#dbe7ff;
    overflow:auto;
    white-space:pre-wrap;
    word-break:break-word;
    line-height:1.7;
}

.tz-btn,
.btn{
    appearance:none;
    border:none;
    outline:none;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:13px 18px;
    border-radius:16px;
    font-weight:700;
    cursor:pointer;
    transition:transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
    text-decoration:none;
}
.tz-btn:hover,
.btn:hover{
    transform:translateY(-1px);
}
.tz-btn--primary,
.btn-primary{
    background:linear-gradient(135deg, var(--tz-primary), var(--tz-primary-strong));
    color:#fff;
    box-shadow:0 12px 32px rgba(124,92,255,.28);
}
.tz-btn--ghost,
.btn-ghost{
    background:rgba(255,255,255,.04);
    color:var(--tz-text);
    border:1px solid rgba(255,255,255,.08);
}
.tz-btn--sm,
.btn-sm{
    padding:10px 14px;
    border-radius:14px;
    font-size:.9rem;
}
.tz-btn--block,
.btn-block{
    width:100%;
}

.tz-table-wrap{
    overflow:auto;
    border-radius:20px;
    border:1px solid rgba(255,255,255,.06);
}
.tz-table{
    width:100%;
    border-collapse:collapse;
    min-width:760px;
    background:rgba(255,255,255,.02);
}
.tz-table th,
.tz-table td{
    padding:16px 18px;
    text-align:left;
    border-bottom:1px solid rgba(255,255,255,.06);
    vertical-align:middle;
}
.tz-table th{
    font-size:.78rem;
    text-transform:uppercase;
    letter-spacing:.14em;
    color:var(--tz-text-dim);
    background:rgba(255,255,255,.03);
}
.tz-table td{
    color:var(--tz-text-soft);
}
.tz-table strong{color:var(--tz-text)}

.tz-empty{
    padding:28px;
    text-align:center;
    color:var(--tz-text-soft);
    border-radius:22px;
    border:1px dashed rgba(255,255,255,.08);
    background:rgba(255,255,255,.02);
}

.tz-form-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px;
}
.tz-field{
    display:flex;
    flex-direction:column;
    gap:10px;
}
.tz-field--full{
    grid-column:1 / -1;
}
.tz-label{
    color:var(--tz-text-soft);
    font-weight:700;
    font-size:.94rem;
}
.tz-input,
.tz-select,
.tz-textarea{
    width:100%;
    border:none;
    outline:none;
    color:var(--tz-text);
    background:rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.08);
    border-radius:16px;
    padding:14px 16px;
}
.tz-textarea{
    min-height:140px;
    resize:vertical;
}
.tz-input::placeholder,
.tz-textarea::placeholder{
    color:#8092ba;
}
.tz-field-help{
    color:var(--tz-text-dim);
    font-size:.88rem;
    line-height:1.6;
}
.tz-form-actions{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-top:20px;
}

.tz-auth-wrap{
    min-height:100vh;
    display:grid;
    place-items:center;
    padding:24px;
}
.tz-auth-card{
    width:min(100%, 520px);
    background:linear-gradient(180deg, rgba(17,28,54,.96), rgba(10,18,35,.93));
    border:1px solid rgba(255,255,255,.06);
    border-radius:32px;
    box-shadow:var(--tz-shadow);
    padding:30px;
}
.tz-auth-card__head{
    text-align:center;
    margin-bottom:24px;
}
.tz-auth-card__brand{
    width:78px;
    height:78px;
    margin:0 auto 16px;
    border-radius:24px;
    background:linear-gradient(135deg, rgba(124,92,255,.24), rgba(53,214,193,.16));
    display:grid;
    place-items:center;
    padding:12px;
}
.tz-auth-card__title{
    margin:0;
    font-size:2rem;
    letter-spacing:-.04em;
}
.tz-auth-card__text{
    margin:10px 0 0;
    color:var(--tz-text-soft);
    line-height:1.7;
}

.tz-landing{
    width:min(calc(100% - 40px), 1280px);
    margin:24px auto 56px;
    position:relative;
    z-index:1;
}
.tz-landing-nav{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    padding:18px 0;
}
.tz-landing-nav__links{
    display:flex;
    align-items:center;
    gap:12px;
    flex-wrap:wrap;
}
.tz-landing-hero{
    display:grid;
    grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);
    gap:24px;
    align-items:center;
    padding:34px 0 20px;
}
.tz-landing-card{
    background:linear-gradient(180deg, rgba(17,28,54,.92), rgba(10,18,35,.88));
    border:1px solid rgba(255,255,255,.07);
    border-radius:32px;
    padding:28px;
    box-shadow:var(--tz-shadow);
}
.tz-landing-hero__title{
    margin:14px 0 14px;
    font-size:clamp(2.6rem,6vw,5.4rem);
    line-height:.96;
    letter-spacing:-.06em;
}
.tz-landing-hero__text{
    color:var(--tz-text-soft);
    font-size:1.08rem;
    line-height:1.8;
    margin:0 0 20px;
}
.tz-landing-actions{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
}
.tz-landing-proof{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
    margin-top:18px;
}
.tz-landing-proof__item{
    background:rgba(255,255,255,.03);
    border:1px solid rgba(255,255,255,.06);
    border-radius:20px;
    padding:18px;
}
.tz-landing-proof__label{
    color:var(--tz-text-dim);
    font-size:.8rem;
    text-transform:uppercase;
    letter-spacing:.14em;
}
.tz-landing-proof__value{
    margin-top:8px;
    font-size:1.5rem;
    font-weight:800;
}

.tz-section{
    margin-top:24px;
}
.tz-section__head{
    margin-bottom:14px;
}
.tz-section__title{
    margin:0;
    font-size:2rem;
    letter-spacing:-.04em;
}
.tz-section__text{
    margin:10px 0 0;
    color:var(--tz-text-soft);
    line-height:1.75;
}

.tz-feature-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px;
}
.tz-feature-card{
    background:linear-gradient(180deg, rgba(17,28,54,.92), rgba(10,18,35,.88));
    border:1px solid rgba(255,255,255,.07);
    border-radius:24px;
    padding:24px;
    box-shadow:var(--tz-shadow);
}
.tz-feature-card h3{
    margin:0 0 12px;
    font-size:1.22rem;
}
.tz-feature-card p{
    margin:0;
    color:var(--tz-text-soft);
    line-height:1.75;
}

.tz-inline-stack{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.tz-muted{
    color:var(--tz-text-dim);
}
.tz-text-soft{
    color:var(--tz-text-soft);
}

@media (max-width: 1200px){
    .tz-shell{
        grid-template-columns:1fr;
    }
    .tz-sidebar{
        position:relative;
        top:0;
        min-height:auto;
    }
    .tz-sidebar__inner{
        min-height:auto;
    }
    .tz-mobile-nav{
        display:grid;
    }
    .tz-shell-topbar{
        padding:22px 22px;
    }
    .tz-content-grid,
    .tz-panel-grid,
    .tz-feature-grid,
    .tz-landing-hero{
        grid-template-columns:1fr;
    }
    .tz-stats-grid,
    .tz-kpi-grid,
    .tz-metric-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media (max-width: 768px){
    .tz-shell{
        width:min(calc(100% - 20px), var(--tz-container));
        margin:10px auto;
        gap:12px;
    }
    .tz-shell-content,
    .tz-shell-topbar,
    .tz-console-hero,
    .tz-page-hero,
    .tz-panel,
    .tz-auth-card,
    .tz-landing-card{
        padding:18px;
        border-radius:22px;
    }
    .tz-shell-topbar{
        flex-direction:column;
        align-items:flex-start;
    }
    .tz-shell-topbar__title{
        font-size:1.6rem;
    }
    .tz-console-hero,
    .tz-page-hero{
        flex-direction:column;
    }
    .tz-console-hero__title,
    .tz-page-title,
    .tz-landing-hero__title{
        font-size:clamp(2rem,10vw,3.2rem);
    }
    .tz-stats-grid,
    .tz-kpi-grid,
    .tz-metric-grid,
    .tz-form-grid,
    .tz-landing-proof{
        grid-template-columns:1fr;
    }
    .tz-endpoint-item{
        grid-template-columns:1fr;
        align-items:flex-start;
    }
    .tz-page-actions,
    .tz-form-actions,
    .tz-landing-actions{
        width:100%;
    }
    .tz-btn,
    .btn{
        width:100%;
    }
}



/* ===== PUBLIC / REQUEST ACCESS ===== */
.tz-public-section{
    padding:48px 0 72px;
}

.tz-public-container{
    width:min(calc(100% - 40px), 1240px);
    margin:0 auto;
}

.tz-public-hero{
    max-width:760px;
    margin:0 auto 28px;
    text-align:center;
}

.tz-public-hero--compact{
    margin-bottom:32px;
}

.tz-public-title{
    margin:14px 0 10px;
    font-size:clamp(34px, 5vw, 58px);
    line-height:1.02;
}

.tz-public-subtitle{
    margin:0;
    color:var(--tz-text-soft);
    font-size:17px;
    line-height:1.7;
}

.tz-request-layout{
    display:grid;
    grid-template-columns:minmax(0, 1.5fr) minmax(320px, .9fr);
    gap:24px;
    align-items:start;
}

.tz-panel--form,
.tz-panel--side{
    min-height:100%;
}

.tz-form-grid{
    display:grid;
    gap:18px;
}

.tz-form-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
}

.tz-textarea{
    width:100%;
    min-height:144px;
    resize:vertical;
    border-radius:16px;
    border:1px solid var(--tz-line-soft);
    background:rgba(7,17,31,.72);
    color:var(--tz-text);
    padding:14px 16px;
    outline:none;
}

.tz-textarea:focus{
    border-color:rgba(124,92,255,.55);
    box-shadow:0 0 0 4px rgba(124,92,255,.14);
}

.tz-form-actions{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    padding-top:4px;
}

.tz-info-stack{
    display:grid;
    gap:14px;
}

.tz-info-card{
    display:grid;
    gap:8px;
    padding:18px;
    border-radius:18px;
    background:rgba(255,255,255,.03);
    border:1px solid var(--tz-line-soft);
}

.tz-info-card strong{
    font-size:15px;
    color:var(--tz-text);
}

.tz-info-card span{
    color:var(--tz-text-soft);
    line-height:1.6;
    font-size:14px;
}

@media (max-width: 980px){
    .tz-request-layout{
        grid-template-columns:1fr;
    }
}

@media (max-width: 640px){
    .tz-form-row{
        grid-template-columns:1fr;
    }

    .tz-form-actions{
        flex-direction:column;
    }

    .tz-form-actions .tz-btn{
        width:100%;
        justify-content:center;
    }
}



/* ===== PUBLIC SHELL / TOPBAR ===== */
.tz-public-body{
    min-height:100vh;
    position:relative;
    overflow-x:hidden;
}

.tz-public-shell{
    position:relative;
    z-index:1;
    min-height:100vh;
    display:flex;
    flex-direction:column;
}

.tz-container{
    width:min(calc(100% - 40px), 1240px);
    margin:0 auto;
}

.tz-topbar{
    position:sticky;
    top:0;
    z-index:40;
    padding:18px 0;
    backdrop-filter:blur(16px);
    background:rgba(7,17,31,.45);
    border-bottom:1px solid rgba(255,255,255,.06);
}

.tz-topbar__inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
}

.tz-topbar__nav{
    display:flex;
    align-items:center;
    gap:18px;
    flex-wrap:wrap;
}

.tz-topbar__link{
    color:var(--tz-text-soft);
    font-size:14px;
    line-height:1;
    transition:.2s ease;
}

.tz-topbar__link:hover{
    color:var(--tz-text);
}

.tz-topbar__actions{
    display:flex;
    align-items:center;
    gap:12px;
    flex-wrap:wrap;
    justify-content:flex-end;
}

.tz-public-main{
    flex:1;
    padding:24px 0 56px;
}

.tz-footer{
    padding:22px 0 28px;
    border-top:1px solid rgba(255,255,255,.06);
    background:rgba(7,17,31,.32);
    backdrop-filter:blur(12px);
}

.tz-footer__inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    flex-wrap:wrap;
}

.tz-footer__brand{
    display:grid;
    gap:4px;
}

.tz-footer__brand strong{
    font-size:14px;
    color:var(--tz-text);
}

.tz-footer__brand span,
.tz-footer__meta{
    color:var(--tz-text-dim);
    font-size:13px;
}

.tz-footer__meta{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
}

@media (max-width: 980px){
    .tz-topbar__inner{
        flex-wrap:wrap;
        align-items:flex-start;
    }

    .tz-topbar__nav{
        width:100%;
        order:3;
        padding-top:6px;
    }

    .tz-topbar__actions{
        margin-left:auto;
    }
}

@media (max-width: 640px){
    .tz-container{
        width:min(calc(100% - 24px), 1240px);
    }

    .tz-topbar{
        padding:14px 0;
    }

    .tz-topbar__inner{
        gap:14px;
    }

    .tz-topbar__nav{
        gap:12px;
    }

    .tz-topbar__actions{
        width:100%;
        justify-content:flex-start;
    }

    .tz-topbar__actions .tz-btn{
        flex:1 1 auto;
        justify-content:center;
    }
}



/* ===== LEGACY UI COMPAT LAYER ===== */
.btn{
    appearance:none;
    border:1px solid rgba(255,255,255,.08);
    background:rgba(255,255,255,.04);
    color:var(--tz-text);
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    min-height:46px;
    padding:0 18px;
    border-radius:16px;
    font-weight:700;
    line-height:1;
    text-decoration:none;
    cursor:pointer;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
    transition:.2s ease;
}

.btn:hover{
    transform:translateY(-1px);
    border-color:rgba(255,255,255,.14);
}

.btn-primary{
    background:linear-gradient(180deg, #8a6bff, #6f4fff);
    border-color:rgba(138,107,255,.55);
    color:#fff;
    box-shadow:0 18px 44px rgba(111,79,255,.28);
}

.btn-outline,
.btn-ghost{
    background:rgba(255,255,255,.035);
    border-color:rgba(255,255,255,.10);
    color:var(--tz-text);
}

.btn-sm{
    min-height:38px;
    padding:0 14px;
    border-radius:13px;
    font-size:13px;
}

.btn-block{
    width:100%;
}

.input,
select.input,
textarea.input{
    width:100%;
    border-radius:16px;
    border:1px solid rgba(255,255,255,.10);
    background:rgba(7,17,31,.72);
    color:var(--tz-text);
    padding:14px 16px;
    outline:none;
}

.input:focus,
select.input:focus,
textarea.input:focus{
    border-color:rgba(124,92,255,.55);
    box-shadow:0 0 0 4px rgba(124,92,255,.14);
}

.section{
    padding:44px 0 72px;
}

.container{
    width:min(calc(100% - 40px), 1240px);
    margin:0 auto;
}

.panel,
.panel-light,
.hero-panel{
    background:linear-gradient(180deg, rgba(16,27,54,.94), rgba(10,18,35,.92));
    border:1px solid rgba(255,255,255,.08);
    border-radius:26px;
    box-shadow:var(--tz-shadow);
    padding:24px;
}

.panel-light__eyebrow,
.section-kicker{
    display:inline-block;
    font-size:12px;
    letter-spacing:.18em;
    text-transform:uppercase;
    color:var(--tz-text-dim);
    margin-bottom:10px;
}

.panel-light__title,
.section h2,
.panel h2{
    margin:0 0 10px;
    font-size:clamp(28px, 3vw, 40px);
    line-height:1.06;
    color:var(--tz-text);
}

.panel-light__copy,
.section-lead,
.small{
    color:var(--tz-text-soft);
    line-height:1.7;
}

.small{
    font-size:14px;
}

.spaced{
    margin-top:14px;
}

.stack-grid{
    display:grid;
    gap:14px;
}

.section-header{
    display:flex;
    align-items:end;
    justify-content:space-between;
    gap:16px;
    flex-wrap:wrap;
    margin-bottom:22px;
}

.section-actions{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
}

.split-section{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:24px;
    align-items:start;
}

.create-panel{
    display:grid;
    gap:18px;
}

.snippet-box{
    margin:0;
    padding:18px;
    border-radius:18px;
    background:rgba(7,17,31,.76);
    border:1px solid rgba(255,255,255,.08);
    overflow:auto;
}

table.spaced{
    width:100%;
    border-collapse:collapse;
    margin-top:12px;
}

table.spaced th,
table.spaced td{
    text-align:left;
    padding:14px 12px;
    border-bottom:1px solid rgba(255,255,255,.08);
    vertical-align:top;
}

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

@media (max-width: 640px){
    .container{
        width:min(calc(100% - 24px), 1240px);
    }

    .panel,
    .panel-light,
    .hero-panel{
        padding:18px;
        border-radius:22px;
    }

    .section-actions{
        flex-direction:column;
    }

    .section-actions .btn,
    .btn-block{
        width:100%;
    }
}



/* ===== CLEAN TZ ALIASES ===== */
.tz-form-shell{
    display:grid;
    gap:18px;
}

.tz-section-title{
    margin:0 0 10px;
    font-size:clamp(28px, 3vw, 40px);
    line-height:1.06;
    color:var(--tz-text);
}

.tz-meta-text{
    font-size:14px;
    color:var(--tz-text-soft);
    line-height:1.7;
}

.tz-section-header{
    display:flex;
    align-items:end;
    justify-content:space-between;
    gap:16px;
    flex-wrap:wrap;
    margin-bottom:22px;
}

.tz-section-lead{
    color:var(--tz-text-soft);
    line-height:1.75;
    max-width:760px;
}

.tz-split-grid{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:24px;
    align-items:start;
}

.tz-hero-panel{
    display:grid;
    gap:18px;
}

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