:root {
  --ink: #0b0d0f;
  --ink-2: #111417;
  --ink-3: #181c20;
  --paper: #f3f4f0;
  --white: #ffffff;
  --line: #dfe2dc;
  --line-dark: rgba(255, 255, 255, .11);
  --muted: #69716d;
  --muted-dark: #9aa39f;
  --accent: #b6ff36;
  --accent-strong: #9be81a;
  --accent-soft: #eaffbd;
  --danger: #d74343;
  --danger-soft: #fff0ef;
  --warning: #c98512;
  --warning-soft: #fff6df;
  --success: #1d8a53;
  --success-soft: #e9f8ef;
  --shadow: 0 24px 70px rgba(17, 24, 20, .12);
  --shadow-dark: 0 32px 90px rgba(0, 0, 0, .38);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --sidebar: 258px;
  --topbar: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI Variable Text", "Segoe UI", Inter, Roboto, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
body.in-app { background: #eef0eb; overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
.hidden { display: none !important; }
.mono, code, pre { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; }

/* Shared */
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-weight: 750;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, opacity .18s ease;
}
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button:active:not(:disabled) { transform: translateY(0); }
.button:disabled { opacity: .55; cursor: not-allowed; }
.button-dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.button-dark:hover:not(:disabled) { background: #202428; }
.button-accent { background: var(--accent); color: #11150b; border-color: var(--accent); }
.button-accent:hover:not(:disabled) { background: var(--accent-strong); border-color: var(--accent-strong); }
.button-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.3); }
.button-outline:hover:not(:disabled) { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.06); }
.button-quiet { background: var(--white); border-color: var(--line); color: var(--ink); }
.button-quiet:hover:not(:disabled) { border-color: #bfc5bd; background: #fafbf8; }
.button-danger { background: var(--danger); color: var(--white); border-color: var(--danger); }
.button-large { min-height: 52px; padding: 0 24px; border-radius: 13px; }
.button-small { min-height: 36px; padding: 0 12px; border-radius: 9px; font-size: 13px; }
.button-full { width: 100%; }
.button-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin .65s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.brand, .app-brand, .auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand-mark {
  width: 35px;
  height: 35px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 10px;
  background: var(--accent);
  color: #11150b;
  font-weight: 950;
  font-size: 20px;
  letter-spacing: -.08em;
}
.brand-name { font-weight: 950; font-size: 19px; letter-spacing: -.045em; }
.brand-product { color: var(--muted); font-weight: 650; font-size: 14px; }

/* Marketing site */
.site-shell { overflow: hidden; background: var(--paper); }
.site-header {
  position: fixed;
  z-index: 40;
  inset: 0 0 auto;
  height: 78px;
  display: flex;
  align-items: center;
  padding: 0 clamp(24px, 5vw, 82px);
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.09);
  background: rgba(11,13,15,.82);
  backdrop-filter: blur(22px);
}
.site-header .brand { margin-right: 60px; }
.site-header .brand-product { color: rgba(255,255,255,.55); }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { color: rgba(255,255,255,.68); font-size: 14px; font-weight: 650; transition: color .18s ease; }
.site-nav a:hover { color: var(--white); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.site-header .button-quiet { color: var(--white); background: transparent; border-color: rgba(255,255,255,.18); }
.site-header .button-dark { color: var(--ink); background: var(--white); border-color: var(--white); }

.hero-section {
  position: relative;
  min-height: 820px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(520px, 1.1fr);
  align-items: center;
  gap: clamp(40px, 5vw, 90px);
  padding: 130px clamp(24px, 6vw, 110px) 72px;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 23%, rgba(182,255,54,.17), transparent 26%),
    radial-gradient(circle at 8% 100%, rgba(72,93,77,.28), transparent 37%),
    linear-gradient(145deg, #080a0b 0%, #0e1113 56%, #151a17 100%);
}
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .15;
  background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to right, #000, transparent 70%);
}
.hero-copy, .hero-product { position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow span { width: 27px; height: 1px; background: currentColor; }
.eyebrow.light { color: var(--accent); }
.hero-copy h1 {
  max-width: 760px;
  margin: 24px 0 22px;
  font-size: clamp(54px, 6.2vw, 104px);
  line-height: .94;
  letter-spacing: -.065em;
  font-weight: 860;
}
.hero-lead { max-width: 650px; margin: 0; color: rgba(255,255,255,.66); font-size: clamp(17px, 1.35vw, 21px); line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 12px; margin-top: 34px; }
.hero-facts { display: flex; gap: 42px; margin-top: 48px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); }
.hero-facts div { display: flex; flex-direction: column; gap: 2px; }
.hero-facts strong { font-size: 20px; letter-spacing: -.035em; }
.hero-facts span { color: rgba(255,255,255,.48); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }

.hero-product { perspective: 1200px; }
.product-glow { position: absolute; inset: 12% 8% -8%; background: var(--accent); filter: blur(90px); opacity: .13; border-radius: 50%; }
.browser-frame {
  position: relative;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 24px;
  overflow: hidden;
  background: #f0f2ee;
  box-shadow: var(--shadow-dark);
  transform: rotateY(-4deg) rotateX(1.5deg);
}
.browser-top { height: 45px; display: grid; grid-template-columns: 120px 1fr 110px; align-items: center; padding: 0 14px; background: #171a1d; color: rgba(255,255,255,.6); font-size: 11px; }
.browser-dots { display: flex; gap: 6px; }
.browser-dots i { width: 8px; height: 8px; border-radius: 50%; background: #41464a; }
.browser-address { justify-self: center; width: min(270px, 80%); text-align: center; background: rgba(255,255,255,.07); padding: 6px 13px; border-radius: 7px; }
.browser-status { justify-self: end; display: flex; align-items: center; gap: 5px; }
.browser-status span { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.preview-app { min-height: 490px; display: grid; grid-template-columns: 62px 1fr; color: var(--ink); }
.preview-sidebar { display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 18px 0; background: #0e1113; }
.preview-logo { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: var(--accent); font-weight: 900; }
.preview-sidebar i { width: 22px; height: 6px; border-radius: 10px; background: #313638; }
.preview-sidebar i.active { height: 22px; background: rgba(182,255,54,.18); border: 1px solid rgba(182,255,54,.38); }
.preview-content { padding: 26px; min-width: 0; }
.preview-heading { display: flex; align-items: center; justify-content: space-between; }
.preview-heading small { display: block; color: var(--muted); font-size: 9px; letter-spacing: .14em; }
.preview-heading strong { display: block; margin-top: 4px; font-size: 18px; }
.preview-heading button { border: 0; border-radius: 8px; background: var(--ink); color: var(--white); padding: 9px 13px; font-size: 10px; }
.preview-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 11px; margin-top: 22px; }
.preview-kpis article, .preview-chart-card, .preview-sites { border: 1px solid #dfe2dd; background: #fff; border-radius: 12px; }
.preview-kpis article { padding: 14px; }
.preview-kpis span, .preview-kpis em { display: block; color: var(--muted); font-size: 9px; font-style: normal; }
.preview-kpis b { display: block; margin: 8px 0 2px; font-size: 19px; }
.preview-chart-card { margin-top: 11px; padding: 15px; }
.preview-card-head { display: flex; justify-content: space-between; font-size: 10px; font-weight: 750; }
.preview-card-head small { color: var(--success); }
.preview-chart { height: 87px; display: flex; align-items: end; gap: 6px; padding-top: 15px; }
.preview-chart i { flex: 1; min-width: 4px; height: 40%; border-radius: 4px 4px 1px 1px; background: #dfe5da; }
.preview-chart i:nth-child(2), .preview-chart i:nth-child(8) { height: 62%; }
.preview-chart i:nth-child(3), .preview-chart i:nth-child(10) { height: 82%; }
.preview-chart i:nth-child(5), .preview-chart i:nth-child(11) { height: 69%; background: var(--accent); }
.preview-chart i:nth-child(6) { height: 94%; background: var(--accent); }
.preview-sites { margin-top: 11px; padding: 5px 14px; }
.preview-sites > div { display: grid; grid-template-columns: 8px 1fr auto; align-items: center; gap: 8px; padding: 9px 0; border-bottom: 1px solid #edf0ea; font-size: 10px; }
.preview-sites > div:last-child { border: 0; }
.preview-sites small { color: var(--muted); }
.site-dot { width: 6px; height: 6px; border-radius: 50%; }
.site-dot.green { background: var(--success); }
.site-dot.amber { background: var(--warning); }

.trust-strip { min-height: 84px; display: flex; align-items: center; gap: 55px; padding: 0 clamp(24px, 6vw, 110px); border-bottom: 1px solid var(--line); background: var(--white); }
.trust-strip > span { color: var(--muted); font-size: 10px; font-weight: 850; letter-spacing: .14em; }
.trust-strip div { display: flex; gap: clamp(24px, 4vw, 65px); color: #363d38; font-size: 13px; }

.section-wrap { width: min(1460px, calc(100% - 48px)); margin: 0 auto; }
.platform-section, .plans-section, .migration-section, .support-section { padding-top: 110px; padding-bottom: 110px; }
.section-heading { margin-bottom: 52px; }
.split-heading { display: grid; grid-template-columns: 230px minmax(380px, 1.15fr) minmax(290px, .75fr); gap: 45px; align-items: end; }
.section-heading > div { display: flex; align-items: center; gap: 12px; }
.section-index { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #cdd1ca; border-radius: 50%; color: var(--muted); font-size: 11px; }
.section-heading small { color: var(--muted); font-weight: 850; letter-spacing: .14em; font-size: 10px; }
.section-heading h2 { margin: 0; max-width: 780px; font-size: clamp(38px, 4.2vw, 67px); line-height: 1.03; letter-spacing: -.055em; }
.section-heading p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.centered-heading { max-width: 820px; margin-left: auto; margin-right: auto; text-align: center; }
.centered-heading small { display: block; margin-bottom: 15px; }
.centered-heading h2 { margin: 0 auto; }
.centered-heading p { margin: 20px auto 0; max-width: 590px; }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feature-card { min-height: 315px; display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.feature-card-large { grid-column: span 2; grid-row: span 2; min-height: 644px; }
.feature-card-wide { grid-column: span 2; min-height: 315px; display: grid; grid-template-columns: 1fr 190px; align-items: end; gap: 24px; }
.feature-card small { color: var(--muted); font-size: 10px; font-weight: 850; letter-spacing: .14em; }
.feature-card h3 { margin: auto 0 10px; font-size: 27px; line-height: 1.12; letter-spacing: -.04em; }
.feature-card p { margin: 0; color: var(--muted); line-height: 1.7; }
.feature-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 32px; border: 1px solid var(--line); border-radius: 13px; font-size: 12px; font-weight: 900; }
.dark-card { color: var(--white); border-color: #212629; background: var(--ink); }
.dark-card small, .dark-card p { color: rgba(255,255,255,.54); }
.dark-card .feature-icon { border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.04); color: var(--accent); }
.dark-card h3 { margin: 12px 0 10px; font-size: 42px; }
.mini-domain-list { margin-top: auto; border: 1px solid rgba(255,255,255,.11); border-radius: 15px; overflow: hidden; }
.mini-domain-list > div { display: grid; grid-template-columns: 9px 1fr auto; align-items: center; gap: 10px; padding: 15px; border-bottom: 1px solid rgba(255,255,255,.09); }
.mini-domain-list > div:last-child { border: 0; }
.mini-domain-list span, .mini-domain-list i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.mini-domain-list i { background: var(--warning); }
.mini-domain-list b { font-size: 13px; }
.mini-domain-list em { color: rgba(255,255,255,.47); font-style: normal; font-size: 9px; letter-spacing: .1em; }
.accent-card { border-color: #a7ec32; background: var(--accent); }
.accent-card small, .accent-card p { color: rgba(17,21,11,.62); }
.backup-visual { padding: 19px; border: 1px solid rgba(17,21,11,.15); border-radius: 14px; background: rgba(255,255,255,.28); }
.backup-visual span, .backup-visual em { display: block; font-size: 10px; font-style: normal; }
.backup-visual b { display: block; margin: 8px 0; font-size: 26px; }
.backup-visual em { font-weight: 900; letter-spacing: .1em; }

.control-section { padding: 110px 0; color: var(--white); background: var(--ink); }
.control-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(60px, 8vw, 140px); align-items: center; }
.control-copy h2 { margin: 24px 0 20px; font-size: clamp(42px, 4.6vw, 72px); line-height: 1.02; letter-spacing: -.058em; }
.control-copy > p { max-width: 590px; color: rgba(255,255,255,.57); font-size: 17px; line-height: 1.75; }
.check-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px 22px; margin: 38px 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.75); }
.check-list span { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: rgba(182,255,54,.13); color: var(--accent); font-size: 12px; }
.control-terminal { border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius-xl); overflow: hidden; background: #111517; box-shadow: var(--shadow-dark); }
.terminal-head { height: 58px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; border-bottom: 1px solid rgba(255,255,255,.09); font-size: 12px; }
.terminal-head small { color: var(--accent); }
.control-terminal pre { margin: 0; padding: 34px; color: #c4ccc8; font-size: clamp(12px, 1vw, 15px); line-height: 2.25; overflow: auto; }
.control-terminal pre i { color: #5b6460; font-style: normal; }
.control-terminal pre b { color: var(--accent); }
.control-terminal pre span { color: var(--white); font-weight: 800; }

.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan-card { position: relative; display: flex; flex-direction: column; min-height: 565px; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--white); overflow: hidden; }
.plan-card.featured { color: var(--white); border-color: var(--ink); background: var(--ink); transform: translateY(-10px); box-shadow: var(--shadow); }
.plan-ribbon { position: absolute; top: 20px; right: -39px; width: 150px; padding: 7px 0; text-align: center; transform: rotate(42deg); background: var(--accent); color: var(--ink); font-size: 9px; font-weight: 900; letter-spacing: .1em; }
.plan-head small { color: var(--muted); font-weight: 900; letter-spacing: .14em; }
.featured .plan-head small { color: var(--accent); }
.plan-head h3 { margin: 24px 0 0; font-size: clamp(32px, 3vw, 48px); letter-spacing: -.055em; }
.plan-head > span { color: var(--muted); font-size: 13px; }
.featured .plan-head > span { color: rgba(255,255,255,.47); }
.plan-capacity { margin: 30px 0 24px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.featured .plan-capacity { border-color: rgba(255,255,255,.12); }
.plan-capacity b { display: block; font-size: 28px; }
.plan-capacity span { color: var(--muted); font-size: 12px; }
.plan-card ul { display: grid; gap: 0; margin: 0 0 28px; padding: 0; list-style: none; }
.plan-card li { display: flex; justify-content: space-between; gap: 20px; padding: 11px 0; color: var(--muted); border-bottom: 1px solid #edf0eb; font-size: 13px; }
.featured li { color: rgba(255,255,255,.61); border-color: rgba(255,255,255,.08); }
.plan-card li b { color: var(--ink); }
.featured li b { color: var(--white); }
.plan-card > .button { margin-top: auto; }
.public-error { grid-column: 1 / -1; padding: 30px; border: 1px solid #efcccc; border-radius: 16px; background: #fff3f2; color: var(--danger); text-align: center; }

.migration-card { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: center; min-height: 430px; padding: 65px; border-radius: 32px; color: var(--white); background: linear-gradient(135deg, #101315, #1d2520); overflow: hidden; }
.migration-copy small, .support-card small { color: var(--accent); font-weight: 850; letter-spacing: .14em; font-size: 10px; }
.migration-copy h2 { margin: 17px 0; font-size: clamp(38px, 4vw, 62px); line-height: 1.04; letter-spacing: -.05em; }
.migration-copy p { max-width: 620px; color: rgba(255,255,255,.56); line-height: 1.75; }
.migration-copy .button { margin-top: 20px; }
.migration-route { display: grid; grid-template-columns: 1fr 120px 1fr; align-items: center; }
.route-node { padding: 28px; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; background: rgba(255,255,255,.04); }
.route-node span { width: 50px; height: 50px; display: grid; place-items: center; margin-bottom: 30px; border-radius: 13px; background: rgba(255,255,255,.09); font-size: 10px; font-weight: 900; }
.route-node.new span { background: var(--accent); color: var(--ink); }
.route-node b, .route-node small { display: block; }
.route-node small { margin-top: 5px; color: rgba(255,255,255,.46); }
.route-line { display: flex; align-items: center; justify-content: center; gap: 6px; }
.route-line i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); opacity: .25; }
.route-line i:nth-child(2) { opacity: .55; }
.route-line i:nth-child(3) { opacity: 1; }
.route-line strong { margin-left: 3px; color: var(--accent); }
.support-section { padding-top: 0; }
.support-card { display: grid; grid-template-columns: 1fr .7fr auto; gap: 50px; align-items: center; padding: 48px 54px; border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--white); }
.support-card h2 { margin: 10px 0 0; max-width: 630px; font-size: clamp(30px, 3.2vw, 48px); line-height: 1.08; letter-spacing: -.05em; }
.support-card p { margin: 0; color: var(--muted); line-height: 1.75; }

.site-footer { padding: 65px clamp(24px,6vw,110px) 30px; color: var(--white); background: #0b0d0f; }
.footer-main { display: grid; grid-template-columns: .7fr 1fr 1fr; gap: 50px; align-items: start; padding-bottom: 55px; }
.footer-brand .brand-product { color: rgba(255,255,255,.47); }
.footer-main p { max-width: 430px; margin: 0; color: rgba(255,255,255,.48); }
.footer-links { display: flex; justify-content: flex-end; gap: 26px; color: rgba(255,255,255,.66); font-size: 13px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.4); font-size: 12px; }

/* Application shell */
.app-shell { height: 100vh; display: grid; grid-template-columns: var(--sidebar) minmax(0,1fr); color: var(--ink); background: #eef0eb; }
.app-sidebar { position: relative; z-index: 32; min-width: 0; display: flex; flex-direction: column; padding: 22px 15px 16px; color: var(--white); background: #0c0f11; border-right: 1px solid rgba(255,255,255,.08); }
.app-brand { min-height: 48px; padding: 0 10px; }
.app-brand > span:last-child { display: flex; flex-direction: column; line-height: 1.05; }
.app-brand b { font-size: 18px; letter-spacing: -.04em; }
.app-brand small { margin-top: 4px; color: rgba(255,255,255,.45); font-size: 11px; }
.app-nav { display: flex; flex-direction: column; gap: 3px; margin-top: 28px; }
.app-nav button { min-height: 43px; display: flex; align-items: center; gap: 12px; padding: 0 13px; border: 0; border-radius: 10px; color: rgba(255,255,255,.55); background: transparent; text-align: left; font-weight: 650; cursor: pointer; transition: color .16s ease, background .16s ease; }
.app-nav button:hover { color: var(--white); background: rgba(255,255,255,.055); }
.app-nav button.active { color: var(--white); background: rgba(182,255,54,.12); box-shadow: inset 2px 0 var(--accent); }
.app-nav button > span { width: 22px; display: inline-grid; place-items: center; color: rgba(255,255,255,.42); font-size: 13px; }
.app-nav button.active > span { color: var(--accent); }
.nav-separator { height: 1px; margin: 12px 10px; background: rgba(255,255,255,.09); }
.sidebar-help { margin-top: auto; padding: 16px; border: 1px solid rgba(255,255,255,.09); border-radius: 13px; background: rgba(255,255,255,.035); }
.sidebar-help span { color: var(--accent); font-size: 10px; font-weight: 850; letter-spacing: .09em; }
.sidebar-help p { margin: 8px 0 13px; color: rgba(255,255,255,.45); font-size: 12px; line-height: 1.5; }
.sidebar-help button { padding: 0; border: 0; color: var(--white); background: transparent; font-size: 12px; font-weight: 800; cursor: pointer; }
.sidebar-user { min-height: 62px; display: grid; grid-template-columns: 35px minmax(0,1fr) 28px; align-items: center; gap: 10px; margin-top: 11px; padding: 10px; border-top: 1px solid rgba(255,255,255,.08); }
.sidebar-user > div:first-child, .user-avatar-small { display: inline-grid; place-items: center; border-radius: 9px; background: var(--accent); color: var(--ink); font-weight: 900; }
.sidebar-user > div:first-child { width: 35px; height: 35px; }
.sidebar-user > div:nth-child(2) { min-width: 0; display: flex; flex-direction: column; }
.sidebar-user b, .sidebar-user small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-user b { font-size: 12px; }
.sidebar-user small { color: rgba(255,255,255,.39); font-size: 10px; }
.sidebar-user button { width: 28px; height: 28px; border: 0; color: rgba(255,255,255,.44); background: transparent; cursor: pointer; }

.app-main { min-width: 0; height: 100vh; display: grid; grid-template-rows: var(--topbar) minmax(0,1fr); }
.app-topbar { position: relative; z-index: 20; display: flex; align-items: center; gap: 18px; padding: 0 28px; border-bottom: 1px solid #daddd7; background: rgba(248,249,246,.92); backdrop-filter: blur(18px); }
.service-switcher-wrap { min-width: 260px; display: flex; flex-direction: column; }
.service-switcher-wrap label { color: var(--muted); font-size: 9px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.service-switcher-wrap select { width: 100%; margin-top: 2px; padding: 0 24px 0 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-weight: 800; cursor: pointer; }
.topbar-spacer { flex: 1; }
.mode-pill { height: 31px; display: inline-flex; align-items: center; gap: 7px; padding: 0 11px; border: 1px solid #d9ddd5; border-radius: 999px; background: var(--white); color: var(--muted); font-size: 10px; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.mode-pill span { width: 7px; height: 7px; border-radius: 50%; background: var(--warning); box-shadow: 0 0 0 4px var(--warning-soft); }
.mode-pill.live span { background: var(--success); box-shadow: 0 0 0 4px var(--success-soft); }
.icon-button { width: 40px; height: 40px; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; background: var(--white); cursor: pointer; }
.notification-button { position: relative; }
.notification-button i { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; display: grid; place-items: center; padding: 0 4px; border: 2px solid #f8f9f6; border-radius: 999px; background: var(--danger); color: var(--white); font-size: 9px; font-style: normal; }
.mobile-only { display: none; }
.app-content { min-height: 0; overflow: auto; padding: 34px clamp(22px,3.2vw,52px) 70px; }
.app-content > * { width: min(1460px, 100%); margin-left: auto; margin-right: auto; }

.page-header { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 27px; }
.page-header > div:first-child { min-width: 0; }
.page-header small { color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: .15em; }
.page-header h1 { margin: 5px 0 3px; font-size: clamp(30px,3vw,43px); line-height: 1.06; letter-spacing: -.052em; }
.page-header p { margin: 0; color: var(--muted); }
.page-actions { display: flex; align-items: center; gap: 9px; flex: 0 0 auto; }

.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 13px; margin-bottom: 13px; }
.kpi-card { min-width: 0; min-height: 156px; padding: 21px; border: 1px solid #dfe2dc; border-radius: var(--radius-md); background: var(--white); }
.kpi-card > div:first-child { display: flex; align-items: center; gap: 10px; }
.kpi-icon { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 9px; background: #f0f2ed; color: #424a45; font-size: 11px; font-weight: 900; }
.kpi-card small { color: var(--muted); font-size: 9px; font-weight: 850; letter-spacing: .1em; }
.kpi-card strong { display: block; margin-top: 20px; font-size: clamp(25px,2.4vw,36px); line-height: 1; letter-spacing: -.05em; overflow-wrap: anywhere; }
.kpi-card p { margin: 7px 0 0; color: var(--muted); font-size: 12px; }
.mini-progress { height: 3px; margin-top: 15px; overflow: hidden; border-radius: 4px; background: #edf0ea; }
.mini-progress i { display: block; height: 100%; border-radius: inherit; background: var(--accent-strong); }

.dashboard-grid { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(320px,.65fr); gap: 13px; }
.panel-card { min-width: 0; border: 1px solid #dfe2dc; border-radius: var(--radius-md); background: var(--white); }
.service-overview-card, .quick-card, .sites-summary-card, .activity-card { padding: 24px; }
.card-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 21px; }
.card-heading small { color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: .14em; }
.card-heading h2 { margin: 4px 0 0; font-size: 21px; line-height: 1.1; letter-spacing: -.035em; }
.text-button { border: 0; background: transparent; color: #4c5650; font-size: 12px; font-weight: 750; cursor: pointer; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; width: max-content; min-height: 27px; padding: 0 9px; border-radius: 999px; font-size: 10px; font-weight: 800; white-space: nowrap; }
.status-pill i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-pill.success { color: var(--success); background: var(--success-soft); }
.status-pill.warning { color: var(--warning); background: var(--warning-soft); }
.status-pill.danger { color: var(--danger); background: var(--danger-soft); }
.status-pill.neutral { color: var(--muted); background: #eef0ec; }
.service-meta-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; padding: 20px; border-radius: 12px; background: #f5f6f2; }
.service-meta-grid div { min-width: 0; display: flex; flex-direction: column; }
.service-meta-grid span { color: var(--muted); font-size: 10px; }
.service-meta-grid b { margin-top: 3px; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.resource-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px 24px; margin-top: 21px; }
.resource-list > div > div:first-child { display: flex; justify-content: space-between; gap: 15px; font-size: 11px; }
.resource-list span { color: var(--muted); }
.resource-progress { height: 5px; margin-top: 7px; overflow: hidden; border-radius: 4px; background: #edf0ea; }
.resource-progress i { display: block; height: 100%; background: var(--accent-strong); }
.quick-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 9px; }
.quick-grid button { min-height: 115px; display: flex; flex-direction: column; align-items: flex-start; padding: 15px; border: 1px solid var(--line); border-radius: 11px; background: #fbfcfa; text-align: left; cursor: pointer; transition: transform .16s ease, border-color .16s ease; }
.quick-grid button:hover { transform: translateY(-2px); border-color: #bfc5bd; }
.quick-grid span { width: 28px; height: 28px; display: grid; place-items: center; margin-bottom: auto; border-radius: 8px; background: var(--ink); color: var(--accent); font-size: 10px; font-weight: 850; }
.quick-grid b { font-size: 12px; }
.quick-grid small { color: var(--muted); font-size: 10px; }
.compact-list > div { display: grid; grid-template-columns: 36px minmax(0,1fr) auto; align-items: center; gap: 11px; padding: 11px 0; border-bottom: 1px solid #edf0eb; }
.compact-list > div:last-child { border: 0; }
.domain-avatar, .mail-avatar, .db-icon, .user-avatar-small { width: 34px; height: 34px; display: inline-grid; place-items: center; border-radius: 9px; background: #eef1eb; color: #3b443e; font-size: 11px; font-weight: 900; }
.compact-list b, .compact-list small { display: block; }
.compact-list b { font-size: 12px; }
.compact-list small { color: var(--muted); font-size: 10px; }
.activity-list > div { display: grid; grid-template-columns: 9px minmax(0,1fr) auto; gap: 10px; padding: 11px 0; border-bottom: 1px solid #edf0eb; }
.activity-list > div:last-child { border: 0; }
.activity-dot { width: 7px; height: 7px; margin-top: 6px; border-radius: 50%; background: #aab1ac; }
.activity-dot.success { background: var(--success); }
.activity-dot.error { background: var(--danger); }
.activity-list b { font-size: 11px; }
.activity-list p { margin: 1px 0 0; color: var(--muted); font-size: 10px; }
.activity-list > div > small { color: var(--muted); font-size: 9px; }

.info-strip { display: flex; gap: 13px; align-items: center; margin-bottom: 14px; padding: 15px 18px; border: 1px solid #dce5c9; border-radius: 12px; background: #f8ffeb; }
.info-strip > span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); font-weight: 900; }
.info-strip b, .info-strip p { display: block; }
.info-strip b { font-size: 12px; }
.info-strip p { margin: 1px 0 0; color: var(--muted); font-size: 11px; }
.entity-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
.entity-card { padding: 22px; border: 1px solid #dfe2dc; border-radius: var(--radius-md); background: var(--white); }
.entity-top { display: grid; grid-template-columns: 45px minmax(0,1fr) 34px; gap: 12px; align-items: center; }
.entity-logo { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 12px; color: var(--accent); background: var(--ink); font-size: 17px; font-weight: 900; }
.entity-top em { color: var(--muted); font-size: 8px; font-style: normal; font-weight: 900; letter-spacing: .12em; }
.entity-top h3 { margin: 3px 0 0; font-size: 17px; letter-spacing: -.025em; overflow-wrap: anywhere; }
.more-button { width: 34px; height: 34px; border: 0; border-radius: 9px; background: #f2f4ef; cursor: pointer; }
.entity-meta { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 20px; }
.entity-meta > div { min-width: 0; min-height: 68px; display: flex; flex-direction: column; justify-content: center; padding: 10px; border-radius: 9px; background: #f6f7f4; }
.entity-meta span:first-child { color: var(--muted); font-size: 9px; }
.entity-meta b { margin-top: 5px; font-size: 12px; }
.entity-meta .status-pill { margin-top: 5px; }
.path-code { display: block; margin-top: 14px; padding: 10px 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border-radius: 8px; background: #15191b; color: #b9c1bd; font-size: 10px; }
.entity-actions { display: flex; align-items: center; gap: 8px; margin-top: 15px; }
.icon-danger { width: 36px; height: 36px; display: grid; place-items: center; margin-left: auto; border: 1px solid #efcecb; border-radius: 9px; color: var(--danger); background: #fff8f7; cursor: pointer; }

.dns-layout { display: grid; grid-template-columns: 300px minmax(0,1fr); gap: 13px; }
.zone-list { padding: 17px; align-self: start; }
.zone-list .card-heading { margin: 4px 5px 13px; }
.zone-button { width: 100%; display: grid; grid-template-columns: 36px minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 11px; border: 1px solid transparent; border-radius: 10px; background: transparent; text-align: left; cursor: pointer; }
.zone-button:hover, .zone-button.active { border-color: #dce1d9; background: #f4f6f1; }
.zone-button > span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 9px; background: var(--ink); color: var(--accent); font-weight: 900; }
.zone-button div { min-width: 0; }
.zone-button b, .zone-button small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zone-button b { font-size: 12px; }
.zone-button small { color: var(--muted); font-size: 8px; }
.zone-button em { min-width: 24px; height: 24px; display: grid; place-items: center; border-radius: 999px; background: #e9ece6; font-size: 9px; font-style: normal; }
.dns-table-card, .table-card { padding: 22px; }
.table-count, .simulation-label { color: var(--muted); font-size: 10px; font-weight: 750; }
.table-wrap { width: 100%; overflow: auto; }
.data-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.data-table th { padding: 11px 12px; border-bottom: 1px solid #dfe2dc; color: var(--muted); font-size: 9px; font-weight: 850; letter-spacing: .08em; text-align: left; white-space: nowrap; }
.data-table td { padding: 13px 12px; border-bottom: 1px solid #edf0eb; font-size: 11px; vertical-align: middle; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table td:first-child { display: table-cell; }
.data-table td > .db-icon, .data-table td > .mail-avatar, .data-table td > .user-avatar-small { float: left; margin-right: 10px; }
.data-table code { max-width: 430px; display: inline-block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #444c47; font-size: 10px; vertical-align: middle; }
.data-table td small { display: block; margin-top: 2px; color: var(--muted); font-size: 9px; }
.dns-type, .type-pill { min-width: 40px; display: inline-grid; place-items: center; padding: 5px 7px; border-radius: 7px; background: #e9f8ef; color: var(--success); font-size: 9px; font-weight: 900; }
.type-pill { color: #445247; background: #edf0eb; text-transform: uppercase; }
.table-action { padding: 6px 9px; border: 1px solid var(--line); border-radius: 7px; background: var(--white); font-size: 9px; font-weight: 800; cursor: pointer; }
.table-action.danger { color: var(--danger); border-color: #efd2cf; background: #fff9f8; }
.locked { color: var(--muted); }
.cell-stack { min-width: 0; display: inline-flex; flex-direction: column; vertical-align: middle; }
.cell-stack b, .cell-stack small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.capacity-inline { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 10px; }
.capacity-inline b { color: var(--ink); }

.mail-summary-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; margin-bottom: 13px; }
.mail-domain-card { padding: 20px; border: 1px solid #dfe2dc; border-radius: var(--radius-md); background: var(--white); }
.mail-domain-card > div:first-child { display: flex; align-items: center; gap: 12px; }
.mail-domain-card > div:first-child > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; background: var(--ink); color: var(--accent); font-weight: 900; }
.mail-domain-card small { color: var(--muted); font-size: 8px; font-weight: 900; letter-spacing: .1em; }
.mail-domain-card h3 { margin: 3px 0 0; font-size: 15px; }
.mail-security { display: flex; gap: 7px; margin-top: 20px; }
.mail-security span { padding: 5px 8px; border-radius: 6px; background: #eef0ec; color: var(--muted); font-size: 8px; font-weight: 900; }
.mail-security span.on { color: var(--success); background: var(--success-soft); }
.mail-domain-card p { margin: 14px 0 0; color: var(--muted); font-size: 10px; }
.quota-cell { min-width: 120px; }
.quota-cell span { font-size: 10px; }
.quota-cell > div { height: 4px; margin-top: 5px; overflow: hidden; border-radius: 3px; background: #e8ebe6; }
.quota-cell i { display: block; height: 100%; background: var(--accent-strong); }

.file-manager { overflow: hidden; }
.file-toolbar { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 18px; border-bottom: 1px solid var(--line); }
.breadcrumbs { display: flex; align-items: center; gap: 5px; min-width: 0; overflow: auto; }
.breadcrumbs button { border: 0; padding: 4px 6px; border-radius: 6px; color: #4a534e; background: transparent; font-size: 11px; font-weight: 750; cursor: pointer; white-space: nowrap; }
.breadcrumbs button:hover:not(:disabled) { background: #eef0eb; }
.breadcrumbs button:disabled { color: var(--ink); cursor: default; }
.breadcrumbs span { color: #a4aaa6; }
.file-table-head { min-height: 38px; display: grid; grid-template-columns: minmax(260px,1fr) 120px 160px 28px; align-items: center; gap: 15px; padding: 0 18px; color: var(--muted); background: #f4f6f2; font-size: 9px; font-weight: 850; letter-spacing: .08em; }
.file-list { min-height: 320px; }
.file-row { width: 100%; min-height: 53px; display: grid; grid-template-columns: 31px minmax(180px,1fr) 120px 160px 28px; align-items: center; gap: 10px; padding: 0 18px; border: 0; border-bottom: 1px solid #edf0eb; background: var(--white); text-align: left; cursor: pointer; }
.file-row:hover { background: #fafbf8; }
.file-row b { font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-row small { display: none; color: var(--muted); font-size: 9px; }
.file-row em, .file-row time { color: var(--muted); font-size: 10px; font-style: normal; }
.file-row > i { color: #a8aea9; font-style: normal; }
.file-symbol { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 7px; background: #eef1eb; color: #49524d; font-size: 8px; font-weight: 900; }
.file-row.folder .file-symbol { color: var(--warning); background: var(--warning-soft); }
.file-footer { min-height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 18px; color: var(--muted); background: #f8f9f6; font-size: 9px; }
.file-footer code { color: #48504b; }
.empty-folder { padding: 70px 20px; color: var(--muted); text-align: center; }

.backup-summary { display: grid; grid-template-columns: repeat(3,1fr); gap: 13px; margin-bottom: 13px; }
.backup-summary article { display: flex; align-items: center; gap: 15px; padding: 19px; border: 1px solid #dfe2dc; border-radius: var(--radius-md); background: var(--white); }
.backup-summary article > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; background: var(--ink); color: var(--accent); }
.backup-summary small { display: block; color: var(--muted); font-size: 8px; font-weight: 900; letter-spacing: .1em; }
.backup-summary b { display: block; margin-top: 3px; font-size: 15px; }
.backup-list > article { display: grid; grid-template-columns: 39px minmax(220px,1fr) 110px 140px auto auto; align-items: center; gap: 15px; padding: 14px 0; border-bottom: 1px solid #edf0eb; }
.backup-list > article:last-child { border: 0; }
.backup-icon { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 10px; background: #eef1eb; color: #4d5651; }
.backup-main b, .backup-main small { display: block; }
.backup-main b { font-size: 11px; }
.backup-main small, .backup-list article > div > span { color: var(--muted); font-size: 9px; }
.backup-list article > div > b { display: block; font-size: 10px; }
.backup-actions { display: flex; align-items: center; gap: 6px; }
.working-indicator { display: flex; align-items: center; gap: 7px; color: var(--warning); font-size: 10px; }
.working-indicator i { width: 12px; height: 12px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }

.billing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin-bottom: 13px; }
.current-plan-card, .billing-note { padding: 24px; }
.plan-price strong { font-size: 34px; letter-spacing: -.05em; }
.plan-price span { color: var(--muted); }
.current-plan-card > p { color: var(--muted); }
.plan-limits-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-top: 20px; }
.plan-limits-grid div { padding: 12px; border-radius: 9px; background: #f5f6f2; }
.plan-limits-grid b, .plan-limits-grid span { display: block; }
.plan-limits-grid b { font-size: 14px; }
.plan-limits-grid span { color: var(--muted); font-size: 9px; }
.billing-note { display: grid; grid-template-columns: 43px 1fr; align-items: start; gap: 14px; }
.billing-note > span { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 12px; background: var(--accent); font-weight: 900; }
.billing-note h2 { margin: 4px 0 7px; font-size: 19px; text-transform: uppercase; }
.billing-note small { color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: .1em; }
.billing-note p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }

.support-banner { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 13px; padding: 25px; border-radius: var(--radius-md); color: var(--white); background: var(--ink); }
.support-banner > div { display: flex; align-items: center; gap: 16px; }
.support-banner > div > span { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 13px; background: var(--accent); color: var(--ink); font-size: 20px; font-weight: 900; }
.support-banner small { color: var(--accent); font-size: 8px; font-weight: 900; letter-spacing: .1em; }
.support-banner h2 { margin: 3px 0; font-size: 20px; }
.support-banner p { margin: 0; color: rgba(255,255,255,.52); font-size: 11px; }
.ticket-list { display: grid; }
.ticket-row { min-height: 67px; display: grid; grid-template-columns: 82px minmax(220px,1fr) 90px 110px 18px; align-items: center; gap: 15px; padding: 0 3px; border: 0; border-bottom: 1px solid #edf0eb; background: transparent; text-align: left; cursor: pointer; }
.ticket-row:hover { background: #fafbf8; }
.ticket-number { color: #505853; font-family: monospace; font-size: 10px; }
.ticket-row b, .ticket-row small { display: block; }
.ticket-row b { font-size: 11px; }
.ticket-row small { color: var(--muted); font-size: 9px; }
.ticket-row > i { color: #a5aba7; font-style: normal; }
.priority { width: max-content; padding: 5px 7px; border-radius: 6px; background: #eef0ec; color: var(--muted); font-size: 8px; font-weight: 850; text-transform: uppercase; }
.priority.high, .priority.critical { color: var(--danger); background: var(--danger-soft); }
.priority.low { color: var(--success); background: var(--success-soft); }

.admin-layout { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(330px,.7fr); gap: 13px; margin-bottom: 13px; }
.admin-servers, .admin-jobs, .audit-card { padding: 22px; }
.server-list > div { min-height: 66px; display: grid; grid-template-columns: 10px minmax(170px,1fr) 95px 130px auto auto; align-items: center; gap: 12px; border-bottom: 1px solid #edf0eb; }
.server-list > div:last-child { border: 0; }
.server-led { width: 8px; height: 8px; border-radius: 50%; background: var(--danger); }
.server-led.online { background: var(--success); box-shadow: 0 0 0 4px var(--success-soft); }
.server-name b, .server-name small, .server-list > div > div > span, .server-list > div > div > b { display: block; }
.server-name b { font-size: 11px; }
.server-name small, .server-list > div > div > span { color: var(--muted); font-size: 8px; }
.server-list > div > div > b { font-size: 10px; }
.job-list > div { min-height: 55px; display: grid; grid-template-columns: 30px minmax(130px,1fr) auto 32px; align-items: center; gap: 10px; border-bottom: 1px solid #edf0eb; }
.job-list > div:last-child { border: 0; }
.job-icon { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 8px; background: #eef0ec; font-size: 10px; font-weight: 900; }
.job-icon.success { color: var(--success); background: var(--success-soft); }
.job-icon.danger { color: var(--danger); background: var(--danger-soft); }
.job-icon.warning { color: var(--warning); background: var(--warning-soft); }
.job-list b, .job-list small { display: block; }
.job-list b { font-size: 10px; }
.job-list small, .job-list em { color: var(--muted); font-size: 8px; font-style: normal; }
.audit-list > div { display: grid; grid-template-columns: minmax(190px,1fr) minmax(120px,.5fr) 130px; gap: 20px; padding: 10px 0; border-bottom: 1px solid #edf0eb; font-size: 9px; }
.audit-list > div:last-child { border: 0; }
.audit-list code { color: #343b37; font-weight: 700; }
.audit-list span, .audit-list small { color: var(--muted); }

.empty-state { min-height: 290px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px; text-align: center; }
.empty-state > span { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 15px; background: #eef1eb; color: #4f5852; font-weight: 900; }
.empty-state h3 { margin: 17px 0 7px; font-size: 20px; letter-spacing: -.03em; }
.empty-state p { max-width: 450px; margin: 0 0 18px; color: var(--muted); }
.empty-row { padding: 25px 0; color: var(--muted); text-align: center; }
.onboarding-card { min-height: 460px; display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 55px; padding: 55px; border: 1px solid #dfe2dc; border-radius: var(--radius-xl); background: var(--white); }
.onboarding-art { position: relative; min-height: 310px; display: grid; place-items: center; overflow: hidden; border-radius: 22px; background: var(--ink); }
.onboarding-art span { position: relative; z-index: 2; width: 100px; height: 100px; display: grid; place-items: center; border-radius: 27px; background: var(--accent); font-size: 55px; font-weight: 950; }
.onboarding-art i { position: absolute; width: 240px; height: 240px; border: 1px solid rgba(182,255,54,.18); border-radius: 50%; }
.onboarding-art i:nth-child(3) { width: 340px; height: 340px; }
.onboarding-art i:nth-child(4) { width: 450px; height: 450px; }
.onboarding-card small { color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.onboarding-card h2 { margin: 10px 0 13px; font-size: clamp(32px,3.4vw,50px); line-height: 1.05; letter-spacing: -.05em; }
.onboarding-card p { max-width: 650px; color: var(--muted); line-height: 1.75; }
.page-loader { min-height: 65vh; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--muted); }
.page-loader span { width: 30px; height: 30px; border: 3px solid #cfd4cd; border-right-color: var(--ink); border-radius: 50%; animation: spin .75s linear infinite; }
.page-loader p { font-size: 11px; }
.page-error { min-height: 440px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px; border: 1px solid #e8d2d0; border-radius: var(--radius-lg); background: var(--white); text-align: center; }
.page-error > span { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 17px; background: var(--danger-soft); color: var(--danger); font-size: 23px; font-weight: 900; }
.page-error h2 { margin: 18px 0 7px; }
.page-error p { max-width: 520px; margin: 0 0 20px; color: var(--muted); }

/* Dialogs, forms and drawers */
.modal, .drawer { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 20px; }
.modal-backdrop, .drawer-backdrop { position: absolute; inset: 0; background: rgba(6,8,9,.68); backdrop-filter: blur(9px); }
.auth-dialog, .action-dialog { position: relative; z-index: 1; width: min(470px,100%); max-height: calc(100vh - 40px); overflow: auto; padding: 34px; border: 1px solid rgba(255,255,255,.12); border-radius: 22px; background: var(--white); box-shadow: var(--shadow-dark); }
.action-dialog { width: min(540px,100%); }
.action-dialog.wide { width: min(820px,100%); }
.modal-close { position: absolute; z-index: 3; top: 14px; right: 14px; width: 34px; height: 34px; border: 0; border-radius: 9px; background: #eef0ec; color: #59615c; font-size: 18px; cursor: pointer; }
.auth-brand > span:last-child { display: flex; flex-direction: column; line-height: 1.1; }
.auth-brand small { color: var(--muted); font-size: 10px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin: 28px 0; padding: 4px; border-radius: 11px; background: #eef0ec; }
.auth-tabs button { min-height: 37px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-weight: 750; cursor: pointer; }
.auth-tabs button.active { color: var(--ink); background: var(--white); box-shadow: 0 3px 12px rgba(0,0,0,.06); }
.auth-dialog section > small, .modal-heading small { color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: .14em; }
.auth-dialog h2, .modal-heading h2 { margin: 7px 0 7px; font-size: 30px; line-height: 1.08; letter-spacing: -.045em; }
.auth-dialog section > p, .modal-heading p { margin: 0 0 22px; color: var(--muted); }
.form-stack { display: grid; gap: 15px; }
.form-stack label { display: grid; gap: 7px; color: #404844; font-size: 11px; font-weight: 750; }
.form-stack label > small { color: var(--muted); font-size: 9px; font-weight: 500; }
.form-stack input, .form-stack select, .form-stack textarea, .ticket-reply textarea {
  width: 100%;
  border: 1px solid #d9ddd6;
  border-radius: 10px;
  outline: 0;
  background: #fbfcfa;
  color: var(--ink);
  transition: border-color .16s ease, box-shadow .16s ease;
}
.form-stack input, .form-stack select { height: 47px; padding: 0 13px; }
.form-stack textarea, .ticket-reply textarea { padding: 12px 13px; resize: vertical; line-height: 1.6; }
.form-stack input:focus, .form-stack select:focus, .form-stack textarea:focus, .ticket-reply textarea:focus { border-color: #8ea16d; box-shadow: 0 0 0 3px rgba(182,255,54,.16); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-note, .security-note { display: grid; grid-template-columns: 31px 1fr; gap: 10px; align-items: start; padding: 12px; border-radius: 9px; background: #f3f5ef; }
.form-note span, .security-note span { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 8px; background: var(--accent); font-size: 9px; font-weight: 900; }
.form-note p, .security-note p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.demo-note { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 12px; border: 1px dashed #d1d6cd; border-radius: 9px; background: #f8f9f6; }
.demo-note span { padding: 4px 6px; border-radius: 5px; background: var(--accent); font-size: 8px; font-weight: 900; }
.demo-note p { margin: 0; color: var(--muted); font-size: 9px; }
.modal-heading { padding-right: 35px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 22px; }
.modal-actions.split { justify-content: space-between; }
.confirm-panel { text-align: center; }
.confirm-symbol { width: 62px; height: 62px; display: grid; place-items: center; margin: 8px auto 10px; border-radius: 18px; background: var(--danger-soft); color: var(--danger); font-size: 25px; font-weight: 900; }
.credential-box { display: grid; gap: 7px; margin-top: 18px; }
.credential-box > div { display: grid; grid-template-columns: 130px minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; background: #fafbf8; }
.credential-box span { color: var(--muted); font-size: 10px; }
.credential-box code { overflow: auto; color: #2e3531; font-size: 11px; }
.credential-box button { border: 0; color: #3f493f; background: transparent; font-size: 9px; font-weight: 800; cursor: pointer; }
.security-note { margin-top: 13px; background: var(--warning-soft); }
.security-note span { color: var(--warning); background: #ffe6a8; }
.code-editor { min-height: 390px; font-family: "SFMono-Regular", Consolas, monospace; font-size: 12px; tab-size: 2; }
.ticket-thread { display: grid; gap: 12px; max-height: 430px; overflow: auto; padding: 4px 3px 10px; }
.ticket-message { max-width: 85%; padding: 14px; border-radius: 12px; background: #f1f3ee; }
.ticket-message.admin { justify-self: start; border-top-left-radius: 3px; }
.ticket-message.customer { justify-self: end; border-top-right-radius: 3px; background: #eaffbd; }
.ticket-message > div { display: flex; justify-content: space-between; gap: 20px; }
.ticket-message b { font-size: 10px; }
.ticket-message small { color: var(--muted); font-size: 8px; }
.ticket-message p { margin: 8px 0 0; font-size: 11px; }
.ticket-reply { display: grid; gap: 10px; margin-top: 15px; padding-top: 15px; border-top: 1px solid var(--line); }
.ticket-reply > div { display: flex; justify-content: space-between; gap: 10px; }
.closed-ticket { margin-top: 16px; padding: 13px; border-radius: 9px; background: #eef0ec; color: var(--muted); text-align: center; }

.drawer { place-items: stretch end; padding: 0; }
.drawer-panel { position: relative; z-index: 1; width: min(430px,100%); height: 100%; padding: 25px; overflow: auto; background: var(--white); box-shadow: -25px 0 80px rgba(0,0,0,.2); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 19px; border-bottom: 1px solid var(--line); }
.drawer-head small { color: var(--muted); font-size: 8px; font-weight: 900; letter-spacing: .12em; }
.drawer-head h3 { margin: 4px 0 0; font-size: 24px; letter-spacing: -.04em; }
.drawer-head button { width: 34px; height: 34px; border: 0; border-radius: 9px; background: #eef0ec; cursor: pointer; }
.notification-item { display: grid; grid-template-columns: 36px minmax(0,1fr) 7px; gap: 11px; padding: 16px 0; border-bottom: 1px solid #edf0eb; }
.notification-item.read { opacity: .58; }
.notification-type { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: #eef0ec; font-weight: 900; }
.notification-type.success { color: var(--success); background: var(--success-soft); }
.notification-type.error { color: var(--danger); background: var(--danger-soft); }
.notification-item b { font-size: 11px; }
.notification-item p { margin: 3px 0; color: var(--muted); font-size: 10px; }
.notification-item small { color: #9ba19d; font-size: 8px; }
.notification-item > i { width: 7px; height: 7px; margin-top: 7px; border-radius: 50%; background: var(--accent-strong); }
.empty-compact { display: flex; flex-direction: column; align-items: center; padding: 70px 20px; color: var(--muted); text-align: center; }
.empty-compact span { font-size: 30px; }

.toast-stack { position: fixed; z-index: 200; top: 22px; right: 22px; width: min(390px, calc(100vw - 32px)); display: grid; gap: 9px; pointer-events: none; }
.toast { display: grid; grid-template-columns: 34px minmax(0,1fr) 24px; align-items: center; gap: 10px; padding: 13px; border: 1px solid #dce1d9; border-radius: 12px; background: var(--white); box-shadow: 0 15px 45px rgba(0,0,0,.17); pointer-events: auto; animation: toastIn .24s ease both; }
.toast.leaving { animation: toastOut .22s ease both; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-8px) scale(.98); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(15px); } }
.toast-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; background: var(--success-soft); color: var(--success); font-weight: 900; }
.toast.danger .toast-icon { color: var(--danger); background: var(--danger-soft); }
.toast b { display: block; font-size: 11px; }
.toast p { margin: 1px 0 0; color: var(--muted); font-size: 10px; }
.toast button { border: 0; background: transparent; color: var(--muted); cursor: pointer; }

@media (max-width: 1240px) {
  .site-nav { display: none; }
  .hero-section { grid-template-columns: .86fr 1.14fr; gap: 30px; padding-left: 40px; padding-right: 40px; }
  .hero-copy h1 { font-size: clamp(52px,6.5vw,82px); }
  .feature-grid { grid-template-columns: repeat(2,1fr); }
  .feature-card-large { grid-column: span 1; grid-row: span 2; }
  .feature-card-wide { grid-column: span 1; grid-template-columns: 1fr; }
  .split-heading { grid-template-columns: 180px 1fr; }
  .split-heading > p { grid-column: 2; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .admin-layout { grid-template-columns: 1fr; }
  .server-list > div { grid-template-columns: 10px minmax(150px,1fr) 85px 110px auto; }
  .server-list > div > .button { grid-column: 2 / -1; justify-self: start; margin-bottom: 10px; }
}

@media (max-width: 1020px) {
  :root { --sidebar: 236px; }
  .hero-section { grid-template-columns: 1fr; min-height: auto; padding-top: 145px; }
  .hero-copy { max-width: 850px; }
  .hero-product { width: min(850px,100%); margin: 20px auto 0; }
  .browser-frame { transform: none; }
  .trust-strip { overflow: auto; }
  .trust-strip div { min-width: max-content; }
  .control-grid, .migration-card { grid-template-columns: 1fr; }
  .control-terminal { max-width: 780px; }
  .migration-route { max-width: 760px; }
  .support-card { grid-template-columns: 1fr auto; }
  .support-card > p { grid-column: 1 / -1; grid-row: 2; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-links { grid-column: 1 / -1; justify-content: flex-start; }
  .kpi-grid { grid-template-columns: repeat(2,1fr); }
  .entity-grid { grid-template-columns: 1fr; }
  .dns-layout { grid-template-columns: 1fr; }
  .zone-list { display: grid; grid-template-columns: repeat(2,1fr); }
  .zone-list .card-heading { grid-column: 1 / -1; }
  .mail-summary-grid { grid-template-columns: repeat(2,1fr); }
  .backup-list > article { grid-template-columns: 39px minmax(190px,1fr) 100px auto auto; }
  .backup-list > article > div:nth-of-type(3) { display: none; }
}

@media (max-width: 820px) {
  body.in-app { overflow: hidden; }
  .site-header { height: 70px; padding: 0 20px; }
  .site-header .brand { margin-right: 0; }
  .header-actions .button-quiet { display: none; }
  .hero-section { padding: 120px 22px 60px; }
  .hero-copy h1 { font-size: clamp(48px,13vw,78px); }
  .hero-facts { gap: 24px; }
  .preview-app { min-height: 400px; }
  .preview-content { padding: 18px; }
  .preview-sites { display: none; }
  .trust-strip { padding: 0 22px; gap: 28px; }
  .section-wrap { width: min(100% - 32px,1460px); }
  .platform-section, .plans-section, .migration-section, .support-section { padding-top: 75px; padding-bottom: 75px; }
  .split-heading { display: block; }
  .split-heading > div { margin-bottom: 24px; }
  .split-heading h2 { margin-bottom: 18px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card-large, .feature-card-wide { grid-column: auto; min-height: 400px; }
  .feature-card-wide { min-height: 300px; }
  .control-section { padding: 80px 0; }
  .check-list { grid-template-columns: 1fr; }
  .plan-grid { grid-template-columns: 1fr; }
  .plan-card.featured { transform: none; }
  .migration-card { padding: 38px 25px; }
  .migration-route { grid-template-columns: 1fr; gap: 15px; }
  .route-line { transform: rotate(90deg); height: 50px; }
  .support-card { grid-template-columns: 1fr; padding: 35px 26px; }
  .support-card > p { grid-column: auto; grid-row: auto; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-links { grid-column: auto; flex-wrap: wrap; }
  .footer-bottom { flex-direction: column; }

  .app-shell { grid-template-columns: 1fr; }
  .app-sidebar { position: fixed; inset: 0 auto 0 0; width: min(286px,86vw); transform: translateX(-102%); transition: transform .23s ease; box-shadow: 25px 0 65px rgba(0,0,0,.3); }
  body.sidebar-open::after { content: ""; position: fixed; z-index: 30; inset: 0; background: rgba(0,0,0,.45); }
  body.sidebar-open .app-sidebar { transform: translateX(0); }
  .app-main { width: 100%; }
  .mobile-only { display: inline-grid; }
  .app-topbar { padding: 0 16px; gap: 10px; }
  .service-switcher-wrap { min-width: 0; width: min(260px,45vw); }
  .mode-pill { display: none; }
  .app-content { padding: 25px 16px 60px; }
  .page-header { align-items: flex-start; flex-direction: column; }
  .page-actions { width: 100%; flex-wrap: wrap; }
  .page-actions .button { flex: 1; }
  .service-meta-grid { grid-template-columns: repeat(2,1fr); }
  .resource-list { grid-template-columns: 1fr; }
  .backup-summary, .billing-grid { grid-template-columns: 1fr; }
  .mail-summary-grid { grid-template-columns: 1fr; }
  .support-banner { align-items: flex-start; flex-direction: column; }
  .support-banner .button { width: 100%; }
  .file-table-head { display: none; }
  .file-row { grid-template-columns: 31px minmax(0,1fr) 70px 18px; min-height: 60px; }
  .file-row small { display: block; grid-column: 2; }
  .file-row em { grid-column: 3; grid-row: 1 / span 2; }
  .file-row time { display: none; }
  .file-row > i { grid-column: 4; grid-row: 1 / span 2; }
  .backup-list > article { grid-template-columns: 39px minmax(0,1fr) auto; }
  .backup-list > article > div:not(.backup-main):not(.backup-actions), .backup-list > article > .status-pill { display: none; }
  .backup-actions { grid-column: 2 / -1; }
  .ticket-row { grid-template-columns: 72px minmax(0,1fr) auto; padding: 12px 2px; }
  .ticket-row .priority, .ticket-row > .status-pill { display: none; }
  .server-list > div { grid-template-columns: 10px minmax(0,1fr) auto; padding: 12px 0; }
  .server-list > div > div:not(.server-name), .server-list > div > .status-pill { display: none; }
  .server-list > div > .button { grid-column: 2 / -1; }
  .audit-list > div { grid-template-columns: minmax(0,1fr) 100px; }
  .audit-list span { display: none; }
}

@media (max-width: 560px) {
  .brand-product { display: none; }
  .site-header .button-dark { min-height: 40px; padding: 0 13px; font-size: 12px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-facts { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
  .hero-facts strong { font-size: 16px; }
  .hero-facts span { font-size: 8px; }
  .browser-top { grid-template-columns: 65px 1fr 70px; }
  .browser-status { font-size: 8px; }
  .preview-app { grid-template-columns: 46px 1fr; min-height: 340px; }
  .preview-sidebar { gap: 16px; }
  .preview-kpis { grid-template-columns: repeat(2,1fr); }
  .preview-kpis article:nth-child(3) { display: none; }
  .preview-chart { height: 70px; }
  .section-heading h2, .control-copy h2 { font-size: 38px; }
  .dark-card h3 { font-size: 34px; }
  .feature-card { padding: 24px; }
  .control-terminal pre { padding: 23px; font-size: 10px; }
  .plan-card { min-height: 520px; padding: 27px; }
  .migration-copy h2 { font-size: 37px; }
  .site-footer { padding-left: 22px; padding-right: 22px; }

  .app-topbar { height: 68px; }
  .service-switcher-wrap { width: 43vw; }
  .topbar-spacer { display: none; }
  .notification-button { margin-left: auto; }
  #newActionButton { width: 40px; min-width: 40px; padding: 0; font-size: 0; }
  #newActionButton::before { content: "+"; font-size: 20px; }
  .app-main { grid-template-rows: 68px minmax(0,1fr); }
  .page-header h1 { font-size: 31px; }
  .kpi-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .kpi-card { min-height: 135px; padding: 16px; }
  .kpi-card strong { font-size: 24px; }
  .kpi-card small { font-size: 7px; }
  .dashboard-grid { display: block; }
  .dashboard-grid > * { margin-bottom: 10px; }
  .service-meta-grid { grid-template-columns: 1fr 1fr; padding: 14px; }
  .quick-grid { grid-template-columns: 1fr 1fr; }
  .entity-card { padding: 17px; }
  .entity-meta { grid-template-columns: 1fr 1fr; }
  .entity-meta > div:first-child { grid-column: 1 / -1; }
  .entity-actions { flex-wrap: wrap; }
  .entity-actions .button { flex: 1; }
  .zone-list { grid-template-columns: 1fr; }
  .plan-limits-grid { grid-template-columns: repeat(2,1fr); }
  .onboarding-card { grid-template-columns: 1fr; padding: 25px; }
  .onboarding-art { min-height: 230px; }
  .auth-dialog, .action-dialog { padding: 27px 20px 22px; border-radius: 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .credential-box > div { grid-template-columns: 1fr auto; }
  .credential-box > div > span { grid-column: 1 / -1; }
  .modal-actions { flex-direction: column-reverse; }
  .modal-actions .button { width: 100%; }
  .modal-actions.split { flex-direction: column; }
  .ticket-message { max-width: 94%; }
  .toast-stack { top: 12px; right: 12px; }
}

/* ==========================================================================
   LYNQ Hosting v0.4 application component system
   The control plane uses these classes across all resource modules.
   ========================================================================== */
.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 27px;
}
.page-head > div:first-child { min-width: 0; }
.page-head small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.page-head h1 {
  margin: 5px 0 4px;
  font-size: clamp(30px, 3vw, 43px);
  line-height: 1.06;
  letter-spacing: -.052em;
}
.page-head p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
}

.panel {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dfe2dc;
  border-radius: var(--radius-md);
  background: var(--white);
}
.panel-padding { padding: 24px; }
.panel-head {
  min-height: 75px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 21px;
  border-bottom: 1px solid #e6e9e3;
}
.panel-head > div:first-child { min-width: 0; }
.panel-head h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -.032em;
}
.panel-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 11px;
}

/* KPI and dashboard composition */
.dashboard-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 13px;
}
.dashboard-grid > .panel:not(.overview-main):not(.overview-side) { grid-column: 1 / -1; }
.dashboard-grid > .overview-main { grid-column: span 3; }
.dashboard-grid > .overview-side { grid-column: span 1; }
.kpi-card > span {
  display: block;
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.kpi-card > small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
  letter-spacing: 0;
}
.kpi-card > .trend { color: var(--success); }
.kpi-card .compact-value {
  margin-top: 23px;
  font-size: clamp(18px, 1.55vw, 26px);
  line-height: 1.08;
}

/* Service overview */
.service-item {
  min-height: 82px;
  display: grid;
  grid-template-columns: 42px minmax(200px, 1.4fr) minmax(105px, .55fr) minmax(105px, .55fr) auto;
  align-items: center;
  gap: 15px;
  padding: 15px 21px;
  border-bottom: 1px solid #edf0eb;
}
.service-item:last-child { border-bottom: 0; }
.service-item > div { min-width: 0; }
.service-item b,
.service-item small { display: block; }
.service-item b {
  overflow: hidden;
  color: var(--ink);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.service-item small {
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.service-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--ink);
  color: var(--accent);
  font-size: 16px;
  font-weight: 950;
}
.usage-list { display: grid; gap: 19px; padding: 22px; }
.usage-row > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 8px;
  font-size: 10px;
}
.usage-row span { color: var(--muted); }
.usage-row b { font-size: 10px; }
.progress {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #e9ece6;
}
.progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--ink);
}
.progress.accent i { background: var(--accent-strong); }
.quick-grid { padding: 16px; }
.quick-grid .quick-action {
  min-height: 110px;
  position: relative;
  justify-content: flex-end;
  gap: 6px;
  padding: 17px;
  overflow: hidden;
}
.quick-grid .quick-action::before {
  content: "+";
  position: absolute;
  top: 15px;
  right: 15px;
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: var(--accent);
  font-size: 15px;
  font-weight: 900;
}
.quick-grid .quick-action[data-action="create-backup"]::before { content: "↶"; }
.quick-grid .quick-action[data-action="new-ticket"]::before { content: "?"; }
.quick-grid .quick-action[data-action="add-dns"]::before { content: "◎"; }
.quick-grid .quick-action > b {
  display: block;
  padding-right: 34px;
  font-size: 12px;
}
.quick-grid .quick-action > span {
  width: auto;
  height: auto;
  display: block;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.5;
}
.quick-grid .quick-action:disabled { cursor: not-allowed; opacity: .48; }
.activity-list { padding: 5px 18px 10px; }
.activity-list .activity-item {
  min-height: 62px;
  grid-template-columns: 28px minmax(0, 1fr);
  position: relative;
  gap: 10px;
  padding: 12px 0;
}
.activity-icon {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  margin-top: 1px;
  border-radius: 8px;
  background: #eef1eb;
  color: #59615c;
  font-size: 10px;
  font-weight: 950;
}
.activity-item > div:nth-child(2) { min-width: 0; padding-right: 74px; }
.activity-item b,
.activity-item p { display: block; }
.activity-item b {
  overflow: hidden;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.activity-item p {
  display: -webkit-box;
  overflow: hidden;
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.activity-item time {
  position: absolute;
  top: 13px;
  right: 0;
  color: var(--muted);
  font-size: 8px;
}

/* Reusable status and data-table controls */
.status-badge {
  min-height: 26px;
  width: max-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 9px;
  border-radius: 999px;
  color: var(--success);
  background: var(--success-soft);
  font-size: 9px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}
.status-badge::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.status-badge.warning { color: var(--warning); background: var(--warning-soft); }
.status-badge.danger { color: var(--danger); background: var(--danger-soft); }
.status-badge.neutral { color: var(--muted); background: #edf0eb; }
.status-badge.blue { color: #3268a8; background: #edf5ff; }
.data-table-wrap {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
}
.table-actions { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.table-button {
  min-height: 31px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: #46504a;
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}
.table-button:hover:not(:disabled) { border-color: #bfc5bd; background: #f7f8f5; }
.table-button.danger { color: var(--danger); border-color: #efd2cf; background: #fff9f8; }
.table-button:disabled { opacity: .5; cursor: not-allowed; }
.value-cell {
  max-width: 430px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.muted-lock { color: #9ca39f; font-size: 10px; }

/* Sites and resource modules */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}
.resource-card {
  min-width: 0;
  padding: 22px;
  border: 1px solid #dfe2dc;
  border-radius: var(--radius-md);
  background: var(--white);
}
.resource-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}
.resource-card-head > div { min-width: 0; }
.resource-card-head h3 {
  overflow: hidden;
  margin: 0;
  font-size: 18px;
  letter-spacing: -.03em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.resource-card-head p { margin: 4px 0 0; color: var(--muted); font-size: 10px; }
.resource-card-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 20px;
}
.resource-card-meta > div {
  min-width: 0;
  padding: 11px;
  border-radius: 9px;
  background: #f5f6f2;
}
.resource-card-meta span,
.resource-card-meta b { display: block; }
.resource-card-meta span { color: var(--muted); font-size: 8px; }
.resource-card-meta b {
  overflow: hidden;
  margin-top: 4px;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.resource-card-actions {
  min-height: 37px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 17px;
}
.resource-card-actions > :last-child:not(:first-child) { margin-left: auto; }

/* Files */
.panel > .file-toolbar { background: #fafbf8; }
.file-toolbar .topbar-spacer { min-width: 18px; }
.file-link {
  max-width: 100%;
  display: inline-flex;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.file-name {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.file-name b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file-type-icon {
  width: 29px;
  height: 29px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 8px;
  background: var(--warning-soft);
  color: var(--warning);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}
.file-type-icon.file { color: #4d5751; background: #edf0eb; }

/* Billing */
.invoice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}
.billing-card {
  min-width: 0;
  min-height: 320px;
  position: relative;
  overflow: hidden;
  padding: 26px;
  border: 1px solid #dfe2dc;
  border-radius: var(--radius-md);
  background: var(--white);
}
.billing-card.current-plan {
  color: var(--white);
  border-color: var(--ink);
  background:
    radial-gradient(circle at 90% 12%, rgba(182,255,54,.19), transparent 28%),
    linear-gradient(145deg, #0a0c0d, #171c18);
}
.billing-card > small { color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.billing-card.current-plan > small { color: var(--accent); }
.billing-card h2 { margin: 7px 0 20px; font-size: 24px; line-height: 1.15; letter-spacing: -.04em; }
.billing-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 24px; }
.billing-price strong { font-size: clamp(28px, 3vw, 44px); line-height: 1; letter-spacing: -.055em; }
.billing-price small { color: var(--muted); font-size: 10px; }
.billing-card.current-plan .billing-price small { color: rgba(255,255,255,.5); }
.billing-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}
.billing-details > div {
  min-width: 0;
  min-height: 62px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 9px;
  background: #f4f6f2;
}
.current-plan .billing-details > div { background: rgba(255,255,255,.075); }
.billing-details span { color: var(--muted); font-size: 8px; }
.current-plan .billing-details span { color: rgba(255,255,255,.44); }
.billing-details b { overflow: hidden; margin-top: 4px; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.billing-section-gap { margin-top: 13px; }

/* Support center */
.ticket-layout {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(280px, .38fr) minmax(0, 1fr);
  gap: 13px;
}
.ticket-layout > section {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dfe2dc;
  border-radius: var(--radius-md);
  background: var(--white);
}
.ticket-list { display: block; }
.ticket-list-head {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 18px;
  border-bottom: 1px solid #e6e9e3;
}
.ticket-list-head h3 { margin: 0; font-size: 15px; }
.ticket-item {
  width: 100%;
  min-height: 104px;
  display: block;
  padding: 15px 17px;
  border: 0;
  border-bottom: 1px solid #edf0eb;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.ticket-item:hover { background: #fafbf8; }
.ticket-item.active { background: #f3f7eb; box-shadow: inset 3px 0 var(--accent-strong); }
.ticket-item-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ticket-item-top b { color: #4c5550; font-family: monospace; font-size: 10px; }
.ticket-item p {
  overflow: hidden;
  margin: 8px 0 6px;
  font-size: 12px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ticket-item > small { display: block; color: var(--muted); font-size: 9px; }
.ticket-thread { min-height: 620px; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.thread-head {
  min-height: 83px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  border-bottom: 1px solid #e6e9e3;
}
.thread-head > div:first-child { min-width: 0; }
.thread-head h3 { overflow: hidden; margin: 0; font-size: 17px; text-overflow: ellipsis; white-space: nowrap; }
.thread-head p { margin: 4px 0 0; color: var(--muted); font-size: 9px; }
.thread-messages {
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  padding: 22px;
  background: #f7f8f5;
}
.message {
  width: max-content;
  max-width: min(76%, 650px);
  align-self: flex-start;
  padding: 13px 15px;
  border: 1px solid #e0e4de;
  border-radius: 4px 15px 15px;
  background: var(--white);
}
.message.admin {
  align-self: flex-end;
  color: var(--white);
  border-color: var(--ink);
  border-radius: 15px 4px 15px 15px;
  background: var(--ink);
}
.message p { margin: 0; white-space: pre-wrap; }
.message small { display: block; margin-top: 8px; color: var(--muted); font-size: 8px; }
.message.admin small { color: rgba(255,255,255,.48); }
.thread-reply {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 15px;
  border-top: 1px solid #e6e9e3;
}
.thread-reply textarea {
  min-height: 48px;
  max-height: 150px;
  resize: vertical;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
}
.thread-reply textarea:focus { border-color: #9da69f; box-shadow: 0 0 0 3px rgba(18,25,21,.06); }
.thread-closed { padding: 19px; color: var(--muted); background: #f2f4ef; text-align: center; font-size: 10px; font-weight: 800; }

/* Administrator control plane */
.admin-summary { margin-bottom: 13px; }
.admin-summary > .kpi-card { grid-column: span 1; }
.admin-tabs {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 13px;
  padding: 5px;
  overflow-x: auto;
  border: 1px solid #dfe2dc;
  border-radius: 12px;
  background: var(--white);
}
.admin-tabs button {
  min-height: 37px;
  flex: 0 0 auto;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}
.admin-tabs button:hover { background: #f3f5f1; }
.admin-tabs button.active { color: var(--white); background: var(--ink); }
.admin-actions { justify-content: flex-end; margin-bottom: 10px; }
.server-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}
.server-card {
  min-width: 0;
  padding: 20px;
  border: 1px solid #dfe2dc;
  border-radius: var(--radius-md);
  background: var(--white);
}
.server-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.server-card-top > div { min-width: 0; }
.server-card h3 { margin: 0; font-size: 16px; }
.server-card p { overflow: hidden; margin: 4px 0 0; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.server-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 18px 0;
}
.server-metrics > div { min-width: 0; padding: 10px; border-radius: 9px; background: #f5f6f2; }
.server-metrics span,
.server-metrics b { display: block; }
.server-metrics span { color: var(--muted); font-size: 8px; }
.server-metrics b { overflow: hidden; margin-top: 4px; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }

/* Loading, empty states, modal content and generated forms */
.loading-state {
  min-height: 65vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--muted);
}
.spinner {
  width: 31px;
  height: 31px;
  border: 3px solid #ced3cc;
  border-right-color: var(--ink);
  border-radius: 50%;
  animation: spin .72s linear infinite;
}
.empty-state-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin: 0 auto;
  border-radius: 15px;
  background: #eef1eb;
  color: #4f5852;
  font-size: 18px;
  font-weight: 950;
}
.modal-eyebrow {
  display: block;
  padding-right: 38px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.modal-description { margin: 7px 0 22px; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.form-grid .span-2 { grid-column: 1 / -1; }
.form-grid label,
.form-stack label {
  min-width: 0;
  display: grid;
  gap: 7px;
  color: #3d4540;
  font-size: 11px;
  font-weight: 750;
}
.form-grid input,
.form-grid select,
.form-grid textarea,
.form-stack input,
.form-stack select,
.form-stack textarea {
  width: 100%;
  min-height: 45px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
  background: var(--white);
  color: var(--ink);
  font-weight: 500;
}
.form-grid textarea,
.form-stack textarea { min-height: 112px; resize: vertical; }
.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus,
.form-stack input:focus,
.form-stack select:focus,
.form-stack textarea:focus { border-color: #99a29b; box-shadow: 0 0 0 3px rgba(16,24,19,.06); }
.form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 23px;
}
.confirm-box {
  margin: 18px 0 4px;
  padding: 14px;
  border: 1px solid #e8ddbd;
  border-radius: 10px;
  color: #6b531e;
  background: var(--warning-soft);
  font-size: 11px;
  line-height: 1.55;
}
.confirm-box.danger { color: #8b2d2d; border-color: #efcecb; background: var(--danger-soft); }
.credential-box {
  display: grid;
  gap: 8px;
  margin: 18px 0;
  padding: 13px;
  border: 1px solid #dfe2dc;
  border-radius: 11px;
  background: #f6f7f4;
}
.credential-row {
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 36px;
}
.credential-row > span { color: var(--muted); font-size: 9px; }
.credential-row code { min-width: 0; overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.code-editor { min-height: 330px !important; font-family: "SFMono-Regular", Consolas, monospace; font-size: 12px; line-height: 1.55; tab-size: 2; }

/* Pricing cards generated by the API */
.plan-card { position: relative; }
.plan-card.popular {
  color: var(--white);
  border-color: var(--ink);
  background:
    radial-gradient(circle at 100% 0, rgba(182,255,54,.16), transparent 30%),
    linear-gradient(145deg, #0b0e0f, #171c19);
  box-shadow: 0 22px 54px rgba(11,13,15,.18);
}
.plan-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--accent);
  color: #13170f;
  font-size: 8px;
  font-weight: 950;
  letter-spacing: .08em;
}
.plan-card > small { color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: .13em; }
.plan-card.popular > small { color: var(--accent); }
.plan-card > h3 { margin: 10px 0 9px; font-size: 33px; line-height: 1; letter-spacing: -.05em; }
.plan-description { min-height: 47px; margin: 0; color: var(--muted); }
.plan-card.popular .plan-description { color: rgba(255,255,255,.55); }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin: 30px 0 0; }
.plan-price b { font-size: clamp(27px, 2.7vw, 40px); line-height: 1; letter-spacing: -.055em; }
.plan-price span { color: var(--muted); font-size: 10px; }
.plan-card.popular .plan-price span { color: rgba(255,255,255,.48); }
.plan-divider { height: 1px; margin: 25px 0 22px; background: var(--line); }
.plan-card.popular .plan-divider { background: rgba(255,255,255,.12); }
.plan-features { min-height: 210px; display: grid; align-content: start; gap: 10px; margin: 0 0 26px; padding: 0; list-style: none; }
.plan-features li { display: flex; justify-content: space-between; gap: 18px; padding-bottom: 9px; border-bottom: 1px solid #edf0eb; color: var(--muted); font-size: 11px; }
.plan-features li b { color: var(--ink); }
.plan-card.popular .plan-features li { color: rgba(255,255,255,.52); border-color: rgba(255,255,255,.09); }
.plan-card.popular .plan-features li b { color: var(--white); }
.plan-card > .button { width: 100%; }

@media (max-width: 1240px) {
  .dashboard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-grid > .overview-main,
  .dashboard-grid > .overview-side,
  .dashboard-grid > .panel:not(.overview-main):not(.overview-side) { grid-column: 1 / -1; }
  .admin-summary > .kpi-card { grid-column: span 1; }
  .resource-grid { grid-template-columns: 1fr; }
  .server-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-item { grid-template-columns: 42px minmax(180px, 1.3fr) minmax(95px, .5fr) minmax(95px, .5fr) auto; }
}

@media (max-width: 820px) {
  .app-sidebar { z-index: 72; }
  body.sidebar-open::after {
    content: "";
    position: fixed;
    z-index: 70;
    inset: 0;
    background: rgba(6,8,9,.48);
    backdrop-filter: blur(4px);
  }
  .app-sidebar.open { transform: translateX(0); }
  .page-head { align-items: flex-start; flex-direction: column; gap: 16px; }
  .page-actions { width: 100%; flex-wrap: wrap; }
  .page-actions .button { flex: 1 1 auto; }
  .dashboard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-grid > .panel,
  .dashboard-grid > .overview-main,
  .dashboard-grid > .overview-side { grid-column: 1 / -1; }
  .admin-summary > .kpi-card { grid-column: span 1; }
  .resource-card-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .invoice-grid,
  .ticket-layout,
  .server-grid { grid-template-columns: 1fr; }
  .ticket-layout { min-height: auto; }
  .ticket-list { max-height: 390px; overflow-y: auto; }
  .ticket-thread { min-height: 550px; }
  .service-item { grid-template-columns: 42px minmax(0, 1fr) auto; }
  .service-item > div:nth-child(3),
  .service-item > div:nth-child(4) { display: none; }
  .data-table { min-width: 680px; }
  .panel-head { align-items: flex-start; }
}

@media (max-width: 560px) {
  .app-content { padding-right: 14px; padding-left: 14px; }
  .page-head h1 { font-size: 30px; }
  .page-actions { display: grid; grid-template-columns: 1fr; }
  .page-actions .button,
  .page-actions .table-button { width: 100%; }
  .dashboard-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
  }
  .dashboard-grid > * { grid-column: 1 !important; margin-bottom: 0; }
  .admin-summary > .kpi-card { grid-column: 1; }
  .kpi-card { min-height: 128px; }
  .panel-head { min-height: 68px; padding: 14px 15px; }
  .panel-head p { display: none; }
  .service-item {
    grid-template-columns: 38px minmax(0, 1fr);
    min-height: 78px;
    padding: 13px 15px;
  }
  .service-item .service-icon { width: 38px; height: 38px; }
  .service-item > button { grid-column: 2; width: 100%; margin-top: 2px; }
  .quick-grid { grid-template-columns: 1fr; }
  .quick-grid .quick-action { min-height: 94px; }
  .resource-card { padding: 17px; }
  .resource-card-head { align-items: flex-start; flex-direction: column; }
  .resource-card-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resource-card-actions { align-items: stretch; flex-direction: column; }
  .resource-card-actions > * { width: 100%; margin-left: 0 !important; }
  .file-toolbar { align-items: flex-start; flex-wrap: wrap; padding: 12px; }
  .file-toolbar .topbar-spacer { display: none; }
  .billing-card { min-height: auto; padding: 21px; }
  .billing-details { grid-template-columns: 1fr; }
  .ticket-thread { min-height: 500px; }
  .thread-head { align-items: flex-start; flex-direction: column; }
  .thread-head .page-actions { display: flex; width: auto; }
  .thread-reply { grid-template-columns: 1fr; }
  .thread-reply .button { width: 100%; }
  .message { max-width: 90%; }
  .server-grid { gap: 9px; }
  .server-metrics { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: 1; }
  .credential-row { grid-template-columns: 1fr auto; }
  .credential-row > span { grid-column: 1 / -1; }
  .form-actions { align-items: stretch; flex-direction: column-reverse; }
  .form-actions .button { width: 100%; }
  .plan-badge { top: 19px; right: 19px; }
}

/* ==========================================================================
   LYNQ Hosting v0.4 commercial operations
   Billing lifecycle, applications, automation, telemetry and secure access.
   ========================================================================== */
.app-nav {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.16) transparent;
}
.app-nav::-webkit-scrollbar { width: 5px; }
.app-nav::-webkit-scrollbar-thumb { border-radius: 999px; background: rgba(255,255,255,.16); }
.sidebar-help { flex: 0 0 auto; }

.plan-annual {
  min-height: 20px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}
.plan-card.popular .plan-annual,
.plan-card.featured .plan-annual { color: rgba(255,255,255,.52); }

.app-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.app-catalog-card {
  min-width: 0;
  min-height: 265px;
  display: flex;
  flex-direction: column;
  padding: 25px;
  border: 1px solid #dfe2dc;
  border-radius: var(--radius-md);
  background: var(--white);
}
.app-catalog-card.featured-app {
  color: var(--white);
  border-color: #181d1a;
  background:
    radial-gradient(circle at 100% 0, rgba(182,255,54,.18), transparent 35%),
    linear-gradient(145deg, #0c1010, #19201c);
  box-shadow: 0 22px 48px rgba(10,13,11,.12);
}
.app-catalog-card.muted-app { background: #f6f7f4; }
.app-logo {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid #dfe2dc;
  border-radius: 13px;
  background: #f5f7f2;
  color: #354038;
  font-size: 16px;
  font-weight: 950;
}
.app-logo.wordpress-logo {
  color: #111713;
  border-color: var(--accent);
  background: var(--accent);
}
.featured-app .app-logo {
  border-color: rgba(255,255,255,.14);
  background: rgba(255,255,255,.07);
  color: var(--accent);
}
.app-catalog-copy { margin: 23px 0 22px; }
.app-catalog-copy h2 { margin: 0 0 8px; font-size: 26px; letter-spacing: -.04em; }
.app-catalog-copy p { margin: 0; color: var(--muted); line-height: 1.65; }
.featured-app .app-catalog-copy p { color: rgba(255,255,255,.56); }
.app-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.app-tags span {
  padding: 6px 8px;
  border: 1px solid #e0e4dc;
  border-radius: 999px;
  color: var(--muted);
  background: #fafbf8;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.featured-app .app-tags span {
  color: rgba(255,255,255,.65);
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
}
.app-catalog-card > .button { margin-top: auto; }

.monitoring-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 11px;
  margin-bottom: 12px;
}
.monitoring-kpis .kpi-card { min-height: 138px; }
.monitoring-chart-panel { padding-bottom: 16px; }
.usage-chart {
  position: relative;
  min-height: 285px;
  padding: 16px 22px 4px;
  overflow: hidden;
}
.usage-chart svg { width: 100%; height: 245px; overflow: visible; }
.usage-chart .chart-grid line { stroke: #e7eae4; stroke-width: 1; vector-effect: non-scaling-stroke; }
.usage-chart .chart-area { fill: rgba(182,255,54,.15); }
.usage-chart .chart-line { fill: none; stroke: #202722; stroke-width: 2.2; vector-effect: non-scaling-stroke; }
.usage-chart .chart-point { fill: var(--accent); stroke: #202722; stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart-axis {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 0 5px;
  color: var(--muted);
  font-size: 8px;
}
.chart-empty {
  min-height: 245px;
  display: grid;
  place-items: center;
  border: 1px dashed #d9ddd5;
  border-radius: 12px;
  color: var(--muted);
  background: #fafbf8;
  text-align: center;
}

.billing-alert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 13px;
  padding: 14px 17px;
  border: 1px solid #dfdfc5;
  border-radius: 11px;
  background: var(--warning-soft);
}
.billing-alert b { font-size: 12px; }
.billing-alert span { color: #6d5d29; font-size: 10px; }
.billing-alert.danger { color: #8b2d2d; border-color: #efcfcb; background: var(--danger-soft); }
.billing-alert.danger span { color: #8b5151; }
.billing-title-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.billing-title-row h2 { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.billing-controls { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 20px; }
.billing-card.current-plan .billing-controls .button-quiet {
  color: rgba(255,255,255,.78);
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.05);
}
.billing-card.current-plan .billing-controls .button-quiet:hover { color: var(--white); background: rgba(255,255,255,.1); }

.access-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, .75fr);
  gap: 12px;
  margin-bottom: 12px;
}
.access-connection-card { min-height: 380px; }
.access-connection-card .panel-head { border-bottom: 1px solid #edf0eb; }
.connection-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 22px;
}
.connection-grid > div {
  min-width: 0;
  min-height: 76px;
  padding: 15px;
  border: 1px solid #e3e6df;
  border-radius: 11px;
  background: #f8f9f6;
}
.connection-grid span,
.connection-grid code,
.connection-grid b { display: block; }
.connection-grid span { margin-bottom: 8px; color: var(--muted); font-size: 8px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.connection-grid code,
.connection-grid b { min-width: 0; overflow: hidden; color: #313a34; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.access-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 22px 18px; }
.access-connection-card > .security-note {
  display: block;
  margin: 0 22px 22px;
  padding: 12px 14px;
  color: #6d5b2a;
  font-size: 10px;
  line-height: 1.55;
}
.access-policy-card {
  min-height: 380px;
  padding: 27px;
  color: var(--white);
  border-color: #171d19;
  background:
    radial-gradient(circle at 100% 0, rgba(182,255,54,.16), transparent 34%),
    #101412;
}
.access-policy-card > small { color: var(--accent); font-size: 9px; font-weight: 900; letter-spacing: .14em; }
.access-policy-card h2 { margin: 9px 0 12px; font-size: 28px; letter-spacing: -.045em; }
.access-policy-card > p { margin: 0 0 34px; color: rgba(255,255,255,.56); line-height: 1.7; }
.policy-metric { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.1); }
.policy-metric span { color: rgba(255,255,255,.48); font-size: 9px; }
.policy-metric b { font-size: 11px; text-align: right; }

.admin-command-bar {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  margin: -4px 0 12px;
}
.admin-kpi-danger strong { color: var(--danger); }

@media (max-width: 1120px) {
  .app-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .monitoring-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .access-layout { grid-template-columns: 1fr; }
  .access-policy-card { min-height: 300px; }
}

@media (max-width: 820px) {
  .app-nav { margin-bottom: 14px; }
  .app-catalog-grid { grid-template-columns: 1fr; }
  .billing-alert { align-items: flex-start; flex-direction: column; gap: 5px; }
  .usage-chart { padding-right: 13px; padding-left: 13px; }
}

@media (max-width: 560px) {
  .monitoring-kpis { grid-template-columns: 1fr; }
  .monitoring-kpis .kpi-card { min-height: 118px; }
  .connection-grid { grid-template-columns: 1fr; padding: 15px; }
  .access-actions { align-items: stretch; flex-direction: column; padding: 0 15px 15px; }
  .access-actions > * { width: 100%; }
  .access-connection-card > .security-note { margin: 0 15px 15px; }
  .access-policy-card { min-height: auto; padding: 22px; }
  .billing-title-row { align-items: flex-start; flex-direction: column; }
  .billing-title-row h2 { max-width: 100%; white-space: normal; }
  .billing-controls { align-items: stretch; flex-direction: column; }
  .billing-controls .button { width: 100%; }
  .admin-command-bar { display: grid; grid-template-columns: 1fr; }
  .admin-command-bar .button { width: 100%; }
}

/* Service lifecycle guard */
.service-state-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: -4px 0 22px;
  padding: 18px 20px;
  border: 1px solid rgba(183, 54, 54, .22);
  border-radius: 18px;
  background: rgba(183, 54, 54, .07);
}
.service-state-banner > div { display: grid; gap: 5px; }
.service-state-banner b { font-size: 14px; }
.service-state-banner span { color: var(--muted); font-size: 13px; line-height: 1.55; }
.service-state-banner .button { flex: 0 0 auto; }
@media (max-width: 680px) {
  .service-state-banner { align-items: stretch; flex-direction: column; }
  .service-state-banner .button { width: 100%; }
}

/* v0.5.0 — account security, API and public status */
.nav-status-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  cursor: pointer;
}
.nav-status-button > span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(38, 148, 89, .12);
}
.status-dialog {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow-dark);
}
.status-modal-content { min-height: 320px; }
.status-hero {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 34px 38px 28px;
  color: var(--white);
  background: #101512;
}
.status-hero.degraded,
.status-hero.maintenance { background: #2b2716; }
.status-hero.major_outage { background: #35191a; }
.status-hero small { color: var(--accent); font-size: 9px; font-weight: 900; letter-spacing: .13em; }
.status-hero h2 { margin: 7px 0 6px; font-size: 30px; letter-spacing: -.045em; }
.status-hero p { margin: 0; color: rgba(255,255,255,.58); line-height: 1.6; }
.status-pulse {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(182,255,54,.12);
}
.status-pulse i {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 8px rgba(182,255,54,.09);
}
.status-hero.degraded .status-pulse i,
.status-hero.maintenance .status-pulse i { background: #ffc84c; box-shadow: 0 0 0 8px rgba(255,200,76,.1); }
.status-hero.major_outage .status-pulse i { background: #ff7777; box-shadow: 0 0 0 8px rgba(255,119,119,.1); }
.status-capacity {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0 38px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--line);
  transform: translateY(-1px);
}
.status-capacity > div { display: grid; gap: 4px; padding: 14px 16px; background: #f8f9f6; }
.status-capacity span { color: var(--muted); font-size: 8px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.status-capacity b { font-size: 17px; letter-spacing: -.03em; }
.status-component-list { display: grid; padding: 12px 38px 4px; }
.status-component-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 750;
}
.status-incidents { padding: 24px 38px 36px; }
.status-incidents .panel-head { padding: 0 0 14px; border: 0; }
.status-incident { padding: 17px; border: 1px solid #e1e4de; border-radius: 13px; background: #f8f9f6; }
.status-incident + .status-incident { margin-top: 10px; }
.status-incident > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.status-incident > p { margin: 9px 0 5px; color: var(--muted); line-height: 1.6; }
.status-incident > small { color: #8b908c; font-size: 9px; }
.status-history { padding-top: 0; }
.status-history-item { padding: 15px 0; border-top: 1px solid var(--line); }
.status-history-item > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.status-history-item > p { margin: 7px 0 4px; color: var(--muted); font-size: 10px; line-height: 1.55; }
.status-history-item > small { color: #919791; font-size: 8px; }
.incident-update { display: grid; gap: 3px; margin-top: 12px; padding: 11px 13px; border-left: 2px solid #c8cdc5; background: var(--white); }
.incident-update b { font-size: 10px; }
.incident-update span { color: var(--muted); font-size: 10px; line-height: 1.5; }
.incident-update small { color: #9ba09b; font-size: 8px; }
.status-empty,
.status-error { display: flex; align-items: center; gap: 14px; padding: 20px; border: 1px solid #dfe5da; border-radius: 13px; background: #f7faf4; }
.status-empty > span,
.status-error > span { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 50%; color: #1d6b3d; background: #dff4e5; font-weight: 950; }
.status-empty b { font-size: 12px; }
.status-empty p,
.status-error p { margin: 4px 0 0; color: var(--muted); font-size: 10px; }
.status-error { display: grid; justify-items: center; padding: 65px 30px; text-align: center; }
.status-error > span { color: var(--danger); background: var(--danger-soft); }

.security-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}
.security-primary-card {
  grid-column: span 2;
  min-height: 235px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-content: start;
  gap: 18px;
  padding: 26px;
  color: var(--white);
  border-color: #171d19;
  background: radial-gradient(circle at 100% 0, rgba(182,255,54,.14), transparent 35%), #101412;
}
.security-primary-card.enabled { background: radial-gradient(circle at 100% 0, rgba(182,255,54,.19), transparent 38%), #101712; }
.security-card-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 15px;
  color: var(--accent);
  background: rgba(255,255,255,.06);
  font-size: 15px;
  font-weight: 950;
}
.security-card-copy small,
.security-stat-card > small,
.api-guide small { color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.security-card-copy small { color: var(--accent); }
.security-card-copy h2 { margin: 8px 0 9px; font-size: 27px; letter-spacing: -.045em; }
.security-card-copy p { margin: 0; color: rgba(255,255,255,.57); line-height: 1.65; }
.security-card-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; align-self: end; padding-top: 12px; }
.security-primary-card .button-quiet { color: rgba(255,255,255,.8); border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.05); }
.security-stat-card { min-height: 235px; display: flex; flex-direction: column; padding: 24px; }
.security-stat-card > strong { display: block; margin: 18px 0 6px; font-size: 37px; letter-spacing: -.055em; }
.security-stat-card > strong.compact-value { font-size: 23px; }
.security-stat-card > p { margin: 0 0 20px; color: var(--muted); line-height: 1.6; }
.security-stat-card > .button { margin-top: auto; align-self: flex-start; }
.security-section { margin-top: 12px; }
.session-list { padding: 0 22px 10px; }
.session-item {
  min-width: 0;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 13px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}
.session-item:first-child { border-top: 0; }
.session-device-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; color: #626a64; background: #eef0ec; }
.session-item.current .session-device-icon { color: #316c45; background: #dff3e4; }
.session-item > div:nth-child(2) { min-width: 0; display: grid; gap: 4px; }
.session-item b { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.session-item small { overflow: hidden; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.session-expiry { display: grid; justify-items: end; gap: 3px; }
.session-expiry span { color: var(--muted); font-size: 8px; }
.session-expiry b { font-size: 10px; }
.scope-list { display: flex; flex-wrap: wrap; gap: 4px; }
.scope-list span,
.incident-components span {
  padding: 4px 6px;
  border-radius: 5px;
  color: #4c574f;
  background: #edf0eb;
  font-size: 8px;
  font-weight: 850;
  text-transform: uppercase;
}
.api-guide {
  display: grid;
  grid-template-columns: minmax(240px, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 28px;
  margin-top: 12px;
  padding: 26px;
  color: var(--white);
  border-color: #171d19;
  background: #101412;
}
.api-guide h2 { margin: 7px 0 8px; font-size: 23px; }
.api-guide p { margin: 0; color: rgba(255,255,255,.55); line-height: 1.6; }
.api-guide p code { color: var(--accent); }
.api-guide pre { min-width: 0; overflow: auto; margin: 0; padding: 18px; border: 1px solid rgba(255,255,255,.1); border-radius: 11px; background: rgba(0,0,0,.2); }
.api-guide pre code { color: #dfe9df; font-size: 10px; line-height: 1.75; }
.recovery-codes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 20px 0; }
.recovery-codes code { padding: 11px; border: 1px solid #dfe3dc; border-radius: 9px; background: #f7f8f5; text-align: center; font-size: 12px; font-weight: 800; letter-spacing: .06em; }
.component-selector { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin: 0; padding: 13px; border: 1px solid #dfe3dc; border-radius: 11px; }
.component-selector legend { padding: 0 7px; color: var(--muted); font-size: 9px; font-weight: 850; }
.component-selector label { min-height: 38px; display: flex; flex-direction: row; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid #e5e8e2; border-radius: 8px; background: #fafbf8; cursor: pointer; }
.component-selector input { width: auto; height: auto; margin: 0; }
.component-selector span { font-size: 9px; }

.incident-admin-list { display: grid; gap: 12px; }
.incident-admin-card { padding: 24px; }
.incident-admin-card.resolved { opacity: .78; }
.incident-admin-head { display: flex; justify-content: space-between; gap: 20px; }
.incident-admin-head small { color: var(--danger); font-size: 8px; font-weight: 900; letter-spacing: .12em; }
.incident-admin-head h3 { margin: 7px 0 7px; font-size: 20px; }
.incident-admin-head p { max-width: 760px; margin: 0; color: var(--muted); line-height: 1.6; }
.incident-components { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 15px; }
.incident-timeline { display: grid; gap: 0; margin: 20px 0 5px; }
.incident-timeline > div { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 10px; position: relative; padding-bottom: 14px; }
.incident-timeline > div > i { width: 8px; height: 8px; margin-top: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(182,255,54,.15); }
.incident-timeline > div:not(:last-child)::before { content: ''; position: absolute; top: 14px; bottom: -2px; left: 3px; width: 1px; background: #dfe3dc; }
.incident-timeline b { font-size: 10px; }
.incident-timeline p { margin: 3px 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.incident-timeline small { color: #969b96; font-size: 8px; }

@media (max-width: 1120px) {
  .security-overview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .security-primary-card { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .status-dialog { border-radius: 18px; }
  .status-hero { align-items: flex-start; padding: 28px 22px 22px; }
  .status-capacity { margin: 0 22px; }
  .status-component-list { padding: 10px 22px 3px; }
  .status-incidents { padding: 20px 22px 28px; }
  .security-overview-grid { grid-template-columns: 1fr; }
  .security-primary-card { grid-column: 1; grid-template-columns: 1fr; }
  .security-card-actions { grid-column: 1; align-items: stretch; flex-direction: column; }
  .security-card-actions .button { width: 100%; }
  .session-item { grid-template-columns: 38px minmax(0, 1fr) auto; }
  .session-expiry { display: none; }
  .api-guide { grid-template-columns: 1fr; }
  .incident-admin-head { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 520px) {
  .nav-status-button { display: none; }
  .status-hero { flex-direction: column; }
  .status-hero h2 { font-size: 25px; }
  .status-capacity { grid-template-columns: 1fr; }
  .status-component-list > div { align-items: flex-start; flex-direction: column; gap: 7px; }
  .session-list { padding-right: 15px; padding-left: 15px; }
  .session-item { grid-template-columns: 34px minmax(0, 1fr); }
  .session-item > .status-badge,
  .session-item > .table-button { grid-column: 2; justify-self: start; }
  .recovery-codes { grid-template-columns: 1fr; }
  .component-selector { grid-template-columns: 1fr; }
}

/* ========================================================================== 
   LYNQ Hosting v0.6.0 — light, task-oriented interface
   ========================================================================== */
:root {
  --ink: #1f2a3d;
  --ink-2: #26344d;
  --ink-3: #31415e;
  --paper: #f6f8fc;
  --white: #ffffff;
  --line: #e2e7ef;
  --muted: #6f7c91;
  --muted-dark: #8793a5;
  --accent: #3f6df6;
  --accent-strong: #315ce0;
  --accent-soft: #edf2ff;
  --success: #168451;
  --success-soft: #eaf7f0;
  --warning: #b9780d;
  --warning-soft: #fff6df;
  --danger: #c93f4b;
  --danger-soft: #fff0f2;
  --shadow: 0 24px 64px rgba(49,70,111,.12);
  --shadow-dark: 0 30px 80px rgba(35,49,78,.18);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 13px;
  --radius-sm: 9px;
  --sidebar: 248px;
  --topbar: 72px;
}
body { color: var(--ink); background: var(--paper); }
body.in-app { background: #f6f8fc; }
.button { border-radius: 9px; box-shadow: none; }
.button-dark,
.button-accent { color: #fff; border-color: var(--accent); background: var(--accent); }
.button-dark:hover:not(:disabled),
.button-accent:hover:not(:disabled) { color: #fff; border-color: var(--accent-strong); background: var(--accent-strong); }
.button-outline { color: #31415e; border-color: #cfd8e7; background: #fff; }
.button-outline:hover:not(:disabled) { color: var(--accent); border-color: #b7c7f5; background: #f7f9ff; }
.button-quiet { color: #4f5d72; border-color: #dce2eb; background: #fff; }
.button-quiet:hover:not(:disabled) { color: var(--accent); border-color: #c8d5f8; background: #f7f9ff; }
.brand-mark { color: #fff; border-radius: 9px; background: var(--accent); box-shadow: 0 8px 20px rgba(63,109,246,.22); }
.brand-lockup { display: inline-flex; align-items: baseline; gap: 7px; min-width: 0; }
.brand-lockup b,
.brand-name { color: #1f2b42; font-weight: 900; }
.brand-lockup small,
.brand-product { color: #79869a; font-weight: 680; }

/* Public shell */
.site-shell { overflow: clip; background: #fff; }
.site-header {
  height: 72px;
  padding: 0 clamp(22px,4.5vw,72px);
  color: var(--ink);
  border-bottom: 1px solid rgba(219,225,235,.9);
  background: rgba(255,255,255,.91);
  backdrop-filter: blur(22px) saturate(1.15);
}
.site-header .brand { margin-right: clamp(32px,4vw,62px); }
.site-header .brand-product { color: #7a8799; }
.site-nav { gap: clamp(20px,2.2vw,34px); }
.site-nav a { color: #5d6a7e; font-size: 13px; font-weight: 680; }
.site-nav a:hover { color: var(--accent); }
.header-actions { gap: 8px; }
.site-header .button-quiet { color: #4e5b70; border-color: transparent; background: transparent; }
.site-header .button-dark { color: #fff; border-color: var(--accent); background: var(--accent); }
.nav-status-button { min-height: 34px; padding: 0 11px; border: 1px solid #dfe8e3; border-radius: 999px; color: #526175; background: #f9fbfa; font-size: 10px; font-weight: 760; }
.nav-status-button > span { background: var(--success); box-shadow: 0 0 0 4px rgba(22,132,81,.1); }
.public-menu-button { width: 40px; height: 40px; display: none; place-items: center; padding: 9px; border: 1px solid #dfe4ec; border-radius: 9px; background: #fff; cursor: pointer; }
.public-menu-button span { width: 18px; height: 1.5px; display: block; margin: 2px 0; border-radius: 2px; background: #39465a; }
.public-mobile-nav { position: fixed; z-index: 39; inset: 72px 12px auto; display: grid; gap: 3px; padding: 10px; border: 1px solid #dfe5ee; border-radius: 14px; background: #fff; box-shadow: 0 24px 60px rgba(40,57,90,.18); }
.public-mobile-nav a,
.public-mobile-nav button { min-height: 46px; display: flex; align-items: center; padding: 0 14px; border: 0; border-radius: 9px; color: #334158; background: transparent; font: inherit; font-size: 13px; font-weight: 700; text-align: left; cursor: pointer; }
.public-mobile-nav a:hover,
.public-mobile-nav button:hover { color: var(--accent); background: var(--accent-soft); }

.hero-section {
  min-height: 760px;
  grid-template-columns: minmax(0,.9fr) minmax(500px,1.1fr);
  gap: clamp(44px,6vw,96px);
  padding: 132px clamp(24px,6vw,100px) 72px;
  color: var(--ink);
  background:
    radial-gradient(circle at 80% 18%, rgba(63,109,246,.11), transparent 27%),
    radial-gradient(circle at 10% 80%, rgba(163,193,255,.12), transparent 31%),
    linear-gradient(180deg,#fff 0%,#f8faff 100%);
}
.hero-section::before { opacity: .7; background-image: linear-gradient(#edf1f7 1px,transparent 1px),linear-gradient(90deg,#edf1f7 1px,transparent 1px); background-size: 50px 50px; mask-image: linear-gradient(to right,#000,transparent 72%); }
.eyebrow,
.eyebrow.light { color: var(--accent); font-size: 10px; letter-spacing: .13em; }
.hero-copy h1 { max-width: 780px; margin: 23px 0 21px; color: #1d2940; font-size: clamp(56px,6.4vw,98px); line-height: .96; letter-spacing: -.065em; }
.hero-lead { max-width: 660px; color: #637086; font-size: clamp(17px,1.3vw,20px); line-height: 1.7; }
.hero-actions { margin-top: 31px; }
.hero-benefits { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-top: 44px; padding-top: 25px; border-top: 1px solid #e5eaf1; }
.hero-benefits > div { min-width: 0; display: grid; grid-template-columns: 26px minmax(0,1fr); gap: 9px; align-items: start; }
.benefit-icon { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 7px; color: var(--accent); background: var(--accent-soft); font-size: 11px; font-weight: 900; }
.hero-benefits p { margin: 0; }
.hero-benefits b { display: block; color: #354259; font-size: 11px; }
.hero-benefits small { display: block; margin-top: 3px; color: #7d899b; font-size: 9px; line-height: 1.45; }
.hero-product { perspective: 1200px; }
.hero-product-note { position: absolute; z-index: 3; min-height: 58px; display: grid; grid-template-columns: 36px auto; gap: 10px; align-items: center; padding: 10px 14px 10px 10px; border: 1px solid #dde5f1; border-radius: 12px; background: rgba(255,255,255,.95); box-shadow: 0 18px 48px rgba(42,61,99,.13); }
.hero-product-note span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; color: var(--accent); background: var(--accent-soft); font-size: 9px; font-weight: 900; }
.hero-product-note b { color: #334158; font-size: 10px; white-space: nowrap; }
.hero-product-note.note-top { top: -24px; right: -20px; }
.hero-product-note.note-bottom { bottom: -25px; left: -28px; }
.product-glow { display: none; }
.browser-frame { border-color: #d9e1ec; border-radius: 20px; background: #f5f7fb; box-shadow: 0 34px 85px rgba(46,66,108,.17); transform: rotateY(-3deg) rotateX(1deg); }
.browser-top { height: 43px; grid-template-columns: 90px 1fr 100px; color: #7d899a; background: #fff; border-bottom: 1px solid #e4e9f1; }
.browser-dots i { background: #d6dde8; }
.browser-address { background: #f3f5f8; }
.browser-status span { background: var(--success); box-shadow: 0 0 0 4px rgba(22,132,81,.08); }
.preview-app { min-height: 470px; grid-template-columns: 56px 1fr; color: var(--ink); background: #f5f7fb; }
.preview-sidebar { gap: 20px; padding-top: 17px; background: #fff; border-right: 1px solid #e3e8f0; }
.preview-logo { color: #fff; background: var(--accent); }
.preview-sidebar i { width: 20px; height: 5px; background: #dfe4ec; }
.preview-sidebar i.active { height: 21px; border-color: #cbd8ff; background: var(--accent-soft); }
.preview-content { padding: 24px; }
.preview-heading strong { color: #26344d; }
.preview-heading em { display: block; margin-top: 2px; color: #8591a3; font-size: 9px; font-style: normal; }
.preview-heading button { color: #fff; background: var(--accent); }
.preview-kpis article,
.preview-chart-card,
.preview-sites { border-color: #e0e5ed; box-shadow: 0 8px 18px rgba(51,70,104,.04); }
.preview-chart i { background: #dfe6f6; }
.preview-chart i:nth-child(3n),
.preview-chart i:nth-child(5n) { background: #8ca9ff; }

.trust-strip { min-height: 90px; padding: 0 clamp(24px,6vw,100px); border-top: 1px solid #e8edf4; border-bottom: 1px solid #e8edf4; color: #788598; background: #fff; }
.trust-strip > span { color: #97a2b1; }
.trust-strip b { color: #48566b; }
.section-wrap { width: min(calc(100% - 48px),1420px); }
.platform-section,
.plans-section,
.migration-section,
.support-section { padding-top: 105px; padding-bottom: 105px; }
.section-heading small { color: var(--accent); }
.section-heading h2 { color: #202d45; }
.section-heading p { color: #6f7c91; }
.split-heading { grid-template-columns: 180px minmax(0,1fr); }
.section-index { color: #ced6e4; }
.feature-grid { gap: 14px; }
.feature-card { border-color: #e0e6ef; border-radius: 17px; background: #fff; box-shadow: 0 8px 28px rgba(48,67,105,.05); }
.feature-card:hover { border-color: #cfdaf0; transform: translateY(-2px); }
.feature-card small { color: var(--accent); }
.feature-card h3 { color: #26344d; }
.feature-card p { color: #6f7d91; }
.primary-feature-card { color: var(--ink); border-color: #d9e3fa; background: linear-gradient(145deg,#f3f7ff,#fbfcff); box-shadow: none; }
.primary-feature-card p { color: #66758c; }
.feature-icon { color: var(--accent); border-color: #dce5fb; background: var(--accent-soft); }
.feature-icon-blue { color: #fff; background: var(--accent); }
.mini-domain-list > div { border-color: #e0e6ef; background: rgba(255,255,255,.9); }
.mini-domain-list em { color: var(--success); background: var(--success-soft); }
.backup-feature-card { background: #fff; }
.backup-visual { color: #2f3e57; border-color: #dfe6ef; background: #f7f9fd; }
.backup-visual em { color: var(--success); background: var(--success-soft); }

.how-section { padding: 102px 0; border-top: 1px solid #e9edf4; border-bottom: 1px solid #e9edf4; background: #f7f9fd; }
.compact-heading { max-width: 850px; margin-inline: auto; }
.steps-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-top: 46px; }
.steps-grid article { min-height: 230px; display: grid; grid-template-columns: 54px minmax(0,1fr); gap: 18px; align-content: start; padding: 28px; border: 1px solid #dfe5ee; border-radius: 17px; background: #fff; }
.steps-grid article > span { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; color: var(--accent); background: var(--accent-soft); font-size: 16px; font-weight: 900; }
.steps-grid small { color: #95a0af; font-size: 8px; font-weight: 850; letter-spacing: .12em; }
.steps-grid h3 { margin: 8px 0 8px; color: #29374f; font-size: 20px; letter-spacing: -.03em; }
.steps-grid p { margin: 0; color: #718095; line-height: 1.7; }

.control-section { padding: 105px 0; color: var(--ink); background: #fff; }
.control-grid { grid-template-columns: minmax(0,.8fr) minmax(480px,1.2fr); gap: clamp(55px,8vw,120px); }
.control-copy h2 { color: #202d45; }
.control-copy p { color: #6d7a8f; }
.check-list li { color: #445268; }
.check-list span { color: var(--accent); background: var(--accent-soft); }
.control-preview-card { padding: 25px; border: 1px solid #dce4ef; border-radius: 18px; background: #f8fafd; box-shadow: 0 24px 70px rgba(45,64,103,.1); }
.control-preview-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 19px; border-bottom: 1px solid #e3e8f0; }
.control-preview-head > div { display: flex; align-items: center; gap: 12px; }
.mini-logo { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; color: #fff; background: var(--accent); font-weight: 900; }
.control-preview-head p { margin: 0; }
.control-preview-head b,
.control-preview-head small { display: block; }
.control-preview-head b { color: #2b3951; font-size: 13px; }
.control-preview-head small { margin-top: 2px; color: #8894a5; font-size: 9px; }
.status-badge.success { display: inline-flex; align-items: center; min-height: 27px; padding: 0 10px; border-radius: 999px; color: var(--success); background: var(--success-soft); font-size: 9px; font-weight: 850; }
.control-preview-progress { padding: 21px 0; }
.control-preview-progress > div { display: flex; justify-content: space-between; color: #66748a; font-size: 10px; }
.control-preview-progress b { color: #29374f; }
.control-preview-progress > i { height: 7px; display: block; margin-top: 8px; overflow: hidden; border-radius: 999px; background: #e5eaf2; }
.control-preview-progress em { width: 100%; height: 100%; display: block; border-radius: inherit; background: var(--accent); }
.control-preview-list { display: grid; gap: 8px; }
.control-preview-list > div { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 11px; align-items: center; padding: 13px; border: 1px solid #e2e7ef; border-radius: 11px; background: #fff; }
.control-preview-list > div > span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; color: var(--success); background: var(--success-soft); font-weight: 900; }
.control-preview-list p { margin: 0; }
.control-preview-list b,
.control-preview-list small { display: block; }
.control-preview-list b { color: #344259; font-size: 11px; }
.control-preview-list small { margin-top: 2px; color: #8490a2; font-size: 9px; }

.plans-section { background: #f7f9fd; }
.plan-grid { align-items: stretch; }
.plan-card { border-color: #dfe5ee; border-radius: 17px; background: #fff; box-shadow: 0 9px 30px rgba(48,68,107,.05); }
.plan-card.popular,
.plan-card.featured { color: var(--ink); border-color: #9db5ff; background: #fff; box-shadow: 0 20px 55px rgba(63,109,246,.13); transform: translateY(-8px); }
.plan-card.popular small,
.plan-card.popular h3,
.plan-card.popular .plan-price b,
.plan-card.popular .plan-features,
.plan-card.featured small,
.plan-card.featured h3,
.plan-card.featured .plan-price b,
.plan-card.featured .plan-features { color: inherit; }
.plan-card.popular .plan-description,
.plan-card.popular .plan-annual,
.plan-card.featured .plan-description,
.plan-card.featured .plan-annual { color: var(--muted); }
.plan-card.popular .plan-divider,
.plan-card.featured .plan-divider { background: #e5e9f0; }
.plan-badge { color: #fff; background: var(--accent); }

.migration-section { background: #fff; }
.migration-card { color: var(--ink); border: 1px solid #d9e3f5; border-radius: 20px; background: linear-gradient(145deg,#eef4ff,#f9fbff); box-shadow: none; }
.migration-copy small { color: var(--accent); }
.migration-copy h2 { color: #202d45; }
.migration-copy p { color: #657389; }
.route-node { border-color: #dce4ef; background: rgba(255,255,255,.92); }
.route-node span { color: var(--accent); background: var(--accent-soft); }
.route-node.new { color: var(--ink); border-color: #cfdcff; background: #fff; }
.route-node.new span { color: #fff; background: var(--accent); }
.route-line i { background: #b9c8eb; }
.route-line strong { color: var(--accent); }
.support-section { background: #fff; }
.support-card { grid-template-columns: 140px minmax(0,1fr) auto; align-items: center; border: 1px solid #dfe5ee; border-radius: 19px; color: var(--ink); background: #f8fafd; }
.support-card small { color: var(--accent); }
.support-card h2 { color: #202d45; }
.support-card p { color: #657389; }
.support-illustration { position: relative; min-height: 120px; display: grid; place-items: center; overflow: hidden; border-radius: 14px; background: var(--accent-soft); }
.support-illustration span { position: relative; z-index: 2; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; color: #fff; background: var(--accent); font-size: 22px; font-weight: 900; }
.support-illustration i { position: absolute; border: 1px solid rgba(63,109,246,.13); border-radius: 50%; }
.support-illustration i:nth-child(2) { width: 78px; height: 78px; }
.support-illustration i:nth-child(3) { width: 112px; height: 112px; }
.support-illustration i:nth-child(4) { width: 148px; height: 148px; }
.site-footer { color: #536177; border-top: 1px solid #e4e9f1; background: #f7f9fc; }
.footer-main p,
.footer-links a,
.footer-bottom { color: #7c8899; }
.footer-links a:hover { color: var(--accent); }

/* Control panel shell */
.app-shell { --sidebar: 248px; height: 100vh; grid-template-columns: var(--sidebar) minmax(0,1fr); color: var(--ink); background: #f6f8fc; transition: grid-template-columns .2s ease; }
.app-sidebar { padding: 0 12px 13px; color: var(--ink); border-right: 1px solid #dfe5ee; background: #fff; box-shadow: none; }
.app-sidebar-head { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 7px; border-bottom: 1px solid #edf0f5; }
.app-brand { min-width: 0; }
.app-brand .brand-mark { width: 32px; height: 32px; font-size: 17px; }
.app-brand .brand-lockup { display: grid; gap: 0; }
.app-brand b { color: #243149; font-size: 15px; letter-spacing: -.03em; }
.app-brand small { color: #8a95a5; font-size: 9px; }
.sidebar-collapse-button { width: 30px; height: 30px; display: grid; place-items: center; padding: 0; border: 1px solid #e1e6ee; border-radius: 8px; color: #7c8899; background: #fff; cursor: pointer; }
.sidebar-collapse-button:hover { color: var(--accent); border-color: #cad7fa; background: var(--accent-soft); }
.sidebar-collapse-button svg,
.app-topbar svg,
.app-nav svg,
.sidebar-user svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.app-nav { gap: 2px; margin-top: 13px; padding-right: 2px; scrollbar-color: #dce2eb transparent; }
.app-nav::-webkit-scrollbar-thumb { background: #dce2eb; }
.nav-group-label { padding: 14px 11px 5px; color: #a0a9b7; font-size: 8px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.app-nav button { min-height: 39px; gap: 10px; padding: 0 10px; border-radius: 9px; color: #5f6c80; font-size: 11px; font-weight: 700; }
.app-nav button:hover { color: #2e3c55; background: #f5f7fb; }
.app-nav button.active { color: var(--accent); background: var(--accent-soft); box-shadow: none; }
.app-nav button > .nav-icon { width: 25px; height: 25px; display: grid; place-items: center; color: #7d899b; }
.app-nav button.active > .nav-icon { color: var(--accent); }
.app-nav button > .nav-label { width: auto; min-width: 0; display: block; color: inherit; font-size: inherit; text-align: left; }
.app-nav button.active > .nav-label { color: inherit; }
.sidebar-help { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 10px; align-items: start; margin: 10px 2px 0; padding: 13px; color: #45546a; border: 1px solid #dce5f6; border-radius: 12px; background: #f4f7ff; }
.sidebar-help-icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; color: var(--accent); background: #fff; font-size: 13px; font-weight: 900; }
.sidebar-help b { display: block; font-size: 10px; }
.sidebar-help p { margin: 2px 0 7px; color: #7c899c; font-size: 8px; line-height: 1.45; }
.sidebar-help button { padding: 0; border: 0; color: var(--accent); background: transparent; font-size: 9px; font-weight: 800; cursor: pointer; }
.sidebar-user { grid-template-columns: 35px minmax(0,1fr) 28px; gap: 9px; margin-top: 9px; padding: 10px 7px 2px; border-top: 1px solid #edf0f4; }
.sidebar-user #userAvatar { color: #fff; background: var(--accent); }
.sidebar-user-copy { min-width: 0; }
.sidebar-user-copy b { color: #334158; }
.sidebar-user-copy small { color: #8a95a5; }
.sidebar-user > button { width: 28px; height: 28px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 8px; color: #8290a2; background: transparent; cursor: pointer; }
.sidebar-user > button:hover { color: var(--danger); background: var(--danger-soft); }
.app-main { grid-template-rows: 72px minmax(0,1fr); background: #f6f8fc; }
.app-topbar { height: 72px; gap: 11px; padding: 0 20px; border-bottom: 1px solid #dfe5ee; background: rgba(255,255,255,.94); }
.topbar-context { min-width: 120px; display: grid; gap: 1px; }
.topbar-context span { color: #97a1b0; font-size: 8px; font-weight: 750; letter-spacing: .04em; }
.topbar-context strong { color: #334158; font-size: 13px; letter-spacing: -.02em; }
.global-search-button { width: min(330px,30vw); min-height: 40px; display: grid; grid-template-columns: 18px minmax(0,1fr) auto; align-items: center; gap: 9px; padding: 0 10px; border: 1px solid #dfe5ee; border-radius: 9px; color: #8591a3; background: #f8f9fc; text-align: left; cursor: pointer; }
.global-search-button:hover { color: #526176; border-color: #cad6f5; background: #f5f7ff; }
.global-search-button svg { width: 16px; height: 16px; }
.global-search-button span { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
kbd { display: inline-grid; place-items: center; min-height: 22px; padding: 0 6px; border: 1px solid #dce2eb; border-radius: 6px; color: #7f8a9a; background: #fff; box-shadow: 0 1px 0 #dfe4ec; font-size: 8px; font-family: inherit; }
.service-switcher-wrap { min-width: 210px; min-height: 43px; padding: 5px 9px; border: 1px solid #dfe5ee; border-radius: 9px; background: #fff; }
.service-switcher-wrap label { color: #9aa4b2; font-size: 7px; letter-spacing: .07em; }
.service-switcher-wrap select { color: #38465d; font-size: 10px; }
.mode-pill { color: #69768a; border-color: #dfe5ee; background: #f8fafc; }
.mode-pill span { background: #9ba6b4; box-shadow: none; }
.mode-pill.live { color: var(--success); border-color: #d9eadf; background: #f4faf6; }
.mode-pill.live span { background: var(--success); }
.icon-button { color: #657287; border-color: #dfe5ee; background: #fff; }
.icon-button:hover { color: var(--accent); border-color: #cbd7f7; background: var(--accent-soft); }
.notification-button { margin-left: 0; }
.app-content { padding: 28px clamp(18px,2.8vw,42px) 60px; }
.page-header h1,
.page-head h1 { color: #202d45; }
.page-header p,
.page-head p { color: #748095; }
.panel-card,
.panel,
.kpi-card,
.entity-card,
.resource-card,
.billing-card,
.server-card { border-color: #dfe5ee; box-shadow: 0 6px 20px rgba(48,68,106,.035); }
.kpi-icon,
.domain-avatar,
.mail-avatar,
.db-icon,
.user-avatar-small { color: var(--accent); background: var(--accent-soft); }
.mini-progress i,
.resource-progress i { background: var(--accent); }
.quick-grid button { border-color: #e0e5ed; background: #fafbfd; }
.quick-grid button:hover { border-color: #cbd6ef; background: #f6f8ff; }
.quick-grid span { color: var(--accent); background: var(--accent-soft); }
.info-strip { border-color: #d9e4fa; background: #f4f7ff; }
.info-strip > span { color: var(--accent); background: #fff; }
.entity-logo { color: #fff; background: var(--accent); }
.app-catalog-card.featured-app,
.access-policy-card,
.billing-card.current-plan,
.security-primary-card,
.status-hero,
.webmail-card,
.access-hero,
.billing-hero,
.support-banner.dark,
.dark-panel { color: var(--ink); border-color: #dce5f2; background: linear-gradient(145deg,#f3f7ff,#f8faff); box-shadow: none; }
.app-catalog-card.featured-app .app-logo { color: var(--accent); border-color: #d6e1ff; background: #fff; }
.featured-app .app-catalog-copy p,
.featured-app .app-tags span,
.access-policy-card > p,
.billing-card.current-plan p { color: #66758a; }
.featured-app .app-tags span { border-color: #dfe5ee; background: #fff; }
.billing-card.current-plan .billing-controls .button-quiet { color: var(--accent); border-color: #cbd9ff; background: #fff; }
.usage-chart .chart-area { fill: rgba(63,109,246,.12); }
.usage-chart .chart-line { stroke: var(--accent); }
.usage-chart .chart-point { fill: #fff; stroke: var(--accent); }
.security-card,
.api-guide { color: var(--ink); border-color: #dce5f2; background: #f7f9fd; }
.security-card-icon { color: var(--accent); border-color: #d6e1ff; background: #fff; }
.security-card-copy small { color: var(--accent); }
.security-card-copy h2 { color: #1f2d47; }
.security-card-copy p,
.api-guide p { color: #627087; }
.api-guide pre { border-color: #dce4ef; background: #fff; }
.api-guide pre code { color: #31415e; }
.status-hero small { color: var(--accent); }
.status-hero h2 { color: #1e2c47; }
.status-hero p { color: #657287; }
.status-pulse { background: #fff; }
.status-pulse i { background: var(--success); box-shadow: 0 0 0 8px rgba(22,132,81,.1); }
.status-capacity > div { background: #fff; }

/* Setup guide */
.setup-guide { grid-column: 1 / -1; padding: 21px; }
.setup-guide-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 17px; }
.setup-guide-head small { color: var(--accent); font-size: 8px; font-weight: 850; letter-spacing: .11em; }
.setup-guide-head h2 { margin: 5px 0 4px; color: #223049; font-size: 19px; letter-spacing: -.03em; }
.setup-guide-head p { margin: 0; color: #748095; font-size: 10px; }
.setup-guide-progress { flex: 0 0 160px; }
.setup-guide-progress div { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 7px; color: #6f7c91; font-size: 9px; }
.setup-guide-progress b { color: #26334b; }
.setup-guide-progress i { height: 7px; display: block; overflow: hidden; border-radius: 999px; background: #e7ecf4; }
.setup-guide-progress em { height: 100%; display: block; border-radius: inherit; background: var(--accent); }
.setup-steps { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; }
.setup-step { min-width: 0; display: grid; grid-template-columns: 31px minmax(0,1fr); gap: 10px; align-items: center; padding: 12px; border: 1px solid #e3e8f1; border-radius: 11px; background: #fafbfd; font: inherit; text-align: left; cursor: pointer; transition: .16s ease; }
.setup-step:hover { border-color: #cfd9ed; background: #f6f8fd; transform: translateY(-1px); }
.setup-step > span { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 9px; color: #8793a5; background: #eef1f5; font-size: 10px; font-weight: 900; }
.setup-step.done { border-color: #dbe7df; background: #f7fbf8; }
.setup-step.done > span { color: var(--success); background: var(--success-soft); }
.setup-step b { display: block; overflow: hidden; color: #334158; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.setup-step small { display: block; margin-top: 2px; overflow: hidden; color: #8290a3; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }

/* Command palette */
.command-modal { place-items: start center; padding-top: min(12vh,100px); }
.command-dialog { position: relative; z-index: 1; width: min(660px,calc(100vw - 28px)); overflow: hidden; border: 1px solid #dce3ed; border-radius: 17px; background: #fff; box-shadow: 0 35px 100px rgba(39,58,96,.24); }
.command-search-wrap { min-height: 64px; display: grid; grid-template-columns: 22px minmax(0,1fr) auto; align-items: center; gap: 11px; padding: 0 17px; border-bottom: 1px solid #e8ecf2; }
.command-search-wrap svg { width: 20px; height: 20px; fill: none; stroke: #748196; stroke-width: 1.7; }
.command-search-wrap input { width: 100%; height: 60px; padding: 0; border: 0; outline: 0; color: #1f2c44; background: transparent; font-size: 16px; }
.command-search-wrap input::placeholder { color: #99a4b4; }
.command-meta { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 11px 17px 7px; color: #8c97a8; font-size: 9px; font-weight: 760; letter-spacing: .06em; text-transform: uppercase; }
.command-meta small { font-size: 8px; }
.command-results { max-height: min(62vh,520px); overflow: auto; padding: 5px 9px 11px; }
.command-group-title { padding: 10px 9px 5px; color: #98a3b3; font-size: 8px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.command-item { width: 100%; min-height: 58px; display: grid; grid-template-columns: 38px minmax(0,1fr) auto; align-items: center; gap: 11px; padding: 8px 10px; border: 0; border-radius: 10px; color: var(--ink); background: transparent; text-align: left; cursor: pointer; }
.command-item:hover,
.command-item.active { background: #f0f4ff; }
.command-item-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; color: var(--accent); background: var(--accent-soft); font-size: 10px; font-weight: 850; }
.command-item-copy { min-width: 0; display: grid; gap: 2px; }
.command-item-copy b { overflow: hidden; color: #2a3750; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.command-item-copy small { overflow: hidden; color: #7b8799; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.command-item > span:last-child { color: #9aa5b4; font-size: 12px; }
.command-empty { padding: 48px 20px; color: #7d899b; text-align: center; }
.command-empty b { display: block; color: #354259; }
.command-empty p { margin: 5px 0 0; font-size: 11px; }
.modal-backdrop,
.drawer-backdrop { background: rgba(30,43,68,.36); backdrop-filter: blur(3px); }
.auth-dialog,
.action-dialog,
.status-dialog { border: 1px solid #dfe5ee; border-radius: 18px; box-shadow: 0 35px 100px rgba(38,57,94,.22); }
.auth-tabs { background: #f3f6fa; }
.demo-note { border-color: #dce4ef; background: #f7f9fc; }
.demo-note span { color: var(--accent); background: var(--accent-soft); }

/* Collapsed navigation */
body.sidebar-collapsed .app-shell { --sidebar: 74px; }
body.sidebar-collapsed .app-sidebar { padding-inline: 9px; }
body.sidebar-collapsed .app-sidebar-head { justify-content: center; padding-inline: 0; }
body.sidebar-collapsed .app-brand .brand-lockup,
body.sidebar-collapsed .nav-group-label,
body.sidebar-collapsed .nav-label,
body.sidebar-collapsed .sidebar-help > div,
body.sidebar-collapsed .sidebar-user-copy { display: none; }
body.sidebar-collapsed .sidebar-collapse-button { position: absolute; top: 54px; right: -13px; z-index: 3; background: #fff; }
body.sidebar-collapsed .sidebar-collapse-button svg { transform: rotate(180deg); }
body.sidebar-collapsed .app-nav button { justify-content: center; padding-inline: 0; }
body.sidebar-collapsed .app-nav button > .nav-icon { width: 34px; height: 34px; }
body.sidebar-collapsed .sidebar-help { grid-template-columns: 1fr; justify-items: center; padding: 9px; }
body.sidebar-collapsed .sidebar-user { grid-template-columns: 1fr; justify-items: center; padding-inline: 0; }
body.sidebar-collapsed .sidebar-user > button { display: none; }

:focus-visible { outline-color: var(--accent); }
.setup-step:focus-visible,
.command-item:focus-visible,
.global-search-button:focus-visible,
.public-menu-button:focus-visible,
.sidebar-collapse-button:focus-visible { outline: 3px solid rgba(63,109,246,.2); outline-offset: 2px; }
body.public-menu-open { overflow: hidden; }

@media (max-width: 1320px) {
  .nav-status-button { display: none; }
  .global-search-button { width: min(270px,25vw); }
  .service-switcher-wrap { min-width: 185px; }
}
@media (max-width: 1120px) {
  .site-nav { display: none; }
  .public-menu-button { display: grid; }
  .header-actions .button-quiet { display: none; }
  .hero-section { grid-template-columns: 1fr; min-height: auto; padding-top: 130px; }
  .hero-copy { max-width: 830px; }
  .hero-product { width: min(900px,100%); margin: 22px auto 0; }
  .browser-frame { transform: none; }
  .split-heading { grid-template-columns: 150px 1fr; }
  .split-heading > p { grid-column: 2; }
  .control-grid { grid-template-columns: 1fr; }
  .control-copy { max-width: 800px; }
  .control-preview-card { max-width: 900px; }
  .support-card { grid-template-columns: 120px minmax(0,1fr); }
  .support-card > .button { grid-column: 2; justify-self: start; }
  .global-search-button span { display: none; }
  .global-search-button { width: 42px; grid-template-columns: 1fr; justify-items: center; padding: 0; }
  .global-search-button kbd { display: none; }
  .topbar-context { display: none; }
}
@media (max-width: 900px) {
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid article { min-height: auto; }
  .setup-steps { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 820px) {
  .site-header { height: 70px; padding-inline: 17px; }
  .public-mobile-nav { top: 70px; }
  .site-header .brand { margin-right: 0; }
  .hero-section { padding: 116px 20px 64px; }
  .hero-copy h1 { font-size: clamp(48px,12vw,72px); }
  .hero-product-note { display: none; }
  .hero-benefits { grid-template-columns: 1fr; }
  .trust-strip { min-height: 76px; padding-inline: 20px; overflow: auto; }
  .trust-strip div { min-width: max-content; }
  .section-wrap { width: min(calc(100% - 30px),1420px); }
  .platform-section,.plans-section,.migration-section,.support-section,.how-section,.control-section { padding-top: 78px; padding-bottom: 78px; }
  .split-heading { display: block; }
  .split-heading > div { margin-bottom: 20px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card-large,.feature-card-wide { grid-column: auto; min-height: 330px; }
  .feature-card-wide { min-height: 250px; }
  .plan-card.popular { transform: none; }
  .migration-card { padding: 35px 24px; }
  .support-card { grid-template-columns: 1fr; padding: 30px 24px; }
  .support-illustration { min-height: 120px; }
  .support-card > .button { grid-column: auto; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; flex-wrap: wrap; }
  .app-shell { grid-template-columns: 1fr; }
  body.sidebar-collapsed .app-shell { --sidebar: 248px; }
  .app-sidebar { position: fixed; inset: 0 auto 0 0; width: min(292px,88vw); transform: translateX(-103%); box-shadow: 25px 0 70px rgba(35,51,82,.18); transition: transform .22s ease; }
  .app-sidebar.open,body.sidebar-open .app-sidebar { transform: translateX(0); }
  body.sidebar-open::after { background: rgba(30,43,68,.38); backdrop-filter: blur(2px); }
  .sidebar-collapse-button { display: none; }
  body.sidebar-collapsed .app-brand .brand-lockup,body.sidebar-collapsed .nav-group-label,body.sidebar-collapsed .nav-label,body.sidebar-collapsed .sidebar-help > div,body.sidebar-collapsed .sidebar-user-copy { display: initial; }
  body.sidebar-collapsed .app-nav button { justify-content: flex-start; padding-inline: 10px; }
  body.sidebar-collapsed .sidebar-help { grid-template-columns: 34px minmax(0,1fr); justify-items: initial; padding: 13px; }
  body.sidebar-collapsed .sidebar-user { grid-template-columns: 35px minmax(0,1fr) 28px; justify-items: initial; padding: 10px 7px 2px; }
  body.sidebar-collapsed .sidebar-user > button { display: grid; }
  .app-topbar { height: 68px; padding-inline: 13px; gap: 8px; }
  .app-main { grid-template-rows: 68px minmax(0,1fr); }
  .mobile-only { display: inline-grid; }
  .service-switcher-wrap { min-width: 0; width: min(260px,43vw); padding: 6px 8px; }
  .mode-pill,.topbar-help-button { display: none; }
  .topbar-spacer { display: none; }
  .global-search-button { margin-left: auto; }
  .notification-button { margin-left: 0; }
  .app-content { padding: 23px 15px 60px; }
  .page-head,.page-header { align-items: flex-start; flex-direction: column; }
  .page-actions { width: 100%; }
  .setup-guide-head { flex-direction: column; }
  .setup-guide-progress { width: 100%; flex-basis: auto; }
}
@media (max-width: 560px) {
  .header-actions .button-dark { min-height: 40px; padding-inline: 12px; font-size: 11px; }
  .brand-product { display: block; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-benefits small { font-size: 10px; }
  .browser-top { grid-template-columns: 60px 1fr 70px; }
  .browser-address { width: 92%; }
  .preview-app { grid-template-columns: 45px 1fr; min-height: 340px; }
  .preview-content { padding: 15px; }
  .preview-heading em { display: none; }
  .preview-heading button { padding: 8px 9px; }
  .preview-kpis { grid-template-columns: repeat(2,1fr); }
  .preview-kpis article:nth-child(3),.preview-sites { display: none; }
  .section-heading h2,.control-copy h2 { font-size: 37px; }
  .feature-card { padding: 23px; }
  .steps-grid article { grid-template-columns: 42px minmax(0,1fr); padding: 22px; }
  .steps-grid article > span { width: 42px; height: 42px; }
  .migration-route { grid-template-columns: 1fr; gap: 14px; }
  .route-line { height: 45px; transform: rotate(90deg); }
  .site-footer { padding-inline: 20px; }
  .footer-bottom { flex-direction: column; }
  .global-search-button { width: 38px; min-height: 38px; }
  .service-switcher-wrap { width: 42vw; }
  #newActionButton { width: 38px; min-width: 38px; height: 38px; padding: 0; font-size: 0; }
  #newActionButton::before { content: "+"; font-size: 20px; }
  .setup-steps { grid-template-columns: 1fr; }
  .setup-step small { white-space: normal; }
  .command-dialog { width: calc(100vw - 18px); border-radius: 14px; }
  .command-modal { padding-top: 9px; }
  .command-results { max-height: calc(100vh - 105px); }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ========================================================================== 
   Legacy 0.7.0 foundation — superseded by the 0.8.0 audit overrides below
   SprintHost-inspired interaction model, original LYNQ visual system
   ========================================================================== */
body.in-app {
  --accent: #20b996;
  --accent-strong: #129d7e;
  --accent-soft: #e9f8f4;
  --sprint-rail: #24252d;
  --sprint-rail-hover: #30323c;
  --sprint-page: #f3f4f5;
  --sprint-border: #dfe2e5;
  --sprint-text: #30343b;
  --sprint-muted: #7a818c;
  --sidebar: 92px;
  --topbar: 68px;
  background: var(--sprint-page);
}
body.in-app .button-primary,
body.in-app .button-dark,
body.in-app .button-accent {
  color: #fff;
  border-color: var(--accent);
  background: var(--accent);
}
body.in-app .button-primary:hover:not(:disabled),
body.in-app .button-dark:hover:not(:disabled),
body.in-app .button-accent:hover:not(:disabled) {
  border-color: var(--accent-strong);
  background: var(--accent-strong);
}

/* Compact rail */
body.in-app .app-shell {
  --sidebar: 92px;
  grid-template-columns: var(--sidebar) minmax(0,1fr);
  color: var(--sprint-text);
  background: var(--sprint-page);
}
body.in-app .app-sidebar {
  position: relative;
  z-index: 34;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 0 8px 12px;
  color: rgba(255,255,255,.76);
  border: 0;
  background: var(--sprint-rail);
  box-shadow: 6px 0 20px rgba(22,24,30,.08);
}
.rail-brand {
  width: 100%;
  height: 72px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.rail-brand > span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 8px 22px rgba(32,185,150,.24);
  font-size: 17px;
  font-weight: 950;
}
.rail-brand small { color: rgba(255,255,255,.72); font-size: 8px; font-weight: 850; letter-spacing: .14em; }
body.in-app .app-nav {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 7px 0 0;
  padding: 0;
  overflow-y: auto;
  scrollbar-width: none;
}
body.in-app .app-nav::-webkit-scrollbar { display: none; }
body.in-app .app-nav button {
  position: relative;
  width: 100%;
  min-height: 68px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 5px 2px;
  border: 0;
  border-radius: 7px;
  color: rgba(255,255,255,.55);
  background: transparent;
  font: inherit;
  cursor: pointer;
  transition: .15s ease;
}
body.in-app .app-nav button:hover { color: #fff; background: rgba(255,255,255,.055); }
body.in-app .app-nav button.active,
body.in-app .app-nav button.menu-open {
  color: #fff;
  background: var(--sprint-rail-hover);
  box-shadow: inset 3px 0 var(--accent);
}
body.in-app .app-nav button > .nav-icon {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: inherit;
}
body.in-app .app-nav button > .nav-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.in-app .app-nav button > .nav-label {
  width: auto;
  max-width: 76px;
  display: block;
  overflow: hidden;
  color: inherit;
  font-size: 9px;
  font-weight: 650;
  line-height: 1.15;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rail-system-state {
  min-height: 47px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.47);
}
.rail-system-state span { width: 7px; height: 7px; border-radius: 50%; background: #38d49f; box-shadow: 0 0 0 4px rgba(56,212,159,.11); }
.rail-system-state small { font-size: 8px; }

/* Topbar */
body.in-app .app-main { grid-template-rows: 68px minmax(0,1fr); background: var(--sprint-page); }
body.in-app .app-topbar {
  height: 68px;
  gap: 9px;
  padding: 0 16px 0 20px;
  border-bottom: 1px solid var(--sprint-border);
  background: rgba(255,255,255,.98);
  box-shadow: 0 1px 0 rgba(255,255,255,.7);
  backdrop-filter: blur(16px);
}
body.in-app .topbar-context { min-width: 116px; gap: 0; }
body.in-app .topbar-context span { color: #9ca2aa; font-size: 7px; font-weight: 750; letter-spacing: .04em; }
body.in-app .topbar-context strong { color: #333841; font-size: 13px; }
body.in-app .global-search-button {
  width: min(310px,25vw);
  min-height: 38px;
  border-color: #e0e3e6;
  border-radius: 6px;
  color: #8b919a;
  background: #f7f8f9;
}
body.in-app .global-search-button:hover { color: #5e6570; border-color: #cfd4d8; background: #fff; }
body.in-app .service-switcher-wrap {
  min-width: 195px;
  min-height: 40px;
  padding: 4px 9px;
  border-color: #dfe2e5;
  border-radius: 6px;
}
body.in-app .service-switcher-wrap select { font-size: 10px; }
.topbar-balance {
  min-width: 102px;
  height: 40px;
  display: grid;
  align-content: center;
  justify-items: end;
  gap: 1px;
  padding: 0 10px;
  border: 0;
  border-right: 1px solid #e4e6e8;
  color: #333841;
  background: transparent;
  font: inherit;
  cursor: pointer;
}
.topbar-balance small { color: #9aa0a8; font-size: 7px; font-weight: 800; letter-spacing: .08em; }
.topbar-balance b { font-size: 11px; }
body.in-app .mode-pill { height: 30px; padding: 0 9px; border-radius: 6px; font-size: 8px; }
body.in-app .icon-button { width: 38px; height: 38px; border-radius: 6px; }
body.in-app #newActionButton { min-height: 38px; border-radius: 6px; }
.account-menu-button {
  min-width: 132px;
  height: 44px;
  display: grid;
  grid-template-columns: 32px minmax(0,1fr) 14px;
  align-items: center;
  gap: 8px;
  padding: 4px 7px 4px 5px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: #3e434b;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.account-menu-button:hover,
.account-menu-button.open { border-color: #e0e3e6; background: #f7f8f9; }
.account-menu-button > span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #5d6470; font-size: 11px; font-weight: 850; }
.account-menu-button > div { min-width: 0; display: grid; gap: 1px; }
.account-menu-button b,
.account-menu-button small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-menu-button b { font-size: 10px; }
.account-menu-button small { color: #989ea6; font-size: 8px; }
.account-menu-button svg { width: 13px; height: 13px; fill: none; stroke: #969ca4; stroke-width: 1.8; }

/* Popover navigation and account */
.nav-popover,
.account-popover,
.support-popover {
  position: fixed;
  z-index: 90;
  overflow: hidden;
  border: 1px solid #dfe2e5;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 54px rgba(34,38,46,.18);
}
.nav-popover { top: 78px; left: 102px; width: min(570px,calc(100vw - 120px)); }
.nav-popover-head {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 16px;
  border-bottom: 1px solid #e8eaec;
}
.nav-popover-head > div { display: grid; gap: 2px; }
.nav-popover-head small { color: #9ba1aa; font-size: 7px; font-weight: 850; letter-spacing: .1em; }
.nav-popover-head b { color: #343941; font-size: 14px; }
.nav-popover-head button { width: 30px; height: 30px; border: 0; border-radius: 5px; color: #858b94; background: #f4f5f6; font-size: 18px; cursor: pointer; }
.nav-popover-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px; padding: 8px; background: #eceeef; }
.nav-popover-grid button,
.account-popover-links button,
.support-popover > button {
  min-width: 0;
  display: grid;
  grid-template-columns: 38px minmax(0,1fr);
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 0;
  border-radius: 6px;
  color: #3b4048;
  background: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.nav-popover-grid button:hover,
.nav-popover-grid button.active,
.account-popover-links button:hover,
.account-popover-links button.active,
.support-popover > button:hover { background: #f2faf8; }
.nav-popover-grid button > span,
.account-popover-links button > span,
.support-popover > button > span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 6px; color: var(--accent-strong); background: var(--accent-soft); font-size: 10px; font-weight: 850; }
.nav-popover-grid b,
.account-popover-links b,
.support-popover b { display: block; font-size: 10px; }
.nav-popover-grid small,
.account-popover-links small,
.support-popover small { display: block; margin-top: 2px; color: #8b929c; font-size: 8px; line-height: 1.35; }
.account-popover { top: 61px; right: 14px; width: 310px; }
.account-popover-user { display: grid; grid-template-columns: 43px minmax(0,1fr); align-items: center; gap: 11px; padding: 17px; }
.account-popover-user > span { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #5c636e; font-size: 15px; font-weight: 850; }
.account-popover-user > div { min-width: 0; display: grid; gap: 2px; }
.account-popover-user b,
.account-popover-user small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-popover-user b { font-size: 12px; }
.account-popover-user small { color: #8a919a; font-size: 9px; }
.account-popover-balance { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 17px; border-block: 1px solid #e8eaec; background: #f7f8f9; }
.account-popover-balance span { color: #848b95; font-size: 9px; }
.account-popover-balance b { font-size: 11px; }
.account-popover-links { display: grid; gap: 2px; padding: 7px; }
.account-popover-links button { grid-template-columns: 34px minmax(0,1fr); padding: 9px; }
.account-popover-links button > span { width: 32px; height: 32px; }
.account-logout { width: 100%; min-height: 47px; display: flex; align-items: center; gap: 9px; padding: 0 17px; border: 0; border-top: 1px solid #e8eaec; color: #b6474f; background: #fff; font: inherit; font-size: 10px; font-weight: 750; cursor: pointer; }
.account-logout:hover { background: #fff5f6; }
.account-logout svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Support widget */
.support-widget { position: fixed; z-index: 88; right: 22px; bottom: 20px; }
.support-widget-button { min-width: 116px; height: 42px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 14px; border: 0; border-radius: 21px; color: #fff; background: #2f343c; box-shadow: 0 10px 30px rgba(34,38,46,.22); font: inherit; cursor: pointer; }
.support-widget-button:hover,
.support-widget-button.open { background: #1f2329; transform: translateY(-1px); }
.support-widget-button span { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; color: #26312e; background: #49ddb5; font-size: 12px; font-weight: 900; }
.support-widget-button b { font-size: 10px; }
.support-popover { right: 0; bottom: 51px; width: 300px; padding-bottom: 7px; }
.support-popover-head { padding: 16px; border-bottom: 1px solid #e8eaec; }
.support-popover-head small { color: var(--accent-strong); font-size: 7px; font-weight: 850; letter-spacing: .1em; }
.support-popover-head b { margin-top: 4px; font-size: 15px; }
.support-popover-head p { margin: 4px 0 0; color: #858c95; font-size: 9px; line-height: 1.45; }
.support-popover > button { width: calc(100% - 14px); margin: 2px 7px; padding: 9px; }

/* App workspace */
body.in-app .app-content { padding: 24px clamp(18px,2.5vw,36px) 78px; background: var(--sprint-page); }
body.in-app .app-content > * { width: min(1340px,100%); }
body.in-app .page-head { margin-bottom: 20px; }
body.in-app .page-head small { color: var(--accent-strong); }
body.in-app .page-head h1 { color: #32363d; font-size: clamp(27px,2.7vw,38px); }
body.in-app .panel,
body.in-app .panel-card,
body.in-app .kpi-card,
body.in-app .entity-card,
body.in-app .resource-card,
body.in-app .billing-card,
body.in-app .server-card {
  border-color: var(--sprint-border);
  border-radius: 7px;
  box-shadow: none;
}

/* Dashboard inspired by task tiles */
.sprint-welcome {
  min-height: 82px;
  display: grid;
  grid-template-columns: 48px minmax(0,1fr) auto;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  padding: 14px 16px;
  border: 1px solid var(--sprint-border);
  border-radius: 7px;
  background: #fff;
}
.sprint-welcome-avatar { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #5c636d; font-size: 16px; font-weight: 850; }
.sprint-welcome-copy { min-width: 0; }
.sprint-welcome small { color: #a0a5ad; font-size: 7px; font-weight: 850; letter-spacing: .1em; }
.sprint-welcome h1 { margin: 3px 0 2px; color: #333840; font-size: 20px; line-height: 1.1; letter-spacing: -.03em; }
.sprint-welcome p { margin: 0; overflow: hidden; color: #858b94; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.sprint-welcome-actions { display: flex; gap: 7px; }
.sprint-welcome-empty { min-height: 108px; grid-template-columns: 54px minmax(0,1fr) auto; }
.sprint-empty-dashboard { min-height: 360px; display: grid; grid-template-columns: minmax(260px,.7fr) minmax(0,1fr); align-items: center; gap: 60px; padding: 50px; border: 1px solid var(--sprint-border); border-radius: 7px; background: #fff; }
.sprint-empty-illustration { position: relative; min-height: 220px; display: grid; place-items: center; border-radius: 6px; background: linear-gradient(145deg,#eefaf7,#f7fbfa); }
.sprint-empty-illustration span { width: 92px; height: 92px; display: grid; place-items: center; border-radius: 50%; color: var(--accent-strong); background: #fff; box-shadow: 0 16px 40px rgba(32,185,150,.13); font-size: 20px; font-weight: 900; }
.sprint-empty-illustration i { position: absolute; width: 38px; height: 38px; border: 2px solid rgba(32,185,150,.18); border-radius: 50%; }
.sprint-empty-illustration i:nth-child(2) { top: 32px; left: 45px; }
.sprint-empty-illustration i:nth-child(3) { right: 42px; bottom: 38px; }
.sprint-empty-dashboard h2 { margin: 7px 0 12px; max-width: 620px; font-size: clamp(25px,3vw,42px); line-height: 1.05; letter-spacing: -.05em; }
.sprint-empty-dashboard p { max-width: 660px; color: #747b85; line-height: 1.65; }
.sprint-empty-steps { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 26px; }
.sprint-empty-steps span { display: flex; align-items: center; gap: 8px; color: #5f6670; font-size: 10px; font-weight: 750; }
.sprint-empty-steps b { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; color: var(--accent-strong); background: var(--accent-soft); }
.sprint-overview-grid { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(290px,.65fr); gap: 12px; margin-bottom: 19px; }
.sprint-resource-card,
.sprint-account-card,
.sprint-services-card,
.sprint-events-card { min-width: 0; border: 1px solid var(--sprint-border); border-radius: 7px; background: #fff; }
.sprint-resource-card { padding: 18px; }
.sprint-resource-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid #eceeef; }
.sprint-resource-head small,
.sprint-account-card-head small,
.sprint-section-head small,
.sprint-card-heading small { color: #a0a5ad; font-size: 7px; font-weight: 850; letter-spacing: .1em; }
.sprint-resource-head h2 { margin: 4px 0 0; color: #333840; font-size: 17px; }
.sprint-status-dot { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; border-radius: 4px; color: #288467; background: #eef9f5; font-size: 8px; font-weight: 750; }
.sprint-status-dot i { width: 6px; height: 6px; border-radius: 50%; background: #2fbd91; }
.sprint-resource-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px 18px; padding: 16px 0 13px; }
.sprint-resource-list > div:not(.sprint-resource-compact) { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 7px 12px; }
.sprint-resource-list span { min-width: 0; display: grid; gap: 2px; }
.sprint-resource-list b { color: #42474f; font-size: 9px; }
.sprint-resource-list small { color: #8c929a; font-size: 8px; }
.sprint-resource-list em { color: #5f6670; font-size: 9px; font-style: normal; font-weight: 750; }
.sprint-resource-list > div > i { grid-column: 1/-1; height: 6px; overflow: hidden; border-radius: 3px; background: #eceeef; }
.sprint-resource-list u { height: 100%; display: block; border-radius: inherit; background: var(--accent); text-decoration: none; }
.sprint-resource-compact { grid-column: 1/-1; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; overflow: hidden; border: 1px solid #e7e9eb; border-radius: 5px; background: #e7e9eb; }
.sprint-resource-compact span { padding: 10px; background: #f8f9fa; }
.sprint-resource-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 12px; border-top: 1px solid #eceeef; }
.sprint-resource-footer button,
.sprint-card-heading button,
.sprint-account-card-head button { padding: 0; border: 0; color: var(--accent-strong); background: transparent; font: inherit; font-size: 9px; font-weight: 750; cursor: pointer; }
.sprint-resource-footer span { color: #9aa0a8; font-size: 8px; }
.sprint-account-card { display: flex; flex-direction: column; padding: 18px; }
.sprint-account-card-head { display: flex; justify-content: space-between; align-items: center; }
.sprint-account-money { display: grid; gap: 2px; padding: 18px 0 15px; }
.sprint-account-money span { color: #8f959e; font-size: 9px; }
.sprint-account-money strong { color: #343941; font-size: 25px; letter-spacing: -.04em; }
.sprint-account-money small { color: #9da2aa; font-size: 8px; }
.sprint-account-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; margin-bottom: 15px; overflow: hidden; border: 1px solid #e7e9eb; border-radius: 5px; background: #e7e9eb; }
.sprint-account-facts span { min-width: 0; display: grid; gap: 2px; padding: 9px 6px; color: #8d939b; background: #f8f9fa; font-size: 7px; text-align: center; }
.sprint-account-facts b { color: #3e434b; font-size: 13px; }
.sprint-account-card > .button { width: 100%; margin-top: auto; }
.sprint-section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 0 0 10px; }
.sprint-section-head h2 { margin: 3px 0 2px; color: #343941; font-size: 20px; letter-spacing: -.035em; }
.sprint-section-head p { margin: 0; color: #8d939b; font-size: 9px; }
.sprint-tool-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin-bottom: 18px; }
.sprint-tool-tile { min-width: 0; overflow: hidden; border: 1px solid rgba(62,67,75,.08); border-radius: 7px; background: #fff; transition: transform .15s ease, box-shadow .15s ease; }
.sprint-tool-tile:hover { transform: translateY(-1px); box-shadow: 0 9px 24px rgba(38,42,50,.08); }
.sprint-tile-main { width: 100%; min-height: 108px; display: grid; grid-template-columns: 44px minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 16px; border: 0; color: #31363e; background: transparent; font: inherit; text-align: left; cursor: pointer; }
.sprint-tile-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 7px; color: #424850; background: rgba(255,255,255,.68); box-shadow: inset 0 0 0 1px rgba(65,70,78,.07); font-size: 10px; font-weight: 900; }
.sprint-tile-copy { min-width: 0; display: grid; gap: 3px; }
.sprint-tile-copy b { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.sprint-tile-copy small { overflow: hidden; color: rgba(58,63,71,.64); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.sprint-tile-main > strong { min-width: 31px; color: rgba(38,43,50,.82); font-size: 20px; letter-spacing: -.04em; text-align: right; }
.sprint-tile-footer { min-height: 35px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 10px 0 15px; border-top: 1px solid rgba(58,63,71,.08); background: rgba(255,255,255,.46); }
.sprint-tile-footer > span { color: rgba(56,61,69,.65); font-size: 8px; font-weight: 650; }
.sprint-tile-footer button { width: 25px; height: 25px; display: grid; place-items: center; border: 0; border-radius: 50%; color: #3b4148; background: rgba(255,255,255,.72); font-size: 14px; cursor: pointer; }
.tile-sites { background: #fff1a8; }
.tile-domains { background: #cae8ff; }
.tile-mail { background: #c9f1e5; }
.tile-databases { background: #ffd7aa; }
.tile-files { background: #e7e9ed; }
.tile-backups { background: #e1d6ff; }
.tile-apps { background: #fff0c5; }
.tile-automation { background: #d9e9ff; }
.tile-access { background: #d5f0df; }
.sprint-dashboard-bottom { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(330px,.75fr); gap: 12px; margin-bottom: 12px; }
.sprint-services-card,
.sprint-events-card { padding: 16px; }
.sprint-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 11px; }
.sprint-card-heading h2 { margin: 3px 0 0; color: #3a3f47; font-size: 14px; }
.sprint-service-list,
.sprint-event-list { display: grid; gap: 1px; overflow: hidden; border: 1px solid #e5e7e9; border-radius: 5px; background: #e5e7e9; }
.sprint-service-row { min-height: 51px; display: grid; grid-template-columns: 32px minmax(0,1fr) auto; align-items: center; gap: 9px; padding: 7px 10px; border: 0; color: #3d424a; background: #fff; font: inherit; text-align: left; cursor: pointer; }
.sprint-service-row:hover,
.sprint-service-row.current { background: #f4faf8; }
.sprint-service-row > span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 5px; color: #fff; background: #66707d; font-size: 10px; font-weight: 850; }
.sprint-service-row > div { min-width: 0; display: grid; gap: 2px; }
.sprint-service-row b,
.sprint-service-row small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sprint-service-row b { font-size: 9px; }
.sprint-service-row small { color: #9298a1; font-size: 7px; }
.sprint-service-row em { color: var(--accent-strong); font-size: 8px; font-style: normal; font-weight: 750; }
.sprint-event-list > div { min-height: 51px; display: grid; grid-template-columns: 27px minmax(0,1fr) auto; align-items: center; gap: 8px; padding: 7px 9px; background: #fff; }
.sprint-event-list > div > span { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; color: #8a919a; background: #f0f2f4; font-size: 8px; font-weight: 850; }
.sprint-event-list > div > span.new { color: var(--accent-strong); background: var(--accent-soft); }
.sprint-event-list p { min-width: 0; display: grid; gap: 2px; margin: 0; }
.sprint-event-list b,
.sprint-event-list small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sprint-event-list b { font-size: 9px; }
.sprint-event-list small { color: #9298a1; font-size: 7px; }
.sprint-event-list time { color: #a0a5ac; font-size: 7px; }
.sprint-event-empty { color: #8b929a; font-size: 9px; text-align: center; }
body.in-app .setup-guide { margin-top: 12px; border-radius: 7px; }
body.in-app .setup-guide-progress em { background: var(--accent); }

/* Guided forms */
body.in-app .modal-backdrop { background: rgba(29,33,40,.5); backdrop-filter: blur(2px); }
body.in-app .action-dialog {
  width: min(620px,calc(100vw - 24px));
  max-height: min(92vh,860px);
  overflow: auto;
  padding: 0;
  border: 1px solid #d7dade;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 26px 80px rgba(26,30,36,.25);
}
body.in-app .action-dialog.wide { width: min(850px,calc(100vw - 24px)); }
body.in-app .action-dialog .modal-close { top: 15px; right: 15px; width: 31px; height: 31px; border-radius: 5px; color: #7e858e; background: #f1f2f3; }
.sprint-form-header {
  min-height: 88px;
  display: grid;
  grid-template-columns: 46px minmax(0,1fr);
  align-items: start;
  gap: 13px;
  padding: 20px 54px 17px 22px;
  border-bottom: 1px solid #e4e6e8;
}
.sprint-form-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 7px; color: var(--accent-strong); background: var(--accent-soft); font-size: 10px; font-weight: 900; }
.sprint-form-icon.success { color: #fff; background: var(--accent); }
.sprint-form-header .modal-eyebrow { padding: 0; color: #9ba1a9; font-size: 7px; letter-spacing: .12em; }
.sprint-form-header h2 { margin: 4px 0 0; color: #343940; font-size: 20px; line-height: 1.15; letter-spacing: -.035em; }
.sprint-form-header .modal-description { max-width: 620px; margin: 5px 0 0; color: #7f868f; font-size: 9px; line-height: 1.45; }
.sprint-action-form { margin: 0; }
.sprint-form-layout { display: grid; grid-template-columns: minmax(0,1fr); min-height: 180px; }
.action-dialog.wide .sprint-form-layout:has(.sprint-form-aside) { grid-template-columns: minmax(0,1fr) 245px; }
.sprint-form-fields { min-width: 0; padding: 22px; }
.sprint-form-aside { min-width: 0; padding: 22px 18px; border-left: 1px solid #e4e6e8; background: #f7f8f9; }
.form-help-card { color: #5d646d; }
.form-help-card > b { display: block; margin-bottom: 12px; color: #3d4249; font-size: 10px; }
.form-help-card ol,
.form-help-card ul { display: grid; gap: 9px; margin: 0 0 14px; padding: 0; list-style: none; counter-reset: form-help; }
.form-help-card ol li,
.form-help-card ul li { position: relative; min-height: 23px; padding: 3px 0 0 31px; font-size: 8px; line-height: 1.45; }
.form-help-card ol li::before,
.form-help-card ul li::before { position: absolute; top: 0; left: 0; width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; color: var(--accent-strong); background: #e5f6f1; font-size: 8px; font-weight: 850; }
.form-help-card ol li { counter-increment: form-help; }
.form-help-card ol li::before { content: counter(form-help); }
.form-help-card ul li::before { content: '✓'; }
.form-help-card p { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid #e1e4e7; color: #8a9098; font-size: 8px; line-height: 1.55; }
.form-help-card .form-help-warning { color: #8a6845; }
.form-help-card dl { display: grid; gap: 7px; margin: 0; }
.form-help-card dl > div { display: grid; grid-template-columns: 70px minmax(0,1fr); gap: 8px; padding-bottom: 7px; border-bottom: 1px solid #e3e5e7; }
.form-help-card dt { color: #41464d; font-family: ui-monospace,SFMono-Regular,Menlo,monospace; font-size: 8px; font-weight: 750; }
.form-help-card dd { margin: 0; color: #858c95; font-size: 8px; line-height: 1.4; }
body.in-app .form-grid { gap: 17px 14px; }
body.in-app .form-stack { display: grid; gap: 17px; }
.sprint-field { min-width: 0; display: grid !important; gap: 6px !important; color: #3e434b !important; font-size: 9px !important; font-weight: 700 !important; }
.field-caption { display: flex; align-items: center; gap: 3px; }
.field-caption i { color: #db5963; font-style: normal; }
.field-hint { margin-top: -1px; color: #969ca4; font-size: 7px; font-weight: 500; line-height: 1.4; }
.sprint-field.invalid .field-caption { color: #c3434d; }
body.in-app .sprint-field input,
body.in-app .sprint-field select,
body.in-app .sprint-field textarea {
  width: 100%;
  min-height: 45px;
  padding: 9px 11px;
  border: 1px solid #cfd3d7;
  border-radius: 5px;
  outline: 0;
  color: #333840;
  background: #fff;
  box-shadow: inset 0 1px 1px rgba(30,34,40,.025);
  font: inherit;
  font-size: 10px;
  font-weight: 500;
  transition: border-color .14s ease, box-shadow .14s ease;
}
body.in-app .sprint-field textarea { min-height: 112px; resize: vertical; line-height: 1.55; }
body.in-app .sprint-field input:hover,
body.in-app .sprint-field select:hover,
body.in-app .sprint-field textarea:hover { border-color: #b9bec3; }
body.in-app .sprint-field input:focus,
body.in-app .sprint-field select:focus,
body.in-app .sprint-field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(32,185,150,.11); }
body.in-app .sprint-field.invalid input,
body.in-app .sprint-field.invalid select,
body.in-app .sprint-field.invalid textarea { border-color: #d65a63; box-shadow: 0 0 0 3px rgba(214,90,99,.09); }
.password-control { position: relative; min-width: 0; display: grid; grid-template-columns: minmax(0,1fr) auto auto; }
.password-control input { padding-right: 9px !important; border-radius: 5px 0 0 5px !important; }
.field-inline-action,
.field-eye-action { min-height: 45px; padding: 0 10px; border: 1px solid #cfd3d7; border-left: 0; color: #606770; background: #f6f7f8; font: inherit; font-size: 8px; font-weight: 700; cursor: pointer; }
.field-eye-action { width: 36px; padding: 0; border-radius: 0 5px 5px 0; }
.field-inline-action:hover,
.field-eye-action:hover { color: var(--accent-strong); background: #eef8f5; }
body.in-app .form-actions {
  position: sticky;
  z-index: 2;
  bottom: 0;
  min-height: 67px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding: 12px 18px 12px 22px;
  border-top: 1px solid #e2e4e6;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
}
.form-safe-note { min-width: 0; display: flex; align-items: center; gap: 7px; color: #8b9199; }
.form-safe-note > span { width: 21px; height: 21px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: var(--accent-strong); background: var(--accent-soft); font-size: 8px; font-weight: 850; }
.form-safe-note small { font-size: 7px; line-height: 1.35; }
.form-action-buttons { display: flex; gap: 7px; flex: 0 0 auto; }
body.in-app .form-action-buttons .button { min-height: 39px; border-radius: 5px; }
body.in-app .confirm-box { margin: 0; padding: 14px; border-radius: 5px; font-size: 9px; }
body.in-app .credential-box { margin: 0; padding: 20px 22px; border: 0; border-radius: 0; background: #fff; }
body.in-app .credential-box > p { margin: 0 0 10px; color: #9aa0a8; font-size: 8px; font-weight: 750; text-transform: uppercase; }
body.in-app .credential-row { min-height: 43px; grid-template-columns: 105px minmax(0,1fr) auto; padding: 0 9px; border-bottom: 1px solid #e8eaec; }
body.in-app .credential-row code { padding: 5px 7px; border-radius: 4px; color: #3e444c; background: #f4f5f6; }
body.in-app .credential-row button { min-height: 27px; border: 1px solid #d7dade; border-radius: 4px; color: #5d646d; background: #fff; font: inherit; font-size: 7px; cursor: pointer; }

@media (max-width: 1240px) {
  body.in-app .global-search-button { width: 43px; grid-template-columns: 1fr; place-items: center; }
  body.in-app .global-search-button span,
  body.in-app .global-search-button kbd { display: none; }
  body.in-app .service-switcher-wrap { min-width: 165px; }
  .topbar-balance { display: none; }
  .sprint-tool-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 980px) {
  body.in-app .topbar-context,
  body.in-app .mode-pill { display: none; }
  .account-menu-button { min-width: 44px; width: 44px; grid-template-columns: 32px; padding: 5px; }
  .account-menu-button > div,
  .account-menu-button > svg { display: none; }
  .sprint-overview-grid,
  .sprint-dashboard-bottom { grid-template-columns: 1fr; }
  .sprint-tool-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 820px) {
  body.in-app .app-shell { display: block; }
  body.in-app .app-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 96;
    width: min(286px,86vw);
    padding: 0 10px 14px;
    transform: translateX(-105%);
    transition: transform .2s ease;
  }
  body.in-app .app-sidebar.open { transform: translateX(0); }
  .rail-brand { height: 67px; grid-template-columns: 36px auto; justify-content: start; align-content: center; padding: 0 10px; }
  .rail-brand small { font-size: 10px; }
  body.in-app .app-nav { margin-top: 8px; }
  body.in-app .app-nav button { min-height: 48px; flex-direction: row; justify-content: flex-start; gap: 12px; padding: 0 13px; }
  body.in-app .app-nav button > .nav-label { max-width: none; font-size: 10px; text-align: left; }
  .rail-system-state { margin-top: auto; display: flex; justify-content: flex-start; padding-left: 13px; }
  body.in-app .app-topbar { padding: 0 10px; }
  body.in-app .mobile-only { display: inline-grid; }
  body.in-app .service-switcher-wrap { min-width: 0; width: min(160px,36vw); }
  body.in-app #newActionButton { width: 38px; min-width: 38px; overflow: hidden; padding: 0; color: transparent; }
  body.in-app #newActionButton::after { content: '+'; color: #fff; font-size: 18px; }
  .nav-popover { top: 74px; left: 10px; right: 10px; width: auto; max-height: calc(100vh - 94px); overflow: auto; }
  .nav-popover-grid { grid-template-columns: 1fr; }
  .account-popover { top: 60px; right: 8px; width: min(310px,calc(100vw - 16px)); }
  .support-widget { right: 13px; bottom: 13px; }
  .support-widget-button { min-width: 42px; width: 42px; padding: 0; }
  .support-widget-button b { display: none; }
  .support-popover { width: min(300px,calc(100vw - 26px)); }
  body.in-app .app-content { padding: 15px 10px 68px; }
  .sprint-welcome { grid-template-columns: 42px minmax(0,1fr); padding: 12px; }
  .sprint-welcome-avatar { width: 42px; height: 42px; }
  .sprint-welcome-actions { grid-column: 1/-1; display: grid; grid-template-columns: 1fr 1fr; }
  .sprint-welcome p { white-space: normal; }
  .sprint-resource-list { grid-template-columns: 1fr; }
  .sprint-resource-compact { grid-column: 1; }
  .sprint-tool-grid { grid-template-columns: 1fr 1fr; gap: 7px; }
  .sprint-tile-main { min-height: 97px; grid-template-columns: 38px minmax(0,1fr); padding: 12px; }
  .sprint-tile-icon { width: 38px; height: 38px; }
  .sprint-tile-main > strong { grid-column: 2; grid-row: 2; font-size: 15px; text-align: left; }
  .sprint-tile-footer { padding-left: 12px; }
  .sprint-empty-dashboard { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
  .sprint-empty-illustration { min-height: 170px; }
  .action-dialog.wide .sprint-form-layout:has(.sprint-form-aside),
  .sprint-form-layout { grid-template-columns: 1fr; }
  .sprint-form-aside { border-top: 1px solid #e4e6e8; border-left: 0; }
  body.in-app .form-grid { grid-template-columns: 1fr; }
  body.in-app .form-grid .span-2 { grid-column: auto; }
  body.in-app .form-actions { align-items: stretch; flex-direction: column; }
  .form-action-buttons { display: grid; grid-template-columns: 1fr 1fr; }
  .form-safe-note { order: 2; }
}
@media (max-width: 520px) {
  body.in-app .service-switcher-wrap { width: min(145px,42vw); }
  body.in-app .notification-button,
  body.in-app .global-search-button { display: none; }
  .sprint-tool-grid { grid-template-columns: 1fr; }
  .sprint-overview-grid { gap: 8px; }
  .sprint-resource-footer { align-items: flex-start; flex-direction: column; }
  .sprint-section-head { align-items: flex-start; flex-direction: column; }
  .sprint-section-head > .button { width: 100%; }
  .sprint-resource-compact { grid-template-columns: 1fr 1fr 1fr; }
  .sprint-form-header { grid-template-columns: 40px minmax(0,1fr); padding: 17px 48px 15px 16px; }
  .sprint-form-icon { width: 40px; height: 40px; }
  .sprint-form-fields,
  .sprint-form-aside { padding: 17px 15px; }
  .form-action-buttons { grid-template-columns: 1fr; }
  body.in-app .credential-row { grid-template-columns: 1fr auto; align-items: start; padding: 9px 0; }
  body.in-app .credential-row > span { grid-column: 1/-1; }
}

/* ========================================================================== 
   LYNQ Hosting v0.8.0 — operational hosting panel refinement
   Clear resource dashboard, full task menu and simplified linear forms
   ========================================================================== */
body.in-app {
  --cp-sidebar: 236px;
  --cp-sidebar-collapsed: 76px;
  --cp-bg: #f4f5f7;
  --cp-panel: #ffffff;
  --cp-border: #dfe3e8;
  --cp-border-strong: #cfd5dc;
  --cp-text: #30343a;
  --cp-muted: #7b838d;
  --cp-sidebar-bg: #25262d;
  --cp-sidebar-hover: #30323a;
  --cp-accent: #20b99a;
  --cp-accent-dark: #119a7f;
  --cp-accent-soft: #e9f8f4;
  background: var(--cp-bg);
  font-size: 14px;
}
body.in-app .app-shell {
  --sidebar: var(--cp-sidebar);
  grid-template-columns: var(--sidebar) minmax(0, 1fr);
  background: var(--cp-bg);
  transition: grid-template-columns .2s ease;
}
body.in-app.sidebar-collapsed .app-shell { --sidebar: var(--cp-sidebar-collapsed); }
body.in-app .app-main { grid-template-rows: 72px minmax(0, 1fr); background: var(--cp-bg); }

/* Sidebar */
body.in-app .app-sidebar {
  position: relative;
  z-index: 34;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  color: rgba(255,255,255,.8);
  border: 0;
  background: var(--cp-sidebar-bg);
  box-shadow: 8px 0 26px rgba(26,28,33,.08);
}
.sidebar-brandbar {
  min-height: 72px;
  display: grid;
  grid-template-columns: minmax(0,1fr) 34px;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.rail-brand {
  width: auto;
  height: auto;
  min-width: 0;
  display: grid;
  grid-template-columns: 34px minmax(0,1fr);
  align-items: center;
  justify-content: start;
  gap: 10px;
  padding: 0;
  border: 0;
  color: #fff;
}
.rail-brand > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--cp-accent);
  box-shadow: 0 8px 22px rgba(32,185,154,.2);
  font-size: 17px;
  font-weight: 950;
}
.rail-brand > div { min-width: 0; display: grid; gap: 0; }
.rail-brand b { color: #fff; font-size: 15px; line-height: 1.1; letter-spacing: .08em; }
.rail-brand small { color: rgba(255,255,255,.48); font-size: 10px; font-weight: 650; letter-spacing: .01em; }
.sidebar-collapse-button {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 6px;
  color: rgba(255,255,255,.58);
  background: rgba(255,255,255,.04);
  cursor: pointer;
}
.sidebar-collapse-button:hover { color: #fff; background: rgba(255,255,255,.08); }
.sidebar-collapse-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
body.in-app.sidebar-collapsed .sidebar-collapse-button svg { transform: rotate(180deg); }
.sidebar-service-summary {
  min-height: 82px;
  display: grid;
  grid-template-columns: 38px minmax(0,1fr);
  align-items: center;
  gap: 10px;
  margin: 12px 10px 6px;
  padding: 11px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
}
.sidebar-service-summary > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: #d9fff5;
  background: rgba(32,185,154,.16);
  font-size: 13px;
  font-weight: 850;
}
.sidebar-service-summary > div { min-width: 0; display: grid; gap: 2px; }
.sidebar-service-summary small { color: rgba(255,255,255,.37); font-size: 8px; font-weight: 800; letter-spacing: .08em; }
.sidebar-service-summary b,
.sidebar-service-summary em { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-service-summary b { color: #fff; font-size: 11px; }
.sidebar-service-summary em { color: rgba(255,255,255,.52); font-size: 9px; font-style: normal; }

body.in-app .app-nav {
  flex: 1 1 auto;
  min-height: 0;
  display: block;
  margin: 0;
  padding: 4px 10px 14px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.13) transparent;
}
.nav-section { display: grid; gap: 2px; margin-top: 13px; }
.nav-section:first-child { margin-top: 4px; }
.nav-section > small {
  padding: 0 10px 6px;
  color: rgba(255,255,255,.28);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .11em;
}
body.in-app .app-nav button {
  position: relative;
  width: 100%;
  min-height: 40px;
  display: grid;
  grid-template-columns: 28px minmax(0,1fr);
  align-items: center;
  justify-content: start;
  gap: 8px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  color: rgba(255,255,255,.62);
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: color .14s ease, background .14s ease;
}
body.in-app .app-nav button:hover { color: #fff; background: rgba(255,255,255,.055); }
body.in-app .app-nav button.active {
  color: #fff;
  background: var(--cp-sidebar-hover);
  box-shadow: inset 3px 0 var(--cp-accent);
}
body.in-app .app-nav button > .nav-icon { width: 25px; height: 25px; display: grid; place-items: center; }
body.in-app .app-nav button > .nav-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.in-app .app-nav button > .nav-label {
  width: auto;
  max-width: none;
  display: block;
  overflow: hidden;
  color: inherit;
  font-size: 11px;
  font-weight: 620;
  line-height: 1.2;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sidebar-footer { display: grid; gap: 8px; padding: 10px; border-top: 1px solid rgba(255,255,255,.08); }
.sidebar-status {
  min-height: 46px;
  display: grid;
  grid-template-columns: 10px minmax(0,1fr);
  align-items: center;
  gap: 9px;
  padding: 7px 9px;
  border: 0;
  border-radius: 6px;
  color: rgba(255,255,255,.68);
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.sidebar-status:hover { background: rgba(255,255,255,.05); }
.sidebar-status > span { width: 8px; height: 8px; border-radius: 50%; background: #38d49f; box-shadow: 0 0 0 4px rgba(56,212,159,.1); }
.sidebar-status > div { min-width: 0; display: grid; gap: 1px; }
.sidebar-status b { font-size: 9px; }
.sidebar-status small { display: flex; align-items: center; gap: 5px; color: rgba(255,255,255,.38); font-size: 8px; }
.sidebar-status small i { display: none; }
.sidebar-help {
  min-height: 58px;
  display: grid;
  grid-template-columns: 28px minmax(0,1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(32,185,154,.18);
  border-radius: 7px;
  background: rgba(32,185,154,.08);
}
.sidebar-help > span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: #182a26; background: var(--cp-accent); font-weight: 900; }
.sidebar-help > div { min-width: 0; display: grid; gap: 1px; }
.sidebar-help b { color: #fff; font-size: 9px; }
.sidebar-help small { color: rgba(255,255,255,.43); font-size: 8px; }
.sidebar-help button { padding: 0; border: 0; color: #7df0d3; background: transparent; font-size: 8px; font-weight: 750; cursor: pointer; }

body.in-app.sidebar-collapsed .sidebar-brandbar { grid-template-columns: 1fr; justify-items: center; padding-inline: 9px; }
body.in-app.sidebar-collapsed .rail-brand { grid-template-columns: 34px; }
body.in-app.sidebar-collapsed .rail-brand > div,
body.in-app.sidebar-collapsed .sidebar-collapse-button,
body.in-app.sidebar-collapsed .sidebar-service-summary > div,
body.in-app.sidebar-collapsed .nav-section > small,
body.in-app.sidebar-collapsed .app-nav .nav-label,
body.in-app.sidebar-collapsed .sidebar-status > div,
body.in-app.sidebar-collapsed .sidebar-help > div,
body.in-app.sidebar-collapsed .sidebar-help button { display: none; }
body.in-app.sidebar-collapsed .sidebar-service-summary { grid-template-columns: 38px; justify-content: center; margin-inline: 8px; padding-inline: 8px; }
body.in-app.sidebar-collapsed .app-nav { padding-inline: 8px; }
body.in-app.sidebar-collapsed .nav-section { gap: 4px; margin-top: 8px; }
body.in-app.sidebar-collapsed .app-nav button { grid-template-columns: 1fr; justify-items: center; padding: 0; }
body.in-app.sidebar-collapsed .sidebar-status { grid-template-columns: 1fr; justify-items: center; }
body.in-app.sidebar-collapsed .sidebar-help { grid-template-columns: 1fr; justify-items: center; padding: 8px; }

/* Topbar */
body.in-app .app-topbar {
  height: 72px;
  gap: 12px;
  padding: 0 18px 0 22px;
  border-bottom: 1px solid var(--cp-border);
  background: rgba(255,255,255,.97);
  box-shadow: none;
  backdrop-filter: blur(14px);
}
body.in-app .topbar-context { min-width: 150px; display: grid; gap: 1px; }
body.in-app .topbar-context span { color: #9aa1aa; font-size: 9px; font-weight: 650; letter-spacing: 0; }
body.in-app .topbar-context strong { color: var(--cp-text); font-size: 16px; line-height: 1.2; }
body.in-app .service-switcher-wrap {
  min-width: 230px;
  min-height: 44px;
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border: 1px solid var(--cp-border);
  border-radius: 7px;
  background: #fff;
}
body.in-app .service-switcher-wrap label { color: #979ea7; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
body.in-app .service-switcher-wrap select { min-width: 0; border: 0; color: #3b4047; background: transparent; font-size: 11px; font-weight: 700; outline: 0; }
.topbar-tool-button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border: 1px solid var(--cp-border);
  border-radius: 6px;
  color: #717985;
  background: #fff;
  font: inherit;
  cursor: pointer;
}
.topbar-tool-button:hover { color: #3f454d; border-color: var(--cp-border-strong); }
.topbar-tool-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.topbar-tool-button span { font-size: 10px; font-weight: 650; }
.topbar-tool-button kbd { padding: 2px 5px; border: 1px solid #dfe3e8; border-radius: 4px; color: #9aa1aa; background: #f7f8f9; font: 8px/1.2 inherit; }
.topbar-balance { min-width: 98px; height: 42px; padding: 0 10px; border-right: 1px solid #e5e8ec; }
.topbar-balance small { font-size: 8px; }
.topbar-balance b { font-size: 12px; }
body.in-app .icon-button { width: 38px; height: 38px; border-radius: 6px; }
body.in-app .topbar-create { display: none; }
.account-menu-button { min-width: 128px; height: 44px; }

/* Workspace and generic content */
body.in-app .app-content { padding: 24px clamp(18px,2.4vw,34px) 86px; overflow-y: auto; background: var(--cp-bg); }
body.in-app .app-content > * { width: min(1360px,100%); }
body.in-app .page-head { align-items: end; margin-bottom: 18px; }
body.in-app .page-head > div > small { color: #8b929b; font-size: 9px; font-weight: 750; letter-spacing: .07em; }
body.in-app .page-head h1 { margin: 3px 0 4px; color: #30343a; font-size: clamp(25px,2.4vw,34px); line-height: 1.1; }
body.in-app .page-head p { margin: 0; color: #7d858f; font-size: 13px; }
body.in-app .panel,
body.in-app .resource-card,
body.in-app .kpi-card,
body.in-app .entity-card { border-color: var(--cp-border); border-radius: 8px; box-shadow: none; }
body.in-app .panel-head h2 { font-size: 17px; }
body.in-app .panel-head p { font-size: 12px; }
body.in-app .data-table { font-size: 12px; }
body.in-app .data-table th { color: #858d97; font-size: 9px; }
body.in-app .data-table td { padding-block: 12px; }
body.in-app .data-table td b { font-size: 12px; }
body.in-app .data-table td small { font-size: 10px; }
body.in-app .resource-card h3 { font-size: 16px; }
body.in-app .resource-card p { font-size: 11px; }
body.in-app .resource-card-meta span { font-size: 9px; }
body.in-app .resource-card-meta b { font-size: 11px; }
body.in-app .button { border-radius: 6px; }
body.in-app .button-small { min-height: 36px; font-size: 11px; }
body.in-app .button-primary,
body.in-app .button-dark,
body.in-app .button-accent { border-color: var(--cp-accent); background: var(--cp-accent); }
body.in-app .button-primary:hover:not(:disabled),
body.in-app .button-dark:hover:not(:disabled),
body.in-app .button-accent:hover:not(:disabled) { border-color: var(--cp-accent-dark); background: var(--cp-accent-dark); }
body.in-app .button-quiet { color: #4b535d; border-color: var(--cp-border); background: #fff; }
body.in-app .button-quiet:hover:not(:disabled) { border-color: var(--cp-border-strong); background: #f8f9fa; }

/* Dashboard */
.cp-overview-head { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(280px,.55fr); gap: 12px; margin-bottom: 22px; }
.cp-tariff-card,
.cp-balance-card,
.cp-panel,
.cp-metric-card { border: 1px solid var(--cp-border); border-radius: 8px; background: #fff; }
.cp-tariff-card { min-height: 128px; display: grid; grid-template-columns: minmax(220px,1fr) minmax(200px,.8fr) auto; align-items: center; gap: 22px; padding: 22px 24px; }
.cp-tariff-main { min-width: 0; }
.cp-tariff-main > small,
.cp-balance-card small,
.cp-section-heading small,
.cp-panel-head small { color: #9aa1aa; font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.cp-tariff-main h1 { margin: 4px 0 1px; color: #30343a; font-size: 27px; line-height: 1.1; }
.cp-tariff-main p { margin: 0; overflow: hidden; color: #7b838d; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.cp-tariff-status { display: grid; justify-items: start; gap: 8px; }
.cp-tariff-status small { color: #7f8791; font-size: 11px; }
.cp-tariff-actions { display: flex; align-items: center; gap: 8px; }
.cp-balance-card { min-height: 128px; display: flex; flex-direction: column; justify-content: space-between; padding: 20px; }
.cp-balance-card > div { display: grid; gap: 2px; }
.cp-balance-card strong { margin-top: 5px; color: #30343a; font-size: 26px; line-height: 1; letter-spacing: -.04em; }
.cp-balance-card p { margin: 4px 0 0; color: #8b929b; font-size: 11px; }
.cp-balance-card > button { align-self: flex-start; padding: 0; border: 0; color: var(--cp-accent-dark); background: transparent; font: inherit; font-size: 11px; font-weight: 750; cursor: pointer; }
.cp-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.cp-section-heading h2 { margin: 3px 0 0; color: #34383e; font-size: 19px; }
.cp-section-heading > button { padding: 0; border: 0; color: var(--cp-accent-dark); background: transparent; font: inherit; font-size: 11px; font-weight: 700; cursor: pointer; }
.cp-metric-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 10px; margin-bottom: 20px; }
.cp-metric-card { position: relative; min-width: 0; min-height: 136px; padding: 17px; overflow: hidden; }
.cp-metric-card::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--tone,#20b99a); }
.cp-metric-card > button { position: absolute; top: 12px; right: 12px; width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid var(--cp-border); border-radius: 50%; color: #7d858f; background: #fff; font-size: 12px; cursor: pointer; }
.cp-metric-card > button:hover { color: var(--tone,#20b99a); border-color: var(--tone,#20b99a); }
.cp-metric-card > span { display: block; padding-right: 28px; color: #7e8690; font-size: 11px; font-weight: 650; }
.cp-metric-card > strong { display: block; margin-top: 13px; overflow: hidden; color: #30343a; font-size: 22px; line-height: 1; letter-spacing: -.03em; text-overflow: ellipsis; white-space: nowrap; }
.cp-metric-card > strong small { color: #9097a0; font-size: 12px; font-weight: 600; letter-spacing: 0; }
.cp-metric-card > p { margin: 8px 0 0; overflow: hidden; color: #9aa1aa; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.cp-metric-card > i { position: absolute; inset: auto 16px 15px; height: 5px; overflow: hidden; border-radius: 3px; background: #eceff2; }
.cp-metric-card > i u { height: 100%; display: block; border-radius: inherit; background: var(--tone,#20b99a); text-decoration: none; }
.tone-teal { --tone:#20b99a; }
.tone-green { --tone:#36a86f; }
.tone-blue { --tone:#3e8bc9; }
.tone-violet { --tone:#8a6ccb; }
.tone-orange { --tone:#e18a48; }
.tone-amber { --tone:#d7a733; }
.cp-dashboard-columns { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(300px,.55fr); gap: 12px; margin-bottom: 12px; }
.cp-panel { min-width: 0; padding: 20px; }
.cp-panel-head { margin-bottom: 14px; }
.cp-panel-head.row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.cp-panel-head h2 { margin: 3px 0 0; color: #34383e; font-size: 18px; }
.cp-panel-head p { margin: 4px 0 0; color: #858d96; font-size: 11px; }
.cp-panel-head button { padding: 0; border: 0; color: var(--cp-accent-dark); background: transparent; font: inherit; font-size: 10px; font-weight: 750; cursor: pointer; }
.cp-quick-tools { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.cp-quick-tool { min-width: 0; min-height: 72px; display: grid; grid-template-columns: 40px minmax(0,1fr) auto; align-items: center; gap: 11px; padding: 10px 12px; border: 1px solid var(--cp-border); border-radius: 7px; color: #3c4249; background: #fff; font: inherit; text-align: left; cursor: pointer; transition: border-color .14s ease, background .14s ease, transform .14s ease; }
.cp-quick-tool:hover { border-color: #b9c2cb; background: #f9fbfb; transform: translateY(-1px); }
.cp-quick-tool > span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 6px; color: var(--tone); background: #f1f5f5; font-size: 10px; font-weight: 900; }
.cp-quick-tool > div { min-width: 0; display: grid; gap: 2px; }
.cp-quick-tool b,
.cp-quick-tool small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cp-quick-tool b { font-size: 12px; }
.cp-quick-tool small { color: #8a929b; font-size: 9px; }
.cp-quick-tool em { color: var(--tone); font-size: 15px; font-style: normal; }
.cp-account-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; margin-bottom: 14px; overflow: hidden; border: 1px solid #e5e8ec; border-radius: 6px; background: #e5e8ec; }
.cp-account-facts div { min-width: 0; display: grid; gap: 2px; padding: 12px 7px; background: #f8f9fa; text-align: center; }
.cp-account-facts span { color: #9097a0; font-size: 9px; }
.cp-account-facts b { color: #34383e; font-size: 17px; }
.cp-account-list { display: grid; gap: 1px; overflow: hidden; border: 1px solid #e5e8ec; border-radius: 6px; background: #e5e8ec; }
.cp-account-list button { min-height: 56px; display: grid; align-content: center; gap: 2px; padding: 8px 12px; border: 0; color: #3e444b; background: #fff; font: inherit; text-align: left; cursor: pointer; }
.cp-account-list button:hover { background: #f7fbfa; }
.cp-account-list span { font-size: 11px; font-weight: 700; }
.cp-account-list em { color: #9198a1; font-size: 9px; font-style: normal; }
.cp-dashboard-bottom { display: grid; grid-template-columns: minmax(0,1fr) minmax(360px,.75fr); gap: 12px; margin-bottom: 12px; }
.cp-service-list,
.cp-event-list { display: grid; gap: 1px; overflow: hidden; border: 1px solid #e5e8ec; border-radius: 6px; background: #e5e8ec; }
.cp-service-row { min-height: 56px; display: grid; grid-template-columns: 34px minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 8px 10px; border: 0; color: #3d434a; background: #fff; font: inherit; text-align: left; cursor: pointer; }
.cp-service-row:hover,
.cp-service-row.current { background: #f3faf8; }
.cp-service-row > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 6px; color: #fff; background: #66707c; font-size: 11px; font-weight: 850; }
.cp-service-row > div { min-width: 0; display: grid; gap: 2px; }
.cp-service-row b,
.cp-service-row small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cp-service-row b { font-size: 11px; }
.cp-service-row small { color: #9299a2; font-size: 9px; }
.cp-service-row em { color: var(--cp-accent-dark); font-size: 9px; font-style: normal; font-weight: 700; }
.cp-event-list > div { min-height: 56px; display: grid; grid-template-columns: 28px minmax(0,1fr) auto; align-items: center; gap: 9px; padding: 8px 10px; background: #fff; }
.cp-event-list > div > span { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; color: #8d959e; background: #f0f2f4; font-size: 9px; font-weight: 850; }
.cp-event-list > div > span.new { color: var(--cp-accent-dark); background: var(--cp-accent-soft); }
.cp-event-list p { min-width: 0; display: grid; gap: 2px; margin: 0; }
.cp-event-list b,
.cp-event-list small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cp-event-list b { font-size: 10px; }
.cp-event-list small { color: #9299a2; font-size: 8px; }
.cp-event-list time { color: #a1a7af; font-size: 8px; }
.cp-event-empty { padding: 24px; color: #8b929b; background: #fff; font-size: 11px; text-align: center; }
.cp-empty-welcome { min-height: 160px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px; border: 1px solid var(--cp-border); border-radius: 8px; background: #fff; }
.cp-empty-welcome small { color: #9aa1aa; font-size: 9px; font-weight: 800; letter-spacing: .09em; }
.cp-empty-welcome h1 { margin: 4px 0 8px; font-size: 30px; }
.cp-empty-welcome p { max-width: 680px; margin: 0; color: #7e8690; }
.cp-empty-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin-top: 12px; }
.cp-empty-steps article { display: grid; grid-template-columns: 34px minmax(0,1fr); align-items: center; gap: 10px; padding: 18px; border: 1px solid var(--cp-border); border-radius: 8px; background: #fff; }
.cp-empty-steps article > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: var(--cp-accent-dark); background: var(--cp-accent-soft); font-weight: 850; }
.cp-empty-steps article > div { display: grid; gap: 2px; }
.cp-empty-steps b { font-size: 12px; }
.cp-empty-steps small { color: #8c939c; font-size: 10px; }

/* Setup guide compact */
body.in-app .setup-guide { margin-top: 12px; padding: 18px; }
body.in-app .setup-guide-head { align-items: center; }
body.in-app .setup-guide-head h2 { font-size: 17px; }
body.in-app .setup-guide-head p { font-size: 11px; }
body.in-app .setup-step { min-height: 58px; }
body.in-app .setup-step b { font-size: 11px; }
body.in-app .setup-step small { font-size: 9px; }

/* Linear forms */
body.in-app .modal { padding: 18px; }
body.in-app .action-dialog {
  width: min(660px,calc(100vw - 36px));
  max-height: calc(100vh - 36px);
  padding: 0;
  overflow: hidden;
  border: 1px solid #d8dde3;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(35,40,48,.22);
}
body.in-app .action-dialog.wide { width: min(720px,calc(100vw - 36px)); }
body.in-app .action-dialog .modal-close { top: 15px; right: 15px; width: 32px; height: 32px; border-radius: 6px; color: #7d858e; background: #f2f4f6; }
.sprint-form-header {
  min-height: 104px;
  display: grid;
  grid-template-columns: 48px minmax(0,1fr);
  align-items: start;
  gap: 14px;
  padding: 22px 58px 20px 22px;
  border-bottom: 1px solid #e3e6ea;
  background: #fff;
}
.sprint-form-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 7px; color: var(--cp-accent-dark); background: var(--cp-accent-soft); font-size: 11px; font-weight: 900; }
.sprint-form-heading { min-width: 0; }
.sprint-form-header .modal-eyebrow { color: #949ba4; font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.sprint-form-header h2 { margin: 4px 0 0; color: #30343a; font-size: 22px; line-height: 1.15; }
.sprint-form-header .modal-description { max-width: 560px; margin: 6px 0 0; color: #7d858f; font-size: 12px; line-height: 1.5; }
.form-context { display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; padding: 5px 8px; border-radius: 5px; color: #69717b; background: #f3f5f7; font-size: 9px; }
.form-context span { color: #9299a2; }
.form-context b { max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sprint-action-form { display: flex; flex-direction: column; min-height: 0; max-height: calc(100vh - 142px); }
.sprint-form-layout { min-height: 0; display: block; overflow-y: auto; background: #fff; }
.action-dialog.wide .sprint-form-layout:has(.sprint-form-aside) { display: block; }
.sprint-form-fields { min-width: 0; padding: 22px; }
.sprint-form-aside {
  margin: 0 22px 22px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #dfe4e9;
  border-radius: 7px;
  background: #f7f9fa;
}
.sprint-form-aside > summary { min-height: 46px; display: flex; align-items: center; gap: 8px; padding: 0 13px; color: #4f5660; font-size: 10px; font-weight: 750; cursor: pointer; list-style: none; }
.sprint-form-aside > summary::-webkit-details-marker { display: none; }
.sprint-form-aside > summary span { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; color: var(--cp-accent-dark); background: var(--cp-accent-soft); font-size: 10px; font-family: Georgia,serif; }
.sprint-form-aside[open] > summary { border-bottom: 1px solid #e1e5e9; }
.sprint-form-aside > div { padding: 14px; }
.sprint-form-aside .form-help-card { display: block; }
.sprint-form-aside .form-help-card > b { color: #3e444b; font-size: 11px; }
.sprint-form-aside .form-help-card p,
.sprint-form-aside .form-help-card li,
.sprint-form-aside .form-help-card dd { color: #737b85; font-size: 10px; line-height: 1.5; }
.sprint-form-aside .form-help-card ol,
.sprint-form-aside .form-help-card ul { margin: 8px 0 0; padding-left: 18px; }
.sprint-form-aside .form-help-card dl { margin: 9px 0 0; }
body.in-app .form-stack { gap: 16px; }
body.in-app .form-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
body.in-app .sprint-form-fields .form-grid { grid-template-columns: 1fr; }
body.in-app .sprint-form-fields .form-grid .span-2 { grid-column: auto; }
.sprint-field { gap: 7px !important; color: #3e444b !important; font-size: 12px !important; font-weight: 650 !important; }
.field-caption { font-size: 12px; }
.field-caption i { color: #d34e58; }
body.in-app .sprint-field input,
body.in-app .sprint-field select,
body.in-app .sprint-field textarea {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #cfd5dc;
  border-radius: 6px;
  color: #30343a;
  background: #fff;
  font-size: 13px;
  outline: 0;
}
body.in-app .sprint-field textarea { min-height: 112px; padding-block: 11px; }
body.in-app .sprint-field input::placeholder,
body.in-app .sprint-field textarea::placeholder { color: #a7adb5; }
body.in-app .sprint-field input:focus,
body.in-app .sprint-field select:focus,
body.in-app .sprint-field textarea:focus { border-color: var(--cp-accent); box-shadow: 0 0 0 3px rgba(32,185,154,.11); }
.field-hint { color: #8b929b !important; font-size: 10px !important; font-weight: 450 !important; line-height: 1.45; }
.password-control { min-height: 44px; }
.password-control input { padding-right: 142px !important; }
.field-inline-action { right: 39px; height: 30px; padding: 0 8px; border-radius: 5px; color: var(--cp-accent-dark); background: #eef9f6; font-size: 9px; }
.field-eye-action { right: 5px; width: 30px; height: 30px; }
body.in-app .form-actions {
  position: sticky;
  z-index: 2;
  bottom: 0;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  border-top: 1px solid #e1e5e9;
  background: #fafbfc;
}
.form-safe-note { min-width: 0; display: flex; align-items: center; gap: 8px; color: #7d858f; }
.form-safe-note > span { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; color: var(--cp-accent-dark); background: var(--cp-accent-soft); font-size: 10px; font-weight: 900; }
.form-safe-note small { font-size: 9px; }
.form-action-buttons { display: flex; gap: 8px; }
.form-action-buttons .button { min-width: 112px; }
.confirm-box { padding: 14px; border: 1px solid #f0c9cd; border-radius: 6px; color: #9e4149; background: #fff5f6; font-size: 11px; line-height: 1.5; }
body.in-app .credential-row { min-height: 52px; font-size: 11px; }

/* Popovers */
.account-popover,
.support-popover { border-radius: 8px; }
.support-widget { right: 20px; bottom: 18px; }
.support-widget-button { height: 40px; min-width: 108px; border-radius: 20px; }

@media (max-width: 1220px) {
  .cp-metric-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .cp-dashboard-columns { grid-template-columns: 1fr; }
  body.in-app .topbar-context { min-width: 120px; }
  body.in-app .service-switcher-wrap { min-width: 190px; }
  .topbar-tool-button span,
  .topbar-tool-button kbd { display: none; }
}

@media (max-width: 980px) {
  body.in-app .app-shell { display: block; }
  body.in-app .app-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 96;
    width: min(276px,88vw);
    transform: translateX(-104%);
    transition: transform .2s ease;
    box-shadow: 24px 0 65px rgba(23,26,32,.28);
  }
  body.in-app .app-sidebar.open,
  body.in-app.sidebar-open .app-sidebar { transform: translateX(0); }
  body.in-app .sidebar-collapse-button { display: none; }
  body.in-app .mobile-only { display: inline-grid; }
  body.in-app .app-topbar { padding-inline: 12px; }
  body.in-app .topbar-context { min-width: 0; }
  body.in-app .topbar-context span { display: none; }
  body.in-app .topbar-context strong { font-size: 14px; }
  body.in-app .service-switcher-wrap { width: min(240px,34vw); min-width: 0; }
  .account-menu-button { min-width: 44px; width: 44px; grid-template-columns: 32px; padding: 5px; }
  .account-menu-button > div,
  .account-menu-button > svg { display: none; }
  .cp-overview-head,
  .cp-dashboard-bottom { grid-template-columns: 1fr; }
  .cp-tariff-card { grid-template-columns: minmax(0,1fr) auto; }
  .cp-tariff-status { grid-column: 1; }
  .cp-tariff-actions { grid-column: 2; grid-row: 1 / span 2; flex-direction: column; align-items: stretch; }
}

@media (max-width: 720px) {
  body.in-app .app-topbar { height: 66px; gap: 8px; }
  body.in-app .app-main { grid-template-rows: 66px minmax(0,1fr); }
  body.in-app .service-switcher-wrap { width: min(180px,43vw); }
  body.in-app .service-switcher-wrap label { display: none; }
  body.in-app .service-switcher-wrap { grid-template-columns: 1fr; }
  .topbar-tool-button,
  .topbar-balance,
  body.in-app .notification-button { display: none; }
  body.in-app .topbar-create { width: 38px; min-width: 38px; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; padding: 0; color: transparent; font-size: 0; }
  body.in-app .topbar-create::after { content: '+'; display: block; color: #fff; font-size: 20px; line-height: 1; }
  body.in-app .app-content { padding: 14px 10px 72px; }
  .cp-tariff-card { display: block; padding: 18px; }
  .cp-tariff-status { margin-top: 12px; }
  .cp-tariff-actions { display: grid; grid-template-columns: 1fr 1fr; margin-top: 14px; }
  .cp-metric-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .cp-metric-card { min-height: 126px; padding: 15px; }
  .cp-quick-tools { grid-template-columns: 1fr; }
  .cp-panel { padding: 16px; }
  .cp-dashboard-columns { gap: 8px; }
  .cp-dashboard-bottom { gap: 8px; }
  .cp-section-heading { align-items: flex-start; flex-direction: column; }
  .cp-empty-welcome { align-items: flex-start; flex-direction: column; padding: 22px; }
  .cp-empty-steps { grid-template-columns: 1fr; }
  body.in-app .action-dialog,
  body.in-app .action-dialog.wide { width: calc(100vw - 20px); max-height: calc(100vh - 20px); }
  .sprint-form-header { grid-template-columns: 42px minmax(0,1fr); padding: 18px 48px 16px 16px; }
  .sprint-form-icon { width: 42px; height: 42px; }
  .sprint-form-header h2 { font-size: 19px; }
  .sprint-form-fields { padding: 17px 15px; }
  .sprint-form-aside { margin: 0 15px 15px; }
  body.in-app .form-grid { grid-template-columns: 1fr; }
  body.in-app .form-grid .span-2 { grid-column: auto; }
  body.in-app .form-actions { align-items: stretch; flex-direction: column; }
  .form-safe-note { order: 2; }
  .form-action-buttons { display: grid; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 460px) {
  body.in-app .topbar-context { display: none; }
  body.in-app .service-switcher-wrap { width: min(190px,52vw); }
  .cp-metric-grid { grid-template-columns: 1fr; }
  .cp-metric-card { min-height: 118px; }
  .cp-tariff-actions,
  .form-action-buttons { grid-template-columns: 1fr; }
  .cp-account-facts { grid-template-columns: 1fr 1fr 1fr; }
  .support-widget { right: 12px; bottom: 12px; }
  .support-widget-button { min-width: 40px; width: 40px; padding: 0; }
  .support-widget-button b { display: none; }
}

/* ========================================================================== 
   LYNQ Hosting v0.9.0 — site-centred workspace and account balance
   ========================================================================== */

/* Site catalogue */
.site-list-toolbar {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
  padding: 10px 14px;
}
.site-list-toolbar > label {
  width: min(420px,100%);
  min-height: 40px;
  display: grid;
  grid-template-columns: 20px minmax(0,1fr);
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid var(--cp-border);
  border-radius: 7px;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.site-list-toolbar > label:focus-within {
  border-color: var(--cp-accent);
  box-shadow: 0 0 0 3px rgba(32,185,154,.10);
}
.site-list-toolbar svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #8a929c;
  stroke-width: 1.8;
}
.site-list-toolbar input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--cp-text);
  background: transparent;
  font: inherit;
}
.site-list-toolbar input::placeholder { color: #9ca3ad; }
.site-list-toolbar > div { display: flex; align-items: center; gap: 14px; }
.site-list-toolbar > div > span { color: var(--cp-muted); font-size: 11px; white-space: nowrap; }
.site-list-toolbar > div > button {
  padding: 0;
  border: 0;
  color: var(--cp-accent-dark);
  background: transparent;
  font: inherit;
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
}
.site-list-toolbar > div > button:hover { text-decoration: underline; }
.site-management-list { display: grid; gap: 8px; }
.site-management-card {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(290px,1fr) minmax(155px,.44fr) minmax(155px,.44fr) auto;
  align-items: center;
  border: 1px solid var(--cp-border);
  border-radius: 9px;
  background: #fff;
  overflow: hidden;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.site-management-card:hover {
  border-color: var(--cp-border-strong);
  box-shadow: 0 7px 22px rgba(43,48,56,.06);
}
.site-management-main {
  min-width: 0;
  min-height: 82px;
  display: grid;
  grid-template-columns: 42px minmax(0,1fr) 22px;
  align-items: center;
  gap: 13px;
  padding: 13px 16px;
  border: 0;
  border-right: 1px solid #edf0f3;
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.site-management-main:hover .site-management-copy h3 { color: var(--cp-accent-dark); }
.site-favicon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid #dbe7e4;
  border-radius: 9px;
  color: var(--cp-accent-dark);
  background: var(--cp-accent-soft);
  font-size: 17px;
  font-weight: 850;
}
.site-management-copy { min-width: 0; display: grid; gap: 3px; }
.site-management-copy > div { min-width: 0; display: flex; align-items: center; gap: 8px; }
.site-management-copy h3 {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: #30343a;
  font-size: 14px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color .15s ease;
}
.site-management-copy em {
  flex: none;
  padding: 3px 6px;
  border-radius: 4px;
  color: #68717b;
  background: #f0f2f4;
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.site-management-copy p,
.site-management-copy small {
  margin: 0;
  overflow: hidden;
  color: #9299a2;
  font-size: 10px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.site-management-copy small { color: #707984; }
.site-open-arrow { color: #b1b7be; font-size: 17px; transition: transform .15s ease, color .15s ease; }
.site-management-main:hover .site-open-arrow { color: var(--cp-accent-dark); transform: translateX(2px); }
.site-management-status {
  min-width: 0;
  min-height: 58px;
  display: grid;
  grid-template-columns: 9px minmax(0,1fr);
  align-items: center;
  gap: 9px;
  padding: 12px 14px;
  border-right: 1px solid #edf0f3;
}
.site-management-status > div { min-width: 0; display: grid; gap: 3px; }
.site-management-status small { color: #969da6; font-size: 9px; font-weight: 650; text-transform: uppercase; letter-spacing: .04em; }
.site-management-status b { overflow: hidden; color: #525962; font-size: 10px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.connection-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c3c9cf;
  box-shadow: 0 0 0 3px rgba(195,201,207,.18);
}
.connection-dot.connected,
.connection-dot.passed { background: #2bb68f; box-shadow: 0 0 0 3px rgba(43,182,143,.14); }
.connection-dot.partial,
.connection-dot.warning { background: #eba83e; box-shadow: 0 0 0 3px rgba(235,168,62,.15); }
.connection-dot.pending { background: #9ea6af; box-shadow: 0 0 0 3px rgba(158,166,175,.13); }
.site-management-actions { display: flex; align-items: center; justify-content: flex-end; gap: 7px; padding: 12px 14px; }

/* Site workspace */
.site-workspace-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: #9aa1aa;
  font-size: 10px;
}
.site-workspace-breadcrumb button { padding: 0; border: 0; color: #747c86; background: none; font: inherit; cursor: pointer; }
.site-workspace-breadcrumb button:hover { color: var(--cp-accent-dark); }
.site-workspace-breadcrumb b { max-width: 45vw; overflow: hidden; color: #4a5159; text-overflow: ellipsis; white-space: nowrap; }
.site-workspace-hero {
  min-height: 106px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 12px;
  padding: 19px 20px;
  border: 1px solid var(--cp-border);
  border-radius: 9px;
  background: #fff;
}
.site-workspace-identity { min-width: 0; display: grid; grid-template-columns: 52px minmax(0,1fr); align-items: center; gap: 14px; }
.site-workspace-identity > span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--cp-accent-dark);
  background: var(--cp-accent-soft);
  font-size: 20px;
  font-weight: 900;
}
.site-workspace-identity > div { min-width: 0; }
.site-workspace-identity small { color: #939aa3; font-size: 9px; font-weight: 800; letter-spacing: .06em; }
.site-workspace-identity h1 { margin: 4px 0 2px; overflow: hidden; color: #2e3339; font-size: 23px; line-height: 1.15; text-overflow: ellipsis; white-space: nowrap; }
.site-workspace-identity p { margin: 0; overflow: hidden; color: #8b929a; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.site-workspace-actions { display: flex; align-items: center; gap: 8px; }
.site-connection-card {
  display: grid;
  grid-template-columns: minmax(260px,.8fr) minmax(360px,1.2fr);
  gap: 0;
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid var(--cp-border);
  border-left: 3px solid #aab1b9;
  border-radius: 9px;
  background: #fff;
}
.site-connection-card.status-connected { border-left-color: #2bb68f; }
.site-connection-card.status-partial { border-left-color: #eba83e; }
.site-connection-summary {
  min-width: 0;
  display: grid;
  grid-template-columns: 40px minmax(0,1fr);
  align-content: start;
  gap: 12px;
  padding: 20px;
  border-right: 1px solid #edf0f3;
}
.site-connection-summary > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #727a84;
  background: #f1f3f5;
  font-size: 16px;
  font-weight: 850;
}
.status-connected .site-connection-summary > span { color: #12876d; background: #e8f7f2; }
.status-partial .site-connection-summary > span { color: #a66713; background: #fff4df; }
.site-connection-summary small { color: #969da5; font-size: 9px; font-weight: 800; letter-spacing: .06em; }
.site-connection-summary h2 { margin: 5px 0 5px; color: #353a40; font-size: 17px; }
.site-connection-summary p { margin: 0; color: #737b84; font-size: 11px; line-height: 1.5; }
.site-connection-summary em { display: block; margin-top: 10px; color: #9aA1a9; font-size: 9px; font-style: normal; }
.domain-check-list { min-width: 0; padding: 8px 14px; }
.domain-check-row {
  min-width: 0;
  display: grid;
  grid-template-columns: 26px minmax(0,1fr) auto;
  align-items: center;
  gap: 9px;
  min-height: 54px;
  padding: 8px 0;
  border-bottom: 1px solid #eef1f3;
}
.domain-check-row:last-child { border-bottom: 0; }
.domain-check-row > span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #7f8790;
  background: #f0f2f4;
  font-size: 10px;
  font-weight: 850;
}
.domain-check-row.passed > span { color: #14876e; background: #e8f7f2; }
.domain-check-row.warning > span { color: #a46614; background: #fff3dd; }
.domain-check-row > div { min-width: 0; display: grid; gap: 2px; }
.domain-check-row b { color: #444a51; font-size: 10px; }
.domain-check-row small { overflow: hidden; color: #8f969f; font-size: 9px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.domain-check-row em { padding: 4px 7px; border-radius: 4px; color: #767e87; background: #f1f3f5; font-size: 8px; font-style: normal; font-weight: 750; white-space: nowrap; }
.domain-check-row.passed em { color: #147a65; background: #eaf7f3; }
.domain-check-row.warning em { color: #996014; background: #fff4df; }
.domain-connection-help {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid #edf0f3;
  background: #fafbfc;
}
.domain-connection-help > div { min-width: 0; padding: 13px 18px; }
.domain-connection-help > div + div { border-left: 1px solid #edf0f3; }
.domain-connection-help b { color: #515861; font-size: 10px; }
.domain-connection-help p { margin: 3px 0 7px; color: #9097a0; font-size: 9px; }
.domain-connection-help code {
  display: block;
  overflow: hidden;
  padding: 7px 8px;
  border: 1px solid #e0e4e8;
  border-radius: 5px;
  color: #4f5961;
  background: #fff;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.site-workspace-grid {
  display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(330px,.85fr);
  gap: 12px;
  align-items: start;
}
.site-settings-panel,
.site-tools-panel,
.site-activity-panel,
.site-danger-panel {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--cp-border);
  border-radius: 9px;
  background: #fff;
}
.site-tools-panel { grid-column: 2; grid-row: 1 / span 2; }
.site-activity-panel { grid-column: 1; }
.site-danger-panel { grid-column: 1 / -1; border-color: #efd5d8; background: #fffafb; }
.site-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 11px; }
.site-panel-head small { color: #979ea7; font-size: 9px; font-weight: 800; letter-spacing: .06em; }
.site-panel-head h2 { margin: 4px 0 0; color: #34393f; font-size: 16px; }
.site-setting-row {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 10px 0;
  border-top: 1px solid #edf0f3;
}
.site-setting-row > div { min-width: 0; display: grid; gap: 2px; }
.site-setting-row span { color: #989fa7; font-size: 9px; text-transform: uppercase; letter-spacing: .04em; }
.site-setting-row b { overflow: hidden; color: #474d54; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.site-setting-row small { overflow: hidden; color: #8d949d; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.mono-value { font-family: ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; font-size: 10px !important; }
.setting-ready { width: 28px; height: 28px; display: grid; place-items: center; flex: none; border-radius: 50%; color: #14846b !important; background: #e8f7f2; font-size: 11px !important; }
.site-tools-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.site-tools-grid button {
  min-height: 76px;
  display: grid;
  grid-template-columns: 30px minmax(0,1fr);
  align-items: center;
  gap: 9px;
  padding: 10px;
  border: 1px solid #e0e4e8;
  border-radius: 7px;
  color: inherit;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.site-tools-grid button:hover { border-color: #bfc8ce; background: #fafcfc; }
.site-tools-grid button > span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 7px; color: var(--cp-accent-dark); background: var(--cp-accent-soft); font-size: 10px; font-weight: 850; }
.site-tools-grid button > div { min-width: 0; display: grid; gap: 2px; }
.site-tools-grid b { color: #484e55; font-size: 10px; }
.site-tools-grid small { overflow: hidden; color: #9198a0; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.site-activity-list { display: grid; }
.site-activity-list > div { min-height: 49px; display: grid; grid-template-columns: 9px minmax(0,1fr) auto; align-items: center; gap: 10px; border-top: 1px solid #edf0f3; }
.site-activity-list > div > span { width: 7px; height: 7px; border-radius: 50%; background: #98a1aa; }
.site-activity-list p { min-width: 0; display: grid; gap: 2px; margin: 0; }
.site-activity-list b { overflow: hidden; color: #50565e; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.site-activity-list small { color: #959ca4; font-size: 8px; }
.site-activity-list time { color: #90979f; font-size: 8px; white-space: nowrap; }
.site-danger-panel { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.site-danger-panel h3 { margin: 0 0 4px; color: #8f4048; font-size: 13px; }
.site-danger-panel p { margin: 0; color: #9a767a; font-size: 10px; }

/* Account balance and billing */
.wallet-overview-grid {
  display: grid;
  grid-template-columns: minmax(320px,1.45fr) minmax(190px,.65fr) minmax(190px,.65fr);
  gap: 10px;
  margin-bottom: 10px;
}
.wallet-main-card,
.wallet-stat-card {
  min-width: 0;
  padding: 19px;
  border: 1px solid var(--cp-border);
  border-radius: 9px;
  background: #fff;
}
.wallet-main-card { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 18px; border-left: 3px solid var(--cp-accent); }
.wallet-main-card small,
.wallet-stat-card small,
.wallet-history-card > small { color: #9299a2; font-size: 9px; font-weight: 800; letter-spacing: .06em; }
.wallet-main-card h2 { margin: 6px 0 3px; color: #2f343a; font-size: 27px; line-height: 1; }
.wallet-main-card p,
.wallet-stat-card p { margin: 0; color: #858d96; font-size: 10px; line-height: 1.45; }
.wallet-main-actions { display: flex; gap: 7px; }
.wallet-stat-card { display: grid; align-content: center; gap: 5px; }
.wallet-stat-card strong { color: #363b41; font-size: 19px; line-height: 1.1; }
.wallet-stat-card.due strong { color: #a84d54; }
.pending-topups {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
  padding: 9px 12px;
  border: 1px solid #efdcae;
  border-radius: 8px;
  background: #fffaf0;
}
.pending-topups > div { min-width: 0; display: grid; grid-template-columns: 30px minmax(0,1fr); align-items: center; gap: 9px; }
.pending-topups > div > span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: #9b6c1f; background: #fff0d0; }
.pending-topups p { min-width: 0; display: grid; gap: 2px; margin: 0; }
.pending-topups b { color: #6d5b39; font-size: 10px; }
.pending-topups small { color: #998a6e; font-size: 9px; }
.billing-plan-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 10px; }
.wallet-history-card { padding: 18px; }
.wallet-history-card h2 { margin: 4px 0 10px; color: #373c42; font-size: 16px; }
.wallet-transaction-list { display: grid; }
.wallet-transaction-list > div {
  min-height: 54px;
  display: grid;
  grid-template-columns: 28px minmax(0,1fr) auto;
  align-items: center;
  gap: 10px;
  border-top: 1px solid #edf0f3;
}
.wallet-transaction-list > div > span { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; color: #747c85; background: #f0f2f4; font-size: 12px; font-weight: 850; }
.wallet-transaction-list > div > span.credit { color: #147e68; background: #e9f7f3; }
.wallet-transaction-list > div > span.debit { color: #a04b52; background: #fff0f1; }
.wallet-transaction-list p { min-width: 0; display: grid; gap: 2px; margin: 0; }
.wallet-transaction-list b { overflow: hidden; color: #4b5158; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.wallet-transaction-list small { color: #969da5; font-size: 8px; }
.wallet-transaction-list strong { color: #555c64; font-size: 10px; white-space: nowrap; }
.wallet-transaction-list strong.credit { color: #14816a; }
.wallet-transaction-list strong.debit { color: #a64d55; }
.wallet-empty { margin: 12px 0 0; color: #969da5; font-size: 10px; }

/* v0.9 responsive refinements */
@media (max-width: 1260px) {
  .site-management-card { grid-template-columns: minmax(280px,1fr) minmax(145px,.46fr) auto; }
  .site-management-status:nth-of-type(3) { display: none; }
  .wallet-overview-grid { grid-template-columns: minmax(300px,1.3fr) minmax(180px,.7fr) minmax(180px,.7fr); }
}
@media (max-width: 1080px) {
  .site-management-card { grid-template-columns: minmax(260px,1fr) minmax(150px,.5fr) auto; }
  .site-management-status:nth-of-type(2) { display: none; }
  .site-connection-card { grid-template-columns: 1fr; }
  .site-connection-summary { border-right: 0; border-bottom: 1px solid #edf0f3; }
  .site-workspace-grid { grid-template-columns: 1fr; }
  .site-tools-panel,
  .site-activity-panel,
  .site-danger-panel { grid-column: 1; grid-row: auto; }
  .wallet-overview-grid { grid-template-columns: 1fr 1fr; }
  .wallet-main-card { grid-column: 1 / -1; }
  .billing-plan-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .site-list-toolbar { align-items: stretch; flex-direction: column; gap: 9px; }
  .site-list-toolbar > label { width: 100%; }
  .site-list-toolbar > div { justify-content: space-between; }
  .site-management-card { grid-template-columns: 1fr; }
  .site-management-main { min-height: 78px; border-right: 0; border-bottom: 1px solid #edf0f3; }
  .site-management-status { min-height: 46px; border-right: 0; border-bottom: 1px solid #edf0f3; }
  .site-management-status:nth-of-type(2) { display: grid; }
  .site-management-actions { justify-content: stretch; }
  .site-management-actions .button { flex: 1; }
  .site-workspace-hero { align-items: flex-start; flex-direction: column; }
  .site-workspace-identity { grid-template-columns: 44px minmax(0,1fr); }
  .site-workspace-identity > span { width: 44px; height: 44px; }
  .site-workspace-identity h1 { font-size: 19px; }
  .site-workspace-actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .site-workspace-actions .button { min-width: 0; }
  .domain-connection-help { grid-template-columns: 1fr; }
  .domain-connection-help > div + div { border-left: 0; border-top: 1px solid #edf0f3; }
  .site-tools-grid { grid-template-columns: 1fr; }
  .site-danger-panel { align-items: stretch; flex-direction: column; }
  .site-danger-panel .button { width: 100%; }
  .wallet-overview-grid { grid-template-columns: 1fr; }
  .wallet-main-card { grid-column: auto; grid-template-columns: 1fr; }
  .wallet-main-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .pending-topups { align-items: stretch; flex-direction: column; }
  .pending-topups > .button { width: 100%; }
}
@media (max-width: 460px) {
  .site-management-main { grid-template-columns: 38px minmax(0,1fr); }
  .site-favicon { width: 38px; height: 38px; }
  .site-open-arrow { display: none; }
  .site-management-copy em { display: none; }
  .site-management-actions { flex-direction: column; }
  .site-workspace-actions { grid-template-columns: 1fr; }
  .domain-check-row { grid-template-columns: 24px minmax(0,1fr); }
  .domain-check-row > em { grid-column: 2; justify-self: start; }
  .site-setting-row { align-items: flex-start; flex-direction: column; }
  .site-setting-row > .button { width: 100%; }
  .wallet-main-actions { grid-template-columns: 1fr; }
  .wallet-transaction-list > div { grid-template-columns: 25px minmax(0,1fr); padding: 8px 0; }
  .wallet-transaction-list strong { grid-column: 2; }
}

/* v0.9.0 visual QA fixes */
.wallet-main-card > div:first-child { min-width: 0; display: grid; align-content: center; gap: 4px; }
.wallet-main-card > div:first-child strong {
  display: block;
  color: #2f343a;
  font-size: 27px;
  line-height: 1.05;
  letter-spacing: -.03em;
}
.wallet-main-actions { align-items: center; }
.wallet-main-actions > span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 6px;
  color: #16816a;
  background: #eaf7f3;
  font-size: 9px;
  font-weight: 750;
  white-space: nowrap;
}
body.in-app.sidebar-open .support-widget { opacity: 0; pointer-events: none; }
@media (max-width: 720px) {
  body.in-app .topbar-create { position: relative; }
  body.in-app .topbar-create::after {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
  }
}

/* v0.9.0 billing contrast and action hierarchy */
.billing-card.current-plan { color: #263248; }
.billing-card.current-plan > small { color: var(--accent); }
.billing-card.current-plan .billing-title-row h2,
.billing-card.current-plan .billing-price strong,
.billing-card.current-plan .billing-details b { color: #243047; }
.billing-card.current-plan .billing-price small { color: #7d8796; }
.current-plan .billing-details > div {
  border: 1px solid #e1e7f0;
  background: #fff;
}
.current-plan .billing-details span { color: #8b95a4; }
.billing-card.current-plan .billing-controls { margin-top: 18px; }
.billing-card.current-plan .billing-controls .button-quiet:hover {
  color: #315ed4;
  border-color: #b8c9f5;
  background: #f7f9ff;
}

/* ========================================================================== */
/* LYNQ Hosting v0.10.0 — compact hosting panel inspired by task-first UX      */
/* ========================================================================== */
body.in-app {
  --v10-rail: 90px;
  --v10-rail-bg: #171821;
  --v10-rail-active: #252632;
  --v10-accent: #ff6533;
  --v10-blue: #4f6fc8;
  --v10-topbar: 52px;
  --v10-page: #f7f8fa;
  --v10-line: #e6e8ec;
  --v10-text: #161b27;
  --v10-muted: #667085;
  background: var(--v10-page);
}

body.in-app .app-shell {
  height: 100vh;
  display: grid;
  grid-template-columns: var(--v10-rail) minmax(0, 1fr);
  color: var(--v10-text);
  background: var(--v10-page);
}

body.in-app .app-sidebar {
  position: relative;
  z-index: 40;
  width: var(--v10-rail);
  min-width: var(--v10-rail);
  padding: 0;
  overflow: hidden;
  color: #fff;
  border: 0;
  background: var(--v10-rail-bg);
  box-shadow: none;
}

body.in-app .sidebar-brandbar {
  height: 94px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: #15161e;
}

body.in-app .rail-brand {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  color: #fff;
  background: transparent;
  cursor: pointer;
}

body.in-app .rail-brand-symbol {
  position: relative;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
}
body.in-app .rail-brand-symbol::before,
body.in-app .rail-brand-symbol::after,
body.in-app .rail-brand-symbol i {
  content: '';
  position: absolute;
  border: 5px solid var(--v10-accent);
  border-right-color: transparent;
  border-radius: 9px;
  transform: rotate(-22deg);
}
body.in-app .rail-brand-symbol::before { width: 34px; height: 22px; left: 4px; top: 10px; }
body.in-app .rail-brand-symbol::after { width: 27px; height: 15px; left: 11px; top: 19px; opacity: .75; }
body.in-app .rail-brand-symbol i { width: 19px; height: 8px; left: 17px; top: 27px; opacity: .48; }
body.in-app .rail-brand-symbol b {
  position: relative;
  z-index: 2;
  margin-left: 4px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -.06em;
}

body.in-app .app-nav {
  min-height: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  overflow: auto;
  scrollbar-width: none;
}
body.in-app .app-nav::-webkit-scrollbar { display: none; }
body.in-app .app-nav button {
  position: relative;
  width: 90px;
  min-height: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 4px;
  border: 0;
  border-radius: 0;
  color: #f3f4f8;
  background: transparent;
  font: inherit;
  text-align: center;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
body.in-app .app-nav button:hover { color: #fff; background: rgba(255,255,255,.045); }
body.in-app .app-nav button.active {
  color: #fff;
  background: var(--v10-rail-active);
  box-shadow: none;
}
body.in-app .app-nav button.active::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--v10-accent);
}
body.in-app .app-nav button > .nav-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: currentColor;
}
body.in-app .app-nav button > .nav-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.in-app .app-nav button > .nav-label {
  width: 100%;
  display: block;
  overflow: visible;
  color: inherit;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
  white-space: normal;
}
body.in-app .app-nav button.nav-beta em {
  position: absolute;
  right: 0;
  top: 50%;
  padding: 5px 3px;
  color: #fff;
  background: var(--v10-accent);
  font-size: 7px;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .03em;
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);
}

body.in-app .rail-footer {
  margin-top: auto;
  padding: 10px 0 12px;
  border-top: 1px solid rgba(255,255,255,.06);
}
body.in-app .rail-footer button {
  width: 90px;
  min-height: 55px;
  display: grid;
  place-items: center;
  gap: 2px;
  border: 0;
  color: #fff;
  background: transparent;
  cursor: pointer;
}
body.in-app .rail-footer button > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255,255,255,.8);
  border-radius: 50%;
  font-size: 16px;
  font-weight: 800;
}
body.in-app .rail-footer button > small { font-size: 9px; opacity: .72; }

body.in-app .app-main {
  min-width: 0;
  display: grid;
  grid-template-rows: var(--v10-topbar) minmax(0, 1fr);
  background: var(--v10-page);
}
body.in-app .app-topbar {
  position: relative;
  z-index: 30;
  height: var(--v10-topbar);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px 0 12px;
  border: 0;
  border-bottom: 1px solid #dfe2e8;
  background: #fff;
  backdrop-filter: none;
}
body.in-app .topbar-context {
  min-width: 120px;
  display: block;
}
body.in-app .topbar-context > span { display: none; }
body.in-app .topbar-context > strong {
  color: #171b24;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
}
body.in-app .service-switcher-wrap {
  width: auto;
  min-width: 180px;
  min-height: 32px;
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  align-items: center;
  gap: 7px;
  padding: 0 9px;
  border: 1px solid #e2e5e9;
  border-radius: 4px;
  background: #fafbfc;
}
body.in-app .service-switcher-wrap label {
  color: #949aa5;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .04em;
}
body.in-app .service-switcher-wrap select {
  min-width: 0;
  max-width: 210px;
  margin: 0;
  padding: 0 18px 0 0;
  border: 0;
  color: #3b4048;
  background: transparent;
  font-size: 10px;
  font-weight: 650;
  outline: 0;
}
body.in-app .topbar-partner {
  height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 11px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background: linear-gradient(90deg,#76507f,#6c7cb8);
  font: inherit;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}
body.in-app .topbar-partner span { font-size: 12px; }
body.in-app .topbar-tool-button {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #e3e6ea;
  border-radius: 50%;
  color: #767d88;
  background: #fff;
}
body.in-app .topbar-tool-button svg { width: 15px; height: 15px; }
body.in-app .topbar-tool-button > span,
body.in-app .topbar-tool-button > kbd { display: none; }
body.in-app .topbar-balance {
  min-width: auto;
  height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border: 0;
  border-radius: 4px;
  color: #161616;
  background: #ffd84d;
  cursor: pointer;
}
body.in-app .topbar-balance b { font-size: 11px; font-weight: 800; white-space: nowrap; }
body.in-app .topbar-balance span { font: inherit; }
body.in-app .notification-button {
  width: 32px;
  height: 32px;
  border: 0;
  color: #69717c;
  background: transparent;
}
body.in-app .account-menu-button {
  min-width: 34px;
  width: 34px;
  height: 34px;
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #dcecae;
}
body.in-app .account-menu-button > span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #344127;
  background: #dcecae;
}
body.in-app .account-menu-button > div,
body.in-app .account-menu-button > svg { display: none; }
body.in-app .topbar-mode-pill { display: none; }
body.in-app .topbar-create { display: none !important; }

body.in-app .app-content {
  min-height: 0;
  overflow: auto;
  padding: 0 24px 72px;
  background: var(--v10-page);
}
body.in-app .app-content > * { width: min(1120px, 100%); margin-left: auto; margin-right: auto; }

/* Primary hosting hubs */
.hosting-hub {
  width: min(1060px, 100%) !important;
  padding-top: 38px;
}
.hosting-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 34px;
  margin: 0 12px 30px;
}
.hosting-action {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  color: #151923;
  background: transparent;
  font: inherit;
  cursor: pointer;
}
.hosting-action > span {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 50%;
  color: #fff;
  background: #cf7d32;
  font-size: 17px;
  font-weight: 700;
}
.hosting-action:nth-child(2) > span { background: #6b4dcc; }
.hosting-action:nth-child(3) > span { background: #dd9553; }
.hosting-action > b { font-size: 14px; font-weight: 650; }
.hosting-action:hover > b { text-decoration: underline; text-underline-offset: 3px; }

.hosting-tile-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-flow: dense;
  grid-auto-rows: 180px;
  gap: 22px;
}
.hosting-tile {
  position: relative;
  min-width: 0;
  min-height: 0;
  display: block;
  padding: 18px 16px;
  overflow: hidden;
  border: 0;
  border-radius: 4px;
  color: #161b27;
  background: #f5edcf;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform .14s ease, box-shadow .14s ease, filter .14s ease;
}
.hosting-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(34,42,58,.10);
  filter: saturate(1.03);
}
.hosting-tile:focus-visible { outline: 3px solid rgba(79,111,200,.25); outline-offset: 2px; }
.hosting-tile.size-wide { grid-column: span 2; }
.hosting-tile.size-large { grid-column: span 3; }
.hosting-tile-copy { position: relative; z-index: 2; display: grid; align-content: start; gap: 7px; }
.hosting-tile-copy > b {
  color: #171b25;
  font-size: 16px;
  font-weight: 760;
  line-height: 1.12;
  letter-spacing: -.02em;
}
.hosting-tile.size-wide .hosting-tile-copy > b,
.hosting-tile.size-large .hosting-tile-copy > b { font-size: 21px; }
.hosting-tile-copy > small {
  max-width: 95%;
  color: #40495a;
  font-size: 12px;
  font-weight: 450;
  line-height: 1.42;
}
.hosting-tile-copy > i {
  color: #596274;
  font-size: 10px;
  font-style: normal;
  line-height: 1.35;
}
.hosting-tile-badge {
  position: absolute;
  z-index: 3;
  top: 14px;
  right: 14px;
  padding: 4px 8px;
  border-radius: 3px;
  color: #29320f;
  background: #c8ff3d;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
}
.hosting-tile-art { position: absolute; inset: auto 0 0 auto; width: 54%; height: 60%; opacity: .55; pointer-events: none; }
.hosting-tile.tone-sand { background: #f6edcf; }
.hosting-tile.tone-green { background: #dcf4cd; }
.hosting-tile.tone-lime { background: linear-gradient(115deg,#eff9cb,#e6f6a9); }
.hosting-tile.tone-lilac { background: #dddff1; }
.hosting-tile.tone-blue-soft { background: #d8e4f7; }
.hosting-tile.tone-telegram { color: #fff; background: linear-gradient(115deg,#45a8e7,#778eb9); }
.hosting-tile.tone-telegram .hosting-tile-copy > b,
.hosting-tile.tone-telegram .hosting-tile-copy > small,
.hosting-tile.tone-telegram .hosting-tile-copy > i { color: #fff; }
.art-orbit {
  position: absolute;
  right: 12px;
  bottom: -12px;
  width: 72px;
  height: 72px;
  border: 14px solid rgba(226,123,99,.45);
  border-left-color: transparent;
  border-radius: 50%;
  transform: rotate(-28deg);
}
.art-plane {
  position: absolute;
  right: 26px;
  bottom: 22px;
  width: 0;
  height: 0;
  border-top: 22px solid transparent;
  border-bottom: 22px solid transparent;
  border-left: 70px solid rgba(255,255,255,.92);
  transform: rotate(-18deg);
}
.art-plane::after {
  content: '';
  position: absolute;
  left: -70px;
  top: -4px;
  width: 78px;
  height: 38px;
  border-radius: 50%;
  background: rgba(62,156,222,.32);
  transform: translate(-24px,24px);
}

.hosting-beta-note {
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  padding: 12px 14px;
  border: 1px solid #e5daf6;
  border-radius: 5px;
  background: #f8f4ff;
}
.hosting-beta-note > span { padding: 5px 8px; border-radius: 4px; color: #fff; background: #7458bd; font-size: 10px; font-weight: 800; }
.hosting-beta-note > div { display: grid; gap: 2px; }
.hosting-beta-note b { font-size: 12px; }
.hosting-beta-note small { color: #73798a; font-size: 10px; }

.hosting-empty-hub { padding-top: 70px; }
.hosting-empty-card {
  min-height: 220px;
  display: grid;
  grid-template-columns: 70px minmax(0,1fr) auto;
  align-items: center;
  gap: 22px;
  padding: 34px;
  border: 1px solid var(--v10-line);
  border-radius: 5px;
  background: #fff;
}
.hosting-empty-card > span { width: 68px; height: 68px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--v10-blue); font-weight: 800; }
.hosting-empty-card h1 { margin: 0 0 7px; font-size: 24px; }
.hosting-empty-card p { max-width: 620px; margin: 0; color: #697386; line-height: 1.55; }

/* Detailed pages remain available behind the simple hubs */
body.in-app .page-head { margin: 30px 0 20px; }
body.in-app .page-head > div > small { display: none; }
body.in-app .page-head h1 { margin: 0 0 5px; color: #1d2330; font-size: 25px; font-weight: 650; letter-spacing: -.025em; }
body.in-app .page-head p { color: #747c8c; font-size: 12px; }
body.in-app .page-actions { display: flex; gap: 8px; }
body.in-app .panel,
body.in-app .kpi-card,
body.in-app .resource-card,
body.in-app .entity-card,
body.in-app .billing-card,
body.in-app .server-card { border-color: #e4e7eb; border-radius: 5px; box-shadow: none; }

/* Sprint-like file manager */
.file-hub-page { width: min(1000px,100%) !important; }
.file-promo {
  min-height: 49px;
  display: grid;
  grid-template-columns: 28px minmax(0,1fr) auto;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 9px 14px;
  border-radius: 5px;
  color: #4e3e21;
  background: #ffe1a9;
}
.file-promo > span { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #df8d26; font-size: 11px; font-weight: 800; }
.file-promo > div { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 5px; }
.file-promo b { font-size: 12px; }
.file-promo small { font-size: 11px; }
.file-promo button { padding: 0; border: 0; color: #4f67bd; background: transparent; font: inherit; font-size: 11px; font-weight: 700; cursor: pointer; }
.sprint-file-panel {
  min-height: 590px;
  padding: 16px;
  border: 1px solid #eceef1;
  background: #fff;
  box-shadow: 0 8px 28px rgba(33,42,55,.05);
}
.sprint-file-head { min-height: 43px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.sprint-file-path { min-width: 0; display: flex; align-items: center; gap: 4px; color: #222934; font-size: 12px; font-weight: 700; }
.sprint-file-path .breadcrumb-button { color: #222934; }
.sprint-file-head > label { width: min(360px,45%); display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 8px; }
.sprint-file-head > label > span { color: #757d89; font-size: 9px; }
.sprint-file-head select { width: 100%; height: 32px; padding: 0 28px 0 10px; border: 1px solid #e2e5e9; color: #4c5360; background: #fff; font-size: 10px; }
.sprint-file-toolbar { display: flex; flex-wrap: wrap; gap: 6px; margin: 9px 0 13px; }
.sprint-file-toolbar button {
  width: 31px;
  height: 28px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 3px;
  color: #fff;
  font: inherit;
  cursor: pointer;
}
.sprint-file-toolbar button span { font-size: 11px; font-weight: 800; }
.sprint-file-toolbar .tool-blue { background: #87b8e5; }
.sprint-file-toolbar .tool-red { background: #ef9d9d; }
.sprint-file-toolbar .tool-green { background: #62bea9; }
.sprint-file-toolbar button:hover { filter: brightness(.95); }
.sprint-file-table-wrap { overflow: auto; border: 1px solid #eceef0; }
.sprint-file-table { width: 100%; border-collapse: collapse; color: #4e5662; font-size: 10px; }
.sprint-file-table th { height: 36px; padding: 0 10px; border-right: 1px solid #eef0f2; color: #343b45; background: #f5f6f7; font-size: 9px; font-weight: 750; text-align: left; text-transform: uppercase; letter-spacing: .02em; }
.sprint-file-table td { height: 40px; padding: 0 10px; border-top: 1px solid #eceef1; border-right: 1px solid #f0f1f3; background: #fff; white-space: nowrap; }
.sprint-file-table tr:hover td { background: #fbfcfd; }
.sprint-file-table .file-check { width: 34px; text-align: center; }
.sprint-file-table input[type="checkbox"] { width: 17px; height: 17px; accent-color: #5f82c8; }
.sprint-file-link { min-width: 0; display: inline-flex; align-items: center; gap: 7px; padding: 0; border: 0; color: #5d84c3; background: transparent; font: inherit; cursor: pointer; }
.sprint-file-link b { font-size: 10px; font-weight: 550; }
.sprint-file-icon { width: 18px; color: #e0ae45; font-size: 13px; }
.sprint-file-icon.file { color: #7b9bc8; }
.permission-link { padding: 0; border: 0; color: #5d84c3; background: transparent; font: inherit; font-size: 10px; cursor: pointer; }
.sprint-file-empty { min-height: 520px; display: grid; place-items: center; align-content: center; gap: 10px; text-align: center; }
.sprint-file-empty > span { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #6e80b8; font-weight: 800; }
.sprint-file-empty h2 { margin: 3px 0 0; font-size: 20px; }
.sprint-file-empty p { max-width: 560px; margin: 0; color: #747d8b; }

.feature-info-box { display: grid; grid-template-columns: 38px minmax(0,1fr); align-items: start; gap: 12px; padding: 16px; border: 1px solid #e2e7f1; border-radius: 6px; background: #f8faff; }
.feature-info-box > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #5d7fc7; font-weight: 800; }
.feature-info-box > div { display: grid; gap: 5px; }
.feature-info-box b { font-size: 12px; }
.feature-info-box p { margin: 0; color: #687286; font-size: 11px; line-height: 1.55; }

/* Floating help like a classic hosting control panel */
body.in-app .support-widget { right: 22px; bottom: 18px; }
body.in-app .support-widget-button {
  min-width: 46px;
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 50%;
  background: #1d1e27;
  box-shadow: 0 9px 24px rgba(26,28,37,.24);
}
body.in-app .support-widget-button > span { width: auto; height: auto; color: #fff; background: transparent; font-size: 24px; }
body.in-app .support-widget-button > b { display: none; }

/* Account popover alignment for compact topbar */
body.in-app .account-popover { top: 58px; right: 14px; }

@media (max-width: 1180px) {
  .hosting-tile-grid { grid-template-columns: repeat(4,minmax(0,1fr)); grid-auto-rows: 170px; }
  .hosting-tile.size-wide { grid-column: span 2; }
  .hosting-tile.size-large { grid-column: span 2; }
  body.in-app .service-switcher-wrap { min-width: 150px; }
}

@media (max-width: 900px) {
  body.in-app .service-switcher-wrap { display: none; }
  body.in-app .topbar-partner { display: none; }
  body.in-app .app-content { padding-inline: 16px; }
  .hosting-hub { padding-top: 26px; }
}

@media (max-width: 760px) {
  body.in-app .app-shell { display: block; }
  body.in-app .app-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 268px;
    min-width: 268px;
    transform: translateX(-100%);
    transition: transform .2s ease;
    box-shadow: 16px 0 42px rgba(12,14,21,.24);
  }
  body.in-app .app-sidebar.open { transform: translateX(0); }
  body.in-app .sidebar-brandbar { height: 72px; justify-items: start; padding-left: 16px; }
  body.in-app .rail-brand { width: 58px; height: 58px; }
  body.in-app .app-nav button {
    width: 268px;
    min-height: 54px;
    flex-direction: row;
    justify-content: flex-start;
    gap: 13px;
    padding: 0 19px;
  }
  body.in-app .app-nav button > .nav-label { width: auto; font-size: 12px; text-align: left; }
  body.in-app .app-nav button.nav-beta em { right: 14px; writing-mode: horizontal-tb; transform: translateY(-50%); }
  body.in-app .rail-footer button { width: 268px; grid-template-columns: 30px auto; justify-content: start; gap: 12px; padding: 0 19px; }
  body.in-app .rail-footer button > small { font-size: 11px; }
  body.in-app .app-main { grid-template-rows: 56px minmax(0,1fr); }
  body.in-app .app-topbar { height: 56px; padding: 0 10px; }
  body.in-app .mobile-only { display: inline-grid; }
  body.in-app .topbar-context { min-width: 0; }
  body.in-app .topbar-context > strong { font-size: 13px; }
  body.in-app .topbar-tool-button { display: none; }
  body.in-app .topbar-balance { height: 30px; padding-inline: 8px; }
  body.in-app .topbar-balance b { font-size: 9px; }
  body.in-app .notification-button { display: none; }
  body.in-app .app-content { padding: 0 10px 70px; }
  .hosting-actions { gap: 15px 22px; margin: 0 5px 22px; }
  .hosting-action > b { font-size: 12px; }
  .hosting-tile-grid { grid-template-columns: repeat(2,minmax(0,1fr)); grid-auto-rows: 150px; gap: 10px; }
  .hosting-tile { padding: 14px 13px; }
  .hosting-tile.size-wide,
  .hosting-tile.size-large { grid-column: span 2; }
  .hosting-tile-copy > b { font-size: 14px; }
  .hosting-tile.size-wide .hosting-tile-copy > b,
  .hosting-tile.size-large .hosting-tile-copy > b { font-size: 18px; }
  .hosting-tile-copy > small { font-size: 10px; }
  .hosting-tile-copy > i { font-size: 9px; }
  .file-promo { grid-template-columns: 24px minmax(0,1fr); }
  .file-promo > button { grid-column: 2; justify-self: start; }
  .file-promo > div { display: grid; }
  .sprint-file-panel { padding: 10px; }
  .sprint-file-head { align-items: stretch; flex-direction: column; }
  .sprint-file-head > label { width: 100%; }
  .sprint-file-table-wrap { max-width: 100%; }
  .sprint-file-table { min-width: 720px; }
  .hosting-empty-card { grid-template-columns: 1fr; justify-items: start; }
}

@media (max-width: 440px) {
  body.in-app .topbar-balance b { font-size: 0; }
  body.in-app .topbar-balance b::before { content: 'Баланс'; font-size: 9px; }
  body.in-app .topbar-balance span { display: none; }
  .hosting-actions { align-items: flex-start; flex-direction: column; gap: 11px; }
  .hosting-tile-grid { grid-template-columns: 1fr; grid-auto-rows: 142px; }
  .hosting-tile.size-wide,
  .hosting-tile.size-large { grid-column: span 1; }
  .hosting-tile.size-wide .hosting-tile-copy > b,
  .hosting-tile.size-large .hosting-tile-copy > b { font-size: 17px; }
  .hosting-beta-note { grid-template-columns: 1fr; }
}

/* ========================================================================== */
/* LYNQ Hosting v0.11.0 — typography and layout refinement                    */
/* ========================================================================== */
:root {
  --font-sans: Inter, "Segoe UI Variable Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Inter Display", Inter, "Segoe UI Variable Display", "Segoe UI", Arial, sans-serif;
}
body {
  font-family: var(--font-sans);
  font-optical-sizing: auto;
  font-kerning: normal;
  font-synthesis: none;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "cv02" 1, "cv03" 1, "cv04" 1;
  letter-spacing: -.006em;
}
button,input,select,textarea { font-family: inherit; }
.site-shell h1,.site-shell h2,.site-shell h3 { font-family: var(--font-display); }
.hero-copy h1 { font-weight: 720; letter-spacing: -.052em; }
.hero-lead { max-width: 660px; font-size: clamp(17px,1.35vw,20px); line-height: 1.58; }
.section-heading h2,.control-copy h2,.migration-copy h2,.support-card h2 { font-weight: 690; letter-spacing: -.042em; }
.feature-card h3,.steps-grid h3 { font-weight: 680; letter-spacing: -.024em; }

body.in-app {
  --v11-rail: 92px;
  --v11-sidebar: #171821;
  --v11-sidebar-hover: #20222c;
  --v11-sidebar-active: #282a35;
  --v11-accent: #ff5f35;
  --v11-page: #fff;
  --v11-page-soft: #f7f8fa;
  --v11-line: #e4e7ec;
  --v11-line-strong: #d5dae2;
  --v11-text: #171a22;
  --v11-muted: #69717e;
  --v11-faint: #9299a4;
  --v11-focus: rgba(65,99,184,.18);
  color: var(--v11-text);
  background: var(--v11-page);
  font-size: 14px;
  line-height: 1.48;
}
body.in-app .app-shell { grid-template-columns: var(--v11-rail) minmax(0,1fr); background: var(--v11-page); }
body.in-app .app-sidebar { width: var(--v11-rail); min-width: var(--v11-rail); overflow: hidden; background: var(--v11-sidebar); }
body.in-app .sidebar-brandbar { height: 94px; background: #14151c; border-bottom: 1px solid rgba(255,255,255,.04); }
body.in-app .rail-brand { width: 68px; height: 68px; padding: 0; overflow: visible; border-radius: 14px; background: transparent; transform: none; }
body.in-app .rail-brand-symbol {
  position: relative; width: 48px; height: 48px; display: grid; place-items: center; overflow: hidden;
  border-radius: 14px; color: #fff; background: linear-gradient(145deg,#ff7149,#f04c26);
  box-shadow: 0 10px 24px rgba(239,76,37,.25), inset 0 1px 0 rgba(255,255,255,.25); transform: none;
}
body.in-app .rail-brand-symbol::before,body.in-app .rail-brand-symbol::after,body.in-app .rail-brand-symbol i { display: none !important; }
body.in-app .rail-brand-symbol b { position: static; z-index: 1; margin: 0; color: #fff; font-family: var(--font-display); font-size: 14px; font-weight: 780; letter-spacing: -.07em; transform: none; }
body.in-app .rail-brand:focus-visible { outline: 3px solid rgba(255,95,53,.34); outline-offset: 2px; }
body.in-app .app-nav { padding: 0; overflow-x: hidden; }
body.in-app .app-nav button { width: var(--v11-rail); min-height: 72px; gap: 6px; padding: 9px 5px 8px; color: #e8eaf0; background: transparent; border-radius: 0; transition: background .16s ease,color .16s ease; }
body.in-app .app-nav button::before { width: 4px; border-radius: 0 3px 3px 0; background: var(--v11-accent); }
body.in-app .app-nav button:hover { color: #fff; background: var(--v11-sidebar-hover); }
body.in-app .app-nav button.active { color: #fff; background: var(--v11-sidebar-active); }
body.in-app .app-nav .nav-icon { width: 28px; height: 28px; color: currentColor; }
body.in-app .app-nav .nav-icon svg { width: 23px; height: 23px; stroke-width: 1.65; }
body.in-app .app-nav button > .nav-label { width: 84px; color: currentColor; font-size: 11px; font-weight: 520; line-height: 1.18; letter-spacing: -.012em; }
body.in-app .app-nav button.nav-beta em { right: 0; padding: 4px 3px; border-radius: 2px 0 0 2px; background: var(--v11-accent); font-size: 8px; font-weight: 720; }
body.in-app .rail-footer { display: none; }
body.in-app .app-main { grid-template-rows: 56px minmax(0,1fr); background: var(--v11-page); }
body.in-app .app-topbar { height: 56px; gap: 12px; padding: 0 20px 0 12px; border-bottom: 1px solid var(--v11-line); background: rgba(255,255,255,.98); backdrop-filter: blur(14px); }
body.in-app .topbar-context { min-width: 130px; display: flex; align-items: center; }
body.in-app .topbar-context > span { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
body.in-app .topbar-context > strong { color: #242832; font-size: 15px; font-weight: 600; line-height: 1; letter-spacing: -.018em; }
body.in-app .service-switcher-wrap { min-width: 190px; height: 34px; display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 8px; margin-left: 8px; padding: 0 10px; border: 1px solid var(--v11-line); border-radius: 6px; background: #fafbfc; }
body.in-app .service-switcher-wrap label { color: var(--v11-faint); font-size: 9px; font-weight: 700; letter-spacing: .055em; text-transform: uppercase; }
body.in-app .service-switcher-wrap select { height: 31px; padding: 0 22px 0 0; border: 0; color: #404651; background-color: transparent; font-size: 11px; font-weight: 600; }
body.in-app .service-switcher-wrap.single-service { min-width: 0; max-width: 260px; grid-template-columns: minmax(0,1fr); padding-inline: 10px; background: transparent; border-color: transparent; }
body.in-app .service-switcher-wrap.single-service label { display: none; }
body.in-app .service-switcher-wrap.single-service select { max-width: 240px; color: #8a919c; pointer-events: none; appearance: none; font-weight: 500; }
body.in-app .topbar-partner { display: none; }
body.in-app .topbar-tool-button { width: 34px; height: 34px; border-color: var(--v11-line); color: #737b87; background: #fff; }
body.in-app .topbar-tool-button:hover { color: #323842; border-color: #cfd4dc; background: #fafbfc; }
body.in-app .topbar-tool-button svg { width: 16px; height: 16px; stroke-width: 1.8; }
body.in-app .topbar-balance { height: 34px; padding: 0 12px; border: 1px solid #efc834; border-radius: 5px; background: #ffda4f; box-shadow: inset 0 1px 0 rgba(255,255,255,.38); }
body.in-app .topbar-balance:hover { background: #ffd439; }
body.in-app .topbar-balance b { font-size: 11px; font-weight: 720; letter-spacing: -.01em; }
body.in-app .notification-button { width: 34px; height: 34px; color: #707884; border-radius: 50%; }
body.in-app .notification-button:hover { color: #303640; background: #f3f5f7; }
body.in-app .account-menu-button { width: 36px; height: 36px; border: 1px solid #cfdfa2; background: #ddecaf; }
body.in-app .account-menu-button > span { width: 32px; height: 32px; color: #314022; background: transparent; font-size: 12px; font-weight: 720; }
body.in-app .account-popover { top: 64px; right: 18px; border-radius: 8px; }
body.in-app .app-content { padding: 0 28px 74px; background: var(--v11-page); }
body.in-app .app-content > * { width: min(1080px,100%); }
.hosting-hub { width: min(1040px,100%) !important; padding-top: 40px; }
.hosting-actions { gap: 36px; margin: 0 12px 30px; }
.hosting-action { min-height: 40px; gap: 11px; color: #232731; }
.hosting-action > span { width: 32px; height: 32px; border-radius: 50%; background: #da7c30; font-family: var(--font-display); font-size: 17px; font-weight: 650; box-shadow: 0 3px 8px rgba(186,101,31,.15); }
.hosting-action:nth-child(2) > span { background: #6f50cc; }
.hosting-action:nth-child(3) > span { background: #df9655; }
.hosting-action > b { font-size: 15px; font-weight: 590; letter-spacing: -.018em; }
.hosting-action:hover > b { color: #11151c; text-decoration-thickness: 1px; }
.hosting-tile-grid { grid-auto-rows: 180px; gap: 20px; }
.hosting-tile { padding: 20px 18px; border: 1px solid rgba(77,84,98,.055); border-radius: 5px; box-shadow: none; transition: transform .15s ease,box-shadow .15s ease,border-color .15s ease; }
.hosting-tile:hover { transform: translateY(-2px); border-color: rgba(56,64,78,.12); box-shadow: 0 12px 28px rgba(35,42,55,.09); filter: none; }
.hosting-tile:active { transform: translateY(0); }
.hosting-tile-copy { gap: 8px; }
.hosting-tile-copy > b { max-width: 96%; color: #171b24; font-family: var(--font-display); font-size: 17px; font-weight: 680; line-height: 1.13; letter-spacing: -.035em; text-wrap: balance; }
.hosting-tile.size-wide .hosting-tile-copy > b,.hosting-tile.size-large .hosting-tile-copy > b { font-size: 22px; font-weight: 690; line-height: 1.12; }
.hosting-tile-copy > small { max-width: 96%; color: #48515f; font-size: 13px; font-weight: 430; line-height: 1.42; letter-spacing: -.008em; }
.hosting-tile-copy > i { color: #6e7683; font-size: 11px; font-weight: 450; line-height: 1.35; }
.hosting-tile-badge { top: 14px; right: 14px; padding: 5px 8px; border-radius: 4px; background: #c7f83d; font-size: 9px; font-weight: 750; }
.hosting-tile.tone-sand { background: #f7efcf; }
.hosting-tile.tone-green { background: #def4d2; }
.hosting-tile.tone-lime { background: linear-gradient(118deg,#eff8cc,#e7f5ad); }
.hosting-tile.tone-lilac { background: #e0e2f2; }
.hosting-tile.tone-blue-soft { background: #dce8f8; }
body.in-app .page-head { margin: 38px 0 22px; }
body.in-app .page-head h1 { margin-bottom: 6px; color: #222731; font-family: var(--font-display); font-size: 27px; font-weight: 670; letter-spacing: -.04em; }
body.in-app .page-head p { color: #737b88; font-size: 13px; line-height: 1.5; }
body.in-app .panel,body.in-app .kpi-card,body.in-app .resource-card,body.in-app .entity-card,body.in-app .billing-card,body.in-app .server-card { border-color: var(--v11-line); border-radius: 7px; }
body.in-app .panel-head h2 { font-family: var(--font-display); font-weight: 650; letter-spacing: -.026em; }
body.in-app .button { border-radius: 7px; font-weight: 620; }
body.in-app .button-primary,body.in-app .button-dark { background: #242832; border-color: #242832; }
body.in-app .button-primary:hover:not(:disabled),body.in-app .button-dark:hover:not(:disabled) { background: #11141a; border-color: #11141a; }
.file-hub-page { width: min(1030px,100%) !important; }
.file-promo { min-height: 52px; margin-bottom: 22px; padding: 10px 15px; border-radius: 6px; background: #ffe1a7; }
.file-promo > span { width: 27px; height: 27px; font-size: 12px; }
.file-promo > div { gap: 7px; }
.file-promo b { font-size: 13px; font-weight: 650; }
.file-promo small { color: #6d5a36; font-size: 12px; }
.file-promo button { font-size: 12px; }
.sprint-file-panel { min-height: 610px; padding: 16px; border-color: var(--v11-line); border-radius: 6px; box-shadow: 0 8px 28px rgba(33,42,55,.045); }
.sprint-file-head { min-height: 46px; }
.sprint-file-path { font-size: 13px; font-weight: 650; }
.sprint-file-head > label > span { font-size: 10px; }
.sprint-file-head select { height: 34px; font-size: 11px; border-radius: 4px; }
.sprint-file-toolbar { gap: 6px; margin: 10px 0 14px; }
.sprint-file-toolbar button { width: 33px; height: 30px; border-radius: 4px; }
.sprint-file-toolbar button span { font-size: 12px; }
.sprint-file-table { font-size: 12px; }
.sprint-file-table th { height: 39px; padding: 0 11px; color: #3d434d; background: #f4f5f7; font-size: 10px; font-weight: 680; letter-spacing: .025em; }
.sprint-file-table td { height: 44px; padding: 0 11px; }
.sprint-file-table input[type="checkbox"] { width: 18px; height: 18px; }
.sprint-file-link b { font-size: 12px; font-weight: 500; }
.sprint-file-icon { width: 19px; font-size: 14px; }
.permission-link { font-size: 11px; }
body.in-app .modal { padding: 22px; }
body.in-app .action-dialog,body.in-app .action-dialog.wide { width: min(620px,calc(100vw - 44px)); max-height: calc(100vh - 44px); border-color: var(--v11-line-strong); border-radius: 9px; box-shadow: 0 28px 78px rgba(27,31,40,.22); }
body.in-app .action-dialog .modal-close { top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 6px; color: #737b86; background: #f1f3f5; }
.sprint-form-header { min-height: 98px; grid-template-columns: 42px minmax(0,1fr); gap: 14px; padding: 20px 56px 18px 22px; background: #fff; }
.sprint-form-icon { width: 42px; height: 42px; border-radius: 7px; color: #495f9e; background: #edf1fb; font-size: 11px; }
.sprint-form-header .modal-eyebrow { color: #989faa; font-size: 9px; font-weight: 700; letter-spacing: .075em; }
.sprint-form-header h2 { margin-top: 3px; color: #242933; font-family: var(--font-display); font-size: 23px; font-weight: 670; letter-spacing: -.038em; }
.sprint-form-header .modal-description { margin-top: 6px; color: #727b88; font-size: 12.5px; line-height: 1.5; }
.form-context { margin-top: 9px; font-size: 10px; }
.sprint-form-fields { padding: 22px 24px 24px; }
.sprint-form-aside { margin: 0 24px 22px; border-radius: 6px; }
.sprint-form-aside > summary { min-height: 44px; font-size: 11px; }
.sprint-form-aside .form-help-card > b { font-size: 12px; }
.sprint-form-aside .form-help-card p,.sprint-form-aside .form-help-card li,.sprint-form-aside .form-help-card dd { font-size: 11px; }
body.in-app .form-stack { gap: 17px; }
.sprint-field { gap: 7px !important; font-size: 13px !important; font-weight: 590 !important; }
.field-caption { color: #3a404a; font-size: 13px; }
body.in-app .sprint-field input,body.in-app .sprint-field select,body.in-app .sprint-field textarea { min-height: 46px; padding-inline: 13px; border-color: #ccd2da; border-radius: 6px; color: #252a33; font-size: 14px; }
body.in-app .sprint-field input:focus,body.in-app .sprint-field select:focus,body.in-app .sprint-field textarea:focus { border-color: #6d83c8; box-shadow: 0 0 0 3px var(--v11-focus); }
.field-hint { color: #7d8591 !important; font-size: 11px !important; line-height: 1.45; }
.password-control { min-height: 46px; }
body.in-app .form-actions { min-height: 68px; padding: 12px 20px; background: #fafbfc; }
.form-safe-note small { font-size: 10px; }
.form-action-buttons .button { min-width: 108px; min-height: 40px; }
body.in-app button:focus-visible,body.in-app a:focus-visible,body.in-app select:focus-visible { outline: 3px solid var(--v11-focus); outline-offset: 2px; }
body.in-app .support-widget { right: 24px; bottom: 20px; }
body.in-app .support-widget-button { width: 48px; height: 48px; background: #1d1f28; box-shadow: 0 10px 26px rgba(24,26,34,.24); }
@media (max-width:1180px) { body.in-app .app-content { padding-inline:22px; } .hosting-tile-grid { gap:17px; } .hosting-actions { gap:26px; } }
@media (max-width:900px) { body.in-app .service-switcher-wrap { display:none; } body.in-app .app-content { padding-inline:18px; } .hosting-hub { padding-top:30px; } }
@media (max-width:760px) {
  body.in-app .app-sidebar { width:278px; min-width:278px; }
  body.in-app .sidebar-brandbar { height:70px; justify-items:start; padding-left:15px; }
  body.in-app .rail-brand { width:54px; height:54px; }
  body.in-app .rail-brand-symbol { width:40px; height:40px; border-radius:11px; }
  body.in-app .rail-brand-symbol b { font-size:12px; }
  body.in-app .app-nav button { width:278px; min-height:55px; flex-direction:row; justify-content:flex-start; gap:13px; padding:0 19px; }
  body.in-app .app-nav button > .nav-label { width:auto; font-size:13px; font-weight:540; text-align:left; }
  body.in-app .app-nav button.nav-beta em { right:14px; }
  body.in-app .app-main { grid-template-rows:56px minmax(0,1fr); }
  body.in-app .app-topbar { padding:0 10px; }
  body.in-app .topbar-context > strong { font-size:14px; }
  body.in-app .topbar-balance { height:32px; }
  body.in-app .app-content { padding:0 12px 72px; }
  .hosting-hub { padding-top:24px; }
  .hosting-actions { gap:13px 22px; margin:0 4px 22px; }
  .hosting-action > b { font-size:13px; }
  .hosting-tile-grid { grid-auto-rows:158px; gap:11px; }
  .hosting-tile { padding:16px 14px; }
  .hosting-tile-copy > b { font-size:15px; }
  .hosting-tile.size-wide .hosting-tile-copy > b,.hosting-tile.size-large .hosting-tile-copy > b { font-size:19px; }
  .hosting-tile-copy > small { font-size:11px; }
  .hosting-tile-copy > i { font-size:10px; }
  .file-promo b { font-size:12px; } .file-promo small { font-size:11px; }
  .sprint-file-panel { padding:10px; }
  body.in-app .action-dialog,body.in-app .action-dialog.wide { width:calc(100vw - 20px); max-height:calc(100vh - 20px); }
  .sprint-form-header { grid-template-columns:38px minmax(0,1fr); padding:18px 50px 17px 17px; }
  .sprint-form-icon { width:38px; height:38px; }
  .sprint-form-header h2 { font-size:21px; }
  .sprint-form-fields { padding:18px 17px 20px; }
  .sprint-form-aside { margin:0 17px 17px; }
  body.in-app .form-actions { align-items:stretch; flex-direction:column; padding:12px 16px; }
  .form-action-buttons { width:100%; }
  .form-action-buttons .button { flex:1; }
}
@media (max-width:440px) {
  body.in-app .topbar-balance { min-width:34px; width:34px; padding:0; justify-content:center; }
  body.in-app .topbar-balance b::before { content:'UZS'; font-size:8px; }
  .hosting-actions { align-items:flex-start; flex-direction:column; gap:10px; }
  .hosting-tile-grid { grid-template-columns:1fr; grid-auto-rows:148px; }
  .hosting-tile.size-wide,.hosting-tile.size-large { grid-column:span 1; }
  .hosting-tile.size-wide .hosting-tile-copy > b,.hosting-tile.size-large .hosting-tile-copy > b { font-size:18px; }
  .hosting-tile-copy > small { font-size:11.5px; }
}
/* v0.11.0 brand centering fix: older grid templates must not offset the mark. */
body.in-app .sidebar-brandbar { grid-template-columns: 1fr !important; gap: 0 !important; }
body.in-app .rail-brand { grid-template-columns: 1fr !important; grid-template-rows: 1fr !important; gap: 0 !important; justify-self: center; }

/* v0.11.0 final optical polish */
html {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.in-app { font-variant-numeric: tabular-nums slashed-zero; }
body.in-app .hosting-tile,
body.in-app .hosting-action,
body.in-app .app-nav button { -webkit-tap-highlight-color: transparent; }
body.in-app .hosting-tile { text-align: left; }
body.in-app .hosting-tile-copy > b,
body.in-app .page-head h1,
.sprint-form-header h2 { text-wrap: balance; }
body.in-app .service-switcher-wrap.single-service select { font-size: 12px; letter-spacing: -.012em; }
body.in-app .app-nav button > .nav-label { font-size: 11.25px; }
.sprint-file-table td,
.sprint-file-table th { font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) {
  body.in-app .hosting-tile,
  body.in-app .hosting-action,
  body.in-app .app-nav button { transition: none !important; }
  body.in-app .hosting-tile:hover { transform: none; }
}

/* ========================================================================== */
/* LYNQ Hosting v0.12.0 — transactional control-plane operations             */
/* ========================================================================== */
body.in-app .transactional-summary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}
body.in-app .transactional-summary .kpi-card {
  position: relative;
  min-height: 142px;
  overflow: hidden;
  padding: 18px;
  border: 1px solid #e2e6eb;
  border-radius: 10px;
  background: linear-gradient(180deg, #fff 0%, #fbfcfd 100%);
  box-shadow: 0 1px 2px rgba(25, 33, 45, .03);
}
body.in-app .transactional-summary .kpi-card::after {
  content: '';
  position: absolute;
  right: -24px;
  bottom: -34px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(70, 106, 198, .055);
  pointer-events: none;
}
body.in-app .transactional-summary .kpi-card > span {
  color: #757d89;
  font-size: 10px;
  font-weight: 720;
  letter-spacing: .055em;
  text-transform: uppercase;
}
body.in-app .transactional-summary .kpi-card > strong {
  position: relative;
  z-index: 1;
  margin-top: 13px;
  color: #1a1f28;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.045em;
}
body.in-app .transactional-summary .kpi-card > small {
  position: relative;
  z-index: 1;
  max-width: 90%;
  margin-top: auto;
  color: #68717e;
  font-size: 10.5px;
  line-height: 1.42;
}
body.in-app .transactional-summary .admin-kpi-danger {
  border-color: #f0c9c5;
  background: linear-gradient(180deg, #fff 0%, #fff7f6 100%);
}
body.in-app .transactional-explainer {
  min-height: 132px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 22px;
  padding: 22px 24px;
  border: 1px solid #dce3f2;
  border-radius: 10px;
  background:
    radial-gradient(circle at 92% 20%, rgba(75, 111, 204, .12), transparent 30%),
    linear-gradient(135deg, #f7f9ff 0%, #fff 72%);
}
body.in-app .transactional-explainer > div { max-width: 760px; }
body.in-app .transactional-explainer small {
  color: #536db3;
  font-size: 9px;
  font-weight: 790;
  letter-spacing: .095em;
}
body.in-app .transactional-explainer h3 {
  margin: 7px 0 6px;
  color: #202631;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 680;
  letter-spacing: -.035em;
}
body.in-app .transactional-explainer p {
  margin: 0;
  color: #647080;
  font-size: 12px;
  line-height: 1.58;
}
body.in-app .transactional-health {
  min-width: 126px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0 13px;
  border: 1px solid #b9ddc8;
  border-radius: 999px;
  color: #217047;
  background: #eef9f2;
  font-size: 10px;
  font-weight: 750;
}
body.in-app .transactional-health::before {
  content: '';
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: #28a264;
  box-shadow: 0 0 0 4px rgba(40, 162, 100, .1);
}
body.in-app .transactional-health.danger {
  color: #a4433a;
  border-color: #efc5c1;
  background: #fff4f3;
}
body.in-app .transactional-health.danger::before {
  background: #d65a4e;
  box-shadow: 0 0 0 4px rgba(214, 90, 78, .1);
}
body.in-app .section-subtitle {
  margin: 25px 0 10px;
  color: #313741;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -.025em;
}
body.in-app .admin-command-bar {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 12px;
}
body.in-app .admin-tabs {
  scrollbar-width: thin;
  scrollbar-color: #c8cdd5 transparent;
}
body.in-app .admin-tabs button[data-tab="operations"]::after {
  width: 6px;
  height: 6px;
  margin-left: 7px;
  border-radius: 50%;
  background: #4b68d2;
  content: '';
}
body.in-app .admin-tabs button[data-tab="operations"].active::after { background: currentColor; }
body.in-app .admin-tabs button.active {
  color: #fff;
  background: #242936;
}
body.in-app .admin-tabs button[data-tab="operations"].active {
  background: #3f5ea8;
}
body.in-app .admin-tabs + .admin-command-bar,
body.in-app .admin-tabs + .page-actions { margin-top: 2px; }
body.in-app .transactional-explainer + .section-subtitle { margin-top: 8px; }
body.in-app .transactional-summary + .transactional-explainer { margin-top: 0; }
body.in-app .data-table-wrap { scrollbar-width: thin; scrollbar-color: #cbd0d8 transparent; }
body.in-app .data-table td small { display: block; margin-top: 3px; color: #8a919b; font-size: 9px; }
body.in-app .data-table td:first-child b { font-weight: 650; }

@media (max-width: 1120px) {
  body.in-app .transactional-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  body.in-app .transactional-summary { grid-template-columns: 1fr; }
  body.in-app .transactional-summary .kpi-card { min-height: 126px; }
  body.in-app .transactional-explainer { align-items: flex-start; flex-direction: column; gap: 16px; }
  body.in-app .transactional-health { align-self: flex-start; }
  body.in-app .admin-command-bar { justify-content: stretch; }
  body.in-app .admin-command-bar .button { flex: 1 1 0; padding-inline: 10px; }
}

/* v0.12.0 mobile drawer: the backdrop starts after the navigation panel. */
@media (max-width:980px) {
  body.in-app .app-sidebar { z-index:96; }
  body.in-app.sidebar-open::after {
    inset:0 0 0 min(276px,88vw);
    z-index:94;
    pointer-events:auto;
  }
}
@media (max-width:760px) {
  body.in-app.sidebar-open::after { left:268px; }
}

/* v0.12.0 mobile topbar: keep the page title and profile visually separate. */
@media (max-width: 440px) {
  body.in-app .topbar-balance {
    display: none !important;
  }
  body.in-app .topbar-context {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
  }
  body.in-app .topbar-context > strong {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  body.in-app .account-menu-button {
    flex: 0 0 36px;
    margin-left: auto;
  }
}

/* -------------------------------------------------------------------------- */
/* LYNQ Hosting 1.0.0-rc.6 — production authentication and recovery          */
/* -------------------------------------------------------------------------- */
.auth-form-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 20px;
  margin-top: -5px;
}
.auth-text-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #3558bd;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.auth-text-button:hover { color: #18368e; text-decoration: underline; }
.auth-check {
  grid-template-columns: 20px minmax(0, 1fr) !important;
  align-items: start;
  gap: 10px !important;
  color: #4d5969 !important;
  font-size: 11.5px !important;
  font-weight: 560 !important;
  line-height: 1.48;
}
.auth-check input {
  width: 18px !important;
  height: 18px !important;
  min-height: 0 !important;
  margin: 0;
  padding: 0 !important;
  accent-color: #315fdb;
}
.auth-check a { color: #315fdb; font-weight: 720; text-decoration: none; }
.auth-check a:hover { text-decoration: underline; }
.turnstile-shell {
  min-height: 65px;
  overflow: hidden;
  border: 1px solid #dbe3ef;
  border-radius: 10px;
  background: #f8fafc;
}
.auth-state-card {
  display: grid;
  justify-items: center;
  margin: 18px 0 20px;
  padding: 22px 18px;
  border: 1px solid #dfe6f1;
  border-radius: 14px;
  background: #f7f9fd;
  text-align: center;
}
.auth-state-card.success { border-color: #c8e8d4; background: #f2fbf5; }
.auth-state-card .auth-state-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 13px;
  border-radius: 50%;
  background: #e9efff;
  color: #315fdb;
  font-size: 20px;
  font-weight: 900;
}
.auth-state-card.success .auth-state-icon { background: #daf2e2; color: #17733c; }
.auth-state-card h2 { margin: 0 0 7px; font-size: 24px; }
.auth-state-card p { max-width: 340px; margin: 0; color: #667085; font-size: 12px; line-height: 1.55; }
.auth-dialog .button-quiet { min-height: 42px; }
@media (max-width: 560px) {
  .auth-dialog { width: min(100%, 440px); max-height: calc(100dvh - 20px); padding: 25px 20px 20px; }
  .auth-dialog h2, .modal-heading h2 { font-size: 26px; }
  .auth-check { font-size: 11px !important; }
}

/* -------------------------------------------------------------------------- */
/* LYNQ Hosting 1.0.0-rc.6 — provider reconciliation                         */
/* -------------------------------------------------------------------------- */
body.in-app .admin-command-note {
  max-width: 660px;
  align-self: center;
  margin-right: auto;
  color: #687384;
  font-size: 11px;
  line-height: 1.5;
}
body.in-app .reconciliation-summary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
body.in-app .reconciliation-explainer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 18px;
  border-color: #d9e4f7;
  background: linear-gradient(135deg, #f8fbff 0%, #f3f7ff 100%);
}
body.in-app .reconciliation-explainer > div { max-width: 820px; }
body.in-app .reconciliation-explainer small {
  color: #526fae;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
}
body.in-app .reconciliation-explainer h3 {
  margin: 7px 0 6px;
  color: #222a37;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 680;
  letter-spacing: -.035em;
}
body.in-app .reconciliation-explainer p {
  margin: 0;
  color: #657183;
  font-size: 12px;
  line-height: 1.58;
}
body.in-app .table-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
body.in-app .admin-tabs button[data-tab="reconciliation"]::after {
  width: 6px;
  height: 6px;
  margin-left: 7px;
  border-radius: 50%;
  background: #ed9c35;
  content: '';
}
body.in-app .admin-tabs button[data-tab="reconciliation"].active::after { background: currentColor; }
@media (max-width: 1120px) {
  body.in-app .reconciliation-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  body.in-app .reconciliation-summary { grid-template-columns: 1fr; }
  body.in-app .reconciliation-explainer { align-items: flex-start; flex-direction: column; }
  body.in-app .admin-command-note { max-width: none; order: 2; }
  body.in-app .admin-command-bar:has(.admin-command-note) { align-items: stretch; flex-direction: column; }
  body.in-app .admin-command-bar:has(.admin-command-note) .button { width: 100%; }
}

/* -------------------------------------------------------------------------- */
/* LYNQ Hosting 1.0.0-rc.6 — launch marketing system                         */
/* -------------------------------------------------------------------------- */

:root {
  --launch-ink: #111827;
  --launch-ink-soft: #1f2a44;
  --launch-muted: #64748b;
  --launch-muted-2: #8b97aa;
  --launch-blue: #315efb;
  --launch-blue-dark: #2449d8;
  --launch-blue-soft: #eef3ff;
  --launch-cyan: #62d9c7;
  --launch-green: #20a66a;
  --launch-surface: #ffffff;
  --launch-canvas: #f6f8fc;
  --launch-line: #e3e8f2;
  --launch-shadow: 0 24px 80px rgba(36, 56, 104, .12);
  --launch-shadow-soft: 0 12px 36px rgba(36, 56, 104, .08);
  --launch-radius: 24px;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: #fff;
  background: var(--launch-ink);
  border-radius: 9px;
  transform: translateY(-160%);
  transition: transform .16s ease;
}
.skip-link:focus { transform: translateY(0); }

.launch-site {
  color: var(--launch-ink);
  background: var(--launch-canvas);
  font-family: "Segoe UI Variable Text", "Segoe UI", Inter, Roboto, Arial, sans-serif;
}
.launch-site .brand-mark {
  background: var(--launch-blue);
  color: #fff;
  box-shadow: 0 8px 18px rgba(49, 94, 251, .22);
}
.launch-site .brand-name { color: var(--launch-ink); }
.launch-site .brand-product { color: var(--launch-muted); }

.launch-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: 72px;
  padding: 0 clamp(20px, 5vw, 76px);
  color: var(--launch-ink);
  border-bottom: 1px solid rgba(227, 232, 242, .9);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(18px) saturate(150%);
}
.launch-header .brand { margin-right: clamp(28px, 4vw, 58px); }
.launch-header .brand-product { color: var(--launch-muted); }
.launch-header .site-nav { gap: clamp(18px, 2.2vw, 30px); }
.launch-header .site-nav a {
  color: #526078;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.launch-header .site-nav a:hover { color: var(--launch-blue); }
.launch-header .header-actions { gap: 8px; }
.launch-header .button { min-height: 40px; border-radius: 10px; }
.launch-header .button-quiet {
  color: var(--launch-ink);
  background: transparent;
  border-color: transparent;
}
.launch-header .button-quiet:hover { background: #f1f4fa; border-color: #e5eaf3; }
.launch-header .button-dark { color: #fff; background: var(--launch-ink); border-color: var(--launch-ink); }
.launch-header .button-accent { color: #fff; background: var(--launch-blue); border-color: var(--launch-blue); }
.launch-header .button-accent:hover { background: var(--launch-blue-dark); border-color: var(--launch-blue-dark); }
.launch-header .nav-status-button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  border: 1px solid #dfe8df;
  border-radius: 10px;
  color: #496352;
  background: #f6fbf7;
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
}
.launch-header .nav-status-button span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--launch-green);
  box-shadow: 0 0 0 4px rgba(32, 166, 106, .1);
}
.launch-site .public-menu-button span { background: var(--launch-ink); }

.launch-hero {
  position: relative;
  min-height: 800px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(520px, 1.08fr);
  gap: clamp(50px, 6vw, 104px);
  align-items: center;
  padding: 132px clamp(24px, 6vw, 108px) 74px;
  overflow: hidden;
  background:
    radial-gradient(circle at 91% 18%, rgba(49, 94, 251, .13), transparent 29%),
    radial-gradient(circle at 68% 96%, rgba(98, 217, 199, .11), transparent 27%),
    linear-gradient(180deg, #fff 0%, #f7f9fd 100%);
}
.launch-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .36;
  background-image: radial-gradient(#cad4ea 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, rgba(0,0,0,.4), transparent 52%);
}
.launch-hero-copy,
.launch-hero-product { position: relative; z-index: 2; }
.launch-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--launch-blue);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.launch-kicker span { width: 26px; height: 2px; border-radius: 2px; background: currentColor; }
.launch-hero-copy h1 {
  max-width: 760px;
  margin: 22px 0 24px;
  color: var(--launch-ink);
  font-family: "Segoe UI Variable Display", "Segoe UI", Inter, Arial, sans-serif;
  font-size: clamp(51px, 5.25vw, 86px);
  line-height: .98;
  font-weight: 780;
  letter-spacing: -.064em;
}
.launch-hero-copy h1 em { color: var(--launch-blue); font-style: normal; }
.launch-hero-copy > p {
  max-width: 660px;
  margin: 0;
  color: #5f6d84;
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.65;
}
.launch-hero-actions { display: flex; align-items: center; gap: 11px; margin-top: 32px; }
.launch-site .launch-hero-actions .button-accent,
.launch-site .launch-final-cta .button-accent,
.launch-site .launch-migration-card .button-accent {
  color: #fff;
  background: var(--launch-blue);
  border-color: var(--launch-blue);
  box-shadow: 0 12px 28px rgba(49, 94, 251, .22);
}
.launch-site .launch-hero-actions .button-accent:hover,
.launch-site .launch-final-cta .button-accent:hover,
.launch-site .launch-migration-card .button-accent:hover { background: var(--launch-blue-dark); border-color: var(--launch-blue-dark); }
.launch-site .launch-hero-actions .button-quiet { border-color: #dce3ef; background: rgba(255,255,255,.86); }
.launch-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 11px 22px;
  margin-top: 27px;
  color: #546177;
  font-size: 12px;
  font-weight: 680;
}
.launch-proof-row span { display: inline-flex; align-items: center; gap: 7px; }
.launch-proof-row i {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--launch-green);
  background: #eaf8f1;
  font-size: 10px;
  font-style: normal;
}
.launch-price-note {
  width: fit-content;
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  gap: 0 9px;
  margin-top: 28px;
  padding: 13px 16px;
  border: 1px solid #e0e6f1;
  border-radius: 13px;
  background: rgba(255,255,255,.7);
}
.launch-price-note b { color: var(--launch-ink); font-size: 20px; letter-spacing: -.035em; }
.launch-price-note span { color: var(--launch-muted); font-size: 12px; }
.launch-price-note small { grid-column: 1 / -1; color: #8792a5; font-size: 10px; }

.launch-hero-product { min-width: 0; padding: 28px 0 25px; }
.launch-product-orbit {
  position: absolute;
  border: 1px solid rgba(49,94,251,.12);
  border-radius: 50%;
  pointer-events: none;
}
.orbit-one { width: 560px; height: 560px; top: -60px; left: -20px; }
.orbit-two { width: 380px; height: 380px; right: -40px; bottom: -35px; border-color: rgba(98,217,199,.18); }
.launch-browser {
  position: relative;
  z-index: 3;
  overflow: hidden;
  border: 1px solid rgba(207, 216, 232, .92);
  border-radius: 22px;
  background: #f3f6fb;
  box-shadow: 0 32px 90px rgba(40, 58, 104, .2), 0 2px 0 rgba(255,255,255,.8) inset;
  transform: perspective(1200px) rotateY(-3.2deg) rotateX(1.2deg);
}
.launch-browser-bar {
  height: 43px;
  display: grid;
  grid-template-columns: 100px 1fr 110px;
  align-items: center;
  padding: 0 14px;
  color: #68758a;
  border-bottom: 1px solid #e0e5ee;
  background: #fff;
  font-size: 9px;
}
.launch-browser-bar > div { display: flex; gap: 5px; }
.launch-browser-bar > div i { width: 7px; height: 7px; border-radius: 50%; background: #d2d9e5; }
.launch-browser-bar > span { justify-self: center; min-width: 180px; padding: 5px 14px; text-align: center; border-radius: 7px; background: #f3f5f9; }
.launch-browser-bar > b { justify-self: end; display: flex; align-items: center; gap: 5px; color: #4a765d; font-weight: 700; }
.launch-browser-bar > b i { width: 6px; height: 6px; border-radius: 50%; background: var(--launch-green); }
.launch-panel { min-height: 480px; display: grid; grid-template-columns: 62px 1fr; }
.launch-panel aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 15px 0;
  color: rgba(255,255,255,.58);
  background: #151925;
}
.launch-mini-logo {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-bottom: 7px;
  border-radius: 10px;
  color: #fff;
  background: var(--launch-blue);
  font-size: 10px;
  font-weight: 900;
}
.launch-panel aside > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  font-size: 13px;
}
.launch-panel aside > span.active { color: #fff; background: rgba(98,217,199,.14); box-shadow: inset 2px 0 var(--launch-cyan); }
.launch-panel > section { min-width: 0; padding: 23px; }
.launch-panel-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.launch-panel-top small { display: block; color: #8792a7; font-size: 8px; font-weight: 800; letter-spacing: .13em; }
.launch-panel-top h3 { margin: 2px 0 0; color: #172036; font-size: 20px; letter-spacing: -.035em; }
.launch-panel-top button { padding: 8px 11px; border: 0; border-radius: 8px; color: #fff; background: var(--launch-blue); font-size: 9px; font-weight: 750; }
.launch-panel-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 17px; }
.launch-panel-metrics article { padding: 13px; border: 1px solid #e1e6ef; border-radius: 10px; background: #fff; }
.launch-panel-metrics span,
.launch-panel-metrics small { display: block; color: #8a95a8; font-size: 8px; }
.launch-panel-metrics b { display: block; margin: 7px 0 2px; color: #1d2941; font-size: 15px; letter-spacing: -.025em; }
.launch-panel-tools { display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; margin-top: 9px; }
.launch-panel-tools button { display: grid; grid-template-columns: 31px 1fr; gap: 0 9px; padding: 11px; text-align: left; border: 1px solid #e1e6ef; border-radius: 10px; color: #1d2941; background: #fff; }
.launch-panel-tools button > span { grid-row: span 2; width: 31px; height: 31px; display: grid; place-items: center; border-radius: 8px; color: var(--launch-blue); background: #eef3ff; font-size: 8px; font-weight: 850; }
.launch-panel-tools b { font-size: 10px; }
.launch-panel-tools small { color: #8a95a8; font-size: 7px; }
.launch-panel-site { display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 9px; margin-top: 9px; padding: 11px; border: 1px solid #dce4ef; border-radius: 10px; background: #fff; }
.launch-panel-site > span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; color: var(--launch-blue); background: #edf2ff; font-weight: 850; }
.launch-panel-site b,
.launch-panel-site small { display: block; }
.launch-panel-site b { color: #1d2941; font-size: 10px; }
.launch-panel-site small { color: #8a95a8; font-size: 7px; }
.launch-panel-site em { padding: 4px 7px; border-radius: 999px; color: #297a52; background: #e9f7ef; font-size: 7px; font-style: normal; font-weight: 800; }
.launch-float-card {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 13px;
  border: 1px solid rgba(217, 225, 238, .9);
  border-radius: 13px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--launch-shadow-soft);
  backdrop-filter: blur(14px);
}
.launch-float-card > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; color: var(--launch-blue); background: #eef3ff; font-size: 9px; font-weight: 900; }
.launch-float-card b,
.launch-float-card small { display: block; white-space: nowrap; }
.launch-float-card b { font-size: 10px; }
.launch-float-card small { color: var(--launch-muted); font-size: 8px; }
.float-security { top: 0; right: -10px; }
.float-backup { left: -34px; bottom: 7px; }
.float-backup > span { color: var(--launch-green); background: #eaf8f1; }
.launch-preview-caption { margin: 13px 4px 0; color: #929bad; font-size: 9px; text-align: right; }

.launch-trust-bar {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 74px;
  padding: 0 clamp(24px, 6vw, 108px);
  border-top: 1px solid var(--launch-line);
  border-bottom: 1px solid var(--launch-line);
  background: #fff;
}
.launch-trust-bar > span { color: var(--launch-blue); font-size: 9px; font-weight: 850; letter-spacing: .14em; white-space: nowrap; }
.launch-trust-bar > div { display: flex; flex: 1; align-items: center; justify-content: space-between; gap: 13px; color: #59667b; font-size: 11px; }
.launch-trust-bar i { width: 3px; height: 3px; border-radius: 50%; background: #c5cede; }

.launch-section { width: min(1200px, calc(100% - 48px)); margin: 0 auto; padding: 112px 0; }
.launch-section-heading { max-width: 830px; }
.launch-section-heading > span,
.launch-security-copy > span,
.launch-migration-copy > span,
.launch-final-cta > div > span {
  color: var(--launch-blue);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.launch-section-heading h2,
.launch-security-copy h2,
.launch-migration-copy h2,
.launch-final-cta h2 {
  margin: 14px 0 16px;
  color: var(--launch-ink);
  font-family: "Inter Display", Inter, sans-serif;
  font-size: clamp(38px, 4.4vw, 64px);
  line-height: 1.04;
  font-weight: 760;
  letter-spacing: -.052em;
}
.launch-section-heading > p,
.launch-section-heading.split > p,
.launch-security-copy > p,
.launch-migration-copy > p,
.launch-final-cta p { margin: 0; color: var(--launch-muted); font-size: 16px; line-height: 1.7; }
.launch-section-heading.centered { margin-inline: auto; text-align: center; }
.launch-section-heading.centered > p { max-width: 660px; margin-inline: auto; }
.launch-section-heading.split { max-width: none; display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: end; }
.launch-section-heading.split h2 { max-width: 700px; }
.launch-section-heading.split > p { padding-bottom: 7px; }

.launch-advantages { padding-bottom: 84px; }
.launch-advantage-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; margin-top: 46px; }
.launch-advantage-grid article { position: relative; min-height: 315px; padding: 30px; overflow: hidden; border: 1px solid var(--launch-line); border-radius: 20px; background: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.8) inset; }
.launch-advantage-grid article > span { color: #a7b0c0; font-size: 9px; font-weight: 850; letter-spacing: .12em; }
.launch-advantage-icon { width: 52px; height: 52px; display: grid; place-items: center; margin: 44px 0 26px; border-radius: 15px; color: var(--launch-blue); background: var(--launch-blue-soft); font-size: 20px; font-weight: 800; }
.launch-advantage-grid article:nth-child(2) .launch-advantage-icon { color: #187b67; background: #e8f8f4; }
.launch-advantage-grid article:nth-child(3) .launch-advantage-icon { color: #8d5f0d; background: #fff5d9; }
.launch-advantage-grid h3 { margin: 0 0 10px; font-size: 23px; line-height: 1.15; letter-spacing: -.035em; }
.launch-advantage-grid p { margin: 0; color: var(--launch-muted); line-height: 1.68; }

.launch-platform { padding-top: 84px; }
.launch-module-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 48px; }
.launch-module-grid > article { min-height: 286px; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--launch-line); border-radius: 21px; background: #fff; }
.launch-module-grid > article.module-primary { grid-column: span 2; grid-row: span 2; min-height: 586px; color: #fff; border-color: #17203a; background: linear-gradient(145deg, #111827 0%, #202b48 100%); }
.launch-module-grid > article.module-backup { grid-column: span 2; display: grid; grid-template-columns: 1fr 190px; gap: 28px; align-items: end; min-height: 300px; background: linear-gradient(135deg, #f3f8ff, #eef3ff); }
.module-icon { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 28px; border-radius: 13px; color: var(--launch-blue); background: var(--launch-blue-soft); font-size: 11px; font-weight: 900; }
.module-primary .module-icon { color: #fff; background: rgba(255,255,255,.1); }
.launch-module-grid small { color: #8792a5; font-size: 9px; font-weight: 850; letter-spacing: .14em; }
.module-primary small { color: rgba(255,255,255,.55); }
.launch-module-grid h3 { margin: auto 0 11px; font-size: 26px; line-height: 1.12; letter-spacing: -.04em; }
.module-primary h3 { max-width: 650px; margin-top: 0; font-size: clamp(36px, 4vw, 55px); }
.launch-module-grid p { margin: 0; color: var(--launch-muted); line-height: 1.65; }
.module-primary p { color: rgba(255,255,255,.58); }
.module-primary ul { display: flex; flex-wrap: wrap; gap: 7px; margin: 20px 0 auto; padding: 0; list-style: none; }
.module-primary li { padding: 6px 9px; border: 1px solid rgba(255,255,255,.11); border-radius: 999px; color: rgba(255,255,255,.72); font-size: 9px; }
.module-site-list { margin-top: 32px; overflow: hidden; border: 1px solid rgba(255,255,255,.11); border-radius: 14px; background: rgba(255,255,255,.025); }
.module-site-list > span { display: grid; grid-template-columns: 8px 1fr auto; align-items: center; gap: 10px; padding: 14px 15px; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 11px; }
.module-site-list > span:last-child { border: 0; }
.module-site-list i,
.module-site-list em { width: 7px; height: 7px; border-radius: 50%; background: var(--launch-cyan); }
.module-site-list em { background: #f6c75c; }
.module-site-list b { color: rgba(255,255,255,.5); font-size: 8px; letter-spacing: .1em; }
.module-backup-state { padding: 20px; border: 1px solid #d8e2f4; border-radius: 15px; background: rgba(255,255,255,.72); }
.module-backup-state span,
.module-backup-state b,
.module-backup-state em { display: block; }
.module-backup-state span { color: var(--launch-muted); font-size: 9px; }
.module-backup-state b { margin: 8px 0; font-size: 17px; letter-spacing: -.02em; }
.module-backup-state em { width: fit-content; padding: 5px 8px; border-radius: 999px; color: #287951; background: #e8f7ee; font-size: 8px; font-style: normal; font-weight: 850; }

.launch-security-section { background: #111827; }
.launch-security-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(55px, 7vw, 110px); align-items: center; }
.launch-security-copy h2 { color: #fff; }
.launch-security-copy > p { color: rgba(255,255,255,.57); }
.launch-security-copy > span { color: #8ea8ff; }
.launch-security-points { display: grid; gap: 17px; margin-top: 34px; }
.launch-security-points > div { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.launch-security-points i { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; color: #9fb4ff; background: rgba(74,108,237,.15); font-size: 8px; font-style: normal; font-weight: 850; }
.launch-security-points p { margin: 0; }
.launch-security-points b,
.launch-security-points small { display: block; }
.launch-security-points b { color: #fff; font-size: 14px; }
.launch-security-points small { margin-top: 3px; color: rgba(255,255,255,.45); font-size: 11px; line-height: 1.55; }
.launch-security-card { padding: 28px; border: 1px solid rgba(255,255,255,.12); border-radius: 23px; background: rgba(255,255,255,.055); box-shadow: 0 30px 80px rgba(0,0,0,.2); }
.security-card-head { display: grid; grid-template-columns: 40px 1fr auto; gap: 11px; align-items: center; padding-bottom: 23px; border-bottom: 1px solid rgba(255,255,255,.1); }
.security-card-head .launch-mini-logo { margin: 0; }
.security-card-head b,
.security-card-head small { display: block; }
.security-card-head b { color: #fff; }
.security-card-head small { color: rgba(255,255,255,.43); font-size: 10px; }
.security-card-head > em { padding: 5px 9px; border-radius: 999px; color: #7de2ba; background: rgba(54,185,130,.12); font-size: 9px; font-style: normal; font-weight: 850; }
.security-score { padding: 23px 0 19px; }
.security-score > span,
.security-score > b { color: #fff; }
.security-score > span { font-size: 10px; }
.security-score > b { float: right; font-size: 11px; }
.security-score > i { clear: both; height: 7px; display: block; margin-top: 9px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.1); }
.security-score > i > em { width: 100%; height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg, var(--launch-blue), var(--launch-cyan)); }
.security-list { display: grid; gap: 8px; }
.security-list > span { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: center; padding: 11px; border: 1px solid rgba(255,255,255,.08); border-radius: 11px; background: rgba(255,255,255,.035); }
.security-list i { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 8px; color: #78e0b6; background: rgba(47,180,124,.12); font-size: 10px; font-style: normal; }
.security-list p { margin: 0; }
.security-list b,
.security-list small { display: block; }
.security-list b { color: #fff; font-size: 11px; }
.security-list small { color: rgba(255,255,255,.42); font-size: 8px; }

.launch-steps { padding-bottom: 90px; }
.launch-step-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 44px; }
.launch-step-grid article { min-height: 236px; padding: 27px; border: 1px solid var(--launch-line); border-radius: 20px; background: #fff; }
.launch-step-grid article > span { width: 36px; height: 36px; display: grid; place-items: center; margin-bottom: 54px; border-radius: 10px; color: var(--launch-blue); background: var(--launch-blue-soft); font-size: 10px; font-weight: 850; }
.launch-step-grid h3 { margin: 0 0 9px; font-size: 22px; letter-spacing: -.035em; }
.launch-step-grid p { margin: 0; color: var(--launch-muted); line-height: 1.65; }

.launch-plans { padding-top: 90px; }
.launch-billing-toggle { width: fit-content; display: flex; gap: 4px; margin: 30px auto 35px; padding: 4px; border: 1px solid #dfe5ef; border-radius: 12px; background: #fff; }
.launch-billing-toggle button { min-height: 38px; padding: 0 15px; border: 0; border-radius: 9px; color: #6a7689; background: transparent; font-size: 12px; font-weight: 750; cursor: pointer; }
.launch-billing-toggle button.active { color: #fff; background: var(--launch-ink); }
.launch-billing-toggle button span { margin-left: 5px; padding: 3px 6px; border-radius: 999px; color: #256b50; background: #e9f7ef; font-size: 8px; }
.launch-billing-toggle button.active span { color: #b8f1d6; background: rgba(255,255,255,.12); }
.launch-plan-grid { gap: 13px; }
.launch-site .plan-card {
  min-height: 590px;
  padding: 29px;
  border-color: var(--launch-line);
  border-radius: 21px;
  background: #fff;
  box-shadow: 0 8px 30px rgba(40,58,104,.045);
}
.launch-site .plan-card.popular { color: #fff; border-color: #17203a; background: linear-gradient(160deg, #111827, #1e2a49); transform: translateY(-7px); box-shadow: 0 24px 60px rgba(28,42,79,.22); }
.launch-site .plan-card > small { color: var(--launch-blue); font-size: 9px; letter-spacing: .14em; }
.launch-site .plan-card.popular > small { color: #9eb2ff; }
.launch-site .plan-card h3 { margin: 10px 0 4px; font-size: 31px; letter-spacing: -.045em; }
.launch-site .plan-card.popular h3 { color: #fff; }
.launch-site .plan-description { min-height: 46px; margin: 0; color: var(--launch-muted); font-size: 12px; }
.launch-site .plan-card.popular .plan-description { color: rgba(255,255,255,.55); }
.launch-site .plan-price { display: flex; align-items: baseline; gap: 6px; margin-top: 24px; }
.launch-site .plan-price b { font-size: 26px; letter-spacing: -.045em; }
.launch-site .plan-price span { color: var(--launch-muted); font-size: 10px; }
.launch-site .plan-card.popular .plan-price span { color: rgba(255,255,255,.48); }
.launch-site .plan-annual { min-height: 34px; margin: 4px 0 0; color: #8792a5; font-size: 9px; }
.launch-site .plan-card.popular .plan-annual { color: rgba(255,255,255,.42); }
.launch-site .plan-divider { height: 1px; margin: 18px 0; background: #e7ebf2; }
.launch-site .plan-card.popular .plan-divider { background: rgba(255,255,255,.1); }
.launch-site .plan-features { gap: 0; margin-bottom: 23px; }
.launch-site .plan-features li { justify-content: flex-start; gap: 5px; padding: 8px 0; color: var(--launch-muted); border: 0; font-size: 11px; }
.launch-site .plan-features li::before { content: "✓"; width: 17px; height: 17px; display: grid; place-items: center; margin-right: 5px; border-radius: 50%; color: var(--launch-green); background: #e9f7ef; font-size: 8px; }
.launch-site .plan-card.popular .plan-features li { color: rgba(255,255,255,.63); }
.launch-site .plan-card.popular .plan-features li::before { color: #8ce2bd; background: rgba(85,205,154,.13); }
.launch-site .plan-features b { color: var(--launch-ink); }
.launch-site .plan-card.popular .plan-features b { color: #fff; }
.launch-site .plan-card .button-dark { color: #fff; background: var(--launch-ink); border-color: var(--launch-ink); }
.launch-site .plan-card.popular .button-accent { color: #10203c; background: #fff; border-color: #fff; box-shadow: none; }
.launch-site .plan-badge { top: 19px; right: 19px; padding: 5px 8px; border-radius: 999px; color: #184c3c; background: #bdf2da; font-size: 7px; letter-spacing: .1em; }
.launch-plan-note { margin: 18px auto 0; color: #8b95a6; font-size: 9px; text-align: center; }

.launch-migration { padding-top: 80px; }
.launch-migration-card { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; padding: 56px; overflow: hidden; border-radius: 27px; background: linear-gradient(135deg, #eaf0ff, #f3fbf9); }
.launch-migration-copy h2 { font-size: clamp(36px, 4vw, 57px); }
.launch-migration-actions { display: flex; align-items: center; gap: 18px; margin-top: 25px; }
.launch-text-link { color: var(--launch-blue); font-size: 12px; font-weight: 750; }
.launch-migration-copy > small { display: block; margin-top: 18px; color: #7d899c; font-size: 9px; }
.launch-migration-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 10px; align-items: center; }
.launch-migration-flow article { min-height: 154px; display: flex; flex-direction: column; padding: 20px; border: 1px solid rgba(202,214,235,.9); border-radius: 16px; background: rgba(255,255,255,.72); }
.launch-migration-flow article > span { color: var(--launch-blue); font-size: 8px; font-weight: 850; }
.launch-migration-flow b { margin-top: auto; font-size: 15px; }
.launch-migration-flow small { margin-top: 4px; color: var(--launch-muted); font-size: 9px; line-height: 1.45; }
.launch-migration-flow > i { color: #91a1bc; font-style: normal; }

.launch-faq { display: grid; grid-template-columns: .7fr 1.3fr; gap: 85px; align-items: start; padding-top: 80px; }
.launch-faq .launch-section-heading { position: sticky; top: 105px; }
.launch-faq-list { border-top: 1px solid var(--launch-line); }
.launch-faq-list details { border-bottom: 1px solid var(--launch-line); }
.launch-faq-list summary { position: relative; padding: 23px 44px 23px 0; color: var(--launch-ink); font-size: 17px; font-weight: 720; letter-spacing: -.02em; cursor: pointer; list-style: none; }
.launch-faq-list summary::-webkit-details-marker { display: none; }
.launch-faq-list summary::after { content: "+"; position: absolute; top: 21px; right: 4px; width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; color: var(--launch-blue); background: var(--launch-blue-soft); font-size: 17px; font-weight: 500; }
.launch-faq-list details[open] summary::after { content: "−"; }
.launch-faq-list p { margin: -4px 48px 22px 0; color: var(--launch-muted); line-height: 1.7; }

.launch-final-cta {
  width: min(1200px, calc(100% - 48px));
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 50px;
  align-items: center;
  margin: 0 auto 84px;
  padding: 54px;
  border-radius: 27px;
  color: #fff;
  background: linear-gradient(135deg, #111827, #202b48);
  box-shadow: 0 24px 70px rgba(24, 37, 69, .19);
}
.launch-final-cta > div > span { color: #9fb4ff; }
.launch-final-cta h2 { max-width: 820px; color: #fff; font-size: clamp(34px, 4vw, 55px); }
.launch-final-cta p { color: rgba(255,255,255,.52); }
.launch-final-cta > div:last-child { display: flex; flex-direction: column; gap: 9px; min-width: 210px; }
.launch-final-cta .button-quiet { color: #fff; border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.06); }

.launch-footer { padding: 62px clamp(24px,6vw,108px) 28px; color: #fff; background: #0f1523; }
.launch-footer-top { display: grid; grid-template-columns: 1.55fr repeat(3,1fr); gap: 50px; padding-bottom: 55px; }
.launch-footer .brand-name { color: #fff; }
.launch-footer .brand-product { color: rgba(255,255,255,.42); }
.launch-footer-top > div:first-child p { max-width: 330px; margin: 20px 0 0; color: rgba(255,255,255,.46); }
.launch-footer-top > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.launch-footer-top b { margin-bottom: 7px; color: #fff; font-size: 11px; }
.launch-footer-top a,
.launch-footer-top button { padding: 0; border: 0; color: rgba(255,255,255,.54); background: none; font-size: 11px; text-align: left; cursor: pointer; }
.launch-footer-top a:hover,
.launch-footer-top button:hover { color: #fff; }
.launch-footer .footer-bottom { color: rgba(255,255,255,.38); }

/* Sales lead modal */
.sales-dialog {
  width: min(600px, calc(100vw - 28px));
  position: relative;
  z-index: 3;
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: 32px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 32px 100px rgba(15, 23, 42, .28);
}
.sales-dialog-header { padding-right: 34px; }
.sales-dialog-header > span { color: var(--launch-blue); font-size: 9px; font-weight: 850; letter-spacing: .14em; }
.sales-dialog-header h2 { margin: 8px 0 8px; color: var(--launch-ink); font-size: 30px; line-height: 1.08; letter-spacing: -.045em; }
.sales-dialog-header p { margin: 0 0 22px; color: var(--launch-muted); }
.sales-form { display: grid; gap: 14px; }
.sales-form label { display: grid; gap: 6px; color: #3e4b61; font-size: 11px; font-weight: 750; }
.sales-form input,
.sales-form select,
.sales-form textarea { width: 100%; min-height: 45px; padding: 10px 12px; border: 1px solid #dce3ee; border-radius: 9px; color: var(--launch-ink); background: #fbfcfe; outline: none; }
.sales-form textarea { min-height: 104px; resize: vertical; }
.sales-form input:focus,
.sales-form select:focus,
.sales-form textarea:focus { border-color: var(--launch-blue); box-shadow: 0 0 0 3px rgba(49,94,251,.1); }
.sales-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sales-consent { display: grid !important; grid-template-columns: 18px 1fr; align-items: start; gap: 8px !important; color: var(--launch-muted) !important; font-weight: 500 !important; line-height: 1.5; }
.sales-consent input { width: 16px; min-height: 16px; margin-top: 2px; }
.sales-form-actions { display: flex; gap: 9px; justify-content: flex-end; padding-top: 5px; }
.sales-success { padding: 28px 10px 8px; text-align: center; }
.sales-success > span { width: 58px; height: 58px; display: grid; place-items: center; margin: 0 auto 16px; border-radius: 50%; color: var(--launch-green); background: #e9f8f0; font-size: 24px; }
.sales-success h2 { margin: 0 0 8px; font-size: 28px; letter-spacing: -.04em; }
.sales-success p { margin: 0; color: var(--launch-muted); }
.sales-success code { display: inline-block; margin-top: 13px; padding: 6px 9px; border-radius: 7px; background: #f2f5fa; }

/* Native progress bars remove inline style requirements from CSP. */
progress.lynq-progress {
  width: 100%;
  height: 7px;
  display: block;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: #e7ecf4;
  appearance: none;
}
progress.lynq-progress::-webkit-progress-bar { border-radius: inherit; background: #e7ecf4; }
progress.lynq-progress::-webkit-progress-value { border-radius: inherit; background: var(--accent); }
progress.lynq-progress::-moz-progress-bar { border-radius: inherit; background: var(--accent); }
progress.lynq-progress.accent::-webkit-progress-value { background: var(--accent-strong); }
progress.lynq-progress.accent::-moz-progress-bar { background: var(--accent-strong); }
.setup-guide-progress progress { margin-top: 7px; }

/* Production UI: expose functional tools first. */
body.in-app .topbar-mode-pill { color: #2d6b51; border-color: #d6ebdf; background: #edf8f1; }
body.in-app .topbar-mode-pill i { background: #2ea56d; }
body.in-app .hosting-coming-soon { opacity: .66; cursor: default; }

/* Legal pages */
.legal-page { min-height: 100vh; color: var(--launch-ink); background: var(--launch-canvas); }
.legal-header { height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(20px,5vw,72px); border-bottom: 1px solid var(--launch-line); background: #fff; }
.legal-header a:last-child { color: var(--launch-blue); font-size: 12px; font-weight: 750; }
.legal-main { width: min(820px, calc(100% - 40px)); margin: 0 auto; padding: 70px 0 100px; }
.legal-main > span { color: var(--launch-blue); font-size: 10px; font-weight: 850; letter-spacing: .14em; }
.legal-main h1 { margin: 13px 0 12px; font-size: clamp(38px,5vw,62px); line-height: 1.02; letter-spacing: -.055em; }
.legal-main > p { color: var(--launch-muted); }
.legal-content { margin-top: 42px; padding: 34px; border: 1px solid var(--launch-line); border-radius: 20px; background: #fff; }
.legal-content h2 { margin: 30px 0 8px; font-size: 21px; letter-spacing: -.03em; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p,
.legal-content li { color: #5f6d82; line-height: 1.75; }
.legal-content ul { padding-left: 20px; }

@media (max-width: 1180px) {
  .launch-header .nav-status-button { display: none; }
  .launch-header .site-nav { gap: 18px; }
  .launch-hero { grid-template-columns: minmax(0,.92fr) minmax(470px,1.08fr); gap: 45px; padding-inline: 42px; }
  .launch-hero-copy h1 { font-size: clamp(47px,5.2vw,70px); }
  .float-security { right: 0; }
  .float-backup { left: -10px; }
  .launch-trust-bar { padding-inline: 42px; }
}

@media (max-width: 980px) {
  .launch-header .site-nav,
  .launch-header-cta,
  .launch-cabinet-button { display: none !important; }
  .launch-header .public-menu-button { display: flex; }
  .launch-header .header-actions { margin-left: auto; }
  .launch-hero { min-height: auto; grid-template-columns: 1fr; padding: 126px 28px 75px; }
  .launch-hero-copy { max-width: 760px; }
  .launch-hero-product { width: min(720px,100%); margin: 0 auto; }
  .launch-trust-bar { align-items: flex-start; padding: 24px 28px; }
  .launch-trust-bar > div { flex-wrap: wrap; justify-content: flex-start; }
  .launch-section-heading.split { grid-template-columns: 1fr; gap: 12px; }
  .launch-advantage-grid { grid-template-columns: 1fr; }
  .launch-advantage-grid article { min-height: 245px; }
  .launch-advantage-icon { margin: 32px 0 22px; }
  .launch-module-grid { grid-template-columns: repeat(2,1fr); }
  .launch-module-grid > article.module-primary { grid-column: span 2; }
  .launch-module-grid > article.module-backup { grid-column: span 2; }
  .launch-security-grid { grid-template-columns: 1fr; }
  .launch-step-grid { grid-template-columns: 1fr; }
  .launch-step-grid article { min-height: 190px; }
  .launch-step-grid article > span { margin-bottom: 35px; }
  .launch-migration-card { grid-template-columns: 1fr; }
  .launch-faq { grid-template-columns: 1fr; gap: 35px; }
  .launch-faq .launch-section-heading { position: static; }
  .launch-final-cta { grid-template-columns: 1fr; }
  .launch-final-cta > div:last-child { flex-direction: row; min-width: 0; }
  .launch-footer-top { grid-template-columns: 1.4fr 1fr 1fr; }
  .launch-footer-top > div:last-child { grid-column: 2 / 4; }
}

@media (max-width: 720px) {
  .launch-header { height: 62px; padding-inline: 18px; }
  .launch-header .brand-mark { width: 32px; height: 32px; }
  .launch-header .brand-name { font-size: 17px; }
  .launch-header .brand-product { font-size: 12px; }
  .launch-header .button-quiet { min-height: 36px; padding-inline: 10px; font-size: 12px; }
  .launch-site .public-mobile-nav { top: 62px; color: var(--launch-ink); background: #fff; border-color: var(--launch-line); box-shadow: var(--launch-shadow-soft); }
  .launch-site .public-mobile-nav a,
  .launch-site .public-mobile-nav button { color: var(--launch-ink); border-color: var(--launch-line); }
  .launch-site .public-mobile-nav .mobile-primary-link { color: #fff; background: var(--launch-blue); }
  .launch-hero { padding: 108px 20px 62px; }
  .launch-hero::before { display: none; }
  .launch-hero-copy h1 { font-size: clamp(43px, 13vw, 62px); }
  .launch-hero-copy > p { font-size: 16px; }
  .launch-hero-actions { align-items: stretch; flex-direction: column; }
  .launch-hero-actions .button { width: 100%; }
  .launch-proof-row { display: grid; grid-template-columns: 1fr 1fr; }
  .launch-price-note { width: 100%; }
  .launch-hero-product { padding-top: 10px; }
  .launch-browser { transform: none; border-radius: 16px; }
  .launch-browser-bar { grid-template-columns: 50px 1fr 20px; }
  .launch-browser-bar > b { font-size: 0; }
  .launch-panel { min-height: 390px; grid-template-columns: 48px 1fr; }
  .launch-panel aside { gap: 7px; padding: 10px 0; }
  .launch-panel aside > span { width: 34px; height: 34px; }
  .launch-mini-logo { width: 31px; height: 31px; }
  .launch-panel > section { padding: 15px; }
  .launch-panel-metrics { grid-template-columns: repeat(2,1fr); }
  .launch-panel-metrics article:last-child { display: none; }
  .launch-panel-tools { grid-template-columns: 1fr; }
  .launch-panel-tools button:nth-child(n+3) { display: none; }
  .launch-float-card { display: none; }
  .launch-trust-bar { display: block; padding: 22px 20px; }
  .launch-trust-bar > div { margin-top: 14px; gap: 8px 13px; }
  .launch-trust-bar i { display: none; }
  .launch-section { width: min(100% - 40px,1200px); padding: 78px 0; }
  .launch-section-heading h2,
  .launch-security-copy h2,
  .launch-migration-copy h2,
  .launch-final-cta h2 { font-size: clamp(36px,10.5vw,50px); }
  .launch-module-grid { grid-template-columns: 1fr; }
  .launch-module-grid > article.module-primary,
  .launch-module-grid > article.module-backup { grid-column: span 1; }
  .launch-module-grid > article.module-primary { min-height: 520px; }
  .launch-module-grid > article.module-backup { grid-template-columns: 1fr; }
  .launch-security-section .launch-section { width: min(100% - 40px,1200px); }
  .launch-step-grid { margin-top: 32px; }
  .launch-plan-grid { grid-template-columns: 1fr !important; }
  .launch-site .plan-card.popular { transform: none; }
  .launch-migration-card { padding: 30px 24px; }
  .launch-migration-actions { align-items: stretch; flex-direction: column; }
  .launch-migration-flow { grid-template-columns: 1fr; }
  .launch-migration-flow > i { transform: rotate(90deg); text-align: center; }
  .launch-faq-list summary { font-size: 15px; }
  .launch-final-cta { width: calc(100% - 40px); margin-bottom: 60px; padding: 31px 24px; }
  .launch-final-cta > div:last-child { flex-direction: column; }
  .launch-footer { padding-inline: 20px; }
  .launch-footer-top { grid-template-columns: 1fr 1fr; gap: 35px 25px; }
  .launch-footer-top > div:first-child { grid-column: 1 / -1; }
  .launch-footer-top > div:last-child { grid-column: auto; }
  .launch-footer .footer-bottom { align-items: flex-start; flex-direction: column; }
  .sales-dialog { padding: 27px 20px; }
  .sales-form-grid { grid-template-columns: 1fr; }
  .sales-form-actions { align-items: stretch; flex-direction: column-reverse; }
}

@media (prefers-reduced-motion: reduce) {
  .launch-site *, .launch-site *::before, .launch-site *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .launch-browser { transform: none; }
}

/* RC.4 launch polish: production-first navigation, leads and legal pages. */
.sales-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body.in-app .production-tools-grid {
  grid-auto-rows: minmax(164px, auto);
}
body.in-app .production-tools-grid .hosting-tile {
  min-height: 164px;
}
body.in-app .admin-kpi-attention {
  border-color: #f3d6a1;
  background: linear-gradient(180deg, #fffdf8, #fff8e9);
}
body.in-app .admin-kpi-attention strong { color: #a7650a; }
body.in-app .value-cell {
  min-width: 210px;
  max-width: 360px;
  white-space: normal;
  line-height: 1.45;
}

.legal-body {
  margin: 0;
  min-width: 320px;
  color: var(--launch-ink);
  background: var(--launch-canvas);
  font-family: "Segoe UI Variable Text", "Segoe UI", Inter, Roboto, Arial, sans-serif;
}
.legal-page {
  width: min(980px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 34px 0 90px;
}
.legal-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 54px;
}
.legal-brand > span:last-child { display: grid; line-height: 1.05; }
.legal-brand b { color: var(--launch-ink); font-size: 18px; letter-spacing: -.04em; }
.legal-brand small { color: var(--launch-muted); font-size: 12px; }
.legal-document {
  max-width: 820px;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--launch-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--launch-shadow-soft);
}
.legal-kicker {
  color: var(--launch-blue);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .14em;
}
.legal-document h1 {
  margin: 13px 0 18px;
  font-family: "Segoe UI Variable Display", "Segoe UI", Inter, Arial, sans-serif;
  font-size: clamp(38px, 6vw, 62px);
  line-height: 1.02;
  letter-spacing: -.055em;
}
.legal-lead {
  margin: 0;
  color: var(--launch-muted);
  font-size: 16px;
  line-height: 1.75;
}
.legal-alert {
  margin: 30px 0;
  padding: 18px 20px;
  border: 1px solid #f0d9a5;
  border-radius: 14px;
  background: #fff9ea;
}
.legal-alert b { color: #855508; }
.legal-alert p { margin: 6px 0 0; color: #746241; }
.legal-document h2 { margin: 36px 0 12px; font-size: 23px; letter-spacing: -.03em; }
.legal-document p,
.legal-document li { color: #5f6d82; line-height: 1.75; }
.legal-document ol,
.legal-document ul { padding-left: 22px; }
.legal-document code { padding: 2px 6px; border-radius: 6px; background: #f2f5fa; }
.legal-document a { color: var(--launch-blue); }
.legal-document footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid var(--launch-line);
  color: var(--launch-muted);
  font-size: 12px;
}

@media (max-width: 720px) {
  .legal-page { width: min(100% - 28px, 980px); padding-top: 20px; }
  .legal-brand { margin-bottom: 26px; }
  .legal-document { padding: 27px 20px; border-radius: 18px; }
  .legal-document footer { align-items: flex-start; flex-direction: column; }
  body.in-app .production-tools-grid { grid-auto-rows: auto; }
  body.in-app .production-tools-grid .hosting-tile { min-height: 150px; }
}

/* RC.6 locale controls and long-copy resilience. */
.language-switcher,
.account-language-switcher > div {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid #dfe5ee;
  border-radius: 10px;
  background: #f4f7fb;
}
.language-switcher button,
.account-language-switcher button {
  min-width: 34px;
  min-height: 30px;
  padding: 0 8px;
  border: 0;
  border-radius: 7px;
  color: #657187;
  background: transparent;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .04em;
  cursor: pointer;
}
.language-switcher button:hover,
.account-language-switcher button:hover { color: #172033; background: #e9eef6; }
.language-switcher button.active,
.account-language-switcher button.active,
.language-switcher button[aria-pressed="true"],
.account-language-switcher button[aria-pressed="true"] {
  color: #fff;
  background: #315efb;
  box-shadow: 0 2px 7px rgba(49,94,251,.22);
}
.account-language-switcher {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 8px 10px;
  padding: 12px 8px;
  border-top: 1px solid #e8edf4;
  color: #68758a;
  font-size: 12px;
  font-weight: 700;
}

/* Uzbek Latin strings are often longer; all principal layout children may shrink and wrap. */
.launch-site *,
.app-shell *,
.modal * { min-width: 0; }
.launch-site h1,
.launch-site h2,
.launch-site h3,
.launch-site p,
.launch-site a,
.launch-site button,
.launch-site summary,
.app-shell h1,
.app-shell h2,
.app-shell h3,
.app-shell p,
.app-shell button,
.app-shell td,
.app-shell th,
.modal label,
.modal button,
.modal p { overflow-wrap: anywhere; }
html[lang="uz-Latn"] .site-nav { gap: 20px; }
html[lang="uz-Latn"] .site-nav a { font-size: 12px; }
html[lang="uz-Latn"] .launch-hero-actions .button,
html[lang="uz-Latn"] .launch-migration-actions .button,
html[lang="uz-Latn"] .launch-final-cta .button { white-space: normal; text-align: center; }
html[lang="uz-Latn"] .hosting-tile h3,
html[lang="uz-Latn"] .tool-card h3 { line-height: 1.17; }

@media (max-width: 980px) {
  .launch-header .language-switcher { margin-left: auto; }
}

@media (max-width: 720px) {
  .launch-header .header-actions { gap: 7px; }
  .language-switcher { padding: 2px; border-radius: 9px; }
  .language-switcher button { min-width: 30px; min-height: 28px; padding-inline: 6px; font-size: 10px; }
  .account-language-switcher { margin-inline: 6px; }
  html[lang="uz-Latn"] .launch-hero-copy h1 { font-size: clamp(39px, 11.7vw, 56px); }
  html[lang="uz-Latn"] .launch-header .brand-product { display: none; }
}

@media (max-width: 440px) {
  .launch-header .button-quiet { display: none; }
  .launch-header .language-switcher { flex: 0 0 auto; }
  .app-topbar .topbar-context { max-width: 92px; }
  .app-topbar .topbar-context strong,
  .app-topbar .topbar-context span { white-space: normal; line-height: 1.1; }
  html[lang="uz-Latn"] .app-topbar .topbar-context { max-width: 82px; }
}
