:root {
  --bg: #ffffff;
  --bg-alt: #f5f7f8;
  --card: #ffffff;
  --text: #0a2540;
  --muted: #5b6b7c;
  --line: #e6eaee;
  --brand: #8f84ab;
  --brand-2: #6f6588;
  --brand-soft: #f3f0f8;
  --logo: #8f84ab;
  --ok: #6f6588;
  --danger: #b42318;
  --ad: #f7f4ee;
  --shadow: 0 18px 50px rgba(10, 37, 64, .08);
  --radius: 18px;
  --max: 1140px;
}
* { box-sizing: border-box; }
html { overflow-x: clip; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  overflow-wrap: break-word;
  overflow-x: clip;
}
img, video, iframe { max-width: 100%; height: auto; }
canvas { max-width: 100%; }
a { color: var(--brand-2); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: #1e4f7a;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.site-header .brand, .site-header .nav a, .site-header .header-actions a { color: #f4f8fb; }
.site-header .muted { color: #9db0c3; }
.site-header .nav a.ghost, .site-header .header-actions a.ghost { border-color: rgba(255,255,255,.2); color: #f4f8fb; }
.header-row { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: nowrap; padding: 16px 0; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; text-decoration: none; min-width: 0; }
.brand span { min-width: 0; }
.logo-box {
  width: 42px; height: 42px; border-radius: 8px; background: var(--logo); color: #fff;
  font-size: 12px; font-weight: 800; display: grid; place-items: center;
  flex-shrink: 0;
}
.site-nav {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.nav, .header-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.nav-main { flex: 1; }
.header-actions { margin-inline-start: auto; flex-shrink: 0; }
.lang-pick { display: inline-flex; align-items: center; margin: 0; }
.lang-pick select {
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.2);
  background: transparent;
  color: #f4f8fb;
  cursor: pointer;
}
.site-header .lang-pick select option { color: #0a2540; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  flex-shrink: 0;
  background: transparent;
  border: 1px solid rgba(255,255,255,.35);
  color: #f4f8fb;
  border-radius: 10px;
  cursor: pointer;
}
.site-header .nav-toggle { color: #f4f8fb; }
.nav-toggle svg { width: 22px; height: 22px; display: block; }
.nav-toggle-close { display: none; }
.site-header.is-nav-open .nav-toggle-open { display: none; }
.site-header.is-nav-open .nav-toggle-close { display: block; }
.nav a, .header-actions a, .btn, button, .nav summary, a.icon-btn {
  border-radius: 8px; padding: 10px 16px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid transparent; cursor: pointer; font-weight: 700; font-size: 14px;
}
.nav a, .header-actions a { color: var(--text); }
.btn, button[type="submit"], .btn-primary { background: var(--brand); color: #fff; border: 0; }
.btn:hover, button[type="submit"]:hover { background: var(--brand-2); text-decoration: none; }
.btn-ghost, .nav a.ghost, .header-actions a.ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-danger { background: var(--danger); color: #fff; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.15; margin: 0 0 14px; letter-spacing: -.03em; }
h2 { font-size: 1.45rem; margin: 0 0 12px; }
.lead { color: var(--muted); font-size: 1.12rem; max-width: 720px; margin: 0 auto 28px; }
.eyebrow { color: var(--brand-2); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: 12px; margin: 0 0 10px; }
.hero-blink { padding: 56px 0 20px; text-align: center; }
.feat-under-shorten {
  max-width: 820px;
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.12);
  text-align: start;
}
.feat-under-shorten h2 { margin-bottom: 8px; }
.band-dark, .band-light {
  width: 100%;
  padding: 28px 0 36px;
}
.band-dark > *, .band-light > * {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}
.band-dark {
  background: #1e4f7a;
  color: #f4f8fb;
}
.band-dark h1, .band-dark h2 { color: #fff; }
.band-dark .lead, .band-dark .domain-cta, .band-dark .tiny, .band-dark .muted { color: #b7c6d6; }
.band-dark .eyebrow { color: #ddd6ea; }
.band-light { background: #ffffff; color: #0a2540; }
.shorten-box, .signup-email.card {
  background: #fff;
  color: #0a2540;
}
.shorten-box h2, .signup-email h2 { color: #0a2540; }
.shorten-box {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow); padding: 28px; max-width: 820px; margin: 0 auto 24px; text-align: start;
}
.shorten-box h2 { margin-bottom: 16px; }
.shorten-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: stretch; }
.shorten-form input { flex: 1; min-width: 220px; }
.btn-shorten { min-width: 120px; }
.shorten-form .js-clear-shorten { min-width: 88px; }
.shorten-result { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.your-short-label { font-weight: 700; margin: 0 0 6px; }
.short-url { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 1.15rem; font-weight: 700; margin: 0 0 14px; }
.shorten-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.domain-cta { color: var(--muted); margin: 8px 0; }
.signup-email { max-width: 820px; margin: 0 auto 12px; text-align: start; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 22px;
}
.grid-3, .grid-2 { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid-2 { grid-template-columns: 2fr 1fr; }
@media (max-width: 860px) {
  .grid-2 { grid-template-columns: 1fr; }
  .shorten-form { flex-direction: column; }
  .btn-shorten { width: 100%; }
}
.section { padding: 36px 0; }
.muted { color: var(--muted); }
.ad-slot {
  border: 1px dashed #cbb98a;
  background: var(--ad);
  border-radius: 12px;
  padding: 16px 18px;
  margin-block: 18px;
  margin-inline: auto;
  min-height: 90px;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 4px;
  text-align: start;
  box-sizing: border-box;
}
[dir="rtl"] .ad-slot { align-items: flex-start; text-align: right; }
[dir="ltr"] .ad-slot { text-align: left; }
.ad-home_top, .ad-home_mid, .ad-home_footer { min-height: 100px; }
.ad-kicker {
  font-size: 12px;
  font-weight: 700;
  color: #8a7a55;
  letter-spacing: 0;
  text-transform: none;
}
.ad-body { color: var(--muted); font-size: 14px; }
.ad-body a.ad-aff {
  color: var(--brand-2);
  font-weight: 700;
  text-decoration: underline;
  display: inline-block;
  line-height: 1.5;
}
.ad-slot-edit input[type="text"],
.ad-slot-edit input[type="url"] {
  width: 100%;
  margin-top: 4px;
}
.feat-grid, .svc-grid { display: grid; gap: 16px; margin-top: 22px; align-items: stretch; }
.feat-grid { grid-template-columns: repeat(4, 1fr); }
.svc-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .feat-grid, .svc-grid { grid-template-columns: 1fr; }
}
.feat-card, .svc-card {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  text-align: start;
}
.band-dark .svc-card {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.18);
}
.band-dark .svc-card h3 { color: #fff; }
.band-dark .svc-card p { color: #d5e4f0; }
.feat-card h3, .svc-card h3 { font-size: 1.05rem; margin: 0 0 8px; line-height: 1.35; min-height: 2.7em; }
.feat-card p { margin: 0; color: var(--muted); }
.feat-ico, .svc-ico {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--brand-soft); color: var(--brand-2);
  display: inline-grid; place-items: center; margin-bottom: 10px;
}
.band-dark .svc-ico { background: rgba(223,214,234,.22); color: #ddd6ea; }
.svc-card { display: flex; gap: 12px; align-items: flex-start; height: 100%; min-height: 150px; }
.svc-card .svc-ico { margin-bottom: 0; flex-shrink: 0; }
.svc-card > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.svc-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  min-height: calc(1.55em * 2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cta-row { text-align: center; }
.feat-cta { margin: 16px 0 8px; text-align: center; }
a.svc-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}
a.svc-card:hover {
  text-decoration: none;
  transform: translateY(-2px);
  border-color: var(--brand);
}
.band-dark a.svc-card:hover { background: rgba(255,255,255,.22); }
.svc-grid-dash { margin: 4px 0 14px; }
.svc-dash-title { font-size: 1.15rem; margin: 4px 0 2px; }
.svc-grid-dash .svc-card { min-height: 0; padding: 12px 14px; }
.svc-grid-dash .svc-card h3 { min-height: 0; font-size: 1rem; }
.svc-grid-dash .svc-card p { min-height: 0; }
.svc-focus {
  outline: 2px solid var(--brand);
  outline-offset: 4px;
  border-radius: 14px;
  scroll-margin-top: 88px;
}
.feat-free {
  margin: 10px 0 0;
  font-weight: 800;
  color: #fff !important;
  font-size: 1.08rem;
  line-height: 1.7;
}
.how-home { margin-block: 8px; }
.band-dark .how-card {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.18);
  color: #fff;
}
.legal-block h2 { font-size: 1.2rem; margin: 28px 0 10px; }
.legal-block h2:first-child { margin-top: 0; }
.site-main.is-full { padding: 0; }
form { display: grid; gap: 10px; }
label { font-weight: 600; font-size: 14px; }
input, textarea, select {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--bg-alt); color: var(--text); font: inherit;
}
textarea { min-height: 90px; resize: vertical; }
.flash { padding: 10px 12px; border-radius: 12px; margin: 10px 0; }
.flash-ok { background: #f3f0f8; color: #6f6588; }
.flash-err { background: #fdecea; color: #b42318; }
html[data-theme="dark"] .flash-ok { background: #f3f0f8; color: #6f6588; }
.site-footer {
  border-top: 0;
  margin-top: 0;
  padding: 28px 0 36px;
  font-size: 14px;
  color: #c5d7e8;
  background: #1e4f7a;
}
.site-footer a { color: #d7e6f2; }
.site-footer nav { display: flex; gap: 12px; flex-wrap: wrap; }
.table-wrap, .table-wrap { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.report-list { display: grid; gap: 16px; margin-top: 14px; }
.report-card {
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr;
  gap: 16px;
  align-items: start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
}
.report-shot {
  background: var(--brand-soft, #eef4fa);
  border-radius: 12px;
  overflow: hidden;
  min-height: 140px;
}
.report-shot a { display: block; }
.report-shot img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top center;
  background: #dbe7f2;
}
.report-meta { min-width: 0; }
.report-meta p { margin: 0 0 10px; }
@media (max-width: 720px) {
  .report-card { grid-template-columns: 1fr; }
  .report-shot img { height: 180px; }
}
.user-country-head td {
  background: var(--brand-soft);
  font-weight: 800;
  border-bottom-color: transparent;
}
.admin-countries {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin-top: 22px;
}
.country-block h2 { font-size: 1.05rem; margin-bottom: 4px; }
.country-rank { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; }
.country-rank li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-alt);
}
.cr-bar {
  position: absolute; inset: 0 auto 0 0;
  background: #e4ddef;
  z-index: 0;
}
html[dir="rtl"] .cr-bar { inset: 0 0 0 auto; }
.cr-pos, .cr-name, .cr-count { position: relative; z-index: 1; }
.cr-pos { font-size: 12px; color: var(--muted); min-width: 1.4em; font-weight: 800; }
.cr-name { flex: 1; font-weight: 700; }
.cr-count { font-weight: 800; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: start; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cards { display: grid; gap: 12px; }
.link-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
#svc-links .link-card {
  background: var(--bg-alt);
  box-shadow: none;
}
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; align-items: center; }
.row-actions form { display: inline; margin: 0; }
.row-actions .btn, .row-actions button { padding: 6px 10px; font-size: 13px; }
.check { display: flex; gap: 8px; align-items: center; font-weight: 500; }
.check input { width: auto; }
.dash-nav { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 18px; }
.dash-nav a { border: 1px solid var(--line); }
.dash-nav a.active { background: var(--brand-soft); border-color: var(--brand); }
.dash-menu {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin: 0;
  padding: 6px 0;
}
.dash-menu-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  border: 0;
  background: transparent;
  line-height: 1.2;
}
.dash-menu-item:hover {
  background: var(--brand-soft);
  text-decoration: none;
}
.dash-menu-item.is-on {
  background: var(--brand);
  color: #fff;
}
.dash-menu-item.is-on .dash-menu-ico { color: #fff; }
.dash-menu-ico {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: var(--brand-2);
  flex-shrink: 0;
}
.dash-menu-ico svg { width: 20px; height: 20px; display: block; }
.dash-menu-item b {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--danger);
  color: #fff;
  font-size: 11px;
}
.dash-menu-item.is-on b { background: #fff; color: var(--danger); }
.dash-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.dash-head h1 { font-size: 1.55rem; letter-spacing: 0; margin: 0; }
.dash-head h2 { margin: 0; }
.dash-form, .dash-block { margin-top: 14px; }
.dash-block > h2 { margin-top: 0; }
.dash-sec {
  margin: 0;
  padding: 16px 0 4px;
  border-top: 1px solid var(--line);
}
.dash-head + .dash-sec { border-top: 0; padding-top: 8px; }
.dash-sec h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  line-height: 1.35;
}
.dash-sec-row {
  display: grid;
  gap: 10px;
}
@media (min-width: 720px) {
  .dash-sec-row { grid-template-columns: 1fr 1fr 1fr; }
}
.dash-sec-extra {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 12px 0 8px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}
.dash-sec-extra .tiny { margin: 0; }
.tiny {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 8px;
  line-height: 1.45;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.dash-stats-wrap {
  display: grid;
  gap: 8px;
  margin: 4px 0 8px;
}
.dash-stats-wrap .ad-slot { margin-block: 0; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px,1fr)); gap: 10px; }
.stat { background: var(--brand-soft); border-radius: 14px; padding: 14px; }
a.stat {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
a.stat:hover,
a.stat:focus-visible {
  box-shadow: 0 0 0 2px var(--brand);
}
.stat b { display: block; font-size: 1.4rem; }
.stat small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.35;
}
.faq details { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin: 8px 0; }
.auth { max-width: 440px; margin: 32px auto; }
.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px) { .how-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .how-grid { grid-template-columns: 1fr; } }
.how-card {
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: 18px;
  padding: 20px 16px 22px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  min-height: 0;
}
.how-body {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
}
html[dir="rtl"] .how-body { flex-direction: row-reverse; }
.how-ico {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand-2);
  display: grid; place-items: center; margin: 0;
  flex-shrink: 0;
}
.how-ico svg { width: 28px; height: 28px; }
.band-dark .how-ico { background: rgba(223,214,234,.22); color: #ddd6ea; }
.how-n {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 800; margin: 0 auto 14px; font-size: 16px;
}
.how-card p { margin: 0; font-weight: 700; font-size: 1.05rem; line-height: 1.45; text-align: start; flex: 1; max-width: none; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: s; }
.steps li {
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 18px; padding-inline-start: 58px; position: relative;
}
.steps li::before {
  counter-increment: s; content: counter(s);
  position: absolute; top: 16px; inset-inline-start: 16px;
  width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff;
  display: grid; place-items: center; font-size: 13px; font-weight: 800;
}
.qr-box { display: none; }
.notice { font-size: 13px; color: var(--muted); }
.badge { display: inline-block; background: var(--brand-soft); color: var(--brand-2); border-radius: 999px; padding: 2px 8px; font-size: 12px; }
.break { word-break: break-all; }
.layout-dash { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 20px; align-items: start; }
.layout-dash > div, .layout-dash > aside { min-width: 0; }
.layout-profile { grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr); align-items: start; }
.profile-edit { display: grid; gap: 16px; min-width: 0; }
@media (max-width: 900px) {
  .layout-dash, .layout-profile { grid-template-columns: 1fr; }
  .header-row { align-items: flex-start; }
}
.preview-card { max-width: 640px; margin: 40px auto; }
.preview-shot {
  margin: 14px 0 18px;
  padding: 0;
}
.preview-shot img {
  height: 260px;
}
.ad-go_top,
.ad-go_bot {
  min-height: 36px;
  margin-block: 8px;
  padding: 8px 12px;
  max-width: 560px;
}
.go-card { margin-top: 8px; margin-bottom: 8px; }
.go-card h1 { font-size: 1.2rem; margin: 4px 0 8px; }
a.go-continue {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 800;
  padding: 14px 18px;
  box-sizing: border-box;
}
.page-auth .site-footer nav { display: none; }
.page-auth .nav-main { display: none; }
.auth-only { margin-top: 40px; margin-bottom: 48px; }
.profile-photo, .profile-photo-fallback, .pc-initial {
  width: 76px; height: 76px; border-radius: 50%;
  object-fit: cover; display: block;
}
.pc-initial {
  background: var(--brand); color: #fff;
  font-size: 1.7rem; font-weight: 800;
  display: grid; place-items: center; line-height: 1;
}
.preview-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.preview-toolbar h2 { margin: 0; font-size: 1.05rem; }
.icon-btn,
a.icon-btn,
button.icon-btn {
  width: 42px; height: 42px; display: inline-grid; place-items: center;
  background: transparent; border: 1px solid var(--line); border-radius: 10px;
  color: var(--text); cursor: pointer; padding: 0; text-decoration: none;
}
a.icon-btn:hover { text-decoration: none; }
.icon-btn:hover { border-color: var(--brand); color: var(--brand-2); }
.icon-btn svg { width: 22px; height: 22px; }
.pv-status { min-height: 1.2em; color: var(--muted); }
.label-like { font-weight: 600; font-size: 14px; margin: 6px 0 0; }
.social-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.social-fields input { padding: 9px 12px; }
.social-field-h {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.social-field-h svg {
  width: 18px;
  height: 18px;
  color: var(--brand-2);
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .social-fields { grid-template-columns: 1fr; }
}
.profile-public { max-width: 210mm; margin: 24px auto 40px; }
.profile-card {
  width: 100%;
  max-width: 210mm;
  aspect-ratio: 210 / 148.5;
  background: #fff;
  color: #12233a;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 5% 6%;
  overflow: hidden;
  box-sizing: border-box;
}
.pc-body {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  gap: 8px;
}
.pc-top {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 128px;
  gap: 12px;
  align-items: start;
}
.pc-avatar { flex-shrink: 0; }
.pc-head { min-width: 0; }
.profile-card .pc-name {
  font-size: clamp(1.15rem, 3.2vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: -.02em;
  margin: 0 0 6px;
}
.pc-bio {
  margin: 0;
  font-size: .92rem;
  color: #3a4a5c;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pc-bio:empty, .pc-contact:empty, .pc-links:empty { display: none; }
.pc-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 16px;
  margin: 2px 0 0;
}
.pc-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.3;
}
.pc-row:hover { text-decoration: none; color: #1e4f7a; }
.pc-row-ico {
  width: 22px; height: 22px;
  color: #1e4f7a;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}
.pc-row-ico svg { width: 18px; height: 18px; display: block; }
.pc-row-txt {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pc-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.pc-links a {
  font-size: 11px; font-weight: 700;
  border: 1px solid #d7dee6; border-radius: 999px;
  padding: 3px 9px; color: inherit; max-width: 100%;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pc-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.pc-qr[hidden] { display: none !important; }
.card-qr-img {
  width: 110px; height: 110px; display: block;
  background: #fff; object-fit: contain;
}
.guide-svcs { display: grid; gap: 12px; margin: 18px 0 28px; }
.guide-svc h3 { margin-top: 0; }
.guide-svc p { margin: 8px 0; }
.guide-block { margin: 8px 0 28px; }
.guide-block h3 { font-size: 1.15rem; margin: 22px 0 10px; }
.guide-block .steps { margin-bottom: 8px; }
.guide-block .guide-svcs { margin: 12px 0 16px; }
body.print-sheet {
  margin: 0;
  padding: 0;
  background: #fff;
  color: #12233a;
}
body.print-sheet .profile-card {
  width: 210mm;
  height: 148.5mm;
  max-width: none;
  margin: 0;
  padding: 10mm 12mm;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  aspect-ratio: auto;
  overflow: hidden;
}
@media print {
  .ad-slot,
  .no-print { display: none !important; }
  body.has-profile-card .site-header,
  body.has-profile-card .site-footer,
  body.has-profile-card .dash-nav,
  body.has-profile-card .dash-menu,
  body.has-profile-card .ad-slot,
  body.has-profile-card .flash,
  body.has-profile-card .no-print,
  body.has-profile-card form.card,
  body.has-profile-card .preview-toolbar,
  body.has-profile-card .pv-status,
  body.has-cv-resume .site-header,
  body.has-cv-resume .site-footer,
  body.has-cv-resume .dash-nav,
  body.has-cv-resume .dash-menu,
  body.has-cv-resume .ad-slot,
  body.has-cv-resume .flash,
  body.has-cv-resume .no-print,
  body.has-cv-resume form.card,
  body.has-cv-resume .preview-toolbar,
  body.has-cv-resume .pv-status,
  body.print-profile .site-header,
  body.print-profile .site-footer,
  body.print-profile .dash-nav,
  body.print-profile .dash-menu,
  body.print-profile .ad-slot,
  body.print-profile .flash,
  body.print-profile .no-print,
  body.print-profile form.card,
  body.print-profile .preview-toolbar,
  body.print-profile .pv-status { display: none !important; }
  body.print-sheet .profile-card {
    width: 210mm !important;
    height: 148.5mm !important;
    padding: 10mm 12mm !important;
    border: 0 !important;
    box-shadow: none !important;
    overflow: hidden !important;
  }
  .card-qr-img { width: 32mm !important; height: 32mm !important; }
}
.text-edit-list { display: grid; gap: 10px; margin: 14px 0; }
.text-edit-row span { display: block; font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.text-edit-row textarea { min-height: 52px; }
.text-page-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 8px;
}
.text-page-nav a {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  font-size: 13px;
  font-weight: 700;
}
.text-page { margin: 16px 0; padding: 8px 12px 4px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-alt); }
.text-page summary {
  cursor: pointer;
  font-weight: 800;
  padding: 10px 4px;
}
.text-save-bar { position: sticky; bottom: 12px; }
.search-bar { margin: 0; }
.link-nick { font-weight: 800; font-size: 1.08rem; margin: 6px 0 2px; }
.link-nick a,
.link-card .break a { color: inherit; text-decoration: none; }
.link-nick a:hover,
.link-card strong a:hover { color: var(--brand); text-decoration: underline; }
.pager {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin: 16px 0 8px;
}
.pager [aria-disabled] { opacity: .45; pointer-events: none; }
.pager .is-on { background: var(--brand); color: #fff; border-color: var(--brand); }
.pager-num { min-width: 40px; }
.lead-msg { color: var(--muted); max-width: 720px; margin: 0 0 18px; }
.msg-thread { display: grid; gap: 10px; align-content: start; }
.msg-bubble {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
}
.msg-bubble.is-you { background: var(--brand-soft); }
.msg-bubble p { margin: 0; }
.msg-bubble .tiny { margin-bottom: 6px; }
.layout-dash .ad-slot {
  min-height: 48px;
  margin-block: 10px;
  padding: 10px 14px;
}
.layout-dash .ad-kicker { font-size: 11px; }
.layout-dash .ad-body { font-size: 13px; }
.ad-profile_top,
.ad-profile_mid,
.ad-profile_after,
.ad-profile_side,
.ad-profile_bot,
.ad-profile_public_in,
.ad-profile_public_bot,
.ad-profiles_top,
.ad-profiles_bot,
.ad-profile_choose {
  min-height: 48px;
  margin-block: 10px;
  padding: 10px 14px;
}
.ad-profile_top { margin-block: 8px 14px; }
.ad-profile_bot { margin-block: 14px 8px; }
.ad-profile_after { margin-block: 4px 0; }
.ad-profile_side { margin-block: 12px 0; }
.ad-profile_choose {
  min-height: 40px;
  max-width: 360px;
  margin: 28px auto 0;
}
.public-ad-in { margin-block: 10px 14px; }
.public-ad-in:empty,
.no-print:empty { display: none; margin: 0; padding: 0; }
.public-ad-in .ad-slot,
.ad-profile_public_in {
  min-height: 0;
  margin-block: 0;
  padding: 6px 10px;
  border-style: dotted;
  opacity: 0.78;
}
.public-ad-in .ad-kicker { font-size: 10px; font-weight: 600; }
.public-ad-in .ad-body { font-size: 12px; line-height: 1.35; }
.dash-side .ad-slot { margin-block: 0 12px; }
.dash-side .card { padding: 16px 18px; }
.dash-side h2 { font-size: 1.15rem; }
#svc-search.card {
  padding: 16px 18px;
  background: var(--bg-alt);
  box-shadow: none;
}
.search-heading {
  font-size: 1.35rem;
  margin: 0 0 10px;
  line-height: 1.3;
}
form.search-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
form.search-bar input { flex: 1; min-width: 180px; }
form.search-bar .btn { flex-shrink: 0; }
form.folder-create {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px;
}
form.folder-create > input[type="hidden"] { display: none; }
form.folder-create label { flex: 1; min-width: 180px; margin: 0; }
form.folder-create .btn { flex-shrink: 0; }
.folder-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px;
}
.folder-toolbar .folder-create { flex: 1; min-width: 220px; margin: 0; }
.folder-exports {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex-shrink: 0;
}
.folder-list {
  list-style: none;
  margin: 12px 0 4px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.folder-list li {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--brand-soft);
  color: var(--brand-2);
  border-radius: 999px;
  padding-block: 2px;
  padding-inline-start: 12px;
  padding-inline-end: 4px;
  font-weight: 700;
  font-size: 13px;
}
.folder-list li.is-on {
  outline: 2px solid var(--brand-2);
}
.folder-list li a {
  color: inherit;
  text-decoration: none;
  font-weight: 700;
}
.folder-list .folder-del { display: inline; margin: 0; }
.folder-list .folder-del > input[type="hidden"] { display: none; }
.folder-list .folder-del-btn {
  background: transparent;
  border: 0;
  color: var(--brand-2);
  font-weight: 800;
  font-size: 12px;
  padding: 2px 8px;
  cursor: pointer;
  border-radius: 999px;
  line-height: 1.4;
}
.folder-list .folder-del-btn:hover {
  background: var(--danger);
  color: #fff;
}
.app-fill-btn { width: 100%; margin-top: 6px; }
.app-fill-err { color: #c0392b; font-weight: 700; }
#svc-open-apps input[aria-invalid="true"] {
  border-color: #c0392b;
  outline: 2px solid rgba(192, 57, 43, .25);
}
.an-h {
  font-size: .75rem;
  font-weight: 800;
  margin: 14px 0 4px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  letter-spacing: .03em;
  text-transform: uppercase;
}
#svc-analytics .an-h:first-of-type { margin-top: 8px; }
.an-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  font-size: 13px;
  margin: 0;
  padding: 5px 0;
  border-bottom: 1px solid var(--line);
  line-height: 1.4;
}
a.an-row {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  border-radius: 8px;
  padding-inline: 6px;
  margin-inline: -6px;
}
a.an-row:hover,
a.an-row:focus-visible {
  background: var(--brand-soft);
}
.an-row:last-child { border-bottom: 0; }
.an-row b { flex-shrink: 0; color: var(--brand-2); }
#svc-stats,
#svc-analytics,
#svc-links,
#svc-create,
.list-block,
.dash-block {
  scroll-margin-top: 88px;
}
.list-block { margin-top: 4px; }
.list-search {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 8px 0 6px;
}
.list-search input[type="search"] { flex: 1 1 9rem; min-width: 9rem; margin: 0; }
.list-search .btn { flex-shrink: 0; padding: 8px 12px; }
.list-pager {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
}
.list-pager .btn { padding: 6px 10px; font-size: 13px; }
.show-qr .qr-box { display: block; }
[dir="rtl"] .dash-back svg { transform: scaleX(-1); }
.print-opts {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px;
  margin: 10px 0 14px;
}
form.print-opts > input[type="hidden"] { display: none; }
.print-opts label { flex: 1; min-width: 140px; margin: 0; }
.print-opts select, .print-opts input { max-width: none; width: 100%; }
.print-opts .btn {
  gap: 8px;
  flex-shrink: 0;
}
.print-opts .btn svg { width: 22px; height: 22px; flex-shrink: 0; }
.profile-list { display: grid; gap: 8px; margin: 0 0 16px; }
.profile-list a, .profile-list span { font-weight: 700; }
.profile-list .row-actions { margin: 0; }
.profile-cards { margin: 16px 0; }
.profile-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  color: var(--text);
  text-decoration: none;
}
.profile-row:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
  text-decoration: none;
}
.profile-row-main {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
.profile-row-main:hover { text-decoration: none; color: inherit; }
.profile-row-del { margin: 0; flex-shrink: 0; }
.profile-row-del .btn-danger { background: var(--danger); color: #fff; }
.profile-row-body strong .badge { margin-inline-start: 6px; vertical-align: middle; font-weight: 700; }
.profile-row-photo {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--brand-soft);
  color: var(--brand-2);
  font-weight: 800;
  font-size: 1.2rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.profile-row-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.profile-row-body { display: grid; gap: 2px; min-width: 0; }
.profile-row-body strong { font-size: 1.05rem; }
.profile-choose {
  min-height: 52vh;
  display: grid;
  place-items: center;
  padding: 28px 0 56px;
}
.profile-choose-inner { width: min(560px, 100%); text-align: center; }
.profile-choose-inner h1 { margin-bottom: 8px; }
.profile-choose-actions { display: grid; gap: 16px; margin-top: 28px; }
button.choose-type-btn,
.choose-type-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 104px;
  width: 100%;
  padding: 22px 20px;
  border-radius: 14px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 800;
  cursor: pointer;
}
button.choose-type-btn:hover {
  background: var(--brand-soft);
  border-color: var(--brand);
  color: var(--text);
}
.choose-type-btn small {
  font-weight: 500;
  font-size: .9rem;
  color: var(--muted);
}
.choose-type-btn:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
  text-decoration: none;
}
.profile-primary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 8px;
}
.js-share-profile { gap: 8px; }
.js-share-profile svg { width: 18px; height: 18px; flex-shrink: 0; }
.cv-form-h { margin: 22px 0 8px; font-size: 1.1rem; }
.cv-table-wrap { overflow-x: auto; margin: 0 0 8px; }
.cv-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.cv-table th, .cv-table td { border: 1px solid var(--line); padding: 6px; vertical-align: top; }
.cv-table th { background: var(--bg-alt); text-align: start; font-size: 12px; }
.cv-table input, .cv-table textarea, .cv-table select { width: 100%; max-width: none; margin: 0; }
.cv-table-narrow { max-width: 520px; }
.cv-del { padding: 6px 10px; font-size: 12px; }
.cv-row-desc td { border-top: 0; }
.cv-public { max-width: 210mm; margin: 24px auto 40px; }
.cv-doc {
  background: #fff;
  color: #12233a;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 28px 32px;
}
.cv-doc-head { margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid #1e4f7a; }
.cv-doc-head.has-photo { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.cv-doc-head-text { flex: 1; min-width: 0; }
.cv-photo-slot { flex-shrink: 0; }
.cv-photo-slot[hidden] { display: none !important; }
.cv-photo {
  width: 3.5cm;
  height: 4.5cm;
  object-fit: cover;
  display: block;
  border: 1px solid #c5cdd6;
  background: #fff;
}
.cv-photo-frame {
  width: 3.5cm;
  height: 4.5cm;
  box-sizing: border-box;
  border: 1px dashed #8a94a3;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #9aa3ad;
  font-size: 11px;
  background: #fff;
  padding: 6px;
}
.cv-photo-frame span { max-width: 90%; line-height: 1.3; }
.cv-photo-thumb {
  width: 48px;
  height: 62px;
  object-fit: cover;
  border: 1px solid var(--line);
  display: block;
  margin: 6px 0;
}
.cv-doc-name { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.15; margin: 0 0 4px; letter-spacing: -.02em; }
.cv-doc-headline { margin: 0 0 8px; font-size: 1.05rem; color: #3a4a5c; }
.cv-doc-meta { margin: 0; font-size: .92rem; color: #3a4a5c; }
.cv-doc-meta a { color: inherit; }
.cv-dot { margin: 0 6px; }
.cv-sec { margin: 16px 0 0; }
.cv-sec h2 {
  font-size: .82rem;
  margin: 0 0 8px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #1e4f7a;
  border-bottom: 1px solid #d7dee6;
  padding-bottom: 4px;
}
.cv-summary { margin: 0; line-height: 1.5; }
.cv-item { margin: 0 0 12px; }
.cv-item-h { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.cv-dates { font-size: .9rem; color: #3a4a5c; white-space: nowrap; }
.cv-place { margin: 2px 0 0; font-size: .9rem; color: #3a4a5c; }
.cv-item ul { margin: 6px 0 0; padding-inline-start: 18px; }
.cv-item li { margin: 0 0 2px; }
.cv-chips { margin: 0; }
.ad-admin-master { display: inline-block; margin: 0 8px 12px 0; padding: 12px 16px; }
.ad-master-row { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 18px; }
.ad-master-row small { display: block; font-weight: 400; }
.ad-page {
  border: 1px solid var(--line, #d7dee6);
  border-radius: 10px;
  padding: 10px 14px 12px;
  margin: 0 0 12px;
}
.ad-page legend { font-weight: 700; padding: 0 6px; }
.ad-page .check { display: flex; gap: 8px; align-items: center; margin: 6px 0; }
.ad-lang-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 18px; }
.ad-lang-nav a {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line, #d7dee6);
  text-decoration: none;
}
.ad-lang-nav a.is-on { background: var(--accent, #5b4b8a); color: #fff; border-color: transparent; }
.ad-slot-edit { margin: 10px 0 14px; }
.ad-slot-edit textarea { width: 100%; min-height: 72px; }
.ad-click-n {
  display: inline-block;
  margin-inline-start: 6px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--line, #d7dee6);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--ink, #12233a);
}
.ad-click-n small { font-weight: 600; opacity: .7; }
.ad-stats { margin: 0 0 18px; }
.ad-stats h2, .ad-stats h3 { margin: 0 0 8px; }
.ad-stats h3 { margin-top: 16px; font-size: 1.05rem; }
.ad-stats-total { margin: 0 0 10px; }
.ad-stats-table { font-size: 13px; }
.ad-stats-table th, .ad-stats-table td { padding: 6px 8px; }
.ad-stats-foot td { font-weight: 700; }
@media (max-width: 880px) {
  .header-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    flex-wrap: unset;
  }
  .brand { grid-column: 1; grid-row: 1; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; grid-column: 2; grid-row: 1; }
  .site-nav {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 8px 0 6px;
  }
  .site-header.is-nav-open .site-nav { display: flex; }
  .nav-main, .header-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin: 0;
    flex-wrap: nowrap;
    gap: 4px;
  }
  .nav-main a, .header-actions a, .header-actions .btn, .header-actions .lang-pick, .header-actions .lang-pick select {
    width: 100%;
    justify-content: flex-start;
    box-sizing: border-box;
  }
  .page-auth .nav-main { display: none; }
  h1 { font-size: clamp(1.45rem, 7vw, 2.2rem); }
  .hero-blink { padding: 28px 0 12px; }
  .card, .shorten-box { padding: 16px; }
  .band-dark, .band-light { padding: 20px 0 24px; }
  .wrap, .band-dark > *, .band-light > * { width: min(var(--max), calc(100% - 24px)); }
  .feat-card h3, .svc-card h3 { min-height: 0; }
  .svc-card { min-height: 0; }
  .svc-card p {
    display: block;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    overflow: visible;
    min-height: 0;
  }
  .stats { grid-template-columns: 1fr 1fr; }
  .dash-head h1 { font-size: 1.25rem; }
  .dash-menu { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .dash-menu-item { width: 100%; justify-content: flex-start; }
  .dash-nav a { flex: 1 1 calc(50% - 8px); justify-content: center; text-align: center; }
  .folder-toolbar, form.search-bar, form.folder-create, .print-opts {
    flex-direction: column;
    align-items: stretch;
  }
  .folder-toolbar .folder-create,
  form.search-bar input,
  form.folder-create label,
  .print-opts label {
    min-width: 0;
    width: 100%;
  }
  .shorten-form input,
  .shorten-form .js-clear-shorten,
  .btn-shorten { min-width: 0; width: 100%; }
  .row-actions .btn, .row-actions button { flex: 1 1 calc(50% - 8px); }
  .pc-top { grid-template-columns: 64px minmax(0, 1fr); }
  .pc-qr { grid-column: 1 / -1; flex-direction: row; justify-content: flex-start; gap: 12px; }
  .card-qr-img { width: 88px; height: 88px; }
  .profile-card { aspect-ratio: auto; overflow: visible; height: auto; min-height: 0; }
  .pc-body { height: auto; }
  .pc-contact { grid-template-columns: 1fr; }
  .pc-row-txt { white-space: normal; }
  .cv-item-h { flex-wrap: wrap; }
  .cv-dates { white-space: normal; }
  .profile-row { flex-wrap: wrap; }
  .ad-admin-master { display: block; }
  .an-row { align-items: flex-start; }
  .an-row span { overflow-wrap: anywhere; }
  .site-footer nav { gap: 8px 12px; }
  .ad-stats-table th, .ad-stats-table td { word-break: break-word; }
}
@media (max-width: 420px) {
  .brand small { display: none; }
  .stats { grid-template-columns: 1fr; }
  .dash-menu { grid-template-columns: 1fr; }
}
@media print {
  .nav-toggle { display: none !important; }
  .site-nav { display: flex !important; }
  .cv-doc { border: 0; box-shadow: none; border-radius: 0; }
  .cv-photo, .cv-photo-frame { width: 35mm; height: 45mm; }
}
