/* The UI illustrations (js/illus.js): windows and a phone drawn in HTML and SVG with sample figures. They always use the light product palette, in light and dark pages.
   Everything inside is sized in em, and the em follows the width of the picture (container query units), so a picture is the same drawing at any size. */
.uiw, .uph { --c1: #3b6bf0; --c2: #8791a5; --ub: #ffffff; --us: #f3f5f8; --ut: #0e1726; --um: #667085; --ul: #e3e7ee; container-type: inline-size; position: relative; background: var(--ub); color: var(--ut); border: 1px solid #d9dee7; box-shadow: var(--shadow-float); text-align: start; font-family: var(--font); line-height: 1.35; }
.uiw { width: 100%; border-radius: 14px; overflow: hidden; }
.uiw.dash > .uim, .uiw.dash > .uib { font-size: 1.43cqw; }
.uiw.inv > *, .uiw.led > * { font-size: 2.15cqw; }
.uib { display: flex; align-items: center; gap: .6em; padding: .95em 1.4em; background: var(--us); border-bottom: 1px solid var(--ul); }
.uiw.dash .uib { padding: .95em 1.6em; }
.uib i { width: .85em; height: .85em; border-radius: 50%; background: #cdd4e0; flex: none; }
.uib span { margin-inline-start: 1em; color: var(--um); font-size: .95em; font-weight: 500; }
.uiw .ms, .uph .ms { font-size: 1.5em; vertical-align: 0; }
.uiw h4, .uph h4 { margin: 0; font-size: 1.5em; line-height: 1.2; font-weight: 600; letter-spacing: 0; color: var(--ut); }
.uiw small, .uph small { color: var(--um); font-size: .85em; display: block; }
.uiw em, .uph em { font-style: normal; }
/* dashboard */
.uim { display: grid; grid-template-columns: 5.6em 1fr; }
.uis { display: flex; flex-direction: column; align-items: center; gap: .9em; padding: 1.4em .7em; border-inline-end: 1px solid var(--ul); background: #fbfcfd; }
.uis b { width: 2.9em; height: 2.9em; border-radius: .85em; background: var(--ut); color: #f3f5f8; display: grid; place-items: center; font: 700 1.7em/1 "NkPlexAr", var(--font); padding-bottom: .12em; margin-bottom: .5em; }
.uis i { width: 3em; height: 3em; border-radius: .85em; display: grid; place-items: center; color: var(--um); font-style: normal; }
.uis i.on { background: rgba(59, 107, 240, .12); color: #2a56d2; }
.uic { padding: 1.7em 2em 2em; min-width: 0; }
.uh { display: flex; justify-content: space-between; align-items: center; gap: 1em; }
.ur { display: flex; align-items: center; gap: .6em; flex: none; }
.ur span { padding: .45em 1.05em; border: 1px solid var(--ul); border-radius: 99px; font-size: .9em; color: var(--um); }
.ur span.on { background: var(--ut); border-color: var(--ut); color: #fff; }
.ur em { background: var(--c1); color: #fff; padding: .55em 1.3em; border-radius: 99px; font-size: .92em; font-weight: 600; white-space: nowrap; }
.uk { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1em; margin: 1.5em 0 1.3em; }
.uk1 { position: relative; padding: 1.1em 1.25em 1.2em; border: 1px solid var(--ul); border-radius: 1em; background: #fff; min-width: 0; }
.uk1 b { display: block; margin-top: .35em; font-size: 1.95em; line-height: 1.15; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.uk1 em { color: var(--um); font-size: .78em; }
.uk1 .usp { position: absolute; inset-inline-end: 1em; top: 1.15em; width: 4.4em; height: 1.5em; color: var(--c1); }
[dir="rtl"] .usp { transform: scaleX(-1); }
.uk1.hi { background: var(--c1); border-color: var(--c1); color: #fff; }
.uk1.hi small, .uk1.hi em { color: #fff; }
.uk1.hi .usp { color: #fff; }
.ug { display: grid; grid-template-columns: 1.55fr 1fr; gap: 1.1em; }
.uc1 { border: 1px solid var(--ul); border-radius: 1em; padding: 1.1em 1.25em 1.2em; min-width: 0; background: #fff; }
.ct { display: flex; align-items: center; gap: .9em; font-weight: 600; margin-bottom: .8em; }
.ct .lg { display: inline-flex; align-items: center; gap: .45em; font-weight: 400; color: var(--um); font-size: .85em; margin-inline-start: auto; }
.ct .lg + .lg { margin-inline-start: 0; }
.ct .lg i { width: .7em; height: .7em; border-radius: 50%; background: var(--c1); }
.ct .lg.b i { background: var(--c2); }
.uch { display: block; width: 100%; color: var(--ut); }
[dir="rtl"] .uch { transform: scaleX(-1); }
.ua { display: flex; align-items: center; gap: .9em; padding: .62em 0; border-top: 1px solid var(--ul); }
.ct + .ua { border-top: 0; padding-top: .1em; }
.ui { width: 2.6em; height: 2.6em; border-radius: .75em; background: rgba(59, 107, 240, .1); color: #2a56d2; display: grid; place-items: center; flex: none; }
.ui .ms { font-size: 1.4em; }
.ut { flex: 1; min-width: 0; }
.ut b { display: block; font-size: .95em; font-weight: 600; }
.ut small { font-size: .8em; }
.un { font-weight: 600; font-variant-numeric: tabular-nums; font-size: .95em; }
/* invoice and ledger */
.uib2 { padding: 2em 2.3em 2.2em; }
.ubd { padding: .3em 1.05em; border-radius: 99px; background: rgba(21, 128, 61, .12); color: #166534; font-weight: 600; font-size: .88em; white-space: nowrap; }
.uf { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2em; margin: 1.5em 0 1.3em; }
.uf > div { background: var(--us); border-radius: .8em; padding: .8em 1.1em; }
.uf b { display: block; margin-top: .15em; font-weight: 600; }
.utb { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.utb th { text-align: start; color: var(--um); font-weight: 500; font-size: .85em; padding: .55em .4em; border-bottom: 1px solid var(--ul); }
.utb td { padding: .8em .4em; border-bottom: 1px solid var(--ul); }
.utb th:not(:first-child), .utb td:not(:first-child) { text-align: end; }
.utot { display: flex; justify-content: space-between; align-items: baseline; margin-top: 1.2em; padding-top: 1em; border-top: 2px solid var(--ut); }
.utot span { font-weight: 600; }
.utot b { font-size: 1.7em; font-weight: 600; letter-spacing: -.02em; }
.utot em { font-size: .55em; color: var(--um); font-weight: 400; }
.ledg tfoot td { font-weight: 700; border-top: 2px solid var(--ut); border-bottom: 0; padding-top: .9em; }
/* phone */
.uph { width: 100%; aspect-ratio: 9 / 18.4; border: 7px solid #0e1726; border-radius: 15% / 7.4%; overflow: hidden; background: #0e1726; }
.uphs { height: 100%; background: #fff; border-radius: 11.5% / 5.6%; padding: 4.2cqw 4.2cqw 2cqw; display: flex; flex-direction: column; gap: 2.2cqw; font-size: 3.5cqw; overflow: hidden; }
.un0 { display: block; width: 24%; height: 2.6cqw; border-radius: 99px; background: #0e1726; margin: 0 auto 1cqw; }
.uphs .uh h4 { font-size: 1.35em; }
.uphs .ui { width: 2.4em; height: 2.4em; background: var(--us); color: var(--um); border-radius: 50%; }
.ubig { position: relative; background: var(--c1); color: #fff; border-radius: 1em; padding: 1em 1.1em 1.1em; }
.ubig small, .ubig em { color: #fff; }
.ubig b { display: block; font-size: 2.1em; line-height: 1.15; font-weight: 600; letter-spacing: -.02em; }
.ubig .usp { position: absolute; inset-inline-end: 1em; top: 1em; width: 4em; height: 1.4em; color: #fff; }
.umini { display: grid; grid-template-columns: 1fr 1fr; gap: .6em; }
.umini > div { border: 1px solid var(--ul); border-radius: .85em; padding: .6em .8em; }
.umini b { font-size: 1.05em; font-weight: 600; }
.uphs .uc1 { padding: .8em .9em .5em; }
.unav { margin-top: auto; display: flex; justify-content: space-around; padding-top: .8em; border-top: 1px solid var(--ul); }
.unav i { width: 2.6em; height: 2.6em; border-radius: .8em; display: grid; place-items: center; color: var(--um); font-style: normal; }
.unav i.on { background: rgba(59, 107, 240, .12); color: #2a56d2; }
.unav .ms, .uphs .ui .ms { font-size: 1.35em; }
/* laptop + phone */
.udev { position: relative; padding-bottom: 4%; }
.udp { position: absolute; inset-inline-end: -1%; bottom: -3%; width: 21%; z-index: 3; filter: drop-shadow(0 30px 40px rgba(14, 23, 38, .28)); }
.udp .uph { box-shadow: none; }
@media (max-width: 760px) { .udp { width: 26%; inset-inline-end: 0; } }
