/* ────────────────────────────────────────────────────────────────
   TOOL — Arabic Numerals & Numbers in Words

   Only what the shared chrome does not already give. The written-out
   answer is the thing people came for, so it is set large and given
   an Arabic face directly: the site's body font has no Arabic
   coverage and would fall through to a system fallback that sets
   these words badly.

   Version log
   1.0.0  2026-08-11  Initial.
   ──────────────────────────────────────────────────────────────── */

.at-num__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    align-items: start;
}

@media ( max-width: 860px ) {
    .at-num__grid { grid-template-columns: 1fr; }
}

.at-num__in,
.at-num__out {
    width: 100%;
    font-size: 1.05rem;
    line-height: 1.7;
    font-family: 'Noto Sans Arabic', 'Segoe UI', system-ui, sans-serif;
}

.at-num__out { background: rgba( 0, 0, 0, .03 ) !important; }

.at-num__words {
    min-height: 3.2em;
    padding: 16px 18px;
    border: 1px solid rgba( 0, 0, 0, .12 );
    border-radius: 10px;
    font-family: 'Noto Sans Arabic', 'Segoe UI', system-ui, sans-serif;
    font-size: 1.5rem;
    line-height: 1.9;
    text-align: right;
}

.at-num__words.is-empty {
    font-size: .9rem;
    line-height: 1.6;
    text-align: left;
    opacity: .6;
    direction: ltr;
}
