/* YOUR PRESENTATION OVERRIDES
 * Edit this file instead of src/styles.css. It loads after the system stylesheet.
 * Vite and deployment copy it unchanged to /overrides.css (no bundling/minifying).
 * Use selectors at least as specific as the system selector you are overriding.
 */

.email-template-test-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }

.reward-admin-sections { display: flex; flex-wrap: wrap; gap: 8px; }
.reward-admin-sections button { border: 1px solid #b9cdd1; border-radius: 10px; padding: 12px 18px; color: #002244; background: white; font: inherit; font-weight: 700; cursor: pointer; }
.reward-admin-sections button.is-active { color: white; border-color: #007b7b; background: #007b7b; }
.reward-management-filters { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-bottom: 20px; }
.reward-management-filter-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; }
.reward-management-table { min-width: 1050px; }
.reward-management-table td { white-space: normal; overflow-wrap: anywhere; max-width: 240px; }
.reward-management-table td:nth-child(1), .reward-management-table td:nth-child(4), .reward-management-table td:nth-child(8) { white-space: nowrap; }
.reward-management-table td:nth-child(2), .reward-management-table td:nth-child(5) { min-width: 140px; }
.reward-management-table td:nth-child(3), .reward-management-table td:nth-child(6) { min-width: 180px; }
.reward-management-table td:nth-child(7) { min-width: 160px; overflow-wrap: normal; }
.reward-management-table td small { display: block; margin-top: 5px; color: #526878; }
.reward-processing-status { display: inline-block; padding: 6px 10px; border-radius: 99px; color: #79530b; background: #fff0cd; font-weight: 700; font-size: 12px; }
.reward-processing-status.is-complete { color: #005e68; background: #e5f3f4; }
.reward-complete-control { min-width: 44px; min-height: 44px; display: flex; align-items: center; gap: 6px; cursor: pointer; }
.reward-complete-control input { width: 20px; height: 20px; accent-color: #007b7b; }
.reward-management-pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
@media (max-width: 800px) { .reward-management-filters { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 520px) { .reward-management-filters { grid-template-columns: 1fr; } }

/* Super Admin logs: align filters and keep details readable on small screens. */
.system-log-filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: end; }
.system-log-filters .field { min-width: 0; }
.system-log-filter-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.system-log-note { margin-bottom: 0; font-size: .8rem; line-height: 1.5; }
.system-log-totals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.system-log-totals article { display: grid; gap: 5px; padding: 18px; border-radius: 14px; background: white; border: 1px solid var(--line); }
.system-log-totals strong { font-size: 1.5rem; color: var(--navy); }
.system-log-totals span { color: var(--muted); font-size: .8rem; }
.system-log-table { min-width: 900px; }
.system-log-table td { vertical-align: top; white-space: normal; }
.system-log-table td:nth-child(1) { min-width: 145px; }
.system-log-table td:nth-child(4) { min-width: 220px; max-width: 360px; overflow-wrap: anywhere; }
.system-log-table small { display: block; margin-top: 4px; color: var(--muted); }
.system-log-table p { margin: 8px 0 0; line-height: 1.5; }
.system-log-table summary { color: var(--teal); cursor: pointer; white-space: nowrap; }
.system-log-table dl { width: 240px; font-size: .78rem; }
.system-log-table dt { font-weight: 700; margin-top: 10px; }
.system-log-table dd { margin: 4px 0 0; overflow-wrap: anywhere; }
.system-log-level { display: inline-block; border-radius: 99px; padding: 5px 9px; font-size: .72rem; font-weight: 700; }
.system-log-level--info { color: #005e68; background: #e5f3f4; }
.system-log-level--warning { color: #79530b; background: #fff0cd; }
.system-log-level--error { color: #982f32; background: #ffe5e6; }
.system-log-pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; }
@media (max-width: 800px) { .system-log-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .system-log-filters { grid-template-columns: 1fr; } .system-log-totals article { padding: 12px; } }

.notification-opt-in__icon { display: block; margin-bottom: 16px; color: #007b7b; }
.notification-opt-in__actions { display: flex; gap: 10px; margin-top: 20px; }
.notification-opt-in__actions .pwa-install-dialog__continue { flex: 1.8; width: auto; min-width: 0; margin: 0; padding: 12px 10px; line-height: 1.25; }
.notification-opt-in__actions .notification-opt-in__later { flex: 1; }
.notification-opt-in button:disabled { opacity: .55; cursor: default; }

.reward-permanent-entry { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; padding: 15px; border-radius: 12px; background: #edf7f7; color: #004657; }
.reward-permanent-entry > .reward-icon { flex: none; }
.reward-permanent-entry p { margin: 5px 0 0; font-size: 13px; line-height: 1.5; }

/* Centre circular navigation and collection controls, including Safari buttons. */
.employee-detail-back,
.employee-prize-close,
.employee-month-card__chevron {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  flex-shrink: 0;
}
.employee-detail-back > svg,
.employee-prize-close > svg,
.employee-month-card__chevron > svg { display: block; flex: none; margin: 0; }
.employee-month-card__chevron { transform-origin: center; }

/* A clipped wrapper animates while the two-column image grid keeps its size. */
.employee-month-card__header { height: 68px; min-height: 68px; padding: 6px 30px 0 73px; border-radius: 30px; }
.employee-month-card__body {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 320ms cubic-bezier(.22, 1, .36, 1), opacity 200ms ease;
}
.employee-month-card__body[data-expanded="true"] { grid-template-rows: 1fr; opacity: 1; }
.employee-month-card__clip { min-height: 0; overflow: hidden; border-radius: 0 0 30px 30px; }
.employee-month-card__body-content { padding-bottom: 21px; margin-top: 16px; }
.employee-sticker-grid { padding: 0 21px; border-radius: 0; }
.employee-month-reward-link { margin: 12px 21px 0; }
.employee-month-card__late-note { margin-top: 12px; }
/* XD month cards: 61 × 68 badge, 30px corners and 0/2/8 soft shadow. */
.employee-collection { background: #f7f7f7; border-radius: 30px 30px 0 0; padding-top: 32px; }
.employee-collection > h2 { margin-bottom: 14px; font-size: 14px; line-height: 18px; }
.employee-month-card { margin-bottom: 11px; border-radius: 30px; box-shadow: 0 2px 8px #00000027; }
.employee-month-card__identity { gap: 0; }
.employee-month-card__identity strong { font-size: 16px; line-height: 22px; }
.employee-month-card__meta { min-height: 16px; }
.employee-month-card__meta b { font-size: 9px; padding: 3px 9px; }
.employee-month-card__progress { margin-top: 4px; }
.employee-month-card__count { top: 46px; }
.employee-month-card__chevron { top: 11px; }
.employee-month-card.is-upcoming { overflow: hidden; background: white; box-shadow: 0 2px 8px #00000027; }
.employee-month-card.is-upcoming .employee-month-card__header { background: transparent; }
.employee-month-card.is-upcoming .employee-month-card__logo,
.employee-month-card.is-upcoming .employee-month-card__identity { filter: blur(3px); opacity: .5; }
.employee-month-card.is-upcoming .employee-month-card__logo { background: #007b7b2e; box-shadow: none; }
.employee-month-card__locked-overlay { position: absolute; inset: 0; border-radius: inherit; background: #0022445c; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; color: #e2e9ef; pointer-events: none; }
.employee-month-card__locked-overlay svg { flex: none; }
.employee-month-card__locked-overlay small { font-size: 11px; line-height: 14px; font-weight: 400; }

.employee-dashboard-nav > :not(.is-active) { border: 1px solid #fff; color: #fff; }
.employee-dashboard-nav > :not(.is-active) img { filter: brightness(0) invert(1); opacity: 1; }

.employee-month-card__logo { width: 61px; height: 68px; display: flex; align-items: center; justify-content: center; top: 0; left: 0; border-radius: 31px; background: linear-gradient(155deg, #007b7b, #002244); box-shadow: 0 2px 6px #0000002f; }
.employee-dashboard-branding__campaign { width: fit-content; max-width: 139px;}
.employee-dashboard-branding--with-logo { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px 16px; padding: 25px 27px 24px; min-height: 0; }
.employee-dashboard-branding__logo { grid-column: 1 / -1; justify-self: center; display: block; width: 60px; height: auto; object-fit: contain; }
.employee-dashboard-branding--with-logo .employee-dashboard-branding__slogan { width: 140px; max-width: 100%; height: 52px; }
.employee-dashboard-branding--with-logo .employee-dashboard-branding__theme { padding-top: 4px; }
.employee-sticker-flow > .employee-dashboard-branding--with-logo { height: auto; padding-top: 25px; padding-bottom: 24px; }

/* The bundled XD badge includes its own background and shadow. */
.employee-month-card__logo.is-bundled { background: transparent; box-shadow: none; }
#collection .employee-month-card .employee-month-card__logo.is-bundled img { width: 79px; height: 86px; max-width: none; max-height: none; flex: none; object-fit: contain; }

/*different campaign icon sizes*/
.employee-month-card .employee-month-card__logo img { width: 60%; height: auto; max-height: 60%; object-fit: contain; opacity: 1; }
#collection .employee-month-card:first-of-type .employee-month-card__logo img { width: 72%; height: auto; object-fit: contain; opacity: 1; }


/* XD wheel: proportional rings, recessed disc, small solid hub and top pointer.
 * All artwork is absolutely positioned inside one square; content cannot stretch it. */
.employee-reward-wheel {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  isolation: isolate;
}
.employee-reward-wheel::before { content: ""; display: block; padding-top: 100%; }
.employee-reward-wheel__rim { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.employee-reward-wheel__rotor {
  position: absolute;
  inset: 9.3%;
  width: auto;
  height: auto;
  box-shadow: 0 5px 8px rgba(0, 26, 43, .6), 0 0 0 2px rgba(0, 86, 99, .5);
}
.employee-reward-wheel__rotor > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.employee-reward-wheel__hub {
  z-index: 2;
  width: 5.4%;
  height: 5.4%;
  border: 0;
  background: #004657;
  box-shadow: 0 1px 5px rgba(0, 25, 50, .4);
}
.employee-reward-wheel__pointer { z-index: 3; top: 1.1%; width: 7.2%; height: auto; }
.employee-spin-button {
  margin: 28px auto 24px;
  color: #002244;
  background: #d9f2f2;
  border: 2px solid white;
  box-shadow: 0 5px 15px rgba(0, 25, 50, .25);
}
.employee-spin-button:hover:not(:disabled) { background: white; }
.employee-spin-button:disabled { cursor: default; opacity: .8; }

/* Confetti sits above the artwork and modal but never catches a touch or click. */
.employee-celebration-confetti { z-index: 5; pointer-events: none; }
.employee-celebration-confetti > svg { display: block; width: 100%; height: 100%; }
.employee-prize-overlay > .employee-celebration-confetti { position: fixed; }

/* Missing contact details stay in the prize popup and save to the employee profile. */
.employee-prize-dialog .employee-prize-form { display: block; width: 100%; }
.employee-prize-form > p { margin-bottom: 20px; font-size: 16px; line-height: 21px; }
.employee-prize-contact { margin: 20px 0; border: 0; padding: 15px; border-radius: 14px; background: #edf7f7; text-align: left; }
.employee-prize-contact h2 { margin: 0 0 7px; font-size: 15px; line-height: 20px; }
.employee-prize-contact p { margin: 0 0 12px; font-size: 12px; line-height: 18px; }
.employee-prize-contact label { display: grid; gap: 6px; margin-top: 12px; font-size: 12px; font-weight: 700; }
.employee-prize-contact input { width: 100%; min-height: 46px; border: 1px solid #aac7ce; border-radius: 7px; padding: 10px; color: #002244; background: white; font-size: 16px; }
.employee-prize-contact input:focus { outline: 2px solid #007b7b; outline-offset: 2px; }
.employee-prize-form .employee-prize-error { font-size: 12px; }
.employee-prize-form .employee-journey-button { width: 181px; max-width: 100%; }
.employee-prize-form .employee-journey-button:disabled { cursor: default; }

/* Let the dashboard use its original responsive width. Only the controls next
 * to the featured artwork keep the compact proportions of the design. */
.employee-featured-sticker > div:last-child { width: 100%; max-width: 146px; }
.employee-featured-sticker button { max-width: 146px; }
.employee-release-countdown > div {
  grid-template-columns: minmax(0, 39px) max-content minmax(0, 39px) max-content minmax(0, 39px);
  justify-content: start;
  column-gap: 4px;
}
.employee-release-countdown > div > span { min-width: 0; }
.employee-release-countdown > div > span strong { width: 100%; max-width: 39px; }

@media (prefers-reduced-motion: reduce) {
  .employee-month-card__body { transition: none; }
}

/* Admin: editable app installation settings and phone-icon preview. */
.installation-settings { min-width: 0; margin: 16px 0 0; padding: 20px; border: 1px solid #d5e2e7; border-radius: 16px; }
.installation-settings .field { align-content: start; }
.installation-settings legend { padding-inline: 8px; font-weight: 700; }
.installation-settings__preview { padding: 24px; border-radius: 20px; display: grid; justify-items: center; gap: 12px; color: white; text-align: center; }
.installation-settings__preview img { border-radius: 18px; object-fit: contain; }
.installation-settings__sample { background: white; color: #002244; border-radius: 24px; padding: 12px 18px; overflow-wrap: anywhere; }
.installation-settings__preview small { color: white; }



/*---Employee Complete Month--- */

.employee-complete-badge img { width: 62%; height: 62%; object-fit: contain; object-position: center; filter: brightness(0) saturate(100%) invert(1); opacity: .68; }

/* Admin control alignment: shared dimensions, stable field rows and wrapping actions. */
.admin-shell { --admin-control-height: 40px; }
.admin-shell .field {
  min-width: 0;
  align-self: start;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  line-height: 1.35;
}
.admin-shell .field :is(input, select, textarea) { min-width: 0; max-width: 100%; margin: 0; line-height: 1.35; }
.admin-shell .field input:not([type="checkbox"]):not([type="radio"]),
.admin-shell .field select,
.admin-shell .admin-user-table select {
  height: var(--admin-control-height);
  min-height: var(--admin-control-height);
  font-size: .86rem;
}
.admin-shell .field textarea { min-height: 80px; }
.admin-shell .field input[type="color"] { padding: 4px; }
.admin-shell .field input[type="file"] { padding: 6px; overflow: hidden; }
.admin-shell .field input[type="file"]::file-selector-button {
  margin: 0 8px 0 0;
  border: 0;
  border-radius: 5px;
  padding: 4px 8px;
  color: var(--navy);
  background: var(--teal-light);
  font: inherit;
  cursor: pointer;
}
.admin-shell .field small { line-height: 1.4; }
.admin-shell .button { min-height: var(--admin-control-height); line-height: 1.35; text-align: center; }
.admin-shell .button > svg, .admin-shell .icon-button > svg { flex-shrink: 0; }
.admin-shell .icon-button { width: var(--admin-control-height); height: var(--admin-control-height); flex-basis: var(--admin-control-height); }
.admin-shell .form-actions { align-items: center; flex-wrap: wrap; gap: .65rem; }
.admin-shell .form-actions > .success-message { margin-right: auto; }
.admin-shell :is(.header-actions, .employee-filter-actions, .asset-grid-toolbar > div, .asset-details-actions, .reward-editor-actions, .smtp-test-actions, .staging-restore-actions) { flex-wrap: wrap; }
.admin-shell .page-header > .button, .admin-shell .page-header > .header-actions { flex-shrink: 0; }
.admin-shell .panel__header { flex-wrap: wrap; }
.admin-shell .month-card > header { gap: .8rem; flex-wrap: wrap; }
.admin-shell .month-card__actions { align-items: center; }
.admin-shell .employee-filter-actions { grid-column: 1 / -1; }
.admin-shell .asset-filters { align-items: end; }
.admin-shell .reward-import-upload { grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
.admin-shell .reward-import-upload > .button, .admin-shell .avatar-upload > .button { align-self: start; margin-top: calc(.78rem * 1.35 + .32rem); }
.admin-shell .avatar-upload { align-items: start; }
.admin-shell .avatar-upload > .avatar { margin-top: calc(.78rem * 1.35 + .32rem); }
.admin-shell .quiz-option-editor .field { align-items: stretch; margin-bottom: 0; }
.admin-shell :is(.approval-box, .deployment-confirmation) input[type="checkbox"] { flex: 0 0 18px; width: 18px; height: 18px; margin: .1rem 0 0; accent-color: var(--teal); }
.admin-shell .approval-box > .button { flex-shrink: 0; }
.admin-shell :is(.employee-pagination, .asset-pagination) > span { align-self: end; min-height: var(--admin-control-height); display: grid; place-items: center; }

@media (min-width: 901px) and (max-width: 1100px) {
  .admin-shell .employee-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .admin-shell .asset-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .admin-shell .page-header > .button { justify-self: start; }
  .admin-shell .month-card > header { align-items: flex-start; flex-direction: column; }
  .admin-shell .month-card__actions { justify-content: flex-start; }
  .admin-shell .reward-import-upload { grid-template-columns: minmax(0, 1fr); }
  .admin-shell .reward-import-upload > .button, .admin-shell .avatar-upload > .button { margin-top: 0; }
  .admin-shell .avatar-upload { grid-template-columns: auto minmax(0, 1fr); }
  .admin-shell .approval-box > .button { width: 100%; }
  .admin-shell .report-campaign-filter { min-width: 0; width: 100%; }
  .admin-shell .installation-settings { padding: 14px; }
  .admin-shell :is(.asset-details-actions, .reward-editor-actions) { grid-template-columns: minmax(0, 1fr); }
  .admin-shell :is(.asset-details-actions, .reward-editor-actions) > .button { width: 100%; }
}

/* Inline employee password recovery uses the existing help-link styling. */
button.employee-access-help { border: 0; padding: 0; background: transparent; cursor: pointer; font-family: inherit; }
button.employee-access-help:disabled { cursor: default; opacity: .6; }

/* Keep every disabled button on the standard cursor, even after overrides. */
button:disabled { cursor: default !important; }

/* Weekly Did You Know video, shared by the editor preview and employee journey. */
.sticker-fact-video-content { min-width: 0; }
.sticker-fact-video-stage { position: relative; width: 100%; min-height: 180px; overflow: hidden; border-radius: 14px; background: #fff; }
.sticker-fact-video-stage--fixed { min-height: 0; flex: 0 0 auto; }
.sticker-fact-video { position: absolute; inset: 0; display: block; width: 100%; max-width: none; height: 100%; max-height: none; border-radius: inherit; object-fit: contain; background: #fff; }
.sticker-fact-video-stage--fixed .sticker-fact-video { object-fit: cover; }
/* Compact video preview in the dashboard's weekly sticker editor. */
.sticker-editor .sticker-fact-video-content { width: min(100%, 320px); }
.sticker-fact-video-help { margin: .6rem 0 1rem; font-size: .78rem; line-height: 1.5; color: #526a7d; }

.sticker-fact-video-button { position: absolute; z-index: 2; inset: 0; display: grid; width: 100%; padding: 0; border: 0; border-radius: inherit; place-items: center; color: white; background: transparent; cursor: pointer; overflow: hidden; }
.sticker-fact-video-button--overlay { background: linear-gradient(180deg, rgb(0 0 0 / 10%), rgb(0 0 0 / 30%)); }
.sticker-fact-video-button:focus-visible { outline: 3px solid #007b7b; outline-offset: 4px; }
.sticker-fact-video-overlay-icon { width: 58px; height: 58px; border: 1px solid rgb(255 255 255 / 65%); border-radius: 50%; display: grid; place-items: center; color: white; background: rgb(0 34 68 / 58%); box-shadow: 0 5px 20px rgb(0 0 0 / 25%); }
.sticker-fact-video-prompt { position: absolute; inset: 0; display: grid; place-items: center; color: white; background: rgb(0 0 0 / 35%); font: inherit; font-weight: 700; }
.sticker-fact-video-button--overlay .sticker-fact-video-prompt { inset: 50% auto auto 50%; padding: 4px 9px; display: block; border-radius: 999px; background: rgb(0 20 35 / 68%); font-size: 11px; line-height: 15px; white-space: nowrap; transform: translate(-50%, 40px); }
.sticker-fact-video-controls { position: absolute; z-index: 3; right: 8px; bottom: 8px; left: 8px; border-radius: 999px; padding: 6px 8px; display: flex; align-items: center; gap: 7px; color: white; background: rgb(0 20 35 / 72%); backdrop-filter: blur(5px); opacity: 1; visibility: visible; transform: translateY(0); transform-origin: center bottom; will-change: opacity, transform; transition: opacity 280ms ease, transform 340ms cubic-bezier(.22, 1, .36, 1), visibility 0s linear 0s; }
.sticker-fact-video-controls--hidden { opacity: 0; visibility: hidden; transform: translateY(8px); pointer-events: none; transition: opacity 240ms ease, transform 300ms cubic-bezier(.22, 1, .36, 1), visibility 0s linear 300ms; }
.sticker-fact-video-controls--visible { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.sticker-fact-video-controls button { width: 31px; height: 31px; flex: 0 0 31px; border: 0; border-radius: 50%; padding: 0; display: grid; place-items: center; color: white; background: transparent; cursor: pointer; }
.sticker-fact-video-controls button:hover, .sticker-fact-video-controls button:focus-visible { background: rgb(255 255 255 / 18%); }
.sticker-fact-video-progress { min-width: 0; flex: 1; display: flex; }
.sticker-fact-video-progress input { width: 100%; accent-color: #1ba5a5; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .sticker-fact-video-controls { transform: none; transition-duration: 0s; } }

/* Video begins 52px below the white card top and uses wider 15px side insets. */
.employee-sticker-sheet--video .employee-sticker-sheet__toolbar { height: 52px; }
.employee-sticker-content--video { padding-top: 0; overflow-y: auto; }
.employee-sticker-content--video .sticker-fact-video-content { width: calc(100% + 24px); margin-inline: -12px; }
.employee-sticker-content--video .sticker-fact-video-help { margin-inline: 12px; }
.employee-sticker-content h2 {font-size: 25px;}
.employee-quiz-options button span {font-size: 14px;}

/* Quiet quiz indicators complement the regular Gothic text. */
.employee-quiz-options .employee-quiz-indicator { display: grid; place-items: center; flex: 0 0 22px; width: 22px; height: 22px; border: 0; border-radius: 0; background: transparent; color: inherit; }
.employee-quiz-options .employee-quiz-indicator--correct { color: #fff; }
.employee-quiz-options .employee-quiz-indicator--wrong { color: #526878; }
.employee-quiz-indicator svg { width: 22px; height: 22px; flex-shrink: 0; }

/* Keep the learning content, instructions and Next button within the card. */
.employee-sticker-content--fact { gap: 12px; padding-bottom: max(12px, env(safe-area-inset-bottom)); overflow: hidden; }
.employee-sticker-content--fact.employee-sticker-content--video { overflow-y: auto; }
.employee-sticker-fact-copy { flex: 1 1 auto; min-height: 0; overflow: auto; }
.employee-sticker-fact-copy .employee-sticker-kicker { text-transform: uppercase; }
.employee-sticker-fact-copy > p:not(.employee-sticker-kicker) { margin: 0 0 12px; color: #002244; font-size: 16px; line-height: 22px; white-space: pre-line; overflow-wrap: anywhere; }
.employee-sticker-content--fact .employee-flow-button { margin-top: 0; }
.employee-sticker-content--fact .employee-sticker-deadline { margin-top: 0; }
.employee-sticker-content--video .sticker-fact-video-content { display: flex; flex-direction: column; align-items: center; flex: 1 1 180px; min-height: 140px; container-type: size; }
.employee-sticker-content--video .sticker-fact-video-stage--auto { flex: 1 1 0; min-height: 180px; }
/* The flex layout reserves the header, help and Next button first. The video
 * then fits its native ratio into the remaining area, including after rotation.
 * Fixed aspect ratios use a crop frame; automatic mode preserves the native fit. */
.employee-sticker-content--video .sticker-fact-video-help { width: 100%; flex: 0 0 auto; min-height: 20px; margin-top: 0; margin-bottom: 0; }
.employee-sticker-video-copy { flex: 0 1 auto; max-height: min(30dvh, 220px); margin-bottom: 48px; overflow: auto; overscroll-behavior: contain; }
.employee-sticker-video-copy .employee-sticker-kicker { margin-bottom: 6px; }
.employee-sticker-video-copy .employee-sticker-main-title { margin-bottom: 0; }
.employee-sticker-video-copy .employee-sticker-fact-body-motion { margin-top: 8px; }
.employee-sticker-video-copy .employee-sticker-fact-body { margin-bottom: 0; }
@supports (width: 1cqh) {
  .employee-sticker-content--video .sticker-fact-video-stage--fixed { width: min(100%, var(--sticker-video-fitted-width)); }
  .employee-sticker-content--video .sticker-fact-video-stage--ratio-16-9 { --sticker-video-fitted-width: calc(177.7778cqh - 35.5556px); }
  .employee-sticker-content--video .sticker-fact-video-stage--ratio-4-3 { --sticker-video-fitted-width: calc(133.3333cqh - 26.6667px); }
  .employee-sticker-content--video .sticker-fact-video-stage--ratio-1-1 { --sticker-video-fitted-width: calc(100cqh - 20px); }
  .employee-sticker-content--video .sticker-fact-video-stage--ratio-9-16 { --sticker-video-fitted-width: calc(56.25cqh - 11.25px); }
  .employee-sticker-content--video .sticker-fact-video-content--without-help .sticker-fact-video-stage--ratio-16-9 { --sticker-video-fitted-width: 177.7778cqh; }
  .employee-sticker-content--video .sticker-fact-video-content--without-help .sticker-fact-video-stage--ratio-4-3 { --sticker-video-fitted-width: 133.3333cqh; }
  .employee-sticker-content--video .sticker-fact-video-content--without-help .sticker-fact-video-stage--ratio-1-1 { --sticker-video-fitted-width: 100cqh; }
  .employee-sticker-content--video .sticker-fact-video-content--without-help .sticker-fact-video-stage--ratio-9-16 { --sticker-video-fitted-width: 56.25cqh; }
}
.employee-sticker-content--video .sticker-fact-video-content--without-help .sticker-fact-video-stage--auto { min-height: 140px; }
@media (max-height: 600px) {
  .employee-sticker-content--fact { gap: 8px; }
  .employee-sticker-video-copy { max-height: min(24dvh, 150px); }
  .employee-sticker-content--fact .employee-sticker-deadline { font-size: 10px; line-height: 13px; }
}


.login-page .bottom-half .text-link {font-size: 11px; margin-top: 10px; text-align: center; width: 100%; display: block;}
.login-page .login-card .text-link {font-size: 11px; margin-top: 10px; text-align: center; width: 100%; display: block;}
#root .read-size {font-size: 13px; line-height: 16px}

.employee-grand-prize-card__copy .read-size {font-size: 13px; line-height: 16px;}
.employee-information-sticker-copy {padding-left: 0;}
#root .employee-reward-card-action small {font-size: 13px; line-height: 16px;}

.employee-sticker-artwork.employee-completed-artwork > img {  }
.campaign-completed-artwork-field > img { object-fit: contain; }

.employee-featured-sticker.is-unlocked {padding: 18px 14px;}
.employee-featured-sticker.is-unlocked > div:last-child {max-width: 149px };
