:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:#152b2a;background:#f5f7f6;font-synthesis:none;--green:#126552;--muted:#63736e}*{box-sizing:border-box}body{margin:0}button,input,a{ -webkit-tap-highlight-color:transparent}button,input{font:inherit}button,.primary-link{border:1px solid transparent;border-radius:12px;background:var(--green);color:#fff;font-weight:650;font-size:15px;padding:13px 18px;min-height:48px;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:12px}button:hover,.primary-link:hover{filter:brightness(.96)}button:disabled{opacity:.5;cursor:wait}.secondary{background:#fff;color:#244b42;border-color:#d4e0da}.wide{width:100%}input{width:100%;min-width:0;border:1px solid #cedbd5;border-radius:12px;background:#fff;color:#152b2a;padding:15px;font-size:16px;min-height:52px}input:focus,button:focus-visible,a:focus-visible{outline:3px solid #b4dccc;outline-offset:3px}input::placeholder{color:#8b9992;font-size:14px}label{display:block;font-size:14px;font-weight:650;margin-bottom:10px}h1{font-size:30px;line-height:1.3;letter-spacing:-.7px;margin:12px 0}p{line-height:1.7}a{color:var(--green)}[hidden]{display:none!important}.phone{min-height:100vh;background:radial-gradient(ellipse at 0 0,#e5f0e7 0,transparent 65%),#f5f7f2;padding:36px 20px 24px}.phone-brand{max-width:440px;margin:0 auto 42px;display:flex;align-items:center;gap:10px;font-size:19px}.phone-brand>span:last-child{margin-left:auto;color:var(--muted);font-size:13px}.brand-mark{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:var(--green);color:#fff;font-size:20px}.access-card{max-width:440px;margin:auto;background:#fff;border:1px solid #e1e8e2;padding:30px 28px 24px;border-radius:24px;box-shadow:0 16px 50px #1c4d3210}.eyebrow{color:var(--green);font-size:12px;font-weight:700;letter-spacing:1.5px}.intro{color:var(--muted);font-size:15px;margin:12px 0 28px}#applyForm button{width:100%;margin-top:18px;justify-content:space-between}#applyForm button span{font-size:20px}.access-note{border-top:1px solid #e7ede8;margin-top:24px;padding-top:20px;font-size:12px;color:var(--muted)}.access-note strong{font-weight:600;color:#52665c}.access-note p{margin:8px 0 0}.notice{font-size:14px;color:#976134;min-height:0;overflow-wrap:anywhere}.notice:empty{display:none}.phone-footer{text-align:center;color:#85928b;font-size:12px;margin:28px auto}.state-panel{border:1px solid #eadbb8;background:#fff9ec;padding:19px;border-radius:14px;margin-bottom:20px}.state-panel strong{font-size:17px;overflow-wrap:anywhere}.state-panel p{font-size:14px;color:#71644a;margin:10px 0}.state-panel small{color:#8d7b55}.state-dot{display:inline-block;width:9px;height:9px;background:#c69324;border-radius:50%;margin-right:8px}.state-panel[data-state=approved]{background:#edf7f0;border-color:#c5e2cf}.state-panel[data-state=approved] .state-dot{background:#238055}.admin-shell{max-width:1120px;margin:0 auto;padding:40px 28px}.admin-heading{display:flex;justify-content:space-between;align-items:center;gap:24px}.admin-heading h1{font-size:32px}.admin-heading .intro{margin-bottom:24px}.back{font-size:13px;text-decoration:none;display:inline-block;margin-bottom:26px}.share-box{display:flex;justify-content:space-between;align-items:center;gap:20px;border:1px solid #d8e6db;background:#ecf3ed;border-radius:16px;padding:22px 24px}.share-box strong{font-size:14px;margin-right:20px}.share-box a{font-size:16px;font-weight:600;overflow-wrap:anywhere}.share-box p{margin:8px 0 0;font-size:13px;color:var(--muted)}.toolbar{margin:28px 0 20px;display:flex;justify-content:space-between;gap:20px;align-items:center}.toolbar input{max-width:280px;min-height:46px;font-size:14px;padding:12px}.tabs{display:flex;gap:6px;flex-shrink:0}.tabs button{padding:10px 16px;min-height:44px;background:transparent;color:var(--muted);border-radius:10px;gap:7px}.tabs button[aria-pressed=true]{background:#fff;color:var(--green);box-shadow:0 1px 4px #1b3e2614}.tabs span{font-size:12px;padding:2px 6px;background:#e4eee6;border-radius:5px}.records{display:grid;gap:12px}.record{display:flex;align-items:center;justify-content:space-between;gap:24px;background:#fff;border:1px solid #e0e7e2;border-radius:16px;padding:22px 24px}.record-heading{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.record h2{font-size:18px;margin:0;overflow-wrap:anywhere;max-width:600px}.badge{font-size:12px;border-radius:6px;padding:4px 8px;background:#eef0ef;color:#63736e;white-space:nowrap}.badge.pending{background:#fff1cf;color:#88630f}.badge.approved{background:#e6f4ea;color:#23794d}.badge.revoked,.badge.rejected{color:#a05d41;background:#faeee7}.meta{font-size:12px;color:var(--muted);margin:10px 0 0;overflow-wrap:anywhere}.expiry{font-size:13px;color:#426758;margin:6px 0 0}.record-actions{display:flex;gap:10px;flex-shrink:0}.record-actions button{font-size:14px;padding:11px 15px;min-height:44px}.empty{padding:65px 24px;text-align:center;color:#829189;background:#fff;border:1px dashed #d9e2dc;border-radius:16px}.admin-note{font-size:12px;color:#7d8d82;margin:22px 0}dialog{border:1px solid #d4e0da;border-radius:20px;padding:28px;max-width:min(440px,calc(100vw - 32px));box-shadow:0 30px 80px #0002}dialog::backdrop{background:#18332966}dialog h2{font-size:23px;margin:0 0 14px}dialog p{color:var(--muted);font-size:15px;overflow-wrap:anywhere}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}@media(max-width:640px){.phone{padding:26px 18px}.phone-brand{margin-bottom:30px}.access-card{padding:27px 22px 22px}h1{font-size:27px}.admin-shell{padding:24px 18px}.admin-heading{align-items:flex-start;gap:12px}.admin-heading>button{font-size:13px;padding:10px;white-space:nowrap;margin-top:52px}.share-box{padding:18px;align-items:flex-start}.share-box strong{display:block;margin-bottom:8px}.share-box a{font-size:14px}.share-box button{white-space:nowrap;padding:10px;font-size:12px}.toolbar{flex-direction:column;align-items:stretch;gap:14px}.toolbar input{max-width:none}.tabs button{flex:1;font-size:14px;padding:9px 10px}.record{align-items:stretch;flex-direction:column;gap:16px;padding:20px}.record-actions{justify-content:flex-end}.admin-heading .intro{font-size:14px}.record h2{max-width:270px}}
