/* Shared glass finish for web navigation and public map panels. */
:root {
  --ara-glass-background: rgba(21, 30, 50, 0.68);
  --ara-glass-blur: 14px;
  --ara-glass-border: rgba(255, 255, 255, 0.10);
}
body.ara-home[data-platform="web"] .home-hero--classic {
  grid-template-rows: minmax(18px, 1fr) auto minmax(18px, 1fr) auto;
  align-items: center;
  min-height: 100svh;
  padding: var(--ara-top-nav-height, 64px) clamp(18px, 4vw, 64px) clamp(16px, 3vh, 32px);
}

.home-hero--classic .home-hero__content {
  grid-row: 2;
  grid-template-columns: minmax(0, 1.1fr) minmax(285px, .52fr);
  gap: clamp(24px, 4vw, 64px);
}

.home-hero--classic .home-hero__copy {
  padding-bottom: 0;
}

.home-hero--classic .hero-panel,
.home-hero--classic .hero-dock a {
  background: var(--ara-glass-background);
  border: 1px solid var(--ara-glass-border);
  backdrop-filter: blur(var(--ara-glass-blur));
  -webkit-backdrop-filter: blur(var(--ara-glass-blur));
  box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
}

.home-hero--classic .hero-panel {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(22px, 2.2vw, 30px);
  border-radius: 1.6rem;
  container-type: inline-size;
  animation: none;
}

.home-hero--classic .hero-panel__verified {
  margin: 0;
}

.home-hero--classic .hero-panel__count-row {
  align-items: baseline;
  gap: 4px 12px;
  overflow-wrap: anywhere;
}

.home-hero--classic .hero-panel__count {
  min-width: 0;
  font: 800 clamp(58px, 26cqi, 82px)/.95 Inter, sans-serif;
  letter-spacing: -.035em;
}

.home-hero--classic .hero-panel__count-note {
  margin: 0;
  color: #cbdbee;
  font: 600 11px/1.3 'ARA Instrument Sans', Inter, sans-serif;
  letter-spacing: .085em;
}

.hero-count-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.hero-count-loader {
  display: inline-flex;
  align-items: end;
  justify-content: space-between;
  width: 1.23em;
  height: .95em;
  padding-bottom: .06em;
  vertical-align: bottom;
}

.hero-count-loader > span {
  width: .41em;
  height: .58em;
  background: #fff;
  clip-path: var(--tree-shape);
  transform-origin: 50% 90%;
}

/* Spruce */
.hero-count-loader > span:nth-child(1) {
  --seed-shape: polygon(50% 12%, 60% 13%, 70% 18%, 78% 24%, 84% 33%, 87% 42%, 88% 53%, 86% 63%, 81% 72%, 74% 79%, 65% 85%, 55% 88%, 45% 88%, 35% 85%, 26% 79%, 19% 72%, 14% 63%, 12% 53%, 13% 42%, 16% 33%, 22% 24%, 30% 18%, 40% 13%);
  --tree-shape: polygon(50% 2%, 59% 24%, 55% 22%, 68% 39%, 60% 36%, 76% 54%, 64% 50%, 83% 69%, 69% 65%, 88% 80%, 55% 75%, 55% 97%, 45% 97%, 45% 75%, 12% 80%, 31% 65%, 17% 69%, 36% 50%, 24% 54%, 40% 36%, 32% 39%, 45% 22%, 41% 24%);
  --seed-offset: 24%;
}

/* Aspen */
.hero-count-loader > span:nth-child(2) {
  --seed-shape: polygon(50% 12%, 59% 13%, 67% 16%, 74% 21%, 80% 27%, 85% 35%, 87% 43%, 88% 52%, 86% 61%, 83% 69%, 78% 76%, 71% 82%, 63% 86%, 54% 88%, 46% 88%, 37% 86%, 29% 82%, 22% 76%, 17% 69%, 14% 61%, 12% 52%, 13% 43%, 15% 35%, 20% 27%, 26% 21%, 33% 16%, 41% 13%);
  --tree-shape: polygon(50% 4%, 61% 7%, 69% 16%, 71% 24%, 80% 26%, 87% 35%, 86% 42%, 92% 50%, 89% 58%, 80% 65%, 69% 69%, 60% 68%, 55% 73%, 55% 97%, 45% 97%, 45% 73%, 40% 68%, 31% 69%, 20% 65%, 11% 58%, 8% 50%, 14% 42%, 13% 35%, 20% 26%, 29% 24%, 31% 16%, 39% 7%);
  --seed-offset: 0%;
}

/* Open-crowned pine */
.hero-count-loader > span:nth-child(3) {
  --seed-shape: polygon(50% 12%, 56% 12%, 62% 14%, 68% 16%, 73% 20%, 77% 24%, 81% 28%, 84% 34%, 86% 39%, 88% 45%, 88% 52%, 87% 58%, 86% 63%, 83% 69%, 79% 74%, 75% 78%, 70% 82%, 65% 85%, 59% 87%, 53% 88%, 47% 88%, 41% 87%, 35% 85%, 30% 82%, 25% 78%, 21% 74%, 17% 69%, 14% 63%, 13% 58%, 12% 52%, 12% 45%, 14% 39%, 16% 34%, 19% 28%, 23% 24%, 27% 20%, 32% 16%, 38% 14%, 44% 12%);
  --tree-shape: polygon(50% 7%, 62% 10%, 70% 17%, 75% 24%, 58% 26%, 55% 32%, 66% 30%, 78% 32%, 86% 39%, 89% 45%, 66% 46%, 55% 42%, 55% 51%, 69% 49%, 80% 51%, 90% 59%, 94% 65%, 72% 66%, 55% 62%, 55% 97%, 45% 97%, 45% 62%, 28% 66%, 6% 65%, 10% 59%, 20% 51%, 31% 49%, 45% 51%, 45% 42%, 34% 46%, 11% 45%, 14% 39%, 22% 32%, 34% 30%, 45% 32%, 42% 26%, 25% 24%, 30% 17%, 38% 10%);
  --seed-offset: -24%;
}

@media (prefers-reduced-motion: no-preference) {
  /* Play the reveal only after the loader is replaced by a number. */
  .home-hero--classic .hero-panel__count:not(:has(*), [data-count-unavailable]) {
    animation: hero-count-reveal 260ms ease-out;
  }

  .home-hero--classic .hero-panel__map-link > :last-child {
    transition: transform 150ms ease-out;
  }

  .home-hero--classic .hero-panel:focus-visible .hero-panel__map-link > :last-child {
    transform: translateX(3px);
  }

  @media (hover: hover) {
    .home-hero--classic .hero-panel:hover .hero-panel__map-link > :last-child {
      transform: translateX(3px);
    }
  }

  .hero-count-loader > span {
    animation: hero-tree-sprout 2.4s cubic-bezier(.42, 0, .58, 1) infinite both;
  }

  .hero-count-loader > span:nth-child(2) { animation-delay: .18s; }
  .hero-count-loader > span:nth-child(3) { animation-delay: .36s; }
}

@keyframes hero-count-reveal {
  from { opacity: .55; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-tree-sprout {
  0%, 100% { clip-path: var(--seed-shape); transform: translateX(var(--seed-offset)) scale(.49, .35); }
  50% { clip-path: var(--tree-shape); transform: translateX(0) scale(.97); }
}

.home-hero--classic .hero-panel__count[data-count-unavailable] {
  font-size: 1.25rem;
  letter-spacing: normal;
  line-height: 1.2;
}

.hero-panel__count[data-count-unavailable] + .hero-panel__count-note {
  display: none;
}

.home-hero--classic .hero-panel__verified strong {
  margin-top: 8px;
  font-size: clamp(17px, 6.2cqi, 22px);
  font-weight: 700;
  line-height: 1.18;
  text-wrap: pretty;
}

.home-hero--classic .hero-panel__map-link {
  gap: 8px;
  margin-top: 14px;
  color: #c7e5ff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

.home-hero--classic .hero-dock {
  grid-row: 4;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.home-hero--classic .hero-dock a {
  --accent: 99, 227, 218;
  align-content: center;
  gap: 2px 13px;
  min-height: 74px;
  padding: 14px clamp(12px, 1.5vw, 23px);
  border-radius: 48px;
}

.home-hero--classic .hero-dock a:nth-child(2) { --accent: 133, 190, 255; }
.home-hero--classic .hero-dock a:nth-child(3) { --accent: 113, 229, 165; }

.home-hero--classic .hero-dock a > .material-symbols-rounded {
  width: 40px;
  height: 40px;
  color: rgb(var(--accent));
  background: rgba(var(--accent), .14);
  box-shadow: inset 0 0 0 1px rgba(var(--accent), .21);
  font-size: 24px;
}

.home-hero--classic .hero-dock strong {
  font-size: clamp(15px, 1.24vw, 19px);
  line-height: 1.25;
}

.home-hero--classic .hero-dock small {
  margin-top: 0;
  color: #d2deec;
  font-size: clamp(12px, 1vw, 14px);
  line-height: 1.4;
}

.home-hero--classic .hero-panel:hover,
.home-hero--classic .hero-dock a:hover {
  background: rgba(14, 29, 48, .75);
  border-color: rgba(209, 230, 255, .38);
  transform: none;
}

.home-hero--classic .hero-panel:focus-visible,
.home-hero--classic .hero-dock a:focus-visible {
  outline: 2px solid #b5daff;
  outline-offset: 3px;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .home-hero--classic :is(.hero-panel, .hero-dock a):focus-visible {
    transform: translateY(-5px);
  }

  @media (hover: hover) {
    .home-hero--classic :is(.hero-panel, .hero-dock a):hover {
      transform: translateY(-5px);
    }
  }
}

@media (min-width: 781px) and (max-width: 1240px) {
  .home-hero--classic .home-hero__content {
    grid-template-columns: minmax(0, 1fr) minmax(280px, .42fr);
    gap: clamp(1rem, 2.6vw, 2rem);
  }

  .home-hero--classic .home-hero__lead {
    margin-top: 1.15rem;
    font-size: clamp(1rem, 1.35vw, 1.16rem);
    line-height: 1.58;
  }
}

@media (max-width: 780px) {
  body.ara-home[data-platform="web"] .home-hero--classic {
    grid-template-rows: auto auto;
    align-content: center;
    gap: 18px;
    padding-top: 78px;
  }

  body.ara-home[data-platform="web"] .home-hero--classic h1 {
    font-size: clamp(2.4rem, 8vw, 3.15rem);
  }

  .home-hero--classic .home-hero__content,
  .home-hero--classic .hero-dock {
    grid-row: auto;
    grid-template-columns: minmax(0, 1fr);
  }

  .home-hero--classic .home-hero__content { gap: 20px; }
  .home-hero--classic .home-hero__lead { margin-top: 12px; font-size: 1rem; }
  .home-hero--classic .hero-panel { max-width: 390px; }
  .home-hero--classic .hero-dock { gap: 8px; }
  .home-hero--classic .hero-dock a { min-height: 62px; }
}
/* Hallmark · component: Field Journal · genre: editorial · theme: Ancient Roots Alberta · v2.0.0 */
/* Hallmark · pre-emit critique: the staggered photographs and their captions carry the field journal layout. */

:root {
  --home-register-font: 'ARA Instrument Sans', Inter, sans-serif;
  --home-register-background: #091424;
  --home-register-text: #f3f7fa;
  --home-register-muted: #bdcbd8;
  --home-register-rule: #36485a;
}

.home-register {
  background: var(--home-register-background);
  color: var(--home-register-text);
  padding-block: clamp(2rem, 4.4vw, 4rem);
  font: 400 1.05rem/1.52 var(--home-register-font);
}

.home-register__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 1.6rem clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  max-width: 81rem;
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 3.75rem);
}

.home-register__title {
  min-width: 0;
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -.038em;
  overflow-wrap: break-word;
  text-wrap: balance;
  scroll-margin-block-start: calc(var(--ara-top-nav-height, 64px) + 1rem);
  transform-origin: left center;
}

.home-register p {
  margin: .45rem 0 0;
  max-width: 65ch;
  color: var(--home-register-muted);
  text-wrap: pretty;
}

.home-register .home-register__lead {
  margin-top: .8rem;
}

.home-register__updates {
  border-top: 1px solid var(--home-register-rule);
  margin-top: 1.5rem;
  padding-top: 1rem;
}

.home-register__updates h3 {
  margin: 0;
  font-size: clamp(1.14rem, 1.6vw, 1.38rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.018em;
  text-wrap: balance;
}

.home-register__updates p + h3 {
  margin-top: 1.1rem;
}

body.ara-home .home-register a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: .18em;
}

body.ara-home .home-register a:hover,
body.ara-home .home-register a:active {
  text-decoration-thickness: .12em;
}

.home-register a:focus-visible {
  outline: 2px solid var(--ara-blue-300);
  outline-offset: 3px;
}

.home-register__photos {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: .8rem;
  align-items: end;
}

.home-register__photos figure {
  margin: 0;
}

.home-register__photos figure:first-child {
  margin-bottom: 2.4rem;
}

.home-register__photos img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: .5rem;
}

.home-register__photos figure + figure img {
  aspect-ratio: 2 / 3;
}

.home-register__photos figcaption {
  margin-top: .45rem;
  color: var(--home-register-muted);
  font-size: .85rem;
}

@media (max-width: 800px) {
  .home-register__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-register__intro {
    max-width: 60ch;
  }

  .home-register__photos {
    width: 100%;
    max-width: 36rem;
  }

  .home-register__photos img {
    aspect-ratio: 6 / 5;
  }

  .home-register__photos figure + figure img {
    aspect-ratio: 1;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .home-register__title[data-reveal="waiting"] {
    opacity: 0;
  }

  .home-register__title[data-reveal="playing"] {
    animation: home-register-reveal 1.35s cubic-bezier(.24, .55, .32, 1) .12s backwards;
  }
}

@keyframes home-register-reveal {
  from { opacity: 0; transform: translateY(7px) scale(.93); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .home-register__photos img {
    transition: transform 0.2s ease;
  }

  .home-register__photos figure:hover img {
    transform: translateY(-5px);
  }
}
/* Shared glass finish for web navigation and public map panels. */
:root {
  --ara-glass-background: rgba(21, 30, 50, 0.68);
  --ara-glass-blur: 14px;
  --ara-glass-border: rgba(255, 255, 255, 0.10);
}
.home-sync-card[hidden] { display: none !important; }
.home-sync-result-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.home-sync-dialog[data-result="error"] .home-sync-totals { display: none; }
.home-sync-card { margin: 0 24px 24px; padding: 16px; background: #30291f; border: 1px solid #61503a; border-radius: 15px; color: #e5edf7; }
.home-sync-card__heading { display: flex; align-items: center; gap: 10px; }
.home-sync-card__heading > .material-symbols-outlined { color: #e5c28f; font-size: 23px; }
.home-sync-card h2 { margin: 0; font-size: 16px; font-weight: 500; line-height: 1.35; letter-spacing: -.025em; }
.home-sync-card__counts { margin: 7px 0 0; color: #c7bda9; font-size: 11px; line-height: 1.6; }
.home-sync-card__counts > span:first-child { color: #e5c28f; }
.home-sync-card__actions { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; margin-top: 15px; }
.home-sync-primary, .home-sync-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid transparent; border-radius: 9px; min-height: 44px; padding: 9px 12px; font-size: 11px !important; line-height: 1.4; font-weight: 600 !important; }
.home-sync-primary { background: #e5c28f; color: #2a2115; }
.home-sync-secondary { background: transparent; border-color: #61503a; color: #e5c28f; }
.home-sync-primary .material-symbols-outlined { font-size: 17px; }
.home-sync-primary:hover { background: #efd09f; }
.home-sync-secondary:hover { background: #ffffff08; }
.home-sync-dialog { color-scheme: dark; position: fixed; width: min(330px, calc(100% - 32px)); max-width: none; max-height: none; overflow: visible; margin: auto; padding: 18px; background: var(--ara-glass-background); backdrop-filter: blur(var(--ara-glass-blur)); -webkit-backdrop-filter: blur(var(--ara-glass-blur)); color: #e5edf7; border: 1px solid var(--ara-glass-border); border-radius: 17px; }
.home-sync-dialog::backdrop { background: rgba(5, 11, 22, .38); }
.home-sync-dialog[open] { display: block; }
.home-sync-dialog:focus { outline: none; }
.home-sync-dialog [hidden] { display: none !important; }
.home-sync-dialog__header { display: flex; align-items: center; gap: 8px; min-height: 22px; padding-right: 27px; }
.home-sync-dialog__header > .material-symbols-outlined { color: #e5c28f; font-size: 21px; flex-shrink: 0; }
.home-sync-dialog h2 { margin: 0; min-width: 0; font-size: 16px; font-weight: 500; letter-spacing: -.025em; line-height: 1.25; }
.home-sync-completed { margin-left: auto; font-size: 10px; color: #e5c28f; white-space: nowrap; }
.home-sync-dialog__close { position: absolute; right: 4px; top: 4px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 10px; background: transparent; color: #b9c5cf; }
.home-sync-dialog__close .material-symbols-outlined { font-size: 18px; }
.home-sync-dial-layout { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.home-sync-dial { position: relative; width: 68px; height: 68px; flex-shrink: 0; }
.home-sync-dial svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.home-sync-dial circle { fill: none; stroke-width: 3; stroke: #344254; }
.home-sync-dial #homeSyncRing { stroke: #e5c28f; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 90; transition: stroke-dashoffset .34s linear; }
.home-sync-dial > strong { position: absolute; inset: 0; display: grid; place-items: center; font-size: 16px; font-weight: 500; letter-spacing: -.04em; color: #e5c28f; }
.home-sync-current { min-width: 0; flex: 1; }
.home-sync-current > strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 500; line-height: 1.5; }
.home-sync-current > p { margin: 3px 0 0; font-size: 11px; line-height: 1.5; color: #b6c4d0; }
.home-sync-current > small { display: block; margin-top: 5px; font-size: 10px; color: #9baec4; }
.home-sync-totals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 16px 0 0; padding-top: 13px; border-top: 1px solid rgba(255, 255, 255, .12); }
.home-sync-totals dt { color: #b6c4d0; font-size: 9px; line-height: 1.5; }
.home-sync-totals dd { margin: 4px 0 0; font-size: 12px; font-weight: 500; line-height: 1.3; white-space: nowrap; }
.home-sync-reminder { display: flex; align-items: center; gap: 6px; margin: 15px 0 0; color: #fca5a5; font-size: 10px; line-height: 1.5; }
.home-sync-reminder .material-symbols-outlined { font-size: 13px; flex-shrink: 0; }
.home-sync-live { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* The upload popup is compact. Browsing the device queue remains a separate view. */
.home-sync-dialog[data-mode="details"] { width: min(480px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
#homeSyncDetails { margin-top: 20px; }
.home-sync-list-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 17px; }
.home-sync-list-heading h3, #homeSyncRealHeading { margin: 0; font-size: 12px; font-weight: 500; }
.home-sync-list-heading > span { color: #9baec4; font-size: 10px; }
.home-sync-tree-list { max-height: min(30dvh, 250px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; margin-top: 4px; padding-right: 8px; }
.home-sync-tree-list:focus-visible { outline: 1px solid #e5c28f; outline-offset: 3px; }
.home-sync-tree { padding: 13px 0; border-bottom: 1px solid #344254; }
.home-sync-tree:last-child { border-bottom: 0; }
.home-sync-tree__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.home-sync-tree h4 { font-size: 13px; font-weight: 500; margin: 0; overflow-wrap: anywhere; }
.home-sync-tree p { margin: 5px 0 0; font-size: 11px; line-height: 1.6; color: #adbdce; }
.home-sync-tree__status { flex-shrink: 0; color: #e5c28f; font-size: 10px; padding-top: 2px; }
.home-sync-tree__steps { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 12px; margin-top: 12px; font-size: 10px; color: #a8b8cb; }
.home-sync-tree__steps > span { display: flex; align-items: center; gap: 5px; }
.home-sync-tree__steps .material-symbols-outlined { font-size: 14px; }
.home-sync-tree__steps .is-done { color: #a1e6dc; }
#homeSyncRealSummary { font-size: 12px; color: #adbdce; line-height: 1.6; margin: 8px 0; }
#homeSyncRealList { max-height: 24dvh; overflow-y: auto; scrollbar-width: thin; }
@media (max-width: 350px) { .home-sync-card__actions { grid-template-columns: 1fr; }.home-sync-card { padding: 14px; }.home-sync-dialog { padding: 15px; }.home-sync-dialog h2 { font-size: 15px; }.home-sync-totals dt { font-size: 8px; }.home-sync-totals dd { font-size: 11px; } }
@media (max-height: 430px) { .home-sync-dialog[data-mode="sync"] { padding: 12px 15px; }.home-sync-dial-layout { margin-top: 10px; }.home-sync-totals { margin-top: 10px; padding-top: 9px; }.home-sync-reminder { margin-top: 10px; } }
@media (min-width: 700px) { .home-sync-card { display: grid; grid-template-columns: minmax(0, 1fr) 330px; column-gap: 24px; align-items: center; }.home-sync-card__actions { grid-column: 2; grid-row: 1 / span 2; margin: 0; }.home-sync-card__note { grid-column: 1 / -1; } }
@media (prefers-reduced-motion: reduce) { .home-sync-dial #homeSyncRing { transition: none; } }

.ara-home .home-sync-card { width: min(42rem, calc(100% - 2rem)); margin: calc(var(--ara-top-nav-height, 64px) + 1rem) auto 1rem; }
.ara-home .home-sync-card .material-symbols-outlined, .ara-home .home-sync-dialog .material-symbols-outlined { font-family: 'Material Symbols Rounded'; }
/* Hallmark · component: banner · genre: modern-minimal · theme: ARA glass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E4 S4 R5 V4 · hierarchy improved by collapsing the notice into one compact bar */
/* Shared glass finish for web navigation and public map panels. */
:root {
  --ara-glass-background: rgba(21, 30, 50, 0.68);
  --ara-glass-blur: 14px;
  --ara-glass-border: rgba(255, 255, 255, 0.10);
}
:root {
  --ara-web-notices-top: calc(var(--ara-top-nav-height, 64px) + 12px);
  --ara-web-notices-min-clearance: 148px;
  --ara-web-notices-clearance: max(
    var(--ara-web-notices-min-clearance),
    calc(var(--ara-web-notices-top) + var(--ara-web-notices-height, 0px) + 12px)
  );
}

html:has(.ara-home .home-account-notices :is(.account-notice, #authActionBanner):not([hidden])),
.ara-home:has(.home-account-notices :is(.account-notice, #authActionBanner):not([hidden])) {
  overflow-x: clip;
  scroll-padding-top: var(--ara-web-notices-clearance);
}

.ara-home.ara-nav-overlay:has(.home-account-notices :is(.account-notice, #authActionBanner):not([hidden])) .home-hero {
  padding-top: var(--ara-web-notices-clearance);
}

.ara-home .home-account-notices {
  position: fixed;
  inset: var(--ara-web-notices-top) 16px auto;
  z-index: 9998;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0;
}

.ara-home .home-account-notices .account-notice {
  gap: 12px;
  padding: 8px 8px 8px 16px;
  border-inline-start: 1px solid var(--ara-notice-border);
  background-color: var(--ara-web-notice-surface, rgba(71, 20, 29, 0.84));
  backdrop-filter: blur(var(--ara-glass-blur));
  -webkit-backdrop-filter: blur(var(--ara-glass-blur));
}

.ara-home .home-account-notices .account-notice--profile {
  --ara-web-notice-surface: var(--ara-glass-background);
}

.ara-home .home-account-notices .account-notice--verification {
  --ara-web-notice-surface: rgba(66, 52, 7, 0.84);
}

.ara-home .home-account-notices .account-notice__icon {
  align-self: center;
  width: 20px;
  height: 20px;
  background-color: transparent;
  font-size: 20px;
}

.ara-home .home-account-notices .account-notice__content {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 12px;
  min-width: 0;
}

.ara-home .home-account-notices .account-notice__content h2 {
  min-width: 0;
  font-size: 0.94rem;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.ara-home .home-account-notices .account-notice__content p {
  margin: 0;
  font-size: 0.875rem;
  overflow-wrap: break-word;
}

.ara-home .home-account-notices .account-notice__action {
  grid-column: auto;
  justify-self: auto;
  padding-inline: 12px;
}

.ara-home .home-account-notices .account-notice__action:focus-visible {
  outline-offset: -3px;
}

.home-account-notices .auth-action-banner {
  position: static;
  justify-self: center;
  width: min(100%, 520px);
  transform: none;
}

.home-account-notices:not(:has(.account-notice:not([hidden]))) .auth-action-banner {
  margin-top: 8px;
}

@media (max-height: 420px) {
  .ara-home .home-account-notices { position: absolute; }
}

@media (max-width: 580px) {
  :root { --ara-web-notices-min-clearance: 188px; }

  .ara-home .home-account-notices .account-notice {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding-inline-start: 12px;
  }

  .ara-home .home-account-notices .account-notice__icon { display: none; }
}

@media (max-width: 380px) {
  .ara-home .home-account-notices { inset-inline: 10px; }
  .ara-home .home-account-notices .account-notice__action {
    max-width: 82px;
    padding-inline: 8px;
  }
}
