/* The public website. One stylesheet, no framework. */
:root {
  --bg: #0b0d10;
  --bg-2: #101419;
  --panel: #151a21;
  --panel-2: #1b222b;
  --line: #262f3a;
  --text: #eef1f4;
  --muted: #9aa5b1;
  --green: #22c55e;
  --green-2: #4ade80;
  --green-ink: #04220f;
  --amber: #fbbf24;
  --bad: #ff7b72;
  --radius: 16px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--green-2); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.15rem; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--green); color: var(--green-ink); padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); }
.center { text-align: center; }
.center img { margin-inline: auto; }
.muted { color: var(--muted); }
.ico { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }

/* ---- top bar ---- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(11, 13, 16, 0.86); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 1.25rem; text-decoration: none; letter-spacing: -0.02em; }
.links { display: flex; gap: 6px; flex: 1; }
.links a { color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 10px; font-weight: 600; font-size: 0.97rem; }
.links a:hover, .links a[aria-current="page"] { color: var(--text); background: var(--panel-2); }
.actions { display: flex; gap: 10px; }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel-2); color: var(--text); font: inherit; font-weight: 700; font-size: 0.97rem; text-decoration: none; cursor: pointer; transition: transform 0.12s, background 0.12s, border-color 0.12s; }
.btn:hover { border-color: #3a4756; background: #222b36; transform: translateY(-1px); }
.btn:disabled { opacity: 0.55; cursor: default; transform: none; }
.btn.primary { background: var(--green); border-color: var(--green); color: var(--green-ink); }
.btn.primary:hover { background: var(--green-2); border-color: var(--green-2); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn.ghost:hover { color: var(--text); background: var(--panel-2); }
.btn.big { padding: 14px 24px; font-size: 1.05rem; border-radius: 14px; }
.btn.small { padding: 6px 12px; font-size: 0.88rem; border-radius: 10px; }

/* ---- hero ---- */
.hero { position: relative; overflow: hidden; padding: 72px 0 56px; background: radial-gradient(900px 480px at 78% 30%, rgba(34, 197, 94, 0.16), transparent 62%), radial-gradient(700px 400px at 0% 0%, rgba(251, 191, 36, 0.07), transparent 60%); }
.herogrid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.kicker { display: inline-block; color: var(--green-2); font-weight: 700; font-size: 0.92rem; border: 1px solid rgba(74, 222, 128, 0.35); background: rgba(34, 197, 94, 0.09); padding: 5px 14px; border-radius: 99px; margin-bottom: 20px; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.3rem); font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--green-2); }
.lead { color: #c3ccd6; font-size: 1.14rem; margin-top: 20px; max-width: 60ch; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta.center { justify-content: center; }
.fine { color: var(--muted); font-size: 0.92rem; margin-top: 16px; }
.stage { position: relative; aspect-ratio: 1; max-width: 560px; width: 100%; justify-self: center; border-radius: 28px; cursor: pointer; user-select: none; -webkit-user-select: none; }
.stage .glow { position: absolute; inset: 8% 4% 2%; border-radius: 50%; background: radial-gradient(closest-side, rgba(34, 197, 94, 0.33), transparent 72%); filter: blur(12px); }
.stage img { position: relative; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 28px 34px rgba(0, 0, 0, 0.55)); }
.stage .hint { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); white-space: nowrap; background: var(--panel); border: 1px solid var(--line); color: var(--muted); padding: 7px 16px; border-radius: 99px; font-size: 0.9rem; transition: opacity 0.3s; }
.stage .hint.done { opacity: 0.55; }
kbd { font: inherit; font-weight: 700; color: var(--text); background: var(--panel-2); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; padding: 1px 7px; }

/* ---- sections ---- */
.band { padding: 76px 0; }
.band.tight { padding: 8px 0 76px; }
.band.alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.band .sub { color: var(--muted); margin-top: 12px; font-size: 1.06rem; max-width: 64ch; }
.pagehead { padding: 52px 0 36px; }
.pagehead h1 { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 800; }
.headrow { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.rowtitle { margin: 52px 0 18px; color: var(--muted); font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; }
.film { width: 100%; margin-top: 28px; border-radius: 20px; border: 1px solid var(--line); background: #000; aspect-ratio: 16 / 9; }

.feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }
.feat { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.feat .ico { width: 42px; height: 42px; padding: 9px; border-radius: 12px; background: rgba(34, 197, 94, 0.13); color: var(--green-2); margin-bottom: 18px; }
.feat h3 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.feat p { color: var(--muted); margin-top: 10px; font-size: 0.99rem; }
.tag { display: inline-block; font-size: 0.74rem; font-weight: 800; padding: 2px 9px; border-radius: 99px; background: var(--line); letter-spacing: 0.03em; }
.tag.pro { background: rgba(251, 191, 36, 0.16); color: var(--amber); border: 1px solid rgba(251, 191, 36, 0.4); }

.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.steps.col { grid-template-columns: 1fr; margin-top: 24px; }
.steps li { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.steps .n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: var(--green-ink); font-weight: 800; margin-bottom: 16px; }
.steps p { color: var(--muted); margin-top: 8px; font-size: 0.99rem; }

/* ---- product cards ---- */
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 32px; }
.pgrid.small { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 16px; }
.pcard { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 12px 16px; color: var(--text); text-decoration: none; transition: transform 0.14s, border-color 0.14s; }
.pcard:hover { transform: translateY(-4px); border-color: var(--green); }
.shot { position: relative; display: block; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: radial-gradient(closest-side at 50% 58%, #2a3542, #161c24 78%); }
.shot.three, .gallery .main.three { background: radial-gradient(closest-side at 50% 58%, #1f3a2c, #131b18 78%); }
.shot img { width: 100%; height: 100%; object-fit: contain; }
.badge { position: absolute; top: 10px; left: 10px; font-size: 0.74rem; font-weight: 800; padding: 3px 10px; border-radius: 99px; background: rgba(11, 13, 16, 0.82); border: 1px solid var(--line); color: var(--text); }
.badge.b3 { color: var(--green-2); border-color: rgba(74, 222, 128, 0.45); }
.badge.star { left: auto; right: 10px; color: var(--amber); border-color: rgba(251, 191, 36, 0.45); }
.badge.inline { position: static; display: inline-block; margin-right: 8px; background: var(--panel-2); }
.pname { font-weight: 800; font-size: 1.1rem; margin-top: 14px; padding-inline: 4px; }
.pdesc { color: var(--muted); font-size: 0.92rem; margin-top: 4px; padding-inline: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prow { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding: 14px 4px 0; }
.price { font-weight: 800; font-size: 1.05rem; white-space: nowrap; }
.prow { gap: 8px; }
.more { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.price.free, .pprice.free { color: var(--green-2); }
.more { color: var(--muted); font-size: 0.86rem; }
.pcard:hover .more { color: var(--green-2); }
.empty { color: var(--muted); margin-top: 28px; padding: 28px; border: 1px dashed var(--line); border-radius: var(--radius); text-align: center; }

.free { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.free figure { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 10px; text-align: center; }
.free img { margin-inline: auto; }
.free figcaption b { display: block; }
.free figcaption span { color: var(--muted); font-size: 0.84rem; }

/* ---- pricing ---- */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 22px; margin-top: 40px; }
.plan { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; }
.plan.best { border-color: var(--green); box-shadow: 0 0 0 1px var(--green), 0 24px 60px -30px rgba(34, 197, 94, 0.55); }
.ribbon { position: absolute; top: -13px; right: 24px; background: var(--green); color: var(--green-ink); font-weight: 800; font-size: 0.8rem; padding: 4px 14px; border-radius: 99px; }
.amount { font-size: 2.6rem; font-weight: 800; margin: 10px 0 18px; letter-spacing: -0.03em; }
.plan ul, .privacy ul, .facts { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 11px; flex: 1; align-content: start; }
.plan li, .privacy li, .facts li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.99rem; }
.plan li .ico, .privacy li .ico, .facts li .ico { color: var(--green-2); margin-top: 0.2em; }

.privacy { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; align-items: center; }
.privacy > div .ico { width: 52px; height: 52px; padding: 12px; border-radius: 14px; background: rgba(34, 197, 94, 0.13); color: var(--green-2); margin-bottom: 18px; }
.privacy ul { margin: 0; }

details { border-bottom: 1px solid var(--line); padding: 4px 0; }
details:first-of-type { margin-top: 28px; border-top: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; padding: 16px 34px 16px 0; list-style: none; position: relative; font-size: 1.06rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); color: var(--green-2); font-size: 1.5rem; font-weight: 400; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); padding: 0 0 18px; max-width: 70ch; }
.final { background: radial-gradient(700px 320px at 50% 100%, rgba(34, 197, 94, 0.18), transparent 70%); }
.final h2 { margin-top: 12px; }

/* ---- store ---- */
.filters { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; align-items: center; }
input[type="search"], input[type="text"], input[type="email"], input[type="password"] { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; color: var(--text); font: inherit; width: 100%; }
.filters input { max-width: 340px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { background: var(--panel); border: 1px solid var(--line); border-radius: 99px; padding: 8px 16px; color: var(--muted); font: inherit; font-weight: 700; font-size: 0.92rem; cursor: pointer; }
.chip:hover { color: var(--text); }
.chip[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--green-ink); }

/* ---- product page ---- */
.crumbs { color: var(--muted); font-size: 0.92rem; margin-bottom: 22px; }
.crumbs a { color: var(--muted); }
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: start; }
.gallery .main { aspect-ratio: 1; border-radius: 22px; border: 1px solid var(--line); background: radial-gradient(closest-side at 50% 58%, #2a3542, #161c24 78%); overflow: hidden; }
.gallery .main img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumbs button { width: 84px; height: 84px; padding: 0; border-radius: 12px; border: 2px solid var(--line); background: var(--panel); cursor: pointer; overflow: hidden; }
.thumbs button[aria-pressed="true"] { border-color: var(--green); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pinfo h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 12px 0 6px; }
.pprice { font-size: 2rem; font-weight: 800; margin: 16px 0 12px; }
.ptext { color: #c3ccd6; white-space: pre-line; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.tags span { font-size: 0.84rem; color: var(--muted); border: 1px solid var(--line); border-radius: 99px; padding: 3px 12px; }
.trybox { margin-top: 28px; background: rgba(34, 197, 94, 0.07); border: 1px solid rgba(74, 222, 128, 0.3); border-radius: var(--radius); padding: 22px 24px; }
.trybox h2 { font-size: 1.1rem; display: flex; align-items: center; gap: 8px; color: var(--green-2); }
.trybox ol { margin: 12px 0 0; padding-left: 22px; color: #c3ccd6; display: grid; gap: 6px; }
.facts { margin: 24px 0 0; color: var(--muted); }
.msg { margin-top: 14px; padding: 11px 14px; border-radius: 12px; background: var(--panel-2); border-left: 4px solid var(--muted); font-size: 0.97rem; }
.msg.ok { border-left-color: var(--green); }
.msg.bad { border-left-color: var(--bad); }

/* ---- account ---- */
.authgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin-top: 28px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin-top: 20px; }
.authgrid .panel { margin-top: 0; }
.panel h2 { font-size: 1.3rem; margin-bottom: 8px; }
.panel label { display: block; color: var(--muted); font-size: 0.9rem; margin: 14px 0 6px; }
.panel form .btn, form.panel .btn { margin-top: 20px; }
.who { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; }
.who .email { font-weight: 800; font-size: 1.15rem; overflow-wrap: anywhere; }
.who .btn { margin-left: auto; }
#signedIn > h2 { font-size: 1.4rem; margin: 44px 0 6px; }
.tablewrap { overflow-x: auto; margin-top: 12px; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
th { color: var(--muted); font-weight: 600; font-size: 0.86rem; background: var(--panel); }
.notes { white-space: pre-line; color: #c3ccd6; margin: 10px 0 24px; }
.steps.col + h2, .steps.col + .muted { margin-top: 36px; }

/* ---- footer ---- */
.foot { border-top: 1px solid var(--line); padding: 52px 0 28px; background: var(--bg-2); font-size: 0.95rem; }
.footgrid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot h2 { font-size: 0.84rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 12px; }
.foot nav a { display: block; color: var(--text); text-decoration: none; padding: 4px 0; }
.foot nav a:hover { color: var(--green-2); }
.foot p { margin-top: 12px; max-width: 34ch; }
.copy { color: var(--muted); margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.88rem; }

@media (max-width: 980px) {
  .herogrid, .product, .privacy { grid-template-columns: 1fr; }
  .stage { max-width: 420px; }
  .feats, .steps { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .free { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footgrid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .links { display: none; }
  .bar { justify-content: space-between; gap: 12px; }
  .actions .ghost { padding-inline: 8px; }
  .hero { padding: 44px 0 40px; }
  .band { padding: 56px 0; }
  .feats, .steps, .plans, .authgrid { grid-template-columns: 1fr; }
  .pgrid, .pgrid.small { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
  .free { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .more { display: none; }
  .stage .hint { font-size: 0.8rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .pcard { transition: none; }
}

/* The studio showcase on the home page. */
.kicker.new { margin-left: 8px; text-decoration: none; color: #fde68a; border-color: rgba(253, 230, 138, 0.4); background: rgba(253, 230, 138, 0.08); }
.kicker.new:hover { background: rgba(253, 230, 138, 0.16); }
.studio { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.studio figure { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform 0.15s, border-color 0.15s; }
.studio figure:hover { transform: translateY(-3px); border-color: rgba(74, 222, 128, 0.5); }
.studio img { display: block; width: 100%; height: auto; }
.studio figcaption { padding: 10px 14px; font-weight: 600; font-size: 0.93rem; color: var(--muted); }
.chipsrow { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding: 0; }
.chipsrow li { border: 1px solid var(--line); background: var(--panel-2); border-radius: 99px; padding: 6px 14px; font-size: 0.92rem; font-weight: 600; }
@media (max-width: 760px) { .studio { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* The store's pages. Without the script every character is listed on one page. */
.count { color: var(--muted); font-size: 0.93rem; margin: 0 0 16px; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 36px; }
.pager .chip[aria-current="page"] { background: var(--green); border-color: var(--green); color: var(--green-ink); }
.pager .chip:disabled { opacity: 0.4; cursor: default; }
[data-product][hidden] { display: none; }

/* The download page, seen from a phone or a computer that is not Windows. */
.otherdevice { margin: 22px auto 0; max-width: 46ch; padding: 16px 18px; border: 1px solid rgba(253, 230, 138, 0.4); background: rgba(253, 230, 138, 0.07); border-radius: var(--radius); }
.otherdevice p { margin: 0 0 12px; }
.otherdevice .msg { margin: 12px 0 0; color: var(--muted); font-size: 0.92rem; word-break: break-all; }

/* The guide. */
.tablewrap { overflow-x: auto; margin: 18px 0 8px; }
table.plain { width: 100%; border-collapse: collapse; font-size: 0.96rem; }
table.plain th, table.plain td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.plain th { color: var(--muted); font-weight: 600; }
table.plain code { font-size: 0.9em; word-break: break-all; }
ul.ticks { list-style: none; padding: 0; margin: 16px 0 28px; display: grid; gap: 10px; }
ul.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.feat a { color: var(--green-2); }

/* The makers' own account of the product, and where to write. */
.frank { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 28px 0 24px; }
.frank article { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.frank h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; }
.frank ul { margin: 0; padding-left: 20px; color: var(--muted); display: grid; gap: 8px; }
.band .sub a, .foot .help a { color: var(--green-2); }
.foot .help { color: var(--muted); padding-top: 18px; font-size: 0.95rem; }
@media (max-width: 760px) { .frank { grid-template-columns: 1fr; } }

/* A forgotten password. */
.linkbtn { background: none; border: 0; padding: 6px 0; color: var(--green-2); font: inherit; font-size: 0.93rem; cursor: pointer; text-align: left; }
.linkbtn:hover { text-decoration: underline; }
#forgotForm { grid-column: 1 / -1; max-width: 30rem; }
#forgotForm > div { display: grid; gap: 10px; }
#forgotCode { letter-spacing: 0.4em; font-size: 1.3rem; text-align: center; }

/* ---------------- the account page ---------------- */
.account { padding-top: 48px; }
.authwrap { display: grid; grid-template-columns: minmax(0, 26rem) minmax(0, 1fr); gap: 56px; align-items: center; max-width: 60rem; }
.authcard { margin-top: 0; padding: 0 0 26px; overflow: hidden; }
.authcard form { padding: 22px 28px 0; }
.authcard h1 { font-size: 1.55rem; margin: 0 0 6px; }
.authcard label { display: block; color: var(--muted); font-size: 0.9rem; margin: 16px 0 6px; }
.authcard .btn.wide { width: 100%; margin-top: 22px; }
.authcard .linkbtn { display: block; margin-top: 12px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.tabs button { background: none; border: 0; border-bottom: 3px solid transparent; padding: 16px 12px 13px; font: inherit; font-weight: 700; color: var(--muted); cursor: pointer; }
.tabs button:hover { color: var(--text); }
.tabs button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--green); }
.pwfield { position: relative; }
.pwfield input { padding-right: 4.2rem; }
.eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--muted); font: inherit; font-size: 0.86rem; font-weight: 700; padding: 6px 10px; border-radius: 8px; cursor: pointer; }
.eye:hover { color: var(--text); background: var(--panel-2); }
.hint { color: var(--muted); font-size: 0.86rem; margin: 8px 0 0; }
.small { font-size: 0.9rem; }
.authside { text-align: left; }
.authside img { margin-bottom: 8px; }
.authside h2 { font-size: 1.5rem; margin-bottom: 6px; }
#forgotForm { max-width: none; }

.dash { max-width: 62rem; }
.profile { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 0; }
.avatar { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 1.4rem; color: var(--green-ink); background: linear-gradient(135deg, var(--green-2), var(--green)); }
.profile .who { display: block; flex: 1; min-width: 12rem; }
.profile .who p { margin: 0; }
.profile .email { font-weight: 800; font-size: 1.2rem; overflow-wrap: anywhere; }
.profile .actions { display: flex; gap: 10px; flex-wrap: wrap; }
.profile .who .btn, .who .btn { margin-left: 0; }
.planbadge { display: inline-block; border: 1px solid var(--line); border-radius: 99px; padding: 1px 10px; font-size: 0.82rem; font-weight: 700; color: var(--text); }
.planbadge.pro { border-color: transparent; color: #1a1205; background: linear-gradient(135deg, #fde68a, #f59e0b); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.stat { display: block; text-decoration: none; color: inherit; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; transition: border-color 0.15s, transform 0.15s; }
.stat:hover { border-color: rgba(74, 222, 128, 0.5); transform: translateY(-2px); }
.stat b { display: block; font-size: 1.9rem; line-height: 1.1; }
.stat span { color: var(--muted); font-size: 0.93rem; }
.upsell { display: flex; gap: 28px; align-items: center; justify-content: space-between; flex-wrap: wrap; border-color: rgba(245, 158, 11, 0.45); background: linear-gradient(135deg, rgba(245, 158, 11, 0.09), transparent 60%), var(--panel); }
.upsell h2, .hasPro h2 { display: flex; align-items: center; gap: 10px; }
.upsell .buy { text-align: center; min-width: 11rem; }
.upsell .amount { font-size: 2rem; font-weight: 800; margin: 0; }
.upsell .buy .muted { margin: 0 0 12px; }
ul.ticks.two { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 12px 0 0; }
.block { margin-top: 44px; scroll-margin-top: 90px; }
.block > h2, .block .headrow h2 { font-size: 1.35rem; margin: 0; }
.block .headrow { margin-bottom: 4px; }
.emptystate { text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); padding: 30px 20px; margin-top: 14px; }
.emptystate p { margin: 6px 0; }
.emptystate .btn { margin-top: 10px; }
.status { display: inline-block; border-radius: 99px; padding: 2px 10px; font-size: 0.84rem; font-weight: 700; border: 1px solid var(--line); }
.status.ok { color: var(--green-2); border-color: rgba(74, 222, 128, 0.4); background: rgba(34, 197, 94, 0.09); }
.status.wait { color: #fde68a; border-color: rgba(253, 230, 138, 0.4); background: rgba(253, 230, 138, 0.07); }
.status.muted { color: var(--muted); }
.pwchange h3 { margin: 0 0 4px; }
.pwchange .two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pwchange .btn { margin-top: 18px; }
@media (max-width: 860px) {
  .authwrap { grid-template-columns: 1fr; gap: 28px; }
  .authside { order: 2; text-align: center; }
  .authside .ticks { text-align: left; }
  .stats { grid-template-columns: 1fr; }
  .stat { display: flex; align-items: baseline; gap: 12px; }
  ul.ticks.two, .pwchange .two { grid-template-columns: 1fr; }
  .upsell .buy { text-align: left; }
}
.upsell > div:first-child { flex: 1 1 22rem; min-width: 0; }
.upsell .buy { flex: none; }
