.lc-calendar {
  --lc-line: #344248;
  --lc-panel: #171f23;
  --lc-muted: #acbbc2;
  min-width: 0;
  color: #edf2f3;
}
.lc-top, .lc-month-head, .lc-actions, .lc-filters, .lc-switch, .lc-dialog-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lc-top, .lc-dialog-head { justify-content: space-between; }
.lc-top, .lc-actions, .lc-filters { flex-wrap: wrap; }
.lc-top h2, .lc-month-head h3, .lc-dialog h3 { margin: 0; }
.lc-top p, .lc-window, .lc-info dt { color: var(--lc-muted); }
.lc-top p { margin: 4px 0 0; }
.lc-filters { margin: 20px 0; }
.lc-switch { padding: 3px; gap: 2px; border: 1px solid var(--lc-line); border-radius: 9px; }
.lc-switch .button { min-height: 34px; padding: 5px 14px; }
.lc-switch [aria-pressed=true] { color: #d6edb5; background: #293b2e; }
.lc-calendar label, .lc-dialog label { display: grid; gap: 5px; color: #c5d0d5; }
.lc-filters label { display: flex; flex-direction: row; align-items: center; gap: 8px; }
.lc-calendar select, .lc-dialog select, .lc-dialog input {
  box-sizing: border-box; min-width: 0; max-width: 100%; padding: 8px 10px;
  border: 1px solid #435158; border-radius: 8px; color: #edf2f3; background: #11191d; color-scheme: dark;
}
.lc-month, .lc-list, .lc-empty { background: var(--lc-panel); border: 1px solid var(--lc-line); border-radius: 12px; }
.lc-month { overflow: hidden; }
.lc-month-head { padding: 12px 16px; }
.lc-month-head h3 { font-size: 1.05rem; }
.lc-month-head .button { min-height: 32px; padding: 5px 11px; }
.lc-month-head [data-cal=today] { margin-left: auto; color: #b4ee00; }
.lc-days { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); }
.lc-weekday, .lc-day { padding: 8px; border-top: 1px solid var(--lc-line); }
.lc-weekday { color: var(--lc-muted); background: #202a2e; font-size: .78rem; }
.lc-day { min-width: 0; min-height: 94px; border-right: 1px solid var(--lc-line); }
.lc-day:nth-child(7n) { border-right: 0; }
.lc-day.outside { background: #131a1d; color: #97a7ae; }
.lc-day time { display: inline-grid; place-items: center; min-width: 24px; min-height: 24px; font-size: .8rem; }
.lc-day time[aria-current=date] { background: #b4ee00; color: #142000; border-radius: 50%; font-weight: 700; }
.lc-post { display: grid; text-align: left; gap: 1px; width: 100%; margin-top: 4px; padding: 5px 7px; color: #f1f6ec; background: #2a3934; border: 0; border-left: 2px solid #a5cb66; border-radius: 5px; }
.lc-post small, .lc-post span { font-size: .72rem; }
.lc-post strong { font-size: .8rem; }
.lc-post > * { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lc-list { list-style: none; padding: 0; margin: 0; overflow: hidden; }
.lc-list li + li { border-top: 1px solid var(--lc-line); }
.lc-list li button { display: grid; grid-template-columns: 2fr 1fr 1.3fr 1fr; align-items: center; gap: 12px; width: 100%; padding: 14px; background: transparent; color: inherit; border: 0; text-align: left; }
.lc-list button span, .lc-list time { color: var(--lc-muted); }
.lc-post:hover, .lc-list button:hover { background: #30403f; }
.lc-empty, .lc-banner { padding: 15px; }
.lc-banner { background: #282b1d; color: #e3e6bc; border-radius: 8px; }
.lc-error { color: #ffa69e; }
.lc-dialog { box-sizing: border-box; color-scheme: dark; width: min(460px, calc(100vw - 32px)); max-height: 85vh; overflow-y: auto; padding: 22px; border: 1px solid var(--lc-line); background: var(--lc-panel); color: #edf2f3; border-radius: 15px; }
.lc-dialog::backdrop { background: #070c0fd9; }
.lc-dialog-head { margin-bottom: 18px; }
.lc-schedule, .lc-schedule-source { display: grid; gap: 13px; }
.lc-schedule .lc-fold:empty { display: none; }
.lc-window { margin: 0; font-size: .87rem; line-height: 1.45; }
.lc-info { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; }
.lc-info dd { margin: 0; overflow-wrap: anywhere; }
.lc-calendar :focus-visible { outline: 2px solid #bbef29; outline-offset: 2px; }
@media(max-width:680px) {
  .lc-filters { gap: 9px; }
  .lc-month-head { gap: 8px; }
  .lc-weekday, .lc-day { padding: 4px 2px; }
  .lc-weekday { text-align: center; font-size: .72rem; }
  .lc-day { min-height: 60px; }
  .lc-post { padding: 3px 2px; }
  .lc-list li button { grid-template-columns: 1fr 1fr; }
  .lc-top .lc-actions { gap: 5px; }
  .lc-top .button { padding: 6px 10px; }
}
.lc-post[data-platform=instagram] { border-left-color: #8eab67; background: #283a29; }
.lc-post[data-platform=facebook] { border-left-color: #83b4ff; background: #243444; }
.lc-post[data-platform=linkedin] { border-left-color: #82c9df; background: #203743; }
.lc-channel[data-platform=instagram] { color: #c4dfaf; }
.lc-channel[data-platform=facebook] { color: #a2c7ff; }
.lc-channel[data-platform=linkedin] { color: #a6deed; }
.lc-calendar .lc-status { justify-self: start; width: fit-content; max-width: 100%; box-sizing: border-box; display: inline-block; border-radius: 12px; padding: 2px 6px; font-size: .68rem; line-height: 1.3; white-space: nowrap; background: #36414a; color: #d2e2f2; }
.lc-calendar .lc-status[data-status=scheduled] { background: #304237; color: #c7edba; }
.lc-calendar .lc-status[data-status=publishing] { background: #313a52; color: #ccd7ff; }
.lc-calendar .lc-status[data-status=published] { background: #244442; color: #a5ebdb; }
.lc-calendar .lc-status[data-status=attention] { background: #4d392a; color: #ffdca8; }
@media(max-width:680px) {
  .lc-calendar .lc-post .lc-status { font-size: .61rem; padding: 2px; }
}
