/* Gillette activities calendar (redesign approved 2026-12-01, R5685). */
.gc {
  --gc-navy: #0d2f55;
  --gc-gold: #c9a45c;
  --gc-ink: #1f2a37;
  --gc-muted: #5f6b79;
  --gc-line: #e7ebf0;
  --gc-note: #8a6427;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 1px 2px rgba(13, 47, 85, .04), 0 12px 32px rgba(13, 47, 85, .06);
  padding: 32px 36px;
  color: var(--gc-ink);
  font-family: var(--global-body-font-family, Montserrat, sans-serif);
}
.gc [hidden] { display: none !important; }
.gc button { font-family: inherit; cursor: pointer; box-shadow: none; text-transform: none; letter-spacing: normal; line-height: 1.2; min-height: 0; }
/* Hold our own hover colors; the theme turns every button navy with white text on hover. */
.gc .gc-arrow:hover, .gc .gc-today:hover, .gc .gc-close:hover, .gc .gc-addb:hover { background: #f4f6f9; color: var(--gc-navy); }
.gc .gc-chip:hover { background: #f4f6f9; color: #3d4753; border-color: #d7dde5; }
.gc .gc-chip.on, .gc .gc-chip.on:hover { background: var(--gc-navy); color: #fff; border-color: var(--gc-navy); }
.gc .gc-seg button:hover { background: transparent; color: var(--gc-navy); }
.gc .gc-seg button.on, .gc .gc-seg button.on:hover { background: #fff; color: var(--gc-navy); }
.gc .gc-print:hover { background: #163f6e; color: #fff; }
.gc .gc-menu button:hover, .gc .gc-menu a:hover { background: #f4f6f9; color: #2b3542; }
.gc button.gc-day, .gc button.gc-day:hover { color: inherit; }
.gc button:focus-visible, .gc a:focus-visible { outline: 3px solid var(--gc-gold); outline-offset: 2px; }

/* Toolbar */
.gc-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.gc-month { display: flex; align-items: center; gap: 14px; }
.gc-title { margin: 0; min-width: 280px; font-family: var(--global-heading-font-family, "EB Garamond", serif); font-weight: 500; font-size: 40px; line-height: 1.1; color: var(--gc-navy); }
.gc-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gc-line); background: #fff; display: grid; place-items: center; color: var(--gc-navy); padding: 0; }
.gc-arrow svg, .gc-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gc-arrow:hover, .gc-today:hover, .gc-close:hover { background: #f4f6f9; }
.gc-today { border: 1px solid var(--gc-line); background: #fff; border-radius: 999px; padding: 10px 18px; font-size: 14px; font-weight: 600; color: var(--gc-navy); }
.gc-tools { display: flex; align-items: center; gap: 12px; }
.gc-seg { display: flex; background: #f2f4f7; border-radius: 999px; padding: 4px; }
.gc-seg button { border: 0; background: transparent; padding: 9px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--gc-muted); }
.gc-seg button.on { background: #fff; color: var(--gc-navy); box-shadow: 0 1px 3px rgba(13, 47, 85, .12); }
.gc-print { display: flex; align-items: center; gap: 8px; border: 0; background: var(--gc-navy); color: #fff; border-radius: 999px; padding: 11px 20px; font-size: 14px; font-weight: 600; }
.gc-print svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gc-print:hover { background: #163f6e; }

/* Category filters */
.gc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 22px; }
.gc-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; border-radius: 999px; border: 1px solid var(--gc-line); background: #fff; font-size: 14px; font-weight: 500; color: #3d4753; }
.gc-chip.on { background: var(--gc-navy); border-color: var(--gc-navy); color: #fff; }
.gc-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.gc-chip i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }

/* Month grid */
.gc-dow { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); font-size: 12px; font-weight: 600; letter-spacing: 1.6px; color: var(--gc-muted); text-transform: uppercase; padding: 0 2px 10px; }
.gc-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--gc-line); border-left: 1px solid var(--gc-line); }
.gc-day { display: flex; flex-direction: column; align-items: stretch; text-align: left; min-height: 150px; border: 0; border-right: 1px solid var(--gc-line); border-bottom: 1px solid var(--gc-line); border-radius: 0; padding: 10px 10px 8px; background: #fff; color: inherit; font: inherit; }
button.gc-day:hover { background: #fbf8f1; }
.gc-day.out { background: #fafbfc; }
.gc-day.out .gc-n { color: #6b7280; }
.gc-n { font-family: var(--global-heading-font-family, "EB Garamond", serif); font-size: 21px; font-weight: 500; color: var(--gc-navy); line-height: 1; }
.gc-day.today .gc-n { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--gc-navy); color: #fff; font-size: 17px; align-self: flex-start; }
.gc-note { display: block; font-size: 12px; font-weight: 600; color: var(--gc-note); margin: 5px 0 1px; }
.gc-e { display: grid; grid-template-columns: 7px minmax(0, 1fr); column-gap: 7px; align-items: center; font-size: 13px; line-height: 1.25; margin-top: 7px; color: #2b3542; }
.gc-e .gc-dot { width: 7px; height: 7px; grid-row: 1; }
.gc-t { grid-row: 1; grid-column: 2; color: var(--gc-muted); font-size: 11.5px; font-weight: 500; }
.gc-x { grid-column: 2; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Day panel */
.gc-modal { position: fixed; inset: 0; z-index: 99999; display: grid; place-items: center; padding: 20px; }
.gc-overlay { position: absolute; inset: 0; background: rgba(13, 30, 50, .4); }
.gc-panel:focus { outline: none; }
.gc-panel { position: relative; width: 620px; max-width: 100%; max-height: calc(100vh - 40px); overflow: auto; background: #fff; border-radius: 20px; box-shadow: 0 30px 80px rgba(13, 30, 50, .3); }
.gc-ph { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 26px 28px 18px; border-bottom: 1px solid var(--gc-line); }
.gc-k { display: block; font-size: 12px; letter-spacing: 1.8px; font-weight: 600; color: var(--gc-muted); text-transform: uppercase; }
.gc-panel-title { margin: 4px 0 0; font-family: var(--global-heading-font-family, "EB Garamond", serif); font-weight: 500; font-size: 30px; color: var(--gc-navy); }
.gc-close { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gc-line); background: #fff; display: grid; place-items: center; color: var(--gc-muted); padding: 0; flex: none; }
.gc-rows { padding: 4px 28px 10px; }
.gc-row { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 16px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--gc-line); }
.gc-row:last-child { border-bottom: 0; }
.gc-tm { padding-top: 2px; font-family: var(--global-heading-font-family, "EB Garamond", serif); font-size: 22px; color: var(--gc-navy); line-height: 1; }
.gc-tm small { display: block; font-family: var(--global-body-font-family, Montserrat, sans-serif); font-size: 11px; color: var(--gc-muted); margin-top: 3px; letter-spacing: .5px; }
.gc-ti { font-size: 17px; font-weight: 600; color: var(--gc-ink); }
.gc-tag { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.gc-tag .gc-dot { width: 6px; height: 6px; }
.gc-loc, .gc-desc { font-size: 14px; color: var(--gc-muted); margin: 6px 0 0; }
.gc-empty { padding: 24px 0; color: var(--gc-muted); font-weight: 500; margin: 0; }

/* Add To Calendar */
.gc-add { display: flex; flex-direction: column; align-items: flex-end; }
.gc-addb { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--gc-line); background: #fff; border-radius: 999px; padding: 9px 15px; font-size: 13px; font-weight: 600; color: var(--gc-navy); white-space: nowrap; }
.gc-addb svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gc-addb:hover, .gc-addb[aria-expanded="true"] { background: #f4f6f9; }
.gc-menu { margin-top: 8px; min-width: 190px; background: #fff; border: 1px solid var(--gc-line); border-radius: 12px; box-shadow: 0 8px 20px rgba(13, 30, 50, .08); padding: 6px; }
.gc-menu a, .gc-menu button { display: block; width: 100%; text-align: left; padding: 11px 12px; border: 0; border-radius: 8px; background: transparent; font-size: 14px; font-weight: 500; color: #2b3542; text-decoration: none; }
.gc-menu a:hover, .gc-menu button:hover { background: #f4f6f9; }

/* List view */
.gc-list-view { border-top: 1px solid var(--gc-line); }
.gc-lgroup { padding: 18px 0 4px; border-bottom: 1px solid var(--gc-line); }
.gc-lhead { margin: 0; font-family: var(--global-heading-font-family, "EB Garamond", serif); font-weight: 500; font-size: 24px; color: var(--gc-navy); }
.gc-list-view .gc-rows { padding: 0; }
.gc-lhead .gc-k { font-family: var(--global-body-font-family, Montserrat, sans-serif); margin-bottom: 2px; }

/* Phone: dot grid with the selected day's list below */
@media (max-width: 767px) {
  .gc { padding: 20px 16px; border-radius: 14px; }
  .gc-top { flex-direction: column; align-items: stretch; gap: 14px; }
  .gc-month { justify-content: space-between; gap: 8px; }
  .gc-title { min-width: 0; flex: 1; text-align: center; font-size: 28px; }
  .gc-today { display: none; }
  .gc-tools { justify-content: space-between; }
  .gc-chips { flex-wrap: nowrap; overflow-x: auto; margin: 16px -16px 12px; padding: 0 16px 4px; scrollbar-width: none; }
  .gc-chip { white-space: nowrap; }
  .gc-grid { border: 0; }
  .gc-day { min-height: 0; border: 0; padding: 4px 0 6px; align-items: center; background: transparent; }
  button.gc-day:hover { background: transparent; }
  .gc-day .gc-n { font-family: var(--global-body-font-family, Montserrat, sans-serif); font-size: 15px; font-weight: 500; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; }
  .gc-day.today .gc-n { background: transparent; color: var(--gc-navy); box-shadow: inset 0 0 0 2px var(--gc-gold); width: 40px; height: 40px; font-size: 15px; align-self: center; }
  .gc-day.sel .gc-n { background: var(--gc-navy); color: #fff; box-shadow: none; }
  .gc-day .gc-note { display: none; }
  .gc-dots { display: flex; justify-content: center; gap: 3px; height: 6px; margin-top: 3px; }
  .gc-dots .gc-dot { width: 5px; height: 5px; }
  .gc-agenda { margin-top: 10px; border-top: 1px solid var(--gc-line); padding-top: 16px; }
  .gc-agenda-title { margin: 4px 0 2px; font-family: var(--global-heading-font-family, "EB Garamond", serif); font-weight: 500; font-size: 26px; color: var(--gc-navy); }
  .gc-rows { padding: 0; }
  .gc-row { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: start; padding: 15px 0; }
  .gc-row .gc-add { grid-column: 2; }
  .gc-add { align-items: flex-start; }
  .gc-ph { padding: 20px 18px 14px; }
}

@media print {
  .gc-tools, .gc-chips, .gc-modal { display: none !important; }
}

/* Theme guards: keep the theme's heading margins and button min-height out of the calendar. */
.gc h2.gc-title, .gc h3.gc-panel-title, .gc h3.gc-agenda-title, .gc h3.gc-lhead { margin-top: 0; margin-bottom: 0; padding: 0; }
.gc h3.gc-panel-title { margin-top: 4px; }
.gc h3.gc-agenda-title { margin: 4px 0 2px; }
.gc .gc-day { min-height: 150px; }
@media (max-width: 767px) {
  .gc .gc-day { min-height: 0; }
}