/* Shared additions for the calculator and application subpages. */
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #087a70; outline-offset: 3px; }
.calculator-section { background: var(--cream); }
.tool-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: start; }
.tool-card { padding: 32px; border: 1px solid var(--line); border-radius: 24px; background: var(--white); }
.tool-card h3 { line-height: 1.4; }
.tool-card-accent { background: #eaf7f4; }
.tool-card .eyebrow { font-size: 14px; }
.fields-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; margin: 0 0 18px; min-width: 0; }
.fields-grid .field { margin-bottom: 0; }
.field label { font-size: 14px; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; min-height: 50px; padding: 11px 13px; border: 1px solid #bac8ce; border-radius: 10px; background: white; color: var(--ink); font-size: 16px; }
.field textarea { min-height: 125px; resize: vertical; }
.field-help, .tool-note { color: #526771; font-size: 14px; line-height: 1.7; }
.tool-card > .field-help { margin: 12px 0 22px; }
.optional { font-weight: 400; }
.check-row { display: flex; align-items: flex-start; gap: 11px; margin: 20px 0; font-size: 14px; line-height: 1.65; }
.check-row input { flex-shrink: 0; width: 18px; height: 18px; margin: 3px 0 0; accent-color: #087a70; }
.check-row a, .text-link { color: #087a70; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.btn-dark { background: var(--navy-900); color: white; }
.btn-dark:hover { background: var(--navy-800); }
.wide-btn { width: 100%; }
.visa-history { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.tool-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.count-badge { padding: 4px 10px; border-radius: 99px; background: var(--teal-pale); color: #075c55; font-size: 14px; white-space: nowrap; }
.visa-list { list-style: none; margin: 0; padding: 0; }
.visa-list li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.visa-list strong, .visa-list small { display: block; }
.visa-list small { font-size: 14px; color: var(--muted); }
.remove-visa { min-height: 44px; padding: 6px 12px; border: 1px solid #b8c9cc; border-radius: 8px; background: white; color: #8b2424; font-size: 14px; }
.result-box { margin-top: 22px; padding: 20px; border: 1px solid #b2d5cd; border-radius: 14px; background: white; }
.result-box strong { display: block; margin-bottom: 10px; font: 800 1.3rem/1.4 Manrope, sans-serif; }
.result-box p + p { margin-top: 10px; }
.result-box p { font-size: 14px; }
.tool-note { margin: 24px 0 12px; }
.tool-card-accent > .field-help { margin: 16px 0 0; }
.form-error { color: #ad2626; font-size: 14px; margin: 12px 0; }
.form-error:empty { display: none; }
.subpage-main { min-height: 78vh; padding: 138px 0 80px; background: var(--cream); }
.subpage-heading { max-width: 720px; margin-bottom: 38px; }
.subpage-heading h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
.subpage-heading > p:last-child { color: var(--muted); margin-top: 20px; }
.application-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: start; }
.application-card .field { margin-top: 20px; margin-bottom: 0; }
.contact-sidebar { padding: 32px; border-radius: 24px; background: var(--navy-900); color: white; }
.contact-sidebar p { margin: 18px 0; color: #c8d6dc; }
.sidebar-contact { display: grid; gap: 14px; margin: 22px 0; overflow-wrap: anywhere; }
.sidebar-contact a { text-decoration: underline; text-underline-offset: 4px; }
.notice-box { border-radius: 14px; padding: 18px; margin-top: 22px; background: #f0f6f4; font-size: 14px; line-height: 1.7; }
.notice-box a { color: #087a70; text-decoration: underline; }
.contact-meta a { overflow-wrap: anywhere; }
.form-status { margin-top: 18px; font-size: 14px; }
.honey-field { display: none; }
.document-card { max-width: 820px; }
.document-card h2 { font-size: 1.25rem; margin: 26px 0 12px; }
.document-card p + p { margin-top: 14px; }
.document-card ul { padding-left: 22px; }
.document-card a:not(.btn) { text-decoration: underline; color: #087a70; overflow-wrap: anywhere; }
.success-mark { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 20px; background: var(--teal-pale); color: #087a70; font-size: 30px; margin-bottom: 24px; }
.success-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (min-width: 981px) { #main-nav { gap: 18px; } .navbar { gap: 18px; } .nav-link { font-size: 14px; } .header-cta { font-size: 14px; padding-inline: 16px; } }
@media (max-width: 980px) { .tool-layout, .application-layout { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .fields-grid { grid-template-columns: 1fr; } .tool-card, .contact-sidebar { padding: 24px 20px; } .subpage-main { padding-top: 118px; } .tool-heading { align-items: flex-start; } .success-actions { flex-direction: column; } }
