/* jknobel.com theme (26 November 2026): the website's colour tokens (tokens.css, final 25 November) and its font,
   self-hosted here like on the website, so no third party sees who opens a form. Blue acts, navy names, gold marks the
   person's choice and is never text. */
@font-face{font-family:Commissioner;font-weight:100 900;font-display:swap;src:url(fonts/commissioner-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Commissioner;font-weight:100 900;font-display:swap;src:url(fonts/commissioner-greek.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}
:root {
  --jkis-navy: #123B5D; --jkis-blue: #176B87; --jkis-teal: #267A78; --jkis-gold: #D6A94D;
  --jkis-warm: #F4F1EA; --jkis-light-bg: #F6F8FA; --jkis-white: #FFFFFF;
  --jkis-charcoal: #172033; --jkis-body-grey: #556476; --jkis-border: #DCE3E8;
  --sans: Commissioner, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --bg: var(--jkis-light-bg); --card: var(--jkis-white); --ink: var(--jkis-charcoal); --muted: var(--jkis-body-grey); --line: var(--jkis-border);
  --accent: var(--jkis-navy); --accent-ink: #ffffff; --focus: var(--jkis-blue); --warn: #9a3412;
  --navy: var(--jkis-navy); --gold: var(--jkis-gold); --cream: var(--jkis-warm); --blue: var(--jkis-blue);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--sans); }
.top { background: var(--card); border-bottom: 1px solid var(--line); padding: 14px 16px; text-align: center; }
.logo { height: 44px; width: auto; }
.tied { margin: 4px 0 0; font-size: .78rem; color: var(--muted); letter-spacing: .01em; }
main { max-width: 760px; margin: 0 auto; padding: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 20px; margin: 0 0 16px; }
h1 { font-size: 1.45rem; margin: 0 0 .6em; color: var(--accent); }
h2 { font-size: 1.2rem; margin: 0 0 1em; color: var(--accent); }
h3 { font-size: 1.02rem; margin: 1.3em 0 .4em; color: var(--accent); }
.intro ol, .intro ul { margin: .4em 0 1em; padding-left: 1.4em; }
.intro li { margin: .25em 0; }
p { margin: 0 0 .8em; }
.muted, .counter, .hint { color: var(--muted); }
.hint { font-size: .9rem; margin: .1em 0 .4em; }
.q { margin: 0 0 1.3em; border: 0; padding: 0; min-width: 0; }
.q-title { display: block; font-weight: 600; margin: 0 0 .35em; padding: 0; }
input[type=text], input[type=email], input[type=date], input[type=password], input[type=tel], textarea {
  width: 100%; font: inherit; color: inherit; background: #fff; border: 1px solid #b9b5ac; border-radius: 6px; padding: 9px 10px;
}
textarea { resize: vertical; }
input.ref { background: var(--jkis-warm); font-family: ui-monospace, Consolas, monospace; }
input:focus, textarea:focus, button:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }
.opts { display: flex; flex-direction: column; gap: 6px; }
.opts.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; padding: 4px 0; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--accent); }
.consent { background: var(--jkis-warm); border-radius: 8px; padding: 12px; }
.progress { height: 6px; background: var(--line); border-radius: 3px; overflow: hidden; margin: 0 0 6px; }
.progress .bar { height: 100%; width: 0; background: var(--accent); transition: width .2s; }
.counter { font-size: .9rem; margin: 0 0 12px; }
.nav { display: flex; gap: 10px; align-items: center; margin: 0 0 24px; }
.spacer { flex: 1; }
.btn { font: inherit; padding: 10px 18px; border-radius: 6px; border: 1px solid var(--accent); background: #fff; color: var(--accent); cursor: pointer; min-height: 44px; }
.btn.primary { background: var(--accent); color: var(--accent-ink); }
.btn:disabled { opacity: .6; cursor: wait; }
.link { font: inherit; font-size: .9rem; background: none; border: 0; color: var(--focus); text-decoration: underline; cursor: pointer; padding: 4px 0; }
.status { color: var(--warn); min-height: 1.5em; }
.foot { font-size: .8rem; color: var(--muted); border-top: 1px solid var(--line); padding: 16px 0 32px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-links a { color: var(--muted); }
[hidden] { display: none !important; }

/* "Talk to us" enquiry form (register.js) */
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
input[type=tel], select { width: 100%; font: inherit; color: inherit; background: #fff; border: 1px solid #b9b5ac; border-radius: 6px; padding: 9px 10px; }
.lead { font-size: 1.05rem; }
.opt { font-weight: 400; color: var(--muted); font-size: .9rem; }
.note { font-size: .9rem; color: var(--muted); margin: 0 0 14px; }
.h2-gap { margin-top: .6em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.submit { width: 100%; }
.consent .check + .check { margin-top: 6px; }

/* Suitability Assessment (form.js): section introductions, option notes, the experience table, the risk/return chart
   and the signature pad */
.sec-intro { margin: 0 0 1.2em; padding: 0 0 .4em; border-bottom: 1px solid var(--line); }
.sec-intro ul, .sec-intro ol { margin: .4em 0 1em; padding-left: 1.4em; }
.opt-note { display: block; font-size: .88rem; color: var(--muted); }
.grid-row { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; margin: 0 0 10px; }
.grid-head { font-weight: 600; margin: 0 0 6px; }
.grid-cells { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 16px; }
@media (max-width: 560px) { .grid-cells { grid-template-columns: 1fr; } }
.grid-col { display: block; font-size: .85rem; color: var(--muted); }
.grid-opts { display: flex; flex-wrap: wrap; gap: 0 14px; }
.chart { margin: .4em 0 1em; }
.chart .cols { display: flex; gap: 8px; }
.chart .col { flex: 1; text-align: center; }
.chart .up, .chart .down { height: 90px; display: flex; justify-content: center; }
.chart .up { align-items: flex-end; border-bottom: 1px solid var(--ink); }
.chart .down { align-items: flex-start; }
.chart .bar { width: 70%; min-height: 18px; display: flex; align-items: center; justify-content: center; font-size: .8rem; color: #fff; }
.chart .bar.ret { background: #1f5e4a; }
.chart .bar.risk { background: #b42318; }
.chart .col-label { font-size: .85rem; margin: 4px 0 0; }
.chart figcaption { font-size: .85rem; color: var(--muted); display: flex; gap: 16px; justify-content: center; }
.chart .key::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 5px; vertical-align: -1px; }
.chart .key.ret::before { background: #1f5e4a; }
.chart .key.risk::before { background: #b42318; }
canvas.sig { display: block; width: 100%; height: auto; aspect-ratio: 3 / 1; background: #fff; border: 1px dashed #8a867d;
  border-radius: 8px; touch-action: none; cursor: crosshair; }

/* the document to sign (sign.js): its pages as images, scrollable inside the card */
.doc-pages { max-height: 70vh; overflow-y: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--jkis-light-bg); padding: 8px; margin: 0 0 10px; }
.doc-page { display: block; width: 100%; height: auto; background: #fff; margin: 0 0 8px; box-shadow: 0 1px 3px rgba(0,0,0,.15); }

/* /start (start.js): the journey strip and the goal chips; the letter's choice on /sign (sign.js) */
.steps { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 12px 0 6px; font-size: .88rem; }
.steps li { display: flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
.steps li b { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--bg); color: var(--ink); font-size: .8rem; }
.steps li.now { border-color: var(--accent); color: var(--accent); }
.steps li.now b { background: var(--accent); color: var(--accent-ink); }
.small { font-size: .88rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 8px 14px; border: 1px solid #b9b5ac; border-radius: 999px; background: #fff; }
.chip input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.chip input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.choice { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line); border-radius: 10px; padding: 14px; margin: 0 0 10px; cursor: pointer; }
.choice input { width: 20px; height: 20px; margin: 3px 0 0; flex: none; accent-color: var(--accent); }
.choice:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.choice b { display: block; }
.choice .opt-note { margin-top: 2px; }
.next-step { margin-top: 8px; }
.next-step .btn { display: block; text-align: center; text-decoration: none; margin: 4px 0 16px; line-height: 24px; }
@media (max-width: 560px) {
  .steps { gap: 4px; }
  .steps li { font-size: .78rem; padding: 2px 8px 2px 2px; }
  .steps li b { width: 18px; height: 18px; font-size: .72rem; }
}

/* client portal (portal.js) */
.pt-lang { display: flex; justify-content: flex-end; gap: 12px; margin: -6px 0 4px; }
.pt-lang .on { font-weight: 700; text-decoration: none; color: var(--ink); }
.pt-banner { background: var(--jkis-warm); border-radius: 8px; padding: 12px 14px; margin: 10px 0; }
.pt-banner p:last-child { margin: 0; }
.pt-cols { display: grid; grid-template-columns: 1fr; gap: 0 16px; }
@media (min-width: 720px) { main:has(.pt-cols) { max-width: 1040px; } .pt-cols { grid-template-columns: 1fr 1fr; } }
.pt-colhead h2 { margin: 0 0 .1em; }
.pt-status { list-style: none; padding: 0; margin: .6em 0; }
.pt-st { display: flex; gap: 8px; margin: 0 0 8px; }
.pt-dot { flex: none; font-size: 1.1rem; line-height: 1.3; }
.pt-ok .pt-dot { color: #2e7d32; } .pt-watch .pt-dot { color: #b7791f; } .pt-act .pt-dot { color: #c0392b; }
.sr { position: absolute; left: -9999px; }
.pt-big { display: flex; flex-direction: column; margin: .4em 0 .6em; }
.pt-big b { font-size: 1.8rem; color: var(--accent); }
.pt-tbl { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 0 0 .6em; }
.pt-tbl td { padding: 6px 4px; border-bottom: 1px solid var(--line); vertical-align: top; }
.pt-tbl .num { text-align: right; white-space: nowrap; }
.pt-bars { display: flex; flex-direction: column; gap: 6px; margin: 0 0 .8em; }
.pt-bar span { display: block; font-size: .9rem; }
.pt-bar i { display: block; height: 8px; background: var(--accent); border-radius: 4px; }
.pt-small { font-size: .85rem; color: var(--muted); }
.pt-thread { list-style: none; padding: 0; margin: 0 0 1em; }
.pt-m { border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; margin: 0 0 8px; }
.pt-m p { margin: .2em 0 0; white-space: pre-wrap; }
.pt-client { margin-left: 15%; background: var(--jkis-light-bg); } .pt-adviser { margin-right: 15%; }
#pc { width: 100%; font: inherit; font-size: 1.3rem; letter-spacing: .15em; text-transform: uppercase; border: 1px solid #b9b5ac; border-radius: 6px; padding: 9px 10px; }
.pt-lock { text-align: center; }

/* Financial Outlook page (journey.js) */
.jy-step { border-left: 5px solid var(--line); }
.jy-step.jy-now { border-left-color: var(--accent); }
.jy-step.jy-done { border-left-color: #2e7d32; }
.jy-step.jy-later { opacity: .7; }
.jy-step.jy-warn { border-left-color: #c0392b; }
.jy-head { display: flex; align-items: center; gap: 10px; margin: 0 0 .5em; }
.jy-head h2 { margin: 0; flex: 1; font-size: 1.1rem; }
.jy-num { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--line); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.jy-done .jy-num { background: #2e7d32; color: #fff; } .jy-now .jy-num { background: var(--accent); color: var(--accent-ink); }
.jy-state { font-size: .85rem; color: var(--muted); }
a.btn.jy-go { display: inline-flex; align-items: center; text-decoration: none; }
.jy-mono { font-family: ui-monospace, Consolas, monospace; font-weight: 600; word-break: break-all; }

/* "Talk to us", step by step (register.js, 2026-11-16): one question per screen, tappable cards, J. Knobel navy and gold */
.wiz { --navy: var(--jkis-navy); --gold: var(--jkis-gold); --cream: var(--jkis-warm); max-width: 640px; margin: 0 auto; }
.wiz-top { display: flex; align-items: center; gap: 14px; margin: 4px 0 14px; }
.wiz-top .progress { flex: 1; margin: 0; height: 5px; }
.wiz-top .progress .bar { background: var(--gold); }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--muted); white-space: nowrap; }
.badge .lock { width: 14px; height: 14px; fill: var(--navy); }
.wiz-card { padding: 26px 24px 28px; }
.wiz h1 { color: var(--navy); font-size: 1.6rem; font-weight: 600; margin: 4px 0 .4em; outline: none; }
.wiz h2 { color: var(--navy); }
.wiz .back { display: inline-block; color: var(--navy); text-decoration: none; margin: 0 0 6px; }
.wiz .back:hover { text-decoration: underline; }
.choices { display: flex; flex-direction: column; gap: 12px; margin: 18px 0 4px; }
.choice { position: relative; display: block; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 16px 18px;
  cursor: pointer; transition: border-color .15s, box-shadow .15s, background .15s; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice-t { display: block; font-size: 1.08rem; font-weight: 600; color: var(--navy); }
.choice-d { display: block; font-size: .9rem; color: var(--muted); margin-top: 2px; }
.choice:hover { border-color: var(--navy); box-shadow: 0 2px 10px rgba(18, 32, 64, .08); }
.choice:has(input:checked) { border-color: var(--gold); background: var(--cream); box-shadow: inset 4px 0 0 var(--gold); }
.choice:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.svcs { display: flex; flex-direction: column; gap: 12px; margin: 16px 0; }
.svc { border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 8px; padding: 14px 16px; background: #fff; }
.svc h2 { font-size: 1.15rem; margin: 0 0 .4em; }
.svc-k { font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin: 0 0 4px; }
.svc-cost { font-size: .9rem; color: var(--muted); margin: 0; }
.wiz .btn.primary { background: var(--navy); border-color: var(--navy); min-width: 160px; }
.wiz .btn.primary:hover { background: var(--jkis-navy); }
.timeline { list-style: none; padding: 0; margin: 10px 0 18px; counter-reset: t; }
.timeline li { counter-increment: t; position: relative; padding: 6px 0 6px 40px; }
.timeline li::before { content: counter(t); position: absolute; left: 0; top: 4px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--navy); color: #fff; font-size: .85rem; display: grid; place-items: center; }
.wiz-help { text-align: center; font-size: .9rem; color: var(--muted); margin: 6px 0 22px; }
.wiz-help a { color: var(--navy); }
@media (max-width: 560px) { .wiz-card { padding: 20px 16px 22px; } .wiz h1 { font-size: 1.35rem; } .badge { font-size: .75rem; } }

/* Guided Preliminary Questionnaire (form.js, 2026-11-17): yes/no start, friendly section lines, totals, review */
.tri-sec, .review-sec, .run-total, .together { --navy: var(--jkis-navy); --gold: var(--jkis-gold); --cream: var(--jkis-warm); }
.sec-lead { color: var(--muted); margin: -4px 0 18px; }
.tri { border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 14px; }
.tri:last-child { border-bottom: 0; }
.tri-opts { display: flex; gap: 10px; margin-top: 8px; }
.tri-choice { flex: 0 0 auto; min-width: 96px; padding: 10px 18px; text-align: center; }
.tri-choice .choice-t { font-size: 1rem; }
.run-total { margin: 18px 0 0; padding: 12px 14px; border-radius: 8px; background: var(--cream); border-left: 4px solid var(--gold); font-size: .95rem; }
.run-total strong { color: var(--navy); }
.together { background: var(--cream); border-radius: 8px; padding: 10px 12px; }
.together a { color: var(--navy); }
.review-block { border-top: 1px solid var(--line); padding: 12px 0 6px; }
.review-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.review-head h3 { margin: 0 0 6px; color: var(--navy); }
.review-block dl { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 4px 14px; margin: 4px 0; font-size: .92rem; }
.review-block dt { color: var(--muted); }
.review-block dd { margin: 0; white-space: pre-wrap; word-break: break-word; }
@media (max-width: 560px) { .review-block dl { grid-template-columns: 1fr; } .review-block dd { margin-bottom: 6px; } .tri-choice { flex: 1; } }

/* Softer buttons to match jknobel.com: pill shape, gentle lift on hover (2026-11-18) */
.btn { border-radius: 999px; padding-left: 22px; padding-right: 22px; transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.btn:hover:not(:disabled) { box-shadow: 0 6px 18px rgba(18, 32, 64, .14); transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) { .btn:hover:not(:disabled) { transform: none; } }

/* ── UX pass, November 2026 (ux.js): the principles of the Kestrel pass, for clients ─────────────────────────────────
   Errors beside the question and listed at the top; field edges that can be seen (3:1); 24px targets or more, 44px for
   anything tapped in a list; status text is neutral unless it is an error; a shape as well as a colour. */
:root { --edge: #857f74; --err: #9a3412; --err-bg: #fdf3ee; }
.sr { width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: #fff; color: var(--accent); padding: 10px 16px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
main:focus, h1:focus, h2:focus, .msg:focus { outline: none; }
input[type=text], input[type=email], input[type=date], input[type=tel], input[type=password], textarea, select, #pc { border-color: var(--edge); min-height: 44px; }
.chip span, .choice, button.chip { border-color: var(--edge); }
canvas.sig { border-color: var(--edge); }
canvas.sig:focus-visible, .doc-pages:focus-visible, .chat-letter:focus-visible, select:focus { outline: 3px solid var(--focus); outline-offset: 1px; }
.check { padding: 10px 0; min-height: 44px; }
.opts { gap: 0; }
.opts.grid { gap: 0 14px; }
.link { min-height: 28px; }
.foot-links a, .wiz-help a, .card p > a { display: inline-block; min-height: 24px; line-height: 24px; }
.svc-k { color: #7a5a24; }
.status { color: var(--muted); }
.status.is-error { color: var(--err); font-weight: 600; }
.need-note { margin: -8px 0 12px; }
.err-summary { border: 2px solid var(--err); border-radius: 8px; background: var(--err-bg); padding: 12px 16px; margin: 0 0 18px; outline: none; }
.err-summary:focus { box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 60%, transparent); }
.err-h { font-weight: 700; color: var(--err); margin: 0 0 4px; }
.err-summary ul { margin: 0; padding-left: 1.2em; }
.err-summary .link { color: var(--err); text-align: left; font-size: 1rem; }
.has-error { border-left: 4px solid var(--err); padding-left: 12px; }
.q-err { color: var(--err); font-weight: 600; margin: 0 0 .5em; }
.q-err::before { content: "▲ "; font-size: .8em; }
.has-error input:not([type=checkbox]):not([type=radio]), .has-error textarea, .has-error canvas.sig { border-color: var(--err); border-width: 2px; }
.sig-row { display: flex; align-items: center; gap: 16px; min-height: 32px; }
.sig-note { margin: 0; }
.jy-step.jy-later { opacity: 1; background: var(--jkis-light-bg); }
.jy-step.jy-later h2 { color: var(--muted); }
/* "Talk to us": Continue, once a card is chosen */
.go { margin-top: 16px; }
.wiz h1:focus { outline: none; }
/* the document to sign: larger pages for a phone, the page in view, and what is left to do */
.doc-tools { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; }
.doc-tools .hint { margin: 0; }
.doc-where { font-weight: 600; }
.doc-z { min-width: 44px; padding: 0; font-size: 1.2rem; line-height: 1; }
.doc-z:disabled { cursor: default; }
.doc-pages { overflow: auto; overscroll-behavior: contain; }
.todo { list-style: none; padding: 12px 16px; margin: 0 0 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); display: flex; flex-wrap: wrap; gap: 4px 20px; }
.todo li { color: var(--muted); }
.todo li.ok { color: #1f5e2c; }
.submit { justify-content: center; }
.chat-count { margin: 6px 0 0; font-size: .85rem; color: var(--muted); }
.chat-q { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.chat-dock .err { color: var(--muted); }
.chat-dock .err[role=alert], .chat-dock .err.is-error { color: var(--err); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { *, *::before { transition: none !important; animation: none !important; } }
@media (forced-colors: active) { .choice:has(input:checked), .chip input:checked + span, .chip[aria-pressed="true"] { outline: 3px solid Highlight; } }
.err-summary { scroll-margin-top: 12px; }
.err-summary .link { display: inline; min-height: 0; }
.err-summary li { margin: 4px 0; }
.pt-watch .pt-dot { color: #8a5a10; }

/* rows the person adds (the CySEC personal questionnaire's education, jobs and directorships), 2026-11-26 */
.trows{display:grid;gap:12px;margin:8px 0}
.trow{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px 14px;padding:14px;border:1px solid var(--border,#DCE3E8);border-radius:10px;background:var(--light,#F6F8FA)}
.trow .tcell{display:grid;gap:4px;min-width:0}.trow .tcell.wide{grid-column:1/-1}
.trow label{font-size:15px;font-weight:600}.trow input,.trow textarea{width:100%;box-sizing:border-box}
.trow>.link{justify-self:start;grid-column:1/-1}

/* the careers application (2026-11-26) */
details.notice { margin: 18px 0 6px; border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; font-size: .92rem; }
details.notice summary { cursor: pointer; font-weight: 600; color: var(--navy); }
details.notice p { margin: 8px 0 0; }
/* the careers page uses the wizard's choice cards outside .wiz: give it the same colours, so a chosen card is marked */
#apply { --navy: var(--jkis-navy); --gold: var(--jkis-gold); --cream: var(--jkis-warm); }
/* the newsletter sign-up (2026-11-26) */
#sub .opts.grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* the padlock in notes (careers, subscribe): text-sized, wherever it sits, 2026-11-26 */
.lock { width: 14px; height: 14px; flex: none; }
.note .lock { width: 1em; height: 1em; vertical-align: -2px; margin-right: 4px; fill: currentColor; }


/* ── jknobel.com theme, the rest (26 November 2026): type, buttons, header, as on the website ───────────────────────── */
:root { --edge: #7A8797; }   /* field edges: 3.6:1 on white */
body { font: 400 17px/1.6 var(--sans); }
h1, h2, h3 { font-weight: 400; color: var(--navy); text-wrap: balance; }
h1 { font-size: 1.85rem; line-height: 1.2; letter-spacing: -.015em; }
h2 { font-size: 1.35rem; line-height: 1.3; letter-spacing: -.01em; }
h3 { font-size: 1.1rem; font-weight: 600; }
.wiz h1 { font-weight: 400; font-size: 1.85rem; }
.chat-head h1 { font-size: 1.45rem; }
.q-title, .choice-t, .grid-head, .trow label { font-weight: 600; }
a, .link { color: var(--blue); text-underline-offset: 4px; }
a:hover, .link:hover { color: var(--navy); }
input:focus, textarea:focus, button:focus-visible, a:focus-visible, select:focus { outline: 3px solid var(--blue); outline-offset: 2px; }
.card { border-color: var(--line); border-radius: 12px; box-shadow: 0 1px 2px rgba(18, 59, 93, .04); }
/* buttons: the website's, 8px corners, blue for the action, navy on hover */
.btn { border-radius: 8px; font-weight: 600; border-color: var(--blue); color: var(--blue); background: var(--card); }
.btn.primary, .wiz .btn.primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn.primary:hover:not(:disabled), .wiz .btn.primary:hover:not(:disabled) { background: var(--navy); border-color: var(--navy); }
.btn:hover:not(:disabled) { box-shadow: 0 6px 18px rgba(18, 59, 93, .14); }
/* the header: logo on the left, the way back to the website on the right (new tab, so typed answers are kept) */
.top { padding: 0 max(16px, env(safe-area-inset-left, 0px)); text-align: left; }
.top-in { max-width: 1040px; margin: 0 auto; min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 10px 0; }
.top-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.top .logo { display: block; height: 44px; width: auto; max-width: 100%; object-fit: contain; }
.tied { margin: 0; font-size: .8rem; color: var(--muted); }
.to-site { font-size: .95rem; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.to-site:hover { text-decoration: underline; }
/* labels: teal, as the website's section labels; gold stays a mark, never text */
.svc-k { color: var(--jkis-teal); letter-spacing: .08em; }
details.notice summary { color: var(--navy); }
.chip:hover { border-color: var(--navy); }
@media (max-width: 480px) { .top-in { min-height: 64px; } .top .logo { height: 38px; } .tied { font-size: .72rem; } h1, .wiz h1 { font-size: 1.5rem; } }

/* the unsubscribe page: "No, keep me subscribed" is a link styled as a button (2026-11-27) */
a.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }

/* files on a form (2026-11-27, sales rep onboarding) */
.file-q .files { margin: 8px 0 0; padding-left: 18px; }
.file-q .files li { margin: 2px 0; }

/* the sales rep portal (salesportal.js, 2026-11-27): laid out as the JKIS portal mock-up (side menu, figures, board) */
.sr-key { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .05em; word-break: break-all; }
main:has(.srp), body.srp-wide main { max-width: 1320px; }
.srp { --t: #0f6b5c; --t2: #0b5547; --tl: #dcf1ec; --ln: #e1e4e8; --mu: #565f6d; }
.srp-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--ln); border-radius: 12px; padding: 12px 16px; margin-bottom: 16px; }
.srp-head .srp-title { display: block; font-size: 1.15rem; }
.srp-who { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.srp-body { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 20px; }
.srp-nav { flex: 1 1 210px; max-width: 250px; display: flex; flex-direction: column; gap: 4px; }
.srp-newbtn { margin-bottom: 8px; width: 100%; }
.srp-navbtn { display: flex; justify-content: space-between; align-items: center; gap: 8px; width: 100%; min-height: 44px; padding: 0 14px; border: 0; border-radius: 8px; background: transparent; color: #323c4b; font: inherit; text-align: left; cursor: pointer; }
.srp-navbtn:hover { background: #eef1f5; }
.srp-navbtn.on { background: var(--tl); color: var(--t2); font-weight: 600; }
.srp-count { font-size: .8rem; color: var(--mu); }
.srp-role { margin-top: 16px; padding: 12px 14px; border: 1px solid var(--ln); border-radius: 10px; background: #fff; font-size: .85rem; color: var(--mu); }
.srp-role p { margin: 4px 0 0; }
.srp-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.srp-main h1 { margin: 0; font-size: 1.5rem; }
.srp-card { background: #fff; border: 1px solid var(--ln); border-radius: 12px; padding: 16px 18px; }
.srp-card h2 { margin: 0 0 10px; font-size: 1.05rem; }
.srp-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.srp-kpi { background: #fff; border: 1px solid var(--ln); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.srp-kpi b { font-size: 1.7rem; }
.srp-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.srp-rows { list-style: none; margin: 0; padding: 0; }
.srp-rows li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #eceef1; }
.srp-rows li:last-child { border-bottom: 0; }
.srp-titlebar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; }
.srp-boardwrap { overflow-x: auto; }
.srp-board { display: grid; grid-template-columns: repeat(5, minmax(190px, 1fr)); gap: 12px; min-width: 990px; }
.srp-col { background: #e9ecf0; border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 8px; min-height: 320px; }
.srp-colhead { display: flex; justify-content: space-between; align-items: center; padding: 2px 4px 4px; }
.srp-pcard { display: flex; flex-direction: column; gap: 3px; width: 100%; text-align: left; background: #fff; border: 1px solid var(--ln); border-radius: 10px; padding: 12px; font: inherit; color: inherit; cursor: pointer; }
.srp-pcard:hover { border-color: var(--t); }
.srp-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.srp-badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .78rem; font-weight: 600; line-height: 1.5; white-space: nowrap; }
.b-red { background: #fde8e8; color: #9b1c1c; } .b-amber { background: #fbefd5; color: #6e4300; } .b-green { background: #e1f3e6; color: #1c6136; }
.b-blue { background: #e4edfa; color: #1d4f91; } .b-teal { background: var(--tl); color: var(--t2); } .b-grey { background: #eceef1; color: #454e5c; }
.srp-kv { display: grid; grid-template-columns: minmax(110px, 35%) 1fr; gap: 6px 12px; margin: 0; }
.srp-kv dt { color: var(--mu); } .srp-kv dd { margin: 0; }
.srp-step { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--ln); border-radius: 10px; margin-top: 8px; }
.srp-step > div { flex: 1 1 260px; }
.srp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 14px; }
.srp-tblwrap { overflow-x: auto; }
.srp-tbl { width: 100%; border-collapse: collapse; }
.srp-tbl th { text-align: left; font-size: .8rem; color: var(--mu); font-weight: 600; padding: 8px 10px; border-bottom: 1px solid #dde1e6; background: #fafbfc; }
.srp-tbl td { padding: 10px; border-bottom: 1px solid #eceef1; vertical-align: top; }
.srp-tbl .num { text-align: right; } .srp-tbl .nowrap { white-space: nowrap; }
.srp-toast { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin: 0; padding: 12px 16px; border-radius: 10px; background: #e1f3e6; color: #1c6136; }
.srp-alert { margin: 0; padding: 10px 14px; border-radius: 10px; background: #fde8e8; color: #9b1c1c; font-weight: 600; }
.srp-pending, .srp-notices { border-left: 4px solid #0f6b5c; }
@media (max-width: 700px) { .srp-nav { max-width: none; flex-direction: row; flex-wrap: wrap; } .srp-navbtn { width: auto; flex: 1 1 auto; min-height: 40px; background: #fff; border: 1px solid var(--ln); }
  .srp-newbtn { width: 100%; } .srp-role { display: none; } }
