
/* ==========================================================================
   FRY & GRILL CHEF — the third Kitchen Academy course.

   Visually consistent with Pastry Chef and Pantry Chef: white ground, navy
   headings, sage / blush / oatmeal / muted charcoal, 24–30px radii, very soft
   shadows, generous space. Serif headings, sans body.

   Deliberately NOT rustic and NOT masculine — no charred-wood textures, no
   heavy black, no flame graphics.

   PREFIX CHECKED BEFORE USE: `fg-` returns zero matches elsewhere in the file.
   Every rule is still scoped to #page-fry-grill-chef, because a prefix being
   free today does not stop a future page taking it.
   ========================================================================== */
#page-fry-grill-chef{
  --fg-navy:#1F3054;
  --fg-char:#3A3F45;
  --fg-sage:#5F7350;
  --fg-sage-l:#EBF0E9;
  --fg-blush:#C98A80;
  --fg-blush-d:#8C4C40;
  --fg-blush-l:#F9F0ED;
  --fg-oat:#F3ECE1;
  --fg-terra:#9C583D;
  --fg-terra-l:#F8EDE7;
  --fg-amber-l:#FBF2E2;
  --fg-line:#EAE1D6;
  background:#FEFDFB !important;
  font-family:'Nunito',system-ui,-apple-system,sans-serif;
}
#page-fry-grill-chef .fg-wrap{ max-width:1180px; margin:0 auto; padding:0 clamp(18px,4vw,34px); }
#page-fry-grill-chef .fg-wrap section, #page-fry-grill-chef .fg-sec{ padding:0 !important; }
#page-fry-grill-chef .fg-sec{ margin:0 0 clamp(48px,7vw,92px); min-width:0; }
#page-fry-grill-chef .fg-body{ padding:clamp(20px,3vw,34px) 0 120px; min-width:0; }

/* ---- type ---------------------------------------------------------------- */
#page-fry-grill-chef .fg-eb{
  font-size:.7rem; font-weight:800; letter-spacing:.24em; text-transform:uppercase; margin:0 0 12px;
  color:var(--fg-blush-d) !important; -webkit-text-fill-color:var(--fg-blush-d) !important;
}
#page-fry-grill-chef .fg-crumb{
  font-size:.78rem; font-weight:700; margin:0;
  color:#5D6981 !important; -webkit-text-fill-color:#5D6981 !important;
}
#page-fry-grill-chef .fg-h1{
  font-family:'Playfair Display',Georgia,serif !important;
  font-size:clamp(2rem,4.6vw,3.1rem) !important; font-weight:700 !important; line-height:1.1;
  margin:0 0 10px !important; color:var(--fg-navy) !important; -webkit-text-fill-color:var(--fg-navy) !important;
}
#page-fry-grill-chef .fg-h2{
  font-family:'Playfair Display',Georgia,serif !important;
  font-size:clamp(1.4rem,2.9vw,2.05rem) !important; font-weight:700 !important; line-height:1.18;
  margin:0 0 8px !important; color:var(--fg-navy) !important; -webkit-text-fill-color:var(--fg-navy) !important;
}
#page-fry-grill-chef .fg-h3{
  font-size:1rem !important; font-weight:800 !important; margin:0 !important;
  color:var(--fg-navy) !important; -webkit-text-fill-color:var(--fg-navy) !important;
}
#page-fry-grill-chef .fg-lead{
  margin:0; font-size:clamp(.98rem,1.5vw,1.06rem); line-height:1.75; max-width:62ch;
  color:#4A5670 !important; -webkit-text-fill-color:#4A5670 !important;
}
#page-fry-grill-chef .fg-sub{ margin:8px 0 0; font-size:.89rem; line-height:1.62;
  color:#57647E !important; -webkit-text-fill-color:#57647E !important; }
#page-fry-grill-chef .fg-hrow{ display:flex; align-items:flex-end; justify-content:space-between;
  gap:18px; flex-wrap:wrap; margin:0 0 24px; }
#page-fry-grill-chef .fg-note{ margin:14px 0 0; font-size:.81rem; line-height:1.7;
  color:#5A6478 !important; -webkit-text-fill-color:#5A6478 !important; }

/* ---- hero ---------------------------------------------------------------- */
#page-fry-grill-chef .fg-backbar{
  max-width:1180px; margin:0 auto; padding:14px clamp(18px,4vw,34px) 0;
  display:flex; gap:10px; flex-wrap:wrap; align-items:center;
}
#page-fry-grill-chef .fg-sr{
  position:absolute !important; width:1px !important; height:1px !important;
  padding:0 !important; margin:-1px !important; overflow:hidden !important;
  clip:rect(0 0 0 0) !important; white-space:nowrap !important; border:0 !important;
}
#page-fry-grill-chef .fg-hero{
  display:grid; grid-template-columns:1.02fr .98fr; gap:clamp(26px,4vw,52px);
  align-items:center; padding:clamp(20px,3.5vw,42px) 0 clamp(28px,4vw,52px);
}
#page-fry-grill-chef .fg-hero-media{ min-width:0; }
#page-fry-grill-chef .fg-hero-img{
  display:block; width:100%; height:auto; border-radius:30px;
  box-shadow:0 26px 60px rgba(31,48,84,.16);
}

/* ---- buttons -------------------------------------------------------------- */
#page-fry-grill-chef .fg-b, #fgSheet .fg-b{
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  min-height:50px; padding:14px 24px; border-radius:999px; cursor:pointer; font:inherit;
  font-size:.89rem; font-weight:800; text-align:center;
  background:#fff !important; border:1px solid var(--fg-line) !important;
  color:var(--fg-navy) !important; -webkit-text-fill-color:var(--fg-navy) !important;
  transition:transform .16s ease, box-shadow .16s ease, background .16s ease;
}
#page-fry-grill-chef .fg-b:hover, #fgSheet .fg-b:hover{ background:var(--fg-sage-l) !important;
  border-color:#CBD8C4 !important; }
#page-fry-grill-chef .fg-b.is-terra, #fgSheet .fg-b.is-terra{
  background:var(--fg-terra) !important; border-color:var(--fg-terra) !important;
  color:#fff !important; -webkit-text-fill-color:#fff !important;
}
#page-fry-grill-chef .fg-b.is-terra:hover, #fgSheet .fg-b.is-terra:hover{ background:#86482F !important; }
#page-fry-grill-chef .fg-b.is-navy, #fgSheet .fg-b.is-navy{
  background:var(--fg-navy) !important; border-color:var(--fg-navy) !important;
  color:#fff !important; -webkit-text-fill-color:#fff !important;
}
#page-fry-grill-chef .fg-b.is-sm, #fgSheet .fg-b.is-sm{ min-height:44px; padding:11px 17px; font-size:.82rem; }
#page-fry-grill-chef .fg-b svg, #fgSheet .fg-b svg{ width:17px; height:17px; flex:none;
  stroke:currentColor; fill:none; stroke-width:1.85; stroke-linecap:round; stroke-linejoin:round; }
#page-fry-grill-chef .fg-b:focus-visible, #fgSheet .fg-b:focus-visible,
#page-fry-grill-chef .fg-c:focus-visible, #page-fry-grill-chef .fg-ch:focus-visible,
#page-fry-grill-chef .fg-save:focus-visible, #page-fry-grill-chef .fg-tile:focus-visible{
  outline:3px solid #CF9E3F; outline-offset:3px; }
#page-fry-grill-chef .fg-acts{ display:flex; gap:12px; flex-wrap:wrap; }

/* ---- cards ---------------------------------------------------------------- */
#page-fry-grill-chef .fg-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:16px; }
#page-fry-grill-chef .fg-grid.is-2{ grid-template-columns:repeat(2,minmax(0,1fr)); }
#page-fry-grill-chef .fg-grid.is-3{ grid-template-columns:repeat(3,minmax(0,1fr)); }
#page-fry-grill-chef .fg-grid.is-4{ grid-template-columns:repeat(4,minmax(0,1fr)); }
#page-fry-grill-chef .fg-grid.is-5{ grid-template-columns:repeat(5,minmax(0,1fr)); }
#page-fry-grill-chef .fg-c{
  background:#fff !important; border:1px solid var(--fg-line) !important; border-radius:26px;
  padding:24px; box-shadow:0 3px 16px rgba(31,48,84,.05);
  display:flex; flex-direction:column; gap:9px; text-align:left; width:100%; min-width:0;
}
#page-fry-grill-chef button.fg-c{ cursor:pointer; font:inherit;
  transition:transform .2s cubic-bezier(.22,1,.36,1), box-shadow .2s ease, border-color .2s ease; }
#page-fry-grill-chef button.fg-c:hover{ transform:translateY(-4px);
  box-shadow:0 18px 42px rgba(31,48,84,.12); border-color:#CBD8C4 !important; }
#page-fry-grill-chef .fg-c-n{ font-size:1.02rem; font-weight:800;
  color:var(--fg-navy) !important; -webkit-text-fill-color:var(--fg-navy) !important; }
#page-fry-grill-chef .fg-c-d{ font-size:.87rem; line-height:1.62;
  color:#57647E !important; -webkit-text-fill-color:#57647E !important; }
#page-fry-grill-chef .fg-c-f{ margin-top:auto; padding-top:12px; font-size:.79rem; font-weight:800;
  display:inline-flex; align-items:center; gap:6px;
  color:var(--fg-blush-d) !important; -webkit-text-fill-color:var(--fg-blush-d) !important; }

/* the photographic band at the top of a card, drawn from the palette rather
   than a stock image — described honestly in the page copy */
#page-fry-grill-chef .fg-art{
  height:132px; border-radius:18px; margin:0 0 6px; position:relative; overflow:hidden;
  display:flex; align-items:center; justify-content:center;
}
#page-fry-grill-chef .fg-art svg{ width:38px; height:38px; stroke:currentColor; fill:none;
  stroke-width:1.55; stroke-linecap:round; stroke-linejoin:round; }
#page-fry-grill-chef .fg-art.is-sm{ height:96px; }
#page-fry-grill-chef .fg-art img{ width:100%; height:100%; object-fit:cover; border-radius:18px; }
#page-fry-grill-chef .a-sage { background:var(--fg-sage-l) !important;  color:#3F5237; }
#page-fry-grill-chef .a-blush{ background:var(--fg-blush-l) !important; color:#8C4C40; }
#page-fry-grill-chef .a-oat  { background:var(--fg-oat) !important;     color:#6B5427; }
#page-fry-grill-chef .a-terra{ background:var(--fg-terra-l) !important; color:#8A4E2C; }
#page-fry-grill-chef .a-amber{ background:var(--fg-amber-l) !important; color:#7A5A1E; }
#page-fry-grill-chef .a-char { background:#EEEFF0 !important;           color:#454B52; }

/* ---- panels ---------------------------------------------------------------- */
#page-fry-grill-chef .fg-panel{
  background:#fff !important; border:1px solid var(--fg-line) !important; border-radius:28px;
  padding:clamp(20px,3vw,32px); box-shadow:0 3px 18px rgba(31,48,84,.05);
}
#page-fry-grill-chef .fg-panel.is-blush{ background:var(--fg-blush-l) !important; border-color:#F0DFDA !important; }
#page-fry-grill-chef .fg-panel.is-oat{ background:var(--fg-oat) !important; border-color:#E7DBC9 !important; }
#page-fry-grill-chef .fg-panel.is-sage{ background:var(--fg-sage-l) !important; border-color:#DCE5D8 !important; }

/* ---- heat indicator ---------------------------------------------------------- */
#page-fry-grill-chef .fg-heat{ display:flex; align-items:center; gap:8px; margin:4px 0 0; }
#page-fry-grill-chef .fg-heat-b{ display:flex; gap:4px; }
#page-fry-grill-chef .fg-heat-b span{
  display:block; width:22px; height:7px; border-radius:99px; background:#E6DED2;
}
#page-fry-grill-chef .fg-heat-b span.on{ background:var(--fg-terra); }
#page-fry-grill-chef .fg-heat-l{
  font-size:.72rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase;
  color:#6B5A4A !important; -webkit-text-fill-color:#6B5A4A !important;
}

/* ---- cook-it-right tiles -------------------------------------------------------- */
#page-fry-grill-chef .fg-tiles{ display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:14px; }
#page-fry-grill-chef .fg-tile{
  border-radius:24px; padding:0; cursor:pointer; font:inherit; overflow:hidden;
  border:1px solid var(--fg-line) !important; background:#fff !important; min-width:0;
  display:flex; flex-direction:column; text-align:left;
  transition:transform .2s cubic-bezier(.22,1,.36,1), box-shadow .2s ease;
}
#page-fry-grill-chef .fg-tile:hover{ transform:translateY(-4px); box-shadow:0 18px 42px rgba(31,48,84,.12); }
#page-fry-grill-chef .fg-tile-b{ padding:16px 18px 18px; display:flex; flex-direction:column; gap:4px; }
#page-fry-grill-chef .fg-tile-n{ font-size:.98rem; font-weight:800;
  color:var(--fg-navy) !important; -webkit-text-fill-color:var(--fg-navy) !important; }
#page-fry-grill-chef .fg-tile-d{ font-size:.8rem; line-height:1.5;
  color:#57647E !important; -webkit-text-fill-color:#57647E !important; }

/* ---- status ---------------------------------------------------------------------- */
#page-fry-grill-chef .fg-st{
  display:inline-flex; align-items:center; gap:5px; align-self:flex-start;
  font-size:.71rem; font-weight:800; padding:4px 11px; border-radius:99px;
  background:var(--fg-sage-l) !important; color:#3F5237 !important; -webkit-text-fill-color:#3F5237 !important;
}
#page-fry-grill-chef .fg-st.is-mid{ background:var(--fg-oat) !important; color:#6B5427 !important; -webkit-text-fill-color:#6B5427 !important; }
#page-fry-grill-chef .fg-st.is-hot{ background:var(--fg-terra-l) !important; color:#8A4E2C !important; -webkit-text-fill-color:#8A4E2C !important; }
#page-fry-grill-chef .fg-st.is-blue{ background:#EDF2F8 !important; color:#2F4467 !important; -webkit-text-fill-color:#2F4467 !important; }

/* ---- rails ------------------------------------------------------------------------ */
#page-fry-grill-chef .fg-rail{ display:flex; gap:14px; overflow-x:auto; padding:4px 2px 14px;
  scroll-snap-type:x proximity; min-width:0; max-width:100%; }
#page-fry-grill-chef .fg-rail > *{ flex:none; width:272px; scroll-snap-align:start; }

/* ---- heat-zone diagram --------------------------------------------------------------- */
#page-fry-grill-chef .fg-zones{
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0;
  border-radius:22px; overflow:hidden; border:1px solid var(--fg-line);
}
#page-fry-grill-chef .fg-zone{ padding:26px 20px; text-align:center; }
#page-fry-grill-chef .fg-zone-n{
  display:block; font-size:.72rem; font-weight:800; letter-spacing:.14em; text-transform:uppercase;
  margin:0 0 8px;
}
#page-fry-grill-chef .fg-zone-d{ display:block; font-size:.84rem; line-height:1.55; }
#page-fry-grill-chef .z-hot { background:#F6E4DA !important; }
#page-fry-grill-chef .z-hot .fg-zone-n{ color:#8A4022 !important; -webkit-text-fill-color:#8A4022 !important; }
#page-fry-grill-chef .z-hot .fg-zone-d{ color:#6B4433 !important; -webkit-text-fill-color:#6B4433 !important; }
#page-fry-grill-chef .z-med{ background:var(--fg-amber-l) !important; }
#page-fry-grill-chef .z-med .fg-zone-n{ color:#7A5A1E !important; -webkit-text-fill-color:#7A5A1E !important; }
#page-fry-grill-chef .z-med .fg-zone-d{ color:#665420 !important; -webkit-text-fill-color:#665420 !important; }
#page-fry-grill-chef .z-cool{ background:var(--fg-sage-l) !important; }
#page-fry-grill-chef .z-cool .fg-zone-n{ color:#3F5237 !important; -webkit-text-fill-color:#3F5237 !important; }
#page-fry-grill-chef .z-cool .fg-zone-d{ color:#44523C !important; -webkit-text-fill-color:#44523C !important; }

/* ---- save ------------------------------------------------------------------------------ */
#page-fry-grill-chef .fg-save{
  min-height:44px; padding:10px 15px; border-radius:999px; cursor:pointer; font:inherit;
  font-size:.8rem; font-weight:800; display:inline-flex; align-items:center; gap:7px;
  background:#fff !important; border:1px solid var(--fg-line) !important;
  color:var(--fg-blush-d) !important; -webkit-text-fill-color:var(--fg-blush-d) !important;
}
#page-fry-grill-chef .fg-save.is-on{ background:var(--fg-blush-l) !important; border-color:#E4BDB4 !important; }
#page-fry-grill-chef .fg-save svg{ width:15px; height:15px; stroke:currentColor; fill:none;
  stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
#page-fry-grill-chef .fg-save.is-on svg{ fill:currentColor; }

/* ---- chips + inputs ---------------------------------------------------------------------- */
#page-fry-grill-chef .fg-chips{ display:flex; gap:9px; flex-wrap:wrap; }
#page-fry-grill-chef .fg-ch{
  min-height:44px; padding:11px 16px; border-radius:999px; cursor:pointer; font:inherit;
  font-size:.82rem; font-weight:700; text-align:left;
  background:#fff !important; border:1px solid var(--fg-line) !important;
  color:#4A5670 !important; -webkit-text-fill-color:#4A5670 !important;
}
#page-fry-grill-chef .fg-ch:hover{ background:var(--fg-sage-l) !important; }
#page-fry-grill-chef .fg-ch[aria-pressed="true"]{
  background:var(--fg-navy) !important; border-color:var(--fg-navy) !important;
  color:#fff !important; -webkit-text-fill-color:#fff !important;
}
#page-fry-grill-chef .fg-i{
  width:100%; box-sizing:border-box; min-height:50px; padding:13px 18px; border-radius:16px;
  font:inherit; font-size:.95rem; min-width:0;
  background:#fff !important; border:1px solid var(--fg-line) !important;
  color:var(--fg-navy) !important; -webkit-text-fill-color:var(--fg-navy) !important;
}
#page-fry-grill-chef textarea.fg-i{ min-height:96px; resize:vertical; }
#page-fry-grill-chef .fg-i:focus{ outline:none; border-color:#BBCCB4 !important;
  box-shadow:0 0 0 3px rgba(95,115,80,.20); }
#page-fry-grill-chef .fg-fl{
  display:block; margin:0 0 8px; font-size:.72rem; font-weight:800; letter-spacing:.14em;
  text-transform:uppercase;
  color:#5A6478 !important; -webkit-text-fill-color:#5A6478 !important;
}

/* ---- sheet --------------------------------------------------------------------------------- */
#fgSheet{
  position:fixed; inset:0; z-index:9550; display:none; align-items:flex-end; justify-content:center;
  background:rgba(20,28,44,.48); font-family:'Nunito',system-ui,sans-serif;
}
#fgSheet.is-open{ display:flex; }
#fgSheet .fg-box{
  width:100%; max-width:640px; max-height:calc(100dvh - 40px); overflow-y:auto;
  background:#fff !important; border-radius:28px 28px 0 0; padding:26px clamp(18px,4vw,30px) 34px;
  box-shadow:0 -14px 68px rgba(20,28,44,.3);
}
@media (min-width:720px){
  #fgSheet{ align-items:center; padding:16px; }
  #fgSheet .fg-box{ border-radius:28px; padding-bottom:28px; }
}
#fgSheet .fg-box-h{ display:flex; align-items:flex-start; justify-content:space-between; gap:14px; margin:0 0 10px; }
#fgSheet .fg-box-t{
  font-family:'Playfair Display',Georgia,serif !important; font-size:1.36rem !important; font-weight:700 !important;
  margin:0 !important; color:#1F3054 !important; -webkit-text-fill-color:#1F3054 !important; }
#fgSheet .fg-box-x{
  flex:none; width:44px; height:44px; min-height:44px; border-radius:50%; cursor:pointer; font:inherit; font-size:1.05rem;
  background:#F3ECE1 !important; border:1px solid #EAE1D6 !important;
  color:#1F3054 !important; -webkit-text-fill-color:#1F3054 !important; }
#fgSheet .fg-box-b{ font-size:.93rem; line-height:1.75;
  color:#3E4B65 !important; -webkit-text-fill-color:#3E4B65 !important; }
#fgSheet .fg-box-b > p{ margin:0 0 14px; color:#3E4B65 !important; -webkit-text-fill-color:#3E4B65 !important; }
#fgSheet .fg-box-b ul, #fgSheet .fg-box-b ol{ margin:0 0 14px; padding-left:20px; }
#fgSheet .fg-box-b li{ margin:0 0 7px; }
#fgSheet .fg-k{
  font-size:.66rem; font-weight:800; letter-spacing:.18em; text-transform:uppercase; margin:18px 0 6px;
  color:#8C4C40 !important; -webkit-text-fill-color:#8C4C40 !important; }
#fgSheet .fg-box-f{ display:flex; gap:11px; justify-content:flex-end; flex-wrap:wrap; margin:22px 0 0; }
#fgSheet .fg-tipbox{
  background:#EBF0E9 !important; border-radius:18px; padding:16px 18px; margin:16px 0 0;
  font-size:.9rem; line-height:1.7;
  color:#3F5237 !important; -webkit-text-fill-color:#3F5237 !important; }

/* ---- final ------------------------------------------------------------------------------------ */
#page-fry-grill-chef .fg-final{
  text-align:center; padding:clamp(42px,6vw,80px) clamp(20px,5vw,60px);
  border-radius:36px; background:var(--fg-oat) !important;
}
#page-fry-grill-chef .fg-final-h{
  font-family:'Playfair Display',Georgia,serif !important;
  font-size:clamp(1.5rem,3.6vw,2.3rem) !important; font-weight:700 !important; line-height:1.25;
  margin:0 auto 16px !important; max-width:24ch;
  color:var(--fg-navy) !important; -webkit-text-fill-color:var(--fg-navy) !important;
}

/* ---- toast -------------------------------------------------------------------------------------- */
#fgToast{
  position:fixed; left:50%; bottom:26px; transform:translate(-50%,14px); z-index:9750;
  background:#1F3054 !important; color:#fff !important; -webkit-text-fill-color:#fff !important;
  padding:14px 24px; border-radius:999px; font-family:'Nunito',system-ui,sans-serif;
  font-size:.87rem; font-weight:700; opacity:0; pointer-events:none;
  transition:opacity .2s, transform .2s; max-width:calc(100vw - 32px); text-align:center;
}
#fgToast.on{ opacity:1; transform:translate(-50%,0); }

/* ---- responsive ------------------------------------------------------------------------------------ */
@media (max-width:1020px){
  #page-fry-grill-chef .fg-hero{ grid-template-columns:1fr; }
  #page-fry-grill-chef .fg-hero-media{ order:-1; }
  #page-fry-grill-chef .fg-grid.is-4, #page-fry-grill-chef .fg-grid.is-5{ grid-template-columns:repeat(3,minmax(0,1fr)); }
  #page-fry-grill-chef .fg-grid.is-3{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  #page-fry-grill-chef .fg-tiles{ grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:620px){
  #page-fry-grill-chef .fg-grid.is-4, #page-fry-grill-chef .fg-grid.is-5,
  #page-fry-grill-chef .fg-grid.is-3{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:11px; }
  #page-fry-grill-chef .fg-grid.is-2{ grid-template-columns:1fr; }
  #page-fry-grill-chef .fg-tiles{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  #page-fry-grill-chef .fg-zones{ grid-template-columns:1fr; }
  #page-fry-grill-chef .fg-acts .fg-b{ flex:1 1 auto; }
  #page-fry-grill-chef .fg-hero-img{ border-radius:24px; }
  #page-fry-grill-chef .fg-c{ padding:18px; }
  #page-fry-grill-chef .fg-art{ height:104px; }
}

