/* 중기이코노미 WORKS · 2026-11-23 · 중기 군청 #142C67 (뉴스 사이트와 같은 톤앤매너, 대표 11/23 "중기웍스 중기 군청으로 톤앤매너 유지") · 휴대폰 좌우 흔들림 없게(overflow-x clip) */
:root {
	--g: #142C67; --g-d: #0F2252; --g-dd: #0B1A40; --g-l: #E8EDF7; --g-ll: #F4F6FB; --g-line: #C3CEE6;
	--line: #E3E6EC; --line2: #EEF0F4; --bg: #F1F3F6; --card: #fff; --fg: #14171F; --fg2: #3A3F4B; --mut: #6B7180;
	--ok: #142C67; --warn: #B45309; --red: #D3302F; --sh: 0 1px 2px rgba(16, 23, 42, .05), 0 1px 1px rgba(16, 23, 42, .03);
}
* { box-sizing: border-box; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 15px/1.6 'Pretendard Variable', Pretendard, -apple-system, 'Malgun Gothic', sans-serif; -webkit-text-size-adjust: 100%; letter-spacing: -.005em; }
a { color: inherit; }
.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -3px; }
/* 전체 폭 · 베이비뉴스 CMS 처럼 좌우 넓게 (대표 11/22 '좌우 넓혀서') */
body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
.wrap { width: 100%; max-width: 1920px; margin: 0 auto; flex: 1 0 auto; padding: 24px max(28px, env(safe-area-inset-right)) 48px max(28px, env(safe-area-inset-left)); }

/* 상단 1단 = 군청 띠 */
.top { background: var(--g); color: #fff; position: sticky; top: 0; z-index: 21; }
.top .in { max-width: 1920px; margin: 0 auto; display: flex; align-items: center; gap: 16px; padding: 0 max(28px, env(safe-area-inset-right)) 0 max(28px, env(safe-area-inset-left)); height: 56px; }
.top-t { font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .78); padding-left: 16px; border-left: 1px solid rgba(255, 255, 255, .3); line-height: 1; margin-right: auto; }
.me .who { display: flex; align-items: center; gap: 5px; }
/* 상단 2단 = 흰 메뉴 줄 · 아이콘 + 글자 · 지금 화면은 군청 밑줄 */
.menu { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 56px; z-index: 20; box-shadow: 0 1px 3px rgba(16, 23, 42, .04); }
.menu .in { max-width: 1920px; margin: 0 auto; display: flex; align-items: stretch; gap: 12px; padding: 0 max(28px, env(safe-area-inset-right)) 0 max(28px, env(safe-area-inset-left)); height: 52px; }
.menu .tabs { flex: 1 1 auto; }
.menu .tabs a { color: #474D5A; font-size: 15px; font-weight: 600; gap: 7px; padding: 0 14px; box-shadow: inset 0 -3px 0 transparent; }
.menu .tabs a .ic { width: 17px; height: 17px; color: #7B8191; }
.menu .tabs a:hover { color: var(--g-d); background: var(--g-ll); }
.menu .tabs a.on { color: var(--g-d); font-weight: 700; box-shadow: inset 0 -3px 0 var(--g); }
.menu .tabs a.on .ic, .menu .tabs a:hover .ic { color: var(--g); }
.menu .tabs .cnt { background: var(--g); color: #fff; }
.menu .new { display: flex; align-items: center; gap: 6px; align-self: center; flex: none; background: var(--g); color: #fff; text-decoration: none; border-radius: 8px; padding: 7px 14px; font-size: 14px; font-weight: 600; }
.menu .new:hover { background: var(--g-d); }
/* 하단 푸터 (대표 11/22 '하단 푸터 포함') */
.cfoot { background: #fff; border-top: 1px solid var(--line); color: var(--mut); font-size: 13px; flex: none; padding-bottom: env(safe-area-inset-bottom); }
.cfoot .in { max-width: 1920px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 20px; padding: 16px max(28px, env(safe-area-inset-right)) 16px max(28px, env(safe-area-inset-left)); }
.cf-l { display: flex; align-items: center; gap: 14px; }
.cf-l img { height: 22px; width: auto; opacity: .75; }
.cf-r { display: flex; flex-wrap: wrap; align-items: center; }
.cf-r a, .cf-r span { padding: 0 11px; text-decoration: none; line-height: 1; }
.cf-r a + a, .cf-r a + span { border-left: 1px solid var(--line); }
.cf-r a:hover { color: var(--g-d); }
.cf-r span { color: #A3A8B4; font-weight: 600; letter-spacing: .02em; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { height: 26px; width: auto; filter: brightness(0) invert(1); }
.brand b { font-size: 12px; letter-spacing: .16em; font-weight: 700; padding: 2px 7px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 4px; }
.tabs { display: flex; align-self: stretch; gap: 2px; overflow-x: auto; scrollbar-width: none; flex: 1 1 auto; min-width: 0; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { display: flex; align-items: center; gap: 5px; text-decoration: none; padding: 0 13px; font-size: 14.5px; font-weight: 500; white-space: nowrap; color: rgba(255, 255, 255, .82); box-shadow: inset 0 -3px 0 transparent; }
.tabs a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.tabs a.on { color: #fff; font-weight: 700; box-shadow: inset 0 -3px 0 #fff; }
.tabs .cnt { font-style: normal; background: #fff; color: var(--g-d); border-radius: 9px; padding: 0 7px; font-size: 11.5px; font-weight: 700; line-height: 18px; }
.me { display: flex; align-items: center; gap: 14px; font-size: 13.5px; flex: none; }
.me a { text-decoration: none; opacity: .9; }
.me a:hover { opacity: 1; }
.me .who { font-weight: 600; }
.me small { opacity: .75; font-weight: 400; margin-left: 2px; }
.me .site { display: flex; align-items: center; gap: 4px; }
.me form { margin: 0; }
.me button { background: transparent; border: 1px solid rgba(255, 255, 255, .45); color: #fff; border-radius: 6px; padding: 4px 11px; font: inherit; font-weight: 500; cursor: pointer; }
.me button:hover { background: rgba(255, 255, 255, .1); filter: none; }
.testbar { background: #FFF7E8; color: #8A4B08; font-size: 13px; text-align: center; padding: 6px 16px; border-bottom: 1px solid #F5E2BC; }

/* 제목·알림 */
.ph { display: flex; align-items: center; gap: 9px; font-size: 22px; font-weight: 700; letter-spacing: -.02em; margin: 2px 0 18px; flex-wrap: wrap; }
.ph .ic { width: 22px; height: 22px; color: var(--g); }
.ph small { font-size: 14px; color: var(--mut); font-weight: 500; letter-spacing: 0; }
.flash, .err, .note, .once { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-radius: 8px; font-size: 14px; margin: 0 0 16px; }
.flash { background: var(--g-l); color: var(--g-dd); border: 1px solid var(--g-line); }
.err { background: #FDEEEE; color: var(--red); border: 1px solid #F6CACA; }
.note { background: var(--card); border: 1px solid var(--line); color: var(--fg2); }
.note .ic { margin-left: auto; order: 2; color: var(--g); }
.note a { color: var(--g-d); font-weight: 600; text-decoration: none; }
.once { background: #FFF8E6; border: 1px solid #F2D58A; align-items: flex-start; }
.empty { color: var(--mut); padding: 28px 4px; margin: 0; text-align: center; }
.muted, tr.muted td { color: #A3A8B4; }

/* 제목 줄 · 오른쪽 단추 */
.ph-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.ph-row .ph { margin: 0; }
.btn { display: inline-flex; align-items: center; gap: 6px; background: var(--g); color: #fff; border: 1px solid var(--g); border-radius: 8px; padding: 8px 16px; font-size: 14px; font-weight: 600; text-decoration: none; }
.btn:hover { background: var(--g-d); border-color: var(--g-d); }
.btn.sub { background: #fff; color: var(--fg); border-color: #CDD2DC; }
.btn.sub:hover { background: var(--g-ll); color: var(--g-dd); border-color: var(--g-line); }
.hint { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--mut); margin: 8px 0 0; }
.hint .ic { width: 15px; height: 15px; color: var(--g); }
.empty.sm { padding: 10px 2px; font-size: 13px; text-align: left; }
a.ext { color: #9AA0AC; display: inline-flex; }
a.ext:hover { color: var(--g); }
.st-sched { background: #E8F0FE; color: #1F5FBF; }

/* 대시보드 칸 */
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid3 > .span2 { grid-column: span 2; }
.grid2w { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.bars { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 8px; height: 180px; align-items: end; padding-top: 8px; }
.bar { display: grid; grid-template-rows: 1fr auto auto; height: 100%; text-align: center; min-width: 0; }
.bar i { display: block; align-self: end; background: var(--g-line); border-radius: 4px 4px 0 0; min-height: 2px; }
.bar.today i { background: var(--g); }
.bar b { font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; margin-top: 4px; }
.bar span { font-size: 11px; color: var(--mut); white-space: nowrap; }
.hbars { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.hbars li { display: grid; grid-template-columns: 72px minmax(0, 1fr) 34px; gap: 10px; align-items: center; font-size: 14px; }
.hbars li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hbars li i { height: 10px; background: var(--line2); border-radius: 5px; overflow: hidden; }
.hbars li em { display: block; height: 100%; background: var(--g); border-radius: 5px; }
.hbars li b { text-align: right; font-variant-numeric: tabular-nums; }
.rank { list-style: none; margin: 0; padding: 0; counter-reset: r; columns: 2; column-gap: 28px; }
.rank li { counter-increment: r; display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--line2); break-inside: avoid; font-size: 14.5px; }
.rank li::before { content: counter(r); font-weight: 800; color: var(--g); text-align: center; font-variant-numeric: tabular-nums; }
.rank li:nth-child(n+4)::before { color: #A3A8B4; }
.rank a { text-decoration: none; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank a:hover { color: var(--g-d); }
.rank .num { color: var(--mut); font-size: 13px; font-variant-numeric: tabular-nums; }

/* 기사 목록 · 상태 탭(글자+ㅣ) · 필터 */
.seg { display: flex; flex-wrap: wrap; align-items: center; margin: 0 0 12px; font-size: 15px; }
.seg a { padding: 2px 14px; text-decoration: none; color: var(--mut); font-weight: 600; line-height: 1.2; cursor: pointer; }
.seg a + a { border-left: 1px solid #CDD2DC; }
.seg a:first-child { padding-left: 2px; }
.seg a:hover { color: var(--g-d); }
.seg a.on { color: var(--g-d); font-weight: 700; }
.filters .dr { display: inline-flex; align-items: center; gap: 4px; }
.filters .dr input { flex: none; width: 150px; }
.filters .reset { font-size: 13.5px; color: var(--mut); text-decoration: none; margin-left: auto; }
.filters .reset + button { margin-left: 0; }
.filters button { display: inline-flex; align-items: center; gap: 5px; }
.lthumb { width: 76px; }
.lthumb img { width: 64px; height: 42px; object-fit: cover; border-radius: 4px; display: block; border: 1px solid var(--line); }
.lthumb .nop { display: grid; place-items: center; width: 64px; height: 42px; border-radius: 4px; background: #F2F3F6; color: #B0B5C0; font-size: 11px; }
.bulk .sep { width: 1px; height: 22px; background: #DCDFE6; margin: 0 4px; }
.bulk select { padding: 8px 10px; }

/* 숫자판 */
.kpis { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.kpi { background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--sh); padding: 16px 18px; display: grid; grid-template-columns: auto 1fr; gap: 6px 10px; align-items: center; min-width: 0; }
.kpi .ic { color: var(--g); background: var(--g-l); border-radius: 8px; padding: 6px; width: 30px; height: 30px; }
.kpi span { font-size: 13.5px; color: var(--mut); font-weight: 500; overflow-wrap: anywhere; }
.kpi b { grid-column: 1 / -1; font-size: 28px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1.2; }

/* 칸 */
.cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.box { background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--sh); padding: 18px 20px; margin-bottom: 16px; min-width: 0; }
.bh { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: -2px 0 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line2); }
.bh h2 { display: flex; align-items: center; gap: 7px; font-size: 16px; font-weight: 700; margin: 0; }
.bh h2 .ic { color: var(--g); }
.bh a { font-size: 13px; color: var(--mut); text-decoration: none; }
.bh a:hover { color: var(--g-d); }

/* 표 */
.tbw { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--sh); }
.tb { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tb th { text-align: left; font-weight: 600; color: var(--mut); font-size: 12.5px; letter-spacing: .02em; padding: 11px 14px; border-bottom: 1px solid var(--line); background: #F7F8FA; white-space: nowrap; }
.tb td { padding: 11px 14px; border-bottom: 1px solid var(--line2); vertical-align: middle; }
.tb tbody tr:hover td { background: var(--g-ll); }
.box .tb th { background: transparent; padding: 6px 6px 8px; }
.box .tb td { padding: 10px 6px; }
.tb tr:last-child td { border-bottom: 0; }
.tb td a { text-decoration: none; font-weight: 500; }
.tb td a:hover { color: var(--g-d); text-decoration: underline; text-underline-offset: 3px; }
.tb .num { text-align: right; font-variant-numeric: tabular-nums; }
.tb .nowrap { white-space: nowrap; }
.tb .ck { width: 32px; }
.tb input[type=checkbox] { accent-color: var(--g); width: 16px; height: 16px; }
b.topb { color: var(--red); border: 1px solid #F2B8B8; background: #FFF6F6; font-size: 10.5px; padding: 0 5px; border-radius: 3px; font-weight: 700; letter-spacing: .02em; vertical-align: 1px; margin-right: 2px; }
.src { color: var(--mut); border: 1px solid var(--line); border-radius: 3px; padding: 0 4px; font-size: 11px; }
.st { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 10px; white-space: nowrap; }
.st-draft { background: #EEF0F4; color: #4B5160; }
.st-review { background: #FFF2E2; color: var(--warn); }
.st-approved { background: var(--g-l); color: var(--g-d); }
.st-hidden { background: #F2F3F5; color: #9AA0AA; }

/* 버튼·입력 */
button, .filters button, .acts button, .bulk button { background: var(--g); color: #fff; border: 1px solid var(--g); border-radius: 8px; padding: 9px 18px; font: inherit; font-weight: 600; cursor: pointer; transition: background .15s; }
button:hover { background: var(--g-d); border-color: var(--g-d); }
button.sub { background: #fff; color: var(--fg); border: 1px solid #CDD2DC; }
button.sub:hover { background: var(--g-ll); border-color: var(--g-line); color: var(--g-dd); }
button.sm { padding: 4px 11px; font-size: 13px; font-weight: 500; }
input, select, textarea { font: inherit; border: 1px solid #CDD2DC; border-radius: 8px; padding: 8px 11px; background: #fff; color: var(--fg); max-width: 100%; }
input::placeholder, textarea::placeholder { color: #A3A8B4; }
input:focus, select:focus, textarea:focus, .ed:focus { outline: 3px solid rgba(20, 44, 103, .16); border-color: var(--g); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 16px; padding: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--sh); }
.filters input:not([type=checkbox]) { flex: 1 1 200px; min-width: 0; }
.filters button { margin-left: auto; }
.chk { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.chk input { accent-color: var(--g); }
.inl { display: inline-flex; gap: 6px; margin: 0; align-items: center; }
.bulk { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 12px; font-size: 14px; color: var(--mut); }
.pager { display: flex; justify-content: center; gap: 4px; margin: 22px 0; flex-wrap: wrap; }
.pager a, .pager span { min-width: 36px; text-align: center; padding: 6px 9px; border-radius: 8px; text-decoration: none; background: #fff; border: 1px solid var(--line); font-size: 14px; font-variant-numeric: tabular-nums; }
.pager a:hover { border-color: var(--g-line); color: var(--g-d); }
.pager .on { background: var(--g); color: #fff; border-color: var(--g); font-weight: 600; }

/* 기사 쓰기 · 넓은 본문 + 오른쪽 360px */
.write { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.wmain .box { padding: 22px 24px; }
.wside .box { padding: 16px 18px; margin-bottom: 14px; }
.wside .bh { margin-bottom: 12px; }
.wside .bh h2 { font-size: 15px; }
.wside .fl { margin-bottom: 12px; }
.acts-box .acts { margin-bottom: 0; }
.acts-box .acts button { flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: 5px; }
.acts-box .acts.sm { margin-top: 8px; }
.acts-box .acts.sm button { flex: none; }
.ai-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 10px 12px; background: var(--g-ll); border: 1px dashed var(--g-line); border-radius: 8px; margin: -4px 0 16px; }
.ai-t { display: inline-flex; align-items: center; gap: 5px; font-size: 13.5px; font-weight: 700; color: var(--g-dd); margin-right: 4px; }
.ai-t .ic { color: var(--g); width: 16px; height: 16px; }
.ai-row button[disabled] { opacity: .55; cursor: not-allowed; }
.ai-row small { margin-left: auto; font-size: 12px; }
.tags { display: flex; flex-wrap: wrap; gap: 5px; margin: -4px 0 4px; }
.tags span { font-size: 12.5px; color: var(--g-d); background: var(--g-l); border-radius: 4px; padding: 1px 7px; }
.sched-n { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #1F5FBF; background: #E8F0FE; border-radius: 6px; padding: 7px 10px; margin: -4px 0 12px; }
.sched-n .ic { width: 15px; height: 15px; }
.thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.thumbs .empty { grid-column: 1 / -1; }
.tpick { position: relative; padding: 0; background: #fff; border: 2px solid var(--line); border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 3; cursor: pointer; }
.tpick:hover { background: #fff; border-color: var(--g-line); }
.tpick img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tpick.on { border-color: var(--g); }
.tpick span { position: absolute; left: 4px; top: 4px; background: var(--g); color: #fff; font-size: 11px; font-weight: 700; padding: 0 6px; border-radius: 3px; }
.meta-box dl, .kv { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 14px; margin: 0; font-size: 14px; }
.meta-box dt, .kv dt { color: var(--mut); }
.meta-box dd, .kv dd { margin: 0; overflow-wrap: anywhere; }
.kv dd a { color: var(--g-d); }
/* 사진 보관함 창 */
.lib { width: min(1100px, calc(100vw - 32px)); max-height: calc(100vh - 48px); border: 0; border-radius: 14px; padding: 0; box-shadow: 0 24px 60px rgba(8, 20, 14, .3); }
.lib::backdrop { background: rgba(10, 20, 15, .45); }
.lib-h { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; z-index: 1; }
.lib-h h2 { display: flex; align-items: center; gap: 7px; font-size: 16px; margin: 0; }
.lib-h h2 .ic { color: var(--g); }
.lib-q { display: flex; gap: 6px; flex: 1; margin: 0; }
.lib-q input { flex: 1; min-width: 0; }
.lib-q button { display: inline-flex; align-items: center; gap: 4px; }
.lib-g { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; padding: 16px 18px; }
.lib-i { padding: 0; background: #fff; color: var(--fg); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; text-align: left; cursor: pointer; font-weight: 400; }
.lib-i:hover { background: #fff; border-color: var(--g); box-shadow: 0 0 0 2px var(--g-l); }
.lib-i img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: #F2F3F6; }
.lib-i span { display: block; padding: 6px 8px; font-size: 12.5px; color: var(--fg2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lib-f { display: flex; justify-content: center; padding: 0 18px 16px; }
/* 사진 보관함 화면 */
.up-f input[type=file] { flex: 1 1 200px; padding: 6px 8px; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.pcard { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: var(--sh); min-width: 0; }
.pcard .pimg { display: block; aspect-ratio: 4 / 3; background: #F2F3F6; }
.pcard .pimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pcard figcaption { padding: 8px 10px 10px; display: grid; gap: 4px; }
.cap-f { display: flex; gap: 4px; margin: 0; }
.cap-f input { flex: 1; min-width: 0; padding: 5px 8px; font-size: 13px; }
.pcard small a { color: var(--g-d); text-decoration: none; }
/* 섹션 */
.secs { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 16px; align-items: start; }
.secs .box { margin: 0; }
.sec-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--line2); margin: 0 0 8px; }
.sec-top input[name=name] { flex: 1 1 140px; font-weight: 700; font-size: 16px; }
.sec-top .sm-l { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--mut); }
.sec-top .sm-l input { width: 64px; padding: 5px 7px; }
.secs code { font-size: 11.5px; color: #8A909C; background: #F2F3F6; border-radius: 4px; padding: 1px 5px; font-family: ui-monospace, Consolas, monospace; }
.sec-subs { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.sec-subs .inl { width: 100%; }
.sec-subs input[name=name] { flex: 1; min-width: 0; padding: 5px 8px; font-size: 14px; }
.bslots { display: grid; grid-template-columns: repeat(auto-fill, minmax(520px, 1fr)); gap: 0 16px; }
/* 미리보기 창 */
.pv-pg { background: #fff; display: block; }
.pv-bar { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 0; padding: 10px 16px; background: var(--g); color: #fff; font-size: 14px; font-weight: 600; position: sticky; top: 0; }
.pv { max-width: 780px; margin: 0 auto; padding: 40px 16px 80px; }
.pv-k { color: var(--g-d); font-weight: 700; font-size: 14px; }
.pv h1 { font-size: 32px; line-height: 1.35; letter-spacing: -.03em; margin: 8px 0 14px; text-wrap: balance; }
.pv-sub { border-left: 0; background: #F7F8FA; border-radius: 8px; padding: 12px 16px; margin-bottom: 14px; }
.pv-sub p { margin: 0; font-weight: 600; color: var(--fg2); }
.pv-by { font-size: 14px; color: var(--mut); padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.pv-body { font-size: 17.5px; line-height: 1.9; }
.pv-body p { margin: 0 0 1.25em; }
.pv-body img { max-width: 100%; height: auto; display: block; margin: 0 auto; }
.pv-body figure { margin: 1.6em 0; }
.pv-body figcaption { font-size: 14px; color: var(--mut); margin-top: 8px; text-align: center; }
.pv-body blockquote { margin: 1.2em 0; padding: 14px 18px; background: #F7F8FA; border-radius: 8px; }
.pv-copy { font-size: 13px; color: var(--mut); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 30px; }

/* 기사 쓰기 (기본) */
.fl { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; margin-bottom: 16px; color: var(--fg2); }
.fl small { font-weight: 400; color: var(--mut); }
.fl .cc { margin-left: auto; }
.fl:has(.cc) { position: relative; }
.cc.warn { color: var(--warn); }
.fl input, .fl select, .fl textarea { font-weight: 400; width: 100%; color: var(--fg); }
#title { font-size: 21px; font-weight: 700; padding: 11px 13px; letter-spacing: -.02em; }
.ed-bar { display: flex; flex-wrap: wrap; gap: 4px; padding: 7px; background: #F7F8FA; border: 1px solid #CDD2DC; border-bottom: 0; border-radius: 8px 8px 0 0; font-weight: 400; }
.ed-bar button, .ed-bar .up { background: #fff; color: var(--fg); border: 1px solid #DCDFE6; border-radius: 6px; padding: 4px 10px; font-size: 13.5px; font-weight: 500; cursor: pointer; }
.ed-bar button:hover, .ed-bar .up:hover { background: var(--g-ll); border-color: var(--g-line); color: var(--g-dd); }
.ed-bar button.on { background: var(--g); border-color: var(--g); color: #fff; }
.ed-bar .up.busy { opacity: .5; pointer-events: none; }
.ed-bar .sep { width: 1px; background: #DCDFE6; margin: 2px 4px; }
.ed, .ed-html { min-height: 460px; background: #fff; border: 1px solid #CDD2DC; border-radius: 0 0 8px 8px; padding: 20px 22px; font-weight: 400; font-size: 16.5px; line-height: 1.85; color: var(--fg); overflow-wrap: anywhere; }
.ed-html { font-family: ui-monospace, Consolas, monospace; font-size: 13px; line-height: 1.5; width: 100%; }
.ed p { margin: 0 0 1em; }
.ed h2, .ed h3 { font-size: 18px; margin: 1.4em 0 .6em; }
.ed blockquote { margin: 1em 0; padding: 12px 16px; background: var(--g-ll); border-radius: 8px; color: var(--fg2); }
.ed figure { margin: 1.2em 0; }
.ed img { max-width: 100%; height: auto; display: block; }
.ed figcaption { font-size: 13.5px; color: var(--mut); margin-top: 6px; }
.wside { position: sticky; top: 124px; max-height: calc(100vh - 136px); overflow-y: auto; scrollbar-width: thin; }
.acts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; margin-bottom: 12px; }
.narrow { max-width: 440px; }

/* 로그인 */
.login-pg { display: grid; place-items: center end; padding-right: max(16px, 9vw) !important; min-height: 100vh; min-height: 100dvh; padding: 24px 16px; background: #3B4370 url(/img/login_bg.jpg) center / cover no-repeat; overflow: hidden; }
.login-bg { position: fixed; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; pointer-events: none; }
.login-pg::before { content: ""; position: fixed; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(14, 20, 48, .10), rgba(14, 20, 48, .38)); pointer-events: none; }
.login { position: relative; z-index: 1; width: 100%; max-width: 400px; background: #fff; border-radius: 16px; box-shadow: 0 20px 50px rgba(8, 12, 32, .35), 0 2px 8px rgba(8, 12, 32, .12); padding: 34px 30px 26px; display: flex; flex-direction: column; gap: 12px; }
.login img { width: 176px; height: auto; margin: 0 auto 2px; }
.login h1 { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 18px; font-weight: 700; margin: 0 0 10px; color: var(--fg); }
.login h1 .ic { color: var(--g); }
.login .sso { display: flex; align-items: center; justify-content: center; gap: 9px; height: 50px; border-radius: 10px; font-size: 15.5px; font-weight: 600; text-decoration: none; transition: filter .15s; }
.login .sso svg { width: 20px; height: 20px; flex: none; }
.login .kakao { background: #FEE500; color: #191919; }
.login .google { background: #fff; color: #1f1f1f; border: 1px solid #DADCE0; }
.login .sso:hover { filter: brightness(.96); }
.login .pwf { display: flex; gap: 8px; margin-top: 2px; }
.login .pwf input { flex: 1; min-width: 0; height: 44px; border: 1px solid #DADCE0; border-radius: 10px; padding: 0 12px; font: inherit; font-size: 14.5px; }
.login .pwf input:focus { outline: 2px solid var(--g); outline-offset: 0; border-color: var(--g); }
.login .pwf button { height: 44px; padding: 0 16px; border: 0; border-radius: 10px; background: var(--g); color: #fff; font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; }
.login .pwf button:hover { background: var(--g-d); }
.login .note { border: 0; border-top: 1px solid var(--line2); border-radius: 0; background: none; padding: 14px 0 0; margin: 6px 0 0; color: var(--mut); font-size: 12.5px; line-height: 1.55; justify-content: center; text-align: center; }
.login .foot { text-align: center; font-size: 12px; color: #A3A8B4; margin: 0; }

/* 계정 */
.users-tb input { padding: 6px 9px; font-size: 14px; }

@media (max-width: 1400px) {
	.kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.bslots { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1000px) {
	.kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.cols, .write, .grid3, .grid2w { grid-template-columns: minmax(0, 1fr); }
	.grid3 > .span2 { grid-column: auto; }
	.wside { position: static; max-height: none; overflow: visible; }
	.rank { columns: 1; }
	.secs { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
	.wrap { padding-left: max(14px, env(safe-area-inset-left)); padding-right: max(14px, env(safe-area-inset-right)); }
	.top .in, .menu .in, .cfoot .in { padding-left: max(14px, env(safe-area-inset-left)); padding-right: max(14px, env(safe-area-inset-right)); }
	.top-t, .menu .new span { display: none; }
	.menu { top: 52px; }
	.menu .in { height: 46px; }
	.menu .tabs a { padding: 0 10px; font-size: 14px; }
	.menu .tabs { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
	.bars { gap: 3px; height: 140px; }
	.bar span { font-size: 9.5px; }
	.filters .dr input { width: 132px; }
	.top .in { gap: 10px; height: 52px; }
	.brand b, .me .site span, .me > a:not(.site) small, .me .who small { display: none; }
	.me { gap: 10px; }
	.me .who, .me > a:not(.site) { max-width: 64px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	.tabs { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
	.tabs a { padding: 0 9px; font-size: 14px; }
	.wrap { padding-top: 18px; }
	.kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.kpi { padding: 13px 14px; }
	.kpi b { font-size: 23px; }
	.box { padding: 14px 15px; }
	.m-hide { display: none; }
	.ph { font-size: 19px; }
	.ed, .ed-html { min-height: 320px; padding: 14px; font-size: 16px; }
	.filters button { margin-left: 0; }
	.login { padding: 28px 22px 22px; }
	.login-pg { place-items: center; padding-right: 16px !important; }
}

/* 배너 */
.bgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0 16px; }
.bthumb { width: 130px; }
.bthumb img { max-width: 120px; max-height: 60px; display: block; border: 1px solid var(--line); border-radius: 4px; }
.bh h2 small { font-weight: 400; font-size: 12.5px; color: var(--mut); }
/* 웍스 매뉴얼 (대표 11/23) · 차별화 기능 카드 · 순서 · 자주 묻는 것 */
.mf { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.mf-c { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; background: var(--g-ll); min-width: 0; }
.mf-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mf-h b { font-size: 15px; font-weight: 700; letter-spacing: -.01em; flex: 1; min-width: 0; }
.mf-i { width: 30px; height: 30px; border-radius: 8px; background: var(--g); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.mf-i .ic { width: 17px; height: 17px; }
.mf-c p { margin: 8px 0 0; font-size: 13.5px; line-height: 1.65; color: var(--fg2); }
.mstep { margin: 0; padding: 0; list-style: none; counter-reset: ms; display: grid; gap: 10px; }
.mstep li { counter-increment: ms; display: grid; grid-template-columns: 26px 1fr; gap: 0 10px; font-size: 14px; line-height: 1.6; color: var(--fg2); }
.mstep li::before { content: counter(ms); grid-row: span 2; width: 24px; height: 24px; border-radius: 50%; background: var(--g); color: #fff; font-size: 12.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.mstep li b { color: var(--fg); font-weight: 700; }
.mfaq dt { font-weight: 700; }
.kv.mfaq { grid-template-columns: minmax(0, 1fr); gap: 2px; } .kv.mfaq dt { color: var(--fg); margin-top: 8px; } .kv.mfaq dt:first-child { margin-top: 0; } .kv.mfaq dd { color: var(--fg2); font-size: 13.5px; line-height: 1.65; }

/* ===== 11/23 로그아웃 아이콘 (대표 "로그아웃도 아이콘으로 심플하게") ===== */
.me .lo-btn { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: #fff; opacity: .85; }
.me .lo-btn:hover { background: rgba(255, 255, 255, .12); opacity: 1; }
.me .lo-btn .ic { width: 19px; height: 19px; }

/* ===== 11/23 로그인 모션 · 인슈라넷 방식 ===== */
.login-bg { animation: lgKen 36s ease-in-out infinite alternate; transform-origin: 60% 40%; }
@keyframes lgKen { from { transform: scale(1); } to { transform: scale(1.1) translate(-1.5%, -1%); } }
.lg-orbs { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.lg-orbs i { position: absolute; width: 46vmax; height: 46vmax; border-radius: 50%; filter: blur(70px); mix-blend-mode: screen; }
.lg-orbs i:nth-child(1) { background: #2A4DB0; opacity: .38; left: -16vmax; top: -18vmax; animation: lgOrb1 24s ease-in-out infinite alternate; }
.lg-orbs i:nth-child(2) { background: #142C67; opacity: .5; right: -14vmax; bottom: -20vmax; animation: lgOrb2 28s ease-in-out infinite alternate; }
.lg-orbs i:nth-child(3) { background: #F26532; opacity: .14; left: 30vw; top: 40vh; width: 26vmax; height: 26vmax; animation: lgOrb1 32s ease-in-out -8s infinite alternate; }
@keyframes lgOrb1 { to { transform: translate(18vmax, 12vmax) scale(1.15); } }
@keyframes lgOrb2 { to { transform: translate(-16vmax, -10vmax) scale(.9); } }
.lg-dust { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.lg-hero { position: fixed; z-index: 1; left: max(24px, 8vw); top: 50%; transform: translateY(-50%); max-width: min(46vw, 640px); color: #fff; pointer-events: none; }
.lg-eye { margin: 0 0 18px; font-size: 13px; font-weight: 500; letter-spacing: .42em; color: rgba(255, 255, 255, .72); animation: lgRise .9s cubic-bezier(.2, .7, .2, 1) .15s both; }
.lg-hero h2 { position: relative; margin: 0; display: flex; flex-direction: column; gap: 14px; font-weight: 800; letter-spacing: -.02em; line-height: 1.12; text-shadow: 0 4px 30px rgba(6, 10, 30, .35); }
.lg-hero .ln { display: inline-block; white-space: nowrap; }
.lg-hero span.ln { font-size: clamp(34px, 4.4vw, 64px); animation: lgRise 1s cubic-bezier(.2, .7, .2, 1) .35s both; }
.lg-hero span.ln.cx { animation: none; perspective: 600px; }
.lg-hero .cx .c { display: inline-block; white-space: pre; transform-origin: 50% 100%; animation: lgCx .9s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(var(--c) * 45ms + var(--l) * 260ms + 350ms); }
.lg-hero em.ln { font-style: normal; font-size: clamp(20px, 2.1vw, 30px); font-weight: 700; background: linear-gradient(90deg, #A9C1FF, #FFFFFF, #FFC2A8, #A9C1FF); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; animation: lgEm 1.4s cubic-bezier(.16, 1, .3, 1) 1.3s both, lgShine 5s linear 2.7s infinite; }
.lg-hero h2::after { content: ""; position: absolute; left: 0; bottom: -18px; height: 3px; width: 72%; border-radius: 3px; background: linear-gradient(90deg, transparent, #F26532, #A9C1FF, transparent); transform: scaleX(0); transform-origin: left; animation: lgLine 1.2s cubic-bezier(.65, 0, .35, 1) 2.3s forwards; }
.login { animation: lgRise .9s cubic-bezier(.2, .7, .2, 1) .6s both; }
@keyframes lgRise { from { opacity: 0; transform: translateY(26px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes lgCx { from { opacity: 0; transform: translateY(.55em) rotateX(-80deg) scale(.9); filter: blur(10px); } 60% { opacity: 1; filter: blur(0); } to { opacity: 1; transform: none; filter: none; } }
@keyframes lgEm { from { opacity: 0; letter-spacing: .3em; filter: blur(14px); transform: scale(1.06); } to { opacity: 1; letter-spacing: inherit; filter: none; transform: none; } }
@keyframes lgShine { to { background-position: -200% 0; } }
@keyframes lgLine { to { transform: scaleX(1); } }
.lg-still .login-bg, .lg-still .lg-orbs i, .lg-still .lg-hero *, .lg-still .login, .lg-still .lg-hero h2::after { animation: none !important; }
.lg-still .lg-hero h2::after { transform: none; }
@media (prefers-reduced-motion: reduce) { .login-bg, .lg-orbs i, .lg-hero *, .login, .lg-eye { animation: none !important; } .lg-hero h2::after { animation: none; transform: none; } }
@media (max-width: 900px) {
	.login-pg { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 26px; }
	.lg-hero { position: relative; left: auto; top: auto; transform: none; max-width: 400px; width: 100%; text-align: center; }
	.lg-hero h2 { align-items: center; gap: 10px; }
	.lg-hero span.ln { font-size: 30px; }
	.lg-hero em.ln { font-size: 16.5px; white-space: normal; }
	.lg-hero h2::after { left: 14%; width: 72%; bottom: -12px; }
	.lg-eye { font-size: 11px; margin-bottom: 12px; }
}

/* ===== 11/23 설정 · 왼쪽 사이트 정보·기능 상태 / 오른쪽 포털 전송·API ===== */
.set-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 16px; align-items: start; }
.set-l, .set-r { min-width: 0; }
.pcs { scroll-margin-top: 90px; margin-bottom: 16px; }
.pcs-note { margin: 0 0 4px; font-size: 13px; color: var(--mut); line-height: 1.6; } .pcs-note b { color: var(--fg); }
.pc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; margin: 12px 0 4px; }
.pc-card { display: flex; flex-direction: column; border: 1px solid #E2E5EC; border-radius: 14px; background: #fff; overflow: hidden; min-width: 0; }
.pc-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid #EEF0F4; background: #FAFBFC; }
.pc-head > div:not(.pc-chips) { flex: 1; min-width: 0; }
.pc-head img { width: 40px; height: 40px; border-radius: 10px; flex: none; background: #fff; border: 1px solid #E2E5EC; padding: 4px; box-sizing: border-box; }
.pc-head h3 { margin: 0; font-size: 17px; font-weight: 800; }
.pc-head p { margin: 2px 0 0; font-size: 12.5px; color: var(--mut); line-height: 1.5; }
.pc-logo { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; color: #fff; font-weight: 800; font-size: 17px; }
.pc-logo.ai { background: #14171F; } .pc-logo.ai svg { width: 22px; height: 22px; }
.pc-logo.n { background: #03C75A; } .pc-logo.k { background: #FEE500; color: #191919; } .pc-logo.g { background: #4285F4; }
.pc-chips { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.pc-chip { font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: #EEF0F4; color: #5D6478; white-space: nowrap; }
.pc-chip.ok { background: #E6F4EE; color: #1F6B5C; } .pc-chip.warn { background: #FFF4E0; color: #A35B00; } .pc-chip.off { background: #F0F1F4; color: #8A90A0; } .pc-chip.live { background: #FDECEB; color: #CC3A31; }
.pc-body { padding: 14px 18px; display: grid; gap: 10px; flex: 1; align-content: start; }
.pc-body label, .fm label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 700; color: var(--mut); min-width: 0; }
.pc-body input:not([type=checkbox]), .pc-body select, .fm input, .fm select, .fm textarea { height: 38px; border: 1px solid #CDD2DC; border-radius: 8px; padding: 0 10px; font: inherit; font-size: 14px; font-weight: 400; color: var(--fg); background: #fff; min-width: 0; width: 100%; box-sizing: border-box; }
.fm textarea { height: auto; padding: 8px 10px; resize: vertical; }
.pc-body .pc-pw input { border-color: #E9483F; background: #FFFBFA; }
.pc-body input:focus, .pc-body select:focus, .fm input:focus, .fm select:focus, .fm textarea:focus { outline: 2px solid var(--g); outline-offset: -1px; border-color: var(--g); }
.pc-body label.chk { flex-direction: row; align-items: center; gap: 6px; font-weight: 600; color: var(--fg); }
.pc-body label.chk em { font-style: normal; font-weight: 500; color: var(--mut); font-size: 12px; }
.pc-more summary { cursor: pointer; font-size: 13px; font-weight: 700; color: var(--mut); } .pc-more summary em { font-style: normal; font-weight: 500; }
.pc-more[open] { display: grid; gap: 10px; } .pc-more button { justify-self: end; }
.pc-foot { display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding: 12px 18px; border-top: 1px solid #EEF0F4; }
.pc-note { font-size: 12.5px; color: var(--mut); margin: 0; margin-right: auto; line-height: 1.5; }
.pc-foot button, .pcs-save button { display: inline-flex; align-items: center; gap: 6px; }
.pcs-save { display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding-top: 8px; }

/* ===== 11/23 주요일정 ===== */
a.sub { display: inline-flex; align-items: center; gap: 5px; background: #fff; color: var(--fg); border: 1px solid #CDD2DC; border-radius: 8px; padding: 9px 16px; font-weight: 600; text-decoration: none; }
a.sub.sm { padding: 4px 11px; font-size: 13px; font-weight: 500; }
a.sub:hover { background: var(--g-ll); border-color: var(--g-line); color: var(--g-dd); }
.cal-nav { display: flex; gap: 6px; }
.sch { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
.sch-side { min-width: 0; }
.cal-box { padding: 10px; overflow-x: auto; }
.cal { width: 100%; min-width: 640px; border-collapse: collapse; table-layout: fixed; }
.cal th { font-size: 12.5px; font-weight: 600; color: var(--mut); padding: 6px 4px 8px; text-align: left; }
.cal th.we { color: #C2410C; }
.cal td { vertical-align: top; height: 104px; border: 1px solid var(--line2); padding: 4px 5px; }
.cal td.out { background: #F8F9FB; } .cal td.out .cal-d { color: #B4BAC6; }
.cal td.today { background: var(--g-l); }
.cal-d { display: inline-block; font-size: 13px; font-weight: 700; color: var(--fg); text-decoration: none; padding: 1px 5px; border-radius: 6px; margin-bottom: 3px; }
.cal-d:hover { background: var(--g-ll); }
.cal td.today .cal-d { background: var(--g); color: #fff; }
.cal td.we:not(.out) .cal-d { color: #C2410C; } .cal td.today.we .cal-d { color: #fff; }
.cal-e { display: block; font-size: 12px; line-height: 1.35; padding: 2px 5px; margin-bottom: 2px; border-radius: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: #E8EDF7; color: #142C67; }
.cal-e b { font-weight: 600; }
.cal-more { font-size: 11.5px; color: var(--mut); }
.k-1 { background: #FDECE4 !important; color: #9A3412 !important; } .k-2 { background: #E7F1FB !important; color: #1E4E8C !important; } .k-3 { background: #FDE8E8 !important; color: #A61B1B !important; } .k-4 { background: #E9F6EE !important; color: #166534 !important; } .k-5 { background: #EEF0F3 !important; color: #4B5563 !important; }
.fm { display: flex; flex-direction: column; gap: 10px; }
.fm2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fm-act { display: flex; justify-content: flex-end; margin: 2px 0 0; }
.fm-act button { display: inline-flex; align-items: center; gap: 6px; }
.fm-row { flex-direction: row; flex-wrap: wrap; align-items: flex-end; }
.fm-row label { flex: 1 1 150px; } .fm-row label.wide { flex: 3 1 300px; } .fm-row .fm-act { flex: none; margin: 0; }
.sch-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.sch-list li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--line2); }
.sch-list li:first-child { border-top: 0; }
.sl-d { flex: none; width: 46px; font-weight: 700; font-size: 14px; } .sl-d small { color: var(--mut); font-weight: 500; }
.sl-b { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; }
.sl-b small { font-size: 12px; color: var(--mut); }
.cal-k { display: inline-block; font-size: 11px; font-weight: 600; padding: 1px 6px; border-radius: 5px; background: #E8EDF7; color: #142C67; vertical-align: 1px; }

/* ===== 11/23 보도자료 ===== */
.press-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0 0 12px; font-size: 14px; }
.press-tabs > a { color: var(--mut); text-decoration: none; font-weight: 600; }
.press-tabs > a.on { color: var(--g); }
.press-tabs > span { color: #CDD2DC; }
.press-depts { display: flex; flex-wrap: wrap; gap: 6px; margin-left: 10px; }
.press-depts a { font-size: 12.5px; color: var(--fg); text-decoration: none; border: 1px solid var(--line); background: var(--card); padding: 3px 9px; border-radius: 7px; }
.press-depts a.on { background: var(--g); border-color: var(--g); color: #fff; }
.press-depts small { color: var(--mut); }
.press-list { list-style: none; margin: 0; padding: 0; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--sh); }
.press-list li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 18px; border-top: 1px solid var(--line2); }
.press-list li:first-child { border-top: 0; }
.pr-m { flex: none; width: 120px; display: flex; flex-direction: column; gap: 3px; font-size: 12.5px; }
.pr-d { color: var(--mut); } .pr-dept { font-weight: 600; color: var(--g-dd); }
.pr-b { flex: 1; min-width: 0; }
.pr-t { font-size: 15px; font-weight: 700; color: var(--fg); text-decoration: none; line-height: 1.4; }
.pr-t:hover { color: var(--g); text-decoration: underline; }
.pr-b p { margin: 5px 0 0; font-size: 13px; color: var(--mut); line-height: 1.55; }
.pr-f { display: flex; flex-wrap: wrap; gap: 6px 12px; }
.pr-f a { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--g-d); text-decoration: none; }
.pr-f a .ic { width: 13px; height: 13px; transform: rotate(180deg); }
.pr-w { flex: none; }
@media (max-width: 1100px) { .set-grid, .sch { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
	.pc-grid { grid-template-columns: minmax(0, 1fr); }
	.press-list li { flex-direction: column; gap: 6px; } .pr-m { width: auto; flex-direction: row; gap: 8px; }
	.press-depts { margin-left: 0; }
}
/* 상단: 글자 제호 '중기이코노미·WORKS' + 오른쪽 끝 묶음(사이트 보기·이름·톱니바퀴·로그아웃) (대표 11/23) */
.brand .wm { font-size: 18px; font-weight: 800; letter-spacing: -.02em; color: #fff; line-height: 1; white-space: nowrap; }
.brand .wm i { font-style: normal; font-weight: 500; opacity: .7; margin: 0 3px; }
.top .me { margin-left: auto; }
.me a.lo-btn { display: grid; place-items: center; }
.me a.lo-btn.on { background: rgba(255, 255, 255, .16); opacity: 1; }
@media (max-width: 640px) { .brand .wm { font-size: 16px; } }
/* 군청 상단 관리 메뉴 GEO ㅣ 전자결재 ㅣ 취재원 ㅣ 매출관리 · 글자+ㅣ (대표 11/25) */
.top .tmenu { margin-left: auto; display: flex; align-items: center; gap: 2px; white-space: nowrap; }
.top .tmenu a { color: rgba(255, 255, 255, .82); text-decoration: none; font-size: 14px; font-weight: 600; padding: 6px 8px; border-radius: 6px; }
.top .tmenu a:hover, .top .tmenu a.on { color: #fff; background: rgba(255, 255, 255, .12); }
.top .tmenu i { font-style: normal; color: rgba(255, 255, 255, .35); font-size: 13px; }
.top .tmenu + .me { margin-left: 18px; }
@media (max-width: 900px) { .top .tmenu { display: none; } .top .tmenu + .me { margin-left: auto; } }

/* 대시보드 기자 단추 · 베이비뉴스 웍스 '오늘 근무' 단추처럼 (대표 11/23) */
.rp-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.rp-pill { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 13px 0 11px; border: 1px solid var(--line, #E1E5EC); border-radius: 8px; background: #fff; color: inherit; text-decoration: none; font-size: 13.5px; transition: border-color .15s, background .15s; }
.rp-pill i { width: 7px; height: 7px; border-radius: 50%; background: #C5CBD6; flex: none; }
.rp-pill.on i { background: #2EAD6B; }
.rp-pill b { font-weight: 600; }
.rp-pill small { color: var(--mut, #6B7280); font-size: 12px; }
.rp-pill:hover { border-color: var(--g, #142C67); background: #F5F7FB; }
.rp-pill.on small { color: var(--g, #142C67); font-weight: 600; }
.menu .tabs a.mo-only { display: none; }
@media (max-width: 900px) { .menu .tabs a.mo-only { display: inline-flex; } }

/* 배너 화면 정렬 (대표 11/25) · 입력칸 높이·아래줄 맞춤, 자리별 표는 한 줄씩 넓게, 칸 너비 고정 */
.bgrid { align-items: end; }
.bgrid .fl { justify-content: flex-end; }
.bgrid .fl > :is(input, select) { height: 40px; box-sizing: border-box; }
.bgrid .fl input[type=file] { padding: 7px 8px; }
.bslots { grid-template-columns: minmax(0, 1fr); }
.bslots .tbw { border: 0; box-shadow: none; border-radius: 0; }
.bslots .tb { table-layout: fixed; }
.bslots .tb td:nth-child(1) { width: 140px; }
.bslots .tb td:nth-child(3) { width: 120px; }
.bslots .tb td:nth-child(4) { width: 110px; text-align: right; }
.bslots .tb td:nth-child(5) { width: 72px; text-align: center; }
.bslots .tb td:nth-child(6) { width: 92px; text-align: right; }
.bslots .tb td:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bthumb img { width: 120px; height: 56px; object-fit: contain; background: #F7F8FA; }
@media (max-width: 760px) { .bslots .tb td:nth-child(1) { width: 96px; } .bthumb img { width: 84px; height: 44px; } .bslots .tb td:nth-child(5), .bslots .tb td:nth-child(6) { width: auto; } }
.wr-c { display: flex; align-items: center; gap: 6px; font-size: 13.5px; margin: 4px 0 8px; } .wr-c input { width: auto; }

/* 제호 글자 모션 (대표 11/25 "글자 모션줘") · 한 글자씩 올라오고, 6초마다 빛이 한 번 지나감 */
.brand .wm { position: relative; display: inline-flex; overflow: hidden; padding: 2px 0; }
.brand .wm .c { display: inline-block; animation: wmUp .55s cubic-bezier(.2, .8, .2, 1.2) both; animation-delay: calc(var(--i) * 45ms); }
.brand .wm .c.d { font-weight: 500; opacity: .7; margin: 0 4px; }
.brand .wm::after { content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-20deg); animation: wmSheen 6s ease-in-out 1.2s infinite; pointer-events: none; }
.brand:hover .wm .c { animation: wmHop .4s ease both; animation-delay: calc(var(--i) * 25ms); }
@keyframes wmUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes wmHop { 0%, 100% { transform: none; } 45% { transform: translateY(-3px); } }
@keyframes wmSheen { 0% { left: -40%; } 22%, 100% { left: 120%; } }
@media (prefers-reduced-motion: reduce) { .brand .wm .c, .brand .wm::after { animation: none !important; } }

/* MY PAGE (대표 11/25 "베이비뉴스처럼 MY PAGE") */
.me .mypg { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; font-size: 12.5px; letter-spacing: .06em; padding: 5px 10px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 6px; white-space: nowrap; }
.me .mypg.on, .me .mypg:hover { background: rgba(255, 255, 255, .14); }
.me .myb { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #F26532; color: #fff; font-size: 11px; letter-spacing: 0; display: inline-grid; place-items: center; }
.my-sum { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin: 0 0 16px; }
.my-sum a { background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--sh); padding: 14px 16px; text-decoration: none; color: var(--fg); display: flex; flex-direction: column; gap: 6px; transition: transform .15s, border-color .15s; }
.my-sum a:hover { transform: translateY(-2px); border-color: var(--g); }
.my-sum small { display: flex; align-items: center; gap: 5px; color: var(--mut); font-size: 12.5px; white-space: nowrap; }
.my-sum small .ic { width: 15px; height: 15px; color: var(--g); }
.my-sum b { font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1; }
.my-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.my-list { list-style: none; margin: 0; padding: 0; }
.my-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line2); font-size: 14px; }
.my-list li:first-child { border-top: 0; }
.my-list li > a { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-decoration: none; color: var(--fg); font-weight: 500; }
.my-list li > a:hover { color: var(--g-d); text-decoration: underline; text-underline-offset: 3px; }
.my-meta { display: flex; align-items: center; gap: 8px; flex: none; font-size: 12.5px; color: var(--mut); }
.my-today { color: #D95F0E; font-weight: 700; }
.my-sub { margin: 12px 0 4px; font-size: 12.5px; color: var(--mut); font-weight: 600; }
.my-conv li > a { white-space: normal; }
.my-n { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #F26532; color: #fff; font-size: 11px; font-weight: 700; }
.my-thread { max-height: 360px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding: 6px 2px 10px; }
.my-bub { max-width: 82%; align-self: flex-start; }
.my-bub p { margin: 0; padding: 9px 12px; border-radius: 12px 12px 12px 4px; background: #F1F3F6; font-size: 14px; line-height: 1.55; word-break: keep-all; overflow-wrap: anywhere; }
.my-bub small { display: block; margin: 3px 4px 0; font-size: 11.5px; color: var(--mut); }
.my-bub.me { align-self: flex-end; text-align: right; }
.my-bub.me p { background: var(--g); color: #fff; border-radius: 12px 12px 4px 12px; text-align: left; }
.my-send { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line2); }
.my-send select { grid-column: 1 / -1; height: 38px; }
.my-send textarea { resize: vertical; min-height: 44px; }
.my-send button { align-self: stretch; display: inline-flex; align-items: center; gap: 5px; }
.my-cal li { justify-content: flex-start; align-items: flex-start; }
.my-cal li.mine .my-ct { font-weight: 600; }
.my-day { flex: none; width: 74px; font-size: 12.5px; color: var(--mut); display: flex; flex-direction: column; }
.my-day b { color: var(--fg); font-size: 14px; font-variant-numeric: tabular-nums; }
.my-day.on { color: #D95F0E; font-weight: 700; }
.my-ct { min-width: 0; }
@media (max-width: 1100px) { .my-sum { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .my-grid { grid-template-columns: minmax(0, 1fr); } .my-sum { grid-template-columns: repeat(2, minmax(0, 1fr)); } .me .mypg { padding: 4px 7px; font-size: 11.5px; } }

/* WORKS ㅣ CMS 두 갈래 · 베이비뉴스 상단과 같게 (대표 11/29) */
.top .apps { display: flex; align-items: center; gap: 2px; margin-left: 18px; white-space: nowrap; }
.top .apps a { color: rgba(255, 255, 255, .7); text-decoration: none; font-size: 15px; font-weight: 700; letter-spacing: .02em; padding: 6px 10px; border-radius: 6px; }
.top .apps a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.top .apps a.on { color: #fff; box-shadow: inset 0 -2px 0 #fff; border-radius: 0; }
.top .apps i { font-style: normal; color: rgba(255, 255, 255, .35); font-size: 13px; }
.top .apps + .me { margin-left: auto; }
@media (max-width: 600px) { .top .apps { margin-left: 6px; } .top .apps a { font-size: 13px; padding: 5px 6px; } }
/* 탭 줄 (글자 + ㅣ, 둥근 버튼 금지) */
.mng-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; margin: 0 0 10px; font-size: 14px; }
.mng-tabs a { color: var(--mut); text-decoration: none; font-weight: 600; }
.mng-tabs a.on, .mng-tabs a:hover { color: var(--g-d); }
.mng-tabs a.on { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.mng-tabs .sep { color: #C5CAD3; }
.mng-tabs small { color: var(--mut); font-weight: 500; }
.ph-row .mng-tabs { margin: 0 0 0 auto; }
/* AGENT 요청 목록 */
.agq { list-style: none; margin: 0; padding: 0; }
.agq > li { border-bottom: 1px solid var(--line2); padding: 12px 2px; }
.agq > li:last-child { border-bottom: 0; }
.agq-h { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; }
.agq-h em { font-style: normal; font-size: 12px; color: var(--mut); }
.agq-h small { color: var(--mut); margin-left: auto; }
.agq p { margin: 6px 0 0; font-size: 14.5px; line-height: 1.6; overflow-wrap: anywhere; word-break: keep-all; }
.agq .agq-a { display: flex; gap: 6px; background: var(--g-ll); border-radius: 8px; padding: 8px 10px; }
.agq .agq-a .ic { flex: none; width: 16px; height: 16px; color: var(--g); margin-top: 3px; }
.agq .agq-a small { color: var(--mut); }
.agq-f { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.agq-f input { flex: 1 1 200px; min-width: 0; }
.agq.sm > li { padding: 8px 2px; }
.agq.sm p { font-size: 13.5px; }
/* 경영관리 막대 */
.bzb { position: relative; height: 14px; }
.bzb i { position: absolute; left: 0; top: 0; height: 7px; background: var(--g); border-radius: 2px; }
.bzb i.c { top: 7px; background: #F26532; }
/* 설정 · 서버·프로그램·DB·보안 (11/29) */
.inf-g { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.inf-c { border: 1px solid var(--line2); border-radius: 10px; padding: 14px 16px; background: var(--g-ll); min-width: 0; }
.inf-c h3 { display: flex; align-items: center; gap: 6px; margin: 0 0 10px; font-size: 15px; }
.inf-c h3 .ic { width: 17px; height: 17px; color: var(--g); }
.inf-c dl { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 8px 12px; margin: 0; font-size: 13.5px; }
.inf-c dt { color: var(--mut); font-weight: 600; }
.inf-c dd { margin: 0; word-break: keep-all; overflow-wrap: anywhere; line-height: 1.55; text-wrap: pretty; }
/* 엔디 이관 타임라인 */
.nd-rule { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 16px; padding: 0; font-size: 13.5px; font-weight: 600; color: var(--g-d); }
.nd-rule li { display: flex; align-items: center; gap: 5px; }
.nd-rule .ic { width: 15px; height: 15px; color: var(--g); }
.tl { list-style: none; margin: 0; padding: 0; position: relative; }
.tl::before { content: ""; position: absolute; left: 117px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.tl > li { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 0 36px; padding: 0 0 18px; position: relative; }
.tl > li::before { content: ""; position: absolute; left: 111px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 2px solid #B9C1CF; }
.tl > li.tl-done::before { background: var(--g); border-color: var(--g); }
.tl > li.tl-doing::before { background: #F26532; border-color: #F26532; }
.tl-w { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
.tl-w b { font-size: 14px; white-space: nowrap; }
.tl-b h3 { margin: 0 0 4px; font-size: 15px; }
.tl-b ul { margin: 0; padding-left: 18px; font-size: 13.5px; line-height: 1.7; color: #3A404C; word-break: keep-all; text-wrap: pretty; }
@media (max-width: 900px) { .inf-g { grid-template-columns: minmax(0, 1fr); } .inf-c dl { grid-template-columns: 86px minmax(0, 1fr); } .tl::before { left: 5px; } .tl > li { grid-template-columns: minmax(0, 1fr); padding-left: 24px; } .tl > li::before { left: 0; } .tl-w { flex-direction: row; align-items: center; text-align: left; margin-bottom: 4px; } }

/* 설정 탭 · 개발 SPEC 요약 · 연결 API 표 (대표 11/30) */
.set-tabs { margin: 0 0 16px; flex-wrap: wrap; }
.set-tabs a { display: inline-flex; align-items: center; gap: 6px; }
.set-tabs .ic { width: 15px; height: 15px; }
.spec-sum { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0 0 16px; }
.spec-sum div { border: 1px solid var(--line2); border-radius: 10px; padding: 10px 14px; min-width: 0; }
.spec-sum small { display: block; color: var(--mut); font-size: 12px; font-weight: 600; margin-bottom: 3px; }
.spec-sum b { display: block; font-size: 14.5px; word-break: keep-all; overflow-wrap: anywhere; }
.api-tb td { vertical-align: top; word-break: keep-all; overflow-wrap: anywhere; }
@media (max-width: 760px) { .spec-sum { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 설정 탭 항목 아이콘 (대표 11/30) */
.spec-sum div { display: flex; align-items: center; gap: 10px; }
.spec-sum .ss-i { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--g-ll); }
.spec-sum .ss-i .ic { width: 18px; height: 18px; color: var(--g); }
.spec-sum div > span:last-child { min-width: 0; }
.inf-c dt { display: flex; align-items: flex-start; gap: 5px; }
.inf-c dt .ic { flex: none; width: 14px; height: 14px; margin-top: 2px; color: var(--g); }
.api-tb .ti { display: inline-flex; align-items: center; gap: 6px; }
.api-tb .ti .ic { flex: none; width: 15px; height: 15px; color: var(--g); }
.tl-b h3 { display: flex; align-items: center; gap: 6px; }
.tl-b h3 .ic { flex: none; width: 16px; height: 16px; color: var(--g); }
.tl-b ul { padding-left: 0; }
.tl-b li { list-style: none; display: flex; align-items: flex-start; gap: 6px; }
.tl-b li .ic { flex: none; width: 14px; height: 14px; margin-top: 3px; color: var(--mut); }

.kv dt.dti { display: flex; align-items: flex-start; gap: 5px; }
.kv dt.dti .ic { flex: none; width: 14px; height: 14px; margin-top: 2px; color: var(--g); }
.set-grid .tb .ti { display: inline-flex; align-items: center; gap: 6px; }
.set-grid .tb .ti .ic { flex: none; width: 15px; height: 15px; color: var(--g); }

/* 공공기관 API 키 입력 (대표 11/30) */
.gk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gk-c { border: 1px solid var(--line2); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.gk-c:target { border-color: var(--g); box-shadow: 0 0 0 2px var(--g-ll); }
.gk-h { display: flex; align-items: center; gap: 6px; }
.gk-h .ic { flex: none; width: 15px; height: 15px; color: var(--g); }
.gk-h b { flex: 1; min-width: 0; font-size: 14px; }
.gk-c small { word-break: keep-all; overflow-wrap: anywhere; }
.gk-c input[type=password] { width: 100%; box-sizing: border-box; }
.gov-tb td:nth-child(4) { min-width: 220px; }
@media (max-width: 1100px) { .gk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .gk-grid { grid-template-columns: minmax(0, 1fr); } }

.spec-sum em { display: block; font-style: normal; font-size: 12.5px; color: var(--mut); line-height: 1.5; margin-top: 3px; word-break: keep-all; overflow-wrap: anywhere; }
.spec-sum div { align-items: flex-start; }

/* 로고 (대표 11/30) */
.lg { flex: none; width: 20px; height: 20px; object-fit: contain; border-radius: 4px; vertical-align: middle; }
.lg-t { display: inline-grid; place-items: center; background: var(--g-ll); color: var(--g); font-size: 11px; font-weight: 700; font-style: normal; }
.spec-sum .ss-lg { background: #fff; border: 1px solid var(--line2); gap: 2px; }
.spec-sum .ss-lg .lg { width: 22px; height: 22px; }
.spec-sum .ss-lg:has(.lg + .lg) { display: flex; width: auto; padding: 0 6px; }
.spec-sum .ss-lg:has(.lg + .lg) .lg { width: 18px; height: 18px; }
.gk-h .lg { width: 22px; height: 22px; }
.ver-h { display: flex; align-items: center; gap: 6px; margin: 4px 0 8px; font-size: 15px; }
.ver-h .ic { width: 16px; height: 16px; color: var(--g); }
.ver-h small { font-weight: 400; font-size: 12px; }
.ver-tb { margin-bottom: 16px; }

/* DB 구조 · Daily Check (대표 11/30) */
.db-g { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 10px; margin-bottom: 16px; }
.db-c { border: 1px solid var(--line2); border-radius: 8px; padding: 10px 12px; background: #fff; min-width: 0; }
.db-c.plan { border-style: dashed; }
.db-h { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.db-h code { font-size: 12px; color: var(--mut); }
.db-h .muted, .db-h .st { margin-left: auto; font-size: 12px; }
.db-cols { display: flex; flex-wrap: wrap; gap: 4px; }
.db-col { display: inline-flex; align-items: center; gap: 3px; font-size: 12.5px; padding: 2px 7px; border: 1px solid var(--line2); border-radius: 12px; }
.db-col i { font-style: normal; font-size: 11px; color: var(--mut); }
.db-col .ic { width: 12px; height: 12px; }
.db-col.pk { border-color: var(--g); }
.db-col.pii, .db-pii { color: #D95F0E; border-color: #F2C3A1; }
.db-pii { border: 1px solid #F2C3A1; border-radius: 10px; padding: 0 6px; font-size: 12px; margin: 0 4px; }
.geo-f { display: flex; flex-wrap: wrap; gap: 6px 16px; list-style: none; padding: 0; margin: 0 0 12px; }
.geo-f li { display: inline-flex; align-items: center; gap: 5px; }
.geo-f .ic { width: 15px; height: 15px; color: var(--g); }
.ck-strip { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 3px; margin-bottom: 16px; }
.ck-strip span { text-align: center; font-size: 11px; padding: 6px 0; border-radius: 4px; color: #fff; }
.ck-strip .ck-ok { background: #3C9A5F; } .ck-strip .ck-warn { background: #E0A800; } .ck-strip .ck-bad { background: #D93025; }
.ck-bad { color: #D93025; }
.ck-dl dd { overflow-wrap: anywhere; }
@media (max-width: 640px) { .ck-strip { grid-template-columns: repeat(12, minmax(0, 1fr)); } .db-g { grid-template-columns: 1fr; } }

/* AI 6곳 · MCP 진행 (대표 11/30) */
.ai6 { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.ai6-i { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--line2); border-radius: 20px; background: #fff; font-size: 13px; }
.ai6-i em { font-style: normal; font-weight: 600; }
.ai6-i .lg { width: 18px; height: 18px; }
.ai-pg { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; margin-bottom: 16px; }
.ai-pc { border: 1px solid var(--line2); border-radius: 8px; padding: 10px 12px; background: #fff; }
.ai-ph { display: flex; align-items: center; gap: 7px; }
.ai-ph .st { margin-left: auto; }
.ai-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; margin: 10px 0 6px; }
.ai-bar i { height: 5px; border-radius: 3px; background: var(--line2); }
.ai-bar i.on { background: var(--g); }
.ai-pc .hint { margin: 0; }


.me .mypg { border: 0; padding: 5px 8px; }
.me .mypg .ic { width: 15px; height: 15px; }

/* 대시보드 GEO 둘째 줄 (대표 11/30) */
.kpi-g { text-decoration: none; color: inherit; }
.kpi-g:hover { border-color: var(--g); }
.kpi-g b small { font-size: 15px; font-weight: 600; color: var(--mut); margin-left: 2px; }
.kpi .kd { grid-column: 1 / -1; font-style: normal; font-size: 12.5px; color: var(--mut); font-variant-numeric: tabular-nums; }
.kpi .kd.up { color: #1E7F4F; }
.kpi .kd.dn { color: #D93025; }

/* 서브메뉴 오른쪽 정렬 (대표 11/30) · 넘치면 왼쪽부터 보이게 auto 여백 */
.menu .tabs { justify-content: flex-start; }
.menu .tabs a:first-child { margin-left: auto; }

/* 대시보드 1주일 그래프 (대표 11/30) */
.wk-g { margin-bottom: 16px; }
.wk-lg { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0 0 8px; font-size: 13px; color: var(--mut); }
.wk-lg span { display: inline-flex; align-items: center; gap: 5px; }
.wk-lg b { color: var(--txt, #1B2030); font-variant-numeric: tabular-nums; }
.wk-lg i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.wk { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; height: 170px; align-items: end; }
.wk-d { display: grid; grid-template-rows: 1fr auto auto; height: 100%; text-align: center; min-width: 0; }
.wk-b { display: flex; align-items: flex-end; justify-content: center; gap: 3px; height: 100%; }
.wk-b i { flex: 1 1 0; max-width: 16px; border-radius: 3px 3px 0 0; min-height: 2px; }
.wk-d b { font-size: 12px; font-weight: 700; margin-top: 4px; font-variant-numeric: tabular-nums; }
.wk-d span { font-size: 11px; color: var(--mut); }
.wk-d.today span { color: var(--g); font-weight: 700; }
.c1 { background: var(--g); } .c2 { background: var(--g-line); }
.g1 { background: #5B7BD5; } .g2 { background: #D95F0E; } .g3 { background: #2E9E6B; }

/* 전체 사이트 매뉴얼 (대표 11/30) */
.man-tb { margin-bottom: 16px; }
.man-tb td:first-child { width: 160px; }
.man-tb td:last-child { width: 120px; }
.man-log { display: grid; gap: 10px; }
.man-d { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 10px; border-top: 1px solid var(--line2); padding-top: 8px; }
.man-d ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.man-d li { display: flex; gap: 6px; align-items: flex-start; font-size: 13.5px; }
.man-d li .ic { width: 14px; height: 14px; color: var(--g); flex: none; margin-top: 3px; }
@media (max-width: 640px) { .man-d { grid-template-columns: 1fr; } }

/* 대시보드 정리 (대표 11/30 "한줄에 5개 · 간격 통일 · 2개씩 한 줄 · 선그래프") */
.kpis.kpis5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-bottom: 16px; align-items: stretch; }
.row2 > .box { margin: 0; }
.ln { display: block; width: 100%; height: 210px; overflow: visible; }
.ln-g { stroke: var(--line2); stroke-width: 1; }
.ln-y, .ln-x { font-size: 11px; fill: var(--mut); font-family: inherit; }
.ln-y { text-anchor: end; } .ln-x { text-anchor: middle; } .ln-x.today { fill: var(--g); font-weight: 700; }
.ln-l { fill: none; stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.ln-p { stroke: #fff; stroke-width: 1.5; }
.ln-l.c1 { stroke: var(--g); } .ln-p.c1 { fill: var(--g); }
.ln-l.c2 { stroke: #8FA3C8; } .ln-p.c2 { fill: #8FA3C8; }
.ln-l.g1 { stroke: #5B7BD5; } .ln-p.g1 { fill: #5B7BD5; }
.ln-l.g2 { stroke: #D95F0E; } .ln-p.g2 { fill: #D95F0E; }
.ln-l.g3 { stroke: #2E9E6B; } .ln-p.g3 { fill: #2E9E6B; }
.wk-lg i.c2 { background: #8FA3C8; }
@media (max-width: 1100px) { .kpis.kpis5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .kpis.kpis5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .row2 { grid-template-columns: minmax(0, 1fr); } }

/* AI 6곳 테두리 없이 (대표 11/30) */
.ai6-i { border: 0; background: transparent; padding: 4px 10px 4px 0; }

/* 보도자료 (대표 11/30) */
.pm-tb td:first-child a { font-weight: 600; }
.pm-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; color: var(--mut); font-size: 13.5px; margin: 0 0 10px; }
.pm-meta span { display: inline-flex; align-items: center; gap: 4px; }
.pm-meta .ic { width: 14px; height: 14px; }
.pm-body { font-size: 15px; line-height: 1.8; border-top: 1px solid var(--line2); padding-top: 14px; overflow-wrap: anywhere; max-width: 860px; }
/* 보도자료 불러오기 (11/30) */
.pm-act { margin: 4px 0 14px; } .pm-act button { display: inline-flex; align-items: center; gap: 6px; }
.pm-fig { margin: 0 0 16px; } .pm-fig img { max-width: 100%; height: auto; border-radius: 8px; display: block; } .pm-fig figcaption { font-size: 13px; color: var(--mut); margin-top: 6px; }
.pm-body p { margin: 0 0 12px; }
.pm-raw { margin-top: 18px; } .pm-raw summary { cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--mut); } .pm-raw .pm-body { font-size: 13.5px; color: var(--mut); margin-top: 10px; }

/* AtoA 탭 · 멀티 AI 협업 그림 (대표 11/30) */
.a2a-h { display: flex; align-items: center; gap: 7px; font-size: 16px; margin: 4px 0 12px; }
.a2a-h .ic { color: var(--g); }
.a2a { border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; align-items: stretch; background: #fff; }
.a2a-main { display: flex; align-items: center; justify-content: center; gap: 12px; background: #B5603D; color: #fff; border-radius: 12px; padding: 16px; text-align: left; }
.a2a-main .a2a-lg { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: #fff; }
.a2a-main .lg { width: 28px; height: 28px; }
.a2a-main b { display: block; font-size: 17px; }
.a2a-main em { font-style: normal; font-size: 14px; opacity: .92; }
.a2a-ar { text-align: center; color: var(--mut); font-size: 18px; line-height: 1; padding: 8px 0; }
.a2a-mcp { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 8px; border: 1px solid var(--line); border-radius: 10px; padding: 12px; position: relative; }
.a2a-mcp .ic { color: var(--g); }
.a2a-mcp b { font-size: 15px; }
.a2a-mcp small { color: var(--mut); font-size: 13px; }
.a2a-four { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; position: relative; padding-top: 28px; }
.a2a-four::before { content: ""; position: absolute; top: 14px; left: 12.5%; right: 12.5%; border-top: 1.5px solid #B9BFCB; }
.a2a-mcp::after { content: ""; position: absolute; left: 50%; bottom: -15px; height: 14px; border-left: 1.5px solid #B9BFCB; }
.a2a-ai { position: relative; border: 1px solid var(--line); border-radius: 12px; padding: 14px; text-align: center; min-width: 0; }
.a2a-ai::before { content: ""; position: absolute; left: 50%; top: -15px; height: 14px; border-left: 1.5px solid #B9BFCB; }
.a2a-ai-h { display: flex; align-items: center; justify-content: center; gap: 7px; flex-wrap: wrap; }
.a2a-ai-h .lg { width: 24px; height: 24px; }
.a2a-ai-h b { font-size: 16px; }
.a2a-openai .a2a-ai-h b { color: #10A37F; } .a2a-gemini .a2a-ai-h b { color: #4285F4; } .a2a-perplexity .a2a-ai-h b { color: #1F8A99; } .a2a-copilot .a2a-ai-h b { color: #6B46C1; }
.a2a-st { font-size: 11.5px; font-weight: 700; color: var(--warn); background: #FEF3C7; border-radius: 4px; padding: 1px 6px; }
.a2a-role { display: block; color: var(--g); font-weight: 700; font-size: 13px; margin-top: 4px; }
.a2a-ai p { margin: 8px 0; color: var(--fg2); font-size: 14px; }
.a2a-ai p span { display: block; word-break: keep-all; }
.a2a-when { display: flex; align-items: flex-start; justify-content: center; gap: 4px; font-style: normal; font-size: 12.5px; color: var(--mut); border-top: 1px solid var(--line2); padding-top: 8px; word-break: keep-all; text-wrap: pretty; }
.a2a-when .ic { width: 14px; height: 14px; margin-top: 3px; color: var(--g); }
.a2a-git { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 8px; }
.a2a-git .lg { width: 28px; height: 28px; }
.a2a-git b { display: block; font-size: 15px; }
.a2a-git em { font-style: normal; color: var(--mut); font-size: 13.5px; }
/* 저장·배포 층 구조도 (대표 11/30 "구조도로 설명") */
.a2a-lbl small { font-size: 12.5px; margin-left: 4px; }
.a2a-stack { display: flex; flex-direction: column; align-items: stretch; width: 100%; max-width: 620px; margin: 0 auto; }
.a2a-inf { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: #fff; }
.a2a-inf-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.a2a-inf-h .lg { width: 26px; height: 26px; }
.a2a-inf-h b { font-size: 16px; }
.a2a-inf-h small { color: var(--g); font-weight: 700; font-size: 13px; background: var(--g-l); border-radius: 4px; padding: 1px 7px; }
.a2a-inf ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 5px; }
.a2a-inf li { display: flex; align-items: flex-start; gap: 6px; font-size: 14px; color: var(--fg2); word-break: keep-all; }
.a2a-inf li .ic { width: 15px; height: 15px; margin-top: 3px; color: var(--g); flex: none; }
.a2a-github .a2a-inf-h b { color: #24292F; } .a2a-cloudflare .a2a-inf-h b { color: #F38020; } .a2a-aws .a2a-inf-h b { color: #232F3E; } .a2a-gdrive .a2a-inf-h b { color: #1A73E8; }
.a2a-tree { margin-top: 12px; border-top: 1px dashed var(--line); padding-top: 10px; display: grid; gap: 4px; font-size: 13.5px; }
.a2a-tree > div { display: flex; align-items: center; gap: 6px; }
.a2a-tree .ic { width: 16px; height: 16px; color: #F4B400; flex: none; }
.a2a-tree small { color: var(--mut); margin-left: 4px; }
.a2a-d1 { padding-left: 20px; } .a2a-d2 { padding-left: 40px; }
/* 처리 순서 구조도 · 단계 사이 화살표 */
.a2a-pipe { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px; }
.a2a-pipe li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.a2a-pipe li + li::before { content: "→"; position: absolute; left: -12px; top: 2px; color: var(--mut); font-size: 15px; }
.a2a-pc { width: 100%; border: 1px solid var(--line2); border-radius: 10px; padding: 10px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.a2a-pc b { display: flex; align-items: center; gap: 5px; font-size: 14.5px; }
.a2a-pc b .ic { width: 16px; height: 16px; color: var(--g); }
.a2a-who { font-size: 12.5px; font-weight: 700; color: var(--g); }
.a2a-pc small { font-size: 13px; color: var(--fg2); word-break: keep-all; text-wrap: pretty; }
.a2a-pc em { font-style: normal; font-size: 12.5px; color: var(--mut); border-top: 1px solid var(--line2); padding-top: 5px; margin-top: auto; word-break: keep-all; }
@media (max-width: 1200px) { .a2a-pipe { grid-template-columns: repeat(4, minmax(0, 1fr)); } .a2a-pipe li:nth-child(4n+1)::before { display: none; } }
@media (max-width: 700px) { .a2a-pipe { grid-template-columns: 1fr 1fr; } .a2a-pipe li + li::before { display: none; } }
.a2a-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.a2a-flow li { display: flex; align-items: flex-start; gap: 8px; border: 1px solid var(--line2); border-radius: 10px; padding: 10px 12px; }
.a2a-flow .a2a-n { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--g); color: #fff; font-size: 12px; font-weight: 700; }
.a2a-flow li > .ic { margin-top: 2px; color: var(--g); }
.a2a-flow b { display: block; font-size: 14.5px; }
.a2a-flow small { color: var(--mut); font-size: 13px; word-break: keep-all; }
.a2a-rule { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.a2a-rule li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; word-break: keep-all; }
.a2a-rule .ic { margin-top: 3px; color: var(--g); }
@media (max-width: 900px) { .a2a-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
	.a2a { padding: 12px; }
	.a2a-four { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 12px; }
	.a2a-four::before, .a2a-ai::before, .a2a-mcp::after { display: none; }
	.a2a-flow { grid-template-columns: 1fr; }
}.a2a-st.a2a-on { color: var(--g); background: var(--g-l); }

/* AWS 이전 구조 위젯 (대표 12/6) · 휴대폰은 위아래로 쌓음 */
.aws-w .bh h2 .ti .lg { width: 20px; height: 20px; }
.aw-cf { display: flex; align-items: center; gap: 10px; border: 1px solid var(--g-line); background: var(--g-ll); border-radius: 10px; padding: 10px 14px; margin-bottom: 12px; }
.aw-cf b { display: block; font-size: 14px; color: var(--g-d); } .aw-cf em { font-style: normal; font-size: 12.5px; color: var(--mut, #64748B); }
.aw-row { display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1.3fr); gap: 10px; align-items: stretch; }
.aw-box { border: 1px solid var(--line2); border-radius: 10px; padding: 14px 16px; min-width: 0; }
.aw-box h3 { display: flex; align-items: center; gap: 6px; margin: 0 0 2px; font-size: 15px; } .aw-box h3 .lg { width: 18px; height: 18px; }
.aw-box > small { display: block; color: var(--mut, #64748B); font-size: 12.5px; margin-bottom: 10px; }
.aw-box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.aw-box li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; min-width: 0; }
.aw-box li > span:first-of-type { flex: 1; min-width: 0; } .aw-box li b { word-break: keep-all; }
.aw-box li em { display: block; font-style: normal; font-size: 12px; color: var(--mut, #64748B); word-break: keep-all; }
.aw-now { background: #F6F7F9; } .aw-now li > b { margin-left: auto; color: var(--g-d); }
.aw-aws { background: var(--g-ll); border-color: var(--g-line); }
.aw-arr { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--g); font-size: 12px; }
.aw-keep { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 10px 14px; border: 1px dashed var(--line2); border-radius: 10px; font-size: 13px; word-break: keep-all; }
.aw-step { margin: 12px 0 0; padding-left: 20px; display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: 13px; color: var(--mut, #64748B); }
@media (max-width: 760px) { .aw-row { grid-template-columns: minmax(0, 1fr); } .aw-arr { flex-direction: row; transform: none; } .aw-arr svg { transform: rotate(90deg); } .aw-step { display: block; } .aw-step li { margin: 2px 0; } }
