:root {
  --blue-900: #08366f;
  --blue-800: #0f5499;
  --blue-700: #115ba4;
  --blue-600: #1569b6;
  --green-600: #63c248;
  --green-700: #48a934;
  --ink: #15304a;
  --muted: #60758a;
  --line: #dbe7f2;
  --panel: rgba(255, 255, 255, .92);
  --shadow: 0 24px 70px rgba(8, 54, 111, .22);
}
* { box-sizing: border-box; }
html { min-height: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 12%, rgba(99, 194, 72, .32), transparent 30%),
    radial-gradient(circle at 88% 4%, rgba(21, 105, 182, .26), transparent 28%),
    linear-gradient(135deg, #eef8ff 0%, #f8fbff 48%, #ecf9ec 100%);
}
a { color: var(--blue-700); }
.site-header {
  width: min(1220px, calc(100% - 28px));
  margin: 18px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(18, 88, 153, .14);
  backdrop-filter: blur(14px);
}
.brand-link { display: flex; align-items: center; text-decoration: none; min-width: 0; }
.brand-logo { width: min(285px, 56vw); max-height: 78px; object-fit: contain; display: block; }
.header-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.page-shell { width: min(1220px, calc(100% - 28px)); margin: 20px auto 28px; }
.hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 22px;
  align-items: stretch;
}
.hero-card, .panel, .metric-card {
  background: var(--panel);
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(15px);
}
.hero-card { padding: clamp(24px, 4vw, 44px); overflow: hidden; position: relative; }
.hero-card::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  right: -80px;
  bottom: -90px;
  background: linear-gradient(135deg, rgba(21,105,182,.16), rgba(99,194,72,.24));
}
.kicker { color: var(--green-700); font-size: 13px; text-transform: uppercase; font-weight: 800; letter-spacing: .16em; margin: 0 0 12px; }
h1 { margin: 0; font-size: clamp(30px, 4vw, 54px); line-height: 1.02; color: var(--blue-900); letter-spacing: -0.04em; }
.lead { color: var(--muted); font-size: clamp(15px, 1.8vw, 18px); line-height: 1.65; margin: 18px 0 0; max-width: 720px; }
.hero-points { display: grid; gap: 12px; margin-top: 24px; position: relative; z-index: 1; }
.point { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: #26465f; }
.point-icon { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--blue-600), var(--green-600)); flex: 0 0 auto; }
.form-card { padding: clamp(18px, 2.8vw, 30px); }
.section-title { display:flex; align-items:center; gap:10px; margin: 8px 0 16px; color: var(--blue-900); font-size: 18px; }
.section-title span { width: 30px; height: 30px; border-radius: 10px; background: #edf8eb; display:grid; place-items:center; color: var(--green-700); }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
  align-items: start;
}
.field {
  display: grid;
  grid-template-rows: auto auto;
  align-content: start;
  gap: 7px;
  min-width: 0;
}
.field-wide { grid-column: 1 / -1; }
.field span {
  display: flex;
  align-items: flex-end;
  min-height: 18px;
  font-size: 13px;
  font-weight: 700;
  color: #294760;
  line-height: 1.3;
}
.field b { color: #dc3545; }
input, textarea, select {
  box-sizing: border-box;
  width: 100%;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  line-height: 1.3;
  outline: none;
  transition: border .2s, box-shadow .2s, transform .2s;
}
select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'><path d='M1 1l6 6 6-6' fill='none' stroke='%2360758a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
textarea { height: auto; resize: vertical; min-height: 102px; padding: 13px 14px; }
input:focus, textarea:focus, select:focus { border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(21, 105, 182, .12); }
.form-section { padding: 22px 0; border-top: 1px solid rgba(219,231,242,.8); }
.form-section:first-child { border-top: 0; padding-top: 0; }
.form-section:last-of-type { padding-bottom: 0; }
.consent-box { display: flex; gap: 12px; align-items: flex-start; background: #f6fbff; border: 1px solid var(--line); border-radius: 18px; padding: 16px; font-size: 13px; line-height: 1.55; color: #425a70; margin-top: 4px; }
.consent-box input { width: 18px; height: 18px; min-height: 18px; margin-top: 2px; flex: 0 0 auto; }
.hp-field { display: none !important; }
.btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 11px 17px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform .2s, box-shadow .2s, opacity .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--blue-700), var(--blue-600) 48%, var(--green-600)); color: #fff; box-shadow: 0 12px 25px rgba(21,105,182,.24); }
.btn-light { background: #fff; color: var(--blue-800); border: 1px solid #dbe7f2; }
.btn-ghost { background: rgba(21, 105, 182, .08); color: var(--blue-800); }
.btn-danger { background: #d94343; color: #fff; }
.btn-success { background: var(--green-700); color: #fff; }
.actions-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 20px; }
.alert { padding: 14px 16px; border-radius: 18px; margin-bottom: 18px; font-weight: 700; }
.alert-success { background: #eaf8e8; color: #246f1f; border: 1px solid #cbeec5; }
.alert-error { background: #fff0f0; color: #a72f2f; border: 1px solid #f2caca; }
.panel { padding: clamp(18px, 2.6vw, 28px); margin-bottom: 20px; }
.page-title { display:flex; justify-content:space-between; gap:16px; align-items:flex-start; margin-bottom: 18px; flex-wrap:wrap; }
.page-title h1 { font-size: clamp(26px, 3vw, 40px); }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.metric-card { padding: 20px; }
.metric-label { color: var(--muted); font-weight: 700; font-size: 13px; }
.metric-value { color: var(--blue-900); font-size: 34px; font-weight: 900; letter-spacing: -0.04em; margin-top: 8px; }
.table-tools { display: flex; gap: 12px; flex-wrap: wrap; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.search-box { max-width: 360px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
table.data-table { width: 100%; border-collapse: collapse; min-width: 980px; }
.data-table th, .data-table td { padding: 12px 13px; border-bottom: 1px solid #edf2f7; text-align: left; font-size: 13px; vertical-align: top; }
.data-table th { background: linear-gradient(180deg, #f7fbff, #eef6fc); color: #174b7f; font-weight: 900; position: sticky; top: 0; z-index: 1; }
.data-table th[data-sort] { cursor: pointer; }
.data-table th[data-sort]::after { content: "↕"; font-size: 11px; margin-left: 6px; opacity: .55; }
.data-table .col-filter { padding: 8px 9px; border-radius: 10px; font-size: 12px; margin-top: 8px; }
.badge { display:inline-flex; align-items:center; border-radius: 999px; padding: 6px 10px; font-size: 12px; font-weight: 900; white-space: nowrap; }
.badge-success { background: #e7f7e4; color: #25771f; }
.badge-warning { background: #fff6d7; color: #8a6500; }
.badge-danger { background: #ffe8e8; color: #a72f2f; }
.pagination { display:flex; align-items:center; gap:8px; flex-wrap:wrap; justify-content:flex-end; margin-top: 14px; }
.pagination button { border:1px solid var(--line); background:#fff; color:var(--blue-800); padding:8px 11px; border-radius:10px; font-weight:800; cursor:pointer; }
.pagination button.active { background:var(--blue-700); color:#fff; }
.pagination button:disabled { opacity:.45; cursor:not-allowed; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.detail-item { background:#fff; border:1px solid var(--line); border-radius:16px; padding:13px 14px; }
.detail-item strong { display:block; color:#567087; font-size:12px; margin-bottom:5px; }
.detail-item span { color: var(--ink); font-weight: 700; white-space: pre-line; }
.detail-item.wide { grid-column: 1 / -1; }
.user-chip { border:1px solid var(--line); background:#fff; border-radius:999px; padding:8px 12px; font-weight:800; color:var(--ink); }
.user-chip small { color:var(--muted); margin-left:5px; font-weight:700; }
.login-card { width:min(680px,100%); margin: 32px auto; text-align:center; padding: clamp(24px, 4vw, 44px); }
.site-footer { width:min(1220px, calc(100% - 28px)); margin: 0 auto 24px; color:#60758a; text-align:center; font-size:12px; line-height:1.7; }
.print-only { display: none; }
@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 680px) {
  .site-header { align-items:flex-start; flex-direction:column; border-radius:20px; }
  .header-actions { width:100%; justify-content:flex-start; }
  .form-grid, .detail-grid { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .actions-row .btn { width: auto; flex: 1 1 180px; }
}
@media print {
  body { background:#fff; }
  .site-header, .site-footer, .table-tools, .pagination, .no-print { display:none!important; }
  .panel { box-shadow:none; border:0; }
  .print-only { display:block; }
}

.qr-card {
  position: relative;
  z-index: 1;
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  max-width: 100%;
  padding: 12px 14px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(219,231,242,.95);
  border-radius: 20px;
  box-shadow: 0 14px 30px rgba(18, 88, 153, .12);
}
.qr-card img {
  width: 112px;
  height: 112px;
  border-radius: 14px;
  background: #fff;
  padding: 6px;
  border: 1px solid var(--line);
}
.qr-card strong {
  display: block;
  color: var(--blue-900);
  font-size: 14px;
  margin-bottom: 4px;
}
.qr-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.section-title em {
  margin-left: auto;
  font-style: normal;
  font-size: 12px;
  color: var(--green-700);
  background: #edf8eb;
  border-radius: 999px;
  padding: 5px 10px;
}
@media (max-width: 680px) {
  .qr-card { width: 100%; }
  .qr-card img { width: 96px; height: 96px; }
}

/* Final branding polish */
:root { --logo-blue: #155aa0; --deep-blue: #0f4f91; }
body {
  background:
    radial-gradient(circle at 8% 6%, rgba(99, 194, 72, .28), transparent 30%),
    radial-gradient(circle at 90% 5%, rgba(21, 90, 160, .25), transparent 28%),
    radial-gradient(circle at 60% 100%, rgba(99, 194, 72, .16), transparent 34%),
    linear-gradient(135deg, #eef7ff 0%, #f8fbff 46%, #eef9ef 100%);
}
.site-header {
  background: linear-gradient(135deg, var(--logo-blue) 0%, #155aa0 55%, #1a6db6 100%);
  border: 1px solid rgba(255,255,255,.24);
  box-shadow: 0 22px 60px rgba(8, 54, 111, .28);
  padding: 12px 16px;
}
.brand-link {
  padding: 2px 0;
  border-radius: 20px;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}
.brand-logo {
  width: min(300px, 54vw);
  max-height: 74px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.12));
}
.site-header .btn-light {
  background: rgba(255,255,255,.96);
  border-color: rgba(255,255,255,.5);
  color: var(--blue-900);
}
.site-header .btn-ghost {
  background: rgba(255,255,255,.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,.22);
}
.site-header .user-chip {
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.96);
}
.hero-card, .panel, .metric-card {
  border: 1px solid rgba(255,255,255,.86);
  box-shadow: 0 22px 65px rgba(8, 54, 111, .18);
}
.hero-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.86)),
    radial-gradient(circle at 0 0, rgba(99,194,72,.24), transparent 34%);
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(21,90,160,.08), transparent 36%, rgba(99,194,72,.12));
}
.qr-card-large {
  margin-top: 26px;
  padding: 14px 16px;
  border-radius: 24px;
  background: linear-gradient(135deg, #ffffff, #f3faff);
}
.qr-card-large img {
  width: 128px;
  height: 128px;
  border-radius: 18px;
}
.field-hint {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}
.duplicate-message {
  flex: 1 1 100%;
  min-height: 0;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
  border-radius: 14px;
}
.duplicate-message:not(:empty) {
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: #f7fbff;
}
.duplicate-message.is-success { color: #25771f; background: #eaf8e8; border-color: #cbeec5; }
.duplicate-message.is-error { color: #a72f2f; background: #fff0f0; border-color: #f2caca; }
.duplicate-message.is-warn, .duplicate-message.is-checking { color: #7a5b00; background: #fff8df; border-color: #f1df9a; }
button:disabled, .btn:disabled {
  opacity: .55;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}
.edit-actions { justify-content: space-between; }
.edit-form-shell {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(219,231,242,.86);
}
.status-note-card {
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #f7fbff, #eff9ee);
  border-radius: 18px;
  padding: 14px 16px;
  color: #294760;
  line-height: 1.55;
  font-size: 14px;
  margin-top: 14px;
}
@media (max-width: 680px) {
  .brand-logo { width: min(260px, 84vw); max-height: 68px; }
  .site-header { gap: 12px; }
  .header-actions { gap: 8px; }
  .qr-card-large { align-items: center; }
  .qr-card-large img { width: 110px; height: 110px; }
  h1 { font-size: clamp(28px, 9vw, 38px); }
  .lead { font-size: 15px; }
}
@media (max-width: 440px) {
  .header-actions .btn { padding: 10px 14px; }
}
.edit-form-shell summary { list-style: none; width: fit-content; }
.edit-form-shell summary::-webkit-details-marker { display: none; }


/* Public form layout refinement */
.public-stack {
  display: grid;
  gap: 22px;
}
.public-intro-card {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(260px, .58fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: center;
  padding: clamp(22px, 3vw, 34px);
}
.public-intro-card h1 {
  font-size: clamp(30px, 4vw, 48px);
}
.public-intro-main,
.public-intro-qr {
  position: relative;
  z-index: 1;
}
.hero-points-inline {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.hero-points-inline .point {
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(219,231,242,.86);
  border-radius: 18px;
  padding: 12px;
  min-height: 94px;
}
.public-intro-qr {
  display: flex;
  justify-content: flex-end;
}
.public-intro-qr .qr-card {
  margin-top: 0;
  width: min(100%, 335px);
}
.public-intro-qr .qr-card strong {
  font-size: 15px;
}
.public-form-card {
  width: 100%;
  padding: clamp(20px, 3vw, 34px);
}
.public-form-heading {
  margin-bottom: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(219,231,242,.86);
}
.public-form-heading h2 {
  margin: 0;
  color: var(--blue-900);
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -.03em;
}
.public-form-heading p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}
.public-form-heading b {
  color: #dc3545;
}
.public-form-card .form-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}
.public-form-card .field { height: 100%; }
.btn-sm {
  padding: 8px 12px;
  font-size: 12px;
}
.detail-item .badge {
  margin-top: 2px;
}
.site-header .brand-logo {
  width: min(310px, 54vw);
}
.site-header {
  align-items: center;
}
@media (max-width: 1040px) {
  .public-intro-card {
    grid-template-columns: 1fr;
  }
  .public-intro-qr {
    justify-content: flex-start;
  }
}
@media (max-width: 920px) {
  .hero-points-inline,
  .public-form-card .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 680px) {
  .public-stack {
    gap: 16px;
  }
  .public-intro-card,
  .public-form-card {
    border-radius: 22px;
  }
  .hero-points-inline,
  .public-form-card .form-grid {
    grid-template-columns: 1fr;
  }
  .hero-points-inline .point {
    min-height: 0;
  }
  .public-intro-qr .qr-card {
    width: 100%;
  }
  .public-intro-qr .qr-card img {
    width: 108px;
    height: 108px;
  }
}

/* Final production UI polish */
body.public-body {
  background:
    radial-gradient(circle at 9% 8%, rgba(99, 194, 72, .30), transparent 28%),
    radial-gradient(circle at 92% 8%, rgba(21, 90, 160, .30), transparent 28%),
    linear-gradient(135deg, #eaf5ff 0%, #f6fbff 42%, #eaf8ec 100%);
}
.public-intro-card {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 330px);
  padding: clamp(18px, 2.4vw, 28px);
  min-height: 0;
  background:
    radial-gradient(circle at 96% 0%, rgba(99, 194, 72, .36), transparent 38%),
    linear-gradient(135deg, #0f5599 0%, #155aa0 56%, #1672bd 100%);
  color: #fff;
  border-color: rgba(255, 255, 255, .30);
  box-shadow: 0 24px 68px rgba(8, 54, 111, .26);
}
.public-intro-card::before {
  background: linear-gradient(135deg, rgba(255,255,255,.08), transparent 38%, rgba(99,194,72,.20));
}
.public-intro-card::after {
  background: rgba(255,255,255,.08);
}
.public-intro-card .kicker {
  color: #c9f4bf;
  margin-bottom: 9px;
}
.public-intro-card h1 {
  color: #fff;
  font-size: clamp(28px, 3.35vw, 42px);
  max-width: 720px;
}
.public-intro-card .lead {
  color: rgba(255,255,255,.90);
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.55;
  margin-top: 12px;
}
.mandatory-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.mandatory-strip span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 8px 11px;
  color: #fff;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .22);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .01em;
  backdrop-filter: blur(8px);
}
.mandatory-strip span::before {
  content: "✓";
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-600);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}
.public-intro-qr .qr-card-large {
  width: 100%;
  padding: 12px;
  border-radius: 22px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 18px 42px rgba(3, 26, 58, .22);
}
.public-intro-qr .qr-card-large img {
  width: 118px;
  height: 118px;
  border-radius: 16px;
}
.public-intro-qr .qr-card-large strong {
  font-size: 15px;
  color: var(--blue-900);
}
.public-form-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.92)),
    radial-gradient(circle at 100% 0, rgba(99,194,72,.12), transparent 28%);
}
.public-form-heading {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.public-form-heading .kicker {
  margin-bottom: 3px;
}
.mail-settings-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.email-tags-field {
  gap: 8px;
}
.email-tags-source {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.email-tags-control {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.65);
  cursor: text;
  transition: border .2s, box-shadow .2s;
}
.email-tags-control:focus-within {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(21, 105, 182, .12);
}
.email-chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  gap: 8px;
  padding: 7px 8px 7px 11px;
  border-radius: 999px;
  background: linear-gradient(135deg, #edf8eb, #f3faff);
  border: 1px solid #cfe8cb;
  color: #17324d;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}
.email-chip span {
  min-height: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
}
.email-chip button {
  appearance: none;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 50%;
  background: rgba(21, 90, 160, .12);
  color: var(--blue-900);
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}
.email-chip button:hover {
  background: #d94343;
  color: #fff;
}
.email-tags-input {
  flex: 1 1 210px;
  min-width: 190px;
  height: 34px;
  border: 0;
  border-radius: 0;
  padding: 0 2px;
  box-shadow: none !important;
  background: transparent;
}
.email-tags-input:focus {
  box-shadow: none;
}
.email-tags-message {
  min-height: 16px;
  margin-top: -2px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}
.email-tags-message.is-error {
  color: #a72f2f;
}
@media (max-width: 1040px) {
  .public-intro-card {
    grid-template-columns: 1fr;
  }
  .public-intro-qr .qr-card-large {
    width: min(100%, 380px);
  }
}
@media (max-width: 920px) {
  .mail-settings-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 680px) {
  body.public-body {
    background: linear-gradient(180deg, #eaf5ff 0%, #f7fbff 48%, #edf9ef 100%);
  }
  .public-intro-card {
    padding: 18px;
  }
  .mandatory-strip span {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
  }
  .public-intro-qr .qr-card-large {
    align-items: center;
  }
  .email-tags-input {
    min-width: 140px;
    flex-basis: 150px;
  }
}
@media (max-width: 440px) {
  .mandatory-strip span {
    flex-basis: 100%;
  }
}
