.l-calendar {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  color: var(--td-text-color-primary);
  font-size: var(--td-font-size-body-medium);
  font-family: var(--td-font-family);
  list-style: none;
  border: 1px solid var(--td-border-level-1-color);
  background-color: var(--td-bg-color-container);
  border-radius: var(--td-radius-large);
}
.l-calendar .l-is-disabled.l-calendar__table-body-cell:hover {
  cursor: not-allowed;
}
.l-calendar .l-is-disabled .l-calendar__table-body-cell-display {
  color: var(--td-text-color-disabled);
}
.l-calendar .l-is-disabled .l-calendar__table-body-cell-display:hover {
  box-shadow: none;
}
.l-calendar--full {
  min-width: 560px;
}
.l-calendar--full .l-calendar__control {
  padding: 46px 36px 20px;
}
.l-calendar--full .l-calendar__title {
  font-size: var(--td-font-size-title-large);
  flex: 1;
}
.l-calendar--full .l-calendar__panel {
  padding: 10px 36px 35px;
  position: relative;
}
.l-calendar--full .l-calendar__panel-title {
  font: var(--td-font-title-large);
  padding-top: 1px;
  padding-bottom: 1px;
  color: var(--td-text-color-primary);
  position: absolute;
  top: -36px;
}
.l-calendar--full .l-calendar__table-head-cell,
.l-calendar--full .l-calendar__table-body-cell {
  margin-right: 12px;
  position: relative;
}
.l-calendar--full .l-calendar__table-body-cell {
  border-top: 1px solid var(--td-border-level-1-color);
  padding: 0px;
  height: 87.4px;
  line-height: 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-left: 0px;
  transition-duration: 0.2s;
  transition-property: border-top, background;
  transition-timing-function: cubic-bezier(0.82, 0, 1, 0.9);
}
.l-calendar--full .l-calendar__table-body-cell-content {
  min-height: 60px;
  padding-top: 8px;
}
.l-calendar--full .l-calendar__table-body-cell.l-is-checked {
  background-color: var(--td-brand-color-light);
}
.l-calendar--full .l-calendar__table-body-cell.l-is-checked:hover {
  background-color: var(--td-brand-color-light);
}
.l-calendar--full .l-calendar__table-body-cell--now {
  border-top: 1px solid var(--td-brand-color);
}
.l-calendar--full .l-calendar__table-body-cell--now .l-calendar__table-body-cell-display {
  color: var(--td-brand-color);
}
.l-calendar--full .l-calendar__footer {
  height: 90px;
  padding: 46px 36px 20px;
  border-top: 1px solid var(--td-border-level-1-color);
}
.l-calendar--card {
  width: 352px;
  border-radius: var(--td-radius-medium);
}
.l-calendar--card .l-calendar__control {
  padding: 16px 13px 15px;
  border-bottom: 1px solid var(--td-border-level-1-color);
}
.l-calendar--card .l-calendar__panel.l-calendar__panel--month {
  height: 310px;
  padding: 16px 24px 24px;
}
.l-calendar--card .l-calendar__panel.l-calendar__panel--year {
  height: 256px;
  padding: 16px 32px 32px;
}
.l-calendar--card .l-calendar__table {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-self: start;
  align-items: flex-start;
}
.l-calendar--card .l-calendar__table-head-row,
.l-calendar--card .l-calendar__table-body-row {
  flex: 1;
  background: var(--td-bg-color-container);
}
.l-calendar--card .l-calendar__table-head-cell,
.l-calendar--card .l-calendar__table-body-cell {
  width: 100%;
  height: 100%;
  margin: 0px;
  justify-content: center;
  font: var(--td-font-body-small);
  box-sizing: border-box;
}
.l-calendar--card .l-calendar__table-head-cell-display,
.l-calendar--card .l-calendar__table-body-cell-display {
  width: 40px;
  line-height: 40px;
}
.l-calendar--card .l-calendar__table-body {
  display: flex;
  flex-direction: column;
  justify-self: center;
  align-items: center;
  flex: 1;
}
.l-calendar--card .l-calendar__table-body-cell {
  justify-content: center;
  align-items: center;
}
.l-calendar--card .l-calendar__table-body-cell:hover {
  background-color: var(--td-bg-color-container);
}
.l-calendar--card .l-calendar__table-body-cell-display {
  font: var(--td-font-body-small);
  padding-top: 10px;
  padding-bottom: 10px;
  text-align: center;
  border-radius: var(--td-radius-circle);
  transition-duration: 0.2s;
  transition-property: border-top, background;
  transition-timing-function: cubic-bezier(0.82, 0, 1, 0.9);
}
.l-calendar--card .l-calendar__table-body-cell-display:hover {
  box-shadow: inset 0 0 0 1px var(--td-brand-color);
  transition: box-shadow 0.2s cubic-bezier(0.82, 0, 1, 0.9);
  border-radius: 100%;
}
.l-calendar--card .l-calendar__table-body-cell--now .l-calendar__table-body-cell-display {
  color: var(--td-brand-color);
  font-weight: bold;
  position: relative;
}
.l-calendar--card .l-calendar__table-body-cell--now .l-calendar__table-body-cell-display::before {
  content: '';
  position: absolute;
  bottom: 1px;
  left: 50%;
  transform: translate(-50%);
  width: 6px;
  height: 6px;
  background: var(--td-brand-color);
  border-radius: var(--td-radius-medium);
}
.l-calendar--card .l-is-checked .l-calendar__table-body-cell-display {
  background: var(--td-brand-color);
  border-radius: 100%;
  color: #fff;
  font-weight: bold;
}
.l-calendar--card .l-calendar__footer {
  height: 64px;
  padding: 16px;
  border-top: 1px solid var(--td-border-level-1-color);
}
.l-calendar__control {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.l-calendar__control-section {
  height: 100%;
  margin-right: 16px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.l-calendar__control-section:last-child {
  margin-right: 0;
}
.l-calendar__control-section-cell {
  height: 100%;
  margin-right: 8px;
}
.l-calendar__control-section-cell:last-child {
  margin-right: 0;
}
.l-calendar__control-section-cell .l-select.l-size-large {
  padding-right: 51px;
}
.l-calendar__control-section-cell .l-select.l-size-medium {
  padding-right: 42px;
}
.l-calendar__control-section-cell .l-select.l-size-small {
  padding-right: 35px;
}
.l-calendar__control-tag {
  height: 32px;
  padding: 0 16px;
}
.l-calendar__panel {
  box-sizing: border-box;
  width: 100%;
}
.l-calendar__table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  height: 100%;
}
.l-calendar__table-head,
.l-calendar__table-body {
  width: 100%;
}
.l-calendar__table-head-row,
.l-calendar__table-body-row {
  width: 100%;
  display: flex;
}
.l-calendar__table-head-cell,
.l-calendar__table-body-cell {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  font: var(--td-font-body-medium);
  color: var(--td-text-color-primary);
  cursor: default;
  padding: 0px;
}
.l-calendar__table-head-cell:last-child,
.l-calendar__table-body-cell:last-child {
  margin-right: 0;
}
.l-calendar__table-head {
  margin-bottom: 8px;
  display: block;
}
.l-calendar__table-head-row {
  padding-bottom: 0px;
  background: var(--td-bg-color-container);
}
.l-calendar__table-head-cell {
  height: 100%;
  padding: 0px;
  font: var(--td-font-body-medium);
  color: var(--td-text-color-secondary);
}
.l-calendar__table-body-cell {
  cursor: pointer;
}
.l-calendar__table-body-cell:hover {
  background-color: var(--td-bg-color-container-hover);
  transition: background-color 0.2s cubic-bezier(0.82, 0, 1, 0.9);
}
.l-calendar__table-body-cell-display {
  font: var(--td-font-body-medium);
  color: var(--td-text-color-primary);
}
