/* ==========================================================================
   Times4Education — main stylesheet
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
	--t-bg: #f6f7fb;
	--t-surface: #ffffff;
	--t-surface-2: #f1f2fb;
	--t-ink: #0d1330;
	--t-ink-2: #2a3152;
	--t-muted: #525a78;
	--t-line: #e3e6f2;
	--t-brand: #4338ca;
	--t-brand-deep: #2e2785;
	--t-brand-soft: #eef0ff;
	--t-brand-ink: #3730a3;
	--t-accent: #ff9f1c;
	--t-accent-ink: #9a4a00;
	--t-ok: #166534;
	--t-ok-bg: #e6f7ec;
	--t-err: #b91c1c;
	--t-err-bg: #fdecec;
	--t-wa: #0e7a5f;
	--t-wa-glow: #25d366;
	--t-radius: 18px;
	--t-radius-sm: 12px;
	--t-shadow: 0 1px 2px rgba(13, 19, 48, .05), 0 8px 24px -12px rgba(13, 19, 48, .16);
	--t-shadow-lg: 0 24px 60px -24px rgba(46, 39, 133, .35);
	--t-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	--t-font-head: var(--t-font);
	--t-header-h: 68px;
	--t-hero-grad: radial-gradient(1000px 420px at 12% -10%, rgba(91, 75, 255, .16), transparent 60%), radial-gradient(700px 380px at 95% 10%, rgba(255, 159, 28, .14), transparent 60%);

	/* category tones */
	--tone-indigo-bg: #eef0ff; --tone-indigo-fg: #3730a3;
	--tone-sky-bg: #e6f5fd;    --tone-sky-fg: #075985;
	--tone-violet-bg: #f3edff; --tone-violet-fg: #6d28d9;
	--tone-teal-bg: #e3f7f4;   --tone-teal-fg: #0f766e;
	--tone-rose-bg: #ffecef;   --tone-rose-fg: #be123c;
	--tone-amber-bg: #fff4dc;  --tone-amber-fg: #92400e;
	--tone-orange-bg: #fff0e6; --tone-orange-fg: #b93c09;
	--tone-green-bg: #e6f7ec;  --tone-green-fg: #166534;
	--tone-blue-bg: #e8f0ff;   --tone-blue-fg: #1d4ed8;
	--tone-pink-bg: #fdebf6;   --tone-pink-fg: #be185d;
	color-scheme: light;
}

:root[data-scheme="dark"] {
	--t-bg: #0a0d1c;
	--t-surface: #121731;
	--t-surface-2: #181e3c;
	--t-ink: #eef0fb;
	--t-ink-2: #d3d7ee;
	--t-muted: #a8aecb;
	--t-line: #262d52;
	--t-brand: #5b50f0;
	--t-brand-deep: #2e2785;
	--t-brand-soft: #1d2150;
	--t-brand-ink: #b3b8ff;
	--t-accent-ink: #ffc56b;
	--t-ok: #86efac;
	--t-ok-bg: #0f2e1d;
	--t-err: #fca5a5;
	--t-err-bg: #3a1414;
	--t-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px -14px rgba(0, 0, 0, .7);
	--t-hero-grad: radial-gradient(1000px 420px at 12% -10%, rgba(91, 75, 255, .28), transparent 60%), radial-gradient(700px 380px at 95% 10%, rgba(255, 159, 28, .12), transparent 60%);
	--tone-indigo-bg: rgba(129, 140, 248, .16); --tone-indigo-fg: #b4bcff;
	--tone-sky-bg: rgba(56, 189, 248, .14);     --tone-sky-fg: #8fd8fb;
	--tone-violet-bg: rgba(167, 139, 250, .16); --tone-violet-fg: #cfc1ff;
	--tone-teal-bg: rgba(45, 212, 191, .14);    --tone-teal-fg: #7ce9d8;
	--tone-rose-bg: rgba(251, 113, 133, .15);   --tone-rose-fg: #fdb0ba;
	--tone-amber-bg: rgba(251, 191, 36, .14);   --tone-amber-fg: #fcd779;
	--tone-orange-bg: rgba(251, 146, 60, .15);  --tone-orange-fg: #fdc28f;
	--tone-green-bg: rgba(74, 222, 128, .13);   --tone-green-fg: #97f0b6;
	--tone-blue-bg: rgba(96, 165, 250, .15);    --tone-blue-fg: #a7cbfc;
	--tone-pink-bg: rgba(244, 114, 182, .15);   --tone-pink-fg: #f9b6da;
	color-scheme: dark;
}

.t4e-webfonts { --t-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; --t-font-head: "Plus Jakarta Sans", var(--t-font); }

.t4e-tone-indigo { --tb: var(--tone-indigo-bg); --tf: var(--tone-indigo-fg); }
.t4e-tone-sky    { --tb: var(--tone-sky-bg);    --tf: var(--tone-sky-fg); }
.t4e-tone-violet { --tb: var(--tone-violet-bg); --tf: var(--tone-violet-fg); }
.t4e-tone-teal   { --tb: var(--tone-teal-bg);   --tf: var(--tone-teal-fg); }
.t4e-tone-rose   { --tb: var(--tone-rose-bg);   --tf: var(--tone-rose-fg); }
.t4e-tone-amber  { --tb: var(--tone-amber-bg);  --tf: var(--tone-amber-fg); }
.t4e-tone-orange { --tb: var(--tone-orange-bg); --tf: var(--tone-orange-fg); }
.t4e-tone-green  { --tb: var(--tone-green-bg);  --tf: var(--tone-green-fg); }
.t4e-tone-blue   { --tb: var(--tone-blue-bg);   --tf: var(--tone-blue-fg); }
.t4e-tone-pink   { --tb: var(--tone-pink-bg);   --tf: var(--tone-pink-fg); }

/* ---------- Base ---------- */
@view-transition { navigation: auto; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--t-header-h) + 16px); overflow-x: hidden; }
body { margin: 0; background: var(--t-bg); color: var(--t-ink); font: 400 16px/1.65 var(--t-font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--t-brand-ink); text-underline-offset: 3px; }
a:hover { color: var(--t-brand); }
:focus-visible { outline: 3px solid var(--t-accent); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--t-font-head); line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--t-ink); }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.t4e-icon { flex: none; vertical-align: middle; }
.t4e-skip { position: absolute; left: 12px; top: -60px; z-index: 1000; background: #2e2785; color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.t4e-skip:focus { top: 12px; color: #fff; }

.t4e-container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .t4e-container { padding: 0 24px; } }
.t4e-container--page { max-width: 880px; }
.t4e-container--narrowhead { max-width: 1240px; }
.t4e-main { display: block; min-height: 50vh; }

/* ---------- Buttons, chips, badges ---------- */
.t4e-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 650; font-size: 15px; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s, box-shadow .15s, color .15s; white-space: nowrap; }
.t4e-btn:hover { transform: translateY(-1px); }
.t4e-btn--sm { min-height: 38px; padding: 7px 14px; font-size: 14px; }
.t4e-btn--primary { background: var(--t-brand); color: #fff; box-shadow: 0 8px 20px -10px rgba(67, 56, 202, .7); }
.t4e-btn--primary:hover { background: #3b30b8; color: #fff; }
.t4e-btn--ghost { background: transparent; color: var(--t-ink); border-color: var(--t-line); }
.t4e-btn--ghost:hover { border-color: var(--t-brand); color: var(--t-brand-ink); }
.t4e-btn--light { background: #fff; color: #2e2785; }
.t4e-btn--light:hover { color: #2e2785; background: #f1f0ff; }
.t4e-btn--wa { background: var(--t-wa); color: #fff; }
.t4e-btn--wa:hover { background: #0b6650; color: #fff; }

.t4e-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: var(--tb, var(--t-brand-soft)); color: var(--tf, var(--t-brand-ink)); font-size: 13px; font-weight: 650; line-height: 1.3; text-decoration: none; }
a.t4e-chip:hover { color: var(--tf); box-shadow: inset 0 0 0 1.5px currentColor; }
.t4e-badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; line-height: 1.3; white-space: nowrap; }
.t4e-badge--open { background: var(--t-ok-bg); color: var(--t-ok); }
.t4e-badge--urgent { background: var(--t-err-bg); color: var(--t-err); }
.t4e-badge--closed { background: var(--t-surface-2); color: var(--t-muted); }
.t4e-badge--ai { background: linear-gradient(135deg, #5b4bff, #b04bff); color: #fff; }
.t4e-badge--smart { background: var(--tone-amber-bg); color: var(--tone-amber-fg); }
.t4e-badge--calc { background: var(--t-ok-bg); color: var(--t-ok); }
.t4e-kbd { display: inline-block; padding: 2px 7px; border-radius: 6px; border: 1px solid var(--t-line); background: var(--t-surface-2); color: var(--t-muted); font: 600 11.5px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; }
.t4e-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--t-accent); box-shadow: 0 0 0 4px rgba(255, 159, 28, .25); }
.t4e-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--t-brand-ink); }
.t4e-eyebrow--light { color: #e8e6ff; }
.t4e-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; font-size: 15px; text-decoration: none; white-space: nowrap; }

/* ---------- Top bar ---------- */
.t4e-topbar { background: #0d1330; color: #cfd3ee; font-size: 13px; }
.t4e-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.t4e-topbar__text { display: flex; align-items: center; gap: 8px; margin: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; min-width: 0; }
.t4e-topbar__text span { overflow: hidden; text-overflow: ellipsis; }
.t4e-topbar__text .t4e-icon { color: var(--t-accent); }
.t4e-topbar__right { display: flex; align-items: center; gap: 16px; flex: none; }
.t4e-topbar__link { color: #fff; font-weight: 650; text-decoration: none; }
.t4e-topbar__link:hover { color: var(--t-accent); }
.t4e-topbar__date { color: #aab0d6; }
.t4e-social { display: flex; gap: 8px; flex-wrap: wrap; }
.t4e-social a { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--t-surface-2); color: var(--t-ink-2); }
.t4e-social a:hover { background: var(--t-brand); color: #fff; }
.t4e-social--top a { width: 26px; height: 26px; background: transparent; color: #cfd3ee; }
.t4e-social--top a svg { width: 15px; height: 15px; }
@media (max-width: 760px) { .t4e-topbar__date, .t4e-social--top { display: none; } }
@media (max-width: 480px) { .t4e-topbar__text { font-size: 12px; } }

/* ---------- Header ---------- */
.t4e-header { position: sticky; top: 0; z-index: 90; background: color-mix(in srgb, var(--t-surface) 86%, transparent); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--t-line); transition: box-shadow .2s; }
.admin-bar .t4e-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .t4e-header { top: 0; } }
.t4e-header.is-stuck { box-shadow: 0 10px 30px -18px rgba(13, 19, 48, .35); }
.t4e-header__inner { display: flex; align-items: center; gap: 20px; min-height: var(--t-header-h); }
.t4e-header__brand { flex: none; }
.t4e-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.t4e-logo__mark { width: 40px; height: 40px; flex: none; }
.t4e-logo__word { font: 800 21px/1 var(--t-font-head); letter-spacing: -.03em; white-space: nowrap; }
.t4e-logo__four { color: var(--t-accent); display: inline-block; margin: 0 1px; }
:root[data-scheme="dark"] .t4e-header .t4e-logo__word, :root[data-scheme="dark"] .t4e-drawer .t4e-logo__word { color: #fff !important; }
.custom-logo-link img { max-height: 52px; width: auto; }

.t4e-nav { flex: 1; min-width: 0; }
.t4e-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.t4e-menu > li { position: relative; }
.t4e-menu a { display: block; padding: 8px 12px; border-radius: 10px; color: var(--t-ink-2); font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }
.t4e-menu a:hover, .t4e-menu .current-menu-item > a, .t4e-menu .current-menu-ancestor > a, .t4e-menu .current-category-ancestor > a { background: var(--t-brand-soft); color: var(--t-brand-ink); }
.t4e-menu .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); opacity: .6; }
.t4e-menu .sub-menu { position: absolute; top: 100%; left: 0; min-width: 230px; list-style: none; margin: 0; padding: 8px; background: var(--t-surface); border: 1px solid var(--t-line); border-radius: 14px; box-shadow: var(--t-shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .16s ease; z-index: 5; }
.t4e-menu li:hover > .sub-menu, .t4e-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.t4e-menu .sub-menu a { padding: 9px 12px; font-weight: 550; }
.t4e-header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; padding-left: 12px; flex: none; }
.t4e-searchbtn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px 0 14px; border-radius: 999px; border: 1px solid var(--t-line); background: var(--t-surface-2); color: var(--t-muted); cursor: pointer; }
.t4e-searchbtn:hover { border-color: var(--t-brand); color: var(--t-ink); }
.t4e-iconbtn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--t-line); background: var(--t-surface); color: var(--t-ink); cursor: pointer; }
.t4e-iconbtn:hover { border-color: var(--t-brand); color: var(--t-brand-ink); }
.t4e-only-dark { display: none; }
:root[data-scheme="dark"] .t4e-only-dark { display: contents; }
:root[data-scheme="dark"] .t4e-only-light { display: none; }
.t4e-burger { display: none; }
@media (max-width: 1320px) {
	.t4e-searchbtn__label { display: none; }
	.t4e-searchbtn { width: 42px; padding: 0; justify-content: center; }
	.t4e-menu a { padding: 8px 10px; }
}
@media (max-width: 1180px) and (min-width: 1081px) { .t4e-header__cta { display: none; } }
@media (max-width: 1080px) {
	.t4e-nav { display: none; }
	.t4e-burger { display: inline-grid; }
}
@media (max-width: 560px) {
	.t4e-header__cta { display: none; }
	.t4e-logo__word { font-size: 18px; }
	.t4e-logo__mark { width: 34px; height: 34px; }
	.t4e-header__inner { gap: 10px; }
	.t4e-header__actions { gap: 6px; }
}
@media (max-width: 380px) { .t4e-logo__word { font-size: 16px; } .t4e-iconbtn { width: 38px; height: 38px; } .t4e-searchbtn { width: 38px; height: 38px; } }

/* ---------- Ticker ---------- */
.t4e-ticker { background: var(--t-surface); border-bottom: 1px solid var(--t-line); font-size: 14px; }
.t4e-ticker__inner { display: flex; align-items: center; gap: 14px; min-height: 44px; }
.t4e-ticker__label { display: inline-flex; align-items: center; gap: 8px; flex: none; padding: 4px 12px 4px 10px; border-radius: 999px; background: var(--t-brand); color: #fff; font-weight: 700; font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; }
.t4e-ticker__label .t4e-dot { animation: t4e-pulse 1.6s infinite; }
.t4e-ticker__track { display: flex; overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.t4e-ticker__list { display: flex; flex: none; gap: 36px; margin: 0; padding: 0 36px 0 0; list-style: none; animation: t4e-marquee 60s linear infinite; }
.t4e-ticker__track:hover .t4e-ticker__list, .t4e-ticker__track:focus-within .t4e-ticker__list { animation-play-state: paused; }
.t4e-ticker__list li { white-space: nowrap; position: relative; }
.t4e-ticker__list li::before { content: ""; position: absolute; left: -21px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--t-accent); }
.t4e-ticker__list a { color: var(--t-ink-2); text-decoration: none; font-weight: 550; }
.t4e-ticker__list a:hover { color: var(--t-brand-ink); text-decoration: underline; }
@keyframes t4e-marquee { to { transform: translateX(-100%); } }
@keyframes t4e-pulse { 50% { box-shadow: 0 0 0 7px rgba(255, 159, 28, 0); } }

/* ---------- Drawer ---------- */
.t4e-drawer { position: fixed; inset: 0; z-index: 200; background: rgba(8, 10, 25, .55); opacity: 0; transition: opacity .2s; }
.t4e-drawer.is-open { opacity: 1; }
.t4e-drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); background: var(--t-surface); padding: 18px; overflow-y: auto; transform: translateX(100%); transition: transform .25s ease; display: flex; flex-direction: column; gap: 18px; }
.t4e-drawer.is-open .t4e-drawer__panel { transform: none; }
.t4e-drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.t4e-drawer__menu, .t4e-drawer__menu .sub-menu { list-style: none; margin: 0; padding: 0; }
.t4e-drawer__menu .sub-menu { padding-left: 14px; border-left: 2px solid var(--t-line); margin: 2px 0 6px 12px; }
.t4e-drawer__menu a { display: block; padding: 11px 12px; border-radius: 10px; color: var(--t-ink); font-weight: 600; text-decoration: none; }
.t4e-drawer__menu a:hover { background: var(--t-brand-soft); color: var(--t-brand-ink); }
.t4e-drawer__ctas { display: grid; gap: 10px; }
body.t4e-locked { overflow: hidden; }

/* ---------- Search form ---------- */
.t4e-searchform { display: flex; align-items: center; background: var(--t-surface-2); border: 1.5px solid var(--t-line); border-radius: 999px; padding: 4px 4px 4px 16px; }
.t4e-searchform:focus-within { border-color: var(--t-brand); }
.t4e-searchform input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 8px 0; outline: none; }
.t4e-searchform button { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--t-brand); color: #fff; cursor: pointer; }

/* ---------- Command palette ---------- */
.t4e-palette { width: min(640px, calc(100vw - 32px)); max-height: min(70vh, 560px); margin: 12vh auto auto; padding: 0; border: 1px solid var(--t-line); border-radius: 20px; background: var(--t-surface); color: var(--t-ink); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .45); overflow: hidden; }
.t4e-palette[open] { display: flex; flex-direction: column; animation: t4e-pop .16s ease; }
.t4e-palette::backdrop { background: rgba(8, 10, 25, .5); backdrop-filter: blur(4px); }
@keyframes t4e-pop { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.t4e-palette__form { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--t-line); color: var(--t-muted); }
.t4e-palette__form input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font-size: 17px; color: var(--t-ink); }
.t4e-palette__esc { cursor: pointer; }
.t4e-palette__results { overflow-y: auto; padding: 8px; }
.t4e-palette__results:empty { display: none; }
.t4e-palette__group { padding: 8px 10px 4px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--t-muted); }
.t4e-palette__item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; color: var(--t-ink); text-decoration: none; }
.t4e-palette__item span:first-child { flex: 1; min-width: 0; }
.t4e-palette__item small { flex: none; color: var(--t-muted); font-size: 12px; }
.t4e-palette__item[aria-selected="true"], .t4e-palette__item:hover { background: var(--t-brand-soft); color: var(--t-brand-ink); }
.t4e-palette__empty { padding: 16px; color: var(--t-muted); margin: 0; }
.t4e-palette__hint { margin: 0; padding: 10px 16px; border-top: 1px solid var(--t-line); font-size: 12.5px; color: var(--t-muted); }

/* ---------- Hero + bento ---------- */
.t4e-hero { position: relative; padding: 48px 0 36px; background: var(--t-hero-grad); overflow: hidden; }
.t4e-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(67, 56, 202, .12) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(180deg, #000, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); pointer-events: none; }
.t4e-hero__grid { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 36px; align-items: center; }
.t4e-hero__title { font-size: clamp(32px, 4.6vw, 56px); font-weight: 800; line-height: 1.06; letter-spacing: -.035em; margin-bottom: 18px; }
.t4e-hero__text { font-size: 18px; color: var(--t-muted); max-width: 560px; }
.t4e-hero__search { display: flex; align-items: center; gap: 10px; max-width: 600px; margin: 24px 0 18px; padding: 6px 6px 6px 18px; background: var(--t-surface); border: 1.5px solid var(--t-line); border-radius: 999px; box-shadow: var(--t-shadow); color: var(--t-muted); }
.t4e-hero__search:focus-within { border-color: var(--t-brand); }
.t4e-hero__search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font-size: 16px; padding: 10px 0; color: var(--t-ink); }
.t4e-hero__chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }

.t4e-bento { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(130px, auto); gap: 14px; }
.t4e-bento__tile { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 22px; background: var(--t-surface); border: 1px solid var(--t-line); box-shadow: var(--t-shadow); text-decoration: none; color: var(--t-ink); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
a.t4e-bento__tile:hover { transform: translateY(-3px); box-shadow: var(--t-shadow-lg); color: var(--t-ink); }
.t4e-bento__tile--deadlines { grid-row: span 2; }
.t4e-bento__label { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--t-muted); }
.t4e-bento__empty { color: var(--t-muted); font-size: 14.5px; margin: 0; }
.t4e-bento__icon { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .18); margin-bottom: auto; }
.t4e-bento__big { font: 800 22px/1.15 var(--t-font-head); letter-spacing: -.02em; margin-top: 12px; }
.t4e-bento__small { font-size: 14px; opacity: .92; }
.t4e-bento__tile--ai { background: linear-gradient(140deg, #4a3cf0, #8a3cf0 60%, #c33cf0); color: #fff; border: 0; }
.t4e-bento__tile--ai:hover { color: #fff !important; }
.t4e-bento__tile--ai::after { content: ""; position: absolute; width: 160px; height: 160px; right: -50px; bottom: -60px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.t4e-bento__tile--calc .t4e-bento__icon { background: var(--tone-amber-bg); color: var(--tone-amber-fg); }
.t4e-bento__tile--gp { grid-column: span 2; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 4px 14px; background: #0d1330; color: #fff; border: 0; min-height: 0; }
.t4e-bento__tile--gp:hover { color: #fff !important; }
.t4e-bento__tile--gp .t4e-bento__icon { margin: 0; background: rgba(255, 159, 28, .2); color: var(--t-accent); }
.t4e-bento__tile--gp .t4e-bento__big { margin: 0; font-size: 19px; }
.t4e-bento__tile--gp .t4e-bento__small { color: #cfd3ee; }

.t4e-deadlines { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.t4e-deadlines li { display: flex; align-items: center; gap: 12px; }
.t4e-deadlines a { color: var(--t-ink); font-weight: 600; font-size: 14.5px; line-height: 1.35; text-decoration: none; }
.t4e-deadlines a:hover { color: var(--t-brand-ink); text-decoration: underline; }
.t4e-deadlines__days { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 14px; background: var(--t-ok-bg); color: var(--t-ok); font-size: 11px; font-weight: 700; line-height: 1.05; text-transform: uppercase; }
.t4e-deadlines__days strong { font-size: 19px; }
.t4e-deadlines__days.is-urgent { background: var(--t-err-bg); color: var(--t-err); }

@media (max-width: 980px) {
	.t4e-hero__grid { grid-template-columns: 1fr; }
	.t4e-hero { padding-top: 32px; }
}
@media (max-width: 520px) {
	.t4e-bento { grid-template-columns: 1fr; }
	.t4e-bento__tile--deadlines { grid-row: auto; }
	.t4e-bento__tile--gp { grid-column: auto; }
	.t4e-hero__search { flex-wrap: wrap; border-radius: 20px; padding: 8px 8px 8px 14px; }
	.t4e-hero__search input { flex: 1 1 60%; }
	.t4e-hero__search .t4e-btn { flex: 1 1 100%; }
	.t4e-hero__text { font-size: 16.5px; }
}

/* ---------- Sections ---------- */
.t4e-section { padding: 44px 0; }
.t4e-section--tint { background: var(--t-surface-2); border-top: 1px solid var(--t-line); border-bottom: 1px solid var(--t-line); }
.t4e-section--flat { padding: 12px 0 28px; }
.t4e-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.t4e-section__head--center { flex-direction: column; align-items: center; text-align: center; }
.t4e-section__sub { color: var(--t-muted); margin: 4px 0 0; }
.t4e-section-title { display: flex; align-items: center; gap: 10px; font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; margin: 0 0 16px; }
.t4e-section__head .t4e-section-title { margin: 0; }
.t4e-section-title__icon { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--tb); color: var(--tf); }
.t4e-subhead { font-size: 19px; margin: 30px 0 12px; }

/* ---------- Category grid ---------- */
.t4e-catgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.t4e-catcard { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: var(--t-radius); background: var(--t-surface); border: 1px solid var(--t-line); text-decoration: none; color: var(--t-ink); transition: transform .18s ease, border-color .18s, box-shadow .18s; }
.t4e-catcard:hover { transform: translateY(-3px); border-color: var(--tf); box-shadow: var(--t-shadow); color: var(--t-ink); }
.t4e-catcard__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--tb); color: var(--tf); margin-bottom: 10px; }
.t4e-catcard__name { font-weight: 750; font-size: 16.5px; }
.t4e-catcard__count { color: var(--t-muted); font-size: 13.5px; }
@media (max-width: 1080px) { .t4e-catgrid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 820px) { .t4e-catgrid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .t4e-catgrid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .t4e-catcard { padding: 14px; } }

/* ---------- Cards ---------- */
.t4e-grid { display: grid; gap: 22px; }
.t4e-grid--2 { grid-template-columns: repeat(2, 1fr); }
.t4e-grid--3 { grid-template-columns: repeat(3, 1fr); }
.t4e-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { .t4e-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .t4e-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .t4e-grid--2, .t4e-grid--3, .t4e-grid--4 { grid-template-columns: 1fr; } }

.t4e-card { position: relative; display: flex; flex-direction: column; background: var(--t-surface); border: 1px solid var(--t-line); border-radius: var(--t-radius); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.t4e-card:hover { transform: translateY(-3px); box-shadow: var(--t-shadow-lg); }
.t4e-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--t-surface-2); }
.t4e-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.t4e-card--row .t4e-card__cover { object-position: center; transform: scale(1.6); }
.t4e-card--row:hover .t4e-card__cover { transform: scale(1.68); }
.t4e-card:hover .t4e-card__media img { transform: scale(1.04); }
.t4e-card__ph { display: grid; place-items: center; width: 100%; height: 100%; background: radial-gradient(circle at 30% 20%, var(--tb), transparent 70%), var(--t-surface-2); color: var(--tf); }
.t4e-card__body { display: flex; flex-direction: column; gap: 10px; padding: 18px; flex: 1; }
.t4e-card__top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.t4e-card__title { font-size: 18.5px; font-weight: 750; line-height: 1.3; margin: 0; }
.t4e-card__title a { color: var(--t-ink); text-decoration: none; }
.t4e-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.t4e-card__title a:hover { color: var(--t-brand-ink); }
.t4e-card__excerpt { color: var(--t-muted); font-size: 15px; margin: 0; }
.t4e-card__foot { display: flex; gap: 6px; margin-top: auto; color: var(--t-muted); font-size: 13.5px; }
.t4e-card--wide .t4e-card__media { aspect-ratio: 16 / 9; }
.t4e-card--wide .t4e-card__title { font-size: clamp(21px, 2.3vw, 27px); }
.t4e-card--row { flex-direction: row; align-items: stretch; }
.t4e-card--row .t4e-card__media { width: 118px; flex: none; aspect-ratio: auto; }
.t4e-card--row .t4e-card__body { padding: 14px 16px; gap: 8px; }
.t4e-card--row .t4e-card__title { font-size: 16px; }
.t4e-card--row .t4e-chip { font-size: 12px; padding: 3px 9px; }

.t4e-latest { display: grid; grid-template-columns: 1.25fr 1fr; gap: 22px; }
.t4e-latest__list { display: grid; gap: 14px; align-content: start; }
@media (max-width: 900px) { .t4e-latest { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .t4e-card--row .t4e-card__media { width: 92px; } }

/* ---------- Band ---------- */
.t4e-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 36px; border-radius: 28px; color: #fff; background: radial-gradient(600px 240px at 90% 0%, rgba(255, 159, 28, .35), transparent 60%), linear-gradient(130deg, #2e2785, #4338ca 55%, #6d3cf0); box-shadow: var(--t-shadow-lg); }
.t4e-band__title { color: #fff; font-size: clamp(24px, 3vw, 34px); margin-bottom: 8px; }
.t4e-band p { color: #e6e5ff; margin: 0; max-width: 620px; }
.t4e-band .t4e-eyebrow { margin-bottom: 8px; }
.t4e-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 560px) { .t4e-band { padding: 26px 20px; } .t4e-band__actions .t4e-btn { flex: 1 1 100%; } }

/* ---------- Tools grid ---------- */
.t4e-tools-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 1080px) { .t4e-tools-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 780px) { .t4e-tools-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .t4e-tools-grid { grid-template-columns: 1fr; } }
.t4e-container--page .t4e-tools-grid { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 480px) { .t4e-container--page .t4e-tools-grid { grid-template-columns: 1fr; } }
.t4e-toolcard { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: var(--t-radius); background: var(--t-surface); border: 1px solid var(--t-line); text-decoration: none; color: var(--t-ink); transition: transform .18s ease, box-shadow .18s, border-color .18s; }
.t4e-toolcard:hover { transform: translateY(-3px); box-shadow: var(--t-shadow); border-color: var(--t-brand); color: var(--t-ink); }
.t4e-toolcard__icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--t-brand-soft); color: var(--t-brand-ink); margin-bottom: 6px; }
.t4e-toolcard--ai .t4e-toolcard__icon { background: linear-gradient(135deg, #5b4bff, #b04bff); color: #fff; }
.t4e-toolcard__title { font-size: 16.5px; font-weight: 750; margin: 0; line-height: 1.3; }
.t4e-toolcard__desc { color: var(--t-muted); font-size: 14px; line-height: 1.5; }
.t4e-toolcard__go { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 8px; color: var(--t-brand-ink); font-weight: 700; font-size: 14px; }

/* ---------- Tool UI ---------- */
.t4e-tool { margin: 8px 0 28px; padding: 22px; border-radius: 22px; background: var(--t-surface); border: 1px solid var(--t-line); box-shadow: var(--t-shadow); }
.t4e-tool--ai { background: linear-gradient(var(--t-surface), var(--t-surface)) padding-box, linear-gradient(135deg, #5b4bff, #b04bff, #ff9f1c) border-box; border: 1.5px solid transparent; }
.t4e-tool__head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.t4e-tool__head > div { flex: 1; min-width: 0; }
.t4e-tool__head p { margin: 0; color: var(--t-muted); font-size: 15px; }
.t4e-tool__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--t-brand-soft); color: var(--t-brand-ink); }
.t4e-tool--ai .t4e-tool__icon { background: linear-gradient(135deg, #5b4bff, #b04bff); color: #fff; }
.t4e-prose .t4e-tool__title, .t4e-tool__title { font-size: 21px; margin: 2px 0 4px; }
.t4e-fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 16px; }
.t4e-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.t4e-field--wide { grid-column: 1 / -1; }
.t4e-field[hidden] { display: none; }
.t4e-field label, .t4e-checks legend, .t4e-form label { font-weight: 650; font-size: 14.5px; color: var(--t-ink-2); }
.t4e-field input, .t4e-field select, .t4e-field textarea, .t4e-form input:not([type="checkbox"]):not([type="radio"]), .t4e-form select, .t4e-form textarea, .t4e-rows input { width: 100%; min-height: 46px; padding: 10px 14px; border: 1.5px solid var(--t-line); border-radius: 12px; background: var(--t-bg); color: var(--t-ink); transition: border-color .15s, box-shadow .15s; }
.t4e-field textarea, .t4e-form textarea { min-height: 96px; resize: vertical; }
.t4e-field input:focus, .t4e-field select:focus, .t4e-field textarea:focus, .t4e-form input:focus, .t4e-form select:focus, .t4e-form textarea:focus, .t4e-rows input:focus { outline: none; border-color: var(--t-brand); box-shadow: 0 0 0 4px rgba(67, 56, 202, .15); }
.t4e-field .is-invalid, .t4e-rows .is-invalid { border-color: var(--t-err); }
.t4e-checks { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.t4e-checks legend { margin-bottom: 8px; padding: 0; }
.t4e-check { position: relative; }
.t4e-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.t4e-check span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--t-line); font-size: 14px; font-weight: 600; cursor: pointer; background: var(--t-bg); }
.t4e-check input:checked + span { background: var(--t-brand); border-color: var(--t-brand); color: #fff; }
.t4e-check input:focus-visible + span { outline: 3px solid var(--t-accent); outline-offset: 2px; }
.t4e-rows { display: grid; gap: 8px; }
.t4e-rows__head, .t4e-rows__row { display: grid; grid-template-columns: 1.6fr 1fr 1fr 40px; gap: 8px; align-items: center; }
.t4e-rows__head span { font-size: 13px; font-weight: 700; color: var(--t-muted); }
.t4e-rows__del { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--t-line); background: transparent; color: var(--t-muted); cursor: pointer; display: grid; place-items: center; }
.t4e-rows__del:hover { color: var(--t-err); border-color: var(--t-err); }
[data-add-row] { margin-top: 10px; align-self: flex-start; }
.t4e-tool__actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.t4e-tool__result { margin-top: 20px; padding: 20px; border-radius: 16px; background: var(--t-brand-soft); animation: t4e-pop .2s ease; }
.t4e-tool__result[hidden] { display: none; }
.t4e-result__big { font: 800 clamp(30px, 5vw, 44px)/1.1 var(--t-font-head); color: var(--t-brand-ink); letter-spacing: -.03em; margin: 0 0 4px; }
.t4e-result__label { color: var(--t-ink-2); font-weight: 600; margin: 0 0 12px; }
.t4e-result__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 12px 0 0; }
.t4e-result__stat { padding: 12px 14px; border-radius: 12px; background: var(--t-surface); }
.t4e-result__stat dt { font-size: 13px; color: var(--t-muted); font-weight: 600; }
.t4e-result__stat dd { margin: 2px 0 0; font-size: 19px; font-weight: 800; color: var(--t-ink); }
.t4e-result__note { font-size: 14px; color: var(--t-ink-2); margin: 12px 0 0; }
.t4e-result__ok { color: var(--t-ok); }
.t4e-result__bad { color: var(--t-err); }
.t4e-result__table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 14.5px; background: var(--t-surface); border-radius: 12px; overflow: hidden; }
.t4e-result__table th, .t4e-result__table td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--t-line); }
.t4e-result__table th { font-size: 13px; color: var(--t-muted); }
.t4e-result__scroll { overflow-x: auto; }
.t4e-result__text { background: var(--t-surface); border-radius: 12px; padding: 16px 18px; line-height: 1.7; }
.t4e-result__text p:last-child, .t4e-result__text ul:last-child { margin-bottom: 0; }
.t4e-result__text ul { padding-left: 20px; }
.t4e-result__bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.t4e-countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 8px 0 4px; }
.t4e-countdown div { text-align: center; padding: 12px 6px; border-radius: 14px; background: var(--t-surface); }
.t4e-countdown strong { display: block; font: 800 30px/1 var(--t-font-head); color: var(--t-brand-ink); font-variant-numeric: tabular-nums; }
.t4e-countdown span { font-size: 12.5px; color: var(--t-muted); font-weight: 600; }
.t4e-tool__note { margin: 14px 0 0; font-size: 13.5px; color: var(--t-muted); }
.t4e-chatlog { display: grid; gap: 10px; margin-bottom: 14px; max-height: 460px; overflow-y: auto; }
.t4e-chatlog:empty { display: none; }
.t4e-msg { max-width: 88%; padding: 12px 16px; border-radius: 16px; line-height: 1.6; font-size: 15px; }
.t4e-msg p:last-child, .t4e-msg ul:last-child { margin-bottom: 0; }
.t4e-msg ul { padding-left: 20px; margin: 0 0 1em; }
.t4e-msg--user { justify-self: end; background: var(--t-brand); color: #fff; border-bottom-right-radius: 4px; }
.t4e-msg--bot { justify-self: start; background: var(--t-surface-2); border-bottom-left-radius: 4px; }
.t4e-msg--bot a { font-weight: 650; }
.t4e-typing { display: inline-flex; gap: 4px; }
.t4e-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--t-muted); animation: t4e-bounce 1s infinite; }
.t4e-typing i:nth-child(2) { animation-delay: .15s; }
.t4e-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes t4e-bounce { 50% { transform: translateY(-5px); opacity: .5; } }
@media (max-width: 620px) {
	.t4e-fields { grid-template-columns: 1fr; }
	.t4e-tool { padding: 16px; }
	.t4e-rows__head, .t4e-rows__row { grid-template-columns: 1.3fr 1fr 1fr 36px; gap: 6px; }
	.t4e-rows input { padding: 8px 9px; font-size: 15px; }
	.t4e-rows__del { width: 36px; height: 36px; }
	.t4e-countdown strong { font-size: 24px; }
}

/* ---------- Page head, breadcrumbs, layout ---------- */
.t4e-pagehead { padding: 30px 0 28px; background: var(--t-hero-grad); border-bottom: 1px solid var(--t-line); }
.t4e-pagehead__row { display: flex; align-items: flex-start; gap: 16px; }
.t4e-pagehead__icon { display: inline-grid; place-items: center; width: 60px; height: 60px; flex: none; border-radius: 18px; background: var(--tb); color: var(--tf); }
.t4e-pagehead__title { font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; margin: 0 0 8px; }
.t4e-pagehead__desc { color: var(--t-muted); font-size: 17px; max-width: 760px; margin: 0; }
.t4e-pagehead__desc p { margin: 0; }
.t4e-pagehead .t4e-hero__chips { margin-top: 18px; }
.t4e-pagehead__search { max-width: 560px; margin-top: 16px; }
.t4e-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; list-style: none; margin: 0 0 14px; padding: 0; font-size: 14px; color: var(--t-muted); }
.t4e-crumbs li { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.t4e-crumbs li + li::before { content: "/"; opacity: .5; }
.t4e-crumbs a { color: var(--t-muted); text-decoration: none; }
.t4e-crumbs a:hover { color: var(--t-brand-ink); text-decoration: underline; }
.t4e-crumbs span[aria-current] { color: var(--t-ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; }
.t4e-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; padding-top: 32px; padding-bottom: 48px; }
.t4e-layout__main { min-width: 0; }
@media (max-width: 1000px) { .t4e-layout { grid-template-columns: minmax(0, 1fr); } }
.t4e-page-body { padding-top: 28px; padding-bottom: 48px; }

/* ---------- Sidebar widgets ---------- */
.t4e-layout__side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.t4e-widget { padding: 20px; border-radius: var(--t-radius); background: var(--t-surface); border: 1px solid var(--t-line); }
.t4e-widget__title { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 800; margin: 0 0 14px; }
.t4e-widget ul { list-style: none; margin: 0; padding: 0; }
.t4e-widget:not(.t4e-widget--deadlines):not(.t4e-widget--tools) li + li { margin-top: 2px; }
.t4e-widget a { text-decoration: none; }
.t4e-toollist a, .t4e-catlist a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; margin: 0 -10px; border-radius: 10px; color: var(--t-ink-2); font-weight: 600; font-size: 15px; }
.t4e-toollist a:hover, .t4e-catlist a:hover { background: var(--t-brand-soft); color: var(--t-brand-ink); }
.t4e-toollist .t4e-icon { color: var(--t-brand-ink); }
.t4e-catlist__icon { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--tb); color: var(--tf); }
.t4e-catlist__n { margin-left: auto; font-size: 12.5px; color: var(--t-muted); background: var(--t-surface-2); padding: 1px 8px; border-radius: 999px; }
.t4e-widget--wa { background: linear-gradient(160deg, rgba(37, 211, 102, .12), transparent 70%), var(--t-surface); }
.t4e-widget--wa .t4e-widget__title .t4e-icon { color: var(--t-wa); }
:root[data-scheme="dark"] .t4e-widget--wa .t4e-widget__title .t4e-icon { color: var(--t-wa-glow); }
.t4e-widget--wa p { color: var(--t-muted); font-size: 15px; }
.t4e-widget--deadlines .t4e-deadlines__days { width: 46px; height: 46px; }
.t4e-widget--deadlines .t4e-deadlines__days strong { font-size: 17px; }
@media (min-width: 1001px) { .t4e-layout__side > :last-child { position: sticky; top: calc(var(--t-header-h) + 20px); } }

/* ---------- Article ---------- */
.t4e-article__head { padding: 28px 0 26px; background: var(--t-hero-grad); border-bottom: 1px solid var(--t-line); }
.t4e-article__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.t4e-article__title { font-size: clamp(28px, 4vw, 48px); font-weight: 800; line-height: 1.12; max-width: 920px; margin-bottom: 12px; }
.t4e-article__dek { font-size: 19px; color: var(--t-muted); max-width: 820px; }
.t4e-article__metarow { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.t4e-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; color: var(--t-muted); font-size: 14.5px; }
.t4e-meta span { display: inline-flex; align-items: center; gap: 6px; }
.t4e-meta a { color: var(--t-ink-2); font-weight: 650; text-decoration: none; }
.t4e-article__media { margin: 0 0 24px; border-radius: 22px; overflow: hidden; }
.t4e-article__media img { width: 100%; }
.t4e-article__media figcaption { padding: 8px 4px; font-size: 13.5px; color: var(--t-muted); }
.t4e-article__share { margin: 28px 0; padding: 16px 0; border-top: 1px solid var(--t-line); border-bottom: 1px solid var(--t-line); }

.t4e-share { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.t4e-share__label { font-size: 13.5px; font-weight: 700; color: var(--t-muted); margin-right: 4px; }
.t4e-share__btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--t-line); background: var(--t-surface); color: var(--t-ink-2); cursor: pointer; }
.t4e-share__btn:hover { background: var(--t-brand); border-color: var(--t-brand); color: #fff; }
.t4e-share--whatsapp:hover { background: var(--t-wa); border-color: var(--t-wa); }

.t4e-toc { margin: 0 0 26px; padding: 16px 20px; border-radius: 16px; background: var(--t-surface); border: 1px solid var(--t-line); }
.t4e-toc summary { display: flex; align-items: center; gap: 8px; font-weight: 800; cursor: pointer; list-style: none; }
.t4e-toc summary::-webkit-details-marker { display: none; }
.t4e-toc summary::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
.t4e-toc[open] summary::after { transform: rotate(-135deg); }
.t4e-toc ol { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 4px; }
.t4e-toc a { color: var(--t-ink-2); text-decoration: none; font-size: 15px; }
.t4e-toc a:hover, .t4e-toc a.is-active { color: var(--t-brand-ink); text-decoration: underline; }
.t4e-toc a.is-active { font-weight: 700; }
.t4e-toc__h3 { margin-left: 14px; list-style: circle; }

.t4e-facts { margin: 0 0 26px; padding: 20px; border-radius: 20px; background: var(--t-surface); border: 1px solid var(--t-line); box-shadow: var(--t-shadow); }
.t4e-facts__head { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.t4e-facts__head h2 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 19px; }
.t4e-facts__head h2 .t4e-icon { color: var(--t-accent-ink); }
.t4e-facts__type { font-size: 12.5px; font-weight: 700; color: var(--t-brand-ink); background: var(--t-brand-soft); padding: 4px 10px; border-radius: 999px; margin-left: auto; }
.t4e-facts__table { width: 100%; border-collapse: collapse; font-size: 15px; }
.t4e-facts__table th, .t4e-facts__table td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--t-line); }
.t4e-facts__table th { width: 42%; color: var(--t-muted); font-weight: 600; }
.t4e-facts__table td { font-weight: 650; }
.t4e-facts__table tr:nth-child(odd) { background: var(--t-surface-2); }
.t4e-facts__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.t4e-facts__note { margin: 12px 0 0; font-size: 13px; color: var(--t-muted); }

/* ---------- Prose ---------- */
.t4e-prose { font-size: 17.5px; line-height: 1.75; color: var(--t-ink-2); overflow-wrap: break-word; }
.t4e-prose > * { max-width: 100%; }
.t4e-prose h2 { font-size: clamp(23px, 2.6vw, 29px); margin: 1.8em 0 .6em; color: var(--t-ink); }
.t4e-prose h3 { font-size: 21px; margin: 1.6em 0 .5em; color: var(--t-ink); }
.t4e-prose h4 { font-size: 18px; margin: 1.4em 0 .5em; }
.t4e-prose > :first-child { margin-top: 0; }
.t4e-prose ul, .t4e-prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.t4e-prose li { margin: .35em 0; }
.t4e-prose li::marker { color: var(--t-brand); font-weight: 700; }
.t4e-prose a { color: var(--t-brand-ink); font-weight: 600; }
.t4e-prose blockquote { margin: 1.6em 0; padding: 16px 22px; border-left: 4px solid var(--t-accent); background: var(--t-surface); border-radius: 0 14px 14px 0; font-size: 18.5px; color: var(--t-ink); }
.t4e-prose blockquote p:last-child { margin: 0; }
.t4e-prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 15.5px; display: block; overflow-x: auto; }
.t4e-prose th, .t4e-prose td { padding: 10px 12px; border: 1px solid var(--t-line); text-align: left; }
.t4e-prose th { background: var(--t-surface-2); color: var(--t-ink); }
.t4e-prose img { border-radius: 14px; }
.t4e-prose figure { margin: 1.6em 0; }
.t4e-prose figcaption { font-size: 14px; color: var(--t-muted); text-align: center; margin-top: 8px; }
.t4e-prose code { background: var(--t-surface-2); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.t4e-prose pre { background: #0d1330; color: #e6e8f5; padding: 16px; border-radius: 14px; overflow-x: auto; }
.t4e-prose hr { border: 0; border-top: 1px solid var(--t-line); margin: 2em 0; }
.t4e-prose .t4e-callout { padding: 16px 20px; border-radius: 14px; background: var(--t-brand-soft); color: var(--t-ink); margin: 1.4em 0; }
.t4e-prose .t4e-callout p:last-child { margin: 0; }
.t4e-prose--full { max-width: none; }
.alignwide { margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.alignleft { float: left; margin: .3em 1.4em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.4em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text { font-size: 14px; color: var(--t-muted); }
.sticky .t4e-card__title a::before { content: "★ "; color: var(--t-accent-ink); }
.bypostauthor > .comment-body .fn::after { content: " · Author"; font-weight: 600; color: var(--t-brand-ink); font-size: 13px; }

/* ---------- FAQ ---------- */
.t4e-faq { margin: 34px 0; }
.t4e-faq h2 { font-size: clamp(22px, 2.4vw, 27px); }
.t4e-faq__item { border: 1px solid var(--t-line); border-radius: 14px; background: var(--t-surface); margin-bottom: 10px; }
.t4e-faq__item summary { position: relative; padding: 16px 48px 16px 18px; font-weight: 700; cursor: pointer; list-style: none; }
.t4e-faq__item summary::-webkit-details-marker { display: none; }
.t4e-faq__item summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 500; color: var(--t-brand-ink); transition: transform .2s; }
.t4e-faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.t4e-faq__a { padding: 0 18px 16px; color: var(--t-ink-2); }
.t4e-faq__a p { margin: 0; }

/* ---------- Tags, author, post nav ---------- */
.t4e-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; }
.t4e-tags a { padding: 5px 12px; border-radius: 999px; background: var(--t-surface-2); color: var(--t-ink-2); font-size: 13.5px; font-weight: 600; text-decoration: none; }
.t4e-tags a::before { content: "#"; opacity: .5; }
.t4e-tags a:hover { background: var(--t-brand-soft); color: var(--t-brand-ink); }
.t4e-author { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: 18px; background: var(--t-surface); border: 1px solid var(--t-line); margin: 0 0 28px; }
.t4e-author__img { border-radius: 50%; flex: none; }
.t4e-author__name { font-weight: 800; margin: 0 0 4px; }
.t4e-author__name a { color: var(--t-ink); text-decoration: none; }
.t4e-author__bio { margin: 0; color: var(--t-muted); font-size: 15px; }
.t4e-postnav .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 30px; }
.t4e-postnav a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--t-line); background: var(--t-surface); text-decoration: none; }
.t4e-postnav a:hover { border-color: var(--t-brand); }
.t4e-postnav .nav-next { text-align: right; grid-column: 2; }
.t4e-postnav__label { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--t-muted); }
.t4e-postnav__title { color: var(--t-ink); font-weight: 700; line-height: 1.35; }
@media (max-width: 600px) { .t4e-postnav .nav-links { grid-template-columns: 1fr; } .t4e-postnav .nav-next { grid-column: auto; } }
.t4e-related { margin: 12px 0 30px; }

/* ---------- Comments & forms ---------- */
.t4e-comments { margin-top: 20px; }
.t4e-comments__list, .t4e-comments__list .children { list-style: none; margin: 0 0 24px; padding: 0; }
.t4e-comments__list .children { padding-left: 24px; border-left: 2px solid var(--t-line); margin-top: 14px; }
.t4e-comments__list .comment-body { padding: 16px 18px; border-radius: 16px; background: var(--t-surface); border: 1px solid var(--t-line); margin-bottom: 12px; }
.comment-author { display: flex; align-items: center; gap: 10px; }
.comment-author img { border-radius: 50%; }
.comment-metadata { font-size: 13px; margin: 4px 0 8px; }
.comment-metadata a { color: var(--t-muted); text-decoration: none; }
.comment-reply-link { font-size: 14px; font-weight: 700; text-decoration: none; }
.t4e-form p { margin: 0 0 14px; display: flex; flex-direction: column; gap: 6px; }
.t4e-form .comment-form-cookies-consent { flex-direction: row; align-items: flex-start; gap: 8px; font-size: 14px; }
.t4e-form .comment-form-cookies-consent label { font-weight: 500; }
.t4e-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .t4e-form__row { grid-template-columns: 1fr; } }
.t4e-form__foot { flex-direction: row !important; align-items: center; flex-wrap: wrap; gap: 12px !important; }
.t4e-form__note { font-size: 13.5px; color: var(--t-muted); }
.t4e-form .form-submit { margin: 0; }
.t4e-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.t4e-form-wrap { padding: 24px; border-radius: 22px; background: var(--t-surface); border: 1px solid var(--t-line); box-shadow: var(--t-shadow); }
.t4e-alert { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; margin-bottom: 16px; font-weight: 600; }
.t4e-alert--ok { background: var(--t-ok-bg); color: var(--t-ok); }
.t4e-alert--err { background: var(--t-err-bg); color: var(--t-err); }

/* ---------- Pagination & empty ---------- */
.t4e-pagination .nav-links, .pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 36px; }
.page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--t-line); background: var(--t-surface); color: var(--t-ink-2); font-weight: 650; text-decoration: none; }
.page-numbers.current { background: var(--t-brand); border-color: var(--t-brand); color: #fff; }
a.page-numbers:hover { border-color: var(--t-brand); color: var(--t-brand-ink); }
.t4e-empty { text-align: center; padding: 48px 20px; border-radius: 22px; background: var(--t-surface); border: 1px dashed var(--t-line); color: var(--t-muted); }
.t4e-empty .t4e-searchform { max-width: 480px; margin: 16px auto 0; }
.t4e-404 { text-align: center; padding-top: 56px; padding-bottom: 72px; }
.t4e-404__code { font: 900 clamp(90px, 18vw, 160px)/1 var(--t-font-head); letter-spacing: -.06em; margin: 0; background: linear-gradient(135deg, #5b4bff, #ff9f1c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.t4e-404 .t4e-searchform { max-width: 520px; margin: 20px auto; }
.t4e-404__chips { justify-content: center; margin: 0 0 26px !important; }

/* ---------- Guest post page ---------- */
.t4e-gp__hero { padding: 30px 0 48px; color: #fff; background: radial-gradient(700px 300px at 90% 0%, rgba(255, 159, 28, .3), transparent 60%), radial-gradient(600px 300px at 0% 100%, rgba(176, 75, 255, .35), transparent 60%), linear-gradient(135deg, #1b1760, #2e2785 45%, #4338ca); }
.t4e-gp__hero .t4e-crumbs ol, .t4e-gp__hero .t4e-crumbs a, .t4e-gp__hero .t4e-crumbs span[aria-current] { color: #d6d4ff; }
.t4e-gp__herogrid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; align-items: center; margin-top: 10px; }
.t4e-gp__title { color: #fff; font-size: clamp(32px, 4.4vw, 54px); font-weight: 800; letter-spacing: -.035em; }
.t4e-gp__lede { font-size: 18px; color: #e6e5ff; max-width: 620px; }
.t4e-gp__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.t4e-gp__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; }
.t4e-gp__stats div { padding: 18px; border-radius: 18px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(6px); }
.t4e-gp__stats dt { font-size: 13.5px; color: #d6d4ff; font-weight: 600; }
.t4e-gp__stats dd { margin: 4px 0 0; font: 800 26px/1.15 var(--t-font-head); color: #fff; }
@media (max-width: 900px) { .t4e-gp__herogrid { grid-template-columns: 1fr; } }
.t4e-packages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
@media (max-width: 1100px) { .t4e-packages { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .t4e-packages { grid-template-columns: 1fr; } }
.t4e-package { position: relative; display: flex; flex-direction: column; padding: 24px 22px; border-radius: 22px; background: var(--t-surface); border: 1px solid var(--t-line); }
.t4e-package.is-featured { border: 2px solid var(--t-brand); box-shadow: var(--t-shadow-lg); }
.t4e-package__flag { position: absolute; top: -13px; left: 22px; padding: 4px 12px; border-radius: 999px; background: var(--t-accent); color: #3a1d00; font-size: 12.5px; font-weight: 800; }
.t4e-package__icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--t-brand-soft); color: var(--t-brand-ink); margin-bottom: 14px; }
.t4e-package__name { font-size: 20px; margin: 0 0 4px; }
.t4e-package__price { font: 800 24px/1.2 var(--t-font-head); color: var(--t-brand-ink); margin: 0 0 8px; }
.t4e-package__desc { color: var(--t-muted); font-size: 15px; }
.t4e-package__cta { margin-top: auto; padding-top: 12px; }
.t4e-package__cta .t4e-btn { width: 100%; }
.t4e-ticks { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.t4e-ticks li { display: flex; gap: 8px; align-items: flex-start; }
.t4e-ticks .t4e-icon { color: var(--t-ok); margin-top: 3px; }
.t4e-dodont { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 720px) { .t4e-dodont { grid-template-columns: 1fr; } }
.t4e-dodont__col { padding: 22px; border-radius: 20px; background: var(--t-surface); border: 1px solid var(--t-line); }
.t4e-dodont__col h3 { display: flex; align-items: center; gap: 8px; font-size: 18px; }
.t4e-dodont__col--do h3 .t4e-icon { color: var(--t-ok); }
.t4e-dodont__col--dont h3 .t4e-icon { color: var(--t-err); }
.t4e-dodont__col ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--t-ink-2); }
.t4e-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: none; }
@media (max-width: 900px) { .t4e-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .t4e-steps { grid-template-columns: 1fr; } }
.t4e-steps li { padding: 22px; border-radius: 20px; background: var(--t-surface); border: 1px solid var(--t-line); }
.t4e-steps__n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--t-brand); color: #fff; font-weight: 800; margin-bottom: 12px; }
.t4e-steps h3 { font-size: 18px; margin: 0 0 6px; }
.t4e-steps p { margin: 0; color: var(--t-muted); font-size: 15px; }
.t4e-gp__formgrid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 36px; align-items: start; }
.t4e-gp__formgrid .t4e-faq { margin-top: 24px; }
@media (max-width: 960px) { .t4e-gp__formgrid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.t4e-footer { background: #0b0f26; color: #b9bede; padding: 44px 0 20px; margin-top: 20px; }
.t4e-footer a { color: #dfe2f7; text-decoration: none; }
.t4e-footer a:hover { color: #fff; text-decoration: underline; }
.t4e-footer__cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 24px 26px; margin-bottom: 40px; border-radius: 22px; background: linear-gradient(120deg, rgba(37, 211, 102, .16), rgba(91, 75, 255, .2)); border: 1px solid rgba(255, 255, 255, .1); }
.t4e-footer__cta-title { color: #fff; font: 800 21px/1.3 var(--t-font-head); margin: 0 0 4px; }
.t4e-footer__cta-text { margin: 0; color: #c9cdeb; }
.t4e-footer .t4e-btn--wa, .t4e-footer .t4e-btn--wa:hover { color: #fff; text-decoration: none; }
.t4e-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 32px; }
@media (max-width: 900px) { .t4e-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .t4e-footer__grid { grid-template-columns: 1fr; } }
.t4e-footer h2 { color: #fff; font-size: 15px; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 14px; }
.t4e-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.t4e-footer .t4e-widget { background: transparent; border: 0; padding: 0; }
.t4e-footer .t4e-widget__title { color: #fff; }
.t4e-footer__about p { font-size: 15px; }
.t4e-logo--footer { margin-bottom: 14px; }
.t4e-logo--footer .t4e-logo__word { color: #fff !important; }
.t4e-footer__mail { display: flex; align-items: center; gap: 8px; }
.t4e-footer .t4e-social a { background: rgba(255, 255, 255, .08); color: #dfe2f7; }
.t4e-footer .t4e-social a:hover { background: var(--t-brand); color: #fff; }
.t4e-footer .t4e-btn--light { color: #2e2785; }
.t4e-footer .t4e-btn--light:hover { text-decoration: none; color: #2e2785; }
.t4e-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }
.t4e-footer__bottom p { margin: 0; }
.t4e-legal { display: flex !important; flex-wrap: wrap; gap: 6px 18px !important; }

/* ---------- WhatsApp button, back to top, progress ---------- */
.t4e-wa { position: fixed; right: 18px; bottom: 18px; z-index: 150; display: flex; align-items: center; height: 58px; padding: 0 16px; border-radius: 999px; background: var(--t-wa); color: #fff; text-decoration: none; box-shadow: 0 12px 30px -8px rgba(14, 122, 95, .6); transition: transform .2s ease, box-shadow .2s; }
.t4e-wa::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); animation: t4e-wa-pulse 2.4s infinite; pointer-events: none; }
.t4e-wa:hover, .t4e-wa:focus-visible { color: #fff; transform: translateY(-2px); }
.t4e-wa__icon { display: grid; place-items: center; width: 28px; }
.t4e-wa__label { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 700; font-size: 15px; transition: max-width .3s ease, margin .3s ease; }
.t4e-wa:hover .t4e-wa__label, .t4e-wa:focus-visible .t4e-wa__label { max-width: 180px; margin-left: 10px; }
@keyframes t4e-wa-pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); } 70%, 100% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } }
@media (min-width: 900px) { .t4e-wa { padding: 0 15px; } }
@media (max-width: 560px) { .t4e-wa { right: 14px; bottom: 14px; height: 54px; padding: 0 13px; } .t4e-wa:hover .t4e-wa__label { max-width: 0; margin: 0; } }
.t4e-inline-chat { color: var(--t-wa); font-weight: 700; }
:root[data-scheme="dark"] .t4e-inline-chat { color: var(--t-wa-glow); }
.t4e-totop { position: fixed; right: 22px; bottom: 90px; z-index: 140; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--t-line); background: var(--t-surface); color: var(--t-ink); box-shadow: var(--t-shadow); cursor: pointer; opacity: 0; transform: translateY(8px); transition: .2s; }
.t4e-totop.is-visible { opacity: 1; transform: none; }
.t4e-totop[hidden] { display: none; }
@media (max-width: 560px) { .t4e-totop { right: 18px; bottom: 80px; width: 42px; height: 42px; } }
.t4e-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 300; pointer-events: none; }
.t4e-progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, #5b4bff, #ff9f1c); }
.admin-bar .t4e-progress { top: 32px; }

/* ---------- Motion & print ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.t4e-ticker__list { animation: none; }
	.t4e-ticker__track { overflow-x: auto; }
	@view-transition { navigation: none; }
}
@media print {
	.t4e-topbar, .t4e-header, .t4e-ticker, .t4e-drawer, .t4e-palette, .t4e-layout__side, .t4e-footer, .t4e-wa, .t4e-totop, .t4e-progress, .t4e-share, .t4e-comments, .t4e-related, .t4e-postnav { display: none !important; }
	body { background: #fff; color: #000; }
	.t4e-layout { display: block; }
}
