/* ==========================================================================
   Aamari Odisha — design system
   An editorial interface: hairlines instead of boxes, a serif for headlines,
   real information density. Saffron is an accent and an edge, never a field.
   ========================================================================== */

:root {
	/* Brand */
	--saffron:      #FF6B00;
	--saffron-deep: #C2410C;   /* 5.2:1 on white — links and small text */
	--saffron-press:#9A3412;
	--saffron-soft: #FDF1E3;
	--marigold:     #FDB813;
	--jade:         #00B894;
	--jade-deep:    #0E7C66;
	--jade-soft:    #E4F5F0;

	/* Surface */
	--bg:          #FCFAF6;
	--bg-sunk:     #F5F0E7;
	--card:        #FFFFFF;
	--ink:         #1A1815;    /* 16.6:1 */
	--ink-soft:    #635C52;
	--ink-faint:   #8C8377;
	--line:        #E8E1D5;
	--line-mid:    #D5CCBC;
	--line-strong: #B8AE9C;

	--alert:      #B91C1C;
	--alert-soft: #FDECEC;
	--stone:      #17130E;

	/* Type — a warm serif carries the headlines, Inter does the work */
	--display: 'Fraunces', 'Georgia', 'Times New Roman', serif;
	--body:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--ui:      'Inter', system-ui, sans-serif;
	--odia:    'Noto Sans Odia', 'Inter', sans-serif;

	--step--2: .70rem;
	--step--1: clamp(.78rem, .76rem + .1vw, .84rem);
	--step-0:  clamp(.95rem, .93rem + .12vw, 1.02rem);
	--step-1:  clamp(1.12rem, 1.06rem + .3vw, 1.3rem);
	--step-2:  clamp(1.4rem, 1.24rem + .78vw, 1.95rem);
	--step-3:  clamp(1.75rem, 1.4rem + 1.7vw, 2.9rem);
	--step-4:  clamp(2.2rem, 1.5rem + 3.4vw, 4.4rem);

	--r-sm: 6px;
	--r:    10px;
	--r-lg: 16px;
	--r-xl: 22px;
	--r-pill: 999px;

	--shadow-sm: 0 1px 2px rgba(60,40,20,.06);
	--shadow:    0 4px 16px rgba(60,40,20,.08);
	--shadow-lg: 0 16px 44px rgba(60,40,20,.14);

	--gutter: clamp(.9rem, 3.5vw, 2.25rem);
	--wrap:   1320px;
	--section: clamp(2.5rem, 5vw, 4rem);
	--ease: cubic-bezier(.2,.7,.3,1);
}

[data-theme="dark"] {
	--bg:          #131110;
	--bg-sunk:     #0D0C0B;
	--card:        #1C1917;
	--ink:         #F2EDE5;
	--ink-soft:    #A79C8E;
	--ink-faint:   #7E756A;
	--line:        #2C2723;
	--line-mid:    #3D3730;
	--line-strong: #574F45;
	--saffron-deep:#FFA05C;
	--saffron-press:#FFB77E;
	--saffron-soft:#2A1B0C;
	--jade-deep:   #34D8B4;
	--jade-soft:   #10241F;
	--alert:       #F87171;
	--alert-soft:  #2A1414;
	--stone:       #0D0C0B;
	--shadow-sm: 0 1px 2px rgba(0,0,0,.5);
	--shadow:    0 4px 16px rgba(0,0,0,.55);
	--shadow-lg: 0 16px 44px rgba(0,0,0,.65);
}

/* --------------------------------------------------------------- Base */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 130px; }
html, body { max-width: 100%; overflow-x: hidden; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--body);
	font-size: var(--step-0);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	font-feature-settings: 'kern' 1, 'liga' 1;
	transition: background-color .3s var(--ease), color .3s var(--ease);
}

:lang(or), .is-odia { font-family: var(--odia); line-height: 1.85; }

h1, h2, h3, h4 {
	font-family: var(--display);
	font-weight: 600;
	line-height: 1.08;
	letter-spacing: -.015em;
	margin: 0 0 .45em;
	color: var(--ink);
	text-wrap: balance;
	font-variation-settings: 'SOFT' 0, 'WONK' 0;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--saffron-deep); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--saffron-press); }

img, svg, video, canvas { max-width: 100%; display: block; }
img, canvas { height: auto; }

:focus-visible { outline: 2px solid var(--saffron); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--saffron); color: #fff; }

.screen-reader-text {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute; left: 50%; top: -100px; transform: translateX(-50%);
	background: var(--saffron); color: #fff; padding: 10px 22px;
	border-radius: 0 0 var(--r) var(--r); z-index: 2000; font-weight: 600;
}
.skip-link:focus { top: 0; color: #fff; }

/* ------------------------------------------------------------- Layout */

.wrap { width: min(100% - (var(--gutter) * 2), var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - (var(--gutter) * 2), 720px); margin-inline: auto; }

.section { padding-block: var(--section); border-top: 1px solid var(--line); }
.section:first-of-type { border-top: 0; }
.section--sunk { background: var(--bg-sunk); }

.section__head {
	display: flex; align-items: baseline; justify-content: space-between;
	gap: 1.25rem; flex-wrap: wrap; margin-bottom: 1.75rem;
	padding-bottom: .85rem; border-bottom: 2px solid var(--ink);
}
.section__title { margin: 0; font-size: var(--step-2); }

/* Small-caps label with a chakra glyph — the recurring section marker */
.eyebrow {
	display: inline-flex; align-items: center; gap: .45rem;
	font-family: var(--ui); font-size: var(--step--2); font-weight: 700;
	letter-spacing: .16em; text-transform: uppercase;
	color: var(--saffron-deep); margin-bottom: .35rem;
}
.eyebrow::before {
	content: ''; width: 11px; height: 11px; border-radius: 50%; flex: none;
	border: 1.5px solid currentColor;
	background: conic-gradient(from 0deg, currentColor 0 3deg, transparent 3deg 45deg,
		currentColor 45deg 48deg, transparent 48deg 90deg, currentColor 90deg 93deg,
		transparent 93deg 135deg, currentColor 135deg 138deg, transparent 138deg 180deg,
		currentColor 180deg 183deg, transparent 183deg 225deg, currentColor 225deg 228deg,
		transparent 228deg 270deg, currentColor 270deg 273deg, transparent 273deg 315deg,
		currentColor 315deg 318deg, transparent 318deg 360deg);
}

.link-more {
	font-family: var(--ui); font-weight: 600; font-size: var(--step--1);
	text-decoration: none; display: inline-flex; align-items: center; gap: .3rem;
	white-space: nowrap; color: var(--saffron-deep);
}
.link-more::after { content: '→'; transition: transform .25s var(--ease); }
.link-more:hover::after { transform: translateX(3px); }

.ao-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.ao-grid--videos { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.ao-grid--dir { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.ao-grid--dir.is-list { grid-template-columns: 1fr; }

.ao-empty {
	grid-column: 1 / -1; padding: 2.5rem; text-align: center;
	color: var(--ink-soft); background: var(--card);
	border: 1px dashed var(--line-mid); border-radius: var(--r);
}

/* ======================================================================
   HEADER — three tiers. Utility, brand, then the section rail that holds
   every part of the site on one line.
   ====================================================================== */

.site-header { position: sticky; top: 0; z-index: 900; background: var(--bg); }
.site-header.is-stuck { box-shadow: 0 1px 0 var(--line-mid), var(--shadow-sm); }

/* Tier 1 — utility */
.topbar {
	background: var(--stone);
	color: #C9BEB0;
	font-size: var(--step--2);
	letter-spacing: .03em;
}
.topbar__in {
	display: flex; align-items: center; justify-content: space-between;
	gap: 1rem; min-height: 34px; padding-block: .35rem;
}
.topbar__date { display: flex; align-items: center; gap: .5rem; white-space: nowrap; }
.topbar__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--marigold); }
.topbar__links { display: flex; align-items: center; gap: 1rem; }
.topbar a { color: #C9BEB0; text-decoration: none; white-space: nowrap; }
.topbar a:hover { color: var(--marigold); }
.topbar__social { display: flex; gap: .55rem; }
.topbar__social a { display: grid; place-items: center; opacity: .8; }
.topbar__social a:hover { opacity: 1; }
@media (max-width: 760px) { .topbar__links > *:not(.topbar__social) { display: none; } }

/* Tier 2 — brand row */
.brandrow {
	display: flex; align-items: center; gap: 1.25rem;
	padding-block: clamp(.7rem, 2vw, 1.15rem);
	border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; flex: none; }
.brand img { width: 48px; height: 48px; border-radius: 50%; }
.brand__name {
	font-family: var(--display); font-weight: 700;
	font-size: clamp(1.15rem, 2.6vw, 1.55rem);
	line-height: 1; color: var(--ink); letter-spacing: -.02em;
}
.brand__tag {
	display: block; margin-top: .28rem;
	font-family: var(--ui); font-size: .58rem; font-weight: 600;
	letter-spacing: .22em; text-transform: uppercase; color: var(--saffron-deep);
}

/* Inline search that lives in the brand row on wide screens */
.headsearch {
	flex: 1; max-width: 420px; margin-left: auto;
	display: flex; align-items: center; gap: .5rem;
	padding: .5rem .85rem;
	border: 1px solid var(--line-mid); border-radius: var(--r-pill);
	background: var(--card); color: var(--ink-faint);
	cursor: pointer; transition: border-color .2s var(--ease);
}
.headsearch:hover { border-color: var(--saffron); color: var(--saffron-deep); }
.headsearch span { font-size: var(--step--1); }
.headsearch kbd {
	margin-left: auto; font-family: var(--ui); font-size: .65rem;
	padding: .1rem .35rem; border: 1px solid var(--line-mid);
	border-radius: 4px; color: var(--ink-faint);
}
@media (max-width: 900px) { .headsearch { display: none; } }

.header-actions { display: flex; align-items: center; gap: .4rem; flex: none; margin-left: auto; }
@media (min-width: 901px) { .header-actions { margin-left: 0; } }

.icon-btn {
	width: 38px; height: 38px; display: grid; place-items: center;
	border: 1px solid var(--line-mid); background: var(--card);
	color: var(--ink-soft); border-radius: 50%; cursor: pointer;
	transition: all .2s var(--ease); text-decoration: none;
}
.icon-btn:hover { color: var(--saffron-deep); border-color: var(--saffron); }

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
	padding: .6rem 1.15rem; border-radius: var(--r-pill); border: 1px solid transparent;
	font-family: var(--ui); font-weight: 600; font-size: .88rem;
	text-decoration: none; cursor: pointer;
	transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.btn--primary { background: var(--saffron-deep); color: #fff; }
.btn--primary:hover { background: var(--saffron-press); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover { border-color: var(--saffron); color: var(--saffron-deep); }
.btn--jade { background: var(--jade-deep); color: #fff; }
.btn--jade:hover { color: #fff; }
.btn--block { width: 100%; }

/* Tier 3 — the section rail. Every part of the site, always on one line.
   It scrolls sideways on narrow screens instead of collapsing away. */
.rail {
	position: relative;
	border-bottom: 1px solid var(--line-mid);
	background: var(--bg);
}
.rail__scroll {
	display: flex; align-items: stretch; gap: 0;
	overflow-x: auto; overflow-y: hidden;
	scrollbar-width: none; -ms-overflow-style: none;
	scroll-snap-type: x proximity;
	-webkit-overflow-scrolling: touch;
}
.rail__scroll::-webkit-scrollbar { display: none; }

.rail a {
	position: relative;
	display: inline-flex; align-items: center; gap: .4rem;
	padding: .78rem .95rem;
	font-family: var(--ui); font-size: .855rem; font-weight: 500;
	color: var(--ink-soft); text-decoration: none; white-space: nowrap;
	scroll-snap-align: start;
	transition: color .18s var(--ease);
}
.rail a:first-child { padding-left: 0; }
.rail a::after {
	content: ''; position: absolute; left: .95rem; right: .95rem; bottom: 0;
	height: 2px; background: var(--saffron);
	transform: scaleX(0); transform-origin: center;
	transition: transform .22s var(--ease);
}
.rail a:first-child::after { left: 0; }
.rail a:hover { color: var(--ink); }
.rail a:hover::after { transform: scaleX(1); }
.rail .is-current { color: var(--ink); font-weight: 700; }
.rail .is-current::after { transform: scaleX(1); }

.rail__count {
	font-family: var(--ui); font-size: .62rem; font-weight: 700;
	padding: .08rem .3rem; border-radius: 4px;
	background: var(--saffron-soft); color: var(--saffron-deep);
}
.rail__admin { margin-left: auto; color: var(--saffron-deep) !important; font-weight: 600; }

/* Fade hint at the right edge so it reads as scrollable */
.rail::after {
	content: ''; position: absolute; right: 0; top: 0; bottom: 1px; width: 42px;
	background: linear-gradient(90deg, transparent, var(--bg) 75%);
	pointer-events: none;
}
@media (min-width: 1100px) { .rail::after { display: none; } }

/* ---------------------------------------------------------- Ticker */

.ao-ticker {
	display: flex; align-items: stretch; overflow: hidden;
	background: var(--card); border-bottom: 1px solid var(--line);
	font-size: .84rem; color: var(--ink);
}
.ao-ticker__label {
	display: flex; align-items: center; gap: .4rem; flex: none;
	padding: .55rem clamp(.9rem, 3.5vw, 2.25rem);
	background: var(--alert); color: #fff;
	font-family: var(--ui); font-weight: 700; font-size: .68rem;
	letter-spacing: .13em; text-transform: uppercase;
}
.ao-pulse { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: ao-pulse 1.6s infinite; }
@keyframes ao-pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

.ao-ticker__viewport { overflow: hidden; flex: 1; display: flex; align-items: center; }
.ao-ticker__track { display: flex; gap: 2.75rem; white-space: nowrap; padding-left: 1.5rem; animation: ao-scroll 50s linear infinite; }
.ao-ticker:hover .ao-ticker__track { animation-play-state: paused; }
@keyframes ao-scroll { to { transform: translateX(-50%); } }
.ao-ticker__item a { color: var(--ink); text-decoration: none; }
.ao-ticker__item a:hover { color: var(--saffron-deep); text-decoration: underline; }
.ao-ticker__item::before { content: ''; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--saffron); margin-right: .5rem; vertical-align: middle; }
.ao-ticker__item.is-breaking { font-weight: 600; }
.ao-ticker__item.is-breaking::before { background: var(--alert); }

/* ======================================================================
   HERO — an editorial grid, not a row of equal cards.
   ====================================================================== */

.hero { position: relative; overflow: hidden; padding-block: clamp(1.5rem, 3.5vw, 2.5rem) clamp(2rem, 4vw, 3rem); }
.hero__chakra {
	position: absolute; right: -12vw; top: -20%; width: min(48vw, 520px);
	aspect-ratio: 1; opacity: .045; color: var(--saffron);
	pointer-events: none; animation: ao-turn 240s linear infinite;
}
@keyframes ao-turn { to { transform: rotate(360deg); } }
.hero__inner { position: relative; z-index: 1; }

.hero__masthead {
	display: flex; align-items: baseline; justify-content: space-between;
	gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem;
	padding-bottom: .75rem; border-bottom: 1px solid var(--line);
}
.hero__masthead h1 { font-size: var(--step-2); margin: 0; }
.hero__dateline { font-family: var(--ui); font-size: var(--step--1); color: var(--ink-soft); }

.lead-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr) minmax(0, .92fr);
	gap: 0;
}
.lead-grid > * + * { border-left: 1px solid var(--line); padding-left: clamp(1rem, 2vw, 1.75rem); }
.lead-grid > *:not(:last-child) { padding-right: clamp(1rem, 2vw, 1.75rem); }
@media (max-width: 1080px) {
	.lead-grid { grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); }
	.lead-grid > *:nth-child(3) { grid-column: 1 / -1; border-left: 0; padding-left: 0; margin-top: 1.75rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
}
@media (max-width: 760px) {
	.lead-grid { grid-template-columns: 1fr; }
	.lead-grid > * + * { border-left: 0; padding-left: 0; margin-top: 1.75rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
	.lead-grid > *:not(:last-child) { padding-right: 0; }
}

/* The lead story */
.lead { display: block; text-decoration: none; color: inherit; }
.lead__media { position: relative; aspect-ratio: 16/10; overflow: hidden; border-radius: var(--r); background: var(--bg-sunk); margin-bottom: 1rem; }
.lead__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.lead:hover .lead__media img { transform: scale(1.04); }
.lead__title { font-size: var(--step-3); margin: .5rem 0 .5rem; color: var(--ink); }
.lead:hover .lead__title { color: var(--saffron-deep); }
.lead__standfirst { color: var(--ink-soft); font-size: var(--step-1); line-height: 1.5; margin-bottom: .75rem; }
.lead__meta { font-family: var(--ui); font-size: var(--step--1); color: var(--ink-faint); display: flex; gap: .85rem; flex-wrap: wrap; }

/* Ranked list — numerals carry the hierarchy */
.ranked { list-style: none; margin: 0; padding: 0; counter-reset: r; }
.ranked li { counter-increment: r; padding: .85rem 0; border-bottom: 1px solid var(--line); display: flex; gap: .75rem; }
.ranked li:first-child { padding-top: 0; }
.ranked li:last-child { border-bottom: 0; padding-bottom: 0; }
.ranked li::before {
	content: counter(r, decimal-leading-zero);
	font-family: var(--display); font-size: 1.15rem; font-weight: 600;
	color: var(--saffron); line-height: 1.1; flex: none; min-width: 1.6em;
	font-variant-numeric: tabular-nums;
}
.ranked a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .96rem; line-height: 1.35; display: block; }
.ranked a:hover { color: var(--saffron-deep); }
.ranked time { display: block; margin-top: .3rem; font-family: var(--ui); font-size: var(--step--2); color: var(--ink-faint); }

/* Deadline stack */
.deadlines { list-style: none; margin: 0; padding: 0; }
.deadlines li { padding: .8rem 0; border-bottom: 1px solid var(--line); }
.deadlines li:first-child { padding-top: 0; }
.deadlines li:last-child { border-bottom: 0; }
.deadlines a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .92rem; line-height: 1.35; display: block; }
.deadlines a:hover { color: var(--saffron-deep); }
.deadline__bar { height: 3px; border-radius: 2px; background: var(--line); margin-top: .55rem; overflow: hidden; }
.deadline__fill { height: 100%; border-radius: 2px; background: var(--saffron); }
.deadline__fill.is-urgent { background: var(--alert); }

/* ------------------------------------------------------- Trust strip */

.trust {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
	margin-top: 2rem; padding-top: 1.25rem; border-top: 2px solid var(--ink);
}
@media (max-width: 720px) { .trust { grid-template-columns: repeat(2, 1fr); gap: 1.25rem 0; } }
.trust__item { padding-right: 1rem; }
.trust__item + .trust__item { border-left: 1px solid var(--line); padding-left: 1rem; }
@media (max-width: 720px) { .trust__item:nth-child(odd) { border-left: 0; padding-left: 0; } }
.trust__n {
	display: block; font-family: var(--display); font-weight: 600;
	font-size: clamp(1.5rem, 3.2vw, 2.1rem); line-height: 1;
	letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums;
}
.trust__l {
	display: block; margin-top: .35rem; font-family: var(--ui);
	font-size: var(--step--2); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint);
}

/* =========================================================== Cards */

.card { position: relative; display: flex; flex-direction: column; background: transparent; }
.card__media { position: relative; aspect-ratio: 16/10; overflow: hidden; border-radius: var(--r); background: var(--bg-sunk); margin-bottom: .85rem; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.card__title { font-size: 1.15rem; margin: 0; line-height: 1.25; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a:hover { color: var(--saffron-deep); }
.card__excerpt { font-size: var(--step--1); color: var(--ink-soft); margin: 0; line-height: 1.5; }
.card__meta {
	display: flex; align-items: center; gap: .7rem; flex-wrap: wrap;
	font-family: var(--ui); font-size: var(--step--2); color: var(--ink-faint);
	margin-top: auto; padding-top: .5rem;
}
.card__link::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.card a, .card button { position: relative; z-index: 2; }

.card--row { flex-direction: row; align-items: flex-start; gap: .85rem; }
.card--row .card__media { flex: none; width: 88px; aspect-ratio: 1; margin-bottom: 0; }
.card--row .card__title { font-size: .95rem; }

.tag {
	display: inline-flex; align-items: center; align-self: flex-start;
	font-family: var(--ui); font-size: var(--step--2); font-weight: 700;
	letter-spacing: .1em; text-transform: uppercase;
	color: var(--saffron-deep); text-decoration: none; white-space: nowrap;
	padding: 0 0 .1rem; border-bottom: 2px solid var(--saffron);
}
.tag--jade  { color: var(--jade-deep); border-bottom-color: var(--jade); }
.tag--alert { color: var(--alert); border-bottom-color: var(--alert); }
.tag--grey  { color: var(--ink-faint); border-bottom-color: var(--line-mid); }

/* ------------------------------------------------- Job list (dense) */

.joblist { border-top: 2px solid var(--ink); }
.joblist__row {
	display: grid;
	grid-template-columns: minmax(0,2.4fr) .8fr .9fr .9fr auto;
	gap: 1rem; align-items: center;
	padding: 1.05rem 0; border-bottom: 1px solid var(--line);
	position: relative; transition: background-color .18s var(--ease);
}
.joblist__row:hover { background: var(--saffron-soft); }
.joblist__title { font-family: var(--display); font-size: 1.05rem; font-weight: 600; line-height: 1.25; }
.joblist__title a { color: var(--ink); text-decoration: none; }
.joblist__title a::after { content: ''; position: absolute; inset: 0; }
.joblist__row:hover .joblist__title a { color: var(--saffron-deep); }
.joblist__org { display: block; margin-top: .25rem; font-family: var(--ui); font-size: var(--step--2); letter-spacing: .09em; text-transform: uppercase; color: var(--ink-faint); }
.joblist__cell { font-family: var(--ui); font-size: .85rem; color: var(--ink-soft); }
.joblist__cell b { display: block; font-family: var(--ui); font-size: var(--step--2); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: .15rem; }
@media (max-width: 900px) {
	.joblist__row { grid-template-columns: 1fr 1fr; gap: .65rem 1rem; padding: 1rem 0; }
	.joblist__title { grid-column: 1 / -1; }
	.joblist__row > .countdown { grid-column: 1 / -1; }
}

.countdown {
	display: inline-flex; align-items: center; gap: .35rem;
	font-family: var(--ui); font-weight: 700; font-size: .74rem;
	letter-spacing: .04em; text-transform: uppercase;
	padding: .28rem .6rem; border-radius: var(--r-sm);
	background: var(--saffron-soft); color: var(--saffron-deep); white-space: nowrap;
}
.countdown.is-urgent { background: var(--alert-soft); color: var(--alert); }
.countdown.is-closed { background: var(--bg-sunk); color: var(--ink-faint); }
.countdown__dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

.job-facts { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .5rem .9rem; font-size: .82rem; }
.job-facts dt { color: var(--ink-faint); font-size: var(--step--2); text-transform: uppercase; letter-spacing: .08em; margin: 0; }
.job-facts dd { margin: 0; font-weight: 600; }

/* --------------------------------------------------------- Video */

.card--video .card__media { aspect-ratio: 16/9; }
.play {
	position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%) scale(.9);
	width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%;
	background: rgba(255,255,255,.95); color: var(--saffron-deep);
	opacity: 0; transition: all .3s var(--ease); z-index: 2;
}
.card--video:hover .play { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.duration {
	position: absolute; right: 8px; bottom: 8px; z-index: 2;
	padding: .1rem .4rem; background: rgba(10,6,3,.88); color: #fff;
	border-radius: 4px; font-family: var(--ui); font-size: .7rem; font-weight: 600; font-variant-numeric: tabular-nums;
}
.shorts-rail {
	display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory;
	padding-bottom: 1rem; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
}
.shorts-rail > * { flex: 0 0 clamp(140px, 38vw, 176px); scroll-snap-align: start; }
.shorts-rail .card__media { aspect-ratio: 9/16; }

/* ----------------------------------------------------- Directory */

.card--dir { padding: 1rem; background: var(--card); gap: .6rem; }
.card--dir:hover { background: var(--saffron-soft); }
.dir__logo {
	width: 38px; height: 38px; border-radius: var(--r-sm); background: var(--bg-sunk);
	display: grid; place-items: center; font-family: var(--display); font-weight: 700;
	font-size: 1rem; color: var(--saffron-deep); flex: none; overflow: hidden;
}
.dir__logo img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.dir__url { font-family: var(--ui); font-size: .74rem; color: var(--ink-faint); word-break: break-all; margin: 0; }
.dir__actions { display: flex; gap: .35rem; margin-top: auto; padding-top: .5rem; flex-wrap: wrap; align-items: center; }
.dir__actions button, .dir__actions a {
	font-family: var(--ui); font-size: .72rem; padding: .22rem .55rem;
	border-radius: var(--r-sm); border: 1px solid var(--line-mid);
	background: transparent; color: var(--ink-soft); cursor: pointer; text-decoration: none;
}
.dir__actions button:hover, .dir__actions a:hover { border-color: var(--saffron); color: var(--saffron-deep); }
.status-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; flex: none; }
.status-dot.is-live { background: var(--jade-deep); }
.status-dot.is-slow { background: var(--marigold); }
.status-dot.is-down { background: var(--alert); }
.ao-grid--dir.is-list .card--dir { flex-direction: row; align-items: center; }
.ao-grid--dir.is-list .dir__actions { margin-left: auto; padding-top: 0; }

.ao-directory__controls {
	display: grid; grid-template-columns: 2fr 1fr auto; gap: 1rem; align-items: end;
	padding-bottom: 1.25rem; margin-bottom: 1.25rem; border-bottom: 1px solid var(--line);
}
@media (max-width: 720px) { .ao-directory__controls { grid-template-columns: 1fr; } }

.ao-field { display: block; }
.ao-field__label {
	display: block; font-family: var(--ui); font-size: var(--step--2); font-weight: 700;
	letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: .3rem;
}
.ao-field input, .ao-field select, .ao-field textarea,
input[type="text"], input[type="search"], input[type="email"], input[type="password"],
input[type="number"], input[type="date"], textarea, select {
	width: 100%; padding: .62rem .8rem;
	border: 1px solid var(--line-mid); border-radius: var(--r-sm);
	background: var(--card); color: var(--ink);
	font-family: var(--body); font-size: .93rem;
}
input:focus, select:focus, textarea:focus { border-color: var(--saffron); outline: none; box-shadow: 0 0 0 3px var(--saffron-soft); }

.ao-directory__view { display: flex; gap: .25rem; }
.ao-viewbtn {
	padding: .62rem .9rem; border: 1px solid var(--line-mid); background: var(--card);
	color: var(--ink-soft); border-radius: var(--r-sm); cursor: pointer;
	font-family: var(--ui); font-size: .83rem;
}
.ao-viewbtn.is-active { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.ao-directory__count { font-family: var(--ui); font-size: var(--step--1); color: var(--ink-soft); margin-bottom: 1rem; }

/* -------------------------------------------------- Search overlay */

.search-overlay {
	position: fixed; inset: 0; z-index: 1500;
	background: color-mix(in srgb, var(--bg) 88%, transparent);
	backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	display: grid; place-items: start center;
	padding: clamp(2.5rem, 10vh, 7rem) var(--gutter) 2rem;
	opacity: 0; visibility: hidden; transition: opacity .22s var(--ease), visibility .22s;
}
.search-overlay.is-open { opacity: 1; visibility: visible; }
.search-panel {
	width: min(100%, 620px); background: var(--card);
	border: 1px solid var(--line-mid); border-radius: var(--r-lg);
	box-shadow: var(--shadow-lg); overflow: hidden;
	transform: translateY(-10px); transition: transform .28s var(--ease);
}
.search-overlay.is-open .search-panel { transform: none; }
.search-panel__input { display: flex; align-items: center; gap: .7rem; padding: .9rem 1.1rem; border-bottom: 1px solid var(--line); }
.search-panel__input input { border: 0; background: transparent; padding: 0; font-family: var(--display); font-size: 1.1rem; }
.search-panel__input input:focus { box-shadow: none; }
.search-panel__hint { font-family: var(--ui); font-size: .68rem; color: var(--ink-faint); flex: none; }
.suggest { list-style: none; margin: 0; padding: .35rem; max-height: 52vh; overflow-y: auto; }
.suggest li a { display: flex; align-items: center; gap: .7rem; padding: .6rem .75rem; border-radius: var(--r-sm); text-decoration: none; color: var(--ink); }
.suggest li a:hover { background: var(--saffron-soft); }
.suggest .kind { flex: none; font-family: var(--ui); font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); min-width: 58px; }
.suggest__empty { padding: 1.4rem; text-align: center; color: var(--ink-soft); font-size: var(--step--1); }

/* ------------------------------------------------------ Article */

.reading-progress { position: fixed; top: 0; left: 0; z-index: 1000; height: 2px; width: 0; background: var(--saffron); }

.entry-header { padding-block: clamp(1.75rem, 4vw, 3rem) 1.25rem; }
.entry-title { max-width: 18ch; }
.entry-meta { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; font-family: var(--ui); font-size: var(--step--1); color: var(--ink-soft); margin-top: 1rem; }
.entry-meta .avatar { width: 32px; height: 32px; border-radius: 50%; }
.entry-author { display: flex; align-items: center; gap: .5rem; }
.entry-hero { border-radius: var(--r-lg); overflow: hidden; margin-bottom: 2rem; }

.entry-content { font-size: 1.08rem; line-height: 1.72; max-width: 68ch; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { margin-top: 2em; font-size: var(--step-2); }
.entry-content h3 { margin-top: 1.6em; font-size: var(--step-1); }
.entry-content img { border-radius: var(--r); }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .4em; }
.entry-content blockquote {
	margin: 1.8em 0; padding: 0 0 0 1.4rem;
	border-left: 3px solid var(--saffron);
	font-family: var(--display); font-size: 1.3rem; line-height: 1.4; color: var(--ink);
}
.entry-content table { width: 100%; border-collapse: collapse; font-size: .93rem; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { padding: .6rem .85rem; border-bottom: 1px solid var(--line); text-align: left; }
.entry-content th { font-family: var(--ui); font-size: var(--step--2); letter-spacing: .09em; text-transform: uppercase; color: var(--ink-faint); }
.entry-content pre { background: var(--stone); color: #F0E4D6; padding: 1.1rem; border-radius: var(--r); overflow-x: auto; font-size: .86rem; }

.toc { padding: 1rem 1.25rem; margin-bottom: 2rem; background: var(--bg-sunk); border-left: 2px solid var(--saffron); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.toc__title { font-family: var(--ui); font-size: var(--step--2); text-transform: uppercase; letter-spacing: .12em; color: var(--ink-faint); margin-bottom: .5rem; font-weight: 700; }
.toc ol { margin: 0; padding-left: 1.1rem; font-size: .9rem; }
.toc a { color: var(--ink-soft); text-decoration: none; }
.toc a:hover { color: var(--saffron-deep); }

.share { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; margin: 2.25rem 0; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.share__label { font-family: var(--ui); font-size: var(--step--2); text-transform: uppercase; letter-spacing: .12em; color: var(--ink-faint); font-weight: 700; margin-right: .2rem; }

.author-box { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.4rem 0; margin: 2.25rem 0; border-block: 1px solid var(--line); }
.author-box img { width: 56px; height: 56px; border-radius: 50%; flex: none; }

.facts { padding: 1.25rem; background: var(--bg-sunk); border-radius: var(--r); }
.facts h3 { font-family: var(--ui); font-size: var(--step--2); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: .9rem; font-weight: 700; }
.facts dl { display: grid; gap: .75rem; margin: 0; }
.facts dt { font-family: var(--ui); font-size: var(--step--2); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-faint); }
.facts dd { margin: .1rem 0 0; font-weight: 600; }
.facts .btn { margin-top: 1.1rem; }

.layout-split { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: clamp(1.75rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 940px) { .layout-split { grid-template-columns: 1fr; } }
.sidebar { position: sticky; top: 140px; display: grid; gap: 1.25rem; }
@media (max-width: 940px) { .sidebar { position: static; } }

/* --------------------------------------------------------- Tools */

.tool-tile {
	display: flex; flex-direction: column; gap: .3rem; padding: 1.1rem;
	background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
	text-decoration: none; transition: all .25s var(--ease);
}
.tool-tile:hover { border-color: var(--saffron); transform: translateY(-3px); box-shadow: var(--shadow); }
.tool-tile__icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: var(--r-sm); background: var(--saffron-soft); color: var(--saffron-deep); margin-bottom: .35rem; }
.tool-tile__name { font-family: var(--display); font-weight: 600; font-size: 1.02rem; color: var(--ink); }
.tool-tile__desc { font-size: .8rem; color: var(--ink-soft); }

.ao-tool { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.1rem, 3vw, 1.75rem); }
.ao-tool__row { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin-bottom: 1.1rem; }
.ao-tool__result:empty { display: none; }
.ao-tool__result { margin-top: 1.25rem; padding: 1.1rem; background: var(--bg-sunk); border-radius: var(--r); font-family: var(--ui); font-size: .9rem; }
.ao-tool__result strong { display: block; font-family: var(--display); font-size: var(--step-2); color: var(--ink); margin-bottom: .25rem; }
.ao-tool__note { margin-top: 1rem; font-size: .82rem; line-height: 1.6; color: var(--ink-soft); padding-left: .85rem; border-left: 2px solid var(--line-mid); }
.ao-tool__loading { color: var(--ink-faint); }

.ao-drop {
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	gap: .3rem; min-height: 170px; padding: 1.75rem;
	border: 2px dashed var(--line-mid); border-radius: var(--r-lg);
	background: var(--bg-sunk); cursor: pointer; text-align: center;
	transition: all .22s var(--ease);
}
.ao-drop:hover, .ao-drop.is-over { border-color: var(--saffron); background: var(--saffron-soft); }
.ao-drop__icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--saffron-deep); color: #fff; font-size: 1.35rem; line-height: 1; }
.ao-drop__text { font-family: var(--display); font-weight: 600; color: var(--ink); }
.ao-drop__hint { font-size: .8rem; color: var(--ink-faint); }
.ao-check { display: flex; align-items: center; gap: .45rem; font-size: .88rem; color: var(--ink-soft); margin-bottom: 1rem; }
.ao-check input { width: auto; accent-color: var(--saffron); }
.ao-preset { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: 1.1rem; }
.ao-chip {
	padding: .3rem .7rem; border-radius: var(--r-pill); border: 1px solid var(--line-mid);
	background: var(--card); color: var(--ink-soft); font-family: var(--ui); font-size: .76rem; cursor: pointer;
}
.ao-chip:hover { border-color: var(--saffron); color: var(--saffron-deep); }
.ao-canvas-wrap {
	margin: 1.1rem 0; padding: .85rem; border-radius: var(--r);
	background: repeating-conic-gradient(var(--bg-sunk) 0% 25%, var(--card) 0% 50%) 50% / 18px 18px;
	border: 1px solid var(--line); overflow: auto;
}
.ao-canvas-wrap canvas { max-width: 100%; height: auto; margin-inline: auto; border-radius: var(--r-sm); box-shadow: var(--shadow-sm); cursor: crosshair; }
input[type="range"] { accent-color: var(--saffron); padding: 0; }

/* ------------------------------------------------------- Follow */

.follow__grid { display: grid; gap: 1px; grid-template-columns: repeat(auto-fill, minmax(180px,1fr)); background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.follow__card { display: flex; flex-direction: column; gap: .25rem; padding: 1.1rem; background: var(--card); text-decoration: none; position: relative; transition: background-color .2s var(--ease); }
.follow__card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--brand, var(--saffron)); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.follow__card:hover { background: var(--bg-sunk); }
.follow__card:hover::before { transform: scaleX(1); }
.follow__icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: var(--r-sm); color: var(--brand, var(--saffron)); margin-bottom: .35rem; }
.follow__name { font-family: var(--display); font-weight: 600; color: var(--ink); }
.follow__blurb { font-size: .79rem; color: var(--ink-soft); }

.wa-float {
	position: fixed; right: clamp(.9rem,3vw,1.5rem); bottom: clamp(.9rem,3vw,1.5rem); z-index: 800;
	display: inline-flex; align-items: center; gap: .45rem; padding: .7rem 1rem;
	border-radius: var(--r-pill); background: #25D366; color: #fff; text-decoration: none;
	font-family: var(--ui); font-weight: 600; font-size: .86rem;
	box-shadow: 0 6px 20px rgba(37,211,102,.35); transition: transform .22s var(--ease);
}
.wa-float:hover { color: #fff; transform: translateY(-2px); }
@media (max-width: 640px) { .wa-float { padding: .75rem; } .wa-float span { display: none; } }
@media print { .wa-float { display: none; } }

/* ------------------------------------------------------ Newsletter */

.subscribe {
	position: relative; overflow: hidden; border-radius: var(--r-lg);
	padding: clamp(1.75rem, 4vw, 3rem); text-align: center;
	background: var(--stone); color: #F5EDE2;
}
.subscribe h2 { color: #fff; }
.subscribe p { color: rgba(245,237,226,.8); max-width: 50ch; margin-inline: auto; }
.subscribe form { display: flex; gap: .5rem; max-width: 440px; margin: 1.5rem auto 0; flex-wrap: wrap; }
.subscribe input { flex: 1 1 200px; border: 0; background: rgba(255,255,255,.96); color: #1A1815; }
.subscribe .btn { background: var(--saffron); color: #fff; flex: none; }
.subscribe__chakra { position: absolute; right: -50px; bottom: -70px; width: 240px; opacity: .1; color: var(--marigold); animation: ao-turn 200s linear infinite; pointer-events: none; }

/* ---------------------------------------------------------- Footer */

.site-footer { background: var(--bg-sunk); color: var(--ink-soft); padding-block: clamp(2.5rem,5vw,4rem) 1.75rem; margin-top: var(--section); border-top: 1px solid var(--line); }
.site-footer h4 { font-family: var(--ui); color: var(--ink); font-size: var(--step--2); text-transform: uppercase; letter-spacing: .13em; margin-bottom: .9rem; font-weight: 700; }
.footer-grid { display: grid; gap: 2.25rem; grid-template-columns: 1.6fr repeat(3, 1fr); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer a { color: var(--ink-soft); text-decoration: none; font-size: .9rem; }
.site-footer a:hover { color: var(--saffron-deep); }
.footer-brand { display: flex; gap: .65rem; align-items: center; margin-bottom: .9rem; text-decoration: none; }
.footer-brand img { width: 46px; height: 46px; border-radius: 50%; }
.footer-brand strong { color: var(--ink); font-family: var(--display); font-size: 1.05rem; display: block; }
.footer-brand span { font-family: var(--ui); font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; color: var(--saffron-deep); }
.footer-note { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line-mid); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-family: var(--ui); font-size: .8rem; color: var(--ink-faint); }
.social { display: flex; gap: .4rem; margin-top: 1rem; }
.social a { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--card); border: 1px solid var(--line); color: var(--ink-soft); }
.social a:hover { background: var(--saffron); border-color: var(--saffron); color: #fff; }
.disclaimer { font-size: .78rem; line-height: 1.6; color: var(--ink-faint); max-width: 76ch; margin-top: 1.1rem; padding-left: 1rem; border-left: 2px solid var(--line-mid); }

/* ----------------------------------------------------------- Misc */

.ao-ad { margin: 1.75rem 0; text-align: center; }
.ao-ad__label { display: block; font-family: var(--ui); font-size: .6rem; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: .35rem; }

.pagination { display: flex; justify-content: center; gap: .3rem; margin-top: 2.5rem; flex-wrap: wrap; }
.pagination .page-numbers {
	min-width: 38px; height: 38px; display: grid; place-items: center; padding-inline: .7rem;
	border-radius: var(--r-sm); border: 1px solid var(--line-mid); background: var(--card);
	color: var(--ink-soft); text-decoration: none; font-family: var(--ui); font-size: .88rem;
}
.pagination .page-numbers:hover { border-color: var(--saffron); color: var(--saffron-deep); }
.pagination .current { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.breadcrumbs { font-family: var(--ui); font-size: .8rem; color: var(--ink-faint); padding-block: 1rem; }
.breadcrumbs a { color: var(--ink-soft); text-decoration: none; }
.breadcrumbs a:hover { color: var(--saffron-deep); }
.breadcrumbs span + span::before { content: '/'; margin: 0 .45rem; color: var(--line-strong); }

.notice { padding: .9rem 1.1rem; border-radius: var(--r); background: var(--saffron-soft); border-left: 3px solid var(--saffron); font-size: var(--step--1); }

.error-404 { text-align: center; padding-block: clamp(3.5rem,10vw,7rem); }
.error-404 .code { font-family: var(--display); font-size: clamp(4.5rem,16vw,9rem); font-weight: 600; line-height: 1; color: var(--saffron); }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

.toast {
	position: fixed; left: 50%; bottom: 22px; transform: translate(-50%,120%);
	background: var(--stone); color: #fff; padding: .7rem 1.25rem; border-radius: var(--r-pill);
	font-family: var(--ui); font-size: .85rem; z-index: 2000; box-shadow: var(--shadow-lg);
	transition: transform .3s var(--ease);
}
.toast.is-visible { transform: translate(-50%,0); }

/* ---------------------------------------------------------- Admin */

.admin { padding-block: clamp(1.75rem,4vw,3rem); }
.admin__head { margin-bottom: 1.75rem; }
.admin__grid { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: clamp(1.5rem,3vw,2.5rem); align-items: start; }
@media (max-width: 900px) { .admin__grid { grid-template-columns: 1fr; } }
.admin__editor { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.1rem,3vw,1.75rem); }
.admin__editor textarea { font-family: var(--body); line-height: 1.6; resize: vertical; }
.admin__actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1.35rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.admin__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: .7rem 1rem; margin-bottom: 1.5rem; border-radius: var(--r); background: var(--jade-soft); font-size: .87rem; color: var(--ink); }

.admin-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.admin-table th { text-align: left; padding: .6rem .8rem; font-family: var(--ui); font-size: var(--step--2); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); border-bottom: 2px solid var(--ink); }
.admin-table td { padding: .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table tr:hover td { background: var(--saffron-soft); }
@media (max-width: 640px) { .admin-table { display: block; overflow-x: auto; white-space: nowrap; } }

.login-card { max-width: 400px; margin: clamp(1rem,4vw,2.5rem) auto; padding: clamp(1.4rem,4vw,2rem); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.login-card__mark { width: 46px; height: 46px; display: grid; place-items: center; border-radius: var(--r); background: var(--saffron-soft); color: var(--saffron-deep); margin-bottom: 1.1rem; }
.login-card__error { margin: 1rem 0 0; padding: .6rem .8rem; border-radius: var(--r-sm); background: var(--alert-soft); color: var(--alert); font-size: .85rem; }
.login-card__hint { margin: 1.1rem 0 0; padding-top: .9rem; border-top: 1px solid var(--line); font-size: .81rem; color: var(--ink-soft); }

@media print {
	.site-header, .site-footer, .ao-ticker, .share, .ao-ad, .sidebar, .toc, .rail, .topbar { display: none !important; }
	body { background: #fff; color: #000; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.reveal { opacity: 1; transform: none; }
}
