/* Safe Pathways onboarding walkthrough — scoped styles.
   Loaded globally from App.razor. All selectors are rooted under
   .full-wrap, .pill, .pill-pop, .done-card, or .scrim so nothing
   bleeds into the rest of the admin portal. */

:root {
    --sp-brand-hover: #8A5562;
    --sp-brand-active: #62313B;
    --sp-brand-tint-50: #F4E8EB;
    --sp-brand-tint-100: #E3D0D4;
    --sp-success-alt: #28A745;
    --sp-border: #E0E0E0;
    --sp-border-input: #CFCFCF;
    --sp-border-strong: #C7BDC0;
    --sp-fg-1: #1A1A1A;
    --sp-fg-2: #2B2B2B;
    --sp-fg-3: #666666;
    --sp-fg-muted: #767676;
    --sp-fg-disabled: #B9ABAF;
    --sp-shadow-brand: 0 3px 10px rgba(120, 40, 59, 0.30);
}

/* ==== Scrim ==== */
.scrim {
    position: fixed; inset: 0; background: rgba(26, 26, 26, 0.45);
    z-index: 1090; animation: sp-fade .2s ease;
}
@keyframes sp-fade { from { opacity: 0 } to { opacity: 1 } }

/* ==== Modal wrap (completion card) ==== */
.modal-wrap {
    position: fixed; inset: 0; z-index: 1100;
    display: flex; align-items: center; justify-content: center;
    pointer-events: none;
}
.modal-wrap > * { pointer-events: auto; }
.modal-wrap .modal {
    background: #fff; border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .28), 0 0 0 1px rgba(0, 0, 0, .04);
    display: grid; overflow: hidden;
    animation: sp-modal-in .24s cubic-bezier(.2, .9, .25, 1.05);
}
@keyframes sp-modal-in {
    from { opacity: 0; transform: translateY(10px) scale(.98); }
    to   { opacity: 1; transform: none; }
}

/* ==== Full-screen wizard ==== */
.full-wrap {
    position: fixed; inset: 0; z-index: 1100;
    background: linear-gradient(180deg, #FFF5F5 0%, #FFFFFF 60%);
    display: flex; flex-direction: column;
    animation: sp-fade .2s ease;
    font-family: 'Manrope', sans-serif;
    color: var(--sp-fg-2);
}
.full-wrap * { box-sizing: border-box; }
.full-wrap button { font-family: inherit; cursor: pointer; }

.full-wrap .full-body {
    flex: 1; display: grid; grid-template-columns: 380px 1fr;
    overflow: hidden;
}
.full-wrap .full-side {
    background: linear-gradient(180deg, #FDF7F8 0%, #F8F7FA 100%);
    border-right: 1px solid var(--sp-border);
    padding: 40px 36px;
    overflow-y: auto;
}
.full-wrap .full-main {
    padding: 0 0 0 0;
    overflow-y: auto;
    display: flex; flex-direction: column;
}

.full-wrap .wiz-side .eyebrow {
    font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em;
    color: var(--sp-brand-primary); margin-bottom: 8px;
}
.full-wrap .wiz-side h3 {
    font-family: 'Literata', serif; font-size: 20pt; font-weight: 600;
    margin: 0 0 4px; color: var(--sp-fg-1); line-height: 1.15;
}
.full-wrap .wiz-side .sub {
    font-size: 12.5px; color: var(--sp-fg-3); line-height: 1.45; margin-bottom: 22px;
}

.full-wrap .side-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.full-wrap .side-step {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 10px; border-radius: 6px;
    cursor: pointer; font-size: 13px; color: var(--sp-fg-2);
    transition: background .12s;
}
.full-wrap .side-step:hover { background: #fff; }
.full-wrap .side-step.cur { background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .06); font-weight: 600; color: var(--sp-fg-1); }
.full-wrap .side-step .num {
    width: 22px; height: 22px; border-radius: 50%; background: #E5DDE0;
    color: var(--sp-brand-primary); font-size: 11px; font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center; flex: none;
}
.full-wrap .side-step.cur .num { background: var(--sp-brand-primary); color: #fff; }
.full-wrap .side-step.done .num { background: var(--sp-success-alt); color: #fff; }
.full-wrap .side-step.skipped .num { background: #F4B740; color: #1A1A1A; }
.full-wrap .side-step.done { color: var(--sp-fg-3); }
.full-wrap .side-step.skipped { color: var(--sp-fg-3); }
.full-wrap .side-step .num .material-icons { font-size: 14px; }

/* Progress numbered */
.full-wrap .prog-num { display: flex; align-items: center; padding: 14px 32px 0; gap: 0; }
.full-wrap .prog-num .p-step { display: flex; align-items: center; flex: 1; }
.full-wrap .prog-num .p-step:last-child { flex: none; }
.full-wrap .prog-num .p-circ {
    width: 24px; height: 24px; flex: none; border-radius: 50%; border: 2px solid #E5DDE0;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 700; color: var(--sp-fg-disabled); background: #fff;
}
.full-wrap .prog-num .p-step.done .p-circ { background: var(--sp-brand-primary); border-color: var(--sp-brand-primary); color: #fff; }
.full-wrap .prog-num .p-step.skipped .p-circ { background: #F4B740; border-color: #F4B740; color: #1A1A1A; }
.full-wrap .prog-num .p-step.cur .p-circ { border-color: var(--sp-brand-primary); color: var(--sp-brand-primary); box-shadow: 0 0 0 4px rgba(120, 40, 59, .12); }
.full-wrap .prog-num .p-line { flex: 1; height: 2px; background: #E5DDE0; margin: 0 4px; }
.full-wrap .prog-num .p-step.done .p-line { background: var(--sp-brand-primary); }
.full-wrap .prog-num .p-step.skipped .p-line { background: #F4B740; }

/* Header */
.full-wrap .wiz-header { padding: 26px 32px 0; position: relative; }
.full-wrap .wiz-header .step-meta {
    font-size: 11px; color: var(--sp-fg-muted); letter-spacing: .06em; text-transform: uppercase; font-weight: 700; margin-bottom: 6px;
}
.full-wrap .wiz-header h2 { font-family: 'Literata', serif; font-size: 22pt; font-weight: 600; margin: 0; color: var(--sp-fg-1); line-height: 1.12; }
.full-wrap .wiz-header .blurb { color: var(--sp-fg-3); font-size: 13.5px; margin-top: 10px; max-width: 56ch; line-height: 1.55; }
.full-wrap .wiz-x {
    position: absolute; top: 18px; right: 18px;
    background: transparent; border: none; border-radius: 50%;
    width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center;
    color: var(--sp-fg-3);
}
.full-wrap .wiz-x:hover { background: rgba(0, 0, 0, .06); color: var(--sp-fg-1); }
.full-wrap .wiz-x .material-icons { font-size: 20px; }

/* Content + footer */
.full-wrap .wiz-content { padding: 22px 32px; flex: 1; }
.full-wrap .wiz-foot {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 22px 18px 32px; border-top: 1px solid var(--sp-border); background: #FCFBFB;
}
.full-wrap .wiz-foot .foot-left { color: var(--sp-fg-3); font-size: 12px; }
.full-wrap .wiz-foot .foot-right { display: flex; gap: 8px; align-items: center; }

/* ==== Buttons ==== */
.full-wrap .btn, .modal-wrap .btn, .pill-pop .btn, .done-card .btn {
    background: var(--sp-brand-primary); color: #fff; border: none; border-radius: 4px;
    padding: 9px 16px; font-weight: 500; font-size: 13px; cursor: pointer;
    display: inline-flex; align-items: center; gap: 6px; transition: background .15s;
    font-family: 'Manrope', sans-serif;
}
.full-wrap .btn:hover, .modal-wrap .btn:hover, .pill-pop .btn:hover, .done-card .btn:hover { background: var(--sp-brand-hover); }
.full-wrap .btn:active, .modal-wrap .btn:active, .done-card .btn:active { background: var(--sp-brand-active); }
.full-wrap .btn:disabled { background: var(--sp-fg-disabled); cursor: not-allowed; }
.full-wrap .btn.ghost, .done-card .btn.ghost { background: transparent; color: var(--sp-brand-primary); border: 1px solid var(--sp-brand-primary); }
.full-wrap .btn.ghost:hover, .done-card .btn.ghost:hover { background: var(--sp-brand-tint-50); }
.full-wrap .btn.text { background: transparent; color: var(--sp-fg-3); border: none; padding: 9px 10px; }
.full-wrap .btn.text:hover { color: var(--sp-fg-1); background: rgba(0, 0, 0, .04); }
.full-wrap .btn.sm, .done-card .btn.sm { padding: 6px 12px; font-size: 12px; }

/* ==== Step content blocks ==== */
.full-wrap .field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.full-wrap .field label { font-size: 12px; color: var(--sp-fg-muted); font-weight: 600; letter-spacing: .02em; }
.full-wrap .field input, .full-wrap .field select, .full-wrap .field textarea {
    height: 40px; padding: 0 12px; border: 1px solid var(--sp-border-input); border-radius: 4px;
    font-size: 14px; font-family: 'Manrope', sans-serif; background: #fff; color: var(--sp-fg-2);
}
.full-wrap .field textarea { height: auto; padding: 10px 12px; }
.full-wrap .field input:focus, .full-wrap .field select:focus, .full-wrap .field textarea:focus {
    outline: none; border-color: var(--sp-brand-primary); box-shadow: 0 0 0 3px rgba(120, 40, 59, .12);
}
.full-wrap .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.full-wrap .team-row {
    display: grid; grid-template-columns: 1.2fr 1.5fr .8fr auto;
    gap: 8px; margin-bottom: 8px; align-items: center;
}
.full-wrap .team-row input, .full-wrap .team-row select {
    height: 38px; padding: 0 12px; border: 1px solid var(--sp-border-input); border-radius: 4px;
    font-size: 14px; font-family: 'Manrope', sans-serif; background: #fff; color: var(--sp-fg-2);
}

.full-wrap .pick-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.full-wrap .pick {
    border: 1px solid var(--sp-border); border-radius: 8px; padding: 12px 14px;
    cursor: pointer; background: #fff; display: flex; gap: 10px; align-items: flex-start;
    transition: all .15s;
}
.full-wrap .pick:hover { border-color: var(--sp-brand-primary); background: var(--sp-brand-tint-50); }
.full-wrap .pick.on { border-color: var(--sp-brand-primary); box-shadow: 0 0 0 2px var(--sp-brand-primary) inset; background: #fff; }
.full-wrap .pick .check {
    width: 20px; height: 20px; border-radius: 4px; border: 1.5px solid var(--sp-border-strong);
    display: inline-flex; align-items: center; justify-content: center; flex: none;
    background: #fff; margin-top: 2px; color: #fff;
}
.full-wrap .pick.on .check { background: var(--sp-brand-primary); border-color: var(--sp-brand-primary); }
.full-wrap .pick.on .check .material-icons { font-size: 15px; }
.full-wrap .pick .ptitle { font-weight: 600; color: var(--sp-fg-1); font-size: 13.5px; display: block; margin-bottom: 2px; }
.full-wrap .pick .pdesc { font-size: 12px; color: var(--sp-fg-3); line-height: 1.45; }

.full-wrap .chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.full-wrap .chip {
    padding: 6px 12px; border-radius: 20px; border: 1px solid var(--sp-border);
    background: #fff; font-size: 12.5px; color: var(--sp-fg-2); display: inline-flex; align-items: center; gap: 6px;
    cursor: pointer;
}
.full-wrap .chip:hover { border-color: var(--sp-brand-primary); color: var(--sp-brand-primary); }
.full-wrap .chip.on { background: var(--sp-brand-primary); color: #fff; border-color: var(--sp-brand-primary); }
.full-wrap .chip .material-icons { font-size: 15px; }

.full-wrap .drop-zone {
    border: 1.5px dashed var(--sp-border-strong); border-radius: 8px;
    padding: 24px; text-align: center; color: var(--sp-fg-3); background: #FCFAFB;
    cursor: pointer; transition: all .15s;
}
.full-wrap .drop-zone:hover { border-color: var(--sp-brand-primary); background: var(--sp-brand-tint-50); color: var(--sp-brand-primary); }
.full-wrap .drop-zone .material-icons { font-size: 32px; color: var(--sp-brand-primary); }

.full-wrap .assign-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: center;
    padding: 10px 12px; border: 1px solid var(--sp-border); border-radius: 6px; background: #fff;
    margin-bottom: 8px;
}
.full-wrap .assign-row .m-name { font-weight: 600; color: var(--sp-fg-1); font-size: 13px; display: flex; align-items: center; gap: 8px; }
.full-wrap .assign-row .m-name .material-icons { color: var(--sp-brand-primary); font-size: 18px; }
.full-wrap .assign-row select {
    height: 34px; padding: 0 10px; border: 1px solid var(--sp-border-input); border-radius: 4px;
    font-size: 13px; background: #fff;
}

.full-wrap .hint { font-size: 12px; color: var(--sp-fg-3); margin-top: 8px; }
.full-wrap .reflink { color: var(--sp-brand-primary); font-weight: 600; cursor: pointer; }
.full-wrap .reflink:hover { text-decoration: underline; }

/* ==== Completion card ==== */
.done-card {
    background: linear-gradient(180deg, #FFF5F5 0%, #FFFFFF 100%);
    border: 1px solid var(--sp-brand-tint-100);
    border-radius: 12px; padding: 32px;
    text-align: center;
    font-family: 'Manrope', sans-serif;
    color: var(--sp-fg-2);
}
.done-card .tick {
    width: 68px; height: 68px; border-radius: 50%;
    background: var(--sp-success-alt); color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    margin: 0 auto 14px;
}
.done-card .tick .material-icons { font-size: 40px; }
.done-card h3 { font-family: 'Literata', serif; font-size: 26pt; font-weight: 600; margin: 0 0 6px; color: var(--sp-fg-1); }
.done-card p { color: var(--sp-fg-3); font-size: 14px; max-width: 46ch; margin: 0 auto; line-height: 1.55; }

/* ==== Pill widget ==== */
.pill {
    position: fixed; right: 24px; bottom: 24px; z-index: 1080;
    background: var(--sp-brand-primary); color: #fff;
    border-radius: 40px;
    padding: 10px 16px 10px 12px;
    display: flex; align-items: center; gap: 10px;
    box-shadow: var(--sp-shadow-brand);
    cursor: pointer;
    transition: background .15s, box-shadow .15s;
    border: none; font-family: 'Manrope', sans-serif;
}
.pill:hover { background: var(--sp-brand-hover); box-shadow: 0 6px 18px rgba(120, 40, 59, .38); }
.pill .ring { position: relative; width: 34px; height: 34px; flex: none; }
.pill .ring svg { transform: rotate(-90deg); }
.pill .ring .num {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 700; color: #fff;
}
.pill .plbl { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.pill .plbl .t { font-weight: 600; font-size: 13px; }
.pill .plbl .s { font-size: 11px; opacity: .85; }
.pill .material-icons { font-size: 18px; margin-left: 4px; }

.pill-pop {
    position: fixed; right: 24px; bottom: 88px; z-index: 1081;
    width: 360px; background: #fff; border: 1px solid var(--sp-border); border-radius: 12px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, .18);
    overflow: hidden; font-family: 'Manrope', sans-serif;
    animation: sp-pop-in .18s ease-out;
}
@keyframes sp-pop-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.pill-pop .ptop {
    background: linear-gradient(180deg, var(--sp-brand-primary) 0%, var(--sp-brand-active) 100%);
    color: #fff; padding: 16px 18px;
}
.pill-pop .ptop h4 { margin: 0; font-family: 'Literata', serif; font-size: 17pt; font-weight: 600; }
.pill-pop .ptop .sub { margin-top: 2px; font-size: 12px; opacity: .88; }
.pill-pop .plist { padding: 6px 0; max-height: 340px; overflow-y: auto; }
.pill-pop .pitem {
    display: flex; align-items: center; gap: 10px; padding: 10px 16px; cursor: pointer;
    font-size: 13px; border-left: 3px solid transparent; color: var(--sp-fg-2);
}
.pill-pop .pitem:hover { background: #FAF6F7; }
.pill-pop .pitem.cur { background: #FAF6F7; border-left-color: var(--sp-brand-primary); font-weight: 600; }
.pill-pop .pitem .st {
    width: 22px; height: 22px; border-radius: 50%; background: #E5DDE0; color: var(--sp-brand-primary);
    font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: none;
}
.pill-pop .pitem.done .st { background: var(--sp-success-alt); color: #fff; }
.pill-pop .pitem.skipped .st { background: #F4B740; color: #1A1A1A; }
.pill-pop .pitem.done { color: var(--sp-fg-3); }
.pill-pop .pitem.skipped { color: var(--sp-fg-3); }
.pill-pop .pitem .material-icons { font-size: 14px; }
.pill-pop .pbottom {
    border-top: 1px solid var(--sp-border); padding: 10px 14px;
    display: flex; justify-content: space-between; align-items: center; background: #FCFAFB;
}
.pill-pop .pbottom button {
    background: none; border: none; color: var(--sp-fg-3); font-size: 12px;
    cursor: pointer; padding: 4px 8px; border-radius: 4px; font-family: 'Manrope', sans-serif;
}
.pill-pop .pbottom button:hover { color: var(--sp-fg-1); background: rgba(0, 0, 0, .04); }
.pill-pop .pbottom .primary { color: var(--sp-brand-primary); font-weight: 600; }

/* ==== Optional-step badge — used in the rail, popover list, and step header ==== */
.opt-badge {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 10px;
    background: #EFEBED;
    color: var(--sp-fg-muted);
    font-size: 9.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    line-height: 1.4;
    white-space: nowrap;
    flex: none;
}
.full-wrap .side-step.cur .opt-badge,
.full-wrap .side-step.done .opt-badge { background: #E5DDE0; }
.pill-pop .pitem .opt-badge { margin-right: 4px; }
.full-wrap .wiz-header .opt-badge { background: var(--sp-brand-tint-50); color: var(--sp-brand-primary); }

/* row3 grid for church-profile address line */
.full-wrap .row3 { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 12px; }

/* Team row — 3 cols (first / last / email) + optional remove button */
.full-wrap .team-row-3 {
    display: grid;
    grid-template-columns: 200px 200px minmax(280px, 1fr) 112px 40px;
    gap: 8px; margin-bottom: 8px; align-items: center;
}

.full-wrap .team-invite {
    background: #fff;
    border: 1px solid var(--sp-border);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
}

.full-wrap .team-row-3 select {
    height: 36px;
    padding: 0 10px;
    border: 1px solid var(--sp-border-input);
    border-radius: 4px;
    font-size: 13px;
    font-family: 'Manrope', sans-serif;
    background: #fff;
    color: var(--sp-fg-2);
}

.full-wrap .capability-reference {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--sp-border);
}

.full-wrap .capability-reference-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--sp-fg-1);
    margin-bottom: 8px;
}

.full-wrap .capability-reference .cap-compare-table {
    min-width: min(100%, 520px);
}

/* Reference-question read-only list (step 5) */
.full-wrap .ref-list {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-direction: column; gap: 6px;
}
.full-wrap .ref-list li {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 14px; border: 1px solid var(--sp-border, #E0E0E0);
    border-radius: 6px; background: #fff;
    font-size: 13px; color: var(--sp-fg-1, #1A1A1A);
}
.full-wrap .ref-list .ref-n {
    min-width: 22px; height: 22px; flex: none;
    border-radius: 50%; background: var(--sp-brand-tint-50, #F4E8EB);
    color: var(--sp-brand-primary, #78283B);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 700;
}
.full-wrap .ref-list .ref-q { flex: 1; line-height: 1.45; }

/* InputFile lives inside the drop-zone label but needs to be visually hidden */
.full-wrap .drop-zone input[type="file"] { position: absolute; opacity: 0; pointer-events: none; }

/* ==== Rail section headings ==== */
.full-wrap .side-section {
    list-style: none;
    font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
    color: var(--sp-fg-muted); padding: 18px 10px 6px;
    cursor: default;
}
.full-wrap .side-section:first-child { padding-top: 4px; }
.full-wrap .side-section:hover { background: transparent; }

/* Pill popover section group label */
.pill-pop .pgroup {
    font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
    color: var(--sp-fg-muted);
    padding: 10px 16px 4px;
    background: #FCFAFB;
}

/* ==== Help button in step header (KB / HubSpot) ==== */
.full-wrap .wiz-help-btn {
    display: inline-flex; align-items: center; gap: 12px;
    margin-top: 14px; padding: 12px 16px;
    border: 1px solid var(--sp-brand-tint-100);
    border-radius: 8px;
    background: var(--sp-brand-tint-50);
    color: var(--sp-brand-primary);
    text-decoration: none;
    transition: background .15s, border-color .15s, transform .05s;
    max-width: 56ch;
}
.full-wrap .wiz-help-btn:hover {
    background: var(--sp-brand-tint-100);
    border-color: var(--sp-brand-primary);
    color: var(--sp-brand-active);
}
.full-wrap .wiz-help-btn:active { transform: translateY(1px); }
.full-wrap .wiz-help-btn > .material-icons { font-size: 26px; flex: 0 0 auto; }
.full-wrap .wiz-help-btn .wiz-help-text { display: flex; flex-direction: column; line-height: 1.25; flex: 1 1 auto; }
.full-wrap .wiz-help-btn .wiz-help-title { font-size: 14px; font-weight: 600; }
.full-wrap .wiz-help-btn .wiz-help-sub { font-size: 12px; color: var(--sp-fg-3); margin-top: 2px; }
.full-wrap .wiz-help-btn .wiz-help-arrow { font-size: 18px; flex: 0 0 auto; opacity: .7; }

/* ==== Launcher card (steps that hand off to a full admin page) ==== */
.full-wrap .launcher {
    background: linear-gradient(180deg, #FFF8F9 0%, #FFFFFF 100%);
    border: 1px solid var(--sp-brand-tint-100);
    border-radius: 8px;
    padding: 22px 24px;
    display: flex; flex-direction: column; gap: 14px; align-items: flex-start;
}
.full-wrap .launcher .launcher-body {
    margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--sp-fg-2);
    max-width: 60ch;
}
.full-wrap .launcher .hint { margin-top: 4px; }

/* ==== Responsive — collapse rail and tighten layout on narrow viewports ==== */
@media (max-width: 900px) {
    .full-wrap .full-body { grid-template-columns: 1fr; }
    .full-wrap .full-side { display: none; }
    /* Pill: trim secondary label so it doesn't overrun the viewport */
    .pill .plbl .s { display: none; }
}

@media (max-width: 600px) {
    .pill { right: 12px; bottom: 12px; padding: 8px 12px; }
    .pill-pop { right: 12px; left: 12px; width: auto; bottom: 76px; }
    .full-wrap .wiz-content,
    .full-wrap .wiz-header { padding-left: 16px; padding-right: 16px; }
    .full-wrap .wiz-foot { padding: 12px 16px; flex-wrap: wrap; gap: 8px; }
    .full-wrap .wiz-help-btn { max-width: 100%; }
    .full-wrap .team-row-3 { grid-template-columns: 1fr; }
}
