:root {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: #202824;
  background: #fafbfa;
  font-size: 14px;
  font-synthesis: none;
  --green: #176349;
  --line: #e1e6e2;
  --muted: #69756e;
  --soft: #edf5f0;
  --red: #b74f40;
}
* {
  box-sizing: border-box;
  letter-spacing: 0;
}
body {
  margin: 0;
}
.auth-page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  border-top: 5px solid var(--green);
}
.auth-main {
  width: min(100%, 420px);
  margin: auto;
  padding: 40px 24px;
}
.auth-main > .brand {
  display: flex;
  margin-bottom: 48px;
  font-size: 24px;
}
.auth-main h1 {
  font-size: 28px;
  margin: 12px 0 28px;
}
.auth-main input {
  width: 100%;
  min-width: 0;
}
.auth-main #login-feedback {
  color: var(--red);
  overflow-wrap: anywhere;
}
.auth-company {
  padding: 20px 24px;
  text-align: right;
  font-size: 11px;
  color: var(--muted);
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: none;
  border: 0;
  color: inherit;
}
a {
  color: var(--green);
}
svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}
button:hover {
  background: #edf1ee;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #79b19a;
  outline-offset: 3px;
}
input:focus,
textarea:focus {
  outline: 2px solid #79b19a;
  outline-offset: 1px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 26px;
  line-height: 1.25;
  font-weight: 650;
}
h2 {
  font-size: 17px;
  font-weight: 650;
}
h3 {
  font-size: 17px;
}
small {
  font-size: 12px;
}
strong {
  font-weight: 600;
}
button,
small,
strong,
span,
p {
  overflow-wrap: anywhere;
}
[hidden] {
  display: none !important;
}
.skip {
  position: fixed;
  top: -50px;
  left: 10px;
  z-index: 100;
  background: white;
  padding: 10px;
}
.skip:focus {
  top: 10px;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 224px;
  padding: 27px 16px 20px;
  background: #fff;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  z-index: 10;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #222c26;
  font-size: 16px;
  padding: 0 10px;
}
.brand > span:last-child {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--green);
  color: white;
  border-radius: 7px;
  flex-shrink: 0;
}
.brand-mark svg {
  width: 20px;
  height: 20px;
}
.workspace-name {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 32px 7px 25px;
}
.workspace-name strong {
  font-size: 12px;
}
.workspace-name small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}
.avatar {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #f5f7f5;
  color: var(--green);
  flex-shrink: 0;
}
.nav-item {
  width: 100%;
  justify-content: flex-start;
  min-height: 43px;
  padding: 10px 13px;
  border-radius: 5px;
  margin: 2px 0;
  font-size: 13px;
  color: #59665d;
}
.nav-item.active {
  background: var(--soft);
  color: var(--green);
  font-weight: 600;
}
.nav-count {
  margin-left: auto;
  font-size: 11px;
  color: #657b6d;
}
.sidebar-section {
  margin-top: 30px;
}
.section-label {
  font-size: 10px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 12px;
  color: #7c877f;
}
.sidebar-bottom {
  margin-top: auto;
}
.mode-label {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 11px;
  margin: 21px 13px 12px;
  color: #65776a;
}
.company {
  font-size: 8px;
  color: #8d958f;
  display: block;
  margin-left: 13px;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #44816a;
  flex-shrink: 0;
}
.main-shell {
  margin-left: 224px;
}
.topbar {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 38px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.topbar-title {
  font-size: 12px;
  color: #6b776f;
}
.environment {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: #53665a;
  background: #f2f5f2;
  padding: 6px 9px;
  border-radius: 4px;
}
.environment svg {
  width: 14px;
  height: 14px;
}
#main {
  padding: 30px 38px 104px;
  max-width: 1530px;
  margin: auto;
  outline: none;
}
.page-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.breadcrumb {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  gap: 9px;
  margin-bottom: 10px;
}
.breadcrumb span {
  color: #a4ada6;
}
.page-tools {
  display: flex;
  align-items: center;
  gap: 16px;
}
.save-status {
  font-size: 11px;
  color: #708178;
}
.primary,
.secondary {
  min-height: 39px;
  padding: 10px 15px;
  border-radius: 5px;
  white-space: normal;
  font-size: 12px;
  font-weight: 600;
}
.primary {
  background: var(--green);
  color: white;
}
.primary:hover {
  background: #104a37;
}
.secondary {
  border: 1px solid #d9e1db;
  background: white;
}
.icon-btn {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 5px;
}
.icon-btn.small {
  width: 25px;
  height: 25px;
}
.icon-btn.small svg {
  width: 14px;
  height: 14px;
}
.text-btn {
  color: var(--green);
  font-size: 11px;
  min-height: 28px;
  padding: 0 4px;
}
.text-btn svg {
  width: 13px;
  height: 13px;
}
.compose-grid {
  display: grid;
  grid-template-columns: minmax(300px, 1.14fr) minmax(260px, 0.86fr);
  gap: 45px;
}
.editor {
  min-width: 0;
  padding-right: 12px;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 23px;
}
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 4px 7px;
  border-radius: 4px;
  background: #edf0ed;
  color: #626e65;
  font-size: 10px;
  line-height: 1.25;
  flex-shrink: 0;
}
.badge.simulated {
  background: #e7f1e9;
  color: #24643c;
}
.badge.scheduled {
  background: #fff1d9;
  color: #805719;
}
.field {
  display: block;
  margin-bottom: 24px;
  font-size: 12px;
  font-weight: 500;
}
.field > input,
.field > textarea {
  margin-top: 8px;
}
.field small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-weight: 400;
}
.label-row {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  min-height: 26px;
  margin-bottom: 7px;
  font-size: 12px;
}
.label-row .muted {
  font-size: 10px;
  font-weight: 400;
}
input:not([type="radio"]):not([type="checkbox"]):not([type="file"]),
textarea {
  width: 100%;
  border: 1px solid #dce3de;
  border-radius: 5px;
  background: #fff;
  color: #26322a;
  padding: 11px 12px;
  min-width: 0;
}
input::placeholder,
textarea::placeholder {
  color: #939d96;
  font-weight: 400;
}
textarea {
  resize: vertical;
  min-height: 134px;
  line-height: 1.6;
  font-weight: 400;
}
input[type="radio"] {
  accent-color: var(--green);
  width: 16px;
  height: 16px;
}
.channels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.channel {
  border: 1px solid var(--line);
  background: white;
  border-radius: 5px;
  padding: 9px 10px;
  font-size: 11px;
  min-height: 38px;
  gap: 7px;
}
.channel svg {
  width: 15px;
  height: 15px;
}
.channel svg:last-child {
  width: 12px;
  height: 12px;
  color: #8c988f;
}
.channel.selected {
  background: #f0f7f2;
  border-color: #81af98;
  color: #1b674a;
}
.channel.selected svg:last-child {
  color: #1b674a;
}
.field-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 7px;
  font-size: 10px;
  font-weight: 400;
  color: #89938c;
}
.upload-zone {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  border: 1px dashed #c5d4ca;
  border-radius: 6px;
  background: #f5f8f5;
  min-height: 118px;
  padding: 18px;
  cursor: pointer;
  overflow: hidden;
}
.upload-zone > svg {
  color: var(--green);
  width: 24px;
  height: 24px;
  margin-bottom: 2px;
}
.upload-zone strong {
  font-size: 12px;
}
.upload-zone span {
  font-size: 10px;
  color: #7e8b81;
}
.upload-zone input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.upload-zone:focus-within {
  outline: 2px solid #79b19a;
}
.sample-choice {
  margin-top: 10px;
  width: 100%;
  justify-content: flex-start;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 11px;
  padding: 5px;
  background: #fff;
  gap: 10px;
}
.sample-choice img {
  width: 34px;
  height: 34px;
  object-fit: cover;
  border-radius: 3px;
}
.sample-choice svg {
  margin-left: auto;
  width: 14px;
}
.asset-row {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.asset-thumb {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: var(--soft);
  border-radius: 4px;
  overflow: hidden;
}
.asset-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.asset-row > div:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.asset-row small {
  display: block;
  font-weight: 400;
  color: var(--muted);
  margin-top: 5px;
  font-size: 10px;
}
.source-line {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8a958d;
  font-size: 10px;
}
.source-line svg {
  width: 13px;
  height: 13px;
}
.source-line strong {
  color: #66776b;
}
.preview-panel {
  border-left: 1px solid var(--line);
  padding-left: 34px;
  min-width: 0;
}
.preview-heading {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}
.eyebrow {
  display: block;
  font-size: 10px;
  color: #768278;
  font-weight: 600;
  margin-bottom: 7px;
}
.preview-heading .eyebrow {
  margin: 0;
}
.subtle {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: #819086;
}
.subtle svg {
  width: 13px;
  height: 13px;
}
.preview-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  margin: 16px 0;
}
.preview-tabs .chosen {
  color: var(--green);
  background: #e7efe9;
  box-shadow: inset 0 0 0 1px #b7d1c0;
}
.post-preview {
  border: 1px solid #dee4df;
  border-radius: 8px;
  background: #fff;
  max-width: 365px;
  margin: 0 auto;
  overflow: hidden;
  box-shadow: 0 9px 24px #183a2510;
}
.post-preview > header {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px;
}
.post-avatar {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  background: #234b3b;
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  flex-shrink: 0;
}
.post-preview header strong {
  font-size: 10px;
}
.post-preview header small {
  display: block;
  font-size: 9px;
  margin-top: 3px;
  color: #849088;
}
.post-preview header > svg {
  margin-left: auto;
  width: 15px;
}
.post-media {
  aspect-ratio: 1;
  position: relative;
  background: #eef0ed;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.post-media > img,
.post-media > video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.sample-label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-size: 9px;
  background: #fffffff2;
  color: #4f5c51;
  padding: 4px 7px;
  border-radius: 3px;
}
.post-body {
  padding: 12px 14px 18px;
}
.post-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}
.post-actions svg {
  width: 17px;
  height: 17px;
}
.post-actions span {
  flex: 1;
}
.post-body p {
  white-space: pre-wrap;
  line-height: 1.6;
  font-size: 11px;
  min-height: 35px;
  overflow-wrap: anywhere;
}
.preview-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  color: #8a968e;
  padding: 18px 0;
}
.preview-meta span {
  display: flex;
  gap: 6px;
  align-items: center;
}
.preview-meta svg {
  width: 12px;
  height: 12px;
}
.email-subject {
  font-size: 11px;
  padding: 10px 13px;
  border-top: 1px solid var(--line);
}
.audio-art {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  width: 100%;
}
.audio-art > svg {
  width: 70px;
  height: 70px;
  color: var(--green);
}
audio {
  width: 100%;
}
.composer-footer {
  position: fixed;
  bottom: 0;
  left: 224px;
  right: 0;
  background: #fffffff5;
  border-top: 1px solid var(--line);
  padding: 15px 38px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  z-index: 5;
}
.composer-footer > div:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
}
.composer-footer small {
  display: block;
  margin-top: 3px;
  font-size: 9px;
  color: #7b8980;
}
.footer-actions {
  display: flex;
  gap: 9px;
}
.mobile-tabs,
.mobile-schedule,
.mobile-connections {
  display: none;
}
.muted {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}
.full {
  width: 100%;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0;
  width: min(470px, calc(100% - 28px));
  max-height: 88dvh;
  color: inherit;
  box-shadow: 0 20px 90px #172c2938;
}
dialog.wide {
  width: min(620px, calc(100% - 28px));
}
dialog::backdrop {
  background: #1b2e2559;
  backdrop-filter: blur(2px);
}
.dialog-head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  padding: 22px 25px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.dialog-body {
  padding: 23px 25px;
  overflow-wrap: anywhere;
}
.dialog-body .field {
  margin-bottom: 20px;
}
.dialog-body p {
  line-height: 1.7;
}
.dialog-body h3 {
  margin: 15px 0 10px;
}
.search-field {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 15px;
}
.search-field > svg {
  width: 17px;
  color: var(--muted);
}
.list-row {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  text-align: left;
  justify-content: flex-start;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}
.list-row > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.list-row strong {
  display: block;
  font-size: 12px;
}
.list-row small {
  display: block;
  font-size: 10px;
  color: #87938b;
  margin-top: 5px;
  line-height: 1.5;
}
.list-row > svg {
  width: 18px;
  color: #6c8274;
  flex-shrink: 0;
}
.list-row > svg:last-child {
  width: 14px;
}
.connection-state {
  text-align: center;
  padding: 15px 0 22px;
}
.connection-state > svg {
  width: 32px;
  height: 32px;
  color: var(--green);
}
.connection-state p {
  font-size: 12px;
  color: var(--muted);
}
.notice {
  background: #edf5ef;
  color: #40624d;
  padding: 13px;
  border-left: 3px solid #86b596;
  font-size: 12px;
  line-height: 1.7;
  margin: 18px 0;
}
.notice.warning {
  background: #fff3e8;
  color: #8d531c;
  border-color: #d29657;
}
.integration-flow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 7px;
  font-size: 11px;
}
.integration-flow svg {
  width: 13px;
  flex-shrink: 0;
}
.copy-field {
  display: flex;
  gap: 7px;
  align-items: center;
  margin-top: 8px;
}
.copy-field input {
  font-size: 11px;
}
.code-example {
  margin: 23px 0;
  background: #f4f6f4;
  padding: 15px;
  border-radius: 5px;
}
.code-example > span {
  font-size: 9px;
  color: var(--muted);
}
pre {
  font-family: Consolas, monospace;
  font-size: 11px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.7;
}
.readiness-row {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 11px;
  margin: 12px 0;
  color: var(--green);
}
.readiness-row svg {
  width: 16px;
  height: 16px;
}
.readiness-row.pending {
  color: #80663a;
}
.review-summary {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 13px;
  font-size: 12px;
}
.review-summary > span {
  color: var(--muted);
}
.delivery-options {
  border: 0;
  padding: 0;
  margin: 20px 0;
  display: flex;
  gap: 30px;
}
.delivery-options legend {
  font-size: 12px;
  margin-bottom: 12px;
}
.delivery-options label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
}
.calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.calendar-toolbar > div {
  display: flex;
  align-items: center;
  gap: 7px;
}
.calendar-toolbar .muted {
  font-size: 10px;
  margin-right: 10px;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  background: white;
}
.weekday {
  font-size: 10px;
  text-align: center;
  color: var(--muted);
  padding: 12px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.calendar-cell {
  min-height: 99px;
  padding: 8px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.other-month {
  background: #f6f8f6;
  color: #b2bcb4;
}
.day-number {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  font-size: 11px;
  margin-bottom: 4px;
  border-radius: 4px;
}
.today {
  background: var(--green);
  color: #fff;
}
.calendar-event {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  background: #e8f2eb;
  color: #215a39;
  font-size: 10px;
  padding: 6px;
  border-radius: 4px;
  width: 100%;
  text-align: left;
}
.calendar-event span {
  font-size: 8px;
}
.agenda {
  margin-top: 27px;
}
.agenda h2 {
  margin-bottom: 14px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 30px 0;
}
.metrics > div {
  padding: 25px 20px 25px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.metrics span {
  font-size: 11px;
  color: var(--muted);
}
.metrics strong {
  font-size: 28px;
  font-weight: 500;
}
.receipt-icon {
  display: grid;
  place-items: center;
  background: #e7f1e9;
  border-radius: 5px;
  width: 32px;
  height: 32px;
  color: var(--green);
}
.empty-state {
  text-align: center;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  padding: 65px 15px;
}
.empty-state > svg {
  width: 36px;
  height: 36px;
  color: #a7b9ad;
}
.empty-state h2 {
  color: #7a8a7f;
  font-size: 16px;
}
.mono {
  font-family: Consolas, monospace;
  font-size: 11px;
}
.receipt-text {
  white-space: pre-wrap;
  font-size: 12px;
  margin: 18px 0;
}
dt {
  font-size: 11px;
  color: var(--muted);
  margin-top: 15px;
}
dd {
  font-size: 12px;
  margin: 6px 0 0;
}
.loading {
  padding: 60px;
  text-align: center;
  line-height: 2;
}
.loading h1 {
  margin-bottom: 20px;
}
#toast {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translate(-50%, 10px);
  z-index: 50;
  border-radius: 6px;
  background: #203e30;
  color: white;
  padding: 12px 18px;
  max-width: calc(100% - 28px);
  width: max-content;
  font-size: 12px;
  line-height: 1.5;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.15s,
    transform 0.15s;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (min-width: 1450px) {
  .compose-grid {
    gap: 65px;
  }
  .preview-panel {
    padding-left: 50px;
  }
  .post-preview {
    max-width: 385px;
  }
  .editor {
    padding-right: 35px;
  }
}
@media (max-width: 1100px) {
  .sidebar {
    width: 190px;
    padding-left: 10px;
    padding-right: 10px;
  }
  .main-shell {
    margin-left: 190px;
  }
  .composer-footer {
    left: 190px;
    padding-left: 24px;
    padding-right: 24px;
  }
  #main {
    padding-left: 24px;
    padding-right: 24px;
  }
  .topbar {
    padding: 0 24px;
  }
  .compose-grid {
    gap: 20px;
    grid-template-columns: minmax(260px, 1fr) minmax(235px, 0.8fr);
  }
  .preview-panel {
    padding-left: 20px;
  }
  .editor {
    padding: 0;
  }
  .brand {
    font-size: 14px;
  }
  .brand > span:last-child {
    gap: 3px;
  }
  .brand-mark {
    width: 29px;
    height: 29px;
  }
  .workspace-name {
    margin-top: 27px;
  }
  h1 {
    font-size: 23px;
  }
  .page-tools {
    gap: 8px;
  }
}
@media (max-width: 850px) {
  .sidebar {
    width: 72px;
    padding: 20px 8px;
  }
  .brand {
    padding: 0;
    justify-content: center;
  }
  .brand > span:last-child,
  .workspace-name,
  .nav-item > span,
  .section-label,
  .company,
  .mode-label {
    display: none;
  }
  .nav-item {
    justify-content: center;
    padding: 12px;
  }
  .sidebar nav {
    margin-top: 30px;
  }
  .sidebar-section {
    margin-top: 25px;
  }
  .sidebar-bottom {
    margin-bottom: 10px;
  }
  .main-shell {
    margin-left: 72px;
  }
  .composer-footer {
    left: 72px;
  }
  .topbar-title {
    font-size: 11px;
  }
  .save-status {
    display: none;
  }
  .calendar-toolbar .muted {
    display: none;
  }
  .compose-grid {
    gap: 20px;
    grid-template-columns: minmax(250px, 1fr) minmax(235px, 0.85fr);
  }
}
@media (max-width: 640px) {
  .sidebar {
    inset: auto 0 0;
    width: 100%;
    height: 62px;
    flex-direction: row;
    padding: 4px 10px;
    border-top: 1px solid var(--line);
    border-right: 0;
    align-items: center;
    justify-content: space-between;
  }
  .brand,
  .sidebar-section {
    display: none;
  }
  .sidebar nav {
    display: flex;
    margin: 0;
    flex: 1;
    justify-content: space-around;
  }
  .nav-item {
    flex-direction: column;
    gap: 3px;
    min-height: 46px;
    font-size: 9px;
    margin: 0;
    padding: 6px 13px;
    width: auto;
  }
  .nav-item > span:not(.nav-count) {
    display: block;
  }
  .nav-item > svg {
    width: 18px;
    height: 18px;
  }
  .sidebar-bottom {
    margin: 0;
  }
  .sidebar-bottom .nav-item {
    padding-left: 10px;
    padding-right: 10px;
  }
  .main-shell {
    margin: 0;
  }
  .topbar {
    height: 52px;
    padding: 0 18px;
  }
  .topbar-title {
    font-size: 11px;
  }
  .environment {
    font-size: 9px;
    padding: 5px 7px;
  }
  .environment svg {
    width: 12px;
  }
  .mobile-connections {
    display: flex;
    width: 29px;
    height: 29px;
  }
  .topbar-title {
    display: none;
  }
  #main {
    padding: 22px 18px 154px;
  }
  .page-top {
    margin-bottom: 22px;
    align-items: flex-start;
    gap: 10px;
  }
  h1 {
    font-size: 22px;
  }
  .breadcrumb {
    font-size: 10px;
    margin-bottom: 8px;
  }
  .page-tools .secondary {
    min-height: 32px;
    padding: 7px;
  }
  .page-tools .secondary span {
    display: none;
  }
  .page-tools .secondary svg {
    width: 16px;
    height: 16px;
  }
  .mobile-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-bottom: 1px solid var(--line);
    margin-bottom: 25px;
  }
  .mobile-tabs button {
    padding: 11px 5px;
    font-size: 12px;
    color: var(--muted);
    border-bottom: 2px solid transparent;
  }
  .mobile-tabs button.active {
    border-bottom-color: var(--green);
    color: var(--green);
    font-weight: 600;
  }
  .compose-grid {
    display: block;
  }
  .preview-panel {
    display: none;
    border: 0;
    padding: 0;
  }
  .mobile-preview .editor,
  .mobile-schedule .editor {
    display: none;
  }
  .mobile-preview .preview-panel {
    display: block;
  }
  .mobile-schedule .mobile-schedule {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .section-title {
    margin-bottom: 21px;
  }
  .field {
    margin-bottom: 23px;
  }
  .channels {
    gap: 7px;
  }
  .channel {
    padding: 9px 10px;
    flex: 1 0 29%;
    justify-content: space-between;
    font-size: 10px;
  }
  .label-row .muted {
    font-size: 9px;
  }
  .field-bottom {
    font-size: 9px;
  }
  .composer-footer {
    bottom: 62px;
    left: 0;
    padding: 12px 18px;
    background: #fff;
  }
  .composer-footer > div:first-child {
    font-size: 10px;
    gap: 6px;
    min-width: 0;
  }
  .composer-footer small {
    font-size: 8px;
  }
  .footer-actions {
    gap: 6px;
  }
  .primary,
  .secondary {
    min-height: 38px;
    padding: 9px 12px;
    font-size: 11px;
  }
  .footer-actions .secondary svg {
    display: none;
  }
  .footer-actions .primary svg {
    width: 14px;
  }
  .post-preview {
    max-width: 350px;
  }
  .preview-heading {
    margin-top: 7px;
  }
  .dialog-head {
    padding: 19px;
  }
  .dialog-body {
    padding: 20px 19px;
  }
  .list-row {
    gap: 10px;
  }
  .list-row strong {
    font-size: 11px;
  }
  .list-row small {
    font-size: 9px;
  }
  .list-row .badge {
    font-size: 9px;
  }
  .calendar-toolbar {
    align-items: flex-start;
  }
  .calendar-toolbar h2 {
    font-size: 16px;
    padding-top: 8px;
  }
  .calendar-toolbar > div {
    gap: 2px;
  }
  .calendar-grid {
    display: none;
  }
  .agenda {
    margin-top: 20px;
  }
  .metrics {
    gap: 12px;
  }
  .metrics > div {
    padding: 18px 0;
  }
  .metrics span {
    font-size: 10px;
  }
  .metrics strong {
    font-size: 24px;
  }
  .page-top > .primary {
    padding: 8px;
    font-size: 10px;
    max-width: 130px;
  }
  .page-top > .primary svg {
    width: 15px;
  }
  .page-top > .secondary {
    padding: 8px;
    font-size: 10px;
  }
  .integration-flow {
    font-size: 9px;
    gap: 4px;
  }
  .integration-flow svg {
    width: 11px;
  }
  #toast {
    bottom: 142px;
  }
  .loading {
    padding: 40px 18px;
  }
  .badge {
    max-width: 120px;
  }
  .source-line {
    margin-bottom: 10px;
  }
}
.compose-grid.mobile-schedule {
  display: grid;
}
.skip:not(:focus-visible) {
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
  top: 0;
  padding: 0;
}
@media (max-width: 380px) {
  .channel {
    flex-basis: 44%;
  }
  .channel span {
    white-space: nowrap;
  }
  .label-row {
    flex-wrap: wrap;
    row-gap: 3px;
  }
  .field-bottom {
    font-size: 9px;
  }
}
@media (max-width: 640px) {
  .compose-grid.mobile-schedule {
    display: block;
  }
}
@media (max-width: 640px) {
  .topbar-title {
    display: inline;
    font-size: 11px;
    font-weight: 600;
  }
  .environment {
    font-size: 8px;
    gap: 4px;
    padding: 5px;
  }
  .topbar {
    gap: 6px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
.provider-setup {
  border-block: 1px solid var(--line);
  margin: 20px 0;
  padding: 14px 0;
}
.provider-setup summary {
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
}
.provider-setup summary span {
  float: right;
  font-size: 10px;
  color: var(--muted);
  font-weight: 400;
}
.provider-fields {
  padding-top: 18px;
}
.provider-fields > .muted {
  margin-bottom: 18px;
}
.provider-doc {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 16px 0;
  font-size: 11px;
  text-decoration: none;
}
.provider-doc svg {
  width: 13px;
  height: 13px;
}
.connection-overview {
  display: flex;
  align-items: center;
  gap: 12px;
}
.connection-overview > svg {
  width: 28px;
  height: 28px;
  color: var(--green);
}
.connection-overview > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  min-width: 0;
}
.connection-overview strong {
  font-size: 14px;
}
.connection-checked {
  font-size: 10px;
  color: var(--muted);
  margin-top: 12px;
}
.connection-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}
.danger {
  color: #a04439;
}
.field select {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  color: inherit;
}
