:root {
  color-scheme: light;
  --ink: #182720;
  --muted: #637067;
  --green: #17623b;
  --line: #dce2d8;
  --paper: #f5f6ee;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; }
header, footer { max-width: 1120px; margin: auto; padding: 28px 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
header { border-bottom: 1px solid var(--line); }
.brand { text-decoration: none; font-size: 25px; font-weight: 750; letter-spacing: -1px; }
.brand-dot { color: #9aca4e; font-size: 15px; margin-inline-start: 8px; }
.team, .muted { color: var(--muted); }
.team { font-size: 13px; }
main { max-width: 1000px; margin: 65px auto 100px; padding: 0 36px; }
main.delivery { margin-top: 28px; }
.eyebrow { color: var(--green); font-size: 13px; font-weight: 600; }
h1 { font-size: clamp(52px, 8vw, 86px); line-height: 1.04; letter-spacing: -4px; font-weight: 650; margin: 20px 0 23px; }
.intro { font-size: 19px; color: var(--muted); margin-bottom: 40px; }
.empty, .app-card, .build, .filters { border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.app-card { display: flex; align-items: center; gap: 22px; padding: 30px; }
.app-info { flex: 1; min-width: 0; }
.app-card h2 { margin: 2px 0; font-size: 28px; letter-spacing: -.7px; }
.app-card p { margin: 2px 0; font-size: 14px; }
.empty { padding: 32px; }
.empty h1, .empty h2 { font-size: 28px; letter-spacing: -.7px; margin: 12px 0; overflow-wrap: anywhere; }
.empty p { max-width: 530px; }
.label { color: var(--green); font-weight: 650; font-size: 13px; overflow-wrap: anywhere; }
.back-link { display: inline-block; margin-bottom: 24px; color: var(--muted); font-size: 13px; text-decoration: none; }
.back-link:hover, .text-link:hover, .download:hover, .build h2 a:hover { text-decoration: underline; }
.text-link { color: var(--green); text-decoration: none; font-size: 14px; }
.catalog-heading { display: flex; align-items: center; gap: 18px; margin-bottom: 28px; }
.catalog-heading h1 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -1.5px; margin: 3px 0 0; }
.catalog-heading > div { min-width: 0; }
.filters { padding: 24px; margin-bottom: 28px; }
.filters label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 600; }
input, select, button { font: inherit; }
input, select { width: 100%; min-width: 0; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); padding: 9px 11px; font-size: 14px; font-weight: 400; }
input::placeholder { color: var(--muted); opacity: 1; }
input[type="date"] { display: block; appearance: none; -webkit-appearance: none; min-inline-size: 0; max-inline-size: 100%; overflow: hidden; }
input[type="date"]::-webkit-date-and-time-value { min-height: 24px; text-align: start; }
input[type="date"]::-webkit-datetime-edit { min-width: 0; padding: 0; }
.filters .search-field { margin-bottom: 18px; font-size: 13px; }
.search-field input { background: var(--paper); height: 48px; font-size: 16px; }
.filter-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.filter-actions { display: flex; align-items: center; gap: 13px; align-self: end; min-height: 44px; }
.filter-actions .install { padding: 11px 14px; font-size: 13px; white-space: nowrap; }
.reset { font-size: 13px; color: var(--muted); text-underline-offset: 3px; }
.form-error { color: #a12e24; font-size: 14px; margin: 18px 0 0; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 15px; }
.section-heading h2 { font-size: 18px; margin: 0; }
.section-heading span { font-size: 13px; color: var(--muted); }
.build { padding: 30px; margin-bottom: 22px; box-shadow: 0 8px 24px #18272004; }
.build-top { display: flex; gap: 18px; align-items: center; }
.build-info { min-width: 0; flex: 1 1 200px; }
.icon { flex-shrink: 0; border-radius: 17px; border: 1px solid #18272012; }
.build h1, .build h2 { font-size: 26px; letter-spacing: -.7px; margin: 2px 0; overflow-wrap: anywhere; }
.build h2 a { text-decoration: none; }
.build-top p { font-size: 14px; margin: 0; }
.separator { padding: 0 7px; color: #adb7ad; }
.badge { margin-inline-start: auto; align-self: flex-start; background: #edf4e2; color: #486425; padding: 5px 10px; border-radius: 20px; font-size: 11px; white-space: nowrap; }
.notes { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15px; margin-top: 26px; }
.commit-message { font-size: 15px; overflow-wrap: anywhere; margin: 18px 0 0; }
.commit-subject { font-weight: 600; margin: 0; }
.commit-description { white-space: pre-wrap; color: var(--muted); font-size: 14px; margin: 10px 0 0; }
dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 26px 0; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
dt { font-size: 12px; color: var(--muted); }
dd { margin: 4px 0 0; font-size: 14px; overflow-wrap: anywhere; }
code { font-size: 13px; }
.compact dl { grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 18px 0; padding: 16px 0; }
.compact .notes { max-height: 4.65em; overflow: hidden; margin-top: 16px; }
.actions { display: flex; gap: 22px; align-items: center; }
.install { background: var(--green); color: #fff; border: 0; padding: 14px 20px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 15px; display: inline-flex; justify-content: space-between; align-items: center; gap: 30px; cursor: pointer; }
.install:hover { background: #104c2d; }
.download { font-size: 13px; text-decoration: none; }
.pagination { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 8px; font-size: 14px; }
.pagination a { color: var(--green); text-decoration: none; }
.pagination span { color: var(--muted); }
footer { border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); }
:focus-visible { outline: 3px solid #9aca4e; outline-offset: 4px; }
@media (max-width: 850px) {
  .filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compact dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-card { flex-wrap: wrap; }
  .app-card .install { margin-inline-start: 102px; }
}
@media (max-width: 600px) {
  header { padding: 22px; }
  .team { font-size: 10px; max-width: 100px; text-align: end; }
  main { padding: 0 20px; margin-top: 42px; }
  h1 { letter-spacing: -2px; }
  .intro { font-size: 17px; margin-bottom: 30px; }
  .app-card { padding: 24px; gap: 16px; }
  .app-card .install { margin-inline-start: 0; width: 100%; justify-content: center; }
  .app-card h2 { font-size: 25px; }
  .app-card .icon { width: 64px; height: 64px; }
  .build { padding: 22px 18px; }
  .build-top { gap: 12px; flex-wrap: wrap; }
  .badge { margin-inline-start: 0; }
  .icon { width: 60px; height: 60px; }
  .catalog-heading .icon { width: 48px; height: 48px; border-radius: 12px; }
  .catalog-heading { gap: 12px; }
  .catalog-heading h1 { font-size: 28px; letter-spacing: -1px; }
  .filters { padding: 18px; }
  .filter-grid { gap: 14px 12px; }
  .date-filter { grid-column: 1 / -1; min-width: 0; }
  input, select { font-size: 16px; }
  .filter-actions { gap: 12px; flex-wrap: wrap; }
  .filter-actions .install { padding-inline: 12px; }
  .actions { align-items: stretch; flex-direction: column; gap: 16px; }
  .download { text-align: center; }
  .install { justify-content: center; }
  dl { gap: 15px; }
  footer { padding: 22px; flex-wrap: wrap; gap: 8px 20px; }
  .empty { padding: 24px; }
}
.date-filter { display: flex; flex-direction: column; gap: 6px; grid-column: span 2; align-self: start; }
.tag-group-filter { grid-column: 1 / -1; }
.date-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-width: 0; min-height: 44px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); text-align: start; font-size: 16px; cursor: pointer; }
.date-toggle::after { content: ''; width: 16px; height: 16px; flex-shrink: 0; color: var(--muted); border: 1.5px solid currentColor; border-radius: 3px; background: linear-gradient(currentColor, currentColor) center 4px / 100% 1.5px no-repeat; }
.date-toggle.date-empty { color: var(--muted); }
.date-calendar { width: 100%; max-width: 360px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); padding: 12px; margin-top: 6px; }
.date-calendar[hidden] { display: none; }
.calendar-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.calendar-header span { text-align: center; font-size: 14px; font-weight: 650; }
.calendar-month-button { width: 36px; height: 36px; flex-shrink: 0; border: 0; border-radius: 8px; background: transparent; color: var(--green); cursor: pointer; }
.calendar-row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.calendar-weekdays { color: var(--muted); font-size: 11px; text-align: center; padding: 4px 0 8px; }
.calendar-day { width: 100%; min-height: 40px; padding: 4px 0; border: 0; border-radius: 8px; background: transparent; color: var(--ink); font-size: 14px; cursor: pointer; }
.calendar-day.outside-month { color: var(--muted); opacity: .65; }
.calendar-day[aria-current="date"] { box-shadow: inset 0 0 0 1px var(--green); }
.calendar-day:hover, .calendar-month-button:hover { background: #e5eddb; }
[aria-selected="true"] > .calendar-day { background: var(--green); color: #fff; opacity: 1; }
.calendar-day:disabled, .calendar-month-button:disabled { opacity: .3; cursor: default; }
.calendar-actions { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 8px; margin-top: 8px; }
.calendar-text-button { border: 0; background: transparent; color: var(--green); min-height: 36px; padding: 4px; font-size: 13px; cursor: pointer; }
