/* Free exercises on the addition table and complements by bonds. Loaded after clock-exercise.css (pad, choices), imparfait-exercise.css (the
   display) and nombres-1000-exercise.css (the boxes of the pad): this sheet adds the number line with arrows, the excerpt of the table and the
   sentence of a problem. */
.adt-exercise .adt-display{font-size:26px}
.adt-exercise .adt-display--text{font-size:19px;line-height:1.45;text-align:left}
.adt-entry{justify-content:center}
.adt-entry .n1000-fixed{white-space:normal}
/* The number line: one column pair per stop; each arrow goes from the middle of a stop to the middle of the next one. */
.adt-frise-wrap{width:100%;overflow-x:auto;padding:4px 0 2px;-webkit-overflow-scrolling:touch}
.adt-frise{display:grid;grid-template-columns:repeat(var(--adt-columns),minmax(30px,1fr));grid-template-rows:auto 0 auto auto;align-items:end;min-width:min-content;margin:0 auto;max-width:640px}
.adt-jump{grid-row:1;display:flex;flex-direction:column;align-items:center;min-width:0;padding:0 2px}
.adt-jump-label{display:inline-flex;align-items:center;gap:3px;font:800 20px Inter,sans-serif;color:#034cff;white-space:nowrap}
.adt-plus{font-size:20px}
.adt-arrow{display:block;width:100%;height:30px;overflow:visible}
.adt-arrow-line{fill:none;stroke:#034cff;stroke-width:3;stroke-linecap:round;vector-effect:non-scaling-stroke}
.adt-arrow-head{fill:#034cff}
.adt-axis{grid-row:2;height:0;border-top:3px solid #101052;margin:0 4%}
.adt-stop{grid-row:3;display:flex;flex-direction:column;align-items:center;min-width:0}
.adt-tick{display:block;width:3px;height:16px;margin-top:-9px;border-radius:2px;background:#101052}
.adt-stop-value{margin-top:6px;font:800 21px Inter,sans-serif;color:#101052;white-space:nowrap}
.adt-stop--start .adt-stop-value,.adt-stop--end .adt-stop-value{color:#12208c;background:#ffe17a;border-radius:10px;padding:2px 7px}
.adt-frise .n1000-slot{min-width:44px;min-height:42px;padding:2px 4px;font-size:19px}
.adt-frise .n1000-slot--wide{min-width:58px}
.adt-stop .n1000-slot{margin-top:6px}
.adt-total{margin:8px 0 0;text-align:center;font:800 20px Inter,sans-serif;color:#034cff}
.adt-figure{margin:0 0 16px;padding:10px 6px;border-radius:16px;background:#f4f7ff}
.adt-figure--after{margin:12px 0}
/* An excerpt of the addition table. */
.adt-grid{border-collapse:collapse;margin:0 auto;font:800 20px Inter,sans-serif;color:#101052}
.adt-grid th,.adt-grid td{min-width:52px;height:50px;border:2px solid #c9d4ff;text-align:center;padding:2px}
.adt-grid thead th,.adt-grid tbody th{background:#e9eeff;color:#12208c}
.adt-grid thead th:first-child{background:#ffe17a}
.adt-grid .n1000-slot{min-width:44px;min-height:40px;margin:0;font-size:19px}
/* The big arrow under the line, from the start to the target, with the total under it. */
.adt-under{grid-row:4;display:flex;flex-direction:column;align-items:center;margin-top:4px}
.adt-arrow--under{height:34px}
.adt-under-label{margin-top:2px;color:#16794a}
.adt-under .adt-arrow-line{stroke:#16794a}
.adt-under .adt-arrow-head{fill:#16794a}
.adt-down-total{display:flex;align-items:center;gap:10px;margin-top:10px;font:800 18px Inter,sans-serif;color:#16794a}
/* A long line on a phone goes down: stop, bond, stop… */
.adt-frise--down{display:flex;flex-direction:column;align-items:center;gap:2px}
.adt-down-stop{display:flex;justify-content:center;min-width:120px;padding:4px 10px;border-bottom:3px solid #101052}
.adt-down-jump{display:flex;align-items:center;gap:10px;padding:2px 0}
.adt-down-arrow{font:800 28px Inter,sans-serif;color:#034cff}
.adt-chrono{font-weight:800;color:#12208c}
@media(max-width:560px){
 .adt-exercise .adt-display{font-size:22px}
 .adt-exercise .adt-display--text{font-size:17px}
 .adt-jump-label{font-size:17px}
 .adt-stop-value{font-size:17px}
 .adt-frise .n1000-slot{min-width:38px;min-height:40px;font-size:17px}
 .adt-frise .n1000-slot--wide{min-width:50px}
 .adt-frise--long .adt-stop-value,.adt-frise--long .adt-jump-label{font-size:15px}
 .adt-frise--long .n1000-slot{min-width:34px;font-size:15px}
 .adt-frise--long .n1000-slot--wide{min-width:44px}
 .adt-grid th,.adt-grid td{min-width:44px;height:46px}
}
