.notice-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}
.notice-toolbar p {
    margin: 0;
    font-size: 14px;
    color: var(--muted);
}
.notice-toolbar strong {
    color: var(--navy);
    font-family: Inter, Pretendard, sans-serif;
}
.notice-toolbar form {
    display: flex;
    max-width: 100%;
    width: 360px;
}
.notice-toolbar input {
    min-width: 0;
    flex: 1;
    padding: 14px 16px;
    border: 1px solid var(--line);
    font: inherit;
    font-size: 14px;
    background: #fff;
}
.notice-toolbar button {
    padding: 14px 24px;
    background: var(--navy);
    color: #fff;
    border: 1px solid var(--navy);
    font: inherit;
    font-size: 14px;
    cursor: pointer;
}
.notice-toolbar :is(input, button):focus-visible,
.notice-section a:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
}
.notice-table {
    border-top: 2px solid var(--navy);
}
.notice-columns,
.notice-rows a {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr) 120px;
    align-items: center;
    gap: 24px;
    padding: 24px 16px;
}
.notice-columns {
    background: #f2f6f9;
    font-size: 13px;
    text-align: center;
    color: var(--muted);
}
.notice-columns span:nth-child(2) {
    text-align: left;
}
.notice-rows {
    padding: 0;
    margin: 0;
    list-style: none;
}
.notice-rows li {
    border-bottom: 1px solid var(--line);
}
.notice-rows a {
    min-height: 96px;
    transition: background 0.2s;
}
.notice-rows a:hover {
    background: #f7f9fb;
}
.notice-rows .notice-pinned a {
    background: #edf3ff;
}
.notice-rows .notice-pinned a:hover {
    background: #e3ecff;
}
.notice-pinned-label {
    display: inline-block;
    padding: 3px 9px;
    margin-right: 12px;
    border-radius: 4px;
    background: #dce7ff;
    color: var(--blue);
    font-size: 12px;
    font-weight: 600;
    vertical-align: middle;
}
.notice-number,
.notice-rows time {
    font-family: Inter, Pretendard, sans-serif;
    font-size: 13px;
    color: var(--muted);
    text-align: center;
}
.notice-title {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.6;
    overflow-wrap: anywhere;
}
.notice-attachment-label {
    display: inline-block;
    margin-left: 12px;
    font-size: 11px;
    font-weight: 400;
    padding: 2px 8px;
    background: #eef3f7;
    color: var(--muted);
    vertical-align: middle;
}
.notice-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: var(--heading-list-gap);
}
.notice-pagination :is(a, span) {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    font-family: Inter, Pretendard, sans-serif;
    font-size: 14px;
}
.notice-pagination [aria-current] {
    background: var(--navy);
    color: #fff;
}
.notice-pagination a:hover {
    background: #f2f6f9;
}
.notice-empty {
    text-align: center;
    padding: 80px 24px;
    border-bottom: 1px solid var(--line);
}
.notice-empty h2 {
    font-size: 24px;
}
.notice-empty p {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.8;
}
.notice-empty .text-link {
    display: inline-block;
    margin-top: 24px;
}
.notice-article-heading {
    border-top: 2px solid var(--navy);
    border-bottom: 1px solid var(--line);
    padding: 32px 0;
    display: grid;
    gap: 20px;
}
.notice-article-heading h2 {
    font-size: 28px;
    line-height: 1.6;
    margin: 0;
    overflow-wrap: anywhere;
}
.notice-article-heading time {
    font-size: 13px;
    color: var(--muted);
    font-family: Inter, Pretendard, sans-serif;
}
.notice-body {
    padding: 40px 0;
    max-width: 900px;
    margin: auto;
}
.notice-body p {
    font-size: 16px;
    line-height: 1.9;
    margin: 0 0 24px;
}
.notice-body figure {
    margin: 32px 0 0;
}
.notice-body img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
}
.notice-body figcaption {
    font-size: 12px;
    color: var(--muted);
    margin-top: 12px;
}
.notice-files {
    padding: 24px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.notice-files h3 {
    margin: 0 0 16px;
    font-size: 15px;
}
.notice-files ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.notice-files li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 14px;
    overflow-wrap: anywhere;
}
.notice-files .field-hint {
    font-size: 12px;
    color: var(--muted);
}
.notice-back {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}
@media (max-width: 768px) {
    .notice-toolbar {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }
    .notice-toolbar form {
        width: 100%;
    }
    .notice-columns {
        display: none;
    }
    .notice-rows a {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 24px 0;
    }
    .notice-number {
        display: none;
    }
    .notice-title {
        font-size: 16px;
    }
    .notice-rows time {
        text-align: left;
    }
    .notice-article-heading h2 {
        font-size: 22px;
    }
    .notice-body {
        padding: 32px 0;
    }
    .notice-empty {
        padding: 48px 16px;
    }
}
.notice-toolbar .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.notice-preview-label {
    font-size: 12px;
    color: var(--muted);
    margin: 0 0 24px;
}
