/* Utility-first layout: compact blue workbench with a quiet editorial shelf. */
.toolbox-home{padding-top:2rem;padding-bottom:3rem}.toolbox-home h1{font:750 clamp(1.7rem,3vw,2.7rem)/1.22 system-ui,sans-serif;letter-spacing:-.035em;margin:0 0 1rem;max-width:26ch}.toolbox-intro{display:grid;grid-template-columns:1fr auto;align-items:center;gap:1.5rem;margin-bottom:1.6rem}.toolbox-count{font:700 4rem/1 system-ui;color:#1453d4}.toolbox-count small{display:block;font-size:.875rem;letter-spacing:0;color:#45546a;margin-top:.5rem}.toolbox-search{display:block;background:#102954;color:white;padding:1.3rem;border-radius:14px;font:600 1rem/1.5 system-ui}.toolbox-search input{display:block;width:100%;background:white;color:#101820;padding:1rem;margin-top:.6rem;border:1px solid #cad5e7;border-radius:8px;font:400 1.125rem/1.4 system-ui}.toolbox-filters{display:flex;gap:.5rem;flex-wrap:wrap;margin:1.2rem 0}.toolbox-filters button{padding:.6rem .85rem;border:1px solid #c9d4e6;background:#fff;color:#18304f;border-radius:7px;font:500 .9375rem/1.4 system-ui}.toolbox-filters button[aria-pressed=true]{background:#1453d4;color:#fff;border-color:#1453d4}.toolbox-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.8rem}.toolbox-card{display:flex;flex-direction:column;gap:.6rem;padding:1.15rem;border:1px solid #d4dce8;border-radius:10px;background:#fff;text-decoration:none;min-height:134px;transition:border-color .15s,box-shadow .15s}.toolbox-card:hover{border-color:#1453d4;box-shadow:0 4px 18px #1d468512}.toolbox-card strong{font:650 1rem/1.5 system-ui;color:#13263d}.toolbox-card small{font:400 .875rem/1.45 system-ui;color:#58677e}.toolbox-card .tool-number{font:600 .8125rem/1.2 ui-monospace,monospace;color:#1453d4}.toolbox-grid [hidden]{display:none!important}.toolbox-editorial{margin-top:3rem;border-top:1px solid #cbd5e1;padding-top:1.5rem}.toolbox-editorial nav{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}.toolbox-editorial>nav>a{padding:1rem;background:#eef3fa;border-radius:8px;font-weight:600}.toolbox-work{max-width:900px;margin:2rem auto}.toolbox-work h1{font:750 clamp(1.7rem,3vw,2.4rem)/1.3 system-ui}.toolbox-work fieldset{border:0;padding:0;margin:0}.toolbox-work label{display:block;font:600 1rem/1.6 system-ui;margin:.8rem 0}.toolbox-work input,.toolbox-work textarea{width:100%;box-sizing:border-box;padding:.8rem;border:1px solid #b4c3d9;border-radius:7px;font:400 1rem/1.6 ui-monospace,monospace}.toolbox-work textarea{min-height:160px;resize:vertical}.toolbox-work [data-result]{background:#f0f5ff}.toolbox-work .toolbox-fields{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}.toolbox-actions{display:flex;flex-wrap:wrap;gap:.6rem;margin:.9rem 0}.toolbox-actions button{border-radius:6px;padding:.65rem 1rem;font:600 1rem/1.4 system-ui;border:1px solid #1453d4;background:#1453d4;color:white}.toolbox-actions button[type=reset],.toolbox-actions button[data-copy],.toolbox-actions button[data-download]{background:white;color:#1453d4}.toolbox-work pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#eef3fa;padding:1rem;border-left:3px solid #1453d4;font:400 1rem/1.7 ui-monospace,monospace}.toolbox-status{min-height:1.6em;color:#9f2319}.navigation .navlinks{flex-wrap:wrap}.navigation .navlinks>a:first-child{font-weight:750;color:#1453d4}.toolbox-home :focus-visible,.toolbox-work :focus-visible{outline:3px solid #e5a600;outline-offset:3px}.toolbox-topnote{color:#56667d;font-size:1rem}.toolbox-home .money-desk{margin-top:2rem}.toolbox-home .money-desk h1{font-size:1.6rem}
@media(max-width:1000px){.toolbox-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:700px){.toolbox-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.toolbox-count{font-size:2.8rem}.toolbox-editorial nav{grid-template-columns:1fr}.toolbox-work .toolbox-fields{grid-template-columns:1fr}.toolbox-card{padding:.9rem;min-height:125px}.toolbox-intro{gap:.6rem}}@media(max-width:380px){.toolbox-grid{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){.toolbox-card{transition:none}}

.toolbox-info{display:flex;flex-wrap:wrap;gap:1rem;padding:.6rem 0;font-size:.875rem;color:#56667d}

.home-news{margin-top:48px}.home-news-group{margin:28px 0}.home-news-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.home-news-heading h3{margin:0}.home-news-heading span,.home-news-card time{font-size:.8rem;color:#536477}.home-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.home-news-card{min-width:0;background:#fff;border:1px solid #dce4ec;border-radius:12px;overflow:hidden;padding:0 0 16px}.home-news-card img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;background:#eef2f6}.home-news-card h4,.home-news-card p,.home-news-card time{margin:12px 16px;display:block}.home-news-card h4{font-size:1.05rem;line-height:1.5}.home-news-card h4 a{color:#152b42;text-decoration:none}.home-news-card p{font-size:.9rem;line-height:1.65;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.news-credit{display:block;font-size:.65rem;line-height:1.4;color:#64748b;padding:5px 12px}.home-news-more{display:inline-block;margin-top:16px;font-weight:700}.home-news-card[hidden]{display:none}@media(max-width:760px){.home-news-grid{grid-template-columns:1fr}.home-news-heading{align-items:flex-start}.home-news-card img{max-height:230px}}

/* Keep card text in normal flow; button styling belongs only to shelf navigation. */
.home-news-card>a:first-child{display:block;padding:0;background:transparent;line-height:0}
.home-news-card h4 a{display:block;padding:0;background:transparent;border-radius:0;line-height:inherit;overflow-wrap:anywhere;word-break:normal}
.home-news-card .news-credit{padding:8px 16px;margin:0;background:transparent;border-radius:0;font-weight:400;overflow-wrap:anywhere;line-height:1.5}
.home-news-card h4{margin-top:10px;line-height:1.55;overflow-wrap:anywhere}
.home-news-card p{line-height:1.7}.home-news-heading>*{min-width:0;overflow-wrap:anywhere}.home-news-more{padding:0;background:transparent;border-radius:0;line-height:1.5}
.toolbox-card{min-width:0;overflow-wrap:anywhere}.toolbox-intro>div{min-width:0}.toolbox-info a,.navigation a{overflow-wrap:anywhere}.toolbox-work .toolbox-fields>*{min-width:0}
@media(max-width:420px){.toolbox-intro{grid-template-columns:minmax(0,1fr)}.toolbox-count{font-size:2rem}.home-news-heading{flex-wrap:wrap}}
