/* ==========================================================================
   AKTutor Academic — main stylesheet
   1 Tokens · 2 Base · 3 Layout · 4 Header & nav · 5 Buttons & fields · 6 Page header
   7 Lists, rows, cards, tiles · 8 Single pages · 9 2026 course pages · 10 Home
   11 Premium · 12 Ads · 13 Tools · 14 Footer & bottom bar · 15 WordPress core · 16 Utilities
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
	--akt-primary: #1D4ED8;
	--akt-accent: #F59E0B;
	--akt-ink: #0F1F3D;
	--akt-ink-soft: #475569;
	--akt-ink-faint: #94A3B8;
	--akt-line: #E2E8F0;
	--akt-line-strong: #CBD5E1;
	--akt-paper: #F8FAFC;
	--akt-white: #FFFFFF;
	--akt-primary-tint: color-mix(in srgb, var(--akt-primary) 9%, white);
	--akt-primary-deep: color-mix(in srgb, var(--akt-primary) 70%, black);
	--akt-accent-tint: color-mix(in srgb, var(--akt-accent) 16%, white);
	--akt-success: #047857;
	--akt-warn: #B45309;
	--akt-danger: #B91C1C;
	--akt-font-heading: "Source Serif 4", Georgia, serif;
	--akt-font-body: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
	--akt-wrap: 1200px;
	--akt-gutter: clamp(1rem, 4vw, 2rem);
	--akt-radius: 12px;
	--akt-radius-sm: 8px;
	--akt-shadow: 0 1px 2px rgba(15, 31, 61, .05), 0 4px 16px rgba(15, 31, 61, .05);
	--akt-header-h: 64px;
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--akt-header-h) + 16px); }
body {
	margin: 0;
	background: var(--akt-paper);
	color: var(--akt-ink);
	font: 400 17px/1.65 var(--akt-font-body);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
	overflow-x: clip;
}
html { overflow-x: hidden; overflow-x: clip; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--akt-font-heading);
	color: var(--akt-ink);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -.01em;
	margin: 0 0 .6em;
	text-wrap: balance;
}
h1 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); }
h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
h3 { font-size: 1.175rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--akt-primary); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--akt-primary-deep); }
:focus-visible { outline: 3px solid var(--akt-primary); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--akt-accent-tint); color: var(--akt-ink); }
.akt-icon { flex: none; vertical-align: middle; }
button { font: inherit; }
hr { border: 0; border-top: 1px solid var(--akt-line); margin: 2rem 0; }
table { border-collapse: collapse; }

/* 3. Layout ---------------------------------------------------------------- */
.akt-wrap { width: 100%; max-width: calc(var(--akt-wrap) + 2 * var(--akt-gutter)); margin-inline: auto; padding-inline: var(--akt-gutter); }
.akt-main { display: block; min-height: 60vh; padding-bottom: 3rem; }
.akt-main:focus { outline: 0; }
.akt-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.akt-narrow { max-width: 780px; margin-inline: auto; }
.akt-narrow-left { max-width: 780px; }
.akt-content { min-width: 0; }
@media (min-width: 1024px) {
	.akt-has-sidebar .akt-layout { grid-template-columns: minmax(0, 1fr) 320px; }
	.akt-layout--toc { grid-template-columns: minmax(0, 1fr) 300px !important; }
}
.akt-sidebar { display: grid; gap: 1.25rem; }
@media (min-width: 1024px) {
	.akt-sidebar--toc { position: sticky; top: calc(var(--akt-header-h) + 16px); max-height: calc(100vh - var(--akt-header-h) - 32px); overflow: auto; }
	.akt-sidebar__sticky { position: sticky; top: calc(var(--akt-header-h) + 16px); }
}
@media (max-width: 1023px) { .akt-sidebar--toc .akt-toc { display: none; } }

/* 4. Header & nav ---------------------------------------------------------- */
.akt-skip:focus { position: fixed; top: 8px; left: 8px; z-index: 1000; clip: auto; width: auto; height: auto; padding: .6rem 1rem; background: var(--akt-white); border-radius: 6px; box-shadow: var(--akt-shadow); }
.akt-notice { background: var(--akt-ink); color: #E2E8F0; font-size: .875rem; }
.akt-notice__inner { display: flex; align-items: center; justify-content: center; gap: .75rem; min-height: 38px; }
.akt-notice p { margin: 0; text-align: center; }
.akt-notice a { color: var(--akt-accent); font-weight: 600; margin-left: .35rem; }
.akt-notice__close { background: none; border: 0; color: inherit; opacity: .7; cursor: pointer; padding: .35rem; display: inline-flex; }
.akt-notice__close:hover { opacity: 1; }
.akt-notice[hidden] { display: none; }

.akt-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--akt-line); }
.admin-bar .akt-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .akt-header { top: 0; position: relative; } }
.akt-header__bar { display: flex; align-items: center; gap: 1.25rem; min-height: var(--akt-header-h); }
.akt-brand { display: flex; align-items: center; gap: .75rem; min-width: 0; }
.akt-brand__name { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--akt-font-heading); font-size: 1.375rem; font-weight: 700; color: var(--akt-ink); text-decoration: none; letter-spacing: -.02em; white-space: nowrap; }
.akt-brand__mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--akt-primary); color: #fff; }
.akt-brand .custom-logo { max-height: 44px; width: auto; display: block; }
.akt-brand__tag { color: var(--akt-ink-soft); font-size: .8125rem; padding-left: .75rem; border-left: 1px solid var(--akt-line); white-space: nowrap; display: none; }
@media (min-width: 1180px) { .akt-brand__tag { display: inline; } }
.akt-hsearch { flex: 1; max-width: 480px; margin-left: auto; display: none; align-items: center; gap: .5rem; padding: 0 .85rem; height: 42px; border: 1.5px solid var(--akt-line); border-radius: 999px; background: var(--akt-paper); color: var(--akt-ink-faint); transition: border-color .15s, background .15s; }
.akt-hsearch:focus-within { border-color: var(--akt-primary); background: var(--akt-white); }
.akt-hsearch input { flex: 1; min-width: 0; border: 0; background: none; outline: 0; font-size: .9375rem; color: var(--akt-ink); }
.akt-hsearch kbd { font: 600 .75rem/1 var(--akt-font-body); color: var(--akt-ink-faint); border: 1px solid var(--akt-line); border-radius: 5px; padding: .2rem .4rem; }
@media (min-width: 900px) { .akt-hsearch { display: flex; } }
.akt-header__actions { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
@media (min-width: 900px) { .akt-header__actions { margin-left: 0; } }
.akt-menu-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1.5px solid var(--akt-line); border-radius: 10px; background: var(--akt-white); color: var(--akt-ink); cursor: pointer; }
@media (min-width: 1024px) { .akt-menu-toggle { display: none; } }

.akt-nav { border-top: 1px solid var(--akt-line); }
.akt-nav__search { display: none; }
.akt-nav__list { display: flex; gap: .25rem; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.akt-nav__list::-webkit-scrollbar { display: none; }
.akt-nav__list > li { position: relative; }
.akt-nav__list a { display: block; padding: .7rem .85rem; color: var(--akt-ink); font-weight: 500; font-size: .9375rem; text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; }
.akt-nav__list a:hover { color: var(--akt-primary); }
.akt-nav__list .current-menu-item > a, .akt-nav__list .current-menu-ancestor > a, .akt-nav__list .current_page_item > a { color: var(--akt-primary); border-bottom-color: var(--akt-primary); }
.akt-nav__list .sub-menu { display: none; position: absolute; left: 0; top: 100%; min-width: 220px; margin: 0; padding: .4rem; list-style: none; background: var(--akt-white); border: 1px solid var(--akt-line); border-radius: var(--akt-radius-sm); box-shadow: var(--akt-shadow); z-index: 10; }
.akt-nav__list li:hover > .sub-menu, .akt-nav__list li:focus-within > .sub-menu { display: block; }
.akt-nav__list .sub-menu a { border: 0; border-radius: 6px; }
.akt-nav__list .sub-menu a:hover { background: var(--akt-primary-tint); }
.akt-nav__head { display: none; }
@keyframes akt-drawer-in { from { transform: translateX(100%); } to { transform: none; } }
@media (max-width: 1023px) {
	/* backdrop-filter would make the header the containing block of the fixed drawer, so phones get a solid header. */
	.akt-header { backdrop-filter: none; background: var(--akt-white); }
	body.akt-nav-open .akt-header { z-index: 300; }
	.akt-nav { position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); height: 100vh; height: 100dvh; background: var(--akt-white); border: 0; box-shadow: -8px 0 32px rgba(15, 31, 61, .18); display: none; z-index: 200; overflow-y: auto; overscroll-behavior: contain; padding: 0 0 5rem; }
	/* Closed = out of the layout entirely (an off-screen drawer would make phones zoom out). */
	.akt-nav.is-open { display: block; animation: akt-drawer-in .25s ease; }
	.admin-bar .akt-nav { top: 46px; height: calc(100dvh - 46px); }
	.akt-nav__head { display: flex; align-items: center; justify-content: space-between; padding: .75rem 1rem; margin-bottom: .75rem; border-bottom: 1px solid var(--akt-line); font-family: var(--akt-font-heading); font-weight: 700; font-size: 1.125rem; }
	.akt-nav__close { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1.5px solid var(--akt-line); border-radius: 10px; background: var(--akt-white); color: var(--akt-ink); cursor: pointer; }
	.akt-nav__inner { padding-inline: 1rem; }
	.akt-nav__search { display: flex; gap: .5rem; margin-bottom: 1rem; }
	.akt-nav__search input { flex: 1; min-width: 0; height: 44px; padding: 0 .85rem; border: 1.5px solid var(--akt-line); border-radius: 10px; font-size: 1rem; }
	.akt-nav__list { flex-direction: column; overflow: visible; }
	.akt-nav__list a { padding: .85rem .75rem; border: 0; border-radius: 8px; font-size: 1.0625rem; }
	.akt-nav__list .current-menu-item > a { background: var(--akt-primary-tint); }
	.akt-nav__list .sub-menu { display: block; position: static; box-shadow: none; border: 0; padding: 0 0 0 1rem; }
	body.akt-nav-open { overflow: hidden; }
	body.akt-nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(15, 31, 61, .45); z-index: 150; }
}
.akt-slot { padding-top: 1rem; }

/* 5. Buttons & fields ------------------------------------------------------ */
.akt-btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 44px; padding: .6rem 1.15rem; border: 1.5px solid transparent; border-radius: 10px; font: 600 .9375rem/1.2 var(--akt-font-body); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .05s; white-space: nowrap; }
.akt-btn:active { transform: translateY(1px); }
.akt-btn--primary { background: var(--akt-primary); color: #fff; }
.akt-btn--primary:hover { background: var(--akt-primary-deep); color: #fff; }
.akt-btn--accent { background: var(--akt-accent); color: var(--akt-ink); }
.akt-btn--accent:hover { background: color-mix(in srgb, var(--akt-accent) 85%, black); color: var(--akt-ink); }
.akt-btn--ghost { background: var(--akt-white); color: var(--akt-primary); border-color: var(--akt-line); }
.akt-btn--ghost:hover { border-color: var(--akt-primary); background: var(--akt-primary-tint); }
.akt-btn--onDark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.akt-btn--onDark:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.akt-btn--sm { min-height: 38px; padding: .45rem .9rem; font-size: .875rem; }
.akt-btn--lg { min-height: 52px; padding: .8rem 1.5rem; font-size: 1.0625rem; }
.akt-btn--block { width: 100%; }
.akt-btn:disabled { opacity: .5; cursor: not-allowed; }
@media (max-width: 520px) { .akt-header__premium span { display: none; } .akt-header__premium { padding-inline: .7rem; } }

.akt-select, .akt-field input, .akt-field select, .akt-searchform input, .akt-filters input, .akt-calc input, .akt-calc select, .comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; min-height: 44px; padding: .55rem .8rem; border: 1.5px solid var(--akt-line-strong); border-radius: 10px; background: var(--akt-white); color: var(--akt-ink); font: 400 1rem/1.3 var(--akt-font-body);
}
.akt-select { appearance: none; padding-right: 2.2rem; background: var(--akt-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23475569' stroke-width='1.8'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E") no-repeat right .85rem center; cursor: pointer; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--akt-primary); box-shadow: 0 0 0 3px var(--akt-primary-tint); }
.akt-field { display: grid; gap: .35rem; font-weight: 600; font-size: .875rem; color: var(--akt-ink-soft); }
.akt-check { display: flex; gap: .55rem; align-items: flex-start; font-size: .9375rem; margin: .75rem 0; }
.akt-check input { width: 18px; height: 18px; min-height: 0; padding: 0; flex: none; margin-top: 3px; accent-color: var(--akt-primary); }
.akt-searchform { display: flex; gap: .5rem; max-width: 640px; margin: 0 0 1.5rem; }
.akt-searchform input { flex: 1; }

/* 6. Page header, breadcrumbs, filters ------------------------------------- */
.akt-pagehead { padding: 1.75rem 0 1.25rem; }
.akt-pagehead--single { padding-top: 1.5rem; }
.akt-pagehead__row { display: flex; align-items: center; gap: .85rem; }
.akt-pagehead__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--akt-primary-tint); color: var(--akt-primary); flex: none; }
.akt-pagehead__title { margin: 0; }
.akt-pagehead__kicker { display: inline-flex; align-items: center; gap: .4rem; margin: 0 0 .5rem; color: var(--akt-primary); font-weight: 600; font-size: .875rem; text-decoration: none; text-transform: uppercase; letter-spacing: .04em; }
.akt-pagehead__intro { color: var(--akt-ink-soft); max-width: 70ch; margin-top: .75rem; font-size: 1.0625rem; }
.akt-pagehead__intro p:last-child { margin: 0; }
.akt-pagehead__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; color: var(--akt-ink-soft); font-size: .9rem; margin: .75rem 0 0; }
.akt-pagehead .akt-chips { margin-top: .85rem; }

.akt-crumbs ol { display: flex; flex-wrap: wrap; gap: .2rem .5rem; margin: 0 0 .85rem; padding: 0; list-style: none; font-size: .85rem; color: var(--akt-ink-soft); }
.akt-crumbs li + li::before { content: "›"; margin-right: .5rem; color: var(--akt-ink-faint); }
.akt-crumbs a { color: var(--akt-ink-soft); text-decoration: none; }
.akt-crumbs a:hover { color: var(--akt-primary); text-decoration: underline; }
.akt-crumbs [aria-current] { color: var(--akt-ink); max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.akt-filters { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; padding: .9rem; margin-bottom: 1.5rem; background: var(--akt-white); border: 1px solid var(--akt-line); border-radius: var(--akt-radius); box-shadow: var(--akt-shadow); }
.akt-filters__search { flex: 2 1 260px; }
.akt-filters__select { flex: 1 1 170px; }
.akt-filters .akt-btn { flex: 0 0 auto; }
@media (max-width: 560px) { .akt-filters .akt-btn { flex: 1 1 100%; } }

.akt-filters__search { position: relative; display: block; }
.akt-filters__search .akt-icon { position: absolute; left: .8rem; top: 50%; transform: translateY(-50%); color: var(--akt-ink-faint); }
.akt-filters__search input { padding-left: 2.4rem; }
.akt-filters__clear { font-size: .875rem; font-weight: 600; justify-self: start; }

.akt-pagination { margin: 2rem 0; }
.akt-pagination ul { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; justify-content: center; }
.akt-pagination a, .akt-pagination span { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; justify-content: center; padding: 0 .85rem; border: 1px solid var(--akt-line); border-radius: 10px; background: var(--akt-white); text-decoration: none; color: var(--akt-ink); font-weight: 500; }
.akt-pagination .current { background: var(--akt-primary); border-color: var(--akt-primary); color: #fff; }
.akt-pagination a:hover { border-color: var(--akt-primary); color: var(--akt-primary); }

/* 7. Lists, rows, cards, tiles --------------------------------------------- */
.akt-chips { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .35rem; }
.akt-chip { display: inline-flex; align-items: center; padding: .15rem .55rem; border: 1px solid var(--akt-line); border-radius: 999px; background: var(--akt-white); color: var(--akt-ink-soft); font-size: .78rem; font-weight: 500; line-height: 1.5; }
.akt-chip--code { background: var(--akt-primary-tint); border-color: transparent; color: var(--akt-primary-deep); font-weight: 700; letter-spacing: .02em; }
.akt-chip--date { color: var(--akt-ink); font-weight: 600; }
.akt-chip--new { background: var(--akt-accent); border-color: transparent; color: var(--akt-ink); font-weight: 700; }

.akt-rows { margin: 0; padding: 0; list-style: none; display: grid; gap: .6rem; }
.akt-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .85rem; align-items: center; padding: .85rem 1rem; background: var(--akt-white); border: 1px solid var(--akt-line); border-radius: var(--akt-radius); transition: border-color .15s, box-shadow .15s; }
.akt-row:hover { border-color: var(--akt-line-strong); box-shadow: var(--akt-shadow); }
.akt-row__icon { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--akt-primary-tint); color: var(--akt-primary); }
.akt-row--pyq .akt-row__icon { background: #ECFDF5; color: var(--akt-success); }
.akt-row--syllabus .akt-row__icon { background: #F5F3FF; color: #6D28D9; }
.akt-row--circulars .akt-row__icon { background: #FFF7ED; color: #C2410C; }
.akt-row__title { margin: 0; font-family: var(--akt-font-body); font-size: 1rem; font-weight: 600; line-height: 1.4; }
.akt-row__title a { color: var(--akt-ink); text-decoration: none; }
.akt-row__title a::after { content: ""; position: absolute; inset: 0; }
.akt-row { position: relative; }
.akt-row__action, .akt-row .akt-chips a { position: relative; z-index: 1; }
.akt-row:hover .akt-row__title a { color: var(--akt-primary); }
.akt-row__excerpt { margin: .35rem 0 0; color: var(--akt-ink-soft); font-size: .9rem; }
.akt-row__action { display: inline-flex; align-items: center; gap: .35rem; padding: .5rem .85rem; border-radius: 9px; background: var(--akt-primary); color: #fff; font-weight: 600; font-size: .875rem; text-decoration: none; }
.akt-row__action:hover { background: var(--akt-primary-deep); color: #fff; }
@media (max-width: 560px) {
	.akt-row { grid-template-columns: auto minmax(0, 1fr); }
	.akt-row__action { grid-column: 2; justify-self: start; }
	.akt-row__action span { display: inline; }
}
.akt-row--ad { padding: 0; border: 0; background: none; display: block; box-shadow: none !important; }

.akt-cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.akt-cards--3 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.akt-card { position: relative; display: flex; flex-direction: column; background: var(--akt-white); border: 1px solid var(--akt-line); border-radius: var(--akt-radius); overflow: hidden; transition: box-shadow .15s, border-color .15s; }
.akt-card:hover { box-shadow: var(--akt-shadow); border-color: var(--akt-line-strong); }
.akt-card__media { display: block; aspect-ratio: 16 / 9; background: var(--akt-primary-tint); overflow: hidden; }
.akt-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.akt-card__ph { display: grid; place-items: center; width: 100%; height: 100%; color: var(--akt-primary); opacity: .55; }
.akt-card__body { padding: 1rem 1.1rem 1.2rem; display: grid; gap: .4rem; }
.akt-card__cat { position: relative; z-index: 1; justify-self: start; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; text-decoration: none; }
.akt-card__title { margin: 0; font-size: 1.125rem; line-height: 1.35; }
.akt-card__title a { color: var(--akt-ink); text-decoration: none; }
.akt-card__title a::after { content: ""; position: absolute; inset: 0; }
.akt-card:hover .akt-card__title a { color: var(--akt-primary); }
.akt-card__excerpt { color: var(--akt-ink-soft); margin: 0; font-size: .95rem; }
.akt-card__meta { margin: 0; color: var(--akt-ink-faint); font-size: .8125rem; }
@media (min-width: 900px) {
	.akt-card--lead { grid-column: 1 / -1; flex-direction: row; }
	.akt-card--lead .akt-card__media { flex: 0 0 55%; aspect-ratio: auto; min-height: 280px; }
	.akt-card--lead .akt-card__body { align-content: center; padding: 1.5rem 2rem; }
	.akt-card--lead .akt-card__title { font-size: 1.6rem; }
}
.akt-cards__ad { grid-column: 1 / -1; }
.akt-cards--home { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

.akt-tiles { margin: 0; padding: 0; list-style: none; display: grid; gap: .85rem; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.akt-tiles a { display: grid; align-content: start; gap: .25rem; height: 100%; padding: 1.1rem; background: var(--akt-white); border: 1px solid var(--akt-line); border-radius: var(--akt-radius); text-decoration: none; color: var(--akt-ink); transition: border-color .15s, transform .15s, box-shadow .15s; }
.akt-tiles a:hover { border-color: var(--akt-primary); transform: translateY(-2px); box-shadow: var(--akt-shadow); }
.akt-tiles strong { font-size: 1rem; }
.akt-tiles span:not(.akt-tiles__icon) { color: var(--akt-ink-soft); font-size: .85rem; line-height: 1.45; }
.akt-tiles__icon { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: .35rem; border-radius: 11px; background: var(--akt-primary-tint); color: var(--akt-primary); }
.akt-tiles--tools { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

.akt-pills { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.akt-pills a { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .9rem; background: var(--akt-white); border: 1px solid var(--akt-line); border-radius: 999px; color: var(--akt-ink); text-decoration: none; font-size: .9rem; font-weight: 500; }
.akt-pills a:hover { border-color: var(--akt-primary); color: var(--akt-primary); }
.akt-pills a span { color: var(--akt-ink-faint); font-size: .8rem; }

.akt-mini { margin: 0; padding-left: 1.15rem; display: grid; gap: .5rem; font-size: .9375rem; }
.akt-mini a { color: var(--akt-ink); text-decoration: none; }
.akt-mini a:hover { color: var(--akt-primary); text-decoration: underline; }
.akt-mini--links { list-style: none; padding: 0; }

.akt-list { margin: 0 0 1.25rem; padding-left: 1.3rem; display: grid; gap: .4rem; }
.akt-muted { color: var(--akt-ink-soft); font-size: .9375rem; }
.akt-empty { padding: 1rem 1.15rem; color: var(--akt-ink-soft); border: 1.5px dashed var(--akt-line-strong); border-radius: var(--akt-radius); background: var(--akt-white); }
.akt-empty-state { padding: 2rem; text-align: center; background: var(--akt-white); border: 1px solid var(--akt-line); border-radius: var(--akt-radius); }
.akt-empty-state__actions { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin: 0; }
.akt-note { padding: .85rem 1.1rem; margin: 0 0 1.25rem; background: var(--akt-primary-tint); border-left: 4px solid var(--akt-primary); border-radius: 0 var(--akt-radius-sm) var(--akt-radius-sm) 0; font-size: .95rem; }
.akt-note--warn { background: #FFFBEB; border-left-color: var(--akt-warn); }
.akt-verified { display: flex; gap: .45rem; align-items: center; margin: 2rem 0 0; color: var(--akt-ink-soft); font-size: .875rem; }
.akt-verified .akt-icon { color: var(--akt-success); }
.akt-block { margin-top: 2.5rem; }
.akt-block__title { font-size: 1.3rem; }

/* Widgets */
.akt-widget { padding: 1.15rem; background: var(--akt-white); border: 1px solid var(--akt-line); border-radius: var(--akt-radius); }
.akt-widget__title { font-family: var(--akt-font-body); font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--akt-ink-soft); margin-bottom: .85rem; }
.akt-widget ul { margin: 0; padding-left: 1.1rem; }


/* Core widget blocks in the sidebar/footer */
.akt-widget .wp-block-search__label { display: block; margin-bottom: .5rem; font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--akt-ink-soft); }
.akt-widget .wp-block-search__inside-wrapper { display: flex; gap: .4rem; }
.akt-widget .wp-block-search__input { flex: 1; min-width: 0; min-height: 42px; padding: .5rem .75rem; border: 1.5px solid var(--akt-line-strong); border-radius: 10px; font: inherit; }
.akt-widget .wp-block-search__button { min-height: 42px; padding: 0 .9rem; border: 0; border-radius: 10px; background: var(--akt-primary); color: #fff; font-weight: 600; cursor: pointer; }
.akt-widget h2, .akt-widget .wp-block-heading { font-family: var(--akt-font-body); font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--akt-ink-soft); margin: 0 0 .75rem; }
.akt-widget .wp-block-latest-posts, .akt-widget .wp-block-latest-comments, .akt-widget .wp-block-archives, .akt-widget .wp-block-categories { margin: 0; padding-left: 1.1rem; display: grid; gap: .45rem; font-size: .9375rem; }
.akt-widget .wp-block-group { margin: 0; }
.akt-sidebar > *, .akt-widget * { min-width: 0; max-width: 100%; }
.akt-widget .wp-block-search__input { width: 100%; }
/* 8. Single pages ---------------------------------------------------------- */
.akt-prose { font-size: 1.0625rem; line-height: 1.75; }
.akt-prose > * { max-width: 72ch; }
.akt-prose > .alignwide, .akt-prose > .alignfull, .akt-prose > figure, .akt-prose > .wp-block-table, .akt-prose > .akt-ad, .akt-prose > .wp-block-image { max-width: none; }
.akt-prose h2 { margin-top: 2.2rem; }
.akt-prose h3 { margin-top: 1.75rem; }
.akt-prose ul, .akt-prose ol { padding-left: 1.4rem; margin: 0 0 1.25rem; }
.akt-prose li { margin-bottom: .35rem; }
.akt-prose blockquote { margin: 1.5rem 0; padding: .5rem 0 .5rem 1.25rem; border-left: 4px solid var(--akt-accent); color: var(--akt-ink-soft); font-style: italic; }
.akt-prose table, .akt-table { width: 100%; font-size: .95rem; }
.akt-prose th, .akt-prose td { padding: .6rem .75rem; border: 1px solid var(--akt-line); text-align: left; vertical-align: top; }
.akt-prose code { padding: .1rem .35rem; background: #F1F5F9; border-radius: 5px; font-size: .9em; }
.akt-prose pre { padding: 1rem; background: #0F172A; color: #E2E8F0; border-radius: var(--akt-radius-sm); overflow-x: auto; font-size: .875rem; }
.akt-prose pre code { background: none; padding: 0; }
.akt-feature { margin: 0 0 1.5rem; border-radius: var(--akt-radius); overflow: hidden; }
.akt-feature img { display: block; width: 100%; }
.akt-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1.5rem 0; }
.akt-tags a { padding: .2rem .65rem; border-radius: 999px; background: var(--akt-white); border: 1px solid var(--akt-line); font-size: .85rem; text-decoration: none; }

.akt-toc { padding: 1rem 1.15rem; background: var(--akt-white); border: 1px solid var(--akt-line); border-radius: var(--akt-radius); }
.akt-toc__title { margin: 0 0 .6rem; font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--akt-ink-soft); }
.akt-toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: .1rem; counter-reset: toc; }
.akt-toc a { display: block; padding: .35rem .6rem; border-left: 2px solid var(--akt-line); color: var(--akt-ink-soft); text-decoration: none; font-size: .9rem; line-height: 1.4; }
.akt-toc a:hover, .akt-toc a.is-active { color: var(--akt-primary); border-left-color: var(--akt-primary); background: var(--akt-primary-tint); }
.akt-toc-inline { margin: 0 0 1.75rem; }
.akt-toc-inline > summary { cursor: pointer; font-weight: 600; color: var(--akt-primary); margin-bottom: .6rem; }
.akt-toc-inline .akt-toc__title { display: none; }

.akt-download { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; justify-content: space-between; padding: 1.25rem; margin: .5rem 0 2rem; background: var(--akt-white); border: 1px solid var(--akt-line); border-left: 4px solid var(--akt-primary); border-radius: var(--akt-radius); box-shadow: var(--akt-shadow); }
.akt-download__file { display: flex; gap: .85rem; align-items: center; }
.akt-download__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--akt-primary-tint); color: var(--akt-primary); }
.akt-download__type { margin: 0; font-weight: 700; }
.akt-download__meta { margin: 0; color: var(--akt-ink-soft); font-size: .875rem; }
.akt-download__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
@media (max-width: 560px) { .akt-download__actions, .akt-download__actions .akt-btn { width: 100%; } }
.akt-preview { margin: 1.5rem 0; background: var(--akt-white); border: 1px solid var(--akt-line); border-radius: var(--akt-radius); overflow: hidden; }
.akt-preview summary { display: flex; align-items: center; gap: .5rem; padding: .9rem 1.1rem; font-weight: 600; cursor: pointer; color: var(--akt-primary); }
.akt-preview iframe { display: block; width: 100%; height: min(80vh, 900px); border: 0; border-top: 1px solid var(--akt-line); }

.akt-share { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 2rem 0; padding: 1rem 0; border-top: 1px solid var(--akt-line); border-bottom: 1px solid var(--akt-line); }
.akt-share__label { font-weight: 600; font-size: .9rem; margin-right: .25rem; }
.akt-share__btn { display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .8rem; border: 1px solid var(--akt-line); border-radius: 999px; background: var(--akt-white); color: var(--akt-ink); font-size: .875rem; font-weight: 500; text-decoration: none; cursor: pointer; }
.akt-share__btn:hover { border-color: var(--akt-primary); color: var(--akt-primary); }
.akt-share__btn--wa .akt-icon { color: #16A34A; }
.akt-share__btn--tg .akt-icon { color: #0284C7; }
.akt-share__btn.is-copied { border-color: var(--akt-success); color: var(--akt-success); }

.akt-promo { padding: 1.25rem; background: linear-gradient(160deg, var(--akt-ink), color-mix(in srgb, var(--akt-ink) 75%, var(--akt-primary))); color: #E2E8F0; border-radius: var(--akt-radius); }
.akt-promo__kicker { display: flex; align-items: center; gap: .4rem; margin: 0 0 .5rem; color: var(--akt-accent); font-weight: 700; font-size: .8125rem; text-transform: uppercase; letter-spacing: .06em; }
.akt-promo__title { margin: 0 0 .75rem; color: #fff; font-family: var(--akt-font-heading); font-size: 1.2rem; font-weight: 700; line-height: 1.35; }
.akt-promo__list { margin: 0 0 1rem; padding: 0; list-style: none; display: grid; gap: .35rem; font-size: .9rem; }
.akt-promo__list li { display: flex; gap: .45rem; align-items: center; }
.akt-promo__list .akt-icon { color: var(--akt-accent); }
.akt-promo--wide { margin: 2rem 0; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.akt-promo--wide .akt-promo__title { margin: 0; flex: 1 1 280px; }

.akt-prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin: 2.5rem 0 0; }
.akt-prevnext a { display: grid; gap: .2rem; padding: .9rem 1.1rem; background: var(--akt-white); border: 1px solid var(--akt-line); border-radius: var(--akt-radius); text-decoration: none; color: var(--akt-ink); font-weight: 600; line-height: 1.35; }
.akt-prevnext a:hover { border-color: var(--akt-primary); color: var(--akt-primary); }
.akt-prevnext span { color: var(--akt-ink-faint); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.akt-prevnext__next { text-align: right; }

.akt-comments { margin-top: 3rem; }
.akt-comments__list { padding-left: 1.2rem; }
.comment-body { padding: 1rem; margin-bottom: 1rem; background: var(--akt-white); border: 1px solid var(--akt-line); border-radius: var(--akt-radius); }
.comment-form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .25rem; }
.comment-form p { margin-bottom: 1rem; }

/* 9. AKTU 2026 course pages ------------------------------------------------ */
.akt-course > h2 { margin-top: 2.25rem; padding-top: .25rem; }
.akt-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 1px; margin: 0 0 1.5rem; padding: 0; background: var(--akt-line); border: 1px solid var(--akt-line); border-radius: var(--akt-radius); overflow: hidden; }
.akt-facts > div { padding: .8rem 1rem; background: var(--akt-white); }
.akt-facts dt { margin: 0; color: var(--akt-ink-faint); font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.akt-facts dd { margin: .2rem 0 0; font-weight: 600; line-height: 1.4; }
.akt-units { margin: 0; padding: 0; list-style: none; display: grid; gap: .75rem; }
.akt-unit { padding: 1rem 1.15rem; background: var(--akt-white); border: 1px solid var(--akt-line); border-radius: var(--akt-radius); }
.akt-unit:hover { border-color: var(--akt-line-strong); }
.akt-unit__no { margin: 0 0 .2rem; color: var(--akt-primary); font-weight: 700; font-size: .8125rem; text-transform: uppercase; letter-spacing: .05em; }
.akt-unit__no span { margin-left: .4rem; padding: .05rem .5rem; border-radius: 999px; background: var(--akt-primary-tint); color: var(--akt-primary-deep); }
.akt-unit__title { margin: 0 0 .4rem; font-size: 1.15rem; }
.akt-unit__title a { color: var(--akt-ink); text-decoration: none; }
.akt-unit__title a:hover { color: var(--akt-primary); text-decoration: underline; }
.akt-unit__topics { margin: 0; color: var(--akt-ink-soft); font-size: .925rem; line-height: 1.55; }
.akt-unit__foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin: .7rem 0 0; font-size: .85rem; color: var(--akt-ink-faint); }
.akt-unit__foot a { display: inline-flex; align-items: center; gap: .3rem; font-weight: 600; text-decoration: none; }
.akt-table-wrap { overflow-x: auto; margin: 0 0 1.5rem; background: var(--akt-white); border: 1px solid var(--akt-line); border-radius: var(--akt-radius); -webkit-overflow-scrolling: touch; }
.akt-table th, .akt-table td { padding: .65rem .85rem; border-bottom: 1px solid var(--akt-line); text-align: left; vertical-align: top; }
.akt-table thead th { background: var(--akt-paper); font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; color: var(--akt-ink-soft); }
.akt-table tbody tr:last-child td { border-bottom: 0; }
.akt-checklist { margin: 0 0 1.25rem; padding: 0; list-style: none; display: grid; gap: .4rem; }
.akt-checklist label { display: flex; gap: .65rem; align-items: flex-start; padding: .6rem .85rem; background: var(--akt-white); border: 1px solid var(--akt-line); border-radius: var(--akt-radius-sm); cursor: pointer; }
.akt-checklist input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--akt-success); flex: none; }
.akt-checklist input:checked + span { color: var(--akt-ink-soft); text-decoration: line-through; text-decoration-color: var(--akt-ink-faint); }
.akt-list--apps li::marker { color: var(--akt-success); }

.akt-streams { margin: 0; padding: 0; list-style: none; display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.akt-streams a { display: grid; align-content: start; gap: .2rem; height: 100%; padding: 1rem 1.1rem; background: var(--akt-white); border: 1px solid var(--akt-line); border-radius: var(--akt-radius); text-decoration: none; color: var(--akt-ink); transition: border-color .15s, transform .15s; }
.akt-streams a:hover { border-color: var(--akt-primary); transform: translateY(-2px); }
.akt-streams__code { justify-self: start; padding: .05rem .5rem; border-radius: 6px; background: var(--akt-primary); color: #fff; font-weight: 800; font-size: .8rem; letter-spacing: .03em; }
.akt-streams__name { font-weight: 700; }
.akt-streams__br { color: var(--akt-ink-soft); font-size: .85rem; line-height: 1.45; }
.akt-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .75rem; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.akt-stats li { padding: 1rem; background: var(--akt-white); border: 1px solid var(--akt-line); border-radius: var(--akt-radius); color: var(--akt-ink-soft); font-size: .9rem; }
.akt-stats strong { display: block; color: var(--akt-primary-deep); font-family: var(--akt-font-heading); font-size: 2.1rem; line-height: 1.1; }

.akt-finder { padding: 1.15rem; background: var(--akt-white); border: 1px solid var(--akt-line); border-radius: var(--akt-radius); box-shadow: var(--akt-shadow); margin-bottom: 1.5rem; }
.akt-finder__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .75rem; }
.akt-finder label { display: grid; gap: .35rem; font-weight: 600; font-size: .875rem; color: var(--akt-ink-soft); }
.akt-finder__pairs { margin-top: 1rem; }
.akt-finder__pairs summary { cursor: pointer; font-weight: 600; color: var(--akt-primary); }
.akt-pair { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; margin: .4rem 0 0; padding: 0; border: 0; }
.akt-pair label { display: block; font-weight: 500; }
.akt-pair input { position: absolute; opacity: 0; }
.akt-pair span { display: block; height: 100%; padding: .5rem .7rem; border: 1.5px solid var(--akt-line); border-radius: var(--akt-radius-sm); cursor: pointer; font-size: .875rem; color: var(--akt-ink); }
.akt-pair input:checked + span { border-color: var(--akt-primary); background: var(--akt-primary-tint); font-weight: 700; }
.akt-pair input:focus-visible + span { outline: 3px solid var(--akt-primary); outline-offset: 2px; }
.akt-finder__out { display: block; margin-top: 1rem; }
.akt-finder__sum { margin: 0 0 .5rem; font-weight: 700; }
.akt-finder__list { margin: 0; padding: 0; list-style: none; display: grid; gap: .35rem; }
.akt-finder__list li { display: grid; grid-template-columns: auto 1fr auto; gap: .6rem; align-items: center; padding: .5rem .7rem; border: 1px solid var(--akt-line); border-radius: var(--akt-radius-sm); font-size: .9375rem; }
@media (max-width: 520px) { .akt-finder__list li { grid-template-columns: 1fr auto; } .akt-finder__list .akt-chip { grid-column: 1 / -1; justify-self: start; } }

/* 10. Home ----------------------------------------------------------------- */
.akt-hero { position: relative; overflow: hidden; padding: clamp(2.5rem, 7vw, 4.5rem) 0 clamp(2rem, 5vw, 3rem); background: radial-gradient(1200px 400px at 85% -10%, color-mix(in srgb, var(--akt-primary) 40%, transparent), transparent 70%), linear-gradient(180deg, var(--akt-ink), color-mix(in srgb, var(--akt-ink) 82%, var(--akt-primary))); color: #E2E8F0; }
.akt-hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 32px 32px; pointer-events: none; }
.akt-hero__inner { position: relative; z-index: 1; text-align: center; }
.akt-hero__title { color: #fff; font-size: clamp(1.9rem, 4.6vw, 3.1rem); max-width: 22ch; margin: 0 auto .75rem; }
.akt-hero__lead { max-width: 62ch; margin: 0 auto 1.75rem; font-size: clamp(1rem, 1.6vw, 1.15rem); color: #CBD5E1; }
.akt-hero__search { display: flex; align-items: center; gap: .5rem; max-width: 680px; margin: 0 auto; padding: .4rem .4rem .4rem 1rem; background: #fff; border-radius: 14px; box-shadow: 0 10px 40px rgba(0, 0, 0, .25); color: var(--akt-ink-faint); }
.akt-hero__search input { flex: 1; min-width: 0; height: 48px; border: 0; outline: 0; background: none; font-size: 1.0625rem; color: var(--akt-ink); }
.akt-hero__popular { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin: 1rem 0 0; font-size: .875rem; }
.akt-hero__popular span { color: #94A3B8; margin-right: .25rem; }
.akt-hero__popular a { padding: .25rem .7rem; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; color: #E2E8F0; text-decoration: none; }
.akt-hero__popular a:hover { border-color: var(--akt-accent); color: #fff; }
.akt-hero__finder { max-width: 880px; margin: 2rem auto 0; padding: 1rem 1.15rem 1.15rem; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; text-align: left; }
.akt-hero__finder-title { margin: 0 0 .65rem; font-size: .875rem; font-weight: 600; color: #CBD5E1; }
.akt-quickfind { display: grid; gap: .6rem; grid-template-columns: 1fr; align-items: end; }
@media (min-width: 760px) { .akt-quickfind { grid-template-columns: 1fr 1.4fr 1fr auto; } }
.akt-hero .akt-field { color: #CBD5E1; }
.akt-hero .akt-select { border-color: transparent; }

.akt-section { padding: clamp(2rem, 5vw, 3.25rem) 0; }
.akt-section--tight { padding-top: 1.75rem; padding-bottom: 1rem; }
.akt-section__title { display: flex; align-items: center; gap: .5rem; margin-bottom: .5rem; }
.akt-section__title--sm { font-size: 1.25rem; margin-bottom: 1rem; }
.akt-section__lead { color: var(--akt-ink-soft); max-width: 68ch; margin-bottom: 1.5rem; }
.akt-section__sub { font-family: var(--akt-font-body); font-size: 1rem; font-weight: 700; margin: 1.75rem 0 .75rem; color: var(--akt-ink-soft); }
.akt-section__more { margin: 1.25rem 0 0; font-weight: 600; }
.akt-section__more a { text-decoration: none; }
.akt-kicker { display: inline-flex; align-items: center; gap: .35rem; margin: 0 0 .5rem; padding: .2rem .65rem; border-radius: 999px; background: var(--akt-accent-tint); color: #92400E; font-size: .8125rem; font-weight: 700; }
.akt-kicker--gold { background: rgba(245, 158, 11, .15); color: var(--akt-accent); }
.akt-band-soft { position: relative; }
.akt-band-soft::before { content: ""; position: absolute; inset: 0 calc(50% - 50vw); background: linear-gradient(180deg, var(--akt-primary-tint), transparent); z-index: -1; }
.akt-split { display: grid; gap: 2rem; }
@media (min-width: 960px) { .akt-split { grid-template-columns: 1fr 1fr; } }
.akt-sems { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 720px) { .akt-sems { grid-template-columns: repeat(8, 1fr); } }
.akt-sems a { display: grid; justify-items: center; gap: .1rem; padding: .85rem .5rem; background: var(--akt-white); border: 1px solid var(--akt-line); border-radius: var(--akt-radius); text-decoration: none; color: var(--akt-ink-soft); font-size: .78rem; }
.akt-sems a span { font-family: var(--akt-font-heading); font-size: 1.6rem; font-weight: 700; color: var(--akt-ink); line-height: 1.1; }
.akt-sems a:hover { border-color: var(--akt-primary); }
.akt-sems a:hover span { color: var(--akt-primary); }
.akt-faq { display: grid; gap: .6rem; }
.akt-faq details { background: var(--akt-white); border: 1px solid var(--akt-line); border-radius: var(--akt-radius); }
.akt-faq summary { position: relative; padding: 1rem 3rem 1rem 1.15rem; font-weight: 600; cursor: pointer; list-style: none; }
.akt-faq summary::-webkit-details-marker { display: none; }
.akt-faq summary::after { content: "+"; position: absolute; right: 1.15rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--akt-primary); font-weight: 400; }
.akt-faq details[open] summary::after { content: "–"; }
.akt-faq p { margin: 0; padding: 0 1.15rem 1.1rem; color: var(--akt-ink-soft); }

/* 11. Premium -------------------------------------------------------------- */
.akt-pband { margin: 1rem 0 0; padding: clamp(2.5rem, 6vw, 4rem) 0; background: linear-gradient(135deg, var(--akt-ink), color-mix(in srgb, var(--akt-ink) 70%, var(--akt-primary))); color: #CBD5E1; }
.akt-pband__inner { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .akt-pband__inner { grid-template-columns: 1.2fr 1fr; } }
.akt-pband h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.akt-pband ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .5rem; }
.akt-pband li { display: flex; gap: .5rem; align-items: center; }
.akt-pband li .akt-icon { color: var(--akt-accent); }
.akt-pband__plans { display: grid; gap: .6rem; }
.akt-pband__plan { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name price" "per price"; align-items: center; padding: .85rem 1.1rem; border: 1px solid rgba(255, 255, 255, .15); border-radius: var(--akt-radius); background: rgba(255, 255, 255, .05); color: #fff; text-decoration: none; }
.akt-pband__plan span { grid-area: name; font-weight: 600; }
.akt-pband__plan em { grid-area: per; font-style: normal; color: #94A3B8; font-size: .85rem; }
.akt-pband__plan strong { grid-area: price; font-family: var(--akt-font-heading); font-size: 1.6rem; color: #fff; }
.akt-pband__plan.is-featured { border-color: var(--akt-accent); background: rgba(245, 158, 11, .1); }
.akt-pband__plan:hover { border-color: var(--akt-accent); color: #fff; }

.akt-phero { padding: clamp(2rem, 6vw, 3.5rem) 0; background: linear-gradient(160deg, var(--akt-ink), color-mix(in srgb, var(--akt-ink) 72%, var(--akt-primary))); color: #CBD5E1; }
.akt-phero .akt-crumbs a, .akt-phero .akt-crumbs ol, .akt-phero .akt-crumbs [aria-current] { color: #94A3B8; }
.akt-phero__kicker { display: inline-flex; align-items: center; gap: .4rem; margin: .5rem 0; color: var(--akt-accent); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; }
.akt-phero__title { color: #fff; font-size: clamp(2rem, 5vw, 3rem); max-width: 18ch; }
.akt-phero__lead { max-width: 60ch; font-size: 1.15rem; }
.akt-phero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0; }
.akt-phero__trust { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: 0; padding: 0; list-style: none; font-size: .9rem; }
.akt-phero__trust li { display: flex; gap: .35rem; align-items: center; }
.akt-phero__trust .akt-icon { color: var(--akt-accent); }
.akt-premium-intro { margin-top: 2rem; }
.akt-features { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin: 1.5rem 0 0; padding: 0; list-style: none; }
.akt-features li { padding: 1.25rem; background: var(--akt-white); border: 1px solid var(--akt-line); border-radius: var(--akt-radius); }
.akt-features h3 { margin: .65rem 0 .35rem; font-size: 1.1rem; }
.akt-features p { margin: 0; color: var(--akt-ink-soft); font-size: .95rem; }
.akt-features__icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--akt-accent-tint); color: #B45309; }
.akt-plans { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); align-items: stretch; }
.akt-plan { position: relative; display: flex; flex-direction: column; padding: 1.5rem; background: var(--akt-white); border: 1.5px solid var(--akt-line); border-radius: 16px; }
.akt-plan--featured { border-color: var(--akt-accent); box-shadow: 0 12px 40px rgba(245, 158, 11, .18); }
.akt-plan__flag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); margin: 0; padding: .2rem .8rem; border-radius: 999px; background: var(--akt-accent); color: var(--akt-ink); font-size: .78rem; font-weight: 700; white-space: nowrap; }
.akt-plan__name { margin: 0 0 .4rem; font-family: var(--akt-font-body); font-size: 1.05rem; color: var(--akt-ink-soft); }
.akt-plan__price { margin: 0; }
.akt-plan__amount { font-family: var(--akt-font-heading); font-size: 2.6rem; font-weight: 700; color: var(--akt-ink); line-height: 1; }
.akt-plan__period { color: var(--akt-ink-soft); }
.akt-plan__was { margin: .35rem 0 0; color: var(--akt-ink-faint); font-size: .9rem; }
.akt-plan__badge { margin-left: .3rem; padding: .1rem .45rem; border-radius: 6px; background: #ECFDF5; color: var(--akt-success); font-weight: 700; }
.akt-plan__note { margin: .75rem 0 0; color: var(--akt-ink-soft); font-size: .95rem; }
.akt-plan__list { flex: 1; margin: 1rem 0 1.25rem; padding: 0; list-style: none; display: grid; gap: .45rem; align-content: start; font-size: .95rem; }
.akt-plan__list li { display: flex; gap: .45rem; align-items: flex-start; }
.akt-plan__list .akt-icon { color: var(--akt-success); margin-top: .2rem; }
.akt-plans__foot { margin: 1.25rem 0 0; color: var(--akt-ink-soft); font-size: .9rem; text-align: center; }
.akt-compare td.is-yes { color: var(--akt-success); }
.akt-compare td.is-no { color: var(--akt-ink-faint); }
.akt-compare td:not(:first-child), .akt-compare th:not(:first-child) { text-align: center; }
.akt-steps { counter-reset: step; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 1.5rem 0 0; padding: 0; list-style: none; }
.akt-steps li { counter-increment: step; display: grid; gap: .3rem; padding: 1.25rem; background: var(--akt-white); border: 1px solid var(--akt-line); border-radius: var(--akt-radius); }
.akt-steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--akt-primary); color: #fff; font-weight: 700; margin-bottom: .35rem; }
.akt-steps span { color: var(--akt-ink-soft); font-size: .95rem; }
.akt-cta { margin: 2rem 0; padding: 2.5rem 1.5rem; text-align: center; background: var(--akt-accent-tint); border-radius: 18px; }
.akt-cta h2 { margin-bottom: 1rem; }

/* 12. Ads (native style, always labelled) ---------------------------------- */
.akt-ad { position: relative; margin: 1.5rem 0; min-height: var(--akt-ad-hm, 90px); }
@media (min-width: 768px) { .akt-ad { min-height: var(--akt-ad-h, 90px); } }
.akt-ad__label { display: block; margin: 0 0 .3rem; color: var(--akt-ink-faint); font-size: .6875rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.akt-ad__inner { min-width: 0; }
.akt-ad--live .akt-ad__inner { display: flex; justify-content: center; }
.akt-slot .akt-ad, .akt-row--ad .akt-ad, .akt-sidebar .akt-ad { margin: 0; }
.akt-ad__link { display: grid; gap: .25rem; text-decoration: none; color: var(--akt-ink); background: var(--akt-white); border: 1px solid var(--akt-line); border-radius: var(--akt-radius); transition: border-color .15s, box-shadow .15s; }
.akt-ad__link:hover { border-color: var(--akt-line-strong); box-shadow: var(--akt-shadow); color: var(--akt-ink); }
.akt-ad__link strong { font-weight: 600; line-height: 1.4; }
.akt-ad__link span { color: var(--akt-ink-soft); font-size: .9rem; }
.akt-ad__mark { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; color: #fff; font-weight: 800; font-size: 1.05rem; flex: none; }
.akt-ad__mark--blue { background: #2563EB; }
.akt-ad__mark--green { background: #059669; }
.akt-ad__mark--violet { background: #7C3AED; }
.akt-ad__mark--gold { background: var(--akt-accent); color: var(--akt-ink); }
.akt-ad__cta { justify-self: start; padding: .4rem .8rem; border-radius: 8px; background: var(--akt-paper); border: 1px solid var(--akt-line); color: var(--akt-primary) !important; font-weight: 600; font-size: .85rem !important; white-space: nowrap; }
.akt-ad__row { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .85rem; padding: .85rem 1rem; }
.akt-ad__body { display: grid; gap: .15rem; min-width: 0; }
@media (max-width: 560px) { .akt-ad__row { grid-template-columns: auto minmax(0, 1fr); } .akt-ad__row .akt-ad__cta { grid-column: 2; } }
.akt-ad__banner { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding: .8rem 1.1rem; min-height: inherit; }
.akt-ad__card, .akt-ad__inline { gap: .5rem; padding: 1.1rem 1.15rem; }
.akt-ad__brandline { display: flex; align-items: center; gap: .55rem; font-size: .85rem !important; font-weight: 600; color: var(--akt-ink-soft) !important; }
.akt-ad__brandline .akt-ad__mark { width: 30px; height: 30px; font-size: .85rem; border-radius: 8px; }
.akt-ad__inline strong { font-family: var(--akt-font-heading); font-size: 1.15rem; }
.akt-ad__admin { display: block; margin-top: .3rem; color: var(--akt-warn); font-size: .75rem; font-style: italic; }
.akt-prose .akt-ad { margin: 2rem 0; }

/* 13. Tools ---------------------------------------------------------------- */
.akt-jump { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.75rem; }
.akt-jump a { padding: .45rem .9rem; border: 1px solid var(--akt-line); border-radius: 999px; background: var(--akt-white); color: var(--akt-ink); text-decoration: none; font-size: .9rem; font-weight: 600; }
.akt-jump a:hover { border-color: var(--akt-primary); color: var(--akt-primary); }
.akt-tooltabs a { display: inline-flex; align-items: center; gap: .4rem; }
.akt-tooltabs a .akt-icon { color: var(--akt-primary); }
.akt-toolhead__badges { display: flex; flex-wrap: wrap; gap: .5rem; margin: .85rem 0 0; }
.akt-toolhead__badges span { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .7rem; border-radius: 999px; background: var(--akt-white); border: 1px solid var(--akt-line); color: var(--akt-ink-soft); font-size: .8125rem; font-weight: 600; }
.akt-toolhead__badges .akt-icon { color: var(--akt-success); }
.akt-tools { display: grid; gap: 1.5rem; }
.akt-calc { padding: clamp(1.1rem, 3vw, 1.75rem); background: var(--akt-white); border: 1px solid var(--akt-line); border-radius: 16px; box-shadow: var(--akt-shadow); }
.akt-calc__head { display: flex; gap: .85rem; align-items: flex-start; margin-bottom: 1.15rem; }
.akt-calc__head h2 { margin: 0 0 .2rem; font-size: 1.35rem; }
.akt-calc__head p { margin: 0; color: var(--akt-ink-soft); font-size: .95rem; }
.akt-calc__icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--akt-primary-tint); color: var(--akt-primary); flex: none; }
.akt-calc__grid { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin: .75rem 0; }
.akt-calc__rows { display: grid; gap: .5rem; margin: 1rem 0; }
.akt-calc__row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.2fr) 40px; gap: .5rem; align-items: center; }
.akt-calc__row--sem { grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1fr) 40px; }
.akt-calc__sem { font-weight: 700; font-size: .9rem; color: var(--akt-ink-soft); }
.akt-calc__remove { width: 40px; height: 40px; border: 1px solid var(--akt-line); border-radius: 10px; background: var(--akt-white); color: var(--akt-ink-faint); font-size: 1.25rem; cursor: pointer; }
.akt-calc__remove:hover { color: var(--akt-danger); border-color: var(--akt-danger); }
@media (max-width: 560px) { .akt-calc__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 40px; } .akt-calc__row [data-name] { grid-column: 1 / -1; } }
.akt-calc__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .6rem; margin-top: 1rem; }
.akt-calc__result { display: none; margin-top: 1.25rem; padding: 1.1rem 1.25rem; border-radius: var(--akt-radius); background: var(--akt-paper); border-left: 4px solid var(--akt-primary); }
.akt-calc__result.is-visible { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.akt-calc__result.is-good { border-left-color: var(--akt-success); }
.akt-calc__result.is-warn { border-left-color: var(--akt-accent); }
.akt-stat { display: grid; }
.akt-stat strong { font-family: var(--akt-font-heading); font-size: 2rem; line-height: 1.1; }
.akt-stat span { color: var(--akt-ink-soft); font-size: .85rem; }
.akt-stat--wide { flex-basis: 100%; }
.akt-stat--wide strong { font-size: 1.3rem; }
.akt-calc__note { flex-basis: 100%; margin: 0; color: var(--akt-ink-soft); font-size: .9rem; }
.akt-calc__preset, .akt-calc__help { margin: 1rem 0; padding: .8rem 1rem; border: 1.5px dashed var(--akt-line-strong); border-radius: var(--akt-radius); }
.akt-calc__preset[open], .akt-calc__help[open] { border-style: solid; }
.akt-calc__preset summary, .akt-calc__help summary { cursor: pointer; font-weight: 600; color: var(--akt-primary); }
.akt-ap { display: grid; gap: .6rem; margin: 1rem 0; }
.akt-ap__row { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.6fr) repeat(3, minmax(0, .6fr)) auto auto auto; gap: .5rem; align-items: end; padding: .7rem; border: 1px solid var(--akt-line); border-radius: var(--akt-radius); }
.akt-ap__row label { display: grid; gap: .25rem; font-size: .78rem; font-weight: 600; color: var(--akt-ink-soft); }
.akt-ap__check { display: flex !important; align-items: center; gap: .35rem; padding-bottom: .7rem; }
.akt-ap__check input { width: 18px; height: 18px; min-height: 0; accent-color: var(--akt-primary); }
.akt-ap__pts { padding-bottom: .6rem; font-family: var(--akt-font-heading); font-size: 1.35rem; font-weight: 700; color: var(--akt-success); min-width: 2ch; text-align: right; }
.akt-ap__pts.is-zero { color: var(--akt-danger); }
@media (max-width: 860px) { .akt-ap__row { grid-template-columns: repeat(3, minmax(0, 1fr)); } .akt-ap__row label:nth-of-type(1), .akt-ap__row label:nth-of-type(2) { grid-column: 1 / -1; } }
.akt-tools-page { padding-bottom: 2rem; }

/* 14. Footer & bottom bar -------------------------------------------------- */
/* Desktop/tablet: dark footer, brand | three link columns | Premium card. */
.akt-footer { margin-top: 2rem; padding: 3rem 0 0; background: var(--akt-ink); color: #94A3B8; font-size: .9375rem; }
.akt-footer__grid { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .akt-footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .akt-footer__groups { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .akt-footer__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 3fr) minmax(0, 1.15fr); } .akt-footer__groups { grid-column: auto; } }
.akt-footer__logo { display: inline-flex; align-items: center; gap: .55rem; margin-bottom: .75rem; color: #fff; font-family: var(--akt-font-heading); font-size: 1.35rem; font-weight: 700; text-decoration: none; }
.akt-footer__mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--akt-primary); color: #fff; }
.akt-footer__about { margin: 0 0 1rem; max-width: 46ch; line-height: 1.6; }
.akt-footer h2 { margin: 0; color: #fff; font-family: var(--akt-font-body); font-size: .8125rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.akt-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .55rem; }
.akt-footer a { color: #CBD5E1; text-decoration: none; }
.akt-footer a:hover { color: #fff; text-decoration: underline; }
.akt-footer__mail { display: flex; align-items: center; gap: .4rem; margin: 0; }
.akt-social { display: flex !important; gap: .5rem !important; margin: 0 0 1rem !important; }
.akt-social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(255, 255, 255, .07); }
.akt-social a:hover { background: rgba(255, 255, 255, .14); }

.akt-footer__groups { display: grid; gap: 1.5rem 2rem; grid-template-columns: repeat(3, minmax(0, 1fr)); align-content: start; }
.akt-fgroup summary { display: flex; align-items: center; justify-content: space-between; margin-bottom: .85rem; list-style: none; cursor: default; pointer-events: none; }
.akt-fgroup summary::-webkit-details-marker { display: none; }
.akt-fgroup summary .akt-icon { display: none; }

.akt-footer__premium { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .35rem .85rem; align-content: start; padding: 1.15rem; border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--akt-radius); background: rgba(255, 255, 255, .04); text-decoration: none !important; }
.akt-footer__premium:hover { border-color: var(--akt-accent); background: rgba(245, 158, 11, .08); }
.akt-footer__premium-ic { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(245, 158, 11, .15); color: var(--akt-accent); }
.akt-footer__premium-text strong { display: block; color: #fff; font-weight: 700; }
.akt-footer__premium-text small { display: block; margin-top: .2rem; color: #94A3B8; font-size: .875rem; line-height: 1.5; }
.akt-footer__premium-cta { grid-column: 1 / -1; display: inline-flex; align-items: center; justify-content: center; gap: .25rem; margin-top: .6rem; min-height: 40px; border-radius: 10px; background: var(--akt-accent); color: var(--akt-ink); font-weight: 700; font-size: .9rem; }

.akt-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; margin-top: 2.5rem; padding-top: 1.25rem; padding-bottom: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .8125rem; }
.akt-footer__base p { margin: 0; max-width: 80ch; }
.akt-footer__copy { color: #CBD5E1; }
.akt-footer .akt-widget { background: none; border: 0; padding: 0; }

.akt-bottombar { display: none; }
@media (max-width: 767px) {
	.akt-bottombar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; border-top: 1px solid var(--akt-line); box-shadow: 0 -4px 20px rgba(15, 31, 61, .08); padding-bottom: env(safe-area-inset-bottom, 0); }
	.akt-bottombar a, .akt-bottombar button { display: grid; justify-items: center; gap: .1rem; padding: .5rem 0 .45rem; border: 0; background: none; color: var(--akt-ink-soft); font-size: .7rem; font-weight: 600; text-decoration: none; cursor: pointer; }
	.akt-bottombar [aria-current="page"] { color: var(--akt-primary); }
	.akt-bottombar__premium { color: #B45309 !important; }
	body { padding-bottom: calc(60px + env(safe-area-inset-bottom, 0)); }
}

/* 15. WordPress core ------------------------------------------------------- */
.alignwide { max-width: var(--akt-wrap); }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.alignleft { float: left; margin: .3rem 1.25rem 1rem 0; }
.alignright { float: right; margin: .3rem 0 1rem 1.25rem; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption, .wp-block-image figcaption, figcaption { color: var(--akt-ink-soft); font-size: .875rem; text-align: center; }
.wp-block-image img { border-radius: var(--akt-radius-sm); }
.gallery { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.sticky .akt-card__title a::before { content: "★ "; color: var(--akt-accent); }
.bypostauthor > .comment-body { border-color: var(--akt-primary); }
.wp-block-button__link { border-radius: 10px; }
.akt-fullwidth { padding-top: 0; }
.page-links { margin: 1.5rem 0; font-weight: 600; }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }

/* 16. Utilities ------------------------------------------------------------ */
.akt-404 { padding: 3rem 0; text-align: center; }
.akt-404__code { margin: 0; font-family: var(--akt-font-heading); font-size: 5rem; font-weight: 700; color: var(--akt-primary); line-height: 1; }
.akt-404 .akt-searchform { margin: 1.5rem auto; }
.akt-404 .akt-tiles { margin-top: 2rem; }
/* 17. Phones --------------------------------------------------------------- */
.akt-prose .wp-block-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 767px) {
	:root { --akt-header-h: 58px; }
	body { font-size: 16px; }
	.akt-header__bar { gap: .75rem; }
	.akt-brand__name { font-size: 1.2rem; }
	.akt-brand__mark { width: 30px; height: 30px; }
	.akt-brand .custom-logo { max-height: 38px; }
	.akt-notice { font-size: .8125rem; }
	.akt-notice__inner { justify-content: space-between; gap: .5rem; padding-block: .4rem; }
	.akt-notice p { text-align: left; line-height: 1.45; }
	/* Long words (codes, URLs) never push the page sideways. */
	.akt-prose, .akt-row__title, .akt-card__title, .akt-pagehead__title, .akt-unit__title { overflow-wrap: anywhere; }
	.akt-prose table:not(.akt-table) { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
	.akt-prose iframe, .akt-prose embed, .akt-prose object { max-width: 100%; }
	.alignleft, .alignright { float: none; margin: 1rem auto; }
	.akt-pagehead { padding: 1.25rem 0 1rem; }
	.akt-pagehead__icon { width: 42px; height: 42px; }
	.akt-pagehead__intro { font-size: 1rem; }
	.akt-crumbs [aria-current] { max-width: 24ch; }
	.akt-hero { padding: 2rem 0 1.75rem; }
	.akt-hero__lead { font-size: 1rem; margin-bottom: 1.25rem; }
	.akt-hero__search { padding: .3rem .3rem .3rem .85rem; gap: .35rem; }
	.akt-hero__search input { height: 46px; font-size: 1rem; }
	.akt-hero__search .akt-btn { padding-inline: .95rem; }
	.akt-hero__finder { margin-top: 1.5rem; padding: .9rem; }
	.akt-section { padding: 1.75rem 0; }
	.akt-cards, .akt-cards--home, .akt-cards--3 { grid-template-columns: minmax(0, 1fr); }
	.akt-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
	.akt-tiles a { padding: .9rem; }
	.akt-tiles--tools, .akt-streams, .akt-features, .akt-steps, .akt-plans { grid-template-columns: minmax(0, 1fr); }
	.akt-plans { gap: 1.5rem; }
	.akt-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.akt-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.akt-stats strong { font-size: 1.7rem; }
	.akt-prevnext { grid-template-columns: minmax(0, 1fr); }
	.akt-prevnext__next { text-align: left; }
	.akt-row { padding: .8rem .85rem; gap: .7rem; }
	.akt-row__icon { width: 38px; height: 38px; }
	.akt-download { padding: 1rem; }
	.akt-preview iframe { height: 70vh; }
	.akt-calc__head { gap: .65rem; }
	.akt-calc__icon { width: 40px; height: 40px; }
	.akt-calc__result.is-visible { gap: 1rem; }
	.akt-phero__lead { font-size: 1.05rem; }
	.akt-phero__actions .akt-btn { flex: 1 1 100%; }
	.akt-cta { padding: 2rem 1.1rem; }
	.akt-promo--wide .akt-btn { width: 100%; }
	.akt-faq summary { padding: .9rem 2.75rem .9rem 1rem; }
	.akt-sidebar { gap: 1rem; }
	.akt-filters { padding: .75rem; }
}
@media (max-width: 340px) { .akt-tiles { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 380px) {
	.akt-sems { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .4rem; }
	.akt-sems a span { font-size: 1.35rem; }
	.akt-hero__search > .akt-icon { display: none; }
	.akt-facts { grid-template-columns: minmax(0, 1fr); }
}
/* 18. App shell: parts shared by all widths -------------------------------- */
.akt-back, .akt-header .akt-header__search { display: none; }
.akt-iconbtn { display: inline-grid; place-items: center; width: 42px; height: 42px; flex: none; padding: 0; border: 0; border-radius: 12px; background: transparent; color: var(--akt-ink); cursor: pointer; }
.akt-iconbtn:hover { background: var(--akt-primary-tint); color: var(--akt-primary); }
.akt-iconbtn--primary { background: var(--akt-primary); color: #fff; }
.akt-iconbtn--primary:hover { background: var(--akt-primary-deep); color: #fff; }
@media (max-width: 899px) { .akt-header .akt-header__search { display: inline-grid; } }
.akt-section__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .85rem; }
.akt-section__head .akt-section__title { margin: 0; }
.akt-split .akt-section__title { font-size: 1.25rem; }
.akt-seeall { display: inline-flex; align-items: center; gap: .15rem; flex: none; padding: .35rem .25rem .35rem .6rem; border-radius: 999px; font-size: .875rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.akt-seeall:hover { background: var(--akt-primary-tint); }
.akt-nav__premium, .akt-nav__app { display: none; }
@media (max-width: 1023px) {
	.akt-nav__premium { display: flex; align-items: center; gap: .75rem; margin: 1rem 0 0; padding: .85rem 1rem; border-radius: 12px; background: var(--akt-accent-tint); color: var(--akt-ink); text-decoration: none; font-weight: 700; }
	.akt-nav__premium .akt-icon { color: #B45309; }
	.akt-nav__premium small { display: block; font-weight: 500; font-size: .8125rem; color: var(--akt-ink-soft); }
	.akt-nav__app:not([hidden]) { display: flex; gap: .75rem; margin-top: .75rem; padding: .9rem 1rem; border: 1px solid var(--akt-line); border-radius: 12px; }
	.akt-nav__app-ic { display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 10px; background: var(--akt-primary-tint); color: var(--akt-primary); }
	.akt-nav__app p { margin: .2rem 0 .6rem; font-size: .875rem; color: var(--akt-ink-soft); line-height: 1.45; }
}
.akt-hero__popular.akt-rail { scrollbar-width: none; }
.akt-hero__popular.akt-rail::-webkit-scrollbar { display: none; }

/* Search panel */
.akt-sheet { position: fixed; inset: 0; z-index: 400; display: flex; flex-direction: column; background: var(--akt-paper); opacity: 0; transform: translateY(14px); transition: opacity .2s ease, transform .2s ease; }
.akt-sheet[hidden] { display: none; }
.akt-sheet.is-open { opacity: 1; transform: none; }
.akt-sheet__bar { display: flex; align-items: center; gap: .4rem; padding: calc(.6rem + env(safe-area-inset-top, 0px)) .75rem .6rem .5rem; background: var(--akt-white); border-bottom: 1px solid var(--akt-line); }
.akt-sheet__bar input { flex: 1; min-width: 0; height: 44px; padding: 0 1rem; border: 1.5px solid var(--akt-line); border-radius: 999px; background: var(--akt-paper); font: 400 1rem/1 var(--akt-font-body); color: var(--akt-ink); }
.akt-sheet__bar input:focus { background: var(--akt-white); }
.akt-sheet__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: .5rem 1rem calc(2rem + env(safe-area-inset-bottom, 0px)); }
.akt-sheet__group { margin-top: 1.1rem; }
.akt-sheet__group h2, .akt-sheet__head h2 { margin: 0 0 .6rem; font-family: var(--akt-font-body); font-size: .75rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--akt-ink-faint); }
.akt-sheet__head { display: flex; justify-content: space-between; align-items: baseline; }
.akt-sheet__head button { border: 0; background: none; color: var(--akt-primary); font-weight: 600; font-size: .875rem; cursor: pointer; }
.akt-sheet__recent { margin: 0; padding: 0; list-style: none; }
.akt-sheet__recent a { display: flex; align-items: center; gap: .6rem; padding: .6rem .25rem; color: var(--akt-ink); text-decoration: none; border-bottom: 1px solid var(--akt-line); }
.akt-sheet__recent a::before { content: ""; width: 18px; height: 18px; flex: none; background: currentColor; opacity: .45; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4 12a8 8 0 1 0 2.4-5.7L4 8.5M4 4v4.5h4.5M12 8v4l2.5 2.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4 12a8 8 0 1 0 2.4-5.7L4 8.5M4 4v4.5h4.5M12 8v4l2.5 2.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.akt-sheet__chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; }
.akt-sheet__chips a { padding: .5rem .9rem; border: 1px solid var(--akt-line); border-radius: 999px; background: var(--akt-white); color: var(--akt-ink); text-decoration: none; font-size: .9rem; font-weight: 500; }
.akt-sheet__links { margin: 0; padding: 0; list-style: none; background: var(--akt-white); border: 1px solid var(--akt-line); border-radius: 14px; overflow: hidden; }
.akt-sheet__links li + li { border-top: 1px solid var(--akt-line); }
.akt-sheet__links a { display: flex; align-items: center; gap: .8rem; padding: .75rem .9rem; color: var(--akt-ink); text-decoration: none; }
.akt-sheet__links a > .akt-icon { margin-left: auto; color: var(--akt-ink-faint); }
.akt-sheet__links strong { display: block; font-weight: 600; line-height: 1.3; }
.akt-sheet__links small { display: block; color: var(--akt-ink-soft); font-size: .8125rem; }
.akt-sheet__ic { display: inline-grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 10px; background: var(--akt-primary-tint); color: var(--akt-primary); }
body.akt-sheet-open { overflow: hidden; }

/* Smooth page-to-page fade in browsers that support it (Chrome, Edge, Safari 18+). */
@media (prefers-reduced-motion: no-preference) {
	@view-transition { navigation: auto; }
}

/* 19. App mode: phones ----------------------------------------------------- */
@media (hover: none) {
	.akt-tiles a:hover, .akt-streams a:hover { transform: none; box-shadow: none; }
	.akt-row:hover, .akt-card:hover { box-shadow: none; }
}
@media (max-width: 767px) {
	html { -webkit-tap-highlight-color: transparent; }
	.akt-bottombar, .akt-btn, .akt-iconbtn, .akt-back, .akt-tiles a, .akt-sems a { -webkit-user-select: none; user-select: none; }
	.akt-row:active, .akt-tiles a:active, .akt-card:active, .akt-streams a:active, .akt-sems a:active, .akt-sheet__links a:active, .akt-pills a:active, .akt-btn:active, .akt-iconbtn:active, .akt-back:active { transform: scale(.97); transition: transform .08s; }

	/* App bar */
	.akt-header { transition: transform .22s ease; box-shadow: 0 1px 0 var(--akt-line); border-bottom: 0; }
	.akt-header.is-hidden { transform: translateY(-100%); }
	.akt-standalone .akt-header { padding-top: env(safe-area-inset-top, 0px); }
	.akt-header__bar { gap: .35rem; }
	.akt-header__actions { gap: .25rem; }
	.akt-menu-toggle { display: none; }
	.akt-back { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-left: -.5rem; flex: none; border-radius: 12px; color: var(--akt-ink); }
	.akt-header--inner .akt-brand__mark { display: none; }
	.akt-header--inner .akt-brand__name { font-size: 1.125rem; }
	.akt-header__premium { min-height: 36px; padding-inline: .6rem; border-radius: 10px; }
	.akt-notice__inner { min-height: 34px; }

	/* Page headings: the back button replaces breadcrumbs (they stay in the page's schema). */
	.akt-crumbs { display: none; }
	.akt-pagehead { padding: 1rem 0 .75rem; }
	.akt-pagehead__title, .akt-pagehead--single .akt-pagehead__title { font-size: 1.5rem; }
	.akt-pagehead__icon { width: 38px; height: 38px; border-radius: 10px; }
	.akt-pagehead__icon .akt-icon { width: 22px; height: 22px; }

	/* Home hero: compact, left-aligned, search first */
	.akt-hero { padding: 1.25rem 0 1.25rem; }
	.akt-hero__inner { text-align: left; }
	.akt-hero__title { font-size: 1.55rem; margin: 0 0 .9rem; max-width: none; }
	.akt-hero__lead { display: none; }
	.akt-hero__search { border-radius: 14px; }
	.akt-hero__popular.akt-rail { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: .85rem calc(-1 * var(--akt-gutter)) 0; padding: 0 var(--akt-gutter); }
	.akt-hero__popular a { flex: none; white-space: nowrap; padding: .35rem .8rem; }
	.akt-hero__popular span { display: none; }
	/* Finder: four controls in two rows; the select values say what they are, labels stay for screen readers. */
	.akt-hero__finder { margin-top: 1rem; padding: .7rem; border-radius: 14px; }
	.akt-hero__finder-title { margin-bottom: .45rem; font-size: .8125rem; }
	.akt-quickfind { grid-template-columns: 1fr 1fr; gap: .45rem; }
	.akt-quickfind .akt-field { font-size: 0; gap: 0; }
	.akt-quickfind .akt-select { font-size: .9375rem; min-height: 42px; }
	.akt-quickfind .akt-btn { min-height: 42px; font-size: .9375rem; }

	/* Start tiles become an app-icon grid */
	.akt-tiles--start { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
	.akt-tiles--start a { justify-items: center; text-align: center; gap: .4rem; padding: .85rem .3rem .75rem; border-radius: 16px; }
	.akt-tiles--start a > span:not(.akt-tiles__icon) { display: none; }
	.akt-tiles--start .akt-tiles__icon { width: 48px; height: 48px; margin: 0; border-radius: 14px; }
	.akt-tiles--start strong { font-size: .8125rem; line-height: 1.25; font-weight: 600; }
	.akt-tiles--start li:nth-child(2) .akt-tiles__icon { background: #ECFDF5; color: var(--akt-success); }
	.akt-tiles--start li:nth-child(3) .akt-tiles__icon { background: #F5F3FF; color: #6D28D9; }
	.akt-tiles--start li:nth-child(4) .akt-tiles__icon { background: #FFF7ED; color: #C2410C; }
	.akt-tiles--start li:nth-child(5) .akt-tiles__icon { background: var(--akt-accent-tint); color: #B45309; }
	.akt-tiles--start li:nth-child(6) .akt-tiles__icon { background: #ECFEFF; color: #0E7490; }

	/* Sections */
	.akt-section { padding: 1.25rem 0; }
	.akt-section--tight { padding-top: 1rem; padding-bottom: .25rem; }
	.akt-section__title { font-size: 1.2rem; }
	.akt-section__head { margin-bottom: .7rem; }
	.akt-section__lead { font-size: .95rem; margin-bottom: 1rem; }
	.akt-section__sub { margin-top: 1.25rem; }
	.akt-kicker { font-size: .75rem; }
	.akt-band-soft::before { display: none; }
	.akt-split { gap: 1.25rem; }

	/* Swipeable rails on the home page */
	.home .akt-streams, .home .akt-tiles--tools, .home .akt-pills, .akt-rail-m {
		display: grid; grid-auto-flow: column; grid-template-columns: none; gap: .6rem;
		overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--akt-gutter); overscroll-behavior-x: contain;
		margin-inline: calc(-1 * var(--akt-gutter)); padding: .15rem var(--akt-gutter) .4rem; scrollbar-width: none;
	}
	.home .akt-streams::-webkit-scrollbar, .home .akt-tiles--tools::-webkit-scrollbar, .home .akt-pills::-webkit-scrollbar, .akt-rail-m::-webkit-scrollbar { display: none; }
	.home .akt-streams { grid-auto-columns: 72%; }
	.home .akt-tiles--tools { grid-auto-columns: 44%; }
	.home .akt-pills { grid-template-rows: auto auto; grid-auto-columns: max-content; margin-bottom: 0; }
	.akt-rail-m { grid-auto-columns: 82%; }
	.home .akt-streams > li, .home .akt-tiles--tools > li, .akt-rail-m > * { scroll-snap-align: start; }
	.akt-rail-m .akt-card--lead { grid-column: auto; flex-direction: column; }
	.akt-rail-m .akt-card--lead .akt-card__excerpt { display: none; }
	.akt-rail-m .akt-card--lead .akt-card__title { font-size: 1.125rem; }
	.home .akt-tiles--tools a { padding: .9rem; }
	.home .akt-tiles--tools a > span:not(.akt-tiles__icon) { font-size: .8rem; }
	.akt-sems { gap: .45rem; }
	.akt-sems a { padding: .6rem .25rem; border-radius: 14px; font-size: .7rem; }
	.akt-sems a span { font-size: 1.35rem; }

	/* File lists look like an app list: one card, rows divided by lines */
	.akt-rows { margin-bottom: 1.25rem; gap: 0; background: var(--akt-white); border: 1px solid var(--akt-line); border-radius: 16px; overflow: hidden; }
	.akt-row { grid-template-columns: auto minmax(0, 1fr) auto; gap: .75rem; padding: .8rem .85rem; border: 0; border-radius: 0; background: none; }
	.akt-row + .akt-row { border-top: 1px solid var(--akt-line); }
	.akt-row__title { font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
	.akt-row .akt-chips { flex-wrap: nowrap; overflow: hidden; margin-top: .3rem; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
	.akt-row .akt-chip { flex: none; }
	.akt-row__excerpt { display: none; }
	.akt-row__action { grid-column: auto; justify-self: end; width: 40px; height: 40px; padding: 0; justify-content: center; border-radius: 50%; background: var(--akt-primary-tint); color: var(--akt-primary); }
	.akt-row__action:hover { background: var(--akt-primary); color: #fff; }
	.akt-row__action span { display: none; }
	.akt-row--ad { padding: .6rem .85rem; }
	.akt-row--ad .akt-ad__link { border: 0; background: var(--akt-paper); }

	/* Archive filters: search on top, filters two-up, apply as soon as one changes */
	.akt-filters { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; padding: 0; margin-bottom: 1rem; background: none; border: 0; box-shadow: none; }
	.akt-filters__search { grid-column: 1 / -1; }
	.akt-filters .akt-select, .akt-filters input { min-height: 42px; border-radius: 12px; font-size: .9375rem; background-color: var(--akt-white); }
	.akt-filters .akt-btn { display: none; }
	.akt-filters__clear { grid-column: 1 / -1; }

	/* File page: the main download button sits above the tab bar */
	.akt-resource .akt-download__actions .akt-btn--primary { position: fixed; left: 12px; right: 12px; bottom: calc(70px + env(safe-area-inset-bottom, 0px)); z-index: 85; width: auto; box-shadow: 0 8px 24px rgba(29, 78, 216, .35); border-radius: 14px; }
	.akt-resource .akt-download { border: 1px solid var(--akt-line); box-shadow: none; border-radius: 16px; }
	body.akt-resource { padding-bottom: calc(136px + env(safe-area-inset-bottom, 0px)); }
	.akt-share { justify-content: flex-start; }

	/* The app bar already has search; a search widget in the sidebar would repeat it. */
	.akt-sidebar .wp-block-search, .akt-sidebar .widget_search { display: none; }
	.akt-widget:has(> .wp-block-search:only-child) { display: none; }

	/* Cards, Premium band, FAQ, footer */
	.akt-card { border-radius: 16px; }
	.akt-pband { padding: 1.75rem 0; margin-top: .5rem; }
	.akt-pband h2 { font-size: 1.35rem; }
	.akt-pband__inner { gap: 1.25rem; }
	.akt-pband__plan { padding: .7rem 1rem; }
	.akt-pband__plan strong { font-size: 1.35rem; }
	.akt-faq summary { font-size: .95rem; }
	.akt-main { padding-bottom: .5rem; }
	/* Footer as an app "about" screen: light, cards, folded link groups */
	.akt-footer { margin-top: 1.5rem; padding: 1.5rem 0 0; background: var(--akt-paper); color: var(--akt-ink-soft); font-size: .9rem; border-top: 1px solid var(--akt-line); }
	.akt-footer a { color: var(--akt-ink); }
	.akt-footer a:hover { color: var(--akt-primary); text-decoration: none; }
	.akt-footer__grid { gap: .75rem; }
	.akt-footer__brand { display: grid; justify-items: center; text-align: center; padding: 1.25rem 1rem; background: var(--akt-white); border: 1px solid var(--akt-line); border-radius: 16px; }
	.akt-footer__logo { margin-bottom: .5rem; color: var(--akt-ink); font-size: 1.25rem; }
	.akt-footer__about { margin-bottom: .75rem; font-size: .875rem; }
	.akt-social { margin-bottom: .75rem !important; }
	.akt-social a { background: var(--akt-primary-tint); color: var(--akt-primary); }
	.akt-footer__mail { font-size: .875rem; }
	.akt-footer__mail a { color: var(--akt-primary); }

	.akt-footer__groups { grid-template-columns: minmax(0, 1fr); gap: 0; background: var(--akt-white); border: 1px solid var(--akt-line); border-radius: 16px; overflow: hidden; }
	.akt-fgroup + .akt-fgroup { border-top: 1px solid var(--akt-line); }
	.akt-fgroup summary { margin: 0; padding: .95rem 1rem; pointer-events: auto; cursor: pointer; -webkit-user-select: none; user-select: none; }
	.akt-fgroup summary h2 { color: var(--akt-ink); font-size: .9375rem; letter-spacing: 0; text-transform: none; font-weight: 600; }
	.akt-fgroup summary .akt-icon { display: block; color: var(--akt-ink-faint); transition: transform .2s; }
	.akt-fgroup[open] summary .akt-icon { transform: rotate(90deg); }
	.akt-fgroup ul { gap: 0; padding: 0 1rem .5rem; }
	.akt-fgroup li a { display: block; padding: .6rem 0 .6rem .75rem; border-left: 2px solid var(--akt-line); color: var(--akt-ink-soft); font-size: .9rem; }
	.akt-fgroup li a:active { color: var(--akt-primary); border-left-color: var(--akt-primary); }
	.akt-footer__col { padding: 1rem; }
	.akt-footer__col + .akt-footer__col { border-top: 1px solid var(--akt-line); }
	.akt-footer .akt-widget, .akt-footer .akt-widget a { color: var(--akt-ink); }

	.akt-footer__premium { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .75rem; padding: .85rem 1rem; background: var(--akt-ink); border: 0; border-radius: 16px; }
	.akt-footer__premium-text small { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; font-size: .8rem; }
	.akt-footer__premium-cta { grid-column: auto; margin: 0; min-height: 34px; padding: 0 .55rem 0 .75rem; font-size: .8125rem; white-space: nowrap; }

	.akt-footer__base { flex-direction: column; align-items: center; gap: .35rem; margin-top: 1rem; padding: 1rem 0 1.25rem; border-top: 0; text-align: center; font-size: .75rem; }
	.akt-footer__copy { color: var(--akt-ink-soft); font-weight: 600; }
	.akt-footer__disclaimer { color: var(--akt-ink-faint); line-height: 1.5; }

	/* Tab bar */
	.akt-bottombar { grid-template-columns: repeat(5, 1fr); padding: .35rem .25rem calc(.35rem + env(safe-area-inset-bottom, 0px)); background: rgba(255, 255, 255, .98); box-shadow: 0 -1px 0 var(--akt-line); border-top: 0; }
	.akt-bottombar a, .akt-bottombar button { gap: .15rem; padding: .1rem 0; font-size: .6875rem; font-weight: 600; color: var(--akt-ink-soft); }
	.akt-bottombar__ic { display: inline-grid; place-items: center; width: 56px; height: 30px; border-radius: 999px; transition: background .15s; }
	.akt-bottombar [aria-current="page"] { color: var(--akt-primary); }
	.akt-bottombar [aria-current="page"] .akt-bottombar__ic { background: var(--akt-primary-tint); }
	body.akt-nav-open [data-akt-menu-more] { color: var(--akt-primary); }
	body.akt-nav-open [data-akt-menu-more] .akt-bottombar__ic { background: var(--akt-primary-tint); }
	body { padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px)); }
	/* Menu drawer sits above the tab bar so "More" can close it again. */
	.akt-nav { bottom: calc(62px + env(safe-area-inset-bottom, 0px)); height: auto; padding-bottom: 1.5rem; border-radius: 0 0 0 18px; }
	.admin-bar .akt-nav { height: auto; }
	body.akt-nav-open .akt-bottombar { z-index: 310; }
}
/* 20. Student tools on phones: tabs + compact calculator cards ------------- */
@media (max-width: 767px) {
	.akt-tools-page { padding-bottom: .5rem; }
	.akt-toolhead { padding-bottom: .5rem; }
	.akt-toolhead .akt-pagehead__intro { margin-top: .5rem; font-size: .9375rem; line-height: 1.55; }
	.akt-toolhead__badges { margin-top: .7rem; gap: .4rem; }
	.akt-toolhead__badges span { font-size: .75rem; padding: .25rem .6rem; }
	.akt-tools-page__content { margin-bottom: .25rem; }

	/* Tab bar: one swipeable row of pills; the active one is filled */
	.akt-tooltabs { flex-wrap: nowrap; gap: .45rem; overflow-x: auto; margin: 0 calc(-1 * var(--akt-gutter)) 1rem; padding: .25rem var(--akt-gutter) .35rem; scrollbar-width: none; scroll-behavior: smooth; }
	.akt-tooltabs::-webkit-scrollbar { display: none; }
	.akt-tooltabs a { flex: none; min-height: 40px; padding: 0 .9rem; font-size: .875rem; white-space: nowrap; }
	.akt-tooltabs a.is-active { background: var(--akt-primary); border-color: var(--akt-primary); color: #fff; box-shadow: 0 4px 12px rgba(29, 78, 216, .25); }
	.akt-tooltabs a.is-active .akt-icon { color: #fff; }

	/* One calculator at a time (before the script runs, only the first one shows) */
	.akt-tools { gap: 1rem; }
	.akt-tools.is-tabbed > .akt-calc:not(.is-active), .akt-js .akt-tools:not(.is-tabbed) > .akt-calc:not(:first-child) { display: none; }
	.akt-tools.is-tabbed > .akt-calc.is-active { animation: akt-fade-in .18s ease; }

	/* Card */
	.akt-calc { padding: 1rem; border-radius: 18px; }
	.akt-calc__head { gap: .75rem; align-items: center; margin-bottom: 1rem; padding-bottom: .9rem; border-bottom: 1px solid var(--akt-line); }
	.akt-calc__icon { width: 42px; height: 42px; border-radius: 12px; }
	.akt-calc__head h2 { font-size: 1.15rem; margin: 0 0 .1rem; }
	.akt-calc__head p { font-size: .8125rem; line-height: 1.45; }
	.akt-calc .akt-field { font-size: .8125rem; gap: .3rem; }
	.akt-calc input:not([type="checkbox"]), .akt-calc select { min-height: 46px; border-radius: 12px; font-size: 1rem; }

	/* Short fields two to a row; dropdowns (long labels) keep the full width */
	.akt-calc__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; margin: .65rem 0; }
	.akt-calc__grid > label:has(> select) { grid-column: 1 / -1; }
	.akt-calc__grid > :last-child:nth-child(odd):not(:has(> select)) { grid-column: 1 / -1; }

	/* SGPA subjects: numbered mini-cards (name on top, credits + grade + remove below) */
	.akt-calc__rows { counter-reset: aktrow; gap: .6rem; margin: .85rem 0; }
	.akt-calc__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 40px; gap: .45rem; padding: .6rem; background: var(--akt-paper); border: 1px solid var(--akt-line); border-radius: 14px; counter-increment: aktrow; }
	.akt-calc__row:not(.akt-calc__row--sem)::before { content: "Subject " counter(aktrow); grid-column: 1 / -1; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--akt-ink-faint); }
	.akt-calc__row [data-name] { grid-column: 1 / -1; }
	.akt-calc__row input:not([type="checkbox"]), .akt-calc__row select { min-height: 44px; background-color: var(--akt-white); }
	.akt-calc__remove { width: 40px; height: 44px; border-radius: 12px; background: var(--akt-white); }

	/* CGPA semesters: everything on one line */
	.akt-calc__row--sem { grid-template-columns: 52px minmax(0, 1fr) minmax(0, 1fr) 40px; align-items: center; padding: .5rem .5rem .5rem .75rem; }
	.akt-calc__row--sem [data-name] { grid-column: auto; }
	.akt-calc__sem { font-size: .8125rem; color: var(--akt-ink); }

	/* Options and help boxes */
	.akt-check { margin: .75rem 0; padding: .75rem .85rem; background: var(--akt-paper); border-radius: 12px; font-size: .8125rem; line-height: 1.5; color: var(--akt-ink-soft); }
	.akt-calc__preset, .akt-calc__help { margin: .85rem 0; padding: 0; border: 1px solid var(--akt-line); border-radius: 14px; background: var(--akt-primary-tint); }
	.akt-calc__help { background: var(--akt-white); }
	.akt-calc__preset[open], .akt-calc__help[open] { border-style: solid; }
	.akt-calc__preset summary, .akt-calc__help summary { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .8rem .9rem; font-size: .9rem; list-style: none; }
	.akt-calc__preset summary::-webkit-details-marker, .akt-calc__help summary::-webkit-details-marker { display: none; }
	.akt-calc__preset summary::after, .akt-calc__help summary::after { content: "+"; font-size: 1.3rem; font-weight: 400; line-height: 1; }
	.akt-calc__preset[open] summary::after, .akt-calc__help[open] summary::after { content: "–"; }
	.akt-calc__preset > :not(summary), .akt-calc__help > :not(summary) { margin-inline: .9rem; }
	.akt-calc__preset > :last-child, .akt-calc__help > :last-child { margin-bottom: .9rem; }
	.akt-calc__preset .akt-btn { width: calc(100% - 1.8rem); }

	/* Action bar: buttons share the row, the main action is the bigger one */
	.akt-calc__bar { flex-wrap: nowrap; gap: .5rem; margin-top: .9rem; }
	.akt-calc__bar > span:empty { display: none; }
	.akt-calc__bar .akt-btn { min-height: 48px; border-radius: 12px; }
	.akt-calc__bar .akt-btn--ghost { flex: 0 0 auto; padding-inline: .9rem; }
	.akt-calc__bar .akt-btn--primary { flex: 1 1 auto; }
	.akt-calc__bar .akt-muted { flex: 1; font-size: .75rem; text-align: right; line-height: 1.35; }

	/* Results: a soft panel with big numbers, two per row */
	.akt-calc__result { margin-top: 1rem; padding: 1rem; border-radius: 14px; border-left: 0; border-top: 4px solid var(--akt-primary); }
	.akt-calc__result.is-visible { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem 1rem; }
	.akt-calc__result.is-good { border-top-color: var(--akt-success); }
	.akt-calc__result.is-warn { border-top-color: var(--akt-accent); }
	.akt-calc__result > :last-child:nth-child(odd), .akt-stat--wide, .akt-calc__note { grid-column: 1 / -1; }
	.akt-stat strong { font-size: 1.6rem; }
	.akt-stat span { font-size: .75rem; line-height: 1.35; }

	/* Activity points: each activity is a card */
	.akt-ap { gap: .6rem; }
	.akt-ap__row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; padding: .7rem; background: var(--akt-paper); border-radius: 14px; }
	.akt-ap__row label:nth-of-type(1), .akt-ap__row label:nth-of-type(2) { grid-column: 1 / -1; }
	.akt-ap__row input:not([type="checkbox"]), .akt-ap__row select { background-color: var(--akt-white); }
	.akt-ap .akt-empty { margin: 0; padding: .9rem 1rem; font-size: .875rem; border-radius: 14px; }
}
@keyframes akt-fade-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; } }
@media print {
	.akt-header, .akt-notice, .akt-footer, .akt-bottombar, .akt-sidebar, .akt-ad, .akt-share, .akt-promo, .akt-filters, .akt-pagination, .akt-slot { display: none !important; }
	body { background: #fff; padding: 0; }
	.akt-layout { display: block; }
	a { color: inherit; }
}

/* =========================================================================
   Book reader (protected PDFs) — assets/js/book.js
   ========================================================================= */
.akt-book { margin: 1.5rem 0; padding: 1rem; background: var(--akt-paper); border: 1px solid var(--akt-line); border-radius: var(--akt-radius); outline: none; }
.akt-book__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem 1rem; margin-bottom: .85rem; }
.akt-book__head p { margin: 0; }
.akt-book__title { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--akt-ink); }
.akt-book.is-open .akt-book__head .akt-muted { display: none; }
.akt-book__stage { position: relative; display: flex; justify-content: center; }
.akt-book__cover { position: relative; display: block; width: min(100%, 340px); padding: 0; border: 0; border-radius: 4px 10px 10px 4px; background: #fff; cursor: pointer; box-shadow: 0 1px 2px rgba(15, 23, 42, .12), 0 12px 32px -8px rgba(15, 23, 42, .35), inset 6px 0 10px -6px rgba(15, 23, 42, .25); transition: transform .2s ease, box-shadow .2s ease; overflow: hidden; }
.akt-book__cover:hover, .akt-book__cover:focus-visible { transform: translateY(-3px) rotate(-.4deg); box-shadow: 0 2px 4px rgba(15, 23, 42, .12), 0 20px 40px -10px rgba(15, 23, 42, .4), inset 6px 0 10px -6px rgba(15, 23, 42, .25); }
.akt-book__cover img { display: block; width: 100%; height: auto; }
.akt-book__cta { position: absolute; left: 50%; bottom: 1rem; transform: translateX(-50%); display: inline-flex; align-items: center; gap: .4rem; padding: .55rem 1rem; border-radius: 999px; background: var(--akt-primary); color: #fff; font-weight: 600; font-size: .9375rem; white-space: nowrap; box-shadow: 0 6px 16px -6px rgba(15, 23, 42, .5); }
.akt-book__book { position: relative; display: flex; margin: 0 auto; perspective: 2600px; cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: pan-y pinch-zoom; filter: drop-shadow(0 14px 22px rgba(15, 23, 42, .22)); }
.akt-book__page { position: relative; flex: 1 1 0; min-width: 0; background: #fff; overflow: hidden; }
.akt-book__page[hidden] { display: none; }
.akt-book__book:not(.is-spread) .akt-book__page { border-radius: 3px; }
.akt-book__book.is-spread .akt-book__page--left { border-radius: 6px 0 0 6px; }
.akt-book__book.is-spread .akt-book__page--right { border-radius: 0 6px 6px 0; }
/* Spine shading. */
.akt-book__book.is-spread .akt-book__page::after { content: ""; position: absolute; top: 0; bottom: 0; width: 7%; pointer-events: none; }
.akt-book__book.is-spread .akt-book__page--left::after { right: 0; background: linear-gradient(to left, rgba(15, 23, 42, .16), rgba(15, 23, 42, 0)); }
.akt-book__book.is-spread .akt-book__page--right::after { left: 0; background: linear-gradient(to right, rgba(15, 23, 42, .16), rgba(15, 23, 42, 0)); }
.akt-book__page.is-blank { background: transparent; }
.akt-book__page.is-blank::after { display: none; }
.akt-book__canvas, .akt-book__img { display: block; width: 100%; height: 100%; object-fit: contain; }
.akt-book__leaf { position: absolute; top: 0; height: 100%; width: 50%; z-index: 3; transform-style: preserve-3d; transition: transform .6s cubic-bezier(.35, .1, .25, 1), opacity .6s ease; will-change: transform; }
.akt-book__leaf--right { left: 50%; transform-origin: left center; }
.akt-book__leaf--right.is-turning { transform: rotateY(-180deg); }
.akt-book__leaf--left { left: 0; transform-origin: right center; }
.akt-book__leaf--left.is-turning { transform: rotateY(180deg); }
.akt-book__leaf--single { left: 0; width: 100%; transform-origin: left center; }
.akt-book__leaf--single.is-out { transform: rotateY(0); opacity: 1; }
.akt-book__leaf--single.is-out.is-turning { transform: rotateY(-95deg); opacity: 0; }
.akt-book__leaf--single.is-in { transform: rotateY(-95deg); opacity: 0; }
.akt-book__leaf--single.is-in.is-turning { transform: rotateY(0); opacity: 1; }
.akt-book__face { position: absolute; inset: 0; background: #fff; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; }
.akt-book__face--back { transform: rotateY(180deg); }
.akt-book__face.is-blank { background: var(--akt-paper); }
.akt-book__leaf.is-turning .akt-book__face::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(15, 23, 42, .12), rgba(15, 23, 42, 0) 40%); pointer-events: none; }
.akt-book__spin { position: absolute; top: 50%; left: 50%; width: 28px; height: 28px; margin: -14px 0 0 -14px; border: 3px solid var(--akt-line); border-top-color: var(--akt-primary); border-radius: 50%; animation: akt-book-spin .8s linear infinite; }
@keyframes akt-book-spin { to { transform: rotate(360deg); } }
.akt-book__bar { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 1rem; }
.akt-book__bar[hidden] { display: none; }
.akt-book__btn { display: inline-flex; align-items: center; justify-content: center; gap: .35rem; min-width: 44px; min-height: 44px; padding: 0 .75rem; border: 1px solid var(--akt-line-strong); border-radius: 10px; background: var(--akt-white); color: var(--akt-ink); font: 600 1.25rem/1 var(--akt-font-body); text-decoration: none; cursor: pointer; }
.akt-book__btn--text { font-size: .9375rem; }
.akt-book__btn:hover:not(:disabled) { border-color: var(--akt-primary); color: var(--akt-primary); }
.akt-book__btn:disabled { opacity: .4; cursor: default; }
.akt-book__pos { display: inline-flex; align-items: center; gap: .35rem; font-variant-numeric: tabular-nums; color: var(--akt-ink-soft); }
.akt-book__pos input { width: 4.2em; min-height: 44px; padding: 0 .4rem; border: 1px solid var(--akt-line-strong); border-radius: 10px; text-align: center; font: inherit; color: var(--akt-ink); background: var(--akt-white); }
.akt-book__spacer { flex: 1 1 auto; }
.akt-book__status { min-height: 1.4em; margin: .5rem 0 0; font-size: .875rem; }
.akt-book.has-error .akt-book__status { color: var(--akt-danger); }
.akt-book.is-full { position: fixed; inset: 0; z-index: 99999; margin: 0; padding: 16px; border: 0; border-radius: 0; background: #1d2230; display: flex; flex-direction: column; justify-content: center; }
.akt-book.is-full .akt-book__head { display: none; }
.akt-book.is-full .akt-book__status { color: #cbd2e1; text-align: center; }
.akt-book.is-full .akt-book__bar { justify-content: center; }
.akt-book.is-full .akt-book__pos { color: #cbd2e1; }
.akt-book.is-full .akt-book__stage { flex: 0 0 auto; }
html.akt-book-lock, html.akt-book-lock body { overflow: hidden; }
.akt-fy-pdf { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin: 0 0 1.25rem; }
@media (max-width: 600px) {
	.akt-book { padding: .75rem; }
	.akt-book__btn--text span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.akt-book__leaf, .akt-book__cover { transition: none; }
}
