/* =====================================================================
   A lead's own page — the hero/toolbox, and the Overview tab
   ---------------------------------------------------------------------
   The tab shell itself is NOT here: the lead page wears `.nz-ptabs26`,
   which assets/css/project-ios26.css already defines (the strip and the
   pane it selects as one card). Nothing about that is lead-specific, so
   it is shared rather than copied.

   What IS here:

     .nz-lead26              the page wrapper (hero + toolbox)
     .nz-lead26 .nz-lo-*     the Overview tab — "lead overview"
     .nz-callform            the log/schedule-a-call modal

   The Overview tab also wears `.nz-dash26`, so
   assets/css/dashboard-ios26.css already gives it the glass cards, the
   band headings, the stat tiles and the phone behaviour. Everything
   below is what a LEAD needs on top of that and nothing else.

   Every colour is an --ios26-* token or a hue stated TWICE, once per
   theme. Nothing reads its colour from a Bootstrap default: those are
   chosen for a white page, and the dark stylesheet only overrides a
   fixed list of classes.
   ===================================================================== */

/* ========================================================== the hero ===
   The lead's name, what it is, and every tool that acts on it — one
   band, so the reader never has to hunt for "where do I change the
   status" in a ⋯ menu inside a card.
   ===================================================================== */

.nz-lead26 .nz-lead-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;

    margin: 4px 0 6px;
    padding: 18px 20px;

    /* The toolbox holds two dropdowns (Change status, Share), and without
       these two lines their menus open UNDERNEATH the tab card and
       cannot be clicked at all.

       `backdrop-filter` below makes this hero a STACKING CONTEXT, so the
       `z-index: 1000` Bootstrap puts on `.dropdown-menu` is measured
       inside the hero and can never lift the menu past one of the hero's
       own siblings. `.nz-ptabs26` right below is `position: relative`
       with `z-index: auto` — positioned, so it paints above every
       non-positioned box on the page, this hero included.

       Raising the HERO is the fix: its whole stacking context, menus and
       all, then sits above the tab card. It cannot escape
       `.main-scrollable-page`, so the topbar and the modals still win. */
    position: relative;
    z-index: 3;

    border: 1px solid var(--ios26-edge);
    border-radius: var(--ios26-radius-xl);
    background: var(--ios26-surface);
    -webkit-backdrop-filter: var(--ios26-blur);
    backdrop-filter: var(--ios26-blur);
    box-shadow: var(--ios26-inset), var(--ios26-shadow-1);
}

.nz-lead26 .nz-lead-hero-main {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
    flex: 1 1 320px;
}

/* the plate carries the STATUS colour: the one fact that changes most
   often is the one you can read without focusing */
.nz-lead26 .nz-lead-hero-plate {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    border-radius: var(--ios26-radius);

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #fff;
    font-size: 20px;
    box-shadow: 0 6px 16px rgba(17, 24, 39, .18);
}

.nz-lead26 .nz-lead-hero-text {
    min-width: 0;
}

.nz-lead26 .nz-lead-hero-text h1 {
    margin: 0 0 8px;
    padding: 0;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--ios26-text);
    word-break: break-word;
}

.nz-lead26 .nz-lead-hero-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.nz-lead26 .nz-lead-hero-badges .badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.3;
}

.nz-lead26 .nz-lead-hero-badges .badge i {
    font-size: 11px;
}

.nz-lead26 .nz-lead-hero-badges .avatar img {
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

/* a badge that is NOT a status: it must not compete with the one that
   is, so it takes the theme's own fill instead of a hue */
.nz-lead26 .nz-lead-badge-soft {
    background: var(--ios26-fill) !important;
    color: var(--ios26-text) !important;
}

.nz-lead26 .nz-lead-badge-call {
    background: rgba(22, 114, 185, .14) !important;
    color: #11557f !important;
}

body.color-1E202D .nz-lead26 .nz-lead-badge-call {
    background: rgba(91, 156, 226, .22) !important;
    color: #bcd9f5 !important;
}

/* ======================================================= the toolbox ===*/

.nz-lead26 .nz-lead-toolbox {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    flex: 0 1 auto;
}

.nz-lead26 .nz-lead-toolbox .btn,
.nz-lead26 .nz-lead-toolbox .dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    height: 38px;
    padding: 0 14px;

    border-radius: var(--ios26-pill);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.nz-lead26 .nz-lead-toolbox .btn-default {
    border: 1px solid var(--ios26-hairline-strong);
    background: var(--ios26-surface-strong);
    color: var(--ios26-text);
    -webkit-backdrop-filter: var(--ios26-blur-sm);
    backdrop-filter: var(--ios26-blur-sm);
}

.nz-lead26 .nz-lead-toolbox .btn-default:hover,
.nz-lead26 .nz-lead-toolbox .btn-default:focus {
    background: var(--ios26-fill-hover);
    color: var(--ios26-text);
}

.nz-lead26 .nz-lead-toolbox .btn-primary {
    border: 0;
    background: var(--ios26-accent);
    color: #fff;
    box-shadow: 0 6px 16px var(--ios26-accent-ring);
}

.nz-lead26 .nz-lead-toolbox .btn-primary:hover,
.nz-lead26 .nz-lead-toolbox .btn-primary:focus {
    background: var(--ios26-accent-strong);
    color: #fff;
}

.nz-lead26 .nz-lead-tool-divider {
    width: 1px;
    height: 24px;
    background: var(--ios26-hairline-strong);
    margin: 0 2px;
}

.nz-lead26 .nz-lead-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
}

/* the dropdown the toolbox opens keeps the theme's own surface */
.nz-lead26 .nz-lead-tool-group .dropdown-menu {
    border-radius: var(--ios26-radius);
    border: 1px solid var(--ios26-hairline);
    box-shadow: var(--ios26-shadow-2);
    padding: 6px;
}

.nz-lead26 .nz-lead-tool-group .dropdown-item {
    border-radius: var(--ios26-radius-sm);
    padding: 8px 10px;
    font-size: 13px;
}

/* Below the phone breakpoint the toolbox is a row of icons with the
   labels dropped: seven full-width buttons is a screenful of chrome
   before the page starts. The two that MATTER keep their words. */
@media (max-width: 767px) {
    .nz-lead26 .nz-lead-hero {
        padding: 14px;
    }

    .nz-lead26 .nz-lead-hero-text h1 {
        font-size: 20px;
    }

    .nz-lead26 .nz-lead-toolbox {
        width: 100%;
        gap: 6px;
    }

    .nz-lead26 .nz-lead-toolbox .btn {
        height: 36px;
        padding: 0 11px;
    }

    .nz-lead26 .nz-lead-toolbox .btn-default span {
        display: none;
    }

    .nz-lead26 .nz-lead-tool-divider {
        display: none;
    }
}

/* ============================================ the Overview: card chrome ===
   dashboard-ios26.css styles `.card-header` of a `.nz-dash26` card, but
   it has no slot for a SUBTITLE. Every card on this tab carries one
   short line saying what it is for, so the heading block is laid out
   here.
   ===================================================================== */

/* The shared card header is `flex-wrap: nowrap; white-space: nowrap` —
   dashboard-ios26.css makes an iOS 26 title one line on purpose, because
   a header that carries a control was wrapping its title and shoving the
   card's content down. A subtitle would sit on that same line and
   squeeze the title to "Pipeline posi…", so title and subtitle are ONE
   flex child with a column of their own. */
.nz-lead26 .nz-card-heading {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1px;

    flex: 1 1 auto;
    min-width: 4.5em;
    white-space: normal;
}

.nz-lead26 .nz-card-heading .nz-card-title {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nz-lead26 .nz-card-sub {
    display: block;
    font-size: 11.5px;
    font-weight: 400;
    line-height: 1.3;
    color: var(--ios26-muted);

    /* one line: the subtitle explains the card, it does not become the
       card. A long translation is ellipsised rather than pushing the
       header taller than its neighbours' */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* the header is now two lines tall wherever it carries a subtitle */
.nz-lead26 .card > .card-header:has(.nz-card-heading) {
    min-height: 60px;
}

.nz-lead26 .card-header .card-header-button .btn {
    border-radius: var(--ios26-pill);
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
}

/* ===================================================== the KPI tiles ===*/

.nz-lead26 .nz-lo-kpi .card-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nz-lead26 .nz-lo-kpi-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.nz-lead26 .nz-lo-tile-link {
    cursor: pointer;
    transition: transform .18s var(--ios26-ease), box-shadow .18s var(--ios26-ease);
}

.nz-lead26 .nz-lo-tile-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--ios26-shadow-2);
}

.nz-lead26 .nz-lo-tile-link:focus-visible {
    outline: 2px solid var(--ios26-accent);
    outline-offset: 2px;
}

/* ================================================ the pipeline stepper ===
   The workspace's own lead statuses, in order. The rail behind the
   bullets is one gradient driven by --nz-steps-progress, so a workspace
   with four statuses and one with nine both read correctly.
   ===================================================================== */

.nz-lead26 .nz-lo-steps {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 4px;
    padding: 6px 0 2px;
    overflow-x: auto;
    scrollbar-width: none;
}

.nz-lead26 .nz-lo-steps::-webkit-scrollbar {
    height: 0;
}

/* the rail: drawn behind the bullets, filled up to the current step */
.nz-lead26 .nz-lo-steps::before {
    content: "";
    position: absolute;
    top: 19px;
    left: 6%;
    right: 6%;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(to right,
        var(--ios26-accent) 0,
        var(--ios26-accent) var(--nz-steps-progress, 0%),
        var(--ios26-fill) var(--nz-steps-progress, 0%),
        var(--ios26-fill) 100%);
}

.nz-lead26 .nz-lo-step {
    position: relative;
    z-index: 1;

    flex: 1 1 0;
    min-width: 84px;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;

    text-decoration: none;
    color: var(--ios26-muted);
    text-align: center;
}

.nz-lead26 .nz-lo-step:hover {
    color: var(--ios26-text);
}

.nz-lead26 .nz-lo-step-bullet {
    width: 28px;
    height: 28px;
    border-radius: 50%;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 11px;
    color: #fff;

    background: var(--ios26-fill);
    border: 2px solid var(--ios26-surface-strong);
    box-shadow: 0 0 0 3px var(--ios26-surface-soft);
    transition: transform .18s var(--ios26-spring), background-color .18s var(--ios26-ease);
}

.nz-lead26 .nz-lo-step.is-done .nz-lo-step-bullet {
    background: var(--nz-step, var(--ios26-accent));
}

.nz-lead26 .nz-lo-step.is-current .nz-lo-step-bullet {
    background: var(--nz-step, var(--ios26-accent));
    transform: scale(1.22);
    box-shadow: 0 0 0 5px var(--ios26-accent-ring);
}

.nz-lead26 .nz-lo-step:hover .nz-lo-step-bullet {
    transform: scale(1.12);
}

.nz-lead26 .nz-lo-step-label {
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.25;

    /* one step's name may not push the rail out of shape */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nz-lead26 .nz-lo-step.is-current .nz-lo-step-label {
    color: var(--ios26-text);
    font-weight: 700;
}

.nz-lead26 .nz-lo-pipeline-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--ios26-hairline);
}

/* ============================================================ chips ===*/

.nz-lead26 .nz-lo-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 4px 10px;
    border-radius: var(--ios26-pill);

    background: var(--ios26-fill);
    color: var(--ios26-text);
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.4;
}

.nz-lead26 .nz-lo-chip i {
    font-size: 11px;
    color: var(--ios26-muted);
}

.nz-lead26 .nz-lo-chip.is-warning {
    background: rgba(249, 165, 45, .16);
    color: #8a5a06;
}

body.color-1E202D .nz-lead26 .nz-lo-chip.is-warning {
    background: rgba(249, 165, 45, .22);
    color: #f6c87a;
}

.nz-lead26 .nz-lo-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

/* ====================================================== the contact ===*/

.nz-lead26 .nz-lo-contact-main {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 16px;
}

.nz-lead26 .nz-lo-contact-avatar img {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(17, 24, 39, .16);
}

.nz-lead26 .nz-lo-contact-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.nz-lead26 .nz-lo-contact-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--ios26-text);
    line-height: 1.25;
}

.nz-lead26 .nz-lo-contact-role {
    font-size: 12px;
    color: var(--ios26-muted);
}

.nz-lead26 .nz-lo-contact-text .badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    font-size: 10.5px;
    font-weight: 600;
}

/* the inset grouped list: one rounded block, hairlines between rows */
.nz-lead26 .nz-lo-contact-rows {
    border: 1px solid var(--ios26-hairline);
    border-radius: var(--ios26-radius);
    overflow: hidden;
    background: var(--ios26-fill);
}

.nz-lead26 .nz-lo-contact-row {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 11px 13px;
    text-decoration: none;
    color: var(--ios26-text);
    font-size: 13px;

    border-bottom: 1px solid var(--ios26-hairline);
    transition: background-color .15s var(--ios26-ease);
}

.nz-lead26 .nz-lo-contact-row:last-child {
    border-bottom: 0;
}

.nz-lead26 .nz-lo-contact-row:hover {
    background: var(--ios26-fill-hover);
    color: var(--ios26-text);
}

.nz-lead26 .nz-lo-contact-row > i:first-child {
    color: var(--ios26-accent);
    font-size: 14px;
    width: 18px;
    text-align: center;
}

.nz-lead26 .nz-lo-contact-row span {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nz-lead26 .nz-lo-contact-go {
    color: var(--ios26-muted);
    font-size: 11px;
    opacity: 0;
    transition: opacity .15s var(--ios26-ease);
}

.nz-lead26 .nz-lo-contact-row:hover .nz-lo-contact-go {
    opacity: 1;
}

.nz-lead26 .nz-lo-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 14px;
}

.nz-lead26 .nz-lo-contact-actions .btn {
    border-radius: var(--ios26-pill);
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nz-lead26 .nz-lo-contact-more {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 14px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ios26-accent);
    text-decoration: none;
    cursor: pointer;
}

.nz-lead26 .nz-lo-contact-more:hover {
    color: var(--ios26-accent-strong);
}

/* ==================================================== the empty state ===*/

.nz-lead26 .nz-lo-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 7px;
    padding: 26px 12px;
}

.nz-lead26 .nz-lo-empty > i {
    font-size: 28px;
    color: var(--ios26-muted);
    margin-bottom: 4px;
}

.nz-lead26 .nz-lo-empty-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--ios26-text);
}

.nz-lead26 .nz-lo-empty-help {
    font-size: 12px;
    color: var(--ios26-muted);
    max-width: 260px;
    margin-bottom: 8px;
}

/* ======================================================== the calls ===*/

.nz-lead26 .nz-lo-callstrip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

@media (max-width: 767px) {
    .nz-lead26 .nz-lo-callstrip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.nz-lead26 .nz-lo-callstat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;

    padding: 13px 14px;
    border: 1px solid var(--ios26-hairline);
    border-radius: var(--ios26-radius);
    background: var(--ios26-surface-soft);
}

.nz-lead26 .nz-lo-callstat-plate {
    width: 28px;
    height: 28px;
    border-radius: 9px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #fff;
    font-size: 12px;
    margin-bottom: 3px;
}

.nz-lead26 .nz-lo-callstat-figure {
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.1;
    color: var(--ios26-text);
}

.nz-lead26 .nz-lo-callstat-label {
    font-size: 11.5px;
    color: var(--ios26-muted);
    line-height: 1.3;
}

.nz-lead26 .nz-lo-callstat.is-danger .nz-lo-callstat-figure {
    color: #f5325c;
}

body.color-1E202D .nz-lead26 .nz-lo-callstat.is-danger .nz-lo-callstat-figure {
    color: #ff7b96;
}

/* the one line that says what happens next */
.nz-lead26 .nz-lo-callnext {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;

    margin-top: 12px;
    padding: 11px 14px;

    border-radius: var(--ios26-radius);
    background: rgba(22, 114, 185, .10);
    color: #11557f;
    font-size: 13px;
}

body.color-1E202D .nz-lead26 .nz-lo-callnext {
    background: rgba(91, 156, 226, .16);
    color: #cfe3f7;
}

.nz-lead26 .nz-lo-callnext.is-empty {
    background: var(--ios26-fill);
    color: var(--ios26-muted);
}

body.color-1E202D .nz-lead26 .nz-lo-callnext.is-empty {
    background: var(--ios26-fill);
    color: var(--ios26-muted);
}

.nz-lead26 .nz-lo-callnext-action {
    font-weight: 700;
    color: var(--ios26-accent);
    text-decoration: none;
    cursor: pointer;
}

.nz-lead26 .nz-lo-callnext-action:hover {
    color: var(--ios26-accent-strong);
    text-decoration: underline;
}

/* how the calls went: one stacked bar plus a legend that carries the
   counts, so the bar itself needs no labels */
.nz-lead26 .nz-lo-outcomes {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--ios26-hairline);
}

.nz-lead26 .nz-lo-outcomes-title {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--ios26-muted);
    margin-bottom: 9px;
}

.nz-lead26 .nz-lo-outcomes-bar {
    display: flex;
    height: 10px;
    border-radius: var(--ios26-pill);
    overflow: hidden;
    background: var(--ios26-fill);
}

.nz-lead26 .nz-lo-outcomes-seg {
    height: 100%;
    min-width: 3px;
}

.nz-lead26 .nz-lo-outcomes-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 11px;
}

.nz-lead26 .nz-lo-outcomes-legend .nz-lo-chip b {
    font-weight: 700;
}

.nz-lead26 .nz-lo-callsummary {
    margin-bottom: 4px;
}

/* the calls card's own filter strip sits under its header, so it gives
   up the rounded top edge a free-standing tab bar draws */
.nz-lead26 #lead-calls-card > .nav-tabs.title {
    border-radius: 0 !important;
    background: transparent !important;
    border-top: 1px solid var(--ios26-hairline);
    padding-left: 6px;
    padding-right: 6px;
}

/* ================================================ the key-facts list ===
   An iOS grouped list: icon + label on the left, value on the right.
   `is-block` puts the value on its own line — an address or a long
   custom-field answer is a paragraph, not a right-aligned line.
   ===================================================================== */

.nz-lead26 .nz-lo-meta {
    display: flex;
    flex-direction: column;
}

.nz-lead26 .nz-lo-meta-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;

    padding: 10px 0;
    border-bottom: 1px solid var(--ios26-hairline);
    font-size: 13px;
}

.nz-lead26 .nz-lo-meta-row:last-child {
    border-bottom: 0;
}

.nz-lead26 .nz-lo-meta-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    color: var(--ios26-muted);
    font-weight: 600;
}

.nz-lead26 .nz-lo-meta-label i {
    font-size: 13px;
    width: 16px;
    text-align: center;
}

.nz-lead26 .nz-lo-meta-value {
    flex: 1 1 auto;
    min-width: 0;
    text-align: right;
    color: var(--ios26-text);
    word-break: break-word;
}

.nz-lead26 .nz-lo-meta-row.is-block {
    flex-direction: column;
    gap: 6px;
}

.nz-lead26 .nz-lo-meta-row.is-block .nz-lo-meta-value {
    text-align: left;
    width: 100%;
}

/* the inline editors keep looking like values, not like links */
.nz-lead26 .nz-lo-meta-value a {
    color: var(--ios26-text);
    text-decoration: none;
    border-bottom: 1px dashed var(--ios26-hairline-strong);
}

.nz-lead26 .nz-lo-meta-value a:hover {
    color: var(--ios26-accent);
    border-bottom-color: var(--ios26-accent);
}

.nz-lead26 .nz-lo-meta-value .badge {
    padding: 4px 10px;
    font-size: 11.5px;
    font-weight: 600;
}

.nz-lead26 .nz-lo-meta-value .avatar img {
    width: 18px;
    height: 18px;
    border-radius: 50%;
}

/* =========================================== the call form (a modal) ===
   Not scoped to .nz-lead26: a modal is rendered at the end of <body>,
   outside the page wrapper. `.nz-callform` is its own scope.
   ===================================================================== */

.nz-callform .nz-callform-title {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--ios26-text);
}

.nz-callform .nz-callform-lede {
    margin: 0 0 20px;
    font-size: 13px;
    color: var(--ios26-muted);
}

/* one idea per step, numbered — a form of this length read as a wall
   otherwise */
.nz-callform .nz-callform-step {
    padding: 16px 0 4px;
    border-top: 1px solid var(--ios26-hairline);
}

.nz-callform .nz-callform-step:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.nz-callform .nz-callform-step-head {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 14px;
}

.nz-callform .nz-callform-step-no {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    border-radius: 50%;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: var(--ios26-accent);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.nz-callform .nz-callform-step-title {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--ios26-text);
    line-height: 1.3;
}

.nz-callform .nz-callform-step-help {
    display: block;
    font-size: 12px;
    color: var(--ios26-muted);
    line-height: 1.4;
}

/* the radio "chips" — a segmented control rather than a row of dots */
.nz-callform .nz-callform-choices {
    display: flex;
    gap: 7px;
}

.nz-callform .nz-callform-choices.is-wrap {
    flex-wrap: wrap;
}

.nz-callform .nz-callform-choice {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    margin: 0;
    padding: 8px 13px;
    border-radius: var(--ios26-pill);

    border: 1px solid var(--ios26-hairline-strong);
    background: var(--ios26-surface-soft);
    color: var(--ios26-text);

    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color .15s var(--ios26-ease), background-color .15s var(--ios26-ease);
}

.nz-callform .nz-callform-choice input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.nz-callform .nz-callform-choice i {
    font-size: 13px;
    color: var(--ios26-muted);
}

.nz-callform .nz-callform-choice:hover {
    background: var(--ios26-fill-hover);
}

.nz-callform .nz-callform-choice.is-on {
    border-color: var(--nz-choice, var(--ios26-accent));
    background: var(--ios26-accent-soft);
    box-shadow: 0 0 0 3px var(--ios26-accent-ring);
}

.nz-callform .nz-callform-choice.is-on i {
    color: var(--nz-choice, var(--ios26-accent));
}

.nz-callform .nz-callform-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--nz-choice, var(--ios26-muted));
    display: inline-block;
}

/* where the booking is going to appear, said in words before it is
   saved — nobody should have to check Google to find out */
.nz-callform .nz-callform-calendars {
    margin-top: 6px;
    padding: 14px 16px;

    border: 1px solid var(--ios26-hairline);
    border-radius: var(--ios26-radius);
    background: var(--ios26-fill);
}

.nz-callform .nz-callform-calendars-head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--ios26-text);
    margin-bottom: 9px;
}

.nz-callform .nz-callform-calendars-head i {
    color: var(--ios26-accent);
}

.nz-callform .nz-callform-calendars ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nz-callform .nz-callform-calendars li {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 12.5px;
    color: var(--ios26-text);
}

.nz-callform .nz-callform-calendars li i {
    width: 16px;
    text-align: center;
    color: var(--ios26-muted);
}

.nz-callform .nz-callform-calendars-note {
    display: block;
    margin-top: 9px;
    font-size: 12px;
    color: var(--ios26-muted);
    line-height: 1.45;
}

.nz-callform .nz-callform-calendars.is-note {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    color: var(--ios26-muted);
}

.nz-callform .nz-callform-calendars.is-note i {
    color: var(--ios26-muted);
    font-size: 15px;
}

/* ================================================ the calls appTable ===*/

.nz-lead26 .nz-lc-subject {
    font-weight: 600;
    color: var(--ios26-text);
}

.nz-lead26 #lead-calls-table .badge {
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
}
