:root{--ink:#16352f;--green:#2f6d5f;--mint:#dcebe4;--cream:#f7f3eb;--coral:#df765f;--line:#d9dfd9;--white:#fff;--muted:#65736e}*{box-sizing:border-box}html{font-family:Inter,"Segoe UI",sans-serif;color:var(--ink);background:var(--cream)}body{margin:0;min-height:100vh}header{background:rgba(247,243,235,.94);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:3;backdrop-filter:blur(10px)}nav{max-width:1180px;margin:auto;height:74px;display:flex;align-items:center;justify-content:space-between;padding:0 24px}.brand{font:800 25px Georgia,serif;color:var(--ink);text-decoration:none}.brand span{color:var(--coral)}.navlinks{display:flex;gap:25px;align-items:center}.navlinks a,.link{color:var(--ink);text-decoration:none;font:600 14px inherit}.navlinks form{margin:0}.link{border:0;background:none;cursor:pointer}.navcta{background:var(--ink);color:white!important;padding:10px 17px;border-radius:50px}main{max-width:1180px;margin:auto;padding:50px 24px 80px}.hero{min-height:550px;display:grid;grid-template-columns:1.35fr .65fr;gap:75px;align-items:center}.hero h1,.page-head h1{font:500 clamp(42px,6vw,76px)/.98 Georgia,serif;margin:16px 0 25px;letter-spacing:-2px}.hero h1 em{color:var(--coral);font-weight:500}.hero p{font-size:18px;line-height:1.65;max-width:680px;color:var(--muted)}.eyebrow{font-size:12px;font-weight:800;letter-spacing:2px;color:var(--green)}.actions{display:flex;gap:12px;margin-top:30px}.button{display:inline-block;border:0;border-radius:7px;background:var(--green);color:white;text-decoration:none;font-weight:700;padding:14px 22px;cursor:pointer}.button.secondary{background:transparent;color:var(--ink);border:1px solid var(--ink)}.hero-card{background:var(--ink);color:white;padding:40px;border-radius:120px 120px 18px 18px;min-height:410px;display:flex;flex-direction:column;justify-content:center}.hero-card p{color:#c5d2cd;font-size:15px}.pulse{height:55px;width:55px;display:grid;place-items:center;background:var(--coral);border-radius:50%;font-size:24px}.stat{border-top:1px solid #ffffff30;padding:15px 0;display:flex;justify-content:space-between}.stat span{color:#b9cac4}.features{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);border:1px solid var(--line)}.features article{background:var(--cream);padding:30px}.features b{color:var(--coral)}.features p,.page-head p,.section-title p{color:var(--muted);line-height:1.55}.page-head{margin-bottom:35px}.page-head h1{font-size:50px}.page-head.row,.section-title{display:flex;justify-content:space-between;align-items:center}.wallet-mini{background:var(--ink);color:white;padding:18px 25px;border-radius:8px;display:flex;gap:25px;align-items:center}.wallet-mini strong{font-size:30px;color:#f1bf82}.form{max-width:520px;background:white;border:1px solid var(--line);padding:30px;box-shadow:0 10px 35px #16352f0d}.form.wide{max-width:900px}.form label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:700;margin-bottom:18px}.form input,.form select,.form textarea,.select-patient select{width:100%;padding:12px;border:1px solid #bdc9c4;border-radius:5px;background:#fff;font:inherit}.form small{font-weight:400;color:var(--muted)}.grid.two{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.full{grid-column:1/-1}fieldset{border:1px solid var(--line);margin:5px 0 20px;padding:20px}legend{font-weight:700}.checks{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.checks label{display:block;margin:0;font-weight:500}.checks input{width:auto}.error{color:#a53e31;margin-bottom:15px}.notice{padding:15px;margin:0 0 20px;border-radius:6px}.notice.ok{background:#dcefe4}.notice.error{background:#f8ddd7}.hint{color:var(--muted);font-size:13px;line-height:1.6}.auth{display:grid;place-items:center;min-height:650px}.auth h1{font:50px Georgia,serif;margin:10px 0}.cards{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.card,.panel,.result{background:white;border:1px solid var(--line);padding:25px}.card-top{display:flex;justify-content:space-between;align-items:center}.tag,.score,.status{font-size:12px;font-weight:800;padding:6px 9px;border-radius:50px;background:var(--mint)}.status{color:var(--green);background:#e0f3e6}.score{background:#f8e3d9;color:#9b4d3a}.chips{display:flex;gap:7px;flex-wrap:wrap;margin:16px 0}.chips span{font-size:12px;border:1px solid var(--line);padding:5px 8px;border-radius:3px}.card a{font-weight:700;color:var(--green)}.empty{padding:50px;text-align:center;border:1px dashed var(--line);color:var(--muted)}.results{display:grid;gap:15px}.result{display:grid;grid-template-columns:1fr 240px;gap:30px}.result aside{border-left:1px solid var(--line);padding-left:25px;display:flex;flex-direction:column;justify-content:center;gap:8px}.result aside small{color:var(--muted)}.contact{display:flex;flex-direction:column;gap:8px}.contact strong{font-size:18px}.select-patient{margin-bottom:20px;max-width:440px}.select-patient label{font-weight:700}.wallet-layout{display:grid;grid-template-columns:.8fr 1.2fr;gap:20px}.packages{display:flex;gap:12px}.packages button{border:1px solid var(--line);background:var(--cream);padding:20px;min-width:90px;cursor:pointer}.packages strong,.packages span{display:block}.packages strong{font-size:28px;color:var(--coral)}.ledger>div{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding:14px 0}.ledger span{display:flex;flex-direction:column;gap:4px}.ledger small{color:var(--muted)}.plus{color:var(--green)}.minus{color:var(--coral)}footer{text-align:center;padding:35px;color:var(--muted);border-top:1px solid var(--line)}@media(max-width:750px){nav{height:auto;padding-block:18px}.navlinks{gap:10px;flex-wrap:wrap;justify-content:flex-end}.hero{grid-template-columns:1fr;gap:20px}.hero-card{border-radius:70px 70px 15px 15px}.features,.cards,.wallet-layout{grid-template-columns:1fr}.grid.two,.checks{grid-template-columns:1fr}.result{grid-template-columns:1fr}.result aside{border-left:0;border-top:1px solid var(--line);padding:18px 0 0}.page-head.row,.section-title{align-items:flex-start;gap:20px;flex-direction:column}.page-head h1{font-size:40px}}
.copy-patient-panel{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:20px;padding:18px 20px;background:var(--mint);border:1px solid var(--line);border-radius:12px}.copy-patient-panel>div{display:flex;flex-direction:column;gap:4px}.copy-patient-panel small{color:var(--muted)}.copy-patient-form{display:flex;align-items:center;gap:8px}.copy-patient-form select{min-width:240px}@media(max-width:700px){.copy-patient-panel,.copy-patient-form{align-items:stretch;flex-direction:column}.copy-patient-form select{min-width:0;width:100%}}
.form label.checkbox-label{display:flex;flex-direction:row;align-items:flex-start;gap:10px;padding:11px 12px;border:1px solid var(--line);border-radius:7px;background:var(--cream);cursor:pointer}.form label.checkbox-label input[type="checkbox"]{flex:0 0 auto;width:18px;height:18px;margin:0;accent-color:var(--green)}
.wallet-purchase{display:flex;align-items:center;justify-content:space-between;gap:30px;margin-bottom:30px}.point-purchase-form{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.point-purchase-form label{font-size:12px;font-weight:800}.point-purchase-form input{display:block;width:120px;margin-top:5px;padding:11px;border:1px solid var(--line);border-radius:6px}.point-presets{display:flex;gap:5px}.point-presets button{padding:9px;border:1px solid var(--line);border-radius:20px;background:#fff;font-weight:800}.point-purchase-form>strong{min-width:90px;font-size:20px}.package-patient-selector>label{display:block;max-width:480px;margin-bottom:18px;font-weight:800}.package-patient-selector select{display:block;width:100%;margin-top:6px;padding:12px;border:1px solid var(--line);border-radius:6px}.care-package-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:32px}.care-package-grid article{display:flex;flex-direction:column;align-items:flex-start;padding:25px;border:1px solid var(--line);border-radius:14px;background:#fff}.care-package-grid article.featured{border-color:var(--green);box-shadow:0 10px 30px #16352f14}.care-package-grid article>span{color:var(--green);font-size:11px;font-weight:900;letter-spacing:.12em}.care-package-grid article>strong{margin:10px 0;font:600 28px Georgia,serif}.care-package-grid article>p{flex:1;color:var(--muted);line-height:1.55}@media(max-width:850px){.wallet-purchase{align-items:stretch;flex-direction:column}.care-package-grid{grid-template-columns:1fr}}
.payment-method-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:34px}.payment-method-grid article{border-radius:14px}.payment-method-grid h3{margin:9px 0}.payment-method-grid p{min-height:70px;color:var(--muted);line-height:1.5}.payment-method-grid .test-payment{border-style:dashed;background:#fbfaf7}.payment-points-form{display:flex;align-items:end;gap:9px}.payment-points-form label{font-size:12px;font-weight:800}.payment-points-form input{display:block;width:105px;margin-top:5px;padding:11px;border:1px solid var(--line);border-radius:6px}@media(max-width:900px){.payment-method-grid{grid-template-columns:1fr}.payment-method-grid p{min-height:0}}
.caregiver-package-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:820px}.package-section+.package-section{margin-top:42px}@media(max-width:750px){.caregiver-package-grid{grid-template-columns:1fr}}
.dashboard-role-shell{margin-top:25px}.dashboard-common-actions{display:flex;justify-content:flex-end;gap:10px;margin-bottom:16px}.dashboard-role-tabs{gap:7px;padding:8px;background:#fff;border:1px solid var(--line);border-radius:12px}.dashboard-role-tabs .nav-link{padding:11px 18px;border-radius:8px;color:var(--ink);font-weight:800}.dashboard-role-tabs .nav-link:hover{background:var(--mint)}.dashboard-role-tabs .nav-link.active{background:var(--ink);color:#fff}.dashboard-role-content{padding-top:22px}.dashboard-role-content>.tab-pane{min-height:220px}.dashboard-action-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:28px}.dashboard-action-card{display:flex;min-height:180px;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:24px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);text-align:center;text-decoration:none;box-shadow:0 8px 24px #16352f0b;transition:transform .15s,border-color .15s,box-shadow .15s}.dashboard-action-card:hover{transform:translateY(-3px);border-color:var(--green);box-shadow:0 14px 32px #16352f16;color:var(--green)}.dashboard-action-card i{color:var(--coral);font-size:38px}.dashboard-action-card strong{font-size:17px}.dashboard-action-card small{color:var(--muted);line-height:1.45}.dashboard-action-card.compact{min-height:0;flex-direction:row;justify-content:flex-start;padding:10px 14px;text-align:left;box-shadow:none}.dashboard-action-card.compact i{font-size:22px}.dashboard-action-card.compact span{display:flex;flex-direction:column}.referral-panel code{display:inline-block;padding:12px 16px;border-radius:7px;background:var(--mint);color:var(--ink);font-size:20px;font-weight:800;letter-spacing:.08em}@media(max-width:750px){.dashboard-common-actions{align-items:stretch;flex-direction:column}.dashboard-role-tabs{flex-wrap:nowrap;overflow-x:auto}.dashboard-role-tabs .nav-link{white-space:nowrap}.dashboard-action-grid{grid-template-columns:1fr}.dashboard-action-card{min-height:145px}}
.dashboard-page-head{margin-bottom:16px}.dashboard-page-head h1{margin:8px 0 10px;font-size:clamp(32px,4vw,44px);line-height:1.05;letter-spacing:-1px}.dashboard-page-head p{margin:0;font-size:14px}.dashboard-page-head+.dashboard-role-shell{margin-top:0}#walletActionMessage{position:sticky;top:84px;z-index:2;border:1px solid transparent;box-shadow:0 8px 24px #16352f1a}#walletActionMessage.ok{border-color:#9bc9aa}#walletActionMessage.error{border-color:#dfa395}.button[disabled]{cursor:not-allowed;opacity:.58}
.dashboard-role-shell{margin-top:0}.dashboard-role-content .dashboard-action-grid{display:flex;align-items:stretch;gap:6px;overflow-x:auto;margin-bottom:24px;padding:7px;border:1px solid var(--line);border-radius:11px;background:#fff}.dashboard-role-content .dashboard-action-card{display:flex;min-width:145px;min-height:64px;flex:1 0 145px;flex-direction:row;justify-content:flex-start;gap:9px;padding:10px 12px;border:0;border-radius:7px;background:transparent;box-shadow:none;text-align:left}.dashboard-role-content .dashboard-action-card:hover{transform:none;background:var(--mint);box-shadow:none}.dashboard-role-content .dashboard-action-card i{flex:0 0 28px;font-size:24px;text-align:center}.dashboard-role-content .dashboard-action-card strong{font-size:13px;line-height:1.2}.dashboard-role-content .dashboard-action-card small{display:none}.package-card-message{width:100%;margin-top:14px;padding:11px 12px;border-radius:7px;font-size:13px;font-weight:700;line-height:1.4}.package-card-message.ok{border:1px solid #9bc9aa;background:#dcefe4;color:#245d3b}.package-card-message.error{border:1px solid #dfa395;background:#f8ddd7;color:#91392f}.package-card-message .button{margin-top:9px;padding:8px 11px;font-size:12px}@media(max-width:750px){.dashboard-role-content .dashboard-action-grid{padding:5px}.dashboard-role-content .dashboard-action-card{min-width:125px;flex-basis:125px;padding:9px}.dashboard-role-content .dashboard-action-card i{font-size:21px}}
.points-shortage{display:block;margin-top:8px;color:#9a4034;font-size:12px;font-weight:800}#buy-points{scroll-margin-top:95px}
.birth-age{min-height:1.2em;color:var(--green)!important;font-weight:700!important}
.profile-photo-section{display:grid;grid-template-columns:150px 1fr;gap:24px;align-items:center;margin:0 0 25px;padding:22px;background:#fff;border:1px solid var(--line);border-radius:14px}.profile-photo-preview{width:150px;height:150px;object-fit:cover;border:1px solid var(--line);border-radius:12px}.profile-photo-section h2{margin:4px 0 7px}.profile-photo-section p{margin:0;color:var(--muted)}.profile-photo-section .actions{align-items:center;margin-top:15px}.profile-photo-section form{margin:0}.photo-crop-dialog{width:min(94vw,620px);padding:22px;border:0;border-radius:16px;box-shadow:0 24px 80px #0006}.photo-crop-dialog::backdrop{background:#16352fb3}.photo-crop-head{display:flex;align-items:center;justify-content:space-between}.photo-crop-head strong{font-size:20px}.photo-crop-head button{border:0;background:none;font-size:28px;cursor:pointer}.photo-crop-dialog>p{color:var(--muted)}.photo-crop-stage{overflow:hidden;width:min(100%,512px);margin:auto;border-radius:12px;background:#e4e8e6;touch-action:none}.photo-crop-stage canvas{display:block;width:100%;height:auto;cursor:grab;touch-action:none}.photo-crop-stage canvas:active{cursor:grabbing}.photo-zoom-label{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;margin:18px auto;width:min(100%,512px)}.photo-zoom-label input{width:100%}@media(max-width:600px){.profile-photo-section{grid-template-columns:90px 1fr;padding:16px}.profile-photo-preview{width:90px;height:90px}.profile-photo-section .actions{grid-column:1/-1;align-items:stretch;flex-direction:column}.profile-photo-section .actions .button{width:100%}}
