.handoff-download {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow-wrap: anywhere;
}
.preview-image .media-preview-strip {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}
.media-preview-strip figure {
  margin: 0;
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  scroll-snap-align: start;
  background: #edf2e9;
}
.media-preview-strip img,
.media-preview-strip video {
  display: block;
  width: 100%;
  height: calc(100% - 34px);
  object-fit: contain;
}
.media-preview-strip figcaption {
  padding: 7px;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.compose-preview .preview-image.portrait {
  aspect-ratio: 9/16;
}
.status.manual {
  background: #e7e3f3;
  color: #654887;
}
.status.processing {
  background: #e0ecf4;
  color: #28536c;
}
.status.completed_manual {
  background: #e6f0e4;
  color: #385c38;
}
@media (max-width: 950px) {
  .compose-layout .compose-preview {
    display: block;
    max-width: 360px;
    width: 100%;
    justify-self: center;
  }
  .compose-layout .compose-preview .preview-image {
    max-height: 450px;
  }
}
svg {
  width: 20px;
  height: 20px;
}
.section-space {
  margin-top: 24px;
}
:root {
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #172c26;
  background: #f4f6f3;
  font-size: 16px;
  font-synthesis: none;
  --ink: #172c26;
  --muted: #69776f;
  --line: #dee5df;
  --green: #275c43;
  --mint: #b4efb3;
  --paper: #fff;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}
a {
  color: var(--green);
}
button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 0.7rem 1rem;
  border-radius: 10px;
  font-weight: 550;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
button:hover {
  background: #edf3ed;
}
button.primary {
  background: var(--green);
  border-color: var(--green);
  color: white;
}
button.primary:hover {
  background: #18422e;
}
button.quiet {
  background: transparent;
  border-color: transparent;
}
button.danger {
  color: #a13132;
}
input,
select,
textarea {
  border: 1px solid #cdd7ce;
  padding: 0.78rem;
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  width: 100%;
  min-width: 0;
}
textarea {
  resize: vertical;
  min-height: 150px;
  line-height: 1.65;
}
label {
  display: grid;
  gap: 0.45rem;
  font-size: 0.875rem;
  font-weight: 600;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 2rem;
  letter-spacing: -0.065rem;
  font-weight: 600;
}
h2 {
  font-size: 1.3rem;
  letter-spacing: -0.025rem;
}
h3 {
  font-size: 1rem;
}
p {
  line-height: 1.65;
}
small,
.meta {
  font-size: 0.8rem;
  color: var(--muted);
}
.muted {
  color: var(--muted);
}
.shell {
  display: grid;
  grid-template-columns: 246px minmax(0, 1fr);
  min-height: 100dvh;
}
.sidebar {
  background: #132521;
  color: #d5dfd8;
  padding: 30px 19px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: fixed;
  inset: 0 auto 0 0;
  width: 246px;
  overflow: auto;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  color: white;
  padding: 0 8px;
  font-weight: 650;
  font-size: 1.08rem;
}
.logo-mark {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--mint);
  color: #142c21;
  font-size: 2rem;
  font-weight: 750;
  letter-spacing: -3px;
  padding-right: 4px;
}
.brand-logo small {
  display: block;
  color: #96afa1;
  font-size: 0.69rem;
  letter-spacing: 2px;
  margin-top: 4px;
  font-weight: 500;
}
.nav {
  display: grid;
  gap: 6px;
}
.nav button {
  justify-content: flex-start;
  background: none;
  border: 0;
  color: #bacbc2;
  font-weight: 450;
  border-radius: 8px;
  padding: 12px;
}
.nav button.active {
  background: #294038;
  color: #c4f7c3;
}
.nav button:hover {
  background: #233a31;
}
.nav svg {
  width: 20px;
  height: 20px;
}
.nav-label {
  color: #89a195;
  font-size: 0.73rem;
  letter-spacing: 1.4px;
  padding: 0 12px;
  margin-bottom: 10px;
}
.side-bottom {
  margin-top: auto;
  border-top: 1px solid #314239;
  padding-top: 20px;
  display: flex;
  gap: 11px;
  align-items: center;
}
.avatar {
  background: #345245;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font-size: 0.875rem;
  color: white;
}
.side-bottom small {
  color: #9ab0a4;
}
.main {
  grid-column: 2;
  padding: 0 38px 38px;
  min-width: 0;
}
.topbar {
  height: 83px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  gap: 16px;
}
.breadcrumb {
  font-size: 0.875rem;
  color: var(--muted);
}
.breadcrumb strong {
  color: var(--ink);
  font-weight: 500;
}
.top-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.tag {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 5px 10px;
  font-size: 0.78rem;
  white-space: nowrap;
}
.tag.good {
  background: #e8f4e5;
  color: #316239;
  border-color: #d4e9cd;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 0 24px;
}
.page-heading p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.94rem;
}
.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 9px;
}
.connect-banner {
  padding: 16px 20px;
  border: 1px solid #d1e3cc;
  background: #eaf2e6;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}
.connect-banner p {
  font-size: 0.875rem;
  color: #4e6550;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 26px;
}
.stat {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  padding: 20px;
}
.stat-top {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.875rem;
}
.stat strong {
  display: block;
  font-size: 2rem;
  letter-spacing: -1px;
  font-weight: 550;
  margin: 12px 0 4px;
}
.stat small {
  font-size: 0.8rem;
}
.studio-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 285px;
  gap: 22px;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}
.panel-body {
  padding: 20px;
}
.toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.toolbar select {
  width: auto;
  max-width: 230px;
  padding: 9px 12px;
  font-size: 0.875rem;
}
.segmented {
  display: flex;
  background: #eef2ed;
  border-radius: 8px;
  padding: 3px;
  gap: 3px;
}
.segmented button {
  border: 0;
  background: transparent;
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 0.875rem;
}
.segmented button.active {
  background: #fff;
  box-shadow: 0 1px 4px #172c2612;
}
.icon-button {
  padding: 8px;
  min-width: 36px;
}
.month-title {
  min-width: 150px;
  font-size: 1rem;
}
.calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.weekdays,
.days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.weekdays {
  border-bottom: 1px solid var(--line);
  background: #fafbf9;
}
.weekdays span {
  padding: 12px;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
}
.day {
  min-height: 122px;
  border-right: 1px solid #e8ece7;
  border-bottom: 1px solid #e8ece7;
  padding: 8px;
  min-width: 0;
}
.day:nth-child(7n) {
  border-right: 0;
}
.day.out {
  background: #fafbf9;
  color: #aeb8ae;
}
.day-num {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  min-height: 26px;
}
.day-num button {
  padding: 1px 5px;
  font-size: 0.9rem;
  border: 0;
  background: none;
  opacity: 0;
}
.day:hover .day-num button,
.day:focus-within .day-num button {
  opacity: 1;
}
.today .date-badge {
  background: var(--green);
  color: white;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
}
.calendar-post {
  display: block;
  text-align: left;
  width: 100%;
  border: 0;
  background: #eaf1e8;
  padding: 7px;
  margin-top: 6px;
  border-radius: 5px;
  font-size: 0.75rem;
  font-weight: 450;
  overflow: hidden;
}
.calendar-post strong {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.75rem;
}
.calendar-post small {
  font-size: 0.75rem;
}
.calendar-post[data-status="blocked"],
.calendar-post[data-status="review"] {
  background: #fff1dc;
}
.empty {
  padding: 38px 24px;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 12px;
}
.empty p {
  max-width: 420px;
  color: var(--muted);
  font-size: 0.94rem;
}
.empty-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: #eef4ec;
  border-radius: 14px;
  margin-bottom: 3px;
}
.aside-stack {
  display: grid;
  gap: 20px;
  align-content: start;
}
.brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid #edf0ea;
}
.brand-row:last-child {
  border-bottom: 0;
}
.brand-chip {
  width: 37px;
  height: 37px;
  border-radius: 10px;
  background: #eff1e9;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 650;
}
.brand-chip[data-color="forest"] {
  background: #dbe9d5;
  color: #2b563d;
}
.brand-chip[data-color="ocean"] {
  background: #dcebed;
  color: #286275;
}
.brand-chip[data-color="gold"] {
  background: #f3e7c4;
  color: #76611e;
}
.brand-chip[data-color="purple"] {
  background: #e7dff0;
  color: #6b437d;
}
.brand-chip[data-color="rose"] {
  background: #f1dfe4;
  color: #894154;
}
.brand-info {
  min-width: 0;
  flex: 1;
}
.brand-info strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 550;
}
.brand-info small {
  font-size: 0.75rem;
}
.note-box {
  background: #132521;
  color: #ecf3ed;
  padding: 22px;
  border-radius: 13px;
}
.note-box p {
  color: #bccdc1;
  font-size: 0.875rem;
  margin: 10px 0 18px;
}
.note-box button {
  background: #b4efb3;
  border: 0;
  color: #1d3525;
  width: 100%;
}
.list {
  display: grid;
  gap: 12px;
}
.post-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}
.post-thumb {
  width: 62px;
  height: 72px;
  border-radius: 8px;
  object-fit: cover;
  background: #edf1e9;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  overflow: hidden;
}
.post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-summary {
  flex: 1;
  min-width: 0;
}
.post-summary h3 {
  margin: 5px 0;
}
.post-summary p {
  color: var(--muted);
  font-size: 0.875rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 580px;
}
.status {
  font-size: 0.75rem;
  border-radius: 30px;
  padding: 4px 8px;
  background: #eef0ec;
  color: #60705f;
  display: inline-block;
}
.status.scheduled,
.status.published {
  background: #e1efd9;
  color: #356231;
}
.status.blocked,
.status.review,
.status.failed {
  background: #fff0d9;
  color: #845811;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}
.brand-card {
  padding: 24px;
}
.brand-card .brand-chip {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
}
.brand-card h2 {
  margin-bottom: 8px;
}
.brand-card p {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 20px;
}
.brand-card .toolbar {
  margin-top: 22px;
}
.grid-layout {
  display: grid;
  grid-template-columns: minmax(280px, 430px) minmax(240px, 1fr);
  gap: 30px;
  align-items: start;
}
.phone-frame {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: white;
  padding: 20px;
  box-shadow: 0 12px 35px #172c260a;
}
.phone-profile {
  padding: 12px 5px 24px;
  display: flex;
  gap: 16px;
  align-items: center;
}
.phone-profile .brand-chip {
  width: 55px;
  height: 55px;
  border-radius: 50%;
}
.feed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}
.feed-tile {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: #edf1e9;
  aspect-ratio: 3/4;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 400;
}
.feed-tile img,
.feed-tile video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feed-tile .tile-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 7px;
  background: #132521d9;
  color: white;
  font-size: 0.75rem;
}
.feed-tile .tile-num {
  position: absolute;
  top: 5px;
  left: 5px;
  background: white;
  border-radius: 50%;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  color: #132521;
  font-size: 0.75rem;
}
.tip {
  border-left: 3px solid #96c884;
  padding: 12px 18px;
  margin: 20px 0;
  background: #edf3e9;
  font-size: 0.875rem;
  line-height: 1.7;
  color: #52654d;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.span-2 {
  grid-column: 1/-1;
}
.form-stack {
  display: grid;
  gap: 20px;
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 16px;
}
.media-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  overflow: hidden;
}
.media-card img,
.media-card video {
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
  display: block;
  background: #eaf0e8;
}
.media-card .panel-body {
  padding: 12px;
  overflow-wrap: anywhere;
}
.media-card button {
  width: 100%;
  margin-top: 10px;
}
.caption-card {
  padding: 22px;
}
.caption-card p {
  margin: 15px 0 20px;
  white-space: pre-wrap;
  font-size: 0.95rem;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.metrics-row {
  display: flex;
  gap: 30px;
  margin: 20px 0;
}
.metrics-row strong {
  display: block;
  font-size: 1.7rem;
  font-weight: 550;
}
.metrics-row small {
  display: block;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.875rem;
}
th {
  font-weight: 500;
  color: var(--muted);
  background: #f8faf6;
}
td,
th {
  padding: 16px;
  border-bottom: 1px solid var(--line);
}
.settings-section {
  padding: 24px;
  display: grid;
  gap: 15px;
}
.settings-section p {
  color: var(--muted);
  font-size: 0.94rem;
}
.settings-section code {
  overflow-wrap: anywhere;
  font-size: 0.875rem;
}
.page-footer {
  margin-top: 26px;
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.mobile-brand {
  display: none;
}
.error-banner {
  padding: 14px;
  border: 1px solid #edc6c2;
  border-radius: 9px;
  background: #fff0ed;
  color: #923e31;
  margin-bottom: 20px;
}
.startup {
  min-height: 100dvh;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 16px;
  padding: 30px;
}
.login-card {
  width: min(100%, 430px);
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px;
  display: grid;
  gap: 22px;
}
.login-card h1 {
  font-size: 1.7rem;
}
.startup .intro {
  text-align: center;
  max-width: 450px;
}
.preview-bar {
  padding: 12px;
  background: #fff0d9;
  color: #73521d;
  font-size: 0.875rem;
  line-height: 1.5;
  border-bottom: 1px solid #e5d4b2;
  text-align: center;
}
.preview-bar button {
  font-size: 0.8rem;
  padding: 5px 10px;
  margin-left: 12px;
}
dialog {
  border: 0;
  border-radius: 18px;
  padding: 0;
  width: min(920px, calc(100% - 28px));
  max-height: 90dvh;
  color: var(--ink);
  box-shadow: 0 30px 100px #0b261744;
}
dialog::backdrop {
  background: #0c211e99;
  backdrop-filter: blur(3px);
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
}
.dialog-body {
  padding: 26px;
}
.dialog-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 20px 26px;
  border-top: 1px solid var(--line);
  background: #f9fbf7;
}
.compose-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 26px;
}
.compose-preview {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  align-self: start;
}
.compose-preview .preview-image {
  aspect-ratio: 1;
  background: #edf2e9;
  display: grid;
  place-items: center;
}
.preview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.compose-preview p {
  padding: 16px;
  font-size: 0.875rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.check-row {
  display: flex;
  gap: 18px;
  align-items: center;
}
.check-row label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
}
.check-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}
.asset-picker {
  max-height: 170px;
  overflow: auto;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.asset-option {
  border: 2px solid transparent;
  padding: 3px;
  width: 66px;
  height: 66px;
  position: relative;
}
.asset-option.selected {
  border-color: var(--green);
}
.asset-option img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.asset-option small {
  position: absolute;
  bottom: 0;
  right: 0;
  background: white;
  color: #132521;
}
.word-count {
  text-align: right;
  font-size: 0.8rem;
  color: var(--muted);
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  background: #132521;
  color: white;
  box-shadow: 0 6px 22px #0002;
  padding: 14px 22px;
  border-radius: 12px;
  max-width: 90%;
  display: none;
  font-size: 0.875rem;
}
.upload-box {
  border: 1px dashed #a8bca3;
  border-radius: 12px;
  padding: 25px;
  background: #f7faf4;
}
.upload-box input {
  background: white;
  margin-top: 12px;
}
.section-space {
  margin-bottom: 22px;
}
.full {
  width: 100%;
}
.nowrap {
  white-space: nowrap;
}
.hidden {
  display: none !important;
}
.nowrap-text {
  overflow-wrap: anywhere;
}
svg {
  flex-shrink: 0;
}
button svg {
  width: 18px;
  height: 18px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (min-width: 1600px) {
  .main {
    padding-right: 60px;
    padding-left: 60px;
  }
  .day {
    min-height: 145px;
  }
}
@media (max-width: 1220px) {
  .studio-layout {
    grid-template-columns: 1fr;
  }
  .aside-stack {
    grid-template-columns: 1fr 1fr;
  }
  .main {
    padding-left: 26px;
    padding-right: 26px;
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 16px;
  }
}
@media (max-width: 950px) {
  .shell {
    grid-template-columns: 205px minmax(0, 1fr);
  }
  .sidebar {
    width: 205px;
    padding: 25px 12px;
  }
  .brand-logo {
    font-size: 0.95rem;
  }
  .main {
    padding-left: 20px;
    padding-right: 20px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .top-actions .tag {
    display: none;
  }
  .grid-layout {
    grid-template-columns: 1fr;
  }
  .phone-frame {
    max-width: 430px;
    width: 100%;
  }
  .two-col {
    grid-template-columns: 1fr;
  }
  .compose-layout {
    grid-template-columns: 1fr;
  }
  .compose-preview {
    display: none;
  }
  .day {
    min-height: 95px;
    padding: 5px;
  }
  .month-title {
    min-width: 125px;
  }
  .panel-head {
    padding: 16px;
    flex-wrap: wrap;
  }
}
@media (max-width: 700px) {
  .shell {
    display: block;
  }
  .sidebar {
    position: fixed;
    inset: auto 0 0;
    width: 100%;
    height: 75px;
    padding: 7px 8px max(7px, env(safe-area-inset-bottom));
    z-index: 20;
    overflow: visible;
    border-top: 1px solid #365044;
  }
  .sidebar .brand-logo,
  .sidebar .side-bottom,
  .sidebar .nav-label,
  .sidebar .secondary-nav {
    display: none;
  }
  .nav {
    display: flex;
    justify-content: space-around;
    gap: 0;
  }
  .nav button {
    flex-direction: column;
    padding: 8px 6px;
    gap: 4px;
    font-size: 0.7rem;
    min-width: 54px;
  }
  .nav button .nav-name {
    font-size: 0.7rem;
  }
  .main {
    padding: 0 16px 100px;
  }
  .topbar {
    height: 69px;
  }
  .breadcrumb {
    display: none;
  }
  .mobile-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 650;
    font-size: 0.95rem;
  }
  .mobile-brand .logo-mark {
    height: 31px;
    width: 31px;
    font-size: 1.6rem;
    border-radius: 9px;
  }
  .top-actions {
    gap: 3px;
  }
  .top-actions button {
    padding: 7px;
    font-size: 0.8rem;
  }
  .page-heading {
    padding: 24px 0 20px;
    align-items: flex-start;
    gap: 10px;
  }
  .page-heading h1 {
    font-size: 1.65rem;
  }
  .page-heading p {
    font-size: 0.875rem;
  }
  .page-heading button {
    font-size: 0.875rem;
    padding: 10px 12px;
    white-space: nowrap;
  }
  .eyebrow {
    font-size: 0.7rem;
  }
  .connect-banner {
    padding: 14px;
    gap: 12px;
    align-items: flex-start;
  }
  .connect-banner strong {
    font-size: 0.875rem;
  }
  .connect-banner p {
    font-size: 0.8rem;
  }
  .connect-banner button {
    font-size: 0.8rem;
    padding: 8px;
    white-space: nowrap;
  }
  .stats {
    gap: 10px;
    margin-bottom: 20px;
  }
  .stat {
    padding: 15px;
  }
  .stat-top {
    font-size: 0.8rem;
  }
  .stat strong {
    font-size: 1.65rem;
    margin-top: 10px;
  }
  .stat small {
    font-size: 0.75rem;
  }
  .aside-stack {
    grid-template-columns: 1fr;
  }
  .panel-head {
    padding: 14px;
    gap: 10px;
  }
  .toolbar {
    gap: 6px;
  }
  .toolbar select {
    max-width: 160px;
    font-size: 0.8rem;
  }
  .month-title {
    min-width: 125px;
    font-size: 0.95rem;
  }
  .weekdays span {
    padding: 10px 2px;
    font-size: 0.7rem;
  }
  .day {
    min-height: 82px;
    padding: 3px;
  }
  .day-num {
    font-size: 0.75rem;
  }
  .day-num button {
    display: none;
  }
  .calendar-post {
    padding: 4px 3px;
    font-size: 0.65rem;
  }
  .calendar-post strong {
    font-size: 0.75rem;
  }
  .calendar-post small {
    display: none;
  }
  .date-badge {
    padding: 3px;
  }
  .post-row {
    gap: 10px;
    padding: 12px;
    flex-wrap: wrap;
  }
  .post-thumb {
    width: 45px;
    height: 55px;
  }
  .post-summary p {
    max-width: 220px;
  }
  .post-row > button {
    margin-left: auto;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .span-2 {
    grid-column: auto;
  }
  .dialog-head {
    padding: 16px;
  }
  .dialog-body {
    padding: 18px;
  }
  .dialog-footer {
    padding: 14px;
    flex-wrap: wrap;
  }
  .dialog-footer button {
    font-size: 0.875rem;
  }
  .dialog-footer .toolbar {
    margin-left: auto;
  }
  dialog {
    max-height: 94dvh;
  }
  .page-footer {
    flex-direction: column;
    font-size: 0.75rem;
  }
  .media-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .grid-layout {
    gap: 20px;
  }
  .preview-bar {
    font-size: 0.8rem;
  }
  .status {
    font-size: 0.75rem;
  }
  .login-card {
    padding: 24px;
  }
  .check-row {
    flex-wrap: wrap;
  }
  .settings-section {
    padding: 20px;
  }
}
