/* VR54 NET · approved DARK B / Shield palette. Shared public/private portal UI. */
:root {
  color-scheme: dark;
  --bg: #10161b; --card: #171f25; --text: #f6f7f8; --muted: #acb8c2;
  --line: #34414b; --accent: #ff6900; --accent-text: #17120e;
  --yellow: #ff6900; --yellow-text: #17120e; --blue: #ff9c59; --blue-soft: #202c35;
  --shadow: 0 16px 48px #0003;
}
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body { background: radial-gradient(ellipse at 20% 0, #ff69000b, transparent 45%), var(--bg); line-height: 1.6; }
body, input, select, button { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: #ffac74; text-underline-offset: 3px; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #ffc29a; outline-offset: 4px; }
[hidden] { display: none !important; }
.shell { width: min(1060px, 100%); gap: 20px; }
.site-header { background: var(--card); border: 1px solid var(--line); border-radius: 24px; box-shadow: none; }
.brand-link img, .brand-mark img { width: 56px; height: 56px; filter: none; }
.brand-title { color: var(--text); }
.brand-subtitle { font-size: 13px; }
.site-nav a, .button, button, .store-links a, .copy-link {
  background: #202b33; color: var(--text); border: 1px solid var(--line);
  border-radius: 12px; min-height: 44px; font-weight: 650; cursor: pointer;
}
.site-nav a:hover, .button:hover, button:hover, .store-links a:hover { border-color: #ff9c59; }
.button.primary, .site-nav .primary, .setup-primary {
  background: var(--accent); color: var(--accent-text); border-color: transparent; box-shadow: none;
}
.button.secondary { background: #202b33; color: var(--text); }
.card { background: var(--card); border-color: var(--line); border-radius: 24px; overflow: visible; }
h1 { font-size: clamp(30px, 4vw, 46px); line-height: 1.12; letter-spacing: -.035em; }
h2 { font-size: 24px; line-height: 1.3; }
.lede { font-size: 17px; max-width: 62ch; }
.cta { margin-top: 24px; }
.eyebrow { color: #ff9c59; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 5; padding: 12px; background: var(--bg); }
.skip-link:focus { left: 12px; }
.portal-account-strip { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin: 18px 0; color: var(--muted); font-size: 14px; }
.portal-account-strip code { color: var(--text); user-select: all; }
.portal-account-strip button { padding: 8px 12px; }
.portal-footer { display: flex; flex-wrap: wrap; gap: 12px 22px; padding: 12px 4px 28px; font-size: 13px; }
.portal-footer a { color: var(--muted); }
.portal-details { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 18px; }
.portal-details > summary { cursor: pointer; color: var(--text); padding: 10px 0; font-weight: 700; min-height: 44px; }
.portal-details > summary::marker { color: var(--accent); }
.service-status, .meta, .app-card, .promo, .payment, .help-strip, .setup-step {
  background: #1b252d; color: var(--text); border-color: var(--line); box-shadow: none;
}
.service-node { background: #202b33; border-color: var(--line); }
.service-node.ru_blocked .service-dot { background: #ff9c59; }
.service-note { color: #ffb98b; }
.notice, .notice.warning, .payment-result.warning { background: #332b1e; color: #ffdbab; border-color: #7d613a; }
.notice-text, .notice-warning { color: inherit; }
.meta { margin: 24px 0; }
.meta .row { border-color: var(--line); gap: 16px; }
.value { overflow-wrap: anywhere; }
.meta .label, .app-desc, .promo-copy p, .muted { color: var(--muted); }
input, select, textarea { background: #10181e; color: var(--text); border: 1px solid #61717e; border-radius: 10px; padding: 12px; font-size: 16px; min-height: 46px; max-width: 100%; }
input::placeholder { color: #a9b5bf; }
.promo-form input { background: #10181e; border-color: #61717e; color: var(--text); }
.promo-form label { grid-column: 1 / -1; }
.store-links button, .instruction-link { background: #202b33; color: var(--text); border: 1px solid var(--line); min-height: 44px; }
.instruction-link:hover { background: #2d3a43; }
.links a { color: #ffac74; }
.notice-tariff { color: #ffdbab; }
.promo-result.success, .payment-result.success { color: #a7e6bd; background: #173126; }
.promo-result.warning, .payment-result.warning { color: #ffdbab; background: #332b1e; }
.promo-result.error, .payment-result.error { color: #ffb5b5; background: #3a2023; }
.setup-panel { margin: 26px 0; border: 1px solid var(--line); border-radius: 18px; padding: 24px; background: #111a21; }
.setup-panel h2 { margin: 0 0 8px; }
.setup-panel h3 { margin: 0 0 8px; font-size: 20px; }
.setup-panel p { margin: 8px 0; }
.setup-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0 12px; }
.setup-field { display: grid; gap: 6px; font-weight: 650; min-width: 0; }
.setup-field select { width: 100%; }
.setup-hint { font-size: 13px; color: var(--muted); }
.setup-app { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 20px; }
.setup-tag { display: inline-block; color: #ffb37f; background: #ff690013; border: 1px solid #9a582c; padding: 3px 10px; border-radius: 8px; margin-bottom: 10px; font-size: 12px; font-weight: 700; }
.setup-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; align-items: center; }
.setup-actions a, .setup-actions button { display: inline-flex; align-items: center; justify-content: center; padding: 10px 16px; font-size: 15px; text-decoration: none; min-height: 46px; }
.setup-steps-short { padding-left: 24px; margin: 16px 0; }
.setup-steps-short li { margin: 10px 0; padding-left: 4px; }
.setup-message { color: #b5dfc2; min-height: 1.6em; }
.setup-copy-manual { width: 100%; }
.setup-panel .apps { margin-top: 20px; }
.setup-panel #android-lte-profiles { border-top: 1px solid var(--line); padding-top: 20px; }
.setup-panel #android-lte-profiles > h2 { font-size: 22px; }
.setup-panel #android-lte-profiles ol { padding-left: 22px; }
.setup-panel .setup-profile { margin-top: 18px; }
.setup-subtle { font-size: 14px; color: var(--muted); }
:disabled { opacity: .6; cursor: not-allowed; }
@media (max-width: 720px) {
  body { padding: 12px; }
  .card, .setup-panel { padding: 18px; }
  .site-header { padding: 16px; }
  .site-nav { display: flex; flex-direction: row; width: 100%; justify-content: flex-start; }
  .site-nav a { width: auto; flex: 1 1 auto; }
  .brand-link { align-items: center; }
  .setup-controls { grid-template-columns: 1fr; }
  .setup-actions { align-items: stretch; }
  .setup-actions a, .setup-actions button { flex: 1 1 100%; }
  .meta .row { display: grid; grid-template-columns: minmax(90px, 1fr) minmax(0, 1.5fr); }
  .app-grid, .actions, .promo-form { grid-template-columns: minmax(0, 1fr); }
  .store-links { flex-wrap: wrap; }
  .store-links a, .store-links button { max-width: 100%; overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
