/* ============================================================
   JAI · RAKSHAK — REAL working software (live-driven demo)
   Crime story = animated overlay (reuses rakshak.css).
   Investigation = LIVE in this real app screen.
   ============================================================ */

/* ---------- app shell ---------- */
.rka{ display:grid; grid-template-columns:236px 1fr; min-height:100vh; }
.rka-side{ background:linear-gradient(180deg,#0a1f44,#0b224a 60%,#0a1c3d); color:#cdd8ec; display:flex; flex-direction:column; position:sticky; top:0; height:100vh; }
.rka-side .top{ padding:16px; border-bottom:1px solid rgba(255,255,255,.07); display:flex; align-items:center; gap:11px; }
.rka-side .crest{ width:34px; height:40px; } .rka-side .wm b{ font-family:var(--ff-head); font-size:16px; letter-spacing:2px; color:#fff; display:block; line-height:1; } .rka-side .wm small{ font-size:9px; letter-spacing:1px; color:var(--gold-2); font-family:var(--ff-hi); }
.rka-nav{ padding:12px; flex:1; }
.rka-nav .g{ font-size:9.5px; letter-spacing:1.3px; text-transform:uppercase; color:#6f83a6; margin:14px 10px 7px; }
.rka-nav a{ display:flex; align-items:center; gap:10px; padding:9px 12px; border-radius:9px; color:#c2cfe6; font-size:13px; margin-bottom:2px; cursor:pointer; font-family:var(--ff-hi); }
.rka-nav a.active{ background:linear-gradient(90deg,rgba(201,168,76,.22),rgba(201,168,76,.05)); color:#fff; }
.rka-nav a .ic{ width:17px; height:17px; opacity:.85; }
.rka-side .foot{ padding:13px 16px; border-top:1px solid rgba(255,255,255,.07); font-size:11px; color:#7388ab; } .rka-side .foot b{ color:#c8d4ea; }
.livedot{ width:8px; height:8px; border-radius:50%; background:#3ddc84; display:inline-block; }

.rka-main{ display:flex; flex-direction:column; min-width:0; }
.rka-top{ height:60px; background:#fff; border-bottom:1px solid var(--border); display:flex; align-items:center; gap:14px; padding:0 22px; position:sticky; top:0; z-index:20; }
.rka-top .crumb{ font-size:13px; color:var(--ink-3); font-family:var(--ff-hi); } .rka-top .crumb b{ color:var(--ink); }
.rka-top .sp{ flex:1; }
.rka-top .pill2{ font-size:11px; color:var(--ink-2); background:var(--bg-2); border:1px solid var(--border); padding:6px 11px; border-radius:20px; font-family:var(--ff-hi); }
.rka-top .who{ display:flex; align-items:center; gap:9px; } .rka-top .who .av{ width:34px; height:34px; border-radius:50%; background:linear-gradient(150deg,var(--navy),var(--navy-2)); color:var(--gold-2); display:grid; place-items:center; font-family:var(--ff-head); } .rka-top .who .nm{ font-size:12.5px; font-weight:600; color:var(--ink); } .rka-top .who .rl{ font-size:10.5px; color:var(--ink-3); font-family:var(--ff-hi); }

.rka-work{ padding:22px; flex:1; display:grid; grid-template-columns:1.55fr 1fr; gap:18px; align-items:start; background:var(--bg); }
@media(max-width:1100px){ .rka-work{ grid-template-columns:1fr; } }
.rka-col{ display:flex; flex-direction:column; gap:16px; min-width:0; }
.rka-col.right{ position:sticky; top:80px; }

/* case header */
.casehd{ background:linear-gradient(160deg,#0d2552,#0a1f44); color:#eaf0fb; border-radius:14px; padding:16px 18px; display:flex; align-items:center; gap:14px; }
.casehd .ph{ font-size:30px; }
.casehd .t b{ font-size:16px; color:#fff; font-family:var(--ff-hi); display:block; } .casehd .t span{ font-size:12px; color:#9fb2d4; }
.casehd .gh{ margin-left:auto; font-size:11px; font-weight:700; color:#2a2110; background:linear-gradient(160deg,var(--gold),var(--gold-deep)); padding:6px 12px; border-radius:20px; }

/* cards */
.c{ background:#fff; border:1px solid var(--border); border-radius:13px; box-shadow:var(--shadow-sm); }
.c-h{ display:flex; align-items:center; justify-content:space-between; gap:10px; padding:13px 16px; border-bottom:1px solid var(--border); }
.c-h h3{ font-size:13.5px; color:var(--ink); font-family:var(--ff-hi); } .c-h .n{ width:22px; height:22px; border-radius:50%; background:var(--navy); color:#fff; display:grid; place-items:center; font-size:11px; margin-right:8px; }
.c-h .right{ display:flex; align-items:center; gap:8px; }
.c-b{ padding:16px; }

.complaint2{ font-family:var(--ff-hi); font-size:14px; line-height:1.7; color:var(--ink); background:var(--surface-2); border:1px solid var(--border); border-radius:9px; padding:13px; min-height:84px; }
.complaint2 mark{ background:#fde7b0; color:#7a5a00; padding:1px 4px; border-radius:4px; }
.cursor::after{ content:"▋"; color:var(--gold-deep); animation:bk 1s step-end infinite; } @keyframes bk{ 50%{ opacity:0; } }

.fgrid{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.f2{ background:var(--surface-2); border:1px solid var(--border); border-radius:9px; padding:10px 12px; transition:.3s; }
.f2 .k{ font-size:10px; text-transform:uppercase; letter-spacing:.4px; color:var(--ink-3); } .f2 .v{ font-size:14px; color:var(--ink); font-weight:600; margin-top:3px; min-height:19px; font-family:var(--ff-hi); }
.f2.fill{ animation:fl2 1.1s ease; border-color:#e8d49a; } @keyframes fl2{ 0%{ background:#fbf1d2; } 100%{ background:var(--surface-2); } }

.sec2{ display:inline-flex; flex-direction:column; gap:2px; padding:8px 13px; border-radius:10px; background:var(--blue-bg); color:var(--blue); margin:4px 4px 0 0; font-weight:700; font-size:13px; border:1px solid #cdddf7; opacity:0; transform:scale(.8); }
.sec2.show{ animation:secpop .4s forwards; } @keyframes secpop{ to{ opacity:1; transform:scale(1); } }
.sec2 small{ font-weight:500; font-size:10px; color:var(--ink-2); font-family:var(--ff-hi); }

.actrow{ display:flex; gap:10px; flex-wrap:wrap; }
.statusline{ display:flex; align-items:center; gap:8px; font-size:12.5px; color:var(--ink-2); font-family:var(--ff-hi); padding:8px 0; }
.statusline.ok{ color:var(--green); }

/* medha panel */
.medhaP{ background:linear-gradient(160deg,#0d2552,#0a1f44); color:#dbe6f7; border:1px solid var(--navy-soft); border-radius:14px; overflow:hidden; }
.medhaP .h{ display:flex; align-items:center; gap:10px; padding:13px 16px; border-bottom:1px solid rgba(255,255,255,.08); }
.medhaP .h .mi{ width:30px; height:30px; border-radius:9px; background:linear-gradient(150deg,var(--gold),var(--gold-deep)); color:#2a2110; display:grid; place-items:center; font-family:var(--ff-head); position:relative; }
.medhaP.think .h .mi::after{ content:""; position:absolute; inset:-3px; border-radius:11px; border:2px solid var(--gold-2); border-top-color:transparent; animation:sp .8s linear infinite; } @keyframes sp{ to{ transform:rotate(360deg); } }
.medhaP .h b{ font-size:13.5px; color:#fff; } .medhaP .h small{ display:block; font-size:10.5px; color:var(--gold-2); }
.medhaP .b{ padding:14px 16px; font-size:12.5px; line-height:1.6; min-height:60px; font-family:var(--ff-hi); }
.medhaP .sug{ background:rgba(255,255,255,.05); border:1px solid rgba(201,168,76,.25); border-radius:9px; padding:9px 11px; margin:7px 0; animation:rkup .4s both; } .medhaP .sug b{ color:var(--gold-2); }

/* pipeline */
.pl3{ display:flex; flex-direction:column; gap:7px; }
.pl3 .s{ display:flex; align-items:center; gap:9px; font-size:12px; color:var(--ink-3); font-family:var(--ff-hi); }
.pl3 .s .n{ width:20px; height:20px; border-radius:50%; background:var(--bg-2); border:1px solid var(--border-2); color:var(--ink-3); display:grid; place-items:center; font-size:10px; flex:0 0 auto; }
.pl3 .s.done{ color:var(--green); } .pl3 .s.done .n{ background:var(--green); border-color:var(--green); color:#fff; }
.pl3 .s.now{ color:var(--gold-deep); font-weight:700; } .pl3 .s.now .n{ background:var(--gold); border-color:var(--gold); color:#2a2110; }

/* money-trail */
.trailbox{ height:230px; position:relative; }
.trailbox svg line{ stroke-dasharray:300; stroke-dashoffset:300; } .trailbox.draw svg line{ animation:rkdraw .8s forwards; } @keyframes rkdraw{ to{ stroke-dashoffset:0; } }
.trailbox svg g.node{ opacity:0; } .trailbox.draw svg g.node{ animation:rkpop .5s forwards; }
.trail-empty{ display:grid; place-items:center; height:100%; color:var(--ink-3); font-size:12.5px; font-family:var(--ff-hi); text-align:center; }
.trailbox.draw .trail-empty{ display:none; }

/* seal + cert */
.sealrow2{ display:flex; align-items:center; gap:9px; font-size:12.5px; color:var(--green); background:var(--green-bg); border:1px solid #bfe6d2; padding:9px 12px; border-radius:9px; font-family:var(--ff-hi); }
.sealrow2 .mono{ font-family:var(--ff-mono); font-size:11px; color:var(--ink-2); }

.stamp3{ display:inline-block; font-family:var(--ff-head); font-size:16px; letter-spacing:1.5px; padding:7px 16px; border:2.5px solid; border-radius:9px; transform:rotate(-6deg); opacity:0; }
.stamp3.show{ animation:rkslam .5s cubic-bezier(.2,1.5,.4,1) forwards; } @keyframes rkslam{ 0%{ transform:rotate(-6deg) scale(2.2); opacity:0; } 60%{ opacity:1; } 100%{ transform:rotate(-6deg) scale(1); opacity:1; } }
.stamp3.green{ color:#1e9e6a; border-color:#1e9e6a; } .stamp3.blue{ color:#2563c9; border-color:#2563c9; }

.hidden{ display:none !important; }

/* ============================================================ COACH-MARK (live tour highlight) */
.coach-dim{ position:fixed; inset:0; background:rgba(10,24,48,.55); z-index:6000; display:none; }
.coach-dim.show{ display:block; }
.coached{ position:relative; z-index:6200 !important; box-shadow:0 0 0 3px var(--gold), 0 0 0 9999px rgba(10,24,48,.55); border-radius:13px; transition:.25s; }
.coach-cap{ position:fixed; z-index:6300; max-width:420px; background:linear-gradient(160deg,#0d2552,#0a1f44); color:#eaf0fb; border:1px solid var(--gold-deep); border-radius:12px; padding:13px 16px; box-shadow:var(--shadow-lg); display:none; }
.coach-cap.show{ display:block; animation:rkup .3s both; }
.coach-cap .mi{ width:26px; height:26px; border-radius:7px; background:linear-gradient(150deg,var(--gold),var(--gold-deep)); color:#2a2110; display:grid; place-items:center; font-family:var(--ff-head); float:left; margin-right:10px; }
.coach-cap b{ font-size:13px; color:var(--gold-2); display:block; } .coach-cap span{ font-size:13.5px; color:#dbe6f7; font-family:var(--ff-hi); line-height:1.5; }

/* ============================================================ INTRO / RESULT cinematic overlay */
.cine{ position:fixed; inset:0; z-index:7000; display:none; flex-direction:column; background-color:#0a1c3d;
  background-image:radial-gradient(1100px 650px at 50% -8%, rgba(28,62,118,.7) 0%, transparent 60%); }
.cine.show{ display:flex; }
.cine .c-top{ display:flex; align-items:center; gap:12px; padding:14px 26px; border-bottom:1px solid rgba(255,255,255,.08); color:#fff; }
.cine .c-top b{ font-family:var(--ff-head); letter-spacing:1.4px; font-size:16px; } .cine .c-top .ph2{ font-family:var(--ff-hi); font-size:12px; color:var(--gold-2); }
.cine .c-top .step2{ margin-left:auto; font-size:12px; color:#9fb2d4; font-family:var(--ff-hi); border:1px solid rgba(255,255,255,.15); padding:4px 11px; border-radius:20px; }
.cine .c-stage{ flex:1; display:flex; align-items:center; justify-content:center; padding:22px; }
.cine .c-cap{ padding:14px 26px 22px; text-align:center; } .cine .c-cap .hi{ font-family:var(--ff-hi); font-size:20px; color:#fff; line-height:1.45; } .cine .c-cap b{ display:block; font-size:13px; color:#9fb2d4; margin-bottom:4px; }

/* ============================================================ bottom control bar (live tour) */
.tourbar{ position:fixed; bottom:0; left:0; right:0; z-index:6400; background:linear-gradient(180deg,#0a1f44,#0a1830); color:#fff; padding:12px 22px; display:none; align-items:center; gap:16px; box-shadow:0 -8px 30px rgba(10,24,48,.3); }
.tourbar.show{ display:flex; }
.tourbar .p-ic{ width:34px; height:34px; border-radius:9px; background:linear-gradient(150deg,var(--gold),var(--gold-deep)); color:#2a2110; display:grid; place-items:center; font-family:var(--ff-head); flex:0 0 auto; }
.tourbar .lbl{ flex:1; font-size:13px; color:#cdd9ee; font-family:var(--ff-hi); }
.tourbar .prog{ width:160px; height:4px; background:rgba(255,255,255,.15); border-radius:4px; overflow:hidden; } .tourbar .prog>i{ display:block; height:100%; background:var(--gold); transition:width .3s; }
.tourbar button{ background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.2); color:#fff; padding:8px 14px; border-radius:9px; cursor:pointer; font-weight:600; font-size:12.5px; font-family:var(--ff-hi); }
.tourbar button.gold{ background:linear-gradient(160deg,var(--gold),var(--gold-deep)); color:#2a2110; border:none; }

/* big start button on app (before tour) */
.startwrap{ position:fixed; bottom:22px; left:50%; transform:translateX(-50%); z-index:5500; }
.startbtn{ display:inline-flex; align-items:center; gap:11px; background:linear-gradient(160deg,var(--gold),var(--gold-deep)); color:#2a2110; font-weight:700; font-size:15px; padding:13px 26px; border:none; border-radius:40px; cursor:pointer; box-shadow:0 14px 40px rgba(201,168,76,.3); font-family:var(--ff-hi); }
.startbtn .pl{ width:26px; height:26px; border-radius:50%; background:#2a2110; color:var(--gold-2); display:grid; place-items:center; }
body.touring .startwrap{ display:none; }

/* ============================================================ ANIMATED DEMO CURSOR (show, don't tell) */
.demo-cursor{ position:fixed; left:0; top:0; width:28px; height:28px; z-index:6500; pointer-events:none; display:none;
  transition:left .95s cubic-bezier(.45,.05,.2,1), top .95s cubic-bezier(.45,.05,.2,1), transform .12s ease; }
body.touring .demo-cursor{ display:block; }
.demo-cursor svg{ filter:drop-shadow(0 3px 5px rgba(0,0,0,.45)); display:block; }
.demo-cursor.press{ transform:scale(.82); }
.cursor-ripple{ position:fixed; z-index:6499; width:18px; height:18px; border-radius:50%; border:2.5px solid var(--gold); pointer-events:none; animation:cripp .55s ease-out forwards; }
@keyframes cripp{ from{ transform:translate(-50%,-50%) scale(.35); opacity:.95; } to{ transform:translate(-50%,-50%) scale(3.4); opacity:0; } }

/* gentle zoom on the active card during tour */
.coached{ transform:scale(1.012); }

/* before/after metric strip */
.ba{ display:inline-flex; align-items:center; gap:8px; font-family:var(--ff-hi); font-size:12px; background:var(--green-bg); color:var(--green); border:1px solid #bfe6d2; padding:5px 11px; border-radius:20px; margin-top:8px; }
.ba .old{ color:var(--ink-3); text-decoration:line-through; } .ba .arr{ color:var(--gold-deep); font-weight:700; }
.metrics{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; margin-top:18px; }
.metric{ background:rgba(255,255,255,.06); border:1px solid rgba(201,168,76,.35); border-radius:13px; padding:12px 18px; text-align:center; min-width:150px; }
.metric .old2{ font-size:13px; color:#9fb2d4; font-family:var(--ff-hi); text-decoration:line-through; } .metric .arr2{ color:var(--gold-2); font-size:16px; }
.metric .new2{ font-family:var(--ff-head); font-size:22px; color:#fff; letter-spacing:.5px; margin-top:2px; } .metric .lbl2{ font-size:11px; color:var(--gold-2); font-family:var(--ff-hi); margin-top:3px; }

.btn-press{ transform:scale(.94); filter:brightness(.92); }

/* ============================================================ MULTI-PAGE SYSTEM */
.badge2{ margin-left:auto; font-size:10px; font-weight:700; background:var(--gold); color:#2a2110; padding:1px 7px; border-radius:20px; }
.search3{ display:flex; align-items:center; gap:8px; background:var(--bg-2); border:1.5px solid var(--border); border-radius:9px; padding:7px 11px; color:var(--ink-3); min-width:280px; }
.search3.sm{ min-width:200px; padding:6px 10px; } .search3 input{ border:none; background:none; outline:none; flex:1; font-family:var(--ff-hi); font-size:13px; color:var(--ink); }
.rka-pagewrap{ padding:22px; flex:1; background:var(--bg); }
.page{ display:none; } .page.active{ display:block; animation:rkup .25s ease; }
.pg-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:14px; margin-bottom:18px; flex-wrap:wrap; }
.pg-head h2{ font-family:var(--ff-head); font-weight:400; font-size:23px; letter-spacing:.5px; color:var(--navy); }
.pg-head h2 span{ font-size:14px; color:var(--ink-3); font-family:var(--ff-hi); } .pg-head p{ color:var(--ink-2); font-size:13px; margin-top:5px; font-family:var(--ff-hi); }
.pg-act{ display:flex; gap:9px; }

/* dashboard */
.kpis6{ display:grid; grid-template-columns:repeat(6,1fr); gap:13px; margin-bottom:18px; }
@media(max-width:1250px){ .kpis6{ grid-template-columns:repeat(3,1fr); } }
.kpi3{ background:#fff; border:1px solid var(--border); border-radius:12px; padding:14px; box-shadow:var(--shadow-sm); }
.kpi3 .ic{ width:36px; height:36px; border-radius:10px; display:grid; place-items:center; font-size:17px; }
.kpi3 .v{ font-family:var(--ff-head); font-size:25px; color:var(--navy); margin:9px 0 1px; } .kpi3 .l{ font-size:11.5px; color:var(--ink-2); font-family:var(--ff-hi); }
.dash-2col{ display:grid; grid-template-columns:1.3fr 1fr; gap:16px; } @media(max-width:1100px){ .dash-2col{ grid-template-columns:1fr; } }
.bars{ display:flex; align-items:flex-end; gap:14px; height:180px; padding-top:16px; }
.bars .bar{ flex:1; display:flex; flex-direction:column; justify-content:flex-end; align-items:center; height:100%; position:relative; }
.bars .bar::before{ content:""; width:100%; height:var(--h); background:linear-gradient(180deg,var(--navy-2),var(--navy)); border-radius:7px 7px 0 0; transition:height .8s cubic-bezier(.2,.8,.2,1); }
.bars .bar:hover::before{ background:linear-gradient(180deg,var(--gold),var(--gold-deep)); }
.bars .bar span{ position:absolute; bottom:-20px; font-size:10px; color:var(--ink-3); font-family:var(--ff-hi); white-space:nowrap; } .bars .bar i{ position:absolute; top:calc(100% - var(--h) - 18px); font-size:12px; font-weight:700; color:var(--navy); font-style:normal; }
.act{ display:flex; align-items:center; gap:11px; padding:11px 0; border-bottom:1px solid var(--border); } .act:last-child{ border:none; }
.act .d{ width:9px; height:9px; border-radius:50%; flex:0 0 auto; } .act .d.g{ background:var(--green);} .act .d.b{ background:var(--blue);} .act .d.a{ background:var(--amber);} .act .d.p{ background:var(--purple);}
.act b{ font-size:13px; color:var(--ink); display:block; font-family:var(--ff-hi); } .act small{ font-size:11.5px; color:var(--ink-3); } .act .t{ margin-left:auto; font-size:11px; color:var(--ink-3); font-family:var(--ff-hi); }
.lnk{ color:var(--blue); font-size:12px; cursor:pointer; font-family:var(--ff-hi); }

/* filter bar */
.filterbar{ display:flex; align-items:center; gap:8px; margin-bottom:14px; flex-wrap:wrap; }
.chipf{ font-size:12px; padding:6px 13px; border-radius:20px; background:#fff; border:1px solid var(--border); color:var(--ink-2); cursor:pointer; font-family:var(--ff-hi); }
.chipf.active{ background:var(--navy); color:#fff; border-color:var(--navy); }
.filterbar .sp{ flex:1; }

/* data tables (dense, many columns) */
.tblwrap{ overflow-x:auto; }
.dtbl{ width:100%; border-collapse:collapse; font-size:12.5px; min-width:680px; }
.dtbl th{ text-align:left; font-size:10.5px; letter-spacing:.4px; text-transform:uppercase; color:var(--ink-3); font-weight:700; padding:11px 13px; border-bottom:1.5px solid var(--border); background:var(--surface-2); white-space:nowrap; font-family:var(--ff-body); }
.dtbl td{ padding:11px 13px; border-bottom:1px solid var(--border); color:var(--ink); white-space:nowrap; font-family:var(--ff-hi); }
.dtbl td.mono{ font-family:var(--ff-mono); font-size:11.5px; color:var(--ink-2); }
.dtbl tbody tr{ cursor:pointer; } .dtbl tbody tr:hover td{ background:var(--surface-2); } .dtbl tbody tr:last-child td{ border-bottom:none; }
.dtbl tr.hot td{ background:#fdf0ee; } .dtbl tr.rowsel td{ background:#fbf3da !important; }
.tbl-foot{ display:flex; justify-content:space-between; align-items:center; padding:11px 16px; border-top:1px solid var(--border); font-size:12px; color:var(--ink-3); font-family:var(--ff-hi); }
.pager{ display:flex; gap:4px; } .pager span{ min-width:26px; height:26px; display:grid; place-items:center; border-radius:7px; border:1px solid var(--border); font-size:12px; color:var(--ink-2); cursor:pointer; } .pager span.on{ background:var(--navy); color:#fff; border-color:var(--navy); }

/* case file */
.cf-tabs{ display:flex; gap:3px; border-bottom:1.5px solid var(--border); margin-bottom:16px; flex-wrap:wrap; }
.cf-tabs a{ padding:9px 16px; font-size:13px; font-weight:600; color:var(--ink-2); border-bottom:2.5px solid transparent; cursor:pointer; font-family:var(--ff-hi); }
.cf-tabs a:hover{ color:var(--navy); } .cf-tabs a.active{ color:var(--navy); border-bottom-color:var(--gold); }
.cf-body{ display:grid; grid-template-columns:1fr 320px; gap:16px; align-items:start; } @media(max-width:1100px){ .cf-body{ grid-template-columns:1fr; } }
.cf-main{ display:flex; flex-direction:column; gap:14px; min-width:0; }
.cf-rail{ display:flex; flex-direction:column; gap:14px; position:sticky; top:78px; }
.cf-tabpane{ display:none; } .cf-tabpane.active{ display:flex; flex-direction:column; gap:14px; animation:rkup .2s; }
.formcard{ background:#fff; border:1px solid var(--border); border-radius:12px; box-shadow:var(--shadow-sm); }
.fc-h{ padding:11px 16px; border-bottom:1px solid var(--border); font-size:13px; font-weight:700; color:var(--ink); font-family:var(--ff-hi); }
.fc-grid{ padding:16px; display:grid; grid-template-columns:1fr 1fr 1fr; gap:13px; } @media(max-width:760px){ .fc-grid{ grid-template-columns:1fr 1fr; } }
.fc-b{ padding:16px; }
.fld{ display:flex; flex-direction:column; gap:5px; } .fld.wide{ grid-column:1 / -1; }
.fld label{ font-size:10.5px; text-transform:uppercase; letter-spacing:.4px; color:var(--ink-3); font-weight:600; }
.inp2{ background:var(--surface-2); border:1px solid var(--border-2); border-radius:8px; padding:9px 12px; font-size:13.5px; color:var(--ink); min-height:18px; }
.inp2.hi{ font-family:var(--ff-hi); } .inp2.area{ min-height:54px; line-height:1.6; }
.ba2{ font-size:11px; font-weight:700; background:var(--green-bg); color:var(--green); border:1px solid #bfe6d2; padding:3px 9px; border-radius:20px; margin-left:8px; font-family:var(--ff-hi); } .ba2 .o{ color:var(--ink-3); text-decoration:line-through; }
.net-2col{ display:grid; grid-template-columns:1.2fr 1fr; gap:16px; } @media(max-width:1100px){ .net-2col{ grid-template-columns:1fr; } }
.grid{ display:grid; gap:16px; } .grid.g2{ grid-template-columns:1fr 1fr; } .grid.g3{ grid-template-columns:1fr 1fr 1fr; } @media(max-width:900px){ .grid.g2,.grid.g3{ grid-template-columns:1fr; } }
.c.pad{ padding:16px; }

/* ============================================================ INTEGRATION MAP */
.intg-map{ display:grid; grid-template-columns:1fr 300px 1fr; gap:18px; align-items:center; margin-bottom:18px; }
@media(max-width:1100px){ .intg-map{ grid-template-columns:1fr; } }
.intg-side{ display:flex; flex-direction:column; gap:12px; }
.intg-side .lbl-side{ font-size:11px; font-weight:700; letter-spacing:.4px; text-transform:uppercase; color:var(--ink-3); text-align:center; font-family:var(--ff-body); }
.intg-card{ background:#fff; border:1px solid var(--border); border-radius:11px; padding:11px 14px; box-shadow:var(--shadow-sm); position:relative; display:flex; align-items:center; gap:11px; }
.intg-card .ic2{ width:34px; height:34px; border-radius:9px; display:grid; place-items:center; font-size:16px; flex:0 0 auto; }
.intg-card b{ font-size:13px; color:var(--navy); display:block; } .intg-card span{ font-size:11px; color:var(--ink-3); font-family:var(--ff-hi); }
.intg-card.src{ border-left:3px solid var(--blue); } .intg-card.act{ border-left:3px solid var(--gold-deep); }
/* flow line with moving dot */
.flowline{ position:absolute; top:50%; height:2px; background:repeating-linear-gradient(90deg,var(--border-2) 0 6px,transparent 6px 12px); overflow:visible; }
.intg-side.left .flowline{ right:-19px; width:18px; } .intg-side.right .flowline{ left:-19px; width:18px; }
.flowline .fd{ position:absolute; top:-3px; width:7px; height:7px; border-radius:50%; }
.intg-side.left .flowline .fd{ background:var(--blue); animation:flowR 1.8s linear infinite; }
.intg-side.right .flowline .fd{ background:var(--gold); animation:flowR 1.8s linear infinite; }
@keyframes flowR{ from{ left:-2px; opacity:0;} 10%{opacity:1;} 90%{opacity:1;} to{ left:16px; opacity:0;} }
.intg-core{ background:linear-gradient(160deg,#0d2552,#0a1f44); border:2px dashed var(--gold); border-radius:16px; padding:18px; text-align:center; position:relative; }
.intg-core .b-tag2{ position:absolute; top:-11px; left:50%; transform:translateX(-50%); background:var(--gold); color:#2a2110; font-size:10.5px; font-weight:700; padding:3px 12px; border-radius:20px; white-space:nowrap; }
.intg-core .ccrest{ width:42px; height:48px; margin:6px auto 8px; }
.intg-core h4{ font-family:var(--ff-head); color:#fff; font-size:18px; letter-spacing:1.5px; } .intg-core .sub2{ font-size:11px; color:var(--gold-2); font-family:var(--ff-hi); margin-top:3px; }
.intg-core .corebox{ background:rgba(255,255,255,.06); border:1px solid rgba(201,168,76,.3); border-radius:10px; padding:8px; margin-top:10px; font-size:11.5px; color:#dbe6f7; font-family:var(--ff-hi); }
.intg-core .never{ margin-top:10px; font-size:11px; color:#7fe3ad; font-family:var(--ff-hi); }
.napix{ text-align:center; font-size:12px; color:var(--ink-2); font-family:var(--ff-hi); margin:4px 0 14px; }
.napix b{ color:var(--gold-deep); }

/* integration feasibility badges + honest box */
.intg-card .feas{ display:inline-block; font-size:9px; font-weight:700; padding:2px 7px; border-radius:20px; margin-top:4px; font-family:var(--ff-hi); }
.feas.fa-amber{ background:var(--amber-bg); color:var(--amber); } .feas.fa-blue{ background:var(--blue-bg); color:var(--blue); } .feas.fa-gray{ background:var(--bg-2); color:var(--ink-3); } .feas.fa-green{ background:var(--green-bg); color:var(--green); }
.honest-2col{ display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:16px; } @media(max-width:900px){ .honest-2col{ grid-template-columns:1fr; } }
.honest-box{ border-radius:12px; padding:14px 16px; border:1px solid var(--border); }
.honest-box.t{ background:#eef9f1; border-color:#bfe6d2; } .honest-box.n{ background:#fdf2f0; border-color:#f0c9c4; }
.honest-box h4{ font-family:var(--ff-hi); font-size:14px; margin-bottom:9px; } .honest-box.t h4{ color:var(--green); } .honest-box.n h4{ color:var(--red); }
.honest-box ul{ list-style:none; } .honest-box li{ font-family:var(--ff-hi); font-size:12.5px; color:var(--ink-2); padding:5px 0 5px 20px; position:relative; line-height:1.5; }
.honest-box.t li::before{ content:"✓"; position:absolute; left:0; color:var(--green); font-weight:700; } .honest-box.n li::before{ content:"✕"; position:absolute; left:0; color:var(--red); font-weight:700; }
.honest-box li b{ color:var(--ink); }

/* ============================================================
   ✦ POLISH LAYER (look elevation) — applies to RAKSHAK + PRAHARI
   appended last so it refines the base without layout changes
   ============================================================ */
body{ -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility; }

/* page background — subtle layered depth instead of flat */
.rka-pagewrap{ background:
  radial-gradient(820px 420px at 100% -6%, rgba(201,168,76,.055), transparent 56%),
  radial-gradient(760px 520px at -6% 8%, rgba(37,99,201,.05), transparent 52%),
  linear-gradient(180deg,#eef2f8,#e8edf6); }

/* cards — softer layered shadow + gentle hover lift */
.c,.kpi3,.formcard{ box-shadow:0 1px 2px rgba(16,35,71,.04),0 6px 18px rgba(16,35,71,.06);
  transition:box-shadow .22s ease, transform .22s ease, border-color .22s ease; }
.c:hover,.formcard:hover{ box-shadow:0 2px 4px rgba(16,35,71,.05),0 16px 36px rgba(16,35,71,.11); }
.c-h{ background:linear-gradient(180deg,#ffffff,#fcfdff); border-radius:13px 13px 0 0; }

/* KPI cards — top accent bar, lift on hover, crisp icon ring */
.kpis6{ gap:14px; }
.kpi3{ position:relative; overflow:hidden; padding:16px 15px; border-color:#e7edf6; }
.kpi3::before{ content:""; position:absolute; top:0; left:0; right:0; height:3px;
  background:linear-gradient(90deg,var(--gold),var(--gold-2)); transform:scaleX(0); transform-origin:left; transition:transform .25s ease; }
.kpi3:hover{ transform:translateY(-3px); border-color:var(--border-2); box-shadow:0 3px 6px rgba(16,35,71,.06),0 18px 40px rgba(16,35,71,.12); }
.kpi3:hover::before{ transform:scaleX(1); }
.kpi3 .ic{ box-shadow:inset 0 0 0 1px rgba(255,255,255,.55), 0 2px 6px rgba(16,35,71,.06); }
.kpi3 .v{ font-size:27px; letter-spacing:.4px; }

/* sidebar — depth, top gold glow, active item highlight */
.rka-side{ box-shadow:4px 0 24px rgba(10,24,48,.12); position:relative; }
.rka-side .top{ position:relative; z-index:1; background:linear-gradient(180deg,rgba(201,168,76,.08),transparent); }
.rka-side .crest{ filter:drop-shadow(0 2px 7px rgba(201,168,76,.35)); }
.rka-nav a{ transition:background .15s ease, color .15s ease; position:relative; }
.rka-nav a:hover{ background:rgba(255,255,255,.07); color:#fff; }
.rka-nav a.active{ box-shadow:inset 0 0 0 1px rgba(201,168,76,.16); position:relative; }
.rka-nav a.active::after{ content:""; position:absolute; left:-12px; top:7px; bottom:7px; width:3px; border-radius:0 4px 4px 0; background:var(--gold); box-shadow:0 0 10px rgba(201,168,76,.7); }

/* topbar — faint elevation */
.rka-top{ box-shadow:0 1px 0 var(--border),0 6px 18px rgba(16,35,71,.045); }

/* page heading — gold underline accent */
.pg-head h2{ position:relative; padding-bottom:10px; }
.pg-head h2::after{ content:""; position:absolute; left:0; bottom:0; width:44px; height:3px; border-radius:3px; background:linear-gradient(90deg,var(--gold),var(--gold-2)); }

/* data tables — zebra, hover accent stripe, refined header */
.dtbl th{ background:linear-gradient(180deg,#f8fafd,#f1f5fb); border-bottom-color:var(--border-2); }
.dtbl tbody tr{ transition:background .12s ease, box-shadow .12s ease; }
.dtbl tbody tr:nth-child(even) td{ background:rgba(246,248,252,.55); }
.dtbl tbody tr:hover td{ background:#f2f7fe; box-shadow:inset 3px 0 0 var(--gold); }
.dtbl tr.rowsel td{ box-shadow:inset 3px 0 0 var(--gold-deep); }

/* bars — rounded + inner highlight + bolder value */
.bars .bar::before{ box-shadow:inset 0 1px 0 rgba(255,255,255,.12); border-radius:8px 8px 0 0; }
.bars .bar i{ color:var(--navy); font-weight:800; }

/* activity rows + chips + pills — smooth states */
.act{ transition:.12s; } .act:hover{ background:rgba(246,248,252,.6); border-radius:8px; padding-left:6px; padding-right:6px; }
.chipf{ transition:.15s ease; } .chipf:hover{ border-color:var(--gold); color:var(--navy); }
.rka-top .pill2{ transition:.15s ease; } .rka-top .pill2:hover{ border-color:var(--gold); }
.badge{ box-shadow:inset 0 0 0 1px rgba(0,0,0,.025); }

/* section chips pop a touch nicer */
.sec2{ box-shadow:0 2px 6px rgba(37,99,201,.10); }

/* dark feature panels — subtle gold top hairline + diagonal sheen */
.casehd,.medhaP,.intg-core{ position:relative; overflow:hidden; border-top:1px solid rgba(201,168,76,.25); }
.casehd::after,.intg-core::after{ content:""; position:absolute; top:-60%; right:-12%; width:46%; height:220%;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.05)); transform:rotate(20deg); pointer-events:none; }

/* feed post — premium float */
.feedpost{ box-shadow:0 10px 34px rgba(16,35,71,.12); }

/* start button — gentle glow pulse */
.startbtn{ animation:startglow 2.8s ease-in-out infinite; }
@keyframes startglow{ 0%,100%{ box-shadow:0 14px 40px rgba(201,168,76,.30);} 50%{ box-shadow:0 16px 52px rgba(201,168,76,.52);} }

/* honest boxes + integration cards — soften */
.intg-card{ transition:box-shadow .2s, transform .2s; } .intg-card:hover{ transform:translateY(-2px); box-shadow:0 12px 28px rgba(16,35,71,.10); }
.honest-box{ box-shadow:0 6px 18px rgba(16,35,71,.05); }

/* ============================================================
   ✦ RESPONSIVE LAYER — phone · tablet · laptop · projector
   (RAKSHAK + PRAHARI share this)
   ============================================================ */
.rka-hamb{ display:none; width:38px; height:38px; border-radius:9px; border:1px solid var(--border); background:var(--bg-2); color:var(--navy); place-items:center; cursor:pointer; flex:0 0 auto; }
.rka-hamb svg{ width:20px; height:20px; }
.rka-backdrop{ position:fixed; inset:0; background:rgba(10,24,48,.5); z-index:110; display:none; }

/* tablet — tighten 6-KPI + side rails stack earlier */
@media(max-width:1024px){
  .rka{ grid-template-columns:200px 1fr; }
  .kpis6{ grid-template-columns:repeat(3,1fr); }
  .cf-body{ grid-template-columns:1fr; } .cf-rail{ position:static; }
  .rka-col.right{ position:static; }
}

/* phone / small tablet — off-canvas sidebar */
@media(max-width:860px){
  .rka{ grid-template-columns:1fr; }
  .rka-side{ position:fixed; left:0; top:0; bottom:0; width:248px; z-index:120;
    transform:translateX(-100%); transition:transform .26s ease; box-shadow:10px 0 44px rgba(10,24,48,.45); height:100vh; }
  .rka.navopen .rka-side{ transform:none; }
  .rka.navopen .rka-backdrop{ display:block; }
  .rka-hamb{ display:grid; }
  .rka-main{ min-height:100vh; }
  .rka-top{ padding:0 14px; gap:10px; position:sticky; }
  .rka-top .search3{ display:none; }
  .rka-top .who .nm,.rka-top .who .rl{ display:none; }
  .rka-top .pill2{ padding:5px 9px; font-size:10px; }
  .rka-pagewrap,.rka-work{ padding:14px; }
  .rka-work{ grid-template-columns:1fr; }
  .pg-head{ gap:10px; } .pg-head h2{ font-size:20px; } .pg-head h2 span{ font-size:12px; }
  .pg-act{ flex-wrap:wrap; }
  .kpis6{ grid-template-columns:repeat(2,1fr); gap:10px; }
  .kpi3 .v{ font-size:22px; }
  .dash-2col,.net-2col,.intg-map,.grid.g2,.grid.g3,.honest-2col{ grid-template-columns:1fr; }
  .fc-grid{ grid-template-columns:1fr 1fr; }
  .intg-map{ gap:12px; } .intg-side .flowline{ display:none; }
  .startwrap{ bottom:14px; } .startbtn{ font-size:13px; padding:11px 18px; }
  .tourbar{ flex-wrap:wrap; gap:9px; padding:10px 14px; } .tourbar .lbl{ flex-basis:100%; order:-1; font-size:12px; }
  .tourbar .prog{ width:90px; }
  .cine .c-cap .hi{ font-size:16px; } .cine .c-top{ padding:12px 16px; }
  .feedpost{ width:100%; max-width:340px; }
  .demo-cursor{ display:none !important; } /* touch devices: no fake cursor, keep audio+page flow */
}

/* very small phones */
@media(max-width:460px){
  .kpis6{ grid-template-columns:1fr 1fr; gap:8px; }
  .fc-grid{ grid-template-columns:1fr; }
  .cf-tabs{ overflow-x:auto; flex-wrap:nowrap; } .cf-tabs a{ white-space:nowrap; }
  .pg-act .btn{ font-size:11.5px; padding:7px 10px; }
  .pg-head h2{ font-size:18px; }
  .rka-top{ gap:8px; } .who .av{ width:30px; height:30px; }
}
