/* Shared care release surfaces; keep forms usable without JavaScript. */
.brand-dot{color:var(--accent);font-size:14px;margin-left:5px;vertical-align:middle}.eyebrow{display:block;font-size:11px;font-weight:700;letter-spacing:1.8px;color:var(--accent);margin:12px 0}.care-panel{border:1px solid var(--line);border-radius:16px;padding:24px;background:#fff;margin:22px 0}.care-panel h2{margin:0 0 18px}.care-panel h2 small{font-size:13px;font-weight:400;color:var(--muted);margin-left:6px}.care-grid,.insulin-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}.care-grid>label{min-width:0}.insulin-groups .care-panel{margin:0}.insulin-groups{margin:24px 0;gap:18px}.insulin-item{padding:16px 0;border-top:1px solid var(--line);overflow-wrap:anywhere}.insulin-item p{margin:6px 0;color:var(--muted);font-size:14px}.insulin-item form{margin:0}.batch-current{padding:24px;border:1px solid #cddff6;background:#f6f9ff;border-radius:14px;margin:16px 0}.batch-current h3{margin:4px 0 10px;font-size:21px}.batch-current>p{font-size:13px;color:var(--muted);margin:0}.batch-current.due{border-color:#f2cca8;background:#fffaf4}.batch-current progress{width:100%;height:9px;accent-color:var(--accent);display:block;margin:22px 0 12px}.batch-dates{display:flex;justify-content:space-between;gap:14px;color:var(--muted);font-size:13px}.care-timeline{padding-left:22px}.care-timeline li{padding:4px 0 20px 12px;border-left:2px solid var(--line);list-style:none}.care-timeline p{margin:6px 0;color:var(--muted)}.weekday-options{display:flex;flex-wrap:wrap;gap:8px}.weekday-options label{display:flex;align-items:center;gap:6px;margin:0;padding:9px;background:#f5f7fb;border-radius:9px}.weekday-options input{margin:0;width:19px;height:19px;min-height:19px;accent-color:var(--accent)}.trash-row{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);padding:20px 0}.trash-row p{margin:4px 0}.trash-row small{color:var(--muted)}.danger{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:10px 18px;border:0;border-radius:9px;background:#b42318;color:white;cursor:pointer}.statistics-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto;align-items:end;gap:12px;margin:22px 0}.statistics-filters label{margin:0;min-width:0}.statistics-filters small{display:block;font-size:11px;font-weight:400}.statistics-filters input,.statistics-filters select{min-width:0;width:100%;padding:11px 9px}.statistics-filters button{min-height:48px}.dashboard-analysis{padding-top:26px}.dashboard-shell .guide{background:#fafbfd}.guide form{margin:4px 0 20px}.care-panel .guide{background:#f8faff}.food-workspace{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,1fr);gap:28px;align-items:start;margin:28px 0}.food-search-panel{min-width:0}.food-search-panel>h2{margin:0}.food-calculator{margin:0;background:#f1f6ff;border-color:#dce7f8;padding:24px}.food-calculator .care-grid{gap:0 14px}.food-calculator label{font-size:13px;margin-bottom:15px}.food-calculator .eyebrow{margin-top:0}.food-calculator [data-food-calc-name]{font-size:14px;color:var(--muted)}.food-calc-result{border-top:1px solid #dce5f4;border-bottom:1px solid #dce5f4;padding:16px 0;margin:6px 0 12px}.food-calc-result strong{font-size:36px;color:var(--accent);font-variant-numeric:tabular-nums}.food-calc-result p{font-size:13px;margin:5px 0 0}.food-calculator .caption{font-size:12px;margin-top:10px}.food-search-panel .food-list{grid-template-columns:1fr}.food-card,.online-card{border-radius:14px;padding:18px}.food-card .secondary,.online-card .secondary{font-size:13px;padding:8px 12px;margin:8px 6px 0 0}.food-search-panel .source-tabs{margin:18px 0}.food-search-panel .source-tabs a{font-size:13px;padding:8px}.food-search-panel .online-search>h2{display:none}.my-recipes-top{background:white;border-radius:16px;padding:24px}.recipe-card{border-radius:13px;padding:18px}.recipe-card-title{align-items:center}.recipe-card-title strong{font-size:18px}.recipe-thumb{width:86px;height:86px;flex:0 0 86px;border-radius:12px;object-fit:cover;background:#f0f5fb}.recipe-placeholder{display:grid;place-items:center;color:#7e96b4}.recipe-placeholder svg{width:32px;height:32px}.recipe-nutrition{margin:12px 0 0;font-size:13px;color:var(--accent)}.recipe-position{min-width:26px;height:26px;font-size:12px}.recipe-card-controls{border-top:1px solid var(--line);padding-top:10px}.recipe-summary{border-radius:16px;background:#f2f7ff}.recipe-summary .metrics{gap:14px}.recipe-summary .metric{padding:12px;background:#fff;border-radius:10px}.profile-select{max-width:520px}.bottom{z-index:20}.bottom a{min-width:0;flex:1;font-size:11px;padding:2px}.dashboard-shell .intro{font-size:16px;max-width:680px;margin-bottom:24px}.dashboard-shell h1{font-size:32px;letter-spacing:-.7px}.dashboard-shell .section-heading{align-items:center}.dashboard-shell .field-help{font-size:13px}.statistics-filters+.field-help{margin-top:14px}
@media(min-width:1050px){body{background:#f4f6fa}.dashboard-shell{max-width:1120px;margin:26px auto;min-height:calc(100dvh - 52px)}.dashboard-shell header{border-bottom:1px solid var(--line);margin-bottom:34px;padding:22px 38px}.dashboard-shell main{padding:0 38px 54px}.dashboard-shell .bottom{position:absolute;top:18px;right:140px;bottom:auto;width:650px;max-width:calc(100% - 340px);padding:0;border:0;border-radius:0;background:transparent}.dashboard-shell .bottom a{flex-direction:row;justify-content:center;font-size:13px;gap:6px;min-height:48px;border-radius:9px}.dashboard-shell .bottom a svg{width:19px;height:19px}.dashboard-shell .bottom a[aria-current]{background:#edf3ff}.dashboard-shell .quick-actions{display:flex;flex-wrap:wrap;gap:12px}.dashboard-shell .quick-actions a{padding:11px 18px;min-width:160px}.food-calculator{position:sticky;top:24px}.dashboard-stats strong{font-size:26px}.latest-glucose strong{font-size:42px}.care-panel .metrics{gap:14px}.dashboard-shell>main>form:not(.statistics-filters):not(.recipe-filters):not(.profile-select){max-width:760px}.dashboard-shell .bottom a:hover{text-decoration:none;background:#f3f6fb}}
@media(min-width:800px) and (max-width:1049px){.dashboard-shell .bottom{width:758px;max-width:100%}.food-workspace{grid-template-columns:1fr}.food-calculator{max-width:none}.statistics-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.statistics-filters button{grid-column:1/-1}}
@media(max-width:799px){.food-workspace{grid-template-columns:1fr;gap:22px}.statistics-filters{grid-template-columns:1fr 1fr}.statistics-filters button{grid-column:1/-1}.care-panel,.food-calculator,.my-recipes-top{padding:18px}.insulin-groups{grid-template-columns:1fr}.bottom{max-width:760px;padding-left:2px;padding-right:2px}.bottom a{min-width:0;font-size:10px}.dashboard-shell h1{font-size:28px}.recipe-card-title strong{font-size:16px}.recipe-thumb{width:64px;height:64px;flex-basis:64px}.dashboard-shell .quick-actions a{overflow-wrap:anywhere}.profile-row a{padding:8px 0}.food-calculator{scroll-margin:20px}.trash-row{flex-wrap:wrap}.online-card{align-items:flex-start}.care-grid{gap:0 12px}.recipe-card{padding:14px}.section-heading>a{font-size:13px}.statistics-filters input{font-size:14px}.food-search-panel .source-tabs{grid-template-columns:1fr 1fr}.dashboard-shell .section-heading{flex-wrap:wrap}.pagination{flex-wrap:wrap}}
@media(max-width:380px){main{padding-left:18px;padding-right:18px}.care-grid{grid-template-columns:1fr}.food-calculator .care-grid{grid-template-columns:1fr 1fr}.food-calculator{padding:14px}.recipe-position{display:none}.recipe-thumb{width:54px;height:54px;flex-basis:54px}.batch-dates{flex-direction:column;gap:4px}}
.statistics-detail>summary{cursor:pointer}.statistics-detail>summary h2{display:inline;font-size:20px}.statistics-detail[open]>summary{margin-bottom:20px}.care-panel .report-table table{min-width:460px}.care-panel .report-table th{white-space:nowrap;overflow-wrap:normal}.care-panel .report-table td{overflow-wrap:normal}.care-panel .report-table{overscroll-behavior-x:contain}.care-panel .report-table small{white-space:normal}
@media print{.dashboard-shell .bottom,.statistics-filters{display:none}.dashboard-shell{max-width:none;margin:0;border:0}.dashboard-shell main{padding:0}.care-panel{break-inside:avoid}}
