:root {
  --paper: #f5f3eb;
  --surface: #fffdf7;
  --green: #173d35;
  --muted: #657369;
  --lime: #d6f079;
  --line: #d1d6ca;
  --sans: Arial, Helvetica, sans-serif;
  --serif: Georgia, 'Times New Roman', serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--green);
  font: 15px/1.5 var(--sans);
}
a { color: inherit; text-underline-offset: 4px; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #6b8729; outline-offset: 4px; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
a, p, h1, h2, h3 { overflow-wrap: anywhere; }
.container { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10;
  padding: 12px 18px;
  background: var(--lime);
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }
.masthead { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }
.header-inner > * { min-width: 0; }
.wordmark { font: bold 34px var(--serif); letter-spacing: -1.7px; text-decoration: none; }
.wordmark span { color: #75922d; }
.header-link { display: inline-flex; align-items: center; gap: 20px; padding-block: 12px; text-decoration: none; font-size: 13px; }
.header-link:hover { text-decoration: underline; }
.header-link span { font-size: 18px; }
.directory { padding-block: 40px 42px; }
.heading { margin-bottom: 27px; }
h1 { font: 400 clamp(34px, 4vw, 46px)/1.15 var(--serif); letter-spacing: -1.6px; }
.heading p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.search-label { display: block; font-size: 13px; margin-bottom: 8px; }
.search-box {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 0 19px;
  background: var(--surface);
  border: 1px solid #aab7a8;
  border-radius: 9px;
}
.search-box:focus-within { outline: 3px solid #6b8729; outline-offset: 3px; border-color: var(--green); }
.search-box svg { flex: 0 0 23px; width: 23px; height: 23px; }
.search-box input { flex: 1; min-width: 0; width: 100%; padding-block: 17px; border: 0; background: transparent; outline: none; font-size: 16px; }
.search-box input::placeholder { color: var(--muted); opacity: 1; }
.search-hint { font-size: 11px; color: var(--muted); border-left: 1px solid var(--line); padding-left: 18px; }
.filter-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.filter-row > * { min-width: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { min-height: 42px; padding: 9px 17px; border: 1px solid var(--line); border-radius: 6px; background: transparent; font-size: 13px; }
.filters button:hover { border-color: var(--green); background: #e9eddf; }
.filters button[aria-pressed='true'] { background: var(--green); color: var(--surface); border-color: var(--green); }
.reset { display: inline-flex; gap: 10px; align-items: center; min-height: 42px; border: 0; padding: 9px 0; background: transparent; color: var(--muted); font-size: 12px; }
.reset:hover { color: var(--green); text-decoration: underline; }
.reset span { font-size: 20px; line-height: 1; }
.list-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-block: 26px 14px; }
.list-heading h2 { font-size: 13px; font-weight: 400; }
.opening-note { color: var(--muted); font-size: 11px; }
.opening-note span { margin-left: 5px; }
.tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tool-grid > * { min-width: 0; }
.tool-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.card-link { display: flex; flex-direction: column; height: 100%; min-height: 232px; padding: 20px 22px 17px; border-radius: inherit; text-decoration: none; }
.tool-card:hover { border-color: #7e9681; }
.tool-card:hover .tool-name { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.tool-card.own { background: #edf1e3; border-color: #bac8a9; }
.card-top { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.card-top > * { min-width: 0; }
.tool-symbol { display: grid; place-items: center; flex: 0 0 35px; height: 35px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); font: 21px var(--serif); }
.own .tool-symbol { background: var(--green); color: var(--lime); border-color: var(--green); }
.tool-symbol.file-symbol { font: 12px var(--sans); }
.tool-type { font-size: 10px; color: var(--muted); }
.own .tool-type { color: var(--green); }
.external-icon { width: 18px; height: 18px; flex: 0 0 18px; margin-left: auto; color: var(--muted); }
.tool-name { font: 400 24px/1.15 var(--serif); letter-spacing: -.5px; }
.tool-name.long-name { font-size: 21px; }
.tool-description { margin-top: 10px; margin-bottom: 19px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line); padding-top: 12px; margin-top: auto; }
.tool-domain { min-width: 0; font-size: 11px; color: var(--green); overflow-wrap: anywhere; }
.route-arrow { font-size: 17px; line-height: 1; flex-shrink: 0; }
.empty-state { padding: 36px 20px 42px; border: 1px dashed #aab7a8; border-radius: 12px; text-align: center; }
.empty-symbol { display: block; font: 38px var(--serif); color: var(--muted); }
.empty-state h2 { font: 28px var(--serif); margin-top: 6px; }
.empty-state p { color: var(--muted); margin: 12px auto 22px; max-width: 380px; }
.empty-state button { padding: 12px 18px; min-height: 44px; background: var(--green); color: var(--surface); border: 1px solid var(--green); border-radius: 6px; }
.empty-state button:hover { background: #285347; }
.footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; border-top: 1px solid var(--line); padding-block: 20px 25px; color: var(--muted); font-size: 11px; }
.footer > * { min-width: 0; }
.footer a { padding-block: 7px; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer a span { margin-left: 9px; }
.fallback-note { padding-block: 12px; }
.fallback-links { padding-left: 20px; }
.fallback-links li { padding-block: 8px; }
@media (max-width: 1000px) {
  .container { width: calc(100% - 48px); }
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-link { min-height: 230px; }
}
@media (max-width: 560px) {
  .container { width: calc(100% - 36px); }
  .header-inner { min-height: 68px; }
  .wordmark { font-size: 30px; }
  .header-link { font-size: 12px; gap: 10px; }
  .directory { padding-block: 29px 30px; }
  .heading { margin-bottom: 24px; }
  h1 { font-size: 36px; letter-spacing: -1px; }
  .heading p { max-width: 300px; font-size: 14px; }
  .search-box { padding-inline: 14px; gap: 10px; min-height: 54px; }
  .search-box input { padding-block: 15px; }
  .search-hint { display: none; }
  .filters { gap: 7px; }
  .filters button { padding-inline: 12px; font-size: 12px; }
  .filter-row { gap: 4px; }
  .list-heading { padding-top: 24px; }
  .list-heading h2 { font-size: 12px; }
  .opening-note { font-size: 10px; }
  .tool-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .card-link { min-height: 0; padding: 18px 19px 16px; }
  .card-top { margin-bottom: 13px; }
  .tool-description { margin-bottom: 15px; }
  .tool-name { font-size: 25px; }
  .tool-name.long-name { font-size: 22px; }
  .footer { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
