/* ============================================================
   LUMINI · FOTOS CLÍNICAS (30/out) · prefixo dfo-
   Usa os tokens --dv2-* de dermatology-v2.css.
   ============================================================ */
.dfo-wrap.dfo-arrastando .dfo-modal{outline:3px dashed var(--dv2-gold,#caa967);outline-offset:-10px}
.dfo-linha{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}
.dfo-pilulas{display:flex;flex-wrap:wrap;gap:6px}
.dfo-pilulas button{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 14px;border:1px solid #cfc4b8;border-radius:99px;background:#fff;color:#302a25;font:inherit;font-size:12.5px;cursor:pointer}
.dfo-pilulas button.on{background:#241f1b;border-color:#241f1b;color:#fff}
.dfo-pilulas small{font-size:10.5px;opacity:.7}
.dfo-drop{display:grid;gap:10px;justify-items:center;margin-top:4px;padding:18px 16px;border:2px dashed #c5b8aa;border-radius:16px;background:#f6f0e8;text-align:center}
.dfo-drop p{margin:0;font-size:11.5px;color:#675d55}
.dfo-prox{display:grid;gap:2px}
.dfo-prox span{font-size:10.5px;letter-spacing:.08em;text-transform:uppercase;color:#7a6e63}
.dfo-prox b{font:500 22px/1.15 Mirante,Cherston,Georgia,serif;color:#241f1b}
.dfo-drop-acoes{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
.dfo-drop-acoes label{display:inline-flex;align-items:center;min-height:44px;cursor:pointer}
.dfo-ordem{display:flex;flex-wrap:wrap;gap:5px;justify-content:center}
.dfo-ordem span{padding:4px 9px;border-radius:99px;background:#fff;border:1px solid #ddd3c8;font-size:11px;color:#6c6159}
.dfo-ordem span.ok{background:#eef2eb;border-color:#bfcbb7;color:#4f5a42;text-decoration:line-through;text-decoration-color:rgba(79,90,66,.45)}
.dfo-ordem span.agora{background:#241f1b;border-color:#241f1b;color:#fff;text-decoration:none}
.dfo-grade{display:grid;grid-template-columns:repeat(auto-fill,minmax(132px,1fr));gap:10px;margin-top:14px}
.dfo-ft{margin:0;display:grid;gap:6px;min-width:0}
.dfo-ft-img{position:relative;display:grid;place-items:center;aspect-ratio:3/4;width:100%;padding:0;overflow:hidden;border:1px solid #ddd3c8;border-radius:12px;background:#efe8de;cursor:pointer}
.dfo-ft-img img{width:100%;height:100%;object-fit:cover;display:block}
.dfo-ft-img>span{padding:10px;font-size:11px;line-height:1.35;color:#6c6159}
.dfo-ft figcaption{font-size:11.5px;color:#4a413a;line-height:1.3;overflow-wrap:anywhere}
.dfo-ft select{width:100%;min-height:36px;padding:0 8px;border:1px solid #cfc4b8;border-radius:9px;background:#fff;font:inherit;font-size:12px;color:#302a25}
.dfo-ft.ok .dfo-ft-img{border-color:#9fb196}
.dfo-ft.erro .dfo-ft-img{border-color:#b35a44}
.dfo-erro{display:block;margin-top:4px;font-size:10.5px;color:#9b4632}
.dfo-x{position:absolute;top:6px;right:6px;width:30px;height:30px;border:0;border-radius:50%;background:rgba(36,31,27,.72);color:#fff;font-size:17px;line-height:1;cursor:pointer}
.dfo-ok{position:absolute;top:6px;right:6px;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#657054;color:#fff;font-style:normal;font-size:13px}
.dfo-barra{position:absolute;left:8px;right:8px;bottom:8px;height:6px;border-radius:99px;background:rgba(255,255,255,.7);overflow:hidden}
.dfo-barra::after{content:"";display:block;height:100%;width:var(--p,0%);background:#caa967;transition:width .2s}
.dfo-barra-acoes{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:6px}
.dfo-barra-acoes button[disabled]{opacity:.45;cursor:default}
.dfo-etapa{padding:14px 0;border-top:1px solid #e3dad0}
.dfo-etapa:first-of-type{border-top:0}
.dfo-etapa>header{display:flex;align-items:center;justify-content:space-between;gap:10px}
.dfo-etapa>header b{display:block;font-size:14px;color:#241f1b}
.dfo-etapa>header span{font-size:11.5px;color:#6c6159}
.dfo-etapa .dfo-grade{grid-template-columns:repeat(auto-fill,minmax(112px,1fr));margin-top:10px}
.dfo-faltam{margin:8px 0 0;font-size:11.5px;color:#7a6e63}
.dfo-grande{display:grid;place-items:center;max-height:62vh;margin-bottom:12px;overflow:hidden;border-radius:14px;background:#1f1b18}
.dfo-grande img{max-width:100%;max-height:62vh;object-fit:contain;display:block}
.dfo-grande span{padding:40px 16px;color:#eee6dc;font-size:12px}
.dfo-tirar{margin-right:auto;color:#9b4632}
.derm-v2-modal-foot .derm-v2-btn[disabled]{opacity:.45;cursor:default;transform:none}
@media(max-width:640px){
  .dfo-grade{grid-template-columns:repeat(2,1fr)}
  .dfo-etapa .dfo-grade{grid-template-columns:repeat(3,1fr)}
  .dfo-prox b{font-size:19px}
  .dfo-barra-acoes>button{flex:1 1 calc(50% - 8px)}
}
/* 30/out · rótulo sugerido pela IA (derm-foto-classificar) */
.dfo-ia{display:block;margin-top:4px;font-size:10.5px;color:#5f6b4e}
