:root{--ink:#222a36;--muted:#687483;--line:#e5e8eb;--paper:#fff;--canvas:#f4f6f8;--green:#226d66;--green-dark:#185a54;--mint:#e5f2ee;--lime:#dceabe;--peach:#f6e5d8;--lav:#e9eafa;--shadow:0 14px 38px rgba(34,42,54,.075)}
body{font-family:'DM Sans',sans-serif;font-size:15px;color:var(--ink)}
h1,h2,h3,.brand,.panel-title,.stat-num,.modal h2{font-family:'Plus Jakarta Sans',sans-serif}
.sidebar{background:#fbfcfd}.brand{font-size:23px}.brand-mark{background:#e5f2ee}.brand-mark svg{stroke:#226d66}.brand-dot{color:#d18a60}
.nav-label{font-size:11px;color:#7d8896}.nav-item{font-size:14px;height:47px;color:#5e6978}.nav-item.active{background:#e5f2ee;color:#185a54}.nav-icon{font-size:18px}.help-card{background:#f4f0e8;border-color:#ede6d9}.help-icon{background:#f2e1cf;color:#9a6a43}
.main-area{background:#f4f6f8}.topbar{background:rgba(255,255,255,.94);padding:0 46px}.crumb{font-size:13px}.topbar-right{gap:14px}.date-pill{font-size:12px}.register-link{border:1px solid #d3e4dd;background:#e5f2ee;color:#185a54;border-radius:8px;padding:9px 12px;font-size:12px;font-weight:700}
.content{padding:38px 46px 54px}.eyebrow{font-size:12px;color:#7c8996;letter-spacing:.7px}.welcome-title,.page-heading h1{font-size:30px;letter-spacing:-1px}.welcome-title em,.patient-welcome em{color:#226d66;font-style:normal}.welcome-sub,.page-heading p{font-size:14px;color:#768292}.primary-btn,.secondary-btn,.soft-btn{font-size:13px;padding:12px 17px;border-radius:9px}.primary-btn{background:#226d66}.primary-btn:hover{background:#185a54}.stat-card{border-color:#e5e8eb;border-radius:14px;padding:20px;min-height:128px}.stat-head{font-size:13px;color:#647182}.stat-num{font-size:29px;color:#222a36}.stat-note{font-size:12px;color:#7f8996}.panel{border-color:#e5e8eb;border-radius:14px}.panel-header{height:68px;padding:0 21px}.panel-title{font-size:15px}.panel-subtitle{font-size:12px;color:#7f8996}.patients-toolbar{padding:15px 19px}.search-box{height:39px;width:245px}.search-box input,.filter-btn{font-size:12px}.filter-btn{padding:0 13px}.patient-table th{font-size:10px;padding:12px 18px;color:#798594}.patient-table td{font-size:12px;padding:14px 18px}.patient-name strong{font-size:12px}.patient-name small{font-size:10px}.patient-avatar{width:33px;height:33px}.status{font-size:10px;padding:5px 8px}.agenda-list{padding:0 19px 15px}.agenda-item{padding:14px 0}.agenda-time,.agenda-copy small{font-size:10px}.agenda-copy strong{font-size:12px}.agenda-tag{font-size:9px}.quick-actions{gap:9px}.quick-action{min-height:68px}.quick-action strong{font-size:11px}.quick-action small{font-size:10px}.text-link,.agenda-footer button{font-size:12px}.page-card{border-radius:14px;padding:23px}.page-card h3{font-size:16px}.page-card p{font-size:13px;line-height:1.6}.search-large{height:48px}.search-large input{font-size:14px}.field label{font-size:12px}.field input,.field select,.field textarea{padding:12px;font-size:13px}.modal{border-radius:18px}.modal h2{font-size:24px}.modal-intro{font-size:13px}.modal-kicker{font-size:10px}.modal-switch,.modal-switch button{font-size:12px}.login-link{font-size:12px}
.patient-welcome{display:flex;justify-content:space-between;align-items:center;padding:27px 30px;background:linear-gradient(115deg,#e7f2ed 0%,#f3efe5 100%);border:1px solid #dfe9e2;border-radius:17px;margin-bottom:18px}.patient-welcome h1{font:700 30px 'Plus Jakarta Sans',sans-serif;letter-spacing:-1px;margin:5px 0}.patient-welcome p{font-size:14px;color:#687782;margin:7px 0 0}.patient-portrait{width:57px;height:57px;border-radius:18px;background:#fff;color:#226d66;display:grid;place-items:center;font-size:16px;font-weight:700;box-shadow:0 5px 16px #264d4215}.patient-stats .stat-card:first-child{background:#eff6ee}.stat-word{font-size:21px}.patient-portal-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,.85fr);gap:17px}.portal-case{display:grid;grid-template-columns:18px 1fr;padding:22px 24px 14px}.portal-timeline{display:flex;flex-direction:column;align-items:center;padding-top:4px}.portal-timeline i{width:9px;height:9px;border:2px solid #529080;border-radius:50%;background:#fff;z-index:1}.portal-timeline i:not(:last-child){flex:1;width:1px;border:0;border-radius:0;background:#d6e5dc;min-height:100px}.portal-case-content article{padding:0 0 25px 11px}.portal-case-content article+article{padding-top:6px}.portal-case-content small{font-size:10px;letter-spacing:.5px;color:#778a80;font-weight:700}.portal-case-content h3{font-size:15px;margin:8px 0 6px}.portal-case-content p{font-size:13px;line-height:1.65;color:#6f7b83;margin:0;max-width:620px}.portal-side{display:grid;gap:15px;align-content:start}.prescription-feature{display:flex;align-items:center;gap:11px;padding:19px}.prescription-symbol{width:37px;height:37px;background:#e5f2ee;color:#226d66;border-radius:11px;display:grid;place-items:center;font-size:18px}.prescription-feature h3{font-size:13px;margin:0}.prescription-feature p{font-size:11px;color:#7d8893;margin:5px 0 0}.prescription-feature .status{margin-left:auto}.prescription-note{border-top:1px solid #edf0ec;padding:13px 19px 16px;font-size:11px;line-height:1.6;color:#7d8893}.patient-note{display:flex;gap:13px;padding:19px;border-radius:14px;background:#f3efe6;border:1px solid #ede6d9}.patient-note-icon{width:34px;height:34px;border-radius:10px;background:#f6e2ce;color:#a46d42;display:grid;place-items:center;font-size:18px;flex-shrink:0}.patient-note strong{font:700 13px 'Plus Jakarta Sans',sans-serif}.patient-note p{font-size:11px;color:#7e817e;line-height:1.55;margin:6px 0 9px}.auth-text-link{border:0;background:none;color:#226d66;font-weight:700;font-size:12px;padding:0 0 13px}
@media(max-width:1100px){.content{padding:30px 26px}.topbar{padding:0 26px}.patient-portal-grid{grid-template-columns:1fr}.portal-side{grid-template-columns:1fr 1fr}}
.record-actions{display:flex;align-items:center;gap:7px;flex-shrink:0}.record-edit,.record-delete{border:1px solid #e5e8eb;background:#fff;color:#226d66;border-radius:7px;padding:6px 9px;font-size:11px;font-weight:700}.record-edit:hover{background:#e5f2ee}.record-delete{color:#a34f45}.record-delete:hover{background:#fbefed;border-color:#f0d7d2}
.agenda-add-btn{border:1px solid #d3e4dd;background:#e5f2ee;color:#185a54;border-radius:7px;padding:7px 10px;font-size:11px;font-weight:700}.agenda-empty{padding:22px 0;text-align:center;color:#7f8996;font-size:13px}
.symptom-autocomplete{position:relative}.symptom-autocomplete textarea{display:block}.symptom-suggestions{position:absolute;left:0;right:0;top:calc(100% + 5px);z-index:10;max-height:220px;overflow-y:auto;background:#fff;border:1px solid #dfe7e2;border-radius:10px;padding:7px;box-shadow:0 14px 30px rgba(34,42,54,.14)}.symptom-suggestions[hidden]{display:none}.suggestion-heading{padding:6px 9px 7px;color:#829087;font-size:10px;letter-spacing:.7px;font-weight:700}.symptom-suggestion{display:block;width:100%;padding:9px 10px;border:0;border-radius:7px;background:#fff;text-align:left;color:#34443b;font-size:13px}.symptom-suggestion:hover,.symptom-suggestion:focus{background:#eaf3ee;color:#185a54;outline:0}.symptom-hint{font-size:11px;color:#7c8996;line-height:1.5}
.symptom-suggestion span,.symptom-suggestion small{display:block}.symptom-suggestion small{margin-top:3px;color:#88948d;font-size:10px}
.system-grid{grid-template-columns:repeat(3,minmax(0,1fr));padding:0;gap:9px}.system-card{min-height:112px;border:1px solid #e8ece9;border-radius:10px;padding:12px;background:#fff;text-align:left;display:flex;flex-direction:column;align-items:flex-start;gap:5px;transition:background .15s,border-color .15s,transform .15s}.system-card:hover{background:#f2f7f3;border-color:#c8ddd0;transform:translateY(-1px)}.system-icon{width:27px;height:27px;border-radius:8px;background:#e7f2ed;color:#226d66;display:grid;place-items:center;font-size:14px}.system-card strong{font:700 12px 'Plus Jakarta Sans',sans-serif;color:#293b33;line-height:1.35}.system-card small{font-size:10px;line-height:1.45;color:#79858d}
.patient-table th{font-size:12px}.patient-table td{font-size:14px}.patient-name strong{font-size:14px}.patient-name small{font-size:12px}.patient-avatar{width:38px;height:38px;font-size:11px}.case-row,.follow-row{padding:18px 0;gap:12px}.case-row strong,.follow-row strong{font-size:15px;line-height:1.45}.case-row small,.follow-row small{font-size:13px;line-height:1.55}.case-row .status,.follow-row .status{font-size:11px}.record-edit,.record-delete{font-size:12px;padding:8px 10px}.agenda-time,.agenda-copy small{font-size:12px}.agenda-copy strong{font-size:14px}.agenda-tag{font-size:11px}.remedy-card{padding:16px}.remedy-card strong{font-size:15px}.remedy-card p{font-size:13px;line-height:1.6}.remedy-card small{font-size:11px}.portal-case-content small{font-size:11px}.portal-case-content h3{font-size:17px;line-height:1.45}.portal-case-content p{font-size:14px;line-height:1.7}.patient-portal-grid .panel-subtitle{font-size:13px}
@media(max-width:720px){.content{padding:24px 15px 36px}.welcome-title,.page-heading h1,.patient-welcome h1{font-size:24px}.topbar{padding:0 13px}.register-link{padding:8px;font-size:11px}.topbar-right{gap:8px}.patient-welcome{padding:21px 18px}.patient-welcome p{font-size:12px;max-width:245px;line-height:1.5}.patient-portrait{width:45px;height:45px}.patient-stats .stat-num{font-size:22px}.patient-stats .stat-word{font-size:17px}.portal-side{grid-template-columns:1fr}.portal-case{padding:19px 15px 10px}.portal-case-content p{font-size:13px}.portal-case-content h3{font-size:15px}.top-avatar{display:none}.modal{padding:27px 20px}.case-row{gap:10px;align-items:flex-start}.case-row strong,.follow-row strong{font-size:14px}.case-row small,.follow-row small{font-size:12px}.record-actions{flex-wrap:wrap;justify-content:flex-end}.record-actions .status{display:none}.record-edit,.record-delete{padding:6px;font-size:11px}.patient-table{min-width:580px}.system-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.system-card{min-height:108px}}
