/* Parcours d'assistance de la fiche studio : une seule fenêtre, deux étapes. */
.wf-dialog.studio-problem-dialog{
  box-sizing:border-box;
  width:min(740px,calc(100vw - 28px));
  max-width:740px;
  max-height:min(850px,calc(100dvh - 32px));
  padding:0;
  overflow-y:auto;
  overscroll-behavior:contain;
  border:1px solid var(--st-edge,#644735);
  border-radius:24px;
  background:var(--st-panel,#241812);
  color:var(--st-ink,#fff0e2);
  box-shadow:0 28px 100px #0009,0 1px 0 #fff1 inset;
}
.studio-problem-dialog .wf-dialog-header{
  position:relative;
  align-items:center;
  padding:25px 30px 22px;
  margin:0;
  border-bottom:1px solid var(--st-edge,#644735);
  background:linear-gradient(115deg,var(--st-bg,#1b100b),var(--st-panel,#241812));
}
.studio-problem-dialog .wf-dialog-header h2{
  font-family:'Playfair Display',serif;
  font-size:clamp(26px,4vw,32px);
  font-weight:700;
  line-height:1.25;
  letter-spacing:-.025em;
  margin:0;
}
.studio-problem-dialog .wf-dialog-header .wf-close{
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  flex:0 0 38px;
  padding:0;
  border:1px solid var(--st-edge,#644735);
  border-radius:50%;
  background:var(--st-panel,#241812);
  color:var(--st-muted,#c8ad99);
  font-family:system-ui,sans-serif;
  font-size:25px;
  line-height:1;
  text-decoration:none;
  transition:color .16s,border-color .16s,background .16s;
}
.studio-problem-dialog .wf-dialog-header .wf-close:hover{
  color:var(--st-ink,#fff0e2);
  border-color:var(--st-accent,#ffad76);
  background:var(--st-bg,#1b100b);
}
.studio-problem-body{padding:26px 30px 30px}
.studio-problem-progress{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;font:600 11px/1.45 'Work Sans',sans-serif;letter-spacing:.1em;text-transform:uppercase;color:var(--st-muted,#c8ad99)}
.studio-problem-progress-number{font-variant-numeric:tabular-nums;color:var(--st-accent,#ffad76)}
.studio-problem-progress-track{height:3px;overflow:hidden;border-radius:99px;background:var(--st-edge,#644735);margin-bottom:24px}
.studio-problem-progress-track span{display:block;width:50%;height:100%;border-radius:99px;background:var(--st-accent,#ffad76)}
.studio-problem-step .studio-problem-progress-track span{width:100%}
.studio-problem-intro{margin:0 0 18px;font-size:17px;font-weight:600;line-height:1.5;color:var(--st-ink,#fff0e2)}
.studio-problem-studio{display:flex;align-items:center;gap:13px;padding:15px 18px;margin-bottom:22px;border:1px solid var(--st-edge,#644735);border-radius:15px;background:var(--st-bg,#1b100b);min-width:0}
.studio-problem-studio-icon{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:12px;background:var(--st-panel,#36251a);color:var(--st-accent,#ffad76)}
.studio-problem-studio .ui-icon{width:21px;height:21px}
.studio-problem-studio span:last-child{min-width:0}
.studio-problem-studio small{display:block;margin-bottom:3px;color:var(--st-muted,#c8ad99);font:12px/1.4 'Work Sans',sans-serif}
.studio-problem-studio strong{display:block;overflow-wrap:anywhere;color:var(--st-ink,#fff0e2);font-size:16px;font-weight:700;line-height:1.35}
.studio-problem-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
/* A single available action must not occupy only half the modal. */
.studio-problem-choices .studio-problem-choice:only-child{grid-column:1/-1;min-height:0}
.studio-problem-choices .studio-problem-choice{display:flex;position:relative;align-items:flex-start;gap:12px;min-width:0;min-height:138px;box-sizing:border-box;padding:19px 15px;border:1px solid var(--st-edge,#644735);border-radius:16px;background:var(--st-bg,#1b100b);color:var(--st-ink,#fff0e2);text-align:left;text-decoration:none;transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease}
.studio-problem-choices .studio-problem-choice:hover{transform:translateY(-2px);border-color:var(--st-accent,#ffad76);background:var(--st-panel,#302016);box-shadow:0 8px 22px #0003;text-decoration:none;color:var(--st-ink,#fff0e2)}
.studio-problem-choice-icon{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border:1px solid var(--st-edge,#644735);border-radius:12px;background:var(--st-panel,#302016);color:var(--st-accent,#ffad76)}
.studio-problem-choice-icon .ui-icon{width:21px;height:21px}
.studio-problem-choice-text{flex:1;min-width:0}
.studio-problem-choice-text strong{display:block;margin:3px 0 7px;font-size:14px;font-weight:700;line-height:1.35}
.studio-problem-choice-text small{display:block;color:var(--st-muted,#c8ad99);font-size:12px;line-height:1.55}
.studio-problem-choice-arrow{display:grid;place-items:center;align-self:flex-start;flex:0 0 15px;margin-top:6px;color:var(--st-muted,#c8ad99);transition:transform .18s,color .18s}
.studio-problem-choice-arrow .ui-icon{width:15px;height:15px}
.studio-problem-choice:hover .studio-problem-choice-arrow{transform:translateX(2px);color:var(--st-accent,#ffad76)}
.studio-problem-footnote{margin:20px 0 0;color:var(--st-muted,#c8ad99);text-align:center;font-size:12px;line-height:1.5}
.studio-problem-dialog :is(a,button,input,textarea,select):focus-visible{outline:2px solid var(--st-accent,#ffad76);outline-offset:3px}
/* Deuxième étape : présentation homogène de tous les formulaires existants. */
.studio-problem-step .studio-problem-studio{margin-bottom:16px}
.studio-problem-step .wf-form{margin:0}
.studio-problem-step .wf-form :is(input:not([type=checkbox]),select,textarea){max-width:100%;border-radius:10px}
.studio-problem-step .wf-form textarea{min-height:120px;resize:vertical}
.studio-problem-step .wf-form label{font-size:13px;font-weight:600}
.studio-problem-step .wf-form .helptext,.studio-problem-step .wf-help{font-size:12px;color:var(--st-muted,#c8ad99)}
.studio-problem-step .wf-form .errorlist{font-size:13px}
.studio-problem-step .wf-form .wf-claim-field{margin:12px 0}
.studio-problem-step .wf-form .wf-claim-consent{padding:12px 14px;border:1px solid var(--st-edge,#644735);border-radius:12px;background:var(--st-bg,#1b100b)}
.studio-problem-step .wf-form .wf-claim-consent label{line-height:1.55}
.studio-problem-step .wf-form .wf-actions,
.studio-problem-step .wf-form .wf-claim-actions{display:flex;justify-content:space-between;gap:10px;margin:24px 0 0;padding-top:20px;border-top:1px solid var(--st-edge,#644735)}
.studio-problem-step .wf-actions .wf-button{display:inline-flex;gap:8px;align-items:center;min-height:43px;padding:10px 17px;margin:0;font-weight:700}
.studio-problem-step .wf-button .ui-icon{width:17px;height:17px}
.studio-problem-step .studio-problem-back{background:transparent;color:var(--st-ink,#fff0e2);border-color:var(--st-edge,#644735)}
.studio-problem-step .studio-problem-back:hover{border-color:var(--st-accent,#ffad76);color:var(--st-accent,#ffad76)}
.studio-problem-login{text-align:center;padding:22px 15px 10px}
.studio-problem-login .studio-problem-choice-icon{margin:0 auto 15px}
.studio-problem-login p{max-width:380px;margin:0 auto 20px;color:var(--st-muted,#c8ad99);line-height:1.6}
.studio-problem-step .studio-problem-login+.wf-actions{justify-content:flex-start;padding-top:18px;border-top:1px solid var(--st-edge,#644735)}
@media(max-width:620px){
  .studio-problem-choices{grid-template-columns:1fr;gap:10px}
  .studio-problem-choices .studio-problem-choice{min-height:0;padding:16px}
  .studio-problem-choice-text strong{margin:2px 0 4px}
}
@media(max-width:440px){
  .wf-dialog.studio-problem-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:18px}
  .studio-problem-dialog .wf-dialog-header{padding:20px 18px}
  .studio-problem-body{padding:22px 18px 24px}
  .studio-problem-studio{padding:12px}
  .studio-problem-step .wf-actions .wf-button{padding:9px 12px;font-size:12px}
}
@media(prefers-reduced-motion:reduce){.studio-problem-choices .studio-problem-choice,.studio-problem-choice-arrow,.studio-problem-dialog .wf-close{transition:none}}

/* Signalement studio : quatre motifs lisibles, puis uniquement les champs utiles. */
.studio-suggestion-choices{grid-template-columns:1fr}
.studio-suggestion-choices .studio-problem-choice{min-height:0;padding:14px 16px;align-items:center}
.studio-suggestion-choices .studio-problem-choice-text strong{margin:0 0 4px}
.studio-suggestion-choices .studio-problem-choice-arrow{align-self:center;margin:0}
.studio-suggestion-nav{display:flex;justify-content:flex-start;margin:20px 0 0}
.studio-suggestion-nav .wf-button{display:inline-flex;align-items:center;gap:8px}
.studio-suggestion-selected{margin:0 0 18px;font-size:16px;font-weight:700;color:var(--st-ink,#fff0e2)}

/* Lien secondaire réellement discret, indépendamment des règles de la page studio. */
.studio-public-actions .studio-problem-link-small,
.studio-public-actions .studio-problem-link-small a{font-size:11px;line-height:1.45;font-weight:400}
