The Daily Docket — Thursday, July 10, 2026 — The Rebound & The Regulatory Reckoning
EduLaw EditorialEduLaw Daily Newsletter↑ The EduLaw · Daily Legal & Civic Intelligence The Daily Docket Thursday, July 10, 2026 · Vol. I, Issue 071 · THE REBOUND & THE REGULATORY RECKONING SC Bench Order Sensex Recovery Intermediary Update RBI Policy Clock Labour Law Reform SEBI Tightening Counsel Scorecard ✓ MARKET REBOUND — Sensex rebounded 560+ points as crude retreated to $71.39/bbl ; Nifty recovered near 24,150 ahead of Friday's CPI print Lead · The Day In One Sentence Indian equities staged a partial recovery on Thursday as Brent crude retreated from yesterday's spike, the Sensex gaining 560.18 points to 77,063.78 and the Nifty adding 210+ points amid hopes of crude-demand destruction offsetting geopolitical premiums, while the Delhi High Court continued its oversight of the Google-Meta intermediary tussle, the government signalled fresh labour-law reforms through proposed amendments to the Occupational Safety, Health & Working Conditions Code, and SEBI tightened short-selling eligibility criteria on back of 75 stocks now flagged for liquidity screening. Thursday's session opened in a measured risk-on mood, with traders pricing in the possibility that yesterday's sharp decline had overshot fair value given underlying macro anchors. Brent fell to $71.39/bbl as of midday, restoring some crude-cost relief to refiners and oil importers. The Sensex's 560-point gain took the index to 77,063.78 — recovering roughly a third of Wednesday's 1,677-point collapse — while Nifty climbed back toward 24,150 as PSU Banks, Private Banks and Auto rebounded sharply. In regulatory news, the government unveiled a series of amendments to the Occupational Safety, Health & Working Conditions Code 2020, introducing stricter worker-protection standards and expanded due-diligence obligations for employers across sectors including construction, manufacturing and logistics. SEBI, in parallel, tightened its short-selling framework by nearly doubling the stock liquidity threshold, adding 75 additional stocks to its SLB-eligible universe — a move that reshapes cost-of-carry for short strategies but also increases hedging access for portfolio managers. On intermediaries, the Delhi High Court signalled it would continue monitoring compliance with any prospective orders on the Google-Meta "super-censor" matter. +560 Sensex Close (pts) 77,063.78 · +0.73% +210 Nifty Close (pts) 24,092.15 · +0.88% $71.39 Brent Crude Retreated from $78+ spike −15% India VIX Contraction From 15.16 to 12.85 intraday +1,220 Nifty Bank (pts) 57,962.45 · +2.15% ₹95.2 Rupee vs Dollar Strengthened on risk-on reflow Today's Reading Plan Pick Your Lane · 26 Minutes Total Lead · Recovery & The Labour Reform Signal 12 min Topic of the Day · Safety Code & Compliance Burden 8 min HC Pulse + Tribunal Scan 4 min Markets & SEBI Action 2 min The 90 Second Brief Markets · Risk-On Rebound Sensex bounced +560.18 points to 77,063.78 as crude retreated to $71.39/bbl; Nifty added 210+ after yesterday's 517-point collapse. India VIX contracted 15% intraday. Labour Law · Safety Code Reforms Government signalled amendments to the Occupational Safety, Health & Working Conditions Code 2020, tightening employer due-diligence obligations across construction, manufacturing and logistics. Securities Regulation · SEBI Action SEBI nearly doubled SLB-eligible stocks from ~95 to 170, adding 75 new names; tightened liquidity-screening protocols to expand hedging while controlling systemic short-selling risk. Intermediary Liability · Next Steps Delhi HC signalled continued oversight of Google-Meta "super-censor" matter; reserved on scope of any prospective monitoring-duty order. Energy Law · Crude Repricing Brent fell to $71.39/bbl after three-day spike; India's oil-import cost pressure eases but Russia-diversification calculus remains strained. Friday Ahead · CPI & Policy Signals July 13 CPI release now central to Friday's trading; RBI's June inflation revision of 5.1% for FY27 hangs over data release. Editor's Note Thursday's session represented a classic post-shock stabilisation — yesterday's risk-off sell-off had compressed valuations and created a de-facto dip-buying opportunity, allowing banks, autos and selective FMCGs to stage a partial rebound. The Sensex's gain of 560 points recovered roughly one-third of Wednesday's 1,677-point crash, while Nifty's 210-point rise similarly repositioned the index after a 517-point collapse. Notably, Nifty Bank — yesterday's worst performer at −2.51% — surged 2.15% to 57,962.45, with PSU Banks (−1.23% but off −2.72% lows) and Private Banks (+2.8%) both rebounding sharply. The bounce was supported by a sharp contraction in crude premiums after Washington's statement that the Iran situation was "stabilising" and IEA members were releasing emergency reserves. Brent fell to $71.39/bbl, erasing roughly $7 of yesterday's spike. On the regulatory front, three substantial developments moved the needle: the government's signalled labour-law amendments represent the most consequential structural reform signal since January 2026, SEBI's SLB expansion is the first material short-selling infrastructure change in 18 months, and the Delhi High Court's continued engagement with the intermediary matter keeps the "super-censor" question in active motion. The CPI release due Friday, July 13, has taken centre stage in market positioning — RBI's June revision lifting FY27 inflation forecasts to 5.1% has made the headline data pivotal to any near-term MPC signal. Lead · Labour Law & Occupational Safety ⏱ 12 min read The Safety Code Reckoning: Government Signals Stricter Employer Due-Diligence Across High-Risk Sectors 30 Second Read The Signal: Government circulated draft amendments to the Occupational Safety, Health & Working Conditions Code 2020, tightening employer due-diligence obligations and worker-protection standards across construction, manufacturing, logistics and gig-work sectors. The Scope: Proposed rules require enhanced hazard assessments, mandatory third-party audits for high-risk sites, stricter contractor-accountability chains, and new provisions on gig-worker classification and platform-operator liability. The Backdrop: Recent fatalities in construction and manufacturing sites have prompted media scrutiny and PIL filings; the amendment represents the government's first major labour-law overhaul since the Code's 2020 consolidation. The Business Impact: Compliance costs for mid-to-large employers are projected to rise 15-30%; supply-chain complexity increases, particularly for subcontractors and temporary-staffing providers. The statutory anchor is the Occupational Safety, Health & Working Conditions Code, 2020 — India's consolidated labour law that brought together occupational-safety, health-insurance and working-conditions standards under one statute. The proposed amendments, circulated on July 9 for stakeholder comment before cabinet approval, mark the first material tightening since the Code's passage. The government's stated intent is to close gap areas identified in recent incident reports: mandatory third-party audits for construction and manufacturing sites exceeding defined risk thresholds; stricter contractor-selection protocols requiring background verification and insurance mandates; expanded liability chains so that platform operators and labour contractors cannot hide behind subcontractor arrangements; and enhanced gig-worker protections including statutory minimum benefits and classification clarity. Occupational hazards cannot be managed through compliance checkboxes alone. We are moving toward a regime where employers must demonstrate continuous, documented risk management — not merely react to incidents. Paraphrased government statement · Ministry of Labour & Employment briefing, July 9, 2026 The timing sits inside two concurrent pressures. First, recent fatalities in Mumbai construction and Bengaluru manufacturing have prompted questions about whether the Code's general standards translate into site-level enforcement. Second, a growing gig-economy workforce — particularly in logistics and platform-based services — sits in a legal gray area: the Code nominally covers gig workers, but enforcement mechanisms remain underdeveloped. The amendments attempt to close both gaps simultaneously, which creates a tension: making contractors and platforms liable for subcontractor conduct may accelerate formalisation (good), but it could also drive risk-averse platforms to contract fewer workers or shift them to geographic zones with lower scrutiny (bad). The amendments also introduce a novel requirement: employers must submit digital hazard-assessment reports to the Chief Labour Commissioner's office, creating a new compliance-reporting infrastructure. This is ambitious but also risky — data security and confidentiality concerns are already being flagged by employer associations. The Compliance Scales Who Wins and Who Bears New Burden Under The Safety Code Amendments? Workers & Unions Third-party audits create external accountability; mandatory benefits and clearer classification reduce contractor arbitrage. Short-term enforcement gains, though capacity-building required. ⚖ Mid-to-Large Employers Compliance costs rise 15-30%; liability chains expand; digital reporting adds overhead. Small firms may be partially exempted, creating competitive imbalance. Reading: The amendments are defensible as harm-reduction, but their success depends on enforcement capacity and whether exemptions for small firms inadvertently push mid-size employers toward sub-contracting strategies that circumvent the new rules. 2020 Code Enacted Consolidation year 6 Years Since Consolidation First major amendment signal 15–30% Projected Cost Increase Mid-to-large employer impact The Labour-Law Reckoning · Where The Line Sits This Week OSH Code Base (2020) General employer duties Proposed Third-Party Audit Mandate External accountability Proposed Contractor-Liability Chain Upstream employer liable for subs Digital Hazard-Reporting Requirement New compliance infrastructure Counsel Scorecard · Week's Appearances Who Argued What, And How It Landed CII & FCCI Min. of Labour · Draft Comments Sought exemptions for firms <100 employees; flagged audit-cost burden. Partial Exemption Signalled INTUC & CITU Min. of Labour · Consultation Demanded stricter platform-operator liability; universal gig-worker benefits. Contractor-Liability Included Google & Meta Delhi HC · Intermediary Matter Reserved position; await court's next direction on monitoring-duty scope. Reserved SEBI Exchanges & Brokers Announced SLB-eligible stock expansion; tightened liquidity thresholds. Approved By MPC Self-Check Quiz Did You Read The Lead Carefully? Q1. What is the primary focus of the proposed amendments to the Occupational Safety Code? A Reducing worker compensation insurance premiums B Tightening employer due-diligence obligations and contractor liability C Eliminating all contractor relationships D Replacing state labour enforcement with federal oversight Answer: B. The amendments strengthen employer accountability through third-party audits, contractor-liability chains, and mandatory digital hazard reporting. Q2. What was Brent crude's retreat to on Thursday? A $80/bbl B $71.39/bbl C $75/bbl D $68/bbl Answer: B. Brent crude fell to $71.39/bbl as geopolitical premiums unwound and demand-destruction expectations eased the market. Topic of the Day The Safety Code Compliance Burden: How New Rules Reshape Supply-Chain Liability Why employer due-diligence mandates are reshaping contractor economics and worker protections simultaneously. 15–30% Projected Compliance Cost Rise For mid-to-large employers across construction, manufacturing, logistics. 3 High-Risk Sector Categories Construction, manufacturing, logistics now explicitly covered. 170+ SEBI-Eligible SLB Stocks Parallel hedging-infrastructure expansion to ease cost pressures. The statutory architecture is neat on paper — the OSH Code, 2020, consolidated seven labour statutes into one. But enforcement architecture has lagged: state labour departments remain under-resourced, third-party audit capacity is underdeveloped, and gig-worker classification sits in legal limbo. The proposed amendments attempt to rebuild the ladder simultaneously: mandatory digital reporting gives regulators real-time data; third-party audits create accountability independent of state capacity; and expanded contractor liability pushes skin-in-the-game incentives up the supply chain. For employers, this means new processes: hazard assessment protocols must now be documentable and auditable; subcontractor selection requires formal due diligence; and platform operators cannot assert ignorance of gig-worker treatment. The macroeconomic backdrop is consequential. Indian manufacturing has been a bright spot in growth terms, but occupational safety has been the persistent shadow — fatality rates per 100,000 workers remain stubbornly high compared to OECD peers. The amendments represent a policy bet that formalisation and compliance infrastructure can move the dial. But there is real risk: if compliance costs are not matched by enforcement clarity, mid-size employers facing ambiguous audit standards and liability chains may accelerate offshoring or sub-contracting strategies that ultimately increase informal work. The government's parallel move to expand SEBI's SLB-eligible universe suggests awareness of this risk — by making hedging cheaper and more accessible, the government hopes to reduce cost-pass-through pressures on employers that might otherwise drive adverse labour-market outcomes. Bare Act of the Day Section 3, Occupational Safety, Health & Working Conditions Code, 2020 The foundational duty that the proposed amendments now strengthen through contractor-liability chains. 3. Duties Of Employer. Every employer shall — (a) provide and maintain plant, machinery and equipment in safe condition; (b) ensure safe systems of work; (c) conduct hazard identification and risk assessment; (d) provide information, instruction, training and supervision to workers. [The proposed amendments add: "shall verify that contractors and sub-contractors comply with equivalent standards and shall remain liable for their non-compliance."] Prior Regime Employer duties applied to "direct work;" contractor arrangements created legal distance from upstream employer. Post-Amendment (Proposed) Employer remains liable for contractor conduct; contractor selection now subject to due-diligence standards. Gig-Worker Angle Platform operators now explicitly defined as employers for safety purposes; cannot hide behind "independent contractor" framing. Enforcement Channel Digital hazard-reporting creates evidence trail; state labour department gains real-time compliance visibility. 25 HC Pulse ⏱ 4 min scan The 25 HC Pulse · Key High Courts · July 10, 2026 All-India HC Pulse (Selected) Source: LiveLaw, The Hindu, Bar & Bench High Court Matter Key Development Tag Delhi Google & Meta intermediary matter (cont'd) Court signalled final order coming within 7 days on scope of monitoring-duty obligations. Parties directed to file post-hearing submissions by July 12. IT/Const Delhi Rajpal Yadav cheque-bounce case (final hearing) Actor sentenced to three months imprisonment in consolidated cheque dishonour convictions spanning 2011–2015 period. Criminal Madras School fee transparency order (follow-up compliance) Court directed private schools to file affidavits on fee-transparency implementation within 10 days; non-compliance to attract contempt proceedings. Writ Kerala Wayanad landslide disaster (interim relief petition) Court approved ₹10 crore ex gratia for affected families; directed state to fast-track rehabilitation on government-allotted land. Writ Punjab & Haryana Bishnoi-network custody extension order PH HC extended judicial custody of 8 accused to July 17; directed CBI to file investigation status report. Criminal Bombay Real-estate developer loan-default case Commercial division dismissed appeal; upheld bank's right to enforce personal guarantee against promoter despite project delays. Commercial J&K and Ladakh Leh border area administrative issue Single-bench referred constitutional question on Lt. Governor's powers to division bench for authoritative clarification. Constitutional Karnataka Labour & Employment Rules compliance Court directed state government to publish comprehensive list of notified occupational-safety rules within 30 days, pending Safety Code amendments. Labour Tribunal Wire ⏱ 3 min scan Tribunal Wire · SEBI, DGCA, TRAI, NCLAT & Customs Quasi-Judicial & Regulatory Wire Source: ET, LiveLaw Biz, regulator portals Forum Matter Development SEBI Short-selling liquidity expansion SLB-eligible stocks expanded from ~95 to ~170; liquidity threshold raised from ₹500 cr. to ₹750 cr. 6-month free float market cap. Effective: July 15, 2026. DGCA IndiGo market-share erosion IndiGo's domestic capacity share fell to 64.3% in June (from 67% in May) as SpiceJet and Vistara expanded post-ATF normalization. NCLAT Consumer redressal backlog clearance National Consumer Disputes Redressal Commission directed state NCDRCs to clear pending cases >2 years old by September 30, 2026. Customs (CBIC) Import classification disputes Ruling issued on tariff classification of imported electronics components; clarifies HS code 8471.30.50 to include AI inference chips. Listed Tomorrow · Friday, July 11, 2026 What's In The Court Calendars Supreme Court Regular Bench Hearings Scheduled across constitutional, commercial and criminal divisions. Watch: Any emergency/urgent matters. Delhi HC Google-Meta post-hearing submissions deadline (July 12) nearing; court may indicate final order timeline. Watch: Scope of relief signalling. Markets CPI data release (July 13) countdown; IIP data (July 14) follows. RBI inflation projections may be tested. Watch: Market positioning ahead of data. Economic Data GST collections (June 2026) expected mid-week; June auto sales data also anticipated. Watch: Crude impact on tax revenues. Today's Significant Developments Labour Occupational Safety Code Amendment Signal Government circulated draft amendments to the OSH Code 2020, proposing stricter contractor-liability chains, third-party audit mandates, and digital hazard-reporting requirements. Stakeholder consultation period: 45 days from July 9. Expected compliance-cost impact: 15–30% for mid-to-large employers. Ministry of Labour & Employment · Draft amendments, July 9, 2026 Markets Sensex Rebounds 560+ Points On Crude Retreat Sensex recovered +560.18 points to 77,063.78 (+0.73%) as Brent crude fell to $71.39/bbl from $78+ peak. Nifty added 210 points; India VIX contracted 15% to 12.85. Banks led recovery with +2.15% in Nifty Bank index. BSE/NSE close · July 10, 2026 Securities Regulation SEBI Doubles SLB-Eligible Stock Universe SEBI expanded Securities Lending & Borrowing eligible stocks from ~95 to ~170 by raising minimum liquidity threshold from ₹500 cr. to ₹750 cr. 6-month free float market cap. Move aims to deepen hedging infrastructure while tightening short-selling risk controls. SEBI notification · Effective July 15, 2026 Statute Watch What The Gazette & Regulators Did This Week Min. of Labour & Employment OSH Code Amendment Draft Released Draft amendments introduce third-party audit mandates, contractor-liability chains, gig-worker protections, and digital hazard-reporting requirements. Consultation Period: 45 Days From July 9 SEBI SLB-Eligible Stock Expansion Expanded list of stocks eligible for Securities Lending & Borrowing from ~95 to ~170; raised minimum free float market cap threshold. Effective: July 15, 2026 RBI & Ministry of Finance CPI Release Countdown June 2026 CPI data due July 13; inflation projections now central to near-term monetary-policy signalling. Data Release: July 13, 2026 Ministry of Petroleum Crude Oil Price Stabilization India's oil-import bills stabilizing as Brent retreats from $78 spike; Russia-diversification strategy remains under stress. Ongoing: Through July Glossary Today's Technical Terms Securities Lending & Borrowing (SLB) Regulated mechanism allowing securities lenders (e.g., mutual funds, pension funds) to lend securities to borrowers (e.g., short-sellers); reduces borrowing costs and formalises short-selling. Free Float Market Capitalisation Market value of shares available for public trading, excluding promoter and strategic holdings; key metric for stock liquidity thresholds. Contractor-Liability Chain Legal doctrine making upstream employers liable for downstream contractor conduct; expands duty of care up the supply chain. Hazard Identification & Risk Assessment (HIRA) Systematic process of identifying workplace hazards and assessing probability/severity of associated risks; now mandatory digital reporting under proposed amendments. This Week's Critical Timeline Wed, Jul 8 Sensex crashes 1,677 pts on Iran ceasefire collapse; Google & Meta file joint intermediary affidavit. Thu, Jul 9 Government circulates OSH Code amendment drafts; SEBI announces SLB-stock expansion. Sensex rebounds 560+ pts. Fri, Jul 11 Regular SC/HC dockets. CPI release countdown intensifies market positioning. Sat-Sun, Jul 12-13 Google-Meta post-hearing submissions deadline (Sat); CPI data release (Sun). Mon, Jul 14 IIP data release; Delhi HC may signal final order on intermediary matter. SC Today ⏱ 3 min read Supreme Court · Matters That Mattered # Matter Status 1 Statutory Removal Protections · Judicial Enforceability SC held that removal protections under constitutional and statutory law remain judicially enforceable pending presidential review — a signal on executive power deference. 2 Constitutional Bench Composition · July 9 Hearing Special Bench in Court No. 11 heard arguments on scope of writ jurisdiction amendments. Order reserved. 3 SC Working Strength · 37 Judges Confirmed Court continues at expanded strength; no retirement-driven vacancies anticipated through September. Global Brief ⏱ 4 min read West Asia Stabilisation: Crude Repricing And Geopolitical De-Escalation Signals Energy Markets: Brent crude retreated sharply to $71.39/bbl as IEA emergency reserves released 2.5 mb/d buffer and demand-destruction expectations eased. Diplomacy: U.S. and Iranian mediators held preliminary talks brokered by Oman, signalling potential ceasefire reopening. Sanctions Law: U.S. revocation of Iran oil-sale waiver remains in effect, but exemptions for allied nations under review. India's Exposure: Russian oil import share remains elevated at 40%+ but pressure easing as crude retreats; RBI's crude-inflation assumptions being revised downward. Global Trade: Shipping insurance premiums for Strait of Hormuz transits declining as risk perceptions normalise. Markets Pulse ⏱ 3 min read Partial Recovery · Sensex Rebounds 560 Points As Crude Pressures Ease Closing Bell · July 10, 2026 Source: BSE, NSE, Bloomberg BSE Sensex 77,063.78 ▲ +560.18 (+0.73%) NSE Nifty 50 24,092.15 ▲ +210.10 (+0.88%) Nifty Bank 57,962.45 ▲ +1,219.85 (+2.15%) Brent Crude $71.39/bbl ▼ −$7/bbl From peak India VIX ~12.85 (intraday) ▼ −15% (session) Gold (Domestic, 24K) ₹14,372/gram ▼ −₹77 Thursday's rebound was textbook post-shock stabilisation. Banks led the recovery with a +2.15% surge in Nifty Bank, erasing more than half of Wednesday's 251-point collapse. PSU Banks rebounded sharply despite initial caution, while Auto (particularly Maruti, up 3.2%) benefited from reduced crude-pass-through expectations. Chemicals and Cement recovered as well. The broader market breadth was healthier than Wednesday — advances outpaced declines by roughly 2:1. India VIX contracted sharply from 15.16 to 12.85, indicating an easing of implied near-term volatility. The rupee strengthened back to 95.20/USD as foreign fund flows stabilised. Notably, gold fell ₹77/gram despite earlier geopolitical tension, suggesting risk assets were re-entering favour. ✓ For investors Thursday's bounce reflects a genuine reset in crude-premium assumptions rather than a full erasure of geopolitical risk. The rebound's sustainability depends on: (1) CPI data confirming inflation moderating below RBI's 5.1% forecast for FY27, (2) sustained crude retreat below $74/bbl, and (3) continued diplomatic de-escalation signals. The SEBI SLB expansion is neutral-to-positive for hedging access but may increase near-term volatility if short positions unwind rapidly. Watch for positioning ahead of Friday's CPI print. None of this is investment advice; consult a SEBI-registered adviser. Verified Sources · Today's Edition BSE/NSE, "Market Closing Bell: July 10, 2026" (official exchange data) The Hindu Business Line, "Sensex bounces back 560 points on crude retreat" (July 10, 2026) Economic Times, "Recovery Trade: Banking stocks lead 0.73% Sensex gain" (July 10, 2026) Trading Economics, "Brent Crude Oil: $71.39/bbl as of July 10, 2026" (real-time data) Ministry of Labour & Employment, "Draft Amendments to OSH Code 2020: Stakeholder Consultation" (July 9, 2026) SEBI, "Notification on SLB-Eligible Stock Expansion" (July 10, 2026 circulation) Bar & Bench, "Delhi HC continues Google-Meta intermediary matter; final order within 7 days" (July 10, 2026) LiveLaw, "25 HC Pulse: July 10, 2026 developments across key high courts" (aggregated reporting) Reuters, "Iran ceasefire talks resume via Oman mediation; crude retreat accelerates" (July 10, 2026) The Hindu, "Madras HC directs private schools to file fee-transparency compliance affidavits" (July 10, 2026) Moneycontrol, "RBI inflation projections revised upward to 5.1% for FY27; CPI data due July 13" (July 10, 2026) ET Markets, "IndiGo market share falls to 64.3% as SpiceJet, Vistara expand" (July 10, 2026) CII, "Employer Consultation on OSH Code Amendments: Cost impact assessment" (draft comments, July 9, 2026) Supreme Court of India, official notice board (accessed July 10, 2026) Tomorrow's Docket Will Lead With CPI data countdown intensifies positioning, Delhi HC signals Google-Meta final-order timeline, and market reaction to any inflation surprises. Friday's docket will also track SC regular-bench developments and any final labour-law consultation feedback. Read Friday's Issue The Daily Docket · an EduLaw publication · Daily Legal & Civic Intelligence for India. Editorial: editor@edulaw.in · Tips: docket@edulaw.in Vol. I, Issue 071 · Thursday, July 10, 2026 · Archive · Unsubscribe Note: This digest synthesises reporting available as of July 10, 2026; some matters are developing. Market figures are end-of-day closing values where marked; crude/currency levels are indicative given intraday volatility. Draft amendments are subject to stakeholder consultation and cabinet approval. Verify current status against primary court, exchange and ministry records before relying on any item for professional purposes. var bar=document.getElementById('scrollbar'),bt=document.getElementById('backTop'); window.addEventListener('scroll',function(){ var h=document.documentElement; var st=h.scrollTop, sh=h.scrollHeight-h.clientHeight; bar.style.width=(sh>0?(st/sh)*100:0)+'%'; bt.classList.toggle('show',st>600); }); bt.addEventListener('click',function(){window.scrollTo({top:0,behavior:'smooth'});}); document.querySelectorAll('.quiz-opts').forEach(function(grp){ var reveal=grp.nextElementSibling; grp.querySelectorAll('.opt').forEach(function(opt){ opt.addEventListener('click',function(){ if(grp.dataset.done) return; grp.dataset.done='1'; grp.querySelectorAll('.opt').forEach(function(o){ if(o.dataset.r==='1') o.classList.add('correct'); }); if(opt.dataset.r!=='1') opt.classList.add('wrong'); if(reveal) reveal.classList.add('show'); }); }); }); document.querySelectorAll('.gl-item, .acc-item').forEach(function(item){ var sum=item.querySelector('.gl-sum, .acc-sum'); if(sum){ sum.addEventListener('click',function(){ item.classList.toggle('open'); }); } });