:root{--ink:#10243e;--muted:#607087;--brand:#0757d5;--brand2:#00a57a;--bg:#f5f8fc;--card:#fff;--line:#dce5f0;--warning:#fff7df}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:"Roboto","Noto Sans Devanagari",system-ui,-apple-system,Arial,sans-serif;line-height:1.65;overflow-x:clip}a{color:var(--brand);text-decoration:none}a:hover{text-decoration:underline}img,iframe,video{max-width:100%;height:auto}table{max-width:100%}button,input,select,textarea{font:inherit}.topline{height:4px;background:linear-gradient(90deg,var(--brand),#32c7ff,var(--brand2))}.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);border-bottom:1px solid var(--line);backdrop-filter:blur(14px)}.nav{max-width:1180px;margin:auto;padding:12px 20px;display:flex;align-items:center;gap:20px;min-width:0}.brand{display:flex;align-items:center;gap:10px;font-weight:900;font-size:22px;color:var(--ink);min-width:0}.brand span:last-child{min-width:0;overflow-wrap:anywhere}.logo{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;color:white;background:linear-gradient(135deg,var(--brand),var(--brand2));box-shadow:0 8px 20px #0757d533}.navlinks{display:flex;gap:18px;margin-left:auto;min-width:0;flex-wrap:wrap}.navlinks a{color:var(--ink);font-weight:700}.menu-btn{display:none;margin-left:auto;border:0;background:#edf4ff;border-radius:10px;padding:9px 12px;font-size:18px}.hero{background:radial-gradient(circle at 80% 20%,#2ad5aa44,transparent 28%),linear-gradient(135deg,#062c69,#0757d5);color:white}.hero-inner{max-width:1180px;margin:auto;padding:64px 20px 52px;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:40px;align-items:center;min-width:0}.hero-inner > *{min-width:0}.eyebrow{display:inline-flex;padding:7px 12px;border:1px solid #ffffff55;border-radius:99px;background:#ffffff16;font-size:13px;font-weight:800;max-width:100%;overflow-wrap:anywhere}.hero h1{font-size:clamp(34px,5vw,58px);line-height:1.08;margin:16px 0 12px;overflow-wrap:anywhere}.hero p{font-size:18px;color:#dfebff;max-width:680px;margin:0;overflow-wrap:anywhere}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.btn{display:inline-flex;align-items:center;justify-content:center;border-radius:12px;padding:13px 18px;font-weight:800;border:1px solid transparent;max-width:100%}.btn-primary{background:#fff;color:#064bb8}.btn-secondary{border-color:#ffffff66;color:#fff;background:#ffffff12}.hero-panel{background:#fff;color:var(--ink);padding:20px;border-radius:22px;box-shadow:0 28px 70px #001b4d66;min-width:0}.hero-panel h3{margin:0 0 12px}.quick{display:grid;grid-template-columns:1fr 1fr;gap:10px}.quick a{padding:12px;border:1px solid var(--line);border-radius:12px;font-weight:750;color:var(--ink);background:#f8fbff;min-width:0;overflow-wrap:anywhere}.quick a:hover{border-color:#70a5f2;text-decoration:none;transform:translateY(-1px)}.section{max-width:1180px;margin:auto;padding:46px 20px;min-width:0}.compact-section{padding-top:24px}.section-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-end;margin-bottom:18px;min-width:0}.section-head > *{min-width:0}.section h2{font-size:clamp(26px,4vw,38px);line-height:1.15;margin:0;overflow-wrap:anywhere}.section-head p{max-width:570px;color:var(--muted);margin:0}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}.card{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:20px;box-shadow:0 8px 25px #173b6b0a;transition:.2s;min-width:0}.card:hover{transform:translateY(-3px);box-shadow:0 15px 38px #173b6b14;border-color:#a9c8f7}.icon{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:#e9f2ff;font-size:24px}.card h3{margin:12px 0 8px;line-height:1.3;overflow-wrap:anywhere}.card p{color:var(--muted);margin:0;overflow-wrap:anywhere}.tag{display:inline-block;background:#e6f8f2;color:#08775c;padding:4px 9px;border-radius:999px;font-size:12px;font-weight:800;margin-top:12px;max-width:100%;overflow-wrap:anywhere}.searchbox{max-width:560px;position:relative}.searchbox input{width:100%;padding:13px 15px;border:1px solid var(--line);border-radius:12px;font:inherit;background:white}.post-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:12px}.post-row{background:#fff;border:1px solid var(--line);border-radius:14px;padding:15px 16px;display:flex;gap:12px;align-items:flex-start;min-width:0}.post-num{flex:0 0 34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#edf4ff;color:var(--brand);font-weight:900}.post-row h3{font-size:16px;line-height:1.45;margin:0;overflow-wrap:anywhere}.article-wrap{max-width:1100px;margin:24px auto;padding:0 16px;display:block;min-width:0}.article{background:#fff;border:1px solid var(--line);border-radius:20px;padding:clamp(18px,4.5vw,40px);overflow:hidden;min-width:0}.breadcrumbs{font-size:13px;color:var(--muted);margin-bottom:14px;overflow-wrap:anywhere}.article h1{font-size:clamp(28px,5vw,44px);line-height:1.16;margin:0 0 10px;overflow-wrap:anywhere}.meta{color:var(--muted);font-size:14px;margin-bottom:18px}.notice{background:var(--warning);border-left:4px solid #efb814;padding:12px 14px;border-radius:8px;margin:18px 0}.entry-content h2{font-size:clamp(22px,3vw,30px);line-height:1.25;margin:28px 0 12px;overflow-wrap:anywhere}.entry-content h3{font-size:clamp(18px,2.4vw,22px);margin:22px 0 10px;overflow-wrap:anywhere}.entry-content p,.entry-content li{overflow-wrap:anywhere}.entry-content img{max-width:100%;height:auto;border-radius:12px}.entry-content table{width:100%;border-collapse:collapse;display:block;overflow-x:auto;max-width:100%}.entry-content th,.entry-content td{padding:10px;border:1px solid var(--line)}.entry-content iframe{max-width:100%}.entry-content .lwptoc{background:#f7faff;border:1px solid var(--line);border-radius:12px;padding:15px}.sidebar{display:none}.sidebox{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px}.sidebox h3{margin:0 0 10px}.sidebox a{display:block;padding:8px 0;border-bottom:1px solid #edf1f6;font-weight:700;overflow-wrap:anywhere}.tool-shell{max-width:940px;margin:28px auto;padding:0 16px}.tool-card{background:white;border:1px solid var(--line);border-radius:22px;padding:clamp(20px,4vw,38px);box-shadow:0 20px 55px #173b6b12;min-width:0}.tool-card h1{font-size:clamp(30px,5vw,44px);line-height:1.15;margin:0;overflow-wrap:anywhere}.tool-intro{color:var(--muted);font-size:17px}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}.field label{display:block;font-weight:800;margin-bottom:6px}.field input,.field select,.field textarea{width:100%;border:1px solid #cbd8e8;border-radius:10px;padding:12px;font:inherit;color:var(--ink);min-width:0}.field textarea{min-height:100px}.result{display:none;margin-top:18px;padding:18px;border-radius:14px;background:#eef9f5;border:1px solid #a6dfcc}.result.show{display:block}.result strong{font-size:24px;color:#08775c}.ad-slot{min-height:120px;margin:18px 0;padding:12px 14px;text-align:center;overflow:hidden;clear:both;background:#fbfdff;border:1px dashed #c7d6e6;border-radius:16px}.ad-slot.small{min-height:0}.ad-slot .adsbygoogle{display:block;min-height:120px}.ad-slot.small .adsbygoogle{min-height:250px}.ad-section{max-width:1180px;margin:0 auto;padding:0 20px}.tool-shell>.ad-slot,.article .ad-slot,.main-card>.ad-slot,.main-card>.ad-slot.small{margin-top:16px}.footer{margin-top:48px;background:#071d3b;color:#c8d7eb}.footer-inner{max-width:1180px;margin:auto;padding:38px 20px;display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:22px}.footer h3{color:white;margin-top:0}.footer a{display:block;color:#c8d7eb;padding:4px 0}.copyright{border-top:1px solid #ffffff18;text-align:center;padding:16px;font-size:13px}.empty{display:none;text-align:center;color:var(--muted);padding:24px}@media(max-width:850px){.hero-inner,.article-wrap{grid-template-columns:1fr}.hero-panel,.sidebar{display:none}.nav{padding-inline:14px}.navlinks{display:none;position:absolute;top:62px;left:12px;right:12px;background:white;padding:14px;border:1px solid var(--line);border-radius:14px;box-shadow:0 16px 40px #10243e22;grid-template-columns:1fr}.navlinks.open{display:grid}.menu-btn{display:block}.post-list{grid-template-columns:1fr}.footer-inner{grid-template-columns:1fr 1fr}}@media(max-width:560px){body{line-height:1.6}.hero-inner{padding:42px 16px 36px;gap:20px}.hero-card{padding:20px}.hero h1{font-size:clamp(28px,9vw,40px)}.hero p{font-size:16px}.quick{grid-template-columns:1fr}.section,.compact-section{padding-left:16px;padding-right:16px}.section{padding-top:34px;padding-bottom:34px}.section-head{flex-direction:column;align-items:stretch}.searchbox{max-width:none}.grid,.form-grid,.footer-inner{grid-template-columns:1fr}.card,.post-row,.sidebox{padding:16px}.article-wrap{margin:18px auto;padding-inline:12px}.article{padding:18px}.article h1{font-size:clamp(26px,8vw,36px)}.entry-content h2{margin-top:24px}.entry-content h3{margin-top:18px}.tool-shell{padding:0 12px}.tool-card{padding:18px}.tool-card h1{font-size:clamp(26px,8vw,36px)}.ad-slot{margin:14px 0;padding:10px 12px}.ad-slot.small{margin:14px 0}.post-row{gap:10px}.btn{width:100%;padding:12px 14px}.searchbox input,.field input,.field select,.field textarea{padding:12px 13px}.result{padding:16px}.footer{margin-top:36px}.footer-inner{padding:28px 16px}.copyright{padding:14px 16px}}@media(max-width:390px){.brand{font-size:18px}.logo{width:34px;height:34px;border-radius:11px}.nav{padding:10px 12px}.menu-btn{padding:8px 10px}.hero p,.section p,.entry-content p,.sidebox p,.sidebox li{font-size:15px}.post-row h3{font-size:15px}.field label{font-size:13px}.tool-intro,.copy-note,.meta,.breadcrumbs{font-size:12px}.section h2,.entry-content h2{letter-spacing:0}.article,.tool-card,.card,.sidebox,.hero-card{border-radius:18px}} 

body{font-family:"Roboto","Noto Sans Devanagari",system-ui,-apple-system,Arial,sans-serif;font-weight:400}h1,h2,h3,h4,.brand,.btn,.navlinks{font-family:"Roboto","Noto Sans Devanagari",system-ui,sans-serif}.btn{cursor:pointer}img{max-width:100%;height:auto}iframe{max-width:100%;width:100%;aspect-ratio:16/9;height:auto;border:0}.ad-label{display:block;color:#8793a5;font-size:10px;letter-spacing:.08em;margin-bottom:6px}
.grid,.post-list,.entry-content,.footer-inner{content-visibility:auto;contain-intrinsic-size:1px 900px}
.article-toc,.author-card{background:#f7fbff;border:1px solid #dce5f0;border-radius:16px;padding:18px;margin:20px 0}.article-toc h2,.author-card h2{font-size:22px;margin:0 0 12px}.article-toc ol{margin:0;padding-left:20px}.article-toc li+li{margin-top:6px}.article-toc .toc-sub{margin-left:12px}.author-card p{margin:0 0 12px;color:#2b4057}.author-links{display:flex;flex-wrap:wrap;gap:10px}.author-links a{display:inline-flex;align-items:center;padding:8px 12px;border-radius:999px;background:#eaf2ff;font-weight:700}
.mock-setup{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:22px 0}.mock-warning{background:#fff7df;border:1px solid #f1d58a;border-radius:14px;padding:14px;margin:18px 0}.exam-shell{background:linear-gradient(180deg,#e9f0f4,#f7fafc);min-height:100vh}.exam-topbar{background:#0b4a46;color:#fff;padding:16px 20px;box-shadow:0 10px 30px #052b2822}.exam-topbar-inner{max-width:1380px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:18px}.exam-brand{display:flex;align-items:center;gap:14px;font-weight:900}.exam-brand .logo{box-shadow:none;width:46px;height:46px;border-radius:50%;background:#fff;color:#0b4a46}.exam-meta{display:flex;gap:18px;flex-wrap:wrap;align-items:center;font-weight:700}.exam-user{display:flex;align-items:center;gap:10px;background:#0f5c56;padding:10px 14px;border-radius:16px}.exam-online{background:#2bb673;color:#fff;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:900}.exam-page{max-width:1360px;margin:0 auto;padding:20px 16px 28px}.instruction-card,.exam-summary,.exam-main,.exam-result{background:#fff;border:1px solid #d7e2ea;border-radius:24px;box-shadow:0 16px 40px #123d5f14}.instruction-card,.exam-summary,.exam-result{padding:24px}.instruction-title{font-size:34px;margin:0 0 8px;color:#0b4a46}.instruction-grid{display:grid;grid-template-columns:1fr;gap:20px;align-items:start}.instruction-list{padding-left:18px;color:#24374f}.instruction-list li{margin:10px 0}.exam-summary-head{display:flex;justify-content:space-between;gap:20px;align-items:center;border-bottom:2px solid #d8e5eb;padding-bottom:16px;margin-bottom:18px}.exam-chip{display:inline-flex;align-items:center;background:#0d7a73;color:#fff;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:900}.exam-select-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:14px}.exam-select-row label{font-weight:800}.exam-select{border:1px solid #cbd8e8;border-radius:10px;padding:10px 12px;font:inherit;color:var(--ink);background:#fff}.exam-language-note{font-size:13px;color:#607087}.exam-info-table{display:grid;grid-template-columns:repeat(2,1fr);gap:14px 26px}.exam-info-row{display:flex;justify-content:space-between;gap:12px;border-bottom:1px dashed #d7e2ea;padding-bottom:10px}.exam-main{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:18px;padding:18px;align-items:start}.question-panel{background:#edf3f8;border-radius:22px;padding:16px;min-width:0}.question-panel-head{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-bottom:12px;flex-wrap:nowrap}.question-no{font-size:24px;font-weight:900;color:#1f3147;white-space:nowrap}.question-type{font-size:16px;font-weight:900;color:#1f3147;text-align:right}.question-card{background:#fff;border-radius:18px;padding:20px;min-height:220px;border:1px solid #d7e2ea}.question-card h2{margin:0 0 18px;font-size:19px;line-height:1.5;color:#20364d}.exam-options{display:grid;gap:10px}.exam-options label{display:flex;gap:12px;align-items:flex-start;padding:12px 14px;border:2px solid #d5dfe8;border-radius:16px;background:#fbfdff;cursor:pointer;font-size:18px;color:#0f4f53}.exam-options label.active{border-color:#0e8e86;background:#eefbf9}.exam-options input{margin-top:5px}.question-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.exam-start-row{align-items:center}.exam-start-check{display:inline-flex;align-items:center;gap:8px;font-size:15px;font-weight:700;color:#42556e;margin:0}.exam-start-check input{margin:0}.exam-btn{border:0;border-radius:12px;padding:12px 16px;font:inherit;font-weight:900;cursor:pointer}.exam-btn-save{background:#ffbf3c;color:#3b2c00}.exam-btn-next{background:#1884f7;color:#fff}.exam-btn-review{background:#0f98a2;color:#fff}.exam-btn-clear{background:#ef5350;color:#fff}.exam-btn-finish{background:#df3a3a;color:#fff}.exam-btn-ghost{background:#c8f0d5;color:#0d5139}.palette-panel{background:#f5f7f9;border:1px solid #d8e2ea;border-radius:22px;padding:16px;position:sticky;top:18px;height:max-content}.palette-stats{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:16px}.palette-stat{display:flex;align-items:center;gap:10px;background:#fff;border-radius:14px;padding:12px;border:1px solid #d7e2ea;font-weight:800}.stat-box{min-width:52px;height:40px;border-radius:12px;display:grid;place-items:center;color:#fff;font-weight:900}.stat-unseen{background:#8b949e}.stat-answer{background:#2aa84a}.stat-review{background:#3348ff}.stat-visit{background:#ff5b3a}.palette-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;max-height:540px;overflow:auto;padding-right:4px}.palette-btn{border:0;border-radius:12px;height:42px;font:inherit;font-weight:900;background:#c9ced4;color:#1f2731;cursor:pointer}.palette-btn.current{outline:3px solid #11182733}.palette-btn.answered{background:#2aa84a;color:#fff}.palette-btn.review{background:#3348ff;color:#fff}.palette-btn.visited{background:#ff5b3a;color:#fff}.palette-btn.unseen{background:#bfc5cb;color:#1f2731}.instruction-note{font-size:13px;color:#5a6a7d}.mock-warning-box{margin-top:12px;padding:12px 14px;border-radius:12px;background:#fff3cd;color:#8a6300;border:1px solid #f3d37a;font-weight:700}.mock-terms{display:none;margin:14px 0;padding:16px;border:1px solid #d7e2ea;border-radius:16px;background:#f7fbff}.mock-terms.open{display:block}.mock-terms h3{margin:0 0 10px}.mock-terms ul{margin:0;padding-left:18px}.mock-terms li{margin:8px 0}.exam-terms-btn{margin:8px 0 10px}.result-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:20px 0}.result-box{background:#f4f8fb;border:1px solid #d7e2ea;border-radius:18px;padding:18px;text-align:center}.result-box strong{display:block;font-size:30px;color:#0b4a46}.review-block{margin-top:24px;display:grid;gap:14px}.review-card{background:#fff;border:1px solid #d7e2ea;border-radius:18px;padding:18px}.review-card h3{margin:0 0 10px;font-size:18px}.review-answer{font-weight:800}.review-answer.correct{color:#1f8f48}.review-answer.wrong{color:#cf2f2f}.review-answer.skipped{color:#7c8793}.mock-hidden{display:none}@media(max-width:1180px){.exam-main{grid-template-columns:minmax(0,1fr) 300px}.palette-grid{grid-template-columns:repeat(4,1fr)}}@media(max-width:900px){.exam-main{grid-template-columns:1fr}.palette-panel{position:static}.question-panel-head{flex-wrap:wrap}.question-type{text-align:left}}@media(max-width:680px){.exam-topbar-inner{flex-direction:column;align-items:flex-start}.exam-meta{gap:10px}.exam-summary-head,.question-panel-head{flex-direction:column;align-items:flex-start}.exam-info-table,.result-stats,.palette-stats{grid-template-columns:1fr}.exam-select-row{align-items:flex-start;flex-direction:column}.palette-grid{grid-template-columns:repeat(3,1fr);max-height:none}.question-actions{flex-direction:column}.exam-btn{width:100%}.exam-start-check{width:100%}.instruction-title{font-size:28px}.question-no,.question-type{text-align:left;white-space:normal}}

@media(max-width:850px){
  .site-header{position:sticky}
  .topline{height:3px}
  .nav{min-height:58px;padding:8px 14px;gap:10px}
  .logo{width:38px;height:38px;border-radius:12px;font-size:22px}
  .brand{font-size:25px;gap:9px;line-height:1}
  .menu-btn{width:44px;height:44px;padding:0;border-radius:14px;font-size:20px}
  .hero{min-height:0}
  .hero-inner{display:block;padding:24px 16px 26px}
  .hero-panel{display:none!important}
  .eyebrow{padding:6px 10px;font-size:12px;line-height:1.3}
  .hero h1{font-size:34px;line-height:1.12;margin:14px 0 12px}
  .hero p{font-size:17px;line-height:1.55}
  .hero-actions{gap:10px;margin-top:18px}
  .hero-actions .btn{width:auto;flex:1 1 150px;min-height:48px;padding:11px 12px;font-size:15px}
  .section,.compact-section{padding:26px 14px}
  .section-head{display:block;margin-bottom:14px}
  .section-head h1,.section h1{font-size:34px;line-height:1.12;margin:8px 0 10px}
  .section h2,.section-head h2{font-size:26px;line-height:1.18}
  .section-head p,.section>p{font-size:16px;line-height:1.55}
  .searchbox{max-width:none;margin-top:12px}
  .searchbox input{height:46px;padding:10px 13px;font-size:16px}
  .grid{grid-template-columns:1fr;gap:10px}
  .card{display:grid;grid-template-columns:42px 1fr;gap:4px 12px;padding:14px;border-radius:14px}
  .card .icon{grid-row:1/4;width:40px;height:40px;border-radius:12px;font-size:20px}
  .card h3{font-size:18px;margin:0}
  .card p{font-size:14px;line-height:1.45}
  .card .tag{margin-top:4px;width:max-content}
  .post-list{grid-template-columns:1fr;gap:8px}
  .post-row{padding:12px;gap:10px;border-radius:12px;min-height:auto}
  .post-num{flex-basis:30px;height:30px;border-radius:9px;font-size:13px}
  .post-row h3{font-size:15px;line-height:1.35}
  .ad-section{padding:0 14px}
  .ad-slot{margin:14px 0!important;min-height:90px!important;padding:8px!important;border-radius:12px;background:#fff}
  .ad-slot .adsbygoogle{min-height:90px!important}
  .ad-slot.small .adsbygoogle{min-height:120px!important}
  .footer{margin-top:28px}
  .footer-inner{grid-template-columns:1fr;padding:24px 16px;gap:18px}
}

/* Compact professional template for legacy tools */
.tool-shell{
  max-width:1180px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 280px!important;
  gap:16px!important;
  align-items:start!important;
  margin:16px auto 42px!important;
  padding:0 18px!important;
}
body:has(.tool-shell) .topline{
  display:none!important;
  height:0!important;
  background:transparent!important;
}
.tool-card{
  border:1px solid #e2eaf5!important;
  border-radius:16px!important;
  padding:16px!important;
  box-shadow:none!important;
  background:#fff!important;
}
.tool-card h1{
  font-size:clamp(24px,2.5vw,34px)!important;
  line-height:1.15!important;
  margin:0 0 4px!important;
  color:#12233b!important;
}
.tool-intro{
  margin:0 0 12px!important;
  color:#66758b!important;
  font-size:14px!important;
  line-height:1.45!important;
}
.tool-card .form-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
}
.tool-card .field label{
  font-size:12px!important;
  margin-bottom:4px!important;
}
.tool-card .field input,
.tool-card .field select,
.tool-card .field textarea{
  min-height:36px!important;
  padding:7px 9px!important;
  border:1px solid #d6e1ef!important;
  border-radius:10px!important;
  font-size:14px!important;
}
.tool-card .btn{
  min-height:34px!important;
  margin-top:10px!important;
  padding:6px 12px!important;
  border-radius:10px!important;
  background:#0b63ce!important;
  color:#fff!important;
  box-shadow:none!important;
}
.tool-card .result{
  margin-top:10px!important;
  padding:10px!important;
  border:1px solid #dfe8f5!important;
  border-radius:12px!important;
  background:#fbfdff!important;
}
.tool-card .notice{
  margin:10px 0 0!important;
  padding:8px 10px!important;
  font-size:12px!important;
}
.tool-shell>.ad-slot{
  grid-column:1/-1!important;
  order:3!important;
}
.tool-side-card{
  position:sticky!important;
  top:72px!important;
  border:1px solid #e2eaf5!important;
  border-radius:16px!important;
  padding:14px!important;
  background:#fff!important;
}
.tool-side-card h3{
  margin:0 0 9px!important;
  color:#12233b!important;
  font-size:17px!important;
}
.lk-sidebar-list{
  display:grid!important;
  gap:6px!important;
  margin:0 0 14px!important;
  padding:0!important;
  list-style:none!important;
}
.lk-sidebar-list a{
  display:flex!important;
  justify-content:space-between!important;
  gap:10px!important;
  padding:8px 9px!important;
  border:1px solid #e2eaf5!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#17345f!important;
  font-size:13px!important;
  font-weight:750!important;
  line-height:1.25!important;
  text-decoration:none!important;
}
.lk-sidebar-list a:hover{
  border-color:#bed2eb!important;
  background:#f8fbff!important;
}
.lk-all-calculators{
  display:block!important;
  padding:10px 12px!important;
  border-radius:10px!important;
  background:#0b63ce!important;
  color:#fff!important;
  font-size:13px!important;
  font-weight:900!important;
  text-align:center!important;
  text-decoration:none!important;
}
@media(max-width:920px){
  .tool-shell{grid-template-columns:1fr!important}
  .tool-side-card{position:static!important}
}
@media(max-width:560px){
  .tool-shell{margin-top:10px!important;padding:0 10px!important;gap:10px!important}
  .tool-card{padding:10px!important;border-radius:12px!important}
  .tool-card .form-grid{grid-template-columns:1fr!important;gap:8px!important}
  .tool-card h1{font-size:24px!important}
  .tool-intro{display:none!important}
}

@media(max-width:560px){
  .brand{font-size:24px}
  .hero h1{font-size:31px}
  .hero p{font-size:16px}
  .hero-actions .btn{flex-basis:100%}
  .compact-section{display:flex;flex-direction:column}
  .compact-section>.section-head{order:1}
  .compact-section>p{order:2;margin:0 0 14px!important}
  .compact-section>h2{order:3;margin:10px 0 12px!important}
  .compact-section>.post-list{order:4}
  .compact-section>.empty{order:5}
  .compact-section>.ad-slot{order:6}
  .article-wrap{margin:12px auto;padding:0 10px}
  .article{border-radius:14px;padding:15px}
}

@media(max-width:390px){
  .nav{padding-left:10px;padding-right:10px}
  .brand{font-size:22px}
  .logo{width:36px;height:36px}
  .hero-inner{padding:22px 12px 24px}
  .hero h1{font-size:29px}
  .section,.compact-section{padding-left:12px;padding-right:12px}
}

.hero>.google-auto-placed,
.hero .google-anno-skip,
.hero .google-anno-sc,
.card .google-auto-placed,
.post-row .google-auto-placed,
.tool-card .google-auto-placed,
.calc-box .google-auto-placed,
.main-card>.section:first-child .google-auto-placed{
  display:none!important;
  height:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
}

.hero .google-anno{
  color:inherit!important;
  text-decoration:none!important;
  border:0!important;
  box-shadow:none!important;
}

/* Desktop newspaper-style polish: compact, content-dense, less blank space */
@media (min-width:851px){
  body{
    background:#f2f5f9;
    line-height:1.5;
  }

  .topline{
    height:3px;
  }

  .site-header{
    box-shadow:0 3px 14px rgba(10,35,70,.05);
  }

  .nav{
    max-width:1240px;
    min-height:56px;
    padding:8px 18px;
    gap:14px;
  }

  .brand{
    font-size:22px;
  }

  .logo{
    width:34px;
    height:34px;
    border-radius:10px;
    font-size:20px;
  }

  .navlinks{
    gap:8px;
  }

  .navlinks a{
    padding:8px 10px;
    border-radius:8px;
    font-size:14px;
  }

  .navlinks a:hover{
    background:#edf4ff;
    text-decoration:none;
  }

  .hero{
    background:linear-gradient(135deg,#082f63 0%,#0b55c6 62%,#0a987a 100%);
  }

  .hero-inner{
    max-width:1240px;
    min-height:0;
    padding:26px 18px 24px;
    grid-template-columns:minmax(0,1.75fr) minmax(280px,.65fr);
    gap:18px;
  }

  .eyebrow{
    padding:5px 10px;
    font-size:12px;
  }

  .hero h1{
    max-width:820px;
    margin:10px 0 8px;
    font-size:42px;
    line-height:1.08;
  }

  .hero p{
    max-width:850px;
    font-size:16px;
    line-height:1.45;
  }

  .hero-actions{
    margin-top:14px;
    gap:8px;
  }

  .btn{
    min-height:38px;
    padding:9px 14px;
    border-radius:9px;
    font-size:14px;
  }

  .hero-panel{
    padding:14px;
    border-radius:16px;
    box-shadow:0 14px 34px rgba(0,27,77,.22);
  }

  .hero-panel h3{
    margin-bottom:8px;
    font-size:17px;
  }

  .quick{
    gap:7px;
  }

  .quick a{
    padding:9px 10px;
    border-radius:9px;
    font-size:14px;
  }

  .section,
  .compact-section{
    max-width:1240px;
    padding:22px 18px;
  }

  .compact-section{
    display:flex;
    flex-direction:column;
  }

  .compact-section>.section-head{order:1}
  .compact-section>p{order:2;margin:0 0 10px!important}
  .compact-section>h2{order:3;margin:12px 0 10px!important}
  .compact-section>.post-list{order:4}
  .compact-section>.empty{order:5}
  .compact-section>.ad-slot{order:8}
  .compact-section>.footer{order:9}

  .section-head{
    margin-bottom:12px;
    align-items:center;
  }

  .section h1,
  .section-head h1{
    margin:0;
    font-size:32px;
    line-height:1.1;
  }

  .section h2,
  .section-head h2{
    font-size:28px;
    line-height:1.12;
  }

  .section-head p,
  .section>p{
    max-width:680px;
    font-size:15px;
    line-height:1.45;
  }

  .tag{
    margin-top:6px;
    padding:3px 8px;
    font-size:11px;
  }

  .grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:10px;
  }

  .card{
    display:grid;
    grid-template-columns:38px minmax(0,1fr);
    grid-template-rows:auto auto auto;
    gap:3px 10px;
    min-height:0;
    padding:12px;
    border-radius:12px;
    box-shadow:none;
  }

  .card:hover{
    transform:none;
    box-shadow:0 8px 18px rgba(23,59,107,.08);
  }

  .card .icon{
    grid-row:1/4;
    width:36px;
    height:36px;
    border-radius:10px;
    font-size:18px;
  }

  .card h3{
    margin:0;
    font-size:17px;
    line-height:1.18;
  }

  .card p{
    font-size:13px;
    line-height:1.35;
  }

  .card .tag{
    width:max-content;
    margin-top:2px;
  }

  .ad-section{
    max-width:1240px;
    padding:0 18px;
  }

  .ad-slot{
    min-height:70px;
    max-height:110px;
    margin:10px 0!important;
    padding:8px 10px;
    border-radius:10px;
  }

  .ad-slot .adsbygoogle{
    min-height:70px;
    max-height:96px;
  }

  .searchbox{
    width:360px;
    max-width:360px;
  }

  .searchbox input{
    height:40px;
    padding:8px 12px;
    border-radius:9px;
    font-size:14px;
  }

  .post-list{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:7px;
  }

  .post-row{
    min-height:0;
    padding:8px 10px;
    gap:8px;
    border-radius:9px;
    box-shadow:none;
  }

  .post-row:hover{
    background:#f8fbff;
    text-decoration:none;
  }

  .post-num{
    flex:0 0 24px;
    width:24px;
    height:24px;
    border-radius:7px;
    font-size:12px;
  }

  .post-row h3{
    font-size:14px;
    line-height:1.25;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }

  #guides .post-list,
  main.section .post-list{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }

  #guides .post-row,
  main.section .post-row{
    padding:7px 9px;
  }

  #guides .post-row h3,
  main.section .post-row h3{
    font-size:13.5px;
  }

  #guides [style*="text-align:center"]{
    margin-top:14px!important;
  }

  .footer{
    margin-top:20px;
  }

  .footer-inner{
    max-width:1240px;
    padding:24px 18px;
    gap:16px;
  }
}

/* Desktop refinement v2: one box per content type, readable lines, no fake blank ad gaps */
@media (min-width:851px){
  body{
    line-height:1.66;
  }

  .grid,
  .post-list,
  .entry-content,
  .footer-inner{
    content-visibility:visible;
    contain-intrinsic-size:auto;
  }

  .hero-inner{
    padding-top:24px;
    padding-bottom:24px;
  }

  .hero h1{
    font-size:38px;
    line-height:1.18;
  }

  .hero p{
    line-height:1.62;
  }

  .section,
  .compact-section{
    padding-top:22px;
    padding-bottom:22px;
  }

  .section-head{
    margin-bottom:14px;
  }

  .section h1,
  .section-head h1{
    font-size:30px;
    line-height:1.18;
  }

  .section h2,
  .section-head h2{
    font-size:27px;
    line-height:1.2;
  }

  .section-head p,
  .section>p{
    line-height:1.6;
  }

  .grid,
  .post-list{
    overflow:hidden;
    background:#fff;
    border:1px solid var(--line);
    border-radius:14px;
    gap:0;
    box-shadow:0 8px 22px rgba(16,36,62,.04);
  }

  .card,
  .post-row{
    background:transparent;
    border:0;
    border-radius:0;
    box-shadow:none;
  }

  .card:hover,
  .post-row:hover{
    background:#f7fbff;
    box-shadow:none;
    transform:none;
  }

  .card{
    padding:14px;
    border-right:1px solid #edf2f8;
    border-bottom:1px solid #edf2f8;
  }

  .card p{
    line-height:1.62;
  }

  .post-row{
    padding:10px 12px;
    border-right:1px solid #edf2f8;
    border-bottom:1px solid #edf2f8;
  }

  .post-row h3{
    line-height:1.45;
    -webkit-line-clamp:2;
  }

  #guides .post-row h3,
  main.section .post-row h3{
    line-height:1.42;
  }

  .ad-slot{
    min-height:110px;
    max-height:none;
    overflow:visible;
    background:#fff;
  }

  .ad-slot .adsbygoogle{
    min-height:90px;
    max-height:none;
  }

  .ad-slot:has(.adsbygoogle[data-ad-status="unfilled"]){
    display:none;
  }

  .ad-slot:has(.adsbygoogle[data-ad-status="unfill-optimized"]),
  .ad-section:has(.adsbygoogle[data-ad-status="unfilled"]),
  .ad-section:has(.adsbygoogle[data-ad-status="unfill-optimized"]){
    display:none!important;
    height:0!important;
    min-height:0!important;
    max-height:0!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
  }

}

/* Homepage professional finance portal layout */
.home-page{
  background:#f3f6fa;
}

.home-wrap{
  max-width:1240px;
  margin:0 auto;
  padding-left:18px;
  padding-right:18px;
}

.home-hero{
  background:linear-gradient(135deg,#092f61 0%,#0757d5 58%,#078768 100%);
  color:#fff;
  border-bottom:1px solid rgba(255,255,255,.16);
}

.home-hero-grid{
  display:grid;
  grid-template-columns:minmax(0,1.7fr) minmax(280px,.7fr);
  gap:24px;
  align-items:center;
  padding-top:30px;
  padding-bottom:30px;
}

.home-hero-copy h1{
  max-width:820px;
  margin:12px 0 10px;
  font-size:clamp(34px,4vw,48px);
  line-height:1.12;
  letter-spacing:-.02em;
}

.home-hero-copy p{
  max-width:820px;
  margin:0;
  color:#e8f1ff;
  font-size:17px;
  line-height:1.58;
}

.home-quick-box{
  background:#fff;
  color:var(--ink);
  border:1px solid rgba(255,255,255,.5);
  border-radius:18px;
  padding:16px;
  box-shadow:0 18px 44px rgba(0,27,77,.22);
}

.home-quick-box h2{
  margin:0 0 10px;
  font-size:18px;
  line-height:1.2;
}

.home-quick-box a{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:10px 0;
  color:var(--ink);
  font-weight:800;
  border-top:1px solid #eef3f8;
}

.home-quick-box a:hover{
  color:var(--brand);
  text-decoration:none;
}

.home-strip{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:0;
  margin-top:16px;
  margin-bottom:0;
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 10px 26px rgba(16,36,62,.05);
}

.home-strip div{
  padding:14px 16px;
  border-right:1px solid #edf2f8;
}

.home-strip div:last-child{
  border-right:0;
}

.home-strip strong,
.home-strip span{
  display:block;
}

.home-strip strong{
  font-size:16px;
  line-height:1.2;
}

.home-strip span{
  margin-top:4px;
  color:var(--muted);
  font-size:13px;
  line-height:1.35;
}

.home-section{
  padding-top:24px;
  padding-bottom:0;
}

.home-hero + .home-section{
  padding-top:26px;
}

.home-section-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:18px;
  margin-bottom:12px;
}

.home-section-head h2{
  margin:4px 0 0;
  font-size:30px;
  line-height:1.15;
  letter-spacing:-.01em;
}

.home-section-head p{
  max-width:520px;
  margin:0;
  color:var(--muted);
  line-height:1.5;
}

.home-more{
  font-weight:900;
  color:var(--brand);
}

.home-card-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 10px 26px rgba(16,36,62,.05);
}

.home-tool-card{
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  gap:5px 12px;
  padding:16px;
  color:var(--ink);
  border-right:1px solid #edf2f8;
  border-bottom:1px solid #edf2f8;
  min-height:104px;
}

.home-tool-card:hover,
.home-feature-card:hover{
  background:#f8fbff;
  text-decoration:none;
}

.home-tool-card .icon{
  grid-row:1/3;
  width:42px;
  height:42px;
  border-radius:12px;
  font-size:20px;
}

.home-tool-card strong,
.home-feature-card strong{
  display:block;
  font-size:18px;
  line-height:1.22;
}

.home-tool-card small,
.home-feature-card small{
  display:block;
  margin-top:4px;
  color:var(--muted);
  font-size:14px;
  line-height:1.45;
}

.home-feature-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}

.home-feature-card{
  display:flex;
  gap:12px;
  align-items:flex-start;
  min-width:0;
  padding:16px;
  color:var(--ink);
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  box-shadow:0 8px 22px rgba(16,36,62,.04);
}

.home-feature-card>span{
  flex:0 0 44px;
  width:44px;
  height:44px;
  border-radius:13px;
  display:grid;
  place-items:center;
  background:#e9f2ff;
  font-size:21px;
}

.home-guide-list{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:0!important;
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 10px 26px rgba(16,36,62,.05);
}

.home-guide-list .post-row{
  border:0;
  border-right:1px solid #edf2f8;
  border-bottom:1px solid #edf2f8;
  border-radius:0;
  padding:12px;
  background:transparent;
}

.home-guide-list .post-row h3{
  font-size:14px;
  line-height:1.42;
}

.home-center{
  text-align:center;
  margin-top:16px;
}

.home-blue-btn{
  background:#0757d5!important;
  color:#fff!important;
}

.home-ad-section{
  padding-top:0;
  padding-bottom:0;
}

.home-ad-slot{
  display:none;
  min-height:0;
  margin:0!important;
  padding:0!important;
  border:0;
  background:transparent;
}

.home-ad-slot.ad-visible{
  display:block;
  min-height:90px;
  margin:16px 0 0!important;
  padding:8px 10px!important;
  border:1px dashed #c7d6e6;
  border-radius:12px;
  background:#fff;
}

.ad-slot.ad-collapsed,
.ad-section.ad-collapsed,
.ad-slot:has(.adsbygoogle[data-ad-status="unfilled"]),
.ad-slot:has(.adsbygoogle[data-ad-status="unfill-optimized"]),
.ad-section:has(.adsbygoogle[data-ad-status="unfilled"]),
.ad-section:has(.adsbygoogle[data-ad-status="unfill-optimized"]){
  display:none!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
}

.home-page .ad-section{
  max-width:1180px;
  margin:0 auto;
  padding:0 20px;
}

.home-page .ad-slot{
  margin:16px 0!important;
}

@media(max-width:900px){
  .home-hero-grid,
  .home-strip,
  .home-card-grid,
  .home-feature-grid,
  .home-guide-list{
    grid-template-columns:1fr 1fr!important;
  }

  .home-hero-grid{
    gap:18px;
  }
}

@media(max-width:640px){
  .home-wrap{
    padding-left:14px;
    padding-right:14px;
  }

  .home-hero-grid{
    display:block;
    padding-top:24px;
    padding-bottom:24px;
  }

  .home-quick-box{
    display:none;
  }

  .home-strip,
  .home-card-grid,
  .home-feature-grid,
  .home-guide-list{
    grid-template-columns:1fr!important;
  }

  .home-section{
    padding-top:22px;
  }

  .home-section-head,
  .guide-head{
    display:block;
  }

  .home-section-head h2{
    font-size:26px;
  }

  .home-more,
  .home-section-head p,
  .guide-head .searchbox{
    display:block;
    margin-top:10px;
  }

  .home-strip div,
  .home-tool-card,
  .home-feature-card,
  .home-guide-list .post-row{
    padding:14px;
  }

  .home-tool-card{
    min-height:auto;
  }
}

/* Homepage ad-gap hardening: collapse empty/manual/auto ad wrappers so blocked ads never leave a white hole */
.home-page .ad-section,
.home-page .ad-slot,
.home-page .google-auto-placed{
  transition:none!important;
}

.home-page .ad-section.ad-collapsed,
.home-page .ad-slot.ad-collapsed,
.home-page .google-auto-placed.ad-collapsed,
.home-page .google-auto-placed:empty{
  display:none!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
}

.home-page .google-auto-placed:not(.ad-visible){
  min-height:0!important;
  margin:0!important;
  padding:0!important;
}

.home-page .google-auto-placed.ad-visible{
  display:block!important;
  max-width:1180px!important;
  margin:14px auto!important;
  padding:0 20px!important;
  min-height:90px!important;
}

.home-page #calculators{
  padding-bottom:10px!important;
}

.home-page #tools{
  padding-top:18px!important;
}

.home-page #calculators + .google-auto-placed:not(.ad-visible),
.home-page .google-auto-placed:not(.ad-visible) + #tools{
  margin-top:0!important;
}

.mock-q-hi{font-size:19px;line-height:1.48;color:#20364d}
.mock-q-en{font-size:14px;line-height:1.45;color:#586a80;margin-top:6px;font-weight:600}
.mock-q-ref{font-size:12px;line-height:1.35;color:#6d7d91;margin-top:8px;padding-top:8px;border-top:1px dashed #d7e2ea;font-weight:600}
.mock-option-sub{display:block;margin-top:4px;color:#607087;font-size:13px;line-height:1.35;font-weight:600}
.review-card .mock-q-hi{font-size:17px}
.review-card .mock-q-en{font-size:13px}
.exam-select-row{background:#eef7ff;border:2px solid #1884f7;border-radius:14px;padding:10px 12px}
.exam-select-row label{color:#0757d5}
.exam-select{font-weight:900;border:2px solid #1884f7!important;box-shadow:0 0 0 3px #1884f71f;background:#fff!important}
.exam-language-note{font-weight:800;color:#0757d5!important}

@media(min-width:901px){
  .exam-shell{min-height:100vh;overflow:hidden}
  .exam-topbar{padding:8px 16px}
  .exam-topbar-inner{max-width:1440px;gap:12px}
  .exam-brand{gap:10px}
  .exam-brand .logo{width:38px;height:38px}
  .exam-user{padding:7px 10px;border-radius:12px}
  .exam-online{padding:4px 8px}
  .exam-page{max-width:1440px;padding:10px 12px 12px}
  .exam-main{grid-template-columns:minmax(0,1fr) 300px;gap:10px;padding:10px;border-radius:16px}
  .question-panel{padding:10px;border-radius:14px}
  .question-panel-head{margin-bottom:8px}
  .question-no{font-size:20px}
  .question-type{font-size:14px}
  .question-card{min-height:0;padding:14px;border-radius:12px}
  .question-card h2{margin-bottom:10px}
  .mock-q-hi{font-size:17px;line-height:1.34}
  .mock-q-en{font-size:13px;line-height:1.32;margin-top:4px}
  .mock-q-ref{display:none}
  .exam-options{gap:7px}
  .exam-options label{padding:8px 10px;border-radius:10px;font-size:15px}
  .exam-options input{margin-top:3px}
  .mock-option-sub{font-size:12px;margin-top:2px;line-height:1.25}
  .question-actions{position:sticky;bottom:0;background:#fff;padding-top:8px;margin-top:10px;gap:7px}
  .exam-btn{padding:9px 11px;border-radius:9px;font-size:14px}
  .palette-panel{top:8px;padding:10px;border-radius:14px;max-height:calc(100vh - 78px);overflow:hidden}
  .palette-stats{grid-template-columns:1fr 1fr;gap:7px;margin-bottom:10px}
  .palette-stat{padding:7px;gap:6px;border-radius:10px;font-size:12px}
  .stat-box{min-width:38px;height:30px;border-radius:8px}
  .palette-grid{grid-template-columns:repeat(5,1fr);gap:6px;max-height:calc(100vh - 230px);overflow:auto}
  .palette-btn{height:31px;border-radius:8px;font-size:13px}
}

/* AdSense optimization: keep ad units policy-safe, compact, and collapse unfilled inventory globally */
.ad-slot,
.ad-section,
.google-auto-placed{
  transition:none!important;
}

.ad-slot{
  max-width:100%;
  contain:layout style;
}

.article .ad-slot,
.entry-content .ad-slot,
.tool-shell>.ad-slot,
.main-card>.ad-slot{
  margin:18px 0!important;
}

.entry-content .ad-slot.in-article-ad{
  display:block;
  width:100%;
  clear:both;
  border-left:0;
  border-right:0;
  border-radius:12px;
  background:#fbfdff;
}

.ad-slot.ad-pending{
  min-height:90px;
}

.ad-slot.ad-visible{
  display:block!important;
  min-height:90px!important;
  margin:18px 0!important;
  padding:8px 10px!important;
  border:1px solid #e0e8f2!important;
  background:#fff!important;
}

.ad-slot.ad-visible .adsbygoogle{
  min-height:90px!important;
}

.article .ad-slot.ad-visible{
  margin:20px 0!important;
}

.ad-slot.ad-collapsed,
.ad-section.ad-collapsed,
.google-auto-placed.ad-collapsed,
.ad-slot:has(.adsbygoogle[data-ad-status="unfilled"]),
.ad-slot:has(.adsbygoogle[data-ad-status="unfill-optimized"]),
.ad-slot:has(.adsbygoogle[data-ad-status="unfilled-optimized"]),
.ad-section:has(.adsbygoogle[data-ad-status="unfilled"]),
.ad-section:has(.adsbygoogle[data-ad-status="unfill-optimized"]),
.ad-section:has(.adsbygoogle[data-ad-status="unfilled-optimized"]){
  display:none!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
}

.google-auto-placed.ad-visible{
  display:block!important;
  max-width:1180px!important;
  margin:16px auto!important;
  padding:0 16px!important;
  min-height:90px!important;
}

@media(max-width:640px){
  .article .ad-slot.ad-visible,
  .entry-content .ad-slot.ad-visible,
  .tool-shell>.ad-slot.ad-visible,
  .main-card>.ad-slot.ad-visible{
    margin:14px 0!important;
    padding:6px!important;
    min-height:80px!important;
  }
  .ad-slot.ad-visible .adsbygoogle{min-height:80px!important}
}

/* Policy-safe high-viewability ad layout: content first, ads outside controls, no blank holes */
.ad-slot.ad-pending,
.ad-section.ad-pending{
  min-height:0!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}

.entry-content .ad-slot.lk-managed-ad,
.entry-content .ad-slot.in-article-ad{
  width:100%;
  max-width:780px;
  margin:20px auto!important;
  clear:both;
  text-align:center;
}

.entry-content .ad-slot.lk-managed-ad.ad-visible,
.entry-content .ad-slot.in-article-ad.ad-visible{
  margin:22px auto!important;
  padding:8px!important;
  border:1px solid #e5edf6!important;
  border-radius:12px!important;
  background:#fff!important;
}

.lk-tool-outside-ad.ad-visible,
.tool-shell>.ad-slot.ad-visible{
  margin:16px 0 18px!important;
}

.tool-card .ad-slot,
.calc-box .ad-slot,
.result-box .ad-slot{
  display:none!important;
}

.article .ad-label,
.tool-shell .ad-label{
  font-size:9px!important;
  color:#98a6b8!important;
  letter-spacing:.12em!important;
  text-transform:uppercase!important;
  margin-bottom:4px!important;
}

@media(min-width:960px){
  .article-wrap{max-width:980px!important}
  .entry-content .ad-slot.lk-managed-ad.ad-visible{max-width:728px!important}
}

@media(max-width:640px){
  .entry-content .ad-slot.lk-managed-ad,
  .entry-content .ad-slot.in-article-ad{
    margin:14px auto!important;
  }
  .entry-content .ad-slot.lk-managed-ad.ad-visible,
  .entry-content .ad-slot.in-article-ad.ad-visible{
    margin:16px auto!important;
    padding:4px!important;
  }
}
