:root {
  color-scheme: dark;
  --bg: #0c0d10;
  --sidebar: #111216;
  --surface: #131418;
  --raised: #18191e;
  --line: #25262d;
  --control-line: #30323a;
  --hover: #202127;
  --ink: #f1f1f3;
  --muted: #999aa4;
  --accent: #ff6b4a;
  --coral: #ff4d5e;
  --gradient: linear-gradient(135deg, var(--coral), var(--accent));
  --tint: #332226;
  --rail: clamp(194px, 15.1vw, 230px);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    14px/1.5 Inter,
    system-ui,
    sans-serif;
}
button,
input,
select {
  font: inherit;
}
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 13px;
  background: var(--raised);
  color: var(--ink);
  border: 1px solid var(--control-line);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 540;
  cursor: pointer;
}
button:disabled {
  opacity: 0.45;
  cursor: default;
}
button:hover:enabled {
  background: var(--hover);
  border-color: #4b4c55;
}
button.primary,
.brand i {
  background: var(--gradient);
  border: 1px solid transparent;
  color: white;
  box-shadow: inset 0 1px 0 #ffffff2e, 0 4px 14px -6px #ff4d5e8c;
}
button.primary:hover:enabled {
  background: var(--gradient);
  filter: brightness(1.08);
}
.icon {
  width: 17px;
  height: 17px;
  flex: none;
  display: block;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--rail);
  z-index: 2;
  display: flex;
  flex-direction: column;
  padding: 24px 14px 16px;
  background: var(--sidebar);
  border-right: 1px solid var(--line);
}
.brand {
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 710;
  letter-spacing: -0.035em;
  font-size: 17px;
}
.sidebar .brand {
  padding: 2px 6px 28px;
}
.brand i {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  font-weight: 800;
  font-style: normal;
  font-size: 13px;
  letter-spacing: -0.06em;
}
#workspace-menu {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  overflow: auto;
}
.wide {
  width: 100%;
}
.jump,
.zone-control {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: 8px;
  padding: 0 9px;
}
.jump {
  margin: 13px 0;
  background: var(--raised);
}
.jump input,
.zone-control input {
  background: transparent;
  border: 0;
  padding: 8px 0;
  min-width: 0;
  width: 100%;
  font-size: 12px;
}
.jump:focus-within,
.zone-control:focus-within {
  outline: 2px solid var(--accent);
}
.jump input:focus,
.zone-control input:focus {
  outline: 0;
}
kbd {
  color: var(--muted);
  border: 1px solid var(--control-line);
  border-radius: 4px;
  line-height: 1;
  padding: 2px 4px;
}
nav {
  display: grid;
  gap: 3px;
}
.tab,
.plain {
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  justify-content: flex-start;
}
.tab {
  padding: 7px 9px;
  width: 100%;
}
.tab.selected {
  background: var(--hover);
  color: var(--ink);
}
.tab.selected .icon {
  color: var(--coral);
}
.tab.settings-start {
  margin-top: 12px;
}
.sidebar-foot {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.zone-control {
  width: 100%;
  margin-bottom: 6px;
}
.sidebar-foot .plain {
  width: 100%;
}
#no-section,
.period,
.note,
.heading p,
#empty p,
.app p,
.login p {
  color: var(--muted);
}
#no-section {
  padding: 8px;
}
#toggle-menu {
  display: none;
}
main {
  margin-left: var(--rail);
  padding: 32px clamp(24px, 3vw, 54px) 56px;
  min-width: 0;
}
h1,
h2,
p {
  margin: 0;
}
h1 {
  font-size: clamp(25px, 2.2vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.045em;
  font-weight: 660;
}
h2 {
  font-size: 16px;
  letter-spacing: -0.025em;
  font-weight: 620;
}
.eyebrow {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 650;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 3px;
}
.heading,
.actions,
.panel-head,
.dialog-head,
.app,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.heading {
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.heading p,
.login p,
.note,
.app p {
  margin-top: 5px;
}
.actions {
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}
.stats,
.panel,
.app,
.login section {
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 16px;
  overflow: hidden;
}
.stats article {
  min-width: 0;
  padding: 18px 22px;
  border-right: 1px solid var(--line);
}
.stats article:last-child {
  border-right: 0;
}
.stats span {
  color: var(--muted);
  font-size: 13px;
}
.stats strong {
  display: block;
  font-size: 24px;
  line-height: 1.45;
  letter-spacing: -0.04em;
  font-weight: 620;
  font-variant-numeric: tabular-nums;
}
.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  align-items: start;
  gap: 16px;
}
.overview-grid .panel {
  padding: 18px 20px;
  min-height: 190px;
}
.panel-head {
  gap: 8px;
}
.text-action {
  padding: 3px 0;
  border: 0;
  color: var(--accent);
  background: transparent;
}
.text-action .icon {
  width: 14px;
}
.text-action:hover:enabled {
  background: transparent;
  text-decoration: underline;
}
.period {
  font-size: 12px;
  margin-top: 2px;
}
.account-activity {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}
#activity {
  margin-top: 15px;
}
.account-activity strong,
.account-activity small {
  display: block;
}
.account-activity small,
.post-count {
  color: var(--muted);
  font-size: 12px;
}
.platform-mark {
  display: grid;
  place-items: center;
  background: var(--tint);
  color: #ffbbaa;
  border-radius: 8px;
  width: 35px;
  height: 35px;
  font-size: 18px;
  font-weight: 700;
  flex: none;
}
.post-count {
  margin-left: auto;
  white-space: nowrap;
}
#upcoming > button {
  display: flex;
  width: 100%;
  margin-top: 10px;
  text-align: left;
  justify-content: flex-start;
}
input,
select {
  border: 1px solid var(--control-line);
  border-radius: 7px;
  background: var(--raised);
  color: var(--ink);
  padding: 8px 10px;
  min-width: 0;
  max-width: 100%;
}
input::placeholder {
  color: #898a94;
}
.filters,
footer {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 14px 16px;
}
.filters input {
  flex: 1;
  min-width: 110px;
}
.scroll {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
th,
td {
  padding: 12px 16px;
  max-width: 320px;
  overflow-wrap: anywhere;
  border-bottom: 1px solid var(--line);
}
th {
  background: var(--raised);
  color: var(--muted);
  font-size: 12px;
}
td small {
  display: block;
  color: var(--muted);
}
.identity {
  display: flex;
  align-items: center;
  gap: 10px;
}
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--raised);
}
.pill {
  display: inline-block;
  background: #183730;
  color: #95dec7;
  border: 1px solid #275045;
  border-radius: 5px;
  padding: 2px 7px;
  font-size: 12px;
}
.pill::first-letter {
  text-transform: uppercase;
}
.pill.warn,
.warn {
  color: #efc780;
}
.pill.warn {
  background: #392e1b;
  border-color: #594729;
}
footer {
  color: var(--muted);
  font-size: 13px;
}
#empty,
.empty {
  padding: 38px 14px;
  text-align: center;
  color: var(--muted);
}
#empty h2 {
  color: var(--ink);
}
.app {
  margin-bottom: 10px;
  padding: 16px 18px;
}
.app p,
.note {
  font-size: 13px;
  overflow-wrap: anywhere;
}
a {
  color: var(--accent);
}
.login {
  margin: 0;
  min-height: 100dvh;
  display: grid;
  place-items: center;
}
.login section {
  padding: 30px;
  width: min(410px, 100%);
}
.login .brand {
  margin-bottom: 30px;
}
.login form,
dialog form,
#fields,
label {
  display: grid;
  gap: 12px;
}
.login form {
  margin-top: 20px;
}
label {
  gap: 5px;
  font-size: 13px;
  font-weight: 560;
}
dialog {
  width: min(482px, 94vw);
  max-height: 90dvh;
  border: 1px solid var(--control-line);
  border-radius: 12px;
  padding: 22px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 22px 74px #03050caf;
}
dialog::backdrop {
  background: #05070ccf;
}
.message,
#form-error:not(:empty) {
  padding: 10px 13px;
  border: 1px solid var(--control-line);
  background: var(--raised);
  border-radius: 8px;
}
.message {
  margin-bottom: 16px;
}
#form-error:not(:empty) {
  color: #ffccba;
  border-color: #634138;
  background: #32231e;
}
.message input {
  width: 100%;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
[hidden] {
  display: none !important;
}
.month-grid,
.drop-dates {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.weekday,
.day-cell,
.blank {
  border: 0;
  border-radius: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 8px;
}
.weekday {
  color: var(--muted);
  font-size: 12px;
}
.day-cell {
  background: transparent;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  gap: 2px;
  min-height: 82px;
}
.day-cell:hover:enabled {
  background: var(--hover);
}
.day-cell small {
  font-weight: 500;
}
.preview {
  display: block;
  max-height: 180px;
  max-width: 100%;
  object-fit: contain;
}
.previews {
  display: flex;
  gap: 8px;
  overflow: auto;
}
.previews > * {
  max-width: 220px;
}
#cal-body .app,
#media-list .app {
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  margin: 0;
}
.drop-dates {
  gap: 3px;
}
.drop-date {
  text-align: center;
  font-size: 12px;
  padding: 10px 2px;
  background: var(--raised);
  border: 1px dashed #45464e;
}
[draggable="true"] {
  cursor: grab;
}
@media (max-width: 1100px) {
  .overview-grid {
    grid-template-columns: 1fr 1fr;
  }
  .account-activity {
    flex-wrap: wrap;
  }
  .heading > .actions {
    justify-content: flex-start;
  }
}
@media (max-width: 820px) {
  .sidebar {
    position: sticky;
    inset: 0 0 auto;
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 10px 16px;
  }
  .sidebar .brand {
    padding: 0;
  }
  #toggle-menu {
    display: inline-flex;
  }
  #workspace-menu {
    display: none;
  }
  #workspace-menu.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100dvh - 58px);
    padding: 16px;
    background: var(--sidebar);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 15px 24px #060a1380;
  }
  .sidebar-foot {
    margin-top: 14px;
    padding-top: 12px;
  }
  main {
    margin-left: 0;
    padding: 23px 16px 40px;
  }
}
@media (max-width: 620px) {
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .stats article {
    padding: 12px 14px;
  }
  .stats article:nth-child(2) {
    border-right: 0;
  }
  .stats article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .overview-grid {
    grid-template-columns: 1fr;
  }
  .overview-grid .panel {
    min-height: 0;
  }
  .heading,
  .app {
    align-items: flex-start;
    flex-direction: column;
  }
  .heading > .actions {
    width: 100%;
  }
  .filters {
    padding: 10px;
  }
  .filters > * {
    max-width: 100%;
  }
  th,
  td {
    padding: 9px;
  }
  .panel {
    min-width: 0;
  }
  .weekday,
  .day-cell {
    padding: 5px 3px;
  }
  .day-cell small {
    font-size: 10px;
  }
  .post-count {
    margin-left: auto;
  }
}

.feed-row {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.feed-row div {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.feed-row small {
  display: block;
  color: var(--muted);
}
.feed-row .pill {
  flex-shrink: 0;
}

.brand i .icon {
  width: 21px;
  height: 21px;
  stroke-width: 1.7;
}
.tab.selected {
  background: var(--hover);
}
.tab.settings-start {
  border-top: 1px solid var(--line);
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  padding-top: 15px;
}
.stats small {
  color: var(--muted);
  font-size: 12px;
}
.stats strong {
  font-weight: 590;
  margin-top: 3px;
}
th {
  font-weight: 550;
}
.filters {
  border-bottom: 1px solid var(--line);
}
.panel > footer:empty {
  display: none;
}
.feed-row:last-child {
  border-bottom: 0;
}
[data-origin] > section {
  max-width: 1480px;
  margin-inline: auto;
}
.pill {
  border-radius: 18px;
  padding: 2px 9px;
}
.overview-grid .empty {
  display: grid;
  place-content: center;
  min-height: 100px;
}

#modal {
  padding: 0;
}
#modal #editor {
  gap: 0;
}
#modal .dialog-head,
#modal #editor > .actions {
  padding: 14px 20px;
}
#modal .dialog-head {
  border-bottom: 1px solid var(--line);
}
#modal #close {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 20px;
}
#modal #fields {
  padding: 20px;
}
#modal #editor > .actions {
  border-top: 1px solid var(--line);
}
#modal #form-error:not(:empty) {
  margin: 0 20px 14px;
}
#rows td:last-child {
  text-align: right;
}
#rows td:last-child button {
  margin: 2px;
}
.state-queued,
.state-scheduled_native,
.state-uploading {
  background: #202e4c;
  color: #b5cbff;
  border-color: #354972;
}
.state-draft,
.state-cancelled,
.state-paused {
  background: #272b35;
  color: #c4cad8;
  border-color: #424857;
}
.state-failed {
  background: #392429;
  color: #ffc0c2;
  border-color: #603b41;
}
#cal-body .pill {
  margin-top: 6px;
}
#media-list {
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 215px), 1fr));
  gap: 14px;
}
#media-list > .empty {
  grid-column: 1/-1;
}
.media-card {
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 11px;
}
.media-thumb {
  display: block;
  position: relative;
  background: var(--bg);
  border: 0;
  border-radius: 0;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  padding: 0;
}
.media-thumb img,
.media-thumb video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.media-thumb span {
  position: absolute;
  bottom: 8px;
  left: 8px;
  padding: 2px 7px;
  background: #0a101cdd;
  border: 1px solid var(--control-line);
  border-radius: 6px;
  color: #edeff5;
  font-size: 11px;
}
.media-info {
  padding: 12px 14px;
}
.media-info h2 {
  font-size: 14px;
  overflow-wrap: anywhere;
}
.media-info small {
  display: block;
  margin: 3px 0 12px;
  color: var(--muted);
}

.calendar-layout {
  display: grid;
  grid-template-columns: clamp(170px, 16vw, 230px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.calendar-content {
  min-width: 0;
  overflow: hidden;
}
.calendar-accounts {
  padding: 12px;
}
.calendar-accounts summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  font-weight: 620;
  padding: 2px 3px;
}
.calendar-accounts summary::-webkit-details-marker {
  display: none;
}
.calendar-accounts summary span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.calendar-accounts summary > .icon {
  width: 13px;
  color: var(--muted);
}
.calendar-accounts[open] summary > .icon {
  transform: rotate(180deg);
}
.calendar-search {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 12px 0 9px;
  padding: 0 8px;
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted);
}
.calendar-search:focus-within {
  outline: 2px solid var(--accent);
}
.calendar-search .icon {
  width: 14px;
}
.calendar-search input {
  width: 100%;
  border: 0;
  background: transparent;
  outline: 0;
  padding: 7px 0;
}
.cal-choice {
  display: flex;
  width: 100%;
  justify-content: flex-start;
  gap: 9px;
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  padding: 7px 8px;
}
.cal-choice[aria-pressed="true"] {
  background: var(--tint);
  border-color: #76404a;
  color: var(--ink);
}
.cal-all {
  font-weight: 580;
  margin-bottom: 6px;
}
.cal-all .icon {
  width: 17px;
  margin: 0 5px;
}
#cal-choices {
  display: grid;
  gap: 2px;
  max-height: min(62dvh, 680px);
  overflow: auto;
}
.cal-avatar {
  flex: none;
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  background: var(--tint);
  color: #ffbbaa;
}
.cal-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cal-name {
  min-width: 0;
}
.cal-name strong,
.cal-name small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cal-name strong {
  font-weight: 550;
}
.cal-name small,
.cal-empty {
  font-size: 11px;
  color: var(--muted);
}
.cal-empty {
  padding: 8px;
}
@media (max-width: 1050px) {
  .calendar-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  #cal-choices {
    max-height: 34dvh;
  }
}

.week-board {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  min-height: clamp(390px, 61vh, 760px);
  background: var(--bg);
}
.week-column {
  min-width: 0;
  padding: 0 6px 12px;
  border-right: 1px solid var(--line);
}
.week-column:last-child {
  border-right: 0;
}
.week-column.is-today {
  background: var(--surface);
}
.week-day {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin: 0 -6px 10px;
  padding: 10px 9px;
  border-bottom: 1px solid var(--line);
}
.week-day span {
  font-size: 11px;
  font-weight: 550;
  color: var(--muted);
}
.week-day strong {
  font-size: 13px;
  font-weight: 600;
}
.is-today .week-day strong {
  background: var(--coral);
  color: #101114;
  border-radius: 5px;
  padding: 0 5px;
  margin-left: -2px;
}
.calendar-card {
  min-width: 0;
  margin: 0 0 8px;
  overflow: hidden;
  background: var(--raised);
  border: 1px solid var(--control-line);
  border-radius: 9px;
}
.calendar-card:hover,
.calendar-card:focus-within {
  border-color: #686973;
}
.calendar-card-open {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  padding: 8px;
  font: inherit;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 8px;
}
.calendar-card-open:focus-visible {
  outline-offset: -2px;
}
.card-account {
  max-width: 100%;
  display: flex;
  gap: 5px;
  align-items: center;
}
.card-account strong {
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card-avatar {
  display: grid;
  place-items: center;
  position: relative;
  flex: none;
  overflow: hidden;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 650;
  background: var(--hover);
  color: var(--ink);
}
.card-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-time {
  color: #b4b5bd;
  font-size: 12px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.card-media {
  display: grid;
  place-items: center;
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 6px;
  background: var(--bg);
}
.card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 46%;
}
.card-media small {
  padding: 4px;
  color: var(--muted);
}
.card-play {
  position: absolute;
  bottom: 5px;
  right: 5px;
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border: 1px solid #ffffff55;
  border-radius: 50%;
  color: white;
  font-size: 9px;
  background: #0b1325bc;
}
.card-title,
.card-caption {
  max-width: 100%;
  white-space: pre-line;
  overflow-wrap: anywhere;
  line-height: 1.4;
  font-size: 13px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
}
.card-title {
  font-weight: 630;
}
.card-error {
  display: block;
  color: #e5b6ad;
  padding: 0 8px 8px;
  overflow-wrap: anywhere;
}
.calendar-card .pill {
  font-size: 10px;
  max-width: 100%;
  padding: 1px 6px;
}
.week-column > button,
.calendar-card > button:not(.calendar-card-open) {
  font-size: 11px;
  padding: 5px 7px;
}
.day-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(210px, 100%), 1fr));
  padding: 14px;
  gap: 12px;
  align-items: start;
}
.day-cards .calendar-card {
  max-width: 360px;
  width: 100%;
  margin: 0;
}
@media (max-width: 740px) {
  .week-board {
    display: block;
    min-height: 0;
  }
  .week-column {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(155px, 100%), 1fr));
    align-items: start;
    gap: 8px;
    padding: 8px 12px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .week-day {
    grid-column: 1/-1;
    margin: 0;
    padding: 2px 0;
    border: 0;
    flex-direction: row;
    align-items: center;
    gap: 6px;
  }
  .week-column .calendar-card {
    margin: 0;
  }
}

.sidebar .brand {
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: -0.018em;
  padding: 1px 4px 21px;
}
.sidebar .brand i {
  width: 27px;
  height: 27px;
  border-radius: 7px;
}
.brand i .icon:has(path[d="M8 5l11 7-11 7z"]) {
  width: 14px;
  height: 14px;
  fill: currentColor;
}
.sidebar .wide {
  margin-bottom: 0;
}
.jump {
  margin: 11px 0;
  background: var(--raised);
}
#jump-shortcut kbd {
  border: 0;
  padding: 0;
  color: inherit;
}
.workspace-id {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 1px 0;
}
.workspace-id > span {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 100%;
  background: #17322c;
  color: #8de6c6;
  font-size: 11px;
}
.workspace-id > div {
  min-width: 0;
}
.workspace-id strong {
  display: block;
  max-width: 100%;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  font-size: 12px;
  font-weight: 550;
}
.workspace-id .plain {
  width: auto;
  padding: 0;
  font-size: 11px;
}
#overview .heading {
  margin-bottom: 17px;
}
#overview .heading h1 {
  font-size: clamp(21px, 1.75vw, 28px);
  line-height: 1.18;
  letter-spacing: -0.032em;
}
#overview .eyebrow {
  font-size: 10px;
  margin: 0 0 3px;
  color: #9496a1;
}
#overview-counts {
  margin-bottom: 13px;
  border-radius: 10px;
}
#overview-counts article {
  padding: 13px 17px;
  min-height: 79px;
}
#overview-counts article > span {
  font-size: 12px;
}
#overview-counts strong {
  font-size: 20px;
  line-height: 1.25;
}
#overview-counts progress {
  display: block;
  width: 100%;
  height: 4px;
  margin-top: 7px;
  border: 0;
  border-radius: 4px;
  overflow: hidden;
  background: var(--raised);
  accent-color: var(--coral);
}
#overview-counts progress::-webkit-progress-bar {
  background: var(--raised);
}
#overview-counts progress::-webkit-progress-value {
  background: var(--coral);
}
#overview .overview-grid {
  gap: 12px;
}
#overview .panel {
  border-radius: 10px;
  padding: 16px;
  min-height: 167px;
}
#overview .panel:first-child {
  min-height: 207px;
}
#overview .panel-head h2 {
  font-size: 14px;
}
#overview .panel-head .text-action {
  font-size: 12px;
}
.overview-empty {
  display: grid;
  place-items: center;
  text-align: center;
  align-content: center;
  gap: 4px;
  min-height: 112px;
  font-size: 14px;
  font-weight: 560;
}
.overview-empty p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}
.overview-empty button { margin-top: 12px; }
.sidebar .brand small {
  display: block;
  font-size: 11px;
  font-weight: 450;
  color: var(--muted);
  margin-top: 2px;
}
.nav-tools {
  display: flex;
  gap: 4px;
  margin-bottom: 8px;
}
.nav-tools .tab { width: auto; padding: 5px 7px; }
.nav-tools .tab:hover { color: var(--ink); }
.tab .icon { width: 15px; height: 15px; }
.sidebar nav .tab { color: #b4b5bd; }
.sidebar nav .tab.selected { color: var(--ink); }
#overview .eyebrow { letter-spacing: .07em; }
#overview .actions button { padding: 6px 11px; }
#overview .actions .icon, .sidebar .wide .icon { width: 14px; height: 14px; }
#overview .actions { gap: 6px; }
.sidebar .wide { padding: 6px 12px; }
.brand i { box-shadow: none; }
.sidebar nav { gap: 2px; }
.workspace-id .plain:hover { background: transparent; text-decoration: underline; }

.account-activity .platform-mark {
  position: relative;
  overflow: hidden;
  border-radius: 50%;
}
.account-activity .platform-mark img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-selection section {
  width: min(450px, 100%);
}
.page-options {
  display: grid;
  gap: 5px;
  border: 0;
  margin: 8px 0;
  padding: 0;
  max-height: 48dvh;
  overflow: auto;
}
.page-options legend {
  font-size: 12px;
  color: var(--muted);
  padding: 0 0 8px;
}
.page-options label {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
}
.page-options label:has(input:checked) {
  background: var(--tint);
  border-color: var(--accent);
}
.page-options input {
  accent-color: var(--coral);
}
.page-options small {
  display: block;
  color: var(--muted);
}
@media (min-width: 821px) {
  .sidebar {
    padding: 20px 11px 16px;
  }
  main[data-origin] {
    padding: clamp(23px, 1.83vw, 28px) clamp(24px, 2.6vw, 40px) 48px;
  }
  #overview {
    margin-left: 0;
    max-width: min(1200px, 78.2vw);
  }
}
@media (max-width: 820px) {
  .sidebar .brand {
    padding: 0;
  }
  .brand small { display: none; }
  .brand-break {
    display: none;
  }
}

.team-nav { text-decoration: none; }
main.team-page { box-sizing: border-box; max-width: 48rem; margin: 0 auto; padding: 2rem 1rem; }
.team-page h1 { margin: 1.5rem 0 .5rem; }
.team-page p { color: var(--muted); }
.team-panel { padding: 1.25rem; margin-top: 1.25rem; }
.team-row, .team-invite { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.team-panel .team-row { border-top: 1px solid var(--line); padding: .85rem 0; }
.team-row strong { overflow-wrap: anywhere; }
.team-row small { display: block; margin-top: .25rem; color: var(--muted); }
.team-page label { display: grid; gap: .4rem; }
.team-invite { align-items: end; flex-wrap: wrap; }
.team-invite label { flex: 1 1 14rem; }
.team-link { margin-top: 1rem; }
.team-link button { margin-top: .5rem; }
.team-row[hidden] { display: none; }
