/* ---------------- 4) List / rows / day / line ---------------- */
:root{
  --list-border-highlight: color-mix(in srgb, var(--sotido-theme-text-primary) 55%, transparent);
  --list-shimmer: color-mix(in srgb, var(--sotido-theme-text-primary) 20%, transparent);
  --list-social-chip: color-mix(in srgb, var(--sotido-theme-text-primary) 8%, transparent);
  --list-social-chip-strong: color-mix(in srgb, var(--sotido-theme-text-primary) 11%, transparent);
  --list-highlight-chip: color-mix(in srgb, var(--sotido-theme-background) 28%, transparent);
  --list-highlight-chip-strong: color-mix(in srgb, var(--sotido-theme-background) 38%, transparent);
  --list-transparent: transparent;
}

.list{
  display: flex;
  flex-direction: column;
  gap: 0;
}.scroll-slack{
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  flex: 0 0 0 !important;
}.calendar-day-shell--list{
  z-index: 1;
  min-height: var(--sotido-recipe-calendar-event-card-compact-row-height);
  display: flex;
  align-items: center;
  column-gap: var(--sotido-recipe-calendar-list-row-column-gap);
  margin: var(--sotido-recipe-calendar-list-row-vertical-inset) var(--sotido-recipe-calendar-list-horizontal-inset);
}.calendar-day-shell--list.is-today{
  padding-top: 0;
  background: none;
}/* левая колонка — день */
.calendar-date-header--list{
  width: var(--sotido-recipe-calendar-list-day-anchor-width);
  height: auto;
  align-self: stretch;
}.calendar-date-header--list.clickable{
  cursor: pointer;
}.calendar-date-header--list .calendar-date-stack{
  position: absolute;
}.calendar-month-shell--list > .calendar-month-header--list{
  position: sticky;
  top: var(--sotido-calendar-top-content-inset, 0px);
  scroll-margin-top: calc(var(--sotido-calendar-top-content-inset, 0px) + 8px);
  z-index: 3;
}
.calendar-month-shell--list{
  padding-top: 24px;
}
.calendar-month-body--list{
  display: flex;
  flex-direction: column;
  gap: var(--sotido-recipe-calendar-list-month-day-gap);
}.calendar-month-pending-shell{
  width: 100%;
  min-width: 0;
  padding-top: 24px;
  overflow: hidden;
  overflow-anchor: none;
  box-sizing: border-box;
}.calendar-month-pending-shell > .calendar-month-header{
  position: relative;
  top: auto;
  z-index: 1;
  margin: 0;
}.calendar-month-pending-body{
  position: relative;
  display: grid;
  place-items: center;
  min-height: 96px;
  margin: 8px var(--sotido-recipe-calendar-list-horizontal-inset) 0;
  overflow: hidden;
  border-radius: var(--sotido-recipe-calendar-event-card-compact-corner-radius);
  background: var(--sotido-recipe-card-surface-sunken-fill);
}.calendar-month-pending-preview{
  position: absolute;
  inset: 8px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  opacity: 0.48;
}.calendar-month-pending-shell--grid .calendar-month-pending-preview{
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: var(--sotido-recipe-calendar-grid-cell-gap);
}.calendar-month-pending-cell{
  min-width: 0;
  border-radius: var(--sotido-recipe-calendar-event-card-compact-corner-radius);
  background: var(--sotido-theme-surface-raised);
}.calendar-month-pending-status{
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 24px);
  padding: 6px 8px;
  border-radius: var(--sotido-recipe-calendar-event-card-compact-corner-radius);
  background: var(--sotido-theme-surface-chrome);
  color: var(--sotido-theme-text-secondary);
}.calendar-month-pending-progress{
  --sotido-five-petal-progress-size: var(--sotido-recipe-five-petal-progress-compact-size);
}.calendar-month-pending-copy{
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}.calendar-month-load-control{
  --calendar-edge-push-progress: 0;
  --calendar-edge-push-progress-steps: 0;
  --calendar-edge-push-shortfall: 0px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: var(--sotido-recipe-calendar-edge-push-signal-gap);
  width: 100%;
  min-height: var(--sotido-recipe-calendar-edge-push-minimum-height);
  margin: 0;
  padding: var(--sotido-recipe-calendar-edge-push-vertical-padding) 0;
  appearance: none;
  border: 0;
  background: transparent;
  font: inherit;
  text-align: center;
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
  user-select: none;
  overflow-anchor: none;
  box-sizing: border-box;
  color: var(--sotido-recipe-calendar-edge-push-muted-text);
}.calendar-month-navigation-shell[hidden],
.calendar-month-load-control[hidden]{
  display: none;
}.calendar-month-load-control:focus-visible{
  outline: 2px solid var(--sotido-theme-accent);
  outline-offset: -4px;
  border-radius: var(--sotido-radius-card);
}.calendar-month-load-control:disabled{
  cursor: progress;
}.calendar-month-load-control-next{
  margin-top: var(--calendar-edge-push-shortfall);
  margin-bottom: 70px;
}.calendar-edge-push-signal{
  display: inline-flex;
  align-items: center;
  justify-self: center;
  gap: var(--sotido-recipe-calendar-edge-push-signal-gap);
  grid-column: 2;
  min-width: 0;
  max-width: min(240px, 58vw);
  opacity: 0.56;
  transition: opacity var(--sotido-motion-fast) ease, color var(--sotido-motion-fast) ease;
}.calendar-edge-push-label{
  font-size: var(--sotido-type-caption);
  line-height: 1.2;
  text-align: center;
}.calendar-edge-push-label-loading{
  display: none;
}.calendar-edge-push-month-label{
  grid-column: 1;
  justify-self: start;
  min-width: 0;
  max-width: 100%;
  margin-bottom: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}.calendar-edge-push-month-label.is-current-month{
  background: var(--sotido-recipe-calendar-month-header-current-surface);
  color: var(--sotido-recipe-calendar-month-header-current-text);
}.calendar-edge-push-progress{
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  position: relative;
  width: var(--sotido-recipe-five-petal-progress-edge-size);
  height: var(--sotido-recipe-five-petal-progress-edge-size);
}.calendar-edge-push-progress-logo{
  --sotido-five-petal-progress-size: 100%;
  --sotido-five-petal-progress-active: var(--sotido-recipe-calendar-edge-push-accent);
  --sotido-five-petal-progress-steps: var(--calendar-edge-push-progress-steps);
  position: absolute;
  inset: 0;
}.calendar-month-load-control.is-pulling .calendar-edge-push-signal{
  opacity: 1;
}.calendar-month-load-control[data-loading="1"] .calendar-edge-push-signal{
  opacity: 1;
}.calendar-month-load-control[data-loading="1"] .calendar-edge-push-label-default{
  display: none;
}.calendar-month-load-control[data-loading="1"] .calendar-edge-push-label-loading{
  display: block;
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}.calendar-edge-loading-preview{
  display: none;
  grid-column: 1 / -1;
  width: 100%;
  height: var(--sotido-recipe-calendar-month-header-collapsed-preview-height);
  min-width: 0;
  overflow: hidden;
  contain: layout paint;
  clip-path: inset(0);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 var(--sotido-recipe-calendar-month-header-collapsed-preview-opaque-stop),
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 var(--sotido-recipe-calendar-month-header-collapsed-preview-opaque-stop),
    transparent 100%
  );
}.calendar-edge-loading-preview-track{
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}.calendar-month-load-control[data-loading="1"]{
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  row-gap: var(--ROW_GAP);
}.calendar-month-load-control[data-loading="1"] .calendar-edge-push-month-label{
  align-self: center;
}.calendar-month-load-control[data-loading="1"] .calendar-edge-push-signal{
  grid-column: 2;
  align-self: center;
  justify-self: end;
  max-width: none;
  opacity: 0.72;
}.calendar-month-load-control[data-loading="1"] .calendar-edge-push-progress{
  width: var(--sotido-recipe-five-petal-progress-compact-size);
  height: var(--sotido-recipe-five-petal-progress-compact-size);
}.calendar-month-load-control[data-loading="1"] .calendar-edge-loading-preview{
  display: block;
}
[data-calendar-projection-mode="list"] > .calendar-month-load-control .calendar-edge-loading-preview-track{
  display: grid;
  grid-template-columns: var(--sotido-recipe-calendar-list-day-anchor-width) minmax(0, 1fr);
  gap: var(--sotido-recipe-calendar-list-row-column-gap);
  padding: var(--sotido-recipe-calendar-list-row-vertical-inset) var(--sotido-recipe-calendar-list-horizontal-inset);
}
[data-calendar-projection-mode="list"] > .calendar-month-load-control .calendar-edge-loading-preview-cell{
  height: var(--sotido-recipe-calendar-event-card-compact-row-height);
  border-radius: var(--sotido-recipe-calendar-event-card-compact-corner-radius);
  background: var(--sotido-recipe-calendar-list-cell-surface);
  box-shadow: 0 calc(
    var(--sotido-recipe-calendar-event-card-compact-row-height) +
    var(--sotido-recipe-calendar-list-row-vertical-inset) +
    var(--sotido-recipe-calendar-list-row-vertical-inset) +
    var(--sotido-recipe-calendar-list-month-day-gap)
  ) 0 var(--sotido-recipe-calendar-list-cell-surface);
}
[data-calendar-projection-mode="list"] > .calendar-month-load-control .calendar-edge-loading-preview-cell:first-child{
  background: var(--sotido-recipe-calendar-date-header-surface);
  box-shadow: 0 calc(
    var(--sotido-recipe-calendar-event-card-compact-row-height) +
    var(--sotido-recipe-calendar-list-row-vertical-inset) +
    var(--sotido-recipe-calendar-list-row-vertical-inset) +
    var(--sotido-recipe-calendar-list-month-day-gap)
  ) 0 var(--sotido-recipe-calendar-date-header-surface);
}
[data-calendar-projection-mode="list"] > .calendar-month-load-control .calendar-edge-loading-preview-cell:nth-child(n + 3){
  display: none;
}
[data-calendar-projection-mode="grid"] > .calendar-month-load-control .calendar-edge-loading-preview-track{
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: var(--sotido-recipe-calendar-grid-cell-gap);
  height: calc(
    var(--sotido-recipe-calendar-date-header-grid-height) +
    var(--sotido-recipe-calendar-grid-date-event-gap) +
    var(--sotido-recipe-calendar-grid-dense-lane-viewport-height) +
    var(--sotido-recipe-calendar-grid-cell-bottom-padding)
  );
  padding-inline: var(--sotido-recipe-calendar-grid-grid-inset);
}
[data-calendar-projection-mode="grid"] > .calendar-month-load-control .calendar-edge-loading-preview-cell{
  min-width: 0;
  border-radius: var(--sotido-recipe-calendar-grid-cell-corner-radius);
  background: linear-gradient(
    to bottom,
    var(--sotido-recipe-calendar-date-header-surface) 0 var(--sotido-recipe-calendar-date-header-grid-height),
    transparent var(--sotido-recipe-calendar-date-header-grid-height) calc(
      var(--sotido-recipe-calendar-date-header-grid-height) +
      var(--sotido-recipe-calendar-grid-date-event-gap)
    ),
    var(--sotido-recipe-calendar-grid-cell-surface) calc(
      var(--sotido-recipe-calendar-date-header-grid-height) +
      var(--sotido-recipe-calendar-grid-date-event-gap)
    ) 100%
  );
}
@media (prefers-reduced-motion: reduce){
  .calendar-edge-push-signal,
  .sotido-five-petal-progress-petal{
    transition: none;
  }
}/* колонка с событиями дня */
.calendar-day-events-anchor--list{
  justify-content: center;
  min-height: var(--sotido-recipe-calendar-event-card-compact-row-height);
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}.calendar-day-events-anchor--list.is-empty{
  background: var(--sotido-recipe-calendar-list-cell-surface);
  border-radius: var(--sotido-recipe-calendar-event-card-compact-corner-radius);
}.calendar-day-events-anchor--list.only-ghosts{
  min-height: auto;
  justify-content: center;
}.rowline-deferred-placeholder > .item-deferred-placeholder{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--sotido-recipe-calendar-event-card-compact-corner-radius);
  background: color-mix(in srgb, var(--sotido-theme-surface-raised) 78%, transparent);
  overflow: hidden;
  pointer-events: none;
}.rowline-deferred-placeholder > .item-deferred-placeholder::after{
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, var(--list-shimmer) 45%, transparent 100%);
  transform: translateX(-100%);
  animation: list-deferred-placeholder-shimmer 1.2s ease-in-out infinite;
}.calendar-list-layout-skeleton{
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}.calendar-list-layout-skeleton-badges{
  position: absolute;
  top: 3px;
  right: 4px;
  display: flex;
  gap: 2px;
}.calendar-list-layout-skeleton-badge{
  width: 18px;
  height: 6px;
  border-radius: 3px;
  background: var(--list-shimmer);
}.calendar-list-layout-skeleton-copy{
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 30px;
  right: 54px;
  display: grid;
  align-content: center;
  gap: 4px;
}.calendar-list-layout-skeleton-title,
.calendar-list-layout-skeleton-description,
.calendar-list-layout-skeleton-organizer{
  display: block;
  height: 5px;
  border-radius: 3px;
  background: var(--list-shimmer);
}.calendar-list-layout-skeleton-title{
  width: 58%;
}.calendar-list-layout-skeleton-description{
  width: 82%;
  opacity: 0.72;
}.calendar-list-layout-skeleton-organizer{
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 34px;
  opacity: 0.82;
}.rowline-deferred-placeholder > .item-deferred-placeholder.item-deferred-placeholder-highlight{
  min-height: calc(var(--ENTRY_H) * 2);
}.rowline-deferred-placeholder > .item-deferred-placeholder.item-deferred-placeholder-tail{
  border-radius: var(--sotido-recipe-calendar-event-card-compact-corner-radius);
  opacity: 0.72;
}
@keyframes list-deferred-placeholder-shimmer{
  100%{ transform: translateX(100%); }
}
@media (prefers-reduced-motion: reduce) {
  .rowline-deferred-placeholder > .item-deferred-placeholder::after{
    animation: none;
  }
}.rowline.calendar-layout-hydrating{
  position: relative;
}.rowline.calendar-layout-hydrating > .item.calendar-layout-hydration-outgoing{
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  pointer-events: none;
  animation: calendar-layout-hydration-out var(--sotido-motion-standard) ease-out both;
}.rowline.calendar-layout-hydrating > .item.calendar-layout-hydration-incoming{
  animation: calendar-layout-hydration-in var(--sotido-motion-standard) ease-out both;
}@keyframes calendar-layout-hydration-out{
  from{ opacity: 1; }
  to{ opacity: 0; }
}@keyframes calendar-layout-hydration-in{
  from{ opacity: 0.2; }
  to{ opacity: 1; }
}@media (prefers-reduced-motion: reduce) {
  .rowline.calendar-layout-hydrating > .item.calendar-layout-hydration-outgoing,
  .rowline.calendar-layout-hydrating > .item.calendar-layout-hydration-incoming{
    animation: none;
  }
}/* iOS/WebView: flex-gap can be unreliable → use margin-based spacing for list/discover */
body.calendar-mode-list .calendar-day-events-anchor--list,
body.discover-mode .calendar-day-events-anchor--list{
  gap: 0;
}.calendar-day-events-anchor--list > .rowline{
  margin-bottom: 2px;
}.calendar-day-events-anchor--list > .rowline:last-child{
  margin-bottom: 0;
}.calendar-day-events-anchor--list .l1,
.calendar-day-events-anchor--list .l2{
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}.item.flash{
  box-shadow: 0 0 0 2px var(--list-border-highlight), var(--sotido-shadow-surface);
}
.today-sep{
  height: var(--sotido-recipe-calendar-today-separator-height);
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sotido-recipe-calendar-today-separator-segment-gap);
  font-size: var(--sotido-recipe-calendar-today-separator-pill-font-size);
  font-weight: var(--sotido-font-weight-semibold);
  pointer-events: none;
  position: relative;
  z-index: 3;
  margin-top: 20px;
  margin-left: var(--sotido-recipe-calendar-today-separator-horizontal-inset);
  margin-right: var(--sotido-recipe-calendar-today-separator-horizontal-inset);
}.today-sep::before,
.today-sep::after{
  content: "";
  display: block;
  height: var(--sotido-recipe-calendar-today-separator-line-thickness);
  min-width: var(--sotido-recipe-calendar-today-separator-line-minimum-width);
  flex: 1 1 0;
  background: linear-gradient(90deg, transparent, var(--sotido-recipe-calendar-today-separator-line));
}.today-sep::after{
  background: linear-gradient(90deg, var(--sotido-recipe-calendar-today-separator-line), transparent);
}.today-sep.is-today{
  z-index: 70;
}.today-sep.is-today.after-row + .calendar-day-shell--list{
  margin-bottom: 0;
  margin-left: 6px;
  margin-right: 6px;
  border-radius: 0;
  padding: 0;
}.today-sep .today-sep-pill{
  align-items: center;
  justify-content: center;
  background: var(--sotido-recipe-calendar-today-separator-pill-surface);
  color: var(--sotido-recipe-calendar-today-separator-pill-text);
  border-radius: var(--sotido-recipe-calendar-today-separator-pill-radius);
  padding: var(--sotido-recipe-calendar-today-separator-pill-vertical-padding) var(--sotido-recipe-calendar-today-separator-pill-horizontal-padding);
  box-shadow: none;
}.calendar-today-return-host{
  position: absolute;
  inset-inline: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  width: 100%;
  min-height: 0;
  visibility: hidden;
  pointer-events: none;
}.calendar-today-return-host--top{
  top: calc(100% + var(--sotido-recipe-calendar-top-chrome-stack-stack-gap));
}.calendar-top-status-row > .calendar-today-return-host--top{
  position: relative;
  grid-column: 2;
  inset: auto;
  align-items: center;
  width: auto;
  min-width: 78px;
  min-height: var(--sotido-recipe-calendar-top-status-row-today-minimum-height);
}.calendar-today-return-host--bottom{
  bottom: calc(100% + var(--sotido-recipe-calendar-lower-chrome-stack-stack-spacing));
}.calendar-lower-utility-row > .calendar-today-return-host--bottom{
  position: relative;
  grid-column: 2;
  inset: auto;
  align-items: center;
  justify-self: center;
  width: auto;
  min-width: 78px;
  min-height: var(--sotido-recipe-calendar-top-status-row-today-minimum-height);
}.calendar-today-return-host.is-active{
  visibility: visible;
}.calendar-today-return-btn{
  appearance: none;
  border: 0;
  border-radius: var(--sotido-recipe-calendar-today-return-control-corner-radius);
  padding: 0 var(--sotido-recipe-calendar-today-return-control-horizontal-padding);
  min-height: var(--sotido-recipe-calendar-today-return-control-minimum-height);
  background: var(--sotido-recipe-calendar-today-return-control-surface);
  color: var(--sotido-recipe-calendar-today-return-control-text);
  font: inherit;
  font-size: var(--sotido-recipe-calendar-today-return-control-font-size);
  font-weight: var(--sotido-font-weight-semibold);
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
  transform: translateY(2px);
  transition:
    opacity var(--sotido-motion-instant) ease,
    transform var(--sotido-motion-instant) ease;
}.calendar-today-return-btn.is-visible{
  opacity: var(--today-return-opacity, 1);
  pointer-events: auto;
  transform: translateY(0);
}body:is(.feed-mode, .discover-mode, .event-compose-screen-open, .calendar-settings-screen-open, .workflow-screen-open, .participants-modal-open) .calendar-today-return-host{
  display: none !important;
}@media (prefers-reduced-motion: reduce) {
  .calendar-today-return-btn{
    transition: none;
  }
}.empty{
  color: var(--sotido-theme-text-primary);
}.hint{
  font-size: var(--sotido-type-caption);
  opacity: 0.7;
  margin-top: 10px;
}/* отдельная запись в list-режиме */
.rowline{
  display: flex;
  align-items: center;
  width: 100%;
}.rowline.tail{
  height: var(--sotido-recipe-calendar-event-card-compact-tail-row-height);
}.rowline > .item{
  flex: 1 1 auto;
  min-width: 0;
}.rowline > .item:not(.tail-item){
  height: var(--ENTRY_H);
}.calendar-event-segment--list:not(.day-expanded-rowline) > .calendar-event-card--list,
.calendar-event-segment--list:not(.day-expanded-rowline) > .calendar-event-card--list.has-tail,
.calendar-event-segment--list:not(.day-expanded-rowline) > .calendar-event-card--list.tail-item{
  border-radius: var(--sotido-recipe-calendar-event-card-compact-corner-radius);
  overflow: hidden;
  gap: var(--sotido-recipe-calendar-event-card-text-gap);
  padding: 0;
}.rowline.tail > .item.tail-item{
  height: var(--sotido-recipe-calendar-event-card-compact-tail-row-height);
  padding-top: 0;
}.item{
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--sotido-type-body-compact);
  width: 100%;
  min-width: 0;
  max-width: 100%;
  border-radius: var(--sotido-recipe-calendar-event-card-compact-corner-radius);
  overflow: hidden;
  white-space: nowrap;
  z-index: 4;
  background-size: var(--ev-bg-size, auto);
  background-position: var(--ev-bg-pos, 0 0);
  background-repeat: no-repeat;
  scrollbar-width: none;
  box-sizing: border-box;
  box-shadow: none;
}.item.is-draft{
  opacity: 0.4;
}.item.is-draft .ev-timechip,
.item.is-draft .ev-title-text,
.item.is-draft .ev-desc-text,
.item.is-draft .ev-organizer{
  filter: inherit;
}.item.tail-item{
  height: var(--sotido-recipe-calendar-event-card-compact-tail-row-height);
  min-height: var(--sotido-recipe-calendar-event-card-compact-tail-row-height);
  padding-top: 0;
  padding-bottom: 0;
  gap: 0;
  align-self: center;
  align-items: stretch;
  border: none;
  box-shadow: none;
}.item.tail-item .ev-timewrap{
  height: var(--sotido-recipe-calendar-event-card-compact-tail-row-height);
  justify-content: center;
}.ev-badge-group{
  position: absolute;
  right: 0px;
  z-index: 8;
  pointer-events: none;
  display: flex;
  flex-direction: row;
  gap: 0;
  align-items: flex-start;
}.item .ev-badge-group{
  top: 0px;
}.ev-badge{
  position: relative;
  display: flex;
  height: var(--sotido-recipe-calendar-list-badge-height);
  padding:
    0 var(--sotido-recipe-calendar-list-badge-trailing-padding)
    0 var(--sotido-recipe-calendar-list-badge-leading-padding);
  border-radius: 0 0 0 var(--sotido-recipe-calendar-list-badge-corner-radius);
  background: var(--ev-badge-bg, var(--sotido-recipe-calendar-list-destructive-accent));
  color: var(--sotido-recipe-calendar-list-text-on-accent);
  font-size: var(--sotido-recipe-calendar-list-badge-text-size);
  text-shadow: none;
  text-transform: none;
  box-shadow: none;
  border: none;
  line-height: 1;
}.ev-badge-group > .ev-badge + .ev-badge,
.item .ev-bottom-meta > .ev-badge + .ev-badge{
  margin-left: calc(0px - var(--sotido-recipe-calendar-list-badge-overlap));
}.ev-task-label-badge{
  --ev-badge-bg: var(--sotido-recipe-calendar-list-destructive-accent);
}.ev-slot-badge{
  --ev-badge-bg: var(--sotido-recipe-calendar-list-success-accent);
}.ev-slot-badge--yellow{
  --ev-badge-bg: var(--sotido-recipe-calendar-list-warning-accent);
}.ev-slot-badge--red{
  --ev-badge-bg: var(--sotido-recipe-calendar-list-destructive-accent);
}.ev-task-label-badge.is-done, .ev-task-badge.is-done{
  --ev-badge-bg: var(--sotido-recipe-calendar-list-success-accent);
}.ev-task-dots{
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
}.ev-task-dot{
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sotido-recipe-calendar-list-text-on-accent);
}.ev-task-dot.is-undone{
  background: var(--sotido-recipe-calendar-list-text-on-accent);
}.ev-task-dot.is-done{
  background: var(--sotido-recipe-calendar-list-success-accent);
}.ev-cityregion-badge{
  --ev-badge-bg: var(--sotido-recipe-calendar-list-badge-neutral-surface);
  color: var(--sotido-recipe-calendar-list-badge-text);
}.ev-audience-lane-badge{
  --ev-badge-bg: var(--sotido-recipe-calendar-list-badge-audience-surface);
  color: var(--sotido-recipe-calendar-list-badge-text);
}.ev-draft-badge{
  --ev-badge-bg: var(--sotido-recipe-calendar-list-accent);
  color: var(--sotido-recipe-calendar-list-primary-accent-text);
}.ev-local-changes-badge{
  --ev-badge-bg: color-mix(
    in srgb,
    var(--sotido-recipe-calendar-list-accent) 55%,
    var(--sotido-recipe-calendar-list-badge-neutral-surface)
  );
  color: var(--sotido-recipe-calendar-list-badge-text);
}.ev-bot-badge{
  --ev-badge-bg: var(--sotido-recipe-calendar-list-accent);
  color: var(--sotido-recipe-calendar-list-primary-accent-text);
}.ev-repost-badge{
  --ev-badge-bg: var(--sotido-recipe-calendar-list-accent);
  color: var(--sotido-recipe-calendar-list-primary-accent-text);
}
.task-start-dot.is-done{
  background: var(--sotido-recipe-calendar-list-success-accent);
}.item::-webkit-scrollbar{
  height: 0;
  display: none;
}/* event label split: fixed time + animated title */
.ev-timewrap{
  position: sticky;
  top: 0px;
  left: -1px;
  height: var(--sotido-recipe-calendar-event-card-compact-row-height);
  display: inline-flex;
  align-items: flex-start;
  flex-direction: column;
  flex: 0 0 auto;
  z-index: 2;
}.ev-timechip{
  height: var(--sotido-recipe-calendar-event-card-text-band-height);
  font-variant-numeric: tabular-nums;
  line-height: var(--sotido-recipe-calendar-event-card-text-band-height);
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
  box-sizing: border-box;
  padding: 0;
  text-overflow: clip;
  white-space: nowrap;
  opacity: 0.9;
}.ev-timewrap .ev-timechip{
  width: 100%;
}.ev-timewrap .ev-timechip-start{
  color: var(--sotido-recipe-calendar-event-card-start-time-text);
}.ev-timewrap .ev-timechip-end{
  text-align: left;
  align-self: flex-start;
  margin-left: 0;
  color: var(--sotido-recipe-calendar-event-card-end-time-text);
}.ev-timewrap .ev-timechip,
.item .ev-title-text,
.item .ev-desc-text{
  font-size: var(--sotido-recipe-calendar-event-card-title-text-size);
  font-weight: var(--sotido-recipe-calendar-event-card-title-text-weight);
}.ev-timewrap .ev-timechip-hidden{
  opacity: 0;
  display: none;
  pointer-events: none;
}.item .ev-title-clip{
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}.item .ev-desc-clip{
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  border-radius: var(--sotido-radius-compact);
}.item .ev-bottom-meta{
  position: absolute;
  right: 0px;
  top: var(--sotido-recipe-calendar-list-badge-bottom-meta-height);
  z-index: 1;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  max-width: 52%;
  min-width: 0;
  height: var(--sotido-recipe-calendar-list-badge-bottom-meta-height);
  line-height: var(--sotido-recipe-calendar-list-badge-bottom-meta-height);
  pointer-events: none;
}.item .ev-bottom-meta > .ev-badge{
  height: var(--sotido-recipe-calendar-list-badge-bottom-meta-height);
  line-height: var(--sotido-recipe-calendar-list-badge-bottom-meta-height);
}.item .ev-organizer{
  position: static;
  --ev-badge-bg: var(--sotido-recipe-calendar-list-badge-organizer-surface);
  color: var(--sotido-recipe-calendar-list-badge-text);
  border-radius: var(--sotido-recipe-calendar-list-badge-corner-radius) 0 0 0;
  flex: 0 1 auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
  max-width: 100%;
}.item .ev-bottom-meta .ev-audience-lane-badge{
  flex: 0 0 auto;
  border-radius: var(--sotido-recipe-calendar-list-badge-corner-radius) 0 0 0;
}.item{
  transition:
    transform var(--sotido-motion-fast) ease,
    filter var(--sotido-motion-fast) ease,
    opacity var(--sotido-motion-fast) ease;
}.item.is-event-pressing{
  transform: scale(0.985);
  filter: brightness(1.08) saturate(1.04);
}.item.is-event-press-confirmed{
  transform: scale(0.972);
  filter: brightness(1.14) saturate(1.08);
}@media (hover: hover) and (pointer: fine){
  .rowline > .item:not(.tail-item):hover{
    filter: brightness(1.06) saturate(1.03);
  }
}.item .ev-title-text{
  display: inline-block;
  max-width: 100%;
  padding-left: var(--sotido-recipe-calendar-event-card-text-gap);
  line-height: var(--sotido-recipe-calendar-event-card-text-band-height);
  color: var(--sotido-recipe-calendar-event-card-text);
}.item .ev-desc-text{
  display: inline-block;
  max-width: 100%;
  line-height: var(--sotido-recipe-calendar-event-card-text-band-height);
  color: var(--sotido-recipe-calendar-event-card-end-time-text);
}.item .ev-text-pair{
  position: relative;
  z-index: 2;
  line-height: var(--sotido-recipe-calendar-event-card-text-band-height);
  flex: 1 1 auto;
}.item .ev-text-pair .ev-title-clip{
  max-width: 70%;
  min-width: 0;
}.item .ev-text-pair .ev-desc-clip{
  flex: 1 1 auto;
  min-width: 0;
}.item .ev-text-pair .ev-desc-text{
  display: block;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  overflow: hidden;
  text-overflow: clip;
}

/* Collapsed list events: let text flow around time chips, badges, organizer and highlight cover. */
.calendar-event-segment--list:not(.day-expanded-rowline) > .calendar-event-card--list:not(.tail-item){
  display: block;
  line-height: var(--sotido-recipe-calendar-event-card-text-band-height);
  white-space: normal;
}
.calendar-event-segment--list:not(.day-expanded-rowline) > .calendar-event-card--list:not(.tail-item) .ev-timewrap{
  position: relative;
  top: auto;
  left: auto;
  float: left;
  display: block;
  height: auto;
}
.calendar-event-segment--list:not(.day-expanded-rowline) > .calendar-event-card--list:not(.tail-item) .ev-timewrap .ev-timechip{
  display: block;
  min-width: 0;
  height: var(--sotido-recipe-calendar-event-card-text-band-height);
}
.calendar-event-segment--list:not(.day-expanded-rowline) > .calendar-event-card--list:not(.tail-item) .ev-timewrap .ev-timechip.ev-timechip-hidden{
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.calendar-event-segment--list:not(.day-expanded-rowline) > .calendar-event-card--list:not(.tail-item) .ev-badge-group{
  position: relative;
  top: auto;
  right: auto;
  float: right;
  clear: right;
  margin-left: 6px;
  max-width: 48%;
}
.calendar-event-segment--list:not(.day-expanded-rowline) > .calendar-event-card--list:not(.tail-item) .ev-badge-group .ev-badge{
  max-width: 100%;
  overflow: hidden;
  text-overflow: clip;
  white-space: nowrap;
  opacity: 1;
}
.calendar-event-segment--list:not(.day-expanded-rowline) > .calendar-event-card--list:not(.tail-item) .ev-badge-group.is-dynamic{
  display: grid;
  isolation: isolate;
}
.calendar-event-segment--list:not(.day-expanded-rowline) > .calendar-event-card--list:not(.tail-item) .ev-badge-group.is-dynamic > .ev-badge{
  grid-area: 1 / 1;
  justify-self: end;
  margin-left: 0;
  visibility: hidden;
  opacity: 0;
  z-index: 0;
  transition: opacity var(--sotido-motion-standard) ease-out;
}
.calendar-event-segment--list:not(.day-expanded-rowline) > .calendar-event-card--list:not(.tail-item) .ev-badge-group.is-dynamic > .ev-badge.is-active{
  visibility: visible;
  opacity: 1;
  z-index: 1;
}
@media (prefers-reduced-motion: reduce){
  .calendar-event-segment--list:not(.day-expanded-rowline) > .calendar-event-card--list:not(.tail-item) .ev-badge-group.is-dynamic > .ev-badge{
    transition: none;
  }
}
.calendar-event-segment--list:not(.day-expanded-rowline) > .calendar-event-card--list:not(.tail-item) .ev-bottom-meta{
  position: absolute;
  top: auto;
  right: 0;
  bottom: 0;
  float: none;
  clear: none;
  margin: 0;
  max-width: 42%;
  z-index: 2;
}
.calendar-event-segment--list:not(.day-expanded-rowline) > .calendar-event-card--list:not(.tail-item) .ev-organizer{
  position: static;
  max-width: 100%;
}
.calendar-event-segment--list:not(.day-expanded-rowline) > .calendar-event-card--list:not(.tail-item) .ev-text-pair{
  display: block;
  min-width: 0;
}
.calendar-event-segment--list:not(.day-expanded-rowline) > .calendar-event-card--list:not(.tail-item) .ev-text-pair .ev-title-clip{
  display: block;
  max-width: none;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: clip;
}
.calendar-event-segment--list:not(.day-expanded-rowline) > .calendar-event-card--list:not(.tail-item) .ev-text-pair .ev-desc-clip{
  display: block;
  max-width: none;
  min-width: 0;
  overflow: hidden;
}
.calendar-event-segment--list:not(.day-expanded-rowline) > .calendar-event-card--list:not(.tail-item) .ev-text-pair .ev-desc-text{
  display: block;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  overflow: hidden;
  text-overflow: clip;
  padding-left: var(--sotido-recipe-calendar-event-card-text-gap);
  color: var(--sotido-recipe-calendar-event-card-end-time-text);
}
body.calendar-mode-list .rowline:not(.day-expanded-rowline):not(.ev-preview-rowline) > .item:not(.tail-item) .ev-discover-social{
  display: flex;
  align-items: center;
  gap: 6px;
  clear: both;
  padding: 4px 46% 0 4px;
  min-height: 16px;
  line-height: 1;
  opacity: 0.78;
}
body.calendar-mode-list .rowline:not(.day-expanded-rowline):not(.ev-preview-rowline) > .item:not(.tail-item) .ev-discover-social-chip{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 16px;
  padding: 0 6px;
  border-radius: var(--sotido-radius-pill);
  font-size: var(--sotido-type-micro);
  font-weight: var(--sotido-font-weight-bold);
  letter-spacing: 0.01em;
  background: var(--list-social-chip);
  color: var(--sotido-theme-text-primary);
  white-space: nowrap;
}
body.calendar-mode-list .rowline:not(.day-expanded-rowline):not(.ev-preview-rowline) > .item:not(.tail-item) .ev-discover-social-chip-like{
  color: var(--sotido-theme-text-primary);
  background: var(--list-social-chip-strong);
}
body.calendar-mode-list .rowline:not(.day-expanded-rowline):not(.ev-preview-rowline) > .item.highlight:not(.tail-item) .ev-discover-social-chip{
  background: var(--list-highlight-chip);
  color: var(--sotido-theme-text-inverse);
}
body.calendar-mode-list .rowline:not(.day-expanded-rowline):not(.ev-preview-rowline) > .item.highlight:not(.tail-item) .ev-discover-social-chip-like{
  background: var(--list-highlight-chip-strong);
  color: var(--sotido-theme-text-inverse);
}
.calendar-event-card > .ev-cover-layer{
  display: none;
}
.calendar-event-card.highlight.highlight-has-cover > .ev-cover-layer{
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  width: clamp(88px, 42%, 220px);
  max-width: 50%;
  height: auto;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  pointer-events: none;
}
.calendar-event-card.highlight.highlight-has-cover > .ev-cover-layer .ev-cover-layer-img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(var(--ev-cover-scale, 1)) translate3d(
    var(--ev-cover-translate-x, 0%),
    var(--ev-cover-translate-y, 0%),
    0
  );
  transform-origin: center;
}
.calendar-event-card.highlight.highlight-has-cover > .ev-cover-layer[data-highlight-cover-kind="brand"] .ev-cover-layer-img{
  box-sizing: border-box;
  object-fit: contain;
  padding: 4px;
}
.calendar-event-card.ev-variant-highlight .ev-timewrap{
  border-radius: 0;
  background: var(--sotido-recipe-calendar-list-badge-audience-surface);
  opacity: 1;
}
.calendar-event-card.is-discover-event .ev-title-text,
.calendar-event-card.is-discover-event .ev-desc-text{
  background: var(--sotido-recipe-calendar-event-card-discover-text-backdrop);
  -webkit-backdrop-filter: blur(var(--sotido-recipe-calendar-event-card-discover-text-backdrop-blur-radius));
  backdrop-filter: blur(var(--sotido-recipe-calendar-event-card-discover-text-backdrop-blur-radius));
}
body.calendar-mode-list .rowline:not(.day-expanded-rowline):not(.ev-preview-rowline) > .item.highlight.highlight-has-cover .ev-text-pair .ev-desc-text{
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  display: block;
}
.item.ev-variant-regular{
  --sotido-calendar-event-card-stroke-angle: var(--sotido-recipe-calendar-event-card-single-day-stroke-angle);
  background: linear-gradient(
  var(--sotido-recipe-calendar-event-card-surface),
  var(--sotido-recipe-calendar-event-card-surface)
  ) padding-box,
  linear-gradient(
  var(--sotido-calendar-event-card-stroke-angle),
  var(--calendar-comparison-color, var(--ev-regular-stroke, var(--sotido-theme-border))) 0%,
  var(--list-transparent) var(--sotido-recipe-calendar-event-card-stroke-fade-stop)
  ) border-box;
  border: var(--sotido-recipe-calendar-event-card-stroke-width) solid transparent;
  box-sizing: border-box;
  isolation: isolate;
}.calendar-event-segment--list > .calendar-event-card--list.has-tail{
  --sotido-calendar-event-card-stroke-angle: var(--sotido-recipe-calendar-event-card-list-multi-day-primary-stroke-angle);
}.calendar-event-segment--list > .calendar-event-card--list.tail-item{
  --sotido-calendar-event-card-stroke-angle: var(--sotido-recipe-calendar-event-card-list-tail-stroke-angle);
}.calendar-event-segment--grid > .calendar-event-card--grid.has-tail{
  --sotido-calendar-event-card-stroke-angle: var(--sotido-recipe-calendar-event-card-grid-multi-day-primary-stroke-angle);
}.calendar-event-segment--grid > .calendar-event-card--grid.tail-item{
  --sotido-calendar-event-card-stroke-angle: var(--sotido-recipe-calendar-event-card-grid-tail-stroke-angle);
}.item.ev-variant-highlight{
  border: none;
  box-sizing: border-box;
  background: var(--ev-highlight-bg, transparent);
}.item.ev-variant-highlight.is-calendar-comparison-event{
  border: var(--sotido-recipe-calendar-event-card-stroke-width) solid var(--calendar-comparison-color, var(--sotido-theme-accent));
}.calendar-event-segment--list > .item.highlight{
  /* Highlight events should look identical to normal ones; only background + optional cover differ. */
  isolation: isolate;
  min-height: calc(var(--ENTRY_H) * 2);
}.calendar-event-segment--list > .item.highlight:not(.tail-item){
  height: calc(var(--ENTRY_H) * 2);
  min-height: calc(var(--ENTRY_H) * 2);
  align-items: start;
}.calendar-event-segment--list > .item.highlight.highlight-has-cover{
  height: calc(var(--ENTRY_H) * 2);
  min-height: calc(var(--ENTRY_H) * 2);
}.item.highlight::after{
  content: none;
  display: none;
}.item.highlight.highlight-has-cover::before{
  content: none;
  display: none;
}@keyframes marquee_pingpong{
  0% { transform: translateX(0); }
  100% { transform: translateX(var(--overflow-translate, 0px)); }
}.marquee-pingpong{
  animation: marquee_pingpong var(--marquee-duration, 4s) linear infinite alternate;
}/* плавная подсветка day и line */
.calendar-date-header--list.flash,
.calendar-day-events-anchor--list.flash{
  transition: background-color var(--sotido-motion-relaxed) ease;
}.calendar-date-header--list.flash.active,
.calendar-day-events-anchor--list.flash.active{
  background-color: var(--sotido-theme-text-inverse);
}

/* Calendar Quick Add: one compact shared surface for list/grid empty-day entry. */
.sotido-modal-backdrop.calendar-quick-add-backdrop{
  z-index: calc(var(--sotido-layer-modal) + 20);
}
.sotido-modal-surface.calendar-quick-add-popover{
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + var(--sotido-recipe-calendar-quick-add-top-offset));
  z-index: calc(var(--sotido-layer-modal) + 21);
  width: min(
    var(--sotido-recipe-calendar-quick-add-max-width),
    calc(var(--calendar-quick-add-viewport-width, 100vw) - (2 * var(--sotido-recipe-calendar-quick-add-viewport-inset)))
  );
  max-height: calc(
    var(--calendar-quick-add-viewport-height, 100dvh)
    - var(--sotido-recipe-calendar-quick-add-top-offset)
    - env(safe-area-inset-top, 0px)
    - var(--sotido-recipe-calendar-quick-add-viewport-inset)
  );
  padding: var(--sotido-recipe-calendar-quick-add-surface-padding);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  box-sizing: border-box;
  color: var(--sotido-recipe-calendar-quick-add-text);
  background: var(--sotido-recipe-calendar-quick-add-surface);
  border: 1px solid var(--sotido-recipe-calendar-quick-add-border);
  border-radius: var(--sotido-radius-card);
  box-shadow: var(--sotido-shadow-surface);
  transform: translateX(-50%);
}
.calendar-quick-add-form{
  display: grid;
  gap: var(--sotido-recipe-calendar-quick-add-content-gap);
}
.calendar-quick-add-head,
.calendar-quick-add-time-row,
.calendar-quick-add-actions{
  display: flex;
  align-items: center;
}
.calendar-quick-add-head{
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}
.calendar-quick-add-heading-copy{
  min-width: 0;
  display: grid;
  gap: 2px;
}
.calendar-quick-add-head h2{
  margin: 0;
  font-size: var(--sotido-type-body-large);
  font-weight: var(--sotido-font-weight-bold);
  letter-spacing: 0;
}
.calendar-quick-add-date{
  color: var(--sotido-theme-text-secondary);
  font-size: var(--sotido-type-caption);
  line-height: 1.3;
}
.calendar-quick-add-title{
  min-height: var(--sotido-space-touch-target);
  letter-spacing: 0;
}
.calendar-quick-add-calendar-row{
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  color: var(--sotido-theme-text-secondary);
  font-size: var(--sotido-type-caption);
}
.calendar-quick-add-calendar-row[hidden]{
  display: none;
}
.calendar-quick-add-calendar-select{
  min-width: 0;
  min-height: 38px;
  padding-right: 34px;
}
.calendar-quick-add-calendar-row.has-error .calendar-quick-add-calendar-select{
  outline: 2px solid color-mix(in srgb, var(--sotido-theme-danger-text) 18%, transparent);
  outline-offset: 1px;
}
.calendar-quick-add-title:focus{
  outline: 2px solid color-mix(in srgb, var(--sotido-theme-accent) 24%, transparent);
  outline-offset: 1px;
}
.calendar-quick-add-time-row{
  justify-content: space-between;
  gap: 12px;
  min-height: 82px;
}
.calendar-quick-add-time-picker{
  display: flex;
  align-items: center;
  gap: 8px;
}
.calendar-quick-add-time-label{
  font-size: var(--sotido-type-caption);
  color: var(--sotido-theme-text-secondary);
}
.calendar-quick-add-picker-stage{
  position: relative;
  display: grid;
  place-items: center;
  width: 112px;
  height: 74px;
  flex: 0 0 112px;
  overflow: hidden;
}
.calendar-quick-add-picker-loading{
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--sotido-theme-text-secondary);
}
.calendar-quick-add-time-picker:not(.is-picker-loading) .calendar-quick-add-picker-loading{
  display: none;
}
.calendar-quick-add-time-picker-host{
  width: 112px;
  min-height: 74px;
}
.calendar-quick-add-time-picker-host[hidden]{
  display: none;
}
.calendar-quick-add-time-fallback{
  width: 112px;
  min-height: 40px;
  padding: 0 8px;
  box-sizing: border-box;
  color: var(--sotido-theme-text-primary);
  background: var(--sotido-theme-surface);
  border: 1px solid var(--sotido-theme-border);
  border-radius: var(--sotido-radius-card);
  font: inherit;
}
.calendar-quick-add-color-row{
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
}
.calendar-quick-add-color-label{
  color: var(--sotido-theme-text-secondary);
  font-size: var(--sotido-type-caption);
}
.calendar-quick-add-color-input{
  appearance: none;
  padding: 0;
  border: 1px solid var(--sotido-theme-border);
  border-radius: var(--sotido-radius-pill);
  cursor: pointer;
  width: 34px;
  height: 34px;
  background: var(--sotido-theme-surface);
}
.calendar-quick-add-color-input::-webkit-color-swatch-wrapper{
  padding: 4px;
}
.calendar-quick-add-color-input::-webkit-color-swatch{
  border: 0;
  border-radius: var(--sotido-radius-pill);
}
.calendar-quick-add-error{
  margin: 0;
  color: var(--sotido-theme-danger-text);
  font-size: var(--sotido-type-caption);
}
.calendar-quick-add-actions{
  justify-content: flex-end;
  gap: 8px;
}
.calendar-quick-add-more,
.calendar-quick-add-save{
  min-height: 40px;
  padding: 0 14px;
  border-radius: var(--sotido-radius-card);
  font: inherit;
  font-weight: var(--sotido-font-weight-semibold);
  letter-spacing: 0;
  cursor: pointer;
}
.calendar-quick-add-more{
  color: var(--sotido-theme-text-primary);
  background: transparent;
  border: 1px solid var(--sotido-theme-border);
}
.calendar-quick-add-save{
  color: var(--sotido-recipe-calendar-quick-add-text-on-accent);
  background: var(--sotido-theme-accent);
  border: 1px solid var(--sotido-theme-accent);
}
.calendar-quick-add-popover.is-submitting{
  cursor: progress;
}
.calendar-quick-add-popover button:disabled,
.calendar-quick-add-popover input:disabled{
  cursor: default;
  opacity: 0.56;
}

@media (max-width: 430px){
  .calendar-quick-add-time-row{
    align-items: flex-start;
  }
  .calendar-quick-add-time-picker{
    gap: 4px;
  }
  .calendar-quick-add-time-label{
    max-width: 54px;
  }
}
