.th-hub{--th-blue:var(--blue,#0072ce);--th-ink:var(--ink,#1d2c39);--th-muted:var(--muted,#667887);--th-line:#dbe7f0;background:#f7fafc;color:var(--th-ink);padding-bottom:60px}
.th-hub [hidden]{display:none!important}
.th-intro{padding-top:44px;padding-bottom:28px}
.th-intro h1{max-width:950px;margin:0 0 16px;font-size:clamp(2rem,4vw,3.1rem);line-height:1.1;letter-spacing:-.04em;font-weight:600}
.th-intro>p:not(.eyebrow){max-width:none;width:100%;margin:0;color:var(--th-muted);font-size:16px;line-height:1.65}
.th-layout{display:grid;grid-template-columns:250px minmax(0,1fr);align-items:start;gap:24px}
.th-sidebar{border:1px solid var(--th-line);border-radius:16px;background:#fff;padding:19px 14px;position:sticky;top:102px}
.th-nav-group+.th-nav-group{margin-top:20px}
.th-nav-group h2{font-size:10px;line-height:1.4;text-transform:uppercase;letter-spacing:.11em;color:#6b8395;margin:0 10px 7px;font-weight:750}
.th-nav-group a{display:block;padding:10px 11px;border-radius:8px;border:1px solid transparent;color:#3b5567;font-size:13px;line-height:1.45;font-weight:650}
.th-nav-group a:hover{background:#f4f9fd;color:var(--th-blue)}
.th-nav-group a[aria-current=true]{background:#eaf5fd;border-color:#cce4f5;color:var(--th-blue)}
.th-local-note{margin:20px 10px 0;padding-top:15px;border-top:1px solid #e5eef4;color:#718593;font-size:11px;line-height:1.6}
.th-mobile-picker{display:none}
.th-workspace{min-width:0;padding:28px;border:1px solid var(--th-line);border-radius:18px;background:#fff;box-shadow:0 14px 40px rgba(22,67,101,.045)}
.th-tool-heading{padding-bottom:22px;margin-bottom:22px;border-bottom:1px solid #e5eef4}
.th-tool-category{margin:0 0 9px;color:var(--th-blue);font:750 10px/1.4 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.11em;text-transform:uppercase}
.th-tool-heading h2{margin:0 0 10px;font-size:clamp(23px,2.5vw,31px);line-height:1.15;letter-spacing:-.03em;font-weight:650;scroll-margin-top:115px}
.th-tool-heading>p:last-child{margin:0;color:var(--th-muted);font-size:14px;line-height:1.65;max-width:780px}
.th-hub .tc-panel--page{padding:0;border:0;border-radius:0;box-shadow:none;max-width:none;background:transparent}
.th-workspace .tdwg,.th-workspace .tdxf{padding:0;margin:0;border:0;border-radius:0}
.th-workspace .tdwg__header,.th-workspace .tdxf__header,.th-workspace .tc-tool-title{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.th-workspace .tdxf__report{grid-template-columns:1fr}
.th-workspace .tdxf__preview{max-height:260px}
.th-form{margin:0}
.th-field{display:flex;flex-direction:column;gap:7px;margin:0;min-width:0;color:#435d70;font-size:13px;line-height:1.45;font-weight:650}
.th-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:17px 20px;margin:19px 0 22px}
.th-field-full{grid-column:1/-1}
.th-inline-fields{display:flex;align-items:end;gap:16px;flex-wrap:wrap;margin:18px 0}
.th-inline-fields>.th-field{flex:1 1 180px;max-width:340px}
.th-hub input,.th-hub select,.th-hub textarea{font-family:inherit}
.th-form input,.th-form select,.th-form textarea,.th-mobile-picker select{display:block;width:100%;min-width:0;min-height:43px;padding:10px 12px;border:1px solid #c7dbe9;border-radius:8px;background:#fff;color:var(--th-ink);font-size:15px;line-height:1.45;font-weight:500;box-shadow:none}
.th-form textarea{margin-top:8px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px;resize:vertical;min-height:180px;max-height:480px}
.th-form input[aria-invalid=true],.th-form select[aria-invalid=true],.th-form textarea[aria-invalid=true]{border-color:#bc4638;background:#fffaf9}
.th-help{margin:10px 0;color:#6d8190;font-size:12px;line-height:1.6}
.th-button{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:43px;border:1px solid transparent;border-radius:8px;padding:11px 16px;font-size:13px;line-height:1.4;font-weight:750;cursor:pointer}
.th-button-primary{background:var(--th-blue);color:#fff}
.th-button-primary:hover{background:var(--blue-dark,#005aa3)}
.th-button-secondary{background:#fff;border-color:#c7dbe9;color:var(--th-blue)}
.th-button-secondary:hover{border-color:var(--th-blue);background:#f7fbfe}
.th-error,.th-notice{margin:16px 0;padding:11px 13px;border:1px solid #efcdb7;border-radius:8px;background:#fff4ec;color:#834322;font-size:13px;line-height:1.6}
.th-result{margin-top:22px;padding:19px;border:1px solid #cfe4f3;border-radius:12px;background:#f0f8fe;overflow-wrap:anywhere}
.th-result h3{margin:0 0 14px;color:#3d7196;font-size:11px;line-height:1.4;text-transform:uppercase;letter-spacing:.08em;font-weight:750}
.th-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:0}
.th-metrics dt{font-size:12px;color:#4c697d;line-height:1.4;margin-bottom:7px}
.th-metrics dd{margin:0;font-size:26px;line-height:1.2;letter-spacing:-.025em;font-weight:750;font-variant-numeric:tabular-nums}
.th-result p{margin:14px 0 0;color:#46647a;font-size:12px;line-height:1.6}
.th-coordinate-preview{display:block;width:100%;max-height:230px;margin-top:16px;border:1px solid #dcebf5;border-radius:8px;background:#fff}
.th-footnote{margin:18px 0 0;color:#708493;font-size:12px;line-height:1.6}
.th-hub a:focus-visible,.th-hub button:focus-visible,.th-hub input:focus-visible,.th-hub select:focus-visible,.th-hub textarea:focus-visible,.th-hub summary:focus-visible{outline:3px solid #87c7f4;outline-offset:3px}
@media(max-width:1050px){.th-layout{grid-template-columns:220px minmax(0,1fr);gap:18px}.th-workspace{padding:23px}.th-sidebar{padding:17px 10px}.th-nav-group a{font-size:12px}}
@media(max-width:800px){.th-hub{padding-bottom:38px}.th-intro{padding-top:32px;padding-bottom:21px}.th-intro>p:not(.eyebrow){font-size:14px}.th-layout{grid-template-columns:1fr;gap:16px}.th-sidebar{display:none}.th-mobile-picker{display:flex;flex-direction:column;gap:7px;color:#435d70;font-size:12px;font-weight:700}.th-mobile-picker select{font-size:16px}.th-workspace{padding:22px}.th-tool-heading{padding-bottom:19px;margin-bottom:19px}.th-tool-heading>p:last-child{font-size:13px}}
@media(max-width:480px){.th-workspace{padding:18px;border-radius:14px}.th-fields{grid-template-columns:1fr;gap:15px}.th-form input,.th-form select{font-size:16px}.th-button-primary{width:100%}.th-inline-fields{align-items:stretch}.th-inline-fields>.th-field{max-width:none;flex-basis:100%}.th-inline-fields>.th-button{width:100%}.th-result{padding:15px}.th-metrics{gap:13px}.th-metrics dd{font-size:23px}.th-tool-heading h2{font-size:24px}}
@media(prefers-reduced-motion:reduce){.th-hub *{scroll-behavior:auto!important;transition:none!important}}

@media(min-width:1141px){.th-sidebar{top:144px}.th-tool-heading h2{scroll-margin-top:144px}}
