:root {
  --notice-bg: #f3f7fc;
  --notice-panel: #ffffff;
  --notice-line: #dbe5f3;
  --notice-line-strong: #c7d5eb;
  --notice-text: #0f1f3d;
  --notice-muted: #61708a;
  --notice-soft: #edf5ff;
  --notice-blue: #1263f1;
  --notice-blue-2: #0b55da;
  --notice-blue-soft: #e8f1ff;
  --notice-green: #16a66a;
  --notice-green-soft: #dcf8eb;
  --notice-orange: #ff7a1a;
  --notice-orange-soft: #fff0e4;
  --notice-gray-soft: #eef2f7;
  --notice-shadow: 0 12px 30px rgba(39, 70, 125, .11);
  --notice-shadow-sm: 0 5px 18px rgba(39, 70, 125, .08);
}

/* Reference-match pass: align /notices to the supplied Pathfinder mockup. */
body.notice-page:not(.notice-detail-page) .notice-header {
  height: 64px;
  min-height: 64px;
  display: grid;
  grid-template-columns: minmax(360px, 1fr) auto minmax(150px, auto);
  gap: 22px;
  align-items: center;
  padding: 0 29px;
}

body.notice-page:not(.notice-detail-page) .notice-brand {
  min-width: 0;
}

body.notice-page:not(.notice-detail-page) .brand-copy small {
  display: block;
}

body.notice-page:not(.notice-detail-page) .notice-nav {
  display: flex;
  grid-column: 2;
  justify-content: center;
  gap: 40px;
  width: auto;
  overflow: visible;
}

body.notice-page:not(.notice-detail-page) .notice-nav a {
  height: 64px;
  color: #111827;
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}

body.notice-page:not(.notice-detail-page) .notice-nav a.active {
  color: var(--portal-blue);
}

body.notice-page:not(.notice-detail-page) .notice-nav a.active::after {
  display: block;
  height: 3px;
}

body.notice-page:not(.notice-detail-page) .notice-actions {
  grid-column: 3;
}

body.notice-page:not(.notice-detail-page) .notice-shell,
body.notice-page:not(.notice-detail-page) .notice-footer {
  width: min(1020px, calc(100% - 36px));
}

body.notice-page:not(.notice-detail-page) .hero-copy h1 {
  font-size: 34px;
  line-height: 1.12;
  letter-spacing: 0;
  white-space: nowrap;
}

body.notice-page:not(.notice-detail-page) .notice-search {
  width: min(440px, 100%);
  height: 48px;
  grid-template-columns: minmax(0, 1fr) 0 56px;
  padding-left: 17px;
  border-radius: 10px;
}

body.notice-page:not(.notice-detail-page) .notice-search input {
  font-size: 15px;
}

body.notice-page:not(.notice-detail-page) .popular-searches button {
  height: 26px;
  padding: 0 12px;
  font-size: 12px;
}

body.notice-page:not(.notice-detail-page) .stat-icon {
  width: 58px;
  height: 58px;
}

body.notice-page:not(.notice-detail-page) .stat-copy span {
  font-size: 13px;
}

body.notice-page:not(.notice-detail-page) .stat-copy strong {
  font-size: 28px;
}

body.notice-page:not(.notice-detail-page) .notice-update-bar {
  min-height: 40px;
  height: 40px;
  align-items: center;
  flex-direction: row;
  gap: 34px;
  padding: 0 16px;
  margin: 0;
  border-radius: 9px;
}

body.notice-page:not(.notice-detail-page) .notice-category-rail {
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 8px;
  min-height: 60px;
  margin-top: 14px;
  padding: 10px 16px;
  border-radius: 12px;
}

body.notice-page:not(.notice-detail-page) .category-tab {
  height: 40px;
  min-width: 0;
  border-radius: 8px;
  font-size: 13px;
}

body.notice-page:not(.notice-detail-page) .notice-layout {
  display: grid;
  grid-template-columns: 282px minmax(0, 1fr);
  gap: 12px;
  margin-top: 14px;
}

body.notice-page:not(.notice-detail-page) .filter-stack {
  width: 282px;
  gap: 14px;
}

body.notice-page:not(.notice-detail-page) .filter-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 17px 16px 18px;
  border-radius: 12px;
}

body.notice-page:not(.notice-detail-page) .filter-head {
  min-height: 36px;
  margin-bottom: 14px;
}

body.notice-page:not(.notice-detail-page) .filter-title {
  font-size: 20px;
}

body.notice-page:not(.notice-detail-page) .filter-reset.filter-pin {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--portal-blue);
  background: transparent;
  font-size: 18px;
}

body.notice-page:not(.notice-detail-page) .filter-label {
  font-size: 13px;
}

body.notice-page:not(.notice-detail-page) .filter-label small {
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
}

body.notice-page:not(.notice-detail-page) .filter-chip-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
}

body.notice-page:not(.notice-detail-page) .filter-check-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 10px;
}

body.notice-page:not(.notice-detail-page) .filter-chip,
body.notice-page:not(.notice-detail-page) .filter-check,
body.notice-page:not(.notice-detail-page) .status-option {
  min-width: 0;
  height: 31px;
  padding: 0 8px;
  font-size: 12px;
  word-break: keep-all;
}

body.notice-page:not(.notice-detail-page) .status-segment,
body.notice-page:not(.notice-detail-page) .period-options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

body.notice-page:not(.notice-detail-page) .filter-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding-top: 12px;
}

body.notice-page:not(.notice-detail-page) .filter-primary {
  grid-column: 1 / -1;
  height: 36px;
}

body.notice-page:not(.notice-detail-page) .filter-secondary {
  height: 32px;
  font-size: 12px;
}

body.notice-page:not(.notice-detail-page) .notice-info-card {
  padding: 18px 16px;
  border-color: #ffdca8;
  background: #fff9ed;
  color: #3f3a2f;
  border-radius: 10px;
  line-height: 1.55;
}

body.notice-page:not(.notice-detail-page) .notice-info-card a {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  height: 34px;
  margin-top: 14px;
  padding: 0 14px;
  border: 1px solid #ffc266;
  border-radius: 8px;
  color: #e26200;
  background: #ffffff;
  text-decoration: none;
  font-weight: 900;
}

body.notice-page:not(.notice-detail-page) .notice-results {
  padding: 18px 12px 14px;
  border-radius: 12px;
}

body.notice-page:not(.notice-detail-page) .results-toolbar {
  min-height: 40px;
  align-items: center;
}

body.notice-page:not(.notice-detail-page) .total-count span {
  font-size: 20px;
}

body.notice-page:not(.notice-detail-page) .sort-select {
  width: 120px;
  height: 36px;
}

body.notice-page:not(.notice-detail-page) .view-toggle button {
  width: 36px;
  height: 36px;
}

body.notice-page:not(.notice-detail-page) .applied-filter-bar {
  min-height: 48px;
  margin: 12px 0 8px;
  padding: 10px 12px;
}

body.notice-page:not(.notice-detail-page) .notice-list,
body.notice-page:not(.notice-detail-page) .notice-list.grid-view {
  gap: 7px;
}

body.notice-page:not(.notice-detail-page) .notice-card.notice-table-row,
body.notice-page:not(.notice-detail-page) .notice-list.grid-view .notice-card.notice-table-row {
  grid-template-columns: 34px 78px minmax(0, 1fr) 84px;
  gap: 10px;
  min-height: 118px;
  padding: 10px 10px 10px 12px;
  border-radius: 9px;
}

body.notice-page:not(.notice-detail-page) .notice-deadline-panel {
  gap: 3px;
}

body.notice-page:not(.notice-detail-page) .notice-table-row .status-badge {
  min-height: 21px;
  padding: 0 7px;
  font-size: 11px;
}

body.notice-page:not(.notice-detail-page) .notice-deadline-value {
  font-size: 28px;
}

body.notice-page:not(.notice-detail-page) .notice-deadline-period {
  font-size: 11px;
}

body.notice-page:not(.notice-detail-page) .notice-title-cell {
  gap: 6px;
}

body.notice-page:not(.notice-detail-page) .notice-card-title {
  font-size: 15px;
  line-height: 1.3;
}

body.notice-page:not(.notice-detail-page) .notice-summary-line {
  font-size: 12px;
  line-height: 1.35;
}

body.notice-page:not(.notice-detail-page) .notice-meta-chip-row {
  gap: 4px 5px;
}

body.notice-page:not(.notice-detail-page) .notice-info-chip {
  min-height: 19px;
  padding: 0 6px;
  font-size: 10px;
}

body.notice-page:not(.notice-detail-page) .notice-info-chip b {
  font-size: 9.5px;
}

body.notice-page:not(.notice-detail-page) .notice-card-foot {
  gap: 14px;
  font-size: 11px;
}

body.notice-page:not(.notice-detail-page) .notice-action-cell {
  gap: 5px;
}

body.notice-page:not(.notice-detail-page) .notice-action-button {
  height: 27px;
  padding: 0 7px;
  border-radius: 6px;
  font-size: 11px;
}

body.notice-page:not(.notice-detail-page) .pagination {
  margin-top: 12px;
}

body.notice-page:not(.notice-detail-page) .notice-bottom-panels {
  margin-top: 16px;
}

@media (max-width: 980px) {
  body.notice-page:not(.notice-detail-page) .notice-header {
    height: auto;
    min-height: 64px;
    display: flex;
    flex-wrap: wrap;
    padding: 10px 16px;
  }
  body.notice-page:not(.notice-detail-page) .notice-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }
  body.notice-page:not(.notice-detail-page) .notice-nav a {
    height: 38px;
  }
  body.notice-page:not(.notice-detail-page) .notice-shell,
  body.notice-page:not(.notice-detail-page) .notice-footer {
    width: min(100% - 24px, 1020px);
  }
  body.notice-page:not(.notice-detail-page) .hero-copy h1 {
    white-space: normal;
  }
  body.notice-page:not(.notice-detail-page) .notice-layout {
    display: flex;
    flex-direction: column;
  }
  body.notice-page:not(.notice-detail-page) .filter-stack {
    order: 2;
    width: 100%;
  }
  body.notice-page:not(.notice-detail-page) .notice-results {
    order: 1;
  }
}

@media (max-width: 640px) {
  body.notice-page:not(.notice-detail-page) .notice-nav {
    display: none;
  }
  body.notice-page:not(.notice-detail-page) .notice-category-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.notice-page:not(.notice-detail-page) .filter-chip-grid,
  body.notice-page:not(.notice-detail-page) .filter-check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.notice-page:not(.notice-detail-page) .notice-card.notice-table-row,
  body.notice-page:not(.notice-detail-page) .notice-list.grid-view .notice-card.notice-table-row {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px 12px;
    min-height: 0;
    padding: 14px;
  }
  body.notice-page:not(.notice-detail-page) .notice-bookmark-cell {
    grid-row: 1 / span 3;
  }
  body.notice-page:not(.notice-detail-page) .notice-deadline-panel {
    grid-column: 2;
    grid-row: 1;
    align-items: flex-start;
    border-right: 0;
    text-align: left;
  }
  body.notice-page:not(.notice-detail-page) .notice-title-cell {
    grid-column: 2;
    grid-row: 2;
  }
  body.notice-page:not(.notice-detail-page) .notice-action-cell {
    grid-column: 2;
    grid-row: 3;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Final fine tuning against the reference image. */
body.notice-page:not(.notice-detail-page) .notice-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

body.notice-page:not(.notice-detail-page) .brand-copy {
  display: flex;
  align-items: center;
  gap: 18px;
}

body.notice-page:not(.notice-detail-page) .brand-copy strong {
  font-size: 28px;
  line-height: 1;
}

body.notice-page:not(.notice-detail-page) .brand-copy small {
  margin-top: 2px;
  white-space: nowrap;
}

body.notice-page:not(.notice-detail-page) .notice-hero {
  grid-template-columns: minmax(0, 1fr) 500px;
  gap: 32px;
}

body.notice-page:not(.notice-detail-page) .hero-copy h1 {
  font-size: 32px;
}

body.notice-page:not(.notice-detail-page) .popular-searches {
  flex-wrap: nowrap;
  gap: 6px;
}

body.notice-page:not(.notice-detail-page) .popular-searches span {
  flex: 0 0 auto;
  font-size: 12px;
}

body.notice-page:not(.notice-detail-page) .popular-searches button {
  flex: 0 0 auto;
  padding: 0 9px;
  font-size: 11.5px;
}

body.notice-page:not(.notice-detail-page) .hero-metrics {
  width: 500px;
}

body.notice-page:not(.notice-detail-page) .notice-deadline-value {
  max-width: 76px;
  overflow: visible;
  white-space: nowrap;
}

@media (max-width: 980px) {
  body.notice-page:not(.notice-detail-page) .brand-copy {
    display: block;
  }
  body.notice-page:not(.notice-detail-page) .notice-hero,
  body.notice-page:not(.notice-detail-page) .hero-metrics {
    width: 100%;
  }
  body.notice-page:not(.notice-detail-page) .popular-searches {
    flex-wrap: wrap;
  }
}
* { box-sizing: border-box; }
html {
  font-size: 15px;
  scroll-behavior: smooth;
}
body.notice-page {
  margin: 0;
  min-height: 100vh;
  font-family: "Pretendard Variable", "Noto Sans KR", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--notice-text);
  background:
    radial-gradient(circle at 58% 5%, rgba(95, 154, 255, .20), transparent 27%),
    linear-gradient(180deg, #f8fbff 0%, var(--notice-bg) 36%, #f6f9fd 100%);
}
button, input, select { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.notice-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 34px;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid var(--notice-line);
  backdrop-filter: blur(16px);
}
.notice-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 260px;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0;
  text-decoration: none;
  color: var(--notice-text);
}
.notice-brand svg { width: 28px; height: 28px; color: var(--notice-blue); }
.notice-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  height: 100%;
}
.notice-nav a {
  height: 100%;
  display: inline-flex;
  align-items: center;
  color: #25324b;
  text-decoration: none;
  font-size: 15px;
  font-weight: 750;
  border-bottom: 3px solid transparent;
}
.notice-nav a.active {
  color: var(--notice-blue);
  border-bottom-color: var(--notice-blue);
}
.notice-actions { display: flex; align-items: center; gap: 14px; min-width: 210px; justify-content: flex-end; }
.notice-bell {
  position: relative;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #25324b;
}
.notice-bell svg { width: 24px; height: 24px; }
.notice-bell span {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #ff3b4e;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}
.notice-login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid #dce4ef;
  border-radius: 13px;
  background: #f5f8fc;
  color: #24324c;
  font-weight: 750;
}
.auth-user-badge {
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #1f2d46;
  font-size: 14px;
  font-weight: 850;
}
.notice-login.auth-logout {
  background: #fff;
  color: #5d6b82;
}
.notice-shell {
  width: min(1780px, calc(100% - 34px));
  margin: 0 auto;
}
.notice-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(520px, 1fr) minmax(600px, 760px);
  gap: 30px;
  align-items: center;
  overflow: hidden;
}
.hero-copy {
  position: relative;
  z-index: 2;
}
.hero-copy h1 {
  margin: 0 0 17px;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.12;
  letter-spacing: 0;
  color: #081b48;
  font-weight: 950;
}
.hero-copy p {
  margin: 0 0 25px;
  color: #42526d;
  font-size: 19px;
  line-height: 1.75;
}
.notice-search {
  width: min(920px, 100%);
  height: 70px;
  display: grid;
  grid-template-columns: 1fr 46px 56px;
  align-items: center;
  padding: 0 11px 0 22px;
  border: 1px solid #d8e3f3;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--notice-shadow-sm);
}
.notice-search svg { color: #23375e; }
.notice-search input {
  height: 100%;
  border: 0;
  outline: 0;
  color: var(--notice-text);
  font-size: 17px;
  min-width: 0;
}
.notice-search-clear {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #8290a6;
  font-size: 26px;
  visibility: hidden;
}
.notice-search.has-query .notice-search-clear { visibility: visible; }
.hero-illustration {
  position: absolute;
  left: 39%;
  bottom: 30px;
  z-index: 1;
  width: 360px;
  min-height: 170px;
  display: flex;
  justify-content: center;
  opacity: .58;
  pointer-events: none;
}
.hero-illustration svg { width: min(350px, 100%); height: auto; }
.hero-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}
.notice-stat-card {
  border: 1px solid #dce5f2;
  border-radius: 24px;
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--notice-shadow);
}
.stat-row { display: flex; align-items: center; gap: 14px; margin-bottom: 23px; color: #273650; font-weight: 850; }
.stat-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: #4d87ff;
  color: #fff;
}
.stat-icon.orange { background: #ff6a1a; }
.stat-value { color: var(--notice-blue); font-size: 40px; line-height: 1; font-weight: 950; }
.stat-value.orange { color: #ff4f12; }
.stat-sub { margin-top: 24px; color: #42526d; font-weight: 750; }
.stat-sub strong { color: var(--notice-blue); margin-left: 8px; }
.notice-layout {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding-bottom: 42px;
}
.filter-stack { display: flex; flex-direction: column; gap: 18px; }
.filter-card, .notice-info-card, .notice-results {
  background: rgba(255, 255, 255, .97);
  border: 1px solid #e0e8f3;
  border-radius: 18px;
  box-shadow: var(--notice-shadow-sm);
}
.filter-card { padding: 24px 22px 25px; }
.filter-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.filter-title { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 18px; }
.filter-reset {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: #8a98ad;
  font-weight: 750;
}
.filter-group { margin: 18px 0; }
.filter-label { display: block; margin-bottom: 10px; font-size: 15px; color: #17233b; font-weight: 850; }
.notice-select {
  width: 100%;
  height: 44px;
  border: 1px solid #d8e2ef;
  border-radius: 9px;
  background: #fff;
  color: #41506a;
  padding: 0 14px;
  outline: 0;
}
.notice-select:focus { border-color: var(--notice-blue); box-shadow: 0 0 0 3px rgba(18, 99, 241, .10); }
.status-segment {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.status-option {
  height: 38px;
  border: 0;
  border-radius: 8px;
  background: #eef2f7;
  color: #53617a;
  font-size: 14px;
  font-weight: 800;
}
.status-option.active {
  background: #e3efff;
  color: var(--notice-blue);
  border: 1px solid #a8c7ff;
}
.filter-primary, .filter-secondary {
  width: 100%;
  min-height: 54px;
  border-radius: 10px;
  font-weight: 900;
}
.filter-primary {
  border: 1px solid var(--notice-blue);
  background: #fff;
  color: var(--notice-blue);
  margin-top: 10px;
}
.filter-primary:hover { background: var(--notice-blue); color: #fff; }
.filter-secondary {
  border: 0;
  background: transparent;
  color: var(--notice-blue);
  margin-top: 10px;
}
.notice-info-card {
  padding: 24px 22px;
  color: #53617a;
  line-height: 1.7;
}
.notice-info-card strong {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #25324b;
  margin-bottom: 10px;
}
.notice-results { padding: 22px 26px 28px; }
.results-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.total-count { font-size: 18px; font-weight: 850; color: #25324b; }
.total-count strong { color: var(--notice-blue); font-size: 24px; }
.toolbar-actions { display: flex; align-items: center; gap: 14px; }
.sort-select {
  width: 150px;
  height: 44px;
  border: 1px solid #d8e2ef;
  border-radius: 9px;
  background: #fff;
  color: #25324b;
  padding: 0 13px;
}
.view-toggle {
  display: inline-grid;
  grid-template-columns: 45px 45px;
  height: 44px;
  padding: 4px;
  border-radius: 10px;
  background: #edf2f8;
}
.view-toggle button {
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #7b8798;
}
.view-toggle button.active {
  background: #dfeeff;
  color: var(--notice-blue);
}
.notice-list { display: flex; flex-direction: column; gap: 13px; }
.notice-list.grid-view {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.notice-card {
  position: relative;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) 206px;
  align-items: stretch;
  gap: 18px;
  min-height: 148px;
  padding: 18px 22px 18px 18px;
  border: 1px solid #dce5f2;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 5px 14px rgba(39, 70, 125, .06);
}
.notice-list.grid-view .notice-card {
  grid-template-columns: 82px minmax(0, 1fr);
  align-items: start;
  min-height: 286px;
}
.notice-list.grid-view .card-actions {
  grid-column: 1 / -1;
  grid-row: auto;
  justify-self: end;
  align-self: end;
  flex-direction: row;
  width: auto;
  padding-top: 8px;
}
.icon-box {
  width: 72px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
}
.icon-box svg { width: 46px; height: 46px; }
.icon-startup { background: #dcebff; color: #3678ef; }
.icon-eco { background: #dff8eb; color: #159c62; }
.icon-ai { background: #efe9ff; color: #7a42f4; }
.icon-rnd { background: #fff0e1; color: #f28a11; }
.icon-store { background: #ddf8fa; color: #14a8b6; }
.card-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.notice-card-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 14px;
  min-width: 0;
  padding-right: 34px;
}
.notice-card-title {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 900;
  color: #0f1f3d;
}
.card-badges {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 150px;
}
.status-badge, .dday-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  height: 28px;
  padding: 0 9px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}
.status-open { background: #e5f0ff; border: 1px solid #b9d2ff; color: var(--notice-blue); }
.status-soon { background: var(--notice-orange-soft); color: #f06416; border: 1px solid #ffd0a8; }
.status-closed { background: var(--notice-gray-soft); color: #718096; border: 1px solid #d8e1ec; }
.status-review { background: #fff8db; color: #8a6512; border: 1px solid #f3d06a; }
.card-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 11px 24px;
}
.notice-list.grid-view .card-meta-grid { grid-template-columns: repeat(2, minmax(120px, 1fr)); }
.meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  color: #1f2b42;
}
.meta-item span { color: #77849a; font-size: 13px; font-weight: 850; }
.meta-item strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 800;
}
.card-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-self: end;
  justify-self: end;
  width: 190px;
  padding-top: 38px;
}
.dday-badge {
  min-width: 66px;
  background: var(--notice-blue);
  color: #fff;
  box-shadow: 0 6px 12px rgba(18, 99, 241, .18);
}
.dday-green { background: #12aa68; }
.dday-orange { background: #ff8a12; }
.dday-red { background: #ff5c1a; }
.card-button {
  height: 42px;
  border-radius: 9px;
  border: 1px solid var(--notice-blue);
  background: #fff;
  color: var(--notice-blue);
  font-weight: 900;
  white-space: nowrap;
}
.card-button.add {
  min-width: 154px;
}
.card-button:hover { background: var(--notice-blue); color: #fff; }
.favorite-button {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: #b5bdca;
  font-size: 27px;
  line-height: 1;
}
.favorite-button.active { color: #f8b400; }
.empty-state {
  display: none;
  padding: 52px 20px;
  text-align: center;
  color: #64748b;
  font-weight: 750;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.pagination button {
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #0f1f3d;
  font-weight: 900;
}
.pagination button:disabled {
  cursor: default;
  color: #a4afc1;
}
.pagination button.active {
  background: var(--notice-blue);
  color: #fff;
  box-shadow: 0 8px 18px rgba(18, 99, 241, .25);
}
.pagination span {
  color: #8290a6;
  font-weight: 900;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
  background: rgba(15, 31, 61, .38);
  padding: 22px;
}
.modal-backdrop.open { display: flex; }
.notice-modal {
  width: min(760px, 100%);
  max-height: min(760px, calc(100vh - 44px));
  overflow: auto;
  background: #fff;
  border-radius: 22px;
  border: 1px solid #dce5f2;
  box-shadow: 0 28px 70px rgba(15, 31, 61, .25);
}
.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 28px 12px;
}
.modal-header h2 { margin: 0; font-size: 24px; line-height: 1.35; }
.modal-close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: #f1f5fa;
  color: #64748b;
  font-size: 22px;
}
.modal-body { padding: 12px 28px 28px; }
.auth-modal {
  width: min(430px, 100%);
}
.terms-modal { width: min(640px, 100%); }
.terms-modal-body { max-height: 60vh; overflow-y: auto; }
.terms-modal-body h3 { margin: 18px 0 8px; font-size: 16px; }
.terms-modal-body section:first-child h3 { margin-top: 0; }
.terms-modal-body ol {
  margin: 0 0 8px;
  padding-left: 20px;
  display: grid;
  gap: 6px;
  font-size: 13px;
  line-height: 1.6;
  color: #45526b;
}
.auth-terms-link {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: #1263f1;
  font-weight: 850;
  text-decoration: underline;
  cursor: pointer;
}
.auth-form {
  display: grid;
  gap: 16px;
  padding: 12px 28px 30px;
}
.auth-form label {
  display: grid;
  gap: 8px;
  color: #22314d;
  font-weight: 850;
}
.auth-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid #d7e1ef;
  border-radius: 12px;
  padding: 0 14px;
  color: #0f1f3d;
  outline: 0;
}
.auth-form input:focus {
  border-color: #1263f1;
  box-shadow: 0 0 0 3px rgba(18, 99, 241, .12);
}
.auth-error {
  border: 1px solid #ffd1d6;
  border-radius: 12px;
  background: #fff2f4;
  color: #b42335;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 750;
}
.modal-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 22px;
}
.modal-meta div {
  padding: 14px;
  border: 1px solid #e1e8f2;
  border-radius: 12px;
  background: #f8fbff;
}
.modal-meta .modal-meta-link {
  grid-column: 1 / -1;
}
.modal-meta span { display: block; color: #6b7890; font-size: 13px; font-weight: 850; margin-bottom: 5px; }
.modal-meta strong { color: #14213d; }
.modal-meta a {
  color: var(--notice-blue);
  font-weight: 850;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.modal-summary {
  padding: 18px;
  border-radius: 14px;
  background: #eef6ff;
  color: #31415e;
  line-height: 1.8;
}
.modal-confirm {
  width: 100%;
  min-height: 50px;
  margin-top: 22px;
  border: 0;
  border-radius: 12px;
  background: var(--notice-blue);
  color: #fff;
  font-weight: 900;
}
.notice-toast {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 70;
  display: none;
  max-width: 420px;
  padding: 16px 18px;
  border-radius: 14px;
  background: #0f1f3d;
  color: #fff;
  box-shadow: 0 18px 40px rgba(15, 31, 61, .24);
  font-weight: 750;
}
.notice-toast.show { display: block; }
@media (max-width: 1360px) {
  .notice-hero { grid-template-columns: minmax(420px, 1fr) minmax(500px, 620px); }
  .hero-illustration { left: 33%; opacity: .34; }
  .notice-card { grid-template-columns: 86px minmax(0, 1fr); }
  .card-actions {
    grid-column: 2;
    flex-direction: row;
    align-self: start;
    justify-self: start;
    width: auto;
    padding-top: 0;
    margin-top: 2px;
  }
  .card-meta-grid { grid-template-columns: repeat(2, minmax(135px, 1fr)); }
}
@media (max-width: 1100px) {
  .notice-header { padding: 0 18px; }
  .notice-nav { gap: 18px; }
  .notice-hero { grid-template-columns: 1fr; }
  .hero-copy { grid-column: auto; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-illustration { display: none; }
  .notice-layout { grid-template-columns: 1fr; }
  .filter-card { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
  .filter-head, .filter-actions { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .notice-header { height: auto; min-height: 64px; flex-wrap: wrap; gap: 10px; padding: 12px 14px; }
  .notice-brand, .notice-actions { min-width: 0; }
  .notice-nav { width: 100%; order: 3; overflow-x: auto; height: 42px; }
  .notice-nav a { height: 42px; white-space: nowrap; }
  .notice-shell { width: min(100% - 20px, 1780px); }
  .notice-hero { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; }
  .notice-search { grid-template-columns: 1fr 40px 44px; height: 62px; border-radius: 18px; padding-left: 14px; }
  .filter-card { display: block; }
  .results-toolbar { align-items: flex-start; flex-direction: column; }
  .notice-list.grid-view { grid-template-columns: 1fr; }
  .notice-card, .notice-list.grid-view .notice-card {
    grid-template-columns: 74px minmax(0, 1fr);
    min-height: auto;
    padding: 16px;
  }
  .icon-box { width: 60px; height: 60px; }
  .icon-box svg { width: 38px; height: 38px; }
  .card-meta-grid, .notice-list.grid-view .card-meta-grid { grid-template-columns: 1fr; }
  .notice-card-title-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-right: 34px;
  }
  .card-badges {
    justify-content: flex-start;
    min-width: 0;
  }
  .card-actions, .notice-list.grid-view .card-actions {
    grid-column: 1 / -1;
    justify-self: stretch;
    width: 100%;
    flex-direction: row;
    padding-top: 0;
  }
  .card-actions .card-button { flex: 1; min-width: 0; }
  .modal-meta { grid-template-columns: 1fr; }
}

/* Screenshot-matched government support recommendation skin */
body.notice-page {
  color: #101b35;
  background: #f7faff;
}
.notice-header {
  position: relative;
  height: 114px;
  padding: 0 52px;
  background: #fff;
  border-bottom: 0;
  box-shadow: none;
}
.notice-brand {
  min-width: 440px;
  gap: 18px;
}
.gov-emblem {
  width: 80px;
  height: 56px;
  flex: 0 0 auto;
  display: inline-block;
  background: url("/static/govmatch-logo.png") center / contain no-repeat;
}
.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.brand-copy strong {
  font-size: 29px;
  line-height: 1.08;
  font-weight: 950;
  color: #111827;
}
.brand-copy small {
  font-size: 15px;
  color: #637088;
  font-weight: 650;
}
.notice-nav {
  flex: 1;
  justify-content: center;
  gap: 54px;
}
.notice-nav a {
  position: relative;
  height: 114px;
  padding: 0 6px;
  color: #0f1b34;
  font-size: 18px;
  font-weight: 850;
  border-bottom: 0;
}
.notice-nav a.active {
  color: #0758ff;
}
.notice-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  height: 4px;
  border-radius: 999px;
  background: #0758ff;
}
.notice-actions {
  min-width: 224px;
  gap: 22px;
}
.notice-bell {
  width: 42px;
  height: 42px;
  color: #0f1b34;
}
.notice-bell svg {
  width: 32px;
  height: 32px;
}
.notice-bell span {
  top: -2px;
  right: -3px;
  width: 24px;
  height: 24px;
  background: #ff1f4f;
  font-size: 13px;
}
.notice-login {
  min-height: 56px;
  padding: 0 28px;
  border: 0;
  border-radius: 9px;
  background: #0758df;
  color: #fff;
  font-size: 17px;
  font-weight: 850;
  box-shadow: 0 8px 18px rgba(7, 88, 223, .20);
}
.notice-shell {
  width: min(1808px, calc(100% - 96px));
}
.notice-hero {
  grid-template-columns: 650px minmax(0, 1fr);
  gap: 80px;
  align-items: center;
  margin: 0 0 22px;
  border-radius: 18px;
  background:
    linear-gradient(116deg, rgba(240, 247, 255, .94) 0%, rgba(223, 236, 255, .92) 52%, rgba(230, 241, 255, .96) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .88);
}
.notice-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(122deg, transparent 0 73%, rgba(255, 255, 255, .24) 73% 100%),
    linear-gradient(28deg, transparent 0 80%, rgba(198, 219, 249, .24) 80% 100%);
}
.hero-metrics {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  min-width: 0;
  padding-left: clamp(44px, 4.2vw, 86px);
}
.hero-copy h1 {
  margin: 0 0 16px;
  font-size: 28px;
  line-height: 1.28;
  color: #071a3c;
  font-weight: 950;
}
.notice-stat-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(214, 225, 241, .92);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .92), rgba(246, 250, 255, .82));
  box-shadow: 0 12px 26px rgba(43, 78, 128, .08);
  backdrop-filter: blur(12px);
}
.notice-stat-card.closing {
  background: linear-gradient(135deg, rgba(255, 255, 255, .94), rgba(255, 246, 238, .86));
}
.stat-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  color: #0758ff;
  background: radial-gradient(circle at 34% 30%, #fff 0 32%, #e5efff 33% 100%);
}
.stat-icon svg {
  width: 42px;
  height: 42px;
}
.stat-icon.clock {
  color: #ff651d;
  background: radial-gradient(circle at 34% 30%, #fff 0 32%, #ffe8dc 33% 100%);
}
.stat-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 6px;
}
.stat-copy > span {
  color: #12213d;
  font-size: 16px;
  font-weight: 850;
}
.stat-copy strong {
  color: #0758df;
  font-size: 38px;
  line-height: 1;
  font-weight: 950;
}
.stat-copy strong span {
  font-size: inherit;
  font-weight: inherit;
}
.stat-copy strong.orange {
  color: #f05a19;
}
.stat-copy em {
  margin-left: 3px;
  color: inherit;
  font-size: 21px;
  font-style: normal;
}
.stat-copy small {
  color: #68768d;
  font-size: 15px;
  font-weight: 650;
}
.notice-search {
  width: min(850px, 100%);
  height: 66px;
  grid-template-columns: minmax(0, 1fr) 38px 58px;
  padding: 0 12px 0 28px;
  border: 1px solid #dce6f5;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(28, 59, 105, .12);
}
.notice-search input {
  padding: 0;
  color: #14213d;
  font-size: 17px;
  font-weight: 650;
}
.notice-search input::placeholder {
  color: #8a96aa;
}
.notice-search-clear {
  opacity: .35;
}
.search-lens {
  align-self: center;
  justify-self: center;
  color: #0758ff;
}
.popular-searches {
  width: min(850px, 100%);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  color: #071a3c;
  font-weight: 850;
}
.popular-searches button {
  min-width: 62px;
  min-height: 34px;
  padding: 0 18px;
  border: 1px solid #dbe5f4;
  border-radius: 11px;
  background: rgba(255, 255, 255, .76);
  color: #33445f;
  box-shadow: 0 4px 10px rgba(43, 78, 128, .08);
  font-size: 14px;
  font-weight: 750;
}
.notice-layout {
  grid-template-columns: 430px minmax(0, 1fr);
  gap: 22px;
  padding-bottom: 26px;
}
.filter-stack {
  align-self: start;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}
.filter-stack.smooth-follow {
  will-change: transform;
}
.filter-card,
.notice-results {
  border: 1px solid #e0e8f4;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(50, 84, 132, .07);
}
.filter-card {
  padding: 18px 24px 22px;
}
.filter-head {
  padding-bottom: 18px;
  border-bottom: 1px solid #e4ebf5;
}
.filter-title {
  font-size: 21px;
}
.filter-title svg {
  display: none;
}
.filter-reset {
  color: #5f6b80;
}
.filter-group {
  margin: 0;
  padding: 8px 0;
  border-bottom: 1px solid #e6edf6;
}
.filter-actions {
  padding-top: 18px;
}
.filter-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 7px;
}
.filter-label {
  margin-bottom: 0;
  color: #111b31;
  font-size: 16px;
  font-weight: 900;
}
.native-filter-select,
.hidden-filter-group {
  display: none;
}
.filter-chip-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px 12px;
}
.filter-chip,
.filter-more {
  min-height: 31px;
  border: 1px solid #d8e2ef;
  border-radius: 7px;
  background: #fff;
  color: #44536b;
  font-size: 14px;
  font-weight: 750;
}
.filter-chip.active {
  border-color: #7eb0ff;
  background: #ecf4ff;
  color: #0758ff;
  box-shadow: inset 0 0 0 1px rgba(7, 88, 255, .18);
}
.filter-check-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px 16px;
}
.filter-check,
.period-options label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 22px;
  color: #4a5870;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
}
.filter-check input,
.period-options input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: #0758ff;
}
.filter-check.active {
  color: #0758ff;
}
.filter-more {
  padding: 0 14px;
}
.notice-select {
  height: 36px;
  border-radius: 8px;
}
.status-segment {
  grid-template-columns: repeat(5, minmax(0, auto));
  justify-content: start;
  gap: 14px;
}
.status-option {
  position: relative;
  height: 28px;
  padding-left: 25px;
  border: 0;
  background: transparent;
  color: #4a5870;
  font-size: 14px;
}
.status-option::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 16px;
  height: 16px;
  border: 1px solid #cbd7e7;
  border-radius: 4px;
  background: #fff;
}
.status-option.active {
  border: 0;
  background: transparent;
  color: #0758ff;
}
.status-option.active::before {
  border-color: #0758ff;
  background: #0758ff;
}
.status-option.active::after {
  content: "✓";
  position: absolute;
  left: 3px;
  top: 2px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}
.period-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, auto));
  gap: 14px;
  margin-bottom: 8px;
}
.filter-primary,
.filter-secondary,
.notice-info-card {
  display: none;
}
.notice-results {
  padding: 10px 18px 8px;
}
.results-toolbar {
  min-height: 34px;
  padding: 0 8px 4px;
  margin-bottom: 4px;
  border-bottom: 1px solid #e6edf6;
}
.total-count {
  display: flex;
  align-items: baseline;
  gap: 22px;
  font-size: 22px;
  font-weight: 950;
}
.total-count strong {
  margin-left: 0;
  font-size: 16px;
}
.total-count strong b {
  color: #0758ff;
  font-size: 16px;
}
.sort-select {
  width: 148px;
  height: 40px;
  border-radius: 8px;
}
.view-toggle {
  background: transparent;
  gap: 8px;
  height: 40px;
}
.view-toggle button {
  width: 44px;
  height: 40px;
  border: 1px solid #d9e3f1;
  border-radius: 8px;
}
.view-toggle button.active {
  border-color: #9cc1ff;
  background: #eef5ff;
}
.notice-list {
  gap: 8px;
}
.notice-card {
  grid-template-columns: minmax(0, 1fr) 230px 128px 32px;
  gap: 14px;
  min-height: 88px;
  align-items: center;
  padding: 14px 18px;
  border: 1px solid #e2eaf5;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 10px rgba(36, 62, 101, .04);
  cursor: pointer;
}
.notice-list.grid-view .notice-card {
  grid-template-columns: minmax(0, 1fr);
  min-height: 148px;
}
.notice-list.grid-view .card-side {
  border-left: 0;
  padding-left: 0;
}
.notice-list.grid-view .card-state {
  justify-content: flex-start;
}
.notice-list.grid-view .favorite-button {
  position: absolute;
  top: 14px;
  right: 14px;
}
.notice-card:hover {
  border-color: #c5d9f8;
  box-shadow: 0 10px 20px rgba(36, 62, 101, .08);
}
.info-page-shell {
  width: min(100% - 48px, 1180px);
  margin: 54px auto 80px;
}
.info-page-hero {
  display: grid;
  gap: 12px;
  padding: 34px 38px;
  border: 1px solid #e0e8f4;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(50, 84, 132, .07);
}
.info-page-hero span {
  color: #0758ff;
  font-size: 14px;
  font-weight: 950;
}
.info-page-hero h1 {
  margin: 0;
  color: #101b35;
  font-size: 34px;
  line-height: 1.18;
  font-weight: 950;
}
.info-page-hero p {
  max-width: 760px;
  margin: 0;
  color: #5d6d86;
  font-size: 16px;
  line-height: 1.75;
  font-weight: 700;
}
.info-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}
.info-page-card {
  display: grid;
  gap: 10px;
  min-height: 178px;
  padding: 24px;
  border: 1px solid #e0e8f4;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(50, 84, 132, .07);
}
.info-page-card h2 {
  margin: 0;
  color: #101b35;
  font-size: 21px;
  line-height: 1.25;
  font-weight: 950;
}
.info-page-card p {
  margin: 0;
  color: #5d6d86;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 650;
}
.info-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eaf2ff;
  color: #0758ff;
  font-size: 13px;
  font-weight: 950;
}
.info-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.info-section-head span {
  color: #0758ff;
  font-size: 12px;
  font-weight: 950;
}
.info-section-head h2 {
  margin: 4px 0 0;
  color: #101b35;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 950;
}
.info-section-head small {
  color: #61708a;
  font-weight: 800;
}
.info-primary-link,
.info-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--notice-blue);
  border-radius: 10px;
  background: var(--notice-blue);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
}
.info-card-link.ghost {
  background: #fff;
  color: var(--notice-blue);
}
.info-card-link.disabled {
  border-color: #d8e1ed;
  background: #f3f6fa;
  color: #8290a6;
}
.info-loading,
.info-guest-box,
.info-empty-box {
  padding: 24px;
  border: 1px solid #e0e8f4;
  border-radius: 16px;
  background: #fff;
  color: #5d6d86;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(50, 84, 132, .06);
}
.info-guest-box,
.info-empty-box {
  display: grid;
  gap: 12px;
}
.info-guest-box strong,
.info-empty-box strong {
  color: #101b35;
  font-size: 20px;
  font-weight: 950;
}
.info-guest-box p,
.info-empty-box p {
  margin: 0;
  line-height: 1.7;
}
.guide-hero h1,
.announcement-hero h1 {
  margin: 14px 0 12px;
  color: #081b48;
  font-size: 38px;
  line-height: 1.16;
  font-weight: 950;
}
.guide-hero p,
.announcement-hero p {
  max-width: 720px;
  margin: 0;
  color: #53627a;
  font-size: 16px;
  line-height: 1.75;
  font-weight: 700;
}
.interest-dashboard { display: grid; width: min(100% - 48px, 1180px); gap: 16px; }
.interest-dashboard [hidden] { display: none; }
.interest-dashboard .sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; white-space: nowrap; }
.interest-hero { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-width: 0; padding: 22px 24px; border: 1px solid var(--notice-line); border-radius: 16px; background: linear-gradient(135deg, #fff 0%, #f3f7ff 100%); box-shadow: 0 5px 18px rgba(39, 70, 125, .07); }
.interest-hero-copy { display: grid; min-width: 0; gap: 7px; }
.interest-hero h1 { margin: 0; color: #081b48; font-size: clamp(27px, 3vw, 32px); line-height: 1.2; font-weight: 950; letter-spacing: -.035em; word-break: keep-all; overflow-wrap: anywhere; }
.interest-hero p { max-width: 720px; margin: 0; color: #53627a; font-size: 14px; line-height: 1.6; font-weight: 700; }
.interest-add-link,
.interest-state-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--notice-blue); border-radius: 10px; background: var(--notice-blue); color: #fff; font: inherit; font-size: 13px; font-weight: 900; text-decoration: none; cursor: pointer; }
.interest-add-link { flex: 0 0 auto; }
.interest-add-link:hover,
.interest-state-link:hover { border-color: var(--notice-blue-2); background: var(--notice-blue-2); }
.interest-add-link:focus-visible,
.interest-state-link:focus-visible,
.interest-list-head h2:focus-visible,
.interest-dashboard .info-card-link:focus-visible,
.interest-remove-button:focus-visible,
.interest-toast button:focus-visible { outline: 3px solid rgba(7, 88, 255, .26); outline-offset: 2px; }
.interest-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: hidden; border: 1px solid var(--notice-line); border-radius: 14px; background: #fff; box-shadow: 0 4px 14px rgba(39, 70, 125, .05); }
.interest-metrics article { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; min-height: 70px; padding: 14px 18px; border-right: 1px solid var(--notice-line); }
.interest-metrics article:last-child { border-right: 0; }
.interest-metrics article > span { color: #61708a; font-size: 13px; font-weight: 850; word-break: keep-all; }
.interest-metrics strong { display: inline-flex; align-items: center; min-width: 34px; color: var(--notice-blue); font-size: 28px; line-height: 1; font-weight: 950; }
.interest-metric-skeleton { display: block; width: 34px; height: 28px; border-radius: 7px; background: linear-gradient(90deg, #e8eef7 25%, #f7f9fc 50%, #e8eef7 75%); background-size: 200% 100%; animation: interest-shimmer 1.25s linear infinite; }
.interest-list-panel { min-width: 0; padding: 18px; border: 1px solid var(--notice-line); border-radius: 16px; background: rgba(255, 255, 255, .97); box-shadow: 0 5px 18px rgba(39, 70, 125, .07); }
.interest-list-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 14px; }
.interest-list-head > div { min-width: 0; }
.interest-list-head > div > span { color: var(--notice-blue-2); font-size: 10px; font-weight: 950; letter-spacing: .08em; }
.interest-list-head h2 { margin: 3px 0 0; color: #101b35; font-size: 19px; line-height: 1.25; font-weight: 950; }
.interest-list-head small { color: #718096; font-size: 12px; font-weight: 800; text-align: right; }
.interest-list-head-right { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.interest-sort-label { display: flex; align-items: center; gap: 6px; color: #61708a; font-size: 12px; font-weight: 850; }
.interest-sort-select { height: 32px; padding: 0 10px; border: 1px solid var(--notice-line); border-radius: 8px; background: #fff; color: #101b35; font-size: 12px; font-weight: 800; }
.interest-sort-select:focus-visible { outline: 2px solid var(--notice-blue); outline-offset: 1px; }
.interest-loading,
.interest-bookmark-list { display: grid; gap: 10px; }
.interest-skeleton-card,
.interest-bookmark-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, 220px) minmax(250px, auto); align-items: center; gap: 16px; min-width: 0; min-height: 104px; padding: 16px; border: 1px solid #dfe7f2; border-radius: 13px; background: #fff; }
.interest-skeleton-card i { display: block; height: 42px; border-radius: 8px; background: linear-gradient(90deg, #e8eef7 25%, #f7f9fc 50%, #e8eef7 75%); background-size: 200% 100%; animation: interest-shimmer 1.25s linear infinite; }
.interest-skeleton-card i:nth-child(2) { height: 30px; }
.interest-skeleton-card i:last-child { height: 44px; }
.interest-state { display: grid; place-items: center; min-height: 210px; padding: 30px 18px; border: 1px dashed #cfd9e8; border-radius: 13px; background: #f9fbfe; text-align: center; }
.interest-state > span { color: var(--notice-blue-2); font-size: 11px; font-weight: 950; letter-spacing: .04em; }
.interest-state strong { margin-top: 8px; color: #101b35; font-size: 20px; font-weight: 950; }
.interest-state p { max-width: 520px; margin: 7px 0 16px; color: #61708a; font-size: 14px; line-height: 1.65; font-weight: 700; }
.interest-error { border-color: #efc9c9; background: #fffafa; }
.interest-error > span { color: #c83b3b; }
.interest-bookmark-card { transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.interest-bookmark-card:hover { border-color: #cbd8eb; box-shadow: 0 7px 18px rgba(39, 70, 125, .08); transform: translateY(-1px); }
.interest-bookmark-card.is-soon { border-color: #ffd0a8; background: #fffaf6; }
.interest-bookmark-card.is-stale { background: #f8fafc; }
.interest-card-main { min-width: 0; }
.interest-card-title-row { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-bottom: 7px; }
.info-status,
.info-dday { display: inline-flex; align-items: center; justify-content: center; min-height: 26px; padding: 0 9px; border-radius: 7px; font-size: 12px; font-weight: 900; }
.info-status.is-open { background: #e5f0ff; color: var(--notice-blue); }
.info-status.is-soon { background: var(--notice-orange-soft); color: #d8550c; }
.info-status.is-neutral,
.info-status.is-stale { background: #eef2f7; color: #64748b; }
.info-dday { background: #f2f6fc; color: #31415d; }
.interest-bookmark-card h3 { margin: 0; color: #101b35; font-size: 17px; line-height: 1.4; font-weight: 950; word-break: keep-all; overflow-wrap: anywhere; }
.interest-bookmark-card p { margin: 5px 0 0; color: #61708a; font-size: 13px; line-height: 1.5; font-weight: 700; overflow-wrap: anywhere; }
.interest-card-meta { display: grid; min-width: 0; gap: 7px; margin: 0; line-height: 1.4; overflow-wrap: anywhere; }
.interest-card-meta div { display: grid; min-width: 0; gap: 2px; }
.interest-card-meta dt { color: #718096; font-size: 11px; font-weight: 800; }
.interest-card-meta dd { min-width: 0; margin: 0; color: #25324b; font-size: 13px; font-weight: 850; }
.interest-card-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.interest-dashboard .info-card-link,
.interest-remove-button { min-height: 44px; padding: 0 13px; border-radius: 9px; font-size: 12.5px; white-space: nowrap; }
.interest-dashboard .info-card-link.ghost { background: #fff; color: var(--notice-blue); }
.interest-dashboard .info-card-link.disabled { border-color: #d8e1ed; background: #f3f6fa; color: #8290a6; pointer-events: none; }
.interest-remove-button { display: inline-flex; align-items: center; justify-content: center; border: 1px solid #e0b9b9; background: #fff; color: #b52f2f; font-family: inherit; font-weight: 900; cursor: pointer; }
.interest-remove-button:hover { border-color: #c94a4a; background: #fff5f5; }
.interest-remove-button:disabled,
.interest-toast button:disabled { cursor: wait; opacity: .55; }
.interest-toast { position: fixed; z-index: 1100; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 18px; max-width: min(440px, calc(100vw - 48px)); min-height: 54px; padding: 10px 12px 10px 18px; border-radius: 12px; background: #101b35; color: #fff; box-shadow: 0 14px 34px rgba(8, 27, 72, .24); font-size: 13px; font-weight: 800; }
.interest-toast span { min-width: 0; overflow-wrap: anywhere; }
.interest-toast[data-type="error"] { background: #7f1d1d; }
.interest-toast button { flex: 0 0 auto; min-height: 44px; padding: 0 11px; border: 1px solid rgba(255, 255, 255, .36); border-radius: 8px; background: transparent; color: #fff; font: inherit; font-weight: 900; cursor: pointer; }
.interest-toast button:hover { background: rgba(255, 255, 255, .12); }
@keyframes interest-shimmer { to { background-position: -200% 0; } }
@media (max-width: 899px) and (min-width: 640px) {
  .interest-skeleton-card,
  .interest-bookmark-card { grid-template-columns: minmax(0, 1fr) minmax(180px, auto); }
  .interest-skeleton-card i:last-child,
  .interest-card-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .interest-skeleton-card i:last-child { width: 62%; }
}
@media (max-width: 639px) {
  .interest-dashboard { width: min(100% - 24px, 1180px); gap: 12px; margin-top: 24px; }
  .interest-hero { align-items: flex-start; flex-direction: column; gap: 14px; padding: 18px; }
  .interest-hero h1 { font-size: clamp(24px, 8vw, 28px); }
  .interest-add-link { width: 100%; }
  .interest-metrics article { align-items: flex-start; flex-direction: column; gap: 7px; min-height: 76px; padding: 12px; }
  .interest-metrics strong { font-size: 24px; }
  .interest-list-panel { padding: 14px; border-radius: 14px; }
  .interest-list-head { align-items: flex-start; flex-direction: column; gap: 5px; }
  .interest-list-head small { text-align: left; }
  .interest-list-head-right { width: 100%; justify-content: space-between; }
  .interest-skeleton-card,
  .interest-bookmark-card { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 14px; }
  .interest-card-meta { padding-top: 11px; border-top: 1px solid #e7edf5; }
  .interest-card-actions { justify-content: flex-start; }
  .interest-card-actions > * { flex: 1 1 108px; }
  .interest-state { min-height: 230px; padding: 28px 14px; }
  .interest-state-link { width: 100%; }
  .interest-toast { right: 12px; bottom: 12px; left: 12px; max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .interest-metric-skeleton,
  .interest-skeleton-card i { animation: none; }
  .interest-bookmark-card { transition: none; }
}
.guide-workflow {
  width: min(100% - 48px, 1220px);
}
.guide-hero {
  padding: 42px 40px;
  border: 1px solid #dce7f6;
  border-radius: 22px;
  background:
    linear-gradient(90deg, rgba(18, 99, 241, .10), transparent 42%),
    #fff;
  box-shadow: 0 12px 30px rgba(50, 84, 132, .08);
}
.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 22px;
  margin-top: 22px;
}
.guide-step-line {
  display: grid;
  gap: 14px;
}
.guide-step-line article {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 14px;
  padding: 24px;
  border: 1px solid #e0e8f4;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 9px 22px rgba(50, 84, 132, .06);
}
.guide-step-line span {
  grid-row: span 2;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: #eaf2ff;
  color: var(--notice-blue);
  font-size: 18px;
  font-weight: 950;
}
.guide-step-line strong {
  color: #101b35;
  font-size: 21px;
  font-weight: 950;
}
.guide-step-line p {
  margin: 0;
  color: #61708a;
  line-height: 1.7;
  font-weight: 700;
}
.guide-checklist {
  display: grid;
  gap: 16px;
}
.guide-check-card,
.guide-check-grid article {
  border: 1px solid #dfe8f5;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 9px 22px rgba(50, 84, 132, .06);
}
.guide-check-card {
  display: grid;
  gap: 14px;
  padding: 24px;
}
.guide-check-card.primary {
  background:
    radial-gradient(circle at 100% 0%, rgba(22, 166, 106, .12), transparent 34%),
    #fff;
}
.guide-check-card h2 {
  margin: 0 0 4px;
  color: #101b35;
  font-size: 23px;
  font-weight: 950;
}
.guide-check-card label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #31415d;
  font-weight: 800;
  line-height: 1.55;
}
.guide-check-card input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--notice-blue);
}
.guide-check-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.guide-check-grid article {
  padding: 20px;
}
.guide-check-grid strong {
  color: #101b35;
  font-size: 18px;
  font-weight: 950;
}
.guide-check-grid p {
  margin: 8px 0 0;
  color: #61708a;
  line-height: 1.65;
  font-weight: 700;
}
.announcement-board { display: grid; width: min(100% - 48px, 1180px); gap: 16px; }
.announcement-hero { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; border: 1px solid var(--notice-line); border-radius: 16px; background: linear-gradient(135deg, #fff 0%, #f3f7ff 100%); box-shadow: 0 5px 18px rgba(39, 70, 125, .07); }
.announcement-hero-copy { display: grid; min-width: 0; gap: 7px; }
.announcement-hero h1 { margin: 0; color: #081b48; font-size: clamp(27px, 3vw, 32px); line-height: 1.2; font-weight: 950; letter-spacing: -.035em; word-break: keep-all; }
.announcement-hero p { margin: 0; color: #53627a; font-size: 14px; line-height: 1.6; font-weight: 700; }
.announcement-hero-link,
.announcement-compose-toggle,
.announcement-create-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border: 1px solid var(--notice-blue); border-radius: 10px; background: var(--notice-blue); color: #fff; font-size: 13px; font-weight: 900; text-decoration: none; cursor: pointer; }
.announcement-hero-link { flex: 0 0 auto; padding: 0 16px; }
.announcement-hero-link:hover,
.announcement-compose-toggle:hover,
.announcement-create-button:hover { border-color: var(--notice-blue-2); background: var(--notice-blue-2); }
.announcement-hero-link:focus-visible,
.announcement-compose-toggle:focus-visible,
.announcement-create-button:focus-visible,
.announcement-search input:focus-visible,
.announcement-item summary:focus-visible,
.announcement-delete:focus-visible,
.announcement-pagination button:focus-visible { outline: 3px solid rgba(18, 99, 241, .24); outline-offset: 3px; }
.announcement-panel { padding: 18px; border: 1px solid var(--notice-line); border-radius: 16px; background: rgba(255, 255, 255, .96); box-shadow: 0 5px 18px rgba(39, 70, 125, .07); }
.announcement-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.announcement-toolbar-title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.announcement-toolbar-title > span { color: var(--notice-blue-2); font-size: 10px; font-weight: 950; letter-spacing: .08em; }
.announcement-toolbar-title h2 { margin: 0; color: #101b35; font-size: 18px; font-weight: 950; }
.announcement-toolbar-title p { margin: 2px 0 0; color: #718096; font-size: 11.5px; font-weight: 750; }
.announcement-toolbar-actions { display: flex; align-items: center; gap: 8px; }
.announcement-search { position: relative; }
.announcement-search > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.announcement-search input { width: min(280px, 34vw); min-height: 44px; padding: 0 13px; border: 1px solid #d7e2f1; border-radius: 10px; background: #fbfdff; color: #172033; font: inherit; font-size: 13px; font-weight: 750; }
.announcement-compose-toggle { padding: 0 14px; }
.announcement-admin-panel { margin-bottom: 14px; padding: 16px; border: 1px solid #cfe0f7; border-radius: 14px; background: #f7faff; }
.announcement-admin-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.announcement-admin-head strong { color: #101b35; font-size: 15px; font-weight: 950; }
.announcement-admin-head p { margin: 3px 0 0; color: #64748b; font-size: 12px; font-weight: 700; }
.announcement-admin-head button { display: grid; width: 34px; height: 34px; place-items: center; border: 0; border-radius: 9px; background: #e9f1fc; color: #41526d; font-size: 20px; cursor: pointer; }
.announcement-admin-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 10px; }
.announcement-admin-form label { display: grid; gap: 6px; color: #172033; font-size: 12px; font-weight: 900; }
.announcement-admin-form label b { color: #c7283f; }
.announcement-admin-form label em { color: #718096; font-size: 10px; font-style: normal; }
.announcement-admin-form input,
.announcement-admin-form textarea { width: 100%; padding: 10px 12px; border: 1px solid #d7e1ef; border-radius: 10px; background: #fff; color: #172033; font: inherit; font-weight: 700; }
.announcement-admin-form input { min-height: 44px; }
.announcement-admin-form textarea { min-height: 92px; resize: vertical; line-height: 1.55; }
.announcement-admin-form input:focus,
.announcement-admin-form textarea:focus { outline: 3px solid rgba(18, 99, 241, .12); border-color: var(--notice-blue); }
.announcement-admin-actions { display: flex; grid-column: 1 / -1; align-items: center; justify-content: space-between; gap: 12px; }
.announcement-admin-actions p { margin: 0; min-height: 18px; color: #64748b; font-size: 12px; font-weight: 800; }
.announcement-admin-actions p[data-type="success"] { color: #087443; }
.announcement-admin-actions p[data-type="error"] { color: #c7283f; }
.announcement-create-button { min-width: 120px; padding: 0 16px; }
.announcement-create-button:disabled { cursor: wait; opacity: .6; }
.announcement-results { min-height: 250px; }
.announcement-loading { display: grid; gap: 8px; }
.announcement-loading[hidden],
.announcement-error[hidden],
.announcement-empty[hidden] { display: none; }
.announcement-loading i { display: block; height: 64px; border: 1px solid #e5ecf5; border-radius: 12px; background: linear-gradient(100deg, #f4f7fb 20%, #eaf0f7 45%, #f4f7fb 70%); }
.announcement-error,
.announcement-empty { display: grid; min-height: 210px; place-items: center; align-content: center; gap: 7px; padding: 24px; border: 1px dashed #cddbea; border-radius: 12px; background: #f8fbff; text-align: center; }
.announcement-error strong,
.announcement-empty strong { color: #172033; font-size: 15px; font-weight: 950; }
.announcement-error p,
.announcement-empty p { margin: 0; color: #64748b; font-size: 12.5px; font-weight: 700; }
.announcement-error button { min-height: 40px; margin-top: 4px; padding: 0 14px; border: 0; border-radius: 9px; background: #173f7a; color: #fff; font-weight: 900; cursor: pointer; }
.announcement-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.announcement-list.is-loading { opacity: .55; pointer-events: none; }
.announcement-item { overflow: hidden; border: 1px solid #dfe8f4; border-radius: 12px; background: #fff; transition: border-color .16s ease, box-shadow .16s ease; }
.announcement-item[open] { border-color: #a8c8f5; box-shadow: 0 7px 18px rgba(39, 70, 125, .08); }
.announcement-item summary { display: grid; grid-template-columns: 92px minmax(0, 1fr) 24px; min-height: 64px; align-items: center; gap: 14px; padding: 10px 16px; list-style: none; cursor: pointer; }
.announcement-item summary::-webkit-details-marker { display: none; }
.announcement-item summary:hover { background: #f8fbff; }
.announcement-item time { color: var(--notice-blue-2); font-size: 12px; font-weight: 900; }
.announcement-item summary strong { min-width: 0; overflow-wrap: anywhere; color: #172033; font-size: 14px; font-weight: 900; }
.announcement-toggle-icon { position: relative; width: 24px; height: 24px; border-radius: 50%; background: #eef4fc; }
.announcement-toggle-icon::before,
.announcement-toggle-icon::after { position: absolute; top: 11px; left: 7px; width: 10px; height: 2px; border-radius: 2px; background: #46617f; content: ''; }
.announcement-toggle-icon::after { transform: rotate(90deg); transition: transform .16s ease; }
.announcement-item[open] .announcement-toggle-icon::after { transform: rotate(0); }
.announcement-item-body { padding: 0 16px 16px 122px; border-top: 1px solid #edf2f8; }
.announcement-item-body > p { margin: 0; padding-top: 14px; overflow-wrap: anywhere; white-space: pre-wrap; color: #53627a; font-size: 13px; line-height: 1.7; font-weight: 700; }
.announcement-item-actions { display: flex; justify-content: flex-end; margin-top: 12px; }
.announcement-delete { min-height: 44px; padding: 0 14px; border: 1px solid #efc3ca; border-radius: 9px; background: #fff; color: #b92940; font-size: 12px; font-weight: 900; cursor: pointer; }
.announcement-delete:hover { background: #fff1f3; }
.announcement-pagination { display: flex; align-items: center; justify-content: center; gap: 6px; padding-top: 14px; }
.announcement-pagination[hidden] { display: none; }
.announcement-pagination button { min-width: 40px; min-height: 40px; padding: 0 10px; border: 1px solid #dbe6f4; border-radius: 9px; background: #fff; color: #33415c; font-size: 12px; font-weight: 900; cursor: pointer; }
.announcement-pagination button.active { border-color: var(--notice-blue); background: var(--notice-blue); color: #fff; }
.announcement-pagination button:disabled { cursor: default; opacity: .4; }
@media (max-width: 639px) {
  .announcement-board { width: min(100% - 24px, 1180px); gap: 12px; margin-top: 24px; }
  .announcement-hero { align-items: flex-start; flex-direction: column; gap: 13px; padding: 18px; }
  .announcement-hero h1 { font-size: clamp(24px, 8vw, 28px); }
  .announcement-hero-link { width: 100%; }
  .announcement-panel { padding: 14px; }
  .announcement-toolbar { align-items: stretch; flex-direction: column; }
  .announcement-toolbar-actions { align-items: stretch; flex-direction: column; }
  .announcement-search input { width: 100%; }
  .announcement-admin-form { grid-template-columns: 1fr; }
  .announcement-admin-actions { align-items: stretch; flex-direction: column; }
  .announcement-create-button { width: 100%; }
  .announcement-item summary { grid-template-columns: minmax(0, 1fr) 24px; gap: 5px 10px; padding: 12px; }
  .announcement-item time { grid-column: 1; grid-row: 1; }
  .announcement-item summary strong { grid-column: 1; grid-row: 2; }
  .announcement-toggle-icon { grid-column: 2; grid-row: 1 / 3; }
  .announcement-item-body { padding: 0 12px 12px; }
  .announcement-delete { width: 100%; }
  .announcement-pagination { flex-wrap: wrap; }
}
.notice-title-line {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.card-main {
  gap: 0;
}
.notice-card-title {
  margin: 0;
  overflow: hidden;
  color: #101b35;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 18px;
  line-height: 1.34;
  font-weight: 950;
}
.agency-line {
  display: flex;
  align-items: center;
  min-width: 0;
  margin-top: 6px;
  color: #63718a;
  font-size: 13px;
  font-weight: 760;
}
.agency-name {
  overflow: hidden;
  max-width: min(460px, 100%);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  padding-left: 18px;
  border-left: 1px solid #e2e9f3;
}
.side-meta {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: #31415d;
  font-size: 13px;
  font-weight: 700;
}
.side-meta span {
  color: #8290a6;
  font-weight: 850;
}
.side-meta strong {
  color: #28364e;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card-state {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  padding-top: 0;
}
.status-badge,
.dday-badge {
  min-width: 56px;
  height: 28px;
  border-radius: 9px;
  font-size: 13px;
}
.status-open {
  background: #eaf9f1;
  border-color: #c8efd9;
  color: #009b56;
}
.status-soon {
  background: #fff7ee;
  border-color: #ffd9bd;
  color: #ff5b18;
}
.status-closed {
  background: #f3f5f8;
  border-color: #e2e8f0;
  color: #5c6678;
}
.status-review {
  background: #fff8db;
  border-color: #f3d06a;
  color: #8a6512;
}
.dday-badge {
  border: 1px solid #c8efd9;
  background: #effaf4;
  color: #009b56;
  box-shadow: none;
}
.dday-orange,
.dday-red {
  border-color: #ffd9bd;
  background: #fff7ee;
  color: #ff5b18;
}
.favorite-button {
  position: static;
  align-self: center;
  justify-self: center;
  width: 30px;
  height: 30px;
  color: #61708a;
  font-size: 0;
}
.favorite-button svg {
  width: 24px;
  height: 24px;
}
.favorite-button.active {
  color: #0758df;
}
.pagination {
  margin: 18px 0 6px;
}
.notice-actions {
  position: relative;
}
.notification-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 80;
  width: min(390px, calc(100vw - 28px));
  max-height: min(520px, calc(100vh - 130px));
  overflow: hidden;
  border: 1px solid #dce6f2;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(15, 31, 61, .22);
}
.notification-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 16px;
  border-bottom: 1px solid #e5edf7;
}
.notification-panel-head strong {
  color: #101b35;
  font-size: 17px;
  font-weight: 950;
}
.notification-panel-head button {
  border: 0;
  background: transparent;
  color: #0758df;
  font-size: 13px;
  font-weight: 850;
}
.notification-list {
  max-height: 410px;
  overflow-y: auto;
}
.notification-item {
  width: 100%;
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 16px;
  border: 0;
  border-bottom: 1px solid #edf2f8;
  background: #fff;
  text-align: left;
}
.notification-item:hover,
.notification-item.unread {
  background: #f5f9ff;
}
.notification-severity {
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 999px;
  background: #1263f1;
}
.notification-severity.warning {
  background: #ff7a1a;
}
.notification-severity.error {
  background: #e11d48;
}
.notification-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.notification-copy strong,
.notification-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.notification-copy strong {
  color: #17233b;
  font-size: 14px;
  font-weight: 900;
}
.notification-copy small {
  color: #66758e;
  font-size: 13px;
  font-weight: 650;
}
.notification-empty {
  padding: 28px 16px;
  color: #66758e;
  text-align: center;
  font-weight: 750;
}
.auth-check {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 10px !important;
  color: #40506a;
  font-size: 14px;
  font-weight: 750;
}
.auth-check input {
  width: 18px;
  min-height: 18px;
  accent-color: #0758df;
}
.auth-register-link {
  margin: 2px 0 0;
  color: #66758e;
  text-align: center;
  font-size: 14px;
  font-weight: 750;
}
.auth-register-link a {
  color: #0758df;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.auth-error.success {
  border-color: #b9efd5;
  background: #effbf5;
  color: #08764a;
}
.modal-confirm:disabled {
  cursor: default;
  opacity: .62;
}
.auth-user-badge {
  cursor: pointer;
}
.register-page {
  min-height: 100vh;
}
.register-shell {
  width: min(100% - 48px, 960px);
  margin: 58px auto 80px;
}
.register-panel {
  display: grid;
  grid-template-columns: minmax(260px, .9fr) minmax(340px, 1.1fr);
  gap: 36px;
  align-items: start;
  padding: 42px;
  border: 1px solid #dce5f2;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 22px 55px rgba(39, 70, 125, .12);
}
.register-copy {
  display: grid;
  gap: 12px;
  padding-top: 10px;
}
.register-copy p {
  margin: 0;
  color: #0758df;
  font-size: 14px;
  font-weight: 900;
}
.register-copy h1 {
  margin: 0;
  color: #101b35;
  font-size: 38px;
  line-height: 1.15;
  font-weight: 950;
}
.register-copy span {
  color: #66758e;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 700;
}
.register-form {
  padding: 0;
}
.register-form .modal-confirm {
  margin-top: 6px;
}
.register-disabled {
  margin: 0;
}
.register-login-link {
  text-decoration: none;
}
@media (max-width: 820px) {
  .register-header .notice-nav {
    display: none;
  }
  .register-shell {
    width: min(100% - 24px, 960px);
    margin: 28px auto 52px;
  }
  .register-panel {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 26px 18px;
    border-radius: 18px;
  }
  .register-copy h1 {
    font-size: 30px;
  }
}
.account-modal {
  width: min(720px, 100%);
}
.account-tabs {
  display: flex;
  gap: 8px;
  padding: 0 28px 14px;
  border-bottom: 1px solid #e5edf7;
}
.account-tabs button {
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid #d9e3f1;
  border-radius: 9px;
  background: #fff;
  color: #53627a;
  font-weight: 850;
}
.account-tabs button.active {
  border-color: #9cc1ff;
  background: #eef5ff;
  color: #0758df;
}
.account-panel {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
  padding: 20px 28px 30px;
}
.account-panel.active {
  display: grid;
}
.account-panel label {
  display: grid;
  gap: 7px;
  color: #22314d;
  font-weight: 850;
}
.account-panel input {
  width: 100%;
  min-height: 44px;
  border: 1px solid #d7e1ef;
  border-radius: 10px;
  padding: 0 12px;
  outline: 0;
}
.account-panel input:focus {
  border-color: #1263f1;
  box-shadow: 0 0 0 3px rgba(18, 99, 241, .12);
}
.account-region-field {
  display: grid;
  grid-column: 1 / -1;
  gap: 9px;
  color: #22314d;
  font-weight: 850;
}
.account-region-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.account-region-option {
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid #d7e1ef;
  border-radius: 9px;
  background: #fff;
  color: #46556d;
  font-size: 14px;
  font-weight: 850;
}
.account-region-option:hover {
  border-color: #9cc1ff;
  background: #f5f9ff;
  color: #0758df;
}
.account-region-option.active {
  border-color: #1263f1;
  background: #1263f1;
  color: #fff;
  box-shadow: 0 8px 16px rgba(18, 99, 241, .18);
}
.account-choice-field {
  display: grid;
  gap: 9px;
  color: #22314d;
  font-weight: 850;
}
.account-choice-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.account-choice-option {
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid #d7e1ef;
  border-radius: 9px;
  background: #fff;
  color: #46556d;
  font-size: 14px;
  font-weight: 850;
}
.account-choice-option:hover {
  border-color: #9cc1ff;
  background: #f5f9ff;
  color: #0758df;
}
.account-choice-option.active {
  border-color: #1263f1;
  background: #1263f1;
  color: #fff;
  box-shadow: 0 8px 16px rgba(18, 99, 241, .18);
}
.account-dropdown-field {
  position: relative;
  display: grid;
  gap: 8px;
  color: #22314d;
  font-weight: 850;
}
.account-dropdown-field.account-wide {
  grid-column: 1 / -1;
}
.account-interest-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}
.account-dropdown-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid #d7e1ef;
  border-radius: 10px;
  background: #fff;
  color: #22314d;
  text-align: left;
  font-weight: 850;
}
.account-dropdown-button span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-dropdown-button em {
  color: #687891;
  font-style: normal;
  font-weight: 950;
}
.account-dropdown-button[aria-expanded="true"] {
  border-color: #1263f1;
  box-shadow: 0 0 0 3px rgba(18, 99, 241, .12);
}
.account-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 90;
  display: grid;
  gap: 4px;
  max-height: 218px;
  overflow-y: auto;
  padding: 8px;
  border: 1px solid #d7e1ef;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(15, 31, 61, .16);
}
.account-dropdown-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 38px;
  padding: 0 11px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #344258;
  text-align: left;
  font-size: 14px;
  font-weight: 800;
}
.account-dropdown-option:hover {
  background: #f3f7ff;
  color: #0758df;
}
.account-dropdown-option.active {
  background: #eaf2ff;
  color: #0758df;
}
.account-dropdown-option.active::after {
  content: "선택됨";
  margin-left: 10px;
  color: #1263f1;
  font-size: 12px;
  font-weight: 900;
}
.account-panel .modal-confirm,
.account-danger,
.account-panel .auth-check,
.account-profile-hint {
  grid-column: 1 / -1;
}
.account-profile-hint {
  margin: 2px 0 0;
  color: #64748b;
  font-size: 13px;
  font-weight: 750;
}
.account-profile-hint a {
  color: var(--notice-blue);
  font-weight: 900;
}
/* 알림 탭 체크박스 정렬 교정: .account-panel input(전폭 44px 입력 스타일)이 체크박스를
   덮어써 커지고 라벨이 오른쪽으로 밀리던 문제를 표준 체크박스+라벨 정렬로 되돌린다. */
.account-panel .auth-check {
  align-items: center;
  padding: 3px 0;
}
.account-panel .auth-check input {
  flex: 0 0 auto;
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
}
.account-panel .auth-check span {
  flex: 1 1 auto;
}
.notification-pref-group {
  display: grid;
  grid-column: 1 / -1;
  gap: 9px;
  padding: 15px;
  border: 1px solid #dce6f3;
  border-radius: 12px;
  background: #f8fbff;
}
.notification-pref-group > strong {
  color: #17233a;
  font-size: 15px;
  font-weight: 950;
}
.notification-pref-group > p {
  margin: -3px 0 3px;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}
.notification-pref-group .auth-check {
  min-height: 30px;
}
.notification-pref-master {
  padding-bottom: 9px !important;
  border-bottom: 1px solid #dce6f3;
}
.notification-pref-children {
  display: grid;
  gap: 7px;
  padding-left: 14px;
}
.notification-pref-children.is-disabled {
  opacity: .52;
}
.notification-pref-group .auth-check small {
  display: block;
  margin-top: 2px;
  color: #7a879b;
  font-size: 11px;
  font-weight: 650;
}
.notification-pref-required {
  background: #f8fafc;
}
.notification-pref-required .auth-check {
  color: #526078;
}
.account-danger {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 16px;
  border: 1px solid #ffd1d6;
  border-radius: 12px;
  background: #fff7f8;
}
.account-danger strong {
  color: #a61b2b;
  font-weight: 950;
}
.account-danger p {
  margin: 0;
  color: #6f4250;
  font-size: 14px;
  line-height: 1.5;
}
.account-danger button {
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  background: #c81e3a;
  color: #fff;
  font-weight: 900;
}
@media (max-width: 1280px) {
  .notice-header {
    height: auto;
    min-height: 98px;
    flex-wrap: wrap;
    padding: 18px 28px;
  }
  .notice-nav {
    order: 3;
    width: 100%;
    height: 58px;
    justify-content: flex-start;
    overflow-x: auto;
  }
  .notice-nav a {
    height: 58px;
  }
  .notice-shell {
    width: min(100% - 34px, 1808px);
  }
  .notice-hero {
    grid-template-columns: 1fr;
  }
  .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-copy {
    padding-left: 0;
  }
}
@media (max-width: 960px) {
  .notice-brand {
    min-width: 0;
  }
  .brand-copy strong {
    font-size: 23px;
  }
  .notice-layout {
    grid-template-columns: 1fr;
  }
  .info-page-grid {
    grid-template-columns: 1fr;
  }
  .guide-layout {
    grid-template-columns: 1fr;
  }
  .notice-card {
    grid-template-columns: 1fr;
  }
  .card-side {
    border-left: 0;
    padding-left: 0;
  }
  .card-state {
    justify-content: flex-start;
  }
  .favorite-button {
    position: absolute;
    right: 18px;
    bottom: 16px;
  }
}
@media (max-width: 720px) {
  .notice-header {
    padding: 14px 16px;
  }
  .gov-emblem {
    width: 58px;
    height: 42px;
  }
  .notice-actions {
    min-width: 0;
  }
  .notice-login {
    min-height: 44px;
    padding: 0 16px;
  }
  .info-page-shell,
  .guide-workflow {
    width: min(100% - 24px, 1260px);
    margin-top: 24px;
  }
  .guide-hero {
    padding: 20px;
    border-radius: 16px;
  }
  .guide-hero h1 {
    font-size: 28px;
  }
  .guide-step-line article {
    grid-template-columns: 1fr;
  }
  .guide-step-line span {
    grid-row: auto;
  }
  .hero-metrics {
    grid-template-columns: 1fr;
  }
  .notice-stat-card {
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 14px;
  }
  .stat-icon {
    width: 60px;
    height: 60px;
  }
  .stat-icon svg {
    width: 34px;
    height: 34px;
  }
  .stat-copy strong {
    font-size: 32px;
  }
  .stat-copy em {
    font-size: 18px;
  }
  .notice-search {
    height: auto;
    grid-template-columns: 1fr 38px 42px;
    padding: 10px 10px 10px 18px;
  }
  .popular-searches {
    flex-wrap: wrap;
  }
  .filter-chip-grid,
  .filter-check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .account-panel {
    grid-template-columns: 1fr;
  }
  .account-interest-grid {
    grid-template-columns: 1fr;
  }
  .account-tabs {
    padding: 0 18px 12px;
    overflow-x: auto;
  }
}

.notice-detail-page {
  background:
    radial-gradient(circle at 76% 8%, rgba(18, 99, 241, .12), transparent 30%),
    linear-gradient(180deg, #f8fbff 0%, #f3f7fc 42%, #f7faff 100%);
}
.notice-detail-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 34px 0 72px;
}
.detail-breadcrumb {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  color: var(--notice-blue);
  font-weight: 850;
  text-decoration: none;
}
.detail-breadcrumb::before {
  content: "‹";
  margin-right: 7px;
  font-size: 22px;
  line-height: 1;
}
.notice-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
  align-items: stretch;
  padding: 34px;
  border: 1px solid var(--notice-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--notice-shadow);
}
.detail-title-block {
  min-width: 0;
}
.detail-badges {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.detail-title-block h1 {
  margin: 0;
  color: #0f1f3d;
  font-size: 34px;
  line-height: 1.28;
  font-weight: 950;
  letter-spacing: 0;
}
.detail-title-block p {
  max-width: 820px;
  margin: 18px 0 0;
  color: #52627b;
  font-size: 16px;
  line-height: 1.75;
  font-weight: 650;
}
.detail-agency-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  padding: 22px;
  border: 1px solid #dce7f6;
  border-radius: 16px;
  background: linear-gradient(180deg, #f7fbff 0%, #edf5ff 100%);
}
.detail-agency-box span,
.detail-agency-box small {
  color: #65748c;
  font-size: 13px;
  font-weight: 800;
}
.detail-agency-box strong {
  color: #13213b;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 950;
}
.notice-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  margin-top: 24px;
  align-items: start;
}
.detail-main-panel,
.detail-side-panel {
  border: 1px solid var(--notice-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--notice-shadow-sm);
}
.detail-main-panel {
  padding: 28px;
}
.detail-side-panel {
  position: sticky;
  top: 84px;
  padding: 24px;
}
.detail-main-panel h2,
.detail-side-panel h2 {
  margin: 0 0 18px;
  color: #14213d;
  font-size: 20px;
  font-weight: 950;
}
.detail-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.detail-field {
  min-width: 0;
  padding: 15px 16px;
  border: 1px solid #e2eaf5;
  border-radius: 12px;
  background: #f8fbff;
}
.detail-field span {
  display: block;
  margin-bottom: 6px;
  color: #65748c;
  font-size: 13px;
  font-weight: 850;
}
.detail-field strong {
  display: block;
  overflow-wrap: anywhere;
  color: #14213d;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 850;
}
.detail-actions {
  display: grid;
  gap: 10px;
}
.detail-action,
.detail-back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid #cbd8ea;
  border-radius: 10px;
  background: #fff;
  color: #14213d;
  font-weight: 900;
  text-decoration: none;
}
.detail-action.primary {
  border-color: var(--notice-blue);
  background: var(--notice-blue);
  color: #fff;
  box-shadow: 0 10px 24px rgba(18, 99, 241, .22);
}
.detail-side-panel p {
  margin: 18px 0 0;
  color: #65748c;
  font-size: 13px;
  line-height: 1.6;
  font-weight: 700;
}
.notice-detail-empty {
  text-align: center;
}
.notice-detail-empty h1 {
  margin: 80px 0 12px;
  font-size: 30px;
}
.notice-detail-empty p {
  margin: 0 auto 24px;
  color: #65748c;
}

@media (max-width: 980px) {
  .notice-detail-hero,
  .notice-detail-layout {
    grid-template-columns: 1fr;
  }
  .detail-side-panel {
    position: static;
  }
}

@media (max-width: 640px) {
  .notice-detail-shell {
    width: min(100% - 28px, 1180px);
    padding-top: 22px;
  }
  .notice-detail-hero,
  .detail-main-panel,
  .detail-side-panel {
    border-radius: 14px;
    padding: 20px;
  }
  .detail-title-block h1 {
    font-size: 24px;
  }
  .detail-field-grid {
    grid-template-columns: 1fr;
  }
  .detail-back-link {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }
}

.notice-detail-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 58% 5%, rgba(95, 154, 255, .20), transparent 27%),
    linear-gradient(180deg, #f8fbff 0%, var(--notice-bg) 36%, #f6f9fd 100%);
}
.detail-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 170px minmax(260px, 410px) minmax(360px, 1fr) 96px;
  align-items: center;
  gap: 24px;
  height: 74px;
  padding: 0 32px;
  border-bottom: 1px solid #dfe6ef;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(14px);
}
.detail-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #111a2e;
  text-decoration: none;
}
.detail-brand strong {
  font-size: 22px;
  font-weight: 950;
}
.detail-logo-mark {
  position: relative;
  width: 30px;
  height: 30px;
  transform: rotate(45deg);
}
.detail-logo-mark::before,
.detail-logo-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 9px;
  background: #16a66a;
}
.detail-logo-mark::after {
  transform: rotate(90deg);
  background: rgba(22, 166, 106, .82);
}
.detail-top-search {
  display: grid;
  grid-template-columns: 1fr 42px;
  align-items: center;
  height: 44px;
  border: 1px solid #d8e1ed;
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}
.detail-top-search input {
  min-width: 0;
  height: 100%;
  padding: 0 18px;
  border: 0;
  outline: 0;
  color: #152238;
  font-size: 14px;
}
.detail-top-search button,
.detail-user-tools button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: #111a2e;
}
.detail-top-search svg {
  width: 21px;
  height: 21px;
}
.detail-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 34px;
}
.detail-nav a {
  color: #111a2e;
  text-decoration: none;
  font-size: 15px;
  font-weight: 850;
  white-space: nowrap;
}
.detail-user-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}
.detail-user-tools button {
  width: 34px;
  height: 34px;
}
.detail-user-tools svg {
  width: 22px;
  height: 22px;
}
.detail-user-tools span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ead7ff;
  color: #6123b8;
  font-weight: 950;
}
.detail-page-shell {
  width: min(1240px, calc(100% - 72px));
  margin: 0 auto;
  padding: 30px 0 48px;
}
.detail-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  margin-bottom: 18px;
  padding: 0 14px;
  border: 1px solid #d9e3f1;
  border-radius: 10px;
  background: rgba(255, 255, 255, .86);
  color: #31415d;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(36, 62, 101, .05);
}
.detail-back::before {
  content: "<";
  color: var(--notice-blue);
  font-weight: 950;
}
.detail-hero-card,
.detail-section-card,
.detail-mini-card,
.detail-interest-box {
  border: 1px solid #e2eaf5;
  border-radius: 16px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 10px 24px rgba(50, 84, 132, .07);
}
.detail-hero-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  border-radius: 18px;
  background:
    radial-gradient(circle at 93% 0%, rgba(18, 99, 241, .12), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, .98) 0%, #f3f8ff 100%);
}
.detail-hero-content {
  min-width: 0;
  padding: 34px 36px 30px;
}
.detail-chip-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.detail-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 950;
}
.detail-chip.danger {
  border-color: #b9d2ff;
  background: #e5f0ff;
  color: var(--notice-blue);
}
.detail-chip.red {
  border-color: #ffd0a8;
  background: var(--notice-orange-soft);
  color: #f06416;
}
.detail-chip.blue {
  border-color: #d3e2f7;
  background: #e6f0ff;
  color: #1263f1;
}
.detail-chip.green {
  border-color: #b9e9d3;
  background: #dff6e9;
  color: #10945c;
}
.detail-hero-content h1 {
  max-width: 980px;
  margin: 0;
  color: #101b35;
  font-size: 40px;
  line-height: 1.25;
  font-weight: 950;
  letter-spacing: 0;
}
.detail-meta-line {
  display: flex;
  align-items: center;
  gap: 42px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.detail-meta-line div {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.detail-meta-line small {
  color: #4f5f74;
  font-size: 14px;
  font-weight: 750;
}
.detail-meta-line strong {
  color: #101a2f;
  font-size: 15px;
  font-weight: 950;
}
.detail-round-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #eaf2ff;
  color: var(--notice-blue);
  box-shadow: inset 0 0 0 2px rgba(18, 99, 241, .16);
}
.detail-round-icon.map::before {
  content: "";
  width: 9px;
  height: 9px;
  border: 3px solid currentColor;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}
.detail-round-icon.money::before {
  content: "W";
  font-size: 12px;
  font-weight: 950;
}
.detail-round-icon.percent::before {
  content: "%";
  font-size: 14px;
  font-weight: 950;
}
.detail-summary-strip {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.6fr;
  align-items: center;
  gap: 0;
  margin-top: 32px;
  min-height: 76px;
  padding: 0 24px;
  border: 1px solid #dfe9f8;
  border-radius: 14px;
  background: rgba(255, 255, 255, .78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .72);
}
.detail-summary-strip div {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 22px;
  border-left: 1px solid #dfe9f8;
}
.detail-summary-strip div:first-child {
  border-left: 0;
  padding-left: 0;
}
.detail-summary-strip span {
  color: #5f6c7d;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}
.detail-summary-strip strong {
  overflow: hidden;
  color: #101a2f;
  font-size: 15px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.detail-summary-strip em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--notice-blue);
  color: #fff;
  font-style: normal;
  font-size: 13px;
  font-weight: 950;
}
.detail-hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 330px;
  padding: 32px 28px 90px 0;
}
.detail-art-sun {
  position: absolute;
  width: 188px;
  height: 188px;
  border-radius: 50%;
  background: #eef8f2;
}
.detail-hero-art svg {
  position: relative;
  width: min(330px, 100%);
  height: auto;
}
.detail-tabs {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid #dde5ee;
  background: #fff;
}
.detail-tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 78px;
  border-bottom: 3px solid transparent;
  color: #667386;
  text-decoration: none;
  font-size: 15px;
  font-weight: 850;
}
.detail-tabs a.active {
  border-bottom-color: var(--notice-blue);
  color: var(--notice-blue);
  background: linear-gradient(180deg, transparent 60%, rgba(18, 99, 241, .06));
}
.tab-icon,
.section-icon,
.detail-file-icon,
.detail-interest-button span {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.tab-icon {
  width: 22px;
  height: 22px;
  color: currentColor;
}
.tab-icon::before,
.section-icon::before {
  content: "";
  width: 13px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 3px;
}
.tab-icon.user::before {
  width: 15px;
  height: 15px;
  border-radius: 50%;
}
.tab-icon.clip::before {
  width: 9px;
  height: 18px;
  border-radius: 6px;
  transform: rotate(35deg);
}
.tab-icon.call::before {
  width: 16px;
  height: 16px;
  border-radius: 50% 50% 42% 42%;
}
.detail-section-card {
  margin-top: 26px;
  padding: 32px;
}
.detail-section-card h2,
.detail-mini-card h2 {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  color: #111a2e;
  font-size: 25px;
  line-height: 1.3;
  font-weight: 950;
}
.section-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--notice-blue), #0b55da);
  color: #fff;
  box-shadow: 0 7px 14px rgba(18, 99, 241, .16);
}
.section-icon::before {
  width: 12px;
  height: 15px;
  border-width: 1.8px;
}
.section-icon.puzzle::before {
  width: 13px;
  height: 13px;
  border-radius: 4px;
}
.section-icon.clip::before {
  width: 8px;
  height: 17px;
  border-radius: 6px;
  transform: rotate(35deg);
}
.section-icon.phone::before {
  width: 14px;
  height: 14px;
  border-radius: 50%;
}
.detail-section-card > p,
.detail-bullet-copy p,
.detail-mini-card p {
  margin: 0 0 10px;
  color: #293548;
  font-size: 15px;
  line-height: 1.8;
  font-weight: 650;
}
.detail-bullet-copy p:first-child {
  color: #111a2e;
  font-weight: 950;
}
.detail-support-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: center;
}
.detail-support-art {
  display: flex;
  align-items: center;
  justify-content: center;
}
.detail-support-art svg {
  width: min(300px, 100%);
  height: auto;
}
.detail-more-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  margin-top: 16px;
  padding: 0 24px;
  border: 1px solid var(--notice-blue);
  border-radius: 10px;
  color: var(--notice-blue);
  background: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 950;
}
.detail-more-button:hover {
  background: var(--notice-blue);
  color: #fff;
}
.detail-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr .72fr;
  gap: 16px;
  margin-top: 22px;
}
.detail-mini-card {
  min-width: 0;
  padding: 26px 28px;
}
.detail-mini-card:nth-child(4) {
  grid-column: 1 / 2;
}
.detail-file-card {
  grid-row: span 2;
}
.detail-source-card {
  grid-row: span 2;
}
.detail-file-list {
  display: grid;
  gap: 16px;
}
.detail-file-item {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid #dfe7ef;
}
.detail-file-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.detail-file-icon {
  width: 19px;
  height: 22px;
  color: #667386;
}
.detail-file-icon::before {
  content: "";
  width: 15px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 3px;
}
.detail-file-item strong,
.detail-file-item small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.detail-file-item strong {
  color: #293548;
  font-size: 14px;
  font-weight: 850;
}
.detail-file-item small {
  margin-top: 4px;
  color: #758296;
  font-size: 12px;
  font-weight: 700;
}
.detail-file-item a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #cbd8ea;
  border-radius: 8px;
  color: var(--notice-blue);
  text-decoration: none;
  font-size: 13px;
  font-weight: 850;
}
.detail-empty-copy {
  color: #758296;
}
.detail-source-card p strong,
.detail-mini-card a {
  color: var(--notice-blue);
}
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.detail-tags span {
  padding: 4px 9px;
  border-radius: 999px;
  background: #eaf2ff;
  color: #0758df;
  font-size: 14px;
  font-weight: 850;
}
.detail-interest-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 26px;
  padding: 24px 34px;
  background:
    radial-gradient(circle at 95% 12%, rgba(18, 99, 241, .12), transparent 30%),
    rgba(255, 255, 255, .97);
}
.detail-interest-box > div {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 0 18px;
  align-items: center;
}
.detail-star {
  grid-row: span 2;
  width: 42px;
  height: 42px;
  background: #ffc640;
  clip-path: polygon(50% 0, 62% 34%, 98% 35%, 70% 57%, 80% 92%, 50% 72%, 20% 92%, 30% 57%, 2% 35%, 38% 34%);
}
.detail-interest-box strong {
  color: #111a2e;
  font-size: 18px;
  font-weight: 950;
}
.detail-interest-box p {
  margin: 5px 0 0;
  color: #667386;
  font-size: 14px;
  font-weight: 700;
}
.detail-interest-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 30px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--notice-blue), #0b55da);
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 950;
  box-shadow: 0 12px 22px rgba(18, 99, 241, .22);
}
.detail-interest-button span {
  width: 15px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 2px;
}
.detail-not-found {
  text-align: center;
}
.detail-not-found h1 {
  margin: 80px 0 12px;
  font-size: 30px;
}

@media (max-width: 1180px) {
  .detail-topbar {
    grid-template-columns: 170px minmax(220px, 1fr) auto;
    height: auto;
    min-height: 74px;
    padding: 14px 24px;
  }
  .detail-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }
  .detail-user-tools {
    grid-column: 3;
    grid-row: 1;
  }
  .detail-hero-card {
    grid-template-columns: 1fr;
  }
  .detail-hero-art {
    display: none;
  }
}

@media (max-width: 920px) {
  .detail-page-shell {
    width: min(100% - 34px, 1200px);
  }
  .detail-summary-strip,
  .detail-tabs,
  .detail-support-card,
  .detail-bottom-grid {
    grid-template-columns: 1fr;
  }
  .detail-summary-strip {
    padding: 14px 18px;
    gap: 12px;
  }
  .detail-summary-strip div {
    border-left: 0;
    padding: 0;
  }
  .detail-tabs a {
    justify-content: flex-start;
    padding: 0 22px;
    min-height: 56px;
  }
  .detail-file-card,
  .detail-source-card,
  .detail-mini-card:nth-child(4) {
    grid-row: auto;
    grid-column: auto;
  }
}

@media (max-width: 680px) {
  .detail-topbar {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }
  .detail-top-search {
    grid-column: 1 / -1;
    order: 3;
  }
  .detail-nav {
    display: none;
  }
  .detail-user-tools {
    grid-column: 2;
  }
  .detail-page-shell {
    width: min(100% - 24px, 1200px);
    padding-top: 18px;
  }
  .detail-hero-content,
  .detail-section-card,
  .detail-mini-card,
  .detail-interest-box {
    padding: 22px;
  }
  .detail-hero-content h1 {
    font-size: 29px;
  }
  .detail-meta-line {
    gap: 16px;
  }
  .detail-file-item {
    grid-template-columns: 24px minmax(0, 1fr);
  }
  .detail-file-item a {
    grid-column: 2;
    width: fit-content;
  }
  .detail-interest-box {
    align-items: stretch;
    flex-direction: column;
  }
  .detail-interest-button {
    width: 100%;
  }
}

/* Notice list horizontal card view */
.notice-list,
.notice-list.grid-view {
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.notice-card.notice-table-row,
.notice-list.grid-view .notice-card.notice-table-row {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) minmax(124px, 150px);
  gap: 18px;
  align-items: center;
  min-height: 118px;
  padding: 16px 20px 16px 18px;
  border: 1px solid #d6e2f1;
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(18, 99, 241, .055) 0, rgba(18, 99, 241, 0) 76px),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 8px 18px rgba(37, 64, 102, .055);
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease, transform .16s ease;
}
.notice-card.notice-table-row::before {
  content: "";
  position: absolute;
  inset: 14px auto 14px 0;
  width: 4px;
  border-radius: 0 999px 999px 0;
  background: #4f8df7;
  opacity: .82;
}
.notice-card.notice-table-row.notice-card-status-soon::before {
  background: #f47b20;
}
.notice-card.notice-table-row.notice-card-status-open::before {
  background: #20a96b;
}
.notice-card.notice-table-row:hover {
  border-color: #b7cdec;
  background:
    linear-gradient(90deg, rgba(18, 99, 241, .085) 0, rgba(18, 99, 241, 0) 86px),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 14px 30px rgba(37, 64, 102, .105);
  transform: translateY(-2px);
}
.notice-table-row > div {
  min-width: 0;
  display: flex;
  align-items: center;
  height: auto;
  padding: 0;
  border-left: 0;
}
.notice-bookmark-cell {
  align-self: stretch;
  justify-content: center;
}
.notice-title-cell {
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
}
.notice-meta-line {
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  color: #5d6d86;
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.25;
  white-space: nowrap;
}
.notice-meta-line span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.notice-meta-line span + span::before {
  content: "|";
  margin-right: 6px;
  color: #aebbd0;
}
.notice-card-title {
  width: 80%;
  max-width: 80%;
  margin: 0;
  overflow: hidden;
  color: #0f1f3d;
  display: -webkit-box;
  font-size: 16.5px;
  line-height: 1.3;
  font-weight: 950;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow-wrap: anywhere;
}
.notice-target-row {
  width: min(100%, 760px);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid #d9e7fa;
  border-radius: 10px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
}
.notice-target-label {
  flex: 0 0 auto;
  color: #1263f1;
  font-size: 12px;
  font-weight: 950;
  line-height: 24px;
  white-space: nowrap;
}
.notice-target-line {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: #24324c;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.45;
  max-height: 53px;
}
.notice-target-chip {
  max-width: 100%;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  overflow: hidden;
  border: 1px solid #b8d2fb;
  border-radius: 999px;
  background: #ffffff;
  color: #0758df;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12.5px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(18, 99, 241, .06);
}
.notice-target-chip.is-empty {
  border-color: #dde4ee;
  background: #f6f8fb;
  color: #778397;
}
.notice-target-text {
  min-width: 0;
  overflow: hidden;
  color: #17406f;
  display: -webkit-box;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow-wrap: anywhere;
}
.notice-target-text.is-empty {
  color: #778397;
}
.notice-dday-cell {
  align-items: flex-end;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  align-self: stretch;
  padding-left: 12px;
  text-align: right;
}
.notice-table-row .status-badge {
  min-width: 0;
  width: fit-content;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 11px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 950;
  letter-spacing: 0;
  white-space: nowrap;
}
.notice-table-row .status-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: currentColor;
}
.notice-table-row .status-badge.status-open {
  border-color: #b9ebd0;
  background: #eafbf1;
  color: #08794b;
}
.notice-table-row .status-badge.status-soon {
  border-color: #ffd2aa;
  background: #fff3e8;
  color: #c94f0a;
}
.notice-table-row .status-badge.status-review {
  border-color: #c9d9ff;
  background: #edf4ff;
  color: #2458c9;
}
.notice-table-row .status-badge.status-closed {
  border-color: #d9e0ea;
  background: #f3f6fa;
  color: #6b778a;
}
.notice-deadline-value {
  max-width: 100%;
  overflow: hidden;
  color: #d92f2f;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 25px;
  font-weight: 950;
  line-height: 1.05;
  letter-spacing: 0;
}
.notice-deadline-value.dday-orange {
  color: #d96a00;
}
.notice-deadline-value.dday-green {
  color: #16844a;
}
.notice-deadline-period {
  max-width: 100%;
  overflow: hidden;
  color: #758296;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}
.notice-table-row .favorite-button,
.notice-list.grid-view .notice-table-row .favorite-button {
  position: static;
  width: 42px;
  height: 42px;
  border: 1px solid #dbe7f6;
  border-radius: 14px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
  color: #6b7c94;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 6px 14px rgba(39, 70, 125, .07);
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.notice-table-row .favorite-button:hover {
  border-color: #9fc0f5;
  background: linear-gradient(180deg, #ffffff 0%, #e9f2ff 100%);
  color: var(--notice-blue);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 9px 18px rgba(18, 99, 241, .12);
  transform: translateY(-2px);
}
.notice-table-row .favorite-button svg {
  width: 22px;
  height: 22px;
}
.notice-table-row .favorite-button.active {
  border-color: #8cb6ff;
  background: linear-gradient(180deg, #e8f1ff 0%, #dceaff 100%);
  color: #0f5fe8;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 8px 18px rgba(18, 99, 241, .16);
}
.notice-table-row .favorite-button.active svg path {
  fill: currentColor;
  stroke: currentColor;
}

@media (max-width: 1180px) {
  .notice-table-row,
  .notice-list.grid-view .notice-table-row {
    grid-template-columns: 54px minmax(0, 1fr) minmax(112px, 132px);
    gap: 13px;
    padding: 13px 15px;
  }
  .notice-deadline-value {
    font-size: 21px;
  }
}

@media (min-width: 901px) {
  body.notice-page:not(.notice-detail-page) .notice-header {
    min-height: 72px;
    height: 72px;
  }
}

@media (max-width: 900px) {
  .notice-list,
  .notice-list.grid-view {
    gap: 10px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .notice-card.notice-table-row,
  .notice-list.grid-view .notice-card.notice-table-row {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 9px 12px;
    min-height: 0;
    padding: 15px;
    border: 1px solid #dde8f6;
    border-radius: 12px;
    background:
      linear-gradient(90deg, rgba(18, 99, 241, .055) 0, rgba(18, 99, 241, 0) 62px),
      #ffffff;
    box-shadow: 0 8px 18px rgba(36, 62, 101, .06);
  }
  .notice-card.notice-table-row:hover {
    background: #fbfdff;
    box-shadow: 0 10px 22px rgba(36, 62, 101, .09);
    transform: none;
  }
  .notice-bookmark-cell {
    grid-row: 1 / span 2;
    align-items: flex-start;
    justify-content: center;
    padding-top: 2px;
  }
  .notice-title-cell {
    grid-column: 2;
    order: 1;
  }
  .notice-table-row > .notice-dday-cell {
    grid-column: 2;
    order: 2;
    align-items: flex-start;
    padding-left: 0;
    text-align: left;
  }
  .notice-card-title {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 16px;
  }
  .notice-meta-line {
    font-size: 11.5px;
  }
  .notice-target-line {
    max-height: none;
  }
  .notice-table-row .status-badge {
    height: 25px;
    font-size: 12px;
  }
  .notice-deadline-value {
    font-size: 19px;
  }
}

/* 2026 full notice page redesign */
body.notice-page:not(.notice-detail-page) {
  --ui-bg: #f4f7fb;
  --ui-surface: #ffffff;
  --ui-surface-2: #f8fafc;
  --ui-line: #dfe7f1;
  --ui-line-strong: #cbd7e6;
  --ui-text: #172033;
  --ui-muted: #64748b;
  --ui-blue: #2563eb;
  --ui-blue-soft: #eaf2ff;
  --ui-green: #059669;
  --ui-green-soft: #e9f8f1;
  --ui-orange: #e65f2b;
  --ui-orange-soft: #fff0e8;
  --ui-shadow: 0 12px 28px rgba(31, 48, 74, .08);
  --ui-shadow-soft: 0 6px 18px rgba(31, 48, 74, .06);
  color: var(--ui-text);
  background:
    linear-gradient(180deg, #eef4fb 0, #f7f9fc 280px, var(--ui-bg) 100%);
}

body.notice-page:not(.notice-detail-page) .notice-header {
  display: grid;
  grid-template-columns: minmax(260px, auto) minmax(360px, 1fr) auto;
  gap: 18px;
  height: 72px;
  padding: 0 40px;
  border-bottom: 1px solid rgba(203, 215, 230, .82);
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 2px 14px rgba(31, 48, 74, .04);
}

body.notice-page:not(.notice-detail-page) .notice-brand {
  grid-column: 1;
  justify-self: start;
  order: initial;
  min-width: 300px;
  gap: 14px;
}

body.notice-page:not(.notice-detail-page) .gov-emblem {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .82), rgba(238, 244, 251, .82)),
    linear-gradient(135deg, #1f66e5, #0f766e);
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, .14), 0 8px 18px rgba(31, 48, 74, .08);
}

body.notice-page:not(.notice-detail-page) .brand-copy strong {
  display: block;
  color: #111827;
  font-size: 23px;
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: 0;
}

body.notice-page:not(.notice-detail-page) .brand-copy small {
  display: block;
  margin-top: 4px;
  color: var(--ui-muted);
  font-size: 12.5px;
  font-weight: 750;
}

body.notice-page:not(.notice-detail-page) .notice-nav {
  grid-column: 2;
  justify-self: center;
  order: initial;
  gap: 8px;
  width: min(100%, 620px);
  justify-content: center;
  padding: 0 8px;
  border: 1px solid #e5ebf3;
  border-radius: 999px;
  background: #f8fafc;
}

body.notice-page:not(.notice-detail-page) .notice-nav a {
  height: 42px;
  min-width: 72px;
  justify-content: center;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  color: #475569;
  font-size: 14px;
  font-weight: 850;
}

body.notice-page:not(.notice-detail-page) .notice-nav a.active {
  color: #ffffff;
  background: var(--ui-text);
}

body.notice-page:not(.notice-detail-page) .notice-nav a.active::after {
  display: none;
}

body.notice-page:not(.notice-detail-page) .notice-actions {
  grid-column: 3;
  justify-self: end;
  order: initial;
  min-width: 0;
}

body.notice-page:not(.notice-detail-page) .notice-bell,
body.notice-page:not(.notice-detail-page) .notice-login {
  border: 1px solid #dce6f2;
  background: #ffffff;
  color: #263244;
  box-shadow: 0 4px 12px rgba(31, 48, 74, .05);
}

body.notice-page:not(.notice-detail-page) .notice-login {
  min-height: 44px;
  border-radius: 12px;
  font-weight: 900;
}

body.notice-page:not(.notice-detail-page) .notice-login:not(.auth-logout) {
  border-color: #1f5fe5;
  background: linear-gradient(180deg, #2b74f4 0%, #1558dc 100%);
  color: #ffffff;
}

body.notice-page:not(.notice-detail-page) .notice-shell {
  width: min(1440px, calc(100% - 40px));
}

body.notice-page:not(.notice-detail-page) .notice-hero {
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 18px;
  align-items: stretch;
  overflow: visible;
}

body.notice-page:not(.notice-detail-page) .hero-copy {
  order: 1;
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 28px 32px;
  border: 1px solid #dce7f3;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(248,250,252,.94)),
    linear-gradient(135deg, rgba(37,99,235,.08), rgba(5,150,105,.08));
  box-shadow: var(--ui-shadow);
}

body.notice-page:not(.notice-detail-page) .hero-copy h1 {
  margin: 0;
  color: #111827;
  font-size: 28px;
  line-height: 1.18;
  font-weight: 950;
}

body.notice-page:not(.notice-detail-page) .notice-search {
  width: min(760px, 100%);
  height: 58px;
  grid-template-columns: minmax(0, 1fr) 40px 46px;
  padding: 0 8px 0 18px;
  border: 1px solid #cdd9e9;
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(31, 48, 74, .08);
}

body.notice-page:not(.notice-detail-page) .notice-search input {
  font-size: 15.5px;
  font-weight: 750;
}

body.notice-page:not(.notice-detail-page) .search-lens {
  width: 24px;
  height: 24px;
  color: var(--ui-blue);
}

body.notice-page:not(.notice-detail-page) .popular-searches {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow-x: auto;
  padding-bottom: 2px;
}

body.notice-page:not(.notice-detail-page) .popular-searches span {
  flex: 0 0 auto;
  margin-right: 2px;
  color: #334155;
  font-size: 13px;
  font-weight: 950;
}

body.notice-page:not(.notice-detail-page) .popular-searches button {
  flex: 0 0 auto;
  height: 34px;
  padding: 0 14px;
  border: 1px solid #dce6f2;
  border-radius: 999px;
  background: #ffffff;
  color: #334155;
  font-size: 13px;
  font-weight: 850;
  box-shadow: 0 3px 8px rgba(31, 48, 74, .04);
}

body.notice-page:not(.notice-detail-page) .popular-searches button:hover {
  border-color: #b8c9e4;
  color: var(--ui-blue);
}

body.notice-page:not(.notice-detail-page) .hero-metrics {
  order: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

body.notice-page:not(.notice-detail-page) .notice-stat-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  border: 1px solid #dce7f3;
  border-radius: 20px;
  background: var(--ui-surface);
  box-shadow: var(--ui-shadow-soft);
}

body.notice-page:not(.notice-detail-page) .notice-stat-card.closing {
  background: linear-gradient(180deg, #ffffff 0%, #fff8f4 100%);
}

body.notice-page:not(.notice-detail-page) .stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--ui-blue-soft);
  color: var(--ui-blue);
}

body.notice-page:not(.notice-detail-page) .stat-icon.clock {
  background: var(--ui-orange-soft);
  color: var(--ui-orange);
}

body.notice-page:not(.notice-detail-page) .stat-copy span {
  display: block;
  color: var(--ui-muted);
  font-size: 13px;
  font-weight: 850;
}

body.notice-page:not(.notice-detail-page) .stat-copy strong {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 7px;
  color: var(--ui-blue);
  font-size: 34px;
  line-height: 1;
  font-weight: 950;
}

body.notice-page:not(.notice-detail-page) .stat-copy strong.orange {
  color: var(--ui-orange);
}

body.notice-page:not(.notice-detail-page) .stat-copy em {
  color: #475569;
  font-size: 15px;
  font-style: normal;
  font-weight: 900;
}

body.notice-page:not(.notice-detail-page) .notice-layout {
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

body.notice-page:not(.notice-detail-page) .filter-stack {
  gap: 12px;
  padding-right: 2px;
}

body.notice-page:not(.notice-detail-page) .filter-card,
body.notice-page:not(.notice-detail-page) .notice-info-card,
body.notice-page:not(.notice-detail-page) .notice-results {
  border: 1px solid #dfe8f3;
  border-radius: 18px;
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--ui-shadow-soft);
}

body.notice-page:not(.notice-detail-page) .filter-card {
  padding: 18px;
}

body.notice-page:not(.notice-detail-page) .filter-head {
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #edf1f6;
}

body.notice-page:not(.notice-detail-page) .filter-title {
  gap: 8px;
  color: #111827;
  font-size: 17px;
}

body.notice-page:not(.notice-detail-page) .filter-reset {
  color: #64748b;
  font-size: 13px;
  font-weight: 850;
}

body.notice-page:not(.notice-detail-page) .filter-label {
  margin-bottom: 9px;
  color: #233044;
  font-size: 13.5px;
  font-weight: 950;
}

body.notice-page:not(.notice-detail-page) .filter-chip-grid,
body.notice-page:not(.notice-detail-page) .filter-check-grid {
  gap: 8px;
}

body.notice-page:not(.notice-detail-page) .filter-chip,
body.notice-page:not(.notice-detail-page) .filter-check {
  min-height: 36px;
  border: 1px solid #dbe4ef;
  border-radius: 10px;
  background: #ffffff;
  color: #415066;
  font-size: 13px;
  font-weight: 850;
}

body.notice-page:not(.notice-detail-page) .filter-chip.active,
body.notice-page:not(.notice-detail-page) .filter-check.active {
  border-color: #92b4f6;
  background: var(--ui-blue-soft);
  color: #1558dc;
}

body.notice-page:not(.notice-detail-page) .filter-check input,
body.notice-page:not(.notice-detail-page) .period-options input {
  accent-color: var(--ui-blue);
}

body.notice-page:not(.notice-detail-page) .status-segment {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  padding: 4px;
  border: 1px solid #dbe4ef;
  border-radius: 12px;
  background: #f8fafc;
}

body.notice-page:not(.notice-detail-page) .status-option {
  height: 34px;
  border-radius: 9px;
  background: transparent;
  color: #64748b;
  font-size: 13px;
  font-weight: 900;
}

body.notice-page:not(.notice-detail-page) .status-option.active {
  border: 1px solid #cbd7e6;
  background: #ffffff;
  color: #111827;
  box-shadow: 0 3px 9px rgba(31, 48, 74, .06);
}

body.notice-page:not(.notice-detail-page) .period-options {
  display: grid;
  gap: 8px;
}

body.notice-page:not(.notice-detail-page) .period-options label {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #475569;
  font-size: 13px;
  font-weight: 850;
}

body.notice-page:not(.notice-detail-page) .filter-primary {
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, #2563eb 0%, #174ed0 100%);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(37, 99, 235, .18);
}

body.notice-page:not(.notice-detail-page) .filter-secondary {
  min-height: 38px;
  border: 1px solid #dbe4ef;
  border-radius: 12px;
  background: #ffffff;
  color: #334155;
}

body.notice-page:not(.notice-detail-page) .notice-info-card {
  padding: 16px 18px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.55;
}

body.notice-page:not(.notice-detail-page) .notice-info-card strong {
  color: #233044;
  font-weight: 950;
}

body.notice-page:not(.notice-detail-page) .notice-results {
  padding: 18px;
}

body.notice-page:not(.notice-detail-page) .results-toolbar {
  min-height: 54px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #edf1f6;
}

body.notice-page:not(.notice-detail-page) .total-count {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

body.notice-page:not(.notice-detail-page) .total-count span {
  color: #111827;
  font-size: 21px;
  font-weight: 950;
}

body.notice-page:not(.notice-detail-page) .total-count strong {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef5ff;
  color: var(--ui-blue);
  font-size: 13px;
  font-weight: 950;
}

body.notice-page:not(.notice-detail-page) .sort-select {
  width: 142px;
  height: 42px;
  border: 1px solid #dbe4ef;
  border-radius: 12px;
  color: #334155;
  font-size: 14px;
  font-weight: 850;
}

body.notice-page:not(.notice-detail-page) .view-toggle {
  height: 42px;
  grid-template-columns: 42px 42px;
  padding: 4px;
  border: 1px solid #dbe4ef;
  border-radius: 12px;
  background: #f8fafc;
}

body.notice-page:not(.notice-detail-page) .view-toggle button {
  border-radius: 9px;
  color: #64748b;
}

body.notice-page:not(.notice-detail-page) .view-toggle button.active {
  background: #ffffff;
  color: var(--ui-blue);
  box-shadow: 0 3px 9px rgba(31, 48, 74, .07);
}

body.notice-page:not(.notice-detail-page) .notice-list,
body.notice-page:not(.notice-detail-page) .notice-list.grid-view {
  gap: 10px;
}

body.notice-page:not(.notice-detail-page) .notice-card.notice-table-row,
body.notice-page:not(.notice-detail-page) .notice-list.grid-view .notice-card.notice-table-row {
  grid-template-columns: 48px minmax(0, 1fr) minmax(150px, 190px) 132px;
  gap: 15px;
  min-height: 106px;
  padding: 15px 18px;
  border: 1px solid #dfe8f3;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 5px 14px rgba(31, 48, 74, .045);
  transform: none;
}

body.notice-page:not(.notice-detail-page) .notice-card.notice-table-row::before {
  inset: 14px auto 14px 0;
  width: 3px;
  border-radius: 0 999px 999px 0;
  background: var(--ui-green);
}

body.notice-page:not(.notice-detail-page) .notice-card.notice-table-row:hover {
  border-color: #b9c8dd;
  background: #fbfdff;
  box-shadow: 0 12px 24px rgba(31, 48, 74, .08);
  transform: translateY(-1px);
}

body.notice-page:not(.notice-detail-page) .notice-table-row .favorite-button,
body.notice-page:not(.notice-detail-page) .notice-list.grid-view .notice-table-row .favorite-button {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border-color: #dbe4ef;
  background: #f8fafc;
  color: #64748b;
  box-shadow: none;
}

body.notice-page:not(.notice-detail-page) .notice-table-row .favorite-button:hover,
body.notice-page:not(.notice-detail-page) .notice-table-row .favorite-button.active {
  border-color: #95b7f8;
  background: #eef5ff;
  color: var(--ui-blue);
}

body.notice-page:not(.notice-detail-page) .notice-table-row .favorite-button svg {
  width: 19px;
  height: 19px;
}

body.notice-page:not(.notice-detail-page) .notice-title-cell {
  align-items: flex-start;
  gap: 7px;
  text-align: left;
}

body.notice-page:not(.notice-detail-page) .notice-meta-line {
  color: #64748b;
  font-size: 12px;
  font-weight: 850;
}

body.notice-page:not(.notice-detail-page) .notice-side-meta-cell {
  align-self: stretch;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 9px 12px;
  border: 1px solid #edf1f6;
  border-radius: 14px;
  background: #f8fafc;
}

body.notice-page:not(.notice-detail-page) .notice-side-meta-cell span {
  max-width: 100%;
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  overflow: hidden;
  border: 1px solid #dce5ef;
  border-radius: 999px;
  background: #ffffff;
  color: #475569;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11.5px;
  font-weight: 900;
  line-height: 1;
}

body.notice-page:not(.notice-detail-page) .notice-side-meta-cell span:first-child {
  color: #1f5fd4;
  border-color: #c9daf4;
  background: #f4f8ff;
}

body.notice-page:not(.notice-detail-page) .notice-card-title {
  width: min(80%, 760px);
  max-width: min(80%, 760px);
  color: #172033;
  font-size: 16px;
  line-height: 1.32;
  font-weight: 950;
  text-align: left;
}

body.notice-page:not(.notice-detail-page) .notice-target-row {
  width: min(100%, 700px);
  padding: 7px 9px;
  border-color: #dfe8f3;
  border-radius: 12px;
  background: #f8fbff;
}

body.notice-page:not(.notice-detail-page) .notice-target-label {
  color: #1d5fd3;
  font-size: 11.5px;
  line-height: 23px;
}

body.notice-page:not(.notice-detail-page) .notice-target-line {
  gap: 5px;
  max-height: 50px;
}

body.notice-page:not(.notice-detail-page) .notice-target-chip {
  min-height: 23px;
  padding: 0 9px;
  border-color: #c9daf4;
  background: #ffffff;
  color: #1d5fd3;
  font-size: 12px;
  font-weight: 950;
  box-shadow: none;
}

body.notice-page:not(.notice-detail-page) .notice-dday-cell {
  padding-left: 8px;
  align-items: flex-end;
  gap: 6px;
}

body.notice-page:not(.notice-detail-page) .notice-deadline-value {
  color: #dc2626;
  font-size: 25px;
  font-weight: 950;
}

body.notice-page:not(.notice-detail-page) .notice-deadline-period {
  color: #64748b;
  font-size: 12px;
  font-weight: 850;
}

body.notice-page:not(.notice-detail-page) .pagination {
  margin-top: 16px;
}

body.notice-page:not(.notice-detail-page) .pagination button,
body.notice-page:not(.notice-detail-page) .pagination span {
  min-width: 34px;
  height: 34px;
  border-radius: 10px;
}

body.notice-page:not(.notice-detail-page) .pagination button.active {
  background: var(--ui-text);
  color: #ffffff;
}

body.notice-page:not(.notice-detail-page) .empty-state {
  min-height: 180px;
  align-content: center;
  border: 1px dashed #cbd7e6;
  border-radius: 16px;
  background: #f8fafc;
  color: #64748b;
}

@media (max-width: 1180px) {
  body.notice-page:not(.notice-detail-page) .notice-header {
    padding: 0 22px;
  }
  body.notice-page:not(.notice-detail-page) .notice-nav {
    display: none;
  }
  body.notice-page:not(.notice-detail-page) .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.notice-page:not(.notice-detail-page) .notice-layout {
    grid-template-columns: 280px minmax(0, 1fr);
  }
  body.notice-page:not(.notice-detail-page) .notice-card.notice-table-row,
  body.notice-page:not(.notice-detail-page) .notice-list.grid-view .notice-card.notice-table-row {
    grid-template-columns: 44px minmax(0, 1fr) minmax(128px, 160px) 112px;
    gap: 12px;
  }
  body.notice-page:not(.notice-detail-page) .notice-side-meta-cell {
    padding: 8px;
  }
  body.notice-page:not(.notice-detail-page) .notice-side-meta-cell span {
    font-size: 11px;
  }
}

@media (max-width: 900px) {
  body.notice-page:not(.notice-detail-page) .notice-shell {
    width: min(100% - 24px, 1440px);
  }
  body.notice-page:not(.notice-detail-page) .notice-header {
    height: auto;
    min-height: 70px;
    padding: 10px 14px;
  }
  body.notice-page:not(.notice-detail-page) .notice-brand {
    min-width: 0;
  }
  body.notice-page:not(.notice-detail-page) .brand-copy small {
    display: none;
  }
  body.notice-page:not(.notice-detail-page) .notice-actions {
    min-width: 0;
    gap: 8px;
  }
  body.notice-page:not(.notice-detail-page) .notice-login {
    padding: 0 12px;
  }
  body.notice-page:not(.notice-detail-page) .hero-copy {
    padding: 20px;
    border-radius: 18px;
  }
  body.notice-page:not(.notice-detail-page) .hero-copy h1 {
    font-size: 23px;
  }
  body.notice-page:not(.notice-detail-page) .hero-metrics {
    grid-template-columns: 1fr;
  }
  body.notice-page:not(.notice-detail-page) .notice-layout {
    grid-template-columns: 1fr;
  }
  body.notice-page:not(.notice-detail-page) .notice-results {
    padding: 14px;
  }
  body.notice-page:not(.notice-detail-page) .results-toolbar {
    align-items: stretch;
    flex-direction: column;
  }
  body.notice-page:not(.notice-detail-page) .toolbar-actions {
    width: 100%;
    justify-content: space-between;
  }
  body.notice-page:not(.notice-detail-page) .sort-select {
    width: min(210px, 100%);
  }
  body.notice-page:not(.notice-detail-page) .notice-card.notice-table-row,
  body.notice-page:not(.notice-detail-page) .notice-list.grid-view .notice-card.notice-table-row {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px 12px;
    padding: 14px;
  }
  body.notice-page:not(.notice-detail-page) .notice-bookmark-cell {
    grid-row: 1 / span 2;
  }
  body.notice-page:not(.notice-detail-page) .notice-card-title {
    width: 100%;
    max-width: 100%;
    font-size: 15.5px;
  }
  body.notice-page:not(.notice-detail-page) .notice-target-row {
    width: 100%;
  }
  body.notice-page:not(.notice-detail-page) .notice-side-meta-cell {
    grid-column: 2;
    order: 2;
    align-self: auto;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 5px;
    padding: 0;
    border: 0;
    background: transparent;
  }
  body.notice-page:not(.notice-detail-page) .notice-side-meta-cell span {
    min-height: 22px;
    font-size: 11px;
  }
  body.notice-page:not(.notice-detail-page) .notice-table-row > .notice-dday-cell {
    grid-column: 2;
    order: 3;
    align-items: flex-start;
    text-align: left;
  }
  body.notice-page:not(.notice-detail-page) .notice-deadline-value {
    font-size: 21px;
  }
}

@media (max-width: 520px) {
  body.notice-page:not(.notice-detail-page) .notice-header {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  body.notice-page:not(.notice-detail-page) .notice-actions {
    width: 100%;
    justify-content: space-between;
  }
  body.notice-page:not(.notice-detail-page) .notice-search {
    height: 54px;
  }
  body.notice-page:not(.notice-detail-page) .stat-copy strong {
    font-size: 28px;
  }
  body.notice-page:not(.notice-detail-page) .total-count {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }
  body.notice-page:not(.notice-detail-page) .filter-chip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 2026 initial-list inspired redesign */
body.notice-page:not(.notice-detail-page) {
  --ui-bg: #f6f8fb;
  --ui-surface: #ffffff;
  --ui-surface-2: #f9fbfe;
  --ui-line: #d8e2ef;
  --ui-line-strong: #b9c9dd;
  --ui-text: #172033;
  --ui-muted: #68758a;
  --ui-blue: #2563eb;
  --ui-blue-soft: #edf5ff;
  --ui-red: #dc2626;
  --ui-purple: #7257d8;
  color: var(--ui-text);
  background: var(--ui-bg);
}

body.notice-page:not(.notice-detail-page) .notice-header {
  height: 64px;
  min-height: 64px;
  padding: 0 clamp(18px, 3vw, 36px);
  border-bottom: 1px solid #e2e8f0;
  background: rgba(255, 255, 255, .96);
  box-shadow: none;
}

body.notice-page:not(.notice-detail-page) .notice-brand {
  min-width: 260px;
  gap: 10px;
}

body.notice-page:not(.notice-detail-page) .gov-emblem {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .24), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, #7560df, #2563eb);
  box-shadow: none;
}

body.notice-page:not(.notice-detail-page) .brand-copy strong {
  color: #101827;
  font-size: 20px;
  line-height: 1.05;
  font-weight: 950;
}

body.notice-page:not(.notice-detail-page) .brand-copy small {
  margin-top: 3px;
  color: #708096;
  font-size: 12px;
  font-weight: 750;
}

body.notice-page:not(.notice-detail-page) .notice-nav {
  width: auto;
  gap: 24px;
  height: 100%;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

body.notice-page:not(.notice-detail-page) .notice-nav a {
  height: 64px;
  min-width: auto;
  padding: 0;
  border-radius: 0;
  color: #475569;
  font-size: 14px;
  font-weight: 850;
}

body.notice-page:not(.notice-detail-page) .notice-nav a.active {
  color: var(--ui-blue);
  background: transparent;
}

body.notice-page:not(.notice-detail-page) .notice-nav a.active::after {
  display: block;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: var(--ui-blue);
}

body.notice-page:not(.notice-detail-page) .notice-bell,
body.notice-page:not(.notice-detail-page) .notice-login {
  border: 1px solid #dde6f1;
  background: #ffffff;
  color: #263244;
  box-shadow: none;
}

body.notice-page:not(.notice-detail-page) .notice-login:not(.auth-logout) {
  border-color: #c8d7ee;
  background: #ffffff;
  color: #1f5fd4;
}

body.notice-page:not(.notice-detail-page) .notice-shell {
  width: min(1240px, calc(100% - 32px));
}

body.notice-page:not(.notice-detail-page) .notice-hero {
  grid-template-columns: minmax(0, 1fr) 336px;
  gap: 16px;
  align-items: stretch;
  margin: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

body.notice-page:not(.notice-detail-page) .notice-hero::after {
  display: none;
}

body.notice-page:not(.notice-detail-page) .hero-copy {
  order: 1;
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 0;
  padding-left: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.notice-page:not(.notice-detail-page) .hero-copy h1 {
  margin: 0;
  color: #101827;
  font-size: 25px;
  line-height: 1.2;
  font-weight: 950;
}

body.notice-page:not(.notice-detail-page) .notice-search {
  width: min(720px, 100%);
  height: 52px;
  grid-template-columns: minmax(0, 1fr) 36px 42px;
  padding: 0 7px 0 16px;
  border: 1px solid var(--ui-line);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: none;
}

body.notice-page:not(.notice-detail-page) .notice-search input {
  color: #1e293b;
  font-size: 15px;
  font-weight: 750;
}

body.notice-page:not(.notice-detail-page) .search-lens {
  width: 22px;
  height: 22px;
  color: var(--ui-blue);
}

body.notice-page:not(.notice-detail-page) .popular-searches {
  gap: 7px;
  padding-bottom: 0;
}

body.notice-page:not(.notice-detail-page) .popular-searches span {
  color: #475569;
  font-size: 12.5px;
  font-weight: 900;
}

body.notice-page:not(.notice-detail-page) .popular-searches button {
  height: 30px;
  padding: 0 11px;
  border: 1px solid #dde6f1;
  border-radius: 999px;
  background: #ffffff;
  color: #475569;
  font-size: 12.5px;
  font-weight: 850;
  box-shadow: none;
}

body.notice-page:not(.notice-detail-page) .popular-searches button:hover {
  border-color: #bdd0ea;
  color: var(--ui-blue);
}

body.notice-page:not(.notice-detail-page) .hero-metrics {
  order: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

body.notice-page:not(.notice-detail-page) .notice-stat-card {
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  border: 1px solid var(--ui-line);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: none;
}

body.notice-page:not(.notice-detail-page) .notice-stat-card.closing {
  background: #ffffff;
}

body.notice-page:not(.notice-detail-page) .stat-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--ui-blue-soft);
  color: var(--ui-blue);
}

body.notice-page:not(.notice-detail-page) .stat-icon.clock {
  background: #fff1e8;
  color: #e65f2b;
}

body.notice-page:not(.notice-detail-page) .stat-copy span {
  color: var(--ui-muted);
  font-size: 12px;
  font-weight: 850;
}

body.notice-page:not(.notice-detail-page) .stat-copy strong {
  margin-top: 4px;
  color: var(--ui-blue);
  font-size: 24px;
  line-height: 1;
  font-weight: 950;
}

body.notice-page:not(.notice-detail-page) .stat-copy strong.orange {
  color: #e65f2b;
}

body.notice-page:not(.notice-detail-page) .stat-copy em {
  color: #64748b;
  font-size: 13px;
  font-weight: 900;
}

body.notice-page:not(.notice-detail-page) .notice-layout {
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

body.notice-page:not(.notice-detail-page) .filter-stack {
  gap: 10px;
  padding-right: 0;
}

body.notice-page:not(.notice-detail-page) .filter-card,
body.notice-page:not(.notice-detail-page) .notice-info-card {
  border: 1px solid var(--ui-line);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: none;
}

body.notice-page:not(.notice-detail-page) .filter-card {
  padding: 16px;
}

body.notice-page:not(.notice-detail-page) .filter-head {
  margin-bottom: 14px;
  padding-bottom: 13px;
  border-bottom: 1px solid #edf2f7;
}

body.notice-page:not(.notice-detail-page) .filter-title {
  color: #111827;
  font-size: 16px;
  font-weight: 950;
}

body.notice-page:not(.notice-detail-page) .filter-reset {
  color: #64748b;
  font-size: 12.5px;
  font-weight: 850;
}

body.notice-page:not(.notice-detail-page) .filter-label {
  margin-bottom: 8px;
  color: #253244;
  font-size: 13px;
  font-weight: 950;
}

body.notice-page:not(.notice-detail-page) .filter-chip-grid,
body.notice-page:not(.notice-detail-page) .filter-check-grid {
  gap: 7px;
}

body.notice-page:not(.notice-detail-page) .filter-chip,
body.notice-page:not(.notice-detail-page) .filter-check {
  min-height: 34px;
  border: 1px solid #dce5ef;
  border-radius: 9px;
  background: #ffffff;
  color: #475569;
  font-size: 12.5px;
  font-weight: 850;
}

body.notice-page:not(.notice-detail-page) .filter-chip.active,
body.notice-page:not(.notice-detail-page) .filter-check.active {
  border-color: #bfd2ee;
  background: var(--ui-blue-soft);
  color: #1f5fd4;
}

body.notice-page:not(.notice-detail-page) .status-segment {
  gap: 5px;
  padding: 3px;
  border: 1px solid #dce5ef;
  border-radius: 10px;
  background: #f8fafc;
}

body.notice-page:not(.notice-detail-page) .status-option {
  height: 32px;
  border-radius: 8px;
  color: #64748b;
  font-size: 12.5px;
  font-weight: 900;
}

body.notice-page:not(.notice-detail-page) .status-option.active {
  border: 1px solid #dbe4ef;
  background: #ffffff;
  color: #111827;
  box-shadow: none;
}

body.notice-page:not(.notice-detail-page) .filter-primary {
  min-height: 40px;
  border-radius: 10px;
  background: #2563eb;
  box-shadow: none;
}

body.notice-page:not(.notice-detail-page) .filter-secondary {
  min-height: 36px;
  border-radius: 10px;
  background: #ffffff;
}

body.notice-page:not(.notice-detail-page) .notice-info-card {
  padding: 14px 16px;
  color: #64748b;
  font-size: 12.5px;
  line-height: 1.55;
}

body.notice-page:not(.notice-detail-page) .notice-results {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.notice-page:not(.notice-detail-page) .results-toolbar {
  min-height: 44px;
  margin-bottom: 9px;
  padding: 0;
  border-bottom: 0;
}

body.notice-page:not(.notice-detail-page) .total-count {
  gap: 10px;
}

body.notice-page:not(.notice-detail-page) .total-count span {
  color: #111827;
  font-size: 21px;
  font-weight: 950;
}

body.notice-page:not(.notice-detail-page) .total-count strong {
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--ui-blue-soft);
  color: var(--ui-blue);
  font-size: 13px;
  font-weight: 950;
}

body.notice-page:not(.notice-detail-page) .sort-select {
  width: 132px;
  height: 40px;
  border: 1px solid #dce5ef;
  border-radius: 10px;
  background-color: #ffffff;
  color: #334155;
  font-size: 13.5px;
  font-weight: 850;
}

body.notice-page:not(.notice-detail-page) .view-toggle {
  height: 40px;
  grid-template-columns: 40px 40px;
  padding: 3px;
  border: 1px solid #dce5ef;
  border-radius: 10px;
  background: #ffffff;
}

body.notice-page:not(.notice-detail-page) .view-toggle button {
  border-radius: 8px;
  color: #64748b;
}

body.notice-page:not(.notice-detail-page) .view-toggle button.active {
  background: var(--ui-blue-soft);
  color: var(--ui-blue);
  box-shadow: none;
}

body.notice-page:not(.notice-detail-page) .notice-list,
body.notice-page:not(.notice-detail-page) .notice-list.grid-view {
  gap: 10px;
}

body.notice-page:not(.notice-detail-page) .notice-card.notice-table-row,
body.notice-page:not(.notice-detail-page) .notice-list.grid-view .notice-card.notice-table-row {
  grid-template-columns: 50px minmax(0, 1fr) minmax(150px, 190px) 118px;
  gap: 15px;
  min-height: 94px;
  padding: 13px 17px;
  border: 1px solid var(--ui-line);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: none;
  transform: none;
}

body.notice-page:not(.notice-detail-page) .notice-card.notice-table-row::before {
  display: none;
}

body.notice-page:not(.notice-detail-page) .notice-card.notice-table-row:hover {
  border-color: var(--ui-line-strong);
  background: #fbfdff;
  box-shadow: 0 8px 18px rgba(31, 48, 74, .055);
  transform: none;
}

body.notice-page:not(.notice-detail-page) .notice-bookmark-cell {
  align-self: stretch;
  justify-content: center;
}

body.notice-page:not(.notice-detail-page) .notice-table-row .favorite-button,
body.notice-page:not(.notice-detail-page) .notice-list.grid-view .notice-table-row .favorite-button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, #7d63e4 0%, #6850d2 100%);
  color: #ffffff;
  box-shadow: none;
  transform: none;
}

body.notice-page:not(.notice-detail-page) .notice-table-row .favorite-button:hover,
body.notice-page:not(.notice-detail-page) .notice-table-row .favorite-button.active {
  background: linear-gradient(180deg, #6e57dc 0%, #5842c3 100%);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(104, 80, 210, .18);
  transform: none;
}

body.notice-page:not(.notice-detail-page) .notice-table-row .favorite-button svg {
  width: 18px;
  height: 18px;
}

body.notice-page:not(.notice-detail-page) .notice-title-cell {
  align-items: flex-start;
  gap: 8px;
  text-align: left;
}

body.notice-page:not(.notice-detail-page) .notice-card-title {
  width: min(80%, 760px);
  max-width: min(80%, 760px);
  margin: 0;
  color: #101827;
  font-size: 16px;
  line-height: 1.34;
  font-weight: 950;
  text-align: left;
}

body.notice-page:not(.notice-detail-page) .notice-target-row {
  width: 100%;
  max-width: 720px;
  gap: 7px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

body.notice-page:not(.notice-detail-page) .notice-target-label {
  height: 22px;
  display: inline-flex;
  align-items: center;
  padding: 0 7px;
  border: 1px solid #c9daf4;
  border-radius: 999px;
  background: var(--ui-blue-soft);
  color: #1f5fd4;
  font-size: 11px;
  line-height: 1;
  font-weight: 950;
}

body.notice-page:not(.notice-detail-page) .notice-target-line {
  gap: 5px;
  max-height: 48px;
}

body.notice-page:not(.notice-detail-page) .notice-target-chip {
  min-height: 22px;
  padding: 0 8px;
  border-color: #dbe4ef;
  background: #ffffff;
  color: #3260a8;
  font-size: 11.5px;
  font-weight: 900;
  box-shadow: none;
}

body.notice-page:not(.notice-detail-page) .notice-side-meta-cell {
  align-self: center;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  padding: 0 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

body.notice-page:not(.notice-detail-page) .notice-side-meta-cell span {
  max-width: 100%;
  min-height: 0;
  display: block;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #66758b;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12.5px;
  font-weight: 850;
  line-height: 1.25;
}

body.notice-page:not(.notice-detail-page) .notice-side-meta-cell span:first-child {
  color: #2d5db3;
  border: 0;
  background: transparent;
  font-weight: 950;
}

body.notice-page:not(.notice-detail-page) .notice-dday-cell {
  align-items: flex-end;
  justify-content: center;
  gap: 5px;
  padding-left: 0;
  text-align: right;
}

body.notice-page:not(.notice-detail-page) .notice-deadline-value {
  color: var(--ui-red);
  font-size: 24px;
  line-height: 1.05;
  font-weight: 950;
}

body.notice-page:not(.notice-detail-page) .notice-deadline-period {
  color: #64748b;
  font-size: 12px;
  font-weight: 850;
}

body.notice-page:not(.notice-detail-page) .pagination {
  margin-top: 14px;
}

body.notice-page:not(.notice-detail-page) .pagination button,
body.notice-page:not(.notice-detail-page) .pagination span {
  min-width: 32px;
  height: 32px;
  border-radius: 9px;
}

body.notice-page:not(.notice-detail-page) .pagination button.active {
  background: #172033;
  color: #ffffff;
}

@media (max-width: 1180px) {
  body.notice-page:not(.notice-detail-page) .notice-shell {
    width: min(100% - 28px, 1240px);
  }
  body.notice-page:not(.notice-detail-page) .notice-layout {
    grid-template-columns: 250px minmax(0, 1fr);
  }
  body.notice-page:not(.notice-detail-page) .notice-card.notice-table-row,
  body.notice-page:not(.notice-detail-page) .notice-list.grid-view .notice-card.notice-table-row {
    grid-template-columns: 44px minmax(0, 1fr) minmax(126px, 154px) 106px;
    gap: 12px;
    padding: 12px 14px;
  }
  body.notice-page:not(.notice-detail-page) .notice-side-meta-cell span {
    font-size: 11.5px;
  }
  body.notice-page:not(.notice-detail-page) .notice-deadline-value {
    font-size: 21px;
  }
}

@media (max-width: 900px) {
  body.notice-page:not(.notice-detail-page) .notice-shell {
    width: min(100% - 24px, 1240px);
  }
  body.notice-page:not(.notice-detail-page) .notice-header {
    height: auto;
    min-height: 64px;
    padding: 10px 14px;
  }
  body.notice-page:not(.notice-detail-page) .notice-hero {
    grid-template-columns: 1fr;
  }
  body.notice-page:not(.notice-detail-page) .hero-copy h1 {
    font-size: 22px;
  }
  body.notice-page:not(.notice-detail-page) .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.notice-page:not(.notice-detail-page) .notice-layout {
    grid-template-columns: 1fr;
  }
  body.notice-page:not(.notice-detail-page) .notice-results {
    order: 1;
  }
  body.notice-page:not(.notice-detail-page) .filter-stack {
    order: 2;
  }
  body.notice-page:not(.notice-detail-page) .results-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }
  body.notice-page:not(.notice-detail-page) .toolbar-actions {
    width: 100%;
    justify-content: space-between;
  }
  body.notice-page:not(.notice-detail-page) .sort-select {
    width: min(210px, 100%);
  }
  body.notice-page:not(.notice-detail-page) .notice-card.notice-table-row,
  body.notice-page:not(.notice-detail-page) .notice-list.grid-view .notice-card.notice-table-row {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 9px 12px;
    min-height: 0;
    padding: 14px;
  }
  body.notice-page:not(.notice-detail-page) .notice-bookmark-cell {
    grid-row: 1 / span 2;
  }
  body.notice-page:not(.notice-detail-page) .notice-title-cell {
    grid-column: 2;
    order: 1;
  }
  body.notice-page:not(.notice-detail-page) .notice-card-title {
    width: 100%;
    max-width: 100%;
    font-size: 15.5px;
  }
  body.notice-page:not(.notice-detail-page) .notice-target-row {
    width: 100%;
  }
  body.notice-page:not(.notice-detail-page) .notice-side-meta-cell {
    grid-column: 2;
    order: 2;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 5px 10px;
    padding: 0;
  }
  body.notice-page:not(.notice-detail-page) .notice-side-meta-cell span {
    width: auto;
    font-size: 11.5px;
  }
  body.notice-page:not(.notice-detail-page) .notice-table-row > .notice-dday-cell {
    grid-column: 2;
    order: 3;
    align-items: flex-start;
    text-align: left;
  }
  body.notice-page:not(.notice-detail-page) .notice-deadline-value {
    font-size: 22px;
  }
}

@media (max-width: 520px) {
  body.notice-page:not(.notice-detail-page) .notice-header {
    align-items: flex-start;
    gap: 10px;
  }
  body.notice-page:not(.notice-detail-page) .notice-actions {
    width: 100%;
    justify-content: space-between;
  }
  body.notice-page:not(.notice-detail-page) .notice-search {
    height: 50px;
  }
  body.notice-page:not(.notice-detail-page) .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  body.notice-page:not(.notice-detail-page) .notice-stat-card {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 8px;
  }
  body.notice-page:not(.notice-detail-page) .stat-icon {
    width: 30px;
    height: 30px;
    border-radius: 9px;
  }
  body.notice-page:not(.notice-detail-page) .stat-copy span {
    font-size: 11px;
  }
  body.notice-page:not(.notice-detail-page) .stat-copy strong {
    margin-top: 3px;
    font-size: 18px;
  }
  body.notice-page:not(.notice-detail-page) .stat-copy em {
    font-size: 11px;
  }
  body.notice-page:not(.notice-detail-page) .total-count {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
  body.notice-page:not(.notice-detail-page) .filter-chip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 2026 dashboard portal redesign */
body.notice-page:not(.notice-detail-page) {
  --portal-bg: #f3f8ff;
  --portal-surface: #ffffff;
  --portal-line: #dbe7f5;
  --portal-line-strong: #bfd1e8;
  --portal-text: #0d1f3f;
  --portal-muted: #64748b;
  --portal-blue: #0b5bd3;
  --portal-blue-2: #125fe8;
  --portal-blue-soft: #eef6ff;
  --portal-green: #15803d;
  --portal-green-soft: #eaf8ed;
  --portal-orange: #f97316;
  --portal-orange-soft: #fff3e8;
  --portal-red: #dc2626;
  --portal-purple: #7c3aed;
  --portal-purple-soft: #f1eaff;
  color: var(--portal-text);
  background: linear-gradient(180deg, #eef7ff 0, #f7fbff 360px, #f5f8fc 100%);
}

body.notice-page:not(.notice-detail-page) .notice-header {
  height: 78px;
  min-height: 78px;
  padding: 0 clamp(24px, 3vw, 48px);
  border-bottom: 1px solid rgba(201, 216, 236, .9);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 2px 14px rgba(15, 42, 78, .045);
}

body.notice-page:not(.notice-detail-page) .notice-brand {
  min-width: 360px;
  gap: 12px;
}

body.notice-page:not(.notice-detail-page) .gov-emblem {
  position: relative;
  width: 42px;
  height: 42px;
  border: 2px solid var(--portal-blue);
  border-radius: 50%;
  background: #ffffff;
}

body.notice-page:not(.notice-detail-page) .gov-emblem::before {
  content: "";
  position: absolute;
  inset: 9px;
  clip-path: polygon(100% 0, 58% 100%, 44% 58%, 0 46%);
  background: var(--portal-blue);
}

body.notice-page:not(.notice-detail-page) .brand-copy {
  display: flex;
  align-items: baseline;
  gap: 18px;
}

body.notice-page:not(.notice-detail-page) .brand-copy strong {
  color: #0742a0;
  font-size: 25px;
  line-height: 1;
  font-weight: 950;
}

body.notice-page:not(.notice-detail-page) .brand-copy small {
  margin-top: 0;
  color: #5f6f85;
  font-size: 13px;
  font-weight: 750;
}

body.notice-page:not(.notice-detail-page) .notice-nav {
  gap: 42px;
}

body.notice-page:not(.notice-detail-page) .notice-nav a {
  height: 78px;
  color: #101827;
  font-size: 16px;
  font-weight: 900;
}

body.notice-page:not(.notice-detail-page) .notice-nav a.active {
  color: var(--portal-blue);
}

body.notice-page:not(.notice-detail-page) .notice-nav a.active::after {
  height: 4px;
  background: var(--portal-blue);
}

body.notice-page:not(.notice-detail-page) .notice-actions {
  min-width: 210px;
  gap: 10px;
}

body.notice-page:not(.notice-detail-page) .notice-bell {
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--portal-line);
  border-radius: 13px;
  background: #ffffff;
  color: #111827;
  box-shadow: none;
}

body.notice-page:not(.notice-detail-page) .notice-bell svg {
  width: 18px;
  height: 18px;
}

body.notice-page:not(.notice-detail-page) .notice-bell span {
  top: -7px;
  right: -5px;
  width: 20px;
  height: 20px;
  background: #ef244f;
  font-size: 11px;
}

body.notice-page:not(.notice-detail-page) .notice-login,
body.notice-page:not(.notice-detail-page) .notice-login:not(.auth-logout) {
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid #0957d4;
  border-radius: 12px;
  background: var(--portal-blue);
  color: #ffffff;
  font-size: 14px;
  font-weight: 950;
  box-shadow: 0 8px 18px rgba(11, 91, 211, .18);
}

body.notice-page:not(.notice-detail-page) .notice-shell {
  width: min(1360px, calc(100% - 48px));
}

body.notice-page:not(.notice-detail-page) .notice-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(520px, 660px);
  gap: 34px;
  align-items: center;
}

body.notice-page:not(.notice-detail-page) .hero-copy {
  order: 1;
  gap: 18px;
}

body.notice-page:not(.notice-detail-page) .hero-copy h1 {
  color: #0a1d3f;
  font-size: clamp(31px, 3.2vw, 42px);
  line-height: 1.16;
  font-weight: 950;
}

body.notice-page:not(.notice-detail-page) .notice-search {
  width: min(570px, 100%);
  height: 62px;
  grid-template-columns: minmax(0, 1fr) 0 62px;
  padding: 0 0 0 18px;
  border: 1px solid #9fc4f4;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(30, 91, 170, .12);
}

body.notice-page:not(.notice-detail-page) .notice-search input {
  color: #26374f;
  font-size: 16px;
  font-weight: 750;
}

body.notice-page:not(.notice-detail-page) .notice-search-clear {
  width: 0;
  opacity: 0;
  pointer-events: none;
}

body.notice-page:not(.notice-detail-page) .search-lens {
  width: 62px;
  height: 62px;
  padding: 18px;
  border-radius: 0 13px 13px 0;
  background: var(--portal-blue);
  color: #ffffff;
}

body.notice-page:not(.notice-detail-page) .popular-searches {
  width: min(570px, 100%);
  gap: 9px;
}

body.notice-page:not(.notice-detail-page) .popular-searches span {
  color: #0f2547;
  font-size: 13px;
  font-weight: 950;
}

body.notice-page:not(.notice-detail-page) .popular-searches button {
  height: 29px;
  padding: 0 13px;
  border: 1px solid #c9ddf7;
  border-radius: 999px;
  background: rgba(255, 255, 255, .74);
  color: var(--portal-blue);
  font-size: 12.5px;
  font-weight: 900;
}

body.notice-page:not(.notice-detail-page) .hero-metrics {
  order: 2;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

body.notice-page:not(.notice-detail-page) .notice-stat-card {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--portal-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 12px 28px rgba(17, 53, 96, .08);
}

body.notice-page:not(.notice-detail-page) .notice-stat-card.closing,
body.notice-page:not(.notice-detail-page) .notice-stat-card.recruiting,
body.notice-page:not(.notice-detail-page) .notice-stat-card.updated {
  background: rgba(255, 255, 255, .94);
}

body.notice-page:not(.notice-detail-page) .stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--portal-blue-soft);
  color: var(--portal-blue);
}

body.notice-page:not(.notice-detail-page) .stat-icon.megaphone {
  background: var(--portal-green-soft);
  color: var(--portal-green);
}

body.notice-page:not(.notice-detail-page) .stat-icon.clock {
  background: var(--portal-orange-soft);
  color: var(--portal-orange);
}

body.notice-page:not(.notice-detail-page) .stat-icon.update {
  background: var(--portal-purple-soft);
  color: var(--portal-purple);
}

body.notice-page:not(.notice-detail-page) .stat-copy {
  align-items: center;
  text-align: center;
}

body.notice-page:not(.notice-detail-page) .stat-copy span {
  color: #1e2f4d;
  font-size: 15px;
  font-weight: 950;
}

body.notice-page:not(.notice-detail-page) .stat-copy strong {
  margin-top: 5px;
  color: var(--portal-blue);
  font-size: 32px;
  font-weight: 950;
}

body.notice-page:not(.notice-detail-page) .stat-copy strong.green {
  color: var(--portal-green);
}

body.notice-page:not(.notice-detail-page) .stat-copy strong.orange {
  color: var(--portal-orange);
}

body.notice-page:not(.notice-detail-page) .stat-copy strong.purple {
  color: var(--portal-purple);
}

body.notice-page:not(.notice-detail-page) .stat-copy em {
  margin-left: 2px;
  color: inherit;
  font-size: 19px;
  font-weight: 950;
}

body.notice-page:not(.notice-detail-page) .notice-update-bar {
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0 0 18px;
  padding: 0 20px;
  border: 1px solid #bcd6f6;
  border-radius: 12px;
  background: rgba(239, 247, 255, .9);
  color: #1b4d99;
  font-size: 13px;
  font-weight: 850;
}

body.notice-page:not(.notice-detail-page) .notice-update-bar strong {
  color: #0b438d;
}

body.notice-page:not(.notice-detail-page) .notice-update-bar b {
  font-weight: 950;
}

body.notice-page:not(.notice-detail-page) .notice-category-rail {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 22px;
  padding: 14px 18px;
  border: 1px solid #e4edf8;
  border-radius: 16px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 10px 26px rgba(19, 54, 100, .07);
}

body.notice-page:not(.notice-detail-page) .category-tab {
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid #e3eaf4;
  border-radius: 12px;
  background: #ffffff;
  color: #111827;
  font-size: 15px;
  font-weight: 950;
}

body.notice-page:not(.notice-detail-page) .category-tab.active {
  border-color: var(--portal-blue);
  background: var(--portal-blue);
  color: #ffffff;
  box-shadow: 0 10px 18px rgba(11, 91, 211, .18);
}

body.notice-page:not(.notice-detail-page) .category-tab-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

body.notice-page:not(.notice-detail-page) .notice-layout {
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

body.notice-page:not(.notice-detail-page) .filter-stack {
  gap: 14px;
}

body.notice-page:not(.notice-detail-page) .filter-card,
body.notice-page:not(.notice-detail-page) .notice-info-card,
body.notice-page:not(.notice-detail-page) .notice-results,
body.notice-page:not(.notice-detail-page) .bottom-panel {
  border: 1px solid #e1eaf6;
  border-radius: 16px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 12px 28px rgba(17, 53, 96, .07);
}

body.notice-page:not(.notice-detail-page) .filter-card {
  padding: 22px 22px 24px;
}

body.notice-page:not(.notice-detail-page) .filter-head {
  margin-bottom: 18px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e7eef7;
}

body.notice-page:not(.notice-detail-page) .filter-title {
  color: #111827;
  font-size: 20px;
  font-weight: 950;
}

body.notice-page:not(.notice-detail-page) .filter-chip-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

body.notice-page:not(.notice-detail-page) .filter-check-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px 12px;
}

body.notice-page:not(.notice-detail-page) .filter-chip,
body.notice-page:not(.notice-detail-page) .filter-check {
  min-height: 38px;
  border: 1px solid #dce5ef;
  border-radius: 9px;
  background: #ffffff;
  color: #1f2937;
  font-size: 13px;
  font-weight: 850;
}

body.notice-page:not(.notice-detail-page) .filter-chip.active,
body.notice-page:not(.notice-detail-page) .filter-check.active,
body.notice-page:not(.notice-detail-page) .status-option.active {
  border-color: var(--portal-blue);
  background: var(--portal-blue);
  color: #ffffff;
}

body.notice-page:not(.notice-detail-page) .filter-check input,
body.notice-page:not(.notice-detail-page) .period-options input {
  accent-color: var(--portal-blue);
}

body.notice-page:not(.notice-detail-page) .status-segment {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  padding: 0;
  border: 0;
  background: transparent;
}

body.notice-page:not(.notice-detail-page) .status-option {
  height: 38px;
  border: 1px solid #dce5ef;
  border-radius: 9px;
  background: #ffffff;
  color: #111827;
}

body.notice-page:not(.notice-detail-page) .status-option[data-status="마감임박"].active {
  border-color: #fdba74;
  background: #fff7ed;
  color: #ea580c;
}

body.notice-page:not(.notice-detail-page) .date-filter-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 16px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

body.notice-page:not(.notice-detail-page) .date-filter-row label {
  min-width: 0;
  display: grid;
  gap: 5px;
}

body.notice-page:not(.notice-detail-page) .date-filter-row span {
  color: #7b8797;
  font-size: 12px;
  font-weight: 800;
}

body.notice-page:not(.notice-detail-page) .date-filter-row input {
  width: 100%;
  min-height: 38px;
  border: 1px solid #dce5ef;
  border-radius: 9px;
  background: #ffffff;
  color: #334155;
  font-size: 12px;
  font-weight: 800;
}

body.notice-page:not(.notice-detail-page) .date-filter-separator {
  align-self: end;
  padding-bottom: 10px;
  text-align: center;
}

body.notice-page:not(.notice-detail-page) .filter-primary {
  min-height: 44px;
  border-radius: 10px;
  background: var(--portal-blue);
  box-shadow: 0 10px 18px rgba(11, 91, 211, .16);
}

body.notice-page:not(.notice-detail-page) .filter-secondary {
  min-height: 40px;
  border-radius: 10px;
  background: #ffffff;
}

body.notice-page:not(.notice-detail-page) .notice-info-card {
  padding: 20px;
  border-color: #fed7aa;
  background: #fffaf0;
  color: #4b5563;
}

body.notice-page:not(.notice-detail-page) .notice-info-card strong {
  display: block;
  margin-bottom: 8px;
  color: #92400e;
}

body.notice-page:not(.notice-detail-page) .notice-results {
  padding: 18px;
}

body.notice-page:not(.notice-detail-page) .results-toolbar {
  min-height: 50px;
  margin-bottom: 12px;
}

body.notice-page:not(.notice-detail-page) .total-count span {
  font-size: 21px;
  color: #111827;
}

body.notice-page:not(.notice-detail-page) .total-count strong {
  background: transparent;
  color: var(--portal-blue);
}

body.notice-page:not(.notice-detail-page) .sort-select {
  width: 150px;
  height: 42px;
  border-color: #dce5ef;
  border-radius: 10px;
}

body.notice-page:not(.notice-detail-page) .view-toggle {
  height: 42px;
  grid-template-columns: 42px 42px;
  border-color: #dce5ef;
  background: #ffffff;
}

body.notice-page:not(.notice-detail-page) .view-toggle button.active {
  background: var(--portal-blue);
  color: #ffffff;
}

body.notice-page:not(.notice-detail-page) .applied-filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  padding: 13px 16px;
  border: 1px solid #e6edf7;
  border-radius: 12px;
  background: #fbfdff;
}

body.notice-page:not(.notice-detail-page) .applied-filter-title {
  flex: 0 0 auto;
  color: #334155;
  font-size: 13px;
  font-weight: 950;
}

body.notice-page:not(.notice-detail-page) .applied-filter-list {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 7px;
}

body.notice-page:not(.notice-detail-page) .applied-filter-list button,
body.notice-page:not(.notice-detail-page) .applied-filter-reset {
  min-height: 28px;
  border: 1px solid #cfe0f7;
  border-radius: 8px;
  background: var(--portal-blue-soft);
  color: var(--portal-blue);
  font-size: 12px;
  font-weight: 900;
}

body.notice-page:not(.notice-detail-page) .applied-filter-reset {
  background: #ffffff;
  color: #64748b;
}

body.notice-page:not(.notice-detail-page) .notice-list,
body.notice-page:not(.notice-detail-page) .notice-list.grid-view {
  gap: 8px;
}

body.notice-page:not(.notice-detail-page) .notice-card.notice-table-row,
body.notice-page:not(.notice-detail-page) .notice-list.grid-view .notice-card.notice-table-row {
  display: grid;
  grid-template-columns: 40px 94px minmax(0, 1fr) 102px;
  gap: 14px;
  align-items: center;
  min-height: 134px;
  padding: 14px 12px 14px 14px;
  border: 1px solid #e2e9f3;
  border-radius: 13px;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(15, 42, 78, .045);
}

body.notice-page:not(.notice-detail-page) .notice-card.notice-table-row:hover {
  border-color: #bad1ec;
  background: #fbfdff;
  box-shadow: 0 10px 24px rgba(15, 42, 78, .08);
}

body.notice-page:not(.notice-detail-page) .notice-table-row > div {
  min-width: 0;
  padding: 0;
  border-left: 0;
}

body.notice-page:not(.notice-detail-page) .notice-bookmark-cell {
  align-self: stretch;
  align-items: flex-start;
  justify-content: center;
  padding-top: 12px;
}

body.notice-page:not(.notice-detail-page) .notice-table-row .favorite-button,
body.notice-page:not(.notice-detail-page) .notice-list.grid-view .notice-table-row .favorite-button {
  width: 28px;
  height: 36px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #334155;
  box-shadow: none;
}

body.notice-page:not(.notice-detail-page) .notice-table-row .favorite-button:hover,
body.notice-page:not(.notice-detail-page) .notice-table-row .favorite-button.active {
  background: transparent;
  color: var(--portal-blue);
  box-shadow: none;
}

body.notice-page:not(.notice-detail-page) .notice-table-row .favorite-button svg {
  width: 25px;
  height: 25px;
}

body.notice-page:not(.notice-detail-page) .notice-deadline-panel {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  border-right: 1px solid #edf2f7;
  text-align: center;
}

body.notice-page:not(.notice-detail-page) .notice-table-row .status-badge {
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid #bfd7ff;
  border-radius: 7px;
  background: #f3f8ff;
  color: var(--portal-blue);
  font-size: 12px;
  font-weight: 950;
}

body.notice-page:not(.notice-detail-page) .notice-table-row .status-badge.status-soon {
  border-color: #fecaca;
  background: #fff4f4;
  color: #e11d48;
}

body.notice-page:not(.notice-detail-page) .notice-table-row .status-badge::before {
  display: none;
}

body.notice-page:not(.notice-detail-page) .notice-deadline-value {
  color: var(--portal-blue);
  font-size: 31px;
  line-height: 1.05;
  font-weight: 950;
}

body.notice-page:not(.notice-detail-page) .notice-deadline-value.dday-red,
body.notice-page:not(.notice-detail-page) .notice-card-status-soon .notice-deadline-value {
  color: var(--portal-red);
}

body.notice-page:not(.notice-detail-page) .notice-deadline-value.dday-orange {
  color: var(--portal-orange);
}

body.notice-page:not(.notice-detail-page) .notice-deadline-period {
  color: #4b5563;
  font-size: 12px;
  font-weight: 850;
}

body.notice-page:not(.notice-detail-page) .notice-title-cell {
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

body.notice-page:not(.notice-detail-page) .notice-card-title {
  width: 100%;
  max-width: 100%;
  color: #111827;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 950;
  -webkit-line-clamp: 2;
}

body.notice-page:not(.notice-detail-page) .notice-summary-line {
  width: 100%;
  margin: 0;
  overflow: hidden;
  color: #374151;
  display: -webkit-box;
  font-size: 13.2px;
  line-height: 1.45;
  font-weight: 750;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

body.notice-page:not(.notice-detail-page) .notice-meta-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 7px;
}

body.notice-page:not(.notice-detail-page) .notice-info-chip {
  min-height: 21px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 7px;
  border-radius: 6px;
  background: #f0f7ff;
  color: #335c9d;
  font-size: 11px;
  font-weight: 850;
}

body.notice-page:not(.notice-detail-page) .notice-info-chip b {
  color: var(--portal-blue);
  font-size: 10.5px;
  font-weight: 950;
}

body.notice-page:not(.notice-detail-page) .notice-card-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: #58677b;
  font-size: 12px;
  font-weight: 800;
}

body.notice-page:not(.notice-detail-page) .notice-action-cell {
  display: grid;
  gap: 7px;
  align-self: center;
}

body.notice-page:not(.notice-detail-page) .notice-action-button {
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 0 9px;
  border: 1px solid #dce5ef;
  border-radius: 8px;
  background: #ffffff;
  color: #111827;
  font-size: 12px;
  font-weight: 900;
}

body.notice-page:not(.notice-detail-page) .notice-action-button:hover {
  border-color: #b5cce8;
  color: var(--portal-blue);
}

body.notice-page:not(.notice-detail-page) .notice-action-button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

body.notice-page:not(.notice-detail-page) .notice-target-row,
body.notice-page:not(.notice-detail-page) .notice-side-meta-cell,
body.notice-page:not(.notice-detail-page) .notice-dday-cell {
  display: none;
}

body.notice-page:not(.notice-detail-page) .pagination {
  margin-top: 14px;
  justify-content: center;
}

body.notice-page:not(.notice-detail-page) .pagination button.active {
  background: var(--portal-blue);
  color: #ffffff;
}

body.notice-page:not(.notice-detail-page) .notice-bottom-panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0 24px;
}

body.notice-page:not(.notice-detail-page) .bottom-panel {
  min-height: 126px;
  padding: 18px 20px;
}

body.notice-page:not(.notice-detail-page) .bottom-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

body.notice-page:not(.notice-detail-page) .bottom-panel-head strong {
  color: #172033;
  font-size: 16px;
  font-weight: 950;
}

body.notice-page:not(.notice-detail-page) .bottom-panel-head button {
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 12px;
  font-weight: 850;
}

body.notice-page:not(.notice-detail-page) .bottom-panel ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.notice-page:not(.notice-detail-page) .bottom-panel li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
}

body.notice-page:not(.notice-detail-page) .bottom-panel li.empty {
  display: block;
  color: #94a3b8;
}

body.notice-page:not(.notice-detail-page) .bottom-panel li button {
  min-width: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  color: #334155;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 800;
}

body.notice-page:not(.notice-detail-page) .bottom-panel li span {
  color: var(--portal-red);
  font-weight: 900;
}

body.notice-page:not(.notice-detail-page) .guide-panel {
  position: relative;
}

body.notice-page:not(.notice-detail-page) .notice-footer {
  width: min(1360px, calc(100% - 48px));
  min-height: 62px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  margin: 0 auto;
  padding: 16px 0 24px;
  color: #64748b;
  font-size: 12px;
}

body.notice-page:not(.notice-detail-page) .footer-agencies {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #253244;
  font-weight: 950;
}

body.notice-page:not(.notice-detail-page) .notice-footer nav {
  display: flex;
  justify-content: center;
  gap: 22px;
}

body.notice-page:not(.notice-detail-page) .notice-footer a {
  color: #64748b;
  text-decoration: none;
  font-weight: 800;
}

@media (max-width: 1280px) {
  body.notice-page:not(.notice-detail-page) .notice-shell,
  body.notice-page:not(.notice-detail-page) .notice-footer {
    width: min(100% - 32px, 1360px);
  }
  body.notice-page:not(.notice-detail-page) .notice-brand {
    min-width: 280px;
  }
  body.notice-page:not(.notice-detail-page) .brand-copy small {
    display: none;
  }
  body.notice-page:not(.notice-detail-page) .notice-layout {
    grid-template-columns: 320px minmax(0, 1fr);
  }
}

@media (max-width: 980px) {
  body.notice-page:not(.notice-detail-page) .notice-header {
    height: auto;
    min-height: 70px;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 16px;
  }
  body.notice-page:not(.notice-detail-page) .notice-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }
  body.notice-page:not(.notice-detail-page) .notice-nav a {
    height: 38px;
  }
  body.notice-page:not(.notice-detail-page) .notice-category-rail {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  body.notice-page:not(.notice-detail-page) .notice-layout {
    display: flex;
    flex-direction: column;
  }
  body.notice-page:not(.notice-detail-page) .notice-results {
    order: 1;
    width: 100%;
  }
  body.notice-page:not(.notice-detail-page) .notice-bottom-panels {
    grid-template-columns: 1fr;
  }
  body.notice-page:not(.notice-detail-page) .notice-footer {
    grid-template-columns: 1fr;
    text-align: center;
  }
  body.notice-page:not(.notice-detail-page) .footer-agencies,
  body.notice-page:not(.notice-detail-page) .notice-footer nav {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  body.notice-page:not(.notice-detail-page) .notice-shell,
  body.notice-page:not(.notice-detail-page) .notice-footer {
    width: min(100% - 24px, 1360px);
  }
  body.notice-page:not(.notice-detail-page) .notice-brand {
    min-width: 0;
  }
  body.notice-page:not(.notice-detail-page) .brand-copy {
    display: block;
  }
  body.notice-page:not(.notice-detail-page) .brand-copy strong {
    font-size: 22px;
  }
  body.notice-page:not(.notice-detail-page) .notice-actions {
    width: 100%;
    justify-content: space-between;
  }
  body.notice-page:not(.notice-detail-page) .hero-copy h1 {
    font-size: 25px;
  }
  body.notice-page:not(.notice-detail-page) .notice-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  body.notice-page:not(.notice-detail-page) .hero-copy,
  body.notice-page:not(.notice-detail-page) .hero-metrics {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
  body.notice-page:not(.notice-detail-page) .notice-search {
    height: 54px;
    grid-template-columns: minmax(0, 1fr) 0 54px;
  }
  body.notice-page:not(.notice-detail-page) .search-lens {
    width: 54px;
    height: 54px;
    padding: 16px;
  }
  body.notice-page:not(.notice-detail-page) .notice-stat-card {
    min-width: 0;
  }
  body.notice-page:not(.notice-detail-page) .stat-icon {
    width: 42px;
    height: 42px;
  }
  body.notice-page:not(.notice-detail-page) .stat-copy strong {
    font-size: 24px;
  }
  body.notice-page:not(.notice-detail-page) .notice-update-bar {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    padding: 12px 14px;
  }
  body.notice-page:not(.notice-detail-page) .notice-category-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 10px;
  }
  body.notice-page:not(.notice-detail-page) .filter-chip-grid,
  body.notice-page:not(.notice-detail-page) .filter-check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.notice-page:not(.notice-detail-page) .date-filter-row {
    grid-template-columns: 1fr;
  }
  body.notice-page:not(.notice-detail-page) .date-filter-separator {
    display: none;
  }
  body.notice-page:not(.notice-detail-page) .results-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }
  body.notice-page:not(.notice-detail-page) .toolbar-actions {
    width: 100%;
    justify-content: space-between;
  }
  body.notice-page:not(.notice-detail-page) .sort-select {
    width: min(210px, 100%);
  }
  body.notice-page:not(.notice-detail-page) .applied-filter-bar {
    align-items: flex-start;
    flex-direction: column;
  }
  body.notice-page:not(.notice-detail-page) .notice-card.notice-table-row,
  body.notice-page:not(.notice-detail-page) .notice-list.grid-view .notice-card.notice-table-row {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px 12px;
    min-height: 0;
    padding: 14px;
  }
  body.notice-page:not(.notice-detail-page) .notice-bookmark-cell {
    grid-row: 1 / span 3;
  }
  body.notice-page:not(.notice-detail-page) .notice-deadline-panel {
    grid-column: 2;
    grid-row: 1;
    align-items: flex-start;
    border-right: 0;
    text-align: left;
  }
  body.notice-page:not(.notice-detail-page) .notice-title-cell {
    grid-column: 2;
    grid-row: 2;
  }
  body.notice-page:not(.notice-detail-page) .notice-deadline-value {
    font-size: 27px;
  }
  body.notice-page:not(.notice-detail-page) .notice-action-cell {
    grid-column: 2;
    grid-row: 3;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  body.notice-page:not(.notice-detail-page) .notice-action-button {
    padding: 0 7px;
    font-size: 11.5px;
  }
  body.notice-page:not(.notice-detail-page) .notice-card-foot {
    gap: 8px;
  }
}

/* Final reference-match layer: must stay last. */
body.notice-page:not(.notice-detail-page) .notice-header {
  height: 64px;
  min-height: 64px;
  display: grid;
  grid-template-columns: minmax(360px, 1fr) auto minmax(150px, auto);
  gap: 22px;
  align-items: center;
  padding: 0 29px;
}
body.notice-page:not(.notice-detail-page) .notice-brand { min-width: 0; }
body.notice-page:not(.notice-detail-page) .brand-copy small { display: block; }
body.notice-page:not(.notice-detail-page) .notice-nav {
  display: flex;
  grid-column: 2;
  justify-content: center;
  gap: 40px;
  width: auto;
  overflow: visible;
}
body.notice-page:not(.notice-detail-page) .notice-nav a {
  height: 64px;
  color: #111827;
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}
body.notice-page:not(.notice-detail-page) .notice-nav a.active { color: var(--portal-blue); }
body.notice-page:not(.notice-detail-page) .notice-nav a.active::after {
  display: block;
  height: 3px;
}
body.notice-page:not(.notice-detail-page) .notice-actions { grid-column: 3; }
body.notice-page:not(.notice-detail-page) .notice-shell,
body.notice-page:not(.notice-detail-page) .notice-footer {
  width: min(1020px, calc(100% - 36px));
}
body.notice-page:not(.notice-detail-page) .notice-hero {
  grid-template-columns: minmax(0, 1fr) 510px;
  gap: 26px;
  align-items: start;
}
body.notice-page:not(.notice-detail-page) .hero-copy {
  min-width: 0;
  align-content: start;
  gap: 16px;
}
body.notice-page:not(.notice-detail-page) .hero-copy h1 {
  font-size: 34px;
  line-height: 1.12;
  letter-spacing: 0;
  white-space: nowrap;
}
body.notice-page:not(.notice-detail-page) .notice-search {
  width: min(440px, 100%);
  height: 48px;
  grid-template-columns: minmax(0, 1fr) 0 56px;
  padding-left: 17px;
  border-radius: 10px;
}
body.notice-page:not(.notice-detail-page) .notice-search input { font-size: 15px; }
body.notice-page:not(.notice-detail-page) .search-lens {
  width: 56px;
  height: 48px;
  padding: 13px;
  border-radius: 0 9px 9px 0;
}
body.notice-page:not(.notice-detail-page) .popular-searches {
  width: min(440px, 100%);
  flex-wrap: wrap;
  overflow: visible;
  gap: 8px;
}
body.notice-page:not(.notice-detail-page) .popular-searches button {
  height: 26px;
  padding: 0 12px;
  font-size: 12px;
}
body.notice-page:not(.notice-detail-page) .hero-metrics {
  width: 510px;
  min-width: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
body.notice-page:not(.notice-detail-page) .stat-icon {
  width: 58px;
  height: 58px;
}
body.notice-page:not(.notice-detail-page) .stat-copy span { font-size: 13px; }
body.notice-page:not(.notice-detail-page) .stat-copy strong { font-size: 28px; }
body.notice-page:not(.notice-detail-page) .notice-update-bar {
  min-height: 40px;
  height: 40px;
  align-items: center;
  flex-direction: row;
  gap: 34px;
  padding: 0 16px;
  margin: 0;
  border-radius: 9px;
}
body.notice-page:not(.notice-detail-page) .notice-category-rail {
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 8px;
  min-height: 60px;
  margin-top: 14px;
  padding: 10px 16px;
  border-radius: 12px;
}
body.notice-page:not(.notice-detail-page) .category-tab {
  height: 40px;
  min-width: 0;
  border-radius: 8px;
  font-size: 13px;
}
body.notice-page:not(.notice-detail-page) .notice-layout {
  display: grid;
  grid-template-columns: 282px minmax(0, 1fr);
  gap: 12px;
  margin-top: 14px;
}
body.notice-page:not(.notice-detail-page) .filter-stack {
  width: 282px;
  gap: 14px;
}
body.notice-page:not(.notice-detail-page) .filter-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 17px 16px 18px;
  border-radius: 12px;
}
body.notice-page:not(.notice-detail-page) .filter-head {
  min-height: 36px;
  margin-bottom: 14px;
}
body.notice-page:not(.notice-detail-page) .filter-title { font-size: 20px; }
body.notice-page:not(.notice-detail-page) .filter-reset.filter-pin {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--portal-blue);
  background: transparent;
  font-size: 18px;
}
body.notice-page:not(.notice-detail-page) .filter-group {
  display: block;
  padding: 13px 0;
}
body.notice-page:not(.notice-detail-page) .filter-label { font-size: 13px; }
body.notice-page:not(.notice-detail-page) .filter-label small {
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
}
body.notice-page:not(.notice-detail-page) .filter-chip-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
}
body.notice-page:not(.notice-detail-page) .filter-check-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 10px;
}
body.notice-page:not(.notice-detail-page) .filter-chip,
body.notice-page:not(.notice-detail-page) .filter-check,
body.notice-page:not(.notice-detail-page) .status-option {
  min-width: 0;
  height: 31px;
  padding: 0 8px;
  font-size: 12px;
  word-break: keep-all;
}
body.notice-page:not(.notice-detail-page) .status-segment,
body.notice-page:not(.notice-detail-page) .period-options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}
body.notice-page:not(.notice-detail-page) .date-filter-row {
  grid-template-columns: minmax(0, 1fr) 14px minmax(0, 1fr);
}
body.notice-page:not(.notice-detail-page) .filter-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding-top: 12px;
}
body.notice-page:not(.notice-detail-page) .filter-primary {
  grid-column: 1 / -1;
  height: 36px;
}
body.notice-page:not(.notice-detail-page) .filter-secondary {
  height: 32px;
  font-size: 12px;
}
body.notice-page:not(.notice-detail-page) .notice-info-card {
  padding: 18px 16px;
  border-color: #ffdca8;
  background: #fff9ed;
  color: #3f3a2f;
  border-radius: 10px;
  line-height: 1.55;
}
body.notice-page:not(.notice-detail-page) .notice-info-card a {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  height: 34px;
  margin-top: 14px;
  padding: 0 14px;
  border: 1px solid #ffc266;
  border-radius: 8px;
  color: #e26200;
  background: #ffffff;
  text-decoration: none;
  font-weight: 900;
}
body.notice-page:not(.notice-detail-page) .notice-results {
  padding: 18px 12px 14px;
  border-radius: 12px;
}
body.notice-page:not(.notice-detail-page) .results-toolbar {
  min-height: 40px;
  align-items: center;
}
body.notice-page:not(.notice-detail-page) .total-count span { font-size: 20px; }
body.notice-page:not(.notice-detail-page) .sort-select {
  width: 120px;
  height: 36px;
}
body.notice-page:not(.notice-detail-page) .view-toggle button {
  width: 36px;
  height: 36px;
}
body.notice-page:not(.notice-detail-page) .applied-filter-bar {
  min-height: 48px;
  margin: 12px 0 8px;
  padding: 10px 12px;
}
body.notice-page:not(.notice-detail-page) .notice-list,
body.notice-page:not(.notice-detail-page) .notice-list.grid-view { gap: 7px; }
body.notice-page:not(.notice-detail-page) .notice-card.notice-table-row,
body.notice-page:not(.notice-detail-page) .notice-list.grid-view .notice-card.notice-table-row {
  grid-template-columns: 34px 78px minmax(0, 1fr) 84px;
  gap: 10px;
  min-height: 118px;
  padding: 10px 10px 10px 12px;
  border-radius: 9px;
}
body.notice-page:not(.notice-detail-page) .notice-deadline-panel { gap: 3px; }
body.notice-page:not(.notice-detail-page) .notice-table-row .status-badge {
  min-height: 21px;
  padding: 0 7px;
  font-size: 11px;
}
body.notice-page:not(.notice-detail-page) .notice-deadline-value { font-size: 28px; }
body.notice-page:not(.notice-detail-page) .notice-deadline-period { font-size: 11px; }
body.notice-page:not(.notice-detail-page) .notice-title-cell { gap: 6px; }
body.notice-page:not(.notice-detail-page) .notice-card-title {
  font-size: 15px;
  line-height: 1.3;
}
body.notice-page:not(.notice-detail-page) .notice-summary-line {
  font-size: 12px;
  line-height: 1.35;
}
body.notice-page:not(.notice-detail-page) .notice-meta-chip-row { gap: 4px 5px; }
body.notice-page:not(.notice-detail-page) .notice-info-chip {
  min-height: 19px;
  padding: 0 6px;
  font-size: 10px;
}
body.notice-page:not(.notice-detail-page) .notice-info-chip b { font-size: 9.5px; }
body.notice-page:not(.notice-detail-page) .notice-card-foot {
  gap: 14px;
  font-size: 11px;
}
body.notice-page:not(.notice-detail-page) .notice-action-cell { gap: 5px; }
body.notice-page:not(.notice-detail-page) .notice-action-button {
  height: 27px;
  padding: 0 7px;
  border-radius: 6px;
  font-size: 11px;
}
body.notice-page:not(.notice-detail-page) .pagination { margin-top: 12px; }
body.notice-page:not(.notice-detail-page) .notice-bottom-panels { margin-top: 16px; }

@media (max-width: 980px) {
  body.notice-page:not(.notice-detail-page) .notice-header {
    height: auto;
    min-height: 64px;
    display: flex;
    flex-wrap: wrap;
    padding: 10px 16px;
  }
  body.notice-page:not(.notice-detail-page) .notice-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }
  body.notice-page:not(.notice-detail-page) .notice-nav a { height: 38px; }
  body.notice-page:not(.notice-detail-page) .notice-shell,
  body.notice-page:not(.notice-detail-page) .notice-footer {
    width: min(100% - 24px, 1020px);
  }
  body.notice-page:not(.notice-detail-page) .hero-copy h1 { white-space: normal; }
  body.notice-page:not(.notice-detail-page) .notice-layout {
    display: flex;
    flex-direction: column;
  }
  body.notice-page:not(.notice-detail-page) .filter-stack {
    order: 2;
    width: 100%;
  }
  body.notice-page:not(.notice-detail-page) .notice-results { order: 1; }
}

@media (max-width: 640px) {
  body.notice-page:not(.notice-detail-page) .notice-nav { display: none; }
  body.notice-page:not(.notice-detail-page) .notice-category-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.notice-page:not(.notice-detail-page) .filter-chip-grid,
  body.notice-page:not(.notice-detail-page) .filter-check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.notice-page:not(.notice-detail-page) .notice-card.notice-table-row,
  body.notice-page:not(.notice-detail-page) .notice-list.grid-view .notice-card.notice-table-row {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px 12px;
    min-height: 0;
    padding: 14px;
  }
  body.notice-page:not(.notice-detail-page) .notice-bookmark-cell { grid-row: 1 / span 3; }
  body.notice-page:not(.notice-detail-page) .notice-deadline-panel {
    grid-column: 2;
    grid-row: 1;
    align-items: flex-start;
    border-right: 0;
    text-align: left;
  }
  body.notice-page:not(.notice-detail-page) .notice-title-cell {
    grid-column: 2;
    grid-row: 2;
  }
  body.notice-page:not(.notice-detail-page) .notice-action-cell {
    grid-column: 2;
    grid-row: 3;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* 가격 문의(요금제) 페이지 */
.pricing-shell {
  display: grid;
  gap: 16px;
}
.pricing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 20px;
  padding: 22px 24px;
  border: 1px solid var(--notice-line);
  border-radius: 16px;
  background: linear-gradient(135deg, #fff 0%, #f3f7ff 100%);
  box-shadow: 0 5px 18px rgba(39, 70, 125, .07);
}
.pricing-hero-copy {
  display: grid;
  gap: 7px;
}
.pricing-hero h1 {
  max-width: 720px;
  margin: 0;
  color: #081b48;
  font-size: clamp(27px, 3vw, 32px);
  line-height: 1.2;
  font-weight: 950;
  letter-spacing: -.035em;
  word-break: keep-all;
}
.pricing-hero p {
  margin: 0;
  color: #53627a;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 700;
}
.pricing-hero .pricing-note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid #d9e4f3;
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  color: #68758a;
  font-size: 11.5px;
  white-space: nowrap;
}
.pricing-note span {
  display: inline-grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border-radius: 50%;
  background: var(--notice-blue-soft);
  color: var(--notice-blue-2);
  font-size: 11px;
  font-weight: 950;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}
.pricing-card {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  min-width: 0;
  gap: 11px;
  padding: 20px;
  border: 1px solid var(--notice-line);
  border-radius: 16px;
  background: var(--notice-panel);
  box-shadow: 0 5px 18px rgba(39, 70, 125, .07);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.pricing-card--featured {
  border-color: #9fc2f8;
  background: linear-gradient(180deg, #f7fbff 0%, #fff 42%);
  box-shadow: 0 12px 30px rgba(39, 70, 125, .11);
}
.pricing-card:hover {
  border-color: #b9cbe5;
  box-shadow: 0 12px 28px rgba(39, 70, 125, .11);
  transform: translateY(-2px);
}
.pricing-card-head {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.pricing-card h2 {
  margin: 0;
  color: #101b35;
  font-size: 19px;
  font-weight: 950;
}
.pricing-plan-desc {
  margin: 0;
  min-height: 40px;
  color: #61708a;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 700;
}
.pricing-badge {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--notice-blue);
  color: #fff;
  font-size: 11px;
  font-weight: 950;
}
.pricing-badge--free {
  background: #eef3fa;
  color: #52627a;
}
.pricing-badge--soon {
  background: #fff1e7;
  color: #b95613;
}
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 0;
  color: #081b48;
  font-size: 28px;
  font-weight: 950;
  letter-spacing: -.025em;
}
.pricing-price small {
  color: #8590a6;
  font-size: 12px;
  font-weight: 800;
}
.pricing-feature-list {
  display: grid;
  align-content: start;
  gap: 7px;
  margin: 0;
  padding: 12px 0 2px;
  list-style: none;
  border-top: 1px solid var(--notice-line);
}
.pricing-feature-list li {
  position: relative;
  padding-left: 21px;
  color: #35455f;
  font-size: 12.5px;
  line-height: 1.5;
  font-weight: 700;
}
.pricing-feature-list li::before {
  content: "\2713";
  position: absolute;
  left: 1px;
  color: var(--notice-green);
  font-weight: 950;
}
.pricing-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--notice-blue);
  border-radius: 10px;
  background: var(--notice-blue);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
  transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.pricing-cta:hover {
  background: var(--notice-blue-2);
}
.pricing-cta:active {
  transform: translateY(1px);
}
.pricing-cta:focus-visible {
  outline: 3px solid rgba(18, 99, 241, .24);
  outline-offset: 3px;
}
.pricing-cta--ghost {
  background: #fff;
  color: var(--notice-blue-2);
}
.pricing-cta--ghost:hover {
  background: var(--notice-blue-soft);
}
.pricing-cta--dark {
  border-color: #173f7a;
  background: #173f7a;
}
.pricing-cta--dark:hover {
  border-color: #0f315f;
  background: #0f315f;
}
.pricing-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  border: 1px solid var(--notice-line);
  border-radius: 16px;
  background: linear-gradient(135deg, var(--notice-soft), #f8fbff);
}
.pricing-contact-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}
.pricing-contact-copy > span {
  color: var(--notice-blue-2);
  font-size: 10.5px;
  font-weight: 950;
  letter-spacing: .08em;
}
.pricing-contact strong {
  color: #101b35;
  font-size: 16px;
  font-weight: 950;
}
.pricing-contact-email {
  width: fit-content;
  max-width: 100%;
  overflow-wrap: anywhere;
  color: #61708a;
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}
.pricing-contact-email:hover {
  color: var(--notice-blue-2);
  text-decoration: underline;
}
.pricing-contact-email:focus-visible {
  outline: 3px solid rgba(18, 99, 241, .24);
  outline-offset: 3px;
  border-radius: 4px;
}
.pricing-contact .pricing-cta {
  flex: 0 0 auto;
  min-width: 150px;
}
@media (min-width: 640px) and (max-width: 899px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pricing-card:last-child {
    grid-column: 1 / -1;
  }
}
@media (max-width: 639px) {
  .pricing-shell {
    gap: 12px;
  }
  .pricing-hero {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 12px;
    padding: 18px;
  }
  .pricing-hero h1 {
    font-size: clamp(24px, 8vw, 28px);
  }
  .pricing-hero .pricing-note {
    width: fit-content;
    max-width: 100%;
    white-space: normal;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .pricing-card {
    padding: 18px;
  }
  .pricing-plan-desc {
    min-height: 0;
  }
  .pricing-contact {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
  }
  .pricing-contact .pricing-cta {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pricing-card,
  .pricing-cta {
    transition: none;
  }
}

/* FAQ(자주 묻는 질문) 페이지 */
.faq-shell {
  display: grid;
  gap: 22px;
}
.faq-hero {
  display: grid;
  gap: 12px;
  padding: 34px 38px;
  border: 1px solid #dce7f6;
  border-radius: 22px;
  background:
    radial-gradient(circle at 95% 12%, rgba(255, 196, 64, .18), transparent 24%),
    linear-gradient(135deg, #ffffff 0%, #edf5ff 100%);
  box-shadow: 0 14px 34px rgba(50, 84, 132, .09);
}
.faq-hero h1 {
  margin: 2px 0 0;
  color: #081b48;
  font-size: 34px;
  line-height: 1.16;
  font-weight: 950;
}
.faq-hero p {
  max-width: 720px;
  margin: 0;
  color: #53627a;
  font-size: 16px;
  line-height: 1.75;
  font-weight: 700;
}
.faq-list {
  display: grid;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--notice-line);
  border-radius: 14px;
  background: var(--notice-panel);
  box-shadow: var(--notice-shadow-sm);
  overflow: hidden;
}
.faq-item > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  color: #101b35;
  font-size: 16px;
  font-weight: 900;
}
.faq-item > summary::-webkit-details-marker {
  display: none;
}
.faq-item > summary::after {
  content: "+";
  flex: none;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--notice-blue-soft);
  color: var(--notice-blue-2);
  font-size: 18px;
  font-weight: 900;
  transition: transform .18s ease;
}
.faq-item[open] > summary::after {
  content: "\2212";
}
.faq-item[open] > summary {
  color: var(--notice-blue-2);
}
.faq-answer {
  padding: 0 22px 20px;
  border-top: 1px solid var(--notice-line);
}
.faq-answer p {
  margin: 14px 0 0;
  color: #35455f;
  font-size: 14.5px;
  line-height: 1.75;
  font-weight: 700;
}
.faq-answer a {
  color: var(--notice-blue-2);
  font-weight: 800;
}
@media (max-width: 1100px) {
  .faq-hero h1 { font-size: 28px; }
}

/* FAQ 공개 Q&A 게시판 */
.faq-qa {
  display: grid;
  gap: 16px;
  padding: 26px 28px;
  border: 1px solid var(--notice-line);
  border-radius: 16px;
  background: var(--notice-panel);
  box-shadow: var(--notice-shadow-sm);
}
.faq-q-form {
  display: grid;
  gap: 10px;
}
.faq-q-form textarea,
.faq-answer-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--notice-line-strong);
  border-radius: 10px;
  background: #fff;
  color: var(--notice-text);
  font: inherit;
  font-size: 14.5px;
  line-height: 1.6;
  resize: vertical;
}
.faq-q-form textarea:focus,
.faq-answer-input:focus {
  outline: none;
  border-color: var(--notice-blue);
}
.faq-q-form-actions {
  display: flex;
  justify-content: flex-end;
}
.faq-q-status {
  margin: 0;
  min-height: 18px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--notice-muted);
}
.faq-q-status[data-type="error"] { color: #d33; }
.faq-q-status[data-type="success"] { color: var(--notice-green); }
.faq-q-list {
  display: grid;
  gap: 12px;
}
.faq-q-empty {
  padding: 20px;
  border: 1px dashed var(--notice-line-strong);
  border-radius: 12px;
  color: var(--notice-muted);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}
.faq-q-card {
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  border: 1px solid var(--notice-line);
  border-radius: 12px;
  background: #fbfdff;
}
.faq-q-card.is-pending {
  border-left: 3px solid var(--notice-orange);
}
.faq-q-card.is-answered {
  border-left: 3px solid var(--notice-green);
}
.faq-q-head {
  display: flex;
  align-items: center;
  gap: 8px;
}
.faq-q-head time {
  color: var(--notice-muted);
  font-size: 12.5px;
  font-weight: 700;
}
.faq-pending-badge,
.faq-mine-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 900;
}
.faq-pending-badge {
  background: var(--notice-orange-soft);
  color: #b4520a;
}
.faq-mine-badge {
  background: var(--notice-blue-soft);
  color: var(--notice-blue-2);
}
.faq-q-text {
  margin: 0;
  color: var(--notice-text);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.6;
  white-space: pre-wrap;
}
.faq-q-answer {
  display: grid;
  gap: 5px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--notice-soft);
}
.faq-q-answer strong {
  color: var(--notice-blue-2);
  font-size: 12.5px;
  font-weight: 900;
}
.faq-q-answer p {
  margin: 0;
  color: #35455f;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 600;
  white-space: pre-wrap;
}
.faq-admin-answer {
  display: grid;
  gap: 8px;
  padding-top: 4px;
}
.faq-admin-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}
.faq-delete {
  border: 1px solid var(--notice-line-strong);
  border-radius: 8px;
  background: #fff;
  color: var(--notice-muted);
  font-size: 13px;
  font-weight: 800;
  padding: 0 14px;
  min-height: 36px;
  cursor: pointer;
}
.faq-delete:hover {
  border-color: #d33;
  color: #d33;
}

/* FAQ tabs and private Q&A */
.faq-support-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  width: min(100%, 520px);
  min-width: 0;
  padding: 6px;
  border: 1px solid var(--notice-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--notice-shadow-sm);
}

.faq-support-tab {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--notice-muted);
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
}

.faq-support-tab:hover:not([aria-selected="true"]) {
  background: var(--notice-soft);
  color: var(--notice-blue-2);
}

.faq-support-tab[aria-selected="true"] {
  border-color: var(--notice-blue);
  background: var(--notice-blue);
  color: #fff;
  box-shadow: 0 6px 14px rgba(18, 99, 241, .18);
}

.faq-tab-panel {
  display: grid;
  min-width: 0;
  gap: 18px;
}

.faq-tab-panel[hidden] {
  display: none;
}

.faq-direct-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--notice-blue);
  border-radius: 10px;
  background: var(--notice-blue);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.3;
  text-decoration: none;
}

.faq-direct-cta:hover {
  border-color: var(--notice-blue-2);
  background: var(--notice-blue-2);
}

.faq-tab-panel .faq-list,
.faq-tab-panel .faq-qa,
.faq-q-form,
.faq-q-list,
.faq-q-card {
  min-width: 0;
}

.faq-field-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: var(--notice-text);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.4;
}

.faq-q-form textarea,
.faq-answer-input,
.faq-edit-input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--notice-line-strong);
  border-radius: 10px;
  background: #fff;
  color: var(--notice-text);
  font: inherit;
  font-size: 14.5px;
  line-height: 1.6;
  resize: vertical;
}

.faq-q-form textarea {
  min-height: 104px;
}

.faq-answer-input,
.faq-edit-input {
  min-height: 88px;
}

.faq-q-form textarea:focus-visible,
.faq-answer-input:focus-visible,
.faq-edit-input:focus-visible {
  outline: none;
  border-color: var(--notice-blue);
  box-shadow: 0 0 0 3px rgba(18, 99, 241, .14);
}

.faq-q-form-actions,
.faq-admin-actions,
.faq-user-actions,
.faq-edit-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

.faq-q-form-actions .filter-primary,
.faq-admin-actions .filter-primary,
.faq-edit-actions .filter-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 104px;
  min-height: 44px;
  height: auto;
  margin: 0;
  padding: 0 16px;
}

.faq-q-form-actions button:disabled,
.faq-admin-actions button:disabled,
.faq-user-actions button:disabled,
.faq-edit-actions button:disabled {
  cursor: not-allowed;
  opacity: .58;
}

.faq-q-status[data-type="loading"] {
  color: var(--notice-blue-2);
}

.faq-q-loading {
  display: grid;
  min-height: 104px;
  place-items: center;
  padding: 20px;
  border: 1px dashed var(--notice-line-strong);
  border-radius: 12px;
  background: linear-gradient(100deg, #f8fbff 20%, #edf4fd 45%, #f8fbff 70%);
  color: var(--notice-muted);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.faq-q-list[aria-busy="true"] {
  min-height: 104px;
  opacity: .68;
  pointer-events: none;
}

.faq-q-head {
  flex-wrap: wrap;
  min-width: 0;
}

.faq-pending-badge,
.faq-mine-badge,
.faq-answered-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 900;
}

.faq-answered-badge {
  background: var(--notice-green-soft);
  color: #0b7650;
}

.faq-q-author {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
  color: #43536d;
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.faq-q-author strong {
  color: var(--notice-text);
  font-weight: 900;
}

.faq-edit-form {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 14px;
  border: 1px solid #cdddf4;
  border-radius: 10px;
  background: #f5f9ff;
}

.faq-user-edit,
.faq-user-delete,
.faq-delete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 9px;
  background: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.faq-user-edit {
  border: 1px solid #a8c7ff;
  color: var(--notice-blue-2);
}

.faq-user-edit:hover {
  border-color: var(--notice-blue);
  background: var(--notice-blue-soft);
}

.faq-user-delete,
.faq-delete {
  border: 1px solid #efc3ca;
  color: #b4233a;
}

.faq-user-delete:hover,
.faq-delete:hover {
  border-color: #d33;
  background: #fff1f3;
  color: #b4233a;
}

.faq-q-card {
  scroll-margin-top: 112px;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.faq-q-card.is-targeted,
.faq-q-card:focus {
  outline: none;
  border-color: var(--notice-blue);
  background: #f8fbff;
  box-shadow: 0 0 0 4px rgba(18, 99, 241, .14), var(--notice-shadow-sm);
}

.faq-item > summary:focus-visible,
.faq-support-tab:focus-visible,
.faq-direct-cta:focus-visible,
.faq-q-form-actions button:focus-visible,
.faq-admin-actions button:focus-visible,
.faq-user-actions button:focus-visible,
.faq-edit-actions button:focus-visible,
.faq-qa .info-primary-link:focus-visible {
  outline: 3px solid rgba(18, 99, 241, .34);
  outline-offset: 2px;
}

@media (max-width: 639px) {
  .faq-hero {
    padding: 26px 24px;
  }

  .faq-support-tabs {
    width: 100%;
  }

  .faq-tab-panel {
    gap: 14px;
  }

  .faq-qa {
    padding: 20px;
  }

  .faq-qa .info-section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .faq-q-form-actions .filter-primary {
    width: 100%;
  }

  .faq-admin-actions > button,
  .faq-user-actions > button,
  .faq-edit-actions > button {
    flex: 1 1 120px;
  }
}

@media (max-width: 390px) {
  .faq-shell {
    gap: 16px;
  }

  .faq-hero {
    padding: 22px 16px;
    border-radius: 16px;
  }

  .faq-support-tabs {
    gap: 4px;
    padding: 4px;
    border-radius: 12px;
  }

  .faq-support-tab {
    padding: 0 8px;
    font-size: 13px;
  }

  .faq-direct-cta {
    width: 100%;
  }

  .faq-item > summary {
    padding: 16px;
  }

  .faq-answer {
    padding: 0 16px 18px;
  }

  .faq-qa {
    padding: 18px 14px;
    border-radius: 14px;
  }

  .faq-q-card {
    padding: 14px;
  }

  .faq-q-author {
    width: 100%;
  }

  .faq-admin-actions,
  .faq-user-actions,
  .faq-edit-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .faq-admin-actions > button,
  .faq-user-actions > button,
  .faq-edit-actions > button,
  .faq-admin-actions .filter-primary,
  .faq-edit-actions .filter-primary {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-q-card {
    transition: none;
  }
}

/* FAQ search-first help center redesign */
.faq-shell {
  gap: 28px;
  padding-bottom: 56px;
}

.faq-help-view {
  display: grid;
  gap: 30px;
  min-width: 0;
}

.faq-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 26px;
  padding: 44px 48px 38px;
  overflow: hidden;
  border: 1px solid rgba(144, 182, 231, .38);
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 8%, rgba(87, 164, 255, .24), transparent 30%),
    radial-gradient(circle at 7% 100%, rgba(52, 216, 190, .14), transparent 26%),
    linear-gradient(135deg, #071a43 0%, #0b3472 56%, #0f5aab 100%);
  box-shadow: 0 24px 54px rgba(12, 48, 103, .2);
}

.faq-hero::before,
.faq-hero::after {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  content: "";
  pointer-events: none;
}

.faq-hero::before {
  top: -170px;
  right: -110px;
  width: 390px;
  height: 390px;
}

.faq-hero::after {
  right: 170px;
  bottom: -210px;
  width: 310px;
  height: 310px;
}

.faq-hero-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.faq-hero-copy {
  display: grid;
  max-width: 700px;
  gap: 10px;
}

.faq-hero-kicker {
  width: fit-content;
  color: #9bc9ff;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .13em;
}

.faq-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 4.1vw, 50px);
  font-weight: 950;
  line-height: 1.12;
  letter-spacing: -.035em;
}

.faq-hero p {
  max-width: 680px;
  margin: 0;
  color: #d7e8ff;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.7;
}

.faq-hero-inquiry {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 14px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}

.faq-hero-inquiry:hover {
  border-color: rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .16);
  transform: translateY(-2px);
}

.faq-hero-inquiry svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.faq-hero-inquiry span {
  display: grid;
  gap: 2px;
}

.faq-hero-inquiry strong {
  font-size: 13px;
  font-weight: 900;
}

.faq-hero-inquiry small {
  color: #cfe4ff;
  font-size: 11.5px;
  font-weight: 750;
}

.faq-search {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  min-height: 70px;
  padding: 0 12px 0 22px;
  border: 1px solid rgba(255, 255, 255, .68);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(0, 18, 52, .24);
}

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

.faq-search:focus-within {
  border-color: #8fc5ff;
  box-shadow: 0 0 0 4px rgba(143, 197, 255, .22), 0 16px 34px rgba(0, 18, 52, .24);
}

.faq-search-icon {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: #2a66ac;
  stroke-linecap: round;
  stroke-width: 1.9;
}

.faq-search input {
  min-width: 0;
  height: 68px;
  padding: 0 16px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #101d38;
  font: inherit;
  font-size: 18px;
  font-weight: 750;
}

.faq-search input::placeholder {
  color: #8290a8;
  font-weight: 650;
}

.faq-search input::-webkit-search-cancel-button {
  display: none;
}

.faq-search-clear {
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  background: #eef5ff;
  color: #225f9f;
  font: inherit;
  font-size: 12.5px;
  font-weight: 900;
  cursor: pointer;
}

.faq-search-hints {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.faq-search-hints > span {
  margin-right: 3px;
  color: #b9d5f7;
  font-size: 12px;
  font-weight: 850;
}

.faq-search-hints button {
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: #e6f1ff;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.faq-search-hints button:hover {
  border-color: rgba(255, 255, 255, .42);
  background: rgba(255, 255, 255, .15);
}

.faq-category-section,
.faq-popular-section {
  display: grid;
  gap: 17px;
  min-width: 0;
}

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

.faq-section-heading > div {
  display: grid;
  gap: 4px;
}

.faq-section-heading span,
.faq-inquiry-title-row span {
  color: #2e6bb2;
  font-size: 10.5px;
  font-weight: 950;
  letter-spacing: .1em;
}

.faq-section-heading h2,
.faq-results-heading h2,
.faq-inquiry-title-row h2 {
  margin: 0;
  color: #101d38;
  font-size: 24px;
  font-weight: 950;
  letter-spacing: -.02em;
}

.faq-filter-reset {
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid #c6d8ee;
  border-radius: 10px;
  background: #fff;
  color: #315f95;
  font: inherit;
  font-size: 12.5px;
  font-weight: 900;
  cursor: pointer;
}

.faq-filter-reset:hover {
  border-color: #80afe4;
  background: #eef6ff;
  color: #0e5db2;
}

.faq-category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.faq-category-card {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-width: 0;
  min-height: 112px;
  padding: 20px 18px;
  border: 2px solid #cbdcf0;
  border-radius: 18px;
  background: linear-gradient(145deg, #fff 42%, #f6faff 100%);
  color: #17233d;
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(31, 76, 130, .11);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.faq-category-card:hover,
.faq-category-card.is-active {
  border-color: #4f91dc;
  box-shadow: 0 15px 32px rgba(24, 92, 168, .18);
  transform: translateY(-3px);
}

.faq-category-card.is-active {
  background: linear-gradient(145deg, #fff, #eaf4ff);
  box-shadow: 0 15px 32px rgba(24, 92, 168, .18), inset 0 0 0 1px rgba(79, 145, 220, .18);
}

.faq-category-icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 13px;
  background: #eef5ff;
  color: #2368b4;
}

.faq-category-icon.is-recommendation {
  background: #eef0ff;
  color: #575cc7;
}

.faq-category-icon.is-notice {
  background: #eaf9f6;
  color: #14856f;
}

.faq-category-icon.is-account {
  background: #fff4e9;
  color: #b56821;
}

.faq-category-icon.is-plan {
  background: #f4efff;
  color: #7b4fc5;
}

.faq-category-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.faq-category-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.faq-category-copy strong {
  color: #102449;
  font-size: 16px;
  font-weight: 950;
  letter-spacing: -.015em;
}

.faq-category-copy small {
  color: #526985;
  font-size: 12.5px;
  font-weight: 750;
  line-height: 1.4;
  white-space: normal;
}

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

.faq-popular-grid button {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 10px 15px;
  border: 1px solid #dce7f4;
  border-radius: 13px;
  background: rgba(255, 255, 255, .86);
  color: #25334d;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
}

.faq-popular-grid button:hover {
  border-color: #9ac1ed;
  background: #fff;
  color: #0d5cae;
}

.faq-popular-grid span {
  flex: 0 0 auto;
  color: #6e9dd0;
  font-size: 11px;
  font-weight: 950;
}

.faq-results {
  display: grid;
  gap: 18px;
  min-width: 0;
  padding: 28px;
  border: 1px solid #d8e5f4;
  border-radius: 24px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 14px 34px rgba(36, 73, 122, .09);
  scroll-margin-top: 98px;
}

.faq-results-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 17px;
  border-bottom: 1px solid #e1eaf5;
}

.faq-results-heading > div {
  display: grid;
  gap: 3px;
}

.faq-results-eyebrow {
  color: #2e6bb2;
  font-size: 10.5px;
  font-weight: 950;
  letter-spacing: .1em;
}

.faq-results-heading p {
  margin: 0;
  color: #74839a;
  font-size: 12.5px;
  font-weight: 750;
}

.faq-list {
  gap: 10px;
}

.faq-item {
  border: 1px solid #dce6f2;
  border-radius: 14px;
  background: #fff;
  box-shadow: none;
  scroll-margin-top: 110px;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.faq-item:hover {
  border-color: #b8cfe9;
}

.faq-item[open] {
  border-color: #8cb6e8;
  box-shadow: 0 8px 22px rgba(31, 89, 157, .09);
}

.faq-item > summary {
  min-height: 66px;
  padding: 15px 18px;
  font-size: 15px;
}

.faq-item > summary > span {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.faq-item > summary small {
  color: #3674b9;
  font-size: 10.5px;
  font-weight: 900;
}

.faq-item > summary::after {
  width: 30px;
  height: 30px;
  background: #eef5ff;
}

.faq-answer {
  display: grid;
  gap: 13px;
  padding: 0 58px 20px 18px;
  border-top: 1px solid #e7eef7;
}

.faq-answer p {
  margin: 15px 0 0;
  color: #3e4e67;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.75;
}

.faq-answer a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 9px;
  background: #edf5ff;
  color: #125ea9;
  font-size: 12.5px;
  font-weight: 900;
  text-decoration: none;
}

.faq-answer a::after {
  margin-left: 7px;
  content: "→";
}

.faq-empty-state {
  display: grid;
  min-height: 300px;
  place-items: center;
  align-content: center;
  gap: 9px;
  padding: 34px;
  text-align: center;
}

.faq-empty-state > span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 17px;
  background: #edf5ff;
  color: #1764b3;
  font-size: 26px;
  font-weight: 950;
}

.faq-empty-state strong {
  color: #182541;
  font-size: 19px;
  font-weight: 950;
}

.faq-empty-state p {
  max-width: 500px;
  margin: 0;
  color: #687890;
  font-size: 13.5px;
  font-weight: 650;
  line-height: 1.7;
}

.faq-empty-state > div {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.faq-empty-state button,
.faq-empty-state a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid #a9c6e7;
  border-radius: 10px;
  background: #fff;
  color: #1b609f;
  font: inherit;
  font-size: 12.5px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.faq-empty-state a {
  border-color: #1769c3;
  background: #1769c3;
  color: #fff;
}

.faq-support-banner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 24px 28px;
  border: 1px solid #cbdff5;
  border-radius: 20px;
  background: linear-gradient(130deg, #eaf4ff, #f8fbff 58%, #eef8f6);
}

.faq-support-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 16px;
  background: #0e4d91;
  color: #fff;
}

.faq-support-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.faq-support-banner > div:nth-child(2) {
  display: grid;
  gap: 3px;
}

.faq-support-banner span,
.faq-inquiry-header > span {
  color: #2b70b8;
  font-size: 10.5px;
  font-weight: 950;
  letter-spacing: .1em;
}

.faq-support-banner h2 {
  margin: 0;
  color: #12213e;
  font-size: 19px;
  font-weight: 950;
}

.faq-support-banner p {
  margin: 0;
  color: #64758d;
  font-size: 12.5px;
  font-weight: 700;
}

.faq-support-banner > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 11px;
  background: #0e4d91;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.faq-inquiry-view {
  display: grid;
  gap: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.faq-inquiry-header {
  display: grid;
  gap: 8px;
  padding: 34px 38px;
  border: 1px solid #cddff3;
  border-radius: 24px;
  background: linear-gradient(135deg, #fff, #eef6ff);
  box-shadow: 0 16px 36px rgba(37, 77, 129, .1);
}

.faq-back-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 40px;
  gap: 7px;
  margin-bottom: 4px;
  color: #35699f;
  font-size: 12.5px;
  font-weight: 900;
  text-decoration: none;
}

.faq-inquiry-header h1 {
  margin: 0;
  color: #0d2047;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 950;
  letter-spacing: -.03em;
}

.faq-inquiry-header p {
  max-width: 720px;
  margin: 0;
  color: #586b86;
  font-size: 14.5px;
  font-weight: 650;
  line-height: 1.7;
}

.faq-inquiry-layout {
  display: grid;
  grid-template-columns: minmax(230px, .34fr) minmax(0, 1fr);
  align-items: start;
  gap: 18px;
}

.faq-inquiry-guide,
.faq-inquiry-workspace {
  border: 1px solid #d8e5f3;
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(36, 73, 122, .07);
}

.faq-inquiry-guide {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.faq-inquiry-guide strong {
  color: #17243e;
  font-size: 15px;
  font-weight: 950;
}

.faq-inquiry-guide ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0 0 0 18px;
  color: #596b84;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.6;
}

.faq-inquiry-guide a {
  overflow-wrap: anywhere;
  color: #1764ad;
  font-size: 12px;
  font-weight: 850;
}

.faq-inquiry-workspace {
  display: grid;
  min-width: 0;
  gap: 17px;
  padding: 26px;
}

.faq-inquiry-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.faq-inquiry-title-row > div {
  display: grid;
  gap: 3px;
}

.faq-inquiry-title-row > small {
  color: #7a899f;
  font-size: 11.5px;
  font-weight: 700;
}

.faq-q-form {
  padding: 18px;
  border: 1px solid #d6e4f3;
  border-radius: 14px;
  background: #f7faff;
}

.faq-q-form textarea,
.faq-answer-input,
.faq-edit-input {
  border-radius: 12px;
}

.faq-q-card {
  border-radius: 14px;
  background: #fbfdff;
}

.faq-search-clear:focus-visible,
.faq-search-hints button:focus-visible,
.faq-hero-inquiry:focus-visible,
.faq-category-card:focus-visible,
.faq-popular-grid button:focus-visible,
.faq-filter-reset:focus-visible,
.faq-answer a:focus-visible,
.faq-support-banner > a:focus-visible,
.faq-back-link:focus-visible,
.faq-empty-state button:focus-visible,
.faq-empty-state a:focus-visible {
  outline: 3px solid rgba(55, 139, 229, .35);
  outline-offset: 3px;
}

@media (max-width: 999px) {
  .faq-hero {
    padding: 38px 34px 34px;
  }

  .faq-hero-topline {
    align-items: stretch;
    flex-direction: column;
    gap: 20px;
  }

  .faq-hero-inquiry {
    width: fit-content;
  }

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

  .faq-category-card:last-child {
    grid-column: 1 / -1;
  }

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

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

@media (max-width: 639px) {
  .faq-search-clear,
  .faq-search-hints button,
  .faq-filter-reset,
  .faq-empty-state button,
  .faq-empty-state a,
  .faq-back-link {
    min-height: 44px;
  }

  .faq-shell,
  .faq-help-view {
    gap: 18px;
  }

  .faq-shell {
    padding-bottom: 30px;
  }

  .faq-hero {
    gap: 20px;
    padding: 28px 20px 24px;
    border-radius: 20px;
  }

  .faq-hero h1 {
    font-size: clamp(29px, 9vw, 38px);
  }

  .faq-hero p {
    font-size: 14px;
  }

  .faq-hero-inquiry {
    width: 100%;
    box-sizing: border-box;
  }

  .faq-search {
    min-height: 60px;
    padding-left: 16px;
    border-radius: 15px;
  }

  .faq-search input {
    height: 58px;
    padding: 0 10px;
    font-size: 15px;
  }

  .faq-search-clear {
    width: 38px;
    padding: 0;
    overflow: hidden;
    color: transparent;
  }

  .faq-search-clear::after {
    display: grid;
    height: 38px;
    place-items: center;
    color: #225f9f;
    content: "×";
    font-size: 20px;
  }

  .faq-search-hints > span {
    width: 100%;
  }

  .faq-section-heading {
    align-items: flex-start;
  }

  .faq-section-heading h2,
  .faq-results-heading h2,
  .faq-inquiry-title-row h2 {
    font-size: 21px;
  }

  .faq-category-grid,
  .faq-popular-grid {
    grid-template-columns: 1fr;
  }

  .faq-category-card:last-child {
    grid-column: auto;
  }

  .faq-category-card {
    min-height: 92px;
    padding: 15px;
  }

  .faq-popular-grid button {
    min-height: 54px;
  }

  .faq-results {
    gap: 14px;
    padding: 18px 14px;
    border-radius: 18px;
  }

  .faq-results-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .faq-filter-reset {
    width: 100%;
  }

  .faq-item > summary {
    min-height: 62px;
    padding: 14px;
    font-size: 14px;
  }

  .faq-answer {
    padding: 0 14px 17px;
  }

  .faq-answer p {
    font-size: 13.5px;
  }

  .faq-support-banner {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 20px;
  }

  .faq-support-banner > a {
    grid-column: 1 / -1;
    width: 100%;
    box-sizing: border-box;
  }

  .faq-inquiry-header {
    padding: 26px 20px;
    border-radius: 19px;
  }

  .faq-inquiry-workspace,
  .faq-inquiry-guide {
    padding: 18px;
    border-radius: 16px;
  }

  .faq-inquiry-title-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .faq-q-form {
    padding: 14px;
  }
}

@media (max-width: 390px) {
  .faq-hero {
    padding: 24px 16px 20px;
    border-radius: 17px;
  }

  .faq-search-hints {
    gap: 6px;
  }

  .faq-search-hints button {
    padding: 0 10px;
  }

  .faq-section-heading {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .faq-category-card {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .faq-category-icon {
    width: 44px;
    height: 44px;
  }

  .faq-empty-state {
    min-height: 260px;
    padding: 22px 12px;
  }

  .faq-empty-state > div {
    display: grid;
    width: 100%;
  }

  .faq-support-banner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .faq-support-icon {
    justify-self: center;
  }

  .faq-inquiry-workspace,
  .faq-inquiry-guide {
    padding: 15px 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-hero-inquiry,
  .faq-category-card,
  .faq-item {
    transition: none;
  }
}
