/* Calendar Quick Items — additive, scoped polish over the existing calendar.
 * Visual-only layer: premium Apple/ChatGPT-style lavender glass. No logic here.
 * Design tokens kept local so nothing leaks into the rest of the app. */
#calendar {
  --qi-purple: #6750c9;
  --qi-purple-deep: #4e3bb3;
  --qi-ink: #2c2740;
  --qi-ink-soft: #6f6786;
  --qi-line: rgba(124, 92, 255, .14);
  --qi-task: #2f9e6e;
  --qi-task-soft: rgba(47, 158, 110, .12);
  --qi-reminder: #c97a16;
  --qi-reminder-soft: rgba(224, 154, 61, .15);
  --qi-note: #6a4fc4;
  --qi-note-soft: rgba(120, 92, 220, .13);
  --qi-event: #3f6fd6;
  --qi-event-soft: rgba(63, 111, 214, .12);
  --qi-danger: #c23a5a;
  --qi-shadow: 0 10px 30px rgba(36, 24, 78, .08);
}

/* ── View options bar ─────────────────────────────────────────────────── */
/* Compact "Show" dropdown pill — collapsed by default, floats a popover open. */
#calendar .fcc-quick-item-view-options {
  display: inline-flex; align-items: center; margin: 0; padding: 0;
  border: 0; background: none; box-shadow: none;
}
#calendar .fcc-qi-view-menu { position: relative; }
#calendar .fcc-qi-view-summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  min-height: 30px; padding: 0 11px; border-radius: 999px;
  border: 1px solid rgba(124, 92, 255, .18); background: rgba(124, 92, 255, .06);
  color: var(--qi-ink); font: 650 .78rem/1 inherit; user-select: none;
  transition: background .14s ease, border-color .14s ease;
}
#calendar .fcc-qi-view-summary:hover,
#calendar .fcc-qi-view-menu[open] .fcc-qi-view-summary { background: rgba(124, 92, 255, .12); }
#calendar .fcc-qi-view-summary::-webkit-details-marker { display: none; }
#calendar .fcc-qi-view-summary::after {
  content: "▾"; color: var(--qi-ink-soft); font-size: .72rem; transition: transform .15s ease;
}
#calendar .fcc-qi-view-menu[open] .fcc-qi-view-summary::after { transform: rotate(180deg); }
#calendar .fcc-qi-view-title { font-weight: 700; color: var(--qi-ink); }
#calendar .fcc-qi-view-sub { font-weight: 700; color: var(--qi-purple); font-size: .72rem; }
#calendar .fcc-qi-view-body {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 9999;
  min-width: 200px; padding: 10px; display: flex; flex-direction: column; gap: 8px;
  background: #fff; border: 1px solid var(--qi-line); border-radius: 14px;
  box-shadow: 0 14px 34px rgba(53, 40, 120, .16);
}
#calendar .fcc-qi-view-toggles {
  display: flex; flex-direction: column; gap: 6px;
  padding-bottom: 8px; border-bottom: 1px solid var(--qi-line);
}
#calendar .fcc-qi-view-toggle {
  appearance: none; display: inline-flex; align-items: center; gap: 8px; width: 100%; justify-content: flex-start;
  border: 1px solid transparent; border-radius: 10px; min-height: 32px; padding: 0 11px 0 9px;
  color: var(--qi-ink-soft); background: transparent; cursor: pointer;
  font: 700 .78rem/1 inherit; transition: background .16s ease, color .16s ease, box-shadow .16s ease, transform .12s ease, border-color .16s ease;
}
#calendar .fcc-qi-view-toggle:not(.is-active):hover { background: rgba(124, 92, 255, .1); }
#calendar .fcc-qi-view-toggle::before {
  content: ''; flex: 0 0 15px; width: 15px; height: 15px; display: inline-grid; place-items: center;
  border-radius: 5px; border: 1.5px solid #c5bbe2; background: #fff;
  font-size: 10px; line-height: 1; color: transparent; transition: inherit;
}
#calendar .fcc-qi-view-toggle.is-active {
  color: #fff; border-color: transparent;
  background: linear-gradient(135deg, #7a5cf0, var(--qi-purple));
  box-shadow: 0 4px 12px rgba(103, 81, 204, .28);
}
#calendar .fcc-qi-view-toggle.is-active::before {
  content: '✓'; color: #fff; border-color: rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .22);
}
#calendar .fcc-qi-view-toggle:not(.is-active):hover { background: rgba(124, 92, 255, .1); color: var(--qi-purple-deep); }
#calendar .fcc-qi-view-body .fcc-qi-panel-launch {
  appearance: none; width: 100%; justify-content: center; margin: 0; border: 0; border-radius: 10px; min-height: 32px; padding: 0 12px;
  color: var(--qi-purple-deep); background: rgba(124, 92, 255, .13); cursor: pointer; font: 750 .76rem/1 inherit;
  transition: background .16s ease;
  display: inline-flex; align-items: center;
}
#calendar .fcc-qi-view-body .fcc-qi-panel-launch:hover { background: rgba(124, 92, 255, .2); }

/* ── Add Quickly card — per-type tinted icon chips (override base rail) ──── */
#calendar #calendarRightRail .calendar-rail-quick-grid { gap: 10px; }
#calendar #calendarRightRail .calendar-rail-quick-btn {
  position: relative; min-height: 64px; gap: 7px; border-radius: 16px;
  border: 1px solid var(--qi-line); background: rgba(255, 255, 255, .78);
  font-size: 1.18rem; box-shadow: 0 3px 10px rgba(72, 55, 130, .05);
  transition: transform .14s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease;
}
#calendar #calendarRightRail .calendar-rail-quick-btn span { font-size: .73rem; font-weight: 750; }
#calendar #calendarRightRail .calendar-rail-quick-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(72, 55, 130, .12); }
#calendar #calendarRightRail .calendar-rail-quick-btn:active { transform: translateY(0); }
#calendar #calendarRightRail .calendar-rail-quick-btn[data-rail-quick="event"]    { background: var(--qi-event-soft);    border-color: rgba(63, 111, 214, .2); }
#calendar #calendarRightRail .calendar-rail-quick-btn[data-rail-quick="event"] span    { color: var(--qi-event); }
#calendar #calendarRightRail .calendar-rail-quick-btn[data-rail-quick="task"]     { background: var(--qi-task-soft);     border-color: rgba(47, 158, 110, .22); }
#calendar #calendarRightRail .calendar-rail-quick-btn[data-rail-quick="task"] span     { color: var(--qi-task); }
#calendar #calendarRightRail .calendar-rail-quick-btn[data-rail-quick="reminder"] { background: var(--qi-reminder-soft); border-color: rgba(224, 154, 61, .26); }
#calendar #calendarRightRail .calendar-rail-quick-btn[data-rail-quick="reminder"] span { color: var(--qi-reminder); }
#calendar #calendarRightRail .calendar-rail-quick-btn[data-rail-quick="note"]     { background: var(--qi-note-soft);     border-color: rgba(120, 92, 220, .24); }
#calendar #calendarRightRail .calendar-rail-quick-btn[data-rail-quick="note"] span     { color: var(--qi-note); }

/* ── Quick item pills on the calendar grid ───────────────────────────────── */
#calendar .fcc-quick-events-hidden .calendar-day-events [data-event-id] { display: none; }
#calendar .fcc-quick-item-pill {
  display: inline-flex; align-items: center; gap: 4px;
  border-radius: 7px !important;
  background: var(--qi-note-soft) !important; color: #4f3ba8 !important; border: 0 !important; font-weight: 650 !important;
}
#calendar .fcc-quick-item-pill--reminder { background: var(--qi-reminder-soft) !important; color: #8a5210 !important; }
#calendar .fcc-quick-item-pill--note { background: rgba(53, 149, 177, .14) !important; color: #176377 !important; }
#calendar .fcc-quick-item-pill svg { width: 11px; height: 11px; flex: 0 0 11px; }
#calendar .fcc-quick-item-pill > span:not(.fcc-qi-svg) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── Quick Items panel ───────────────────────────────────────────────────── */
#calendar #calendarQuickItemsPanel .fcc-qi-panel-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
#calendar #calendarQuickItemsPanel .fcc-qi-panel-head h3 { margin: 0; }
#calendar .fcc-qi-panel-head-actions { display: flex; gap: 6px; align-items: center; }
#calendar .fcc-qi-panel-close {
  display: none; border: 0; border-radius: 50%; width: 30px; height: 30px;
  background: rgba(85, 67, 130, .09); color: #645a75; cursor: pointer; font-size: 1.3rem; line-height: 1;
}
#calendar .fcc-qi-add-btn {
  display: inline-grid; place-items: center; border: 0; border-radius: 50%; width: 30px; height: 30px;
  color: #fff; background: linear-gradient(135deg, #7a5cf0, var(--qi-purple)); cursor: pointer;
  font-size: 1.25rem; line-height: 1; box-shadow: 0 4px 10px rgba(103, 81, 204, .28);
  transition: transform .12s ease, box-shadow .16s ease;
}
#calendar .fcc-qi-add-btn:hover { transform: translateY(-1px) scale(1.04); }

#calendar .fcc-qi-filter-tabs {
  display: flex; gap: 3px; margin: 12px 0 10px; padding: 3px; border-radius: 12px;
  background: rgba(100, 86, 153, .09);
}
#calendar .fcc-qi-filter-tabs button {
  flex: 1; border: 0; border-radius: 9px; padding: 7px 3px; background: transparent;
  color: var(--qi-ink-soft); cursor: pointer; font: 700 .72rem/1 inherit;
  transition: background .16s ease, color .16s ease, box-shadow .16s ease;
}
#calendar .fcc-qi-filter-tabs button:hover:not(.is-active) { color: var(--qi-purple-deep); }
#calendar .fcc-qi-filter-tabs button.is-active { color: var(--qi-purple-deep); background: #fff; box-shadow: 0 1px 6px rgba(68, 52, 135, .14); }

#calendar .fcc-qi-list { display: flex; flex-direction: column; gap: 9px; max-height: 380px; overflow: auto; padding: 2px; margin: -2px; }
#calendar .fcc-qi-list::-webkit-scrollbar { width: 7px; }
#calendar .fcc-qi-list::-webkit-scrollbar-thumb { border-radius: 99px; background: rgba(124, 92, 255, .2); }

#calendar .fcc-qi-card {
  display: flex; flex-direction: column; gap: 9px; padding: 12px;
  border-radius: 15px; border: 1px solid rgba(124, 92, 255, .1);
  background: rgba(255, 255, 255, .82); box-shadow: 0 2px 9px rgba(42, 27, 82, .05);
  transition: transform .14s ease, box-shadow .16s ease, background .16s ease;
}
#calendar .fcc-qi-card:hover { background: #fff; transform: translateY(-1px); box-shadow: 0 8px 22px rgba(42, 27, 82, .1); }
#calendar .fcc-qi-card-main { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
#calendar .fcc-qi-card-icon {
  width: 30px; height: 30px; flex: 0 0 30px; display: grid; place-items: center; border-radius: 9px;
  color: var(--qi-note); background: var(--qi-note-soft);
}
#calendar .fcc-qi-card-icon svg { width: 16px; height: 16px; }
#calendar .fcc-qi-card--task .fcc-qi-card-icon { color: var(--qi-task); background: var(--qi-task-soft); }
#calendar .fcc-qi-card--reminder .fcc-qi-card-icon { color: var(--qi-reminder); background: var(--qi-reminder-soft); }
#calendar .fcc-qi-card--note .fcc-qi-card-icon { color: var(--qi-note); background: var(--qi-note-soft); }
#calendar .fcc-qi-card-copy { min-width: 0; flex: 1; }
#calendar .fcc-qi-card-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--qi-ink); font-size: .85rem; font-weight: 750; }
#calendar .fcc-qi-card.is-done .fcc-qi-card-title { color: #9a93ab; text-decoration: line-through; }
#calendar .fcc-qi-card-body { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--qi-ink-soft); font-size: .74rem; margin-top: 3px; }
#calendar .fcc-qi-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 9px; margin-top: 6px; color: #8b839d; font-size: .69rem; font-weight: 600; }
#calendar .fcc-qi-card-meta svg { width: 12px; height: 12px; vertical-align: -2px; margin-right: 2px; }
#calendar .fcc-qi-location {
  display: inline-flex; align-items: center; gap: 3px; border: 0; padding: 0;
  background: none; color: var(--qi-purple); cursor: pointer; font: 600 .69rem inherit;
}
#calendar .fcc-qi-location:hover { text-decoration: underline; }

#calendar .fcc-qi-card-actions { display: flex; flex-wrap: wrap; gap: 4px; padding-top: 9px; border-top: 1px solid rgba(124, 92, 255, .08); }
#calendar .fcc-qi-act {
  display: inline-flex; align-items: center; gap: 4px; border: 0; border-radius: 8px;
  padding: 5px 9px; background: rgba(108, 91, 145, .08); color: #5d5474; cursor: pointer;
  font: 700 .67rem/1 inherit; transition: background .14s ease, color .14s ease;
}
#calendar .fcc-qi-act svg { width: 13px; height: 13px; }
#calendar .fcc-qi-act:hover { background: rgba(108, 91, 145, .16); color: var(--qi-ink); }
#calendar .fcc-qi-act--done { color: var(--qi-task); background: var(--qi-task-soft); }
#calendar .fcc-qi-act--done:hover { background: rgba(47, 158, 110, .2); color: #1f7a52; }
#calendar .fcc-qi-act--danger { margin-left: auto; color: var(--qi-danger); background: transparent; }
#calendar .fcc-qi-act--danger:hover { background: rgba(210, 74, 108, .12); color: #9c2742; }

#calendar .fcc-qi-empty { padding: 26px 12px; text-align: center; color: var(--qi-ink-soft); }
#calendar .fcc-qi-empty span { display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto 9px; border-radius: 14px; color: var(--qi-purple); background: rgba(124, 92, 255, .1); font-size: 1.3rem; }
#calendar .fcc-qi-empty strong, #calendar .fcc-qi-empty p { display: block; margin: 0; }
#calendar .fcc-qi-empty strong { color: #4f4963; font-size: .84rem; font-weight: 750; }
#calendar .fcc-qi-empty p { margin-top: 5px; font-size: .72rem; line-height: 1.4; color: #8b839d; }

/* ── Composer modal / drawer ─────────────────────────────────────────────── */
.fcc-qi-composer-backdrop {
  position: fixed; z-index: 10050; inset: 0; display: grid; place-items: center; padding: 20px;
  background: rgba(31, 21, 58, .42); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  animation: fccQiFade .18s ease;
}
@keyframes fccQiFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes fccQiRise { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
.fcc-qi-composer {
  width: min(560px, 100%); max-height: min(820px, calc(100vh - 40px)); overflow: auto;
  border-radius: 24px; border: 1px solid rgba(255, 255, 255, .6);
  background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(250, 248, 255, .96));
  -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 30px 80px rgba(30, 16, 66, .34);
  animation: fccQiRise .22s cubic-bezier(.2, .8, .25, 1);
}
.fcc-qi-composer-handle { display: none; }
.fcc-qi-composer header { display: flex; justify-content: space-between; gap: 16px; padding: 22px 24px 14px; }
.fcc-qi-composer h2 { margin: 7px 0 0; color: var(--qi-ink, #2f2744); font-size: 1.24rem; font-weight: 800; letter-spacing: -.01em; }
.fcc-qi-composer header > button {
  border: 0; width: 32px; height: 32px; flex: 0 0 32px; border-radius: 50%;
  background: rgba(85, 67, 130, .09); color: #5e5573; font-size: 1.5rem; line-height: 1; cursor: pointer;
  transition: background .14s ease;
}
.fcc-qi-composer header > button:hover { background: rgba(85, 67, 130, .16); }
.fcc-qi-type-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px;
  color: #6750c9; background: rgba(124, 92, 255, .12); font-size: .72rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .03em;
}
.fcc-qi-type-chip svg { width: 14px; height: 14px; }
.fcc-qi-composer form { display: grid; gap: 14px; padding: 0 24px 24px; }
.fcc-qi-composer label { display: grid; gap: 6px; color: #574e6b; font-size: .74rem; font-weight: 750; }
.fcc-qi-composer label em { color: #8059d9; font-style: normal; font-weight: 700; }
.fcc-qi-composer input, .fcc-qi-composer textarea, .fcc-qi-composer select {
  box-sizing: border-box; width: 100%; border: 1px solid rgba(99, 78, 154, .18); border-radius: 12px;
  padding: 11px 12px; color: #332b47; background: #fff; font: 400 .9rem/1.35 inherit; outline: none;
  transition: border-color .14s ease, box-shadow .14s ease;
}
.fcc-qi-composer textarea { resize: vertical; min-height: 84px; }
.fcc-qi-composer input:focus, .fcc-qi-composer textarea:focus, .fcc-qi-composer select:focus {
  border-color: #8066d4; box-shadow: 0 0 0 3px rgba(128, 102, 212, .14);
}
.fcc-qi-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.fcc-qi-check {
  display: flex !important; align-items: center; gap: 10px !important; cursor: pointer;
  padding: 11px 13px; border-radius: 13px; border: 1px solid rgba(99, 78, 154, .14); background: rgba(124, 92, 255, .05);
}
.fcc-qi-check input { width: 18px; height: 18px; accent-color: var(--qi-purple, #6b52cc); }
.fcc-qi-check span { color: #4f4763; font-size: .82rem; font-weight: 700; }

/* Location */
.fcc-qi-location-section { position: relative; padding: 12px 13px; border-radius: 14px; border: 1px solid rgba(124, 92, 255, .12); background: rgba(124, 92, 255, .05); }
.fcc-qi-location-section summary { cursor: pointer; color: #51476a; font-size: .8rem; font-weight: 800; list-style: none; }
.fcc-qi-location-section summary::-webkit-details-marker { display: none; }
.fcc-qi-location-section summary::before { content: '📍'; margin-right: 6px; }
.fcc-qi-location-section summary span { margin-left: 4px; color: #958aa8; font-weight: 600; }
.fcc-qi-location-fields { display: grid; gap: 11px; padding-top: 12px; }
.fcc-qi-location-suggestions {
  position: absolute; z-index: 3; top: 84px; right: 13px; left: 13px; overflow: auto; max-height: 200px;
  border-radius: 13px; border: 1px solid rgba(124, 92, 255, .12); background: #fff; box-shadow: 0 14px 36px rgba(50, 34, 94, .24);
}
.fcc-qi-location-suggestions button { display: grid; width: 100%; border: 0; padding: 10px 12px; text-align: left; background: #fff; color: #3d3452; cursor: pointer; font: 700 .82rem inherit; }
.fcc-qi-location-suggestions button:hover { background: #f4f1ff; }
.fcc-qi-location-suggestions small, .fcc-qi-selected-location small { display: block; margin-top: 2px; color: #80768f; font-size: .72rem; font-weight: 500; }
.fcc-qi-location-empty { padding: 11px; color: #746a85; font-size: .76rem; }
.fcc-qi-selected-location { display: flex; gap: 9px; align-items: center; padding: 10px 11px; border-radius: 11px; border: 1px solid rgba(124, 92, 255, .14); background: #fff; color: #5c4aa4; font-size: .78rem; }
.fcc-qi-selected-location > span { font-size: 1rem; }
.fcc-qi-selected-location div { flex: 1; min-width: 0; }
.fcc-qi-selected-location strong { color: #3d3452; font-weight: 750; }
.fcc-qi-selected-location button { border: 0; background: none; color: #7558ca; cursor: pointer; font: 750 .73rem inherit; }
.fcc-qi-selected-location button:hover { text-decoration: underline; }
.fcc-qi-location-future { margin: 0; color: #82768e; font-size: .69rem; line-height: 1.4; }
.fcc-qi-composer-error { margin: 0; padding: 10px 12px; border-radius: 11px; background: rgba(210, 74, 108, .1); color: #a8324f; font-size: .78rem; font-weight: 650; }

.fcc-qi-composer footer { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.fcc-qi-composer footer .fcc-qi-spacer { flex: 1; }
.fcc-qi-composer footer button { min-height: 40px; border: 0; border-radius: 12px; padding: 0 16px; cursor: pointer; font: 800 .8rem inherit; transition: transform .12s ease, box-shadow .16s ease, background .16s ease; }
.fcc-qi-primary { color: #fff; background: linear-gradient(135deg, #7a5cf0, var(--qi-purple, #6650c8)); box-shadow: 0 6px 16px rgba(100, 78, 195, .3); }
.fcc-qi-primary:hover { transform: translateY(-1px); box-shadow: 0 9px 22px rgba(100, 78, 195, .38); }
.fcc-qi-secondary { color: #554b6a; background: rgba(94, 76, 143, .1); }
.fcc-qi-secondary:hover { background: rgba(94, 76, 143, .16); }
.fcc-qi-danger { color: var(--qi-danger, #a62f4f); background: rgba(210, 74, 108, .1); }
.fcc-qi-danger:hover { background: rgba(210, 74, 108, .18); }

/* ── Mobile: Quick Items as a bottom sheet ───────────────────────────────── */
@media (max-width: 1079px) {
  #calendar #calendarQuickItemsPanel { display: none; }
  #calendar #calendarQuickItemsPanel.is-open {
    position: fixed; z-index: 10010; right: 0; bottom: 0; left: 0; display: block;
    max-height: min(80vh, 680px); padding: 18px 16px calc(20px + env(safe-area-inset-bottom));
    border-radius: 26px 26px 0 0; border: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(250, 248, 255, .98));
    -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%);
    box-shadow: 0 -16px 50px rgba(35, 20, 75, .26);
    animation: fccQiSheet .26s cubic-bezier(.2, .8, .25, 1);
  }
  @keyframes fccQiSheet { from { transform: translateY(100%); } to { transform: none; } }
  #calendar #calendarQuickItemsPanel.is-open::before {
    content: ''; display: block; width: 40px; height: 5px; margin: -4px auto 14px; border-radius: 99px; background: #cdc4dc;
  }
  #calendar #calendarQuickItemsPanel.is-open .fcc-qi-panel-close { display: grid; place-items: center; }
  #calendar #calendarQuickItemsPanel.is-open .fcc-qi-list { max-height: calc(min(80vh, 680px) - 150px); }
}
@media (max-width: 640px) {
  #calendar .fcc-quick-item-view-options { margin: 0; }
  #calendar .fcc-qi-view-body {
    left: 0; right: auto;
    min-width: min(220px, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
  }
  .fcc-qi-composer-backdrop { align-items: end; padding: 0; }
  .fcc-qi-composer { width: 100%; max-height: 94vh; min-height: min(82vh, 700px); border-radius: 26px 26px 0 0; animation: fccQiSheet .26s cubic-bezier(.2, .8, .25, 1); }
  .fcc-qi-composer-handle { display: block; width: 40px; height: 5px; margin: 10px auto -2px; border-radius: 99px; background: #cdc4dc; }
  .fcc-qi-composer header { padding-top: 16px; }
  .fcc-qi-form-grid { grid-template-columns: 1fr; }
  .fcc-qi-composer footer { flex-wrap: wrap; padding-bottom: env(safe-area-inset-bottom); }
  .fcc-qi-composer footer .fcc-qi-primary { flex: 1; }
}
