/* NFC Menu 32 — painel semanal e promoções programadas */
#nfc-weekly-editor{margin:0 0 20px;background:#f7fafc;border:1px solid #dce4ef;border-radius:18px;padding:17px}
#nfc-weekly-editor summary{cursor:pointer;display:flex;gap:8px;align-items:center;justify-content:space-between;font-size:13px;font-weight:800;color:#1b3451;list-style:none}
#nfc-weekly-editor summary::-webkit-details-marker{display:none}
#nfc-weekly-editor summary:after{content:'Editar ▾';font-size:11px;color:#a36b12}
#nfc-weekly-editor[open] summary:after{content:'Fechar ▴'}
#nfc-weekly-editor .nfc-weekly-hint{font-size:12px;color:#526780;line-height:1.5;margin:12px 0}
#nfc-weekly-days{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.nfc-weekday-row{display:flex;flex-direction:column;gap:5px;font-size:12px;color:#263e5e;font-weight:750}
.nfc-weekday-row select{width:100%;min-width:0;padding:10px 11px;border:1px solid #cedbeb;border-radius:10px;background:white;color:#203954;font-size:12px}
.nfc-weekly-toggle{display:flex;align-items:start;gap:9px;margin:14px 0 7px;color:#263e5e;font-size:12px;cursor:pointer}
#nfc-weekly-status{font-size:11px;color:#50715e}
.nfc-promo-schedule{padding:12px 14px;background:#fff9ed;border:1px solid #f2dbb2;border-radius:12px;margin-top:12px}
.nfc-promo-schedule legend{font-size:12px;font-weight:800;color:#714f18}
.nfc-promo-schedule label{font-size:12px;color:#263e5e}
.nfc-promo-schedule-days{display:flex;flex-wrap:wrap;gap:7px;margin-top:11px}
.nfc-promo-day{display:inline-flex;gap:5px;align-items:center;background:#fff;border:1px solid #d9dce4;border-radius:9px;padding:7px 10px;cursor:pointer}
.nfc-promo-schedule-hours{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px;align-items:end}
.nfc-promo-schedule-hours label{display:grid;gap:5px}
.nfc-promo-schedule-hours input{border-radius:9px;border:1px solid #cbd5e1;padding:9px;background:#fff;color:#172b45}
.nfc-promo-schedule-hours button{background:#203852;color:white;border-radius:9px;padding:10px 12px;font-size:11px;font-weight:750}
.nfc-schedule-help{font-size:11px;color:#655a4c;margin:10px 0 0;line-height:1.5}
#nfc-today-section[hidden]{display:none!important}
#nfc-today-section{margin:0 0 24px}
.nfc-today-card{display:flex;align-items:stretch;width:100%;text-align:left;background:#fff8ed;border:1px solid #ebc98d;border-radius:18px;overflow:hidden;box-shadow:0 12px 28px #a9761c1a;cursor:pointer;min-height:150px}
.nfc-today-card img{width:34%;max-width:260px;object-fit:cover;align-self:stretch}
.nfc-today-info{padding:17px 20px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:6px;color:#203650}
.nfc-today-info strong{font-size:22px;line-height:1.17}
.nfc-today-pill{font-size:10px;font-weight:900;letter-spacing:.12em;color:#a46d10}
.nfc-today-info small{font-size:12px;color:#587084}
.nfc-today-price{font-size:18px;color:#a46d10;font-weight:900}
.nfc-today-price del{color:#7d8796;font-size:14px;margin-right:9px}
.nfc-today-price .nfc-promo-price{color:#137c47}
@media(max-width:540px){#nfc-weekly-days{grid-template-columns:1fr}.nfc-today-card img{width:38%}.nfc-today-info{padding:13px 15px}.nfc-today-info strong{font-size:17px}}

/* Atualização 33: opções dentro da edição do prato, sem barra separada. */
.nfc33-daily-section{margin:10px 0 4px;padding:14px;border:1px solid #d5dfeb;border-radius:14px;background:#f6f9fd}
.nfc33-field-title{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:13px;font-weight:900;color:#193450}
.nfc33-field-title small{font-size:11px;font-weight:600;color:#60728a}
.nfc33-days-grid,.nfc-promo-schedule-days{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px}
.nfc33-days-grid label,.nfc-promo-day{display:flex;align-items:center;gap:6px;border:1px solid #cdd9e7;border-radius:9px;padding:9px 10px;background:#fff;color:#273e59;font-size:12px;font-weight:800;cursor:pointer}
.nfc33-days-grid input,.nfc-promo-day input{accent-color:#d78c15}
.nfc33-inline-help{font-size:12px;color:#526780;line-height:1.45;margin-top:10px}
.nfc33-promo-mode{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}
.nfc33-promo-mode label{display:flex;align-items:center;gap:7px;padding:10px 12px;border-radius:11px;background:#fff;border:1px solid #cbd7e4;font-size:12px;font-weight:800;cursor:pointer}
.nfc33-promo-mode input{accent-color:#d78c15}
#nfc-promo-recurring-fields[hidden],#nfc-promo-date-fields[hidden]{display:none!important}
.nfc33-date-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0}
.nfc33-date-grid label{display:grid;gap:6px;color:#263e5e;font-size:12px;font-weight:800}
.nfc33-date-grid input{width:100%;min-width:0;padding:10px;border:1px solid #ccd9e8;border-radius:9px;background:#fff;color:#203954;color-scheme:light}
.nfc33-half-price{display:inline-flex;align-items:center;border:1px solid #d8ab55;background:#fdf4e6;color:#70460b;border-radius:10px;padding:10px 13px;font-size:12px;font-weight:850;margin-top:10px}
#nfc-today-section{margin-bottom:18px}
.nfc33-today-title{font-size:17px;font-weight:900;color:#172d48;margin:0 0 10px}
.nfc33-today-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:12px}
.nfc33-today-grid .nfc-today-card{min-height:115px}
.nfc33-today-grid .nfc-today-card img{max-width:40%;width:40%}
.nfc33-today-grid .nfc-today-info{padding:12px}
.nfc33-today-grid .nfc-today-info strong{font-size:16px}
.nfc33-today-grid .nfc-today-price{font-size:14px}
.nfc33-today-grid .nfc-today-info small{font-size:11px}
@media(max-width:520px){.nfc33-date-grid{grid-template-columns:1fr}.nfc33-today-grid{grid-template-columns:1fr}.nfc33-today-grid .nfc-today-card img{width:38%}}

/* NFC Menu 34 — edição de pratos com a mesma linguagem visual do painel.
   Não altera o funcionamento de horários, datas nem dos pratos do dia. */
#dish-modal > div {
  --nfc34-panel:#ffffff;
  --nfc34-card:#f8fafc;
  --nfc34-control:#ffffff;
  --nfc34-ink:#203651;
  --nfc34-muted:#64748b;
  --nfc34-border:#d6e1ed;
  --nfc34-accent:#f39d14;
  --nfc34-selected:#fff2da;
  --nfc34-selected-ink:#5a3b0b;
  width:100%;
  max-width:min(94vw,760px)!important;
  background:var(--nfc34-panel)!important;
  color:var(--nfc34-ink)!important;
  border:1px solid var(--nfc34-border);
  padding:24px!important;
  color-scheme:light;
  scrollbar-width:thin;
}
html.nfc-dark #dish-modal > div {
  --nfc34-panel:#1b2e47;
  --nfc34-card:#203650;
  --nfc34-control:#12243b;
  --nfc34-ink:#f3f7fc;
  --nfc34-muted:#b6c7df;
  --nfc34-border:#506a89;
  --nfc34-selected:#523d1b;
  --nfc34-selected-ink:#fff4dc;
  color-scheme:dark;
}
#dish-modal .nfc-dish-options {
  padding:0;
  border:0;
  background:transparent;
  display:grid;
  gap:15px;
}
#dish-modal .nfc34-section,
#dish-modal .nfc34-featured-option {
  display:block;
  padding:18px;
  margin:0;
  background:var(--nfc34-card)!important;
  border:1px solid var(--nfc34-border)!important;
  border-radius:16px;
  color:var(--nfc34-ink)!important;
}
#dish-modal .nfc34-featured-option {
  display:flex;
  align-items:center;
  gap:14px;
  cursor:pointer;
}
#dish-modal .nfc34-featured-option strong {
  font-size:15px;
}
#dish-modal .nfc34-featured-option span small {color:var(--nfc34-muted)!important}
#dish-modal .nfc34-section-title {
  display:flex;
  align-items:flex-start;
  gap:13px;
  color:var(--nfc34-ink);
  margin-bottom:14px;
}
#dish-modal .nfc34-section-title > i {
  color:var(--nfc34-accent);
  margin-top:2px;
  font-size:19px;
  width:24px;
  text-align:center;
  flex-shrink:0;
}
#dish-modal .nfc34-section-title > span {display:grid;gap:4px;min-width:0}
#dish-modal .nfc34-section-title strong {font-weight:850;font-size:17px;line-height:1.25}
#dish-modal .nfc34-section-title small {font-size:12px;color:var(--nfc34-muted);line-height:1.4;font-weight:500}
#dish-modal .nfc34-section-title em {
  display:inline-block;
  font-style:normal;
  font-size:10px;
  padding:4px 8px;
  margin-left:7px;
  border-radius:999px;
  vertical-align:2px;
  background:rgba(137,157,183,.18);
  color:var(--nfc34-muted);
  font-weight:700;
}
#dish-modal .nfc34-promo-toggle {
  padding:12px 13px;
  border:1px solid var(--nfc34-border);
  border-radius:12px;
  align-items:center;
  background:var(--nfc34-control);
  color:var(--nfc34-ink);
}
#dish-modal .nfc34-promo-toggle strong {font-size:14px}
#dish-modal .nfc34-promo-toggle small {font-size:11px;color:var(--nfc34-muted)!important}
#dish-modal .nfc-option-line input[type=checkbox] {
  width:18px;
  height:18px;
  accent-color:var(--nfc34-accent);
}
#dish-modal #dish-promo-fields {
  background:transparent!important;
  border:0!important;
  padding:0!important;
  margin-top:16px;
}
#dish-modal .nfc34-price-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:end}
#dish-modal .nfc34-price-field {display:grid;gap:7px;min-width:0}
#dish-modal .nfc34-price-field label {font-size:12px;font-weight:800;color:var(--nfc34-ink)}
#dish-modal .nfc34-readonly-money,
#dish-modal #dish-form-promo-price {
  box-sizing:border-box;
  display:flex;
  align-items:center;
  width:100%;
  min-width:0;
  height:45px;
  border:1px solid var(--nfc34-border)!important;
  border-radius:11px;
  padding:11px 13px;
  background:var(--nfc34-control)!important;
  color:var(--nfc34-ink)!important;
  font-size:16px;
  font-weight:650;
  line-height:1.2;
}
#dish-modal .nfc34-readonly-money {opacity:.9}
#dish-modal .nfc34-discount {
  display:inline-flex;
  gap:9px;
  align-items:center;
  flex-wrap:wrap;
  margin-top:13px;
  padding:10px 13px;
  border:1px solid #df9b28;
  border-radius:11px;
  background:var(--nfc34-selected);
  color:var(--nfc34-selected-ink);
  font-size:12px;
}
#dish-modal .nfc34-discount[hidden]{display:none!important}
#dish-modal .nfc34-discount > i {color:var(--nfc34-accent);font-size:14px}
#dish-modal .nfc34-discount strong {font-weight:900;font-size:19px;color:var(--nfc34-accent)}
#dish-modal .nfc34-discount-invalid {border-color:#cb7871;background:#fff0ee;color:#952e29}
#dish-modal .nfc34-discount-invalid strong,#dish-modal .nfc34-discount-invalid>i {color:#bd4039}
#dish-modal .nfc-promo-schedule {
  background:transparent;
  border:0;
  border-top:1px solid var(--nfc34-border);
  padding:15px 0 0;
  margin:20px 0 0;
  border-radius:0;
  min-width:0;
}
#dish-modal .nfc-promo-schedule legend {
  display:contents;
  font-weight:850;
  font-size:14px;
  color:var(--nfc34-ink);
}
#dish-modal .nfc-promo-schedule legend i {color:var(--nfc34-accent);margin-right:6px}
#dish-modal .nfc33-promo-mode {display:flex;flex-wrap:wrap;gap:9px;margin:12px 0 15px}
#dish-modal .nfc33-promo-mode label,
#dish-modal .nfc33-days-grid label,
#dish-modal .nfc-promo-day {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-width:0;
  min-height:42px;
  margin:0;
  padding:9px 10px;
  border-radius:11px;
  border:1px solid var(--nfc34-border);
  background:var(--nfc34-control);
  color:var(--nfc34-ink);
  font-weight:750;
  font-size:12px;
  cursor:pointer;
  transition:background-color .15s ease,border-color .15s ease,box-shadow .15s ease;
}
#dish-modal .nfc33-promo-mode label {padding:9px 12px}
#dish-modal .nfc33-days-grid label:hover,
#dish-modal .nfc-promo-day:hover,
#dish-modal .nfc33-promo-mode label:hover {border-color:#d99a38}
#dish-modal .nfc33-promo-mode label:has(input:checked),
#dish-modal .nfc33-days-grid label:has(input:checked),
#dish-modal .nfc-promo-day:has(input:checked) {
  border-color:var(--nfc34-accent);
  background:var(--nfc34-selected);
  color:var(--nfc34-selected-ink);
  box-shadow:inset 0 0 0 1px rgba(244,160,24,.16);
}
#dish-modal .nfc33-promo-mode input,
#dish-modal .nfc33-days-grid input,
#dish-modal .nfc-promo-day input {
  flex:0 0 15px;
  width:15px;
  height:15px;
  margin:0;
  accent-color:var(--nfc34-accent);
  cursor:pointer;
}
#dish-modal .nfc33-days-grid,
#dish-modal .nfc-promo-schedule-days {
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
  gap:7px;
  margin:0;
}
#dish-modal .nfc33-date-grid,
#dish-modal .nfc-promo-schedule-hours {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:end;
  gap:12px;
  margin-top:15px;
}
#dish-modal .nfc33-date-grid label,
#dish-modal .nfc-promo-schedule-hours label {
  display:grid;
  gap:7px;
  font-size:12px;
  font-weight:800;
  color:var(--nfc34-ink);
  min-width:0;
}
#dish-modal .nfc33-date-grid input,
#dish-modal .nfc-promo-schedule-hours input {
  width:100%;
  min-width:0;
  height:43px;
  padding:10px 12px;
  border:1px solid var(--nfc34-border)!important;
  border-radius:11px;
  color:var(--nfc34-ink)!important;
  background:var(--nfc34-control)!important;
  box-sizing:border-box;
  color-scheme:light;
}
html.nfc-dark #dish-modal .nfc33-date-grid input,
html.nfc-dark #dish-modal .nfc-promo-schedule-hours input {color-scheme:dark}
#dish-modal .nfc-schedule-help {color:var(--nfc34-muted)!important;font-size:11px;margin:11px 0 0;line-height:1.5}
#dish-modal .nfc34-section .nfc33-inline-help {color:var(--nfc34-muted)!important}
#dish-modal #nfc-promo-recurring-fields[hidden],
#dish-modal #nfc-promo-date-fields[hidden] {display:none!important}
@media(max-width:650px){
  #dish-modal > div {padding:18px!important;max-width:min(96vw,520px)!important}
  #dish-modal .nfc34-section,#dish-modal .nfc34-featured-option {padding:14px}
  #dish-modal .nfc33-days-grid,#dish-modal .nfc-promo-schedule-days{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
  #dish-modal .nfc34-price-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  #dish-modal .nfc33-promo-mode{display:grid;grid-template-columns:1fr 1fr;gap:6px}
  #dish-modal .nfc33-promo-mode label{font-size:11px;padding:8px 5px}
}
@media(max-width:390px){
  #dish-modal .nfc34-price-grid {grid-template-columns:1fr}
  #dish-modal .nfc33-date-grid {grid-template-columns:1fr}
  #dish-modal .nfc34-discount {font-size:11px}
}

/* Identidade visual do cabeçalho e ação principal do editor. */
#dish-modal .nfc34-dialog-heading {display:flex;align-items:center;gap:14px;padding-right:32px;margin-bottom:22px}
#dish-modal .nfc34-dialog-heading > div {min-width:0}
#dish-modal .nfc34-dialog-icon {
  display:inline-flex;align-items:center;justify-content:center;
  width:47px;height:47px;flex:0 0 47px;
  border-radius:13px;border:1px solid rgba(243,157,20,.55);
  color:var(--nfc34-accent);background:rgba(243,157,20,.12);font-size:19px;
}
#dish-modal .nfc34-dialog-heading h3 {color:var(--nfc34-ink)!important;font-size:20px;line-height:1.28;margin:5px 0 3px}
#dish-modal .nfc34-dialog-heading p {color:var(--nfc34-muted)!important;font-size:12px;line-height:1.45;margin:0}
#dish-modal button[type=submit] {background:#f39d14!important;color:#172b48!important;border-radius:11px}
#dish-modal button[type=submit]:hover {background:#ffad2a!important}
#dish-modal button[aria-label="Fechar edição do prato"] {color:var(--nfc34-muted)!important}
@media(max-width:480px){#dish-modal .nfc34-dialog-heading{gap:10px}#dish-modal .nfc34-dialog-icon{width:40px;height:40px;flex-basis:40px}#dish-modal .nfc34-dialog-heading h3{font-size:18px}}
