.pnd-tools-page { --pnd-accent: #16594d; --pnd-line: #d6dfda; --pnd-muted: #52635b; max-width: 100%; min-width: 0; color: #202b25; }
.pnd-tools-page *, .pnd-tools-page *::before, .pnd-tools-page *::after { box-sizing: border-box; }
.pnd-tools-page h1 { font-size: clamp(1.85rem, 4vw, 2.65rem); line-height: 1.18; margin: .4rem 0 1rem; overflow-wrap: anywhere; }
.pnd-tools-page h2 { font-size: 1.4rem; line-height: 1.35; margin: 0 0 .8rem; }
.pnd-tools-page p { line-height: 1.65; margin: 0 0 1rem; }
.pnd-tools-page a { color: var(--pnd-accent); }
.pnd-tools-page a:focus-visible, .pnd-tools-page button:focus-visible, .pnd-tools-page input:focus-visible, .pnd-tools-page summary:focus-visible, .pnd-tools-page textarea:focus-visible { outline: 3px solid #206faa; outline-offset: 3px; }
.pnd-page-header { margin-bottom: 1.8rem; }
.pnd-eyebrow { color: var(--pnd-muted); font: 600 .8rem/1.5 system-ui, sans-serif; letter-spacing: .03em; }
.pnd-lead { font-size: 1.1rem; max-width: 65ch; }
.pnd-breadcrumb { margin-bottom: 1.2rem; font-size: .9rem; }
.pnd-topics { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 1.8rem; }
.pnd-topics a { border: 1px solid var(--pnd-line); border-radius: 2rem; padding: .6rem .9rem; text-decoration: none; font: 500 .9rem/1.4 system-ui, sans-serif; }
.pnd-topics a[aria-current] { color: white; background: var(--pnd-accent); border-color: var(--pnd-accent); }
.pnd-tool-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 1.2rem; }
.pnd-tool-card { border: 1px solid var(--pnd-line); padding: 1.5rem; border-radius: .6rem; background: #fffefa; display: flex; flex-direction: column; }
.pnd-tool-card h2 a { text-decoration: none; }
.pnd-open-tool { font-weight: 600; margin-top: auto; padding-top: .8rem; }
.pnd-tool-meta { display: flex; flex-wrap: wrap; gap: .5rem 1rem; font: .85rem/1.5 system-ui, sans-serif; color: var(--pnd-muted); }
.pnd-widget { background: #f5f8f4; border: 1px solid var(--pnd-line); border-radius: .65rem; padding: clamp(1rem, 3vw, 1.8rem); margin: 2rem 0; font-family: system-ui, sans-serif; }
.pnd-widget [hidden] { display: none !important; }
.pnd-widget fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.pnd-widget legend { font-weight: 650; font-size: 1.1rem; margin: 0 0 1rem; padding: 0; }
.pnd-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.pnd-field label { display: block; font-weight: 600; margin: 0 0 .4rem; }
.pnd-field input, .pnd-copy textarea { display: block; width: 100%; background: white; color: #202b25; border: 1px solid #7a8d81; border-radius: .3rem; padding: .8rem; font: inherit; min-height: 46px; }
.pnd-field input[aria-invalid="true"] { border: 2px solid #9f2424; }
.pnd-preview, .pnd-error { display: block; font-size: .85rem; line-height: 1.5; overflow-wrap: anywhere; margin-top: .4rem; }
.pnd-preview { color: var(--pnd-muted); }
.pnd-error { color: #9f2424; font-weight: 600; }
.pnd-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.2rem 0 0; }
.pnd-widget button { border: 1px solid var(--pnd-accent); border-radius: .35rem; color: var(--pnd-accent); background: white; font: 600 .95rem/1.4 system-ui, sans-serif; padding: .7rem 1rem; cursor: pointer; min-height: 44px; }
.pnd-widget button[type="submit"] { background: var(--pnd-accent); color: white; }
.pnd-widget button:hover { background: #e3eee6; color: #113f36; }
.pnd-widget button:disabled { opacity: .55; cursor: default; }
.pnd-result:not(:empty) { border-top: 1px solid var(--pnd-line); padding-top: 1.3rem; margin-top: 1.3rem; overflow-wrap: anywhere; }
.pnd-result h2 { font-size: 1.2rem; }
.pnd-result p { margin-bottom: .5rem; }
.pnd-copy { margin-top: 1rem; }
.pnd-copy [role="status"] { margin: .5rem 0; }
.pnd-check-item { display: flex; align-items: flex-start; gap: .8rem; padding: 1rem 0; border-bottom: 1px solid var(--pnd-line); cursor: pointer; }
.pnd-check-item input { margin-top: .25rem; flex: 0 0 22px; width: 22px; height: 22px; accent-color: var(--pnd-accent); }
.pnd-check-item span span { display: block; font-size: .9rem; color: var(--pnd-muted); margin-top: .3rem; line-height: 1.6; }
.pnd-instructions, .pnd-note, .pnd-method, .pnd-privacy { margin: 2rem 0; }
.pnd-note { background: #fff9e9; border-left: 3px solid #a57a20; padding: 1.2rem; }
.pnd-note p:last-child { margin-bottom: 0; }
.pnd-method pre { white-space: pre-wrap; overflow-wrap: anywhere; padding: 1rem; font-size: .85rem; background: #f3f5f3; }
.pnd-method summary { cursor: pointer; color: var(--pnd-accent); }
@media (max-width: 540px) { .pnd-fields { grid-template-columns: 1fr; } .pnd-tool-card { padding: 1.2rem; } .pnd-actions button { flex: 1 1 auto; } }
