@layer reference {
.notice-card {
	padding: 26px;
	border: 1px solid var(--color-line);
	border-radius: var(--radius-md);
	background: var(--color-surface);
	box-shadow: var(--shadow-sm);
}

.notice-card h3 {
	margin: 0 0 10px;
	font-size: 21px;
	letter-spacing: -0.03em;
}

.notice-card p {
	margin: 0;
	color: var(--color-muted);
}

.notice-tools {
	display: flex;
	gap: 12px;
	margin-bottom: 20px;
}

.notice-tools .form-control {
	max-width: 320px;
}

.notice-tools select.form-control {
	max-width: 180px;
}

.notice-list {
	display: grid;
	gap: 14px;
}

.notice-item {
	display: grid;
	grid-template-columns: 110px 1fr 110px;
	gap: 18px;
	align-items: center;
	padding: 22px 24px;
	border: 1px solid var(--color-line);
	border-radius: var(--radius-md);
	background: #fff;
	box-shadow: var(--shadow-sm);
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.notice-item:hover {
	transform: translateY(-3px);
	border-color: rgb(var(--color-primary-rgb, 36 84 255) / 0.28);
	box-shadow: var(--shadow-md);
}

.notice-title {
	font-weight: 900;
	letter-spacing: -0.02em;
}

.notice-summary {
	margin-top: 4px;
	color: var(--color-muted);
	font-size: 14px;
}

.notice-date {
	color: var(--color-muted);
	font-size: 14px;
	text-align: right;
}

.notice-detail-section {
	padding-top: 56px;
}

.notice-detail-layout {
	display: grid;
	grid-template-columns: minmax(0, 860px);
	gap: 24px;
	align-items: start;
	justify-content: center;
}

.notice-detail-card {
	border: 1px solid var(--color-line);
	border-radius: var(--radius-md);
	background: #fff;
	box-shadow: var(--shadow-sm);
}

.notice-detail-card {
	padding: 34px;
}

.notice-detail-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--color-line);
}

.notice-detail-header h2 {
	margin: 14px 0 0;
	font-size: clamp(28px, 4vw, 42px);
	line-height: 1.18;
	letter-spacing: 0;
}

.notice-detail-date {
	color: var(--color-muted);
	font-size: 14px;
	font-weight: 800;
	white-space: nowrap;
}

.notice-detail-body {
	display: grid;
	gap: 28px;
	padding-top: 30px;
}

.notice-detail-body section {
	padding-bottom: 28px;
	border-bottom: 1px solid var(--color-line);
}

.notice-detail-body section:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.notice-detail-body h3 {
	margin: 0 0 10px;
	font-size: 21px;
	letter-spacing: 0;
}

.notice-detail-body p {
	margin: 0;
	color: var(--color-muted);
}

@media (max-width: 900px) {
.notice-detail-layout {
		grid-template-columns: 1fr;
	}

.notice-item {
		grid-template-columns: 1fr;
	}

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

.notice-detail-header {
		flex-direction: column;
	}

}

@media (max-width: 640px) {
.notice-tools {
		flex-direction: column;
		grid-template-columns: 1fr;
	}

.notice-detail-card {
		padding: 24px;
	}

}

}

.notice-detail-header h1 { margin: 14px 0 0; font-size: clamp(26px, 4vw, 38px); line-height: 1.3; letter-spacing: -0.04em; }

.notice-detail-body h2 { font-size: 21px; margin: 28px 0 10px; }

.notice-empty { padding: 32px 0; color: #687083; text-align: center; }


.notice-pagination { display: flex; justify-content: center; gap: 20px; margin-top: 32px; }
.notice-body { display: block; line-height: 1.9; overflow-wrap: anywhere; }
.notice-attachments { margin-top: 32px; padding-top: 20px; border-top: 1px solid #dfe4dc; }
.notice-attachments h2 { font-size: 16px; }
.notice-attachments li { margin: 10px 0; overflow-wrap: anywhere; }
.notice-attachments span { color: #6f7969; font-size: 12px; }
.notice-detail-actions { margin-top: 32px; }

.notice-search-button,
.notice-back-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid #353535;
    border-radius: 4px;
    background: #353535;
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    cursor: pointer;
    transition: transform 100ms ease;
}
.notice-search-button:focus-visible, .notice-back-button:focus-visible { outline: 2px solid #353535; outline-offset: 3px; }
.notice-search-button:active:not(:disabled), .notice-back-button:active { transform: translateY(1px) scale(.97); }
.notice-search-button:disabled { opacity: .45; cursor: not-allowed; }

.notice-item .notice-badge,
.notice-detail-card .notice-badge {
    align-items: center;
    width: max-content;
    max-width: 100%;
    min-height: 26px;
    padding: 4px 9px;
    border: 1px solid #d6dfec;
    border-left: 3px solid var(--color-primary);
    border-radius: 3px;
    background: #fff;
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
}

.notice-detail-card {
    min-width: 0;
    padding: 40px;
    border-top: 3px solid var(--color-primary);
    border-radius: 4px;
    box-shadow: none;
}
.notice-detail-header { display: block; padding-bottom: 28px; }
.notice-detail-header__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.notice-detail-date { font-size: 13px; font-weight: 400; }
.notice-detail-header h1 { margin: 22px 0 0; font-size: clamp(24px, 4vw, 34px); font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
.notice-detail-body { min-height: 200px; padding-top: 32px; font-size: 16px; line-height: 1.9; }
.notice-detail-actions { padding-top: 28px; border-top: 1px solid var(--color-line); }
@media (max-width: 640px) { .notice-detail-card { padding: 24px 20px; }.notice-detail-header h1 { margin-top: 18px; }.notice-detail-body { padding-top: 24px; } }
