/* TN Result 2027 — mobile-first stylesheet. No external fonts or libraries. */

:root {
	--tnr-primary: #0b1f4b;
	--tnr-secondary: #1d4ed8;
	--tnr-accent: #0f766e;
	--tnr-accent-on-dark: #5eead4;
	--tnr-bg: #f5f6f8;
	--tnr-surface: #ffffff;
	--tnr-surface-2: #eef1f6;
	--tnr-text: #1f2937;
	--tnr-muted: #4b5563;
	--tnr-border: #dde2ea;
	--tnr-link: #1d4ed8;
	--tnr-focus: #f59e0b;
	--tnr-radius: 14px;
	--tnr-radius-sm: 9px;
	--tnr-shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 6px 20px rgba(15, 23, 42, .06);
	--tnr-font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Tamil", "Helvetica Neue", Arial, sans-serif;
	--tnr-font-head: var(--tnr-font);
	--tnr-max: 1180px;
	--tnr-green-bg: #dcfce7; --tnr-green: #166534;
	--tnr-amber-bg: #fef3c7; --tnr-amber: #92400e;
	--tnr-blue-bg: #dbeafe; --tnr-blue: #1e40af;
	color-scheme: light;
}
.tnr-type-serif { --tnr-font-head: Georgia, "Iowan Old Style", "Times New Roman", serif; }
.tnr-type-rounded { --tnr-font: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, sans-serif; --tnr-font-head: var(--tnr-font); }

[data-theme="dark"] {
	--tnr-bg: #0b1220;
	--tnr-surface: #121b2e;
	--tnr-surface-2: #17223a;
	--tnr-text: #e5e9f0;
	--tnr-muted: #a8b3c4;
	--tnr-border: #26324a;
	--tnr-link: #93c5fd;
	--tnr-shadow: 0 1px 2px rgba(0, 0, 0, .4);
	--tnr-green-bg: #12351f; --tnr-green: #86efac;
	--tnr-amber-bg: #3a2a0c; --tnr-amber: #fcd34d;
	--tnr-blue-bg: #13264d; --tnr-blue: #bfdbfe;
	color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--tnr-bg); color: var(--tnr-text); font: 400 1rem/1.65 var(--tnr-font); overflow-x: hidden; }
img, svg, video, iframe { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--tnr-link); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { font-family: var(--tnr-font-head); line-height: 1.25; color: var(--tnr-text); margin: 1.6em 0 .6em; }
h1 { font-size: clamp(1.6rem, 5vw, 2.4rem); }
h2 { font-size: clamp(1.25rem, 3.6vw, 1.65rem); }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--tnr-focus); outline-offset: 2px; border-radius: 4px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; padding: 12px 16px; background: #fff; color: #000; z-index: 1000; border-radius: 8px; }
.tnr-container { width: 100%; max-width: var(--tnr-max); margin: 0 auto; padding: 0 16px; }
.tnr-narrow { max-width: 820px; }
.tnr-main { display: block; min-height: 50vh; }
.tnr-main:focus { outline: none; }
.tnr-muted, .tnr-small { color: var(--tnr-muted); }
.tnr-small { font-size: .875rem; }

/* Icons */
.tnr-icon { flex: none; vertical-align: middle; }

/* Top bar */
.tnr-topbar { background: var(--tnr-surface-2); color: var(--tnr-muted); font-size: .8rem; line-height: 1.4; }
.tnr-topbar .tnr-container { display: flex; gap: 8px; align-items: flex-start; padding-top: 7px; padding-bottom: 7px; }
.tnr-topbar a { color: inherit; font-weight: 600; }

/* Header */
.tnr-header { position: sticky; top: 0; z-index: 50; background: var(--tnr-primary); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.tnr-header-light .tnr-header { background: var(--tnr-surface); color: var(--tnr-text); border-bottom: 1px solid var(--tnr-border); }
.admin-bar .tnr-header { top: 46px; }
@media (min-width: 783px) { .admin-bar .tnr-header { top: 32px; } }
.tnr-header-inner { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.tnr-brand { flex: 1 1 auto; min-width: 0; }
.tnr-brand-link { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.tnr-brand-text { display: flex; flex-direction: column; min-width: 0; }
@media (max-width: 380px) { .tnr-brand-name { font-size: 1rem !important; } }
.tnr-brand-name { font-weight: 800; font-size: 1.1rem; letter-spacing: -.01em; white-space: nowrap; }
.tnr-brand-tagline { font-size: .72rem; opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 46vw; }
.custom-logo { max-height: 44px; width: auto; }
.tnr-logo-mark { flex: none; border-radius: 11px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.tnr-header-actions { display: flex; align-items: center; gap: 4px; }
.tnr-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 10px; background: transparent; color: inherit; cursor: pointer; }
.tnr-icon-btn:hover { background: rgba(255,255,255,.12); }
.tnr-header-light .tnr-icon-btn:hover { background: var(--tnr-surface-2); }
.tnr-when-dark, .tnr-when-open { display: none; }
[data-theme="dark"] .tnr-when-dark { display: inline-flex; }
[data-theme="dark"] .tnr-when-light { display: none; }
.tnr-menu-open .tnr-when-open { display: inline-flex; }
.tnr-menu-open .tnr-when-closed { display: none; }

/* Nav: mobile panel */
.tnr-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--tnr-primary); border-top: 1px solid rgba(255,255,255,.1); max-height: calc(100vh - 64px); overflow-y: auto; }
.tnr-header-light .tnr-nav { background: var(--tnr-surface); border-top-color: var(--tnr-border); }
.tnr-menu-open .tnr-nav { display: block; }
.tnr-menu { list-style: none; margin: 0; padding: 8px 16px 16px; }
.tnr-menu a { display: block; padding: 13px 4px; color: inherit; text-decoration: none; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.08); }
.tnr-header-light .tnr-menu a { border-bottom-color: var(--tnr-border); }
.tnr-menu .sub-menu { list-style: none; padding-left: 14px; margin: 0; }
.tnr-menu .current-menu-item > a, .tnr-menu a[aria-current="page"] { color: var(--tnr-accent-on-dark); }
.tnr-header-light .tnr-menu .current-menu-item > a { color: var(--tnr-secondary); }

@media (min-width: 1024px) {
	.tnr-menu-btn { display: none; }
	.tnr-nav { display: block; position: static; background: none; border: 0; max-height: none; overflow: visible; }
	.tnr-header-light .tnr-nav { background: none; }
	.tnr-menu { display: flex; gap: 2px; padding: 0; }
	.tnr-menu > li { position: relative; }
	.tnr-menu a { border: 0; padding: 9px 11px; border-radius: 8px; font-size: .92rem; white-space: nowrap; }
	.tnr-menu a:hover { background: rgba(255,255,255,.1); }
	.tnr-header-light .tnr-menu a:hover { background: var(--tnr-surface-2); }
	.tnr-menu .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 220px; background: var(--tnr-surface); color: var(--tnr-text); padding: 6px; border-radius: 10px; box-shadow: var(--tnr-shadow); }
	.tnr-menu li:hover > .sub-menu, .tnr-menu li:focus-within > .sub-menu { display: block; }
	.tnr-brand { flex: 0 0 auto; }
	.tnr-nav { flex: 1 1 auto; display: flex; justify-content: center; }
}

/* Search panel */
.tnr-search-panel { background: var(--tnr-surface); color: var(--tnr-text); border-bottom: 1px solid var(--tnr-border); padding: 12px 0; }
.tnr-search-form { display: flex; gap: 8px; }
.tnr-search-input { flex: 1; min-width: 0; height: 48px; padding: 0 14px; border: 1px solid var(--tnr-border); border-radius: 10px; font: inherit; background: var(--tnr-surface); color: var(--tnr-text); }
.tnr-search-btn-text { display: none; }
@media (min-width: 480px) { .tnr-search-btn-text { display: inline; } }

/* Buttons */
.tnr-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 11px; border: 2px solid transparent; font: 700 .98rem/1.2 var(--tnr-font); text-decoration: none; cursor: pointer; transition: background-color .15s, transform .15s; }
.tnr-btn-primary { background: var(--tnr-secondary); color: #fff; }
.tnr-btn-primary:hover { background: var(--tnr-primary); color: #fff; }
.tnr-btn-outline { background: transparent; color: var(--tnr-link); border-color: currentColor; }
.tnr-btn-outline:hover { background: var(--tnr-surface-2); }
.tnr-btn-block { width: 100%; }
.tnr-btn-sm { min-height: 40px; padding: 0 14px; font-size: .9rem; }
.tnr-link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; min-height: 44px; }
.tnr-link-arrow:hover { text-decoration: underline; }
.tnr-extlink { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; }

/* Chips + status */
.tnr-chip { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--tnr-blue-bg); color: var(--tnr-blue); font-size: .76rem; font-weight: 700; text-decoration: none; line-height: 1.5; }
.tnr-status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: .78rem; font-weight: 800; letter-spacing: .01em; white-space: nowrap; }
.tnr-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.tnr-status-not_announced { background: var(--tnr-amber-bg); color: var(--tnr-amber); }
.tnr-status-announced { background: var(--tnr-green-bg); color: var(--tnr-green); }
.tnr-status-updated { background: var(--tnr-blue-bg); color: var(--tnr-blue); }
.tnr-status-lg { font-size: .9rem; padding: 6px 14px; }

/* Hero */
.tnr-hero { background-color: var(--tnr-primary); background-image: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--tnr-secondary) 55%, transparent) 0%, transparent 60%), linear-gradient(160deg, var(--tnr-primary) 0%, color-mix(in srgb, var(--tnr-primary) 80%, #000) 100%); color: #fff; padding: 28px 0 36px; }
.tnr-hero-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 14px; }
.tnr-hero-chips li { font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); }
.tnr-hero-title { color: #fff; margin: 0 0 10px; letter-spacing: -.02em; }
.tnr-hero-text { color: rgba(255,255,255,.88); max-width: 680px; font-size: 1.02rem; }
.tnr-result-cards { display: grid; gap: 14px; margin-top: 22px; }
@media (min-width: 720px) { .tnr-result-cards { grid-template-columns: repeat(3, 1fr); } }
.tnr-result-cards-compact { margin-top: 24px; }

/* Result card */
.tnr-rcard { position: relative; display: flex; flex-direction: column; background: var(--tnr-surface); color: var(--tnr-text); border-radius: var(--tnr-radius); padding: 18px; box-shadow: var(--tnr-shadow); border-top: 4px solid var(--tnr-accent); }
.tnr-rcard-hse1 { border-top-color: var(--tnr-secondary); }
.tnr-rcard-hse2 { border-top-color: #b45309; }
.tnr-rcard-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; }
.tnr-rcard-class { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--tnr-muted); }
.tnr-rcard-title { font-size: 1.2rem; margin: 0 0 4px; }
.tnr-rcard-name { font-size: .82rem; color: var(--tnr-muted); margin-bottom: 8px; }
.tnr-rcard-desc { font-size: .93rem; flex: 1; }
.tnr-rcard-date { display: flex; gap: 6px; align-items: center; font-size: .85rem; color: var(--tnr-muted); margin-bottom: 14px; }
.tnr-rcard-actions { display: grid; gap: 4px; justify-items: center; }

/* Sections */
.tnr-section { padding: 36px 0; }
.tnr-section-alt { background: var(--tnr-surface-2); }
.tnr-section-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.tnr-section-head h2 { margin: 0; }
.tnr-subhead { font-size: .85rem; text-transform: uppercase; letter-spacing: .07em; color: var(--tnr-muted); margin: 18px 0 10px; }

/* Updates */
.tnr-updates { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tnr-update { display: flex; gap: 12px; align-items: center; background: var(--tnr-surface); border: 1px solid var(--tnr-border); border-radius: var(--tnr-radius-sm); padding: 14px 16px; }
.tnr-update-body { flex: 1; min-width: 0; }
.tnr-update-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; font-size: .78rem; color: var(--tnr-muted); margin-bottom: 4px; }
.tnr-update-title { font-size: 1.02rem; margin: 2px 0 4px; }
.tnr-update-title a { color: var(--tnr-text); text-decoration: none; }
.tnr-update-title a:hover { color: var(--tnr-link); text-decoration: underline; }
.tnr-update-title a::after { content: ""; }
.tnr-update-desc { font-size: .9rem; color: var(--tnr-muted); margin: 0; }
.tnr-update-more { display: none; white-space: nowrap; font-weight: 700; font-size: .88rem; text-decoration: none; }
@media (min-width: 640px) { .tnr-update-more { display: inline-flex; gap: 4px; align-items: center; } }
@media (min-width: 900px) { .tnr-updates { grid-template-columns: 1fr 1fr; } }

/* Quick links */
.tnr-quicklinks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .tnr-quicklinks { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .tnr-quicklinks { grid-template-columns: repeat(3, 1fr); } }
.tnr-qlink { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 12px 14px; background: var(--tnr-surface); border: 1px solid var(--tnr-border); border-radius: var(--tnr-radius-sm); color: var(--tnr-text); text-decoration: none; font-weight: 700; transition: border-color .15s, transform .15s; }
.tnr-qlink > .tnr-icon:first-child { color: var(--tnr-accent); }
[data-theme="dark"] .tnr-qlink > .tnr-icon:first-child { color: var(--tnr-accent-on-dark); }
.tnr-qlink > span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.tnr-qlink:hover { border-color: var(--tnr-secondary); }
.tnr-host { font-size: .75rem; font-weight: 500; color: var(--tnr-muted); overflow-wrap: anywhere; }

/* Grids + cards */
.tnr-grid { display: grid; gap: 16px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 640px) { .tnr-grid-2, .tnr-grid-3, .tnr-grid-info { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .tnr-grid-3 { grid-template-columns: repeat(3, 1fr); } .tnr-grid-info { grid-template-columns: repeat(5, 1fr); } }
.tnr-info-card { background: var(--tnr-surface); border: 1px solid var(--tnr-border); border-radius: var(--tnr-radius-sm); padding: 16px; position: relative; }
.tnr-info-card h3 { font-size: 1rem; margin: 10px 0 6px; }
.tnr-info-card h3 a { color: var(--tnr-text); text-decoration: none; }
.tnr-info-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.tnr-info-card:hover, .tnr-info-card:focus-within { border-color: var(--tnr-secondary); }
.tnr-info-card p { font-size: .87rem; color: var(--tnr-muted); margin: 0; }
.tnr-info-icon { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 10px; background: var(--tnr-blue-bg); color: var(--tnr-blue); }

.tnr-acard { background: var(--tnr-surface); border: 1px solid var(--tnr-border); border-radius: var(--tnr-radius); overflow: hidden; display: flex; flex-direction: column; }
.tnr-acard-media { display: block; aspect-ratio: 16 / 9; background: var(--tnr-surface-2); }
.tnr-acard-media img { width: 100%; height: 100%; object-fit: cover; }
.tnr-acard-placeholder { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; color: var(--tnr-muted); background: linear-gradient(135deg, var(--tnr-surface-2), var(--tnr-blue-bg)); }
.tnr-acard-body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; align-items: flex-start; }
.tnr-acard-title { font-size: 1.05rem; margin: 4px 0 0; }
.tnr-acard-title a { color: var(--tnr-text); text-decoration: none; }
.tnr-acard-title a:hover { color: var(--tnr-link); text-decoration: underline; }
.tnr-acard-excerpt { font-size: .9rem; color: var(--tnr-muted); margin: 0; }
.tnr-acard-meta { display: flex; gap: 6px; font-size: .78rem; color: var(--tnr-muted); margin-top: auto; }

/* FAQ */
.tnr-faq { display: grid; gap: 10px; margin: 0 0 1.5em; }
.tnr-faq-item { background: var(--tnr-surface); border: 1px solid var(--tnr-border); border-radius: var(--tnr-radius-sm); }
.tnr-faq-item summary { cursor: pointer; list-style: none; padding: 15px 48px 15px 16px; font-weight: 700; position: relative; min-height: 48px; }
.tnr-faq-item summary::-webkit-details-marker { display: none; }
.tnr-faq-item summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.tnr-faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.tnr-faq-answer { padding: 0 16px 6px; color: var(--tnr-text); }

/* Layout with sidebar */
.tnr-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 18px; padding-bottom: 40px; }
@media (min-width: 1024px) { .tnr-has-sidebar .tnr-layout, .tnr-layout { grid-template-columns: minmax(0, 1fr) 320px; } }
.tnr-content { min-width: 0; }
.tnr-sidebar { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-content: start; }
.tnr-widget { min-width: 0; overflow-wrap: anywhere; background: var(--tnr-surface); border: 1px solid var(--tnr-border); border-radius: var(--tnr-radius-sm); padding: 16px; }
.tnr-widget-title { font-size: 1rem; margin: 0 0 10px; }
.tnr-widget ul { list-style: none; margin: 0; padding: 0; }
.tnr-widget li { padding: 8px 0; border-bottom: 1px solid var(--tnr-border); }
.tnr-widget li:last-child { border-bottom: 0; }
.tnr-widget-status li { flex-wrap: wrap; display: flex; justify-content: space-between; gap: 8px; align-items: center; font-size: .92rem; }

/* Breadcrumbs */
.tnr-breadcrumbs { font-size: .84rem; color: var(--tnr-muted); margin: 4px 0 6px; }
.tnr-breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 0; }
.tnr-breadcrumbs li:not(:last-child)::after { content: "›"; margin-left: 6px; }
.tnr-breadcrumbs a { color: inherit; }

/* Page head + meta */
.tnr-page-head { margin-bottom: 18px; }
.tnr-page-title { margin: 6px 0 10px; letter-spacing: -.015em; }
.tnr-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: .84rem; color: var(--tnr-muted); margin: 0; }
.tnr-meta span { display: inline-flex; gap: 5px; align-items: center; }
.tnr-meta a { color: inherit; }
.tnr-featured { margin: 0 0 20px; border-radius: var(--tnr-radius); overflow: hidden; aspect-ratio: 16 / 9; background: var(--tnr-surface-2); }
.tnr-featured img { width: 100%; height: 100%; object-fit: cover; }

/* Prose */
.tnr-prose { font-size: 1.04rem; overflow-wrap: break-word; }
.tnr-prose > :first-child { margin-top: 0; }
.tnr-prose ul, .tnr-prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.tnr-prose li { margin-bottom: .4em; }
.tnr-prose table { position: relative; width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: .93rem; display: block; overflow-x: auto; }
.tnr-prose th, .tnr-prose td { border: 1px solid var(--tnr-border); padding: 10px 12px; text-align: left; vertical-align: top; min-width: 110px; }
.tnr-prose thead th { background: var(--tnr-surface-2); }
.tnr-prose blockquote { margin: 1.2em 0; padding: 4px 18px; border-left: 4px solid var(--tnr-accent); color: var(--tnr-muted); }
.tnr-prose img { border-radius: var(--tnr-radius-sm); }
.tnr-prose .tnr-btn { margin: 4px 6px 4px 0; }

/* Notices */
.tnr-notice { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: var(--tnr-radius-sm); margin: 0 0 1.2em; font-size: .95rem; border: 1px solid transparent; }
.tnr-notice > div > :last-child { margin-bottom: 0; }
.tnr-notice-info { background: var(--tnr-blue-bg); color: var(--tnr-blue); }
.tnr-notice-warning { background: var(--tnr-amber-bg); color: var(--tnr-amber); }
.tnr-notice-success { background: var(--tnr-green-bg); color: var(--tnr-green); }
.tnr-notice a { color: inherit; font-weight: 700; }

/* Result checker */
.tnr-checker { background: var(--tnr-surface); border: 1px solid var(--tnr-border); border-left: 5px solid var(--tnr-amber); border-radius: var(--tnr-radius); padding: 18px; margin: 0 0 26px; box-shadow: var(--tnr-shadow); }
.tnr-checker-announced { border-left-color: var(--tnr-green); }
.tnr-checker-updated { border-left-color: var(--tnr-blue); }
.tnr-checker-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 8px; }
.tnr-checker h2 { margin: 0; font-size: 1.3rem; }
.tnr-checker h3 { font-size: 1rem; margin: 14px 0 8px; }
.tnr-eyebrow { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; color: var(--tnr-muted); margin: 0 0 2px; }
.tnr-checklist { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 6px; }
.tnr-checklist li { display: flex; gap: 8px; align-items: center; }
.tnr-checklist .tnr-icon { color: var(--tnr-green); }
.tnr-checker-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 6px; }
.tnr-checker-actions .tnr-btn { flex: 1 1 220px; }
.tnr-trouble { margin-top: 10px; border-top: 1px solid var(--tnr-border); padding-top: 10px; font-size: .93rem; }
.tnr-trouble summary { cursor: pointer; font-weight: 700; min-height: 40px; display: flex; align-items: center; }

/* Status strip (posts) */
.tnr-strip { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; align-items: center; padding: 12px 14px; border-radius: var(--tnr-radius-sm); background: var(--tnr-surface-2); margin: 0 0 20px; }
.tnr-strip > div:first-child { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.tnr-strip-actions { display: flex; gap: 10px; align-items: center; }

/* Ads: labelled, separated, space reserved to limit CLS */
.tnr-ad { margin: 24px auto; padding: 8px 0 0; text-align: center; border-top: 1px dashed var(--tnr-border); clear: both; max-width: 100%; overflow: hidden; }
.tnr-ad-label { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--tnr-muted); margin-bottom: 6px; }
.tnr-ad-inner { min-height: 100px; display: flex; justify-content: center; align-items: center; }
.tnr-ad-header .tnr-ad-inner, .tnr-ad-footer .tnr-ad-inner { min-height: 100px; }
.tnr-ad-home .tnr-ad-inner, .tnr-ad-between .tnr-ad-inner, .tnr-ad-incontent .tnr-ad-inner, .tnr-ad-below .tnr-ad-inner { min-height: 280px; }
.tnr-ad-sidebar .tnr-ad-inner { min-height: 250px; }
.tnr-ad-inner > * { max-width: 100%; }
@media (min-width: 768px) { .tnr-ad-header .tnr-ad-inner, .tnr-ad-footer .tnr-ad-inner { min-height: 90px; } .tnr-ad-home .tnr-ad-inner, .tnr-ad-between .tnr-ad-inner { min-height: 250px; } }
.tnr-ad-sidebar { margin: 0; border: 1px solid var(--tnr-border); border-radius: var(--tnr-radius-sm); padding: 8px; }

/* Author, related, tags */
.tnr-author { display: flex; gap: 14px; align-items: flex-start; margin: 28px 0 0; padding: 16px; border-radius: var(--tnr-radius-sm); background: var(--tnr-surface-2); }
.tnr-author img { border-radius: 50%; }
.tnr-author p { margin: 0 0 4px; }
.tnr-author-name { font-weight: 800; }
.tnr-related { margin-top: 32px; }
.tnr-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 20px 0 0; }
.tnr-tags a { display: inline-block; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--tnr-border); font-size: .8rem; text-decoration: none; }
.tnr-source-list { padding-left: 1.2em; }
.tnr-source-list .tnr-host { margin-left: 4px; }
.tnr-inline-links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }

/* Pagination */
.pagination { margin: 28px 0 0; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.pagination .page-numbers { display: inline-flex; min-width: 44px; min-height: 44px; padding: 0 12px; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--tnr-border); background: var(--tnr-surface); text-decoration: none; font-weight: 700; }
.pagination .page-numbers.current { background: var(--tnr-secondary); color: #fff; border-color: var(--tnr-secondary); }

/* Forms */
.tnr-form { display: grid; gap: 14px; background: var(--tnr-surface); border: 1px solid var(--tnr-border); border-radius: var(--tnr-radius); padding: 18px; }
.tnr-field { display: grid; gap: 6px; }
.tnr-field label { font-weight: 700; font-size: .95rem; }
.tnr-field input, .tnr-field textarea, .comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid var(--tnr-border); border-radius: 10px; font: inherit; background: var(--tnr-surface); color: var(--tnr-text); }
.tnr-field input:focus, .tnr-field textarea:focus { border-color: var(--tnr-secondary); }
.tnr-field input[aria-invalid="true"], .tnr-field textarea[aria-invalid="true"] { border-color: #b91c1c; }
.tnr-form-note { font-size: .85rem; color: var(--tnr-muted); margin: 0; }
.tnr-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tnr-form .tnr-btn { justify-self: start; }
.tnr-contact-details { margin: 0 0 16px; }
.tnr-contact-details p { display: flex; gap: 8px; align-items: center; }

/* Empty / 404 */
.tnr-empty, .tnr-404 { padding: 30px 0 50px; }
.tnr-404-code { font-size: 4.5rem; font-weight: 900; line-height: 1; color: var(--tnr-secondary); margin: 20px 0 0; opacity: .25; }

/* Comments */
.tnr-comments { margin-top: 36px; }
.tnr-comment-list { padding-left: 0; list-style: none; }
.tnr-comment-list .comment-body { padding: 14px 0; border-bottom: 1px solid var(--tnr-border); }

/* Footer */
.tnr-footer { background: var(--tnr-primary); color: rgba(255,255,255,.86); margin-top: 32px; }
.tnr-footer a { color: #fff; }
.tnr-footer-light .tnr-footer { background: var(--tnr-surface); color: var(--tnr-text); border-top: 1px solid var(--tnr-border); }
.tnr-footer-light .tnr-footer a { color: var(--tnr-link); }
.tnr-footer-grid { display: grid; gap: 26px; padding-top: 36px; padding-bottom: 26px; }
@media (min-width: 640px) { .tnr-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .tnr-footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.tnr-footer-about p { font-size: .9rem; margin-top: 12px; }
.tnr-footer-title { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 10px; color: inherit; opacity: .8; }
.tnr-footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.tnr-footer-list a { display: inline-block; padding: 6px 0; text-decoration: none; font-size: .93rem; }
.tnr-footer-list a:hover { text-decoration: underline; }
.tnr-social { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; font-size: .9rem; }
.tnr-footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 16px 0 22px; font-size: .82rem; }
.tnr-footer-light .tnr-footer-bottom { border-top-color: var(--tnr-border); }
.tnr-footer-disclaimer { opacity: .85; }

/* WordPress core */
.alignwide { max-width: 100%; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text, figcaption { font-size: .85rem; color: var(--tnr-muted); }
.sticky .tnr-acard-title::before { content: "★ "; color: var(--tnr-accent); }
.bypostauthor { }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
@media print {
	.tnr-header, .tnr-topbar, .tnr-footer, .tnr-sidebar, .tnr-ad, .tnr-related, .tnr-comments { display: none !important; }
	body { background: #fff; color: #000; }
}

/* ===== v1.1 premium components ===== */

/* Typography rhythm */
.tnr-prose h2 { margin-top: 2.2em; padding-top: .2em; scroll-margin-top: 90px; }
.tnr-prose h2:first-child { margin-top: 0; }
.tnr-prose h3 { margin-top: 1.6em; }
.tnr-prose p, .tnr-prose li { max-width: 72ch; }
.tnr-eyebrow { color: var(--tnr-accent); }
[data-theme="dark"] .tnr-eyebrow { color: var(--tnr-accent-on-dark); }
.tnr-section-head h2 { letter-spacing: -.015em; }

/* Breadcrumbs: clean pill */
.tnr-breadcrumbs { display: inline-flex; max-width: 100%; background: var(--tnr-surface); border: 1px solid var(--tnr-border); border-radius: 999px; padding: 5px 14px; margin: 6px 0 10px; }
.tnr-breadcrumbs ol { flex-wrap: nowrap; overflow: hidden; }
.tnr-breadcrumbs li { white-space: nowrap; }
.tnr-breadcrumbs li:last-child { overflow: hidden; text-overflow: ellipsis; }
.tnr-breadcrumbs a { text-decoration: none; color: var(--tnr-link); }

/* Status card */
.tnr-statuscard { position: relative; background: var(--tnr-surface); border: 1px solid var(--tnr-border); border-radius: 18px; padding: 20px; margin: 0 0 28px; box-shadow: var(--tnr-shadow); overflow: hidden; }
.tnr-statuscard::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: #ea580c; }
.tnr-statuscard-announced::before { background: #16a34a; }
.tnr-statuscard-updated::before { background: #2563eb; }
.tnr-statuscard-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.tnr-statuscard-head h2 { margin: 0; font-size: 1.3rem; }
.tnr-statuscard-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 12px; font-weight: 800; background: var(--tnr-amber-bg); color: var(--tnr-amber); }
.tnr-statuscard-announced .tnr-statuscard-badge { background: var(--tnr-green-bg); color: var(--tnr-green); }
.tnr-statuscard-updated .tnr-statuscard-badge { background: var(--tnr-blue-bg); color: var(--tnr-blue); }
.tnr-statusgrid { display: grid; grid-template-columns: 1fr; gap: 1px; margin: 0 0 16px; background: var(--tnr-border); border: 1px solid var(--tnr-border); border-radius: 12px; overflow: hidden; }
@media (min-width: 600px) { .tnr-statusgrid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .tnr-statusgrid { grid-template-columns: repeat(3, 1fr); } }
.tnr-statusgrid > div { background: var(--tnr-surface); padding: 12px 14px; min-width: 0; }
.tnr-statusgrid dt { font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--tnr-muted); margin-bottom: 4px; }
.tnr-statusgrid dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.tnr-tag { display: inline-block; font-size: .72rem; font-weight: 800; padding: 1px 8px; border-radius: 999px; background: var(--tnr-surface-2); color: var(--tnr-muted); vertical-align: middle; }
.tnr-statuscard-need { border-top: 1px solid var(--tnr-border); margin-top: 14px; padding-top: 4px; }

/* Direct official link box */
.tnr-direct { display: grid; gap: 14px; align-items: center; padding: 18px; border-radius: 16px; margin: 0 0 20px; color: #fff; background: linear-gradient(135deg, var(--tnr-primary), color-mix(in srgb, var(--tnr-primary) 70%, var(--tnr-secondary))); background-color: var(--tnr-primary); box-shadow: 0 10px 30px rgba(11, 31, 75, .18); }
@media (min-width: 720px) { .tnr-direct { grid-template-columns: 1fr auto; padding: 22px 24px; } }
.tnr-direct .tnr-eyebrow { color: #99f6e4; margin: 0; }
.tnr-direct-title { font-size: 1.25rem; font-weight: 800; margin: 2px 0 6px; color: #fff; }
.tnr-direct-note { margin: 0; color: rgba(255,255,255,.85); font-size: .93rem; }
.tnr-direct-action { display: grid; gap: 6px; justify-items: stretch; }
@media (min-width: 720px) { .tnr-direct-action { justify-items: end; } }
.tnr-btn-cta { background: #fff; color: var(--tnr-primary); min-height: 54px; padding: 0 24px; font-size: 1.02rem; box-shadow: 0 2px 0 rgba(0,0,0,.15); }
.tnr-btn-cta:hover { background: #ecfeff; color: var(--tnr-primary); }
.tnr-direct-url { display: inline-flex; gap: 6px; align-items: center; justify-content: center; font-size: .8rem; color: rgba(255,255,255,.8); }
.tnr-prose .tnr-direct .tnr-btn { margin: 0; }

/* Step-by-step guide */
.tnr-steps, .tnr-prose ol.tnr-steps { list-style: none; counter-reset: tnrstep; padding: 0; margin: 0 0 1.4em; display: grid; gap: 12px; }
@media (min-width: 900px) { .tnr-section .tnr-steps { grid-template-columns: repeat(5, 1fr); } }
.tnr-steps li { counter-increment: tnrstep; position: relative; background: var(--tnr-surface); border: 1px solid var(--tnr-border); border-radius: 14px; padding: 16px 16px 16px 62px; margin: 0; max-width: none; display: flex; flex-direction: column; gap: 4px; }
.tnr-steps li::before { content: counter(tnrstep); position: absolute; left: 16px; top: 16px; width: 32px; height: 32px; border-radius: 10px; background: var(--tnr-secondary); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.tnr-steps li strong { font-size: 1rem; }
.tnr-steps li span { color: var(--tnr-muted); font-size: .93rem; }
@media (min-width: 900px) { .tnr-section .tnr-steps li { padding: 58px 16px 16px; } .tnr-section .tnr-steps li::before { top: 16px; } }

/* Tables */
.tnr-table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--tnr-border); border-radius: 12px; background: var(--tnr-surface); margin: 0 0 12px; -webkit-overflow-scrolling: touch; }
.tnr-table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 520px; }
.tnr-table th, .tnr-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--tnr-border); vertical-align: top; }
.tnr-table thead th { background: var(--tnr-surface-2); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--tnr-muted); }
.tnr-table tbody tr:last-child td { border-bottom: 0; }
.tnr-table tbody tr:hover { background: color-mix(in srgb, var(--tnr-surface-2) 50%, transparent); }
.tnr-prose table { border-radius: 12px; border: 1px solid var(--tnr-border); border-collapse: separate; border-spacing: 0; overflow-x: auto; }
.tnr-prose th, .tnr-prose td { border: 0; border-bottom: 1px solid var(--tnr-border); }
.tnr-prose tbody th { background: var(--tnr-surface-2); width: 38%; font-weight: 700; }
.tnr-prose tr:last-child th, .tnr-prose tr:last-child td { border-bottom: 0; }

/* Official sources */
.tnr-sources { margin: 32px 0 8px; padding: 20px; border-radius: 18px; background: var(--tnr-surface-2); border: 1px solid var(--tnr-border); }
.tnr-sources-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.tnr-sources-head h2 { margin: 0 0 4px; font-size: 1.2rem; }
.tnr-sources-head p { margin: 0; color: var(--tnr-muted); font-size: .92rem; }
.tnr-sources-icon { flex: none; display: inline-flex; width: 42px; height: 42px; border-radius: 12px; align-items: center; justify-content: center; background: var(--tnr-green-bg); color: var(--tnr-green); }
.tnr-source-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
@media (min-width: 640px) { .tnr-source-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .tnr-section .tnr-source-cards { grid-template-columns: repeat(3, 1fr); } }
.tnr-source-card { display: flex; flex-direction: column; gap: 3px; height: 100%; padding: 14px 16px; border-radius: 12px; background: var(--tnr-surface); border: 1px solid var(--tnr-border); text-decoration: none; color: var(--tnr-text); transition: border-color .15s, box-shadow .15s; }
.tnr-source-card:hover { border-color: var(--tnr-secondary); box-shadow: var(--tnr-shadow); }
.tnr-source-top { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.tnr-source-label { font-weight: 800; }
.tnr-source-top .tnr-icon { color: var(--tnr-link); }
.tnr-source-desc { font-size: .87rem; color: var(--tnr-muted); line-height: 1.5; margin-top: 4px; }
.tnr-sources-compact .tnr-source-desc { display: none; }

/* Homepage info panels */
.tnr-split { display: grid; gap: 16px; }
@media (min-width: 900px) { .tnr-split { grid-template-columns: 1.2fr 1fr; } }
.tnr-panel { background: var(--tnr-surface); border: 1px solid var(--tnr-border); border-radius: 18px; padding: 22px; }
.tnr-panel h2 { margin: 2px 0 12px; }
.tnr-panel p { color: var(--tnr-text); }
.tnr-panel-tint { background: linear-gradient(180deg, var(--tnr-blue-bg), var(--tnr-surface) 70%); }
.tnr-examcard, .tnr-infobox { background: var(--tnr-surface); border: 1px solid var(--tnr-border); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.tnr-examcard-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.tnr-examcard h3, .tnr-infobox h3 { margin: 4px 0; font-size: 1.1rem; }
.tnr-examcard h3 a { color: var(--tnr-text); text-decoration: none; }
.tnr-examcard h3 a:hover { color: var(--tnr-link); text-decoration: underline; }
.tnr-kv { margin: 0; display: grid; gap: 10px; flex: 1; }
.tnr-kv dt { font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--tnr-muted); }
.tnr-kv dd { margin: 2px 0 0; font-size: .93rem; }
.tnr-infobox p { color: var(--tnr-muted); font-size: .93rem; flex: 1; margin: 0; }
.tnr-infobox .tnr-link-arrow, .tnr-examcard .tnr-link-arrow { margin-top: 4px; }

/* Notifications */
.tnr-notices { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 10px; }
@media (min-width: 900px) { .tnr-notices { grid-template-columns: 1fr 1fr; } }
.tnr-notices li { display: flex; gap: 12px; align-items: flex-start; background: var(--tnr-surface); border: 1px solid var(--tnr-border); border-radius: 12px; padding: 14px; }
.tnr-notices a { font-weight: 700; text-decoration: none; color: var(--tnr-text); }
.tnr-notices a:hover { color: var(--tnr-link); text-decoration: underline; }
.tnr-notice-icon { flex: none; display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 9px; background: var(--tnr-blue-bg); color: var(--tnr-blue); }
.tnr-notice-meta { display: block; font-size: .8rem; color: var(--tnr-muted); margin-top: 3px; }

/* Result card footer */
.tnr-rcard-foot { display: flex; gap: 6px; align-items: center; justify-content: center; font-size: .8rem; color: var(--tnr-muted); margin: 6px 0 0; }

/* FAQ refined */
.tnr-faq-item { transition: border-color .15s, box-shadow .15s; }
.tnr-faq-item[open] { border-color: color-mix(in srgb, var(--tnr-secondary) 45%, var(--tnr-border)); box-shadow: var(--tnr-shadow); }
.tnr-faq-item summary { padding-right: 56px; }
.tnr-faq-item summary::after { border: 0; transform: none; width: 26px; height: 26px; right: 16px; margin-top: -13px; top: 50%; border-radius: 50%; background: var(--tnr-surface-2) no-repeat center / 12px; content: "+"; display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--tnr-secondary); }
.tnr-faq-item[open] summary::after { content: "–"; transform: none; background: var(--tnr-blue-bg); }
.tnr-faq-item summary:hover { color: var(--tnr-link); }

/* Mobile navigation: full-height drawer with quick result links */
.tnr-nav-quick { display: grid; gap: 8px; padding: 14px 16px 18px; border-top: 1px solid rgba(255,255,255,.1); }
.tnr-nav-quick p { margin: 0 0 2px; font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; opacity: .75; }
.tnr-nav-quick a { display: flex; justify-content: space-between; align-items: center; min-height: 48px; padding: 0 14px; border-radius: 12px; background: rgba(255,255,255,.08); color: inherit; text-decoration: none; font-weight: 700; }
.tnr-header-light .tnr-nav-quick a { background: var(--tnr-surface-2); }
@media (max-width: 1023px) {
	.tnr-nav { height: calc(100vh - 64px); height: calc(100dvh - 64px); max-height: none; }
	.admin-bar .tnr-nav { height: calc(100dvh - 110px); }
	.tnr-menu a { font-size: 1.05rem; padding: 15px 4px; }
	body.tnr-no-scroll { overflow: hidden; }
}
@media (min-width: 1024px) { .tnr-nav-quick { display: none; } }
