/* QLE Pro licence portal - no external fonts or libraries */
:root {
  --bg: #0b1220;
  --card: #111a2e;
  --card-2: #162139;
  --line: #24314f;
  --line-2: #2f3e61;
  --text: #e7ecf5;
  --muted: #95a3bd;
  --amber: #f5a524;
  --amber-2: #ffbb45;
  --amber-ink: #1a1203;
  --green: #22c55e;
  --red: #ef4444;
  --grey: #7c8aa5;
  --radius: 12px;
  --shadow: 0 1px 0 rgba(255,255,255,.03) inset, 0 8px 24px rgba(0,0,0,.25);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 15px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1; }
a { color: var(--amber-2); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .6em; font-weight: 650; letter-spacing: -.01em; }
h1 { font-size: 1.6rem; }
h2 { font-size: 1.15rem; }
h3 { font-size: 1rem; margin-top: 1.2em; }
h4 { font-size: .9rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin-top: 1em; }
p { margin: 0 0 .9em; }
code, .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; }
code { background: rgba(255,255,255,.06); padding: .1em .35em; border-radius: 5px; font-size: .9em; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.tiny { font-size: .75rem; }
.strong { font-weight: 650; }
.nowrap { white-space: nowrap; }
.rev-cell { white-space: normal; min-width: 9rem; }
.break { word-break: break-all; }
.upper { text-transform: uppercase; }
.num { text-align: right; font-variant-numeric: tabular-nums; }

.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.wrap.wide { max-width: 1320px; }
.wrap.narrow { max-width: 680px; }

/* top bar */
.topbar { background: rgba(11,18,32,.92); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(6px); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 1.05rem; }
.brand:hover { text-decoration: none; }
.brand small { display: block; font-weight: 500; font-size: .74rem; color: var(--muted); letter-spacing: .02em; }
.logo { width: 34px; height: 34px; flex: none; }
.userbox { display: flex; align-items: center; gap: 10px; }
.adminnav { border-top: 1px solid var(--line); }
.adminnav .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: thin; }
.adminnav a { color: var(--muted); padding: 11px 12px; border-bottom: 2px solid transparent; white-space: nowrap; font-weight: 550; font-size: .93rem; }
.adminnav a:hover { color: var(--text); text-decoration: none; }
.adminnav a.on { color: var(--text); border-bottom-color: var(--amber); }

/* cards & layout */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin: 0 0 18px; box-shadow: var(--shadow); }
.center-card { margin-top: 12vh; text-align: center; }
.login-card { max-width: 420px; margin: 8vh auto 24px; }
.hero { padding: 30px 0 14px; }
.hero h1 { font-size: 1.9rem; }
.hero p { max-width: 640px; font-size: 1.02rem; }
.grid-main { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.grid-main > *, .grid-2 > * { min-width: 0; }
.side .card h3 { margin-top: 0; }
.pagehead { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 22px 0 14px; }
.pagehead h1 { margin: 0; }
.pagehead .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cardhead { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.cardhead h2 { margin: 0; }

/* tabs (client) */
.tabs { display: flex; gap: 6px; margin: 0 0 -1px; overflow-x: auto; }
.tab { padding: 11px 16px; border: 1px solid transparent; border-bottom: 0; border-radius: 10px 10px 0 0; color: var(--muted); font-weight: 600; white-space: nowrap; }
.tab:hover { color: var(--text); text-decoration: none; }
.tab.on { background: var(--card); border-color: var(--line); color: var(--text); box-shadow: inset 0 2px 0 var(--amber); }
.tabcard { border-top-left-radius: 0; }

/* forms */
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: .86rem; color: var(--muted); font-weight: 550; }
.field em { font-style: normal; }
input, select, textarea {
  width: 100%; background: #0d1628; color: var(--text); border: 1px solid var(--line-2); border-radius: 9px;
  padding: 10px 12px; font: inherit; min-height: 42px; transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; min-height: 70px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(245,165,36,.18); }
input::placeholder, textarea::placeholder { color: #5d6b86; }
input[type="checkbox"] { width: 18px; height: 18px; min-height: 0; accent-color: var(--amber); margin: 0; flex: none; }
input[type="date"] { color-scheme: dark; }
.check { display: flex; align-items: center; gap: 9px; font-size: .92rem; cursor: pointer; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid-form { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 14px; }
.grid-form .span2 { grid-column: 1 / -1; }
.check-field .check { min-height: 42px; }
.subbox { border: 1px dashed var(--line-2); border-radius: 10px; padding: 14px; display: grid; gap: 14px; }
.js .js-hide, .hidden { display: none !important; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 16px; min-height: 40px;
  border-radius: 9px; border: 1px solid var(--line-2); background: var(--card-2); color: var(--text);
  font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s, transform .05s;
}
.btn:hover { border-color: #3d4f78; background: #1b2846; text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-primary { background: var(--amber); border-color: var(--amber); color: var(--amber-ink); }
.btn-primary:hover { background: var(--amber-2); border-color: var(--amber-2); }
.btn-ghost { background: transparent; }
.btn-danger { background: rgba(239,68,68,.12); border-color: rgba(239,68,68,.45); color: #fca5a5; }
.btn-danger:hover { background: rgba(239,68,68,.22); border-color: var(--red); }
.btn-warn { background: rgba(245,165,36,.1); border-color: rgba(245,165,36,.4); color: var(--amber-2); }
.btn-sm { padding: 6px 12px; min-height: 34px; font-size: .88rem; }
.btn-xs { padding: 3px 9px; min-height: 28px; font-size: .78rem; border-radius: 7px; }
.btn-block { width: 100%; }
.btn.copied { background: var(--green); border-color: var(--green); color: #052e14; }
.btnrow { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
form.inline { display: inline-flex; gap: 4px; align-items: center; flex-wrap: wrap; margin: 0; }

/* alerts */
.alert { border-radius: 10px; padding: 11px 14px; margin: 0 0 14px; border: 1px solid; font-size: .93rem; }
.alert.ok { background: rgba(34,197,94,.1); border-color: rgba(34,197,94,.4); color: #bbf7d0; }
.alert.err { background: rgba(239,68,68,.1); border-color: rgba(239,68,68,.45); color: #fecaca; }
.alert.warn { background: rgba(245,165,36,.1); border-color: rgba(245,165,36,.45); color: #fde5b5; }
.alert.info { background: rgba(96,165,250,.08); border-color: rgba(96,165,250,.35); color: #cfe3ff; }
.notice { background: rgba(245,165,36,.07); border: 1px solid rgba(245,165,36,.3); border-inline-start: 4px solid var(--amber); border-radius: 10px; padding: 12px 14px; margin: 0 0 18px; font-size: .9rem; color: #f3dfb7; }
.lifetime-warn .check { margin-top: 8px; }
.danger-zone { border-color: rgba(239,68,68,.5); }

/* key display */
.keybox { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: #0a1324; border: 1px solid var(--line-2); border-radius: 12px; padding: 14px 16px; margin: 6px 0 16px; }
code.key { background: none; padding: 0; font-size: 1.32rem; font-weight: 700; color: var(--amber-2); letter-spacing: .04em; flex: 1 1 auto; word-break: break-all; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 16px; }
.facts div { background: var(--card-2); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.facts dt { font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.facts dd { margin: 3px 0 0; font-weight: 650; }
.steps { padding-left: 0; list-style: none; counter-reset: s; display: grid; gap: 10px; margin: 0 0 14px; }
.steps li { counter-increment: s; position: relative; padding-block: 12px; padding-inline: 52px 14px; background: var(--card-2); border: 1px solid var(--line); border-radius: 10px; }
.steps li::before { content: counter(s); position: absolute; inset-inline-start: 14px; top: 11px; width: 26px; height: 26px; border-radius: 50%; background: var(--amber); color: var(--amber-ink); font-weight: 800; display: grid; place-items: center; font-size: .85rem; }
.mini-steps { padding-inline-start: 20px; margin: 0 0 10px; color: var(--muted); }
.mini-steps li { margin-bottom: 6px; }
.contact { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 4px; }
.contact p { margin: 0; white-space: normal; }
textarea.codes { font-size: .95rem; line-height: 1.6; color: var(--amber-2); margin-bottom: 10px; }

/* tiles */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.tile { display: flex; flex-direction: column; gap: 2px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; color: var(--text); position: relative; overflow: hidden; box-shadow: var(--shadow); }
a.tile:hover { border-color: var(--line-2); text-decoration: none; }
.tile::before { content: ""; position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 3px; background: var(--line-2); }
.tile.t-green::before { background: var(--green); }
.tile.t-grey::before { background: var(--grey); }
.tile.t-amber::before, .tile.t-amber-line::before { background: var(--amber); }
.tile.t-red::before { background: var(--red); }
.tl { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 650; }
.tv { font-size: 1.9rem; font-weight: 750; font-variant-numeric: tabular-nums; line-height: 1.2; }
.tv-sm { font-size: 1.2rem; white-space: nowrap; }
.ts { font-size: .78rem; color: var(--muted); }

/* tables */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -4px; padding: 0 4px; }
table.data { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.data th { text-align: start; font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 650; padding: 9px 10px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
table.data th.num { text-align: right; }
table.data td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data tbody tr:hover td { background: rgba(255,255,255,.018); }
table.licences td.row-actions { min-width: 250px; }
.row-actions form.inline + .btnrow { margin-top: 6px; }

/* badges */
.badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .76rem; font-weight: 700; border: 1px solid; white-space: nowrap; }
.b-active, .b-unused { color: #86efac; background: rgba(34,197,94,.12); border-color: rgba(34,197,94,.4); }
.b-expired, .b-used { color: #cbd5e1; background: rgba(124,138,165,.14); border-color: rgba(124,138,165,.45); }
.b-suspended { color: #fcd34d; background: rgba(245,165,36,.13); border-color: rgba(245,165,36,.45); }
.b-revoked, .b-cancelled { color: #fca5a5; background: rgba(239,68,68,.12); border-color: rgba(239,68,68,.45); }
.b-replaced { color: #93a4c3; background: transparent; border-color: var(--line-2); border-style: dashed; }

/* filters, search, pager */
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.chip { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); font-size: .88rem; font-weight: 600; }
.chip:hover { color: var(--text); text-decoration: none; }
.chip.on { background: var(--amber); border-color: var(--amber); color: var(--amber-ink); }
.chip .cnt { opacity: .75; font-weight: 700; margin-left: 2px; }
.searchbar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.searchbar input[type="search"] { flex: 1 1 240px; width: auto; }
.searchbar select, .searchbar input[type="text"], .searchbar input[type="date"] { width: auto; flex: 0 1 auto; }
.searchbar .w-sm { max-width: 160px; }
.inline-label { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .88rem; }
.pager { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.pg { padding: 5px 11px; border: 1px solid var(--line-2); border-radius: 8px; color: var(--muted); font-size: .88rem; }
.pg.cur { background: var(--amber); color: var(--amber-ink); border-color: var(--amber); }

/* collapsible card */
details.collapsible > summary { list-style: none; cursor: pointer; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
details.collapsible > summary::-webkit-details-marker { display: none; }
details.collapsible > summary h2 { margin: 0; }
details.collapsible > summary h2::before { content: "+"; display: inline-block; width: 22px; height: 22px; margin-right: 8px; border-radius: 6px; background: var(--amber); color: var(--amber-ink); text-align: center; line-height: 22px; font-weight: 800; }
details.collapsible[open] > summary h2::before { content: "\2212"; }
details.collapsible[open] > summary { margin-bottom: 4px; }

/* setup checks */
.checks { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 4px; font-size: .92rem; }
.checks .yes { color: #86efac; }
.checks .no { color: #fca5a5; }
.checks .opt { color: var(--muted); }

/* footer */
.footer { border-top: 1px solid var(--line); margin-top: 26px; padding: 18px 0 26px; }
.footer p { margin: 0 0 6px; }
.disclaimer { font-size: .84rem; color: var(--muted); max-width: 860px; }
.disclaimer strong { color: var(--text); }

@media (max-width: 1100px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-2 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .grid-main { grid-template-columns: minmax(0, 1fr); }
  .grid-form { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 15px; }
  .hero { padding: 20px 0 8px; }
  .hero h1 { font-size: 1.5rem; }
  h1 { font-size: 1.35rem; }
  .card { padding: 16px; }
  .row2, .grid-form { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: 1fr; }
  code.key { font-size: 1.08rem; }
  .keybox .btn { width: 100%; }
  .tiles { gap: 10px; }
  .tile { padding: 12px 14px; }
  .tv { font-size: 1.5rem; }
  .tv-sm { font-size: 1rem; }
  .tab { padding: 10px 12px; font-size: .9rem; }
  .brand small { display: none; }
  .userbox .muted { display: none; }
  .searchbar select, .searchbar input[type="text"], .searchbar .w-sm { flex: 1 1 100%; max-width: none; }
}

/* ================= public site: sales page, checkout, order (v1.1) ================= */
:root { --text-2: #c3cde0; --green-soft: #4ade80; --blue: #60a5fa; --violet: #a78bfa; }
:lang(ar), :lang(ur) { line-height: 1.8; }
.mainwide { flex: 1; width: 100%; }
.wrap.narrow { max-width: 820px; }
.center-text { text-align: center; }
.center-card { margin-top: 10vh; text-align: center; }
.narrowcard { max-width: 560px; margin-inline: auto; }
.btn-lg { padding: 12px 22px; min-height: 48px; font-size: 1rem; border-radius: 10px; }

/* header: site navigation + language */
.sitenav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.sitenav .nl { color: var(--muted); padding: 8px 10px; font-weight: 600; font-size: .93rem; }
.sitenav .nl:hover { color: var(--text); text-decoration: none; }
.langpick { position: relative; }
.langpick > summary { list-style: none; cursor: pointer; padding: 6px 10px; min-height: 34px; display: flex; align-items: center; gap: 6px; border: 1px solid var(--line-2); border-radius: 9px; color: var(--text); font-weight: 650; font-size: .85rem; }
.langpick > summary::-webkit-details-marker { display: none; }
.langpick > summary::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--muted); box-shadow: inset 0 0 0 2px var(--bg); background: linear-gradient(var(--muted), var(--muted)) center / 2px 100% no-repeat, linear-gradient(var(--muted), var(--muted)) center / 100% 2px no-repeat; opacity: .8; }
.langpick > summary:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.langpick ul { position: absolute; inset-inline-end: 0; top: calc(100% + 6px); z-index: 20; list-style: none; margin: 0; padding: 6px; min-width: 190px; background: var(--card); border: 1px solid var(--line-2); border-radius: 10px; box-shadow: 0 12px 30px rgba(0,0,0,.4); }
.langpick li a { display: block; padding: 8px 10px; border-radius: 7px; color: var(--text); }
.langpick li a:hover, .langpick li a.on { background: var(--card-2); text-decoration: none; }
.langpick li a.on { color: var(--amber-2); }

/* hero */
.s-hero { padding-block: 48px 40px; background:
  radial-gradient(900px 420px at 12% -10%, rgba(245,165,36,.13), transparent 60%),
  radial-gradient(700px 380px at 95% 10%, rgba(96,165,250,.08), transparent 60%); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center; }
.hero-copy h1 { font-size: clamp(2rem, 4.1vw, 3.15rem); line-height: 1.08; letter-spacing: -.025em; margin: 0 0 16px; font-weight: 760; text-wrap: balance; }
.eyebrow { color: var(--amber); font-size: .78rem; font-weight: 750; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 12px; }
.eyebrow a { color: inherit; }
.lead { color: var(--text-2); font-size: 1.1rem; line-height: 1.6; max-width: 36em; margin: 0 0 24px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.cta-row.center { justify-content: center; }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: .9rem; }
.trust li { display: flex; align-items: center; gap: 7px; }
.trust li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); flex: none; }
.hero-shot { margin: 0; border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; background: #070c16; box-shadow: 0 30px 60px rgba(0,0,0,.45), 0 0 0 1px rgba(245,165,36,.06); }
.hero-shot img { display: block; width: 100%; height: auto; }
.hero-shot figcaption { padding: 10px 14px; font-size: .82rem; color: var(--muted); border-top: 1px solid var(--line); }

/* sections */
.s-decide, .s-features, .s-pricing, .s-steps, .s-faq { padding-block: 56px; border-bottom: 1px solid var(--line); }
.s-features { background: linear-gradient(180deg, rgba(17,26,46,.55), transparent); }
.sec-title { font-size: clamp(1.45rem, 2.6vw, 1.95rem); letter-spacing: -.015em; margin: 0 0 10px; text-wrap: balance; }
.sec-lead { color: var(--muted); max-width: 44em; margin: 0 0 28px; }
.decide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.decide { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; border-top: 3px solid var(--line-2); }
.decide h3 { margin: 4px 0 8px; font-size: 1.15rem; }
.decide p { color: var(--text-2); margin: 0; }
.d-tag { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; }
.d-enter { border-top-color: var(--green); } .d-enter .d-tag { background: rgba(34,197,94,.14); color: #86efac; }
.d-wait { border-top-color: var(--amber); } .d-wait .d-tag { background: rgba(245,165,36,.14); color: var(--amber-2); }
.d-exit { border-top-color: var(--blue); } .d-exit .d-tag { background: rgba(96,165,250,.14); color: #bfdbfe; }
.decide-note { margin: 18px 0 0; color: var(--muted); font-size: .93rem; }
.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.feat h3 { margin: 10px 0 6px; font-size: 1.02rem; }
.feat p { margin: 0; color: var(--text-2); font-size: .94rem; }
.feat-ico { display: block; width: 30px; height: 30px; border-radius: 8px; background: rgba(245,165,36,.12); border: 1px solid rgba(245,165,36,.35); position: relative; }
.feat-ico::after { content: ""; position: absolute; inset: 8px; border-radius: 3px; background: var(--amber); opacity: .85; }
.feat-liq .feat-ico::after { border-radius: 50%; }
.feat-vp .feat-ico::after { inset: 7px 9px 7px 7px; border-radius: 1px; box-shadow: 4px 0 0 -1px var(--amber); }
.feat-vol .feat-ico::after { inset: 13px 6px; border-radius: 2px; }
.feat-struct .feat-ico::after { transform: rotate(45deg); inset: 9px; }
.feat-risk .feat-ico::after { inset: 7px 11px; }
.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: center; margin-top: 36px; }
.split-shot { margin: 0; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; }
.split-shot img { display: block; width: 100%; height: auto; }
.split-copy h3 { font-size: 1.3rem; margin: 0 0 10px; }
.split-copy p { color: var(--text-2); }
.ticks { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.ticks li { position: relative; padding-inline-start: 26px; color: var(--text-2); }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .45em; width: 12px; height: 7px; border-inline-start: 2px solid var(--amber); border-bottom: 2px solid var(--amber); transform: rotate(-45deg); }
[dir="rtl"] .ticks li::before { transform: rotate(45deg); }

/* pricing */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; align-items: stretch; }
.price-grid.n1 { max-width: 380px; }
.price-card { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 24px 22px 22px; }
.price-card.featured { border-color: rgba(245,165,36,.65); box-shadow: 0 0 0 1px rgba(245,165,36,.25), 0 20px 40px rgba(0,0,0,.3); }
.price-card h3 { font-size: 1.25rem; margin: 0; }
.pc-badge { position: absolute; top: -12px; inset-inline-start: 20px; margin: 0; background: var(--amber); color: var(--amber-ink); font-size: .74rem; font-weight: 800; letter-spacing: .04em; padding: 4px 10px; border-radius: 999px; }
.pc-name { color: var(--muted); font-size: .88rem; margin: 2px 0 14px; }
.pc-price { font-size: 2.3rem; font-weight: 780; letter-spacing: -.02em; margin: 0; font-variant-numeric: tabular-nums; }
.pc-sub { color: var(--muted); font-size: .88rem; margin: 2px 0 16px; min-height: 1.4em; }
.price-card .ticks { flex: 1; }
.price-card .btn { margin-top: auto; }
.pay-strip { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pay-strip li { border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 14px; font-weight: 650; font-size: .9rem; }
.pay-strip .muted { font-weight: 500; font-size: .82rem; margin-inline-start: 4px; }

/* steps, faq, final */
.steps3 { list-style: none; counter-reset: st; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.steps3 li { counter-increment: st; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.steps3 li::before { content: counter(st); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--amber); color: var(--amber-ink); font-weight: 800; margin-bottom: 12px; }
.steps3 h3 { margin: 0 0 6px; }
.steps3 p { margin: 0; color: var(--text-2); }
.faq { border-bottom: 1px solid var(--line); }
.faq > summary { list-style: none; cursor: pointer; padding: 16px 0; font-weight: 650; display: flex; justify-content: space-between; gap: 16px; }
.faq > summary::-webkit-details-marker { display: none; }
.faq > summary::after { content: "+"; color: var(--amber); font-weight: 800; flex: none; }
.faq[open] > summary::after { content: "\2212"; }
.faq > summary:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.faq p, .faq .terms { margin: 0 0 16px; color: var(--text-2); }
.s-final { padding-block: 56px; text-align: center; background: radial-gradient(700px 300px at 50% 0%, rgba(245,165,36,.12), transparent 70%); }
.final-in h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0 0 10px; text-wrap: balance; }
.final-in p { color: var(--text-2); margin: 0 auto 22px; max-width: 40em; }

/* checkout */
.hero-sm { padding: 26px 0 8px; }
.hero-sm h1 { margin: 0; }
.help { color: var(--muted); font-size: .8rem; font-weight: 400; }
.paymethods, .networks { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; min-width: 0; }
.paymethods legend, .networks legend { font-size: .86rem; color: var(--muted); font-weight: 550; margin-bottom: 8px; padding: 0; }
.pm { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--line-2); border-radius: 11px; background: #0d1628; cursor: pointer; }
.pm:hover { border-color: #3d4f78; }
.pm:has(input:checked) { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(245,165,36,.14); }
.pm input, .net input, .accept input { width: 18px; height: 18px; min-height: 0; margin: 2px 0 0; flex: none; accent-color: var(--amber); }
.pm-body { display: grid; gap: 3px; }
.pm-title { font-weight: 700; }
.pm-detail { color: var(--muted); font-size: .86rem; }
.b-test { color: #fde68a; background: rgba(245,165,36,.12); border-color: rgba(245,165,36,.45); font-size: .7rem; vertical-align: 1px; }
.b-pending { color: #bfdbfe; background: rgba(96,165,250,.1); border-color: rgba(96,165,250,.4); }
.net-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.net { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 10px; cursor: pointer; font-size: .9rem; }
.net:has(input:checked) { border-color: var(--amber); }
.js .networks.is-hidden { display: none; }
.accept { align-items: flex-start; font-size: .9rem; color: var(--text-2); }
.summary .sum-offer { font-weight: 700; font-size: 1.05rem; margin: 0; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; }
.sum-total strong { font-size: 1.4rem; font-variant-numeric: tabular-nums; }

/* order page */
.status-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.status-head h2 { margin: 0; }
.st-dot { width: 12px; height: 12px; border-radius: 50%; flex: none; background: var(--grey); }
.st-ok .st-dot { background: var(--green); box-shadow: 0 0 0 4px rgba(34,197,94,.18); }
.st-wait .st-dot { background: var(--amber); box-shadow: 0 0 0 4px rgba(245,165,36,.18); }
.st-warn .st-dot { background: #fb923c; }
.st-off .st-dot { background: var(--grey); }
.st-dot.pulse { animation: qlepulse 1.6s ease-in-out infinite; }
@keyframes qlepulse { 50% { box-shadow: 0 0 0 9px rgba(245,165,36,0); } }
@media (prefers-reduced-motion: reduce) { .st-dot.pulse { animation: none; } }
.wallet { display: grid; gap: 10px; margin: 0 0 14px; }
.wallet > div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 10px; align-items: center; background: var(--card-2); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.wallet dt { color: var(--muted); font-size: .82rem; }
.wallet dd { margin: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; min-width: 0; }
code.addr { background: none; padding: 0; word-break: break-all; font-size: .92rem; color: var(--text); }
code.wl-amount { font-size: 1.15rem; }
.mini-facts { display: grid; gap: 8px; margin: 0 0 12px; }
.mini-facts div { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dashed var(--line); padding-bottom: 6px; }
.mini-facts dt { color: var(--muted); font-size: .86rem; }
.mini-facts dd { margin: 0; font-weight: 650; text-align: end; }
.dl-btn { margin-top: 8px; }

/* footer */
.footer-in { display: grid; gap: 14px; }
.footer-cols { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-brand { font-weight: 700; margin: 0 0 4px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: flex-start; }
.footer-links a { color: var(--muted); font-size: .9rem; }

@media (max-width: 980px) {
  .hero-grid, .split { grid-template-columns: minmax(0, 1fr); }
  .hero-shot { order: 2; }
  .decide-grid, .feat-grid, .steps3 { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 640px) and (max-width: 980px) {
  .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .sitenav .nl, .nav-act { display: none; }
  .s-hero { padding-block: 28px 28px; }
  .s-decide, .s-features, .s-pricing, .s-steps, .s-faq, .s-final { padding-block: 36px; }
  .net-grid { grid-template-columns: minmax(0, 1fr); }
  .wallet > div { grid-template-columns: minmax(0, 1fr); }
  .pc-price { font-size: 2rem; }
}

/* ================= admin: orders, offers, payments (v1.1) ================= */
.navbadge { display: inline-block; min-width: 1.4em; padding: 0 .4em; margin-inline-start: 4px; border-radius: 999px; background: var(--amber); color: var(--amber-ink); font-size: .72rem; font-weight: 800; line-height: 1.5; text-align: center; vertical-align: 1px; }
.tiles.tiles-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card .tiles { margin-bottom: 0; }
.card .tile { background: var(--card-2); box-shadow: none; }
.card.attention { border-color: rgba(245,165,36,.6); box-shadow: 0 0 0 1px rgba(245,165,36,.18), var(--shadow); }
h3.flush { margin: 0; }
.facts dd { overflow-wrap: anywhere; }
/* a second line inside a value (link, detail) is plain text, not another box */
.facts dd div { background: none; border: 0; border-radius: 0; padding: 0; margin-top: 3px; font-weight: 500; }
.searchbar input.grow { flex: 1 1 260px; width: auto; }
.notelog { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 4px; font-size: .86rem; }
.notelog li { padding: 6px 10px; background: var(--card-2); border-inline-start: 3px solid var(--line-2); border-radius: 0 8px 8px 0; overflow-wrap: anywhere; }
.urlbox { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: #0a1324; border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 12px; margin: 0 0 12px; }
.urlbox code { flex: 1 1 240px; background: none; padding: 0; }
.codelist { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 6px; }
/* stored secret under its input: mask + "Effacer" checkbox */
.secret-state { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; margin-top: -8px; }
.secret-state .check { font-size: .84rem; color: var(--text); }
input:disabled, select:disabled, textarea:disabled { opacity: .5; cursor: not-allowed; }
.narrow-field { max-width: 420px; }
table.wallets input { min-width: 250px; min-height: 36px; padding: 7px 10px; font-size: .86rem; }
@media (max-width: 560px) {
  .tiles.tiles-3 { grid-template-columns: minmax(0, 1fr); }
}

/* ================= v1.3: logo, support channels, user guide, videos ================= */
/* header logo: uploaded logo or the product logo (a logo that carries the name hides the text, kept for screen readers) */
.brand picture { display: flex; flex: none; }
.brand .logo-img { width: auto; height: 34px; max-width: 168px; object-fit: contain; }
.brand .logo-wide { width: auto; height: 42px; max-width: min(220px, 46vw); object-fit: contain; }
.brand-wide .brand-name { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.brand-wide .brand-txt small { padding-inline-start: 12px; border-inline-start: 1px solid var(--line-2); line-height: 1.35; }
.footer-logo { display: block; width: 240px; max-width: 70vw; height: auto; margin: 0 0 12px; }   /* height from the width / height attributes */
.footer-logo.is-upload { width: auto; height: 64px; max-width: 240px; object-fit: contain; object-position: left center; }
[dir="rtl"] .footer-logo.is-upload { object-position: right center; }

/* WhatsApp / Telegram */
.ct { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.ct-ico { width: 18px; height: 18px; flex: none; }
.ct-wa .ct-ico { color: #25d366; }
.ct-tg .ct-ico { color: #2aabee; }
.footer-ct { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 2px 0 8px; }
.footer-ct .ct { color: var(--text-2); font-size: .92rem; }
.help-links { display: flex; flex-wrap: wrap; gap: 10px; }
.help-box { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 14px; }
.help-box h3 { margin: 0 0 4px; }
.help-box .help-links .btn { flex: 1 1 140px; }
.s-help { padding-block: 44px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(37,211,102,.05), transparent); }
.help-in { display: flex; align-items: center; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap; }
.help-in .sec-lead { margin: 0; }
.s-help .help-links .btn { min-height: 48px; padding: 12px 20px; font-size: 1rem; }
.guide-cta { margin: -4px 0 14px; }

/* floating WhatsApp button: end corner (left in Arabic and Urdu), faded out while it would cover a button or a field */
.wa-float { position: fixed; z-index: 30; inset-inline-end: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 10px 26px rgba(0,0,0,.45); transition: opacity .2s, visibility .2s, transform .15s; }
.wa-float .ct-ico { width: 30px; height: 30px; color: #fff; }
.wa-float:hover { transform: translateY(-2px); text-decoration: none; }
.wa-float:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.wa-float.is-covering { opacity: 0; visibility: hidden; pointer-events: none; }
@media (max-width: 700px) {
  .wa-float { width: 52px; height: 52px; inset-inline-end: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
  body.has-wa .footer { padding-bottom: 84px; }
  html:not(.js) .wa-float { display: none; }   /* without the overlap check, never over a button on phones */
}
@media print { .wa-float { display: none; } }
@media (prefers-reduced-motion: reduce) { .wa-float { transition: none; } }

/* user guide */
.guide-hero { padding-bottom: 6px; }
.guide-hero h1 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); letter-spacing: -.02em; margin-bottom: 10px; }
.guide-hero .lead p { margin: 0 0 .6em; }
.guide-fallback { margin-top: 6px; }
.guide-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 36px; align-items: start; margin-top: 16px; }
.guide-toc { position: sticky; top: 78px; max-height: calc(100vh - 96px); overflow-y: auto; padding: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.toc-title { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 750; margin: 0 0 8px; }
.toc-list { list-style: none; margin: 0; padding: 0; counter-reset: toc; display: grid; gap: 2px; }
.toc-list li { counter-increment: toc; }
.toc-list a { display: flex; gap: 8px; padding: 7px 8px; border-radius: 8px; color: var(--text-2); font-size: .92rem; line-height: 1.35; }
.toc-list a::before { content: counter(toc); flex: none; min-width: 1.3em; color: var(--amber); font-weight: 750; font-variant-numeric: tabular-nums; }
.toc-list a:hover { background: var(--card-2); color: var(--text); text-decoration: none; }
.guide-toc-m { display: none; }
.guide-body { min-width: 0; max-width: 780px; }
.g-chapter { padding: 4px 0 28px; margin-bottom: 30px; border-bottom: 1px solid var(--line); scroll-margin-top: 80px; }
.g-chapter h2 { display: flex; align-items: baseline; gap: 12px; font-size: clamp(1.3rem, 2.4vw, 1.65rem); letter-spacing: -.015em; margin: 0 0 12px; }
.g-num { flex: none; display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--amber); color: var(--amber-ink); font-size: .95rem; font-weight: 800; transform: translateY(-2px); }
.g-anchor { color: var(--muted); font-size: .8em; font-weight: 600; opacity: 0; transition: opacity .15s; }
.g-chapter h2:hover .g-anchor, .g-anchor:focus { opacity: 1; text-decoration: none; }
.g-summary { color: var(--text-2); font-size: 1.05rem; }
.guide-body p, .guide-body li, .guide-body dd { line-height: 1.7; }
.g-text p { margin: 0 0 1em; }
.g-steps { margin: 16px 0 20px; }
.g-fig { margin: 18px 0 22px; }
.g-fig img { display: block; width: 100%; height: auto; border: 1px solid var(--line-2); border-radius: 12px; background: #070c16; }
.g-fig figcaption, .g-video figcaption { margin-top: 8px; color: var(--muted); font-size: .86rem; }
.g-fig-missing { aspect-ratio: 16 / 9; display: grid; place-items: center; align-content: center; gap: 4px; padding: 16px; text-align: center; color: var(--muted); border: 1px dashed var(--line-2); border-radius: 12px; background: rgba(255,255,255,.02); }
.g-fig-missing span { font-weight: 700; color: var(--text-2); }
.g-fig-medium { max-width: 600px; margin-inline: auto; }
.g-fig-small { max-width: 380px; margin-inline: auto; }
.g-fig-medium figcaption, .g-fig-small figcaption { text-align: center; }
.g-zoom { display: block; border-radius: 12px; cursor: zoom-in; }
.g-zoom:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.g-link { overflow-wrap: anywhere; }
.g-ct { white-space: nowrap; font-weight: 600; }
.g-note { border: 1px solid; border-inline-start-width: 4px; border-radius: 10px; padding: 12px 16px; margin: 16px 0; }
.g-note p { margin: 0 0 .5em; }
.g-note p:last-child { margin-bottom: 0; }
.g-note .g-note-t { font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 4px; }
.g-tip { background: rgba(34,197,94,.07); border-color: rgba(34,197,94,.38); }
.g-tip .g-note-t { color: #86efac; }
.g-warn { background: rgba(245,165,36,.08); border-color: rgba(245,165,36,.48); }
.g-warn .g-note-t { color: var(--amber-2); }
.g-terms { display: grid; gap: 8px; margin: 16px 0 20px; }
.g-terms div { display: grid; grid-template-columns: minmax(8rem, 13rem) minmax(0, 1fr); gap: 4px 14px; padding: 10px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; }
.g-terms dt { font-weight: 700; color: var(--amber-2); }
.g-terms dd { margin: 0; color: var(--text-2); }
.g-faq { margin: 12px 0 20px; }
.g-pager { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.g-pager a { display: grid; gap: 2px; max-width: 48%; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 10px; color: var(--text); }
.g-pager a:hover { border-color: #3d4f78; background: var(--card); text-decoration: none; }
.g-pager small { color: var(--muted); font-size: .8rem; }
.g-pager .g-next { margin-inline-start: auto; text-align: end; }

/* videos (guide blocks and the sales page) */
.g-video { margin: 18px 0 22px; }
.g-video video, .v-frame, .v-facade, .v-missing { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 1px solid var(--line-2); border-radius: 12px; background: #070c16; }
.v-facade { position: relative; overflow: hidden; color: #fff; }
.v-facade img, .v-missing img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.v-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 72px; height: 50px; border-radius: 14px; background: rgba(11,18,32,.85); box-shadow: 0 0 0 2px rgba(255,255,255,.9); transition: background .15s; }
.v-play::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-35%, -50%); border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #fff; }
.v-facade:hover .v-play, .v-facade:focus-visible .v-play { background: var(--amber); }
.v-facade:hover { text-decoration: none; }
.v-facade .v-title { position: absolute; inset-inline: 0; bottom: 0; padding: 30px 16px 12px; font-weight: 700; text-align: start; background: linear-gradient(transparent, rgba(7,12,22,.92)); }
.v-src { position: absolute; top: 10px; inset-inline-end: 12px; padding: 2px 8px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; background: rgba(7,12,22,.78); color: var(--text-2); }
.v-missing { position: relative; overflow: hidden; display: grid; place-items: center; align-content: center; gap: 6px; padding: 16px; text-align: center; color: var(--muted); }
.v-missing img { opacity: .35; }
.v-missing .v-title, .v-missing small { position: relative; }
.v-missing .v-title { font-weight: 700; color: var(--text); }
.v-dur { color: var(--muted); font-variant-numeric: tabular-nums; }
.s-video { padding-block: 56px; border-bottom: 1px solid var(--line); }

/* administration: logo preview */
.logo-preview { display: flex; align-items: center; justify-content: center; min-height: 96px; padding: 16px; margin: 0 0 12px; background: #070c16; border: 1px dashed var(--line-2); border-radius: 10px; }
.logo-preview img { width: auto; height: auto; max-width: 100%; max-height: 120px; }
.logo-preview .logo { width: 64px; height: 64px; }
.icon-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; margin: 0 0 12px; }
.icon-row figure { margin: 0; text-align: center; }
.icon-row img { display: block; margin: 0 auto 4px; border-radius: 6px; }
form.logo-del { margin: 10px 0 12px; }

@media (max-width: 900px) {
  .guide-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .guide-toc { display: none; }
  .guide-toc-m { display: block; margin: 0 0 20px; padding: 0 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
  .guide-toc-m > summary { cursor: pointer; padding: 12px 0; font-weight: 700; }
  .guide-toc-m .toc-list { padding-bottom: 10px; }
}
@media (max-width: 560px) {
  .brand .logo-wide { height: 34px; }
  .g-terms div { grid-template-columns: minmax(0, 1fr); }
  .g-pager a { max-width: none; flex: 1 1 100%; }
  .g-chapter h2 { gap: 10px; }
  .footer-logo { width: 200px; }
}

/* ================= v1.3: contact form, administration Messages and Automatisation (n8n) ================= */
.s-contact .contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 44px; align-items: start; }
.contact-copy .sec-lead { margin-bottom: 20px; }
.contact-or { font-weight: 650; margin: 0 0 10px; }
.s-contact .contact-card { margin: 0; }
.contact-form textarea { min-height: 150px; }
.contact-send { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.contact-send .small { margin: 0; flex: 1 1 220px; }
/* anti-spam field: invisible and out of the tab order, without moving the layout (no off-screen offset: none in RTL either) */
.hp-field { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.contact-direct h3 { margin-top: 0; }
.contact-direct .help-links .btn { flex: 1 1 140px; }
@media (max-width: 860px) {
  .s-contact .contact-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .contact-send .btn { width: 100%; }
}

/* administration: Paramètres tabs, n8n settings, Messages */
.tabs-page { border-bottom: 1px solid var(--line); margin: 0 0 18px; }
.ev-types { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.ev-types legend { font-size: .86rem; color: var(--muted); font-weight: 550; margin-bottom: 8px; padding: 0; }
.ev-types .check { align-items: flex-start; }
.ev-types .check input { margin-top: 3px; }
.ev-types code { font-size: .82em; }
.resp-cell { min-width: 14rem; max-width: 28rem; }
.keybox-sm code.key { font-size: .92rem; font-weight: 600; letter-spacing: 0; line-height: 1.5; }
.token-form { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 14px; }
.token-form h3 { margin: 0; }
tr.muted td { color: var(--muted); }
.msg { display: grid; gap: 10px; }
.msg-open { border-inline-start: 3px solid var(--amber); }
.msg-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; }
.msg-head > div:first-child { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.msg-head .ct-ico { width: 15px; height: 15px; }
.msg-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.msg-body { white-space: normal; overflow-wrap: anywhere; line-height: 1.6; background: rgba(255,255,255,.025); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.msg-note { overflow-wrap: anywhere; }
.msg-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.msg-handle input { width: auto; min-width: 16rem; flex: 1 1 16rem; min-height: 34px; padding: 6px 10px; }
@media (max-width: 560px) {
  .msg-handle { width: 100%; }
  .msg-handle input { min-width: 0; }
}

/* administration: Sécurité (v1.4) */
.navbadge.nb-alert { background: var(--red); color: #fff; }
code.snippet { white-space: pre-wrap; font-size: .82rem; font-weight: 500; letter-spacing: 0; line-height: 1.55; }
#erreurs .resp-cell { max-width: 34rem; }
