/* Clinical layout: compact controls and blue section headers. */
.brand{display:inline-flex;align-items:center;gap:9px;color:#0860dc;font-size:23px;font-weight:750}.brand-mark{width:25px;height:30px;flex:none}.side-navigation{display:none}
.dashboard-shell{--line:#dbe7f4;--ink:#18304d;--muted:#60758d}.dashboard-shell h1{font-size:29px;letter-spacing:-.5px}.dashboard-shell h2{font-size:19px}.dashboard-shell .intro{font-size:14px;margin-bottom:22px}.dashboard-shell label{font-size:13px;margin-bottom:16px}.dashboard-shell input:not([type=checkbox]):not([type=radio]),.dashboard-shell select,.dashboard-shell textarea{font-size:14px;padding:10px 12px;min-height:42px;border-radius:6px;background:#fff}.dashboard-shell button,.dashboard-shell .primary,.dashboard-shell .secondary{border-radius:6px;font-size:14px;min-height:42px}.dashboard-shell .caption,.dashboard-shell .field-help{font-size:12px;line-height:1.6}
.care-panel,.entry-primary{border:1px solid #dbe7f4;border-radius:8px;padding:20px;background:#fff;margin:22px 0;overflow:visible}.care-panel>h2,.entry-primary>h2{margin:-20px -20px 20px;padding:13px 20px;background:#eaf3ff;border-bottom:1px solid #dbe7f4;border-radius:7px 7px 0 0;color:#095acb;font-size:18px}.entry-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 16px}.entry-note{grid-column:1/-1}.entry-note textarea{resize:vertical}.field-guide{align-self:center;font-size:12px;color:#60758d;line-height:1.6}.field-guide summary{cursor:pointer;color:#095acb}.field-guide p{margin-bottom:16px}.schedule-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px;align-items:center}.schedule-fields>*{min-width:0}.dashboard-shell .guide{background:#fff;border-color:#dbe7f4;border-radius:7px}.schedule-editor>summary{color:#095acb}.weekday-options label{background:#edf5ff;border:1px solid #dbe7f4;border-radius:6px}.batch-current{background:#f5f9ff;border-radius:7px;padding:20px}.batch-current h3{font-size:20px}.batch-current progress{height:7px}.profile-care{border-top:1px solid #dbe7f4;padding-top:20px;margin-top:28px;scroll-margin-top:20px}.care-timeline li{position:relative}.care-timeline li:before{content:'';position:absolute;width:9px;height:9px;border-radius:50%;background:#4287ec;left:-5.5px;top:10px}.dashboard-stats>div,.metric{background:#fff;border:1px solid #dbe7f4;border-radius:7px}.dashboard-stats strong{color:#095acb}.report-table th{background:#edf5ff;color:#264b76}.recipe-card,.food-card,.online-card,.my-recipes-top{border-radius:8px}.food-calculator{background:#f0f6ff}.food-calculator>h2{background:none;border:none;margin:0;padding:0}.profile-select{max-width:360px}.profile-row{gap:16px;flex-wrap:wrap}.profile-row a{font-size:13px}.quick-actions a{border-radius:6px}#replacement-journal,#replacement-reminders{scroll-margin-top:20px}
@media(min-width:1050px){body{background:#f0f6fd}.dashboard-shell{position:relative;max-width:1440px;min-height:100dvh;margin:0 auto;padding:0 24px 24px 232px;background:#f0f6fd;border:0;box-shadow:none}.dashboard-shell header{height:82px;margin:0;padding:0;border:0;display:flex;align-items:center;justify-content:flex-end}.dashboard-shell header .brand{position:absolute;left:24px;top:26px}.dashboard-shell main{min-height:calc(100dvh - 106px);padding:28px 30px 35px;background:#fff;border:1px solid #dbe7f4;border-radius:9px}.dashboard-shell .side-navigation{position:fixed;top:104px;width:192px;margin-left:-216px;display:flex;flex-direction:column;gap:7px;bottom:30px}.side-navigation a{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:7px;font-size:14px;color:#416386;text-decoration:none;min-height:46px}.side-navigation a svg{width:21px;height:21px;flex:none}.side-navigation a[aria-current]{color:#075bdd;background:#dfeeff;font-weight:650}.side-navigation a:hover{background:#e5effb}.side-navigation .side-settings{margin-top:auto}.dashboard-shell .bottom{display:none}.dashboard-shell>main>form:not(.statistics-filters):not(.recipe-filters):not(.profile-select){max-width:none}.dashboard-shell .family{font-size:12px;margin:0 0 15px}.reading-form [data-insulin-fields] .care-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.food-workspace{gap:22px}.dashboard-shell .statistics-filters{grid-template-columns:repeat(4,minmax(0,1fr)) auto}}
@media(max-width:1049px){.dashboard-shell{margin:0 auto;min-height:100dvh}.dashboard-shell header{padding:20px 24px}.dashboard-shell main{padding-bottom:110px}.entry-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-shell .bottom{background:#fff;border-top:1px solid #dbe7f4}.dashboard-shell .bottom a[aria-current]{color:#075bdd}.care-panel>h2{font-size:17px}.dashboard-shell .brand{font-size:22px}}
@media(max-width:600px){.entry-fields,.schedule-fields{grid-template-columns:1fr}.care-panel,.entry-primary{padding:16px}.care-panel>h2,.entry-primary>h2{margin:-16px -16px 16px;padding:12px 16px}.field-guide{margin-bottom:18px}.dashboard-shell h1{font-size:26px}.batch-dates{flex-wrap:wrap}.dashboard-shell .intro{line-height:1.6}.food-calculator>h2{margin:0;padding:0}.profile-care>h2{overflow-wrap:anywhere}}
@media print{.side-navigation{display:none!important}.dashboard-shell{padding:0;background:white}.dashboard-shell main{border:0;padding:0}.dashboard-shell header .brand{position:static}}

.batch-register{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:0 0 18px}.batch-register dt{font-size:12px;color:#60758d;margin-bottom:6px}.batch-register dd{margin:0;font-weight:600;font-size:15px}.batch-register .field-help{font-weight:400}.batch-hint{background:#edf5ff;border:1px solid #dbe7f4;border-radius:8px;padding:16px;margin:0 0 20px;font-size:13px;line-height:1.6}.batch-hint button{margin-top:10px}.batch-preview{background:#edf5ff;padding:12px;border-radius:6px;color:#095acb;font-weight:600}.batch-current .batch-reminder{font-size:13px;line-height:1.6;border-top:1px solid #dbe7f4;padding-top:12px}.batch-hint[hidden],[data-batch-days][hidden]{display:none}@media(max-width:600px){.batch-register{grid-template-columns:1fr}}

.batch-inputs{border:0;padding:0;margin:0;min-width:0}.batch-inputs:disabled{opacity:.65}.batch-actions{margin-top:12px}.batch-actions button{font-size:13px}.batch-inputs legend{margin-bottom:12px}

.batch-delete{margin-top:14px;font-size:13px}.batch-delete>summary{color:#b42318;cursor:pointer;font-weight:600}.batch-delete>p{padding:12px;background:#fff5f4;border-radius:6px;line-height:1.6}
