/*
 * SarkariSquare: a public notice board. White page, deep blue header,
 * compact rows. Saffron marks only a days-left badge and the calendar's "Last date" tag
 * (an application deadline; nowhere else, not the logo); green marks only results. System fonts, no web fonts.
 * Spacing scale: 4 8 12 16 24 32 48.
 */
:root {
  --navy: #0b2a5b;
  --navy-2: #12396f;
  --ink: #111827;
  --muted: #4b5563;
  --line: #e5e7eb;
  --line-2: #d1d5db;
  --field: #6b7280;
  --link: #1d4ed8;
  --soft: #f8fafc;
  --urgent-bg: #ffedd5;
  --urgent-ink: #9a3412;
  --result-bg: #dcfce7;
  --result-ink: #166534;
  --new-bg: #dbeafe;
  --new-ink: #1e40af;
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 24px;
  --s6: 32px;
  --s7: 48px;
  --gutter: 16px;
  --tabbar: 60px;
  --radius: 8px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Devanagari", "Nirmala UI", "Mangal", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: var(--s4);
  scroll-padding-bottom: calc(var(--tabbar) + var(--s4));
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
  background: #fff;
  text-rendering: optimizeLegibility;
}

:lang(hi) { line-height: 1.5; }

[hidden] { display: none !important; }
img, svg { max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
table { border-collapse: collapse; }
button, input, select { font: inherit; color: inherit; }

a { color: var(--link); text-underline-offset: 0.15em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }
main:focus { outline: none; }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: var(--s3);
  top: var(--s2);
  z-index: 10;
  padding: var(--s2) var(--s4);
  background: #fff;
  color: var(--navy);
  font-weight: 700;
  border-radius: var(--radius);
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

/* ---------------------------------------------------------------- header */

.site-head {
  background: var(--navy);
  color: #fff;
  padding: 8px 0 12px;
}
.site-head .search { margin-top: 8px; }
.site-head :focus-visible { outline-color: #fff; }

.head-bar {
  display: flex;
  align-items: center;
  gap: var(--s4);
  min-height: 44px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  min-height: 44px;
  color: #fff;
  text-decoration: none;
  margin-right: auto;
}
.brand .logo { width: 30px; height: 30px; flex: none; }
.brand-name { font-size: 18px; font-weight: 800; letter-spacing: -0.2px; line-height: 1; }

.head-nav { display: none; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid #8aa2c8;
  border-radius: var(--radius);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}
.lang-switch:hover { background: var(--navy-2); }
.head-saved { display: none; }
.head-cal { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -8px; color: #fff; border-radius: var(--radius); }
.head-cal:hover { background: var(--navy-2); }

.missing { color: var(--muted); font-style: italic; }
.browse-prompt { margin: var(--s4) 0; }
.browse-prompt h2 { margin: 0 0 var(--s2); font-size: 1.125rem; }
.chips.qual-chips { flex-wrap: wrap; margin-top: var(--s3); overflow: visible; }
.home-search { margin: 12px 0 var(--s3); }
.home-chips ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.hchip { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 48px; padding: 4px; border: 1px solid var(--line-2); border-radius: var(--radius); background: #fff; color: var(--navy); font-size: 14px; font-weight: 800; line-height: 1.2; text-align: center; text-decoration: none; }
.hchip:hover, .hchip:focus-visible { border-color: var(--navy); background: var(--soft); }
.hchip-new { color: var(--new-ink); font-size: 11px; font-weight: 700; }
.btn-link { display: inline-flex; align-items: center; min-height: 44px; margin-left: var(--s3); font-weight: 600; }

.search {
  display: flex;
  width: 100%;
}
.search input {
  flex: 1;
  min-width: 0;
  height: 46px;
  min-height: 46px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--radius) 0 0 var(--radius);
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
}
.search input::placeholder { color: var(--field); opacity: 1; }
.search input:focus-visible { outline: 3px solid #ffffff; outline-offset: 0; }
.search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  min-height: 46px;
  width: 52px;
  min-width: 52px;
  padding: 0 var(--s3);
  border: 2px solid #fff;
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--navy-2);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

/* ---------------------------------------------------------------- page */

main {
  display: block;
  padding-top: var(--s5);
  /* Owner homepage round: no empty band above the footer (the footer itself clears the tab bar). */
  padding-bottom: var(--s5);
}

.sample-note {
  margin-bottom: var(--s4);
  padding: var(--s3) var(--s4);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--soft);
  color: var(--muted);
  font-size: 0.9375rem;
}

.page-title {
  font-size: 1.375rem;
  line-height: 1.3;
  font-weight: 700;
  color: var(--ink);
}
.page-title .second,
.block-title .second {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--muted);
  margin-left: var(--s1);
}

.lede { margin-top: 2px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.count { color: var(--muted); font-size: 0.9375rem; }
.count-links { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s3); font-size: 0.9375rem; }
.count-links a { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; color: var(--muted); }
.count-links a[aria-current] { color: var(--ink); font-weight: 600; text-decoration: none; }
.muted { color: var(--muted); }
.empty { margin: var(--s4) 0; color: var(--muted); }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  margin: var(--s4) 0 var(--s5);
}
.chips a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 var(--s4);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
}
.chips a:hover { border-color: var(--navy); background: var(--soft); }
.chips [aria-current] { background: var(--navy); border-color: var(--navy); color: #fff; }
.chips span[aria-current] { display: inline-flex; align-items: center; min-height: 40px; padding: 0 var(--s4); border-radius: 999px; font-weight: 600; font-size: 0.9375rem; }

.search-chips, .search-chips ul { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); margin: 0 0 var(--s4); padding: 0; list-style: none; }
.search-chips ul { margin: 0; }
.search-chip { display: inline-flex; align-items: center; min-height: 40px; padding-left: var(--s4); border: 1px solid var(--navy); border-radius: 999px; color: var(--navy); font-weight: 600; }
.search-chip a { min-width: 40px; text-align: center; color: inherit; font-size: 1.125rem; text-decoration: none; }

/* ---------------------------------------------------------------- blocks and rows */

.board {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s6);
}

.block { min-width: 0; }

.block-title {
  font-size: 1.125rem;
  line-height: 1.35;
  font-weight: 700;
  padding-bottom: var(--s2);
  border-bottom: 2px solid var(--navy);
}

.rows > li + li { border-top: 1px solid var(--line); }
.rows-list { margin-top: var(--s3); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.row {
  display: flex;
  align-items: center;
  gap: var(--s3);
  min-height: 56px;
  padding: var(--s3) 0;
  color: var(--ink);
  text-decoration: none;
}
.row:hover .row-title { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; }
.row:focus-visible { outline-offset: -3px; }

.row-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.row-title { font-weight: 600; font-size: 1rem; line-height: 1.4; overflow-wrap: anywhere; }
.row-meta { color: var(--muted); font-size: 0.875rem; line-height: 1.45; }
.row-meta .tag { margin-right: var(--s2); }
.row > .tag { flex: none; }

.block-more { padding-top: var(--s2); border-top: 1px solid var(--line); }
.block-more a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
}

.tag {
  display: inline-block;
  padding: 3px 8px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
  vertical-align: 1px;
}
.tag-urgent { background: var(--urgent-bg); color: var(--urgent-ink); }
.tag-open { background: var(--soft); color: var(--navy); border-color: var(--line-2); }
.tag-result { background: var(--result-bg); color: var(--result-ink); }
.tag-new { background: var(--new-bg); color: var(--new-ink); }
.tag-closed,
.tag-plain { background: #f3f4f6; color: #374151; }

/* ---------------------------------------------------------------- lists */

.list-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s1) var(--s4); }

.filter-box {
  margin: var(--s3) 0 var(--s2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--soft);
}
.filter-box > summary {
  display: flex;
  align-items: center;
  gap: var(--s2);
  min-height: 48px;
  padding: 0 var(--s4);
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}
.filter-box > summary::-webkit-details-marker { display: none; }
.filter-box > summary::before {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  transition: transform 0.15s;
}
.filter-box[open] > summary::before { transform: rotate(45deg); }
.filter-box > summary:focus-visible { outline-offset: -3px; }
.filters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s3);
  padding: 0 var(--s4) var(--s4);
}
.field { display: flex; flex-direction: column; gap: var(--s1); min-width: 0; }
.field select {
  width: 100%;
  min-height: 48px;
  padding: 0 var(--s3);
  border: 1px solid var(--field);
  border-radius: var(--radius);
  background: #fff;
}
.field-action { grid-column: 1 / -1; justify-content: flex-end; }
.field-sort { grid-column: 1 / -1; }
.field-sort select { min-width: 24ch; }
.active-chips { margin: var(--s3) 0 var(--s2); }
@media (max-width: 479px) {
  .filters { grid-template-columns: minmax(0, 1fr); }
  .field-sort select { min-width: 0; }
}


.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); margin: var(--s2) 0; font-size: 0.9375rem; }
.active-filters a { display: inline-flex; align-items: center; min-height: 44px; }

.pager {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--s3);
  margin-top: var(--s4);
}
.pager a { display: inline-flex; align-items: center; min-height: 48px; font-weight: 600; }
.pager a[rel="next"] { justify-self: end; }
.pager-status { color: var(--muted); font-size: 0.875rem; text-align: center; }

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 var(--s5);
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); border-color: var(--navy-2); }
.btn-secondary { background: #fff; color: var(--navy); }
.btn-secondary:hover { background: var(--soft); }
.btn-secondary[aria-pressed="true"] { background: var(--new-bg); }
.btn-block { display: flex; width: 100%; min-height: 48px; border-radius: var(--radius); font-size: 17px; gap: 8px; }
.btn-stack { flex-direction: column; gap: 0; padding-block: var(--s2); text-align: center; line-height: 1.3; }
.btn-stack .btn-host { margin: 0; font-size: 13px; font-weight: 500; opacity: 0.85; }
.btn-apply {
  background: #fff;
  color: var(--navy);
  border-color: #166534;
  box-shadow: inset 4px 0 0 #166534;
  white-space: nowrap;
}

/* ---------------------------------------------------------------- notice page */

.crumbs ol { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s2); font-size: 0.875rem; }
.crumbs li + li::before { content: "›"; margin-right: var(--s2); color: var(--muted); }
.crumbs a { display: inline-flex; align-items: center; min-height: 32px; min-width: 32px; padding-inline: 2px; }

.detail { display: grid; gap: var(--s6); margin-top: var(--s2); }
.notice { min-width: 0; }

.kicker { margin: 0; color: var(--muted); font-size: 14px; font-weight: 600; }
.notice-title { font-size: 22px; line-height: 1.35; font-weight: 800; margin-top: 4px; overflow-wrap: anywhere; }
.alt-title { margin-top: var(--s1); color: var(--muted); font-size: 0.9375rem; }
.status { margin-top: var(--s2); display: flex; flex-wrap: wrap; gap: var(--s2); }

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: var(--s4);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.facts > div { padding: var(--s3) var(--s4); border-top: 1px solid var(--line); min-width: 0; }
.part.facts { display: block; border: 0; border-radius: 0; overflow: visible; }
.facts > div:nth-child(-n + 2) { border-top: 0; }
.facts > div:nth-child(2n) { border-left: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: 0.8125rem; }
.facts dd { font-weight: 700; overflow-wrap: anywhere; }
.facts dd .tag { margin-top: var(--s1); }
.post-list { margin: 0; padding-left: 1.1em; }
.post-list li + li { margin-top: var(--s1); }

.apply-block { display: grid; gap: var(--s2); margin-top: var(--s4); padding: 0; }
.actions-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
.actions-row .btn { width: auto; min-height: 48px; padding: 0 8px; border-width: 1.5px; border-radius: var(--radius); font-size: 15px; gap: 6px; }
.btn-icon { flex: none; }
.host { color: var(--muted); font-size: 0.8125rem; text-align: center; }
.host span { color: var(--ink); font-weight: 600; }

.issued { margin-top: var(--s2); font-weight: 700; color: var(--ink); }
.update-line { margin-top: var(--s3); font-weight: 600; }
.trust { margin-top: var(--s5); padding: var(--s4); border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--soft); }
.trust h2 { font-size: 1rem; margin-bottom: var(--s2); }
.trust dl { display: grid; gap: var(--s2); }
.trust div { display: grid; grid-template-columns: minmax(0, 9.5rem) minmax(0, 1fr); gap: var(--s2); align-items: baseline; }
.trust dt { color: var(--muted); font-size: 0.8125rem; }
.trust dd { font-weight: 600; overflow-wrap: anywhere; }
.trust dd a { display: inline-block; min-height: 24px; padding-block: 2px; }
.revisions { display: grid; gap: var(--s2); padding-left: 1.25rem; }
.report { margin-top: var(--s4); }
.report > summary { list-style: none; width: 100%; }
.report > summary::-webkit-details-marker { display: none; }
.report > summary:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }
.report form { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s2); margin-top: var(--s3); }
.report textarea { display: block; width: 100%; min-width: 0; min-height: 6.5rem; padding: var(--s2) var(--s3); border: 1px solid var(--field); border-radius: var(--radius); background: #fff; color: var(--ink); font: inherit; font-size: 1rem; line-height: 1.5; resize: vertical; }
.report textarea::placeholder { color: var(--field); opacity: 1; }
.report textarea:focus-visible { outline: 3px solid var(--link); outline-offset: 1px; }
.report form .btn { width: 100%; }
.timeline { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s3); padding: 0; list-style: none; }
.timeline a, .timeline span { display: inline-flex; align-items: center; min-height: 36px; padding: 0 var(--s3); border: 1px solid var(--line-2); border-radius: 999px; font-weight: 600; }
.timeline [aria-current="page"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.parent-link { margin-top: var(--s2); }
.report a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.foot-disclaimer { margin-top: var(--s4); color: var(--ink); font-weight: 600; max-width: 70ch; }

.part { margin-top: var(--s6); }
.part h2 { font-size: 1.125rem; line-height: 1.35; margin-bottom: var(--s2); }
.part p { max-width: none; }

.table { width: 100%; font-size: 0.9375rem; }
.table th, .table td { padding: var(--s2) var(--s3); border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table tbody th { font-weight: 400; color: var(--muted); width: 55%; }
.table td { font-weight: 600; }
.table-grid thead th { background: var(--soft); font-size: 0.8125rem; color: var(--muted); font-weight: 600; white-space: nowrap; }
.table-grid tbody th { width: auto; color: var(--ink); font-weight: 600; min-width: 10rem; }
.table-grid td { text-align: right; font-variant-numeric: tabular-nums; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line-2); border-radius: var(--radius); }
.part .table:not(.table-grid) th:first-child, .table-flush th:first-child { padding-left: 0; }
.part .table:not(.table-grid) td:last-child, .table-flush td:last-child { padding-right: 0; }
.dates-part { margin-top: var(--s5); }
.dates-part .table tbody th { width: 45%; }

.bullets { list-style: disc; padding-left: 1.25rem; display: grid; gap: var(--s2); max-width: 68ch; }

.source-note {
  margin-top: var(--s6);
  padding-top: var(--s3);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
  max-width: 68ch;
}

/* ---------------------------------------------------------------- prose (about) */

.prose { max-width: 70ch; }
.prose p { margin-top: var(--s4); }
.prose h2 { margin-top: var(--s6); font-size: 1.125rem; }
.source-list { margin-top: var(--s3); display: grid; gap: var(--s1); }
.source-list li { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s2); align-items: baseline; }
.source-list a { display: inline-flex; min-height: 36px; align-items: center; }
.source-list .muted { font-size: 0.8125rem; }
.page-back { margin-top: var(--s5); }

/* ---------------------------------------------------------------- footer */

.site-foot {
  background: var(--navy);
  color: #fff;
  /* The bottom nav is fixed over the page's end: the footer's last line stays above it. */
  padding: var(--s4) 0 calc(var(--tabbar) + var(--s2) + env(safe-area-inset-bottom, 0px));
}
.site-foot a { color: #dbe4f3; text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.site-foot :focus-visible { outline-color: #fff; }
.site-foot .foot-brand { margin: 0; color: #fff; }
.foot-tagline { margin: var(--s2) 0 0; font-size: 14px; line-height: 1.5; color: #dbe4f3; }
.foot-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s4); margin-top: var(--s3); }
.foot-cols h2 { margin: 0 0 var(--s1); font-size: 13px; font-weight: 700; letter-spacing: 0.3px; color: #93a9cc; }
.foot-cols ul, .foot-pages { list-style: none; margin: 0; padding: 0; }
.foot-cols a { display: flex; align-items: center; min-height: 34px; font-size: 15px; overflow-wrap: anywhere; }
@media (max-width: 639px) { .foot-tagline { display: none; } }
.foot-all { margin: 0; }
.site-foot .foot-all a { font-weight: 700; color: #fff; }
.foot-pages { display: flex; flex-wrap: wrap; gap: 0 var(--s4); margin-top: var(--s3); padding-top: var(--s2); border-top: 1px solid #2a4a7f; }
.foot-pages a { display: flex; align-items: center; min-height: 32px; font-size: 14px; }
.foot-notgov { display: flex; gap: var(--s2); margin: var(--s3) 0 0; padding: var(--s2) var(--s3); border-radius: var(--radius); background: var(--navy-2); font-size: 13px; line-height: 1.5; color: #e5ecf6; max-width: none; }
.foot-notgov svg { flex: none; color: #93c5fd; }
.foot-end { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0 var(--s4); margin-top: var(--s2); font-size: 13px; color: #93a9cc; }
.site-foot .foot-end a { display: flex; align-items: center; min-height: 36px; color: #fff; font-weight: 600; text-decoration: underline; }

/* ---------------------------------------------------------------- freshness strip and slim sticky bar */

.fresh { background: var(--navy-2); color: #dbe4f3; font-size: 14px; }
.fresh-in { display: flex; align-items: center; gap: 8px; min-height: 36px; padding-top: 8px; padding-bottom: 8px; }
.fresh-dot { flex: none; width: 8px; height: 8px; border-radius: 4px; background: #93c5fd; }
.fresh b { color: #fff; }

.head-mini { position: fixed; inset: 0 0 auto 0; z-index: 6; background: var(--navy); box-shadow: 0 1px 4px rgba(11, 42, 91, 0.25); }
.head-mini-in { display: flex; align-items: center; gap: 8px; padding-top: 6px; padding-bottom: 6px; }
.head-mini :focus-visible { outline-color: #fff; }
.mini-home { display: flex; align-items: center; min-height: 44px; flex: none; }
.mini-home .logo { width: 30px; height: 30px; }
.mini-search { flex: 1; min-width: 0; display: flex; margin: 0; }
.mini-search input { flex: 1; min-width: 0; width: 100%; height: 42px; border: 0; border-radius: var(--radius); padding: 0 12px; font: inherit; font-size: 16px; background: #fff; color: var(--ink); }
.mini-search input::placeholder { color: var(--field); opacity: 1; }
.lang-mini { display: flex; align-items: center; justify-content: center; flex: none; min-width: 44px; height: 42px; padding: 0 6px; border: 1px solid #8aa2c8; border-radius: var(--radius); color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; }

/* Link lists inside pages (sections, not found). */
.foot-links { display: flex; flex-wrap: wrap; gap: 0 var(--s5); }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }

.pdf-links { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s1) var(--s4); margin: 0; }
.pdf-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; }
.pdf-link svg { width: 18px; height: 18px; }

/* ---------------------------------------------------------------- bottom tab bar (phones) */

.tabbar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 5;
  background: #fff;
  border-top: 1px solid var(--line-2);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.tabbar ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.back { display: flex; align-items: center; justify-content: center; width: 40px; height: 44px; margin-left: -8px; color: #fff; }
.pills { margin: 0; }
.pills ul { display: flex; gap: 8px; margin: 0; padding: 0 0 2px; overflow-x: auto; list-style: none; scrollbar-width: none; }
.pills a { display: flex; align-items: center; height: 44px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 22px; color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.saved-card { margin: 16px 0 0; }
.home-section, .home-boards { margin-top: var(--s4); }
.home-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s2); border-bottom: 2px solid var(--navy); padding-bottom: 6px; }
.home-section h2, .home-boards h2 { margin: 0; color: var(--navy); font-size: 18px; font-weight: 800; }
.home-boards h2 { margin-bottom: var(--s2); }
.see-all-link { color: var(--link); font-size: 14px; font-weight: 600; white-space: nowrap; }
.home-section, .home-boards { position: relative; }
.home-fold > summary { min-height: 44px; display: flex; align-items: center; gap: var(--s2); padding-right: 96px; border-bottom: 2px solid var(--navy); cursor: pointer; list-style: none; }
.home-fold > summary::-webkit-details-marker { display: none; }
.home-fold > summary::before { content: "+"; font-weight: 800; color: var(--navy); width: 1em; }
.home-fold[open] > summary::before { content: "\2212"; }
.home-boards .home-fold h2 { margin-bottom: 0; }
.today-block { margin-top: 14px; }
.saved-card-head, .today-head, .saved-head { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); }
.today-head { align-items: baseline; }
.today-head span { font-size: 14px; color: var(--muted); }
.saved-card h2, .today-block h2 { margin: 0; font-size: 18px; font-weight: 800; }
.saved-all { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 600; text-decoration: none; }
.saved-card-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; }
.saved-card-list a { display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 8px 12px; color: inherit; text-decoration: none; border-top: 1px solid var(--line); }
.saved-card-list li:first-child a { border-top: 0; }
.saved-main { flex: 1; min-width: 0; }
.saved-card .saved-title { display: block; font-size: 16px; font-weight: 700; line-height: 1.35; }
.arrivals { list-style: none; margin: 4px 0 0; padding: 0; }
.arrive { display: flex; align-items: flex-start; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.arrive-main { flex: 1; min-width: 0; }
.arrive-title { font-size: 16px; font-weight: 600; line-height: 1.4; }
.saved-title { font-size: 16px; font-weight: 700; line-height: 1.35; }
.home-section .arrive { padding: 8px 0; }
.home-section .arrive-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 15px; line-height: 1.35; }
.home-section .arrive-meta { margin-top: 2px; font-size: 13px; }
.arrive-meta .tag { margin-right: 6px; }
.arrive-meta { display: block; margin-top: 3px; color: var(--muted); font-size: 14px; }
.saved-meta { display: block; margin-top: 2px; color: var(--muted); font-size: 14px; font-weight: 400; }
.see-all { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 600; text-decoration: none; }
.date-card { display: block; margin-top: var(--s4); border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; background: #fff; }
.date-card-main { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); padding: var(--s3) var(--s4); background: var(--soft); }
.date-card-main + .date-card-main { border-top: 1px solid var(--line); background: #fff; }
.date-card dt { font-size: 14px; color: var(--muted); font-weight: 400; }
.date-card dd { margin: 2px 0 0; font-size: 19px; font-weight: 800; }
.apply-where { margin: 0; padding: var(--s3) var(--s4); border-top: 1px solid var(--line); }
.apply-where dd { margin: 2px 0 0; font-size: 16px; font-weight: 700; }
.apply-where .muted { font-weight: 500; }
.notice-summary { margin-top: var(--s4); font-size: 16px; line-height: 1.55; }
.fold-title { margin: 16px 0 0; font-size: 15px; font-weight: 700; color: var(--muted); }
.folds { border-top: 1px solid var(--line); margin-top: 4px; }
.accord { border-bottom: 1px solid var(--line); }
.accord summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; font-size: 16px; font-weight: 600; cursor: pointer; }
.accord summary::-webkit-details-marker { display: none; }
#saved-list h2 { margin: 18px 0 0; font-size: 15px; font-weight: 700; color: var(--muted); }
.saved-rows { border-top: 1px solid var(--line); }
.saved-row { display: flex; align-items: center; gap: 4px; border-bottom: 1px solid var(--line); }
.saved-row a { flex: 1; min-width: 0; display: block; padding: 12px 0; color: inherit; text-decoration: none; }
.saved-row .saved-meta { margin-top: 4px; }
.saved-row .tag { margin-left: 8px; }
.saved-status:empty { display: none; }
.saved-status { margin: var(--s2) 0; }
.saved-failed { padding: var(--s3); border: 1px solid var(--line); border-radius: 8px; }
#saved-edit { border: 0; background: transparent; color: var(--link); font-size: 15px; font-weight: 600; min-height: 44px; padding: 0 4px; cursor: pointer; }
.icon-btn { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 10px; background: transparent; color: var(--navy); text-decoration: none; }
#saved-share-all { margin-top: 16px; }
#saved-actions { margin-top: 24px; }
.tabbar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: var(--tabbar);
  padding: var(--s1);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}
.tabbar svg, .head-cal svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tabbar a[aria-current="page"] { color: var(--navy); font-weight: 700; }
.tab-icon { position: relative; display: flex; align-items: center; justify-content: center; width: 60px; height: 30px; border-radius: 15px; }
.tabbar a[aria-current="page"] .tab-icon { background: #e3eaf5; }
.tabbar a[aria-current="page"] svg { stroke-width: 2; }
.tab-badge {
  position: absolute; top: -4px; right: 6px; min-width: 18px; height: 18px; padding: 0 5px;
  border: 2px solid #fff; border-radius: 9px; background: #1d4ed8; color: #fff;
  font-size: 11px; font-weight: 800; line-height: 14px; text-align: center;
}
.tabbar a:focus-visible { outline-offset: -3px; }

/* ---------------------------------------------------------------- wider screens */

@media (max-width: 599px) {
  .head-bar { min-height: 44px; }
  main { padding-top: 12px; }
  .page-title { font-size: 22px; font-weight: 800; }
  .count { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: var(--s2) 0 var(--s3); scrollbar-width: none; }
  .chips a { flex: 0 0 auto; min-height: 36px; }
  .trust div { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .btn-apply { font-size: 0.9375rem; }
}

@media (min-width: 600px) {
  :root { --gutter: 24px; }
  .page-title, .notice-title { font-size: 1.625rem; }
  .filters { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: end; }
  .field-action { grid-column: auto; }
  .field-sort { grid-column: auto; }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts > div:nth-child(-n + 3) { border-top: 0; }
  .facts > div:nth-child(2n) { border-left: 0; }
  .facts > div:not(:nth-child(3n + 1)) { border-left: 1px solid var(--line); }
  .board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .actions .host { text-align: left; }
}

@media (min-width: 1024px) {
  :root { --tabbar: 0px; }
  .tabbar { display: none; }
  .head-nav { display: block; }
  .head-cal { display: none; }
  .head-nav > ul { display: flex; gap: var(--s1); flex-wrap: nowrap; white-space: nowrap; }
  .nav-more { position: relative; }
  .nav-more summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s3); border-radius: var(--radius); color: #fff; font-weight: 600; }
  .nav-more summary::-webkit-details-marker { display: none; }
  .nav-more summary::after { content: ""; margin-left: 6px; border: 5px solid transparent; border-top-color: currentColor; transform: translateY(3px); }
  .nav-more summary:hover, .nav-more summary.current { background: var(--navy-2); }
  .nav-more ul { position: absolute; right: 0; top: 100%; z-index: 30; min-width: 180px; padding: var(--s1); background: var(--navy); border-radius: var(--radius); box-shadow: 0 8px 24px rgba(0,0,0,.25); }
  .nav-more ul a { display: flex; }
  .head-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 var(--s3);
    border-radius: var(--radius);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
  }
  .head-nav a:hover { background: var(--navy-2); }
  .head-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 #ffffff; }
  .head-saved { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border: 1px solid #8aa2c8; border-radius: var(--radius); color: #fff; font-weight: 600; font-size: 15px; text-decoration: none; }
  .head-saved:hover { background: var(--navy-2); }
  .board { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .detail-split { grid-template-columns: minmax(0, 720px) minmax(240px, 1fr); align-items: start; }
  .related { position: sticky; top: var(--s4); }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .head-bar { gap: var(--s3); }
  .head-nav a, .nav-more summary { padding: 0 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .filter-box > summary::before { transition: none; }
}

@media print {
  .site-head, .tabbar, .site-foot, .actions-row, .skip, .pager, .filters { display: none !important; }
  main { padding: 0; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.8em; color: var(--muted); }
  .btn { border: 0; padding: 0; min-height: 0; color: var(--ink); background: none; }
}

@media (forced-colors: active) {
  .tag, .btn, .chips a, .lang-switch { border: 1px solid CanvasText; }
  .tabbar a[aria-current="page"] { text-decoration: underline; }
}

/* Roll-number check on result pages */
.roll-check { margin-top: var(--s5); padding: var(--s4); border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); }
.roll-check h2 { font-size: 1rem; margin-bottom: var(--s2); }
.roll-check > p { margin-top: var(--s2); }
.roll-form { margin-top: var(--s3); display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s1); }
.roll-form label { font-size: 0.875rem; font-weight: 600; }
.roll-row { display: flex; flex-wrap: wrap; gap: var(--s2); min-width: 0; }
.roll-row input { flex: 1 1 10rem; width: 100%; min-width: 0; min-height: 48px; padding: 0 var(--s3); border: 1px solid var(--field); border-radius: var(--radius); font: inherit; font-size: 1.0625rem; letter-spacing: 0.04em; background: #fff; color: var(--ink); }
.roll-row input:focus-visible { outline: 3px solid var(--link); outline-offset: 1px; }
.roll-row .btn { flex: 0 0 auto; width: auto; min-height: 48px; padding: 0 var(--s4); }
@media (max-width: 340px) { .roll-row .btn { flex-basis: 100%; } }
@media (max-width: 340px) {
  .search input { padding: 0 9px; }
  .search button { width: 44px; min-width: 44px; }
}
.roll-pdf { overflow-wrap: anywhere; }
.roll-answer { margin-top: var(--s3); padding: var(--s3); border-radius: var(--radius); background: #fff; border: 1px solid var(--line-2); font-weight: 600; }
.roll-found { background: var(--result-bg); color: var(--result-ink); border-color: transparent; }
.roll-absent { background: #fff; color: var(--ink); }
.roll-pdf { display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; margin-top: var(--s2); font-weight: 600; color: var(--link); }

/* Audit P0: recruitment status, list scope note and facts read from the notice. */
.status-line { margin: 4px 0 8px; display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; }
.list-note { margin: 0 0 12px; font-size: 0.92rem; }
.list-note a { white-space: nowrap; }
.facts .table th { font-weight: 600; }
.facts p.muted { margin-top: 8px; }
.restricted-line { margin: var(--s2) 0; color: #b3261e; font-weight: 700; }
.job-card .table, .job-card tbody { display: block; }
.job-card tr { display: grid; grid-template-columns: 55% 45%; }
.job-card tr.long { grid-template-columns: 100%; }
.job-card tr.long > * { width: auto; }
.job-card tr.long th { border: 0; padding-bottom: 0; }
.proof { margin-top: var(--s5); font-size: 0.875rem; }
.proof summary { cursor: pointer; padding: 12px 0; font-weight: 600; }

/* Design audit A3: a recruitment only some candidates may apply to. Deep blue on white, no saffron or green. */
.restricted-banner { border: 1px solid var(--navy); border-left-width: 4px; background: #ffffff; color: var(--ink); padding: var(--s2) var(--s3); border-radius: 6px; margin: var(--s3) 0; }
.field-check { display: flex; align-items: center; gap: var(--s2); }
.field-check input { width: 20px; height: 20px; min-height: 0; }
/* Design audit A4: a notice's stage and dated candidate actions. */
.stage-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 .6rem; }
ul.actions { margin: 0 0 .6rem; padding-left: 1.2rem; }
ul.actions li { margin: .25rem 0; }
.changes { margin: 0 0 .6rem; padding-left: 1.2rem; }
.changes li { margin: .4rem 0; }
.changes .was, .changes .now { display: block; }
.changes del { color: var(--muted); }

/* Design audit D (V03–V05): detail tiles, per-post rows, apply panel, action banner, cut-off bars. */
.stat-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--s2); margin: var(--s4) 0 0; }
.stat { display: flex; flex-direction: column; gap: 2px; padding: var(--s4); border: 1px solid var(--line-2); border-radius: var(--radius); background: #fff; }
.stat-label { color: var(--muted); font-size: 13px; }
.stat-value { color: var(--navy); font-size: 22px; font-weight: 800; line-height: 1.2; }
.stat-note { color: var(--muted); font-size: 13px; }
.stat-note .tag { margin-top: 4px; }
.post-head { display: flex; justify-content: space-between; margin: var(--s2) 0 0; padding: 0 var(--s3) 4px; border-bottom: 1px solid var(--line-2); color: var(--muted); font-size: 13px; font-weight: 700; }
.post-rows { margin: 0; padding: 0; list-style: none; }
.post-rows .post { border-bottom: 1px solid var(--line); }
.post-rows summary, .post-rows div.post { display: flex; justify-content: space-between; gap: var(--s3); min-height: 44px; align-items: center; padding: 6px var(--s3); cursor: pointer; }
.post-rows div.post { cursor: auto; }
.post-name { font-weight: 700; }
.post-count { font-weight: 800; white-space: nowrap; }
.post-rows details p { margin: 0; padding: 0 var(--s3) var(--s2); color: var(--muted); font-size: 14px; }
.actions-title { margin: 0; color: var(--navy); font-size: 18px; font-weight: 800; }
.btn-host { margin-left: 6px; font-weight: 500; opacity: 0.85; }
.action-banner { margin: var(--s2) 0; padding: var(--s3); border-left: 4px solid var(--navy); border-radius: 8px; background: var(--soft); }
.action-banner.action-past { border-left-color: var(--line-2); background: #f3f4f6; color: #374151; }
.cut-title { margin: var(--s3) 0 var(--s2); font-size: 15px; }
.cutoff-bars { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.cutoff-bars li { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: var(--s2); font-size: 14px; }
.cut-track { height: 10px; border-radius: 5px; background: var(--line); overflow: hidden; }
.cut-fill { display: block; height: 100%; background: var(--navy); }
.cut-value { font-weight: 700; white-space: nowrap; }

/* Design audit E: calendar month grid and upcoming actions. */
.actions-row .btn:nth-child(3) { grid-column: 1 / -1; }
.cal-note { color: var(--muted); font-size: 0.875rem; margin: 0 0 var(--s3); }
.cal-nav { display: flex; align-items: center; gap: var(--s2); margin: var(--s3) 0; }
.cal-nav .btn { width: 44px; min-height: 44px; padding: 0; font-size: 1.25rem; }
.cal-month { flex: 1; margin: 0; font-size: 1.125rem; text-align: center; color: var(--navy); }
.cal-nav .btn-link { min-height: 44px; display: inline-flex; align-items: center; padding: 0 var(--s2); }
.cal-grid { width: 100%; table-layout: fixed; border-collapse: collapse; margin-bottom: var(--s4); }
.cal-grid th { font-size: 0.75rem; font-weight: 600; color: var(--muted); padding: var(--s1) 0; }
.cal-grid td { height: 44px; padding: 2px; text-align: center; vertical-align: middle; border: 1px solid var(--line); font-size: 0.9375rem; }
.cal-grid td > a, .cal-grid td > span { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 40px; border-radius: 6px; text-decoration: none; color: var(--ink); }
.cal-grid td.cal-has > a { background: var(--new-bg); color: var(--navy); font-weight: 700; }
.cal-grid td.cal-today > a, .cal-grid td.cal-today > span { outline: 2px solid var(--navy); outline-offset: -2px; }
.cal-dot { font-size: 0.6875rem; font-weight: 600; line-height: 1; color: var(--new-ink); }
.agenda-days { list-style: none; margin: var(--s3) 0 0; padding: 0; }
.agenda-day { display: flex; gap: var(--s3); padding: var(--s3) 0; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.agenda-day:first-child { border-top: 0; }
.date-box { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 56px; height: 56px; border: 1px solid var(--line-2); border-radius: var(--radius); background: #fff; color: var(--navy); line-height: 1.1; }
.agenda-soon .date-box { background: var(--navy); border-color: var(--navy); color: #fff; }
.date-num { font-size: 1.375rem; font-weight: 700; }
.date-sub { font-size: 0.6875rem; font-weight: 600; white-space: nowrap; }
.agenda-items { flex: 1; min-width: 0; }
.agenda-items ul { list-style: none; margin: 0; padding: 0; }
.agenda-items li + li { margin-top: var(--s2); padding-top: var(--s2); border-top: 1px dashed var(--line); }
.agenda-rel { margin: 0 0 var(--s1); font-size: 0.8125rem; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: 0.02em; }
.agenda-item { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 44px; color: var(--ink); text-decoration: none; }
.agenda-item:hover .agenda-title { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; }
.agenda-title { font-weight: 600; line-height: 1.4; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow-wrap: anywhere; }
.agenda-meta { color: var(--muted); font-size: 0.875rem; line-height: 1.45; }
.agenda-meta .tag { margin-left: var(--s1); }
.tag-kind { font-size: 12px; padding: 1px 6px; }
.tag-apply { background: var(--urgent-bg); color: var(--urgent-ink); }
.tag-deadline { background: #f3f4f6; color: #374151; }
.tag-exam { background: var(--new-bg); color: var(--new-ink); }
.tag-interview { background: #ede9fe; color: #5b21b6; }
.tag-admit { background: #e0f2fe; color: #075985; }
.agenda-earlier { margin: var(--s2) 0 0; font-size: 0.9375rem; }
.agenda-earlier a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.week-strip ol { list-style: none; display: grid; grid-template-columns: repeat(7, 1fr); gap: var(--s1); margin: var(--s3) 0 var(--s4); padding: 0; }
.cal-ics { margin: var(--s5) 0 0; }
.week-strip a, .week-strip span[aria-label] { display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 56px; padding: var(--s1) 0; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; }
.week-strip a { border-color: var(--line-2); color: var(--navy); }
.week-strip .ws-today a, .week-strip .ws-today span[aria-label] { border: 2px solid var(--navy); }
.ws-day { font-size: 0.6875rem; color: var(--muted); }
.ws-num { font-size: 1rem; font-weight: 700; line-height: 1.2; }
.ws-dot { width: 6px; height: 6px; border-radius: 50%; }
.ws-has { background: var(--navy); }
.cal-month-view { margin-top: var(--s4); }
.restricted-group { margin-top: var(--s4); border-top: 1px solid var(--line, #d7dde8); }
.restricted-group > summary { min-height: 44px; display: flex; align-items: center; font-weight: 600; color: var(--navy); cursor: pointer; }
.agenda-more { border-top: 1px solid var(--line); }
.agenda-more > details > summary { min-height: 44px; display: flex; align-items: center; font-weight: 600; color: var(--navy); cursor: pointer; }

/* Design audit F: free tools. */
.tool-privacy { background: var(--new-bg); color: var(--new-ink); border-radius: var(--radius); padding: var(--s3); font-size: 0.9375rem; }
.tool-form { display: grid; gap: var(--s3); margin: var(--s4) 0; }
.tool-form[hidden] { display: none; }
.tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }
.field input { width: 100%; min-height: 48px; padding: 0 var(--s3); border: 1px solid var(--field); border-radius: var(--radius); background: #fff; font: inherit; }
.field input[type="file"] { padding: 10px var(--s2); }
.tool-source { font-size: 0.875rem; color: var(--muted); margin: 0; }
.tool-msg:empty { display: none; }
.tool-msg { margin: var(--s3) 0; }
.tool-bad { color: #b91c1c; font-weight: 600; }
.tool-result { font-size: 1.0625rem; padding: var(--s3); border: 1px solid var(--line-2); border-radius: var(--radius); }
.tool-out { margin: var(--s4) 0; display: grid; gap: var(--s3); justify-items: start; }
.tool-out img { max-width: 100%; height: auto; border: 1px solid var(--line-2); }
.age-keep label{display:flex;gap:.5rem;align-items:center;margin:.5rem 0}
.age-keep input{width:1.25rem;height:1.25rem;margin:0}

.lang-hint { margin: 0 0 var(--s2); font-size: 14px; text-align: right; }
.lang-hint a { display: inline-block; min-height: 32px; padding: 6px 0; }
.board-more a { display: inline-flex; align-items: center; min-height: 44px; }
