:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --brand: #0f766e;
  --brand-dark: #115e59;
  --brand-soft: #ccfbf1;
  --accent: #1d4ed8;
  --accent-soft: #dbeafe;
  --warn: #b45309;
  --warn-soft: #ffedd5;
  --danger: #be123c;
  --danger-soft: #ffe4e6;
  --ok: #15803d;
  --ok-soft: #dcfce7;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --nav-h: 72px;
  --font: "Vazirmatn", "Tahoma", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button, input, select, textarea {
  font: inherit;
}
.container {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

/* Nav */
.topnav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topnav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-weight: 800;
  color: var(--brand-dark);
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0f766e, #1d4ed8);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: .95rem;
  box-shadow: 0 8px 18px rgba(15, 118, 110, 0.25);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: .2rem;
  flex-wrap: nowrap;
}
.nav-links a {
  padding: .45rem .75rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: .92rem;
  transition: .15s ease;
}
.nav-links a:hover,
.nav-links a.active {
  background: var(--brand-soft);
  color: var(--brand-dark);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.nav-icon {
  position: relative;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #334155;
  border: 1px solid transparent;
}
.nav-icon:hover,
.nav-icon.active {
  background: var(--brand-soft);
  color: var(--brand-dark);
}
.nav-icon .badge-dot {
  position: absolute;
  top: 2px;
  left: 2px;
  margin: 0;
}
.user-menu { position: relative; }
.user-menu-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: .2rem .55rem .2rem .2rem;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  color: var(--brand-dark);
  max-width: 160px;
}
.user-menu-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #0f766e, #1d4ed8);
  color: #fff;
  font-size: .8rem;
  flex-shrink: 0;
}
.user-menu-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .86rem;
}
.user-menu-caret { font-size: .7rem; color: #64748b; }
.user-menu-drop {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 180px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(15,23,42,.12);
  padding: .4rem;
  z-index: 80;
}
.user-menu.open .user-menu-drop { display: block; }
.user-menu-drop a {
  display: block;
  padding: .55rem .75rem;
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 600;
  color: #0f172a;
}
.user-menu-drop a:hover { background: #f1f5f9; }
.user-menu-drop .user-menu-out { color: #be123c; }
.url-copy {
  display: flex;
  gap: .4rem;
  align-items: stretch;
}
.url-copy input {
  flex: 1;
  min-width: 0;
  font-size: .82rem;
  direction: ltr;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .45rem .6rem;
  background: #f8fafc;
  cursor: default;
}
.url-copy-dash { margin-top: .75rem; max-width: 520px; }
.url-copy-dash input {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.25);
  color: #fff;
}
.badge-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--danger);
  color: #fff;
  font-size: .7rem;
  margin-right: .25rem;
  padding: 0 .35rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  border: 0;
  border-radius: 999px;
  padding: .65rem 1.15rem;
  cursor: pointer;
  font-weight: 600;
  transition: .15s ease;
  text-align: center;
}
.btn-primary {
  background: linear-gradient(135deg, #0f766e, #0d9488);
  color: #fff;
  box-shadow: 0 8px 18px rgba(15, 118, 110, 0.25);
}
.btn-primary:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn-secondary {
  background: #fff;
  color: var(--brand-dark);
  border: 1px solid var(--line);
}
.btn-secondary:hover { border-color: var(--brand); background: var(--brand-soft); }
.btn-accent {
  background: var(--accent);
  color: #fff;
}
.btn-danger {
  background: var(--danger-soft);
  color: var(--danger);
}
.btn-ok {
  background: var(--ok-soft);
  color: var(--ok);
}
.btn-sm {
  padding: .4rem .8rem;
  font-size: .85rem;
}
.btn-block { width: 100%; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 0 2.5rem;
  background:
    radial-gradient(circle at 10% 20%, rgba(13, 148, 136, 0.18), transparent 35%),
    radial-gradient(circle at 90% 10%, rgba(29, 78, 216, 0.15), transparent 30%),
    linear-gradient(180deg, #ecfeff 0%, var(--bg) 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2rem;
  align-items: center;
}
.hero h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  line-height: 1.35;
  margin: 0 0 1rem;
}
.hero p.lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 1.5rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
.hero-card {
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(226,232,240,0.9);
  border-radius: 24px;
  padding: 1.25rem;
  box-shadow: var(--shadow);
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
}
.stat-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: .9rem;
}
.stat-item strong {
  display: block;
  font-size: 1.4rem;
  color: var(--brand-dark);
}
.stat-item span {
  color: var(--muted);
  font-size: .85rem;
}

/* Layout helpers */
.section { padding: 2rem 0; }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.section-head h2 {
  margin: 0;
  font-size: 1.35rem;
}
.section-head p {
  margin: .25rem 0 0;
  color: var(--muted);
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}
.card-body { padding: 1.15rem 1.25rem; }
.card-title {
  margin: 0 0 .4rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.55;
  overflow-wrap: break-word;
  white-space: normal;
}
.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: .75rem;
}
.muted { color: var(--muted); }
.clamp-2,
.clamp-3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.85;
  overflow-wrap: break-word;
  flex: 0 0 auto;
}
.clamp-2 {
  -webkit-line-clamp: 2;
  line-clamp: 2;
}
.clamp-3 {
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

/* Chips / tags */
.chip {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: .2rem .6rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  background: #f1f5f9;
  color: #334155;
}
.chip-brand { background: var(--brand-soft); color: var(--brand-dark); }
.chip-accent { background: var(--accent-soft); color: var(--accent); }
.chip-warn { background: var(--warn-soft); color: var(--warn); }
.chip-danger { background: var(--danger-soft); color: var(--danger); }
.chip-ok { background: var(--ok-soft); color: var(--ok); }

.presence-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  align-items: center;
  margin: 0 0 1rem;
}
.presence-bar .chip { text-decoration: none; }
.card-idle,
.featured-assoc.card-idle {
  border-style: dashed;
  border-color: color-mix(in srgb, var(--warn) 45%, var(--line));
}
.assoc-idle-note {
  background: var(--warn-soft);
  border: 1px solid color-mix(in srgb, var(--warn) 35%, transparent);
  border-radius: var(--radius);
  padding: .9rem 1.1rem;
  margin-bottom: 1.15rem;
}
.assoc-idle-note strong {
  display: block;
  color: var(--warn);
  margin-bottom: .3rem;
}
.assoc-idle-note p { margin: 0; line-height: 1.7; }
.assoc-idle-note a { font-weight: 600; }
.ctrl-table tr.row-idle td { background: color-mix(in srgb, var(--warn-soft) 70%, transparent); }

/* Forms */
.filters, .form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  margin-bottom: 1rem;
}
.filters {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr auto;
  gap: .75rem;
  align-items: end;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-grid .full { grid-column: 1 / -1; }
.field label {
  display: block;
  margin-bottom: .35rem;
  font-weight: 600;
  font-size: .9rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .7rem .9rem;
  background: #fff;
  outline: none;
  transition: .15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}
.field textarea { min-height: 120px; resize: vertical; }
.alert {
  padding: .85rem 1rem;
  border-radius: 12px;
  margin-bottom: 1rem;
}
.alert-error {
  background: var(--danger-soft);
  color: var(--danger);
  border: 1px solid #fecdd3;
}
.alert-info {
  background: var(--accent-soft);
  color: #1e3a8a;
  border: 1px solid #bfdbfe;
}
.purge-h {
  font-size: 1.05rem;
  margin: 1.2rem 0 .7rem;
}
.purge-block { margin-bottom: .8rem; }
.purge-list {
  margin: 0;
  padding-right: 1.1rem;
  line-height: 1.7;
}
.purge-confirm .purge-check {
  display: flex;
  gap: .5rem;
  align-items: flex-start;
  margin-top: .8rem;
  line-height: 1.6;
}

/* Tables / lists */
.list-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--line);
}
.list-row:last-child { border-bottom: 0; }
.list-row:hover { background: #f8fafc; }

/* Avatar */
.avatar {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  flex-shrink: 0;
}
.avatar-lg {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  font-size: 1.4rem;
}

/* Dashboard */
.dash-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.dash-stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
}
.dash-stat .label { color: var(--muted); font-size: .88rem; }
.dash-stat .value {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--brand-dark);
  margin-top: .15rem;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.panel-head {
  padding: .9rem 1.15rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fafbfc;
}
.panel-head h3 { margin: 0; font-size: 1rem; }

/* Chat */
.chat-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 1rem;
  min-height: 70vh;
}
.chat-sidebar, .chat-main {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.chat-sidebar-head, .chat-main-head {
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--line);
  background: #fafbfc;
}
.chat-list { overflow: auto; flex: 1; }
.chat-item {
  display: flex;
  gap: .75rem;
  padding: .9rem 1rem;
  border-bottom: 1px solid var(--line);
}
.chat-item:hover, .chat-item.active { background: #f0fdfa; }
.chat-messages {
  flex: 1;
  overflow: auto;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  background: linear-gradient(180deg, #f8fafc, #f0fdfa);
}
.bubble {
  max-width: min(75%, 520px);
  padding: .75rem 1rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 2px 8px rgba(15,23,42,.04);
}
.bubble.me {
  align-self: flex-start;
  background: linear-gradient(135deg, #0f766e, #0d9488);
  color: #fff;
  border: 0;
}
.bubble.them { align-self: flex-end; }
.bubble .time {
  display: block;
  margin-top: .35rem;
  font-size: .75rem;
  opacity: .75;
}
.chat-compose {
  display: flex;
  gap: .6rem;
  padding: 1rem;
  border-top: 1px solid var(--line);
  background: #fff;
}
.chat-compose textarea {
  flex: 1;
  min-height: 48px;
  max-height: 120px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: .7rem .9rem;
  resize: vertical;
}

/* Auth */
.auth-wrap {
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  background:
    radial-gradient(circle at 20% 20%, rgba(13,148,136,.12), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(29,78,216,.1), transparent 35%);
}
.auth-card {
  width: min(440px, 100%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.auth-card h1 {
  margin: 0 0 .4rem;
  font-size: 1.45rem;
}
.demo-box {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  padding: .85rem;
  margin: 1rem 0;
  font-size: .88rem;
  color: var(--muted);
}
.demo-box code {
  background: #e2e8f0;
  padding: .1rem .35rem;
  border-radius: 6px;
  color: var(--ink);
}

/* Footer */
.footer {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  background: #0f172a;
  color: #cbd5e1;
  padding: 2.5rem 0 1.5rem;
}
.footer a { color: #e2e8f0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 1.5rem;
}
.footer h4 { color: #fff; margin: 0 0 .8rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: .4rem; }
.footer-bottom {
  border-top: 1px solid rgba(148,163,184,.2);
  padding-top: 1rem;
  font-size: .88rem;
  color: #94a3b8;
}

/* Empty */
.empty {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--muted);
}

/* Detail header */
.detail-hero {
  background: linear-gradient(135deg, #0f766e 0%, #1e3a8a 100%);
  color: #fff;
  border-radius: 22px;
  padding: 1.75rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow);
}
.detail-hero h1 { margin: 0 0 .5rem; font-size: 1.6rem; }
.detail-hero p { margin: 0; opacity: .9; }
.detail-hero .chips { margin-top: .9rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.detail-hero .chip {
  background: rgba(255,255,255,.15);
  color: #fff;
}

/* Capability tags */
.cap-list {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.social-links,
.mp-socials {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: .35rem 0 .2rem;
}
.social-chip {
  display: inline-flex;
  align-items: center;
  padding: .35rem .75rem;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #0f766e;
  font-weight: 700;
  font-size: .86rem;
  text-decoration: none;
}
.social-chip:hover {
  background: #ecfdf5;
  border-color: rgba(15, 118, 110, .35);
}
.social-whatsapp { color: #15803d; }
.social-telegram { color: #0369a1; }
.social-instagram { color: #be123c; }
.social-linkedin { color: #1d4ed8; }
.social-x { color: #0f172a; }
.social-website { color: #0f766e; }

/* ── About / Dedication ── */
.about-hero {
  position: relative;
  overflow: hidden;
  padding: 3.2rem 0 2.4rem;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(13, 148, 136, 0.22), transparent 50%),
    radial-gradient(ellipse at 90% 40%, rgba(29, 78, 216, 0.16), transparent 45%),
    linear-gradient(165deg, #0f172a 0%, #0f766e 55%, #134e4a 100%);
  color: #fff;
  margin-bottom: -1.5rem;
}
.about-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  text-align: center;
}
.about-ornament {
  width: 56px;
  height: 3px;
  margin: 0 auto 1.2rem;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, #5eead4, #93c5fd, transparent);
}
.about-kicker {
  display: inline-block;
  margin: 0 0 .85rem;
  padding: .3rem .9rem;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  font-size: .85rem;
  letter-spacing: .04em;
  color: #ccfbf1;
}
.about-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.6rem, 3.2vw, 2.35rem);
  line-height: 1.4;
  font-weight: 800;
}
.about-lead {
  margin: 0 auto;
  max-width: 640px;
  font-size: 1.05rem;
  line-height: 1.9;
  color: rgba(255,255,255,.88);
}

.dedication-card {
  position: relative;
  margin-top: 2.5rem;
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgba(15, 118, 110, 0.15);
  box-shadow:
    0 4px 6px rgba(15, 23, 42, 0.03),
    0 20px 50px rgba(15, 118, 110, 0.12);
  overflow: hidden;
  padding: 0 0 1.6rem;
}
.dedication-card::before {
  content: "";
  display: block;
  height: 5px;
  background: linear-gradient(90deg, #0f766e, #1d4ed8, #0d9488);
}
.dedication-ribbon {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 1.4rem 1.5rem 0;
  padding: .4rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ecfdf5, #e0f2fe);
  color: #0f766e;
  font-weight: 700;
  font-size: .88rem;
  border: 1px solid rgba(15, 118, 110, 0.15);
}
.dedication-ribbon-icon {
  font-size: 1rem;
  color: #1d4ed8;
}
.dedication-quote {
  position: relative;
  margin: 1.2rem 1.5rem 1.5rem;
  padding: 1.4rem 1.5rem 1.2rem;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.04), rgba(29, 78, 216, 0.05));
  border-radius: 18px;
  border: 1px solid rgba(15, 118, 110, 0.1);
}
.dedication-quote p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 2.05;
  color: #1e293b;
  text-align: justify;
}
.dedication-quote strong {
  color: #0f766e;
  font-weight: 800;
}
.dedication-quote em {
  font-style: normal;
  color: #1d4ed8;
  font-weight: 700;
}
.quote-mark {
  position: absolute;
  top: .2rem;
  right: .7rem;
  font-size: 3.2rem;
  line-height: 1;
  color: rgba(15, 118, 110, 0.18);
  font-family: Georgia, serif;
  pointer-events: none;
}
.quote-mark-end {
  top: auto;
  right: auto;
  bottom: -.4rem;
  left: .7rem;
  transform: rotate(180deg);
}

.dedication-person {
  display: flex;
  gap: 1.15rem;
  align-items: flex-start;
  margin: 0 1.5rem 1.35rem;
  padding: 1.15rem 1.25rem;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid var(--line);
}
.dedication-avatar {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, #0f766e 0%, #1e3a8a 100%);
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.28);
  letter-spacing: .02em;
}
.dedication-person-info h2 {
  margin: 0 0 .35rem;
  font-size: 1.35rem;
  color: #0f172a;
}
.dedication-roles {
  margin: 0 0 .65rem;
  color: #0f766e;
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.7;
}
.dedication-roles .dot {
  margin: 0 .35rem;
  opacity: .5;
}
.dedication-note {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.85;
  text-align: justify;
}

.dedication-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  margin: 0 1.5rem;
}
.ded-badge {
  padding: .9rem 1rem;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, #f0fdfa);
  border: 1px solid rgba(15, 118, 110, 0.14);
  text-align: center;
}
.ded-badge-label {
  display: block;
  font-size: .75rem;
  color: var(--muted);
  margin-bottom: .25rem;
  font-weight: 600;
}
.ded-badge strong {
  font-size: .95rem;
  color: var(--brand-dark);
}

.about-mission-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.25rem 1.3rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  transition: .2s ease;
}
.about-mission-card:hover {
  border-color: rgba(15, 118, 110, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.1);
}
.am-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: .75rem;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 1.1rem;
  font-weight: 700;
}
.about-mission-card h3 {
  margin: 0 0 .4rem;
  font-size: 1.05rem;
}
.about-mission-card p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.75;
}

.about-panel {
  border-radius: 18px;
}
.about-h3 {
  margin: 0 0 .85rem;
  font-size: 1.15rem;
  color: var(--brand-dark);
  padding-bottom: .65rem;
  border-bottom: 2px solid var(--brand-soft);
}
.soft-card {
  background: #f8fafc;
  box-shadow: none;
}
.audience-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
}
.audience-chip {
  padding: .45rem .9rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ecfdf5, #e0f2fe);
  border: 1px solid rgba(15, 118, 110, 0.15);
  color: #134e4a;
  font-weight: 600;
  font-size: .88rem;
}
.about-steps {
  margin: 0;
  padding-right: 1.2rem;
  line-height: 2;
}
.about-steps li {
  margin-bottom: .35rem;
}
.feature-grid {
  gap: 1rem;
}
.feature-item {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  padding: .85rem;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid var(--line);
}
.feature-num {
  flex-shrink: 0;
  font-weight: 800;
  font-size: .95rem;
  color: var(--brand);
  letter-spacing: .04em;
  min-width: 2rem;
}
.feature-item h4 {
  margin: 0 0 .25rem;
  font-size: .98rem;
}
.feature-item p {
  margin: 0;
  font-size: .88rem;
}
.about-sources {
  margin: .5rem 0 0;
  padding-right: 1.2rem;
  line-height: 2;
  color: var(--muted);
}
.about-closing {
  text-align: center;
  padding: 2rem 1.5rem 1rem;
  margin-top: .5rem;
}
.about-closing-line {
  width: 80px;
  height: 3px;
  margin: 0 auto 1.25rem;
  border-radius: 99px;
  background: linear-gradient(90deg, #0f766e, #1d4ed8);
}
.about-closing p {
  max-width: 560px;
  margin: 0 auto .5rem;
  font-size: 1.05rem;
  line-height: 1.9;
  color: #334155;
}

/* ── Laws page ── */
.laws-hero {
  padding: 2.8rem 0 2rem;
  background:
    radial-gradient(ellipse at 10% 20%, rgba(29, 78, 216, 0.14), transparent 45%),
    radial-gradient(ellipse at 90% 0%, rgba(15, 118, 110, 0.16), transparent 40%),
    linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
}
.laws-hero-inner {
  max-width: 860px;
  text-align: center;
  margin-inline: auto;
}
.laws-hero h1 {
  margin: 0 0 .9rem;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  line-height: 1.4;
}
.laws-lead {
  margin: 0 auto 1.4rem;
  max-width: 640px;
  color: rgba(255,255,255,.85);
  line-height: 1.85;
  font-size: 1.02rem;
}
.laws-toc {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  justify-content: center;
}
.laws-toc a {
  padding: .4rem .85rem;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  color: #e2e8f0;
  font-size: .82rem;
  font-weight: 600;
  transition: .15s ease;
}
.laws-toc a:hover {
  background: rgba(94, 234, 212, 0.2);
  color: #fff;
  border-color: rgba(94, 234, 212, 0.35);
}

.laws-disclaimer {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
  border-radius: 14px;
  padding: 1rem 1.15rem;
  margin-bottom: 1.25rem;
  font-size: .92rem;
  line-height: 1.8;
}
.laws-disclaimer strong { color: #b45309; }

.law-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.05);
  scroll-margin-top: 90px;
}
.law-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.4rem;
  background: linear-gradient(135deg, #f8fafc, #f0fdfa);
  border-bottom: 1px solid var(--line);
}
.law-card-head h2 {
  margin: .4rem 0 .3rem;
  font-size: 1.2rem;
  line-height: 1.5;
  color: #0f172a;
}
.law-meta {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
}
.law-badge {
  display: inline-block;
  padding: .22rem .7rem;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: .75rem;
  font-weight: 700;
}
.law-badge-blue { background: var(--accent-soft); color: #1e40af; }
.law-badge-gold { background: var(--warn-soft); color: var(--warn); }
.law-badge-slate { background: #f1f5f9; color: #334155; }
.law-badge-teal { background: #ccfbf1; color: #0f766e; }
.law-badge-green { background: #dcfce7; color: #166534; }
.law-badge-rose { background: #ffe4e6; color: #9f1239; }
.law-badge-indigo { background: #e0e7ff; color: #3730a3; }
.law-badge-violet { background: #ede9fe; color: #5b21b6; }
.law-badge-amber { background: #fef3c7; color: #92400e; }

.law-card-body {
  padding: 1.15rem 1.4rem 1.4rem;
}
.law-article {
  padding: 1rem 0;
  border-bottom: 1px dashed var(--line);
}
.law-article:last-child { border-bottom: 0; }
.law-article h3 {
  margin: 0 0 .55rem;
  font-size: 1.02rem;
  color: var(--brand-dark);
}
.law-article p {
  margin: 0;
  line-height: 1.9;
  color: #334155;
  text-align: justify;
}
.law-article.highlight {
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.04), rgba(29, 78, 216, 0.04));
  border: 1px solid rgba(15, 118, 110, 0.12);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  margin: .85rem 0;
  border-bottom: 1px solid rgba(15, 118, 110, 0.12);
}
.law-list {
  margin: .4rem 0 0;
  padding-right: 1.2rem;
  line-height: 1.95;
  color: #334155;
}
.law-list .emphasis {
  background: #ecfdf5;
  border-radius: 8px;
  padding: .35rem .5rem;
  margin-top: .35rem;
  list-style-position: inside;
}
.soft-box {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .9rem 1rem;
}
.soft-box ul {
  margin: .5rem 0 0;
  padding-right: 1.1rem;
  color: var(--muted);
  line-height: 1.85;
}
.law-intro-box {
  background: #f0fdfa;
  border: 1px solid rgba(15, 118, 110, 0.15);
  border-radius: 14px;
  padding: 1rem 1.15rem;
  margin-bottom: 1rem;
}
.law-intro-box p {
  margin: 0;
  line-height: 1.9;
  color: #134e4a;
  text-align: justify;
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.process-card {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem 1.15rem;
}
.process-title {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: .75rem;
}
.process-title h3 {
  margin: 0;
  font-size: 1rem;
}
.process-num {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #0f766e, #1d4ed8);
  color: #fff;
  font-weight: 800;
  font-size: .9rem;
}
.process-card ol {
  margin: 0;
  padding-right: 1.15rem;
  color: #334155;
  line-height: 1.85;
  font-size: .92rem;
}
.process-note {
  margin: .75rem 0 0;
  font-size: .85rem;
  color: var(--muted);
  padding-top: .65rem;
  border-top: 1px dashed var(--line);
}

.related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem;
}
.related-item {
  padding: 1rem;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid var(--line);
}
.related-item h4 {
  margin: 0 0 .4rem;
  font-size: .95rem;
  color: var(--brand-dark);
}
.related-item p {
  margin: 0;
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.7;
}
.sources-box {
  margin-top: 1.15rem;
  padding: 1rem 1.15rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #eff6ff, #ecfdf5);
  border: 1px solid rgba(29, 78, 216, 0.12);
}
.sources-box h4 {
  margin: 0 0 .5rem;
  color: #1e3a8a;
}
.sources-box ul {
  margin: 0;
  padding-right: 1.15rem;
  line-height: 2;
}
.sources-box a {
  color: #0f766e;
  font-weight: 600;
}
.sources-box a:hover { text-decoration: underline; }

/* Laws categories */
.laws-cat-dir {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  margin-bottom: 1.75rem;
}
.laws-cat-link {
  display: flex;
  flex-direction: column;
  gap: .28rem;
  padding: .95rem 1rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  transition: .16s ease;
}
.laws-cat-link:hover {
  border-color: rgba(15, 118, 110, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(15, 118, 110, 0.1);
}
.laws-cat-link strong {
  font-size: .95rem;
  color: #0f172a;
}
.laws-cat-link small {
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.55;
}
.laws-cat-mark {
  display: inline-flex;
  align-self: flex-start;
  padding: .12rem .55rem;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .01em;
}
.mark-teal { background: #ccfbf1; color: #0f766e; }
.mark-green { background: #dcfce7; color: #166534; }
.mark-rose { background: #ffe4e6; color: #9f1239; }
.mark-indigo { background: #e0e7ff; color: #3730a3; }
.mark-blue { background: #dbeafe; color: #1e40af; }
.mark-violet { background: #ede9fe; color: #5b21b6; }
.mark-gold { background: #ffedd5; color: #b45309; }
.mark-amber { background: #fef3c7; color: #92400e; }
.mark-cyan { background: #cffafe; color: #0e7490; }
.mark-red { background: #ffe4e6; color: #be123c; }
.mark-slate { background: #f1f5f9; color: #334155; }

.laws-cat-head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin: 2.1rem 0 1rem;
  padding: 1rem 1.15rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #f8fafc, #f0fdfa);
  border: 1px solid var(--line);
  scroll-margin-top: 88px;
}
.laws-cat-head h2 {
  margin: 0 0 .25rem;
  font-size: 1.18rem;
  color: #0f172a;
}
.laws-cat-head p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.7;
}
.laws-cat-kicker {
  margin: 0 0 .15rem !important;
  font-size: .75rem !important;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--brand) !important;
}
.laws-cat-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #0f766e, #1d4ed8);
  color: #fff;
  font-weight: 800;
  font-size: .95rem;
}
.laws-cat-icon.icon-green { background: linear-gradient(135deg, #15803d, #0f766e); }
.laws-cat-icon.icon-rose { background: linear-gradient(135deg, #be123c, #9f1239); }
.laws-cat-icon.icon-indigo { background: linear-gradient(135deg, #3730a3, #1d4ed8); }
.laws-cat-icon.icon-blue { background: linear-gradient(135deg, #1d4ed8, #0ea5e9); }
.laws-cat-icon.icon-violet { background: linear-gradient(135deg, #6d28d9, #3730a3); }
.laws-cat-icon.icon-gold { background: linear-gradient(135deg, #b45309, #d97706); }
.laws-cat-icon.icon-amber { background: linear-gradient(135deg, #d97706, #b45309); }
.laws-cat-icon.icon-cyan { background: linear-gradient(135deg, #0e7490, #0f766e); }
.laws-cat-icon.icon-red { background: linear-gradient(135deg, #be123c, #9f1239); }
.laws-cat-icon.icon-slate { background: linear-gradient(135deg, #334155, #0f172a); }

.law-steps {
  margin: .4rem 0 0;
  padding-right: 1.25rem;
  line-height: 2;
  color: #334155;
}
.law-type-grid {
  margin-top: .75rem;
}
.law-type-grid .soft-box p {
  margin: .45rem 0 0;
  font-size: .86rem;
  color: var(--muted);
  line-height: 1.7;
  text-align: justify;
}
@media (max-width: 1100px) {
  .laws-cat-dir { grid-template-columns: repeat(2, 1fr); }
}

/* Global search */
.site-search-box {
  display: flex;
  gap: .5rem;
  margin-top: 1.15rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  padding: .35rem .35rem .35rem .9rem;
}
.site-search-box input {
  flex: 1;
  border: 0;
  background: transparent;
  color: #fff;
  min-width: 0;
  padding: .45rem 0;
}
.site-search-box input::placeholder { color: rgba(255,255,255,.65); }
.site-search-box input:focus { outline: none; }
.search-types {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: 1.15rem;
}
.search-types a { text-decoration: none; }
.search-group { margin-bottom: 1.4rem; }
.search-group h2 {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 .65rem;
  font-size: 1.05rem;
}
.search-list { display: grid; gap: .55rem; }
.search-hit {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: .85rem 1rem;
  transition: .15s ease;
}
.search-hit:hover {
  border-color: rgba(15, 118, 110, 0.35);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}
.search-hit-top {
  display: flex;
  justify-content: space-between;
  gap: .6rem;
  align-items: flex-start;
}
.search-hit-top strong { font-size: .98rem; }
.search-hit p {
  margin: .35rem 0 0;
  color: #475569;
  font-size: .9rem;
  line-height: 1.75;
}
.search-hints h2 { font-size: 1.05rem; margin: 0 0 .75rem; }

.ctrl-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-bottom: 1rem;
}
.ctrl-nav a {
  padding: .35rem .75rem;
  border-radius: 999px;
  background: #f1f5f9;
  font-weight: 700;
  font-size: .88rem;
}
.ctrl-nav a:hover { background: var(--brand-soft); color: var(--brand-dark); }
.ctrl-nav a.is-on { background: var(--brand-soft); color: var(--brand-dark); }
.ctrl-home-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  margin-top: 1.1rem;
}
.ctrl-tile {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  padding: 1rem 1.05rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  min-width: 0;
}
.ctrl-tile:hover { border-color: #99f6e4; box-shadow: var(--shadow); }
.ctrl-tile strong { font-size: 1rem; }
.ctrl-tile span { color: var(--brand-dark); font-weight: 700; font-size: .92rem; }
.ctrl-tile em { font-style: normal; color: var(--muted); font-size: .84rem; line-height: 1.6; }
.ctrl-tile > a { color: inherit; }
.ctrl-section { margin: 1.4rem 0 1.6rem; }
.ctrl-section h2 { margin: 0 0 .7rem; font-size: 1.05rem; }
.ctrl-tile-actions { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .45rem; }
.ctrl-tile-actions a {
  font-size: .78rem;
  font-weight: 700;
  padding: .2rem .55rem;
  border-radius: 999px;
  background: #f1f5f9;
}
.ctrl-tile-actions a:hover { background: var(--brand-soft); color: var(--brand-dark); }
@media (max-width: 800px) { .ctrl-home-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ctrl-home-grid { grid-template-columns: 1fr; } }
.ctrl-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.ctrl-table th, .ctrl-table td { text-align: right; padding: .5rem .4rem; border-bottom: 1px solid var(--line); }
.ctrl-checks { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem .8rem; margin-top: .5rem; }
@media (max-width: 720px) { .ctrl-checks { grid-template-columns: 1fr; } }

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .75rem 1rem;
  margin-bottom: .45rem;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { margin: .55rem 0 0; color: #475569; line-height: 1.85; }

@media (max-width: 720px) {
  .user-menu-name, .user-menu-caret { display: none; }
  .user-menu-btn { padding: .15rem; }
  .site-search-box { flex-direction: column; border-radius: 16px; padding: .65rem; }
}

/* News sources */
.news-sources {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .5rem;
  align-items: center;
  margin-top: .45rem;
}
.news-src {
  display: inline-flex;
  align-items: center;
  font-size: .78rem;
  padding: .12rem .55rem;
  border-radius: 999px;
  background: #ecfeff;
  color: #115e59;
  border: 1px solid #99f6e4;
}
.news-src:hover { background: #ccfbf1; }
.news-sources-block {
  display: block;
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.news-sources-block ul { margin: .4rem 0 0; padding-inline-start: 1.2rem; }
.news-sources-block a { color: var(--accent); text-decoration: underline; }
.laws-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1rem;
  justify-content: center;
}
.laws-toolbar input,
.laws-toolbar select {
  min-width: min(280px, 100%);
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.12);
  color: inherit;
  border-radius: 10px;
  padding: .45rem .7rem;
}
.svc-h { margin: 1.8rem 0 .8rem; font-size: 1.15rem; }
.news-card { display: block; padding: .9rem 1rem; }
.news-article { max-width: 860px; }
.news-hero {
  margin: 0 0 1.15rem;
  border-radius: 18px;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 16px 40px rgba(15, 23, 42, .14);
}
.news-hero img {
  display: block;
  width: 100%;
  height: min(420px, 52vw);
  object-fit: cover;
}
.news-hero figcaption,
.news-gallery figcaption {
  padding: .45rem .85rem .6rem;
  font-size: .8rem;
  color: #e2e8f0;
  background: #0f172a;
}
.news-hero figcaption a { color: #99f6e4; }
.news-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: .7rem;
  margin: 1.2rem 0 .4rem;
}
.news-gallery figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0f172a;
}
.news-gallery img {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: cover;
}
.news-gallery figcaption { color: #cbd5e1; }
.news-row {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: .9rem;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: .75rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, .04);
}
.news-row:not(:has(.news-thumb)) { grid-template-columns: 1fr; }
.news-thumb { display: block; background: #0f172a; min-height: 118px; }
.news-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 118px;
  object-fit: cover;
}
.news-row-body { padding: 1rem 1.1rem; min-width: 0; }
.news-home-media {
  display: block;
  height: 168px;
  background: #0f172a;
}
.news-home-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.desk-people {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-bottom: .9rem;
}
.desk-person {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .45rem .7rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fafc;
  min-width: 180px;
}
.rr-desk-msgs {
  max-height: 280px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: .4rem 0;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .grid-3,
  .grid-2,
  .grid-4,
  .dash-stats,
  .chat-layout,
  .footer-grid,
  .filters,
  .form-grid,
  .dedication-badges,
  .process-grid,
  .related-grid,
  .laws-cat-dir,
  .law-type-grid.grid-3 {
    grid-template-columns: 1fr;
  }
  .nav-links { display: none; }
  .topnav-inner { gap: .5rem; }
  .dedication-person {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .dedication-note { text-align: center; }
  .dedication-quote p { text-align: right; }
  .law-card-head { flex-direction: column; }
  .news-row { grid-template-columns: 1fr; }
  .news-thumb img { height: 180px; }
}
