/* Mboni. Palette: Deep Teal #0F4D4E (identity), Terracotta #E16A3A (accent and calls to action), Warm Sand #F7F3EB (backgrounds),
   Charcoal #1F2937 (text), Sage Green #2E7D6B (confirmed only), Soft Coral #F43F5E (failed checks and alerts), Cool Gray #E5E7EB (borders).
   Type is the system font: San Francisco on Apple devices, the device's own sans elsewhere. No web fonts. */
:root {
  --teal: #0F4D4E; --ink: #1F2937; --amberink: #B8481A; --paper: #F7F3EB; --amber: #E16A3A;
  --green: #2E7D6B; --red: #F43F5E; --white: #fff; --line: #E5E7EB; --muted: #5B6472; --soft: #EEE9DF;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.05);
  --ring: 0 0 0 4px rgba(15,77,78,.14);
  --ease: cubic-bezier(.25,.1,.25,1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.47 var(--font); letter-spacing: -.011em; }
h1, h2, h3, .appname, .cname, .bigcode { font-family: var(--font); font-weight: 600; color: var(--teal); letter-spacing: -.022em; }
h1 { font-size: 2.1rem; line-height: 1.1; margin: 0 0 .7rem; letter-spacing: -.03em; }
h2 { font-size: 1.35rem; line-height: 1.2; margin: 1.8rem 0 .6rem; }
h3 { font-size: 1.05rem; line-height: 1.25; margin: 1.4rem 0 .4rem; }
p { margin: 0 0 1rem; }
a { color: var(--teal); text-decoration-color: rgba(15,77,78,.35); text-underline-offset: 3px; transition: color .2s var(--ease); }
a:hover { color: #000; text-decoration-color: currentColor; }
code, .mono { font-family: var(--mono); font-size: .9em; }
.muted, .help { color: var(--muted); font-size: .88rem; letter-spacing: -.005em; }
.help { margin: .35rem 0 0; }
.empty { color: var(--muted); padding: 1.5rem 0; text-align: center; }
:focus-visible { outline: 2px solid transparent; box-shadow: var(--ring); border-radius: 8px; }   /* the transparent outline shows in Windows High Contrast, where shadows vanish */
::selection { background: rgba(15,77,78,.16); }

/* Brand bar: the mark exactly as supplied, on white glass */
.pubhead, .apphead { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.86); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0,0,0,.08); padding: 10px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--teal); }
.brand .mark { display: block; height: 34px; width: auto; flex: 0 0 auto; }
.brand .appname { display: block; text-transform: uppercase; letter-spacing: .04em; font-weight: 700; }
.appname { font-size: 1.35rem; line-height: 1; letter-spacing: -.03em; }

.testbar { background: var(--teal); color: #fff; text-align: center; padding: 7px 12px; font-size: .82rem; letter-spacing: .01em; }

/* Public */
.pub { max-width: 600px; margin: 0 auto; padding: 56px 20px 40px; }
.pub h1 { font-size: 2.6rem; letter-spacing: -.035em; }
.pub .lead { font-size: 1.25rem; line-height: 1.4; color: var(--muted); letter-spacing: -.015em; }
.pub .steps { padding-left: 1.2rem; margin: 1.2rem 0; }
.pub .steps li { margin-bottom: .4rem; }
.alt { background: var(--soft); border-radius: 14px; padding: 14px 18px; }
.pubfoot { max-width: 600px; margin: 0 auto; padding: 8px 20px 48px; color: var(--muted); font-size: .85rem; }
.pubnav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 10px; }
.foot { margin: .3rem 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Forms */
.stack > * + * { margin-top: 18px; }
.stack.narrow { max-width: 420px; }
.fld label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .88rem; letter-spacing: -.005em; }
.fld.chk label { font-weight: 400; font-size: 1rem; display: flex; gap: 10px; align-items: flex-start; }
input[type=checkbox], input[type=radio] { accent-color: var(--teal); width: 18px; height: 18px; margin: 3px 0 0; flex: none; }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=date], input[type=search], input[type=datetime-local], input[type=time], input[type=file], select, textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--teal); font: inherit; letter-spacing: -.011em; min-height: 48px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease); -webkit-appearance: none; appearance: none;
}
select { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1.5l5 5 5-5' fill='none' stroke='%236E6E73' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
input:hover, select:hover, textarea:hover { border-color: #AEAEB2; }
input:focus, select:focus, textarea:focus { outline: 2px solid transparent; border-color: var(--teal); box-shadow: var(--ring); }
input::placeholder, textarea::placeholder { color: #A1A1A6; }
input[type=file] { padding: 10px; }
input[readonly] { background: var(--paper); color: var(--muted); }
textarea { resize: vertical; }
.big input.codein, .codein { font-size: 1.8rem; font-weight: 500; letter-spacing: .14em; text-align: center; padding: 16px; font-variant-numeric: tabular-nums; }
.btn, button.btn { display: inline-flex; align-items: center; justify-content: center; background: var(--teal); color: #fff; border: 0; border-radius: 980px; padding: 12px 24px; font: inherit; font-weight: 500; letter-spacing: -.011em; text-decoration: none; cursor: pointer; min-height: 46px; transition: background .2s var(--ease), transform .12s var(--ease), box-shadow .2s var(--ease); }
.btn:hover { background: #0B3A3B; color: #fff; }
.btn:active { transform: scale(.98); }
.btn.ghost { background: rgba(15,77,78,.07); color: var(--teal); }
.btn.ghost:hover { background: rgba(15,77,78,.12); color: var(--teal); }
.btn.alert { background: var(--red); color: #fff; }
.btn.alert:hover { background: #BE123C; }
.btn.small { padding: 7px 16px; min-height: 36px; font-size: .9rem; }
.big .btn { width: 100%; font-size: 1.1rem; padding: 15px; min-height: 54px; }
button.link { background: none; border: 0; color: var(--teal); text-decoration: underline; text-decoration-color: rgba(15,77,78,.35); text-underline-offset: 3px; cursor: pointer; font: inherit; padding: 4px; }
form.inline { display: inline-block; margin: 0 8px 8px 0; }
.grid2, .grid3 { display: grid; gap: 16px; grid-template-columns: 1fr; }

/* Results. Green is confirmed only. Red is do not trust. */
.result { border-radius: 24px; padding: 28px; margin-bottom: 20px; background: var(--white); border: 2px solid var(--line); box-shadow: var(--shadow); }
.result .tag { display: inline-block; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; padding: 4px 12px; border-radius: 999px; color: #fff; margin-bottom: 12px; }
.result.green { border-color: var(--green); }
.result.green .tag { background: var(--green); }
.result.red { border-color: var(--red); }
.result.red .tag { background: var(--red); }
.result.red h1 { color: var(--red); }
.person { display: flex; gap: 18px; align-items: center; margin-bottom: 10px; }
.person h1 { margin: 0; }
.portrait { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; background: var(--teal); flex: none; box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.portrait.initials { display: flex; align-items: center; justify-content: center; color: #fff; font: 600 1.8rem var(--font); }
.role { font-weight: 600; margin: 0; }
.pname { margin: 0; color: var(--muted); }
.scope { font-size: 1.05rem; margin: 12px 0; }
.pay { background: var(--soft); border-radius: 14px; padding: 12px 16px; font-weight: 600; }
.codeline { color: var(--muted); }

/* App */
.apphead .whobar { display: flex; align-items: center; gap: 12px; font-size: .88rem; }
.who { color: var(--muted); }
.shell { display: block; }
.appnav { background: rgba(255,255,255,.7); padding: 10px 12px; border-bottom: 1px solid rgba(0,0,0,.08); max-height: 70vh; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.appnav::-webkit-scrollbar { width: 8px; }
.appnav::-webkit-scrollbar-thumb { background: var(--line); border-radius: 8px; }
.appnav a { display: flex; align-items: center; gap: 12px; color: var(--teal); text-decoration: none; padding: 9px 12px; border-radius: 10px; font-weight: 500; font-size: .95rem; transition: background .15s var(--ease); }
.appnav a:hover { background: rgba(0,0,0,.05); color: var(--teal); }
.appnav a.on { background: rgba(15,77,78,.09); font-weight: 600; }
.appnav .ico { flex: none; color: var(--muted); }
.appnav a.on .ico, .appnav a:hover .ico { color: var(--teal); }
.navgrp { margin: 2px 0; }
.navgrp > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; padding: 14px 12px 6px; }
.navgrp > summary::-webkit-details-marker { display: none; }
.navgrp > summary::after { content: ''; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-right: 4px; transition: transform .15s; }
.navgrp[open] > summary::after { transform: rotate(-135deg); }
.navsolo { margin: 2px 0; }
.app { max-width: 1100px; margin: 0 auto; padding: 28px 20px 64px; min-width: 0; }
.app > h1 { font-size: 2.2rem; margin-bottom: 1.2rem; }
.card { background: var(--white); border: 0; box-shadow: var(--shadow); border-radius: 22px; padding: 26px; margin: 0 0 20px; }
.card h2:first-child { margin-top: 0; }
.flash { padding: 14px 18px; border-radius: 16px; margin: 0 0 18px; border: 0; background: var(--white); box-shadow: var(--shadow); }
.flash.ok { background: #EAF5EF; color: var(--green); }
.flash.err { background: #FBECEA; color: var(--red); }
.stats { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); margin-bottom: 16px; }
.stat { background: var(--white); box-shadow: var(--shadow); border-radius: 22px; padding: 20px 20px 18px; position: relative; overflow: hidden; }
.stat::after { content: ''; position: absolute; left: 20px; right: 20px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--teal); opacity: .18; }
.stat.warn::after { background: var(--red); opacity: .8; }
.stat .num { font: 600 2.6rem/1.05 var(--font); letter-spacing: -.04em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
@media (max-width: 600px) { .stat .num { font-size: 1.7rem; } }
.stat .lbl { font-weight: 500; margin-top: 4px; }
.stat .note { color: var(--muted); font-size: .85rem; }
.todo { list-style: none; margin: 0; padding: 0; }
.todo li { padding: 13px 0; border-top: 1px solid var(--soft); }
.todo li:first-child { border-top: 0; }
.todo li.urgent a { color: var(--red); font-weight: 600; }
.allclear { border-color: var(--green); color: var(--green); }
.bars { width: 100%; max-width: 360px; height: auto; display: block; }
.bar { fill: var(--teal); opacity: .55; }
.bar.now { opacity: 1; }
.barv { font-size: 6px; fill: var(--teal); }
.axis { stroke: var(--line); stroke-width: 1; }
.subtabs { display: inline-flex; flex-wrap: wrap; gap: 2px; margin-bottom: 18px; padding: 3px; background: rgba(0,0,0,.06); border-radius: 12px; }
.subtabs a { padding: 7px 16px; border-radius: 9px; text-decoration: none; font-size: .9rem; font-weight: 500; transition: background .2s var(--ease), box-shadow .2s var(--ease); }
.subtabs a.on { background: var(--white); box-shadow: 0 1px 3px rgba(0,0,0,.14); font-weight: 600; }
.filters { display: flex; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.filters input, .filters select { width: auto; flex: 1 1 160px; }
.tablewrap { overflow-x: auto; background: var(--white); box-shadow: var(--shadow); border-radius: 22px; }
.card .tablewrap { box-shadow: none; border-radius: 0; }
tbody tr { transition: background .15s var(--ease); }
tbody tr:hover td { background: #FAFAFC; }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 14px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 14px 16px; border-bottom: 1px solid var(--soft); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
.badge { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: .78rem; font-weight: 600; background: var(--soft); color: var(--teal); }
.badge.green { background: #DCEFE8; color: #1F5C4E; }
.badge.red { background: #f6dcd9; color: #8f2c24; }
.meter { height: 6px; background: var(--soft); border-radius: 6px; overflow: hidden; margin-top: 10px; }
.meter i { display: block; height: 100%; background: var(--teal); border-radius: 6px; transition: width .6s var(--ease); }
.meter.p0 i { width: 0% } .meter.p10 i { width: 10% } .meter.p20 i { width: 20% } .meter.p30 i { width: 30% } .meter.p40 i { width: 40% } .meter.p50 i { width: 50% } .meter.p60 i { width: 60% } .meter.p70 i { width: 70% } .meter.p80 i { width: 80% } .meter.p90 i { width: 90% } .meter.p100 i { width: 100% }
.invoice .facts { margin-bottom: 14px; }
.pager { display: flex; gap: 16px; align-items: center; margin: 14px 0; }
.phead { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.step { border-top: 1px solid var(--soft); padding: 16px 0; }
.step.done strong { color: var(--green); }
.facts { display: grid; grid-template-columns: 1fr; gap: 2px 16px; margin: 0; }
.facts dt { font-weight: 600; margin-top: 10px; color: var(--muted); font-size: .88rem; }
.facts dd { margin: 0; }
.repcard { display: flex; gap: 16px; align-items: center; margin-bottom: 12px; }
.bigcode { font-size: 2rem; margin: 6px 0; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* Sign in */
.loginwrap { display: flex; justify-content: center; padding: 64px 20px; }
.logincard { width: 100%; max-width: 420px; background: var(--white); border: 0; box-shadow: var(--shadow); border-radius: 26px; padding: 36px 32px; }
.loginhead { margin-bottom: 20px; }

/* Card print page */
.cardpage { max-width: 760px; margin: 0 auto; padding: 16px; }
.cardsheet { display: flex; flex-wrap: wrap; gap: 16px; }
.cardface { width: 85.6mm; height: 54mm; background: var(--white); border: 1px solid #b9b19c; border-radius: 3.5mm; padding: 3.5mm; overflow: hidden; position: relative; font-size: 8.5pt; line-height: 1.3; color: var(--teal); }
.cardface .chead { margin-bottom: 2mm; }
.cardface .brand .mark { height: 8mm; }
.cardface .appname { font-size: 13pt; }
.cbody { display: flex; gap: 3mm; align-items: flex-start; }
.cphoto { width: 22mm; height: 22mm; border-radius: 2mm; object-fit: cover; background: var(--teal); flex: none; }
.cphoto.initials { display: flex; align-items: center; justify-content: center; color: var(--paper); font: 600 16pt var(--font); }
.cinfo { flex: 1; min-width: 0; }
.cinfo p { margin: 0 0 1mm; }
.cname { font-size: 11pt; font-weight: 700; font-family: var(--font); }
.crole { font-weight: 700; }
.cprin, .cscope { color: #2e4b51; }
.cscope { font-size: 7.5pt; }
.cqr { width: 20mm; height: 20mm; flex: none; }
.cqr svg { width: 100%; height: 100%; display: block; }
.ccode { position: absolute; left: 3.5mm; bottom: 2.5mm; margin: 0; font: 700 12pt var(--mono); letter-spacing: .08em; }
.cardface.back { display: flex; flex-direction: column; justify-content: center; }
.cardface.back p { margin: 0 0 1.5mm; }
.cbig { font: 600 13pt var(--font); }

/* Wider screens */
@media (min-width: 960px) {
  .shell { display: grid; grid-template-columns: 232px minmax(0, 1fr); }
  .appnav { padding: 16px 14px 24px; border-bottom: 0; align-self: start; position: sticky; top: 51px; height: calc(100vh - 51px); max-height: calc(100vh - 51px); border-right: 1px solid rgba(0,0,0,.08); }
  .app { width: 100%; padding: 26px 32px 56px; }
}
@media (min-width: 720px) {
  .grid2 { grid-template-columns: 1fr 1fr; }
  .grid3 { grid-template-columns: 1fr 1fr 1fr; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .facts { grid-template-columns: 180px 1fr; }
  .facts dt { margin-top: 0; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.8rem; }
  .pub { padding-top: 32px; }
  .pub h1 { font-size: 2.1rem; }
  .app > h1 { font-size: 1.9rem; }
  .card { padding: 20px; border-radius: 20px; }
  .apphead .who { display: none; }
}
@media print {
  .noprint, .testbar { display: none !important; }
  body.cardbody { background: #fff; }
  .cardpage { padding: 0; max-width: none; }
  .cardsheet { gap: 6mm; }
  .cardface { border: 0.3mm solid #000; page-break-inside: avoid; }
  @page { margin: 10mm; }
}

/* accounts and two step */
.codes{display:grid;grid-template-columns:repeat(2,1fr);gap:.4rem .8rem;list-style:none;padding:0;margin:.5rem 0;font-family:ui-monospace,Menlo,Consolas,monospace;font-size:1.05rem}
.codes li{background:var(--paper);border-radius:10px;padding:.45rem .7rem}
.qrbox{display:inline-block;background:#fff;padding:.8rem;border-radius:16px;box-shadow:var(--shadow)}
.qrbox svg,.qrbox img{display:block;width:180px;height:180px}
a.who{color:inherit;text-decoration:underline}
form.inline select{width:auto;display:inline-block;margin-right:.3rem}

/* Private ID page and live code */
.idcard { background: var(--white); border: 0; box-shadow: 0 2px 4px rgba(0,0,0,.05), 0 18px 48px rgba(0,0,0,.10); border-radius: 28px; padding: 30px 26px; text-align: center; max-width: 420px; margin: 0 auto; }
.idprin { font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; color: var(--muted); margin-bottom: .4rem; }
.idqr { width: 190px; margin: 14px auto; }
.idqr svg { width: 100%; height: auto; display: block; }
.idcode { font: 500 1.15rem var(--mono); letter-spacing: .1em; margin: 0 0 .6rem; }
.idlabel { color: var(--muted); font-size: .9rem; margin: .6rem 0 0; }
.livecode { font: 600 2.8rem var(--font); letter-spacing: .1em; margin: 0 0 .5rem; font-variant-numeric: tabular-nums; }
.livebar { height: 6px; background: var(--soft); border-radius: 4px; overflow: hidden; margin: 0 auto 12px; max-width: 260px; }
.livebar i { display: block; height: 100%; width: 100%; background: var(--green); transition: width 1s linear; }
details.livefld { margin: 0 0 14px; }
details.livefld summary { cursor: pointer; color: var(--muted); padding: 6px 0; }

.mapbox{height:460px;border:0;box-shadow:var(--shadow);border-radius:22px;margin:12px 0;overflow:hidden}
.geo{margin:18px 0;padding:16px;background:var(--soft);border-radius:16px}

/* Charts */
.chart { width: 100%; height: auto; display: block; }
.chart .axis { stroke: var(--line); stroke-width: 1; }
.chart .gridl { stroke: var(--soft); stroke-width: 1; stroke-dasharray: 2 3; }
.chart .cok { fill: var(--green); }
.chart .cbad { fill: var(--red); }
.axt { font-size: 11px; fill: var(--muted); }
.axt.end { text-anchor: end; }
.axt.mid { text-anchor: middle; }
.legend { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: center; font-size: .88rem; color: var(--muted); margin: 10px 0 0; }
.legend.vert { flex-direction: column; align-items: flex-start; margin: 0; }
.key { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: baseline; }
.key.ok { background: var(--green); } .key.bad { background: var(--red); }
.ringwrap { display: flex; align-items: center; gap: 16px; }
.ring { width: 120px; height: 120px; flex: none; }
.ring .rtrack { stroke: var(--soft); }
.ring .rok { stroke: var(--green); }
.ring .rbad { stroke: var(--red); }
.ring .rnum { font: 600 8px var(--font); fill: var(--teal); }
.hbars { list-style: none; margin: 0; padding: 0; }
.hbars li { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; margin-bottom: 12px; }
.hbars .hl { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hbars .hn { font-weight: 700; }
.hbars .hb { grid-column: 1 / 3; width: 100%; height: 6px; display: block; }
.hbt { fill: var(--soft); }
.hbf { fill: var(--teal); }
.charts .card { margin-bottom: 0; }
.charts { margin-bottom: 18px; }
@media (max-width: 719px) { .charts .card { margin-bottom: 12px; } }

/* Language switch */
.langs { display: flex; gap: 8px; margin: 0 0 12px; }
.langs a, .langs .on { padding: 5px 14px; border-radius: 999px; font-size: .85rem; text-decoration: none; background: rgba(0,0,0,.06); color: var(--teal); transition: background .2s var(--ease); }
.langs a:hover { background: rgba(0,0,0,.1); }
.langs .on { background: var(--teal); color: #fff; font-weight: 600; }

.mapbox { min-height: 460px; }
.leaflet-tooltip.citylbl { background: transparent; border: 0; box-shadow: none; color: #586a6f; font: 12px var(--font); padding: 0; }
.leaflet-tooltip.citylbl::before { display: none; }
.maperr { margin: 0 0 8px; }

/* Step by step forms */
.wstep[hidden] { display: none; }
.wprog { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; counter-reset: ws; }
.wprog li { counter-increment: ws; display: flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; color: var(--muted); }
.wprog li::before { content: counter(ws); display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--soft); color: var(--muted); font-size: .8rem; }
.wprog li { cursor: pointer; padding: 8px 2px; margin: -8px 0; border-radius: 8px; }
.wprog li:hover { color: var(--teal); }
.wprog li:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.wprog li.now { color: var(--teal); cursor: default; }
.wprog li.now::before { background: var(--teal); color: #fff; }
.wprog li.done::before { content: "\2713"; background: var(--soft); color: var(--teal); }
.wprog li:not(:last-child)::after { content: ""; width: 14px; height: 2px; background: var(--line); }
@media (max-width: 719px) { .wprog li:not(.now) { font-size: 0; gap: 0; } .wprog li:not(.now)::after { display: none; } .wprog li.now { font-size: .9rem; } }
.wnav { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
.wnav [hidden] { display: none; }
.wsave { font-size: .85rem; color: var(--muted); }
.wsave.err { color: var(--red, #b3261e); font-weight: 700; }
.wstep > h2:first-child { margin-top: 0; }

/* Motion: short, soft, and off for anyone who asks for less */
@media (prefers-reduced-motion: no-preference) {
  .app > *, .pub > *, .logincard, .idcard { animation: rise .45s var(--ease) both; }
  .app > *:nth-child(2) { animation-delay: .04s; } .app > *:nth-child(3) { animation-delay: .08s; } .app > *:nth-child(n+4) { animation-delay: .12s; }
  .wstep:not([hidden]) { animation: rise .3s var(--ease) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* Spacing and small corrections */
.fld + .fld, .grid2 + .fld, .grid3 + .fld, .fld + .grid2, .fld + .grid3, .help + .fld, .fld + .btn, .stack .fld + .help { margin-top: 18px; }
.fld > .help { margin-top: 6px; }
td code, .codeline code { white-space: nowrap; }
.logincard .btn { margin-top: 6px; }
.logincard p { margin-top: 16px; }
.logincard .btn + p, .logincard form + p { margin-top: 18px; }
.wstep > .fld:first-of-type { margin-top: 0; }

/* Centering: public pages, results, the sign in card and the ID page sit on the middle line. Forms that need reading stay left. */
.pubhead { justify-content: center; }
.pub { text-align: center; }
.pub form:not(.big) { text-align: left; }
.pub .steps, .pub ul, .pub ol, .pub dl, .pub .facts { text-align: left; }
.pub .steps { max-width: 28rem; margin-left: auto; margin-right: auto; padding-left: 1.4rem; }
.pub .stack.big { max-width: 26rem; margin-left: auto; margin-right: auto; }
.pub .fld label { text-align: left; }
.pub .big .fld label { text-align: center; }
.pub .help { text-align: center; }
.pub form:not(.big) .help { text-align: left; }
.result { text-align: center; }
.result .person { flex-direction: column; text-align: center; }
.result .facts, .result ul, .result ol { text-align: left; }
.pubfoot { text-align: center; }
.pubnav, .langs { justify-content: center; }
.loginhead { text-align: center; }
.loginhead .brand { justify-content: center; }
.logincard h1 { text-align: center; }
.logincard form + p, .logincard .btn + p { text-align: center; }
.pager { justify-content: center; }
.logincard .btn { width: 100%; margin-top: 22px; }
.geo { text-align: center; }
.geo .btn { margin-top: 12px; width: auto; }
.geo p { margin-bottom: 0; }

/* Maintenance notice bar and page. Neutral on purpose: this is information, not a warning about trust. */
.maintbar { background: var(--soft); color: var(--teal); text-align: center; padding: 10px 16px; font-size: .9rem; border-bottom: 1px solid rgba(0,0,0,.06); }
.maintbar a { font-weight: 600; margin-left: 6px; }
.maintcard { background: var(--white); border-radius: 22px; box-shadow: var(--shadow); padding: 20px 24px; margin: 0 0 16px; text-align: left; }
.maintcard h3 { margin: 0 0 4px; font-size: 1.15rem; }
.maintcard p:last-child { margin-bottom: 0; }
.maintwhen { color: var(--muted); font-size: .92rem; }

.grid2 > .fld, .grid3 > .fld { margin-top: 0; }
input[type=datetime-local] { min-width: 0; }
.badge { white-space: nowrap; }
.app > p.help { margin: 0 0 16px; }

.navcount { margin-left: auto; min-width: 20px; padding: 1px 7px; border-radius: 999px; background: var(--red); color: #fff; font-size: .72rem; font-weight: 600; text-align: center; line-height: 1.5; }
.appfoot { text-align: center; color: var(--muted); font-size: .8rem; padding: 0 20px 28px; }
@media (min-width: 960px) { .appfoot { margin-left: 232px; } }

@media (max-width: 719px) {
  .tablewrap table, .tablewrap tbody, .tablewrap tr, .tablewrap td { display: block; width: 100%; }
  .tablewrap thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tablewrap tr { padding: 12px 4px; border-bottom: 1px solid var(--soft); }
  .tablewrap tr:last-child { border-bottom: 0; }
  .tablewrap td { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 5px 12px; border: 0; text-align: right; overflow-wrap: anywhere; }
  .tablewrap td::before { content: attr(data-l); flex: none; color: var(--muted); font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; text-align: left; }
  .tablewrap td:not([data-l])::before, .tablewrap td[data-l='']::before { content: none; }
  .tablewrap td:not([data-l]), .tablewrap td[data-l=''] { justify-content: flex-end; }
}

.pub .sendform { text-align: center; }
.pub .sendform .btn { display: flex; width: 100%; }
.pub .sendform { margin-top: 24px; } .pub .sendform + p { margin-top: 20px; }

.pub .steps { list-style: none; counter-reset: st; text-align: center; padding-left: 0; max-width: 26rem; }
.pub .steps li { counter-increment: st; margin-bottom: .6rem; }
.pub .steps li::before { content: counter(st) ". "; font-weight: 600; }

/* Public pages: centred hero, soft cards, quiet corners */
.pubbody { background: radial-gradient(circle at 100% 0, rgba(15,77,78,.08) 0, rgba(15,77,78,0) 34%), radial-gradient(circle at 0 100%, rgba(15,77,78,.07) 0, rgba(15,77,78,0) 32%), var(--paper); min-height: 100vh; }
.pubhead { padding: 12px 20px; }
.securepill { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: .85rem; font-weight: 500; white-space: nowrap; }
.securepill .ico { width: 18px; height: 18px; color: var(--teal); }
.hero { text-align: center; margin-bottom: 22px; }
.hero h1 { margin-bottom: .5rem; }
.emblem { width: 80px; height: 80px; margin: 4px auto 16px; border-radius: 50%; background: rgba(15,77,78,.08); display: flex; align-items: center; justify-content: center; }
.emblem img { display: block; width: 34px; height: auto; }
.idbig { font-size: 3.1rem; font-weight: 700; line-height: 1.05; letter-spacing: .02em; margin: 0; color: var(--teal); font-variant-numeric: tabular-nums; }
.pick { background: var(--white); border-radius: 24px; box-shadow: var(--shadow); padding: 24px; margin: 0 0 18px; }
.pick h1, .pick h2 { margin: 0 0 .3rem; font-size: 1.45rem; letter-spacing: -.025em; }
.pick .help { margin: 0 0 14px; font-size: .95rem; }
.pick .fld label { font-size: .92rem; }
.pick .big .btn { min-height: 56px; box-shadow: 0 6px 16px rgba(15,77,78,.18); }
.pick .big .btn.ghost { box-shadow: none; background: transparent; border: 1.5px solid rgba(15,77,78,.25); }
.pick .big .btn.ghost:hover { background: rgba(15,77,78,.06); }
.pick .steps, .pub .steps { text-align: left; }
.pubfoot { border-top: 1px solid rgba(0,0,0,.07); margin-top: 8px; padding-top: 18px; text-align: center; }
.pubnav { gap: 6px 0; }
.pubnav a { text-decoration: none; padding: 0 16px; color: var(--teal); font-size: .9rem; }
.pubnav a + a { border-left: 1px solid var(--line); }
.langs { margin: 4px 0 14px; }
.langs a, .langs .on { padding: 8px 18px; font-size: .9rem; }
.foot { text-align: center; }

/* Outcome checks: states, tap size, small screens, low-cost phones */
.pubhead, .apphead { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
.result.neutral { border-color: #8B9497; text-align: center; }
.result.neutral .tag { background: #566265; }
.result .tag { font-size: .8rem; }
.testbar { font-size: .875rem; }
.pubfoot { font-size: .9rem; }
.pubnav a { display: inline-flex; align-items: center; min-height: 44px; }
.langs a, .langs .on { min-height: 44px; display: inline-flex; align-items: center; }
.geo { color: var(--teal); }
.geo .help, .geo p { color: #4B4B51; font-size: .9rem; }
@media (max-width: 480px) {
  .securepill { max-width: 46%; white-space: normal; text-align: right; line-height: 1.25; font-size: .8rem; }
  .emblem { width: 56px; height: 56px; margin: 0 auto 10px; }
  .emblem img { width: 26px; }
  .hero { margin-bottom: 16px; }
  .hero .lead { font-size: 1.05rem; line-height: 1.35; margin-bottom: 0; }
  .pub { padding-top: 22px; }
  .idbig { font-size: 2.6rem; }
}
.brand { min-height: 44px; }
@media (max-height: 640px) { .emblem { display: none; } }
.pub > form.stack { background: var(--white); border-radius: 24px; box-shadow: var(--shadow); padding: 22px; margin: 0 0 18px; }
@media (max-width: 480px) {
  .pubnav { gap: 0 2px; }
  .pubnav a { padding: 0 10px; }
  .pubnav a + a { border-left: 0; }
}

/* Privacy and terms: long reading, so left aligned. */
.legal .pub, .legal .pub h1, .legal .pub h2, .legal .pub p, .legal .pub .lead { text-align: left; }
.legal .pub h1 { font-size: 1.9rem; }
.legal .pub h2 { font-size: 1.15rem; margin: 1.6rem 0 .4rem; }
.legal .pub p { max-width: 38rem; }

/* Account area in the signed-in header */
.apphead .whobar { gap: 8px; }
.apphead .who { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 4px 14px 4px 4px; border-radius: 980px; background: rgba(15,77,78,.06); color: var(--teal); text-decoration: none; font-weight: 600; max-width: 14rem; transition: background .15s; }
.apphead .who:hover { background: rgba(15,77,78,.12); color: var(--teal); }
.apphead .who .av { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; background: var(--teal); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: .82rem; font-weight: 700; letter-spacing: .02em; }
.apphead .who .wn { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.apphead form.signout { margin: 0; display: inline-flex; }
.apphead .outbtn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 980px; background: #fff; color: var(--teal); font: inherit; font-weight: 600; cursor: pointer; transition: background .15s, border-color .15s; }
.apphead .outbtn:hover { background: var(--soft); border-color: rgba(15,77,78,.3); }
.apphead .outbtn:active { transform: scale(.98); }
.apphead .outbtn .ico { flex: 0 0 auto; }
.pubnav .brk { display: none; }
@media (max-width: 600px) {
  .apphead .who { display: inline-flex; padding: 4px; max-width: none; background: none; }
  .apphead .who .wn { display: none; }
  .apphead .outbtn { padding: 0; width: 44px; justify-content: center; }
  .apphead .outbtn span { display: none; }
  .pubnav .brk { display: block; flex-basis: 100%; height: 0; }
}
.pubnav .brk + a { border-left: 1px solid var(--line); }
@media (max-width: 600px) { .pubnav .brk + a { border-left: 0; } }

/* Pricing page and order form */
.pricing .pub { max-width: 980px; }
.pub.pricing, .pricing .pub { max-width: 980px; }
.pricing h1, .pricing .lead, .pricing h2.phow { text-align: center; }
.pgrid { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 28px 0; text-align: left; }
.pcard { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px 22px; display: flex; flex-direction: column; gap: 4px; }
.pcard.pick { border: 2px solid var(--teal); }
.pcard h2 { margin: 0; font-size: 1.35rem; text-align: left; }
.pcard .ptag { position: absolute; top: -12px; left: 20px; margin: 0; background: var(--amber); color: #fff; font-weight: 700; font-size: .78rem; padding: 3px 12px; border-radius: 980px; }
.pcard .pfor { color: var(--muted); margin: 4px 0 8px; min-height: 2.6em; text-align: left; }
.pcard .pprice { margin: 6px 0 0; text-align: left; }
.pcard .pnum { font-size: 1.9rem; font-weight: 700; letter-spacing: -.02em; color: var(--teal); }
.pcard .pper { color: var(--muted); font-size: .95rem; }
.pcard .pyear { margin: 2px 0 10px; font-size: .92rem; color: var(--green); font-weight: 600; text-align: left; }
.plim { list-style: none; padding: 12px 0 0; margin: 8px 0 16px; border-top: 1px solid var(--line); text-align: left; }
.plim li { padding: 3px 0; }
.pbtns { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
.pbtns .btn { width: 100%; text-align: center; }
.pincl { background: var(--soft); border-radius: 20px; padding: 20px 22px; text-align: left; }
.pincl h2 { margin: 0 0 8px; font-size: 1.1rem; text-align: left; }
.pinc { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; gap: 6px 24px; }
.pinc li { padding-left: 24px; position: relative; }
.pinc li::before { content: ""; position: absolute; left: 4px; top: .45em; width: 6px; height: 11px; border: solid var(--green); border-width: 0 2.5px 2.5px 0; transform: rotate(40deg); }
.pnote { color: var(--muted); font-size: .92rem; margin: 14px 0 20px; text-align: left; }
.pcard.pent { margin: 0 0 8px; text-align: left; }
.pcard.pent p { text-align: left; margin: 4px 0 12px; }
.pcard.pent .pbtns { max-width: 260px; }
.pricing h2.phow { margin: 28px 0 10px; }
.psteps { text-align: left; max-width: 38rem; margin: 0 auto 18px; padding-left: 1.3rem; }
.psteps li { margin-bottom: 8px; }
.pcontact { text-align: center; margin: 18px 0; }
.pricing .help { text-align: center; }
@media (min-width: 760px) {
  .pgrid { grid-template-columns: repeat(3, 1fr); }
  .pinc { grid-template-columns: 1fr 1fr; }
}
@media print {
  .pubhead, .pubfoot, .noprint, .testbar { display: none !important; }
  body.pricing { background: #fff; }
  .pricing .pub { padding: 0; max-width: none; }
  .pricing h1 { font-size: 2rem; margin: 0 0 4px; }
  .pgrid { grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0; }
  .pcard { break-inside: avoid; border-radius: 12px; padding: 14px; box-shadow: none; }
  .pcard .pnum { font-size: 1.5rem; }
  .pincl { break-inside: avoid; border: 1px solid var(--line); background: #fff; }
  .pinc { grid-template-columns: 1fr 1fr; }
  .pcard.pent .pbtns { display: none; }
}

/* About page */
.landing .pub { background: linear-gradient(180deg, #EAF0F0 0, rgba(245,245,247,0) 520px); border-radius: 0 0 40px 40px; }
.lsubnav { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin: -20px 0 36px; }
.lsubnav a { padding: 7px 14px; border-radius: 999px; color: var(--teal); text-decoration: none; font-size: .9rem; font-weight: 500; }
.lsubnav a:first-child { background: #fff; box-shadow: var(--shadow); }
.lsubnav a:hover { background: #fff; }
.lt-line { width: 100%; height: 60px; margin-top: 14px; display: block; }
.lt-side { margin: 14px 0 0; font-size: .78rem; opacity: .85; line-height: 1.6; }
.lt-side span { opacity: .65; }
.lgrey { color: #8A9A9C; }
.lradio { position: absolute; opacity: 0; pointer-events: none; }
.lswitch { display: inline-flex; background: var(--soft); border-radius: 999px; padding: 4px; margin: 18px 0 0; }
.lswitch label { padding: 8px 18px; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: .92rem; }
.lswitch em { font-style: normal; color: var(--amberink); font-weight: 500; font-size: .82rem; margin-left: 4px; }
#lbill-m:checked ~ .lswitch label[for="lbill-m"], #lbill-y:checked ~ .lswitch label[for="lbill-y"] { background: var(--teal); color: #fff; }
#lbill-m:checked ~ .lswitch label[for="lbill-m"] em, #lbill-y:checked ~ .lswitch label[for="lbill-y"] em { color: var(--amber); }
#lbill-m:focus-visible ~ .lswitch label[for="lbill-m"], #lbill-y:focus-visible ~ .lswitch label[for="lbill-y"] { box-shadow: var(--ring); }
.lplans .lplan .py { display: none; }
#lbill-y:checked ~ .lplans .lplan .py { display: block; }
#lbill-y:checked ~ .lplans .lplan .pm { display: none; }
.lstrip { display: flex; gap: 14px; align-items: center; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 8px; }
.lstrip p { margin: 0; color: var(--muted); }
.lstripicon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #fff; box-shadow: var(--shadow); color: var(--teal); }
.lframe { width: 230px; height: 400px; }
.lscreen { padding-top: 44px; }
.lm-big { font-size: 1.25rem; }
.lm-input, .lm-pill, .lm-code { font-size: 1rem; padding: 11px 10px; }
.lm-hint { margin-bottom: 14px !important; }
.landing .pub, .pub.landing { max-width: 1080px; text-align: left; }
.landing h2 { margin: 0 0 12px; font-size: 1.8rem; }
.landing h3 { margin: 0 0 6px; font-size: 1.05rem; }
.lsec { margin: 72px 0 0; }
.lcenter { text-align: center; }
.lcenter .lsub { margin-left: auto; margin-right: auto; }
.lsub { color: var(--muted); max-width: 660px; }
.leyebrow { font-family: var(--mono); text-transform: uppercase; letter-spacing: .14em; font-size: .74rem; font-weight: 600; color: var(--amberink); margin: 0 0 12px; }
.lamber { color: var(--amber); }
.lhero { display: grid; gap: 36px; align-items: center; margin-top: 8px; }
.lhero h1 { font-size: 2.7rem; line-height: 1.04; letter-spacing: -.035em; }
.lhero h1 span { display: block; color: #8A9A9C; }
.lhero .lead { font-size: 1.15rem; max-width: 520px; }
.lbtns { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 14px; }
.lbtns.lmid { justify-content: center; }
.btn.amber { background: var(--amber); color: #fff; font-weight: 600; } .btn.amber:hover { background: #C95A2D; color: #fff; }
.ltrust { color: var(--muted); font-size: .9rem; margin: 0; }
.ldev { position: relative; min-height: 330px; }
.ltab { position: absolute; top: 0; right: 0; width: 86%; background: var(--teal); color: #fff; border-radius: 22px; padding: 18px 20px 14px; box-shadow: 0 18px 48px rgba(0,0,0,.18); }
.lt-title { margin: 0 0 12px; font-size: .85rem; opacity: .75; }
.lt-row { display: flex; gap: 18px; }
.lt-row strong { display: block; font-size: 1.5rem; font-weight: 600; letter-spacing: -.03em; }
.lt-row span { font-size: .72rem; opacity: .7; }
.lt-bars { display: flex; align-items: flex-end; gap: 7px; height: 70px; margin-top: 16px; }
.lt-bars i { flex: 1; background: var(--amber); border-radius: 4px 4px 0 0; opacity: .9; }
.lt-bars i.b4 { height: 40%; } .lt-bars i.b5 { height: 52%; } .lt-bars i.b6 { height: 62%; } .lt-bars i.b7 { height: 74%; } .lt-bars i.b8 { height: 86%; } .lt-bars i.b9 { height: 100%; }
.lphone { position: absolute; left: 0; bottom: 26px; width: 210px; background: var(--white); border: 6px solid #111; border-radius: 32px; padding: 20px 14px 16px; box-shadow: 0 18px 48px rgba(0,0,0,.22); }
.lph-top { font-weight: 600; font-size: .9rem; margin: 0 0 10px; }
.lph-field { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font-family: var(--mono); letter-spacing: .06em; font-size: .9rem; }
.lph-btn { margin: 8px 0 10px; background: var(--teal); color: #fff; text-align: center; border-radius: 999px; padding: 8px; font-weight: 600; font-size: .9rem; }
.lph-ok { display: flex; gap: 8px; align-items: center; background: #E8F3EE; border-radius: 12px; padding: 9px; font-size: .74rem; line-height: 1.3; }
.lph-ok span:not(.lph-tick) { color: var(--muted); }
.lph-tick { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 700; }
.lcap { position: absolute; left: 0; right: 0; bottom: 0; color: var(--muted); font-size: .78rem; margin: 0; text-align: center; }
.lsteps { display: grid; gap: 28px; margin: 28px 0 8px; }
.lstep { text-align: center; }
.lstep p { color: var(--muted); margin: 0 auto; max-width: 300px; }
.lframe { position: relative; width: 210px; height: 360px; margin: 0 auto 18px; background: #111; border-radius: 36px; padding: 8px; box-shadow: 0 14px 36px rgba(0,0,0,.18); }
.lnotch { position: absolute; top: 14px; left: 50%; width: 70px; height: 16px; margin-left: -35px; background: #111; border-radius: 10px; z-index: 1; }
.lscreen { height: 100%; background: #F3F4F5; border-radius: 28px; padding: 40px 14px 14px; text-align: center; overflow: hidden; }
.lscreen p { margin: 0 0 8px; color: var(--teal); }
.lm-hint { font-size: .72rem; color: var(--muted) !important; text-transform: uppercase; letter-spacing: .06em; }
.lm-big { font-weight: 600; font-size: 1rem; }
.lm-input { border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 9px 10px; font-family: var(--mono); letter-spacing: .06em; }
.lm-pill { background: var(--teal); color: #fff !important; border-radius: 999px; padding: 9px; font-size: .9rem; font-weight: 600; }
.lm-or { font-size: .78rem; color: var(--muted) !important; }
.lm-code { font-family: var(--mono); background: #fff; border-radius: 10px; padding: 9px; letter-spacing: .12em; }
.lm-tick { color: var(--green) !important; font-weight: 600; }
.lm-avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--teal); color: #fff !important; display: grid; place-items: center; margin: 12px auto !important; font-weight: 600; }
.lm-role { font-size: .8rem; color: var(--muted) !important; margin-bottom: 4px !important; }
.lcap2 { color: var(--muted); font-size: .85rem; margin-top: 14px; }
.lgrid { display: grid; gap: 14px; margin: 24px 0; text-align: left; }
.lcard { background: var(--white); box-shadow: var(--shadow); border-radius: 22px; padding: 24px; }
.lcard p { margin: 0; color: var(--muted); }
.licon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--soft); color: var(--teal); margin-bottom: 14px; }
.licon.dk { background: rgba(255,255,255,.1); color: var(--amber); }
.licon.big { width: 72px; height: 72px; border-radius: 20px; margin: 0; }
.lnote { color: var(--muted); font-size: .9rem; margin: 0; }
.lband { background: var(--teal); color: #fff; border-radius: 32px; padding: 44px 24px; }
.lband h2 { color: #fff; max-width: 640px; }
.lwho2 { display: grid; gap: 14px; margin-top: 22px; }
.ldark { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 22px; padding: 22px; }
.ldark h3 { color: #fff; }
.ldark p { margin: 0; color: rgba(255,255,255,.78); }
.ltband { background: var(--teal); border-radius: 32px 32px 0 0; padding: 40px 24px 90px; text-align: center; }
.ltband h2 { color: #fff; margin: 0; }
.ltgrid { display: grid; gap: 14px; margin: -64px 14px 0; position: relative; }
.ltcard { background: var(--white); box-shadow: var(--shadow); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; }
.lthead { background: var(--soft); display: grid; place-items: center; padding: 26px; }
.ltbody { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.ltbody ul { margin: 0 0 10px; padding-left: 1.2rem; color: var(--muted); }
.ltbody p { color: var(--muted); margin: 0 0 14px; }
.ltbody .lno { margin-top: 4px; }
.ltlink { margin-top: auto; display: inline-flex; gap: 6px; align-items: center; font-weight: 600; color: var(--teal); text-decoration: none; }
.ltlink:hover { text-decoration: underline; }
.lfine { margin: 16px auto 0; text-align: center; font-size: .9rem; }
.lplans { display: grid; gap: 16px; margin: 24px 0; align-items: center; }
.lplan { background: var(--white); box-shadow: var(--shadow); border-radius: 28px; padding: 28px 26px; position: relative; }
.lplan ul { list-style: none; padding: 0; margin: 16px 0 22px; }
.lplan li { padding: 6px 0 6px 28px; position: relative; color: var(--muted); }
.lplan li::before { content: ''; position: absolute; left: 4px; top: 11px; width: 6px; height: 11px; border: solid var(--teal); border-width: 0 2px 2px 0; transform: rotate(40deg); }
.lplan .btn { display: block; text-align: center; width: 100%; }
.lkind { font-family: var(--mono); text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; color: var(--muted); margin: 0 0 6px; }
.lprice { font-size: 1.75rem; font-weight: 600; letter-spacing: -.03em; margin: 6px 0 0; }
.lprice span { white-space: nowrap; font-size: .9rem; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.lpick { background: var(--teal); color: #fff; box-shadow: 0 22px 54px rgba(0,0,0,.22); padding-top: 34px; padding-bottom: 34px; }
.lpick h3, .lpick .lprice { color: #fff; }
.lpick .lkind, .lpick .lprice span, .lpick li { color: rgba(255,255,255,.78); }
.lpick li::before { border-color: var(--amber); }
.ltag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--amber); color: #fff; font-family: var(--mono); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; border-radius: 999px; padding: 5px 14px; margin: 0; white-space: nowrap; }
.lfaq { background: var(--white); box-shadow: var(--shadow); border-radius: 16px; padding: 14px 18px; margin-bottom: 10px; }
.lfaq summary { cursor: pointer; font-weight: 600; }
.lfaq summary:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }
.lfaq p { margin: 10px 0 0; color: var(--muted); }
.lend { text-align: center; margin: 72px 0 8px; background: var(--white); box-shadow: var(--shadow); border-radius: 28px; padding: 40px 20px; }
.lend .lsub { margin: 0 auto; }
.lend .lbtns { justify-content: center; margin-bottom: 0; }
@media (min-width: 820px) {
  .lhero { grid-template-columns: 1.05fr .95fr; gap: 40px; }
  .lhero h1 { font-size: 3.3rem; }
  .ldev { min-height: 400px; }
  .lphone { width: 230px; }
  .lsteps { grid-template-columns: repeat(3, 1fr); }
  .lgrid { grid-template-columns: repeat(3, 1fr); }
  .lwho2 { grid-template-columns: repeat(3, 1fr); }
  .ltgrid { grid-template-columns: repeat(3, 1fr); margin: -64px 28px 0; }
  .lplans { grid-template-columns: repeat(3, 1fr); }
  .lband { padding: 56px 44px; }
}
@media (max-width: 600px) { .lsec { margin-top: 48px; } .lhero h1 { font-size: 2.2rem; } .lbtns .btn { width: 100%; text-align: center; } .ldev { min-height: 400px; } .ltab { width: 100%; } .lphone { left: 50%; margin-left: -105px; bottom: 30px; } .ltgrid { margin: -64px 0 0; } }
@media print { .lbtns { display: none; } }
.pcard .pper { display: block; }
.pubnav a { padding: 0 11px; }
@media print {
  .pricing .lead { font-size: 1rem; margin: 0 0 6px; }
  .pcard .pfor { min-height: 0; margin: 2px 0 4px; font-size: .85rem; }
  .pcard { font-size: .85rem; }
  .pcard.pent { margin: 8px 0 0; padding: 10px 14px; }
  .psteps, .pricing h2.phow { font-size: .9rem; }
  .pricing h2.phow { margin: 10px 0 4px; }
  .pnote { margin: 6px 0; font-size: .8rem; }
  .pincl { padding: 10px 14px; }
}

/* CRM and quotes */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.timeline { list-style: none; padding: 0; margin: 16px 0 0; }
.timeline li { padding: 10px 0 10px 14px; border-left: 2px solid var(--line); margin-left: 4px; }
.qdoc { max-width: 720px; margin: 0 auto; text-align: left; }
.qhead { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.qdoc p { text-align: left; }
.qmeta { text-align: right; }
.qno { font-weight: 700; font-size: 1.1rem; margin: 0 0 4px; }
.qtable { width: 100%; border-collapse: collapse; margin: 14px 0; }
.qtable th, .qtable td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.qtable .num { text-align: right; white-space: nowrap; }
.qtable tfoot td { border-bottom: 0; padding-top: 6px; padding-bottom: 6px; }
.qtable tr.grand td { font-weight: 700; font-size: 1.1rem; border-top: 2px solid var(--teal); }
.qrecur, .qnotes, .qterms { color: var(--muted); }
.quotepage .pub { max-width: 780px; }
.quotepage h1, .quotepage .qdoc h2 { text-align: left; }
@media print {
  .apphead, .appnav, .appfoot, .maintbar, .flash, .pubhead, .pubfoot { display: none !important; }
  .shell { display: block; }
  .qwrap, .invoice { box-shadow: none !important; border: 0 !important; }
  .qtable th, .qtable td { padding: 6px 4px; }
}
.invfrom, .invto { margin: 0 0 12px; text-align: left; }
@media print { .invoice .phead { margin-top: 8px; } }
@media print { main.app > .card:not(.invoice):not(.qwrap) { display: none !important; } }

/* Dashboard */
.dsub { color: var(--muted); margin: -8px 0 18px; }
.kpis { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; margin-bottom: 18px; }
.kpi { background: var(--white); box-shadow: var(--shadow); border-radius: 22px; padding: 18px 18px 14px; display: flex; flex-direction: column; min-width: 0; }
.kpi p { margin: 0; }
.kicon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; margin-bottom: 12px; }
.t-teal { background: #E3ECEC; color: var(--teal); } .t-amber { background: #FBE7DD; color: var(--amberink); } .t-green { background: #E3F1EA; color: var(--green); } .t-red { background: #FDE4E8; color: var(--red); }
.klbl { font-weight: 500; }
.knum { font-size: 2.1rem; font-weight: 600; letter-spacing: -.04em; line-height: 1.15; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.kd { font-size: .82rem; font-weight: 600; letter-spacing: 0; }
.kd.good { color: var(--green); } .kd.bad { color: var(--red); } .kd.flat { color: var(--muted); }
.ksub { color: var(--muted); font-size: .82rem; margin-bottom: 10px !important; }
.klink { margin-top: auto; font-size: .88rem; font-weight: 600; color: var(--teal); text-decoration: none; }
.klink:hover { text-decoration: underline; }
.dgrid { display: grid; gap: 18px; }
.dside { display: contents; }
.dside > .attn, .dside > .allclear { order: -1; }
.dside > .card:not(.attn):not(.allclear) { order: 1; }
.dmain { min-width: 0; }
.dhead { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.dhead h2 { margin: 0 0 2px; }
.dhead .help { margin: 0; }
.rpills { display: inline-flex; background: var(--soft); border-radius: 999px; padding: 3px; }
.rpills a { padding: 6px 12px; border-radius: 999px; color: var(--teal); text-decoration: none; font-size: .85rem; font-weight: 500; }
.rpills a.on { background: var(--teal); color: #fff; }
.chart .axt { font-size: 10px; fill: var(--muted); }
.attn { background: #FFF6F4; box-shadow: 0 0 0 1px #F0CFC9; }
.cnt { background: var(--red); color: #fff; border-radius: 999px; min-width: 24px; height: 24px; display: grid; place-items: center; font-size: .8rem; font-weight: 600; padding: 0 7px; }
.alist, .qlist { list-style: none; margin: 8px 0 12px; padding: 0; }
.alist li, .qlist li { border-top: 1px solid rgba(0,0,0,.07); }
.alist li:first-child, .qlist li:first-child { border-top: 0; }
.alist a, .qlist a { display: flex; align-items: center; gap: 12px; padding: 11px 0; color: var(--teal); text-decoration: none; font-size: .92rem; }
.alist a:hover, .qlist a:hover { background: rgba(0,0,0,.03); }
.aic { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #F8E4E1; color: var(--red); }
.aic svg, .qic svg { width: 18px; height: 18px; }
.qic { flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--soft); color: var(--teal); }
.chev { margin-left: auto; color: var(--muted); font-size: 1.4rem; line-height: 1; }
.confirms h2 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; }
@media (min-width: 720px) { .kpis { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1180px) { .dgrid { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; } .dside { display: flex; flex-direction: column; } .dside > .card { order: 0 !important; } }
@media (min-width: 960px) {
  .appnav { background: var(--teal); border-right: 0; }
  .appnav a { color: rgba(255,255,255,.86); }
  .appnav a:hover { background: rgba(255,255,255,.08); color: #fff; }
  .appnav a.on { background: rgba(255,255,255,.14); color: #fff; }
  .appnav .ico { color: rgba(255,255,255,.6); }
  .appnav a.on .ico, .appnav a:hover .ico { color: var(--amber); }
  .navgrp > summary { color: rgba(255,255,255,.5); }
  .appnav { scrollbar-color: rgba(255,255,255,.25) transparent; }
  .appnav::-webkit-scrollbar-thumb { background: rgba(255,255,255,.25); }
}

.nw { white-space: nowrap; }
.alist li.soft .aic { background: #FBE7DD; color: var(--amberink); }
.dmain .card table td { vertical-align: middle; }
@media (min-width: 1180px) { .app { max-width: 1280px; } }

.ltwo { grid-template-columns: 1fr; }
.ljourney h3 { font-size: 1.25rem; }
.lflow { margin: 12px 0 16px; padding-left: 1.3rem; color: var(--muted); }
.lflow li { margin-bottom: 4px; }
.ljourney .lbtns { margin-bottom: 0; }
.lfour { grid-template-columns: 1fr; }
@media (min-width: 820px) { .ltwo { grid-template-columns: 1fr 1fr; } .lfour { grid-template-columns: repeat(4, 1fr); } }

/* Menu button for phones: the menu opens over the page from the sticky header */
.menubtn { white-space: nowrap; display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 980px; background: #fff; color: var(--teal); font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; }
.menubtn:focus-visible { outline: none; box-shadow: var(--ring); }
@media (max-width: 959px) {
  .js .menubtn { display: inline-flex; }
  .js .appnav { display: none; }
  .js body.navopen .appnav { display: block; position: fixed; left: 0; right: 0; bottom: 0; max-height: none; z-index: 19; background: #fff; overflow-y: auto; padding: 12px 16px 32px; border: 0; }
  .js body.navopen { overflow: hidden; }
}


.lcost { margin-top: 22px; }

/* About page: a floating menu that stays in view while the page scrolls */
.landing .pubhead { position: static; }
.lsubnav { position: sticky; top: 12px; z-index: 30; width: fit-content; max-width: 100%; margin: -14px auto 32px; padding: 5px; gap: 2px; background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-radius: 999px; box-shadow: 0 6px 24px rgba(0,0,0,.14), 0 1px 3px rgba(0,0,0,.08); }
.lsubnav a:first-child { background: transparent; box-shadow: none; }
.lsubnav a { white-space: nowrap; }
.lsubnav a:hover, .lsubnav a:focus-visible { background: var(--soft); outline: none; }
.lsubnav a:focus-visible { box-shadow: var(--ring); }
@media (max-width: 600px) { .lsubnav .lopt { display: none; } .lsubnav { flex-wrap: nowrap; margin-top: -8px; } .lsubnav a { padding: 8px 12px; } }
html { scroll-behavior: smooth; }
.lsec[id], .lend[id] { scroll-margin-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.orderlines { margin: 0; white-space: pre-wrap; font: inherit; }

.nf { text-align: center; max-width: 520px; margin: 0 auto; padding: 8px 0 24px; }
.nf h1 { margin: 0 0 .5rem; }
.nf .nfgo { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 22px; }

.result .okmark { margin: 0 auto 10px; width: 60px; height: 68px; }
.result .okmark svg { display: block; }
.result.green .okc { fill: var(--green); stroke: var(--green); }
.result.red .okc { fill: var(--red); stroke: var(--red); }
.result .okt { stroke: #fff; }
@media (max-height: 640px) { .result .okmark { width: 44px; height: 50px; } .result .okmark svg { width: 44px; height: 50px; } }

/* Organisation logo and "Powered by" line */
.plogo { display: block; max-width: 100%; height: auto; }
.cardface .chead.has-logo { display: flex; align-items: center; justify-content: flex-start; gap: 3mm; height: 9mm; }
.cardface .chead.has-logo .plogo { max-height: 9mm; max-width: 40mm; width: auto; object-fit: contain; object-position: left center; }
.powered { display: inline-flex; align-items: center; gap: 1.2mm; font: 500 6pt var(--font); color: var(--muted); white-space: nowrap; }
.powered img { height: 4mm; width: auto; }
.powered strong { font-weight: 700; color: var(--teal); letter-spacing: .02em; }
.cardface .chead.has-logo .powered { flex: none; }
.cardface .cfoot { position: absolute; right: 3.5mm; bottom: 2.5mm; margin: 0; text-align: right; }
.cardface.back p.cfoot { margin: 0; }
.idlogo { margin: 0 auto 14px; display: flex; justify-content: center; }
.idlogo .plogo { max-height: 64px; max-width: 220px; width: auto; }
.idpow { margin: 18px 0 0; display: flex; justify-content: center; }
.idpow .powered { font-size: .72rem; }
.idpow .powered img { height: 20px; }
.plogo-box { background: var(--white); border: 1px solid var(--line, #E5E7EB); border-radius: 12px; padding: 16px; margin: 0 0 14px; display: flex; justify-content: center; }
.plogo-prev { max-width: 240px; max-height: 120px; width: auto; height: auto; }
.card ul.plain { margin: 0; padding-left: 1.1rem; }
.card ul.plain li { margin: 0 0 .5rem; }
