#headerLogoLink {
  display: inline-grid;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
}

#headerLogoLink:hover,
#headerLogoLink:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  transform: none;
}

#companyCalendarView {
  padding: 0;
}

.company-calendar-shell {
  height: calc(100dvh - 142px);
  min-height: 620px;
  overflow: hidden;
  background: #f5f7f8;
  color: #202124;
}

.company-calendar-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 12px 22px;
  border-bottom: 1px solid #dadce0;
  background: #fff;
}

.company-calendar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
}

.company-calendar-brand-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 10px;
  background: #1a73e8;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
}

.company-calendar-brand strong {
  display: block;
  color: #3c4043;
  font-size: 1.22rem;
  font-weight: 500;
}

.company-calendar-brand small {
  display: block;
  margin-top: 2px;
  color: #5f6368;
}

.company-calendar-today,
.company-calendar-nav button,
.company-calendar-view-mode {
  min-height: 38px;
  border: 1px solid #dadce0;
  border-radius: 5px;
  background: #fff;
  color: #3c4043;
  box-shadow: none;
}

.company-calendar-today {
  padding-inline: 18px;
  font-weight: 600;
}

.company-calendar-nav {
  display: flex;
  gap: 4px;
}

.company-calendar-nav button {
  width: 38px;
  padding: 0;
  border-color: transparent;
  font-size: 1.4rem;
}

.company-calendar-nav button:hover,
.company-calendar-today:hover {
  background: #f1f3f4;
  transform: none;
}

.company-calendar-month-title {
  min-width: 205px;
  margin: 0;
  color: #202124;
  font-size: clamp(1.55rem, 1.8vw, 1.85rem);
  font-weight: 700 !important;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

html body#strongholdApp:not(.login-active) .workspace .company-calendar-month-title {
  color: #202124 !important;
  font-weight: 700 !important;
  letter-spacing: -0.025em !important;
}

.company-calendar-toolbar-spacer {
  flex: 1;
}

.company-calendar-view-mode {
  display: inline-flex;
  align-items: center;
  padding-inline: 16px;
}

.company-calendar-layout {
  display: grid;
  grid-template-columns: 184px minmax(0, 1fr);
  height: calc(100% - 72px);
  min-height: 0;
}

.company-calendar-sidebar {
  padding: 14px 10px;
  border-right: 1px solid #dadce0;
  background: #f8fafb;
}

.company-calendar-create {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 24px;
  background: #fff;
  color: #3c4043;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
  font-size: 0.95rem;
  font-weight: 600;
}

.company-calendar-create::before {
  content: "+";
  color: #1a73e8;
  font-size: 1.9rem;
  font-weight: 300;
  line-height: 1;
}

.company-calendar-create:hover {
  background: #f8fafd;
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.3), 0 4px 8px 3px rgba(60, 64, 67, 0.15);
  transform: none;
}

.company-calendar-sidebar-section {
  margin-top: 18px;
}

.company-calendar-sidebar-section > strong {
  display: block;
  margin-bottom: 12px;
  color: #3c4043;
  font-size: 0.88rem;
}

.company-calendar-legend {
  display: grid;
  gap: 7px;
}

.company-calendar-legend span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #5f6368;
  font-size: 0.74rem;
}

.company-calendar-legend i {
  width: 11px;
  height: 11px;
  border-radius: 3px;
}

.company-calendar-legend .production { background: #1a73e8; }
.company-calendar-legend .service { background: #188038; }
.company-calendar-legend .scheduled { background: #7b1fa2; }
.company-calendar-legend .vacation { background: #f9ab00; }
.company-calendar-legend .company { background: #5f6368; }
.company-calendar-legend .report { background: #d93025; }

.company-calendar-sidebar-actions {
  display: grid;
  gap: 4px;
}

.company-calendar-sidebar-actions button {
  justify-content: flex-start;
  width: 100%;
  min-height: 32px;
  padding-inline: 8px;
  font-size: 0.72rem;
  border: 0;
  background: transparent;
  color: #3c4043;
  text-align: left;
  box-shadow: none;
}

.company-calendar-sidebar-actions button:hover {
  background: #f1f3f4;
  transform: none;
}

.company-calendar-sidebar-note {
  margin-top: 10px;
  color: #80868b;
  font-size: 0.68rem;
  line-height: 1.45;
}

.company-calendar-main {
  min-width: 0;
  min-height: 0;
  overflow-x: auto;
  overflow-y: auto;
  background: #fff;
}

.company-calendar-weekdays,
.company-calendar-week-days,
.company-calendar-week-spans {
  display: grid;
  grid-template-columns: repeat(7, minmax(128px, 1fr));
  min-width: 896px;
}

.company-calendar-grid {
  display: grid;
  grid-template-rows: repeat(6, minmax(104px, auto));
  min-height: calc(100% - 34px);
  min-width: 896px;
}

.company-calendar-weekdays {
  position: sticky;
  top: 0;
  z-index: 4;
  background: #fff;
}

.company-calendar-weekday {
  padding: 9px 6px;
  border-right: 1px solid #dadce0;
  border-bottom: 1px solid #dadce0;
  color: #70757a;
  font-size: 0.72rem;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
}

.company-calendar-week {
  position: relative;
  min-height: 0;
  min-width: 896px;
}

.company-calendar-week-days {
  position: relative;
  height: 100%;
}

.company-calendar-day {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  padding: 4px 4px 8px;
  border: 0;
  border-right: 1px solid #dadce0;
  border-bottom: 1px solid #dadce0;
  border-radius: 0;
  background: #fff;
  color: #202124;
  text-align: left;
  box-shadow: none;
  overflow: hidden;
}

.company-calendar-day:hover {
  background: #f8fafd;
  transform: none;
}

.company-calendar-day.is-outside {
  background: #fafafa;
}

.company-calendar-day.is-outside .company-calendar-day-number {
  color: #bdc1c6;
}

.company-calendar-day.is-today {
  background: #f8fbff;
}

.company-calendar-day-number {
  flex: 0 0 auto;
  display: grid;
  width: 26px;
  height: 26px;
  margin: 0;
  padding: 0;
  border: 0;
  place-items: center;
  border-radius: 50%;
  background: transparent;
  color: #3c4043;
  box-shadow: none;
  font-size: 0.78rem;
  font-weight: 500;
}

.company-calendar-day-heading {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 30px;
}

.company-calendar-day-number:hover,
.company-calendar-day-number:focus-visible {
  background: #f1f3f4;
  transform: none;
}

.company-calendar-day.is-today .company-calendar-day-number {
  background: #1a73e8;
  color: #fff;
}

.company-calendar-items {
  display: grid;
  flex: 0 0 auto;
  align-content: start;
  gap: 2px;
  min-height: 0;
  margin-top: var(--company-calendar-span-space, 0px);
}

.company-calendar-item {
  display: flex;
  align-items: center;
  gap: 5px;
  width: 100%;
  min-width: 0;
  min-height: 20px;
  padding: 2px 6px;
  border: 0;
  border-left: 3px solid currentColor;
  border-radius: 4px;
  background: #e8f0fe;
  color: #185abc;
  box-shadow: none;
  font-size: 0.72rem;
  line-height: 1.3;
  text-align: left;
}

.company-calendar-item:hover {
  filter: brightness(0.97);
  transform: none;
}

.company-calendar-item-time {
  flex: 0 0 auto;
  font-weight: 700;
}

.company-calendar-item-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.company-calendar-week-spans {
  position: absolute;
  top: 34px;
  right: 0;
  left: 0;
  z-index: 3;
  grid-auto-rows: 20px;
  gap: 2px 0;
  pointer-events: none;
}

.company-calendar-item.company-calendar-item-span {
  z-index: 1;
  align-self: stretch;
  width: auto;
  min-height: 20px;
  margin-right: 0;
  margin-left: 0;
  border-radius: 0;
  justify-content: flex-start;
  text-align: left;
  pointer-events: auto;
}

.company-calendar-week-spans .company-calendar-item-span .company-calendar-item-title {
  flex: 1 1 auto;
  width: 100%;
  text-align: left;
}

.company-calendar-item.company-calendar-item-span.starts-here {
  margin-left: 4px;
  border-radius: 4px 0 0 4px;
}

.company-calendar-item.company-calendar-item-span.ends-here {
  margin-right: 4px;
  border-radius: 0 4px 4px 0;
}

.company-calendar-item.company-calendar-item-span.starts-here.ends-here {
  border-radius: 4px;
}

html body#strongholdApp#strongholdApp#strongholdApp.command-map-theme:not(.login-active) #companyCalendarContent .company-calendar-item.company-calendar-item-span {
  border-radius: 0 !important;
  justify-content: flex-start !important;
  text-align: left !important;
}

html body#strongholdApp#strongholdApp#strongholdApp.command-map-theme:not(.login-active) #companyCalendarContent .company-calendar-item.company-calendar-item-span .company-calendar-item-title {
  text-align: left !important;
}

html body#strongholdApp#strongholdApp#strongholdApp.command-map-theme:not(.login-active) #companyCalendarContent .company-calendar-item.company-calendar-item-span.starts-here {
  border-radius: 4px 0 0 4px !important;
}

html body#strongholdApp#strongholdApp#strongholdApp.command-map-theme:not(.login-active) #companyCalendarContent .company-calendar-item.company-calendar-item-span.ends-here {
  border-radius: 0 4px 4px 0 !important;
}

html body#strongholdApp#strongholdApp#strongholdApp.command-map-theme:not(.login-active) #companyCalendarContent .company-calendar-item.company-calendar-item-span.starts-here.ends-here {
  border-radius: 4px !important;
}

.company-calendar-item.ticket-production { background: #e7f0ff; color: #1559b7; }
.company-calendar-item.ticket-service { background: #e4f5ea; color: #176b37; }
.company-calendar-item.ticket-scheduled { background: #f1e8f8; color: #7030a0; }
.company-calendar-item.event-vacation { background: #fff1c7; color: #8a5600; }
.company-calendar-item.event-meeting { background: #dff3f2; color: #086964; }
.company-calendar-item.event-company.color-green { background: #e6f4ea; color: #137333; }
.company-calendar-item.event-company.color-purple { background: #f3e8fd; color: #7627bb; }
.company-calendar-item.event-company.color-orange { background: #fef7e0; color: #b06000; }
.company-calendar-item.event-company.color-red,
.company-calendar-item.report { background: #fce8e6; color: #c5221f; }
.company-calendar-item.event-company.color-blue { background: #e9edf0; color: #46535d; }

html body#strongholdApp#strongholdApp#strongholdApp.command-map-theme:not(.login-active) #companyCalendarContent .company-calendar-item {
  min-height: 20px !important;
  padding: 2px 6px !important;
  border: 0 !important;
  border-left: 3px solid currentColor !important;
  border-radius: 4px !important;
  background: #e8f0fe !important;
  background-image: none !important;
  color: #185abc !important;
  box-shadow: none !important;
  font-size: 0.72rem !important;
  font-weight: 500 !important;
}

html body#strongholdApp#strongholdApp#strongholdApp.command-map-theme:not(.login-active) #companyCalendarContent .company-calendar-item.ticket-production {
  background: #e8f0fe !important;
  color: #185abc !important;
}

html body#strongholdApp#strongholdApp#strongholdApp.command-map-theme:not(.login-active) #companyCalendarContent .company-calendar-item.event-company.color-blue {
  background: #e9edf0 !important;
  color: #46535d !important;
}

html body#strongholdApp#strongholdApp#strongholdApp.command-map-theme:not(.login-active) #companyCalendarContent .company-calendar-item.ticket-service,
html body#strongholdApp#strongholdApp#strongholdApp.command-map-theme:not(.login-active) #companyCalendarContent .company-calendar-item.event-company.color-green {
  background: #e6f4ea !important;
  color: #137333 !important;
}

html body#strongholdApp#strongholdApp#strongholdApp.command-map-theme:not(.login-active) #companyCalendarContent .company-calendar-item.ticket-scheduled,
html body#strongholdApp#strongholdApp#strongholdApp.command-map-theme:not(.login-active) #companyCalendarContent .company-calendar-item.event-company.color-purple {
  background: #f3e8fd !important;
  color: #7627bb !important;
}

html body#strongholdApp#strongholdApp#strongholdApp.command-map-theme:not(.login-active) #companyCalendarContent .company-calendar-item.event-vacation,
html body#strongholdApp#strongholdApp#strongholdApp.command-map-theme:not(.login-active) #companyCalendarContent .company-calendar-item.event-company.color-orange {
  background: #fef7e0 !important;
  color: #b06000 !important;
}

html body#strongholdApp#strongholdApp#strongholdApp.command-map-theme:not(.login-active) #companyCalendarContent .company-calendar-item.event-meeting {
  background: #e0f2f1 !important;
  color: #00695c !important;
}

html body#strongholdApp#strongholdApp#strongholdApp.command-map-theme:not(.login-active) #companyCalendarContent .company-calendar-item.event-company.color-red,
html body#strongholdApp#strongholdApp#strongholdApp.command-map-theme:not(.login-active) #companyCalendarContent .company-calendar-item.report {
  background: #fce8e6 !important;
  color: #c5221f !important;
}

html body#strongholdApp#strongholdApp#strongholdApp.command-map-theme:not(.login-active) #companyCalendarContent .company-calendar-day-number {
  width: 26px !important;
  min-width: 26px !important;
  height: 26px !important;
  min-height: 26px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  background-image: none !important;
  color: #3c4043 !important;
  box-shadow: none !important;
  font-size: 0.78rem !important;
  font-weight: 500 !important;
}

html body#strongholdApp#strongholdApp#strongholdApp.command-map-theme:not(.login-active) #companyCalendarContent .company-calendar-day.is-today .company-calendar-day-number {
  background: #1a73e8 !important;
  color: #fff !important;
}

html body#strongholdApp#strongholdApp#strongholdApp.command-map-theme:not(.login-active) #companyCalendarContent .company-calendar-create {
  min-height: 48px !important;
  padding: 0 22px !important;
  border: 0 !important;
  border-radius: 24px !important;
  background: #fff !important;
  background-image: none !important;
  color: #3c4043 !important;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15) !important;
  font-weight: 600 !important;
}

html body#strongholdApp#strongholdApp#strongholdApp.command-map-theme:not(.login-active) #companyCalendarContent .company-calendar-sidebar-actions button {
  min-height: 38px !important;
  padding: 0 12px !important;
  border: 0 !important;
  background: transparent !important;
  background-image: none !important;
  color: #3c4043 !important;
  box-shadow: none !important;
  font-weight: 500 !important;
}

.company-calendar-more {
  min-height: 22px;
  padding: 1px 6px;
  border: 1px solid #dadce0;
  border-radius: 999px;
  background: #fff;
  color: #1a73e8;
  box-shadow: none;
  font-size: 0.7rem;
  font-weight: 600;
}

.company-calendar-more:hover,
.company-calendar-more:focus-visible {
  border-color: #aecbfa;
  background: #e8f0fe;
  transform: none;
}

.company-calendar-dialog-heading {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.company-calendar-dialog-heading h2 {
  margin: 0.15rem 0 0;
}

.company-calendar-dialog-icon {
  width: 18px;
  height: 18px;
  margin-top: 7px;
  border-radius: 4px;
  background: #1a73e8;
}

.company-calendar-today-actions {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(220px, 1fr) auto;
  gap: 14px;
  align-items: end;
  margin: 20px 0;
  padding: 16px;
  border: 1px solid #d2e3fc;
  border-radius: 12px;
  background: #f8fbff;
}

.company-calendar-today-actions > div:first-child {
  align-self: center;
}

.company-calendar-today-actions strong,
.company-calendar-today-actions small {
  display: block;
}

.company-calendar-today-actions small {
  margin-top: 4px;
  color: #5f6368;
}

.company-calendar-job-actions {
  display: flex;
  gap: 8px;
}

.company-calendar-event-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.company-calendar-title-field {
  grid-column: span 3;
}

.company-calendar-event-grid .span-2 {
  grid-column: span 2;
}

.company-calendar-all-day {
  display: flex;
  align-items: center;
  gap: 9px;
  align-self: end;
  min-height: 42px;
}

.company-calendar-all-day input {
  width: 18px;
  height: 18px;
}

.company-calendar-event-actions {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
}

.company-calendar-viewer-panel {
  width: min(680px, calc(100vw - 32px));
  max-height: min(760px, calc(100vh - 32px));
  overflow-y: auto;
}

.company-calendar-viewer-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  padding-right: 48px;
}

.company-calendar-viewer-edit {
  min-width: 82px;
}

.company-calendar-viewer-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.company-calendar-viewer-facts > div {
  min-height: 82px;
  padding: 13px 15px;
  border: 1px solid #c5d2d6;
  border-left: 4px solid #6d7e85;
  border-radius: 6px;
  background: #f4f7f7;
}

.company-calendar-viewer-facts span,
.company-calendar-viewer-facts strong,
.company-calendar-viewer-facts small {
  display: block;
}

.company-calendar-viewer-facts span {
  margin-bottom: 5px;
  color: #586970;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.company-calendar-viewer-facts small {
  margin-top: 4px;
  color: #596a70;
}

.company-calendar-status-fact.status-approved {
  border-left-color: #25854b;
  background: #eff8f2;
}

.company-calendar-status-fact.status-declined {
  border-left-color: #ba3e3e;
  background: #fff3f3;
}

.company-calendar-status-fact.status-pending {
  border-left-color: #ca8a18;
  background: #fff8e9;
}

.company-calendar-viewer-section {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #d3dde0;
}

.company-calendar-viewer-section h3,
.company-calendar-viewer-section p {
  margin: 0;
}

.company-calendar-viewer-section > p {
  margin-top: 8px;
  line-height: 1.55;
}

.company-calendar-review-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.company-calendar-review-actions button {
  min-width: 150px;
}

.company-calendar-approve {
  background: #287d4b !important;
  color: #ffffff !important;
}

.company-calendar-comments-heading {
  display: flex;
  align-items: center;
  gap: 8px;
}

.company-calendar-comments-heading span {
  min-width: 24px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #e1e8ea;
  color: #26383e;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 800;
}

.company-calendar-comments-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.company-calendar-comments-list article {
  padding: 11px 13px;
  border: 1px solid #d2dcdf;
  border-radius: 6px;
  background: #ffffff;
}

.company-calendar-comments-list article time {
  float: right;
  color: #68787e;
  font-size: 0.72rem;
}

.company-calendar-comments-list article p {
  clear: both;
  margin: 6px 0 0;
  line-height: 1.45;
}

.company-calendar-comment-composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  margin-top: 12px;
}

.company-calendar-comment-composer textarea {
  min-height: 76px;
  resize: vertical;
}

@media (max-width: 980px) {
  .company-calendar-shell {
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .company-calendar-layout {
    grid-template-columns: 1fr;
    height: auto;
  }

  .company-calendar-sidebar {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid #dadce0;
  }

  .company-calendar-sidebar-section,
  .company-calendar-sidebar-note {
    display: none;
  }

  .company-calendar-toolbar {
    flex-wrap: wrap;
  }

  .company-calendar-brand {
    flex: 1 1 240px;
  }

  .company-calendar-month-title {
    order: 5;
    flex: 1 0 100%;
  }

  .company-calendar-today-actions {
    grid-template-columns: 1fr;
  }

  .company-calendar-job-actions {
    flex-wrap: wrap;
  }

  .company-calendar-event-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .company-calendar-title-field {
    grid-column: span 1;
  }
}

@media (max-width: 620px) {
  .company-calendar-shell {
    min-height: 0;
  }

  .company-calendar-toolbar {
    gap: 8px;
    min-height: 0;
    padding: 8px;
  }

  .company-calendar-brand {
    flex: 1 1 150px;
    min-width: 0;
  }

  .company-calendar-brand-icon {
    width: 32px;
    height: 32px;
    border-radius: 7px;
    font-size: 0.82rem;
  }

  .company-calendar-brand strong {
    font-size: 0.98rem;
  }

  .company-calendar-today {
    min-height: 34px;
    padding-inline: 10px;
  }

  .company-calendar-nav button {
    width: 32px;
    min-height: 34px;
  }

  .company-calendar-month-title {
    min-width: 0;
    font-size: clamp(1.18rem, 5vw, 1.35rem);
  }

  .company-calendar-brand small,
  .company-calendar-view-mode {
    display: none;
  }

  .company-calendar-sidebar {
    display: none;
  }

  .company-calendar-layout {
    min-height: 0;
  }

  .company-calendar-main {
    overflow-x: auto;
    overflow-y: visible;
  }

  .company-calendar-grid {
    display: block;
    height: auto;
  }

  .company-calendar-week-days {
    height: auto;
  }

  .company-calendar-day {
    height: auto;
    min-height: calc(104px + var(--company-calendar-span-space, 0px));
  }

  .company-calendar-weekdays,
  .company-calendar-week-days,
  .company-calendar-week-spans {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    width: 100%;
    min-width: 0;
  }

  .company-calendar-grid,
  .company-calendar-week {
    width: 100%;
    min-width: 0;
  }

  .company-calendar-weekday {
    padding: 5px 1px;
    font-size: 0.58rem;
  }

  .company-calendar-day {
    height: auto;
    min-height: calc(clamp(46px, 7svh, 64px) + var(--company-calendar-span-space-mobile, 0px));
    padding: 2px 1px 3px;
  }

  html body#strongholdApp#strongholdApp#strongholdApp.command-map-theme:not(.login-active) #companyCalendarContent .company-calendar-day-number {
    width: 20px !important;
    min-width: 20px !important;
    height: 20px !important;
    min-height: 20px !important;
    margin-bottom: 2px !important;
    font-size: 0.64rem !important;
  }

  .company-calendar-items {
    gap: 1px;
    margin-top: var(--company-calendar-span-space-mobile, 0px);
  }

  .company-calendar-week-spans {
    top: 24px;
    grid-auto-rows: 15px;
    gap: 1px 0;
  }

  html body#strongholdApp#strongholdApp#strongholdApp.command-map-theme:not(.login-active) #companyCalendarContent .company-calendar-item {
    min-height: 15px !important;
    padding: 1px 2px !important;
    border-radius: 2px !important;
    font-size: 0.56rem !important;
    line-height: 1.1 !important;
  }

  html body#strongholdApp#strongholdApp#strongholdApp.command-map-theme:not(.login-active) #companyCalendarContent .company-calendar-item.company-calendar-item-span.starts-here {
    margin-left: 1px;
    border-radius: 2px 0 0 2px !important;
  }

  html body#strongholdApp#strongholdApp#strongholdApp.command-map-theme:not(.login-active) #companyCalendarContent .company-calendar-item.company-calendar-item-span.ends-here {
    margin-right: 1px;
    border-radius: 0 2px 2px 0 !important;
  }

  html body#strongholdApp#strongholdApp#strongholdApp.command-map-theme:not(.login-active) #companyCalendarContent .company-calendar-item.company-calendar-item-span.starts-here.ends-here {
    border-radius: 2px !important;
  }

  .company-calendar-item-time {
    display: none;
  }

  .company-calendar-more {
    min-height: 18px;
    padding: 0 3px;
    font-size: 0.55rem;
  }

  .company-calendar-event-grid {
    grid-template-columns: 1fr;
  }

  .company-calendar-event-grid .span-2,
  .company-calendar-title-field {
    grid-column: auto;
  }

  .company-calendar-event-actions {
    grid-template-columns: 1fr 1fr;
  }

  .company-calendar-event-actions span {
    display: none;
  }

  .company-calendar-viewer-panel {
    width: calc(100vw - 16px);
    max-height: calc(100dvh - 16px);
  }

  .company-calendar-viewer-heading,
  .company-calendar-viewer-facts,
  .company-calendar-comment-composer {
    grid-template-columns: 1fr;
  }

  .company-calendar-viewer-heading {
    padding-right: 42px;
  }

  .company-calendar-viewer-heading .company-calendar-dialog-icon {
    display: none;
  }

  .company-calendar-viewer-edit {
    grid-row: 1;
    justify-self: end;
  }

  .company-calendar-review-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .company-calendar-review-actions button {
    min-width: 0;
  }
}
