:root {
  color-scheme: light;
  --navy: #1f2d66;
  --navy-2: #26377e;
  --navy-3: #344994;
  --teal: #087d8d;
  --teal-dark: #056673;
  --gold: #d7a83e;
  --ink: #161a22;
  --ink-2: #3f4755;
  --muted: #737d8d;
  --line: #dfe4ea;
  --line-dark: #cdd4dd;
  --surface: #ffffff;
  --surface-soft: #f5f7fa;
  --surface-blue: #f0f4fb;
  --danger: #b33a49;
  --success: #198063;
  --shadow-sm: 0 8px 24px rgba(28, 40, 69, .07);
  --shadow: 0 20px 55px rgba(26, 39, 72, .12);
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1240px;
  --font: "Noto Sans KR", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 150px;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

button {
  color: inherit;
}

img,
svg {
  display: block;
}

[hidden] {
  display: none !important;
}

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

.skip-link {
  position: fixed;
  top: -80px;
  left: 18px;
  z-index: 9999;
  padding: 12px 18px;
  border-radius: 0 0 10px 10px;
  background: #111;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  transition: top .18s ease;
}

.skip-link:focus {
  top: 0;
}

:focus-visible {
  outline: 3px solid rgba(38, 55, 126, .32);
  outline-offset: 3px;
}

.fiction-banner {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 5px 16px;
  background: #17214a;
  color: #e8ebf8;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: -.01em;
  text-align: center;
}

.fiction-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #f2bd4d;
  box-shadow: 0 0 0 4px rgba(242, 189, 77, .13);
}

.utility-bar {
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  background: var(--teal);
  color: #fff;
}

.utility-inner {
  width: min(var(--max), calc(100% - 40px));
  min-height: 42px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 12px;
}

.utility-links,
.utility-actions {
  display: flex;
  align-items: center;
}

.utility-links a,
.utility-actions a,
.utility-actions span {
  position: relative;
  padding: 0 15px;
  color: rgba(255, 255, 255, .9);
  text-decoration: none;
}

.utility-links a:first-child,
.utility-actions span:first-child {
  padding-left: 0;
}

.utility-links a + a::before,
.utility-actions a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 1px;
  height: 11px;
  background: rgba(255, 255, 255, .27);
  transform: translateY(-50%);
}

.utility-links a:hover,
.utility-actions a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 1px 0 rgba(30, 43, 70, .09);
  backdrop-filter: blur(16px);
}

.header-main {
  width: min(var(--max), calc(100% - 40px));
  min-height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  color: inherit;
  text-decoration: none;
}

.brand-logo {
  width: 244px;
  height: auto;
  object-fit: contain;
}

.global-search {
  position: relative;
  width: min(355px, 32vw);
  margin-left: auto;
}

.global-search > svg {
  position: absolute;
  top: 15px;
  left: 16px;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #7d8796;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.global-search input {
  width: 100%;
  height: 48px;
  border: 1px solid #d7dde5;
  border-radius: 12px;
  background: #f7f8fa;
  padding: 0 72px 0 44px;
  color: var(--ink);
  outline: 0;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.global-search input::placeholder {
  color: #929aa7;
}

.global-search input:focus {
  border-color: #8998cf;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(38, 55, 126, .09);
}

.global-search button {
  position: absolute;
  top: 7px;
  right: 7px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  padding: 0 13px;
  background: var(--navy-2);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.menu-toggle {
  display: none;
  width: 45px;
  height: 45px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 11px;
  cursor: pointer;
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  border-radius: 10px;
  background: var(--navy);
  transition: transform .2s ease, opacity .2s ease;
}

.menu-toggle[aria-expanded="true"] > span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] > span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] > span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.primary-nav {
  border-top: 1px solid #edf0f3;
}

.nav-inner {
  width: min(var(--max), calc(100% - 40px));
  height: 62px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
}

.nav-inner > a,
.site-map-toggle {
  position: relative;
  min-width: 124px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: #2a2f38;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.nav-inner > a::after {
  content: "";
  position: absolute;
  right: 24px;
  bottom: 0;
  left: 24px;
  height: 3px;
  border-radius: 4px 4px 0 0;
  background: var(--teal);
  transform: scaleX(0);
  transition: transform .18s ease;
}

.nav-inner > a:hover {
  color: var(--teal-dark);
}

.nav-inner > a:hover::after,
.nav-inner > a:focus-visible::after {
  transform: scaleX(1);
}

.site-map-toggle {
  min-width: auto;
  gap: 8px;
  margin-left: auto;
  padding: 0 15px;
  color: #4a5362;
  font-size: 13px;
}

.site-map-toggle svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.site-map-toggle:hover,
.site-map-toggle[aria-expanded="true"] {
  color: var(--navy-2);
  background: #f4f6fb;
}

.site-map {
  position: fixed;
  top: 222px;
  right: 0;
  left: 0;
  z-index: 190;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid #cfd6e0;
  background: rgba(248, 249, 251, .98);
  box-shadow: 0 24px 55px rgba(24, 35, 63, .16);
  backdrop-filter: blur(18px);
}

.site-map-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 32px 0 38px;
}

.site-map-inner > div {
  min-height: 155px;
  padding: 0 28px;
  border-right: 1px solid var(--line);
}

.site-map-inner > div:first-child {
  padding-left: 0;
}

.site-map-inner > div:last-child {
  border-right: 0;
}

.site-map-inner strong {
  display: block;
  margin-bottom: 15px;
  color: var(--navy-2);
  font-size: 16px;
}

.site-map-inner a {
  display: block;
  width: fit-content;
  margin: 8px 0;
  color: #56606f;
  font-size: 13px;
  text-decoration: none;
}

.site-map-inner a:hover {
  color: var(--teal-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.global-results {
  position: fixed;
  inset: 0;
  z-index: 500;
  overflow: auto;
  padding: 90px 20px 50px;
  background: rgba(17, 24, 39, .54);
  backdrop-filter: blur(8px);
}

.global-results-inner {
  width: min(760px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .48);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .28);
}

.global-results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 26px;
  border-bottom: 1px solid var(--line);
  background: #f7f8fb;
}

.global-results-head span,
.global-results-head strong {
  display: block;
}

.global-results-head span {
  color: var(--navy-3);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
}

.global-results-head strong {
  margin-top: 4px;
  font-size: 20px;
  letter-spacing: -.04em;
}

.global-results-head button {
  width: 39px;
  height: 39px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: #4d5665;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.global-results-list {
  max-height: min(65vh, 620px);
  overflow: auto;
  padding: 10px 26px 26px;
}

.global-result {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) auto;
  gap: 15px;
  align-items: center;
  padding: 17px 0;
  border-bottom: 1px solid #edf0f3;
  color: inherit;
  text-decoration: none;
}

.global-result:last-child {
  border-bottom: 0;
}

.global-result-type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  border-radius: 999px;
  background: var(--surface-blue);
  color: var(--navy-2);
  font-size: 11px;
  font-weight: 850;
}

.global-result strong,
.global-result span {
  display: block;
}

.global-result strong {
  font-size: 14px;
}

.global-result-copy span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.global-result > svg {
  width: 19px;
  fill: none;
  stroke: #788294;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.search-no-result {
  padding: 50px 10px 35px;
  color: var(--muted);
  text-align: center;
}

.search-no-result strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink-2);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(38, 55, 126, .06), transparent 45%),
    #dce1e6;
}

.hero::after {
  content: "";
  position: absolute;
  top: -210px;
  right: -150px;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(38, 55, 126, .14);
  border-radius: 50%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 40px));
  min-height: 430px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(270px, .76fr) minmax(245px, .65fr);
}

.hero-visual {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background: #708596;
}

.hero-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 22, 44, .72), rgba(15, 27, 48, .2) 62%, transparent),
    linear-gradient(0deg, rgba(9, 18, 35, .36), transparent 60%);
}

.hero-copy {
  position: absolute;
  top: 50%;
  left: clamp(28px, 4vw, 58px);
  max-width: 520px;
  color: #fff;
  transform: translateY(-50%);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #dbe3ff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .23em;
}

.hero-kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: #f2bd4d;
}

.hero-copy h1 {
  margin: 13px 0 0;
  font-family: "Nanum Myeongjo", "Noto Serif KR", serif;
  font-size: clamp(36px, 4.2vw, 58px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.065em;
  text-shadow: 0 3px 18px rgba(0, 0, 0, .28);
}

.hero-copy p {
  max-width: 450px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, .9);
  font-size: 15px;
  line-height: 1.7;
}

.hero-caption {
  position: absolute;
  right: 16px;
  bottom: 14px;
  padding: 5px 9px;
  border-radius: 6px;
  background: rgba(13, 24, 44, .58);
  color: rgba(255, 255, 255, .82);
  font-size: 9px;
  backdrop-filter: blur(5px);
}

.quick-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: #f8f9fb;
  border-right: 1px solid rgba(255, 255, 255, .5);
}

.quick-services > a {
  min-height: 107px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 7px;
  border-right: 1px solid #e4e8ed;
  border-bottom: 1px solid #e4e8ed;
  text-align: center;
  text-decoration: none;
  transition: background .16s ease, transform .16s ease, box-shadow .16s ease;
}

.quick-services > a:nth-child(even) {
  border-right: 0;
}

.quick-services > a:nth-child(n+7) {
  border-bottom: 0;
}

.quick-services > a:hover {
  position: relative;
  z-index: 2;
  background: #fff;
  box-shadow: 0 12px 28px rgba(31, 45, 102, .11);
  transform: translateY(-2px);
}

.service-icon {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border-radius: 13px;
}

.service-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-icon-blue { background: #e9f1ff; color: #2763b5; }
.service-icon-teal { background: #e4f5f3; color: #087d75; }
.service-icon-indigo { background: #eceefe; color: #4b59ae; }
.service-icon-gold { background: #fff3d9; color: #a87413; }
.service-icon-slate { background: #eaf0f4; color: #4a6579; }
.service-icon-rose { background: #fae9ee; color: #ac4762; }
.service-icon-green { background: #e7f4ea; color: #367c4b; }
.service-icon-cyan { background: #e4f4f7; color: #24768a; }

.quick-services strong,
.quick-services small {
  display: block;
}

.quick-services strong {
  color: #2d333d;
  font-size: 13px;
  font-weight: 850;
}

.quick-services small {
  margin-top: 1px;
  color: #8a93a0;
  font-size: 9px;
}

.hero-status {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 29px 25px 25px;
  background:
    radial-gradient(circle at 110% -10%, rgba(255, 255, 255, .15), transparent 42%),
    linear-gradient(150deg, #26377e, #1c285f);
  color: #fff;
}

.hero-status-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #bfc9ee;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .16em;
}

.live-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  color: #eef2ff;
  font-size: 8px;
  letter-spacing: -.01em;
}

.live-chip i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #58d7b0;
  box-shadow: 0 0 0 4px rgba(88, 215, 176, .12);
}

.hero-week {
  margin: 26px 0 0;
  font-family: "Nanum Myeongjo", "Noto Serif KR", serif;
  color: #fff;
  font-size: 25px;
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: -.045em;
}

.next-hearing {
  margin-top: 24px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, .16);
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.next-hearing span,
.next-hearing strong,
.next-hearing p {
  display: block;
}

.next-hearing span {
  color: #aeb9e2;
  font-size: 10px;
  font-weight: 800;
}

.next-hearing strong {
  margin-top: 7px;
  font-size: 16px;
  line-height: 1.5;
  word-break: keep-all;
}

.next-hearing p {
  margin: 5px 0 0;
  color: #cbd3ed;
  font-size: 11px;
  line-height: 1.6;
}

.hero-status-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 20px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.hero-status-link svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .16s ease;
}

.hero-status-link:hover svg {
  transform: translateX(3px);
}

.section {
  padding: 88px 0;
}

.section-soft {
  border-top: 1px solid #edf0f3;
  border-bottom: 1px solid #edf0f3;
  background: var(--surface-soft);
}

.section-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.section-heading {
  position: relative;
  margin-bottom: 32px;
}

.section-heading.heading-inline {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 35px;
}

.eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .18em;
}

.section-heading h2,
.panel-heading h2 {
  margin: 0;
  color: #1c222d;
  font-size: clamp(27px, 3vw, 37px);
  line-height: 1.25;
  letter-spacing: -.06em;
}

.section-heading p {
  max-width: 670px;
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.section-number {
  position: absolute;
  top: -22px;
  right: 0;
  color: rgba(38, 55, 126, .06);
  font-family: Georgia, serif;
  font-size: 88px;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}

.case-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, .75fr);
  gap: 20px;
  align-items: stretch;
}

.case-search-card,
.case-guide,
.content-panel,
.schedule-card,
.people-card {
  border: 1px solid rgba(210, 217, 226, .95);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.case-search-card {
  padding: 30px;
}

.case-search-card form {
  display: grid;
  grid-template-columns: minmax(280px, 1.5fr) minmax(180px, .7fr) auto;
  gap: 12px;
  align-items: end;
}

.field-row label {
  display: block;
  margin: 0 0 8px 2px;
  color: #4a5361;
  font-size: 12px;
  font-weight: 800;
}

.search-field {
  position: relative;
}

.search-field svg {
  position: absolute;
  top: 15px;
  left: 15px;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: #828b99;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.search-field input,
.field-row select {
  width: 100%;
  height: 50px;
  border: 1px solid #d5dbe3;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  outline: 0;
  transition: border-color .16s ease, box-shadow .16s ease;
}

.search-field input {
  padding: 0 15px 0 44px;
}

.field-row select {
  appearance: none;
  padding: 0 40px 0 15px;
  background-image:
    linear-gradient(45deg, transparent 50%, #788294 50%),
    linear-gradient(135deg, #788294 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 22px,
    calc(100% - 13px) 22px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.search-field input:focus,
.field-row select:focus {
  border-color: #8494cc;
  box-shadow: 0 0 0 4px rgba(38, 55, 126, .08);
}

.primary-button {
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 12px;
  padding: 0 24px;
  background: var(--navy-2);
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}

.primary-button:hover {
  background: #1e2e70;
  transform: translateY(-1px);
}

.primary-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.case-result {
  min-height: 184px;
  margin-top: 27px;
  padding-top: 24px;
  border-top: 1px solid #e8ebef;
}

.case-empty {
  min-height: 155px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-align: center;
}

.case-empty > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  border-radius: 15px;
  background: #f0f3f7;
  color: #7d8795;
}

.case-empty svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.case-empty strong {
  color: #4e5765;
  font-size: 13px;
}

.case-empty p {
  margin: 3px 0 0;
  font-size: 11px;
}

.case-result-list {
  display: grid;
  gap: 10px;
}

.case-result-item {
  display: grid;
  grid-template-columns: minmax(120px, .7fr) minmax(0, 2fr) auto;
  gap: 20px;
  align-items: center;
  padding: 18px;
  border: 1px solid #e2e7ed;
  border-radius: 15px;
  background: #fbfcfd;
}

.case-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 29px;
  border-radius: 999px;
  padding: 0 10px;
  background: #e9f4f4;
  color: #0b6f7b;
  font-size: 11px;
  font-weight: 850;
}

.case-result-copy {
  min-width: 0;
}

.case-result-copy strong,
.case-result-copy span {
  display: block;
}

.case-result-copy strong {
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.case-result-copy span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.case-date {
  color: #4e5868;
  font-size: 11px;
  font-weight: 800;
  text-align: right;
}

.case-guide {
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 255, 255, .14), transparent 38%),
    var(--navy-2);
  color: #fff;
}

.guide-head {
  padding: 26px 26px 20px;
}

.guide-head span,
.guide-head strong {
  display: block;
}

.guide-head span {
  color: #b9c3e8;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .16em;
}

.guide-head strong {
  margin-top: 7px;
  font-size: 21px;
  letter-spacing: -.045em;
}

.case-guide ol {
  margin: 0;
  padding: 0 26px 25px;
  list-style: none;
}

.case-guide li {
  display: grid;
  grid-template-columns: 29px minmax(0, 1fr);
  gap: 12px;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, .13);
}

.case-guide li > span {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  color: #f4d477;
  font-size: 10px;
  font-weight: 900;
}

.case-guide li p {
  margin: 0;
  color: #cbd3ed;
  font-size: 11px;
  line-height: 1.6;
}

.case-guide li strong {
  display: block;
  margin-bottom: 2px;
  color: #fff;
  font-size: 12px;
}

.schedule-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 10px;
  background: #fff;
  color: #596373;
  font-size: 10px;
  font-weight: 750;
}

.legend-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.type-00 { --event: #b04d62; --event-bg: #fbecef; }
.type-01 { --event: #365caf; --event-bg: #edf2ff; }
.type-02 { --event: #087d75; --event-bg: #e9f6f4; }
.type-03 { --event: #8b5a15; --event-bg: #fff4df; }
.type-04 { --event: #7354a5; --event-bg: #f2edfb; }

.legend-item .legend-dot {
  background: var(--event);
}

.schedule-card {
  overflow: hidden;
}

.schedule-toolbar {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 24px;
  border-bottom: 1px solid var(--line);
}

.schedule-toolbar > div {
  display: flex;
  align-items: center;
  gap: 13px;
}

.calendar-mark {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--surface-blue);
  color: var(--navy-2);
}

.calendar-mark svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.schedule-toolbar span,
.schedule-toolbar strong {
  display: block;
}

.schedule-toolbar > div > div span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.schedule-toolbar > div > div strong {
  margin-top: 3px;
  font-family: "Nanum Myeongjo", "Noto Serif KR", serif;
  font-size: 18px;
}

.schedule-count {
  min-width: 57px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #f0f3f7;
  color: #525c6b;
  font-size: 11px;
  font-weight: 850;
  text-align: center;
}

.schedule-scroll {
  overflow-x: auto;
  scrollbar-color: #c8d0da transparent;
}

.schedule-grid {
  min-width: 880px;
  display: grid;
  grid-template-columns: 94px repeat(7, minmax(112px, 1fr));
}

.schedule-cell {
  min-height: 94px;
  padding: 12px;
  border-right: 1px solid #e7ebef;
  border-bottom: 1px solid #e7ebef;
  background: #fff;
}

.schedule-cell:nth-child(8n) {
  border-right: 0;
}

.schedule-cell.header {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f8fa;
  color: #46505f;
  font-size: 12px;
  font-weight: 850;
}

.schedule-cell.header.weekend {
  color: #9a5261;
}

.schedule-cell.period {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafbfc;
  color: var(--navy-2);
  font-size: 12px;
  font-weight: 900;
}

.schedule-cell.empty {
  background:
    linear-gradient(135deg, transparent 0 49%, rgba(228, 232, 237, .5) 50%, transparent 51%),
    #fff;
  background-size: 13px 13px;
}

.schedule-event {
  height: 100%;
  min-height: 68px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 3px solid var(--event);
  border-radius: 10px;
  padding: 9px 10px;
  background: var(--event-bg);
  color: var(--event);
}

.schedule-event time {
  font-size: 10px;
  font-weight: 900;
}

.schedule-event strong {
  margin-top: 3px;
  color: #303846;
  font-size: 11px;
  line-height: 1.45;
  word-break: break-all;
}

.schedule-event span {
  margin-top: 2px;
  font-size: 9px;
  font-weight: 750;
  line-height: 1.4;
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.content-panel {
  overflow: hidden;
}

.panel-heading {
  min-height: 102px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 27px;
  border-bottom: 1px solid var(--line);
}

.panel-heading .eyebrow {
  margin-bottom: 4px;
}

.panel-heading h2 {
  font-size: 25px;
}

.panel-count {
  min-width: 48px;
  padding: 7px 9px;
  border-radius: 999px;
  background: #f0f3f7;
  color: #55606f;
  font-size: 10px;
  font-weight: 850;
  text-align: center;
}

.precedent-list,
.form-list {
  padding: 4px 27px 18px;
}

.precedent-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 19px 0;
  border-bottom: 1px solid #edf0f3;
  color: inherit;
  text-decoration: none;
}

.precedent-item:last-child {
  border-bottom: 0;
}

.precedent-index {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--surface-blue);
  color: var(--navy-2);
  font-family: Georgia, serif;
  font-size: 13px;
  font-weight: 800;
}

.precedent-copy {
  min-width: 0;
}

.precedent-copy strong,
.precedent-copy span {
  display: block;
}

.precedent-copy strong {
  overflow: hidden;
  color: #303641;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.precedent-copy span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.precedent-meta {
  text-align: right;
}

.precedent-meta time {
  display: block;
  color: #556070;
  font-size: 10px;
  font-weight: 800;
}

.precedent-meta svg {
  width: 17px;
  height: 17px;
  margin: 6px 0 0 auto;
  fill: none;
  stroke: #818b98;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.precedent-item:hover .precedent-copy strong {
  color: var(--navy-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 59px;
  border-bottom: 1px solid #edf0f3;
  color: inherit;
  text-decoration: none;
}

.form-item:last-child {
  border-bottom: 0;
}

.form-item > span:first-child {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #f3f5f7;
  color: #6f7a8a;
}

.form-item svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-item strong {
  min-width: 0;
  overflow: hidden;
  color: #353c47;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.form-item > svg {
  color: #9099a5;
}

.form-item:hover strong {
  color: var(--teal-dark);
}

.loading-row {
  height: 58px;
  margin: 8px 0;
  border-radius: 12px;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, .8), transparent),
    #eef1f4;
  background-size: 180px 100%, auto;
  background-repeat: no-repeat;
  animation: loading 1.3s infinite linear;
}

@keyframes loading {
  from { background-position: -180px 0, 0 0; }
  to { background-position: calc(100% + 180px) 0, 0 0; }
}

.people-summary {
  flex: 0 0 auto;
  min-width: 124px;
  padding: 14px 18px;
  border-left: 3px solid var(--teal);
  background: #f2f7f7;
}

.people-summary span,
.people-summary strong {
  display: block;
}

.people-summary span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
}

.people-summary strong {
  margin-top: 2px;
  color: var(--navy-2);
  font-family: Georgia, serif;
  font-size: 25px;
}

.people-card {
  overflow: hidden;
}

.people-tabs {
  display: flex;
  gap: 2px;
  overflow-x: auto;
  padding: 10px 16px 0;
  border-bottom: 1px solid var(--line);
  background: #f8f9fb;
  scrollbar-width: thin;
}

.people-tabs button {
  position: relative;
  min-width: 108px;
  height: 52px;
  border: 0;
  background: transparent;
  color: #6f7886;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

.people-tabs button::after {
  content: "";
  position: absolute;
  right: 15px;
  bottom: 0;
  left: 15px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--navy-2);
  transform: scaleX(0);
  transition: transform .16s ease;
}

.people-tabs button.active {
  color: var(--navy-2);
}

.people-tabs button.active::after {
  transform: scaleX(1);
}

.people-table-wrap {
  overflow-x: auto;
}

.people-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.people-table th,
.people-table td {
  padding: 16px 20px;
  border-bottom: 1px solid #edf0f3;
  text-align: left;
}

.people-table th {
  background: #fff;
  color: #6c7684;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .03em;
}

.people-table td {
  color: #434b58;
  font-size: 12px;
}

.people-table td:first-child {
  color: #252c36;
  font-weight: 800;
}

.people-table tbody tr:last-child td {
  border-bottom: 0;
}

.people-table tbody tr:hover td {
  background: #fafbfc;
}

.vacant {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  border-radius: 999px;
  padding: 0 9px;
  background: #f4f0f1;
  color: #95606b;
  font-size: 10px;
  font-weight: 800;
}

.table-loading,
.table-empty {
  padding: 38px;
  color: var(--muted);
  text-align: center;
}

.service-guide {
  padding-top: 62px;
  padding-bottom: 62px;
}

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

.service-guide-grid article {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fff;
}

.guide-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--surface-blue);
  color: var(--navy-2);
}

.guide-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-guide-grid strong {
  display: block;
  color: #303742;
  font-size: 13px;
}

.service-guide-grid p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.disclaimer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, .08), transparent 32%),
    #26377e;
  color: #fff;
}

.disclaimer::before {
  content: "";
  position: absolute;
  top: -140px;
  right: 8%;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
}

.disclaimer-inner {
  position: relative;
  width: min(var(--max), calc(100% - 40px));
  min-height: 245px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 50px 0;
}

.disclaimer-inner img {
  width: 116px;
  height: 116px;
  flex: 0 0 auto;
  padding: 10px;
  border-radius: 32px;
  background: rgba(255, 255, 255, .96);
  object-fit: contain;
}

.disclaimer-inner span {
  color: #bdc8ec;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .2em;
}

.disclaimer-inner h2 {
  margin: 7px 0 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.3;
  letter-spacing: -.055em;
}

.disclaimer-inner p {
  max-width: 760px;
  margin: 12px 0 0;
  color: #d3daf1;
  font-size: 13px;
  line-height: 1.75;
}

.site-footer {
  background: #202631;
  color: #aeb6c2;
}

.footer-inner {
  width: min(var(--max), calc(100% - 40px));
  min-height: 220px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 45px;
  align-items: center;
  padding: 45px 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.footer-brand img {
  width: 65px;
  height: 65px;
  padding: 5px;
  border-radius: 18px;
  background: #fff;
  object-fit: contain;
}

.footer-brand strong,
.footer-brand span {
  display: block;
}

.footer-brand strong {
  color: #fff;
  font-size: 18px;
  letter-spacing: -.04em;
}

.footer-brand span {
  margin-top: 4px;
  color: #8f99a8;
  font-size: 10px;
}

.footer-copy {
  min-width: 0;
  padding-left: 42px;
  border-left: 1px solid #3a424f;
}

.footer-copy nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 25px;
}

.footer-copy nav a {
  color: #e1e5eb;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.footer-copy nav a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-copy p {
  margin: 22px 0 4px;
  font-size: 11px;
}

.footer-copy small {
  color: #7f8997;
  font-size: 10px;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 700;
  max-width: min(420px, calc(100% - 44px));
  padding: 13px 17px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  background: rgba(30, 38, 51, .96);
  color: #fff;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .25);
  font-size: 12px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translateY(15px);
  transition: opacity .2s ease, transform .2s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.55fr) minmax(260px, .74fr);
  }

  .hero-status {
    grid-column: 1 / -1;
    min-height: 175px;
    display: grid;
    grid-template-columns: 1fr 1.4fr auto;
    gap: 24px;
    align-items: center;
  }

  .hero-status-top {
    align-self: start;
  }

  .hero-week {
    margin-top: 15px;
  }

  .next-hearing {
    margin-top: 0;
    padding: 0 24px;
    border-top: 0;
    border-right: 1px solid rgba(255, 255, 255, .16);
    border-bottom: 0;
    border-left: 1px solid rgba(255, 255, 255, .16);
  }

  .hero-status-link {
    align-self: stretch;
    justify-content: center;
    margin-top: 0;
    padding-top: 0;
  }

  .nav-inner > a {
    min-width: 108px;
  }
}

@media (max-width: 980px) {
  html {
    scroll-padding-top: 90px;
  }

  .utility-bar {
    display: none;
  }

  .header-main {
    min-height: 78px;
  }

  .brand-logo {
    width: 220px;
  }

  .global-search {
    display: none;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .primary-nav {
    position: fixed;
    top: 108px;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    overflow-y: auto;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, .99);
  }

  .primary-nav.open {
    display: block;
  }

  .nav-inner {
    width: 100%;
    height: auto;
    display: block;
    padding: 15px 20px 35px;
  }

  .nav-inner > a,
  .site-map-toggle {
    width: 100%;
    min-height: 58px;
    justify-content: flex-start;
    border-bottom: 1px solid #edf0f3;
    padding: 0 12px;
    font-size: 15px;
  }

  .nav-inner > a::after {
    top: 16px;
    right: auto;
    bottom: 16px;
    left: 0;
    width: 3px;
    height: auto;
    transform: scaleY(0);
  }

  .nav-inner > a:hover::after,
  .nav-inner > a:focus-visible::after {
    transform: scaleY(1);
  }

  .site-map-toggle {
    margin-left: 0;
  }

  .site-map {
    display: none !important;
  }

  .hero-inner {
    width: 100%;
  }

  .hero-visual {
    min-height: 400px;
  }

  .case-layout {
    grid-template-columns: 1fr;
  }

  .case-search-card form {
    grid-template-columns: 1fr 1fr;
  }

  .primary-button {
    grid-column: 1 / -1;
  }

  .two-column {
    grid-template-columns: 1fr;
  }

  .service-guide-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .fiction-banner {
    min-height: 29px;
    padding-inline: 12px;
    font-size: 10px;
  }

  .header-main,
  .section-inner,
  .disclaimer-inner,
  .footer-inner {
    width: min(100% - 28px, var(--max));
  }

  .header-main {
    min-height: 72px;
    gap: 12px;
  }

  .brand-logo {
    width: 205px;
  }

  .primary-nav {
    top: 101px;
  }

  .hero-inner {
    display: block;
  }

  .hero-visual {
    min-height: 390px;
  }

  .hero-copy {
    top: auto;
    right: 23px;
    bottom: 45px;
    left: 23px;
    transform: none;
  }

  .hero-copy h1 {
    font-size: 38px;
  }

  .hero-copy p {
    font-size: 13px;
  }

  .quick-services {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .quick-services > a {
    min-height: 105px;
    border-bottom: 1px solid #e4e8ed;
  }

  .quick-services > a:nth-child(even) {
    border-right: 1px solid #e4e8ed;
  }

  .quick-services > a:nth-child(4n) {
    border-right: 0;
  }

  .quick-services > a:nth-child(n+5) {
    border-bottom: 0;
  }

  .quick-services small {
    display: none;
  }

  .hero-status {
    min-height: 0;
    display: block;
    padding: 25px 22px;
  }

  .hero-week {
    margin-top: 18px;
    font-size: 22px;
  }

  .next-hearing {
    margin-top: 17px;
    padding: 17px 0;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, .16);
    border-bottom: 1px solid rgba(255, 255, 255, .16);
  }

  .hero-status-link {
    justify-content: space-between;
    margin-top: 18px;
  }

  .section {
    padding: 65px 0;
  }

  .section-heading {
    margin-bottom: 25px;
  }

  .section-heading.heading-inline {
    display: block;
  }

  .section-number {
    display: none;
  }

  .case-search-card {
    padding: 22px;
  }

  .case-search-card form {
    grid-template-columns: 1fr;
  }

  .primary-button {
    grid-column: auto;
  }

  .case-result-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .case-date {
    text-align: left;
  }

  .schedule-legend {
    justify-content: flex-start;
    margin-top: 18px;
  }

  .schedule-toolbar {
    min-height: 80px;
    padding: 17px 18px;
  }

  .panel-heading {
    min-height: 93px;
    padding: 21px 22px;
  }

  .precedent-list,
  .form-list {
    padding-right: 22px;
    padding-left: 22px;
  }

  .precedent-item {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .precedent-meta {
    display: none;
  }

  .people-summary {
    width: fit-content;
    margin-top: 18px;
  }

  .disclaimer-inner {
    display: block;
    padding: 48px 0;
  }

  .disclaimer-inner img {
    width: 82px;
    height: 82px;
    margin-bottom: 22px;
    border-radius: 23px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-copy {
    padding-top: 25px;
    padding-left: 0;
    border-top: 1px solid #3a424f;
    border-left: 0;
  }
}

@media (max-width: 520px) {
  .brand-logo {
    width: 180px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .hero-visual {
    min-height: 355px;
  }

  .hero-copy h1 {
    font-size: 33px;
  }

  .hero-copy p {
    max-width: 310px;
  }

  .quick-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-services > a:nth-child(4n) {
    border-right: 1px solid #e4e8ed;
  }

  .quick-services > a:nth-child(even) {
    border-right: 0;
  }

  .quick-services > a:nth-child(n+5) {
    border-bottom: 1px solid #e4e8ed;
  }

  .quick-services > a:nth-child(n+7) {
    border-bottom: 0;
  }

  .case-search-card,
  .case-guide,
  .schedule-card,
  .content-panel,
  .people-card {
    border-radius: 17px;
  }

  .global-result {
    grid-template-columns: 1fr auto;
  }

  .global-result-type {
    grid-column: 1 / -1;
    width: fit-content;
    min-width: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media print {
  .fiction-banner,
  .utility-bar,
  .site-header,
  .quick-services,
  .hero-status,
  .global-results,
  .toast,
  .site-footer {
    display: none !important;
  }

  .hero-inner,
  .section-inner {
    width: 100%;
  }

  .hero-visual {
    min-height: 300px;
  }

  .section {
    padding: 30px 0;
  }

  .section-soft {
    background: #fff;
  }

  .case-search-card,
  .case-guide,
  .schedule-card,
  .content-panel,
  .people-card {
    box-shadow: none;
  }
}
