/* therealconnect.in DAY theme (2026-12-05). Night = default; html[data-theme=light] = day. Loaded last on every public page. */
.trc-theme-btn{display:inline-grid;place-items:center;width:40px;height:40px;flex:none;border-radius:12px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.05);color:#f2f5ff;cursor:pointer;margin:0 8px;padding:0}
.trc-theme-btn:hover{border-color:#2ee6c5}
.trc-theme-btn:focus-visible{outline:2px solid #2ee6c5;outline-offset:2px}
.trc-theme-btn.float{position:fixed;right:14px;bottom:90px;z-index:60}
html[data-theme=light] .trc-theme-btn{border-color:rgba(10,16,40,.14);background:#fff;color:#0b1020}

html[data-theme=light]:root{color-scheme:light;
 --ink:#0b1020;--sub:#4a5470;--mut:#6b7590;--tert:#6b7590;--line:rgba(10,16,40,.1);--border:rgba(10,16,40,.15);--border-soft:rgba(10,16,40,.08);
 --bg:#f7f8fb;--bg2:#eef1f7;--bg-body:#f7f8fb;--card:#ffffff;--surface:#ffffff;--surface-2:#f3f5fa;
 --blue:#4f5ee8;--brand:#4f5ee8;--brand-dark:#3f4dd6;--teal:#0c9a83;--deep:#0c9a83;--green:#0c9a83;--orange:#e5762e;--amber:#b7791f;
 --tint:rgba(79,94,232,.08);--gtint:rgba(12,154,131,.08);
 /* homepage tokens */
 --glass:rgba(255,255,255,.82);--i:#4f5ee8;--t:#0c9a83;--c:#e8552f;--a:#b7791f;--v:#7a4fe0}
html[data-theme=light] body{background:#f7f8fb!important;color:var(--ink)}
html[data-theme=light] body::before{background:
 radial-gradient(700px 500px at 85% -10%,#4f5ee81a,transparent 70%),radial-gradient(600px 500px at -10% 40%,#0c9a8312,transparent 70%),
 linear-gradient(rgba(10,16,40,.045) 1px,transparent 1px) 0 0/48px 48px,linear-gradient(90deg,rgba(10,16,40,.045) 1px,transparent 1px) 0 0/48px 48px!important}
html[data-theme=light] .navbar,html[data-theme=light] body>nav,html[data-theme=light] nav,html[data-theme=light] header nav{background:rgba(255,255,255,.86)!important;border-bottom:1px solid var(--line)!important}
html[data-theme=light] .mobile-nav-btn{color:var(--ink)!important}
html[data-theme=light] input,html[data-theme=light] select,html[data-theme=light] textarea{background:#fff!important;color:var(--ink)!important;border-color:var(--border)!important}
html[data-theme=light] input::placeholder,html[data-theme=light] textarea::placeholder{color:#8a93ab}
html[data-theme=light] .glass{box-shadow:0 1px 2px rgba(10,16,40,.04),0 12px 40px -20px rgba(10,16,40,.18)}
/* logo: black tile, white house, coral dot (the print version) */
html[data-theme=light] svg rect[fill="#f2f5ff"]{fill:#06080f}
html[data-theme=light] svg path[d^="M15 30L32 15"][fill="#06080f"],html[data-theme=light] svg circle[r="2.4"][fill="#06080f"]{fill:#ffffff}
html[data-theme=light] [style*="color:#f2f5ff"],html[data-theme=light] [style*="color: #f2f5ff"]{color:var(--ink)!important}
/* inline dark panels left in page templates */
html[data-theme=light] [style*="background:#06080f"],html[data-theme=light] [style*="background:#0b1020"],html[data-theme=light] [style*="background:#0f1528"]{background:#fff!important;color:var(--ink)!important}
/* homepage: dock, inset, map screens */
html[data-theme=light] .dock{background:rgba(255,255,255,.9)!important}
html[data-theme=light] .inset{background:rgba(255,255,255,.92)!important}
html[data-theme=light] svg rect[fill="#070b18"]{fill:#f1f4fa}
html[data-theme=light] svg path[fill="#0f1528"]{fill:#e4e9f3;stroke:rgba(10,16,40,.08)}
html[data-theme=light] svg path[fill="#121a33"]{fill:#d5dcef}
html[data-theme=light] svg text[fill="#f2f5ff"]{fill:#0b1020}
html[data-theme=light] svg text[fill="#9aa4c2"]{fill:#5b6684}
html[data-theme=light] .radar svg circle[r="3"][fill="#fff"],html[data-theme=light] .cpmap svg circle[r="3"][fill="#fff"]{fill:#4f5ee8}
html[data-theme=light] .cpmap .bub:focus-visible circle.o{stroke:#0b1020}
/* chat bubbles on /developers */
html[data-theme=light] .msg{background:rgba(12,154,131,.12)!important;color:var(--ink)!important}
/* homepage nav: switch sits beside Sign in on the right */
nav .nav>.trc-theme-btn{margin-left:auto;margin-right:4px}
nav .nav>.trc-theme-btn+*{margin-left:0!important}
/* map labels and lines on white */
html[data-theme=light] svg text[fill="#cfd6ee"]{fill:#2a3352}
html[data-theme=light] svg [stroke="#2ee6c5"]{stroke:#0c9a83}
html[data-theme=light] svg [fill="#2ee6c5"]{fill:#0c9a83}
html[data-theme=light] svg [stroke="#ffffff14"],html[data-theme=light] svg [stroke="#ffffff22"]{stroke:rgba(10,16,40,.12)}
/* readability fixes found by the contrast scan */
html[data-theme=light] .toast{background:rgba(255,255,255,.94)!important;box-shadow:0 8px 24px -12px rgba(10,16,40,.25)}
html[data-theme=light] div.n{color:color-mix(in srgb,var(--col) 58%,#000)!important}
html[data-theme=light] .rr .x,html[data-theme=light] .soon{color:#c2410c!important;background:rgba(232,85,47,.1)!important}
html[data-theme=light] .rr .v{color:#0a7d6a!important}
html[data-theme=light] label{color:var(--sub)!important}
/* night-only fixes on /developers (pale tag, white text on bright teal) */
html:not([data-theme=light]) .who{background:rgba(46,230,197,.14)!important}
html:not([data-theme=light]) a.cta,html:not([data-theme=light]) .a1{color:#06080f!important}
/* developer login: the left brand panel stays a night panel in both themes */
html[data-theme=light] .brandside{--ink:#f2f5ff;--sub:#c9d1ea;color:#f2f5ff}
html[data-theme=light] .brandside [style*="color:#f2f5ff"]{color:#f2f5ff!important}
html[data-theme=light] .brandside svg rect[fill="#f2f5ff"]{fill:#f2f5ff}
html[data-theme=light] .brandside svg path[d^="M15 30L32 15"][fill="#06080f"],html[data-theme=light] .brandside svg circle[r="2.4"][fill="#06080f"]{fill:#06080f}
