/* Seven shared appearance options. Screen-only: do not affect printed documents. */
@media screen {
  html[data-seva-theme="01"] {
    --d3-bg:#0c1b33;--d3-sidebar:#112745;--d3-panel:#192f50;
    --d3-line:#375172;--d3-accent:#74b5fa;--d3-mint:#4edacc;
  }
  html[data-seva-theme="01"] body {background:radial-gradient(circle at 90% 0,#295f9a65,transparent 41%),#0c1b33!important}
  html[data-seva-theme="01"] body>.shell {grid-template-columns:215px minmax(0,1fr)}
  html[data-seva-theme="01"] body>.shell>aside {background:linear-gradient(170deg,#15375e,#0e223e);border-color:#315278}
  html[data-seva-theme="01"] #home .hero {background:radial-gradient(circle at 80% 10%,#2785a844,transparent 38%),linear-gradient(120deg,#16365c,#234f86);border-color:#467aa3}
  html[data-seva-theme="01"] #home .hero-button {background:#75c9f8;border-color:#9ee8ff;color:#0d2945}
  html[data-seva-theme="01"] #home .hero-secondary {background:#ffffff12;color:#e8f9ff;border-color:#6b9dbc}
  html[data-seva-theme="01"] body:has(#nav) .card {border-color:#3b5b80;background:#1b365a}
  html[data-seva-theme="01"] body:has(#nav) .card:hover {background:#24446d;border-color:#6faae4}

  :is(html[data-seva-theme="02"],html[data-seva-theme="04"],html[data-seva-theme="05"],html[data-seva-theme="06"],html[data-seva-theme="07"]) {
    color-scheme:light;
    --tm-bg:#f4f8fc;--tm-panel:#ffffff;--tm-sidebar:#ffffff;--tm-line:#dfe8f1;
    --tm-ink:#203951;--tm-muted:#657b91;--tm-accent:#3276b7;
    --tm-hero:linear-gradient(115deg,#e6f4ff,#f3faff);--tm-soft:#e9f4ff;
    --tm-shadow:0 8px 24px #2346670d;
    --line:var(--tm-line);--muted:var(--tm-muted);--green:var(--tm-accent);
    --accent:var(--tm-accent);--sidebar:var(--tm-sidebar);
  }
  html[data-seva-theme="02"] {--tm-bg:#f3fbf9;--tm-panel:#fff;--tm-sidebar:#fff;--tm-line:#dceee9;--tm-ink:#1e4344;--tm-muted:#60817e;--tm-accent:#128f80;--tm-soft:#e6f8f1;--tm-hero:linear-gradient(115deg,#e7fbf4,#f5fffb)}
  html[data-seva-theme="04"] {--tm-bg:#f4f8ff;--tm-panel:#fff;--tm-sidebar:#fbfdff;--tm-line:#dfebf6;--tm-ink:#203d5b;--tm-muted:#6a8196;--tm-accent:#3578bf;--tm-soft:#e8f3ff;--tm-hero:linear-gradient(115deg,#e0f0ff,#f5faff)}
  html[data-seva-theme="05"] {--tm-bg:#f5fbf8;--tm-panel:#fff;--tm-sidebar:#fff;--tm-line:#dcebe6;--tm-ink:#234740;--tm-muted:#66827a;--tm-accent:#078f7b;--tm-soft:#e3f9f1;--tm-hero:linear-gradient(110deg,#d8f8ec,#f8fffc)}
  html[data-seva-theme="06"] {--tm-bg:#faf6ee;--tm-panel:#fffcf6;--tm-sidebar:#fff9ef;--tm-line:#eaddc9;--tm-ink:#514433;--tm-muted:#8b7b68;--tm-accent:#a67d41;--tm-soft:#f9edd7;--tm-hero:linear-gradient(110deg,#fff0d2,#fffcf6)}
  html[data-seva-theme="07"] {--tm-bg:#eef4fc;--tm-panel:#ffffffdf;--tm-sidebar:#ffffffdc;--tm-line:#d8e2f6;--tm-ink:#303c66;--tm-muted:#7884ac;--tm-accent:#6576c8;--tm-soft:#e9edff;--tm-hero:linear-gradient(115deg,#e4edff,#f0ecff)}
  :is(html[data-seva-theme="02"],html[data-seva-theme="04"],html[data-seva-theme="05"],html[data-seva-theme="06"],html[data-seva-theme="07"]) body {
    background:var(--tm-bg)!important;color:var(--tm-ink)!important;
    font-family:Inter,"Segoe UI Variable","Segoe UI",Roboto,DeskHindi,system-ui,sans-serif;
  }
  :is(html[data-seva-theme="02"],html[data-seva-theme="04"],html[data-seva-theme="05"],html[data-seva-theme="06"],html[data-seva-theme="07"]) :is(h1,h2,h3,.brand,.card strong) {color:var(--tm-ink)}
  :is(html[data-seva-theme="02"],html[data-seva-theme="04"],html[data-seva-theme="05"],html[data-seva-theme="06"],html[data-seva-theme="07"]) body>.shell>aside {background:var(--tm-sidebar);border-color:var(--tm-line);box-shadow:2px 0 14px #23466707}
  :is(html[data-seva-theme="02"],html[data-seva-theme="04"],html[data-seva-theme="05"],html[data-seva-theme="06"],html[data-seva-theme="07"]) body>.shell>main {max-width:1700px}
  :is(html[data-seva-theme="02"],html[data-seva-theme="04"],html[data-seva-theme="05"],html[data-seva-theme="06"],html[data-seva-theme="07"]) .brand {color:var(--tm-ink);letter-spacing:-.04em}
  :is(html[data-seva-theme="02"],html[data-seva-theme="04"],html[data-seva-theme="05"],html[data-seva-theme="06"],html[data-seva-theme="07"]) .brand-mark {background:linear-gradient(145deg,var(--tm-accent),#82bad3);border:1px solid #ffffff9f;box-shadow:0 7px 15px #275f7d23}
  :is(html[data-seva-theme="02"],html[data-seva-theme="04"],html[data-seva-theme="05"],html[data-seva-theme="06"],html[data-seva-theme="07"]) nav button, :is(html[data-seva-theme="02"],html[data-seva-theme="04"],html[data-seva-theme="05"],html[data-seva-theme="06"],html[data-seva-theme="07"]) nav .external-nav {color:var(--tm-muted);border-radius:10px}
  :is(html[data-seva-theme="02"],html[data-seva-theme="04"],html[data-seva-theme="05"],html[data-seva-theme="06"],html[data-seva-theme="07"]) nav button[aria-pressed=true], :is(html[data-seva-theme="02"],html[data-seva-theme="04"],html[data-seva-theme="05"],html[data-seva-theme="06"],html[data-seva-theme="07"]) nav .external-nav[aria-current=page] {background:var(--tm-soft);color:var(--tm-accent)}
  :is(html[data-seva-theme="02"],html[data-seva-theme="04"],html[data-seva-theme="05"],html[data-seva-theme="06"],html[data-seva-theme="07"]) .topbar {color:var(--tm-muted);border-bottom:1px solid var(--tm-line)}
  :is(html[data-seva-theme="02"],html[data-seva-theme="04"],html[data-seva-theme="05"],html[data-seva-theme="06"],html[data-seva-theme="07"]) #home .hero {background:var(--tm-hero);color:var(--tm-ink);border:1px solid var(--tm-line);box-shadow:var(--tm-shadow);border-radius:21px}
  :is(html[data-seva-theme="02"],html[data-seva-theme="04"],html[data-seva-theme="05"],html[data-seva-theme="06"],html[data-seva-theme="07"]) #home .hero:after {opacity:.42}
  :is(html[data-seva-theme="02"],html[data-seva-theme="04"],html[data-seva-theme="05"],html[data-seva-theme="06"],html[data-seva-theme="07"]) .hero h1 {color:var(--tm-ink);font-size:clamp(29px,3.4vw,48px)}
  :is(html[data-seva-theme="02"],html[data-seva-theme="04"],html[data-seva-theme="05"],html[data-seva-theme="06"],html[data-seva-theme="07"]) .hero p {color:var(--tm-muted)}
  :is(html[data-seva-theme="02"],html[data-seva-theme="04"],html[data-seva-theme="05"],html[data-seva-theme="06"],html[data-seva-theme="07"]) .hero-label {color:var(--tm-accent)}
  :is(html[data-seva-theme="02"],html[data-seva-theme="04"],html[data-seva-theme="05"],html[data-seva-theme="06"],html[data-seva-theme="07"]) .hero-button {background:var(--tm-accent);color:white;border:1px solid transparent;border-radius:10px}
  :is(html[data-seva-theme="02"],html[data-seva-theme="04"],html[data-seva-theme="05"],html[data-seva-theme="06"],html[data-seva-theme="07"]) .hero-secondary {background:#ffffffbb;color:var(--tm-accent);border:1px solid var(--tm-line)}
  :is(html[data-seva-theme="02"],html[data-seva-theme="04"],html[data-seva-theme="05"],html[data-seva-theme="06"],html[data-seva-theme="07"]) .quick {background:#ffffffc8;color:var(--tm-ink);border:1px solid var(--tm-line);box-shadow:0 8px 20px #244b6510}
  :is(html[data-seva-theme="02"],html[data-seva-theme="04"],html[data-seva-theme="05"],html[data-seva-theme="06"],html[data-seva-theme="07"]) .quick-label {color:var(--tm-accent)}
  :is(html[data-seva-theme="02"],html[data-seva-theme="04"],html[data-seva-theme="05"],html[data-seva-theme="06"],html[data-seva-theme="07"]) #quick-tools a {background:#ffffff;color:var(--tm-ink);border:1px solid var(--tm-line);box-shadow:0 3px 7px #173c5c0c}
  :is(html[data-seva-theme="02"],html[data-seva-theme="04"],html[data-seva-theme="05"],html[data-seva-theme="06"],html[data-seva-theme="07"]) .overview-grid a {background:var(--tm-panel);border:1px solid var(--tm-line);border-radius:15px;box-shadow:var(--tm-shadow)}
  :is(html[data-seva-theme="02"],html[data-seva-theme="04"],html[data-seva-theme="05"],html[data-seva-theme="06"],html[data-seva-theme="07"]) .overview-grid strong {color:var(--tm-accent)}
  :is(html[data-seva-theme="02"],html[data-seva-theme="04"],html[data-seva-theme="05"],html[data-seva-theme="06"],html[data-seva-theme="07"]) .cards {gap:12px}
  :is(html[data-seva-theme="02"],html[data-seva-theme="04"],html[data-seva-theme="05"],html[data-seva-theme="06"],html[data-seva-theme="07"]) .card {background:var(--tm-panel);border:1px solid var(--tm-line);border-radius:15px;box-shadow:var(--tm-shadow);transition:transform .16s,box-shadow .16s}
  :is(html[data-seva-theme="02"],html[data-seva-theme="04"],html[data-seva-theme="05"],html[data-seva-theme="06"],html[data-seva-theme="07"]) .card:hover {transform:translateY(-3px);box-shadow:0 12px 27px #1f426328}
  :is(html[data-seva-theme="02"],html[data-seva-theme="04"],html[data-seva-theme="05"],html[data-seva-theme="06"],html[data-seva-theme="07"]) :is(.panel,.tool-head,.section-banner,.service-card,.external-intro) {background:var(--tm-panel);border:1px solid var(--tm-line);color:var(--tm-ink);box-shadow:var(--tm-shadow);border-radius:15px}
  :is(html[data-seva-theme="02"],html[data-seva-theme="04"],html[data-seva-theme="05"],html[data-seva-theme="06"],html[data-seva-theme="07"]) :is(.btn.main,.section-head .view-all) {background:var(--tm-accent);border-color:var(--tm-accent);color:#fff}
  :is(html[data-seva-theme="02"],html[data-seva-theme="04"],html[data-seva-theme="05"],html[data-seva-theme="06"],html[data-seva-theme="07"]) .badge {box-shadow:inset 0 2px 2px #ffffffb8,0 5px 8px #163c5834;border:1px solid #ffffffdb;border-radius:12px}
  :is(html[data-seva-theme="02"],html[data-seva-theme="04"],html[data-seva-theme="05"],html[data-seva-theme="06"],html[data-seva-theme="07"]) #nav .nav-icon {box-shadow:inset 0 2px 2px #ffffffa4,0 4px 7px #234e6b2d;border-radius:9px}

  /* The distinct layout differences in the gallery, implemented on real cards. */
  html[data-seva-theme="02"] body>.shell,
  html[data-seva-theme="05"] body>.shell,
  html[data-seva-theme="07"] body>.shell {display:block}
  html[data-seva-theme="02"] body>.shell>aside,
  html[data-seva-theme="05"] body>.shell>aside,
  html[data-seva-theme="07"] body>.shell>aside {position:relative;top:auto;min-height:0;display:flex;flex-direction:row;align-items:center;gap:18px;padding:13px 21px;border-right:0;border-bottom:1px solid var(--tm-line)}
  html[data-seva-theme="02"] body>.shell>aside .brand,
  html[data-seva-theme="05"] body>.shell>aside .brand,
  html[data-seva-theme="07"] body>.shell>aside .brand {flex:none;white-space:nowrap;font-size:18px}
  html[data-seva-theme="02"] #nav,
  html[data-seva-theme="05"] #nav,
  html[data-seva-theme="07"] #nav {display:flex;flex:1;overflow-x:auto;scrollbar-width:thin;gap:4px}
  html[data-seva-theme="02"] :is(.nav-caption,.privacy),
  html[data-seva-theme="05"] :is(.nav-caption,.privacy),
  html[data-seva-theme="07"] :is(.nav-caption,.privacy) {display:none}
  html[data-seva-theme="02"] body>.shell>main,
  html[data-seva-theme="05"] body>.shell>main,
  html[data-seva-theme="07"] body>.shell>main {max-width:1480px}
  html[data-seva-theme="02"] #home .hero {grid-template-columns:1.5fr minmax(250px,1fr)}
  html[data-seva-theme="05"] #home .hero {grid-template-columns:1fr 1fr;min-height:210px}
  html[data-seva-theme="05"] #home .hero h1 {max-width:600px}
  html[data-seva-theme="05"] .quick {max-width:430px}
  html[data-seva-theme="06"] body>.shell {grid-template-columns:190px minmax(0,1fr)}
  html[data-seva-theme="06"] body>.shell>aside {padding-inline:10px}
  html[data-seva-theme="06"] body>.shell .brand {font-size:17px}
  html[data-seva-theme="06"] .hero h1,
  html[data-seva-theme="06"] .section-head h2 {font-family:Georgia,DeskHindi,serif;letter-spacing:-.04em}
  html[data-seva-theme="06"] #home .hero {grid-template-columns:1.7fr minmax(190px,1fr)}
  html[data-seva-theme="06"] .card {border-radius:9px}
  html[data-seva-theme="07"] body {background:radial-gradient(circle at 7% 9%,#dde8ff,transparent 35%),radial-gradient(circle at 93% 7%,#ebe0ff,transparent 41%),var(--tm-bg)!important}
  html[data-seva-theme="07"] :is(.overview-grid a,.card,.panel,.quick) {backdrop-filter:blur(12px);background:#ffffffd8}
  html[data-seva-theme="07"] #home .hero {border:1px solid #fff;box-shadow:0 13px 34px #5b6eac20}
  html[data-seva-theme="07"] .cards {grid-template-columns:repeat(4,minmax(0,1fr))}
  html[data-seva-theme="04"] .cards {grid-template-columns:repeat(4,minmax(0,1fr))}
  @media(max-width:1080px){
    html[data-seva-theme="04"] .cards,html[data-seva-theme="07"] .cards{grid-template-columns:repeat(3,minmax(0,1fr))}
    html[data-seva-theme="02"] body>.shell>aside,html[data-seva-theme="05"] body>.shell>aside,html[data-seva-theme="07"] body>.shell>aside{flex-wrap:wrap;gap:7px}
    html[data-seva-theme="02"] #nav,html[data-seva-theme="05"] #nav,html[data-seva-theme="07"] #nav{width:100%;flex-basis:100%}
  }
  @media(max-width:720px){
    html[data-seva-theme="01"] body>.shell,html[data-seva-theme="06"] body>.shell{display:block}
    html[data-seva-theme="02"] body>.shell>aside,html[data-seva-theme="05"] body>.shell>aside,html[data-seva-theme="07"] body>.shell>aside{display:block;padding:10px 12px}
    html[data-seva-theme="02"] #nav,html[data-seva-theme="05"] #nav,html[data-seva-theme="07"] #nav{max-width:100%;display:flex;overflow:auto;white-space:nowrap}
    html[data-seva-theme="02"] #home .hero,html[data-seva-theme="05"] #home .hero,html[data-seva-theme="06"] #home .hero{grid-template-columns:1fr}
    html[data-seva-theme="04"] .cards,html[data-seva-theme="07"] .cards{grid-template-columns:repeat(2,minmax(0,1fr))}
    html[data-seva-theme="07"] .overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  }
  @media(max-width:420px){
    html[data-seva-theme="02"] .hero-actions,html[data-seva-theme="05"] .hero-actions{gap:5px}
    html[data-seva-theme="04"] .cards,html[data-seva-theme="07"] .cards{gap:8px}
  }
}

/* Theme picker itself: neutral styling on both dark and light pages. */
#theme-trigger.tm-trigger{border:1px solid #a7b9d6!important;background:linear-gradient(150deg,#f9fcff,#e8f0ff)!important;color:#1c3b69!important;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:7px 11px;border-radius:11px;box-shadow:0 4px 12px #183e6d21;font:700 12px/1.2 system-ui,Arial,sans-serif;white-space:nowrap;cursor:pointer}
#theme-trigger.tm-trigger:hover{border-color:#688fd2!important;box-shadow:0 5px 15px #1e539c3e}
#theme-trigger.tm-trigger>span:first-child{font-size:18px;color:#4f72bc}
#theme-trigger.tm-topbar-trigger{margin-left:12px}
#theme-trigger.tm-floating-trigger{position:fixed;right:17px;bottom:20px;z-index:6997}
#theme-dialog.tm-dialog{box-sizing:border-box;border:1px solid #d9e4f1;outline:0;border-radius:23px;padding:0;margin:auto;width:min(850px,calc(100vw - 22px));max-height:calc(100dvh - 30px);overflow-y:auto;overscroll-behavior:contain;background:#f7fafe;color:#20344f;box-shadow:0 23px 70px #0b234c66;font-family:Inter,"Segoe UI",DeskHindi,system-ui,sans-serif;z-index:7000}
#theme-dialog::backdrop{background:#091a36a3;backdrop-filter:blur(3px)}
.tm-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:22px 24px 12px;background:linear-gradient(115deg,#e6f1ff,#f9fcff)}
.tm-head .tm-eyebrow{font-size:10px;font-weight:850;letter-spacing:.15em;color:#5174ae}
.tm-head h2{margin:7px 0!important;color:#203b60!important;font-size:clamp(25px,4vw,32px)!important;letter-spacing:-.05em!important}
.tm-head p{margin:0;font-size:12px;color:#627a99;line-height:1.5}
.tm-close{display:grid;place-items:center;width:35px;height:35px;flex:none;border:1px solid #c8d7ec;border-radius:10px;background:#fff;color:#3e5676;font-size:25px;line-height:1}
.tm-stats{display:flex;gap:8px;flex-wrap:wrap;padding:12px 24px 6px;background:#f7fafe}
.tm-stats span{border-radius:999px;padding:5px 9px;background:#e6eefb;color:#426393;font-size:10px;font-weight:800}
.tm-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:14px 24px 21px}
.tm-choice{display:flex;flex-direction:column;gap:8px;border:2px solid #e4ebf5;border-radius:15px;padding:7px;background:white;color:#2b3c55;text-align:left;cursor:pointer;min-width:0;transition:border-color .18s,box-shadow .18s,transform .18s}
.tm-choice:hover{transform:translateY(-2px);border-color:#a4bbe5;box-shadow:0 8px 15px #244b781b}
.tm-choice.selected{border-color:#456cbd;box-shadow:0 0 0 2px #709df72c,0 8px 21px #1b4a8836}
.tm-mini{display:grid;position:relative;grid-template-columns:22% repeat(3,minmax(0,1fr));grid-template-rows:17% 39% 25%;gap:5px;aspect-ratio:1.4;overflow:hidden;background:var(--tm-pale);border:1px solid #d4e0f0;border-radius:10px;padding:8px}
.tm-mini i{display:block;border-radius:3px;background:var(--tm-tint);box-shadow:0 2px 4px #15345720}
.tm-mini-rail{grid-column:1;grid-row:1/4;opacity:.76}.tm-mini-top{grid-column:2/5;grid-row:1;opacity:.43}
.tm-mini-hero{grid-column:2/5;grid-row:2;opacity:.73}.tm-mini-card{grid-row:3;opacity:.44}
.tm-mini-card.c1{grid-column:2}.tm-mini-card.c2{grid-column:3}.tm-mini-card.c3{grid-column:4}
.tm-choice-caption{display:flex;align-items:flex-start;justify-content:space-between;gap:5px;padding:0 3px 4px}
.tm-choice-caption b{display:block;font-size:12px;color:#243c59;line-height:1.3}.tm-choice-caption small{display:block;margin-top:4px;font-size:10px;color:#71839a;line-height:1.4}
.tm-tick{display:grid;place-items:center;flex:none;width:18px;height:18px;border-radius:50%;border:1px solid #cdd9eb;color:transparent;font-size:12px}
.tm-choice.selected .tm-tick{background:#436cc2;color:white;border-color:#436cc2}
.tm-actions{position:sticky;bottom:0;border-top:1px solid #dbe6f4;background:#fff;box-shadow:0 -5px 16px #18365c0d;padding:16px 24px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.tm-selection{font-size:12px;color:#436386;font-weight:750}
.tm-controls{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:7px}
.tm-btn{border:1px solid #d4e0f0;background:#f7fafe;color:#355577;border-radius:10px;font:800 12px system-ui,sans-serif;padding:10px 13px;cursor:pointer}
.tm-btn.tm-preview{background:#e5f1ff;color:#255d9d;border-color:#b7d5f9}
.tm-btn.tm-apply{background:#3269b5;color:#fff;border-color:#3269b5;box-shadow:0 3px 9px #3269b546}
.tm-btn:hover{filter:brightness(.96)}
.tm-footnote{margin:0;padding:0 24px 17px;color:#667e98;font-size:11px;line-height:1.55}
#tm-toast.tm-toast{opacity:0;pointer-events:none;position:fixed;right:20px;bottom:78px;z-index:7010;background:#203e64;color:white;border-radius:12px;box-shadow:0 9px 22px #132c4d52;padding:13px 18px;font:700 12px system-ui,sans-serif;max-width:min(380px,calc(100vw - 28px));transition:opacity .22s}
#tm-toast.tm-toast.saved,#tm-toast.tm-toast.preview{opacity:1}
#tm-toast.tm-toast.saved{background:#116f63}
@media(max-width:650px){
  #theme-dialog.tm-dialog{width:calc(100vw - 12px);max-height:calc(100dvh - 14px);border-radius:14px}
  .tm-head{padding:14px}.tm-stats{padding:9px 14px}.tm-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:10px 14px;gap:8px}
  .tm-mini{aspect-ratio:1.75}.tm-choice-caption b{font-size:11px}.tm-choice-caption small{font-size:9.5px}
  .tm-actions{padding:12px 14px}.tm-controls{width:100%}.tm-btn{flex:1;padding:10px 8px}
  .tm-footnote{padding:0 14px 13px}.tm-stats span{font-size:9px}
  #theme-trigger.tm-topbar-trigger{margin-left:auto;padding:6px 8px}
  #theme-trigger.tm-trigger span:first-child{font-size:15px}
}
@media print{#theme-trigger,#theme-dialog,#tm-toast{display:none!important}}
