
/* FIX186: quote request new-state indicator */
.admin-quote-new-badge{display:inline-flex;margin-left:6px;padding:2px 6px;border-radius:999px;background:rgba(45,140,255,.14);color:#69adff;font-size:9px;font-weight:800;letter-spacing:.06em;vertical-align:middle}

/* QS244: informational badge, never an access-control mechanism. */
.admin-freecreator-preview-banner{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:.65rem;padding:.48rem 1rem;background:#102440;border-bottom:1px solid #2b4e82;color:#cbd5e1;font-size:.77rem;line-height:1.4;text-align:center}
.admin-freecreator-preview-badge{border:1px solid #3b82f6;border-radius:99px;padding:.15rem .48rem;color:#93c5fd;font-size:.65rem;font-weight:800;letter-spacing:.05em;white-space:nowrap}

/* QS249: public-testing-style banner is the first, full-width shell row. */
.admin-portal-shell.has-freecreator-banner,
.admin-portal-shell.has-freecreator-banner.is-sidebar-collapsed {
    grid-template-areas: "freebanner freebanner" "sidebar main";
    grid-template-rows: auto minmax(0, 1fr);
}
.admin-portal-shell.has-freecreator-banner > .admin-freecreator-preview-banner {
    grid-area: freebanner;
    min-width: 0;
    width: 100%;
    min-height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 8px 16px;
    margin: 0;
    background: linear-gradient(90deg, #0b1e39 0%, #101f3a 50%, #10203b 100%);
    border: 0;
    border-bottom: 1px solid #264269;
    color: #c4cfde;
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
    position: relative;
    /* The support/notifications drawer is mounted inside the top bar.
       Do not put the banner above that top-bar stacking context. */
    z-index: 0;
}
.admin-portal-shell.has-freecreator-banner .admin-freecreator-preview-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #2760aa;
    background: #102d55;
    border-radius: 999px;
    padding: 3px 10px;
    color: #7ec0ff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .045em;
    white-space: nowrap;
}
.admin-portal-shell.has-freecreator-banner .admin-freecreator-preview-message {
    color: #c4cfde;
    font-size: 13px;
    font-weight: 600;
}
.admin-portal-shell.has-freecreator-banner > .admin-portal-sidebar,
.admin-portal-shell.has-freecreator-banner > .admin-portal-main {
    height: 100%;
    min-height: 0;
}
@media (max-width: 1050px) {
    .admin-portal-shell.has-freecreator-banner,
    .admin-portal-shell.has-freecreator-banner.is-sidebar-collapsed {
        grid-template-areas: "freebanner" "sidebar" "main";
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto minmax(0, 1fr);
    }
    .admin-portal-shell.has-freecreator-banner > .admin-portal-sidebar,
    .admin-portal-shell.has-freecreator-banner > .admin-portal-main {
        height: auto;
    }
}
@media (max-width: 700px) {
    .admin-portal-shell.has-freecreator-banner > .admin-freecreator-preview-banner {
        padding: 8px 12px;
        gap: 6px 9px;
    }
    .admin-portal-shell.has-freecreator-banner .admin-freecreator-preview-message {font-size: 12px;}
}

/* QS250: FreeCreator upgrade entry points; purely navigational, no plan or consent mutation. */
.admin-top-bar__upgrade{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:7px 12px;border:1px solid #3985ec;border-radius:9px;background:#1d64c4;color:#fff!important;text-decoration:none;font-size:12px;font-weight:800;white-space:nowrap;transition:background .15s ease}
.admin-top-bar__upgrade:hover,.admin-top-bar__upgrade:focus-visible{background:#2c78df;text-decoration:none}
.admin-upgrade-card{display:flex;align-items:center;justify-content:space-between;gap:22px;margin:0 0 24px;padding:24px;border:1px solid #31547d;border-radius:16px;background:linear-gradient(115deg,#172a43,#142238 80%);color:#eaf3ff}
.admin-upgrade-card__copy{min-width:0;max-width:850px}
.admin-upgrade-card__eyebrow{display:inline-flex;padding:4px 10px;border:1px solid #3478cf;border-radius:999px;background:#123762;color:#9ccaff;font-size:11px;font-weight:800;letter-spacing:.06em}
.admin-upgrade-card h2{margin:12px 0 8px;color:#fff;font-size:24px;line-height:1.25}
.admin-upgrade-card p{margin:0 0 10px;color:#c7d8ec;line-height:1.5}
.admin-upgrade-card small{color:#a2bad6;line-height:1.4}
.admin-upgrade-card__action{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex-shrink:0;max-width:100%;padding:13px 17px;border:1px solid #3e93ff;border-radius:10px;background:#2169d1;color:#fff!important;text-decoration:none;font-size:13px;font-weight:800;text-align:center}
.admin-upgrade-card__action:hover,.admin-upgrade-card__action:focus-visible{background:#357fea;text-decoration:none}
@media(max-width:950px){.admin-upgrade-card{flex-direction:column;align-items:flex-start}.admin-upgrade-card__action{flex-shrink:1}}
@media(max-width:640px){.admin-upgrade-card{padding:16px}.admin-upgrade-card h2{font-size:20px}.admin-top-bar__upgrade{padding:6px 9px;font-size:11px}}
