/* Working resources share the publication's typography and open, ruled layout. */
.tool-page--working .tool-hero { padding: 42px 0 44px; }
.tool-page--working .tool-hero .container { max-width: 1180px; }
.tool-page--working .tool-hero h1 { font-size: clamp(38px, 4.5vw, 60px); line-height: 1.1; letter-spacing: -.025em; }
.tool-page--working .tool-hero p:not(.eyebrow) { max-width: 64ch; font-size: 18px; line-height: 1.65; }
.tool-page--working .topic-back { display: inline-block; margin-bottom: 24px; }
.tool-workspace { width: 100%; max-width: 1180px; padding: 44px 28px 72px; margin-inline: auto; }
.tool-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(260px, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.tool-workspace h2 { font-size: clamp(25px, 3vw, 32px); line-height: 1.25; margin: 0 0 18px; }
.tool-workspace h3 { font-size: 23px; }
.tool-workspace p { line-height: 1.7; }
.tool-workspace :is(input,select,textarea) { font: inherit; color: var(--ink); background: #fffdfa; border: 1px solid #9caaa9; border-radius: 4px; max-width: 100%; }
.tool-workspace :is(input:not([type=checkbox]):not([type=radio]),select,textarea) { padding: 12px; min-height: 46px; width: 100%; }
.tool-workspace :is(input[type=checkbox],input[type=radio]) { accent-color: var(--teal); width: 18px; height: 18px; flex-shrink: 0; }
.tool-workspace :is(input,select,textarea,button,a):focus-visible { outline: 3px solid #b95138; outline-offset: 4px; }
.tool-field { display: grid; gap: 8px; margin-bottom: 22px; }
.tool-field label { font-weight: 600; }
.tool-field small { color: #555; font-size: 14px; line-height: 1.5; }
.tool-button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 11px 20px; border: 1px solid var(--teal); border-radius: 5px; background: var(--teal); color: #fff; font: 600 15px/1.4 var(--font-body); cursor: pointer; text-decoration: none; transition: background-color .2s, color .2s, transform .2s; }
.tool-button:hover { background: #173c46; color: #fff; }
.tool-button:active { transform: translateY(1px); }
.tool-button--secondary { background: transparent; color: var(--teal); }
.tool-button--secondary:hover { background: #e1ece7; color: var(--teal); }
.tool-button:disabled { opacity: .55; cursor: not-allowed; }
.tool-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }
.tool-note { border-left: 3px solid var(--coral); padding: 0 0 0 20px; margin: 24px 0; font-size: 15px; line-height: 1.7; }
.tool-result { border-top: 3px solid var(--teal); padding-top: 24px; }
.tool-sources { border-top: 1px solid var(--hairline); padding-top: 24px; margin-top: 40px; font-size: 15px; }
.tool-sources li { margin-bottom: 12px; line-height: 1.6; }
.tool-sources a { text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.tool-status-message { min-height: 1.7em; color: var(--teal); font-size: 14px; line-height: 1.7; }
.tool-eyebrow { color: var(--teal); font: 500 12px/1.6 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 760px) {
  .tool-layout { grid-template-columns: 1fr; }
  .tool-workspace { padding: 32px 20px 52px; }
  .tool-page--working .tool-hero { padding-block: 32px; }
  .tool-page--working .tool-hero p:not(.eyebrow) { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .tool-button { transition: none; } }
@media print {
  .tool-page--working .tool-hero { padding: 0 0 18px; background: none; }
  .tool-page--working .topic-back, .tool-actions, [data-no-print] { display: none !important; }
  .tool-workspace { max-width: none; padding: 0; }
  .tool-layout { display: block; }
  .tool-workspace { color: #111; }
}
