:root{--patient-portal-brand: #6a3cdf;--patient-portal-brand-border: #cfc9ff;--patient-portal-brand-soft: #f1f0ff;--patient-portal-border: #e2e1df;--patient-portal-muted: #666561;--patient-portal-text: #21201d;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:var(--patient-portal-text);background:#f8f8f7;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input{font:inherit}button{-webkit-tap-highlight-color:transparent}.patient-portal{min-height:100vh;padding:28px 20px 56px}.patient-portal__content{width:min(100%,560px);margin:0 auto}.patient-portal__content--centered{display:flex;min-height:calc(100vh - 84px);flex-direction:column;justify-content:center}.patient-portal__header,.patient-portal__detail-header{display:flex;min-height:52px;align-items:center;justify-content:space-between;margin-bottom:34px}.patient-portal__header-actions{display:flex;align-items:center;gap:4px}.patient-portal__detail-header{margin-bottom:28px;font-weight:650}.patient-portal__header-spacer,.patient-portal__back-button{width:40px}.patient-portal__back-button{height:40px;padding:0;color:var(--patient-portal-brand);font-size:32px;line-height:1;background:transparent;border:0;border-radius:12px;cursor:pointer}.patient-portal__brand{display:flex;width:fit-content;align-items:center;gap:7px;color:var(--patient-portal-text);font-size:24px;font-weight:650;line-height:1}.patient-portal__brand--centered{margin:0 auto 34px;font-size:28px}.patient-portal__brand svg{width:30px;height:auto;fill:currentcolor}.patient-portal__brand--centered svg{width:32px}.patient-portal__card{width:min(100%,480px);padding:40px;margin:0 auto;background:#fff;border:1px solid var(--patient-portal-border);border-radius:20px;box-shadow:0 14px 40px #21201d14}.patient-portal__status{color:var(--patient-portal-muted);line-height:1.6;text-align:center}.patient-portal h1,.patient-portal h2,.patient-portal p{margin-top:0}.patient-portal h1{margin-bottom:8px;color:var(--patient-portal-text);font-size:30px;line-height:1.15;letter-spacing:-.025em}.patient-portal h2{margin:0;color:var(--patient-portal-text);font-size:18px;line-height:1.3}.patient-portal__welcome{margin-bottom:30px}.patient-portal__welcome h1{margin:0}.patient-portal__welcome-row{display:flex;align-items:center;justify-content:space-between;gap:16px}.patient-portal__book-button{min-height:40px;padding:8px 14px}.patient-portal__eyebrow{margin-bottom:7px;color:var(--patient-portal-muted);font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.patient-portal__card>p{color:var(--patient-portal-muted);line-height:1.55}.patient-portal__form{display:grid;gap:12px;margin-top:28px}.patient-portal__form label{display:grid;gap:8px;font-weight:650}.patient-portal__form input{min-height:50px;padding:10px 13px;color:var(--patient-portal-text);background:#fff;border:1px solid #bcbab7;border-radius:11px}.patient-portal__form input:focus-visible,.patient-portal button:focus-visible{outline:3px solid rgb(106 60 223 / 28%);outline-offset:2px}.patient-portal__button{min-height:48px;padding:11px 17px;color:#fff;font-weight:650;background:var(--patient-portal-brand);border:1px solid var(--patient-portal-brand);border-radius:11px;cursor:pointer}.patient-portal__form .patient-portal__button,.patient-portal__status .patient-portal__button{margin-top:8px}.patient-portal button:disabled{cursor:default;opacity:.55}.patient-portal__error{margin-bottom:16px;color:#a13a3a}.patient-portal__text-button{padding:8px;color:var(--patient-portal-muted);background:transparent;border:0;border-radius:8px;cursor:pointer}.patient-portal__icon-button{display:grid;width:40px;height:40px;padding:0;place-content:center;color:var(--patient-portal-muted);background:transparent;border:0;border-radius:10px;cursor:pointer}.patient-portal__icon-button:hover,.patient-portal__text-button:hover{background:#f1f0ef}.patient-portal__navigation{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;padding:4px;margin-bottom:34px;background:#f1f0ef;border-radius:13px}.patient-portal__navigation button{display:flex;min-height:42px;align-items:center;justify-content:center;gap:7px;padding:8px 10px;color:var(--patient-portal-muted);font-size:13px;font-weight:650;background:transparent;border:0;border-radius:10px;cursor:pointer}.patient-portal__navigation button[aria-current=page]{color:var(--patient-portal-brand);background:#fff;box-shadow:0 1px 3px #21201d1f}.patient-portal__sections{display:grid;gap:32px}.patient-portal__sections>.patient-portal__welcome{margin-bottom:0}.patient-portal__page-heading{align-items:flex-end;margin-bottom:0}.patient-portal__page-heading h1,.patient-portal__page-heading p{margin-bottom:0}.patient-portal__appointment-page{gap:18px}.patient-portal__appointment-filters{display:flex;justify-content:flex-end}.patient-portal__section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}.patient-portal__segmented-control{display:flex;padding:3px;background:#f1f0ef;border-radius:10px}.patient-portal__segmented-control button{min-height:30px;padding:5px 10px;color:var(--patient-portal-muted);font-size:13px;font-weight:650;background:transparent;border:0;border-radius:8px;cursor:pointer}.patient-portal__segmented-control button[aria-pressed=true]{color:var(--patient-portal-brand);background:#fff;box-shadow:0 1px 3px #21201d1f}.patient-portal__next-appointment,.patient-portal__appointments button,.patient-portal__updates button{display:flex;width:100%;align-items:center;gap:14px;padding:15px;color:inherit;text-align:left;background:#fff;border:1px solid var(--patient-portal-border);border-radius:14px;cursor:pointer;box-shadow:0 2px 8px #21201d0a}.patient-portal__next-appointment{display:grid;grid-template-columns:48px minmax(0,1fr) auto auto;background:var(--patient-portal-brand-soft);border-color:var(--patient-portal-brand-border)}.patient-portal__appointments button{display:grid;grid-template-columns:48px minmax(0,1fr) auto auto}.patient-portal__appointments,.patient-portal__updates{display:grid;gap:10px;padding:0;margin:0;list-style:none}.patient-portal__calendar{display:grid;width:48px;height:48px;flex:0 0 48px;place-content:center;color:var(--patient-portal-brand);line-height:1;text-align:center;background:var(--patient-portal-brand-soft);border-radius:11px}.patient-portal__calendar span{margin-bottom:3px;font-size:10px;font-weight:750;letter-spacing:.06em}.patient-portal__calendar strong{font-size:19px}.patient-portal__appointment-copy,.patient-portal__update-copy{display:grid;min-width:0;flex:1;gap:4px}.patient-portal__appointment-copy strong,.patient-portal__update-copy strong{color:var(--patient-portal-text);font-size:15px;font-weight:650}.patient-portal__appointment-copy time,.patient-portal__update-copy time{color:var(--patient-portal-muted);font-size:13px}.patient-portal__appointment-status,.patient-portal__action-status{width:fit-content;padding:6px 9px;color:var(--patient-portal-brand);font-size:12px;font-weight:700;background:var(--patient-portal-brand-soft);border-radius:999px}.patient-portal__chevron{color:#8e8c88;font-size:26px;line-height:1}.patient-portal__update-icon{display:grid;width:34px;height:34px;flex:0 0 34px;place-content:center;color:var(--patient-portal-brand);font-weight:750;background:var(--patient-portal-brand-soft);border-radius:10px}.patient-portal__notification-drawer{width:min(420px,100vw);padding:28px 24px;color:var(--patient-portal-text);background:#f8f8f7}.patient-portal__notification-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}.patient-portal__notification-header h2{margin:0;color:var(--patient-portal-text);font-size:22px}.patient-portal__notification-empty{padding:24px;color:var(--patient-portal-muted);text-align:center;background:#fff;border:1px dashed var(--patient-portal-border);border-radius:14px}.patient-portal__coming-soon{display:grid;min-height:320px;place-content:center;color:var(--patient-portal-muted);text-align:center}.patient-portal__coming-soon h1{margin-bottom:10px}.patient-portal__coming-soon p:last-child{margin-bottom:0}.patient-portal__coming-soon-icon{display:grid;width:58px;height:58px;margin:0 auto 20px;place-content:center;color:var(--patient-portal-brand);background:var(--patient-portal-brand-soft);border-radius:18px}.patient-portal__empty{padding:18px;margin:0;color:var(--patient-portal-muted);line-height:1.5;text-align:center;background:#fff;border:1px dashed var(--patient-portal-border);border-radius:14px}.patient-portal__detail{padding-top:14px}.patient-portal__booking>p:not(.patient-portal__eyebrow){margin-bottom:28px;color:#587078;line-height:1.55}.patient-portal__available-times{display:grid;gap:24px}.patient-portal__available-times h2{margin-bottom:10px;font-size:15px}.patient-portal__time-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.patient-portal__time-grid button{min-height:46px;color:#173f49;font-weight:650;background:#fff;border:1px solid #b9c8c9;border-radius:11px;cursor:pointer}.patient-portal__time-grid button[aria-pressed=true]{color:#fff;background:#174c57;border-color:#174c57}.patient-portal__booking-status{padding:24px 16px;color:#71858a;line-height:1.5;text-align:center;background:#fff;border:1px dashed #cbd6d5;border-radius:14px}.patient-portal__booking-status p{margin-bottom:8px}.patient-portal__detail-title{display:flex;align-items:center;gap:16px;margin-bottom:28px}.patient-portal__detail-title h1,.patient-portal__detail-title p{margin-bottom:0}.patient-portal__details-list{overflow:hidden;margin:0;background:#fff;border:1px solid var(--patient-portal-border);border-radius:15px}.patient-portal__details-list div{display:grid;gap:5px;padding:17px 18px}.patient-portal__details-list div+div{border-top:1px solid var(--patient-portal-border)}.patient-portal__details-list dt{color:var(--patient-portal-muted);font-size:12px;font-weight:650}.patient-portal__details-list dd{margin:0;color:var(--patient-portal-text);font-weight:650}.patient-portal__detail-actions{position:sticky;bottom:0;padding:32px 0 8px;margin-top:72px;background:linear-gradient(to bottom,#f8f8f700,#f8f8f7 26px)}.patient-portal__detail-actions>.patient-portal__button{width:100%}.patient-portal__actions{display:grid;gap:10px}.patient-portal__actions button:not(.patient-portal__button){min-height:48px;padding:11px 17px;color:var(--patient-portal-brand);font-weight:650;background:#fff;border:1px solid #bcbab7;border-radius:11px;cursor:pointer}.patient-portal__actions .patient-portal__danger-button{color:#9c3535;background:transparent;border-color:transparent}.patient-portal__detail-actions .patient-portal__action-status{display:block;padding:12px 16px;margin:0 auto;font-size:14px}.patient-portal__confirmation-dialog{width:min(420px,calc(100vw - 36px));background:#fff;border-radius:18px!important;box-shadow:0 18px 48px #21201d2e}.patient-portal__confirmation-dialog h2{padding:24px 24px 8px;color:var(--patient-portal-text);font-size:20px;font-weight:650}.patient-portal__confirmation-dialog p{margin:0;color:var(--patient-portal-muted);line-height:1.5}.patient-portal__confirmation-dialog .patient-portal__confirmation-time{margin-bottom:8px;color:var(--patient-portal-text);font-weight:650}.patient-portal__confirmation-actions{gap:8px;padding:8px 24px 24px!important}.patient-portal__confirmation-actions .patient-portal__button{min-height:44px}.patient-portal__confirmation-dialog button:focus-visible{outline:3px solid rgb(106 60 223 / 28%);outline-offset:2px}@media(max-width:600px){.patient-portal{padding:18px 18px 104px}.patient-portal__content--centered{min-height:calc(100vh - 54px)}.patient-portal__header,.patient-portal__detail-header{margin-bottom:26px}.patient-portal__navigation{position:fixed;z-index:20;right:0;bottom:0;left:0;gap:0;padding:7px 12px calc(7px + env(safe-area-inset-bottom));margin:0;background:#fffffff5;border-top:1px solid var(--patient-portal-border);border-radius:0;box-shadow:0 -4px 18px #21201d14;backdrop-filter:blur(12px)}.patient-portal__navigation button{min-height:50px;flex-direction:column;gap:3px;padding:4px 8px;font-size:11px;border-radius:9px}.patient-portal__navigation button[aria-current=page]{background:var(--patient-portal-brand-soft);box-shadow:none}.patient-portal__card{padding:28px 24px;border-radius:16px}.patient-portal__section-heading{align-items:flex-start;flex-direction:column;gap:10px}.patient-portal__page-heading{align-items:stretch}.patient-portal__welcome-row{align-items:flex-start;flex-direction:column}.patient-portal__book-button{width:100%}.patient-portal__time-grid{grid-template-columns:repeat(2,1fr)}.patient-portal__segmented-control,.patient-portal__appointment-filters{width:100%}.patient-portal__segmented-control button{flex:1}.patient-portal__next-appointment,.patient-portal__appointments button{grid-template-columns:48px minmax(0,1fr) auto}.patient-portal__next-appointment .patient-portal__calendar,.patient-portal__appointments .patient-portal__calendar{grid-row:1 / span 2}.patient-portal__next-appointment .patient-portal__appointment-status,.patient-portal__appointments .patient-portal__appointment-status{grid-row:2;grid-column:2;justify-self:start}.patient-portal__next-appointment .patient-portal__chevron,.patient-portal__appointments .patient-portal__chevron{grid-row:1 / span 2;grid-column:3;align-self:center}.patient-portal__notification-drawer{padding:22px 18px calc(22px + env(safe-area-inset-bottom))}.patient-portal__confirmation-actions{align-items:stretch;flex-direction:column-reverse}.patient-portal__confirmation-actions button{width:100%;margin-left:0!important}}
