/* JD HR Solutions: free HR tools. Extends styles.css. */

.tool-hero { padding-bottom: 2rem; }
.tool-hero .lead { max-width: 44rem; }

/* ---------- Hub ---------- */
.tool-grid { align-items: stretch; }
.tool-card { position: relative; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.tool-card:hover { transform: translateY(-3px); border-color: #cfe3df; box-shadow: 0 1px 0 rgba(16,38,46,.04), 0 22px 46px rgba(16,38,46,.09); }
.tool-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 18px; }
.tool-card p { margin: .2rem 0 .6rem; color: var(--muted); }
.tool-meta { margin-top: auto !important; display: flex; justify-content: space-between; gap: .5rem; font-size: .85rem; font-weight: 650; color: var(--teal-d) !important; }
.tool-status { background: #e7f3f1; color: var(--deep); border-radius: 999px; padding: .1rem .55rem; }
.tool-icon {
  width: 2.7rem; height: 2.7rem; border-radius: 12px; margin-bottom: .85rem;
  background: linear-gradient(140deg, #e7f3f1, #f4ece0); position: relative; display: block;
}
.tool-icon::after {
  content: ""; position: absolute; inset: .6rem; background: var(--teal);
  -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat;
}
[data-icon="check"]   { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-4.4-9-9.2C1.6 8.4 3.8 5 7.2 5c2 0 3.4 1.1 4.8 2.8C13.4 6.1 14.8 5 16.8 5c3.4 0 5.6 3.4 4.2 6.8C19 16.6 12 21 12 21z'/%3E%3Cpath d='M8 12h2.5l1.5-3 2 6 1.5-3H17'/%3E%3C/svg%3E"); }
[data-icon="people"]  { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='9' cy='8' r='3.2'/%3E%3Cpath d='M3 20c0-3.3 2.7-6 6-6s6 2.7 6 6'/%3E%3Ccircle cx='17' cy='9' r='2.4'/%3E%3Cpath d='M16.5 14.2c2.6.3 4.5 2.6 4.5 5.3'/%3E%3C/svg%3E"); }
[data-icon="trend"]   { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18'/%3E%3Cpath d='M7 15l4-4 3 3 5-6'/%3E%3Cpath d='M15 8h4v4'/%3E%3C/svg%3E"); }
[data-icon="scale"]   { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v18M7 21h10M4 7h16'/%3E%3Cpath d='M4 7l-2.5 6a3 3 0 0 0 5 0L4 7zM20 7l-2.5 6a3 3 0 0 0 5 0L20 7z'/%3E%3C/svg%3E"); }
[data-icon="swap"]    { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h14l-4-4M20 16H6l4 4'/%3E%3C/svg%3E"); }
[data-icon="calendar"]{ --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
[data-icon="clock"]   { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
[data-icon="doc"]     { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z'/%3E%3Cpath d='M14 3v6h6M8 13h8M8 17h5'/%3E%3C/svg%3E"); }

.resume-strip { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--brass); border-radius: 14px; padding: 1rem 1.1rem; margin-bottom: 2rem; }
.resume-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.resume-list a { background: var(--sand); border-radius: 999px; padding: .4rem .85rem; text-decoration: none; font-weight: 650; color: var(--navy); font-size: .95rem; }
.resume-list a:hover { background: #ece4d5; }
.trust-tools > div { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.1rem 1.2rem; }
.trust-tools p { margin: 0; color: var(--muted); }

/* ---------- Health check ---------- */
.hc-layout { display: grid; gap: 1.5rem; }
.hc { gap: 1.2rem; }
.hc-progress { position: sticky; top: 4.4rem; z-index: 5; background: rgba(251,249,245,.94); backdrop-filter: blur(8px); padding: .6rem 0; }
.hc-progress p { margin: .35rem 0 0; font-size: .88rem; font-weight: 650; color: var(--muted); }
.hc-progress-bar { height: .5rem; background: var(--line); border-radius: 999px; overflow: hidden; }
.hc-progress-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--teal), #3aa597); border-radius: 999px; transition: width .3s ease; }
.hc-cat { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 1.2rem 1.25rem .4rem; }
.hc-cat > header { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: .4rem; }
.hc-cat h2 { font-size: 1.45rem; margin: 0; }
.hc-cat .hc-cat-count { font-size: .85rem; color: var(--muted); font-weight: 650; white-space: nowrap; }
.hc-q { border-top: 1px solid var(--line); padding: .95rem 0 1rem; display: grid; gap: .6rem; }
.hc-q:first-of-type { border-top: 0; }
.hc-q p { margin: 0; font-weight: 600; line-height: 1.45; }
.hc-q small { display: block; font-weight: 450; color: var(--muted); margin-top: .2rem; font-size: .92rem; }
.seg { display: inline-flex; flex-wrap: wrap; gap: .4rem; }
.seg label { position: relative; font-weight: 650; font-size: .93rem; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: inline-block; padding: .45rem .95rem; border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper); cursor: pointer; color: var(--navy); transition: all .15s ease; }
.seg label:hover span { border-color: var(--teal); }
.seg input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.seg input[value="2"]:checked + span { background: var(--teal); border-color: var(--teal); color: #fff; }
.seg input[value="1"]:checked + span { background: var(--brass-soft); border-color: #d8b98a; color: #4e3e22; }
.seg input[value="0"]:checked + span { background: #f3dfd7; border-color: #d9a594; color: #6b2c1a; }
.hc-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.hc-result { background: var(--deep); color: #e7eef0; border-radius: 22px; padding: 1.5rem 1.4rem; }
.hc-result h2, .hc-result h3 { color: #fff; }
.hc-result p { color: #d5e2e4; }
.hc-result .result-kicker { color: #e7c48a; }
.score-wrap { display: flex; align-items: center; gap: 1.3rem; flex-wrap: wrap; margin-bottom: 1rem; }
.ring { --p: 0; --c: #3aa597; width: 8.5rem; height: 8.5rem; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--c) calc(var(--p) * 1%), rgba(255,255,255,.1) 0); flex: none; }
.ring > div { width: 6.9rem; height: 6.9rem; border-radius: 50%; background: var(--deep); display: grid; place-items: center; text-align: center; }
.ring strong { font-family: var(--serif); font-size: 2.6rem; font-weight: 560; color: #fff; line-height: 1; letter-spacing: -.03em; }
.ring span { font-size: .78rem; color: #c5d5d8; }
.score-label h2 { margin: 0 0 .3rem; font-size: 1.6rem; }
.score-label p { margin: 0; max-width: 28rem; }
.bars { display: grid; gap: .55rem; margin: 1.2rem 0 1.4rem; }
.bar-row { display: grid; grid-template-columns: minmax(8rem, 12rem) 1fr 2.8rem; gap: .7rem; align-items: center; font-size: .93rem; }
.bar-row .track { height: .55rem; background: rgba(255,255,255,.12); border-radius: 999px; overflow: hidden; }
.bar-row .fill { height: 100%; border-radius: 999px; }
.bar-row b { text-align: right; color: #fff; }
.fixes { counter-reset: f; list-style: none; padding: 0; margin: .6rem 0 0; display: grid; gap: .7rem; }
.fixes li { counter-increment: f; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: .85rem 1rem .9rem 3.1rem; position: relative; }
.fixes li::before { content: counter(f); position: absolute; left: .95rem; top: .85rem; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: #e7c48a; color: #3d2c10; font-weight: 800; display: grid; place-items: center; font-size: .85rem; }
.fixes strong { color: #fff; display: block; }
.fixes span { color: #c5d5d8; font-size: .94rem; }
.fixes .pill { display: inline-block; margin-top: .4rem; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #f0d7a8; }
.hc-result .btn.ghost { color: #f6f1e7; border-color: rgba(246,241,231,.8); }
.hc-result .btn.ghost:hover { background: rgba(255,255,255,.08); }
.hc-result .buyrow { margin-top: 1.3rem; }
.hc-result .history { font-size: .9rem; color: #c5d5d8; margin-top: 1rem; }
.hc-cta { margin-top: 1.4rem; padding: 1.1rem 1.15rem; border-radius: 16px; background: #f6f1e7; color: var(--ink); }
.hc-cta h3 { color: var(--navy); margin-bottom: .3rem; }
.hc-cta p { color: var(--muted) !important; margin: 0 0 .8rem; }

/* ---------- Headcount ---------- */
.law-list { list-style: none; padding: 0; margin: .4rem 0 0; display: grid; gap: .45rem; }
.law-list li { display: grid; grid-template-columns: 3.2rem 1fr; gap: .7rem; align-items: start; border-top: 1px solid rgba(255,255,255,.12); padding-top: .5rem; }
.law-list .n { font-family: var(--serif); font-size: 1.15rem; color: #e7c48a; }
.law-list strong { color: #fff; display: block; }
.law-list span { color: #c5d5d8; font-size: .92rem; }
.next-up { background: #e7c48a; color: #3d2c10; border-radius: 14px; padding: .8rem .95rem; margin: .8rem 0 1rem; font-weight: 600; }
.next-up b { font-family: var(--serif); font-size: 1.15rem; }
.ladder { margin: 2rem 0 0; display: grid; gap: .6rem; }
.rung { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .85rem 1rem; }
.rung .n { font-family: var(--serif); font-size: 1.6rem; color: var(--navy); line-height: 1.1; }
.rung .n small { display: block; font-family: var(--sans); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.rung.on { border-left: 4px solid var(--teal); }
.rung.next { border-left: 4px solid var(--brass); background: #fdf8ef; }
.rung.off { opacity: .62; }
.rung ul { margin: 0; padding-left: 1.1rem; }
.rung li { margin: .15rem 0; }
.rung .badge { display: inline-block; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: .1rem .5rem; border-radius: 999px; margin-left: .4rem; vertical-align: middle; }
.rung.on .badge { background: #e7f3f1; color: var(--teal-d); }
.rung.next .badge { background: var(--brass-soft); color: var(--warn); }

/* ---------- Logs / rosters ---------- */
.tov-log-card { margin-top: 1rem; }
.mini-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.mini-table th, .mini-table td { text-align: left; padding: .45rem .3rem; border-bottom: 1px solid var(--line); }
.mini-table th { color: var(--muted); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; }
.mini-table button { font: inherit; font-size: .85rem; background: none; border: 0; color: var(--teal-d); cursor: pointer; text-decoration: underline; padding: 0; }
.spark { display: flex; align-items: flex-end; gap: 4px; height: 70px; margin: .4rem 0 .8rem; }
.spark span { flex: 1; background: var(--teal); border-radius: 4px 4px 0 0; min-height: 3px; position: relative; }
.verdict { display: inline-block; font-weight: 800; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; padding: .15rem .55rem; border-radius: 999px; }
.v-ok { background: #e7f3f1; color: var(--teal-d); }
.v-warn { background: var(--brass-soft); color: var(--warn); }
.v-bad { background: #f3dfd7; color: #6b2c1a; }
.calc-result .verdict { margin-bottom: .5rem; }

@media (min-width: 960px) {
  .hc-layout { grid-template-columns: 1fr; }
  .hc-result { position: relative; }
}
@media (max-width: 560px) {
  .bar-row { grid-template-columns: 7rem 1fr 2.4rem; }
  .ring { width: 7rem; height: 7rem; } .ring div { width: 5.7rem; height: 5.7rem; } .ring strong { font-size: 2.1rem; }
}
@media print {
  .hc-progress, .hc-actions, .hc .hc-cat, .hc-result .buyrow, .hc-cta, .disclosure { display: none !important; }
  .hc-result { background: #fff; color: #000; border: 1px solid #ccc; }
  .hc-result *, .fixes span { color: #000 !important; }
  .ring div { background: #fff; }
}
@media (prefers-reduced-motion: reduce) {
  .tool-card, .hc-progress-bar span { transition: none; }
  .tool-card:hover { transform: none; }
}

/* keep tool forms from stretching to match tall results */
.grid.two > .calc { align-self: start; }

/* ---------- batch 2 ---------- */
[data-icon="money"] { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Crect x='2' y='6' width='20' height='12' rx='2'/%3E%3Ccircle cx='12' cy='12' r='2.6'/%3E%3Cpath d='M6 9.5v5M18 9.5v5'/%3E%3C/svg%3E"); }
[data-icon="pen"]   { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4z'/%3E%3C/svg%3E"); }
[data-icon="alert"] { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z'/%3E%3Cpath d='M12 11v4M12 18h.01'/%3E%3C/svg%3E"); }
[data-icon="chat"]  { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-11.6 7.1L4 20l1.2-4.6A8 8 0 1 1 21 12z'/%3E%3Cpath d='M9.5 9.5a2.5 2.5 0 1 1 3.5 2.3c-.6.3-1 .9-1 1.6M12 16h.01'/%3E%3C/svg%3E"); }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.cal-layout { display: grid; gap: 1.5rem; align-items: start; }
.cal-settings h3 { margin: 0; }
.cal-count { font-family: var(--serif); font-size: 1.35rem; color: var(--navy); margin: 0 0 .4rem; }
.cal-month { font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; font-family: var(--sans); color: var(--brass); margin: 1.6rem 0 .6rem; }
.cal-items { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.cal-item { display: grid; grid-template-columns: auto 3.2rem 1fr auto; gap: .9rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .8rem 1rem; box-shadow: var(--shadow); }
.cal-item.is-soon { border-left: 4px solid var(--brass); }
.cal-item.is-done { opacity: .55; }
.cal-item.is-done strong { text-decoration: line-through; }
.cal-check input { width: 1.2rem; height: 1.2rem; accent-color: var(--teal); margin: 0; }
.cal-date { text-align: center; line-height: 1.1; }
.cal-date b { display: block; font-family: var(--serif); font-size: 1.6rem; color: var(--navy); font-weight: 560; }
.cal-date span { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.cal-body strong { display: block; color: var(--navy); }
.cal-body span { display: block; color: var(--muted); font-size: .93rem; }
.cal-tag { display: inline-block; margin-top: .3rem; font-style: normal; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--teal-d); }
.cal-add { font: inherit; font-size: .85rem; font-weight: 650; background: var(--mint, #e3f1ee); color: var(--teal-d); border: 0; border-radius: 999px; padding: .35rem .7rem; cursor: pointer; white-space: nowrap; }
.cal-add:hover { background: #d3ebe6; }

.builder { align-items: start; }
.builder-out { display: grid; gap: 1rem; position: sticky; top: 5rem; }
.builder textarea { min-height: 0; }
.builder small { font-weight: 450; color: var(--muted); }
.jd-phys { display: grid; gap: .35rem; }
.tips { padding: 1rem 1.15rem; }
.tips .eyebrow { margin-bottom: .4rem; }
.tips ul { margin: 0; padding-left: 1.1rem; }
.tips li { margin: .25rem 0; font-size: .95rem; }
.doc-preview { background: #fff; border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 18px 40px -20px rgba(16,38,46,.3); padding: 2rem 2.1rem; max-height: 34rem; overflow: auto; }
.jd-doc { font-family: Georgia, "Iowan Old Style", serif; font-size: .98rem; line-height: 1.55; color: #1c1915; }
.jd-doc h1 { font-size: 1.6rem; margin: 0 0 .6rem; letter-spacing: -.01em; }
.jd-doc h2 { font-family: var(--sans); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--brass); margin: 1.2rem 0 .3rem; }
.jd-doc table { border-collapse: collapse; width: 100%; font-size: .93rem; }
.jd-doc td { padding: .2rem 0; vertical-align: top; border-bottom: 1px dotted var(--line); }
.jd-doc td:first-child { width: 38%; color: var(--muted); }
.jd-doc ul { margin: .2rem 0; padding-left: 1.2rem; }
.jd-doc .sig { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.jd-doc .sig div { border-top: 1px solid #333; padding-top: .3rem; font-size: .8rem; color: var(--muted); }
.wu-flag { margin: .35rem 0; font-size: .95rem; }
.wu-flag .verdict { margin-right: .35rem; }
#iq-result { margin-top: .4rem; }
#iq-result p { margin: .2rem 0; }
#iq-result .note { color: #c5d5d8; }
.iq-bank { display: grid; gap: .5rem; }
.iq-row { display: grid; grid-template-columns: 7.5rem 1fr; gap: .9rem; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .75rem 1rem; }
.iq-row .verdict { justify-self: start; }
.iq-row strong { display: block; color: var(--navy); }
.iq-row span { display: block; color: var(--muted); font-size: .93rem; margin-top: .15rem; }
@media (min-width: 960px) { .cal-layout { grid-template-columns: 19rem 1fr; } .cal-settings { position: sticky; top: 5rem; } }
@media (max-width: 760px) { .builder-out { position: static; } .iq-row { grid-template-columns: 1fr; gap: .3rem; } .cal-item { grid-template-columns: auto 2.6rem 1fr; } .cal-add { grid-column: 3; justify-self: start; } .doc-preview { padding: 1.2rem; } }
@media print { .cal-settings, .cal-add, .cal-check { display: none !important; } }
.builder input, .builder textarea, .builder select { font-weight: 400; }

/* ---------- guides ---------- */
.guide-hero { padding: 3rem 0 2.2rem; background: radial-gradient(700px 300px at 100% 0%, rgba(47,154,143,.14), transparent 60%), linear-gradient(180deg, #f5efe3, var(--paper)); border-bottom: 1px solid rgba(228,221,208,.7); }
.guide-head > * { max-width: 860px; }
.guide-head h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); line-height: 1.07; margin-bottom: .8rem; }
.crumbs { display: flex; gap: .5rem; align-items: center; font-size: .88rem; font-weight: 650; margin-bottom: 1.1rem; color: var(--muted); }
.crumbs a { text-decoration: none; color: var(--teal-d); }
.crumbs a:hover { text-decoration: underline; }
.guide-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin: 1rem 0 0; font-size: .9rem; color: var(--muted); font-weight: 600; }
.guide-meta span::before { content: ""; display: inline-block; width: .42rem; height: .42rem; border-radius: 50%; background: var(--brass); margin-right: .5rem; vertical-align: middle; }
.guide-section { padding: 2.6rem 0 4rem; }
.guide-grid { display: grid; gap: 2rem; }
.guide { max-width: 760px; min-width: 0; }
.guide > h2 { font-size: 1.65rem; margin: 2.4rem 0 .7rem; scroll-margin-top: 5.5rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.guide h3 { font-size: 1.15rem; }
.guide .tbl { font-size: .95rem; }
.guide ul:not(.plain):not(.steps) { padding-left: 1.2rem; }
.short-answer { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--teal); border-radius: 16px; padding: 1.2rem 1.35rem; box-shadow: var(--shadow); margin: 0 0 1.6rem; }
.short-answer .eyebrow { margin-bottom: .5rem; }
.short-answer ul { margin: 0; padding-left: 1.15rem; }
.short-answer li { margin: .4rem 0; }
.short-answer .tbl { margin: .3rem 0 0; }
.short-answer > ul > li::marker { color: var(--teal); }
.guide-tool { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1rem; align-items: start; margin: 2.4rem 0 0; padding: 1.3rem 1.35rem; border-radius: 18px; background: linear-gradient(135deg, #e9f4f1, #f7f1e6); border: 1px solid #cfe3df; }
.guide-tool .tool-icon { margin: 0; }
.guide-tool h3 { margin: 0 0 .2rem; }
.guide-tool h3 a { color: var(--navy); text-decoration: none; }
.guide-tool p { margin: 0; color: var(--muted); }
.guide-tool .eyebrow { margin-bottom: .25rem; }
.guide-tool .btn { grid-column: 2; justify-self: start; margin-top: .6rem; }
.guide-disclaimer { margin-top: 2rem; font-size: .88rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 1rem; }
.guide .sources li { margin: .35rem 0; }
.guide-side { display: grid; gap: 1rem; align-content: start; }
.toc { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.1rem 1.15rem; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; counter-reset: t; }
.toc li { counter-increment: t; }
.toc a { display: flex; gap: .6rem; padding: .35rem .4rem; border-radius: 8px; text-decoration: none; color: var(--ink); font-size: .93rem; line-height: 1.35; }
.toc a::before { content: counter(t, decimal-leading-zero); color: var(--brass); font-weight: 700; font-size: .8rem; padding-top: .1rem; }
.toc a:hover { background: var(--sand); }
.side-cta { background: var(--deep); color: #d5e2e4; border-radius: 16px; padding: 1.2rem 1.2rem 1.3rem; }
.side-cta h3 { color: #fff; font-size: 1.15rem; margin: 0 0 .4rem; }
.side-cta p { font-size: .93rem; margin: 0 0 .9rem; }
.guide-cat { margin: 0 0 .35rem !important; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--brass) !important; }
.guide-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.guide-filter a { background: rgba(255,255,255,.75); border: 1px solid var(--line); border-radius: 999px; padding: .45rem .9rem; text-decoration: none; font-weight: 650; color: var(--navy); font-size: .93rem; }
.guide-filter a:hover { border-color: var(--teal); }
.guide-group { padding: 0 0 2.8rem; scroll-margin-top: 5rem; }
.guide-group-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .3rem 1rem; border-bottom: 1px solid var(--line); margin-bottom: 1.1rem; }
.guide-group-head h2 { margin: 0 0 .5rem; font-size: 1.7rem; }
.guide-group-head p { margin: 0 0 .6rem; color: var(--muted); }
.guide-card-meta { margin-top: auto !important; padding-top: .6rem; font-size: .82rem; font-weight: 650; color: var(--teal-d) !important; }
@media (min-width: 1040px) {
  .guide-grid { grid-template-columns: minmax(0, 1fr) 17.5rem; gap: 3.5rem; }
  .guide-side { position: sticky; top: 5.5rem; }
}
@media (max-width: 1039px) { .guide-side .toc { display: none; } }
@media print { .guide-side, .crumbs, .guide-tool .btn { display: none !important; } }
.guide-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.guide-row { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; padding: 1rem 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .15s ease, border-color .15s ease; }
.guide-row:hover { transform: translateX(3px); border-color: #cfe3df; }
.gr-main strong { display: block; font-family: var(--serif); font-weight: 560; font-size: 1.15rem; color: var(--navy); letter-spacing: -.01em; }
.gr-main span { display: block; color: var(--muted); font-size: .93rem; margin-top: .15rem; }
.gr-meta { flex: none; font-size: .8rem; font-weight: 700; color: var(--teal-d); background: var(--mint, #e3f1ee); border-radius: 999px; padding: .3rem .7rem; white-space: nowrap; }
.guide-row::after { content: "\2192"; color: var(--brass); font-weight: 700; }
@media (max-width: 640px) { .guide-row { flex-wrap: wrap; } .gr-meta { order: 3; } .guide-row::after { display: none; } }
