:root {
    font-family: "Segoe UI", system-ui, sans-serif;
    color: #10283a;
    background: #f3f7fa;
    --theme-surface: #fff;
    --theme-surface-muted: #f5f8fa;
    --theme-text: #10283a;
    --theme-text-strong: #10283a;
    --theme-text-muted: #526779;
    --theme-border: #dce5eb;
    --theme-border-strong: #a7bbc5;
    --theme-hover: #e4f4ef;
    --theme-input: #fff;
    --theme-shadow: #10283a22;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
button, input, select, textarea { font: inherit; }
a { color: #04675d; }
button, summary { cursor: pointer; }
:where(a, button, summary, input, select, textarea):focus-visible { outline: 2px solid #168eab; outline-offset: 2px; }
button:disabled { cursor: default; opacity: .6; }
.ui-icon { display: inline-flex; width: 1.2rem; height: 1.2rem; }
.ui-icon svg { width: 100%; height: 100%; }
.app-toast { position: fixed; z-index: 90; inset: auto 1rem 1rem auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: min(27rem, calc(100% - 2rem)); padding: .85rem 1rem; border: 1px solid #aae5ca; border-radius: .75rem; background: #e6fff2; color: #145c3e; box-shadow: 0 8px 28px #10283a24; }
.app-toast.notice-error { color: #852f2b; background: #fff1ee; border-color: #f3bdb3; }
.app-toast { pointer-events: none; }
.app-toast button { border: 0; border-radius: 50%; min-width: 44px; min-height: 44px; background: #10283a13; color: inherit; pointer-events: auto; }
.avisos-sala-notice .app-toast, dialog .app-toast { top: calc(.85rem + env(safe-area-inset-top)); bottom: auto; }
@media (max-width: 700px) {
    .food-with-dock .app-toast { bottom: calc(5.25rem + env(safe-area-inset-bottom)); }
    .food-with-dock dialog .app-toast { bottom: auto; }
}
.food-config-card { max-width: 1120px; margin: 1.2rem auto; padding: clamp(1rem, 3vw, 1.7rem); border: 1px solid #dce5eb; border-radius: 14px; background: #fff; color: #10283a; }
.food-config-card h1, .food-config-card h2 { margin: 0 0 .6rem; }
.food-config-card p { margin: .4rem 0 1rem; }
.food-config-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: .7rem; margin: 1rem 0; }
.food-config-grid label { display: grid; gap: .28rem; }
.food-config-grid input:not([type=checkbox]), .food-config-grid select, .food-config-card .button { min-height: 44px; min-width: 0; padding: .5rem .65rem; border: 1px solid #cddce4; border-radius: 8px; background: #fff; color: #10283a; }
.food-config-card .button.primary { background: #04675d; border-color: #04675d; color: #fff; }
.food-config-card .button { display: inline-flex; align-items: center; text-decoration: none; }
.food-config-table { overflow: auto; }
.food-config-table table { width: 100%; border-collapse: collapse; }
.food-config-table :is(td, th) { padding: .65rem; border-bottom: 1px solid #dce5eb; text-align: left; }
.food-config-links { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0; }
