/* Edition n10 «Консультант» (layouts chosen 30.09.2026, home variation 10). Since 01.10.2026 it
   wears the main site's single tone (owner's choice "A"): night sky on every page, glass blocks,
   the main site's gold drawings on dark discs with a warm halo, champagne capitals in headings.
   The --paper-* names are kept from the light version; they now hold the night colours. */

html[data-edition=n10] {
  --paper: #0b0f24;
  --paper-2: rgba(255,255,255,.045);
  --paper-line: rgba(233,214,170,.14);
  --paper-ink: #f3ede4;
  --paper-mute: #aeaac6;
  --paper-gold: #e5c47e;
  --gold: #e5c47e;
  --gold-fill: linear-gradient(135deg, #f3d99b 0%, #c89a4a 100%);
  --gold-ink: #1b1305;
  --glass: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.015));
  --ok: #8fd6a6;
  --font-serif: "Cormorant Garamond", Georgia, serif;
}

/* ---------- one night tone for the content area ---------- */
html[data-edition=n10] .content,
html[data-edition=n10] .n-hero {
  color-scheme: dark;
  --bg: #0b0f24;
  --bg-2: #121836;
  --surface: #151c3d;
  --ink: #f3ede4;
  --ink-2: #aeaac6;
  --ink-3: #7c7898;
  --line: rgba(233,214,170,.14);
  --hover: rgba(233,214,170,.08);
  --accent: var(--gold);
  --accent-fill: var(--gold-fill);
  --accent-ink: var(--gold-ink);
  --field-bg: rgba(255,255,255,.05);
  --field-line: rgba(233,214,170,.24);
  --form-bg: rgba(255,255,255,.04);
  --focus: rgba(229,196,126,.25);
  --btn-shadow: 0 10px 30px -10px rgba(229,180,90,.55);
  --bubble: #1b2350;
  --tag-bg: rgba(229,196,126,.12);
  color: var(--ink);
}
/* The body already carries the star dust (b.css); the content lets it show through. */
html[data-edition=n10] .content { background: transparent; }
html[data-edition=n10] .nx-theme { display: none; }

/* ---------- page frame ---------- */
html[data-edition=n10] .content { padding-top: 0; }
html[data-edition=n10] .n10 {
  margin: 0 calc(50% - 50vw) -56px;
  font-size: 15px;
  line-height: 1.55;
}
html[data-edition=n10] .n-in { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); }
html[data-edition=n10] .n-in.wide { max-width: 1100px; }
html[data-edition=n10] .n-hero {
  padding: 26px 0 30px;
  background:
    radial-gradient(1.2px 1.2px at 12% 22%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 63% 82%, #fff 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 82% 30%, #f6e7c4 50%, transparent 51%),
    radial-gradient(60% 80% at 85% 10%, rgba(118,74,160,.45) 0%, transparent 70%),
    radial-gradient(50% 60% at 5% 100%, rgba(40,90,160,.25) 0%, transparent 70%);
}
html[data-edition=n10] .n-paper { background: transparent; color: var(--ink); padding: 6px 0 56px; }
html[data-edition=n10] .n-sec { padding: 26px 0; border-top: 1px solid var(--line); }
html[data-edition=n10] .n-paper .n-in > .n-sec:first-child { border-top: 0; }
html[data-edition=n10] .n-center { text-align: center; }

/* ---------- type ---------- */
html[data-edition=n10] .n10 h1, html[data-edition=n10] .n10 h2, html[data-edition=n10] .n10 h3 { margin: 0; color: inherit; }
html[data-edition=n10] .n-kicker {
  margin: 0 0 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent);
}
html[data-edition=n10] .n-title {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: .03em;
  font-size: clamp(28px, 6vw, 44px); line-height: 1.08;
}
html[data-edition=n10] .n-serif {
  font-family: var(--font-serif); font-weight: 600; text-transform: none; letter-spacing: 0;
  font-size: clamp(26px, 4vw, 32px); line-height: 1.1;
}
html[data-edition=n10] .n-lead { color: var(--ink-2); margin: 10px 0 0; font-size: 16px; }
html[data-edition=n10] .n-mute { color: var(--ink-2); font-size: 13.5px; }
html[data-edition=n10] .n-txt { margin: 0 0 10px; font-size: 15.5px; line-height: 1.65; }
html[data-edition=n10] .n-txt:last-child { margin-bottom: 0; }
html[data-edition=n10] .n-link { color: var(--accent); font-weight: 700; font-size: 14px; text-decoration: none; }
html[data-edition=n10] .n-link:hover { text-decoration: underline; }
html[data-edition=n10] .n-crumbs { font-size: 12.5px; color: var(--ink-2); margin: 0 0 10px; }
html[data-edition=n10] .n-crumbs a { color: var(--ink-2); }
html[data-edition=n10] .n-back {
  display: inline-grid; place-items: center; width: 36px; height: 36px; margin-bottom: 12px;
  border-radius: 50%; border: 1px solid var(--line); color: var(--ink); text-decoration: none;
}
html[data-edition=n10] .n10 svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- buttons ---------- */
html[data-edition=n10] .n-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  min-height: 52px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  background: var(--gold-fill); color: var(--gold-ink); font: 700 16px/1.1 var(--font-body);
  text-decoration: none; cursor: pointer; box-shadow: var(--btn-shadow);
}
html[data-edition=n10] .n-btn:hover { filter: brightness(1.04); }
html[data-edition=n10] .n-btn.ghost { background: transparent; color: var(--accent); border-color: currentColor; box-shadow: none; }
html[data-edition=n10] .n-btn.auto { width: auto; display: inline-flex; }
html[data-edition=n10] .n-btns { display: grid; gap: 10px; }
@media (min-width: 640px) { html[data-edition=n10] .n-btns.row { grid-template-columns: 1fr 1fr; } }

/* ---------- consultant pieces ---------- */
html[data-edition=n10] .n-chathead { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; }
html[data-edition=n10] .n-face {
  width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--gold); background: #f2d6cb center/82% no-repeat;
  flex: none; overflow: hidden; display: grid; place-items: center;
}
html[data-edition=n10] .n-face img { width: 86%; height: auto; }
html[data-edition=n10] .n-face.sm { width: 36px; height: 36px; }
html[data-edition=n10] .n-chathead b { display: block; font-size: 17px; }
html[data-edition=n10] .n-online { font-size: 13px; color: var(--ok); }
html[data-edition=n10] .n-chat { display: grid; gap: 10px; margin-top: 14px; }
html[data-edition=n10] .n-msg { max-width: 88%; padding: 12px 15px; border-radius: 18px; font-size: 15px; line-height: 1.55; }
html[data-edition=n10] .n-msg p { margin: 0 0 8px; } html[data-edition=n10] .n-msg p:last-child { margin: 0; }
html[data-edition=n10] .n-msg ul { margin: 0 0 8px; padding-left: 18px; }
html[data-edition=n10] .n-msg.me { justify-self: end; background: var(--gold-fill); color: var(--gold-ink); border-bottom-right-radius: 6px; }
html[data-edition=n10] .n-msg.bot { background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
html[data-edition=n10] .n-who { display: flex; gap: 10px; align-items: center; }
html[data-edition=n10] .n-who b { display: block; font-size: 13.5px; }
html[data-edition=n10] .n-who span { font-size: 12px; color: var(--ink-2); }
html[data-edition=n10] .n-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
html[data-edition=n10] .n-chip {
  font: 600 13.5px/1.2 var(--font-body); padding: 9px 14px; border-radius: 999px; border: 1px solid var(--accent);
  color: var(--accent); background: transparent; text-decoration: none; cursor: pointer;
}
html[data-edition=n10] .n-chip:hover { background: var(--hover); }
html[data-edition=n10] .n-ask {
  display: flex; align-items: center; gap: 8px; margin-top: 16px; padding: 6px 6px 6px 18px;
  border-radius: 999px; background: var(--bg-2); border: 1px solid var(--gold);
}
html[data-edition=n10] .n-ask input {
  flex: 1; min-width: 0; min-height: 44px !important; padding: 0 !important; border: 0 !important; background: transparent !important;
  color: var(--ink) !important; font: 500 16px var(--font-body) !important; box-shadow: none !important; outline: none;
}
html[data-edition=n10] .n-send {
  width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--gold-fill); color: var(--gold-ink);
  display: grid; place-items: center; flex: none; cursor: pointer;
}
html[data-edition=n10] .n-send svg { width: 20px; height: 20px; stroke-width: 2.2; }
html[data-edition=n10] .n-hint { font-size: 13px; color: var(--ink-2); margin: 10px 0 0; display: flex; gap: 14px; flex-wrap: wrap; }
html[data-edition=n10] .n-hint b { color: var(--accent); }
/* The "ask the consultant" card that closes every calculation. */
html[data-edition=n10] .n-askcard {
  display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center;
  padding: 14px 16px; border-radius: 20px; background: var(--glass); border: 1px solid var(--gold); color: var(--ink); text-decoration: none;
}
html[data-edition=n10] .n-askcard b { display: block; font-size: 15px; }
html[data-edition=n10] .n-askcard small { font-size: 12.5px; color: var(--ink-2); }
html[data-edition=n10] .n-askcard i {
  width: 40px; height: 40px; border-radius: 50%; background: var(--gold-fill); color: var(--gold-ink); display: grid; place-items: center; font-style: normal;
}
html[data-edition=n10] .n-askcard:hover { filter: brightness(1.08); }
html[data-edition=n10] .n-av {
  width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: var(--gold-ink);
  display: grid; place-items: center; font-weight: 800; font-size: 15px; flex: none;
}
html[data-edition=n10] .n-hero .n-av, html[data-edition=n10] .n-askcard .n-av { background: var(--gold); }

/* ---------- tiles, rows, lists ---------- */
html[data-edition=n10] .n-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
@media (min-width: 900px) { html[data-edition=n10] .n-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }
html[data-edition=n10] .n-tile {
  display: grid; gap: 6px; align-content: start; padding: 16px; border-radius: 18px;
  border: 1px solid var(--line); background: var(--glass); color: inherit; text-decoration: none;
  transition: border-color .15s ease, transform .15s ease;
}
html[data-edition=n10] a.n-tile:hover { border-color: var(--gold); transform: translateY(-2px); }
html[data-edition=n10] .n-tile b { font-size: 15px; }
html[data-edition=n10] .n-tile span { font-size: 13px; color: var(--ink-2); line-height: 1.45; }
html[data-edition=n10] .n-ic {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; flex: none;
  /* The main site's icon disc: deep night with a warm halo. */
  background: #10142e; color: var(--gold);
  box-shadow: 0 0 0 2px rgba(150,60,70,.35), 0 0 12px 2px rgba(190,80,80,.28);
}
html[data-edition=n10] .n-rows { display: grid; }
html[data-edition=n10] .n-row {
  display: grid; grid-template-columns: 38px 1fr 18px; gap: 12px; align-items: center; padding: 12px 0;
  border-bottom: 1px solid var(--line); color: inherit; text-decoration: none;
}
html[data-edition=n10] .n-row b { display: block; font-size: 15px; }
html[data-edition=n10] .n-row span { font-size: 13px; color: var(--ink-2); }
html[data-edition=n10] .n-row > i { color: var(--accent); display: grid; }
html[data-edition=n10] .n-bul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
html[data-edition=n10] .n-bul li { position: relative; padding-left: 20px; font-size: 15px; }
html[data-edition=n10] .n-bul li::before { content: ""; position: absolute; left: 3px; top: .55em; width: 7px; height: 7px; transform: rotate(45deg); background: var(--gold); }
html[data-edition=n10] .n-pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
html[data-edition=n10] .n-pills > * {
  font-size: 13px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: inherit; text-decoration: none;
}
html[data-edition=n10] a.n-pill:hover, html[data-edition=n10] .n-pills a:hover { border-color: var(--gold); }

/* people with a compatibility figure */
html[data-edition=n10] .n-people { display: grid; gap: 8px; }
html[data-edition=n10] .n-pp {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 16px;
  border: 1px solid var(--line); background: var(--surface); color: inherit; text-decoration: none;
}
html[data-edition=n10] .n-pp > div { flex: 1; min-width: 0; }
html[data-edition=n10] .n-pp b { display: block; font-size: 15px; }
html[data-edition=n10] .n-pp span:not(.n-av) { font-size: 13px; color: var(--ink-2); }
html[data-edition=n10] .n-pp em { font-style: normal; font-weight: 800; color: var(--accent); font-variant-numeric: lining-nums tabular-nums; }

/* ---------- plans ---------- */
html[data-edition=n10] .n-plans { display: grid; gap: 10px; margin-top: 16px; }
html[data-edition=n10] .n-plan {
  display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: baseline;
  padding: 15px 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); color: inherit; text-decoration: none;
}
html[data-edition=n10] .n-plan b { font-size: 16px; }
html[data-edition=n10] .n-plan .n-price { font-family: var(--font-serif); font-size: 26px; font-weight: 600; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
html[data-edition=n10] .n-plan .n-pd { grid-column: 1 / -1; font-size: 13.5px; color: var(--ink-2); }
html[data-edition=n10] .n-plan.best { border-color: var(--gold); background: linear-gradient(180deg, rgba(229,196,126,.09), rgba(229,196,126,.02)); }
html[data-edition=n10] .n-plan .n-tag {
  grid-column: 1 / -1; justify-self: start; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 800;
  color: var(--gold-ink); background: var(--gold); padding: 3px 8px; border-radius: 999px; margin-bottom: 4px;
}
html[data-edition=n10] .n-plan form, html[data-edition=n10] .n-plan .n-act { grid-column: 1 / -1; margin-top: 10px; }
html[data-edition=n10] .n-plan.on { border-color: #4f9a6a; }
html[data-edition=n10] .n-free {
  margin-top: 12px; padding: 12px 14px; border-radius: 14px; border: 1px dashed var(--gold); color: var(--accent); font-size: 14px; font-weight: 700; text-align: center;
}

/* ---------- forms ---------- */
html[data-edition=n10] .n-date { display: grid; grid-template-columns: 1fr 1.6fr 1.2fr; gap: 8px; margin-top: 14px; }
html[data-edition=n10] .n-date label, html[data-edition=n10] .n-field { display: grid; gap: 4px; margin: 0; }
html[data-edition=n10] .n-date label span, html[data-edition=n10] .n-field > span { font-size: 12px; color: var(--ink-2); padding-left: 4px; }
html[data-edition=n10] .n-form { display: grid; gap: 12px; }
html[data-edition=n10] .n-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); }
html[data-edition=n10] .n-check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: #c89a4a; }
html[data-edition=n10] .n-err { padding: 10px 14px; border-radius: 12px; background: rgba(200,80,60,.18); color: #ffc9bf; font-size: 14px; }
html[data-edition=n10] .n-info { padding: 10px 14px; border-radius: 12px; background: rgba(143,214,166,.14); color: #bfe9cc; font-size: 14px; }
html[data-edition=n10] .n-code {
  letter-spacing: .5em; text-align: center; font-size: 26px !important; font-weight: 700 !important; font-variant-numeric: lining-nums tabular-nums;
}
html[data-edition=n10] .n-gift {
  display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px;
  border: 1px dashed var(--gold); color: var(--gold); font-size: 14.5px; font-weight: 700; margin-top: 14px;
}
html[data-edition=n10] .n-gift svg { width: 26px; height: 26px; flex: none; }
html[data-edition=n10] .n-checkdate { margin-top: 18px; padding: 14px; border-radius: 18px; border: 1px solid var(--gold); background: #17193a; }
html[data-edition=n10] .n-checkdate b { font-size: 15px; }
html[data-edition=n10] .n-checkdate .n-btn { margin-top: 10px; }
@media (max-width: 420px) {
  html[data-edition=n10] .n-date { grid-template-columns: 1fr 1fr; }
  html[data-edition=n10] .n-date .n-month { grid-column: 1 / -1; order: -1; }
}

/* ---------- cards and calculation pieces ---------- */
html[data-edition=n10] .n-cardhero { display: flex; justify-content: center; margin-top: 18px; }
html[data-edition=n10] .n-cardhero img { width: 150px; filter: drop-shadow(0 18px 30px rgba(0,0,0,.55)); }
html[data-edition=n10] .n-cardimg { width: 64px; flex: none; filter: drop-shadow(0 6px 12px rgba(120,80,60,.25)); }
html[data-edition=n10] .n-rich { font-size: 15.5px; line-height: 1.7; }
html[data-edition=n10] .n-rich p { margin: 0 0 12px; }
html[data-edition=n10] .n-rich :where(span, p, div) { color: inherit !important; font: inherit !important; background: none !important; }
html[data-edition=n10] .n-famous { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 12px; margin-top: 12px; }
html[data-edition=n10] .n-famous a { display: grid; gap: 6px; justify-items: center; text-align: center; color: inherit; text-decoration: none; font-size: 13px; }
html[data-edition=n10] .n-famous img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
html[data-edition=n10] details.n-acc { border-bottom: 1px solid var(--line); padding: 14px 0; }
html[data-edition=n10] details.n-acc > summary {
  list-style: none; display: grid; grid-template-columns: auto 1fr 18px; gap: 12px; align-items: center; cursor: pointer; font-weight: 700; font-size: 15.5px;
}
html[data-edition=n10] details.n-acc > summary::-webkit-details-marker { display: none; }
html[data-edition=n10] details.n-acc > summary::after { content: "+"; color: var(--gold); font-size: 20px; line-height: 1; text-align: center; }
html[data-edition=n10] details.n-acc[open] > summary::after { content: "−"; }
html[data-edition=n10] details.n-acc > summary small { display: block; font-weight: 600; font-size: 12.5px; color: var(--accent); }
html[data-edition=n10] details.n-acc .n-accbody { padding: 10px 0 0 50px; }
@media (max-width: 480px) { html[data-edition=n10] details.n-acc .n-accbody { padding-left: 0; } }
/* current period */
html[data-edition=n10] .n-now { margin-top: 16px; padding: 16px; border-radius: 20px; border: 1px solid var(--gold); background: #17193a; }
html[data-edition=n10] .n-nowrow { display: flex; gap: 14px; align-items: center; }
html[data-edition=n10] .n-nowrow img { width: 64px; flex: none; }
html[data-edition=n10] .n-progress { height: 6px; border-radius: 99px; background: rgba(233,214,170,.16); margin: 14px 0 6px; overflow: hidden; }
html[data-edition=n10] .n-progress i { display: block; height: 100%; background: var(--gold-fill); }
/* compatibility */
html[data-edition=n10] .n-pair { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 18px; }
html[data-edition=n10] .n-pair img { width: 96px; filter: drop-shadow(0 12px 22px rgba(0,0,0,.5)); }
html[data-edition=n10] .n-amp { color: var(--gold); font-size: 24px; }
html[data-edition=n10] .n-pairnames { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; font-size: 13px; color: var(--ink-2); margin-top: 10px; text-align: center; }
html[data-edition=n10] .n-rings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; text-align: center; }
html[data-edition=n10] .n-rings > div { display: grid; justify-items: center; gap: 6px; }
html[data-edition=n10] .n-ring {
  --v: 50%; width: 100%; max-width: 96px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(closest-side, #0e1330 78%, transparent 80% 100%), conic-gradient(var(--gold) var(--v), rgba(233,214,170,.14) 0);
}
html[data-edition=n10] .n-ring b { font-family: var(--font-serif); font-size: 24px; font-weight: 600; }
html[data-edition=n10] .n-rings span { font-size: 12.5px; color: var(--ink-2); }
html[data-edition=n10] .n-motto { font-family: var(--font-serif); font-size: 22px; line-height: 1.3; margin: 0; }
/* vocation */
html[data-edition=n10] .n-arc3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
html[data-edition=n10] .n-arc3 a {
  border-radius: 16px; border: 1px solid var(--line); background: var(--surface); padding: 14px 8px; text-align: center;
  display: grid; gap: 4px; color: inherit; text-decoration: none;
}
html[data-edition=n10] .n-arc3 b { color: var(--accent); display: grid; place-items: center; }
html[data-edition=n10] .n-arc3 b svg { width: 26px; height: 26px; }
html[data-edition=n10] .n-arc3 span { font-weight: 700; color: var(--ink) !important; }
html[data-edition=n10] .n-arc3 span { font-size: 12.5px; color: var(--ink-2); }
/* calendar */
html[data-edition=n10] .n-found { display: flex; gap: 14px; align-items: center; }
html[data-edition=n10] .n-found b { display: block; font-size: 16px; }
html[data-edition=n10] .n-all52 { display: grid; grid-template-columns: repeat(auto-fill, minmax(46px, 1fr)); gap: 6px; margin-top: 12px; }
html[data-edition=n10] .n-all52 a {
  height: 52px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; font-size: 14px;
  border: 1px solid var(--line); background: var(--glass); color: var(--ink); text-decoration: none;
}
html[data-edition=n10] .n-all52 a.red { color: #f08a7e; }
html[data-edition=n10] .n-all52 a:hover { border-color: var(--gold); }
/* timeline */
html[data-edition=n10] .n-timeline { display: grid; margin: 0; padding: 0; list-style: none; }
html[data-edition=n10] .n-tl { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding-bottom: 18px; position: relative; }
html[data-edition=n10] .n-tl::before { content: ""; position: absolute; left: 5px; top: 16px; bottom: 0; width: 2px; background: var(--line); }
html[data-edition=n10] .n-tl:last-child::before { display: none; }
html[data-edition=n10] .n-tl > i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(233,214,170,.4); margin-top: 5px; background: #0b0f24; z-index: 1; }
html[data-edition=n10] .n-tl.on > i { border-color: var(--gold); background: var(--gold); box-shadow: 0 0 0 4px rgba(229,196,126,.2); }
html[data-edition=n10] .n-tl b { display: block; font-size: 16px; }
html[data-edition=n10] .n-tl.on b { color: var(--accent); }
html[data-edition=n10] .n-tl p { margin: 4px 0 0; color: var(--ink-2); font-size: 14.5px; }
/* cabinet */
html[data-edition=n10] .n-dash { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
html[data-edition=n10] .n-dash > * { border-radius: 16px; border: 1px solid var(--line); background: var(--surface); padding: 14px; display: grid; color: inherit; text-decoration: none; }
html[data-edition=n10] .n-dash small { font-size: 12px; color: var(--ink-2); }
html[data-edition=n10] .n-dash b { font-family: var(--font-serif); font-size: 24px; font-weight: 600; line-height: 1.15; }
html[data-edition=n10] .n-dash span { font-size: 12.5px; color: var(--ink-2); }
html[data-edition=n10] .n-okmark {
  width: 76px; height: 76px; border-radius: 50%; margin: 6px auto 14px; display: grid; place-items: center;
  font-size: 36px; color: var(--gold-ink); background: var(--gold-fill);
}
html[data-edition=n10] .n-dropcap::first-letter { font-family: var(--font-serif); font-size: 50px; float: left; line-height: .9; padding: 4px 8px 0 0; color: var(--accent); }

/* Legacy blocks shown inside an n10 page (gates, product cards) sit in the column without their own frame. */
html[data-edition=n10] .n-paper .gate { margin: 0; }
html[data-edition=n10] .n-story { display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: start; margin-top: 14px; }
html[data-edition=n10] .n-story img { width: 72px; transform: rotate(-6deg); filter: drop-shadow(0 8px 14px rgba(120,80,60,.25)); }
@media (min-width: 900px) {
  html[data-edition=n10] .n-home .n-hero { padding: 48px 0 56px; }
  html[data-edition=n10] .n-home-dialog .n-chat { max-width: 640px; }
}
html[data-edition=n10] .n-pager { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
html[data-edition=n10] .n-qlist .n-row { cursor: pointer; grid-template-columns: 38px 1fr 22px; }
html[data-edition=n10] .n-qlist input { width: 20px; height: 20px; min-height: 0 !important; margin: 0; -webkit-appearance: auto !important; appearance: auto !important; padding: 0 !important; accent-color: #c89a4a; }
html[data-edition=n10] .n-qlist .n-row:has(input:checked) b { color: var(--accent); }
html[data-edition=n10] .n-codeactions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
html[data-edition=n10] .n-linkbtn { background: none; border: 0; padding: 0; color: var(--accent); font: 700 14px var(--font-body); cursor: pointer; }
html[data-edition=n10] .n-linkbtn:hover { text-decoration: underline; }
/* Cabinet pages keep their own blocks inside the column. */
html[data-edition=n10] .n-paper .uc2 { padding-top: 20px; }
html[data-edition=n10] .n-paper .uc2 > h1, html[data-edition=n10] .n-paper .uc2 > .cab-crumbs, html[data-edition=n10] .n-paper .uc2 > .cab-lead { display: none; }
/* Opening a person from the list above: the edit card opens itself. */
html[data-edition=n10] .cab-person:target { outline: 2px solid var(--gold); outline-offset: 2px; }
/* base.css dresses every submit button in the content as a big gold pill (with !important);
   the n10 buttons below keep their own shape. */
html[data-edition=n10] .content .n-send[type=submit] {
  width: 46px; height: 46px; min-height: 0 !important; padding: 0 !important; border: 0 !important;
  border-radius: 50% !important; box-shadow: none !important; flex: none;
}
html[data-edition=n10] .content .n-btn[type=submit] { width: 100%; font: 700 16px/1.1 var(--font-body) !important; }
html[data-edition=n10] .content .n-btn.ghost[type=submit] {
  background: transparent !important; color: var(--accent) !important; border-color: currentColor !important; box-shadow: none !important;
}
html[data-edition=n10] .content .n-linkbtn[type=submit] {
  min-height: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important;
  color: var(--accent) !important; box-shadow: none !important; font: 700 14px var(--font-body) !important; transform: none !important;
}
/* Cormorant draws old-style figures by default ("1 490" reads as "I 490"); prices and counters use lining ones. */
html[data-edition=n10] .n-price, html[data-edition=n10] .n-dash b, html[data-edition=n10] .n-ring b,
html[data-edition=n10] .n-serif, html[data-edition=n10] .n-motto { font-variant-numeric: lining-nums tabular-nums; }
@media (min-width: 900px) { html[data-edition=n10] .n-home .n-plans, html[data-edition=n10] .n-home .n-plans ~ * { max-width: 760px; } }

/* ---------- the main site's single tone: glass, gold drawings, champagne capitals ---------- */
/* Bold gold drawings (N10.Icon): their own fills and strokes, not the line-icon defaults. */
html[data-edition=n10] .n10 svg.n-bold { width: 24px; height: 24px; fill: none; stroke: none; }
html[data-edition=n10] .n-arc3 b svg.n-bold { width: 30px; height: 30px; }
html[data-edition=n10] .n-plan, html[data-edition=n10] .n-pp, html[data-edition=n10] .n-dash > *,
html[data-edition=n10] .n-arc3 a, html[data-edition=n10] .n-pills > * { background: var(--glass); }
/* Headings: capitals with the champagne-to-gold sheen of the main site's hero. */
html[data-edition=n10] .n-title {
  background: linear-gradient(90deg, #f7e9c8 0%, #ffffff 45%, #e9cf94 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
html[data-edition=n10] .n-serif {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: .03em;
  font-size: clamp(22px, 3.6vw, 30px); line-height: 1.12;
}
html[data-edition=n10] .n-tile b {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: .03em; font-size: 15.5px; line-height: 1.15; margin-top: 6px;
}
/* Long texts of a calculation and the sample conversation sit in glass, like on the main site. */
html[data-edition=n10] .n-sec > .n-rich, html[data-edition=n10] .n-home-dialog .n-chat {
  background: var(--glass); border: 1px solid var(--line); border-radius: 22px; padding: 18px;
}
html[data-edition=n10] .n-cardimg { filter: drop-shadow(0 8px 16px rgba(0,0,0,.5)); }
html[data-edition=n10] .n-story img { filter: drop-shadow(0 10px 18px rgba(0,0,0,.55)); }

/* ---------- sign-in by code (Views/Login/Code.cshtml): account picker, field errors, countdown ---------- */
html[data-edition=n10] .n-lc-addr { margin: 0; overflow-wrap: anywhere; }
html[data-edition=n10] .n-accounts { display: grid; gap: 8px; margin: 12px 0 0; }
/* An account is a submit button: base.css would make it a gold pill. It looks like a row of people instead. */
html[data-edition=n10] .content .n-account[type=submit] {
  display: grid; grid-template-columns: 40px minmax(0, 1fr) 18px; gap: 12px; align-items: center; justify-content: stretch;
  width: 100%; min-height: 0 !important; padding: 12px 14px !important; text-align: left;
  border: 1px solid var(--line) !important; border-radius: 16px !important; background: var(--glass) !important;
  box-shadow: none !important; color: var(--ink) !important; font: 400 14px/1.45 var(--font-body) !important;
  letter-spacing: normal !important; text-transform: none !important; transform: none !important;
}
html[data-edition=n10] .content .n-account[type=submit]:hover,
html[data-edition=n10] .content .n-account[type=submit]:focus-visible { border-color: var(--gold) !important; filter: none; }
html[data-edition=n10] .n-account-txt { display: grid; gap: 2px; min-width: 0; }
html[data-edition=n10] .n-account-txt b { font-size: 16px; overflow-wrap: anywhere; }
html[data-edition=n10] .n-account-txt span { font-size: 13px; color: var(--ink-2); }
html[data-edition=n10] .n-account-txt span.is-paid { color: var(--accent); font-weight: 700; }
html[data-edition=n10] .n-account > i { color: var(--accent); display: grid; }
/* A field the error is about. */
html[data-edition=n10] .content .n-login input[aria-invalid=true] { border-color: #f08a7e; }
/* «Новый код через 0:59» while the minute runs. */
html[data-edition=n10] .content .n-linkbtn[type=submit][disabled] { color: var(--ink-2) !important; cursor: default; text-decoration: none; font-variant-numeric: tabular-nums; }
/* The old white autofill (main.min.css) would turn the e-mail field white on the night background. */
html[data-edition=n10] .n-login input:-webkit-autofill,
html[data-edition=n10] .n-login input:-webkit-autofill:hover { -webkit-text-fill-color: var(--ink) !important; caret-color: var(--ink); -webkit-box-shadow: 0 0 0 1000px var(--surface) inset !important; }
html[data-edition=n10] .n-login input:-webkit-autofill:focus { -webkit-text-fill-color: var(--ink) !important; -webkit-box-shadow: 0 0 0 1000px var(--surface) inset, 0 0 0 3px var(--focus) !important; }
/* Day and year without spin buttons. */
html[data-edition=n10] .n-login .n-date input[type=number] { -moz-appearance: textfield; }
html[data-edition=n10] .n-login .n-date input::-webkit-inner-spin-button,
html[data-edition=n10] .n-login .n-date input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
