/* YardMate floating glass navbar (adapted from the "glassy navbar" React project) */
html { scroll-padding-top: 84px; }
.gn-wrap { position: fixed; top: 12px; left: 0; right: 0; z-index: 50; display: flex; flex-direction: column; align-items: center; padding: 0 max(12px, env(safe-area-inset-left, 0px)); pointer-events: none; }
.gn-space { height: 84px; }
.gn-bar {
  --mx: 50%; --spot: 0;
  pointer-events: auto; position: relative; width: 100%; max-width: 960px; min-height: 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 8px 8px 8px 16px; border-radius: 16px;
  background: rgba(14, 28, 21, .84); color: #fff;
  -webkit-backdrop-filter: blur(26px) saturate(180%); backdrop-filter: blur(26px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 10px 30px -12px rgba(10, 30, 18, .45);
  font-family: var(--body, Figtree, system-ui, sans-serif);
  transition: max-width .45s cubic-bezier(.16,1,.3,1), padding .38s cubic-bezier(.16,1,.3,1), border-color .25s, border-radius .38s;
  animation: gn-in .85s cubic-bezier(.16,1,.3,1) backwards;
}
.gn-bar:hover { border-color: rgba(255, 255, 255, .24); max-width: 980px; }
.gn-wrap.is-scrolled .gn-bar { max-width: 900px; padding: 5px 6px 5px 14px; border-radius: 14px; }
.gn-wrap.is-scrolled .gn-bar:hover { max-width: 920px; }
@keyframes gn-in { from { clip-path: inset(0 50% 0 50% round 16px); opacity: 0; transform: translateY(-10px); } to { clip-path: inset(0 0 0 0 round 16px); opacity: 1; transform: none; } }
/* shiny edge that follows the mouse */
.gn-shine { position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(160px 40px at var(--mx) 0, #fff 0%, rgba(255,255,255,.9) 25%, rgba(255,255,255,.2) 55%, transparent 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: var(--spot); transition: opacity .25s; }
.gn-brand, .gn-links, .gn-right { position: relative; z-index: 2; }
.gn-brand { display: inline-flex; align-items: center; gap: 9px; color: #fff; text-decoration: none; flex: none; }
.gn-brand svg { width: 26px; height: 26px; flex: none; }
.gn-brand b { font-family: var(--display, "Bricolage Grotesque", system-ui, sans-serif); font-size: 18px; font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.gn-brand small { font-size: 10px; font-weight: 800; letter-spacing: .08em; padding: 3px 6px; border-radius: 5px; background: rgba(255,255,255,.12); color: rgba(255,255,255,.85); line-height: 1; }
.gn-brand small.pro { background: var(--gold, #f2b63a); color: #1d1a0b; }
.gn-links { display: flex; align-items: center; gap: 6px; min-width: 0; list-style: none; margin: 0; padding: 0; }
.gn-links li { will-change: transform; transform-origin: center; }
.gn-links a { display: inline-block; padding: 7px 9px; font-size: 14px; font-weight: 600; color: rgba(226, 236, 230, .82); text-decoration: none; white-space: nowrap; transition: color .2s; }
.gn-links a:hover, .gn-links a:focus-visible, .gn-links a[aria-current] { color: #fff; }
.gn-links a span { position: relative; }
.gn-links a span::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; border-radius: 99px; background: #fff; box-shadow: 0 1px 6px rgba(255,255,255,.7);
  transform: scaleX(0); transform-origin: left; opacity: 0; transition: transform .3s cubic-bezier(.16,1,.3,1), opacity .2s; }
.gn-links a:hover span::after, .gn-links a:focus-visible span::after, .gn-links a[aria-current] span::after { transform: scaleX(1); opacity: 1; }
.gn-links a:focus-visible, .gn-right a:focus-visible, .gn-menu:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 8px; }
.gn-right { display: flex; align-items: center; gap: 6px; flex: none; }
.gn-ghost, .gn-cta { display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 11px; font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background .2s, border-color .2s, transform .15s; }
.gn-ghost { color: #fff; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); }
.gn-ghost:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.3); }
.gn-cta { color: #1d1a0b; background: var(--gold, #f2b63a); border: 1px solid var(--gold, #f2b63a); overflow: hidden; }
.gn-cta:hover { filter: brightness(1.06); }
.gn-cta:active, .gn-ghost:active { transform: translateY(1px); }
.gn-cta .ch { display: inline-block; white-space: pre; }
.gn-cta.wave .ch { animation: gn-wave .5s cubic-bezier(.16,1,.3,1) both; }
@keyframes gn-wave { 0% { transform: none; } 40% { transform: translateY(-4px); } 100% { transform: none; } }
.gn-menu { display: none; width: 38px; height: 38px; border-radius: 11px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.07); color: #fff; cursor: pointer; align-items: center; justify-content: center; }
.gn-menu svg { width: 20px; height: 20px; }
.gn-drawer { pointer-events: auto; width: 100%; max-width: 960px; margin-top: 8px; padding: 8px; border-radius: 16px; display: grid; gap: 2px;
  background: rgba(14, 26, 20, .86); -webkit-backdrop-filter: blur(26px) saturate(180%); backdrop-filter: blur(26px) saturate(180%); border: 1px solid rgba(255,255,255,.14); }
.gn-drawer[hidden] { display: none; }
.gn-drawer a { color: #fff; text-decoration: none; font-weight: 600; font-size: 16px; padding: 12px 14px; border-radius: 10px; }
.gn-drawer a:hover { background: rgba(255,255,255,.08); }
.gn-drawer .gn-ghost { justify-content: center; margin-top: 6px; }
@media (max-width: 940px) { .gn-links { display: none; } .gn-menu { display: inline-flex; }}
@media (max-width: 480px) { .gn-right .gn-ghost { display: none; } .gn-brand small { display: none; } .gn-cta { padding: 0 12px; }}
@media (prefers-reduced-motion: reduce) { .gn-bar { animation: none; } .gn-cta.wave .ch { animation: none; } .gn-bar, .gn-links a span::after { transition: none; }}
@media print { .gn-wrap, .gn-space { display: none; }}
@keyframes gn-rail-in { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: none; } }
.gn-glow { position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 3;
  background: radial-gradient(180px 140px at var(--mx) var(--my), #fff 0%, rgba(255,255,255,.85) 22%, rgba(255,255,255,.18) 55%, transparent 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: var(--spot); transition: opacity .25s; }

/* company-branded bar on the resident request page */
.gn-narrow .gn-bar, .gn-narrow .gn-bar:hover, .gn-narrow.is-scrolled .gn-bar, .gn-narrow.is-scrolled .gn-bar:hover { max-width: 792px; }
.gn-co { display: grid; min-width: 0; }
.gn-co b { font-family: var(--display, system-ui); font-size: 16px; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gn-co span { font-size: 12px; color: rgba(255,255,255,.65); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gn-narrow .gn-brand { min-width: 0; flex: 1 1 auto; }
@media (max-width: 520px) { .gn-co span { display: none; }}

/* ---------- loading screen: the sprout grows while the dashboard opens ---------- */
.gn-load { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; align-content: center; gap: 18px; color: #15241b;
  background: radial-gradient(700px 520px at 50% 40%, rgba(111,181,122,.35), transparent 65%), radial-gradient(600px 500px at 85% 90%, rgba(242,182,58,.18), transparent 60%), radial-gradient(600px 500px at 10% 100%, rgba(120,180,230,.18), transparent 60%), #f2f6ef;
  transition: opacity .45s ease, visibility .45s; font-family: var(--body, Figtree, system-ui, sans-serif); }
.gn-load.out { opacity: 0; visibility: hidden; }
.gn-load svg { width: 132px; height: 132px; overflow: visible; }
.gn-load .soil { stroke: rgba(21,36,27,.18); stroke-width: 4; stroke-linecap: round; transform-origin: 60px 102px; animation: gl-soil .45s ease-out both; }
.gn-load .stem { stroke: #1f6342; stroke-width: 9; stroke-linecap: round; fill: none; stroke-dasharray: 46; stroke-dashoffset: 46; animation: gl-stem .7s .25s cubic-bezier(.3,.7,.3,1) forwards; }
.gn-load .lf { fill: #1f6342; transform: scale(0); opacity: 0; }
.gn-load .lf.l { transform-origin: 60px 66px; animation: gl-leaf .6s .8s cubic-bezier(.2,1.5,.4,1) forwards; }
.gn-load .lf.r { transform-origin: 60px 58px; animation: gl-leaf .6s 1.0s cubic-bezier(.2,1.5,.4,1) forwards; }
.gn-load .plant { transform-origin: 60px 100px; animation: gl-sway 1.6s 1.5s ease-in-out infinite alternate; }
.gn-load .glow { fill: rgba(111,181,122,.28); filter: blur(8px); transform-origin: 60px 70px; animation: gl-glow 1s 1.1s ease-out both; }
.gn-load .word { font-family: var(--display, "Bricolage Grotesque", system-ui, sans-serif); font-size: 30px; font-weight: 700; letter-spacing: -.02em; opacity: 0; transform: translateY(8px); animation: gl-up .5s 1.15s ease-out forwards; }
.gn-load .sub { font-size: 14px; color: #56685b; opacity: 0; animation: gl-up .5s 1.35s ease-out forwards; margin-top: -10px; }
.gn-load .dots i { display: inline-block; width: 6px; height: 6px; margin: 0 3px; border-radius: 50%; background: #1f6342; opacity: .3; animation: gl-dot 1s infinite; }
.gn-load .dots i:nth-child(2) { animation-delay: .15s; } .gn-load .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes gl-soil { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes gl-stem { to { stroke-dashoffset: 0; } }
@keyframes gl-leaf { to { transform: scale(1); opacity: 1; } }
@keyframes gl-sway { from { transform: rotate(-2.5deg); } to { transform: rotate(2.5deg); } }
@keyframes gl-glow { from { transform: scale(.2); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes gl-up { to { opacity: 1; transform: none; } }
@keyframes gl-dot { 0%, 100% { opacity: .3; transform: none; } 50% { opacity: 1; transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .gn-load * { animation-duration: .01s !important; animation-delay: 0s !important; }}

/* Appearance picker in Settings */
.theme-pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.theme-pick button { display: grid; gap: 8px; padding: 8px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font: inherit; font-weight: 600; font-size: 13.5px; cursor: pointer; text-align: center; }
.theme-pick button[aria-pressed="true"] { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.theme-pick .sw { height: 58px; border-radius: 8px; border: 1px solid rgba(0,0,0,.08); display: grid; grid-template-columns: 30% 1fr; gap: 4px; padding: 5px; }
.theme-pick .sw i, .theme-pick .sw b { border-radius: 4px; display: block; }
.theme-pick .sw.light { background: linear-gradient(135deg, #e3efe2, #f6efd9); } .theme-pick .sw.light i { background: rgba(255,255,255,.85); } .theme-pick .sw.light b { background: rgba(255,255,255,.7); }
.theme-pick .sw.dark { background: linear-gradient(135deg, #12301f, #0a140f); } .theme-pick .sw.dark i { background: rgba(255,255,255,.1); } .theme-pick .sw.dark b { background: rgba(255,255,255,.06); }
.theme-pick .sw.auto { background: linear-gradient(135deg, #e3efe2 0 50%, #0f2418 50% 100%); } .theme-pick .sw.auto i { background: rgba(255,255,255,.6); } .theme-pick .sw.auto b { background: rgba(255,255,255,.25); }
@media (max-width: 420px) { .theme-pick { grid-template-columns: 1fr 1fr 1fr; gap: 6px; } .theme-pick button { font-size: 12px; }}
/* One YardMate wordmark everywhere */
.gn-brand b{font-family:Archivo,Figtree,system-ui,-apple-system,"Segoe UI",sans-serif;font-weight:900;letter-spacing:-.04em}
