.life-home-health{background:linear-gradient(135deg,#ff5d73,#e11d48)}.life-home-growth{background:linear-gradient(135deg,#22c55e,#0f766e)}.hg-tile-icon{font-size:34px;font-weight:900;line-height:1}.hg-heading-actions,.hg-form-grid,.hg-book-head{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.hg-heading-actions{display:flex}.hg-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:18px}.hg-summary article{padding:18px;border:1px solid var(--line);border-radius:18px;background:var(--surface);box-shadow:var(--shadow)}.hg-summary span,.hg-summary small{display:block;color:var(--muted);font-size:10px}.hg-summary strong{display:block;margin:8px 0 4px;font-size:22px}.hg-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);gap:17px;align-items:start}.hg-layout>.panel,.hg-layout>div>.panel{height:100%}.hg-med-card,.hg-report-row,.hg-course-card,.hg-book-card{display:flex;align-items:center;gap:11px;padding:13px 0;border-bottom:1px solid var(--line)}.hg-med-card:last-child,.hg-report-row:last-child,.hg-course-card:last-child,.hg-book-card:last-child{border-bottom:0}.hg-med-card>div,.hg-report-row>div,.hg-course-card>div,.hg-book-card>div{min-width:0;flex:1}.hg-med-card strong,.hg-med-card small,.hg-report-row strong,.hg-report-row small,.hg-course-card strong,.hg-course-card small,.hg-book-card strong,.hg-book-card small{display:block}.hg-med-card small,.hg-report-row small,.hg-course-card small,.hg-book-card small{margin-top:3px;color:var(--muted);font-size:9px}.hg-time-chips{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}.hg-time-chips button{border:0;border-radius:999px;padding:4px 8px;background:var(--primary-soft);color:var(--primary-dark);font:inherit;font-size:9px;cursor:pointer}.hg-trends,.hg-study-plan{margin-top:18px}.hg-trends select{max-width:240px}.hg-chart-wrap{overflow-x:auto}.hg-chart-wrap svg{width:100%;min-width:580px;height:auto}.hg-chart-wrap .axis{stroke:var(--line);stroke-width:2}.hg-chart-wrap .ref{stroke-width:2;stroke-dasharray:8 6}.hg-chart-wrap .ref.min{stroke:#f59e0b}.hg-chart-wrap .ref.max{stroke:#ef4444}.hg-chart-wrap .trend{fill:none;stroke:#1687ff;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}.hg-chart-wrap circle{fill:#fff;stroke:#1687ff;stroke-width:4}.hg-chart-wrap text{fill:var(--muted);font-family:inherit;font-size:10px}.hg-result-table{display:flex;gap:7px;overflow:auto}.hg-result-table button{flex:0 0 auto;border:1px solid var(--line);border-radius:10px;padding:8px 11px;background:var(--surface);color:var(--text)}.hg-result-table span,.hg-result-table strong{display:block}.hg-result-table span{font-size:8px;color:var(--muted)}.hg-empty{padding:28px 12px;text-align:center;color:var(--muted);background:var(--surface-soft);border-radius:14px}.hg-check{display:flex!important;align-items:center;gap:8px}.hg-check input{width:auto}.hg-modal{max-width:620px;max-height:92vh;overflow:auto}.hg-book-modal{max-width:760px}.hg-chapters-head{display:flex;align-items:center;justify-content:space-between;margin-top:8px}.hg-chapter-row{display:grid;grid-template-columns:1fr 120px 120px 36px;gap:6px;margin-top:6px}.hg-chapter-row input{min-width:0}.hg-chapter-row button{border:0;border-radius:8px;background:#fee2e2;color:#b91c1c}.hg-progress{height:6px;margin-top:8px;overflow:hidden;border-radius:99px;background:var(--surface-soft)}.hg-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#22c55e,#1687ff)}.hg-book-card img,.hg-cover-placeholder{width:54px;height:72px;flex:0 0 auto;border-radius:9px;object-fit:cover}.hg-cover-placeholder{display:grid;place-items:center;background:var(--surface-soft);font-size:25px}.hg-study-plan .panel-title label{display:flex;align-items:center;gap:7px;font-size:10px}.hg-study-plan input{width:75px}.hg-study-plan article{display:flex;align-items:center;gap:12px;padding:12px;border-radius:12px;background:var(--surface-soft);margin-top:7px}.hg-study-plan article>span{font-size:23px}.hg-study-plan strong,.hg-study-plan small{display:block}.hg-study-plan small{color:var(--muted);font-size:9px}.hg-course-card>div>span,.hg-book-card>div>span{display:inline-block;padding:2px 6px;border-radius:99px;background:var(--primary-soft);color:var(--primary-dark);font-size:8px;margin-bottom:4px}
.hg-lab-actions{display:flex;gap:6px;flex-wrap:wrap}.hg-lab-table-modal{width:min(1180px,96vw);max-width:1180px}.hg-lab-table-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:16px}.hg-lab-table-title h2{margin:0}.hg-lab-table-wrap{max-width:100%;overflow:auto;border:1px solid var(--line);border-radius:14px}.hg-lab-table{width:max-content;min-width:100%;border-collapse:separate;border-spacing:0;text-align:center;font-size:10px}.hg-lab-table th,.hg-lab-table td{min-width:105px;padding:11px 10px;border-left:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--surface);white-space:nowrap}.hg-lab-table th:first-child{position:sticky;right:0;z-index:2;min-width:145px;text-align:right;background:var(--surface-soft)}.hg-lab-table thead th{position:sticky;top:0;z-index:3;background:var(--primary-soft);color:var(--primary-dark);font-weight:900}.hg-lab-table thead th:first-child{z-index:4}.hg-lab-table tr:last-child>*{border-bottom:0}.hg-lab-table tr>*:last-child{border-left:0}.hg-lab-table th small,.hg-lab-table td small{display:block;margin-top:3px;color:var(--muted);font-size:8px}.hg-lab-table td.is-empty{color:var(--muted)}.hg-lab-table td.is-out{background:rgba(239,68,68,.11);color:#b91c1c}.hg-table-note{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:9px}.hg-table-note i{width:11px;height:11px;border-radius:3px;background:rgba(239,68,68,.2)}
@media(max-width:900px){.hg-layout{grid-template-columns:1fr}.hg-summary{grid-template-columns:repeat(3,1fr)}}
@media(max-width:720px){.hg-page{padding-bottom:100px}.hg-summary{gap:7px}.hg-summary article{padding:12px 9px;border-radius:14px}.hg-summary strong{font-size:15px}.hg-summary span,.hg-summary small{font-size:8px}.hg-form-grid,.hg-book-head{grid-template-columns:1fr}.hg-heading-actions{width:100%}.hg-heading-actions button{flex:1}.hg-chapter-row{grid-template-columns:1fr 82px 82px 32px}.hg-course-card,.hg-book-card,.hg-med-card,.hg-report-row{align-items:flex-start;flex-wrap:wrap}.hg-course-card>div,.hg-book-card>div,.hg-med-card>div,.hg-report-row>div{flex-basis:calc(100% - 70px)}.mobile-nav{overflow-x:auto}.mobile-nav>[data-life-extra]{flex:0 0 62px}.life-home-health .hg-tile-icon,.life-home-growth .hg-tile-icon{font-size:27px}.hg-lab-actions{width:100%}.hg-lab-actions button{flex:1;padding:9px 8px}.hg-lab-table-modal{width:96vw;padding:15px}.hg-lab-table th,.hg-lab-table td{min-width:88px;padding:9px 7px}.hg-lab-table th:first-child{min-width:125px}.hg-lab-table-title{align-items:flex-start}.hg-lab-table-title .secondary-button{padding:8px 10px}}
@media print{body>*:not(#labTableModal){display:none!important}#labTableModal{display:block!important;position:static;background:#fff}#labTableModal .capture-modal{width:100%;max-width:none;max-height:none;box-shadow:none}.hg-lab-table-wrap{overflow:visible}.hg-lab-table th:first-child,.hg-lab-table thead th{position:static}.modal-close,#printLabTable{display:none!important}}
