/* Huqooqi site: same payslip world as the app (apps/app/DESIGN.md). */
@font-face { font-family: 'Readex Pro'; src: url('/fonts/readex-pro-arabic-wght-normal.woff2') format('woff2'); font-weight: 160 700; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: 'Readex Pro'; src: url('/fonts/readex-pro-latin-wght-normal.woff2') format('woff2'); font-weight: 160 700; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
:root { --paper: #fff; --desk: #eef2f8; --ink: #0f1b33; --ink-2: #4a5873; --rule: #d3dae6; --carbon: #2438a6; --carbon-press: #1b2b85; --carbon-wash: #e6eafa; --due: #0a6b43; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; color-scheme: light; }
body { margin: 0; background: var(--desk); color: var(--ink); font-family: 'Readex Pro', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 1.0625rem; line-height: 1.75; -webkit-font-smoothing: antialiased; }
::selection { background: var(--carbon-wash); }
:focus-visible { outline: 2px solid var(--carbon); outline-offset: 2px; }
a { color: var(--carbon); text-underline-offset: 3px; }
.wrap { max-width: 720px; margin-inline: auto; padding-inline: 20px; }
header.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--carbon); font-size: 1.25rem; font-weight: 600; text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.lang { font-size: 0.9375rem; font-weight: 500; text-decoration: none; padding: 8px 12px; border: 1px solid var(--rule); border-radius: 999px; background: var(--paper); }
main { padding-block: 12px 56px; }
h1 { font-size: clamp(1.75rem, 6vw, 2.5rem); line-height: 1.25; font-weight: 600; margin: 20px 0 12px; text-wrap: balance; }
h2 { font-size: 1.25rem; font-weight: 600; margin: 36px 0 8px; }
p, li { max-width: 68ch; }
.lede { color: var(--ink-2); font-size: 1.125rem; }
.slip { background: var(--paper); border: 1px solid var(--rule); border-radius: 10px; box-shadow: 0 1px 2px rgb(15 27 51 / 0.06), 0 8px 24px rgb(15 27 51 / 0.06); overflow: hidden; margin-block: 24px; }
.slip-head { padding: 14px 18px; background: var(--carbon); color: #fff; font-weight: 600; }
.line { display: flex; justify-content: space-between; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--rule); }
.line:last-child { border-bottom: 0; }
.line span:last-child { color: var(--ink-2); font-size: 0.9375rem; text-align: end; }
.line strong { font-weight: 500; }
.prose { padding: 6px 18px 18px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-block: 20px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; border-radius: 8px; border: 1px solid transparent; background: var(--carbon); color: #fff; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn:active { background: var(--carbon-press); }
.btn { white-space: nowrap; }
.btn.quiet { background: var(--paper); border-color: #aab4c8; color: var(--carbon); }
.btn[aria-disabled='true'] { background: #dfe5ef; color: var(--ink-2); cursor: default; }
.code { direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums; font-size: 2rem; font-weight: 600; letter-spacing: 0.14em; color: var(--due); }
.num { direction: ltr; unicode-bidi: isolate; }
footer { border-top: 1px solid var(--rule); padding-block: 24px 40px; color: var(--ink-2); font-size: 0.9375rem; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-bottom: 10px; }
.note { color: var(--ink-2); font-size: 0.9375rem; }
