:root {
  font-family:
    'Avenir Next',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: #273a31;
  background: #f3f5ef;
  font-synthesis: none;
  font-size: 14px;
  --green: #275840;
  --muted: #56675d;
  --line: #dbe3d9;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.5;
}
a {
  color: var(--green);
}
.sidebar {
  width: 232px;
  position: fixed;
  inset: 0 auto 0 0;
  background: #162d24;
  color: #ecf1e7;
  padding: 34px 22px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.wordmark {
  text-decoration: none;
  display: flex;
  align-items: center;
  font-size: 25px;
  letter-spacing: -1.2px;
  font-weight: 750;
  color: #f3f6ee;
}
.logo {
  background: #c9dcb8;
  color: #173429;
  border-radius: 10px;
  width: 34px;
  height: 34px;
  text-align: center;
  margin-right: 10px;
  font-size: 31px;
  line-height: 32px;
  font-family: Georgia, serif;
}
.wordmark-dot {
  color: #b9d19e;
}
.workspace-label {
  font-size: 10px;
  letter-spacing: 1.8px;
  color: #aebfb1;
  margin: 38px 12px 12px;
  text-transform: uppercase;
}
.sidebar nav {
  display: grid;
  gap: 5px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  text-align: left;
  color: #d1dfd4;
  padding: 11px 12px;
  border-radius: 7px;
  font-weight: 500;
  text-decoration: none;
  font-size: 14px;
}
.nav-icon {
  font-size: 16px;
  width: 18px;
  flex-shrink: 0;
  text-align: center;
  color: #a8c3ab;
}
.nav-item:hover {
  background: #294438;
}
.nav-item.active {
  background: #dce8d4;
  color: #183226;
  font-weight: 650;
}
.nav-item.active .nav-icon {
  color: #275840;
}
:is(button, a, summary):focus-visible {
  outline: 2px solid #83a868;
  outline-offset: 3px;
}
.nav-count {
  margin-left: auto;
  background: #355344;
  color: #fff;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
}
.sidebar-bottom {
  margin-top: auto;
  font-size: 12px;
  color: #c0d1c4;
  padding: 20px 10px 0;
  border-top: 1px solid #355344;
}
.mode-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #7a9b5e;
  border-radius: 50%;
  margin-right: 7px;
}
.main {
  margin-left: 232px;
}
.topbar {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 0 42px;
  border-bottom: 1px solid var(--line);
  background: #fbfcf9;
}
.breadcrumb {
  color: var(--muted);
  font-size: 13px;
}
.breadcrumb span {
  margin: 0 8px;
  color: #737f74;
}
.breadcrumb strong {
  font-weight: 650;
  color: #274335;
}
.top-controls {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.top-controls select {
  width: auto;
  max-width: min(100%, 18rem);
  font-size: 13px;
}
.workspace-operator {
  font-size: 13px;
  font-weight: 650;
  overflow-wrap: anywhere;
}
.workspace-switch-status {
  flex-basis: 100%;
  font-size: 13px;
  color: #803d29;
  margin: 0 0 10px;
}
.workspace-switch-status:empty,
.workspace-operator:empty,
.top-controls:empty {
  display: none;
}
main {
  max-width: 1360px;
  margin: auto;
  padding: 42px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}
h1 {
  font-family: Georgia, serif;
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.04em;
  font-weight: 500;
  margin: 0 0 10px;
  color: #263d2e;
}
.page-heading p {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
}
.date-stamp {
  font-size: 11px;
  color: #74846d;
  white-space: nowrap;
}
.date-stamp span {
  display: block;
  text-align: right;
  color: #a4ada0;
  margin-top: 6px;
  font-size: 10px;
}
.safety-banner {
  display: flex;
  align-items: center;
  gap: 15px;
  border: 1px solid #dce5d3;
  background: #eef2e9;
  border-radius: 9px;
  padding: 17px 20px;
  margin-bottom: 26px;
}
.safety-icon {
  font-size: 25px;
  color: #709057;
}
.safety-banner strong {
  font-size: 14px;
  font-weight: 650;
  color: #305737;
}
.safety-banner p {
  font-size: 13px;
  color: var(--muted);
  margin: 5px 0 0;
  line-height: 1.6;
}
.outline-badge {
  margin-left: auto;
  white-space: nowrap;
  font-size: 8px;
  letter-spacing: 1px;
  color: #84936f;
  border: 1px solid #d5dfca;
  border-radius: 4px;
  padding: 6px 8px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: 16px;
  margin-bottom: 26px;
}
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 21px 22px;
}
.stat-top {
  display: flex;
  justify-content: space-between;
  color: #7e8c7c;
  font-size: 11px;
}
.stat-top span:last-child {
  color: #9cae8f;
}
.stat-number {
  font-size: 30px;
  letter-spacing: -1px;
  margin: 16px 0 8px;
  color: #304a36;
}
.stat-foot {
  font-size: 10px;
  color: #9aa594;
}
.stat-foot b {
  font-weight: 500;
  color: #78916b;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
}
.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 25px 19px;
  gap: 15px;
}
h2 {
  font-size: 18px;
  font-weight: 650;
  margin: 0;
  color: #38503b;
}
.panel-heading p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  margin: 7px 0 0;
}
.tag {
  font-size: 8px;
  letter-spacing: 1.1px;
  color: #98a48d;
  white-space: nowrap;
}
.pill {
  display: inline-block;
  font-size: 8px;
  letter-spacing: 0.3px;
  border-radius: 4px;
  padding: 5px 7px;
  background: #f1f2eb;
  color: #8b977e;
  white-space: nowrap;
}
.pill.good {
  background: #e9f1e4;
  color: #69845a;
}
.pill.warn {
  background: #fbf0dc;
  color: #a18b52;
}
.pill.bad {
  background: #f7eae5;
  color: #aa725e;
}
.simulation-panel {
  padding: 16px 22px;
  margin-bottom: 16px;
}
.simulation-panel summary {
  cursor: pointer;
  font-weight: 650;
}
.simulation-panel label,
.draft-detail label {
  display: block;
  font-size: 13px;
  font-weight: 650;
  color: #40594b;
  margin: 16px 0 8px;
}
input:not([type='checkbox']),
select,
textarea {
  width: 100%;
  padding: 11px 12px;
  background: #fafbf8;
  border: 1px solid #e1e7dc;
  border-radius: 6px;
  color: #344d3d;
  font-size: 14px;
  outline: none;
}
.schedule-days {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

#campaign-sending-link {
  align-self: center;
  font-size: inherit;
  pointer-events: auto;
}

label:has(> input[type='checkbox']) {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  line-height: 1.5;
}
input[type='checkbox'] {
  inline-size: 16px;
  block-size: 16px;
  margin: calc((1.5em - 16px) / 2) 0 0;
  accent-color: var(--green);
}
input:focus,
select:focus,
textarea:focus {
  border-color: #91aa78;
  box-shadow: 0 0 0 2px #edf1e7;
}
select {
  cursor: pointer;
}
select:not([multiple]):not([size]) {
  appearance: none;
  padding-inline-end: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M3 5l4 4 4-4' fill='none' stroke='%23344d3d' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
}
@media (forced-colors: active) {
  select:not([multiple]):not([size]) {
    appearance: auto;
    padding-inline-end: 12px;
    background-image: none;
  }
}
.field-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  margin: 8px 0;
}
.pause-control {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 10px;
  color: #7d8d71;
  border-bottom: 1px solid #f0f3eb;
}
.pause-control button {
  border: 0;
  background: #f0f4e9;
  border-radius: 4px;
  padding: 5px 8px;
  font-size: 9px;
  color: #758962;
}
.button-row {
  display: flex;
  gap: 9px;
  margin-top: 19px;
  flex-wrap: wrap;
}
.primary,
.secondary {
  border-radius: 6px;
  padding: 11px 14px;
  font-size: 13px;
  font-weight: 650;
  border: 1px solid #dce5d4;
  text-decoration: none;
}
.primary {
  background: #315a3d;
  color: #f7f9f3;
  border-color: #315a3d;
}
.primary:hover {
  background: #23472e;
}
.primary span {
  margin-left: 13px;
}
.secondary {
  background: #fff;
  color: #40594b;
}
.secondary:hover {
  background: #f4f7ef;
}
.workspace-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding: 24px;
  margin-bottom: 18px;
  background: #e9efe5;
}
.workspace-entry p {
  color: var(--muted);
  margin: 6px 0 0;
}
.review-grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 22px;
}
.draft-list .panel-heading {
  padding: 20px;
}
.draft-choice {
  border: 0;
  border-top: 1px solid #edf0e7;
  background: white;
  display: block;
  width: 100%;
  text-align: left;
  padding: 16px 20px;
  color: #54674e;
}
.draft-choice.selected {
  background: #eff4e9;
  box-shadow: inset 3px 0 #718f5d;
}
.draft-choice strong {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
}
.draft-choice small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  overflow-wrap: anywhere;
  margin-top: 5px;
}
.draft-detail {
  padding: 25px;
}
.empty {
  padding: 55px 20px;
  text-align: center;
  color: #9dab91;
}
.empty > span {
  font-size: 35px;
  display: block;
  margin-bottom: 20px;
}
.empty h2 {
  font-size: 14px;
}
.empty p {
  font-size: 11px;
  line-height: 1.8;
}
.detail-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}
.detail-heading h2 {
  font-size: 18px;
}
.detail-meta {
  font-size: 11px;
  color: #8d9a82;
  line-height: 1.8;
}
.evidence-box {
  background: #f6f8f1;
  border: 1px solid #e5eadc;
  padding: 15px;
  border-radius: 6px;
  margin: 18px 0;
}
.evidence-box h3 {
  font-size: 10px;
  font-weight: 600;
  margin: 0 0 9px;
  color: #6f835f;
}
.evidence-box p,
.evidence-box a {
  font-size: 10px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.evidence-box p {
  color: #8a987c;
  margin: 5px 0;
}
.evidence-box a {
  pointer-events: none;
  color: #6a805d;
}
.draft-detail textarea {
  min-height: 235px;
  line-height: 1.85;
  resize: vertical;
  background: #fff;
  font-size: 12px;
}
.draft-detail input:not([type='checkbox']) {
  background: white;
}
.attachment {
  font-size: 10px;
  padding: 10px;
  background: #f7f9f2;
  margin-top: 8px;
  border-radius: 5px;
}
.attachment a {
  color: #70835e;
}
.inbound-tools {
  padding-top: 20px;
  border-top: 1px solid #edf0e7;
  margin-top: 24px;
}
.activity-row {
  display: flex;
  gap: 20px;
  padding: 20px 25px;
  border-top: 1px solid #edf0e7;
  align-items: flex-start;
}
.activity-info {
  flex: 1;
  min-width: 0;
}
.activity-info h3 {
  font-size: 12px;
  margin: 0 0 8px;
}
.activity-info p {
  font-size: 10px;
  color: #8d9b80;
  line-height: 1.8;
  overflow-wrap: anywhere;
  margin: 5px 0;
}
.activity-row button {
  font-size: 9px;
}
.audit-event {
  display: flex;
  gap: 15px;
  padding: 16px 25px;
  border-top: 1px solid #eef1e8;
  font-size: 11px;
}
.audit-event time {
  font-size: 9px;
  color: #9daa90;
  min-width: 65px;
}
.audit-event strong {
  font-weight: 500;
  color: #688055;
}
.audit-event pre {
  font:
    10px/1.8 ui-monospace,
    monospace;
  color: #9da78f;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 7px 0 0;
}
.audit-event small {
  color: #a4ad98;
  font-size: 9px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
#toast {
  background: #e6efde;
  border: 1px solid #cadaba;
  color: #536e42;
  padding: 14px 18px;
  border-radius: 6px;
  margin-bottom: 22px;
  font-size: 12px;
  line-height: 1.6;
}
#toast.error {
  background: #f9eee7;
  border-color: #ead4c5;
  color: #9c6b50;
}
.workspace-status {
  display: inline-block;
  background: #e8efe3;
  border: 1px solid #d4e0d1;
  border-radius: 5px;
  padding: 4px 8px;
  color: #40594b;
  font-size: 12px;
}
.page-status:not(:empty) {
  background: #e8efe3;
  color: #304d39;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 12px 15px;
}
.page-status:empty {
  margin: 0;
}
.campaign-context {
  margin-bottom: 16px;
}
.campaign-selection {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.campaign-selection > div {
  flex: 1;
}
.campaign-selection label {
  margin-top: 0;
}
.campaign-context details {
  margin-top: 16px;
}
.campaign-context select {
  width: min(100%, 26rem);
}
.campaign-steps {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 5px;
  margin: 0 0 12px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #e9efe5;
}
.campaign-steps a {
  display: grid;
  place-items: center;
  padding: 10px 8px;
  border-radius: 7px;
  color: #395045;
  font-weight: 650;
  text-align: center;
  text-decoration: none;
}
.campaign-steps a:hover {
  background: #e2e9df;
}
.campaign-steps a[aria-current='step'] {
  background: var(--green);
  color: white;
}
.campaign-stage > section {
  margin-bottom: 18px;
}
.campaign-stage form {
  max-width: 48rem;
}
.campaign-stage > section > h2 {
  font-size: 22px;
}
.campaign-stage summary,
.campaign-context summary,
.workspace-setting summary {
  cursor: pointer;
}
.workspace-setting {
  margin-bottom: 12px;
}
.workspace-setting summary {
  font-weight: 650;
  font-size: 16px;
}
.settings-page {
  max-width: 1050px;
}
.settings-page .workspace-setting {
  margin-bottom: 16px;
}
.company-index-search {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 10px;
}
.company-index-search .settings-field {
  flex: 1 1 15rem;
}
.pilot-access {
  margin-bottom: 20px;
}
#pilot-fields {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.settings-form {
  display: grid;
  gap: 18px;
  margin-top: 16px;
}
.settings-group {
  min-width: 0;
  margin: 0;
  padding: 14px 16px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.settings-group legend {
  padding: 0 6px;
  color: #344d3d;
  font-weight: 650;
}
.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
}
.settings-field {
  min-width: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: end;
  gap: 6px;
}
.settings-field > :is(input, select) {
  min-width: 0;
  min-height: 44px;
}
.settings-field small {
  color: var(--muted);
}
.settings-brand {
  margin-top: 18px;
  max-width: 24rem;
}
.settings-wide {
  grid-column: 1 / -1;
}
.settings-page label {
  margin: 0;
}
.settings-actions {
  margin: 0;
}
@media (max-width: 600px) {
  .settings-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .settings-page .workspace-setting {
    padding: 16px;
  }
}
#messages {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}
#messages pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.campaign-stage :is(h2, h3) {
  overflow-wrap: anywhere;
}
.campaign-stage pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.campaign-stage label {
  font-size: 1rem;
}
.website-stage #company-website {
  width: min(100%, 34rem);
}
.website-result {
  border-top: 1px solid var(--line);
  margin-top: 22px;
  padding-top: 12px;
}
.website-observations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 10px;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}
.website-observations li {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f6f8f4;
  overflow-wrap: anywhere;
}
.competitor-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}
.competitor-icon {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
}
.competitor-icon img {
  position: absolute;
  inset: 5px;
  width: 32px;
  height: 32px;
  object-fit: contain;
  visibility: hidden;
  background: #fff;
}
.competitor-icon img.logo-loaded {
  visibility: visible;
}
.campaign-options {
  margin: 20px 0 24px;
}
.campaign-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.campaign-option h4 {
  margin: 0 0 8px;
  font-size: 1rem;
}
.campaign-option button {
  margin-top: auto;
}
.audience-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 16px 24px;
  margin: 14px 0;
}
.audience-details dt {
  font-weight: 700;
  color: var(--green);
}
.audience-details dd {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
}
#discovery-budget p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 1rem;
}
#generated-campaign > button {
  margin: 12px 8px 0 0;
}
.website-observations p {
  margin: 6px 0 10px;
}

.discovery-progress {
  padding: 1rem;
  margin-block: 1rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: #f3f6ee;
}
.discovery-progress ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  padding: 0;
  margin: 0;
  list-style: none;
}
.discovery-progress li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 3rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid transparent;
  border-radius: 0.55rem;
  color: var(--muted);
  font-weight: 600;
}
.discovery-progress li span {
  width: 0.6rem;
  height: 0.6rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  flex: none;
}
.discovery-progress [data-state='active'] {
  color: var(--green);
  background: #fff;
  border-color: #9db69a;
}
.discovery-progress [data-state='active'] span,
.discovery-progress [data-state='done'] span {
  background: currentColor;
}
.discovery-progress [data-state='active'] span {
  animation: discovery-pulse 1.5s ease-out infinite;
}
.discovery-progress [data-state='done'] {
  color: var(--green);
}
.discovery-progress [data-state='failed'] {
  color: #754a2d;
  border-color: currentColor;
}
.discovery-progress p {
  color: var(--muted);
  margin: 0.7rem 0 0.15rem;
}
@keyframes discovery-pulse {
  from {
    box-shadow: 0 0 0 0 #50906480;
  }
  to {
    box-shadow: 0 0 0 0.48rem #50906400;
  }
}
@media (max-width: 560px) {
  .discovery-progress ol {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.2rem;
  }
  .discovery-progress li {
    min-height: 2.5rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .discovery-progress [data-state='active'] span {
    animation: none;
  }
}

#discovery-draft-list {
  grid-template-columns: minmax(0, 1fr);
}
.discovery-draft-editor {
  margin: 12px 0;
}
.discovery-draft-editor summary {
  width: fit-content;
  color: var(--green);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}
.discovery-draft-editor[open] + .discovery-draft-preview {
  display: none;
}
.discovery-draft-body {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
@media (max-width: 760px) {
  .campaign-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .campaign-steps a {
    font-size: 12px;
    padding: 8px 4px;
  }
  .campaign-context {
    padding: 16px;
  }
}
[hidden] {
  display: none !important;
}
@media (min-width: 1500px) {
  main {
    padding: 48px 55px;
  }
}
@media (max-width: 1100px) {
  .sidebar {
    width: 190px;
    padding: 28px 15px;
  }
  .main {
    margin-left: 190px;
  }
  main {
    padding: 28px;
  }
  .topbar {
    padding: 0 28px;
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 16px;
  }
  .review-grid {
    grid-template-columns: 230px minmax(0, 1fr);
  }
  .outline-badge {
    display: none;
  }
  .page-heading h1 {
    font-size: 32px;
  }
}
@media (max-width: 760px) {
  .sidebar {
    position: static;
    width: 100%;
    padding: 18px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .wordmark {
    font-size: 22px;
  }
  .workspace-label,
  .sidebar-bottom {
    display: none;
  }
  .sidebar nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    margin-top: 12px;
  }
  .nav-item {
    font-size: 13px;
    padding: 8px;
    gap: 5px;
  }
  .nav-icon {
    display: none;
  }
  .main {
    margin-left: 0;
  }
  .topbar {
    min-height: 58px;
    padding: 8px 20px;
    flex-wrap: wrap;
  }
  .top-controls {
    gap: 6px;
  }
  .top-controls select {
    max-width: min(100%, 17rem);
  }
  .sandbox-badge {
    display: none;
  }
  main {
    padding: 25px 20px;
  }
  .page-heading {
    align-items: flex-start;
    gap: 12px;
  }
  .page-heading h1 {
    font-size: 30px;
  }
  .page-heading p {
    line-height: 1.8;
  }
  .date-stamp {
    font-size: 9px;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .safety-banner {
    padding: 15px;
    align-items: flex-start;
  }
  .review-grid {
    grid-template-columns: 1fr;
  }
  .draft-list {
    max-height: 260px;
    overflow: auto;
  }
  .activity-row {
    flex-wrap: wrap;
  }
  .activity-row .button-row {
    margin-top: 0;
  }
}
