/* The My Pozy "Apply now" web journey design (ApplyJourney: Jitz chat, My Pozy Home v11), as plain CSS. */
:root { --grad: linear-gradient(160deg, #1E9E7E, #2F86B8); --shadow: 0 6px 16px -12px rgba(11,31,58,0.4); }
* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; background: #0B1F3A; font-family: 'Figtree', 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; color: #0B1F3A; }
button, input, select, textarea { font-family: inherit; }
::placeholder { color: #66727F; opacity: 1; }
button { cursor: pointer; }
button:disabled { cursor: default; }
a { color: #157A60; } a:hover { color: #0F5E4A; }
.hidden { display: none !important; }
.scroll::-webkit-scrollbar { width: 6px; }
.scroll::-webkit-scrollbar-thumb { background: rgba(11,31,58,0.18); border-radius: 3px; }

@keyframes dot { 0%, 60%, 100% { opacity: 0.35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes sheet { from { transform: translateY(40px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes pulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; } }

/* The phone-width app, full height; centred on a wide screen. */
.app { position: relative; width: 100%; max-width: 480px; height: 100vh; height: 100dvh; margin: 0 auto;
  display: flex; flex-direction: column; overflow: hidden; background: #F4FAF8; }
/* In the home page's Jitz panel the journey fills the panel; the panel has its own bar (back, Support). */
.embedded body { background: #F4FAF8; }
.embedded .app { max-width: none; }
.embedded .back, .embedded .support { display: none; }
/* Scrolling the chat stops at its ends instead of moving the home page behind it. */
.embedded, .embedded body, .embedded .chat, .embedded .sheet-body, .embedded .panel-body { overscroll-behavior: contain; }
.embedded .top { padding-top: 10px; }
.embedded .composer { padding-bottom: 18px; }

/* ---- header ---- */
.top { position: relative; z-index: 1; flex-shrink: 0; background: var(--grad); color: #FFFFFF; padding: calc(10px + env(safe-area-inset-top)) 12px 12px 6px; display: flex; flex-direction: column; gap: 8px; }
.top-row { display: flex; align-items: center; gap: 8px; }
.back { width: 40px; height: 44px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.avatar { position: relative; width: 38px; height: 38px; border-radius: 50%; background: #FFFFFF; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.avatar::after { content: ''; position: absolute; right: 0; bottom: 0; width: 10px; height: 10px; border-radius: 50%; background: #3DDC84; border: 2px solid #FFFFFF; box-sizing: content-box; }
.avatar img { height: 26px; width: auto; }
.who { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.who-name { font-family: 'Outfit', sans-serif; font-size: 16px; font-weight: 600; color: #FFFFFF; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.who-sub { font-size: 12px; color: #E6F4F0; }
.support { height: 32px; padding: 0 11px 0 8px; border-radius: 999px; background: #25D366; color: #FFFFFF; font-size: 12px; font-weight: 700; display: flex; align-items: center; gap: 5px; text-decoration: none; flex-shrink: 0; }
.support:hover { color: #FFFFFF; }
.ai { height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.3); background: rgba(255,255,255,0.12); color: #FFFFFF;
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; display: flex; align-items: center; gap: 6px; }
.ai:hover { background: rgba(255,255,255,0.2); }
.pulse { width: 6px; height: 6px; border-radius: 50%; background: #FFFFFF; display: block; animation: pulse 1.1s ease-in-out infinite; }
.bars { display: flex; gap: 4px; padding: 0 2px 0 12px; }
.bars div { flex-grow: 1; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.3); }
.bars .done { background: #FFFFFF; }
.bars .now { background: #FFE7AE; }

/* ---- chat ---- */
.chat { flex-grow: 1; min-height: 0; overflow-y: auto; padding: 14px 12px 16px 12px; display: flex; flex-direction: column; gap: 9px; }
.chat-top { flex-shrink: 0; margin-top: auto; } /* the messages sit at the bottom, above the composer */
.msg { display: flex; flex-direction: column; animation: rise 220ms ease-out both; }
.sys { align-self: center; max-width: 90%; font-size: 11px; font-weight: 700; color: #1F5E8A; background: #E3F1FB; border-radius: 999px; padding: 5px 12px; text-align: center; }
.bot { align-self: flex-start; max-width: 86%; background: #FFFFFF; border-radius: 16px 16px 16px 5px; box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; }
.bot-body { padding: 10px 13px; display: flex; flex-direction: column; gap: 8px; }
.bot-text { font-size: 15px; line-height: 1.5; color: #13253D; white-space: pre-line; overflow-wrap: anywhere; }
.bot-after { font-size: 14.5px; line-height: 1.5; color: #13253D; white-space: pre-line; }
.bot-foot { font-size: 13px; line-height: 1.5; color: #5A6878; font-style: italic; }
.rows { display: flex; flex-direction: column; gap: 5px; }
.rows > div { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.rows .k { font-size: 13.5px; color: #4C5A69; }
.rows .v { font-size: 14px; font-weight: 800; color: #0B1F3A; text-align: right; }
.rows .v.neg { color: #B42318; }
/* A form's button stays in the message (it keeps the form for a refresh) but is not shown: as in the design, the
   composer's orange button opens the form (flow-test.js renderComposer). */
.cta { display: none; }
/* what the customer sent */
.user { align-self: flex-end; max-width: 80%; background: var(--grad); color: #FFFFFF; border-radius: 16px 16px 5px 16px; padding: 9px 13px;
  font-size: 15px; line-height: 1.5; white-space: pre-line; overflow-wrap: anywhere; }
.receipt { align-self: flex-end; background: #FFFFFF; box-shadow: var(--shadow); border-radius: 14px; padding: 10px 13px; display: flex; align-items: center; gap: 10px; }
.receipt-icon { width: 30px; height: 30px; border-radius: 50%; background: #1E9E7E; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.receipt > div:last-child { display: flex; flex-direction: column; }
.receipt-title { font-size: 14px; font-weight: 800; color: #0B1F3A; }
.receipt-note { font-size: 12px; color: #3E5068; }
.docs { align-self: flex-end; width: 76%; display: flex; flex-direction: column; gap: 5px; }
.doc { display: flex; align-items: center; gap: 9px; background: #FFFFFF; box-shadow: var(--shadow); border-radius: 14px; padding: 9px 11px; }
.doc-ext { width: 30px; height: 34px; border-radius: 5px; background: #2F86B8; color: #FFFFFF; font-size: 9px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.doc-name { font-size: 12.5px; font-weight: 700; color: #0B1F3A; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.doc-meta { font-size: 11px; color: #3E5068; }
.doc > div:last-child { display: flex; flex-direction: column; min-width: 0; }
/* v11: Jitz's card of the files being read, one line each (Analysing… / Analysed / Not accepted) */
.files { align-self: flex-start; width: 80%; box-sizing: border-box; background: #FFFFFF; border-radius: 14px; padding: 10px 13px;
  display: flex; flex-direction: column; gap: 7px; }
.file { display: flex; align-items: center; gap: 9px; --st: #3B5BA9; }
.file.ok { --st: #157A60; }
.file.bad { --st: #B42318; }
.file .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--st); flex-shrink: 0; }
.file-name { font-size: 12.5px; color: #13253D; flex-grow: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-st { font-size: 11.5px; font-weight: 800; color: var(--st); }
.typing { align-self: flex-start; background: #FFFFFF; border-radius: 16px 16px 16px 4px; padding: 12px 14px; display: flex; gap: 4px; }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: #8996A5; animation: dot 1.2s infinite; }
.typing .d2 { animation-delay: 150ms; }
.typing .d3 { animation-delay: 300ms; }

/* ---- composer ---- */
.composer { flex-shrink: 0; background: #FFFFFF; border-top: 1px solid #E3ECE8;
  padding: 12px 14px calc(18px + env(safe-area-inset-bottom)) 14px; display: flex; flex-direction: column; gap: 9px; }
.composer:empty { display: none; } /* nothing to tap or type: the chat takes the space */
.c-none { height: 46px; border: 1.5px solid #D5E5DE; border-radius: 23px; padding: 0 16px; display: flex; align-items: center; font-size: 14px; color: #5A6878; }
.c-stack { display: flex; flex-direction: column; gap: 7px; }
.c-stack.otp-stack { gap: 10px; }
.c-label { font-size: 12.5px; font-weight: 800; color: #0B1F3A; }
.c-row { display: flex; gap: 8px; align-items: center; }
.c-phone { flex-grow: 1; min-width: 0; display: flex; align-items: center; gap: 10px; height: 52px; border: 1.5px solid #0B1F3A; border-radius: 14px; padding: 0 14px; }
.c-phone.bad { border-color: #B42318; }
.c-phone b { font-size: 16px; font-weight: 700; color: #0B1F3A; }
.c-phone i { width: 1px; height: 22px; background: #D5E5DE; }
/* the country code: a native picker laid over it, so a phone shows its own country list */
.c-cc { position: relative; display: flex; align-items: center; gap: 4px; flex-shrink: 0; color: #0B1F3A; cursor: pointer; }
.c-cc select { position: absolute; inset: 0; width: 100%; opacity: 0; border: none; font-size: 16px; cursor: pointer; }
.c-phone input { flex-grow: 1; min-width: 0; border: none; outline: none; background: transparent; font-size: 16px; color: #13253D; }
.c-go { width: 52px; height: 52px; border-radius: 50%; border: none; background: var(--grad); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.c-err { font-size: 12.5px; font-weight: 700; color: #B42318; }
.otp { position: relative; }
.otp-boxes { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.otp-boxes div { height: 54px; border: 1.5px solid #CFE2DA; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 600; font-family: 'IBM Plex Mono', monospace; color: #0B1F3A; background: #FFFFFF; }
.otp-boxes .filled { border-color: #0B1F3A; }
.otp-boxes .next { border-color: #157A60; }
.otp-boxes.bad div { border-color: #B42318; }
.otp input { position: absolute; left: 0; top: 0; width: 100%; height: 54px; opacity: 0; border: none; font-size: 16px; }
.c-links { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.c-link { border: none; background: transparent; padding: 10px 0; font-size: 13px; font-weight: 800; color: #157A60; }
.c-wait { font-size: 13px; color: #5A6878; padding: 10px 0; }
.c-primary { min-height: 54px; border: none; border-radius: 14px; background: #FFB23F; color: #0B1F3A; font-size: 16px; font-weight: 800; }
.c-primary:disabled { background: #DCE9E3; color: #5A6878; }
.c-demo { font-size: 11.5px; color: #5A6878; text-align: center; }
.c-notice { margin: 0; font-size: 12px; line-height: 1.45; color: #5A6878; } /* the POPIA notice above Verify */
/* The reCAPTCHA badge stays hidden, and since 19 Nov (client) the chat shows no "protected by reCAPTCHA" line either.
   Google's terms ask for one of the two where Firebase runs reCAPTCHA (the number and code steps). */
.grecaptcha-badge { visibility: hidden; }
.c-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.c-buttons button { flex: 1 1 auto; min-height: 54px; padding: 0 16px; border-radius: 14px; border: 1.5px solid #9FDCC7; background: #FFFFFF; color: #157A60;
  font-size: 14.5px; font-weight: 800; }
.c-buttons button.primary { background: #FFB23F; border-color: #FFB23F; color: #0B1F3A; }
/* v11: the design's wide buttons ("Yes, I have an Offer to Purchase", "Not yet", "I have found a property"): full width. */
.c-buttons button.wide { flex-basis: 100%; }
.c-upload { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.c-upload button { min-height: 54px; border-radius: 14px; border: 1.5px solid #CFE2DA; background: #FFFFFF; color: #0B1F3A;
  font-size: 14.5px; font-weight: 800; display: flex; align-items: center; justify-content: center; gap: 8px; }
.c-upload button.dark { border-color: #0B1F3A; background: #0B1F3A; color: #FFFFFF; }
.c-upload button.wide { grid-column: 1 / -1; min-height: 46px; border-style: dashed; color: #135C4A; }
.c-caption { font-size: 12px; line-height: 1.45; color: #5A6878; text-align: center; }
.c-text { flex-grow: 1; min-width: 0; height: 46px; border: 1px solid #E3ECE8; border-radius: 23px; padding: 0 16px; font-size: 15px; color: #13253D; background: #F4FAF8; outline: none; }
.c-text:focus { border-color: #1E9E7E; }
.c-send { width: 46px; height: 46px; }
.c-attach { width: 46px; height: 46px; border-radius: 50%; border: 1px solid #E3ECE8; background: #FFFFFF; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* Every button answers the mouse or finger: lighter on hover, pressed in on click, a ring for the keyboard, and
   dimmed with a waiting cursor while what it started is on its way (the sign-in code being sent, a form opening). */
.c-go, .c-primary, .c-buttons button, .c-upload button, .c-attach, .sheet-cta {
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease, opacity 120ms ease, filter 160ms ease;
  -webkit-tap-highlight-color: transparent; }
.c-go:not(:disabled):hover, .c-primary:not(:disabled):hover, .c-buttons button.primary:not(:disabled):hover,
.sheet-cta:not(:disabled):hover, .c-upload button.dark:not(:disabled):hover { filter: brightness(1.06); }
.c-buttons button:not(.primary):not(:disabled):hover, .c-upload button:not(.dark):not(:disabled):hover,
.c-attach:not(:disabled):hover { background: #EFF6F3; }
.c-link:hover { text-decoration: underline; }
.c-go:not(:disabled):active, .c-attach:not(:disabled):active { transform: scale(0.92); }
.c-primary:not(:disabled):active, .c-buttons button:not(:disabled):active, .c-upload button:not(:disabled):active,
.sheet-cta:not(:disabled):active { transform: scale(0.98); }
.c-go:focus-visible, .c-primary:focus-visible, .c-buttons button:focus-visible, .c-upload button:focus-visible,
.c-attach:focus-visible, .c-link:focus-visible, .sheet-cta:focus-visible,
#sheetBack:focus-visible, .slot:focus-visible, .b-link:focus-visible, .clear:focus-visible { outline: 3px solid #0B1F3A; outline-offset: 2px; }
.back:focus-visible, .support:focus-visible, .ai:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 2px; }
/* inside a card that clips (a list of options) the ring is drawn inside, where it can't be cut off */
.opts button:focus-visible { outline: 3px solid #0B1F3A; outline-offset: -3px; }
.c-go:disabled { opacity: 0.55; cursor: progress; }
/* Sending the code: the arrow turns into a spinner, at full colour. */
.c-go.busy:disabled { opacity: 1; cursor: default; }
.c-go.busy svg { display: none; }
.c-go.busy::after { content: ''; width: 20px; height: 20px; border-radius: 50%; border: 2.2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #FFFFFF; animation: spin 0.8s linear infinite; }
.c-primary.busy:disabled { cursor: default; background: #FFB23F; color: #0B1F3A; display: flex; align-items: center; justify-content: center; gap: 10px; }
.c-primary.busy::before { content: ''; width: 18px; height: 18px; border-radius: 50%; border: 2.2px solid rgba(11, 31, 58, 0.25);
  border-top-color: #0B1F3A; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---- form sheet (a WhatsApp Flow) ---- */
.overlay { position: absolute; inset: 0; background: rgba(11,31,58,0.5); display: flex; flex-direction: column; justify-content: flex-end; z-index: 5; }
.overlay.dark { background: rgba(9,18,26,0.5); }
.rise { animation: sheet 240ms ease-out both; }
.sheet { height: calc(100% - 44px); background: #EFF6F3; border-radius: 22px 22px 0 0; display: flex; flex-direction: column; overflow: hidden; }
.sheet-head { flex-shrink: 0; padding: 8px 10px 0 10px; display: flex; flex-direction: column; gap: 4px; background: #EFF6F3; }
.sheet-head::before { content: ''; align-self: center; width: 40px; height: 5px; border-radius: 3px; background: #B9D3C8; }
.sheet-bar { display: flex; align-items: center; gap: 4px; min-height: 48px; }
.sheet-side { width: 84px; flex-shrink: 0; display: flex; }
.sheet-side.end { justify-content: flex-end; padding-right: 4px; }
.dots { width: 32px; height: 32px; border-radius: 50%; background: #DDEBE5; display: flex; align-items: center; justify-content: center; gap: 2px; }
.dots span { width: 4px; height: 4px; border-radius: 50%; background: #5A6878; }
#sheetBack { height: 44px; min-width: 44px; border: none; background: transparent; padding: 0 6px; font-size: 17px; font-weight: 500; color: #157A60;
  display: flex; align-items: center; justify-content: center; }
.sheet-title { flex-grow: 1; text-align: center; font-size: 17.5px; font-weight: 700; color: #0B1F3A; }
.sheet-progress { height: 4px; border-radius: 2px; background: #CFE2DA; margin: 2px 10px 0 10px; overflow: hidden; }
.sheet-progress div { height: 4px; border-radius: 2px; background: #1E9E7E; transition: width 0.5s ease; }
.sheet-body { flex-grow: 1; min-height: 0; overflow-y: auto; padding: 16px 12px 24px 12px; display: flex; flex-direction: column; gap: 14px; }
.sheet-foot { flex-shrink: 0; padding: 10px 14px 16px 14px; display: flex; flex-direction: column; gap: 10px; background: #EFF6F3; }
.sheet-cta { min-height: 54px; border: none; border-radius: 999px; background: #1E9E7E; color: #0B1F3A; font-family: 'Outfit', sans-serif; font-size: 18px; font-weight: 600; }
.sheet-cta:disabled { background: #DCE9E3; color: #6B7684; font-family: 'Figtree', sans-serif; font-size: 17px; }
.sheet-foot-text { font-size: 12.5px; color: #5A6878; text-align: center; }
.sheet-skeleton { display: flex; flex-direction: column; gap: 12px; }
.sheet-skeleton span { display: block; height: 58px; border-radius: 12px; background: #FFFFFF; opacity: 0.7; animation: pulse 1.1s ease-in-out infinite; }
.sheet-skeleton span:first-child { height: 30px; width: 70%; background: #DDEBE5; }

/* blocks */
.b-h { font-family: 'Outfit', sans-serif; font-size: 27px; line-height: 1.15; font-weight: 600; color: #0B1F3A; }
.b-sub { font-family: 'Outfit', sans-serif; font-size: 19px; font-weight: 600; color: #0B1F3A; padding-top: 6px; }
.b-p { font-size: 15.5px; line-height: 1.5; color: #13253D; }
.b-cap { font-size: 13px; line-height: 1.5; color: #5A6878; }
.b-p ul, .b-cap ul { margin: 4px 0; padding-left: 20px; }
.b-error { background: #FEF3F2; border: 1.5px solid #F0B4AD; border-radius: 12px; padding: 12px 14px; font-size: 14px; line-height: 1.45; color: #B42318; font-weight: 700; }
.b-link { width: 100%; min-height: 44px; border: none; background: transparent; font-size: 15.5px; font-weight: 800; color: #157A60; }
.fld { display: flex; flex-direction: column; gap: 6px; }
.field { position: relative; display: flex; align-items: center; gap: 10px; min-height: 58px; background: #FFFFFF; border-radius: 12px; padding: 8px 12px 8px 16px; border: 1.5px solid #FFFFFF; }
.lbl { width: 40%; flex-shrink: 0; display: flex; flex-direction: column; gap: 2px; }
.lbl label, .lbl .t { font-size: 15.5px; font-weight: 700; color: #0B1F3A; line-height: 1.3; }
.field input { flex-grow: 1; min-width: 0; border: none; outline: none; background: transparent; font-size: 16.5px; color: #13253D; padding: 8px 0; }
.field:focus-within { border-color: #1E9E7E; }
.need-text { display: none; font-size: 12.5px; color: #B42318; }
.bang { display: none; width: 22px; height: 22px; border-radius: 50%; background: #D92D20; color: #FFFFFF; font-size: 14px; font-weight: 800;
  align-items: center; justify-content: center; flex-shrink: 0; }
.fld.need .field, .fld.bad .field, .fld.need textarea, .fld.bad textarea { border-color: #F0B4AD; }
.fld.need .need-text, .fld.bad .need-text { display: block; }
.fld.need .bang, .fld.bad .bang { display: flex; }
.help { font-size: 13px; line-height: 1.45; color: #5A6878; padding: 0 16px; }
.err { font-size: 13px; line-height: 1.45; color: #B42318; font-weight: 700; padding: 0 16px; }
.area-label { font-size: 15.5px; font-weight: 700; color: #0B1F3A; padding: 0 4px; }
.area-label + .need-text { padding: 0 4px; }
.fld textarea { width: 100%; border: 1.5px solid #FFFFFF; border-radius: 12px; padding: 14px 16px; font-size: 16.5px; line-height: 1.45; color: #13253D; background: #FFFFFF; resize: none; outline: none; }
.fld textarea:focus { border-color: #1E9E7E; }
.sel-val { flex-grow: 1; min-width: 0; font-size: 16.5px; color: #13253D; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sel-val.ph { color: #6B7684; }
.field select { position: absolute; left: 0; top: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; border: none; }
.clear { position: relative; z-index: 2; width: 32px; height: 32px; margin-right: -4px; border: none; background: transparent; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.clear span { width: 22px; height: 22px; border-radius: 50%; background: #7C8592; display: flex; align-items: center; justify-content: center; }
.q { display: flex; flex-direction: column; gap: 2px; padding: 0 4px; }
.q-label { font-size: 17px; font-weight: 700; color: #0B1F3A; line-height: 1.35; }
.q .help, .q .err { padding: 0; }
.fld.need .q .need-text { display: block; font-size: 13px; }
.opts { background: #FFFFFF; border-radius: 12px; overflow: hidden; }
.opts button:hover { background: #F6FBF9; }
.opts button { width: 100%; min-height: 56px; padding: 10px 16px; border: none; border-bottom: 1px solid #E2ECE7; background: #FFFFFF;
  display: flex; align-items: center; gap: 12px; text-align: left; }
.opts button:last-child { border-bottom: none; }
.opt-t { flex-grow: 1; display: flex; flex-direction: column; gap: 2px; }
.opt-t span:first-child { font-size: 16.5px; color: #13253D; }
.opt-sub { font-size: 13px; color: #5A6878; }
/* the design's tick shows only on the chosen option */
.tick { display: none; width: 24px; height: 24px; border-radius: 50%; background: #1E9E7E; align-items: center; justify-content: center; flex-shrink: 0; }
.opts button[aria-checked="true"] .tick { display: flex; }
.box { width: 24px; height: 24px; border-radius: 6px; border: 2px solid #76948A; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.opts button[aria-checked="true"] .box { background: #1E9E7E; border-color: #1E9E7E; }
.b-check { display: flex; align-items: flex-start; gap: 12px; padding: 6px 8px; }
.b-check input { width: 22px; height: 22px; margin: 0; accent-color: #1E9E7E; flex-shrink: 0; cursor: pointer; }
.b-check label { font-size: 14.5px; line-height: 1.45; color: #13253D; cursor: pointer; }
.slot { width: 100%; min-height: 64px; border-radius: 12px; border: none; background: #FFFFFF; padding: 0 16px; display: flex; align-items: center; gap: 14px; text-align: left; }
.slot:hover { background: #F6FBF9; }
.slot-icon { width: 40px; height: 40px; border-radius: 50%; background: #1E9E7E; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.slot-text { flex-grow: 1; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.slot-title { font-size: 17px; font-weight: 500; color: #157A60; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slot.filled .slot-title { color: #0B1F3A; }
.slot-meta { font-size: 12.5px; color: #5A6878; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---- test panel (not part of the app) ---- */
.panel { height: calc(100% - 90px); background: #0B1F3A; color: #E8EDF2; border-radius: 20px 20px 0 0; display: flex; flex-direction: column; overflow: hidden; }
.panel-head { padding: 14px 18px 12px 18px; border-bottom: 1px solid #1D3554; display: flex; align-items: center; justify-content: space-between; }
.panel-title { font-family: 'Outfit', sans-serif; font-size: 19px; color: #FFFFFF; }
.panel-close { width: 36px; height: 36px; border-radius: 50%; border: 1px solid #2B4566; background: transparent; display: flex; align-items: center; justify-content: center; }
.panel-body { flex-grow: 1; min-height: 0; overflow-y: auto; padding: 10px 18px; display: flex; flex-direction: column; gap: 6px; }
.eyebrow { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: #8FA6B8; font-weight: 700; padding-top: 8px; }
.panel-line { font-size: 12.5px; font-weight: 700; color: #FFFFFF; }
.panel-note { font-size: 11.5px; color: #8FA6B8; line-height: 1.4; }
.panel select { width: 100%; min-height: 40px; border-radius: 9px; border: 1px solid #2B4566; background: #0F2747; color: #D7E1EA; font-size: 12.5px; padding: 0 10px; }
.events { display: flex; flex-direction: column; gap: 4px; font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; line-height: 1.45; }
.events div { color: #8FE0C8; overflow-wrap: anywhere; }
.events div.err { color: #FFB4A8; }
.events time { color: #6E8496; margin-right: 8px; }
.panel-actions { flex-shrink: 0; border-top: 1px solid #1D3554; padding: 10px 18px 16px 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.panel-actions button { min-height: 44px; border-radius: 9px; border: 1px solid #2B4566; background: transparent; color: #D7E1EA; font-size: 12px; font-weight: 700; }
.panel-actions button.on { background: #135C4A; color: #FFFFFF; }
.panel-actions button:disabled { opacity: 0.4; }
