@import url("https://fonts.googleapis.com/css2?family=Saira+Condensed:wght@600;700;800&display=swap");
:root {
  --bg-top: #eef2f4;
  --bg-bottom: #e6edf0;
  --ink: #122029;
  --muted: #5b6e7c;
  --brand: #0f766e;
  --brand-dark: #0b5f59;
  --accent: #d97706;
  --panel: rgba(255, 255, 255, 0.88);
  --panel-border: rgba(18, 32, 41, 0.12);
  --danger: #b91c1c;
  --success-bg: #d9fbe6;
  --success-ink: #065f46;
  --error-bg: #fee2e2;
  --error-ink: #991b1b;
  --primary: var(--brand);
  --primary-strong: var(--brand-dark);
  --secondary: #14242f;
  --border: #d4dce1;
  --font-display: "Saira Condensed", "Manrope", "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --shadow-sm: 0 2px 10px rgba(10, 18, 25, 0.06);
  --shadow-md: 0 14px 36px rgba(10, 18, 25, 0.1);
  --focus-ring: 0 0 0 3px rgba(15, 118, 110, 0.2);
  --carbon: #0a1219;
  --carbon-2: #0e1c27;
  --teal-bright: #2dd4bf;
  --amber: #fbbf24;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.02rem;
  background: linear-gradient(rgba(18, 32, 41, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(18, 32, 41, 0.035) 1px, transparent 1px), linear-gradient(165deg, var(--bg-top), var(--bg-bottom));
  background-size: 44px 44px, 44px 44px, 100% 100%;
  background-attachment: fixed;
  line-height: 1.55;
}
h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: 0.005em;
  line-height: 1.08;
}
h1 {
  font-weight: 800;
  text-transform: uppercase;
}
h2,
h3 {
  font-weight: 700;
}
body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.16;
}
body::before {
  width: 320px;
  height: 320px;
  background: #2dd4bf;
  top: -110px;
  left: -90px;
}
body::after {
  width: 300px;
  height: 300px;
  background: #14242f;
  right: -100px;
  bottom: -120px;
}
.shell {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0.8rem 1rem 2.5rem;
}
.topbar {
  position: sticky;
  top: 0.6rem;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
  padding: 0.45rem 0.8rem;
  background: rgba(10, 18, 25, 0.88);
  border: 1px solid rgba(141, 178, 199, 0.18);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
}
.brand {
  text-decoration: none;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.brand::after {
  content: ".";
  color: var(--teal-bright);
}
.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.nav-toggle,
.nav a,
.nav button {
  text-decoration: none;
  border: 1px solid transparent;
  color: rgba(255, 255, 255, 0.82);
  background: transparent;
  border-radius: var(--radius-md);
  padding: 0.42rem 0.86rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}
.nav-toggle {
  display: none;
}
.nav a:hover,
.nav button:hover,
.nav-toggle:hover {
  color: #fff;
  background: rgba(45, 212, 191, 0.12);
  border-color: rgba(45, 212, 191, 0.25);
}
.nav .active {
  background: rgba(45, 212, 191, 0.16);
  border-color: rgba(45, 212, 191, 0.35);
  color: var(--teal-bright);
}
.nav a:focus-visible,
.nav button:focus-visible,
.nav-toggle:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}
.nav-inline-form {
  display: inline;
}
#a11y-toggle,
#desc-toggle {
  position: fixed;
  left: 0.7rem;
  bottom: 4rem;
  z-index: 9999;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 2px solid rgba(19, 34, 55, 0.2);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(4px);
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
#desc-toggle {
  left: 1rem;
  bottom: 4.2rem;
}
#a11y-toggle:hover,
#desc-toggle:hover {
  background: #fff;
  border-color: #005c56;
  transform: scale(1.05);
}
#a11y-toggle:active,
#desc-toggle:active {
  transform: scale(0.95);
}
#a11y-toggle.is-active,
#desc-toggle.is-active {
  background: #005c56 !important;
  color: #fff !important;
  border-color: #005c56 !important;
}
.desc-hidden .pq-click-card-body small {
  display: none !important;
}
.desc-hidden .pq-click-card-body strong {
  font-size: 1rem;
}
.page-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-md);
}
.page-card::before,
.page-card::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  pointer-events: none;
  opacity: 0.9;
}
.page-card::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--brand);
  border-left: 2px solid var(--brand);
  border-top-left-radius: var(--radius-lg);
}
.page-card::after {
  bottom: -1px;
  right: -1px;
  border-bottom: 2px solid var(--brand);
  border-right: 2px solid var(--brand);
  border-bottom-right-radius: var(--radius-lg);
}
.panel {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}
.small-panel {
  max-width: 480px;
}
.row,
.row-between {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  flex-wrap: wrap;
}
.row-between {
  justify-content: space-between;
}
.columns-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}
.columns-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}
.card {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.9rem;
  background: rgba(255, 255, 255, 0.92);
}
.flash,
.flash-error {
  position: fixed;
  top: 1.1rem;
  left: 50%;
  transform: translateX(-50%) translateY(-120%);
  z-index: 9999;
  min-width: 280px;
  max-width: min(480px, calc(100vw - 2rem));
  border-radius: var(--radius-md);
  padding: 0.9rem 1.1rem 0.9rem 1rem;
  font-size: 0.97rem;
  font-weight: 600;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.18), 0 2px 8px rgba(15, 23, 42, 0.1);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  transition: transform 360ms cubic-bezier(0.34, 1.56, 0.64, 1), opacity 260ms ease;
  opacity: 0;
}
.flash.toast-in,
.flash-error.toast-in {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.flash {
  background: #ecfdf5;
  color: #065f46;
  border: 1.5px solid #6ee7b7;
}
.flash::before {
  content: "✓";
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.flash-error {
  background: #fff1f2;
  color: #9f1239;
  border: 1.5px solid #fda4af;
}
.flash-error::before {
  content: "x";
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.toast-close {
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  opacity: 0.55;
  font-size: 1rem;
  padding: 0 0 0 0.5rem;
  line-height: 1;
  flex-shrink: 0;
}
.toast-close:hover {
  opacity: 1;
}
.errors {
  border-radius: 12px;
  padding: 0.72rem 0.9rem;
  margin-bottom: 0.9rem;
  background: var(--error-bg);
  color: var(--error-ink);
  border-left: 4px solid #f87171;
}
.alert {
  margin-bottom: 1rem;
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.85rem;
  background: rgba(217, 227, 244, 0.8);
  color: var(--ink);
}
.alert-success {
  background: var(--success-bg);
  color: var(--success-ink);
}
.alert-error,
.alert-danger {
  background: var(--error-bg);
  color: var(--error-ink);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 0;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  padding: 0.66rem 1.25rem;
  text-decoration: none;
  font: inherit;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: transform 140ms ease, background-color 140ms ease, box-shadow 140ms ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(1px);
}
.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}
.btn-primary {
  background: var(--brand);
  color: #fff;
}
.btn-primary:hover {
  background: var(--brand-dark);
}
.btn-alt {
  background: #dbe4e9;
  color: var(--ink);
}
.btn-alt:hover {
  background: #ccd9e0;
}
.btn-danger {
  background: var(--danger);
  color: #fff;
}
.profile-status {
  margin-bottom: 0.9rem;
  padding: 0.7rem 0.8rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.profile-status-ready {
  background: #e9f8f0;
  color: #205c3b;
  border-color: #b8dfc9;
}
.profile-status-pending {
  background: #fff5e8;
  color: #7a4a15;
  border-color: #efd0a8;
}
.profile-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
.profile-form-grid label {
  display: grid;
  gap: 0.35rem;
}
.profile-form-grid .field-full {
  grid-column: 1 / -1;
}
.json-box {
  margin: 0;
  padding: 0.7rem;
  border-radius: 8px;
  border: 1px solid #cfd7e2;
  background: #f8fbff;
  overflow: auto;
  max-height: 360px;
  font-size: 0.82rem;
  line-height: 1.35;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1rem;
}
.field {
  margin-top: 0.75rem;
}
.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.28rem;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1.5px solid #c6d2e0;
  border-radius: var(--radius-sm);
  padding: 0.62rem 0.72rem;
  font: inherit;
  background: rgba(255, 255, 255, 0.92);
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: var(--focus-ring);
}
input[type="radio"],
input[type="checkbox"] {
  accent-color: #0f766e;
  width: 18px;
  height: 18px;
  margin: 0;
  flex-shrink: 0;
  cursor: pointer;
}
.pq-card:has(input[type="radio"]:checked) {
  border-color: rgba(15, 118, 110, 0.5);
  background: rgba(15, 118, 110, 0.08);
}
.field-inline {
  display: flex;
  gap: 0.55rem;
  align-items: center;
}
.helper {
  font-size: 0.86rem;
  color: var(--muted);
  margin-top: 0.3rem;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th,
td {
  padding: 0.62rem;
  border-bottom: 1px solid rgba(19, 34, 55, 0.12);
  text-align: left;
  vertical-align: top;
}
th {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.muted {
  color: var(--muted);
  font-size: 0.95rem;
}
.page-card details {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.7);
  padding: 0;
  margin-top: 0.6rem;
  overflow: hidden;
}
.page-card details summary {
  list-style: none;
  cursor: pointer;
  padding: 0.78rem 0.95rem;
  position: relative;
  padding-right: 2.4rem;
  transition: background 130ms ease;
}
.page-card details summary::-webkit-details-marker {
  display: none;
}
.page-card details summary::after {
  content: "▾";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brand);
  transition: transform 160ms ease;
}
.page-card details[open] summary::after {
  transform: translateY(-50%) rotate(180deg);
}
.page-card details summary:hover {
  background: rgba(15, 118, 110, 0.05);
}
.page-card details[open] summary {
  border-bottom: 1px solid var(--border);
  background: rgba(15, 118, 110, 0.04);
}
.page-card details > *:not(summary) {
  margin: 0.7rem 0.95rem;
}
.wiki-hero {
  background: linear-gradient(rgba(141, 178, 199, 0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(141, 178, 199, 0.1) 1px, transparent 1px), radial-gradient(ellipse 70% 80% at 70% 10%, rgba(20, 184, 166, 0.18), transparent 60%), linear-gradient(155deg, var(--carbon-2) 0%, var(--carbon) 100%);
  background-size: 44px 44px, 44px 44px, 100% 100%, 100% 100%;
  color: #fff;
  padding: 56px 20px;
  text-align: center;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(141, 178, 199, 0.18);
}
.wiki-hero h1 {
  margin: 0 0 12px;
  font-size: 2.6rem;
}
.wiki-hero p {
  margin: 0 auto;
  font-size: 1.05rem;
  opacity: 0.85;
  max-width: 600px;
}
.wiki-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 32px auto;
  padding: 0 4px;
}
.wiki-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 24px;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.wiki-card:hover {
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.1);
  border-color: rgba(15, 118, 110, 0.3);
  transform: translateY(-2px);
}
.wiki-card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  color: #0f172a;
}
.wiki-card p {
  margin: 0;
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.5;
}
.wiki-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 999px;
  margin-top: 10px;
}
.wiki-badge.draft {
  background: #fef3c7;
  color: #92400e;
}
.wiki-badge.published {
  background: #dcfce7;
  color: #166534;
}
.wiki-show-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 32px 20px;
}
.wiki-show-header {
  margin-bottom: 32px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 24px;
}
.wiki-show-header h1 {
  margin: 0 0 10px;
  font-size: 2rem;
  color: #0f172a;
}
.wiki-show-header p {
  margin: 0;
  color: #64748b;
  font-size: 1.05rem;
}
.wiki-show-draft {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fef3c7;
  color: #92400e;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.wiki-content {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #334155;
}
.wiki-content h2 {
  font-size: 1.5rem;
  color: #0f172a;
  margin: 36px 0 14px;
}
.wiki-content h3 {
  font-size: 1.25rem;
  color: #0f172a;
  margin: 28px 0 12px;
}
.wiki-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 24px 0 10px;
}
.wiki-content p {
  margin: 0 0 16px;
}
.wiki-content ul,
.wiki-content ol {
  margin: 0 0 16px;
  padding-left: 24px;
}
.wiki-content li {
  margin-bottom: 6px;
}
.wiki-content blockquote {
  border-left: 4px solid #0f766e;
  margin: 20px 0;
  padding: 12px 20px;
  background: #f8fafc;
  color: #475569;
  font-style: italic;
  border-radius: 0 8px 8px 0;
}
.wiki-content blockquote cite {
  display: block;
  margin-top: 8px;
  font-size: 0.9rem;
  color: #64748b;
  font-style: normal;
  font-weight: 600;
}
.wiki-content pre {
  background: #1e293b;
  color: #e2e8f0;
  padding: 16px;
  border-radius: var(--radius-sm);
  overflow-x: auto;
  font-size: 0.92rem;
  margin: 20px 0;
}
.wiki-content pre code {
  font-family: "Fira Code", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.wiki-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  margin: 20px 0;
}
.wiki-content figure {
  margin: 20px 0;
}
.wiki-content figcaption {
  font-size: 0.85rem;
  color: #64748b;
  text-align: center;
  margin-top: 6px;
}
.wiki-content hr {
  border: none;
  border-top: 2px solid #e2e8f0;
  margin: 32px 0;
}
.wiki-content .table-wrapper {
  overflow-x: auto;
  margin: 20px 0;
}
.wiki-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.wiki-content th,
.wiki-content td {
  border: 1px solid #e2e8f0;
  padding: 10px 12px;
  text-align: left;
}
.wiki-content th {
  background: #f8fafc;
  font-weight: 700;
  color: #0f172a;
  text-transform: none;
  letter-spacing: 0;
}
.wiki-content tr:nth-child(even) td {
  background: #f8fafc;
}
.wiki-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0f766e;
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 20px;
}
.wiki-back:hover {
  text-decoration: underline;
}
.footer {
  margin-top: 2rem;
  color: rgba(238, 246, 245, 0.72);
  font-size: 0.9rem;
  background: var(--carbon-2);
  border: 1px solid rgba(141, 178, 199, 0.18);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.4rem 0.9rem;
}
.footer a {
  color: inherit;
  text-decoration: none;
}
.footer a:hover {
  color: var(--teal-bright);
  text-decoration: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1.4rem;
}
.footer-col h4 {
  margin: 0 0 0.55rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--teal-bright);
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
}
.footer-brand::after {
  content: ".";
  color: var(--teal-bright);
}
.footer-tagline {
  margin: 0.35rem 0 0.55rem;
  line-height: 1.5;
}
.footer-vat {
  font-size: 0.82rem;
  opacity: 0.85;
}
.footer-contact {
  display: grid;
  gap: 0.32rem;
}
.footer-contact span {
  display: block;
}
.footer-links {
  display: grid;
  gap: 0.3rem;
}
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.7rem;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}
.footer-social a:hover {
  text-decoration: none;
  opacity: 0.88;
}
.footer-social .social-whatsapp {
  background: #25d366;
}
.footer-social .social-facebook {
  background: #1877f2;
}
.footer-social .social-instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366);
}
.footer-social .social-tiktok {
  background: #111;
}
.footer-social .social-linkedin {
  background: #0a66c2;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(141, 178, 199, 0.15);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(238, 246, 245, 0.5);
}
body.admin-area {
  background: #c8c8c8;
  color: #111;
  font-family: "Courier New", Courier, monospace;
  line-height: 1.25;
}
body.admin-area::before,
body.admin-area::after {
  display: none;
}
body.admin-area .shell {
  max-width: none;
  padding: 0.45rem 0.55rem 0.9rem;
}
body.admin-area .topbar {
  position: static;
  margin-bottom: 0.45rem;
  gap: 0.45rem;
  padding: 0.35rem 0.45rem;
  background: #d4d0c8;
  border: 1px solid #808080;
  border-radius: 0;
  backdrop-filter: none;
  box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #666;
}
body.admin-area .brand {
  font-family: "Courier New", Courier, monospace;
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #111;
}
body.admin-area .brand::after {
  content: none;
}
body.admin-area .nav a,
body.admin-area .nav button,
body.admin-area .nav-toggle {
  color: #111;
}
body.admin-area .footer,
body.admin-area .footer-bottom {
  color: #111;
  font-family: "Courier New", Courier, monospace;
  text-transform: none;
  letter-spacing: 0;
}
body.admin-area .footer-brand,
body.admin-area .footer-col h4 {
  color: #111;
  font-family: "Courier New", Courier, monospace;
  letter-spacing: 0;
}
body.admin-area .page-card::before,
body.admin-area .page-card::after {
  display: none;
}
body.admin-area .btn {
  clip-path: none;
  text-transform: none;
  letter-spacing: 0;
  font-family: "Courier New", Courier, monospace;
}
body.admin-area .nav {
  gap: 0.25rem;
}
body.admin-area .nav a,
body.admin-area .nav button,
body.admin-area .nav-toggle,
body.admin-area .btn {
  border: 1px solid #808080;
  border-radius: 0;
  padding: 0.24rem 0.5rem;
  background: #d4d0c8;
  color: #111;
  box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #666;
}
body.admin-area .page-card,
body.admin-area .admin-box,
body.admin-area .admin-kpi-card,
body.admin-area .admin-kpi,
body.admin-area .settings-card {
  background: #d4d0c8;
  border: 1px solid #808080;
  border-radius: 0;
  padding: 0.55rem;
  box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #666;
  backdrop-filter: none;
}
body.admin-area .field label,
body.admin-area .muted,
body.admin-area .helper,
body.admin-area th,
body.admin-area td,
body.admin-area p,
body.admin-area li,
body.admin-area input,
body.admin-area select,
body.admin-area textarea,
body.admin-area button,
body.admin-area a {
  font-size: 12px;
}
body.admin-area h1 {
  font-size: 18px;
  line-height: 1.1;
}
body.admin-area h2,
body.admin-area h3 {
  font-size: 13px;
  line-height: 1.15;
}
body.admin-area .field input,
body.admin-area .field textarea,
body.admin-area .field select {
  border: 1px solid #808080;
  border-radius: 0;
  padding: 0.22rem 0.35rem;
  background: #fff;
  color: #111;
  box-shadow: inset 1px 1px 0 #666, inset -1px -1px 0 #fff;
}
body.admin-area th {
  color: #222;
  font-weight: 700;
  background: #c9c5bd;
  text-transform: none;
  letter-spacing: 0;
}
body.admin-area .footer {
  margin-top: 0.45rem;
  padding: 0.3rem 0.45rem;
  border: 1px solid #808080;
  border-radius: 0;
  background: #d4d0c8;
  backdrop-filter: none;
  box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #666;
}
body.admin-area .footer-grid {
  display: block;
}
body.admin-area .footer-bottom {
  border-top: none;
  margin-top: 0.3rem;
  padding-top: 0;
}
@media (max-width: 920px) {
  .shell {
    max-width: none;
    padding: 0.4rem 0.35rem 1.5rem;
  }
  body.admin-area .shell {
    padding: 0.25rem 0.15rem 0.5rem;
  }
  .page-card {
    padding: 0.7rem 0.6rem;
    border-radius: 12px;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .columns-2,
  .columns-3,
  .profile-form-grid {
    grid-template-columns: 1fr;
  }
  .topbar {
    top: 0.3rem;
    gap: 0.25rem;
    margin-bottom: 0.6rem;
    padding: 0.4rem 0.6rem;
    border-radius: 12px;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .nav {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.3rem;
    border: 1px solid rgba(141, 178, 199, 0.2);
    border-radius: var(--radius-md);
    background: rgba(14, 28, 39, 0.97);
  }
  .nav.is-open {
    display: flex;
  }
  .nav a,
  .nav button {
    width: 100%;
    text-align: left;
  }
  .nav .nav-inline-form {
    display: block;
    width: 100%;
  }
  .wiki-hero {
    padding: 40px 16px;
    border-radius: 12px;
  }
  .wiki-hero h1 {
    font-size: 1.7rem;
  }
  .footer {
    padding: 1rem 0.9rem 0.7rem;
    margin-top: 1.2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
@media (max-width: 640px) {
  .grid {
    grid-template-columns: 1fr;
  }
}
/* Twemoji: le emoji sostituite con SVG devono seguire la riga di testo */
img.emoji {
  height: 1em;
  width: 1em;
  margin: 0 0.07em;
  vertical-align: -0.125em;
  display: inline-block;
}
