﻿/* PLACE AT: WorldScholarArena.Backend/wwwroot/academy/css/cq.css   (new file) */
/* WSA Custom Courses: public page and quotation builder, tracking page, sign-in, customer portal, admin console. Loaded after academy.css. Nothing here is wider than its container, so no page scrolls sideways. */
.cq {
    --em: #0b4a38;
    --emd: #06281e;
    --em3: #0f5c45;
    --gold: #b8891a;
    --gold2: #e5c765;
    --ink: #1d2a26;
    --ink2: #44534d;
    --mut: #55645e;
    --line: #d9d0b4;
    --line2: #e9e2cb;
    --tint: #eef5f1;
    --cream: #fbf6e6;
    --card: #fffdf7;
    --red: #a33a2f;
    --grn: #1f7a5c;
    margin: 0;
    background: #fbf8f0;
    color: var(--ink);
    font: 16px/1.6 system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: clip
}

    .cq * {
        box-sizing: border-box
    }

    .cq img {
        max-width: 100%
    }

    .cq h1, .cq h2, .cq h3 {
        font-family: Georgia,"Times New Roman",serif;
        color: var(--em);
        line-height: 1.2;
        text-wrap: balance;
        margin: 0
    }

    .cq #app {
        flex: 1;
        display: flex;
        flex-direction: column;
        min-width: 0
    }

.q-top {
    background: linear-gradient(180deg,#06281e,#0b4a38);
    border-bottom: 3px solid var(--gold);
    position: sticky;
    top: 0;
    z-index: 30
}

    .q-top .in {
        max-width: 1180px;
        margin: 0 auto;
        padding: 8px 16px;
        display: flex;
        align-items: center;
        gap: 12px;
        flex-wrap: wrap;
        min-height: 62px
    }

.q-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    min-width: 0
}

    .q-brand img {
        height: 40px;
        width: auto;
        border-radius: 8px;
        background: #fff;
        padding: 2px
    }

    .q-brand b {
        display: block;
        font: 700 16px/1.15 Georgia,serif
    }

    .q-brand small {
        display: block;
        font-size: 11px;
        letter-spacing: .14em;
        text-transform: uppercase;
        color: var(--gold2)
    }

.q-nav {
    margin-left: auto;
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap
}

    .q-nav a, .q-nav button {
        color: #fff;
        background: transparent;
        border: 1px solid transparent;
        border-radius: 8px;
        padding: 7px 11px;
        font: 600 14px system-ui,sans-serif;
        text-decoration: none;
        cursor: pointer;
        min-height: 38px
    }

        .q-nav a:hover, .q-nav button:hover, .q-nav .on {
            background: rgba(255,255,255,.14)
        }

    .q-nav .lang {
        border-color: rgba(255,255,255,.45)
    }

    .q-nav :focus-visible {
        outline: 3px solid var(--gold2);
        outline-offset: 2px
    }

.q-wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 22px 16px 48px;
    width: 100%;
    min-width: 0
}

.q-foot {
    background: #f3efe2;
    border-top: 1px solid var(--line);
    padding: 18px 16px;
    font-size: 12.5px;
    color: var(--mut)
}

    .q-foot .in {
        max-width: 1180px;
        margin: 0 auto;
        display: flex;
        gap: 14px;
        align-items: center;
        flex-wrap: wrap
    }

    .q-foot img {
        height: 54px;
        width: auto
    }

    .q-foot b {
        color: var(--em)
    }

.q-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 1px 2px rgba(11,74,56,.06),0 6px 22px rgba(11,74,56,.07);
    min-width: 0
}

.q-hero {
    background: linear-gradient(135deg,#06281e,#0b4a38 70%);
    color: #fff;
    border-radius: 16px;
    padding: 26px;
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 22px;
    align-items: center;
    border-bottom: 4px solid var(--gold)
}

    .q-hero h1 {
        color: #fff;
        font-size: clamp(24px,3.6vw,36px)
    }

    .q-hero p {
        margin: 8px 0 0;
        color: #e9f1ed;
        max-width: 62ch
    }

    .q-hero .k {
        font: 700 11px system-ui;
        letter-spacing: .2em;
        text-transform: uppercase;
        color: var(--gold2);
        margin-bottom: 6px
    }

.q-ring {
    width: 118px;
    height: 118px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: conic-gradient(var(--gold2) calc(var(--p)*1%),rgba(255,255,255,.16) 0);
    flex: none
}

    .q-ring > div {
        width: 92px;
        height: 92px;
        border-radius: 50%;
        background: #06281e;
        display: grid;
        place-items: center;
        text-align: center;
        font: 700 24px Georgia,serif;
        color: #fff;
        line-height: 1
    }

    .q-ring small {
        display: block;
        font: 600 10px system-ui;
        letter-spacing: .1em;
        color: var(--gold2);
        text-transform: uppercase;
        margin-top: 3px
    }

@media(max-width:640px) {
    .q-hero {
        grid-template-columns: 1fr
    }

    .q-ring {
        margin: 0 auto
    }
}

.q-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fill,minmax(250px,1fr))
}

.q-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0
}

.q-kpis {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit,minmax(140px,1fr))
}

.q-kpi {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px
}

    .q-kpi .v {
        font: 700 26px Georgia,serif;
        color: var(--em)
    }

    .q-kpi .l {
        font-size: 12px;
        letter-spacing: .08em;
        text-transform: uppercase;
        color: var(--mut)
    }

.q-track {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--card);
    overflow: hidden
}

    .q-track > header {
        background: var(--tint);
        padding: 14px 18px;
        display: flex;
        gap: 12px;
        align-items: center;
        flex-wrap: wrap;
        border-bottom: 1px solid var(--line)
    }

        .q-track > header h2 {
            font-size: 20px;
            flex: 1;
            min-width: 200px
        }

        .q-track > header p {
            margin: 2px 0 0;
            font-size: 14px;
            color: var(--ink2);
            flex-basis: 100%
        }

    .q-track .body {
        padding: 16px 18px
    }

    .q-track.locked {
        opacity: .72
    }

.q-mod {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    text-decoration: none;
    color: var(--ink);
    overflow: hidden;
    min-width: 0;
    transition: box-shadow .15s,transform .15s
}

    .q-mod:hover {
        box-shadow: 0 8px 22px rgba(11,74,56,.16);
        transform: translateY(-2px)
    }

    .q-mod:focus-visible {
        outline: 3px solid var(--gold);
        outline-offset: 2px
    }

    .q-mod .pic {
        height: 92px;
        background: linear-gradient(135deg,#0b4a38,#1f7a5c);
        display: grid;
        place-items: center;
        overflow: hidden
    }

        .q-mod .pic img {
            height: 76px;
            width: auto;
            border-radius: 8px;
            object-fit: contain
        }

    .q-mod .tx {
        padding: 12px 14px 14px;
        display: flex;
        flex-direction: column;
        gap: 6px;
        flex: 1
    }

    .q-mod .n {
        font: 700 11px system-ui;
        letter-spacing: .14em;
        text-transform: uppercase;
        color: var(--gold)
    }

    .q-mod h3 {
        font-size: 17px
    }

    .q-mod p {
        margin: 0;
        font-size: 13.5px;
        color: var(--ink2);
        flex: 1
    }

.q-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 999px;
    padding: 3px 10px;
    font: 700 12px system-ui;
    background: var(--line2);
    color: var(--ink2);
    white-space: nowrap
}

    .q-pill.ok {
        background: #dcefe5;
        color: #145a43
    }

    .q-pill.warn {
        background: #fbf0cf;
        color: #7d5a0b
    }

    .q-pill.bad {
        background: #f6d9d4;
        color: #8a2f25
    }

    .q-pill.dark {
        background: var(--em);
        color: #fff
    }

.q-bar {
    height: 8px;
    border-radius: 99px;
    background: var(--line2);
    overflow: hidden;
    min-width: 60px
}

    .q-bar > i {
        display: block;
        height: 100%;
        background: linear-gradient(90deg,var(--em),var(--grn));
        border-radius: 99px
    }

.q-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 20px;
    border-radius: 9px;
    border: 1.5px solid var(--gold);
    background: var(--gold);
    color: #1a1405;
    font: 700 15px system-ui,sans-serif;
    text-decoration: none;
    cursor: pointer
}

    .q-btn:hover {
        background: var(--gold2)
    }

    .q-btn.em {
        background: var(--em);
        border-color: var(--em);
        color: #fff
    }

        .q-btn.em:hover {
            background: var(--em3)
        }

    .q-btn.line {
        background: transparent;
        border-color: var(--em);
        color: var(--em)
    }

        .q-btn.line:hover {
            background: var(--tint)
        }

    .q-btn.sm {
        min-height: 34px;
        padding: 5px 12px;
        font-size: 13px
    }

    .q-btn.danger {
        background: var(--red);
        border-color: var(--red);
        color: #fff
    }

    .q-btn[disabled] {
        opacity: .55;
        cursor: not-allowed
    }

    .q-btn:focus-visible {
        outline: 3px solid var(--gold2);
        outline-offset: 2px
    }

.q-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center
}

.q-note {
    border-left: 4px solid var(--gold);
    background: var(--cream);
    padding: 10px 14px;
    border-radius: 0 8px 8px 0;
    font-size: 15px
}

    .q-note.ok {
        border-color: var(--grn);
        background: #eaf5ef
    }

    .q-note.bad {
        border-color: var(--red);
        background: #fbeceb
    }

.q-sub {
    color: var(--ink2);
    margin: 6px 0 0
}

.q-mut {
    color: var(--mut);
    font-size: 13.5px
}
/* forms and tables */
.cq .fld {
    margin: 0 0 14px;
    min-width: 0
}

    .cq .fld label {
        display: block;
        font: 700 13.5px system-ui;
        color: var(--ink2);
        margin-bottom: 5px
    }

    .cq .fld input, .cq .fld select, .cq .fld textarea {
        width: 100%;
        min-height: 44px;
        padding: 9px 12px;
        border: 1.5px solid #8a8470;
        border-radius: 9px;
        font: 16px system-ui;
        background: #fff;
        color: var(--ink)
    }

    .cq .fld textarea {
        min-height: 84px
    }

        .cq .fld input:focus, .cq .fld select:focus, .cq .fld textarea:focus {
            outline: 3px solid var(--gold2);
            border-color: var(--em)
        }

.cq .hint {
    font-size: 12.5px;
    color: var(--mut);
    margin-top: 4px
}

.cq .err {
    color: var(--red);
    font-weight: 700;
    min-height: 0;
    margin: 6px 0
}

.q-form {
    display: grid;
    gap: 0 14px;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr))
}

    .q-form .full {
        grid-column: 1/-1
    }

.q-auth {
    max-width: 600px;
    margin: 30px auto 50px;
    padding: 0 16px;
    width: 100%
}

    .q-auth .q-card {
        padding: 28px
    }

    .q-auth h1 {
        font-size: 28px;
        margin-bottom: 6px
    }

.q-scroll {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    max-width: 100%
}

.q-table {
    border-collapse: collapse;
    width: 100%;
    font-size: 14px;
    min-width: 640px
}

    .q-table th {
        background: var(--em);
        color: #fff;
        text-align: left;
        padding: 9px 10px;
        font: 700 12.5px system-ui;
        letter-spacing: .04em;
        white-space: nowrap
    }

    .q-table td {
        padding: 9px 10px;
        border-top: 1px solid var(--line2);
        vertical-align: top;
        overflow-wrap: anywhere
    }

    .q-table tr:nth-child(even) td {
        background: #fbf8f0
    }

.q-tabs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin: 0 0 16px;
    border-bottom: 2px solid var(--line)
}

    .q-tabs a {
        padding: 9px 14px;
        border-radius: 9px 9px 0 0;
        text-decoration: none;
        color: var(--ink2);
        font: 700 14.5px system-ui
    }

        .q-tabs a.on {
            background: var(--em);
            color: #fff
        }

        .q-tabs a:hover:not(.on) {
            background: var(--tint)
        }

.q-checks {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

    .q-checks label {
        display: inline-flex;
        gap: 6px;
        align-items: center;
        border: 1.5px solid var(--line);
        border-radius: 9px;
        padding: 7px 11px;
        font: 600 14px system-ui;
        cursor: pointer;
        background: #fff
    }

    .q-checks input {
        accent-color: var(--em);
        width: 17px;
        height: 17px
    }

.q-cert {
    border: 2px solid var(--gold);
    border-radius: 12px;
    padding: 14px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0
}

    .q-cert code {
        font: 700 13px ui-monospace,Menlo,Consolas,monospace;
        color: var(--em);
        overflow-wrap: anywhere
    }

@media print {
    .q-top, .q-foot, .q-nav, .noprint {
        display: none !important
    }
}

@media (prefers-reduced-motion:reduce) {
    .q-mod {
        transition: none
    }
}
/* phones: the header scrolls away so the lesson and the examination timer keep the screen */
@media(max-width:700px) {
    .q-top {
        position: static
    }

    .q-timer {
        top: 8px
    }

    .q-nav {
        margin-left: 0
    }
}

/* ---- public page */
.q-wide {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 16px;
    width: 100%;
    min-width: 0
}

.q-phero {
    background: linear-gradient(135deg,#06281e,#0b4a38 75%);
    color: #fff;
    border-bottom: 4px solid var(--gold)
}

    .q-phero .in {
        max-width: 1180px;
        margin: 0 auto;
        padding: 44px 16px 36px;
        display: grid;
        grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr);
        gap: 30px;
        align-items: center
    }

    .q-phero h1 {
        color: #fff;
        font-size: clamp(30px,4.6vw,50px);
        letter-spacing: -.01em
    }

    .q-phero .k {
        font: 700 12px system-ui;
        letter-spacing: .22em;
        text-transform: uppercase;
        color: var(--gold2);
        margin-bottom: 10px
    }

    .q-phero p {
        color: #e9f1ed;
        font-size: 18px;
        max-width: 58ch;
        margin: 14px 0 0
    }

    .q-phero img {
        width: 100%;
        height: auto;
        border-radius: 16px;
        border: 1px solid rgba(229,199,101,.4)
    }

    .q-phero .q-btn.line {
        color: #fff;
        border-color: var(--gold2)
    }

        .q-phero .q-btn.line:hover {
            background: rgba(255,255,255,.12)
        }

.q-trust {
    display: flex;
    gap: 8px 18px;
    flex-wrap: wrap;
    margin-top: 18px;
    font-size: 13.5px;
    color: var(--gold2)
}

    .q-trust span::before {
        content: "✓ ";
        color: #fff
    }

@media(max-width:860px) {
    .q-phero .in {
        grid-template-columns: 1fr;
        padding: 30px 16px
    }
}

.q-sec {
    padding: 44px 0 6px
}

    .q-sec > h2, .q-sec .q-wide > h2 {
        font-size: clamp(24px,3.2vw,34px)
    }

    .q-sec .lead {
        font-size: 17.5px;
        color: var(--ink2);
        max-width: 70ch;
        margin: 8px 0 20px
    }

.q-kick {
    font: 700 12px system-ui;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 6px
}

.q-inds {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fill,minmax(210px,1fr))
}

.q-ind {
    display: flex;
    flex-direction: column;
    text-align: left;
    border: 1.5px solid var(--line);
    border-radius: 14px;
    background: #fff;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    font: inherit;
    color: inherit;
    min-width: 0;
    transition: box-shadow .15s,transform .15s
}

    .q-ind:hover {
        box-shadow: 0 8px 22px rgba(11,74,56,.16);
        transform: translateY(-2px)
    }

    .q-ind:focus-visible {
        outline: 3px solid var(--gold);
        outline-offset: 2px
    }

    .q-ind[aria-pressed=true] {
        border-color: var(--em);
        box-shadow: 0 0 0 3px var(--gold2)
    }

    .q-ind img {
        width: 100%;
        height: auto;
        display: block;
        aspect-ratio: 320/220;
        background: var(--tint)
    }

    .q-ind b {
        display: block;
        font: 700 16px Georgia,serif;
        color: var(--em);
        padding: 10px 12px 0
    }

    .q-ind span {
        display: block;
        font-size: 13px;
        color: var(--ink2);
        padding: 4px 12px 12px
    }

.q-steps {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fill,minmax(230px,1fr))
}

.q-step {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
    min-width: 0
}

    .q-step img {
        width: 100%;
        height: auto;
        display: block;
        aspect-ratio: 320/220
    }

    .q-step div {
        padding: 12px 14px 14px
    }

    .q-step b {
        font: 700 16.5px Georgia,serif;
        color: var(--em);
        display: block
    }

    .q-step p {
        margin: 5px 0 0;
        font-size: 14px;
        color: var(--ink2)
    }

.q-packs {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit,minmax(260px,1fr))
}

.q-pack {
    border: 1.5px solid var(--line);
    border-radius: 16px;
    background: #fff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    position: relative
}

    .q-pack.top {
        border-color: var(--gold);
        box-shadow: 0 10px 30px rgba(184,137,26,.2)
    }

    .q-pack .tag {
        position: absolute;
        top: -12px;
        left: 18px;
        background: var(--gold);
        color: #1a1405;
        font: 700 11px system-ui;
        letter-spacing: .12em;
        text-transform: uppercase;
        padding: 4px 10px;
        border-radius: 99px
    }

    .q-pack h3 {
        font-size: 22px
    }

    .q-pack .for {
        font-size: 14px;
        color: var(--ink2);
        min-height: 42px
    }

    .q-pack .pr {
        font: 700 34px Georgia,serif;
        color: var(--em);
        line-height: 1.1
    }

        .q-pack .pr small {
            font: 600 13px system-ui;
            color: var(--mut);
            display: block;
            margin-top: 2px
        }

    .q-pack ul {
        margin: 6px 0 10px;
        padding-left: 20px;
        font-size: 14.5px;
        flex: 1
    }

    .q-pack li {
        margin: 4px 0
    }
/* ---- quotation builder */
.q-build {
    display: grid;
    grid-template-columns: minmax(0,1fr) 380px;
    gap: 20px;
    align-items: start
}

@media(max-width:980px) {
    .q-build {
        grid-template-columns: 1fr
    }
}

.q-sum {
    position: sticky;
    top: 78px;
    border: 2px solid var(--em);
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
    min-width: 0
}

@media(max-width:980px) {
    .q-sum {
        position: static
    }
}

.q-sum header {
    background: var(--emd);
    color: #fff;
    padding: 14px 16px
}

    .q-sum header small {
        font: 700 11px system-ui;
        letter-spacing: .16em;
        text-transform: uppercase;
        color: var(--gold2);
        display: block
    }

    .q-sum header b {
        font: 700 32px Georgia,serif;
        display: block;
        line-height: 1.15
    }

    .q-sum header span {
        font-size: 13px;
        color: #d6e4dd
    }

.q-sum .bd {
    padding: 12px 16px 16px
}

.q-sum .ln {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 5px 0;
    border-bottom: 1px dashed var(--line2);
    font-size: 13.5px
}

    .q-sum .ln span:last-child {
        white-space: nowrap;
        font-weight: 700;
        color: var(--em)
    }

    .q-sum .ln.g {
        border: 0;
        padding: 10px 0 2px;
        font: 700 11px system-ui;
        letter-spacing: .14em;
        text-transform: uppercase;
        color: var(--gold)
    }

    .q-sum .ln.t {
        border-bottom: 0;
        font-size: 15px
    }

        .q-sum .ln.t.big {
            font-size: 17px;
            border-top: 2px solid var(--gold);
            margin-top: 6px;
            padding-top: 9px
        }

    .q-sum .ln.off span:last-child {
        color: var(--grn)
    }

.q-fs {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--card);
    padding: 16px 18px 18px;
    margin: 0 0 16px;
    min-width: 0
}

    .q-fs legend, .q-fs > h3 {
        font: 700 19px Georgia,serif;
        color: var(--em);
        padding: 0 6px
    }

    .q-fs .n {
        display: inline-grid;
        place-items: center;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: var(--em);
        color: #fff;
        font: 700 14px system-ui;
        margin-right: 8px
    }

.q-opts {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fill,minmax(240px,1fr))
}

.q-opt {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    padding: 11px 12px;
    cursor: pointer;
    background: #fff;
    min-width: 0
}

    .q-opt:hover {
        border-color: var(--em)
    }

    .q-opt:has(input:checked) {
        border-color: var(--em);
        background: var(--tint)
    }

    .q-opt:has(input:focus-visible) {
        outline: 3px solid var(--gold2)
    }

    .q-opt input {
        margin-top: 3px;
        accent-color: var(--em);
        width: 18px;
        height: 18px;
        flex: none
    }

    .q-opt b {
        display: block;
        font-size: 15px;
        color: var(--ink)
    }

    .q-opt small {
        display: block;
        font-size: 12.5px;
        color: var(--ink2);
        margin-top: 2px
    }

    .q-opt .pr {
        display: block;
        font: 700 12.5px system-ui;
        color: var(--gold);
        margin-top: 4px
    }

.q-std {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(auto-fill,minmax(280px,1fr))
}

.q-num {
    display: flex;
    align-items: center;
    gap: 8px
}

    .q-num button {
        width: 44px;
        height: 44px;
        border-radius: 9px;
        border: 1.5px solid var(--em);
        background: #fff;
        color: var(--em);
        font: 700 20px system-ui;
        cursor: pointer
    }

    .q-num input {
        max-width: 110px;
        text-align: center
    }

.q-tier {
    display: inline-block;
    font: 700 11px system-ui;
    letter-spacing: .08em;
    text-transform: uppercase;
    border-radius: 99px;
    padding: 2px 8px;
    margin-left: 6px;
    background: var(--line2);
    color: var(--ink2)
}

    .q-tier.t2 {
        background: #fbf0cf;
        color: #7d5a0b
    }

    .q-tier.t3 {
        background: #f6d9d4;
        color: #8a2f25
    }
/* ---- fees, architecture, security */
.q-arch {
    display: grid;
    gap: 10px
}

    .q-arch .row {
        display: grid;
        gap: 10px;
        grid-template-columns: repeat(auto-fit,minmax(170px,1fr))
    }

    .q-arch .bx {
        border-radius: 12px;
        padding: 12px 14px;
        background: #fff;
        border: 1.5px solid var(--line);
        min-width: 0
    }

        .q-arch .bx b {
            display: block;
            color: var(--em);
            font: 700 15px Georgia,serif
        }

        .q-arch .bx span {
            font-size: 13px;
            color: var(--ink2)
        }

    .q-arch .lab {
        font: 700 11px system-ui;
        letter-spacing: .16em;
        text-transform: uppercase;
        color: var(--gold);
        margin: 8px 0 -2px
    }

    .q-arch .row.inv .bx {
        background: var(--emd);
        border-color: var(--emd)
    }

        .q-arch .row.inv .bx b {
            color: var(--gold2)
        }

        .q-arch .row.inv .bx span {
            color: #d6e4dd
        }

.q-arrow {
    text-align: center;
    color: var(--gold);
    font-size: 20px;
    line-height: 1
}

.q-secs {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit,minmax(240px,1fr))
}

.q-secc {
    border-radius: 14px;
    padding: 18px;
    background: var(--emd);
    color: #e9f1ed;
    min-width: 0
}

    .q-secc svg {
        width: 40px;
        height: 40px
    }

    .q-secc b {
        display: block;
        font: 700 18px Georgia,serif;
        color: #fff;
        margin: 8px 0 4px
    }

    .q-secc p {
        margin: 0;
        font-size: 14px
    }

.q-seal {
    display: flex;
    gap: 18px;
    align-items: center;
    flex-wrap: wrap;
    border: 2px solid var(--gold);
    border-radius: 16px;
    background: #fff;
    padding: 18px
}

    .q-seal img {
        width: 110px;
        height: 110px;
        flex: none
    }

    .q-seal code {
        font: 700 13px ui-monospace,Menlo,Consolas,monospace;
        color: var(--em);
        overflow-wrap: anywhere
    }

.q-faq details {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    padding: 0 16px;
    margin: 0 0 8px
}

.q-faq summary {
    cursor: pointer;
    font: 700 16px system-ui;
    color: var(--em);
    padding: 14px 0
}

.q-faq p {
    margin: 0 0 14px;
    color: var(--ink2)
}
/* ---- timeline and money tables */
.q-time {
    list-style: none;
    margin: 0;
    padding: 0
}

    .q-time li {
        position: relative;
        padding: 0 0 16px 30px;
        min-width: 0
    }

        .q-time li::before {
            content: "";
            position: absolute;
            left: 7px;
            top: 6px;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: var(--em);
            box-shadow: 0 0 0 3px var(--gold2)
        }

        .q-time li::after {
            content: "";
            position: absolute;
            left: 12px;
            top: 22px;
            bottom: 0;
            width: 2px;
            background: var(--line)
        }

        .q-time li:last-child::after {
            display: none
        }

    .q-time .at {
        font-size: 12.5px;
        color: var(--mut)
    }

    .q-time .tx {
        font-size: 15px;
        overflow-wrap: anywhere
    }

    .q-time li.msg .tx {
        background: var(--tint);
        border-radius: 10px;
        padding: 8px 12px;
        display: inline-block
    }

    .q-time li.hid {
        opacity: .72
    }

        .q-time li.hid::before {
            background: var(--mut);
            box-shadow: none
        }

    .q-time code {
        font-size: 11px;
        color: var(--mut)
    }

.q-money {
    width: 100%;
    border-collapse: collapse;
    font-size: 14.5px
}

    .q-money td {
        padding: 7px 8px;
        border-bottom: 1px solid var(--line2);
        vertical-align: top
    }

        .q-money td:last-child {
            text-align: right;
            white-space: nowrap;
            font-weight: 700;
            color: var(--em)
        }

    .q-money tr.g td {
        font: 700 11px system-ui;
        letter-spacing: .14em;
        text-transform: uppercase;
        color: var(--gold);
        border: 0;
        padding-top: 14px
    }

    .q-money tr.t td {
        border-bottom: 0
    }

    .q-money tr.big td {
        font-size: 17px;
        border-top: 2px solid var(--gold)
    }

    .q-money small {
        color: var(--mut);
        font-weight: 400
    }

.q-stage {
    display: grid;
    grid-template-columns: repeat(5,minmax(0,1fr));
    gap: 6px;
    margin: 10px 0
}

    .q-stage div {
        border-radius: 8px;
        background: var(--line2);
        padding: 8px 6px;
        text-align: center;
        font: 700 12px system-ui;
        color: var(--ink2);
        overflow-wrap: anywhere
    }

        .q-stage div.on {
            background: var(--em);
            color: #fff
        }

        .q-stage div.now {
            background: var(--gold);
            color: #1a1405
        }

@media(max-width:600px) {
    .q-stage {
        grid-template-columns: 1fr
    }
}

.q-clock {
    font: 700 20px ui-monospace,Menlo,Consolas,monospace;
    color: var(--em)
}

    .q-clock.low {
        color: var(--red)
    }

.q-two {
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(0,1.4fr) minmax(0,1fr);
    align-items: start
}

@media(max-width:900px) {
    .q-two {
        grid-template-columns: 1fr
    }
}

.q-alert {
    border-left: 5px solid var(--gold);
    background: #fff;
    border-radius: 0 10px 10px 0;
    padding: 10px 14px;
    margin: 0 0 8px;
    border-top: 1px solid var(--line2);
    border-right: 1px solid var(--line2);
    border-bottom: 1px solid var(--line2)
}

    .q-alert.critical {
        border-left-color: var(--red);
        background: #fbeceb
    }

    .q-alert.info {
        border-left-color: var(--grn)
    }

    .q-alert.seen {
        opacity: .6
    }

.q-terms {
    max-height: 320px;
    overflow: auto;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    background: #fff;
    padding: 14px 16px;
    font-size: 14px
}

    .q-terms h4 {
        margin: 12px 0 4px;
        color: var(--em);
        font: 700 15px Georgia,serif
    }

    .q-terms p {
        margin: 0 0 8px
    }

.q-badge {
    display: inline-grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    border-radius: 99px;
    background: var(--red);
    color: #fff;
    font: 700 12px system-ui;
    padding: 0 6px;
    margin-left: 6px
}

.cq .fld input[type=checkbox], .cq .fld input[type=radio] {
    width: 18px;
    height: 18px;
    min-height: 0;
    padding: 0;
    flex: none
}

.q-std .q-opt input, .q-opts .q-opt input {
    margin-top: 3px
}
