:root {
  font-family:
    Inter, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
    "Noto Sans KR", sans-serif;
  color: #20251f;
  background: #f5f6f2;
  font-synthesis: none;
  font-size: 14px;
  --muted: #60695b;
  --line: #e1e5dc;
  --accent: #c9f38a;
  --dark: #19221b;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 32px;
  letter-spacing: -1px;
  font-weight: 650;
}
h2 {
  font-size: 24px;
  letter-spacing: -0.6px;
}
h3 {
  font-size: 16px;
  font-weight: 600;
}
p {
  line-height: 1.7;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.4px;
  font-weight: 650;
  color: var(--muted);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 30px;
  letter-spacing: -1.5px;
  font-weight: 700;
}
.brand-dot {
  color: var(--accent);
  margin-left: -10px;
}
.brand-icon {
  font-size: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background: var(--accent);
  color: var(--dark);
  border-radius: 10px;
  letter-spacing: 0;
}
.login-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}
.login-brand {
  padding: 48px 64px;
  background: var(--dark);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
}
.brand-copy {
  padding: 75px 0;
}
.brand-copy .eyebrow {
  color: #a5bba2;
}
.brand-copy h1 {
  font-size: 54px;
  line-height: 1.25;
  margin: 23px 0;
}
.brand-copy p {
  color: #b6c3b3;
  font-size: 16px;
}
.login-brand small {
  color: #82947e;
}
.flow-visual {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 60px;
}
.flow-visual span {
  border: 1px solid #40523d;
  border-radius: 12px;
  padding: 16px 20px;
}
.flow-visual b {
  color: #6d8165;
  font-size: 20px;
}
.flow-visual .flow-relay {
  background: var(--accent);
  color: var(--dark);
  border: 0;
  font-weight: 650;
}
.login-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.login-card {
  max-width: 390px;
  width: 100%;
}
.login-card h2 {
  margin: 18px 0 12px;
}
.login-card form {
  margin: 34px 0;
}
.login-links {
  display: flex;
  gap: 25px;
  font-size: 12px;
  color: var(--muted);
}
label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin: 16px 0 8px;
}
input,
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #dbe0d6;
  background: white;
  border-radius: 8px;
  color: inherit;
}
input:focus,
select:focus,
textarea:focus {
  border-color: #6f975b;
  outline: 2px solid #c9f38a66;
}
textarea {
  resize: vertical;
  min-height: 80px;
}
.hint {
  font-size: 11px;
  color: var(--muted);
  margin: 9px 0 22px;
  line-height: 1.7;
}
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
}
.primary,
.secondary,
.danger,
.quiet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 8px;
  padding: 11px 17px;
  font-weight: 550;
  border: 1px solid transparent;
  font-size: 13px;
  min-height: 44px;
}
.primary {
  background: var(--dark);
  color: white;
}
.primary:hover {
  background: #30432d;
}
.secondary {
  background: white;
  border-color: var(--line);
  color: #414b3a;
}
.secondary:hover {
  background: #eef1e8;
}
.danger {
  background: #fff0ed;
  color: #a34233;
  border-color: #f0d3ce;
}
.quiet {
  background: #edf2e5;
  color: #415433;
}
.wide {
  width: 100%;
  justify-content: space-between;
}
.error {
  color: #b34a3b;
  font-size: 12px;
  margin-top: 12px;
}
.workspace {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: 100vh;
}
.workspace[hidden],
.login-wrap[hidden],
:root [hidden] {
  display: none;
}
.sidebar {
  background: var(--dark);
  color: #c0cbbc;
  padding: 32px 22px;
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0 auto 0 0;
  width: 250px;
  overflow-y: auto;
}
.sidebar .brand {
  color: white;
  margin: 0 11px 26px;
}
.workspace-label {
  font-size: 12px;
  letter-spacing: 0;
  color: #b0beaa;
  display: flex;
  justify-content: space-between;
  padding: 0 12px;
  margin-bottom: 15px;
}
.workspace-label > span:not(#workspace-role) {
  font-size: 8px;
  border: 1px solid #45513d;
  border-radius: 4px;
  padding: 2px 5px;
}
.sidebar nav {
  display: grid;
  gap: 5px;
}
.nav {
  border: 0;
  background: transparent;
  color: #c4d0be;
  padding: 13px 15px;
  text-align: left;
  border-radius: 8px;
  font-size: 14px;
  min-height: 46px;
}
.nav span[aria-hidden="true"] {
  display: inline-block;
  width: 27px;
  font-size: 18px;
  vertical-align: middle;
}
.nav.active {
  background: #30412b;
  color: #d3efb9;
}
.nav:hover {
  background: #283425;
  color: white;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 18px 12px 0;
  border-top: 1px solid #354031;
}
.service-status {
  font-size: 11px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #b7e87d;
  border-radius: 50%;
}
.sidebar-bottom p {
  font-size: 10px;
  color: #85957b;
  margin: 9px 0 20px;
}
.logout {
  background: none;
  border: 0;
  color: #a7b59c;
  font-size: 11px;
  padding: 0;
}
.workspace main {
  grid-column: 2;
  min-width: 0;
}
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffffaa;
  border-bottom: 1px solid var(--line);
  padding: 20px 36px;
  height: 78px;
}
.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  gap: 16px;
  align-items: center;
}
.breadcrumb strong {
  font-weight: 500;
  color: #49543f;
}
.header-right {
  display: flex;
  gap: 18px;
  align-items: center;
}
.pill,
.badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 6px;
  font-size: 10px;
  border: 1px solid var(--line);
  background: #f7f8f4;
  color: #697460;
  white-space: nowrap;
}
.pill {
  font-size: 9px;
  letter-spacing: 1px;
}
.avatar {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e6ecdf;
  color: #657658;
  font-size: 10px;
  font-weight: 700;
}
.main-content {
  padding: 37px 36px;
  max-width: 1500px;
  margin: auto;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 31px;
}
.page-heading h1 {
  margin: 10px 0;
}
.page-heading p {
  font-size: 14px;
}
.page-heading .secondary {
  white-space: nowrap;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}
.card {
  border: 1px solid var(--line);
  background: white;
  border-radius: 12px;
  padding: 22px;
}
.metric-label {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
}
.metric {
  font-size: 35px;
  letter-spacing: -1px;
  margin: 18px 0 4px;
}
.card p {
  font-size: 11px;
  color: var(--muted);
}
.card-tint {
  background: #edf4e3;
}
.panel {
  border: 1px solid var(--line);
  background: white;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
}
.panel-head {
  padding: 23px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}
.panel-head p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
}
.toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
}
.toolbar select {
  max-width: 250px;
  font-size: 12px;
  padding: 9px 12px;
}
.table-wrap {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
}
th {
  text-align: left;
  background: #fafbf7;
  color: #60695b;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3px;
  padding: 13px 24px;
  white-space: nowrap;
}
td {
  border-top: 1px solid #edf0e7;
  padding: 20px 24px;
  vertical-align: middle;
}
td :where(small) {
  display: block;
  color: #8a9580;
  font-size: 10px;
  margin-top: 7px;
}
td .actions {
  display: flex;
  gap: 7px;
}
.project-mark {
  display: inline-flex;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #eef3e7;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-right: 11px;
  vertical-align: middle;
  color: #607449;
}
.badge.active,
.badge.ready,
.badge.delivered,
.badge.simulated {
  background: #edf7e6;
  color: #4b7940;
  border-color: #dceacc;
}
.badge.pending,
.badge.queued {
  background: #fff8e5;
  color: #947438;
  border-color: #eee2ba;
}
.badge.failed,
.badge.suspended,
.badge.unknown,
.badge.revoked {
  background: #fff0eb;
  color: #a06450;
  border-color: #eddbd0;
}
.empty {
  padding: 50px 24px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
.empty p {
  font-size: 11px;
  margin-top: 10px;
}
.row-title {
  font-weight: 600;
}
.compact {
  padding: 8px 12px;
  font-size: 12px;
  min-height: 40px;
}
.grid-two {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
}
.integration-card {
  padding: 26px;
  border-radius: 12px;
  background: #19221b;
  color: #dde7d5;
  min-height: 200px;
}
.integration-card h3 {
  color: white;
  font-size: 20px;
  margin: 14px 0;
}
.integration-card p {
  color: #a2b799;
  font-size: 12px;
  margin-bottom: 25px;
}
.integration-card .eyebrow {
  color: #a8c894;
}
.integration-card a {
  font-size: 11px;
  color: #cdf19d;
}
.callout {
  padding: 23px 25px;
  background: #edf2e7;
  border: 1px solid #dce6d2;
  border-radius: 12px;
}
.callout h3 {
  font-size: 14px;
  margin-bottom: 12px;
}
.callout p {
  font-size: 12px;
  color: #6c7c61;
}
.steps {
  display: grid;
  gap: 22px;
  padding: 25px;
}
.step {
  display: flex;
  gap: 15px;
}
.step b {
  flex: 0 0 26px;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 50%;
  text-align: center;
  line-height: 24px;
  color: #6c815f;
  font-size: 11px;
}
.step p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.code {
  display: block;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #f4f6ef;
  padding: 16px;
  border-radius: 8px;
  font-size: 11px;
  line-height: 1.8;
  border: 1px solid var(--line);
  margin: 15px 0;
}
.dns {
  font-size: 11px;
  overflow-wrap: anywhere;
}
.dns code {
  display: block;
  margin-top: 7px;
  word-break: break-all;
}
.key-secret {
  background: #fff8e6;
  border: 1px solid #ead8a3;
  border-radius: 10px;
  padding: 16px;
  margin-top: 16px;
}
.key-secret textarea {
  margin: 10px 0;
  min-height: 72px;
  font-size: 11px;
  word-break: break-all;
}
.key-secret p {
  font-size: 11px;
  color: #8c7246;
}
.detail-body {
  padding: 24px;
}
.pagination {
  padding: 17px 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
}
#notice {
  margin-bottom: 22px;
  padding: 14px 18px;
  border: 1px solid #d9e6cb;
  border-radius: 8px;
  background: #eef6e7;
  color: #4e683d;
  font-size: 12px;
}
#notice.error {
  background: #fff1ec;
  border-color: #efd8d0;
  color: #a04e39;
}
footer {
  padding: 20px 36px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: #929b89;
  display: flex;
  justify-content: space-between;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0;
  width: min(600px, calc(100vw - 32px));
  max-height: 90vh;
  background: #fcfdf9;
  color: inherit;
  box-shadow: 0 25px 80px #13240e26;
}
dialog::backdrop {
  background: #0c160a80;
}
.modal-head {
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-head h2 {
  font-size: 21px;
}
.modal-head button {
  background: none;
  border: 0;
  font-size: 23px;
  color: #88947d;
}
.modal-body {
  padding: 24px 28px;
}
.modal-body > p {
  font-size: 12px;
  color: var(--muted);
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 25px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}
.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.checks label {
  display: flex;
  gap: 8px;
  align-items: center;
  font-weight: 400;
  font-size: 11px;
  margin: 8px 0;
}
.checks input {
  width: auto;
}
.spaced {
  margin-top: 20px;
}
.notice-note {
  font-size: 11px;
  color: #a48653;
  line-height: 1.7;
}
.definition {
  font-size: 12px;
  color: #7a856f;
  margin-top: 15px;
}
.record-id {
  font-size: 10px;
  max-width: 270px;
  overflow-wrap: anywhere;
}
.loading {
  padding: 50px 24px;
  text-align: center;
  color: var(--muted);
}
@media (min-width: 1500px) {
  .main-content {
    padding-top: 48px;
  }
}
@media (max-width: 1000px) {
  .workspace {
    grid-template-columns: 228px 1fr;
  }
  .sidebar {
    width: 228px;
    padding: 28px 14px;
  }
  .main-content,
  .topbar {
    padding-left: 24px;
    padding-right: 24px;
  }
  .grid-two {
    grid-template-columns: 1fr;
  }
  .login-brand {
    padding: 40px;
  }
  .brand-copy h1 {
    font-size: 43px;
  }
  .flow-visual {
    gap: 8px;
  }
  .flow-visual span {
    padding: 12px;
  }
  .cards {
    gap: 12px;
  }
  .card {
    padding: 18px;
  }
  .page-heading h1 {
    font-size: 28px;
  }
}
@media (max-width: 700px) {
  .login-wrap {
    grid-template-columns: 1fr;
  }
  .login-brand {
    min-height: 0;
    padding: 28px;
  }
  .brand-copy {
    padding: 40px 0;
  }
  .brand-copy h1 {
    font-size: 35px;
  }
  .flow-visual {
    margin-top: 25px;
  }
  .login-panel {
    padding: 40px 28px;
  }
  .workspace {
    display: block;
  }
  .sidebar {
    position: relative;
    width: auto;
    padding: 18px;
  }
  .sidebar .brand {
    margin: 0 0 20px;
    font-size: 25px;
  }
  .workspace-label,
  .sidebar-bottom {
    display: none;
  }
  .sidebar nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
  .nav {
    padding: 11px 12px;
    font-size: 13px;
    min-height: 44px;
  }
  .nav-group-label {
    grid-column: 1 / -1;
  }
  .nav span[aria-hidden="true"] {
    display: none;
  }
  .topbar {
    padding: 15px 20px;
    height: 60px;
  }
  .main-content {
    padding: 25px 18px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .card .metric {
    margin-top: 12px;
    font-size: 29px;
  }
  .page-heading {
    align-items: flex-start;
  }
  .page-heading h1 {
    font-size: 24px;
  }
  .page-heading p {
    font-size: 11px;
  }
  .panel-head {
    padding: 19px;
    align-items: flex-start;
  }
  .toolbar {
    padding: 15px;
  }
  .panel-head h3 {
    font-size: 14px;
  }
  th,
  td {
    padding: 14px 18px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .modal-body,
  .modal-head {
    padding: 22px;
  }
  .breadcrumb {
    gap: 8px;
  }
  .page-heading .secondary {
    padding: 9px 12px;
    font-size: 12px;
  }
  footer {
    padding: 18px;
  }
}
.operator-login {
  border-top: 1px solid var(--line);
  padding: 19px 0;
  margin: 0 0 22px;
}
.operator-login summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 12px;
}
.operator-login form {
  margin-bottom: 5px;
}
.identity {
  font-size: 11px;
  color: var(--muted);
}
.readiness {
  margin-bottom: 24px;
  font-size: 12px;
  color: #7a6436;
  background: #fff8e7;
  border-color: #ead8aa;
  line-height: 1.7;
}
.inbound-steps {
  padding: 22px 0;
}
.inbound-actions {
  flex-wrap: wrap;
}
.dns-item {
  padding: 3px 0 15px;
  border-bottom: 1px solid var(--line);
}
.badge.verification_pending,
.badge.dns_pending {
  color: #947438;
  background: #fff8e5;
  border-color: #eee2ba;
}
.badge.paused,
.badge.activation_unknown {
  color: #a06450;
  background: #fff0eb;
  border-color: #eddbd0;
}
@media (max-width: 700px) {
  .toolbar {
    flex-wrap: wrap;
  }
  .identity {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .header-right {
    gap: 10px;
  }
}

.subscriber-cards {
  grid-template-columns: repeat(4, 1fr);
}
.badge.approved {
  background: #edf7e6;
  color: #4b7940;
  border-color: #dceacc;
}
.badge.rejected {
  background: #fff0eb;
  color: #a06450;
  border-color: #eddbd0;
}
.approval-wrap {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 32px 20px;
}
.approval-wrap[hidden] {
  display: none;
}
.approval-card {
  width: min(560px, 100%);
  background: white;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.approval-card .brand {
  margin-bottom: 40px;
}
.approval-card .eyebrow {
  display: block;
  margin-bottom: 14px;
}
.approval-card h1 {
  font-size: 27px;
  margin: 18px 0;
}
.approval-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 20px;
}
@media (max-width: 1000px) {
  .subscriber-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  .approval-card {
    padding: 28px;
  }
  .approval-card h1 {
    font-size: 24px;
  }
}

/* Task-first navigation and management views. */
.nav-group-label {
  color: #a7b8a0;
  font-size: 11px;
  font-weight: 600;
  padding: 15px 15px 5px;
}
.nav-group-label:first-child {
  padding-top: 2px;
}
.task-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}
.task-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  color: inherit;
  padding: 23px 20px;
  text-align: left;
  min-height: 144px;
  transition:
    border-color 0.15s,
    background 0.15s;
}
.task-card:hover {
  border-color: #89a774;
  background: #f9fcf5;
}
.task-card:focus-visible,
.subscriber-filter button:focus-visible {
  outline: 3px solid #6f975b;
}
.task-icon {
  display: inline-flex;
  flex: 0 0 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #edf4e5;
  color: #38552c;
  font-size: 23px;
}
.task-copy {
  flex: 1;
  min-width: 0;
}
.task-copy strong,
.task-copy h3 {
  display: block;
  font-size: 16px;
  line-height: 1.5;
  margin: 1px 0 8px;
}
.task-copy p,
.task-copy small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}
.task-arrow {
  color: #5c7250;
  font-size: 20px;
  margin-left: auto;
}
.section-intro {
  margin-bottom: 20px;
}
.section-intro h2,
.section-intro h3 {
  margin-bottom: 8px;
}
.section-intro p {
  color: var(--muted);
  font-size: 14px;
  max-width: 760px;
}
.summary-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}
.summary-strip .card {
  padding: 17px 20px;
}
.summary-strip .metric-label {
  font-size: 13px;
}
.summary-strip .metric {
  font-size: 28px;
  margin: 8px 0 0;
}
.subscriber-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
}
.subscriber-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.subscriber-filter button {
  border: 1px solid var(--line);
  background: white;
  color: #46523e;
  border-radius: 8px;
  min-height: 44px;
  padding: 10px 14px;
  font-size: 13px;
}
.subscriber-filter button[aria-pressed="true"] {
  border-color: #3c5d2e;
  background: #eaf4e2;
  color: #2c4a20;
  font-weight: 650;
}
.user-search {
  margin-left: auto;
  width: min(300px, 100%);
}
.user-search label {
  margin: 0 0 6px;
}
.user-search input {
  min-height: 44px;
}
.user-identity {
  min-width: 170px;
}
.user-identity details {
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
}
.user-identity summary {
  cursor: pointer;
  display: list-item;
}
.user-identity .record-id {
  margin-top: 8px;
}
.setup-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0 0 24px;
  list-style: none;
}
.setup-steps > li,
.setup-steps > .step {
  display: flex;
  gap: 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  padding: 20px;
}
.step-number {
  display: inline-flex;
  flex: 0 0 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #eaf2e2;
  color: #38552c;
  font-weight: 650;
}
.setup-steps h3,
.setup-steps strong {
  display: block;
  margin: 3px 0 7px;
  font-size: 15px;
}
.setup-steps p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.next-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  min-height: 40px;
}
@media (max-width: 1100px) {
  .task-grid,
  .setup-steps {
    grid-template-columns: 1fr;
  }
  .task-card {
    min-height: 0;
  }
  .summary-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .subscriber-tools {
    padding: 16px;
    align-items: stretch;
  }
  .subscriber-filter {
    width: 100%;
  }
  .subscriber-filter button {
    flex: 1 0 auto;
  }
  .user-search {
    width: 100%;
    margin-left: 0;
  }
  .task-card {
    padding: 19px 16px;
  }
  .summary-strip .card {
    padding: 15px;
  }
  .summary-strip .metric-label {
    font-size: 12px;
  }
  .summary-strip .metric {
    font-size: 25px;
  }
  .page-heading {
    flex-wrap: wrap;
  }
  .page-heading p {
    font-size: 13px;
  }
  .panel-head {
    flex-wrap: wrap;
  }
  .setup-steps > li,
  .setup-steps > .step {
    padding: 18px;
  }
  td .actions {
    flex-wrap: wrap;
  }
}

.menu-toggle {
  display: none;
}
@media (max-width: 700px) {
  .sidebar .brand {
    margin: 0;
  }
  .menu-toggle {
    display: block;
    position: absolute;
    right: 18px;
    top: 16px;
    color: #e9f1e2;
    background: #2b3d28;
    border: 1px solid #667860;
    border-radius: 8px;
    min-height: 44px;
    padding: 8px 15px;
  }
  .sidebar nav {
    display: none;
  }
  .sidebar.menu-open nav {
    display: grid;
    margin-top: 20px;
  }
  .next-action {
    display: flex;
    flex-wrap: wrap;
  }
}

.service-settings {
  margin: 0;
  padding: 8px 24px 20px;
}
.service-settings > div {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 2fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.service-settings dt {
  color: var(--muted);
}
.service-settings dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.service-settings small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}
.empty-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 0 24px 32px;
}
@media (max-width: 680px) {
  .service-settings > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.google-login {
  margin: 30px 0;
}
.google-signin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 16px;
  background: white;
  color: #25301f;
  border: 1px solid #dbe0d6;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
}
.google-signin:hover {
  background: #f7f9f4;
  border-color: #a5b19a;
}
.google-signin:focus-visible,
.header-link:focus-visible {
  outline: 3px solid #b6d98c;
  outline-offset: 3px;
}
.google-signin:disabled {
  cursor: wait;
  opacity: 0.6;
}
.google-icon {
  flex-shrink: 0;
}
.header-link {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  color: #425735;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.admin-access-denied {
  margin: 24px 0;
}
@media (max-width: 700px) {
  .header-right {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .header-link {
    font-size: 11px;
    padding: 7px 8px;
  }
}
