/* glossary.html only (owner: glossary) */
.gl-hero h1{max-width:22ch}
.gl-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

.gl-five__list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(5,1fr);border-top:1.5px solid var(--ink);counter-reset:g}
.gl-five__list li{counter-increment:g;border-right:1px solid var(--line)}
.gl-five__list li:last-child{border-right:0}
.gl-five__list a{display:block;height:100%;padding:20px 20px 22px;text-decoration:none;color:inherit;transition:background .2s}
.gl-five__list a:hover{background:var(--tint,#eef2f8)}
.gl-five__list a::before{content:counter(g,decimal-leading-zero);display:block;font:600 14px/1 var(--f-disp);color:var(--green);margin-bottom:14px}
.gl-five__list b{display:block;font:600 clamp(19px,1.6vw,23px)/1.2 var(--f-disp);color:var(--navy);margin-bottom:6px}
.gl-five__list span{font-size:15px;color:var(--muted)}

.gl-bar{position:sticky;top:var(--hdr,64px);z-index:5;background:var(--bg,#fff);border:1px solid var(--line);border-radius:var(--r-lg);padding:14px;margin-bottom:clamp(20px,3vw,36px);display:grid;gap:12px;box-shadow:var(--shadow)}
.gl-search{display:flex;align-items:center;gap:10px;border:1.5px solid var(--line);border-radius:var(--r);padding:0 14px;background:#fff}
.gl-search:focus-within{border-color:var(--navy)}
.gl-search .ico{flex:none;color:var(--muted)}
.gl-search input{flex:1;min-width:0;border:0;outline:0;background:none;font:inherit;font-size:16px;padding:13px 0;color:var(--ink)}
.gl-count{flex:none;font-size:13px;color:var(--muted)}
.gl-letters{display:flex;gap:4px;overflow-x:auto;scrollbar-width:none}
.gl-letters::-webkit-scrollbar{display:none}
.gl-letters a{flex:none;min-width:34px;height:34px;display:grid;place-items:center;border-radius:6px;font-weight:600;font-size:14px;color:var(--navy);text-decoration:none}
.gl-letters a:hover{background:var(--navy);color:#fff}
.gl-letters a.is-off{opacity:.3;pointer-events:none}

.gl-group{display:grid;grid-template-columns:clamp(56px,8vw,120px) 1fr;gap:0 clamp(16px,3vw,48px);padding:clamp(18px,2.4vw,28px) 0;border-top:1px solid var(--line);scroll-margin-top:200px}
.gl-group[hidden]{display:none}
.gl-letter{margin:0;font-size:clamp(40px,5vw,72px);line-height:.9;color:var(--green);position:sticky;top:240px;align-self:start}
.gl-group dl{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px clamp(20px,3vw,48px)}
.gl-term{scroll-margin-top:220px;border-radius:var(--r)}
.gl-term[hidden]{display:none}
.gl-term:target{background:#fff;box-shadow:0 0 0 8px #fff,0 0 0 9px var(--green)}
.gl-term dt{font-weight:600;color:var(--navy);font-size:17px;margin-bottom:4px}
.gl-term dd{margin:0;color:var(--body,inherit);font-size:15.5px;line-height:1.6}
.gl-term mark{background:#f6e7b8;color:inherit;padding:0 2px;border-radius:2px}
.gl-empty{text-align:center;padding:40px 0}

.gl-calc{background:var(--paper);border:1px solid var(--line);border-radius:var(--r-lg);padding:clamp(20px,2.4vw,32px)}
.gl-calc .kv{margin-bottom:16px}
.gl-hi{color:var(--green-d,var(--green));font-weight:700}

.gl-table td:first-child,.gl-table td:nth-child(2){font-weight:600;white-space:nowrap}

.gl-bars{list-style:none;margin:0;padding:0;display:grid;gap:22px;align-content:center}
.gl-bars li{position:relative;padding-top:42px}
.gl-bars li::before{content:"";position:absolute;left:0;top:0;height:30px;width:var(--w);background:var(--green);border-radius:3px}
.gl-bars li:nth-child(2)::before{background:#8fa6c8}
.gl-bars span{font-size:14px;color:#a9b7cf;margin-right:12px}
.gl-bars b{font:600 clamp(20px,2vw,26px)/1.2 var(--f-disp);color:#fff}
.gl-bars .gl-bars__note{padding:0;font-size:13px;color:#93a3bf}
.gl-bars .gl-bars__note::before{display:none}

.gl-rel .prod{grid-template-columns:56px 1fr auto}
.gl-form{margin-top:20px}

@media (max-width:960px){
  .gl-five__list{grid-template-columns:1fr 1fr}
  .gl-five__list li{border-bottom:1px solid var(--line)}
  .gl-five__list li:nth-child(2n){border-right:0}
  .gl-group dl{grid-template-columns:1fr}
}
@media (max-width:600px){
  .gl-five__list{grid-template-columns:1fr}
  .gl-five__list li{border-right:0}
  .gl-five__list a{padding:16px 4px}
  .gl-group{grid-template-columns:1fr;scroll-margin-top:170px}
  .gl-letter{position:static;font-size:40px;margin-bottom:12px}
  .gl-bar{padding:10px;top:var(--hdr,60px)}
  .gl-rel .prod{grid-template-columns:48px 1fr}
  .gl-rel .link-arrow{display:none}
  .gl-table td:first-child,.gl-table td:nth-child(2){white-space:normal}
}
