.ah-header, .ah-footer {
  --ah-ink: #211e30;
  --ah-wine: #633150;
  --ah-paper: #fff;
  --ah-line: #e5e3eb;
  --pt-focus: #795b80;
  color: var(--ah-ink);
  background: var(--ah-paper);
  font-family: var(--sans);
}
.ah-inner {
  width: 100%;
  max-width: 1330px;
  padding-inline: clamp(20px,5vw,76px);
  margin-inline: auto;
}
.ah-header {
  position: relative;
  z-index: 12;
  border-bottom: 1px solid var(--ah-line);
}
body:has(.ah-header) > .skip:focus { z-index: 20; }
.ah-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(20px,3vw,48px);
  min-height: 72px;
}
.ah-header a, .ah-footer a { color: inherit; text-decoration: none; }
.ah-brand { display: flex; align-items: center; flex-shrink: 0; min-height: 44px; margin-right: auto; }
.ah-brand img { width: 119px; height: auto; display: block; }
.ah-links, .ah-tools { display: flex; align-items: center; }
.ah-links { gap: clamp(20px,2.4vw,36px); }
.ah-links a, .ah-tools > a, .ah-header .ah-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  color: var(--ah-wine);
  font: 650 .97rem/1.1 var(--sans);
  white-space: nowrap;
}
.ah-tools { gap: 18px; }
.ah-cabinet, .ah-header .ah-toggle { gap: 6px; }
.ah-tools .icon { width: 17px; height: 17px; flex-shrink: 0; }
.ah-header .ah-toggle {
  width: auto;
  height: auto;
  padding: 0 0 0 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.ah-toggle::before {
  content: "";
  position: absolute;
  left: 0;
  width: 1px;
  height: 17px;
  background: var(--ah-line);
}
.ah-header :is(.ah-links a,.ah-tools a,.ah-toggle):hover,
.ah-footer a:hover { color: var(--ah-wine); text-decoration: underline; text-underline-offset: .24em; }
.ah-header :is(a,button):focus-visible, .ah-footer a:focus-visible { outline: 2px solid var(--pt-focus); outline-offset: 3px; }
.ah-header .ah-toggle[aria-expanded="true"] { color: var(--ah-ink); }
.ah-tools:has(noscript a) button { display: none; }
.ah-header #primary.ah-panel {
  display: none;
  position: absolute;
  z-index: 1;
  top: calc(100% - 1px);
  right: clamp(20px,5vw,76px);
  width: min(295px,calc(100% - 40px));
  max-height: 75vh;
  overflow: auto;
  padding: 8px;
  border: 1px solid var(--ah-line);
  border-radius: 0 0 10px 10px;
  background: var(--ah-paper);
  box-shadow: 0 12px 24px #302c4314;
}
.ah-header #primary.ah-panel.open { display: grid; align-items: stretch; gap: 0; }
.ah-panel a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 8px 12px;
  font: 550 1rem/1.2 var(--sans);
}
.ah-panel a:hover, .ah-panel a:focus-visible { background: #f4f2f7; color: var(--ah-wine); }
.ah-panel kbd { color: #655e70; font: 500 .81rem/1 var(--sans); }
.ah-panel .ah-small-link { display: none; }
.ah-panel .ah-all { color: var(--ah-wine); font-weight: 700; border-top: 1px solid var(--ah-line); }
.ah-footer { --ah-paper: #f8f8fb; padding-block: 12px; border-top: 1px solid var(--ah-line); }
.ah-foot, .ah-foot nav { display: flex; align-items: center; flex-wrap: wrap; }
.ah-foot { justify-content: space-between; gap: 4px 24px; }
.ah-foot nav { gap: 0 clamp(16px,2vw,30px); }
.ah-foot a { display: inline-flex; align-items: center; min-height: 44px; font-size: .91rem; }
.ah-foot .ah-signature { color: var(--ah-wine); font: 600 .99rem/1.2 Mont,system-ui,sans-serif; letter-spacing: -.04em; }
@media (max-width: 680px) {
  .ah-bar { gap: 0; min-height: 60px; }
  .ah-brand img { width: 101px; }
  .ah-links { display: none; }
  .ah-tools { gap: 12px; }
  .ah-header .ah-toggle { padding-left: 12px; }
  .ah-header .ah-panel .ah-small-link { display: flex; }
  .ah-foot { display: block; }
  .ah-foot nav { gap: 0 18px; }
}
@media (scripting: none) { .ah-header button.ah-toggle { display: none; } }
@media print { .ah-header, .ah-footer { display: none; } }
.ah-header :is(.ah-links,.ah-tools,.ah-panel) a:is([aria-current="location"],[aria-current="page"]),
.ah-footer a[aria-current="page"] { text-decoration: underline; text-underline-offset: .27em; text-decoration-thickness: 2px; }
.ah-group { border-top: 1px solid var(--ah-line); }
.ah-group summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 8px 12px; font: 600 1rem/1.2 var(--sans); cursor: pointer; list-style: none; }
.ah-group summary::-webkit-details-marker { display:none; }
.ah-group summary::after { content: ''; width: 7px; height: 7px; margin-right: 3px; border: solid var(--ah-wine); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.ah-group[open] summary::after { transform: rotate(225deg); }
.ah-group summary:hover, .ah-group summary:focus-visible { background: #f4f2f7; }
.ah-group:has(a[aria-current="page"],a[aria-current="location"]) summary { color: var(--ah-wine); }
.ah-group > div { margin: 0 5px 5px 10px; padding-left: 4px; border-left: 2px solid var(--ah-line); }
.ah-group > div > a { font-size: .96rem; }
.ah-panel .ah-week { margin: 5px 0; padding: 5px; background: #f6f5f8; border-radius: 6px; }
.ah-week > a { min-height: 36px; font-weight: 650; }
.ah-week ol { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); margin: 0; padding: 0; list-style: none; }
.ah-week li > :is(a,span) { display: flex; align-items: center; justify-content: center; flex-direction: column; min-height: 42px; margin: 2px 0; padding: 2px; border-radius: 4px; font-size: .77rem; }
.ah-week li a { background: #e7dfe9; color: var(--ah-wine); }
.ah-week li [aria-current="date"] b { text-decoration: underline; text-underline-offset: 2px; }
.ah-header summary:focus-visible { outline: 2px solid var(--pt-focus); outline-offset: -2px; }
