.em-page {
  --em-accent: #ff4d1f;
  --em-ink: #161616;
  --em-muted: #60605b;
  --em-paper: #fff;
  --em-line: #deded8;
  --em-canvas: #f4f4f4;
  max-width: 1500px;
  margin: 0 auto;
  padding: 34px 36px 72px;
  color: #161616;
}
.em-page h1,
.account-card h1 {
  font-family: "Clash Display", Satoshi, Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(28px, 3.2vw, 44px);
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin: 0 0 14px;
}
.em-page h2 {
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: -0.025em;
  margin: 0 0 12px;
  font-weight: 600;
}
.em-sender-settings {
  margin: 24px 0 32px;
  padding: 24px;
  border: 1px solid var(--em-line);
  border-radius: 20px;
  background: var(--em-canvas);
  min-width: 0;
}
.em-sender-profile,
.em-sender-name {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.em-avatar {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--em-line, #deded8);
  background: #fff;
}
.em-avatar-fallback {
  display: grid;
  place-items: center;
  color: #161616;
  font-size: 23px;
  font-weight: 600;
}
.em-sender-profile > div,
.em-sender-name > span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.em-sender-profile h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
}
.em-sender-profile strong,
.em-sender-profile span:not(.em-avatar) {
  display: block;
  font-size: 13px;
  line-height: 1.7;
}
.em-sender-settings .em-inline {
  margin-bottom: 18px;
}
.em-sender-settings input[hidden] {
  display: none !important;
}
.em-inbox-setup {
  border-top: 1px solid var(--em-line);
  padding-top: 18px;
}
.em-inbox-setup summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
}
.em-inbox-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 22px 0;
}
.em-inbox-options > div {
  min-width: 0;
}
.em-inbox-options strong {
  font-size: 14px;
}
.em-inbox-options a {
  color: #161616;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.em-employee-access {
  border-top: 1px solid var(--em-line);
  margin-top: 32px;
  padding-top: 28px;
}
.em-employee-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--em-line);
}
.em-employee-identity {
  flex: 1 1 220px;
  min-width: 0;
  display: grid;
  gap: 6px;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.em-employee-identity span {
  font-size: 13px;
  color: var(--em-muted);
}
.em-employee-row .em-checkbox {
  margin: 0;
}
.em-locked-mailbox {
  max-width: 700px;
}
.em-locked-mailbox .em-badge {
  margin-bottom: 18px;
}
.em-page input[readonly] {
  background: var(--em-canvas);
  color: var(--em-muted);
}
@media (max-width: 900px) {
  .em-inbox-options {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 600px) {
  .em-sender-settings {
    padding: 18px 14px;
  }
  .em-sender-settings .em-inline {
    align-items: stretch;
    flex-direction: column;
  }
  .em-sender-settings .em-inline > button {
    width: 100%;
  }
  .em-employee-row {
    gap: 12px;
  }
  .em-employee-identity {
    flex-basis: 100%;
  }
}
.em-page p {
  color: #60605b;
  font-size: 14px;
  line-height: 1.7;
  margin: 8px 0 18px;
}
.em-page-header {
  position: static;
  width: auto;
  padding: 0;
  z-index: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0 0 26px;
}
.em-setup-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.em-setup-notice p {
  margin: 0;
  flex: 1 1 250px;
}
.em-page .wk-action-primary,
.em-review .wk-action-primary {
  background: #161616;
  color: #fff;
  border: 1px solid #161616;
  border-radius: 30px;
  min-height: 46px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 600;
}
.em-page .wk-action-primary:hover:not(:disabled),
.em-review .wk-action-primary:hover:not(:disabled) {
  background: #ff4d1f;
  color: #161616;
  border-color: #ff4d1f;
}
.em-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0 0 20px;
  margin-bottom: 28px;
  border-bottom: 1px solid #dcdcd8;
}
.em-tabs button {
  background: transparent;
  border: 1px solid transparent;
  color: #53534d;
  padding: 12px 18px;
  border-radius: 30px;
  font-size: 14px;
  min-height: 44px;
}
.em-tabs button[aria-current] {
  background: #161616;
  color: #fff;
}
.em-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.em-toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.em-toolbar > div:first-child {
  flex: 1;
  min-width: 220px;
}
.em-toolbar > .em-field {
  margin: 0 auto 0 0;
  min-width: 220px;
}
.em-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 20px;
  font-size: 13px;
  font-weight: 500;
  min-width: 0;
}
.em-page input:not([type="checkbox"]):not([type="color"]),
.em-page select,
.em-page textarea,
.account-page input {
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-width: 0;
  border: 1px solid #d3d3ce;
  background: #fff;
  color: #161616;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 15px;
  line-height: 1.5;
  min-height: 46px;
}
.em-page textarea {
  resize: vertical;
  min-height: 76px;
}
.em-page input[type="color"] {
  width: 72px;
  height: 44px;
  padding: 4px;
  border: 1px solid #d3d3ce;
  border-radius: 8px;
  background: #fff;
}
.em-page input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex: none;
  accent-color: #c53812;
}
.em-field small,
.em-help {
  font-size: 12px !important;
  color: #62625b !important;
  font-weight: 400;
  line-height: 1.65;
}
.em-help code {
  display: inline-block;
  margin: 4px;
  background: #eeeee9;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
}
.em-designer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin-top: 26px;
}
.em-editor {
  min-width: 0;
}
.em-preview {
  min-width: 0;
  position: sticky;
  top: 24px;
  background: #e7e7e2;
  border: 1px solid #d4d4cd;
  border-radius: 18px;
  padding: 16px;
}
.em-preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 13px;
}
.em-preview iframe {
  display: block;
  border: 0;
  background: #fff;
  width: 100%;
  min-height: 650px;
  border-radius: 12px;
  margin: auto;
}
.em-preview > p {
  margin: 12px 4px 0;
  font-size: 12px;
}
.em-brand-settings {
  margin: 20px 0;
  background: #eeeee9;
  border-radius: 14px;
  padding: 18px;
}
.em-brand-settings summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
}
.em-brand-settings[open] summary {
  margin-bottom: 20px;
}
.em-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 24px;
}
.em-block {
  padding: 18px;
  border: 1px solid #dcdcd8;
  background: #fff;
  border-radius: 16px;
  margin-bottom: 16px;
}
.em-block-title {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 16px;
  align-items: center;
  font-size: 14px;
}
.em-block-title > div {
  display: flex;
  gap: 4px;
}
.em-block-title button {
  background: #f2f2ee;
  color: #161616;
  border: 0;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 18px;
}
.em-block-style {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.em-block-style label {
  flex: 1;
  min-width: 80px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
}
.em-add-block,
.em-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.em-add-block select,
.em-inline > input {
  flex: 1;
  min-width: 160px;
}
.em-settings,
.em-recipients {
  background: #fff;
  border: 1px solid #deded8;
  border-radius: 20px;
  padding: 28px;
  margin-bottom: 24px;
}
.em-recipients .em-inline {
  justify-content: space-between;
  margin-bottom: 18px;
  font-size: 13px;
  color: #60605b;
}
.em-recipient-list {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
}
.em-recipient-list label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  min-width: 0;
  cursor: pointer;
  border: 1px solid #e8e8e2;
  border-radius: 12px;
}
.em-recipient-list label.is-selected {
  background: #fff5ef;
  border-color: #c53812;
}
.em-recipient-list label > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.em-recipient-list strong,
.em-recipient-list small {
  display: block;
  overflow-wrap: anywhere;
  font-size: 13px;
}
.em-recipient-list small {
  color: #62625b;
  margin-top: 4px;
}
.em-badge {
  display: inline-block;
  border: 1px solid #d4d4cd;
  border-radius: 20px;
  padding: 5px 11px;
  font-size: 12px;
  line-height: 1.5;
  color: #57574e;
  background: #f2f2ec;
  white-space: nowrap;
}
.em-badge.is-good {
  background: #e6f3e9;
  border-color: #c3ddc9;
  color: #24633b;
}
.em-checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  margin: 16px 0;
  line-height: 1.6;
  cursor: pointer;
}
.em-error,
.em-notice {
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.7;
  margin: 16px 0;
  overflow-wrap: anywhere;
}
.em-error,
.em-page .em-error {
  background: #fef0ee;
  color: #9e251b;
  border: 1px solid #efc8c2;
}
.em-notice,
.em-page .em-notice {
  background: #eeeee8;
  color: #41413b;
  border: 1px solid #dbdbd3;
}
.em-page .em-error-text {
  color: #9e251b;
  font-size: 12px;
  margin: 8px 0 0;
}
.em-deliveries article,
.security-sessions article {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid #deded8;
}
.em-deliveries article > div,
.security-sessions article > div {
  flex: 1;
  min-width: 180px;
  overflow-wrap: anywhere;
}
.em-deliveries strong,
.security-sessions strong {
  display: block;
  font-size: 15px;
  margin-bottom: 6px;
}
.em-deliveries span,
.security-sessions span {
  font-size: 13px;
}
.em-deliveries small,
.security-sessions small {
  display: block;
  color: #62625b;
  font-size: 12px;
  margin-top: 7px;
}
.em-review {
  background: #fff;
  color: #161616;
  border-radius: 20px;
  padding: 32px;
  max-width: 620px;
  width: 100%;
}
.em-review h2 {
  font-size: 28px;
  margin: 0 0 20px;
}
.em-review ul {
  max-height: 240px;
  overflow: auto;
  padding-left: 20px;
  margin: 20px 0;
}
.em-review li {
  padding: 7px 0;
  overflow-wrap: anywhere;
  font-size: 14px;
}
.em-review p {
  font-size: 14px;
  line-height: 1.6;
}
.em-review .em-inline {
  justify-content: flex-end;
}
.em-page :is(button, input, select, textarea, summary):focus-visible,
.em-review :is(button, summary):focus-visible {
  outline: 2px solid #c53812;
  outline-offset: 3px;
}
.em-section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0 0 20px;
}
.em-section-heading > div {
  flex: 1 1 240px;
  min-width: 0;
}
.em-section-heading h2 {
  margin-bottom: 6px;
}
.em-section-heading p {
  margin: 0;
  max-width: 75ch;
}
.em-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
  margin: 0;
  text-align: left;
}
.em-detail-grid > div {
  min-width: 0;
}
.em-detail-grid dt {
  color: #60605b;
  font-size: 12px;
  margin-bottom: 6px;
}
.em-detail-grid dd {
  color: #161616;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  overflow-wrap: anywhere;
}
.em-detail-grid small {
  display: block;
  font-size: 12px;
  color: #60605b;
  margin-top: 3px;
}
.em-detail-wide {
  grid-column: 1 / -1;
}
.em-sender-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 16px 24px;
  border-left: 3px solid var(--em-accent);
  padding: 8px 0 8px 20px;
  margin-bottom: 32px;
}
.em-sender-strip .em-detail-grid {
  flex: 1 1 600px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.em-text-button {
  color: #9e2d0e;
  background: transparent;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
  min-height: 44px;
  padding: 8px;
  font-size: 13px;
  cursor: pointer;
}
.em-selection-count {
  font-size: 13px;
  font-weight: 600;
  background: #fff0e8;
  color: #8b2b11;
  padding: 9px 14px;
  border-radius: 24px;
}
.em-list-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
}
.em-list-filters .em-field {
  flex: 1 1 145px;
  margin: 0;
}
.em-list-filters .em-search-field {
  flex: 2 1 250px;
}
.em-selection-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-top: 16px;
}
.em-selection-actions > span {
  font-size: 12px;
  color: #60605b;
  flex: 1 1 220px;
  line-height: 1.6;
}
.em-pagination {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 20px;
  border-top: 1px solid #deded8;
  padding-top: 18px;
  margin-top: 20px;
  font-size: 12px;
  color: #60605b;
}
.em-pagination > span {
  margin-right: auto;
}
.em-pagination label {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.em-pagination select {
  width: 80px;
  min-height: 44px;
  padding: 8px 12px;
}
.em-page-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}
.em-page-controls > span {
  margin: 0 6px;
  white-space: nowrap;
  color: #161616;
}
.em-page-controls .cms-secondary {
  min-height: 44px;
  min-width: 36px;
  padding: 4px 8px;
  font-size: 20px;
  border-radius: 10px;
}
.em-selected-review {
  margin-top: 20px;
  font-size: 13px;
}
.em-selected-review summary,
.em-delivery-details summary {
  cursor: pointer;
  min-height: 44px;
  padding: 12px 0;
  color: #45453e;
  font-size: 13px;
}
.em-selected-review ul {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 290px;
  overflow-y: auto;
}
.em-selected-review li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 8px 0;
  border-top: 1px solid #e8e8e2;
}
.em-selected-review li > span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.em-selected-review small {
  display: block;
  margin-top: 4px;
  color: #60605b;
}
.em-compose-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 24px;
  margin-top: 28px;
  border-radius: 18px;
  background: #eaeae5;
}
.em-compose-footer > div {
  flex: 1 1 350px;
  min-width: 0;
}
.em-compose-footer p {
  margin: 6px 0;
}
.em-compose-footer small {
  display: block;
  font-size: 12px;
  color: #60605b;
  line-height: 1.6;
}
.em-compose-footer .wk-action-primary {
  background: #ff4d1f;
  color: #161616;
  border-color: #ff4d1f;
}
.em-compose-footer .wk-action-primary:hover:not(:disabled) {
  background: #161616;
  color: #fff;
  border-color: #161616;
}
.em-inbox-preview {
  display: grid;
  gap: 6px;
  margin: 0 0 14px;
  padding: 16px;
  border-radius: 12px;
  background: #fff;
  overflow-wrap: anywhere;
}
.em-inbox-preview span,
.em-inbox-preview small {
  font-size: 12px;
  color: #60605b;
}
.em-inbox-preview strong {
  font-size: 15px;
  line-height: 1.5;
}
.em-history-refresh {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
  font-size: 12px;
  color: #60605b;
}
.em-history-refresh label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  cursor: pointer;
}
.em-mail-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 24px 0;
  margin: 12px 0 26px;
  border-block: 1px solid #deded8;
}
.em-mail-stats dt {
  font-size: 12px;
  color: #60605b;
  line-height: 1.5;
}
.em-mail-stats dd {
  font-family: "Clash Display", Satoshi, sans-serif;
  font-size: 36px;
  line-height: 1.2;
  margin: 8px 0 0;
}
.em-deliveries article.em-delivery-row {
  display: block;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid #deded8;
  border-radius: 16px;
  margin-top: 12px;
}
.em-deliveries .em-delivery-row > div {
  min-width: 0;
}
.em-delivery-heading {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
}
.em-delivery-heading > div {
  min-width: 0;
  overflow-wrap: anywhere;
}
.em-delivery-heading .em-badge {
  flex: none;
}
.em-delivery-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 16px;
  color: #60605b;
}
.em-delivery-meta > span {
  font-size: 12px;
}
.em-delivery-details {
  margin-top: 8px;
}
.em-delivery-details .em-detail-grid {
  border-top: 1px solid #e8e8e2;
  padding: 16px 0;
}
.em-delivery-details + button {
  margin-top: 12px;
}
.em-badge.em-status-sent {
  background: #e6f3e9;
  border-color: #c3ddc9;
  color: #24633b;
}
.em-badge:is(.em-status-failed, .em-status-uncertain) {
  background: #fef0ee;
  border-color: #efc8c2;
  color: #9e251b;
}
.em-badge:is(.em-status-queued, .em-status-sending) {
  background: #fff2da;
  border-color: #e9d6ac;
  color: #76500e;
}
.em-empty {
  padding: 28px 16px;
  grid-column: 1 / -1;
  text-align: center;
}
.em-empty p {
  margin-bottom: 0;
}
.sec-monitor {
  --sec-ink: #171717;
  --sec-muted: #626262;
  --sec-line: #dedede;
  color: var(--sec-ink);
  margin-bottom: 28px;
}
.sec-heading,
.sec-scope,
.sec-event-heading,
.sec-pagination,
.sec-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.sec-heading h2 {
  margin: 0 0 6px;
}
.sec-heading p,
.sec-monitor p {
  max-width: 78ch;
}
.sec-scope {
  justify-content: flex-start;
  margin: 24px 0;
}
.sec-scope .em-field {
  margin: 0;
  min-width: 180px;
}
.sec-scope > button {
  align-self: flex-end;
}
.sec-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--sec-line);
  border-radius: 18px;
  overflow: hidden;
  margin: 22px 0;
}
.sec-metrics > div {
  padding: 20px 16px;
  border-right: 1px solid var(--sec-line);
}
.sec-metrics > div:last-child {
  border: 0;
}
.sec-metrics dt {
  font-size: 12px;
  color: var(--sec-muted);
  line-height: 1.5;
}
.sec-metrics dd {
  margin: 8px 0 0;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.04em;
}
.sec-tabs {
  display: flex;
  flex-wrap: wrap;
  padding: 6px;
  background: #111;
  border-radius: 18px;
  gap: 4px;
  margin: 24px 0;
}
.sec-tabs button {
  border: 0;
  border-radius: 12px;
  padding: 12px 20px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.sec-tabs button[aria-current] {
  background: #f4f4f4;
  color: #111;
}
.sec-tabs button[aria-current]::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff4d24;
  margin-right: 8px;
  vertical-align: middle;
}
.sec-filters {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.sec-filters .em-field {
  margin: 0;
  min-width: 140px;
  flex: 1;
}
.sec-filters .sec-search {
  flex: 2;
  min-width: 220px;
}
.sec-filters .em-checkbox {
  align-self: center;
}
.sec-results {
  min-height: 160px;
}
.sec-location {
  margin-block: 24px;
  padding: 24px;
  background: #fff;
  border: 1px solid #dedede;
  border-radius: 18px;
  color: #171717;
  min-width: 0;
}
.sec-location.is-embedded {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
}
.sec-location-heading {
  position: static;
  width: auto;
  padding: 0;
  z-index: auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 24px;
}
.sec-location-heading > div { flex: 1 1 320px; min-width: 0; }
.sec-location .sec-location-title {
  margin: 0 0 8px;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.025em;
}
.sec-location-heading p {
  color: #626262;
  font-size: 13px;
  line-height: 1.7;
  max-width: 78ch;
  margin: 0;
}
.sec-location .sec-location-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #dedede;
  border-radius: 999px;
  background: #fff;
  color: #171717;
  font: 500 12px/1.5 Satoshi, Arial, sans-serif;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  overflow-wrap: anywhere;
}
.sec-location .sec-location-button:hover:not(:disabled) { background: #f5f5f5; border-color: #171717; }
.sec-location .sec-location-button:disabled { cursor: not-allowed; opacity: 0.55; }
.sec-location :is(button, a, ol):focus-visible { outline: 2px solid #b8320e; outline-offset: 3px; }
.sec-location-list {
  margin: 0;
  padding: 0 12px 0 0;
  list-style: none;
  max-height: 440px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #b7b7b7 transparent;
  overscroll-behavior: contain;
}
.sec-location-list > li {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  position: relative;
  padding: 20px 0 20px 26px;
  margin: 0 0 0 6px;
  border-left: 1px solid #dedede;
  border-bottom: 1px solid #eeeeec;
  font-size: 13px;
  line-height: 1.6;
}
.sec-location-list > li::before {
  content: "";
  position: absolute;
  top: 27px;
  left: -5px;
  width: 9px;
  height: 9px;
  background: #ff4d1f;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #ff4d1f;
}
.sec-location-list time { display: grid; gap: 4px; flex: 0 0 132px; align-self: flex-start; }
.sec-location-list time strong { font-weight: 500; }
.sec-location-list time span { color: #626262; font-size: 12px; }
.sec-location-point { flex: 1 1 220px; min-width: 0; overflow-wrap: anywhere; }
.sec-location-device { display: block; font-weight: 600; }
.sec-location-point dl { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 9px 0 0; }
.sec-location-point dt { color: #626262; font-size: 11px; }
.sec-location-point dd { margin: 2px 0 0; font-size: 12px; font-variant-numeric: tabular-nums; }
.sec-location .sec-location-map { color: #a82d0d; background: #fff7f3; border-color: #f1d5ca; }
.sec-location-map span { flex: none; font-size: 16px; }
.sec-location .sec-location-state {
  margin: 0;
  padding: 32px 20px;
  max-width: none;
  background: #f6f6f5;
  border: 1px dashed #d5d5d2;
  border-radius: 12px;
  color: #626262;
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}
.sec-location .sec-location-state.is-error { color: #a82d0d; background: #fff4ef; border-color: #e8b7a6; }
.sec-location-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 18px;
  margin-top: 20px;
  border-top: 1px solid #dedede;
  font-size: 12px;
  color: #626262;
}
.sec-location-pagination > div { display: flex; gap: 8px; }
@media (max-width: 600px) {
  .sec-location { padding: 18px; }
  .sec-location-list { max-height: 480px; }
  .sec-location-list > li { padding-left: 18px; gap: 12px; }
  .sec-location-list time { flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
  .sec-location-point { flex-basis: 100%; }
  .sec-location .sec-location-map { max-width: 100%; }
  .sec-location-pagination > div { flex-wrap: wrap; }
}
.sec-session-list > article {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  border-top: 1px solid var(--sec-line);
  padding: 24px 0;
}
.sec-device-icon {
  color: #202020;
  width: 52px;
  height: 52px;
  padding: 10px;
  background: #f1f1f1;
  border-radius: 16px;
  flex: 0 0 auto;
}
.sec-session-main {
  flex: 1;
  min-width: 0;
}
.sec-session-main h3,
.sec-detail-heading h3 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}
.sec-session-main p {
  margin: 6px 0 0;
  overflow-wrap: anywhere;
  font-size: 13px;
  color: var(--sec-muted);
}
.sec-session-main .sec-account {
  color: #202020;
}
.sec-row-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}
.sec-text-button {
  appearance: none;
  border: 0;
  padding: 6px 0;
  background: transparent;
  color: #252525;
  font: inherit;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.sec-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.sec-flags span,
.sec-severity {
  display: inline-block;
  color: #71331d;
  background: #fff0e9;
  padding: 5px 9px;
  border-radius: 8px;
  font-size: 11px;
  line-height: 1.4;
}
.sec-severity.is-info {
  background: #ededed;
  color: #444;
}
.sec-severity.is-critical {
  background: #fde5e5;
  color: #891d1d;
}
.sec-event-list > article {
  padding: 20px 0;
  border-top: 1px solid #dedede;
  overflow-wrap: anywhere;
}
.sec-event-list p {
  margin: 7px 0;
  color: #626262;
  font-size: 13px;
}
.sec-event-list footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 12px;
}
.sec-event-list time {
  color: #626262;
  font-size: 12px;
}
.sec-empty {
  text-align: center;
  padding: 40px 12px;
  color: #626262;
}
.sec-pagination {
  padding: 20px 0;
  border-top: 1px solid #dedede;
  font-size: 12px;
  color: #626262;
}
.sec-pagination > div,
.sec-detail-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.sec-detail-actions > button {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}
.sec-bottom {
  border-top: 1px solid #dedede;
  padding-top: 20px;
}
.sec-bottom p {
  flex: 1;
  min-width: 220px;
}
.sec-threats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 28px 0;
}
.sec-threats section {
  min-width: 0;
  background: #f5f5f5;
  border-radius: 16px;
  padding: 20px;
}
.sec-threats h3 {
  margin: 0 0 16px;
  font-size: 16px;
}
.sec-threat-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 12px 0;
  border-top: 1px solid #ddd;
  overflow-wrap: anywhere;
  font-size: 12px;
}
.sec-dialog {
  margin: auto;
  width: min(780px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 1px solid #333;
  border-radius: 24px;
  background: #fff;
  color: #171717;
  box-shadow: 0 20px 80px #0004;
  overflow-y: auto;
}
.sec-dialog::backdrop {
  background: #0008;
  backdrop-filter: blur(6px);
}
.sec-dialog > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px;
  background: #111;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1;
}
.sec-dialog > header h2 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.04em;
}
.sec-dialog > header .cms-secondary {
  background: #fff;
  color: #171717;
  border-color: #fff;
}
.sec-dialog-body {
  padding: 28px;
}
.sec-dialog-body h3 {
  margin: 28px 0 14px;
  font-size: 18px;
}
.sec-detail-heading {
  display: flex;
  gap: 16px;
  align-items: center;
}
.sec-detail-heading h3 {
  margin: 0;
  font-size: 26px;
}
.sec-detail-heading p {
  margin: 7px 0;
  color: #626262;
}
.sec-rename {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin: 24px 0;
}
.sec-rename .em-field {
  flex: 1;
  margin: 0;
  min-width: 0;
}
.sec-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
  margin: 18px 0 28px;
}
.sec-detail-grid dt {
  font-size: 12px;
  color: #626262;
  margin-bottom: 5px;
}
.sec-detail-grid dd {
  font-size: 14px;
  color: #171717;
  margin: 0;
  overflow-wrap: anywhere;
}
.sec-timeline {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}
.sec-timeline li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-left: 2px solid #ff4d24;
  padding: 4px 0 18px 16px;
  overflow-wrap: anywhere;
  font-size: 13px;
}
.sec-timeline time {
  color: #626262;
  font-size: 12px;
}
.sec-monitor button:focus-visible,
.sec-dialog button:focus-visible {
  outline: 3px solid #bb3516;
  outline-offset: 3px;
}
.sec-monitor button:disabled,
.sec-dialog button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
.sec-metrics > div:nth-child(-n + 4) {
  border-bottom: 1px solid #dedede;
}
.sec-metrics > div:nth-child(4n) {
  border-right: 0;
}
@media (max-width: 600px) {
  .sec-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sec-metrics > div {
    padding: 16px 12px;
    border-bottom: 1px solid #dedede;
  }
  .sec-metrics > div:nth-child(2n) {
    border-right: 0;
  }
  .sec-metrics > div:nth-child(n + 7) {
    border-bottom: 0;
  }
  .sec-tabs button {
    flex: 1 1 40%;
    padding: 12px 8px;
  }
  .sec-filters .em-field,
  .sec-filters .sec-search {
    min-width: 0;
    flex-basis: 100%;
  }
  .sec-session-list > article {
    flex-wrap: wrap;
    gap: 12px;
  }
  .sec-device-icon {
    width: 42px;
    height: 42px;
    padding: 8px;
  }
  .sec-session-main {
    flex-basis: calc(100% - 58px);
  }
  .sec-event-heading {
    align-items: flex-start;
    gap: 8px;
  }
  .sec-row-actions {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .sec-row-actions > * {
    flex: 1;
  }
  .sec-threats {
    grid-template-columns: 1fr;
  }
  .sec-dialog {
    width: calc(100vw - 16px);
    max-height: calc(100dvh - 16px);
    border-radius: 18px;
  }
  .sec-dialog > header {
    padding: 18px;
  }
  .sec-dialog > header h2 {
    font-size: 21px;
  }
  .sec-dialog-body {
    padding: 18px;
  }
  .sec-detail-grid {
    grid-template-columns: 1fr;
  }
  .sec-rename {
    flex-wrap: wrap;
  }
  .sec-rename .em-field {
    flex-basis: 100%;
  }
}
.security-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.security-grid .em-settings {
  min-width: 0;
}
.security-grid h2:not(:first-child) {
  margin-top: 36px;
}
.security-events article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid #deded8;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.security-events time {
  color: #62625b;
  font-size: 12px;
}
.security-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
  gap: 14px 22px;
  margin: 18px 0;
  max-width: 780px;
}
.security-details dt {
  color: #62625b;
  font-size: 12px;
  margin-bottom: 4px;
}
.security-details dd {
  margin: 0;
  color: #161616;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.security-event-context {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.security-event-context span:not(:first-child) {
  color: #62625b;
  font-size: 12px;
}
.account-page {
  background: #f5f5f5;
  color: #161616;
  color-scheme: light;
  min-height: 100dvh;
  padding: 40px 24px 80px;
  font-family: Satoshi, Arial, sans-serif;
}
.account-brand {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: #161616;
  width: max-content;
  margin: 0 auto 40px;
  font-weight: 600;
}
.account-brand img {
  border-radius: 50%;
  background: #0a0a0a;
}
.account-brand small {
  display: block;
  font-size: 11px;
  font-weight: 400;
}
.account-card {
  max-width: 520px;
  margin: auto;
  padding: 36px;
  background: #fff;
  border: 1px solid #deded8;
  border-radius: 28px;
}
.account-card > p {
  font-size: 14px;
  color: #60605b;
  line-height: 1.7;
  margin: 0 0 28px;
}
.account-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ff4d1f;
  color: #111;
  font-size: 26px;
  margin-bottom: 28px;
}
.account-submit {
  background: #161616;
  color: #fff;
  border: 0;
  border-radius: 30px;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 22px;
  width: 100%;
  margin-top: 24px;
  font-size: 14px;
  cursor: pointer;
}
.account-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
  font-size: 13px;
}
.account-links a,
.login-help-link {
  color: #a12f10;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 13px;
}
.login-help-link {
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  padding: 8px 0;
}
.login-assistance .login-help-link {
  margin-top: 24px;
}
.account-page :is(a, button, input):focus-visible {
  outline: 2px solid #c53812;
  outline-offset: 3px;
}
.em-page button:disabled,
.em-review button:disabled,
.account-page button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
@media (max-width: 1200px) {
  .em-designer {
    grid-template-columns: 1fr;
  }
  .em-preview {
    position: static;
  }
  .em-preview iframe {
    min-height: 600px;
  }
}
@media (max-width: 700px) {
  .em-sender-strip .em-detail-grid,
  .em-detail-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .em-mail-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
  .em-sender-strip {
    padding-left: 14px;
  }
  .em-delivery-heading {
    flex-wrap: wrap;
  }
  .em-deliveries article.em-delivery-row {
    padding: 18px 16px;
  }
  .em-compose-footer {
    padding: 20px 16px;
  }
  .em-compose-footer > button {
    width: 100%;
  }
  .em-pagination > span {
    flex-basis: 100%;
  }
  .em-page-controls {
    flex-wrap: wrap;
  }
  .em-recipient-list label {
    gap: 8px;
    padding: 12px 8px;
  }
  .em-recipient-list .em-badge {
    font-size: 11px;
    padding: 4px 7px;
  }
  .em-page {
    padding: 26px 16px 56px;
  }
  .em-page-header {
    gap: 12px;
  }
  .em-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  .em-tabs button {
    padding: 10px 8px;
    font-size: 13px;
  }
  .em-toolbar > .em-field {
    width: 100%;
  }
  .em-toolbar > button {
    flex: 1;
  }
  .em-form-grid,
  .security-grid,
  .em-recipient-list {
    grid-template-columns: 1fr;
  }
  .em-settings,
  .em-recipients {
    padding: 20px 16px;
  }
  .em-preview {
    padding: 10px;
  }
  .em-block {
    padding: 16px 12px;
  }
  .em-block-title button {
    width: 36px;
    height: 36px;
  }
  .security-events article {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .em-review {
    padding: 24px 20px;
  }
  .em-review .em-inline button {
    width: 100%;
  }
  .account-page {
    padding: 26px 16px 50px;
  }
  .account-card {
    padding: 28px 22px;
    border-radius: 22px;
  }
  .account-card h1 {
    font-size: 32px;
  }
}
.fp-details {
  color: #171717;
  background: #f6f5f2;
  border: 1px solid #d8d6d1;
  border-radius: 18px;
  padding: 20px;
  margin: 20px 0;
  min-width: 0;
}
.fp-details h3 {
  margin: 0 0 12px;
}
.fp-details p {
  color: #55514b;
  font-size: 13px;
  line-height: 1.65;
}
.fp-details dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.fp-details dl > div {
  min-width: 0;
}
.fp-details dt {
  color: #605b54;
  font-size: 12px;
  margin-bottom: 4px;
}
.fp-details dd,
.fp-key {
  overflow-wrap: anywhere;
  font-size: 12px;
  font-family: ui-monospace, monospace;
  margin: 0;
}
.fp-details ul,
.fp-matches {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  display: grid;
  gap: 10px;
}
.fp-details li,
.fp-matches li {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #d8d6d1;
  padding: 10px 0;
  font-size: 13px;
}
.fp-matches li > div {
  display: grid;
  gap: 5px;
  min-width: 0;
  overflow-wrap: anywhere;
}
@media (max-width: 480px) {
  .fp-details {
    padding: 14px;
  }
  .fp-details dl {
    grid-template-columns: minmax(0, 1fr);
  }
}
