:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#17202a;background:#f5f7f9;font-synthesis:none;line-height:1.45}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,textarea{font:inherit}button{cursor:pointer;border:1px solid #cbd5df;background:#fff;color:#25313c;border-radius:7px;padding:.55rem .85rem}button:hover:not(:disabled){border-color:#65798d;background:#f3f6f8}button:disabled{cursor:not-allowed;opacity:.55}a{color:#075e9b;text-decoration:none}a:hover{text-decoration:underline}.primary-button{color:#fff;border-color:#0d6b55;background:#0d6b55}.primary-button:hover:not(:disabled){color:#fff;background:#095442}.app-shell{min-height:100vh}.topbar{min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:0 2rem;color:#fff;background:#152c3b}.topbar strong{display:block;font-size:1.05rem;letter-spacing:.01em}.topbar-subtitle{display:block;color:#b8c9d4;font-size:.78rem}.topbar button{color:#fff;border-color:#617786;background:transparent}.topbar-user{display:flex;align-items:center;gap:.8rem;color:#dce7ec;font-size:.88rem}.page-content{max-width:1240px;margin:0 auto;padding:2rem}.page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1.5rem}.page-actions{display:flex;align-items:center;gap:1rem}.page-actions a:first-child{display:inline-block;border-radius:7px;padding:.55rem .85rem;color:#fff;background:#0d6b55}.page-actions a:first-child:hover{text-decoration:none;background:#095442}h1,h2,p{margin-top:0}h1{margin-bottom:.3rem;font-size:1.8rem}h2{margin-bottom:1rem;font-size:1.1rem}.muted{color:#62717d}.toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem}.tabs{display:flex;gap:.2rem}.tab{border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:#5a6873}.tab.active{color:#152c3b;border-bottom-color:#0d6b55;font-weight:650}.search-form{display:flex;gap:.5rem}input,textarea{width:100%;border:1px solid #cbd5df;border-radius:6px;padding:.6rem .7rem;color:#17202a;background:#fff}input:focus,textarea:focus,button:focus-visible,a:focus-visible{outline:3px solid rgba(22,119,171,.25);outline-offset:1px;border-color:#1677ab}.search-form input{min-width:min(340px,60vw)}.queue-card,.editor-card,.history-card{border:1px solid #dce3e8;border-radius:9px;background:#fff;box-shadow:0 2px 8px #17202a0a}.queue-meta{display:flex;justify-content:space-between;padding:1rem 1.2rem;color:#42525e;font-size:.9rem;border-bottom:1px solid #e7ecef}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse}th,td{padding:.85rem 1.2rem;text-align:left;vertical-align:top;border-bottom:1px solid #edf0f2}th{color:#5e6c77;font-size:.78rem;font-weight:650;text-transform:uppercase;letter-spacing:.04em}td small{display:block;color:#7b8790;font-size:.78rem}.text-button{font-size:.88rem}.empty-state{padding:2.8rem 1rem;text-align:center;color:#62717d}.pagination{display:flex;align-items:center;justify-content:flex-end;gap:.9rem;padding:1rem 1.2rem;color:#52616d;font-size:.88rem}.status-message{margin:1rem 0;border:1px solid;border-radius:7px;padding:.75rem .9rem}.status-error{color:#8b2525;border-color:#e7b6b6;background:#fff5f5}.status-info{color:#195b78;border-color:#b8d9e8;background:#f0faff}.status-success{color:#176143;border-color:#afd8c5;background:#f2fbf6}.status-pill{display:inline-block;border-radius:99px;padding:.15rem .45rem;font-size:.78rem;font-weight:600}.status-pending{color:#865a11;background:#fff5d8}.status-approved{color:#176143;background:#dff5e9}.status-rejected{color:#8b2525;background:#ffe1e1}.back-link{display:inline-block;margin-bottom:1.2rem;font-size:.9rem}.action-bar{display:flex;gap:.5rem}.editor-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:1rem;align-items:start}.editor-card,.history-card{padding:1.3rem}.food-form .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.food-form label,.dialog label{display:grid;gap:.35rem;color:#455561;font-size:.84rem;font-weight:600}.food-form label:first-child,.food-form label:nth-child(5){grid-column:1 / -1}.food-form input,.dialog textarea{margin-top:.05rem;font-weight:400}.food-form .primary-button{margin-top:1.25rem}.form-error{margin-bottom:1rem;color:#8b2525;font-size:.88rem}.audit-list{display:grid;gap:.9rem;margin:0;padding:0;list-style:none}.audit-list li{padding-bottom:.8rem;border-bottom:1px solid #edf0f2}.audit-list li>div{display:flex;justify-content:space-between;gap:.5rem}.audit-list time{color:#7b8790;font-size:.75rem;white-space:nowrap}.audit-list p{margin:.35rem 0 0;color:#5f6d77;font-size:.85rem;white-space:pre-wrap}.dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10;display:grid;place-items:center;padding:1rem;background:#0e1d276b}.dialog{width:min(500px,100%);border-radius:9px;padding:1.35rem;background:#fff;box-shadow:0 12px 40px #0e1d2740}.dialog p{color:#52616d}.dialog textarea{min-height:100px;resize:vertical}.dialog-actions{display:flex;justify-content:flex-end;gap:.6rem;margin-top:1.2rem}.login-page{min-height:100vh;display:grid;place-items:center;padding:1.5rem;background:linear-gradient(145deg,#edf4f5,#f8fafb)}.login-card{width:min(420px,100%);border:1px solid #dce3e8;border-radius:12px;padding:2.3rem;text-align:center;background:#fff;box-shadow:0 8px 30px #17202a14}.brand-mark{width:45px;height:45px;display:grid;place-items:center;margin:0 auto 1rem;border-radius:12px;color:#fff;background:#0d6b55;font-weight:750}.login-card h1{font-size:1.45rem}.login-card>div[aria-busy]{display:flex;justify-content:center;min-height:42px;margin:1.4rem 0 1rem}.login-footnote{margin:1.3rem 0 0;color:#7b8790;font-size:.76rem}@media(max-width:760px){.topbar{padding:0 1rem}.topbar-user{font-size:0}.topbar-user button{font-size:.85rem}.page-content{padding:1.2rem 1rem}.page-heading{display:block}.page-heading>a{display:inline-block;margin-top:.5rem}.editor-layout,.food-form .form-grid{grid-template-columns:1fr}.food-form label:first-child,.food-form label:nth-child(5){grid-column:auto}.search-form{width:100%}.search-form input{min-width:0}}[data-theme=dark]{color-scheme:dark}[data-theme=dark] body,[data-theme=dark] .app-shell{color:#f7f7f5;background:#000}[data-theme=dark] button{color:#f7f7f5;border-color:#34343a;background:#141416}[data-theme=dark] button:hover:not(:disabled){border-color:#8c7cff;background:#1b1b1e}[data-theme=dark] a{color:#a99bff}[data-theme=dark] .topbar{background:#0a0a0b;border-bottom:1px solid #252529}[data-theme=dark] .muted,[data-theme=dark] .queue-meta,[data-theme=dark] .pagination,[data-theme=dark] .tab{color:#a6a6ae}[data-theme=dark] .tab.active{color:#f7f7f5;border-bottom-color:#a99bff}[data-theme=dark] input,[data-theme=dark] textarea{color:#f7f7f5;border-color:#34343a;background:#0a0a0b}[data-theme=dark] .queue-card,[data-theme=dark] .editor-card,[data-theme=dark] .history-card,[data-theme=dark] .dialog{border-color:#252529;background:#141416;box-shadow:0 2px 12px #00000059}[data-theme=dark] th{color:#a6a6ae}[data-theme=dark] th,[data-theme=dark] td,[data-theme=dark] .queue-meta,[data-theme=dark] .audit-list li{border-color:#252529}[data-theme=dark] .food-form label,[data-theme=dark] .dialog p{color:#a6a6ae}[data-theme=dark] .status-info{color:#e7e0ff;border-color:#51468e;background:#28233d}[data-theme=dark] .status-success{color:#70cea5;border-color:#2d6b50;background:#17372c}[data-theme=dark] .status-error{color:#ffd9dc;border-color:#8d434b;background:#421b20}[data-theme=dark] .login-page{background:radial-gradient(circle at top,#28233d,#000 58%)}[data-theme=dark] .login-card{border-color:#252529;background:#141416}[data-theme=dark] .login-footnote{color:#a6a6ae}.theme-toggle{position:fixed;right:1rem;bottom:1rem;z-index:20;white-space:nowrap;box-shadow:0 4px 16px #00000029}
