/* Semântica de cores compartilhada pelas telas e pelos próximos módulos. */
.nav-link{display:flex;align-items:center;gap:12px;padding:13px 14px;border-radius:9px;color:#bbb;text-decoration:none;font-size:14px;font-weight:800;margin-top:8px}
.sidebar a:not(.nav-active){background:none;box-shadow:none;color:#bbb}.sidebar a:not(.nav-active):hover{background:#ffffff0c;color:#fff}
.nav-link.nav-active{color:#fff}
#admin-error{flex:1;color:var(--erro);font-size:11px}
#responsible-error{flex:1;color:var(--erro);font-size:11px}
#whatsapp-error{color:var(--erro);font-size:13px}#whatsapp-result{color:var(--texto-secundario);font-size:12px;margin-top:15px}#whatsapp-form{margin-top:24px}
.restaurant-photo{object-fit:cover;flex-shrink:0}
.restaurant-actions{position:sticky;right:0;background:var(--superficie);box-shadow:-6px 0 10px -8px #0008;z-index:1;text-align:center;vertical-align:middle;white-space:nowrap}
.restaurant-actions .icon-button{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;margin:0 2px;color:var(--destaque-texto)}
.restaurant-actions svg{width:20px;height:20px}
.restaurant-actions .icon-button:hover{background:var(--superficie-alt,#fff1e5)}
.restaurant-actions .icon-button:focus-visible{outline:2px solid #ff7a00;outline-offset:2px}
.actions-heading{position:sticky;right:0;background:var(--superficie-suave);text-align:center}
.action-icon{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;min-width:36px;padding:0;flex-shrink:0;color:var(--destaque-texto);vertical-align:middle}
.action-icon svg{width:20px;height:20px;pointer-events:none}
.action-icon:hover{background:var(--destaque-fundo)}
.action-icon:focus-visible{outline:2px solid #ff7a00;outline-offset:2px}
.action-icon[data-delete-category],.action-icon.option-remove{color:var(--erro)}
.responsible-shortcut{width:100%;margin-bottom:20px;color:var(--destaque-texto);border-color:var(--campo-borda);font-weight:800}
.image-editor{display:flex;align-items:center;gap:16px;margin-bottom:12px}.image-editor img{width:90px;height:90px;object-fit:cover;border-radius:12px;border:1px solid var(--borda)}.image-editor small{display:block;color:var(--texto-secundario);margin-top:6px}.image-editor input{max-width:100%;font-size:12px}.image-editor>div{min-width:0;flex:1}
@media(max-width:760px){#responsible-editor .drawer-footer{flex-wrap:wrap}#responsible-error:not(:empty){flex-basis:100%}}
@media(max-width:760px){#admin-editor .drawer-footer{flex-wrap:wrap}#admin-error:not(:empty){flex-basis:100%}}
@media(max-width:760px){.sidebar{flex-wrap:wrap;gap:10px}.nav-link{margin:0;padding:8px 12px;font-size:12px}.sidebar .brand{margin-right:auto}.sidebar a{margin-left:0}.sidebar-bottom{display:none}}
:root{color-scheme:light;--pagina:#f4f6f8;--superficie:#fff;--superficie-suave:#fafbfc;--texto:#252525;--texto-secundario:#657080;--borda:#e9ecf0;--campo-borda:#dce1e6;--destaque-fundo:#fff2e6;--destaque-texto:#b95d08;--erro:#b44931}
:root[data-tema=escuro]{color-scheme:dark;--pagina:#141618;--superficie:#1e2125;--superficie-suave:#25292e;--texto:#f0f1f3;--texto-secundario:#adb5c0;--borda:#343940;--campo-borda:#4a515b;--destaque-fundo:#3b2a1d;--destaque-texto:#ffb66c;--erro:#ffab99;--muted:#adb5c0;--line:#343940}
html,body{background:var(--pagina);color:var(--texto)}
.topbar,.stat,.directory,.auth,.drawer-footer,dialog,.secondary{background:var(--superficie);color:var(--texto)}
input,select,textarea{background:var(--superficie);color:var(--texto);border-color:var(--campo-borda)}
.filters select,.search input,thead,.form-hint,.subtle-tag,.icon-button{background:var(--superficie-suave)}
.secondary,.stat,.directory,.topbar,.drawer-header,.drawer-footer,th,td,.empty{border-color:var(--borda)}
.topbar strong,.profile,td strong{color:var(--texto)}
.text-button,.stat>div>span,td,.pagination,.form-intro,.form-hint,.empty p,.bottom-note,.bottom-note strong,.auth-note,.auth-form label small,.form-intro small,thead,td small,.profile small,.subtle-tag{color:var(--texto-secundario)}
.avatar,.restaurant-avatar,.form-section h3 span,.empty-art{background:var(--destaque-fundo);color:var(--destaque-texto);border-color:var(--destaque-fundo)}
#auth-error,#save-error,.field-error{color:var(--erro)}
input::placeholder,textarea::placeholder{color:var(--texto-secundario);opacity:1}
.theme-control{position:relative;width:36px;height:36px;flex-shrink:0;border:1px solid var(--campo-borda);border-radius:9px;background:var(--superficie);color:var(--texto-secundario);margin-right:8px}
.theme-control:hover{color:var(--orange);border-color:var(--orange)}
.theme-control:focus-within{outline:3px solid #ffb800;outline-offset:3px}
#theme-icon{display:grid;place-items:center;width:100%;height:100%;pointer-events:none}
#theme{position:absolute;inset:0;opacity:0;width:100%;height:100%;padding:0;margin:0;cursor:pointer}
:root[data-tema=escuro] .sidebar{background:#191b1e;border-right:1px solid var(--borda)}
:root[data-tema=escuro] .stat-icon,:root[data-tema=escuro] .badge{background:#323840;color:#c8cdd5}
:root[data-tema=escuro] .stat-icon.total{background:#3b2a1d;color:#ffb66c}
:root[data-tema=escuro] .stat-icon.em_configuracao,:root[data-tema=escuro] .badge.em_configuracao{background:#3c341f;color:#f0cc71}
:root[data-tema=escuro] .stat-icon.ativo,:root[data-tema=escuro] .badge.ativo{background:#203b2d;color:#9ed9b2}
:root[data-tema=escuro] #toast{background:#eceef1;color:#202327}
:root[data-tema=escuro] .primary,:root[data-tema=escuro] .nav-active{color:#211a12}
:root[data-tema=escuro] .eyebrow,:root[data-tema=escuro] .page-heading .eyebrow{color:#b4bbc5}
:root[data-tema=escuro] .auth-form .eyebrow,:root[data-tema=escuro] .drawer-header .eyebrow{color:#ffb66c}
@media(max-width:760px){.topbar{height:auto;min-height:65px;flex-wrap:wrap;gap:12px;padding:14px 20px}.profile{margin-left:auto;gap:6px}.theme-control{margin-right:4px}.drawer-footer #save-error{background:var(--superficie)}}

.public-link{overflow-wrap:anywhere;margin:20px 0;color:var(--destaque-texto)}.public-qr{width:200px;height:200px;margin-top:24px;background:white;border-radius:10px}.hours-settings .menu-actions a{text-decoration:none;text-align:center;font-size:13px}
