:root {
  --bg: #f7f8fc;
  --white: #fff;
  --ink: #19243a;
  --muted: #8993a7;
  --line: #e9edf4;
  --blue: #385cf6;
  --blue-hover: #2849dc;
  --soft-blue: #edf1ff;
  --shadow: 0 8px 36px rgba(27, 43, 87, 0.035);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 13px;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.ico {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.ico.small {
  width: 14px;
  height: 14px;
}
.ico.tiny {
  width: 13px;
  height: 13px;
}
.subtle {
  color: #a2abc0;
}
.app-shell {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 248px;
  flex: none;
  background: #fff;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 30;
}
.brand {
  height: 97px;
  padding: 35px 28px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-mark {
  position: relative;
  display: block;
  background: #202d47;
  border-radius: 10px;
  width: 32px;
  height: 32px;
  transform: rotate(-5deg);
}
.brand-eyes {
  position: absolute;
  left: 7px;
  right: 7px;
  top: 11px;
  height: 5px;
  background: linear-gradient(90deg, #fff 0 38%, transparent 38% 61%, #fff 61%);
  border-radius: 5px;
}
.brand-mask {
  position: absolute;
  background: #fff;
  width: 11px;
  height: 4px;
  bottom: 6px;
  left: 10px;
  border-radius: 0 0 8px 8px;
}
.brand-word {
  font-family: Manrope, sans-serif;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -1.6px;
}
.brand-word > span:first-child {
  font-weight: 600;
}
.brand-dot {
  color: var(--blue);
}
.workspace-selector {
  display: flex;
  align-items: center;
  margin: 14px 16px 32px;
  padding: 10px 9px;
  border: 1px solid #e9edf5;
  border-radius: 11px;
  gap: 10px;
  box-shadow: 0 2px 7px #111a3105;
}
.workspace-avatar {
  width: 35px;
  height: 35px;
  border-radius: 9px;
  background: #edf0ff;
  color: #5364c3;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 12px;
}
.workspace-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}
.workspace-copy strong {
  font-size: 11.5px;
}
.workspace-copy span {
  color: #9ca6b7;
  font-size: 10.5px;
}
.workspace-selector .ico {
  width: 14px;
}
.side-scroll {
  overflow: auto;
  flex: 1;
  padding: 0 13px;
}
.nav-label {
  margin: 0 14px 13px;
  font-weight: 800;
  letter-spacing: 1.3px;
  font-size: 9px;
  color: #abb4c5;
}
.nav-label-second {
  margin-top: 33px;
}
.nav-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.nav-item {
  height: 42px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  font-weight: 600;
  color: #6c778e;
  font-size: 11.5px;
  position: relative;
  transition:
    background 0.2s,
    color 0.2s;
}
.nav-item:hover {
  background: #f6f8fd;
  color: #243656;
}
.nav-item.active {
  background: #eef2ff;
  color: #385cf6;
  font-weight: 800;
}
.nav-item.active .ico {
  stroke-width: 2.1;
}
.nav-item > .ico {
  width: 17px;
  height: 17px;
  flex: none;
  display: block;
  overflow: hidden;
}
.nav-item > .nav-text {
  min-width: 0;
  flex: 1 1 auto;
  line-height: 1.25;
}
.nav-count {
  margin-left: auto;
  background: #eef1f6;
  color: #838ca3;
  border-radius: 6px;
  padding: 4px 7px;
  font-size: 10px;
}
.active-indicator {
  width: 4px;
  height: 19px;
  background: var(--blue);
  position: absolute;
  right: 0;
  border-radius: 4px 0 0 4px;
}
.sidebar-bottom {
  padding: 18px 15px 15px;
}
.help-card {
  background: #f4f6ff;
  border: 1px solid #eef0ff;
  padding: 17px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 17px;
}
.help-symbol {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: #e4eaff;
  color: var(--blue);
  margin-bottom: 3px;
}
.help-symbol .ico {
  width: 16px;
}
.help-card strong {
  font-size: 11.5px;
  letter-spacing: -0.1px;
}
.help-card > span:not(.help-symbol) {
  font-size: 10px;
  color: #8f98ac;
}
.help-card a {
  font-size: 10.5px;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 3px;
  font-weight: 800;
  margin-top: 4px;
}
.profile {
  width: 100%;
  border: 0;
  border-top: 1px solid var(--line);
  padding: 17px 4px 0;
  background: none;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}
.profile-avatar,
.top-avatar {
  background: #dce7ff;
  color: #4767a4;
  font-weight: 800;
  display: grid;
  place-items: center;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 11px;
}
.profile-label {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}
.profile-label strong {
  font-size: 11px;
}
.profile-label small {
  font-size: 10px;
  color: #9aa4b7;
}
.app-main {
  min-width: 0;
  flex: 1;
}
.global-header {
  height: 70px;
  background: white;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 47px;
}
.global-left,
.global-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.breadcrumbs {
  font-weight: 600;
  color: #a1a9b9;
  font-size: 11.5px;
}
.breadcrumbs.current {
  color: #354159;
  font-weight: 800;
}
.crumb-chevron {
  width: 13px;
  color: #b7bfd0;
}
.global-right {
  gap: 17px;
}
.status-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  color: #6c778a;
  background: #f7f9fb;
  border: 1px solid #eef1f5;
  border-radius: 20px;
  padding: 9px 12px;
  font-weight: 700;
}
.status-dot,
.editor-live-dot {
  display: inline-block;
  background: #37c78c;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  box-shadow: 0 0 0 3px #e0f9ed;
}
.icon-button {
  background: none;
  border: 0;
  color: #8c97aa;
  display: grid;
  place-items: center;
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 8px;
}
.icon-button:hover {
  background: #f3f5fa;
  color: var(--blue);
}
.notification-dot {
  position: absolute;
  background: #fa667e;
  right: 6px;
  top: 5px;
  border: 2px solid #fff;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.top-avatar {
  width: 32px;
  height: 32px;
}
.mobile-menu {
  display: none;
}
.page-content {
  max-width: 1720px;
  margin: auto;
  padding: 39px 47px 24px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 34px;
}
.eyebrow {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2.2px;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
}
.eyebrow-line {
  width: 16px;
  height: 2px;
  background: var(--blue);
}
.eyebrow-version {
  color: #a9b1c2;
  letter-spacing: 1px;
}
.page-heading h1 {
  font:
    800 30px/1.2 Manrope,
    sans-serif;
  letter-spacing: -1.5px;
  margin: 0 0 11px;
}
.heading-spark {
  font-size: 20px;
  margin-left: 11px;
  color: #a7b7ff;
  vertical-align: top;
}
.page-heading p {
  color: #8993a6;
  font-size: 12px;
  margin: 0;
}
.heading-actions {
  display: flex;
  gap: 10px;
  padding-bottom: 3px;
}
.btn {
  height: 40px;
  border-radius: 9px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  font-size: 11px;
  white-space: nowrap;
  transition:
    transform 0.17s,
    background 0.17s,
    border-color 0.17s;
}
.btn:active {
  transform: translateY(1px);
}
.btn .ico {
  width: 15px;
  height: 15px;
}
.btn-primary {
  border: 1px solid var(--blue);
  background: var(--blue);
  color: white;
  box-shadow: 0 5px 12px #385cf626;
}
.btn-primary:hover {
  background: var(--blue-hover);
}
.btn-secondary,
.btn-outline {
  background: white;
  border: 1px solid #e1e6f0;
  color: #4d5b73;
}
.btn-secondary:hover,
.btn-outline:hover {
  border-color: #aebce9;
  color: var(--blue);
}
.btn-arrow {
  margin-left: 5px;
}
.steps {
  display: flex;
  align-items: center;
  gap: 15px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  min-height: 65px;
  padding: 0 22px;
  margin-bottom: 22px;
  box-shadow: var(--shadow);
}
.step {
  display: flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  font-size: 10.5px;
  font-weight: 800;
  color: #a0aabd;
}
.step.done {
  color: #697995;
}
.step.current {
  color: #273d7c;
}
.step-number {
  display: grid;
  place-items: center;
  border: 1px solid #d9e0ed;
  color: #9ca7b7;
  border-radius: 50%;
  width: 23px;
  height: 23px;
  font-size: 10px;
}
.step.done .step-number {
  background: #e8f9f1;
  color: #27b87b;
  border-color: #e8f9f1;
}
.step.current .step-number {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.step-line {
  height: 1px;
  width: 34px;
  background: #e4e9f1;
}
.draft-chip {
  margin-left: auto;
  color: #a1aabb;
  font-size: 10.5px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.draft-dot {
  width: 7px;
  height: 7px;
  background: #e7b45a;
  border-radius: 50%;
}
.studio-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(325px, 0.82fr);
  gap: 22px;
  align-items: start;
}
.editor-panel,
.preview-panel,
.design-panel {
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 13px;
}
.editor-panel {
  padding: 27px 30px 20px;
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.panel-heading > div {
  position: relative;
  padding-left: 30px;
}
.section-number {
  color: var(--blue);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  display: inline-block;
}
.panel-heading .section-number {
  position: absolute;
  left: 0;
  top: 5px;
}
.panel-heading h2,
.form-section-title h2,
.rail-heading h2,
.design-heading h2 {
  font:
    800 15px/1.4 Manrope,
    sans-serif;
  letter-spacing: -0.4px;
  margin: 0;
}
.panel-heading p,
.form-section-title p {
  margin: 5px 0 0;
  color: #a0aabd;
  font-size: 10.5px;
}
.tiny-badge {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.1px;
  color: #7181ae;
  background: #f0f3fc;
  padding: 7px 10px;
  border-radius: 6px;
}
.form-stack {
  display: flex;
  flex-direction: column;
  gap: 21px;
}
.field {
  position: relative;
}
.field label,
.design-field label {
  font-size: 11px;
  font-weight: 800;
  color: #46536b;
  display: block;
  margin-bottom: 10px;
}
.required {
  color: #fa8091;
}
.field input:not([type="checkbox"]),
.field textarea,
.design-field select {
  width: 100%;
  min-height: 43px;
  border: 1px solid #e2e7f0;
  background: #fff;
  border-radius: 8px;
  padding: 11px 14px;
  outline: none;
  color: #24314b;
  font-size: 11.5px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.field input:focus,
.field textarea:focus,
.design-field select:focus,
.hex-input:focus {
  border-color: #a3b3ff;
  box-shadow: 0 0 0 3px #385cf60e;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #a8b0c0;
}
.field textarea {
  resize: vertical;
}
.input-wrap {
  position: relative;
}
.input-wrap input {
  padding-right: 68px !important;
}
.input-counter {
  position: absolute;
  right: 13px;
  top: 14px;
  color: #b3bbca;
  font-size: 10px;
}
.field-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.field-hint {
  color: #acb5c4;
  font-size: 10px;
}
.rich-editor {
  border: 1px solid #e2e7f0;
  border-radius: 9px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.rich-editor:focus-within {
  border-color: #a3b3ff;
}
.toolbar {
  height: 45px;
  border-bottom: 1px solid #edf0f5;
  background: #fbfcfe;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
}
.toolbar-group {
  display: flex;
  align-items: center;
  gap: 3px;
}
.toolbar-select,
.toolbar-button {
  border: 0;
  background: transparent;
  color: #738098;
  min-height: 28px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.toolbar-select {
  gap: 10px;
  font-size: 10px;
  padding: 0 8px;
  font-weight: 700;
  color: #5b6881;
}
.toolbar-button {
  width: 30px;
}
.toolbar-button:hover,
.toolbar-select:hover {
  background: #eff3fc;
  color: var(--blue);
}
.toolbar-button .ico {
  width: 15px;
  height: 15px;
}
.toolbar-button strong {
  font-size: 14px;
}
.toolbar-divider {
  height: 19px;
  width: 1px;
  background: #e6eaf1;
}
.toolbar-grow {
  flex: 1;
}
#message {
  outline: 0;
  min-height: 215px;
  padding: 18px 17px 12px;
  line-height: 1.85;
  color: #47546d;
  font-size: 12px;
  overflow: auto;
}
#message p {
  margin: 0 0 13px;
}
#message:empty:before {
  content: attr(data-placeholder);
  color: #a7b0c0;
}
.editor-footer {
  border-top: 1px solid #f0f2f7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 15px;
  font-size: 10px;
  color: #a0a9ba;
}
.editor-footer > span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
}
.editor-live-dot {
  width: 6px;
  height: 6px;
  box-shadow: none;
}
.accordion-head {
  width: 100%;
  display: flex;
  align-items: center;
  text-align: left;
  gap: 12px;
  background: #fbfcff;
  border: 1px solid #e7ecf4;
  border-radius: 9px;
  padding: 13px 14px;
  margin-top: 21px;
  color: #43516a;
}
.accordion-icon {
  width: 29px;
  height: 29px;
  border: 1px solid #e3eaf4;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: white;
  color: #7484a4;
}
.accordion-icon .ico {
  width: 14px;
}
.accordion-head > span:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}
.accordion-head strong {
  font-size: 11px;
}
.accordion-head small {
  font-size: 10px;
  color: #a5afc0;
}
.accordion-chevron {
  width: 16px;
  color: #97a5bc;
  transition: transform 0.2s;
}
.accordion-head[aria-expanded="true"] .accordion-chevron {
  transform: rotate(180deg);
}
.extras-content {
  border: 1px solid #e7ecf4;
  border-top: 0;
  padding: 17px;
  border-radius: 0 0 9px 9px;
}
.extras-content .field + .field {
  margin-top: 14px;
}
.extra-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.section-separator {
  height: 1px;
  background: #eef1f5;
  margin: 29px 0 26px;
}
.form-section-title {
  display: flex;
  gap: 17px;
  align-items: flex-start;
  margin-bottom: 23px;
}
.form-section-title .section-number {
  margin-top: 5px;
}
.select-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 43px;
  text-align: left;
  background: white;
  border: 1px solid #e2e7f0;
  border-radius: 8px;
  padding: 0 14px;
  color: #40506b;
  font-size: 11.5px;
}
.select-button .ico {
  width: 15px;
  color: #9ca9bb;
}
.group-dropdown {
  border: 1px solid #e2e7f0;
  border-radius: 8px;
  margin-top: 5px;
  padding: 8px;
  background: white;
  box-shadow: 0 10px 20px #1b2e5510;
}
.group-dropdown label {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px;
  margin: 0;
  font-weight: 600;
  cursor: pointer;
}
.group-dropdown input {
  accent-color: var(--blue);
}
.field-note {
  margin-top: 10px;
  color: #a2acbc;
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.attachment-row {
  margin-top: 21px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px dashed #d9e1ee;
  background: #fcfdff;
  border-radius: 9px;
  padding: 14px;
}
.attachment-left {
  display: flex;
  align-items: center;
  gap: 11px;
}
.attachment-symbol {
  background: #f0f3f9;
  border-radius: 8px;
  color: #7483a5;
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
}
.attachment-symbol .ico {
  width: 16px;
}
.attachment-left > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.attachment-left strong {
  font-size: 11px;
}
.attachment-left span:not(.attachment-symbol) {
  font-size: 10px;
  color: #a2acbd;
}
.attach-button {
  height: 32px;
  padding: 0 11px;
  font-size: 10px;
  cursor: pointer;
}
.editor-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 23px 0 0;
}
.text-button {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  border: 0;
  background: none;
  font-weight: 800;
  font-size: 11px;
  padding: 0;
}
.text-button .ico {
  width: 15px;
}
.editor-bottom-note {
  color: #a4aebe;
  font-size: 9.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.right-rail {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.preview-panel {
  padding: 24px 25px 20px;
}
.rail-heading,
.design-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.rail-heading > div,
.design-heading > div {
  display: flex;
  align-items: center;
  gap: 11px;
}
.rail-description {
  font-size: 10.5px;
  color: #a0aabc;
  margin: 10px 0 18px;
}
.expand-preview {
  width: 29px;
  height: 29px;
  border: 1px solid #e8edf4;
  border-radius: 7px;
}
.expand-preview .ico {
  width: 14px;
}
.device-switch {
  display: flex;
  background: #f4f6fb;
  padding: 4px;
  border-radius: 8px;
  width: max-content;
  margin-bottom: 17px;
}
.device-button {
  border: 0;
  background: transparent;
  color: #a0aabc;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 30px;
  padding: 0 15px;
  font-size: 10px;
  font-weight: 800;
  border-radius: 6px;
}
.device-button.selected {
  background: white;
  color: #4155a3;
  box-shadow: 0 2px 8px #27365a0d;
}
.device-button .ico {
  width: 13px;
  height: 13px;
}
.preview-stage {
  background: #f1f3f9;
  padding: 24px 19px;
  min-height: 425px;
  border-radius: 9px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
}
.email-frame {
  background: #fff;
  box-shadow: 0 10px 32px #18254912;
  width: 100%;
  max-width: 330px;
  min-width: 0;
  transition:
    width 0.25s,
    background 0.2s;
  border-radius: 2px;
  overflow: hidden;
}
.email-frame.mobile {
  width: 215px;
}
.email-topline {
  height: 33px;
  background: #f6f8fd;
  color: #8490a6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  letter-spacing: 1.8px;
  font-size: 7px;
  font-weight: 800;
}
.email-topline span {
  font-size: 14px;
  color: #aab8d8;
}
.email-body {
  padding: 24px 25px 21px;
  color: #253047;
}
.email-brand {
  font:
    800 16px Manrope,
    sans-serif;
  letter-spacing: -1px;
  margin-bottom: 31px;
}
.email-brand span {
  color: var(--mail-accent, #385cf6);
}
.email-label {
  font-size: 7px;
  letter-spacing: 1.8px;
  font-weight: 800;
  color: var(--mail-accent, #385cf6);
  margin-bottom: 10px;
}
.email-body h3 {
  font:
    800 21px/1.32 Manrope,
    sans-serif;
  letter-spacing: -0.75px;
  margin: 0 0 15px;
  color: var(--mail-ink, #253047);
  overflow-wrap: anywhere;
}
.email-copy {
  font-size: 10px;
  line-height: 1.8;
  color: var(--mail-ink, #253047);
  opacity: 0.76;
  overflow-wrap: anywhere;
}
.email-copy p {
  margin: 0 0 12px;
}
.email-copy ul,
.email-copy ol {
  padding-left: 17px;
}
.email-cta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  background: var(--mail-accent, #385cf6);
  color: white;
  padding: 12px 14px;
  border-radius: 5px;
  font-size: 9px;
  font-weight: 800;
  margin-top: 9px;
}
.email-additional {
  margin-top: 17px;
  font-size: 9px;
  line-height: 1.7;
}
.email-signature {
  font-size: 9px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 34px;
  color: var(--mail-ink, #253047);
}
.email-signature strong {
  font-size: 10px;
}
.email-signature small {
  font-size: 8px;
  opacity: 0.6;
}
.signature-rule {
  height: 1px;
  background: #e9edf4;
  margin-bottom: 15px;
}
.email-footer {
  text-align: center;
  background: #f8f9fc;
  padding: 16px 8px;
  color: #a6afbe;
  font-size: 8px;
  line-height: 1.9;
}
.email-footer strong {
  color: #65738e;
}
.email-footer span {
  color: #8995aa;
  text-decoration: underline;
}
.preview-subject {
  border-top: 1px solid #eef1f6;
  margin-top: 17px;
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.preview-subject span {
  font-size: 8px;
  letter-spacing: 1.1px;
  font-weight: 800;
  color: #b0b9c7;
}
.preview-subject strong {
  font-size: 10.5px;
  color: #66748b;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.design-panel {
  padding: 24px 25px;
}
.design-sliders {
  color: #97a1b6;
  width: 16px;
}
.design-field {
  margin-bottom: 19px;
}
.design-field label {
  font-size: 10px;
  color: #65738a;
  margin-bottom: 8px;
}
.design-field select {
  min-height: 39px;
  color: #68768d;
  font-weight: 600;
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, #8996ac 50%) calc(100% - 17px)
      16px/5px 5px no-repeat,
    linear-gradient(135deg, #8996ac 50%, transparent 50%) calc(100% - 12px)
      16px/5px 5px no-repeat;
  padding-right: 28px;
}
.color-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 14px 0;
  gap: 10px;
}
.color-row > label {
  color: #647189;
  font-size: 10px;
  font-weight: 700;
}
.color-control {
  display: flex;
  gap: 7px;
  align-items: center;
}
.color-control input[type="color"] {
  width: 30px;
  height: 30px;
  padding: 3px;
  border: 1px solid #e2e7f0;
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
}
.color-control input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
}
.color-control input[type="color"]::-webkit-color-swatch {
  border: 0;
  border-radius: 4px;
}
.hex-input {
  border: 1px solid #e2e7f0;
  border-radius: 7px;
  width: 79px;
  height: 31px;
  text-align: center;
  color: #65718a;
  font-weight: 700;
  font-size: 10px;
  outline: none;
}
.reset-button {
  border: 0;
  background: none;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #6e80a3;
  font-size: 10px;
  font-weight: 700;
  padding: 0;
  margin-top: 21px;
}
.reset-button:hover {
  color: var(--blue);
}
.reset-button .ico {
  width: 13px;
}
.bottom-note {
  padding: 20px 0 0;
  text-align: center;
  color: #b3bccc;
  font-size: 10px;
}
.bottom-note span {
  padding: 0 8px;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: #17223d70;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}
[hidden] {
  display: none !important;
}
.modal {
  background: white;
  border-radius: 16px;
  padding: 29px;
  width: min(100%, 440px);
  box-shadow: 0 24px 70px #16264a33;
  position: relative;
}
.modal-close {
  position: absolute;
  right: 17px;
  top: 17px;
}
.modal-symbol {
  background: #eef2ff;
  border-radius: 12px;
  color: var(--blue);
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  margin-bottom: 17px;
}
.modal h2 {
  font:
    800 20px Manrope,
    sans-serif;
  margin: 0 0 9px;
}
.modal p {
  color: #8692a7;
  font-size: 12px;
  line-height: 1.7;
  margin-bottom: 21px;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 20px;
}
.modal-fields label {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 800;
}
.modal-fields input {
  width: 100%;
  border: 1px solid #e2e7f0;
  padding: 12px;
  border-radius: 8px;
  outline: none;
}
.modal-detail {
  padding: 13px;
  background: #f6f8fc;
  color: #67748b;
  border-radius: 8px;
  font-size: 11px;
  line-height: 1.7;
}
.toast {
  position: fixed;
  bottom: 25px;
  right: 26px;
  z-index: 100;
  background: #20304a;
  color: white;
  box-shadow: 0 18px 40px #15243e33;
  padding: 14px 19px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.toast.show {
  opacity: 1;
  transform: translateY(0);
}
.toast .ico {
  color: #68e2af;
}
.sidebar-overlay {
  display: none;
}
.preview-panel.expanded {
  position: fixed;
  z-index: 70;
  inset: 5vh 10vw;
  overflow: auto;
  box-shadow: 0 10px 0 100vh #111a3059;
  padding: 28px 8vw;
}
.preview-panel.expanded .preview-stage {
  min-height: 70vh;
}
.preview-panel.expanded .email-frame {
  max-width: 560px;
}
.preview-panel.expanded .email-frame.mobile {
  width: 260px;
}
.preview-panel.expanded .email-body {
  padding: 40px 45px;
}
.preview-panel.expanded .email-body h3 {
  font-size: 29px;
}
.preview-panel.expanded .email-copy {
  font-size: 13px;
}
.email-frame {
  --mail-accent: #385cf6;
  --mail-ink: #253047;
}
@media (min-width: 1600px) {
  .page-content {
    padding-left: 64px;
    padding-right: 64px;
  }
  .studio-layout {
    grid-template-columns: minmax(0, 1.45fr) minmax(370px, 0.82fr);
  }
}
@media (max-width: 1250px) {
  .sidebar {
    width: 220px;
  }
  .brand {
    padding-left: 21px;
  }
  .page-content {
    padding-left: 26px;
    padding-right: 26px;
  }
  .global-header {
    padding: 0 26px;
  }
  .studio-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(290px, 0.85fr);
  }
  .editor-panel {
    padding: 24px 22px;
  }
  .preview-panel,
  .design-panel {
    padding: 22px 19px;
  }
  .steps {
    gap: 10px;
  }
  .step-line {
    width: 19px;
  }
}
@media (max-width: 1050px) {
  .studio-layout {
    grid-template-columns: 1fr;
  }
  .right-rail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  .preview-stage {
    min-height: 360px;
  }
  .email-frame {
    max-width: 300px;
  }
  .page-heading {
    align-items: flex-start;
  }
  .heading-actions {
    padding-top: 25px;
  }
}
@media (max-width: 760px) {
  .sidebar {
    position: fixed;
    transform: translateX(-100%);
    transition: transform 0.2s;
    width: 260px;
  }
  .sidebar.is-open {
    transform: translateX(0);
  }
  .sidebar-overlay.is-visible {
    display: block;
    position: fixed;
    inset: 0;
    background: #19243a70;
    z-index: 25;
  }
  .mobile-menu {
    display: grid;
  }
  .global-header {
    height: 60px;
    padding: 0 17px;
  }
  .status-pill,
  .global-right .icon-button:first-of-type {
    display: none;
  }
  .global-right {
    gap: 9px;
  }
  .page-content {
    padding: 25px 16px;
  }
  .page-heading {
    display: block;
    margin-bottom: 23px;
  }
  .page-heading h1 {
    font-size: 25px;
  }
  .page-heading p {
    line-height: 1.6;
  }
  .heading-actions {
    padding: 20px 0 0;
  }
  .steps {
    padding: 13px 12px;
    gap: 7px;
    flex-wrap: wrap;
  }
  .step {
    font-size: 9px;
  }
  .step-line {
    width: 10px;
  }
  .draft-chip {
    width: 100%;
    margin: 5px 0 0;
  }
  .studio-layout {
    gap: 16px;
  }
  .editor-panel {
    padding: 20px 16px;
  }
  .right-rail {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .preview-panel,
  .design-panel {
    padding: 20px;
  }
  .extra-grid {
    grid-template-columns: 1fr;
  }
  .editor-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .bottom-note {
    line-height: 1.8;
  }
  .preview-panel.expanded {
    inset: 2vh 3vw;
    padding: 20px;
  }
  .preview-panel.expanded .email-body {
    padding: 23px;
  }
  .preview-panel.expanded .email-body h3 {
    font-size: 23px;
  }
  .preview-panel.expanded .email-copy {
    font-size: 11px;
  }
}
@media (max-width: 430px) {
  .heading-actions .btn {
    flex: 1;
    padding: 0 9px;
    font-size: 10px;
  }
  .page-heading h1 {
    font-size: 23px;
  }
  .steps .step {
    font-size: 8px;
  }
  .steps .step-line {
    width: 5px;
  }
  .step-number {
    width: 19px;
    height: 19px;
  }
  .toolbar {
    gap: 4px;
    padding: 0 5px;
  }
  .toolbar-button {
    width: 26px;
  }
  .toolbar-select {
    gap: 2px;
    padding: 0 4px;
    font-size: 9px;
  }
  .attachment-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .attach-button {
    align-self: flex-start;
  }
  .editor-panel {
    padding: 18px 13px;
  }
}

/* Gesendete E-Mails — history & detail view */
.history-content {
  max-width: 1680px;
}
.history-heading {
  margin-bottom: 28px;
}
.history-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 23px;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  min-height: 163px;
  padding: 23px 24px;
  position: relative;
  box-shadow: var(--shadow);
}
.stat-icon {
  position: absolute;
  right: 22px;
  top: 23px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
}
.stat-icon .ico {
  width: 18px;
  height: 18px;
}
.stat-icon-blue {
  background: #edf1ff;
  color: #4765e8;
}
.stat-icon-lilac {
  background: #f1edff;
  color: #8473d8;
}
.stat-icon-amber {
  background: #fff6e8;
  color: #d3a04e;
}
.stat-label {
  font-size: 11px;
  font-weight: 700;
  color: #8996aa;
  margin: 3px 0 16px;
}
.stat-value {
  font:
    800 29px/1.3 Manrope,
    sans-serif;
  color: #26334c;
  letter-spacing: -1.4px;
}
.stat-value small {
  font:
    600 10px "DM Sans",
    sans-serif;
  letter-spacing: 0;
  color: #a5aec0;
  margin-left: 5px;
}
.stat-date {
  font-size: 23px;
  letter-spacing: -1px;
}
.stat-foot {
  font-size: 10.5px;
  color: #99a5b7;
  margin-top: 13px;
  display: flex;
  gap: 7px;
  align-items: center;
}
.stat-dot,
.archive-chip-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #45c994;
  border-radius: 50%;
  box-shadow: 0 0 0 3px #e9f9f0;
}
.history-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.history-card-head {
  padding: 29px 29px 23px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.history-card-kicker {
  font-size: 9px;
  letter-spacing: 1.6px;
  font-weight: 800;
  color: #5571e7;
  margin-bottom: 9px;
}
.history-card-head h2 {
  font:
    800 18px/1.3 Manrope,
    sans-serif;
  letter-spacing: -0.6px;
  margin: 0 0 8px;
}
.history-count {
  display: inline-block;
  vertical-align: 3px;
  font:
    800 10px "DM Sans",
    sans-serif;
  letter-spacing: 0;
  background: #eef2ff;
  color: #4c67dd;
  border-radius: 6px;
  padding: 4px 7px;
  margin-left: 7px;
}
.history-card-head p {
  margin: 0;
  color: #98a3b5;
  font-size: 11px;
}
.archive-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #f7f9fc;
  border: 1px solid #eff2f6;
  padding: 10px 12px;
  border-radius: 8px;
  color: #7c899f;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}
.history-toolbar {
  padding: 0 29px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
}
.search-box {
  height: 43px;
  border: 1px solid #e5e9f2;
  border-radius: 9px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 12px 0 14px;
  max-width: 450px;
  flex: 1;
  min-width: 160px;
  transition: border-color 0.2s;
}
.search-box:focus-within {
  border-color: #a6b6ff;
  box-shadow: 0 0 0 3px #385cf60d;
}
.search-box .ico {
  color: #9ba8bd;
  width: 16px;
}
.search-box input {
  border: 0;
  outline: 0;
  flex: 1;
  width: 100%;
  font-size: 11px;
  color: #24314b;
  background: transparent;
}
.search-box input::placeholder {
  color: #a4aebe;
}
.search-box kbd {
  border: 1px solid #e9edf3;
  background: #fafbfe;
  border-radius: 5px;
  padding: 5px 6px;
  color: #a7b0c0;
  font:
    700 10px "DM Sans",
    sans-serif;
  white-space: nowrap;
}
.filter-controls {
  display: flex;
  gap: 9px;
}
.select-shell {
  border: 1px solid #e5e9f2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  height: 43px;
  border-radius: 9px;
  position: relative;
  color: #8391a8;
}
.select-shell > .ico {
  width: 15px;
}
.select-shell select {
  border: 0;
  outline: 0;
  background: transparent;
  appearance: none;
  cursor: pointer;
  color: #61708a;
  font-size: 11px;
  font-weight: 700;
  padding: 0 16px 0 0;
}
.select-shell .chevron {
  position: absolute;
  right: 10px;
  width: 11px;
  pointer-events: none;
}
.table-scroll {
  overflow-x: auto;
}
.history-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
}
.history-table thead {
  background: #f8f9fd;
}
.history-table th {
  padding: 17px 15px;
  color: #9aa6b9;
  font-size: 9px;
  letter-spacing: 0.9px;
  font-weight: 800;
}
.history-table th:first-child,
.history-table td:first-child {
  padding-left: 29px;
}
.history-table th:last-child,
.history-table td:last-child {
  padding-right: 29px;
}
.history-table td {
  border-top: 1px solid #edf0f5;
  padding: 18px 15px;
  color: #6b7890;
  font-size: 11px;
}
.history-table tbody tr {
  cursor: pointer;
  transition: background 0.16s;
}
.history-table tbody tr:hover {
  background: #f8faff;
}
.history-table tbody tr:focus-visible {
  outline: 2px solid #a7b8fb;
  outline-offset: -2px;
}
.date-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: #53617a;
}
.date-icon {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #8294bb;
  background: #f4f6fc;
}
.date-icon svg {
  width: 15px;
  height: 15px;
}
.subject-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}
.subject-envelope {
  width: 32px;
  height: 32px;
  background: #edf1ff;
  color: #536fe8;
  display: grid;
  place-items: center;
  border-radius: 9px;
}
.subject-envelope svg {
  width: 15px;
  height: 15px;
}
.subject-cell > span:last-child {
  font-weight: 800;
  color: #2b3850;
  font-size: 11.5px;
}
.sender-cell {
  display: flex;
  align-items: center;
  gap: 9px;
}
.sender-avatar {
  width: 25px;
  height: 25px;
  background: #e8edf9;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 8px;
  color: #7187b4;
  font-weight: 800;
}
.group-pill {
  display: inline-flex;
  background: #f5f6fa;
  border: 1px solid #eef0f5;
  padding: 6px 9px;
  border-radius: 6px;
  color: #718098;
  font-weight: 700;
  font-size: 10px;
}
.sent-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #329775;
  font-weight: 800;
  font-size: 10px;
}
.sent-pill:before {
  content: "";
  width: 6px;
  height: 6px;
  background: #41c792;
  border-radius: 50%;
}
.row-action {
  color: #a3aec2;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 7px;
}
.history-table tr:hover .row-action {
  background: #edf1ff;
  color: #385cf6;
}
.row-action .ico {
  width: 16px;
}
.sort-head {
  padding: 0;
  background: none;
  border: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
}
.sort-head:hover {
  color: #385cf6;
}
.sort-head .ico {
  width: 12px;
}
.history-table-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 29px;
  border-top: 1px solid #edf0f5;
  color: #9aa6b8;
  font-size: 10.5px;
}
.pagination {
  display: flex;
  align-items: center;
  gap: 7px;
}
.pager,
.page-pill {
  height: 30px;
  width: 30px;
  display: grid;
  place-items: center;
  border: 1px solid #e8edf5;
  background: #fff;
  border-radius: 7px;
  color: #8796ac;
  font-weight: 800;
  font-size: 10px;
}
.pager:hover:not(:disabled) {
  color: #385cf6;
  border-color: #9fafff;
}
.pager:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.page-pill {
  background: #edf1ff;
  color: #385cf6;
  border-color: #edf1ff;
}
.archive-note {
  padding: 17px 4px 1px;
  display: flex;
  gap: 9px;
  align-items: center;
  color: #9ca8ba;
  font-size: 10.5px;
}
.archive-note .ico {
  width: 15px;
  height: 15px;
  color: #a5b1c7;
}
.history-empty {
  text-align: center;
  padding: 62px 20px;
}
.history-empty-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #7a8bc4;
  border-radius: 13px;
  background: #f0f3fc;
  margin: 0 auto 16px;
}
.history-empty strong {
  display: block;
  font:
    800 15px Manrope,
    sans-serif;
}
.history-empty p {
  font-size: 11px;
  color: #94a0b5;
  margin: 10px 0 20px;
}
.history-empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* Detailed message modal */
.mail-dialog-backdrop {
  position: fixed;
  inset: 0;
  background: #15203894;
  backdrop-filter: blur(6px);
  z-index: 80;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 28px;
}
.mail-dialog {
  width: min(1120px, 100%);
  max-height: min(890px, calc(100vh - 56px));
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 28px 110px #10213d47;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  outline: none;
  animation: dialogPop 0.18s ease-out;
}
@keyframes dialogPop {
  from {
    opacity: 0.5;
    transform: translateY(12px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.dialog-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  padding: 28px 34px 24px;
  border-bottom: 1px solid #edf0f5;
  flex: none;
}
.dialog-overline {
  font-size: 9px;
  letter-spacing: 1.6px;
  font-weight: 800;
  color: #5680af;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
}
.dialog-status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3bc694;
  box-shadow: 0 0 0 3px #e8f8f0;
}
.dialog-header h2 {
  font:
    800 23px/1.3 Manrope,
    sans-serif;
  letter-spacing: -0.8px;
  margin: 0 0 7px;
}
.dialog-header p {
  font-size: 11px;
  color: #9aa5b7;
  margin: 0;
}
.dialog-header-actions {
  display: flex;
  gap: 8px;
}
.dialog-icon {
  border: 1px solid #e9edf4;
  border-radius: 9px;
  background: #fff;
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  color: #8996aa;
}
.dialog-icon:hover {
  background: #f3f5fc;
  color: #365cf2;
}
.dialog-icon .ico {
  width: 16px;
  height: 16px;
}
.dialog-layout {
  min-height: 0;
  overflow: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
}
.dialog-main {
  min-width: 0;
  padding: 25px 31px 32px;
  background: #fff;
}
.dialog-meta-strip {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
  border: 1px solid #edf0f5;
  border-radius: 11px;
  padding: 18px 19px;
  background: #fcfdff;
  margin-bottom: 24px;
}
.meta-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.meta-item span {
  font-size: 8.5px;
  letter-spacing: 1px;
  font-weight: 800;
  color: #acb6c6;
}
.meta-item strong {
  font-size: 10.5px;
  color: #485670;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dialog-email-wrap {
  background: #f4f6fa;
  border-radius: 11px;
  padding: 25px 20px;
  display: flex;
  justify-content: center;
}
.email-canvas {
  background: #fff;
  width: 100%;
  max-width: 540px;
  box-shadow: 0 14px 40px #21365f12;
  border: 1px solid #eceef4;
  overflow: hidden;
}
.email-canvas-header {
  padding: 21px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #f0f2f6;
}
.canvas-brand {
  font:
    800 20px Manrope,
    sans-serif;
  letter-spacing: -1.3px;
}
.canvas-brand span {
  color: #385cf6;
}
.email-canvas-label {
  font-size: 8px;
  letter-spacing: 1.1px;
  color: #acb5c4;
  font-weight: 800;
}
.email-canvas-body {
  padding: 34px 35px 28px;
}
.email-canvas-kicker {
  font-size: 8px;
  color: #5672e6;
  letter-spacing: 1.5px;
  font-weight: 800;
  margin-bottom: 13px;
}
.email-canvas-body h3 {
  font:
    800 25px/1.35 Manrope,
    sans-serif;
  letter-spacing: -0.8px;
  color: #26344e;
  margin: 0 0 20px;
}
.email-canvas-copy {
  font-size: 12px;
  line-height: 1.9;
  color: #58657b;
  min-height: 80px;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.email-canvas-copy p {
  margin: 0 0 12px;
}
.signature-demo {
  font-size: 10.5px;
  color: #6c7689;
  margin-top: 45px;
  line-height: 1.7;
}
.signature-demo .signature-rule {
  width: 100%;
  height: 1px;
  background: #ecf0f5;
  margin: 0 0 24px;
}
.signature-demo p {
  margin: 0 0 2px;
}
.signature-demo > strong {
  color: #27334c;
}
.signature-logo {
  font:
    800 22px Manrope,
    sans-serif;
  color: #222;
  margin-top: 18px;
  letter-spacing: -1px;
}
.signature-logo span {
  color: #edc531;
}
.signature-tagline {
  font-size: 9px;
  font-weight: 800;
  color: #485066;
}
.signature-address {
  margin-top: 16px !important;
  color: #8c98aa;
  line-height: 1.8;
}
.email-canvas-footer {
  padding: 17px 20px;
  text-align: center;
  background: #fafbfe;
  color: #abb5c6;
  font-size: 9px;
}
.dialog-aside {
  background: #fafbfe;
  border-left: 1px solid #edf0f6;
  padding: 28px 23px;
  display: flex;
  flex-direction: column;
}
.detail-title {
  font-size: 9px;
  letter-spacing: 1.25px;
  font-weight: 800;
  color: #929eb3;
  margin-bottom: 19px;
}
.delivery-status {
  display: flex;
  gap: 10px;
  align-items: center;
  background: #ecf9f3;
  border: 1px solid #e3f4ec;
  padding: 13px 11px;
  border-radius: 9px;
  margin-bottom: 22px;
}
.delivery-icon {
  width: 30px;
  height: 30px;
  background: #d9f4e6;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #26946b;
}
.delivery-icon .ico {
  width: 15px;
}
.delivery-status div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.delivery-status strong {
  font-size: 10px;
  color: #2c8b67;
}
.delivery-status small {
  font-size: 9px;
  color: #75a993;
}
.detail-list > div {
  display: flex;
  flex-direction: column;
  gap: 7px;
  border-bottom: 1px solid #e9edf4;
  padding: 14px 0;
}
.detail-list > div:first-child {
  padding-top: 0;
}
.detail-list span {
  color: #a0abbc;
  font-size: 9.5px;
}
.detail-list strong {
  font-size: 11px;
  color: #42516a;
  font-weight: 800;
  overflow-wrap: anywhere;
}
.detail-aside-bottom {
  margin-top: auto;
  padding: 25px 0 0;
  display: flex;
  gap: 10px;
  color: #9aa6b8;
}
.detail-aside-bottom p {
  margin: 0;
  font-size: 10px;
  line-height: 1.7;
}
.detail-help-icon {
  color: #8295b9;
  flex: none;
}
.detail-help-icon .ico {
  width: 16px;
}
.dialog-footer {
  padding: 18px 31px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #edf0f5;
  background: #fff;
  flex: none;
}
.dialog-footer-left {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: #a3afc0;
}
.dialog-footer-left .ico {
  width: 13px;
}
.dialog-footer-actions {
  display: flex;
  gap: 9px;
}
body.dialog-open {
  overflow: hidden;
}
@media (max-width: 1300px) {
  .history-content {
    padding-left: 28px;
    padding-right: 28px;
  }
  .history-toolbar {
    flex-wrap: wrap;
  }
  .history-table {
    min-width: 790px;
  }
  .mail-dialog {
    max-height: calc(100vh - 35px);
  }
}
@media (max-width: 900px) {
  .history-stats {
    gap: 10px;
  }
  .stat-card {
    padding: 19px;
  }
  .stat-value {
    font-size: 24px;
  }
  .stat-date {
    font-size: 19px;
  }
  .dialog-layout {
    grid-template-columns: 1fr;
  }
  .dialog-aside {
    border: 0;
    border-top: 1px solid #edf0f5;
  }
  .dialog-aside .detail-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
  }
  .detail-aside-bottom {
    margin-top: 0;
  }
}
@media (max-width: 760px) {
  .history-content {
    padding: 25px 16px;
  }
  .history-heading .heading-actions {
    display: flex;
  }
  .history-stats {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .stat-card {
    min-height: 115px;
    padding: 18px;
  }
  .stat-label {
    margin-bottom: 10px;
  }
  .stat-icon {
    top: 18px;
    right: 18px;
  }
  .stat-foot {
    margin-top: 8px;
  }
  .history-card-head {
    padding: 23px 18px 18px;
  }
  .history-toolbar {
    padding: 0 18px 18px;
    flex-direction: column;
    align-items: stretch;
  }
  .search-box {
    max-width: none;
    flex: auto;
  }
  .filter-controls {
    width: 100%;
  }
  .select-shell {
    flex: 1;
  }
  .history-card-head p {
    line-height: 1.6;
  }
  .archive-chip {
    display: none;
  }
  .history-table th:first-child,
  .history-table td:first-child {
    padding-left: 18px;
  }
  .history-table-footer {
    padding: 16px 18px;
  }
  .mail-dialog-backdrop {
    padding: 10px;
  }
  .mail-dialog {
    max-height: calc(100dvh - 20px);
    border-radius: 13px;
  }
  .dialog-header {
    padding: 19px 19px 16px;
  }
  .dialog-header h2 {
    font-size: 18px;
  }
  .dialog-main {
    padding: 17px 13px;
  }
  .dialog-meta-strip {
    padding: 14px 10px;
    gap: 6px;
  }
  .meta-item span {
    font-size: 7px;
  }
  .meta-item strong {
    font-size: 9px;
  }
  .dialog-email-wrap {
    padding: 14px 10px;
  }
  .email-canvas-body {
    padding: 25px 22px;
  }
  .email-canvas-header {
    padding: 18px 20px;
  }
  .dialog-aside {
    padding: 22px 19px;
  }
  .dialog-footer {
    padding: 13px 17px;
  }
  .dialog-footer-left {
    display: none;
  }
  .dialog-footer-actions {
    width: 100%;
    justify-content: flex-end;
  }
}
@media (max-width: 430px) {
  .history-heading .btn {
    padding: 0 11px;
  }
  .history-card-head h2 {
    font-size: 16px;
  }
  .history-content .page-heading h1 {
    font-size: 23px;
  }
  .search-box kbd {
    display: none;
  }
  .select-shell {
    padding: 0 8px;
    gap: 5px;
  }
  .select-shell select {
    font-size: 10px;
  }
  .dialog-aside .detail-list {
    grid-template-columns: 1fr;
  }
  .dialog-meta-strip {
    grid-template-columns: 1fr 1fr;
  }
  .dialog-meta-strip .meta-item:last-child {
    grid-column: 1/-1;
  }
  .dialog-header-actions {
    gap: 5px;
  }
  .dialog-header h2 {
    max-width: 220px;
    overflow-wrap: anywhere;
  }
  .email-canvas-body h3 {
    font-size: 21px;
  }
}
/* Mailing Studio · Empfängergruppen */
.groups-content .history-heading {
  margin-bottom: 29px;
}
.groups-content .history-stats {
  margin-bottom: 24px;
}
.groups-content .history-table th:nth-child(1) {
  width: 49%;
}
.groups-content .history-table th:nth-child(2) {
  width: 17%;
}
.groups-content .history-table th:nth-child(3) {
  width: 18%;
}
.groups-content .history-table th:nth-child(4) {
  width: 16%;
}
.groups-content .history-table td {
  height: 70px;
}
.groups-content .history-table tbody tr:hover {
  cursor: default;
}
.group-toolbar .search-box {
  max-width: 470px;
}
.group-name-cell {
  display: flex;
  align-items: center;
  gap: 13px;
}
.group-color-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex: none;
  box-shadow: 0 0 0 4px #f5f6fa;
}
.group-name-text {
  font:
    800 12px Manrope,
    sans-serif;
  color: #2b3850;
}
.member-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 31px;
  height: 27px;
  border-radius: 7px;
  background: #f4f6fb;
  color: #66758f;
  font-weight: 800;
  font-size: 11px;
}
.group-color-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #edf0f6;
  border-radius: 8px;
  padding: 7px 9px;
  color: #8592a8;
  font-size: 10px;
  font-weight: 700;
}
.group-color-chip span {
  width: 12px;
  height: 12px;
  border-radius: 4px;
}
.group-actions {
  display: flex;
  gap: 6px;
  justify-content: flex-start;
}
.group-icon-btn {
  height: 33px;
  width: 33px;
  border: 1px solid #e9edf5;
  background: #fff;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: #8c9bb0;
  transition: 0.16s;
}
.group-icon-btn .ico {
  height: 15px;
  width: 15px;
}
.group-icon-btn:hover {
  background: #edf1ff;
  color: #385cf6;
  border-color: #dce5ff;
}
.group-icon-btn.group-delete-btn:hover {
  background: #fff0f2;
  color: #dc4d67;
  border-color: #ffe0e5;
}
.group-footer-hint {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.groups-content .archive-note {
  padding-bottom: 22px;
}
.group-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #14213c99;
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
.group-modal-backdrop[hidden] {
  display: none !important;
}
.group-modal {
  background: #fff;
  width: min(500px, 100%);
  max-height: calc(100dvh - 40px);
  border-radius: 18px;
  box-shadow: 0 30px 100px #13203745;
  overflow: auto;
  animation: dialogPop 0.18s ease-out;
}
.group-modal-head {
  padding: 30px 32px 21px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.group-modal-kicker {
  color: #5374d4;
  letter-spacing: 1.3px;
  font-size: 9px;
  font-weight: 800;
}
.group-modal h2 {
  font:
    800 22px/1.35 Manrope,
    sans-serif;
  letter-spacing: -0.75px;
  margin: 10px 0 8px;
}
.group-modal-head p {
  font-size: 11px;
  line-height: 1.7;
  color: #9ba8bb;
  margin: 0;
}
.group-modal-form {
  margin: 0;
}
.group-modal-content {
  padding: 0 32px 28px;
}
.group-field-label {
  display: block;
  font-weight: 800;
  font-size: 11px;
  color: #43516a;
  margin: 8px 0 10px;
}
.group-field-label span {
  color: #385cf6;
}
.group-modal-content input[type="text"] {
  border: 1px solid #e4e9f2;
  outline: none;
  border-radius: 10px;
  background: #fff;
  color: #29364f;
  height: 45px;
  padding: 0 13px;
  font-size: 12px;
  width: 100%;
  transition: 0.15s;
}
.group-modal-content input[type="text"]:focus {
  border-color: #8099ff;
  box-shadow: 0 0 0 3px #edf1ff;
}
.group-modal-content input[aria-invalid="true"] {
  border-color: #e87985;
  box-shadow: 0 0 0 3px #fff0f3;
}
.field-helper {
  margin-top: 8px;
  color: #9ca9bb;
  font-size: 10px;
  line-height: 1.5;
}
.group-color-label {
  margin-top: 27px;
}
.group-color-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.group-color-row input[type="color"] {
  flex: none;
  width: 47px;
  height: 45px;
  border: 1px solid #e4e9f2;
  border-radius: 9px;
  cursor: pointer;
  padding: 5px;
  background: #fff;
}
.group-color-row input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
}
.group-color-row input[type="color"]::-webkit-color-swatch {
  border: 0;
  border-radius: 5px;
}
.group-color-row input[type="text"] {
  width: 105px;
  flex: none;
  font-weight: 700;
}
.group-color-demo {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #97a3b6;
  font-size: 10px;
}
.group-color-demo span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #999;
}
.group-swatches {
  margin-top: 15px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.group-swatch {
  width: 25px;
  height: 25px;
  background: var(--swatch);
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px #e8ecf3;
  border-radius: 8px;
}
.group-swatch.selected {
  box-shadow: 0 0 0 2px #385cf6;
}
.group-modal-foot {
  padding: 18px 32px 24px;
  border-top: 1px solid #eef0f6;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.group-modal-foot .btn {
  min-height: 40px;
}
.btn-danger {
  background: #e04f65;
  color: #fff;
  border: 1px solid #e04f65;
}
.btn-danger:hover {
  background: #cd4058;
}
.delete-icon {
  background: #fff0f2;
  border: 1px solid #ffe1e6;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #d94c66;
  border-radius: 12px;
}
.delete-icon .ico {
  height: 21px;
  width: 21px;
}
.group-delete-modal {
  width: min(470px, 100%);
}
.group-delete-modal .group-modal-head {
  padding-bottom: 0;
}
.delete-body {
  padding: 0 32px 27px;
}
.delete-body h2 {
  font-size: 22px;
  margin: 18px 0 12px;
}
.delete-body p {
  color: #78869d;
  font-size: 12px;
  line-height: 1.8;
  margin: 0;
}
.delete-body p strong {
  color: #28364c;
}
.delete-warning {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  background: #fff7ef;
  border: 1px solid #ffedd8;
  border-radius: 10px;
  padding: 14px;
  margin-top: 22px;
  color: #a27b50;
  font-size: 10.5px;
  line-height: 1.65;
}
.delete-warning .ico {
  height: 16px;
  width: 16px;
  flex: none;
  margin-top: 1px;
}
@media (max-width: 760px) {
  .group-footer-hint {
    display: none;
  }
  .groups-content .history-table {
    min-width: 620px;
  }
  .group-modal-head {
    padding: 23px 22px 18px;
  }
  .group-modal-content {
    padding: 0 22px 22px;
  }
  .group-modal-foot {
    padding: 16px 22px 20px;
  }
  .delete-body {
    padding: 0 22px 22px;
  }
  .group-modal h2 {
    font-size: 19px;
  }
  .group-color-demo {
    display: none;
  }
}

/* Gruppen-Tabelle: Farbzuordnung ausschließlich als Punkt vor dem Gruppennamen. */
.groups-content .history-table th:nth-child(1) {
  width: 62%;
}
.groups-content .history-table th:nth-child(2) {
  width: 20%;
}
.groups-content .history-table th:nth-child(3) {
  width: 18%;
}
/* Mailing Studio — Signaturen */
.signatures-content .history-heading {
  margin-bottom: 29px;
}
.signatures-content .history-stats {
  margin-bottom: 24px;
}
.signature-stat-title {
  font-size: 19px !important;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.signature-workspace {
  display: grid;
  grid-template-columns: minmax(270px, 0.76fr) minmax(450px, 1.55fr);
  gap: 22px;
  align-items: start;
}
.signature-list-card,
.signature-preview-card {
  background: #fff;
  border: 1px solid #e9edf5;
  border-radius: 16px;
  box-shadow: 0 8px 36px #1b2b5708;
  min-width: 0;
  overflow: hidden;
}
.signature-card-header {
  padding: 27px 27px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.signature-card-header h2 {
  font:
    800 20px Manrope,
    sans-serif;
  margin: 10px 0 0;
  letter-spacing: -0.65px;
}
.signature-card-header h2 .history-count {
  vertical-align: middle;
}
.signature-add-mini {
  background: #edf1ff;
  color: #385cf6;
  border: 0;
  border-radius: 10px;
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
}
.signature-add-mini:hover {
  background: #dfe7ff;
}
.signature-search {
  margin: 0 24px 14px;
  border: 1px solid #e9edf5;
  border-radius: 9px;
  height: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  color: #a0acc0;
}
.signature-search .ico {
  width: 16px;
}
.signature-search input {
  background: transparent;
  border: 0;
  outline: none;
  width: 100%;
  color: #243149;
  font-size: 11px;
}
.signature-list {
  padding: 0 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-height: 270px;
}
.signature-list-item {
  display: flex;
  gap: 11px;
  align-items: center;
  text-align: left;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 10px;
  padding: 13px 12px;
  width: 100%;
  color: #29384d;
  transition: 0.16s;
}
.signature-list-item:hover {
  background: #f7f9fc;
}
.signature-list-item.selected {
  background: #eff3ff;
  border-color: #e0e8ff;
}
.signature-list-icon {
  height: 39px;
  width: 39px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #f1f3f8;
  color: #7485a1;
  flex: none;
}
.signature-list-item.selected .signature-list-icon {
  background: #e1e9ff;
  color: #385cf6;
}
.signature-list-name {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
}
.signature-list-name strong {
  font:
    800 11.5px Manrope,
    sans-serif;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.signature-list-name small {
  font-size: 10px;
  color: #a4aec0;
}
.signature-item-pill {
  font-size: 9px;
  font-weight: 800;
  border-radius: 5px;
  padding: 5px 7px;
  color: #2d67a8;
  background: #dceaff;
}
.signature-list-chevron {
  width: 14px;
  color: #b1bccd;
}
.signature-list-bottom {
  display: flex;
  gap: 9px;
  background: #fafbfe;
  padding: 19px 23px;
  border-top: 1px solid var(--line);
  color: #96a2b6;
  line-height: 1.65;
  font-size: 10px;
}
.signature-list-bottom .ico {
  width: 15px;
  height: 15px;
  flex: none;
  margin-top: 2px;
}
.signature-preview-head {
  padding: 28px 29px 22px;
  align-items: flex-start;
}
.signature-preview-head p {
  margin: 8px 0 0;
  color: #9ca8ba;
  font-size: 11px;
}
.signature-default-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 800;
  color: #4381a1;
  background: #e9f7ff;
  border: 1px solid #d8edfa;
  border-radius: 20px;
  padding: 8px 11px;
}
.signature-default-pill .ico {
  width: 13px;
  height: 13px;
}
.signature-default-pill[hidden] {
  display: none;
}
.signature-action-bar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0 25px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  min-height: 62px;
}
.signature-action {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 0;
  color: #63728c;
  font-size: 11px;
  font-weight: 800;
  padding: 11px 6px;
  border-radius: 8px;
}
.signature-action:hover {
  background: #f1f4ff;
  color: #385cf6;
}
.signature-action .ico {
  width: 16px;
  height: 16px;
}
.signature-action.danger:hover {
  color: #d94c66;
  background: #fff1f3;
}
.signature-action-separator {
  width: 1px;
  height: 22px;
  background: #e8edf5;
}
.signature-stage {
  background: #f5f7fc;
  padding: 34px;
  min-height: 445px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.signature-email-sheet {
  background: #fff;
  border: 1px solid #e8ebf2;
  border-radius: 11px;
  box-shadow: 0 9px 26px #273b6209;
  width: 100%;
  min-height: 350px;
  padding: 31px 36px;
  overflow-wrap: anywhere;
}
.signature-email-label {
  color: #b4bdd0;
  letter-spacing: 1.4px;
  font-weight: 800;
  font-size: 9px;
  margin-bottom: 30px;
}
.signature-rendered {
  font-family: Arial, sans-serif;
  color: #2b3342;
  font-size: 12px;
  line-height: 1.65;
}
.signature-rendered p {
  margin: 0 0 13px;
}
.signature-rendered a {
  color: #e02cb3;
  text-decoration: none;
}
.signature-rendered img {
  max-width: 100%;
  height: auto;
}
.signature-rendered h1,
.signature-rendered h2 {
  font-family: Arial, sans-serif;
}
.signature-preview-footer {
  padding: 18px 29px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #a0aabe;
  font-size: 10px;
}
.signature-preview-footer span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.signature-live-dot {
  height: 7px;
  width: 7px;
  border-radius: 50%;
  background: #36c88a;
  box-shadow: 0 0 0 3px #e7f9ee;
}
.signatures-content .archive-note {
  margin-top: 22px;
}
.signature-modal-backdrop {
  z-index: 110;
}
.signature-modal {
  width: min(735px, 100%);
  max-height: calc(100dvh - 36px);
  overflow-y: auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 25px 100px #16223d45;
  animation: dialogPop 0.18s ease-out;
}
.signature-modal-head {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 29px 34px 23px;
  border-bottom: 1px solid #eff1f6;
}
.signature-modal-head h2 {
  font:
    800 23px Manrope,
    sans-serif;
  letter-spacing: -0.9px;
  margin: 9px 0;
}
.signature-modal-head p {
  color: #97a4b6;
  font-size: 11px;
  margin: 0;
  line-height: 1.6;
}
.signature-modal-main {
  padding: 24px 34px 29px;
}
.signature-modal-main .group-field-label {
  margin: 0 0 9px;
}
.signature-title-field {
  width: 100%;
  height: 44px;
  border: 1px solid #e2e8f2;
  border-radius: 9px;
  outline: none;
  padding: 0 13px;
  color: #27354a;
  font-size: 12px;
}
.signature-title-field:focus {
  border-color: #8099ff;
  box-shadow: 0 0 0 3px #edf1ff;
}
.signature-title-field[aria-invalid="true"] {
  border-color: #d94c66;
}
.signature-editor-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 26px;
}
.signature-editor-label span {
  font-size: 10px;
  color: #aab5c5;
}
.signature-editor-shell {
  border: 1px solid #e2e8f2;
  border-radius: 10px;
  overflow: hidden;
  min-height: 240px;
}
.signature-editor-shell:focus-within {
  border-color: #8ea2f6;
}
.signature-editor-shell .ql-toolbar.ql-snow {
  border: 0;
  border-bottom: 1px solid #e7ebf3;
  padding: 11px 12px;
  background: #fbfcff;
}
.signature-editor-shell .ql-container.ql-snow {
  border: 0;
  font:
    13px/1.7 Arial,
    sans-serif;
  height: 225px;
}
.signature-editor-shell .ql-editor {
  padding: 17px 19px;
}
.signature-editor-shell .ql-editor.ql-blank::before {
  font-style: normal;
  color: #b4bdcb;
}
.signature-editor-fallback {
  height: 220px;
  overflow: auto;
  outline: none;
  padding: 17px;
  font:
    13px/1.7 Arial,
    sans-serif;
}
.signature-editor-fallback:empty:before {
  content: attr(data-placeholder);
  color: #a9b5c3;
}
.signature-editor-hint {
  display: flex;
  gap: 7px;
  align-items: flex-start;
  color: #9aa6b9;
  font-size: 10px;
  line-height: 1.7;
  margin: 12px 0 23px;
}
.signature-editor-hint .ico {
  width: 14px;
  height: 14px;
  margin-top: 2px;
  flex: none;
}
.signature-default-option {
  background: #f8faff;
  border: 1px solid #eaf0fa;
  border-radius: 10px;
  padding: 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}
.signature-default-option input {
  accent-color: #385cf6;
  margin-top: 3px;
  width: 15px;
  height: 15px;
}
.signature-default-option span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.signature-default-option strong {
  font-size: 11px;
}
.signature-default-option small {
  font-size: 10px;
  color: #9eabc0;
}
.signature-modal-foot {
  padding: 18px 34px;
}
.signature-modal-foot .btn {
  min-height: 42px;
}
@media (max-width: 1150px) {
  .signature-workspace {
    grid-template-columns: minmax(220px, 0.8fr) minmax(350px, 1.4fr);
  }
  .signature-action-bar {
    gap: 4px;
    padding: 8px 15px;
  }
  .signature-action {
    font-size: 10px;
    gap: 5px;
  }
  .signature-stage {
    padding: 20px;
  }
  .signature-email-sheet {
    padding: 24px;
  }
}
@media (max-width: 850px) {
  .signature-workspace {
    grid-template-columns: 1fr;
  }
  .signature-list {
    min-height: auto;
  }
  .signature-modal-head {
    padding: 23px;
  }
  .signature-modal-main {
    padding: 22px;
  }
  .signature-modal-foot {
    padding: 16px 22px;
  }
}
@media (max-width: 500px) {
  .signature-action-bar {
    justify-content: center;
  }
  .signature-action span {
    display: none;
  }
  .signature-action {
    width: 38px;
    height: 38px;
    justify-content: center;
  }
  .signature-preview-footer {
    flex-wrap: wrap;
  }
  .signature-stage {
    padding: 13px;
  }
  .signature-email-sheet {
    padding: 20px;
  }
  .signature-modal-head h2 {
    font-size: 19px;
  }
}
/* Empfängerverwaltung — Ninjamatic Mailing */
.contacts-heading-actions {
  flex-wrap: wrap;
}
.contacts-stats {
  margin-bottom: 25px;
}
.contacts-toolbar {
  justify-content: space-between;
  gap: 14px;
}
.contacts-toolbar .search-box {
  max-width: 390px;
  flex: 1;
  min-width: 230px;
}
.contacts-toolbar-right {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.contacts-filters {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #edf0f6;
  padding: 16px 27px;
  background: #fcfdff;
  flex-wrap: wrap;
}
.contacts-filter-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #56637b;
  font-weight: 800;
}
.contacts-filter-title .ico {
  height: 15px;
  width: 15px;
}
.contacts-filter-title button,
.contacts-text-button {
  border: 0;
  background: none;
  color: #4765e8;
  font-weight: 800;
  font-size: 10px;
  margin-left: 6px;
}
.contacts-filters-controls {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.compact-select {
  border: 1px solid #e3e9f3;
  background: white;
  border-radius: 8px;
  padding: 7px 9px;
  color: #909aaf;
  font-weight: 600;
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.compact-select select {
  border: 0;
  background: white;
  outline: 0;
  color: #34415a;
  font-size: 10px;
  max-width: 160px;
  cursor: pointer;
}
.contacts-table {
  min-width: 950px;
}
.contacts-table th,
.contacts-table td {
  white-space: nowrap;
}
.contacts-table th:first-child,
.contacts-table td:first-child {
  width: 42px !important;
  padding-left: 25px !important;
  padding-right: 8px;
}
.contacts-table th:nth-child(2) {
  width: 18%;
}
.contacts-table th:nth-child(3) {
  width: 24%;
}
.contacts-table th:nth-child(4) {
  width: 19%;
}
.contacts-table th:nth-child(5),
.contacts-table th:nth-child(6) {
  width: 10%;
}
.contacts-table th:nth-child(7) {
  width: 10%;
}
.contacts-table input[type="checkbox"],
.contacts-bulk input[type="checkbox"] {
  accent-color: var(--blue);
  height: 15px;
  width: 15px;
  cursor: pointer;
}
.contact-person {
  display: flex;
  align-items: center;
  gap: 11px;
}
.contact-avatar {
  height: 34px;
  width: 34px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #4963ae;
  background: #eaf0ff;
  font-size: 10px;
  font-weight: 800;
}
.contact-person strong {
  font-size: 11.5px;
  display: block;
  color: #293750;
}
.contact-person small {
  display: block;
  color: #9aa6b8;
  margin-top: 4px;
  font-size: 9px;
}
.contacts-email {
  color: #52627d;
  font-size: 11px;
}
.contact-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  max-width: 270px;
}
.contact-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 9.5px;
  font-weight: 800;
  background: #f3f5fa;
  color: #65718a;
}
.contact-tag .dot {
  height: 6px;
  width: 6px;
  border-radius: 50%;
  background: var(--dot);
}
.contact-tag.muted {
  background: #f5f6f8;
  color: #a0a8b8;
}
.contact-status {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-size: 10px;
  font-weight: 800;
  color: #2a9d75;
}
.contact-status::before {
  content: "";
  width: 7px;
  height: 7px;
  background: #2ac589;
  border-radius: 50%;
}
.contact-status.no {
  color: #d46b77;
}
.contact-status.no::before {
  background: #e78691;
}
.contact-status.unknown {
  color: #a1a9b8;
}
.contact-status.unknown::before {
  background: #a1a9b8;
}
.contact-actions {
  display: flex;
  gap: 5px;
  justify-content: flex-end;
}
.contact-actions button {
  width: 31px;
  height: 31px;
  background: #fff;
  border: 1px solid #e8edf5;
  border-radius: 8px;
  color: #7e8da6;
  display: grid;
  place-items: center;
}
.contact-actions button:hover {
  color: var(--blue);
  border-color: #bcc9ff;
  background: #f5f7ff;
}
.contact-actions button:last-child:hover {
  color: #d54c62;
  border-color: #f2c5ce;
  background: #fff4f5;
}
.contact-actions .ico {
  height: 14px;
  width: 14px;
}
.contacts-bulk {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 13px 27px;
  background: #edf2ff;
  border-top: 1px solid #e0e7fb;
  color: #3c54a0;
  font-size: 11px;
  font-weight: 700;
}
.contacts-bulk[hidden] {
  display: none;
}
.contacts-bulk .btn {
  height: 31px;
}
.contacts-footer {
  gap: 14px;
}
.contacts-pages {
  display: flex;
  align-items: center;
  gap: 12px;
}
.contacts-pages label {
  display: flex;
  gap: 7px;
  align-items: center;
}
.contacts-pages select {
  border: 1px solid #e5eaf2;
  border-radius: 6px;
  padding: 5px;
  background: white;
  color: #495770;
}
.mini-page {
  width: 27px;
  height: 27px;
  border: 1px solid #e4e9f2;
  border-radius: 7px;
  background: white;
  color: #68748c;
  display: grid;
  place-items: center;
}
.mini-page:disabled {
  opacity: 0.35;
  cursor: default;
}
.mini-page .ico {
  height: 13px;
  width: 13px;
}
.contact-modal {
  width: min(720px, calc(100vw - 32px));
  max-height: calc(100vh - 50px);
  overflow: auto;
}
.contact-form-fields {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.contact-field {
  display: flex;
  flex-direction: column;
  gap: 9px;
  color: #44516a;
  font-size: 11px;
  font-weight: 800;
}
.contact-field span {
  color: #ed657f;
}
.contact-field input,
.contact-field select {
  height: 44px;
  border: 1px solid #e1e7f0;
  border-radius: 8px;
  padding: 0 12px;
  outline: none;
  color: #34415b;
  background: white;
  font-size: 12px;
  font-weight: 500;
  width: 100%;
}
.contact-field input:focus,
.contact-field select:focus {
  border-color: #aab8ff;
  box-shadow: 0 0 0 3px #385cf612;
}
.contact-field-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 800;
  color: #44516a;
}
.contact-field-heading small {
  font-size: 10px;
  color: #9ca6b7;
  font-weight: 500;
}
.contact-group-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}
.contact-group-picker label {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #e8edf5;
  border-radius: 9px;
  padding: 12px;
  color: #57657e;
  font-weight: 700;
  font-size: 11px;
  background: white;
  cursor: pointer;
}
.contact-group-picker label:has(input:checked) {
  border-color: #b9c8ff;
  background: #f7f8ff;
  color: #385cf6;
}
.contact-group-picker input {
  accent-color: var(--blue);
  width: 15px;
  height: 15px;
}
.contact-group-picker .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dot);
}
.contact-legal-hint {
  font-size: 10px;
  color: #8c97ab;
  line-height: 1.65;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
}
.contact-legal-hint .ico {
  height: 14px;
  width: 14px;
  flex: none;
  margin-top: 1px;
}
.contact-error {
  border-radius: 8px;
  background: #fff0f2;
  color: #bb4055;
  padding: 11px 13px;
  margin: 0;
  font-size: 11px;
}
.export-group-label {
  margin-top: 20px;
}
.contact-upload {
  padding: 26px 18px;
  border: 1.5px dashed #cdd7eb;
  border-radius: 12px;
  background: #fafbff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  text-align: center;
}
.contact-upload .ico {
  color: var(--blue);
  height: 25px;
  width: 25px;
}
.contact-upload strong {
  font:
    800 13px Manrope,
    sans-serif;
}
.contact-upload span {
  font-size: 10px;
  color: #98a3b6;
}
.contact-upload input {
  max-width: 230px;
  font-size: 10px;
  margin-top: 10px;
}
.verify-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 22px 0;
}
.verify-results div {
  border: 1px solid #e8edf5;
  background: #fafbfe;
  border-radius: 9px;
  padding: 15px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.verify-results strong {
  font:
    800 24px Manrope,
    sans-serif;
  color: #344b84;
}
.verify-results span {
  font-size: 9px;
  color: #8692a6;
}
.verify-results div:nth-child(2) strong {
  color: #21a87a;
}
.verify-results div:nth-child(3) strong {
  color: #e16c7c;
}
.verify-icon {
  width: 42px;
  height: 42px;
  background: #e5f8f0;
  border-radius: 12px;
  color: #1eaf83;
  display: grid;
  place-items: center;
}
.group-modal-backdrop[hidden] {
  display: none !important;
}
@media (max-width: 1000px) {
  .contacts-heading-actions {
    width: 100%;
  }
  .contacts-toolbar .search-box {
    max-width: none;
  }
  .contacts-filters-controls {
    width: 100%;
  }
}
@media (max-width: 600px) {
  .contacts-filters {
    padding: 14px 18px;
  }
  .contacts-filter-title {
    width: 100%;
    justify-content: space-between;
  }
  .compact-select {
    width: calc(50% - 4px);
  }
  .compact-select select {
    max-width: 110px;
  }
  .contact-field-grid,
  .contact-group-picker {
    grid-template-columns: 1fr;
  }
  .contacts-heading-actions .btn {
    flex: 1;
  }
  .contacts-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .contact-modal {
    max-height: calc(100vh - 18px);
  }
}

/* Teamverwaltung — konsistent mit dem Ninjamatic Mailing Designsystem */
.team-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.team-toolbar .search-box {
  width: min(420px, 100%);
}
.team-table {
  min-width: 690px;
}
.team-table th:first-child {
  width: 38%;
}
.team-table th:nth-child(2) {
  width: 21%;
}
.team-table th:nth-child(3) {
  width: 26%;
}
.team-table th:last-child {
  width: 15%;
}
.team-person {
  display: flex;
  align-items: center;
  gap: 13px;
}
.team-avatar {
  height: 38px;
  width: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font:
    800 11px Manrope,
    sans-serif;
  color: #4865ac;
  background: #eaf0ff;
}
.team-person strong {
  font-size: 11.5px;
  color: #2a3750;
  display: block;
}
.team-person small {
  font-size: 10px;
  color: #9da9bc;
  display: block;
  margin-top: 5px;
}
.team-you {
  color: #4c66df;
  background: #edf1ff;
  padding: 3px 6px;
  border-radius: 5px;
  margin-left: 6px;
  font-size: 8px;
  font-weight: 800;
}
.team-role {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid #e9edf6;
  background: #f9faff;
  color: #57657c;
  border-radius: 7px;
  font-weight: 800;
  font-size: 10px;
}
.team-role::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #93a0b8;
}
.team-role[data-role="Webmaster"]::before {
  background: #9b7cf7;
}
.team-role[data-role="Admin"]::before {
  background: #4f73f7;
}
.team-role[data-role="Redakteur"]::before {
  background: #22ba93;
}
.team-role[data-role="Moderator"]::before {
  background: #ecab56;
}
.team-access-btn {
  border: 1px solid #dfe6fc;
  border-radius: 8px;
  padding: 9px 12px;
  background: #f7f9ff;
  color: #3d5ee6;
  font-weight: 800;
  font-size: 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.team-access-btn:hover {
  background: #eef2ff;
  border-color: #afc1ff;
}
.team-access-btn .ico {
  width: 13px;
  height: 13px;
}
.team-help {
  margin-top: 20px;
  background: #f8faff;
  border: 1px solid #e8edf7;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  border-radius: 13px;
  color: #6d7890;
}
.team-help-icon {
  height: 34px;
  width: 34px;
  border-radius: 10px;
  background: #e7edff;
  color: #4665e5;
  flex: none;
  display: grid;
  place-items: center;
}
.team-help-icon .ico {
  width: 16px;
  height: 16px;
}
.team-help strong {
  font-size: 12px;
  color: #34445d;
}
.team-help p {
  font-size: 11px;
  line-height: 1.8;
  margin: 7px 0 0;
  max-width: 880px;
}
.team-member-modal {
  width: min(690px, calc(100vw - 32px));
}
.team-form-separator {
  height: 1px;
  background: #edf0f7;
}
.team-field-hint {
  font-size: 11px;
  color: #8794a9;
  line-height: 1.7;
  margin: 0;
}
.team-permission-modal {
  width: min(570px, calc(100vw - 32px));
}
.team-permission-preview {
  margin-top: 20px;
  border: 1px solid #e6ebf4;
  border-radius: 11px;
  background: #fafbff;
  padding: 17px;
}
.team-preview-title {
  font-weight: 800;
  font-size: 11px;
  display: block;
  color: #43526e;
  margin-bottom: 13px;
}
.team-capability {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  color: #63718b;
  padding: 8px 0;
}
.team-capability .ico {
  height: 15px;
  width: 15px;
  color: #24b38a;
}
.team-permission-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 16px;
  font-size: 10px;
  color: #95a1b4;
  line-height: 1.6;
}
.team-permission-note .ico {
  width: 14px;
  height: 14px;
  flex: none;
}
.team-action-wrap {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
}
.team-action-wrap .group-icon-btn {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid #e5ebf4;
  border-radius: 8px;
  background: white;
  color: #7b8aa3;
}
.team-action-wrap .group-icon-btn:hover {
  color: #4667ed;
  background: #f5f7ff;
}
.team-action-wrap .group-icon-btn:last-child:hover {
  color: #dc566e;
  background: #fff4f5;
}
.team-action-wrap .ico {
  width: 14px;
  height: 14px;
}
.team-action-wrap button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.team-content .history-stats {
  margin-bottom: 25px;
}
@media (max-width: 700px) {
  .team-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .team-toolbar .search-box {
    width: 100%;
  }
  .team-help {
    padding: 14px;
  }
  .team-member-modal .contact-field-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   KONFIGURATION / SETTINGS — V8
   ============================================ */
.configuration-content {
  max-width: 1640px;
  margin: auto;
  width: 100%;
}
.configuration-page .cfg-top-status {
  font-size: 11px;
  color: #8291a8;
  display: flex;
  align-items: center;
  gap: 9px;
}
.cfg-top-status .status-dot {
  background: #35be92;
}
.cfg-layout {
  margin-top: 25px;
}
.cfg-tabs {
  padding: 8px;
  display: flex;
  gap: 7px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  margin-bottom: 18px;
}
.cfg-tab {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #7a879f;
  padding: 15px 18px;
  font-size: 12px;
  font-weight: 800;
  transition: 0.2s;
}
.cfg-tab .ico {
  height: 16px;
  width: 16px;
}
.cfg-tab:hover {
  background: #f6f7fc;
  color: #435578;
}
.cfg-tab.active {
  background: #eef1ff;
  color: #385cf6;
  box-shadow: inset 0 0 0 1px #dfe5ff;
}
.cfg-panel {
  background: #fff;
  border: 1px solid #e8ecf4;
  border-radius: 15px;
  box-shadow: var(--shadow);
  padding: 29px 34px 34px;
}
.cfg-panel[hidden] {
  display: none !important;
}
.cfg-section-head {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 26px;
  border-bottom: 1px solid #edf0f7;
}
.cfg-section-head h2 {
  font:
    800 21px Manrope,
    sans-serif;
  letter-spacing: -0.65px;
  margin: 6px 0 6px;
}
.cfg-section-head p {
  font-size: 11.5px;
  color: #8d9ab0;
  margin: 0;
  line-height: 1.6;
}
.cfg-section-head .history-card-kicker {
  font-size: 9px;
}
.cfg-icon {
  width: 49px;
  height: 49px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  flex: none;
}
.cfg-icon .ico {
  width: 23px;
  height: 23px;
}
.cfg-icon.blue {
  background: #edf1ff;
  color: #4164ea;
}
.cfg-icon.violet {
  background: #f2efff;
  color: #9069e1;
}
.cfg-icon.amber {
  background: #fff4e6;
  color: #e0a13d;
}
.cfg-icon.rose {
  background: #fff0f3;
  color: #eb6f8d;
}
.cfg-section-tag {
  margin-left: auto;
  border: 1px solid #e7ecf4;
  border-radius: 7px;
  padding: 8px 10px;
  font-size: 9px;
  letter-spacing: 1px;
  color: #9ba8bc;
  font-weight: 800;
}
.cfg-form {
  max-width: 790px;
  padding: 27px 0 0;
}
.cfg-form-heading {
  font-size: 10px;
  letter-spacing: 1.4px;
  font-weight: 800;
  color: #94a1b7;
  margin: 0 0 19px;
}
.cfg-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 0 0 20px;
}
.cfg-field {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 11px;
  color: #4b5a74;
  font-weight: 800;
  min-width: 0;
}
.cfg-field input:not([type="range"]),
.cfg-field select {
  width: 100%;
  height: 44px;
  background: white;
  border: 1px solid #e1e7f0;
  border-radius: 9px;
  padding: 0 13px;
  outline: none;
  color: #34445f;
  font-size: 12px;
  font-weight: 500;
}
.cfg-field input:focus,
.cfg-field select:focus {
  border-color: #a6b8ff;
  box-shadow: 0 0 0 3px #385cf610;
}
.cfg-field small {
  color: #98a4b8;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.6;
}
.cfg-password {
  position: relative;
}
.cfg-password input {
  padding-right: 45px !important;
}
.cfg-password button {
  position: absolute;
  right: 6px;
  top: 6px;
  border: 0;
  background: #f4f6fb;
  height: 32px;
  width: 35px;
  border-radius: 7px;
  color: #7c8ca5;
  display: grid;
  place-items: center;
}
.cfg-password button .ico {
  width: 15px;
  height: 15px;
}
.cfg-muted-field {
  justify-content: flex-start;
}
.cfg-field-label {
  color: #4b5a74;
  font-size: 11px;
  font-weight: 800;
}
.cfg-connection {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px dashed #e1e7f0;
  border-radius: 9px;
  color: #697b95;
  font-weight: 700;
  padding: 0 12px;
  font-size: 11px;
}
.cfg-connection small {
  margin-left: auto;
  font-size: 9px;
}
.cfg-small-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #efb34b;
}
.cfg-form-divider {
  height: 1px;
  background: #edf0f7;
  margin: 28px 0;
}
.cfg-form-actions {
  margin-top: 27px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.cfg-form-actions .btn {
  min-height: 43px;
}
.cfg-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  background: #f6f8fc;
  border: 1px solid #edf0f7;
  border-radius: 10px;
  margin-top: 23px;
  max-width: 780px;
}
.cfg-note .ico {
  height: 16px;
  width: 16px;
  color: #7892cc;
  margin-top: 2px;
}
.cfg-note p {
  margin: 0;
  font-size: 10.5px;
  line-height: 1.65;
  color: #8391a9;
}
.cfg-dispatch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 19px;
}
.cfg-dispatch-field {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  border: 1px solid #e9edf5;
  background: #fbfcff;
  border-radius: 12px;
  padding: 22px;
}
.cfg-dispatch-field .cfg-field {
  flex: 1;
}
.cfg-dispatch-icon {
  width: 36px;
  height: 36px;
  background: #edf1ff;
  color: #526be1;
  display: grid;
  place-items: center;
  font-family: Manrope, sans-serif;
  font-weight: 800;
  border-radius: 9px;
}
.cfg-dispatch-field input {
  max-width: 170px;
}
.cfg-estimate {
  display: flex;
  gap: 14px;
  margin-top: 22px;
  background: #f4f7ff;
  border-radius: 11px;
  padding: 19px 20px;
  color: #4d63a5;
}
.cfg-estimate .ico {
  width: 20px;
  height: 20px;
}
.cfg-estimate strong {
  font:
    800 12px Manrope,
    sans-serif;
}
.cfg-estimate p {
  margin: 6px 0 0;
  font-size: 11px;
  color: #7586ab;
  line-height: 1.8;
}
.cfg-integration-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
  gap: 34px;
}
.cfg-integration-form {
  min-width: 0;
}
.cfg-integration-form > .cfg-field {
  margin-bottom: 20px;
}
.cfg-integration-form .cfg-field-grid {
  margin-top: 20px;
}
.cfg-colors {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.cfg-color-field {
  border: 1px solid #e8edf5;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 9px;
  padding: 12px 11px;
  color: #65748e;
  font-weight: 800;
  font-size: 10px;
}
.cfg-color-field > div {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}
.cfg-color-field input {
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  overflow: hidden;
  flex: none;
  cursor: pointer;
  background: none;
}
.cfg-color-field span {
  font-size: 9px;
  color: #8a97ac;
  font-weight: 700;
}
.cfg-radius-field {
  margin-top: 18px;
}
.cfg-radius-field > span {
  color: #7b88a1;
  font-size: 10px;
}
.cfg-radius-field input {
  accent-color: #385cf6;
}
.cfg-preview-col {
  padding-top: 25px;
  min-width: 0;
}
.cfg-preview-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  color: #9aa7bb;
  font-size: 10px;
  letter-spacing: 1.2px;
  font-weight: 800;
}
.cfg-preview-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #5dba9c;
  letter-spacing: 0;
  font-size: 10px;
}
.cfg-preview-live span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38bf91;
}
.cfg-preview-frame {
  padding: 24px;
  background: #f5f7fc;
  border: 1px solid #e9eef6;
  border-radius: 13px;
}
.cfg-form-preview {
  max-width: 440px;
  margin: 0 auto;
  padding: 30px 27px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 7px 25px #2737590b;
  color: #233047;
  font-family: Arial, sans-serif;
}
.cfg-form-badge {
  font-size: 9px;
  letter-spacing: 1.2px;
  font-weight: 800;
  color: #9ba6b8;
  margin-bottom: 12px;
}
.cfg-form-preview h3 {
  font:
    800 21px Manrope,
    sans-serif;
  letter-spacing: -0.8px;
  margin: 0 0 7px;
}
.cfg-form-preview > p {
  color: #97a1b2;
  font-size: 11px;
  line-height: 1.6;
  margin: 0 0 24px;
}
.cfg-form-preview > label:not(.cfg-preview-consent) {
  display: block;
  font-size: 11px;
  font-weight: 800;
  margin: 15px 0 8px;
}
.cfg-form-preview > input {
  width: 100%;
  height: 40px;
  border: 1px solid #e4e9f2;
  border-radius: 9px;
  padding: 11px;
  outline: none;
  background: #fff;
  color: #233047;
  font-size: 11px;
}
.cfg-preview-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 20px;
  font-size: 10px;
  line-height: 1.7;
  color: #6a7890;
}
.cfg-preview-consent input {
  margin-top: 3px;
  flex: none;
}
.cfg-preview-consent a {
  color: #385cf6;
  text-decoration: underline;
}
.cfg-form-preview > button {
  background: #385cf6;
  color: #fff;
  border: 0;
  border-radius: 9px;
  height: 43px;
  padding: 0 17px;
  display: flex;
  gap: 26px;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 800;
  margin-top: 18px;
}
.cfg-form-preview > button span {
  font-size: 16px;
}
.cfg-embed-card {
  margin-top: 20px;
  padding: 19px;
  border: 1px solid #e9edf4;
  border-radius: 12px;
}
.cfg-embed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.cfg-embed-head strong {
  font:
    800 12px Manrope,
    sans-serif;
}
.cfg-embed-head p {
  margin: 6px 0 0;
  color: #95a0b3;
  font-size: 10px;
}
.cfg-copy {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #e3e8f3;
  border-radius: 8px;
  background: white;
  padding: 9px 11px;
  color: #5369a3;
  font-size: 10px;
  font-weight: 800;
}
.cfg-copy .ico {
  height: 13px;
  width: 13px;
}
.cfg-embed-card pre {
  font:
    11px/1.6 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  background: #f7f8fb;
  border-radius: 8px;
  padding: 12px;
  overflow: auto;
  color: #62738c;
  margin: 16px 0 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.cfg-embed-warning {
  font-size: 9.5px;
  color: #9ca6b8;
  line-height: 1.5;
  margin: 12px 0 0;
}
.cfg-subtabs {
  display: inline-flex;
  gap: 4px;
  background: #f4f6fb;
  border-radius: 10px;
  padding: 5px;
  margin: 22px 0 19px;
}
.cfg-subtab {
  border: 0;
  background: transparent;
  border-radius: 7px;
  color: #8b98ab;
  font-size: 11px;
  font-weight: 800;
  padding: 12px 19px;
}
.cfg-subtab.active {
  background: #fff;
  color: #385cf6;
  box-shadow: 0 2px 8px #202e5112;
}
.cfg-mail-head {
  background: #f9faff;
  border: 1px solid #eef1f7;
  border-radius: 11px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.cfg-mail-head h3 {
  margin: 8px 0 5px;
  font:
    800 17px Manrope,
    sans-serif;
}
.cfg-mail-head p {
  font-size: 10.5px;
  color: #8d9ab0;
  margin: 0;
}
.cfg-switch-label {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 11px;
  font-weight: 800;
  color: #66758b;
  white-space: nowrap;
  cursor: pointer;
}
.cfg-switch-label input {
  position: absolute;
  opacity: 0;
}
.cfg-switch-ui {
  height: 23px;
  width: 41px;
  border-radius: 99px;
  background: #cbd3e2;
  position: relative;
  transition: 0.2s;
}
.cfg-switch-ui:before {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 17px;
  height: 17px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 1px 4px #17223a20;
  transition: 0.2s;
}
.cfg-switch-label input:checked + .cfg-switch-ui {
  background: #34b990;
}
.cfg-switch-label input:checked + .cfg-switch-ui:before {
  transform: translateX(18px);
}
.cfg-switch-label input:focus-visible + .cfg-switch-ui {
  outline: 3px solid #9eb3ff;
}
.cfg-custom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 27px;
  margin-top: 25px;
}
.cfg-custom-editor {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}
.cfg-custom-editor > .cfg-field small {
  margin-top: 2px;
}
.cfg-quill {
  min-height: 230px;
  border-radius: 0 0 9px 9px;
}
.cfg-custom-editor .ql-toolbar {
  border-color: #e1e7f0;
  border-radius: 9px 9px 0 0;
}
.cfg-custom-editor .ql-container {
  border-color: #e1e7f0;
  border-radius: 0 0 9px 9px;
  font-size: 12px;
}
.cfg-custom-editor .ql-editor {
  min-height: 220px;
  color: #35435e;
  line-height: 1.7;
}
.cfg-quill[contenteditable="true"] {
  border: 1px solid #e1e7f0;
  border-radius: 9px;
  padding: 15px;
  outline: none;
  min-height: 220px;
  line-height: 1.7;
}
.cfg-custom-preview {
  min-width: 0;
}
.cfg-email-frame {
  padding: 17px;
  background: #f5f7fb;
  border: 1px solid #e9edf6;
  border-radius: 12px;
}
.cfg-email-header {
  display: grid;
  grid-template-columns: 55px 1fr;
  gap: 7px 9px;
  padding: 13px 14px 17px;
  font-size: 10px;
}
.cfg-email-header span {
  color: #a0aabc;
  font-weight: 800;
  font-size: 9px;
  letter-spacing: 0.7px;
}
.cfg-email-header strong {
  color: #53617b;
  font-size: 10px;
  overflow-wrap: anywhere;
}
.cfg-email-paper {
  background: #fff;
  border: 1px solid #e9edf5;
  border-radius: 9px;
  padding: 25px 25px 36px;
  min-height: 320px;
  box-shadow: 0 4px 12px #26355108;
  overflow-wrap: anywhere;
}
.cfg-email-logo {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 28px;
  color: #28364e;
}
.cfg-email-logo > span {
  background: #fff0f0;
  color: #d45d69;
  border-radius: 8px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  font-size: 10px;
  font-weight: 800;
}
.cfg-email-logo strong {
  font:
    800 15px Manrope,
    sans-serif;
  letter-spacing: -0.7px;
}
.cfg-email-logo strong span {
  color: #385cf6;
}
.cfg-email-paper #previewMailContent {
  font-size: 12px;
  line-height: 1.75;
  color: #36445c;
}
.cfg-email-paper #previewMailContent p {
  margin: 0 0 13px;
}
.cfg-email-signature {
  border-top: 1px solid #ecf0f6;
  margin-top: 24px;
  padding-top: 22px;
  font-size: 11px;
  line-height: 1.6;
  color: #53627e;
}
.cfg-email-signature:empty {
  display: none;
}
.cfg-custom-editor .cfg-form-actions {
  margin-top: 0;
}
@media (max-width: 1150px) {
  .cfg-integration-grid,
  .cfg-custom-grid {
    grid-template-columns: 1fr;
  }
  .cfg-preview-col {
    padding-top: 0;
  }
  .cfg-integration-form {
    max-width: none;
  }
  .cfg-form {
    max-width: none;
  }
}
@media (max-width: 760px) {
  .cfg-panel {
    padding: 20px;
  }
  .cfg-tab {
    font-size: 10px;
    gap: 5px;
    padding: 11px 5px;
  }
  .cfg-tab .ico {
    height: 14px;
    width: 14px;
  }
  .cfg-field-grid,
  .cfg-dispatch-grid {
    grid-template-columns: 1fr;
  }
  .cfg-colors {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cfg-section-tag {
    display: none;
  }
  .cfg-mail-head {
    align-items: flex-start;
  }
  .configuration-page .cfg-top-status {
    display: none;
  }
}
@media (max-width: 430px) {
  .cfg-tab .ico {
    display: none;
  }
  .cfg-colors {
    grid-template-columns: 1fr;
  }
  .cfg-section-head {
    align-items: flex-start;
  }
  .cfg-icon {
    height: 40px;
    width: 40px;
  }
  .cfg-switch-label {
    font-size: 10px;
  }
}

/* V9 – kompakte KPI-Karten für alle Unterseiten */
.history-stats {
  gap: 14px;
  margin-bottom: 19px;
}
.stat-card {
  min-height: 112px;
  padding: 17px 21px;
}
.stat-label {
  margin: 0 0 9px;
}
.stat-value {
  font-size: 26px;
  line-height: 1.15;
}
.stat-date {
  font-size: 21px;
}
.stat-foot {
  margin-top: 9px;
}
.stat-icon {
  right: 18px;
  top: 16px;
  width: 33px;
  height: 33px;
}
.stat-icon .ico {
  width: 16px;
  height: 16px;
}
@media (max-width: 760px) {
  .stat-card {
    min-height: 105px;
    padding: 16px 18px;
  }
  .stat-label {
    margin-bottom: 8px;
  }
  .stat-foot {
    margin-top: 8px;
  }
}
/* V9 – Profil & Erscheinungsbild */
.settings-content {
  max-width: 1750px;
}
.settings-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 20px;
  align-items: start;
}
.settings-panel {
  overflow: hidden;
}
.settings-panel-heading {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 27px 29px;
  border-bottom: 1px solid var(--line);
}
.settings-panel-icon {
  width: 43px;
  height: 43px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #edf1ff;
  color: var(--blue);
}
.settings-panel-icon.purple {
  background: #f2eeff;
  color: #8e75d7;
}
.settings-panel-heading h2 {
  font:
    800 17px Manrope,
    sans-serif;
  letter-spacing: -0.5px;
  margin: 5px 0 5px;
}
.settings-panel-heading p {
  font-size: 11px;
  color: #98a3b6;
  margin: 0;
}
.settings-form-inner {
  padding: 27px 29px 30px;
}
.settings-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.settings-field {
  font-size: 11px;
  font-weight: 800;
  color: #3d4a61;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.settings-field input {
  width: 100%;
  min-width: 0;
  height: 46px;
  border: 1px solid #e2e7f1;
  border-radius: 9px;
  padding: 0 13px;
  background: #fff;
  color: #293751;
  outline: none;
  transition:
    box-shadow 0.2s,
    border-color 0.2s;
  font-size: 12px;
  font-weight: 500;
}
.settings-field input:focus {
  border-color: #a9b7fd;
  box-shadow: 0 0 0 3px #385cf612;
}
.settings-divider {
  height: 1px;
  background: var(--line);
  margin: 27px 0;
}
.settings-subtitle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 19px;
}
.settings-subtitle h3,
.settings-color-section h3 {
  font:
    800 13px Manrope,
    sans-serif;
  margin: 0 0 6px;
}
.settings-subtitle p,
.settings-color-section p {
  font-size: 11px;
  color: #939fb2;
  margin: 0;
}
.settings-soft-tag {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: #8393ae;
  background: #f7f9fd;
  border: 1px solid #ecf0f7;
  font-size: 10px;
  font-weight: 700;
  border-radius: 7px;
  padding: 8px 10px;
}
.settings-soft-tag .ico {
  width: 13px;
  height: 13px;
}
.settings-password-field {
  position: relative;
}
.settings-password-field input {
  padding-right: 43px;
}
.settings-eye {
  position: absolute;
  right: 7px;
  top: 6px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: #9ca8bc;
  border-radius: 7px;
}
.settings-eye .ico {
  width: 15px;
  height: 15px;
}
.settings-password-tools {
  display: flex;
  gap: 13px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 17px;
}
.settings-password-tools .btn {
  font-size: 10.5px;
}
.settings-password-note {
  font-size: 10px;
  color: #9ba6b7;
}
.settings-hint {
  margin-top: 26px;
  display: flex;
  gap: 10px;
  padding: 14px 16px;
  background: #f7f9fe;
  border: 1px solid #edf0f8;
  border-radius: 9px;
  font-size: 10.5px;
  line-height: 1.65;
  color: #8190a6;
}
.settings-hint .ico {
  width: 15px;
  height: 15px;
  color: #7086b4;
  margin-top: 2px;
}
.settings-panel-footer {
  padding: 18px 29px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.settings-panel-footer .btn {
  font-size: 11px;
}
.settings-saved {
  font-size: 10px;
  color: #29996f;
  font-weight: 700;
}
.settings-error {
  font-size: 11px;
  color: #d05264;
  padding-top: 16px;
}
.settings-color-section {
  padding: 1px 0;
}
.settings-color-options {
  display: flex;
  gap: 13px;
  margin-top: 18px;
}
.settings-swatch {
  width: 36px;
  height: 36px;
  background: var(--swatch);
  border: 4px solid white;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #e7eaf0;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
  position: relative;
}
.settings-swatch:hover {
  transform: translateY(-2px);
}
.settings-swatch.selected {
  box-shadow: 0 0 0 2px #26344b;
}
.settings-swatch.selected:after {
  content: "✓";
  font-size: 13px;
  font-weight: 900;
  color: white;
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.settings-preview-title {
  font:
    800 11px Manrope,
    sans-serif;
  margin-bottom: 13px;
}
.settings-preview-window {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 56px 1fr;
  min-height: 164px;
  background: #fff;
}
.settings-preview-rail {
  background: #fafbfe;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  padding-top: 18px;
}
.settings-preview-rail span {
  width: 17px;
  height: 6px;
  background: #dfe5f1;
  border-radius: 5px;
}
.settings-preview-rail span:nth-child(2) {
  background: var(--blue);
}
.settings-preview-body {
  padding: 18px 22px;
}
.settings-preview-mini-label {
  font-size: 8px;
  letter-spacing: 1.2px;
  color: #a2acc0;
  font-weight: 900;
}
.settings-preview-body h4 {
  font:
    800 15px Manrope,
    sans-serif;
  margin: 12px 0 7px;
}
.settings-preview-body p {
  font-size: 10px;
  color: #9aa4b7;
  margin: 0;
}
.settings-preview-actions {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 18px;
}
.settings-preview-button {
  background: var(--blue);
  color: #fff;
  border-radius: 7px;
  padding: 8px 14px;
  font-size: 10px;
  font-weight: 800;
}
.settings-preview-accent {
  color: var(--theme-accent, #fa4178);
  font-size: 10px;
  font-weight: 800;
}
.settings-profile-chip {
  font-size: 10px;
  color: #6f83a6;
  font-weight: 800;
  background: #fff;
  border: 1px solid var(--line);
  padding: 11px 13px;
  border-radius: 9px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.settings-profile-dot {
  width: 7px;
  height: 7px;
  background: #45c994;
  border-radius: 50%;
}
.settings-appearance-footer {
  gap: 9px;
}
@media (max-width: 1160px) {
  .settings-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 620px) {
  .settings-panel-heading {
    padding: 22px 19px;
  }
  .settings-form-inner {
    padding: 21px 19px;
  }
  .settings-panel-footer {
    padding: 16px 19px;
  }
  .settings-fields {
    grid-template-columns: 1fr;
  }
  .settings-soft-tag {
    display: none;
  }
  .settings-password-tools {
    align-items: flex-start;
    flex-direction: column;
  }
  .settings-profile-chip {
    display: none;
  }
}

/* Dashboard / V10 */
.dash-content {
  max-width: 1640px;
  width: 100%;
  padding-bottom: 50px;
}
.dash-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}
.dash-head h1 {
  font:
    800 clamp(24px, 2.25vw, 33px) Manrope,
    sans-serif;
  letter-spacing: -1.5px;
  margin: 11px 0 8px;
}
.dash-head p {
  margin: 0;
  color: #8b97ab;
  font-size: 12px;
}
.dash-wave {
  color: #f6b85c;
  font-size: 23px;
  vertical-align: 4px;
}
.dash-head-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.dash-date {
  font-size: 11px;
  color: #96a2b4;
  font-weight: 600;
  white-space: nowrap;
}
.dash-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
.dash-stat {
  min-height: 116px;
  background: #fff;
  border: 1px solid #e9edf4;
  border-radius: 13px;
  padding: 17px 19px;
  box-shadow: var(--shadow);
}
.dash-stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #8794aa;
  font-size: 11px;
  font-weight: 700;
}
.dash-stat-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
}
.dash-stat-icon .ico {
  width: 16px;
  height: 16px;
}
.dash-stat-icon.blue,
.shortcut-icon.blue {
  color: #4c69e9;
  background: #edf1ff;
}
.dash-stat-icon.purple,
.shortcut-icon.purple {
  color: #8d6de3;
  background: #f2edff;
}
.dash-stat-icon.green,
.shortcut-icon.green {
  color: #2fb18b;
  background: #e8faf4;
}
.dash-stat-icon.orange,
.shortcut-icon.orange {
  color: #e6a03b;
  background: #fff6e8;
}
.dash-stat-number {
  font:
    800 29px Manrope,
    sans-serif;
  letter-spacing: -1px;
  line-height: 1;
  margin: -2px 0 12px;
}
.dash-stat-foot {
  font-size: 10px;
  color: #99a5b6;
  display: flex;
  align-items: center;
  gap: 6px;
}
.dash-stat-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3bc59a;
}
.dash-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(285px, 1fr);
  gap: 17px;
  margin-bottom: 17px;
}
.dash-panel {
  min-width: 0;
  background: #fff;
  border: 1px solid #e9edf4;
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.dash-panel-heading {
  padding: 23px 25px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.dash-kicker {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.3px;
  color: #a3aec2;
  margin-bottom: 8px;
}
.dash-panel-heading h2 {
  font:
    800 16px Manrope,
    sans-serif;
  letter-spacing: -0.55px;
  margin: 0 0 6px;
}
.dash-panel-heading p {
  font-size: 11px;
  color: #96a3b5;
  margin: 0;
}
.dash-period {
  display: flex;
  align-items: center;
  gap: 3px;
  background: #f5f7fc;
  padding: 4px;
  border-radius: 8px;
  white-space: nowrap;
}
.dash-period button {
  border: 0;
  background: transparent;
  padding: 8px 10px;
  color: #9aa6b9;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
}
.dash-period button.active {
  background: #fff;
  color: #3b57a3;
  box-shadow: 0 1px 5px #10275615;
}
.dash-chart-caption {
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding: 23px 26px 10px;
}
.dash-chart-caption strong {
  font:
    800 26px Manrope,
    sans-serif;
  letter-spacing: -1px;
}
.dash-chart-caption > span:not(.dash-chart-legend) {
  font-size: 10px;
  color: #9ba6b8;
}
.dash-chart-legend {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #8d99ac;
  font-size: 10px;
  margin-left: auto;
}
.dash-chart-legend i {
  background: #5475f6;
  width: 8px;
  height: 8px;
  border-radius: 2px;
}
.dash-chart {
  height: 177px;
  padding: 8px 26px 13px;
  display: grid;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  gap: 13px;
  align-items: end;
}
.dash-chart-col {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}
.dash-chart-track {
  width: 100%;
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: repeating-linear-gradient(
    to top,
    transparent 0,
    transparent calc(25% - 1px),
    #f0f2f7 calc(25% - 1px),
    #f0f2f7 25%
  );
  position: relative;
}
.dash-chart-bar {
  display: block;
  width: clamp(12px, 42%, 40px);
  background: #e7ebfa;
  border-radius: 7px 7px 3px 3px;
  position: relative;
  transition: height 0.24s;
}
.dash-chart-bar.has-value {
  background: linear-gradient(180deg, #7189ff 0%, #385cf6 100%);
  box-shadow: 0 7px 16px #385cf62c;
}
.dash-chart-bar b {
  position: absolute;
  top: -21px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  color: #53627e;
}
.dash-chart-month {
  font-size: 10px;
  color: #9aa5b7;
  font-weight: 700;
  padding-top: 11px;
}
.dash-panel-bottom {
  border-top: 1px solid #eef1f6;
  margin: 0;
  padding: 15px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.dash-panel-bottom > span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #a3adbf;
  font-size: 9px;
}
.dash-panel-bottom .ico {
  width: 13px;
  height: 13px;
}
.dash-panel-bottom a,
.dash-inline-link {
  color: #4262e8;
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.dash-more {
  width: 29px;
  height: 29px;
  border: 1px solid #e7ebf3;
  display: grid;
  place-items: center;
  color: #94a2bb;
  border-radius: 8px;
}
.dash-more .ico {
  width: 14px;
  height: 14px;
}
.dash-audience-donut {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 18px;
  padding: 30px 22px 24px;
}
.dash-donut {
  width: 142px;
  height: 142px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.dash-donut-inner {
  width: 106px;
  height: 106px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 2px;
}
.dash-donut-inner strong {
  font:
    800 25px Manrope,
    sans-serif;
}
.dash-donut-inner span {
  font-size: 11px;
  color: #a4aebe;
}
.dash-donut-legend {
  flex: 1;
  max-width: 170px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dash-donut-legend > div {
  display: grid;
  grid-template-columns: 8px 1fr auto;
  gap: 8px;
  align-items: center;
  font-size: 10px;
  color: #8d99aa;
}
.dash-donut-legend i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.dash-donut-legend i.green {
  background: #40c997;
}
.dash-donut-legend i.gray {
  background: #dfe5f0;
}
.dash-donut-legend strong {
  font-size: 12px;
  color: #26344e;
}
.dash-audience-divider {
  height: 1px;
  background: #eef1f6;
  margin: 0 24px;
}
.dash-audience-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 24px 13px;
  font-size: 11px;
  color: #8f9bab;
}
.dash-audience-foot strong {
  font:
    800 15px Manrope,
    sans-serif;
  color: #2e3c58;
}
.dash-inline-link {
  margin: 0 24px 20px;
}
.dash-bottom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(285px, 1fr);
  gap: 17px;
}
.dash-text-action {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #4866e6;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
  margin-top: 5px;
}
.dash-recent-list {
  padding: 15px 24px 4px;
}
.dash-mail-row {
  display: flex;
  align-items: center;
  gap: 13px;
  border-bottom: 1px solid #eef1f6;
  padding: 12px 2px;
  transition: background 0.15s;
}
.dash-mail-row:hover {
  background: #f9faff;
}
.dash-mail-row:last-child {
  border-bottom: 0;
}
.dash-mail-symbol {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #f1f4ff;
  color: #5870e3;
  display: grid;
  place-items: center;
}
.dash-mail-symbol .ico {
  width: 17px;
  height: 17px;
}
.dash-mail-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.dash-mail-info strong {
  font-size: 11px;
  color: #2c3850;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dash-mail-info small {
  font-size: 10px;
  color: #a2aec1;
}
.dash-mail-state {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #40a784;
  background: #f0fbf6;
  border-radius: 7px;
  padding: 6px 9px;
  font-size: 9px;
  font-weight: 800;
}
.dash-mail-state > span {
  width: 6px;
  height: 6px;
  background: #44c494;
  border-radius: 50%;
}
.dash-mail-chevron {
  color: #aab5c7;
}
.dash-mail-chevron svg {
  width: 14px;
  height: 14px;
}
.dash-recent-footer {
  padding: 15px 26px;
  border-top: 1px solid #eef1f6;
}
.dash-recent-footer a {
  font-size: 10px;
  color: #4c69eb;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 5px;
}
.dash-side-stack {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.dash-shortcut-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 19px 22px 24px;
}
.dash-shortcut {
  min-height: 91px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid #edf0f7;
  border-radius: 10px;
  padding: 13px;
  position: relative;
  transition:
    border-color 0.15s,
    background 0.15s;
}
.dash-shortcut:hover {
  border-color: #bdc8ff;
  background: #fafbff;
}
.shortcut-icon {
  width: 27px;
  height: 27px;
  border-radius: 7px;
  display: grid;
  place-items: center;
}
.shortcut-icon .ico {
  width: 14px;
  height: 14px;
}
.dash-shortcut > span:nth-child(2) {
  font-weight: 800;
  color: #3a4862;
  font-size: 10px;
}
.dash-shortcut > .ico {
  position: absolute;
  top: 14px;
  right: 12px;
  color: #a5afc0;
  width: 12px;
  height: 12px;
}
.dash-segment-list {
  padding: 12px 23px 16px;
}
.dash-segment-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 3px;
  border-bottom: 1px solid #f0f2f6;
  color: #53627d;
  font-size: 10.5px;
  font-weight: 700;
}
.dash-segment-row:last-child {
  border-bottom: none;
}
.dash-group-bullet {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
}
.dash-segment-row > span:nth-child(2) {
  flex: 1;
}
.dash-segment-row strong {
  background: #f3f6fb;
  border-radius: 6px;
  padding: 4px 8px;
  color: #6d7d96;
}
.dash-segment-arrow .ico {
  height: 13px;
  width: 13px;
  color: #b1bbca;
}
.dash-footnote {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #a6b0c0;
  font-size: 10px;
  margin: 20px 4px 0;
}
.dash-footnote .ico {
  width: 15px;
  height: 15px;
}
.dash-footnote strong {
  color: #7f8da5;
}
@media (max-width: 1250px) {
  .dash-main-grid,
  .dash-bottom-grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(260px, 1fr);
  }
  .dash-donut {
    width: 116px;
    height: 116px;
  }
  .dash-donut-inner {
    width: 85px;
    height: 85px;
  }
  .dash-donut-inner strong {
    font-size: 21px;
  }
  .dash-audience-donut {
    gap: 12px;
    padding: 27px 15px;
  }
}
@media (max-width: 1030px) {
  .dash-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dash-main-grid,
  .dash-bottom-grid {
    grid-template-columns: 1fr;
  }
  .dash-side-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .dash-audience-donut {
    justify-content: center;
    gap: 38px;
  }
  .dash-main-grid {
    gap: 15px;
  }
}
@media (max-width: 660px) {
  .dash-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .dash-head-actions {
    width: 100%;
    justify-content: space-between;
  }
  .dash-date {
    font-size: 10px;
  }
  .dash-stats {
    gap: 9px;
  }
  .dash-stat {
    padding: 14px;
    min-height: 104px;
  }
  .dash-stat-top {
    font-size: 10px;
  }
  .dash-stat-number {
    font-size: 25px;
  }
  .dash-stat-foot {
    font-size: 9px;
  }
  .dash-panel-heading {
    padding: 20px 17px 0;
  }
  .dash-period button {
    padding: 7px;
  }
  .dash-chart-caption {
    padding: 20px 16px 8px;
  }
  .dash-chart {
    padding: 7px 16px 14px;
    gap: 4px;
  }
  .dash-panel-bottom {
    padding: 13px 16px;
    flex-direction: column;
    align-items: flex-start;
  }
  .dash-side-stack {
    grid-template-columns: 1fr;
  }
  .dash-audience-donut {
    justify-content: space-evenly;
  }
  .dash-recent-list {
    padding: 11px 15px 4px;
  }
  .dash-mail-state {
    display: none;
  }
  .dash-recent-footer {
    padding: 15px 17px;
  }
  .dash-footnote {
    align-items: flex-start;
    line-height: 1.5;
  }
}

/* Public authentication flow · V11 */
body.auth-body {
  background: #f8f9fd;
  min-height: 100vh;
  color: #26334d;
}
.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 43%);
}
.auth-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 38px clamp(28px, 5.5vw, 100px) 25px;
}
.auth-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.auth-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.auth-logo .brand-mark {
  width: 35px;
  height: 35px;
}
.auth-logo .brand-word {
  font-size: 26px;
}
.auth-top-note {
  color: #97a3b6;
  font-size: 11px;
  font-weight: 600;
}
.auth-top-note a {
  color: #3c61ec;
  font-weight: 800;
  margin-left: 4px;
}
.auth-center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 45px 0;
}
.auth-form-wrap {
  width: min(100%, 450px);
}
.auth-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #5369ca;
  font-size: 10px;
  letter-spacing: 1.4px;
  font-weight: 800;
  margin-bottom: 18px;
}
.auth-eyebrow:before {
  content: "";
  height: 7px;
  width: 7px;
  background: #5273ef;
  border-radius: 100%;
  box-shadow: 0 0 0 4px #eaf0ff;
}
.auth-form-wrap h1 {
  font:
    800 clamp(29px, 3vw, 39px) Manrope,
    sans-serif;
  letter-spacing: -1.5px;
  margin: 0 0 12px;
  line-height: 1.2;
  color: #1c2943;
}
.auth-lead {
  font-size: 12px;
  color: #95a1b5;
  line-height: 1.75;
  margin: 0 0 30px;
  max-width: 410px;
}
.auth-fields {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.auth-field {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.auth-field label {
  font-size: 11px;
  font-weight: 800;
  color: #33415c;
}
.auth-input-shell {
  height: 49px;
  background: #fff;
  border: 1px solid #e5eaf3;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  transition:
    border 0.18s,
    box-shadow 0.18s;
}
.auth-input-shell:focus-within {
  border-color: #6982ed;
  box-shadow: 0 0 0 3px #ecf0ff;
}
.auth-input-shell > svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #9caac0;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.auth-input-shell input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: inherit;
  font-size: 12px;
  color: #27344d;
  width: 100%;
}
.auth-input-shell input::placeholder {
  color: #b0bace;
}
.auth-eye {
  border: 0;
  background: none;
  padding: 5px;
  color: #99a5b8;
  display: grid;
  place-items: center;
}
.auth-eye:hover {
  color: #3f61e9;
}
.auth-eye svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
}
.auth-form-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 19px 0 22px;
}
.auth-check {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #718099;
  font-size: 11px;
  cursor: pointer;
  line-height: 1.6;
}
.auth-check input {
  accent-color: #4266ec;
  width: 15px;
  height: 15px;
  flex: none;
}
.auth-text-link {
  color: #4564de;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
  background: transparent;
  border: 0;
  padding: 0;
}
.auth-text-link:hover {
  text-decoration: underline;
}
.auth-submit {
  width: 100%;
  height: 48px;
  border: 0;
  background: #385cf6;
  color: #fff;
  font:
    800 12px Manrope,
    sans-serif;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 17px #385cf62a;
  transition:
    background 0.18s,
    transform 0.18s;
}
.auth-submit:hover {
  background: #2d4fe3;
  transform: translateY(-1px);
}
.auth-submit svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}
.auth-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}
.auth-alt {
  text-align: center;
  margin-top: 23px;
  color: #97a3b6;
  font-size: 11px;
}
.auth-alt a {
  color: #4162e9;
  font-weight: 800;
  margin-left: 4px;
}
.auth-footer {
  font-size: 10px;
  color: #abb5c5;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.auth-footer a:hover {
  color: #385cf6;
}
.auth-feature {
  position: relative;
  background:
    radial-gradient(ellipse 70% 50% at 70% 25%, #364c8f 0%, transparent 65%),
    linear-gradient(145deg, #202e51, #16213c 75%);
  color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 75px clamp(40px, 5vw, 96px);
}
.auth-feature:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#ffffff0a 1px, transparent 1px),
    linear-gradient(90deg, #ffffff0a 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(90deg, transparent, #0009);
  pointer-events: none;
}
.auth-feature-inner {
  position: relative;
  z-index: 1;
  max-width: 500px;
}
.auth-feature-label {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  color: #b8c7fc;
  border: 1px solid #ffffff2b;
  border-radius: 50px;
  padding: 9px 13px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.7px;
  margin-bottom: 35px;
  background: #ffffff0a;
}
.auth-feature-label:before {
  content: "";
  background: #55dca6;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.auth-feature h2 {
  font:
    800 clamp(29px, 3vw, 42px) Manrope,
    sans-serif;
  letter-spacing: -1.8px;
  line-height: 1.24;
  margin: 0 0 17px;
}
.auth-feature h2 em {
  font-style: normal;
  color: #98acff;
}
.auth-feature p {
  font-size: 12px;
  line-height: 1.9;
  color: #aebcda;
  max-width: 390px;
  margin: 0 0 36px;
}
.auth-feature-card {
  width: min(100%, 420px);
  background: #ffffff;
  border: 1px solid #ffffff20;
  box-shadow: 0 20px 50px #0a122b4d;
  border-radius: 16px;
  padding: 20px 22px;
  color: #2c3954;
  transform: rotate(-2deg);
}
.auth-feature-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  font-size: 10px;
  font-weight: 800;
  color: #7b89a4;
}
.auth-feature-card-head span:last-child {
  background: #edf9f2;
  color: #2baf7d;
  padding: 6px 9px;
  border-radius: 6px;
}
.auth-feature-spark {
  display: flex;
  gap: 8px;
  align-items: center;
}
.auth-feature-spark strong {
  font:
    800 30px Manrope,
    sans-serif;
  letter-spacing: -1px;
}
.auth-feature-spark small {
  color: #8fa0b6;
  font-size: 10px;
}
.auth-feature-bars {
  display: flex;
  align-items: end;
  height: 95px;
  gap: 12px;
  padding-top: 14px;
  border-bottom: 1px solid #edf0f6;
  margin-bottom: 12px;
}
.auth-feature-bars span {
  background: linear-gradient(180deg, #8ba0ff, #4b6aeb);
  height: var(--bar);
  flex: 1;
  max-width: 38px;
  border-radius: 6px 6px 0 0;
  opacity: 0.9;
}
.auth-feature-bars span:nth-child(even) {
  background: #dae2fc;
}
.auth-feature-card-foot {
  font-size: 9px;
  color: #a3adc1;
  display: flex;
  justify-content: space-between;
}
.auth-feature-bottom {
  position: absolute;
  bottom: 35px;
  left: clamp(40px, 5vw, 96px);
  right: clamp(40px, 5vw, 96px);
  font-size: 10px;
  color: #8192b7;
  display: flex;
  justify-content: space-between;
}
.auth-small-info {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #98a5ba;
  font-size: 10px;
  margin-top: 17px;
  line-height: 1.6;
}
.auth-small-info svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  flex: none;
}
.auth-alert {
  display: none;
  margin-bottom: 19px;
  padding: 13px 14px;
  border-radius: 9px;
  font-size: 11px;
  line-height: 1.65;
  border: 1px solid #e8ecf3;
  background: #fff;
}
.auth-alert.show {
  display: block;
}
.auth-alert.error {
  background: #fff6f5;
  border-color: #ffdcd7;
  color: #b14a44;
}
.auth-alert.success {
  background: #effbf5;
  border-color: #c9f3dd;
  color: #27865c;
}
.auth-alert.info {
  background: #f1f5ff;
  border-color: #dbe5ff;
  color: #3b5fae;
}
.auth-password-strength {
  height: 4px;
  display: flex;
  gap: 4px;
  margin-top: 2px;
}
.auth-password-strength i {
  height: 4px;
  flex: 1;
  border-radius: 8px;
  background: #e9edf4;
}
.auth-password-strength[data-level="1"] i:first-child {
  background: #ed7a7a;
}
.auth-password-strength[data-level="2"] i:nth-child(-n + 2) {
  background: #e9b55b;
}
.auth-password-strength[data-level="3"] i:nth-child(-n + 3) {
  background: #57c99b;
}
.auth-password-strength[data-level="4"] i {
  background: #36c391;
}
.auth-strength-caption {
  font-size: 10px;
  color: #98a4b5;
  line-height: 1.5;
}
.auth-form-note {
  font-size: 10px;
  color: #98a3b7;
  line-height: 1.6;
  margin-top: 14px;
}
.auth-register .auth-fields {
  gap: 13px;
}
.auth-register .auth-lead {
  margin-bottom: 24px;
}
.auth-register .auth-form-line {
  margin-top: 13px;
}
.auth-state-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #f0faf5;
  color: #29986e;
  padding: 7px 11px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 800;
  margin-bottom: 18px;
}
.auth-state-badge.invalid {
  color: #c17a32;
  background: #fff6e7;
}
.auth-state-badge svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}
.auth-state-art {
  background: #ecf8f1;
  color: #30bb88;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  margin-bottom: 21px;
}
.auth-state-art.invalid {
  background: #fff5e6;
  color: #e6a448;
}
.auth-state-art svg {
  width: 31px;
  height: 31px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
}
.auth-state-note {
  color: #99a5b8;
  font-size: 11px;
  line-height: 1.7;
  margin: 0 0 25px;
}
.auth-state-nav {
  margin-top: 20px;
  text-align: center;
}
.auth-reset-demo {
  position: fixed;
  right: 15px;
  bottom: 15px;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  box-shadow: 0 10px 35px #14213b19;
  border: 1px solid #e8ebf3;
  padding: 7px;
  border-radius: 11px;
}
.auth-reset-demo span {
  font-size: 9px;
  font-weight: 800;
  color: #9faabd;
  padding: 0 6px;
}
.auth-reset-demo a {
  font-size: 9px;
  color: #72809b;
  background: #f5f7fb;
  padding: 7px 9px;
  border-radius: 7px;
  font-weight: 800;
}
.auth-reset-demo a.active {
  color: #365ce5;
  background: #edf2ff;
}
.auth-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #17223c91;
  backdrop-filter: blur(5px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.auth-modal-backdrop.open {
  display: flex;
}
.auth-modal {
  width: min(100%, 450px);
  background: white;
  box-shadow: 0 24px 90px #0a18364d;
  border: 1px solid #e8edf5;
  border-radius: 18px;
  padding: 30px;
  position: relative;
}
.auth-modal-close {
  position: absolute;
  top: 21px;
  right: 21px;
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border: 1px solid #e9edf5;
  color: #8794aa;
  background: #fff;
  border-radius: 8px;
  font-size: 20px;
}
.auth-modal-icon {
  width: 43px;
  height: 43px;
  background: #edf2ff;
  color: #456cf0;
  border-radius: 13px;
  display: grid;
  place-items: center;
  margin-bottom: 19px;
}
.auth-modal-icon svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}
.auth-modal h2 {
  font:
    800 22px Manrope,
    sans-serif;
  letter-spacing: -0.9px;
  margin: 0 0 9px;
}
.auth-modal p {
  font-size: 11px;
  color: #97a4b7;
  line-height: 1.75;
  margin: 0 0 21px;
}
.auth-modal .auth-submit {
  margin-top: 19px;
}
.auth-modal-foot {
  display: flex;
  justify-content: center;
  margin-top: 17px;
}
.auth-modal-results {
  display: none;
}
.auth-modal-results.show {
  display: block;
}
.auth-modal-results .auth-state-art {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  margin-bottom: 15px;
}
.auth-modal-results .auth-state-art svg {
  width: 23px;
  height: 23px;
}
.auth-modal-results a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
}
.auth-only-demo {
  position: fixed;
  bottom: 17px;
  left: 20px;
  font-size: 9px;
  color: #b1b9c9;
  z-index: 1;
}
.auth-field-error {
  color: #cb5a53;
  font-size: 10px;
  display: none;
}
.auth-field-error.visible {
  display: block;
}
.auth-inline-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.auth-muted-row {
  margin-top: 10px;
  color: #9ca8b7;
  font-size: 10px;
  line-height: 1.6;
}
.auth-muted-row a {
  color: #4e6be6;
  font-weight: 800;
}
.auth-form-wrap .auth-submit {
  margin-top: 22px;
}
.auth-register .auth-form-line + .auth-submit {
  margin-top: 0;
}
@media (max-width: 1030px) {
  .auth-page {
    grid-template-columns: minmax(0, 1fr) 38%;
  }
  .auth-feature {
    padding: 65px 32px;
  }
  .auth-feature-bottom {
    left: 32px;
    right: 32px;
  }
  .auth-main {
    padding: 28px 35px 22px;
  }
  .auth-feature h2 {
    font-size: 28px;
  }
}
@media (max-width: 780px) {
  .auth-page {
    grid-template-columns: 1fr;
  }
  .auth-feature {
    display: none;
  }
  .auth-main {
    min-height: 100vh;
    padding: 26px 25px 20px;
  }
  .auth-center {
    padding: 65px 0;
  }
  .auth-reset-demo {
    right: 8px;
    bottom: 8px;
  }
  .auth-footer {
    gap: 7px;
  }
}
@media (max-width: 420px) {
  .auth-top-note {
    font-size: 10px;
  }
  .auth-logo .brand-word {
    font-size: 23px;
  }
  .auth-main {
    padding: 21px;
  }
  .auth-form-line {
    align-items: flex-start;
  }
  .auth-form-wrap h1 {
    font-size: 29px;
  }
  .auth-reset-demo {
    padding: 4px;
    gap: 2px;
  }
  .auth-reset-demo a {
    padding: 6px;
  }
  .auth-reset-demo span {
    display: none;
  }
}
