/* Actual Consumption — visual parity with Meal Route shell.
 * Uses only presentation styling. All posting and validation logic is unchanged.
 */
:root{--ui-canvas:#f3f6fa;--ui-ink:#16253b;--ui-muted:#586c84;--ui-border:#dae3ec;--ui-teal:#087d73;--ui-teal-dark:#075f59}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{font:14px/1.5 Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--ui-canvas);color:var(--ui-ink)}
header{background:#14273c;padding:18px clamp(14px,2.5vw,32px);display:flex;flex-wrap:wrap;gap:10px;align-items:center;font-size:15px;box-shadow:0 1px 8px rgba(16,31,48,.07)}
header a{font-size:13px;padding:8px 12px;border-radius:8px;text-decoration:none;background:rgba(255,255,255,.12);font-weight:700}
header a:hover{background:rgba(255,255,255,.2)}
main{max-width:1400px;padding:0 clamp(14px,2.4vw,28px);margin:22px auto 60px}
.card{background:#fff;border-color:var(--ui-border);border-radius:15px;padding:clamp(16px,2vw,23px);margin-bottom:16px;box-shadow:0 3px 16px rgba(25,43,65,.045);min-width:0}
h2{font-size:18px;line-height:1.35;font-weight:760;margin:0 0 15px;letter-spacing:-.018em}
h3{font-size:15px}
.small{font-size:12.5px;color:var(--ui-muted);line-height:1.55}
.flex{align-items:flex-end;gap:12px;margin:14px 0;min-width:0}
.flex label{min-width:min(220px,100%);flex:1 1 220px;gap:7px}
label{font-size:13px;line-height:1.4;color:#344760;font-weight:690}
input,select,textarea{min-height:41px;width:100%;max-width:100%;padding:9px 12px;font:14px/1.4 inherit;border:1px solid #c5d3df;border-radius:9px;background:#fff;color:var(--ui-ink)}
input:focus,select:focus,textarea:focus{outline:0;border-color:#4f9e93;box-shadow:0 0 0 3px rgba(8,125,115,.13)}
input[type="number"]{width:96px;max-width:100%;min-height:40px;text-align:right;font-variant-numeric:tabular-nums}
input[type="file"]{padding:7px;width:100%}
textarea{min-height:84px;line-height:1.5;resize:vertical}
button,.button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;font-size:13px;line-height:1.35;font-weight:740;padding:10px 15px;white-space:normal;text-align:center;border-radius:9px;background:var(--ui-teal)}
button:hover:not(:disabled),.button:hover{background:var(--ui-teal-dark)}
button.secondary{background:#eef3f7;color:var(--ui-ink);border:1px solid var(--ui-border)}
button.secondary:hover:not(:disabled){background:#e2ecf1}
button:focus-visible,a:focus-visible{outline:3px solid #44aa9a;outline-offset:3px}
button:disabled{opacity:.6}
.notice{background:#fff9eb;color:#7c591d;border-left:4px solid #d3a45d;border-radius:8px;padding:12px 15px;font-size:13px;line-height:1.55;overflow-wrap:anywhere}
.scroll{overflow:auto;overscroll-behavior-x:contain;max-width:100%;max-height:min(68dvh,720px);border:1px solid var(--ui-border);border-radius:11px;scrollbar-width:thin}
.scroll table{width:max-content;min-width:100%;border-spacing:0;border-collapse:separate;font-size:13px;line-height:1.45}
.scroll th,.scroll td{white-space:normal;vertical-align:middle;padding:11px 13px;border-bottom:1px solid #e8edf3;max-width:340px;overflow-wrap:anywhere}
.scroll th{position:sticky;top:0;z-index:4;background:#eef3f7;color:#44596f;font-weight:760;line-height:1.35;min-height:44px}
.scroll td:first-child,.scroll th:first-child{position:sticky;left:0;z-index:3;background:#fff;min-width:100px;white-space:nowrap;box-shadow:2px 0 4px rgba(16,30,49,.055);font-variant-numeric:tabular-nums}
.scroll th:first-child{z-index:7;background:#eef3f7}
.scroll tbody tr:nth-child(even) td{background:#f8fafc}
.scroll tbody tr:nth-child(even) td:first-child{background:#f8fafc}
.scroll tr:hover td{background:#eef7f5}
.scroll tr:hover td:first-child{background:#eef7f5}
.scroll td:nth-child(2),.scroll td:nth-child(3){min-width:150px;max-width:300px;white-space:normal}
.scroll td:not(:nth-child(2)):not(:nth-child(3)){font-variant-numeric:tabular-nums}
.scroll td input.qty{min-width:84px}
#review{border-top:1px solid #e5edf2;padding-top:17px;margin-top:18px}
#message{font-size:13px;line-height:1.5}
#message.ok{background:#edf8f4;color:#075e50;border-color:#bfe0d5}
#message.error{background:#fff2f1;color:#a42b28;border-color:#ebc7c4}
@media(max-width:760px){header{padding:13px 15px}main{margin:14px auto 40px;padding:0 12px}.card{padding:15px}.flex{gap:9px}.flex label{flex-basis:100%;min-width:100%}.scroll{max-height:60dvh}}
@media(max-width:500px){.card{padding:13px}.flex>button{flex:1 1 150px;min-height:44px}.scroll th,.scroll td{padding:9px 10px;font-size:12.5px}.scroll td:first-child,.scroll th:first-child{min-width:85px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
