:root{font-family:Arial,Helvetica,sans-serif;color:#384c47;background:#f7f4ed;font-synthesis:none;font-size:16px;--gold:#987739;--line:#e5dfd3;--muted:#6c7771;--ink:#384c47}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,a{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #a4864a;outline-offset:4px}.brand{max-width:1000px;margin:auto;padding:28px 24px 20px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding-top:max(28px,env(safe-area-inset-top))}.brand a{font-family:Georgia,serif;font-size:25px;letter-spacing:-.8px;text-decoration:none}.brand span:not(.brand-mark){display:block;font:10px Arial,sans-serif;letter-spacing:.8px;margin-top:7px;color:var(--muted)}.brand-mark{color:var(--gold);font-size:30px}main{max-width:860px;margin:0 auto;padding:32px 24px calc(112px + env(safe-area-inset-bottom));overflow-wrap:anywhere}h1,h2,h3,p{margin-top:0}h1,h2{font-family:Georgia,serif;font-weight:400;line-height:1.13;letter-spacing:-.6px}h1{font-size:36px;margin-bottom:14px}h2{font-size:26px;margin-bottom:20px}h3{font-size:17px;line-height:1.4}p{line-height:1.6}.muted,.meta{color:var(--muted);font-size:14px}.eyebrow{font-size:11px;font-weight:600;letter-spacing:1.8px;color:var(--gold);margin-bottom:14px}.intro{margin-bottom:28px}.card{background:#fffdfa;border:1px solid var(--line);border-radius:20px;padding:24px;margin:16px 0;min-width:0}.card.featured{background:#eaf0e9;border-color:#dce4da}.section-head{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-top:32px}.section-head h2{margin:0}.button{border:1px solid var(--ink);background:var(--ink);color:#fffdfa;border-radius:12px;min-height:48px;padding:13px 18px;font-size:14px;font-weight:600;text-decoration:none;display:inline-flex;justify-content:center;align-items:center;gap:8px;text-align:center}.button.secondary{background:transparent;color:var(--ink);border-color:#ced5ca}.button.quiet{border:0;background:transparent;color:var(--ink);padding:10px 0;justify-content:flex-start}.full{width:100%}.actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.actions .button{flex:1;min-width:110px}.tag{display:inline-flex;border-radius:20px;background:#eef1e8;color:#4d614a;font-size:11px;padding:6px 10px;font-weight:600;white-space:nowrap}.document-heading{display:flex;gap:12px;align-items:flex-start;justify-content:space-between}.document-heading h3{flex:1;min-width:0;margin-bottom:9px}.document-icon{width:36px;height:44px;border:1px solid #cbb992;border-radius:6px;display:grid;place-items:center;color:var(--gold);font-size:10px;margin-bottom:18px;background:#fbf7ed}.date{font-family:Georgia,serif;font-size:28px;margin:12px 0}.time{font-weight:600;margin-left:8px;font-family:Arial,sans-serif;font-size:18px}.empty{padding:28px 20px;text-align:center;color:var(--muted);line-height:1.6;border:1px dashed #d6d9cf;border-radius:18px;margin:20px 0}.count{font-family:Georgia,serif;font-size:48px;color:var(--gold)}.auth{max-width:440px;margin:10px auto}.auth h1{font-size:39px}.auth .card{padding:24px}.field{display:block;margin-bottom:18px;font-size:13px;font-weight:600}.field input{margin-top:8px;width:100%;min-height:50px;padding:13px 14px;border:1px solid #cdd3c8;background:white;color:var(--ink);border-radius:10px;font-size:16px;scroll-margin:24px}.password-wrap{display:flex;align-items:stretch;gap:8px}.password-wrap input{min-width:0}.password-toggle{border:0;background:transparent;font-size:12px;color:var(--ink);min-width:68px;min-height:48px;margin-top:8px}.error{color:#9c3e31;font-size:14px;line-height:1.5}.notice{padding:16px;background:#edece4;border-radius:12px;font-size:13px;color:#626e65}.tabs{display:flex;padding:4px;background:#ebece3;border-radius:14px;gap:4px;margin:24px 0}.tabs button{flex:1;border:0;border-radius:10px;background:transparent;min-height:44px;font-size:14px;color:var(--ink)}.tabs button[aria-selected=true]{background:#fffdfa;box-shadow:0 2px 6px #384c4710}.profile dl{margin:0}.profile dt{font-size:12px;color:var(--muted);margin-top:20px}.profile dd{font-size:17px;line-height:1.5;margin:5px 0 20px;overflow-wrap:anywhere}.profile dt:first-child{margin-top:0}.profile dd:last-child{margin-bottom:0}#navigation{position:fixed;bottom:0;left:0;right:0;z-index:10;background:#fffdfaee;backdrop-filter:blur(14px);border-top:1px solid var(--line);display:flex;justify-content:center;gap:0;padding:8px 8px calc(8px + env(safe-area-inset-bottom))}#navigation[hidden]{display:none}#navigation button{width:min(25%,170px);min-height:54px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;font-size:11px;letter-spacing:.1px;border:0;background:transparent;color:var(--muted);border-radius:12px}#navigation svg{height:20px;width:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}#navigation button[aria-current=page]{color:#6b582f;background:#f4eddf}.pdf-pages{display:grid;gap:16px;margin-top:24px}.pdf-pages canvas{display:block;max-width:100%;height:auto;border:1px solid var(--line);background:white}.pdf-toolbar{position:sticky;top:0;padding:12px 0;background:#f7f4ed;z-index:2;display:flex;gap:10px}.pdf-toolbar .button{flex:1}.pdf-status{font-size:13px}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.loading{padding:45px 0;text-align:center;color:var(--muted)}.footer-note{text-align:center;font-size:12px;color:var(--muted);padding:10px 15px;line-height:1.6}.two-col{display:grid;gap:0 20px}.install{margin-top:20px}.visit-doctor{font-size:16px;margin-bottom:8px}@media(min-width:700px){main{padding-top:44px}.two-col{grid-template-columns:1fr 1fr}.auth{margin-top:35px}h1{font-size:44px}.brand{padding:28px 44px}#navigation{left:50%;transform:translateX(-50%);max-width:900px;border:1px solid var(--line);border-radius:20px 20px 0 0}}@media(max-width:370px){main{padding-left:18px;padding-right:18px}.brand{padding-left:18px;padding-right:18px}.card{padding:20px}h1{font-size:33px}}@media(prefers-reduced-motion:no-preference){.button{transition:background .15s}.button:hover{filter:brightness(.94)}}

.pdf-page{max-width:100%;overflow:auto;overscroll-behavior:contain}.pdf-page canvas{max-width:none}

.brand img{display:block;width:220px;max-width:100%;height:auto;mix-blend-mode:multiply}
/* Patient privileges use the existing four-item navigation. */
.privilege-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:28px}.privilege-short{margin:0;padding:18px 8px;text-align:left;color:var(--ink);font:inherit;display:flex;flex-direction:column;gap:8px;min-height:132px}.privilege-short span{font-size:13px;white-space:nowrap}.privilege-short strong{font-family:Georgia,serif;font-weight:400;font-size:clamp(22px,4vw,32px);overflow-wrap:normal}.privilege-short small{color:var(--muted);font-size:12px}.privilege-tabs button{min-width:0;padding:9px 4px;font-size:13px;overflow-wrap:anywhere}.bonus-balance{font:36px Georgia,serif;overflow-wrap:anywhere}.loyalty-card .tag{margin-bottom:16px;white-space:normal}.loyalty-card dl{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;margin:20px 0}.loyalty-card dt{color:var(--muted);font-size:14px}.loyalty-card dd{margin:0;text-align:right;overflow-wrap:anywhere}.privilege-event{display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:12px;border-bottom:1px solid var(--line);padding:18px 0}.privilege-event div{flex:1;min-width:130px}.privilege-event p{margin-bottom:3px}.privilege-event strong{max-width:100%;overflow-wrap:anywhere}.state-blocked,.state-expired{background:#f4ead5;color:#745b29}.state-cancelled{background:#f3e6e2;color:#874e42}.state-used{background:#eaece9;color:#606d65}@media(max-width:380px){.privilege-summary{gap:6px}.privilege-short{padding:14px 8px}.privilege-short span{font-size:12px}}

.button[hidden]{display:none}

.loyalty-card>h1{overflow-wrap:normal;word-break:normal;font-size:clamp(26px,7vw,44px)}
