/* 화면 톤(오너 11-10): 기본은 밝은 톤. 어두운 톤은 사용자가 설정 화면에서 고를 때만(<html data-theme="dark">, static/theme.js) — 폰의 시스템 설정은 더 이상 따르지 않는다. */
:root { color-scheme:light; --bg:#f6f3ee; --bg-top:#e6eee9; --fg:#1f2933; --card:#fff; --line:#ddd7cc; --accent:#2c5a66; --on-accent:#fff; --muted:#55606c; --chip:#ebe6dc; --thumb:#e4dfd5; --sil:#cfc9bd;
  --tint-org:#e1eee6; --ink-org:#2d6a4f; --head-org:#2f6a50;  --tint-office:#e2e9f4; --ink-office:#2f4f85; --head-office:#2f4f85;
  --tint-people:#f4e6df; --ink-people:#9a4a2e; --head-people:#8f452b;  --tint-tool:#ebe4f2; --ink-tool:#5d4685; --head-tool:#5d4685;  --tint-def:#dcecef; --ink-def:#25606c; --head-def:#25606c; --on-head:#fff; }
:root[data-theme="dark"] { color-scheme:dark; --bg:#12181d; --bg-top:#17242a; --fg:#e9edf0; --card:#1b242b; --line:#2e3a43; --accent:#8fc3cf; --on-accent:#10181c; --muted:#a3afba; --chip:#222d35; --thumb:#2a353d; --sil:#44525c;
  --tint-org:#1f3329; --ink-org:#8fd1b0; --head-org:#244636;  --tint-office:#202c42; --ink-office:#9bb8ee; --head-office:#27375a;
  --tint-people:#3a251d; --ink-people:#f0a888; --head-people:#5a3426;  --tint-tool:#2c2540; --ink-tool:#c2aaf0; --head-tool:#3d3260;  --tint-def:#1b3238; --ink-def:#8fcfdc; --head-def:#1f4650; --on-head:#f2f5f7; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin:0; background:var(--bg) linear-gradient(180deg, var(--bg-top) 0, var(--bg) 16rem) no-repeat; color:var(--fg); font:16px/1.6 -apple-system, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif; }
.trial-band { background:#fde7ea; color:#b3261e; border-bottom:2px solid #b3261e; text-align:center; font-weight:700; padding:.5rem 1rem; padding-top:max(.5rem, env(safe-area-inset-top)); }   /* 설정 yoram_trial_band — 모든 화면 맨 위 */
:root[data-theme="dark"] .trial-band { background:#4a1d22; color:#ffb4ab; border-bottom-color:#ffb4ab; }
.wrap { max-width:32rem; margin:0 auto; padding:max(1rem, env(safe-area-inset-top)) 1rem 2rem; }
.brand { margin:1.5rem 0 .25rem; font-size:2rem; color:var(--accent); }
.sub { margin:0 0 1.25rem; color:var(--muted); }
.card { background:var(--card); border:1px solid var(--line); border-radius:14px; box-shadow:0 1px 2px rgba(31,41,51,.06); padding:1rem 1.1rem; }
.card h2 { margin:.1rem 0 .6rem; font-size:1.15rem; }
.note { color:var(--muted); font-size:.95rem; }
.btn { min-height:44px; padding:.5rem 1.2rem; border:0; border-radius:10px; background:var(--accent); color:var(--on-accent); font:inherit; font-weight:600; }
.search { display:flex; gap:.5rem; align-items:center; flex-wrap:wrap; margin-bottom:1rem; }
.search label { flex-basis:100%; font-size:.95rem; color:var(--muted); }
.search input { flex:1 1 10rem; min-height:44px; padding:.4rem .7rem; border:1px solid var(--line); border-radius:10px; background:var(--card); color:var(--fg); font:inherit; }
.people { list-style:none; margin:0 0 1rem; padding:0; }
.people li { border-bottom:1px solid var(--line); }
.people a { display:flex; justify-content:space-between; gap:.75rem; padding:.7rem .2rem; min-height:44px; color:var(--fg); text-decoration:none; }
.people .meta, .meta { color:var(--muted); font-size:.95rem; }
.pager { display:flex; justify-content:space-between; }
.detail .name { margin:.2rem 0 0; font-size:1.5rem; }

.detail dt { margin-top:.7rem; color:var(--muted); font-size:.9rem; }
.detail dd { margin:0; font-size:1.1rem; }
.detail dd.note { font-size:.9rem; }   /* 오너 11-06 yrmyinfo: 본인 카드 생년월일 아래 안내 두 줄 */
.nocopy { -webkit-user-select:none; user-select:none; -webkit-touch-callout:none; }
.wm { position:fixed; inset:0; z-index:5; overflow:hidden; pointer-events:none; display:flex; flex-wrap:wrap; align-content:space-around; justify-content:space-around; opacity:.08; transform:rotate(-20deg) scale(1.4); font-weight:700; font-size:1.1rem; color:var(--fg); -webkit-user-select:none; user-select:none; }
.wm span { padding:1.4rem 1.6rem; }
/* ---- yr11d: 디자인 — 차분한 교회용 색(밝음·어두움)·선 아이콘(Lucide ISC, /static/icons.svg)·카드형 타일. 디모데 앱의 그림·색을 따르지 않는다. 글자 대비 4.5:1 이상(실측 표는 커밋 설명). ---- */
.ic { width:1.5rem; height:1.5rem; flex:0 0 auto; fill:none; stroke:currentColor; stroke-width:1.75; stroke-linecap:round; stroke-linejoin:round; vertical-align:-.3em; }
[data-g="org"], .tone-teal, .tone-slate, .tone-blue, .tone-ink { --g-tint:var(--tint-org); --g-ink:var(--ink-org); --g-head:var(--head-org); }
[data-g="office"], .tone-blue2, .tone-navy, .tone-grey, .tone-dark, .tone-blue3 { --g-tint:var(--tint-office); --g-ink:var(--ink-office); --g-head:var(--head-office); }
[data-g="people"], .tone-dark2, .tone-newfam { --g-tint:var(--tint-people); --g-ink:var(--ink-people); --g-head:var(--head-people); }
[data-g="tool"] { --g-tint:var(--tint-tool); --g-ink:var(--ink-tool); --g-head:var(--head-tool); }
.tone-def { --g-tint:var(--tint-def); --g-ink:var(--ink-def); --g-head:var(--head-def); }
.mhead { position:relative; background:linear-gradient(160deg, var(--head-def), var(--head-office)); color:var(--on-head); margin:0 -1rem 1rem; padding:1.1rem 1rem; text-align:center; border-radius:0 0 18px 18px; overflow:hidden; }
.mhead::before { content:""; position:absolute; right:-.6rem; top:50%; width:5.5rem; height:5.5rem; margin-top:-2.75rem; opacity:.12; pointer-events:none; background:linear-gradient(currentColor,currentColor) 50% 0/6px 100% no-repeat, linear-gradient(currentColor,currentColor) 0 36%/100% 6px no-repeat; }   /* 아주 옅은 십자 무늬 */
.mhead h1 { position:relative; margin:0; font-size:1.2rem; letter-spacing:.02em; }
.hsearch { display:flex; gap:.5rem; align-items:center; margin:0 0 1rem; }
.hsearch input { flex:1 1 auto; min-width:0; min-height:44px; padding:.4rem .9rem; border:1px solid var(--line); border-radius:22px; background:var(--card); color:var(--fg); font:inherit; }
.hsearch .btn { flex:0 0 auto; display:inline-flex; align-items:center; gap:.3rem; background:var(--card); color:var(--accent); border:1px solid var(--line); border-radius:22px; font-weight:600; }
.hsearch .btn .ic { width:1.15rem; height:1.15rem; }
.tiles { display:grid; grid-template-columns:repeat(6, 1fr); gap:.6rem; margin:0 0 1.2rem; }
.tile { grid-column:span 2; position:relative; display:flex; flex-direction:column; justify-content:flex-end; aspect-ratio:1/1; padding:.65rem; border-radius:16px; background:var(--card); border:1px solid var(--line); box-shadow:0 1px 2px rgba(31,41,51,.06); color:var(--fg); font-size:.98rem; font-weight:600; line-height:1.3; text-decoration:none; white-space:pre-line; word-break:keep-all; overflow-wrap:anywhere; }
.tile .ic { position:absolute; top:.6rem; left:.6rem; box-sizing:content-box; width:1.5rem; height:1.5rem; padding:.45rem; border-radius:12px; background:var(--g-tint); color:var(--g-ink); }
.tile small { font-size:.72rem; font-weight:400; color:var(--muted); }
.tile { isolation:isolate; }                    /* 오너 11-10: 글자와 아이콘이 겹치면 가려지는 쪽은 아이콘 — 아이콘을 칸 안 맨 뒤(z-index:-1)로 보내 글자가 늘 위에 그려진다. 겹치지 않으면 모습 그대로 */
.tile .ic { z-index:-1; }
.tile .ic.ic-under { opacity:.28; }               /* 글자와 실제로 겹친 칸만(yoram.js 가 잰다 — 글자 크게·좁은 폰) 아이콘을 연하게 해 글자가 또렷이 읽히게 한다 */
html.big .tile { font-size:.84rem; }               /* 오너 11-10: 글자 크게일 때만 칸 글자를 한 단계 줄이고(.98→.84rem) */
html.big .tile .ic { width:1.3rem; height:1.3rem; }   /* 아이콘을 조금 작게(1.5→1.3rem) — 390px 폰 글자 크게(칸 110px)에서 두 줄 이름도 아이콘 아래 끝(2.8rem) 아래에 놓인다. 보통·작은 글자는 그대로 */
html.big .tile { padding-top:2.95rem; }          /* 글자 크게일 때만: 칸 위쪽 2.95rem(=아이콘 위 여백 .6 + 상자 2.2 + 여유 .15)은 아이콘 자리 — 이름이 세 줄까지 늘어도(예: 준비 중 칸) 칸이 글자에 맞게 커질 뿐 글자가 아이콘 영역으로 올라가지 않는다 */
.tile.off { opacity:.62; box-shadow:none; background:transparent; border-style:dashed; }
.shead { margin:0 -1rem 1rem; padding:0 1rem .8rem; color:var(--on-head); background:var(--g-head); border-radius:0 0 18px 18px; }
.shead-bar { display:flex; align-items:center; justify-content:space-between; gap:.5rem; padding:.7rem 0 .5rem; }
.htitle { margin:0; font-size:1.25rem; text-align:center; flex:1 1 auto; }
.hbtn { color:var(--on-head); background:rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.32); border-radius:20px; padding:.3rem .8rem .3rem .5rem; text-decoration:none; font-size:.95rem; min-height:36px; display:inline-flex; align-items:center; gap:.15rem; }
.hbtn .ic { width:1.2rem; height:1.2rem; }
.shead .hsearch input { border-color:transparent; }
/* ---- yr10: 스마트요람 구조(홈 타일·머리·하단 띠) — 색·아이콘은 나중 단계 ---- */
.grp { background:var(--card); border:1px solid var(--line); margin:0 0 1rem; }
.grp-h { margin:0; padding:.7rem 1rem; background:var(--chip); color:var(--fg); font-size:1.15rem; border-bottom:1px solid var(--line); }
.pgrid { display:grid; gap:.9rem .5rem; padding:.8rem .6rem 1rem; }
.pgrid.cols3 { grid-template-columns:repeat(3, 1fr); } .pgrid.cols2 { grid-template-columns:repeat(2, 1fr); }
.pcard { display:flex; flex-direction:column; align-items:center; gap:.35rem; color:var(--fg); text-decoration:none; text-align:center; min-width:0; }
.pthumb { width:100%; max-width:7rem; aspect-ratio:4/5; object-fit:cover; background:#e6e6e6; }
.pthumb.sil { display:block; background:radial-gradient(circle at 50% 38%, var(--sil) 0 22%, transparent 23%), radial-gradient(ellipse at 50% 105%, var(--sil) 0 48%, transparent 49%) var(--thumb); }
.pname { font-size:.95rem; font-weight:600; overflow-wrap:anywhere; }
.prole { font-weight:400; color:var(--accent); }                          /* yrcmte11: 위원회 역할 글자(지휘·리더·반주자) — 이름보다 가볍게 */
.rrow-h { padding:.6rem .8rem 0; font-size:.9rem; font-weight:700; color:var(--accent); }   /* yrcmte12: 찬양팀 역할별 줄 머리(반주·드럼·싱어) */
.plab { padding-top:.6rem; }
.pgrid.cols1 { grid-template-columns:1fr; justify-items:center; }
.more { border-top:1px solid var(--line); }
.morebtn { cursor:pointer; list-style:none; padding:.7rem 1rem; font-weight:600; color:var(--accent); min-height:44px; }
.morebtn::-webkit-details-marker { display:none; }
.cmte-h { cursor:pointer; list-style:none; padding:.7rem 1rem; background:var(--chip); color:var(--fg); font-size:1.15rem; font-weight:700; min-height:44px; }
.cmte-h::-webkit-details-marker { display:none; }
.cmte-empty { cursor:default; }                                         /* yrcmte10: 인원 미정 위원회 — 펼침 없음 */
.cmte-n { font-weight:400; font-size:.95rem; color:var(--accent); }
/* yrmission5·6(오너 11-13): 선교회 = 위원회 모양 묶음 토글 → 회마다 제목 줄(sub-h 모양) + 회장 사진. 제목 줄을 누르면 회원 이름 칩(직분 없음, 3열 · 글자 크게 2열) */
.mo-h { display:block; list-style:none; }
summary.mo-h { cursor:pointer; }
.mo-h::-webkit-details-marker { display:none; }
.mo-t { display:flex; align-items:center; gap:.3rem; min-height:44px; padding:.35rem 1rem; font-size:1rem; font-weight:700; color:var(--fg); border-top:1px solid var(--line); border-bottom:1px solid var(--line); background:var(--card); }
summary.mo-h .mo-t::after { content:""; margin-left:auto; width:.5rem; height:.5rem; border-right:2px solid var(--accent); border-bottom:2px solid var(--accent); transform:translateY(-.15rem) rotate(45deg); }
.mo[open] > summary.mo-h .mo-t::after { transform:translateY(.1rem) rotate(-135deg); }
.ngrid { display:grid; grid-template-columns:repeat(3, 1fr); gap:.4rem; padding:.6rem .6rem 1rem; }
.nchip { display:flex; align-items:center; justify-content:center; min-width:0; min-height:44px; padding:.3rem .25rem; background:var(--chip); color:var(--fg); text-decoration:none; text-align:center; line-height:1.25; border-radius:.4rem; word-break:keep-all; }
html.big .ngrid { grid-template-columns:repeat(2, 1fr); }
.sub-h { margin:0; padding:.45rem 1rem; font-size:1rem; color:var(--fg); border-top:1px solid var(--line); border-bottom:1px solid var(--line); background:var(--card); }
.chosung { display:grid; grid-template-columns:repeat(5, 1fr); gap:.6rem; justify-items:center; padding:.4rem 0 1rem; }
.cbtn { display:flex; align-items:center; justify-content:center; width:3.4rem; height:3.4rem; border:2px solid var(--g-ink, var(--ink-office)); border-radius:50%; color:var(--accent); font-size:1.5rem; font-weight:700; text-decoration:none; background:var(--card); }
.badge { float:right; background:var(--card); color:var(--fg); border:1px solid var(--line); border-radius:6px; padding:0 .5rem; font-size:.95rem; }
.plist { list-style:none; margin:0; padding:0; }
.prow { border-bottom:1px solid var(--line); }
.prow a { display:flex; align-items:center; gap:.8rem; padding:.5rem .8rem; color:var(--fg); text-decoration:none; min-height:64px; }
.rthumb { width:56px; height:70px; object-fit:cover; flex:0 0 auto; background:#e6e6e6; }
.rthumb.sil { display:block; background:radial-gradient(circle at 50% 38%, var(--sil) 0 22%, transparent 23%), radial-gradient(ellipse at 50% 105%, var(--sil) 0 48%, transparent 49%) var(--thumb); }
.rname { display:flex; flex-direction:column; min-width:0; overflow-wrap:anywhere; }
.prow { display:flex; align-items:center; }
.prow-main { flex:1 1 auto; min-width:0; }
.pcall { flex:0 0 auto; margin:0 .8rem; padding:.45rem .8rem; border-radius:20px; background:var(--accent); color:var(--on-accent); text-decoration:none; font-size:.9rem; font-weight:600; min-height:36px; display:inline-flex; align-items:center; gap:.25rem; }
.dhead { display:flex; gap:1rem; align-items:flex-start; }
.dphoto { width:120px; height:150px; object-fit:cover; background:#e6e6e6; flex:0 0 auto; display:block; }
.dphoto.sil { background:radial-gradient(circle at 50% 38%, var(--sil) 0 22%, transparent 23%), radial-gradient(ellipse at 50% 105%, var(--sil) 0 48%, transparent 49%) var(--thumb); }
.dmain { min-width:0; overflow-wrap:anywhere; }
.calls { text-align:center; margin:1rem 0 .2rem; } .calls .btn { display:inline-flex; align-items:center; gap:.4rem; text-decoration:none; }
.callbox h2 { font-size:1.2rem; }
.callrow { display:block; padding:.9rem 1rem; border:1px solid var(--line); margin:.4rem 0; border-radius:6px; text-decoration:none; color:var(--fg); font-size:1.1rem; min-height:48px; }
.callrow.cancel { background:#2b2f36; color:#fff; }
.seg { display:flex; margin:.2rem 0 .8rem; border:1px solid var(--line); }
.seg-b { flex:1 1 50%; text-align:center; padding:.7rem; text-decoration:none; color:var(--fg); background:var(--card); font-weight:700; }
.seg-b.on { background:var(--accent); color:var(--on-accent); }
.yearpick { display:flex; gap:.6rem; align-items:center; justify-content:center; margin:0 0 1rem; }
.yearpick select { min-height:44px; padding:.3rem .8rem; border:1px solid var(--line); border-radius:6px; background:var(--card); color:var(--fg); font:inherit; }
.mon { background:var(--chip); border:1px solid var(--line); margin:0 0 .6rem; }
.mon-h { cursor:pointer; list-style:none; padding:.8rem 1rem; font-size:1.2rem; font-weight:700; color:var(--fg); min-height:48px; }
.mon-h::-webkit-details-marker { display:none; }
.mon .pgrid, .mon .note { background:var(--card); margin:0; }
.zoombar { display:flex; gap:.6rem; justify-content:flex-end; margin:0 0 .6rem; }
.zoombar .btn { background:var(--card); color:var(--fg); border:1px solid var(--line); font-weight:500; }
.boardwrap { overflow:auto; background:#fff; border:1px solid var(--line); -webkit-overflow-scrolling:touch; }
.boardimg { display:block; width:100%; height:auto; }
.boardwrap[data-level="2"] .boardimg { width:150%; } .boardwrap[data-level="3"] .boardimg { width:220%; } .boardwrap[data-level="4"] .boardimg { width:320%; }
.f-car, .f-worship, .f-home, .f-plan { }
.gifts { width:100%; border-collapse:collapse; margin:.6rem 0; }
.gifts th, .gifts td { padding:.45rem .3rem; border-bottom:1px solid var(--line); text-align:left; font-size:.95rem; }
.gifts th { color:var(--muted); font-weight:600; }
.gifts .amt { text-align:right; white-space:nowrap; }
.notice { background:var(--chip); border-radius:10px; padding:.6rem .8rem; }
.err { color:var(--ink-people); font-weight:600; }
.dobform { display:grid; gap:.7rem; }
.dobform label { display:grid; gap:.25rem; font-size:.95rem; color:var(--muted); }
.dobform select { min-height:44px; padding:.3rem .7rem; border:1px solid var(--line); border-radius:10px; background:var(--card); color:var(--fg); font:inherit; }
.btn.secondary { background:var(--card); color:var(--accent); border:1px solid var(--accent); }
.linkbtn { display:inline-flex; align-items:center; text-decoration:none; }
html.big { font-size:118%; }
.btn.secondary[aria-pressed="true"] { background:var(--accent); color:var(--on-accent); }
.gifts td:first-child { white-space:nowrap; }
.more > summary { cursor:pointer; padding:.4rem 0; color:var(--accent); font-weight:600; }
@media print { tfoot { display:table-row-group; } }   /* 인쇄 때 소계·합계 줄(tfoot)은 표 끝에 한 번만 — Chromium 기본은 쪽마다 되풀이(공용 app.css 와 같은 규칙) */

/* 오너 11/05: 생년월일 숫자 입력 칸 — 크게 */
.dobform .dobnum { font-size:1.4rem; letter-spacing:.08em; width:100%; }
/* yrranch: 목장 보고 — 칸마다 한 줄, 입력은 폭 가득, 참석자 체크는 손가락으로 누르기 쉬운 크기(44px) */
.rr-f { display:block; margin:.7rem 0; font-weight:600; }
.rr-f input, .rr-f textarea { display:block; width:100%; box-sizing:border-box; margin-top:.25rem; min-height:44px; padding:.45rem .65rem; border:1px solid var(--line); border-radius:10px; background:var(--card); color:var(--fg); font:inherit; font-weight:400; }
.rr-f input[type=number] { width:7rem; }
.rr-att { margin:.7rem 0; padding:.4rem .6rem; border:1px solid var(--line); border-radius:10px; }
.rr-att legend { font-weight:600; padding:0 .3rem; }
.rr-att label { display:inline-flex; align-items:center; gap:.35rem; min-height:44px; margin:0 .9rem 0 0; }
.rr-att input, .rr-chk input { width:1.3rem; height:1.3rem; }
.rr-chk { display:flex; align-items:center; gap:.5rem; min-height:44px; margin:.5rem 0; font-weight:600; }
.rr-fbs h2 { font-size:1.05rem; margin:.2rem 0 .5rem; }
.rr-fb { border:1px solid var(--line); border-radius:10px; padding:.5rem .7rem; margin:0 0 .6rem; }
.rr-fb.new { border-color:var(--accent); }
.rr-fb-h { margin:0 0 .3rem; font-size:.9rem; color:var(--muted); } .rr-new { color:var(--accent); }
.rr-fb-b { margin:0; white-space:pre-wrap; overflow-wrap:anywhere; }
.rr-week-h { font-size:1rem; margin:1rem 0 .4rem; color:var(--muted); }
.rr-mine { border:1px solid var(--line); border-radius:10px; padding:.55rem .75rem; margin:0 0 .7rem; }
.rr-mine.pending { border-style:dashed; }
.rr-mine-h { margin:0 0 .35rem; }
.rr-mine-dl { display:grid; grid-template-columns:4.5rem 1fr; gap:.2rem .6rem; margin:0 0 .4rem; } .rr-mine-dl dt { color:var(--muted); } .rr-mine-dl dd { margin:0; overflow-wrap:anywhere; }
.rr-mine-link { margin:.2rem 0 .7rem; }
.tile .tile-new { color:var(--accent); font-weight:700; }   /* 홈 칸 '피드백 도착'(목자 본인에게만) */
.rr-pick .btn { margin:0 .3rem .4rem 0; background:var(--chip); color:var(--fg); } .rr-pick .btn.on { background:var(--accent); color:var(--on-accent); }

/* 오너 11-06 yrmyinfo U2: 본인 카드 휴대폰·주소 '바꾸기' 폼(입력 글자 16px 이상 — iOS 확대 방지) · 요청 상태 줄 */
.detail dd.chgst { font-size:.95rem; color:var(--accent); font-weight:600; }
.detail dd.notice, .detail dd.err { font-size:.95rem; margin:.3rem 0; }
.chgform { display:grid; gap:.6rem; margin:.2rem 0 .4rem; }
.chgform label { display:grid; gap:.25rem; font-size:.95rem; color:var(--muted); min-width:0; }
.chgform input, .chgform select { width:100%; min-width:0; min-height:44px; padding:.4rem .7rem; border:1px solid var(--line); border-radius:10px; background:var(--card); color:var(--fg); font:inherit; font-size:max(1rem, 16px); }
.otp-in { display:block; width:100%; box-sizing:border-box; margin-top:.25rem; min-height:48px; padding:.45rem .7rem; font-size:1.3rem; border:1px solid var(--line); border-radius:10px; background:var(--card); color:var(--fg); font-family:inherit; }   /* 문자 로그인 이름·번호 칸(오너 11/06 — 큰 글씨, 폰 폭 안) */

/* 오너 11-06: 내 보고서 — 보고서별 카드 */
.rrc { background:var(--card); border:1px solid var(--line); border-radius:16px; padding:.9rem 1rem; margin:0 0 1rem; box-shadow:0 1px 3px rgba(0,0,0,.06); }
.rrc.pending { opacity:.85; border-style:dashed; }
.rrc-h { display:flex; align-items:center; gap:.7rem; flex-wrap:wrap; margin-bottom:.6rem; }
.rrc-date { flex:0 0 auto; min-width:3.2rem; text-align:center; font-weight:800; font-size:1.15rem; color:var(--on-accent); background:var(--accent); border-radius:12px; padding:.35rem .5rem; }
.rrc-t { flex:1 1 10rem; min-width:0; display:grid; gap:.1rem; }
.rrc-place { font-size:.92rem; color:var(--muted); overflow-wrap:anywhere; }
.rrc-badge { display:inline-block; font-size:.85rem; font-weight:700; color:#fff; background:#c0392b; border-radius:999px; padding:.15rem .6rem; }
.rrc-badge.soft { background:var(--chip); color:var(--fg); }
.rrc-sec { border-top:1px solid var(--line); padding:.55rem 0 .2rem; }
.rrc-lab { font-size:.85rem; font-weight:700; color:var(--accent); margin:0 0 .25rem; letter-spacing:.02em; }
.rrc-body { margin:0; white-space:pre-wrap; overflow-wrap:anywhere; line-height:1.6; }
.rrc-chips { display:flex; flex-wrap:wrap; gap:.35rem; margin:0; }
.rrc-chips .chip { background:var(--chip); border-radius:999px; padding:.2rem .65rem; font-size:.95rem; }
.rrc-chips .chip.soft { opacity:.8; }
.rrc-fb { margin-top:.6rem; background:var(--chip); border-left:4px solid var(--accent); border-radius:10px; padding:.6rem .75rem; }
.rrc-fb.new { border-left-color:#c0392b; }
.rrc-fb-h { margin:0 0 .25rem; font-size:.9rem; font-weight:700; }

/* 오너 11-06: 보고서 쓰기 화면 — 카드형 */
.rrw-fb { background:var(--chip); border-left:4px solid var(--accent); border-radius:14px; padding:.8rem .9rem; margin:0 0 1rem; }
.rrw-fb-t { margin:0 0 .35rem; font-weight:700; font-size:.95rem; }
.rrw-more { margin:.4rem 0 0; font-size:.92rem; }
.rrw-card { background:var(--card); border:1px solid var(--line); border-radius:16px; padding:.8rem .9rem; margin:0 0 .9rem; box-shadow:0 1px 3px rgba(0,0,0,.06); display:grid; gap:.55rem; }
.rrw-chips { display:flex; flex-wrap:wrap; gap:.45rem; border:0; padding:0; margin:0; }
.rrw-chip { position:relative; }
.rrw-chip input { position:absolute; opacity:0; width:1px; height:1px; }
.rrw-chip span { display:inline-block; min-height:44px; line-height:44px; padding:0 1rem; border-radius:999px; border:1px solid var(--line); background:var(--card); font-size:1.05rem; }
.rrw-chip input:checked + span { background:var(--accent); color:var(--on-accent); border-color:var(--accent); font-weight:700; }
.rrw-chip input:focus-visible + span { outline:3px solid var(--accent); outline-offset:2px; }
.sr { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }

/* yrrrform 사진(내가 낸 보고서) — 인라인 style 금지 규칙(test_templates_have_no_inline_style_or_script) */
.rr-photo{display:block;width:100%;height:auto;margin:.5rem 0}

/* ── yrpush: 앱 알림 [알림 받기] 칸 — 폰 폭에서도 넘치지 않게(가로 가득·글줄 바꿈) ── */
.push-card { max-width:100%; box-sizing:border-box; overflow-wrap:anywhere; }
.push-card [hidden] { display:none !important; }
.push-btn { display:block; width:100%; max-width:100%; box-sizing:border-box; min-height:52px; font-size:1.1rem; margin:.4rem 0; white-space:normal; }
.push-off { background:var(--card); color:var(--text, inherit); border:1px solid var(--line); }
.push-msg { margin:.2rem 0 .4rem; }

/* 오너 11-06 yrmyinfo U5 — 본인 카드 긴 값(이메일 등 띄어쓰기 없는 글)이 좁은 폰(360)에서 가로로 넘치지 않게 줄바꿈 */
.mycard dl.nocopy dd { overflow-wrap:anywhere; }

/* 오너 11-06 yrmyinfo U6 — 위원회 줄(한 줄에 하나)·본인 카드 사진 [바꾸기]·생년월일 양력·음력 선택(누르는 자리 44px 이상). 지도 단추(.maps·.mapbtn)는 U6 ① 로 없앴다 */
.lines { overflow-wrap:anywhere; }
.photochg { margin:.5rem 0 .2rem; }
.photochg canvas { width:120px; height:150px; }
.calpick { border:0; margin:.4rem 0; padding:0; display:flex; gap:.6rem; flex-wrap:wrap; }
.calpick legend { padding:0; margin-bottom:.3rem; }
.calopt { display:inline-flex; align-items:center; gap:.4rem; min-height:44px; min-width:44px; padding:0 1rem; border:1px solid var(--line); border-radius:10px; }
.calopt input { width:22px; height:22px; margin:0; }

/* 오너 11-06 yrmyinfo U7 ①: 사진 [수정]은 사진 바로 밑(사진 칸 안) — 스크립트가 있으면 아래 사진 폼의 '수정' 줄은 감추고 이 단추가 연다 */
.dhead .phedit { display:none; margin:.35rem auto 0; min-height:44px; min-width:120px; padding:.3rem .8rem; border:1px solid var(--line); border-radius:10px; background:var(--card); color:var(--accent); font:inherit; font-weight:600; }
.js-mycard .dhead .phedit { display:block; }
.js-mycard .phdet > summary { display:none; }
.dphotocol { display:flex; flex-direction:column; align-items:center; flex:none; }

/* yrapply: 기부금 영수증 신청서(설계서 §1) — 폰 폭 320~390·글자 크게에서 겹침·가로 넘침 없이(yrtile2 기준) */
.af { overflow-wrap:anywhere; }
.af-h { font-size:1.05rem; margin:1.1rem 0 .4rem; padding-top:.7rem; border-top:1px solid var(--line); }
.af-h:first-of-type { border-top:0; padding-top:0; margin-top:.7rem; }
.af-info { display:grid; grid-template-columns:max-content 1fr; gap:.3rem .8rem; margin:.2rem 0 .6rem; }
.af-info dt { color:var(--muted); font-size:.95rem; } .af-info dd { margin:0; min-width:0; }
.af .ok { color:var(--accent); font-weight:600; }
.af-pick { border:0; margin:.4rem 0; padding:0; min-width:0; }
.af-opt { display:flex; align-items:flex-start; gap:.55rem; min-height:44px; padding:.35rem 0; }
.af-opt input { flex:0 0 auto; width:1.35rem; height:1.35rem; margin-top:.2rem; }
.af-opt span { min-width:0; }
.af-chg { margin:.1rem 0 .3rem 1.6rem; }
.af-amt { width:100%; } .af-amt .tot td { font-weight:700; border-top:2px solid var(--line); }
.af-memo textarea { display:block; width:100%; box-sizing:border-box; min-height:5.5rem; padding:.55rem .7rem; border:1px solid var(--line); border-radius:10px; background:var(--card); color:var(--fg); font:inherit; resize:vertical; }
.af-warn { margin:.4rem 0 .6rem; font-size:.95rem; color:var(--ink-people); font-weight:600; }
.af-block { margin:.4rem 0 .6rem; }
.af .btn { width:100%; margin-top:.4rem; }
.prep { background:var(--chip); }
/* yrapply: 금액 칸 [개인]·[부부합산] 보기 전환(오너 2026-11-10) — 스크립트 없이 :checked 로 폰 안에서 바로 바뀐다 */
.af-view { position:relative; }
.af-vr { position:absolute; opacity:0; width:1px; height:1px; }
.af-vl { display:inline-flex; align-items:center; justify-content:center; min-height:44px; min-width:6.5rem; padding:.3rem 1rem; margin:0 .4rem .6rem 0; border:1px solid var(--accent); border-radius:22px; color:var(--accent); background:var(--card); font-weight:600; cursor:pointer; }
.af-vr:checked + .af-vl { background:var(--accent); color:var(--on-accent); }
.af-vr:focus-visible + .af-vl { outline:3px solid var(--accent); outline-offset:2px; }
.af-cpl { display:none; }
#av-cpl:checked ~ .af-cpl { display:block; }
#av-cpl:checked ~ .af-ind { display:none; }
.af-amt tbody th { text-align:left; font-weight:600; }   /* 합계 줄은 tbody 끝 줄(tfoot 아님 — 인쇄 때 쪽마다 반복되지 않게, test_tfoot_print) */
.af-amt tr.sub th, .af-amt tr.sub td { border-top:2px solid var(--line); }
/* yrapply 오너 명세 2026-11-10: 개인정보 '작년과 동일'이면 새로 입력 칸을 접고, 받는 방법 이메일·팩스는 주소·번호 칸을 연다(스크립트 없이 :checked) */
.af-chk { position:absolute; opacity:0; width:1px; height:1px; }
.af-chkl::before { content:""; flex:0 0 auto; width:1.25rem; height:1.25rem; margin-top:.15rem; border:2px solid var(--accent); border-radius:5px; background:var(--card); }
.af-dl .af-chkl::before { border-radius:50%; }
.af-chk:checked + .af-chkl::before { background:var(--accent); box-shadow:inset 0 0 0 3px var(--card); }
.af-chk:focus-visible + .af-chkl { outline:3px solid var(--accent); outline-offset:2px; }
#pi-same:checked ~ .pi-new { display:none; }
.af-fld { display:block; margin:.45rem 0; }
.af-fld input { display:block; width:100%; box-sizing:border-box; min-height:44px; margin-top:.25rem; padding:.45rem .65rem; border:1px solid var(--line); border-radius:10px; background:var(--card); color:var(--fg); font:inherit; }
.af-dl { border:0; margin:.2rem 0 .6rem; padding:0; min-width:0; }
.dl-box { display:none; }
#dl-email:checked ~ .dl-email-box, #dl-fax:checked ~ .dl-fax-box { display:block; }

.rrn-line { min-height:1.6em; margin:.2rem 0; }   /* 봉함 표시(앞 6자리)·오류 줄은 자리를 미리 잡아 둔다 — 주민번호 칸을 벗어나는 순간 글이 나타나며 아래 내용이 밀려 다음 탭(예: 이메일)이 빗나가던 것(실제 크롬 실측)을 막는다 */

/* 오너 2026-11-10: 신청한 사람의 1번 칸 이름 「영수증 재신청」(7자) — 한 줄을 지키려고 이 칸만 줄바꿈 금지 + 자간을 조금 좁히고, 글자 크게일 때만 한 단계 작게(아이콘 영역 침범 없음 — test_yr_tile_fit) */
.tile.t-long { white-space:nowrap; letter-spacing:-.04em; }
html.big .tile.t-long { font-size:.74rem; }
/* yrnotice: 알림함·홈 띠·급함 1회 창 */
.ntc-band { display:flex; justify-content:space-between; align-items:center; gap:.5rem; margin:0 0 .8rem; padding:.75rem 1rem; border-radius:12px; background:var(--accent); color:var(--on-accent); text-decoration:none; font-size:1.05rem; }
.ntc-link { margin:0 0 .6rem; text-align:right; }
.ntc-link a { color:var(--accent); }
.ntc-items { list-style:none; margin:0; padding:0; }
.ntc-items li { border-bottom:1px solid var(--line); }
.ntc-items a { display:block; padding:.85rem .3rem; color:var(--fg); text-decoration:none; line-height:1.45; }
.ntc-items small { display:block; color:var(--muted); font-size:.85rem; }
.ntc-items .dot { color:#c0392b; margin-right:.3rem; }
.ntc-items li:not(.unread) a { color:var(--muted); }
.ntc-article h2 { line-height:1.4; }
.ntc-text { white-space:pre-wrap; word-break:break-word; line-height:1.6; }
.ntc-pop { position:fixed; inset:0; z-index:50; background:rgba(0,0,0,.55); display:flex; align-items:center; justify-content:center; padding:1rem; }
.ntc-pop-box { background:var(--card); color:var(--fg); border-radius:14px; padding:1.2rem 1.2rem 1rem; width:100%; max-width:24rem; box-shadow:0 8px 24px rgba(0,0,0,.3); }
.ntc-pop-box h2 { margin:0 0 .5rem; font-size:1.2rem; }
.ntc-pop-box p { margin:0 0 1rem; font-size:1.1rem; line-height:1.5; }
.ntc-pop-act { display:flex; gap:.6rem; flex-wrap:wrap; }
.ntc-pop-act form { margin:0; }
.ntc-pop-act .btn { flex:1 1 auto; }
.ntc-pop a.btn, a.ntc-band { text-decoration:none; }
.ntc-pop a.btn { display:inline-flex; align-items:center; justify-content:center; }
/* yrnotice-yoram: 담임목사 '알림 보내기' */
.ns-row { margin:.4rem 0 .8rem; }
.ns-form select { min-height:44px; margin:.25rem 0; padding:.3rem .5rem; border:1px solid var(--line); border-radius:10px; background:var(--card); color:var(--fg); font:inherit; }
.ns-find { display:flex; gap:.5rem; margin:.4rem 0 .2rem; }
.ns-find input { flex:1; min-width:0; min-height:44px; padding:.45rem .65rem; border:1px solid var(--line); border-radius:10px; background:var(--card); color:var(--fg); font:inherit; }
.ns-errs { margin:0 0 .8rem; }
.ns-errs p { margin:.2rem 0; }
.ns-ul { margin:.3rem 0 0; padding-left:1.1rem; line-height:1.7; }
.ns-look, .ns-sum, .ns-one { margin:0 0 .8rem; }
.ns-lock { margin:.2rem 0 .8rem; padding:.6rem .8rem; border-radius:12px; background:var(--chip); }
.ns-act { display:flex; flex-direction:column; gap:.6rem; margin:0 0 1rem; }
.ns-form .btn.primary { width:100%; margin:.4rem 0 1rem; }
/* yryouth2: 교사 '내 반' · 청소년 학년별 명단 */
.ycl-tabs { display:flex; gap:.4rem; flex-wrap:wrap; margin:.6rem 0; }
.ycl-tabs a { min-height:44px; display:inline-flex; align-items:center; padding:.3rem .9rem; border-radius:999px; background:var(--chip); color:var(--fg); text-decoration:none; font-weight:600; }
.ycl-tabs a[aria-current="page"] { background:var(--fg); color:var(--card); }
.ycl-kid { display:flex; gap:.8rem; align-items:flex-start; margin:.6rem 0; padding:.6rem; border:1px solid var(--line); border-radius:12px; background:var(--card); }
.ycl-kid .pthumb { width:4.5rem; flex:none; }
.ycl-kid-body { flex:1; min-width:0; }
.ycl-kid-body form { margin:.35rem 0 0; }
.ycl-kid-body details summary { min-height:44px; display:flex; align-items:center; cursor:pointer; font-weight:600; }
.ycl-kid-body .btn, .ycl-form .btn { min-height:44px; }
.ycl-form select, .ycl-form input[type="text"] { min-height:44px; padding:.3rem .5rem; border:1px solid var(--line); border-radius:10px; background:var(--card); color:var(--fg); font:inherit; width:100%; box-sizing:border-box; }
.ycl-st { margin:.15rem 0; font-size:.95rem; }
.ycl-dept { display:flex; gap:.4rem; margin:.6rem 0; }
.ycl-dept a { flex:1; min-height:44px; display:inline-flex; align-items:center; justify-content:center; border-radius:10px; background:var(--chip); color:var(--fg); text-decoration:none; font-weight:700; }
.ycl-dept a[aria-current="page"] { background:var(--fg); color:var(--card); }
.ycl-class > summary { min-height:44px; display:flex; align-items:center; gap:.5rem; cursor:pointer; font-weight:700; }
.ycl-teach { margin:0 0 .4rem; }
