@charset "UTF-8";
:root{font-family:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Noto Sans KR",sans-serif;color:#203b35;background:#f6f7f3;font-synthesis:none;--green:#174d43;--muted:#6e7f77;--line:#e0e6dd;--accent:#e2edd7}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #b29042;outline-offset:3px}button{border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--green);padding:11px 16px;font-weight:600;min-height:44px}button:hover{background:#edf2e9}.primary{background:var(--green);color:white;border-color:var(--green)}.primary:hover{background:#216557}.danger{color:#a63b32;border-color:#e2c6c1}.quiet{border:0;background:transparent}.small{font-size:13px;padding:7px 11px;min-height:36px}a{color:var(--green)}.shell{min-height:100vh}.rail{position:fixed;width:222px;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);padding:35px 22px;display:flex;flex-direction:column;z-index:5}.brand{display:flex;gap:11px;align-items:center;font-weight:800;font-size:26px;letter-spacing:-1px}.brand-mark{width:40px;height:40px;border-radius:12px;background:var(--green);color:#d7e6ba;display:grid;place-items:center;font-size:29px;font-weight:400}.brand small{display:block;font-size:11px;color:var(--muted);letter-spacing:1px;font-weight:500;margin-top:4px}.rail nav{margin-top:48px;display:grid;gap:8px}.nav-item{border:0;text-align:left;padding:14px 16px;display:flex;gap:13px;align-items:center;background:transparent;color:#718078;font-size:14px}.nav-item.active{background:#e9f0e3;color:var(--green)}.icon{width:20px;height:20px;flex:none}.rail-foot{margin-top:auto;border-top:1px solid var(--line);padding-top:18px;font-size:12px;color:var(--muted);line-height:1.8}.rail-foot button{margin-top:12px;width:100%}.main{margin-left:222px;padding:30px 48px 60px;max-width:1540px}.topline{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:23px;color:var(--muted);font-size:13px;gap:15px}.topline strong{font-weight:500;color:#455a50}.dot{display:inline-block;width:7px;height:7px;background:#719464;border-radius:50%;margin-right:7px}.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;margin:32px 0 24px}h1{font-size:30px;letter-spacing:-1.4px;margin:0 0 9px;font-weight:750}h2{font-size:18px;letter-spacing:-.5px;margin:0}h3{font-size:15px;margin:0 0 12px}p{line-height:1.7}.sub{color:var(--muted);font-size:14px;margin:0}.eyebrow{font-size:11px;font-weight:700;letter-spacing:1.7px;color:#66835c;margin:0 0 11px}.demo-banner{background:#f0eee2;color:#76643c;border:1px solid #e7e1cd;border-radius:9px;padding:10px 15px;font-size:12px;margin-bottom:22px}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.card,.panel{background:#fff;border:1px solid var(--line);border-radius:15px}.card{padding:22px 24px}.card.feature{background:var(--green);color:#fff;border-color:var(--green)}.card-label{font-size:13px;color:var(--muted);display:flex;align-items:center;justify-content:space-between}.feature .card-label{color:#c4d7c7}.metric{font-size:37px;font-weight:650;letter-spacing:-1.7px;margin:18px 0 9px}.metric small{font-size:14px;font-weight:400;letter-spacing:0;margin-left:5px}.card-note{font-size:12px;color:var(--muted)}.feature .card-note{color:#c4d7c7}.grid-2{display:grid;grid-template-columns:1.4fr 1fr;gap:20px;margin-top:22px}.panel{padding:24px}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:22px}.tag{display:inline-flex;align-items:center;white-space:nowrap;font-size:11px;background:#eaf1e3;color:#547046;padding:5px 8px;border-radius:6px}.tag.gold{background:#f5edd9;color:#987632}.tag.gray{background:#eef0ed;color:#788479}.tag.red{background:#f8e8e5;color:#9c5247}.chart{height:175px;display:flex;gap:13px;align-items:flex-end;padding-top:15px}.chart-col{flex:1;height:100%;display:flex;align-items:center;justify-content:flex-end;flex-direction:column;gap:8px}.chart-col .bar{width:100%;max-width:36px;min-height:2px;background:#b9cfa6;border-radius:5px 5px 0 0}.chart-col:last-child .bar{background:var(--green)}.chart-col small{font-size:11px;color:var(--muted)}.chart-col b{font-size:11px;color:#587347;font-weight:500}.chart-caption{font-size:12px;color:var(--muted);margin-top:18px}.row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid #edf0e9}.row:last-child{border-bottom:0}.row-name{font-size:14px;font-weight:600}.row-meta{font-size:12px;color:var(--muted);margin-top:5px}.avatar{width:39px;height:39px;border-radius:13px;display:grid;place-items:center;background:#eef2e7;color:#67815d;font-size:13px;font-weight:600;flex:none}.person{display:flex;align-items:center;gap:12px}.text-btn{background:transparent;border:0;padding:0;min-height:32px;text-align:left;color:inherit}.toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:20px}.search{flex:1;min-width:200px}.toolbar input,.toolbar select{height:45px}.field{display:grid;gap:7px;font-size:13px;color:#51685b}.field input,.field select,.field textarea,input.control,select.control{width:100%;border:1px solid #d9e0d5;background:#fff;border-radius:9px;padding:11px 12px;color:#203b35;min-height:44px}.field input:focus,.field select:focus,.field textarea:focus,input.control:focus{outline:2px solid #99b787;outline-offset:1px}.field textarea{min-height:90px;resize:vertical}.field small{font-size:11px;color:var(--muted);line-height:1.5}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:13px;white-space:nowrap}th{text-align:left;font-size:11px;font-weight:500;color:var(--muted);padding:13px 15px;background:#f6f8f3;border-bottom:1px solid var(--line)}td{padding:14px 15px;border-bottom:1px solid #edf0e9}tr:last-child td{border-bottom:0}.list-panel{padding:0;overflow:hidden}.list-foot{padding:14px 20px;color:var(--muted);font-size:12px;background:#fcfdfb;border-top:1px solid var(--line)}.empty{padding:35px 20px;text-align:center;color:var(--muted);font-size:14px;line-height:1.8}.att-summary{display:flex;gap:20px;flex-wrap:wrap;font-size:13px;margin:15px 0}.att-summary b{font-size:21px;margin-right:4px;color:var(--green)}.att-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:13px 18px;border-bottom:1px solid #edf0e9}.segmented{display:flex;gap:4px;flex:none}.segmented button{font-size:12px;padding:8px 11px;min-height:39px;border-color:#e8ece3}.segmented button.selected{background:var(--green);color:#fff}.segmented button.absent{background:#f1e7e0;color:#985d45}.segmented button.pending{background:#e9ede7;color:#6a796c}.cell-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.cell-card{padding:22px}.cell-count{font-size:30px;margin:18px 0 8px}.cell-names{font-size:12px;color:var(--muted);line-height:1.9;min-height:48px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.settings-grid .panel p{font-size:13px;color:var(--muted)}.settings-grid button{margin:4px 5px 4px 0}.notice{font-size:12px;color:#71623a;line-height:1.8;background:#f5f0e4;padding:13px 16px;border-radius:9px;margin:18px 0}.gate{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.gate-story{background:var(--green);color:#fff;padding:8vw 7vw;display:flex;flex-direction:column;justify-content:center}.gate-story .brand-mark{background:#386759}.gate-story .brand small{color:#a9c3b7}.gate-story h1{font-size:44px;line-height:1.4;margin-top:60px}.gate-story p{color:#c5d4c6;max-width:400px;font-size:15px}.gate-number{display:flex;gap:35px;margin-top:35px;color:#c5d4c6;font-size:12px}.gate-number strong{font-size:27px;color:white;display:block;margin-bottom:6px}.gate-form{max-width:470px;width:100%;margin:auto;padding:35px}.gate-form h2{font-size:25px;margin:0 0 12px}.gate-form .field{margin-top:20px}.gate-form .primary{width:100%;margin-top:22px}.gate-form .sub{font-size:13px}.check-label{font-size:13px;display:flex;gap:9px;align-items:center;line-height:1.6;margin-top:18px}.check-label input{width:18px;height:18px;accent-color:var(--green)}.error{color:#ab3f34;font-size:13px;line-height:1.7}.divider{display:flex;align-items:center;gap:15px;font-size:11px;color:#8a968a;margin:25px 0}.divider:before,.divider:after{content:"";height:1px;background:var(--line);flex:1}.full{width:100%}.helper{font-size:11px;color:var(--muted);line-height:1.9;margin-top:20px}dialog{border:1px solid var(--line);border-radius:18px;max-width:650px;width:calc(100% - 28px);max-height:88dvh;padding:27px;box-shadow:0 20px 80px #142e3526;color:#203b35}dialog::backdrop{background:#142b2566;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:20px}.dialog-head button{min-width:38px;padding:5px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.span-2{grid-column:1/-1}.actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:24px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:25px}.detail-grid dt{font-size:11px;color:var(--muted);margin-bottom:7px}.detail-grid dd{font-size:14px;margin:0;overflow-wrap:anywhere}.detail-section{border-top:1px solid var(--line);padding-top:18px;margin-top:18px}.conflict{border:1px solid #e4d6b9;padding:16px;border-radius:10px;margin-top:15px}.conflict pre{white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit;font-size:12px;line-height:1.8;background:#f7f8f4;padding:10px;border-radius:8px}.conflict .field{margin-top:10px}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);background:#233e35;color:white;border-radius:11px;padding:13px 22px;font-size:13px;z-index:30;box-shadow:0 6px 24px #173e3529;max-width:90vw;display:none}#toast.show{display:block}.loading{text-align:center;padding:20vh 20px;color:var(--muted)}.online-status{white-space:nowrap}.mobile-label{display:none}.progress{height:6px;border-radius:6px;background:#eaf0e4;overflow:hidden;margin:14px 0}.progress span{display:block;background:#91af7b;height:100%}.section-gap{margin-top:22px}.install-note{margin-top:20px;font-size:12px;line-height:1.8;color:var(--muted)}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(min-width:1500px){.main{margin-right:auto;margin-left:242px}}@media(max-width:1100px){.rail{width:180px;padding:27px 14px}.main{margin-left:180px;padding:25px}.card{padding:18px}.metric{font-size:32px}.grid-2{grid-template-columns:1fr 1fr}.cell-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.rail{inset:auto 0 0;width:100%;padding:0 6px max(7px,env(safe-area-inset-bottom));border-right:0;border-top:1px solid var(--line);background:#fffefb}.rail>.brand,.rail-foot{display:none}.rail nav{margin:0;display:grid;grid-template-columns:repeat(6,1fr);gap:0}.nav-item{display:flex;flex-direction:column;gap:5px;font-size:10px;padding:10px 2px;border-radius:0;min-height:58px}.nav-item.active{background:transparent;color:#174d43;font-weight:800}.nav-item .icon{width:21px;height:21px}.main{margin:0;padding:19px 18px 110px}.topline{font-size:11px;padding-bottom:16px}.topline .desktop-only{display:none}.mobile-label{display:block;font-size:19px;letter-spacing:-1px;font-weight:800;color:var(--green)}.page-head{margin-top:25px;align-items:center}h1{font-size:25px;margin-bottom:7px}.sub{font-size:12px}.page-head>.primary{font-size:12px;padding:10px 12px}.cards{grid-template-columns:1fr 1fr;gap:10px}.card{padding:18px 16px;border-radius:12px}.card-label{font-size:12px}.metric{font-size:31px;margin:13px 0 8px}.card-note{font-size:10px}.grid-2,.settings-grid{grid-template-columns:1fr;gap:15px;margin-top:16px}.panel{padding:20px}.panel h2{font-size:17px}.demo-banner{font-size:11px;padding:9px 12px;margin-bottom:17px}.chart{height:155px;gap:9px}.toolbar{gap:8px}.toolbar .search{min-width:100%;order:-1}.toolbar select{flex:1;font-size:12px;max-width:50%}.table-wrap .hide-mobile{display:none}td,th{padding:12px}.avatar{width:34px;height:34px;border-radius:10px;font-size:11px}.person{gap:9px}.row-name{font-size:13px}.row-meta{font-size:11px}.list-panel{padding:0}.att-row{padding:12px 10px;gap:5px}.att-row .avatar{display:none}.segmented{gap:3px}.segmented button{padding:9px 8px;font-size:11px;min-height:40px}.att-summary{gap:13px;font-size:11px}.att-summary b{font-size:20px}.cell-grid{grid-template-columns:1fr 1fr;gap:10px}.cell-card{padding:17px}.cell-card h2{font-size:15px}.cell-count{font-size:27px}.cell-names{font-size:11px}.gate{grid-template-columns:1fr}.gate-story{padding:30px 26px}.gate-story h1{font-size:26px;margin:28px 0 8px}.gate-story p{font-size:12px;margin:0}.gate-number{display:none}.gate-form{padding:30px 25px}.gate-form h2{font-size:22px}dialog{padding:22px 18px;max-height:90dvh}.form-grid{gap:13px}.field{font-size:12px}.field input,.field select,.field textarea{font-size:16px;padding:11px 9px}.detail-grid{gap:17px}.actions button{flex:1}.eyebrow{font-size:10px}#toast{bottom:100px}.notice{font-size:11px}.chart-caption{font-size:11px}}
.birthday-box{border:1px solid var(--line);border-radius:12px;padding:15px;background:#f7f9f4}.birthday-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:13px;font-weight:600;margin-bottom:12px}.birthday-inputs{display:grid;grid-template-columns:1fr auto;gap:15px;align-items:center}.birthday-inputs .check-label{font-size:12px}.birthday-result{font-size:12px;line-height:1.8;margin:14px 0 0;color:var(--green);padding:12px;background:#eaf1e3;border-radius:8px}.birthday-result strong{font-size:11px;font-weight:500;color:#6b805f}.birthday-box .helper{font-size:11px;margin:10px 0 0}.birthday-box .segmented button{min-width:55px}.birthday-inputs input:disabled{opacity:.4}
@media(max-width:390px){.birthday-inputs{grid-template-columns:1fr}.birthday-inputs .check-label{margin-top:0}}
@media(prefers-reduced-motion:no-preference){button{transition:background .15s}dialog[open]{animation:appear .16s ease-out}@keyframes appear{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}}

.gate-story .church-brand{gap:13px;letter-spacing:0}.church-brand .brand-mark{width:48px;height:48px;flex-shrink:0;border-radius:14px}.church-wordmark{min-width:0}.church-name{display:block;white-space:nowrap;font-size:clamp(19px,2.4vw,30px);font-weight:750;letter-spacing:-1.1px;line-height:1.35}.church-brand small{font-size:clamp(10px,1.1vw,14px);letter-spacing:.45px;font-weight:400;margin-top:5px;white-space:nowrap;line-height:1.4}.gate-story .church-motto{font-size:clamp(27px,3.1vw,42px);line-height:1.5;letter-spacing:-1.6px;word-break:keep-all}.gate-story{min-width:0}
@media(max-width:760px){.gate-story .church-brand{gap:11px}.church-brand .brand-mark{width:42px;height:42px;border-radius:12px;font-size:28px}.church-name{font-size:23px;letter-spacing:-.9px}.church-brand small{font-size:11.5px;letter-spacing:.25px;margin-top:4px}.gate-story .church-motto{font-size:27px;line-height:1.5;margin-top:29px;margin-bottom:13px;letter-spacing:-1.2px}}
@media(max-width:350px){.church-name{font-size:20px}.church-brand small{font-size:10px}.gate-story .church-motto{font-size:24px}}

.church-wordmark{display:inline-flex;flex-direction:column;align-items:flex-start}.church-brand small{width:0;min-width:100%;margin-top:6px;letter-spacing:.15px;font-size:19px;line-height:1.4}.church-english-text{display:inline-block;white-space:nowrap}.biometric-button{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:21px}.biometric-gate .helper{margin-top:10px}.biometric-gate .divider{margin:20px 0 0}.biometric-settings{border-top:1px solid var(--line);padding-top:18px;margin-top:21px}.biometric-settings h3{margin-bottom:8px}
@media(max-width:760px){.church-brand small{font-size:17px;margin-top:5px}.gate-story{padding-top:32px;padding-bottom:32px}}

/* Keep the two-line church name compact beside the cross. */
.church-name{line-height:1.15}.church-brand small{margin-top:1px;line-height:1.1}

.rail .church-brand{gap:8px;letter-spacing:0}.rail .church-brand .brand-mark{width:32px;height:36px;border-radius:10px;font-size:25px;flex-shrink:0}.rail .church-name{font-size:17px;letter-spacing:-.9px;line-height:1.2}.rail .church-brand small{font-size:12px;margin-top:2px;line-height:1.15}.rail .church-english-text{font-weight:400}
@media(min-width:761px) and (max-width:1100px){.rail .church-brand{gap:6px}.rail .church-brand .brand-mark{width:27px;height:32px;border-radius:9px;font-size:22px}.rail .church-name{font-size:14px;letter-spacing:-.8px}.rail .church-brand small{font-size:10px;margin-top:2px}}

/* Stack the menu identity so the church name has the full rail width. */
.rail .church-brand{flex-direction:column;align-items:center;gap:10px;text-align:center}.rail .church-brand .brand-mark{width:42px;height:44px;border-radius:12px;font-size:29px}.rail .church-wordmark{align-items:center}.rail .church-name{font-size:22px;letter-spacing:-1px;line-height:1.18}.rail .church-brand small{font-size:15px;margin-top:2px;line-height:1.12;text-align:center}.rail .church-english-text{transform-origin:center center!important}.rail nav{margin-top:34px}
@media(min-width:761px) and (max-width:1100px){.rail .church-brand{gap:9px}.rail .church-brand .brand-mark{width:38px;height:40px;font-size:27px}.rail .church-name{font-size:19px;letter-spacing:-.95px}.rail .church-brand small{font-size:13px;margin-top:2px}}
