/* سبورة الحل */
.anq-board { direction: rtl; -webkit-user-select: none; user-select: none; font-family: inherit; }
.anq-board .anq-btools {
	display: flex; flex-wrap: wrap; align-items: center; gap: 3px; padding: 6px;
	background: #f2f7f6; border: 1px solid #d5e3e0; border-bottom: 0; border-radius: 12px 12px 0 0;
}
.anq-board .anq-bt {
	width: 36px; height: 40px; min-height: 0; display: inline-flex; align-items: center; justify-content: center;
	border: 1.5px solid transparent; border-radius: 10px; background: transparent; color: #1d2b2a;
	padding: 0; margin: 0; font: inherit; font-size: 20px; line-height: 1; cursor: pointer; box-shadow: none;
}
.anq-board .anq-bt:hover:not(:disabled) { background: #fff; color: #1d2b2a; }
.anq-board .anq-bt.is-on { background: #fff; border-color: #2ec4b6; }
.anq-board .anq-bt:disabled { opacity: .3; cursor: default; }
.anq-board .anq-bt:focus-visible { outline: 3px solid #2ec4b6; outline-offset: 1px; }
.anq-board svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.anq-board .anq-swatch i { display: block; width: 20px; height: 20px; border-radius: 50%; background: var(--sw); }
.anq-board .anq-size i { display: block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.anq-board .anq-size.is-thick i { width: 13px; height: 13px; }
.anq-board .anq-bsep { width: 1px; height: 24px; background: #d5e3e0; margin: 0 3px; }
.anq-board .anq-bspace { flex: 1; }
.anq-board .anq-bpages { display: inline-flex; align-items: center; gap: 0; }
.anq-board .anq-bpages .anq-bt { width: 30px; }
.anq-board .anq-bpages[hidden] { display: none; }
.anq-board .anq-bpn { font-size: 14px; min-width: 38px; text-align: center; font-variant-numeric: tabular-nums; color: #5f6f6d; }
.anq-board .anq-badd { width: auto; padding: 0 8px; font-size: 14px; font-weight: 600; color: #137a70; }
.anq-board .anq-bpage { border: 1px solid #d5e3e0; border-radius: 0 0 12px 12px; overflow: hidden; background: #fff; line-height: 0; }
.anq-board canvas {
	display: block; touch-action: none; cursor: crosshair; max-width: none;
	background-color: #fff;
	background-image: linear-gradient(#edf3f2 1px, transparent 1px), linear-gradient(90deg, #edf3f2 1px, transparent 1px);
	background-size: 24px 24px;
}
.anq-board canvas.is-eraser { cursor: cell; }
.anq-board.is-ro canvas { touch-action: auto; cursor: default; }
.anq-board.is-full {
	position: fixed; inset: 0; z-index: 100001; background: #e8efee; display: flex; flex-direction: column;
	padding: env(safe-area-inset-top, 0) env(safe-area-inset-right, 0) env(safe-area-inset-bottom, 0) env(safe-area-inset-left, 0);
}
.anq-board.is-full .anq-btools { border: 0; border-bottom: 1px solid #d5e3e0; border-radius: 0; background: #fff; }
.anq-board.is-full .anq-bpage { flex: 1; min-height: 0; border: 0; border-radius: 0; background: transparent; display: flex; align-items: center; justify-content: center; }
.anq-board.is-full canvas { box-shadow: 0 1px 6px rgba(0, 0, 0, .14); border-radius: 4px; }
html.anq-noscroll, html.anq-noscroll body { overflow: hidden !important; }
@media (max-width: 480px) {
	.anq-board .anq-bt { width: 34px; height: 36px; }
	.anq-board .anq-bsep { display: none; }
}
