/*
Theme Name: Job Application Guide
Theme URI: https://jobapplicationguide.info/
Description: Guides to job applications, letters, form fields and employment background checks. Built for jobapplicationguide.info.
Version: 1.0.0
Requires at least: 6.2
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: jobapplicationguide
*/

@font-face { font-family: "Funnel Display"; src: url(assets/fonts/funnel-display-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Funnel Display"; src: url(assets/fonts/funnel-display-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Host Grotesk"; src: url(assets/fonts/host-grotesk-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Host Grotesk"; src: url(assets/fonts/host-grotesk-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Host Grotesk"; src: url(assets/fonts/host-grotesk-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
	--pine: #0e3b31; --pine-2: #0a2c25; --ink: #10201c; --text: #23332e; --muted: #5a6b65;
	--mist: #eef3ef; --paper: #ffffff; --line: #d7e1db; --lime: #c6f06a; --lime-2: #a8d84a;
	--amber: #ffb547; --coral: #ee6a55; --st: #0f7a5c;
	--r: 18px; --r-s: 10px;
	--shadow: 0 1px 2px rgba(16, 32, 28, .06), 0 10px 30px -12px rgba(16, 32, 28, .18);
	--display: "Funnel Display", "Host Grotesk", system-ui, sans-serif;
	--body: "Host Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--mist); color: var(--text); font: 17px/1.65 var(--body); }
img { max-width: 100%; height: auto; }
a { color: #0b5f49; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); line-height: 1.15; letter-spacing: -.01em; }
.jg-wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.jg-skip { position: absolute; left: -999px; top: 8px; background: var(--lime); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 99; }
.jg-skip:focus { left: 12px; }
.jg-offscreen { position: fixed; left: -9999px; }

/* ------------------------------------------------------------ header */
.jg-top { background: var(--pine); color: #e6efe9; position: relative; z-index: 20; }
.jg-top-row { display: flex; align-items: center; gap: 18px; min-height: 72px; }
.jg-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; margin: 0; }
.jg-logo-word { font: 700 20px/1 var(--display); letter-spacing: -.02em; }
.jg-logo-word b { color: var(--lime); font-weight: 700; }
.jg-steps { flex: 1; overflow: hidden; }
.jg-steps ol { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 4px; position: relative; }
.jg-steps li { position: relative; }
.jg-steps li + li::before { content: ""; position: absolute; left: -6px; top: 50%; width: 8px; height: 2px; background: rgba(198, 240, 106, .35); }
.jg-steps a { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 99px; color: #dfeae4; text-decoration: none; font-size: 14.5px; font-weight: 500; white-space: nowrap; }
.jg-steps a i { font-style: normal; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid rgba(198, 240, 106, .6); font-size: 12px; color: var(--lime); }
.jg-steps a:hover, .jg-steps a[aria-current] { background: rgba(255, 255, 255, .08); color: #fff; }
.jg-steps a[aria-current] i { background: var(--lime); color: var(--pine); border-color: var(--lime); }
.jg-cta { display: inline-flex; align-items: center; gap: 8px; background: var(--lime); color: var(--pine); font-weight: 700; text-decoration: none; padding: 9px 16px; border-radius: 99px; font-size: 15px; }
.jg-cta:hover { background: #d6f78d; color: var(--pine); }
.jg-cta-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pine); box-shadow: 0 0 0 3px rgba(14, 59, 49, .2); }
.jg-menubtn { display: none; align-items: center; gap: 8px; background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .3); border-radius: 99px; padding: 8px 14px; font: 600 15px var(--body); cursor: pointer; }
.jg-menubtn-bars { width: 16px; height: 10px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; position: relative; }
.jg-menubtn-bars::after { content: ""; position: absolute; left: 0; right: 0; top: 2px; border-top: 2px solid currentColor; }
.jg-drawer { background: var(--pine-2); border-top: 1px solid rgba(255, 255, 255, .08); padding: 14px 0 20px; }
.jg-drawer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.jg-drawer-list a { display: block; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .05); color: #fff; text-decoration: none; border-left: 4px solid var(--st); }
.jg-drawer-list b { display: block; }
.jg-drawer-list span { font-size: 14px; color: #b9cbc3; }

/* -------------------------------------------------------------- hero */
.jg-hero { background: radial-gradient(1200px 500px at 85% -10%, #1b5a4a 0%, transparent 60%), var(--pine); color: #e6efe9; padding: 56px 0 72px; overflow: hidden; }
.jg-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.jg-eyebrow { display: inline-block; font-size: 14px; font-weight: 600; color: var(--pine); background: var(--lime); padding: 4px 12px; border-radius: 99px; margin: 0 0 18px; }
.jg-hero h1 { color: #fff; font-size: clamp(38px, 5.2vw, 64px); margin: 0 0 18px; }
.jg-hero-lede { font-size: 19px; color: #cfe0d8; max-width: 34em; margin: 0 0 26px; }
.jg-hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.jg-btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 20px; border-radius: 99px; font-weight: 700; text-decoration: none; font-size: 16px; border: 2px solid transparent; }
.jg-btn--lime { background: var(--lime); color: var(--pine); }
.jg-btn--lime:hover { background: #d6f78d; color: var(--pine); }
.jg-btn--ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.jg-btn--ghost:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.jg-board { position: relative; padding-top: 22px; transform: rotate(1.2deg); }
.jg-board-clip { position: absolute; top: 0; left: 50%; width: 132px; height: 44px; transform: translateX(-50%); background: linear-gradient(#d9e2dd, #9fb0a8); border-radius: 12px 12px 18px 18px; box-shadow: 0 6px 14px rgba(0, 0, 0, .3); z-index: 2; }
.jg-board-clip::after { content: ""; position: absolute; left: 50%; top: 8px; width: 34px; height: 12px; transform: translateX(-50%); border-radius: 8px; background: var(--pine); }
.jg-sheet { background: var(--paper); color: var(--text); border-radius: 20px; padding: 38px 24px 22px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55); border: 10px solid #d6c39a; }
.jg-sheet-h { font: 700 19px var(--display); color: var(--ink); margin: 0 0 12px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.jg-sheet-h span { font: 500 13px var(--body); color: var(--muted); }
.jg-fld { border-bottom: 1px solid var(--line); }
.jg-fld summary { list-style: none; display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 10px; padding: 11px 4px; cursor: pointer; }
.jg-fld summary::-webkit-details-marker { display: none; }
.jg-fld-n { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.jg-fld-name { font-weight: 700; font-size: 15px; color: var(--ink); }
.jg-fld-line { height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 10px); }
.jg-fld[open] summary { color: var(--ink); }
.jg-fld[open] .jg-fld-line { background: var(--lime-2); }
.jg-fld summary:hover .jg-fld-name { color: #0b5f49; }
.jg-fld-a { margin: 0 0 12px 30px; padding: 10px 14px; background: #f3f9e8; border-radius: 12px; font-size: 15px; }
.jg-fld-a p { margin: 0 0 6px; }
.jg-fld-a a { font-weight: 700; }
.jg-sheet-sign { display: flex; gap: 18px; margin: 16px 0 0; font-size: 13px; color: var(--muted); }
.jg-sheet-sign span { flex: 1; border-top: 1.5px solid var(--ink); padding-top: 4px; }

/* status rail */
.jg-rail { margin-top: -30px; position: relative; z-index: 3; }
.jg-rail ol { list-style: none; margin: 0; padding: 8px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; background: var(--paper); border-radius: var(--r); box-shadow: var(--shadow); counter-reset: rail; }
.jg-rail li { counter-increment: rail; }
.jg-rail a { display: block; height: 100%; padding: 12px 14px 12px 46px; border-radius: 12px; text-decoration: none; position: relative; color: var(--muted); font-size: 14px; }
.jg-rail a::before { content: counter(rail); position: absolute; left: 12px; top: 13px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); color: var(--pine); font-weight: 700; font-size: 13px; }
.jg-rail b { display: block; color: var(--ink); font-size: 15.5px; }
.jg-rail a:hover { background: var(--mist); }
.jg-rail a:hover::before { background: var(--lime); }

/* ---------------------------------------------------------- page head */
.jg-pagehead { padding: 22px 0 8px; background: linear-gradient(180deg, var(--pine) 0 120px, transparent 120px); }
.jg-pagehead--plain { padding-bottom: 0; }
.jg-trail { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: #bcd0c7; margin-bottom: 16px; }
.jg-trail a { color: #e6efe9; text-decoration: none; }
.jg-trail a:hover { text-decoration: underline; color: #fff; }
.jg-trail [aria-current] { color: var(--lime); }
.jg-head-sheet { background: var(--paper); border-radius: var(--r); box-shadow: var(--shadow); padding: 26px 30px 22px; border-top: 6px solid var(--st); }
.jg-head-tab { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 14px; font-weight: 700; color: var(--st); }
.jg-head-sec { background: var(--st); color: #fff; border-radius: 99px; padding: 2px 10px; font-size: 12.5px; }
.jg-head-kind { margin-left: auto; background: var(--lime); color: var(--pine); border-radius: 99px; padding: 2px 10px; font-size: 12.5px; }
.jg-head-sheet h1 { font-size: clamp(30px, 4vw, 46px); margin: 0 0 14px; }
.jg-answer { margin: 0 0 14px; padding: 12px 16px; background: #f3f9e8; border-left: 4px solid var(--lime-2); border-radius: 0 12px 12px 0; font-size: 18px; color: var(--ink); }
.jg-answer span { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #4f7a1d; }
.jg-head-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.jg-head-chips li { font-size: 13.5px; border: 1.5px solid var(--line); border-radius: 8px; padding: 3px 10px; color: var(--text); }
.jg-head-chips .jg-head-date { border-style: dashed; color: var(--muted); }
.jg-pagehead-meta { color: var(--muted); margin: 0; }

/* ------------------------------------------------------------ article */
.jg-read { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; padding: 28px 0 56px; align-items: start; }
.jg-read--narrow { grid-template-columns: minmax(0, 780px); justify-content: center; }
.jg-read--home { grid-template-columns: minmax(0, 860px); justify-content: center; padding-top: 40px; }
.jg-article { min-width: 0; display: grid; grid-template-columns: 250px minmax(0, 1fr); column-gap: 32px; grid-column: 1 / -1; }
.jg-read--narrow .jg-article, .jg-read--home .jg-article, .jg-article--post { display: block; }
.jg-article > * { grid-column: 2; }
.jg-article > .jg-toc { grid-column: 1; grid-row: 1 / span 40; align-self: start; position: sticky; top: 16px; }
.jg-article h2 { font-size: clamp(25px, 2.6vw, 32px); margin: 0 0 14px; }
.jg-article h3 { font-size: 21px; margin: 24px 0 8px; }
.jg-article p, .jg-article li { max-width: 72ch; }
.jg-intro { font-size: 18.5px; }
.jg-intro p:first-child { margin-top: 0; }
.jg-part { background: var(--paper); border-radius: var(--r); padding: 26px 28px; margin: 0 0 18px; box-shadow: var(--shadow); scroll-margin-top: 16px; }
.jg-part > :last-child { margin-bottom: 0; }

.jg-toc { background: var(--paper); border-radius: var(--r); padding: 18px 16px; box-shadow: var(--shadow); font-size: 14.5px; margin-bottom: 18px; }
.jg-toc p { margin: 0 0 8px; font-weight: 700; color: var(--ink); font-family: var(--display); }
.jg-toc ol { list-style: none; margin: 0; padding: 0; }
.jg-toc li { margin: 0; }
.jg-toc a { display: grid; grid-template-columns: 18px 1fr; gap: 8px; padding: 6px 4px; color: var(--text); text-decoration: none; border-radius: 8px; line-height: 1.35; }
.jg-toc a::before { content: ""; width: 16px; height: 16px; margin-top: 2px; border: 2px solid var(--line); border-radius: 5px; }
.jg-toc a.is-read::before { background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%230e3b31' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; border-color: var(--lime-2); }
.jg-toc a[aria-current] { background: var(--mist); color: var(--ink); font-weight: 700; }
.jg-toc a[aria-current]::before { border-color: var(--st); }

/* quick facts as form boxes */
.jg-key { background: var(--paper); border-radius: var(--r); padding: 20px 22px; margin: 0 0 18px; box-shadow: var(--shadow); }
.jg-key-h { margin: 0 0 12px; font: 700 18px var(--display); color: var(--ink); }
.jg-key ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.jg-key li { border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.jg-key-name { margin: 0 0 2px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.jg-key-val { color: var(--ink); font-size: 15.5px; }
.jg-key-val p { margin: 0; }

/* tables */
.jg-table { overflow-x: auto; margin: 14px 0; border: 1.5px solid var(--line); border-radius: 14px; }
.jg-table table, .jg-t-table { border-collapse: collapse; width: 100%; font-size: 15.5px; }
.jg-table th, .jg-table td, .jg-t-table th, .jg-t-table td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.jg-table th, .jg-t-table th { background: #f4f8f5; color: var(--ink); font-weight: 700; }
.jg-table tr:last-child td { border-bottom: 0; }
.jg-table caption { text-align: left; padding: 10px 14px; font-weight: 700; color: var(--ink); }

/* callouts, samples, do and dont */
.tip, .warn, .note { border-radius: 14px; padding: 14px 18px 14px 50px; margin: 16px 0; position: relative; }
.tip::before, .warn::before, .note::before { position: absolute; left: 16px; top: 14px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.tip { background: #f1f9e4; }
.tip::before { content: "+"; background: var(--lime); color: var(--pine); }
.warn { background: #fff4e3; }
.warn::before { content: "?"; content: "\2192"; background: var(--amber); color: var(--ink); }
.note { background: #eef3fb; }
.note::before { content: "i"; background: #3346d3; color: #fff; }
.tip > :first-child, .warn > :first-child, .note > :first-child { margin-top: 0; }
.tip > :last-child, .warn > :last-child, .note > :last-child { margin-bottom: 0; }
.sample { position: relative; margin: 18px 0; padding: 26px 24px 18px; background: #fffef9; border: 1.5px solid #e7e0c9; border-radius: 14px; box-shadow: 0 12px 24px -18px rgba(16, 32, 28, .5); font-size: 16px; }
.sample::before { content: "Sample"; position: absolute; top: -11px; left: 18px; background: var(--pine); color: var(--lime); font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 99px; letter-spacing: .04em; }
.sample p { margin: 0 0 10px; }
.jg-copy { position: absolute; top: 10px; right: 10px; border: 1.5px solid var(--line); background: var(--paper); border-radius: 99px; padding: 4px 12px; font: 600 13px var(--body); cursor: pointer; color: var(--pine); }
.jg-copy:hover { background: var(--lime); border-color: var(--lime-2); }
.do, .dont { border-radius: 14px; padding: 14px 18px 14px 50px; margin: 12px 0; position: relative; border: 1.5px solid; }
.do::before, .dont::before { position: absolute; left: 16px; top: 14px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; font-size: 13px; }
.do { border-color: #bfe39a; background: #f7fcef; }
.do::before { content: "\2713"; background: #3d8b2f; }
.dont { border-color: #f4c3b9; background: #fff6f4; }
.dont::before { content: "\2715"; background: var(--coral); }
.do > :first-child, .dont > :first-child { margin-top: 0; }
.do > :last-child, .dont > :last-child { margin-bottom: 0; }
.field { display: inline-block; font-size: .9em; font-weight: 700; color: var(--ink); background: #f4f8f5; border: 1.5px dashed #b9c9c0; border-radius: 6px; padding: 0 7px; }
.path { font-weight: 600; color: var(--ink); background: #eef3fb; border-radius: 6px; padding: 0 6px; }
ol.steps { list-style: none; counter-reset: st; padding: 0; margin: 14px 0; }
ol.steps > li { counter-increment: st; position: relative; padding: 2px 0 12px 46px; }
ol.steps > li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--pine); color: var(--lime); font-weight: 700; display: grid; place-items: center; font-size: 15px; }
ol.steps > li:not(:last-child)::after { content: ""; position: absolute; left: 14px; top: 32px; bottom: 2px; width: 2px; background: var(--line); }

/* FAQ */
.jg-faq { background: var(--paper); border-radius: var(--r); padding: 26px 28px; margin: 0 0 18px; box-shadow: var(--shadow); }
.jg-faq details { border-bottom: 1px solid var(--line); }
.jg-faq summary { cursor: pointer; padding: 14px 30px 14px 0; font-weight: 700; color: var(--ink); list-style: none; position: relative; }
.jg-faq summary::-webkit-details-marker { display: none; }
.jg-faq summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font-size: 22px; color: var(--st); }
.jg-faq details[open] summary::after { content: "\2212"; }
.jg-faq-a { padding: 0 0 12px; }
.jg-faq-a p { margin-top: 0; }

/* related */
.jg-related { grid-column: 1 / -1; margin-top: 10px; }
.jg-related h2 { font-size: 26px; }
.jg-related ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.jg-related a { display: block; height: 100%; background: var(--paper); border-radius: 14px; padding: 16px 18px; text-decoration: none; box-shadow: var(--shadow); border-left: 5px solid var(--lime-2); }
.jg-related a:hover { transform: translateY(-2px); }
.jg-related b { display: block; color: var(--ink); font-family: var(--display); font-size: 18px; }
.jg-related span { font-size: 13.5px; color: var(--muted); }
.jg-ad { margin: 0 0 18px; text-align: center; }

/* indexes */
.jg-indexes { padding: 6px 0 40px; }
.jg-indexes-h { font-size: clamp(28px, 3vw, 38px); margin: 0 0 16px; }
.jg-index { background: var(--paper); border-radius: var(--r); padding: 22px 24px; margin: 0 0 16px; box-shadow: var(--shadow); border-top: 5px solid var(--st); }
.jg-index-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.jg-index-head h2 { margin: 0; font-size: 24px; }
.jg-index-head small { font: 600 14px var(--body); color: var(--st); background: var(--mist); border-radius: 99px; padding: 2px 10px; margin-left: 6px; }
.jg-filter { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.jg-filter input { font: inherit; padding: 8px 12px; border: 1.5px solid var(--line); border-radius: 99px; min-width: 220px; }
.jg-chips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.jg-chips a { display: block; height: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); text-decoration: none; }
.jg-chips a:hover { border-color: var(--st); background: #fbfdfb; }
.jg-chips b { display: block; color: var(--ink); }
.jg-chips span { font-size: 14px; color: var(--muted); line-height: 1.4; display: block; }
.jg-index-none { color: var(--muted); }

/* tiles (posts, 404) */
.jg-tiles { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.jg-tile a { display: block; height: 100%; background: var(--paper); border-radius: 14px; padding: 14px 16px; text-decoration: none; box-shadow: var(--shadow); border-left: 5px solid var(--st); }
.jg-tile-img { display: none; }
.jg-tile-name { display: block; font-weight: 700; color: var(--ink); }
.jg-tile-meta { font-size: 13px; color: var(--muted); }
.jg-tile-badge { display: none; }
.jg-guides { margin: 28px 0; }
.jg-guides-h { font: 700 22px var(--display); color: var(--ink); }
.jg-article--post { background: var(--paper); border-radius: var(--r); padding: 28px 30px; box-shadow: var(--shadow); }
.jg-latest { padding: 0 0 48px; }
.jg-latest ul, .jg-postlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.jg-latest a { display: block; background: var(--paper); border-radius: 14px; padding: 14px 16px; text-decoration: none; box-shadow: var(--shadow); }
.jg-latest b { display: block; color: var(--ink); }
.jg-latest small { color: var(--muted); }
.jg-latest-more { display: inline-block; margin-top: 12px; font-weight: 700; }
.jg-list-title h1 { font-size: 40px; margin: 32px 0 16px; }
.jg-postrow { background: var(--paper); border-radius: 14px; padding: 18px 20px; box-shadow: var(--shadow); }
.jg-postrow h2 { font-size: 20px; margin: 0 0 4px; }
.jg-postrow h2 a { color: var(--ink); text-decoration: none; }
.jg-date { color: var(--muted); font-size: 14px; margin: 0; }
.jg-pager { margin: 24px 0 48px; display: flex; gap: 8px; flex-wrap: wrap; }
.jg-pager a, .jg-pager span { padding: 6px 12px; background: var(--paper); border-radius: 8px; }

/* ------------------------------------------------------------ tools */
.jg-tool { background: var(--paper); border-radius: var(--r); padding: 22px 24px; margin: 0 0 18px; box-shadow: var(--shadow); border: 2px solid var(--lime-2); scroll-margin-top: 16px; }
.jg-t-h { font: 700 21px var(--display); color: var(--ink); margin: 0 0 14px; }
.jg-t-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.jg-t-field label { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.jg-t-field small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.jg-tool input:not([type=checkbox]):not([type=radio]), .jg-tool select, .jg-tool textarea { width: 100%; font: inherit; font-size: 16px; padding: 9px 12px; border: 1.5px solid #c3d1c9; border-radius: 10px; background: #fff; color: var(--ink); }
.jg-tool input:focus, .jg-tool select:focus, .jg-tool textarea:focus { border-color: var(--st); outline: 3px solid rgba(198, 240, 106, .7); }
.jg-t-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
.jg-t-btn { font: 700 15px var(--body); padding: 10px 18px; border-radius: 99px; border: 1.5px solid var(--pine); background: var(--paper); color: var(--pine); cursor: pointer; }
.jg-t-btn:hover { background: var(--mist); }
.jg-t-btn--main { background: var(--pine); color: var(--lime); }
.jg-t-btn--main:hover { background: var(--pine-2); }
.jg-t-btn--quiet { border-color: var(--line); color: var(--muted); }
.jg-t-scroll { overflow-x: auto; border: 1.5px solid var(--line); border-radius: 12px; }
.jg-t-table select { min-width: 130px; padding: 5px 8px; }
.jg-t-table tr.is-due td { background: #fff4e3; }
.jg-t-empty { color: var(--muted); text-align: center; }
.jg-t-counts { font-weight: 700; color: var(--ink); margin: 6px 0 10px; }
.jg-t-note { color: var(--muted); font-size: 14px; margin: 8px 0 0; }
.jg-t-out { white-space: pre-wrap; font: 15.5px/1.6 var(--body); background: #fffef9; border: 1.5px solid #e7e0c9; border-radius: 12px; padding: 18px 20px; margin: 0; color: var(--ink); max-height: 520px; overflow: auto; }
.jg-t-checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px; }
.jg-t-checks label { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer; font-size: 15px; }
.jg-t-checks input { width: 18px; height: 18px; accent-color: var(--pine); }
.jg-t-result { margin-top: 14px; padding: 16px 18px; background: #f3f9e8; border-radius: 12px; }
.jg-t-result p { margin: 0 0 6px; }
.jg-t-big { font: 700 30px var(--display); color: var(--pine); }
.jg-form-sheet { border: 1.5px solid var(--line); border-radius: 14px; padding: 18px 20px; background: #fff; }
.jg-form-title { font: 700 22px var(--display); text-align: center; margin: 0 0 12px; color: var(--ink); }
.jg-form-sec { border: 0; border-top: 2px solid var(--ink); padding: 10px 0 14px; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.jg-form-sec legend { font-weight: 700; color: var(--ink); padding-right: 8px; text-transform: uppercase; font-size: 13px; letter-spacing: .06em; }
.jg-form-yn { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; font-size: 15px; }
.jg-form-yn span { font-weight: 600; color: var(--ink); }
.jg-form-sign { margin-top: 10px; display: grid; grid-template-columns: 2fr 1fr; gap: 10px; }
.jg-form-sign p { grid-column: 1 / -1; font-size: 14px; margin: 0; }

/* ------------------------------------------------------------ footer */
.jg-foot { background: #e2ebe5; color: var(--text); padding: 44px 0 20px; border-top: 6px solid var(--lime); }
.jg-foot-top { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; }
.jg-logo--foot { color: var(--ink); }
.jg-logo--foot .jg-logo-word { color: var(--ink); }
.jg-logo--foot .jg-logo-word b { color: #4f7a1d; }
.jg-foot-line { font: 700 26px/1.2 var(--display); color: var(--ink); margin: 14px 0 10px; }
.jg-foot-help { background: var(--pine); color: #dfeae4; border-radius: var(--r); padding: 22px 24px; }
.jg-foot-help a.jg-btn { margin-top: 6px; }
.jg-foot-h { font: 700 19px var(--display); color: #fff; margin: 0 0 6px; }
.jg-foot-pages { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 20px; margin: 34px auto 20px; }
.jg-foot-pages p { font-weight: 700; color: var(--ink); margin: 0 0 8px; display: flex; align-items: center; gap: 8px; }
.jg-foot-pages p i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: var(--st); color: #fff; }
.jg-foot-pages ul { list-style: none; margin: 0; padding: 0; font-size: 14.5px; }
.jg-foot-pages li { margin: 4px 0; }
.jg-foot-pages a { color: var(--text); text-decoration: none; }
.jg-foot-pages a:hover { text-decoration: underline; }
.jg-foot-legal { display: flex; flex-wrap: wrap; gap: 8px 18px; padding-top: 16px; border-top: 1px solid #c8d6ce; font-size: 14px; color: var(--muted); }
.jg-foot-legal a { color: var(--text); }
.jg-toast { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); background: var(--pine); color: var(--lime); padding: 10px 18px; border-radius: 99px; font-weight: 700; z-index: 60; margin: 0; }

/* ------------------------------------------------------- responsive */
@media (max-width: 1080px) {
	.jg-steps { display: none; }
	.jg-menubtn { display: inline-flex; }
	.jg-top-row { justify-content: space-between; }
	.jg-cta { margin-left: auto; }
	.jg-read { grid-template-columns: minmax(0, 1fr); }
	.jg-article { grid-template-columns: minmax(0, 1fr); }
	.jg-article > *, .jg-article > .jg-toc { grid-column: 1; grid-row: auto; position: static; }
}
@media (max-width: 860px) {
	.jg-hero { padding: 36px 0 60px; }
	.jg-hero-grid { grid-template-columns: 1fr; gap: 36px; }
	.jg-board { transform: none; }
	.jg-rail ol { grid-template-columns: 1fr 1fr; }
	.jg-foot-top { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	body { font-size: 16.5px; }
	.jg-logo-word { font-size: 17px; }
	.jg-cta { padding: 8px 12px; font-size: 14px; }
	.jg-menubtn { padding: 8px 10px; }
	.jg-menubtn span:last-child { display: none; }
	.jg-sheet { padding: 34px 14px 16px; border-width: 7px; }
	.jg-fld-a { margin-left: 0; }
	.jg-rail ol { grid-template-columns: 1fr; }
	.jg-head-sheet { padding: 20px 18px 18px; }
	.jg-part, .jg-faq, .jg-key, .jg-tool, .jg-toc, .jg-index { padding: 18px 16px; }
	.jg-filter input { min-width: 0; width: 100%; }
	.jg-filter { width: 100%; }
	.jg-form-sign { grid-template-columns: 1fr; }
	.sample { padding: 26px 16px 14px; }
}

/* print: only the tool, so the form or tracker prints clean */
@media print {
	.jg-top, .jg-foot, .jg-pagehead, .jg-toc, .jg-related, .jg-indexes, .jg-copy, .jg-t-row { display: none; }
	html.jg-print-tool .jg-article > :not(.jg-tool) { display: none; }
	html.jg-print-tool .jg-tool { border: 0; box-shadow: none; padding: 0; }
	html.jg-print-tool .jg-t-note { display: none; }
	body { background: #fff; }
	.jg-part, .jg-faq, .jg-key { box-shadow: none; border: 1px solid #ccc; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto; transition: none; } }
