/* HF energy assessment: isolated styles shared by professional and patient views. */
html body #root .energy-menu-shell.hf-energy-page{padding:0!important;margin:0 0 18px!important;border:0!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;min-width:0}
html body #root .energy-calculation-card{box-sizing:border-box;padding:22px;border:1px solid #9ca3aa;border-radius:20px;background:#fff;color:#17191c;min-width:0}
html body #root .energy-brand-button{background:#111!important;background-image:none!important;color:#fff!important;border:1px solid #111!important;opacity:1!important;font-weight:600!important;min-width:190px;flex-shrink:0;box-shadow:none!important}
html body #root .energy-exercise-row{grid-template-columns:minmax(180px,1.5fr) repeat(3,minmax(115px,1fr)) auto;align-items:end!important;gap:10px}
html body #root .energy-exercise-row.has-pauses{grid-template-columns:minmax(160px,1.4fr) repeat(4,minmax(110px,1fr)) auto}
html body #root .energy-exercise-row label{font-size:13px!important;font-weight:400!important;line-height:1.4;min-width:0;gap:7px!important}
html body #root .energy-exercise-row :is(input,select){box-sizing:border-box!important;height:46px!important;min-height:46px!important;max-height:46px!important;padding:10px 12px!important;font-size:16px!important;font-weight:400!important;line-height:24px!important;min-width:0!important;width:100%!important}
html body #root .energy-session-kcal{box-sizing:border-box!important;height:46px!important;min-height:46px!important;max-height:46px!important;padding:5px 10px!important;gap:0!important;align-content:center!important}
html body #root .energy-session-kcal small{font-size:10px!important;line-height:13px!important;margin:0!important}
html body #root .energy-session-kcal b{font-size:16px!important;font-weight:400!important;line-height:21px!important}
html body #root .energy-exercise-row>.diet-remove{height:46px!important;min-height:46px!important;align-self:end}
html body #root .hf-energy-summary-six{grid-template-columns:repeat(6,minmax(0,1fr))!important}
html body #root .hf-energy-history{box-sizing:border-box;display:block;margin:18px 0!important;padding:0!important;border:1px solid #9ca3aa!important;border-radius:18px!important;background:#fff!important;color:#17191c!important;min-width:0;overflow:hidden}
html body #root .hf-energy-history .hf-energy-title{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:12px!important;width:100%!important;min-height:76px!important;height:auto!important;padding:16px 18px!important;margin:0!important;border:0!important;border-radius:17px!important;background:transparent!important;box-shadow:none!important;color:inherit!important;text-align:left!important;cursor:pointer}
html body #root .hf-energy-history .hf-energy-title-copy{display:grid!important;gap:5px!important;flex:1!important;min-width:0!important;padding:0!important;background:none!important}
html body #root .hf-energy-history .hf-energy-title-copy strong{font-size:15px!important;color:inherit!important;line-height:1.4!important}
html body #root .hf-energy-history .hf-energy-title-copy small{font-size:12px!important;font-weight:400!important;color:#6b7280!important;line-height:1.4!important}
html body #root .hf-energy-history .hf-energy-icon{display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 38px!important;width:38px!important;height:38px!important;padding:0!important;border-radius:10px!important;background:#111!important;color:#fff!important}
html body #root .hf-energy-history .hf-energy-icon svg{width:22px!important;height:22px!important;color:#fff!important;stroke:currentColor}
html body #root .hf-energy-history .assessment-chevron{flex:0 0 20px!important;width:20px!important;height:20px!important;color:inherit!important;transition:transform .15s}
html body #root .hf-energy-history .assessment-chevron.open{transform:rotate(90deg)}
html body #root .hf-energy-history-body{padding:0 18px 18px!important;min-width:0}
html body #root .hf-energy-history p{font-size:13px!important;line-height:1.6!important;margin:12px 0!important;color:inherit}
html body #root .hf-energy-history button:not(.hf-energy-title){box-sizing:border-box!important;width:auto!important;min-width:0!important;height:40px!important;min-height:40px!important;padding:8px 16px!important;border:1px solid #111!important;border-radius:9px!important;background:#111!important;background-image:none!important;box-shadow:none!important;color:#fff!important;font-size:13px!important;font-weight:500!important;line-height:20px!important;cursor:pointer;white-space:nowrap!important}
html body #root .hf-energy-history button:disabled{opacity:.55!important;cursor:default}
html body #root .hf-energy-history .hf-energy-register{display:grid!important;grid-template-columns:190px minmax(0,1fr) auto!important;gap:14px!important;align-items:end!important;margin:0 0 16px!important;padding:0 0 18px!important;border:0!important;border-bottom:1px solid #d1d5db!important;border-radius:0!important;background:none!important}
html body #root .hf-energy-history .hf-energy-current{grid-column:1/-1!important}
html body #root .hf-energy-register label{display:grid!important;gap:7px!important;margin:0!important;font-size:13px!important;font-weight:400!important;min-width:0!important;color:inherit!important}
html body #root .hf-energy-register :is(input,textarea){box-sizing:border-box!important;display:block!important;width:100%!important;min-width:0!important;height:44px!important;min-height:44px!important;padding:10px!important;margin:0!important;border:1px solid #9ca3af!important;border-radius:8px!important;background:#fff!important;color:#17191c!important;font-size:14px!important;font-weight:400!important;line-height:22px!important}
html body #root .hf-energy-register textarea{resize:vertical!important;max-height:150px}
html body #root .hf-energy-history .hf-energy-save{height:44px!important}
html body #root .hf-energy-select-actions{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;flex-wrap:wrap!important}
html body #root .hf-energy-dates{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:10px!important;min-width:0!important}
html body #root .hf-energy-dates label{display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;gap:7px!important;width:auto!important;min-width:0!important;padding:8px 10px!important;margin:0!important;border:1px solid #c6cbd1!important;border-radius:8px!important;font-size:13px!important;font-weight:400!important;line-height:20px!important;white-space:nowrap!important;background:none!important;color:inherit!important}
html body #root .hf-energy-dates input[type=checkbox]{appearance:auto!important;display:inline-block!important;flex:0 0 16px!important;width:16px!important;height:16px!important;min-height:16px!important;max-height:16px!important;min-width:16px!important;margin:0!important;padding:0!important;accent-color:#111!important;transform:none!important}
html body #root .hf-energy-dates span{display:inline!important;padding:0!important;background:none!important;color:inherit!important;font-size:13px!important;font-weight:400!important;white-space:nowrap!important;word-break:normal!important}
html body #root .hf-energy-bars{margin:22px 0!important;padding:16px!important;border:1px solid #d1d5db!important;border-radius:12px!important;min-width:0!important}
html body #root .hf-energy-bars h4{margin:0!important;font-size:14px!important;color:inherit!important}
html body #root .hf-energy-bar-date{margin-top:18px!important}
html body #root .hf-energy-bar-date>strong{font-size:12px!important}
html body #root .hf-energy-bar-line{display:grid!important;grid-template-columns:95px minmax(0,1fr) 65px!important;align-items:center!important;gap:10px!important;margin-top:8px!important;min-width:0!important}
html body #root .hf-energy-bar-line>span{font-size:12px!important;padding:0!important;background:none!important;color:inherit!important}
html body #root .hf-energy-bar-line>b{font-size:12px!important;text-align:right!important;color:inherit!important}
html body #root .hf-energy-bar-track{height:15px!important;background:#f0f0f0!important;border-radius:4px!important;overflow:hidden!important;min-width:0!important}
html body #root .hf-energy-bar-fill{height:15px!important;background:#111!important;border-radius:4px!important}
html body #root .hf-energy-bar-fill.exercise{background:repeating-linear-gradient(45deg,#777,#777 3px,#999 3px,#999 6px)!important}
html body #root .hf-energy-analysis{background:#f2f2f2!important;border-radius:10px!important;padding:12px!important}
html body #root .hf-energy-table{overflow-x:auto!important;max-width:100%!important;border:1px solid #d1d5db!important;border-radius:10px!important}
html body #root .hf-energy-table table{border-collapse:separate!important;border-spacing:0!important;width:100%!important;min-width:430px!important;font-size:13px!important;table-layout:auto!important}
html body #root .hf-energy-table :is(th,td){padding:13px!important;text-align:left!important;vertical-align:middle!important;border:0!important;border-bottom:1px solid #ddd!important;white-space:nowrap!important;font-size:13px!important;color:inherit!important;background:transparent!important}
html body #root .hf-energy-table thead{background:#ededed!important}
html body #root .hf-energy-table tr>th:first-child{position:sticky!important;left:0!important;z-index:1!important;background:#f6f6f6!important;min-width:145px!important;white-space:normal!important;max-width:200px!important}
html body #root .hf-energy-table tfoot button{height:34px!important;min-height:34px!important;font-size:12px!important}
html[data-theme=dark] body #root :is(.energy-calculation-card,.hf-energy-history){background:#151618!important;color:#f4f4f4!important;border-color:#565a60!important}
html[data-theme=dark] body #root .hf-energy-history .hf-energy-title-copy small{color:#aeb3ba!important}
html[data-theme=dark] body #root .hf-energy-register :is(input,textarea){background:#101112!important;color:#fff!important;color-scheme:dark!important}
html[data-theme=dark] body #root .hf-energy-analysis{background:#27282b!important}
html[data-theme=dark] body #root .hf-energy-table thead,html[data-theme=dark] body #root .hf-energy-table tr>th:first-child{background:#242529!important}
html[data-theme=dark] body #root .hf-energy-bar-track{background:#36383c!important}
html[data-theme=dark] body #root .hf-energy-bar-fill.total{background:#eee!important}
@media(max-width:1150px){html body #root .hf-energy-summary-six{grid-template-columns:repeat(3,minmax(0,1fr))!important}html body #root .energy-exercise-row,html body #root .energy-exercise-row.has-pauses{grid-template-columns:repeat(3,minmax(0,1fr))!important}html body #root .hf-energy-history .hf-energy-register{grid-template-columns:190px minmax(0,1fr)!important}html body #root .hf-energy-register .hf-energy-save{justify-self:start!important}}
@media(max-width:650px){html body #root .energy-calculation-card{padding:14px!important}html body #root .energy-subhead{align-items:stretch!important;flex-direction:column!important}html body #root .energy-brand-button{width:100%!important}html body #root .energy-exercise-row,html body #root .energy-exercise-row.has-pauses{grid-template-columns:repeat(2,minmax(0,1fr))!important}html body #root .energy-exercise-row>label:first-child{grid-column:1/-1!important}html body #root .hf-energy-summary-six{grid-template-columns:repeat(2,minmax(0,1fr))!important}html body #root .hf-energy-history .hf-energy-register{grid-template-columns:1fr!important}html body #root .hf-energy-date-field{max-width:210px!important}html body #root .hf-energy-history .hf-energy-title{padding:14px!important}html body #root .hf-energy-history-body{padding:0 12px 14px!important}html body #root .hf-energy-bar-line{grid-template-columns:70px minmax(0,1fr) 48px!important;gap:6px!important}html body #root .hf-energy-bar-line>span,html body #root .hf-energy-bar-line>b{font-size:11px!important}html body #root .hf-energy-bars{padding:10px!important}}
/* Revision 497: title uses the same icon/div/chevron structure as the other assessments. */
html body #root .hf-energy-history .hf-energy-title-copy{flex:1 1 0!important;width:auto!important;max-width:none!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;text-align:left!important;align-items:start!important;justify-items:start!important}
html body #root .hf-energy-history .hf-energy-title-copy h3{display:block!important;width:auto!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;color:#17191c!important;font-size:16px!important;font-weight:700!important;text-align:left!important;line-height:1.4!important}
html body #root .hf-energy-history .hf-energy-title-copy p{display:block!important;width:auto!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;color:#6b7280!important;font-size:12px!important;font-weight:400!important;text-align:left!important;line-height:1.4!important}
html body #root .hf-energy-history .hf-energy-title>.assessment-chevron{display:block!important;flex:0 0 20px!important;width:20px!important;height:20px!important;margin-left:auto!important;color:#17191c!important;background:none!important;border:0!important}
html body #root .hf-energy-title>.hf-energy-icon{border:0!important;margin:0!important}
html body #root .hf-energy-results-page{min-width:0;margin:0 0 18px}
html body #root .hf-energy-new-date{display:grid!important;gap:7px!important;width:200px!important;max-width:100%!important;font-size:13px!important;font-weight:400!important;color:inherit!important}
html body #root .hf-energy-new-date input{box-sizing:border-box;width:100%!important;height:44px!important;min-height:44px!important;padding:9px 11px!important;border:1px solid #9ca3af!important;border-radius:8px!important;background:#fff!important;color:#17191c!important;font-size:14px!important;font-weight:400!important}
html body #root .energy-calculation-card .energy-save-button{background:#111!important;background-image:none!important;color:#fff!important;border:1px solid #111!important;box-shadow:none!important;opacity:1!important}
html body #root .energy-calculation-card .energy-save-button:disabled{opacity:.55!important}
html body #root .hf-energy-registration-notice{font-size:13px;line-height:1.5}
.hf-workspace-energy-parent{position:relative}.hf-workspace-energy-parent.is-active .hf-workspace-submenu-arrow{transform:rotate(90deg)}
.hf-workspace-energy-submenu{display:grid;gap:2px;margin:2px 0 5px 21px;padding-left:8px;border-left:1px solid rgba(255,255,255,.26)}
.hf-workspace-energy-submenu[hidden]{display:none!important}.hf-workspace-energy-submenu .hf-workspace-subnav-item{width:177px!important}.hf-workspace-energy-submenu .hf-workspace-nav-label{overflow:hidden;font-size:10px!important;text-overflow:ellipsis}
html[data-theme=dark] body #root .hf-energy-history .hf-energy-title-copy h3,html[data-theme=dark] body #root .hf-energy-history .hf-energy-title>.assessment-chevron{color:#f4f4f4!important}
html[data-theme=dark] body #root .hf-energy-history .hf-energy-title-copy p{color:#aeb3ba!important}
html[data-theme=dark] body #root .hf-energy-new-date input{background:#101112!important;color:#fff!important;color-scheme:dark}
@media(max-width:720px){.hf-workspace-energy-submenu{margin-left:3px;padding-left:0;border-left:0}.hf-workspace-energy-submenu .hf-workspace-subnav-item{width:42px!important;justify-content:center;padding:0!important}}

/* Revision 498: assessment list uses the same gap as the existing cards. */
html body #root .assessments>.hf-energy-history{margin:18px 0 0!important;border-color:#111!important}
html[data-theme=dark] body #root .assessments>.hf-energy-history{border-color:#111!important}

/* The professional results grid already supplies its own gap. */
html body #root .hf-professional-anthropometry-results>.assessments>.hf-energy-history{margin:0!important}

/* Revision 501: compact portrait energy editor. */
html body #root .hf-energy-page .energy-card-actions{display:grid!important;grid-template-columns:170px!important;gap:8px!important}
html body #root .hf-energy-page :is(.energy-save-button,.energy-use-calculation){box-sizing:border-box!important;width:170px!important;height:40px!important;min-height:40px!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:8px 10px!important;border:1px solid #111!important;border-radius:9px!important;background:#111!important;color:#fff!important;font-size:13px!important;font-weight:600!important;margin:0!important}
html body #root .hf-energy-page .energy-use-calculation input{appearance:auto!important;accent-color:#fff!important;background:#fff!important;width:17px!important;height:17px!important}
html body #root .hf-energy-page .energy-use-calculation span{color:#fff!important}
html body #root .hf-energy-new-date{width:155px!important;font-family:inherit!important;font-size:10px!important;font-weight:850!important;gap:6px!important}
html body #root .hf-energy-new-date input{height:36px!important;min-height:36px!important;padding:6px 8px!important}
html body #root .hf-energy-page .energy-brand-button{min-width:0!important;padding:8px 14px!important}
html body #root .hf-energy-page .energy-exercise-row{grid-template-columns:minmax(155px,1fr) 86px 86px 86px 36px!important;gap:8px!important}
html body #root .hf-energy-page .energy-exercise-row label{font-size:11px!important;white-space:nowrap}
html body #root .hf-energy-page .energy-exercise-row :is(input,select){padding:8px!important;font-size:14px!important}
html body #root .hf-energy-page .energy-exercise-row>.energy-remove-icon{width:36px!important;min-width:36px!important;padding:7px!important;display:flex!important;align-items:center;justify-content:center;background:transparent!important;color:#b52e40!important;border:1px solid #ccc!important;box-shadow:none!important}
html body #root .hf-energy-page .hf-energy-summary-six{grid-template-columns:repeat(3,minmax(0,1fr))!important}
html body #root .hf-energy-page .hf-energy-summary-six>:is(span,label){background:#fff!important;color:#17191c!important;min-height:64px!important;padding:10px!important}
html body #root .hf-energy-page .hf-energy-summary-six small{font-size:13px!important;color:#17191c!important}
html body #root .hf-energy-page .hf-energy-summary-six :is(b,select){font-size:15px!important;color:#17191c!important;background:#fff!important}
html body #root .hf-energy-page .energy-macro-editor{display:grid!important;grid-template-columns:minmax(155px,1.3fr) repeat(3,minmax(100px,1fr))!important;gap:6px!important}
html body #root .hf-energy-page .energy-macro-editor>.energy-macro-card{padding:6px!important;gap:6px!important;min-width:0!important}
html body #root .hf-energy-page .energy-macro-controls{grid-template-columns:52px minmax(42px,1fr)!important;gap:4px!important;min-width:0!important}
html body #root .hf-energy-page .energy-weight-card .energy-macro-controls{grid-template-columns:minmax(0,1fr)!important}
html body #root .hf-energy-page .energy-macro-controls :is(input,select){width:100%!important;min-width:0!important;min-height:36px!important;height:36px!important;padding:5px!important;font-size:12px!important}
html body #root .hf-energy-page .energy-macro-number input{padding-right:17px!important}
html body #root .hf-energy-page .energy-macro-arrows{width:16px!important}
@media(max-width:600px){html body #root .hf-energy-page .energy-exercise-row{grid-template-columns:minmax(130px,1fr) 70px 70px!important}html body #root .hf-energy-page .energy-macro-editor{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* Revision 502: presentation for the portrait consultation display. */
html body #root .hf-energy-page .hf-energy-top-controls{display:flex!important;align-items:flex-end!important;gap:12px!important;flex-wrap:nowrap!important;margin-bottom:12px!important}
html body #root .hf-energy-page .energy-card-actions{display:flex!important;align-items:center!important;gap:10px!important}
html body #root .hf-energy-page .hf-energy-new-date{flex:0 0 155px!important;margin:0!important}
html body #root .hf-energy-page .hf-energy-new-date input{height:40px!important;min-height:40px!important}
html body #root .hf-energy-page :is(.energy-grid label,.hf-energy-new-date,.energy-exercise-row label){color:#111!important;font-weight:700!important;font-size:12px!important}
html body #root .hf-energy-page :is(h2,h4,.energy-macro-card>b){color:#111!important;font-weight:700!important}
html body #root .hf-energy-page :is(.energy-grid,.energy-exercise-row) :is(input,select){font-weight:400!important;color:#111!important;background:#fff!important}
html body #root .hf-energy-page .energy-session-field input{cursor:default!important}
html body #root .hf-energy-page .energy-macro-editor{grid-template-columns:minmax(110px,.9fr) repeat(3,minmax(120px,1fr))!important}
html body #root .hf-energy-page .energy-macro-controls{grid-template-columns:68px minmax(42px,1fr)!important}
html body #root .hf-energy-page .energy-macro-controls select{padding:5px 20px 5px 6px!important;text-overflow:ellipsis!important}
html body #root .hf-energy-page .hf-energy-summary-six>:is(span,label){position:relative!important;grid-template-columns:28px minmax(0,1fr)!important;column-gap:7px!important;border:1px solid #e0e3e6!important;background:#fafbfc!important;min-height:84px!important;align-content:center!important}
html body #root .hf-energy-page .hf-energy-summary-six>:is(span,label)>:is(small,b,select){grid-column:2!important;min-width:0!important}
html body #root .hf-energy-page .hf-energy-summary-six .hf-energy-metric-icon{grid-column:1!important;grid-row:1 / 3!important;display:flex!important;align-items:center!important;justify-content:center!important;background:transparent!important;padding:0!important}
html body #root .hf-energy-page .hf-energy-summary-six>span:nth-child(1){background:#f1f7fd!important;border-color:#d8e6f4!important}
html body #root .hf-energy-page .hf-energy-summary-six>span:nth-child(2){background:#fff6ed!important;border-color:#f4e0cb!important}
html body #root .hf-energy-page .hf-energy-summary-six>span:nth-child(3){background:#eff8f3!important;border-color:#d4e9dc!important}
html body #root .hf-energy-page .hf-energy-summary-six>span:nth-child(4){background:#f3f1fc!important;border-color:#e0dbf3!important}
html body #root .hf-energy-page .hf-energy-summary-six>label{background:#f8f9fa!important}
html body #root .hf-energy-page .hf-energy-summary-six>span.accent{background:#eaf7f7!important;border-color:#a9d6d7!important}
html body #root .hf-energy-page .hf-energy-summary-six small{font-size:12px!important;font-weight:700!important;line-height:1.35!important}
html body #root .hf-energy-page .hf-energy-summary-six b{font-size:17px!important;background:transparent!important}
html body #root .hf-energy-page .hf-energy-summary-six select{box-sizing:border-box!important;min-height:36px!important;width:100%!important;padding:6px 22px 6px 7px!important;border:1px solid #d9dde1!important;border-radius:8px!important;background:#fff!important;font-size:13px!important}
html body #root .hf-energy-page .hf-energy-summary-six select:focus-visible{outline:2px solid #71889e!important;outline-offset:2px!important}
html body #root .hf-energy-page .hf-energy-metric-icon.lean{color:#3875a6!important}
html body #root .hf-energy-page .hf-energy-metric-icon.fire{color:#df792c!important}
html body #root .hf-energy-page .hf-energy-metric-icon.run{color:#329664!important}
html body #root .hf-energy-page .hf-energy-metric-icon.total{color:#8064b6!important}
html body #root .hf-energy-page .hf-energy-metric-icon.adjust{color:#6f7d89!important}
html body #root .hf-energy-page .hf-energy-metric-icon.target{color:#168a90!important}
@media(max-width:600px){html body #root .hf-energy-page .hf-energy-top-controls{flex-wrap:wrap!important}html body #root .hf-energy-page .energy-macro-editor{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* Revision 503: stable horizontal actions and fully readable compact fields. */
html body #root .hf-energy-page .hf-energy-summary-six>:is(span,label){border:1px solid #111!important}
html body #root .hf-energy-page .hf-energy-top-controls{display:grid!important;grid-template-columns:155px minmax(170px,1fr) 170px!important;align-items:end!important;column-gap:18px!important;row-gap:10px!important;width:100%!important}
html body #root .hf-energy-page .hf-energy-top-controls>.energy-card-actions{display:contents!important}
html body #root .hf-energy-page .hf-energy-top-controls .energy-use-calculation{justify-self:center!important;flex:none!important;width:170px!important;min-width:170px!important;max-width:170px!important}
html body #root .hf-energy-page .hf-energy-top-controls .energy-save-button{justify-self:end!important;flex:none!important;width:170px!important;min-width:170px!important;max-width:170px!important}
html body #root .hf-energy-page .energy-macro-card:not(.energy-weight-card) .energy-macro-controls>select{appearance:none!important;-webkit-appearance:none!important;box-sizing:border-box!important;width:68px!important;min-width:68px!important;max-width:68px!important;padding:5px 18px 5px 5px!important;font-size:12px!important;letter-spacing:normal!important;text-indent:0!important;text-overflow:clip!important;white-space:nowrap!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='m1 1 4 4 4-4' fill='none' stroke='%23111' stroke-width='1.5'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 5px center!important;background-size:10px 6px!important}
html body #root .hf-energy-page .energy-exercise-row{grid-template-columns:minmax(130px,1fr) 105px 105px 108px 36px!important;column-gap:12px!important;align-items:end!important}
html body #root .hf-energy-page .energy-exercise-row>label{font-size:12px!important;white-space:normal!important;line-height:1.4!important;min-width:0!important;overflow-wrap:normal!important}
html body #root .hf-energy-page .energy-exercise-row>.energy-session-field input{padding-left:9px!important;padding-right:9px!important}
@media(max-width:600px){html body #root .hf-energy-page .hf-energy-top-controls{grid-template-columns:minmax(130px,1fr) 170px!important}html body #root .hf-energy-page .hf-energy-top-controls .energy-use-calculation{justify-self:end!important}html body #root .hf-energy-page .hf-energy-top-controls .energy-save-button{grid-column:2!important}html body #root .hf-energy-page .energy-exercise-row{grid-template-columns:minmax(130px,1fr) 105px 105px!important;row-gap:10px!important}}

/* Revision 504: full-width controls, softer cards and patient summaries. */
html body #root .hf-energy-page .hf-energy-top-controls{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important}
html body #root .hf-energy-page .hf-energy-top-controls :is(.hf-energy-new-date,.energy-use-calculation,.energy-save-button){box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:none!important;justify-self:stretch!important;flex:auto!important}
html body #root .hf-energy-page .hf-energy-summary-six>:is(span,label){border:1px solid #e0e3e6!important;outline:none!important;box-shadow:none!important}
html body #root .hf-energy-page .hf-energy-summary-six>span:nth-child(1){border-color:#d8e6f4!important}
html body #root .hf-energy-page .hf-energy-summary-six>span:nth-child(2){border-color:#f4e0cb!important}
html body #root .hf-energy-page .hf-energy-summary-six>span:nth-child(3){border-color:#d4e9dc!important}
html body #root .hf-energy-page .hf-energy-summary-six>span:nth-child(4){border-color:#e0dbf3!important}
html body #root .hf-energy-page .hf-energy-summary-six>span.accent{border-color:#a9d6d7!important}
html body #root .hf-energy-page .energy-macro-section{border:0!important;background:#fff!important;box-shadow:none!important;padding:14px 0!important}
html body #root .hf-energy-page .energy-macro-card{border:1px solid #e0e3e6!important;background:#f7f8f9!important}
html body #root .hf-energy-page .hf-energy-metric-icon.fire{color:#6f7d89!important}
html body #root .hf-energy-page .hf-energy-metric-icon.total{color:#df792c!important}
html body #root .hf-energy-record-summaries{margin:18px 0!important}
html body #root .hf-energy-record-summary{margin:0 0 16px!important}
html body #root .hf-energy-record-summary>h4{font-size:13px!important;margin:0 0 8px!important}
@media(max-width:600px){html body #root .hf-energy-page .hf-energy-top-controls{grid-template-columns:minmax(0,1fr)!important}html body #root .hf-energy-page .hf-energy-top-controls .energy-save-button{grid-column:auto!important}html body #root .hf-energy-record-summaries .hf-energy-summary-six{grid-template-columns:repeat(2,minmax(0,1fr))!important}html body #root .hf-energy-record-summaries .hf-energy-summary-six b{font-size:14px!important}}

/* Revision 505: scientific reference comparison, separate from dietary targets. */
html body #root .hf-energy-reference{margin:16px 0!important;padding:14px 12px!important;border:1px solid #e2e5e8!important;border-radius:12px!important;background:#fff!important;color:#17191c!important;min-width:0!important}
html body #root .hf-energy-reference h4{margin:0 0 8px!important;font-size:14px!important;color:#111!important}
html body #root .hf-energy-reference .hf-energy-reference-value{margin:5px 0 34px!important;font-size:12px!important;color:#333!important}
html body #root .hf-energy-reference-track{position:relative!important;height:8px!important;margin:0 6px 28px!important;border-radius:5px!important}
html body #root .hf-energy-reference-pin{position:absolute!important;bottom:8px!important;transform:translateX(-50%)!important;width:22px!important;height:28px!important;padding:0!important;background:transparent!important}
html body #root .hf-energy-reference-tick{position:absolute!important;top:12px!important;transform:translateX(-50%)!important;font-size:9px!important;color:#5d6570!important;padding:0!important;background:none!important}
html body #root .hf-energy-reference-labels{display:flex!important;justify-content:space-between!important;gap:6px!important;font-size:11px!important}
html body #root .hf-energy-reference-labels span{padding:0!important;background:none!important}
html body #root .hf-energy-reference-labels span:nth-child(1){color:#277fae!important}html body #root .hf-energy-reference-labels span:nth-child(2){color:#268653!important}html body #root .hf-energy-reference-labels span:nth-child(3){color:#b65366!important}
html body #root .hf-energy-reference .hf-energy-reference-note{font-size:10px!important;line-height:1.4!important;margin:10px 0 0!important;color:#67717b!important}

/* Revision 506: desktop consultation layout and independent macro accordion. */
html body #root .hf-energy-page :is(.energy-calculation-card,.energy-planning,.energy-menu-content,.energy-planning-body,.hf-energy-desktop-split,.hf-energy-input-column,.hf-energy-summary-column,.energy-summary-five,.energy-adequacy,.hf-energy-macro-disclosure-body){background:#fff!important;background-image:none!important;box-shadow:none!important}
html body #root .hf-energy-page .energy-menu-content{border:0!important;border-radius:0!important;padding:0!important;margin-bottom:0!important}
html body #root .hf-energy-input-column,html body #root .hf-energy-summary-column{min-width:0!important}
html body #root .hf-energy-page .hf-energy-summary-column{margin:15px 0!important}
html body #root .hf-energy-page .hf-energy-reference{background:#fff!important;box-shadow:none!important}
html body #root .hf-energy-page .energy-use-calculation.hf-energy-use-desktop{display:none!important}
html body #root .hf-energy-page .hf-energy-macro-disclosure{margin:16px 0 0!important;padding:0!important;border:1px solid #9ca3aa!important;border-radius:18px!important;background:#fff!important;color:#17191c!important;overflow:hidden!important}
html body #root .hf-energy-page .hf-energy-macro-heading{box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;padding:18px 20px!important;cursor:pointer!important;list-style:none!important;background:#fff!important;user-select:none}
html body #root .hf-energy-page .hf-energy-macro-heading::-webkit-details-marker{display:none!important}
html body #root .hf-energy-page .hf-energy-macro-heading>span{display:grid!important;gap:5px!important;background:none!important;padding:0!important}
html body #root .hf-energy-page .hf-energy-macro-heading strong{font-size:17px!important;color:#111!important}
html body #root .hf-energy-page .hf-energy-macro-description{font-size:12px!important;color:#68717b!important;background:none!important;padding:0!important}
html body #root .hf-energy-page .hf-energy-macro-chevron{flex:0 0 22px!important;transition:transform .15s}
html body #root .hf-energy-page .hf-energy-macro-disclosure[open] .hf-energy-macro-chevron{transform:rotate(90deg)}
html body #root .hf-energy-page .hf-energy-macro-disclosure-body{padding:0 20px 20px!important}
html body #root .hf-energy-page .hf-energy-macro-disclosure:not([open])>.hf-energy-macro-disclosure-body{display:none!important}
@media(min-width:1100px) and (orientation:landscape){
 html body #root .hf-energy-page .hf-energy-desktop-split{display:grid!important;grid-template-columns:minmax(0,7fr) minmax(310px,3fr)!important;gap:22px!important;align-items:start!important}
 html body #root .hf-energy-page .hf-energy-input-column .hf-energy-top-controls{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
 html body #root .hf-energy-page .hf-energy-top-controls .energy-use-calculation{display:none!important}
 html body #root .hf-energy-page .hf-energy-top-controls .energy-save-button{grid-column:2!important}
 html body #root .hf-energy-page .hf-energy-input-column .energy-source-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
 html body #root .hf-energy-page .hf-energy-input-column .energy-exercises{padding:12px!important;background:#fff!important}
 html body #root .hf-energy-page .hf-energy-input-column .energy-exercise-row{grid-template-columns:minmax(120px,1fr) 90px 90px 95px 32px!important;column-gap:8px!important}
 html body #root .hf-energy-page .hf-energy-input-column .energy-exercise-row>label{font-size:11px!important}
 html body #root .hf-energy-page .hf-energy-input-column .energy-exercise-row>.energy-remove-icon{width:32px!important;min-width:32px!important}
 html body #root .hf-energy-page .hf-energy-summary-column{margin:0!important;padding:0!important;border:0!important}
 html body #root .hf-energy-page .hf-energy-summary-column .hf-energy-summary-six{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 html body #root .hf-energy-page .hf-energy-summary-column .hf-energy-summary-six>:is(span,label){min-height:96px!important;padding:10px 8px!important;column-gap:5px!important;grid-template-columns:24px minmax(0,1fr)!important}
 html body #root .hf-energy-page .hf-energy-summary-column .hf-energy-summary-six small{font-size:12px!important}
 html body #root .hf-energy-page .hf-energy-summary-column .hf-energy-summary-six :is(b,select){font-size:14px!important}
 html body #root .hf-energy-page .hf-energy-summary-column .hf-energy-summary-six select{padding-left:4px!important}
 html body #root .hf-energy-page .hf-energy-macro-disclosure-body .hf-energy-use-desktop{display:flex!important;width:180px!important;margin:0 0 14px!important}
}
html body #root .hf-energy-page .energy-exercises{background:#fff!important;background-image:none!important;box-shadow:none!important}

/* Revision 507: full-width exercise section and compact latest-assessment presentation. */
html body #root .hf-energy-page .energy-exercises>.energy-subhead{justify-content:flex-start!important;gap:10px!important}
html body #root .hf-energy-page .energy-brand-button.energy-add-icon{box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 32px!important;width:32px!important;min-width:32px!important;max-width:32px!important;height:32px!important;min-height:32px!important;padding:0!important;border-radius:8px!important;font-size:24px!important;font-weight:400!important;line-height:1!important}
@media(min-width:1100px) and (orientation:landscape){
 html body #root .hf-energy-page .hf-energy-desktop-split{gap:12px 22px!important;align-items:stretch!important}
 html body #root .hf-energy-page .hf-energy-input-column,html body #root .hf-energy-page .hf-energy-input-column>.energy-planning-body{display:contents!important}
 html body #root .hf-energy-page .hf-energy-top-controls{grid-column:1!important;grid-row:1!important;margin:0!important}
 html body #root .hf-energy-page .energy-source-grid{grid-column:1!important;grid-row:2!important}
 html body #root .hf-energy-page .hf-energy-registration-notice{grid-column:1 / -1!important;grid-row:3!important;margin:0!important}
 html body #root .hf-energy-page .hf-energy-summary-column{grid-column:2!important;grid-row:1 / 3!important;align-self:stretch!important}
 html body #root .hf-energy-page .hf-energy-summary-column .hf-energy-summary-six{height:100%!important;box-sizing:border-box!important;grid-template-rows:repeat(3,minmax(0,1fr))!important;gap:7px!important}
 html body #root .hf-energy-page .hf-energy-summary-column .hf-energy-summary-six>:is(span,label){box-sizing:border-box!important;min-height:68px!important;padding:7px!important;gap:3px 5px!important}
 html body #root .hf-energy-page .hf-energy-summary-column .hf-energy-summary-six small{font-size:11px!important;line-height:1.25!important}
 html body #root .hf-energy-page .hf-energy-summary-column .hf-energy-summary-six :is(b,select){font-size:13px!important}
 html body #root .hf-energy-page .hf-energy-summary-column .hf-energy-summary-six select{min-height:30px!important;height:30px!important;padding-top:3px!important;padding-bottom:3px!important}
 html body #root .hf-energy-page .hf-energy-input-column .energy-exercises{grid-column:1 / -1!important;grid-row:4!important;width:100%!important;box-sizing:border-box!important;margin:0!important}
 html body #root .hf-energy-page .hf-energy-input-column .energy-exercise-row{grid-template-columns:minmax(130px,1fr) 105px 105px 108px 36px!important;column-gap:12px!important}
 html body #root .hf-energy-page .hf-energy-input-column .energy-exercise-row>label{font-size:12px!important}
}

/* Revision 508: oxygen metrics and activity selection. */
html body #root .hf-energy-page .energy-source-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:12px!important}
html body #root .hf-energy-page .energy-source-grid>label,html body #root .hf-energy-page .energy-source-grid>.energy-readonly{grid-column:span 2!important;min-width:0!important}
html body #root .hf-energy-page .energy-source-grid>:is(.hf-energy-routine-field,.hf-energy-vo2-field){grid-column:span 3!important}
html body #root .hf-energy-page .hf-energy-vo2-field select{width:100%!important;min-width:0!important;text-overflow:ellipsis!important}
html body #root .hf-energy-par-help{font-size:10px!important;line-height:1.2!important;color:#68717b!important}
html body #root .hf-energy-oxygen-note{grid-column:1/-1!important;margin:4px 0!important;font-size:10px!important;line-height:1.5!important;color:#68717b!important}
html body #root .hf-energy-page .hf-energy-summary-six{grid-template-columns:repeat(3,minmax(0,1fr))!important}
html body #root .hf-energy-page .hf-energy-summary-six .hf-energy-metric-icon.lungs{color:#6b8d9b!important}
html body #root .hf-energy-page .hf-energy-summary-six>span:nth-child(n+7){background:#f1f6f8!important;border-color:#d9e5ea!important}
html body #root .hf-energy-page .hf-energy-summary-six>span:nth-child(7){grid-column:1!important}
html body #root .hf-energy-page .hf-energy-summary-six>span:nth-child(8){grid-column:2!important}
@media(min-width:1100px) and (orientation:landscape){
 html body #root .hf-energy-page .hf-energy-desktop-split{grid-template-columns:minmax(0,5fr) minmax(0,6fr)!important;column-gap:16px!important}
 html body #root .hf-energy-page .hf-energy-input-column .energy-source-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important}
 html body #root .hf-energy-page .hf-energy-summary-column .hf-energy-summary-six{grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-template-rows:repeat(2,minmax(0,1fr))!important}
 html body #root .hf-energy-page .hf-energy-summary-six>span:nth-child(n+7){grid-column:auto!important}
 html body #root .hf-energy-page .hf-energy-summary-column .hf-energy-summary-six>:is(span,label){grid-template-columns:20px minmax(0,1fr)!important;padding:7px 5px!important}
 html body #root .hf-energy-page .hf-energy-summary-column .hf-energy-summary-six :is(b,select){font-size:12px!important;overflow-wrap:anywhere!important}
 html body #root .hf-energy-page .hf-energy-summary-column .hf-energy-metric-icon svg{width:19px!important;height:19px!important}
}
@media(max-width:650px){
 html body #root .hf-energy-page .energy-source-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 html body #root .hf-energy-page .energy-source-grid>label,html body #root .hf-energy-page .energy-source-grid>:is(.hf-energy-routine-field,.hf-energy-vo2-field){grid-column:auto!important}
 html body #root .hf-energy-page .hf-energy-summary-six{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* Revision 509: separate total-energy and resting-prediction proportions. */
html body #root .hf-energy-reference-pair{display:block!important;grid-column:1/-1!important;min-width:0!important;width:100%!important}
html body #root .hf-energy-resting-values{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;margin:0 0 32px!important}
html body #root .hf-energy-resting-values>span{display:grid!important;gap:5px!important;padding:10px!important;border:1px solid #e0e5e8!important;border-radius:8px!important;background:#f7f9fa!important;color:#17191c!important;min-width:0!important}
html body #root .hf-energy-resting-values small{font-size:11px!important;line-height:1.4!important;color:#596773!important}
html body #root .hf-energy-resting-values b{font-size:15px!important;font-weight:500!important;color:inherit!important}
html body #root .hf-energy-resting-track{background:linear-gradient(to right,#c9dce5 0%,#c9dce5 50%,#dbe0e5 50%,#dbe0e5 100%)!important}
html body #root .hf-energy-resting-center{position:absolute!important;left:50%!important;top:-4px!important;bottom:-4px!important;width:1px!important;background:#596773!important;padding:0!important}
html body #root .hf-energy-reference-labels.hf-energy-resting-labels>span{color:#596773!important}
@media(max-width:480px){html body #root .hf-energy-resting-values{grid-template-columns:1fr!important}}

/* Revision 510: mirrored controls, eight larger metrics and matching proportion bars. */
html body #root .hf-energy-page .energy-source-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:start!important}
html body #root .hf-energy-page .energy-source-grid>label,html body #root .hf-energy-page .energy-source-grid>.energy-readonly,html body #root .hf-energy-page .energy-source-grid>:is(.hf-energy-routine-field,.hf-energy-vo2-field,.hf-energy-adjustment-field){grid-column:auto!important;display:grid!important;grid-template-rows:minmax(34px,auto) 46px!important;align-items:end!important;gap:7px!important;min-width:0!important}
html body #root .hf-energy-page .energy-source-grid :is(select,input){box-sizing:border-box!important;width:100%!important;min-width:0!important;height:46px!important;min-height:46px!important;margin:0!important;text-overflow:ellipsis!important}
html body #root .hf-energy-page .energy-source-grid>.hf-energy-adjustment-field select{text-align:center!important}
html body #root .hf-energy-page .hf-energy-summary-six>:is(span,label){box-sizing:border-box!important;display:grid!important;grid-template-columns:30px minmax(0,1fr)!important;grid-template-rows:minmax(42px,auto) minmax(30px,auto)!important;align-content:space-between!important;align-items:start!important;min-height:116px!important;padding:12px 10px!important;gap:14px 7px!important}
html body #root .hf-energy-page .hf-energy-summary-six .hf-energy-metric-icon{grid-column:1!important;grid-row:1!important;align-self:start!important;justify-content:flex-start!important}
html body #root .hf-energy-page .hf-energy-summary-six .hf-energy-metric-icon svg{width:28px!important;height:28px!important}
html body #root .hf-energy-page .hf-energy-summary-six>span>small{grid-column:2!important;grid-row:1!important;font-size:13px!important;line-height:1.35!important;align-self:start!important}
html body #root .hf-energy-page .hf-energy-summary-six>span>b{grid-column:1/-1!important;grid-row:2!important;align-self:end!important;font-size:20px!important;line-height:1.3!important;font-weight:500!important;overflow-wrap:normal!important}
html body #root .hf-energy-page .hf-energy-summary-six>span.hf-energy-weekly-card,html body #root .hf-energy-page .hf-energy-summary-six>span:nth-child(5){background:#f5f2fb!important;border-color:#e3dcf2!important}
html body #root .hf-energy-page .hf-energy-metric-icon.week{color:#8a74a6!important}
html body #root .hf-energy-resting-track{background:linear-gradient(to right,#318fc3 0%,#318fc3 45%,#39a66b 45%,#39a66b 55%,#cc6474 55%,#cc6474 100%)!important}
@media(min-width:1100px) and (orientation:landscape){
 html body #root .hf-energy-page .hf-energy-input-column .energy-source-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 html body #root .hf-energy-page .hf-energy-summary-column .hf-energy-summary-six{grid-template-rows:repeat(2,minmax(116px,1fr))!important}
 html body #root .hf-energy-page .hf-energy-summary-column .hf-energy-summary-six>:is(span,label){grid-template-columns:30px minmax(0,1fr)!important;padding:12px 9px!important;gap:14px 7px!important}
 html body #root .hf-energy-page .hf-energy-summary-column .hf-energy-summary-six>span>small{font-size:13px!important}
 html body #root .hf-energy-page .hf-energy-summary-column .hf-energy-summary-six>span>b{font-size:20px!important;overflow-wrap:normal!important}
}
@media(max-width:650px){
 html body #root .hf-energy-page .energy-source-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px 7px!important}
 html body #root .hf-energy-page .energy-source-grid>label{font-size:11px!important;grid-template-rows:minmax(34px,auto) 44px!important}
 html body #root .hf-energy-page .energy-source-grid :is(select,input){font-size:12px!important;height:44px!important;min-height:44px!important;padding-left:7px!important;padding-right:20px!important}
 html body #root .hf-energy-page .hf-energy-summary-six>span>b{font-size:18px!important}
}

/* Revision 511: compact aligned columns; regular-weight metric values. */
html body #root .hf-energy-page .hf-energy-summary-six>span>b,
html body #root .hf-energy-page .hf-energy-summary-column .hf-energy-summary-six>span>b{font-size:15px!important;font-weight:400!important;line-height:1.35!important;overflow-wrap:normal!important}
html body #root .hf-energy-page .hf-energy-summary-six>:is(span,label),
html body #root .hf-energy-page .hf-energy-summary-column .hf-energy-summary-six>:is(span,label){grid-template-rows:minmax(35px,auto) minmax(20px,auto)!important;min-height:88px!important;padding:9px 8px!important;gap:6px 7px!important;align-content:space-between!important}
html body #root .hf-energy-page .energy-source-grid{gap:9px 12px!important;margin-top:0!important;margin-bottom:0!important;align-items:start!important}
html body #root .hf-energy-page .energy-source-grid>label,
html body #root .hf-energy-page .energy-source-grid>.energy-readonly,
html body #root .hf-energy-page .energy-source-grid>:is(.hf-energy-routine-field,.hf-energy-vo2-field,.hf-energy-adjustment-field){grid-template-rows:minmax(24px,auto) 40px!important;gap:5px!important;margin:0!important}
html body #root .hf-energy-page .energy-source-grid :is(select,input){height:40px!important;min-height:40px!important;max-height:40px!important;padding-top:7px!important;padding-bottom:7px!important;font-size:14px!important;font-weight:400!important;line-height:24px!important}
html body #root .hf-energy-page .energy-source-grid>.hf-energy-adjustment-field select{text-align:left!important;text-align-last:left!important}
html body #root .hf-energy-page .hf-energy-top-controls{margin:0!important;gap:12px!important}
html body #root .hf-energy-page .hf-energy-top-controls .hf-energy-new-date{gap:5px!important;margin:0!important}
html body #root .hf-energy-page .hf-energy-top-controls :is(input,button){height:40px!important;min-height:40px!important;max-height:40px!important;padding-top:7px!important;padding-bottom:7px!important;box-sizing:border-box!important}
@media(min-width:1100px) and (orientation:landscape){
 html body #root .hf-energy-page .hf-energy-desktop-split{row-gap:10px!important;align-items:stretch!important;grid-template-rows:auto auto auto auto!important}
 html body #root .hf-energy-page .hf-energy-summary-column{height:auto!important;min-height:0!important;align-self:stretch!important}
 html body #root .hf-energy-page .hf-energy-summary-column .hf-energy-summary-six{height:100%!important;min-height:0!important;grid-template-rows:repeat(2,minmax(0,1fr))!important;row-gap:7px!important;align-content:stretch!important}
 html body #root .hf-energy-page .hf-energy-summary-column .hf-energy-summary-six>:is(span,label){min-height:0!important}
 html body #root .hf-energy-page .hf-energy-summary-column .hf-energy-summary-six>span>b{font-size:clamp(12px,.95vw,15px)!important;font-weight:400!important}
}
@media(max-width:650px){
 html body #root .hf-energy-page .energy-source-grid{column-gap:7px!important}
 html body #root .hf-energy-page .energy-source-grid :is(select,input){font-size:12px!important}
 html body #root .hf-energy-page .hf-energy-summary-six>span>b{font-size:14px!important;font-weight:400!important}
}

/* Revision 512: identical 4x2 summaries, balanced assessment spacing and save-button alignment. */
html body #root .assessments{--hf-assessment-gap:18px}
html body #root main.portal .assessments{--hf-assessment-gap:12px}
html body #root .assessments>.hf-energy-history{margin:var(--hf-assessment-gap) 0 0!important}
html body #root .assessments>.hf-photo-results-slot:empty{display:none!important}
html body #root .hf-professional-anthropometry-results>.assessments>.hf-energy-history{margin:0!important}
html body #root .hf-energy-record-summaries .hf-energy-summary-six{grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-template-rows:repeat(2,minmax(0,1fr))!important;gap:8px!important}
html body #root .hf-energy-record-summaries .hf-energy-summary-six>span:nth-child(n+7){grid-column:auto!important}
@media(min-width:1100px) and (orientation:landscape){
 html body #root .hf-energy-page .hf-energy-top-controls{align-items:end!important}
 html body #root .hf-energy-page .hf-energy-top-controls .hf-energy-new-date{display:grid!important;grid-template-rows:20px 40px!important;row-gap:5px!important;line-height:20px!important}
 html body #root .hf-energy-page .hf-energy-top-controls .energy-card-actions{align-self:end!important;margin:0!important}
 html body #root .hf-energy-page .hf-energy-summary-column{box-sizing:border-box!important;margin:25px 0 0!important;padding:0!important;height:auto!important;align-self:stretch!important;min-height:0!important}
 html body #root .hf-energy-page .hf-energy-summary-column .hf-energy-summary-six{height:100%!important;min-height:0!important;grid-template-rows:repeat(2,minmax(0,1fr))!important}
 html body #root .hf-energy-page .hf-energy-summary-column .hf-energy-summary-six>span{min-height:0!important;grid-template-rows:minmax(30px,auto) minmax(20px,auto)!important;padding-top:7px!important;padding-bottom:7px!important;row-gap:5px!important}
}
@media(max-width:650px){
 html body #root .hf-energy-record-summaries .hf-energy-summary-six>span{grid-template-columns:20px minmax(0,1fr)!important;padding:8px 5px!important;column-gap:3px!important;min-height:98px!important}
 html body #root .hf-energy-record-summaries .hf-energy-summary-six .hf-energy-metric-icon svg{width:19px!important;height:19px!important}
 html body #root .hf-energy-record-summaries .hf-energy-summary-six>span>small{font-size:10px!important;overflow-wrap:normal!important}
 html body #root .hf-energy-record-summaries .hf-energy-summary-six>span>b{font-size:11px!important;overflow-wrap:anywhere!important}
}

/* Revision 513: portrait editor parity, resting proportion and clearer bar scale. */
html body #root .hf-energy-page .hf-energy-top-controls .energy-use-calculation{display:none!important}
html body #root .hf-energy-page .hf-energy-macro-disclosure-body .hf-energy-use-desktop{display:flex!important;width:180px!important;margin:0 0 14px!important}
html body #root .hf-energy-page .hf-energy-top-controls{grid-template-columns:repeat(2,minmax(0,1fr))!important}
html body #root .hf-energy-page .hf-energy-top-controls .energy-card-actions{grid-template-columns:minmax(0,1fr)!important;width:100%!important;min-width:0!important}
html body #root .hf-energy-page .hf-energy-top-controls .energy-card-actions>.energy-save-button{grid-column:1!important;width:100%!important}
html body #root .hf-energy-resting-track{background:linear-gradient(to right,#318fc3 0%,#318fc3 25%,#39a66b 25%,#39a66b 75%,#cc6474 75%,#cc6474 100%)!important}
html body #root .hf-energy-reference-scale{display:flex!important;justify-content:space-between!important;gap:8px!important;margin:10px 6px 0!important;font-size:10px!important;line-height:1.3!important;color:#67717b!important}
html body #root .hf-energy-reference-scale>span{padding:0!important;background:transparent!important}
@media(min-width:651px){
 html body #root .hf-energy-page .hf-energy-summary-six{grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-template-rows:repeat(2,minmax(0,1fr))!important}
 html body #root .hf-energy-page .hf-energy-summary-six>span:nth-child(n+7){grid-column:auto!important}
}

/* Revision 514: explicit date/save columns and clean proportion visuals. */
html body #root .hf-energy-page .hf-energy-top-controls{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;align-items:end!important;gap:12px!important}
html body #root .hf-energy-page .hf-energy-top-controls>.hf-energy-new-date{grid-column:1!important;grid-row:1!important;width:100%!important;min-width:0!important}
html body #root .hf-energy-page .hf-energy-top-controls>.energy-save-button{grid-column:2!important;grid-row:1!important;align-self:end!important;width:100%!important;min-width:0!important;max-width:none!important;margin:0!important;height:40px!important;min-height:40px!important}
html body #root .hf-energy-clean-reference h4{margin:0 0 38px!important}
html body #root .hf-energy-clean-reference .hf-energy-clean-track{margin:0 6px 8px!important;background-image:none}
html body #root .hf-energy-page .hf-energy-summary-six>span>small{overflow-wrap:normal!important;line-height:1.3!important}
@media(max-width:650px){html body #root .hf-energy-page .hf-energy-top-controls{gap:8px!important}}

/* Revision 515: restrained rulers with personalized, fixed kcal reference. */
html body #root .hf-energy-clean-reference .hf-energy-ruler-wrap{position:relative!important;min-width:0!important;padding:0 7px 24px!important}
html body #root .hf-energy-clean-reference .hf-energy-clean-track{margin:0!important;height:8px!important}
html body #root .hf-energy-ruler-unit{position:absolute!important;right:7px!important;top:-25px!important;font-size:10px!important;font-weight:400!important;color:#67717b!important}
html body #root .hf-energy-ruler-tick{position:absolute!important;top:-2px!important;width:1px!important;height:12px!important;background:#66717b!important;padding:0!important;pointer-events:none!important}
html body #root .hf-energy-ruler-tick.minor{top:1px!important;height:7px!important;opacity:.6!important}
html body #root .hf-energy-ruler-tick>small{position:absolute!important;top:16px!important;left:0!important;padding:0!important;white-space:nowrap!important;font-size:10px!important;font-weight:400!important;line-height:12px!important;color:#67717b!important}
html body #root .hf-energy-ruler-tick.end>small{transform:translateX(-100%)!important}
html body #root .hf-energy-ruler-tick.lower>small{transform:translateX(-100%)!important;margin-left:-3px!important}
html body #root .hf-energy-ruler-tick.upper>small{margin-left:3px!important}
html body #root .hf-energy-reference-pin{z-index:2!important}
@media(max-width:650px){html body #root .hf-energy-ruler-tick>small{font-size:9px!important}}

/* Revision 517: unified cards and ordered assessment sections. */
html body #root .hf-energy-page .hf-energy-summary-six>span:nth-child(n){background:#f2f5f7!important;border-color:#dce2e6!important}
html body #root .hf-energy-record-summary .hf-energy-assessment-heading,
html body #root .hf-energy-record-summary .hf-energy-clean-reference>h4{color:#111!important;text-transform:uppercase!important;font-weight:700!important;border-bottom:1px solid #111!important;padding-bottom:9px!important;margin:16px 0 18px!important}
html body #root .hf-energy-record-summary .hf-energy-reference-pair{margin-top:22px!important}
html body #root .hf-energy-table thead th{border-bottom:1px solid #555!important}

html body #root .hf-energy-history-body .hf-energy-evolution-heading{color:#111!important;font-weight:700!important;border-bottom:1px solid #111!important;padding-bottom:9px!important;margin:20px 0 14px!important}

/* Revision 518: clear space around rulers and section headings. */
html body #root .hf-energy-record-summary .hf-energy-clean-reference>h4{margin-bottom:42px!important}
html body #root .hf-energy-record-summary .hf-energy-reference-pair{margin-top:30px!important;gap:26px!important}
html body #root .hf-energy-record-summaries+.hf-energy-evolution-heading{margin-top:30px!important}
