*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --tn_canvas: #f6f5f9;
    --tn_surface: #ffffff;
    --tn_plum: #5f5574;
    --tn_plum_deep: #4b4259;
    --tn_wash: #e8e5ef;
    --tn_ink: #2b2832;
    --tn_muted: #635e70;
    --tn_hair: #dedae6;
    --tn_sys: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --tn_rad_s: 10px;
    --tn_rad_m: 16px;
    --tn_rad_l: 18px;
    --tn_shade_a: 0 2px 10px rgba(43, 40, 50, .05);
    --tn_shade_b: 0 8px 26px rgba(43, 40, 50, .08);
}

html { scroll-behavior: smooth; }

body {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    font-family: var(--tn_sys);
    background: var(--tn_canvas);
    color: var(--tn_ink);
    line-height: 1.7;
    font-size: 16px;
}

a {
    color: var(--tn_plum);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color .2s ease;
}
a:hover { color: var(--tn_plum_deep); }

/* ---------- top bar ---------- */
.tn_top_bar {
    padding: 20px 18px 18px;
    display: flex;
    justify-content: center;
    background: var(--tn_surface);
    border-bottom: 1px solid var(--tn_hair);
}
.tn_top_sign {
    position: relative;
    display: inline-block;
    padding-bottom: 7px;
    font-size: 19px;
    font-weight: 500;
    letter-spacing: .22em;
    text-indent: .22em;
    text-transform: uppercase;
    color: var(--tn_ink);
    text-decoration: none;
}
.tn_top_sign::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--tn_plum);
}
.tn_top_sign:hover { color: var(--tn_plum); }

/* ---------- page head ---------- */
.tn_sheet_head {
    max-width: 1040px;
    width: 100%;
    margin: 0 auto;
    padding: 34px 22px 8px;
}
.tn_sheet_back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--tn_muted);
    text-decoration: none;
    padding: 6px 13px 6px 11px;
    border: 1px solid var(--tn_hair);
    border-radius: 999px;
    background: var(--tn_surface);
}
.tn_sheet_back::before { content: "\2190"; color: var(--tn_plum); }
.tn_sheet_back:hover { color: var(--tn_plum_deep); border-color: var(--tn_plum); }

.tn_sheet_title {
    margin: 22px 0 0;
    font-size: clamp(26px, 4.2vw, 40px);
    font-weight: 600;
    line-height: 1.24;
    letter-spacing: -.005em;
    color: var(--tn_ink);
}
.tn_sheet_lede {
    display: block;
    margin: 12px 0 0;
    max-width: 700px;
    font-size: 16px;
    color: var(--tn_muted);
}
.tn_sheet_stamp {
    display: inline-block;
    margin-top: 18px;
    padding: 6px 15px;
    border-radius: 999px;
    background: var(--tn_wash);
    border: 1px solid var(--tn_hair);
    font-size: 13px;
    font-weight: 500;
    color: var(--tn_plum_deep);
}

/* ---------- card grid ---------- */
.tn_sheet_grid {
    max-width: 1040px;
    width: 100%;
    margin: 0 auto;
    padding: 26px 22px 64px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
}
.tn_sheet_card {
    background: var(--tn_surface);
    border: 1px solid var(--tn_hair);
    border-radius: var(--tn_rad_l);
    padding: 22px 22px 24px;
    box-shadow: var(--tn_shade_a);
    transition: box-shadow .22s ease, border-color .22s ease;
}
.tn_sheet_card:hover {
    box-shadow: var(--tn_shade_b);
    border-color: #cfc9db;
}
.tn_sheet_wide { grid-column: 1 / -1; }

.tn_sheet_chip {
    display: inline-block;
    padding: 4px 11px;
    border-radius: 6px;
    background: var(--tn_wash);
    color: var(--tn_plum);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    line-height: 1.5;
}
.tn_sheet_name {
    margin: 13px 0 10px;
    font-size: clamp(18px, 2.2vw, 21px);
    font-weight: 600;
    line-height: 1.34;
    color: var(--tn_ink);
}
.tn_sheet_text p { margin-bottom: 11px; color: var(--tn_muted); font-size: 15px; }
.tn_sheet_text p:last-child { margin-bottom: 0; }
.tn_sheet_text strong { color: var(--tn_ink); font-weight: 600; }
.tn_sheet_text ul,
.tn_sheet_text ol {
    margin: 0 0 11px;
    padding-left: 0;
    list-style: none;
    color: var(--tn_muted);
    font-size: 15px;
}
.tn_sheet_text ul:last-child,
.tn_sheet_text ol:last-child { margin-bottom: 0; }
.tn_sheet_text ol { counter-reset: tn_num_order; }
.tn_sheet_text li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 7px;
}
.tn_sheet_text li:last-child { margin-bottom: 0; }
.tn_sheet_text ul > li::before {
    content: "";
    position: absolute;
    left: 1px;
    top: .72em;
    width: 7px;
    height: 7px;
    border-radius: 2px;
    background: var(--tn_wash);
    border: 1px solid var(--tn_plum);
}
.tn_sheet_text ol > li {
    counter-increment: tn_num_order;
    padding-left: 27px;
}
.tn_sheet_text ol > li::before {
    content: counter(tn_num_order);
    position: absolute;
    left: 0;
    top: .18em;
    width: 19px;
    height: 19px;
    border-radius: 6px;
    display: grid;
    place-items: center;
    background: var(--tn_wash);
    color: var(--tn_plum_deep);
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
}

/* ---------- inner accents ---------- */
.tn_sheet_frame {
    margin: 13px 0 0;
    padding: 14px 16px;
    border: 1px solid var(--tn_hair);
    border-left: 3px solid var(--tn_plum);
    border-radius: var(--tn_rad_s);
    background: var(--tn_canvas);
}
.tn_sheet_frame p { margin: 0; color: var(--tn_ink); font-size: 14px; }

.tn_sheet_rows {
    margin: 13px 0 0;
    display: grid;
    gap: 9px;
}
.tn_sheet_row {
    display: grid;
    grid-template-columns: minmax(130px, 38%) 1fr;
    gap: 3px 14px;
    padding: 11px 13px;
    background: var(--tn_canvas);
    border: 1px solid var(--tn_hair);
    border-radius: var(--tn_rad_s);
    font-size: 14px;
}
.tn_sheet_key { font-weight: 600; color: var(--tn_ink); }
.tn_sheet_val { color: var(--tn_muted); }

.tn_sheet_board {
    width: 100%;
    border-collapse: collapse;
    margin: 13px 0 0;
    font-size: 14px;
    border: 1px solid var(--tn_hair);
    border-radius: var(--tn_rad_s);
    overflow: hidden;
}
.tn_sheet_board th {
    background: var(--tn_wash);
    color: var(--tn_plum_deep);
    text-align: left;
    padding: 10px 13px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.tn_sheet_board td {
    padding: 10px 13px;
    border-top: 1px solid var(--tn_hair);
    color: var(--tn_muted);
}
.tn_sheet_board td:first-child { color: var(--tn_ink); }

.tn_sheet_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 13px 0 0;
}
.tn_sheet_tag {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid var(--tn_hair);
    background: var(--tn_canvas);
    font-size: 13px;
    font-weight: 500;
    color: var(--tn_plum_deep);
}

@media (max-width: 760px) {
    .tn_sheet_grid { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-bottom: 48px; }
    .tn_sheet_head { padding-top: 26px; }
    .tn_sheet_card { padding: 20px 18px 22px; }
}
@media (max-width: 480px) {
    .tn_sheet_row { grid-template-columns: minmax(0, 1fr); }
    .tn_sheet_board { font-size: 13px; }
    .tn_sheet_board th,
    .tn_sheet_board td { padding: 9px 10px; }
}

/* ---------- footer ---------- */
.tn_foot_zone {
    margin-top: auto;
    flex-shrink: 0;
    padding: 30px 20px 28px;
    text-align: center;
    background: var(--tn_surface);
    border-top: 1px solid var(--tn_hair);
}
.tn_foot_hold {
    max-width: 880px;
    margin: 0 auto;
}
.tn_foot_links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 22px;
    margin-bottom: 16px;
}
.tn_foot_links a {
    font-size: 13px;
    color: var(--tn_plum);
    text-decoration: none;
    border-bottom: 1px solid var(--tn_hair);
    padding-bottom: 2px;
}
.tn_foot_links a:hover {
    color: var(--tn_plum_deep);
    border-bottom-color: var(--tn_plum);
}
.tn_foot_sign {
    font-size: 12px;
    color: var(--tn_muted);
    margin-bottom: 10px;
}
.tn_foot_small {
    max-width: 760px;
    margin: 0 auto;
    font-size: 11px;
    line-height: 1.75;
    color: #7d7789;
}
