/* A4 worksheet pages: 210 x 297 mm at 96dpi = 794 x 1123 px */
.ws-page { width: 794px; height: 1123px; box-sizing: border-box; padding: 44px 52px 36px; background: #fff; color: #1E2A4A;
  font-family: 'Fredoka', 'Varela Round', system-ui, sans-serif; display: flex; flex-direction: column; gap: 18px; position: relative; overflow: hidden; direction: ltr; }
.ws-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 3px dashed #CFE3F5; padding-bottom: 14px; }
.ws-brand { font-size: 22px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.ws-brand small { font-weight: 500; color: #6B7894; }
.ws-mark { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #FFC93C; color: #1E2A4A; font-weight: 700; font-size: 20px; }
.ws-name { font-size: 18px; display: flex; align-items: end; gap: 8px; }
.ws-name i { width: 190px; border-bottom: 2px solid #1E2A4A; height: 22px; }
.ws-h { margin: 6px 0 0; font-size: 30px; font-weight: 700; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ws-h small { font-size: 17px; font-weight: 500; color: #6B7894; direction: rtl; margin-inline-start: auto; }
.ws-n { width: 40px; height: 40px; border-radius: 50%; background: #FF5A4E; color: #fff; display: grid; place-items: center; font-size: 22px; }

.ws-rows { display: grid; gap: 4px; flex: 1; align-content: space-between; }
.ws-row { display: flex; align-items: center; gap: 20px; height: 104px; }
.ws-row img { width: 78px; height: 78px; object-fit: contain; flex: none; }
.ws-trace { height: 82px; flex: none; overflow: visible; }
.ws-trace text { font-family: 'Fredoka', sans-serif; font-weight: 500; font-size: 84px; fill: #EEF3F9; stroke: #8DA0BC; stroke-width: 2.2; stroke-dasharray: 3 6; stroke-linecap: round; letter-spacing: 6px; }
.ws-trace .g { stroke: #BFD6EE; stroke-width: 1.5; } .ws-trace .dash { stroke-dasharray: 6 6; } .ws-trace .b { stroke: #1E2A4A; stroke-width: 2; }
.ws-blank { flex: 1; height: 66px; margin-top: 16px; background: linear-gradient(#BFD6EE, #BFD6EE) 0 0/100% 1.5px no-repeat, repeating-linear-gradient(90deg, #BFD6EE 0 6px, transparent 6px 12px) 0 50%/100% 1.5px no-repeat, linear-gradient(#1E2A4A, #1E2A4A) 0 100%/100% 2px no-repeat; }
.ws-foot { font-size: 14px; color: #6B7894; text-align: center; border-top: 3px dashed #CFE3F5; padding-top: 12px; }

.ws-circles { display: grid; gap: 14px; }
.ws-circle { border: 3px solid #E3EEF8; border-radius: 24px; padding: 8px 18px 10px; }
.ws-ask { font-size: 24px; margin-bottom: 6px; }
.ws-ask b { color: #FF5A4E; font-size: 30px; }
.ws-opts { display: flex; justify-content: space-around; }
.ws-opts img { width: 84px; height: 84px; object-fit: contain; }
.ws-match { display: flex; justify-content: space-between; flex: 1; padding-inline: 40px; }
.ws-match > div { display: flex; flex-direction: column; justify-content: space-around; }
.ws-m { display: flex; align-items: center; gap: 18px; }
.ws-m img { width: 72px; height: 72px; object-fit: contain; }
.ws-m i { width: 16px; height: 16px; border-radius: 50%; background: #1E2A4A; }
.ws-mw span { font-size: 36px; font-weight: 600; }

@media print { .ws-page { break-after: page; } }
