.chr{width:100%;font-family:inherit;color:#17334c}.chr input,.chr select,.chr textarea,.chr button{font-family:inherit}.chr .chr-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0}.chr .chr-grid label{min-width:0;padding:9px;border:1px solid #d8e3ef;border-radius:8px;background:#fff;font-size:13px}.chr label small{display:block;font-weight:400;font-size:12px;color:#5b7085;margin:3px 0}.chr .chr-grid input,.chr .chr-grid select{width:100%;min-width:0}.chr .chr-conditions{display:flex;gap:8px;flex-wrap:wrap;padding:12px 0}.chr .chr-conditions label{display:flex;flex-direction:row;align-items:center;gap:6px;padding:8px 10px;border:1px solid #cbd9ec;background:white;border-radius:8px}.chr .chr-conditions input{width:17px;height:17px;min-height:17px}.chr .chr-heading{display:flex;gap:10px;align-items:center;justify-content:space-between}.chr .chr-heading h3{margin:0}.chr .chr-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.chr .chr-two>label{min-width:0;margin:8px 0}.chr section[hidden]{display:none!important}.chr .chr-table-wrap{overflow:auto;width:100%;margin-top:12px}.chr table{width:100%;border-collapse:collapse;font-size:13px}.chr td,.chr th{padding:8px;border-bottom:1px solid #d8e3ef;text-align:left;white-space:nowrap}.chr th small{font-weight:400}.chr th{background:#f1f5fc}.chr [data-sources] article{padding:12px 0;border-bottom:1px solid #d8e3ef}.chr [data-sources] article>small,.chr-references>small{display:block;margin:6px 0}.chr [data-sources] p{white-space:pre-wrap}.chr [data-source-images]{display:flex;flex-wrap:wrap;gap:12px}.chr [data-source-images] figure{margin:8px 0;width:220px}.chr [data-source-images] img{width:100%;max-height:180px;object-fit:contain}.chr [data-status]:not(:empty){padding:6px 8px;background:#edf4ff;border-radius:6px}.chr .chr-record-manage{margin-top:18px}.chr .chr-conflict{padding:12px;background:#fff4e6;border:1px solid #e9b66d;border-radius:8px}.chr [data-conflict] label{margin:8px 0}.chr .chr-heading input[type=file]{max-width:240px}.chr .er-jumps{margin-top:0}.chr .nr-card>small{display:block;color:#5b7085;margin-top:10px}.chr [data-prev]:empty,.chr [data-prev-symptom]:empty{display:none}
@media(max-width:1100px){.chr .chr-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.chr .chr-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.chr .chr-grid label{padding:7px;font-size:12px}.chr .chr-two{grid-template-columns:1fr}.chr .chr-heading{align-items:start;flex-wrap:wrap}.chr .chr-conditions{gap:5px}.chr .chr-conditions label{padding:7px;font-size:12px}.chr .chr-grid input,.chr .chr-grid select{font-size:16px;min-height:42px}.chr .er-jumps button{font-size:12px}.chr [data-source-images] figure{width:45%}.chr .chr-table-wrap{font-size:12px}}

/* Compact follow-up workspace; typography follows the shared record forms. */
.chr .record-filters{grid-template-columns:minmax(180px,2fr) repeat(6,minmax(110px,1fr)) auto}
.chr .chr-grid{gap:8px 12px}.chr .chr-grid label{padding:6px 8px;border:1px solid #d7e2ee;border-radius:8px;background:#fff}
.chr .chr-grid input,.chr .chr-grid select{min-height:38px;margin-top:4px}
.chr .chr-grid small[data-prev]:empty{display:none}.chr .chr-exam-group h4{margin:12px 0 6px;font-size:13px}
.chr .chr-context,.chr .chr-guide{margin-top:10px}.chr .chr-reuse{padding:10px;background:#f5f8fc;border-radius:8px;margin:8px 0}
.chr .chr-reuse p{white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0}.chr .chr-reuse button{margin:4px}
.chr [data-plan-sources]{max-height:360px;overflow:auto}.chr [data-trend-chart] svg{width:100%;max-height:210px;font:11px sans-serif}
.chr .chr-table-wrap td small{display:block;font-size:11px}.chr .chr-empty{padding:14px;background:#edf4ff;border-radius:8px}
.chr .nr-actions{gap:6px}.chr [data-vet-select]{width:100%}
@media(max-width:1100px){.chr .record-filters{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.chr .record-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.chr .chr-grid{gap:6px}.chr .chr-grid label{padding:5px}.chr .nr-actions button{min-height:40px}.chr .chr-two{grid-template-columns:1fr}}

.chr .chr-grid label>small:not([data-prev]):not([data-prev-symptom]){display:inline;margin-left:4px}

/* Monitoring workflow: compact condition picker, explicit input units. */
.chr-diseases{margin:8px 0}.chr-diseases>summary{cursor:pointer;font-weight:600;padding:8px}.chr-context-group{padding:10px 0;border-bottom:1px solid #dce4f0}.chr-context-group h4,.chr-extra h4{margin:6px 0}.chr-extra{margin-top:12px;padding:12px;background:#f5f8fc;border:1px solid #d5e0ef;border-radius:10px}.chr-grid [data-unit]{margin-top:4px}.chr-purpose{display:flex;gap:12px;flex-wrap:wrap}.chr-purpose label{max-width:340px;flex:1}.chr-context p{margin:6px 0}.chr-record [data-visit-picker][hidden]{display:none!important}

.chr .chr-conflict-choice{display:grid;gap:6px;padding:12px;margin:8px 0;border:1px solid #c4d2e4;border-radius:8px;background:white;overflow-wrap:anywhere}.chr .chr-conflict-choice span{white-space:pre-wrap;font-size:14px}.chr .chr-conflict-choice select{min-height:42px;max-width:100%}.chr .chr-conflict-stamp{font-size:12px;color:#53697e}

/* Follow-up entry: compact rows, readable touch controls and explicit units. */
.chr .chr-value-input input,.chr .chr-value-input select{height:40px;box-sizing:border-box}
.chr .chr-grid{align-items:start;gap:8px}.chr .chr-value-input{display:flex;align-items:center;gap:6px;min-width:0}.chr .chr-value-input input{flex:1;width:0;min-width:0}.chr .chr-value-input select{flex:0 1 112px;width:112px;margin-top:4px}.chr .chr-fixed-unit{flex:none;font-size:12px;color:#53697e}.chr .chr-grid small[data-canonical]:empty{display:none}.chr .chr-grid small[data-canonical],.chr .chr-grid small[data-prev]{display:block;margin:4px 0 0}.chr .chr-grid [aria-invalid=true]{border:2px solid #b42318;background:#fff6f4}.chr .chr-purpose{gap:8px;margin:8px 0}.chr .chr-context-group{padding:8px 0}.chr .chr-context-group .chr-grid{margin:6px 0}.chr .chr-two{gap:8px}.chr .chr-two>label{margin:4px 0}.chr .chr-trend-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:8px 0}.chr .chr-trend-summary>div{padding:8px 10px;border:1px solid #d8e3ef;border-radius:8px;font-size:12px}.chr .chr-trend-summary>div:first-child{background:#edf3ff}.chr .chr-trend-summary b{display:block;font-size:17px;margin-top:3px;overflow-wrap:anywhere}.chr .chr-trend-summary small{display:block;color:#53697e}.chr [data-trend-chart] svg{display:block;font-family:inherit}.chr [data-trend-point]{cursor:pointer}.chr [data-trend-point]:focus{outline:2px solid #2453e8}.chr .chr-point-detail{margin:4px 0 8px;padding:6px 8px;border-radius:6px;background:#f1f5fc;font-size:13px}.chr [data-trend-chart]>small{display:block;margin-top:6px;color:#53697e}.chr .chr-purpose label{max-width:none}.chr [data-panel=compare]>label{display:block;max-width:420px;margin-top:8px}
@media(max-width:700px){.chr .chr-value-input{gap:4px}.chr .chr-value-input select{flex-basis:80px;width:80px;font-size:14px}.chr .chr-value-input input,.chr .chr-value-input select{min-height:42px}.chr .chr-trend-summary{gap:5px}.chr .chr-trend-summary>div{padding:7px}.chr .chr-trend-summary b{font-size:15px}.chr .chr-trend-summary small{font-size:11px}.chr .chr-purpose label{min-width:130px}}
@media(max-width:700px){.chr .chr-value-input:has(select){display:grid;grid-template-columns:minmax(0,1fr);gap:0}.chr .chr-value-input:has(select) input,.chr .chr-value-input:has(select) select{width:100%;min-width:0}.chr .chr-value-input select{font-size:14px}}
.chr .chr-purpose label{max-width:340px}.chr .chr-two>label:only-child{grid-column:1/-1}.chr .chr-conditions{padding:6px 0}.chr .chr-diseases{margin:6px 0}.chr .chr-diseases>summary{padding:6px}.chr .chr-grid:empty,.chr .chr-two:empty{display:none}
@media(max-width:700px){.chr .chr-purpose label{max-width:none}.chr [data-trend-chart] svg text{font-size:16px}}

/* Visit workflow: latest patient visit, compact entry and direct comparisons. */
.chr .chr-patient-group{border:1px solid #d7e2ee;border-radius:10px;background:white;overflow:hidden;margin:8px 0}
.chr .chr-latest{display:flex;align-items:center;gap:10px;padding:8px}.chr .chr-latest>.er-record{flex:1;min-width:0;margin:0;border:0}.chr .chr-latest>[data-list-recheck]{flex:none;min-height:42px}
.chr [data-history-group]{padding:0 12px 10px}.chr [data-history-group] summary{padding:6px;cursor:pointer}.chr .chr-list-scope{display:block;margin:8px 0;color:#53697e}
.chr .chr-value-wrap{min-width:0}.chr .chr-value{display:block}.chr .chr-trend-link{font:inherit;font-size:12px;min-height:32px;padding:4px 8px;margin-top:3px;border:1px solid #ccd9eb;background:#fff;border-radius:6px;color:#1748b3;cursor:pointer}
.chr .chr-advanced-group h4{font-size:14px;margin:12px 0 4px}.chr .chr-advanced-group [data-exam-match]{min-width:0}.chr .chr-advanced-group .chr-two label{display:block}.chr .chr-advanced-group textarea{width:100%;box-sizing:border-box}
.chr [hidden]{display:none!important}.chr .chr-exam-search{display:block;max-width:450px;margin:10px 0}.chr .chr-exam-search input{width:100%}
.chr .chr-display-settings{margin-top:10px}.chr .chr-pin-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:10px 0}.chr .chr-pin-grid label{display:flex;align-items:center;gap:6px;font-size:13px;min-width:0}.chr .chr-pin-grid input{width:18px;height:18px;min-height:18px;flex:none}
.chr .chr-recorded-extras:empty{display:none}.chr .chr-recorded-extras{padding:6px;background:#edf3ff;border-radius:6px}
.chr [data-plan-sources]{max-height:none;overflow:visible}.chr .chr-reuse-latest{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.chr .chr-reuse-entry{padding:10px;border:1px solid #d7e2ee;border-radius:8px;min-width:0}.chr .chr-reuse-entry>small{display:block;color:#53697e;margin:5px 0}.chr .chr-reuse-entry p{white-space:pre-wrap;overflow-wrap:anywhere;max-height:160px;overflow:auto;margin:6px 0}.chr .chr-reuse-entry button{font:inherit;font-size:13px;min-height:38px;margin:3px 4px 3px 0}
.chr .er-jumps{scroll-margin-top:12px}.chr .chr-exam-group h4{color:#354d69}.chr .chr-value-input input{font-weight:600}.chr [data-show-trend]:focus-visible{outline:2px solid #2453e8;outline-offset:2px}
@media(min-width:1500px){.chr .chr-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:700px){.chr .chr-latest{align-items:stretch;flex-direction:column;gap:4px}.chr .chr-latest>[data-list-recheck]{align-self:flex-end}.chr .chr-pin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.chr .chr-reuse-latest{grid-template-columns:1fr}.chr .chr-trend-link{min-height:40px}.chr .chr-reuse-entry button{min-height:42px}.chr .chr-grid label{font-size:13px}.chr .er-jumps button{min-height:42px}}

/* All relevant examinations stay visible in compact, stable categories. */
.chr [data-panel=exam] .chr-exam-search{margin:6px 0;max-width:320px}
.chr .chr-exam-section{margin:10px 0;padding-top:6px;border-top:1px solid #dce5f0}
.chr .chr-exam-section h4{margin:0 0 6px;font-size:14px;font-weight:700}
.chr .chr-exam-section [data-exam-match]{min-width:0}
.chr .chr-compact-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:6px;margin:0}
.chr .chr-compact-grid label{display:block;padding:5px 7px;margin:0;font-size:13px}
.chr .chr-compact-grid label>span:first-child{display:block;line-height:1.35;overflow-wrap:anywhere}
.chr .chr-compact-grid .chr-value-input{display:flex!important;gap:4px}
.chr .chr-compact-grid .chr-value-input input{width:0;min-width:40px;flex:1}
.chr .chr-compact-grid .chr-value-input select{width:90px;flex:0 0 90px;font-size:13px}
.chr .chr-note-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:6px;margin-top:6px}
.chr .chr-note-grid:empty,.chr .chr-compact-grid:empty{display:none}
.chr .chr-note-grid label{display:block;font-size:13px;line-height:1.4}
.chr .chr-note-grid textarea{display:block;width:100%;box-sizing:border-box;min-height:60px;margin-top:4px}
@media(max-width:700px){.chr .chr-compact-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.chr .chr-compact-grid input,.chr .chr-compact-grid select{font-size:16px;min-height:42px}.chr .chr-compact-grid .chr-value-input:has(select){display:grid!important;grid-template-columns:minmax(0,1fr);gap:0}.chr .chr-compact-grid .chr-value-input input,.chr .chr-compact-grid .chr-value-input select{width:100%;min-width:0}.chr .chr-compact-grid .chr-value-input select{font-size:14px}.chr .chr-note-grid{grid-template-columns:1fr}.chr .chr-exam-section h4{font-size:14px}}

.chr .chr-compact-grid .chr-note-cell{grid-column:span 2}.chr .chr-note-cell textarea{width:100%;box-sizing:border-box;min-height:42px;height:42px;margin-top:4px;resize:vertical}.chr .chr-compact-grid .chr-note-cell label{line-height:1.35}
@media(max-width:700px){.chr .chr-note-cell textarea{min-height:60px;height:60px}}
.chr .nr-actions [data-save-state]{font-size:12px;color:#53697e;white-space:nowrap}.chr .nr-actions [data-save-state][data-state=error]{color:#b42318}.chr .nr-actions .chr-save{background:transparent;border-color:transparent;color:#345d89}.chr .nr-actions .chr-save.chr-retry{border-color:#b42318;color:#b42318;background:#fff5f4}
.chr .record-filters{grid-template-columns:minmax(180px,2fr) minmax(150px,1fr) minmax(140px,1fr) auto;align-items:end}.chr .chr-list-details{grid-column:1/-1;margin-top:4px}.chr .chr-list-details>summary{cursor:pointer;font-size:13px;padding:6px 0}.chr .chr-list-advanced{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:8px 0}.chr .chr-quick-filters{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.chr .chr-quick-filters button{font:inherit;font-size:13px;min-height:38px;padding:6px 10px}.chr .chr-quick-filters [aria-pressed=true]{background:#eaf0ff;color:#1748b3;border-color:#a9bfff}
.chr .chr-loading-summary{padding:16px;border:1px solid #d7e2ee;background:#f5f8ff;border-radius:10px}.chr .chr-loading-summary>b,.chr .chr-loading-summary>span{display:block;margin:4px 0}
.chr .chr-exam-tools{display:flex;align-items:end;gap:8px;flex-wrap:wrap;margin:6px 0}.chr .chr-exam-tools .chr-exam-search{margin:0;flex:1;max-width:320px}.chr .chr-exam-tools>small{font-size:12px;color:#53697e;align-self:center}.chr .chr-exam-tools>button{font:inherit;font-size:13px;min-height:38px;padding:6px 10px}.chr .chr-compact-grid input{font-size:15px}.chr .chr-grid small[data-prev]{font-size:12px;line-height:1.4}.chr .chr-order-note{font-size:12px;color:#53697e}
.chr .chr-context{margin:8px 0;padding:8px;border:1px solid #d7e2ee;border-radius:8px;background:#f7faff}.chr .chr-context .chr-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.chr .chr-context-date{min-width:0}.chr .chr-context-date label{display:block}.chr .chr-context-date input{box-sizing:border-box}.chr .chr-context-date button{font:inherit;font-size:12px;min-height:32px;margin-top:4px;padding:4px 8px}.chr .chr-context-group:last-child{border:0}.chr .chr-followup-shortcuts{display:flex;gap:5px;flex-wrap:wrap;margin-top:6px}.chr .chr-followup-shortcuts button{min-height:38px;padding:5px 10px;font:inherit;font-size:13px}.chr .chr-followup>small{font-size:12px;color:#53697e}
.chr-dialog{font-family:inherit;color:#17334c;width:min(620px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:85dvh;box-sizing:border-box;overflow:auto;border:1px solid #c4d2e4;border-radius:12px;padding:16px;box-shadow:0 12px 40px #17334c33}.chr-dialog::backdrop{background:#17334c66}.chr-dialog header{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-bottom:12px}.chr-dialog h3{font-size:16px;margin:0}.chr-dialog button,.chr-dialog input,.chr-dialog select,.chr-dialog textarea{font:inherit;font-size:14px;box-sizing:border-box}.chr-dialog button{padding:7px 12px;min-height:40px;border:1px solid #bdcee5;border-radius:7px;background:white;color:#17334c;cursor:pointer}.chr-dialog button:disabled{opacity:.5;cursor:default}.chr-dialog small{font-size:12px;color:#53697e;display:block;line-height:1.45}.chr-dialog svg{width:100%;display:block}.chr-dialog .chr-trend-summary{display:flex;gap:10px;justify-content:space-between;margin:8px 0}.chr-dialog .chr-trend-summary>div{font-size:12px}.chr-dialog .chr-trend-summary b{display:block;font-size:17px}.chr-dialog label{display:block;font-size:13px}.chr-dialog textarea{width:100%;padding:8px;border:1px solid #bdcee5;border-radius:6px}.chr-dialog [data-lab-preview]{margin-top:8px}.chr-paste-dialog{width:min(800px,calc(100vw - 32px))}.chr-paste-rows article{padding:10px 0;border-top:1px solid #dce5f0}.chr-paste-controls{display:grid;grid-template-columns:24px minmax(130px,2fr) minmax(70px,1fr) minmax(80px,1fr);gap:6px;align-items:center;margin:6px 0}.chr-paste-controls input:not([type=checkbox]),.chr-paste-controls select{width:100%;min-height:38px;border:1px solid #bdcee5;border-radius:6px;padding:5px}.chr-paste-controls input[type=checkbox],.chr-paste-confirm input{width:18px;height:18px}.chr-dialog .chr-paste-confirm{display:flex;align-items:center;gap:8px;margin:12px 0}.chr-dialog .chr-paste-confirm input{flex:none}.chr-dialog [data-lab-apply]{background:#2453e8;color:white}.chr-dialog [data-lab-status]{font-size:13px}.chr-dialog :focus-visible{outline:2px solid #2453e8;outline-offset:2px}
@media(max-width:700px){.chr .record-filters{grid-template-columns:1fr 1fr}.chr .record-filters>label:first-child{grid-column:1/-1}.chr .chr-list-advanced{grid-template-columns:1fr 1fr}.chr .chr-context .chr-grid{grid-template-columns:1fr 1fr}.chr .chr-context-date input{font-size:14px}.chr .chr-exam-tools>small{width:100%}.chr .chr-compact-grid input{font-size:16px}.chr .chr-followup-shortcuts button,.chr .chr-quick-filters button{min-height:42px}.chr-dialog{padding:12px}.chr-dialog input,.chr-dialog textarea{font-size:16px}.chr-paste-controls{grid-template-columns:24px minmax(0,1fr) minmax(0,1fr)}.chr-paste-controls>label:first-of-type{grid-column:2/-1}.chr-paste-controls>label:nth-of-type(2){grid-column:2}.chr-dialog .chr-trend-summary b{font-size:14px}}

.chr .chr-clock-inputs{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:5px}.chr .chr-context-date>span{font-size:13px}.chr .chr-clock-inputs input{width:100%;min-width:0;border:1px solid #bdcee5;border-radius:6px;padding:5px;font-size:14px}@media(max-width:700px){.chr .chr-context .chr-grid{grid-template-columns:1fr}.chr .chr-clock-inputs input{font-size:16px;min-height:42px}}

/* Compact review: field-local history, consistent controls and explicit filter scope. */
.chr .chr-secondary-actions{justify-content:flex-end;margin-bottom:8px}
.chr .chr-value-input select{padding-left:4px;padding-right:2px}
.chr .chr-active-filters{display:flex;flex-wrap:wrap;gap:5px;margin:5px 0;font-size:12px;color:#425d79}.chr .chr-active-filters span{padding:3px 7px;background:#edf2f9;border-radius:5px}
.chr .chr-quick-filters [data-reset-filters]{margin-left:auto;background:transparent;border-color:transparent;text-decoration:underline}
.chr .chr-compare-caption{justify-content:flex-end;margin-bottom:4px}.chr .chr-compare-caption small:empty,.chr [data-status]:empty{display:none}
.chr .chr-plan-field{min-width:0}.chr .chr-plan-field>label{display:block;margin:4px 0}.chr .chr-plan-field textarea{width:100%;box-sizing:border-box}.chr .chr-plan-field>details{margin:3px 0 8px}.chr .chr-plan-field>details>summary{font-size:13px;color:#1748b3;cursor:pointer;min-height:32px;display:list-item;padding:5px 0}.chr .chr-plan-field .chr-reuse-latest{display:block}.chr .chr-plan-field .chr-reuse-entry{padding:8px;margin:4px 0}.chr .chr-plan-field .chr-reuse-entry p{max-height:140px}.chr .chr-plan-field [data-reload-plan]{font:inherit;font-size:12px;min-height:32px;margin-top:5px}
.chr .chr-context-date>input[type=time]{width:100%;box-sizing:border-box;min-height:38px;font-size:15px;border:1px solid #bdcee5;border-radius:6px;padding:5px;margin-top:4px}.chr .chr-context-date details>summary{font-size:12px;cursor:pointer;min-height:28px;padding:5px 0}.chr .chr-context-date details input{width:100%;box-sizing:border-box}.chr .chr-context-reference{display:grid;grid-template-columns:1fr 1fr;gap:8px}.chr .chr-context-reference label{font-size:13px;display:block}.chr .chr-context-reference textarea{display:block;box-sizing:border-box;width:100%;min-height:38px;height:38px;padding:6px;border:1px solid #bdcee5;border-radius:6px;font:inherit;resize:vertical}
.chr .chr-compact-grid{align-items:start}.chr .chr-compact-grid .chr-value-input{margin-top:3px;min-height:38px}.chr .chr-compact-grid .chr-value-input input,.chr .chr-compact-grid .chr-value-input select{margin:0;height:38px;min-height:38px}.chr .chr-compact-grid .chr-value>span:first-child{min-height:2.7em}.chr .chr-grid small[data-prev]{font-size:11px;line-height:1.35;margin-top:4px}.chr .chr-trend-link{border:0;background:transparent;margin:0;padding:2px 7px;min-height:28px;text-decoration:underline;font-size:12px}.chr .chr-context p:empty{display:none}.chr .chr-two>label,.chr .chr-plan-field>label{font-size:13px}.chr .nr-actions button,.chr .er-jumps button{font-family:inherit;font-size:14px}.chr .chr-two{align-items:start}
@media(max-width:700px){.chr .chr-compact-grid .chr-value-input:has(select){display:flex!important;gap:3px}.chr .chr-compact-grid .chr-value-input input{width:0;min-width:0;flex:1;font-size:16px;min-height:42px}.chr .chr-compact-grid .chr-value-input select{width:73px;min-width:0;flex:0 0 73px;font-size:13px;min-height:42px}.chr .chr-fixed-unit{font-size:11px}.chr .chr-context .chr-grid{grid-template-columns:1fr 1fr}.chr .chr-context-reference{grid-template-columns:1fr}.chr .chr-context-date>input[type=time],.chr .chr-context-reference textarea{font-size:16px;min-height:42px}.chr .chr-trend-link{min-height:40px}.chr .chr-plan-field>details>summary{min-height:40px}.chr .chr-quick-filters [data-reset-filters]{margin-left:0}.chr .chr-context-date details input{font-size:16px;min-width:0}.chr .nr-actions button,.chr .er-jumps button{min-height:42px}}
@media(max-width:700px){.chr .chr-compact-grid .chr-value-input select{width:96px;flex-basis:96px}}
@media(max-width:420px){.chr .chr-compact-grid [data-exam-match]:has([data-unit]){grid-column:span 2}.chr .chr-compact-grid [data-exam-match]:has([data-unit]) .chr-value>span:first-child{min-height:0}}

/* Simple record workflow: primary values first, supporting information inline. */
.chr .record-filters{grid-template-columns:minmax(220px,2fr) minmax(150px,1fr) auto}.chr .chr-list-advanced{grid-template-columns:repeat(3,minmax(0,1fr))}.chr .chr-quick-filters{gap:5px}.chr .chr-quick-filters button{padding:5px 8px}
.chr .chr-trend-link{display:block;max-width:100%;text-align:left;font-size:12px;line-height:1.4;white-space:normal;min-height:30px;padding:3px 5px}.chr .chr-trend-link::after{content:' ›';text-decoration:none}.chr .chr-trend-link:empty{display:none}.chr .chr-compact-grid .chr-value>span:first-child{min-height:0}.chr .chr-compact-grid{align-items:start}
.chr .chr-note-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:6px;margin-top:7px}.chr .chr-note-cell{min-width:0}.chr .chr-note-cell label{display:block;padding:5px 7px;border:1px solid #d7e2ee;border-radius:8px;background:#fff;font-size:13px}.chr .chr-note-cell textarea{height:42px;min-height:42px;overflow-y:hidden}.chr .chr-note-help summary{cursor:pointer;color:#345d89;font-size:12px}.chr .chr-note-help small{display:block;line-height:1.4;margin:4px 0}
.chr .chr-context>summary{cursor:pointer;font-size:13px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}.chr [data-context-done]{margin-top:5px;font:inherit;font-size:13px;min-height:36px}.chr .chr-context[open]>.chr-grid{margin-top:8px}
.chr .chr-compare-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:14px;align-items:start;margin-top:12px}.chr .chr-compare-layout>*{min-width:0}.chr .chr-trend-panel{padding:8px;border:1px solid #d7e2ee;border-radius:8px}.chr .chr-trend-panel>summary{font-weight:600;cursor:pointer;padding:4px}.chr .chr-trend-panel>label{display:block;margin:8px 0}.chr .chr-readonly input:disabled{color:#17334c}.chr.chr-readonly [data-field]:disabled{color:#17334c;opacity:1;background:#f6f8fb}
@media(max-width:999px){.chr .chr-compare-layout{grid-template-columns:1fr}.chr .chr-trend-panel>summary{min-height:36px;display:list-item}}
@media(max-width:700px){.chr .record-filters{grid-template-columns:minmax(0,1fr) auto}.chr .record-filters>label:first-child{grid-column:1/-1}.chr .chr-list-advanced{grid-template-columns:1fr 1fr}.chr .chr-note-grid{grid-template-columns:1fr}.chr .chr-trend-link{min-height:42px}.chr [data-context-done]{min-height:42px}.chr .chr-note-cell textarea{font-size:16px}.chr .chr-quick-filters button{min-height:42px}.chr .chr-trend-panel{padding:6px}}

.chr [data-comparison] td,.chr [data-comparison] th{white-space:normal;overflow-wrap:anywhere}.chr [data-comparison] th{width:32%}
@media(max-width:700px){.chr [data-comparison] table,.chr [data-comparison] tbody{display:block;width:100%}.chr [data-comparison] thead{display:none}.chr [data-comparison] tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:8px;border:1px solid #d7e2ee;border-radius:8px;overflow:hidden}.chr [data-comparison] th{display:block;grid-column:1/-1;width:auto;font-size:13px;padding:6px}.chr [data-comparison] td{display:block;font-size:14px;padding:6px;min-width:0;border:0}.chr [data-comparison] td::before{content:attr(data-compare-label);display:block;font-size:11px;font-weight:400;color:#53697e;margin-bottom:4px}.chr [data-comparison] td small{font-size:11px}.chr [data-comparison] .chr-table-wrap{overflow:visible}}

/* Independent filters and compact plan review. */
.chr .chr-filter-label{font-size:12px;color:#53697e;margin-left:8px}.chr .chr-detail-status{padding:10px 12px;border:1px solid #c5d3e7;background:#eef3fc;border-radius:8px;margin-bottom:8px;display:flex;gap:10px;align-items:center;justify-content:space-between}.chr .chr-compare-help{display:block;margin:0 0 6px;color:#53697e}.chr .chr-plan-results{border-bottom:1px solid #d7e2ee;padding-bottom:10px;margin-bottom:12px}.chr .chr-plan-results>small{display:block;color:#a13f25}.chr .chr-plan-result-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:6px;margin-top:6px}.chr .chr-plan-result-grid button{display:flex;flex-direction:column;align-items:flex-start;gap:3px;text-align:left;padding:8px;font:inherit;font-size:13px;min-width:0;border:1px solid #c5d3e7;border-radius:7px;background:#f7faff;color:#17334c}.chr .chr-plan-result-grid b{font-size:15px}.chr .chr-plan-result-grid small{font-size:12px;color:#53697e}.chr .chr-plan-results>details{margin-top:6px}.chr .chr-plan-results summary{cursor:pointer;font-size:13px;min-height:32px}.chr [data-source-retry]{font:inherit;font-size:13px;min-height:36px}.chr .chr-plan-result-grid button:focus-visible{outline:2px solid #2453e8;outline-offset:2px}@media(max-width:700px){.chr .chr-filter-label{flex-basis:100%;margin:4px 0 0}.chr .chr-plan-result-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.chr .chr-plan-results summary{min-height:42px}.chr .chr-detail-status{flex-wrap:wrap}}
/* Compact structured entry shares record typography and field sizes. */
.chr .chr-choice-panel,.chr .chr-food-choice{min-width:0;margin:0 0 8px}
.chr .chr-choice-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;min-width:0}
.chr .chr-choice-grid label,.chr .chr-choice-panel>label{min-width:0;display:flex;flex-direction:column;gap:4px}
.chr .chr-choice-panel fieldset{min-width:0;margin:0;padding:4px 8px;border:1px solid #d3dfdd;border-radius:8px}
.chr .chr-choice-checks{display:flex;flex-wrap:wrap;gap:4px 10px}
.chr .chr-choice-checks label{display:flex;flex-direction:row;align-items:center;gap:4px;font-weight:400}
.chr .chr-choice-checks input{width:16px;height:16px;min-height:0;margin:0}
.chr .chr-choice-panel [data-choice-error],.chr [data-food-status]{display:block;overflow-wrap:anywhere}
.chr .chr-choice-panel [data-choice-error]:not(:empty){color:#a32727}
.chr .chr-food-choice summary{margin-bottom:8px;cursor:pointer}
.chr .chr-food-choice button{margin-top:8px}
.chr .chr-choice-panel textarea{min-height:44px}
.chr .chr-choice-panel [hidden],.chr label[hidden]{display:none!important}
@media(max-width:480px){.chr .chr-choice-grid{grid-template-columns:minmax(0,1fr)}.chr .chr-choice-panel select,.chr .chr-food-choice select{max-width:100%;width:100%}}
