*{box-sizing:border-box}body{margin:0;background:#f3f5f2;color:#233c34;font-family:system-ui,-apple-system,sans-serif;line-height:1.55}main{max-width:760px;margin:0 auto;padding:24px 16px 48px}header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:24px}header img{max-width:210px;width:50%;height:auto}header span{font-size:.72rem;letter-spacing:.12em;font-weight:700}section{background:white;border:1px solid #dfe6e1;border-radius:16px;padding:clamp(18px,4vw,36px);margin-bottom:18px}h1,h2{line-height:1.2;margin:0 0 16px}h1{font-size:1.8rem}h2{font-size:1.35rem}label{display:block;font-weight:600;margin:16px 0}input{display:block;width:100%;margin-top:5px;border:1px solid #aebfb5;border-radius:8px;padding:12px;font:inherit;color:inherit}button{background:#234d40;color:white;border:0;border-radius:8px;padding:12px 20px;font:inherit;font-weight:600;cursor:pointer;width:100%}a{color:#245844}article{border-top:1px solid #dfe6e1;padding:12px 0}article p{margin:4px 0}.notice{background:#e8f0ea;padding:12px;border-radius:8px}.help{font-size:.9rem;color:#54655d}input:focus-visible,button:focus-visible,a:focus-visible{outline:3px solid #8a9e85;outline-offset:3px}

select{display:block;width:100%;margin-top:5px;border:1px solid #aebfb5;border-radius:8px;padding:12px;background:white;color:inherit;font:inherit}input[type=checkbox]{display:inline-block;width:18px;height:18px;margin:0 6px 0 0;vertical-align:middle}select:focus-visible{outline:3px solid #8a9e85;outline-offset:3px}

/* RC143 — portal branding and responsive patient workspace */
:root{color-scheme:light;--green:#214d3d;--ink:#203b30;--muted:#60746a;--line:#dce7dc;--pale:#eef4ee;--bg:#f4f6f2}
body{background:radial-gradient(ellipse at 12% 0,#e4eee1 0,transparent 42%),var(--bg);color:var(--ink)}main{max-width:1000px;padding:24px clamp(14px,3vw,34px) 48px}header{min-height:60px;margin-bottom:22px;border-bottom:1px solid var(--line);padding-bottom:18px}header img{max-width:178px}.header-links{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:14px;font-size:.85rem;font-weight:650}.header-links a{text-decoration:none}section{border:1px solid var(--line);border-radius:20px;box-shadow:0 6px 25px #234d400a;padding:clamp(20px,4vw,36px)}h1{font-size:clamp(1.7rem,4vw,2.4rem);letter-spacing:-.04em}h2{font-size:1.55rem;letter-spacing:-.025em}h3{font-size:1.06rem;margin:5px 0 10px;line-height:1.35}p{margin:0 0 14px}form{margin:12px 0}button,.primary-link{border-radius:10px;padding:13px 18px;font-weight:700;transition:background .12s ease}button:hover,.primary-link:hover{background:#173a2d}button.secondary{color:var(--green);background:#edf4ee;border:1px solid #c8dacc}button.secondary:hover{background:#e2eee2}button.danger{background:#9e3434;color:#fff}button.outline-danger{background:#fff;border:1px solid #e4c4c4;color:#9e3434}button.outline-danger:hover{background:#fcf1f1}.primary-link{display:inline-block;background:var(--green);color:white;text-decoration:none}.eyebrow{font-size:.72rem;letter-spacing:.14em;font-weight:750;color:#5a7c69;margin:0 0 10px}.portal-hero{background:linear-gradient(115deg,#214d3d,#325b45);color:#fff;border:none;padding:clamp(24px,5vw,40px)}.portal-hero .eyebrow{color:#c7e1c0}.portal-hero p{color:#e2eee2}.portal-hero .primary-link{background:#e3efda;color:#214d3d;margin-top:8px}.portal-nav{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px}.portal-nav a{background:#fff;border:1px solid var(--line);padding:10px 15px;border-radius:10px;text-decoration:none;font-size:.9rem;font-weight:650}.portal-nav b,.count{background:#e8f1e7;border-radius:50px;padding:3px 9px;color:#32604c;font-size:.8rem;margin-left:4px}.section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.section-heading h2{margin-bottom:16px}.section-heading .eyebrow{margin-bottom:5px}.empty{background:#f5f8f3;border:1px dashed #c9d8c8;padding:22px;border-radius:12px;color:var(--muted)}.visit-card{display:flex;gap:16px;align-items:flex-start;border:1px solid var(--line);border-radius:15px;margin-top:12px;padding:16px}.visit-date{background:#eaf1e9;color:#214d3d;border-radius:11px;min-width:72px;text-align:center;padding:10px 8px;display:grid;line-height:1.2}.visit-date strong{font-size:1.9rem;letter-spacing:-.05em}.visit-date span{font-size:.75rem;margin:4px 0}.visit-date b{font-size:1rem}.visit-info{min-width:0;flex:1}.status{display:inline-block;background:#e5f1e7;color:#295c47;border-radius:30px;font-size:.73rem;font-weight:700;padding:5px 10px;line-height:1.4}.status.pending{background:#fff1d9;color:#855410}.status.inactive{background:#edf0ef;color:#60746a}.visit-actions{display:flex;gap:8px;flex-wrap:wrap}.visit-actions form{margin:0}.visit-actions button{width:auto;padding:9px 13px;font-size:.86rem}.pass-card{border:1px solid var(--line);border-radius:15px;margin:12px 0;padding:20px}.pass-card h3{margin:0}.pass-balance{font-size:2rem;font-weight:750;color:#285d48;letter-spacing:-.04em;margin-top:13px}.pass-balance small{font-size:.95rem;font-weight:500;letter-spacing:0;color:var(--muted)}.pass-segments{display:grid;grid-template-columns:repeat(auto-fit,minmax(20px,1fr));gap:5px;margin:10px 0}.pass-segments span{height:22px;border-radius:5px;background:#287b65}.pass-segments .used{background:#9daaa4;opacity:.75}.pass-segments .penalty{background:#b97b36}.pass-legend{display:flex;flex-wrap:wrap;gap:14px;color:var(--muted);font-size:.75rem}.pass-legend span:before{content:'';display:inline-block;width:10px;height:10px;margin-right:5px;border-radius:2px;background:#287b65}.pass-legend .used:before{background:#9daaa4}.pass-legend .penalty:before{background:#b97b36}.pass-meta{display:flex;flex-wrap:wrap;gap:8px 20px;font-size:.8rem;margin:15px 0;color:var(--muted)}details{border-top:1px solid var(--line);padding-top:12px}summary{cursor:pointer;font-size:.9rem;font-weight:650;color:var(--green)}.pass-event{border-top:1px solid var(--line);padding:10px 0;margin-top:8px}.pass-event small{display:block;color:var(--muted)}.account-footer{display:flex;justify-content:space-between;align-items:center;gap:16px}.account-footer form{margin:0}.account-footer h2{font-size:1.1rem;margin-bottom:8px}.account-footer p{margin:0}.visit-summary{padding:16px;background:#f0f5ef;border-radius:12px;margin:16px 0}.visit-summary p{margin:5px 0 0}.notice.warning{background:#fff1d9;border:1px solid #edca93;color:#805015}main>section:only-of-type{max-width:640px;margin-left:auto;margin-right:auto}input,select{border-color:#b8cdbb;background:#fff}button:focus-visible,a:focus-visible{outline-offset:3px}
@media(max-width:600px){main{padding-top:15px}header img{max-width:144px}.header-links{gap:5px 10px;font-size:.76rem}.portal-nav a{flex:1 1 auto;text-align:center;padding:9px 8px}.visit-card{gap:10px;padding:12px}.visit-date{min-width:57px}.visit-date strong{font-size:1.6rem}.visit-actions{gap:6px}.visit-actions form{flex:1 1 100%}.visit-actions button{width:100%;text-align:left}.pass-card{padding:15px}.pass-segments{grid-template-columns:repeat(auto-fit,minmax(16px,1fr))}.account-footer{align-items:flex-start;flex-direction:column}.account-footer form{width:100%}.section-heading .status{max-width:120px;text-align:center}}
