﻿/* PLACE AT: WorldScholarArena.Backend/wwwroot/academy/css/tutors.css   (new file, loaded after publish.css) */
/* World Scholars Arena Tutor Network. Every class starts with tn- ; nothing here changes another page. */
.tn-stars {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font: 600 13px var(--sans);
    color: var(--mut)
}

.tn-st {
    --p: 0%;
    position: relative;
    font-size: 16px;
    letter-spacing: 1px;
    color: #d9d0b4;
    background: linear-gradient(90deg,#b8891a var(--p),#d9d0b4 var(--p));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent
}

.tn-av {
    border-radius: 50%;
    object-fit: cover;
    background: #e9e2cb;
    border: 2px solid var(--gold);
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center
}

    .tn-av.ini {
        background: linear-gradient(135deg,#0b4a38,#0f5c45);
        color: var(--gold2);
        font: 700 20px var(--serif)
    }

.pb-pill.ok {
    background: var(--grnl);
    border-color: var(--em2);
    color: var(--em)
}

.pb-pill.warn {
    background: var(--ambl);
    border-color: var(--gold);
    color: #5a4308
}

.pb-pill.bad {
    background: var(--redl);
    border-color: var(--red);
    color: #7a2118
}
/* hero */
.tn-hero .pb-wrap {
    align-items: center
}

.tn-hero img.tn-hero-art {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(0,0,0,.4),0 0 0 1px rgba(229,199,101,.35);
    background: #06281e
}

.tn-search {
    display: grid;
    grid-template-columns: minmax(0,1.3fr) minmax(0,1fr) auto;
    gap: 10px;
    background: #fff;
    border-radius: 14px;
    padding: 10px;
    box-shadow: 0 18px 40px rgba(0,0,0,.28);
    margin: 0 0 14px
}

    .tn-search input, .tn-search select {
        width: 100%;
        min-height: 46px;
        border: 1.5px solid var(--line);
        border-radius: 9px;
        padding: 0 12px;
        font: 16px var(--sans);
        background: #fff;
        color: var(--ink)
    }

    .tn-search .pb-btn {
        min-height: 46px
    }

.tn-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(150px,1fr));
    gap: 14px;
    margin: 0
}

.tn-stat {
    text-align: center;
    padding: 18px 10px;
    border-radius: 12px;
    background: var(--card);
    border: 1px solid var(--line)
}

    .tn-stat b {
        display: block;
        font: 700 34px/1.1 var(--serif);
        color: var(--em)
    }

    .tn-stat span {
        font: 600 12px Arial;
        letter-spacing: .12em;
        text-transform: uppercase;
        color: var(--mut)
    }

.tn-fig {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    gap: 34px;
    align-items: center
}

    .tn-fig.rev > :first-child {
        order: 2
    }

    .tn-fig img {
        width: 100%;
        height: auto;
        border-radius: 14px;
        border: 1px solid var(--line);
        background: #fff;
        box-shadow: var(--sh)
    }

    .tn-fig h3 {
        font: 700 26px/1.2 var(--serif);
        color: var(--em);
        margin: 0 0 10px
    }

    .tn-fig p {
        color: var(--ink2);
        line-height: 1.7;
        font-size: 16.5px;
        margin: 0 0 12px
    }

.tn-groups {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(210px,1fr));
    gap: 10px
}

    .tn-groups a {
        display: block;
        padding: 12px 14px;
        border: 1px solid var(--line);
        border-radius: 10px;
        background: #fff;
        text-decoration: none;
        color: var(--em);
        font: 600 15px var(--serif)
    }

        .tn-groups a small {
            display: block;
            font: 12px var(--sans);
            color: var(--mut)
        }

        .tn-groups a:hover {
            border-color: var(--gold);
            box-shadow: var(--sh)
        }

.tn-step {
    counter-increment: s
}

    .tn-step:before {
        content: counter(s);
        display: inline-flex;
        width: 34px;
        height: 34px;
        border-radius: 50%;
        background: var(--gold);
        color: #1a1405;
        font: 700 17px var(--serif);
        align-items: center;
        justify-content: center;
        margin-bottom: 6px
    }

.tn-steps {
    counter-reset: s
}
/* find */
.tn-find {
    display: grid;
    grid-template-columns: 300px minmax(0,1fr);
    gap: 22px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 22px 18px 60px;
    width: 100%
}

.tn-filters {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 16px;
    align-self: start;
    position: sticky;
    top: 84px
}

    .tn-filters h2 {
        font: 700 18px var(--serif);
        color: var(--em);
        margin: 0 0 8px
    }

    .tn-filters .fld {
        margin: 0 0 12px
    }

    .tn-filters label {
        display: block;
        font: 700 12px Arial;
        letter-spacing: .06em;
        text-transform: uppercase;
        color: var(--mut);
        margin-bottom: 4px
    }

    .tn-filters input, .tn-filters select {
        width: 100%;
        min-height: 40px;
        border: 1.5px solid var(--line);
        border-radius: 8px;
        padding: 0 10px;
        font: 15px var(--sans);
        background: #fff;
        color: var(--ink)
    }

.tn-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px
}

.tn-narrow {
    margin-bottom: 6px
}

.tn-list {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fill,minmax(min(100%,340px),1fr))
}

.tn-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--sh);
    transition: transform .15s,box-shadow .15s
}

    .tn-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 30px rgba(6,40,30,.14)
    }

.tn-card-a {
    display: block;
    padding: 16px;
    text-decoration: none;
    color: inherit
}

    .tn-card-a:focus-visible {
        outline: 3px solid var(--gold);
        outline-offset: 2px;
        border-radius: 14px
    }

.tn-card-h {
    display: flex;
    gap: 12px;
    align-items: center
}

.tn-card h3 {
    font: 700 18px var(--serif);
    color: var(--em);
    margin: 0
}

.tn-loc {
    font-size: 13px;
    color: var(--mut);
    margin: 2px 0
}

.tn-hl {
    margin: 10px 0;
    color: var(--ink2);
    font-size: 14.5px;
    line-height: 1.55
}

.tn-offers {
    list-style: none;
    margin: 8px 0;
    padding: 0;
    display: grid;
    gap: 5px
}

    .tn-offers li {
        display: flex;
        justify-content: space-between;
        gap: 8px;
        font-size: 14px;
        padding: 6px 9px;
        background: var(--paper2);
        border-radius: 7px
    }

    .tn-offers small {
        color: var(--mut)
    }

    .tn-offers b {
        color: var(--em);
        white-space: nowrap
    }

.tn-card-f {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 12.5px;
    color: var(--mut);
    border-top: 1px solid var(--line);
    padding-top: 9px;
    margin-top: 6px
}

.tn-from b {
    color: var(--em);
    font-size: 15px
}

.tn-empty {
    text-align: center;
    padding: 34px 14px;
    color: var(--mut)
}

    .tn-empty img {
        max-width: 100%;
        height: auto
    }

    .tn-empty b {
        display: block;
        font: 700 20px var(--serif);
        color: var(--em);
        margin: 10px 0 4px
    }

    .tn-empty p {
        max-width: 34em;
        margin: 0 auto 12px;
        line-height: 1.6
    }

.tn-pager {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    margin: 20px 0
}
/* profile */
.tn-prof {
    display: grid;
    grid-template-columns: minmax(0,1fr) 380px;
    gap: 24px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 24px 18px 60px;
    width: 100%
}

.tn-ph {
    display: flex;
    gap: 18px;
    align-items: center;
    margin: 0 0 16px
}

    .tn-ph h1 {
        font: 700 30px/1.15 var(--serif);
        color: var(--em);
        margin: 0
    }

.tn-book {
    position: sticky;
    top: 84px;
    align-self: start
}

    .tn-book .pb-card {
        padding: 18px
    }

    .tn-book h2 {
        font: 700 21px var(--serif);
        color: var(--em);
        margin: 0 0 10px
    }

    .tn-book .fld {
        margin: 0 0 10px
    }

    .tn-book label {
        display: block;
        font: 700 12px Arial;
        letter-spacing: .06em;
        text-transform: uppercase;
        color: var(--mut);
        margin-bottom: 4px
    }

    .tn-book input, .tn-book select, .tn-book textarea {
        width: 100%;
        min-height: 42px;
        border: 1.5px solid var(--line);
        border-radius: 8px;
        padding: 8px 10px;
        font: 15px var(--sans);
        background: #fff
    }

.tn-quote {
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--paper2);
    padding: 12px;
    margin: 10px 0;
    font-size: 14.5px
}

    .tn-quote div {
        display: flex;
        justify-content: space-between;
        padding: 3px 0
    }

    .tn-quote .tot {
        border-top: 2px solid var(--em);
        margin-top: 6px;
        padding-top: 8px;
        font: 700 17px var(--serif);
        color: var(--em)
    }

.tn-timeline {
    list-style: none;
    padding: 0;
    margin: 10px 0;
    display: grid;
    gap: 8px;
    font-size: 13.5px;
    color: var(--ink2)
}

    .tn-timeline li {
        padding-left: 22px;
        position: relative;
        line-height: 1.5
    }

        .tn-timeline li:before {
            content: '';
            position: absolute;
            left: 3px;
            top: 6px;
            width: 9px;
            height: 9px;
            border-radius: 50%;
            background: var(--gold)
        }

.tn-sec {
    margin: 0 0 26px
}

    .tn-sec h2 {
        font: 700 22px var(--serif);
        color: var(--em);
        margin: 0 0 10px;
        border-bottom: 2px solid var(--gold);
        padding-bottom: 6px;
        display: inline-block
    }

.tn-rev {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 12px;
    margin: 0 0 10px;
    background: #fff
}

    .tn-rev p {
        margin: 6px 0 0;
        line-height: 1.6
    }

    .tn-rev .re {
        margin-top: 8px;
        padding: 8px 10px;
        background: var(--paper2);
        border-radius: 7px;
        font-size: 14px
    }

.tn-tl {
    display: grid;
    gap: 10px
}

    .tn-tl > div {
        border-left: 3px solid var(--gold);
        padding: 2px 0 2px 12px
    }

    .tn-tl b {
        display: block
    }

    .tn-tl small {
        color: var(--mut)
    }

.tn-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(88px,1fr));
    gap: 6px;
    margin: 6px 0
}

    .tn-slots button {
        min-height: 38px;
        border: 1.5px solid var(--line);
        background: #fff;
        border-radius: 8px;
        font: 600 13.5px var(--sans);
        cursor: pointer
    }

        .tn-slots button[aria-pressed=true] {
            background: var(--em);
            border-color: var(--em);
            color: #fff
        }

        .tn-slots button:hover {
            border-color: var(--em2)
        }
/* app */
.tn-chart {
    width: 100%;
    height: auto;
    max-height: 260px
}

.tn-msgs {
    display: grid;
    gap: 8px;
    max-height: 340px;
    overflow: auto;
    padding: 6px;
    background: var(--paper2);
    border-radius: 10px;
    margin: 0 0 10px
}

.tn-m {
    max-width: 82%;
    padding: 8px 12px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--line);
    line-height: 1.5;
    font-size: 14.5px;
    white-space: pre-wrap
}

    .tn-m.me {
        justify-self: end;
        background: var(--grnl);
        border-color: var(--em2)
    }

    .tn-m small {
        display: block;
        color: var(--mut);
        font-size: 11px;
        margin-top: 3px
    }

.tn-doc {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 9px;
    margin: 0 0 8px;
    background: #fff;
    flex-wrap: wrap
}

.tn-days {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(150px,1fr));
    gap: 8px
}

.tn-ill {
    width: 100%;
    max-width: 420px;
    height: auto;
    display: block;
    margin: 0 auto 10px
}

.tn-chk {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 0 0 12px;
    font-size: 14.5px;
    line-height: 1.5
}

    .tn-chk input {
        margin-top: 4px;
        width: 20px;
        height: 20px;
        flex: 0 0 20px
    }

.tn-g2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px
}

@media(max-width:900px) {
    .tn-find, .tn-prof {
        grid-template-columns: 1fr
    }

    .tn-filters, .tn-book {
        position: static
    }

    .tn-fig, .tn-fig.rev {
        grid-template-columns: 1fr
    }

        .tn-fig.rev > :first-child {
            order: 0
        }

    .tn-search {
        grid-template-columns: 1fr
    }

    .tn-g2 {
        grid-template-columns: 1fr
    }

    .pb-hero .pb-wrap {
        grid-template-columns: 1fr
    }
}

@media(prefers-reduced-motion:reduce) {
    .tn-card {
        transition: none
    }
}

@media print {
    .pb-top, .tn-filters, .tn-book {
        display: none
    }
}

.tn-g4 {
    grid-template-columns: repeat(4,minmax(0,1fr))
}

@media(max-width:900px) {
    .tn-g4 {
        grid-template-columns: repeat(auto-fit,minmax(min(100%,240px),1fr))
    }
}

.tn-tl span {
    display: block
}

.tn-tl small {
    display: block
}

.tn-days.wide {
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr))
}

.tn-days input[type=time] {
    min-width: 0;
    flex: 1 1 90px;
    min-height: 36px
}

/* ---- contact, rewards, groups, pricing rules */
.tn-row {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap
}

    .tn-row > input[type=text], .tn-row > input[type=url] {
        flex: 1 1 220px;
        min-width: 0
    }

.tn-provs {
    display: grid;
    gap: 8px;
    margin: 0 0 12px
}

.tn-prov {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    cursor: pointer
}

    .tn-prov input {
        margin-top: 4px;
        width: 20px;
        height: 20px;
        flex: 0 0 20px
    }

    .tn-prov b {
        display: block
    }

    .tn-prov small {
        display: block;
        color: var(--mut);
        font-size: 13px;
        line-height: 1.5
    }

    .tn-prov:has(input:checked) {
        border-color: var(--em2);
        background: var(--grnl)
    }

.tn-phone input[type=tel] {
    font-size: 17px;
    letter-spacing: .02em
}

.tn-disc b, .tn-disc span {
    color: var(--em)
}

.tn-up b {
    color: var(--ink2)
}

.tn-saved {
    margin: 6px 0 0;
    font: 700 14px var(--sans);
    color: var(--em)
}

.tn-promo .tn-row input {
    text-transform: uppercase
}

.tn-rules {
    border: 1px dashed var(--gold);
    border-radius: 10px;
    padding: 10px 14px;
    margin: 0 0 12px;
    background: var(--cream,#fbf7ea)
}

    .tn-rules summary {
        cursor: pointer;
        font-weight: 700;
        color: var(--em)
    }

.tn-rules-g {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 10px
}

.tn-tiers {
    display: grid;
    gap: 6px;
    margin: 8px 0
}

.tn-tier {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    font-size: 14.5px
}

    .tn-tier input {
        width: 76px
    }

.tn-level-h {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    flex-wrap: wrap
}

    .tn-level-h h2 {
        margin: 0;
        font: 700 34px var(--serif);
        color: var(--em)
    }

    .tn-level-h small {
        display: block;
        color: var(--mut);
        font-size: 12px;
        letter-spacing: .14em;
        text-transform: uppercase
    }

.tn-level-f {
    font: 700 38px var(--serif);
    color: var(--gold);
    text-align: right;
    line-height: 1
}

    .tn-level-f small {
        letter-spacing: 0;
        text-transform: none;
        font: 13px var(--sans)
    }

.tn-bar {
    height: 12px;
    border-radius: 99px;
    background: #e9e2cb;
    overflow: hidden;
    margin: 14px 0 8px
}

    .tn-bar i {
        display: block;
        height: 100%;
        background: linear-gradient(90deg,var(--em),var(--gold));
        border-radius: 99px;
        transition: width .6s
    }

.tn-levels {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    display: grid;
    gap: 6px
}

    .tn-levels li {
        padding: 9px 12px;
        border: 1px solid var(--line);
        border-radius: 9px;
        background: #fff;
        font-size: 14.5px
    }

        .tn-levels li.on {
            border-color: var(--em2);
            background: var(--grnl)
        }

            .tn-levels li.on:before {
                content: "✓ ";
                color: var(--em);
                font-weight: 700
            }

.tn-codes {
    display: grid;
    gap: 8px
}

.tn-code {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    padding: 12px 14px;
    border: 2px dashed var(--gold);
    border-radius: 12px;
    background: var(--cream,#fbf7ea);
    flex-wrap: wrap
}

    .tn-code b {
        font-size: 19px;
        letter-spacing: .1em;
        color: var(--em)
    }

    .tn-code small {
        display: block;
        color: var(--mut);
        font-size: 12.5px
    }

.mono {
    font-family: "Courier New",monospace
}

/* ---- the classroom */
.tn-room {
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px
}

.tn-lobby {
    display: grid;
    place-items: start center
}

    .tn-lobby .pb-card {
        width: 100%;
        max-width: 900px
    }

.tn-lobby-g {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 18px;
    margin: 12px 0
}

.tn-prev {
    width: 100%;
    aspect-ratio: 16/9;
    background: #0b1f18;
    border-radius: 12px;
    object-fit: cover;
    transform: scaleX(-1)
}

.tn-meter {
    height: 10px;
    border-radius: 99px;
    background: #e9e2cb;
    margin-top: 8px;
    overflow: hidden
}

    .tn-meter i {
        display: block;
        height: 100%;
        width: 0;
        background: var(--em);
        transition: width .08s
    }

.tn-checks {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    display: grid;
    gap: 6px
}

.tn-stage {
    display: grid;
    gap: 10px
}

.tn-top2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 15px
}

.tn-top2r {
    display: flex;
    gap: 12px;
    align-items: center
}

.tn-tag {
    font-weight: 700;
    color: var(--em)
}

    .tn-tag[data-on=""] {
        color: var(--mut);
        font-weight: 600
    }

.tn-tag2 {
    color: var(--mut)
}

.tn-net {
    padding: 3px 10px;
    border-radius: 99px;
    font: 600 12.5px var(--sans);
    background: #eee;
    color: var(--mut)
}

    .tn-net[data-q=good] {
        background: var(--grnl);
        color: var(--em)
    }

    .tn-net[data-q=fair] {
        background: var(--ambl);
        color: #7a5a10
    }

    .tn-net[data-q=poor] {
        background: #fde8e6;
        color: var(--red)
    }

.tn-timer {
    font: 700 15px var(--sans);
    font-variant-numeric: tabular-nums
}

    .tn-timer[data-late="1"] {
        color: var(--red)
    }

.tn-main {
    display: grid;
    grid-template-columns: minmax(0,1fr) 360px;
    gap: 12px;
    align-items: start
}

.tn-video {
    position: relative;
    background: #0b1f18;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 16/9;
    min-height: 240px
}

.tn-remote {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #0b1f18
}

.tn-self {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 24%;
    min-width: 110px;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid #fff;
    background: #13342a;
    transform: scaleX(-1)
}

.tn-wait {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    text-align: center;
    color: #f3ecd6;
    padding: 24px;
    font: 17px/1.6 var(--serif)
}

.tn-cap {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 14%;
    max-width: 84%;
    background: rgba(0,0,0,.78);
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    font: 17px/1.4 var(--sans);
    text-align: center
}

.tn-bar2 {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 6px 0
}

.tn-ctl {
    min-height: 46px;
    padding: 0 18px;
    border-radius: 99px;
    border: 1px solid var(--line);
    background: #fff;
    font: 700 14px var(--sans);
    cursor: pointer;
    color: var(--ink)
}

    .tn-ctl[aria-pressed=true] {
        background: var(--grnl);
        border-color: var(--em2);
        color: var(--em)
    }

    .tn-ctl[data-off="1"] {
        background: #fde8e6;
        border-color: var(--red);
        color: var(--red)
    }

    .tn-ctl.leave {
        background: var(--red);
        border-color: var(--red);
        color: #fff
    }

    .tn-ctl.end {
        background: var(--em);
        border-color: var(--em);
        color: #fff
    }

    .tn-ctl:focus-visible, .tn-sw:focus-visible {
        outline: 3px solid var(--gold);
        outline-offset: 2px
    }

.tn-st2 {
    text-align: center;
    font-weight: 600
}

    .tn-st2.bad {
        color: var(--red)
    }

.tn-side {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 10px;
    min-height: 340px;
    display: flex;
    flex-direction: column
}

.tn-pane {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 0
}

    .tn-pane[hidden] {
        display: none
    }

.tn-side .tn-msgs {
    flex: 1;
    max-height: 360px;
    overflow: auto
}

.tn-notes {
    flex: 1;
    min-height: 300px;
    width: 100%;
    resize: vertical;
    font: 15px/1.6 var(--sans);
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 9px
}

.tn-tabs button[data-n]:not([data-n="0"]):after, .tn-side .pb-tabs button[data-n]:not([data-n="0"]):after {
    content: " •";
    color: var(--gold)
}

.tn-wb {
    display: grid;
    gap: 8px
}

.tn-wbbar, .tn-tools {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    align-items: center
}

.tn-board {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 9px;
    touch-action: none;
    cursor: crosshair
}

.tn-sw {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px var(--line);
    cursor: pointer
}

    .tn-sw[aria-pressed=true] {
        box-shadow: 0 0 0 3px var(--gold)
    }

@media(max-width:980px) {
    .tn-main {
        grid-template-columns: 1fr
    }

    .tn-lobby-g {
        grid-template-columns: 1fr
    }

    .tn-self {
        width: 32%
    }
}

@media(prefers-reduced-motion:reduce) {
    .tn-bar i, .tn-meter i {
        transition: none
    }
}

.tn-wait[hidden], .tn-cap[hidden] {
    display: none
}

.tn-contract {
    border: 1px solid #b8891a;
    border-radius: 12px;
    background: #fffdf7;
    padding: 14px;
    margin: 12px 0
}

    .tn-contract h3 {
        margin: 0 0 8px;
        font-family: Georgia,serif;
        color: #0b4a38
    }

.tn-clauses {
    max-height: 240px;
    overflow: auto;
    border: 1px solid #d9d0b4;
    border-radius: 8px;
    background: #fff;
    padding: 10px 12px;
    font-size: .88rem;
    line-height: 1.5
}

.tn-cl p {
    margin: 2px 0 10px;
    color: #1d2a26
}

.tn-cl b {
    color: #0b4a38
}

.tn-agree {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 12px 0 6px;
    font-weight: 600
}

    .tn-agree input {
        margin-top: 4px;
        width: 18px;
        height: 18px;
        accent-color: #0b4a38
    }

.tn-sig {
    font-family: Georgia,"Times New Roman",serif;
    font-style: italic;
    font-size: 1.2rem
}

.tn-contract[hidden] {
    display: none
}

.tn-agree, .tn-agree span {
    text-transform: none;
    letter-spacing: 0;
    font-size: .92rem;
    line-height: 1.4
}

.tn-agree {
    align-items: center
}

.pb-table .pb-btn.sm {
    white-space: nowrap
}

.tn-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    margin: 0 0 12px
}

    .tn-filters input[type=search] {
        flex: 1 1 280px;
        width: auto
    }

    .tn-filters select {
        flex: 0 0 190px;
        width: auto
    }

.tn-policy table .now td {
    background: #e9f6ef;
    font-weight: 600
}

.tn-policy td {
    padding: 6px 8px;
    vertical-align: top
}

.tn-master {
    max-height: 360px;
    overflow: auto;
    border: 1px solid #cfd8d4;
    border-radius: 8px;
    padding: 14px 16px;
    background: #fff;
    font: 14px/1.7 Georgia,serif
}

    .tn-master h4 {
        margin: 16px 0 4px
    }
