:root,
:host {
  --athena-purple-950: #21174f;
  --athena-purple-900: #2f236f;
  --athena-purple-700: #51308f;
  --athena-turquoise-700: #007b70;
  --athena-turquoise-400: #3dddb0;
  --athena-cyan-700: #087b96;
  --athena-cyan-400: #35c8db;
  --athena-magenta-700: #912b8c;
  --athena-magenta-400: #c44db5;
  --athena-warning-700: #8a4b00;
  --athena-danger-700: #b42318;
  --athena-focus: #ffcf33;
  --athena-paper: #ffffff;
  --athena-ink: #17152a;
  --athena-radius-sm: 0.375rem;
  --athena-radius-md: 0.75rem;
  --athena-radius-pill: 999px;
  --athena-shadow-raised: 0 0.75rem 2rem rgb(33 23 79 / 14%);
  --athena-space-1: 0.25rem;
  --athena-space-2: 0.5rem;
  --athena-space-3: 0.75rem;
  --athena-space-4: 1rem;
  --athena-space-6: 1.5rem;
  --athena-space-8: 2rem;

  --w-font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --w-color-primary: var(--athena-purple-900);
  --w-color-primary-200: var(--athena-turquoise-400);
  --w-color-secondary: var(--athena-turquoise-700);
  --w-density-factor: 0.9;
}

*:focus-visible {
  outline: 3px solid var(--athena-focus) !important;
  outline-offset: 3px;
}

.athena-lockup {
  align-items: center;
  color: inherit;
  display: inline-flex;
  gap: var(--athena-space-3);
  max-width: 100%;
  text-decoration: none;
}

.athena-lockup__mark {
  flex: 0 0 auto;
  height: 2.5rem;
  width: 2.5rem;
}

.athena-lockup__name {
  display: grid;
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: -0.015em;
  line-height: 1.05;
}

.athena-lockup__byline {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-top: var(--athena-space-1);
  opacity: 0.78;
  text-transform: uppercase;
}

.athena-lockup--login .athena-lockup__mark {
  height: 4rem;
  width: 4rem;
}

.athena-lockup--login .athena-lockup__name {
  font-size: 1.5rem;
}

.athena-lockup--login .athena-lockup__byline {
  font-size: 0.75rem;
}

body.sidebar-collapsed [data-wagtail-sidebar] .sidebar-custom-branding,
[data-wagtail-sidebar] .sidebar--slim .sidebar-custom-branding {
  display: flex;
  justify-content: center;
  overflow: hidden;
}

body.sidebar-collapsed [data-wagtail-sidebar] .sidebar-custom-branding .athena-lockup,
[data-wagtail-sidebar] .sidebar--slim .sidebar-custom-branding .athena-lockup {
  gap: 0;
  justify-content: center;
  max-width: 2.5rem;
  overflow: hidden;
  width: 2.5rem;
}

body.sidebar-collapsed [data-wagtail-sidebar] .sidebar-custom-branding .athena-lockup__name,
[data-wagtail-sidebar] .sidebar--slim .sidebar-custom-branding .athena-lockup__name {
  display: none;
}

.w-bg-primary,
.sidebar,
[data-wagtail-sidebar] {
  background-color: var(--athena-purple-950);
}

.button,
button,
input,
select,
textarea {
  border-radius: var(--athena-radius-sm);
}

.button.button-longrunning,
.button.button-secondary,
.button[type="submit"] {
  border-radius: var(--athena-radius-pill);
}

.button.button-longrunning,
.button[type="submit"] {
  background-color: var(--athena-turquoise-700);
  border-color: var(--athena-turquoise-700);
  color: var(--athena-paper);
}

.button.button-longrunning:hover,
.button[type="submit"]:hover {
  background-color: #00675f;
  border-color: #00675f;
}

.button.no,
.button-serious,
.button.button--destructive {
  background-color: var(--athena-danger-700);
  border-color: var(--athena-danger-700);
  color: var(--athena-paper);
}

.athena-status {
  align-items: center;
  border: 1px solid currentcolor;
  border-radius: var(--athena-radius-pill);
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 700;
  gap: var(--athena-space-1);
  line-height: 1;
  padding: 0.25rem 0.5rem;
}

.athena-status--draft {
  background: #f1eff9;
  color: var(--athena-purple-700);
}

.athena-status--published {
  background: #e1f7f1;
  color: var(--athena-turquoise-700);
}

.athena-status--warning,
.athena-status--stale {
  background: #fff2d5;
  color: var(--athena-warning-700);
}

.athena-status--translation,
.athena-status--fallback {
  background: #e4f6fa;
  color: var(--athena-cyan-700);
}

.athena-status--taxonomy {
  background: #faeafb;
  color: var(--athena-magenta-700);
}

.athena-status--danger {
  background: #feeceb;
  color: var(--athena-danger-700);
}

.athena-status--missing {
  background: #f4f4f5;
  color: #4b4858;
}

.athena-object-title,
.athena-object-meta {
  display: block;
}

.athena-object-meta {
  color: #6b6878;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.4;
  margin-top: var(--athena-space-1);
}

.athena-muted {
  color: #6b6878;
}

.athena-workspace {
  color: var(--athena-ink);
  max-width: 100rem;
}

.athena-tabs {
  border-bottom: 1px solid #d8d6e2;
  display: flex;
  flex-wrap: wrap;
  gap: var(--athena-space-2);
  margin-bottom: var(--athena-space-6);
}

.athena-tabs a {
  border-bottom: 3px solid transparent;
  color: var(--athena-purple-900);
  font-weight: 700;
  padding: var(--athena-space-3) var(--athena-space-4);
  text-decoration: none;
}

.athena-tabs a[aria-current="page"] {
  border-color: var(--athena-turquoise-700);
}

.athena-toolbar,
.athena-section-heading {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: var(--athena-space-3);
  justify-content: space-between;
  margin-bottom: var(--athena-space-6);
}

.athena-heading-with-chip {
  align-items: center;
  display: inline-flex;
  flex-wrap: wrap;
  gap: var(--athena-space-3);
}

.athena-heading-with-chip .athena-status {
  vertical-align: middle;
}

.athena-toolbar label {
  font-weight: 700;
}

.athena-toolbar input[type="search"] {
  min-width: min(26rem, 100%);
  padding: 0.65rem;
}

.athena-table-scroll {
  overflow-x: auto;
}

.w-dropdown__content {
  max-width: min(22rem, calc(100vw - 3rem));
}

.w-dropdown__content .w-field__wrapper,
.w-dropdown__content .w-field__input,
.w-dropdown__content select {
  max-width: 100%;
  min-width: 0;
  width: 100%;
}

.w-dropdown__content select {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.listing th,
.listing td {
  padding-bottom: 0.45rem;
  padding-top: 0.45rem;
}

.listing .athena-status {
  font-size: 0.6875rem;
  padding: 0.2rem 0.45rem;
}

.athena-image-list th,
.athena-image-list td {
  padding-bottom: 0.3rem;
  padding-top: 0.3rem;
  vertical-align: middle;
}

.athena-image-list .image-preview,
.athena-image-list .image-preview img {
  max-height: 4rem;
  max-width: 5rem;
}

.athena-image-list .title-with-filename a {
  font-weight: 750;
}

.athena-image-list .filename-wrapper {
  color: #6b6878;
  font-size: 0.75rem;
  margin-top: var(--athena-space-1);
}

.athena-column-chooser {
  border-bottom: 1px solid #d8d6e2;
  border-top: 1px solid #d8d6e2;
  margin-bottom: var(--athena-space-4);
  padding: var(--athena-space-3) 0;
}

.athena-column-chooser summary {
  color: var(--athena-purple-900);
  cursor: pointer;
  font-weight: 750;
}

.athena-column-chooser__body {
  display: flex;
  flex-wrap: wrap;
  gap: var(--athena-space-3);
  margin-top: var(--athena-space-3);
}

.athena-column-chooser__body fieldset {
  border: 0;
  flex: 1 1 32rem;
  margin: 0;
  min-width: 0;
  padding: 0;
}

.athena-column-chooser__options {
  display: grid;
  gap: var(--athena-space-2) var(--athena-space-4);
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
}

.athena-column-chooser__options label {
  align-items: center;
  display: inline-flex;
  gap: var(--athena-space-2);
  line-height: 1.3;
  min-width: 0;
}

.athena-column-chooser__options span {
  overflow-wrap: anywhere;
}

.athena-configurable-listing {
  min-width: max-content;
}

.athena-configurable-listing tbody tr {
  position: relative;
}

.athena-configurable-listing tbody tr:focus-within {
  z-index: 3;
}

.athena-configurable-listing th,
.athena-configurable-listing td {
  max-width: 22rem;
  min-width: 7.5rem;
  vertical-align: top;
}

.athena-configurable-listing .title {
  left: 0;
  min-width: 16rem;
  position: sticky;
  z-index: 1;
}

.athena-configurable-listing tbody .title {
  background: var(--athena-paper);
}

.athena-configurable-listing tbody tr:focus-within .title {
  z-index: 4;
}

.athena-configurable-listing .title .actions,
.athena-configurable-listing .title .w-dropdown,
.athena-configurable-listing .title .w-dropdown__content {
  position: relative;
  z-index: 5;
}

.athena-configurable-listing thead .title {
  background: #f6f6f8;
  z-index: 2;
}

.athena-list-column[hidden] {
  display: none !important;
}

.athena-tour-poi-context {
  align-items: center;
  background: #f7f6fb;
  border: 1px solid #d8d6e2;
  border-radius: var(--athena-radius-sm);
  display: flex;
  gap: var(--athena-space-4);
  justify-content: space-between;
  margin-bottom: var(--athena-space-3);
  padding: var(--athena-space-3) var(--athena-space-4);
}

.athena-tour-poi-context strong,
.athena-tour-poi-context span {
  display: block;
}

.athena-tour-poi-context strong {
  color: var(--athena-purple-900);
  font-size: 1rem;
  line-height: 1.3;
}

.athena-tour-poi-context span {
  color: #6b6878;
  font-size: 0.875rem;
  line-height: 1.35;
}

.athena-tour-poi-context__count {
  border: 1px solid var(--athena-turquoise-700);
  border-radius: 999px;
  color: var(--athena-turquoise-700) !important;
  flex: 0 0 auto;
  font-weight: 700;
  padding: var(--athena-space-1) var(--athena-space-3);
}

.athena-tour-poi-listing--filtered th,
.athena-tour-poi-listing--filtered td {
  min-width: 6.5rem;
}

.athena-tour-poi-listing--filtered .title {
  min-width: 20rem;
}

.athena-tour-poi-listing--filtered tbody .title {
  padding-bottom: var(--athena-space-2);
  padding-top: var(--athena-space-2);
}

.athena-matrix th,
.athena-matrix td {
  min-width: 9rem;
  vertical-align: top;
}

.athena-matrix th:first-child {
  min-width: 16rem;
  position: sticky;
  left: 0;
  background: var(--athena-paper);
  z-index: 1;
}

.athena-matrix .athena-status {
  margin: 0 var(--athena-space-1) var(--athena-space-1) 0;
  text-decoration: none;
}

.athena-literal-filters {
  align-items: end;
  background: #f7f6fb;
  border: 1px solid #d8d6e2;
  border-radius: var(--athena-radius-md);
  display: grid;
  gap: var(--athena-space-3);
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  margin-bottom: var(--athena-space-6);
  padding: var(--athena-space-4);
}

.athena-filter-field {
  display: grid;
  gap: var(--athena-space-1);
}

.athena-filter-field--wide {
  grid-column: span 2;
}

.athena-filter-field label {
  font-size: 0.8125rem;
  font-weight: 700;
}

.athena-filter-field input,
.athena-filter-field select {
  min-height: 2.5rem;
  width: 100%;
}

.athena-filter-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: var(--athena-space-2);
  grid-column: 1 / -1;
}

.athena-literal-meta,
.athena-literal-value {
  display: block;
  margin-top: var(--athena-space-2);
}

.athena-literal-meta {
  color: #6b6878;
  font-weight: 500;
}

.athena-literal-cell {
  display: grid;
  gap: var(--athena-space-1);
  max-width: 26rem;
}

.athena-literal-value {
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.athena-quarantine-table .athena-status {
  margin: 0 var(--athena-space-1) var(--athena-space-1) 0;
}

.athena-definition-grid {
  display: grid;
  gap: var(--athena-space-4);
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  margin: 0;
}

.athena-definition-grid div {
  background: #f7f6fb;
  border-radius: var(--athena-radius-sm);
  padding: var(--athena-space-4);
}

.athena-definition-grid dt {
  font-weight: 700;
  margin-bottom: var(--athena-space-1);
}

.athena-definition-grid dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.athena-resolution-grid {
  display: grid;
  gap: var(--athena-space-6);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.athena-context-panel--danger {
  border-color: var(--athena-danger-700);
}

.athena-context-panel form .w-field-wrapper {
  max-width: 52rem;
}

.athena-quarantine-map-form {
  min-width: 0;
}

.athena-quarantine-map-form select,
.athena-quarantine-map-form .w-field__input,
.athena-quarantine-map-form .w-field__input select,
.athena-quarantine-map-form .w-field-wrapper {
  max-width: 100%;
  min-width: 0;
  width: 100%;
}

.athena-quarantine-map-form select {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.athena-target-preview {
  border: 1px solid #d8d6e2;
  border-radius: var(--athena-radius-sm);
  display: grid;
  gap: var(--athena-space-3);
  grid-template-columns: 7rem minmax(0, 1fr);
  margin: 0 0 var(--athena-space-4);
  max-width: 100%;
  padding: var(--athena-space-3);
}

.athena-target-preview[hidden] {
  display: none;
}

.athena-target-preview__image {
  aspect-ratio: 4 / 3;
  background: #f7f6fb;
  border-radius: var(--athena-radius-sm);
  overflow: hidden;
}

.athena-target-preview__image img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.athena-target-preview figcaption {
  align-self: center;
  display: grid;
  gap: var(--athena-space-1);
  min-width: 0;
}

.athena-target-preview figcaption strong,
.athena-target-preview figcaption span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.athena-target-preview figcaption span {
  color: #6b6878;
  font-size: 0.8125rem;
}

.athena-reference-list li > :first-child {
  flex: 1;
}

.athena-pagination {
  align-items: center;
  display: flex;
  gap: var(--athena-space-4);
  justify-content: center;
  margin: var(--athena-space-6) 0;
}

.athena-context-panel,
.athena-empty-state,
.athena-confirmation,
.athena-home {
  background: var(--athena-paper);
  border: 1px solid #d8d6e2;
  border-radius: var(--athena-radius-md);
  box-shadow: 0 0.25rem 1rem rgb(33 23 79 / 8%);
  margin-bottom: var(--athena-space-6);
  padding: var(--athena-space-6);
}

.athena-route-layout,
.athena-location-layout,
.athena-single-coordinate,
.athena-comparison {
  display: grid;
  gap: var(--athena-space-6);
  grid-template-columns: minmax(25rem, 1.2fr) minmax(20rem, 0.8fr);
}

.athena-linked-object {
  align-items: center;
  background: #f7f6fb;
  border-left: 3px solid var(--athena-cyan-700);
  display: flex;
  flex-wrap: wrap;
  gap: var(--athena-space-2);
  margin: calc(-1 * var(--athena-space-2)) 0 var(--athena-space-4);
  padding: var(--athena-space-3);
}

.athena-coordinate-picker {
  margin-top: var(--athena-space-4);
  max-width: 68rem;
}

.athena-coordinate-row > .w-field-row {
  align-items: start;
}

.athena-leaflet-map {
  background: #eef9f7;
  border: 2px solid var(--athena-cyan-700);
  border-radius: var(--athena-radius-md);
  height: clamp(20rem, 46vh, 34rem);
  margin-top: var(--athena-space-3);
  width: 100%;
  z-index: 0;
}

.athena-leaflet-map:fullscreen {
  border: 0;
  border-radius: 0;
  height: 100%;
  margin: 0;
}

.athena-map-status {
  color: #6b6878;
  font-size: 0.8125rem;
  margin-top: var(--athena-space-2);
}

.athena-map-fullscreen {
  background: var(--athena-paper);
  border: 0;
  border-radius: 0;
  color: var(--athena-ink);
  cursor: pointer;
  font-size: 1.25rem;
  height: 2rem;
  line-height: 2rem;
  padding: 0;
  width: 2rem;
}

.athena-route-map-marker {
  background: transparent;
  border: 0;
}

.athena-route-map-marker span {
  background: var(--athena-magenta-700);
  border: 2px solid var(--athena-paper);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--athena-magenta-700);
  color: var(--athena-paper);
  display: grid;
  font-weight: 800;
  height: 2rem;
  place-items: center;
  width: 2rem;
}

.athena-compact-route {
  list-style: none;
  margin: 0;
  padding: 0;
}

.athena-compact-route li {
  align-items: center;
  border-bottom: 1px solid #e5e3eb;
  display: grid;
  gap: var(--athena-space-3);
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: var(--athena-space-3) 0;
}

.athena-compact-route small {
  color: #6b6878;
  display: block;
}

.athena-route-list,
.athena-reference-list,
.athena-history-list,
.athena-compact-list {
  list-style: none;
  margin: 0 0 var(--athena-space-4);
  padding: 0;
}

.athena-route-list li,
.athena-reference-list li,
.athena-history-list li {
  align-items: center;
  border-bottom: 1px solid #e5e3eb;
  display: flex;
  gap: var(--athena-space-3);
  padding: var(--athena-space-3) 0;
}

.athena-route-list li.is-dragging {
  background: #e4f6fa;
  opacity: 0.8;
}

.athena-route-list small,
.athena-history-list span {
  display: block;
}

.athena-route-membership {
  background: #f7f6fb;
  border-left: 4px solid var(--athena-turquoise-700);
  border-radius: var(--athena-radius-sm);
  display: grid;
  gap: var(--athena-space-2);
  margin-bottom: var(--athena-space-6);
  max-width: 58rem;
  padding: var(--athena-space-4);
}

.athena-route-membership h3,
.athena-route-membership p {
  margin: 0;
}

.athena-route-membership label {
  font-weight: 700;
  margin-top: var(--athena-space-2);
}

.athena-route-membership input,
.athena-route-membership select {
  box-sizing: border-box;
  max-width: 44rem;
  width: 100%;
}

.athena-route-membership select[multiple] {
  min-height: 12rem;
}

.athena-route-save-note {
  border-top: 1px solid #d8d6e2;
  color: #514e60;
  font-size: 0.8125rem;
  margin-top: var(--athena-space-2) !important;
  padding-top: var(--athena-space-3);
}

.athena-route-save-note--warning {
  color: var(--athena-danger-700);
  font-weight: 700;
}

.athena-route-stop {
  flex: 1;
  min-width: 0;
}

.athena-route-row-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: var(--athena-space-2);
}

.athena-route-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: var(--athena-space-3);
  margin-top: var(--athena-space-4);
}

.athena-route-warning {
  background: #fff3df;
  border-left: 4px solid var(--athena-warning-700);
  border-radius: var(--athena-radius-sm);
  color: var(--athena-ink);
  margin: var(--athena-space-3) 0;
  padding: var(--athena-space-3);
}

.athena-drag-handle {
  background: var(--athena-paper);
  border: 2px solid var(--athena-purple-900);
  color: var(--athena-purple-900);
  cursor: grab;
  font-size: 1.25rem;
  min-height: 2.75rem;
  min-width: 2.75rem;
}

.athena-route-position {
  background: var(--athena-purple-950);
  border-radius: var(--athena-radius-pill);
  color: var(--athena-paper);
  display: grid;
  font-weight: 800;
  height: 2rem;
  place-items: center;
  width: 2rem;
}

.athena-map {
  background-color: #eef9f7;
  background-image: linear-gradient(#c9e9e2 1px, transparent 1px), linear-gradient(90deg, #c9e9e2 1px, transparent 1px);
  background-size: 2rem 2rem;
  border: 2px solid var(--athena-cyan-700);
  border-radius: var(--athena-radius-md);
  min-height: 22rem;
  overflow: hidden;
  position: relative;
}

.athena-map__label {
  background: var(--athena-cyan-700);
  color: var(--athena-paper);
  font-weight: 700;
  left: 0;
  padding: var(--athena-space-2) var(--athena-space-3);
  position: absolute;
  top: 0;
  z-index: 2;
}

.athena-map__point {
  background: var(--athena-magenta-700);
  border: 2px solid var(--athena-paper);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--athena-magenta-700);
  color: var(--athena-paper);
  display: grid;
  font-weight: 800;
  height: 2rem;
  place-items: center;
  position: absolute;
  transform: translate(-50%, -50%);
  width: 2rem;
  z-index: 2;
}

.athena-map__north {
  background: var(--athena-cyan-700);
  border-radius: 0 0 0 var(--athena-radius-sm);
  color: var(--athena-paper);
  font-weight: 700;
  padding: var(--athena-space-2) var(--athena-space-3);
  position: absolute;
  right: 0;
  top: 0;
  z-index: 2;
}

.athena-map__route {
  display: block;
  height: 100%;
  inset: 0;
  pointer-events: none;
  position: absolute;
  width: 100%;
  z-index: 1;
}

.athena-map__route-line {
  fill: none;
  stroke: var(--athena-turquoise-700);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.3;
}

.athena-context-panel--warning {
  border-left: 4px solid var(--athena-warning-700);
}

.athena-media-field {
  display: grid;
  gap: var(--athena-space-4);
  max-width: 68rem;
}

.athena-media-field + .athena-media-field {
  border-top: 1px solid #e5e3eb;
  margin-top: var(--athena-space-6);
  padding-top: var(--athena-space-6);
}

.athena-media-field__preview {
  align-items: stretch;
  border: 1px solid #d8d6e2;
  border-radius: var(--athena-radius-sm);
  display: grid;
  gap: var(--athena-space-4);
  grid-template-columns: minmax(16rem, 26rem) minmax(18rem, 1fr);
  overflow: hidden;
}

.athena-media-field__image-wrap {
  align-items: center;
  background:
    linear-gradient(45deg, #f1f0f6 25%, transparent 25%),
    linear-gradient(-45deg, #f1f0f6 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #f1f0f6 75%),
    linear-gradient(-45deg, transparent 75%, #f1f0f6 75%);
  background-color: #ffffff;
  background-position: 0 0, 0 0.5rem, 0.5rem -0.5rem, -0.5rem 0;
  background-size: 1rem 1rem;
  display: flex;
  justify-content: center;
  min-height: 16rem;
  padding: var(--athena-space-4);
}

.athena-media-field__image {
  border-radius: var(--athena-radius-sm);
  display: block;
  height: auto;
  max-height: 20rem;
  max-width: 100%;
  object-fit: contain;
  width: auto;
}

.athena-media-field__details {
  min-width: 0;
  padding: var(--athena-space-4);
}

.athena-media-field__details h3,
.athena-media-field__empty h3 {
  color: var(--athena-purple-900);
  font-size: 1rem;
  margin: 0 0 var(--athena-space-2);
}

.athena-media-field__title {
  color: var(--athena-ink);
  font-size: 1.125rem;
  font-weight: 750;
  margin: 0 0 var(--athena-space-3);
  overflow-wrap: anywhere;
}

.athena-media-field__meta {
  display: grid;
  gap: var(--athena-space-2);
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  margin: 0 0 var(--athena-space-4);
}

.athena-media-field__meta div {
  min-width: 0;
}

.athena-media-field__meta dt {
  color: #4b4858;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.athena-media-field__meta dd {
  margin: var(--athena-space-1) 0 0;
  overflow-wrap: anywhere;
}

.athena-media-field__empty {
  background: #f7f6fb;
  border: 1px dashed #aba7bb;
  border-radius: var(--athena-radius-sm);
  padding: var(--athena-space-6);
}

.athena-media-field__empty p {
  color: #4b4858;
  margin: 0;
}

.athena-media-field__chooser .chooser {
  max-width: 44rem;
}

@media (max-width: 56rem) {
  .athena-media-field__preview {
    grid-template-columns: 1fr;
  }
}

.athena-walking-summary {
  display: flex;
  flex-wrap: wrap;
  gap: var(--athena-space-2);
}

.athena-walking-layout {
  display: grid;
  gap: var(--athena-space-6);
  grid-template-columns: minmax(32rem, 1fr) minmax(20rem, 0.35fr);
}

.athena-layout-comparison,
.athena-layout-details {
  display: grid;
  gap: var(--athena-space-6);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.athena-layout-comparison .athena-context-panel {
  min-width: 0;
}

.athena-layout-comparison .athena-walking-map {
  min-height: 30rem;
}

.athena-layout-comparison .athena-walking-map svg {
  min-height: 30rem;
}

.athena-layout-issues li {
  border-bottom: 1px solid #e5e3eb;
  padding: var(--athena-space-3) 0;
}

.athena-layout-issues li:last-child {
  border-bottom: 0;
}

.athena-layout-json {
  margin-top: var(--athena-space-4);
}

.athena-layout-json code {
  overflow-wrap: anywhere;
  white-space: normal;
}

.athena-walking-map {
  background-color: #eef9f7;
  background-image:
    linear-gradient(#c9e9e2 1px, transparent 1px),
    linear-gradient(90deg, #c9e9e2 1px, transparent 1px);
  background-size: 2rem 2rem;
  border: 2px solid var(--athena-cyan-700);
  border-radius: var(--athena-radius-md);
  min-height: 38rem;
  overflow: hidden;
  position: relative;
}

.athena-walking-map svg {
  display: block;
  height: 100%;
  min-height: 38rem;
  width: 100%;
}

.athena-walking-map__leg {
  fill: none;
  marker-end: url("#athena-walking-arrow");
  stroke: var(--athena-turquoise-700);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.athena-walking-map__leg--warning {
  stroke: var(--athena-warning-700);
  stroke-dasharray: 2 2;
}

.athena-walking-map marker path {
  fill: var(--athena-turquoise-700);
}

.athena-walking-map__distance {
  fill: var(--athena-purple-900);
  font-size: 2.3px;
  font-weight: 700;
  paint-order: stroke;
  stroke: var(--athena-paper);
  stroke-width: 0.75px;
}

.athena-walking-map__marker circle {
  fill: var(--athena-magenta-700);
  stroke: var(--athena-paper);
  stroke-width: 0.75;
}

.athena-walking-map__marker--recommended circle {
  fill: var(--athena-turquoise-700);
}

.athena-walking-map__marker text {
  fill: var(--athena-paper);
  font-size: 2.8px;
  font-weight: 800;
  text-anchor: middle;
}

.athena-walking-sidebar {
  display: grid;
  gap: var(--athena-space-4);
}

.athena-walking-sidebar .athena-context-panel {
  margin-bottom: 0;
}

.athena-walking-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.athena-walking-list li {
  align-items: center;
  border-bottom: 1px solid #e5e3eb;
  display: flex;
  gap: var(--athena-space-3);
  padding: var(--athena-space-3) 0;
}

.athena-walking-list li:last-child {
  border-bottom: 0;
}

.athena-walking-list small {
  display: block;
}

.athena-locale-grid,
.athena-summary-grid {
  display: grid;
  gap: var(--athena-space-4);
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
}

.athena-locale-grid article,
.athena-summary-grid article,
.athena-source-card {
  background: #f7f6fb;
  border-radius: var(--athena-radius-sm);
  padding: var(--athena-space-4);
}

.athena-locale-title {
  color: var(--athena-ink);
  display: block;
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: var(--athena-space-3);
  overflow-wrap: anywhere;
}

.athena-summary-grid strong {
  color: var(--athena-purple-900);
  display: block;
  font-size: 2rem;
}

.athena-summary-grid span {
  font-weight: 700;
}

.athena-security-page {
  color: var(--athena-ink);
  max-width: 74rem;
}

.athena-security-grid {
  display: grid;
  gap: var(--athena-space-6);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.athena-security-card {
  background: var(--athena-paper);
  border: 1px solid #d8d6e2;
  border-radius: var(--athena-radius-md);
  box-shadow: 0 0.25rem 1rem rgb(33 23 79 / 8%);
  padding: var(--athena-space-6);
}

.athena-security-card--danger {
  border-color: var(--athena-danger-700);
}

.athena-security-card__heading,
.athena-device-list li,
.athena-security-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: var(--athena-space-3);
  justify-content: space-between;
}

.athena-security-step {
  background: var(--athena-purple-900);
  border-radius: 50%;
  color: var(--athena-paper);
  display: grid;
  font-weight: 800;
  height: 2rem;
  place-items: center;
  width: 2rem;
}

.athena-security-qr {
  background: var(--athena-paper);
  border: 1px solid #d8d6e2;
  border-radius: var(--athena-radius-sm);
  display: block;
  height: auto;
  margin: var(--athena-space-4) auto;
  max-width: 100%;
}

.athena-manual-key {
  border-top: 1px solid #e5e3eb;
  margin-top: var(--athena-space-4);
  padding-top: var(--athena-space-4);
}

.athena-manual-key summary {
  color: var(--athena-turquoise-700);
  cursor: pointer;
  font-weight: 700;
}

.athena-manual-key dl div {
  display: grid;
  gap: var(--athena-space-2);
  grid-template-columns: 6rem minmax(0, 1fr);
  padding: var(--athena-space-2) 0;
}

.athena-manual-key dt {
  font-weight: 700;
}

.athena-manual-key dd {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

.athena-manual-key code {
  background: #f1eff9;
  border-radius: var(--athena-radius-sm);
  color: var(--athena-purple-950);
  display: inline-block;
  font-size: 1rem;
  letter-spacing: 0.08em;
  padding: var(--athena-space-2);
}

.athena-device-list {
  list-style: none;
  margin: var(--athena-space-6) 0;
  padding: 0;
}

.athena-device-list li {
  border-bottom: 1px solid #e5e3eb;
  padding: var(--athena-space-4) 0;
}

.athena-device-list span {
  display: block;
}

.athena-recovery-codes {
  display: grid;
  gap: var(--athena-space-2) var(--athena-space-6);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: var(--athena-space-6) 0;
}

.athena-recovery-codes code {
  font-size: 0.95rem;
  overflow-wrap: anywhere;
  user-select: all;
}

body.login .athena-recovery-link {
  margin-top: var(--athena-space-4);
}

.athena-security-actions {
  justify-content: flex-start;
  margin-top: var(--athena-space-6);
}

body.login {
  background:
    radial-gradient(circle at 85% 12%, rgb(61 221 176 / 26%), transparent 28rem),
    linear-gradient(145deg, var(--athena-purple-950), var(--athena-purple-700));
}

body.login .content-wrapper {
  backdrop-filter: blur(12px);
  background: rgb(255 255 255 / 96%);
  border-radius: var(--athena-radius-md);
  box-shadow: var(--athena-shadow-raised);
}

body.login h1 {
  margin-bottom: var(--athena-space-4);
  text-align: left;
}

body.login .athena-login-heading {
  align-items: center;
  display: inline-flex;
  gap: var(--athena-space-3);
  white-space: nowrap;
}

body.login .athena-login-heading__mark {
  flex: 0 0 auto;
  height: 3rem;
  width: 3rem;
}

body.login .messages {
  margin-bottom: 0;
}

body.login .messages ul {
  margin-bottom: var(--athena-space-4);
}

body.login .messages ul li {
  line-height: 1.4;
  margin-bottom: 0;
  padding: var(--athena-space-3) var(--athena-space-4);
}

body.login .athena-login-options {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: var(--athena-space-2) var(--athena-space-4);
  justify-content: space-between;
}

body.login .athena-login-options .remember-me,
body.login .athena-login-options .reset-password {
  margin: 0;
}

body.login .athena-login-options .reset-password {
  display: inline;
}

body.login .form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--athena-space-2) var(--athena-space-4);
  margin-top: var(--athena-space-6);
  max-width: 100%;
}

body.login .form-actions .button {
  box-sizing: border-box;
  margin-inline: 0;
  max-width: 100%;
}

@media (max-width: 50rem) {
  :root,
  :host {
    --w-density-factor: 0.8;
  }

  .athena-lockup__byline {
    display: none;
  }

  body.login h1 {
    font-size: 1.375rem;
  }

  body.login .athena-login-heading {
    gap: var(--athena-space-2);
  }

  body.login .athena-login-heading__mark {
    height: 2.5rem;
    width: 2.5rem;
  }

  .athena-route-layout,
  .athena-location-layout,
  .athena-walking-layout,
  .athena-layout-comparison,
  .athena-layout-details,
  .athena-single-coordinate,
  .athena-comparison,
  .athena-resolution-grid,
  .athena-security-grid {
    grid-template-columns: 1fr;
  }

  .athena-security-card {
    padding: var(--athena-space-4);
  }

  .athena-recovery-codes {
    grid-template-columns: 1fr;
  }

  .athena-manual-key dl div {
    grid-template-columns: 1fr;
  }

  .athena-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .athena-filter-field--wide {
    grid-column: span 1;
  }

  .athena-tour-poi-context {
    align-items: flex-start;
    flex-direction: column;
  }

  .athena-tour-poi-context__count {
    align-self: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (forced-colors: active) {
  .athena-status,
  .button {
    border: 2px solid ButtonText;
  }
}
