/*
 * PRO sheets (templates/pro/: #make-pro upgrade, #pro-credits, #pro-try) and the dashboard PRO hint.
 * Overrides pro.less .pop-container styles for .mm-upsell only. Bottom sheet on phones.
 */

.mm-upsell {
    --mmu-ink: #1b1b1b;
    --mmu-gold: #D4AF37;
    --mmu-gold-soft: rgba(212, 175, 55, .14);
    --mmu-accent: #3ec7c2;
    --mmu-text: #5c5c5c;
    --mmu-line: #ececec;

    background: rgba(17, 17, 17, .72) !important;
    padding: 16px;
}

.mm-upsell .mm-upsell__inner {
    position: relative;
    width: 100%;
    max-width: 460px;
    max-height: calc(100vh - 32px);
    padding: 26px 22px 22px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
    overflow-y: auto;
    text-align: left;
    animation: mmuIn .28s cubic-bezier(.2, .8, .2, 1);
    -webkit-overflow-scrolling: touch;
}

@keyframes mmuIn {
    from { opacity: 0; transform: translateY(16px) scale(.98); }
    to   { opacity: 1; transform: none; }
}

.mm-upsell .pop-container__close {
    position: absolute;
    top: 12px;
    right: 12px;
    margin: 0;
}

.mm-upsell .pop-container__close a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f2f2f2;
    color: var(--mmu-ink);
    font-size: 16px;
}

.mm-upsell .pop-container__close a:hover {
    background: #e6e6e6;
}

/* Top */
.mm-upsell__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--mmu-gold-soft);
    color: #9a7b17;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.mm-upsell__badge--ok {
    background: rgba(62, 199, 194, .14);
    color: #2a9d99;
}

.mm-upsell h2 {
    margin: 12px 40px 6px 0;
    color: var(--mmu-ink);
    font-family: inherit;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
    text-align: left;
    text-transform: none;
}

.mm-upsell p.mm-upsell__lead {
    margin: 0;
    color: var(--mmu-text);
    font-size: 15px;
    line-height: 1.5;
}

/* Price */
.mm-upsell__price {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0 14px;
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--mmu-ink);
    color: rgba(255, 255, 255, .72);
}

.mm-upsell__price strong {
    color: var(--mmu-gold);
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
}

.mm-upsell__price span {
    font-size: 13px;
    line-height: 1.35;
}

/* Benefits */
.mm-upsell ul.mm-upsell__list {
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
}

.mm-upsell ul.mm-upsell__list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
    padding: 9px 10px;
    border-radius: 10px;
    color: var(--mmu-ink);
    font-size: 15px;
    line-height: 1.4;
    transition: background .2s ease;
}

.mm-upsell ul.mm-upsell__list li span {
    border: 0;
}

.mm-upsell ul.mm-upsell__list li em {
    color: var(--mmu-text);
    font-style: normal;
}

.mm-upsell ul.mm-upsell__list li > i {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    margin-top: -3px;
    border-radius: 8px;
    background: var(--mmu-gold-soft);
    color: #9a7b17;
    font-size: 13px;
    line-height: 30px;
    text-align: center;
}

.mm-upsell ul.mm-upsell__list li.is-focus {
    background: var(--mmu-gold-soft);
}

.mm-upsell ul.mm-upsell__list li.is-focus > i {
    background: var(--mmu-gold);
    color: var(--mmu-ink);
}

.mm-upsell ul.mm-upsell__list--compact li {
    padding: 6px 0;
    font-size: 14px;
}

/* PayPal + small print */
.mm-upsell .mm-upsell__pay {
    display: block !important; /* shown right away (no extra "Upgrade" click) */
    margin: 4px 0 12px;
}

.mm-upsell p.mm-upsell__fine {
    display: flex;
    gap: 8px;
    margin: 6px 0 0;
    color: var(--mmu-text);
    font-size: 13px;
    line-height: 1.45;
}

.mm-upsell p.mm-upsell__fine i {
    flex: 0 0 auto;
    margin-top: 2px;
    color: #9a9a9a;
}

/* Welcome sheet */
.mm-upsell__extra {
    margin: 18px 0 16px;
    padding: 14px 16px 8px;
    border: 1px solid var(--mmu-line);
    border-radius: 14px;
}

.mm-upsell p.mm-upsell__extra-title {
    margin: 0 0 6px;
    color: var(--mmu-ink);
    font-size: 15px;
    font-weight: 800;
}

.mm-upsell__extra-title span {
    margin-left: 6px;
    color: var(--mmu-text);
    font-size: 12px;
    font-weight: 600;
}

.mm-upsell__actions {
    display: grid;
    gap: 10px;
}

.mm-upsell .mm-upsell__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    transition: background .15s ease, border-color .15s ease;
}

#pro-try .mm-upsell__btn {
    margin: 0 !important; /* pro.less styles #try-pro-btn */
    width: 100%;
}

.mm-upsell .mm-upsell__btn--gold,
#pro-try #try-pro-btn {
    background: var(--mmu-gold) !important;
    border: 0 !important;
    color: var(--mmu-ink) !important;
}

.mm-upsell .mm-upsell__btn--gold:hover {
    background: #c39f2c;
    color: var(--mmu-ink);
}

.mm-upsell .mm-upsell__btn--ghost {
    border: 1px solid var(--mmu-line);
    color: var(--mmu-ink);
}

.mm-upsell .mm-upsell__btn--ghost:hover {
    border-color: var(--mmu-ink);
    color: var(--mmu-ink);
}

/* Phones: bottom sheet */
@media (max-width: 575px) {
    .mm-upsell {
        align-items: flex-end !important;
        padding: 0;
    }

    .mm-upsell .mm-upsell__inner {
        max-width: none;
        max-height: 92vh;
        padding: 24px 18px calc(18px + env(safe-area-inset-bottom));
        border-radius: 20px 20px 0 0;
        animation-name: mmuUp;
    }

    @keyframes mmuUp {
        from { transform: translateY(100%); }
        to   { transform: none; }
    }

    .mm-upsell h2 {
        font-size: 22px;
    }
}

/* ---------- Dashboard PRO hint (free groups) ---------- */

.mm-pro-hint {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin: 0 0 14px;
    padding: 10px 14px;
    border: 1px dashed rgba(212, 175, 55, .55);
    border-radius: 12px;
    background: rgba(212, 175, 55, .07);
    color: #1b1b1b;
    font-size: 14px;
    line-height: 1.45;
}

.mm-pro-hint > i {
    color: #D4AF37;
}

.mm-pro-hint > span {
    flex: 1 1 220px;
}

.mm-pro-hint button {
    height: 34px;
    padding: 0 14px;
    border: 0;
    border-radius: 999px;
    background: #1b1b1b;
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.mm-pro-hint button:hover {
    background: #333;
}

.mm-pro-hint button.mm-pro-hint__gift {
    background: transparent;
    color: #8a6d12;
    text-decoration: underline;
    text-underline-offset: 3px;
    padding: 0 4px;
}

/* ---------- PRO Actions sheet: tool menu (Groups::get_pro_list) ---------- */

.mm-prot-sheet .mm-upsell__inner {
    max-width: 520px;
}

.mm-prot__loading {
    margin: 24px 0;
    color: #6d6d6d;
    text-align: center;
}

.mm-prot__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin: 0 44px 18px 0;
}

.mm-prot__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(212, 175, 55, .14);
    color: #9a7b17;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
}

.mm-prot-sheet .mm-prot__head h3 {
    margin: 8px 0 2px;
    color: #1b1b1b;
    font-family: inherit;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.2;
    text-align: left;
    text-transform: none;
    overflow-wrap: anywhere;
}

.mm-prot-sheet .mm-prot__head p {
    margin: 0;
    color: #6d6d6d;
    font-size: 14px;
}

.mm-prot__credits {
    flex: 0 0 auto;
    min-width: 72px;
    padding: 8px 10px;
    border-radius: 12px;
    background: #1b1b1b;
    color: rgba(255, 255, 255, .7);
    font-size: 11px;
    line-height: 1.2;
    text-align: center;
}

.mm-prot__credits strong {
    display: block;
    color: #D4AF37;
    font-size: 22px;
}

.mm-prot-sheet h4.mm-prot__group {
    font-style: normal;
    margin: 16px 0 8px;
    color: #8a8a8a;
    font-family: inherit;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1em;
    text-align: left;
    text-transform: uppercase;
}

.mm-prot__tool {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin: 0 0 8px;
    padding: 12px 14px;
    border: 1px solid #ececec;
    border-radius: 14px;
    background: #fff;
    color: #1b1b1b;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.mm-prot__tool:hover,
.mm-prot__tool:focus-visible {
    border-color: #D4AF37;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .06);
    outline: none;
}

.mm-prot__tool.is-off {
    background: #fafafa;
    cursor: default;
    opacity: .65;
}

.mm-prot__tool.is-off:hover {
    border-color: #ececec;
    box-shadow: none;
}

.mm-prot__icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(212, 175, 55, .14);
    color: #9a7b17;
    font-size: 16px;
}

.mm-prot__txt {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
}

.mm-prot__txt strong {
    font-size: 15px;
    font-weight: 800;
}

.mm-prot__txt small {
    color: #6d6d6d;
    font-size: 13px;
    line-height: 1.35;
}

.mm-prot__go {
    flex: 0 0 auto;
    color: #b5b5b5;
}

.mm-prot__tool.is-off .mm-prot__go {
    display: none;
}

/* ---------- Tool views (Theme.proView) ---------- */

.mm-prov__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 6px;
    padding: 6px 0;
    border: 0;
    background: none;
    color: #9a7b17;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.mm-prot-sheet h3.mm-prov__title {
    margin: 0 44px 14px 0;
    color: #1b1b1b;
    font-family: inherit;
    font-size: 21px;
    font-weight: 800;
    text-align: left;
    text-transform: none;
}

.mm-prov__bar {
    display: flex;
    gap: 8px;
    margin: 0 0 8px;
}

.mm-prov__search {
    position: relative;
    flex: 1 1 auto;
    margin: 0;
}

.mm-prov__search > i,
.mm-prov__search > svg { /* Font Awesome's JS swaps <i> for <svg> */
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #9a9a9a;
    font-size: 13px;
}

.mm-prot-sheet .mm-prov__search input {
    display: block;
    width: 100%;
    height: 42px;
    margin: 0;
    padding: 0 12px 0 34px;
    border: 1px solid #e3e3e3;
    border-radius: 10px;
    background: #fff;
    color: #1b1b1b;
    font-family: inherit;
    font-size: 16px;
    text-align: left;
    text-transform: none;
    box-shadow: none;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

.mm-prot-sheet .mm-prov__search input::placeholder {
    color: #a8a8a8;
    text-transform: none;
    opacity: 1;
}

.mm-prot-sheet .mm-prov__search input:focus {
    border-color: #D4AF37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, .18);
    outline: none;
}

.mm-prov__mini {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 12px;
    border: 1px solid #e3e3e3;
    border-radius: 999px;
    background: #fff;
    color: #1b1b1b;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
}

.mm-prov__bar .mm-prov__mini {
    height: 42px;
    border-radius: 10px;
}

.mm-prov__mini:hover {
    border-color: #1b1b1b;
}

.mm-prov__mini--danger {
    color: #c42b31;
}

.mm-prov__mini--danger:hover {
    border-color: #c42b31;
}

.mm-prot-sheet p.mm-prov__meta {
    margin: 0 0 10px;
    color: #6d6d6d;
    font-size: 13px;
}

.mm-prot-sheet ul.mm-prov__list {
    margin: 0;
    padding: 0;
    border: 1px solid #ececec;
    border-radius: 14px;
    list-style: none;
    overflow: hidden;
}

.mm-prot-sheet .mm-prov__row {
    line-height: 1.4; /* pro.less sets 35px on .pop-container li */
}

.mm-prot-sheet .mm-prov__row span,
.mm-upsell ul li span {
    border-bottom: 0; /* pro.less underlines spans in .pop-container lists */
}

.mm-prov__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
    padding: 12px 14px;
    border-bottom: 1px solid #ececec;
}

.mm-prov__row:last-child {
    border-bottom: 0;
}

.mm-prov__row[hidden] {
    display: none;
}

.mm-prov__txt {
    display: flex;
    flex: 1 1 160px;
    flex-direction: column;
    min-width: 0;
}

.mm-prov__txt strong,
.mm-prov__match strong {
    color: #1b1b1b;
    font-size: 15px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.mm-prov__txt small,
.mm-prov__match small {
    color: #6d6d6d;
    font-size: 13px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.mm-prov__acts {
    display: flex;
    gap: 6px;
    margin-left: auto;
}

.mm-prov__match {
    flex-wrap: nowrap;
}

.mm-prov__match > span {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    min-width: 0;
}

.mm-prov__match > i {
    flex: 0 0 auto;
    color: #D4AF37;
}

.mm-prov__empty,
.mm-prov__none,
.mm-prov__error {
    margin: 12px 0;
    padding: 0 14px;
    color: #6d6d6d;
    font-size: 14px;
    text-align: center;
}

.mm-prov__none[hidden] {
    display: none;
}

.mm-prov__error {
    color: #c42b31;
}

.mm-prov__spoiler {
    padding: 28px 18px;
    border: 1px dashed #d9d9d9;
    border-radius: 14px;
    text-align: center;
}

.mm-prov__spoiler > i {
    color: #9a9a9a;
    font-size: 26px;
}

.mm-prot-sheet .mm-prov__spoiler p {
    margin: 10px 0 16px;
    color: #5c5c5c;
    font-size: 15px;
}

.mm-prov__spoiler .mm-upsell__btn {
    display: inline-flex;
    padding: 0 22px;
}

/* ---------- Confirm dialog + buttons ---------- */

.mm-confirm {
    z-index: 10001 !important;
}

.mm-confirm .mm-upsell__inner {
    max-width: 420px;
}

.mm-confirm h2 {
    margin-right: 0;
}

.mm-confirm .mm-upsell__actions {
    margin-top: 20px;
}

.mm-upsell .mm-upsell__btn {
    width: 100%;
    border: 0;
    font-family: inherit;
    cursor: pointer;
}

.mm-upsell .mm-upsell__btn--dark {
    background: #1b1b1b;
    color: #fff;
}

.mm-upsell .mm-upsell__btn--dark:hover {
    background: #333;
    color: #fff;
}

.mm-upsell .mm-upsell__btn--danger {
    background: #c42b31;
    color: #fff;
}

.mm-upsell .mm-upsell__btn--danger:hover {
    background: #a8242a;
    color: #fff;
}

.mm-upsell .mm-upsell__btn:disabled {
    opacity: .6;
    cursor: wait;
}

/* ---------- Toasts ---------- */

#mm-toasts {
    position: fixed;
    left: 50%;
    bottom: calc(20px + env(safe-area-inset-bottom));
    z-index: 100000;
    display: grid;
    gap: 8px;
    width: calc(100% - 32px);
    max-width: 420px;
    transform: translateX(-50%);
    pointer-events: none;
}

.mm-toast {
    padding: 12px 16px;
    border-radius: 12px;
    background: #1b1b1b;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .25s ease, transform .25s ease;
}

.mm-toast.is-in {
    opacity: 1;
    transform: none;
}

.mm-toast--error {
    background: #c42b31;
}

/* Avatars inside the PRO sheet (mm-dashboard.css colours come from .dashboard variables) */
.mm-prot-sheet .mm-avatar {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(212, 175, 55, .16);
    color: #9a7b17;
    font-size: 15px;
    font-weight: 800;
}

.mm-prov__badge {
    display: inline-block;
    margin-left: 4px;
    padding: 1px 8px;
    border-radius: 999px;
    background: #fdecec;
    color: #b4232a;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

/* Exclusions: member pickers */
.mm-prov__pair {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
}

.mm-prov__pair span {
    flex: 0 0 auto;
    color: #9a7b17;
    font-weight: 800;
}

.mm-prot-sheet .mm-prov__pair select {
    flex: 1 1 0;
    min-width: 0;
    height: 44px;
    margin: 0;
    padding: 0 10px;
    border: 1px solid #e3e3e3;
    border-radius: 10px;
    background: #fff;
    color: #1b1b1b;
    font-family: inherit;
    font-size: 15px;
}

.mm-prot-sheet .mm-prov__pair select:focus {
    border-color: #D4AF37;
    outline: none;
}

.mm-prot-sheet [data-ex-add] {
    margin-bottom: 6px;
}

.mm-prov__match .mm-prov__mini {
    flex: 0 0 auto;
    width: 34px;
    padding: 0;
    justify-content: center;
}

/* ---------- Auto-draw ---------- */
.mm-prov__sched {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(62, 199, 194, .12);
    color: #1b1b1b;
    font-size: 14px;
}

.mm-prov__sched > i,
.mm-prov__sched > svg {
    color: #2a9d99;
}

.mm-prot-sheet .mm-prov__field {
    display: block;
    margin: 0 0 12px;
    color: #1b1b1b;
    font-size: 14px;
    font-weight: 700;
}

.mm-prot-sheet .mm-prov__field input {
    display: block;
    width: 100%;
    height: 46px;
    margin: 6px 0 0;
    padding: 0 12px;
    border: 1px solid #e3e3e3;
    border-radius: 10px;
    background: #fff;
    color: #1b1b1b;
    font-family: inherit;
    font-size: 16px;
    box-sizing: border-box;
}

.mm-prot-sheet .mm-prov__field input:focus {
    border-color: #D4AF37;
    outline: none;
}

.mm-prov__gap {
    margin-top: 10px !important;
}

/* ---------- Gift status board ---------- */
.mm-prov__progress {
    margin: 0 0 12px;
    padding: 14px;
    border-radius: 14px;
    background: #1b1b1b;
    color: rgba(255, 255, 255, .8);
    font-size: 14px;
}

.mm-prov__progress b {
    color: #fff;
}

.mm-prov__progress > span {
    display: block;
    height: 8px;
    margin: 10px 0 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .15);
    overflow: hidden;
}

.mm-prov__progress > span i {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: #D4AF37;
    transition: width .6s ease;
}

.mm-prov__progress small {
    color: rgba(255, 255, 255, .6);
    font-size: 12px;
}

.mm-prov__state {
    flex: 0 0 auto;
    margin-left: auto;
    padding: 3px 10px;
    border-radius: 999px;
    background: #f1f1f1;
    color: #6d6d6d;
    font-size: 12px;
    font-weight: 700;
}

.mm-prov__state--bought {
    background: rgba(212, 175, 55, .16);
    color: #8a6d12;
}

.mm-prov__state--given {
    background: rgba(31, 138, 91, .14);
    color: #1f8a5b;
}

/* Info sheet (Theme.infoSheet) */
.mm-info__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 6px;
    border-radius: 50%;
    background: rgba(62, 199, 194, .14);
    color: #2a9d99;
    font-size: 24px;
}

#mm-info h2 {
    margin-top: 6px;
}

/* ---------- Confirm sheet: icon, what-happens list, credit meter, "I understand" ---------- */
.mm-confirm__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 4px;
    border-radius: 50%;
    background: rgba(62, 199, 194, .14);
    color: #2a9d99;
    font-size: 20px;
}

.mm-confirm__icon.is-danger {
    background: rgba(196, 43, 49, .1);
    color: #c42b31;
}

.mm-confirm .mm-confirm__body p.mm-upsell__lead {
    margin-bottom: 10px;
}

.mm-upsell ul.mm-confirm__points {
    margin: 4px 0 12px;
    padding: 0;
    list-style: none;
}

.mm-upsell ul.mm-confirm__points li {
    position: relative;
    padding: 5px 0 5px 22px;
    color: #3a3a3a;
    font-size: 14px;
    line-height: 1.45;
}

.mm-upsell ul.mm-confirm__points li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 12px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #3ec7c2;
}

.mm-confirm .mm-confirm__icon.is-danger ~ .mm-confirm__body ul.mm-confirm__points li::before {
    background: #c42b31;
}

/* Credit meter */
.mm-credit {
    margin: 4px 0 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #1b1b1b;
    color: rgba(255, 255, 255, .75);
    font-size: 13px;
}

.mm-credit__row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.mm-credit__row b {
    color: #D4AF37;
}

.mm-credit__dots {
    display: flex;
    gap: 6px;
    margin: 10px 0 8px;
}

.mm-credit__dots i {
    width: 22px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .15);
}

.mm-credit__dots i.is-on {
    background: #D4AF37;
}

.mm-credit__dots i.is-use {
    background: #D4AF37;
    opacity: .35;
    animation: mmCreditBlink 1.2s ease-in-out infinite;
}

@keyframes mmCreditBlink {
    50% { opacity: .9; }
}

.mm-credit p {
    margin: 0;
    color: rgba(255, 255, 255, .7);
    font-size: 12px;
    line-height: 1.45;
}

.mm-credit p.mm-credit__warn {
    color: #f3d27a;
}

/* "I understand" checkbox */
.mm-confirm__check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 6px 0 0;
    padding: 12px 14px;
    border: 1px solid #ececec;
    border-radius: 12px;
    color: #1b1b1b;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
}

.mm-confirm__check input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    accent-color: #1b1b1b;
}

@media (prefers-reduced-motion: reduce) {
    .mm-credit__dots i.is-use {
        animation: none;
    }
}

/* Exclusion problems */
.mm-prot__warn {
    color: #c42b31;
    font-weight: 700;
}

.mm-prov__alert {
    display: flex;
    gap: 10px;
    margin: 0 0 12px;
    padding: 12px 14px;
    border: 1px solid rgba(196, 43, 49, .25);
    border-radius: 12px;
    background: #fdecec;
    color: #8f1d23;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
}

.mm-prov__alert > i,
.mm-prov__alert > svg {
    flex: 0 0 auto;
    margin-top: 2px;
}

/* ---------- Weekly themes editor ---------- */
.mm-prot-sheet ul.mm-theme-rows {
    margin: 0 0 10px;
    padding: 0;
    list-style: none;
}

.mm-theme-row {
    display: grid;
    grid-template-columns: 138px 1fr auto;
    gap: 8px;
    margin: 0 0 8px;
    line-height: 1.4;
}

.mm-prot-sheet .mm-theme-row input {
    height: 42px;
    min-width: 0;
    margin: 0;
    padding: 0 10px;
    border: 1px solid #e3e3e3;
    border-radius: 10px;
    background: #fff;
    color: #1b1b1b;
    font-family: inherit;
    font-size: 15px;
    text-align: left;
    text-transform: none;
    box-sizing: border-box;
}

.mm-prot-sheet .mm-theme-row input:focus {
    border-color: #D4AF37;
    outline: none;
}

.mm-theme-row .mm-prov__mini {
    width: 42px;
    height: 42px;
    padding: 0;
    justify-content: center;
}

.mm-prov__gapb {
    margin-bottom: 4px;
}

.mm-theme-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 14px;
}

.mm-theme-presets button {
    padding: 7px 11px;
    border: 1px solid #ececec;
    border-radius: 999px;
    background: #fff;
    color: #1b1b1b;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.mm-theme-presets button:hover {
    border-color: #D4AF37;
}

.mm-theme-presets button:disabled {
    opacity: .4;
    cursor: default;
}

@media (max-width: 400px) {
    .mm-theme-row {
        grid-template-columns: 1fr auto;
    }

    .mm-theme-row input[type="date"] {
        grid-column: 1 / -1;
    }
}

/* Weekly Drops: how it works */
.mm-drops-how {
    margin: 0 0 14px;
    padding: 12px 14px;
    border: 1px solid rgba(212, 175, 55, .35);
    border-radius: 12px;
    background: rgba(212, 175, 55, .07);
    color: #3a3a3a;
    font-size: 14px;
    line-height: 1.5;
}

.mm-drops-how summary {
    color: #1b1b1b;
    font-weight: 800;
    cursor: pointer;
}

.mm-prot-sheet .mm-drops-how ol {
    margin: 8px 0 6px;
    padding-left: 20px;
    list-style: decimal;
}

.mm-prot-sheet .mm-drops-how li {
    margin: 0 0 6px;
    line-height: 1.5;
}

.mm-prot-sheet .mm-drops-how p {
    margin: 0;
    color: #6d6d6d;
    font-size: 13px;
}

/* ---------- Group theme picker (Theme.proGroupTheme) ---------- */

.mm-gth {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.mm-gth__opt {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px 8px 10px;
    border: 2px solid #ececec;
    border-radius: 14px;
    background: #fff;
    color: #1b1b1b;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color .15s ease, transform .15s ease;
}

.mm-gth__opt:hover {
    border-color: var(--gth-a);
}

.mm-gth__opt.is-on {
    border-color: var(--gth-a);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .1);
}

.mm-gth__opt:disabled {
    opacity: .6;
    cursor: wait;
}

.mm-gth__card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 78px;
    border-radius: 10px;
    background: linear-gradient(150deg, var(--gth-c), #151515);
    color: #fff;
    overflow: hidden;
}

.mm-gth__card small {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.mm-gth__card b {
    color: var(--gth-a);
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
}

.mm-gth__card i {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 8px;
    height: 4px;
    border-radius: 4px;
    background: var(--gth-a);
    opacity: .85;
}

.mm-gth__name {
    padding: 0 2px;
    font-size: 13px;
    font-weight: 700;
}

.mm-gth__check {
    position: absolute;
    top: 14px;
    right: 14px;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--gth-a);
    color: #1b1b1b;
    font-size: 11px;
}

@media (min-width: 520px) {
    .mm-gth {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* ---------- Co-organizer (Theme.proCoOrganizer) ---------- */

.mm-prot__co {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 6px 0 0 !important;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(212, 175, 55, .16);
    color: #8a6d12 !important;
    font-size: 12px !important;
    font-weight: 700;
}

.mm-coorg-card {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 12px;
    padding: 12px 14px;
    border: 1px solid #ececec;
    border-radius: 12px;
}

.mm-coorg-card__av {
    display: grid;
    flex: 0 0 40px;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(212, 175, 55, .18);
    color: #8a6d12;
    font-weight: 800;
}

.mm-coorg-card strong {
    display: block;
    color: #1b1b1b;
    font-size: 15px;
}

.mm-coorg-card small {
    color: #6d6d6d;
    font-size: 12px;
    word-break: break-all;
}

.mm-prot-sheet ul.mm-coorg-how {
    display: grid;
    gap: 8px;
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
}

.mm-prot-sheet ul.mm-coorg-how li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: #1b1b1b;
    font-size: 14px;
}

.mm-prot-sheet ul.mm-coorg-how li i {
    width: 18px;
    color: #d4af37;
    text-align: center;
}

.mm-prot-sheet .mm-prov__field input[data-co-name],
.mm-prot-sheet .mm-prov__field input[data-co-email] {
    color: #1b1b1b;
    font-size: 16px;
    text-align: left;
    text-transform: none;
}

.mm-prot-sheet .mm-prov__field input[data-co-name]::placeholder,
.mm-prot-sheet .mm-prov__field input[data-co-email]::placeholder {
    color: #9a9a9a;
    letter-spacing: 0;
    text-transform: none;
}

.mm-prot-sheet ul.mm-coorg-how li {
    line-height: 1.4;
}
