/* RaahUPSC unified design system — shared across all legacy and new tools */
:root{--raah-ink:#171717;--raah-muted:#626262;--raah-gold:#f4c542;--raah-gold-deep:#d9a900;--raah-paper:#fbfaf6;--raah-card:#fff;--raah-line:#e8e3d6;--raah-radius:14px;--raah-shadow:0 8px 28px rgba(23,23,23,.06)}
html{scroll-padding-top:84px}body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--raah-ink);background:var(--raah-paper)}
.raah-global-header{position:sticky!important;top:0;z-index:9999;background:rgba(251,250,246,.96)!important;backdrop-filter:blur(12px);border-bottom:1px solid var(--raah-line)!important;color:var(--raah-ink)!important;box-shadow:0 2px 10px rgba(0,0,0,.025)}
.raah-global-header .raah-shell{max-width:1200px;margin:auto;min-height:68px;padding:10px 22px;display:flex;align-items:center;gap:22px}
.raah-brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none!important;color:var(--raah-ink)!important;font-weight:850;letter-spacing:-.045em;font-size:21px;white-space:nowrap}
.raah-mark{width:34px;height:34px;display:inline-grid;place-items:center;background:var(--raah-gold);border:1px solid #e4b52c;border-radius:10px;color:#171717;font-size:17px;font-weight:900;box-shadow:0 2px 0 rgba(0,0,0,.08)}
.raah-brand small{display:block;font-size:9px;letter-spacing:.16em;font-weight:800;color:#777;margin-top:-2px}
.raah-nav{display:flex;align-items:center;gap:7px;margin-left:auto}.raah-nav a{font-size:13px;font-weight:650;color:#454545!important;text-decoration:none!important;padding:9px 12px;border-radius:9px;white-space:nowrap}.raah-nav a:hover{background:#f2ecd9;color:#111!important}.raah-nav .raah-cta{background:var(--raah-gold);color:#171717!important}
.raah-global-footer{margin-top:54px!important;border-top:1px solid var(--raah-line)!important;background:#f4f1e8!important;color:#5d5a52!important;padding:0!important;font-size:13px!important}
.raah-footer-inner{max-width:1200px;margin:auto;padding:26px 22px 20px;display:flex;gap:18px;align-items:center;justify-content:space-between;flex-wrap:wrap}.raah-footer-brand{font-weight:850;color:#171717}.raah-footer-links{display:flex;gap:16px;flex-wrap:wrap}.raah-footer-links a{color:#454545!important;text-decoration:none!important}.raah-footer-links a:hover{text-decoration:underline!important}.raah-footer-note{width:100%;font-size:11px;color:#777}
/* Hide inconsistent legacy shells while preserving the original tool markup and scripts. */
.raah-legacy-page header:not(.raah-global-header),.raah-legacy-page footer:not(.raah-global-footer){display:none!important}
body{padding-top:0!important}
button,input,select,textarea{font:inherit}button{cursor:pointer}
/* Keep the common shell usable on narrow Android screens. */
@media(max-width:640px){.raah-global-header .raah-shell{min-height:60px;padding:8px 14px;gap:8px}.raah-brand{font-size:18px}.raah-mark{width:30px;height:30px}.raah-nav{gap:2px}.raah-nav a{font-size:11px;padding:8px 7px}.raah-nav a.raah-optional{display:none}.raah-footer-inner{padding:22px 16px}.raah-footer-links{gap:12px}}
