:root { --navy:#0F2A44; --ink:#1F2937; --muted:#4B5563; --line:#E5E7EB; --field:#C9D2DC; --page:#F4F6F9; --soft:#F7F9FB; --blue:#3558A8; --green-ink:#1B7A4E; --red:#9A2A1D; }
* { box-sizing: border-box; }
body { margin: 0; font-family: 'IBM Plex Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif; color: var(--ink); background: var(--page); font-size: 14px; }
a { color: var(--blue); }
.bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding: 12px 24px; background: var(--navy); }
.bar-l, .bar-r { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.brand { font-size: 17px; color: #fff; }
.bar nav { display: flex; flex-wrap: wrap; gap: 4px; }
.bar nav a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 8px; font-size: 14.5px; color: #D3DEEA; text-decoration: none; }
.bar nav a.on { background: rgba(255,255,255,.14); font-weight: 600; color: #fff; }
.badge { padding: 1px 7px; border-radius: 999px; background: #F5A524; font-size: 12px; font-weight: 700; color: #3A2400; }
.ghost-btn { height: 40px; padding: 0 14px; border: 1px solid rgba(255,255,255,.4); border-radius: 8px; background: transparent; font: inherit; font-weight: 600; color: #fff; cursor: pointer; }
.who { font-size: 13px; color: #D3DEEA; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 24px; display: flex; flex-direction: column; gap: 18px; }
h1 { margin: 0; font-size: 22px; color: var(--navy); }
h2 { margin: 0; font-size: 16px; color: var(--navy); }
.muted { color: var(--muted); }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.tile { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; background: #fff; border-radius: 12px; border-top: 4px solid var(--blue); text-decoration: none; color: inherit; }
.tile strong { font-size: 28px; color: var(--navy); }
.panel { display: flex; flex-direction: column; gap: 12px; padding: 20px; background: #fff; border-radius: 12px; }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
select, input[type=text], textarea { height: 40px; padding: 0 12px; border: 1px solid var(--field); border-radius: 8px; font: inherit; font-size: 14px; color: var(--ink); background: #fff; }
textarea { height: auto; padding: 10px 12px; line-height: 1.6; width: 100%; resize: vertical; }
.scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; padding: 10px 12px; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 12px; border-bottom: 1px solid #EEF1F4; vertical-align: top; }
tr.click { cursor: pointer; }
tr.click:hover { background: #F6F9FE; }
.pill { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.s-접수완료 { background: #E3EBF8; color: #23407F; }
.s-1차검토중 { background: #FFF1D6; color: #8A4B00; }
.s-스필전달 { background: #EDE7FA; color: #4A3291; }
.s-처리완료 { background: #E6F5ED; color: var(--green-ink); }
.s-보류, .s-취소 { background: #ECEFF3; color: var(--muted); }
.s-대기 { background: #FFF1D6; color: #8A4B00; }
.s-답변완료 { background: #E6F5ED; color: var(--green-ink); }
.cols { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; }
.cols > .main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.cols > .side { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
dl.info { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px 24px; }
dl.info dt { font-size: 12.5px; color: var(--muted); }
dl.info dd { margin: 2px 0 0; font-size: 14.5px; }
.chip { display: inline-block; margin: 0 6px 6px 0; padding: 5px 11px; border-radius: 999px; background: #EEF3FA; font-size: 13px; font-weight: 600; color: #23407F; }
.media { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.media figure { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.media video, .media img { width: 100%; max-height: 360px; border-radius: 10px; background: #1B2633; object-fit: contain; }
.review { border: 2px solid var(--navy); }
.radio { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 14px; border: 1.5px solid #D5DCE4; border-radius: 10px; cursor: pointer; }
.radio:has(input:checked) { border-color: var(--navy); background: #EEF3FA; font-weight: 600; color: var(--navy); }
.btn { height: 46px; padding: 0 18px; border: 0; border-radius: 10px; background: var(--navy); font: inherit; font-size: 15px; font-weight: 600; color: #fff; cursor: pointer; }
.btn.line { background: #fff; border: 1px solid var(--field); color: var(--navy); }
.btn:disabled { background: #9AA8B8; cursor: not-allowed; }
.box { padding: 12px 14px; background: var(--soft); border-radius: 10px; font-size: 13px; line-height: 1.6; }
.warn { padding: 12px 14px; background: #FFF6E5; border: 1px solid #F3D19C; border-radius: 10px; color: #5C3300; line-height: 1.6; }
.err { padding: 10px 12px; border-radius: 8px; background: #FDECEA; color: #8A1C12; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.grid2 label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
ol.hist { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
ol.hist li { display: flex; gap: 10px; }
ol.hist time { flex-shrink: 0; width: 120px; color: var(--muted); }
.qa { white-space: pre-wrap; line-height: 1.6; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); padding: 12px 18px; border-radius: 10px; background: var(--navy); color: #fff; font-weight: 600; box-shadow: 0 6px 20px rgba(0,0,0,.2); z-index: 10; }
.hidden { display: none !important; }
@media (max-width: 640px) { .wrap { padding: 16px; } .grid2 { grid-template-columns: 1fr; } }
