:root {
  color-scheme: light;
  --page: #f6f8f6;
  --ink: #17241d;
  --secondary: #4e5e53;
  --muted: #5b6a60;
  --line: #dce5dd;
  --white: #fff;
  --green: #237446;
  --green-dark: #195b37;
  --lime: #bef75a;
  --surface-green: #e8f4e9;
  --shell: 73rem;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 1rem; }
body { margin: 0; color: var(--ink); background: var(--page); line-height: 1.5; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, dl, dd { margin: 0; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
button { color: inherit; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid #2c8054; outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; z-index: 5; top: .75rem; left: 1rem; padding: .6rem .85rem; color: var(--white); background: var(--green-dark); border-radius: .4rem; transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.shell { width: min(var(--shell), calc(100% - 2rem)); margin-inline: auto; }
.icon {
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
  background: currentColor;
  mask: var(--icon) center / contain no-repeat;
  vertical-align: middle;
}

.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { display: grid; grid-template-columns: 1fr auto; grid-template-rows: minmax(3rem, auto) auto; min-height: 4.15rem; align-items: center; }
.brand { display: inline-flex; align-items: center; justify-self: start; gap: .55rem; font-size: 1.52rem; font-weight: 800; letter-spacing: -.07em; }
.brand-mark { display: grid; place-items: center; width: 2.15rem; height: 2.15rem; border-radius: .64rem; background: var(--lime); color: #1b2d1a; }
.brand-mark .icon { width: 1.58rem; height: 1.58rem; }
.brand-accent { color: var(--green); }
.site-nav { display: flex; grid-row: 2; grid-column: 1 / -1; gap: 1.55rem; }
.site-nav a { display: inline-flex; align-items: center; font-weight: 650; font-size: .9rem; color: var(--secondary); min-height: 2.75rem; position: relative; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--green-dark); }
.site-nav a[aria-current="page"]::after { content: ""; position: absolute; height: 2px; bottom: 0; left: 0; right: 0; background: var(--green); border-radius: 3px; }
.preview-label { grid-column: 2; grid-row: 1; justify-self: end; display: inline-flex; align-items: center; gap: .32rem; padding: .32rem .53rem; background: #f1f6f1; border: 1px solid #e2ebe3; color: #465b49; border-radius: 2rem; font-size: .78rem; font-weight: 650; white-space: nowrap; }
.preview-label .icon { width: .94rem; height: .94rem; }

.hero { margin-top: 1.1rem; position: relative; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; overflow: hidden; isolation: isolate; border-radius: 1.18rem; background: #14221a; color: var(--white); }
.hero-image { position: absolute; inset: 0 0 0 auto; width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%; z-index: -2; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, #101d16 2%, #101d16ed 40%, #101d16ab 100%); z-index: -1; }
.hero-content { padding: 1.65rem 1.05rem 1.5rem; }
.hero h1 { font-size: clamp(2.34rem, 8.25vw, 3.65rem); line-height: 1.055; letter-spacing: -.057em; font-weight: 800; }
.hero h1 span { color: var(--lime); }
.hero-content > p { font-size: 1rem; line-height: 1.52; color: #d7e2d9; margin: .82rem 0 1.13rem; max-width: 31rem; }
.hero-search { display: flex; align-items: center; gap: .45rem; padding: .25rem; min-height: 3.1rem; border-radius: .68rem; background: var(--white); color: var(--ink); max-width: 31.75rem; }
.hero-search > .icon { color: #5f7265; margin-left: .42rem; width: 1.2rem; height: 1.2rem; }
.hero-search input { flex: 1; min-width: 0; border: 0; padding: .42rem 0; background: transparent; color: var(--ink); font-size: 1rem; }
.hero-search input::placeholder { color: #596960; opacity: 1; }
.hero-search input:focus { outline: none; }
.hero-search:focus-within { outline: 2px solid var(--lime); outline-offset: 3px; }
.hero-search button { border: 0; border-radius: .48rem; font-weight: 750; background: var(--lime); padding: .56rem .82rem; color: #1a2c18; min-height: 2.65rem; }
.hero-search button:hover { background: #d4ff8f; }
.hero button:focus-visible { outline-color: #e2ffb5; }
.hero-search button:focus-visible { outline-color: #246335; outline-offset: -3px; }
.search-suggestions { display: flex; align-items: center; gap: .35rem; min-width: 0; flex-wrap: wrap; margin-top: .45rem; }
.search-suggestions > span { font-size: .87rem; color: #c3d0c6; margin-right: .17rem; }
.search-suggestions button { background: transparent; color: #e3eee5; border: 0; padding: .48rem .3rem; min-height: 2.75rem; font-size: .88rem; font-weight: 600; text-decoration: underline; text-underline-offset: .23em; text-decoration-color: #a4baaa; }
.search-suggestions button:hover { color: var(--lime); }

.categories { margin-top: 1.55rem; }
.categories h2 { font-size: 1.2rem; font-weight: 750; letter-spacing: -.024em; margin-bottom: .65rem; }
.category-list { display: flex; align-items: center; flex-wrap: wrap; gap: .48rem; }
.category-pill { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 2.75rem; padding: .45rem .74rem; border: 1px solid var(--line); background: var(--white); white-space: nowrap; border-radius: .65rem; color: #35443a; font-weight: 650; font-size: .88rem; }
.category-pill .icon { width: 1.1rem; height: 1.1rem; color: #557060; }
.category-pill:hover { border-color: #a2b8a6; background: #fcfefb; }
.category-pill[aria-current="page"] { background: #213a2d; border-color: #213a2d; color: #fff; }
.category-pill[aria-current="page"] .icon { color: var(--lime); }

.catalog { margin: 1.75rem 0 2.55rem; }
.catalog-heading { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: .65rem; margin-bottom: 1rem; }
.catalog-heading h2, .related h2 { font-size: clamp(1.62rem, 4vw, 2.12rem); font-weight: 780; line-height: 1.12; letter-spacing: -.045em; }
.catalog-heading p { color: var(--muted); margin-top: .3rem; font-size: .93rem; }
.sort-control { display: flex; align-items: center; gap: .48rem; font-size: .88rem; color: var(--secondary); white-space: nowrap; }
.select-wrap { position: relative; }
.sort-control select { appearance: none; min-height: 2.75rem; border: 1px solid var(--line); border-radius: .58rem; background: var(--white); color: #304137; padding: .45rem 1.9rem .45rem .65rem; font-weight: 650; }
.select-wrap .icon { pointer-events: none; position: absolute; top: 50%; transform: translateY(-50%); right: .5rem; width: .96rem; height: .96rem; }
.filter-summary { display: flex; align-items: center; flex-wrap: wrap; gap: .25rem .75rem; margin: -.4rem 0 .7rem; font-size: .93rem; color: var(--secondary); }
#active-query { overflow-wrap: anywhere; }
.clear-link { border: 0; text-decoration: underline; text-underline-offset: .2em; background: transparent; color: var(--green-dark); font-weight: 650; padding: .4rem .15rem; min-height: 2.75rem; }

.app-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: .78rem; }
.app-card { display: flex; flex-direction: column; height: 100%; padding: 1rem 1.08rem .82rem; background: var(--white); border: 1px solid var(--line); border-radius: .92rem; }
.app-card:hover, .app-card:focus-visible { border-color: #88b493; box-shadow: 0 4px 15px #203c2510; }
.app-top { display: flex; align-items: center; gap: .73rem; }
.app-icon { display: grid; place-items: center; flex: 0 0 auto; width: 3.05rem; height: 3.05rem; border-radius: .82rem; color: #fff; background: linear-gradient(150deg, #ffffff19, #11131c12), var(--app-color); box-shadow: inset 0 0 0 1px #18232416; }
.app-icon .icon { width: 1.62rem; height: 1.62rem; }
.app-top h3 { color: var(--ink); font-size: 1.1rem; line-height: 1.15; letter-spacing: -.02em; font-weight: 760; }
.app-card:hover h3 { color: var(--green-dark); }
.app-category { color: var(--muted); font-size: .85rem; margin-top: .16rem; display: block; }
.app-card > p { margin: .68rem 0 .7rem; color: #46574c; font-size: .92rem; line-height: 1.43; }
.app-meta { display: flex; flex-wrap: wrap; column-gap: .58rem; row-gap: .3rem; align-items: center; padding-top: .64rem; margin-top: auto; border-top: 1px solid #edf0ec; color: #526259; font-size: .82rem; }
.app-meta span { display: inline-flex; gap: .17rem; align-items: center; }
.app-meta > span:first-child { color: #254d32; background: #eef5ed; padding: .05rem .35rem; border-radius: .3rem; font-weight: 650; }
.app-meta > span:last-child { margin-left: auto; }
.app-meta .icon { width: 1rem; height: 1rem; }

.catalog-notice { margin-top: 1.5rem; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .4rem .75rem; padding: .85rem; background: #edf5ee; border: 1px solid #dbe9de; border-radius: .88rem; }
.notice-icon, .empty-icon { display: grid; place-items: center; flex: 0 0 auto; width: 2.45rem; height: 2.45rem; border-radius: .69rem; color: #256c41; background: #def0df; }
.notice-icon .icon, .empty-icon .icon { width: 1.38rem; height: 1.38rem; }
.catalog-notice strong { font-size: .98rem; }
.catalog-notice p { font-size: .88rem; color: var(--secondary); }
.catalog-notice .text-link { grid-column: 2; justify-self: start; }
.text-link { display: inline-flex; min-height: 2.75rem; justify-content: center; align-items: center; color: var(--green-dark); text-decoration: underline; text-underline-offset: .2em; text-decoration-color: #7f9d88; font-size: .92rem; font-weight: 700; }
.text-link:hover { color: #123f25; text-decoration-color: currentColor; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: .45rem .85rem; border: 1px solid transparent; border-radius: .55rem; font-weight: 700; font-size: .92rem; }
.button-light { color: var(--green-dark); background: #e9f4e9; border-color: #d5e7d8; }
.button-light:hover { background: #dceedd; }
.empty-state { display: grid; justify-items: center; text-align: center; gap: .45rem; padding: 2rem 1rem; border: 1px dashed #cad9cd; background: #fcfefc; border-radius: .95rem; }
.empty-state p { color: var(--secondary); }
.empty-state .button { margin-top: .5rem; }

.site-footer { border-top: 1px solid var(--line); background: #fff; padding: 1.2rem 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .65rem 1rem; }
.footer-inner p { color: var(--muted); font-size: .85rem; margin-top: .45rem; }

.interior { padding-top: 1.1rem; padding-bottom: 2.75rem; }
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; color: var(--muted); font-size: .9rem; margin-bottom: .65rem; }
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.breadcrumbs a:hover { text-decoration: underline; color: var(--green-dark); }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 650; }
.detail-hero, .guide-hero { padding: 1.15rem; background: linear-gradient(100deg, #17291e, #213b2b); border-radius: 1rem; color: #fff; }
.detail-identity { display: flex; align-items: center; gap: 1rem; }
.app-icon-large { width: 4.3rem; height: 4.3rem; border-radius: 1.1rem; }
.app-icon-large .icon { width: 2.45rem; height: 2.45rem; }
.detail-category { color: var(--lime); font-size: .87rem; font-weight: 700; }
.detail-hero h1, .guide-hero h1 { font-size: clamp(2.05rem, 6vw, 3.35rem); line-height: 1.05; letter-spacing: -.05em; font-weight: 790; margin: .2rem 0 .28rem; overflow-wrap: anywhere; }
.detail-identity p { color: #d1dfd4; font-size: .88rem; }
.detail-summary { margin: 1rem 0 .85rem; color: #edf6ed; }
.detail-quick { display: flex; flex-wrap: wrap; gap: .4rem; }
.detail-quick > span { display: inline-flex; align-items: center; gap: .22rem; padding: .3rem .52rem; font-size: .86rem; color: #e4f2e6; background: #ffffff12; border: 1px solid #ffffff26; border-radius: .43rem; }
.detail-quick .icon { width: 1rem; height: 1rem; }
.detail-nav { display: flex; gap: 0 .9rem; flex-wrap: wrap; margin: .62rem 0 1rem; border-bottom: 1px solid var(--line); }
.detail-nav a { display: flex; align-items: center; min-height: 2.8rem; font-size: .92rem; color: var(--green-dark); font-weight: 690; }
.detail-nav a:hover { text-decoration: underline; text-underline-offset: .2em; }
.detail-layout, .detail-primary, .detail-secondary { display: grid; gap: .86rem; align-content: start; min-width: 0; }
.panel { min-width: 0; padding: 1rem; border: 1px solid var(--line); background: #fff; border-radius: .9rem; }
.panel h2 { font-size: 1.24rem; line-height: 1.22; font-weight: 760; letter-spacing: -.025em; }
.panel p { margin-top: .55rem; color: var(--secondary); }
.panel-heading { display: flex; justify-content: space-between; align-items: center; gap: .45rem; }
.facts { margin-top: .68rem; }
.facts > div { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: .55rem; padding: .53rem 0; border-bottom: 1px solid #edf1ed; font-size: .88rem; }
.facts > div:last-child { border: 0; padding-bottom: 0; }
.facts dt { color: var(--muted); }
.facts dd { font-weight: 650; overflow-wrap: anywhere; }
.facts code { font-size: .81rem; }
.tag { display: inline-flex; width: max-content; padding: .17rem .43rem; background: #edf3ed; color: #3f5d49; font-size: .78rem; font-weight: 720; border-radius: .32rem; }
.tag-green { background: #e0f4e2; color: #245e39; }
.version-list { display: grid; gap: .5rem; margin-top: .8rem; }
.release { border: 1px solid #e3ebe3; border-radius: .6rem; overflow: clip; }
.release summary { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .23rem .6rem; padding: .65rem; min-height: 2.85rem; background: #f7faf7; list-style: none; cursor: pointer; }
.release summary::-webkit-details-marker { display: none; }
.release summary:hover { background: #edf5ed; }
.release summary:focus-visible { outline-offset: -3px; }
.release-name, .release-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem; }
.release-meta { grid-row: 2; grid-column: 1; color: var(--muted); font-size: .84rem; }
.release-meta span + span, .release-meta time + span { border-left: 1px solid #ccd8cf; padding-left: .45rem; }
.release summary > .icon { color: var(--green); grid-row: 1 / 3; grid-column: 2; }
.release[open] summary > .icon { transform: rotate(180deg); }
.release-body { padding: .75rem; border-top: 1px solid #e3ebe3; }
.release-body p { margin: 0; font-size: .93rem; }
.source-panel { background: #f9fcf9; }
.source-panel .text-link { margin-top: .45rem; }
.related { margin-top: 1.5rem; }
.related h2 { font-size: 1.43rem; margin-bottom: .75rem; }
.guide-hero .notice-icon { margin-bottom: .7rem; }
.guide-hero p { color: #d6e4d9; max-width: 37rem; margin-top: .65rem; }
.guide-grid { display: grid; gap: .86rem; margin-top: 1rem; }
.guide-back { margin-top: 1rem; }

@media (max-width: 27rem) {
  .sort-control > span:first-child { display: none; }
  .hero-search input::placeholder { font-size: .84rem; }
}

@media (max-width: 22rem) {
  .hero h1 { font-size: 2rem; }
  .hero-search button { padding-inline: .55rem; }
  .search-suggestions { gap: .18rem; }
  .search-suggestions button { padding-inline: .18rem; font-size: .83rem; }
}

@media (min-width: 38rem) {
  .shell { width: min(var(--shell), calc(100% - 3rem)); }
  .hero { margin-top: 1.65rem; }
  .hero-content { padding: 2.2rem 1.8rem 1.95rem; }
  .hero-image { width: 76%; object-position: 57% 50%; }
  .hero-overlay { background: linear-gradient(90deg, #101d16 24%, #101d16bc 53%, #101d1638 100%); }
  .category-list { gap: .57rem; }
  .app-grid, .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-notice { grid-template-columns: auto 1fr auto; padding: .9rem 1rem; }
  .catalog-notice .text-link { grid-column: auto; }
  .detail-hero, .guide-hero { padding: 1.65rem; }
  .panel { padding: 1.25rem; }
  .detail-nav { gap: 0 1.25rem; }
}

@media (min-width: 54rem) {
  .header-inner { min-height: 4.45rem; grid-template-columns: 1fr auto 1fr; grid-template-rows: 1fr; }
  .site-nav { grid-column: 2; grid-row: 1; gap: 2.05rem; align-self: stretch; }
  .preview-label { grid-column: 3; padding: .35rem .7rem; }
  .hero { min-height: 22.4rem; margin-top: 1.85rem; border-radius: 1.35rem; }
  .hero-content { padding: 2.15rem 2.75rem 1.85rem; }
  .hero h1 { font-size: clamp(3.62rem, 5.25vw, 4.4rem); }
  .hero-content > p { margin-top: .88rem; margin-bottom: 1.2rem; max-width: 28rem; font-size: 1.05rem; }
  .hero-image { width: 61%; object-position: 54% 50%; }
  .hero-overlay { background: linear-gradient(90deg, #101d16 32%, #101d16fa 41%, #101d1677 59%, #101d1600 77%); }
  .hero-search { padding: .27rem; min-height: 3.35rem; gap: .64rem; }
  .hero-search > .icon { margin-left: .57rem; }
  .hero-search button { padding-inline: 1.02rem; }
  .search-suggestions { gap: .47rem; }
  .categories { margin-top: 1.8rem; }
  .category-list { gap: .6rem; }
  .category-pill { padding-inline: .85rem; }
  .catalog { margin-top: 1.85rem; margin-bottom: 3.2rem; }
  .app-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .92rem; }
  .app-card { padding: 1.06rem 1.16rem .94rem; }
  .detail-layout { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 1rem; }
  .detail-hero, .guide-hero { padding: 1.85rem 2.15rem; }
  .detail-primary, .detail-secondary { gap: 1rem; }
  .app-icon-large { width: 5.3rem; height: 5.3rem; border-radius: 1.32rem; }
  .app-icon-large .icon { width: 2.8rem; height: 2.8rem; }
  .release summary { grid-template-columns: auto 1fr auto; }
  .release-meta { grid-row: 1; grid-column: 2; justify-content: end; }
  .release summary > .icon { grid-row: 1; grid-column: 3; }
}

.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 1rem; }
.analytics-settings { border: 0; padding: 0; background: transparent; }
.analytics-panel {
  position: fixed;
  z-index: 4;
  right: 1rem;
  bottom: max(1rem, env(safe-area-inset-bottom));
  width: min(24rem, calc(100% - 2rem));
  padding: .95rem 1rem;
  border: 1px solid #cbdccc;
  border-radius: .85rem;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 5px 22px #17241d24;
}
.analytics-panel h2 { font-size: 1.05rem; }
.analytics-panel p { margin-top: .25rem; font-size: .9rem; color: var(--secondary); }
.analytics-panel .analytics-privacy { justify-content: flex-start; font-size: .86rem; }
.analytics-actions { display: flex; flex-wrap: wrap; gap: .45rem; }
.analytics-actions .button { flex: 1; }

.chart-context a, .inline-link { color: var(--green-dark); text-decoration: underline; text-underline-offset: .18em; }
.chart-context a { white-space: nowrap; }
.detail-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem; }
.store-button { gap: .35rem; color: #1a2c18; background: var(--lime); }
.store-button:hover { background: #d4ff8f; }
.store-button:focus-visible { outline-color: #e2ffb5; }

.app-art { display: block; object-fit: cover; background: var(--white); }

.featured-guide { margin-top: 1.25rem; }
.spaced-detail { margin-top: 1.1rem; }
.release-scroll { overflow-x: auto; }
.release-table { width: 100%; border-collapse: collapse; text-align: left; font-size: .92rem; }
.release-table th, .release-table td { padding: .55rem .65rem; border-bottom: 1px solid var(--line); }
.release-table thead th { white-space: nowrap; color: var(--secondary); }
.release-table tbody th code { white-space: nowrap; }
.catalog-lookup { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1rem 0; }
.catalog-lookup input { flex: 1 1 13rem; min-width: 0; }
.catalog-lookup input, .admin-form input:not([type=checkbox]), .admin-form select, .admin-form textarea { padding: .58rem .68rem; border: 1px solid var(--line); border-radius: .5rem; background: var(--white); color: var(--ink); }
.pagination { margin-top: 1.1rem; }
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: .75rem; margin: 1rem 0; }
.admin-stats strong { font-size: 1.5rem; }
.import-panel { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .8rem; }
.admin-form { margin-top: .8rem; display: grid; gap: .65rem; }
.admin-form label:not(.check-label) { display: grid; gap: .25rem; font-size: .94rem; font-weight: 600; }
.admin-form textarea { resize: vertical; font: inherit; }
.check-label { display: flex; align-items: center; gap: .35rem; }
.admin-table th code { display: block; font-size: .75rem; white-space: normal; color: var(--secondary); overflow-wrap: anywhere; }
.admin-status { margin-top: .8rem; color: var(--green-dark); }
.admin-signin .button { margin-top: .8rem; }
