/* 스마트주보 2.0 관리자 — 큰 글씨·쉬운 말 (디자인: design/gpt/관리자시안_1~3차) */
:root {
  --primary: #1D4E9E;
  --primary-dark: #163E80;
  --primary-soft: #E8EEF8;
  --ink: #1B2433;
  --ink2: #5B6573;
  --line: #E6E9EE;
  --ground: #F4F6FA;
  --surface: #FFFFFF;
  --ok-bg: #E3F3E6; --ok: #2E7D4F;
  --warn-bg: #FDEBD7; --warn: #C2570C;
  --gray-bg: #ECEEF2; --gray: #4B5563;
  --red: #D83A3A;
  --radius: 16px;
  --shadow: 0 2px 10px rgba(20, 40, 80, .06);
  font-size: 17px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Pretendard", "Malgun Gothic", "맑은 고딕", "Apple SD Gothic Neo", sans-serif;
  color: var(--ink); background: var(--ground); line-height: 1.5;
}
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--primary); }
.hidden { display: none !important; }

/* ---------- 틀 ---------- */
.shell { display: grid; grid-template-columns: 290px 1fr; min-height: 100vh; }
.side { background: var(--surface); border-right: 1px solid var(--line); padding: 28px 16px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.brand { font-size: 26px; font-weight: 800; line-height: 1.3; margin: 0 8px 26px; letter-spacing: -0.5px; }
.brand b { color: var(--primary); }
.nav a { display: flex; align-items: center; gap: 14px; padding: 11px 14px; border-radius: 12px; color: var(--ink); text-decoration: none; font-size: 18px; margin-bottom: 2px; }
.nav a:hover { background: var(--primary-soft); }
.nav a.on { background: var(--primary); color: #fff; font-weight: 700; }
.nav a.soon { color: #9AA3AF; }
.nav a.soon small { margin-left: auto; font-size: 12px; background: var(--gray-bg); color: var(--gray); padding: 1px 7px; border-radius: 8px; }
.nav a.soon small.live { background: #E6F4EA; color: #1E7B3A; font-weight: 700; }
.nav svg { width: 24px; height: 24px; flex: none; }
.main { padding: 22px 30px 40px; min-width: 0; }
.topbar { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-bottom: 8px; color: var(--ink2); }
.topbar .who { font-weight: 700; color: var(--ink); }
.topbar button { background: none; border: 1px solid var(--line); border-radius: 10px; padding: 6px 12px; cursor: pointer; color: var(--ink2); }

.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 4px 0 20px; padding: 18px 0 6px;
  background: linear-gradient(100deg, rgba(255,255,255,0) 55%, rgba(232,238,248,.9) 100%); border-radius: 18px; }
.page-head h1 { font-size: 38px; margin: 0; letter-spacing: -1px; line-height: 1.2; }
.page-head h1 em { font-style: normal; color: var(--primary); }
.page-head p { margin: 8px 0 0; color: var(--ink2); font-size: 19px; }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 24px; margin-bottom: 20px; }
.card h2 { font-size: 26px; margin: 0 0 14px; letter-spacing: -0.5px; }
.card h3 { font-size: 20px; margin: 0 0 10px; }
.muted { color: var(--ink2); }
.small { font-size: 15px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }

/* ---------- 버튼 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: none; border-radius: 12px; padding: 12px 22px;
  font-size: 18px; font-weight: 700; cursor: pointer; background: var(--primary-soft); color: var(--primary); min-height: 50px; text-decoration: none; }
.btn:hover { filter: brightness(.97); }
.btn:disabled { opacity: .5; cursor: default; }
.btn.primary { background: var(--primary); color: #fff; }
.btn.primary:hover { background: var(--primary-dark); }
.btn.outline { background: #fff; border: 1.5px solid #C9D3E3; color: var(--primary); }
.btn.danger { background: #fff; border: 1.5px solid #F1C4C4; color: var(--red); }
.btn.big { font-size: 22px; padding: 18px 26px; min-height: 64px; border-radius: 14px; width: 100%; }
.btn.small { font-size: 15px; padding: 6px 12px; min-height: 36px; border-radius: 9px; }
.btn svg { width: 24px; height: 24px; }
.icon-btn { background: none; border: none; cursor: pointer; padding: 8px; border-radius: 10px; color: var(--ink2); display: inline-flex; }
.icon-btn:hover { background: var(--ground); color: var(--ink); }
.icon-btn svg { width: 24px; height: 24px; }
.icon-btn.del:hover { color: var(--red); background: #FDECEC; }

/* ---------- 입력 ---------- */
label.f { display: block; margin-bottom: 14px; }
label.f > span { display: block; font-weight: 700; margin-bottom: 6px; font-size: 17px; }
label.f > em { display: block; font-style: normal; color: var(--ink2); font-size: 14px; margin-top: 4px; }
.in, select.in, textarea.in { width: 100%; border: 1.5px solid #D5DBE5; border-radius: 10px; padding: 11px 14px; background: #fff; font-size: 18px; min-height: 50px; }
.in:focus, textarea.in:focus, select.in:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(29, 78, 158, .15); }
textarea.in { min-height: 110px; resize: vertical; line-height: 1.6; }
.form-grid { display: grid; grid-template-columns: 200px 1fr; gap: 12px 16px; align-items: center; }
.form-grid > .lab { font-weight: 700; }
.check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 17px; }
.check input { width: 22px; height: 22px; }

/* ---------- 배지 ---------- */
.badge { display: inline-block; padding: 5px 16px; border-radius: 999px; font-weight: 700; font-size: 16px; white-space: nowrap; }
.badge.ok { background: var(--ok-bg); color: var(--ok); }
.badge.warn { background: var(--warn-bg); color: var(--warn); }
.badge.gray { background: var(--gray-bg); color: var(--gray); }
.badge.blue { background: var(--primary-soft); color: var(--primary); }
.badge.hot { background: #F07D1A; color: #fff; }

/* ---------- 처음 화면 ---------- */
.hello h1 { font-size: 40px; }
.status-line { display: flex; align-items: center; gap: 14px; font-size: 21px; margin-top: 10px; flex-wrap: wrap; }
.big-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 22px; }
.big-card { background: var(--surface); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); cursor: pointer; border: none; text-align: left; display: flex; flex-direction: column; gap: 12px; min-height: 170px; }
.big-card .t { display: flex; gap: 14px; align-items: center; font-size: 21px; font-weight: 800; line-height: 1.3; }
.big-card .t svg { width: 46px; height: 46px; flex: none; color: var(--primary); }
.big-card p { margin: 0; color: var(--ink2); font-size: 17px; }
.big-card.main { background: var(--primary); color: #fff; }
.big-card.main .t svg, .big-card.main p { color: #fff; }
.big-card:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(20, 40, 80, .1); }
table.tasks { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 19px; }
table.tasks th { text-align: left; color: var(--ink2); font-weight: 600; background: var(--ground); padding: 12px 16px; font-size: 17px; }
table.tasks th:first-child { border-radius: 10px 0 0 10px; } table.tasks th:last-child { border-radius: 0 10px 10px 0; }
table.tasks td { padding: 14px 16px; border-bottom: 1px solid var(--line); }
table.tasks td.item { font-weight: 700; }
table.tasks td.item small { display: block; font-weight: 400; color: var(--ink2); font-size: 14px; }

/* ---------- 예배순서 표 ---------- */
.chips { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.chip { border: none; background: var(--primary-soft); color: var(--ink); border-radius: 12px; padding: 12px 22px; font-size: 19px; font-weight: 700; cursor: pointer; min-height: 52px; }
.chip.on { background: var(--primary); color: #fff; }
.toolbar { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; background: var(--surface); border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow); margin-bottom: 16px; }
.toolbar .lab { font-weight: 800; font-size: 19px; }
.toolbar .sep { width: 1px; height: 36px; background: var(--line); }
.order { width: 100%; border-collapse: separate; border-spacing: 0 8px; table-layout: fixed; }
.order .tools .icon-btn { padding: 6px; }
.order .tools .icon-btn svg { width: 22px; height: 22px; }
.order th { text-align: left; color: var(--ink2); font-weight: 600; padding: 8px; background: var(--ground); font-size: 17px; }
.order td { padding: 0 6px; vertical-align: top; }
.order td .in { font-size: 18px; min-height: 52px; }
.order tr.sel td:first-child .in { border-color: var(--primary); }
.order tr.drag-over td { border-top: 3px solid var(--primary); }
.order .tools { white-space: nowrap; display: flex; align-items: center; padding-top: 4px; }
.order .handle { cursor: grab; }
.order tr.detail td { padding: 0 6px 10px; }
.detail-box { background: #F8FAFD; border: 1.5px dashed #C9D3E3; border-radius: 12px; padding: 14px 16px; }
.detail-box .row { margin-bottom: 8px; }
.link-note { display: inline-block; background: var(--primary-soft); color: var(--primary); border-radius: 10px; padding: 6px 12px; font-size: 15px; line-height: 1.3; margin-top: 6px; }
.suggest { margin-top: 6px; background: #FFF6E5; color: #9A5B00; border: 1px solid #F5D9A6; border-radius: 10px; padding: 5px 10px; font-size: 14px; cursor: pointer; }
.bottom-bar { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 18px; align-items: center; }
.save-state { color: var(--ink2); font-size: 15px; }
.links-panel .item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; margin-bottom: 8px; cursor: pointer; font-size: 18px; font-weight: 700; text-align: left; }
.links-panel .item:hover { border-color: var(--primary); }
.links-panel .item svg { width: 22px; height: 22px; color: var(--primary); }
.links-panel .item .go { margin-left: auto; color: var(--ink2); }

/* ---------- 설교 ---------- */
.yt-card { display: flex; gap: 16px; align-items: center; background: var(--ground); border-radius: 14px; padding: 12px; margin: 10px 0 16px; }
.thumb { position: relative; width: 190px; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #D8DEE8; flex: none; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb .dur { position: absolute; right: 6px; bottom: 6px; background: rgba(0,0,0,.75); color: #fff; font-size: 13px; padding: 1px 6px; border-radius: 5px; font-weight: 700; }
.yt-card h3 { font-size: 22px; margin: 0 0 6px; }
.drop { border: 2px dashed #B8C4D8; border-radius: 14px; padding: 22px; text-align: center; color: var(--ink2); background: #FAFBFD; cursor: pointer; }
.drop.over { border-color: var(--primary); background: var(--primary-soft); }
.seg { display: flex; gap: 10px; margin: 12px 0; flex-wrap: wrap; }
.seg button { border: 1.5px solid var(--line); background: #fff; border-radius: 10px; padding: 9px 18px; font-size: 17px; cursor: pointer; font-weight: 700; color: var(--ink2); }
.seg button.on { background: var(--primary-soft); color: var(--primary); border-color: #BFD0EC; }
.progress { height: 10px; background: var(--line); border-radius: 6px; overflow: hidden; margin-top: 8px; }
.progress i { display: block; height: 100%; background: var(--primary); width: 0; transition: width .2s; }
.pics { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.pics .pic { width: 110px; text-align: center; font-size: 13px; }
.pics img { width: 110px; height: 150px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); display: block; }
.s-list .s-item { display: flex; gap: 14px; align-items: center; padding: 10px; border-radius: 14px; border: 1.5px solid var(--line); margin-bottom: 10px; cursor: pointer; background: #fff; }
.s-list .s-item.on { border-color: var(--primary); background: #F7F9FD; }
.s-list .thumb { width: 130px; }
.s-list .s-item h4 { margin: 0 0 4px; font-size: 19px; }
.s-list .s-item .meta { color: var(--ink2); font-size: 15px; }
.done-note { background: var(--ok-bg); color: var(--ok); border-radius: 12px; padding: 12px 16px; font-weight: 700; margin-bottom: 12px; }

/* ---------- 소식 ---------- */
.post-row { display: flex; gap: 14px; align-items: center; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.post-row .ph { width: 80px; height: 60px; border-radius: 8px; background: #DDE3EC; flex: none; overflow: hidden; }
.post-row .ph img { width: 100%; height: 100%; object-fit: cover; }
.post-row h4 { margin: 0; font-size: 19px; }
.notice-item { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 10px; }
.notice-item .num { font-weight: 800; font-size: 20px; width: 32px; padding-top: 12px; color: var(--primary); }
.notice-item textarea { min-height: 80px; }
.block-item { border: 1.5px solid var(--line); border-radius: 12px; padding: 12px; margin-bottom: 10px; background: #fff; }
.block-item img { max-width: 100%; max-height: 220px; border-radius: 8px; display: block; }

/* ---------- 앱 꾸미기 ---------- */
.swatches { display: flex; gap: 12px; flex-wrap: wrap; }
.swatch { width: 92px; border: 2px solid transparent; border-radius: 14px; padding: 8px; background: #fff; cursor: pointer; text-align: center; font-size: 15px; font-weight: 700; }
.swatch i { display: block; height: 44px; border-radius: 10px; margin-bottom: 6px; }
.swatch.on { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(0,0,0,.06); }
.tab-row { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; margin-bottom: 8px; background: #fff; }
.tab-row .kind { width: 110px; color: var(--ink2); font-size: 15px; flex: none; }
.tab-row.mid { background: #F8FAFD; margin-left: 24px; }

/* ---------- 휴대폰 미리보기 ---------- */
.phone-wrap h2 { font-size: 26px; }
.phone { width: 330px; margin: 0 auto; border: 11px solid #15181D; border-radius: 46px; background: #fff; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.18); position: relative; }
.phone .notch { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 104px; height: 26px; background: #15181D; border-radius: 16px; z-index: 2; }
.phone .scr { height: 600px; overflow-y: auto; font-size: 13px; background: #F6F7F9; }
.phone .sbar { display: flex; justify-content: space-between; padding: 10px 22px 4px; font-weight: 700; font-size: 13px; background: #fff; }
.phone .ahead { background: #fff; padding: 8px 14px 0; }
.phone .ahead .nm { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 800; }
.phone .ahead .nm .bell { margin-left: auto; width: 20px; height: 20px; }
.phone .tabs { display: flex; gap: 12px; overflow-x: auto; padding: 8px 0 0; font-size: 12px; color: #5B6573; border-bottom: 1px solid #E6E9EE; scrollbar-width: none; }
.phone .tabs span { padding-bottom: 7px; white-space: nowrap; border-bottom: 3px solid transparent; }
.phone .tabs span.on { color: var(--p); border-bottom-color: var(--p); font-weight: 800; }
.phone .body { padding: 12px; }
.phone .pchips { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 10px; scrollbar-width: none; }
.phone .pchips span { background: #EEF1F5; color: #5B6573; border-radius: 999px; padding: 6px 11px; white-space: nowrap; font-size: 12px; font-weight: 700; }
.phone .pchips span.on { background: var(--p); color: #fff; }
.phone .pdate { font-weight: 700; margin: 4px 0 8px; font-size: 13px; }
.phone .ptitle { color: var(--p); font-weight: 800; font-size: 15px; margin: 6px 0 8px; }
.phone .ptable { background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid #E6E9EE; }
.phone .prow { display: grid; grid-template-columns: 70px 1fr 64px 10px; gap: 6px; padding: 9px 8px; border-bottom: 1px solid #EEF0F3; align-items: center; min-height: 38px; }
.phone .prow.head { background: #F3F5F8; font-weight: 700; color: #5B6573; font-size: 12px; min-height: 0; }
.phone .prow .c0 { font-weight: 700; }
.phone .prow .c2 { color: #5B6573; text-align: right; font-size: 12px; }
.phone .prow.act .c0, .phone .prow.act .c1 { color: var(--p); }
.phone .prow.hl .c1 { font-weight: 800; }
.phone .prow.top { align-items: start; }
.phone .psongs { display: flex; flex-direction: column; gap: 3px; }
.phone .psong { display: flex; align-items: center; gap: 4px; }
.phone .psong span:first-child { flex: 1; min-width: 0; }
.phone .pplay { color: var(--p); font-size: 13px; flex: none; }
.phone .prow.note { grid-template-columns: 1fr; color: #5B6573; font-size: 12px; }
.phone .prow.section { grid-template-columns: 1fr; font-weight: 800; background: #F8F9FB; }
.phone .arrow { color: var(--p); font-weight: 800; }
.phone .pcard { background: #fff; border-radius: 14px; padding: 12px; margin-bottom: 10px; border: 1px solid #E6E9EE; }
.phone .pcard h5 { margin: 0 0 6px; font-size: 14px; }
.phone .vcard { background: color-mix(in srgb, var(--p) 10%, white); border-radius: 14px; padding: 14px; margin-top: 10px; text-align: center; font-weight: 700; }
.phone .ph-img { background: #D9DFE8; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #6B7686; font-size: 11px; overflow: hidden; }
.phone .ph-img img { width: 100%; height: 100%; object-fit: cover; }
.phone .empty { color: #8A94A3; text-align: center; padding: 30px 10px; }
.phone .hero { position: relative; height: 110px; border-radius: 12px; overflow: hidden; margin-bottom: 10px; }
.phone .hero .txt { position: absolute; left: 12px; bottom: 10px; color: #fff; font-weight: 800; font-size: 15px; white-space: pre-line; text-shadow: 0 1px 4px rgba(0,0,0,.4); }
.pv-note { text-align: center; color: var(--ink2); font-size: 14px; margin-top: 10px; }

/* ---------- 창·알림 ---------- */
.modal-bg { position: fixed; inset: 0; background: rgba(15, 23, 42, .45); display: flex; align-items: center; justify-content: center; z-index: 50; padding: 20px; }
.modal { background: #fff; border-radius: 20px; padding: 28px; width: 560px; max-width: 100%; max-height: 92vh; overflow-y: auto; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.modal.wide { width: 900px; }
.modal h2 { margin: 0 0 12px; font-size: 26px; }
.modal .btns { display: flex; gap: 12px; justify-content: flex-end; margin-top: 22px; flex-wrap: wrap; }
.modal ul.sum { padding-left: 0; list-style: none; margin: 12px 0; }
.modal ul.sum li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
.toast { position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%); background: #1B2433; color: #fff; padding: 14px 22px; border-radius: 14px; font-size: 18px; z-index: 60; box-shadow: 0 8px 24px rgba(0,0,0,.25); max-width: 90vw; }
.toast.err { background: #B42318; }
.notice-bar { background: #FFF6E5; border: 1px solid #F5D9A6; color: #7A4B00; border-radius: 12px; padding: 12px 16px; margin-bottom: 16px; font-size: 17px; }
.info-bar { background: var(--primary-soft); color: #173C78; border-radius: 12px; padding: 12px 16px; margin-bottom: 16px; font-size: 17px; }

/* ---------- 로그인 ---------- */
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #EEF3FB, #F8FAFD); }
.login { width: 440px; max-width: 94vw; background: #fff; border-radius: 22px; padding: 38px 36px; box-shadow: 0 12px 40px rgba(20, 40, 80, .12); }
.login h1 { font-size: 30px; margin: 0 0 6px; }
.login p { color: var(--ink2); margin: 0 0 22px; }
.err-msg { color: var(--red); font-weight: 700; margin: 8px 0; min-height: 1.5em; }
.login-note { background: #EEF4FF; border: 1px solid #C9DAF8; color: #1F3B6E; border-radius: 10px; padding: 12px 14px; margin: 6px 0 14px; line-height: 1.55; font-weight: 600; }

@media (max-width: 1250px) {
  .cols { grid-template-columns: 1fr; }
  .big-cards { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .shell { grid-template-columns: 1fr; }
  .side { position: static; height: auto; }
  .form-grid { grid-template-columns: 1fr; }
}

/* ---------- 예배순서 단순판 (2026-09-24 선향님 피드백) ---------- */
.cols.cols-wide-phone { grid-template-columns: minmax(0, 1fr) 440px; }
.phone.lg { width: 390px; }
/* 예배순서표 — 교인 웹 주보와 같은 칸 나누기(순서·담당 칸은 가장 긴 글 폭·한 줄, 내용 칸이 나머지 — 결정 2026-10-13) */
.phone .ptable.pflex .prow { display: flex; gap: 0; align-items: center; padding: 8px 9px; }
.phone .ptable.pflex .prow > div { padding-right: 5px; line-height: 1.35; min-width: 0; word-break: keep-all; overflow-wrap: break-word; }
.phone .ptable.pflex .prow .c2 { text-align: left; font-size: inherit; color: inherit; }
.phone .ptable.pflex .prow.head { font-size: 12px; }
.phone .ptable.pflex .prow .arrow { flex: 0 0 10px; padding-right: 0; }
.phone .ptable.pflex .prow.top { align-items: flex-start; }
.phone.lg .scr { height: 720px; font-size: 14px; }
.phone.lg .prow { grid-template-columns: 82px 1fr 74px 10px; }
.date-text { font-size: 20px; font-weight: 800; }
.order.simple { border-spacing: 0; }
.order.simple td { padding: 6px 6px 0; }
.order.simple tr.sub td { padding: 2px 6px 8px; border-bottom: 1px solid var(--line); }
.order.simple tr.row-section td .in { background: #ECEFF3; font-weight: 800; border-color: #D5DBE5; }
.order.simple tr.row-note td .in { background: #FFF8E8; }
.row-kind { flex: none; font-size: 15px; font-weight: 700; color: var(--ink2); background: var(--gray-bg); border-radius: 8px; padding: 4px 10px; }
.row-tools { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.row-tools .btn.small { font-size: 16px; min-height: 44px; padding: 6px 14px; }
.row-sub { display: flex; gap: 8px; align-items: center; min-height: 0; font-size: 16px; }
.row-sub:empty { display: none; }
.fill-songs .fill-song { padding: 2px 0; }
.fill-songs .fill-play { color: var(--primary); font-weight: 800; }
.fill-song.edit { display: flex; gap: 6px; align-items: center; margin-bottom: 4px; }
.fill-song.edit .in { min-height: 38px; }
.fill-song.edit .fill-song-yt { max-width: 46%; }
.fill-lyric { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; background: #EEF4FF; border-radius: 8px; padding: 3px 8px; }
.fill-lyric.on { background: #E3F3E6; }
.place-tag { display: inline-block; margin-top: 3px; padding: 2px 10px; border-radius: 999px; font-size: 14px; font-weight: 700; background: #E8EEF8; color: #1D4E9E; }
.place-tag.place-menu { background: #FFF1DA; color: #8A4B00; }
.place-tag.place-card { background: #ECEEF2; color: #4B5563; }
.page-row.auto-row { background: #F8FAFC; }
/* 노래 줄 곡 칸 (기능명세 12-4) */
tr.song-sub td { padding-top: 0; }
.song-box { display: flex; flex-direction: column; gap: 6px; padding: 2px 0 8px 18%; }
.song-box:empty { display: none; }
.song-line { display: flex; align-items: center; gap: 6px; }
.song-line .song-no { width: 22px; text-align: right; color: var(--ink2); font-weight: 700; flex: none; }
.song-line .song-title { flex: 2 1 200px; min-height: 40px; }
.song-line .song-yt { flex: 1.4 1 160px; min-height: 40px; }
.song-line .song-yt.bad { border-color: #E06C3C; }
.song-line .song-hno { width: 84px; flex: none; min-height: 40px; }
.song-line .song-jang { flex: none; font-weight: 700; }
.song-line .song-play { color: var(--primary); flex: none; }
.song-tools { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.song-hint { color: var(--ink2); font-size: 14px; }
.song-yellow { background: #FFF6C7; color: #7A5A00; border-radius: 8px; padding: 4px 10px; font-size: 14px; }
.songs-made { min-height: 44px; display: flex; align-items: center; padding: 6px 10px; background: #F6F8FB; border-radius: 10px; color: var(--ink2); font-size: 15px; }
.music-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 14px 0 4px; padding: 12px 14px; background: #F6F8FB; border-radius: 12px; }
.music-line .lab { font-weight: 800; margin-right: 4px; }
.link-line { color: var(--primary); font-weight: 700; }
.linkish { background: none; border: none; color: var(--primary); text-decoration: underline; cursor: pointer; font-size: 16px; padding: 2px 4px; }
.choice-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.choice { border: 2px solid var(--line); background: #fff; border-radius: 12px; padding: 14px 8px; font-size: 18px; font-weight: 700; cursor: pointer; }
.choice.on { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); }
.big-actions .btn { font-size: 20px; min-height: 62px; padding: 14px 26px; }
.publish-bar { border-top: 1px solid var(--line); padding-top: 16px; }
.text-btn { font-size: 15px; min-height: 38px; padding: 4px 12px; }

/* ---------- 운영자: 신청 목록 ---------- */
.nav-sep { margin: 16px 14px 6px; font-size: 13px; font-weight: 700; color: var(--ink2); letter-spacing: .05em; border-top: 1px solid var(--line); padding-top: 14px; }
.nav a .count { margin-left: auto; background: #F07D1A; color: #fff; font-weight: 800; font-size: 14px; border-radius: 999px; padding: 1px 9px; }
.nav a.on .count { background: #fff; color: var(--primary); }
.ops-chips .chip b { margin-left: 4px; }
.ops-table-wrap { overflow-x: auto; margin-top: 10px; }
.ops-table { width: 100%; border-collapse: collapse; font-size: 18px; }
.ops-table th { text-align: left; font-size: 15px; color: var(--ink2); font-weight: 700; padding: 10px 12px; border-bottom: 2px solid var(--line); white-space: nowrap; }
.ops-table td { padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ops-table tbody tr { cursor: pointer; }
.ops-table tbody tr:hover, .ops-table tbody tr:focus { background: var(--primary-soft); outline: none; }
.ops-table tr.is-new td:first-child { box-shadow: inset 4px 0 0 #F07D1A; }
.ops-table tr.is-new b { font-weight: 800; }
.ops-table .mini { display: inline-block; margin-left: 8px; font-size: 13px; font-weight: 700; background: var(--gray-bg); color: var(--gray); border-radius: 6px; padding: 1px 7px; vertical-align: 2px; }
.ops-table .mini.warn { background: var(--warn-bg); color: var(--warn); }
.nowrap { white-space: nowrap; }
.ops-info .val { font-size: 18px; word-break: break-all; }
.ops-info .tel { font-size: 20px; font-weight: 800; }
.ops-msg { white-space: pre-wrap; font-size: 17px; background: var(--ground); border-radius: 10px; padding: 12px 14px; word-break: break-word; }
.ops-note { border-top: 1px solid var(--line); padding: 12px 0; }
.ops-note.sys .ops-msg { background: #fff; border: 1px dashed var(--line); color: var(--ink2); }
.ops-seg button { min-height: 48px; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- 셀프 가입 교회: 이용 상태 띠·시작 도우미·링크/QR·계속 쓰기·전용 앱 (2026-09-24 B안) ---------- */
.acct-band { display: flex; align-items: center; gap: 14px; border-radius: 14px; padding: 12px 18px; margin: 0 0 14px; font-size: 18px; font-weight: 700; }
.acct-band .acct-text { flex: 1; }
.acct-band .acct-btn { background: #fff; color: var(--ink); border: 1.5px solid rgba(0,0,0,.12); font-size: 17px; min-height: 42px; padding: 6px 16px; text-decoration: none; }
.acct-band.tone-info { background: var(--primary-soft); color: #173C78; }
.acct-band.tone-warn { background: var(--warn-bg); color: #8A3A05; }
.acct-band.tone-danger { background: #FDE2E1; color: #9B1C1C; }
.acct-band.tone-ok { background: var(--ok-bg); color: #1E5E3A; }
.acct-band.tone-gray { background: var(--gray-bg); color: var(--gray); }
.starter-card { width: 100%; margin-bottom: 16px; min-height: 0; }
.tell-card .web-url { font-size: 22px; font-weight: 800; color: var(--primary); word-break: break-all; }
.web-url.big { font-size: 26px; font-weight: 800; color: var(--primary); word-break: break-all; margin: 4px 0 8px; }
ol.steps { list-style: none; padding: 0; margin: 0 0 18px; display: flex; gap: 10px; flex-wrap: wrap; }
ol.steps li { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 8px 16px 8px 8px; color: var(--ink2); font-weight: 700; box-shadow: var(--shadow); }
ol.steps li b { width: 30px; height: 30px; border-radius: 50%; background: var(--gray-bg); display: inline-flex; align-items: center; justify-content: center; }
ol.steps li.on { color: var(--primary); }
ol.steps li.on b { background: var(--primary); color: #fff; }
ol.steps li.done b { background: var(--primary-soft); color: var(--primary); }
.svc-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 12px 0 16px; }
.svc-card { border: 2px solid var(--line); border-radius: 14px; padding: 12px 14px; background: #fff; }
.svc-card.on { border-color: var(--primary); background: #F8FAFE; }
.svc-head { display: flex; align-items: center; gap: 12px; width: 100%; background: none; border: none; font-size: 20px; font-weight: 800; cursor: pointer; padding: 6px 0; text-align: left; min-height: 48px; }
.svc-head .tick { width: 30px; height: 30px; border-radius: 8px; border: 2px solid #C9D3E3; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; flex: none; }
.svc-card.on .tick { background: var(--primary); border-color: var(--primary); }
.time-lab { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.time-in { width: auto; min-height: 48px; font-size: 18px; }
.style-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.style-card { border: 2px solid var(--line); border-radius: 14px; background: #fff; padding: 14px 16px; text-align: left; cursor: pointer; font-size: 16px; }
.style-card b { font-size: 20px; display: block; margin-bottom: 6px; }
.style-card ol { margin: 0; padding-left: 20px; color: var(--ink2); }
.style-card.on { border-color: var(--primary); background: var(--primary-soft); }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.qr-row { display: flex; gap: 20px; flex-wrap: wrap; }
.qr-box { display: flex; flex-direction: column; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.qr-box img { width: 200px; height: auto; image-rendering: pixelated; }
.tips { font-size: 18px; padding-left: 22px; }
.tips li { margin-bottom: 8px; }
.a4-preview { background: #E9EDF3; padding: 16px; border-radius: 12px; display: flex; justify-content: center; }
.a4-sheet { width: 420px; aspect-ratio: 210 / 297; background: #fff; box-shadow: 0 4px 16px rgba(0,0,0,.15); padding: 34px 30px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.a4-church { font-size: 20px; font-weight: 800; color: var(--primary); }
.a4-sheet h1 { font-size: 24px; margin: 10px 0 14px; line-height: 1.3; }
.a4-qr { width: 62%; image-rendering: pixelated; }
.a4-url { font-size: 17px; font-weight: 800; margin: 10px 0 16px; word-break: break-all; }
.a4-steps { list-style: none; padding: 0; margin: 0; text-align: left; font-size: 16px; }
.a4-steps li { display: flex; gap: 8px; margin: 6px 0; }
.a4-steps b { color: var(--primary); }
.a4-foot { margin-top: auto; color: var(--ink2); font-size: 13px; }
.print-only { display: none; }
@media print {
  body.printing > *:not(.print-only) { display: none !important; }
  body.printing .print-only { display: block; }
  body.printing .print-only .a4-sheet { width: 100%; height: 100vh; box-shadow: none; padding: 20mm 16mm; aspect-ratio: auto; }
  body.printing .print-only .a4-sheet h1 { font-size: 34px; }
  body.printing .print-only .a4-church { font-size: 28px; }
  body.printing .print-only .a4-steps { font-size: 22px; }
  body.printing .print-only .a4-url { font-size: 24px; }
}
.plan-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.plan-cards.two { grid-template-columns: 1fr 1fr; }
.plan-card { position: relative; border: 2px solid var(--line); background: #fff; border-radius: 14px; padding: 18px 16px; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 6px; min-height: 96px; }
.plan-card b { font-size: 20px; }
.plan-card span { color: var(--ink2); font-size: 17px; }
.plan-card.on { border-color: var(--primary); background: var(--primary-soft); }
.plan-card .rec { position: absolute; top: -12px; right: 12px; background: #F07D1A; color: #fff; font-style: normal; font-weight: 800; font-size: 14px; border-radius: 999px; padding: 2px 10px; }
table.bill { width: 100%; border-collapse: collapse; font-size: 18px; margin: 6px 0 14px; }
table.bill td { padding: 10px 6px; border-bottom: 1px solid var(--line); }
table.bill td.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
table.bill tr.sum td { font-weight: 800; font-size: 21px; border-bottom: 2px solid var(--ink); }
.bank-box { background: var(--ground); border-radius: 14px; padding: 14px 16px; }
.bank-row { display: flex; align-items: center; gap: 12px; padding: 8px 0; font-size: 19px; }
.bank-row .lab { width: 110px; color: var(--ink2); font-size: 17px; flex: none; }
.bank-row b { flex: 1; word-break: break-all; }
.bank-row.big b { font-size: 24px; color: var(--primary); }
.dep-note { color: #8A3A05; font-weight: 700; margin: 6px 0 0; }
.done-card { text-align: center; }
.done-card .done-ico svg { width: 64px; height: 64px; color: var(--ok); }
.icon-prev { display: flex; gap: 26px; margin: 14px 0; }
.icon-slot { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 14px; }
.icon-tile { width: 88px; height: 88px; overflow: hidden; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.icon-tile.circle { border-radius: 50%; }
.icon-tile.square { border-radius: 22px; }
.icon-tile img { width: 100%; height: 100%; object-fit: cover; }
.lab-b { display: block; font-weight: 700; margin-bottom: 6px; font-size: 17px; }
/* 운영자 화면 */
.ops-alert { background: #FDE2E1; color: #9B1C1C; border-radius: 12px; padding: 12px 16px; margin-bottom: 16px; font-weight: 700; }
.ops-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.ops-card { background: #fff; border-radius: 16px; padding: 18px; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 4px; border-top: 6px solid var(--primary); }
.ops-card b { font-size: 44px; line-height: 1; }
.ops-card span { font-size: 20px; font-weight: 800; }
.ops-card small { color: var(--ink2); font-size: 15px; }
.ops-card.red { border-top-color: #D83A3A; }
.ops-card.orange { border-top-color: #F07D1A; }
.ops-card.zero { opacity: .55; }
.ops-small div { padding: 4px 0; color: var(--ink2); font-size: 17px; }
.cols.ops-cols { grid-template-columns: minmax(0, 1fr) 460px; }
.app-pf { display: grid; grid-template-columns: 90px auto 1fr auto; gap: 8px; align-items: center; margin: 8px 0; }
.ops-icon { width: 96px; height: 96px; object-fit: cover; border-radius: 20px; border: 1px solid var(--line); }
.order-row { display: flex; gap: 14px; align-items: center; padding: 14px 6px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.order-row.old { background: #FFF4F3; }
.order-row .dep { display: flex; flex-direction: column; min-width: 190px; }
.order-row .dep b { font-size: 24px; color: var(--primary); }
.order-row .dep span { font-size: 18px; font-weight: 700; }
.dep-big { font-size: 30px; font-weight: 800; color: var(--primary); margin: 4px 0; }
.board { display: grid; grid-template-columns: repeat(5, minmax(220px, 1fr)); gap: 12px; overflow-x: auto; }
.board-col { background: #EEF1F6; border-radius: 14px; padding: 12px; min-height: 200px; }
.board-col h3 { margin: 0 0 10px; font-size: 17px; }
.board-card { background: #fff; border-radius: 12px; padding: 12px; margin-bottom: 10px; box-shadow: var(--shadow); }
.mini-icon { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; }
.cfg-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; align-items: start; }
.cfg-grid .card.need { box-shadow: 0 0 0 3px #F1C4C4; }
label.f.f-inline { display: grid; grid-template-columns: 1fr 140px; gap: 10px; align-items: center; }
label.f.f-inline > span { margin: 0; }
.temp-pw { font-size: 34px; font-weight: 800; letter-spacing: .08em; color: var(--primary); }
@media (max-width: 1250px) {
  .cols.ops-cols { grid-template-columns: 1fr; }
  .ops-cards { grid-template-columns: 1fr 1fr; }
  .cfg-grid { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .svc-cards, .style-cards, .plan-cards, .form-2 { grid-template-columns: 1fr; }
  .acct-band { flex-direction: column; align-items: flex-start; }
  .app-pf { grid-template-columns: 1fr; }
}
/* 앱 꾸미기: 교회 사진·로고, 홈페이지에서 가져오기, 교회안내 바로가기 */
.img-slots { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.img-slot { display: flex; gap: 12px; border: 1px solid var(--line); border-radius: 14px; padding: 12px; align-items: flex-start; }
.slot-pic { width: 128px; height: 72px; border-radius: 10px; background: var(--ground); overflow: hidden; flex: none; display: flex; align-items: center; justify-content: center; color: var(--ink2); font-size: 13px; }
.slot-pic.sq { width: 72px; }
.slot-pic img { width: 100%; height: 100%; object-fit: cover; }
.slot-body p { margin: 2px 0 6px; }
.site-fetch { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 14px; }
.site-fetch .row .in { flex: 1; min-width: 220px; }
.site-cands { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.site-cand { border: 1px solid var(--line); border-radius: 12px; padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.site-cand img { width: 100%; height: 100px; object-fit: contain; background: var(--ground); border-radius: 8px; }
.site-cand select.in { min-height: 40px; font-size: 15px; padding: 4px 8px; }
i.dot { display: inline-block; width: 22px; height: 22px; border-radius: 50%; }
.link-row { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.link-row .link-url { flex: 1; }
.link-ico { width: 40px; height: 40px; border-radius: 10px; background: var(--primary-soft); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; color: var(--primary); flex: none; }
@media (max-width: 800px) { .img-slots { grid-template-columns: 1fr; } .link-row { flex-wrap: wrap; } }
/* 운영사 소식 🔔 · 더 많은 기능 · 교회학교 */
.bell-btn { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 4px 10px; cursor: pointer; color: var(--ink2); display: inline-flex; align-items: center; }
.bell-btn svg { width: 22px; height: 22px; }
.bell-count { position: absolute; top: -6px; right: -6px; background: #F07D1A; color: #fff; border-radius: 999px; font-size: 12px; padding: 0 6px; }
.addon-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.addon-card .addon-price { font-size: 20px; font-weight: 800; color: var(--primary); margin: 6px 0 14px; }
.school-row .in { flex: 1; min-width: 120px; }
.school-post { border: 1px solid var(--line); border-radius: 12px; padding: 10px; margin-bottom: 10px; }
.school-post .row .in { flex: 1; }
.school-post textarea { margin-top: 8px; }
.pick-box .pick-results { max-height: 220px; overflow-y: auto; }
.reply-line { margin: 6px 0 0 12px; font-size: 16px; }
.reply-line.new { color: #9B1C1C; }
.notice-band { margin-bottom: 10px; }

/* ---------- 문의 게시판 · 자주 묻는 질문 ---------- */
.help-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 1100px) { .help-grid { grid-template-columns: 1fr; } }
.faq-list { margin-top: 12px; }
details.qa { border-bottom: 1px solid var(--line); padding: 12px 2px; }
details.qa summary { font-size: 18px; font-weight: 700; cursor: pointer; list-style: none; }
details.qa summary::before { content: 'Q '; color: var(--primary); }
details.qa p { margin: 10px 0 0; font-size: 17px; white-space: pre-line; }
.inq-row { display: block; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; color: inherit; text-decoration: none; }
.inq-row.link:hover { border-color: var(--primary); }
.inq-row.new { border-color: #F2B8B5; background: #FFF7F6; }
.inq-row.hidden-faq { opacity: .6; }
.inq-q { margin-top: 6px; white-space: pre-line; font-size: 17px; }
.inq-a { margin-top: 8px; padding: 10px 12px; background: var(--primary-soft); border-radius: 10px; white-space: pre-line; font-size: 17px; }
#ask-card .err { color: #C62828; min-height: 20px; font-size: 16px; }
.bell-btn .bell-label { margin-left: 6px; font-size: 15px; }

/* ---------- 주보 도우미 (대화창 + 휴대폰 미리보기) — 챗봇_기획 4장 ---------- */
.chat-fab { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; background: var(--primary); color: #fff; border: none;
  border-radius: 999px; padding: 16px 24px; font-size: 19px; font-weight: 800; box-shadow: 0 8px 24px rgba(20,40,80,.28); cursor: pointer; }
.chat-fab .dot { width: 12px; height: 12px; border-radius: 50%; background: #FFD34E; box-shadow: 0 0 0 4px rgba(255,211,78,.35); }
.chat-fab.small { padding: 11px 18px; font-size: 16px; }
.chat-panel { position: fixed; top: 0; right: 0; bottom: 0; z-index: 70; display: none; background: #fff; box-shadow: -10px 0 40px rgba(20,40,80,.18); }
.chat-panel.open { display: grid; grid-template-columns: 400px 430px; }
.chat-pv { background: var(--ground); border-right: 1px solid var(--line); padding: 16px 16px 10px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }
.chat-pv-head { display: flex; flex-direction: column; gap: 2px; }
.chat-pv-head b { font-size: 20px; }
.chat-tabs { margin: 0; }
.chat-phone .phone { width: 340px; }
.chat-phone .phone .scr { height: 620px; }
.phone .prow.flash, .phone .pcard.flash, .phone .body > div.flash { animation: sjflash 2s ease; }
@keyframes sjflash { 0%, 60% { background: #FFF1A8; box-shadow: 0 0 0 3px #FFD34E; } 100% { background: transparent; box-shadow: none; } }
.chat-main { display: flex; flex-direction: column; min-height: 0; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 16px 18px 12px; border-bottom: 1px solid var(--line); }
.chat-title { flex: 1; display: flex; flex-direction: column; }
.chat-title b { font-size: 23px; letter-spacing: -.5px; }
.chat-sub { color: var(--ink2); font-size: 15px; }
.chat-pv-btn { display: none; }
.chat-x { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-size: 20px; cursor: pointer; color: var(--ink2); }
.chat-log { flex: 1; overflow-y: auto; padding: 16px 16px 8px; display: flex; flex-direction: column; gap: 10px; background: #FAFBFD; }
.chat-b { display: flex; }
.chat-b.me { justify-content: flex-end; }
.chat-bt { max-width: 86%; padding: 12px 15px; border-radius: 18px; font-size: 18px; line-height: 1.55; white-space: pre-line; word-break: keep-all; overflow-wrap: anywhere; }
.chat-b.bot .chat-bt { background: var(--primary-soft); color: var(--ink); border-top-left-radius: 6px; }
.chat-b.me .chat-bt { background: #fff; border: 1.5px solid #D5DBE5; border-top-right-radius: 6px; }
.chat-line { font-size: 15px; color: var(--ok); padding: 0 6px; }
.chat-line.warn { color: var(--warn); }
.chat-line .linkish { font-size: 15px; }
.thinking .dots { display: inline-flex; gap: 4px; vertical-align: middle; }
.thinking .dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); opacity: .35; animation: sjdot 1.2s infinite; }
.thinking .dots i:nth-child(2) { animation-delay: .2s; } .thinking .dots i:nth-child(3) { animation-delay: .4s; }
@keyframes sjdot { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-4px); } }
.chat-act { padding: 10px 14px 4px; display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line); background: #fff; }
.chat-act:empty { display: none; }
.chat-qr { display: flex; flex-wrap: wrap; gap: 8px; }
.chat-q, .chat-chip { min-height: 48px; font-size: 17px; padding: 10px 16px; border-radius: 14px; }
.chat-chip { border: 1.5px solid #C9D3E3; background: #fff; color: var(--primary); font-weight: 700; cursor: pointer; }
.chat-chip.on { background: var(--primary); color: #fff; border-color: var(--primary); }
.chat-inp { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; }
.chat-inp .f { flex: 1; min-width: 120px; margin: 0; }
.chat-inp > .in { flex: 1; min-width: 160px; }
.chat-inp .time-in { width: 150px; }
.chat-sw .swatch { width: 42px; height: 42px; }
.chat-bigbtn { font-size: 20px; min-height: 58px; }
.chat-card { border: 2px solid #FFD34E; background: #FFFBEA; border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; font-size: 18px; }
.chat-input { display: flex; gap: 8px; padding: 10px 14px; border-top: 1px solid var(--line); }
.chat-input[hidden] { display: none; }
.chat-text { font-size: 18px; min-height: 52px; resize: none; }
.chat-foot { padding: 4px 16px 12px; text-align: right; }
.linkish { background: none; border: none; color: var(--primary); text-decoration: underline; cursor: pointer; font-size: 16px; padding: 4px; }
.hint-pulse { outline: 4px solid #FFD34E; outline-offset: 4px; animation: sjpulse 1.2s ease 5; }
@keyframes sjpulse { 50% { outline-color: #F5A623; } }
@media (max-width: 1100px) {
  .chat-panel.open { grid-template-columns: 1fr; width: 460px; }
  .chat-pv { display: none; }
  .chat-panel.show-pv .chat-pv { display: flex; max-height: 58vh; border-right: 0; border-bottom: 1px solid var(--line); }
  .chat-panel.open { grid-template-rows: auto minmax(0, 1fr); }
  .chat-pv-btn { display: inline-flex; }
}
@media (max-width: 800px) {
  /* 휴대폰: 아래에서 올라오는 판(화면 전체) */
  .chat-panel.open { left: 0; width: auto; top: 0; border-radius: 0; animation: sjup .25s ease; }
  .chat-phone .phone { width: 300px; } .chat-phone .phone .scr { height: 420px; }
  .chat-fab { right: 14px; bottom: 14px; }
  .chat-bt { max-width: 92%; }
}
@keyframes sjup { from { transform: translateY(40px); opacity: .4; } to { transform: none; opacity: 1; } }
.chat-input .btn { white-space: nowrap; min-width: 88px; }

/* ---------------- 종이주보로 채우기 (screen_fill.js) ---------------- */
.big-cards.two { grid-template-columns: 1fr 1fr; }
.big-card.fill-card { border: 2px solid var(--primary-soft); }
.big-card.fill-card .fill-left { color: var(--primary); font-weight: 700; font-size: 16px; }
.big-card.dim { opacity: .7; }
.fill-done-card { display: flex; align-items: center; gap: 10px; background: #E8F6EC; color: #1E6B3A; border-radius: 14px; padding: 14px 18px; margin-bottom: 16px; font-size: 19px; text-decoration: none; }
.fill-done-card.running { background: var(--primary-soft); color: var(--primary); }
.fill-done-card svg { width: 26px; height: 26px; }
.fill-files { display: flex; flex-wrap: wrap; gap: 12px; margin: 12px 0; }
.fill-file { width: 130px; text-align: center; background: #F6F8FB; border-radius: 12px; padding: 8px; }
.fill-file img, .fill-pdf-thumb { width: 112px; height: 150px; object-fit: cover; border-radius: 8px; background: #fff; display: block; margin: 0 auto 6px; }
.fill-pdf-thumb { display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 22px; color: #B42318; border: 1.5px solid #F1C4C4; }
.fill-tips { color: var(--ink2); font-size: 16px; padding-left: 20px; }
.fill-left { font-size: 18px; font-weight: 700; color: var(--primary); margin: 10px 0; }
.fill-bar { height: 12px; background: #E7ECF4; border-radius: 99px; overflow: hidden; margin: 10px 0; }
.fill-bar i { display: block; height: 100%; background: var(--primary); border-radius: 99px; transition: width .3s; }
.fill-bar.moving i { width: 40%; animation: fillmove 1.6s ease-in-out infinite; }
@keyframes fillmove { 0% { margin-left: -40%; } 100% { margin-left: 100%; } }
.fill-reading { text-align: center; padding: 40px 24px; }
.fill-progress { font-size: 22px; font-weight: 800; margin: 14px 0 4px; }
.fill-book { display: inline-flex; gap: 6px; }
.fill-book span { width: 34px; height: 46px; border-radius: 4px; background: var(--primary-soft); border: 2px solid var(--primary); animation: fillflip 1.2s ease-in-out infinite; }
.fill-book span:nth-child(2) { animation-delay: .2s; } .fill-book span:nth-child(3) { animation-delay: .4s; }
@keyframes fillflip { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.fill-howto li { font-size: 18px; margin: 6px 0; }
.fill-cols { display: grid; grid-template-columns: minmax(280px, 40%) minmax(0, 1fr); gap: 20px; align-items: start; }
.fill-orig { position: sticky; top: 12px; }
.fill-viewer { margin-top: 10px; max-height: 78vh; overflow: auto; }
.fill-img { width: 100%; border-radius: 8px; cursor: zoom-in; }
.fill-img.zoom { width: 200%; max-width: none; cursor: zoom-out; }
.fill-pdf { width: 100%; height: 76vh; border: 1px solid #E1E6EE; border-radius: 8px; }
.fill-page { font-weight: 700; min-width: 70px; text-align: center; }
.fill-sec.off { opacity: .6; }
.fill-sec-head { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 8px; }
.fill-sec-head b { font-size: 20px; }
.fill-table { width: 100%; border-collapse: collapse; font-size: 17px; }
.fill-table th { text-align: left; color: var(--ink2); font-weight: 600; padding: 6px; border-bottom: 1.5px solid #E1E6EE; }
.fill-table td { padding: 7px 6px; border-bottom: 1px solid #EEF1F6; vertical-align: top; }
.fill-table .in { min-height: 40px; font-size: 16px; padding: 6px 8px; }
.fill-row { cursor: pointer; }
.fill-row.low td, .fill-item.low { background: #FFF6C7; }
.fill-row.personal td, .fill-item.personal { background: #FFE6D2; }
.fill-row.out td { text-decoration: line-through; color: #9AA4B2; background: none; }
.fill-row.st-section td { font-weight: 700; background: #F3F5F9; }
.fill-sub td { border-bottom: 1px solid #EEF1F6; padding: 2px 6px 8px; }
.fill-sub td > * { margin-right: 10px; }
.fill-tools { white-space: nowrap; text-align: right; }
.fill-tools .btn { margin-left: 4px; }
.fill-why { color: #8A6100; font-size: 15px; }
.fill-why.orange, .fill-warn.orange { color: #B54708; }
.fill-warn { background: #FFF6C7; color: #7A5A00; border-radius: 10px; padding: 8px 12px; margin: 6px 0; font-size: 16px; }
.fill-warn.orange { background: #FFE6D2; }
.fill-yellow-text { background: #FFE98A; padding: 0 6px; border-radius: 6px; }
.fill-item { display: flex; gap: 10px; align-items: flex-start; padding: 10px; border-radius: 10px; border-bottom: 1px solid #EEF1F6; cursor: pointer; }
.fill-item.out { opacity: .5; text-decoration: line-through; }
.fill-body { white-space: pre-line; color: var(--ink2); font-size: 16px; margin-top: 4px; }
.fill-fields > div, .fill-fields > label { margin: 6px 0; font-size: 18px; }
.fill-bottom { position: sticky; bottom: 0; background: rgba(244, 246, 250, .96); padding: 14px 0; margin-top: 8px; border-top: 1px solid #E1E6EE; }
.fill-bottom .btn.big { min-height: 56px; }
.fill-changes li { font-size: 17px; }
.fill-ok-bar { background: #E8F6EC; color: #1E6B3A; border-radius: 12px; padding: 12px 16px; margin-bottom: 14px; font-size: 18px; font-weight: 700; }
.fill-line { background: #F3F7FF; border-radius: 12px; padding: 10px 14px; margin-bottom: 14px; font-size: 17px; }
tr.need-row td:first-child { position: relative; }
tr.need-row td:first-child::before { content: ''; position: absolute; left: -4px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: #F5B700; box-shadow: 0 0 0 3px #FFF6C7; }
tr.need-row td { background: #FFFBE6; }
@media (max-width: 1100px) {
  .fill-cols { grid-template-columns: 1fr; }
  .fill-orig { position: static; }
  .fill-viewer { max-height: 50vh; }
  .big-cards.two { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .fill-table td, .fill-table th { font-size: 15px; padding: 5px 3px; }
  .fill-tools .btn { padding: 4px 8px; }
  .fill-bottom .row { flex-wrap: nowrap; gap: 6px; }
  .fill-bottom .btn.big { min-height: 48px; font-size: 17px; padding: 10px 12px; flex: 1; }
}
.big-cards.two .big-card .t { word-break: keep-all; }
@media (min-width: 801px) { .fill-bottom .row { padding-right: 200px; } }
@media (max-width: 800px) { .fill-bottom { position: static; background: none; border-top: none; } }

/* 폰: 원래 주보 칸이 화면 밖으로 넘치지 않게 */
.fill-cols > * { min-width: 0; }
.fill-orig { overflow: hidden; }
.fill-orig .row { flex-wrap: nowrap; }
@media (max-width: 800px) { .fill-viewer { max-height: 45vh; } .fill-sec .fill-table { display: block; overflow-x: auto; } }

/* ---------- 교회소개 · 교회안내 · 교회 일정 · 비밀번호 찾기 (2026-10-09) ---------- */
.big-switch { display: inline-flex; align-items: center; gap: 14px; cursor: pointer; font-size: 20px; font-weight: 700; }
.big-switch .sw-in { position: absolute; opacity: 0; width: 1px; height: 1px; }
.big-switch .sw { width: 62px; height: 34px; border-radius: 999px; background: #C9D0DA; position: relative; flex: none; transition: background .15s; }
.big-switch .sw::after { content: ''; position: absolute; top: 4px; left: 4px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: left .15s; }
.big-switch .sw-in:checked + .sw { background: var(--ok); }
.big-switch .sw-in:checked + .sw::after { left: 32px; }
.big-switch .sw-in:focus-visible + .sw { outline: 3px solid var(--primary); outline-offset: 2px; }
.hint-card { background: #FFFBF2; border: 1px solid #F3E2BF; box-shadow: none; }
.page-row .page-ico { font-size: 26px; width: 40px; text-align: center; flex: none; }
.row-tools { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.tpl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin: 10px 0 6px; }
.tpl-card { display: flex; flex-direction: column; gap: 4px; text-align: left; padding: 16px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; font-size: 18px; }
.tpl-card:hover, .tpl-card:focus { border-color: var(--primary); background: var(--primary-soft); }
.tpl-card .tpl-ico { font-size: 28px; }
.mini-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 12px; }
.mini-grid label.f { margin-bottom: 8px; }
.staff-row { display: grid; grid-template-columns: 1.1fr 1.2fr 1.3fr 1.2fr auto auto; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.staff-row .check.small { font-size: 14px; gap: 6px; white-space: nowrap; }
.staff-row .check.small input { width: 18px; height: 18px; }
.event-row .btn { flex: none; }
.forgot-link { font-size: 17px; font-weight: 700; }
.nav a small.off { margin-left: auto; font-size: 12px; background: var(--gray-bg); color: var(--gray); padding: 1px 7px; border-radius: 8px; }
.pw-req-card { border: 2px solid #F4B4B4; }
.pw-req { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 10px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 800px) { .staff-row { grid-template-columns: 1fr 1fr; } .big-switch { font-size: 18px; } }
/* 비밀번호 찾기 대화창 (주보 도우미와 같은 모양) */
.login.pw-chat { width: 480px; padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.pw-chat .chat-head { text-decoration: none; }
.pw-chat .chat-x { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.pw-chat .pw-chat-log { min-height: 240px; max-height: 52vh; }
.pw-chat .chat-act { padding: 12px 14px 16px; }
.pw-chat .chat-q { white-space: normal; text-align: left; }
.email-band .acct-btn { margin-left: auto; }
/* 종이주보로 채우기 — 시험 2 반영(2026-10-13): 알려 드리는 말·소식 안의 표·매주 같은 쪽 */
.info-bar.fill-info { margin-bottom: 10px; }
.fill-note { background: #EEF4FF; color: #173C78; border-radius: 10px; padding: 8px 12px; margin: 6px 0; font-size: 16px; display: inline-block; text-decoration: none; }
.fill-mini { margin: 4px 0 0; padding-left: 20px; }
.fill-ntable { margin-top: 6px; overflow-x: auto; }
.fill-ntable .fill-table { font-size: 15px; }
.fill-ntable .fill-table td, .fill-ntable .fill-table th { padding: 4px 6px; }
.fill-sec.fixed .fill-body { max-height: 6em; overflow: hidden; }

/* ---- 교회마다 주보 모양 배우기 (2026-10-13, AI채우기_기획 12장) ---- */
.fill-learn-top { background: #EAF6EE; color: #1E5B33; border-radius: 12px; padding: 12px 16px; margin-bottom: 12px; font-size: 18px; }
.fill-learn-top .linkish { font-size: 17px; }
.fill-memo-used { color: #5B6472; font-size: 15px; margin: 4px 0 6px; }
.fill-missing { color: #5B6472; font-size: 16px; margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.memo-list { font-size: 18px; line-height: 1.7; padding-left: 22px; }
.memo-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
.memo-row .memo-text { flex: 1 1 280px; }
.memo-row .memo-dot { color: #2E7D4F; }
.memo-row.resting { color: var(--ink2); }
.memo-row.resting .memo-dot { color: var(--gray); }
.memo-rest-head { margin-top: 16px; }
.memo-undo { background: #333; color: #fff; border-radius: 12px; padding: 10px 14px; margin-bottom: 12px; font-size: 17px; display: flex; align-items: center; gap: 10px; }
.memo-undo .btn { background: #fff; }
.learn-band { background: #EAF6EE; color: #1E5B33; border-radius: 12px; padding: 10px 14px; margin: 8px 0; font-size: 17px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.learn-band.warn { background: #FFF6E5; color: #7A4B00; }
.learn-card { border: 2px solid #9CCBAA; background: #F6FBF7; border-radius: 14px; padding: 16px 18px; margin: 10px 0; }
.learn-card h3 { margin: 0 0 4px; font-size: 20px; }
.learn-card .learn-item { display: flex; gap: 8px; font-size: 18px; margin: 8px 0; }
.learn-done { font-size: 18px; color: #1E5B33; margin: 0; }
.rule-size { display: flex; align-items: center; gap: 4px; }
.rule-bar { display: inline-block; width: 140px; height: 12px; background: var(--gray-bg); border-radius: 6px; overflow: hidden; vertical-align: middle; }
.rule-bar i { display: block; height: 100%; background: var(--primary); }
.rule-table td { font-size: 16px; }
.rule-table tbody tr { cursor: default; }
.rule-table tr.rule-pending td { background: #FFF9EC; }
.rule-table tr.rule-off td { color: var(--gray); }
.rule-draft { color: #8A6100; margin-top: 4px; }
.nowrap { white-space: nowrap; }
.ver-list details { border-bottom: 1px solid var(--line); padding: 8px 0; }
.ver-list summary { cursor: pointer; font-size: 17px; }
.learn-graph { display: flex; align-items: flex-end; gap: 14px; overflow-x: auto; padding: 10px 4px 4px; min-height: 200px; }
.lg-col { display: flex; flex-direction: column; align-items: center; min-width: 74px; }
.lg-val { font-weight: 800; font-size: 16px; }
.lg-bar { width: 34px; background: var(--primary); border-radius: 6px 6px 0 0; }
.lg-lab { font-size: 13px; color: var(--ink2); margin-top: 4px; text-align: center; }
.lg-mark { font-size: 12px; color: #2E7D4F; text-align: center; max-width: 110px; }
.learn-watch-row { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 17px; }

/* 지난주 → 이번 주 미리 채우기 · 경조사 (기능명세 13·14장) */
.pf-gray { color: #5B6472; font-size: 16px; margin: 6px 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pf-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pf-hint { display: flex; flex-wrap: wrap; gap: 10px; margin: 2px 0 0; }
.pf-hint:empty { display: none; }
.pf-mark { color: #6B7280; font-size: 14px; }
.pf-need { color: #8A5A00; font-size: 14px; font-weight: 700; }
.pf-special-line { margin: 4px 0 10px; color: #4B5563; }
.pf-suggest { margin: 10px 0; }
.badge.orange { background: #FFE7D1; color: #B4520B; font-size: 14px; padding: 2px 10px; }
.badge.green { background: #E3F3E6; color: #2E7D4F; font-size: 14px; padding: 2px 10px; }
.notice-item.family { border-left: 4px solid #F08A24; padding-left: 8px; border-radius: 6px; }
.notice-item.family.off textarea { color: #8A94A3; background: #F6F7F9; }
.family-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 4px; }
.family-line.off { color: #8A94A3; }
.family-setting { flex-wrap: wrap; }
.fill-item.family { border: 2px solid #F5A35C; background: #FFF8F1; }
.fill-item.time-changed { box-shadow: inset 4px 0 0 #6FA3EF; }
.fill-item.flash { outline: 3px solid #6FA3EF; }
.fill-diff { background: #DCEBFF; font-weight: 800; border-radius: 3px; padding: 0 1px; }
.fill-why.blue { color: #1D4E9E; }
.fill-tags { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-left: 4px; }
.fill-time-top { font-size: 18px; color: #1D4E9E; margin: 0 0 10px; display: flex; align-items: center; gap: 8px; }
.fill-special-label { color: #6A4BA3; font-weight: 700; }
.fill-order-changed { display: grid; gap: 4px; }
.fill-missing.fold { font-size: 14px; opacity: .8; }
.fill-pf-ok { color: #4B5563; }
.fill-dropped { margin-top: 10px; color: #5B6472; }
.fill-dropped summary { cursor: pointer; font-size: 16px; }
.fill-announced { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }

/* 예배안내 → 예배 시간표 (2026-10-13) */
.worship-tabs { margin: 0 0 6px; }
.worship-tabs button { font-size: 18px; padding: 10px 22px; }
.svc-group h2 { margin-bottom: 4px; }
.svc-row .svc-when { font-size: 17px; color: var(--ink); margin-top: 2px; }
.svc-row.svc-hidden h4, .svc-row.svc-hidden .svc-when { color: var(--ink2); }
.chip.small-chip { padding: 8px 16px; font-size: 17px; min-height: 44px; }
.svc-days, .svc-gchips { gap: 8px; }
.music-link { margin: 12px 0 4px; }
.music-link a { font-weight: 700; }
.music-line.flash { animation: sjflash 2s ease; }
.phone .ptimes { padding: 4px 12px; }
.phone .ptime { padding: 9px 0; border-bottom: 1px solid #EEF1F5; }
.phone .ptime:last-child { border-bottom: none; }
.phone .ptime .ptm { color: var(--p); font-weight: 700; font-size: 12px; }
.phone .ptime .pds { color: #5B6573; font-size: 11px; margin-top: 2px; }
.svc-ghead { align-items: center; gap: 8px; margin-bottom: 4px; flex-wrap: wrap; }
.svc-ghead h2 { margin: 0; }
.svc-group.svc-empty { background: #FAFBFD; }

/* ---------- 운영 화면과 교회 화면 나누기 (결정 2026-10-14) ---------- */
/* 운영 화면: 진한 왼쪽 메뉴 + 맨 위 진한 띠 「스마트주보 운영」 */
.shell.ops-mode .side.ops-side { background: #1E2738; border-right-color: #1E2738; }
.ops-brand { color: #fff; }
.ops-brand b { color: #FFC34D; }
.shell.ops-mode .nav a { color: #E3E8F1; }
.shell.ops-mode .nav a:hover { background: rgba(255,255,255,.08); }
.shell.ops-mode .nav a.on { background: #FFC34D; color: #1E2738; }
.shell.ops-mode .nav a.on .count { background: #1E2738; color: #fff; }
.ops-topband { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; background: #1E2738; color: #fff; border-radius: 14px; padding: 12px 18px; margin: 0 0 12px; }
.ops-topband b { font-size: 21px; font-weight: 800; color: #FFC34D; }
.ops-topband span { font-size: 15px; color: #C9D1DE; }
/* 운영자가 교회 화면을 보는 중 — 늘 맨 위 */
.ops-viewband { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; background: #1E2738; color: #fff; border-radius: 14px; padding: 10px 14px 10px 18px; margin: 0 0 12px; font-size: 18px; position: sticky; top: 0; z-index: 30; }
.ops-viewband .ops-viewtext { flex: 1; min-width: 200px; }
.ops-viewband b { color: #FFC34D; }
.ops-viewband .ops-back { background: #FFC34D; color: #1E2738; border: 0; font-weight: 800; text-decoration: none; min-height: 42px; display: inline-flex; align-items: center; }
.ops-others { display: flex; flex-direction: column; }
.ops-other { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 18px; }
.ops-other .spacer { flex: 1; }
/* 운영 처음 화면 — 한눈 보기 */
.ops-stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.ops-stat { background: #fff; border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 4px; border-left: 6px solid #1E2738; min-width: 0; }
.ops-stat .ops-stat-label { font-size: 16px; font-weight: 800; color: var(--ink2); }
.ops-stat b { font-size: 38px; line-height: 1.05; }
.ops-stat small { color: var(--ink2); font-size: 14px; }
.ops-stat.blue { border-left-color: var(--primary); }
.ops-stat.red { border-left-color: #D83A3A; }
.ops-stat.orange { border-left-color: #F07D1A; }
.ops-stat.green { border-left-color: #2E7D4F; }
.ops-stat.zero b { color: #9AA3AF; }
.ops-money-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.ops-money-head h2 { margin: 0; }
.ops-money-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 14px 0 6px; }
.ops-money-box { background: var(--ground); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ops-money-box span { font-size: 16px; font-weight: 700; color: var(--ink2); }
.ops-money-box b { font-size: 30px; line-height: 1.1; word-break: keep-all; }
.ops-money-box.ok b { color: var(--ok); }
.ops-money-box.hot b { color: var(--red); }
.ops-todo-row { display: grid; grid-template-columns: 150px minmax(120px, 220px) 1fr auto; align-items: center; gap: 12px; padding: 12px 6px; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: 18px; }
.ops-todo-row:hover { background: var(--primary-soft); }
.ops-todo-kind { font-size: 15px; font-weight: 800; border-radius: 8px; padding: 3px 10px; text-align: center; background: var(--gray-bg); color: var(--gray); }
.ops-todo-row.tone-red .ops-todo-kind { background: #FDE2E1; color: #9B1C1C; }
.ops-todo-row.tone-orange .ops-todo-kind { background: var(--warn-bg); color: var(--warn); }
.ops-todo-row.tone-blue .ops-todo-kind { background: var(--primary-soft); color: var(--primary); }
.ops-todo-text { color: var(--ink2); }
.ops-todo-go { color: var(--primary); font-weight: 700; font-size: 16px; }
h2.ops-sub { font-size: 20px; margin: 22px 0 10px; }
/* 교회 목록 칸 */
.ops-list td { font-size: 16px; }
.ops-list tr.is-demo td, .ops-table tr.is-demo td { background: #FAFAFB; color: var(--ink2); }
.ops-table .hot-text { color: var(--red); font-weight: 700; }
.ops-acts { display: flex; flex-direction: column; gap: 6px; align-items: stretch; }
.ops-acts .btn { white-space: nowrap; }
.ops-prog-wrap { min-width: 110px; }
.ops-prog { display: flex; gap: 3px; margin: 4px 0 3px; }
.ops-prog i { flex: 1; height: 8px; border-radius: 4px; background: var(--gray-bg); }
.ops-prog i.on { background: #2E7D4F; }
.ops-prog-wrap small { font-size: 13px; color: var(--ink2); white-space: nowrap; }
/* 입금 반영 창 */
.pay-calc { background: var(--ground); border-radius: 12px; padding: 12px 14px; margin: 10px 0; }
.pay-calc-main { font-size: 19px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.pay-calc .pay-after { color: var(--primary); font-size: 22px; }
.pay-left { color: var(--ok); font-weight: 700; margin-top: 4px; }
.pay-short { color: var(--red); font-weight: 700; margin-top: 4px; }
@media (max-width: 1250px) {
  .ops-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .ops-stats { grid-template-columns: 1fr 1fr; }
  .ops-money-row { grid-template-columns: 1fr; }
  .ops-todo-row { grid-template-columns: 1fr; gap: 4px; }
  .ops-todo-row .ops-todo-kind { justify-self: start; }
  .ops-todo-row .ops-todo-go { display: none; }
  .ops-cards { grid-template-columns: 1fr 1fr; }
  .ops-viewband { font-size: 16px; }
}
@media (min-width: 801px) {
  /* 긴 화면에서도 진한 왼쪽 메뉴 바탕이 끝까지 */
  .shell.ops-mode { background: linear-gradient(to right, #1E2738 290px, transparent 290px); }
}
.shell.ops-mode .nav svg { color: #E3E8F1; }
@media (max-width: 800px) {
  /* 폰: 왼쪽 메뉴가 위로 쌓이므로 「운영자로 ○○교회를 보고 있어요」 띠는 화면 아래에 늘 붙임 */
  .shell.ops-viewing { padding-bottom: 76px; }
  .shell.ops-viewing .ops-viewband { position: fixed; top: auto; bottom: 0; left: 0; right: 0; margin: 0; border-radius: 14px 14px 0 0; padding: 10px 12px; box-shadow: 0 -4px 16px rgba(0,0,0,.18); }
  .shell.ops-viewing .ops-viewband .ops-viewtext { min-width: 0; }
}

/* ---------- 운영 전용 주소 (결정 2026-10-15: sio.net/smartjubo) ---------- */
.ops-login-wrap { background: linear-gradient(135deg, #1E2738, #2C3A55); }
.login.ops-login { border-top: 6px solid #FFC34D; }
.login.ops-login h1 { color: #1E2738; }
.login.ops-login .btn.primary { background: #1E2738; border-color: #1E2738; color: #fff; }
.ops-login-mark { display: inline-block; background: #1E2738; color: #FFC34D; font-weight: 800; font-size: 14px; border-radius: 999px; padding: 4px 12px; margin: 0 0 10px; }
.login.ops-login p.ops-login-church { margin: 18px 0 0; text-align: center; font-size: 15px; color: var(--ink2); }
.ops-topband .ops-site-hint { margin-left: auto; font-size: 14px; color: #FFC34D; text-decoration: underline; }
