:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#24372d;background:#f3f5f2;color-scheme:light;--green:#26734f;--nav-height:65px}
*{box-sizing:border-box}
html{scroll-behavior:auto;scrollbar-gutter:stable}
body{margin:0}
a{color:inherit}
button,a{-webkit-tap-highlight-color:transparent}
a:focus-visible,button:focus-visible{outline:3px solid #26734f;outline-offset:4px}
.page{max-width:1840px;margin:0 auto;padding:32px 24px 48px}
.page-header{padding:0 0 24px}
h1{font-size:clamp(26px,2.6vw,42px);font-weight:650;letter-spacing:-.035em;line-height:1.2;margin:0;text-wrap:balance}
.quick-nav{position:sticky;top:0;z-index:10;display:flex;gap:8px;padding:10px 0;margin:0 0 24px;background:rgba(243,245,242,.97);backdrop-filter:blur(12px);border-bottom:1px solid #dce3dc}
.group-link{display:flex;align-items:center;justify-content:center;gap:8px;flex:0 0 auto;min-width:0;height:40px;padding:0 16px;border:1px solid #dce4dd;border-radius:10px;background:#fff;color:#43564a;font-size:14px;font-weight:550;text-decoration:none}
.group-link:hover{border-color:#72a88b;background:#eef6f0}
.group-link.is-current{border-color:var(--green);background:var(--green);color:#fff}
.group>h2{font-size:26px;letter-spacing:-.025em;font-weight:650;margin:28px 0 18px;scroll-margin-top:calc(var(--nav-height) + 18px)}
.subject{padding:24px 0 30px;border:0}
.group>h2+.subject{padding-top:0}
.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:start}
.card{margin:0;min-width:0;overflow:hidden;border:1px solid #dce4dd;border-radius:14px;background:#fff;box-shadow:0 3px 14px rgba(36,55,45,.035)}
.card.selected{border:2px solid var(--green);box-shadow:0 0 0 3px rgba(38,115,79,.09)}
.photo{display:block;aspect-ratio:4/3;background:#fff;overflow:hidden}
.photo img{display:block;width:100%;height:100%;object-fit:contain;background:#fff}
.source{width:var(--source-width,100%);justify-self:center;align-self:start;border:0;box-shadow:none}
.source .photo img{object-fit:cover}
figcaption{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:52px;padding:8px 12px;font-size:14px;font-weight:650;line-height:1.4;background:#fff}
.card-actions{display:flex;align-items:center;gap:8px}
.badge{display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 10px;background:#edf5ee;border-radius:8px;color:var(--green);font-size:13px;font-weight:650;white-space:nowrap}
.download{position:relative;display:grid;place-items:center;width:32px;height:32px;border-radius:8px;color:#687b6d;flex:none}
.download::after{position:absolute;inset:-6px;content:""}
.download svg{width:16px;height:16px}
.download:hover{background:#edf5ee;color:var(--green)}
.design{padding:0 12px 16px;margin:0;color:#69796e;font-size:13px;line-height:1.55;overflow-wrap:anywhere;background:#fff}
body.viewer-open{overflow:hidden}
.lightbox{position:fixed;inset:0;width:100%;height:100dvh;max-width:none;max-height:none;margin:0;padding:56px 16px 16px;border:0;background:#0b1410;color:#fff}
.lightbox[open]{display:grid;grid-template-rows:minmax(0,1fr) auto}
.lightbox::backdrop{background:rgba(4,10,6,.94)}
.viewer{position:relative;display:flex;align-items:center;justify-content:center;min-width:0;min-height:0}
.viewer-image{display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;border-radius:10px}
.viewer-close,.viewer-prev,.viewer-next{position:absolute;z-index:1;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:10px;background:rgba(255,255,255,.12);color:white;cursor:pointer;font-family:Arial,sans-serif}
.viewer-close:hover,.viewer-prev:hover,.viewer-next:hover{background:rgba(255,255,255,.22)}
.viewer-close{top:8px;right:12px;font-size:30px}
.viewer-prev,.viewer-next{top:50%;transform:translateY(-50%);font-size:34px}
.viewer-prev{left:0}.viewer-next{right:0}
.viewer-caption{margin:12px 0 0;min-height:20px;text-align:center;font-size:14px;line-height:1.4;color:#e4ede7}
@media(max-width:1100px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.page{padding:24px 20px 36px}}
@media(max-width:640px){.page{padding:22px 16px 28px}.page-header{padding-bottom:18px}h1{font-size:27px;max-width:380px}.quick-nav{padding:8px 0;margin:0 0 22px}.group-link{height:44px}.group>h2{font-size:24px;margin:24px 0 18px}.subject{padding:26px 0}.grid{grid-template-columns:minmax(0,1fr);gap:16px}.card{border-radius:12px}figcaption{font-size:15px;padding-inline:12px}.design{font-size:14px;line-height:1.55}.lightbox{padding-inline:10px}}

