.boot {
  padding: 80px;
  text-align: center;
  color: #7b8f6c;
}
.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fafbf7;
}
.auth-story {
  background: #e9efdf;
  padding: 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.auth-story:after {
  content: "◈";
  font-size: 240px;
  color: #d4dfc6;
  line-height: 1;
  margin-top: 40px;
}
.auth-story h1 {
  font-size: 40px;
  line-height: 1.3;
  max-width: 500px;
  margin-top: 65px;
}
.auth-form {
  max-width: 420px;
  width: 100%;
  margin: auto;
  padding: 40px 25px;
}
.auth-form h1 {
  font-size: 26px;
}
.auth-form form {
  margin-top: 28px;
}
.auth-form .btn {
  width: 100%;
  font-size: 13px;
}
.auth-divider {
  margin: 20px 0;
  text-align: center;
  font-size: 11px;
  color: #a3ad95;
}
.auth-switch {
  font-size: 12px;
  color: #7f9270;
  text-align: center;
  margin-top: 22px;
}
.auth-switch button {
  font: inherit;
}
.error-box {
  background: #faeee7;
  color: #a36c56;
  border: 1px solid #eddbcc;
  padding: 13px;
  border-radius: 7px;
  font-size: 12px;
  line-height: 1.8;
  margin: 15px 0;
}
.success-box {
  background: #edf4e7;
  color: #6e8b56;
  padding: 15px;
  border-radius: 7px;
  font-size: 12px;
  line-height: 1.8;
}
.campaign-select {
  width: 100%;
  border: 1px solid #e0e6d7;
  padding: 11px;
  border-radius: 7px;
  margin: 28px 0;
  color: #6c805d;
  background: white;
  font-size: 11px;
}
.sidebar-bottom {
  margin-top: auto;
}
.notice a {
  color: #446d43;
  text-decoration: underline;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin: 25px 0;
}
.campaign-nav {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}
.campaign-nav .btn.current {
  background: #e7efdd;
  border-color: #b9cda7;
  color: #547740;
}
.data-table {
  min-width: 650px;
}
.page-loading {
  padding: 70px;
  text-align: center;
  color: #8a9d7a;
}
.pagination {
  display: flex;
  justify-content: space-between;
  padding: 17px;
  align-items: center;
  color: #8d9e7d;
  font-size: 11px;
}
.tools {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.tools input,
.tools select,
.plain-select {
  padding: 10px 12px;
  border: 1px solid #dfe5d5;
  background: white;
  border-radius: 6px;
  color: #7d8f6a;
  font-size: 11px;
}
.role-tag {
  background: #eef3e7;
  border-radius: 5px;
  padding: 3px 7px;
  font-size: 9px;
  color: #7c9668;
}
.form-note {
  color: #9ba78c;
  font-size: 11px;
  line-height: 1.8;
  margin: 12px 0;
}
.step-form {
  border: 1px solid #e1e8d7;
  border-radius: 9px;
  padding: 22px;
  margin-bottom: 20px;
  background: white;
}
.step-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.step-form textarea {
  min-height: 160px;
}
.triple-form {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
}
.queue-item {
  padding: 24px;
  border-bottom: 1px solid #ebeee4;
}
.queue-item pre {
  white-space: pre-wrap;
  font:
    12px "DM Sans",
    sans-serif;
  line-height: 1.9;
  color: #7f906d;
  background: #f7f9f2;
  padding: 17px;
  border-radius: 7px;
}
.queue-top {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
}
.muted {
  color: #98a789;
  font-size: 11px;
  line-height: 1.8;
}
.section {
  margin-top: 25px;
}
.modal-overlay .modal {
  max-height: 90vh;
}
.modal-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 22px;
}
.details-list > div {
  padding: 14px 0;
  border-bottom: 1px solid #edf0e6;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 12px;
}
.details-list small {
  color: #9ba88c;
}
.row-actions {
  display: flex;
  gap: 7px;
}
.row-actions .btn {
  padding: 7px 10px;
  font-size: 10px;
}
.full {
  width: 100%;
}
.account-block {
  padding: 25px;
}
.account-block .actions {
  margin-top: 20px;
}
.task-status {
  font-size: 11px;
  color: #9aa786;
  margin-top: 10px;
}
.skeleton {
  padding: 25px;
}
.profile-link {
  cursor: pointer;
  color: #5f7d50;
}
.badge.sent,
.badge.ready {
  background: #e8f2e0;
  color: #709455;
}
.badge.approved {
  background: #edf0fa;
  color: #7e8fae;
}
.badge.uncertain,
.badge.failed,
.badge.archived {
  background: #f7ece3;
  color: #b28a66;
}
.badge.draft {
  background: #f1f2ed;
  color: #8f9a80;
}
.admin-table td {
  white-space: normal;
}
.empty h3 {
  color: #6a8459;
}
.field input[readonly] {
  background: #f6f8f0;
}
.report-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.auth-footer {
  font-size: 10px;
  color: #a3ad97;
  margin-top: 28px;
  line-height: 1.7;
}
.form-spinner {
  opacity: 0.6;
  pointer-events: none;
}
.note-pre {
  white-space: pre-wrap;
  line-height: 1.9;
  color: #81946e;
  font-size: 12px;
}
.steps-empty {
  padding: 40px;
}
.toggle-inline {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #8c9c7c;
  font-size: 11px;
}
.view-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  margin: 22px 0;
}
.app aside {
  margin: 0;
}
.plain-link {
  color: #55794b;
  text-decoration: underline;
}
.message-meta {
  font-size: 10px;
  color: #9aa98c;
  margin: 10px 0;
}
.read-only {
  font-size: 11px;
  color: #a49577;
  background: #f7f3e9;
  border: 1px solid #ede5d2;
  padding: 12px;
  border-radius: 7px;
  margin-bottom: 20px;
}
@media (max-width: 850px) {
  .auth-shell {
    grid-template-columns: 1fr;
  }
  .auth-story {
    display: none;
  }
  .auth-form {
    padding: 40px 24px;
  }
  .stats-row {
    grid-template-columns: 1fr 1fr;
  }
  .triple-form,
  .report-grid {
    grid-template-columns: 1fr;
  }
  .campaign-select {
    font-size: 0;
    padding: 10px 0;
    max-width: 45px;
  }
  .campaign-nav {
    gap: 6px;
  }
  .campaign-nav .btn {
    padding: 8px 10px;
  }
  .page-title .actions {
    width: 100%;
  }
}
