:root{color:#1f2937;font-synthesis:none;background:#f3f7f6;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input{font:inherit}.page-shell{max-width:1120px;margin:0 auto;padding:64px 24px 96px}.hero{max-width:680px;margin-bottom:40px}.eyebrow{color:#0f766e;letter-spacing:.11em;text-transform:uppercase;font-size:.8rem;font-weight:750}h1,h2,p{margin-top:0}h1{color:#163633;letter-spacing:-.055em;margin-bottom:18px;font-size:clamp(2.25rem,5vw,4rem);line-height:1.04}.hero>p:last-child{color:#526460;font-size:1.1rem;line-height:1.6}.content-grid{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:24px;display:grid}.card{background:#fff;border:1px solid #dce7e4;border-radius:18px;padding:28px;box-shadow:0 8px 24px #1538320f}.card h2{color:#163633;margin-bottom:8px;font-size:1.2rem}.muted{color:#56665f;font-size:.92rem;line-height:1.5}.upload-card{flex-direction:column;gap:18px;display:flex}.user-bar{color:#163633;background:#e8f4f1;border-radius:12px;justify-content:space-between;align-items:center;margin-bottom:24px;padding:10px 18px;font-size:.88rem;display:flex}.user-bar button{color:#fff;background:#2f4f4a;min-height:32px;padding:4px 12px;font-size:.82rem}.user-bar button:hover{background:#203b37}.file-dropzone{color:#12665e;cursor:pointer;background:#f0f8f6;border:1.5px dashed #78a59c;border-radius:12px;flex-direction:column;align-items:flex-start;gap:5px;padding:18px;display:flex}.file-dropzone span{font-weight:700}.file-dropzone small{color:#55736c;overflow-wrap:anywhere}.file-dropzone input{opacity:0;width:1px;height:1px;position:absolute;overflow:hidden}.field-grid{grid-template-columns:1fr 1fr;gap:14px;display:grid}label{color:#36524c;gap:7px;font-size:.86rem;font-weight:650;display:grid}input{color:#163633;background:#fff;border:1px solid #bed0cb;border-radius:8px;width:100%;min-height:42px;padding:9px 10px}input:focus{border-color:#0f766e;outline:none;box-shadow:0 0 0 3px #0f766e26}.optional{color:#7b8d89;font-weight:450}button{color:#fff;cursor:pointer;background:#0f766e;border:0;border-radius:9px;min-height:44px;padding:10px 16px;font-weight:750}button:hover{background:#0b6059}button:disabled{cursor:wait;opacity:.7}.notice{border-radius:8px;margin:0;padding:10px 12px;font-size:.9rem}.error{color:#9a2727;background:#fff0f0}.success{color:#17633a;background:#ecf9f0}.info{color:#0c4a6e;background:#eef6f9}.step-badge{color:#0d625b;letter-spacing:.04em;text-transform:uppercase;background:#e6f4f1;border-radius:6px;align-items:center;width:fit-content;margin-bottom:8px;padding:3px 8px;font-size:.75rem;font-weight:750;display:inline-flex}.status-banner{border-radius:10px;flex-direction:column;gap:4px;padding:12px 14px;font-size:.88rem;display:flex}.status-banner.extracted{color:#14532d;background:#f0faf4;border:1px solid #bbf0d0}.status-banner.no-text,.status-banner.no_text{color:#7c2d12;background:#fffbeb;border:1px solid #fed7aa}.status-banner.failed{color:#991b1b;background:#fef2f2;border:1px solid #fecaca}.status-banner strong{font-size:.9rem}.field-hint{color:#697c78;margin-top:-2px;font-size:.78rem;font-weight:400}.btn-row{gap:10px;display:flex}.btn-row button{flex:1}button.secondary{color:#20423d;background:#e5ecea}button.secondary:hover{background:#d3dfdc}.timeline-heading{justify-content:space-between;align-items:flex-start;display:flex}.count{color:#12665e;background:#e5f2ef;border-radius:999px;justify-content:center;align-items:center;min-width:28px;height:28px;font-size:.85rem;font-weight:750;display:inline-flex}.empty-state{color:#56665f;text-align:center;border:1px dashed #cbd9d5;border-radius:12px;justify-content:center;align-items:center;min-height:188px;margin-top:18px;display:flex}.timeline{margin:20px 0 0;padding:0;list-style:none}.timeline li{grid-template-columns:14px 1fr;gap:14px;padding:0 0 22px;display:grid;position:relative}.timeline li:not(:last-child):before{content:"";background:#d4e5e0;width:2px;height:calc(100% - 14px);position:absolute;top:14px;left:6px}.timeline-marker{z-index:1;background:#0f766e;border:3px solid #d9f0ea;border-radius:50%;width:14px;height:14px;margin-top:3px}.timeline strong{color:#20423d;margin-bottom:4px;display:block}.timeline p,.timeline small{color:#56665f;margin-bottom:4px;font-size:.88rem;display:block}.review-badge{color:#875b10;background:#fff3d6;border-radius:999px;margin-top:5px;padding:3px 7px;font-size:.72rem;font-weight:700;display:inline-block}@media (width<=760px){.page-shell{padding:40px 16px 64px}.content-grid,.field-grid{grid-template-columns:1fr}}.health-shell{max-width:1180px;padding-top:28px}.health-hero{justify-content:space-between;align-items:flex-end;gap:24px;margin:42px 0 24px;display:flex}.health-hero h1{margin-bottom:12px;font-size:clamp(2.2rem,5vw,3.65rem)}.health-hero p:last-child{color:#526460;margin:0;font-size:1.05rem;line-height:1.55}.global-message{max-width:420px}.loading-card{place-items:center;min-height:130px;display:grid}.health-nav{background:#e8f2ef;border:1px solid #d2e4df;border-radius:14px;gap:6px;margin-bottom:28px;padding:6px;display:flex}.health-nav button{color:#52706a;background:0 0;border-radius:10px;flex:1;justify-content:center;align-items:center;gap:7px;min-height:42px;padding:8px 12px;font-size:.9rem;display:flex}.health-nav button:hover{color:#163f39;background:#dcece7}.health-nav button.active{color:#0f766e;background:#fff;box-shadow:0 4px 12px #15383217}.health-nav button span{font-size:1.05rem;font-weight:800}.today-layout{gap:24px;display:grid}.today-intro{justify-content:space-between;align-items:center;display:flex}.today-intro h1{margin:6px 0 5px;font-size:clamp(1.8rem,4vw,2.8rem)}.today-intro>div>p:last-child{margin:0}.daily-score{color:#12665e;background:#dff2ec;border-radius:16px;flex-direction:column;align-items:flex-end;padding:14px 18px;display:flex}.daily-score span{font-size:1.8rem;font-weight:800;line-height:1}.daily-score small{margin-top:5px;font-size:.72rem}.dashboard-grid,.section-layout{grid-template-columns:minmax(0,1.3fr) minmax(290px,.7fr);align-items:start;gap:24px;display:grid}.dashboard-main,.dashboard-side{gap:24px;display:grid}.card{transition:box-shadow .18s,transform .18s}.card:hover{box-shadow:0 12px 30px #15383217}.medication-today-card{border-top:4px solid #0f766e}.trend-card{border-top:4px solid #70a8d8}.card-mark,.trend-unit{color:#0f766e;background:#e4f4f0;border-radius:12px;justify-content:center;align-items:center;min-width:42px;height:42px;font-size:.85rem;font-weight:800;display:inline-flex}.trend-unit{color:#25618d;background:#edf5fb}.quick-entry-card{border-top:4px solid #69a999}.quick-entry-card h2,.quick-entry-card h3{color:#163633}.tracking-fields{grid-template-columns:1fr 1fr}.mini-summary-card{background:#f4faf8}.mini-summary-card strong{color:#163633;margin:5px 0 2px;font-size:2.2rem;line-height:1.15;display:block}.compact-empty{min-height:92px;margin-top:0}.medication-row{background:#f7fbfa;border:1px solid #dfebe8;border-radius:12px;align-items:center;gap:12px;padding:11px 12px;display:flex}.medication-row.taken{background:#effaf5;border-color:#bde7d3}.medication-row.skipped{background:#fff8ee;border-color:#f4d49f}.medication-icon{color:#0f766e;background:#d7eee8;border-radius:9px;flex:0 0 34px;justify-content:center;align-items:center;height:34px;font-size:1.05rem;display:flex}.medication-copy{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.medication-copy strong{color:#20423d;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.medication-copy span{color:#56665f;font-size:.78rem}.medication-actions{align-items:center;gap:2px;display:flex}.medication-actions button{min-height:30px;padding:5px 8px}.weight-trend-list{grid-template-columns:repeat(7,minmax(48px,1fr));gap:8px;display:grid}.weight-trend-list div{text-align:center;background:#f5f9fc;border-radius:9px;padding:9px 5px}.weight-trend-list span{color:#56665f;font-size:.67rem;display:block}.weight-trend-list strong{color:#285d7d;margin-top:3px;font-size:.92rem;display:block}.section-layout{grid-template-columns:minmax(290px,.75fr) minmax(0,1.25fr)}.history-card{min-height:320px}.history-list{gap:8px;display:grid}.history-row,.medication-management-row{background:#f7fbfa;border:1px solid #dfebe8;border-radius:11px;justify-content:space-between;align-items:center;gap:10px;padding:12px 14px;display:flex}.history-row>div{flex-direction:column;gap:3px;display:flex}.history-row strong{color:#20423d;font-size:1.08rem}.history-row span,.history-row small{color:#56665f;font-size:.8rem}.history-row small{font-style:italic}.medication-management-row{gap:0;padding:5px 7px 5px 0}.medication-management-row .medication-row{border:0;flex:1}.medication-management-copy{flex-direction:column;flex:0 0 220px;gap:3px;min-width:0;padding:8px 12px;display:flex}.medication-management-copy strong{color:#20423d}.medication-management-copy span{color:#56665f;font-size:.78rem}.medication-management-copy small{font-size:.74rem;font-weight:700}.active-label{color:#0f766e}.inactive-label{color:#a16207}@media (width<=760px){.health-hero,.today-intro{flex-direction:column;align-items:flex-start}.health-hero{margin-top:30px}.global-message{width:100%;max-width:none}.health-nav{overflow-x:auto}.health-nav button{flex:none;min-width:100px}.dashboard-grid,.section-layout{grid-template-columns:1fr}.daily-score{flex-direction:row;align-items:flex-start;gap:8px}.daily-score small{align-self:center;margin:0}.weight-trend-list{grid-template-columns:repeat(4,minmax(48px,1fr))}.medication-row{flex-wrap:wrap;align-items:flex-start}.medication-actions{margin-left:46px}.medication-management-row{flex-wrap:wrap;align-items:stretch;padding:8px}.medication-management-copy{flex-basis:100%;padding:0 4px 8px}.medication-management-row .medication-row{flex-basis:100%}}.trend-chart-card+.trend-chart-card{margin-top:4px}.trend-chart{width:100%;height:auto;display:block}.biomarker-trend-row{flex-wrap:wrap}.key-changes-card{background-color:var(--mantine-color-gray-0);border:1px solid var(--mantine-color-gray-3);border-radius:var(--mantine-radius-md)}.key-change-row{border-radius:var(--mantine-radius-sm);border:1px solid var(--mantine-color-gray-2);background-color:#fff;padding:.5rem .75rem}.biomarker-trend-row.highlighted{background-color:var(--mantine-color-teal-0);border-left:3px solid var(--mantine-color-teal-6);padding-left:calc(var(--mantine-spacing-xs,10px) + 4px);transition:background-color .3s}.health-report-container{max-width:900px;margin:0 auto}.report-header{border-bottom:2px solid #dce7e4;padding-bottom:16px}.report-section{break-inside:avoid;page-break-inside:avoid}.report-section+.report-section{border-top:1px solid #eef3f1;padding-top:18px}@media print{@page{size:A4;margin:14mm}body{color:#000!important;background:#fff!important}.health-report-page .health-nav,.health-report-page .user-bar,.health-report-page .app-header,.health-report-page .health-hero,.health-report-page .no-print,.health-report-page>.global-message,.health-report-page .report-actions{display:none!important}.page-shell,.health-shell,.health-report-container{max-width:100%!important;margin:0!important;padding:0!important}.card,.health-report{box-shadow:none!important;background:0 0!important;border:none!important;padding:0!important}.health-report-page .health-report-container,.health-report-page .health-report,.health-report-page .report-evolution-section,.health-report-page .report-medications-section,.health-report-page .report-studies-section{break-inside:auto!important;page-break-inside:auto!important}.health-report-page .health-report>.mantine-Stack-root,.health-report-page .report-evolution-section>.mantine-Stack-root{display:block!important}.health-report-page .health-report>.mantine-Stack-root>*,.health-report-page .report-evolution-section>.mantine-Stack-root>*{margin-top:12px!important}.health-report-page .trend-chart-card,.health-report-page .trend-chart-card svg,.health-report-page .history-row,.health-report-page .report-section:not(.report-evolution-section):not(.report-medications-section):not(.report-studies-section){break-inside:avoid!important;page-break-inside:avoid!important}.health-report-page .report-section>h2,.health-report-page .report-header{break-after:avoid!important;page-break-after:avoid!important}}
