.public-tools-page {background:var(--navy);color:#fff}
.tools-shell {width:min(1120px,calc(100% - 2.5rem));margin:0 auto;padding-bottom:4rem}
.tools-hero {max-width:850px;padding:4.5rem 0 2.5rem}
.tools-hero h1 {font-size:clamp(2.15rem,5vw,4rem);line-height:1.06;letter-spacing:-.045em;margin:1rem 0 1.4rem}
.tools-hero>p:last-child {color:#b8c9da;font-size:1.15rem;line-height:1.7;max-width:720px}
.tools-back {display:inline-block;color:var(--sky);font-size:.9rem;margin-bottom:1.5rem}
.tools-cards,.tools-workspace {display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}
.tool-card,.tool-panel,.tool-result,.airport-result-card {border:1px solid #284056;border-radius:1.5rem;background:#0c1e30;padding:2rem;min-width:0}
.tool-card {display:flex;align-items:flex-start;flex-direction:column;gap:.9rem;transition:border-color .15s,transform .15s}
.tool-card:hover {border-color:var(--sky);transform:translateY(-3px)}
.tool-card h2 {font-size:1.65rem;margin:0}.tool-card p {color:#b8c9da;line-height:1.7}.tool-card strong {color:var(--sky);margin-top:auto}
.tools-form {display:grid;gap:1.25rem}.tools-form label,.tools-search label {display:grid;gap:.6rem;font-weight:650;font-size:.92rem;min-width:0}
.tools-form input:not([type=checkbox]),.tools-search input,.tools-search select {width:100%;min-width:0;padding:.95rem;border:1px solid #48627b;border-radius:.75rem;background:#06111f;color:white;font-size:1rem}
.tools-form input::placeholder,.tools-search input::placeholder {color:#a7b8c8;opacity:1}
.tool-airport-fields {display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.tool-help {color:#a7b8c8;font-size:.85rem;line-height:1.65;margin:0}
.tools-form details {border-top:1px solid #284056;padding-top:1rem}.tools-form summary {cursor:pointer;color:var(--sky);padding:.2rem 0 1rem}
.tools-form .tool-check {display:flex;align-items:flex-start;gap:.7rem;line-height:1.5}.tool-check input {width:1.15rem;height:1.15rem;flex:none;accent-color:var(--sky)}
.tools-form .btn {width:100%;gap:.7rem}.tool-error {border:1px solid #fc9b9b;background:#3b1c25;padding:1rem;border-radius:.8rem;line-height:1.5;margin-top:1.25rem;color:#ffdddd}
.tool-result {background:linear-gradient(145deg,#103448,#0b1a2a);display:flex;flex-direction:column;justify-content:center;gap:.6rem}
.tool-result h2 {font-size:clamp(2.8rem,6vw,4.3rem);letter-spacing:-.04em;margin:0}.tool-result h2 span {font-size:1.5rem;color:#a5dff8}.tool-result>p {color:#c4d6e4;line-height:1.6}
.tool-result .btn {margin-top:1rem;align-self:flex-start}.tool-result>a:not(.btn) {color:var(--sky);line-height:1.6}
.tool-result:has(.tool-empty-icon) h2 {font-size:2rem}.tool-empty-icon .ui-icon {width:3rem;height:3rem;color:var(--sky);margin-bottom:1rem}
.tool-legs {list-style:none;margin:.25rem 0 1rem;padding:0}.tool-legs li {display:flex;justify-content:space-between;gap:1rem;border-bottom:1px solid #355367;padding:.8rem 0}.tool-legs small {display:block;margin-top:.4rem;color:#b8c9da;font-size:.8rem}.tool-legs b {white-space:nowrap}
.tools-explainer {margin-top:2.5rem;padding:2rem 0;max-width:850px}.tools-explainer h2 {font-size:1.65rem}.tools-explainer h3 {margin-top:2rem}.tools-explainer p {color:#b8c9da;line-height:1.85}.tools-explainer a:not(.btn) {color:var(--sky);text-decoration:underline;text-underline-offset:3px}
.tools-search {display:grid;grid-template-columns:1.5fr 1fr auto;gap:1rem;align-items:end}.tools-search button {min-height:51px}
.tool-results-heading {display:flex;justify-content:space-between;align-items:center;gap:1rem;margin:2rem 0 1rem}.tool-results-heading h2 {font-size:1.3rem;margin:0}.tool-results-heading span {color:#a7b8c8;font-size:.85rem}
.airport-result-grid {display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}.airport-result-card {padding:1.4rem;display:flex;flex-direction:column;align-items:flex-start}
.airport-code {font-weight:850;letter-spacing:.1em;color:var(--sky);border:1px solid #345f78;background:#12334a;border-radius:.6rem;padding:.5rem .8rem;margin-bottom:1rem}.airport-result-card h3 {font-size:1.1rem;margin-bottom:.5rem}.airport-result-card p {font-size:.9rem;line-height:1.6;color:#c0d0df;overflow-wrap:anywhere}.airport-result-card>span {font-size:.82rem;color:#9eb4c8;margin-bottom:1.2rem}.airport-result-card>a {font-size:.85rem;color:var(--sky);line-height:1.6;margin-top:auto}
.article-tool-link {border:1px solid #a0d8f6;background:#f0f9ff;border-radius:1rem;padding:1.25rem;margin:2rem 0}.article-tool-link h2 {margin-top:0!important}.article-tool-link a {text-decoration:underline}
@media(max-width:1050px) and (min-width:901px){.public-header nav {gap:.8rem;font-size:.82rem}}
@media(max-width:800px){.tools-workspace {grid-template-columns:1fr}.tools-search {grid-template-columns:1fr 1fr}.tools-search button {grid-column:1/-1}.airport-result-grid {grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.tools-shell {width:calc(100% - 2rem)}.tools-hero {padding:2.5rem 0 1.5rem}.tools-cards,.tool-airport-fields,.tools-search,.airport-result-grid {grid-template-columns:1fr}.tool-card,.tool-panel,.tool-result {padding:1.35rem}.tools-hero h1 {font-size:2.2rem}.tools-hero>p:last-child {font-size:1rem}.tools-explainer {margin-top:1rem}.tool-legs li {font-size:.9rem}.tool-results-heading {align-items:flex-start}.tool-results-heading span {text-align:right}}
@media(prefers-reduced-motion:reduce){.tool-card {transition:none}.tool-card:hover {transform:none}}
