/* A practical information portal: compact navigation, open sections, quiet colors. */
:root {
    color-scheme: light;
    --ink: #293632;
    --muted: #65716c;
    --line: #dfe5e1;
    --accent: #187854;
    --accent-hover: #105c3f;
    --navy: #253d33;
    --surface: #fff;
    --soft: #f1f6f3;
    --danger: #a32c36;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; color: var(--ink); background: var(--page-bg, #fff); font-family: "Pretendard", "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif; font-size: 1.0625rem; line-height: 1.65; letter-spacing: -.025em; word-break: keep-all; }
a { color: inherit; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button { touch-action: manipulation; }
input, select { width: 100%; min-width: 0; height: 46px; padding: 10px 13px; border: 1px solid var(--control-border, #7b8e82); border-radius: 4px; color: var(--ink); background: var(--surface); }
input::placeholder { color: var(--muted, #6c7771); opacity: 1; }
input:hover, select:hover { border-color: var(--control-border, #6e8a7b); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, main:focus-visible { outline: 3px solid var(--accent, #187854); outline-offset: 4px; }
.skip-link { position: absolute; top: 8px; left: 16px; z-index: 10; transform: translateY(-160%); padding: 10px 18px; color: var(--on-action, white); background: var(--button-bg, var(--navy)); border-radius: 4px; }
.skip-link:focus { transform: none; }
.site-header { background: var(--surface); }
.header-inner { width: min(calc(100% - 48px), 1160px); min-height: 104px; margin: auto; display: flex; align-items: center; gap: 64px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.brand-copy { display: flex; flex-direction: column; }
.brand-name { color: var(--accent); font-size: 30px; font-weight: 800; letter-spacing: -.045em; line-height: 1.2; }
.brand-dot { color: #d7a450; }
.brand-description { color: var(--muted); font-size: 12px; line-height: 1.9; letter-spacing: .025em; }
.header-search { display: flex; align-items: center; width: min(100%, 400px); border: 1px solid var(--control-border, #9bb5a6); border-radius: 5px; }
.header-search input { border: 0; background: transparent; height: 44px; font-size: 14px; }
.header-search button { display: grid; place-items: center; flex: 0 0 44px; height: 44px; padding: 0; border: 0; border-radius: 4px; background: transparent; color: var(--accent); cursor: pointer; }
.header-search button:hover { background: var(--soft); }
.navigation-bar { border-top: 1px solid var(--line, #edf0ee); border-bottom: 1px solid var(--line); }
.header-nav { width: min(calc(100% - 48px), 1160px); margin: auto; display: flex; align-items: center; gap: 34px; }
.header-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 12px; color: var(--text-secondary, #54615a); font-size: 14px; font-weight: 500; text-decoration: none; }
.header-link:hover { color: var(--accent); }
.header-nav .header-link { min-height: 54px; padding: 13px 4px; border-bottom: 3px solid transparent; font-size: 17px; font-weight: 700; }
.header-nav .header-link.is-active { border-bottom-color: var(--accent); color: var(--accent); }
.account-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; flex-shrink: 0; }
.account-nav form { margin: 0; }
.account-nav .is-active { color: var(--accent); font-weight: 700; }
.header-join { color: var(--accent); }
main { width: min(calc(100% - 48px), 1160px); margin: 38px auto 64px; }
.eyebrow { margin: 0 0 8px; color: var(--accent); font-size: 14px; font-weight: 600; }
h1 { margin: 0 0 10px; color: var(--navy); font-size: 30px; font-weight: 700; letter-spacing: -.05em; line-height: 1.45; overflow-wrap: anywhere; }
h2 { color: var(--navy); }
.intro { margin: 0 0 26px; color: var(--muted); font-size: 15px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 5px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 46px; padding: 10px 21px; border: 1px solid var(--button-bg, var(--accent)); border-radius: 4px; background: var(--button-bg, var(--accent)); color: var(--on-action, white); font-size: 15px; font-weight: 600; line-height: 1.5; text-decoration: none; cursor: pointer; white-space: nowrap; }
.button:hover { background: var(--button-hover, var(--accent-hover)); border-color: var(--button-hover, var(--accent-hover)); }
.button.secondary { background: var(--surface, white); color: var(--text-secondary, #42594c); border-color: var(--control-border, #b9c6bd); }
.button.secondary:hover { background: var(--soft); border-color: var(--control-border, #6e8a7b); }
.button:disabled { cursor: default; background: var(--disabled-bg, #edf1ee); border-color: var(--line, #c6d0c9); color: var(--muted, #626f66); }
.field label { display: block; margin-bottom: 7px; color: var(--text-secondary, #42594c); font-size: 14px; font-weight: 600; }
.search-form { padding: 23px 24px; display: grid; grid-template-columns: 165px minmax(170px, 1fr) 140px auto auto; gap: 14px; align-items: end; background: var(--soft, #f5f8f6); }
.bid-search-form { grid-template-columns: minmax(180px, 1fr) minmax(130px, 1fr) 165px 140px auto auto; }
.bid-search-form .keyword-field { grid-column: 1 / -1; grid-row: 1; }
.result-summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 20px; justify-content: space-between; margin: 28px 0 12px; font-size: 14px; }
.result-summary strong { color: var(--accent); font-size: 21px; font-weight: 700; font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.table-scroll { overflow-x: auto; border-radius: 4px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
.list-table { min-width: 980px; }
th { text-align: left; background: var(--soft, #f3f6f4); font-size: 14px; font-weight: 600; color: var(--text-secondary, #53635a); white-space: nowrap; }
th, td { padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
.list-table tbody tr:hover { background: var(--hover-bg, #f8fbf9); }
.list-table .title-column { width: 36%; }
.notice-title { display: inline-block; color: var(--navy, #2b4235); font-size: 15px; font-weight: 600; line-height: 1.65; text-decoration: none; overflow-wrap: anywhere; }
.notice-title:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.category { margin-top: 5px; color: var(--muted); font-size: 0.875rem; overflow-wrap: anywhere; }
.date { white-space: nowrap; font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.empty { padding: 64px 24px; text-align: center; }
.empty strong { display: block; margin-bottom: 10px; color: var(--navy); font-size: 19px; }
.empty p { margin: 0; color: var(--muted); }
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 28px 0; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line, #c5cfc8); border-radius: 3px; background: var(--surface, white); text-decoration: none; font-size: 14px; }
.pagination [aria-current="page"] { border-color: var(--button-bg, var(--accent)); background: var(--button-bg, var(--accent)); color: var(--on-action, white); font-weight: 700; }
.pagination .disabled { color: var(--muted, #69746d); background: var(--soft, #f4f6f4); border-color: var(--line); }
.pagination a:hover { border-color: var(--accent); color: var(--accent); background: var(--soft); }
.back-link { display: inline-block; margin-bottom: 24px; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; }
.detail-panel { padding: 28px; margin-top: 22px; }
.detail-panel h2 { margin: 0 0 18px; font-size: 21px; }
.participation-panel { border-left: 3px solid var(--accent); background: var(--hover-bg, #f8fbf9); }
.participation-panel p { max-width: 850px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; margin: 0; }
.detail-field { padding: 18px 0; border-top: 1px solid var(--line); min-width: 0; }
.detail-field dt { margin-bottom: 6px; color: var(--muted); font-size: 14px; }
.detail-field dd { margin: 0; font-size: 16px; font-weight: 500; overflow-wrap: anywhere; }
.detail-field.wide { grid-column: 1 / -1; }
.detail-actions { margin-top: 24px; }
.result-content { white-space: pre-wrap; }
.footer-note { margin-top: 18px; font-size: 14px; color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); background: var(--soft, #f7f8f6); }
.footer-inner { width: min(calc(100% - 48px), 1160px); margin: auto; padding: 30px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 24px; color: var(--muted); font-size: 13px; }
.footer-inner p { margin: 3px 0 8px; }
.footer-inner strong { color: var(--navy, #4b5f52); font-size: 18px; letter-spacing: -.025em; }
.footer-information a { display: inline-flex; align-items: center; min-height: 36px; text-decoration: none; }
.footer-information a:hover { color: var(--accent); text-decoration: underline; }
.footer-policy { margin-top: 4px; }
.home-main { margin-top: 28px; }
.home-top { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; align-items: stretch; }
.home-hero { padding: 34px 38px 27px; border-radius: 7px; background: var(--tinted-bg, #eef6ef); }
.home-hero h1 { margin: 11px 0 14px; font-size: 33px; font-weight: 700; line-height: 1.4; }
.home-hero .intro { margin-bottom: 22px; color: var(--text-secondary, #566d5e); font-size: 15px; }
.home-search { display: flex; max-width: 640px; padding: 5px; border: 1px solid var(--line, #b3cabc); border-radius: 5px; background: var(--surface, white); }
.home-search input { flex: 1; height: 46px; border: 0; font-size: 15px; }
.home-search .button { min-width: 82px; }
.search-suggestions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin-top: 12px; font-size: 12px; }
.search-suggestions > span { color: var(--muted, #5e7265); }
.search-suggestions a { display: inline-flex; align-items: center; min-height: 32px; color: var(--accent, #365b45); text-decoration: none; }
.search-suggestions a:hover { text-decoration: underline; text-underline-offset: 4px; }
.home-account { display: flex; flex-direction: column; padding: 27px 24px 20px; border: 1px solid var(--line); border-radius: 6px; }
.aside-label { margin: 0 0 16px; color: var(--accent); font-size: 13px; font-weight: 600; }
.home-account h2 { margin: 0 0 12px; font-size: 21px; line-height: 1.5; overflow-wrap: anywhere; }
.home-account > p:not(.aside-label) { margin: 0 0 22px; color: var(--muted); font-size: 14px; }
.home-account .button { width: 100%; }
.account-signup { display: block; padding: 13px 0; color: var(--muted); font-size: 12px; text-decoration: none; }
.account-signup strong { color: var(--navy, #465c4e); font-weight: 500; }
.account-signup:hover { color: var(--accent); text-decoration: underline; }
.account-note { display: flex; align-items: flex-start; gap: 7px; margin-top: auto; padding-top: 17px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.6; }
.status-dot { width: 6px; height: 6px; margin-top: 6px; border-radius: 50%; background: var(--accent, #78a385); flex-shrink: 0; }
.home-section { margin-top: 36px; }
.section-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; }
.section-heading h2 { margin: 0; font-size: 21px; font-weight: 700; }
.section-heading a, .section-heading > span { color: var(--muted); font-size: 13px; }
.section-heading a { display: inline-flex; align-items: center; gap: 14px; min-height: 36px; text-decoration: none; }
.section-heading a:hover { color: var(--accent); text-decoration: underline; }
.section-description { margin: 4px 0 17px; font-size: 13px; color: var(--muted); }
.category-links { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.category-links a { display: flex; flex-direction: column; align-items: center; padding: 7px 12px; border-right: 1px solid var(--line, #e8ece8); text-decoration: none; text-align: center; }
.category-links a:last-child { border-right: 0; }
.category-links a:hover { background: var(--hover-bg, #f5f9f4); color: var(--accent); }
.category-icon { display: grid; place-items: center; width: 49px; height: 49px; margin-bottom: 10px; border-radius: 14px; background: var(--tinted-bg, #f0f5ec); color: var(--accent, #63845e); }
.category-links a:nth-child(2) .category-icon { background: var(--info-bg, #eff6f6); color: var(--info-text, #548384); }
.category-links a:nth-child(3) .category-icon { background: var(--info-bg, #f2f2f8); color: var(--info-text, #737796); }
.category-links a:nth-child(4) .category-icon { background: var(--warning-bg, #faf4e9); color: var(--warning-text, #a3834b); }
.category-links a:nth-child(5) .category-icon { background: var(--info-bg, #eef3f8); color: var(--info-text, #617d9b); }
.category-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.category-links strong { font-size: 15px; font-weight: 600; }
.category-caption { margin-top: 4px; color: var(--muted); font-size: 12px; }
.interest-banner { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 32px; padding: 24px 30px; border-radius: 5px; background: var(--warning-bg, #faf7ef); }
.banner-label { color: var(--warning-text, #816b3f); font-size: 12px; font-weight: 600; }
.interest-banner h2 { margin: 5px 0 4px; color: var(--warning-text, #514936); font-size: 20px; font-weight: 600; }
.interest-banner p { margin: 0; color: var(--warning-text, #756e5d); font-size: 13px; }
.interest-banner .button { flex-shrink: 0; border-color: var(--warning-border, #d3c9b2); color: var(--warning-text, #665638); background: transparent; }
.interest-banner .button:hover { background: var(--surface, white); }
.home-guide { margin-top: 36px; }
.guide-list { list-style: none; padding: 23px 0 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; border-top: 1px solid var(--line); margin-top: 16px; }
.guide-list li { display: flex; align-items: flex-start; gap: 14px; }
.guide-number { padding-top: 1px; color: var(--muted, #8b9f8f); font-size: 18px; font-weight: 500; }
.guide-list h3 { margin: 0; font-size: 16px; color: var(--navy); font-weight: 600; }
.guide-list p { margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.85; }
.guide-list a { display: inline-flex; align-items: center; min-height: 36px; margin-top: 5px; color: var(--accent); font-size: 13px; text-decoration: none; }
.guide-list a:hover { text-decoration: underline; }
@media (max-width: 1000px) {
    .header-inner { gap: 30px; }
    .header-search { max-width: 340px; }
    .search-form { grid-template-columns: 165px 1fr 140px; }
    .search-form > .button { grid-row: 2; }
    .search-form > button { grid-column: 2; }
    .search-form > a { grid-column: 3; }
    .bid-search-form { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .bid-search-form > .button { grid-row: auto; }
    .bid-search-form > button { grid-column: 2; }
    .bid-search-form > a { grid-column: 3; }
    .home-top { grid-template-columns: minmax(0, 1fr) 255px; gap: 18px; }
    .home-hero { padding: 30px 26px 24px; }
    .home-account { padding: 25px 20px 20px; }
    .search-suggestions { gap: 4px 12px; }
    .search-suggestions > span { width: 100%; }
    .guide-list { gap: 20px; }
    .guide-list p br { display: none; }
}
@media (max-width: 760px) {
    .header-inner { width: calc(100% - 32px); min-height: auto; padding: 20px 0 16px; flex-wrap: wrap; gap: 16px; }
    .brand-name { font-size: 27px; }
    .account-nav { gap: 0; }
    .account-nav .header-link { padding-inline: 9px; font-size: 13px; }
    .header-search { width: 100%; max-width: none; order: 3; }
    .header-nav { width: calc(100% - 32px); gap: 16px; overflow-x: auto; }
    .header-nav .header-link { flex-shrink: 0; }
    .header-nav .header-link { min-height: 50px; font-size: 15px; }
    main { width: calc(100% - 32px); margin-top: 26px; margin-bottom: 42px; }
    h1 { font-size: 26px; }
    .intro { font-size: 14px; margin-bottom: 22px; }
    .search-form { grid-template-columns: 1fr 1fr; padding: 20px; gap: 14px 12px; }
    .search-form .keyword-field { grid-column: 1 / -1; grid-row: 1; }
    .search-form > .button { grid-row: 3; }
    .search-form > button { grid-column: 1; }
    .search-form > a { grid-column: 2; }
    .bid-search-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bid-search-form > .button { grid-row: auto; }
    .bid-search-form > button { grid-column: 1; }
    .bid-search-form > a { grid-column: 2; }
    .result-summary { margin-top: 24px; }
    .table-scroll { overflow: visible; }
    .list-table { min-width: 0; display: block; }
    .list-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
    .list-table tbody { display: block; }
    .list-table tbody tr { display: grid; grid-template-columns: 1fr 1fr; padding: 20px; gap: 14px 18px; border-bottom: 1px solid var(--line); }
    .list-table tbody tr:last-child { border-bottom: 0; }
    .list-table td { display: block; padding: 0; border: 0; min-width: 0; overflow-wrap: anywhere; }
    .list-table td:first-child, .list-table td:nth-child(2) { grid-column: 1 / -1; }
    .list-table td::before { content: attr(data-label); display: block; margin-bottom: 4px; color: var(--muted); font-size: 0.875rem; font-weight: 600; }
    .list-table td:first-child::before { display: none; }
    .list-table .date { white-space: normal; }
    .notice-title { font-size: 16px; }
    .pagination { gap: 5px; }
    .pagination a, .pagination span { padding: 8px 10px; }
    .detail-panel { padding: 22px; }
    .detail-panel h2 { font-size: 19px; }
    .detail-grid { grid-template-columns: 1fr; }
    .footer-inner { width: calc(100% - 32px); padding: 24px 0; }
    .home-main { margin-top: 20px; }
    .home-top { grid-template-columns: 1fr; gap: 16px; }
    .home-hero { padding: 28px 22px 20px; }
    .home-hero h1 { font-size: 29px; }
    .home-hero .intro { font-size: 14px; }
    .home-search input { font-size: 13px; padding-inline: 8px; }
    .home-search .button { min-width: 62px; padding-inline: 14px; }
    .search-suggestions > span { width: auto; }
    .home-account { padding: 22px; }
    .aside-label { margin-bottom: 9px; }
    .home-account > p:not(.aside-label) { margin-bottom: 16px; }
    .home-account > p br { display: none; }
    .account-signup { padding-bottom: 15px; }
    .section-heading h2 { font-size: 19px; }
    .category-links { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 24px; padding: 22px 0; }
    .category-links a:nth-child(3) { border-right: 0; }
    .category-links a:nth-child(4) { grid-column: 1; }
    .category-links a:last-child { border-right: 1px solid var(--line, #e8ece8); }
    .category-links strong { font-size: 13px; }
    .category-caption { font-size: 11px; }
    .interest-banner { flex-direction: column; align-items: flex-start; padding: 22px; gap: 16px; }
    .interest-banner h2 { font-size: 18px; }
    .guide-list { grid-template-columns: 1fr; gap: 23px; }
    .guide-list p { font-size: 14px; }
    .guide-list li { gap: 16px; }
}
@media (max-width: 400px) {
    .brand-name { font-size: 24px; }
    .account-nav .header-link { padding-inline: 7px; }
    .header-nav { gap: 0; }
    .category-caption { display: none; }
    .category-links a { padding-inline: 6px; }
    .home-search { flex-wrap: wrap; gap: 6px; }
    .home-search input { flex-basis: 100%; }
    .home-search .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.complex-table .title-column { width: 28%; }
.complex-table td:nth-child(3) { overflow-wrap: anywhere; }

/* Secondary reference pages remain available without dominating the main navigation. */
.header-explore { position: relative; margin-left: auto; }
.header-explore summary { display: list-item; min-height: 54px; padding: 13px 4px; color: var(--text-secondary, #54615a); font-size: 14px; cursor: pointer; }
.header-explore summary.is-active { color: var(--accent); font-weight: 700; }
.header-explore summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.explore-links { position: absolute; right: 0; top: 100%; z-index: 5; min-width: 170px; padding: 8px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface, white); box-shadow: 0 8px 20px var(--shadow, #253d3312); }
.explore-links a { display: block; padding: 12px; color: var(--text-secondary, #42594c); font-size: 14px; text-decoration: none; }
.explore-links a:hover { background: var(--soft); color: var(--accent); }
@media (max-width: 760px) {
    .header-nav { flex-wrap: wrap; column-gap: 16px; overflow: visible; }
    .header-nav .header-link { font-size: 14px; }
    .header-explore summary { font-size: 13px; }
}
@media (max-width: 400px) {
    .header-nav { column-gap: 10px; }
    .header-nav .header-link, .header-explore summary { font-size: 0.875rem; }
}

.detail-jump-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0 0 22px; }
.detail-jump-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); font-size: 14px; text-underline-offset: 4px; }
.source-status { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; margin-top: 28px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.source-status p { flex: 1 1 300px; margin: 0; color: var(--muted); font-size: 13px; }
.source-status .button { font-size: 13px; }
.source-fields dd { white-space: pre-wrap; }
.source-fields summary { cursor: pointer; color: var(--navy); font-weight: 600; }
.notice-body { overflow-wrap: anywhere; white-space: normal; line-height: 1.8; }
.notice-body:empty { display: none; }
.notice-body img { max-width: 100%; height: auto; }
.notice-body pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.notice-body table { table-layout: fixed; width: 100%; }
.notice-body th, .notice-body td { padding: 10px; border: 1px solid var(--line); white-space: normal; overflow-wrap: anywhere; }
.notice-body a { color: var(--accent); }
.notice-files { display: grid; gap: 10px; margin: 18px 0; padding: 0; list-style: none; }
.notice-files li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 4px; }
.notice-files li > span { min-width: 0; flex: 1 1 240px; overflow-wrap: anywhere; }
.notice-files a { display: inline-flex; min-height: 44px; align-items: center; color: var(--accent); font-size: 14px; }
.source-table-scroll { overflow-x: auto; }
.source-table-scroll table { min-width: 860px; }
.collection-health { margin: 20px 0; padding: 18px 22px; border: 1px solid var(--line); border-left: 3px solid var(--accent); background: var(--soft, #f4f7f4); border-radius: 6px; overflow-wrap: anywhere; }
.collection-health strong { display: block; color: var(--navy); }
.collection-health p { margin: 5px 0; font-size: 13px; }
.collection-health > span { display: block; margin-top: 8px; font-size: 12px; color: var(--muted); }
.quick-review { border-top: 3px solid var(--accent); }
.quick-review-heading, .workspace-card-heading, .workspace-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.quick-review-heading h2 { margin-top: 0; }
.review-caution { color: var(--muted); font-size: 14px; }
.agenda-list { list-style: none; margin: 20px 0; padding: 0; display: grid; gap: 1px; }
.agenda-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.agenda-list li > :first-child { flex: 1 1 150px; }
.agenda-list time { font-variant-numeric: tabular-nums; }
.agenda-list a { color: var(--accent); min-height: 36px; display: inline-flex; align-items: center; }
.calendar-add-form { margin: 0; }
.calendar-add-button { display: inline-flex; align-items: center; min-height: 44px; padding: 4px 0; border: 0; background: transparent; color: var(--accent); font: inherit; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.past-event { color: var(--muted); }
.source-quote, .workspace-memo { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.7; }
.quick-review details { padding: 12px 0; }
.quick-review summary, .change-details summary { cursor: pointer; font-weight: 600; }
.state-chip, .change-chip { display: inline-flex; padding: 4px 9px; border-radius: 4px; font-size: 0.875rem; background: var(--info-bg, #eef2f5); color: var(--info-text, #365166); }
.change-chip { background: var(--warning-bg, #fff0d1); color: var(--warning-text, #72500d); }
.list-table .state-chip { margin-top: 7px; }
.preparation-form { display: grid; gap: 14px; margin-top: 20px; }
.preparation-form .field { display: grid; gap: 7px; }
.preparation-form textarea { width: 100%; max-width: 100%; box-sizing: border-box; font: inherit; border: 1px solid var(--line); border-radius: 4px; padding: 12px; resize: vertical; background: var(--surface, white); color: var(--navy); }
.preparation-form .button { justify-self: start; }
.check-option { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.check-option input { width: 18px; height: 18px; }
.workspace-overview { display: flex; flex-wrap: wrap; gap: 16px 30px; padding: 20px 0; }
.workspace-overview strong { color: var(--accent); font-size: 22px; margin-left: 5px; }
.workspace-card { padding: 26px; margin: 22px 0; }
.workspace-card h2 a { color: var(--navy); }
.workspace-card-heading { justify-content: flex-start; }
.workspace-memo { border-left: 2px solid var(--line); padding-left: 14px; }
.workspace-actions { margin-top: 24px; }
.change-details { margin-top: 20px; padding: 18px; background: var(--soft, #f7f8fa); border-radius: 6px; }
.change-row { margin: 16px 0; }
.change-row dt { font-weight: 600; margin-bottom: 8px; }
.change-row dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.change-row p { margin: 4px 0 12px; }
.history-list { padding: 0; list-style: none; margin-top: 24px; }
.history-list li { padding: 18px 0; border-top: 1px solid var(--line); }
.history-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 10px; font-size: 13px; color: var(--muted); }
.history-list p { font-size: 14px; margin: 8px 0 0; overflow-wrap: anywhere; }
.history-list a { color: var(--accent); }
@media (max-width: 600px) {
    .workspace-card { padding: 18px; }
    .quick-review-heading { align-items: flex-start; }
    .quick-review-heading > .button { width: 100%; justify-content: center; }
    .change-details { padding: 12px; }
    .collection-health { padding: 15px; }
    .agenda-list li > :first-child { flex-basis: 100%; }
}
@media (max-width: 760px) {
    .detail-jump-links { gap: 4px 16px; }
    .notice-body th, .notice-body td { padding: 6px; font-size: 13px; }
}

/* Search keeps the task controls separate from optional display preferences. */
.notice-search-main { margin-top: 28px; }
.notice-search-main > .intro { margin-bottom: 20px; font-size: 1rem; }
.notice-search-panel { padding: 20px 24px 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--tinted-bg, #f7f9f7); }
.notice-search-fields { display: grid; grid-template-columns: minmax(180px, 2fr) repeat(2, minmax(140px, 1fr)) auto; align-items: end; gap: 16px; }
.notice-search-fields .field, .notice-view-options .field { min-width: 0; }
.notice-search-fields input, .notice-search-fields select, .notice-view-options select { font-size: 1rem; }
.notice-search-fields label, .notice-view-options label, .search-advanced label { font-size: 0.9375rem; }
.notice-search-actions { display: flex; align-items: center; gap: 16px; }
.notice-search-actions .button { min-width: 88px; }
.notice-search-actions .text-link { font-size: 0.9375rem; }
.search-advanced { margin-top: 8px; font-size: 0.9375rem; }
.search-advanced summary { cursor: pointer; min-height: 44px; padding-block: 10px; width: fit-content; }
.search-advanced summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.search-advanced .field { max-width: 320px; padding-bottom: 16px; }
.saved-search-context { margin: 12px 0; font-size: 0.9375rem; }
.saved-search-context .text-link { font-size: inherit; }
.notice-search-main .result-summary { margin: 16px 0 12px; font-size: 1rem; scroll-margin-top: 24px; }
.notice-view-options { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: end; gap: 12px; min-width: 0; margin: 0 0 16px; padding: 0; border: 0; }
.notice-view-options .field { flex: 0 1 168px; }
.notice-view-options .field:nth-of-type(3) { flex-basis: 120px; }
.notice-view-options .button { min-height: 46px; }
#opportunities:focus-visible, #search-results:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.collection-status { margin: 16px 0; font-size: 0.9375rem; color: var(--muted); }
.collection-status.is-attention { padding: 12px 16px; border-left: 3px solid var(--warning-border, #9b6023); border-radius: 4px; background: var(--warning-bg, #fff7eb); color: var(--warning-text, #6e4b26); }
.collection-status-warning { margin: 0; font-size: 1rem; font-weight: 600; }
@media (max-width: 1000px) {
    .notice-search-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .notice-search-fields .keyword-field { grid-column: 1 / -1; }
    .notice-search-actions { grid-column: 1 / -1; }
    .notice-search-actions .button { flex: 1; }
}
@media (max-width: 760px) {
    .notice-search-main { margin-top: 24px; }
    .notice-search-panel { padding: 16px 16px 4px; }
    .notice-search-fields { gap: 12px; }
    .notice-search-fields input, .notice-search-fields select { font-size: 1rem; }
    .notice-view-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .notice-view-options .field { min-width: 0; }
    .notice-view-options .button { align-self: end; }
    .collection-status { margin-block: 12px; }
    .header-nav { column-gap: 8px; }
    .header-nav .header-link, .header-explore summary { padding-inline: 0; font-size: 0.875rem; }
}
