/* Rankshala — "Sarkari" UI prototype. Local only; not wired to the live site. */
:root {
  --navy: #0b2e59;
  --navy-2: #123f7a;
  --navy-3: #1d5aa6;
  --maroon: #8b1a1a;
  --saffron: #f37021;
  --green: #138808;
  --gold: #c8962c;
  --ink: #1b1b1b;
  --muted: #555;
  --line: #c9d3e0;
  --panel: #ffffff;
  --page: #eef1f5;
  --zebra: #f4f7fb;
  --link: #0645ad;
  --link-visited: #5a2a91;
  --hilite: #fff7d6;
  --base-size: 15px;
}
html { font-size: var(--base-size); }
html[data-font="sm"] { --base-size: 13.5px; }
html[data-font="lg"] { --base-size: 17px; }
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--page); color: var(--ink);
  font-family: "Noto Sans", "Noto Sans Devanagari", Arial, Helvetica, sans-serif;
  font-size: 1rem; line-height: 1.5;
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
.hi, [lang="hi"] { font-family: "Noto Sans Devanagari", "Noto Sans", sans-serif; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 0; background: #ffeb3b; color: #000; padding: 6px 12px; z-index: 99; }
.skip:focus { left: 8px; }

/* ---------- top accessibility strip ---------- */
.gstrip { background: #0a2547; color: #dfe7f2; font-size: .8rem; }
.gstrip .wrap { display: flex; align-items: center; gap: 14px; min-height: 32px; flex-wrap: wrap; }
.gstrip a, .gstrip button { color: #dfe7f2; }
.gstrip .grow { flex: 1; }
.gstrip .sep { opacity: .4; }
.gstrip button {
  background: transparent; border: 1px solid #3c5a85; border-radius: 2px;
  font: inherit; padding: 1px 7px; cursor: pointer; line-height: 1.5;
}
.gstrip button:hover, .gstrip button[aria-pressed="true"] { background: #fff; color: var(--navy); }
.gstrip .a11y { display: flex; gap: 4px; align-items: center; }
.tricolor { height: 4px; background: linear-gradient(90deg, var(--saffron) 0 33.3%, #fff 33.3% 66.6%, var(--green) 66.6%); }

/* ---------- masthead ---------- */
.mast { background: #fff; border-bottom: 1px solid var(--line); }
.mast .wrap { display: flex; align-items: center; gap: 16px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.seal { width: 74px; height: 74px; flex: none; }
.mast-title { flex: 1; min-width: 240px; }
.mast-title .t-hi { font-family: "Noto Sans Devanagari", sans-serif; font-size: 1.45rem; font-weight: 700; color: var(--maroon); line-height: 1.25; }
.mast-title .t-en { font-size: 1.15rem; font-weight: 700; color: var(--navy); letter-spacing: .04em; text-transform: uppercase; line-height: 1.3; }
.mast-title .t-sub { font-size: .82rem; color: var(--muted); }
.mast-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.helpdesk { font-size: .8rem; color: var(--muted); text-align: right; line-height: 1.35; }
.helpdesk b { color: var(--navy); }
.btn {
  display: inline-block; border: 1px solid var(--navy-2); background: var(--navy-2); color: #fff;
  padding: 6px 14px; font: inherit; font-size: .88rem; font-weight: 600; border-radius: 2px; cursor: pointer;
}
.btn:hover { background: var(--navy); text-decoration: none; }
.btn.alt { background: #fff; color: var(--navy-2); }
.btn.alt:hover { background: #e8eef7; }
.btn.saffron { background: var(--saffron); border-color: #d35d14; }
.btn.saffron:hover { background: #d35d14; }
.btn.green { background: var(--green); border-color: #0f6c06; }
.btn.sm { padding: 3px 10px; font-size: .8rem; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- main nav ---------- */
.mainnav { background: var(--navy-2); border-bottom: 3px solid var(--saffron); position: relative; z-index: 20; }
.mainnav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.mainnav > .wrap > ul > li { position: relative; }
.mainnav > .wrap > ul > li > a {
  display: block; color: #fff; padding: 10px 14px; font-weight: 600; font-size: .92rem;
  border-right: 1px solid rgba(255,255,255,.15);
}
.mainnav > .wrap > ul > li:first-child > a { border-left: 1px solid rgba(255,255,255,.15); }
.mainnav > .wrap > ul > li > a:hover, .mainnav li.active > a { background: var(--navy); text-decoration: none; }
.mainnav .home-ico { font-size: 1.05rem; }
.mainnav .drop {
  display: none; position: absolute; left: 0; top: 100%; min-width: 250px; background: #fff;
  border: 1px solid var(--line); border-top: 3px solid var(--saffron); box-shadow: 0 6px 18px rgba(0,0,0,.15);
}
.mainnav li:hover > .drop, .mainnav li:focus-within > .drop { display: block; }
.mainnav .drop a { display: block; padding: 7px 14px; color: var(--navy); border-bottom: 1px dotted var(--line); font-size: .88rem; }
.mainnav .drop a:hover { background: var(--hilite); text-decoration: none; }
.menu-toggle { display: none; }

/* ---------- ticker ---------- */
.ticker { background: #fff; border-bottom: 1px solid var(--line); }
.ticker .wrap { display: flex; align-items: stretch; padding: 0; }
.ticker .tlabel {
  background: var(--maroon); color: #fff; font-weight: 700; font-size: .85rem; padding: 7px 14px;
  white-space: nowrap; position: relative; display: flex; align-items: center;
}
.ticker .tlabel::after {
  content: ""; position: absolute; right: -12px; top: 0; bottom: 0; width: 0;
  border-left: 12px solid var(--maroon); border-top: 18px solid transparent; border-bottom: 18px solid transparent;
}
.ticker .track { overflow: hidden; flex: 1; position: relative; padding-left: 20px; display: flex; align-items: center; }
.ticker .move { display: inline-flex; gap: 40px; white-space: nowrap; animation: tick 60s linear infinite; padding-left: 100%; font-size: .9rem; }
.ticker:hover .move, .ticker.paused .move { animation-play-state: paused; }
.ticker .move a::before { content: "◆"; color: var(--saffron); margin-right: 8px; font-size: .7rem; }
.ticker .tctl { border: 0; border-left: 1px solid var(--line); background: #f6f8fb; padding: 0 12px; cursor: pointer; font-size: .85rem; }
@keyframes tick { to { transform: translateX(-100%); } }

.badge-new {
  display: inline-block; background: #d40000; color: #fff; font-size: .62rem; font-weight: 800;
  padding: 0 5px; border-radius: 2px; margin-left: 6px; vertical-align: 2px; letter-spacing: .05em;
  animation: blink 1s steps(2, start) infinite;
}
@keyframes blink { to { visibility: hidden; } }
@media (prefers-reduced-motion: reduce) {
  .badge-new { animation: none; }
  .ticker .move { animation-duration: 240s; }
}

/* ---------- layout ---------- */
.layout > * { min-width: 0; }
.layout { display: grid; grid-template-columns: 240px minmax(0, 1fr) 330px; gap: 16px; padding-top: 16px; padding-bottom: 24px; }
.panel { background: var(--panel); border: 1px solid var(--line); margin-bottom: 16px; }
.panel-h {
  background: linear-gradient(#1a4f92, var(--navy-2)); color: #fff; font-weight: 700; font-size: .92rem;
  padding: 7px 12px; display: flex; align-items: center; gap: 8px; border-bottom: 2px solid var(--saffron);
}
.panel-h .hi { font-weight: 600; opacity: .9; font-size: .85rem; }
.panel-h .grow { flex: 1; }
.panel-h a { color: #ffe9a8; font-size: .78rem; font-weight: 600; }
.panel-b { padding: 10px 12px; }
.panel-h.maroon { background: linear-gradient(#a32424, var(--maroon)); border-bottom-color: var(--gold); }
.panel-h.green { background: linear-gradient(#1a9a0e, #0f6c06); border-bottom-color: var(--gold); }

.linklist { list-style: none; margin: 0; padding: 0; }
.linklist li { border-bottom: 1px dotted var(--line); }
.linklist li:last-child { border-bottom: 0; }
.linklist a { display: flex; align-items: baseline; gap: 8px; padding: 7px 12px; font-size: .88rem; color: var(--navy); }
.linklist a::before { content: "»"; color: var(--saffron); font-weight: 700; }
.linklist a:hover { background: var(--hilite); text-decoration: none; }
.linklist .count { margin-left: auto; font-size: .72rem; background: #e8eef7; color: var(--navy-2); padding: 0 6px; border-radius: 8px; font-weight: 700; }

/* ---------- centre ---------- */
.pagehead { display: flex; align-items: baseline; gap: 10px; border-bottom: 2px solid var(--navy-2); margin: 0 0 12px; padding-bottom: 4px; }
.pagehead h1, .pagehead h2 { margin: 0; font-size: 1.2rem; color: var(--navy); }
.pagehead .hi { color: var(--maroon); font-weight: 600; }
.welcome { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 14px; border-left: 4px solid var(--saffron); }
.welcome p { margin: 0 0 8px; font-size: .92rem; }
.welcome .stats { display: grid; grid-template-columns: repeat(2, minmax(92px, 1fr)); gap: 6px; align-content: start; }
.stat { border: 1px solid var(--line); background: var(--zebra); text-align: center; padding: 6px 8px; }
.stat b { display: block; font-size: 1.25rem; color: var(--maroon); line-height: 1.2; }
.stat span { font-size: .72rem; color: var(--muted); }

.corner { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; }
.corner a {
  display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center;
  padding: 14px 8px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--navy); font-weight: 600; font-size: .86rem;
}
.corner a { border-bottom: 0; padding: 10px 6px; font-size: .8rem; }
.corner a:last-child { border-right: 0; }
.corner a:hover { background: var(--hilite); text-decoration: none; }
.corner .ico {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 1.3rem;
  background: #e8eef7; border: 2px solid var(--navy-2);
}
.corner small { font-weight: 400; color: var(--muted); font-size: .74rem; }

table.gov { width: 100%; border-collapse: collapse; font-size: .86rem; }
table.gov th { background: #dfe7f2; color: var(--navy); text-align: left; padding: 7px 8px; border: 1px solid var(--line); font-weight: 700; }
table.gov td { padding: 6px 8px; border: 1px solid var(--line); vertical-align: top; }
table.gov tbody tr:nth-child(even) td { background: var(--zebra); }
table.gov tbody tr:hover td { background: var(--hilite); }
table.gov .c { text-align: center; }
.tablewrap { overflow-x: auto; }
.status { font-size: .74rem; font-weight: 700; padding: 1px 6px; border-radius: 2px; white-space: nowrap; }
.status.live { background: #e3f4e1; color: #0f6c06; border: 1px solid #9fd39a; }
.status.soon { background: #fff4e0; color: #9a4a00; border: 1px solid #f4c98b; }
.status.closed { background: #eee; color: #666; border: 1px solid #ccc; }

.filterbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; padding: 8px 12px; background: var(--zebra); border-bottom: 1px solid var(--line); font-size: .85rem; }
.filterbar select, .filterbar input { font: inherit; padding: 4px 6px; border: 1px solid #9fb0c7; border-radius: 2px; background: #fff; }
.filterbar input { flex: 1; min-width: 160px; }

.tests { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; padding: 12px; }
.tcard { border: 1px solid var(--line); border-top: 3px solid var(--navy-2); background: #fff; display: flex; flex-direction: column; min-width: 0; }
.tcard .th { padding: 8px 10px; border-bottom: 1px dotted var(--line); display: flex; gap: 8px; align-items: center; min-height: 64px; }
.tcard .th .bseal { flex: none; }
.tcard .th b { color: var(--navy); display: block; font-size: .88rem; line-height: 1.3; }
.tcard .th .hi { color: var(--maroon); font-size: .8rem; }
.tcard dl { display: grid; grid-template-columns: 1fr 1fr; margin: 0; padding: 6px 10px; gap: 2px 8px; font-size: .78rem; }
.tcard dt { color: var(--muted); }
.tcard dd { margin: 0; font-weight: 700; text-align: right; }
.tcard .tf { padding: 8px 10px; margin-top: auto; display: flex; gap: 6px; background: var(--zebra); border-top: 1px solid var(--line); }
.tcard .tf .btn { flex: 1; text-align: center; white-space: nowrap; padding-left: 6px; padding-right: 6px; }
.tcard .th .hi { display: block; line-height: 1.35; }

.steps { counter-reset: st; list-style: none; margin: 0; padding: 12px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.steps li { counter-increment: st; border: 1px dashed #9fb0c7; padding: 10px; font-size: .82rem; background: #fbfcfe; }
.steps li::before { content: "Step " counter(st); display: block; font-weight: 800; color: var(--maroon); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; }

/* ---------- sliders ---------- */
.slider { position: relative; padding: 12px 44px 4px; }
.slider .track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 24px) / 3); gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 2px;
}
.slider .track::-webkit-scrollbar { display: none; }
.slider .track > * { scroll-snap-align: start; }
.slider.one { padding: 10px 12px 4px; }
.slider.one .track { grid-auto-columns: 100%; }
.slider.drift .track { scroll-snap-type: none; scroll-behavior: auto; }
.slider.one .arrow { top: auto; bottom: 2px; transform: none; width: 26px; height: 26px; font-size: 1.05rem; }
.slider.one .prev { left: calc(50% - 64px); } .slider.one .next { right: calc(50% - 64px); left: auto; }
.slider.auto .track { grid-auto-columns: 118px; gap: 10px; }
.slider .arrow {
  position: absolute; top: calc(50% - 8px); transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--navy-2); background: #fff; color: var(--navy-2); font-size: 1.3rem; line-height: 1; font-weight: 800; cursor: pointer; z-index: 2;
}
.slider .arrow:hover:not(:disabled) { background: var(--navy-2); color: #fff; }
.slider .arrow:disabled { opacity: .3; cursor: default; }
.slider .prev { left: 6px; } .slider .next { right: 6px; }
.slider .dots { display: flex; justify-content: center; gap: 6px; min-height: 22px; padding: 8px 0 6px; }
.slider .dots button { width: 9px; height: 9px; border-radius: 5px; border: 0; background: #c9d3e0; padding: 0; cursor: pointer; transition: width .2s; }
.slider .dots button.on { background: var(--saffron); width: 22px; }

.ltabs { display: flex; border-bottom: 2px solid var(--saffron); background: linear-gradient(#1a4f92, var(--navy-2)); }
.ltabs button {
  border: 0; border-right: 1px solid rgba(255,255,255,.18); background: transparent; color: #dfe7f2; padding: 7px 16px;
  font: inherit; font-size: .88rem; font-weight: 700; cursor: pointer; text-align: left; line-height: 1.25;
}
.ltabs button .n { display: block; font-size: .68rem; font-weight: 600; opacity: .8; }
.ltabs button[aria-selected="true"] { background: #fff; color: var(--maroon); }
.ltabs button:hover:not([aria-selected="true"]) { background: rgba(255,255,255,.1); }

.bodies .body {
  display: flex; flex-direction: column; align-items: center; gap: 2px; border: 1px solid transparent; background: none;
  padding: 4px 2px; cursor: pointer; font: inherit; text-align: center; color: var(--navy);
}
.bodies .body:hover { border-color: var(--line); background: var(--hilite); }
.bodies .body b { font-size: .8rem; }
.bodies .body span { font-size: .66rem; color: var(--muted); line-height: 1.2; }
.bodies .slider { padding-top: 8px; }

/* ---------- notifications (right) ---------- */
.notif .tabs { display: flex; border-bottom: 1px solid var(--line); background: #f6f8fb; }
.notif .tabs button {
  flex: 1; border: 0; border-right: 1px solid var(--line); background: transparent; padding: 7px 4px;
  font: inherit; font-size: .76rem; font-weight: 700; color: var(--navy); cursor: pointer; line-height: 1.25;
}
.notif .tabs button:last-child { border-right: 0; }
.notif .tabs button[aria-selected="true"] { background: #fff; color: var(--maroon); box-shadow: inset 0 3px 0 var(--saffron); }
.notif .tabs .n { display: block; font-size: .68rem; color: var(--muted); font-weight: 600; }
.nscroll { height: 430px; overflow: hidden; position: relative; }
.nscroll ul { list-style: none; margin: 0; padding: 0; }
.nscroll li { padding: 9px 12px 9px 28px; border-bottom: 1px dotted var(--line); font-size: .85rem; position: relative; }
.nscroll li::before { content: ""; position: absolute; left: 12px; top: 15px; width: 7px; height: 7px; background: var(--saffron); transform: rotate(45deg); }
.nscroll li a { color: var(--navy); }
.nscroll li .meta { display: block; font-size: .72rem; color: var(--muted); margin-top: 2px; }
.nscroll li .pdf { font-size: .68rem; color: #b30000; font-weight: 700; border: 1px solid #e3a0a0; padding: 0 3px; border-radius: 2px; margin-left: 4px; }
.nfoot { display: flex; justify-content: space-between; align-items: center; padding: 6px 12px; background: #f6f8fb; border-top: 1px solid var(--line); font-size: .78rem; }
.nfoot button { border: 1px solid #9fb0c7; background: #fff; font: inherit; padding: 1px 8px; cursor: pointer; border-radius: 2px; }

.helpbox { font-size: .84rem; }
.helpbox p { margin: 0 0 6px; }
.helpbox .tel { font-size: 1.15rem; font-weight: 800; color: var(--maroon); }

/* ---------- footer ---------- */
.foot { background: var(--navy); color: #c9d6ea; font-size: .82rem; border-top: 4px solid var(--saffron); }
.foot .links { background: #0a2547; }
.foot .links .wrap { display: flex; flex-wrap: wrap; gap: 0; justify-content: center; padding: 8px 16px; }
.foot .links a { color: #fff; padding: 2px 10px; border-right: 1px solid #3c5a85; }
.foot .links a:last-child { border-right: 0; }
.foot .info .wrap { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 14px 16px; }
.foot .counter { display: inline-flex; gap: 2px; margin-left: 6px; vertical-align: middle; }
.foot .counter span { background: #000; color: #7CFC00; font-family: "Courier New", monospace; font-weight: 700; padding: 0 4px; border: 1px solid #555; }
.foot .disclaimer { font-size: .74rem; opacity: .8; margin-top: 6px; }
.foot .right { text-align: right; }

/* ---------- high contrast ---------- */
html[data-contrast="high"] body { background: #000; color: #fff; }
html[data-contrast="high"] .mast, html[data-contrast="high"] .panel, html[data-contrast="high"] .ticker,
html[data-contrast="high"] .tcard, html[data-contrast="high"] table.gov td { background: #000 !important; color: #fff; border-color: #fff; }
html[data-contrast="high"] a, html[data-contrast="high"] .mast-title .t-en, html[data-contrast="high"] .mast-title .t-hi,
html[data-contrast="high"] .tcard .th b, html[data-contrast="high"] .nscroll li a, html[data-contrast="high"] .linklist a,
html[data-contrast="high"] .corner a, html[data-contrast="high"] .pagehead h1, html[data-contrast="high"] .pagehead h2 { color: #ffff00 !important; }
html[data-contrast="high"] table.gov th, html[data-contrast="high"] .tcard .tf, html[data-contrast="high"] .filterbar,
html[data-contrast="high"] .notif .tabs, html[data-contrast="high"] .nfoot, html[data-contrast="high"] .stat { background: #111 !important; color: #fff; }
html[data-contrast="high"] .panel-h, html[data-contrast="high"] .mainnav, html[data-contrast="high"] .ltabs { background: #111; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .layout { grid-template-columns: 220px minmax(0, 1fr); }
  .layout > .right { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .slider.three .track { grid-auto-columns: calc((100% - 12px) / 2); }
  .corner { grid-template-columns: repeat(3, 1fr); }
  .corner a:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .corner a:nth-child(3) { border-right: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .layout > .right { display: block; order: -1; grid-column: auto; }
  .layout > .left { order: 3; }
  .nscroll { height: 280px; }
  .welcome { grid-template-columns: 1fr; }
  .welcome .stats { grid-template-columns: repeat(4, 1fr); }
  .slider { padding: 10px 10px 2px; }
  .slider .arrow { display: none; }
  .slider.three .track { grid-auto-columns: 86%; }
  .slider.auto .track { grid-auto-columns: 100px; }
  .ltabs button { flex: 1; padding: 7px 8px; font-size: .8rem; }
  .seal { width: 56px; height: 56px; }
  .mast-title .t-hi { font-size: 1.15rem; }
  .mast-title .t-en { font-size: .92rem; }
  .mast-side { width: 100%; align-items: stretch; }
  .helpdesk { text-align: left; }
  .menu-toggle { display: block; width: 100%; background: var(--navy-2); color: #fff; border: 0; padding: 10px 16px; text-align: left; font: inherit; font-weight: 700; }
  .mainnav ul { display: none; flex-direction: column; }
  .mainnav.open ul { display: flex; }
  .mainnav > .wrap > ul > li > a { border: 0; border-top: 1px solid rgba(255,255,255,.15); }
  .mainnav .drop { position: static; box-shadow: none; }
  .steps { grid-template-columns: 1fr; }
  .foot .info .wrap { grid-template-columns: 1fr; }
  .foot .right { text-align: left; }
  .gstrip .hide-sm { display: none; }
}
@media print {
  .gstrip, .mainnav, .ticker, .foot .links, .noprint { display: none !important; }
  body { background: #fff; }
}

/* ---------- Examwaala accounts ---------- */
.ew-who { font-size: .85rem; align-self: center; }
.ew-modal-bg { position: fixed; inset: 0; background: rgba(11, 46, 89, .55); display: grid; place-items: center; z-index: 9999; padding: 16px; }
.ew-modal { position: relative; background: #fff; color: #1a1a1a; width: min(440px, 100%); max-height: calc(100vh - 32px); overflow: auto; border-top: 5px solid #f37021; border-radius: 6px; padding: 22px 22px 16px; box-shadow: 0 18px 50px rgba(0, 0, 0, .35); font-size: 15px; }
.ew-modal h2 { margin: 0 0 8px; color: #0b2e59; font-size: 1.25rem; }
.ew-modal .ew-x { position: absolute; top: 6px; right: 10px; border: 0; background: none; font-size: 26px; line-height: 1; cursor: pointer; color: #555; }
.ew-modal .ew-note { margin: 0 0 12px; color: #444; font-size: .92rem; }
.ew-modal form { display: grid; gap: 12px; }
.ew-modal label { display: grid; gap: 4px; font-weight: 600; font-size: .9rem; color: #0b2e59; }
.ew-modal input:not([type=checkbox]) { font: inherit; padding: 9px 10px; border: 1px solid #9aa7b8; border-radius: 4px; width: 100%; box-sizing: border-box; }
.ew-modal input:focus { outline: 2px solid #f37021; outline-offset: 1px; }
.ew-modal .ew-phone { display: flex; }
.ew-modal .ew-phone span { padding: 9px 10px; background: #eef2f7; border: 1px solid #9aa7b8; border-right: 0; border-radius: 4px 0 0 4px; font-weight: 600; }
.ew-modal .ew-phone input { border-radius: 0 4px 4px 0; }
.ew-modal .ew-check { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; color: #333; font-size: .82rem; }
.ew-modal .ew-check input { margin-top: 3px; }
.ew-modal .ew-code { letter-spacing: .5em; font-size: 1.3rem; text-align: center; font-weight: 700; }
.ew-modal .ew-msg { margin: 0; min-height: 1.2em; color: #b00020; font-size: .88rem; }
.ew-modal .ew-msg.ok { color: #0a6b2d; }
.ew-modal .btn { width: 100%; justify-content: center; }
.ew-modal .ew-switch { margin: 12px 0 0; text-align: center; font-size: .88rem; }
