.tn-guide-page {
    --guide-ink: #102047;
    --guide-copy: #34445f;
    --guide-muted: #67758d;
    --guide-blue: #2557e8;
    --guide-blue-dark: #18347d;
    --guide-sky: #edf4ff;
    --guide-warm: #fbfaf7;
    --guide-line: #dfe6f0;
    --guide-shadow: 0 20px 55px rgba(18, 39, 82, .1);
    background: #fff;
    color: var(--guide-ink);
}

.tn-guide-page a:focus-visible,
.tn-guide-page summary:focus-visible {
    outline: 3px solid rgba(37, 87, 232, .35);
    outline-offset: 4px;
    border-radius: 4px;
}

.tn-guide-page .visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.tn-guide-header {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--guide-line);
    background:
        radial-gradient(circle at 8% 12%, rgba(50, 123, 255, .11), transparent 28rem),
        linear-gradient(135deg, #f7faff 0%, #fff 58%, #fbfaf7 100%);
}

.tn-guide-header::after {
    position: absolute;
    right: -7rem;
    bottom: -10rem;
    width: 32rem;
    height: 32rem;
    border: 1px solid rgba(37, 87, 232, .09);
    border-radius: 50%;
    box-shadow: 0 0 0 4rem rgba(37, 87, 232, .025), 0 0 0 8rem rgba(37, 87, 232, .018);
    content: "";
    pointer-events: none;
}

.tn-guide-header > .tn-shell {
    position: relative;
    z-index: 1;
    padding-top: 1.35rem;
    padding-bottom: clamp(3rem, 6vw, 5.75rem);
}

.tn-guide-detail-actions {
    position: absolute;
    top: 1.35rem;
    right: 0;
    z-index: 3;
}

.tn-guide-page .tn-node-breadcrumbs {
    margin: 0 0 clamp(2rem, 4vw, 3.75rem);
}

.tn-guide-page .tn-node-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tn-guide-page .tn-node-breadcrumbs li {
    display: inline-flex;
    gap: .5rem;
    align-items: center;
    color: var(--guide-muted);
    font-size: .77rem;
    font-weight: 700;
}

.tn-guide-page .tn-node-breadcrumbs li:not(:last-child)::after {
    color: #a8b2c2;
    content: "/";
}

.tn-guide-page .tn-node-breadcrumbs a {
    color: #50617a;
    text-decoration: none;
}

.tn-guide-page .tn-node-breadcrumbs a:hover {
    color: var(--guide-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.tn-guide-page .tn-node-breadcrumbs [aria-current="page"] {
    display: inline-block;
    overflow: hidden;
    max-width: 24rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tn-guide-header__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(22rem, .95fr);
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: center;
}

.tn-guide-header--no-image .tn-guide-header__grid {
    grid-template-columns: minmax(0, 52rem);
}

.tn-guide-header__copy {
    min-width: 0;
}

.tn-guide-eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 1.15rem;
    color: var(--guide-blue);
    font-size: .75rem;
    font-weight: 850;
    letter-spacing: .13em;
    text-decoration: none;
    text-transform: uppercase;
}

a.tn-guide-eyebrow:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.tn-guide-header h1 {
    max-width: 13ch;
    margin: 0;
    color: #0b1b3d;
    font-size: clamp(2.65rem, 5.2vw, 4.75rem);
    font-weight: 850;
    letter-spacing: -.052em;
    line-height: .99;
    text-wrap: balance;
}

.tn-guide-header--no-image h1 {
    max-width: 15ch;
}

.tn-guide-deck {
    max-width: 43rem;
    margin: 1.6rem 0 0;
    color: #43536d;
    font-size: clamp(1.08rem, 1.6vw, 1.32rem);
    font-weight: 500;
    line-height: 1.58;
    text-wrap: pretty;
}

.tn-guide-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1.35rem;
    align-items: center;
    margin: 2rem 0 0;
    color: #52617a;
    font-size: .8rem;
}

.tn-guide-meta div {
    display: inline-flex;
    gap: .48rem;
    align-items: center;
}

.tn-guide-meta dt,
.tn-guide-meta dd {
    margin: 0;
}

.tn-guide-meta dt {
    color: var(--guide-blue);
}

.tn-guide-meta dd {
    font-weight: 700;
}

.tn-guide-meta a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.tn-guide-hero-media {
    position: relative;
    margin: 0;
}

.tn-guide-hero-media::before {
    position: absolute;
    inset: 1.1rem -1.1rem -1.1rem 1.1rem;
    z-index: -1;
    border: 1px solid rgba(37, 87, 232, .16);
    border-radius: 1.6rem;
    content: "";
}

.tn-guide-hero-media img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    border-radius: 1.35rem;
    background: #eaf0f8;
    box-shadow: var(--guide-shadow);
    object-fit: cover;
}

.tn-guide-hero-media figcaption {
    margin: .9rem .25rem 0;
    color: var(--guide-muted);
    font-size: .74rem;
    line-height: 1.45;
}

.tn-guide-header .tn-node-rating {
    gap: .4rem .6rem;
    margin-top: .65rem;
    font-size: .66rem;
}

.tn-guide-header .tn-node-rating__aggregate { gap: .4rem; }
.tn-guide-header .tn-node-rating__aggregate i { font-size: 1rem; }
.tn-guide-header .tn-node-rating__aggregate strong { font-size: .8rem; }
.tn-guide-header .tn-node-rating__aggregate span { font-size: .64rem; }
.tn-guide-header .tn-node-rating__divider { height: 1.3rem; }
.tn-guide-header .tn-node-rating__open { min-height: 2rem; gap: .5rem; padding: .35rem .65rem; border-radius: .4rem; }

.tn-guide-reading-layout {
    display: grid;
    grid-template-columns: minmax(0, 46rem);
    justify-content: center;
    padding-top: clamp(3.25rem, 7vw, 6.25rem);
    padding-bottom: clamp(3rem, 7vw, 6rem);
}

.tn-guide-reading-layout.has-toc {
    grid-template-columns: 13.5rem minmax(0, 46rem);
    gap: clamp(3rem, 6vw, 6rem);
    justify-content: center;
}

.tn-guide-toc__desktop {
    position: sticky;
    top: 7rem;
    padding-top: .2rem;
}

.tn-guide-toc__desktop h2 {
    margin: 0 0 1.2rem;
    color: #1c2d50;
    font-size: .76rem;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.tn-guide-toc ol {
    display: grid;
    gap: .9rem;
    margin: 0;
    padding: 0 0 0 1rem;
    border-left: 1px solid #d9e2ef;
    list-style: none;
}

.tn-guide-toc li {
    position: relative;
    font-size: .79rem;
    font-weight: 650;
    line-height: 1.42;
}

.tn-guide-toc li::before {
    position: absolute;
    top: .45em;
    left: calc(-1rem - 3px);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #bac7da;
    content: "";
}

.tn-guide-toc__level-3 {
    padding-left: .75rem;
}

.tn-guide-toc a {
    color: #65728a;
    text-decoration: none;
}

.tn-guide-toc a:hover {
    color: var(--guide-blue);
}

.tn-guide-toc__mobile {
    display: none;
}

.tn-guide-article {
    min-width: 0;
}

.tn-guide-article__body {
    color: var(--guide-copy);
    font-size: clamp(1.05rem, 1.1vw, 1.15rem);
    line-height: 1.82;
}

.tn-guide-article__body > :first-child {
    margin-top: 0;
}

.tn-guide-article__body > p:first-child {
    color: #243657;
    font-size: 1.18em;
    line-height: 1.7;
}

.tn-guide-article__body p {
    margin: 0 0 1.55em;
    text-wrap: pretty;
}

.tn-guide-article__body h2,
.tn-guide-article__body h3,
.tn-guide-article__body h4 {
    color: #102047;
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.2;
    scroll-margin-top: 6rem;
    text-wrap: balance;
}

.tn-guide-article__body h2 {
    margin: 2.4em 0 .75em;
    padding-top: .25em;
    font-size: clamp(1.65rem, 2.4vw, 2.15rem);
}

.tn-guide-article__body h3 {
    margin: 2em 0 .65em;
    font-size: clamp(1.3rem, 1.8vw, 1.55rem);
}

.tn-guide-article__body h4 {
    margin: 1.8em 0 .55em;
    font-size: 1.08rem;
}

.tn-guide-article__body strong {
    color: #1d3053;
    font-weight: 750;
}

.tn-guide-article__body a {
    color: #164bcc;
    font-weight: 650;
    overflow-wrap: anywhere;
    text-decoration-thickness: .08em;
    text-underline-offset: .18em;
}

.tn-guide-article__body a:hover {
    color: #0d328e;
}

.tn-guide-article__body ul,
.tn-guide-article__body ol {
    display: grid;
    gap: .65em;
    margin: 0 0 1.8em;
    padding-left: 1.45em;
}

.tn-guide-article__body li {
    padding-left: .25em;
}

.tn-guide-article__body li::marker {
    color: var(--guide-blue);
    font-weight: 800;
}

.tn-guide-article__body li > ul,
.tn-guide-article__body li > ol {
    margin: .7em 0 .25em;
}

.tn-guide-article__body blockquote {
    position: relative;
    margin: 2.2rem 0;
    padding: 1.35rem 1.5rem 1.35rem 1.65rem;
    border: 1px solid #cfdcf0;
    border-left: 4px solid var(--guide-blue);
    border-radius: 0 1rem 1rem 0;
    background: #f5f8fe;
    color: #283a5b;
}

.tn-guide-article__body blockquote > :last-child {
    margin-bottom: 0;
}

.tn-guide-article__body hr {
    width: 4.5rem;
    margin: 3.5rem auto;
    border: 0;
    border-top: 2px solid #cbd7e8;
}

.tn-guide-article__body figure {
    margin: 2.5rem 0;
}

.tn-guide-article__body img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 2.5rem auto;
    border-radius: 1rem;
    background: #eef2f7;
}

.tn-guide-article__body figure img {
    margin-bottom: .75rem;
}

.tn-guide-article__body figcaption,
.tn-guide-article__body caption {
    color: var(--guide-muted);
    font-size: .76rem;
    line-height: 1.5;
    text-align: left;
}

.tn-guide-article__body table {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 2.25rem 0;
    overflow-x: auto;
    border: 1px solid #d9e2ef;
    border-collapse: separate;
    border-radius: .9rem;
    border-spacing: 0;
    background: #fff;
    -webkit-overflow-scrolling: touch;
}

.tn-guide-article__body caption {
    padding: 0 0 .75rem;
    color: #52617a;
    font-weight: 700;
}

.tn-guide-article__body th,
.tn-guide-article__body td {
    min-width: 9rem;
    padding: .85rem 1rem;
    border-right: 1px solid #e4eaf2;
    border-bottom: 1px solid #e4eaf2;
    font-size: .88rem;
    line-height: 1.5;
    text-align: left;
    vertical-align: top;
}

.tn-guide-article__body th {
    background: #f1f5fb;
    color: #223557;
    font-weight: 800;
}

.tn-guide-article__body tr:last-child td,
.tn-guide-article__body tr:last-child th {
    border-bottom: 0;
}

.tn-guide-article__body td:last-child,
.tn-guide-article__body th:last-child {
    border-right: 0;
}

.tn-guide-article__body pre {
    max-width: 100%;
    margin: 2rem 0;
    padding: 1rem 1.15rem;
    overflow-x: auto;
    border-radius: .8rem;
    background: #102047;
    color: #eff5ff;
    font-size: .85rem;
    line-height: 1.65;
}

.tn-guide-article__body :not(pre) > code {
    padding: .12em .35em;
    border-radius: .3em;
    background: #edf2fa;
    color: #18347d;
    font-size: .88em;
}

.tn-guide-empty {
    padding: clamp(2rem, 6vw, 4rem);
    border: 1px solid var(--guide-line);
    border-radius: 1.25rem;
    background: var(--guide-warm);
    text-align: center;
}

.tn-guide-empty > i {
    color: var(--guide-blue);
    font-size: 2rem;
}

.tn-guide-empty h2 {
    margin: 1rem 0 .65rem;
    font-size: 1.5rem;
}

.tn-guide-empty p {
    margin: 0 0 1.25rem;
    color: var(--guide-muted);
}

.tn-guide-empty a {
    color: var(--guide-blue);
    font-weight: 800;
}

.tn-guide-article__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: clamp(3.5rem, 8vw, 6rem);
    padding-top: 1.35rem;
    border-top: 1px solid var(--guide-line);
}

.tn-guide-article__footer p {
    margin: 0;
    color: #8a96a9;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.tn-guide-article__footer p span {
    margin-right: .35rem;
    color: #e55843;
}

.tn-guide-article__footer a {
    color: #29436e;
    font-size: .84rem;
    font-weight: 800;
    text-decoration: none;
}

.tn-guide-article__footer a:hover {
    color: var(--guide-blue);
}

.tn-guide-next {
    padding: clamp(3.5rem, 7vw, 6.5rem) 0;
    border-top: 1px solid var(--guide-line);
    background: #f5f8fc;
}

.tn-guide-next__heading {
    max-width: 42rem;
    margin-bottom: 2rem;
}

.tn-guide-next__heading > span,
.tn-guide-context-links > span {
    color: var(--guide-blue);
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.tn-guide-next__heading h2 {
    margin: .55rem 0 0;
    color: #102047;
    font-size: clamp(1.7rem, 3vw, 2.45rem);
    letter-spacing: -.035em;
    line-height: 1.15;
}

.tn-guide-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.tn-guide-related-card {
    position: relative;
    display: flex;
    min-height: 16rem;
    flex-direction: column;
    padding: 1.45rem;
    overflow: hidden;
    border: 1px solid #dce4ef;
    border-radius: 1.1rem;
    background: #fff;
    box-shadow: 0 8px 28px rgba(25, 48, 89, .055);
    color: #102047;
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.tn-guide-related-card:hover {
    transform: translateY(-3px);
    border-color: #b9caf0;
    box-shadow: 0 16px 38px rgba(25, 48, 89, .11);
}

.tn-guide-related-card__icon {
    display: grid;
    width: 2.7rem;
    height: 2.7rem;
    margin-bottom: 1.5rem;
    border-radius: .8rem;
    place-items: center;
    background: var(--guide-sky);
    color: var(--guide-blue);
}

.tn-guide-related-card__type {
    color: var(--guide-muted);
    font-size: .69rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.tn-guide-related-card strong {
    margin-top: .55rem;
    font-size: 1.12rem;
    line-height: 1.3;
}

.tn-guide-related-card small {
    display: -webkit-box;
    margin-top: .65rem;
    overflow: hidden;
    color: #66748a;
    font-size: .79rem;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.tn-guide-related-card em {
    margin-top: auto;
    padding-top: 1.25rem;
    color: var(--guide-blue);
    font-size: .78rem;
    font-style: normal;
    font-weight: 800;
}

.tn-guide-related-card em i {
    margin-left: .3rem;
    transition: transform .2s ease;
}

.tn-guide-related-card:hover em i {
    transform: translateX(3px);
}

.tn-guide-context-links {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    align-items: stretch;
    margin-top: 2.25rem;
    padding-top: 1.5rem;
    border-top: 1px solid #dce4ef;
}

.tn-guide-context-links > span {
    display: flex;
    align-items: center;
    padding-right: .5rem;
}

.tn-guide-context-links a {
    display: inline-flex;
    gap: .7rem;
    align-items: center;
    min-width: 12rem;
    padding: .75rem .9rem;
    border: 1px solid #dce4ef;
    border-radius: .75rem;
    background: rgba(255, 255, 255, .72);
    color: #213657;
    text-decoration: none;
}

.tn-guide-context-links a:hover {
    border-color: #bacaf0;
    background: #fff;
}

.tn-guide-context-links a > i {
    width: 1.5rem;
    color: var(--guide-blue);
    text-align: center;
}

.tn-guide-context-links a span {
    display: grid;
    gap: .05rem;
}

.tn-guide-context-links small {
    color: #7a879a;
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.tn-guide-context-links strong {
    font-size: .78rem;
}

@media (max-width: 1050px) {
    .tn-guide-header__grid {
        grid-template-columns: minmax(0, 1fr) minmax(19rem, .75fr);
        gap: 3rem;
    }

    .tn-guide-reading-layout.has-toc {
        grid-template-columns: 12rem minmax(0, 43rem);
        gap: 3rem;
    }
}

@media (max-width: 850px) {
    .tn-guide-header__grid,
    .tn-guide-header--no-image .tn-guide-header__grid {
        grid-template-columns: 1fr;
    }

    .tn-guide-header h1,
    .tn-guide-header--no-image h1 {
        max-width: 16ch;
    }

    .tn-guide-hero-media {
        max-width: 42rem;
    }

    .tn-guide-reading-layout,
    .tn-guide-reading-layout.has-toc {
        grid-template-columns: minmax(0, 43rem);
        gap: 2rem;
    }

    .tn-guide-toc__desktop {
        display: none;
    }

    .tn-guide-toc__mobile {
        display: block;
        border: 1px solid #d8e2f0;
        border-radius: .9rem;
        background: #f7f9fd;
    }

    .tn-guide-toc__mobile summary {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 1.1rem;
        color: #20365c;
        cursor: pointer;
        font-size: .82rem;
        font-weight: 800;
        list-style: none;
    }

    .tn-guide-toc__mobile summary::-webkit-details-marker {
        display: none;
    }

    .tn-guide-toc__mobile[open] summary i {
        transform: rotate(180deg);
    }

    .tn-guide-toc__mobile ol {
        gap: .75rem;
        margin: 0 1.1rem 1rem;
        padding: .9rem 0 0 1rem;
        border-top: 1px solid #e0e7f1;
        border-left: 0;
    }

    .tn-guide-toc__mobile li::before {
        display: none;
    }

    .tn-guide-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .tn-guide-header > .tn-shell {
        padding-top: 1rem;
        padding-bottom: 3.25rem;
    }

    .tn-guide-detail-actions {
        position: static;
        display: flex;
        justify-content: flex-end;
        margin: -1.3rem 0 1.6rem;
    }

    .tn-guide-page .tn-node-breadcrumbs {
        margin-bottom: 2.2rem;
    }

    .tn-guide-page .tn-node-breadcrumbs li {
        font-size: .7rem;
    }

    .tn-guide-page .tn-node-breadcrumbs [aria-current="page"] {
        max-width: 11rem;
    }

    .tn-guide-header__grid {
        gap: 2.25rem;
    }

    .tn-guide-header h1 {
        font-size: clamp(2.25rem, 12vw, 3.2rem);
        line-height: 1.02;
    }

    .tn-guide-deck {
        margin-top: 1.25rem;
        font-size: 1.05rem;
        line-height: 1.6;
    }

    .tn-guide-meta {
        display: grid;
        gap: .65rem;
        margin-top: 1.55rem;
    }

    .tn-guide-hero-media::before {
        inset: .65rem -.5rem -.65rem .5rem;
    }

    .tn-guide-hero-media img {
        border-radius: 1rem;
    }

    .tn-guide-reading-layout,
    .tn-guide-reading-layout.has-toc {
        gap: 1.5rem;
        padding-top: 2.75rem;
        padding-bottom: 3.75rem;
    }

    .tn-guide-article__body {
        font-size: 1.02rem;
        line-height: 1.78;
    }

    .tn-guide-article__body > p:first-child {
        font-size: 1.08em;
    }

    .tn-guide-article__body h2 {
        margin-top: 2.1em;
        font-size: 1.65rem;
    }

    .tn-guide-article__body blockquote {
        margin-right: -.25rem;
        margin-left: -.25rem;
        padding: 1.1rem 1.1rem 1.1rem 1.25rem;
    }

    .tn-guide-article__footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .tn-guide-related-grid {
        grid-template-columns: 1fr;
    }

    .tn-guide-related-card {
        min-height: 13rem;
    }

    .tn-guide-context-links {
        align-items: stretch;
        flex-direction: column;
    }

    .tn-guide-context-links > span {
        margin-bottom: .2rem;
    }

    .tn-guide-context-links a {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tn-guide-related-card,
    .tn-guide-related-card em i {
        transition: none;
    }
}

@media print {
    .tn-guide-toc,
    .tn-guide-next,
    .tn-guide-article__footer {
        display: none;
    }

    .tn-guide-header {
        background: #fff;
    }

    .tn-guide-reading-layout,
    .tn-guide-reading-layout.has-toc {
        display: block;
        padding: 2rem 0;
    }
}

/* Decision-guide composition */
.tn-guide-page {
    --guide-green: #13a779;
    --guide-orange: #f47b20;
    --guide-purple: #7c4dff;
    --guide-red: #e84863;
    --guide-teal: #12a9aa;
    --guide-soft-blue: #eff6ff;
    --guide-soft-green: #eefbf6;
    --guide-soft-orange: #fff6ed;
    --guide-soft-purple: #f6f2ff;
    --guide-soft-red: #fff1f3;
}

.tn-guide-header > .tn-shell {
    padding-bottom: 1.75rem;
}

.tn-guide-header--no-image .tn-guide-header__grid,
.tn-guide-header__grid {
    grid-template-columns: minmax(0, .92fr) minmax(24rem, 1.08fr);
    gap: clamp(2rem, 4vw, 4.75rem);
}

.tn-guide-header h1,
.tn-guide-header--no-image h1 {
    max-width: 12ch;
    font-size: clamp(3rem, 5.3vw, 5.2rem);
}

.tn-guide-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    align-items: center;
    margin-top: 1.6rem;
}

.tn-guide-button,
.tn-guide-hero-actions .tn-save-node-button,
.tn-guide-hero-actions form button {
    display: inline-flex;
    min-height: 2.8rem;
    justify-content: center;
    align-items: center;
    gap: .55rem;
    padding: .72rem 1rem;
    border: 1px solid #d4deed;
    border-radius: .6rem;
    background: #fff;
    color: #1d3154;
    cursor: pointer;
    font: inherit;
    font-size: .82rem;
    font-weight: 800;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.tn-guide-button:hover,
.tn-guide-hero-actions form button:hover {
    transform: translateY(-1px);
    border-color: #aebfe0;
    box-shadow: 0 8px 20px rgba(27, 57, 111, .1);
}

.tn-guide-button--primary {
    border-color: var(--guide-blue);
    background: var(--guide-blue);
    box-shadow: 0 10px 25px rgba(37, 87, 232, .22);
    color: #fff;
}

.tn-guide-button--primary:hover { color: #fff; }

.tn-guide-hero-art {
    position: relative;
    min-height: 28rem;
    overflow: hidden;
    border-radius: 2rem 0 0 2rem;
    background: linear-gradient(145deg, rgba(255,255,255,.15), rgba(220,239,255,.82));
    isolation: isolate;
}

.tn-guide-hero-art::before {
    position: absolute;
    right: -8%;
    bottom: -18%;
    width: 75%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 38%, #fff 0 5%, #dff1ff 45%, #b9dcff 72%, transparent 73%);
    content: "";
    z-index: -2;
}

.tn-guide-hero-art__sun {
    position: absolute;
    top: 12%;
    right: 12%;
    width: 7rem;
    height: 7rem;
    border-radius: 50%;
    background: rgba(255, 180, 76, .28);
    box-shadow: 0 0 0 2rem rgba(255, 155, 77, .08);
}

.tn-guide-hero-art__temple,
.tn-guide-hero-art__city {
    position: absolute;
    bottom: 16%;
    color: #79b7dd;
    filter: drop-shadow(0 12px 20px rgba(27, 70, 113, .15));
}

.tn-guide-hero-art__temple { left: 3%; font-size: 9rem; color: #e3a950; }
.tn-guide-hero-art__city { right: 1%; font-size: 11rem; }

.tn-guide-hero-art__document {
    position: absolute;
    bottom: 2rem;
    left: 36%;
    display: grid;
    width: 9rem;
    height: 12rem;
    padding: 1.2rem;
    transform: rotate(-8deg);
    border: 6px solid rgba(255,255,255,.65);
    border-radius: .4rem;
    background: linear-gradient(150deg, #0b2555, #183f83);
    box-shadow: 0 22px 38px rgba(15, 43, 88, .27);
    color: #f7c95c;
    place-content: center;
    text-align: center;
}

.tn-guide-hero-art__document i { margin-bottom: .75rem; font-size: 2rem; }
.tn-guide-hero-art__document strong { font-size: .85rem; letter-spacing: .08em; }
.tn-guide-hero-art__document small { font-size: .62rem; letter-spacing: .18em; }

.tn-guide-hero-art__person {
    position: absolute;
    right: 15%;
    bottom: 1rem;
    display: grid;
    width: 9.5rem;
    height: 15rem;
    border-radius: 5rem 5rem 1rem 1rem;
    background: linear-gradient(#fff 0 25%, #e8f0fa 25%);
    box-shadow: 0 18px 36px rgba(20, 54, 100, .2);
    color: #183f83;
    font-size: 7.2rem;
    place-items: end center;
}

.tn-guide-disclaimer {
    display: flex;
    gap: .8rem;
    align-items: flex-start;
    margin-top: 1.8rem;
    padding: .85rem 1rem;
    border: 1px solid #d7e7fb;
    border-radius: .75rem;
    background: rgba(235, 245, 255, .86);
    color: #405474;
    font-size: .76rem;
    line-height: 1.55;
}

.tn-guide-disclaimer i { margin-top: .15rem; color: var(--guide-blue); }

.tn-guide-overview {
    padding-top: 2rem;
    padding-bottom: 1rem;
}

.tn-guide-quick {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 15.5rem;
    gap: 1rem;
    padding: 1.2rem;
    border: 1px solid #dce5f1;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 12px 32px rgba(19, 46, 88, .06);
}

.tn-guide-quick__main {
    display: grid;
    grid-template-columns: 2.7rem minmax(0, 1fr);
    gap: .85rem;
    align-items: start;
}

.tn-guide-quick__icon {
    display: grid;
    width: 2.7rem;
    height: 2.7rem;
    border-radius: .75rem;
    background: #fff5dc;
    color: #f5a300;
    place-items: center;
}

.tn-guide-quick small,
.tn-guide-section-heading small {
    color: var(--guide-blue);
    font-size: .68rem;
    font-weight: 850;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.tn-guide-quick h2 {
    max-width: 52rem;
    margin: .2rem 0 .35rem;
    color: var(--guide-ink);
    font-size: clamp(1.2rem, 2vw, 1.65rem);
    letter-spacing: -.02em;
    line-height: 1.2;
    scroll-margin-top: 6rem;
}

.tn-guide-quick p { margin: 0; color: var(--guide-muted); font-size: .82rem; line-height: 1.55; }

.tn-guide-quick__cards { display: grid; gap: .55rem; }

.tn-guide-mini-card {
    display: grid;
    grid-template-columns: 1.8rem minmax(0, 1fr);
    gap: .6rem;
    align-items: start;
    padding: .7rem;
    border: 1px solid #e0e7f0;
    border-radius: .65rem;
    background: #f8fbff;
    color: var(--guide-ink);
    text-decoration: none;
}

.tn-guide-mini-card > i { display: grid; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: #e6f0ff; color: var(--guide-blue); place-items: center; }
.tn-guide-mini-card strong, .tn-guide-mini-card span { display: block; }
.tn-guide-mini-card strong { font-size: .75rem; }
.tn-guide-mini-card span { margin-top: .15rem; color: var(--guide-muted); font-size: .65rem; line-height: 1.35; }

.tn-guide-decisions { padding: 1.65rem 0 .5rem; scroll-margin-top: 6rem; }
.tn-guide-section-heading h2 { margin: .25rem 0 .2rem; color: var(--guide-ink); font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -.025em; }
.tn-guide-section-heading p { margin: 0; color: var(--guide-muted); font-size: .83rem; }

.tn-guide-option-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .75rem;
    margin-top: 1rem;
}

.tn-guide-option {
    display: grid;
    grid-template-columns: 2.5rem minmax(0, 1fr) auto;
    gap: .65rem;
    align-items: center;
    min-height: 6.4rem;
    padding: .85rem;
    border: 1px solid #dce8f6;
    border-radius: .8rem;
    background: var(--guide-soft-blue);
    color: var(--guide-ink);
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease;
}

.tn-guide-option:hover, .tn-guide-option.is-selected { transform: translateY(-2px); box-shadow: 0 12px 25px rgba(20, 50, 94, .11); }
.tn-guide-option > span { display: grid; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: #d9eaff; color: var(--guide-blue); place-items: center; }
.tn-guide-option strong, .tn-guide-option small { display: block; }
.tn-guide-option strong { font-size: .82rem; line-height: 1.2; }
.tn-guide-option small { display: -webkit-box; margin-top: .25rem; overflow: hidden; color: var(--guide-muted); font-size: .66rem; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.tn-guide-option > i { color: currentColor; font-size: .75rem; }

.is-green { --tone: var(--guide-green); --tone-soft: var(--guide-soft-green); }
.is-orange { --tone: var(--guide-orange); --tone-soft: var(--guide-soft-orange); }
.is-purple { --tone: var(--guide-purple); --tone-soft: var(--guide-soft-purple); }
.is-red { --tone: var(--guide-red); --tone-soft: var(--guide-soft-red); }
.is-teal { --tone: var(--guide-teal); --tone-soft: #edfbfb; }
.is-blue { --tone: var(--guide-blue); --tone-soft: var(--guide-soft-blue); }
.is-neutral { --tone: #61718a; --tone-soft: #f5f7fa; }
.is-dark { --tone: #fff; --tone-soft: #11377f; }
.tn-guide-option.is-green, .tn-guide-option.is-orange, .tn-guide-option.is-purple, .tn-guide-option.is-red, .tn-guide-option.is-teal { border-color: color-mix(in srgb, var(--tone) 18%, #fff); background: var(--tone-soft); }
.tn-guide-option[class*="is-"] > span { background: color-mix(in srgb, var(--tone) 14%, #fff); color: var(--tone); }

.tn-guide-reading-layout.has-toc {
    grid-template-columns: 12.25rem minmax(0, 48rem) 14.5rem;
    gap: clamp(1.25rem, 2.5vw, 2.5rem);
    align-items: start;
    padding-top: 2rem;
}

.tn-guide-toc__desktop {
    padding: 1rem .85rem;
    border: 1px solid #e1e8f2;
    border-radius: .85rem;
    background: #f8fbff;
}

.tn-guide-toc ol { gap: .35rem; padding-left: 0; border: 0; counter-reset: guide-toc; }
.tn-guide-toc li { counter-increment: guide-toc; }
.tn-guide-toc li::before { display: none; }
.tn-guide-toc a { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); gap: .4rem; align-items: start; padding: .35rem .4rem; border-radius: .42rem; font-size: .7rem; }
.tn-guide-toc a::before { display: grid; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: #e6edf7; color: #66758d; content: counter(guide-toc); font-size: .6rem; place-items: center; }
.tn-guide-toc a[aria-current="location"] { background: #eaf2ff; color: var(--guide-blue); font-weight: 850; }
.tn-guide-toc a[aria-current="location"]::before { background: var(--guide-blue); color: #fff; }
.tn-guide-toc__level-3 { padding-left: 0; }

.tn-guide-article__intro {
    margin-bottom: 1rem;
    padding: 1rem 1.15rem;
    border: 1px solid #dce5f2;
    border-radius: .8rem;
    background: #f9fbfe;
    color: #40506a;
    font-size: .92rem;
    line-height: 1.65;
}
.tn-guide-article__intro > :last-child { margin-bottom: 0; }

.tn-guide-step {
    --tone: var(--guide-blue);
    --tone-soft: var(--guide-soft-blue);
    margin-bottom: 1rem;
    padding: 1.15rem;
    border: 1px solid #dfe6f0;
    border-radius: .9rem;
    background: #fff;
    box-shadow: 0 8px 24px rgba(16, 43, 86, .045);
    scroll-margin-top: 6rem;
}

.tn-guide-step--banner,
.tn-guide-step.is-dark {
    border-color: #123b85;
    background: linear-gradient(135deg, #123a82, #08275e);
    color: #fff;
}

.tn-guide-step__header { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: .7rem; align-items: start; margin-bottom: .75rem; }
.tn-guide-step__header > div:only-child { grid-column: 1 / -1; }
.tn-guide-step__number { display: grid; width: 2rem; height: 2rem; border-radius: 50%; background: var(--tone); box-shadow: 0 5px 12px color-mix(in srgb, var(--tone) 24%, transparent); color: #fff; font-size: .8rem; font-weight: 850; place-items: center; }
.tn-guide-step__header small { color: var(--tone); font-size: .65rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.tn-guide-step__header h2 { margin: 0; color: var(--guide-ink); font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -.025em; line-height: 1.2; }
.tn-guide-step__header p { margin: .25rem 0 0; color: var(--guide-muted); font-size: .77rem; line-height: 1.5; }
.tn-guide-step.is-dark h2, .tn-guide-step.is-dark .tn-guide-step__header p, .tn-guide-step--banner h2, .tn-guide-step--banner p { color: #fff; }
.tn-guide-step__lead { color: #334561; font-size: .92rem; line-height: 1.65; }

.tn-guide-step .tn-guide-article__body { font-size: .92rem; line-height: 1.67; }
.tn-guide-step .tn-guide-article__body h3 { margin: 1.4rem 0 .45rem; padding-top: .25rem; font-size: 1.05rem; }
.tn-guide-step .tn-guide-article__body p { margin-bottom: 1rem; }
.tn-guide-step .tn-guide-article__body ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; padding: 0; list-style: none; }
.tn-guide-step .tn-guide-article__body ul > li { position: relative; padding: .65rem .65rem .65rem 2rem; border: 1px solid #e1e8f2; border-radius: .55rem; background: #fafcff; }
.tn-guide-step .tn-guide-article__body ul > li::before { position: absolute; top: .7rem; left: .65rem; color: var(--guide-green); content: "\f058"; font-family: "Font Awesome 6 Free"; font-weight: 900; }
.tn-guide-step .tn-guide-article__body ol { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .65rem; padding: 0; counter-reset: article-step; list-style: none; }
.tn-guide-step .tn-guide-article__body ol > li { position: relative; padding: 2.5rem .7rem .7rem; border-top: 2px solid #cfe0f9; counter-increment: article-step; font-size: .72rem; line-height: 1.45; }
.tn-guide-step .tn-guide-article__body ol > li::before { position: absolute; top: -.9rem; left: 0; display: grid; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--guide-blue); color: #fff; content: counter(article-step); font-size: .7rem; font-weight: 850; place-items: center; }

.tn-guide-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; margin-top: .85rem; }
.tn-guide-info-card { --tone: var(--guide-blue); --tone-soft: var(--guide-soft-blue); padding: .85rem; border: 1px solid color-mix(in srgb, var(--tone) 18%, #e6ebf2); border-radius: .7rem; background: var(--tone-soft); }
.tn-guide-info-card > i { color: var(--tone); }
.tn-guide-info-card small { display: block; margin-top: .55rem; color: var(--tone); font-size: .62rem; font-weight: 850; text-transform: uppercase; }
.tn-guide-info-card h3 { margin: .25rem 0; color: var(--guide-ink); font-size: .9rem; }
.tn-guide-info-card p, .tn-guide-info-card li { color: #52617a; font-size: .72rem; line-height: 1.45; }
.tn-guide-info-card ul { padding-left: 1rem; }
.tn-guide-info-card a { color: var(--tone); font-size: .72rem; font-weight: 800; text-decoration: none; }

.tn-guide-comparison { max-width: 100%; margin-top: .85rem; overflow-x: auto; border: 1px solid #dce4ee; border-radius: .7rem; }
.tn-guide-comparison table { width: 100%; border-collapse: collapse; background: #fff; }
.tn-guide-comparison th, .tn-guide-comparison td { min-width: 9rem; padding: .7rem; border-right: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; color: #42516a; font-size: .7rem; line-height: 1.4; text-align: left; vertical-align: top; }
.tn-guide-comparison thead th { background: #f0f5fc; color: var(--guide-ink); }
.tn-guide-comparison tr > :first-child { position: sticky; left: 0; min-width: 7rem; background: #f8fafd; color: var(--guide-ink); z-index: 1; }
.tn-guide-comparison tr:last-child > * { border-bottom: 0; }

.tn-guide-checklist-progress { display: grid; grid-template-columns: auto minmax(5rem, 1fr) auto; gap: .65rem; align-items: center; margin: .8rem 0; color: #64728a; font-size: .7rem; }
.tn-guide-checklist-progress > div { height: .35rem; overflow: hidden; border-radius: 1rem; background: #e4eaf2; }
.tn-guide-checklist-progress i { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--guide-blue); transition: width .2s ease; }
.tn-guide-checklist-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.tn-guide-checklist-group { margin: 0; padding: .85rem; border: 1px solid #dfe6f0; border-radius: .7rem; }
.tn-guide-checklist-group legend { padding: 0 .25rem; color: var(--guide-ink); font-size: .84rem; font-weight: 850; }
.tn-guide-checklist-group > p { margin: 0 0 .65rem; color: var(--guide-muted); font-size: .7rem; }
.tn-guide-checklist-group label { display: flex; gap: .55rem; align-items: flex-start; margin: .45rem 0; color: #40506a; cursor: pointer; font-size: .74rem; }
.tn-guide-checklist-group input { width: 1rem; height: 1rem; margin-top: .05rem; accent-color: var(--tone); }
.tn-guide-checklist-group span, .tn-guide-checklist-group small { display: block; }
.tn-guide-checklist-group small { margin-top: .1rem; color: var(--guide-muted); font-size: .65rem; font-weight: 400; }

.tn-guide-timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr)); gap: .55rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.tn-guide-timeline li { position: relative; min-height: 7.2rem; padding: 2.25rem .6rem .6rem; border-top: 2px solid #cfe0fa; color: #4c5c73; font-size: .67rem; line-height: 1.4; }
.tn-guide-timeline li > span { position: absolute; top: -.85rem; left: 0; display: grid; width: 1.65rem; height: 1.65rem; border-radius: 50%; background: var(--guide-blue); color: #fff; font-weight: 850; place-items: center; }
.tn-guide-timeline li > i { position: absolute; top: .65rem; left: .2rem; color: #86a4d1; }
.tn-guide-timeline strong { display: block; color: var(--guide-ink); font-size: .73rem; }
.tn-guide-timeline p { margin: .25rem 0 0; }

.tn-guide-faqs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.tn-guide-faqs details { border: 1px solid #dfe6ef; border-radius: .55rem; background: #fff; }
.tn-guide-faqs summary { display: flex; justify-content: space-between; gap: .75rem; padding: .75rem; color: var(--guide-ink); cursor: pointer; font-size: .75rem; font-weight: 750; list-style: none; }
.tn-guide-faqs summary::-webkit-details-marker { display: none; }
.tn-guide-faqs details[open] summary i { transform: rotate(180deg); }
.tn-guide-faqs details p { margin: 0; padding: 0 .75rem .75rem; color: var(--guide-muted); font-size: .72rem; line-height: 1.55; }
.tn-guide-section-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .9rem; }

.tn-guide-sidebar { position: sticky; top: 7rem; display: grid; gap: .75rem; }
.tn-guide-verified, .tn-guide-help, .tn-guide-sidebar-related { padding: .9rem; border: 1px solid #dfe7f1; border-radius: .75rem; background: #fff; }
.tn-guide-verified { border-color: #cfece3; background: #f1fbf7; }
.tn-guide-verified__icon { display: grid; width: 2.2rem; height: 2.2rem; margin-bottom: .55rem; border-radius: .6rem; background: #d7f4e9; color: var(--guide-green); place-items: center; }
.tn-guide-verified small, .tn-guide-verified strong { display: block; }
.tn-guide-verified small { color: #60718a; font-size: .62rem; font-weight: 800; text-transform: uppercase; }
.tn-guide-verified strong { margin-top: .15rem; color: var(--guide-ink); font-size: .78rem; }
.tn-guide-verified p { color: #65758a; font-size: .65rem; line-height: 1.45; }
.tn-guide-verified a { display: flex; justify-content: space-between; gap: .4rem; margin-top: .35rem; padding: .42rem; border-radius: .35rem; background: rgba(255,255,255,.72); color: var(--guide-blue); font-size: .65rem; font-weight: 750; text-decoration: none; }
.tn-guide-help > i { color: var(--guide-blue); }
.tn-guide-help h2, .tn-guide-sidebar-related h2 { margin: .4rem 0; color: var(--guide-ink); font-size: .85rem; }
.tn-guide-help p { color: var(--guide-muted); font-size: .67rem; line-height: 1.45; }
.tn-guide-help span { display: block; margin-bottom: .45rem; color: #50617a; font-size: .68rem; font-weight: 800; }
.tn-guide-help a { display: block; padding: .55rem; border-radius: .45rem; background: var(--guide-blue); color: #fff; font-size: .68rem; font-weight: 800; text-align: center; text-decoration: none; }
.tn-guide-sidebar-related { display: grid; gap: .35rem; }
.tn-guide-sidebar-related a { display: flex; gap: .5rem; align-items: center; padding: .45rem 0; border-bottom: 1px solid #edf0f4; color: #405170; font-size: .68rem; font-weight: 700; line-height: 1.3; text-decoration: none; }
.tn-guide-sidebar-related a:last-child { border: 0; }
.tn-guide-sidebar-related i { color: var(--guide-blue); }

.tn-guide-sources { padding-top: 1rem; padding-bottom: 3rem; }
.tn-guide-source-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .7rem; margin-top: 1rem; }
.tn-guide-source-grid > a { display: grid; grid-template-columns: 2.2rem minmax(0, 1fr) auto; gap: .65rem; align-items: start; min-height: 6rem; padding: .85rem; border: 1px solid #dfe6ef; border-radius: .7rem; background: #fff; color: var(--guide-ink); text-decoration: none; }
.tn-guide-source-grid > a > span { display: grid; width: 2.2rem; height: 2.2rem; border-radius: .55rem; background: #edf4ff; color: var(--guide-blue); place-items: center; }
.tn-guide-source-grid strong, .tn-guide-source-grid small, .tn-guide-source-grid em { display: block; }
.tn-guide-source-grid strong { font-size: .75rem; line-height: 1.25; }
.tn-guide-source-grid small, .tn-guide-source-grid em { margin-top: .2rem; color: var(--guide-muted); font-size: .62rem; font-style: normal; }
.tn-guide-source-grid > a > i { color: var(--guide-blue); font-size: .65rem; }

@media (max-width: 1180px) {
    .tn-guide-reading-layout.has-toc { grid-template-columns: 11.5rem minmax(0, 1fr); }
    .tn-guide-sidebar { position: static; grid-column: 2; grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .tn-guide-header--no-image .tn-guide-header__grid, .tn-guide-header__grid { grid-template-columns: 1fr; }
    .tn-guide-hero-art { min-height: 22rem; }
    .tn-guide-quick { grid-template-columns: 1fr; }
    .tn-guide-quick__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .tn-guide-option-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tn-guide-reading-layout.has-toc { grid-template-columns: minmax(0, 1fr); }
    .tn-guide-sidebar { grid-column: 1; grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .tn-guide-source-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
    .tn-guide-header h1, .tn-guide-header--no-image h1 { font-size: clamp(2.4rem, 13vw, 3.5rem); }
    .tn-guide-hero-actions { align-items: stretch; }
    .tn-guide-hero-actions > * { flex: 1 1 auto; }
    .tn-guide-hero-art { min-height: 18rem; margin-right: -1rem; margin-left: -1rem; border-radius: 1.25rem; }
    .tn-guide-hero-art__temple { font-size: 6rem; }
    .tn-guide-hero-art__city { font-size: 7rem; }
    .tn-guide-hero-art__document { left: 32%; width: 6.5rem; height: 9rem; }
    .tn-guide-hero-art__person { right: 10%; width: 6rem; height: 11rem; font-size: 4.8rem; }
    .tn-guide-quick__cards, .tn-guide-option-grid, .tn-guide-card-grid, .tn-guide-checklist-grid, .tn-guide-faqs, .tn-guide-sidebar, .tn-guide-source-grid { grid-template-columns: 1fr; }
    .tn-guide-quick__main { grid-template-columns: 2.4rem minmax(0, 1fr); }
    .tn-guide-step { padding: .9rem; }
    .tn-guide-step .tn-guide-article__body ul { grid-template-columns: 1fr; }
    .tn-guide-step .tn-guide-article__body ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tn-guide-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media print {
    .tn-guide-hero-actions, .tn-guide-disclaimer, .tn-guide-decisions, .tn-guide-sidebar, .tn-guide-checklist-progress { display: none !important; }
    .tn-guide-step { break-inside: avoid; box-shadow: none; }
}

/* High-density editorial guide layout */
.tn-guide-page .tn-shell {
    max-width: 78rem;
}

.tn-guide-header > .tn-shell {
    padding-top: .8rem;
    padding-bottom: 1rem;
}

.tn-guide-page .tn-node-breadcrumbs {
    margin-bottom: 1.15rem;
}

.tn-guide-page .tn-node-breadcrumbs li {
    font-size: .66rem;
}

.tn-guide-header--no-image .tn-guide-header__grid,
.tn-guide-header__grid {
    grid-template-columns: minmax(0, .86fr) minmax(30rem, 1.14fr);
    gap: clamp(1rem, 3vw, 2.5rem);
    align-items: center;
}

.tn-guide-header h1,
.tn-guide-header--no-image h1 {
    max-width: 11ch;
    font-size: clamp(3rem, 4.45vw, 4rem);
    line-height: .96;
}

.tn-guide-eyebrow {
    margin-bottom: .55rem;
    font-size: .65rem;
}

.tn-guide-deck {
    max-width: 38rem;
    margin-top: .8rem;
    font-size: .91rem;
    line-height: 1.45;
}

.tn-guide-hero-actions {
    gap: .45rem;
    margin-top: .85rem;
}

.tn-guide-button,
.tn-guide-hero-actions .tn-save-node-button,
.tn-guide-hero-actions form button {
    min-height: 2.35rem;
    padding: .55rem .8rem;
    border-radius: .45rem;
    font-size: .69rem;
}

.tn-guide-meta {
    gap: .45rem 1rem;
    margin-top: .85rem;
    font-size: .67rem;
}

.tn-guide-hero-art {
    min-height: 21.5rem;
    margin-right: -1.5rem;
    border-radius: 1.1rem 0 0 1.1rem;
}

.tn-guide-hero-art__temple { bottom: 13%; font-size: 7rem; }
.tn-guide-hero-art__city { bottom: 13%; font-size: 8.5rem; }
.tn-guide-hero-art__sun { width: 5.5rem; height: 5.5rem; }
.tn-guide-hero-art__document { bottom: 1.2rem; width: 7.2rem; height: 9.8rem; padding: .8rem; }
.tn-guide-hero-art__person { right: 13%; bottom: .8rem; width: 7.5rem; height: 11.5rem; font-size: 5.6rem; }

.tn-guide-disclaimer {
    gap: .6rem;
    margin-top: .8rem;
    padding: .62rem .8rem;
    border-radius: .55rem;
    font-size: .66rem;
    line-height: 1.4;
}

.tn-guide-overview {
    padding-top: 1.15rem;
    padding-bottom: .5rem;
}

.tn-guide-quick-row {
    display: grid;
    grid-template-columns: minmax(0, 3.2fr) minmax(13rem, 1fr);
    gap: .85rem;
    align-items: stretch;
}

.tn-guide-quick {
    grid-template-columns: 1fr;
    gap: .75rem;
    padding: .9rem;
    border-radius: .7rem;
    box-shadow: 0 8px 22px rgba(19, 46, 88, .045);
}

.tn-guide-quick__main {
    grid-template-columns: 2.2rem minmax(0, 1fr);
    gap: .65rem;
}

.tn-guide-quick__icon {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: .55rem;
}

.tn-guide-quick h2 {
    margin: .08rem 0 .2rem;
    font-size: 1.18rem;
    line-height: 1.12;
}

.tn-guide-quick p {
    font-size: .7rem;
    line-height: 1.4;
}

.tn-guide-quick__cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .45rem;
}

.tn-guide-mini-card {
    grid-template-columns: 1.55rem minmax(0, 1fr);
    gap: .45rem;
    padding: .55rem;
    border-radius: .5rem;
}

.tn-guide-mini-card > i { width: 1.55rem; height: 1.55rem; font-size: .7rem; }
.tn-guide-mini-card strong { font-size: .66rem; line-height: 1.2; }
.tn-guide-mini-card span { font-size: .58rem; }

.tn-guide-verified {
    display: block;
    padding: .85rem;
    border-radius: .7rem;
}

.tn-guide-verified__icon {
    width: 2rem;
    height: 2rem;
    margin-bottom: .4rem;
}

.tn-guide-verified strong { font-size: .72rem; }
.tn-guide-verified p { margin: .45rem 0; font-size: .59rem; }
.tn-guide-verified a { padding: .35rem .4rem; font-size: .58rem; }

.tn-guide-decisions {
    padding: 1rem 0 .2rem;
}

.tn-guide-section-heading h2 {
    margin: 0 0 .12rem;
    font-size: 1.25rem;
}

.tn-guide-section-heading p {
    font-size: .69rem;
}

.tn-guide-option-grid {
    gap: .55rem;
    margin-top: .65rem;
}

.tn-guide-option {
    grid-template-columns: 2rem minmax(0, 1fr) auto;
    gap: .48rem;
    min-height: 4.7rem;
    padding: .62rem;
    border-radius: .55rem;
}

.tn-guide-option > span { width: 2rem; height: 2rem; font-size: .75rem; }
.tn-guide-option strong { font-size: .69rem; }
.tn-guide-option small { margin-top: .15rem; font-size: .58rem; -webkit-line-clamp: 2; }

.tn-guide-reading-layout.has-toc {
    grid-template-columns: 10.5rem minmax(0, 1fr) 12.5rem;
    gap: 1.15rem;
    padding-top: 1.2rem;
    padding-bottom: 1.4rem;
}

.tn-guide-toc__desktop {
    padding: .72rem .55rem;
    border-radius: .6rem;
}

.tn-guide-toc__desktop h2 { font-size: .68rem; }
.tn-guide-toc ol { gap: .15rem; }
.tn-guide-toc a { grid-template-columns: 1.25rem minmax(0, 1fr); gap: .3rem; padding: .27rem .3rem; font-size: .58rem; line-height: 1.25; }
.tn-guide-toc a::before { width: 1.05rem; height: 1.05rem; font-size: .5rem; }

.tn-guide-article__intro {
    margin-bottom: .85rem;
    padding: .75rem .85rem;
    border-radius: .55rem;
    font-size: .75rem;
    line-height: 1.5;
}

.tn-guide-step--article {
    margin-bottom: .2rem;
    padding: .85rem 0 1.15rem;
    border: 0;
    border-bottom: 1px solid #e6ecf4;
    border-radius: 0;
    box-shadow: none;
}

.tn-guide-step__header {
    grid-template-columns: 1.7rem minmax(0, 1fr);
    gap: .55rem;
    margin-bottom: .45rem;
}

.tn-guide-step__number {
    width: 1.7rem;
    height: 1.7rem;
    font-size: .68rem;
}

.tn-guide-step__header h2 {
    font-size: 1.18rem;
    line-height: 1.15;
}

.tn-guide-step .tn-guide-article__body,
.tn-guide-article__lead {
    color: #46546b;
    font-size: .73rem;
    line-height: 1.48;
}

.tn-guide-step .tn-guide-article__body p,
.tn-guide-article__lead p { margin: 0 0 .6rem; }

.tn-guide-step--card-list .tn-guide-article__body > ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .45rem;
    margin-top: .55rem;
}

.tn-guide-step--card-list .tn-guide-article__body > ul > li {
    min-height: 3.2rem;
    padding: .55rem .55rem .55rem 1.75rem;
    border-radius: .45rem;
    background: #f8fbff;
    font-size: .65rem;
    line-height: 1.35;
}

.tn-guide-step--card-list .tn-guide-article__body > ul > li::before {
    top: .58rem;
    left: .52rem;
}

.tn-guide-route-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: .65rem;
    overflow: hidden;
    border: 1px solid #dce5f0;
    border-radius: .55rem;
}

.tn-guide-route-card {
    --tone: var(--guide-blue);
    --tone-soft: var(--guide-soft-blue);
    position: relative;
    min-width: 0;
    padding: .7rem;
    border-right: 1px solid #dce5f0;
    background: linear-gradient(180deg, var(--tone-soft), #fff 38%);
}

.tn-guide-route-card:last-child { border-right: 0; }
.tn-guide-route-card__number { display: grid; width: 1.45rem; height: 1.45rem; margin-bottom: .45rem; border-radius: 50%; background: var(--tone); color: #fff; font-size: .58rem; font-weight: 850; place-items: center; }
.tn-guide-route-card h3 { min-height: 2.2rem; margin: 0 0 .35rem; color: var(--guide-ink); font-size: .7rem; line-height: 1.2; }
.tn-guide-route-card p { margin: 0 0 .5rem; color: #526079; font-size: .59rem; line-height: 1.38; }
.tn-guide-route-card a { display: inline-flex; gap: .25rem; align-items: center; color: var(--tone); font-size: .58rem; font-weight: 800; text-decoration: none; }

.tn-guide-legacy-timeline {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 0;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.tn-guide-legacy-timeline li {
    position: relative;
    min-width: 0;
    padding: 1.7rem .35rem 0 0;
    border-top: 2px solid #cfe0fb;
}

.tn-guide-legacy-timeline li:not(:last-child)::after {
    position: absolute;
    top: -.31rem;
    right: .15rem;
    color: #7da3dc;
    content: "\f061";
    font-family: "Font Awesome 6 Free";
    font-size: .5rem;
    font-weight: 900;
}

.tn-guide-legacy-timeline li > span {
    position: absolute;
    top: -.72rem;
    left: 0;
    display: grid;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 50%;
    background: var(--guide-blue);
    color: #fff;
    font-size: .54rem;
    font-weight: 850;
    place-items: center;
}

.tn-guide-legacy-timeline p { margin: 0; color: #536178; font-size: .56rem; line-height: 1.3; }

.tn-guide-step--dark-cards {
    margin: .65rem 0;
    padding: .85rem;
    border: 0;
    border-radius: .55rem;
    background: linear-gradient(115deg, #123d8f, #06265f);
}

.tn-guide-step--dark-cards .tn-guide-step__number { background: #fff; color: #174ca8; box-shadow: none; }
.tn-guide-step--dark-cards .tn-guide-step__header h2,
.tn-guide-step--dark-cards .tn-guide-article__body,
.tn-guide-step--dark-cards .tn-guide-article__body p { color: #fff; }
.tn-guide-step--dark-cards .tn-guide-article__body > ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.tn-guide-step--dark-cards .tn-guide-article__body > ul > li { min-height: 3.4rem; padding: .55rem .55rem .55rem 1.7rem; border: 0; border-right: 1px solid rgba(255,255,255,.16); border-radius: 0; background: transparent; color: #fff; font-size: .61rem; line-height: 1.3; }
.tn-guide-step--dark-cards .tn-guide-article__body > ul > li::before { top: .58rem; left: .45rem; color: #79c9ff; }

.tn-guide-step--checklist {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.tn-guide-checklist-group--wide {
    padding: .75rem;
    border-radius: .5rem;
}

.tn-guide-legacy-checklist {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .35rem .8rem;
}

.tn-guide-legacy-checklist label {
    margin: 0;
    padding: .2rem;
    font-size: .65rem;
}

.tn-guide-checklist-note {
    margin-top: .55rem;
    padding: .55rem .65rem;
    border-radius: .45rem;
    background: #f6f9fd;
    color: #55647a;
    font-size: .63rem;
    line-height: 1.4;
}

.tn-guide-checklist-note p { margin: 0; }

.tn-guide-article__footer {
    margin-top: 1.25rem;
    padding-top: .75rem;
}

.tn-guide-article__footer p,
.tn-guide-article__footer a { font-size: .63rem; }

.tn-guide-sidebar {
    top: 5.5rem;
    gap: .55rem;
}

.tn-guide-help,
.tn-guide-sidebar-related {
    padding: .7rem;
    border-radius: .55rem;
}

.tn-guide-help h2,
.tn-guide-sidebar-related h2 { font-size: .75rem; }
.tn-guide-help p { font-size: .6rem; }
.tn-guide-help a { padding: .45rem; font-size: .59rem; }
.tn-guide-sidebar-related { gap: .15rem; }
.tn-guide-sidebar-related a { padding: .35rem 0; font-size: .6rem; }

.tn-guide-sources {
    padding-top: 1.2rem;
    padding-bottom: 1.5rem;
}

.tn-guide-source-grid {
    gap: .5rem;
    margin-top: .65rem;
}

.tn-guide-source-grid > a {
    grid-template-columns: 1.8rem minmax(0, 1fr) auto;
    gap: .45rem;
    min-height: 4.5rem;
    padding: .6rem;
    border-radius: .5rem;
}

.tn-guide-source-grid > a > span { width: 1.8rem; height: 1.8rem; }
.tn-guide-source-grid strong { font-size: .64rem; }
.tn-guide-source-grid small,
.tn-guide-source-grid em { font-size: .55rem; }

.tn-guide-next { padding: 1.35rem 0; }
.tn-guide-next__heading { margin-bottom: .7rem; }
.tn-guide-next__heading h2 { font-size: 1.25rem; }
.tn-guide-related-grid { gap: .6rem; }
.tn-guide-related-card { min-height: 8rem; padding: .75rem; border-radius: .55rem; }
.tn-guide-related-card strong { font-size: .74rem; }
.tn-guide-related-card small { font-size: .6rem; -webkit-line-clamp: 2; }
.tn-guide-context-links { margin-top: .7rem; }
.tn-guide-context-links a { padding: .5rem; }

@media (max-width: 1180px) {
    .tn-guide-reading-layout.has-toc { grid-template-columns: 10rem minmax(0, 1fr); }
    .tn-guide-sidebar { grid-column: 2; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .tn-guide-header--no-image .tn-guide-header__grid,
    .tn-guide-header__grid { grid-template-columns: 1fr; }
    .tn-guide-hero-art { min-height: 17rem; margin-right: 0; }
    .tn-guide-quick-row { grid-template-columns: 1fr; }
    .tn-guide-option-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tn-guide-reading-layout.has-toc { grid-template-columns: 1fr; }
    .tn-guide-sidebar { grid-column: 1; }
    .tn-guide-route-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tn-guide-route-card:nth-child(2) { border-right: 0; }
    .tn-guide-route-card { border-bottom: 1px solid #dce5f0; }
    .tn-guide-legacy-timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 1.7rem; }
}

@media (max-width: 620px) {
    .tn-guide-header h1,
    .tn-guide-header--no-image h1 { font-size: clamp(2.45rem, 12vw, 3.15rem); }
    .tn-guide-deck { font-size: .86rem; }
    .tn-guide-hero-art { display: none; }
    .tn-guide-quick__cards,
    .tn-guide-option-grid,
    .tn-guide-sidebar,
    .tn-guide-source-grid { grid-template-columns: 1fr; }
    .tn-guide-route-grid { grid-template-columns: 1fr; }
    .tn-guide-route-card { border-right: 0; }
    .tn-guide-route-card p { font-size: .66rem; }
    .tn-guide-step--card-list .tn-guide-article__body > ul,
    .tn-guide-step--dark-cards .tn-guide-article__body > ul,
    .tn-guide-legacy-checklist { grid-template-columns: 1fr; }
    .tn-guide-legacy-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
