* { box-sizing: border-box; }
body { margin: 0; font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", sans-serif; font-size: 1em; background: #f3f6fb; color: #1b2430; }
.gnb { position: sticky; top: 0; z-index: 30; height: 60px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; background: #0f2038; color: #fff; }
.gnb-title { font-size: 1.25em; font-weight: 700; }
.gnb-menu { display: flex; gap: 14px; }
.gnb-menu a { color: #c7d6ee; text-decoration: none; font-size: 0.875em; }
.gnb-menu a.active, .gnb-menu a:hover { color: #fff; }
.gnb-menu .logout-form { margin: 0; }
.gnb-menu .logout-link { border: 0; padding: 0; background: transparent; color: #c7d6ee; font-size: 0.875em; cursor: pointer; }
.gnb-menu .logout-link:hover { color: #fff; }
.lnb.fixed { position: fixed; top: 60px; left: 0; width: 220px; height: calc(100vh - 60px); background: #ffffff; border-right: 1px solid #e2e7f0; padding: 16px; overflow-y: auto; }
.lnb h2 { margin: 0 0 12px; font-size: 0.9375em; }
.lnb ul { margin: 0; padding: 0; list-style: none; }
.lnb li + li { margin-top: 8px; }
.lnb a { display: block; padding: 8px 10px; border-radius: 8px; text-decoration: none; color: #32445f; background: #eef3fb; font-size: 0.875em; }
.lnb a.active, .lnb a:hover { background: #d9e7fd; color: #0f3f8f; }
.contents.with-fixed-lnb { margin-left: 220px; padding: 20px; }
.contents h1 { margin: 0 0 16px; font-size: 1.5em; }
.contents h2 { margin: 0 0 12px; font-size: 1.25em; }
.panel { background: #fff; border-radius: 12px; box-shadow: 0 10px 24px rgba(24, 39, 75, 0.08); padding: 20px; margin-bottom: 16px; }
/* UI 공통 스타일 */
label { display: block; margin: 10px 0 6px; font-weight: 600; }
input, select, textarea { width: 100%; padding: 10px; border: 1px solid #ccd4e0; border-radius: 8px; background: #fff; font: inherit; color: inherit; }
.actions { margin-top: 12px; display: flex; gap: 8px; }
button { border: 0; border-radius: 8px; padding: 10px 14px; background: #0f6ad8; color: #fff; cursor: pointer; font: inherit; }
button.sub { background: #6b778c; }
button.danger { background: #c53d3d; }
a.download-btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; padding: 10px 14px; background: #0f6ad8; color: #fff; text-decoration: none; }
table { width: 100%; border-collapse: collapse; font-size: 0.875em; }
th, td { border: 1px solid #d9dfeb; padding: 8px; text-align: left; }
th { background: #eef3fb; }
.row-actions { display: flex; gap: 6px; }
.msg { min-height: 20px; color: #c53d3d; margin: 10px 0 0; }
@media (max-width: 900px) { .lnb.fixed { position: static; width: auto; height: auto; border-right: 0; border-bottom: 1px solid #e2e7f0; } .contents.with-fixed-lnb { margin-left: 0; padding: 16px; } }
