/* Compact Nex theme. Shared by source builds and the preserved live release. */
:root { color-scheme: dark; --nex-surface: #17181c; --nex-muted: #a5a7b0; }
body { background: #101114; font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.nex-dark-shell, .nex-dark-main { background: #101114 !important; color: #f5f5f7; }
.nex-card { background: #1a1b20 !important; border-color: #2b2c33 !important; box-shadow: none !important; border-radius: 16px; padding: 18px; }
.nex-dark-shell .shadow-sm { box-shadow: none !important; }
.nex-dark-shell aside { background: #15161a !important; box-shadow: none !important; }
.nex-dark-shell aside nav a { border-radius: 10px; padding-top: 9px; padding-bottom: 9px; }
.nex-dark-shell aside nav a[aria-current='page'], .nex-dark-shell aside nav a.bg-primary-50 { background: #292b33 !important; border-color: transparent !important; color: #fff !important; }
.nex-dark-shell input, .nex-dark-shell select, .nex-dark-shell textarea { background: #212228 !important; border-color: #35363f !important; border-radius: 10px; }
.nex-dark-shell input:focus-visible, .nex-dark-shell select:focus-visible, .nex-dark-shell button:focus-visible, .home-shell button:focus-visible, .home-shell a:focus-visible { outline: 2px solid #a5b4fc; outline-offset: 3px; }
.nex-dark-shell .bg-primary-600 { background: #f4f4f6 !important; color: #17181c !important; }
.nex-dark-shell .bg-primary-600 > span { color: #17181c !important; }
.nex-dark-shell button.bg-primary-600:hover { background: #dddde3 !important; }
.nex-dark-shell a.text-primary-600 { color: #bec8ff !important; }
.home-shell { min-height: 100svh; background: #101114 !important; color: #f5f5f7; padding: 24px 32px; }
.home-topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 1120px; margin: 0 auto; }
.home-brand-mark { display: flex; align-items: center; gap: 10px; font-size: 22px; letter-spacing: -.7px; }
.home-brand-mark > span { display: grid; place-items: center; height: 36px; width: 36px; background: #f4f4f6 !important; color: #17181c !important; border-radius: 11px; font-size: 18px; font-weight: 800; }
.home-auth-actions { display: flex; gap: 8px; align-items: center; }
.home-auth-actions button { background: transparent !important; color: #f4f4f6 !important; border: 1px solid #34353d !important; border-radius: 999px; padding: 10px 18px; font-size: 13px; font-weight: 600; min-height: 40px; }
.home-auth-actions button:last-child { background: #f4f4f6 !important; color: #17181c !important; border-color: #f4f4f6 !important; }
.home-auth-actions button:hover { opacity: .8; }
.home-product-panel { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; min-height: 0 !important; width: 100%; max-width: 1120px !important; margin: 100px auto 56px !important; padding: 0 !important; }
.home-copy > p { color: #a9aab4 !important; font-size: 11px; letter-spacing: 2px; font-weight: 600; margin-bottom: 18px; }
.home-copy h1 { font-size: clamp(40px, 4.5vw, 64px) !important; font-weight: 600; line-height: 1.06 !important; letter-spacing: -2.8px; margin: 0 0 22px; max-width: 540px; }
.home-copy > span { display: block; max-width: 410px; font-size: 15px !important; line-height: 1.7; color: #a9aab4 !important; }
.home-feature-grid { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px !important; }
.home-feature-grid article { display: flex; flex-direction: column; min-height: 170px; gap: 10px; padding: 24px !important; border: 1px solid #2a2b32 !important; border-radius: 20px !important; background: #1a1b20 !important; box-shadow: none !important; }
.home-feature-grid article::before { content: ''; width: 28px; height: 4px; background: #c4ceff; border-radius: 999px; margin-bottom: 12px; }
.home-feature-grid article b { font-size: 16px; font-weight: 600; }
.home-feature-grid article span { font-size: 13px !important; line-height: 1.6; color: #a9aab4 !important; }
.auth-shell { width: min(100%, 420px) !important; max-width: 420px !important; padding: 28px !important; background: #1a1b20; border: 1px solid #2d2e36; border-radius: 24px; margin: 24px auto; box-shadow: none !important; animation: none !important; }
.auth-login-orbit { display: none; }
.auth-shell > .text-center { text-align: left; margin-bottom: 24px; }
.auth-shell > .text-center > div { margin-left: 0; width: 38px; height: 38px; border-radius: 11px; }
.auth-shell h1 { font-size: 26px; letter-spacing: -.8px; line-height: 1.2; }
.auth-shell > .text-center p { font-size: 13px; line-height: 1.6; margin-top: 8px; }
.auth-shell > .mb-5 { background: #22232a !important; color: #dddde5 !important; border-color: #34353e !important; padding: 14px !important; border-radius: 12px; margin-bottom: 20px; }
.auth-shell > .mb-5 > p:first-child { font-size: 12px; }
.auth-shell > .mb-5 > p:nth-child(2) { font-size: 12px; line-height: 1.6; opacity: 1; color: #a9aab4; }
.auth-shell > .mb-5 a { background: transparent !important; padding: 0; margin-top: 8px; color: #c4ceff !important; font-size: 12px; }
.auth-shell input { min-height: 44px; }
.auth-shell form > button[type='submit'] { border-radius: 999px; min-height: 44px; font-weight: 600; }
.auth-shell label { font-size: 12px; color: #c9cad3 !important; }
.auth-shell > p:last-child { font-size: 12px; line-height: 1.7; margin-top: 20px; }
@media (min-width: 768px) { .nex-dark-shell > aside { width: 224px !important; padding: 20px 12px; } .nex-dark-shell > aside + div { margin-left: 224px !important; } }
@media (max-width: 767px) { .home-shell { padding: 20px; } .home-topbar { flex-direction: column; align-items: flex-start; gap: 20px; } .home-auth-actions { width: 100%; flex-wrap: wrap; } .home-auth-actions button { width: auto !important; flex: 1; padding: 10px 12px; white-space: nowrap; } .home-product-panel { grid-template-columns: 1fr; gap: 32px; margin-top: 48px !important; } .home-copy h1 { font-size: 42px !important; letter-spacing: -1.8px; } .home-feature-grid article { padding: 18px !important; min-height: 158px; } .auth-shell { padding: 24px !important; } }
@media (prefers-reduced-motion: reduce) { .auth-shell { animation: none !important; } }
