/* Accessible Nord · app styles. Built to meet WCAG 2.2 AA: 4.5:1 text contrast, visible focus, 24px targets, reduced motion. */
@font-face { font-family: 'Noto Sans Arabic'; font-weight: 100 900; font-display: swap; src: url(fonts/noto-sans-arabic-arabic-wght-normal.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'Atkinson Hyperlegible Next'; font-weight: 200 800; font-display: swap; src: url(fonts/atkinson-hyperlegible-next-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Atkinson Hyperlegible Next'; font-weight: 200 800; font-display: swap; src: url(fonts/atkinson-hyperlegible-next-latin-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
  --ink: #0B1F3A; --ink-2: #13294A; --ink-3: #1C365C;
  --blue: #1F4FD8; --blue-d: #173DB0; --blue-t: #EAF0FE; --blue-l: #9DB6FF;
  --red: #D62D3A; --red-d: #B4232F; --red-t: #FDECEE;
  --bg: #F4F6FA; --surface: #fff; --line: #D9E0EC; --line-2: #E9EDF4; --ice: #EEF3FF;
  --text: #12203A; --muted: #4D5970; --faint: #667189;
  --ok: #12805C; --ok-t: #E3F5EE; --warn: #9A5B00; --warn-t: #FFF3DC; --bad: #C2272D; --bad-t: #FDECEE; --info: #1F4FD8;
  --i-critical: #B4232F; --i-serious: #B4440E; --i-moderate: #855E00; --i-minor: #4D5970;
  --radius: 12px; --shadow: 0 1px 2px rgba(11,31,58,.05), 0 8px 24px rgba(11,31,58,.07);
  --font: 'Atkinson Hyperlegible Next', 'Noto Sans Arabic', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font: 15px/1.55 var(--font); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: var(--blue-d); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { margin: 0; letter-spacing: -.01em; line-height: 1.2; }
h1 { font-size: 28px; font-weight: 800; }
h2 { font-size: 19px; font-weight: 750; }
h3 { font-size: 16px; font-weight: 700; }
p { margin: 0 0 10px; }
code, kbd { background: #E9EDF4; padding: 1px 6px; border-radius: 5px; font-size: 13px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
kbd { border: 1px solid #CBD3E1; border-bottom-width: 2px; }
.ic { flex: none; vertical-align: -3px; }
.muted { color: var(--muted); } .small { font-size: 13.5px; } .center { text-align: center; }
.hidden { display: none !important; } .truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.pad { padding: 8px 10px; } .pad-top { padding-top: 26px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
.topbar :focus-visible, .auth-side :focus-visible, .checklist-card :focus-visible { outline-color: #FFD60A; }
.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 500; background: #FFD60A; color: #000; font-weight: 700; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip-link:focus { top: 10px; }

/* ---------- Buttons & inputs ---------- */
button, .btn { font: inherit; cursor: pointer; border-radius: 10px; border: 1px solid transparent; padding: 9px 15px; background: none; color: inherit; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; }
button:disabled, button[aria-disabled=true] { opacity: .55; cursor: not-allowed; }
.primary, a.primary { background: var(--blue); color: #fff; font-weight: 700; border-radius: 10px; padding: 9px 16px; display: inline-flex; align-items: center; gap: 7px; justify-content: center; text-decoration: none; border: 1px solid var(--blue); min-height: 40px; }
.primary:hover:not(:disabled), a.primary:hover { background: var(--blue-d); border-color: var(--blue-d); text-decoration: none; }
.primary.dark, a.primary.dark { background: var(--ink); border-color: var(--ink); }
.ghost, a.ghost { border: 1px solid #C3CCDB; background: var(--surface); color: var(--text); border-radius: 10px; padding: 8px 14px; display: inline-flex; align-items: center; gap: 7px; justify-content: center; text-decoration: none; min-height: 40px; font-weight: 600; }
.ghost:hover, a.ghost:hover { background: #F1F4FA; border-color: #A9B5CA; }
.danger { background: var(--bad-t); color: var(--bad); border: 1px solid #F3C2C5; border-radius: 10px; font-weight: 700; }
.danger:hover { background: #FAD9DC; }
.big, a.big { padding: 13px 22px; font-size: 16.5px; border-radius: 12px; min-height: 50px; }
.block, a.block { display: flex; width: 100%; }
.small.primary, .small.ghost, .small.danger, button.small, a.small.ghost, a.small.primary { padding: 6px 12px; font-size: 14px; border-radius: 9px; min-height: 34px; }
.link { border: 0; padding: 0; min-height: 0; color: var(--blue-d); font-size: 14px; font-weight: 700; background: none; display: inline; text-decoration: underline; text-underline-offset: 2px; }
.danger-t { color: var(--bad) !important; }
.icon-btn { width: 36px; height: 36px; min-height: 36px; padding: 0; border-radius: 9px; border: 1px solid var(--line); background: var(--surface); flex: none; }
.icon-btn:hover { background: #F1F4FA; }
input, select, textarea { font: inherit; color: inherit; width: 100%; padding: 10px 12px; border: 1px solid #6B7489; border-radius: 10px; background: #fff; min-height: 42px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
input[type=checkbox], input[type=radio] { width: 18px; height: 18px; min-height: 0; accent-color: var(--blue); flex: none; }
input[type=color] { padding: 4px; height: 44px; width: 64px; cursor: pointer; }
input[type=range] { padding: 0; min-height: 0; accent-color: var(--blue); }
textarea { resize: vertical; }
label, .lbl { display: block; font-weight: 700; font-size: 14px; }
label > input, label > select, label > textarea, label > .pw, label > .copy-row { margin-top: 6px; font-weight: 400; }
.hint { display: block; font-weight: 400; color: var(--muted); font-size: 13px; margin-top: 4px; }
.label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.check { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; cursor: pointer; min-height: 28px; }
.check input { margin: 0; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font-weight: 700; font-size: 14px; margin-bottom: 8px; padding: 0; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: end; }
.actions { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.actions.left { justify-content: flex-start; align-items: center; }
.alert { background: var(--bad-t); color: #8F1C22; border: 1px solid #F3C2C5; padding: 11px 14px; border-radius: 10px; margin: 0; }
.alert a { color: inherit; font-weight: 700; }
.notice { background: var(--blue-t); color: #15307F; border: 1px solid #C7D5FB; padding: 11px 14px; border-radius: 10px; margin: 0; }
.notice.ok { background: var(--ok-t); color: #0B5A41; border-color: #B9E3D2; }
.notice.warn { background: var(--warn-t); color: #6E4100; border-color: #F2D49B; }
.copy-row { display: flex; gap: 8px; }
.copy-row input, .copy-row textarea { flex: 1; font-size: 13.5px; background: #F6F8FC; min-width: 0; font-family: ui-monospace, Menlo, Consolas, monospace; }
.pw { position: relative; display: block; }
.pw input { margin: 0; padding-inline-end: 70px; }
.pw-toggle { position: absolute; inset-inline-end: 4px; top: 50%; transform: translateY(-50%); padding: 4px 10px; min-height: 32px; font-size: 13px; color: var(--blue-d); font-weight: 700; }
.pw-meter { display: block; height: 5px; background: var(--line-2); border-radius: 3px; margin-top: 8px; overflow: hidden; }
.pw-meter i { display: block; height: 100%; width: 100%; background: var(--bad); transform: scaleX(0); transform-origin: left; transition: transform .2s, background .2s; }
.pw-meter i[data-s="2"] { background: var(--warn); } .pw-meter i[data-s="3"], .pw-meter i[data-s="4"] { background: var(--ok); }

/* ---------- Avatars, pills, badges ---------- */
.avatar { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #fff; font-size: 12.5px; font-weight: 800; flex: none; }
.avatar.sm { width: 28px; height: 28px; font-size: 11px; }
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 2px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; background: #E9EDF4; color: var(--muted); }
.pill.ok, .s-approved { background: var(--ok-t); color: #0B5A41; }
.pill.warn, .s-pending { background: var(--warn-t); color: #6E4100; }
.pill.bad { background: var(--bad-t); color: #8F1C22; }
.pill.blue { background: var(--blue-t); color: #15307F; }
.imp { justify-self: start; display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 12.5px; padding: 2px 9px; border-radius: 6px; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.imp::before { content: ''; width: 8px; height: 8px; border-radius: 2px; background: currentColor; }
.imp-critical { color: var(--i-critical); background: #FBE7E9; } .imp-serious { color: var(--i-serious); background: #FDEDE3; }
.imp-moderate { color: var(--i-moderate); background: #FFF4D6; } .imp-minor { color: var(--i-minor); background: #EEF1F6; }
.role-owner { background: var(--ink); color: #fff; } .role-admin { background: var(--blue-t); color: #15307F; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; flex: none; background: #A9B5CA; }
.dot.on { background: var(--ok); box-shadow: 0 0 0 3px var(--ok-t); } .dot.off { background: #A9B5CA; } .dot.warn { background: var(--warn); }

/* ---------- Brand ---------- */
.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 18px; color: #fff; letter-spacing: -.02em; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand.dark { color: var(--ink); }
.brand-accent { color: var(--blue-l); }
.brand.dark .brand-accent { color: var(--blue); }
.brand-mark { display: inline-grid; place-items: center; flex: none; color: inherit; line-height: 0; }
.brand-mark svg { display: block; overflow: visible; }
.topbar .brand-mark, .auth-side .brand-mark, .brand-mark.tile, .avatar .brand-mark { --an-b1: #4F7BFF; --an-b2: #9DB6FF; --an-b3: #fff; }
.brand-mark.tile { border-radius: 26%; background: var(--ink); color: #fff; padding: 8px; }
.ws-badge { display: inline-grid; place-items: center; border-radius: 28%; color: #fff; font-weight: 800; font-size: 11px; flex: none; }
.ws-logo { border-radius: 28%; object-fit: cover; background: #fff; flex: none; }

/* ---------- Top bar ---------- */
.topbar { height: 62px; display: flex; align-items: center; gap: 14px; padding: 0 18px; background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 30; box-shadow: inset 0 -1px 0 rgba(157,182,255,.2); }
.ws-switch > summary { display: flex; align-items: center; gap: 9px; padding: 6px 10px; border-radius: 10px; background: rgba(255,255,255,.08); max-width: 240px; min-height: 40px; }
.ws-switch > summary:hover { background: rgba(255,255,255,.15); }
.ws-name { font-weight: 700; font-size: 14.5px; }
.mainnav { display: flex; gap: 2px; margin-inline-start: 8px; }
.mainnav a { color: #D3DCEC; padding: 9px 13px; border-radius: 9px; font-weight: 600; display: flex; align-items: center; gap: 7px; text-decoration: none; }
.mainnav a:hover { color: #fff; background: rgba(255,255,255,.1); }
.mainnav a.on { color: #fff; background: rgba(255,255,255,.16); box-shadow: inset 0 -2px 0 var(--blue-l); }
.me { margin-inline-start: auto; display: flex; align-items: center; gap: 6px; }
.icon-link { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; color: #D3DCEC; position: relative; }
.icon-link:hover { background: rgba(255,255,255,.12); color: #fff; }
.dot-count { position: absolute; top: 3px; inset-inline-end: 2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--red); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--ink); }
.invite-btn { background: #fff; color: var(--ink); font-weight: 800; padding: 7px 13px; font-size: 14px; border-radius: 9px; margin-inline-end: 4px; min-height: 38px; }
.invite-btn:hover { background: var(--ice); }
.me-sum { padding: 2px; border-radius: 50%; }
.menu { position: relative; }
.menu > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; }
.menu > summary::-webkit-details-marker { display: none; }
.menu-pop { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); min-width: 250px; background: #fff; color: var(--text); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 48px rgba(11,31,58,.22); padding: 6px; z-index: 60; display: flex; flex-direction: column; }
.ws-switch .menu-pop { inset-inline-start: 0; inset-inline-end: auto; min-width: 280px; }
.menu-pop a, .menu-pop button { display: flex; align-items: center; gap: 9px; text-align: start; width: 100%; padding: 9px 10px; border-radius: 8px; color: var(--text); font-size: 14.5px; border: 0; justify-content: flex-start; font-weight: 600; text-decoration: none; min-height: 40px; }
.menu-pop a:hover, .menu-pop button:hover { background: #F1F4FA; }
.menu-head { padding: 8px 10px 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; display: flex; flex-direction: column; }
.menu-label { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 800; padding: 6px 10px 4px; }
.menu-sep { height: 1px; background: var(--line); margin: 5px 4px; }
.ws-item .muted { margin-inline-start: auto; }
.ws-item.on { background: var(--blue-t); }
.danger-link { color: var(--bad) !important; }
.notif-pop { width: 370px; max-width: calc(100vw - 24px); padding: 0; }
.notif-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.notif-list { max-height: 420px; overflow: auto; padding: 4px; }
.notif-list .notif-item { align-items: flex-start; gap: 10px; padding: 10px; }
.notif-item .n-ic { width: 28px; height: 28px; border-radius: 50%; background: #EEF1F6; display: grid; place-items: center; flex: none; font-size: 12px; }
.notif-item > span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.notif-item .n-text { font-size: 14px; line-height: 1.4; font-weight: 500; }
.notif-item.unread { background: var(--blue-t); }
.trial-bar { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; padding: 8px 16px; background: var(--ice); color: #15307F; font-size: 14.5px; border-bottom: 1px solid #C7D5FB; text-align: center; }
.trial-bar a { font-weight: 800; color: #fff; background: var(--blue); padding: 4px 12px; border-radius: 8px; text-decoration: none; }
.trial-bar.soon { background: var(--warn-t); color: #6E4100; border-color: #F2D49B; }
.trial-bar.ended { background: #EEF1F6; color: #3D4860; border-color: var(--line); }

/* ---------- Layout ---------- */
.layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); min-height: calc(100vh - 62px); }
.sidebar { background: var(--surface); border-inline-end: 1px solid var(--line); padding: 16px 10px; display: flex; flex-direction: column; gap: 2px; }
.settings-layout .sidebar { position: sticky; top: 62px; height: calc(100vh - 62px); }
.side-head { padding: 12px 10px 8px; font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.side-link { display: flex; align-items: center; gap: 9px; padding: 9px 10px; border-radius: 9px; color: var(--text); font-weight: 600; text-decoration: none; }
.side-link .ic { color: var(--muted); }
.side-link:hover { background: #F1F4FA; }
.side-link.on { background: var(--blue-t); color: #15307F; }
.content { padding: 28px 32px 80px; min-width: 0; }
.content.narrow { max-width: 1080px; margin: 0 auto; width: 100%; }
.content.wide { max-width: 1280px; margin: 0 auto; width: 100%; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.page-head p { margin: 6px 0 0; }
.head-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.crumbs a { color: var(--muted); }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; margin-bottom: 20px; }
.box-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 12px; flex-wrap: wrap; }
.box > p.muted { margin-top: 0; }
.danger-box { border-color: #F3C2C5; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid2 > .box { margin-bottom: 0; }
.grid-gap { height: 20px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; color: var(--text); text-decoration: none; }
.stat b { font-size: 28px; line-height: 1.1; font-weight: 800; }
.stat span { color: var(--muted); font-size: 14px; font-weight: 600; }
.stat small { color: var(--muted); font-size: 13px; }
a.stat:hover { border-color: #A9B5CA; }
.stat.hot b { color: var(--i-critical); }

/* ---------- Score ring ---------- */
.ring { position: relative; display: inline-grid; place-items: center; flex: none; }
.ring svg { position: absolute; inset: 0; }
.ring-bg { fill: none; stroke: #E5EAF2; stroke-width: 3.4; }
.ring-fg { fill: none; stroke-width: 3.4; stroke-linecap: round; transition: stroke-dasharray .6s ease; }
.ring b { position: relative; font-weight: 800; font-size: 1.15em; }
.ring-good .ring-fg { stroke: var(--ok); } .ring-good b { color: #0B5A41; }
.ring-fair .ring-fg { stroke: #C77A00; } .ring-fair b { color: var(--warn); }
.ring-poor .ring-fg { stroke: var(--bad); } .ring-poor b { color: var(--bad); }
.ring-none .ring-fg { stroke: transparent; } .ring-none b { color: var(--faint); }
.ring.lg b { font-size: 34px; }

/* ---------- Checklist ---------- */
.checklist-card { background: linear-gradient(120deg, var(--ink), #173468); color: #fff; border-radius: 18px; padding: 20px 22px; margin-bottom: 22px; }
.cl-head { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cl-head p { color: #C9D4EA; margin: 2px 0 0; }
.cl-bar { flex: 1; min-width: 120px; height: 8px; background: rgba(255,255,255,.16); border-radius: 4px; overflow: hidden; }
.cl-bar i { display: block; height: 100%; background: #7FB0FF; border-radius: 4px; }
.checklist-card .icon-btn { background: transparent; border-color: rgba(255,255,255,.3); color: #fff; }
.cl-steps { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.cl-steps a { background: rgba(255,255,255,.08); border-radius: 12px; padding: 12px; display: flex; gap: 9px; align-items: center; font-size: 14px; color: #fff; text-decoration: none; font-weight: 600; height: 100%; }
.cl-steps a:hover { background: rgba(255,255,255,.15); }
.cl-steps .done a { color: #C9D4EA; }
.cl-steps .done .cl-label { text-decoration: line-through; }
.cl-check { width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(255,255,255,.45); display: grid; place-items: center; flex: none; }
.done .cl-check { background: #7FB0FF; border-color: #7FB0FF; color: var(--ink); }

/* ---------- Site cards ---------- */
.site-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.site-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 14px; position: relative; transition: box-shadow .18s, border-color .18s; }
.site-card:hover { box-shadow: var(--shadow); border-color: #B9C4D7; }
.site-card .sc-top { display: flex; gap: 14px; align-items: center; }
.site-card h2 { font-size: 18px; }
.site-card h2 a { color: var(--text); text-decoration: none; }
.site-card h2 a::after { content: ''; position: absolute; inset: 0; border-radius: 16px; }
.site-card h2 a:focus-visible { outline: none; }
.site-card:has(h2 a:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }
.site-card .domain { color: var(--muted); font-size: 14px; }
.sc-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; border-top: 1px solid var(--line-2); padding-top: 12px; }
.sc-facts div { display: flex; flex-direction: column; gap: 1px; }
.sc-facts b { font-size: 17px; font-weight: 800; }
.sc-facts span { color: var(--muted); font-size: 12.5px; font-weight: 600; }
.sc-foot { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); flex-wrap: wrap; }
.add-card { border: 2px dashed #B9C4D7; background: transparent; display: grid; place-items: center; text-align: center; color: var(--blue-d); font-weight: 800; min-height: 200px; border-radius: 16px; gap: 6px; padding: 18px; }
.add-card:hover { background: var(--surface); border-color: var(--blue); }

/* ---------- Site page ---------- */
.site-head { display: flex; gap: 20px; align-items: center; margin-bottom: 18px; flex-wrap: wrap; }
.site-head .sh-text { flex: 1; min-width: 240px; }
.site-head h1 a { color: inherit; text-decoration: none; }
.site-head .meta { display: flex; gap: 14px; flex-wrap: wrap; color: var(--muted); font-size: 14px; margin-top: 6px; align-items: center; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 22px; overflow-x: auto; }
.tabs a { padding: 11px 14px; color: var(--muted); font-weight: 700; text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -1px; display: flex; gap: 7px; align-items: center; white-space: nowrap; }
.tabs a:hover { color: var(--text); }
.tabs a[aria-current=page] { color: var(--blue-d); border-bottom-color: var(--blue); }
.tabs .count { background: #E9EDF4; color: var(--muted); border-radius: 999px; padding: 0 8px; font-size: 12.5px; }
.sev-bars { display: flex; flex-direction: column; gap: 10px; }
.sev-row { display: grid; grid-template-columns: 110px 1fr 60px; gap: 10px; align-items: center; font-size: 14px; }
.sev-row .bar { height: 10px; border-radius: 5px; background: #EEF1F6; overflow: hidden; }
.sev-row .bar i { display: block; height: 100%; border-radius: 5px; }
.sev-row b { text-align: end; }
.chart-bars rect { fill: var(--blue); }
.chart-bars rect:hover { fill: var(--blue-d); }
.chart-bars .ax, .chart-line .ax { font-size: 12px; fill: var(--muted); }
.chart-line polyline { fill: none; stroke: var(--blue); stroke-width: 2.5; }
.chart-line circle { fill: #fff; stroke: var(--blue); stroke-width: 2; }
.chart-line .goal { stroke: var(--ok); stroke-dasharray: 4 4; stroke-width: 1; }
.toplist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.toplist li { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; font-size: 14px; }
.toplist .bar { grid-column: 1 / -1; height: 7px; border-radius: 4px; background: #EEF1F6; overflow: hidden; }
.toplist .bar i { display: block; height: 100%; background: var(--blue); border-radius: 4px; }

/* Issues */
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid #C3CCDB; color: var(--text); font-size: 14px; font-weight: 700; text-decoration: none; min-height: 36px; }
.chip:hover { border-color: #8F9CB4; }
.chip[aria-current=true], .chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.issue { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; }
.issue > summary { list-style: none; cursor: pointer; padding: 16px 18px; display: grid; grid-template-columns: 118px 1fr auto; gap: 14px; align-items: center; border-radius: 14px; }
.issue > summary::-webkit-details-marker { display: none; }
.issue > summary:hover { background: #F8FAFD; }
.issue[open] > summary { border-bottom: 1px solid var(--line-2); border-radius: 14px 14px 0 0; }
.issue h3 { font-size: 16px; }
.issue .i-meta { color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.issue .i-count { text-align: end; font-weight: 800; font-size: 18px; }
.issue .i-count span { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.issue-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 14px; }
.fix { background: var(--ok-t); border: 1px solid #B9E3D2; border-radius: 12px; padding: 12px 14px; color: #0B4A36; }
.fix strong { display: block; margin-bottom: 2px; }
.examples { display: flex; flex-direction: column; gap: 8px; }
.example { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.example code { display: block; background: var(--ink); color: #E3EAF8; padding: 10px 12px; border-radius: 0; white-space: pre-wrap; word-break: break-all; font-size: 12.5px; }
.example .ex-meta { padding: 8px 12px; font-size: 13px; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; }
.page-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.page-list li { display: flex; justify-content: space-between; gap: 10px; }
.source-tag { font-size: 12px; font-weight: 800; color: #15307F; background: var(--blue-t); padding: 2px 8px; border-radius: 6px; }

/* Scan progress */
.scan-progress { display: flex; flex-direction: column; gap: 8px; }
.progress { height: 10px; background: #E5EAF2; border-radius: 5px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--blue); width: 100%; transform: scaleX(0); transform-origin: left; transition: transform .4s ease; border-radius: 5px; }
.progress.indet i { width: 35%; transform: none; animation: indet 1.2s ease-in-out infinite; }
@keyframes indet { 0% { transform: translateX(-100%); } 100% { transform: translateX(300%); } }

/* Widget editor */
.editor { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 22px; align-items: start; }
.editor .preview { position: sticky; top: 82px; }
.preview-frame { width: 100%; height: 720px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 14px; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg label { font-weight: 600; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border: 1px solid #C3CCDB; border-radius: 10px; cursor: pointer; background: #fff; min-height: 40px; }
.seg input:checked + span { border-color: var(--blue); background: var(--blue-t); color: #15307F; box-shadow: 0 0 0 1px var(--blue); }
.seg input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.color-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.contrast-note { font-size: 13px; }

/* Install */
.code-block { position: relative; }
.code-block pre { background: var(--ink); color: #E3EAF8; padding: 16px 18px; border-radius: 12px; font-size: 13.5px; white-space: pre-wrap; word-break: break-all; margin: 0; font-family: ui-monospace, Menlo, Consolas, monospace; }
.code-block .copy-btn { position: absolute; top: 10px; inset-inline-end: 10px; background: #fff; color: var(--ink); font-weight: 800; min-height: 34px; padding: 5px 12px; font-size: 13.5px; }
.platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.platform { border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.platform h3 { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; }
.platform ol { margin: 0; padding-inline-start: 18px; font-size: 14px; color: var(--muted); }
.platform ol li { margin-bottom: 3px; }

/* Tables */
.table-wrap { overflow-x: auto; position: relative; }
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: start; font-size: 13px; color: var(--muted); font-weight: 800; padding: 9px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 11px 8px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table select { width: auto; padding: 6px 8px; min-height: 36px; }
.table input:not([type=checkbox]) { padding: 7px 8px; min-width: 70px; min-height: 36px; }
.person-cell { display: flex; align-items: center; gap: 10px; }
.row-actions { text-align: end; white-space: nowrap; }
.row-actions .link { margin-inline-start: 12px; }
.url-cell { max-width: 460px; }
.url-cell a { word-break: break-all; }
.code { background: var(--ink); color: #E3EAF8; padding: 12px; border-radius: 10px; font-size: 12.5px; overflow: auto; max-height: 280px; }
.feed { list-style: none; padding: 0; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.feed li { display: flex; gap: 12px; padding: 13px 16px; border-bottom: 1px solid var(--line-2); align-items: flex-start; }
.feed li.feed-day { background: #F6F8FC; font-size: 12.5px; font-weight: 800; color: var(--muted); padding: 8px 16px; text-transform: uppercase; letter-spacing: .05em; }
.feed li:last-child { border: 0; }
.logo-row { display: flex; gap: 18px; align-items: center; margin-bottom: 18px; }
.logo-row .stack { gap: 6px; }
.file-btn { cursor: pointer; }
.usage { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 16px; }
.usage > div { display: flex; flex-direction: column; gap: 4px; }
.usage b { font-size: 17px; }
.meter { height: 8px; background: var(--line-2); border-radius: 4px; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--blue); }
.meter.over i { background: var(--warn); }
.plan-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.plan-mini { border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 3px; }
.plan-mini.on { border-color: var(--blue); background: #F5F8FF; box-shadow: 0 0 0 1px var(--blue); }
.plan-mini .plan-btn, .plan-mini .plan-cur { margin-top: 10px; align-self: flex-start; }
.ws-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.ws-list li { display: flex; align-items: center; gap: 10px; }
.ws-list li .link { margin-inline-start: auto; }
.help-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 20px; }
.help-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.help-card h2 { margin: 10px 0 6px; }
.step-n { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; }
.mail-log summary, .role-help summary { cursor: pointer; }
.role-help { margin-top: 12px; } .role-help ul { margin: 8px 0 0; padding-inline-start: 18px; font-size: 14px; color: var(--muted); }
.storage-in { display: flex; gap: 6px; align-items: center; }
.plan-table input[type=number] { width: 100px; }

/* Empty states */
.empty { text-align: center; padding: 56px 20px; background: var(--surface); border: 2px dashed #C3CCDB; border-radius: 18px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.empty p { margin: 0 0 8px; max-width: 520px; }
.empty-ic { width: 60px; height: 60px; border-radius: 18px; background: var(--blue-t); color: var(--blue-d); display: grid; place-items: center; margin-bottom: 6px; }
.empty.small { padding: 26px 14px; border: 0; background: none; font-size: 14px; color: var(--muted); }
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; text-align: start; margin: 18px 0 10px; width: 100%; max-width: 820px; }
.steps3 > div { border: 1px solid var(--line); border-radius: 14px; padding: 14px; background: #fff; }
.steps3 b { display: block; margin: 6px 0 2px; }

/* Modals */
.modal { border: 0; border-radius: 18px; padding: 0; width: min(620px, 94vw); box-shadow: 0 24px 70px rgba(0,0,0,.3); color: var(--text); }
.modal.small { width: min(480px, 94vw); }
.modal::backdrop { background: rgba(11,31,58,.55); }
.modal-body { padding: 24px; }
.modal-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.seg-tabs { display: grid; grid-template-columns: 1fr 1fr; background: #EEF1F6; border-radius: 11px; padding: 4px; }
.seg-tabs button { padding: 8px; border-radius: 8px; font-weight: 700; color: var(--muted); }
.seg-tabs button.on { background: #fff; color: var(--text); box-shadow: 0 1px 3px rgba(11,31,58,.14); }
.ir { padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; margin-bottom: 8px; }
.ir.ok { border-color: #B9E3D2; background: #F2FAF6; } .ir.bad { border-color: #F3C2C5; background: #FEF5F6; }
.toast { position: fixed; bottom: 26px; left: 50%; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 11px; opacity: 0; transition: .25s; z-index: 200; font-weight: 600; max-width: min(520px, 92vw); text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.err { background: var(--bad); }

/* AI plan */
.ai-plan ol { padding-inline-start: 20px; margin: 10px 0; display: flex; flex-direction: column; gap: 12px; }
.ai-plan li strong { display: block; }
.ai-plan .tag { font-size: 12px; font-weight: 800; padding: 1px 8px; border-radius: 6px; background: #EEF1F6; color: var(--muted); margin-inline-start: 6px; }

/* ---------- Auth pages ---------- */
body.auth { background: var(--bg); min-height: 100vh; }
.auth-split { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.auth-side { background: radial-gradient(800px 500px at 100% 0%, rgba(31,79,216,.45), transparent 60%), radial-gradient(600px 420px at 0% 100%, rgba(214,45,58,.22), transparent 60%), var(--ink); color: #fff; padding: 36px 48px; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; position: relative; overflow: hidden; }
.auth-side::after { content: ''; position: absolute; right: -80px; bottom: -80px; width: 360px; height: 360px; background: url("brand/accessible-nord-mark.svg") center / contain no-repeat; opacity: .06; filter: invert(1); pointer-events: none; }
.auth-quote h2 { font-size: clamp(30px, 3vw, 42px); line-height: 1.1; letter-spacing: -.03em; font-weight: 800; margin-bottom: 16px; text-wrap: balance; }
.auth-quote h2 em { font-style: normal; color: var(--blue-l); }
.auth-quote p { color: #C9D4EA; font-size: 17px; max-width: 440px; }
.side-steps { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 14px; }
.side-steps li { display: flex; align-items: center; gap: 12px; color: #C9D4EA; font-weight: 600; }
.side-steps li span { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.45); display: grid; place-items: center; font-size: 13px; }
.side-steps li.on { color: #fff; } .side-steps li.on span { background: #fff; border-color: #fff; color: var(--ink); font-weight: 800; }
.side-points { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 10px; color: #E3EAF8; }
.side-points li { display: flex; gap: 10px; align-items: flex-start; }
.side-points .ic { color: var(--blue-l); margin-top: 2px; }
.auth-side .faint { color: #C9D4EA; }
.auth-main { display: grid; place-items: center; padding: 32px 20px; }
.auth-center { min-height: 100vh; display: grid; place-items: center; padding: 32px 16px; }
.auth-card { width: min(440px, 100%); background: var(--surface); padding: 32px; border-radius: 20px; box-shadow: 0 1px 2px rgba(11,31,58,.04), 0 20px 50px rgba(11,31,58,.1); display: flex; flex-direction: column; gap: 16px; border: 1px solid var(--line-2); }
.auth-main .auth-card { box-shadow: none; background: transparent; padding: 0; border: 0; }
.auth-card h1 { font-size: 30px; font-weight: 800; }
.auth-card > p.muted { margin: -8px 0 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--blue-d); }
.signed-as { display: flex; gap: 12px; align-items: center; padding: 12px; background: #F1F4FA; border-radius: 12px; }
.auth-links { display: flex; justify-content: space-between; font-size: 14px; }
.join-ws { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.join-ws h2 { font-size: 28px; }
.verify-card { text-align: center; }
.verify-card .brand { justify-content: center; }
.verify-ic { width: 72px; height: 72px; margin: 6px auto 0; border-radius: 22px; display: grid; place-items: center; background: var(--blue-t); color: var(--blue-d); }
.verify-card .notice, .verify-card .alert { text-align: start; }
.verify-tips { text-align: start; margin: 0; padding-inline-start: 20px; display: flex; flex-direction: column; gap: 4px; }

/* Onboarding */
.ob { min-height: 100vh; display: flex; flex-direction: column; align-items: center; padding: 0 16px 60px; }
.ob-head { width: 100%; max-width: 1040px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 22px 0; gap: 16px; }
.ob-head > :last-child { justify-self: end; }
.ob-steps { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0; }
.ob-steps li { display: flex; align-items: center; gap: 7px; font-size: 14px; color: var(--muted); font-weight: 700; padding: 6px 10px; border-radius: 999px; }
.ob-steps li span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #E1E7F0; font-size: 12px; }
.ob-steps li.on { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(11,31,58,.1); }
.ob-steps li.on span { background: var(--ink); color: #fff; }
.ob-steps li.done span { background: var(--blue); color: #fff; }
.ob-card { width: 100%; max-width: 700px; background: var(--surface); border-radius: 22px; padding: 38px; box-shadow: 0 20px 60px rgba(11,31,58,.09); margin-top: 18px; }
.ob-card h1 { font-size: 30px; font-weight: 800; line-height: 1.15; }
.lead-s { font-size: 16.5px; margin: 10px 0 24px; }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.choice-grid legend { grid-column: 1 / -1; }
.choice { border: 1.5px solid #C3CCDB; border-radius: 14px; padding: 13px; cursor: pointer; display: flex; gap: 9px; align-items: flex-start; font-weight: 400; }
.choice input { margin-top: 3px; }
.choice span { display: flex; flex-direction: column; gap: 3px; }
.choice strong { font-weight: 700; }
.choice small { color: var(--muted); font-size: 13px; line-height: 1.35; }
.choice:has(input:checked) { border-color: var(--blue); background: #F5F8FF; box-shadow: 0 0 0 1px var(--blue); }
.ob-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; gap: 12px; }
.next-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; text-align: start; }
.next-card { border: 1.5px solid var(--line); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 6px; color: var(--text); text-decoration: none; transition: border-color .15s, transform .15s; }
.next-card:hover { border-color: var(--blue); transform: translateY(-2px); }
.next-card.featured { background: var(--ink); color: #fff; border-color: var(--ink); }
.next-card.featured .muted { color: #C9D4EA; }
.f-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-t); color: var(--blue-d); margin-bottom: 4px; }
.next-card.featured .f-ic { background: #fff; color: var(--ink); }

/* Report (print) */
.report { max-width: 900px; margin: 0 auto; padding: 36px 28px 60px; background: #fff; }
.report-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 3px solid var(--ink); padding-bottom: 16px; margin-bottom: 22px; gap: 16px; }
.report h1 { font-size: 30px; }
.report h2 { margin: 26px 0 10px; }
.report .print-bar { position: sticky; top: 0; background: #fff; padding: 10px 0; display: flex; gap: 8px; justify-content: flex-end; }
@media print {
  .print-bar, .skip-link { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  .report { padding: 0; }
  .issue, .box { break-inside: avoid; }
  a { color: inherit; text-decoration: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .mainnav a span { display: none; }
  .cl-steps { grid-template-columns: repeat(3, 1fr); }
  .usage { grid-template-columns: repeat(2, 1fr); }
  .editor { grid-template-columns: 1fr; }
  .editor .preview { position: static; }
}
@media (max-width: 960px) {
  .layout { grid-template-columns: 1fr; }
  .layout > .sidebar { display: none; }
  .content { padding: 20px 16px 60px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .grid2, .platforms, .steps3 { grid-template-columns: 1fr; }
  .auth-split { grid-template-columns: 1fr; }
  .auth-side { padding: 22px; } .auth-quote, .auth-side > p { display: none; }
  .help-grid, .next-cards, .choice-grid { grid-template-columns: 1fr; }
  .ob-head { grid-template-columns: auto 1fr; } .ob-steps { display: none; }
  .ob-card { padding: 24px; }
}
@media (max-width: 640px) {
  .row2, .row3, .plan-row, .usage, .feature-grid { grid-template-columns: 1fr; }
  .cl-steps { grid-template-columns: 1fr; }
  .ws-switch .ws-name, .topbar .brand-name { display: none; }
  .topbar { gap: 6px; padding: 0 10px; }
  .invite-btn { display: none; }
  .hide-sm { display: none; }
  .mainnav { margin-inline-start: 0; gap: 0; }
  .mainnav a { padding: 9px 9px; }
  .me { gap: 2px; }
  .topbar .brand { flex: none; }
  .site-grid { grid-template-columns: 1fr; }
  .issue > summary { grid-template-columns: 1fr auto; }
  .issue > summary .imp { grid-column: 1 / -1; justify-self: start; }
  .issue > summary { grid-template-columns: 1fr auto; }
  .sev-row { grid-template-columns: 90px 1fr 44px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media (forced-colors: active) { .ring-fg, .chart-line polyline { stroke: CanvasText; } .chart-bars rect { fill: CanvasText; } }

/* ---------- Brand credit (free plan) ---------- */
.app-credit { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 18px 16px 26px; font-size: 13px; color: var(--muted); text-align: center; }
.app-credit a { color: var(--blue-d); font-weight: 700; }
.auth .app-credit { position: relative; }

/* ---------- Language switcher + right-to-left (Arabic) ---------- */
.lang-switch ul { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0; padding: 0; }
.lang-switch a { display: inline-flex; align-items: center; min-height: 32px; padding: 3px 9px; border-radius: 8px; font-size: 13.5px; font-weight: 700; color: var(--blue-d); text-decoration: none; }
.lang-switch a:hover { background: #EEF2FA; }
.lang-switch a[aria-current] { background: var(--ink); color: #fff; }
.menu-langs { padding: 2px 10px 8px; }
.menu-pop .menu-langs a { width: auto; padding: 3px 9px; }
.auth-lang { position: absolute; top: 14px; inset-inline-end: 16px; z-index: 5; }
[dir=rtl] body { letter-spacing: 0; }
[dir=rtl] .auth-side::after { right: auto; left: -80px; }
[dir=rtl] .icon-flip, [dir=rtl] .i-arrow svg, [dir=rtl] .btn-arrow svg { transform: scaleX(-1); }
[dir=rtl] input[type=email], [dir=rtl] input[type=url], [dir=rtl] input[type=tel], [dir=rtl] code, [dir=rtl] pre, [dir=rtl] .copy-row input { direction: ltr; text-align: start; }
[dir=rtl] input[type=email], [dir=rtl] input[type=url], [dir=rtl] .copy-row input { text-align: right; }
