/* 15.6.3 — ingredient confirmation and guaranteed visible recipe recovery */
#photo-journey .dt-found-head{align-items:baseline;gap:12px;flex-wrap:wrap}
#photo-journey .dt-found-head small{color:#426b59;font-weight:600}
#photo-journey .dt-detected-other{margin-block:12px}
#photo-journey .dt-detected-other summary{cursor:pointer;font-weight:700;display:flex;gap:12px;align-items:center;justify-content:space-between;min-height:48px}
#photo-journey .dt-ingredient-resolution{margin:0 0 18px;padding:18px;border:1px solid #e1b965;border-radius:16px;background:#fff8e9;color:#233829}
#photo-journey .dt-resolution-intro strong{display:block;font-size:1.05rem;color:#153f30}
#photo-journey .dt-resolution-intro p{margin:8px 0 14px;font-size:.91rem;line-height:1.55}
#photo-journey .dt-resolve-row{display:grid;grid-template-columns:minmax(100px,.75fr) minmax(150px,1.8fr) auto;gap:12px;align-items:end;padding:12px 0;border-top:1px solid #e9dcc2}
#photo-journey .dt-resolve-name{font-weight:700;overflow-wrap:anywhere;align-self:center}
#photo-journey .dt-resolve-row label,#photo-journey .dt-add-controls label{display:flex;flex-direction:column;gap:6px;font-size:.82rem;font-weight:700}
#photo-journey .dt-resolve-row select,#photo-journey .dt-add-controls select{width:100%;min-width:0;border:1px solid #93b4a4;border-radius:10px;background:#fff;color:#153d2d;min-height:44px;padding:9px 10px;font-size:1rem}
#photo-journey .dt-resolve-row button{min-height:44px;white-space:nowrap}
#photo-journey .dt-add-missed{border-top:1px solid #d9e2dc;margin-top:12px;padding-top:10px}
#photo-journey .dt-manual-choices{display:flex;flex-wrap:wrap;align-items:center;gap:7px;padding:8px 0;color:#285641;font-size:.85rem}
#photo-journey .dt-manual-choice{display:inline-flex;gap:8px;align-items:center;border:1px solid #b5d4bc;border-radius:100px;padding:5px 8px 5px 12px;background:#eaf4ee;color:#14543a;font-weight:650}
#photo-journey .dt-manual-choice button{border:0;background:transparent;color:#14543a;min-height:30px;min-width:30px;cursor:pointer;font-size:1.25rem}
#photo-journey .dt-add-missed>summary{cursor:pointer;color:#1a5842;font-size:.92rem;font-weight:700;padding-block:10px}
#photo-journey .dt-add-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end;padding:8px 0 10px}
#photo-journey .dt-add-missed small{color:#517364;display:block;margin-block:6px 8px}
#photo-journey .dt-pending-recipe{padding:26px 18px;border:1px dashed #b4c8ba;border-radius:15px;background:#f6faf6}
#photo-journey .dt-pending-recipe strong{font-size:1.02rem;color:#153f30}
#photo-journey .dt-pending-recipe p{margin-block:8px 0;line-height:1.55}
#photo-journey .pj-missing-gate{border-color:#d1b27e}
@media(max-width:640px){
 #photo-journey .dt-ingredient-resolution{padding:14px;border-radius:12px}
 #photo-journey .dt-resolve-row{grid-template-columns:minmax(0,1fr);gap:8px;padding:14px 0}
 #photo-journey .dt-resolve-row button{justify-self:start}
 #photo-journey .dt-add-controls{grid-template-columns:1fr}
 #photo-journey .dt-add-controls button{width:100%}
 #photo-journey .dt-detected-other summary{flex-wrap:wrap}
}
@media print{
 #photo-journey .dt-ingredient-resolution,#photo-journey .dt-add-missed,#photo-journey .dt-detected-other,#photo-journey .dt-selected-status{display:none!important}
}

/* 15.6.4 screenshot regression: selected food and its one-tap correction never disappear */
#photo-journey .dt-selected-foods-head{font-size:.73rem;letter-spacing:.11em;font-weight:800;color:#46624b;margin:14px 0 8px}
#photo-journey .dt-found-head strong{font-weight:750}
#photo-journey .dt-detected-other{border-top:1px solid #e2e8e2;padding-top:8px}
#photo-journey .dt-ingredient-resolution{margin:16px 0 8px;border-color:#dac58e}
#photo-journey .dt-resolution-intro p{color:#4b5648}
#photo-journey .dt-cut-warning{font-size:.82rem;color:#65411c;margin:4px 0 8px;padding:8px 12px;border-radius:8px;background:#fff2d8}
#photo-journey .dt-pending-recipe .btn{margin-top:12px;max-width:100%;min-height:44px}
#photo-journey .dt-release-version{font-size:.72rem;color:#657668;text-align:center;padding:4px 0 12px}
@media(max-width:650px){#photo-journey .dt-found-head{align-items:start}#photo-journey .dt-selected-foods-head{margin-top:6px}}
@media print{#photo-journey .dt-cut-warning,#photo-journey .dt-release-version{display:none!important}}
