/* Shared Custodian chrome, owned by src/components/chrome.rs.
   Explicit component rules from observed layouts; never loaded on legacy chrome.
   Keep page-family typography and geometry outside this file. */
@font-face { font-family: CustodianNavigationIcons; src: url('../fonts/CustodianNavigationIcons.ttf') format('truetype'); font-style: normal; font-weight: 400; }
@font-face { font-family: Poppins; src: url('../fonts/Poppins-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: Poppins; src: url('../fonts/Poppins-SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: Poppins; src: url('../fonts/Poppins-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: Lato; src: url('../fonts/Lato-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
.owned-chrome {
  --chrome-surface: #fff;
  --chrome-text: #111;
  --chrome-muted: #696969;
  --chrome-teal: #5ec3ca;
  /* Sheet tokens are scoped here so page-family themes cannot change chrome. */
  --text-strong: #1a1a1a;
  --primary-teal: #5ec3ca;
  --light-grey: #868686;
  --base-black: #111;
  --custodian-green: #2a979a;
  --text-muted: #b3b3b3;
  --background-default: #fff;
  --border-muted: #e5e5e5;
  color: #1a1a1a;
  font: 400 14px/20px Poppins, Arial, sans-serif;
}
.owned-chrome *, .owned-chrome *::before, .owned-chrome *::after { box-sizing: border-box; }
.owned-chrome a { text-decoration: none; }
:where(.owned-chrome) img { border: 0; max-width: 100%; display: inline-block; vertical-align: middle; }
.owned-chrome [hidden] { display: none !important; }
.owned-chrome a:hover img { transform: none; }
.owned-chrome a:focus-visible, .owned-chrome button:focus-visible, .owned-chrome summary:focus-visible { outline: 3px solid #2a979a; outline-offset: -3px; }
.owned-chrome--header { height: 60px; }
.owned-chrome__desktop, .owned-chrome__mobile { z-index: 1000; background: var(--chrome-surface); font-family: Leto; font-weight: 700; }
.owned-chrome__desktop { position: fixed; inset: 0 0 auto; }
.owned-chrome__mobile { display: none; overflow: visible; }
.owned-chrome__desktop::before, .owned-chrome__desktop::after,
.owned-chrome__mobile::before, .owned-chrome__mobile::after { content: ' '; display: table; grid-area: 1 / 1 / 2 / 2; }
.owned-chrome__desktop::after, .owned-chrome__mobile::after { clear: both; }
.owned-chrome__row { display: flex; justify-content: space-between; width: 100%; max-width: 1440px; margin-inline: auto; padding-left: 20px; padding-right: 10px; }
.owned-chrome__brand { position: relative; float: left; display: flex; flex-direction: column; justify-content: center; min-height: 60px; padding-right: 10px; color: #333; }
.owned-chrome__logo { max-height: 30px; }
.owned-chrome__center { display: flex; flex: 1; justify-content: center; }
.owned-chrome__links { position: relative; float: right; display: flex; flex: 0 auto; justify-content: flex-start; align-items: center; letter-spacing: 3px; text-transform: uppercase; font-weight: 700; }
.owned-chrome__link { position: relative; display: inline-block; vertical-align: top; padding: 20px 8px; margin-inline: auto; flex: 0 auto; color: #222; text-align: center; letter-spacing: 1.2px; font: 600 12px/20px Poppins, sans-serif; }
.owned-chrome__link[aria-current=page] { color: var(--chrome-text); text-decoration: underline; }
.owned-chrome__link[aria-current=location] { color: #1f7a7d; }
.owned-chrome__link[aria-current=location]::after { content: ''; position: absolute; bottom: 12px; left: 8px; right: 8px; height: 2px; background: var(--chrome-teal); }
.owned-chrome__accounts { display: flex; flex: 0 auto; order: 1; justify-content: flex-end; min-width: 228px; text-transform: uppercase; font-weight: 700; }
.owned-chrome__account { display: flex; flex-direction: column; justify-content: center; padding-inline: 10px; text-transform: uppercase; font-weight: 700; }
.owned-chrome__action { display: inline-block; align-self: flex-start; padding: 10px 20px; border: 0; border-radius: 4px; color: #fff; background: #000; text-transform: uppercase; font: 600 .75rem/20px Poppins, sans-serif; letter-spacing: 2px; white-space: nowrap; cursor: pointer; }
.owned-chrome__action--login { color: var(--chrome-text); background: transparent; border-radius: 2px; }
.owned-chrome__expanded { display: none; justify-content: center; position: absolute; top: 60px; width: 100%; min-height: 5px; padding: 16px 32px 0; }
.owned-chrome__features { position: relative; display: none; flex-direction: column; max-width: 928px; min-height: 340px; max-height: calc(100dvh - 100px); overflow: auto; margin-bottom: 40px; padding: 24px; background: var(--chrome-surface); box-shadow: 4px 7px 15px 4px #0003; }
.owned-chrome__desktop.features-open .owned-chrome__expanded { display: flex; }
.owned-chrome__desktop.features-open .owned-chrome__features { display: block; }
.owned-chrome__desktop:not([data-enhanced]):has(.owned-chrome__center:hover, .owned-chrome__center:focus-within, .owned-chrome__expanded:hover, .owned-chrome__expanded:focus-within) .owned-chrome__expanded { display: flex; }
.owned-chrome__desktop:not([data-enhanced]):has(.owned-chrome__center:hover, .owned-chrome__center:focus-within, .owned-chrome__expanded:hover, .owned-chrome__expanded:focus-within) .owned-chrome__features { display: block; }
.owned-chrome__feature-grid { display: grid; grid-template-rows: auto; grid-template-columns: repeat(3, 1fr); grid-auto-columns: 1fr; gap: 16px; align-content: start; }
.owned-chrome__feature { display: flex; flex-direction: column; width: 100%; height: 140px; padding: 16px; }
.owned-chrome__feature:hover { background: #f6f6f6; }
.owned-chrome__feature-link { display: inline-block; max-width: 100%; color: var(--chrome-teal); font-family: Poppins, sans-serif; text-decoration: none; }
.owned-chrome__feature-title { display: flex; margin-bottom: 12px; }
.owned-chrome__feature-icon { width: 24px; height: 24px; }
.owned-chrome__feature-heading { display: flex; flex: 1; flex-direction: column; justify-content: center; margin: 0; padding-left: 14px; color: #1a1a1a; font: 600 14px/24px Poppins, sans-serif; }
.owned-chrome__feature-description { width: 250px; height: 38px; margin: 0 0 12px; padding: 0; color: var(--chrome-muted); font: 400 12px/1.2rem Lato, sans-serif; overflow: hidden; }
.owned-chrome__feature-action { display: flex; align-items: center; }
.owned-chrome__feature-label { color: #333; padding-right: 10px; font-size: 12px; }
.owned-chrome__feature-arrow { width: 16px; height: 16px; }
.owned-chrome__spacer { display: flex; flex: 1; }
.owned-chrome__trigger { display: none; position: relative; float: right; padding: 18px; border: 0; border-radius: 0; background: transparent; color: #1a1a1a; font: 24px/20px Poppins, sans-serif; cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent; }
.owned-chrome__menu-icon { display: block; width: 24px; height: 24px; color: #000; font: 400 24px/1 CustodianNavigationIcons; font-variant: normal; text-transform: none; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.owned-chrome__menu-icon::before { content: "\e602"; }
.owned-chrome--footer { margin-top: 80px; background: var(--chrome-surface); padding-bottom: 60px; border-top: 1px solid #e5e5e5; }
.owned-chrome__footer-row { position: relative; display: flex; max-width: 1440px; min-height: 400px; margin-inline: auto; padding: 100px 40px 0; }
.owned-chrome__footer-brand { flex: 1; align-self: flex-start; }
.owned-chrome__inline-link { display: inline-block; max-width: 100%; }
.owned-chrome__footer-logo { margin-bottom: 10px; position: static; }
.owned-chrome__socials { display: grid; grid-template-rows: auto; grid-template-columns: repeat(4, minmax(30px, 30px)); grid-auto-columns: 1fr; grid-auto-flow: row; gap: 16px; margin-block: 20px; }
.owned-chrome__social-icon { width: 30px; }
.owned-chrome__copyright { color: var(--chrome-muted); font-family: Poppins, sans-serif; font-weight: 400; }
.owned-chrome__stores { display: flex; gap: 16px; padding-top: 20px; }
.owned-chrome__apple-badge { width: 148px; min-width: 148px; height: 50px; }
.owned-chrome__playstore-link { display: inline-block; max-width: 100%; flex: none; min-width: 158px; }
.owned-chrome__playstore-badge { display: flex; object-fit: cover; justify-content: center; align-items: center; width: 158px; height: 48px; }
.owned-chrome__footer-columns { display: flex; flex: 1; justify-content: flex-end; align-self: flex-start; }
.owned-chrome__footer-column { display: flex; flex-direction: column; flex: 0 auto; padding-right: 60px; }
.owned-chrome__footer-link { display: inline-block; max-width: 280px; padding: 8px 0; border: 0; border-radius: 0; color: var(--chrome-text); background: transparent; font-family: Poppins, sans-serif; font-weight: 700; cursor: pointer; }
@media (min-width: 1440px) {
  .owned-chrome__row { max-width: 1920px; padding-left: 40px; padding-right: 20px; }
  .owned-chrome__features { max-width: 1376px; }
  .owned-chrome__feature-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1920px) {
  .owned-chrome__brand { padding-left: 10px; }
  .owned-chrome__row { padding-inline: 0; }
  .owned-chrome__footer-row { max-width: 1920px; padding-left: 60px; }
}
@media (max-width: 991px) {
  .owned-chrome__desktop { display: none; }
  .owned-chrome__mobile { display: block; position: fixed; inset: 0 0 auto; }
  .owned-chrome__row { justify-content: flex-start; align-items: stretch; padding-right: 4px; }
  .owned-chrome__links { background: #fff; order: 0; justify-content: flex-start; padding-top: 10px; padding-bottom: 20px; top: 60px; }
  .owned-chrome__link { display: block; color: #1a1a1a; }
  .owned-chrome__account { font-family: Poppins, sans-serif; font-weight: 600; }
  .owned-chrome__trigger { display: block; flex: 0 auto; order: 1; align-self: center; text-align: left; }
  .owned-chrome__footer-column { flex: 1; padding-right: 0; }
  .owned-chrome__footer-link { flex: 1; }
  .owned-chrome__playstore-link { display: flex; flex: none; justify-content: center; align-items: center; }
  .owned-chrome__link[aria-current=location]::after { display: none; }
}
@media (max-width: 767px) {
  .owned-chrome__brand { padding-left: 10px; }
  .owned-chrome__account { display: none; }
  .owned-chrome__action { display: none; }
  .owned-chrome__link { padding-left: 30px; }
  .owned-chrome__accounts { font-family: Poppins, sans-serif; font-weight: 600; }
  .owned-chrome__footer-row { flex-direction: column; justify-content: flex-start; padding-top: 60px; padding-bottom: 40px; }
  .owned-chrome__footer-brand { align-self: stretch; }
  .owned-chrome__footer-columns { order: -1; align-self: stretch; padding-bottom: 60px; }
  .owned-chrome__footer-link { flex: 0 auto; }
  .owned-chrome__footer-logo { max-width: 80%; }
}
@media (max-width: 479px) {
  .owned-chrome__link { padding-left: 20px; }
  .owned-chrome__row { padding-left: 20px; }
  .owned-chrome__accounts { display: none; }
  .owned-chrome__footer-row { padding-inline: 20px; }
  .owned-chrome__footer-brand { text-align: center; }
  .owned-chrome__footer-logo { max-width: 100%; }
  .owned-chrome__copyright { margin-top: 40px; text-align: center; font-size: 14px; line-height: 1.5rem; }
  .owned-chrome__socials { justify-content: center; }
  .owned-chrome__socials > a { justify-self: center; }
  .owned-chrome__stores { flex-flow: column; }
  .owned-chrome__action { display: block; align-self: auto; width: 100%; text-align: center; justify-content: center; }
  .owned-chrome__action--login { display: flex; }
}
@media (max-width: 760px) { .owned-chrome--footer { margin-top: 48px; padding-bottom: 20px; } }

/* Captured marketing pages share controls, retaining their genuine variant. */
.owned-chrome--captured-footer .owned-chrome__footer-row { margin-top: 40px; }
.owned-chrome__desktop[data-custodian-variant=captured] .owned-chrome__feature-description { text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.owned-chrome__desktop[data-custodian-variant=captured] .owned-chrome__features { will-change: opacity; }
