/* Golden Master Slice 3: Daily Feed owns its presentation.
   Frozen references: 107 desktop, 085 mobile; latest Owner dock stays unchanged. */
.feed-workspace{--feed-surface:#fff;--feed-soft:#f8fafd;--feed-ink:#111827;--feed-muted:#475467;--feed-line:#e2e8f0;--feed-green:#0d6945;--feed-orange:#c74708;color:var(--feed-ink)}
.gm-feed-header,.gm-feed-kpi,.gm-feed-card{background:var(--feed-surface);border:1px solid var(--feed-line);border-radius:20px;box-shadow:0 4px 14px -2px #0d69450a}
.gm-feed-header{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:24px;margin-bottom:20px}
.gm-feed-kicker{display:block;color:var(--feed-green);font-size:13px;font-weight:700;margin-bottom:6px}
.feed-workspace .gm-feed-title{margin:0;color:var(--feed-ink);font-size:24px;line-height:1.35}
.gm-feed-desc{margin:8px 0 0;color:var(--feed-muted);font-size:14px;line-height:1.6}
.gm-feed-create{flex-shrink:0;min-height:52px;padding:12px 24px;border:1px solid #c74708;border-radius:14px;background:#c74708;color:#fff;font-family:inherit;font-size:16px;font-weight:700;line-height:1.4;box-shadow:0 3px 0 #963507;cursor:pointer}
.gm-feed-create:hover{background:#ad3e07}.gm-feed-create:active{transform:translateY(2px);box-shadow:0 1px 0 #963507}
.feed-workspace button:focus-visible{outline:3px solid var(--feed-green);outline-offset:3px}
.gm-feed-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}
.gm-feed-kpi{padding:20px;min-width:0}
.gm-feed-kpi-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px}
.gm-feed-kpi-label,.gm-feed-sub{font-size:13px;color:var(--feed-muted);line-height:1.6}
.gm-feed-icon{display:grid;place-items:center;flex-shrink:0;width:36px;height:36px;border-radius:10px;background:#f0f7f3}
.gm-feed-icon img{width:32px;height:32px;object-fit:contain}
.gm-feed-value{font-size:28px;font-weight:800;line-height:1.4;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.gm-feed-kpi:nth-child(2){border-color:#edba9c}.gm-feed-kpi:nth-child(2) .gm-feed-value{color:var(--feed-orange)}
.gm-feed-kpi:nth-child(4) .gm-feed-value{color:var(--feed-green)}
.gm-feed-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:24px;align-items:start}
.gm-feed-main{display:grid;gap:24px;min-width:0;align-content:start}
.gm-feed-aside{display:grid;gap:20px;min-width:0;align-content:start}
.gm-feed-card{padding:24px;min-width:0}
.gm-feed-card-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}
.feed-workspace .gm-feed-card-title{font-size:18px;line-height:1.4;margin:0 0 6px;color:var(--feed-ink)}
.gm-feed-table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:13px;color:var(--feed-ink)}
.gm-feed-table th{color:var(--feed-muted);background:var(--feed-soft);font-weight:600;text-align:left;line-height:1.35}
.gm-feed-table th,.gm-feed-table td{padding:14px 9px;border-bottom:1px solid var(--feed-line);vertical-align:top}
.gm-feed-table th:nth-child(1),.gm-feed-table td:nth-child(1){width:13%;white-space:nowrap;font-variant-numeric:tabular-nums}
.gm-feed-table th:nth-child(2),.gm-feed-table td:nth-child(2){width:8%;text-align:center;font-variant-numeric:tabular-nums;white-space:nowrap}
.gm-feed-table th:nth-child(3),.gm-feed-table td:nth-child(3){width:24%}
.gm-feed-table th:nth-child(4),.gm-feed-table td:nth-child(4){width:19%;line-height:1.45;overflow-wrap:anywhere}
.gm-feed-table th:nth-child(5),.gm-feed-table td:nth-child(5){width:14%}
.gm-feed-table th:nth-child(6),.gm-feed-table td:nth-child(6){width:11%}
.gm-feed-table th:nth-child(7),.gm-feed-table td:nth-child(7){width:11%}
.gm-feed-table th:nth-child(5),.gm-feed-table th:nth-child(6),.gm-feed-table th:nth-child(7),.gm-feed-table td:nth-child(5),.gm-feed-table td:nth-child(6),.gm-feed-table td:nth-child(7){text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.gm-feed-history-scroll{max-width:100%;overflow-x:auto}
.gm-feed-row-hint{display:block;margin-top:4px;font-size:11px;line-height:1.4;color:#71837d}
.gm-feed-table .gm-feed-history-row{cursor:pointer;transition:background-color .16s ease}
.gm-feed-table .gm-feed-history-row:hover td{background:#f7fbf9}
.gm-feed-table .gm-feed-history-row:active td{background:#eef7f2}
.gm-feed-items b,.gm-feed-items b>span{display:block}.gm-feed-items{min-width:110px;overflow-wrap:anywhere}.gm-feed-items>span{font-size:12px;color:var(--feed-muted)}
.gm-feed-mobile-history{display:none}
.gm-feed-empty{display:grid;gap:8px;text-align:center;padding:32px 16px}
@media(max-width:1100px){.gm-feed-header{flex-wrap:wrap}.gm-feed-layout{grid-template-columns:minmax(0,1.6fr) minmax(240px,1fr)}.gm-feed-card{padding:18px}.gm-feed-value{font-size:24px}}
@media(max-width:700px){
 .gm-feed-header{display:grid;gap:8px;padding:12px;margin-bottom:8px}
 .feed-workspace .gm-feed-title{font-size:18px;line-height:1.22}.gm-feed-desc{font-size:12px;line-height:1.4;margin-top:4px}
 .gm-feed-create{width:100%;min-height:44px;padding:7px 12px;font-size:15px}
 .gm-feed-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:10px}
 .gm-feed-kpi{padding:10px;min-height:106px;border-radius:14px}.gm-feed-kpi-head{margin-bottom:4px;gap:4px}.gm-feed-kpi-label{font-size:11px;line-height:1.3}
 .gm-feed-value{font-size:21px;line-height:1.15}.gm-feed-icon{width:26px;height:26px}.gm-feed-icon img{width:24px;height:24px}
 .gm-feed-sub{font-size:11px;line-height:1.3;margin-top:3px}
 .gm-feed-layout{display:flex;flex-direction:column;gap:10px}.gm-feed-main{display:grid;gap:10px;order:0;min-width:0}
 .gm-feed-aside{order:1}
 .gm-feed-main,.gm-feed-card,.gm-feed-aside{width:100%;box-sizing:border-box}.gm-feed-card{padding:12px;border-radius:15px}
 .gm-feed-history-scroll{display:none}.gm-feed-mobile-history{display:block}.gm-feed-row-hint{display:none}
 .gm-feed-history-grid{display:grid;grid-template-columns:minmax(72px,.95fr) minmax(0,1.35fr) minmax(46px,.6fr) minmax(58px,.75fr);gap:7px;align-items:start}
 .gm-feed-history-head{padding:0 0 10px;border-bottom:1px solid var(--feed-line);font-size:11px;color:var(--feed-muted)}
 .gm-feed-history-row{padding:14px 0;border-bottom:1px solid var(--feed-line);font-size:12px;line-height:1.5;min-height:64px;font-variant-numeric:tabular-nums}
 .gm-feed-date b{font-size:12px}.gm-feed-date small{display:block;font-size:11px;color:var(--feed-muted);margin-top:3px}
 .gm-feed-history-name{min-width:0;overflow-wrap:anywhere}.gm-feed-history-name span{display:block}
 .gm-feed-cumulative{color:var(--feed-green)}.gm-feed-history-grid>b{text-align:right}
 .gm-feed-aside .food-summary{font-size:14px}.gm-feed-aside .food-summary strong{font-size:26px}
}
:root[data-theme="dark"] .feed-workspace{--feed-surface:#132e2c;--feed-soft:#193a35;--feed-ink:#f1f5f9;--feed-muted:#b8ccc6;--feed-line:#35544b;--feed-green:#8ad9b0;--feed-orange:#ffb68c}
:root[data-theme="dark"] .gm-feed-icon{background:#f0f7f3}
:root[data-theme="dark"] .feed-workspace .standard-feed-trend,
:root[data-theme="dark"] .feed-workspace .standard-feed-chart,
:root[data-theme="dark"] .feed-workspace .standard-feed-note,
:root[data-theme="dark"] .gm-feed-aside .food-summary,
:root[data-theme="dark"] .gm-feed-aside .reference{background:var(--feed-soft);border-color:var(--feed-line);color:var(--feed-muted)}
:root[data-theme="dark"] .feed-workspace .standard-feed-head p,
:root[data-theme="dark"] .feed-workspace .standard-feed-legend{color:var(--feed-muted)}
:root[data-theme="dark"] .feed-workspace .standard-feed-chart text{fill:var(--feed-muted)}
:root[data-theme="dark"] .feed-workspace .gm-feed-empty b,
:root[data-theme="dark"] .feed-workspace .gm-feed-empty span{color:var(--feed-muted)!important}
