/* Language Book Messenger: shop, AI Assistant and escalation styles.
   Concept A = client's vision (vibrant green header band, gold, centre button).
   Concept B = platform-standard (white large-title screens, calm green, mint bubbles). */

/* shared */
.out .bub { color: var(--out-tx); }
.tab.on { color: var(--accent-text); }
.chipf.on { background: var(--accent); border-color: var(--accent); }
.fab { background: linear-gradient(145deg, var(--accent-bright), var(--accent)); box-shadow: 0 0 0 5px var(--card), 0 8px 18px rgba(4, 120, 87, .35); }
.av.ann { width: var(--s); height: var(--s); border-radius: 50%; display: inline-grid; place-items: center; background: var(--gold); color: #fff; flex: none; }
.av.ann .ic { width: calc(var(--s) * .46); height: calc(var(--s) * .46); }
.av.bot { width: var(--s); height: var(--s); border-radius: 50%; display: inline-grid; place-items: center; background: linear-gradient(145deg, var(--accent-bright), var(--accent)); color: #fff; flex: none; }
.av.bot .ic { width: calc(var(--s) * .48); height: calc(var(--s) * .48); }
.tag.gold { background: var(--gold-soft); color: var(--gold-text); border-color: transparent; }
.upd-t { margin: 2px 0 6px; font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.upd.pinned { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold) inset; }
.hd-btn.gold { background: var(--gold); color: #fff; }
.cpill { display: inline-block; margin-left: 8px; padding: 2px 9px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-text); font-size: 11.5px; font-weight: 700; vertical-align: 2px; }
.bc-title { background: var(--card2); border: 1px solid var(--line); border-radius: 12px; color: var(--tx); font: inherit; font-size: 16px; font-weight: 700; padding: 10px 12px; outline: 0; }
.bc-title:focus { border-color: var(--accent); }

/* admin "live alerts" card from the client's screens */
.alertcard { display: flex; align-items: center; gap: 12px; padding: 14px; margin-bottom: 12px; border-radius: 18px; background: var(--gold-soft); border: 1px solid color-mix(in srgb, var(--gold) 35%, transparent); }
.al-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--gold); color: #fff; flex: none; }
.al-ic .ic { width: 22px; height: 22px; }
.alertcard > div { flex: 1; min-width: 0; }
.alertcard b { font-size: 16px; display: block; }
.alertcard p { margin: 2px 0 0; font-size: 13.5px; color: var(--tx2); line-height: 1.35; }
.al-btn { flex: none; padding: 10px 14px; border-radius: 14px; background: var(--card); color: var(--gold-text); font-weight: 800; font-size: 14.5px; }

/* shop */
.shop-note { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: var(--tx2); margin-bottom: 12px; }
.shop-note .ic { width: 15px; height: 15px; color: var(--accent-text); }
.pgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.pcard { display: flex; flex-direction: column; gap: 6px; padding: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; text-align: left; }
.pcard b { font-size: 14.5px; line-height: 1.25; }
.pimg { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 12px; color: #fff; }
.pimg .ic { width: 34px; height: 34px; }
.pimg.t0 { background: linear-gradient(145deg, #10b981, #047857); }
.pimg.t1 { background: linear-gradient(145deg, #34d399, #0e7490); }
.pimg.t2 { background: linear-gradient(145deg, #f59e0b, #b45309); }
.pimg.t3 { background: linear-gradient(145deg, #84cc16, #15803d); }
.pimg.sm { width: 40px; height: 40px; aspect-ratio: auto; border-radius: 10px; flex: none; }
.pimg.sm .ic { width: 20px; height: 20px; }
.pimg.big { width: 100%; max-height: 190px; aspect-ratio: 16 / 9; border-radius: 16px; }
.pimg.big .ic { width: 54px; height: 54px; }
.price { font-weight: 800; font-size: 16px; color: var(--accent-text); }
.price small { font-weight: 600; font-size: 12px; color: var(--tx2); }
.pinfo { display: flex; flex-direction: column; gap: 4px; }
.pinfo b { font-size: 20px; }
.pinfo p { margin: 4px 0 0; color: var(--tx2); line-height: 1.5; font-size: 15px; }
.payopt { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); text-align: left; }
.payopt.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.payopt > span:nth-child(2) { flex: 1; }
.payopt b { display: block; font-size: 15.5px; }
.payopt small { color: var(--tx2); font-size: 12.5px; }
.pm-ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); flex: none; }
.pm-ic .ic { width: 19px; height: 19px; }
.payopt i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--tx3); flex: none; }
.payopt.on i { border: 6px solid var(--accent); }
.kvline.big { font-size: 16px; padding: 12px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; color: var(--tx); }
.opaid { display: flex; flex-direction: column; align-items: flex-end; font-weight: 800; font-size: 14.5px; flex: none; }
.opaid small { font-size: 11.5px; font-weight: 700; color: var(--green); }
.center-t { align-items: center; text-align: center; padding-top: 10px; }
.okbig { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); }
.okbig .ic { width: 36px; height: 36px; stroke-width: 2.6; }
.ok-t { font-size: 21px; }

/* escalation to the senior team */
.escard { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 14px 10px; padding: 16px 14px; border-radius: 18px; background: var(--gold-soft); border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent); text-align: center; }
@keyframes esIn { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.escard .es-av { position: relative; }
.escard .es-av::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--gold); animation: esRing 1.6s ease-out infinite; }
.escard.joined .es-av::after { display: none; }
@keyframes esRing { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.escard b { font-size: 15.5px; }
.escard p { margin: 0; font-size: 13.5px; color: var(--tx2); line-height: 1.45; }
.es-dots { display: inline-flex; gap: 4px; margin-top: 2px; }
.es-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: blink 1.2s infinite; }
.es-dots i:nth-child(2) { animation-delay: .15s; } .es-dots i:nth-child(3) { animation-delay: .3s; }
.escard.joined { background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 30%, transparent); }
.aibar.esc { background: var(--gold-soft); color: var(--gold-text); }
.aibar.esc button { background: var(--gold); }

/* ---------- concept A: vibrant ---------- */


.es-t { font-size: 15.5px; font-weight: 600; line-height: 1.35; }
.escard .btn.sm { margin-top: 4px; }
.bn-mega.gold { background: var(--gold); }
.logo-tap { display: block; border-radius: 28%; }
.teampill { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 14px; background: var(--gold-soft); color: var(--gold-text); font-size: 14px; font-weight: 700; }
.teampill .ic { width: 16px; height: 16px; }
.teampill .linkbtn { margin-left: auto; }

.brandrow b { white-space: nowrap; }
.brandrow .chip { flex: none; }

.es-av { position: relative; }
.es-badge { position: absolute; right: -4px; bottom: -4px; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--gold-soft); }
.es-badge .ic { width: 12px; height: 12px; stroke-width: 2.6; }
.es-live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-text); }
.es-live i { width: 8px; height: 8px; border-radius: 50%; background: #e0383e; animation: rec 1.2s infinite; }
.chip.gold { background: var(--gold-soft); color: var(--gold-text); }
.payinfo { background: var(--gold-soft); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.pi-h { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 800; color: var(--gold-text); text-transform: uppercase; letter-spacing: .04em; }
.pi-h .ic { width: 15px; height: 15px; }
.payinfo p { margin: 0; white-space: pre-wrap; font-size: 15px; line-height: 1.5; color: var(--tx); }
.opaid small.wait { color: var(--orange); }
.views { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; color: var(--accent-text); padding: 4px 10px; border-radius: 12px; background: var(--accent-soft); }
.views .ic { width: 14px; height: 14px; }
.thead small .ic { width: 12px; height: 12px; vertical-align: -1px; }

.btn.apple { background: #000; color: #fff; border: 1px solid #000; }
[data-theme="dark"] .btn.apple { background: #fff; color: #000; border-color: #fff; }
.btn.apple .g { width: 20px; height: 20px; margin-top: -2px; }
.apple-mark { display: grid; place-items: center; width: 34px; height: 34px; }
.apple-mark .g { width: 30px; height: 30px; color: var(--tx); }
.gav.dark { background: #1d1d1f; color: #fff; }
.gav.ms { background: #0078d4; color: #fff; }
.apple-mark .g[viewBox="0 0 23 23"] { width: 26px; height: 26px; }

/* login screens in the reference style (Inter, dark primary, outlined providers) */
.scr.auth.login { background: var(--card); }
.login .gate { gap: 14px; }
.login .brandrow { margin-bottom: 6px; }
.login-h { margin: 6px 0 2px; font-size: 24px; font-weight: 700; letter-spacing: -.02em; color: var(--tx); line-height: 1.2; }
.field input { width: 100%; height: 48px; padding: 0 14px; border: 1.5px solid #d3d7df; border-radius: 10px; background: var(--card); color: var(--tx); font: 400 16px var(--font); outline: 0; }
[data-theme="dark"] .field input { border-color: var(--line); }
.field input:focus { border-color: var(--tx); box-shadow: 0 0 0 3px rgba(15, 23, 41, .08); }
.field input::placeholder { color: #8a909c; }
.btn.ink { height: 48px; border-radius: 10px; background: #0f1729; color: #fff; font-size: 16px; font-weight: 600; box-shadow: none; }
[data-theme="dark"] .btn.ink { background: #f1f2f5; color: #0f1729; }
.btn.outline { height: 48px; border-radius: 10px; background: var(--card); color: var(--tx); border: 1.5px solid #1f2735; font-size: 16px; font-weight: 500; }
[data-theme="dark"] .btn.outline { border-color: #c9ced8; }
.btn.outline .g, .btn.outline .ic { width: 20px; height: 20px; }
.btn.outline.danger { border-color: var(--red); color: var(--red); }
.btn.sm.outline { height: 36px; border-radius: 10px; font-size: 14px; font-weight: 600; border-width: 1.5px; }
.login .divider { font-size: 14px; }
.login-foot { margin: 2px 0 0; text-align: center; font-size: 14.5px; color: var(--tx2); }
.lf-link { font-weight: 700; color: var(--tx); padding: 2px; }
.login .err { margin-top: -6px; }
.waitcard { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 24px 18px; border-radius: 18px; background: var(--gold-soft); margin: 18px 0 6px; }
.waitcard.no { background: var(--accent-soft); background: color-mix(in srgb, var(--red) 10%, var(--card)); }
.waitcard p { margin: 0; color: var(--tx2); font-size: 15px; line-height: 1.5; }
.waitcard .kvline { width: 100%; margin-top: 6px; }
.wait-ic { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #fff; }
.waitcard.no .wait-ic { background: var(--red); }
.wait-ic .ic { width: 28px; height: 28px; }

/* approvals */
.seg.three { margin-bottom: 10px; }
.seg.three button { font-size: 13.5px; padding: 8px 6px; }
.cnt { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--red); color: #fff; font-size: 11.5px; }
.seg.three button.on .cnt { background: #fff; color: var(--accent); }
.group > .row.req { align-items: flex-start; }
.row.req small { display: block; font-size: 13px; color: var(--tx2); }
.req-act { display: flex; gap: 8px; margin-top: 10px; }
.req-act .btn.sm { flex: 1; }

/* announcement email */
.emailrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--card2); border: 1px solid var(--line); }
.emailrow > span { display: flex; gap: 10px; align-items: flex-start; }
.emailrow .ic { width: 18px; height: 18px; color: var(--accent-text); margin-top: 2px; }
.emailrow b { display: block; font-size: 14.5px; }
.emailrow small { display: block; font-size: 12.5px; color: var(--tx2); line-height: 1.35; }
.emailed { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 8px; font-size: 12.5px; color: var(--tx2); }
.emailed .ic { width: 14px; height: 14px; color: var(--accent-text); }
.emailed .linkbtn { margin-left: auto; }
.mail { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--card); }
.mail-h { padding: 10px 14px; background: var(--card2); display: flex; flex-direction: column; gap: 3px; font-size: 13px; }
.mail-h span { display: inline-block; width: 58px; color: var(--tx2); }
.mail-b { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.mail-b h3 { margin: 4px 0 0; font-size: 18px; }
.mail-b p { margin: 0; font-size: 15px; line-height: 1.5; }
.mail-b img { width: 100%; border-radius: 10px; }
.mail-btn { align-self: flex-start; padding: 9px 16px; border-radius: 10px; background: var(--accent); color: #fff; font-weight: 700; font-size: 14px; }
.mail-b small { color: var(--tx3); font-size: 12px; }

/* shop admin */
.group > .row.prod { gap: 12px; }
.pimg.photo { background-size: cover; background-position: center; }
.pe-btns.row2 { flex-direction: row; align-items: center; flex-wrap: wrap; }
.swatches { display: flex; gap: 6px; margin-left: auto; }
.swatch { width: 26px; height: 26px; border-radius: 50%; border: 2px solid transparent; }
.swatch.on { border-color: var(--tx); box-shadow: inset 0 0 0 2px var(--card); }
.swatch.t0 { background: linear-gradient(145deg, #10b981, #047857); }
.swatch.t1 { background: linear-gradient(145deg, #34d399, #0e7490); }
.swatch.t2 { background: linear-gradient(145deg, #f59e0b, #b45309); }
.swatch.t3 { background: linear-gradient(145deg, #84cc16, #15803d); }
.cnt.muted { background: var(--line); color: var(--tx2); }

/* login page: logo bar, card on the green gradient, footer and help button */
.app { --lg-bg: #fafaf7; --lg-grad: linear-gradient(180deg, #047857 0%, #10b981 34%, #6ee7b7 62%, #c9f5df 84%, #eefcf4 100%); --lg-shadow: 0 22px 44px -22px rgba(6, 78, 59, .55), 0 2px 8px rgba(15, 23, 41, .06); --lg-promo: #064e3b; }
.app[data-theme="dark"] { --lg-bg: #0a110e; --lg-grad: linear-gradient(180deg, #064e3b 0%, #065f46 38%, #0b3b2c 74%, #0a110e 100%); --lg-shadow: 0 22px 44px -22px rgba(0, 0, 0, .8); --lg-promo: #d1fae5; }
.scr.auth.login:has(> .body.lg) { background: var(--lg-bg); }
.scr.auth.login > .body.lg { padding: 0; display: flex; flex-direction: column; background: var(--lg-bg); }
.lg-top { flex: none; display: flex; align-items: center; gap: 8px; padding: calc(var(--sat) + 6px) 12px 12px 16px; background: var(--lg-bg); }
.lg-brand { flex: 1; min-width: 0; display: flex; align-items: center; gap: 9px; }
.lg-brand b { font-size: 20px; font-weight: 800; letter-spacing: -.02em; color: var(--tx); white-space: nowrap; }
.lg-brand .chip { flex: none; }
.lg-get { height: 38px; padding: 0 14px !important; border-radius: 8px; background: #0f1729 !important; color: #fff !important; font-size: 14.5px; font-weight: 600; white-space: nowrap; }
.app[data-theme="dark"] .lg-get { background: #f1f2f5 !important; color: #0f1729 !important; }
.lg-menu { width: 40px; height: 40px; display: grid; place-items: center; color: var(--tx); border-radius: 10px; }
.lg-menu .ic { width: 26px; height: 26px; }
.lg-hero { flex: none; background: var(--lg-grad); padding: 26px 16px 28px; border-radius: 4px 4px 26px 26px; margin: 0 3px; }
.lg-card { display: flex; flex-direction: column; gap: 14px; background: var(--card); border-radius: 18px; padding: 26px 20px 20px; box-shadow: var(--lg-shadow); }
.lg-card .login-h { margin: 0 0 4px; font-size: 25px; }
.lg-card .gate-p { margin: -6px 0 0; font-size: 15px; }
.lg-card .err { margin: -6px 0 0; }
.lg-card .login-foot { margin: 4px 0 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2px 6px; font-size: 14px; }
.lg-card .lf-link { display: inline-flex; align-items: center; gap: 4px; }
.lg-card .lf-link .ic { width: 17px; height: 17px; stroke-width: 2.4; }
.lg-card .lf-link.sm { font-size: 13px; color: var(--accent-text); }
.lg-card .hint { margin-top: 2px; }
.lg-card .fine { margin: 0; }
.lg-back { align-self: flex-start; display: inline-flex; align-items: center; gap: 2px; margin: -10px 0 -4px -8px; padding: 4px 6px !important; font-size: 14.5px; font-weight: 600; color: var(--tx2) !important; }
.lg-back .ic { width: 20px; height: 20px; }
.lg-promo { width: 100%; margin-top: 22px; display: flex; align-items: center; gap: 12px; padding: 12px 14px !important; border-radius: 16px; background: rgba(255, 255, 255, .62) !important; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 6px 18px -10px rgba(6, 78, 59, .45); color: var(--lg-promo) !important; text-align: left; }
.app[data-theme="dark"] .lg-promo { background: rgba(255, 255, 255, .07) !important; box-shadow: none; }
.lg-promo-ic { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--accent); color: #fff; }
.lg-promo-ic .ic { width: 22px; height: 22px; }
.lg-promo b { display: block; font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.lg-promo small { display: block; margin-top: 2px; font-size: 14.5px; font-weight: 500; opacity: .85; }
.lg-foot { flex: 1 0 auto; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 26px 18px calc(var(--sab) + 92px); background: var(--lg-bg); }
.lg-lang { display: inline-flex; align-items: center; gap: 7px; font-size: 14.5px; font-weight: 600; color: var(--tx) !important; }
.lg-lang .ic { width: 18px; height: 18px; }
.lg-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.lg-links button, .lg-choices, .lg-copy { font-size: 13.5px; color: var(--tx2) !important; }
.lg-links button:hover, .lg-choices:hover { text-decoration: underline; }
.lg-choices { display: inline-flex; align-items: center; gap: 8px; }
.lg-choices .pc { width: 30px; height: 14px; }
.lg-copy { margin: 0; }
.lg-help { position: absolute; right: 16px; bottom: calc(var(--sab) + 16px); z-index: 5; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #0f1729 !important; color: #fff !important; box-shadow: 0 12px 26px -10px rgba(15, 23, 41, .6); }
.app[data-theme="dark"] .lg-help { background: var(--accent) !important; }
.lg-help .ic { width: 26px; height: 26px; }

/* email code step */
.field input.code { height: 56px; text-align: center; font: 600 24px var(--mono); letter-spacing: .45em; padding-left: .45em; }
.lg-mailic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); }
.lg-mailic .ic { width: 26px; height: 26px; }
.lg-card .gate-p b { color: var(--tx); font-weight: 600; word-break: break-all; }

/* Senior Team live join: countdowns and the "needed" queue */
.esc-t { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--gold-text); background: color-mix(in srgb, var(--gold) 18%, transparent); white-space: nowrap; }
.esc-t.warn { color: #b45309; background: color-mix(in srgb, #f97316 20%, transparent); }
.esc-t.late { color: #fff; background: var(--red); }
.es-row { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.aibar .esc-t { margin-left: 6px; }
.escq { display: flex; flex-direction: column; gap: 10px; padding: 12px 14px; margin-bottom: 12px; border-radius: 18px; background: var(--gold-soft); border: 1.5px solid color-mix(in srgb, var(--gold) 55%, transparent); box-shadow: 0 10px 24px -16px rgba(180, 120, 0, .7); }
.escq-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.escq-h small { font-size: 12.5px; color: var(--tx2); font-weight: 600; }
.escq-row { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px 10px; padding-top: 10px; border-top: 1px solid color-mix(in srgb, var(--gold) 30%, transparent); }
.escq-row .rmain b { display: block; font-size: 15.5px; }
.escq-row .rmain small { display: block; font-size: 13px; color: var(--tx2); }
.escq-act { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; }
.escq-act .esc-t { margin-right: auto; }
.escq-act .btn.sm { height: 34px; padding: 0 12px; flex: none; }
.bub.img.loading { width: 200px; height: 150px; border-radius: 14px; background: linear-gradient(90deg, var(--card2), var(--line), var(--card2)); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* one conversation per member */
.row.chat .wholine { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 600; color: var(--accent-text); }
.escard.joincard { background: var(--card); border-color: var(--line); }
.sysmsg.pay { color: var(--accent-text); }
.aibar .ghostb { background: transparent !important; color: inherit !important; border: 1.5px solid currentColor !important; }
/* alert card: a long button goes on its own row */
.alertcard { flex-wrap: wrap; }
.al-btn[data-act="enableAlerts"] { flex: 1 0 100%; text-align: center; }

/* Language Book chat controls */
.aibar.full { flex-wrap: wrap; }
.aibar .acts { display: flex; gap: 6px; margin-left: auto; }
/* on a narrow phone the buttons (Reassign, Take over, End) never get cut off: when they don't fit next to
   the text they move to their own row under it, on the right, and wrap if needed */
.aibar.full > span:not(.acts) { flex: 1 1 150px; min-width: 0; }
.aibar.full .acts { flex: 0 1 auto; flex-wrap: wrap; justify-content: flex-end; }

/* member profile photo */
.pf-av { position: relative; flex: none; border-radius: 50%; }
.pf-cam { position: absolute; right: -2px; bottom: -2px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; box-shadow: 0 0 0 3px var(--bg); }
.pf-cam .ic { width: 14px; height: 14px; }
.pf-links { display: flex; gap: 12px; margin: 2px 0; }
.lf-link.muted { color: var(--tx2); font-weight: 600; }
/* install the app */
.installcard { position: relative; display: flex; align-items: center; gap: 12px; margin: 12px 0; padding: 12px 36px 12px 12px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 8px 20px -16px rgba(0, 0, 0, .35); }
.installcard > div { flex: 1; min-width: 0; }
.installcard b { display: block; font-size: 15px; }
.installcard p { margin: 2px 0 0; font-size: 13px; color: var(--tx2); line-height: 1.35; }
.installcard .btn.sm { flex: none; height: 36px; padding: 0 14px; }
.ic-x { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; display: grid; place-items: center; color: var(--tx3); }
.ic-x .ic { width: 15px; height: 15px; }
.isteps { list-style: none; margin: 4px 0 8px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.isteps li { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); font-size: 15px; line-height: 1.4; }
.isteps .n { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-weight: 700; font-size: 14px; }
.isteps .ic { width: 18px; height: 18px; vertical-align: -3px; color: var(--accent-text); }

/* invoices */
.iv-hint { margin: 6px 4px 0; }
.iv-sec { margin: 20px 2px 4px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
a.btn { text-decoration: none; }
.ivsel { width: 100%; height: 50px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); color: var(--tx); font: inherit; font-size: 16px; padding: 0 12px; }
.iv-line { border: 1px solid var(--line); border-radius: 14px; padding: 8px; margin: 0 0 8px; background: var(--card2); }
.iv-line .inp { height: 46px; }
.iv-r2 { display: grid; grid-template-columns: 58px minmax(0, 1fr) 76px 36px; gap: 6px; margin-top: 6px; align-items: end; }
.iv-r2 label { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.iv-r2 small { font-size: 11px; color: var(--tx2); padding-left: 4px; }
.iv-r2 input, .iv-r2 select { height: 42px; width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--tx); font: inherit; font-size: 16px; padding: 0 8px; }
.iv-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.iv-tot { margin-top: 14px; background: var(--card2); border: 1px solid var(--line); border-radius: 14px; padding: 8px 14px; }
.iv-tot div { display: flex; justify-content: space-between; padding: 4px 0; font-size: 14px; color: var(--tx2); }
.iv-tot .big { color: var(--tx); font-size: 16px; border-top: 1px solid var(--line); margin-top: 4px; padding-top: 8px; }
.iv-check { display: flex; align-items: center; gap: 8px; margin: 12px 2px 4px; font-size: 14px; }
.note.warn { border-color: #e9b949; }
.note.warn > .ic { color: #b7791f; }

/* call: the other person muted their microphone */
.call-muted { display: inline-flex; align-items: center; gap: 6px; margin: 10px auto 0; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .16); color: #fff; font-size: 13px; font-weight: 600; }
.call-muted[hidden] { display: none; }
.call-muted .ic { width: 15px; height: 15px; }

/* "Need help?" form on the login page */
.help-ta { min-height: 120px; margin-bottom: 4px; }

/* email rows (Settings, My profile) */
.row.kv b.mailv { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 58%; font-weight: 600; color: var(--tx2); }

/* privacy shield (members app): the screen is hidden when the app is in the background, and cannot be printed */
.lb-veil { position: fixed; inset: 0; z-index: 2147483000; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: #f4f7f5; color: #0f1d17; font-family: inherit; text-align: center; }
.lb-veil.on { display: flex; }
.lb-veil img { width: 72px; height: 72px; border-radius: 18px; object-fit: cover; margin-bottom: 6px; }
.lb-veil b { font-size: 20px; }
.lb-veil small { font-size: 13px; color: #64748b; }
@media print {
  html.lb-protect body > * { display: none !important; }
  html.lb-protect body::before { content: "Printing is turned off in this app."; display: block; padding: 24px; font: 16px sans-serif; }
}
