.compose-popover {
  position: fixed;
  z-index: 40;
  box-sizing: border-box;
  max-width: calc(100vw - 16px);
  overflow: auto;
  overscroll-behavior: contain;
  padding: 9px;
  border: 1px solid #cfddd0;
  border-radius: 19px;
  background: linear-gradient(145deg, #fffffff5, #f6faf3f5);
  backdrop-filter: blur(24px);
  color: #2b4335;
  box-shadow: inset 0 1px 0 white, 0 12px 36px #233d2b29, 0 2px 6px #233d2b0c;
}
.compose-popover button { border: 0; background: transparent; color: inherit; }
.compose-popover :is(button,input):focus-visible { outline: 2px solid #528164; outline-offset: -2px; }
.kind-picker { width: 300px; }
.picker-label { margin: 5px 9px 8px; padding-bottom: 6px; border-bottom: 1px solid #e2eae0; font-size: 12px; font-weight: 650; color: #58705f; }
.kind-choice {
  display: flex; align-items: center; gap: 10px; width: 100%;
  min-height: 55px; padding: 7px 9px; border-radius: 11px; text-align: start; font-size: 14px;
}
.kind-choice + .kind-choice { margin-top: 2px; }
.kind-choice:hover, .calendar-heading button:hover, .calendar-days button:hover { background: #edf3eb; }
.kind-choice[aria-selected="true"] { background: #e2efe3; color: #264e38; font-weight: 650; }
.choice-copy { min-width: 0; display: grid; gap: 2px; }
.choice-copy strong { font-size: 14px; line-height: 1.4; }
.choice-copy small { font-size: 11.5px; line-height: 1.45; font-weight: 400; color: #536659; }
.choice-icon { flex: none; width: 33px; height: 33px; display: grid; place-items: center; border-radius: 10px; background: #d5e6d8; color: #456f52; box-shadow: inset 0 1px 1px #ffffffa6; }
.choice-icon[data-icon="layers"] { background: #f1e8d9; color: #7a613b; }
.choice-icon[data-icon="graduation-cap"] { background: #eae6f1; color: #6a5c7f; }
.choice-icon .bk-icon { width: 16px; height: 16px; }
.kind-choice > .bk-icon { flex: none; margin-left: auto; width: 17px; height: 17px; padding: 3px; background: #426e54; border-radius: 50%; color: white; stroke-width: 2.5; visibility: hidden; }
.kind-choice[aria-selected="true"] > .bk-icon { visibility: visible; }
.date-picker { width: 296px; padding: 13px; font-variant-numeric: tabular-nums; }
.calendar-heading, .calendar-entry, .calendar-footer { display: flex; align-items: center; }
.calendar-heading { gap: 3px; padding: 0 1px 9px; }
.calendar-heading strong { margin-right: auto; font-size: 16px; letter-spacing: -.025em; }
.calendar-heading button { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; }
.calendar-heading button:disabled { opacity: .4; }
.calendar-heading .bk-icon { width: 16px; height: 16px; }
.calendar-heading [data-month-step="-1"] svg { transform: rotate(180deg); }
.calendar-week, .calendar-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); text-align: center; }
.calendar-week { color: #647269; font-size: 12px; padding-block: 5px 4px; border-top: 1px solid #dce6dc; }
.calendar-days { gap: 1px 0; }
.calendar-days button {
  position: relative; min-height: 34px; border-radius: 10px;
  font-size: 13px; font-weight: 550; line-height: 1;
}
.calendar-days button[aria-current="date"]::after {
  content: ""; position: absolute; bottom: 4px; left: calc(50% - 2px);
  width: 4px; height: 4px; border-radius: 50%; background: currentColor;
}
.calendar-days button[aria-pressed="true"] { color: white; background: #38644c; }
.calendar-days button[aria-pressed="true"]:focus-visible { outline-color: #fff; outline-offset: -4px; }
.calendar-entry { margin-top: 10px; border: 1px solid #cfdbd0; border-radius: 10px; background: #ffffffd4; padding: 1px 4px 1px 9px; gap: 6px; }
.calendar-entry > .bk-icon, .calendar-footer .bk-icon { width: 14px; height: 14px; }
.calendar-entry input { flex: 1; width: 0; min-width: 0; border: 0; background: transparent; padding-block: 6px; font-size: 14px; }
.calendar-entry button, .calendar-footer button { border-radius: 7px; min-height: 32px; padding: 4px 9px; color: #365f46; font-size: 13px; font-weight: 650; }
.calendar-entry button { background: #ebf2e9; }
.calendar-footer { margin-top: 7px; justify-content: space-between; }
.calendar-footer button { display: inline-flex; gap: 5px; align-items: center; }
.calendar-footer button:hover, .calendar-entry button:hover { background: #dfebdf; }
@media (pointer: coarse) {
  .calendar-days button { min-height: 38px; }
  .calendar-entry input { font-size: 16px; }
}
