#notice,
#notice_view,
#notice_write{
	--bbs-point:#2563eb;
	--bbs-point-dark:#1d4ed8;
	--bbs-text:#111827;
	--bbs-muted:#6b7280;
	--bbs-line:#e5e7eb;
	--bbs-soft:#f8fafc;
	--bbs-danger:#dc2626;
	--bbs-radius:18px;
	color:var(--bbs-text);
}

.notice-main{
	padding:56px 0 80px;
	background:linear-gradient(180deg, #f8fafc 0%, #ffffff 260px);
}

.bbs-container{
	max-width:1100px;
	margin:0 auto;
	padding:0 20px;
}

.bbs-container-narrow{
	max-width:920px;
}

.bbs-page-head{
	display:flex;
	align-items:flex-end;
	justify-content:space-between;
	gap:24px;
	margin-bottom:22px;
	padding-bottom:24px;
	border-bottom:1px solid var(--bbs-line);
}

.bbs-eyebrow{
	margin:0 0 8px;
	font-size:13px;
	font-weight:800;
	letter-spacing:.12em;
	color:var(--bbs-point);
}

.page_title,
#notice_view .title{
	margin:0;
	font-size:32px;
	font-weight:800;
	line-height:1.25;
	letter-spacing:-.04em;
	color:var(--bbs-text);
}

.bbs-desc{
	margin:10px 0 0;
	font-size:15px;
	line-height:1.65;
	color:var(--bbs-muted);
}

.bbs-card{
	background:#fff;
	border:1px solid var(--bbs-line);
	border-radius:var(--bbs-radius);
	box-shadow:0 18px 45px rgba(15, 23, 42, .06);
}

.bbs-btn,
.write_btn,
.list_btn{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	min-height:42px;
	padding:0 18px;
	border:1px solid transparent;
	border-radius:999px;
	font-size:14px;
	font-weight:700;
	line-height:1;
	text-decoration:none;
	cursor:pointer;
	transition:background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.bbs-btn:hover,
.write_btn:hover,
.list_btn:hover{
	transform:translateY(-1px);
}

.bbs-btn-primary,
.write_btn{
	background:var(--bbs-point);
	border-color:var(--bbs-point);
	color:#fff;
}

.bbs-btn-primary:hover,
.write_btn:hover{
	background:var(--bbs-point-dark);
	border-color:var(--bbs-point-dark);
	color:#fff;
}

.bbs-btn-light,
.list_btn{
	background:#fff;
	border-color:var(--bbs-line);
	color:var(--bbs-text);
}

.bbs-btn-light:hover,
.list_btn:hover{
	background:var(--bbs-soft);
	color:var(--bbs-text);
}

.bbs-btn-danger{
	background:#fff;
	border-color:#fecaca;
	color:var(--bbs-danger);
}

.bbs-btn-danger:hover{
	background:#fef2f2;
	color:var(--bbs-danger);
}

.bbs-list-summary{
	display:flex;
	justify-content:space-between;
	gap:12px;
	margin-bottom:12px;
	font-size:14px;
	color:var(--bbs-muted);
}

.bbs-list-summary strong{
	color:var(--bbs-text);
}

.bbs-table-card{
	overflow:hidden;
}

.notice_table{
	width:100%;
	border-collapse:collapse;
	table-layout:fixed;
}

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

.notice_table .col-no{
	width:96px;
}

.notice_table .col-date{
	width:150px;
}

.notice_table .col-view{
	width:110px;
}

.notice_table th{
	padding:17px 18px;
	background:#f8fafc;
	border-bottom:1px solid var(--bbs-line);
	font-size:14px;
	font-weight:800;
	text-align:center;
	color:#374151;
}

.notice_table th.title{
	text-align:left;
}

.notice_table td{
	padding:18px;
	border-bottom:1px solid #f1f5f9;
	font-size:15px;
	line-height:1.5;
	text-align:center;
	vertical-align:middle;
}

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

.notice_table tbody tr:hover{
	background:#fbfdff;
}

.notice_table td.title{
	text-align:left;
}

.notice-title-link{
	display:block;
	overflow:hidden;
	max-width:100%;
	font-weight:700;
	color:var(--bbs-text);
	text-decoration:none;
	text-overflow:ellipsis;
	white-space:nowrap;
}

.notice-title-link:hover{
	color:var(--bbs-point);
}

.notice_table .no,
.notice_table .date,
.notice_table .view{
	color:var(--bbs-muted);
}

.bbs-empty,
.bbs-empty-card{
	padding:60px 20px !important;
	text-align:center !important;
	color:var(--bbs-muted);
}

.pagination{
	display:flex;
	align-items:center;
	justify-content:center;
	gap:8px;
	margin-top:28px;
}

.page-link,
.pagination a{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	min-width:40px;
	height:40px;
	padding:0 12px;
	border:1px solid var(--bbs-line);
	border-radius:12px;
	background:#fff;
	font-size:14px;
	font-weight:700;
	color:#374151;
	text-decoration:none;
	transition:background-color .18s ease, border-color .18s ease, color .18s ease;
}

.page-link:hover,
.pagination a:hover{
	border-color:#bfdbfe;
	background:#eff6ff;
	color:var(--bbs-point);
}

.page-link.active,
.pagination a.active{
	border-color:var(--bbs-point);
	background:var(--bbs-point);
	color:#fff;
}

.notice-article{
	overflow:hidden;
}

.notice-article-head{
	padding:34px 36px 28px;
	border-bottom:1px solid var(--bbs-line);
	background:linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.notice-article-head .meta{
	display:flex;
	flex-wrap:wrap;
	gap:8px 16px;
	margin-top:16px;
	font-size:14px;
	color:var(--bbs-muted);
}

.notice-article-head .meta span{
	display:inline-flex;
	align-items:center;
	gap:6px;
}

.notice-content{
	min-height:260px;
	padding:36px;
	font-size:16px;
	line-height:1.85;
	color:#1f2937;
	word-break:break-word;
}

.notice-content > *:first-child{
	margin-top:0;
}

.notice-content > *:last-child{
	margin-bottom:0;
}

.notice-content h3,
.notice-content h4{
	margin:28px 0 14px;
	font-weight:800;
	line-height:1.4;
	letter-spacing:-.03em;
	color:var(--bbs-text);
}

.notice-content h3{
	font-size:24px;
}

.notice-content h4{
	font-size:20px;
}

.notice-content p{
	margin:0 0 16px;
}

.notice-content ul,
.notice-content ol{
	margin:0 0 18px 22px;
	padding:0;
}

.notice-content li{
	margin:6px 0;
}

.notice-content blockquote{
	margin:22px 0;
	padding:16px 18px;
	border-left:4px solid var(--bbs-point);
	border-radius:12px;
	background:#f8fafc;
	color:#374151;
}

.notice-content a{
	color:var(--bbs-point);
	text-decoration:underline;
	text-underline-offset:3px;
}

.notice-content img{
	max-width:100%;
	height:auto;
	border-radius:12px;
}

.notice-content hr{
	margin:28px 0;
	border:0;
	border-top:1px solid var(--bbs-line);
}

.notice_nav{
	margin-top:18px;
	overflow:hidden;
}

.notice-nav-row{
	display:grid;
	grid-template-columns:90px 1fr;
	gap:16px;
	padding:17px 22px;
	border-bottom:1px solid #f1f5f9;
	font-size:15px;
	line-height:1.5;
}

.notice-nav-row:last-child{
	border-bottom:0;
}

.notice-nav-row span{
	font-weight:800;
	color:var(--bbs-muted);
}

.notice-nav-row a{
	overflow:hidden;
	font-weight:700;
	color:var(--bbs-text);
	text-decoration:none;
	text-overflow:ellipsis;
	white-space:nowrap;
}

.notice-nav-row a:hover{
	color:var(--bbs-point);
}

.notice-nav-row.is-empty{
	display:block;
	color:var(--bbs-muted);
	text-align:center;
}

.bbs-view-actions,
.bbs-form-actions{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:12px;
	margin-top:24px;
}

.bbs-admin-actions{
	display:flex;
	gap:8px;
}

.bbs-form-card{
	padding:32px;
}

.form-row + .form-row{
	margin-top:24px;
}

.form-label{
	display:block;
	margin-bottom:10px;
	font-size:15px;
	font-weight:800;
	color:var(--bbs-text);
}

.input_title,
.editor_textarea{
	width:100%;
	box-sizing:border-box;
	border:1px solid var(--bbs-line);
	border-radius:14px;
	background:#fff;
	font-size:16px;
	color:var(--bbs-text);
	outline:none;
	transition:border-color .18s ease, box-shadow .18s ease;
}

.input_title{
	height:52px;
	padding:0 16px;
}

.editor_textarea{
	min-height:320px;
	padding:16px;
	line-height:1.7;
	resize:vertical;
}

.input_title:focus,
.editor_textarea:focus,
.editor-area:focus{
	border-color:#93c5fd;
	box-shadow:0 0 0 4px rgba(37, 99, 235, .10);
}

.editor_textarea.is-hidden{
	display:none;
}

.simple-editor{
	border:1px solid var(--bbs-line);
	border-radius:16px;
	background:#fff;
	overflow:hidden;
}

.editor-toolbar{
	display:flex;
	flex-wrap:wrap;
	gap:6px;
	padding:10px;
	border-bottom:1px solid var(--bbs-line);
	background:#f8fafc;
}

.editor-toolbar button{
	height:34px;
	padding:0 10px;
	border:1px solid #dbe3ef;
	border-radius:9px;
	background:#fff;
	font-size:13px;
	font-weight:700;
	color:#374151;
	cursor:pointer;
	transition:background-color .18s ease, border-color .18s ease, color .18s ease;
}

.editor-toolbar button:hover{
	border-color:#bfdbfe;
	background:#eff6ff;
	color:var(--bbs-point);
}

.toolbar-divider{
	width:1px;
	height:24px;
	margin:5px 3px;
	background:#dbe3ef;
}

.editor-area{
	min-height:340px;
	padding:18px;
	font-size:16px;
	line-height:1.8;
	outline:none;
	word-break:break-word;
}

.editor-area:empty:before{
	content:attr(data-placeholder);
	color:#9ca3af;
}

.editor-area h3{
	margin:20px 0 10px;
	font-size:22px;
	line-height:1.4;
}

.editor-area p{
	margin:0 0 14px;
}

.editor-area ul,
.editor-area ol{
	margin:0 0 16px 24px;
	padding:0;
}

.editor-area blockquote{
	margin:18px 0;
	padding:14px 16px;
	border-left:4px solid var(--bbs-point);
	border-radius:12px;
	background:#f8fafc;
}

.editor-area hr{
	margin:24px 0;
	border:0;
	border-top:1px solid var(--bbs-line);
}

.form-help{
	margin:10px 0 0;
	font-size:13px;
	line-height:1.5;
	color:var(--bbs-muted);
}


.bbs-delete-form{
	display:flex;
	margin:0;
}

.bbs-delete-form .bbs-btn{
	font-family:inherit;
}

.bbs-delete-card{
	padding:32px;
}

.delete-title{
	margin:0 0 10px;
	font-size:15px;
	font-weight:800;
	color:var(--bbs-muted);
}

.delete-target{
	margin:0;
	font-size:22px;
	font-weight:800;
	line-height:1.45;
	letter-spacing:-.03em;
	color:var(--bbs-text);
	word-break:break-word;
}

@media (max-width:768px){
	.notice-main{
		padding:36px 0 56px;
	}

	.bbs-container{
		padding:0 16px;
	}

	.bbs-page-head{
		align-items:flex-start;
		flex-direction:column;
		gap:16px;
	}

	.bbs-head-actions,
	.bbs-head-actions .bbs-btn{
		width:100%;
	}

	.page_title,
	#notice_view .title{
		font-size:26px;
	}

	.bbs-list-summary{
		align-items:flex-start;
		flex-direction:column;
	}

	.notice_table colgroup,
	.notice_table thead{
		display:none;
	}

	.notice_table,
	.notice_table tbody,
	.notice_table tr,
	.notice_table td{
		display:block;
		width:100%;
	}

	.notice_table tr{
		padding:16px;
		border-bottom:1px solid var(--bbs-line);
	}

	.notice_table tbody tr:last-child{
		border-bottom:0;
	}

	.notice_table td{
		padding:4px 0;
		border-bottom:0;
		text-align:left;
	}

	.notice_table td:before{
		content:attr(data-label);
		display:inline-block;
		min-width:46px;
		margin-right:8px;
		font-size:12px;
		font-weight:800;
		color:#9ca3af;
	}

	.notice_table td.title{
		padding:6px 0 10px;
	}

	.notice_table td.title:before{
		display:none;
	}

	.notice-title-link{
		font-size:17px;
		white-space:normal;
	}

	.pagination{
		flex-wrap:wrap;
	}

	.notice-article-head,
	.notice-content,
	.bbs-form-card{
		padding:24px 20px;
	}

	.notice-nav-row{
		grid-template-columns:1fr;
		gap:6px;
	}

	.bbs-view-actions,
	.bbs-form-actions{
		align-items:stretch;
		flex-direction:column-reverse;
	}

	.bbs-view-actions .bbs-btn,
	.bbs-form-actions .bbs-btn,
	.bbs-form-actions button{
		width:100%;
	}

	.bbs-admin-actions{
		width:100%;
	}

	.bbs-admin-actions .bbs-delete-form{
		flex:1;
	}

	.bbs-admin-actions .bbs-btn{
		flex:1;
	}

	.editor-toolbar{
		gap:5px;
	}

	.editor-toolbar button{
		flex:1 0 auto;
	}
}
