/* Zygris - main component styles. Uses tokens.css variables. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation-duration: .001ms !important; transition-duration: .001ms !important; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--text); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-700); }
img { max-width: 100%; height: auto; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: var(--r-xs); }

.zt-container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.zt-section { padding: 56px 0; }
.zt-section--tight { padding: 32px 0; }
.zt-muted { color: var(--text-soft); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.zt-grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons */
.zt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border-radius: var(--r-sm); font-weight: 600; font-size: .95rem; cursor: pointer; border: 1px solid transparent; transition: all var(--dur) var(--ease); white-space: nowrap; }
.zt-btn--primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.zt-btn--primary:hover { background: var(--brand-700); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.zt-btn--grad { background: var(--grad); color: #fff; }
.zt-btn--grad:hover { color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.zt-btn--ghost { background: var(--surface); color: var(--text); border-color: var(--border-2); }
.zt-btn--ghost:hover { color: var(--text); border-color: var(--brand); }
.zt-btn--sm { padding: 8px 13px; font-size: .85rem; }

/* Header */
.zt-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--surface) 85%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.zt-header__inner { display: flex; align-items: center; gap: 18px; height: 68px; }
.zt-logo { flex: none; display: inline-flex; align-items: center; }
.zt-logo img { height: 34px; width: auto; display: block; }
.zt-logo__text { font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; letter-spacing: -.03em; color: var(--text); }
.zt-nav { margin-left: 6px; }
.zt-nav__list { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.zt-nav__list a { display: block; padding: 8px 12px; border-radius: var(--r-sm); color: var(--text-soft); font-weight: 500; font-size: .94rem; }
.zt-nav__list a:hover, .zt-nav__list .current-menu-item > a { color: var(--text); background: var(--surface-2); }
.zt-header__actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.zt-theme-toggle { width: 40px; height: 40px; border-radius: var(--r-sm); border: 1px solid var(--border-2); background: var(--surface); color: var(--text); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; }
.zt-theme-toggle:hover { border-color: var(--brand); }
.zt-theme-toggle .zt-ico-sun { display: none; }
:root[data-theme="dark"] .zt-theme-toggle .zt-ico-sun { display: inline; }
:root[data-theme="dark"] .zt-theme-toggle .zt-ico-moon { display: none; }
.zt-navtoggle { display: none; width: 40px; height: 40px; border-radius: var(--r-sm); border: 1px solid var(--border-2); background: var(--surface); color: var(--text); font-size: 20px; cursor: pointer; }

/* Hero */
.zt-hero { padding: 72px 0 40px; text-align: center; background: var(--grad-soft); }
.zt-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); max-width: 16ch; margin: 0 auto .35em; }
.zt-hero__lead { font-size: 1.15rem; color: var(--text-soft); max-width: 60ch; margin: 0 auto 28px; }
.zt-search { max-width: 640px; margin: 0 auto; display: flex; gap: 8px; background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--r-full); padding: 7px 7px 7px 20px; box-shadow: var(--shadow); }
.zt-search input[type="search"] { flex: 1; border: 0; background: transparent; color: var(--text); font-size: 1rem; outline: none; }
.zt-search .zt-btn { border-radius: var(--r-full); }
.zt-hero__meta { margin-top: 18px; color: var(--text-muted); font-size: .9rem; }

/* Section head */
.zt-shead { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.zt-shead h2 { font-size: 1.6rem; margin: 0; }
.zt-eyebrow { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 6px; }

/* Tool card grid */
.zt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--gap); }
.zt-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); box-shadow: var(--shadow-sm); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.zt-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--border-2); }
.zt-card.is-featured { border-color: color-mix(in srgb, var(--brand) 40%, var(--border)); }
.zt-card.is-sponsored { border: 2px solid var(--brand); box-shadow: 0 10px 28px rgba(37,99,235,.20); }
.zt-card__head { display: flex; align-items: center; gap: 12px; }
.zt-card__logo, .zt-logo--letter { width: 52px; height: 52px; border-radius: var(--r-sm); object-fit: cover; border: 1px solid var(--border); background: var(--surface-2); flex: none; }
.zt-logo--letter { display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800; color: #fff; background: var(--grad); border: 0; font-size: 1.4rem; }
.zt-card__title { font-size: 1.08rem; margin: 0; }
.zt-card__title a { color: var(--text); }
.zt-card__title a:hover { color: var(--brand); }
.zt-card__company { font-size: .82rem; color: var(--text-muted); }
.zt-card__excerpt { color: var(--text-soft); font-size: .92rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.zt-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 6px; }
.zt-card__fav { margin-left: auto; }

/* Badges + tags */
.zt-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.zt-badge { display: inline-block; padding: 3px 10px; border-radius: var(--r-full); font-size: .72rem; font-weight: 700; letter-spacing: .02em; border: 1px solid var(--border-2); background: var(--surface-2); color: var(--text-soft); }
.zt-badge--sponsored { background: var(--grad); color: #fff; border-color: transparent; }
.zt-badge--featured { background: rgba(37,99,235,.1); color: var(--brand); border-color: color-mix(in srgb, var(--brand) 30%, transparent); }
.zt-badge--free { background: rgba(22,163,74,.12); color: var(--success); border-color: transparent; }
.zt-tag { display: inline-flex; align-items: center; padding: 4px 11px; border-radius: var(--r-full); font-size: .78rem; font-weight: 600; background: var(--grad-soft); border: 1px solid var(--border-2); color: var(--text-soft); }
.zt-tag:hover { border-color: var(--brand); color: var(--brand); }
.zt-tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* Rating */
.zt-rating { display: inline-flex; align-items: center; gap: 5px; font-size: .85rem; color: var(--text-soft); }
.zt-rating__stars { color: var(--star); letter-spacing: 1px; }
.zt-rating__num { font-weight: 700; color: var(--text); }
.zt-rating__count { color: var(--text-muted); }
.zt-rating--empty { color: var(--text-muted); font-size: .82rem; }

/* Category / industry / use-case tiles */
.zt-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.zt-tile { display: flex; flex-direction: column; gap: 4px; padding: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); transition: all var(--dur) var(--ease); }
.zt-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--brand); }
.zt-tile__ico { width: 38px; height: 38px; border-radius: 10px; background: var(--grad); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-family: var(--font-head); margin-bottom: 8px; }
.zt-tile__name { font-weight: 700; color: var(--text); }
.zt-tile__count { font-size: .8rem; color: var(--text-muted); }

/* Filter/toolbar */
.zt-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 22px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); }
.zt-toolbar select { padding: 9px 12px; border-radius: var(--r-sm); border: 1px solid var(--border-2); background: var(--surface); color: var(--text); font: inherit; }
.zt-toolbar__count { margin-left: auto; color: var(--text-muted); font-size: .9rem; }

/* Layout with sidebar */
.zt-layout { display: grid; grid-template-columns: 1fr 320px; gap: 36px; align-items: start; }
.zt-layout > * { min-width: 0; }

/* Single tool */
.zt-tool-hero { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; padding: 26px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); margin-bottom: 24px; }
.zt-tool-hero__logo, .zt-tool-hero .zt-logo--letter { width: 84px; height: 84px; border-radius: var(--r); }
.zt-tool-hero__info { flex: 1; min-width: 260px; }
.zt-tool-hero__info h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 6px; }
.zt-tool-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 10px 0; }
.zt-tool-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.zt-cover { width: 100%; border-radius: var(--r); border: 1px solid var(--border); margin-bottom: 22px; }
.zt-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 22px; margin-bottom: 22px; }
.zt-panel h2 { font-size: 1.25rem; }
.zt-proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.zt-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.zt-list li { position: relative; padding-left: 26px; color: var(--text-soft); }
.zt-list--pro li::before { content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: 800; }
.zt-list--con li::before { content: "✕"; position: absolute; left: 0; color: var(--danger); font-weight: 800; }
.zt-list--feat li::before { content: "◆"; position: absolute; left: 0; color: var(--brand); }
.zt-spec { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.zt-spec__item { padding: 12px 14px; background: var(--surface-2); border-radius: var(--r-sm); }
.zt-spec__k { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); }
.zt-spec__v { font-weight: 700; color: var(--text); }
.zt-shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.zt-shots img { border-radius: var(--r-sm); border: 1px solid var(--border); width: 100%; }

/* Forms */
.zt-field { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.zt-field label { font-weight: 600; font-size: .92rem; }
.zt-field input, .zt-field select, .zt-field textarea { width: 100%; padding: 12px 14px; border-radius: var(--r-sm); border: 1px solid var(--border-2); background: var(--surface); color: var(--text); font: inherit; }
.zt-field input:focus, .zt-field select:focus, .zt-field textarea:focus { outline: none; border-color: var(--brand); box-shadow: var(--ring); }
.zt-field textarea { min-height: 130px; resize: vertical; }
.zt-card-form { max-width: 720px; margin: 0 auto; padding: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }

/* Breadcrumbs / pagination */
.zt-breadcrumbs { font-size: .85rem; color: var(--text-muted); margin-bottom: 16px; }
.zt-breadcrumbs a { color: var(--text-soft); }
.zt-breadcrumbs span { color: var(--text-muted); }
.zt-pagination { display: flex; justify-content: center; margin-top: 32px; }
.zt-pagination .page-numbers { display: inline-flex; min-width: 40px; height: 40px; align-items: center; justify-content: center; padding: 0 12px; margin: 0 3px; border-radius: var(--r-sm); border: 1px solid var(--border); background: var(--surface); color: var(--text); }
.zt-pagination .current { background: var(--brand); color: #fff; border-color: transparent; }

/* Widgets / prose */
.zt-widget { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 20px; margin-bottom: 22px; }
.zt-widget__title { font-size: 1.05rem; margin: 0 0 12px; }
.zt-prose { color: var(--text-soft); overflow-wrap: anywhere; }
.zt-prose h2, .zt-prose h3 { color: var(--text); margin-top: 1.5em; }
.zt-prose img, .zt-prose iframe, .zt-prose pre { max-width: 100%; }
.zt-prose pre { overflow-x: auto; }
.zt-prose a { text-decoration: underline; }

/* Footer */
.zt-footer { background: var(--surface); border-top: 1px solid var(--border); padding: 48px 0 28px; margin-top: 60px; }
.zt-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.zt-footer h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); }
.zt-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.zt-footer ul a { color: var(--text-soft); }
.zt-footer ul a:hover { color: var(--brand); }
.zt-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--border); color: var(--text-muted); font-size: .85rem; }

/* Directory filter layout */
.zt-dirlayout { display: grid; grid-template-columns: 280px 1fr; gap: 30px; align-items: start; }
.zt-filters-col { position: sticky; top: 86px; }
.zt-filters { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 18px; max-height: calc(100vh - 110px); overflow: auto; }
.zt-filters__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.zt-filters__head h3 { margin: 0; font-size: 1.05rem; }
.zt-filters__clear { background: none; border: 0; color: var(--brand); font-weight: 600; cursor: pointer; font-size: .85rem; }
.zt-fgroup { padding: 12px 0; border-top: 1px solid var(--border); }
.zt-fgroup__title { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin: 0 0 8px; }
.zt-fgroup__list { display: flex; flex-direction: column; gap: 6px; max-height: 190px; overflow: auto; }
.zt-fgroup select { width: 100%; padding: 9px 11px; border-radius: var(--r-sm); border: 1px solid var(--border-2); background: var(--surface); color: var(--text); }
.zt-check { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--text-soft); cursor: pointer; }
.zt-check input { accent-color: var(--brand); }
.zt-check em { margin-left: auto; font-style: normal; font-size: .78rem; color: var(--text-muted); }
.zt-results-meta { margin-bottom: 14px; color: var(--text-muted); }
.zt-results-loading { text-align: center; color: var(--text-muted); padding: 20px; }
.zt-filters-toggle { display: none; }
#zt-results { transition: opacity var(--dur) var(--ease); }

/* Compare */
.zt-compare-btn { width: 34px; height: 30px; border-radius: var(--r-sm); border: 1px solid var(--border-2); background: var(--surface); color: var(--text-soft); cursor: pointer; font-size: 15px; }
.zt-compare-btn:hover { border-color: var(--brand); color: var(--brand); }
.zt-compare-btn.is-in, [data-zt-compare].is-in { border-color: var(--brand); color: #fff; background: var(--brand); }
.zt-compare-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r); background: var(--surface); }
.zt-compare { border-collapse: collapse; width: 100%; min-width: 640px; }
.zt-compare th, .zt-compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.zt-compare__tool { text-align: center; position: relative; background: var(--surface-2); border-left: 1px solid var(--border); }
.zt-compare__tool .zt-card__logo, .zt-compare__tool .zt-logo--letter { margin: 0 auto 8px; display: block; }
.zt-compare__name { display: block; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.zt-compare__remove { position: absolute; top: 6px; right: 6px; background: none; border: 0; color: var(--text-muted); cursor: pointer; font-size: 14px; }
.zt-compare__row { font-weight: 600; color: var(--text); background: var(--surface-2); white-space: nowrap; }
.zt-compare td { text-align: center; }
.zt-compare .zt-yes { color: var(--success); font-weight: 800; }
.zt-compare .zt-no { color: var(--text-muted); }

/* Compare tray (floating) */
.zt-tray { position: fixed; left: 50%; bottom: 20px; transform: translate(-50%, 140%); display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--border-2); box-shadow: var(--shadow-lg); border-radius: var(--r-full); padding: 8px 8px 8px 18px; z-index: 60; transition: transform .25s var(--ease); }
.zt-tray.is-show { transform: translate(-50%, 0); }
.zt-tray__label { font-weight: 600; font-size: .9rem; }
.zt-tray__clear { background: none; border: 0; color: var(--text-muted); cursor: pointer; font-size: 15px; }

/* Submission form: plans, checks, pay box, notices */
.zt-notice { padding: 12px 16px; border-radius: var(--r-sm); margin-bottom: 16px; font-weight: 500; }
.zt-notice--ok { background: rgba(22,163,74,.12); color: var(--success); border: 1px solid rgba(22,163,74,.3); }
.zt-notice--err { background: rgba(220,38,38,.1); color: var(--danger); border: 1px solid rgba(220,38,38,.3); }
.zt-field-error { color: var(--danger); font-size: .85rem; }
.zt-field-note { color: var(--text-muted); font-size: .85rem; }
.zt-field input.has-error, .zt-field .has-error { border-color: var(--danger) !important; }
.zt-plan-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.zt-plan { position: relative; display: block; cursor: pointer; padding: 16px; border: 2px solid var(--border-2); border-radius: var(--r); background: var(--surface); transition: border-color var(--dur), box-shadow var(--dur), transform var(--dur); }
.zt-plan:hover { border-color: var(--brand); }
.zt-plan.is-selected { border-color: var(--brand); box-shadow: 0 8px 22px rgba(37,99,235,.18); transform: translateY(-1px); }
.zt-plan input { position: absolute; opacity: 0; pointer-events: none; }
.zt-plan__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.zt-plan__name { font-family: var(--font-head); font-weight: 700; }
.zt-plan__price { font-weight: 800; color: var(--brand); }
.zt-plan__feats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.zt-plan__feats li { position: relative; padding-left: 22px; font-size: .84rem; line-height: 1.35; }
.zt-plan__feats li::before { position: absolute; left: 0; font-weight: 800; }
.zt-plan__feats li.yes { color: var(--text-soft); } .zt-plan__feats li.yes::before { content: "✓"; color: var(--success); }
.zt-plan__feats li.no { color: var(--text-muted); } .zt-plan__feats li.no::before { content: "✕"; color: var(--text-muted); }
.zt-check-row { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.zt-check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; max-height: 190px; overflow: auto; padding: 12px; border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--surface-2); }
.zt-pay-box { margin: 8px 0 16px; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--r); background: var(--grad-soft); }
.zt-pay-row { display: flex; align-items: baseline; justify-content: space-between; }
.zt-pay-amt { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--brand); }
.zt-pay-note { margin: 6px 0 0; font-size: .88rem; color: var(--text-soft); }
.zt-nl-form { }
.zt-nl-msg { min-height: 1em; }
@media (max-width: 560px) { .zt-plan-grid { grid-template-columns: 1fr; } }

/* Accounts, favorites & reviews */
.zt-account-link { display: inline-flex; align-items: center; height: 40px; padding: 0 12px; border-radius: var(--r-sm); border: 1px solid var(--border-2); background: var(--surface); color: var(--text-soft); font-weight: 600; font-size: .9rem; }
.zt-account-link:hover { color: var(--brand); border-color: var(--brand); }
.zt-card__actions { margin-left: auto; display: inline-flex; gap: 6px; }
.zt-icon-btn { width: 34px; height: 30px; border-radius: var(--r-sm); border: 1px solid var(--border-2); background: var(--surface); color: var(--text-soft); cursor: pointer; font-size: 15px; line-height: 1; }
.zt-icon-btn:hover { border-color: var(--brand); color: var(--brand); }
.zt-fav-btn.is-fav, .zt-icon-btn.is-fav { color: #e11d48; border-color: #e11d48; }
.zt-fav-btn.is-fav .zt-fav-ico { color: #e11d48; }
.zt-reviews { display: flex; flex-direction: column; gap: 14px; margin: 16px 0; }
.zt-review { padding: 14px; border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--surface-2); }
.zt-review__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 6px; font-size: .9rem; }
.zt-review__stars { color: var(--star); letter-spacing: 1px; }
.zt-review__dim { color: var(--text-muted); }
.zt-stars-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; font-size: 1.7rem; }
.zt-stars-input input { position: absolute; opacity: 0; width: 0; }
.zt-stars-input label { color: var(--border-2); cursor: pointer; transition: color .1s; }
.zt-stars-input input:checked ~ label,
.zt-stars-input label:hover, .zt-stars-input label:hover ~ label { color: var(--star); }
.zt-auth-wrap { max-width: 460px; }
.zt-auth-tabs { display: flex; gap: 4px; margin-bottom: 16px; background: var(--surface-2); padding: 4px; border-radius: var(--r-sm); }
.zt-auth-tabs a { flex: 1; text-align: center; padding: 9px; border-radius: var(--r-xs); color: var(--text-soft); font-weight: 600; }
.zt-auth-tabs a.is-active { background: var(--surface); color: var(--brand); box-shadow: var(--shadow-sm); }
.zt-account { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: start; }
.zt-account__nav { display: flex; flex-direction: column; gap: 4px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 10px; }
.zt-account__nav a { padding: 10px 12px; border-radius: var(--r-sm); color: var(--text-soft); font-weight: 600; }
.zt-account__nav a:hover { background: var(--surface-2); color: var(--text); }
.zt-account__nav a.is-active { background: var(--grad); color: #fff; }
.zt-account__body { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 24px; }
.zt-table { width: 100%; border-collapse: collapse; }
.zt-table th, .zt-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.zt-stat-row { display: flex; gap: 16px; }
.zt-stat { flex: 1; text-align: center; padding: 18px; background: var(--surface-2); border-radius: var(--r); }
.zt-stat__n { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.8rem; color: var(--brand); }
.zt-stat__l { color: var(--text-muted); font-size: .85rem; }
.zt-dash-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 22px; align-items: start; }
@media (max-width: 720px) { .zt-account { grid-template-columns: 1fr; } .zt-account__nav { flex-direction: row; flex-wrap: wrap; } .zt-dash-grid { grid-template-columns: 1fr; } }

/* Reveal animation */
.zt-reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.zt-reveal.is-in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 900px) {
  .zt-layout { grid-template-columns: 1fr; }
  .zt-proscons { grid-template-columns: 1fr; }
  .zt-footer__grid { grid-template-columns: 1fr 1fr; }
  .zt-dirlayout { grid-template-columns: 1fr; }
  .zt-filters-col { position: static; display: none; }
  .zt-filters-col.is-open { display: block; margin-bottom: 20px; }
  .zt-filters { max-height: none; }
  .zt-filters-toggle { display: inline-flex; }
}
@media (max-width: 720px) {
  .zt-nav, .zt-header__actions .zt-btn { display: none; }
  .zt-navtoggle { display: inline-flex; }
  .zt-nav.is-open { display: block; position: absolute; top: 68px; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--border); padding: 12px 20px; }
  .zt-nav.is-open .zt-nav__list { flex-direction: column; align-items: stretch; }
  .zt-hero { padding: 44px 0 30px; }
}
@media (max-width: 480px) {
  .zt-footer__grid { grid-template-columns: 1fr; }
  .zt-container { padding: 0 16px; }
}
