:root {
  font:
    15px/1.65 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    sans-serif;
  color: #192b3a;
  background: #f6f8f7;
  font-synthesis: none;
  --muted: #657574;
  --line: #dce4e1;
  --accent: #176c61;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #5ba694;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
.site-header {
  max-width: 1360px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 48px;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  font-size: 21px;
  letter-spacing: 0.13em;
  font-weight: 750;
  white-space: nowrap;
}
.wordmark span {
  font-size: 10px;
  letter-spacing: 0.18em;
  font-weight: 500;
  border-left: 1px solid #b5c5c0;
  padding-left: 13px;
  margin-left: 8px;
  color: #657574;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 27px;
  font-size: 12px;
}
.edition {
  color: #657574;
}
.text-button {
  background: transparent;
  border: 0;
  padding: 8px 0;
  color: var(--accent);
  text-align: left;
}
.operator-link {
  border-left: 1px solid var(--line);
  padding-left: 24px;
}
.subscribe-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 62px 48px 50px;
}
.subscribe-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 90px;
  align-items: start;
}
.intro {
  padding: 34px 0;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.2em;
  font-weight: 650;
  color: #5c7770;
  margin: 0 0 30px;
}
h1 {
  font-size: clamp(36px, 5.4vw, 66px);
  line-height: 1.25;
  letter-spacing: -0.04em;
  font-weight: 650;
  margin: 0 0 28px;
}
h1 span {
  color: #73988a;
}
.intro-copy {
  font-size: 17px;
  line-height: 2;
  color: #657574;
  margin: 0;
}
.letter-mark {
  width: 195px;
  margin: 40px 0 29px;
  transform: rotate(-7deg);
  color: #7b9e91;
}
.letter-mark svg {
  display: block;
  width: 175px;
  height: 105px;
  stroke-width: 1.2;
}
.letter-mark span {
  font-size: 8px;
  letter-spacing: 0.18em;
  display: block;
  text-align: center;
  margin-top: 10px;
}
.intro-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #657574;
}
.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 100%;
  background: #6c9b87;
}
.signup-panel {
  background: white;
  border: 1px solid #dce5e1;
  border-radius: 20px;
  padding: 30px 34px;
  box-shadow: 0 12px 70px #284b3b07;
}
.panel-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: 0.16em;
  color: #81938b;
}
.small-star {
  font-size: 20px;
  color: #628d7b;
}
.signup-panel h2 {
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 25px 0 8px;
}
.muted {
  color: var(--muted);
  font-size: 13px;
}
.panel-note {
  border-top: 1px solid #e4ebe7;
  padding-top: 18px;
  color: #738179;
  font-size: 11px;
  margin-top: 20px;
}
.preferences-button {
  font-size: 12px;
}
.site-footer {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  max-width: 1264px;
  padding: 25px 48px;
  margin: auto;
  font-size: 10px;
  letter-spacing: 0.03em;
  color: #74847e;
}
.footer-separator {
  padding: 0 12px;
  color: #b4c3bb;
}
.dev-banner {
  background: #fff3d6;
  color: #70521a;
  padding: 12px 18px;
  border: 1px solid #e9d7a7;
  border-radius: 8px;
  font-size: 12px;
  margin-bottom: 25px;
}
.result-banner {
  padding: 20px 25px;
  background: #e4f0e9;
  border: 1px solid #bdd5c5;
  border-radius: 12px;
  margin-bottom: 30px;
}
.result-banner p {
  margin-bottom: 0;
}
.dev-mailbox {
  padding: 25px;
  margin-top: 35px;
  background: #fff;
  border: 1px dashed #c3d5ca;
  border-radius: 12px;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.section-title h2 {
  font-size: 18px;
  margin: 0;
}
#mailbox-items article {
  display: grid;
  gap: 4px;
  padding: 15px 0;
  border-top: 1px solid #e6ece8;
}
#mailbox-items a {
  color: var(--accent);
  font-size: 13px;
}
#mailbox-items small {
  color: var(--muted);
}
.flow-page {
  max-width: 620px;
  margin: 10vh auto;
  padding: 25px;
}
.flow-page h1 {
  font-size: 34px;
  margin-top: 45px;
}
.flow-page form {
  display: grid;
  gap: 20px;
  margin-top: 30px;
}
.flow-page button,
.primary-button {
  background: #173e39;
  color: white;
  border: 0;
  border-radius: 8px;
  padding: 12px 19px;
  font-weight: 600;
}
.flow-page fieldset {
  border: 1px solid var(--line);
  border-radius: 10px;
  display: grid;
  gap: 14px;
  padding: 18px;
}
.flow-page select {
  margin-left: 20px;
}
.admin-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  background: #17302b;
  color: #d8e5dc;
  padding: 32px 22px;
  display: flex;
  flex-direction: column;
}
.sidebar .wordmark {
  font-size: 18px;
}
.sidebar .wordmark span {
  color: #b1c9bb;
  border-color: #567364;
}
.sidebar-subtitle {
  font-size: 10px;
  color: #8caa99;
  margin: 12px 0 40px;
  letter-spacing: 0.15em;
}
.sidebar nav {
  display: grid;
  gap: 8px;
}
.sidebar nav button {
  color: #b4cabc;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 13px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.sidebar nav button:hover,
.sidebar nav button.active {
  background: #2d493c;
  color: white;
}
.nav-symbol {
  width: 18px;
  text-align: center;
  font-size: 16px;
  color: #7f9e8d;
}
.sidebar-footer {
  margin-top: auto;
  font-size: 10px;
  color: #91ab9b;
  padding-top: 30px;
}
.admin-content {
  padding: 32px 40px;
  min-width: 0;
  max-width: 1500px;
  width: 100%;
  margin: auto;
}
.admin-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 25px;
}
.breadcrumb {
  font-size: 12px;
  color: var(--muted);
}
.operator-chip {
  font-size: 11px;
  background: #e7eeea;
  border: 1px solid #d3ded6;
  border-radius: 100px;
  padding: 7px 12px;
}
.admin-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 34px 0 24px;
}
.admin-heading h1 {
  font-size: 29px;
  margin: 0;
  letter-spacing: -0.025em;
}
.admin-heading p {
  margin: 5px 0 0;
  font-size: 12px;
  color: var(--muted);
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.metric {
  background: #fff;
  border: 1px solid #e1e8e2;
  border-radius: 12px;
  padding: 20px;
}
.metric small {
  color: #738578;
  font-size: 11px;
}
.metric strong {
  display: block;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.4;
  margin-top: 10px;
  letter-spacing: -0.04em;
}
.metric span {
  font-size: 10px;
  color: #789083;
}
.workspace-section {
  margin-top: 28px;
  padding: 24px;
  background: #fff;
  border: 1px solid #e1e8e2;
  border-radius: 12px;
  min-width: 0;
}
.workspace-section h2 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
}
.workspace-section p {
  font-size: 12px;
  color: var(--muted);
}
.empty-state {
  padding: 38px 15px;
  text-align: center;
  color: #7e8b83;
  font-size: 13px;
}
.empty-state strong {
  display: block;
  font-weight: 500;
  color: #405c4c;
  font-size: 16px;
  margin-bottom: 7px;
}
.table-wrap {
  overflow: auto;
  width: 100%;
  margin-top: 18px;
}
table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
  font-size: 12px;
}
th {
  text-align: left;
  font-size: 10px;
  color: #86948a;
  font-weight: 500;
  letter-spacing: 0.04em;
}
td,
th {
  padding: 13px 10px;
  border-bottom: 1px solid #edf1ed;
}
td:first-child,
th:first-child {
  padding-left: 0;
}
.status {
  display: inline-block;
  border-radius: 100px;
  padding: 3px 8px;
  background: #edf2ee;
  color: #637c6c;
  font-size: 10px;
}
.status.active,
.status.accepted,
.status.completed {
  background: #e5f2e9;
  color: #287547;
}
.status.pending,
.status.unknown {
  background: #fcf1d5;
  color: #8b6824;
}
.status.failed,
.status.complained {
  background: #fbe9e5;
  color: #a64c40;
}
.secondary-button {
  background: white;
  color: #365b45;
  border: 1px solid #d6e0d8;
  padding: 9px 14px;
  border-radius: 7px;
  font-size: 12px;
}
.danger-button {
  background: #fff1ec;
  color: #a54331;
  border: 1px solid #efc6b9;
  padding: 9px 14px;
  border-radius: 7px;
  font-size: 12px;
}
.inline-actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  align-items: center;
}
.admin-status {
  min-height: 25px;
  font-size: 12px;
  color: #386c4a;
  margin: 14px 0;
}
.admin-status.error {
  color: #ac4838;
}
.login-panel {
  max-width: 520px;
  margin: 12vh auto;
  background: #fff;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 15px;
}
.login-panel h1 {
  font-size: 30px;
  margin: 22px 0 14px;
}
.login-panel a,
.login-panel button {
  display: block;
  margin-top: 20px;
}
.editor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.editor-form {
  display: grid;
  gap: 16px;
}
.editor-form label {
  display: grid;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
}
.editor-form input,
.editor-form textarea,
.editor-form select,
.search-input {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #d4dfd7;
  border-radius: 7px;
  background: #fbfdfb;
  color: #25402e;
}
.editor-form textarea {
  min-height: 180px;
  resize: vertical;
}
.preview-frame {
  width: 100%;
  height: 400px;
  border: 1px solid #e0e7e1;
  border-radius: 8px;
  background: white;
}
.setting-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 0;
  border-bottom: 1px solid #edf1ed;
  font-size: 12px;
}
.setting-row span:last-child {
  color: var(--muted);
  overflow-wrap: anywhere;
}
.integration-code {
  display: block;
  white-space: pre-wrap;
  word-break: break-all;
  font:
    11px/1.6 ui-monospace,
    monospace;
  background: #f2f6f2;
  padding: 18px;
  border-radius: 8px;
}
.search-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
}
.search-input {
  max-width: 360px;
}
.campaign-row-button {
  border: 0;
  background: transparent;
  color: #176c61;
  font-size: 12px;
  padding: 0;
}
@media (max-width: 900px) {
  .subscribe-layout {
    gap: 35px;
  }
  .subscribe-main {
    padding: 40px 30px;
  }
  .site-header {
    padding: 24px 30px;
  }
  .edition {
    display: none;
  }
  .admin-shell {
    grid-template-columns: 175px minmax(0, 1fr);
  }
  .sidebar {
    padding: 28px 15px;
  }
  .admin-content {
    padding: 25px;
  }
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .editor-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 650px) {
  .site-header {
    padding: 22px 20px;
  }
  .header-right {
    gap: 16px;
  }
  .operator-link {
    padding-left: 15px;
    font-size: 10px;
  }
  .wordmark {
    font-size: 17px;
  }
  .wordmark span {
    font-size: 8px;
    padding-left: 9px;
    margin-left: 4px;
  }
  .subscribe-main {
    padding: 28px 20px;
  }
  .subscribe-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .intro {
    padding: 10px 0;
  }
  .eyebrow {
    font-size: 8px;
    margin-bottom: 20px;
  }
  .intro h1 {
    font-size: 42px;
  }
  .intro-copy {
    font-size: 15px;
  }
  .letter-mark {
    display: none;
  }
  .intro-foot {
    margin-top: 25px;
  }
  .signup-panel {
    padding: 24px 21px;
    border-radius: 15px;
  }
  .signup-panel h2 {
    font-size: 25px;
  }
  .site-footer {
    padding: 22px 20px;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 9px;
  }
  .footer-separator {
    padding: 0 6px;
  }
  .admin-shell {
    display: block;
  }
  .sidebar {
    padding: 17px 18px;
  }
  .sidebar-subtitle,
  .sidebar-footer {
    display: none;
  }
  .sidebar nav {
    display: flex;
    overflow: auto;
    margin-top: 17px;
    gap: 5px;
  }
  .sidebar nav button {
    flex: none;
    padding: 9px;
    font-size: 11px;
  }
  .nav-symbol {
    display: none;
  }
  .admin-content {
    padding: 20px 16px;
  }
  .admin-heading {
    align-items: flex-start;
  }
  .admin-heading h1 {
    font-size: 25px;
  }
  .metrics {
    gap: 10px;
  }
  .metric {
    padding: 15px;
  }
  .metric strong {
    font-size: 28px;
  }
  .workspace-section {
    padding: 18px;
  }
  .admin-top {
    padding-bottom: 16px;
  }
  .operator-chip {
    font-size: 9px;
  }
  .login-panel {
    margin: 35px 12px;
    padding: 25px;
  }
  .setting-row {
    flex-direction: column;
    gap: 5px;
  }
  .primary-button {
    padding: 10px 12px;
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}
.operator-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
}
.send-confirmation {
  border: 1px solid #d8e3df;
  border-radius: 18px;
  padding: 28px;
  width: min(440px, calc(100% - 32px));
  color: #173c32;
  background: #fff;
}
.send-confirmation::backdrop {
  background: rgba(12, 37, 30, 0.4);
}
.send-confirmation h2 {
  margin-top: 0;
  font-size: 22px;
}
.send-confirmation p {
  line-height: 1.7;
}
