.cook-step .cook-substep { margin-top:.8rem; }
.cook-original { margin:.4rem 0 .85rem; color:var(--green-dark); }
.cook-original summary { cursor:pointer; font-weight:700; }
.cook-original p { white-space:pre-line; margin-top:.45rem; }
.cook-shape-cubes { display:flex; flex-wrap:wrap; gap:.65rem; margin:.65rem 0; padding:1rem;
  background:var(--sage); border-radius:var(--card); width:fit-content; }
.cook-shape-cubes span { width:2.55rem; height:2.25rem; border-radius:var(--control);
  transform:skewY(-11deg); background:#e9775e; border-right:.5rem solid #bd493c; border-bottom:.45rem solid #c75245; }
.cook-shape-cubes.potato span { background:#f1d88c; border-right-color:#d1aa59; border-bottom-color:#d8b36a; }
.cook-shape-cubes span:nth-child(even) { transform:translateY(.22rem) skewY(8deg); }
.cook-monitor { margin:1rem 0; }
.cook-monitor-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:1rem; margin-top:.65rem; }
.cook-monitor-frame { display:grid; place-items:center; position:relative; width:min(100%,360px); aspect-ratio:1;
  background:#203027; border-radius:var(--card); overflow:hidden; }
.cook-monitor-frame[hidden] { display:none; }
.cook-monitor-frame video { width:100%; height:100%; object-fit:contain; display:block; }
.cook-roi { position:absolute; inset:5%; border:2px dashed #fff; box-shadow:0 0 0 1px #26352b;
  border-radius:12%; pointer-events:none; }
.cook-monitor-feedback { padding:.55rem .75rem; margin-top:.4rem; background:var(--sage);
  border-radius:var(--card); color:var(--green-dark); min-height:3rem; }
.cook-monitor-feedback strong,.cook-monitor-instructions > p:first-child { font-size:1.08rem; }
.cook-monitor-instructions .button-group { margin:.55rem 0; }
.cook-camera-select { display:grid; gap:.25rem; min-width:0; max-width:100%; }
.cook-camera-select select { width:100%; }
@media (max-width:760px) {
  .cook-monitor-grid { grid-template-columns:minmax(0,1fr); gap:.65rem; }
  .cook-monitor-frame { margin-inline:auto; }
}
.cook-timer-bar {
  position:sticky;top:0;z-index:4;display:flex;align-items:center;gap:.85rem;
  padding:.45rem max(1rem,calc((100% - 1160px)/2));border-bottom:1px solid var(--line-dark);
  background:#f4f7ef;color:var(--green-dark);
}
.cook-timer-bar > strong { white-space:nowrap; }
.cook-timer-bar ul { margin:0;padding:0;list-style:none;display:flex;gap:.6rem;flex-wrap:wrap; }
.cook-timer-bar li { display:flex;align-items:center;gap:.45rem;flex-wrap:wrap;min-width:0; }
.cook-timer-bar a { font-weight:700;text-decoration:underline;text-underline-offset:3px; }
.cook-timer-bar .button { padding:.32rem .62rem;min-height:36px; }
.cook-timer-bar [role=timer] { font-variant-numeric:tabular-nums; }
.cook-methods,.cook-method-label { margin:.82rem 0; }
.cook-methods .button-group { margin-top:.48rem; }
.cook-photo-credit,.pending-photo-note { margin:.65rem 0 .4rem;font-size:.9rem; }
.cook-photo-credit summary { width:fit-content;cursor:pointer;color:var(--green-dark);font-weight:700; }
.cook-photo-credit a { text-decoration:underline;text-underline-offset:3px; }
.cook-monitor-frame { width:min(100%,420px); }
.cook-roi { inset:8%; }
@media (max-width:760px) {
  .cook-timer-bar { display:block;padding:.25rem 1rem;max-height:34dvh;overflow:auto; }
  .cook-timer-bar ul { display:grid;gap:.25rem; }
}

.cook-visual-target { margin:.35rem 0 .60rem;display:grid;gap:.12rem; }
.cook-visual-target strong { color:var(--green-dark); }
.cook-focus-picker { width:min(100%,20rem);margin:.45rem 0; }

/* V11 即時指導 */
.cook-coach{display:grid;gap:.5rem;margin:.75rem 0;padding:.85rem 1rem;border:1px solid var(--line,#e3ddd0);border-radius:12px;background:var(--surface,#fff)}
.cook-coach p{margin:0;line-height:1.55}
.cook-coach-title{font-weight:700}
.cook-coach-chips{display:flex;flex-wrap:wrap;gap:.4rem}
.cook-coach-chips span{padding:.15rem .6rem;border-radius:999px;background:rgba(200,120,40,.12);font-size:.9rem}
.cook-coach-live{display:grid;gap:.3rem;padding:.6rem .75rem;border-radius:10px;background:rgba(0,0,0,.04);min-height:5.2rem}
.cook-coach-live.matched{background:rgba(60,140,80,.12)}
.cook-coach-advice{font-weight:600}
.cook-coach-manual,.cook-coach-next{font-size:.92rem;opacity:.85}
@media (prefers-color-scheme:dark){.cook-coach-live{background:rgba(255,255,255,.07)}.cook-coach-live.matched{background:rgba(90,180,110,.18)}}

.cook-monitor-instructions .cook-coach{margin-top:0}
.cook-coach-live .cook-coach-advice{font-size:1.075rem}
.cook-coach-checkpoint{font-weight:600}
.cook-coach-next{white-space:normal;overflow-wrap:anywhere}

.cook-camera-recommendation{color:var(--green-dark);font-size:.95rem;font-weight:700;margin:.25rem 0 .65rem}
.cook-monitor-compact .cook-monitor-instructions .button-group{margin:0}
.cook-monitor-compact .cook-monitor-grid .cook-monitor-instructions .button-group{margin:.55rem 0}
.cook-camera-observation{margin:.25rem 0 .55rem}
.cook-photo-check {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.cook-photo-check h3 { margin: 0; font-size: 1rem; }
.cook-photo-check p { margin: .35rem 0; }
.cook-photo-check img { display: block; width: auto; max-width: 100%; max-height: 180px; border-radius: 6px; }
.cook-photo-file { display: grid; gap: .3rem; margin: .65rem 0; }
.cook-photo-file input { max-width: 100%; }
.cook-vision-result { padding: .65rem .75rem; border: 1px solid var(--line-dark); border-radius: 6px; }
.cook-vision-result.ready { background: var(--sage); border-color: var(--green); }
.cook-vision-result p { margin: .25rem 0 0; }
