:root {
  --bg: #f4f6f4;
  --surface: #ffffff;
  --surface-2: #eef3f0;
  --line: #d9dfdd;
  --text: #1f2624;
  --muted: #69736f;
  --green: #0f6b5b;
  --green-2: #0a4a40;
  --gold: #c9972b;
  --red: #9e3d3f;
  --blue: #315b7c;
  --shadow: 0 10px 24px rgba(31, 38, 36, 0.08);
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
}

button,
input,
select,
textarea {
  font: inherit;
  min-width: 0;
}

button {
  cursor: pointer;
}

.app-shell {
  display: grid;
  grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
  min-height: 100vh;
  width: 100%;
  max-width: 100vw;
}

.sidebar {
  background: #142522;
  color: #f7faf8;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 22px 20px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #f7faf8;
  color: var(--green-2);
  font-weight: 800;
  letter-spacing: 0;
}

.brand-title {
  font-size: 18px;
  font-weight: 750;
}

.brand-subtitle {
  color: rgba(247, 250, 248, 0.72);
  font-size: 13px;
}

.sidebar-actions {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.primary-action,
.secondary-action,
.danger-action,
.icon-action {
  border: 1px solid transparent;
  border-radius: 6px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.primary-action {
  background: var(--green);
  color: white;
  padding: 0 14px;
}

.primary-action:hover {
  background: var(--green-2);
}

.secondary-action {
  background: #ffffff;
  border-color: var(--line);
  color: var(--text);
  padding: 0 14px;
}

.secondary-action.active {
  background: #e7f0ec;
  border-color: #abc8bd;
  color: var(--green-2);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.danger-action {
  background: #fff;
  border-color: #e4c6c7;
  color: var(--red);
  padding: 0 14px;
}

.danger-action:hover {
  background: #f8eeee;
}

.sidebar .secondary-action {
  background: rgba(255, 255, 255, 0.08);
  color: #f7faf8;
  border-color: rgba(255, 255, 255, 0.2);
}

.sidebar .secondary-action.active {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.38);
  color: #ffffff;
}

.simple-crm-sidebar .secondary-module-action {
  display: none;
}

.simple-crm-sidebar #dashboardBtn,
.simple-crm-sidebar #leadViewBtn,
.simple-crm-sidebar #contentQueueBtn,
.simple-crm-sidebar #opsBtn {
  justify-content: flex-start;
  min-height: 42px;
}

.simple-crm-sidebar #importBotBtn,
.simple-crm-sidebar #newLeadBtn {
  justify-content: flex-start;
}

.simple-crm-sidebar #contentQueueBtn {
  margin-top: 8px;
}

.simple-crm-sidebar #opsBtn {
  margin-top: 8px;
}

.icon-action {
  width: 38px;
  height: 38px;
  background: var(--surface);
  border-color: var(--line);
  color: var(--text);
  font-size: 18px;
}

.action-notice {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  max-width: min(420px, calc(100vw - 32px));
  padding: 13px 16px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #1f2624;
  color: #ffffff;
  box-shadow: var(--shadow);
  font-size: 14px;
  line-height: 1.35;
}

.action-notice.success {
  border-left: 5px solid var(--green);
}

.action-notice.info {
  border-left: 5px solid var(--blue);
}

.action-notice.error {
  border-left: 5px solid var(--red);
}

.action-notice[hidden] {
  display: none;
}

.auth-locked .app-shell {
  display: none;
}

.auth-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--bg);
}

.auth-panel {
  width: min(420px, calc(100vw - 32px));
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.auth-panel h1 {
  margin: 0;
  font-size: 26px;
  line-height: 1.1;
}

.auth-brand {
  color: var(--green-2);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.auth-panel label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
}

.auth-panel input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 12px;
  background: #fff;
  color: var(--text);
}

.auth-error {
  margin: 0;
  padding: 10px 12px;
  border-radius: 6px;
  background: #f8eeee;
  color: var(--red);
  font-size: 14px;
  line-height: 1.35;
}

.auth-error[hidden] {
  display: none;
}

.status-nav {
  padding: 6px 12px 20px;
  overflow: auto;
}

.queue-nav {
  display: grid;
  gap: 6px;
  padding: 2px 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-label {
  padding: 0 10px 4px;
  color: rgba(247, 250, 248, 0.55);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.status-button {
  width: 100%;
  min-height: 38px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: rgba(247, 250, 248, 0.82);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
  text-align: left;
  padding: 8px 10px;
}

.queue-button {
  width: 100%;
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(247, 250, 248, 0.9);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
  text-align: left;
  padding: 8px 10px;
}

.status-button:hover,
.status-button.active,
.queue-button:hover,
.queue-button.active {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.count-pill {
  min-width: 28px;
  height: 22px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  padding: 0 8px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 12px;
}

.main-area {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.topbar {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 246, 244, 0.92);
  backdrop-filter: blur(10px);
}

.search-wrap {
  height: 40px;
  flex: 1;
  max-width: 680px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 12px;
}

.search-wrap input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}

.topbar-actions {
  display: flex;
  gap: 8px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  padding: 18px 22px 0;
}

.stat-item {
  min-height: 76px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
}

.stat-action {
  width: 100%;
  color: var(--text);
  text-align: left;
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.stat-action:hover {
  border-color: #9fb8ae;
  background: #f7faf8;
  box-shadow: 0 8px 18px rgba(31, 38, 36, 0.08);
  transform: translateY(-1px);
}

.stat-action.active {
  border-color: var(--green);
  background: #e7f0ec;
  box-shadow: inset 0 0 0 1px rgba(15, 107, 91, 0.12);
}

.stat-action:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.stat-value {
  font-size: 28px;
  line-height: 1;
  font-weight: 780;
}

.stat-label {
  color: var(--muted);
  margin-top: 8px;
  font-size: 13px;
}

.workspace {
  display: grid;
  grid-template-columns: minmax(280px, 0.36fr) minmax(0, 1fr);
  gap: 18px;
  padding: 18px 22px 22px;
  min-height: 0;
  flex: 1;
  min-width: 0;
}

.content-workspace {
  grid-template-columns: minmax(240px, 0.28fr) minmax(0, 1fr);
}

.lead-list-panel,
.lead-detail-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-width: 0;
  box-shadow: var(--shadow);
}

.lead-list-panel {
  display: flex;
  flex-direction: column;
}

.panel-head {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  font-size: 20px;
}

h2 {
  font-size: 19px;
}

h3 {
  font-size: 14px;
  color: var(--muted);
  text-transform: uppercase;
}

.muted {
  color: var(--muted);
}

.lead-list {
  overflow: auto;
  padding: 8px;
}

.lead-row {
  width: 100%;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 8px;
  padding: 12px;
  text-align: left;
  display: grid;
  gap: 8px;
}

.lead-row + .lead-row {
  margin-top: 6px;
}

.lead-row:hover,
.lead-row.active {
  background: var(--surface-2);
  border-color: #cdd8d3;
}

.lead-row.deleted {
  border-color: #ead1d2;
  border-left: 5px solid var(--red);
  background: #fbf4f4;
  opacity: 0.78;
}

.lead-row.deleted.active,
.lead-row.deleted:hover {
  background: #f7eaea;
  border-color: #dfbabb;
}

.lead-row-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.lead-name {
  font-weight: 720;
  overflow-wrap: anywhere;
}

.lead-date {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.lead-meta,
.chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eef2f5;
  color: #31424d;
  font-size: 12px;
  max-width: 100%;
}

.chip.risk {
  background: #f5e7e7;
  color: var(--red);
}

.chip.route {
  background: #eef4f1;
  color: var(--green-2);
}

.chip.price {
  background: #f6efd9;
  color: #7a5a12;
}

.chip.duplicate {
  background: #ece8ff;
  color: #3e347a;
}

.chip.queue {
  background: #eef2f5;
  color: #31424d;
}

.chip.queue.overdue,
.chip.queue.risk {
  background: #f5e7e7;
  color: var(--red);
}

.chip.queue.owner,
.chip.queue.step {
  background: #f6efd9;
  color: #7a5a12;
}

.chip.content-status.draft {
  background: #eef2f5;
  color: #31424d;
}

.chip.content-status.queued {
  background: #eef4f1;
  color: var(--green-2);
}

.chip.content-status.failed {
  background: #f5e7e7;
  color: var(--red);
}

.chip.content-status.published {
  background: #edf2fb;
  color: var(--blue);
}

.chip.content-status.ready {
  background: #fff7db;
  color: #7a5a12;
}

.chip.content-status.archived {
  background: #f1eeee;
  color: #6f6565;
}

.chip.content-status.canceled {
  background: #f1eeee;
  color: #6f6565;
}

.detail-empty {
  min-height: 420px;
  display: grid;
  place-items: center;
  color: var(--muted);
  padding: 24px;
  text-align: center;
}

.empty-state > div {
  display: grid;
  gap: 10px;
  justify-items: center;
  max-width: 360px;
}

.empty-state strong {
  color: var(--text);
  font-size: 16px;
}

.empty-state span {
  line-height: 1.4;
}

.empty-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.detail-content {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.detail-header {
  padding: 18px;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 12px;
}

.detail-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.detail-title-row h2 {
  overflow-wrap: anywhere;
}

.detail-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.detail-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 18px;
}

.client-workflow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding: 0 18px 18px;
  border-bottom: 1px solid var(--line);
}

.client-flow-card {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 6px;
  min-height: 112px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  text-align: left;
}

.client-flow-card.primary {
  border-color: #bfd8ca;
  background: #f4faf6;
}

.client-flow-card:hover {
  border-color: #abc8bd;
  background: #f8fbfa;
}

.client-flow-card span {
  color: var(--green-2);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0;
}

.client-flow-card strong {
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.client-flow-card small {
  color: var(--muted);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.section {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.content-row .muted {
  line-height: 1.35;
}

.content-tools {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.detail-content > .content-tools {
  border-top: 0;
  padding: 18px;
}

.content-form {
  display: grid;
  gap: 10px;
  max-width: 980px;
}

.content-form .field-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
}

.content-detail #autopostText {
  min-height: 340px;
  line-height: 1.45;
}

.content-counter {
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.format-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fafc;
}

.icon-action {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  cursor: pointer;
}

.italic-action {
  font-style: italic;
}

.underline-action {
  text-decoration: underline;
}

.emoji-action {
  font-weight: 400;
}

.media-chip {
  background: #eef6f0;
  color: #1f6a3b;
  border-color: #c9e5d2;
}

.autopost-media-box {
  display: grid;
  gap: 12px;
}

.autopost-image-current {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.autopost-image-preview {
  width: 128px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: #f8fafc;
}

.autopost-image-upload {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.content-chat {
  display: grid;
  gap: 12px;
}

.content-chat-list {
  display: grid;
  gap: 10px;
  max-height: 360px;
  overflow: auto;
  padding-right: 4px;
}

.content-chat-message {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.content-chat-message.drafted {
  border-color: #c9e5d2;
  background: #f7fbf8;
}

.content-chat-message.duplicate {
  border-color: #d7dce2;
  background: #f8fafc;
}

.content-chat-message.failed {
  border-color: #efc9c9;
  background: #fff8f8;
}

.content-chat-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
}

.content-chat-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 13px;
  line-height: 1.45;
}

.content-chat-edit {
  align-items: end;
}

.content-post-card-list {
  display: grid;
  gap: 10px;
}

.content-post-card {
  display: grid;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faf9;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  min-width: 0;
}

.sales-section .field-grid {
  grid-template-columns: 1fr;
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  min-width: 0;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--text);
  min-height: 36px;
  padding: 8px 10px;
}

select {
  text-overflow: ellipsis;
}

textarea {
  resize: vertical;
  min-height: 74px;
}

#noteText {
  min-height: 86px;
}

.proposal-text {
  width: 100%;
  min-height: 420px;
  line-height: 1.45;
}

.wide {
  grid-column: 1 / -1;
}

.wide-field {
  grid-column: 1 / -1;
}

.documents-box,
.document-list,
.document-form,
.tasks-box,
.task-list,
.task-form,
.duplicate-list {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.document-row,
.task-row,
.duplicate-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faf9;
}

.document-title,
.task-title,
.duplicate-title {
  font-weight: 720;
  overflow-wrap: anywhere;
}

.document-meta,
.document-path,
.document-note,
.task-meta,
.task-note,
.duplicate-meta,
.duplicate-reason {
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
  overflow-wrap: anywhere;
}

.document-path {
  color: var(--green-2);
}

.client-doc-control {
  display: grid;
  gap: 10px;
  border: 1px solid #d7dfdc;
  border-left: 3px solid var(--green-2);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.client-doc-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.client-doc-head h4 {
  margin: 0;
  color: var(--text);
  font-size: 15px;
}

.client-doc-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.client-doc-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.client-doc-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  min-height: 34px;
  border: 1px solid #cddbd6;
  border-radius: 8px;
  background: #f7fbf9;
  color: var(--green-2);
  font-weight: 800;
}

.client-doc-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 8px;
}

.client-doc-card {
  display: grid;
  align-content: space-between;
  gap: 10px;
  min-height: 176px;
  border: 1px solid #d9e2df;
  border-radius: 8px;
  padding: 10px;
  background: #fbfcfb;
}

.client-doc-card.ready {
  border-color: #b8d2c8;
  background: #f6fbf8;
}

.client-doc-card.hidden,
.client-doc-card.warning {
  border-color: #ead9b2;
  background: #fffdf8;
}

.client-doc-card.missing {
  background: #f8faf9;
}

.client-doc-copy {
  display: grid;
  gap: 4px;
}

.client-doc-copy span {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.client-doc-copy strong {
  color: var(--text);
  font-size: 14px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.client-doc-copy small,
.client-doc-copy em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.client-doc-card-actions {
  display: grid;
  gap: 6px;
}

.client-doc-card-actions .secondary-action {
  width: 100%;
  min-height: 34px;
  padding: 0 10px;
  font-size: 13px;
  text-align: center;
  text-decoration: none;
}

.inline-editor {
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  background: #fff;
}

.inline-editor summary {
  cursor: pointer;
  color: var(--green-2);
  font-size: 13px;
  font-weight: 650;
}

.inline-editor[open] {
  display: grid;
  gap: 10px;
}

.inline-editor .field-grid {
  margin-top: 8px;
}

.document-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.task-actions,
.task-toolbar,
.duplicate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.duplicate-section {
  border-color: #cfc7f6;
  background: #fbfaff;
}

.duplicate-reason {
  color: #574d91;
}

.ops-section {
  border: 1px solid #e2d2a9;
  border-radius: 8px;
  padding: 12px;
  background: #fffaf0;
}

.ops-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 8px;
}

.ops-metric {
  display: grid;
  gap: 4px;
  min-height: 58px;
  align-content: center;
  border: 1px solid #eadfbd;
  border-radius: 8px;
  padding: 8px 10px;
  background: #fff;
}

.ops-metric span,
.ops-issue span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.ops-metric strong,
.ops-issue strong {
  font-size: 13px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.ops-issues {
  display: grid;
  gap: 8px;
}

.ops-issue,
.ops-clean {
  border: 1px solid #eadfbd;
  border-radius: 8px;
  padding: 10px;
  background: #fff;
}

.ops-issue {
  display: grid;
  gap: 4px;
}

.ops-issue.overdue,
.ops-issue.risk {
  border-color: #e7c5c6;
  background: #fff7f7;
}

.ops-clean {
  color: var(--muted);
  font-size: 13px;
}

.startup-box {
  display: grid;
  gap: 12px;
  border: 1px solid #cddbd6;
  border-radius: 8px;
  padding: 12px;
  background: #f7fbf9;
}

.startup-box.ready {
  border-color: #8fc6a8;
  background: #f3fbf6;
}

.startup-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.startup-head p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.startup-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.startup-score {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid #cddbd6;
  border-radius: 6px;
  padding: 0 10px;
  background: #fff;
  color: var(--green-2);
  font-weight: 750;
}

.startup-checks {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 8px;
}

.startup-check {
  appearance: none;
  display: grid;
  gap: 4px;
  width: 100%;
  min-height: 76px;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  background: #fff;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    transform 0.16s ease,
    background 0.16s ease;
}

.startup-check:hover {
  border-color: #bfcfc9;
  box-shadow: 0 8px 18px rgba(24, 48, 41, 0.08);
  transform: translateY(-1px);
}

.startup-check:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.startup-check span {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.startup-check strong {
  font-size: 13px;
  line-height: 1.25;
}

.startup-check small {
  color: var(--muted);
  line-height: 1.35;
}

.startup-check.done {
  border-color: #bdddc9;
  background: #f8fffa;
}

.startup-check.done span {
  color: var(--green-2);
}

.startup-check.todo {
  border-color: #eadfbd;
  background: #fffdf7;
}

.field-attention {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(38, 118, 94, 0.12);
  transition:
    outline-color 0.16s ease,
    box-shadow 0.16s ease;
}

.finance-box {
  display: grid;
  gap: 12px;
  border: 1px solid #d6dddf;
  border-radius: 8px;
  padding: 12px;
  background: #f8fafb;
}

.finance-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.finance-head p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.finance-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.finance-checks {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 8px;
}

.check-field {
  display: flex;
  align-items: center;
  gap: 8px;
}

.check-field input {
  width: 16px;
  min-height: 16px;
}

.standalone-check {
  min-height: 42px;
  align-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  background: #fff;
}

.compact-action {
  min-height: 32px;
  text-decoration: none;
}

.link-line {
  font-size: 13px;
}

.link-stack {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #f8faf9;
}

.link-line a {
  color: var(--green-2);
  overflow-wrap: anywhere;
}

.link-line span {
  color: var(--muted);
  line-height: 1.4;
}

.client-access-box {
  display: grid;
  gap: 12px;
  margin-top: 10px;
  border: 1px solid #cddbd6;
  border-radius: 8px;
  padding: 12px;
  background: #f7fbf9;
}

.client-access-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.client-access-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.client-access-head p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.client-access-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  gap: 8px;
}

.client-access-status {
  min-height: 58px;
  display: grid;
  align-content: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  background: #fff;
}

.client-access-status span {
  color: var(--muted);
  font-size: 12px;
}

.client-access-status strong {
  font-size: 13px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.client-launch-route {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--green-2);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.client-launch-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.client-launch-head h4 {
  margin: 0;
  color: var(--text);
  font-size: 15px;
}

.client-launch-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.client-launch-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  min-height: 34px;
  border: 1px solid #cddbd6;
  border-radius: 8px;
  background: #f7fbf9;
  color: var(--green-2);
  font-weight: 800;
}

.client-launch-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 8px;
}

.client-launch-step {
  display: grid;
  align-content: space-between;
  gap: 10px;
  min-height: 170px;
  border: 1px solid #d9e2df;
  border-radius: 8px;
  padding: 10px;
  background: #fbfcfb;
}

.client-launch-step.done {
  border-color: #b8d2c8;
  background: #f6fbf8;
}

.client-launch-step.todo {
  border-color: #ead9b2;
  background: #fffdf8;
}

.client-launch-step-copy {
  display: grid;
  gap: 4px;
}

.client-launch-step-copy span {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.client-launch-step-copy strong {
  color: var(--text);
  font-size: 14px;
  line-height: 1.25;
}

.client-launch-step-copy small,
.client-launch-step-copy em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.35;
}

.client-launch-step-actions {
  display: grid;
  gap: 6px;
}

.client-launch-step-actions .secondary-action {
  width: 100%;
  min-height: 34px;
  padding: 0 10px;
  font-size: 13px;
  text-align: center;
  text-decoration: none;
}

.client-access-check {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.client-access-check strong {
  color: var(--text);
  font-size: 14px;
}

.client-access-check.success {
  border-left-color: var(--green-2);
  background: #f7fbf8;
}

.client-access-check.error {
  border-left-color: var(--danger);
  background: #fff8f8;
}

.client-access-check.info {
  background: #f8fafc;
}

.client-access-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.client-access-links a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 10px;
  background: #fff;
  color: var(--green-2);
  font-size: 13px;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.client-access-note {
  border-left: 3px solid var(--gold);
  padding-left: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.lead-magnets-box {
  display: grid;
  gap: 10px;
  margin-top: 10px;
  border: 1px solid #d7dfdc;
  border-radius: 8px;
  padding: 12px;
  background: #fbfcfb;
}

.lead-magnets-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.lead-magnets-head p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.lead-magnet-list {
  display: grid;
  gap: 8px;
}

.lead-magnet-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #fff;
}

.lead-magnet-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  max-width: 380px;
}

.small-empty {
  min-height: 72px;
}

.activity-list {
  display: grid;
  gap: 8px;
}

.activity {
  border-left: 3px solid var(--blue);
  padding: 8px 10px;
  background: #f7f9fa;
  border-radius: 0 6px 6px 0;
}

.activity-time {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 4px;
}

.dashboard-workspace {
  grid-template-columns: minmax(320px, 0.36fr) minmax(560px, 0.64fr);
}

.dashboard-action {
  width: 100%;
  display: grid;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
  text-align: left;
}

.dashboard-action + .dashboard-action {
  margin-top: 8px;
}

.dashboard-action:hover {
  border-color: #abc8bd;
  background: #f8fbfa;
}

.dashboard-action.danger {
  border-color: #e6c3c4;
  background: #fff8f8;
}

.dashboard-action.warn {
  border-color: #eadfbd;
  background: #fffdf7;
}

.dashboard-action.info {
  border-color: #cbd9e5;
  background: #f8fbff;
}

.dashboard-action-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}

.dashboard-action-top span {
  color: var(--green-2);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.dashboard-action-top small,
.dashboard-action p {
  color: var(--muted);
}

.dashboard-action strong {
  line-height: 1.25;
}

.dashboard-action p {
  margin: 0;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.dashboard-content {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.dashboard-alerts {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 10px;
}

.dashboard-alert {
  min-height: 78px;
  display: grid;
  align-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.dashboard-alert strong {
  font-size: 26px;
  line-height: 1;
}

.dashboard-alert span {
  color: var(--muted);
  font-size: 13px;
}

.dashboard-alert.danger {
  border-color: #e6c3c4;
  background: #fff8f8;
  color: var(--red);
}

.dashboard-alert.warn {
  border-color: #eadfbd;
  background: #fffdf7;
  color: #7a5a12;
}

.dashboard-alert.info {
  border-color: #cbd9e5;
  background: #f8fbff;
  color: var(--blue);
}

.dashboard-sections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.dashboard-section {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.dashboard-section-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}

.dashboard-section-head span {
  min-width: 28px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #eef4f1;
  color: var(--green-2);
  font-size: 12px;
  font-weight: 700;
}

.dashboard-row-list {
  display: grid;
  gap: 8px;
}

.dashboard-lead-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #f8faf9;
  text-align: left;
}

.dashboard-lead-row:hover {
  border-color: #abc8bd;
  background: #f1f7f4;
}

.dashboard-lead-row div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.dashboard-lead-row strong,
.dashboard-lead-row span {
  overflow-wrap: anywhere;
}

.dashboard-lead-row span,
.dashboard-lead-row small,
.dashboard-empty {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.dashboard-empty {
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fbfcfb;
}

.team-workspace {
  grid-template-columns: minmax(320px, 0.32fr) minmax(620px, 0.68fr);
}

.ops-workspace {
  grid-template-columns: minmax(320px, 0.32fr) minmax(620px, 0.68fr);
}

.ops-stat {
  font-size: 22px;
  overflow-wrap: anywhere;
}

.ops-row {
  width: 100%;
  display: grid;
  gap: 6px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px;
  background: transparent;
  text-align: left;
}

.ops-row + .ops-row {
  margin-top: 6px;
}

.ops-row:hover,
.ops-row.active {
  background: var(--surface-2);
  border-color: #cdd8d3;
}

.ops-status {
  width: fit-content;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
}

.ops-status.done {
  border-color: #bfd8ca;
  background: #f4faf6;
  color: #1f6842;
}

.ops-status.danger {
  border-color: #e6c3c4;
  background: #fff8f8;
  color: #8b2b2f;
}

.team-stat {
  font-size: 22px;
  overflow-wrap: anywhere;
}

.team-row {
  width: 100%;
  display: grid;
  gap: 5px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px;
  background: transparent;
  text-align: left;
}

.team-row + .team-row {
  margin-top: 6px;
}

.team-row:hover,
.team-row.active {
  background: var(--surface-2);
  border-color: #cdd8d3;
}

.team-row-title {
  font-weight: 750;
  line-height: 1.25;
}

.team-content {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.team-role-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 240px);
  gap: 16px;
  align-items: stretch;
  border: 1px solid #cbd9e5;
  border-radius: 8px;
  padding: 16px;
  background: #f8fbff;
}

.team-role-hero h3 {
  margin: 4px 0 8px;
  font-size: 24px;
}

.team-role-hero p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.team-kicker,
.team-owner span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.team-owner {
  display: grid;
  align-content: center;
  gap: 6px;
  border-left: 1px solid #d8e3ec;
  padding-left: 16px;
}

.team-owner strong {
  line-height: 1.25;
}

.team-columns,
.team-channel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.team-channel-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.team-panel {
  display: grid;
  gap: 10px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fff;
}

.team-panel h3 {
  margin: 0;
}

.team-check,
.team-protocol-item,
.team-channel {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #fbfcfb;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.team-check.done {
  border-color: #bfd8ca;
  background: #f4faf6;
}

.team-check.warn {
  border-color: #eadfbd;
  background: #fffdf7;
}

.team-protocol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.team-protocol-item span,
.team-channel span,
.team-channel small {
  color: var(--muted);
}

.team-channel small {
  font-size: 12px;
}

.team-command {
  width: 100%;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #f8faf9;
  line-height: 1.4;
}

.team-task-form {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(140px, 0.28fr) minmax(120px, 0.22fr) auto;
  gap: 8px;
  align-items: end;
}

.team-task-list {
  display: grid;
  gap: 8px;
}

.team-task {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #fbfcfb;
}

.team-task.active {
  border-color: #cbd9e5;
  background: #f8fbff;
}

.team-task.blocked {
  border-color: #e6c3c4;
  background: #fff8f8;
}

.team-task.done {
  border-color: #bdddc9;
  background: #f8fffa;
}

.team-task-main {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.team-task-main strong,
.team-task-main span,
.team-task-main small,
.team-row-meta {
  overflow-wrap: anywhere;
}

.team-task-main span,
.team-task-main small,
.team-row-meta {
  color: var(--muted);
  font-size: 12px;
}

.team-task-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.finance-workspace {
  grid-template-columns: minmax(340px, 0.38fr) minmax(560px, 0.62fr);
}

.finance-stat {
  font-size: 22px;
  overflow-wrap: anywhere;
}

.finance-row {
  width: 100%;
  display: grid;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px;
  background: transparent;
  text-align: left;
}

.finance-row + .finance-row {
  margin-top: 6px;
}

.finance-row:hover,
.finance-row.active {
  background: var(--surface-2);
  border-color: #cdd8d3;
}

.finance-row-top,
.finance-row-meta,
.finance-ledger-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.finance-row-meta {
  color: var(--muted);
  font-size: 12px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.finance-status,
.finance-ledger-status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  padding: 2px 8px;
  background: #eef2f5;
  color: #31424d;
  font-size: 12px;
  white-space: nowrap;
}

.finance-status.danger,
.finance-ledger-status.danger {
  background: #f5e7e7;
  color: var(--red);
}

.finance-status.warn,
.finance-ledger-status.warn {
  background: #f6efd9;
  color: #7a5a12;
}

.finance-status.done,
.finance-ledger-status.done {
  background: #eef4f1;
  color: var(--green-2);
}

.finance-content {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.finance-ledger-head {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #f8faf9;
}

.finance-ledger-amount {
  font-size: 24px;
  font-weight: 760;
}

.finance-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 8px;
}

.finance-timeline-item {
  display: grid;
  gap: 4px;
  min-height: 76px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 10px;
  background: #fff;
}

.finance-timeline-item span {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.finance-timeline-item small {
  color: var(--muted);
  line-height: 1.35;
}

.finance-timeline-item.done {
  border-color: #bdddc9;
  background: #f8fffa;
}

.finance-timeline-item.done span {
  color: var(--green-2);
}

.dialog {
  width: min(760px, calc(100vw - 28px));
  border: 0;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(31, 38, 36, 0.24);
  padding: 0;
}

.dialog::backdrop {
  background: rgba(20, 37, 34, 0.5);
}

.dialog form {
  padding: 18px;
}

.dialog-head,
.dialog-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.dialog-head {
  margin-bottom: 16px;
}

.dialog-actions {
  margin-top: 16px;
  justify-content: flex-end;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 1040px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .status-nav {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 8px 12px 14px;
  }

  .queue-nav {
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    overflow-x: auto;
    padding: 12px;
  }

  .queue-nav .nav-label {
    grid-column: 1 / -1;
  }

  .status-button {
    width: auto;
    min-width: 180px;
  }

  .workspace {
    grid-template-columns: 1fr;
  }

  .client-access-grid {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
  }

  .client-launch-steps {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }

  .client-doc-grid {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }

  .startup-checks {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
  }

  .finance-checks {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
  }

  .dashboard-alerts,
  .team-columns,
  .team-channel-grid,
  .team-protocol,
  .dashboard-sections,
  .client-workflow,
  .finance-timeline {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }
}

@media (max-width: 720px) {
  .topbar,
  .detail-title-row,
  .detail-actions {
    flex-wrap: wrap;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .workspace {
    padding: 14px;
  }

  .detail-body,
  .field-grid,
  .form-grid,
  .autopost-image-current,
  .autopost-image-upload,
  .document-row,
  .lead-magnet-row,
  .task-row,
  .client-workflow,
  .client-doc-grid,
  .ops-grid,
  .startup-checks,
  .finance-checks,
  .client-launch-steps,
  .team-role-hero,
  .team-columns,
  .team-channel-grid,
  .team-protocol,
  .team-task-form,
  .team-task,
  .dashboard-alerts,
  .dashboard-sections,
  .dashboard-lead-row,
  .finance-timeline,
  .finance-row-top,
  .finance-ledger-head {
    grid-template-columns: 1fr;
  }

  .finance-row-top,
  .finance-ledger-head {
    display: grid;
    justify-items: start;
  }

  .client-access-head,
  .client-launch-head,
  .client-doc-head,
  .client-access-grid,
  .startup-head,
  .finance-head,
  .team-owner,
  .dashboard-header {
    grid-template-columns: 1fr;
  }

  .client-access-head,
  .startup-head,
  .finance-head,
  .dashboard-header {
    display: grid;
  }

  .team-owner {
    border-left: 0;
    border-top: 1px solid #d8e3ec;
    padding-left: 0;
    padding-top: 12px;
  }

  .document-actions,
  .client-doc-actions,
  .lead-magnet-actions,
  .task-actions,
  .task-toolbar,
  .startup-actions,
  .finance-actions {
    justify-content: flex-start;
  }

  .team-task-actions {
    justify-content: flex-start;
  }

  .autopost-image-preview {
    width: min(100%, 260px);
  }

  .action-notice {
    right: 12px;
    bottom: 12px;
    max-width: calc(100vw - 24px);
  }
}
