:root {
  color-scheme: light;
  --ink: #18211f;
  --muted: #5c6763;
  --paper: #f6f5f0;
  --card: #ffffff;
  --line: #d9ded8;
  --accent: #166a50;
  --accent-deep: #0b4a37;
  --warning: #8b4b00;
  --warning-bg: #fff5e7;
  --radius: 18px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
}
a { color: var(--accent-deep); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid var(--accent-deep); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
.shell { width: min(1080px, calc(100% - 32px)); margin: 0 auto; }
.site-header { padding: 30px 0 0; }
.site-header > .shell { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.site-nav { display: flex; gap: 8px 20px; flex-wrap: wrap; font-size: 15px; font-weight: 700; }
.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav a:hover { color: var(--accent-deep); }
.site-brand { display: inline-flex; align-items: center; color: var(--ink); font-size: 18px; font-weight: 800; letter-spacing: -.04em; text-decoration: none; }
.site-brand b { color: var(--accent); }
.site-brand img { width: 30px; height: 30px; margin-right: 9px; }
main { flex: 1; padding: 52px 0 80px; }
.eyebrow { color: var(--accent-deep); font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.035em; }
h1 { font-size: clamp(38px, 6vw, 70px); max-width: 850px; margin: 12px 0 24px; }
h2 { font-size: clamp(28px, 3.7vw, 42px); margin: 52px 0 18px; }
h3 { font-size: 21px; margin: 0 0 10px; }
.lead { font-size: clamp(20px, 2.5vw, 26px); max-width: 780px; color: #3b4843; }
.notice { max-width: 760px; margin: 28px 0 42px; padding: 10px 0 10px 18px; border-left: 3px solid #d5a448; color: #534a35; }
.notice strong { color: var(--warning); }
.action-link { display: inline-block; padding: 12px 16px; border: 1px solid var(--accent); border-radius: 12px; background: var(--accent); color: #fff; font-weight: 700; text-decoration: none; }
.action-link:hover { background: var(--accent-deep); color: #fff; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p { margin: 0; color: var(--muted); }
.price { font-size: 44px; font-weight: 800; color: var(--accent-deep); line-height: 1; margin-bottom: 8px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step { background: var(--card); border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 18px; border-radius: 50%; background: #dceee7; color: var(--accent-deep); font-weight: 800; }
.plain-list { padding-left: 22px; }
.plain-list li { margin: 9px 0; }
.document { max-width: 790px; }
.document h1 { max-width: 760px; font-size: clamp(36px, 4.5vw, 58px); }
.document h2 { font-size: 28px; margin-top: 38px; }
.document h3 { margin-top: 28px; }
.document p, .document li { color: #36423d; }
.feedback-page { max-width: 1040px; }
.feedback-page > .lead { max-width: 880px; }
.feedback-conditions { margin: 28px 0 32px; }
.feedback-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.feedback-card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 30px; }
.feedback-card .eyebrow { margin-bottom: 14px; color: var(--accent-deep); }
.feedback-card h2 { margin: 0 0 18px; font-size: clamp(26px, 3vw, 32px); }
.feedback-card p { margin-bottom: 20px; }
.feedback-card .feedback-limit { color: var(--accent-deep); font-weight: 700; }
.feedback-card .action-link { margin-top: auto; }
.feedback-details { max-width: 840px; margin-top: 26px; font-size: 15px; }
.services-page { max-width: 1040px; }
.services-page > .lead { max-width: 880px; }
.services-section { margin-top: 56px; }
.services-section h2 { margin-top: 0; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.service-card { display: flex; flex-direction: column; min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.service-card h3 { margin-bottom: 4px; }
.service-route { margin: 0 0 14px !important; color: var(--accent-deep) !important; font-size: 14px; font-weight: 800; }
.service-route-direct { color: var(--muted) !important; }
.domain-list { display: grid; gap: 6px; margin: 0; padding-left: 18px; }
.domain-list li { margin: 0; overflow-wrap: anywhere; }
.domain-list code { color: var(--ink); font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: 14px; }
.service-note { margin-top: 16px !important; font-size: 14px; }
.services-request { margin-top: 62px; padding: 26px 28px; border-radius: var(--radius); background: #e8eee9; }
.services-request h2 { margin: 0 0 12px; font-size: 30px; }
.services-request p { margin: 0; }
.metadata { color: var(--muted); font-size: 14px; }
.payment-logos { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin: 24px 0 8px; }
.payment-logos > img { width: auto; height: 28px; }
.payment-logos > a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 16px; font-weight: 800; text-decoration: none; }
.payment-logos > a img { width: auto; height: 28px; }
.setup-page { max-width: 1040px; }
.setup-page > .lead { max-width: 880px; }
.setup-principle { max-width: 820px; margin: 26px 0 0; padding-left: 18px; border-left: 3px solid var(--accent); }
.setup-principle strong { color: var(--accent-deep); }
.setup-public-notice { max-width: 820px; margin: 34px 0 0 !important; padding: 14px 18px; border: 1px dashed #b9c9c1; border-radius: 14px; background: var(--card); color: var(--muted) !important; font-size: 15px; }
.setup-tabs { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 54px; border-bottom: 1px solid var(--line); scrollbar-width: thin; }
.setup-tab { flex: 0 0 auto; padding: 10px 11px 12px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--muted); font: inherit; font-weight: 750; cursor: pointer; }
.setup-tab[aria-selected="true"] { border-bottom-color: var(--accent); color: var(--accent-deep); }
.setup-tab:focus-visible { outline: 3px solid #dceee7; outline-offset: -3px; }
.setup-panel { padding: 34px 0 16px; }
.setup-panel-header { max-width: 820px; }
.setup-panel h2 { margin: 4px 0 12px; font-size: clamp(32px, 4vw, 46px); }
.setup-method { margin: 0 !important; color: var(--accent-deep) !important; font-size: 14px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.setup-panel-intro { max-width: 760px; margin: 0; font-size: 19px; }
.setup-platform-layout { display: grid; grid-template-columns: minmax(300px, .82fr) minmax(0, 1.18fr); align-items: start; gap: 36px; margin-top: 30px; }
.setup-platform-layout--text-only { grid-template-columns: minmax(0, 720px); }
.setup-platform-layout > .setup-visual { grid-column: 2; grid-row: 1 / span 2; }
.setup-platform-layout > .setup-alternative { grid-column: 1; margin-top: 0; }
.setup-platform-copy { min-width: 0; }
.setup-value { display: grid; gap: 12px; margin-bottom: 28px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.setup-value-copy { min-width: 0; }
.setup-value-copy span, .setup-value-copy code { display: block; }
.setup-value-label { margin-bottom: 4px; color: var(--muted); font-size: 13px; font-weight: 750; }
.setup-value-copy code { overflow: hidden; color: var(--ink); font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.setup-value-placeholder { color: var(--muted); font-size: 13px; }
.setup-copy { justify-self: start; }
.setup-action-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent-deep); font-size: 14px; font-weight: 750; }
.setup-download { justify-self: start; }
.setup-steps { margin: 0; padding: 0; list-style: none; counter-reset: setup-step; }
.setup-steps li { position: relative; min-height: 48px; margin-bottom: 22px; padding-left: 48px; counter-increment: setup-step; }
.setup-steps li::before { position: absolute; top: -2px; left: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #dceee7; color: var(--accent-deep); font-weight: 800; content: counter(setup-step); }
.setup-steps strong, .setup-steps span { display: block; }
.setup-steps span { margin-top: 3px; color: var(--muted); font-size: 15px; }
.setup-note { margin: 26px 0 12px !important; color: var(--muted) !important; font-size: 14px; }
.setup-note + .setup-note { margin-top: 0 !important; }
.setup-visual { overflow: hidden; margin: 0; border: 1px solid #cfd4cf; border-radius: var(--radius); background: var(--card); box-shadow: 0 18px 48px rgba(24, 33, 31, .1); }
.setup-visual img { display: block; width: 100%; height: auto; }
.setup-visual figcaption { padding: 12px 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.setup-visual--phone { max-width: 360px; justify-self: center; }
.promo-code { margin: 4px 0 14px; }
.promo-code summary { cursor: pointer; color: var(--accent-deep); font-size: 14px; font-weight: 750; }
.promo-code-field { display: grid; gap: 6px; margin-top: 10px; font-size: 14px; }
.promo-code-field input { min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; letter-spacing: .04em; text-transform: uppercase; }
.setup-visual--window { max-width: 500px; justify-self: center; }
.setup-value--fields { gap: 14px; }
.setup-value-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 12px; }
.setup-alternative { margin-top: 8px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.setup-alternative summary { cursor: pointer; color: var(--accent-deep); font-weight: 800; }
.setup-alternative[open] summary { margin-bottom: 14px; }
.setup-alternative .setup-panel-intro { margin-bottom: 20px; font-size: 16px; }
.setup-alternative .setup-note { margin-bottom: 0 !important; }
.setup-downloads { margin-top: 40px; padding: 38px 0 28px; border-top: 1px solid var(--line); }
.setup-downloads h2 { margin: 0 0 12px; font-size: 28px; }
.setup-downloads-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 26px; }
.setup-download-card { min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.setup-download-card h3 { margin: 4px 0 10px; }
.setup-download-intro { margin: 0 0 20px; font-size: 16px; }
.setup-download-card .setup-value { background: var(--paper); }
.setup-download-card .setup-value-copy code { overflow-wrap: anywhere; white-space: normal; }
.setup-download-card .setup-note { margin-bottom: 0 !important; }
.setup-cta { margin-top: 58px; padding: 28px; border-radius: var(--radius); background: var(--accent-deep); color: #fff; }
.setup-cta h2 { margin: 0 0 10px; color: #fff; }
.setup-cta p { max-width: 680px; margin: 0 0 20px; color: #dceee7; }
.setup-cta .action-link { border-color: #fff; background: #fff; color: var(--accent-deep); }
.setup-cta .action-link:hover { background: #e8eee9; color: var(--accent-deep); }
.setup-cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.setup-cta-secondary { color: #fff; font-weight: 750; }
.footer { border-top: 1px solid var(--line); padding: 28px 0 42px; color: var(--muted); font-size: 14px; }
.footer-note { margin: 0 0 20px; color: var(--muted); font-size: 13px; }
.footer-meta { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--accent-deep); }
.home-page main { flex: 1; padding: 0; }
.home-page .shell { width: min(1180px, calc(100% - 40px)); }
.home-page .hero { width: 100%; display: grid; align-items: center; padding: 72px 0 42px; }
.home-page .hero-content { max-width: 800px; }
.home-page .hero-brand { display: inline-flex; align-items: center; margin-bottom: 46px; color: var(--ink); font-size: 18px; font-weight: 800; letter-spacing: -.04em; text-decoration: none; }
.home-page .hero-brand b { color: var(--accent); }
.home-page .brand-mark { width: 30px; height: 30px; margin-right: 9px; }
.home-page .eyebrow { margin: 0 0 16px; font-size: 13px; font-weight: 800; letter-spacing: .1em; }
.home-page h1 { max-width: 800px; margin: 0; font-size: clamp(43px, 6vw, 76px); line-height: .98; letter-spacing: -.06em; }
.home-page .lead { max-width: 720px; margin: 25px 0 28px; color: #3c4b42; font-size: clamp(20px, 2.3vw, 25px); }
.home-cta { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 56px; padding: 0 24px; border-radius: 16px; background: var(--accent); color: #fff; font-size: 18px; font-weight: 800; text-decoration: none; box-shadow: 0 10px 24px rgba(22, 106, 80, .22); }
.home-cta:hover { background: var(--accent-deep); color: #fff; }
.price-note { margin: 18px 0 0; color: var(--muted); font-size: 15px; }
.price-note strong { color: var(--ink); font-size: 18px; }
.home-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.home-secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 24px; border: 2px solid var(--accent); border-radius: 16px; color: var(--accent-deep); font-size: 18px; font-weight: 800; text-decoration: none; }
.home-secondary:hover { background: #e8eee9; color: var(--accent-deep); }
.refund-note { position: relative; margin: 7px 0 0; padding-left: 22px; color: #3c4b42; font-size: 15px; }
.refund-note::before { position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 900; content: "✓"; }
.home-aside { margin: 20px 0 0; font-size: 15px; }
.home-aside a { display: inline-block; padding: 10px 0; color: var(--muted); }
.home-aside a:hover { color: var(--accent-deep); }
.home-benefits { padding: 0 0 48px; }
.home-benefits h2 { margin: 0 0 24px; font-size: clamp(28px, 3.7vw, 42px); }
.home-benefits .grid { margin: 0 0 24px; }
.home-benefits h3 { font-size: 24px; line-height: 1.2; }
.home-devices { max-width: 850px; margin: 0; color: var(--muted); }
.home-devices strong { color: var(--ink); }

.journey-page { max-width: 1040px; }
.journey-page > .lead { max-width: 820px; }
.journey-page > .journey-step:first-of-type { margin-top: 72px; }
.journey-step { display: grid; grid-template-columns: minmax(230px, 310px) minmax(0, 1fr); align-items: start; gap: 34px; margin-bottom: 88px; }
.journey-step-copy { max-width: 310px; padding-top: 8px; }
.journey-step-number { margin: 0 0 8px !important; color: var(--accent-deep) !important; font-size: 13px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.journey-step h2 { margin: 0 0 15px; font-size: clamp(27px, 3vw, 36px); }
.journey-step-copy p:last-child { margin-bottom: 0; }
.journey-shot { overflow: hidden; margin: 0; border: 1px solid #cfd4cf; border-radius: var(--radius); background: var(--card); box-shadow: 0 20px 54px rgba(24, 33, 31, .11); }
.journey-browser-bar { position: relative; display: flex; align-items: center; height: 46px; padding: 0 16px; border-bottom: 1px solid #d7dad6; background: #ececea; }
.journey-window-controls { display: flex; gap: 8px; }
.journey-window-control { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.journey-window-close { background: #ff5f57; }
.journey-window-minimize { background: #febc2e; }
.journey-window-expand { background: #28c840; }
.journey-browser-address { position: absolute; left: 50%; width: min(42%, 340px); height: 25px; border: 1px solid #d9dcd8; border-radius: 7px; background: rgba(255, 255, 255, .72); color: #69736f; font-size: 12px; line-height: 23px; text-align: center; transform: translateX(-50%); }
.journey-shot img { display: block; width: 100%; height: auto; }
.journey-scene-media { position: relative; }
.journey-target { position: absolute; z-index: 1; left: var(--target-left); top: var(--target-top); width: var(--target-width); height: var(--target-height); border: 3px solid #f2643b; border-radius: 10px; box-shadow: 0 0 0 5px rgba(242, 100, 59, .25), 0 4px 16px rgba(128, 44, 20, .25); color: transparent; cursor: pointer; text-decoration: none; transition: border-color 120ms ease, box-shadow 120ms ease; }
.journey-target:hover { border-color: #d84c26; box-shadow: 0 0 0 7px rgba(242, 100, 59, .32), 0 5px 18px rgba(128, 44, 20, .3); }
.journey-target:focus-visible { outline: 3px solid var(--accent-deep); outline-offset: 7px; }
.journey-target::after { position: absolute; right: -9px; bottom: -9px; width: 14px; height: 14px; border: 3px solid #fff; border-radius: 50%; background: #f2643b; box-shadow: 0 2px 6px rgba(64, 25, 14, .25); content: ""; }
.journey-note { margin-top: 18px !important; padding: 18px 20px; border-radius: 14px; background: #e8eee9; }
.journey-note strong { color: var(--ink); }
.journey-cta { margin-top: 18px; padding: 28px; border-radius: var(--radius); background: var(--accent-deep); color: #fff; }
.journey-cta h2 { margin: 0 0 10px; color: #fff; }
.journey-cta p { max-width: 670px; margin: 0 0 20px; color: #dceee7; }
.journey-cta .action-link { border-color: #fff; background: #fff; color: var(--accent-deep); }
.journey-cta .action-link:hover { background: #e8eee9; color: var(--accent-deep); }
@media (max-width: 900px) {
  .journey-step { grid-template-columns: 1fr; gap: 20px; }
  .journey-step-copy { max-width: 720px; padding-top: 0; }
  .setup-platform-layout { grid-template-columns: 1fr; gap: 24px; }
  .setup-platform-layout > .setup-visual, .setup-platform-layout > .setup-alternative { grid-column: auto; grid-row: auto; }
  .setup-platform-copy { max-width: 720px; }
  .setup-downloads-grid { grid-template-columns: 1fr; }
  .setup-download-card { max-width: 720px; }
}
@media (max-width: 720px) {
  .site-header { padding-top: 24px; }
  .site-header > .shell { gap: 8px 16px; }
  .site-nav { gap: 4px 16px; font-size: 14px; }
  main { padding-top: 38px; }
  .grid, .steps { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .feedback-cards { grid-template-columns: 1fr; }
  .feedback-card { padding: 24px; }
  .home-page main { padding-top: 0; }
  .home-page .shell { width: min(100% - 32px, 600px); }
  .home-page .hero { padding: 32px 0 42px; }
  .home-page .hero-brand { margin-bottom: 34px; }
  .home-page h1 { font-size: clamp(40px, 12vw, 60px); }
  .journey-page > .journey-step:first-of-type { margin-top: 52px; }
  .journey-step { margin-bottom: 66px; }
  .journey-step h2 { font-size: 30px; }
  .journey-browser-bar { height: 40px; padding: 0 12px; }
  .journey-window-controls { gap: 6px; }
  .journey-window-control { width: 10px; height: 10px; }
  .journey-browser-address { width: 58%; height: 23px; overflow: hidden; line-height: 21px; white-space: nowrap; text-overflow: ellipsis; }
  .journey-target { border-width: 2px; border-radius: 6px; box-shadow: 0 0 0 3px rgba(242, 100, 59, .24); }
  .journey-target::after { right: -7px; bottom: -7px; width: 11px; height: 11px; border-width: 2px; }
  .setup-tabs { margin-top: 42px; }
  .setup-panel { padding-top: 28px; }
  .setup-panel h2 { font-size: 34px; }
  .setup-platform-layout { margin-top: 24px; }
  .setup-value { padding: 16px; }
  .setup-visual { border-radius: 14px; }
  .setup-cta { margin-top: 42px; padding: 22px; }
}
@media (max-width: 600px) {
  /* Четыре раздела не помещаются в строку с логотипом: в шапке остаётся
     «Кабинет», остальные разделы продублированы в подвале каждой страницы. */
  .site-header { padding-top: 17px; }
  .site-nav a:not(:last-child) { display: none; }
  .site-nav a { padding: 11px 0 11px 16px; }
  .home-actions { flex-direction: column; }
  .home-actions a { width: 100%; padding: 8px 14px; font-size: 16px; line-height: 1.2; text-align: center; }
}

.admin-page { max-width: 1120px; }
.admin-auth { max-width: 620px; }
.admin-auth h1 { font-size: clamp(42px, 6vw, 66px); }
.admin-form { display: grid; gap: 18px; max-width: 520px; margin-top: 30px; }
.admin-form label { display: grid; gap: 7px; color: var(--muted); font-size: 14px; font-weight: 700; }
.admin-form input { width: 100%; min-height: 52px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); padding: 0 14px; font: inherit; }
.admin-form input:focus { border-color: var(--accent); outline: 3px solid #dceee7; }
.admin-contact-kind { display: flex; gap: 8px; }
.admin-contact-kind label { display: block; }
.admin-contact-kind input { position: absolute; opacity: 0; pointer-events: none; }
.admin-contact-kind span { display: block; padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--muted); cursor: pointer; }
.admin-contact-kind input:checked + span { border-color: var(--accent); background: #dceee7; color: var(--accent-deep); }
.admin-submit { border: 0; font: inherit; cursor: pointer; }
.admin-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.admin-title-row h1 { margin-bottom: 10px; }
.admin-title-row .lead { margin: 0; font-size: 20px; }
.admin-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 34px 0 22px; }
.admin-stats div { padding: 17px 19px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.admin-stats span, .admin-stats strong { display: block; }
.admin-stats span { color: var(--muted); font-size: 14px; }
.admin-stats strong { margin-top: 2px; color: var(--accent-deep); font-size: 28px; }
.admin-table-wrap { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 17px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.admin-table th { color: var(--muted); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.admin-table tbody tr:last-child td { border-bottom: 0; }
.admin-resolver-id code { color: inherit; font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: 15px; font-weight: 600; letter-spacing: .01em; }
.admin-resolver-link { color: var(--accent-deep); text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }
.admin-resolver-link:hover { text-decoration-color: currentColor; }
.admin-status { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 750; }
.admin-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.admin-status-sold { color: var(--accent-deep); }
.admin-status-granted { color: #8a5a13; }
.admin-status-free { color: var(--muted); }
.admin-release-resolver { color: #8f2f24; font-weight: 700; white-space: nowrap; }
.admin-release-resolver:disabled { cursor: wait; opacity: .55; }
.admin-empty { display: grid; gap: 4px; padding: 34px; border: 1px dashed var(--line); border-radius: var(--radius); text-align: center; }
.admin-empty span { color: var(--muted); }

@media (max-width: 720px) {
  .admin-title-row { align-items: stretch; flex-direction: column; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .admin-stats div { padding: 14px; }
  .admin-table-wrap { overflow: visible; border: 0; background: transparent; }
  .admin-table thead { display: none; }
  .admin-table, .admin-table tbody, .admin-table tr, .admin-table td { display: block; width: 100%; }
  .admin-table tr { margin-bottom: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
  .admin-table td { display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 10px; padding: 7px 0; border: 0; overflow-wrap: anywhere; }
  .admin-table td::before { content: attr(data-label); color: var(--muted); font-size: 13px; font-family: ui-sans-serif, system-ui, sans-serif; }
}

.account-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.account-header-actions { display: flex; align-items: center; gap: 4px; }
.plain-button { border: 0; background: transparent; color: var(--muted); padding: 8px; font: inherit; text-decoration: none; cursor: pointer; }
.plain-button:hover { color: var(--accent-deep); }
.account-page { max-width: 940px; }
.resolver-page { max-width: 1040px; }
.account-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.account-title-row h1 { margin-bottom: 10px; }
.account-title-row .lead { margin: 0; font-size: 20px; }
.access-state { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 6px 11px; border-radius: 999px; background: #dceee7; color: var(--accent-deep); font-size: 15px; font-weight: 700; white-space: nowrap; }
.access-state::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.account-access, .resolver-access { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.account-status-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 18px; }
.account-access strong, .account-access p { display: block; margin: 3px 0 0; }
.renewal-section { margin-top: 42px; padding-top: 24px; border-top: 1px solid var(--line); }
.renewal-section h2, .resolver-guide h2 { margin-top: 0; font-size: 28px; }
.secondary-button { min-height: 44px; border: 1px solid var(--line); border-radius: 11px; background: var(--card); color: var(--ink); padding: 0 15px; font: inherit; font-weight: 700; cursor: pointer; }
.secondary-button:hover { border-color: var(--accent); }
.secondary-button[disabled] { opacity: .55; cursor: wait; }
.back-link { display: inline-block; margin-bottom: 22px; color: var(--muted); text-decoration: none; }
.resolver-access { display: block; }
.resolver-access-header { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; margin-bottom: 14px; }
.resolver-secret-row { display: grid; grid-template-columns: minmax(0, 1fr) 140px; overflow: hidden; border: 1px solid var(--line); border-radius: 11px; background: var(--paper); }
.resolver-secret-row code { overflow: hidden; min-height: 48px; padding: 12px 14px; text-overflow: ellipsis; white-space: nowrap; }
.resolver-secret-row .secondary-button { width: 140px; border: 0; border-left: 1px solid var(--line); border-radius: 0; background: var(--card); }
.resolver-secret-row .secondary-button:hover { background: #f4f6f2; }
.resolver-access > .metadata { margin: 12px 0 0; }
.resolver-guide { margin-top: 38px; }
.resolver-guide-intro { max-width: 760px; margin: -8px 0 0; color: var(--muted); }
.resolver-guide .setup-tabs { margin-top: 34px; }

@media (max-width: 720px) {
  .account-title-row, .account-access { flex-direction: column; }
  .account-title-row { gap: 8px; }
  .account-access { align-items: stretch; }
}
