:root {
  --ink: #17222c;
  --muted: #64737f;
  --line: #dfe7e8;
  --paper: #fff;
  --canvas: #f3f7f5;
  --brand: #006b61;
  --brand-dark: #064c47;
  --brand-pale: #dff4ee;
  --medical: #1d6192;
  --medical-pale: #e5f1fa;
  --pet: #b65c2d;
  --pet-pale: #fff0e7;
  --danger: #a52d37;
  --danger-pale: #fff0f1;
  --warning: #865e00;
  --warning-pale: #fff8dc;
  --shadow: 0 18px 60px rgba(25, 53, 48, .1);
  --radius: 22px;
}

* { box-sizing: border-box; }
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { max-width: 100%; }
[hidden] { display: none !important; }

.site-header {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 5vw;
  background: rgba(255, 255, 255, .9);
  border-bottom: 1px solid rgba(223, 231, 232, .9);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 800; letter-spacing: -.025em; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; color: white; background: var(--brand); border-radius: 11px; font-size: 22px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.brand-word small { display: block; margin-top: -4px; font-size: 9px; font-weight: 700; letter-spacing: .24em; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { text-decoration: none; font-size: 14px; font-weight: 650; color: #42515b; }
.nav a:hover { color: var(--brand); }
.nav-admin { opacity: .65; }

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 10vw, 132px) 5vw 86px;
  background:
    radial-gradient(circle at 85% 30%, rgba(97, 187, 167, .2), transparent 30%),
    radial-gradient(circle at 6% 90%, rgba(80, 133, 174, .15), transparent 35%),
    linear-gradient(135deg, #f9fcfa 0%, #eaf4f0 100%);
}
.hero::after { content: ""; position: absolute; width: 460px; height: 460px; right: -180px; bottom: -280px; border: 1px solid rgba(0,107,97,.15); border-radius: 50%; box-shadow: 0 0 0 70px rgba(0,107,97,.035), 0 0 0 140px rgba(0,107,97,.02); }
.hero-inner { width: min(1160px, 100%); margin: auto; position: relative; z-index: 1; }
.eyebrow { display: inline-block; margin-bottom: 14px; color: var(--brand); font-size: 12px; line-height: 1; font-weight: 800; letter-spacing: .15em; }
.hero h1 { max-width: 800px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(45px, 7.8vw, 88px); line-height: .98; font-weight: 500; letter-spacing: -.055em; }
.hero .lead { max-width: 650px; margin: 26px 0 32px; font-size: clamp(17px, 2vw, 21px); color: #52636b; }
.hero-actions, .button-row { display: flex; flex-wrap: wrap; gap: 12px; }

.button {
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 11px 18px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 750;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button:disabled { cursor: wait; opacity: .55; }
.button-primary { color: white; background: var(--brand); box-shadow: 0 7px 22px rgba(0,107,97,.2); }
.button-primary:hover { background: var(--brand-dark); }
.button-secondary { color: var(--ink); background: white; border-color: var(--line); }
.button-danger { color: var(--danger); background: var(--danger-pale); border-color: #f0c7cb; }
.button-medical { color: white; background: var(--medical); }
.button-pet { color: white; background: var(--pet); }
.button-wide { width: 100%; }
.button-small { min-height: 36px; padding: 7px 11px; font-size: 13px; border-radius: 9px; }
.button-google { margin-top: 16px; background: white; color: #33434c; border-color: var(--line); }
.google-dot { color: #4285f4; font-size: 18px; font-weight: 900; }

.section { padding: 82px 5vw; }
.section-inner { width: min(1160px, 100%); margin: auto; }
.section-heading { max-width: 680px; margin-bottom: 34px; }
.section-heading h2 { margin: 0 0 12px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(34px, 5vw, 54px); line-height: 1.04; letter-spacing: -.035em; font-weight: 500; }
.section-heading p, .muted { color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.product-card { position: relative; overflow: hidden; min-height: 390px; border: 1px solid var(--line); border-radius: 28px; padding: clamp(28px, 4vw, 48px); background: white; box-shadow: var(--shadow); }
.product-card::after { content: ""; position: absolute; width: 220px; height: 220px; right: -90px; top: -90px; border-radius: 50%; background: var(--medical-pale); }
.product-card.pet::after { background: var(--pet-pale); }
.product-icon { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 20px; background: var(--medical-pale); color: var(--medical); font-size: 31px; }
.pet .product-icon { color: var(--pet); background: var(--pet-pale); }
.product-card h3 { margin: 38px 0 10px; font-family: Georgia, "Times New Roman", serif; font-size: 36px; font-weight: 500; letter-spacing: -.03em; }
.product-card p { max-width: 440px; color: var(--muted); }
.feature-list { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 10px; }
.feature-list li::before { content: "✓"; margin-right: 9px; color: var(--brand); font-weight: 900; }

.trust-strip { background: var(--brand-dark); color: white; padding: 28px 5vw; }
.trust-inner { width: min(1160px, 100%); margin: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.trust-item { display: flex; align-items: center; gap: 13px; }
.trust-icon { flex: 0 0 40px; height: 40px; display: grid; place-items: center; background: rgba(255,255,255,.1); border-radius: 12px; }
.trust-item strong, .trust-item small { display: block; }
.trust-item small { opacity: .72; }

.page-shell { width: min(1180px, calc(100% - 32px)); margin: 34px auto 80px; }
.page-title { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 18px; margin-bottom: 26px; }
.page-title h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(38px, 6vw, 58px); line-height: 1; font-weight: 500; letter-spacing: -.04em; }
.page-title p { margin: 10px 0 0; color: var(--muted); }
.card { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 30px); box-shadow: 0 10px 35px rgba(24,55,50,.06); }
.card h2, .card h3 { margin-top: 0; }
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.card-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stack { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr); gap: 22px; align-items: start; }
.inset { padding: 18px; border-radius: 15px; background: #f7faf9; border: 1px solid var(--line); }

label { display: grid; gap: 7px; color: #46555d; font-size: 13px; font-weight: 700; }
input, select, textarea {
  width: 100%;
  color: var(--ink);
  background: white;
  border: 1px solid #cdd8da;
  border-radius: 11px;
  padding: 12px 13px;
  outline: none;
}
textarea { min-height: 100px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0,107,97,.11); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid .wide { grid-column: 1 / -1; }
.check-row { display: flex; align-items: flex-start; gap: 10px; padding: 11px 0; }
.check-row input { width: 18px; height: 18px; margin-top: 2px; }
.check-row label { display: block; }
.help { color: var(--muted); font-size: 12px; font-weight: 500; }

.notice { margin-top: 14px; padding: 12px 14px; border-radius: 11px; font-size: 14px; }
.notice-info { color: #245b74; background: #eaf6fb; border: 1px solid #c6e3ef; }
.notice-success { color: #1d664a; background: #e7f7ef; border: 1px solid #b9e4ce; }
.notice-error { color: var(--danger); background: var(--danger-pale); border: 1px solid #efc2c7; }
.notice-warning { color: var(--warning); background: var(--warning-pale); border: 1px solid #eadb9f; }
.auth-box { max-width: 460px; margin: auto; }
.auth-box h2 { margin-bottom: 4px; }
.auth-box label { margin-top: 13px; }
.auth-box .button-row { margin-top: 15px; }
.demo-credentials { margin-top: 18px; padding: 15px; display: grid; gap: 4px; color: #334155; background: #f0f7ff; border: 1px solid #c9def5; border-radius: 13px; }
.demo-credentials strong { color: #174d7a; }
.demo-credentials span { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; }
.demo-credentials .button { margin-top: 8px; }
.demo-credentials small { margin-top: 4px; color: var(--muted); }
.divider { display: flex; align-items: center; gap: 12px; margin: 18px 0 5px; color: #8a969c; font-size: 12px; }
.divider::before, .divider::after { content: ""; height: 1px; background: var(--line); flex: 1; }

.profile-list { min-width: 0; display: grid; gap: 12px; }
.chip-search { margin: 14px 0 16px; }
.dashboard-actions { align-items: flex-end; }
.chip-search-header { flex: 1 1 250px; min-width: min(250px, 100%); margin: 0; }
.chip-search-header span { display: block; margin-bottom: 5px; color: var(--muted); font-size: 11px; font-weight: 700; }
.chip-search-header input { min-height: 46px; }
.links-card-heading, .link-group-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.links-card-heading { align-items: flex-start; margin-bottom: 8px; }
.links-card-heading h2, .link-group-heading h3 { margin: 0; }
.links-card-heading .muted { margin: 7px 0 0; font-size: 13px; }
.link-group { padding-top: 22px; margin-top: 22px; border-top: 1px solid var(--line); }
.link-group-heading { margin-bottom: 14px; }
.link-group-heading .eyebrow { margin-bottom: 7px; }
.select-group { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 13px; font-weight: 700; }
.select-group input, .tag-selector { width: 18px; height: 18px; accent-color: var(--brand); }
.tag-selector { flex: 0 0 18px; margin: 4px 0 0; }
.profile-row { width: 100%; min-width: 0; display: flex; align-items: center; gap: 15px; padding: 16px; border: 1px solid var(--line); border-radius: 15px; background: white; }
.profile-avatar { width: 50px; height: 50px; flex: 0 0 50px; display: grid; place-items: center; overflow: hidden; border-radius: 15px; background: var(--brand-pale); font-size: 24px; }
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-meta { flex: 1; min-width: 0; }
.profile-meta strong, .profile-meta span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.profile-meta span { color: var(--muted); font-size: 13px; }
.profile-meta .profile-created { margin-top: 2px; font-size: 12px; }
.profile-meta .profile-url { display: block; margin-top: 4px; color: #176a94; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.profile-meta .profile-url-missing { margin-top: 4px; color: #8a969c; font-size: 12px; font-style: italic; }
.profile-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 7px; }
.profile-row-tag .profile-actions { flex: 0 0 auto; }

.status { display: inline-flex; align-items: center; gap: 6px; border-radius: 99px; padding: 5px 9px; font-size: 11px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; background: #edf1f1; color: #536068; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-active, .status-verified { color: #147552; background: #e2f6ed; }
.status-used { color: #315b8d; background: #e9f1fb; }
.status-inactive { color: #68747a; background: #edf1f1; }
.status-unclaimed, .status-pending { color: #84600d; background: #fff5d9; }
.status-suspended { color: #9a4f13; background: #fff0df; }
.status-revoked { color: #9e3541; background: #ffe8ea; }
.status-programmed { color: #315b8d; background: #e9f1fb; }

/* Compact, independently controlled dashboard link groups. */
.links-overview-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.links-overview-bar p { margin: 0; font-size: 13px; }
.dashboard-link-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.link-card { min-width: 0; overflow: hidden; padding: 0; }
.link-card-medical { border-top: 4px solid var(--medical); }
.link-card-pet { border-top: 4px solid var(--pet); }
.link-card summary { list-style: none; }
.link-card summary::-webkit-details-marker { display: none; }
.link-card-summary { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 20px; cursor: pointer; user-select: none; }
.link-card-summary .eyebrow { display: block; margin: 0 0 5px; }
.link-card-medical .link-card-summary .eyebrow { color: var(--medical); }
.link-card-pet .link-card-summary .eyebrow { color: var(--pet); }
.link-card-summary strong { display: block; color: var(--ink); font-size: 18px; }
.link-card-summary-meta { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.link-card-chevron { display: inline-block; font-size: 20px; line-height: 1; transition: transform .18s ease; }
.link-card details:not([open]) .link-card-chevron { transform: rotate(-90deg); }
.link-card-body { padding: 0 20px 20px; border-top: 1px solid var(--line); }
.link-card-controls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; align-items: end; gap: 9px; padding: 14px 0 12px; }
.link-card-controls label { min-width: 0; font-size: 11px; }
.link-card-controls select { min-height: 38px; padding: 7px 9px; border-radius: 9px; font-size: 12px; }
.link-card-controls .select-group { min-height: 38px; align-self: end; padding: 0 3px; white-space: nowrap; }
.compact-profile-list { gap: 6px; }
.compact-profile-list .profile-row-tag { display: grid; grid-template-columns: 18px minmax(0, 1fr); align-items: center; gap: 10px; min-height: 44px; padding: 8px 10px; border-radius: 10px; background: #f9fbfa; }
.compact-profile-list .profile-row-tag:hover { background: #f3f7f5; border-color: #cbd9d7; }
.compact-profile-list .tag-selector { margin: 0; }
.compact-profile-list .profile-meta { display: flex; align-items: center; gap: 12px; }
.compact-profile-list .profile-meta .profile-url { min-width: 0; flex: 1; margin: 0; font-size: 12px; }
.compact-profile-list .profile-meta .profile-created { flex: 0 0 auto; margin: 0; color: #7b888f; font-size: 11px; white-space: nowrap; }
.compact-profile-list .compact-link-status { flex: 0 0 auto; padding: 3px 7px; font-size: 9px; }
.compact-profile-list .compact-link-status::before { width: 5px; height: 5px; }
.compact-profile-list .empty { padding: 20px 10px; font-size: 13px; }
.deleted-links-card { border-top: 4px solid #94a3b8; }
.deleted-links-card .link-card-summary .eyebrow { color: #64748b; }
.deleted-links-body { padding-top: 14px; }
.deleted-link-list .deleted-link-row { display: block; }
.deleted-link-list .profile-meta { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 12px; }
.deleted-link-list .profile-meta .profile-deleted { color: #9e3541; font-size: 11px; white-space: nowrap; }

.public-wrap { min-height: 100vh; padding: 22px 16px 50px; background: radial-gradient(circle at 50% 0, rgba(63,156,137,.15), transparent 35%), var(--canvas); }
.public-card { width: min(650px, 100%); margin: auto; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); }
.public-top { padding: 26px; text-align: center; background: linear-gradient(150deg, #eff8f5, #fff); }
.public-top.pet-theme { background: linear-gradient(150deg, #fff0e7, #fff); }
.public-photo { width: 156px; height: 156px; margin: 10px auto 20px; display: grid; place-items: center; overflow: hidden; border: 5px solid white; border-radius: 50%; background: #e5efec; box-shadow: 0 10px 35px rgba(25,53,48,.14); font-size: 58px; }
.public-photo img { width: 100%; height: 100%; object-fit: cover; }
.public-top h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 42px; font-weight: 500; letter-spacing: -.035em; }
.public-body { display: grid; gap: 15px; padding: 22px; }
.info-panel { padding: 18px; background: #f7faf9; border: 1px solid var(--line); border-radius: 16px; }
.info-panel.alert { background: var(--danger-pale); border-color: #efc7cb; }
.info-panel h2 { margin: 0 0 9px; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; }
.info-panel p { margin: 4px 0; white-space: pre-line; }
.contact-whatsapp { color: #047857; background: #ecfdf5; border-color: #a7f3d0; }
.public-profile-edit-panel .notice { margin-top: 12px; }
.tagline { color: var(--muted); }
.lost-banner { padding: 17px; color: white; background: var(--pet); text-align: center; font-weight: 800; }
.public-footer { padding: 20px; color: var(--muted); font-size: 12px; text-align: center; border-top: 1px solid var(--line); }
.public-footer a { color: #2563eb; text-underline-offset: 2px; }
.public-footer p { margin: 3px 0; }
.public-profile-footer-details { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 14px; overflow-wrap: anywhere; text-align: left; }
.public-footer-powered { text-align: center; }
.dashboard-pet-editor-footer { margin-top: 22px; background: transparent; }
.public-profile-recovery { margin: 12px auto 0; font-size: 13px; }

/* Restored Emergency Medical ID presentation. This is intentionally scoped so
   Pet ID and the rest of the Ctctoo site keep their current visual system. */
.classic-medical-body {
  background-color: #f8fafc;
  background-image:
    linear-gradient(rgba(248, 250, 252, .95), rgba(248, 250, 252, .95)),
    url("/assets/medical-background.jpg");
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}
.classic-medical-body .public-wrap { padding: 32px 16px 48px; background: transparent; }
.classic-medical-profile { width: min(576px, 100%); margin: 0 auto; display: grid; gap: 24px; }
.classic-medical-card,
.classic-medical-editor-card {
  padding: 24px;
  background: #fff;
  border: 0;
  border-radius: 16px;
  box-shadow: 0 10px 15px -3px rgba(15, 23, 42, .1), 0 4px 6px -4px rgba(15, 23, 42, .1);
}
.classic-medical-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.classic-medical-card h2,
.classic-medical-editor-card > h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 17px;
  color: #111827;
  font-size: 20px;
  line-height: 1.25;
}
.classic-medical-title-icon { width: 20px; height: 20px; color: #475569; text-align: center; }
.classic-medical-photo,
.classic-medical-editor-photo {
  width: 128px;
  height: 128px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 4px solid #e2e8f0;
  border-radius: 50%;
  background: #f1f5f9;
  color: #94a3b8;
}
.classic-medical-photo { margin: 0 auto 16px; }
.classic-medical-user-icon { width: 64px; height: 64px; }
.classic-medical-editor-photo .classic-medical-user-icon { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.classic-medical-photo img,
.classic-medical-editor-photo img { width: 100%; height: 100%; object-fit: cover; }
.classic-medical-heading { margin-bottom: 22px; text-align: center; }
.classic-medical-heading h1 { margin: 0 0 5px; color: #0f172a; font-size: 30px; line-height: 1.15; letter-spacing: -.025em; }
.classic-medical-heading p { margin: 2px 0; color: #64748b; font-size: 15px; }
.classic-medical-alerts,
.classic-medical-editor-alerts {
  padding: 16px;
  color: #991b1b;
  background: #fef2f2;
  border: 2px solid #fca5a5;
  border-radius: 12px;
}
.classic-medical-alerts h2,
.classic-medical-editor-alerts h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; color: #b91c1c; font-size: 18px; }
.classic-medical-alert-item { display: flex; align-items: center; gap: 9px; margin: 8px 0; color: #dc2626; font-size: 14px; font-weight: 700; white-space: pre-line; }
.classic-medical-alert-item .classic-medical-icon { width: 17px; height: 17px; flex-basis: 17px; }
.classic-medical-empty { margin: 7px 0; color: #64748b; font-size: 14px; }
.classic-medical-contact { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.classic-medical-contact-divider { margin-top: 16px; padding-top: 16px; border-top: 1px solid #e2e8f0; }
.classic-medical-contact strong,
.classic-medical-contact span { display: block; }
.classic-medical-contact strong { color: #1e293b; }
.classic-medical-muted { margin-top: 2px; color: #64748b; font-size: 14px; }
.classic-medical-contact-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 8px; }
.classic-medical-call,
.classic-medical-whatsapp,
.classic-medical-sms,
.classic-medical-email {
  min-height: 38px;
  padding: 8px 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
}
.classic-medical-call { color: #fff; background: #2563eb; }
.classic-medical-whatsapp { color: #047857; background: #ecfdf5; border: 1px solid #a7f3d0; }
.classic-medical-sms,
.classic-medical-email { color: #334155; background: #f1f5f9; border: 1px solid #cbd5e1; }
.classic-medical-history { padding-bottom: 8px; }
.classic-medical-subsection,
.classic-medical-editor-subsection { padding: 16px 0; border-top: 1px solid #e2e8f0; }
.classic-medical-history > h2 + .classic-medical-subsection,
.classic-medical-editor-history > h2 + .classic-medical-editor-subsection { padding-top: 2px; border-top: 0; }
.classic-medical-subsection h3,
.classic-medical-editor-subsection h3 { display: flex; align-items: center; gap: 9px; margin: 0 0 9px; color: #334155; font-size: 16px; }
.classic-medical-section-icon,
.classic-medical-editor-subsection h3 .classic-medical-icon { width: 17px; height: 17px; flex-basis: 17px; color: #64748b; text-align: center; }
.classic-medical-subsection ul { margin: 0 0 0 28px; padding: 0; color: #475569; }
.classic-medical-subsection li { margin: 5px 0; padding-left: 2px; white-space: pre-line; }
.classic-medical-footer { padding: 0 10px 8px; color: #94a3b8; font-size: 12px; text-align: center; }
.classic-medical-footer p { margin: 3px 0; }
.classic-medical-footer a { color: #2563eb; text-underline-offset: 2px; }
.classic-medical-footer-details { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.classic-medical-footer-powered { text-align: center; }
.classic-medical-edit-card { padding: 24px; }
.classic-medical-edit-button { min-height: 56px; color: #fff; background: #2563eb; font-size: 17px; }
.classic-medical-edit-button:hover { background: #1d4ed8; }
.classic-medical-edit-notice { width: 100%; margin: 0; }
.classic-medical-security-card { padding: 24px; }
.classic-medical-security-copy { margin: -4px 0 13px; color: #475569; font-size: 14px; }
.classic-medical-security-row { display: flex; align-items: center; gap: 9px; }
.classic-medical-security-row input { flex: 1; min-width: 0; padding: 12px 16px; background: #f8fafc; border: 2px solid #e2e8f0; border-radius: 8px; }
.classic-medical-change-passcode { min-height: 48px; padding: 10px 16px; color: #fff; background: #2563eb; border-radius: 8px; font-size: 14px; }
.classic-medical-change-passcode:hover { background: #1d4ed8; }
.classic-medical-security-protected { cursor: help; }
.classic-medical-passcode-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(15, 23, 42, .55);
  backdrop-filter: blur(4px);
}
.classic-medical-passcode-dialog {
  width: min(420px, 100%);
  padding: 24px;
  background: #fff;
  border: 1px solid #dbe3e8;
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .28);
}
.classic-medical-passcode-dialog h2 { margin: 0 0 8px; color: #0f172a; font-size: 22px; }
.classic-medical-passcode-dialog p { margin: 0 0 18px; color: #64748b; }
.classic-medical-passcode-dialog .passcode-recovery-chip {
  margin: -6px 0 18px;
  padding: 10px 12px;
  overflow-wrap: anywhere;
  color: #334155;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
}
.passcode-forgot-button {
  display: block;
  width: fit-content;
  margin-top: 10px;
  padding: 0;
  color: #2563eb;
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.passcode-forgot-button:hover { color: #1d4ed8; }
.passcode-forgot-button:focus-visible { outline: 3px solid rgba(37,99,235,.25); outline-offset: 3px; border-radius: 3px; }
.classic-medical-footer .public-profile-recovery { margin: 12px auto 0; }
.classic-medical-passcode-dialog .button-row { justify-content: flex-end; margin-top: 18px; }

/* The signed-in medical editor echoes the same three-tier card hierarchy. */
.classic-medical-editor-shell { width: min(576px, 100%); margin: 0 auto; }
.legacy-medical-editor { width: min(576px, 100%); }
.classic-medical-dashboard-active .site-header { display: none; }
.classic-medical-dashboard-active .page-shell { width: min(608px, calc(100% - 24px)); margin: 24px auto 48px; }
.classic-medical-dashboard-back {
  margin: 0 0 14px 8px;
  padding: 4px 0;
  color: #64748b;
  background: transparent;
  border: 0;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.classic-medical-dashboard-back:hover { color: #2563eb; }
.classic-medical-dashboard-back:focus-visible { outline: 3px solid rgba(37,99,235,.2); outline-offset: 3px; border-radius: 4px; }
.classic-medical-editor-state { width: min(576px, 100%); margin: 0 auto; text-align: center; }
.classic-medical-editor-state h1 { margin-top: 0; }
.classic-medical-editor-state .button { margin-top: 8px; }
.classic-medical-editor-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.classic-medical-editor-header .eyebrow { margin-bottom: 8px; }
.classic-medical-editor-header h1 { margin: 0; color: #0f172a; font-size: clamp(32px, 6vw, 46px); line-height: 1; letter-spacing: -.035em; }
.classic-medical-editor-title h1 { color: #0f172a; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: clamp(32px, 6vw, 46px); font-weight: 750; }
.classic-medical-editor-form { gap: 24px; }
.classic-medical-editor-card { padding: 24px; }
.classic-medical-editor-photo-shell { position: relative; width: 128px; margin: 0 auto 18px; }
.classic-medical-editor-photo { width: 128px; height: 128px; }
.classic-medical-camera-button {
  position: absolute;
  right: -2px;
  bottom: 0;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #2563eb;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 3px 8px rgba(37, 99, 235, .28);
  cursor: pointer;
}
.classic-medical-camera-button:hover { background: #1d4ed8; }
.classic-medical-camera-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.classic-medical-camera-button input { display: none; }
.classic-medical-remove-photo {
  position: absolute;
  top: calc(100% + 5px);
  left: 50%;
  padding: 2px 4px;
  color: #64748b;
  background: transparent;
  border: 0;
  font-size: 11px;
  cursor: pointer;
  opacity: 0;
  transform: translateX(-50%);
  transition: opacity .15s ease;
}
.classic-medical-editor-photo-shell:hover .classic-medical-remove-photo,
.classic-medical-remove-photo:focus-visible { opacity: 1; }
.classic-medical-editor-identity-fields { grid-template-columns: 1fr; gap: 0; margin-bottom: 20px; text-align: center; }
.classic-medical-editor-identity-fields input {
  padding: 3px 8px;
  color: #0f172a;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  text-align: center;
  box-shadow: none;
}
.classic-medical-editor-identity-fields input:hover { border-bottom-color: #e2e8f0; }
.classic-medical-editor-identity-fields input:focus { border-bottom-color: #3b82f6; box-shadow: none; }
.classic-medical-editor-identity-fields #user-name,
.classic-medical-editor-identity-fields input[name="displayName"] { font-size: 30px; line-height: 1.2; font-weight: 800; }
.classic-medical-editor-identity-fields #user-dob,
.classic-medical-editor-identity-fields input[name="dobOrAge"] { color: #64748b; font-size: 18px; }
.classic-medical-editor-identity-fields #user-language,
.classic-medical-editor-identity-fields input[name="language"],
.classic-medical-editor-identity-fields input[name="bloodGroup"] { color: #64748b; font-size: 16px; }
.classic-medical-editor-identity-fields input::placeholder { color: #94a3b8; opacity: 1; }
.classic-medical-editor-alerts label { color: #7f1d1d; }
.classic-medical-editor-alerts input:focus,
.classic-medical-editor-alerts textarea:focus { border-color: #dc2626; box-shadow: 0 0 0 3px rgba(220,38,38,.1); }
.classic-medical-editor-alerts .check-row { color: #991b1b; }
.classic-medical-editor-alerts .help { color: #9f4545; }
.classic-medical-dashboard-reveal { margin: 0 0 10px; }
.classic-medical-dashboard-reveal textarea { min-height: 76px; }
.classic-medical-editor-alerts .classic-medical-dashboard-reveal textarea { background: rgba(255,255,255,.78); border-color: #fecaca; }
.classic-medical-editor-alert-entry,
.classic-medical-dashboard-alert-entry {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 6px 0;
  color: #dc2626;
}
.classic-medical-alert-entry-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  display: inline-grid;
  place-items: center;
  margin-top: 5px;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
}
.classic-medical-editor-alert-entry input,
.classic-medical-dashboard-alert-entry textarea {
  min-height: 30px;
  padding: 2px 0;
  color: #991b1b;
  background: transparent;
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  box-shadow: none;
  font-weight: 700;
}
.classic-medical-dashboard-alert-entry textarea { height: 34px; resize: vertical; }
.classic-medical-editor-alert-entry input::placeholder,
.classic-medical-dashboard-alert-entry textarea::placeholder { color: #94a3b8; opacity: 1; }
.classic-medical-editor-alert-entry input:focus,
.classic-medical-dashboard-alert-entry textarea:focus { border-color: #fca5a5; box-shadow: none; }
.classic-medical-editor-alert-entry .classic-medical-remove {
  width: 28px;
  height: 28px;
  flex-basis: 28px;
  margin-left: auto;
  border: 0;
  background: transparent;
  font-size: 19px;
}
.classic-medical-editor-subsection .classic-medical-dashboard-reveal { display: grid; gap: 12px; }
.classic-medical-editor-contact { margin-bottom: 6px; }
.classic-medical-editor-list { display: grid; gap: 10px; }
.classic-medical-editor-item { display: flex; align-items: flex-start; gap: 8px; }
.classic-medical-editor-item input,
.classic-medical-editor-item textarea { flex: 1; min-width: 0; }
.classic-medical-editor-item textarea { min-height: 72px; }
.classic-medical-remove {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  color: #b91c1c;
  background: #fff;
  border: 1px solid #fecaca;
  border-radius: 9px;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}
.classic-medical-remove:hover { background: #fef2f2; }
.classic-medical-editor-contact-item {
  position: relative;
  padding: 8px 38px 6px 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}
.classic-medical-editor-contact-item + .classic-medical-editor-contact-item {
  margin-top: 6px;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
}
.classic-medical-contact-fields { display: grid; gap: 3px; }
.classic-medical-contact-fields > input,
.classic-medical-contact-phone-row input,
.classic-medical-contact-phone-row select {
  min-height: 30px;
  padding: 2px 0;
  color: #64748b;
  background: transparent;
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  box-shadow: none;
}
.classic-medical-contact-fields > input:focus,
.classic-medical-contact-phone-row input:focus,
.classic-medical-contact-phone-row select:focus { border-bottom-color: #93c5fd; box-shadow: none; }
.classic-medical-contact-fields [data-contact-field="name"],
.classic-medical-contact-fields [data-medical-contact-field="name"] {
  color: #1e293b;
  font-size: 16px;
  font-weight: 750;
}
.classic-medical-contact-fields input::placeholder { color: #94a3b8; opacity: 1; }
.classic-medical-contact-phone-row { display: flex; align-items: center; gap: 10px; }
.classic-medical-contact-phone-row .classic-medical-country-code {
  width: auto;
  max-width: 112px;
  flex: 0 0 auto;
  color: #64748b;
  cursor: pointer;
}
.classic-medical-contact-phone-row input { flex: 1; min-width: 0; }
.classic-medical-contact-email { font-size: 13px; }
.classic-medical-contact-remove {
  position: absolute;
  top: 8px;
  right: 0;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  opacity: .55;
  font-size: 19px;
}
.classic-medical-contact-remove:hover,
.classic-medical-contact-remove:focus-visible { opacity: 1; }
.classic-medical-editor-item-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.classic-medical-add { min-height: 36px; margin-top: 12px; padding: 7px 12px; color: #334155; background: #f1f5f9; border-color: #e2e8f0; border-radius: 9px; font-size: 14px; }
.classic-medical-add-alert { color: #991b1b; background: #fee2e2; border-color: #fecaca; }
.classic-medical-section-save { min-height: 32px; margin-top: 14px; padding: 5px 11px; color: #2563eb; background: #eff6ff; border-color: #bfdbfe; border-radius: 8px; font-size: 12px; }
.classic-medical-section-save .classic-medical-icon { width: 16px; height: 16px; }
.classic-editor-final-actions { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 10px; }
.classic-editor-final-actions .classic-editor-cancel { min-height: 56px; font-size: 17px; }
.classic-medical-final-save #save-profile { min-height: 56px; color: #fff; background: #16a34a; font-size: 17px; }
.classic-medical-final-save #save-profile:hover { background: #15803d; }
.classic-medical-final-save #save-profile .classic-medical-icon { width: 22px; height: 22px; }
.classic-medical-editor-passcode-card #passcode-edit input { padding: 12px 16px; border: 2px solid #e2e8f0; border-radius: 8px; }
.classic-medical-editor-footer { margin-top: 22px; padding-bottom: 16px; }
.classic-medical-editor-subsection > div,
.classic-medical-editor-subsection > label { margin-left: 27px; }
.classic-medical-editor-form > .card { border-radius: 16px; box-shadow: 0 10px 28px rgba(30,49,64,.08); }

/* Pet editor uses the same progressive, card-based input pattern as Medical ID. */
.classic-pet-body {
  background-color: #fffaf7;
  background-image:
    radial-gradient(circle at 80% 12%, rgba(182, 92, 45, .12), transparent 32%),
    radial-gradient(circle at 12% 82%, rgba(238, 168, 120, .13), transparent 34%);
  background-attachment: fixed;
}
.classic-pet-editor-shell { width: min(576px, 100%); margin: 0 auto; }
.classic-pet-dashboard-active .site-header { display: none; }
.classic-pet-dashboard-active .page-shell { width: min(608px, calc(100% - 24px)); margin: 24px auto 48px; }
.classic-pet-editor-form { gap: 24px; }
.classic-pet-editor-card { padding: 24px; }
.classic-pet-editor-photo { color: #b65c2d; background: #fff0e7; border-color: #f4c7ae; }
.classic-pet-photo-placeholder { font-size: 52px; line-height: 1; }
.classic-pet-camera-button { background: #b65c2d; box-shadow: 0 3px 8px rgba(182, 92, 45, .28); }
.classic-pet-camera-button:hover { background: #8f4725; }
.classic-pet-editor-identity-fields input[name="petName"] { color: #0f172a; font-size: 30px; line-height: 1.2; font-weight: 800; }
.classic-pet-editor-identity-fields input[name="species"] { color: #64748b; font-size: 18px; }
.classic-pet-editor-identity-fields input[name="breed"],
.classic-pet-editor-identity-fields input[name="sex"],
.classic-pet-editor-identity-fields input[name="dobOrAge"] { color: #64748b; font-size: 16px; }
.classic-pet-editor-identity-fields input:focus { border-bottom-color: #b65c2d; }
.classic-pet-editor-alerts {
  padding: 16px;
  color: #9a3412;
  background: #fff7ed;
  border: 2px solid #fdba74;
  border-radius: 12px;
}
.classic-pet-editor-alerts h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; color: #9a3412; font-size: 18px; }
.classic-pet-dashboard-reveal { display: grid; gap: 10px; margin: 0 0 10px; }
.classic-pet-dashboard-reveal textarea { min-height: 76px; }
.classic-pet-editor-alerts textarea { background: rgba(255,255,255,.8); border-color: #fed7aa; }
.classic-pet-editor-alerts textarea:focus { border-color: #ea580c; box-shadow: 0 0 0 3px rgba(234,88,12,.1); }
.classic-pet-contact-fields { gap: 3px; }
.classic-pet-contact-fields input {
  min-height: 34px;
  padding: 3px 0;
  color: #64748b;
  background: transparent;
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  box-shadow: none;
}
.classic-pet-contact-fields input:first-child { color: #1e293b; font-size: 16px; font-weight: 750; }
.classic-pet-contact-fields input:focus { border-bottom-color: #f0a477; box-shadow: none; }
.classic-pet-contact-fields input::placeholder { color: #94a3b8; opacity: 1; }
.classic-pet-contact-phone-row .classic-medical-country-code { color: #64748b; }
.classic-pet-contact-phone-row select:focus { border-bottom-color: #f0a477; }
.classic-pet-add { color: #7c2d12; background: #fff0e7; border-color: #fed7aa; }
.classic-pet-add:hover { background: #ffdfcc; }
.classic-pet-add-alert { color: #9a3412; background: #ffedd5; border-color: #fdba74; }
.classic-pet-security-protected { background: #b65c2d; }
.classic-pet-security-protected:hover { background: #8f4725; }
[data-pet-passcode-edit] input { padding: 12px 16px; border: 2px solid #e2e8f0; border-radius: 8px; }
[data-pet-passcode-edit] .help { display: block; margin-top: 7px; }
.classic-pet-final-save #save-profile { min-height: 56px; color: #fff; background: #b65c2d; font-size: 17px; }
.classic-pet-final-save #save-profile:hover { background: #8f4725; }
.classic-pet-final-save #save-profile .classic-medical-icon { width: 22px; height: 22px; }
.classic-pet-final-save .classic-editor-cancel { color: #7c2d12; border-color: #fed7aa; }
.classic-pet-editor-shell .dashboard-pet-editor-footer { margin-top: 22px; padding-bottom: 16px; border-top: 0; }

.admin-layout { min-height: calc(100vh - 72px); display: grid; grid-template-columns: 230px minmax(0, 1fr); }
.admin-sidebar { padding: 25px 16px; color: white; background: #123a38; }
.admin-sidebar nav { position: sticky; top: 98px; display: grid; gap: 6px; }
.admin-sidebar a { padding: 11px 13px; border-radius: 10px; color: rgba(255,255,255,.75); text-decoration: none; font-size: 14px; font-weight: 700; }
.admin-sidebar a:hover, .admin-sidebar a.active { color: white; background: rgba(255,255,255,.1); }
.admin-main { min-width: 0; padding: 32px clamp(18px, 4vw, 48px) 80px; }
.metric-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 13px; margin-bottom: 22px; }
.metric { padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.metric span { display: block; color: var(--muted); font-size: 12px; }
.metric strong { display: block; margin-top: 4px; font-family: Georgia, serif; font-size: 32px; font-weight: 500; }
.toolbar { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; margin-bottom: 17px; }
.toolbar label { min-width: 140px; flex: 1; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 15px; background: white; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { padding: 13px 14px; text-align: left; vertical-align: middle; border-bottom: 1px solid #e7eded; }
th { color: #56666e; background: #f6f9f8; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
tr:last-child td { border-bottom: 0; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }
.inventory-public-id { display: block; max-width: 230px; margin-top: 5px; overflow-wrap: anywhere; word-break: break-all; line-height: 1.4; }
.inventory-row-actions { min-width: 245px; }
.row-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.empty { padding: 34px; color: var(--muted); text-align: center; }

.site-footer { padding: 34px 5vw; color: #7a878d; font-size: 13px; text-align: center; border-top: 1px solid var(--line); background: white; }

@media (max-width: 960px) {
  .metric-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .card-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { padding: 10px 14px; overflow-x: auto; }
  .admin-sidebar nav { position: static; display: flex; min-width: max-content; }
}

@media (max-width: 720px) {
  .site-header { padding: 0 18px; }
  .nav a:not(.keep-mobile) { display: none; }
  .hero { padding-left: 20px; padding-right: 20px; }
  .section { padding: 62px 20px; }
  .product-grid, .card-grid, .card-grid.three, .split, .form-grid { grid-template-columns: minmax(0, 1fr); }
  .form-grid .wide { grid-column: auto; }
  .trust-inner { grid-template-columns: 1fr; gap: 17px; }
  .product-card { min-height: 0; }
  .page-shell { width: min(100% - 24px, 1180px); margin-top: 22px; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-main { padding: 22px 12px 60px; }
  .dashboard-link-grid { grid-template-columns: minmax(0, 1fr); }
  .compact-profile-list .profile-row-tag { align-items: center; }
  .deleted-link-list .profile-meta { grid-template-columns: minmax(0, 1fr) auto; }
  .deleted-link-list .profile-url { grid-column: 1 / -1; }
  .profile-row { align-items: flex-start; flex-wrap: wrap; }
  .profile-actions { width: 100%; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-row .profile-actions .button { width: 100%; min-width: 0; padding-left: 8px; padding-right: 8px; }
  .profile-row:not(.profile-row-tag) .profile-actions > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .profile-row-tag .profile-actions { align-items: center; }
  .links-card-heading { align-items: stretch; flex-direction: column; }
  .links-card-heading .button { width: 100%; }
  .classic-medical-editor-title { align-items: flex-start; }
  .classic-medical-editor-title .button { width: 100%; }
}

@media (max-width: 520px) {
  .dashboard-actions, .dashboard-actions .button, .chip-search-header { width: 100%; }
  .links-overview-bar { align-items: stretch; flex-direction: column; }
  .links-overview-bar .button { width: 100%; }
  .link-card-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .link-card-controls .select-group { grid-column: 1 / -1; }
  .link-group-heading { align-items: flex-start; }
  .classic-medical-body .public-wrap { padding: 18px 12px 34px; }
  .classic-medical-profile { gap: 16px; }
  .classic-medical-card { padding: 20px; }
  .classic-medical-photo { width: 112px; height: 112px; }
  .classic-medical-heading h1 { font-size: 27px; }
  .classic-medical-contact { align-items: flex-start; flex-direction: column; }
  .classic-medical-contact-actions { width: 100%; }
  .classic-medical-contact-actions > a { flex: 1 1 calc(50% - 4px); }
  .classic-medical-editor-header { align-items: stretch; flex-direction: column; }
  .classic-medical-editor-header .button { width: 100%; }
  .classic-medical-footer-details { align-items: center; flex-direction: column; gap: 3px; }
  .classic-medical-footer-powered { text-align: center; }
  .classic-medical-editor-subsection > div,
  .classic-medical-editor-subsection > label { margin-left: 0; }
}
