/* IBM Plex Sans Arabic 1.005, the unmodified WOFF2 files of IBM's @ibm/plex-sans-arabic 1.1.0 (SIL OFL 1.1, Reserved Font Name "Plex"; fonts/OFL.txt). */ @font-face { font-family: "Plex Arabic"; src: url("fonts/IBMPlexSansArabic-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; } @font-face { font-family: "Plex Arabic"; src: url("fonts/IBMPlexSansArabic-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; } :root { --bg: #ffffff; --surface: #f5f5f7; --card: #fcfcfb; --ink: #0b0b0d; --muted: #52514e; --faint: #898781; --line: #e4e3ec; --grid: #e1e0d9; --axis: #c3c2b7; --accent: #2a78d6; --focus: #2a78d6; --code: #f2f2f5; --warn-bg: #fff6e5; --warn-line: #f0c36d; --s0: #2a78d6; --s1: #eb6834; --s2: #1baf7a; --s3: #eda100; --s4: #e87ba4; --chip-f: #fde3dc; --chip-f-ink: #8a2b10; --chip-p: #fdf0d2; --chip-p-ink: #6b4a00; --chip-a: #e3f1e8; --chip-a-ink: #135c2e; --chip-w: #ececf1; --chip-w-ink: #3f3f46; --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; --sans: "Plex Arabic", system-ui, -apple-system, "Segoe UI", "Noto Sans Arabic", "Geeza Pro", Tahoma, sans-serif; color-scheme: light; } @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --bg: #0e0e12; --surface: #15151b; --card: #1a1a19; --ink: #f0efec; --muted: #c3c2b7; --faint: #898781; --line: #2c2c37; --grid: #2c2c2a; --axis: #383835; --accent: #3987e5; --focus: #3987e5; --code: #20202a; --warn-bg: #2a2416; --warn-line: #7a5d1c; --s0: #3987e5; --s1: #d95926; --s2: #199e70; --s3: #c98500; --s4: #d55181; --chip-f: #4a1f14; --chip-f-ink: #ffd4c7; --chip-p: #3d3112; --chip-p-ink: #ffe3a1; --chip-a: #183526; --chip-a-ink: #bfe8cf; --chip-w: #26262f; --chip-w-ink: #d4d4dc; color-scheme: dark; } } :root[data-theme="dark"] { --bg: #0e0e12; --surface: #15151b; --card: #1a1a19; --ink: #f0efec; --muted: #c3c2b7; --faint: #898781; --line: #2c2c37; --grid: #2c2c2a; --axis: #383835; --accent: #3987e5; --focus: #3987e5; --code: #20202a; --warn-bg: #2a2416; --warn-line: #7a5d1c; --s0: #3987e5; --s1: #d95926; --s2: #199e70; --s3: #c98500; --s4: #d55181; --chip-f: #4a1f14; --chip-f-ink: #ffd4c7; --chip-p: #3d3112; --chip-p-ink: #ffe3a1; --chip-a: #183526; --chip-a-ink: #bfe8cf; --chip-w: #26262f; --chip-w-ink: #d4d4dc; color-scheme: dark; } * { box-sizing: border-box; } html { -webkit-text-size-adjust: 100%; } body { margin: 0; background: var(--surface); color: var(--ink); font: 400 16px/1.6 var(--sans); overflow-x: hidden; } h1, h2, h3 { line-height: 1.25; margin: 0 0 .5rem; font-weight: 600; } h1 { font-size: clamp(1.5rem, 4vw, 2.1rem); } h2 { font-size: 1.12rem; } h3 { font-size: 1.05rem; } p { margin: .4rem 0; } a { color: var(--accent); overflow-wrap: anywhere; } code { font-family: var(--mono); font-size: .85em; } :focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; } .skip { position: absolute; inset-inline-start: 1rem; top: -3rem; background: var(--card); padding: .5rem 1rem; border-radius: 8px; z-index: 10; } .skip:focus { top: .5rem; } [hidden] { display: none !important; } .sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; } .wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px; } .top { background: var(--card); border-bottom: 1px solid var(--line); } .top-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 56px; } .brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); text-decoration: none; font-weight: 600; } .mark { width: 28px; height: 28px; } .mark-ink { fill: var(--ink); } .mark-accent { fill: var(--accent); } .lang { font: inherit; font-size: .9rem; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: .3rem .9rem; cursor: pointer; } .intro { padding: 1.6rem 0 1rem; max-width: 860px; } .lede { font-size: 1.05rem; } .note, .sub, .lbl { color: var(--muted); font-size: .88rem; } .warn { background: var(--warn-bg); border-inline-start: 4px solid var(--warn-line); padding: .5rem .8rem; border-radius: 6px; font-weight: 600; } .warn.small { font-size: .86rem; margin-top: .8rem; } .card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin-bottom: 16px; min-width: 0; } .hero-label { font-size: 1rem; color: var(--muted); font-weight: 600; } .hero-num { margin: .2rem 0; font-size: clamp(2.6rem, 8vw, 3.6rem); font-weight: 600; line-height: 1.1; unicode-bidi: isolate; } .hero-meta { color: var(--muted); font-size: .92rem; } .tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; } .tile { background: var(--surface); border-radius: 10px; padding: 10px 12px; min-width: 0; } .tile-num { font-size: 1.5rem; font-weight: 600; margin: 0; unicode-bidi: isolate; } .lookup-row { display: flex; gap: 8px; flex-wrap: wrap; margin: .4rem 0; } .lookup-row input { flex: 1 1 16rem; min-width: 0; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: .5rem .7rem; text-align: left; } .lookup-row button, .segb { font: inherit; font-size: .95rem; border-radius: 8px; padding: .45rem 1rem; cursor: pointer; } .lookup-row button { background: var(--accent); color: #fff; border: 1px solid var(--accent); font-weight: 600; } .suggest { list-style: none; padding: 0; margin: .3rem 0; display: flex; flex-wrap: wrap; gap: 6px; } .linkish { font: inherit; font-size: .9rem; background: var(--surface); color: var(--accent); border: 1px solid var(--line); border-radius: 999px; padding: .15rem .7rem; cursor: pointer; } .miss { font-weight: 600; } .host { border-top: 1px solid var(--line); margin-top: .8rem; padding-top: .8rem; } .host h3 { font-family: var(--mono); font-size: 1.1rem; overflow-wrap: anywhere; text-align: start; unicode-bidi: isolate; } .badge { display: inline-block; border-radius: 999px; padding: .1rem .7rem; font-size: .88rem; font-weight: 600; } .b-ok { background: var(--chip-a); color: var(--chip-a-ink); } .b-none { background: var(--chip-w); color: var(--chip-w-ink); } .facts { display: grid; grid-template-columns: minmax(10rem, 16rem) minmax(0, 1fr); gap: .25rem 1rem; margin: .8rem 0; font-size: .92rem; } .facts dt { color: var(--muted); } .facts dd { margin: 0; overflow-wrap: anywhere; } .chip { display: inline-block; border-radius: 6px; padding: 0 .5rem; font-size: .82rem; font-weight: 600; white-space: nowrap; } .c-F { background: var(--chip-f); color: var(--chip-f-ink); } .c-P { background: var(--chip-p); color: var(--chip-p-ink); } .c-A { background: var(--chip-a); color: var(--chip-a-ink); } .c-W, .c-- { background: var(--chip-w); color: var(--chip-w-ink); } .seg { display: inline-flex; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 3px; margin: .3rem 0; flex-wrap: wrap; } .segb { background: transparent; color: var(--ink); border: 0; font-size: .88rem; padding: .3rem .8rem; } .segb[aria-pressed="true"] { background: var(--card); box-shadow: 0 0 0 1px var(--line); font-weight: 600; } .chart { margin-top: .6rem; min-width: 0; } .chart svg { display: block; overflow: visible; font-family: var(--sans); } .chart .grid { stroke: var(--grid); stroke-width: 1; } .chart .axis { stroke: var(--axis); stroke-width: 1; } .chart .tick { fill: var(--faint); font-size: 11.5px; } .chart .lab { fill: var(--ink); font-size: 13px; } .chart .val { fill: var(--muted); font-size: 12px; } .chart .bar { fill: var(--s0); } .chart .hit { fill: transparent; } .chart .hit:hover { fill: var(--ink); fill-opacity: .04; } .chart .line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; } .chart .leader { stroke: var(--axis); fill: none; } .chart .dot { stroke: var(--card); stroke-width: 2; } .line.s0 { stroke: var(--s0); } .line.s1 { stroke: var(--s1); } .line.s2 { stroke: var(--s2); } .line.s3 { stroke: var(--s3); } .line.s4 { stroke: var(--s4); } .dot.s0, rect.key.s0 { fill: var(--s0); } .dot.s1, rect.key.s1 { fill: var(--s1); } .dot.s2, rect.key.s2 { fill: var(--s2); } .dot.s3, rect.key.s3 { fill: var(--s3); } .dot.s4, rect.key.s4 { fill: var(--s4); } .legend { display: flex; flex-wrap: wrap; gap: .3rem 1rem; font-size: .86rem; color: var(--muted); margin-top: .4rem; } .legend .lg { display: inline-flex; align-items: center; gap: .4rem; } .legend i.key { display: inline-block; width: 10px; height: 10px; border-radius: 2px; } i.key.s0 { background: var(--s0); } i.key.s1 { background: var(--s1); } i.key.s2 { background: var(--s2); } i.key.s3 { background: var(--s3); } i.key.s4 { background: var(--s4); } .tip { position: fixed; z-index: 20; pointer-events: none; background: var(--ink); color: var(--card); font-size: .82rem; padding: .35rem .6rem; border-radius: 6px; max-width: 22rem; } details { margin-top: .6rem; } summary { cursor: pointer; color: var(--accent); font-size: .9rem; } .tablewrap { overflow-x: auto; max-width: 100%; } table { border-collapse: collapse; width: 100%; font-size: .86rem; } th, td { text-align: start; padding: .35rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; } th { color: var(--muted); font-weight: 600; } td.n, th.n { text-align: end; font-variant-numeric: tabular-nums; white-space: nowrap; unicode-bidi: isolate; } table.rules td:first-child { white-space: nowrap; } #how ul { padding-inline-start: 1.2rem; margin: .3rem 0; } #how li { margin: .3rem 0; } .foot { color: var(--muted); font-size: .86rem; padding: 1rem 0 2rem; } .foot p { margin: .3rem 0; overflow-wrap: anywhere; } @media (max-width: 640px) { .tiles { grid-template-columns: minmax(0, 1fr); } .facts { grid-template-columns: minmax(0, 1fr); } .facts dd { margin-bottom: .4rem; } th, td { padding: .3rem .35rem; } } /* Arabic Data Index additions */ .tiles.six { grid-template-columns: repeat(3, minmax(0, 1fr)); } .tile .mid { color: var(--faint); font-size: .76rem; margin: .2rem 0 0; font-family: var(--mono); unicode-bidi: isolate; } .cap { color: var(--faint); font-size: .8rem; margin-top: .4rem; } .cap code { font-size: .78rem; } .chart .col { fill: var(--s0); } .chart .col.alt { fill: var(--s1); } .grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } .grid2 > .card { margin-bottom: 0; } .dl { display: flex; flex-wrap: wrap; gap: 8px; margin: .5rem 0; } .dl a { display: inline-block; border: 1px solid var(--line); background: var(--surface); border-radius: 8px; padding: .35rem .8rem; text-decoration: none; font-size: .9rem; } td.id, th.id { font-family: var(--mono); font-size: .82rem; overflow-wrap: anywhere; unicode-bidi: isolate; text-align: start; } td.id { direction: ltr; min-width: 13rem; } #size-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } [dir="rtl"] td.id { text-align: right; } .defs td:first-child { white-space: nowrap; font-family: var(--mono); font-size: .8rem; } .notes { margin-top: .5rem; } @media (max-width: 860px) { .grid2 { grid-template-columns: minmax(0, 1fr); } .grid2 > .card { margin-bottom: 16px; } } @media (max-width: 640px) { .tiles.six { grid-template-columns: repeat(2, minmax(0, 1fr)); } }