.edmund-system-header,
.edmund-system-header * {
  box-sizing: border-box;
}

.edmund-system-header {
  position: sticky !important;
  top: 0;
  z-index: 500 !important;
  width: 100vw;
  min-height: 0 !important;
  margin-left: calc(50% - 50vw);
  padding: 0 !important;
  border-bottom: 1px solid rgba(21, 45, 92, .13);
  background: rgba(250, 252, 255, .9);
  box-shadow: 0 10px 34px rgba(20, 43, 86, .08);
  backdrop-filter: blur(22px) saturate(1.18);
  -webkit-backdrop-filter: blur(22px) saturate(1.18);
}

.flash-shell > .edmund-system-header {
  margin-top: -28px;
  margin-bottom: 28px;
}

.edmund-system-header__inner {
  position: relative;
  width: min(1480px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  padding: 9px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.edmund-system-header__actions {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.edmund-system-password-button {
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid rgba(26, 75, 111, .17);
  border-radius: 999px;
  color: #153b59;
  background: rgba(255, 255, 255, .88);
  font: 800 12px/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", sans-serif;
  cursor: pointer;
}

.edmund-system-password-button:hover,
.edmund-system-password-button:focus-visible { background: #e8f2fb; }

.edmund-password-dialog {
  width: min(520px, calc(100% - 28px));
  max-height: calc(100dvh - 28px);
  padding: 0;
  border: 0;
  border-radius: 24px;
  color: #102a43;
  background: white;
  box-shadow: 0 28px 85px rgba(12, 42, 68, .3);
}

.edmund-password-dialog::backdrop { background: rgba(8, 29, 47, .58); backdrop-filter: blur(5px); }
.edmund-password-dialog__card { padding: clamp(24px, 5vw, 40px); display: grid; gap: 16px; }
.edmund-password-dialog__heading p { margin: 0 0 7px; color: #276588; font-size: 11px; font-weight: 900; letter-spacing: .15em; }
.edmund-password-dialog__heading h2 { margin: 0; font-family: Georgia, "Noto Serif TC", serif; font-size: clamp(25px, 5vw, 36px); }
.edmund-password-dialog__heading span { display: block; margin-top: 8px; color: #63748a; font-size: 13px; line-height: 1.6; }
.edmund-password-dialog__card label { display: grid; gap: 7px; color: #153b59; font-size: 13px; font-weight: 800; }
.edmund-password-dialog__card input { width: 100%; min-height: 48px; padding: 10px 13px; border: 1px solid rgba(26, 75, 111, .22); border-radius: 12px; color: #102a43; background: #fbfdff; font: inherit; }
.edmund-password-dialog__status { min-height: 22px; margin: 0; color: #4f6476; font-size: 13px; font-weight: 700; }
.edmund-password-dialog__status[data-state="error"] { color: #b42318; }
.edmund-password-dialog__status[data-state="success"] { color: #087443; }
.edmund-password-dialog__actions { display: flex; justify-content: flex-end; gap: 10px; }
.edmund-password-dialog__actions button { min-height: 43px; padding: 9px 16px; border: 1px solid rgba(26, 75, 111, .18); border-radius: 999px; color: #153b59; background: #edf4fa; font: inherit; font-size: 13px; font-weight: 800; line-height: 1.2; cursor: pointer; }
.edmund-password-dialog__actions button[type="submit"] { color: white; border-color: #155f94; background: #155f94; }
.edmund-password-dialog__actions button:disabled { cursor: wait; opacity: .62; }

.edmund-system-switcher {
  position: relative;
  z-index: 3;
  flex: 0 1 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.edmund-system-switcher__trigger {
  min-width: 0;
  min-height: 56px;
  border: 0;
  border-radius: 16px;
  padding: 5px 10px 5px 5px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #132958;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.edmund-system-switcher__trigger:hover,
.edmund-system-switcher__trigger:focus-visible,
.edmund-system-switcher[data-open="true"] .edmund-system-switcher__trigger {
  background: rgba(237, 243, 255, .92);
  box-shadow: 0 8px 22px rgba(29, 62, 126, .11);
}

.edmund-system-switcher__trigger:focus-visible {
  outline: 3px solid rgba(65, 111, 211, .38);
  outline-offset: 2px;
}

.edmund-system-switcher__logo {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border: 1px solid rgba(20, 43, 86, .14);
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(20, 43, 86, .14);
}

.edmund-system-switcher__copy {
  min-width: 0;
  display: grid;
  gap: 1px;
  line-height: 1.17;
}

.edmund-system-switcher__copy strong {
  color: #142c60;
  font-family: Georgia, "Times New Roman", "Noto Serif TC Local", serif;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.015em;
  white-space: nowrap;
}

.edmund-system-switcher__copy small {
  overflow: hidden;
  max-width: 250px;
  color: #65728a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .055em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.edmund-system-switcher__chevron {
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  border: 1px solid rgba(27, 56, 113, .14);
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: #445b88;
  font-size: 14px;
  line-height: 1;
  transition: transform .18s ease;
}

.edmund-system-switcher[data-open="true"] .edmund-system-switcher__chevron {
  transform: rotate(180deg);
}

.edmund-system-switcher__homebase {
  min-height: 42px;
  max-width: 158px;
  padding: 8px 13px;
  border: 1px solid rgba(73, 110, 56, .23);
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #31522a;
  background:
    linear-gradient(rgba(108, 145, 77, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 145, 77, .09) 1px, transparent 1px),
    linear-gradient(145deg, #fbfff4, #edf7df);
  background-size: 13px 13px, 13px 13px, auto;
  box-shadow: 0 7px 18px rgba(55, 87, 42, .1);
  font: 850 11px/1.25 -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", sans-serif;
  text-align: center;
  text-decoration: none;
  transition: border-color .16s ease, background-color .16s ease, transform .16s ease, box-shadow .16s ease;
}

.edmund-system-switcher__homebase:hover,
.edmund-system-switcher__homebase:focus-visible {
  border-color: rgba(70, 111, 52, .44);
  background:
    linear-gradient(rgba(108, 145, 77, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 145, 77, .12) 1px, transparent 1px),
    linear-gradient(145deg, #f8ffed, #e4f3d1);
  background-size: 13px 13px, 13px 13px, auto;
  box-shadow: 0 9px 21px rgba(55, 87, 42, .16);
  transform: translateY(-1px);
}

.edmund-system-switcher__homebase:focus-visible {
  outline: 3px solid rgba(92, 139, 69, .3);
  outline-offset: 2px;
}

.edmund-system-switcher__homebase[aria-current="page"] {
  border-color: #527740;
  color: #fff;
  background: linear-gradient(145deg, #527740, #799d55);
  box-shadow: 0 7px 18px rgba(55, 87, 42, .22);
}

.edmund-pomodoro-header-button {
  flex: 0 0 auto;
  min-width: 142px;
  min-height: 48px;
  padding: 6px 12px 6px 8px;
  border: 1px solid rgba(221, 75, 48, .32);
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #7d281a;
  background: linear-gradient(145deg, #fff3e8, #ffd6c2);
  box-shadow: 0 7px 18px rgba(157, 48, 25, .12);
  font: 900 13px/1.15 -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", sans-serif;
  cursor: pointer;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.edmund-pomodoro-header-button:hover,
.edmund-pomodoro-header-button:focus-visible {
  border-color: rgba(184, 50, 31, .55);
  box-shadow: 0 9px 23px rgba(157, 48, 25, .2);
  transform: translateY(-1px);
}

.edmund-pomodoro-header-button:focus-visible {
  outline: 3px solid rgba(221, 75, 48, .3);
  outline-offset: 2px;
}

.edmund-pomodoro-header-button img {
  width: 35px;
  height: 35px;
  flex: 0 0 35px;
  object-fit: contain;
}

.edmund-pomodoro-header-button span { min-width: 0; display: grid; gap: 2px; text-align: left; }
.edmund-pomodoro-header-button small { color: #9d4b39; font-size: 9px; font-weight: 900; letter-spacing: .035em; }
.edmund-pomodoro-header-button strong { white-space: nowrap; font-size: 13px; font-variant-numeric: tabular-nums; }
.edmund-pomodoro-header-button[data-running="true"] { border-color: rgba(194, 50, 31, .5); background: linear-gradient(145deg, #fff0e3, #ffc3ad); }
.edmund-pomodoro-header-button[data-running="true"] strong { font-size: 15px; }

.edmund-pomodoro-dialog {
  width: min(760px, calc(100vw - 24px));
  max-width: none;
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 0;
  border: 0;
  overflow: visible;
  color: inherit;
  background: transparent;
}

.edmund-pomodoro-dialog::backdrop { background: rgba(41, 27, 23, .58); backdrop-filter: blur(7px); }

.edmund-pomodoro-dialog__card {
  width: 100%;
  max-height: calc(100dvh - 24px);
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(255, 255, 255, .36);
  border-radius: 29px;
  overflow: auto;
  color: #fff;
  background: radial-gradient(circle at 85% 5%, rgba(255, 229, 190, .28), transparent 30%), linear-gradient(145deg, #ee3e24, #b71f1c 60%, #7d1118);
  box-shadow: 0 32px 90px rgba(89, 12, 15, .5);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", sans-serif;
}

.edmund-pomodoro-dialog__heading { display: grid; grid-template-columns: 1fr 108px; align-items: center; gap: 20px; }
.edmund-pomodoro-dialog__heading p { margin: 0 0 5px; color: rgba(255,255,255,.78); font-size: 10px; font-weight: 900; letter-spacing: .16em; }
.edmund-pomodoro-dialog__heading h2 { margin: 0; font-family: Georgia, "Noto Serif TC", serif; font-size: clamp(30px, 5vw, 46px); }
.edmund-pomodoro-dialog__heading img { width: 100%; max-height: 94px; object-fit: contain; }
.edmund-pomodoro-dialog__intro { margin: 14px 0 20px; color: rgba(255, 255, 255, .9); font-size: 14px; line-height: 1.65; }
.edmund-pomodoro-dialog__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.edmund-pomodoro-dialog__grid label { min-width: 0; display: grid; gap: 6px; color: #fff; font-size: 13px; font-weight: 850; }
.edmund-pomodoro-dialog__grid input:not([type="checkbox"]) { width: 100%; min-width: 0; min-height: 46px; padding: 8px 12px; border: 1px solid rgba(255, 255, 255, .42); border-radius: 12px; color: #5d1715; background: rgba(255, 255, 255, .95); font: inherit; }
.edmund-pomodoro-toggle { grid-column: 1 / -1; grid-template-columns: auto 1fr !important; align-items: center; }
.edmund-pomodoro-toggle input { width: 20px; height: 20px; margin: 0; accent-color: #ffe3bb; }
.edmund-pomodoro-dialog__task { grid-column: 1 / -1; }
.edmund-pomodoro-dialog__status { min-height: 20px; margin: 12px 0 0; color: rgba(255, 255, 255, .86); font-size: 12px; font-weight: 800; }
.edmund-pomodoro-dialog__status[data-state="success"] { color: #fff5c7; }
.edmund-pomodoro-dialog__actions { margin-top: 17px; display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; }
.edmund-pomodoro-dialog__actions button { min-height: 42px; padding: 9px 17px; border: 1px solid rgba(255, 255, 255, .48); border-radius: 999px; color: #fff; background: rgba(255, 255, 255, .12); font: inherit; font-size: 13px; font-weight: 900; cursor: pointer; }
.edmund-pomodoro-dialog__actions [data-edmund-pomodoro-save] { color: #8b2019; background: #fff; }

.edmund-pomodoro-break-lock {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  padding: 24px;
  display: grid;
  place-items: center;
  background: rgba(102, 48, 45, .7);
  backdrop-filter: blur(9px) saturate(.86);
}

.edmund-pomodoro-break-lock[hidden] { display: none; }
html.edmund-pomodoro-page-locked, html.edmund-pomodoro-page-locked body { overflow: hidden !important; }
.edmund-pomodoro-break-card { width: min(760px, 100%); padding: clamp(28px, 5vw, 56px); border: 1px solid rgba(255, 255, 255, .48); border-radius: 32px; display: grid; grid-template-columns: 1fr minmax(180px, 34%); align-items: center; gap: 24px; color: #fff; background: linear-gradient(145deg, rgba(229, 105, 83, .96), rgba(180, 65, 69, .96)); box-shadow: 0 28px 80px rgba(75, 27, 28, .34); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", sans-serif; }
.edmund-pomodoro-break-card h2 { margin: 0; font-family: Georgia, "Noto Serif TC", serif; font-size: clamp(36px, 7vw, 76px); line-height: 1; }
.edmund-pomodoro-break-card strong { display: block; margin-top: 18px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(30px, 6vw, 64px); font-variant-numeric: tabular-nums; }
.edmund-pomodoro-break-card img { width: 100%; max-height: 300px; object-fit: contain; }
.edmund-pomodoro-break-skip { min-height: 43px; margin-top: 18px; padding: 9px 17px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 999px; color: #9b332e; background: rgba(255, 255, 255, .94); font: inherit; font-weight: 900; cursor: pointer; }
.edmund-night-return { width:min(760px,calc(100vw - 28px)); padding:0; border:0; border-radius:32px; color:#fff; background:transparent; }
.edmund-night-return::backdrop { background:rgba(12,20,42,.66); backdrop-filter:blur(9px); }
.edmund-night-return section { padding:clamp(28px,6vw,58px); border:1px solid rgba(255,255,255,.34); border-radius:32px; background:radial-gradient(circle at 86% 8%,rgba(255,218,132,.25),transparent 32%),linear-gradient(145deg,#152b57,#3b336e 58%,#8d4169); box-shadow:0 34px 100px rgba(6,12,30,.45); text-align:center; }
.edmund-night-return__art { display:block; width:min(156px,42vw); height:132px; margin:-18px auto 4px; object-fit:contain; object-position:center bottom; filter:drop-shadow(0 12px 20px rgba(8,14,34,.28)); }.edmund-night-return section>p{margin:10px 0;color:#ffdda1;font-size:11px;font-weight:900;letter-spacing:.16em}.edmund-night-return h2{max-width:620px;margin:12px auto 28px;font-family:Georgia,"Noto Serif TC",serif;font-size:clamp(27px,5vw,45px);line-height:1.25}.edmund-night-return section>div:last-child{display:grid;grid-template-columns:1fr 1fr;gap:12px}.edmund-night-return button{min-height:68px;padding:12px 16px;border:1px solid rgba(255,255,255,.4);border-radius:18px;color:#fff;background:rgba(255,255,255,.12);font:inherit;font-weight:850;line-height:1.45;cursor:pointer}.edmund-night-return button:first-child{color:#24365e;background:#ffe0a3}
@media(max-width:640px){.edmund-night-return section>div:last-child{grid-template-columns:1fr}}

.edmund-system-switcher__menu {
  position: absolute;
  top: calc(100% + 9px);
  left: 0;
  width: min(360px, calc(100vw - 24px));
  max-height: min(78vh, 690px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 12px;
  border: 1px solid rgba(22, 48, 98, .14);
  border-radius: 20px;
  visibility: hidden;
  opacity: 0;
  background: rgba(255, 255, 255, .985);
  box-shadow: 0 24px 64px rgba(18, 42, 88, .2);
  transform: translateY(-7px) scale(.985);
  transform-origin: top left;
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s;
}

.edmund-system-switcher[data-open="true"] .edmund-system-switcher__menu {
  visibility: visible;
  opacity: 1;
  transform: none;
  pointer-events: auto;
  transition-delay: 0s;
}

.edmund-system-switcher__menu-heading {
  margin: 2px 5px 9px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.edmund-system-switcher__menu-heading strong {
  color: #132958;
  font-size: 13px;
}

.edmund-system-switcher__menu-heading span {
  color: #78849a;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.edmund-system-switcher__search {
  min-height: 40px;
  margin: 0 2px 5px;
  padding: 0 7px 0 11px;
  border: 1px solid rgba(28, 61, 124, .15);
  border-radius: 12px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  color: #526687;
  background: #f8faff;
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.edmund-system-switcher__search:focus-within {
  border-color: #486cba;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(72, 108, 186, .13);
}

.edmund-system-switcher__search > span {
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
}

.edmund-system-switcher__search input {
  width: 100%;
  min-width: 0;
  min-height: 38px;
  padding: 7px 0;
  border: 0;
  outline: 0;
  color: #152f61;
  background: transparent;
  font: 750 12px/1.3 -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", sans-serif;
}

.edmund-system-switcher__search input::placeholder { color: #8591a7; opacity: 1; }

.edmund-system-switcher__search button {
  width: 27px;
  height: 27px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #5f6d85;
  background: #e8edf6;
  font: 850 16px/1 system-ui, sans-serif;
  cursor: pointer;
}

.edmund-system-switcher__search button:hover,
.edmund-system-switcher__search button:focus-visible { color: #173b78; background: #dbe4f4; }
.edmund-system-switcher__search button:focus-visible { outline: 2px solid rgba(65, 111, 211, .42); outline-offset: 1px; }

.edmund-system-switcher__search-status {
  min-height: 14px;
  margin: 0 5px 7px;
  color: #78849a;
  font-size: 9px;
  font-weight: 750;
}

.edmund-system-switcher__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.edmund-system-switcher__link {
  min-width: 0;
  min-height: 63px;
  border: 1px solid rgba(28, 61, 124, .1);
  border-radius: 14px;
  padding: 10px 11px;
  display: grid;
  align-content: center;
  gap: 2px;
  color: #18336b;
  text-decoration: none;
  background: #f8faff;
  transition: border-color .16s ease, background-color .16s ease, transform .16s ease;
}

.edmund-system-switcher__link:hover,
.edmund-system-switcher__link:focus-visible {
  border-color: rgba(54, 94, 183, .34);
  background: #eef3ff;
  transform: translateY(-1px);
}

.edmund-system-switcher__link:focus-visible {
  outline: 3px solid rgba(65, 111, 211, .32);
  outline-offset: 1px;
}

.edmund-system-switcher__link[aria-current="page"] {
  border-color: rgba(61, 94, 167, .38);
  color: #fff;
  background: linear-gradient(135deg, #173b78, #5d3f91);
  box-shadow: 0 8px 18px rgba(35, 55, 116, .18);
}

.edmund-system-switcher__link strong {
  overflow-wrap: anywhere;
  font-size: 12px;
  line-height: 1.25;
}

.edmund-system-switcher__link small {
  color: #71809b;
  font-size: 9px;
  font-weight: 750;
  line-height: 1.25;
}

.edmund-system-switcher__link[aria-current="page"] small {
  color: rgba(255, 255, 255, .78);
}

.edmund-system-switcher__link[hidden] { display: none; }

.edmund-system-switcher__empty {
  margin: 16px 5px;
  color: #68758c;
  font-size: 11px;
  font-weight: 750;
  text-align: center;
}

.edmund-system-switcher__empty[hidden] { display: none; }

/* Cards 11–30 echo the matching homepage cards so students can navigate by
   familiar colour and texture as well as by name. Other systems stay neutral. */
.edmund-system-switcher__link.edmund-system-switcher__link--homepage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-color: var(--switch-card-border, rgba(28, 61, 124, .16));
  color: var(--switch-card-ink, #18336b);
  background: var(--switch-card-background, #f8faff);
  box-shadow: inset 0 -3px 0 var(--switch-card-lip, rgba(28, 61, 124, .12));
}

.edmund-system-switcher__link.edmund-system-switcher__link--homepage strong,
.edmund-system-switcher__link.edmund-system-switcher__link--homepage small {
  position: relative;
  z-index: 1;
}

.edmund-system-switcher__link.edmund-system-switcher__link--homepage small {
  color: var(--switch-card-muted, color-mix(in srgb, var(--switch-card-ink, #18336b) 68%, transparent));
}

.edmund-system-switcher__link.edmund-system-switcher__link--homepage:hover,
.edmund-system-switcher__link.edmund-system-switcher__link--homepage:focus-visible {
  border-color: var(--switch-card-focus, rgba(54, 94, 183, .44));
  color: var(--switch-card-ink, #18336b);
  background: var(--switch-card-background, #f8faff);
  filter: brightness(1.035) saturate(1.06);
  box-shadow: inset 0 -3px 0 var(--switch-card-lip, rgba(28, 61, 124, .15)), 0 7px 14px rgba(29, 45, 79, .12);
}

.edmund-system-switcher__link.edmund-system-switcher__link--homepage[aria-current="page"] {
  border-color: var(--switch-card-focus, rgba(54, 94, 183, .55));
  color: var(--switch-card-ink, #18336b);
  background: var(--switch-card-background, #f8faff);
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, .7),
    inset 0 -4px 0 var(--switch-card-lip, rgba(28, 61, 124, .2)),
    0 0 0 2px var(--switch-card-focus, rgba(54, 94, 183, .42));
}

.edmund-system-switcher__link[data-homepage-card="11"] {
  --switch-card-ink: #4c2d1a;
  --switch-card-muted: #79563d;
  --switch-card-border: rgba(127, 79, 43, .34);
  --switch-card-focus: rgba(127, 79, 43, .62);
  --switch-card-lip: rgba(127, 79, 43, .23);
  --switch-card-background:
    linear-gradient(180deg, #9f6840 0 8px, transparent 9px),
    linear-gradient(rgba(127, 79, 43, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 79, 43, .12) 1px, transparent 1px),
    linear-gradient(145deg, #fffaf0, #ead1aa);
  background-size: auto, 22px 22px, 22px 22px, auto;
}

.edmund-system-switcher__link[data-homepage-card="12"] {
  --switch-card-ink: #4c321c;
  --switch-card-muted: #80674f;
  --switch-card-border: rgba(151, 115, 70, .32);
  --switch-card-focus: rgba(151, 115, 70, .58);
  --switch-card-lip: rgba(151, 115, 70, .2);
  --switch-card-background:
    linear-gradient(90deg, transparent 0 20px, rgba(192, 94, 74, .24) 21px, transparent 22px),
    repeating-linear-gradient(180deg, #fffaf0 0 15px, rgba(95, 139, 178, .18) 16px, #fffaf0 17px);
}

.edmund-system-switcher__link[data-homepage-card="13"] {
  --switch-card-ink: #fff;
  --switch-card-muted: rgba(255, 255, 255, .76);
  --switch-card-border: rgba(255, 255, 255, .4);
  --switch-card-focus: rgba(75, 102, 189, .72);
  --switch-card-lip: rgba(34, 57, 137, .38);
  --switch-card-background:
    linear-gradient(145deg, rgba(255, 255, 255, .18), transparent 48%),
    linear-gradient(135deg, #4878c8 0%, #729ce8 52%, #c08bd6 100%);
}

.edmund-system-switcher__link[data-homepage-card="14"] {
  --switch-card-ink: #153768;
  --switch-card-muted: #5e7496;
  --switch-card-border: rgba(56, 104, 164, .3);
  --switch-card-focus: rgba(56, 104, 164, .58);
  --switch-card-lip: rgba(56, 104, 164, .2);
  --switch-card-background:
    linear-gradient(90deg, transparent 0 20px, rgba(206, 75, 75, .2) 21px, transparent 22px),
    repeating-linear-gradient(180deg, #f9fcff 0 15px, rgba(90, 143, 197, .18) 16px, #f9fcff 17px);
}

.edmund-system-switcher__link[data-homepage-card="15"] {
  --switch-card-ink: #4b325b;
  --switch-card-muted: #80668e;
  --switch-card-border: rgba(128, 93, 145, .34);
  --switch-card-focus: rgba(128, 93, 145, .6);
  --switch-card-lip: rgba(128, 93, 145, .2);
  --switch-card-background:
    radial-gradient(circle at 15% 18%, rgba(255, 255, 255, .9) 0 10px, transparent 11px),
    radial-gradient(circle at 85% 18%, rgba(255, 255, 255, .9) 0 10px, transparent 11px),
    linear-gradient(135deg, #f7e6ff, #dccff0 56%, #d8e7ff);
}

.edmund-system-switcher__link[data-homepage-card="16"] {
  --switch-card-ink: #472719;
  --switch-card-muted: #785140;
  --switch-card-border: rgba(110, 68, 31, .44);
  --switch-card-focus: rgba(110, 68, 31, .7);
  --switch-card-lip: rgba(73, 35, 12, .3);
  --switch-card-background:
    linear-gradient(90deg, rgba(95, 47, 25, .92) 0 12px, transparent 13px),
    repeating-linear-gradient(0deg, transparent 0 14px, rgba(132, 91, 43, .08) 15px),
    linear-gradient(135deg, #fff2cf 0%, #e4bd78 64%, #9a5d31 100%);
}

.edmund-system-switcher__link[data-homepage-card="17"] {
  --switch-card-ink: #fff;
  --switch-card-muted: rgba(255, 255, 255, .77);
  --switch-card-border: rgba(255, 255, 255, .38);
  --switch-card-focus: rgba(79, 62, 182, .74);
  --switch-card-lip: rgba(43, 32, 119, .38);
  --switch-card-background:
    repeating-linear-gradient(90deg, transparent 0 9px, rgba(255, 255, 255, .13) 10px 12px, transparent 13px 21px),
    linear-gradient(180deg, transparent 0 40%, rgba(255, 255, 255, .1) 41% 62%, transparent 63%),
    linear-gradient(135deg, #44308e, #6b4bc6 52%, #278fae);
}

.edmund-system-switcher__link[data-homepage-card="18"] {
  --switch-card-ink: #effeff;
  --switch-card-muted: rgba(239, 254, 255, .75);
  --switch-card-border: rgba(220, 255, 255, .42);
  --switch-card-focus: rgba(17, 114, 122, .72);
  --switch-card-lip: rgba(7, 70, 79, .35);
  --switch-card-background:
    repeating-radial-gradient(ellipse at 84% 48%, transparent 0 7px, rgba(255, 255, 255, .14) 8px 9px, transparent 10px 16px),
    linear-gradient(135deg, #173f69, #117a7f 55%, #45b29f);
}

.edmund-system-switcher__link[data-homepage-card="19"] {
  --switch-card-ink: #153562;
  --switch-card-muted: #607496;
  --switch-card-border: rgba(70, 107, 158, .3);
  --switch-card-focus: rgba(70, 107, 158, .58);
  --switch-card-lip: rgba(70, 107, 158, .2);
  --switch-card-background:
    linear-gradient(90deg, transparent 0 20px, rgba(212, 72, 72, .2) 21px, transparent 22px),
    repeating-linear-gradient(180deg, #f8fbff 0 14px, rgba(73, 126, 184, .18) 15px, #f8fbff 16px),
    linear-gradient(#f8fbff, #dfeafb);
}

.edmund-system-switcher__link[data-homepage-card="20"] {
  --switch-card-ink: #fff2dc;
  --switch-card-muted: rgba(255, 226, 198, .74);
  --switch-card-border: rgba(255, 184, 111, .38);
  --switch-card-focus: rgba(146, 45, 30, .76);
  --switch-card-lip: rgba(75, 11, 8, .5);
  --switch-card-background:
    linear-gradient(90deg, #54100c 0 12px, rgba(250, 190, 105, .36) 13px, #8e2518 16px, transparent 17px),
    repeating-linear-gradient(18deg, rgba(255, 255, 255, .035) 0 2px, rgba(70, 10, 8, .05) 2px 5px),
    linear-gradient(135deg, #9f2d1c, #5a100c);
}

.edmund-system-switcher__link[data-homepage-card="21"] {
  --switch-card-ink: #fff0cf;
  --switch-card-muted: rgba(255, 223, 177, .72);
  --switch-card-border: rgba(238, 179, 101, .35);
  --switch-card-focus: rgba(103, 55, 27, .78);
  --switch-card-lip: rgba(42, 14, 5, .54);
  --switch-card-background:
    linear-gradient(90deg, #2c0d05 0 12px, rgba(236, 176, 93, .34) 13px, #663116 16px, transparent 17px),
    radial-gradient(circle at 72% 14%, rgba(255, 204, 125, .16), transparent 34%),
    repeating-linear-gradient(16deg, rgba(255, 255, 255, .025) 0 2px, rgba(26, 6, 2, .05) 2px 5px),
    linear-gradient(135deg, #6d371c, #2c0e06);
}

.edmund-system-switcher__link[data-homepage-card="22"] {
  --switch-card-ink: #f1f5d7;
  --switch-card-muted: rgba(222, 235, 184, .74);
  --switch-card-border: rgba(181, 211, 145, .42);
  --switch-card-focus: rgba(35, 100, 53, .78);
  --switch-card-lip: rgba(2, 40, 18, .52);
  --switch-card-background:
    linear-gradient(90deg, #082a17 0 12px, rgba(215, 197, 93, .34) 13px, #1c6135 16px, transparent 17px),
    repeating-linear-gradient(16deg, rgba(255, 255, 255, .025) 0 2px, rgba(2, 25, 11, .05) 2px 5px),
    linear-gradient(135deg, #23653b, #092b18);
}

.edmund-system-switcher__link[data-homepage-card="23"] {
  --switch-card-ink: #f8fbff;
  --switch-card-muted: rgba(235, 243, 251, .72);
  --switch-card-border: rgba(208, 225, 234, .35);
  --switch-card-focus: rgba(48, 82, 105, .75);
  --switch-card-lip: rgba(23, 50, 66, .45);
  --switch-card-background:
    linear-gradient(180deg, rgba(255, 251, 226, .88) 0 8px, transparent 9px),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, .04) 0 15px, rgba(210, 230, 238, .13) 16px),
    linear-gradient(135deg, #405d70, #263e51);
}

.edmund-system-switcher__link[data-homepage-card="24"] {
  --switch-card-ink: #effcff;
  --switch-card-muted: rgba(225, 250, 250, .75);
  --switch-card-border: rgba(145, 229, 226, .38);
  --switch-card-focus: rgba(27, 117, 132, .75);
  --switch-card-lip: rgba(8, 50, 70, .44);
  --switch-card-background:
    linear-gradient(rgba(180, 236, 237, .1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180, 236, 237, .1) 1px, transparent 1px),
    radial-gradient(circle at 84% 15%, rgba(94, 218, 202, .24), transparent 34%),
    linear-gradient(138deg, #0b2944, #0e5a70 58%, #244986);
  background-size: 17px 17px, 17px 17px, auto, auto;
}

.edmund-system-switcher__link[data-homepage-card="25"],
.edmund-system-switcher__link[data-homepage-card="26"],
.edmund-system-switcher__link[data-homepage-card="27"],
.edmund-system-switcher__link[data-homepage-card="28"],
.edmund-system-switcher__link[data-homepage-card="29"],
.edmund-system-switcher__link[data-homepage-card="30"] {
  --switch-card-ink: var(--expression-ink);
  --switch-card-muted: color-mix(in srgb, var(--expression-ink) 67%, transparent);
  --switch-card-border: color-mix(in srgb, var(--expression-spine) 42%, transparent);
  --switch-card-focus: color-mix(in srgb, var(--expression-spine) 72%, transparent);
  --switch-card-lip: color-mix(in srgb, var(--expression-spine) 27%, transparent);
  --switch-card-background:
    linear-gradient(90deg, var(--expression-spine) 0 13px, transparent 14px),
    repeating-linear-gradient(180deg, transparent 0 15px, color-mix(in srgb, var(--expression-accent) 18%, transparent) 16px 17px),
    linear-gradient(135deg, var(--expression-paper), var(--expression-paper-end));
}

.edmund-system-switcher__link[data-homepage-card="25"] { --expression-spine: #417b9b; --expression-paper: #f6fbff; --expression-paper-end: #d8eaf4; --expression-ink: #294c66; --expression-accent: #6ca7c6; }
.edmund-system-switcher__link[data-homepage-card="26"] { --expression-spine: #8a6139; --expression-paper: #fffaf4; --expression-paper-end: #ead9c4; --expression-ink: #5f4025; --expression-accent: #ba8b57; }
.edmund-system-switcher__link[data-homepage-card="27"] { --expression-spine: #755086; --expression-paper: #fff9ff; --expression-paper-end: #e6d5ec; --expression-ink: #4d2c5e; --expression-accent: #9d6fb0; }
.edmund-system-switcher__link[data-homepage-card="28"] { --expression-spine: #8a3f58; --expression-paper: #fff9fb; --expression-paper-end: #efd2dc; --expression-ink: #632a40; --expression-accent: #c26584; }
.edmund-system-switcher__link[data-homepage-card="29"] { --expression-spine: #3d6259; --expression-paper: #f8fdfb; --expression-paper-end: #cee2db; --expression-ink: #254b42; --expression-accent: #5c9b8b; }
.edmund-system-switcher__link[data-homepage-card="30"] { --expression-spine: #344c76; --expression-paper: #fafbff; --expression-paper-end: #d1daee; --expression-ink: #263b63; --expression-accent: #597bb7; }

.edmund-system-switcher__home {
  min-height: 38px;
  margin-top: 8px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #53627d;
  font-size: 10px;
  font-weight: 850;
  text-decoration: none;
  background: #f5f7fb;
}

.edmund-system-switcher__home:hover,
.edmund-system-switcher__home:focus-visible {
  color: #1a3974;
  background: #eaf0fb;
}

@media (pointer: fine) {
  .custom-cursor ~ .flash-shell .edmund-system-switcher__trigger,
  .custom-cursor ~ .flash-shell .edmund-system-switcher__link,
  .custom-cursor ~ .flash-shell .edmund-system-switcher__homebase,
  .custom-cursor ~ .flash-shell .edmund-system-switcher__home {
    cursor: none;
  }
}

@media (max-width: 820px) {
  .edmund-system-header {
    position: sticky !important;
  }

  .edmund-system-header__inner {
    width: min(100% - 20px, 1480px);
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .edmund-system-header__actions {
    width: 100%;
    justify-content: flex-start;
  }

  .edmund-system-switcher__copy small {
    max-width: 190px;
  }
}

@media (max-width: 680px) {
  .flash-shell > .edmund-system-header {
    margin-top: -18px;
    margin-bottom: 20px;
  }

  .edmund-system-switcher {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px;
  }

  .edmund-system-switcher__trigger {
    width: auto;
  }

  .edmund-system-switcher__trigger {
    min-height: 52px;
  }

  .edmund-system-switcher__logo {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    border-radius: 12px;
  }

  .edmund-system-switcher__copy {
    flex: 1;
  }

  .edmund-system-switcher__copy strong {
    font-size: 17px;
  }

  .edmund-system-switcher__copy small {
    max-width: min(62vw, 245px);
  }

  .edmund-system-switcher__menu {
    right: auto;
    left: 0;
  }

  .edmund-system-switcher__homebase {
    max-width: 112px;
    padding-inline: 9px;
    white-space: normal;
  }
}

@media (max-width: 430px) {
  .edmund-system-switcher__links {
    grid-template-columns: 1fr;
  }

  .edmund-system-switcher__link {
    min-height: 54px;
  }

  .edmund-system-switcher__copy small { display: none; }

  .edmund-system-switcher__copy strong { font-size: 15px; }

  .edmund-system-switcher__homebase {
    max-width: 101px;
    padding-inline: 7px;
    font-size: 10px;
  }

  .edmund-pomodoro-header-button { min-width: 48px; width: 48px; padding: 6px; }
  .edmund-pomodoro-header-button img { width: 32px; height: 32px; flex-basis: 32px; }
  .edmund-pomodoro-header-button span { display: none; }
  .edmund-pomodoro-dialog__heading { grid-template-columns: 1fr 76px; gap: 10px; }
  .edmund-pomodoro-dialog__grid, .edmund-pomodoro-break-card { grid-template-columns: 1fr; }
  .edmund-pomodoro-break-card img { max-height: 170px; grid-row: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .edmund-system-switcher__trigger,
  .edmund-system-switcher__chevron,
  .edmund-system-switcher__menu,
  .edmund-system-switcher__link,
  .edmund-system-switcher__homebase {
    transition: none !important;
  }

  .edmund-pomodoro-header-button { transition: none !important; }
}
