/* Free exercises on comparing, ordering, placing and framing the numbers up to 1000. Loaded after clock-exercise.css (pad, boxes, choices) and
   imparfait-exercise.css (the display). */
/* A comparison, a slate or a number is shown large; the signs < and > are buttons as large as a finger. */
.n1000-exercise .n1000-display{font-size:22px;white-space:pre-line;font-variant-numeric:tabular-nums}
.n1000-exercise .n1000-display--number{font-size:32px;letter-spacing:.03em}
.n1000-exercise .clock-choice.n1000-sign{min-width:72px;font-size:30px;font-weight:800}
.n1000-exercise .n1000-choices--wide .clock-choice{flex-basis:100%}
/* The boxes to fill: text and boxes on one or two lines. */
.n1000-entry{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px 10px;margin-bottom:14px;font:700 24px Inter,sans-serif;color:#101052}
.n1000-fixed{white-space:pre}
.n1000-break{flex-basis:100%;height:0}
.n1000-slot{width:52px;min-height:54px;padding:4px;font-size:26px}
.n1000-slot--wide{width:84px}
.n1000-slot--wide4{width:100px}
/* The number line: drawn in SVG, as wide as the question. */
.n1000-line-box{margin:0 0 16px;padding:8px 4px;border-radius:16px;background:#f4f7ff}
.n1000-line{display:block;width:100%;height:auto;overflow:visible}
.n1000-axis{stroke:#101052;stroke-width:3}
.n1000-axis-head{fill:#101052}
.n1000-tick{stroke:#101052;stroke-width:3;stroke-linecap:round}
.n1000-tick--minor{stroke-width:2}
.n1000-label{fill:#101052;font:700 22px Inter,sans-serif}
.n1000-arrow{fill:#e5383b}
.n1000-line--place{touch-action:none;cursor:pointer}
.n1000-hit{fill:transparent}
.n1000-placed{cursor:grab}
.n1000-placed-box{fill:#e7eeff;stroke:#034cff;stroke-width:2}
.n1000-placed-stem{stroke:#034cff;stroke-width:2}
.n1000-placed-text{fill:#101052;font:800 19px Inter,sans-serif}
.n1000-placed.is-selected .n1000-placed-box{fill:#034cff}.n1000-placed.is-selected .n1000-placed-text{fill:#fff}
.n1000-placed.is-correct .n1000-placed-box{fill:#e4f6ec;stroke:#16794a}.n1000-placed.is-wrong .n1000-placed-box{fill:#fdeceb;stroke:#b3261e}
.n1000-right-dot{fill:#16794a}
/* Numbers to drag: in the tray, in the boxes of an order, or onto the line. */
.n1000-order,.n1000-place{margin-bottom:20px}
.n1000-tray{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;min-height:68px;margin-bottom:14px;padding:10px;border:2px dashed #cdccff;border-radius:14px;background:#f8f9ff}
.n1000-order-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;margin-bottom:10px}
.n1000-order-sign{font:800 26px Inter,sans-serif;color:#101052}
.n1000-order-slot{display:flex;align-items:center;justify-content:center;width:84px;height:70px;border:2px solid #cdccff;border-radius:14px;background:#fff}
.n1000-order-slot.is-correct{border-color:#16794a;background:#e4f6ec}.n1000-order-slot.is-wrong{border-color:#b3261e;background:#fdeceb}
.n1000-order-empty{width:100%;height:100%;border:0;border-radius:12px;background:none;color:#aab4e6;font:700 20px Inter,sans-serif;cursor:pointer}
.n1000-tag{min-width:64px;min-height:54px;padding:6px 10px;border:2px solid #034cff;border-radius:12px;background:#e7eeff;color:#101052;font:800 22px Inter,sans-serif;font-variant-numeric:tabular-nums;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent}
.n1000-tag.is-selected{background:#034cff;color:#fff;box-shadow:0 0 0 3px #034cff33}
.n1000-tag:disabled{cursor:default;opacity:1}
.n1000-tag--ghost{position:fixed;z-index:50;display:flex;align-items:center;justify-content:center;transform:translate(-50%,-50%);pointer-events:none;box-shadow:0 10px 24px #10105240;cursor:grabbing}
@media(max-width:560px){
 .n1000-exercise .n1000-display{font-size:19px}
 .n1000-exercise .n1000-display--number{font-size:26px}
 .n1000-entry{gap:6px 6px;margin-bottom:10px;font-size:20px}
 .n1000-slot{width:44px;min-height:46px;font-size:22px}
 .n1000-slot--wide{width:68px}
 .n1000-slot--wide4{width:78px}
 .n1000-tray{min-height:60px;margin-bottom:10px;padding:8px;gap:8px}
 .n1000-order-row{gap:4px}
 .n1000-order-sign{font-size:20px}
 .n1000-order-slot{width:60px;height:58px}
 .n1000-tag{min-width:52px;min-height:48px;padding:4px 6px;font-size:18px}
 .n1000-order-slot .n1000-tag{min-width:52px}
}
