body.yns-questionnaire-preview-page{
  --yns-bg:#f4efe6;
  --yns-bg2:#e9dfd0;
  --yns-card:#fffdf8;
  --yns-card2:#f8f1e7;
  --yns-line:#d9c9b8;
  --yns-text:#3f342c;
  --yns-muted:#71665d;
  --yns-accent:#8a684e;
  --yns-accent2:#6f513d;
  --yns-soft:#efe4d6;
  --yns-soft2:#e5d6c5;
}
body.yns-questionnaire-preview-page{margin:0;padding:0;background:var(--yns-bg);color:var(--yns-text)}
body.yns-questionnaire-preview-page{font-family:Arial,"Noto Sans Hebrew",sans-serif}
.yns-q-page{min-height:100vh;background:linear-gradient(145deg,#f7f2ea 0%,var(--yns-bg) 48%,#eee4d8 100%);color:var(--yns-text)}
.yns-q-sitebar{min-height:76px;padding:0 max(22px,calc((100vw - 1180px)/2));display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--yns-line);background:rgba(255,253,248,.94);backdrop-filter:blur(10px)}
.yns-q-brand{display:flex;align-items:center;gap:12px;color:var(--yns-text);text-decoration:none}.yns-q-brand strong{display:block;font-size:21px;line-height:1.1}.yns-q-brand small{display:block;color:var(--yns-muted);font-size:11px;margin-top:4px}.yns-q-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;border:1px solid #bfa58f;background:linear-gradient(135deg,#a98061,#745640);color:#fff;font-weight:900}.yns-q-test-badge{padding:7px 12px;border-radius:999px;background:#efe4d6;border:1px solid #d8c5b2;color:#6d503c;font-size:13px;font-weight:700}
.yns-q-main{width:min(1180px,calc(100% - 36px));margin:0 auto;padding:48px 0 86px}.yns-q-hero{display:flex;justify-content:space-between;align-items:flex-start;gap:36px;margin-bottom:26px}.yns-q-kicker{color:var(--yns-accent);font-weight:700;margin:0 0 10px}.yns-q-hero h1{margin:0 0 14px;color:#342a23;font-size:clamp(38px,5vw,64px);line-height:1.05;font-weight:700}.yns-q-hero p{margin:0;color:var(--yns-muted);font-size:17px;line-height:1.75;max-width:720px}.yns-q-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.yns-q-btn,.yns-q-tabs button,.yns-q-nav button{appearance:none;border:1px solid #c7b19d;border-radius:999px;background:#fffaf3;color:#4b3c31;padding:11px 17px;font-size:14px;font-weight:700;cursor:pointer}.yns-q-btn:hover,.yns-q-tabs button:hover,.yns-q-nav button:hover{background:#f0e5d8}.yns-q-btn.primary,.yns-q-tabs button.active,.yns-q-nav button:last-child{background:#7a5b45;border-color:#7a5b45;color:#fff}.yns-q-toolbar{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:0 0 16px}.yns-q-tabs{display:flex;gap:8px}.yns-q-status,.yns-q-meta{color:#5f5349;background:#fffaf4;border:1px solid #decfc0;border-radius:12px;padding:12px 15px}.yns-q-meta{margin:0 0 20px}
.yns-q-block{margin:0 0 34px;border:1px solid var(--yns-line);border-radius:24px;background:var(--yns-card);overflow:hidden;box-shadow:0 14px 34px rgba(80,60,45,.08)}.yns-q-block-header{padding:28px 30px 24px;border-bottom:1px solid var(--yns-line);background:linear-gradient(135deg,#fbf5ed,#f4eadd)}.yns-q-block-tags{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:18px}.yns-q-chip{display:inline-flex;gap:8px;align-items:center;padding:7px 11px;border-radius:999px;border:1px solid #d8c5b2;background:#f6ede3;color:#67584c;font-size:13px}.yns-q-chip b{color:#795b45}.yns-q-purpose small,.yns-q-instruction strong{display:block;color:#795b45;font-size:12px;font-weight:800;margin-bottom:5px}.yns-q-purpose h2{margin:0 0 17px;color:#382e27;font-size:26px;line-height:1.25}.yns-q-instruction{padding:15px 18px;border-radius:14px;background:#fffaf3;border-right:3px solid #a37b5d}.yns-q-instruction p{margin:0;color:#51463d;font-size:16px;line-height:1.75}
.yns-q-legend{display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:9px;padding:20px 24px 12px}.yns-q-legend-item{display:flex;gap:9px;align-items:flex-start;padding:10px 11px;border:1px solid #dfd0c2;border-radius:11px;background:#fffaf4}.yns-q-legend-item>span{display:grid;place-items:center;flex:0 0 30px;height:30px;border-radius:8px;background:#8a684e;color:white;font-weight:800;font-size:13px}.yns-q-legend-item p{margin:2px 0 0;color:#5c5046;font-size:13px;line-height:1.45}
.yns-q-table-shell{padding:10px 24px 26px}.yns-q-table{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;border:1px solid #d9c9b8;border-radius:16px;overflow:hidden;background:#fff}.yns-q-table th,.yns-q-table td{border-bottom:1px solid #e6d9cd;padding:13px 8px;text-align:center}.yns-q-table thead th{background:#eadbca;color:#48392e;font-size:13px}.yns-q-table thead th:first-child{width:64%;text-align:right;padding-right:18px}.yns-q-table tbody tr:last-child th,.yns-q-table tbody tr:last-child td{border-bottom:0}.yns-q-table tbody tr:hover{background:#fbf4eb}.yns-q-table tbody th{display:flex;align-items:flex-start;gap:10px;text-align:right;color:#3e332b;font-weight:500;line-height:1.55;padding-right:14px}.yns-q-number{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:50%;background:#8a684e;color:white;font-weight:800;font-size:13px}.yns-q-question-text{padding-top:5px;overflow-wrap:anywhere}.yns-q-table thead th:not(:first-child)>span{display:block;color:#493a2f;font-weight:700;line-height:1.35;padding:2px 1px;overflow-wrap:anywhere}.yns-q-radio-cell{display:grid;place-items:center;cursor:pointer;min-height:38px}.yns-q-radio-cell input{position:absolute;opacity:0}.yns-q-radio-cell span{width:22px;height:22px;border-radius:50%;border:2px solid #a68e7b;background:#fff;box-sizing:border-box}.yns-q-radio-cell input:checked+span{background:#fff;border:6px solid #7b5b45}.yns-q-radio-cell:focus-within span{outline:2px solid #c3a58e;outline-offset:2px}
.yns-q-card-list{padding:20px 24px 26px;display:grid;gap:14px}.yns-q-question-card{padding:20px;border:1px solid #dfd0c2;border-radius:15px;background:#fffdf9}.yns-q-question-heading{display:flex;align-items:flex-start;gap:12px;margin-bottom:16px}.yns-q-question-heading h3{margin:3px 0 0;color:#3b3028;font-size:19px;line-height:1.55}.yns-q-options{display:grid;gap:9px;margin-right:46px}.yns-q-answer-option{direction:rtl;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;column-gap:10px;padding:11px 12px;border:1px solid #dfd0c2;border-radius:10px;color:#4f443b;cursor:pointer;background:#fffaf4}.yns-q-answer-option input{margin:0;width:18px;height:18px}.yns-q-answer-code{display:inline-grid;place-items:center;min-width:28px;height:26px;padding:0 5px;border-radius:7px;background:#eadbca;color:#5c4332;font-size:12px;font-weight:800;box-sizing:border-box}.yns-q-answer-text{padding:2px 0;line-height:1.45}.yns-q-free{display:block;width:calc(100% - 46px);margin-right:46px;padding:12px 14px;border:1px solid #d7c6b7;border-radius:10px;background:#fff;color:#3f342c;box-sizing:border-box;font-size:16px}.yns-q-nav{display:flex;justify-content:space-between;gap:12px;margin-top:18px}.yns-q-nav button:disabled{opacity:.4;cursor:not-allowed}.yns-q-loading,.yns-q-error{padding:34px;text-align:center;border:1px solid #dccbbb;border-radius:18px;background:#fffaf4}.yns-q-loading span{display:inline-block;width:28px;height:28px;border-radius:50%;border:3px solid #d8c4b2;border-top-color:#7b5b45;animation:yns-spin .8s linear infinite}@keyframes yns-spin{to{transform:rotate(360deg)}}.yns-q-loading p{color:#6e6258}.yns-q-error{color:#7b2e2e;border-color:#e3bdbd;background:#fff4f1}.yns-q-footer{padding:24px;text-align:center;color:#8a7a6c;font-size:12px;border-top:1px solid #dfd0c2}
.yns-q-option-groups{margin-right:46px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.yns-q-option-group{min-width:0;margin:0;padding:14px;border:1px solid #decfc1;border-radius:14px;background:#fffaf4}.yns-q-option-group legend{padding:0 8px;color:#785a45;font-weight:800;font-size:13px}.yns-q-option-group .yns-q-answer-option{padding:9px 8px;border:0;background:transparent}.yns-q-option-group .yns-q-answer-option:hover{background:#f2e7db}.yns-q-options-grid{grid-template-columns:repeat(2,minmax(0,1fr))}

.yns-q-toolbar-left{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.yns-q-target-control{display:flex;align-items:center;gap:9px;color:#5f5349;font-size:13px;font-weight:700}.yns-q-target-toggle{display:inline-flex;gap:4px;padding:4px;border:1px solid #d8c7b8;border-radius:999px;background:#fffaf4}.yns-q-target-toggle button{appearance:none;border:0;border-radius:999px;padding:7px 12px;background:transparent;color:#66574b;font-weight:700;cursor:pointer}.yns-q-target-toggle button.active{background:#7a5b45;color:#fff}.yns-q-target-note{font-size:11px;color:#8a7a6c;font-weight:400}
@media(max-width:760px){
  .yns-q-sitebar{padding:0 16px;min-height:66px}.yns-q-brand small{display:none}.yns-q-main{width:calc(100% - 24px);padding:32px 0 62px}.yns-q-hero{display:block}.yns-q-actions{justify-content:flex-start;margin-top:20px}.yns-q-toolbar{display:block}.yns-q-toolbar-left{display:grid;gap:10px}.yns-q-target-control{justify-content:space-between}.yns-q-status{margin-top:10px}.yns-q-block{border-radius:18px;margin-bottom:24px}.yns-q-block-header{padding:20px 16px}.yns-q-chip{font-size:11.5px}.yns-q-purpose h2{font-size:22px}.yns-q-instruction p{font-size:15px}.yns-q-legend{grid-template-columns:1fr;padding:14px 14px 6px}.yns-q-table-shell{padding:8px 12px 16px}.yns-q-table,.yns-q-table tbody,.yns-q-table tr,.yns-q-table th,.yns-q-table td{display:block;width:100%}.yns-q-table{border:0;background:transparent}.yns-q-table thead{display:none}.yns-q-table tbody tr{margin:0 0 12px;padding:14px;border:1px solid #ddcdbf;border-radius:14px;background:#fffdf9;box-sizing:border-box}.yns-q-table tbody th{padding:0 0 13px;border:0;display:flex;width:100%}.yns-q-table tbody td{display:inline-flex;position:relative;width:auto;min-width:96px;padding:42px 7px 4px;border:0;align-items:center;justify-content:center;box-sizing:border-box}.yns-q-table tbody td:before{content:attr(data-label);position:absolute;top:2px;left:50%;transform:translateX(-50%);color:#735640;font-size:11px;font-weight:700;line-height:1.25;width:92px;text-align:center}.yns-q-radio-cell{min-height:34px}.yns-q-card-list{padding:14px}.yns-q-question-card{padding:16px}.yns-q-question-heading h3{font-size:17px}.yns-q-options{margin-right:0}.yns-q-free{width:100%;margin-right:0}.yns-q-number{flex-basis:31px;width:31px;height:31px}.yns-q-tabs{overflow:auto;padding-bottom:2px}.yns-q-tabs button{white-space:nowrap}.yns-q-option-groups{margin-right:0;grid-template-columns:1fr}.yns-q-options-grid{grid-template-columns:1fr}
}

/* v1.0.4 usability pass */
.yns-q-user-toggle.active{background:#5f4939;color:#fff;border-color:#5f4939}
.yns-q-answer-option{position:relative;grid-template-columns:minmax(0,1fr) auto auto;transition:.15s ease}
.yns-q-answer-option:hover{background:#f3e8dc;border-color:#c9b29f}
.yns-q-answer-option input{position:absolute;opacity:0;pointer-events:none}
.yns-q-select-mark{width:19px;height:19px;border:2px solid #a68e7b;border-radius:50%;background:#fff;box-sizing:border-box}
.yns-q-answer-option.selected,.yns-q-answer-option:has(input:checked){background:#eee1d2;border-color:#9c7a60;box-shadow:inset 0 0 0 1px #b89578}
.yns-q-answer-option.selected .yns-q-select-mark,.yns-q-answer-option:has(input:checked) .yns-q-select-mark{background:#7b5b45;border:5px solid #fff;outline:2px solid #7b5b45}
.yns-q-multi,.yns-q-option-groups{grid-template-columns:1fr}
.yns-q-multi .yns-q-select-mark,.yns-q-option-group .yns-q-select-mark,.yns-q-exclusive-top .yns-q-select-mark{border-radius:6px}
.yns-q-option-groups{display:grid;gap:14px}.yns-q-exclusive-top{margin-bottom:2px}.yns-q-option-group{display:grid;gap:7px}.yns-q-option-group .yns-q-answer-option{border:1px solid #dfd0c2;background:#fffdf9}.yns-q-option-group .yns-q-answer-option:hover{background:#f3e8dc}
.yns-q-table{table-layout:fixed}.yns-q-table thead th:first-child{width:48%}.yns-q-table thead th:not(:first-child)>span{overflow-wrap:normal;word-break:normal;hyphens:none;font-size:12px}.yns-q-question-text{overflow-wrap:break-word;word-break:normal}.yns-q-question-col-head{font-size:15px;line-height:1.55;font-weight:600}
.yns-q-user-mode-app .yns-q-test-badge{display:none}.yns-q-user-mode-app .yns-q-target-control,.yns-q-user-mode-app .yns-q-status,.yns-q-user-mode-app .yns-q-meta{display:none}.yns-q-user-mode-app .yns-q-hero .yns-q-kicker{display:none}.yns-q-user-mode-app .yns-q-hero h1{font-size:clamp(34px,4vw,50px)}.yns-q-user-mode-app .yns-q-hero>div:first-child>p:last-child{display:none}.yns-q-user-mode-app .yns-q-block-header.user{padding:24px 28px 18px}.yns-q-user-mode-app .yns-q-block-header.user .yns-q-purpose h2{margin-bottom:8px}.yns-q-user-instruction{font-size:16px;line-height:1.7;color:#51463d}.yns-q-user-mode-app .yns-q-answer-code,.yns-q-user-mode-app .yns-q-number{display:none}.yns-q-user-mode-app .yns-q-options,.yns-q-user-mode-app .yns-q-option-groups,.yns-q-user-mode-app .yns-q-free{margin-right:0}.yns-q-user-mode-app .yns-q-free{width:100%}.yns-q-user-mode-app .yns-q-answer-option{grid-template-columns:minmax(0,1fr) auto;padding:13px 14px}.yns-q-user-mode-app .yns-q-question-card{padding:22px}.yns-q-user-mode-app .yns-q-question-heading h3{margin-right:0}.yns-q-user-mode-app .yns-q-table tbody th{gap:0}
@media(max-width:760px){.yns-q-user-toggle{width:100%}.yns-q-table tbody td{min-width:88px}.yns-q-table tbody td:before{width:84px;overflow-wrap:normal;word-break:normal}.yns-q-user-mode-app .yns-q-table tbody td{display:flex;width:100%;min-width:0;padding:8px 0;justify-content:flex-start;gap:10px}.yns-q-user-mode-app .yns-q-table tbody td:before{position:static;transform:none;width:auto;min-width:145px;text-align:right;font-size:13px}.yns-q-user-mode-app .yns-q-radio-cell{display:flex;justify-content:flex-start}.yns-q-user-mode-app .yns-q-table tbody tr{padding:16px}.yns-q-user-mode-app .yns-q-block-header.user{padding:20px 16px 14px}}


/* v1.0.6 readability + user-mode interaction pass */
.yns-q-table-prompt th{padding:17px 20px;text-align:right;font-size:17px;line-height:1.65;font-weight:700;background:#eadbca;border-bottom:1px solid #cdb8a5}
.yns-q-table-answers th{font-size:15px;line-height:1.5;padding:14px 10px}
.yns-q-table-answers th:not(:first-child){border-right:1px solid #cdb8a5}
.yns-q-table tbody td{border-right:1px solid #e2d3c5}
.yns-q-table tbody td:last-child{border-left:0}
.yns-q-table thead th:not(:first-child)>span{font-size:15px;line-height:1.5}
.yns-q-user-mode-app .yns-q-answer-option{grid-template-columns:minmax(0,1fr)}
.yns-q-user-mode-app .yns-q-select-mark{display:none}
.yns-q-user-mode-app .yns-q-answer-option{padding:14px 16px;min-height:48px}
.yns-q-user-mode-app .yns-q-answer-option:has(input:checked){background:#eee1d2;border-color:#9c7a60;box-shadow:inset 0 0 0 1px #b89578}
@media(max-width:760px){
 .yns-q-table thead{display:block}
 .yns-q-table-prompt{display:block;margin:0 0 10px;padding:0;border:0;background:transparent}
 .yns-q-table-prompt th{display:block;width:100%;box-sizing:border-box;border:1px solid #d9c9b8;border-radius:12px;font-size:16px}
 .yns-q-table-answers{display:none}
 .yns-q-table tbody td{border-right:0}
}


/* v1.0.7 accumulated fixes */
/* Keep matrix guidance visible while moving down long tables. */
.yns-q-table thead{position:sticky;top:32px;z-index:12;box-shadow:0 2px 0 rgba(110,82,61,.10)}
.yns-q-table-prompt th,.yns-q-table-answers th{background:#eadbca}
/* Yes/No and all single-choice cards are rectangle-only in user mode. */
.yns-q-user-mode-app .yns-q-answer-option .yns-q-select-mark{display:none}
.yns-q-user-mode-app .yns-q-answer-option{display:flex;align-items:center;justify-content:center;text-align:center}
.yns-q-user-mode-app .yns-q-answer-text{width:100%;text-align:center;font-size:16px;line-height:1.45}
/* Multi-select stays rectangle-only as well; selection is conveyed by the rectangle state. */
.yns-q-user-mode-app .yns-q-multi .yns-q-answer-option,
.yns-q-user-mode-app .yns-q-option-group .yns-q-answer-option,
.yns-q-user-mode-app .yns-q-exclusive-top .yns-q-answer-option{justify-content:flex-start;text-align:right}
.yns-q-user-mode-app .yns-q-multi .yns-q-answer-text,
.yns-q-user-mode-app .yns-q-option-group .yns-q-answer-text,
.yns-q-user-mode-app .yns-q-exclusive-top .yns-q-answer-text{text-align:right}
/* Long response headers: larger type and clear visual separation. */
.yns-q-table-answers th:not(:first-child){font-size:15px;padding:14px 12px;border-inline-start:1px solid #c6ae99}
.yns-q-table-answers th:not(:first-child)>span{display:block;font-size:15px;line-height:1.5}
@media(max-width:760px){
  /* Mobile matrix rows already repeat each answer label beside its control; keep the instruction sticky. */
  .yns-q-table thead{position:sticky;top:0;z-index:20;background:#f7efe6}
  .yns-q-table-prompt{position:sticky;top:0;z-index:21}
  .yns-q-table-prompt th{box-shadow:0 3px 8px rgba(79,61,48,.10)}
  .yns-q-user-mode-app .yns-q-answer-option{min-height:50px}
}

/* v1.0.8 matrix usability pass */
/* Matrix statements are centered both horizontally and vertically. */
.yns-q-table tbody th{
  display:table-cell;
  text-align:center;
  vertical-align:middle;
  padding:16px 14px;
}
.yns-q-table tbody th .yns-q-question-text{
  display:block;
  width:100%;
  padding:0;
  text-align:center;
  line-height:1.55;
}
/* The whole matrix answer cell is the control; do not draw radio circles. */
.yns-q-radio-cell{
  display:block;
  width:100%;
  min-height:54px;
  height:100%;
  cursor:pointer;
}
.yns-q-radio-cell input{position:absolute;opacity:0;pointer-events:none}
.yns-q-radio-cell span{display:none}
.yns-q-table tbody td{padding:0;cursor:pointer;transition:background .14s ease,box-shadow .14s ease}
.yns-q-table tbody td:hover{background:#f5eadf}
.yns-q-table tbody td:has(input:checked){background:#e8d7c5;box-shadow:inset 0 0 0 2px #9c7a60}
.yns-q-table tbody td:focus-within{outline:2px solid #9c7a60;outline-offset:-3px}
/* Freeze the answer header while the long matrix scrolls. */
.yns-q-table{overflow:visible}
.yns-q-table-answers th{position:sticky;top:32px;z-index:30;background:#eadbca;box-shadow:0 2px 0 rgba(110,82,61,.12)}
@media(max-width:760px){
  .yns-q-table tbody th{display:block;text-align:center;padding:0 0 13px}
  .yns-q-table tbody th .yns-q-question-text{text-align:center}
  .yns-q-table tbody td{display:flex;padding:8px 0;background:transparent}
  .yns-q-table tbody td:has(input:checked){background:#e8d7c5;border-radius:8px}
  .yns-q-radio-cell{min-height:38px}
  /* On mobile every row repeats its answer labels; keep the matrix prompt visible. */
  .yns-q-table-prompt{position:sticky;top:0;z-index:31}
}

/* v1.0.9: sticky matrix header + smoother cell selection */
.yns-q-table-shell{overflow:visible;contain:none}
.yns-q-table{overflow:visible}
.yns-q-table thead{position:relative}
.yns-q-table-answers th{position:sticky;top:32px;z-index:50;background:#eadbca}
.yns-q-table tbody td label{position:relative;z-index:1}
.yns-q-table tbody td:active{background:#dfcbb7}
.yns-q-version{font-size:12px;color:#765b47;font-weight:700}
@media(max-width:782px){
 .yns-q-table-answers{display:none}
 .yns-q-table-prompt{position:sticky;top:0;z-index:50}
 .yns-q-table-prompt th{position:sticky;top:0}
}

/* v1.0.11 definitive interaction pass */
/* User mode: the rectangle itself is the control. Native radio/checkbox glyphs stay accessible but invisible. */
.yns-q-user-mode-app .yns-q-answer-option input[type="radio"],
.yns-q-user-mode-app .yns-q-answer-option input[type="checkbox"]{
  position:absolute;width:1px;height:1px;opacity:0;pointer-events:none;
}
.yns-q-user-mode-app .yns-q-answer-option .yns-q-select-mark{display:none}
.yns-q-user-mode-app .yns-q-answer-option{cursor:pointer;transition:background .12s ease,border-color .12s ease,box-shadow .12s ease}
.yns-q-user-mode-app .yns-q-answer-option.selected,
.yns-q-user-mode-app .yns-q-answer-option:has(input:checked){background:#eadbc9;border-color:#9b785d;box-shadow:inset 0 0 0 1px #9b785d}

/* Real floating matrix answer header. It is outside the table, so parent overflow/table layout cannot break it. */
.yns-q-floating-head{position:fixed;display:none;z-index:99990;pointer-events:none;margin:0;padding:0;background:#eadbca;box-shadow:0 4px 12px rgba(65,45,31,.16)}
.yns-q-floating-head table{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;margin:0;background:#eadbca}
.yns-q-floating-head th{background:#eadbca;color:#48392e;text-align:center;padding:13px 8px;border:1px solid #d9c9b8;font-size:13px;line-height:1.35;box-sizing:border-box}
.yns-q-floating-head th:first-child{text-align:center}
@media(max-width:782px){.yns-q-floating-head{display:none}}

.yns-q-question-card.yns-q-missing,
.yns-q-table tr.yns-q-missing{outline:3px solid #a66f45;outline-offset:2px;border-radius:12px}
.yns-q-missing-notice{margin:16px 0;padding:14px 16px;border:1px solid #b98d68;border-radius:12px;background:#fff8ef;color:#49382c;display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.yns-q-missing-notice button{border:1px solid #8a684e;background:#fff;color:#604733;border-radius:999px;padding:9px 14px;font-weight:700;cursor:pointer}
.yns-q-table tbody td.selected-cell{background:#e8d7c5;box-shadow:inset 0 0 0 2px #9c7a60}

/* v1.0.12 logic + interaction pass */
/* In user mode there are no native radio/checkbox controls at all: buttons/cells are the controls. */
.yns-q-user-mode-app .yns-q-choice-button{appearance:none;-webkit-appearance:none;width:100%;font:inherit;color:inherit;border:1px solid #dfd0c2;background:#fffaf4;cursor:pointer}
.yns-q-user-mode-app .yns-q-choice-button.selected{background:#eadbc9;border-color:#9b785d;box-shadow:inset 0 0 0 1px #9b785d}
.yns-q-user-mode-app .yns-q-binary{display:flex;gap:12px;justify-content:flex-start;max-width:380px;margin-right:0}
.yns-q-user-mode-app .yns-q-binary .yns-q-answer-option{width:170px;min-height:48px;display:flex;justify-content:center;text-align:center;padding:12px 20px}
.yns-q-user-mode-app .yns-q-binary .yns-q-answer-text{text-align:center;width:auto}
.yns-q-choice-cell{cursor:pointer;min-height:52px}
.yns-q-choice-cell.selected-cell{background:#e8d7c5;box-shadow:inset 0 0 0 2px #9c7a60}
.yns-q-choice-cell:focus{outline:2px solid #8a684e;outline-offset:-3px}
/* Missing means missing: all unanswered cards/rows get a red frame at once. */
.yns-q-question-card.yns-q-missing,.yns-q-table tr.yns-q-missing{outline:3px solid #b3261e;outline-offset:2px;border-radius:12px}
.yns-q-missing-notice{border-color:#d59b96;background:#fff4f2}
.yns-q-missing-notice strong{color:#8f1d17}
/* Floating matrix header: cells are positioned from the real source-cell geometry, so first/last answers cannot be clipped. */
.yns-q-floating-head{position:fixed;display:block;z-index:99990;pointer-events:none;background:#eadbca;box-shadow:0 4px 12px rgba(65,45,31,.16);overflow:visible}
.yns-q-floating-cell{position:absolute;top:0;display:flex;align-items:center;justify-content:center;text-align:center;background:#eadbca;color:#48392e;border:1px solid #d9c9b8;padding:8px;box-sizing:border-box;font-size:13px;font-weight:700;line-height:1.35;overflow-wrap:anywhere}
@media(max-width:782px){.yns-q-user-mode-app .yns-q-binary{max-width:none;width:100%}.yns-q-user-mode-app .yns-q-binary .yns-q-answer-option{width:50%;min-width:0}.yns-q-floating-head{display:none}}

/* v1.0.13 */
.yns-q-user-mode-app .yns-q-choice-button.selected,.yns-q-user-mode-app .yns-q-answer-option.selected{background:#76543d;border-color:#5f402d;color:#fff;box-shadow:inset 0 0 0 2px #5f402d}
.yns-q-user-mode-app .yns-q-choice-button:hover:not(.selected){background:#f0e1d2;border-color:#b99a80}
.yns-q-user-mode-app .yns-q-choice-cell.selected-cell,.yns-q-table tbody td.selected-cell{background:#76543d;box-shadow:inset 0 0 0 2px #5f402d;color:#fff}
.yns-q-user-mode-app .yns-q-answer-text,.yns-q-user-mode-app .yns-q-question-heading h3,.yns-q-user-mode-app .yns-q-question-text{font-size:17px;line-height:1.55}
.yns-q-progress{position:fixed;z-index:99995;left:18px;right:18px;bottom:12px;display:flex;align-items:center;gap:10px;padding:8px 12px;border:1px solid #d8c7b8;border-radius:999px;background:rgba(255,250,244,.96);box-shadow:0 4px 18px rgba(65,45,31,.14);direction:ltr}
.yns-q-progress-track{height:8px;flex:1;background:#eadfd4;border-radius:999px;overflow:hidden}.yns-q-progress-fill{height:100%;width:0;background:#76543d;transition:width .2s ease}.yns-q-progress-text{min-width:42px;text-align:center;font-weight:800;color:#5f4634;font-size:13px}
@media(max-width:760px){.yns-q-progress{left:8px;right:8px;bottom:8px}.yns-q-user-mode-app .yns-q-answer-text,.yns-q-user-mode-app .yns-q-question-heading h3,.yns-q-user-mode-app .yns-q-question-text{font-size:16px}}

/* v1.0.14 intro screen */
.yns-q-intro{max-width:820px;margin:28px auto;padding:34px 38px;background:#fffaf5;border:1px solid #dec9b7;border-radius:18px;line-height:1.8;text-align:right;box-shadow:0 8px 30px rgba(67,49,36,.05)}
.yns-q-intro h2{margin:0 0 18px;font-size:2rem;color:#3f3128}
.yns-q-intro p{font-size:1.08rem;margin:0 0 14px;color:#493a31}
.yns-q-intro-start{display:block;margin:26px auto 0;padding:12px 34px;border:0;border-radius:999px;background:#806044;color:#fff;font-size:1.08rem;font-weight:700;cursor:pointer}
.yns-q-intro-start:hover{filter:brightness(.92)}
@media(max-width:782px){.yns-q-intro{margin:16px 0;padding:24px 20px}.yns-q-intro h2{font-size:1.65rem}.yns-q-intro p{font-size:1rem}}

/* v1.0.15: larger multi-select answer text */
.yns-q-user-mode-app .yns-q-multi .yns-q-answer-text,.yns-q-user-mode-app .yns-q-option-group .yns-q-answer-text{font-size:19px;line-height:1.55}
@media(max-width:760px){.yns-q-user-mode-app .yns-q-multi .yns-q-answer-text,.yns-q-user-mode-app .yns-q-option-group .yns-q-answer-text{font-size:18px}}


/* v1.0.16: larger answer text specifically for multi-select questions */
.yns-q-multi .yns-q-answer-text,
.yns-q-option-group .yns-q-answer-text,
.yns-q-exclusive-top .yns-q-answer-text {
  font-size: 18px ;
  line-height: 1.5 ;
}
.yns-q-user-mode-app .yns-q-multi .yns-q-answer-text,
.yns-q-user-mode-app .yns-q-option-group .yns-q-answer-text,
.yns-q-user-mode-app .yns-q-exclusive-top .yns-q-answer-text {
  font-size: 18px ;
  line-height: 1.5 ;
}
@media (max-width: 782px) {
  .yns-q-multi .yns-q-answer-text,
  .yns-q-option-group .yns-q-answer-text,
  .yns-q-exclusive-top .yns-q-answer-text {
    font-size: 17px ;
  }
}


/* v1.0.17: unified readable answer sizing, validation and completion */
.yns-q-answer-text{font-size:18px;line-height:1.5}
.yns-q-user-mode-app .yns-q-answer-text{font-size:18px;line-height:1.5}
.yns-q-field-error{margin:8px 46px 0 0;color:#8a2f2f;font-size:15px;font-weight:700}
.yns-q-user-mode-app .yns-q-field-error{margin-right:0}
.yns-q-free.yns-q-invalid{border-color:#b94b4b;box-shadow:0 0 0 2px rgba(185,75,75,.12)}
.yns-q-completion{max-width:760px;margin:28px auto;padding:38px 34px;border:1px solid #dfd0c2;border-radius:20px;background:#fffaf4;text-align:center;color:#4f443b}
.yns-q-completion h2{margin:0 0 18px;font-size:30px;color:#3b3028}
.yns-q-completion p{font-size:18px;line-height:1.75;margin:12px 0}
.yns-q-finish{margin-top:18px;padding:12px 30px;border:0;border-radius:10px;background:#6f513e;color:#fff;font-size:17px;font-weight:800;cursor:pointer}
@media(max-width:782px){.yns-q-answer-text,.yns-q-user-mode-app .yns-q-answer-text{font-size:17px}.yns-q-field-error{margin-right:0}.yns-q-completion{margin:16px 0;padding:28px 20px}.yns-q-completion h2{font-size:25px}.yns-q-completion p{font-size:17px}}


/* v1.0.27 — standalone questionnaire document. No WordPress theme CSS is present. */
.yns-q-page,.yns-q-page *,.yns-q-page *::before,.yns-q-page *::after{box-sizing:border-box}

/* Technical/review choices are full clickable rows; native browser controls stay hidden. */
.yns-q-answer-option{grid-template-columns:minmax(0,1fr) auto}
.yns-q-answer-option input[type="radio"],.yns-q-answer-option input[type="checkbox"]{position:absolute;opacity:0;pointer-events:none;width:1px;height:1px;margin:0;padding:0}
.yns-q-answer-option .yns-q-select-mark{display:none}
.yns-q-answer-option.selected{background:#eadbc9;border-color:#9b785d;box-shadow:inset 0 0 0 1px #9b785d}
.yns-q-answer-option:focus-within{outline:2px solid #b89479;outline-offset:2px}

/* Matrix cells are the control; no radio circles are drawn. */
.yns-q-radio-cell input,.yns-q-radio-cell span{position:absolute;opacity:0;pointer-events:none;width:1px;height:1px;margin:0;padding:0}
.yns-q-table tbody td{cursor:pointer;transition:background .15s ease,box-shadow .15s ease}
.yns-q-table tbody td.selected-cell{background:#76543d;color:#fff;box-shadow:inset 0 0 0 2px #5f402d}

/* User-mode answer cards. */
.yns-q-user-mode-app .yns-q-choice-button.selected,.yns-q-user-mode-app .yns-q-answer-option.selected{background:#76543d;border-color:#5f402d;color:#fff;box-shadow:inset 0 0 0 2px #5f402d}
.yns-q-user-mode-app .yns-q-choice-button:hover:not(.selected){background:#f0e1d2;border-color:#b99a80}
.yns-q-user-mode-app .yns-q-choice-cell.selected-cell{background:#76543d;box-shadow:inset 0 0 0 2px #5f402d;color:#fff}

/* Finish action: centered and larger without absolute positioning. */
.yns-q-final-next{min-width:230px;min-height:58px;padding:16px 38px;border-radius:999px;font-size:20px;font-weight:800;background:#76543d;color:#fff;border:0;box-shadow:0 6px 18px rgba(83,57,39,.18);cursor:pointer}
.yns-q-final-next:hover{filter:brightness(.94)}
.yns-q-final-next:disabled{opacity:.65;cursor:wait}
.yns-q-review-finish-nav{display:flex;justify-content:center;align-items:center;min-height:92px;margin-top:34px}
.yns-q-final-nav{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;min-height:82px}
.yns-q-final-nav [data-nav="prev"]{grid-column:1;justify-self:start}
.yns-q-final-nav .yns-q-final-next{grid-column:2;justify-self:center}
.yns-q-save-error{max-width:760px;margin:18px auto;padding:14px 18px;border:1px solid #d59b96;border-radius:12px;background:#fff4f2;color:#7e2b25;text-align:center;font-size:16px;line-height:1.55}
.yns-q-serial{margin:18px auto;padding:12px 18px;display:inline-block;border-radius:12px;background:#f1e4d6;font-size:18px}

@media(max-width:782px){
  .yns-q-final-next{min-width:190px;min-height:54px;font-size:18px;padding:14px 26px}
  .yns-q-final-nav{grid-template-columns:1fr;gap:14px}
  .yns-q-final-nav [data-nav="prev"]{grid-column:1;justify-self:start}
  .yns-q-final-nav .yns-q-final-next{grid-column:1;justify-self:center}
}

/* v1.0.28 — compact 0–10 subjective well-being scale. */
.yns-q-zero-ten{display:grid;grid-template-columns:repeat(11,minmax(30px,1fr));gap:7px;margin:4px 0 0}
.yns-q-scale-point{appearance:none;-webkit-appearance:none;min-width:0;min-height:48px;border:1px solid #cdb9a6;border-radius:10px;background:#fffaf4;color:#4b3c31;font:inherit;font-size:16px;font-weight:800;cursor:pointer;transition:background .12s ease,border-color .12s ease,box-shadow .12s ease,color .12s ease}
.yns-q-scale-point:hover{background:#f0e1d2;border-color:#aa896f}
.yns-q-scale-point.selected{background:#76543d;border-color:#5f402d;color:#fff;box-shadow:inset 0 0 0 2px #5f402d}
.yns-q-zero-ten-anchors{display:flex;justify-content:space-between;gap:16px;margin-top:8px;color:#71665d;font-size:13px;line-height:1.35}
@media(max-width:600px){
  .yns-q-zero-ten{gap:4px;grid-template-columns:repeat(11,minmax(24px,1fr))}
  .yns-q-scale-point{min-height:42px;padding:0;font-size:14px;border-radius:8px}
  .yns-q-zero-ten-anchors{font-size:12px}
}


/* v1.2.1 — participant account, personal area and research profile */
[hidden]{display:none!important}
.yns-q-user-status{max-width:980px;margin:0 auto 12px;padding:0 18px;color:#6a5a4d;font-size:14px}
.yns-q-auth,.yns-q-dashboard{max-width:820px;margin:26px auto 36px;padding:34px;border:1px solid #dfd0c2;border-radius:22px;background:#fffaf5;box-shadow:0 12px 35px rgba(75,55,40,.07)}
.yns-q-auth h2,.yns-q-dashboard h2{margin:0 0 12px;color:#3f332b;font-size:30px}
.yns-q-auth p,.yns-q-dashboard p{line-height:1.72}
.yns-q-auth-tabs{display:flex;gap:8px;margin:22px 0}
.yns-q-auth-tabs button{flex:1;min-height:46px;border:1px solid #ccb6a2;border-radius:12px;background:#fff;color:#5d493a;font-weight:800;cursor:pointer}
.yns-q-auth-tabs button.active{background:#76543d;color:#fff;border-color:#76543d}
.yns-q-auth-form{display:grid;gap:15px}
.yns-q-auth-form>label{display:grid;gap:7px;color:#4f4036;font-weight:700}
.yns-q-auth-form input[type="text"],.yns-q-auth-form input[type="email"],.yns-q-auth-form input[type="tel"],.yns-q-auth-form input[type="password"]{width:100%;min-height:48px;padding:10px 13px;border:1px solid #cdb9a6;border-radius:10px;background:#fff;color:#2f2925;font:inherit;direction:rtl}
.yns-q-auth-form input:focus{outline:2px solid rgba(118,84,61,.22);border-color:#8f6b51}
.yns-q-optional{font-weight:400;color:#80746b;font-size:13px}
.yns-q-consents{display:grid;gap:14px;margin:8px 0 2px;padding:18px;border:1px solid #ddcbbb;border-radius:14px;background:#fff}
.yns-q-check{display:grid!important;grid-template-columns:auto 1fr;align-items:start;gap:11px!important;font-weight:400!important;line-height:1.65}
.yns-q-check input{width:19px;height:19px;margin-top:4px;accent-color:#76543d}
.yns-q-check a,.yns-q-rights a,.yns-q-support-note a{color:#684932;text-decoration:underline;text-underline-offset:2px}
.yns-q-auth-error{padding:12px 14px;border:1px solid #d79b95;border-radius:10px;background:#fff1ef;color:#7c2922;font-weight:700;line-height:1.5}
.yns-q-auth-info{padding:12px 14px;border:1px solid #c8d7c8;border-radius:10px;background:#f2f8f1;color:#36523b;line-height:1.55;margin:10px 0}
.yns-q-auth-link{appearance:none;border:0;background:transparent;color:#664934;text-decoration:underline;text-underline-offset:3px;font:inherit;font-weight:700;cursor:pointer;padding:7px 0}
.yns-q-password-meter{display:grid;grid-template-columns:1fr auto;align-items:center;gap:10px}
.yns-q-password-meter:before{content:"";grid-column:1;height:7px;border-radius:999px;background:#eadfd4}
.yns-q-password-meter span{grid-column:1;grid-row:1;height:7px;border-radius:999px;background:#a66c53;transition:width .2s ease}
.yns-q-password-meter b{grid-column:2;grid-row:1;font-size:13px}
.yns-q-password-meter[data-level="4"] span,.yns-q-password-meter[data-level="5"] span{background:#54765a}
.yns-q-password-meter[data-level="2"] span,.yns-q-password-meter[data-level="3"] span{background:#a58042}
.yns-q-support-note{margin:24px 0 0;padding-top:16px;border-top:1px solid #eaded3;color:#6b625c;font-size:14px}
.yns-q-dashboard-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:20px}
.yns-q-dashboard-head .yns-q-auth-link{white-space:nowrap}
.yns-q-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:24px 0}
.yns-q-summary>div{padding:16px;border:1px solid #e1d3c6;border-radius:14px;background:#fff}
.yns-q-summary dt{font-size:13px;color:#766a61;margin-bottom:5px}
.yns-q-summary dd{margin:0;font-weight:800;color:#3f332b}
.yns-q-dashboard-cta{margin:14px 0 8px;min-height:52px;padding-inline:28px}
.yns-q-empty-state{margin:24px 0;padding:18px;border:1px dashed #cbb49f;border-radius:14px;background:#fff}
.yns-q-profile-title{margin-top:30px!important}
.yns-q-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:16px 0 24px}
.yns-q-profile-item{padding:18px;border:1px solid #e0d1c4;border-radius:15px;background:#fff}
.yns-q-profile-item h3{margin:0 0 9px;font-size:17px;color:#514135}
.yns-q-profile-value{font-size:24px;font-weight:850;color:#76543d}
.yns-q-score-wrap{display:flex;flex-direction:column;align-items:flex-start;margin:8px 0 5px}
.yns-q-score-circle{width:76px;height:76px;border-radius:50%;display:flex;align-items:center;justify-content:center;border:2px solid #b79b84;background:#fbf7f2;color:#76543d;font-size:28px;font-weight:900;line-height:1}
.yns-q-score-scale{margin-top:6px;font-size:12px;color:#7b6d62}
.yns-q-completion-box{margin:18px 0 24px;padding:18px;border:1px solid #d8c2ae;border-radius:15px;background:#fbf7f2}
.yns-q-completion-box h3{margin:0 0 7px;color:#4d3e34}
.yns-q-completion-box p{margin:0 0 12px;line-height:1.6}
.yns-q-disclaimer,.yns-q-rights{margin:22px 0;padding:18px;border-radius:14px;line-height:1.65}
.yns-q-disclaimer{background:#f7f2ec;border:1px solid #dfd2c5}
.yns-q-rights{background:#fff;border:1px solid #e1d3c6}
.yns-q-rights h3{margin:0 0 8px;color:#4d3e34}
.yns-q-progress{position:sticky;bottom:0;z-index:20;display:grid;grid-template-columns:1fr auto;align-items:center;gap:12px;max-width:1100px;margin:0 auto;padding:11px 18px;background:rgba(255,250,245,.96);backdrop-filter:blur(8px);border-top:1px solid #dfd0c2}
.yns-q-progress-track{height:8px;background:#eadfd4;border-radius:999px;overflow:hidden}
.yns-q-progress-fill{height:100%;width:0;background:#76543d;transition:width .2s ease}
.yns-q-progress-text{font-size:13px;font-weight:800;color:#5e4a3b;min-width:38px;text-align:left}
.yns-q-footer{max-width:1100px;margin:26px auto 0;padding:22px 18px 30px;border-top:1px solid #dfd0c2;color:#71675f;font-size:13px;line-height:1.65;text-align:center}
.yns-q-footer>div+div{margin-top:5px}

@media(max-width:782px){
 .yns-q-auth,.yns-q-dashboard{margin:14px 12px 28px;padding:22px 18px;border-radius:16px}
 .yns-q-auth h2,.yns-q-dashboard h2{font-size:25px}
 .yns-q-dashboard-head{display:block}
 .yns-q-dashboard-head .yns-q-auth-link{margin-top:8px}
 .yns-q-summary,.yns-q-profile-grid{grid-template-columns:1fr}
 .yns-q-consents{padding:14px}
 .yns-q-check{grid-template-columns:auto 1fr}
 .yns-q-progress{margin:0;padding-inline:12px}
}

.yns-q-profile-note{margin:9px 0 0!important;color:#74675e;font-size:13px;line-height:1.5}


/* v1.2.1 — internal legal documents and modal */
body.yns-q-modal-open{overflow:hidden}
.yns-q-legal-modal{position:fixed;inset:0;z-index:999999;display:grid;place-items:center;padding:24px}
.yns-q-legal-backdrop{position:absolute;inset:0;background:rgba(34,27,22,.66);backdrop-filter:blur(3px)}
.yns-q-legal-dialog{position:relative;z-index:1;width:min(980px,96vw);height:min(88vh,920px);display:grid;grid-template-rows:auto 1fr auto;background:#fffaf5;border:1px solid #d8c6b7;border-radius:20px;box-shadow:0 24px 80px rgba(20,15,11,.28);overflow:hidden}
.yns-q-legal-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 22px;border-bottom:1px solid #e3d6ca;background:#fff}
.yns-q-legal-dialog-head h2{margin:0;font-size:21px;color:#40342c}
.yns-q-legal-x{appearance:none;width:42px;height:42px;border:1px solid #d7c5b5;border-radius:50%;background:#fff;color:#4c3d33;font-size:28px;line-height:1;cursor:pointer}
.yns-q-legal-x:hover,.yns-q-legal-x:focus{background:#f4ece5;outline:2px solid rgba(118,84,61,.2)}
.yns-q-legal-dialog-body{overflow:auto;padding:24px 28px;outline:none;scrollbar-gutter:stable}
.yns-q-legal-dialog-foot{padding:14px 22px;border-top:1px solid #e3d6ca;background:#fff;display:flex;justify-content:flex-start}
.yns-q-legal-doc,.yns-q-legal-page{max-width:850px;margin:0 auto;color:#3f342c;line-height:1.78}
.yns-q-legal-doc h1,.yns-q-legal-page h1{font-size:30px;line-height:1.3;margin:8px 0 6px;color:#352c26}
.yns-q-legal-doc h2,.yns-q-legal-page h2{font-size:20px;line-height:1.45;margin:28px 0 8px;color:#5a4333}
.yns-q-legal-doc p,.yns-q-legal-page p{margin:0 0 12px}
.yns-q-legal-meta{font-weight:800;color:#7a6657}
.yns-q-legal-org{font-weight:700;color:#59493e}
.yns-q-legal-page{margin:30px auto 50px;padding:34px;border:1px solid #dfd0c2;border-radius:20px;background:#fffaf5;box-shadow:0 12px 35px rgba(75,55,40,.07)}
.yns-q-legal-page hr{border:0;border-top:1px solid #d9c9bb;margin:28px 0}
.yns-q-legal-back{margin-top:30px!important;padding-top:20px;border-top:1px solid #e0d2c6}
.yns-q-auth-error-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.yns-q-auth-error-actions .yns-q-auth-link{padding:5px 0}
.yns-q-consents a[data-legal-doc]{font-weight:800}

@media(max-width:782px){
 .yns-q-legal-modal{padding:8px}
 .yns-q-legal-dialog{width:100%;height:94vh;border-radius:14px}
 .yns-q-legal-dialog-head{padding:13px 15px}
 .yns-q-legal-dialog-head h2{font-size:18px}
 .yns-q-legal-dialog-body{padding:18px 16px}
 .yns-q-legal-dialog-foot{padding:12px 15px}
 .yns-q-legal-doc h1,.yns-q-legal-page h1{font-size:24px}
 .yns-q-legal-doc h2,.yns-q-legal-page h2{font-size:18px}
 .yns-q-legal-page{margin:14px 10px 30px;padding:22px 16px}
}


/* v1.2.8 — participant navigation + tester mode */
.yns-q-account-bar{display:flex;justify-content:flex-start;gap:10px;align-items:center;margin:0 0 14px;padding:10px 14px;border:1px solid #dfd0c2;border-radius:14px;background:rgba(255,250,245,.92)}
.yns-q-account-link{appearance:none;border:0;background:transparent;color:#6c4d39;text-decoration:underline;font:inherit;font-weight:700;cursor:pointer;padding:5px 4px}
.yns-q-account-link:hover,.yns-q-account-link:focus{color:#3f2f25;outline:2px solid rgba(118,84,61,.18);outline-offset:2px;border-radius:6px}
.yns-q-mode-choice{max-width:760px;margin-inline:auto}
.yns-q-mode-buttons{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:22px 0 16px}
@media(max-width:620px){.yns-q-account-bar{position:sticky;top:6px;z-index:40;justify-content:space-between}.yns-q-mode-buttons{grid-template-columns:1fr}.yns-q-account-link{min-height:40px}}


/* v1.3.9 usability, source-schema and background-profile updates */
.yns-q-question-heading{position:relative;padding-top:18px}
.yns-q-question-ref{position:absolute;top:0;right:0;font-size:11px;font-weight:600;color:#9a8878;line-height:1.2}
.yns-q-table tbody th{position:relative;padding-top:25px}
.yns-q-table tbody th .yns-q-question-ref{top:7px;right:14px}
.yns-q-user-mode-app .yns-q-question-ref{display:block}
.yns-q-selection-note{margin:-4px 0 10px;color:#7a6758;font-size:13px}
.yns-q-account-bar{flex-wrap:wrap}
.yns-q-save-later{font-weight:700}
.yns-q-inline-save-status{font-size:13px;min-width:78px;color:#6c5c50}
.yns-q-inline-save-status[data-state="ok"]{color:#47634f}
.yns-q-inline-save-status[data-state="error"]{color:#8a3f36}
.yns-q-inline-save-status[data-state="busy"]{color:#7b5b45}
.yns-q-processing-box{margin:24px auto 8px;padding:22px;border:1px solid #dfd0c2;border-radius:16px;background:#fff;max-width:650px}
.yns-q-processing-box h3{margin:0 0 10px;color:#3b3028;font-size:23px}
.yns-q-processing-box p{font-size:16px;line-height:1.7}
.yns-q-free[data-input-kind="number"]{-moz-appearance:textfield}
.yns-q-free[data-input-kind="number"]::-webkit-outer-spin-button,.yns-q-free[data-input-kind="number"]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
@media(max-width:620px){.yns-q-account-bar{align-items:flex-start}.yns-q-inline-save-status{width:100%;order:4}.yns-q-question-ref{font-size:10px}}

/* v1.3.10 missing-answer context */

/* v1.3.12 results hierarchy */
.yns-q-results-intro,.yns-q-results-section{margin:28px 0}
.yns-q-section-intro{max-width:900px;line-height:1.75;margin:0 0 18px}
.yns-q-profile-band{font-weight:700;margin-top:4px}

/* v1.3.14 result-card polish */
.yns-q-profile-item{text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:flex-start}
.yns-q-profile-item h3{width:100%;text-align:center}
.yns-q-score-wrap{align-items:center!important;width:100%}
.yns-q-score-circle{position:relative;border:0!important;background:conic-gradient(#9a7559 var(--score-pct,0%),#e7d8cb 0)!important;padding:3px;box-sizing:border-box}
.yns-q-score-circle:before{content:"";position:absolute;inset:3px;border-radius:50%;background:#fbf7f2}
.yns-q-score-circle span{position:relative;z-index:1}
.yns-q-profile-description,.yns-q-profile-band,.yns-q-profile-value,.yns-q-score-scale{text-align:center}

/* v1.3.22 — instruction is the visual heading; no redundant "הנחיה" label */
.yns-q-user-instruction,.yns-q-instruction p{font-size:clamp(20px,2.2vw,28px);font-weight:800;line-height:1.45;text-align:center;color:#3f3128}
.yns-q-user-instruction,.yns-q-instruction{padding:18px 22px;border-radius:14px;background:#fffaf3}



/* v1.3.37 — restored one-question-at-a-time missing-answer continuation */
.yns-q-missing-review{max-width:900px;margin:0 auto;padding:8px 0 28px}
.yns-q-missing-review-head{margin:0 0 22px;padding:18px 20px;border:1px solid #d9c8b9;border-radius:16px;background:#fffaf5;text-align:center}
.yns-q-missing-review-head h2{margin:0 0 8px}
.yns-q-missing-review-head p{margin:0;line-height:1.6}
.yns-q-missing-review-nav{display:flex;gap:14px;justify-content:center;align-items:center;flex-wrap:wrap;margin-top:22px}
.yns-q-submit-incomplete{display:block;margin:16px auto 0;border:0;background:transparent;text-decoration:underline;color:#6b5a4d;cursor:pointer;font-size:14px}
.yns-q-missing-instruction{margin:0 0 18px;padding:14px 16px;border-radius:12px;background:#fffaf3}
.yns-q-missing-instruction p{margin:0;font-size:clamp(20px,2.2vw,28px);font-weight:800;line-height:1.45;text-align:center;color:#3f3128}
@media (min-width:783px){
 .yns-q-missing-review{max-width:900px;margin:8px auto 18px;display:flex;flex-direction:column;gap:10px}
 .yns-q-missing-review-head{margin:0;padding:10px 14px}
 .yns-q-missing-review-head h2{margin:0 0 4px;font-size:22px}
 .yns-q-missing-review-head p{margin:0}
 .yns-q-missing-review .yns-q-missing-instruction{margin:0;padding:10px 14px}
 .yns-q-missing-review .yns-q-missing-instruction p{font-size:clamp(17px,1.45vw,21px);line-height:1.35}
 .yns-q-missing-review .yns-q-question-card{margin:0;padding-top:14px;padding-bottom:14px}
 .yns-q-missing-review .yns-q-nav{margin:0;padding-top:4px}
 .yns-q-missing-review .yns-q-submit-incomplete{margin-top:0}
}


/* v1.3.38 — clearer public entry choices + explicit missing-question skip */
.yns-q-entry-choice{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:28px}
.yns-q-entry-option{padding:20px;border:1px solid #d8c5b4;border-radius:16px;background:#fffdf9;text-align:center}
.yns-q-entry-option h3{margin:0 0 8px;color:#3f3128;font-size:1.18rem}
.yns-q-entry-option p{margin:0 0 16px!important;font-size:.98rem!important;line-height:1.6;color:#5c4b3f!important}
.yns-q-entry-option .yns-q-btn{width:100%;min-height:48px}
.yns-q-missing-skip{background:transparent!important;color:#6b5a4d!important;border-color:#bfa995!important}
.yns-q-missing-skip:hover{background:#f6ede4!important}
@media(max-width:700px){.yns-q-entry-choice{grid-template-columns:1fr}.yns-q-entry-option{padding:18px 16px}}


/* v1.3.43 — full-screen participant questionnaire stage.
   The questionnaire uses the available viewport instead of shrinking into a
   narrow compact card. Ordinary questions expand naturally across the screen;
   longer content can still extend the page without an inner answer scroller. */
body.yns-q-filling{overflow:auto;overscroll-behavior-y:auto}
body.yns-q-filling .yns-q-page{min-height:100vh;min-height:100dvh;display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:visible}
body.yns-q-filling .yns-q-main{width:calc(100% - 40px);max-width:none;min-height:0;margin:0 auto;padding:14px 0 12px;display:flex;flex-direction:column;overflow:visible}
body.yns-q-filling .yns-q-hero,body.yns-q-filling .yns-q-footer{display:none}
body.yns-q-filling .yns-q-content{flex:1;min-height:0;display:flex;flex-direction:column;overflow:visible;overflow-anchor:none}
body.yns-q-filling .yns-q-account-bar{position:static;z-index:auto;flex:0 0 auto;margin:0 0 12px;padding:9px 14px;min-height:46px;gap:12px;border-radius:13px;overflow-anchor:none}
body.yns-q-filling .yns-q-account-link{min-height:32px;padding:5px 5px;font-size:14px}
body.yns-q-filling .yns-q-inline-save-status{min-width:72px;font-size:13px}
body.yns-q-filling .yns-q-block{flex:1;min-height:0;margin:0;display:grid;grid-template-rows:auto minmax(0,1fr);overflow:visible;border-radius:20px;overflow-anchor:none}
body.yns-q-filling .yns-q-block-header.user{padding:16px 24px 13px}
body.yns-q-filling .yns-q-block-header.user .yns-q-purpose h2{margin:0 0 8px;font-size:clamp(22px,1.65vw,29px);line-height:1.2;text-align:center}
body.yns-q-filling .yns-q-user-instruction{padding:13px 18px;font-size:clamp(20px,1.65vw,27px);line-height:1.35}
body.yns-q-filling .yns-q-block-body{min-height:0;display:flex;flex-direction:column;overflow:visible}
body.yns-q-filling .yns-q-card-list{flex:1;min-height:0;padding:16px 22px;display:grid;grid-auto-rows:minmax(0,1fr);gap:14px}
body.yns-q-filling .yns-q-question-card{min-height:0;padding:20px 24px;display:flex;flex-direction:column;overflow:visible;overflow-anchor:none}
body.yns-q-filling .yns-q-question-heading{flex:0 0 auto;margin-bottom:16px;padding-top:18px}
body.yns-q-filling .yns-q-question-heading h3{font-size:clamp(20px,1.5vw,26px);line-height:1.4;margin-top:2px}
body.yns-q-filling .yns-q-question-ref{font-size:11px}
body.yns-q-filling .yns-q-question-body{flex:1;min-height:0;display:flex;flex-direction:column;overflow:visible}
body.yns-q-filling .yns-q-options{flex:1;min-height:0;display:grid;grid-auto-rows:minmax(54px,1fr);gap:10px}
body.yns-q-filling .yns-q-answer-option{min-height:54px;padding:11px 16px;border-radius:12px}
body.yns-q-filling .yns-q-answer-text,body.yns-q-filling .yns-q-user-mode-app .yns-q-answer-text{font-size:clamp(17px,1.15vw,21px);line-height:1.35}
body.yns-q-filling .yns-q-nav{flex:0 0 auto;margin:12px 0 0;padding:0 4px;align-items:center;overflow-anchor:none}
body.yns-q-filling .yns-q-nav button{min-height:52px;padding:12px 22px;font-size:16px}
body.yns-q-filling .yns-q-final-next{min-width:230px;min-height:56px;padding:13px 30px;font-size:18px}
body.yns-q-filling .yns-q-progress{position:sticky;bottom:0;z-index:20;width:calc(100% - 40px);max-width:none;margin:0 auto;padding:10px 16px;min-height:42px}
body.yns-q-filling .yns-q-table-shell{flex:1;min-height:0;overflow-x:auto;overflow-y:visible;padding:14px 20px 18px}

/* Missing-question mode uses the same full-screen stage. */
body.yns-q-missing-filling .yns-q-missing-review{flex:1;width:100%;max-width:none;min-height:0;margin:0;padding:0;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;gap:12px;overflow:visible;overflow-anchor:none}
body.yns-q-missing-filling .yns-q-missing-review-head{margin:0;padding:12px 18px;border-radius:14px}
body.yns-q-missing-filling .yns-q-missing-review-head h2{margin:0 0 5px;font-size:clamp(21px,1.5vw,27px);line-height:1.2}
body.yns-q-missing-filling .yns-q-missing-review-head p{font-size:15px;line-height:1.45}
body.yns-q-missing-filling .yns-q-missing-instruction{margin:0;padding:11px 16px;border-radius:12px}
body.yns-q-missing-filling .yns-q-missing-instruction p{font-size:clamp(20px,1.65vw,27px);line-height:1.3}
body.yns-q-missing-filling .yns-q-missing-review>.yns-q-question-card{min-height:0;margin:0;padding:18px 24px;display:flex;overflow:visible}
body.yns-q-missing-filling .yns-q-missing-review>.yns-q-question-card .yns-q-question-body{flex:1}
body.yns-q-missing-filling .yns-q-missing-review-nav{margin:0;padding:0 0 2px;flex-wrap:nowrap;justify-content:center;gap:12px}
body.yns-q-missing-filling .yns-q-missing-complete{display:flex;align-items:center;justify-content:center}
body.yns-q-missing-filling .yns-q-missing-complete .yns-q-missing-review-head{width:min(900px,100%)}

@media(max-width:782px){
 body.yns-q-filling .yns-q-page{grid-template-rows:auto minmax(0,1fr) auto}
 body.yns-q-filling .yns-q-sitebar{min-height:54px;padding:0 8px}
 body.yns-q-filling .yns-q-brand{gap:8px}
 body.yns-q-filling .yns-q-brand strong{font-size:17px}
 body.yns-q-filling .yns-q-brand small{display:none}
 body.yns-q-filling .yns-q-mark{width:33px;height:33px;border-radius:9px}
 body.yns-q-filling .yns-q-test-badge{padding:5px 8px;font-size:11px}
 body.yns-q-filling .yns-q-main{width:calc(100% - 12px);padding:6px 0 7px}
 body.yns-q-filling .yns-q-account-bar{align-items:center;justify-content:space-between;min-height:40px;margin-bottom:6px;padding:4px 6px;gap:4px;flex-wrap:nowrap}
 body.yns-q-filling .yns-q-account-link{min-height:30px;font-size:11.5px;padding:4px 2px;white-space:nowrap}
 body.yns-q-filling .yns-q-inline-save-status{width:auto;min-width:0;order:initial;font-size:10.5px;white-space:nowrap}
 body.yns-q-filling .yns-q-block{border-radius:15px}
 body.yns-q-filling .yns-q-block-header.user{padding:10px 10px 8px}
 body.yns-q-filling .yns-q-block-header.user .yns-q-purpose h2{font-size:19px;margin-bottom:5px}
 body.yns-q-filling .yns-q-user-instruction{padding:8px 10px;font-size:17px;line-height:1.28}
 body.yns-q-filling .yns-q-card-list{padding:7px 8px;gap:7px}
 body.yns-q-filling .yns-q-question-card{padding:11px 10px;border-radius:12px}
 body.yns-q-filling .yns-q-question-heading{margin-bottom:8px;padding-top:14px}
 body.yns-q-filling .yns-q-question-heading h3{font-size:17px;line-height:1.3}
 body.yns-q-filling .yns-q-question-ref{font-size:9.5px}
 body.yns-q-filling .yns-q-options{grid-auto-rows:minmax(43px,1fr);gap:5px}
 body.yns-q-filling .yns-q-answer-option{min-height:43px;padding:7px 9px;border-radius:9px}
 body.yns-q-filling .yns-q-answer-text,body.yns-q-filling .yns-q-user-mode-app .yns-q-answer-text{font-size:16px;line-height:1.25}
 body.yns-q-filling .yns-q-zero-ten{gap:3px}
 body.yns-q-filling .yns-q-scale-point{min-height:40px;font-size:13px}
 body.yns-q-filling .yns-q-zero-ten-anchors{margin-top:4px;font-size:11px}
 body.yns-q-filling .yns-q-nav{gap:6px;margin-top:6px;padding:0}
 body.yns-q-filling .yns-q-nav button{min-height:43px;padding:8px 11px;font-size:13px}
 body.yns-q-filling .yns-q-final-next{min-width:0;min-height:45px;padding:9px 14px;font-size:15px}
 body.yns-q-filling .yns-q-progress{width:calc(100% - 12px);min-height:32px;padding:5px 8px;gap:8px}
 body.yns-q-filling .yns-q-progress-track{height:7px}
 body.yns-q-filling .yns-q-progress-text{font-size:11px;min-width:31px}
 body.yns-q-missing-filling .yns-q-missing-review{gap:6px}
 body.yns-q-missing-filling .yns-q-missing-review-head{padding:7px 9px}
 body.yns-q-missing-filling .yns-q-missing-review-head h2{font-size:17px;margin-bottom:2px}
 body.yns-q-missing-filling .yns-q-missing-review-head p{font-size:11.5px;line-height:1.25}
 body.yns-q-missing-filling .yns-q-missing-instruction{padding:6px 8px}
 body.yns-q-missing-filling .yns-q-missing-instruction p{font-size:16px;line-height:1.24}
 body.yns-q-missing-filling .yns-q-missing-review>.yns-q-question-card{padding:9px 10px}
 body.yns-q-missing-filling .yns-q-missing-review-nav{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:6px}
 body.yns-q-missing-filling .yns-q-missing-review-nav>button:only-child{grid-column:1/-1;justify-self:center;min-width:min(240px,85vw)}
 body.yns-q-missing-filling .yns-q-missing-review-nav button{width:100%;min-width:0}
}

/* Short phones: keep the full-screen scale, trim only chrome/padding, and keep
   progress in normal flow so it can never cover the navigation buttons. */
@media(max-width:782px) and (max-height:650px){
 body.yns-q-filling .yns-q-page{min-height:100dvh;height:auto;display:block}
 body.yns-q-filling .yns-q-sitebar{min-height:48px}
 body.yns-q-filling .yns-q-main{min-height:0;padding:4px 0 3px}
 body.yns-q-filling .yns-q-content{min-height:auto}
 body.yns-q-filling .yns-q-account-bar{min-height:34px;margin-bottom:4px;padding:2px 5px}
 body.yns-q-filling .yns-q-account-link{min-height:26px;padding-block:2px}
 body.yns-q-filling .yns-q-block,body.yns-q-missing-filling .yns-q-missing-review{min-height:auto}
 body.yns-q-missing-filling .yns-q-missing-review{flex:0 0 auto}
 body.yns-q-filling .yns-q-block{flex:0 0 auto}
 body.yns-q-filling .yns-q-block-body{flex:0 0 auto}
 body.yns-q-filling .yns-q-card-list{flex:0 0 auto;grid-auto-rows:auto}
 body.yns-q-filling .yns-q-question-body{flex:0 0 auto}
 body.yns-q-filling .yns-q-options{flex:0 0 auto;grid-auto-rows:minmax(43px,auto)}
 body.yns-q-filling .yns-q-block-header.user{padding:7px 9px 6px}
 body.yns-q-filling .yns-q-block-header.user .yns-q-purpose h2{margin-bottom:3px}
 body.yns-q-filling .yns-q-user-instruction{padding:6px 9px}
 body.yns-q-filling .yns-q-card-list{padding:5px 7px}
 body.yns-q-filling .yns-q-question-card{padding:8px 9px}
 body.yns-q-filling .yns-q-question-heading{margin-bottom:6px;padding-top:12px}
 body.yns-q-filling .yns-q-nav{margin-top:4px}
 body.yns-q-filling .yns-q-progress{position:static;width:calc(100% - 12px);min-height:28px;margin:4px auto 0;padding:4px 8px}
 body.yns-q-missing-filling .yns-q-missing-review{gap:4px}
 body.yns-q-missing-filling .yns-q-missing-review-head{padding:5px 8px}
 body.yns-q-missing-filling .yns-q-missing-instruction{padding:5px 8px}
 body.yns-q-missing-filling .yns-q-missing-review>.yns-q-question-card{padding:7px 9px}
}


/* v1.3.44 — unified question hierarchy, connected 0–10 scale and centered personal area. */
body.yns-q-filling .yns-q-question-heading{
  position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:7px;text-align:center;padding-top:4px;margin-bottom:16px
}
body.yns-q-filling .yns-q-question-heading .yns-q-question-ref{
  position:static;display:block;order:0;font-size:12px;line-height:1.2;color:#9a8878;text-align:center
}
body.yns-q-filling .yns-q-question-instruction{
  order:1;margin:0;max-width:1100px;color:#5b493c;font-size:clamp(18px,1.35vw,23px);font-weight:750;line-height:1.35;text-align:center
}
body.yns-q-filling .yns-q-question-heading h3{
  order:2;width:100%;margin:0!important;color:#3b3028;font-size:clamp(21px,1.65vw,28px);line-height:1.38;text-align:center
}
body.yns-q-filling .yns-q-block-header.user .yns-q-user-instruction,
body.yns-q-missing-filling .yns-q-missing-instruction{display:none!important}

body.yns-q-filling .yns-q-zero-ten-track{
  position:relative;isolation:isolate;width:min(920px,100%);margin:auto;
  display:grid;grid-template-columns:repeat(11,minmax(0,1fr));gap:0;align-items:center;padding:12px 0
}
body.yns-q-filling .yns-q-zero-ten-track::before{
  content:"";position:absolute;z-index:0;top:50%;left:4.55%;right:4.55%;height:3px;
  transform:translateY(-50%);border-radius:999px;background:#d2bda9
}
body.yns-q-filling .yns-q-scale-point{
  position:relative;z-index:1;justify-self:center;display:grid;place-items:center;
  width:clamp(32px,3.2vw,48px);height:clamp(32px,3.2vw,48px);min-width:0;min-height:0;padding:0;
  border:2px solid #b89578;border-radius:50%;background:#fffaf4;color:#5b4637;
  font-size:clamp(13px,1vw,16px);font-weight:850;line-height:1;box-shadow:0 1px 4px rgba(77,55,40,.10);
  transition:transform .14s ease,background .14s ease,border-color .14s ease,color .14s ease,box-shadow .14s ease
}
body.yns-q-filling .yns-q-scale-point:hover{background:#f1e4d7;border-color:#8f6a50;transform:scale(1.06)}
body.yns-q-filling .yns-q-scale-point.selected{
  background:#76543d;border-color:#76543d;color:#fff;transform:scale(1.14);
  box-shadow:0 0 0 4px #efe1d4,0 4px 12px rgba(77,55,40,.18)
}
body.yns-q-filling .yns-q-zero-ten-anchors{display:none}
body.yns-q-filling .yns-q-not-relevant{margin-top:12px}

.yns-q-dashboard-completed{text-align:center}
.yns-q-dashboard-completed .yns-q-dashboard-head{flex-direction:column;align-items:center;justify-content:center;text-align:center}
.yns-q-dashboard-completed .yns-q-dashboard-head>div{width:100%}
.yns-q-dashboard-completed .yns-q-summary{max-width:650px;margin:24px auto}
.yns-q-dashboard-completed .yns-q-summary>div{text-align:center}
.yns-q-dashboard-completed .yns-q-rights,
.yns-q-dashboard-completed .yns-q-support-note{text-align:center}
.yns-q-personal-snapshot-box{text-align:center;max-width:700px;padding:28px 30px}
.yns-q-personal-snapshot-box h3{font-size:26px}
.yns-q-personal-snapshot-box p{max-width:620px;margin:10px auto;line-height:1.75}
.yns-q-personal-snapshot-cta{display:flex!important;align-items:center;justify-content:center;margin:22px auto 0;min-width:min(420px,100%);min-height:58px;padding:14px 28px;font-size:17px;text-align:center}
.yns-q-completion .yns-q-mode-buttons{display:flex;justify-content:center;align-items:center}
.yns-q-completion .yns-q-mode-buttons .yns-q-btn{display:flex;align-items:center;justify-content:center;min-width:min(360px,100%);min-height:54px;text-align:center}

body.yns-q-missing-filling .yns-q-missing-review{grid-template-rows:auto minmax(0,1fr) auto}

@media(max-width:782px){
 body.yns-q-filling .yns-q-question-heading{gap:5px;padding-top:2px;margin-bottom:9px}
 body.yns-q-filling .yns-q-question-heading .yns-q-question-ref{font-size:10px}
 body.yns-q-filling .yns-q-question-instruction{font-size:16px;line-height:1.25}
 body.yns-q-filling .yns-q-question-heading h3{font-size:18px;line-height:1.28}
 body.yns-q-filling .yns-q-zero-ten-track{width:100%;padding:9px 0}
 body.yns-q-filling .yns-q-zero-ten-track::before{height:2px}
 body.yns-q-filling .yns-q-scale-point{width:28px;height:28px;font-size:12px;border-width:1.5px}
 body.yns-q-filling .yns-q-scale-point.selected{box-shadow:0 0 0 3px #efe1d4,0 3px 9px rgba(77,55,40,.16)}
 .yns-q-dashboard-completed .yns-q-summary{grid-template-columns:1fr}
 .yns-q-personal-snapshot-box{padding:22px 16px}
 .yns-q-personal-snapshot-box h3{font-size:23px}
 .yns-q-personal-snapshot-cta{min-width:0;width:100%;font-size:16px}
}
@media(max-width:370px){
 body.yns-q-filling .yns-q-scale-point{width:26px;height:26px;font-size:11px}
}
.yns-q-dashboard-completed .yns-q-results-intro,
.yns-q-dashboard-completed .yns-q-results-section,
.yns-q-dashboard-completed .yns-q-profile-item{text-align:center}
.yns-q-dashboard-completed .yns-q-section-intro{margin-left:auto;margin-right:auto}
.yns-q-dashboard-completed .yns-q-score-wrap{align-items:center}

/* v1.3.45 — full participant UI audit: compact matrices, clear binary choices,
   stable first row, readable answer text and consistent viewport use. */
body.yns-q-filling .yns-q-table-shell{
  flex:0 0 auto;min-height:0;overflow:visible;padding:8px 16px 10px
}
body.yns-q-filling .yns-q-table{
  table-layout:fixed;border-radius:14px;overflow:hidden
}
body.yns-q-filling .yns-q-table thead,
body.yns-q-filling .yns-q-table-prompt,
body.yns-q-filling .yns-q-table-prompt th,
body.yns-q-filling .yns-q-table-answers,
body.yns-q-filling .yns-q-table-answers th{
  position:static!important;top:auto!important
}
body.yns-q-filling .yns-q-floating-head{display:none!important}
body.yns-q-filling .yns-q-table thead th:first-child{width:auto!important}
body.yns-q-filling .yns-q-table-prompt th{
  padding:15px 20px;text-align:center;font-size:clamp(20px,1.45vw,25px);line-height:1.35;font-weight:800
}
body.yns-q-filling .yns-q-table-answers th{
  padding:9px 6px;font-size:16px;line-height:1.25;font-weight:800;vertical-align:middle
}
body.yns-q-filling .yns-q-table-answers th>span{
  font-size:16px!important;line-height:1.25!important;padding:0
}
body.yns-q-filling .yns-q-question-col-head{text-align:center!important}
body.yns-q-filling .yns-q-number-col-head{
  font-size:13px!important;color:#735b49;white-space:nowrap
}
body.yns-q-filling .yns-q-table tbody th.yns-q-matrix-question{
  display:table-cell;vertical-align:middle;padding:10px 14px;text-align:right;font-weight:500
}
body.yns-q-filling .yns-q-table tbody th.yns-q-matrix-question .yns-q-question-text{
  display:block;padding:0;text-align:right;font-size:clamp(17px,1.08vw,19px);line-height:1.35
}
body.yns-q-filling .yns-q-matrix-number{
  padding:8px 4px!important;text-align:center!important;vertical-align:middle!important;
  color:#8b705c;font-size:13px;font-weight:800;background:#fffdf9;border-inline-start:1px solid #e2d3c5
}
body.yns-q-filling .yns-q-mobile-question-ref{display:none}
body.yns-q-filling .yns-q-table tbody td.yns-q-choice-cell{
  height:50px;min-height:0;padding:0
}
body.yns-q-filling .yns-q-table-binary tbody td.yns-q-choice-cell{height:48px}
body.yns-q-filling .yns-q-table tbody tr:first-child th,
body.yns-q-filling .yns-q-table tbody tr:first-child td{
  border-top:0;visibility:visible;opacity:1
}

/* Ordinary answer lists should stay comfortably sized rather than stretching to
   fill all remaining vertical space. */
body.yns-q-filling .yns-q-question-body{justify-content:flex-start}
body.yns-q-filling .yns-q-options{
  flex:0 0 auto;grid-auto-rows:auto;gap:9px
}
body.yns-q-filling .yns-q-answer-option{
  min-height:52px;padding:10px 15px
}
body.yns-q-filling .yns-q-answer-text,
body.yns-q-filling .yns-q-user-mode-app .yns-q-answer-text{
  font-size:clamp(18px,1.18vw,21px);line-height:1.35
}

/* Simple yes/no questions: two compact, equal buttons centered below the question. */
body.yns-q-filling .yns-q-user-mode-app .yns-q-binary{
  flex:0 0 auto!important;display:flex!important;flex-direction:row;justify-content:center;align-items:center;
  width:min(430px,100%);max-width:430px;margin:8px auto 0!important;gap:14px
}
body.yns-q-filling .yns-q-user-mode-app .yns-q-binary .yns-q-answer-option{
  flex:1 1 0;width:auto!important;min-width:0;min-height:54px!important;padding:10px 18px!important;
  display:flex!important;align-items:center;justify-content:center;border-radius:12px
}
body.yns-q-filling .yns-q-user-mode-app .yns-q-binary .yns-q-answer-text{
  width:auto;font-size:19px!important;font-weight:800;text-align:center
}

/* 0–10 scales can include both “don't know” and “not relevant”. */
body.yns-q-filling .yns-q-zero-ten-anchors{
  width:min(920px,100%);margin:2px auto 0;display:flex!important;justify-content:space-between;gap:16px;
  color:#71665d;font-size:13px;line-height:1.3
}
body.yns-q-filling .yns-q-scale-extras{
  display:flex;justify-content:center;align-items:center;gap:10px;flex-wrap:wrap;margin:12px auto 0
}
body.yns-q-filling .yns-q-scale-extras .yns-q-not-relevant{
  flex:0 1 210px;width:auto;min-height:44px;margin:0;padding:8px 18px
}
body.yns-q-filling .yns-q-scale-extras .yns-q-answer-text{font-size:16px!important;font-weight:700}

/* Verification screen secondary actions are visually separate, never concatenated. */
.yns-q-auth-secondary-actions{
  display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap;margin-top:4px
}
.yns-q-auth-secondary-actions>span{color:#b7a18f}

@media(max-width:782px){
 body.yns-q-filling .yns-q-table-shell{padding:6px 7px 8px}
 body.yns-q-filling .yns-q-table{overflow:visible}
 body.yns-q-filling .yns-q-table colgroup{display:none}
 body.yns-q-filling .yns-q-table-prompt th{
   padding:11px 12px;font-size:18px;line-height:1.3;text-align:center
 }
 body.yns-q-filling .yns-q-table tbody tr{padding:10px;margin-bottom:8px}
 body.yns-q-filling .yns-q-table tbody th.yns-q-matrix-question{
   display:block!important;width:100%!important;padding:0 0 9px!important;text-align:center
 }
 body.yns-q-filling .yns-q-table tbody th.yns-q-matrix-question .yns-q-question-text{
   text-align:center;font-size:16px;line-height:1.3
 }
 body.yns-q-filling .yns-q-mobile-question-ref{
   display:block;margin-bottom:3px;color:#9a8878;font-size:10px;font-weight:800;text-align:center
 }
 body.yns-q-filling .yns-q-matrix-number{display:none!important}
 body.yns-q-filling .yns-q-table tbody td.yns-q-choice-cell{
   display:flex;width:100%;height:auto;min-height:42px;padding:7px 8px;justify-content:flex-start
 }
 body.yns-q-filling .yns-q-table tbody td.yns-q-choice-cell:before{
   position:static;transform:none;width:auto;min-width:145px;text-align:right;font-size:14px;line-height:1.25
 }
 body.yns-q-filling .yns-q-answer-text,
 body.yns-q-filling .yns-q-user-mode-app .yns-q-answer-text{font-size:16.5px;line-height:1.3}
 body.yns-q-filling .yns-q-user-mode-app .yns-q-binary{width:min(360px,100%);gap:9px;margin-top:6px!important}
 body.yns-q-filling .yns-q-user-mode-app .yns-q-binary .yns-q-answer-option{min-height:48px!important;padding:8px 12px!important}
 body.yns-q-filling .yns-q-user-mode-app .yns-q-binary .yns-q-answer-text{font-size:17px!important}
 body.yns-q-filling .yns-q-zero-ten-anchors{font-size:11px;gap:8px}
 body.yns-q-filling .yns-q-scale-extras{gap:7px;margin-top:8px;flex-wrap:nowrap}
 body.yns-q-filling .yns-q-scale-extras .yns-q-not-relevant{flex:1 1 0;min-width:0;min-height:40px;padding:7px 8px}
 body.yns-q-filling .yns-q-scale-extras .yns-q-answer-text{font-size:14px!important}
 .yns-q-auth-secondary-actions{gap:7px 10px}
}
/* Keep optional 0–10 responses side by side rather than inheriting full-width choice buttons. */
body.yns-q-filling .yns-q-scale-extras .yns-q-not-relevant{width:210px!important}
@media(max-width:782px){body.yns-q-filling .yns-q-scale-extras .yns-q-not-relevant{width:auto!important}}
@media(max-width:782px){
 body.yns-q-filling .yns-q-table-answers{display:none!important}
 body.yns-q-filling .yns-q-progress{position:static!important;margin-top:6px}
 body.yns-q-filling .yns-q-table tbody td.yns-q-choice-cell{
   margin:3px 0;border:1px solid #eaded2!important;border-radius:8px;background:#fffaf5
 }
 body.yns-q-filling .yns-q-scale-extras{width:min(280px,100%)}
 body.yns-q-filling .yns-q-scale-extras .yns-q-not-relevant{min-height:44px;height:44px}
}

/* v1.3.46 — systematic participant-layout rules.
   Content determines height; the viewport is used as a minimum canvas only.
   No question, answer list, block or navigation row is allowed to overlap the next one. */
body.yns-q-filling .yns-q-block{
  flex:0 0 auto!important;display:flex!important;flex-direction:column;
  min-height:max(520px,calc(100dvh - 285px));height:auto!important;overflow:visible!important
}
body.yns-q-filling .yns-q-block-body{
  flex:1 0 auto!important;min-height:0;height:auto!important;display:flex;flex-direction:column;overflow:visible!important
}
body.yns-q-filling .yns-q-card-list{
  flex:0 0 auto!important;min-height:0!important;height:auto!important;display:block!important;
  grid-auto-rows:auto!important;padding:12px 18px;overflow:visible!important
}
body.yns-q-filling .yns-q-card-list+.yns-q-card-list{padding-top:0}
body.yns-q-filling .yns-q-question-card{
  flex:0 0 auto!important;min-height:0!important;height:auto!important;overflow:visible!important;padding:18px 22px
}
body.yns-q-filling .yns-q-question-body{
  flex:0 0 auto!important;min-height:0!important;height:auto!important;overflow:visible!important;justify-content:flex-start
}
body.yns-q-filling .yns-q-options{
  flex:0 0 auto!important;min-height:0!important;height:auto!important;grid-auto-rows:auto!important;gap:8px
}
body.yns-q-filling .yns-q-answer-option{min-height:48px;height:auto!important;padding:9px 14px}

/* One block instruction only. Text wraps naturally; punctuation does not force line breaks. */
body.yns-q-filling .yns-q-block-instruction{
  flex:0 0 auto;margin:8px 18px 6px;padding:13px 18px;border:1px solid #dfd0c2;border-radius:14px;
  background:#f2e4d4;text-align:center
}
body.yns-q-filling .yns-q-block-instruction p{
  max-width:1380px;margin:0 auto;color:#4a392e;font-size:clamp(18px,1.35vw,23px);font-weight:800;line-height:1.5;text-align:center
}

/* Choice lists: the whole row remains clickable, but its label is centered consistently. */
body.yns-q-filling .yns-q-user-mode-app .yns-q-choice-button{
  display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important
}
body.yns-q-filling .yns-q-user-mode-app .yns-q-choice-button .yns-q-answer-text{
  width:100%;text-align:center!important
}
body.yns-q-filling .yns-q-selection-note{text-align:center;margin:0 auto 8px}

/* Short numeric fields (age, height, weight, etc.) are compact instead of full-width bars. */
body.yns-q-filling .yns-q-short-input{padding-block:16px}
body.yns-q-filling .yns-q-short-input .yns-q-question-heading{margin-bottom:10px;padding-top:0}
body.yns-q-filling .yns-q-short-input .yns-q-free{
  width:min(420px,100%)!important;min-height:50px;margin:0 auto!important;padding:10px 14px;
  font-size:19px;text-align:center
}
body.yns-q-filling .yns-q-short-input .yns-q-field-error{max-width:420px;margin-inline:auto}

/* Matrix rules: statement on the right, question number in its own narrow column,
   compact response columns, centered response labels, and no sticky header covering row 1. */
body.yns-q-filling .yns-q-table-shell{
  flex:0 0 auto;min-height:0;height:auto;overflow-x:auto;overflow-y:visible;padding:8px 14px 12px
}
body.yns-q-filling .yns-q-table-shell.yns-q-table-fill{flex:1 0 auto;display:flex;align-items:stretch}
body.yns-q-filling .yns-q-table-shell.yns-q-table-fill .yns-q-table{height:100%}
body.yns-q-filling .yns-q-table{table-layout:fixed;overflow:hidden}
body.yns-q-filling .yns-q-table thead,
body.yns-q-filling .yns-q-table-answers,
body.yns-q-filling .yns-q-table-answers th{position:static!important;top:auto!important}
body.yns-q-filling .yns-q-floating-head{display:none!important}
body.yns-q-filling .yns-q-question-col-head{text-align:right!important;padding-right:14px!important}
body.yns-q-filling .yns-q-number-col-head{text-align:center!important;font-size:12px!important;white-space:nowrap}
body.yns-q-filling .yns-q-table-answers th{padding:8px 4px;font-size:15px;line-height:1.2;vertical-align:middle;text-align:center}
body.yns-q-filling .yns-q-table-answers th>span{font-size:15px!important;line-height:1.2!important;padding:0;text-align:center}
body.yns-q-filling .yns-q-table tbody th.yns-q-matrix-question{
  display:table-cell!important;vertical-align:middle;padding:9px 14px;text-align:right!important;font-weight:500
}
body.yns-q-filling .yns-q-table tbody th.yns-q-matrix-question .yns-q-question-text{
  display:block;padding:0;text-align:right!important;font-size:clamp(16px,1.03vw,18px);line-height:1.3
}
body.yns-q-filling .yns-q-matrix-number{
  display:table-cell!important;padding:7px 3px!important;text-align:center!important;vertical-align:middle!important;
  color:#8b705c;font-size:12px;font-weight:800;background:#fffdf9;border-inline-start:1px solid #e2d3c5
}
body.yns-q-filling .yns-q-table tbody td.yns-q-choice-cell{height:46px;min-height:0;padding:0}
body.yns-q-filling .yns-q-table-binary tbody td.yns-q-choice-cell{height:46px}
body.yns-q-filling .yns-q-table tbody tr:first-child th,
body.yns-q-filling .yns-q-table tbody tr:first-child td{visibility:visible!important;opacity:1!important}
body.yns-q-filling .yns-q-table-anchor-row th{
  padding:6px 3px 4px;background:#eadbca;color:#6b5140;font-size:11.5px;line-height:1.2;text-align:center;border-bottom:0
}
body.yns-q-filling .yns-q-table-anchor-row+tr th{border-top:1px solid #d9c9b8}
body.yns-q-filling .yns-q-table-wide-scale .yns-q-table-answers th{font-size:13px;padding-inline:2px}
body.yns-q-filling .yns-q-table-wide-scale tbody th.yns-q-matrix-question .yns-q-question-text{font-size:15px}
body.yns-q-filling .yns-q-table-wide-scale tbody td.yns-q-choice-cell{height:39px}

/* Navigation/progress stay after the complete block. They never sit on top of answers. */
body.yns-q-filling .yns-q-nav{position:relative;z-index:2;flex:0 0 auto;margin:10px 0 0;padding:0 4px}
body.yns-q-filling .yns-q-progress{position:static!important;z-index:2;flex:0 0 auto;margin:7px auto 0!important}

/* Missing-answer review keeps instruction + question together without forcing viewport height. */
body.yns-q-missing-filling .yns-q-missing-review{
  flex:0 0 auto!important;display:flex!important;flex-direction:column;min-height:0!important;height:auto!important;overflow:visible!important
}
body.yns-q-missing-filling .yns-q-missing-review>.yns-q-question-card{flex:0 0 auto!important;height:auto!important;min-height:0!important}

@media(max-width:782px){
 body.yns-q-filling .yns-q-block{min-height:0!important;height:auto!important}
 body.yns-q-filling .yns-q-card-list{padding:7px 8px}
 body.yns-q-filling .yns-q-card-list+.yns-q-card-list{padding-top:0}
 body.yns-q-filling .yns-q-question-card{padding:11px 10px}
 body.yns-q-filling .yns-q-block-instruction{margin:5px 7px;padding:9px 10px}
 body.yns-q-filling .yns-q-block-instruction p{font-size:16.5px;line-height:1.38}
 body.yns-q-filling .yns-q-short-input .yns-q-free{width:min(300px,100%)!important;min-height:46px;font-size:17px}
 body.yns-q-filling .yns-q-table-shell,
 body.yns-q-filling .yns-q-table-shell.yns-q-table-fill{display:block;flex:0 0 auto;height:auto;padding:6px 7px 8px;overflow:visible}
 body.yns-q-filling .yns-q-table-shell.yns-q-table-fill .yns-q-table{height:auto}
 body.yns-q-filling .yns-q-table colgroup{display:none}
 body.yns-q-filling .yns-q-table-answers,
 body.yns-q-filling .yns-q-table-anchor-row{display:none!important}
 body.yns-q-filling .yns-q-table tbody tr{display:block;width:100%;height:auto!important;min-height:0!important;padding:10px;margin:0 0 8px;box-sizing:border-box}
 body.yns-q-filling .yns-q-table tbody th.yns-q-matrix-question{display:block!important;width:100%!important;padding:0 0 9px!important;text-align:center!important}
 body.yns-q-filling .yns-q-table tbody th.yns-q-matrix-question .yns-q-question-text{text-align:center!important;font-size:16px;line-height:1.3}
 body.yns-q-filling .yns-q-mobile-question-ref{display:block;margin-bottom:3px;color:#9a8878;font-size:10px;font-weight:800;text-align:center}
 body.yns-q-filling .yns-q-matrix-number{display:none!important}
 body.yns-q-filling .yns-q-table tbody td.yns-q-choice-cell{
   display:flex;width:100%;height:auto!important;min-height:40px;padding:6px 8px;justify-content:flex-start;margin:3px 0;
   border:1px solid #eaded2!important;border-radius:8px;background:#fffaf5;box-sizing:border-box
 }
 body.yns-q-filling .yns-q-table tbody td.yns-q-choice-cell:before{
   position:static;transform:none;width:auto;min-width:145px;text-align:right;font-size:14px;line-height:1.25
 }
 body.yns-q-filling .yns-q-progress{position:static!important;margin-top:6px!important}
}
@media(max-width:782px){
 /* Large 0–10 matrices stay compact on phones: one 0–10 row per statement,
    not twelve vertically stacked answer rows. */
 body.yns-q-filling .yns-q-table-wide-scale tbody tr{
   display:grid!important;grid-template-columns:repeat(11,minmax(0,1fr));gap:3px;padding:9px!important
 }
 body.yns-q-filling .yns-q-table-wide-scale tbody th.yns-q-matrix-question{grid-column:1/-1}
 body.yns-q-filling .yns-q-table-wide-scale tbody td.yns-q-choice-cell.yns-q-numeric-cell{
   display:grid!important;place-items:center;width:auto!important;min-width:0!important;min-height:34px!important;
   margin:0!important;padding:3px 1px!important;border-radius:7px!important
 }
 body.yns-q-filling .yns-q-table-wide-scale tbody td.yns-q-choice-cell.yns-q-numeric-cell:before{
   content:attr(data-label);display:block;position:static!important;transform:none!important;width:auto!important;min-width:0!important;
   font-size:11px!important;line-height:1!important;text-align:center!important
 }
 body.yns-q-filling .yns-q-table-wide-scale tbody td.yns-q-choice-cell.yns-q-extra-cell{
   grid-column:1/-1;display:flex!important;justify-content:center!important;min-height:38px!important;margin:3px 0 0!important;padding:5px 8px!important
 }
 body.yns-q-filling .yns-q-table-wide-scale tbody td.yns-q-choice-cell.yns-q-extra-cell:before{
   content:attr(data-label);position:static!important;transform:none!important;width:auto!important;min-width:0!important;text-align:center!important;font-size:13px!important
 }
}


/* v1.3.47 — systematic centering + clearer matrix interaction.
   The personal area is centered in every state (new / in progress / completed),
   not only after completion. Matrix cells remain compact but visibly selectable. */
.yns-q-dashboard{
  text-align:center;
}
.yns-q-dashboard .yns-q-dashboard-head{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  text-align:center!important;
}
.yns-q-dashboard .yns-q-dashboard-head>div{
  width:100%;
  text-align:center!important;
}
.yns-q-dashboard .yns-q-dashboard-head .yns-q-auth-link{
  align-self:center!important;
  margin:0 auto!important;
  text-align:center!important;
}
.yns-q-dashboard>p,
.yns-q-dashboard .yns-q-rights,
.yns-q-dashboard .yns-q-support-note,
.yns-q-dashboard .yns-q-empty-state,
.yns-q-dashboard .yns-q-processing-box{
  text-align:center!important;
}
.yns-q-dashboard>p{
  max-width:700px;
  margin-left:auto;
  margin-right:auto;
}
.yns-q-dashboard .yns-q-summary{
  max-width:680px;
  margin:22px auto!important;
}
.yns-q-dashboard .yns-q-summary>div,
.yns-q-dashboard .yns-q-summary dt,
.yns-q-dashboard .yns-q-summary dd{
  text-align:center!important;
}
.yns-q-dashboard .yns-q-mode-buttons{
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
}
.yns-q-dashboard .yns-q-dashboard-cta{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin:14px auto 8px!important;
  text-align:center!important;
}
.yns-q-dashboard .yns-q-rights{
  max-width:700px;
  margin:22px auto!important;
}
.yns-q-dashboard .yns-q-support-note{
  max-width:700px;
  margin:24px auto 0!important;
}
.yns-q-dashboard .yns-q-profile-grid{
  margin-left:auto;
  margin-right:auto;
}
.yns-q-dashboard .yns-q-profile-item,
.yns-q-dashboard .yns-q-results-intro,
.yns-q-dashboard .yns-q-results-section,
.yns-q-dashboard .yns-q-section-intro,
.yns-q-dashboard .yns-q-disclaimer{
  text-align:center!important;
}
.yns-q-dashboard .yns-q-section-intro{
  margin-left:auto!important;
  margin-right:auto!important;
}
.yns-q-dashboard .yns-q-score-wrap{
  align-items:center!important;
}

/* Participant matrices: every empty answer cell shows a subtle target,
   so it is obvious that the cell is clickable even before a choice is made. */
body.yns-q-filling .yns-q-user-mode-app .yns-q-table tbody td.yns-q-choice-cell{
  position:relative;
}
body.yns-q-filling .yns-q-user-mode-app .yns-q-table tbody td.yns-q-choice-cell::after{
  content:"";
  position:absolute;
  left:50%;top:50%;
  width:16px;height:16px;
  transform:translate(-50%,-50%);
  border:2px solid #b79a83;
  border-radius:50%;
  background:#fffaf5;
  box-sizing:border-box;
  pointer-events:none;
}
body.yns-q-filling .yns-q-user-mode-app .yns-q-table tbody td.yns-q-choice-cell:hover::after{
  border-color:#76543d;
  box-shadow:0 0 0 3px rgba(118,84,61,.10);
}
body.yns-q-filling .yns-q-user-mode-app .yns-q-table tbody td.yns-q-choice-cell.selected-cell::after{
  border:5px solid #fff;
  background:#76543d;
  box-shadow:0 0 0 2px #5f402d;
}
body.yns-q-filling .yns-q-table-answers th,
body.yns-q-filling .yns-q-table-answers th>span{
  font-size:16px!important;
  font-weight:800!important;
}

@media(max-width:782px){
  .yns-q-dashboard .yns-q-dashboard-head{display:flex!important}
  .yns-q-dashboard .yns-q-summary{max-width:100%}
  body.yns-q-filling .yns-q-user-mode-app .yns-q-table tbody td.yns-q-choice-cell::after{
    left:auto;right:12px;top:50%;transform:translateY(-50%);
  }
  body.yns-q-filling .yns-q-user-mode-app .yns-q-table-wide-scale tbody td.yns-q-choice-cell::after{
    display:none;
  }
}
/* v1.3.48 — compact matrices, readable multi-select guidance and natural text flow. */
body.yns-q-filling .yns-q-table-shell.yns-q-table-fill{
  flex:0 0 auto!important;display:block!important;height:auto!important;align-items:initial!important
}
body.yns-q-filling .yns-q-table-shell.yns-q-table-fill .yns-q-table{
  height:auto!important
}
body.yns-q-filling .yns-q-table tbody tr{
  height:auto!important;min-height:0!important
}
body.yns-q-filling .yns-q-table tbody td.yns-q-choice-cell{
  height:44px!important;min-height:44px!important
}
body.yns-q-filling .yns-q-selection-note{
  margin:2px auto 12px!important;font-size:17px!important;font-weight:700!important;line-height:1.35!important;text-align:center!important
}
@media(max-width:782px){
  body.yns-q-filling .yns-q-selection-note{font-size:16px!important;margin-bottom:10px!important}
}


/* v1.3.50 — canonical participant layout.
   One geometry system for the whole questionnaire: content controls vertical
   height; only width responds to the viewport. Desktop and mobile matrices
   have separate presentation rules. */
body.yns-q-filling,
body.yns-q-filling .yns-q-page,
body.yns-q-filling .yns-q-main,
body.yns-q-filling .yns-q-content,
body.yns-q-filling .yns-q-block,
body.yns-q-filling .yns-q-block-body,
body.yns-q-filling .yns-q-card-list,
body.yns-q-filling .yns-q-question-card,
body.yns-q-filling .yns-q-question-body,
body.yns-q-filling .yns-q-options,
body.yns-q-filling .yns-q-table-shell{
  min-height:0!important;
  height:auto!important;
}
body.yns-q-filling .yns-q-page{
  display:block!important;
  min-height:100vh!important;
  min-height:100dvh!important;
  overflow:visible!important;
}
body.yns-q-filling .yns-q-main{
  display:block!important;
  width:calc(100% - 40px)!important;
  max-width:none!important;
  margin:0 auto!important;
  padding:14px 0 8px!important;
  overflow:visible!important;
}
body.yns-q-filling .yns-q-content{
  display:block!important;
  flex:0 0 auto!important;
  overflow:visible!important;
}
body.yns-q-filling .yns-q-block{
  display:block!important;
  flex:0 0 auto!important;
  margin:0!important;
  overflow:visible!important;
}
body.yns-q-filling .yns-q-block-body,
body.yns-q-filling .yns-q-card-list,
body.yns-q-filling .yns-q-question-card,
body.yns-q-filling .yns-q-question-body,
body.yns-q-filling .yns-q-options{
  display:block;
  flex:0 0 auto!important;
  overflow:visible!important;
}
body.yns-q-filling .yns-q-card-list{padding:12px 18px!important}
body.yns-q-filling .yns-q-card-list+.yns-q-card-list{padding-top:0!important}
body.yns-q-filling .yns-q-question-card{padding:18px 22px!important}
body.yns-q-filling .yns-q-options{display:grid!important;grid-auto-rows:auto!important;gap:8px!important}
body.yns-q-filling .yns-q-answer-option{height:auto!important;min-height:48px!important}
body.yns-q-filling .yns-q-nav{
  position:static!important;
  margin:10px 0 0!important;
  padding:0 4px!important;
}
body.yns-q-filling .yns-q-progress{
  position:static!important;
  width:calc(100% - 40px)!important;
  max-width:none!important;
  min-height:0!important;
  margin:7px auto 10px!important;
}

/* Question and instruction typography: modern sans-serif, explicit so the
   surrounding WordPress theme cannot leak a serif face into questionnaire text. */
body.yns-q-filling .yns-q-purpose h2,
body.yns-q-filling .yns-q-block-instruction p,
body.yns-q-filling .yns-q-question-heading h3,
body.yns-q-filling .yns-q-question-instruction,
body.yns-q-filling .yns-q-table tbody th.yns-q-matrix-question .yns-q-question-text{
  font-family:"Segoe UI",Arial,"Noto Sans Hebrew",sans-serif!important;
}
body.yns-q-filling .yns-q-question-heading h3{font-weight:700!important;letter-spacing:0!important}
body.yns-q-filling .yns-q-block-instruction p{font-weight:700!important;letter-spacing:0!important}

/* Desktop matrix geometry. The statement column absorbs all spare width.
   Question number is a true narrow column; answer columns never stretch just
   to fill the screen. */
@media(min-width:783px){
  body.yns-q-filling .yns-q-table-shell{
    display:block!important;
    flex:0 0 auto!important;
    padding:8px 14px 12px!important;
    overflow-x:auto!important;
    overflow-y:visible!important;
  }
  body.yns-q-filling .yns-q-table{
    width:100%!important;
    height:auto!important;
    table-layout:fixed!important;
  }
  body.yns-q-filling .yns-q-table col.yns-q-col-number{width:54px!important}
  body.yns-q-filling .yns-q-number-col-head,
  body.yns-q-filling .yns-q-matrix-number{
    width:54px!important;
    min-width:54px!important;
    max-width:54px!important;
    box-sizing:border-box!important;
  }
  body.yns-q-filling .yns-q-question-col-head{
    text-align:right!important;
    padding:9px 16px!important;
  }
  body.yns-q-filling .yns-q-table-answers th.yns-q-answer-col-head,
  body.yns-q-filling .yns-q-table-answers th.yns-q-answer-col-head>span{
    font-family:"Segoe UI",Arial,"Noto Sans Hebrew",sans-serif!important;
    font-size:18px!important;
    font-weight:750!important;
    line-height:1.18!important;
    text-align:center!important;
    white-space:normal!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
  }
  body.yns-q-filling .yns-q-number-col-head{
    padding:8px 2px!important;
    font-size:12px!important;
    line-height:1.1!important;
  }
  body.yns-q-filling .yns-q-matrix-number{
    padding:7px 2px!important;
    font-size:12px!important;
    line-height:1!important;
  }
  body.yns-q-filling .yns-q-table tbody th.yns-q-matrix-question{
    height:auto!important;
    padding:9px 16px!important;
  }
  body.yns-q-filling .yns-q-table tbody th.yns-q-matrix-question .yns-q-question-text{
    font-size:17px!important;
    line-height:1.28!important;
  }
  body.yns-q-filling .yns-q-table tbody td.yns-q-choice-cell{
    height:44px!important;
    min-height:44px!important;
    padding:0!important;
  }
  body.yns-q-filling .yns-q-table-anchor-row th{
    font-family:"Segoe UI",Arial,"Noto Sans Hebrew",sans-serif!important;
    font-size:13px!important;
    line-height:1.2!important;
  }
  body.yns-q-filling .yns-q-table-wide-scale .yns-q-table-answers th.yns-q-answer-col-head,
  body.yns-q-filling .yns-q-table-wide-scale .yns-q-table-answers th.yns-q-answer-col-head>span{
    font-size:16px!important;
  }
}

/* Multi-select guidance is intentionally visible, but remains secondary to the question. */
body.yns-q-filling .yns-q-selection-note{
  margin:2px auto 12px!important;
  font-family:"Segoe UI",Arial,"Noto Sans Hebrew",sans-serif!important;
  font-size:18px!important;
  font-weight:700!important;
  line-height:1.35!important;
  text-align:center!important;
}

/* Mobile is a separate presentation: matrix headers collapse into answer rows,
   so desktop column widths and large header typography never cause overflow. */
@media(max-width:782px){
  body.yns-q-filling .yns-q-main{width:calc(100% - 12px)!important;padding:6px 0 4px!important}
  body.yns-q-filling .yns-q-card-list{padding:7px 8px!important}
  body.yns-q-filling .yns-q-question-card{padding:11px 10px!important}
  body.yns-q-filling .yns-q-progress{width:calc(100% - 12px)!important;margin:6px auto 7px!important}
  body.yns-q-filling .yns-q-table-shell{padding:6px 7px 8px!important;overflow:visible!important}
  body.yns-q-filling .yns-q-table colgroup{display:none!important}
  body.yns-q-filling .yns-q-table-answers,
  body.yns-q-filling .yns-q-table-anchor-row{display:none!important}
  body.yns-q-filling .yns-q-table tbody tr{height:auto!important;min-height:0!important}
  body.yns-q-filling .yns-q-table tbody th.yns-q-matrix-question .yns-q-question-text{
    font-size:16px!important;line-height:1.3!important
  }
  body.yns-q-filling .yns-q-table tbody td.yns-q-choice-cell:before{
    font-family:"Segoe UI",Arial,"Noto Sans Hebrew",sans-serif!important;
    font-size:14px!important;
    line-height:1.25!important;
  }
  body.yns-q-filling .yns-q-selection-note{font-size:16px!important;margin-bottom:10px!important}
}


/* v1.5.2 — voluntary study withdrawal */
.yns-q-withdraw-top{margin-right:auto!important;font-size:12px!important;opacity:.78;text-decoration:underline;text-underline-offset:3px}
.yns-q-withdraw-dashboard{margin-top:22px;text-align:left}
.yns-q-withdraw-link{border:0;background:transparent;color:#765f58;font:inherit;font-size:13px;cursor:pointer;text-decoration:underline;text-underline-offset:3px;padding:4px 0}
.yns-q-withdraw-link:hover{color:#4d3832}
.yns-q-withdraw-screen{max-width:760px;margin:34px auto;padding:30px;border:1px solid #dfd0c2;border-radius:20px;background:#fffaf5;line-height:1.8}
.yns-q-withdraw-screen h2{margin-top:0}
.yns-q-withdraw-actions{display:flex;gap:12px;justify-content:flex-start;align-items:center;margin-top:26px;flex-wrap:wrap}
.yns-q-withdraw-danger{border-color:#9b4b43!important;color:#7b302a!important;background:#fff!important}
.yns-q-withdraw-danger:hover{background:#fff4f2!important}
.yns-q-withdraw-success{text-align:center}
@media(max-width:620px){.yns-q-withdraw-top{margin-right:auto!important;font-size:11px!important;white-space:nowrap}.yns-q-withdraw-screen{margin:14px 0;padding:20px 16px}.yns-q-withdraw-actions{display:grid;grid-template-columns:1fr}.yns-q-withdraw-actions .yns-q-btn{width:100%}.yns-q-withdraw-dashboard{text-align:center}}

.yns-q-password-wrap{position:relative;display:flex;align-items:center}.yns-q-password-wrap input{padding-left:64px!important}.yns-q-password-toggle{position:absolute;left:7px;top:50%;transform:translateY(-50%);border:0;background:transparent;color:#5f5148;font:inherit;font-size:14px;font-weight:600;cursor:pointer;padding:7px 8px;z-index:2}.yns-q-password-toggle:focus-visible{outline:2px solid currentColor;outline-offset:1px;border-radius:6px}


/* v1.5.7 — top questionnaire controls: larger, consistent typography */
body.yns-q-filling .yns-q-save-later,
body.yns-q-filling .yns-q-withdraw-top{font-size:14px!important;line-height:1.35!important;}
body.yns-q-filling .yns-q-save-later{font-weight:700!important;}
@media(max-width:620px){
  body.yns-q-filling .yns-q-save-later,
  body.yns-q-filling .yns-q-withdraw-top{font-size:13px!important;line-height:1.35!important;}
}


/* v1.5.12 — concise measure explanation at the bottom of each result card */
.yns-q-profile-item .yns-q-profile-description{
  margin:8px auto 0;
  max-width:32em;
  font-size:12px;
  line-height:1.45;
  font-weight:400;
  color:#6f6259;
}
@media(max-width:620px){
  .yns-q-profile-item .yns-q-profile-description{font-size:11.5px;line-height:1.45;}
}


/* v1.5.27 — color coding for result cards */
.yns-q-profile-item--score .yns-q-score-circle{
  background:conic-gradient(#11a7a5 var(--score-pct,0%),#d7efef 0)!important;
}
.yns-q-profile-item--score .yns-q-score-circle:before{
  background:#f7fffe;
}
.yns-q-profile-item--score .yns-q-score-circle span,
.yns-q-profile-item--score .yns-q-profile-value,
.yns-q-profile-item--score .yns-q-profile-band{
  color:#0f6f76;
}
.yns-q-profile-item--score .yns-q-score-scale{
  color:#4c7f82;
}
.yns-q-profile-item.yns-q-tone-good{
  background:#f7fcf8;
  border-color:#cde4d2;
}
.yns-q-profile-item.yns-q-tone-good h3,
.yns-q-profile-item.yns-q-tone-good .yns-q-profile-value,
.yns-q-profile-item.yns-q-tone-good .yns-q-profile-band{
  color:#2f7a46;
}
.yns-q-profile-item.yns-q-tone-good .yns-q-profile-description{
  color:#51705b;
}
.yns-q-profile-item.yns-q-tone-alert{
  background:#fff7f6;
  border-color:#efc7c1;
}
.yns-q-profile-item.yns-q-tone-alert h3,
.yns-q-profile-item.yns-q-tone-alert .yns-q-profile-value,
.yns-q-profile-item.yns-q-tone-alert .yns-q-profile-band{
  color:#b2463d;
}
.yns-q-profile-item.yns-q-tone-alert .yns-q-profile-description{
  color:#7e5b57;
}

/* v1.5.13 – conditional life-event details, desktop grid and compact mobile cards */
.yns-life-event{margin-block:12px;padding:16px;border:1px solid var(--yns-border,#d8dee8);border-radius:12px}
.yns-life-event h3{margin:0 0 12px;font-size:1.02rem;line-height:1.5}
.yns-life-event-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;direction:rtl}
.yns-life-event-grid label{display:flex;flex-direction:column;gap:7px;font-size:.92rem;line-height:1.45}
.yns-life-event-grid input,.yns-life-event-grid select{width:100%;min-width:0;box-sizing:border-box;min-height:44px;padding:8px;border:1px solid #bdc8d5;border-radius:8px;background:#fff;color:#1d2939}
@media(max-width:700px){.yns-life-event-grid{grid-template-columns:1fr}.yns-life-event{padding:12px}}

.yns-life-events-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;direction:rtl}
.yns-life-events-choices .yns-life-events-divider{grid-column:1/-1;height:1px;background:#e2e7ed;margin-block:10px}
@media(max-width:700px){.yns-life-events-choices{grid-template-columns:1fr}}

/* v1.5.14 – life events as a vertical single-column list; distinct follow-up screen */
.yns-life-events-choices{display:flex!important;flex-direction:column!important;grid-template-columns:none!important;gap:8px!important;width:100%;direction:rtl}
.yns-life-events-choices .yns-q-answer-option{width:100%;max-width:none!important;min-height:50px;text-align:right;justify-content:flex-start;box-sizing:border-box}
.yns-life-events-choices .yns-life-events-divider{width:100%;height:1px;min-height:1px;background:#e5ddd5;margin:8px 0;flex:none}
.yns-life-event{border:1px solid #e5d7c9;border-radius:16px;background:linear-gradient(155deg,#fffdfa,#fcf8f3);padding:20px 22px;margin:0 0 18px;box-shadow:0 5px 18px rgba(87,61,39,.045)}
.yns-life-event h3{font-size:1.075rem;color:#42352b;font-weight:750;margin:0 0 17px}
.yns-life-event-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;direction:rtl;margin-bottom:18px}
.yns-life-event-fields label{display:flex;flex-direction:column;align-items:stretch;gap:8px;font-weight:600;font-size:.94rem;color:#443a31}
.yns-life-event-fields input,.yns-life-event-fields select{min-height:46px;border:1px solid #cfc3b9;border-radius:9px;background:#fff;padding:9px 11px;color:#342c25;width:100%;box-sizing:border-box;font-size:1rem}
.yns-life-impact{padding:18px;border:1px solid #eadfd5;background:#fff;border-radius:13px}
.yns-life-impact-top{display:flex;align-items:center;justify-content:space-between;gap:15px}
.yns-life-impact-top label{font-weight:700;color:#42352b;font-size:1rem}
.yns-life-impact-output{display:inline-flex;align-items:center;justify-content:center;min-width:76px;min-height:41px;border-radius:12px;background:#f4ede6;color:#76675a;font-weight:700;font-size:.9rem;padding:0 12px;white-space:nowrap}
.yns-life-impact-output.has-value{font-size:1.4rem;color:#fff;background:#78533e;min-width:48px}
.yns-life-impact-help{font-size:.91rem;line-height:1.75;color:#66584c;margin:9px 0 22px}
.yns-life-impact-slider{appearance:none;-webkit-appearance:none;display:block;width:100%;height:12px;border-radius:99px;cursor:pointer;margin:10px 0 13px;direction:rtl;outline-offset:7px;background:linear-gradient(to left,#9d7459 0%,#9d7459 var(--yns-life-slider-progress,50%),#e9e0d8 var(--yns-life-slider-progress,50%),#e9e0d8 100%);accent-color:#78533e}
.yns-life-impact-slider::-webkit-slider-thumb{-webkit-appearance:none;width:28px;height:28px;border:5px solid #fff;background:#78533e;box-shadow:0 2px 10px #78533e55;border-radius:50%;cursor:grab}
.yns-life-impact-slider::-moz-range-thumb{width:19px;height:19px;border:5px solid #fff;background:#78533e;box-shadow:0 2px 10px #78533e55;border-radius:50%;cursor:grab}
.yns-life-impact-slider:focus-visible{outline:3px solid #c7a389}
.yns-life-impact-ticks,.yns-life-impact-anchors{display:flex;justify-content:space-between;direction:rtl;gap:1px}
.yns-life-impact-ticks{font-variant-numeric:tabular-nums;color:#8b796b;font-size:.73rem}
.yns-life-impact-anchors{margin-top:10px;color:#706052;font-size:.78rem;flex-wrap:wrap}
@media(max-width:700px){.yns-life-events-choices{gap:7px!important}.yns-life-event{padding:15px 12px}.yns-life-event-fields{grid-template-columns:1fr;gap:13px}.yns-life-impact{padding:14px 11px}.yns-life-impact-top{align-items:flex-start}.yns-life-impact-help{font-size:.85rem}.yns-life-impact-anchors{font-size:.7rem}.yns-life-impact-ticks{font-size:.61rem}}

/* v1.5.15: compact symmetrical two-column life-event timeline */
.yns-life-event-compact{padding:13px 18px;margin:0 0 10px}
.yns-life-event-compact h3{font-size:.97rem;margin-bottom:12px}
.yns-life-event-two-sliders{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;direction:rtl}
.yns-life-event-scale{padding:10px 15px 12px;background:#fff;border:1px solid #eadfd5;border-radius:12px;min-width:0}
.yns-life-scale-header{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:36px;margin-bottom:12px}
.yns-life-scale-header label{font-weight:700;color:#483b31;font-size:.9rem}
.yns-life-event-scale .yns-life-impact-output{font-size:.82rem;min-height:32px;min-width:64px;border-radius:9px}
.yns-life-event-scale .yns-life-impact-output.has-value{font-size:1rem;min-width:48px}
.yns-life-event-scale .yns-life-impact-slider{height:8px;margin:12px 0}
.yns-life-event-scale .yns-life-impact-slider::-webkit-slider-thumb{height:24px;width:24px;border-width:4px}
.yns-life-slider-ends{display:flex;justify-content:space-between;direction:rtl;font-size:.78rem;color:#78695f}
.yns-life-over12{margin-top:10px}
.yns-life-over12[hidden]{display:none!important}
.yns-life-over12 label{display:block;font-size:.8rem;margin-bottom:5px;color:#5d4d3e}
.yns-life-over12 select{width:100%;min-height:38px;border:1px solid #d6c6b7;border-radius:8px;background:white;color:#44372d;padding:6px}
@media(max-width:650px){.yns-life-event-compact{padding:12px 9px}.yns-life-event-two-sliders{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.yns-life-event-scale{padding:10px 8px}.yns-life-scale-header{align-items:flex-start;flex-direction:column;gap:5px}.yns-life-scale-header label{font-size:.79rem}.yns-life-event-scale .yns-life-impact-output{min-height:28px}.yns-life-slider-ends{font-size:.7rem}}

/* v1.5.17: Floating desktop matrix response headers stay in view during scrolling.
   Keep the original header in document flow so first-row layout never shifts. */
@media (min-width:783px){
 body.yns-q-filling .yns-q-floating-head{display:block!important;z-index:99990!important}
 body.yns-q-filling .yns-q-floating-head .yns-q-floating-cell{
  background:#eadbca;border:1px solid #d9c9b8;box-sizing:border-box;
  padding:8px 4px;text-align:center;font-size:14px;font-weight:700;color:#48392e;
  display:flex;align-items:center;justify-content:center;line-height:1.3;
 }
 body.yns-q-filling .yns-q-floating-head .yns-q-floating-cell:nth-child(2){justify-content:flex-start;padding-right:12px}
}

/* 1.5.19: A fixed-in-view, responsive header for the life-event timeline rows. */
.yns-life-events-mobile-sticky{display:none}
@media(max-width:782px){
 body.yns-q-filling .yns-life-events-mobile-sticky{
  display:grid;grid-template-columns:1fr 1fr;gap:8px;position:sticky;top:0;z-index:78;
  direction:rtl;margin:0 0 10px;padding:9px 10px;background:#eadbca;
  border:1px solid #d3bdab;border-radius:10px;box-shadow:0 3px 10px rgba(55,38,25,.15);
  font-size:12px;font-weight:800;color:#493a2f;text-align:center;
 }
 body.yns-q-filling .yns-life-events-mobile-sticky span:first-child{grid-column:1/-1;text-align:right;font-size:11px}
}

/* v1.5.31 — accessible color-coded 0–100 participant rings */
.yns-q-profile-item--unified{background:#fff;border:1px solid #dfe6e6;gap:5px;min-width:0}
.yns-q-profile-item--unified h3{color:#243c3b;font-size:16px;line-height:1.45;min-height:2.6em}
.yns-q-profile-item--unified .yns-q-score-circle--color{
  width:112px;height:112px;padding:9px;--yns-ring-color:#238f79;
  background:conic-gradient(var(--yns-ring-color) var(--score-pct,0%),#e7eeeb 0)!important;
  color:#213d3a;
}
.yns-q-profile-item--unified .yns-q-score-circle--color::before{inset:9px;background:#fff}
.yns-q-profile-item--unified .yns-q-score-circle--color span{font-size:32px;color:#203b39;font-weight:800}
.yns-q-profile-item--unified .yns-q-score-scale{color:#62736f;font-size:12px}
.yns-q-score-details{width:100%;text-align:right;margin-top:8px;border-top:1px solid #e6ece9;padding-top:10px;color:#455e59;font-size:13px}
.yns-q-score-details summary{cursor:pointer;font-weight:700;list-style:revert;outline-offset:3px}
.yns-q-score-details summary:focus-visible{outline:2px solid #238f79;border-radius:4px}
.yns-q-score-details p{margin:8px 0 0;line-height:1.55}
@media(max-width:620px){.yns-q-profile-item--unified .yns-q-score-circle--color{width:98px;height:98px}.yns-q-profile-item--unified .yns-q-score-circle--color span{font-size:29px}.yns-q-profile-item--unified h3{font-size:14px}}

.yns-q-profile-item--unified .yns-q-score-details{width:100%;margin-top:6px}
.yns-q-score-details ul{padding-inline-start:21px;margin:8px 0 4px;line-height:1.7}
.yns-q-score-details li{margin:2px 0}

/* v1.5.38 — separate validated-instrument symptom presentation */
.yns-q-clinical-tool{font-size:12px;color:#647873;text-align:center;margin-top:-5px}
.yns-q-clinical-card .yns-q-clinical-circle{background:conic-gradient(var(--yns-ring-color) var(--score-pct),#e7eeeb 0)!important}
.yns-q-clinical-card .yns-q-clinical-circle::before{background:#fff!important}
.yns-q-clinical-status{font-size:12px;font-weight:700;border-radius:999px;padding:6px 12px;margin:8px auto;text-align:center;max-width:95%;background:#eef1f1;color:#53656a}
.yns-q-clinical-status--good{background:#e5f5ed;color:#1c7159}
.yns-q-clinical-status--alert{background:#fde8e8;color:#a51d2d}
.yns-q-clinical-status--pending{background:#f1f1ed;color:#686a5e}
.yns-q-clinical-missing{color:#62736f;font-size:13px;margin:16px auto;text-align:center}

/* v1.5.40: center the two expandable explanation headings in all profile cards. */
.yns-q-score-details > summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  text-align: center;
  list-style: none;
  direction: rtl;
}
.yns-q-score-details > summary::-webkit-details-marker { display: none; }
.yns-q-score-details > summary::after {
  content: '▸';
  display: inline-block;
  font-size: 11px;
  transition: transform .15s ease;
}
.yns-q-score-details[open] > summary::after { transform: rotate(-90deg); }

/* v1.5.42: clear and accessible OCI-12 screening interpretation */
.yns-q-ocd-interpretation{font-size:14px;line-height:1.65;font-weight:800;text-align:center;margin:8px auto 13px;max-width:320px}
.yns-q-ocd-interpretation--good{color:#176e4b}
.yns-q-ocd-interpretation--alert{color:#b4232f}

/* v1.5.42: friendly screening feedback across anxiety, depression, OCD and trauma */
.yns-q-screen-interpretation{font-size:14px;line-height:1.65;font-weight:800;text-align:center;margin:8px auto 13px;max-width:340px}
.yns-q-screen-interpretation--good{color:#176e4b}
.yns-q-screen-interpretation--alert{color:#b4232f}

/* v1.5.43: concise, accessible explanation of each symptom domain */
.yns-q-clinical-intro{font-size:13px;line-height:1.65;color:#536760;text-align:center;margin:6px auto 12px;max-width:340px;padding:0 8px}


/* v1.5.46: clearer, more welcoming profile header and top-left logout */
.yns-q-dashboard-completed{
  position:relative;
  background:linear-gradient(165deg,#f2fcf8 0%,#fffdf7 31%,#fffaf5 100%);
  border-color:#cce7dd;
  box-shadow:0 15px 42px rgba(27,105,91,.10);
}
.yns-q-dashboard-completed .yns-q-dashboard-head{
  position:relative;
  margin:0 0 25px;
  padding:46px 10px 26px;
  border-radius:19px;
  background:linear-gradient(125deg,#e1f6ee 0%,#eff9ff 52%,#fff0e5 100%);
  border:1px solid #d3ece3;
}
.yns-q-dashboard-completed .yns-q-dashboard-head>div{max-width:690px;margin:0 auto}
.yns-q-dashboard-completed .yns-q-dashboard-head .yns-q-kicker{
  margin:0 0 10px;font-size:17px;font-weight:800;color:#176c66;letter-spacing:.01em;
}
.yns-q-dashboard-completed .yns-q-dashboard-head h2{
  font-size:clamp(34px,4.5vw,46px);line-height:1.2;color:#12645c;margin:0 0 19px;font-weight:850;
}
.yns-q-dashboard-completed .yns-q-dashboard-head p:not(.yns-q-kicker){
  font-size:20px;line-height:1.85;color:#304c4a;margin:0 auto;max-width:660px;
}
.yns-q-dashboard-completed .yns-q-dashboard-head .yns-q-profile-logout{
  position:absolute;top:14px;left:17px;right:auto;margin:0;padding:9px 16px;
  border:1px solid #a9d5cb;border-radius:999px;background:#fff;color:#146d65;
  font-size:15px;font-weight:800;text-decoration:none;box-shadow:0 2px 8px rgba(22,99,88,.07);
}
.yns-q-dashboard-completed .yns-q-dashboard-head .yns-q-profile-logout:hover,
.yns-q-dashboard-completed .yns-q-dashboard-head .yns-q-profile-logout:focus-visible{
  background:#e4f6ef;border-color:#248b7c;outline-offset:3px;
}
.yns-q-dashboard-completed .yns-q-summary dt{font-size:16px;color:#53746d}
.yns-q-dashboard-completed .yns-q-summary dd{font-size:21px;color:#174d47}
.yns-q-dashboard-completed .yns-q-summary>div{border-color:#d1e7df;background:#fff}
.yns-q-dashboard-completed .yns-q-results-section>.yns-q-profile-title{
  font-size:clamp(27px,3.2vw,34px);color:#145f58;
}
.yns-q-dashboard-completed .yns-q-results-section>.yns-q-section-intro{
  font-size:18px;line-height:1.8;color:#3c5d59;
}
@media(max-width:782px){
  .yns-q-dashboard-completed .yns-q-dashboard-head{padding:62px 17px 25px}
  .yns-q-dashboard-completed .yns-q-dashboard-head h2{font-size:32px}
  .yns-q-dashboard-completed .yns-q-dashboard-head p:not(.yns-q-kicker){font-size:18px;line-height:1.7}
  .yns-q-dashboard-completed .yns-q-dashboard-head .yns-q-profile-logout{top:12px;left:12px;font-size:14px}
  .yns-q-dashboard-completed .yns-q-summary dd{font-size:19px}
  .yns-q-dashboard-completed .yns-q-results-section>.yns-q-section-intro{font-size:17px}
}


/* v1.5.47 — readable participant profile typography, especially on mobile.
   Scoped to the completed dashboard: questionnaire filling remains unchanged. */
.yns-q-dashboard-completed{
  font-size:18px;
  line-height:1.7;
}
.yns-q-dashboard-completed .yns-q-profile-item--unified h3,
.yns-q-dashboard-completed .yns-q-clinical-card h3{
  font-size:22px;
  line-height:1.4;
  min-height:0;
  font-weight:800;
  overflow-wrap:anywhere;
}
.yns-q-dashboard-completed .yns-q-profile-item .yns-q-profile-description{
  font-size:16px;
  line-height:1.65;
}
.yns-q-dashboard-completed .yns-q-profile-item .yns-q-profile-band,
.yns-q-dashboard-completed .yns-q-profile-item .yns-q-profile-value{
  font-size:19px;
  line-height:1.5;
}
.yns-q-dashboard-completed .yns-q-profile-item--unified .yns-q-score-scale,
.yns-q-dashboard-completed .yns-q-clinical-tool,
.yns-q-dashboard-completed .yns-q-clinical-missing{
  font-size:16px;
  line-height:1.5;
}
.yns-q-dashboard-completed .yns-q-profile-item--unified .yns-q-score-circle--color span{
  font-size:38px;
}
.yns-q-dashboard-completed .yns-q-score-details,
.yns-q-dashboard-completed .yns-q-score-details p,
.yns-q-dashboard-completed .yns-q-score-details li{
  font-size:16px;
  line-height:1.7;
}
.yns-q-dashboard-completed .yns-q-score-details > summary{
  font-size:17px;
  line-height:1.55;
}
.yns-q-dashboard-completed .yns-q-clinical-intro,
.yns-q-dashboard-completed .yns-q-ocd-interpretation,
.yns-q-dashboard-completed .yns-q-screen-interpretation,
.yns-q-dashboard-completed .yns-q-clinical-status{
  font-size:16px;
  line-height:1.65;
}
.yns-q-dashboard-completed .yns-q-results-intro p,
.yns-q-dashboard-completed .yns-q-results-section p,
.yns-q-dashboard-completed .yns-q-rights,
.yns-q-dashboard-completed .yns-q-support-note,
.yns-q-dashboard-completed > p{
  font-size:18px;
  line-height:1.8;
}
.yns-q-dashboard-completed .yns-q-rights h3{
  font-size:22px;
}
@media(max-width:782px){
  .yns-q-dashboard-completed{
    font-size:18px;
  }
  .yns-q-dashboard-completed .yns-q-profile-grid{
    grid-template-columns:minmax(0,1fr);
  }
  .yns-q-dashboard-completed .yns-q-profile-item{
    padding:22px 18px;
  }
  .yns-q-dashboard-completed .yns-q-profile-item--unified h3,
  .yns-q-dashboard-completed .yns-q-clinical-card h3{
    font-size:23px;
    line-height:1.4;
  }
  .yns-q-dashboard-completed .yns-q-profile-item .yns-q-profile-description,
  .yns-q-dashboard-completed .yns-q-clinical-intro{
    font-size:17px;
    line-height:1.7;
  }
  .yns-q-dashboard-completed .yns-q-profile-item--unified .yns-q-score-circle--color{
    width:116px;
    height:116px;
  }
  .yns-q-dashboard-completed .yns-q-profile-item--unified .yns-q-score-circle--color span{
    font-size:39px;
  }
  .yns-q-dashboard-completed .yns-q-profile-item--unified .yns-q-score-scale,
  .yns-q-dashboard-completed .yns-q-clinical-tool,
  .yns-q-dashboard-completed .yns-q-clinical-status{
    font-size:17px;
  }
  .yns-q-dashboard-completed .yns-q-score-details,
  .yns-q-dashboard-completed .yns-q-score-details p,
  .yns-q-dashboard-completed .yns-q-score-details li{
    font-size:17px;
  }
  .yns-q-dashboard-completed .yns-q-score-details > summary{
    font-size:18px;
  }
  .yns-q-dashboard-completed .yns-q-results-section>.yns-q-profile-title{
    font-size:30px;
    line-height:1.35;
  }
  .yns-q-dashboard-completed .yns-q-results-section>.yns-q-section-intro,
  .yns-q-dashboard-completed .yns-q-results-intro p{
    font-size:18px;
    line-height:1.75;
  }
  .yns-q-dashboard-completed .yns-q-summary dt{
    font-size:17px;
  }
  .yns-q-dashboard-completed .yns-q-summary dd{
    font-size:21px;
  }
}

/* v1.5.48 — YnnovScience supplied logo, shared by questionnaire, personal results and legal pages. */
.yns-q-sitebar .yns-q-logo{display:block;flex:0 0 auto;width:54px;height:54px;object-fit:contain;border:0;border-radius:50%;background:#fff;box-shadow:none;}
@media(max-width:782px){
 .yns-q-sitebar .yns-q-logo{width:46px;height:46px;}
 body.yns-q-filling .yns-q-sitebar .yns-q-logo{width:40px;height:40px;}
}

/* v1.5.49 — larger, tightly cropped logo on every questionnaire page */
.yns-q-sitebar .yns-q-logo{width:82px;height:82px;min-width:82px;object-fit:contain;border-radius:0;background:transparent;}
.yns-q-sitebar{min-height:104px;}
@media(max-width:782px){
 .yns-q-sitebar .yns-q-logo,body.yns-q-filling .yns-q-sitebar .yns-q-logo{width:66px;height:66px;min-width:66px;}
 .yns-q-sitebar{min-height:84px;}
}

/* v1.5.50 — larger, high-resolution logo on all questionnaire pages */
.yns-q-sitebar .yns-q-brand img.yns-q-logo,
body.yns-q-filling .yns-q-sitebar .yns-q-brand img.yns-q-logo{
 width:100px;height:100px;min-width:100px;max-width:none;flex:0 0 100px;
 object-fit:contain;border:0;border-radius:0;box-shadow:none;background:transparent;padding:0;
}
.yns-q-sitebar{min-height:116px;}
@media(max-width:782px){
 .yns-q-sitebar .yns-q-brand img.yns-q-logo,
 body.yns-q-filling .yns-q-sitebar .yns-q-brand img.yns-q-logo{
 width:74px;height:74px;min-width:74px;flex-basis:74px;}
 .yns-q-sitebar,body.yns-q-filling .yns-q-sitebar{min-height:88px;}
}

/* 1.5.58 — clear choice at top and follow-up at end */
.yns-q-dashboard-completed .yns-q-followup-invitation{border:1px solid #cbe4dc;background:#f1faf7;border-radius:18px;padding:22px 20px;margin:26px auto;max-width:680px;text-align:center;box-sizing:border-box}
.yns-q-dashboard-completed .yns-q-followup-invitation h3,.yns-q-dashboard-completed .yns-q-followup-invitation h2{margin:0 0 10px;color:#155d52;font-size:23px}
.yns-q-dashboard-completed .yns-q-followup-invitation p{font-size:16px;line-height:1.75;margin:0 0 16px}
.yns-q-dashboard-completed .yns-q-followup-actions{display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap}
.yns-q-dashboard-completed .yns-q-followup-actions form,.yns-q-dashboard-completed .yns-q-followup-bottom form{margin:0}
.yns-q-dashboard-completed .yns-q-followup-stay{display:inline-flex;align-items:center;justify-content:center;padding:11px 20px;border:1px solid #7faea3;border-radius:25px;color:#14584d;background:#fff;text-decoration:none;font-weight:700;min-height:42px;box-sizing:border-box}
.yns-q-dashboard-completed .yns-q-followup-bottom{margin:40px auto 28px;background:#f8fbfa}
@media(max-width:600px){.yns-q-dashboard-completed .yns-q-followup-actions{flex-direction:column}.yns-q-dashboard-completed .yns-q-followup-actions form,.yns-q-dashboard-completed .yns-q-followup-actions button,.yns-q-dashboard-completed .yns-q-followup-stay{width:100%}}

.yns-q-dashboard-completed .yns-q-app-coming-soon{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:11px 20px;border:1px solid #c9d3d0;border-radius:25px;color:#64726e;background:#edf1ef;font-weight:700;box-sizing:border-box;cursor:default}
@media(max-width:600px){.yns-q-dashboard-completed .yns-q-app-coming-soon{width:100%}}

/* v1.5.60: top choice + bottom follow-up; download activates only with a verified URL */
.yns-q-dashboard-completed .yns-q-followup-top{margin:18px auto 24px;background:#f3faf8}
.yns-q-dashboard-completed .yns-q-app-download{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:11px 20px;border:1px solid #155d52;border-radius:25px;color:#155d52;background:white;text-decoration:none;font-weight:700;box-sizing:border-box}
.yns-q-dashboard-completed .yns-q-app-disabled{opacity:.48;cursor:not-allowed;border-color:#9ba9a4;color:#687670}
@media(max-width:600px){.yns-q-dashboard-completed .yns-q-app-download{width:100%}}

/* 1.5.89: personal questionnaire heading; normal autosave remains unchanged. */
.yns-q-personal-heading{font-size:clamp(20px,2.4vw,29px);font-weight:750;line-height:1.35;text-align:right;color:#49382e;margin:0 0 11px;padding:10px 5px 3px;direction:rtl}
body.yns-q-filling .yns-q-personal-heading{flex:0 0 auto;margin-bottom:5px;padding:4px 5px}
@media(max-width:620px){.yns-q-personal-heading{font-size:21px;margin-bottom:6px}}

/* 1.5.90 mobile topbar and participant navigation: prevent viewport overflow. */
@media(max-width:782px){
 html,body.yns-questionnaire-preview-page{max-width:100%!important;overflow-x:hidden!important}
 body.yns-q-filling .yns-q-page,body.yns-q-filling .yns-q-main,body.yns-q-filling .yns-q-content,body.yns-q-filling .yns-q-block,body.yns-q-filling .yns-q-block-body{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
 body.yns-q-filling .yns-q-sitebar{width:100%!important;max-width:100%!important;min-height:72px!important;padding:7px 12px!important;gap:8px!important;box-sizing:border-box!important}
 body.yns-q-filling .yns-q-brand{min-width:0!important;max-width:calc(100% - 92px)!important;gap:5px!important}
 body.yns-q-filling .yns-q-brand strong{font-size:clamp(14px,4.2vw,17px)!important;overflow-wrap:normal!important;white-space:nowrap!important}
 body.yns-q-filling .yns-q-sitebar .yns-q-brand img.yns-q-logo{width:52px!important;height:52px!important;min-width:52px!important;flex:0 0 52px!important;max-width:52px!important}
 body.yns-q-filling .yns-q-test-badge{flex:0 0 auto!important;font-size:10px!important;padding:5px 7px!important;white-space:nowrap!important}
 body.yns-q-filling .yns-q-personal-heading{font-size:21px!important;line-height:1.35!important;padding:7px 9px!important;margin:0 0 7px!important;text-align:center!important}
 body.yns-q-filling .yns-q-account-bar{position:static!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:center!important;gap:7px!important;margin:0 0 12px!important;padding:10px!important;width:100%!important;min-width:0!important;box-sizing:border-box!important}
 body.yns-q-filling .yns-q-account-bar .yns-q-save-later{grid-column:1!important;grid-row:1!important}
 body.yns-q-filling .yns-q-account-bar [data-q-logout]{grid-column:2!important;grid-row:1!important}
 body.yns-q-filling .yns-q-account-bar .yns-q-withdraw-top{grid-column:1/-1!important;grid-row:2!important;justify-self:center!important;margin:0!important}
 body.yns-q-filling .yns-q-account-bar .yns-q-inline-save-status:not([hidden]){grid-column:1/-1!important;grid-row:3!important;text-align:center!important;white-space:normal!important;width:100%!important}
 body.yns-q-filling .yns-q-account-bar button{display:block!important;min-width:0!important;max-width:100%!important;min-height:38px!important;padding:8px 6px!important;font-size:13px!important;line-height:1.3!important;white-space:normal!important;text-align:center!important;border-radius:9px!important}
 body.yns-q-filling .yns-q-account-bar .yns-q-save-later,body.yns-q-filling .yns-q-account-bar [data-q-logout]{background:#f7eee5!important;border:1px solid #ddcebf!important;text-decoration:none!important}
 body.yns-q-filling .yns-q-user-instruction{max-width:100%!important;overflow-wrap:anywhere!important}
}

/* 1.5.93: participant exit only; no duplicate save action on mobile */
@media(max-width:768px){body.yns-q-filling .yns-q-account-bar .yns-q-participant-exit{grid-column:1/-1!important;grid-row:auto!important;width:100%!important;min-width:0!important;text-align:center!important}}

/* v1.5.119: AYLME centered introduction with intentional line breaks */
.yns-q-intro,.yns-q-intro [data-yns-intro-copy]{text-align:center;direction:rtl}
.yns-q-intro .yns-q-intro-title{font-size:clamp(1.8rem,3.5vw,2.65rem);line-height:1.3;margin:0 0 10px;color:#3f3128;font-weight:800}
.yns-q-intro .yns-q-intro-subtitle{font-size:clamp(1.1rem,2.4vw,1.45rem);line-height:1.55;margin:0 0 32px;color:#654c3c;font-weight:700}
.yns-q-intro p.yns-q-intro-body,.yns-q-intro p.yns-q-intro-sign{max-width:720px;margin:0 auto 22px;line-height:1.85;text-align:center}
.yns-q-intro p.yns-q-intro-sign{margin-top:30px;margin-bottom:28px}
.yns-q-intro .yns-q-entry-choice{text-align:center}
@media(max-width:782px){.yns-q-intro .yns-q-intro-title{font-size:1.72rem}.yns-q-intro .yns-q-intro-subtitle{font-size:1.12rem;margin-bottom:25px}.yns-q-intro p.yns-q-intro-body,.yns-q-intro p.yns-q-intro-sign{font-size:1rem;line-height:1.8;margin-bottom:21px}}

/* v1.5.120: centered static AYLME introduction and founder portrait */
.yns-q-intro [data-yns-intro-copy],.yns-q-intro [data-yns-intro-copy] *{text-align:center}
.yns-q-intro .yns-q-intro-institute{font-size:1.05rem;margin:0 auto 30px;color:#654c3c;font-weight:400}
.yns-q-intro .yns-q-intro-subtitle{font-weight:500;margin-bottom:7px}
.yns-q-intro .yns-q-intro-photo{width:min(100%,300px);margin:28px auto 16px}
.yns-q-intro .yns-q-intro-photo img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:12px}
.yns-q-intro p.yns-q-intro-body,.yns-q-intro p.yns-q-intro-sign{font-weight:400;white-space:normal}
.yns-q-intro p.yns-q-intro-sign{margin-top:4px;line-height:1.8}
@media(max-width:782px){.yns-q-intro .yns-q-intro-photo{width:min(100%,240px);margin:22px auto 14px}.yns-q-intro .yns-q-intro-institute{font-size:.97rem;margin-bottom:25px}.yns-q-intro .yns-q-intro-title{font-size:clamp(1.42rem,6vw,1.75rem)}}

/* v1.5.121: larger centered project title and accessible mobile opening */
.yns-q-intro .yns-q-intro-title{font-size:clamp(2.05rem,4.3vw,3.3rem);line-height:1.32;margin-bottom:12px}
.yns-q-intro .yns-q-intro-subtitle{font-size:clamp(1.38rem,2.75vw,2rem);line-height:1.4;margin-bottom:9px;font-weight:650}
.yns-q-intro .yns-q-intro-institute{font-size:clamp(1.05rem,1.6vw,1.3rem);line-height:1.6;margin-bottom:30px}
.yns-q-intro p.yns-q-intro-sign{line-height:1.35;margin-top:5px;margin-bottom:22px}
@media(max-width:782px){
 .yns-q-main{padding-top:22px}
 .yns-q-intro .yns-q-intro-title{font-size:clamp(1.95rem,7vw,2.55rem);line-height:1.3}
 .yns-q-intro .yns-q-intro-subtitle{font-size:clamp(1.43rem,5.2vw,1.85rem);line-height:1.42;margin-bottom:9px}
 .yns-q-intro .yns-q-intro-institute{font-size:1.12rem;line-height:1.55;margin-bottom:25px}
 .yns-q-intro p.yns-q-intro-body,.yns-q-intro p.yns-q-intro-sign{font-size:1.14rem;line-height:1.78}
 .yns-q-intro p.yns-q-intro-sign{line-height:1.34;margin-bottom:18px}
 .yns-q-intro .yns-q-intro-photo{width:min(100%,370px);margin:22px auto 11px}
}

/* v1.5.122 – focused questionnaire launch after participant login */
.yns-q-dashboard.yns-q-launch{max-width:760px;min-height:420px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:clamp(28px,5vw,56px) 22px;gap:18px}
.yns-q-launch-header{max-width:600px;margin:0 auto}
.yns-q-dashboard.yns-q-launch .yns-q-launch-header h2{font-size:clamp(32px,4vw,44px);line-height:1.25;margin-bottom:18px}
.yns-q-launch-header p{font-size:clamp(17px,2.1vw,20px);line-height:1.75;margin:8px auto}
.yns-q-launch-actions{width:100%;display:flex;justify-content:center;align-items:center;margin:12px auto 14px}
.yns-q-dashboard .yns-q-launch-cta{display:flex!important;justify-content:center!important;align-items:center!important;width:min(100%,420px);min-height:82px;padding:18px 28px!important;font-size:clamp(23px,3vw,29px)!important;line-height:1.3;font-weight:700;border-radius:16px;margin:0 auto!important;white-space:normal}
.yns-q-launch-secondary{display:flex;justify-content:center;align-items:center;gap:20px;flex-wrap:wrap;margin:8px auto 0}
.yns-q-dashboard.yns-q-launch .yns-q-rights{margin:10px auto 0!important}
.yns-q-dashboard.yns-q-launch .yns-q-rights p{font-size:13px}
@media(max-width:600px){.yns-q-dashboard.yns-q-launch{min-height:360px;padding:30px 18px;gap:16px}.yns-q-dashboard .yns-q-launch-cta{min-height:80px;width:100%;font-size:25px!important}.yns-q-launch-header p{font-size:18px}}

/* v1.5.126 – explicit mobile line break for institute name */
@media (max-width:782px){
 .yns-q-intro .yns-q-institute-second{display:block;}
}

/* v1.5.126: requested institute-name emphasis, all other intro layout unchanged */
.yns-q-intro .yns-q-intro-institute{font-weight:700}

/* v1.5.127: life-history event editor */
.yns-life-experience{border:1px solid #eadfd5;border-radius:12px;margin:12px 0;padding:14px;display:grid;gap:9px;background:#fff}.yns-life-experience legend{font-weight:700;padding:0 8px}.yns-life-experience label{display:flex;align-items:center;gap:9px;font-size:1rem;cursor:pointer}.yns-life-experience input{accent-color:#805e48}.yns-life-help{font-size:.87rem;color:#65574f}.yns-life-event-scale{max-width:100%}@media(max-width:650px){.yns-life-event-fields{grid-template-columns:1fr 1fr}.yns-life-experience label{font-size:.95rem}}

/* v1.5.130: fixed year/month pair for each life event screen */
.yns-life-time-caption{font-weight:700;margin:4px 0 10px;color:#443a31}
.yns-life-event-fields{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
@media(max-width:420px){.yns-life-event-fields{gap:10px!important}}

.yns-life-event-title{text-align:center!important;font-size:1.55rem!important;line-height:1.35!important;font-weight:800!important;color:#3f3127!important;margin:0 0 18px!important}
.yns-life-time-caption{text-align:center;font-size:1.1rem!important;font-weight:800!important;margin:6px 0 14px!important}
.yns-life-help{font-size:.95rem;color:#65574f;text-align:center}
.yns-life-event-fields label{font-size:1rem!important;font-weight:700!important}
.yns-life-event-fields input{font-size:1.15rem!important;text-align:center!important}
.yns-life-experience{padding:16px 18px!important;margin:16px 0!important}
.yns-life-experience legend{text-align:center;font-size:1.08rem;font-weight:800;margin:0 auto 10px}
.yns-life-experience-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.yns-life-experience-option{display:flex!important;align-items:center;justify-content:flex-start;gap:10px;font-size:1.03rem!important;line-height:1.45;padding:12px 14px;border:1px solid #e4d7ca;border-radius:12px;background:#fff;cursor:pointer;transition:all .15s ease}
.yns-life-experience-option:hover{border-color:#c7a389;background:#fcf7f2}
.yns-life-experience-option input{accent-color:#805e48;transform:scale(1.08)}
.yns-life-experience-option span{display:block;font-weight:600;color:#44372d}
.yns-life-experience-option:has(input:checked){border-color:#805e48;background:#f7efe7;box-shadow:0 0 0 2px #ead9cc inset}
.yns-life-event-scale{padding:16px 18px 16px!important}
.yns-life-scale-header{align-items:flex-start!important;flex-direction:column!important;gap:10px!important}
.yns-life-scale-header label{font-size:1.12rem!important;font-weight:800!important}
.yns-life-event-scale .yns-life-impact-output{font-size:1rem!important;line-height:1.55!important;min-height:auto!important;min-width:100%!important;white-space:normal!important;padding:12px 14px!important;border-radius:12px!important;text-align:center!important}
.yns-life-event-scale .yns-life-impact-output.has-value{font-size:1.55rem!important;line-height:1.2!important;min-width:56px!important;width:auto!important;white-space:nowrap!important;align-self:flex-start!important;padding:8px 16px!important}
.yns-life-event-scale .yns-life-impact-slider{height:12px!important;margin:14px 0 14px!important}
.yns-life-event-scale .yns-life-impact-slider::-webkit-slider-thumb{height:28px!important;width:28px!important;border-width:4px!important}
.yns-life-event-scale .yns-life-impact-slider::-moz-range-thumb{height:20px!important;width:20px!important;border-width:4px!important}
.yns-life-slider-ends{font-size:1rem!important;font-weight:700!important;color:#5d4d3e!important}
@media(max-width:700px){.yns-life-event-title{font-size:1.35rem!important}.yns-life-time-caption{font-size:1rem!important}.yns-life-experience-grid{grid-template-columns:1fr}.yns-life-event-fields{grid-template-columns:1fr 1fr!important}.yns-life-event-fields input{font-size:1.08rem!important}.yns-life-scale-header label{font-size:1rem!important}.yns-life-event-scale .yns-life-impact-output{font-size:.96rem!important}.yns-life-event-scale .yns-life-impact-output.has-value{font-size:1.35rem!important}.yns-life-slider-ends{font-size:.95rem!important}}

/* v1.5.133 – single-column life-event follow-up for desktop and mobile */
.yns-life-event-compact{max-width:760px;margin-inline:auto!important;padding:20px 24px!important}
.yns-life-event-fields{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:0!important;margin-bottom:18px!important}
.yns-life-event-fields label{width:100%;min-width:0;padding:13px 0!important;text-align:right!important}
.yns-life-event-fields label+label{border-top:1px solid #e5d9cf}
.yns-life-event-fields input{text-align:right!important;max-width:100%;min-height:48px!important}
.yns-life-experience{border:0!important;border-top:1px solid #dfd2c5!important;border-bottom:1px solid #dfd2c5!important;border-radius:0!important;padding:22px 0!important;background:transparent!important;margin:10px 0 18px!important}
.yns-life-experience legend{text-align:right!important;margin:0!important;padding:0 0 10px!important;width:100%;font-size:1.12rem!important}
.yns-life-experience-grid{display:flex!important;flex-direction:column!important;gap:0!important}
.yns-life-experience-option{display:flex!important;border:0!important;border-radius:0!important;border-bottom:1px solid #e7dcd1!important;box-shadow:none!important;padding:14px 10px!important;background:transparent!important;min-height:48px}
.yns-life-experience-option:last-child{border-bottom:0!important}
.yns-life-experience-option:has(input:checked){border-color:#e7dcd1!important;box-shadow:none!important;background:#f7efe7!important}
.yns-life-event-scale{border:0!important;border-radius:0!important;border-top:1px solid #dfd2c5!important;background:transparent!important;padding:22px 0 4px!important}
@media(max-width:700px){.yns-life-event-compact{padding:14px 15px!important}.yns-life-event-fields{grid-template-columns:minmax(0,1fr)!important}.yns-life-event-fields label{padding:11px 0!important}.yns-life-experience-grid{display:flex!important;flex-direction:column!important}}

/* v1.5.137: legible time field instructions, visible only while empty */
.yns-life-event-fields input::placeholder{font-size:.92rem;font-weight:400;color:#807366;opacity:1;text-align:right}
@media(max-width:650px){.yns-life-event-fields input::placeholder{font-size:.83rem}}


/* v1.5.140 — compact completed dashboard layout and horizontal score detail panels */
.yns-q-dashboard-completed{max-width:1160px!important;padding:28px 24px!important}
.yns-q-dashboard-completed .yns-q-followup-actions{display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap}
.yns-q-dashboard-completed .yns-q-followup-actions form{margin:0}
.yns-q-dashboard-completed .yns-q-followup-actions .yns-q-followup-stay,
.yns-q-dashboard-completed .yns-q-followup-actions .yns-q-personal-bridge .yns-q-btn.primary{
  min-width:230px;min-height:46px;padding:11px 20px;border-radius:14px;
  background:#805e48!important;border:1px solid #805e48!important;color:#fff!important;
  font-weight:800;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;
}
.yns-q-dashboard-completed .yns-q-followup-actions .yns-q-followup-stay:hover,
.yns-q-dashboard-completed .yns-q-followup-actions .yns-q-followup-stay:focus-visible,
.yns-q-dashboard-completed .yns-q-followup-actions .yns-q-personal-bridge .yns-q-btn.primary:hover,
.yns-q-dashboard-completed .yns-q-followup-actions .yns-q-personal-bridge .yns-q-btn.primary:focus-visible{background:#6f4f3b!important;border-color:#6f4f3b!important}
.yns-q-dashboard-completed .yns-q-summary{max-width:560px!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px auto 20px!important}
.yns-q-dashboard-completed .yns-q-summary>div{padding:10px 12px;border-radius:12px}
.yns-q-dashboard-completed .yns-q-summary dt{font-size:12px!important;margin-bottom:3px}
.yns-q-dashboard-completed .yns-q-summary dd{font-size:15px!important;line-height:1.35}
.yns-q-dashboard-completed .yns-q-profile-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:start}
.yns-q-dashboard-completed .yns-q-profile-item{padding:14px 14px 12px!important;border-radius:16px}
.yns-q-dashboard-completed .yns-q-profile-item--unified h3,
.yns-q-dashboard-completed .yns-q-clinical-card h3{font-size:18px!important;line-height:1.35!important;min-height:2.7em}
.yns-q-dashboard-completed .yns-q-profile-item--unified .yns-q-score-circle--color{width:96px;height:96px}
.yns-q-dashboard-completed .yns-q-profile-item--unified .yns-q-score-circle--color span{font-size:31px!important}
.yns-q-dashboard-completed .yns-q-profile-item--unified .yns-q-score-scale,
.yns-q-dashboard-completed .yns-q-clinical-tool,
.yns-q-dashboard-completed .yns-q-clinical-status{font-size:13px!important}
.yns-q-dashboard-completed .yns-q-clinical-intro,
.yns-q-dashboard-completed .yns-q-profile-item .yns-q-profile-description{font-size:13px!important;line-height:1.6!important}
.yns-q-dashboard-completed .yns-q-score-detail-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%;margin-top:8px}
.yns-q-dashboard-completed .yns-q-score-details{margin-top:0!important;padding-top:8px;border-top:1px solid #e3ece7;border-right:0;font-size:12px!important}
html[dir=rtl] .yns-q-dashboard-completed .yns-q-score-detail-row .yns-q-score-details + .yns-q-score-details{border-right:1px solid #e3ece7;padding-right:10px}
.yns-q-dashboard-completed .yns-q-score-details > summary{font-size:13px!important;justify-content:flex-start!important;text-align:right!important}
.yns-q-dashboard-completed .yns-q-score-details p,
.yns-q-dashboard-completed .yns-q-score-details li{font-size:12px!important;line-height:1.6!important}
.yns-q-dashboard-completed .yns-q-score-details ul{margin-top:6px}
.yns-q-dashboard-completed .yns-q-results-section>.yns-q-section-intro,
.yns-q-dashboard-completed .yns-q-results-intro p{font-size:15px!important;line-height:1.7!important}
.yns-q-dashboard-completed .yns-q-results-section>.yns-q-profile-title{font-size:28px!important}
@media(max-width:1100px){
  .yns-q-dashboard-completed .yns-q-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:782px){
  .yns-q-dashboard-completed{max-width:none!important;padding:22px 14px!important}
  .yns-q-dashboard-completed .yns-q-summary{grid-template-columns:1fr!important;max-width:100%!important}
  .yns-q-dashboard-completed .yns-q-profile-grid{grid-template-columns:1fr!important}
  .yns-q-dashboard-completed .yns-q-followup-actions .yns-q-followup-stay,
  .yns-q-dashboard-completed .yns-q-followup-actions .yns-q-personal-bridge .yns-q-btn.primary,
  .yns-q-dashboard-completed .yns-q-followup-actions .yns-q-app-download{width:100%;min-width:0}
  .yns-q-dashboard-completed .yns-q-score-detail-row{grid-template-columns:1fr}
  html[dir=rtl] .yns-q-dashboard-completed .yns-q-score-detail-row .yns-q-score-details + .yns-q-score-details{border-right:0;padding-right:0}
  .yns-q-dashboard-completed .yns-q-score-details{border-top:1px solid #e3ece7}
}

/* v1.5.141 — mobile-only questionnaire header cleanup */
@media(max-width:782px){
 body.yns-q-filling .yns-q-page,
 body.yns-q-filling .yns-q-sitebar{background:transparent!important;backdrop-filter:none!important;box-shadow:none!important}
 body.yns-q-filling .yns-q-sitebar{border-bottom:0!important}
 body.yns-q-filling .yns-q-account-bar{position:absolute!important;top:92px!important;left:12px!important;right:auto!important;width:auto!important;max-width:calc(100vw - 24px)!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;gap:5px!important;padding:0!important;margin:0!important;min-height:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;z-index:5!important}
 body.yns-q-filling .yns-q-account-bar [data-q-logout],
 body.yns-q-filling .yns-q-account-bar .yns-q-withdraw-top{display:inline-block!important;width:auto!important;max-width:100%!important;min-height:0!important;padding:2px 0!important;margin:0!important;border:0!important;background:transparent!important;font-size:12px!important;font-weight:500!important;text-align:left!important;text-decoration:underline!important;color:#73665e!important;line-height:1.35!important}
 body.yns-q-filling .yns-q-account-bar .yns-q-inline-save-status:not([hidden]){max-width:175px!important;font-size:11px!important;text-align:left!important}
 body.yns-q-filling .yns-q-main{padding-top:88px!important}
 body.yns-q-filling .yns-q-personal-heading{background:transparent!important;border:0!important;padding:0 6px 8px!important;margin:0 0 10px!important;font-size:clamp(19px,5vw,23px)!important}
 body.yns-q-filling .yns-q-block-header.user,
 body.yns-q-filling .yns-q-block-header.user .yns-q-purpose,
 body.yns-q-filling .yns-q-user-instruction,
 body.yns-q-filling .yns-q-block-instruction{background:#f7f1e8!important;background-image:none!important}
 body.yns-q-filling .yns-q-block-header.user{border-bottom:0!important;padding:15px 12px 12px!important}
 body.yns-q-filling .yns-q-user-instruction{border:0!important;box-shadow:none!important;border-radius:0!important}
}


/* v1.5.143 — both mobile heading areas align directly below sitebar */
.yns-q-mobile-header-row{display:contents}
@media(max-width:782px){
 body.yns-q-filling .yns-q-main{padding-top:3px!important}
 body.yns-q-filling .yns-q-mobile-header-row{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:6px;min-height:65px;margin:0 10px 8px;direction:rtl}
 body.yns-q-filling .yns-q-mobile-header-row .yns-q-personal-heading{grid-column:1;grid-row:1;text-align:right!important;margin:0!important;padding:3px 0!important;font-size:clamp(16px,4.3vw,21px)!important;line-height:1.35!important;align-self:start}
 body.yns-q-filling .yns-q-mobile-header-row .yns-q-account-bar{position:static!important;top:auto!important;right:auto!important;left:auto!important;grid-column:2;grid-row:1;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;width:100%!important;max-width:100%!important;min-width:0!important;padding:0!important;margin:0!important;gap:1px!important;transform:none!important;direction:rtl}
 body.yns-q-filling .yns-q-mobile-header-row .yns-q-account-bar [data-q-logout],
 body.yns-q-filling .yns-q-mobile-header-row .yns-q-account-bar .yns-q-withdraw-top{display:block!important;width:auto!important;min-height:0!important;padding:0!important;margin:0!important;font-size:12px!important;line-height:1.55!important;white-space:normal!important;text-align:left!important;align-self:flex-start!important}
}

/* 1.5.156 – friendly blue intro heading and accessible disclosure */
.yns-q-intro .yns-q-intro-title{color:#1874c9!important}
.yns-q-intro .yns-q-intro-subtitle{color:#237faf!important}
.yns-q-intro .yns-q-intro-institute{color:#45677e!important}
.yns-q-privacy-toggle{appearance:none;background:none;border:0;padding:0;color:#156fc4;text-decoration:underline;font:inherit;font-weight:700;cursor:pointer}
.yns-q-privacy-toggle:focus-visible{outline:2px solid #156fc4;outline-offset:3px;border-radius:2px}
.yns-q-privacy-detail[hidden]{display:none!important}
.yns-q-privacy-detail{padding:15px 18px;margin:0 0 20px;border:1px solid #cadff3;background:#f4f9ff;border-radius:10px}
.yns-q-intro .yns-q-privacy-detail p{margin:8px 0;font-size:1rem}

/* v1.5.157 — explicit intro line breaks, no emphasis on explanatory paragraphs */
.yns-q-intro p.yns-q-intro-body{font-weight:400}
.yns-q-intro p.yns-q-intro-body strong{font-weight:400}
