/* YnnovScience Questionnaire 1.5.0 — canonical participant component layer.
   One questionnaire/data model, two deliberate presentation systems:
   desktop >= 783px and mobile <= 782px. RTL is an invariant in both. */

body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app{
  --yns-control-bg:#fffaf5;
  --yns-control-border:#e3d5c8;
  --yns-control-selected:#76543d;
  --yns-control-selected-border:#5f402d;
  --yns-control-text:#3f342c;
  --yns-grid-border:#e3d5c8;
  direction:rtl;
}

/* ---------- shared answer invariants ---------- */
body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-choice-button,
body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-choice-cell,
body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-mobile-matrix-choice{
  box-sizing:border-box!important;
  -webkit-appearance:none!important;
  appearance:none!important;
  background-image:none!important;
  cursor:pointer!important;
}
body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-choice-button::before,
body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-choice-button::after,
body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-choice-cell::before,
body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-choice-cell::after,
body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-mobile-matrix-choice::before,
body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-mobile-matrix-choice::after{
  content:none!important;display:none!important;
}

/* ---------- ordinary single questions ---------- */
body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-choice-group{
  display:grid!important;grid-template-columns:1fr!important;grid-auto-rows:auto!important;gap:8px!important;
  width:100%!important;height:auto!important;min-height:0!important;margin:0!important;direction:rtl!important;
}
body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-choice-group>.yns-q-choice-button{
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:100%!important;min-width:0!important;max-width:none!important;height:auto!important;min-height:50px!important;
  margin:0!important;padding:10px 14px!important;border:1px solid var(--yns-control-border)!important;border-radius:11px!important;
  background:var(--yns-control-bg)!important;color:var(--yns-control-text)!important;box-shadow:none!important;
  text-align:center!important;overflow:hidden!important;direction:rtl!important;
}
body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-choice-group>.yns-q-choice-button .yns-q-answer-text{
  display:block!important;width:100%!important;margin:0!important;padding:0!important;color:inherit!important;
  font-family:"Segoe UI",Arial,"Noto Sans Hebrew",sans-serif!important;font-size:17px!important;font-weight:700!important;
  line-height:1.3!important;text-align:center!important;white-space:normal!important;overflow-wrap:break-word!important;word-break:normal!important;
}
body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-choice-group>.yns-q-choice-button.selected{
  background:var(--yns-control-selected)!important;border-color:var(--yns-control-selected-border)!important;
  color:#fff!important;box-shadow:inset 0 0 0 2px var(--yns-control-selected-border)!important;
}
body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-choice-group>.yns-q-choice-button.selected .yns-q-answer-text{color:#fff!important}
body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-choice-binary{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;width:min(430px,100%)!important;margin:7px auto 0!important;
}
body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-choice-multi{grid-template-columns:1fr!important}

/* ---------- desktop matrix ---------- */
.yns-q-matrix-mobile{display:none!important}
@media(min-width:783px){
  body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-matrix-desktop{display:block!important}
  body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-table-shell.yns-q-matrix-desktop{
    padding:8px 14px 12px!important;overflow-x:auto!important;overflow-y:visible!important;direction:rtl!important;
  }
  body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-component-matrix{
    width:max-content!important;max-width:100%!important;min-width:min(760px,100%)!important;
    margin-left:auto!important;margin-right:0!important;table-layout:fixed!important;direction:rtl!important;
  }
  body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-component-matrix.yns-q-table-wide-scale{
    width:min(1480px,100%)!important;min-width:1100px!important;
  }
  body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-component-matrix col.yns-q-col-statement{width:clamp(340px,32vw,560px)!important}
  body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-component-matrix .yns-q-choice-cell{
    display:table-cell!important;height:46px!important;min-height:46px!important;padding:0!important;text-align:center!important;vertical-align:middle!important;
    position:relative!important;color:var(--yns-control-text)!important;
  }
  body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-component-matrix .yns-q-cell-label{display:none!important}
  body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-component-matrix .yns-q-cell-marker{
    display:block!important;width:17px!important;height:17px!important;margin:auto!important;border:2px solid #b79a83!important;
    border-radius:50%!important;background:#fffaf5!important;box-sizing:border-box!important;pointer-events:none!important;
  }
  body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-component-matrix .yns-q-choice-cell.selected-cell{
    background:#eadbc9!important;color:var(--yns-control-text)!important;box-shadow:inset 0 0 0 2px #9c7a60!important;
  }
  body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-component-matrix .yns-q-choice-cell.selected-cell .yns-q-cell-marker{
    border:5px solid #fff!important;background:var(--yns-control-selected)!important;box-shadow:0 0 0 2px var(--yns-control-selected-border)!important;
  }
  body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-mobile-question-ref{display:none!important}
}

/* ---------- mobile: dedicated matrix table, never desktop tiles ---------- */
@media(max-width:782px){
  body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-matrix-desktop{display:none!important}
  body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-matrix-mobile{display:block!important}
  body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-mobile-matrix{
    width:100%!important;margin:6px 0 10px!important;padding:0 7px 8px!important;box-sizing:border-box!important;direction:rtl!important;
  }
  body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-mobile-matrix-legend{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px 8px!important;
    width:100%!important;margin:0 0 8px!important;padding:8px 9px!important;box-sizing:border-box!important;
    border:1px solid #dfcfbf!important;border-radius:11px!important;background:#f8eee2!important;direction:rtl!important;
  }
  body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-mobile-legend-item{
    display:flex!important;align-items:flex-start!important;gap:6px!important;min-width:0!important;text-align:right!important;direction:rtl!important;
  }
  body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-mobile-legend-code{
    flex:0 0 auto!important;display:grid!important;place-items:center!important;min-width:24px!important;height:24px!important;padding:0 4px!important;
    border-radius:999px!important;background:#76543d!important;color:#fff!important;font-size:12px!important;font-weight:800!important;line-height:1!important;
  }
  body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-mobile-legend-label{
    min-width:0!important;color:#4b3c31!important;font-family:"Segoe UI",Arial,"Noto Sans Hebrew",sans-serif!important;
    font-size:12.5px!important;font-weight:600!important;line-height:1.3!important;text-align:right!important;overflow-wrap:break-word!important;word-break:normal!important;
  }
  body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-mobile-matrix-scroll{
    width:100%!important;overflow:visible!important;border:1px solid #d9c9b8!important;border-radius:12px!important;background:#fffdf9!important;
    box-sizing:border-box!important;
  }
  body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-mobile-matrix-table{
    width:100%!important;max-width:100%!important;border-collapse:separate!important;border-spacing:0!important;table-layout:fixed!important;
    direction:rtl!important;background:transparent!important;margin:0!important;
  }
  body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-mobile-matrix-table th,
  body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-mobile-matrix-table td{
    box-sizing:border-box!important;border:0!important;border-bottom:1px solid #eaded2!important;border-inline-start:1px solid #eaded2!important;
    vertical-align:middle!important;
  }
  body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-mobile-matrix-table tr:last-child th,
  body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-mobile-matrix-table tr:last-child td{border-bottom:0!important}
  body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-mobile-matrix-table th:first-child{border-inline-start:0!important}
  body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-mobile-matrix-table thead th{
    height:35px!important;padding:4px 2px!important;background:#eadbca!important;color:#493a2f!important;text-align:center!important;
    font-family:"Segoe UI",Arial,"Noto Sans Hebrew",sans-serif!important;font-size:12px!important;font-weight:800!important;line-height:1.1!important;
  }
  body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-mobile-matrix-table thead .yns-q-mobile-statement-head{
    padding:5px 9px!important;text-align:right!important;font-size:12.5px!important;
  }
  body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-mobile-matrix-question{
    padding:9px 9px!important;background:#fffdf9!important;color:#3f342c!important;text-align:right!important;font-weight:500!important;direction:rtl!important;
  }
  body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-mobile-matrix-question .yns-q-mobile-question-ref{
    display:block!important;margin:0 0 2px!important;color:#9a8878!important;font-size:9.5px!important;font-weight:800!important;line-height:1.15!important;text-align:right!important;
  }
  body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-mobile-matrix-question .yns-q-question-text{
    display:block!important;margin:0!important;padding:0!important;color:#3f342c!important;font-family:"Segoe UI",Arial,"Noto Sans Hebrew",sans-serif!important;
    font-size:14.5px!important;font-weight:500!important;line-height:1.32!important;text-align:right!important;overflow-wrap:break-word!important;word-break:normal!important;
  }
  body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-mobile-matrix-choice{
    position:relative!important;height:48px!important;min-height:48px!important;padding:0!important;background:#fffaf5!important;color:#4a3a2e!important;
    text-align:center!important;outline:0!important;
  }
  body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-mobile-matrix-choice:focus-visible{
    outline:2px solid #8f6a4e!important;outline-offset:-3px!important;
  }
  body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-mobile-choice-code{
    display:none!important;
  }
  body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-mobile-choice-dot{
    display:block!important;width:18px!important;height:18px!important;margin:auto!important;border:2px solid #a98c75!important;
    border-radius:50%!important;background:#fff!important;box-sizing:border-box!important;pointer-events:none!important;
  }
  body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-mobile-matrix-choice.selected-cell{
    background:#eadbc9!important;box-shadow:inset 0 0 0 2px #9c7a60!important;color:#3f342c!important;
  }
  body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-mobile-matrix-choice.selected-cell .yns-q-mobile-choice-dot{
    border:5px solid #fff!important;background:#76543d!important;box-shadow:0 0 0 2px #5f402d!important;
  }

  /* Statement gets most width. Answer columns stay compact and readable. */
  body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-mobile-matrix-options-2 col.yns-q-mobile-col-statement{width:68%!important}
  body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-mobile-matrix-options-2 col.yns-q-mobile-col-answer{width:16%!important}
  body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-mobile-matrix-options-3 col.yns-q-mobile-col-statement{width:61%!important}
  body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-mobile-matrix-options-3 col.yns-q-mobile-col-answer{width:13%!important}
  body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-mobile-matrix-options-4 col.yns-q-mobile-col-statement{width:56%!important}
  body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-mobile-matrix-options-4 col.yns-q-mobile-col-answer{width:11%!important}
  body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-mobile-matrix-options-5 col.yns-q-mobile-col-statement{width:52%!important}
  body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-mobile-matrix-options-5 col.yns-q-mobile-col-answer{width:9.6%!important}
  body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-mobile-matrix-options-6 col.yns-q-mobile-col-statement{width:48%!important}
  body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-mobile-matrix-options-6 col.yns-q-mobile-col-answer{width:8.666%!important}
  body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-mobile-matrix-options-7 col.yns-q-mobile-col-statement{width:44%!important}
  body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-mobile-matrix-options-7 col.yns-q-mobile-col-answer{width:8%!important}

  /* Binary repeated scales can use the actual short labels in the header. */
  body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-mobile-matrix-binary .yns-q-mobile-matrix-table thead th:not(:first-child){font-size:13px!important}

  /* Ordinary single questions: layout depends on label length, not option count alone. */
  body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-choice-compact{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-choice-compact.yns-q-choice-count-3>.yns-q-choice-button:last-child,
  body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-choice-compact.yns-q-choice-count-5>.yns-q-choice-button:last-child{
    grid-column:1/-1!important;
  }
  body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-choice-long{grid-template-columns:1fr!important}
  body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-choice-group>.yns-q-choice-button{
    min-height:50px!important;padding:9px 10px!important;
  }
  body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-choice-group>.yns-q-choice-button .yns-q-answer-text{
    font-size:15.5px!important;line-height:1.28!important;
  }
}

/* ---------- 0–10 stays a dedicated component ---------- */
@media(max-width:782px){
  body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-component-zero-ten .yns-q-zero-ten-track{width:100%!important;overflow:visible!important;direction:rtl!important}
  body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-component-zero-ten .yns-q-scale-point{min-width:0!important}
  body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-component-zero-ten .yns-q-zero-ten-anchors{direction:rtl!important}
}

/* 1.5.20: A narrow radio-only N/A column immediately to the left of 5.
 * Preserve the original coded answer 'לא רלוונטי' for all existing storage. */
body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-matrix-nr-separated .yns-q-na-head,
body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-matrix-nr-separated .yns-q-mobile-na-head{
 font-size:10px!important;line-height:1.2!important;font-weight:600!important;white-space:normal!important;text-align:center!important;padding:4px 2px!important;
}
body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-matrix-nr-separated .yns-q-na-cell,
body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-matrix-nr-separated .yns-q-mobile-na-cell{
 text-align:center!important;vertical-align:middle!important;background:#fffaf5!important;
}
body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-matrix-nr-separated .yns-q-na-cell.selected-cell,
body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-matrix-nr-separated .yns-q-mobile-na-cell.selected-cell{background:#e8d8ca!important}
@media(max-width:782px){
 body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-matrix-nr-separated col.yns-q-mobile-col-statement{width:43%!important}
 body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-matrix-nr-separated col.yns-q-mobile-col-answer{width:9.4%!important}
 body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-matrix-nr-separated col.yns-q-mobile-col-na{width:10%!important}
}
@media(max-width:782px){
 /* Stay visible while scrolling through the repeated scale, in the document viewport. */
 body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-mobile-matrix-table thead{position:sticky!important;top:0!important;z-index:75!important}
 body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-mobile-matrix-table thead th{position:sticky!important;top:0!important;z-index:76!important;box-shadow:0 2px 5px rgba(50,34,22,.12)!important}
}

/* v1.5.21: visually separate the optional N/A response column from 1–5.
   Applies equally to desktop and mobile matrices, without changing radio coding. */
body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-matrix-nr-separated .yns-q-na-head,
body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-matrix-nr-separated .yns-q-mobile-na-head{
 background:#cdb49f!important;
 color:#392519!important;
 border-right:2px solid #ad8b74!important;
 border-left:2px solid #ad8b74!important;
}
body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-matrix-nr-separated .yns-q-na-cell,
body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-matrix-nr-separated .yns-q-mobile-na-cell{
 background:#e9d8c9!important;
 border-right:2px solid #ad8b74!important;
 border-left:2px solid #ad8b74!important;
}
body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-matrix-nr-separated .yns-q-na-cell.selected-cell,
body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-matrix-nr-separated .yns-q-mobile-na-cell.selected-cell{
 background:#b99478!important;
 box-shadow:inset 0 0 0 2px #79523c!important;
}

/* 1.5.90: Mobile-only accessible stacked response cards; desktop matrix untouched. */
@media(max-width:782px){
 body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-mobile-matrix-cards{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;width:100%!important;min-width:0!important;padding:8px!important;box-sizing:border-box!important}
 body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-mobile-matrix-card{min-width:0!important;width:100%!important;padding:14px 12px!important;border:1px solid #dacbbd!important;border-radius:14px!important;background:#fffdfa!important;box-sizing:border-box!important}
 body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-mobile-matrix-prompt{display:block!important;margin-bottom:12px!important;text-align:right!important;font-size:16px!important;line-height:1.5!important;font-weight:650!important;overflow-wrap:anywhere!important}
 body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-mobile-matrix-prompt .yns-q-mobile-question-ref{display:block!important;font-size:11px!important;margin-bottom:5px!important;color:#8b6b52!important}
 body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-mobile-matrix-prompt .yns-q-question-text{display:block!important;font-size:16px!important;line-height:1.5!important}
 body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-mobile-card-options{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important}
 body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-mobile-card-option{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:46px!important;width:100%!important;padding:10px 12px!important;border:1px solid #dccbbb!important;border-radius:10px!important;background:#fff9f3!important;color:#44352c!important;font:inherit!important;font-size:15px!important;text-align:right!important;cursor:pointer!important;box-sizing:border-box!important;white-space:normal!important}
 body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-mobile-card-option.selected-cell{background:#e9dbca!important;border-color:#88654e!important;box-shadow:inset 0 0 0 1px #88654e!important}
 body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-mobile-card-label{min-width:0!important;flex:1!important;overflow-wrap:anywhere!important}
 body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-mobile-card-dot{flex:0 0 19px!important;width:19px!important;height:19px!important;border-radius:50%!important;border:2px solid #a78b72!important;background:white!important;box-sizing:border-box!important}
 body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-mobile-card-option.selected-cell .yns-q-mobile-card-dot{border:6px solid #76543d!important}
 body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-mobile-card-option:focus-visible{outline:3px solid #327e9f!important;outline-offset:2px!important}
}

/* v1.5.91: Mobile choices are entire tappable buttons; remove decorative radio circles.
   Native selection remains data-choice/aria-pressed; desktop matrix is unchanged. */
@media (max-width:782px) {
  body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-mobile-card-option {
    justify-content:flex-start!important;
  }
  body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-mobile-card-dot {
    display:none!important;
  }
  body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-mobile-card-option.selected-cell {
    background:#e5d3c0!important;
    border-color:#79523c!important;
    box-shadow:inset 0 0 0 2px #79523c!important;
    color:#39281f!important;
    font-weight:700!important;
  }
}

/* v1.5.93 — mobile question reference stays RTL/right; center questions and responses. */
@media (max-width:782px) {
 body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-mobile-matrix-prompt{
   text-align:center!important;
   line-height:1.45!important;
   margin-bottom:16px!important;
 }
 body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-mobile-matrix-prompt .yns-q-mobile-question-ref{
   display:block!important;
   text-align:right!important;
   direction:rtl!important;
   font-size:14px!important;
   line-height:1.5!important;
   margin-bottom:10px!important;
 }
 body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-mobile-matrix-prompt .yns-q-question-text{
   display:block!important;
   text-align:center!important;
   direction:rtl!important;
   font-size:clamp(23px,6.4vw,29px)!important;
   font-weight:750!important;
   line-height:1.35!important;
   overflow-wrap:anywhere!important;
 }
 body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-mobile-card-option{
   justify-content:center!important;
   text-align:center!important;
   direction:rtl!important;
 }
 body.yns-q-filling #yns-questionnaire-app.yns-q-user-mode-app .yns-q-mobile-card-label{
   flex:1 1 auto!important;
   text-align:center!important;
   font-size:17px!important;
   line-height:1.5!important;
 }
}
