:root{font-family:Inter,Pretendard,"Noto Sans KR",system-ui,sans-serif;color:#18383f;background:#f3f7f6;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}.topbar{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;height:64px;padding:0 max(18px,env(safe-area-inset-left));border-bottom:1px solid #dfe9e6;background:rgba(255,255,255,.94);backdrop-filter:blur(14px)}.brand{display:flex;align-items:center;gap:10px;color:#103d42;text-decoration:none}.brand span{display:grid;place-items:center;width:35px;height:35px;border-radius:11px;background:#0b6f69;color:white;font-weight:950}.brand b{font-size:15px;letter-spacing:.04em}.connection{display:flex;align-items:center;gap:7px;color:#567075;font-size:12px;font-weight:800}.connection i,.sync-strip i{width:8px;height:8px;border-radius:50%;background:#18a777;box-shadow:0 0 0 4px #dff5ed}main{width:min(1120px,100%);margin:auto;padding:36px 22px 70px}.hero{display:flex;align-items:end;justify-content:space-between;gap:22px;padding:28px;border-radius:24px;background:linear-gradient(135deg,#0a655f,#164750);color:#fff;box-shadow:0 18px 45px rgba(22,72,75,.18)}.eyebrow{margin:0;color:#7d32dc;font-size:10px;font-weight:950;letter-spacing:.16em}.hero .eyebrow{color:#bfeee3}.hero h1{margin:8px 0 10px;font-size:clamp(28px,4vw,45px);line-height:1.15}.hero p:last-child{margin:0;color:#cfe5e1;font-size:13px}.hero-actions{display:flex;gap:9px}.hero button{white-space:nowrap}.primary-button,.refresh-button,.secondary-button{min-height:44px;padding:0 16px;border:0;border-radius:11px;font-weight:900;cursor:pointer}.primary-button{background:#0b6f69;color:#fff}.hero .primary-button{background:#fff;color:#0b6f69}.refresh-button{background:rgba(255,255,255,.14);color:#fff}.secondary-button{background:#e8efed;color:#456067}.sync-strip{display:flex;align-items:center;gap:12px;margin:14px 0 20px;padding:12px 16px;border:1px solid #dce7e3;border-radius:13px;background:#fff;color:#688085;font-size:11px}.sync-strip span{display:flex;align-items:center;gap:8px;color:#13745e;font-weight:900}.sync-strip b{margin-left:auto;color:#35545a}.summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.summary-card{padding:18px;border:1px solid #d9e5e1;border-radius:17px;background:#fff}.summary-card header{display:flex;justify-content:space-between;gap:12px}.summary-card h3{margin:0;font-size:14px}.summary-card header span{color:#71858a;font-size:11px}.summary-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:17px}.summary-stats div{display:grid;gap:2px}.summary-stats b{font-size:25px;color:#113f44}.summary-stats small{color:#7c8e92;font-size:10px}.progress{height:7px;margin-top:15px;overflow:hidden;border-radius:10px;background:#e5efec}.progress span{display:block;height:100%;border-radius:inherit;background:#0b806f}.controls{display:grid;grid-template-columns:1fr 210px 190px;gap:10px;margin:22px 0 13px}.controls input,.controls select,.form-grid input,.form-grid select,.form-grid textarea{width:100%;min-width:0;border:1px solid #ceddd8;border-radius:11px;background:#fff;color:#17383e}.controls input,.controls select{height:46px;padding:0 13px}.search{position:relative}.search span{position:absolute;left:14px;top:13px;color:#71868b}.search input{padding-left:38px}.section-heading{display:flex;align-items:end;justify-content:space-between;margin:21px 0 12px}.section-heading h2{margin:4px 0 0}.section-heading>span{color:#6c8185;font-size:12px;font-weight:900}.records{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.record-card{display:grid;gap:14px;padding:18px;border:1px solid #d9e5e1;border-radius:17px;background:#fff}.record-head{display:flex;align-items:start;justify-content:space-between;gap:14px}.record-head h3{margin:2px 0 4px;font-size:18px}.record-head small{color:#70858a}.badges{display:flex;flex-wrap:wrap;gap:6px}.badge{padding:5px 8px;border-radius:20px;background:#edf4f2;color:#486b6f;font-size:10px;font-weight:900}.badge.status{background:#fff0d7;color:#986111}.badge.confirmed{background:#dcf4e9;color:#067257}.record-details{display:grid;grid-template-columns:1fr 1fr;gap:10px}.record-details div{display:grid;gap:3px}.record-details span{color:#809095;font-size:10px}.record-details b{font-size:12px;font-weight:800}.record-note{margin:0;padding:11px;border-radius:10px;background:#f5f8f7;color:#486066;font-size:12px;line-height:1.55}.record-card button{justify-self:end}.empty{grid-column:1/-1;padding:50px 18px;border:1px dashed #b9cfca;border-radius:16px;background:#fff;text-align:center}.empty p{color:#75898d}.gate{position:fixed;inset:0;z-index:50;display:grid;place-items:center;padding:20px;background:radial-gradient(circle at 30% 10%,#187b72,#103d46 60%,#0b2730)}.gate-card{width:min(420px,100%);padding:30px;border-radius:24px;background:#fff;box-shadow:0 30px 90px rgba(0,0,0,.28)}.gate-mark{display:grid;place-items:center;width:52px;height:52px;margin-bottom:20px;border-radius:15px;background:#0b6f69;color:#fff;font-size:22px;font-weight:950}.gate-card h1{margin:6px 0 8px;font-size:29px}.gate-card>p:not(.eyebrow):not(.form-message){margin:0 0 24px;color:#71858a;line-height:1.55}.gate-card label{display:block;margin-bottom:7px;color:#3f5c61;font-size:12px;font-weight:900}.gate-card input{width:100%;height:56px;border:1px solid #c9dcd6;border-radius:12px;font-size:25px;letter-spacing:.5em;text-align:center}.gate-card .primary-button{width:100%;margin-top:4px}.gate-card>a{display:block;margin-top:17px;color:#577276;font-size:12px;text-align:center}.form-message{min-height:20px;margin:8px 0;color:#b2422e;font-size:12px}dialog{width:min(760px,calc(100% - 22px));max-height:calc(100dvh - 22px);padding:0;border:0;border-radius:22px;box-shadow:0 30px 90px rgba(10,42,47,.3)}dialog::backdrop{background:rgba(7,32,38,.72);backdrop-filter:blur(5px)}#record-form{padding:24px}#record-form>header{display:flex;align-items:start;justify-content:space-between;margin-bottom:19px}#record-form h2{margin:5px 0 0}#dialog-close{width:38px;height:38px;border:0;border-radius:10px;background:#edf2f1;color:#496268;font-size:24px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form-grid label{display:grid;gap:6px;color:#486168;font-size:11px;font-weight:900}.form-grid .wide{grid-column:1/-1}.form-grid input,.form-grid select{height:43px;padding:0 11px}.form-grid textarea{padding:10px 11px;resize:vertical}#record-form footer{display:flex;justify-content:flex-end;gap:8px;margin-top:8px}button:disabled{opacity:.55;cursor:wait}
.record-card{cursor:pointer;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.record-card:hover,.record-card:focus-visible{transform:translateY(-2px);border-color:#87b9ae;box-shadow:0 12px 28px rgba(20,77,79,.1);outline:0}.record-identity{display:flex;align-items:center;gap:12px;min-width:0}.record-identity>div{min-width:0}.profile-thumb{width:56px;height:64px;flex:0 0 auto;border-radius:14px;object-fit:cover;background:#e5efec}.profile-fallback{display:grid;place-items:center;background:linear-gradient(145deg,#dceee9,#c4ddd7);color:#0b6f69;font-size:21px;font-weight:950}.profile-ready{background:#e9e2fb;color:#6c31b7}.profile-hint{display:flex;align-items:center;justify-content:space-between;margin:0;padding-top:11px;border-top:1px solid #e8efed;color:#0b6f69;font-size:11px;font-weight:900}.profile-hint span{font-size:17px}#profile-dialog{width:min(840px,calc(100% - 22px));max-height:calc(100dvh - 22px);overflow:auto}.profile-panel{padding:24px}.profile-panel>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.profile-panel>header button{width:38px;height:38px;border:0;border-radius:10px;background:#edf2f1;color:#496268;font-size:24px}.profile-intro{display:grid;grid-template-columns:190px 1fr;gap:24px;align-items:center}.profile-intro>img,.profile-portrait-fallback{width:190px;height:230px;border-radius:22px;object-fit:cover;background:#e6efec}.profile-portrait-fallback{display:grid;place-items:center;color:#0b6f69;font-size:58px;font-weight:950}.profile-intro h2{margin:10px 0 5px;font-size:30px}.profile-intro p{margin:0 0 9px;color:#61787d}.profile-intro strong{display:block;color:#0b6f69;font-size:13px}.profile-contact{display:flex;flex-wrap:wrap;gap:8px;margin-top:17px}.profile-contact a{padding:9px 12px;border-radius:10px;background:#edf5f2;color:#0b6f69;font-size:12px;font-weight:850;text-decoration:none}.profile-summary{margin:22px 0 0;padding:17px 19px;border-radius:14px;background:#eef6f3;color:#294f54;line-height:1.7}.profile-sections{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.profile-sections article{padding:18px;border:1px solid #dae6e2;border-radius:15px}.profile-sections h3{margin:0 0 12px;font-size:14px}.profile-sections ul{display:grid;gap:8px;margin:0;padding-left:18px;color:#4f666b;font-size:12px;line-height:1.55}.profile-empty{color:#809095;font-size:12px}.profile-source{margin:14px 0 0;color:#809095;font-size:10px;text-align:right}
@media(max-width:720px){.topbar{height:58px}.connection span{display:none}main{padding:18px 12px 45px}.hero{display:grid;padding:22px 18px;border-radius:19px}.hero h1{font-size:30px}.hero-actions{display:grid;grid-template-columns:1fr 1fr}.summary-grid,.records{grid-template-columns:1fr}.controls{grid-template-columns:1fr 1fr}.controls .search{grid-column:1/-1}.record-details{grid-template-columns:1fr}.sync-strip{gap:8px}.sync-strip b{font-size:10px}.sync-strip small{display:none}.form-grid{grid-template-columns:1fr}.form-grid .wide{grid-column:auto}dialog{margin:11px;max-height:calc(100dvh - 22px)}#record-form{padding:20px 16px}.profile-panel{padding:18px 15px}.profile-intro{grid-template-columns:106px 1fr;gap:15px;align-items:start}.profile-intro>img,.profile-portrait-fallback{width:106px;height:134px;border-radius:16px}.profile-intro h2{margin-top:7px;font-size:23px}.profile-contact{display:grid;margin-top:11px}.profile-contact a{padding:7px 9px;font-size:10px}.profile-sections{grid-template-columns:1fr}.profile-summary{margin-top:16px}.profile-source{text-align:left}}
.profile-source a{color:#0b6f69;font-weight:900;text-underline-offset:3px}
.download-button{min-height:44px;padding:0 16px;border:0;border-radius:11px;background:#d8f4e9;color:#075f50;font-weight:900;cursor:pointer}
@media(max-width:720px){.hero-actions .download-button{grid-column:1/-1}}
