:root {
  --ink: #101426;
  --ink-soft: #4f566b;
  --muted: #778095;
  --surface: #ffffff;
  --canvas: #f5f7fb;
  --line: #e4e8f1;
  --primary: #5b5cf0;
  --primary-dark: #4849d7;
  --primary-light: #eeefff;
  --success: #13855b;
  --danger: #bf3d50;
  --shadow-sm: 0 8px 24px rgba(31, 38, 74, .07);
  --shadow-lg: 0 30px 80px rgba(31, 38, 74, .14);
  --radius: 18px;
  --radius-lg: 28px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

main {
  min-height: calc(100vh - 150px);
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid rgba(228, 232, 241, .75);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(16px);
}

.nav-shell {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
}

.brand,
.profile-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -.02em;
  text-decoration: none;
}

.brand-logo-full {
  display: block;
  width: 164px;
  height: auto;
}

.brand-logo-symbol {
  display: none;
  width: 38px;
  height: 38px;
}

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(145deg, #7374ff, #4849d7);
  box-shadow: 0 8px 18px rgba(91, 92, 240, .28);
  font-size: .98rem;
  font-weight: 900;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-actions form {
  margin: 0;
}

.mobile-navigation {
  position: relative;
  display: none;
}

.mobile-navigation-toggle {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 13px;
  place-content: center;
  gap: 4px;
  background: #fff;
}

.mobile-navigation-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .18s ease, opacity .18s ease;
}

.mobile-navigation.is-open .mobile-navigation-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-navigation.is-open .mobile-navigation-toggle span:nth-child(2) {
  opacity: 0;
}

.mobile-navigation.is-open .mobile-navigation-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-navigation-panel {
  position: absolute;
  z-index: 40;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  width: min(310px, calc(100vw - 28px));
  gap: 6px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 55px rgba(20, 26, 48, .18);
}

.mobile-navigation-panel[hidden] {
  display: none;
}

.mobile-navigation-panel a,
.mobile-navigation-panel button {
  display: flex;
  width: 100%;
  min-height: 45px;
  align-items: center;
  padding: 10px 13px;
  border: 0;
  border-radius: 11px;
  color: var(--ink);
  background: transparent;
  font-weight: 720;
  text-align: left;
  text-decoration: none;
}

.mobile-navigation-panel a:hover,
.mobile-navigation-panel button:hover {
  color: var(--primary);
  background: var(--primary-light);
}

.mobile-navigation-panel .is-primary {
  justify-content: center;
  color: #fff;
  background: var(--primary);
}

.mobile-navigation-panel form {
  margin: 0;
}

.nav-link-custom {
  align-items: center;
  padding: 9px 12px;
  color: var(--ink-soft);
  font-weight: 650;
  text-decoration: none;
}

.nav-link-custom:hover,
.text-link:hover,
.back-link:hover {
  color: var(--primary);
}

/* Dynamische Bausteine v1.1 */
.agenda-list,.community-list,.press-list,.rss-feed-list,.location-card-grid{display:grid;gap:12px}.agenda-item+.agenda-item{border-top:1px solid var(--line);padding-top:18px}.agenda-item h3,.package-card h3,.location-card h3,.app-download-content-block h3{margin:0 0 8px}.block-badge{display:inline-flex;margin:0 0 12px;padding:5px 10px;border-radius:999px;background:color-mix(in srgb,var(--primary) 10%,white);color:var(--primary);font-size:.78rem;font-weight:800}.coupon-code{display:flex;align-items:center;gap:10px;padding:12px;border:1px dashed color-mix(in srgb,var(--primary) 55%,var(--line));border-radius:14px;background:var(--surface-soft);margin:14px 0}.coupon-code code{flex:1;font-size:1.15rem;font-weight:850;letter-spacing:.08em;overflow-wrap:anywhere}.coupon-code button{border:0;border-radius:10px;background:var(--primary);color:white;padding:10px 12px;font-weight:750}.block-fine-print{font-size:.82rem;color:var(--ink-soft)}.package-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px}.package-card,.location-card{padding:16px;border:1px solid var(--line);border-radius:16px;background:var(--surface)}.package-price{display:block;font-size:1.35rem;margin:12px 0}.package-card ul{padding:0;list-style:none;display:grid;gap:6px}.community-link,.press-list>a,.rss-feed-item{display:grid;gap:3px;position:relative;padding:14px 42px 14px 14px;border:1px solid var(--line);border-radius:14px;color:inherit;text-decoration:none;background:var(--surface)}.community-link>span:last-child,.press-list>a>b{position:absolute;right:16px;top:50%;transform:translateY(-50%)}.community-provider,.press-list>a>span,.rss-feed-item>span{color:var(--primary);font-size:.75rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.community-link small,.press-list small,.rss-feed-item small{color:var(--ink-soft)}.store-link-grid{display:flex;flex-wrap:wrap;gap:10px}.store-link-grid a{display:grid;min-width:145px;padding:10px 16px;border-radius:12px;background:#0d1020;color:white;text-decoration:none}.store-link-grid small{font-size:.68rem}.external-document-consent{display:grid;gap:8px;margin:14px 0}.external-document-consent iframe{width:100%;min-height:440px;border:1px solid var(--line);border-radius:14px;background:white}.location-card address{font-style:normal;color:var(--ink-soft)}.progress-values{display:flex;justify-content:space-between;gap:12px;align-items:baseline}.progress-values strong{font-size:1.25rem}.progress-track{height:14px;border-radius:999px;background:var(--surface-soft);overflow:hidden;margin:10px 0 5px}.progress-track span{display:block;height:100%;border-radius:inherit;background:var(--primary)}.block-item-card{padding-top:18px;margin-top:14px;border-top:1px solid var(--line)}
@media(max-width:560px){.package-grid{grid-template-columns:1fr}.coupon-code{align-items:stretch;flex-direction:column}.external-document-consent iframe{min-height:360px}.progress-values{align-items:flex-start;flex-direction:column;gap:2px}}
.qualification-summary{margin-top:12px;padding:10px 12px;border-radius:12px;background:var(--surface-soft);font-size:.86rem}.qualification-summary dl,.qualification-summary:not(details){display:grid;grid-template-columns:minmax(100px,auto) 1fr;gap:4px 10px}.qualification-summary dt{font-weight:750}.qualification-summary dd{margin:0;color:var(--ink-soft)}

.limit-reached-note {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--muted);
  background: #fff;
  font-size: .78rem;
  font-weight: 750;
}

.user-name {
  max-width: 160px;
  overflow: hidden;
  padding: 0 4px;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 12px;
  padding: 10px 18px;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary-custom {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 9px 20px rgba(91, 92, 240, .22);
}

.btn-primary-custom:hover,
.btn-primary-custom:focus {
  color: #fff;
  background: var(--primary-dark);
  box-shadow: 0 12px 25px rgba(91, 92, 240, .3);
}

.btn-quiet {
  border: 1px solid var(--line);
  color: var(--ink-soft);
  background: #fff;
}

.btn-quiet:hover {
  color: var(--ink);
  border-color: #ccd1dd;
  background: #fafbfe;
}

.btn-dark-custom {
  color: #fff;
  background: var(--ink);
}

.btn-dark-custom:hover {
  color: #fff;
  background: #252a3c;
}

.btn-danger-quiet {
  color: var(--danger);
  border: 1px solid #f1ccd2;
  background: #fff7f8;
}

.btn-full {
  width: 100%;
  min-height: 52px;
  margin-top: 8px;
}

.btn-large {
  min-height: 54px;
  padding-inline: 24px;
}

.btn-small {
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: .88rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  color: var(--primary);
  font-size: .75rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.toast-wrap {
  position: relative;
  z-index: 10;
}

.success-message {
  position: absolute;
  top: 16px;
  right: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: min(440px, calc(100vw - 40px));
  padding: 13px 17px;
  border: 1px solid #bfe6d7;
  border-radius: 13px;
  color: #0c6645;
  background: #eefbf6;
  box-shadow: var(--shadow-sm);
  font-size: .92rem;
  font-weight: 650;
}

.error-message {
  position: absolute;
  top: 16px;
  right: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: min(520px, calc(100vw - 40px));
  padding: 13px 17px;
  border: 1px solid #f1ccd2;
  border-radius: 13px;
  color: #9e2f41;
  background: #fff5f7;
  box-shadow: var(--shadow-sm);
  font-size: .92rem;
  font-weight: 650;
}

.error-message > span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--danger);
}

.success-message span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--success);
}

/* Landing page */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  padding: 88px 0 72px;
  background:
    radial-gradient(circle at 82% 15%, rgba(131, 133, 255, .15), transparent 28%),
    radial-gradient(circle at 0 80%, rgba(161, 225, 213, .2), transparent 30%),
    linear-gradient(180deg, #fff 0%, #fafbff 100%);
}

.hero::before {
  position: absolute;
  width: 620px;
  height: 620px;
  top: -320px;
  left: 40%;
  border: 1px solid rgba(91, 92, 240, .08);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  position: relative;
  display: grid;
  align-items: center;
  grid-template-columns: 1.08fr .92fr;
  gap: 70px;
}

.hero-copy h1 {
  max-width: 720px;
  margin: 19px 0 23px;
  font-size: clamp(3.25rem, 6vw, 5.6rem);
  font-weight: 850;
  letter-spacing: -.065em;
  line-height: .98;
}

.hero-copy h1 span {
  color: var(--primary);
}

.hero-lead {
  max-width: 620px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1.03rem, 1.6vw, 1.22rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 34px;
}

.text-link,
.back-link {
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 30px;
  color: var(--muted);
  font-size: .85rem;
  font-weight: 650;
}

.hero-visual {
  position: relative;
  display: grid;
  min-height: 560px;
  place-items: center;
}

.phone-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(91, 92, 240, .18);
  filter: blur(60px);
}

.phone-card {
  position: relative;
  width: 310px;
  min-height: 532px;
  padding: 23px 25px 26px;
  border: 8px solid #171b2d;
  border-radius: 43px;
  background:
    linear-gradient(150deg, rgba(91, 92, 240, .16), transparent 32%),
    #fff;
  box-shadow: 0 46px 90px rgba(25, 29, 57, .25);
  text-align: center;
  transform: rotate(3deg);
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: .67rem;
  font-weight: 750;
}

.phone-pill {
  position: absolute;
  width: 82px;
  height: 22px;
  top: 8px;
  left: 50%;
  border-radius: 20px;
  background: #171b2d;
  transform: translateX(-50%);
}

.mini-brand {
  width: 88px;
  height: auto;
  margin-left: auto;
}

.sample-avatar {
  display: grid;
  width: 102px;
  height: 102px;
  margin: 53px auto 22px;
  place-items: center;
  border: 5px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #7778ff, #4a4bdc);
  box-shadow: 0 15px 30px rgba(91, 92, 240, .28);
  font-size: 1.55rem;
  font-weight: 850;
}

.phone-card h2 {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 820;
  letter-spacing: -.035em;
}

.phone-card > p {
  margin: 7px 0 21px;
  color: var(--muted);
  font-size: .78rem;
}

.sample-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.sample-actions span {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border-radius: 50%;
  color: var(--primary);
  background: var(--primary-light);
}

.sample-save {
  margin-top: 24px;
  padding: 14px;
  border-radius: 11px;
  color: #fff;
  background: var(--primary);
  font-size: .78rem;
  font-weight: 800;
}

.sample-lines {
  display: grid;
  gap: 12px;
  margin-top: 25px;
}

.sample-lines i {
  display: block;
  height: 10px;
  border-radius: 10px;
  background: #edf0f6;
}

.sample-lines i:nth-child(2) {
  width: 76%;
}

.sample-lines i:nth-child(3) {
  width: 58%;
}

.tap-card {
  position: absolute;
  right: -30px;
  bottom: 58px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 18px;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 16px;
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
}

.nfc-rings {
  color: var(--primary);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -.3em;
  transform: rotate(-90deg);
}

.tap-card strong,
.tap-card small {
  display: block;
}

.tap-card strong {
  font-size: .83rem;
}

.tap-card small {
  margin-top: 2px;
  color: var(--muted);
  font-size: .67rem;
}

.steps-section {
  padding: 94px 0 110px;
}

.section-heading {
  max-width: 650px;
  margin-bottom: 46px;
}

.section-heading h2 {
  margin: 12px 0 0;
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 820;
  letter-spacing: -.045em;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.steps-grid article {
  position: relative;
  min-height: 235px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.step-number {
  color: var(--primary);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.steps-grid h3 {
  margin: 48px 0 12px;
  font-size: 1.25rem;
  font-weight: 800;
}

.steps-grid p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* Forms */
.auth-section,
.dashboard-section,
.editor-section,
.share-section {
  min-height: calc(100vh - 138px);
  padding: 66px 0 90px;
  background:
    radial-gradient(circle at 90% 0, rgba(91, 92, 240, .08), transparent 25%),
    var(--canvas);
}

.auth-section {
  display: grid;
  padding-block: 72px;
  place-items: start center;
}

.auth-card {
  width: min(470px, calc(100% - 32px));
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.auth-heading {
  margin-bottom: 28px;
  text-align: center;
}

.auth-heading h1 {
  margin: 10px 0 8px;
  font-size: 2rem;
  font-weight: 830;
  letter-spacing: -.04em;
}

.auth-heading p,
.page-heading p,
.form-card-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.field {
  position: relative;
  margin-bottom: 19px;
}

.field label {
  display: block;
  margin: 0 0 7px;
  color: #353b4e;
  font-size: .82rem;
  font-weight: 750;
}

.field input:not([type="color"]),
.field select,
.field textarea,
.repeat-row input,
.repeat-row select,
.copy-control input {
  width: 100%;
  border: 1px solid #d8dde8;
  border-radius: 11px;
  outline: 0;
  color: var(--ink);
  background: #fff;
  transition: border .18s ease, box-shadow .18s ease;
}

.field input:not([type="color"]),
.field select,
.repeat-row input,
.repeat-row select,
.copy-control input {
  height: 48px;
  padding: 0 14px;
}

.field textarea {
  min-height: 96px;
  padding: 13px 14px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.repeat-row input:focus,
.repeat-row select:focus,
.copy-control input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(91, 92, 240, .1);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #adb3c0;
}

.field > span.field-validation-error,
.repeat-row > span.field-validation-error {
  display: block;
  margin-top: 6px;
  color: var(--danger);
  font-size: .78rem;
}

.field-hint {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: .72rem;
}

.input-validation-error {
  border-color: #df8090 !important;
}

.validation-summary {
  margin-bottom: 16px;
  color: var(--danger);
  font-size: .84rem;
}

.validation-summary:empty,
.validation-summary-valid {
  display: none;
}

.validation-summary ul {
  margin: 0;
  padding: 12px 14px 12px 30px;
  border-radius: 10px;
  background: #fff4f6;
}

.legal-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 2px 0 18px;
  color: var(--ink-soft);
  font-size: .76rem;
  line-height: 1.5;
}

.legal-consent input {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin-top: 1px;
  accent-color: var(--primary);
}

.legal-consent a,
.legal-consent-error {
  color: var(--primary);
}

.newsletter-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  margin: 15px 0 21px;
  color: var(--ink-soft);
  font-size: .8rem;
  line-height: 1.5;
}

.newsletter-consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--primary);
}

.newsletter-consent-card {
  font-size: .9rem;
}

.legal-consent-error {
  display: block;
  margin: -12px 0 16px;
  font-size: .76rem;
}

.check-field {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: .86rem;
}

.check-field input {
  accent-color: var(--primary);
}

.auth-switch {
  margin: 23px 0 0;
  color: var(--muted);
  text-align: center;
  font-size: .88rem;
}

.auth-switch a {
  color: var(--primary);
  font-weight: 750;
}

.page-heading {
  margin-bottom: 34px;
}

.page-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.page-heading h1 {
  margin: 9px 0 8px;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 840;
  letter-spacing: -.05em;
}

.back-link {
  display: block;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: .88rem;
}

/* Dashboard */
.empty-state {
  display: grid;
  min-height: 410px;
  place-items: center;
  align-content: center;
  padding: 50px 24px;
  border: 1px dashed #cfd5e2;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .75);
  text-align: center;
}

.empty-icon {
  display: grid;
  width: 70px;
  height: 70px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 22px;
  color: var(--primary);
  background: var(--primary-light);
  font-size: 2rem;
}

.empty-state h2 {
  margin: 0 0 8px;
  font-weight: 800;
}

.empty-state p {
  max-width: 470px;
  margin: 0 0 24px;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 21px;
}

.plan-overview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: -8px 0 25px;
  padding: 17px 20px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
}

.plan-overview > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-overview small {
  color: var(--muted);
}

.plan-badge {
  display: inline-grid;
  min-width: 44px;
  height: 25px;
  place-items: center;
  border-radius: 20px;
  color: #5354de;
  background: var(--primary-light);
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.plan-free .plan-badge {
  color: #657084;
  background: #edf0f5;
}

.plan-paused-card {
  border-top-color: #aeb5c3;
  opacity: .78;
}

.is-paused {
  color: #76621f;
  background: #fbf4dc;
}

.admin-card-actions form {
  margin: 0;
}

.contact-admin-card {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.admin-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-card-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.avatar-small {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: var(--accent);
  font-size: .95rem;
  font-weight: 850;
}

.status-badge {
  padding: 6px 9px;
  border-radius: 50px;
  font-size: .69rem;
  font-weight: 800;
}

.is-public {
  color: #0b744e;
  background: #e8f8f2;
}

.is-private {
  color: #76621f;
  background: #fbf4dc;
}

.is-default {
  color: #4c3ca7;
  background: #efecff;
}

.admin-card-body {
  margin-top: 25px;
}

.profile-kind {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.admin-card-body h2 {
  margin: 8px 0 6px;
  font-size: 1.3rem;
  font-weight: 820;
  letter-spacing: -.025em;
}

.admin-card-body p {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: .85rem;
}

.admin-card-meta {
  display: flex;
  gap: 15px;
  margin-top: auto;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .76rem;
}

.admin-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Editor */
.editor-container {
  max-width: 900px;
}

.editor-form {
  display: grid;
  gap: 20px;
}

.form-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.form-card-heading {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 27px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.form-card-heading h2 {
  margin: 0 0 4px;
  font-size: 1.15rem;
  font-weight: 820;
}

.form-card-heading p {
  font-size: .83rem;
}

.form-step {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 11px;
  color: var(--primary);
  background: var(--primary-light);
  font-size: .72rem;
  font-weight: 900;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 20px;
}

.span-2 {
  grid-column: span 2;
}

.profile-image-editor {
  margin: 3px 0 22px;
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fafbfe;
}

.image-editor-copy {
  display: grid;
  gap: 3px;
  margin-bottom: 15px;
}

.image-editor-copy label {
  margin: 0;
}

.image-editor-grid {
  display: grid;
  align-items: center;
  grid-template-columns: 170px 1fr;
  gap: 22px;
}

.image-preview-shell {
  position: relative;
  display: grid;
  width: 170px;
  height: 170px;
  overflow: hidden;
  place-items: center;
  border: 2px dashed #cdd2df;
  border-radius: 50%;
  color: var(--muted);
  background: #fff;
}

.image-preview-shell.is-logo {
  border-radius: 22px;
}

.image-preview-shell img,
.image-preview-shell canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  touch-action: none;
}

.image-preview-shell.is-logo img {
  padding: 10px;
  object-fit: contain;
}

.image-placeholder {
  font-size: .78rem;
  font-weight: 750;
}

.image-editor-controls {
  display: grid;
  gap: 11px;
}

.image-editor-controls > input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.file-picker {
  display: inline-flex;
  width: fit-content;
  min-height: 42px;
  align-items: center;
  margin: 0;
  padding: 9px 15px;
  border: 1px solid #cfd4df;
  border-radius: 11px;
  background: #fff;
  cursor: pointer;
  font-size: .82rem;
  font-weight: 780;
}

.crop-controls {
  display: grid;
  gap: 5px;
}

.crop-controls label,
.crop-controls small {
  margin: 0;
  color: var(--muted);
  font-size: .72rem;
}

.crop-controls input {
  accent-color: var(--primary);
}

.image-kind-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.image-kind-options label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-size: .74rem;
  font-weight: 680;
}

.image-kind-options input {
  accent-color: var(--primary);
}

.segmented-options label {
  position: relative;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.segmented-options input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0;
  pointer-events: none;
}

.segmented-options label > span {
  display: flex;
  min-height: 43px;
  align-items: center;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--ink-soft);
  background: #fff;
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}

.segmented-options input:checked + span {
  border-color: var(--primary);
  color: var(--primary);
  background: #f3f3ff;
  box-shadow: inset 0 0 0 1px var(--primary);
}

.remove-image-button {
  width: fit-content;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid #f2cbd2;
  border-radius: 10px;
  color: var(--danger);
  background: #fff8f9;
  font-size: .74rem;
  font-weight: 760;
}

.remove-image-check {
  min-height: 38px;
  color: var(--danger);
  font-size: .74rem;
}

.slug-input {
  display: grid;
  align-items: stretch;
  grid-template-columns: auto 1fr;
}

.slug-input > span {
  display: flex;
  align-items: center;
  padding: 0 0 0 13px;
  border: 1px solid #dfe3ec;
  border-right: 0;
  border-radius: 11px 0 0 11px;
  color: var(--muted);
  background: #f6f7fa;
  font-size: .78rem;
  white-space: nowrap;
}

.slug-input input {
  border-radius: 0 11px 11px 0 !important;
}

.slug-status.is-available {
  color: var(--success);
}

.slug-status.is-unavailable {
  color: var(--danger);
}

.color-input {
  display: flex;
  align-items: center;
  gap: 11px;
}

.color-input input {
  width: 52px;
  height: 45px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.color-input span {
  color: var(--muted);
  font-size: .78rem;
}

.pro-label {
  display: inline-flex;
  margin-left: 5px;
  padding: 3px 6px;
  border-radius: 8px;
  color: #fff;
  background: var(--primary);
  font-size: .58rem;
  font-weight: 900;
  letter-spacing: .06em;
}

.simple-check {
  display: flex !important;
  min-height: 45px;
  align-items: center;
  gap: 9px;
  margin: 0 !important;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
}

.simple-check input {
  accent-color: var(--primary);
}

.pro-field-teaser {
  display: flex;
  min-height: 45px;
  align-items: center;
  padding: 0 13px;
  border: 1px dashed #c8c9f4;
  border-radius: 11px;
  color: var(--primary);
  background: #fafaff;
  font-size: .78rem;
  font-weight: 750;
  text-decoration: none;
}

.repeat-section + .repeat-section {
  margin-top: 31px;
  padding-top: 27px;
  border-top: 1px solid var(--line);
}

.repeat-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 12px;
}

.repeat-title h3 {
  margin: 0;
  font-size: .9rem;
  font-weight: 780;
}

.repeat-title small {
  display: block;
  max-width: 560px;
  margin-top: 4px;
  color: var(--muted);
  font-size: .74rem;
  line-height: 1.45;
}

.add-row {
  border: 0;
  color: var(--primary);
  background: transparent;
  font-size: .8rem;
  font-weight: 800;
}

.repeat-row {
  position: relative;
  display: grid;
  grid-template-columns: 170px 1fr 38px;
  gap: 9px;
  margin-top: 9px;
}

.link-repeat-row {
  grid-template-columns: 130px minmax(170px, 1fr) 120px 145px 170px 38px;
}

.contact-visibility-row {
  grid-template-columns: 150px minmax(190px, 1fr) 180px 38px;
}

.repeat-row select {
  min-width: 0;
  padding: 0 10px;
  font-size: .78rem;
}

.link-repeat-row > span {
  grid-column: 2 / 5;
}

.repeat-row .remove-row {
  display: grid;
  height: 38px;
  margin-top: 5px;
  place-items: center;
  border: 0;
  border-radius: 9px;
  color: var(--muted);
  background: #f3f5f9;
  font-size: 1.3rem;
  line-height: 1;
}

.repeat-row .remove-row:hover {
  color: var(--danger);
  background: #fff1f3;
}

.repeat-row > span {
  grid-column: 2 / 3;
}

.field-visibility-select {
  margin-top: 8px;
  border-color: color-mix(in srgb, var(--primary) 18%, var(--line)) !important;
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 5%, white) !important;
  font-size: .8rem;
  font-weight: 750;
}

.visibility-explanation {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--muted);
  background: #f5f6ff;
  font-size: .84rem;
}

.visibility-toggle {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 5px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}

.field label.visibility-toggle {
  display: flex;
  margin: 0;
}

.visibility-toggle > input {
  position: absolute;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  opacity: 0;
}

.toggle-ui {
  position: relative;
  width: 45px;
  height: 25px;
  flex: 0 0 auto;
  border-radius: 20px;
  background: #c8ceda;
  transition: background .2s ease;
}

.toggle-ui::after {
  position: absolute;
  width: 19px;
  height: 19px;
  top: 3px;
  left: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .17);
  content: "";
  transition: transform .2s ease;
}

.visibility-toggle input:checked ~ .toggle-ui {
  background: var(--primary);
}

.visibility-toggle input:checked ~ .toggle-ui::after {
  transform: translateX(20px);
}

.visibility-toggle strong,
.visibility-toggle small {
  display: block;
}

.visibility-toggle strong {
  font-size: .84rem;
}

.visibility-toggle small {
  margin-top: 2px;
  color: var(--muted);
  font-size: .74rem;
}

.compact-toggle {
  min-height: 46px;
  margin-top: 0;
  padding: 9px 12px;
}

.company-display-options.is-hidden {
  display: none;
}

.company-display-options {
  min-width: 0;
}

.company-display-option-grid {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.company-display-option-grid .visibility-toggle,
.company-display-option-grid .visibility-toggle > span:last-child {
  min-width: 0;
}

.block-toolbar,
.block-card-header,
.block-card-actions,
.block-editor-header,
.block-order-actions {
  display: flex;
  align-items: center;
}

.block-toolbar {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.block-toolbar > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.block-toolbar > span {
  max-width: 390px;
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.45;
  text-align: right;
}

.profile-block-editor-list {
  display: grid;
  gap: 14px;
}

.desktop-layout-editor {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #f8f9ff;
}

.desktop-layout-editor > summary {
  display: grid;
  gap: 3px;
  padding: 16px 18px;
  cursor: pointer;
}

.desktop-layout-editor > summary strong { font-size: .88rem; }
.desktop-layout-editor > summary small { color: var(--muted); font-size: .74rem; }
.desktop-layout-editor-body { padding: 0 18px 18px; }
.desktop-layout-editor-body > p { margin: 0 0 14px; color: var(--muted); font-size: .76rem; line-height: 1.5; }

.desktop-layout-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 10px;
}

.desktop-layout-tile {
  display: grid;
  min-width: 0;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 11px;
  border: 1px solid color-mix(in srgb, var(--primary) 22%, var(--line));
  border-radius: 12px;
  background: #fff;
  cursor: grab;
}

.desktop-layout-tile.is-full { grid-column: 1 / -1; }
.desktop-layout-tile.is-dragging { opacity: .55; }
.desktop-layout-tile.is-drop-target { border-color: var(--primary); background: #ededff; }
.desktop-layout-drag { color: var(--muted); font-size: 1rem; letter-spacing: -.15em; }
.desktop-layout-tile-title { min-width: 0; overflow-wrap: anywhere; font-size: .77rem; font-weight: 760; }
.desktop-layout-tile select { grid-column: 2; min-width: 0; padding: 6px 8px; font-size: .7rem; }
.desktop-layout-tile-actions { display: flex; grid-column: 3; grid-row: 1 / 3; gap: 4px; }
.desktop-layout-tile-actions button { width: 29px; height: 29px; padding: 0; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--primary); }
.desktop-layout-tile-actions button:disabled { opacity: .35; }

@media (max-width: 760px) {
  .desktop-layout-preview { grid-template-columns: 1fr; }
  .desktop-layout-tile { grid-column: 1 / -1; }
}

.block-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.block-picker > button {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 11px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  background: #fff;
  text-align: left;
}

.block-picker > button:hover {
  border-color: #bfc1f2;
  background: #f8f8ff;
  transform: translateY(-1px);
}

.block-picker > button > span:nth-child(2) {
  display: grid;
  gap: 2px;
}

.block-picker > button small {
  color: var(--muted);
  font-size: .7rem;
  line-height: 1.35;
}

.block-picker > button i {
  color: var(--primary);
  font-size: 1.15rem;
  font-style: normal;
}

.block-picker-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--primary);
  border-radius: 12px;
  background: #ededff;
  font-size: 1rem;
}

.block-picker-dialog {
  position: fixed;
  z-index: 2000;
  inset: 0;
}

.block-picker-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  background: rgba(17, 24, 39, .56);
  backdrop-filter: blur(4px);
}

.block-picker-panel {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: min(840px, calc(100% - 28px));
  max-height: min(760px, calc(100vh - 34px));
  gap: 14px;
  padding: 22px;
  overflow: auto;
  border-radius: 22px;
  background: #f8f9fc;
  box-shadow: 0 28px 90px rgba(17, 24, 39, .28);
  transform: translate(-50%, -50%);
}

.block-picker-panel > header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.block-picker-panel h3,
.block-picker-panel p {
  margin: 0;
}

.block-picker-panel header p {
  margin-top: 4px;
  color: var(--muted);
}

.block-picker-close {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  font-size: 1.3rem;
}

.block-picker-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.block-picker-search input {
  width: 100%;
  padding: 12px 0;
  border: 0;
  outline: none;
  background: transparent;
}

.block-category-filters,
.block-list-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.block-category-filters button,
.block-list-filters button {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: #fff;
  font-size: .72rem;
  font-weight: 700;
}

.block-category-filters button.is-active,
.block-list-filters button.is-active {
  color: #fff;
  border-color: var(--primary);
  background: var(--primary);
}

.block-picker-empty {
  padding: 22px;
  color: var(--muted);
  text-align: center;
}

.has-dialog-open {
  overflow: hidden;
}

.profile-block-editor-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fbfcff;
}

.block-card-header,
.block-editor-header {
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: #f6f7fb;
}

.block-card-header > div:first-child {
  display: flex;
  align-items: center;
  gap: 9px;
}

.block-collapse-toggle {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  flex: 1;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  text-align: left;
}

.block-collapse-label {
  display: grid;
  min-width: 0;
  flex: 1;
  gap: 2px;
}

.block-collapse-label strong,
.block-collapse-label small {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.block-collapse-label small {
  color: var(--muted);
  font-size: .7rem;
}

.block-collapse-chevron {
  color: var(--muted);
  font-size: 1.1rem;
  transition: transform .18s ease;
}

.block-collapse-toggle[aria-expanded="true"] .block-collapse-chevron {
  transform: rotate(180deg);
}

.block-editor-body {
  padding-top: 1px;
}

.profile-block-editor-card.is-collapsed .block-editor-header {
  border-bottom-color: transparent;
}

.block-type-icon {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 9px;
  color: var(--primary);
  background: #e9e9ff;
  font-size: .8rem;
}

.block-card-actions,
.block-order-actions {
  gap: 5px;
}

.block-card-actions button,
.block-order-actions button {
  display: grid;
  width: 31px;
  height: 31px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--muted);
  background: #fff;
  font-size: .9rem;
}

.block-card-actions button:hover,
.block-order-actions button:hover {
  color: var(--primary);
  border-color: #c8c9f4;
}

.block-card-actions [data-remove-block]:hover,
.block-order-actions [data-remove-block]:hover {
  color: var(--danger);
  border-color: #f2cbd2;
}

.block-enabled-toggle {
  margin: 13px 14px 0;
  background: #fff;
}

.block-form-grid {
  padding: 14px;
}

.block-item-editor {
  display: grid;
  gap: 10px;
  padding: 0 14px 14px;
}

.block-item-editor [data-block-item-list] {
  display: grid;
  gap: 10px;
}

.block-item-row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 13px 48px 13px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.block-item-row > .remove-row {
  position: absolute;
  top: 11px;
  right: 11px;
}

.block-schedule {
  margin: 0 14px 14px;
  border-top: 1px solid var(--line);
}

.block-schedule summary {
  padding: 12px 2px 0;
  color: var(--muted);
  cursor: pointer;
  font-size: .72rem;
  font-weight: 760;
}

.block-schedule .block-form-grid {
  padding-inline: 0;
  padding-bottom: 0;
}

.opening-hours-editor {
  display: grid;
  gap: 7px;
  padding: 0 14px 14px;
}

.opening-day-row {
  display: grid;
  min-height: 48px;
  align-items: center;
  grid-template-columns: 100px 112px minmax(175px, 1fr) minmax(175px, 1fr);
  gap: 10px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
}

.opening-day-row > strong {
  font-size: .76rem;
}

.day-closed-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: var(--muted);
  font-size: .69rem;
}

.day-closed-toggle input {
  width: 16px !important;
  height: 16px !important;
  accent-color: var(--primary);
}

.opening-time-range {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr auto 1fr;
  gap: 5px;
}

.opening-time-range input {
  width: 100%;
  min-width: 0;
  height: 34px;
  padding: 4px 6px;
  border: 1px solid #dfe3ec;
  border-radius: 8px;
  font-size: .72rem;
}

.opening-day-row.is-closed .opening-time-range {
  opacity: .32;
}

.opening-day-row.is-closed .opening-time-range input {
  pointer-events: none;
}

.form-submit-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 13px 0;
}

/* Share */
.share-container {
  max-width: 970px;
}

.warning-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 13px;
  margin-bottom: 22px;
  padding: 16px 18px;
  border: 1px solid #eedda4;
  border-radius: 13px;
  color: #6d5816;
  background: #fffaf0;
  font-size: .86rem;
}

.warning-card a {
  color: #6d5816;
  font-weight: 800;
}

.text-button {
  border: 0;
  padding: 0;
  color: #6d5816;
  background: transparent;
  font-size: .86rem;
  font-weight: 800;
  text-decoration: underline;
}

.share-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 20px;
  min-width: 0;
}

.share-grid.is-disabled {
  opacity: .62;
}

.qr-card,
.share-option-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.qr-card {
  display: flex;
  min-width: 0;
  min-height: 575px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px;
  text-align: center;
}

.qr-card h2 {
  margin: 0;
  font-size: 1.35rem;
}

.qr-card .qr-scan-hint {
  max-width: 310px;
  margin: 8px 0 18px;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.5;
}

.card-kicker {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.qr-frame {
  display: grid;
  width: min(330px, 100%);
  height: auto;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

.qr-frame img {
  width: min(310px, calc(100% - 20px));
  height: auto;
  aspect-ratio: 1;
}

.qr-placeholder {
  display: grid;
  width: min(260px, 100%);
  height: auto;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 15px;
  color: var(--muted);
  background:
    repeating-linear-gradient(45deg, #f2f3f6, #f2f3f6 9px, #e9ebf0 9px, #e9ebf0 18px);
  font-weight: 800;
}

.qr-card .qr-exchange-note {
  max-width: 330px;
  margin: 17px 0 0;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.55;
}

.qr-download-link,
.pro-inline-link {
  margin-top: 17px;
  font-size: .8rem;
}

.pro-inline-link {
  color: var(--primary);
  font-weight: 750;
}

.share-options {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.share-option-card {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 15px;
  min-width: 0;
  padding: 23px;
}

.share-option-card > div {
  min-width: 0;
}

.option-icon {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border-radius: 14px;
  color: var(--primary);
  background: var(--primary-light);
  font-weight: 850;
}

.share-option-card h2 {
  margin: -4px 0 5px;
  font-size: 1rem;
  font-weight: 800;
}

.share-option-card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: .8rem;
}

.share-option-card small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: .7rem;
}

.copy-control {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.copy-control input {
  height: 42px;
  min-width: 0;
  color: var(--ink-soft);
  background: #f8f9fc;
  font-size: .78rem;
}

.nfc-icon {
  letter-spacing: -.25em;
  transform: none;
}

.nfc-status {
  margin-top: 9px;
  color: var(--success);
  font-size: .76rem;
  font-weight: 700;
}

.compact-option {
  align-items: center;
}

.compact-option .card-kicker {
  margin-bottom: 4px;
}

.pro-promo-card {
  border-color: #d9dafd;
  background: linear-gradient(135deg, #fff, #f6f6ff);
}

button:disabled,
.btn:disabled {
  cursor: not-allowed;
  opacity: .58;
  transform: none;
}

/* Pricing */
.pricing-section {
  min-height: calc(100vh - 138px);
  padding: 80px 0 105px;
  background:
    radial-gradient(circle at 50% 0, rgba(91, 92, 240, .11), transparent 30%),
    var(--canvas);
}

.pricing-container {
  max-width: 1180px;
}

.pricing-heading {
  max-width: 700px;
  margin: 0 auto 45px;
  text-align: center;
}

.pricing-heading h1 {
  margin: 11px 0 12px;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 850;
  letter-spacing: -.055em;
}

.pricing-heading p {
  color: var(--muted);
  font-size: 1.02rem;
}

.pricing-interval-switch {
  display: inline-flex;
  gap: 4px;
  margin-top: 20px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.pricing-interval-switch button {
  min-height: 38px;
  padding: 8px 15px;
  border: 0;
  border-radius: 9px;
  color: var(--muted);
  background: transparent;
  font-size: .76rem;
  font-weight: 800;
}

.pricing-interval-switch button.is-active {
  color: #fff;
  background: var(--primary);
}

.pricing-saving {
  display: inline-flex;
  margin-left: 4px;
  padding: 3px 6px;
  border-radius: 7px;
  color: #0b7049;
  background: #dff8ed;
  font-size: .58rem;
  font-weight: 850;
  vertical-align: middle;
}

.pricing-grid {
  display: grid;
  align-items: stretch;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.price-card {
  position: relative;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.featured-price-card {
  border: 2px solid var(--primary);
  box-shadow: 0 24px 55px rgba(91, 92, 240, .16);
}

.international-price-card {
  border-color: #b9bafc;
  background: linear-gradient(155deg, #fff 45%, #f5f5ff);
}

.international-upgrade-note {
  display: grid;
  gap: 4px;
  margin: 18px 0 12px;
  padding: 14px;
  border-radius: 13px;
  color: #3536a8;
  background: #ededff;
}

.international-upgrade-note span {
  font-size: .8rem;
}

.popular-tag {
  position: absolute;
  top: -13px;
  right: 25px;
  padding: 6px 11px;
  border-radius: 20px;
  color: #fff;
  background: var(--primary);
  font-size: .68rem;
  font-weight: 850;
}

.price-card h2 {
  margin: 15px 0 18px;
  font-size: 1.35rem;
  font-weight: 820;
}

/* Profile translations */
.translation-editor-container {
  max-width: 1040px;
}

.translation-language-panel,
.translation-settings-card,
.translation-section {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.translation-language-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
  padding: 24px 28px;
}

.translation-language-panel p,
.translation-editor-heading small,
.translation-setting small {
  margin: 6px 0 0;
  color: var(--muted);
}

.translation-progress-summary {
  display: grid;
  min-width: 150px;
  text-align: right;
}

.translation-progress-summary strong {
  color: var(--primary);
  font-size: 1.35rem;
}

.translation-progress-summary span {
  color: var(--muted);
  font-size: .82rem;
}

.translation-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}

.translation-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  background: #fff;
  text-decoration: none;
}

.translation-tab span {
  color: var(--muted);
  font-size: .75rem;
}

.translation-tab.is-active {
  border-color: var(--primary);
  color: var(--primary);
  background: #f5f5ff;
  box-shadow: 0 10px 25px rgba(91, 92, 240, .1);
}

.translation-settings-card {
  display: grid;
  grid-template-columns: minmax(220px, .7fr) 1.3fr;
  gap: 28px;
  margin-bottom: 30px;
  padding: 24px 28px;
}

.translation-setting {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.translation-setting > label,
.translation-setting legend,
.translation-field > label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: .82rem;
  font-weight: 800;
}

.translation-setting select,
.translation-field input,
.translation-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: #fff;
}

.translation-setting select,
.translation-field input {
  min-height: 48px;
  padding: 10px 13px;
}

.translation-field textarea {
  min-height: 110px;
  padding: 12px 13px;
  resize: vertical;
}

.translation-culture-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.translation-culture-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  cursor: pointer;
}

.translation-culture-option input {
  width: 17px;
  height: 17px;
  accent-color: var(--primary);
}

.translation-editor-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 0 4px 16px;
}

.translation-editor-heading h2 {
  margin: 5px 0 0;
}

.translation-section {
  overflow: hidden;
  margin-bottom: 14px;
}

.translation-section summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 22px;
  cursor: pointer;
  list-style: none;
}

.translation-section summary::-webkit-details-marker {
  display: none;
}

.translation-section summary span {
  color: var(--muted);
  font-size: .78rem;
}

.translation-section[open] summary {
  border-bottom: 1px solid var(--line);
  background: #fafaff;
}

.translation-field-list {
  display: grid;
  gap: 0;
  padding: 4px 22px;
}

.translation-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.translation-field:last-child {
  border-bottom: 0;
}

.translation-source {
  grid-row: span 2;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--canvas);
}

.translation-source span {
  color: var(--muted);
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.translation-source p {
  overflow-wrap: anywhere;
  margin: 7px 0 0;
  white-space: pre-wrap;
}

.translation-actions {
  margin-top: 26px;
}

.public-profile-language-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  padding: 12px 30px 0;
}

.public-profile-language-bar > span {
  color: var(--muted);
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.profile-language-switcher select {
  min-height: 36px;
  padding: 7px 30px 7px 10px;
  border-color: color-mix(in srgb, var(--accent) 30%, var(--line));
  color: var(--ink);
  background-color: #fff;
}

.content-page-language-bar {
  padding-bottom: 0;
}

@media (max-width: 760px) {
  .translation-language-panel,
  .translation-editor-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .translation-progress-summary {
    text-align: left;
  }

  .translation-tabs,
  .translation-settings-card,
  .translation-field {
    grid-template-columns: 1fr;
  }

  .translation-settings-card {
    gap: 22px;
    padding: 20px;
  }

  .translation-field {
    row-gap: 13px;
  }

  .translation-source {
    grid-row: auto;
  }

  .public-profile-language-bar {
    justify-content: space-between;
    padding-inline: 20px;
  }
}

.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price strong {
  font-size: 2.3rem;
  font-weight: 860;
  letter-spacing: -.045em;
}

.price span,
.monthly-note,
.price-hint,
.pricing-footnote {
  color: var(--muted);
}

.billing-actions {
  display: grid;
  gap: 7px;
}

.checkout-consent {
  margin-bottom: 10px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #f8f9fc;
  text-align: left;
}

.billing-actions form,
.active-plan-note + form {
  margin: 0;
}

.active-plan-note {
  display: grid;
  gap: 3px;
  margin-top: 8px;
  padding: 13px 15px;
  border: 1px solid #bfe6d7;
  border-radius: 12px;
  color: #0c6645;
  background: #eefbf6;
  font-size: .8rem;
}

.active-plan-note span {
  color: #4d7768;
  font-size: .7rem;
}

.monthly-note {
  margin: 2px 0 0;
  font-size: .78rem;
}

.price-card ul {
  display: grid;
  gap: 12px;
  margin: 27px 0 30px;
  padding: 0;
  list-style: none;
}

.price-card li::before {
  margin-right: 9px;
  color: var(--success);
  content: "✓";
  font-weight: 900;
}

.price-hint {
  display: block;
  margin-top: 10px;
  text-align: center;
  font-size: .7rem;
}

.pricing-footnote {
  margin: 28px 0 0;
  text-align: center;
  font-size: .78rem;
}

.pricing-legal-note {
  max-width: 720px;
  margin: 8px auto 0;
  color: var(--muted);
  font-size: .7rem;
  line-height: 1.5;
  text-align: center;
}

/* Legal pages */
.legal-page {
  min-height: calc(100vh - 138px);
  padding: 70px 16px 90px;
  background:
    radial-gradient(circle at 85% 0, rgba(91, 92, 240, .08), transparent 25%),
    var(--canvas);
}

.legal-document {
  width: min(860px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.legal-document header {
  margin-bottom: 38px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--line);
}

.legal-document h1 {
  margin: 10px 0 8px;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 850;
  letter-spacing: -.045em;
}

.legal-document header p,
.legal-document p,
.legal-document li,
.legal-document address {
  color: var(--ink-soft);
  line-height: 1.7;
}

.legal-document header p {
  margin: 0;
  color: var(--muted);
}

.legal-document h2 {
  margin: 31px 0 10px;
  font-size: 1.05rem;
  font-weight: 820;
}

.legal-document p,
.legal-document address {
  margin: 0 0 13px;
}

.legal-document address {
  font-style: normal;
}

.legal-document ul {
  display: grid;
  gap: 7px;
  padding-left: 21px;
}

.legal-document a {
  color: var(--primary);
}

.danger-zone {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 23px;
  padding-top: 23px;
  border-top: 1px solid var(--line);
}

.danger-zone form {
  margin: 0;
}

/* Public profile */
.public-body {
  min-height: 100vh;
  background: #eef1f7;
}

.public-legal-footer {
  padding: 20px 18px 26px;
  color: #808797;
  background: #eef1f7;
  font-size: .7rem;
}

.public-legal-footer-inner {
  display: flex;
  width: min(560px, 100%);
  margin-inline: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(216, 221, 234, .85);
  align-items: center;
  justify-content: space-between;
  gap: 14px 26px;
}

.public-legal-footer-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px 9px;
}

.public-legal-footer nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 13px;
}

.public-legal-footer a {
  color: inherit;
  text-underline-offset: 2px;
}

.public-legal-footer .public-footer-brand {
  color: var(--ink-soft);
  font-weight: 800;
  text-decoration: none;
}

.public-legal-footer a:hover,
.public-legal-footer button:hover {
  color: var(--primary);
}

.public-legal-footer button {
  appearance: none;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.analytics-consent {
  position: fixed;
  z-index: 1000;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: flex;
  width: min(760px, calc(100% - 40px));
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px;
  border: 1px solid #dfe3ec;
  border-radius: 18px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 18px 50px rgba(24, 31, 56, .2);
}

.analytics-consent[hidden] {
  display: none;
}

.analytics-consent-copy {
  min-width: 0;
}

.analytics-consent-copy strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-size: .92rem;
}

.analytics-consent-copy p {
  margin: 0;
  color: var(--muted);
  font-size: .76rem;
  line-height: 1.55;
}

.analytics-consent-copy a {
  color: var(--primary);
  font-weight: 700;
}

.analytics-consent-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 9px;
}

.analytics-consent-button {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--primary);
  border-radius: 11px;
  font-size: .74rem;
  font-weight: 800;
  cursor: pointer;
}

.analytics-consent-button.is-essential {
  color: var(--primary);
  background: #fff;
}

.analytics-consent-button.is-accept {
  color: #fff;
  background: var(--primary);
}

.profile-page {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding: 40px 16px;
  background:
    radial-gradient(circle at 20% 8%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 26%),
    linear-gradient(180deg, #f8f9fc, #eef1f7);
}

.profile-bg-shape {
  position: fixed;
  border: 1px solid color-mix(in srgb, var(--accent) 14%, transparent);
  border-radius: 50%;
  pointer-events: none;
}

.shape-one {
  width: 520px;
  height: 520px;
  top: -260px;
  left: calc(50% - 520px);
}

.shape-two {
  width: 380px;
  height: 380px;
  right: calc(50% - 500px);
  bottom: -230px;
}

.public-profile-card {
  position: relative;
  z-index: 2;
  width: min(560px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 30px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 35px 90px rgba(37, 45, 78, .16);
}

.profile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 19px 24px;
  border-bottom: 1px solid var(--line);
}

.profile-brand {
  font-size: .87rem;
}

.profile-brand img {
  display: block;
  width: 132px;
  height: auto;
}

.profile-type {
  padding: 6px 9px;
  border-radius: 20px;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, white);
  font-size: .68rem;
  font-weight: 800;
}

.identity-block {
  padding: 42px 30px 20px;
  text-align: center;
}

.profile-avatar {
  display: grid;
  width: 116px;
  height: 116px;
  margin: 0 auto 22px;
  place-items: center;
  border: 6px solid #fff;
  border-radius: 36px;
  color: #fff;
  background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 78%, white), var(--accent));
  box-shadow: 0 18px 36px color-mix(in srgb, var(--accent) 28%, transparent);
  font-size: 1.8rem;
  font-weight: 860;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 30px;
  object-fit: cover;
}

.profile-avatar.profile-logo {
  border-radius: 30px;
  background: #fff;
}

.profile-avatar.profile-logo img {
  padding: 10px;
  border-radius: 24px;
  object-fit: contain;
}

.identity-block h1 {
  margin: 0;
  font-size: clamp(1.85rem, 6vw, 2.45rem);
  font-weight: 850;
  letter-spacing: -.05em;
}

.profile-role {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: .92rem;
}

.profile-bio {
  max-width: 430px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: .89rem;
  line-height: 1.65;
}

.profile-header-address {
  display: inline-flex;
  max-width: 450px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 13px auto 0;
  padding: 7px 11px;
  border-radius: 10px;
  color: var(--ink-soft);
  background: color-mix(in srgb, var(--accent) 7%, white);
  font-size: .76rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}

.profile-header-address > span {
  color: var(--accent);
}

.profile-header-address:hover {
  color: var(--accent);
}

.primary-contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  padding: 11px 25px 25px;
}

.primary-contact-actions a {
  display: grid;
  min-width: 76px;
  gap: 6px;
  place-items: center;
  color: var(--accent);
  text-decoration: none;
}

.primary-contact-actions a small {
  overflow: hidden;
  max-width: 84px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.primary-contact-actions a > span {
  display: grid;
  width: 47px;
  height: 47px;
  place-items: center;
  border-radius: 15px;
  background: color-mix(in srgb, var(--accent) 10%, white);
  font-weight: 900;
}

.primary-contact-actions small {
  color: var(--muted);
  font-size: .67rem;
  font-weight: 700;
}

.save-contact-button {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 0 26px 28px;
  border-radius: 14px;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 14px 28px color-mix(in srgb, var(--accent) 24%, transparent);
  font-size: .94rem;
  font-weight: 820;
  text-decoration: none;
}

.save-contact-button:hover {
  color: #fff;
  filter: brightness(.96);
}

.contact-exchange-panel {
  display: grid;
  gap: 10px;
  margin: -14px 26px 28px;
  padding: 16px;
  border: 1px solid color-mix(in srgb, var(--accent) 18%, #dfe3ed);
  border-radius: 16px;
  background: color-mix(in srgb, var(--accent) 4%, white);
}

.contact-exchange-panel form { margin: 0; }
.contact-exchange-panel p { margin: 0; color: var(--muted); font-size: .76rem; text-align: center; }

.contact-exchange-primary,
.contact-exchange-secondary,
.contact-exchange-saved {
  display: flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 12px;
  font-size: .82rem;
  font-weight: 820;
  text-decoration: none;
}

.contact-exchange-primary { color: #fff; background: #111827; }
.contact-exchange-primary:hover { color: #fff; background: #20283a; }
.contact-exchange-secondary { color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, white); }
.contact-exchange-saved { color: #087443; background: #e8f8ef; }
.contact-exchange-saved:hover { color: #065d36; }
.contact-exchange-state { display: grid; gap: 8px; }
.contact-exchange-inline { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.contact-state-badge { color: var(--muted); font-size: .76rem; font-weight: 750; text-align: center; }
.contact-state-badge.is-connected { color: #087443; }
.contact-state-badge.is-muted { color: #7c8498; }
.contact-exchange-text { width: 100%; padding: 5px; border: 0; color: var(--muted); background: transparent; font-size: .74rem; font-weight: 750; }
.contact-exchange-text:hover { color: var(--accent); }

.public-toast {
  position: fixed;
  z-index: 50;
  top: 14px;
  left: 50%;
  width: min(520px, calc(100% - 28px));
  transform: translateX(-50%);
  box-shadow: 0 14px 45px rgba(21, 29, 56, .18);
}

.address-book-container { max-width: 1120px; }
.address-book-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.address-book-card { display: grid; gap: 14px; padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 14px 36px rgba(28, 37, 68, .07); }
.address-book-card-head { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; }
.address-book-card-head a { color: inherit; text-decoration: none; }
.address-book-card-head h2 { margin: 0; font-size: 1.05rem; }
.address-book-card-head p { margin: 3px 0 0; color: var(--muted); font-size: .78rem; }
.favorite-mark { color: #e6a700; font-size: 1.25rem; }
.contact-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.contact-tags span { padding: 4px 8px; border-radius: 999px; color: var(--primary); background: #f0f0ff; font-size: .69rem; font-weight: 750; }
.met-note { margin: 0; color: var(--muted); font-size: .76rem; }
.relationship-summary { min-height: 24px; }
.address-book-actions, .request-row-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.address-book-actions form, .request-row-actions form { margin: 0; }
.btn-danger-soft { color: #b4233b; background: #fff0f2; border-color: #ffd5dc; }
.request-count { display: inline-grid; min-width: 20px; height: 20px; margin-left: 5px; place-items: center; border-radius: 999px; color: var(--primary); background: #fff; font-size: .7rem; }
.request-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.request-columns .form-card > h2 { margin: 0 0 18px; }
.request-row { display: flex; gap: 14px; align-items: center; justify-content: space-between; padding: 14px 0; border-top: 1px solid var(--line); }
.request-row > div:first-child { display: grid; gap: 3px; }
.request-row a { color: var(--primary); font-size: .75rem; }
.address-book-edit-container { max-width: 820px; }

@media (max-width: 760px) {
  .contact-visibility-row,
  .link-repeat-row {
    grid-template-columns: 1fr 42px;
  }

  .contact-visibility-row > input,
  .contact-visibility-row > select,
  .link-repeat-row > input,
  .link-repeat-row > select {
    grid-column: 1;
  }

  .contact-visibility-row .remove-row {
    grid-column: 2;
    grid-row: 1 / span 3;
  }

  .link-repeat-row .remove-row {
    grid-column: 2;
    grid-row: 1 / span 5;
  }

  .contact-exchange-panel {
    margin-inline: 18px;
  }

  .address-book-grid,
  .request-columns {
    grid-template-columns: 1fr;
  }

  .request-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

.profile-block-section {
  display: grid;
  gap: 12px;
  padding: 0 26px 25px;
}

.profile-block-slot { min-width: 0; }

@media (min-width: 1024px) {
  .has-wide-profile .profile-page { padding: 42px 24px 52px; }
  .has-wide-profile .public-profile-card { width: min(1120px, 100%); }
  .has-wide-profile .public-legal-footer-inner { width: min(1120px, 100%); }

  .has-wide-profile .profile-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, .8fr);
    align-items: center;
    gap: 38px;
    padding: 42px 48px 30px;
    border-bottom: 1px solid var(--line);
  }

  .has-wide-profile .profile-hero > * { min-width: 0; }
  .has-wide-profile .identity-block { padding: 0; text-align: left; }
  .has-wide-profile .profile-avatar { margin: 0 0 22px; }
  .has-wide-profile .identity-block h1 { font-size: clamp(2.3rem, 3.5vw, 3.35rem); }
  .has-wide-profile .profile-bio { max-width: 590px; margin: 16px 0 0; }
  .has-wide-profile .profile-header-address { margin: 14px 0 0; }
  .has-wide-profile .primary-contact-actions { justify-content: flex-start; padding: 0 0 18px; }
  .has-wide-profile .profile-hero .profile-navigation { margin: 0 0 12px; }
  .has-wide-profile .profile-hero .save-contact-button { margin: 0 0 14px; }
  .has-wide-profile .contact-exchange-panel { margin: 0; }

  .has-wide-profile .profile-block-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 18px;
    padding: 28px 48px 34px;
  }

  .has-wide-profile .profile-block-slot.desktop-span-full { grid-column: 1 / -1; }
  .has-wide-profile .profile-content-page .content-page-heading { padding: 36px 48px 20px; }
  .has-wide-profile .profile-content-page .profile-navigation { margin: 0 48px 14px; }
  .has-wide-profile .profile-content-page .content-page-contact-button { margin: 20px 48px 28px; }
  .has-wide-profile .profile-link-section { padding: 0 48px 28px; }
  .has-wide-profile .profile-link-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .has-wide-profile .profile-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; padding: 0 48px 24px; }
  .has-wide-profile .detail-group { min-width: 0; }
  .has-wide-profile .detail-row strong { max-width: none; overflow-wrap: anywhere; }
}

.profile-block-card {
  overflow: hidden;
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, #dfe3ed);
  border-radius: 16px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 7%, white), #fff);
  box-shadow: 0 9px 24px color-mix(in srgb, var(--accent) 8%, transparent);
}

.profile-block-kicker {
  margin: 0 0 6px;
  color: var(--accent);
  font-size: .65rem;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.profile-block-card h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 830;
  letter-spacing: -.015em;
}

.profile-block-card p {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: .82rem;
  line-height: 1.55;
  white-space: pre-line;
}

.opening-block-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.profile-block-primary-action {
  display: flex;
  min-height: 43px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 15px;
  padding: 9px 13px;
  border-radius: 11px;
  color: #fff;
  background: var(--accent);
  font-size: .76rem;
  font-weight: 800;
  text-decoration: none;
}

.profile-block-primary-action:hover {
  color: #fff;
  filter: brightness(.96);
}

.profile-block-list {
  display: grid;
  gap: 8px;
  margin-top: 13px;
}

.profile-block-list-row {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 12px;
  border: 1px solid color-mix(in srgb, var(--accent) 13%, var(--line));
  border-radius: 11px;
  color: var(--ink);
  background: #fff;
  text-decoration: none;
}

.profile-block-list-row > span {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.profile-block-list-row strong,
.profile-block-list-row b {
  font-size: .75rem;
}

.profile-block-list-row small {
  color: var(--muted);
  font-size: .67rem;
  line-height: 1.4;
}

.profile-block-list-row b {
  flex: 0 0 auto;
  color: var(--accent);
}

.profile-gallery-grid,
.profile-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 13px;
}

.profile-gallery-grid figure,
.profile-gallery-grid a {
  overflow: hidden;
  margin: 0;
  border-radius: 11px;
  color: var(--ink);
  background: #fff;
  text-decoration: none;
}

.profile-gallery-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.profile-gallery-grid figcaption,
.profile-gallery-grid a span {
  display: block;
  padding: 7px 8px;
  font-size: .66rem;
  font-weight: 700;
}

.profile-product-card {
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent) 13%, var(--line));
  border-radius: 12px;
  background: #fff;
}

.profile-product-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.profile-product-body {
  padding: 11px;
}

.profile-product-body h3 {
  margin: 3px 0 0;
  font-size: .82rem;
}

.profile-product-body p {
  margin-top: 5px;
  font-size: .68rem;
}

.product-badge {
  color: var(--accent);
  font-size: .58rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.product-price,
.offer-price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-top: 9px;
}

.product-price del,
.offer-price del {
  color: var(--muted);
  font-size: .68rem;
}

.product-price strong,
.offer-price strong {
  color: var(--accent);
  font-size: .82rem;
}

.profile-product-body > a {
  display: inline-block;
  margin-top: 9px;
  color: var(--accent);
  font-size: .67rem;
  font-weight: 800;
  text-decoration: none;
}

.offer-content-block {
  border-color: color-mix(in srgb, var(--accent) 38%, #dfe3ed);
  background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 13%, white), #fff);
}

.offer-price strong {
  font-size: 1.25rem;
}

.offer-deadline {
  font-weight: 750;
}

.event-block-heading {
  display: grid;
  align-items: start;
  grid-template-columns: auto 1fr;
  gap: 13px;
}

.event-date-badge {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: var(--accent);
  line-height: 1;
}

.event-date-badge strong {
  font-size: 1.1rem;
}

.event-date-badge span {
  font-size: .6rem;
  font-weight: 850;
  letter-spacing: .06em;
}

.event-meta {
  display: grid;
  gap: 4px;
  margin-top: 9px;
  color: var(--muted);
  font-size: .72rem;
}

.profile-block-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.profile-block-actions a {
  display: inline-flex;
  min-height: 37px;
  align-items: center;
  padding: 7px 11px;
  border: 1px solid color-mix(in srgb, var(--accent) 27%, #dfe3ed);
  border-radius: 10px;
  color: var(--accent);
  background: #fff;
  font-size: .7rem;
  font-weight: 790;
  text-decoration: none;
}

.opening-block-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.opening-status {
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 9px;
  color: #8a3c28;
  background: #fff0eb;
  font-size: .64rem;
  font-weight: 820;
}

.opening-status.is-open {
  color: #0b7049;
  background: #dff8ed;
}

.opening-hours-list {
  display: grid;
  gap: 0;
  margin-top: 13px;
}

.opening-hours-list > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 2px;
  border-top: 1px solid color-mix(in srgb, var(--accent) 11%, var(--line));
  font-size: .73rem;
}

.opening-hours-list span {
  color: var(--muted);
}

.opening-hours-list strong {
  text-align: right;
}

.profile-link-section {
  padding: 0 26px 25px;
}

.profile-link-section h2 {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.profile-link-list {
  display: grid;
  gap: 10px;
}

.profile-link-button {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 17px;
  border: 1px solid color-mix(in srgb, var(--accent) 24%, #dfe3ed);
  border-radius: 15px;
  color: var(--ink);
  background: color-mix(in srgb, var(--accent) 7%, white);
  box-shadow: 0 8px 22px color-mix(in srgb, var(--accent) 8%, transparent);
  font-size: .9rem;
  font-weight: 790;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.profile-link-button > i {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: var(--accent);
  font-size: .83rem;
  font-style: normal;
}

.profile-link-button-label {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
}

.profile-link-icon-glyph {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-style: normal;
  font-weight: 850;
}

.profile-link-icon-image {
  display: block;
  width: 68%;
  height: 68%;
  object-fit: contain;
}

.profile-link-button-label .profile-link-icon-glyph {
  display: grid;
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 9px;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, white);
  font-size: .77rem;
}

.profile-link-icon-none {
  font-weight: 700;
}

.marketplace-profile-block {
  overflow: hidden;
  border-color: color-mix(in srgb, #0c65e8 34%, #dfe3ed);
  background:
    radial-gradient(circle at 100% 0, rgb(12 101 232 / 10%), transparent 42%),
    #fff;
}

.marketplace-brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.marketplace-brand-logo {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgb(12 101 232 / 18%);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 18px rgb(14 25 45 / 8%);
}

.marketplace-brand-logo img {
  width: 33px;
  height: 33px;
}

.marketplace-brand-row > span:nth-child(2) {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.marketplace-brand-row small {
  color: var(--muted);
  font-size: .7rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.marketplace-brand-row strong {
  color: #0e192d;
  font-size: 1rem;
}

.marketplace-status {
  margin-left: auto;
  padding: 6px 10px;
  border-radius: 999px;
  color: #075e3b;
  background: #e5f8ef;
  font-size: .7rem;
  font-weight: 800;
  white-space: nowrap;
}

.marketplace-capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 18px 0 20px;
  padding: 0;
  list-style: none;
}

.marketplace-capabilities li {
  padding: 6px 10px;
  border: 1px solid rgb(12 101 232 / 18%);
  border-radius: 999px;
  color: #0e192d;
  background: rgb(12 101 232 / 7%);
  font-size: .73rem;
  font-weight: 750;
}

.marketplace-profile-button {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 13px 15px;
  border-radius: 14px;
  color: #fff;
  background: #0c65e8;
  box-shadow: 0 11px 24px rgb(12 101 232 / 22%);
  font-weight: 800;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}

.marketplace-profile-button:hover {
  color: #fff;
  box-shadow: 0 14px 28px rgb(12 101 232 / 30%);
  transform: translateY(-1px);
}

.marketplace-profile-button img {
  width: 25px;
  height: 25px;
  padding: 4px;
  border-radius: 7px;
  background: #fff;
}

.marketplace-external-note {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: .68rem;
  line-height: 1.45;
}

@media (max-width: 480px) {
  .marketplace-brand-row {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .marketplace-status {
    width: fit-content;
    margin-left: 60px;
    margin-top: -15px;
  }
}

.profile-link-button:hover {
  border-color: color-mix(in srgb, var(--accent) 42%, #dfe3ed);
  color: var(--ink);
  box-shadow: 0 12px 26px color-mix(in srgb, var(--accent) 14%, transparent);
  transform: translateY(-1px);
}

.profile-details {
  padding: 0 26px 16px;
}

.detail-group {
  margin-bottom: 23px;
}

.detail-group h2 {
  margin: 0 0 9px;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.detail-row {
  display: grid;
  min-height: 72px;
  align-items: center;
  grid-template-columns: 42px 1fr auto;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
  text-decoration: none;
}

.detail-row + .detail-row {
  border-top: 0;
}

.detail-row:first-of-type {
  border-radius: 13px 13px 0 0;
}

.detail-row:last-child {
  border-radius: 0 0 13px 13px;
}

.detail-row:only-of-type {
  border-radius: 13px;
}

.detail-row:hover {
  color: var(--ink);
  background: #fafbfe;
}

.detail-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 11px;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 9%, white);
  font-size: .85rem;
}

.detail-row small,
.detail-row strong {
  display: block;
}

.detail-row small {
  margin-bottom: 2px;
  color: var(--muted);
  font-size: .66rem;
  font-weight: 650;
}

.detail-row strong {
  overflow: hidden;
  max-width: 390px;
  font-size: .86rem;
  font-weight: 720;
  line-height: 1.35;
  text-overflow: ellipsis;
}

.detail-row i {
  color: #a8aeba;
  font-size: 1.3rem;
  font-style: normal;
}

.profile-footer {
  display: grid;
  gap: 3px;
  padding: 22px 25px 25px;
  border-top: 1px solid var(--line);
  color: #9aa0ad;
  text-align: center;
  font-size: .65rem;
}

.profile-footer strong {
  color: var(--ink-soft);
}

.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
  font-size: .75rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-copy {
  display: grid;
  gap: 4px;
}

.swiss-origin {
  color: color-mix(in srgb, var(--muted) 82%, #d52b1e);
  font-weight: 700;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-legal a {
  color: var(--muted);
}

.footer-legal a:hover {
  color: var(--primary);
}

.footer-legal button {
  appearance: none;
  padding: 0;
  border: 0;
  color: var(--muted);
  background: transparent;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.footer-legal button:hover {
  color: var(--primary);
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy h1,
  .hero-lead {
    margin-inline: auto;
  }

  .hero-actions,
  .trust-row {
    justify-content: center;
  }

  .hero-visual {
    min-height: 580px;
  }

  .tap-card {
    right: max(0px, calc(50% - 250px));
  }

  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .brand-logo-full {
    display: none;
  }

  .brand-logo-symbol {
    display: block;
  }

  .nav-actions-desktop {
    display: none;
  }

  .mobile-navigation {
    display: block;
  }

  .hero {
    min-height: auto;
    padding-top: 62px;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 14vw, 4.8rem);
  }

  .steps-grid,
  .contact-grid,
  .share-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .plan-overview,
  .plan-overview > div {
    align-items: flex-start;
    flex-direction: column;
  }

  .share-grid {
    max-width: 520px;
    margin-inline: auto;
  }

  .qr-card {
    min-height: auto;
    padding: 26px 20px;
  }

  .page-heading-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-heading-row .btn {
    width: 100%;
  }

  .warning-card {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: 23px 19px;
  }
}

@media (max-width: 560px) {
  .nav-shell {
    min-height: 66px;
  }

  .nav-actions {
    gap: 7px;
  }

  .nav-actions .btn {
    min-height: 38px;
    padding: 8px 12px;
    font-size: .78rem;
  }

  .auth-section,
  .dashboard-section,
  .editor-section,
  .share-section {
    padding-top: 42px;
  }

  .auth-card {
    padding: 29px 22px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .trust-row {
    gap: 10px 17px;
  }

  .hero-visual {
    min-height: 520px;
    transform: scale(.88);
    transform-origin: top center;
  }

  .tap-card {
    right: -15px;
  }

  .form-grid {
    display: block;
  }

  .image-editor-grid {
    justify-items: center;
    grid-template-columns: 1fr;
  }

  .image-editor-controls {
    width: 100%;
  }

  .company-display-option-grid {
    grid-template-columns: 1fr;
  }

  .slug-input {
    grid-template-columns: 1fr;
  }

  .slug-input > span {
    min-height: 34px;
    border-right: 1px solid #dfe3ec;
    border-bottom: 0;
    border-radius: 11px 11px 0 0;
  }

  .slug-input input {
    border-radius: 0 0 11px 11px !important;
  }

  .repeat-row {
    grid-template-columns: 1fr 42px;
  }

  .repeat-row input:first-child {
    grid-column: 1 / 2;
  }

  .repeat-row input:nth-child(2) {
    grid-column: 1 / 2;
  }

  .repeat-row .remove-row {
    height: 44px;
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .link-repeat-row select {
    grid-column: 1;
  }

  .link-repeat-row .remove-row {
    grid-row: 1 / span 4;
  }

  .repeat-row > span {
    grid-column: 1;
  }

  .form-submit-bar {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .copy-control {
    grid-template-columns: 1fr;
  }

  .danger-zone {
    align-items: stretch;
    flex-direction: column;
  }

  .danger-zone .btn {
    width: 100%;
  }

  .profile-page {
    padding: 0;
  }

  .public-profile-card {
    min-height: 100vh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .identity-block {
    padding-top: 36px;
  }

  .profile-details {
    padding-inline: 18px;
  }

  .profile-link-section {
    padding-inline: 18px;
  }

  .profile-block-section {
    padding-inline: 18px;
  }

  .block-item-row,
  .profile-product-grid {
    grid-template-columns: 1fr;
  }

  .block-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .block-toolbar > span {
    text-align: left;
  }

  .opening-day-row {
    grid-template-columns: 1fr 1fr;
  }

  .opening-time-range {
    grid-column: 1 / -1;
  }

  .detail-row strong {
    max-width: 245px;
  }

  .footer-inner {
    align-items: center;
    flex-direction: column;
    text-align: center;
  }

  .footer-legal,
  .public-legal-footer {
    flex-wrap: wrap;
    justify-content: center;
  }

  .public-legal-footer-inner {
    align-items: center;
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .public-legal-footer-meta,
  .public-legal-footer nav {
    justify-content: center;
  }

  .analytics-consent {
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: calc(100% - 24px);
    align-items: stretch;
    flex-direction: column;
    gap: 15px;
    padding: 17px;
  }

  .analytics-consent-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

/* Persönlicher Unterstützungs- und Kommunikationspass */
.support-passport-editor-warning {
  margin: 13px 14px 0;
  padding: 16px 18px;
  border: 1px solid #efcf91;
  border-radius: 14px;
  color: #5e4513;
  background: #fff9e9;
}

.support-passport-editor-warning p { margin: 5px 0 0; font-size: .82rem; line-height: 1.55; }
.support-contact-editor {
  min-inline-size: 0;
  margin: 8px 0 0;
  padding: 0;
  border: 0;
}
.support-contact-editor legend {
  float: none;
  width: auto;
  margin: 0;
  padding: 0 14px;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.35;
}
.support-consent-toggle { margin: 6px 14px 0; border-color: #efcf91; background: #fff9e9; }

.support-display-help,
.support-view-shortcuts {
  display: grid;
  gap: 4px;
  margin-top: 10px;
  padding: 11px 12px;
  border: 1px solid #dfe3f2;
  border-radius: 12px;
  background: #fff;
  font-size: .8rem;
  line-height: 1.5;
}
.support-display-help strong { color: var(--ink); }
.support-display-help span,
.support-view-shortcuts > span { color: var(--muted); }
.support-view-shortcuts { gap: 6px; }
.support-view-shortcuts a {
  color: var(--brand);
  font-weight: 800;
  text-decoration: none;
}
.support-view-shortcuts a:hover { text-decoration: underline; }

.support-passport-card { min-width: 0; }
.support-passport-heading { display: flex; align-items: flex-start; gap: 13px; }
.support-passport-heading > div { min-width: 0; }
.support-passport-heading p { margin-top: 6px; }
.support-passport-symbol {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: var(--accent, #5b57f5);
  font-size: 1.1rem;
}

.support-passport-introduction {
  margin-top: 16px;
  padding: 15px;
  border-left: 4px solid var(--accent, #5b57f5);
  border-radius: 4px 12px 12px 4px;
  color: var(--ink);
  background: color-mix(in srgb, var(--accent, #5b57f5) 8%, white);
  font-size: .88rem;
  font-weight: 680;
  line-height: 1.6;
  white-space: pre-line;
}

.support-passport-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 13px; }
.support-passport-section { min-width: 0; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.support-passport-section h3 { margin: 0; font-size: .77rem; font-weight: 850; }
.support-passport-section p { margin-top: 7px; overflow-wrap: anywhere; white-space: pre-line; }
.support-passport-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 13px;
  padding: 14px;
  border-radius: 12px;
  color: #fff;
  background: #111629;
}
.support-passport-contact > div { display: grid; min-width: 0; }
.support-passport-contact .card-kicker { margin-bottom: 3px; color: #c9cce0; }
.support-passport-contact small { color: #c9cce0; }
.support-passport-contact a { flex: 0 0 auto; padding: 10px 13px; border-radius: 10px; color: #111629; background: #fff; font-size: .77rem; font-weight: 850; text-decoration: none; }

.support-public-body { min-width: 0; margin: 0; color: var(--ink); background: #f2f4fa; }
.support-passport-page { display: grid; min-height: calc(100dvh - 72px); padding: 32px 18px; place-items: start center; }
.support-passport-shell { width: min(720px, 100%); overflow: hidden; border: 1px solid var(--line); border-radius: 26px; background: #fff; box-shadow: 0 24px 70px rgba(24, 29, 56, .12); }
.support-public-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .78rem; font-weight: 800; }
.support-public-header img { display: block; width: 166px; height: auto; }
.support-language-links { display: flex; flex-wrap: wrap; gap: 6px; padding: 16px 24px 0; }
.support-language-links a { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); font-size: .72rem; font-weight: 750; text-decoration: none; }
.support-language-links a.is-active { border-color: #5b57f5; color: #fff; background: #5b57f5; }
.support-read-first { display: grid; gap: 4px; margin: 20px 24px 0; padding: 15px 17px; border-radius: 14px; color: #4c390f; background: #fff4cd; }
.support-read-first strong { font-size: .8rem; }
.support-read-first span { font-size: .76rem; line-height: 1.5; }
.support-passport-shell > .support-passport-card { margin: 16px 24px 24px; }
.support-legal-footer { display: flex; width: min(720px, calc(100% - 36px)); align-items: center; justify-content: space-between; gap: 18px; margin: 0 auto; padding: 18px 0 26px; color: var(--muted); font-size: .7rem; }
.support-legal-footer nav { display: flex; flex-wrap: wrap; gap: 12px; }
.support-legal-footer a { color: inherit; }
.support-share-content { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 16px; align-items: center; }
.support-share-qr img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 14px; }
.support-share-actions { display: grid; gap: 10px; min-width: 0; }
.support-share-actions .text-link { justify-self: start; }

@media (max-width: 620px) {
  .support-passport-page { padding: 12px 8px; }
  .support-passport-shell { border-radius: 20px; }
  .support-public-header { align-items: flex-start; flex-direction: column; padding: 18px; }
  .support-language-links { padding-inline: 18px; }
  .support-read-first { margin-inline: 18px; }
  .support-passport-shell > .support-passport-card { margin: 14px 18px 18px; }
  .support-passport-grid { grid-template-columns: 1fr; }
  .support-passport-contact { align-items: stretch; flex-direction: column; }
  .support-passport-contact a { text-align: center; }
  .support-legal-footer { align-items: flex-start; flex-direction: column; }
  .support-share-content { grid-template-columns: 1fr; }
  .support-share-qr { width: min(180px, 100%); }
}

.block-integration-notice {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid #c9cafa;
  border-radius: 14px;
  background: #f3f3ff;
  color: var(--text);
}

.block-integration-notice p {
  margin: 5px 0 0;
  color: var(--muted);
}

.block-integration-contract {
  margin-top: 12px;
}

.block-integration-contract summary {
  cursor: pointer;
  font-weight: 750;
}

.block-integration-contract p {
  margin: 10px 0 0;
  color: var(--muted);
}

.dscout-project-assistant {
  min-width: 0;
}

.dscout-project-assistant-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.dscout-project-assistant-heading > span:last-child {
  min-width: 0;
}

.dscout-project-assistant-heading small {
  display: block;
  margin-bottom: 2px;
  color: var(--accent);
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.dscout-project-assistant-heading h2 {
  margin: 0;
  overflow-wrap: anywhere;
}

.dscout-project-assistant-logo {
  display: grid;
  width: 44px;
  height: 44px;
  flex: none;
  place-items: center;
  border-radius: 13px;
  background: color-mix(in srgb, var(--accent) 9%, white);
}

.dscout-project-assistant-logo img {
  display: block;
  width: 27px;
  height: 27px;
}

.dscout-project-assistant-status,
.dscout-project-assistant-fallback {
  margin-top: 14px;
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #f7f8fc;
  color: var(--muted);
}

.dscout-project-assistant-fallback strong {
  color: var(--text);
}

.dscout-project-assistant-fallback p {
  margin: 5px 0 10px;
}

.dscout-project-assistant-fallback a {
  color: var(--accent);
  font-weight: 800;
}

.dscout-project-assistant-workflow {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-top: 14px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}

.dscout-project-assistant-workflow dscout-workflow {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.dscout-project-assistant-alternative,
.dscout-project-assistant-noscript {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: .74rem;
  line-height: 1.5;
}

@media (max-width: 560px) {
  .dscout-project-assistant-heading {
    align-items: start;
  }

  .dscout-project-assistant-logo {
    width: 40px;
    height: 40px;
  }

  .dscout-project-assistant-workflow {
    max-width: calc(100vw - 72px);
  }
}

/* Erweiterte Profilbausteine */
.profile-block-button {
  display: flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
  padding: 10px 14px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: var(--accent);
  font: inherit;
  font-size: .78rem;
  font-weight: 820;
  text-decoration: none;
}

.profile-block-button:hover { color: #fff; filter: brightness(.96); }
.location-address, .protected-file-label, .availability-text, .external-provider, .external-disclaimer { display: block; margin-top: 12px; }
.external-provider, .external-disclaimer { color: var(--muted); font-size: .67rem; }
.payment-amount { display: block; margin-top: 12px; color: var(--accent); font-size: 1.45rem; }
.privacy-embed { overflow: hidden; margin-top: 14px; border-radius: 13px; background: #eef0f7; }
.privacy-embed-button { display: grid; width: 100%; min-height: 150px; place-content: center; gap: 5px; padding: 18px; border: 0; color: var(--ink); background: transparent; text-align: center; }
.privacy-embed-button small { max-width: 340px; color: var(--muted); }
.privacy-embed iframe { display: block; width: 100%; height: 230px; border: 0; }
.compact-link-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin-top: 10px; }
.compact-link-grid a { padding: 9px 6px; border: 1px solid var(--line); border-radius: 10px; color: var(--accent); background: #fff; font-size: .65rem; font-weight: 750; text-align: center; text-decoration: none; }
.availability-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.availability-badge { flex: 0 0 auto; padding: 5px 9px; border-radius: 999px; font-size: .62rem; font-weight: 800; }
.availability-badge.state-available { color: #08783e; background: #dcf8e9; }
.availability-badge.state-limited { color: #8a5c00; background: #fff2c9; }
.availability-badge.state-busy { color: #a02c35; background: #ffe0e2; }
.availability-badge.state-away { color: #4d5872; background: #e8ebf2; }
.process-list { display: grid; gap: 12px; margin: 15px 0 0; padding: 0; list-style: none; }
.process-list li { display: grid; grid-template-columns: 34px 1fr; align-items: start; gap: 11px; }
.process-list li > span { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; color: #fff; background: var(--accent); font-size: .72rem; font-weight: 850; }
.process-list li div { display: grid; gap: 2px; padding-top: 4px; }
.process-list p { margin: 0; }
.facts-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 14px; }
.facts-grid > div { display: grid; gap: 3px; padding: 14px; border-radius: 12px; background: #fff; text-align: center; }
.facts-grid strong { color: var(--accent); font-size: 1.35rem; }
.facts-grid span { font-size: .72rem; font-weight: 760; }
.facts-grid small { color: var(--muted); font-size: .62rem; }
.partners-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 14px; }
.partners-grid > a, .partners-grid > div { display: grid; min-height: 105px; place-items: center; align-content: center; gap: 6px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: #fff; text-align: center; text-decoration: none; }
.partners-grid img { max-width: 100%; height: 46px; object-fit: contain; }
.partners-grid strong { font-size: .72rem; }
.partners-grid small { color: var(--muted); font-size: .62rem; }
.before-after-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 14px; }
.before-after-grid figure { overflow: hidden; margin: 0; border-radius: 12px; background: #fff; }
.before-after-grid img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.before-after-grid figcaption { padding: 8px; color: var(--accent); font-size: .68rem; font-weight: 820; text-align: center; }
.public-lead-form { display: grid; gap: 10px; margin-top: 14px; }
.public-lead-form > label:not(.public-consent) { display: grid; gap: 5px; }
.public-lead-form label > span { color: var(--ink); font-size: .69rem; font-weight: 760; }
.public-lead-form input:not([type="checkbox"]), .public-lead-form textarea, .public-lead-form select { width: 100%; min-height: 42px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: #fff; font: inherit; font-size: .76rem; }
.public-lead-form textarea { resize: vertical; }
.public-consent { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 8px; }
.public-consent input { margin-top: 3px; }
.public-consent span { color: var(--muted) !important; font-size: .64rem !important; font-weight: 500 !important; line-height: 1.45; }
.bot-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.review-grid { display: grid; gap: 9px; margin-top: 14px; }
.review-card { margin: 0; padding: 14px; border-radius: 12px; background: #fff; }
.review-card blockquote { margin: 8px 0; font-size: .8rem; line-height: 1.55; }
.review-card figcaption { display: grid; }
.review-card figcaption strong { font-size: .7rem; }
.review-card figcaption small { color: var(--muted); font-size: .62rem; }
.review-stars { color: #f5a623; font-size: .85rem; letter-spacing: .05em; }
.review-stars span { color: #d9dce5; }
.toggle-stack { display: grid; gap: 8px; margin-top: 12px; }

@media (max-width: 430px) {
  .compact-link-grid { grid-template-columns: 1fr; }
  .before-after-grid { grid-template-columns: 1fr; }
}

/* Marketingseiten und Download-Bestätigung */
.marketing-hero,
.block-catalog-hero {
  overflow: hidden;
  padding: 92px 0 96px;
  background:
    radial-gradient(circle at 82% 20%, rgba(91, 92, 240, .17), transparent 26%),
    radial-gradient(circle at 12% 88%, rgba(91, 92, 240, .08), transparent 24%),
    var(--canvas);
}

.marketing-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(330px, .8fr);
  align-items: center;
  gap: 80px;
}

.marketing-hero h1,
.block-catalog-hero h1 {
  max-width: 830px;
  margin: 14px 0 20px;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  font-weight: 880;
  line-height: .98;
  letter-spacing: -.065em;
}

.marketing-hero .hero-lead,
.block-catalog-hero .hero-lead {
  max-width: 720px;
}

.marketing-profile-preview {
  position: relative;
  display: grid;
  min-height: 500px;
  justify-items: center;
  align-content: center;
  padding: 48px 36px;
  border: 1px solid rgba(228, 232, 241, .85);
  border-radius: 36px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 35px 90px rgba(31, 38, 74, .18);
  transform: rotate(2deg);
}

.marketing-tap-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--primary);
  background: var(--primary-light);
  font-size: .68rem;
  font-weight: 850;
}

.marketing-avatar {
  display: grid;
  width: 96px;
  height: 96px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 30px;
  color: #fff;
  background: linear-gradient(145deg, #7374ff, #4849d7);
  box-shadow: 0 17px 36px rgba(91, 92, 240, .28);
  font-size: 1.8rem;
  font-weight: 900;
}

.marketing-profile-preview > strong { font-size: 1.55rem; }
.marketing-profile-preview > small { margin-top: 5px; color: var(--muted); }
.marketing-preview-actions { display: flex; gap: 10px; margin: 27px 0 18px; }
.marketing-preview-actions i { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 14px; color: var(--primary); background: var(--primary-light); font-style: normal; }
.marketing-preview-save { width: 100%; padding: 14px; border-radius: 13px; color: #fff; background: var(--primary); font-size: .82rem; font-weight: 800; text-align: center; }
.marketing-preview-block { display: grid; width: 100%; gap: 8px; margin-top: 16px; padding: 17px; border: 1px solid var(--line); border-radius: 14px; }
.marketing-preview-block span { display: block; height: 8px; border-radius: 10px; background: #e9ebf4; }
.marketing-preview-block span:last-child { width: 65%; }

.marketing-section,
.block-catalog-section { padding: 92px 0; }
.marketing-section-soft { background: var(--canvas); }
.marketing-section-heading { max-width: 750px; margin-bottom: 42px; }
.marketing-section-heading h2,
.marketing-split h2,
.block-catalog-group h2,
.block-catalog-note h2 { margin: 10px 0 13px; font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 850; line-height: 1.05; letter-spacing: -.05em; }
.marketing-section-heading p,
.marketing-split > div > p,
.block-catalog-group > header p,
.block-catalog-note p { color: var(--muted); font-size: 1rem; line-height: 1.7; }
.marketing-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.marketing-feature-grid article,
.marketing-benefit-grid article,
.marketing-audience-grid article { padding: 27px; border: 1px solid var(--line); border-radius: 21px; background: #fff; box-shadow: var(--shadow-sm); }
.marketing-feature-grid article > span { display: inline-grid; width: 38px; height: 38px; margin-bottom: 22px; place-items: center; border-radius: 12px; color: var(--primary); background: var(--primary-light); font-size: .72rem; font-weight: 850; }
.marketing-feature-grid h3,
.marketing-benefit-grid h3 { margin: 0 0 9px; font-size: 1.1rem; font-weight: 820; }
.marketing-feature-grid p,
.marketing-benefit-grid p,
.marketing-audience-grid p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.65; }

.marketing-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(350px, .8fr); align-items: center; gap: 80px; }
.marketing-check-list { display: grid; gap: 11px; margin: 25px 0 30px; padding: 0; list-style: none; }
.marketing-check-list li { display: grid; grid-template-columns: 24px 1fr; align-items: start; font-weight: 680; }
.marketing-check-list li::before { content: "✓"; color: var(--success); font-weight: 900; }
.marketing-page-stack { position: relative; min-height: 430px; }
.marketing-page-stack > div { position: absolute; display: grid; width: 82%; min-height: 250px; gap: 9px; padding: 28px; border: 1px solid var(--line); border-radius: 25px; background: #fff; box-shadow: var(--shadow-lg); }
.marketing-page-stack > div:nth-child(1) { top: 0; left: 0; transform: rotate(-5deg); }
.marketing-page-stack > div:nth-child(2) { top: 78px; right: 0; transform: rotate(4deg); }
.marketing-page-stack > div:nth-child(3) { bottom: 0; left: 8%; transform: rotate(-1deg); }
.marketing-page-stack small { color: var(--primary); font-weight: 820; text-transform: uppercase; letter-spacing: .08em; }
.marketing-page-stack strong { margin-bottom: 18px; font-size: 1.18rem; }
.marketing-page-stack span { display: block; height: 10px; border-radius: 10px; background: #eceef5; }
.marketing-page-stack span:last-child { width: 62%; }

.marketing-benefit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.marketing-audience-section { padding-top: 40px; }
.marketing-audience-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.marketing-audience-grid strong { display: block; margin-bottom: 9px; font-size: 1rem; }
.marketing-final-cta,
.block-catalog-note { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 56px; padding: 35px 40px; border-radius: 26px; color: var(--ink); background: var(--primary-light); }
.marketing-final-cta h2 { max-width: 710px; margin: 8px 0 0; font-size: clamp(1.5rem, 3vw, 2.3rem); font-weight: 840; letter-spacing: -.04em; }

.block-catalog-hero-inner { text-align: center; }
.block-catalog-hero h1,
.block-catalog-hero .hero-lead,
.block-catalog-hero .hero-actions { margin-right: auto; margin-left: auto; }
.block-catalog-hero .hero-actions { justify-content: center; }
.block-catalog-summary { display: grid; max-width: 720px; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 50px auto 0; }
.block-catalog-summary span { display: grid; gap: 2px; padding: 18px; border: 1px solid rgba(228, 232, 241, .9); border-radius: 17px; background: rgba(255, 255, 255, .82); color: var(--muted); font-size: .75rem; }
.block-catalog-summary strong { color: var(--ink); font-size: 1.6rem; }
.block-catalog-group + .block-catalog-group { margin-top: 78px; }
.block-catalog-group > header { display: grid; grid-template-columns: minmax(0, .9fr) minmax(300px, .6fr); align-items: end; gap: 60px; margin-bottom: 28px; }
.block-catalog-group > header .eyebrow { color: var(--primary); }
.block-catalog-group > header h2 { margin-bottom: 0; }
.block-catalog-group > header p { margin: 0; }
.block-catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.block-catalog-grid article { position: relative; min-height: 190px; padding: 27px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow-sm); }
.block-catalog-number { display: inline-block; margin-bottom: 28px; color: var(--primary); font-size: .7rem; font-weight: 900; letter-spacing: .08em; }
.block-catalog-grid h3 { margin: 0 0 9px; font-size: 1.06rem; font-weight: 820; }
.block-catalog-grid p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.6; }
.block-catalog-note > div { max-width: 720px; }

.download-thanks-section { min-height: calc(100vh - 220px); display: grid; place-items: center; padding: 80px 0; background: var(--canvas); }
.download-thanks-container { max-width: 700px; }
.download-thanks-card { display: grid; justify-items: center; padding: 55px 45px; border: 1px solid var(--line); border-radius: 28px; background: #fff; box-shadow: var(--shadow-lg); text-align: center; }
.download-thanks-mark { display: grid; width: 74px; height: 74px; margin-bottom: 22px; place-items: center; border-radius: 50%; color: #fff; background: var(--success); box-shadow: 0 15px 32px rgba(19, 133, 91, .22); font-size: 2rem; font-weight: 900; }
.download-thanks-card h1 { margin: 10px 0 12px; font-size: clamp(2rem, 6vw, 3.4rem); font-weight: 860; letter-spacing: -.055em; }
.download-thanks-card > p { max-width: 520px; margin: 0; color: var(--ink-soft); font-size: 1rem; }
.download-thanks-card .form-hint { margin-top: 12px; color: var(--muted); font-size: .82rem; }
.download-thanks-actions { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 30px; }
.automatic-download-frame { position: fixed; width: 1px; height: 1px; border: 0; opacity: 0; pointer-events: none; }

@media (max-width: 1040px) {
  .nav-actions-desktop { display: none; }
  .mobile-navigation { display: block; }
  .marketing-audience-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 800px) {
  .marketing-hero-grid,
  .marketing-split { grid-template-columns: 1fr; gap: 50px; }
  .marketing-profile-preview { width: min(100%, 480px); min-height: 440px; margin-inline: auto; transform: none; }
  .marketing-feature-grid,
  .block-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .block-catalog-group > header { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 560px) {
  .marketing-hero,
  .block-catalog-hero { padding: 62px 0 66px; }
  .marketing-section,
  .block-catalog-section { padding: 64px 0; }
  .marketing-hero h1,
  .block-catalog-hero h1 { font-size: clamp(2.55rem, 14vw, 4rem); }
  .marketing-profile-preview { min-height: 390px; padding: 36px 22px; }
  .marketing-feature-grid,
  .marketing-benefit-grid,
  .marketing-audience-grid,
  .block-catalog-grid,
  .block-catalog-summary { grid-template-columns: 1fr; }
  .marketing-page-stack { min-height: 350px; }
  .marketing-page-stack > div { min-height: 205px; padding: 22px; }
  .marketing-final-cta,
  .block-catalog-note { align-items: stretch; flex-direction: column; padding: 27px 23px; }
  .marketing-final-cta .btn,
  .block-catalog-note .btn { width: 100%; }
  .download-thanks-section { padding: 40px 0; }
  .download-thanks-card { padding: 40px 22px; }
  .download-thanks-actions { width: 100%; align-items: stretch; flex-direction: column; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
  }
}

.language-switcher select {
  padding: 5px 25px 5px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: inherit;
  background: transparent;
  font: inherit;
  font-size: .72rem;
}

.account-section {
  padding: 70px 0 100px;
}

.account-container {
  max-width: 1050px;
}

.account-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.account-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(17, 24, 39, .05);
}

.account-card > h2,
.account-card > p {
  margin-top: 0;
}

.account-card > p,
.account-export-card p {
  color: var(--muted);
}

.account-export-card {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.account-newsletter-card {
  grid-column: 1 / -1;
}

/* Administration */
.admin-section {
  min-height: calc(100vh - 160px);
}

.admin-subnav {
  display: flex;
  gap: 7px;
  margin: -18px 0 26px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.admin-subnav a {
  min-height: 42px;
  padding: 10px 15px;
  border-radius: 10px;
  color: var(--ink-soft);
  font-weight: 750;
  text-decoration: none;
}

.admin-subnav a:hover,
.admin-subnav a.is-active {
  color: var(--primary);
  background: var(--primary-light);
}

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.admin-stat-grid article {
  display: grid;
  min-height: 155px;
  align-content: center;
  gap: 3px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.admin-stat-grid span {
  color: var(--primary);
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 900;
  letter-spacing: -.05em;
}

.admin-stat-grid strong {
  font-size: 1rem;
}

.admin-stat-grid small {
  color: var(--muted);
}

.admin-search {
  display: flex;
  gap: 9px;
  margin-bottom: 18px;
}

.admin-export-note,
.admin-export-help {
  margin-bottom: 18px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--primary-light);
}

.admin-export-note p,
.admin-export-help p {
  margin: 6px 0 0;
  color: var(--muted);
}

.admin-export-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.admin-export-card {
  display: flex;
  min-height: 285px;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.admin-export-card h2 {
  margin: 8px 0;
}

.admin-export-card p {
  margin: 0;
  color: var(--muted);
}

.admin-export-card .btn {
  width: 100%;
}

.admin-export-help {
  background: #fff;
}

.admin-export-help h2 {
  margin: 0 0 10px;
}

.admin-export-help ol {
  margin: 0;
  padding-left: 20px;
  color: var(--ink-soft);
}

.admin-search input {
  flex: 1;
  min-width: 0;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
}

.admin-users-list {
  display: grid;
  gap: 13px;
}

.admin-user-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.admin-user-main > div:first-child {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 13px;
}

.admin-user-main > div:first-child strong {
  font-size: 1.05rem;
}

.admin-user-main > div:first-child a {
  color: var(--muted);
}

.admin-user-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.admin-confirm-email-form {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 12px;
}

.admin-confirm-email-form small {
  color: var(--muted);
  font-size: .68rem;
}

.admin-user-profiles {
  display: grid;
  gap: 7px;
  margin-top: 14px;
}

.admin-user-profiles-label {
  color: var(--muted);
  font-size: .67rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.admin-user-profiles ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.admin-user-profiles li,
.admin-user-profiles li > a,
.admin-user-profiles li > span {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.admin-user-profiles li {
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8f9fc;
  font-size: .72rem;
}

.admin-user-profiles li > a {
  color: var(--ink-soft);
  text-decoration: none;
}

.admin-user-profiles li > a:hover strong {
  color: var(--primary);
}

.admin-user-profiles code {
  color: var(--primary);
  font-family: inherit;
  font-size: .7rem;
  overflow-wrap: anywhere;
}

.admin-user-profiles small {
  padding: 3px 6px;
  border-radius: 999px;
  color: var(--muted);
  background: #fff;
  font-size: .6rem;
  font-weight: 750;
}

.admin-user-main dl {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 14px 0 0;
}

.admin-user-main dl div {
  display: grid;
  gap: 1px;
}

.admin-user-main dt {
  color: var(--muted);
  font-size: .67rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.admin-user-main dd {
  margin: 0;
  font-size: .79rem;
  font-weight: 720;
}

.admin-access-form {
  display: grid;
  grid-template-columns: 145px 130px auto;
  align-items: end;
  gap: 8px;
}

.admin-access-form .field {
  margin: 0;
}

.admin-access-form label {
  font-size: .68rem;
}

.admin-access-form select {
  min-height: 40px;
  padding: 7px 9px;
}

@media (max-width: 900px) {
  .admin-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-export-grid {
    grid-template-columns: 1fr;
  }

  .admin-user-card {
    grid-template-columns: 1fr;
  }

  .admin-access-form {
    grid-template-columns: 1fr 1fr auto;
  }
}

@media (max-width: 600px) {
  .admin-stat-grid {
    grid-template-columns: 1fr;
  }

  .admin-subnav,
  .admin-search,
  .admin-access-form {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-subnav {
    display: grid;
  }

  .admin-export-note,
  .admin-export-help,
  .admin-export-card {
    padding: 18px;
  }

  .admin-export-card {
    min-height: 0;
  }

  .admin-access-form {
    display: grid;
    grid-template-columns: 1fr;
  }

  .admin-search {
    display: grid;
  }
}

.account-stat {
  color: var(--primary);
  font-size: 2rem;
  font-weight: 900;
}

.account-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 18px;
  padding: 18px 20px;
  border: 1px solid #c9d7ff;
  border-radius: 18px;
  background: #f2f6ff;
}

.account-notice-pending {
  border-color: #f4d38b;
  background: #fff9e8;
}

.account-notice p {
  margin: 4px 0 0;
  color: var(--muted);
}

.auth-help-links {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 17px;
  font-size: .84rem;
}

.auth-result-card {
  text-align: center;
}

.result-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  place-items: center;
  border-radius: 50%;
  color: var(--primary);
  background: #eef0ff;
  font-size: 1.65rem;
  font-weight: 900;
}

.result-icon-success {
  color: #087a55;
  background: #e7f8f1;
}

.result-icon-error {
  color: #b42318;
  background: #fff0ee;
}

.nfc-promo-section {
  padding: 10px 0 90px;
}

.nfc-promo-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 30px 34px;
  overflow: hidden;
  border-radius: 26px;
  color: #fff;
  background: linear-gradient(125deg, #111827, #303a54);
  box-shadow: 0 22px 55px rgba(17, 24, 39, .18);
}

.nfc-promo-card h2 {
  margin: 3px 0 7px;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.nfc-promo-card p {
  margin: 0;
  color: #d7ddea;
}

.nfc-promo-card .eyebrow {
  color: #aeb4ff;
}

.nfc-promo-card .btn {
  color: #111827;
  background: #fff;
}

.nfc-promo-symbol {
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 22px;
  background: rgba(255, 255, 255, .09);
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -5px;
  transform: rotate(-90deg);
}

.nfc-landing-hero {
  padding: 85px 0 100px;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 40%, rgba(91, 92, 240, .13), transparent 30%),
    linear-gradient(#fff, #f8f9fd);
}

.nfc-landing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .8fr);
  align-items: center;
  gap: 70px;
}

.nfc-landing-grid h1 {
  max-width: 720px;
  margin: 10px 0 22px;
  font-size: clamp(2.6rem, 6vw, 5.1rem);
  font-weight: 900;
  line-height: .98;
  letter-spacing: -.055em;
}

.nfc-product-visual {
  position: relative;
  min-height: 450px;
}

.nfc-product-card {
  position: absolute;
  z-index: 2;
  top: 55px;
  left: 0;
  display: flex;
  width: min(100%, 390px);
  aspect-ratio: 1.58;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(145deg, #171d2d, #303958);
  box-shadow: 0 35px 70px rgba(17, 24, 39, .25);
  transform: rotate(-7deg);
}

.nfc-product-card img {
  position: absolute;
  top: 25px;
  left: 28px;
  width: 188px;
  filter: brightness(0) invert(1);
}

.nfc-product-name {
  font-size: 1.25rem;
  font-weight: 850;
}

.nfc-product-role {
  color: #cbd5e1;
  font-size: .83rem;
}

.nfc-product-waves {
  position: absolute;
  right: 28px;
  bottom: 28px;
  color: #9b9cff;
  font-weight: 900;
  letter-spacing: -5px;
  transform: rotate(-90deg);
}

.nfc-product-phone {
  position: absolute;
  right: 0;
  bottom: 5px;
  display: grid;
  width: 215px;
  height: 300px;
  align-content: center;
  gap: 7px;
  padding: 24px;
  border: 8px solid #111827;
  border-radius: 36px;
  background: #fff;
  box-shadow: 0 25px 55px rgba(17, 24, 39, .16);
}

.nfc-product-phone span,
.nfc-product-phone small {
  color: var(--muted);
  font-size: .72rem;
}

.nfc-product-phone small {
  margin-top: 15px;
  padding: 10px;
  border-radius: 10px;
  color: #fff;
  background: var(--primary);
  text-align: center;
}

.nfc-benefits-section {
  padding: 90px 0 110px;
}

.nfc-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 35px;
}

.nfc-benefits-grid article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: #fff;
}

.nfc-benefits-grid article > span {
  color: var(--primary);
  font-size: 1.65rem;
}

.nfc-benefits-grid h3 {
  margin: 15px 0 8px;
}

.nfc-benefits-grid p,
.nfc-order-panel p {
  color: var(--muted);
}

.nfc-order-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  margin-top: 60px;
  padding: 34px;
  border-radius: 24px;
  background: #f1f2ff;
}

.nfc-order-panel h2 {
  margin: 4px 0 6px;
}

.profile-countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 18px 0;
}

.profile-countdown > span {
  display: grid;
  gap: 1px;
  padding: 12px 5px;
  border-radius: 13px;
  background: color-mix(in srgb, var(--accent) 11%, #fff);
  text-align: center;
}

.profile-countdown strong {
  color: var(--accent);
  font-size: 1.45rem;
}

.profile-countdown small {
  color: var(--muted);
  font-size: .62rem;
}

.countdown-complete {
  margin: 18px 0;
  color: var(--accent);
  font-weight: 800;
  text-align: center;
}

.video-content-block video,
.video-consent,
.video-consent iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 14px;
  background: #111827;
}

.video-consent button {
  display: grid;
  width: 100%;
  height: 100%;
  place-content: center;
  gap: 5px;
  padding: 20px;
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, #111827, #303a51);
  text-align: center;
}

.video-consent button > span {
  font-size: 2.2rem;
}

.video-consent button small {
  max-width: 360px;
  color: #cbd5e1;
}

.testimonial-grid {
  display: grid;
  gap: 10px;
}

.testimonial-card {
  margin: 0;
  padding: 15px;
  border-radius: 14px;
  background: #f7f8fc;
}

.testimonial-card blockquote {
  margin: 0 0 12px;
  font-size: .88rem;
  line-height: 1.6;
}

.testimonial-card figcaption,
.testimonial-card figcaption span {
  display: flex;
  align-items: center;
  gap: 9px;
}

.testimonial-card figcaption span {
  align-items: flex-start;
  flex-direction: column;
  gap: 0;
}

.testimonial-card img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-card small {
  color: var(--muted);
}

.faq-list details {
  border-top: 1px solid var(--line);
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  padding: 13px 3px;
  cursor: pointer;
  font-weight: 750;
}

.faq-list details p {
  margin: -2px 3px 14px;
}

.price-list-content-block > h3 {
  margin: 19px 0 8px;
  color: var(--accent);
  font-size: .75rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.price-list-group {
  display: grid;
}

.price-list-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.price-list-row > div {
  display: grid;
}

.price-list-row small {
  color: var(--muted);
}

.price-list-row > span {
  white-space: nowrap;
  color: var(--accent);
  font-weight: 800;
}

@media (max-width: 700px) {
  .block-picker {
    grid-template-columns: 1fr;
  }

  .block-picker-panel {
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: 88vh;
    border-radius: 22px 22px 0 0;
    transform: none;
  }

  .account-grid {
    grid-template-columns: 1fr;
  }

  .account-export-card {
    align-items: stretch;
    flex-direction: column;
  }

  .account-notice,
  .nfc-order-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .auth-help-links {
    align-items: center;
    flex-direction: column;
  }

  .nfc-promo-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .nfc-promo-symbol {
    margin-inline: auto;
  }

  .nfc-landing-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .nfc-product-visual {
    min-height: 390px;
  }

  .nfc-product-card {
    width: 85%;
  }

  .nfc-product-phone {
    width: 180px;
    height: 250px;
  }

  .nfc-benefits-grid {
    grid-template-columns: 1fr;
  }
}

/* Content pages · v0.6 */
.app-version {
  color: var(--muted);
  font-size: .78rem;
}

.content-pages-section .page-heading {
  align-items: end;
}

.content-page-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 18px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  color: var(--muted);
  font-size: .9rem;
}

.content-page-summary a {
  color: var(--primary);
  font-weight: 750;
  text-decoration: none;
}

.page-plan-warning {
  margin-bottom: 18px;
}

.content-page-list {
  display: grid;
  gap: 12px;
}

.content-page-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 28px rgb(20 28 55 / 5%);
}

.content-page-card.is-paused {
  background: #f8f9fc;
}

.content-page-order span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: color-mix(in srgb, var(--primary) 10%, white);
  color: var(--primary);
  font-weight: 850;
}

.content-page-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.content-page-title-row,
.content-page-actions,
.page-order-buttons form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.content-page-title-row h2 {
  margin: 0;
  font-size: 1.08rem;
}

.content-page-copy code {
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
}

.content-page-copy small {
  color: var(--muted);
}

.content-page-actions {
  justify-content: end;
  flex-wrap: wrap;
}

.page-order-buttons button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
}

.page-order-buttons button:disabled {
  opacity: .35;
}

.block-organizer {
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: #fff;
}

.block-organizer > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
  cursor: pointer;
  list-style: none;
}

.block-organizer > summary::-webkit-details-marker {
  display: none;
}

.block-organizer > summary span {
  display: grid;
  gap: 3px;
}

.block-organizer > summary small,
.block-container-group header span,
.organizer-empty {
  color: var(--muted);
}

.block-organizer[open] > summary > i {
  transform: rotate(180deg);
}

.block-organizer-body {
  display: grid;
  gap: 20px;
  padding: 0 20px 20px;
}

.block-container-group {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
}

.block-container-group > header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  background: #f8f9fc;
}

.block-container-group h2 {
  margin: 0;
  font-size: 1rem;
}

.block-transfer-row {
  display: grid;
  grid-template-columns: auto minmax(150px, 1fr) minmax(160px, .8fr) auto auto;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-top: 1px solid var(--border);
}

.block-transfer-name {
  display: grid;
  min-width: 0;
}

.block-transfer-name strong,
.block-transfer-name small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.block-transfer-name small {
  color: var(--muted);
}

.block-transfer-row select {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  padding: 6px 10px;
}

.organizer-empty {
  margin: 0;
  padding: 14px 16px;
  border-top: 1px solid var(--border);
}

.compact-empty-state {
  min-height: auto;
  padding-block: 45px;
}

.article-editor-textarea {
  min-height: 260px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  line-height: 1.6;
}

.article-block .article-lead {
  color: var(--text);
  font-size: .9rem;
  font-weight: 600;
}

.article-published {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
}

.article-content {
  margin-top: 12px;
  color: var(--text);
  font-size: .88rem;
  line-height: 1.72;
}

.article-content h3,
.article-content h4 {
  margin: 1.35em 0 .55em;
}

.article-content h3 {
  font-size: 1.2rem;
}

.article-content h4 {
  font-size: 1.05rem;
}

.article-content p,
.article-content ul,
.article-content ol,
.article-content blockquote {
  margin: .8em 0;
}

.article-content a {
  color: var(--accent);
  font-weight: 700;
}

.article-content blockquote {
  padding: 10px 14px;
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  background: color-mix(in srgb, var(--accent) 7%, white);
}

.profile-navigation {
  margin: 0 26px 14px;
}

.profile-navigation-button {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--border));
  border-radius: 15px;
  background: color-mix(in srgb, var(--accent) 7%, white);
  color: var(--text);
  text-align: left;
}

.profile-navigation-button > span {
  color: var(--accent);
  font-size: 1.15rem;
}

.profile-navigation-dialog {
  position: fixed;
  z-index: 1200;
  inset: 0;
}

.profile-navigation-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  background: rgb(15 19 35 / 48%);
  backdrop-filter: blur(4px);
}

.profile-navigation-panel {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(430px, calc(100% - 32px));
  max-height: min(640px, calc(100dvh - 40px));
  overflow: auto;
  padding: 20px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 30px 90px rgb(10 15 35 / 28%);
  transform: translate(-50%, -50%);
}

.profile-navigation-panel header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.profile-navigation-panel header h2 {
  margin: 3px 0 0;
  font-size: 1.4rem;
}

.profile-navigation-panel header button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #f0f2f7;
  font-size: 1.3rem;
}

.profile-navigation-links {
  display: grid;
  gap: 8px;
}

.profile-navigation-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  padding: 0 15px;
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  font-weight: 750;
  text-decoration: none;
}

.profile-navigation-links a.is-current {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 9%, white);
  color: var(--accent);
}

.profile-type-link {
  color: inherit;
  text-decoration: none;
}

.content-page-heading {
  display: grid;
  padding: 26px 26px 20px;
}

.content-page-heading > .eyebrow {
  margin-top: 20px;
  color: var(--accent);
}

.content-page-heading h1 {
  margin: 6px 0 0;
  font-size: clamp(1.85rem, 6vw, 2.45rem);
  letter-spacing: -.04em;
}

.content-page-owner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: 15px;
  color: var(--text);
  text-decoration: none;
}

.content-page-owner > span:nth-child(2) {
  display: grid;
}

.content-page-owner small {
  color: var(--muted);
}

.content-page-avatar {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-weight: 850;
}

.content-page-blocks {
  margin-top: 12px;
}

.content-page-contact-button {
  margin-top: 20px;
}

.content-page-empty {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin: 22px 0;
  padding: 36px 20px;
  border: 1px dashed var(--border);
  border-radius: 18px;
  color: var(--muted);
  text-align: center;
}

.content-page-empty span {
  color: var(--accent);
  font-size: 2rem;
}

@media (max-width: 760px) {
  .content-page-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .content-page-actions {
    grid-column: 1 / -1;
    justify-content: start;
  }

  .block-transfer-row {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .block-transfer-row label,
  .block-transfer-row button {
    grid-column: 2;
  }

  .content-page-summary {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .content-page-heading {
    padding: 22px 18px 18px;
  }

  .profile-navigation {
    margin-inline: 18px;
  }

  .profile-navigation-panel {
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: 84dvh;
    border-radius: 24px 24px 0 0;
    transform: none;
  }
}
