.l-calendar {
  font: var(--td-font-body-medium);
  color: var(--td-text-color-primary);
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  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;
  padding: var(--td-comp-paddingTB-xxl) var(--td-comp-paddingLR-xxl);
}
.l-calendar--full .l-calendar__control {
  padding: 0;
}
.l-calendar--full .l-calendar__title {
  font: var(--td-font-title-large);
  flex: 1;
}
.l-calendar--full .l-calendar__panel {
  position: relative;
  margin-top: var(--td-comp-margin-xxxl);
}
.l-calendar--full .l-calendar__panel-title {
  font: var(--td-font-title-large);
  color: var(--td-text-color-primary);
  position: absolute;
}
.l-calendar--full .l-calendar__table-head-cell,
.l-calendar--full .l-calendar__table-body-cell {
  margin-right: var(--td-comp-margin-s);
  position: relative;
}
.l-calendar--full .l-calendar__table-body-cell {
  border-top: 2px solid var(--td-border-level-1-color);
  padding: 0;
  height: 104px;
  line-height: var(--td-line-height-body-medium);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  margin-left: 0;
  transition-duration: 0.2s;
  transition-property: border-top, background;
  transition-timing-function: linear;
}
.l-calendar--full .l-calendar__table-body-cell-content {
  padding: var(--td-comp-paddingTB-s) var(--td-comp-paddingLR-xs);
  width: 100%;
  box-sizing: border-box;
}
.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: 2px solid var(--td-brand-color);
}
.l-calendar--full .l-calendar__table-body-cell--now .l-calendar__table-body-cell-display {
  color: var(--td-text-color-primary);
}
.l-calendar--full .l-calendar__footer {
  height: 90px;
  padding: var(--td-comp-paddingTB-xxl) var(--td-comp-paddingLR-xxl);
  border-top: 1px solid var(--td-border-level-1-color);
}
.l-calendar--card {
  width: 280px;
  border-radius: var(--td-radius-medium);
  padding: var(--td-comp-paddingTB-m) var(--td-comp-paddingLR-m);
}
.l-calendar--card .l-calendar__control {
  padding: 0;
}
.l-calendar--card .l-calendar__control-section {
  width: 100%;
  justify-content: flex-start;
}
.l-calendar--card .l-calendar__control-section-cell:last-child {
  flex: 1;
  text-align: right;
  display: block;
}
.l-calendar--card .l-calendar__panel.l-calendar__panel--month {
  height: 200px;
  margin-top: var(--td-comp-margin-m);
}
.l-calendar--card .l-calendar__panel.l-calendar__panel--year {
  height: 168px;
  margin-top: var(--td-comp-margin-m);
}
.l-calendar--card .l-calendar__panel.l-calendar__panel--year .l-calendar__table-body-cell-display {
  min-width: var(--td-comp-size-xxl);
}
.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%;
  justify-content: center;
  font: var(--td-font-body-medium);
  box-sizing: border-box;
}
.l-calendar--card .l-calendar__table-head-cell-display,
.l-calendar--card .l-calendar__table-body-cell-display {
  width: var(--td-comp-size-xs);
  line-height: var(--td-comp-size-xs);
}
.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-medium);
  padding-top: calc(var(--td-comp-paddingTB-xxs) / 2);
  padding-bottom: calc(var(--td-comp-paddingTB-xxs) / 2);
  text-align: center;
  border-radius: var(--td-radius-default);
  transition: all 0.2s linear;
}
.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 linear;
}
.l-calendar--card .l-calendar__table-body-cell--now .l-calendar__table-body-cell-display {
  color: var(--td-brand-color);
  background-color: var(--td-brand-color-light);
  position: relative;
}
.l-calendar--card .l-is-checked .l-calendar__table-body-cell-display {
  background: var(--td-brand-color);
  border-radius: var(--td-radius-default);
  color: var(--td-text-color-anti);
}
.l-calendar--card .l-calendar__footer {
  height: var(--td-comp-size-xxl);
  padding: 0 var(--td-comp-paddingLR-m);
  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%;
  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: var(--td-comp-margin-s);
  display: flex;
}
.l-calendar__control-section-cell .l-radio-group {
  vertical-align: bottom;
}
.l-calendar__control-section-cell .l-select {
  display: inline;
}
.l-calendar__control-section-cell:last-child {
  margin-right: 0;
}
.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-title-small);
  color: var(--td-text-color-primary);
  cursor: default;
  padding: 0;
}
.l-calendar__table-head-cell:last-child,
.l-calendar__table-body-cell:last-child {
  margin-right: 0;
}
.l-calendar__table-head {
  margin-bottom: var(--td-comp-margin-s);
  display: block;
}
.l-calendar__table-head-row {
  padding-bottom: 0px;
  background: var(--td-bg-color-container);
}
.l-calendar__table-head-cell {
  height: 100%;
  font: var(--td-font-title-small);
  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 linear;
}
.l-calendar__table-body-cell-display {
  font: var(--td-font-title-small);
  color: var(--td-text-color-primary);
}
