:root {
  --ink: #202020;
  --muted: #666666;
  --pine: #b3192d;
  --pine-deep: #191919;
  --pine-soft: #fff0f1;
  --gold: #f4c400;
  --gold-pale: #fff6df;
  --canvas: #f8f7f5;
  --line: #e5e1dd;
  --white: #fff;
  --shadow: 0 20px 55px rgba(35, 20, 20, .09);
}
html { scroll-behavior: smooth; }
body { color: var(--ink); font-family: "Segoe UI", Inter, Arial, sans-serif; font-size: .96rem; }
a { color: #ae1b2c; }
a:hover { color: #861525; }
:focus-visible { outline: 3px solid #f4c400; outline-offset: 3px; }
.required::after { content: " *"; color: #c7192f; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 2000; background: var(--gold); color: var(--ink); padding: .65rem 1rem; border-radius: .6rem; }
.skip-link:focus { top: .5rem; }
.site-container { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.site-public { background: var(--canvas); }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.site-header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.site-brand { display: inline-flex; align-items: center; gap: .78rem; min-width: 0; color: var(--ink); }
.site-brand:hover { color: var(--ink); text-decoration: none; }
.site-brand img { width: 58px; height: 58px; object-fit: contain; flex: none; }
.site-brand span { display: flex; flex-direction: column; line-height: 1.25; }
.site-brand strong { font-size: 1.25rem; letter-spacing: -.04em; }
.site-brand em { font-style: normal; color: #b3192d; }
.password-field { display: block; position: relative; width: 100%; }
.password-field .form-control { padding-right: 5.5rem; }
.password-toggle { position: absolute; top: 50%; right: .35rem; transform: translateY(-50%); border: 0; border-radius: .3rem; background: transparent; color: #9b1729; padding: .25rem .45rem; font-size: .78rem; font-weight: 700; cursor: pointer; }
.password-toggle:hover, .password-toggle:focus-visible { background: #fff1f2; color: #71101e; }
.site-brand small { font-size: .7rem; color: var(--muted); letter-spacing: .005em; }
.site-nav { display: flex; align-items: center; gap: 1.8rem; white-space: nowrap; }
.site-nav a { font-size: .9rem; font-weight: 650; color: var(--ink); }
.site-nav a:hover { text-decoration: none; color: #a91a2b; }
.site-nav .nav-contact { display: inline-flex; align-items: center; gap: .4rem; color: #8c1726; }
.site-nav .nav-contact i { font-size: .82rem; }
.site-nav .nav-cta { background: var(--pine); color: #fff; padding: .8rem 1.15rem; border-radius: .7rem; }
.site-nav .nav-cta:hover { background: var(--pine-deep); color: #fff; }
.site-nav .nav-cta i { margin-left: .4rem; font-size: .75rem; }
.site-hero { position: relative; overflow: hidden; background: radial-gradient(circle at 85% 17%, #d83545 0, transparent 33%), linear-gradient(122deg, #1a1a1a, #8e1725 70%, #b3192d); color: #fff; }
.site-hero::after { content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%; right: -250px; bottom: -330px; background: rgba(244,196,0,.16); filter: blur(6px); }
.hero-grid { position: relative; z-index: 1; min-height: 570px; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 3rem; }
.hero-copy { padding: 5.1rem 0 5.6rem; }
.eyebrow { color: #9b6a00; font-size: .72rem; letter-spacing: .16em; font-weight: 800; }
.hero-eyebrow { color: #ffe076; display: inline-flex; align-items: center; gap: .65rem; }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(244,196,0,.22); }
.hero-copy h1 { margin: 1.3rem 0 1.15rem; font-size: clamp(2.8rem, 5.2vw, 5.3rem); line-height: 1.08; font-weight: 800; letter-spacing: -.065em; }
.hero-copy h1 span { color: #ffe066; }
.hero-copy > p { max-width: 570px; color: #f1e8e8; font-size: 1.08rem; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.4rem; margin-top: 2rem; }
.site-button { display: inline-flex; align-items: center; justify-content: center; gap: .85rem; border: 0; border-radius: .78rem; min-height: 54px; padding: .9rem 1.4rem; font-weight: 750; transition: transform .18s, box-shadow .18s, background .18s; cursor: pointer; }
.site-button:hover { transform: translateY(-2px); text-decoration: none; }
.site-button-gold { color: #212121; background: var(--gold); box-shadow: 0 12px 26px rgba(0,0,0,.13); }
.site-button-gold:hover { color: #212121; background: #ffdb47; }
.site-button-dark { color: #fff; background: var(--pine); }
.site-button-dark:hover { color: #fff; background: var(--pine-deep); }
.hero-text-link { color: #fff; font-weight: 650; }
.hero-text-link i { margin-left: .35rem; font-size: .82rem; }
.hero-text-link:hover { color: var(--gold); text-decoration: none; }
.hero-proof { display: inline-flex; align-items: center; gap: .75rem; color: #e0dddd; margin-top: 3.2rem; font-size: .84rem; }
.hero-proof i { color: var(--gold); }
.hero-art { position: relative; height: 500px; display: grid; place-items: center; }
.hero-orbit { position: absolute; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; }
.orbit-one { width: 450px; height: 450px; }
.orbit-two { width: 345px; height: 345px; border-style: dashed; }
.hero-art-card { width: min(320px, 75%); min-height: 370px; border-radius: 26px; background: linear-gradient(160deg, #fffaf0, #fff 62%, #fff6df); box-shadow: 0 35px 70px rgba(0,0,0,.25); color: var(--pine); padding: 25px; transform: rotate(-6deg); }
.hero-art-top { display: flex; justify-content: space-between; color: #9b6a00; font-size: .8rem; font-weight: 800; letter-spacing: .15em; }
.hero-art-top i { color: #f4c400; }
.hero-art-emblem { height: 230px; display: flex; justify-content: center; align-items: center; }
.hero-art-emblem img { display: block; width: min(100%, 230px); max-height: 100%; object-fit: contain; }
.hero-art-rule { width: 45px; height: 5px; background: var(--gold); border-radius: 8px; }
.hero-art-card p { margin: 1rem 0 0; font-size: .86rem; line-height: 1.5; font-weight: 650; }
.hero-float { position: absolute; display: inline-flex; align-items: center; gap: .65rem; background: #fff; color: var(--ink); border-radius: .85rem; padding: .8rem 1rem; box-shadow: 0 15px 35px rgba(0,0,0,.16); font-size: .78rem; font-weight: 700; }
.hero-float i { display: grid; place-items: center; width: 30px; height: 30px; color: #9a6100; background: var(--gold-pale); border-radius: .55rem; }
.float-one { top: 92px; left: 2%; transform: rotate(4deg); }
.float-two { right: 0; bottom: 82px; transform: rotate(4deg); }
.value-strip { background: #fff; border-bottom: 1px solid var(--line); }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.value-grid > div { display: flex; gap: .85rem; align-items: center; padding: 1.65rem 1.1rem; border-right: 1px solid var(--line); }
.value-grid > div:first-child { padding-left: 0; }
.value-grid > div:last-child { border-right: 0; }
.value-icon { display: grid; place-items: center; flex: none; width: 43px; height: 43px; border-radius: .85rem; background: var(--pine-soft); color: var(--pine); }
.value-grid strong, .value-grid small { display: block; }
.value-grid strong { font-size: .91rem; }
.value-grid small { color: var(--muted); font-size: .73rem; line-height: 1.4; margin-top: .2rem; }
.about-section { background: #fff; padding: 6rem 0; scroll-margin-top: 90px; }
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 6rem; }
.about-grid h2, .application-heading h2 { font-size: clamp(2rem, 3.4vw, 3.3rem); font-weight: 800; letter-spacing: -.055em; line-height: 1.18; }
.about-grid h2 { margin-top: .9rem; }
.about-copy { color: #555555; font-size: 1rem; line-height: 1.8; }
.about-copy p { margin: 0; }
.about-copy a { display: inline-flex; gap: .6rem; align-items: center; margin-top: 1.5rem; font-weight: 750; }
.eligibility-section { padding: 5.5rem 0 6rem; background: #f7f4ef; scroll-margin-top: 90px; }
.eligibility-heading { max-width: 760px; margin-bottom: 2rem; }
.eligibility-heading h2 { margin: .6rem 0; font-size: clamp(2rem, 3.4vw, 3.3rem); font-weight: 800; letter-spacing: -.055em; line-height: 1.18; }
.eligibility-heading p { margin: 0; color: var(--muted); }
.eligibility-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; list-style: none; padding: 0; margin: 0; }
.eligibility-grid li { display: flex; align-items: flex-start; gap: 1rem; min-width: 0; padding: 1.3rem; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: .9rem; box-shadow: 0 8px 24px rgba(35,20,20,.04); }
.eligibility-grid li:last-child { grid-column: 1 / -1; }
.eligibility-number { flex: none; display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: .55rem; color: #fff; background: var(--pine); font-size: .8rem; font-weight: 800; }
.eligibility-grid p { margin: .15rem 0 0; line-height: 1.55; font-weight: 580; }
.eligibility-highlight { display: flex; align-items: center; gap: 1rem; margin-top: 1.4rem; padding: 1.35rem 1.5rem; background: var(--pine-deep); border-radius: .9rem; color: #fff; }
.eligibility-highlight > i { color: var(--gold); font-size: 1.4rem; }
.eligibility-highlight p { flex: 1; margin: 0; font-weight: 750; }
.eligibility-highlight a { color: var(--gold); white-space: nowrap; font-weight: 750; }
.eligibility-highlight a:hover { color: #fff; }
.eligibility-highlight a i { margin-left: .35rem; font-size: .8rem; }
.application-section { padding: 6rem 0 7rem; scroll-margin-top: 80px; }
.application-heading { max-width: 760px; margin-bottom: 2.7rem; }
.application-heading h2 { margin: .7rem 0 .6rem; }
.application-heading p { color: var(--muted); margin: 0; }
.application-heading p span { color: #c7192f; font-weight: 750; }
.application-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); align-items: start; gap: 1.7rem; }
.application-aside { position: sticky; top: 112px; }
.aside-panel { background: var(--pine); color: #fff; padding: 1.65rem; border-radius: 1.15rem; box-shadow: var(--shadow); }
.aside-kicker { color: #ffe076; font-size: .68rem; letter-spacing: .15em; font-weight: 800; }
.aside-panel h3 { margin: .55rem 0 1.6rem; font-size: 1.35rem; font-weight: 750; letter-spacing: -.03em; }
.aside-panel nav { display: grid; gap: .3rem; }
.aside-panel nav a { display: flex; align-items: center; gap: .7rem; padding: .65rem; color: #e1dedb; border-radius: .65rem; font-size: .87rem; }
.aside-panel nav a:hover { background: rgba(255,255,255,.1); color: #fff; text-decoration: none; }
.aside-panel nav a span { color: #f4c400; font-weight: 850; }
.aside-note { display: flex; gap: .7rem; border-top: 1px solid rgba(255,255,255,.2); margin-top: 1.4rem; padding-top: 1.3rem; color: #dddddd; }
.aside-note i { color: var(--gold); padding-top: .2rem; }
.aside-note p { font-size: .76rem; line-height: 1.5; margin: 0; }
.application-form { min-width: 0; }
.form-section { background: #fff; border: 1px solid var(--line); border-radius: 1.15rem; box-shadow: var(--shadow); padding: 2rem; margin-bottom: 1.25rem; scroll-margin-top: 110px; }
.form-section-header { display: flex; align-items: start; gap: 1rem; padding-bottom: 1.55rem; margin-bottom: 1.55rem; border-bottom: 1px solid var(--line); }
.section-number { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: .8rem; background: var(--gold-pale); color: #8f5f00; font-weight: 850; }
.section-eyebrow { font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #8c1726; }
.form-section-header h3 { margin: .2rem 0 .2rem; font-size: 1.5rem; font-weight: 800; letter-spacing: -.04em; }
.form-section-header p { color: var(--muted); margin: 0; font-size: .85rem; }
.form-fields-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.35rem 1.2rem; }
.field-card { min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field-label { display: block; margin-bottom: .5rem; font-size: .88rem; font-weight: 700; }
.field-card .form-control { height: auto; min-height: 48px; padding: .7rem .85rem; border: 1px solid #e1dedb; border-radius: .68rem; background: #ffffff; color: var(--ink); box-shadow: none; }
.field-card textarea.form-control { min-height: 105px; resize: vertical; }
.field-card .form-control:focus { border-color: #c7192f; background: #fff; box-shadow: 0 0 0 3px rgba(199,25,47,.13); }
.field-card .form-control::placeholder { color: #9b9b9b; }
.application-form [data-uppercase] { text-transform: uppercase; }
.field-help { display: block; color: var(--muted); font-size: .76rem; line-height: 1.5; margin-top: .45rem; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.choice-grid-three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice-option { display: flex; align-items: center; gap: .7rem; min-height: 52px; padding: .7rem .8rem; margin: 0; border: 1px solid #e1dedb; border-radius: .65rem; background: #ffffff; cursor: pointer; font-size: .84rem; font-weight: 550; line-height: 1.35; transition: border-color .18s, background .18s, box-shadow .18s; }
.choice-option:hover { border-color: #d58d96; background: #fff8f8; }
.choice-option:has(input:checked) { border-color: #b3192d; background: #fff0f1; box-shadow: inset 0 0 0 1px #b3192d; }
.choice-option input { flex: none; accent-color: #b3192d; width: 17px; height: 17px; margin: 0; }
.other-answer[hidden] { display: none; }
.upload-zone { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .4rem; min-height: 180px; padding: 1.4rem; border: 2px dashed #d999a2; border-radius: .85rem; background: #fff8f8; transition: border-color .18s, background .18s; }
.upload-zone:hover, .upload-zone.is-dragging { border-color: #b3192d; background: #fff0f1; }
.upload-zone > i { color: #b3192d; font-size: 1.65rem; margin-bottom: .35rem; }
.upload-zone strong { color: var(--pine); font-size: .92rem; }
.upload-zone span { color: var(--muted); font-size: .76rem; }
.upload-zone input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.upload-zone:focus-within { outline: 3px solid #f4c400; outline-offset: 3px; }
.image-preview-list { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .8rem; }
.image-preview-item { width: 130px; min-width: 0; border: 1px solid var(--line); border-radius: .65rem; background: #fff; padding: .4rem; }
.image-preview-item .preview-thumb { display: block; width: 100%; height: 95px; object-fit: cover; border-radius: .4rem; background: var(--pine-soft); }
.image-preview-name { display: block; overflow-wrap: anywhere; font-size: .72rem; line-height: 1.2; margin: .45rem 0; }
.image-preview-item button { width: 100%; }
.form-contact-panel { margin-top: 1.25rem; padding: 1.75rem; border: 1px solid #e2ded9; border-radius: 1.15rem; background: linear-gradient(135deg, #fff 0%, #faf8f5 100%); box-shadow: 0 12px 34px rgba(35,20,20,.06); scroll-margin-top: 110px; }
.form-contact-heading { display: flex; align-items: center; gap: 1rem; }
.form-contact-icon { display: grid; place-items: center; flex: none; width: 50px; height: 50px; border-radius: .9rem; background: var(--pine); color: #fff; font-size: 1.1rem; box-shadow: 0 8px 18px rgba(179,25,45,.2); }
.form-contact-kicker { display: block; margin-bottom: .2rem; color: #8c1726; font-size: .66rem; font-weight: 850; letter-spacing: .12em; }
.form-contact-heading h3 { margin: 0 0 .25rem; font-size: 1.22rem; font-weight: 800; letter-spacing: -.025em; }
.form-contact-heading p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.5; }
.form-contact-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; margin-top: 1.35rem; }
.form-contact-links a { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: .75rem; min-height: 64px; padding: .7rem .85rem; border: 1px solid #e5dfda; border-radius: .8rem; background: #fff; color: var(--ink); text-decoration: none; transition: transform .18s, border-color .18s, box-shadow .18s; }
.form-contact-links a:hover { transform: translateY(-2px); border-color: #c9aaa9; color: var(--ink); box-shadow: 0 8px 18px rgba(35,20,20,.08); }
.contact-link-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: .7rem; background: var(--pine-soft); color: var(--pine); font-size: 1rem; }
.form-contact-links a > span:nth-child(2) { display: flex; flex-direction: column; min-width: 0; }
.form-contact-links small { color: var(--muted); font-size: .68rem; line-height: 1.3; }
.form-contact-links strong { color: inherit; font-size: .92rem; }
.form-contact-links a > i:last-child { color: #aaa19a; font-size: .7rem; }
.form-contact-links .contact-whatsapp { border-color: #b9dfc5; background: #f4fbf6; color: #116b32; }
.form-contact-links .contact-whatsapp .contact-link-icon { background: #25d366; color: #fff; font-size: 1.25rem; }
.form-contact-links .contact-whatsapp:hover { border-color: #25a94f; background: #ebf9ef; color: #0d5728; box-shadow: 0 8px 18px rgba(37,211,102,.14); }
.floating-contact { position: fixed; right: 24px; bottom: 24px; z-index: 120; display: flex; align-items: center; gap: .7rem; padding: .55rem .85rem .55rem .55rem; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; background: var(--pine-deep); color: #fff; box-shadow: 0 14px 34px rgba(0,0,0,.25); text-decoration: none; transition: transform .18s, background .18s, box-shadow .18s; }
.floating-contact:hover { transform: translateY(-3px); background: var(--pine); color: #fff; text-decoration: none; box-shadow: 0 18px 38px rgba(0,0,0,.3); }
.floating-contact-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: #292929; font-size: 1.05rem; }
.floating-contact-label { display: flex; flex-direction: column; padding-right: .25rem; line-height: 1.25; }
.floating-contact-label small { color: #d8d3d0; font-size: .64rem; }
.floating-contact-label strong { color: #fff; font-size: .8rem; }
.form-submit-panel { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem 0; }
.form-submit-panel > div { display: flex; align-items: center; gap: .65rem; color: var(--muted); font-size: .79rem; }
.form-submit-panel > div i { color: #b3192d; }
.site-alert { display: flex; gap: .75rem; align-items: start; border-radius: .75rem; padding: 1rem 1.2rem; margin: 0 0 1.5rem; font-weight: 650; }
.site-alert-error { color: #8f1726; background: #fff0eb; border: 1px solid #f0c8c1; }
.site-alert-success { color: #9a1828; background: #fff1f1; border: 1px solid #f0c4c9; }
.site-footer { background: var(--pine-deep); color: #e0e0e0; padding: 2rem 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.footer-brand { display: flex; align-items: center; gap: .7rem; }
.footer-brand img { width: 44px; height: 44px; object-fit: contain; border-radius: .35rem; background: #fff; }
.footer-brand span { display: flex; flex-direction: column; }
.footer-brand strong { color: #fff; }
.footer-brand small { font-size: .7rem; }
.site-footer a { color: #ffe076; font-weight: 650; font-size: .82rem; }
.site-footer a i { margin-left: .3rem; }

/* Login and confirmation pages */
.auth-page, .success-page { min-height: 100vh; background: radial-gradient(circle at top right, #f9e2e5, transparent 40%), var(--canvas); }
.auth-page .site-header, .success-page .site-header { position: relative; }
.auth-main, .success-main { min-height: calc(100vh - 170px); display: grid; place-items: center; padding: 3.5rem 24px; }
.auth-card, .success-card { width: min(100%, 460px); background: #fff; border: 1px solid var(--line); border-radius: 1.25rem; padding: 2.1rem; box-shadow: var(--shadow); }
.auth-icon, .success-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: .9rem; color: var(--pine); background: var(--pine-soft); font-size: 1.35rem; margin-bottom: 1.35rem; }
.auth-card h1, .success-card h1 { font-size: 1.8rem; font-weight: 800; letter-spacing: -.04em; }
.auth-card > p, .success-card > p { color: var(--muted); font-size: .9rem; }
.auth-card .form-control { min-height: 48px; border-radius: .65rem; border-color: var(--line); background: #ffffff; }
.auth-card label { font-size: .84rem; font-weight: 700; }
.auth-card .site-button { width: 100%; }
.auth-return { display: block; margin-top: 1.25rem; text-align: center; font-size: .84rem; font-weight: 650; }
.success-card { text-align: center; width: min(100%, 570px); }
.success-icon { margin: 0 auto 1.35rem; color: #b3192d; background: #fff0f0; }
.reference-box { background: #fff8e5; border: 1px dashed #e8a0a8; color: var(--pine); border-radius: .8rem; padding: 1rem; font-size: clamp(1.1rem, 4vw, 1.65rem); font-weight: 800; letter-spacing: .03em; margin: 1.3rem 0; overflow-wrap: anywhere; }
.status-card { width: min(100%, 520px); }
.status-result { margin-top: 1.5rem; padding: 1.1rem; border: 1px solid #cce5dc; border-radius: .8rem; background: #f1faf6; }
.status-result > strong { display: block; margin: .3rem 0; color: var(--pine); font-size: 1.3rem; }
.status-result p { margin: 0 0 .4rem; color: var(--ink); font-size: .9rem; }
.status-result small { color: var(--muted); }

/* AdminLTE restyle */
.admin-shell { background: var(--canvas); }
.admin-shell .main-sidebar { background: var(--pine-deep) !important; box-shadow: 9px 0 28px rgba(0,0,0,.12) !important; }
.admin-shell .brand-link { display: flex; align-items: center; gap: .7rem; min-height: 76px; border-bottom: 1px solid rgba(255,255,255,.12); padding: .7rem 1rem; white-space: normal; }
.admin-shell .brand-link:hover { text-decoration: none; }
.admin-shell .brand-link img { width: 44px; height: 44px; flex: none; object-fit: contain; border-radius: .38rem; background: #fff; }
.admin-shell .brand-text { display: flex; flex-direction: column; max-width: 155px; font-size: 1rem; line-height: 1.15; color: #fff; font-weight: 800; letter-spacing: -.025em; }
.admin-shell .brand-text small { color: #c9c9c9; font-size: .58rem; font-weight: 500; letter-spacing: 0; margin-top: .25rem; }
.admin-shell .sidebar { padding: .55rem; }
.admin-shell .nav-sidebar .nav-link { border-radius: .55rem; color: #dddddd; margin-bottom: .2rem; font-size: .86rem; }
.admin-shell .nav-sidebar .nav-link:hover { background: rgba(255,255,255,.09); color: #fff; }
.admin-shell .nav-sidebar .nav-link.active { background: #f4c400 !important; color: #222222 !important; box-shadow: none !important; font-weight: 750; }
.admin-shell .nav-sidebar .sidebar-logout { border: 1px solid rgba(255,255,255,.18); color: #fff; }
.admin-shell .nav-sidebar .sidebar-logout:hover { background: #b3192d; border-color: #b3192d; }
.admin-shell .nav-sidebar .nav-icon { font-size: .95rem; margin-right: .3rem; }
.admin-shell .nav-header { color: #bcbcbc; font-size: .67rem; letter-spacing: .13em; margin-top: 1rem; }
.admin-shell .main-header { min-height: 70px; border-bottom: 1px solid var(--line); background: #fff; box-shadow: 0 5px 20px rgba(0,0,0,.05); }
.admin-shell .main-header .nav-link { height: auto; color: var(--ink); }
.admin-shell .admin-user-pill { display: flex; align-items: center; gap: .5rem; background: #fff0f1; border-radius: 50rem; padding: .4rem .75rem; color: var(--pine); font-size: .78rem; font-weight: 700; }
.admin-shell .content-wrapper { background: var(--canvas); min-height: calc(100vh - 70px); }
.admin-shell .content-header { padding: 2rem 1.2rem 1.1rem; }
.admin-shell .content-header h1 { font-size: 1.8rem; font-weight: 800; letter-spacing: -.05em; }
.admin-shell .content-header .admin-page-kicker { color: #8c1726; font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .3rem; }
.admin-shell .content { padding: 0 1.2rem 2rem; }
.admin-shell .card { border: 1px solid var(--line); border-radius: .9rem; box-shadow: 0 8px 24px rgba(0,0,0,.055); overflow: hidden; }
.admin-shell .card-header { border-bottom: 1px solid var(--line); background: #fff; padding: 1rem 1.25rem; }
.admin-shell .card-header .card-title, .admin-shell .card-header strong { color: var(--ink); font-weight: 750; }
.admin-shell .card-body { padding: 1.25rem; }
.admin-shell .card-body.p-0 { padding: 0 !important; }
.admin-shell .btn-primary, .admin-shell .page-item.active .page-link { background: var(--pine); border-color: var(--pine); }
.admin-shell .btn-primary:hover, .admin-shell .page-item.active .page-link:hover { background: var(--pine-deep); border-color: var(--pine-deep); }
.admin-shell .btn-outline-primary { color: var(--pine); border-color: #c98289; }
.admin-shell .btn-outline-primary:hover { color: #fff; background: var(--pine); border-color: var(--pine); }
.admin-shell .form-control { border-color: #e1dedb; border-radius: .55rem; }
.admin-shell .form-control:focus { border-color: #c7192f; box-shadow: 0 0 0 3px rgba(199,25,47,.13); }
.admin-shell .table th { border-top: 0; background: #faf8f7; color: #646464; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; }
.admin-shell .table td { border-color: #efebe9; }
.admin-shell .table td, .admin-shell .table th { vertical-align: middle; padding: .8rem; }
.admin-shell .small-box { border-radius: .9rem; overflow: hidden; box-shadow: 0 10px 25px rgba(0,0,0,.12); }
.admin-shell .small-box .inner { padding: 1.3rem; }
.admin-shell .small-box .inner h3 { font-size: 2.3rem; font-weight: 800; }
.admin-shell .small-box .icon { opacity: .45; }
.admin-shell .small-box-footer { text-align: left; padding: .7rem 1.3rem; font-weight: 650; }
.admin-shell .bg-info { background: #242424 !important; }
.admin-shell .bg-primary { background: #c7192f !important; }
.admin-shell .bg-warning { background: #f4c400 !important; color: #222222 !important; }
.admin-shell .bg-success { background: #8e1725 !important; }
.admin-shell .main-footer { border-top: 1px solid var(--line); background: #fff; color: var(--muted); font-size: .78rem; }
.admin-shell .badge { padding: .4em .6em; border-radius: .45rem; }
.admin-shell .badge-info { background: #242424; color: #fff; }
.admin-shell .badge-primary { background: #c7192f; color: #fff; }
.admin-shell .badge-warning { background: #f4c400; color: #202020; }
.admin-shell .badge-success { background: #8e1725; color: #fff; }
.admin-shell .badge-danger { background: #c7192f; color: #fff; }
.admin-shell .btn-success { background: #242424; border-color: #242424; }
.admin-shell .btn-success:hover { background: #000; border-color: #000; }
.admin-shell .btn-outline-danger { color: #b3192d; border-color: #b3192d; }
.admin-shell .btn-outline-danger:hover { background: #b3192d; border-color: #b3192d; color: #fff; }
.admin-shell .page-link { color: #b3192d; }
.admin-shell .custom-control-input:checked ~ .custom-control-label::before { background: #b3192d; border-color: #b3192d; }
.admin-shell input[type="checkbox"], .admin-shell input[type="radio"] { accent-color: #b3192d; }
.admin-shell .alert-success { color: #4e3500; background: #fff8db; border-color: #eecb51; }
.category-chart-intro { color: var(--muted); font-size: .85rem; margin: 0 0 1rem; }
.category-chart-wrap { position: relative; width: min(100%, 330px); height: 270px; margin: 0 auto 1.25rem; }
.category-breakdown { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem 1.2rem; padding: 0; margin: 0; list-style: none; }
.category-breakdown li { display: flex; align-items: center; gap: .55rem; min-width: 0; padding: .45rem .1rem; font-size: .78rem; border-bottom: 1px solid var(--line); }
.category-breakdown li > span:nth-child(2) { flex: 1; overflow-wrap: anywhere; }
.category-breakdown strong { color: var(--ink); font-size: .85rem; }
.category-color { display: inline-block; width: 11px; height: 11px; flex: none; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); }

.submission-toolbar { display: flex; gap: .55rem; margin-bottom: 1rem; }
.submission-overview { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.3rem; padding: 1.45rem 1.65rem; border: 1px solid #eadad7; border-left: 5px solid #b3192d; border-radius: .9rem; background: linear-gradient(110deg, #fff 58%, #fff6f3); box-shadow: 0 8px 24px rgba(0,0,0,.045); }
.submission-overview-kicker, .submission-section-kicker { display: block; color: #9a2431; font-size: .67rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.submission-overview h2 { margin: .35rem 0 .45rem; color: var(--ink); font-size: clamp(1.2rem, 2vw, 1.65rem); font-weight: 800; letter-spacing: -.02em; overflow-wrap: anywhere; }
.submission-overview p { margin: 0; color: var(--muted); font-size: .86rem; }
.submission-overview p i { margin-right: .25rem; }
.admin-shell .submission-status { flex: none; padding: .55rem .8rem; font-size: .76rem; }
.submission-layout > div { min-width: 0; }
.admin-shell .submission-section { margin-bottom: 1.2rem; }
.submission-section-heading { display: flex; align-items: center; gap: .85rem; padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--line); background: #fff; }
.submission-section-number, .submission-section-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: .7rem; background: #fff1df; color: #805400; font-size: .9rem; font-weight: 800; }
.submission-section-heading h3 { margin: .18rem 0 0; color: var(--ink); font-size: 1.1rem; font-weight: 800; }
.submission-section-heading h3 small { display: inline-block; margin-left: .25rem; padding: .15rem .42rem; border-radius: .4rem; background: #f4f1ef; color: #555; font-size: .7rem; vertical-align: middle; }
.submission-answer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.5rem; margin: 0; padding: .35rem 1.25rem .7rem; }
.submission-answer { min-width: 0; padding: .9rem 0; border-bottom: 1px solid #f0edeb; }
.submission-answer-wide { grid-column: 1 / -1; }
.submission-answer dt { margin-bottom: .28rem; color: #75706e; font-size: .68rem; font-weight: 800; letter-spacing: .055em; line-height: 1.5; text-transform: uppercase; }
.submission-answer dd { margin: 0; color: #202020; font-size: .92rem; font-weight: 600; line-height: 1.55; overflow-wrap: anywhere; }
.submission-option-list { margin: .35rem 0 0; padding-left: 1.45rem; }
.submission-option-list li { padding-left: .15rem; }
.submission-option-list li + li { margin-top: .3rem; }
.submission-option-list li::marker { color: #a21d2b; font-weight: 800; }
.submission-answer-empty { color: #9b9693; font-style: italic; font-weight: 400; }
.submission-image-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: 1rem; padding: 1.25rem; }
.submission-image { display: block; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: .65rem; background: #faf8f7; color: var(--ink); transition: border-color .18s, box-shadow .18s; }
.submission-image:hover { border-color: #c98289; box-shadow: 0 6px 16px rgba(0,0,0,.1); color: var(--ink); }
.submission-image img { display: block; width: 100%; height: 160px; object-fit: cover; }
.submission-image span { display: flex; flex-direction: column; gap: .12rem; padding: .65rem .75rem; }
.submission-image strong { font-size: .77rem; overflow-wrap: anywhere; }
.submission-image small { color: var(--muted); }
.submission-empty-images { margin: 0; padding: 1.4rem 1.25rem; color: var(--muted); }
.submission-actions .card-header { background: #fff; }
.submission-actions label { font-size: .78rem; font-weight: 750; }
.submission-danger-action { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.submission-record-meta { margin: -.3rem .25rem 1rem; color: #85807e; font-size: .73rem; }

@media (max-width: 640px) {
  .submission-overview { flex-wrap: wrap; padding: 1.1rem; }
  .submission-overview > div { min-width: 0; width: 100%; }
  .submission-answer-grid { grid-template-columns: 1fr; }
  .submission-answer-wide { grid-column: auto; }
  .submission-section-heading { padding: 1rem; }
  .submission-answer-grid { padding: .25rem 1rem .6rem; }
}

@media (max-width: 1050px) {
  .site-nav { gap: 1rem; }
  .hero-grid { gap: 1rem; }
  .hero-art { transform: scale(.85); }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid > div:nth-child(2) { border-right: 0; }
  .value-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 800px) {
  .eligibility-grid { grid-template-columns: 1fr; }
  .eligibility-grid li:last-child { grid-column: auto; }
  .eligibility-highlight { align-items: flex-start; flex-wrap: wrap; }
  .eligibility-highlight a { width: 100%; padding-left: 2.4rem; }
  .site-container { padding: 0 20px; }
  .site-header-inner { min-height: 72px; }
  .site-brand img { width: 48px; height: 48px; }
  .site-brand strong { font-size: 1.08rem; }
  .site-brand small { max-width: 220px; font-size: .62rem; }
  .site-nav > a:not(.nav-cta):not(.nav-contact) { display: none; }
  .site-nav .nav-contact { padding: .6rem .2rem; font-size: .78rem; }
  .site-nav .nav-cta { padding: .65rem .8rem; font-size: .78rem; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 4rem 0 1rem; }
  .hero-art { height: auto; transform: none; margin-bottom: 0; padding: 28px 0 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .hero-art-card { min-height: 330px; grid-column: 1 / -1; margin-bottom: 16px; z-index: 1; }
  .hero-float { position: relative; inset: auto; transform: none; justify-self: center; z-index: 1; }
  .hero-art-emblem { height: 200px; }
  .about-grid { grid-template-columns: 1fr; gap: 1rem; }
  .about-section { padding: 4rem 0; }
  .application-section { padding: 4rem 0; }
  .application-layout { grid-template-columns: 1fr; }
  .application-aside { position: static; }
  .aside-panel { padding: 1.2rem; }
  .aside-panel h3, .aside-note { display: none; }
  .aside-panel nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(105px, 1fr)); gap: .25rem; margin-top: .5rem; }
  .aside-panel nav a { flex-direction: column; align-items: flex-start; gap: .15rem; font-size: .72rem; }
}
@media (max-width: 560px) {
  .eligibility-section { padding: 4rem 0; }
  .eligibility-grid li { padding: 1rem; gap: .8rem; }
  .eligibility-grid p { font-size: .88rem; }
  .site-container { padding: 0 16px; }
  .site-header-inner { gap: .5rem; }
  .site-brand small { display: none; }
  .site-brand { flex-shrink: 0; gap: .45rem; }
  .site-brand strong { font-size: .9rem; }
  .site-brand img { width: 36px; height: 36px; }
  .site-nav { flex-shrink: 0; }
  .site-nav .nav-contact { font-size: 0; }
  .site-nav .nav-contact i { font-size: 1rem; }
  .site-nav .nav-cta { font-size: .72rem; padding: .65rem .65rem; }
  .site-nav .nav-cta i { display: none; }
  .hero-copy { padding: 3.2rem 0 0; }
  .hero-copy h1 { font-size: 2.8rem; }
  .hero-copy > p { font-size: .95rem; }
  .hero-actions { gap: 1rem; }
  .hero-proof { margin-top: 2rem; font-size: .75rem; }
  .hero-art { grid-template-columns: 1fr; padding: 20px 0 28px; gap: 12px; margin: 0; }
  .hero-art-card { width: min(280px, 85%); min-height: 300px; padding: 22px; }
  .hero-art-emblem { height: 180px; }
  .hero-float { padding: .65rem .85rem; font-size: .72rem; }
  .value-grid { grid-template-columns: 1fr 1fr; }
  .value-grid > div { padding: 1rem .5rem; gap: .45rem; align-items: flex-start; }
  .value-icon { width: 30px; height: 30px; border-radius: .5rem; font-size: .8rem; }
  .value-grid strong { font-size: .76rem; }
  .value-grid small { font-size: .65rem; }
  .about-grid h2, .application-heading h2 { font-size: 2rem; }
  .form-section { padding: 1.2rem; }
  .form-fields-grid, .choice-grid, .choice-grid-three { grid-template-columns: 1fr; }
  .field-wide { grid-column: auto; }
  .form-section-header h3 { font-size: 1.25rem; }
  .section-number { width: 40px; height: 40px; }
  .aside-panel nav a { font-size: .64rem; padding: .4rem; }
  .form-submit-panel { flex-direction: column; align-items: stretch; }
  .form-contact-links { flex-direction: column; }
  .form-contact-links { grid-template-columns: 1fr; }
  .form-contact-links a { width: 100%; }
  .floating-contact { right: 16px; bottom: 16px; padding: .45rem; }
  .floating-contact-icon { width: 48px; height: 48px; }
  .floating-contact-label { display: none; }
  .form-submit-panel > div { order: 2; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .auth-card, .success-card { padding: 1.5rem; }
  .admin-shell .content-header { padding: 1.3rem .4rem .7rem; }
  .admin-shell .content { padding: 0 .4rem 1.5rem; }
  .category-breakdown { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .site-button, .choice-option, .upload-zone { transition: none; } }
@media print { .site-header, .site-footer, .application-aside, .site-hero, .value-strip, .about-section, .form-submit-panel, .floating-contact, .no-print, .main-sidebar, .main-header, .main-footer { display: none !important; } .content-wrapper { margin-left: 0 !important; } .card, .form-section { box-shadow: none !important; border: 1px solid #000 !important; } }
.ns-popup-open { overflow: hidden; }
.ns-popup-overlay { position: fixed; inset: 0; z-index: 20000; display: grid; place-items: center; padding: 1rem; background: rgba(18, 18, 18, .58); backdrop-filter: blur(4px); }
.ns-popup { width: min(100%, 420px); padding: 2rem; border-radius: 1.1rem; background: #fff; color: #1d1d1d; box-shadow: 0 24px 70px rgba(0,0,0,.25); text-align: center; animation: ns-popup-in .2s ease-out; }
.ns-popup-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 50%; background: #fff4d0; color: #9c6800; font-size: 1.6rem; }
.ns-popup-success .ns-popup-icon { background: #e5f7eb; color: #168044; }
.ns-popup-error .ns-popup-icon { background: #fde8ea; color: #b51e35; }
.ns-popup h2 { margin: 0 0 .65rem; font-size: 1.35rem; font-weight: 800; }
.ns-popup p { margin: 0 0 1.5rem; color: #555; line-height: 1.55; overflow-wrap: anywhere; white-space: pre-line; }
.ns-popup-actions { display: flex; justify-content: center; gap: .7rem; }
.ns-popup-actions button { min-width: 110px; padding: .7rem 1rem; border-radius: .65rem; font-weight: 700; cursor: pointer; }
.ns-popup-primary { border: 1px solid #a9162c; background: #a9162c; color: #fff; }
.ns-popup-secondary { border: 1px solid #d9d9d9; background: #fff; color: #333; }
.ns-popup-actions button:focus-visible { outline: 3px solid #f4bd27; outline-offset: 2px; }
@keyframes ns-popup-in { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (prefers-reduced-motion: reduce) { .ns-popup { animation: none; } }
