/* ToxWriter profile-enrichment pilot: top service navigation and chemical identity */
.tw-profile-service-nav{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:13px 0 14px;padding:10px 11px;border:1px solid rgba(199,239,238,.24);background:rgba(255,255,255,.08);border-radius:13px}
.tw-profile-service-nav-label{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#cce7e9;font-weight:900}
.tw-profile-service-nav-links{display:flex;gap:7px;flex-wrap:wrap}
.tw-profile-service-nav a{display:inline-flex;align-items:center;justify-content:center;min-width:64px;padding:7px 12px;border-radius:999px;border:1px solid rgba(220,242,242,.36);background:rgba(255,255,255,.96);color:#163d4c;text-decoration:none;font-size:11px;font-weight:900}
.tw-profile-service-nav a[aria-current="page"]{background:#9dece5;border-color:#9dece5;color:#063c44;box-shadow:0 4px 14px rgba(0,0,0,.1)}
.tw-chemical-identity-top{margin:14px 0 15px;padding:15px 16px 13px;background:rgba(255,255,255,.97);border:1px solid #d7e5e8;border-radius:14px;color:#09283c;box-shadow:0 8px 22px rgba(0,0,0,.07);max-width:100%}
.tw-chemical-identity-header{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:9px}
.tw-chemical-identity-label{font-size:10px;font-weight:950;letter-spacing:.13em;text-transform:uppercase;color:#4f3aa9}
.tw-chemical-identity-source{font-size:11px;font-weight:850;color:#087d78;text-decoration:underline;text-underline-offset:3px}
.tw-chemical-identity-top dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 12px;margin:0}
.tw-chemical-identity-top dl>div{min-width:0;padding:7px 9px;border:1px solid #e2ecee;border-radius:9px;background:#f8fbfc}
.tw-chemical-identity-top dt{font-size:9px;line-height:1.35;text-transform:uppercase;letter-spacing:.08em;font-weight:900;color:#667e87;margin-bottom:4px}
.tw-chemical-identity-top dd{margin:0;font-size:13px;line-height:1.35;font-weight:850;overflow-wrap:anywhere;color:#09283c}
.tw-chemical-identity-note{margin:9px 0 0!important;font-size:11px!important;line-height:1.45!important;color:#526a75!important;max-width:none!important}
.tw-related-form-note{margin-top:8px!important}
.tw-profile-purpose{margin-top:7px!important;font-size:13px!important;line-height:1.5!important;color:#d8edf1!important}
.tw-reference-note{font-size:11px;color:#5a737c;flex-basis:100%;margin:0}
.tw-profile-reference-links{justify-content:flex-start}
.tw-profile-reference-links a{max-width:100%;line-height:1.35}
@media(max-width:760px){.tw-profile-service-nav{align-items:flex-start;flex-direction:column}.tw-profile-service-nav-links{width:100%}.tw-profile-service-nav a{flex:1;min-width:0}.tw-chemical-identity-top dl{grid-template-columns:repeat(2,minmax(0,1fr))}.tw-profile-reference-links{justify-content:flex-start}}
@media(max-width:420px){.tw-chemical-identity-top{padding:12px}.tw-chemical-identity-top dl{grid-template-columns:1fr}.tw-chemical-identity-top dd{font-size:12px}}

/* Review additions using the existing ToxWriter knowledge-card visual language. */
.tw-published-reading .section-head{margin-bottom:4px}
.tw-published-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:22px;max-width:1100px}
.tw-published-grid .knowledge-card{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.tw-published-grid .knowledge-card h3{line-height:1.35}
.tw-published-grid .knowledge-card .article-authors{font-size:13px;color:#5a717b;margin:0}
.tw-published-grid .knowledge-card .article-action{display:inline-block;margin-top:4px;font-weight:800;font-size:12px}
.tw-published-reading .article-note{margin:18px 0 0;color:#5a717b;font-size:13px;line-height:1.55}
@media(max-width:760px){.tw-published-grid{grid-template-columns:1fr}}

/* Release v2.2 accessibility and spacing refinements. */
.skip-link{position:absolute;left:12px;top:-100px;z-index:9999;padding:10px 14px;border-radius:8px;background:#fff;color:#12344d;border:2px solid #087e8b;font-weight:800;text-decoration:none}
.skip-link:focus{top:12px}
.tw-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.tw-chemical-identity-top{overflow-wrap:anywhere}
.profile-hero-request-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:12px 0 14px}
.profile-hero-request-actions .profile-email-fallback{flex-basis:100%;font-size:11px;line-height:1.45;color:#d8edf1}
.profile-hero-request-actions .btn{max-width:100%;white-space:normal}
@media(max-width:420px){.profile-hero-request-actions{align-items:stretch}.profile-hero-request-actions .btn{width:100%;justify-content:center}}
