:root{--green:#215340;--ink:#203b30;--muted:#708678;--line:#e1e8dd;--bg:#f5f7ef;--cream:#eaf0dd}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.65 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;-webkit-text-size-adjust:100%}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}a{color:var(--green);text-decoration:none}button{cursor:pointer}.loading{padding:35vh 20px;text-align:center;color:var(--muted)}#portal{max-width:480px;margin:auto;min-height:100dvh;padding:0 20px max(28px,env(safe-area-inset-bottom))}header{display:flex;align-items:center;justify-content:space-between;padding:24px 0 20px;gap:12px}.brand{display:flex;align-items:center;gap:9px;font-size:18px;font-weight:650}.brand img{width:34px;height:34px}.eyebrow{font-size:11px;letter-spacing:2px;color:var(--muted)}h1{font-size:32px;line-height:1.3;letter-spacing:-1px;margin:12px 0}h2{font-size:19px;line-height:1.5;margin:0 0 10px}h3{font-size:16px;margin:0 0 10px}p{margin:8px 0}.sub{color:var(--muted);font-size:13px}.pill{display:inline-block;border:1px solid #d4dfcc;color:var(--green);border-radius:99px;padding:3px 11px;font-size:11px}.hero{position:relative;overflow:hidden;background:var(--green);color:#fff;border-radius:24px;padding:28px 24px;margin:6px 0 22px}.hero:after{content:"";position:absolute;right:-45px;top:-60px;width:185px;height:185px;border:1px solid #ffffff1c;border-radius:100%;pointer-events:none}.hero p{color:#d0dec8;font-size:14px}.hero h1{position:relative;z-index:1}.hero small{font-size:12px;color:#d0dec8}.hero .pill{border-color:#ffffff40;color:#e7efde}.hero .primary{background:#eaf0dd;color:var(--green);margin-top:20px}.primary,.secondary{display:flex;align-items:center;justify-content:center;width:100%;min-height:50px;border:0;border-radius:12px;padding:12px 16px;font-size:16px;font-weight:550;gap:8px}.primary{background:var(--green);color:white}.secondary{background:#eaf0e2;color:var(--green)}.primary:disabled{opacity:.5}.card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px;margin:16px 0}.features{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:24px 0}.feature{font-size:12px;text-align:center;color:var(--muted)}.feature b{display:block;font-size:21px;color:var(--green);font-weight:500}.link-row{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:50px;padding:13px 0;border-top:1px solid var(--line);font-size:14px}.link-row:first-of-type{border:0}.link-row small{display:block;font-size:12px;color:var(--muted)}.foot{text-align:center;color:var(--muted);font-size:11px;margin:26px 0 8px}.note{font-size:12px;color:#7a6740;background:#f8f0de;border-radius:10px;padding:12px 14px;line-height:1.8}.step-title{display:flex;align-items:center;justify-content:space-between;margin-top:8px}.steps{display:flex;gap:6px;margin:16px 0 24px}.steps i{flex:1;height:4px;background:#e0e7d7;border-radius:5px}.steps i.active{background:#6b8c55}.field{display:block;margin:18px 0;color:#526d5e;font-size:14px}.field input,.field textarea,.field select{display:block;width:100%;border:1px solid #d9e3d4;border-radius:10px;background:#fff;min-height:50px;padding:12px;margin-top:8px;color:var(--ink);font-size:16px;max-width:100%;min-width:0}.field textarea{min-height:95px;resize:vertical}.field small{display:block;color:var(--muted);font-size:12px;margin-top:5px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.grid .field{min-width:0}.optional{color:#8e9d8a;font-size:12px}.form-actions{display:flex;gap:12px;margin:25px 0 8px}.form-actions>*{flex:1}.consent{display:flex;align-items:flex-start;gap:10px;margin:22px 0;font-size:13px;color:#5a7162}.consent input{margin-top:5px;width:19px;height:19px;flex-shrink:0;accent-color:var(--green)}input:focus,textarea:focus,select:focus{outline:2px solid #b1c79f;outline-offset:1px}.error{color:#b15742;font-size:14px;margin:12px 0}.success-symbol{width:64px;height:64px;display:grid;place-items:center;border-radius:50%;background:#e7efdb;color:var(--green);font-size:30px;margin:30px auto 20px}.success{text-align:center;padding:15px 0}.review{display:flex;justify-content:space-between;gap:18px;padding:10px 0;border-bottom:1px solid var(--line);font-size:14px}.review span{color:var(--muted);flex-shrink:0}.review b{text-align:right;font-weight:500;overflow-wrap:anywhere}.balance{font-size:64px;letter-spacing:-2px;font-weight:550;line-height:1.3;margin-top:18px}.balance span{font-size:14px;letter-spacing:0;font-weight:400;margin-left:10px;color:#d0dec8}.bar{height:5px;border-radius:5px;background:#ffffff22;overflow:hidden;margin:18px 0}.bar i{display:block;height:100%;background:#cfddae}.record{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 0;border-bottom:1px solid var(--line);font-size:14px}.record:last-child{border:0}.record small{font-size:11px;color:var(--muted)}.metrics{display:grid;grid-template-columns:1fr 1fr;gap:12px}.metrics div{background:#f3f6ed;border-radius:12px;padding:14px}.metrics small{display:block;font-size:12px;color:var(--muted)}.metrics b{font-size:24px;font-weight:550}.metrics span{font-size:12px;color:var(--muted)}.info{margin:13px 0}.info small{display:block;color:var(--muted);font-size:12px}.info p{font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:4px}.refresh{border:0;background:none;color:var(--green);min-width:48px;min-height:44px;font-size:14px}.allergy{background:#fbebdf;border:1px solid #efceba;border-radius:12px;padding:14px;font-size:14px;color:#995132;margin-top:14px}.back{display:inline-flex;align-items:center;gap:6px;min-height:44px;font-size:14px}.login{padding-top:35px}section[hidden]{display:none}.nav-foot{display:flex;justify-content:space-between;gap:10px;font-size:12px;margin-top:24px}@media(max-width:360px){#portal{padding-left:15px;padding-right:15px}.hero{padding:24px 20px}.card{padding:18px}.grid{gap:0 10px}}
.receipt-sheet{background:#fffdf6;border:1px solid #e9e5d7;border-radius:15px;padding:27px 18px;text-align:center;margin:20px 0}.receipt-sheet h2{font-size:27px;margin:22px 0 10px}.receipt-sheet h3{font-size:16px;margin:17px 0}.receipt-sheet p{margin:12px 0;line-height:1.8}.receipt-amount{font-size:48px;font-weight:650;color:#215340;margin:23px 0}.receipt-amount small{display:block;font-size:13px;font-weight:400}.receipt-balances{display:flex;justify-content:space-around;border-top:1px dashed #cdd4c6;border-bottom:1px dashed #cdd4c6;padding:18px 0;font-size:14px}.receipt-balances b{font-size:24px}.receipt-number{overflow-wrap:anywhere;font-size:10px;color:#87947a}.receipt-details{border-top:1px solid #e5eade;padding:16px 0}.receipt-details summary{min-height:44px;cursor:pointer;font-size:14px;line-height:1.9}.receipt-details summary small{display:block;font-size:12px;color:#7a8d6c}.receipt-sheet .sub{font-size:12px}
